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

@@ -0,0 +1,49 @@
import * as React from 'react';
import { SxProps } from '@mui/system';
import { InternalStandardProps as StandardProps, Theme } from "../index.js";
import { ImageListItemBarClasses } from "./imageListItemBarClasses.js";
export interface ImageListItemBarProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>, 'title'> {
/**
* An IconButton element to be used as secondary action target
* (primary action target is the item itself).
*/
actionIcon?: React.ReactNode;
/**
* Position of secondary action IconButton.
* @default 'right'
*/
actionPosition?: 'left' | 'right';
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<ImageListItemBarClasses>;
/**
* Position of the title bar.
* @default 'bottom'
*/
position?: 'below' | 'top' | 'bottom';
/**
* String or element serving as subtitle (support text).
*/
subtitle?: React.ReactNode;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
/**
* Title to be displayed.
*/
title?: React.ReactNode;
}
/**
*
* Demos:
*
* - [Image List](https://mui.com/material-ui/react-image-list/)
*
* API:
*
* - [ImageListItemBar API](https://mui.com/material-ui/api/image-list-item-bar/)
*/
export default function ImageListItemBar(props: ImageListItemBarProps): React.JSX.Element;
@@ -0,0 +1,42 @@
export interface ImageListItemBarClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root element if `position="bottom"`. */
positionBottom: string;
/** Styles applied to the root element if `position="top"`. */
positionTop: string;
/** Styles applied to the root element if `position="below"`. */
positionBelow: string;
/** Styles applied to the action container element if `actionPosition="left"`. */
actionPositionLeft: string;
/** Styles applied to the action container element if `actionPosition="right"`. */
actionPositionRight: string;
/** Styles applied to the title and subtitle container element. */
titleWrap: string;
/** Styles applied to the title and subtitle container element if `position="below"`.
* @deprecated Combine the [.MuiImageListItemBar-titleWrap](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-titleWrap) and [.MuiImageListItemBar-positionBelow](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-positionBelow) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
*/
titleWrapBelow: string;
/** Styles applied to the container element if `actionPosition="left"`.
* @deprecated Combine the [.MuiImageListItemBar-titleWrap](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-titleWrap) and [.MuiImageListItemBar-actionPositionLeft](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-actionPositionLeft) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
*/
titleWrapActionPosLeft: string;
/** Styles applied to the container element if `actionPosition="right"`.
* @deprecated Combine the [.MuiImageListItemBar-titleWrap](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-titleWrap) and [.MuiImageListItemBar-actionPositionRight](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-actionPositionRight) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
*/
titleWrapActionPosRight: string;
/** Styles applied to the title container element. */
title: string;
/** Styles applied to the subtitle container element. */
subtitle: string;
/** Styles applied to the actionIcon if supplied. */
actionIcon: string;
/** Styles applied to the actionIcon if `actionPosition="left"`.
* @deprecated Combine the [.MuiImageListItemBar-actionIcon](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-actionIcon) and [.MuiImageListItemBar-actionPositionLeft](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-actionPositionLeft) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
*/
actionIconActionPosLeft: string;
}
export type ImageListItemBarClassKey = keyof ImageListItemBarClasses;
export declare function getImageListItemBarUtilityClass(slot: string): string;
declare const imageListItemBarClasses: ImageListItemBarClasses;
export default imageListItemBarClasses;
+4
View File
@@ -0,0 +1,4 @@
export { default } from "./ImageListItemBar.js";
export * from "./ImageListItemBar.js";
export * from "./imageListItemBarClasses.js";
export { default as imageListItemBarClasses } from "./imageListItemBarClasses.js";