@okta/odyssey-react-mui 0.21.3 → 0.22.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/CHANGELOG.md +24 -0
- package/dist/Autocomplete.js +58 -0
- package/dist/Autocomplete.js.map +1 -0
- package/dist/Banner.js +2 -3
- package/dist/Banner.js.map +1 -1
- package/dist/Button.js +46 -0
- package/dist/Button.js.map +1 -0
- package/dist/CheckboxGroup.js +2 -3
- package/dist/CheckboxGroup.js.map +1 -1
- package/dist/CircularProgress.js +12 -0
- package/dist/CircularProgress.js.map +1 -0
- package/dist/Field.js +59 -0
- package/dist/Field.js.map +1 -0
- package/dist/FieldError.js +34 -0
- package/dist/FieldError.js.map +1 -0
- package/dist/FieldHint.js +29 -0
- package/dist/FieldHint.js.map +1 -0
- package/dist/FieldLabel.js +32 -0
- package/dist/FieldLabel.js.map +1 -0
- package/dist/Infobox.js +2 -3
- package/dist/Infobox.js.map +1 -1
- package/dist/MenuButton.js +2 -2
- package/dist/MenuButton.js.map +1 -1
- package/dist/MenuItem.js +0 -1
- package/dist/MenuItem.js.map +1 -1
- package/dist/PasswordField.js +68 -0
- package/dist/PasswordField.js.map +1 -0
- package/dist/RadioGroup.js +2 -3
- package/dist/RadioGroup.js.map +1 -1
- package/dist/ScreenReaderText.js +30 -0
- package/dist/ScreenReaderText.js.map +1 -0
- package/dist/SearchField.js +54 -0
- package/dist/SearchField.js.map +1 -0
- package/dist/Tag.js +28 -0
- package/dist/Tag.js.map +1 -0
- package/dist/TagList.js +26 -0
- package/dist/TagList.js.map +1 -0
- package/dist/TagListContext.js +16 -0
- package/dist/TagListContext.js.map +1 -0
- package/dist/TextField.js +26 -62
- package/dist/TextField.js.map +1 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/src/Autocomplete.d.ts +27 -0
- package/dist/src/Autocomplete.d.ts.map +1 -0
- package/dist/src/Button.d.ts +31 -0
- package/dist/src/Button.d.ts.map +1 -0
- package/dist/src/CircularProgress.d.ts +16 -0
- package/dist/src/CircularProgress.d.ts.map +1 -0
- package/dist/src/Field.d.ts +54 -0
- package/dist/src/Field.d.ts.map +1 -0
- package/dist/src/FieldError.d.ts +19 -0
- package/dist/src/FieldError.d.ts.map +1 -0
- package/dist/src/FieldHint.d.ts +19 -0
- package/dist/src/FieldHint.d.ts.map +1 -0
- package/dist/src/FieldLabel.d.ts +23 -0
- package/dist/src/FieldLabel.d.ts.map +1 -0
- package/dist/src/Icon.d.ts +1 -1
- package/dist/src/Link.d.ts +1 -1
- package/dist/src/MenuButton.d.ts.map +1 -1
- package/dist/src/MenuItem.d.ts +1 -1
- package/dist/src/MenuItem.d.ts.map +1 -1
- package/dist/src/PasswordField.d.ts +75 -0
- package/dist/src/PasswordField.d.ts.map +1 -0
- package/dist/src/RadioGroup.d.ts.map +1 -1
- package/dist/src/ScreenReaderText.d.ts +21 -0
- package/dist/src/ScreenReaderText.d.ts.map +1 -0
- package/dist/src/SearchField.d.ts +59 -0
- package/dist/src/SearchField.d.ts.map +1 -0
- package/dist/src/Tag.d.ts +22 -0
- package/dist/src/Tag.d.ts.map +1 -0
- package/dist/src/TagList.d.ts +19 -0
- package/dist/src/TagList.d.ts.map +1 -0
- package/dist/src/TagListContext.d.ts +18 -0
- package/dist/src/TagListContext.d.ts.map +1 -0
- package/dist/src/TextField.d.ts +3 -8
- package/dist/src/TextField.d.ts.map +1 -1
- package/dist/src/iconDictionary/Add.d.ts +1 -1
- package/dist/src/iconDictionary/AddCircle.d.ts +1 -1
- package/dist/src/iconDictionary/AlertCircle.d.ts +1 -1
- package/dist/src/iconDictionary/AlertCircleFilled.d.ts +1 -1
- package/dist/src/iconDictionary/AlertTriangleFilled.d.ts +1 -1
- package/dist/src/iconDictionary/Anchor.d.ts +1 -1
- package/dist/src/iconDictionary/ArrowDown.d.ts +1 -1
- package/dist/src/iconDictionary/ArrowLeft.d.ts +1 -1
- package/dist/src/iconDictionary/ArrowRight.d.ts +1 -1
- package/dist/src/iconDictionary/ArrowUp.d.ts +1 -1
- package/dist/src/iconDictionary/ArrowUpDown.d.ts +1 -1
- package/dist/src/iconDictionary/Calendar.d.ts +1 -1
- package/dist/src/iconDictionary/Check.d.ts +1 -1
- package/dist/src/iconDictionary/CheckCircleFilled.d.ts +1 -1
- package/dist/src/iconDictionary/ChevronDown.d.ts +1 -1
- package/dist/src/iconDictionary/ChevronUp.d.ts +1 -1
- package/dist/src/iconDictionary/Close.d.ts +1 -1
- package/dist/src/iconDictionary/CloseCircleFilled.d.ts +1 -1
- package/dist/src/iconDictionary/Copy.d.ts +1 -1
- package/dist/src/iconDictionary/Delete.d.ts +1 -1
- package/dist/src/iconDictionary/Download.d.ts +1 -1
- package/dist/src/iconDictionary/DragHandle.d.ts +1 -1
- package/dist/src/iconDictionary/Edit.d.ts +1 -1
- package/dist/src/iconDictionary/ExternalLink.d.ts +1 -1
- package/dist/src/iconDictionary/Eye.d.ts +1 -1
- package/dist/src/iconDictionary/EyeOff.d.ts +1 -1
- package/dist/src/iconDictionary/Filter.d.ts +1 -1
- package/dist/src/iconDictionary/Globe.d.ts +1 -1
- package/dist/src/iconDictionary/Home.d.ts +1 -1
- package/dist/src/iconDictionary/InformationCircle.d.ts +1 -1
- package/dist/src/iconDictionary/InformationCircleFilled.d.ts +1 -1
- package/dist/src/iconDictionary/Notification.d.ts +1 -1
- package/dist/src/iconDictionary/OverflowVertical.d.ts +1 -1
- package/dist/src/iconDictionary/QuestionCircle.d.ts +1 -1
- package/dist/src/iconDictionary/QuestionCircleFilled.d.ts +1 -1
- package/dist/src/iconDictionary/Search.d.ts +1 -1
- package/dist/src/iconDictionary/Settings.d.ts +1 -1
- package/dist/src/iconDictionary/Subtract.d.ts +1 -1
- package/dist/src/iconDictionary/User.d.ts +1 -1
- package/dist/src/iconDictionary/UserGroup.d.ts +1 -1
- package/dist/src/iconDictionary/index.d.ts +40 -40
- package/dist/src/index.d.ts +13 -3
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/theme/components.d.ts.map +1 -1
- package/dist/src/theme/components.types.d.ts +0 -8
- package/dist/src/theme/components.types.d.ts.map +1 -1
- package/dist/theme/components.js +217 -124
- package/dist/theme/components.js.map +1 -1
- package/dist/theme/components.types.js.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/Autocomplete.tsx +132 -0
- package/src/Banner.tsx +2 -2
- package/src/Button.tsx +75 -0
- package/src/CheckboxGroup.tsx +2 -2
- package/src/CircularProgress.tsx +24 -0
- package/src/Field.tsx +112 -0
- package/src/FieldError.tsx +34 -0
- package/src/FieldHint.tsx +28 -0
- package/src/FieldLabel.tsx +57 -0
- package/src/Infobox.tsx +2 -2
- package/src/MenuButton.tsx +2 -3
- package/src/MenuItem.tsx +0 -1
- package/src/OdysseyCacheProvider.test.tsx +1 -1
- package/src/PasswordField.tsx +174 -0
- package/src/RadioGroup.tsx +2 -2
- package/src/ScreenReaderText.tsx +36 -0
- package/src/SearchField.tsx +136 -0
- package/src/Tag.tsx +41 -0
- package/src/TagList.tsx +43 -0
- package/src/TagListContext.tsx +23 -0
- package/src/TextField.tsx +43 -101
- package/src/index.ts +11 -5
- package/src/theme/components.tsx +87 -18
- package/src/theme/components.types.ts +0 -8
- package/dist/PasswordInput.js +0 -87
- package/dist/PasswordInput.js.map +0 -1
- package/dist/src/PasswordInput.d.ts +0 -21
- package/dist/src/PasswordInput.d.ts.map +0 -1
- package/src/PasswordInput.test.tsx +0 -51
- package/src/PasswordInput.tsx +0 -111
package/dist/theme/components.js
CHANGED
|
@@ -25,7 +25,7 @@ import { tableHeadClasses } from "@mui/material/TableHead";
|
|
|
25
25
|
import { tableRowClasses } from "@mui/material/TableRow";
|
|
26
26
|
import { tableSortLabelClasses } from "@mui/material/TableSortLabel";
|
|
27
27
|
import { tooltipClasses } from "@mui/material/Tooltip";
|
|
28
|
-
import { AlertTriangleFilledIcon, ArrowDownIcon, CheckIcon, CheckCircleFilledIcon, ChevronDownIcon, CloseCircleFilledIcon, InformationCircleFilledIcon, SubtractIcon } from "../iconDictionary/index.js";
|
|
28
|
+
import { AlertTriangleFilledIcon, ArrowDownIcon, CheckIcon, CheckCircleFilledIcon, ChevronDownIcon, CloseCircleFilledIcon, CloseIcon, InformationCircleFilledIcon, SubtractIcon } from "../iconDictionary/index.js";
|
|
29
29
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
30
30
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
31
31
|
export const components = {
|
|
@@ -158,12 +158,97 @@ export const components = {
|
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
|
+
MuiAutocomplete: {
|
|
162
|
+
defaultProps: {
|
|
163
|
+
autoHighlight: true,
|
|
164
|
+
autoSelect: false,
|
|
165
|
+
blurOnSelect: false,
|
|
166
|
+
clearIcon: _jsx(CloseIcon, {}),
|
|
167
|
+
clearOnEscape: true,
|
|
168
|
+
disableClearable: false,
|
|
169
|
+
disabledItemsFocusable: false,
|
|
170
|
+
disableListWrap: false,
|
|
171
|
+
disablePortal: false,
|
|
172
|
+
filterSelectedOptions: false,
|
|
173
|
+
fullWidth: false,
|
|
174
|
+
handleHomeEndKeys: true,
|
|
175
|
+
includeInputInList: true,
|
|
176
|
+
limitTags: -1,
|
|
177
|
+
openOnFocus: false,
|
|
178
|
+
popupIcon: _jsx(ChevronDownIcon, {}),
|
|
179
|
+
selectOnFocus: true
|
|
180
|
+
},
|
|
181
|
+
styleOverrides: {
|
|
182
|
+
clearIndicator: _ref6 => {
|
|
183
|
+
let {
|
|
184
|
+
theme
|
|
185
|
+
} = _ref6;
|
|
186
|
+
return {
|
|
187
|
+
marginRight: "unset",
|
|
188
|
+
padding: theme.spacing(1)
|
|
189
|
+
};
|
|
190
|
+
},
|
|
191
|
+
endAdornment: _ref7 => {
|
|
192
|
+
let {
|
|
193
|
+
theme,
|
|
194
|
+
ownerState
|
|
195
|
+
} = _ref7;
|
|
196
|
+
return {
|
|
197
|
+
display: "flex",
|
|
198
|
+
gap: theme.spacing(1),
|
|
199
|
+
top: `calc(${theme.spacing(2)} - ${theme.mixins.borderWidth})`,
|
|
200
|
+
right: theme.spacing(2),
|
|
201
|
+
maxHeight: "unset",
|
|
202
|
+
alignItems: "center",
|
|
203
|
+
whiteSpace: "nowrap",
|
|
204
|
+
color: theme.palette.action.active,
|
|
205
|
+
...(ownerState.disabled === true && {
|
|
206
|
+
display: "none"
|
|
207
|
+
}),
|
|
208
|
+
...(ownerState.readOnly === true && {
|
|
209
|
+
display: "none"
|
|
210
|
+
})
|
|
211
|
+
};
|
|
212
|
+
},
|
|
213
|
+
loading: _ref8 => {
|
|
214
|
+
let {
|
|
215
|
+
theme
|
|
216
|
+
} = _ref8;
|
|
217
|
+
return {
|
|
218
|
+
paddingBlock: theme.spacing(3),
|
|
219
|
+
paddingInline: theme.spacing(4)
|
|
220
|
+
};
|
|
221
|
+
},
|
|
222
|
+
popupIndicator: _ref9 => {
|
|
223
|
+
let {
|
|
224
|
+
theme
|
|
225
|
+
} = _ref9;
|
|
226
|
+
return {
|
|
227
|
+
padding: theme.spacing(1),
|
|
228
|
+
marginRight: "unset"
|
|
229
|
+
};
|
|
230
|
+
},
|
|
231
|
+
inputRoot: _ref10 => {
|
|
232
|
+
let {
|
|
233
|
+
theme,
|
|
234
|
+
ownerState
|
|
235
|
+
} = _ref10;
|
|
236
|
+
return { ...(ownerState.readOnly === true && {
|
|
237
|
+
backgroundColor: theme.palette.grey[50],
|
|
238
|
+
[`&:not(:hover)`]: {
|
|
239
|
+
borderColor: "transparent"
|
|
240
|
+
}
|
|
241
|
+
})
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
161
246
|
MuiBackdrop: {
|
|
162
247
|
styleOverrides: {
|
|
163
|
-
root:
|
|
248
|
+
root: _ref11 => {
|
|
164
249
|
let {
|
|
165
250
|
ownerState
|
|
166
|
-
} =
|
|
251
|
+
} = _ref11;
|
|
167
252
|
return {
|
|
168
253
|
backgroundColor: "rgba(29,29,33,0.75)",
|
|
169
254
|
...(ownerState.invisible === true && {
|
|
@@ -182,10 +267,10 @@ export const components = {
|
|
|
182
267
|
props: {
|
|
183
268
|
variant: "primary"
|
|
184
269
|
},
|
|
185
|
-
style:
|
|
270
|
+
style: _ref12 => {
|
|
186
271
|
let {
|
|
187
272
|
theme
|
|
188
|
-
} =
|
|
273
|
+
} = _ref12;
|
|
189
274
|
return {
|
|
190
275
|
fontWeight: 600,
|
|
191
276
|
color: theme.palette.common.white,
|
|
@@ -207,10 +292,10 @@ export const components = {
|
|
|
207
292
|
props: {
|
|
208
293
|
variant: "secondary"
|
|
209
294
|
},
|
|
210
|
-
style:
|
|
295
|
+
style: _ref13 => {
|
|
211
296
|
let {
|
|
212
297
|
theme
|
|
213
|
-
} =
|
|
298
|
+
} = _ref13;
|
|
214
299
|
return {
|
|
215
300
|
backgroundColor: theme.palette.grey[50],
|
|
216
301
|
borderColor: theme.palette.grey[200],
|
|
@@ -234,10 +319,10 @@ export const components = {
|
|
|
234
319
|
props: {
|
|
235
320
|
variant: "danger"
|
|
236
321
|
},
|
|
237
|
-
style:
|
|
322
|
+
style: _ref14 => {
|
|
238
323
|
let {
|
|
239
324
|
theme
|
|
240
|
-
} =
|
|
325
|
+
} = _ref14;
|
|
241
326
|
return {
|
|
242
327
|
backgroundColor: theme.palette.error.main,
|
|
243
328
|
color: theme.palette.common.white,
|
|
@@ -262,10 +347,10 @@ export const components = {
|
|
|
262
347
|
props: {
|
|
263
348
|
variant: "floating"
|
|
264
349
|
},
|
|
265
|
-
style:
|
|
350
|
+
style: _ref15 => {
|
|
266
351
|
let {
|
|
267
352
|
theme
|
|
268
|
-
} =
|
|
353
|
+
} = _ref15;
|
|
269
354
|
return {
|
|
270
355
|
backgroundColor: "transparent",
|
|
271
356
|
color: theme.palette.text.primary,
|
|
@@ -287,12 +372,12 @@ export const components = {
|
|
|
287
372
|
}
|
|
288
373
|
}, {
|
|
289
374
|
props: {
|
|
290
|
-
size: "
|
|
375
|
+
size: "small"
|
|
291
376
|
},
|
|
292
|
-
style:
|
|
377
|
+
style: _ref16 => {
|
|
293
378
|
let {
|
|
294
379
|
theme
|
|
295
|
-
} =
|
|
380
|
+
} = _ref16;
|
|
296
381
|
return {
|
|
297
382
|
paddingBlock: `calc(${theme.spacing(2)} - 1px)`,
|
|
298
383
|
paddingInline: `calc(${theme.spacing(2)} - 1px)`,
|
|
@@ -301,12 +386,12 @@ export const components = {
|
|
|
301
386
|
}
|
|
302
387
|
}, {
|
|
303
388
|
props: {
|
|
304
|
-
size: "
|
|
389
|
+
size: "large"
|
|
305
390
|
},
|
|
306
|
-
style:
|
|
391
|
+
style: _ref17 => {
|
|
307
392
|
let {
|
|
308
393
|
theme
|
|
309
|
-
} =
|
|
394
|
+
} = _ref17;
|
|
310
395
|
return {
|
|
311
396
|
paddingBlock: `calc(${theme.spacing(4)} - 1px)`,
|
|
312
397
|
paddingInline: `calc(${theme.spacing(4)} - 1px)`
|
|
@@ -316,10 +401,10 @@ export const components = {
|
|
|
316
401
|
props: {
|
|
317
402
|
fullWidth: true
|
|
318
403
|
},
|
|
319
|
-
style:
|
|
404
|
+
style: _ref18 => {
|
|
320
405
|
let {
|
|
321
406
|
theme
|
|
322
|
-
} =
|
|
407
|
+
} = _ref18;
|
|
323
408
|
return {
|
|
324
409
|
display: "block",
|
|
325
410
|
width: "100%",
|
|
@@ -342,10 +427,10 @@ export const components = {
|
|
|
342
427
|
}
|
|
343
428
|
}],
|
|
344
429
|
styleOverrides: {
|
|
345
|
-
root:
|
|
430
|
+
root: _ref19 => {
|
|
346
431
|
let {
|
|
347
432
|
theme
|
|
348
|
-
} =
|
|
433
|
+
} = _ref19;
|
|
349
434
|
return {
|
|
350
435
|
fontWeight: 600,
|
|
351
436
|
minWidth: "unset",
|
|
@@ -382,11 +467,11 @@ export const components = {
|
|
|
382
467
|
}
|
|
383
468
|
};
|
|
384
469
|
},
|
|
385
|
-
endIcon:
|
|
470
|
+
endIcon: _ref20 => {
|
|
386
471
|
let {
|
|
387
472
|
theme,
|
|
388
473
|
ownerState
|
|
389
|
-
} =
|
|
474
|
+
} = _ref20;
|
|
390
475
|
return {
|
|
391
476
|
display: "inline-flex",
|
|
392
477
|
margin: 0,
|
|
@@ -396,11 +481,11 @@ export const components = {
|
|
|
396
481
|
})
|
|
397
482
|
};
|
|
398
483
|
},
|
|
399
|
-
startIcon:
|
|
484
|
+
startIcon: _ref21 => {
|
|
400
485
|
let {
|
|
401
486
|
theme,
|
|
402
487
|
ownerState
|
|
403
|
-
} =
|
|
488
|
+
} = _ref21;
|
|
404
489
|
return {
|
|
405
490
|
display: "inline-flex",
|
|
406
491
|
margin: 0,
|
|
@@ -425,10 +510,10 @@ export const components = {
|
|
|
425
510
|
indeterminateIcon: _jsx(SubtractIcon, {})
|
|
426
511
|
},
|
|
427
512
|
styleOverrides: {
|
|
428
|
-
root:
|
|
513
|
+
root: _ref22 => {
|
|
429
514
|
let {
|
|
430
515
|
theme
|
|
431
|
-
} =
|
|
516
|
+
} = _ref22;
|
|
432
517
|
return {
|
|
433
518
|
width: `${theme.typography.ui.lineHeight}em`,
|
|
434
519
|
height: `${theme.typography.ui.lineHeight}em`,
|
|
@@ -504,11 +589,11 @@ export const components = {
|
|
|
504
589
|
deleteIcon: _jsx(CloseCircleFilledIcon, {})
|
|
505
590
|
},
|
|
506
591
|
styleOverrides: {
|
|
507
|
-
root:
|
|
592
|
+
root: _ref23 => {
|
|
508
593
|
let {
|
|
509
594
|
theme,
|
|
510
595
|
ownerState
|
|
511
|
-
} =
|
|
596
|
+
} = _ref23;
|
|
512
597
|
return {
|
|
513
598
|
height: "auto",
|
|
514
599
|
paddingBlock: theme.spacing(2),
|
|
@@ -520,17 +605,6 @@ export const components = {
|
|
|
520
605
|
...(ownerState.onDelete && {
|
|
521
606
|
paddingInlineEnd: theme.spacing(2)
|
|
522
607
|
}),
|
|
523
|
-
[`& .${chipClasses.deleteIcon}`]: {
|
|
524
|
-
WebkitTapHighlightColor: "transparent",
|
|
525
|
-
color: theme.palette.text.secondary,
|
|
526
|
-
fontSize: "1em",
|
|
527
|
-
cursor: "pointer",
|
|
528
|
-
margin: "0",
|
|
529
|
-
marginInlineStart: theme.spacing(2),
|
|
530
|
-
"&:hover": {
|
|
531
|
-
color: theme.palette.text.primary
|
|
532
|
-
}
|
|
533
|
-
},
|
|
534
608
|
[`&.${chipClasses.disabled}`]: {
|
|
535
609
|
opacity: 1,
|
|
536
610
|
pointerEvents: "none",
|
|
@@ -582,11 +656,33 @@ export const components = {
|
|
|
582
656
|
backgroundColor: theme.palette.warning.main
|
|
583
657
|
}
|
|
584
658
|
}
|
|
585
|
-
})
|
|
659
|
+
}),
|
|
660
|
+
[`.${inputBaseClasses.root}.${inputBaseClasses.disabled} &`]: {
|
|
661
|
+
backgroundColor: theme.palette.grey[200]
|
|
662
|
+
}
|
|
586
663
|
};
|
|
587
664
|
},
|
|
588
665
|
label: {
|
|
589
666
|
padding: 0
|
|
667
|
+
},
|
|
668
|
+
deleteIcon: _ref24 => {
|
|
669
|
+
let {
|
|
670
|
+
theme
|
|
671
|
+
} = _ref24;
|
|
672
|
+
return {
|
|
673
|
+
WebkitTapHighlightColor: "transparent",
|
|
674
|
+
color: theme.palette.text.secondary,
|
|
675
|
+
fontSize: "1em",
|
|
676
|
+
cursor: "pointer",
|
|
677
|
+
margin: "0",
|
|
678
|
+
marginInlineStart: theme.spacing(2),
|
|
679
|
+
"&:hover": {
|
|
680
|
+
color: theme.palette.text.primary
|
|
681
|
+
},
|
|
682
|
+
[`.${inputBaseClasses.root}.${inputBaseClasses.disabled} &`]: {
|
|
683
|
+
display: "none"
|
|
684
|
+
}
|
|
685
|
+
};
|
|
590
686
|
}
|
|
591
687
|
}
|
|
592
688
|
},
|
|
@@ -599,20 +695,20 @@ export const components = {
|
|
|
599
695
|
variant: "indeterminate"
|
|
600
696
|
},
|
|
601
697
|
styleOverrides: {
|
|
602
|
-
root:
|
|
698
|
+
root: _ref25 => {
|
|
603
699
|
let {
|
|
604
700
|
theme,
|
|
605
701
|
ownerState
|
|
606
|
-
} =
|
|
702
|
+
} = _ref25;
|
|
607
703
|
return { ...(ownerState.color !== "inherit" && {
|
|
608
704
|
color: theme.palette.primary.dark
|
|
609
705
|
})
|
|
610
706
|
};
|
|
611
707
|
},
|
|
612
|
-
circle:
|
|
708
|
+
circle: _ref26 => {
|
|
613
709
|
let {
|
|
614
710
|
ownerState
|
|
615
|
-
} =
|
|
711
|
+
} = _ref26;
|
|
616
712
|
return { ...(ownerState.variant === "indeterminate" && {
|
|
617
713
|
strokeDasharray: "160%, 360%"
|
|
618
714
|
})
|
|
@@ -629,10 +725,10 @@ export const components = {
|
|
|
629
725
|
},
|
|
630
726
|
MuiScopedCssBaseline: {
|
|
631
727
|
styleOverrides: {
|
|
632
|
-
root:
|
|
728
|
+
root: _ref27 => {
|
|
633
729
|
let {
|
|
634
730
|
theme
|
|
635
|
-
} =
|
|
731
|
+
} = _ref27;
|
|
636
732
|
return {
|
|
637
733
|
abbr: {
|
|
638
734
|
borderBottomWidth: "1px",
|
|
@@ -898,10 +994,10 @@ export const components = {
|
|
|
898
994
|
scroll: "paper"
|
|
899
995
|
},
|
|
900
996
|
styleOverrides: {
|
|
901
|
-
paper:
|
|
997
|
+
paper: _ref28 => {
|
|
902
998
|
let {
|
|
903
999
|
theme
|
|
904
|
-
} =
|
|
1000
|
+
} = _ref28;
|
|
905
1001
|
return {
|
|
906
1002
|
maxWidth: `calc(${theme.mixins.maxWidth} + (${theme.spacing(6)} * 2))`,
|
|
907
1003
|
boxShadow: "none",
|
|
@@ -912,10 +1008,10 @@ export const components = {
|
|
|
912
1008
|
},
|
|
913
1009
|
MuiDialogActions: {
|
|
914
1010
|
styleOverrides: {
|
|
915
|
-
root:
|
|
1011
|
+
root: _ref29 => {
|
|
916
1012
|
let {
|
|
917
1013
|
theme
|
|
918
|
-
} =
|
|
1014
|
+
} = _ref29;
|
|
919
1015
|
return {
|
|
920
1016
|
paddingBlockStart: theme.spacing(4),
|
|
921
1017
|
paddingBlockEnd: theme.spacing(6),
|
|
@@ -926,11 +1022,11 @@ export const components = {
|
|
|
926
1022
|
},
|
|
927
1023
|
MuiDialogContent: {
|
|
928
1024
|
styleOverrides: {
|
|
929
|
-
root:
|
|
1025
|
+
root: _ref30 => {
|
|
930
1026
|
let {
|
|
931
1027
|
theme,
|
|
932
1028
|
ownerState
|
|
933
|
-
} =
|
|
1029
|
+
} = _ref30;
|
|
934
1030
|
return {
|
|
935
1031
|
padding: 0,
|
|
936
1032
|
paddingBlock: theme.spacing(4),
|
|
@@ -949,10 +1045,10 @@ export const components = {
|
|
|
949
1045
|
color: "text.primary"
|
|
950
1046
|
},
|
|
951
1047
|
styleOverrides: {
|
|
952
|
-
root:
|
|
1048
|
+
root: _ref31 => {
|
|
953
1049
|
let {
|
|
954
1050
|
theme
|
|
955
|
-
} =
|
|
1051
|
+
} = _ref31;
|
|
956
1052
|
return {
|
|
957
1053
|
marginBlockEnd: theme.spacing(5),
|
|
958
1054
|
"&:last-child": {
|
|
@@ -968,10 +1064,10 @@ export const components = {
|
|
|
968
1064
|
variant: "h5"
|
|
969
1065
|
},
|
|
970
1066
|
styleOverrides: {
|
|
971
|
-
root:
|
|
1067
|
+
root: _ref32 => {
|
|
972
1068
|
let {
|
|
973
1069
|
theme
|
|
974
|
-
} =
|
|
1070
|
+
} = _ref32;
|
|
975
1071
|
return {
|
|
976
1072
|
display: "flex",
|
|
977
1073
|
justifyContent: "space-between",
|
|
@@ -990,11 +1086,11 @@ export const components = {
|
|
|
990
1086
|
margin: "normal"
|
|
991
1087
|
},
|
|
992
1088
|
styleOverrides: {
|
|
993
|
-
root:
|
|
1089
|
+
root: _ref33 => {
|
|
994
1090
|
let {
|
|
995
1091
|
ownerState,
|
|
996
1092
|
theme
|
|
997
|
-
} =
|
|
1093
|
+
} = _ref33;
|
|
998
1094
|
return {
|
|
999
1095
|
width: "100%",
|
|
1000
1096
|
maxWidth: "32rem",
|
|
@@ -1021,11 +1117,11 @@ export const components = {
|
|
|
1021
1117
|
},
|
|
1022
1118
|
MuiFormControlLabel: {
|
|
1023
1119
|
styleOverrides: {
|
|
1024
|
-
root:
|
|
1120
|
+
root: _ref34 => {
|
|
1025
1121
|
let {
|
|
1026
1122
|
theme,
|
|
1027
1123
|
ownerState
|
|
1028
|
-
} =
|
|
1124
|
+
} = _ref34;
|
|
1029
1125
|
return {
|
|
1030
1126
|
gap: theme.spacing(2),
|
|
1031
1127
|
marginInlineStart: 0,
|
|
@@ -1067,10 +1163,10 @@ export const components = {
|
|
|
1067
1163
|
variant: "standard"
|
|
1068
1164
|
},
|
|
1069
1165
|
styleOverrides: {
|
|
1070
|
-
root:
|
|
1166
|
+
root: _ref35 => {
|
|
1071
1167
|
let {
|
|
1072
1168
|
theme
|
|
1073
|
-
} =
|
|
1169
|
+
} = _ref35;
|
|
1074
1170
|
return {
|
|
1075
1171
|
fontSize: theme.typography.subtitle1.fontSize,
|
|
1076
1172
|
lineHeight: "1.33333333",
|
|
@@ -1090,10 +1186,10 @@ export const components = {
|
|
|
1090
1186
|
},
|
|
1091
1187
|
MuiFormLabel: {
|
|
1092
1188
|
styleOverrides: {
|
|
1093
|
-
root:
|
|
1189
|
+
root: _ref36 => {
|
|
1094
1190
|
let {
|
|
1095
1191
|
theme
|
|
1096
|
-
} =
|
|
1192
|
+
} = _ref36;
|
|
1097
1193
|
return {
|
|
1098
1194
|
color: theme.palette.text.primary,
|
|
1099
1195
|
lineHeight: theme.typography.ui.lineHeight,
|
|
@@ -1109,18 +1205,18 @@ export const components = {
|
|
|
1109
1205
|
},
|
|
1110
1206
|
MuiIconButton: {
|
|
1111
1207
|
styleOverrides: {
|
|
1112
|
-
edgeEnd:
|
|
1208
|
+
edgeEnd: _ref37 => {
|
|
1113
1209
|
let {
|
|
1114
1210
|
theme
|
|
1115
|
-
} =
|
|
1211
|
+
} = _ref37;
|
|
1116
1212
|
return {
|
|
1117
1213
|
marginInlineEnd: theme.spacing(1)
|
|
1118
1214
|
};
|
|
1119
1215
|
},
|
|
1120
|
-
root:
|
|
1216
|
+
root: _ref38 => {
|
|
1121
1217
|
let {
|
|
1122
1218
|
theme
|
|
1123
|
-
} =
|
|
1219
|
+
} = _ref38;
|
|
1124
1220
|
return {
|
|
1125
1221
|
padding: theme.spacing(1),
|
|
1126
1222
|
fontSize: theme.typography.body1.fontSize,
|
|
@@ -1161,15 +1257,12 @@ export const components = {
|
|
|
1161
1257
|
}
|
|
1162
1258
|
},
|
|
1163
1259
|
MuiInputAdornment: {
|
|
1164
|
-
defaultProps: {
|
|
1165
|
-
variant: "outlined"
|
|
1166
|
-
},
|
|
1167
1260
|
styleOverrides: {
|
|
1168
|
-
root:
|
|
1261
|
+
root: _ref39 => {
|
|
1169
1262
|
let {
|
|
1170
1263
|
theme,
|
|
1171
1264
|
ownerState
|
|
1172
|
-
} =
|
|
1265
|
+
} = _ref39;
|
|
1173
1266
|
return {
|
|
1174
1267
|
display: "flex",
|
|
1175
1268
|
minWidth: "1.25em",
|
|
@@ -1197,11 +1290,11 @@ export const components = {
|
|
|
1197
1290
|
required: true
|
|
1198
1291
|
},
|
|
1199
1292
|
styleOverrides: {
|
|
1200
|
-
root:
|
|
1293
|
+
root: _ref40 => {
|
|
1201
1294
|
let {
|
|
1202
1295
|
ownerState,
|
|
1203
1296
|
theme
|
|
1204
|
-
} =
|
|
1297
|
+
} = _ref40;
|
|
1205
1298
|
return { ...theme.typography.body1,
|
|
1206
1299
|
flex: "1",
|
|
1207
1300
|
width: "auto",
|
|
@@ -1251,10 +1344,10 @@ export const components = {
|
|
|
1251
1344
|
}
|
|
1252
1345
|
};
|
|
1253
1346
|
},
|
|
1254
|
-
input:
|
|
1347
|
+
input: _ref41 => {
|
|
1255
1348
|
let {
|
|
1256
1349
|
theme
|
|
1257
|
-
} =
|
|
1350
|
+
} = _ref41;
|
|
1258
1351
|
return {
|
|
1259
1352
|
boxSizing: "border-box",
|
|
1260
1353
|
height: "auto",
|
|
@@ -1284,10 +1377,10 @@ export const components = {
|
|
|
1284
1377
|
shrink: false
|
|
1285
1378
|
},
|
|
1286
1379
|
styleOverrides: {
|
|
1287
|
-
root:
|
|
1380
|
+
root: _ref42 => {
|
|
1288
1381
|
let {
|
|
1289
1382
|
ownerState
|
|
1290
|
-
} =
|
|
1383
|
+
} = _ref42;
|
|
1291
1384
|
return {
|
|
1292
1385
|
display: "flex",
|
|
1293
1386
|
justifyContent: "space-between",
|
|
@@ -1309,10 +1402,10 @@ export const components = {
|
|
|
1309
1402
|
},
|
|
1310
1403
|
MuiLink: {
|
|
1311
1404
|
styleOverrides: {
|
|
1312
|
-
root:
|
|
1405
|
+
root: _ref43 => {
|
|
1313
1406
|
let {
|
|
1314
1407
|
theme
|
|
1315
|
-
} =
|
|
1408
|
+
} = _ref43;
|
|
1316
1409
|
return {
|
|
1317
1410
|
color: theme.palette.primary.main,
|
|
1318
1411
|
textDecoration: "underline",
|
|
@@ -1355,10 +1448,10 @@ export const components = {
|
|
|
1355
1448
|
props: {
|
|
1356
1449
|
variant: "monochrome"
|
|
1357
1450
|
},
|
|
1358
|
-
style:
|
|
1451
|
+
style: _ref44 => {
|
|
1359
1452
|
let {
|
|
1360
1453
|
theme
|
|
1361
|
-
} =
|
|
1454
|
+
} = _ref44;
|
|
1362
1455
|
return {
|
|
1363
1456
|
color: theme.palette.text.primary,
|
|
1364
1457
|
textDecoration: "underline",
|
|
@@ -1387,10 +1480,10 @@ export const components = {
|
|
|
1387
1480
|
},
|
|
1388
1481
|
MuiListSubheader: {
|
|
1389
1482
|
styleOverrides: {
|
|
1390
|
-
root:
|
|
1483
|
+
root: _ref45 => {
|
|
1391
1484
|
let {
|
|
1392
1485
|
theme
|
|
1393
|
-
} =
|
|
1486
|
+
} = _ref45;
|
|
1394
1487
|
return {
|
|
1395
1488
|
paddingBlock: theme.spacing(2),
|
|
1396
1489
|
paddingInline: theme.spacing(4),
|
|
@@ -1405,11 +1498,11 @@ export const components = {
|
|
|
1405
1498
|
},
|
|
1406
1499
|
MuiMenuItem: {
|
|
1407
1500
|
styleOverrides: {
|
|
1408
|
-
root:
|
|
1501
|
+
root: _ref46 => {
|
|
1409
1502
|
let {
|
|
1410
1503
|
theme,
|
|
1411
1504
|
ownerState
|
|
1412
|
-
} =
|
|
1505
|
+
} = _ref46;
|
|
1413
1506
|
return {
|
|
1414
1507
|
gap: theme.spacing(2),
|
|
1415
1508
|
minHeight: "unset",
|
|
@@ -1475,10 +1568,10 @@ export const components = {
|
|
|
1475
1568
|
backgroundColor: "transparent"
|
|
1476
1569
|
}
|
|
1477
1570
|
},
|
|
1478
|
-
icon:
|
|
1571
|
+
icon: _ref47 => {
|
|
1479
1572
|
let {
|
|
1480
1573
|
theme
|
|
1481
|
-
} =
|
|
1574
|
+
} = _ref47;
|
|
1482
1575
|
return {
|
|
1483
1576
|
insetInlineEnd: theme.spacing(3),
|
|
1484
1577
|
color: theme.palette.text.primary
|
|
@@ -1488,10 +1581,10 @@ export const components = {
|
|
|
1488
1581
|
},
|
|
1489
1582
|
MuiPopover: {
|
|
1490
1583
|
styleOverrides: {
|
|
1491
|
-
paper:
|
|
1584
|
+
paper: _ref48 => {
|
|
1492
1585
|
let {
|
|
1493
1586
|
theme
|
|
1494
|
-
} =
|
|
1587
|
+
} = _ref48;
|
|
1495
1588
|
return {
|
|
1496
1589
|
marginBlockStart: theme.spacing(1),
|
|
1497
1590
|
borderWidth: theme.mixins.borderWidth,
|
|
@@ -1508,10 +1601,10 @@ export const components = {
|
|
|
1508
1601
|
checkedIcon: _jsx(_Fragment, {})
|
|
1509
1602
|
},
|
|
1510
1603
|
styleOverrides: {
|
|
1511
|
-
root:
|
|
1604
|
+
root: _ref49 => {
|
|
1512
1605
|
let {
|
|
1513
1606
|
theme
|
|
1514
|
-
} =
|
|
1607
|
+
} = _ref49;
|
|
1515
1608
|
return {
|
|
1516
1609
|
width: `${theme.typography.ui.lineHeight}em`,
|
|
1517
1610
|
height: `${theme.typography.ui.lineHeight}em`,
|
|
@@ -1595,10 +1688,10 @@ export const components = {
|
|
|
1595
1688
|
IconComponent: ChevronDownIcon
|
|
1596
1689
|
},
|
|
1597
1690
|
styleOverrides: {
|
|
1598
|
-
select:
|
|
1691
|
+
select: _ref50 => {
|
|
1599
1692
|
let {
|
|
1600
1693
|
theme
|
|
1601
|
-
} =
|
|
1694
|
+
} = _ref50;
|
|
1602
1695
|
return {
|
|
1603
1696
|
paddingBlock: `calc(${theme.spacing(3)} - ${theme.mixins.borderWidth})`,
|
|
1604
1697
|
paddingInline: theme.spacing(3),
|
|
@@ -1614,10 +1707,10 @@ export const components = {
|
|
|
1614
1707
|
}
|
|
1615
1708
|
};
|
|
1616
1709
|
},
|
|
1617
|
-
icon:
|
|
1710
|
+
icon: _ref51 => {
|
|
1618
1711
|
let {
|
|
1619
1712
|
theme
|
|
1620
|
-
} =
|
|
1713
|
+
} = _ref51;
|
|
1621
1714
|
return {
|
|
1622
1715
|
insetInlineEnd: theme.spacing(3),
|
|
1623
1716
|
color: theme.palette.text.primary
|
|
@@ -1631,10 +1724,10 @@ export const components = {
|
|
|
1631
1724
|
color: "inherit"
|
|
1632
1725
|
},
|
|
1633
1726
|
styleOverrides: {
|
|
1634
|
-
root:
|
|
1727
|
+
root: _ref52 => {
|
|
1635
1728
|
let {
|
|
1636
1729
|
theme
|
|
1637
|
-
} =
|
|
1730
|
+
} = _ref52;
|
|
1638
1731
|
return {
|
|
1639
1732
|
fontSize: `${theme.typography.ui.lineHeight}rem`
|
|
1640
1733
|
};
|
|
@@ -1646,11 +1739,11 @@ export const components = {
|
|
|
1646
1739
|
iconPosition: "start"
|
|
1647
1740
|
},
|
|
1648
1741
|
styleOverrides: {
|
|
1649
|
-
root:
|
|
1742
|
+
root: _ref53 => {
|
|
1650
1743
|
let {
|
|
1651
1744
|
theme,
|
|
1652
1745
|
ownerState
|
|
1653
|
-
} =
|
|
1746
|
+
} = _ref53;
|
|
1654
1747
|
return {
|
|
1655
1748
|
maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
|
|
1656
1749
|
minWidth: "unset",
|
|
@@ -1711,11 +1804,11 @@ export const components = {
|
|
|
1711
1804
|
},
|
|
1712
1805
|
MuiTable: {
|
|
1713
1806
|
styleOverrides: {
|
|
1714
|
-
root:
|
|
1807
|
+
root: _ref54 => {
|
|
1715
1808
|
let {
|
|
1716
1809
|
theme,
|
|
1717
1810
|
ownerState
|
|
1718
|
-
} =
|
|
1811
|
+
} = _ref54;
|
|
1719
1812
|
return {
|
|
1720
1813
|
display: "table",
|
|
1721
1814
|
width: "auto",
|
|
@@ -1747,11 +1840,11 @@ export const components = {
|
|
|
1747
1840
|
},
|
|
1748
1841
|
MuiTableCell: {
|
|
1749
1842
|
styleOverrides: {
|
|
1750
|
-
root:
|
|
1843
|
+
root: _ref55 => {
|
|
1751
1844
|
let {
|
|
1752
1845
|
theme,
|
|
1753
1846
|
ownerState
|
|
1754
|
-
} =
|
|
1847
|
+
} = _ref55;
|
|
1755
1848
|
return { ...theme.typography.body1,
|
|
1756
1849
|
maxWidth: theme.mixins.maxWidth,
|
|
1757
1850
|
borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.grey[100]}`,
|
|
@@ -1830,10 +1923,10 @@ export const components = {
|
|
|
1830
1923
|
component: "figure"
|
|
1831
1924
|
},
|
|
1832
1925
|
styleOverrides: {
|
|
1833
|
-
root:
|
|
1926
|
+
root: _ref56 => {
|
|
1834
1927
|
let {
|
|
1835
1928
|
theme
|
|
1836
|
-
} =
|
|
1929
|
+
} = _ref56;
|
|
1837
1930
|
return {
|
|
1838
1931
|
width: "unset",
|
|
1839
1932
|
maxWidth: "100%",
|
|
@@ -1850,10 +1943,10 @@ export const components = {
|
|
|
1850
1943
|
},
|
|
1851
1944
|
MuiTableRow: {
|
|
1852
1945
|
styleOverrides: {
|
|
1853
|
-
root:
|
|
1946
|
+
root: _ref57 => {
|
|
1854
1947
|
let {
|
|
1855
1948
|
theme
|
|
1856
|
-
} =
|
|
1949
|
+
} = _ref57;
|
|
1857
1950
|
return {
|
|
1858
1951
|
verticalAlign: "unset",
|
|
1859
1952
|
[`&.${tableRowClasses.root}:hover`]: {
|
|
@@ -1874,10 +1967,10 @@ export const components = {
|
|
|
1874
1967
|
IconComponent: ArrowDownIcon
|
|
1875
1968
|
},
|
|
1876
1969
|
styleOverrides: {
|
|
1877
|
-
root:
|
|
1970
|
+
root: _ref58 => {
|
|
1878
1971
|
let {
|
|
1879
1972
|
theme
|
|
1880
|
-
} =
|
|
1973
|
+
} = _ref58;
|
|
1881
1974
|
return {
|
|
1882
1975
|
cursor: "pointer",
|
|
1883
1976
|
display: "inline-flex",
|
|
@@ -1906,11 +1999,11 @@ export const components = {
|
|
|
1906
1999
|
}
|
|
1907
2000
|
};
|
|
1908
2001
|
},
|
|
1909
|
-
icon:
|
|
2002
|
+
icon: _ref59 => {
|
|
1910
2003
|
let {
|
|
1911
2004
|
theme,
|
|
1912
2005
|
ownerState
|
|
1913
|
-
} =
|
|
2006
|
+
} = _ref59;
|
|
1914
2007
|
return {
|
|
1915
2008
|
fontSize: "inherit",
|
|
1916
2009
|
marginInlineEnd: 0,
|
|
@@ -1939,19 +2032,19 @@ export const components = {
|
|
|
1939
2032
|
},
|
|
1940
2033
|
MuiTabs: {
|
|
1941
2034
|
styleOverrides: {
|
|
1942
|
-
root:
|
|
2035
|
+
root: _ref60 => {
|
|
1943
2036
|
let {
|
|
1944
2037
|
theme
|
|
1945
|
-
} =
|
|
2038
|
+
} = _ref60;
|
|
1946
2039
|
return {
|
|
1947
2040
|
minHeight: "unset",
|
|
1948
2041
|
marginBottom: theme.spacing(5)
|
|
1949
2042
|
};
|
|
1950
2043
|
},
|
|
1951
|
-
flexContainer:
|
|
2044
|
+
flexContainer: _ref61 => {
|
|
1952
2045
|
let {
|
|
1953
2046
|
theme
|
|
1954
|
-
} =
|
|
2047
|
+
} = _ref61;
|
|
1955
2048
|
return {
|
|
1956
2049
|
gap: theme.spacing(5),
|
|
1957
2050
|
borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.divider}`
|
|
@@ -1967,11 +2060,11 @@ export const components = {
|
|
|
1967
2060
|
placement: "top"
|
|
1968
2061
|
},
|
|
1969
2062
|
styleOverrides: {
|
|
1970
|
-
tooltip:
|
|
2063
|
+
tooltip: _ref62 => {
|
|
1971
2064
|
let {
|
|
1972
2065
|
theme,
|
|
1973
2066
|
ownerState
|
|
1974
|
-
} =
|
|
2067
|
+
} = _ref62;
|
|
1975
2068
|
return {
|
|
1976
2069
|
maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
|
|
1977
2070
|
paddingBlock: theme.spacing(2),
|
|
@@ -2031,10 +2124,10 @@ export const components = {
|
|
|
2031
2124
|
}
|
|
2032
2125
|
};
|
|
2033
2126
|
},
|
|
2034
|
-
arrow:
|
|
2127
|
+
arrow: _ref63 => {
|
|
2035
2128
|
let {
|
|
2036
2129
|
theme
|
|
2037
|
-
} =
|
|
2130
|
+
} = _ref63;
|
|
2038
2131
|
return {
|
|
2039
2132
|
color: theme.palette.grey[900],
|
|
2040
2133
|
"&::before": {
|
|
@@ -2073,10 +2166,10 @@ export const components = {
|
|
|
2073
2166
|
}
|
|
2074
2167
|
},
|
|
2075
2168
|
styleOverrides: {
|
|
2076
|
-
paragraph:
|
|
2169
|
+
paragraph: _ref64 => {
|
|
2077
2170
|
let {
|
|
2078
2171
|
theme
|
|
2079
|
-
} =
|
|
2172
|
+
} = _ref64;
|
|
2080
2173
|
return {
|
|
2081
2174
|
marginBottom: theme.spacing(4)
|
|
2082
2175
|
};
|