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

+12
View File
@@ -0,0 +1,12 @@
import * as React from 'react';
import { InternalStandardProps as StandardProps } from "../index.js";
export interface NotchedOutlineProps extends StandardProps<React.FieldsetHTMLAttributes<HTMLFieldSetElement>> {
disabled?: boolean;
error?: boolean;
focused?: boolean;
label?: React.ReactNode;
notched: boolean;
}
export type NotchedOutlineClassKey = keyof NonNullable<NotchedOutlineProps['classes']>;
declare const NotchedOutline: React.JSXElementConstructor<NotchedOutlineProps>;
export default NotchedOutline;
+40
View File
@@ -0,0 +1,40 @@
import * as React from 'react';
import { SxProps } from '@mui/system';
import { InternalStandardProps as StandardProps, Theme } from "../index.js";
import { InputBaseProps } from "../InputBase/index.js";
import { OutlinedInputClasses } from "./outlinedInputClasses.js";
export interface OutlinedInputProps extends StandardProps<InputBaseProps> {
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<OutlinedInputClasses>;
/**
* The label of the `input`. It is only used for layout. The actual labelling
* is handled by `InputLabel`.
*/
label?: React.ReactNode;
/**
* If `true`, the outline is notched to accommodate the label.
*/
notched?: 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:
*
* - [OutlinedInput API](https://mui.com/material-ui/api/outlined-input/)
* - inherits [InputBase API](https://mui.com/material-ui/api/input-base/)
*/
declare const OutlinedInput: ((props: OutlinedInputProps) => React.JSX.Element) & {
muiName: string;
};
export default OutlinedInput;
+4
View File
@@ -0,0 +1,4 @@
export { default } from "./OutlinedInput.js";
export * from "./OutlinedInput.js";
export { default as outlinedInputClasses } from "./outlinedInputClasses.js";
export * from "./outlinedInputClasses.js";
@@ -0,0 +1,38 @@
export interface OutlinedInputClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root element if the color is secondary. */
colorSecondary: 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 `startAdornment` is provided. */
adornedStart: string;
/** Styles applied to the root element if `endAdornment` is provided. */
adornedEnd: 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 NotchedOutline element. */
notchedOutline: 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 OutlinedInputClassKey = keyof OutlinedInputClasses;
export declare function getOutlinedInputUtilityClass(slot: string): string;
declare const outlinedInputClasses: OutlinedInputClasses;
export default outlinedInputClasses;