Začetni commit projekta rezervacije

This commit is contained in:
Mark Poljanšek committed 2025-04-23 20:19:33 +02:00
commit 328731b32f
56062 files changed
+2485242

No files matched your search

+60
View File
@@ -0,0 +1,60 @@
import * as React from 'react';
import { SxProps } from '@mui/system';
import { OverridableStringUnion } from '@mui/types';
import { Theme } from "../index.js";
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
import { ImageListClasses } from "./imageListClasses.js";
export interface ImageListPropsVariantOverrides {}
export interface ImageListOwnProps {
/**
* The content of the component, normally `ImageListItem`s.
*/
children: NonNullable<React.ReactNode>;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<ImageListClasses>;
/**
* Number of columns.
* @default 2
*/
cols?: number;
/**
* The gap between items in px.
* @default 4
*/
gap?: number;
/**
* The height of one row in px.
* @default 'auto'
*/
rowHeight?: number | 'auto';
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
/**
* The variant to use.
* @default 'standard'
*/
variant?: OverridableStringUnion<'masonry' | 'quilted' | 'standard' | 'woven', ImageListPropsVariantOverrides>;
}
export interface ImageListTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'ul'> {
props: AdditionalProps & ImageListOwnProps;
defaultComponent: RootComponent;
}
/**
*
* Demos:
*
* - [Image List](https://mui.com/material-ui/react-image-list/)
*
* API:
*
* - [ImageList API](https://mui.com/material-ui/api/image-list/)
*/
declare const ImageList: OverridableComponent<ImageListTypeMap>;
export type ImageListProps<RootComponent extends React.ElementType = ImageListTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<ImageListTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
component?: React.ElementType;
};
export default ImageList;
+16
View File
@@ -0,0 +1,16 @@
export interface ImageListClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root element if `variant="masonry"`. */
masonry: string;
/** Styles applied to the root element if `variant="quilted"`. */
quilted: string;
/** Styles applied to the root element if `variant="standard"`. */
standard: string;
/** Styles applied to the root element if `variant="woven"`. */
woven: string;
}
export type ImageListClassKey = keyof ImageListClasses;
export declare function getImageListUtilityClass(slot: string): string;
declare const imageListClasses: ImageListClasses;
export default imageListClasses;
+4
View File
@@ -0,0 +1,4 @@
export * from "./ImageList.js";
export { default } from "./ImageList.js";
export * from "./imageListClasses.js";
export { default as imageListClasses } from "./imageListClasses.js";