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

+57
View File
@@ -0,0 +1,57 @@
import * as React from 'react';
import { SxProps } from '@mui/system';
import { OverridableStringUnion } from '@mui/types';
import { InternalStandardProps as StandardProps, Theme } from "../index.js";
import { LinearProgressClasses } from "./linearProgressClasses.js";
export interface LinearProgressPropsColorOverrides {}
export interface LinearProgressPropsVariantOverrides {}
export interface LinearProgressProps extends StandardProps<React.HTMLAttributes<HTMLSpanElement>, 'children'> {
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<LinearProgressClasses>;
/**
* The color of the component.
* It supports both default and custom theme colors, which can be added as shown in the
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
* @default 'primary'
*/
color?: OverridableStringUnion<'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' | 'inherit', LinearProgressPropsColorOverrides>;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
/**
* The value of the progress indicator for the determinate and buffer variants.
* Value between 0 and 100.
*/
value?: number;
/**
* The value for the buffer variant.
* Value between 0 and 100.
*/
valueBuffer?: number;
/**
* The variant to use.
* Use indeterminate or query when there is no progress value.
* @default 'indeterminate'
*/
variant?: OverridableStringUnion<'determinate' | 'indeterminate' | 'buffer' | 'query', LinearProgressPropsVariantOverrides>;
}
/**
* ## ARIA
*
* If the progress bar is describing the loading progress of a particular region of a page,
* you should use `aria-describedby` to point to the progress bar, and set the `aria-busy`
* attribute to `true` on that region until it has finished loading.
*
* Demos:
*
* - [Progress](https://mui.com/material-ui/react-progress/)
*
* API:
*
* - [LinearProgress API](https://mui.com/material-ui/api/linear-progress/)
*/
export default function LinearProgress(props: LinearProgressProps): React.JSX.Element;
+4
View File
@@ -0,0 +1,4 @@
export { default } from "./LinearProgress.js";
export * from "./LinearProgress.js";
export { default as linearProgressClasses } from "./linearProgressClasses.js";
export * from "./linearProgressClasses.js";
@@ -0,0 +1,64 @@
export interface LinearProgressClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root and bar2 element if `color="primary"`; bar2 if `variant="buffer"`. */
colorPrimary: string;
/** Styles applied to the root and bar2 elements if `color="secondary"`; bar2 if `variant="buffer"`. */
colorSecondary: string;
/** Styles applied to the root element if `variant="determinate"`. */
determinate: string;
/** Styles applied to the root element if `variant="indeterminate"`. */
indeterminate: string;
/** Styles applied to the root element if `variant="buffer"`. */
buffer: string;
/** Styles applied to the root element if `variant="query"`. */
query: string;
/** Styles applied to the additional bar element if `variant="buffer"`. */
dashed: string;
/** Styles applied to the additional bar element if `variant="buffer"` and `color="primary"`.
* @deprecated Combine the [.MuiLinearProgress-dashed](/material-ui/api/linear-progress/#linear-progress-classes-dashed) and [.MuiLinearProgress-colorPrimary](/material-ui/api/linear-progress/#linear-progress-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
*/
dashedColorPrimary: string;
/** Styles applied to the additional bar element if `variant="buffer"` and `color="secondary"`.
* @deprecated Combine the [.MuiLinearProgress-dashed](/material-ui/api/linear-progress/#linear-progress-classes-dashed) and [.MuiLinearProgress-colorSecondary](/material-ui/api/linear-progress/#linear-progress-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
*/
dashedColorSecondary: string;
/** Styles applied to the layered bar1 and bar2 elements. */
bar: string;
/** Styles applied to the bar1 element. */
bar1: string;
/** Styles applied to the bar2 element. */
bar2: string;
/** Styles applied to the bar elements if `color="primary"`; bar2 if `variant` not "buffer".
* @deprecated Use the [.MuiLinearProgress-bar](/material-ui/api/linear-progress/#linear-progress-classes-bar) and [.MuiLinearProgress-colorPrimary](/material-ui/api/linear-progress/#linear-progress-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
*/
barColorPrimary: string;
/** Styles applied to the bar elements if `color="secondary"`; bar2 if `variant` not "buffer".
* @deprecated Use the [.MuiLinearProgress-bar](/material-ui/api/linear-progress/#linear-progress-classes-bar) and [.MuiLinearProgress-colorSecondary](/material-ui/api/linear-progress/#linear-progress-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
*/
barColorSecondary: string;
/** Styles applied to the bar1 element if `variant="indeterminate or query"`.
* @deprecated Use the [.MuiLinearProgress-bar1](/material-ui/api/linear-progress/#linear-progress-classes-bar1) and [.MuiLinearProgress-indeterminate](/material-ui/api/linear-progress/#linear-progress-classes-indeterminate) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
*/
bar1Indeterminate: string;
/** Styles applied to the bar1 element if `variant="determinate"`.
* @deprecated Use the [.MuiLinearProgress-bar1](/material-ui/api/linear-progress/#linear-progress-classes-bar1) and [.MuiLinearProgress-determinate](/material-ui/api/linear-progress/#linear-progress-classes-determinate) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
*/
bar1Determinate: string;
/** Styles applied to the bar1 element if `variant="buffer"`.
* @deprecated Use the [.MuiLinearProgress-bar1](/material-ui/api/linear-progress/#linear-progress-classes-bar1) and [.MuiLinearProgress-buffer](/material-ui/api/linear-progress/#linear-progress-classes-buffer) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
*/
bar1Buffer: string;
/** Styles applied to the bar2 element if `variant="indeterminate or query"`.
* @deprecated Use the [.MuiLinearProgress-bar2](/material-ui/api/linear-progress/#linear-progress-classes-bar2) and [.MuiLinearProgress-indeterminate](/material-ui/api/linear-progress/#linear-progress-classes-indeterminate) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
*/
bar2Indeterminate: string;
/** Styles applied to the bar2 element if `variant="buffer"`.
* @deprecated Use the [.MuiLinearProgress-bar2](/material-ui/api/linear-progress/#linear-progress-classes-bar2) and [.MuiLinearProgress-buffer](/material-ui/api/linear-progress/#linear-progress-classes-buffer) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
*/
bar2Buffer: string;
}
export type LinearProgressClassKey = keyof LinearProgressClasses;
export declare function getLinearProgressUtilityClass(slot: string): string;
declare const linearProgressClasses: LinearProgressClasses;
export default linearProgressClasses;