@movable/ui 2.10.0 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Chip/InkChip.d.ts +9 -0
- package/lib/components/Chip/index.d.ts +1 -0
- package/lib/components/ChipGroup/InkChipGroup.d.ts +9 -0
- package/lib/components/ChipGroup/index.d.ts +1 -0
- package/lib/components/DemoComponent.d.ts +5 -0
- package/lib/components/Dialog/ActionButtonHelper.d.ts +4 -0
- package/lib/components/Dialog/DialogIcons.d.ts +5 -0
- package/lib/components/Dialog/InkDialog.d.ts +23 -0
- package/lib/components/Dialog/index.d.ts +1 -0
- package/lib/components/Header/HeaderMetadata.d.ts +10 -0
- package/lib/components/Header/HeaderSubtitle.d.ts +5 -0
- package/lib/components/Header/InkPageHeader.d.ts +12 -0
- package/lib/components/Header/InkWorkflowHeader.d.ts +19 -0
- package/lib/components/Header/InternalUseOnlyLabel.d.ts +6 -0
- package/lib/components/Header/LinkBreadcrumbs.d.ts +14 -0
- package/lib/components/Header/PageHeaderActionButtons.d.ts +23 -0
- package/lib/components/Header/StickyHeader.d.ts +9 -0
- package/lib/components/Header/index.d.ts +6 -0
- package/lib/components/InkAttributeList/InkAttribute.d.ts +10 -0
- package/lib/components/InkAttributeList/InkAttributeList.d.ts +8 -0
- package/lib/components/InkAttributeList/index.d.ts +3 -0
- package/lib/components/InkCheckboxGroup/InkCheckboxGroup.d.ts +22 -0
- package/lib/components/InkCheckboxGroup/InkFormCheckboxGroup.d.ts +5 -0
- package/lib/components/InkCheckboxGroup/index.d.ts +3 -0
- package/lib/components/InkDrawer/HeaderIcon.d.ts +7 -0
- package/lib/components/InkDrawer/InkDrawer.d.ts +28 -0
- package/lib/components/InkDrawer/index.d.ts +1 -0
- package/lib/components/InkEmptyState/EmptyStateIcon.d.ts +8 -0
- package/lib/components/InkEmptyState/InkEmptyState.d.ts +17 -0
- package/lib/components/InkEmptyState/VariantStyles.d.ts +10 -0
- package/lib/components/InkEmptyState/index.d.ts +1 -0
- package/lib/components/InkEmptyTableMessage/InkEmptyTableMessage.d.ts +7 -0
- package/lib/components/InkEmptyTableMessage/index.d.ts +1 -0
- package/lib/components/InkFormSelect/InkFormSelect.d.ts +5 -0
- package/lib/components/InkFormSelect/MockFormSelect.d.ts +9 -0
- package/lib/components/InkFormSelect/index.d.ts +1 -0
- package/lib/components/InkImage/InkImage.d.ts +8 -0
- package/lib/components/InkImage/index.d.ts +2 -0
- package/lib/components/InkRadioTiles/InkRadioTiles.d.ts +24 -0
- package/lib/components/InkRadioTiles/index.d.ts +1 -0
- package/lib/components/InkSelect/InkSelect.d.ts +2 -0
- package/lib/components/InkSelect/InkSelectTest.d.ts +9 -0
- package/lib/components/InkSelect/MenuOptionsTest.d.ts +4 -0
- package/lib/components/InkSelect/index.d.ts +2 -0
- package/lib/components/InkSelect/types.d.ts +20 -0
- package/lib/components/InkSelect/useMenuHelper.d.ts +3 -0
- package/lib/components/InkSnackbar/InkSnackbarAlert.d.ts +12 -0
- package/lib/components/InkSnackbar/InkSnackbarContent.d.ts +3 -0
- package/lib/components/InkSnackbar/InkSnackbarContentProps.d.ts +8 -0
- package/lib/components/InkSnackbar/InkSnackbarProvider.d.ts +3 -0
- package/lib/components/InkSnackbar/SnackbarActionButton.d.ts +7 -0
- package/lib/components/InkSnackbar/index.d.ts +6 -0
- package/lib/components/InkTextField/InkFormTextField.d.ts +7 -0
- package/lib/components/InkTextField/InkTextField.d.ts +5 -0
- package/lib/components/InkTextField/index.d.ts +3 -0
- package/lib/components/InkToggleIcon/InkToggleIcon.d.ts +9 -0
- package/lib/components/InkToggleIcon/index.d.ts +1 -0
- package/lib/components/InkToggleIconGroup/InkToggleIconGroup.d.ts +14 -0
- package/lib/components/InkToggleIconGroup/index.d.ts +1 -0
- package/lib/components/InkToggleText/InkToggleText.d.ts +9 -0
- package/lib/components/InkToggleText/index.d.ts +1 -0
- package/lib/components/InkToggleTextGroup/InkToggleTextGroup.d.ts +15 -0
- package/lib/components/InkToggleTextGroup/index.d.ts +1 -0
- package/lib/components/PersistentFilterDrawer/InkPersistentFilterDrawer.d.ts +18 -0
- package/lib/components/PersistentFilterDrawer/index.d.ts +1 -0
- package/lib/components/Switch/InkSwitch.d.ts +8 -0
- package/lib/components/Switch/index.d.ts +1 -0
- package/lib/components/index.d.ts +21 -0
- package/lib/components/surfaces/InkPaper.d.ts +9 -0
- package/lib/components/surfaces/index.d.ts +1 -0
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/useCopyToClipboard.d.ts +4 -0
- package/lib/index.d.ts +17 -4
- package/lib/index.mjs +11799 -6510
- package/lib/index.mjs.map +1 -1
- package/lib/layouts/DetailsLayout.d.ts +7 -0
- package/lib/layouts/IndexLayout.d.ts +7 -0
- package/lib/layouts/WorkflowLayout.d.ts +7 -0
- package/lib/layouts/index.d.ts +3 -0
- package/lib/layouts/mocks/MockDetailsBody.d.ts +1 -0
- package/lib/layouts/mocks/MockIndexBody.d.ts +1 -0
- package/lib/layouts/mocks/MockInkPageHeader.d.ts +4 -0
- package/lib/layouts/mocks/MockWorkflowBody.d.ts +1 -0
- package/lib/layouts/mocks/MockWorkflowHeader.d.ts +1 -0
- package/lib/layouts/mocks/index.d.ts +5 -0
- package/lib/page-objects/index.d.ts +5 -0
- package/lib/page-objects/ink-checkbox-group.d.ts +19 -0
- package/lib/page-objects/ink-dialog.d.ts +21 -0
- package/lib/page-objects/ink-image.d.ts +12 -0
- package/lib/page-objects/ink-select.d.ts +22 -0
- package/lib/page-objects/ink-snackbar-alert.d.ts +12 -0
- package/lib/page-objects/ink-text-field.d.ts +24 -0
- package/lib/theme/components/Alert.d.ts +60 -0
- package/lib/theme/components/DataGrid.d.ts +45 -0
- package/lib/theme/components/autocomplete.d.ts +62 -0
- package/lib/theme/components/chip.d.ts +296 -0
- package/lib/theme/components/dialog.d.ts +32 -0
- package/lib/theme/components/drawer.d.ts +10 -0
- package/lib/theme/components/form.d.ts +255 -0
- package/lib/theme/components/snackbar.d.ts +13 -0
- package/lib/theme/components/stepper.d.ts +894 -0
- package/lib/theme/components/surfaces/card.d.ts +61 -0
- package/lib/theme/components/surfaces/index.d.ts +3 -0
- package/lib/theme/components/surfaces/paper.d.ts +26 -0
- package/lib/theme/components/typography.d.ts +18 -0
- package/lib/theme/palette.d.ts +237 -0
- package/lib/theme.d.ts +258 -0
- package/lib/utils/PageWrapper.d.ts +8 -0
- package/lib/utils/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GridProps } from '@mui/material/Grid';
|
|
2
|
+
type LayoutDetailsProps = GridProps & {
|
|
3
|
+
Header: JSX.Element;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export default function DetailsLayout({ Header, children, ...rest }: LayoutDetailsProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GridProps } from '@mui/material/Grid';
|
|
2
|
+
type IndexLayoutProps = GridProps & {
|
|
3
|
+
Header: JSX.Element;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export default function IndexLayout({ Header, children, ...containerProps }: IndexLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GridProps } from '@mui/material/Grid';
|
|
2
|
+
type WorkflowLayoutProps = GridProps & {
|
|
3
|
+
Header: JSX.Element;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export default function WorkflowLayout({ Header, children, sx, ...rest }: WorkflowLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function MockDetailsBody(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function MockIndexBody(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function MockWorkflowBody(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function MockWorkflowHeader(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as MockInkPageHeader, MockInkPageIndexHeader, } from './MockInkPageHeader';
|
|
2
|
+
export { default as MockDetailBody } from './MockDetailsBody';
|
|
3
|
+
export { default as MockIndexBody } from './MockIndexBody';
|
|
4
|
+
export { default as MockWorkflowHeader } from './MockWorkflowHeader';
|
|
5
|
+
export { default as MockWorkflowBody } from './MockWorkflowBody';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as inkDialog, InkDialogPageObject } from './ink-dialog';
|
|
2
|
+
export { default as inkSelect } from './ink-select';
|
|
3
|
+
export { default as inkSnackbarAlert } from './ink-snackbar-alert';
|
|
4
|
+
export { default as InkTextFieldPageObject } from './ink-text-field';
|
|
5
|
+
export { default as inkCheckboxGroup } from './ink-checkbox-group';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare class InkCheckboxGroupPageObject {
|
|
2
|
+
baseAttr: string;
|
|
3
|
+
name: string;
|
|
4
|
+
static create(name: string): InkCheckboxGroupPageObject;
|
|
5
|
+
constructor(name: string);
|
|
6
|
+
get element(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
7
|
+
get label(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
8
|
+
get required(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
9
|
+
get error(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
10
|
+
get stack(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
11
|
+
isHorizontal(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
12
|
+
isVertical(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
13
|
+
get options(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
14
|
+
getCheckbox(value: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
15
|
+
isCheckboxChecked(value: string): Cypress.Chainable<JQuery<HTMLInputElement>>;
|
|
16
|
+
notCheckboxChecked(value: string): Cypress.Chainable<JQuery<HTMLInputElement>>;
|
|
17
|
+
get helperText(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
18
|
+
}
|
|
19
|
+
export default InkCheckboxGroupPageObject;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare class InkDialogPageObject {
|
|
2
|
+
BASE_ATTRIBUTE: string;
|
|
3
|
+
get element(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
4
|
+
get paper(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
5
|
+
get primaryAction(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
6
|
+
get secondaryAction(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
7
|
+
get cancelAction(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
8
|
+
get dialogTrigger(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
9
|
+
get closeTrigger(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
10
|
+
get title(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
11
|
+
isOpen(): void;
|
|
12
|
+
isClosed(): void;
|
|
13
|
+
openDialog(): void;
|
|
14
|
+
closeDialog(): void;
|
|
15
|
+
hasPrimaryAction(label: string): void;
|
|
16
|
+
hasSecondaryAction(label: string): void;
|
|
17
|
+
hasCancelAction(label: string): void;
|
|
18
|
+
hasTitle(title: string): void;
|
|
19
|
+
}
|
|
20
|
+
declare const _default: InkDialogPageObject;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare class InkImagePageObject {
|
|
2
|
+
baseSelector: string;
|
|
3
|
+
name: string;
|
|
4
|
+
static create(name: string): InkImagePageObject;
|
|
5
|
+
constructor(name: string);
|
|
6
|
+
get element(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
7
|
+
get successImage(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
8
|
+
get errorImage(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
9
|
+
hasSrc(src: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
10
|
+
isSuccessHidden(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
11
|
+
}
|
|
12
|
+
export default InkImagePageObject;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare class InkSelectPageObject {
|
|
2
|
+
baseAttribute: string;
|
|
3
|
+
name: string;
|
|
4
|
+
static create(name: string): InkSelectPageObject;
|
|
5
|
+
constructor(name: string);
|
|
6
|
+
get element(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
7
|
+
get menuElement(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
8
|
+
get label(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
9
|
+
get select(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
10
|
+
get input(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
11
|
+
get options(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
12
|
+
option(value: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
13
|
+
get helperText(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
14
|
+
hasHelperText(value: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
15
|
+
hasLabel(value: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
16
|
+
hasDisplayValue(value: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
17
|
+
hasValue(value: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
18
|
+
hasOption(label: string, value: string, index?: number): void;
|
|
19
|
+
closeMenu(): void;
|
|
20
|
+
openMenu(): void;
|
|
21
|
+
}
|
|
22
|
+
export default InkSelectPageObject;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InkSnackbarAlertProps } from '../components/InkSnackbar';
|
|
2
|
+
declare class InkSnackbarAlertPageObject {
|
|
3
|
+
get title(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
4
|
+
get message(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
5
|
+
get action(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
6
|
+
actionButton(label: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
7
|
+
get actionClose(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
8
|
+
get snackbarAlerts(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
9
|
+
snackbarAlertType(type: InkSnackbarAlertProps['severity']): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: InkSnackbarAlertPageObject;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare class InkTextFieldPageObject {
|
|
2
|
+
baseAttribute: string;
|
|
3
|
+
helperTextSelector: string;
|
|
4
|
+
errorTextSelector: string;
|
|
5
|
+
errorClass: string;
|
|
6
|
+
name: string;
|
|
7
|
+
static create(name: string): InkTextFieldPageObject;
|
|
8
|
+
constructor(name: string);
|
|
9
|
+
get element(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
10
|
+
get label(): Cypress.Chainable<JQuery<HTMLLabelElement>>;
|
|
11
|
+
get input(): Cypress.Chainable<JQuery<HTMLInputElement>>;
|
|
12
|
+
get helperText(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
13
|
+
get error(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
14
|
+
get errorMessage(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
15
|
+
get multiline(): Cypress.Chainable<JQuery<HTMLTextAreaElement>>;
|
|
16
|
+
hasLabel(label: string): Cypress.Chainable<JQuery<HTMLLabelElement>>;
|
|
17
|
+
hasValue(value: string): Cypress.Chainable<JQuery<HTMLInputElement>>;
|
|
18
|
+
hasHelperText(text: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
19
|
+
hasError(text: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
20
|
+
type(value: string): Cypress.Chainable<JQuery<HTMLInputElement>>;
|
|
21
|
+
clear(): Cypress.Chainable<JQuery<HTMLInputElement>>;
|
|
22
|
+
blur(): Cypress.Chainable<JQuery<HTMLInputElement>>;
|
|
23
|
+
}
|
|
24
|
+
export default InkTextFieldPageObject;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
import { AlertProps } from '@mui/material/Alert';
|
|
3
|
+
declare const alert: {
|
|
4
|
+
MuiAlert: {
|
|
5
|
+
defaultProps: {
|
|
6
|
+
iconMapping: {
|
|
7
|
+
success: import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
error: import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
info: import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
warning: import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
variants: {
|
|
14
|
+
props: {
|
|
15
|
+
variant: string;
|
|
16
|
+
};
|
|
17
|
+
style: {
|
|
18
|
+
width: string;
|
|
19
|
+
};
|
|
20
|
+
}[];
|
|
21
|
+
styleOverrides: {
|
|
22
|
+
root: {
|
|
23
|
+
'& .MuiAlert-action': {
|
|
24
|
+
gap: string;
|
|
25
|
+
'> .MuiIconButton-root, > .MuiButton-root': {
|
|
26
|
+
padding: string;
|
|
27
|
+
color: string;
|
|
28
|
+
};
|
|
29
|
+
'> .MuiButton-root': {
|
|
30
|
+
fontSize: string;
|
|
31
|
+
textTransform: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
'& .MuiAlert-message': {
|
|
35
|
+
color: string;
|
|
36
|
+
};
|
|
37
|
+
border: string;
|
|
38
|
+
};
|
|
39
|
+
snackbar: ({ theme, ownerState, }: {
|
|
40
|
+
theme: Theme;
|
|
41
|
+
ownerState: AlertProps;
|
|
42
|
+
}) => {
|
|
43
|
+
color: string;
|
|
44
|
+
backgroundColor: string;
|
|
45
|
+
'& .MuiAlert-message': {
|
|
46
|
+
color: string;
|
|
47
|
+
};
|
|
48
|
+
'& .MuiAlert-icon': {
|
|
49
|
+
color?: string | undefined;
|
|
50
|
+
};
|
|
51
|
+
'& .MuiAlert-action': {
|
|
52
|
+
'> .MuiButton-root': {
|
|
53
|
+
color: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export default alert;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
declare const datagrid: {
|
|
3
|
+
MuiDataGrid: {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: {
|
|
6
|
+
border: string;
|
|
7
|
+
'.MuiDataGrid-toolbarContainer .MuiTextField-root': {
|
|
8
|
+
backgroundColor: "#f5f5f5";
|
|
9
|
+
padding: string;
|
|
10
|
+
borderRadius: string;
|
|
11
|
+
};
|
|
12
|
+
'.MuiInput-underline:before': {
|
|
13
|
+
borderBottom: string;
|
|
14
|
+
color: string;
|
|
15
|
+
};
|
|
16
|
+
'.MuiDataGrid-toolbarContainer button': {
|
|
17
|
+
backgroundColor: "#f5f5f5";
|
|
18
|
+
color: "#212121";
|
|
19
|
+
padding: string;
|
|
20
|
+
};
|
|
21
|
+
'.MuiDataGrid-toolbarContainer svg': {
|
|
22
|
+
color: "#616161";
|
|
23
|
+
};
|
|
24
|
+
'.MuiDataGrid-cell:focus': {
|
|
25
|
+
outline: string;
|
|
26
|
+
};
|
|
27
|
+
'.MuiDataGrid-overlayWrapper': {
|
|
28
|
+
height: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
menu: {
|
|
32
|
+
'.MuiPaper-root': {
|
|
33
|
+
padding: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
columnHeaderTitle: ({ theme }: {
|
|
37
|
+
theme: Theme;
|
|
38
|
+
}) => {
|
|
39
|
+
fontWeight: number;
|
|
40
|
+
fontSize: import("csstype").Property.FontSize<string | number> | undefined;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default datagrid;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
declare const autocomplete: {
|
|
3
|
+
MuiAutocomplete: {
|
|
4
|
+
defaultProps: {
|
|
5
|
+
ChipProps: {
|
|
6
|
+
size: string;
|
|
7
|
+
color: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
styleOverrides: {
|
|
11
|
+
root: ({ theme }: {
|
|
12
|
+
theme: Theme;
|
|
13
|
+
}) => {
|
|
14
|
+
'.MuiChip-root': {
|
|
15
|
+
margin: number;
|
|
16
|
+
};
|
|
17
|
+
'& .MuiAutocomplete-inputRoot[class*="Mui-disabled"]': {
|
|
18
|
+
backgroundColor: string;
|
|
19
|
+
cursor: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
option: ({ theme }: {
|
|
23
|
+
theme: Theme;
|
|
24
|
+
}) => {
|
|
25
|
+
'&.MuiAutocomplete-option.MuiAutocomplete-option': {
|
|
26
|
+
'&.Mui-focused': {
|
|
27
|
+
backgroundColor: string | undefined;
|
|
28
|
+
};
|
|
29
|
+
'&[aria-selected="true"]': {
|
|
30
|
+
backgroundColor: string | undefined;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
inputRoot: ({ theme }: {
|
|
35
|
+
theme: Theme;
|
|
36
|
+
}) => {
|
|
37
|
+
'&.MuiInputBase-hiddenLabel': {
|
|
38
|
+
padding: string;
|
|
39
|
+
'& .MuiAutocomplete-input': {
|
|
40
|
+
padding: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
'&.MuiInputBase-hiddenLabel.MuiInputBase-sizeSmall': {
|
|
44
|
+
paddingTop: string;
|
|
45
|
+
paddingBottom: string;
|
|
46
|
+
paddingLeft: string;
|
|
47
|
+
'& .MuiAutocomplete-input': {
|
|
48
|
+
padding: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
gap: string;
|
|
52
|
+
};
|
|
53
|
+
paper: {
|
|
54
|
+
padding: number;
|
|
55
|
+
};
|
|
56
|
+
listbox: {
|
|
57
|
+
maxHeight: number;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export default autocomplete;
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
declare const chip: {
|
|
2
|
+
MuiChip: {
|
|
3
|
+
styleOverrides: {
|
|
4
|
+
filledDefault: {
|
|
5
|
+
backgroundColor: "#eeeeee";
|
|
6
|
+
color: "#212121";
|
|
7
|
+
'&.MuiChip-clickable': {
|
|
8
|
+
'&:hover, &:focus, &:active': {
|
|
9
|
+
color: "#212121";
|
|
10
|
+
backgroundColor: "#e0e0e0";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
'.MuiChip-deleteIcon': {
|
|
14
|
+
color: "#616161";
|
|
15
|
+
opacity: number;
|
|
16
|
+
'&:hover, &:focus, &:active': {
|
|
17
|
+
color: "#616161";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
filledPrimary: {
|
|
22
|
+
backgroundColor: "#e3f2fd";
|
|
23
|
+
color: string;
|
|
24
|
+
'&.MuiChip-clickable': {
|
|
25
|
+
'&:hover, &:focus, &:active': {
|
|
26
|
+
color: string;
|
|
27
|
+
backgroundColor: "#bbdefb";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
'.MuiChip-deleteIcon': {
|
|
31
|
+
color: string;
|
|
32
|
+
opacity: number;
|
|
33
|
+
'&:hover, &:focus, &:active': {
|
|
34
|
+
color: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
filledSecondary: {
|
|
39
|
+
backgroundColor: "#f3e5f5";
|
|
40
|
+
color: string;
|
|
41
|
+
'&.MuiChip-clickable': {
|
|
42
|
+
'&:hover, &:focus, &:active': {
|
|
43
|
+
color: string;
|
|
44
|
+
backgroundColor: "#e1bee7";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
'.MuiChip-deleteIcon': {
|
|
48
|
+
color: "#7b1fa2";
|
|
49
|
+
opacity: number;
|
|
50
|
+
'&:hover, &:focus, &:active': {
|
|
51
|
+
color: "#7b1fa2";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
filledError: {
|
|
56
|
+
backgroundColor: "#ffebee";
|
|
57
|
+
color: string;
|
|
58
|
+
'&.MuiChip-clickable': {
|
|
59
|
+
'&:hover, &:focus, &:active': {
|
|
60
|
+
color: string;
|
|
61
|
+
backgroundColor: "#ffcdd2";
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
'.MuiChip-deleteIcon': {
|
|
65
|
+
color: "#c62828";
|
|
66
|
+
opacity: number;
|
|
67
|
+
'&:hover, &:focus, &:active': {
|
|
68
|
+
color: "#c62828";
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
filledWarning: {
|
|
73
|
+
backgroundColor: "#fff3e0";
|
|
74
|
+
color: string;
|
|
75
|
+
'&.MuiChip-clickable': {
|
|
76
|
+
'&:hover, &:focus, &:active': {
|
|
77
|
+
color: string;
|
|
78
|
+
backgroundColor: "#ffe0b2";
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
'.MuiChip-deleteIcon': {
|
|
82
|
+
color: string;
|
|
83
|
+
opacity: number;
|
|
84
|
+
'&:hover, &:focus, &:active': {
|
|
85
|
+
color: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
filledInfo: {
|
|
90
|
+
backgroundColor: "#e0f7fa";
|
|
91
|
+
color: "#006064";
|
|
92
|
+
'&.MuiChip-clickable': {
|
|
93
|
+
'&:hover, &:focus, &:active': {
|
|
94
|
+
color: "#006064";
|
|
95
|
+
backgroundColor: "#b2ebf2";
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
'.MuiChip-deleteIcon': {
|
|
99
|
+
color: "#01579b";
|
|
100
|
+
opacity: number;
|
|
101
|
+
'&:hover, &:focus, &:active': {
|
|
102
|
+
color: "#01579b";
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
filledSuccess: {
|
|
107
|
+
backgroundColor: string;
|
|
108
|
+
color: string;
|
|
109
|
+
'&.MuiChip-clickable': {
|
|
110
|
+
'&:hover, &:focus, &:active': {
|
|
111
|
+
color: string;
|
|
112
|
+
backgroundColor: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
'.MuiChip-deleteIcon': {
|
|
116
|
+
color: "#388e3c";
|
|
117
|
+
opacity: number;
|
|
118
|
+
'&:hover, &:focus, &:active': {
|
|
119
|
+
color: "#388e3c";
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
filledAi: {
|
|
124
|
+
backgroundColor: "#ede7f6";
|
|
125
|
+
color: "#311b92";
|
|
126
|
+
'&.MuiChip-clickable': {
|
|
127
|
+
'&:hover, &:focus, &:active': {
|
|
128
|
+
color: "#311b92";
|
|
129
|
+
backgroundColor: "#d1c4e9";
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
'.MuiChip-deleteIcon': {
|
|
133
|
+
color: "#311b92";
|
|
134
|
+
opacity: number;
|
|
135
|
+
'&:hover, &:focus, &:active': {
|
|
136
|
+
color: "#311b92";
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
contrastFilledDefault: {
|
|
141
|
+
color: string;
|
|
142
|
+
backgroundColor: "#616161";
|
|
143
|
+
'&.MuiChip-clickable': {
|
|
144
|
+
'&:hover, &:focus, &:active': {
|
|
145
|
+
color: string;
|
|
146
|
+
backgroundColor: "#424242";
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
'.MuiChip-deleteIcon': {
|
|
150
|
+
color: string;
|
|
151
|
+
opacity: number;
|
|
152
|
+
'&:hover, &:focus, &:active': {
|
|
153
|
+
color: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
contrastFilledPrimary: {
|
|
158
|
+
color: string;
|
|
159
|
+
backgroundColor: "#0091ea";
|
|
160
|
+
'&.MuiChip-clickable': {
|
|
161
|
+
'&:hover, &:focus, &:active': {
|
|
162
|
+
color: string;
|
|
163
|
+
backgroundColor: "#01579b";
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
'.MuiChip-deleteIcon': {
|
|
167
|
+
color: string;
|
|
168
|
+
opacity: number;
|
|
169
|
+
'&:hover, &:focus, &:active': {
|
|
170
|
+
color: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
contrastFilledSecondary: {
|
|
175
|
+
color: string;
|
|
176
|
+
backgroundColor: "#aa00ff";
|
|
177
|
+
'&.MuiChip-clickable': {
|
|
178
|
+
'&:hover, &:focus, &:active': {
|
|
179
|
+
color: string;
|
|
180
|
+
backgroundColor: "#7b1fa2";
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
'.MuiChip-deleteIcon': {
|
|
184
|
+
color: string;
|
|
185
|
+
opacity: number;
|
|
186
|
+
'&:hover, &:focus, &:active': {
|
|
187
|
+
color: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
contrastFilledError: {
|
|
192
|
+
color: string;
|
|
193
|
+
backgroundColor: "#d50000";
|
|
194
|
+
'&.MuiChip-clickable': {
|
|
195
|
+
'&:hover, &:focus, &:active': {
|
|
196
|
+
color: string;
|
|
197
|
+
backgroundColor: "#c62828";
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
'.MuiChip-deleteIcon': {
|
|
201
|
+
color: string;
|
|
202
|
+
opacity: number;
|
|
203
|
+
'&:hover,&:focus, &:active': {
|
|
204
|
+
color: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
contrastFilledWarning: {
|
|
209
|
+
color: string;
|
|
210
|
+
backgroundColor: "#f9a825";
|
|
211
|
+
'&.MuiChip-clickable': {
|
|
212
|
+
'&:hover, &:focus, &:active': {
|
|
213
|
+
color: string;
|
|
214
|
+
backgroundColor: "#f57f17";
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
'.MuiChip-deleteIcon': {
|
|
218
|
+
color: string;
|
|
219
|
+
opacity: number;
|
|
220
|
+
'&:hover,&:focus, &:active': {
|
|
221
|
+
color: string;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
contrastFilledInfo: {
|
|
226
|
+
color: string;
|
|
227
|
+
backgroundColor: "#00b8d4";
|
|
228
|
+
'&.MuiChip-clickable': {
|
|
229
|
+
'&:hover, &:focus, &:active': {
|
|
230
|
+
color: string;
|
|
231
|
+
backgroundColor: "#0097a7";
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
'.MuiChip-deleteIcon': {
|
|
235
|
+
color: string;
|
|
236
|
+
opacity: number;
|
|
237
|
+
'&:hover,&:focus, &:active': {
|
|
238
|
+
color: string;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
contrastFilledSuccess: {
|
|
243
|
+
color: string;
|
|
244
|
+
backgroundColor: string;
|
|
245
|
+
'&.MuiChip-clickable': {
|
|
246
|
+
'&:hover, &:focus, &:active': {
|
|
247
|
+
color: string;
|
|
248
|
+
backgroundColor: "#388e3c";
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
'.MuiChip-deleteIcon': {
|
|
252
|
+
color: string;
|
|
253
|
+
opacity: number;
|
|
254
|
+
'&:hover,&:focus, &:active': {
|
|
255
|
+
color: string;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
contrastFilledAi: {
|
|
260
|
+
color: string;
|
|
261
|
+
backgroundColor: "#6200ea";
|
|
262
|
+
'&.MuiChip-clickable': {
|
|
263
|
+
'&:hover, &:focus, &:active': {
|
|
264
|
+
color: string;
|
|
265
|
+
backgroundColor: "#6200ea";
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
'.MuiChip-deleteIcon': {
|
|
269
|
+
color: string;
|
|
270
|
+
opacity: number;
|
|
271
|
+
'&:hover,&:focus, &:active': {
|
|
272
|
+
color: string;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
contrastFilledInProgress: {
|
|
277
|
+
color: string;
|
|
278
|
+
backgroundColor: string;
|
|
279
|
+
'&.MuiChip-clickable': {
|
|
280
|
+
'&:hover, &:focus, &:active': {
|
|
281
|
+
color: string;
|
|
282
|
+
backgroundColor: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
'.MuiChip-deleteIcon': {
|
|
286
|
+
color: string;
|
|
287
|
+
opacity: number;
|
|
288
|
+
'&:hover,&:focus, &:active': {
|
|
289
|
+
color: string;
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
export default chip;
|