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

+35
View File
@@ -0,0 +1,35 @@
import { SxProps } from '@mui/system';
import { InternalStandardProps as StandardProps, Theme } from "../index.js";
import { InputBaseProps } from "../InputBase/index.js";
import { InputClasses } from "./inputClasses.js";
export interface InputProps extends StandardProps<InputBaseProps> {
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<InputClasses>;
/**
* If `true`, the `input` will not have an underline.
* @default false
*/
disableUnderline?: boolean;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
}
/**
*
* Demos:
*
* - [Text Field](https://mui.com/material-ui/react-text-field/)
*
* API:
*
* - [Input API](https://mui.com/material-ui/api/input/)
* - inherits [InputBase API](https://mui.com/material-ui/api/input-base/)
*/
declare const Input: ((props: InputProps) => React.JSX.Element) & {
muiName: string;
};
export default Input;
+4
View File
@@ -0,0 +1,4 @@
export { default } from "./Input.js";
export * from "./Input.js";
export { default as inputClasses } from "./inputClasses.js";
export * from "./inputClasses.js";
+38
View File
@@ -0,0 +1,38 @@
export interface InputClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root element if the component is a descendant of `FormControl`. */
formControl: string;
/** Styles applied to the root element if the component is focused. */
focused: string;
/** Styles applied to the root element if `disabled={true}`. */
disabled: string;
/** Styles applied to the root element if color secondary. */
colorSecondary: string;
/** Styles applied to the root element unless `disableUnderline={true}`. */
underline: string;
/** State class applied to the root element if `error={true}`. */
error: string;
/** Styles applied to the input element if `size="small"`. */
sizeSmall: string;
/** Styles applied to the root element if `multiline={true}`. */
multiline: string;
/** Styles applied to the root element if `fullWidth={true}`. */
fullWidth: string;
/** Styles applied to the input element. */
input: string;
/** Styles applied to the input element if `size="small"`. */
inputSizeSmall: string;
/** Styles applied to the input element if `multiline={true}`. */
inputMultiline: string;
/** Styles applied to the input element if `startAdornment` is provided. */
inputAdornedStart: string;
/** Styles applied to the input element if `endAdornment` is provided. */
inputAdornedEnd: string;
/** Styles applied to the input element if `type="search"`. */
inputTypeSearch: string;
}
export type InputClassKey = keyof InputClasses;
export declare function getInputUtilityClass(slot: string): string;
declare const inputClasses: InputClasses;
export default inputClasses;