@movable/ui 2.10.0 → 2.12.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/InkRadioGroup/InkFormRadioGroup.d.ts +5 -0
- package/lib/components/InkRadioGroup/InkRadioGroup.d.ts +23 -0
- package/lib/components/InkRadioGroup/index.d.ts +3 -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 +23 -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 +70 -4
- package/lib/index.mjs +12507 -6163
- 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 +6 -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-radio-group.d.ts +20 -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,61 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
declare const card: {
|
|
3
|
+
MuiCard: {
|
|
4
|
+
defaultProps: {
|
|
5
|
+
variant: string;
|
|
6
|
+
};
|
|
7
|
+
styleOverrides: {
|
|
8
|
+
root: ({ theme }: {
|
|
9
|
+
theme: Theme;
|
|
10
|
+
}) => {
|
|
11
|
+
padding: number;
|
|
12
|
+
paddingBottom: string;
|
|
13
|
+
borderRadius: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
MuiCardHeader: {
|
|
18
|
+
styleOverrides: {
|
|
19
|
+
root: ({ theme }: {
|
|
20
|
+
theme: Theme;
|
|
21
|
+
}) => {
|
|
22
|
+
padding: string;
|
|
23
|
+
paddingBottom: number;
|
|
24
|
+
};
|
|
25
|
+
title: {
|
|
26
|
+
color: string;
|
|
27
|
+
fontSize: string;
|
|
28
|
+
fontWeight: number;
|
|
29
|
+
};
|
|
30
|
+
subheader: {
|
|
31
|
+
color: string;
|
|
32
|
+
fontSize: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
MuiCardActions: {
|
|
37
|
+
styleOverrides: {
|
|
38
|
+
root: ({ theme }: {
|
|
39
|
+
theme: Theme;
|
|
40
|
+
}) => {
|
|
41
|
+
padding: string;
|
|
42
|
+
paddingBottom: number;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
MuiCardContent: {
|
|
47
|
+
styleOverrides: {
|
|
48
|
+
root: ({ theme }: {
|
|
49
|
+
theme: Theme;
|
|
50
|
+
}) => {
|
|
51
|
+
padding: string;
|
|
52
|
+
paddingBottom: number;
|
|
53
|
+
'& .MuiTypography-root': {
|
|
54
|
+
color: string;
|
|
55
|
+
fontSize: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export default card;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
declare const paper: {
|
|
3
|
+
MuiPaper: {
|
|
4
|
+
defaultProps: {
|
|
5
|
+
variant: string;
|
|
6
|
+
};
|
|
7
|
+
styleOverrides: {
|
|
8
|
+
root: ({ theme }: {
|
|
9
|
+
theme: Theme;
|
|
10
|
+
}) => {
|
|
11
|
+
padding: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
MuiMenu: {
|
|
16
|
+
styleOverrides: {
|
|
17
|
+
paper: ({ theme }: {
|
|
18
|
+
theme: Theme;
|
|
19
|
+
}) => {
|
|
20
|
+
padding: number;
|
|
21
|
+
boxShadow: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default paper;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Theme, TypographyProps } from '@mui/material';
|
|
2
|
+
declare const typography: {
|
|
3
|
+
MuiTypography: {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ ownerState }: {
|
|
6
|
+
ownerState: TypographyProps;
|
|
7
|
+
}) => {
|
|
8
|
+
fontWeight?: number | undefined;
|
|
9
|
+
};
|
|
10
|
+
overline: ({ theme }: {
|
|
11
|
+
theme: Theme;
|
|
12
|
+
}) => {
|
|
13
|
+
color: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default typography;
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
declare const palette: {
|
|
2
|
+
text: {
|
|
3
|
+
primary: "#212121";
|
|
4
|
+
secondary: "#616161";
|
|
5
|
+
disabled: "#9e9e9e";
|
|
6
|
+
};
|
|
7
|
+
focusVisible: string;
|
|
8
|
+
blue50: "#e3f2fd";
|
|
9
|
+
blue100: "#bbdefb";
|
|
10
|
+
blue200: "#90caf9";
|
|
11
|
+
blue300: "#64b5f6";
|
|
12
|
+
blue400: "#42a5f5";
|
|
13
|
+
blue500: "#2196f3";
|
|
14
|
+
blue600: string;
|
|
15
|
+
blue700: string;
|
|
16
|
+
blue800: string;
|
|
17
|
+
blue900: string;
|
|
18
|
+
blueA100: "#82b1ff";
|
|
19
|
+
blueA200: "#448aff";
|
|
20
|
+
blueA400: "#2979ff";
|
|
21
|
+
blueA700: "#2962ff";
|
|
22
|
+
blue1000: string;
|
|
23
|
+
green50: string;
|
|
24
|
+
green100: string;
|
|
25
|
+
green200: string;
|
|
26
|
+
green300: string;
|
|
27
|
+
green400: string;
|
|
28
|
+
green500: string;
|
|
29
|
+
green600: string;
|
|
30
|
+
green700: string;
|
|
31
|
+
green800: string;
|
|
32
|
+
green900: string;
|
|
33
|
+
green1000: string;
|
|
34
|
+
greenA100: string;
|
|
35
|
+
greenA200: string;
|
|
36
|
+
greenA400: string;
|
|
37
|
+
greenA700: string;
|
|
38
|
+
greenA900: string;
|
|
39
|
+
lightBlue50: "#e1f5fe";
|
|
40
|
+
lightBlue100: "#b3e5fc";
|
|
41
|
+
lightBlue200: "#81d4fa";
|
|
42
|
+
lightBlue300: "#4fc3f7";
|
|
43
|
+
lightBlue400: "#29b6f6";
|
|
44
|
+
lightBlue500: "#03a9f4";
|
|
45
|
+
lightBlue600: "#039be5";
|
|
46
|
+
lightBlue700: "#0288d1";
|
|
47
|
+
lightBlue800: "#0277bd";
|
|
48
|
+
lightBlue900: "#01579b";
|
|
49
|
+
lightBlue1000: string;
|
|
50
|
+
lightBlueA100: "#80d8ff";
|
|
51
|
+
lightBlueA200: "#40c4ff";
|
|
52
|
+
lightBlueA400: "#00b0ff";
|
|
53
|
+
lightBlueA700: "#0091ea";
|
|
54
|
+
lightGreen50: "#f1f8e9";
|
|
55
|
+
lightGreen100: "#dcedc8";
|
|
56
|
+
lightGreen200: "#c5e1a5";
|
|
57
|
+
lightGreen300: "#aed581";
|
|
58
|
+
lightGreen400: "#9ccc65";
|
|
59
|
+
lightGreen500: "#8bc34a";
|
|
60
|
+
lightGreen600: "#7cb342";
|
|
61
|
+
lightGreen700: "#689f38";
|
|
62
|
+
lightGreen800: "#558b2f";
|
|
63
|
+
lightGreen900: "#33691e";
|
|
64
|
+
neutral00: string;
|
|
65
|
+
neutral50: "#fafafa";
|
|
66
|
+
neutral100: "#f5f5f5";
|
|
67
|
+
neutral200: "#eeeeee";
|
|
68
|
+
neutral300: "#e0e0e0";
|
|
69
|
+
neutral400: "#bdbdbd";
|
|
70
|
+
neutral500: "#9e9e9e";
|
|
71
|
+
neutral600: "#757575";
|
|
72
|
+
neutral700: "#616161";
|
|
73
|
+
neutral800: "#424242";
|
|
74
|
+
neutral900: "#212121";
|
|
75
|
+
neutral1000: string;
|
|
76
|
+
neutralA100: string;
|
|
77
|
+
neutralA200: string;
|
|
78
|
+
neutralA400: string;
|
|
79
|
+
neutralA700: string;
|
|
80
|
+
orange50: "#fff3e0";
|
|
81
|
+
orange100: "#ffe0b2";
|
|
82
|
+
orange200: "#ffcc80";
|
|
83
|
+
orange300: "#ffb74d";
|
|
84
|
+
orange400: "#ffa726";
|
|
85
|
+
orange500: "#ff9800";
|
|
86
|
+
orange600: "#fb8c00";
|
|
87
|
+
orange700: "#f57c00";
|
|
88
|
+
orange800: "#ef6c00";
|
|
89
|
+
orange900: "#e65100";
|
|
90
|
+
orange1000: string;
|
|
91
|
+
orangeA100: "#ffd180";
|
|
92
|
+
orangeA200: "#ffab40";
|
|
93
|
+
orangeA400: "#ff9100";
|
|
94
|
+
orangeA700: "#ff6d00";
|
|
95
|
+
purple50: "#f3e5f5";
|
|
96
|
+
purple100: "#e1bee7";
|
|
97
|
+
purple200: "#ce93d8";
|
|
98
|
+
purple300: "#ba68c8";
|
|
99
|
+
purple400: "#ab47bc";
|
|
100
|
+
purple500: "#9c27b0";
|
|
101
|
+
purple600: "#8e24aa";
|
|
102
|
+
purple700: "#7b1fa2";
|
|
103
|
+
purple800: "#6a1b9a";
|
|
104
|
+
purple900: "#4a148c";
|
|
105
|
+
purple1000: string;
|
|
106
|
+
purpleA100: "#ea80fc";
|
|
107
|
+
purpleA200: "#e040fb";
|
|
108
|
+
purpleA400: "#d500f9";
|
|
109
|
+
purpleA700: "#aa00ff";
|
|
110
|
+
yellow50: "#fffde7";
|
|
111
|
+
yellow100: "#fff9c4";
|
|
112
|
+
yellow200: "#fff59d";
|
|
113
|
+
yellow300: "#fff176";
|
|
114
|
+
yellow400: "#ffee58";
|
|
115
|
+
yellow500: "#ffeb3b";
|
|
116
|
+
yellow600: "#fdd835";
|
|
117
|
+
yellow700: "#fbc02d";
|
|
118
|
+
yellow800: "#f9a825";
|
|
119
|
+
yellow900: "#f57f17";
|
|
120
|
+
yellow1000: string;
|
|
121
|
+
yellowA100: "#ffff8d";
|
|
122
|
+
yellowA200: "#ffff00";
|
|
123
|
+
yellowA400: "#ffea00";
|
|
124
|
+
yellowA700: "#ffd600";
|
|
125
|
+
red50: "#ffebee";
|
|
126
|
+
red100: "#ffcdd2";
|
|
127
|
+
red200: "#ef9a9a";
|
|
128
|
+
red300: "#e57373";
|
|
129
|
+
red400: "#ef5350";
|
|
130
|
+
red500: "#f44336";
|
|
131
|
+
red600: "#e53935";
|
|
132
|
+
red700: "#d32f2f";
|
|
133
|
+
red800: "#c62828";
|
|
134
|
+
red900: "#b71c1c";
|
|
135
|
+
red1000: string;
|
|
136
|
+
redA100: "#ff8a80";
|
|
137
|
+
redA200: "#ff5252";
|
|
138
|
+
redA400: "#ff1744";
|
|
139
|
+
redA700: "#d50000";
|
|
140
|
+
cyan50: "#e0f7fa";
|
|
141
|
+
cyan100: "#b2ebf2";
|
|
142
|
+
cyan200: "#80deea";
|
|
143
|
+
cyan300: "#4dd0e1";
|
|
144
|
+
cyan400: "#26c6da";
|
|
145
|
+
cyan500: "#00bcd4";
|
|
146
|
+
cyan600: "#00acc1";
|
|
147
|
+
cyan700: "#0097a7";
|
|
148
|
+
cyan800: "#00838f";
|
|
149
|
+
cyan900: "#006064";
|
|
150
|
+
cyan1000: string;
|
|
151
|
+
cyanA100: "#84ffff";
|
|
152
|
+
cyanA200: "#18ffff";
|
|
153
|
+
cyanA400: "#00e5ff";
|
|
154
|
+
cyanA700: "#00b8d4";
|
|
155
|
+
deepPurple50: "#ede7f6";
|
|
156
|
+
deepPurple100: "#d1c4e9";
|
|
157
|
+
deepPurple200: "#b39ddb";
|
|
158
|
+
deepPurple300: "#9575cd";
|
|
159
|
+
deepPurple400: "#7e57c2";
|
|
160
|
+
deepPurple500: "#673ab7";
|
|
161
|
+
deepPurple600: "#5e35b1";
|
|
162
|
+
deepPurple700: "#512da8";
|
|
163
|
+
deepPurple800: "#4527a0";
|
|
164
|
+
deepPurple900: "#311b92";
|
|
165
|
+
deepPurple1000: string;
|
|
166
|
+
deepPurpleA100: "#b388ff";
|
|
167
|
+
deepPurpleA200: "#7c4dff";
|
|
168
|
+
deepPurpleA400: "#651fff";
|
|
169
|
+
deepPurpleA700: "#6200ea";
|
|
170
|
+
deepPurpleA800: string;
|
|
171
|
+
primary: {
|
|
172
|
+
main: "#2962ff";
|
|
173
|
+
dark: string;
|
|
174
|
+
light: "#448aff";
|
|
175
|
+
contrastText: string;
|
|
176
|
+
hover: string;
|
|
177
|
+
selected: string;
|
|
178
|
+
focus: string;
|
|
179
|
+
focusVisible: string;
|
|
180
|
+
outlinedBorder: string;
|
|
181
|
+
};
|
|
182
|
+
secondary: {
|
|
183
|
+
main: "#aa00ff";
|
|
184
|
+
dark: "#7b1fa2";
|
|
185
|
+
light: "#d500f9";
|
|
186
|
+
contrastText: string;
|
|
187
|
+
hover: string;
|
|
188
|
+
selected: string;
|
|
189
|
+
focus: string;
|
|
190
|
+
focusVisible: string;
|
|
191
|
+
outlinedBorder: "#ce93d8";
|
|
192
|
+
};
|
|
193
|
+
error: {
|
|
194
|
+
main: "#d50000";
|
|
195
|
+
dark: "#c62828";
|
|
196
|
+
light: "#ff5252";
|
|
197
|
+
contrastText: string;
|
|
198
|
+
hover: string;
|
|
199
|
+
};
|
|
200
|
+
warning: {
|
|
201
|
+
main: "#f57f17";
|
|
202
|
+
dark: string;
|
|
203
|
+
light: "#f9a825";
|
|
204
|
+
contrastText: string;
|
|
205
|
+
};
|
|
206
|
+
info: {
|
|
207
|
+
main: "#0091ea";
|
|
208
|
+
dark: "#01579b";
|
|
209
|
+
light: "#00b0ff";
|
|
210
|
+
contrastText: string;
|
|
211
|
+
};
|
|
212
|
+
ai: {
|
|
213
|
+
main: "#6200ea";
|
|
214
|
+
dark: string;
|
|
215
|
+
contrastText: string;
|
|
216
|
+
};
|
|
217
|
+
inProgress: {
|
|
218
|
+
main: "#00c853";
|
|
219
|
+
dark: string;
|
|
220
|
+
contrastText: string;
|
|
221
|
+
};
|
|
222
|
+
success: {
|
|
223
|
+
main: string;
|
|
224
|
+
dark: "#388e3c";
|
|
225
|
+
light: string;
|
|
226
|
+
contrastText: string;
|
|
227
|
+
};
|
|
228
|
+
action: {
|
|
229
|
+
active: "#616161";
|
|
230
|
+
hover: string;
|
|
231
|
+
selected: string;
|
|
232
|
+
focus: string;
|
|
233
|
+
disabledBackground: "#eeeeee";
|
|
234
|
+
disabled: "#9e9e9e";
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
export default palette;
|
package/lib/theme.d.ts
ADDED
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { InkSnackbarAlertProps } from './components/InkSnackbar/InkSnackbarAlert';
|
|
2
|
+
import { AlertProps } from '@mui/material/Alert';
|
|
3
|
+
import { OptionsObject } from 'notistack';
|
|
4
|
+
declare module '@mui/material/styles' {
|
|
5
|
+
interface Palette {
|
|
6
|
+
ai: Palette['primary'];
|
|
7
|
+
}
|
|
8
|
+
interface PaletteOptions {
|
|
9
|
+
ai?: PaletteOptions['primary'];
|
|
10
|
+
}
|
|
11
|
+
interface PaletteColor {
|
|
12
|
+
hover?: string;
|
|
13
|
+
selected?: string;
|
|
14
|
+
focus?: string;
|
|
15
|
+
focusVisible?: string;
|
|
16
|
+
outlinedBorder?: string;
|
|
17
|
+
}
|
|
18
|
+
interface Palette {
|
|
19
|
+
focusVisible: string;
|
|
20
|
+
blue50: string;
|
|
21
|
+
blue100: string;
|
|
22
|
+
blue200: string;
|
|
23
|
+
blue300: string;
|
|
24
|
+
blue400: string;
|
|
25
|
+
blue500: string;
|
|
26
|
+
blue600: string;
|
|
27
|
+
blue700: string;
|
|
28
|
+
blue800: string;
|
|
29
|
+
blue900: string;
|
|
30
|
+
blueA100: string;
|
|
31
|
+
blueA200: string;
|
|
32
|
+
blueA400: string;
|
|
33
|
+
blueA700: string;
|
|
34
|
+
blue1000: string;
|
|
35
|
+
green50: string;
|
|
36
|
+
green100: string;
|
|
37
|
+
green200: string;
|
|
38
|
+
green300: string;
|
|
39
|
+
green400: string;
|
|
40
|
+
green500: string;
|
|
41
|
+
green600: string;
|
|
42
|
+
green700: string;
|
|
43
|
+
green800: string;
|
|
44
|
+
green900: string;
|
|
45
|
+
green1000: string;
|
|
46
|
+
greenA100: string;
|
|
47
|
+
greenA200: string;
|
|
48
|
+
greenA400: string;
|
|
49
|
+
greenA700: string;
|
|
50
|
+
greenA900: string;
|
|
51
|
+
lightBlue50: string;
|
|
52
|
+
lightBlue100: string;
|
|
53
|
+
lightBlue200: string;
|
|
54
|
+
lightBlue300: string;
|
|
55
|
+
lightBlue400: string;
|
|
56
|
+
lightBlue500: string;
|
|
57
|
+
lightBlue600: string;
|
|
58
|
+
lightBlue700: string;
|
|
59
|
+
lightBlue800: string;
|
|
60
|
+
lightBlue900: string;
|
|
61
|
+
lightBlue1000: string;
|
|
62
|
+
lightBlueA100: string;
|
|
63
|
+
lightBlueA200: string;
|
|
64
|
+
lightBlueA400: string;
|
|
65
|
+
lightBlueA700: string;
|
|
66
|
+
lightGreen50: string;
|
|
67
|
+
lightGreen100: string;
|
|
68
|
+
lightGreen200: string;
|
|
69
|
+
lightGreen300: string;
|
|
70
|
+
lightGreen400: string;
|
|
71
|
+
lightGreen500: string;
|
|
72
|
+
lightGreen600: string;
|
|
73
|
+
lightGreen700: string;
|
|
74
|
+
lightGreen800: string;
|
|
75
|
+
lightGreen900: string;
|
|
76
|
+
neutral00: string;
|
|
77
|
+
neutral50: string;
|
|
78
|
+
neutral100: string;
|
|
79
|
+
neutral200: string;
|
|
80
|
+
neutral300: string;
|
|
81
|
+
neutral400: string;
|
|
82
|
+
neutral500: string;
|
|
83
|
+
neutral600: string;
|
|
84
|
+
neutral700: string;
|
|
85
|
+
neutral800: string;
|
|
86
|
+
neutral900: string;
|
|
87
|
+
neutralA100: string;
|
|
88
|
+
neutralA200: string;
|
|
89
|
+
neutralA400: string;
|
|
90
|
+
neutralA700: string;
|
|
91
|
+
orange50: string;
|
|
92
|
+
orange100: string;
|
|
93
|
+
orange200: string;
|
|
94
|
+
orange300: string;
|
|
95
|
+
orange400: string;
|
|
96
|
+
orange500: string;
|
|
97
|
+
orange600: string;
|
|
98
|
+
orange700: string;
|
|
99
|
+
orange800: string;
|
|
100
|
+
orange900: string;
|
|
101
|
+
orange1000: string;
|
|
102
|
+
orangeA100: string;
|
|
103
|
+
orangeA200: string;
|
|
104
|
+
orangeA400: string;
|
|
105
|
+
orangeA700: string;
|
|
106
|
+
purple50: string;
|
|
107
|
+
purple100: string;
|
|
108
|
+
purple200: string;
|
|
109
|
+
purple300: string;
|
|
110
|
+
purple400: string;
|
|
111
|
+
purple500: string;
|
|
112
|
+
purple600: string;
|
|
113
|
+
purple700: string;
|
|
114
|
+
purple800: string;
|
|
115
|
+
purple900: string;
|
|
116
|
+
purple1000: string;
|
|
117
|
+
purpleA100: string;
|
|
118
|
+
purpleA200: string;
|
|
119
|
+
purpleA400: string;
|
|
120
|
+
purpleA700: string;
|
|
121
|
+
yellow50: string;
|
|
122
|
+
yellow100: string;
|
|
123
|
+
yellow200: string;
|
|
124
|
+
yellow300: string;
|
|
125
|
+
yellow400: string;
|
|
126
|
+
yellow500: string;
|
|
127
|
+
yellow600: string;
|
|
128
|
+
yellow700: string;
|
|
129
|
+
yellow800: string;
|
|
130
|
+
yellow900: string;
|
|
131
|
+
yellow1000: string;
|
|
132
|
+
yellowA100: string;
|
|
133
|
+
yellowA200: string;
|
|
134
|
+
yellowA400: string;
|
|
135
|
+
yellowA700: string;
|
|
136
|
+
red50: string;
|
|
137
|
+
red100: string;
|
|
138
|
+
red200: string;
|
|
139
|
+
red300: string;
|
|
140
|
+
red400: string;
|
|
141
|
+
red500: string;
|
|
142
|
+
red600: string;
|
|
143
|
+
red700: string;
|
|
144
|
+
red800: string;
|
|
145
|
+
red900: string;
|
|
146
|
+
red1000: string;
|
|
147
|
+
redA100: string;
|
|
148
|
+
redA200: string;
|
|
149
|
+
redA400: string;
|
|
150
|
+
redA700: string;
|
|
151
|
+
cyan50: string;
|
|
152
|
+
cyan100: string;
|
|
153
|
+
cyan200: string;
|
|
154
|
+
cyan300: string;
|
|
155
|
+
cyan400: string;
|
|
156
|
+
cyan500: string;
|
|
157
|
+
cyan600: string;
|
|
158
|
+
cyan700: string;
|
|
159
|
+
cyan800: string;
|
|
160
|
+
cyan900: string;
|
|
161
|
+
cyan1000: string;
|
|
162
|
+
cyanA100: string;
|
|
163
|
+
cyanA200: string;
|
|
164
|
+
cyanA400: string;
|
|
165
|
+
cyanA700: string;
|
|
166
|
+
deepPurple50: string;
|
|
167
|
+
deepPurple100: string;
|
|
168
|
+
deepPurple200: string;
|
|
169
|
+
deepPurple300: string;
|
|
170
|
+
deepPurple400: string;
|
|
171
|
+
deepPurple500: string;
|
|
172
|
+
deepPurple600: string;
|
|
173
|
+
deepPurple700: string;
|
|
174
|
+
deepPurple800: string;
|
|
175
|
+
deepPurple900: string;
|
|
176
|
+
deepPurple1000: string;
|
|
177
|
+
deepPurpleA100: string;
|
|
178
|
+
deepPurpleA200: string;
|
|
179
|
+
deepPurpleA400: string;
|
|
180
|
+
deepPurpleA700: string;
|
|
181
|
+
}
|
|
182
|
+
interface PalletteOptions {
|
|
183
|
+
focusVisible: string;
|
|
184
|
+
neutral50: string;
|
|
185
|
+
neutral100: string;
|
|
186
|
+
neutral200: string;
|
|
187
|
+
neutral300: string;
|
|
188
|
+
neutral400: string;
|
|
189
|
+
neutral500: string;
|
|
190
|
+
neutral600: string;
|
|
191
|
+
neutral700: string;
|
|
192
|
+
neutral800: string;
|
|
193
|
+
neutral900: string;
|
|
194
|
+
neutralA100: string;
|
|
195
|
+
neutralA200: string;
|
|
196
|
+
neutralA400: string;
|
|
197
|
+
neutralA700: string;
|
|
198
|
+
blue50: string;
|
|
199
|
+
blue100: string;
|
|
200
|
+
blue200: string;
|
|
201
|
+
blue300: string;
|
|
202
|
+
blue400: string;
|
|
203
|
+
blue500: string;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
declare module '@mui/material/Button' {
|
|
207
|
+
interface ButtonPropsColorOverrides {
|
|
208
|
+
ai: true;
|
|
209
|
+
}
|
|
210
|
+
interface ButtonPropsVariantOverrides {
|
|
211
|
+
card: true;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
declare module '@mui/material/ToggleButton' {
|
|
215
|
+
interface ToggleButtonPropsSizeOverrides {
|
|
216
|
+
'x-small': true;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
declare module '@mui/material/ToggleButtonGroup' {
|
|
220
|
+
interface ToggleButtonGroupPropsSizeOverrides {
|
|
221
|
+
'x-small': true;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
declare module '@mui/material/Icon' {
|
|
225
|
+
interface IconPropsSizeOverrides {
|
|
226
|
+
'x-small': true;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
declare module '@mui/material/Alert' {
|
|
230
|
+
interface AlertPropsVariantOverrides {
|
|
231
|
+
snackbar: true;
|
|
232
|
+
standard: true;
|
|
233
|
+
filled: false;
|
|
234
|
+
outlined: false;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
declare module '@mui/material/Chip' {
|
|
238
|
+
interface ChipPropsVariantOverrides {
|
|
239
|
+
contrastFilled: true;
|
|
240
|
+
}
|
|
241
|
+
interface ChipPropsColorOverrides {
|
|
242
|
+
ai: true;
|
|
243
|
+
inProgress: true;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
type InkSnackbarOptions = OptionsObject & {
|
|
247
|
+
alertProps?: AlertProps;
|
|
248
|
+
title?: InkSnackbarAlertProps['title'];
|
|
249
|
+
action?: InkSnackbarAlertProps['action'];
|
|
250
|
+
onClose?: InkSnackbarAlertProps['onClose'];
|
|
251
|
+
};
|
|
252
|
+
declare module 'notistack' {
|
|
253
|
+
interface EnqueueSnackbar {
|
|
254
|
+
(message: string, options?: InkSnackbarOptions): void;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
declare const theme: import("@mui/material").Theme;
|
|
258
|
+
export default theme;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
type IPageWrapperProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
addTitleSuffix?: boolean;
|
|
5
|
+
description?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const PageWrapper: ({ title, addTitleSuffix, description, children, }: PropsWithChildren<IPageWrapperProps>) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default PageWrapper;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PageWrapper } from './PageWrapper';
|