@okta/odyssey-react-mui 0.15.3 → 0.17.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 +25 -0
- package/README.md +6 -2
- package/dist/Link.d.ts +1 -1
- package/dist/Link.d.ts.map +1 -1
- package/dist/Link.js +2 -15
- package/dist/Link.js.map +1 -1
- package/dist/OdysseyCacheProvider.d.ts +23 -0
- package/dist/OdysseyCacheProvider.d.ts.map +1 -0
- package/dist/OdysseyCacheProvider.js +36 -0
- package/dist/OdysseyCacheProvider.js.map +1 -0
- package/dist/OdysseyThemeProvider.d.ts +17 -0
- package/dist/OdysseyThemeProvider.d.ts.map +1 -0
- package/dist/OdysseyThemeProvider.js +29 -0
- package/dist/OdysseyThemeProvider.js.map +1 -0
- package/dist/PasswordInput.d.ts +1 -1
- package/dist/ThemeProvider.d.ts +3 -2
- package/dist/ThemeProvider.d.ts.map +1 -1
- package/dist/ThemeProvider.js +12 -6
- package/dist/ThemeProvider.js.map +1 -1
- package/dist/createUniqueAlphabeticalId.d.ts +14 -0
- package/dist/createUniqueAlphabeticalId.d.ts.map +1 -0
- package/dist/createUniqueAlphabeticalId.js +14 -0
- package/dist/createUniqueAlphabeticalId.js.map +1 -0
- package/dist/createUniqueId.d.ts.map +1 -1
- package/dist/createUniqueId.js.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/theme/components.d.ts.map +1 -1
- package/dist/theme/components.js +257 -148
- package/dist/theme/components.js.map +1 -1
- package/dist/theme/typography.d.ts.map +1 -1
- package/dist/theme/typography.js +1 -0
- package/dist/theme/typography.js.map +1 -1
- package/dist/useUniqueAlphabeticalId.d.ts +13 -0
- package/dist/useUniqueAlphabeticalId.d.ts.map +1 -0
- package/dist/useUniqueAlphabeticalId.js +18 -0
- package/dist/useUniqueAlphabeticalId.js.map +1 -0
- package/dist/useUniqueId.d.ts.map +1 -1
- package/dist/useUniqueId.js +1 -1
- package/dist/useUniqueId.js.map +1 -1
- package/package.json +7 -6
- package/src/Link.tsx +22 -24
- package/src/OdysseyCacheProvider.test.tsx +38 -0
- package/src/OdysseyCacheProvider.tsx +48 -0
- package/src/OdysseyThemeProvider.tsx +24 -0
- package/src/ThemeProvider.tsx +11 -5
- package/src/createUniqueAlphabeticalId.test.ts +22 -0
- package/src/createUniqueAlphabeticalId.ts +19 -0
- package/src/createUniqueId.ts +1 -1
- package/src/index.ts +9 -3
- package/src/theme/components.tsx +183 -69
- package/src/theme/typography.ts +1 -0
- package/src/useUniqueAlphabeticalId.ts +21 -0
- package/src/useUniqueId.ts +2 -2
package/dist/theme/components.js
CHANGED
|
@@ -9,15 +9,16 @@
|
|
|
9
9
|
*
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
+
import { chipClasses } from "@mui/material/Chip";
|
|
12
13
|
import { dialogActionsClasses } from "@mui/material/DialogActions";
|
|
13
|
-
import {
|
|
14
|
+
import { inputBaseClasses } from "@mui/material/InputBase";
|
|
14
15
|
import { tableBodyClasses } from "@mui/material/TableBody";
|
|
15
16
|
import { tableCellClasses } from "@mui/material/TableCell";
|
|
16
17
|
import { tableHeadClasses } from "@mui/material/TableHead";
|
|
17
18
|
import { tableRowClasses } from "@mui/material/TableRow";
|
|
18
19
|
import { tableSortLabelClasses } from "@mui/material/TableSortLabel";
|
|
19
20
|
import { tooltipClasses } from "@mui/material/Tooltip";
|
|
20
|
-
import { AlertTriangleFilledIcon, ArrowDownIcon, CheckCircleFilledIcon, InformationCircleFilledIcon } from "../iconDictionary/index.js";
|
|
21
|
+
import { AlertTriangleFilledIcon, ArrowDownIcon, CheckCircleFilledIcon, CloseCircleFilledIcon, InformationCircleFilledIcon } from "../iconDictionary/index.js";
|
|
21
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
22
23
|
export const components = {
|
|
23
24
|
MuiAlert: {
|
|
@@ -339,7 +340,7 @@ export const components = {
|
|
|
339
340
|
fontWeight: 600,
|
|
340
341
|
minWidth: "unset",
|
|
341
342
|
padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,
|
|
342
|
-
display: "inline-
|
|
343
|
+
display: "inline-flex",
|
|
343
344
|
position: "relative",
|
|
344
345
|
marginBlock: "0",
|
|
345
346
|
marginInline: "0",
|
|
@@ -367,9 +368,19 @@ export const components = {
|
|
|
367
368
|
pointerEvents: "inherit"
|
|
368
369
|
},
|
|
369
370
|
".MuiButton-startIcon > *:nth-of-type(1)": {
|
|
370
|
-
fontSize: "
|
|
371
|
+
fontSize: "1.14285714em"
|
|
371
372
|
}
|
|
372
373
|
};
|
|
374
|
+
},
|
|
375
|
+
startIcon: _ref14 => {
|
|
376
|
+
let {
|
|
377
|
+
theme
|
|
378
|
+
} = _ref14;
|
|
379
|
+
return {
|
|
380
|
+
display: "inline-flex",
|
|
381
|
+
margin: 0,
|
|
382
|
+
marginInlineEnd: theme.spacing(2)
|
|
383
|
+
};
|
|
373
384
|
}
|
|
374
385
|
}
|
|
375
386
|
},
|
|
@@ -390,10 +401,10 @@ export const components = {
|
|
|
390
401
|
size: "small"
|
|
391
402
|
},
|
|
392
403
|
styleOverrides: {
|
|
393
|
-
root:
|
|
404
|
+
root: _ref15 => {
|
|
394
405
|
let {
|
|
395
406
|
theme
|
|
396
|
-
} =
|
|
407
|
+
} = _ref15;
|
|
397
408
|
return {
|
|
398
409
|
borderRadius: "4px",
|
|
399
410
|
"&:hover": {
|
|
@@ -421,6 +432,67 @@ export const components = {
|
|
|
421
432
|
}
|
|
422
433
|
}
|
|
423
434
|
},
|
|
435
|
+
MuiChip: {
|
|
436
|
+
defaultProps: {
|
|
437
|
+
deleteIcon: _jsx(CloseCircleFilledIcon, {})
|
|
438
|
+
},
|
|
439
|
+
styleOverrides: {
|
|
440
|
+
root: _ref16 => {
|
|
441
|
+
let {
|
|
442
|
+
theme,
|
|
443
|
+
ownerState
|
|
444
|
+
} = _ref16;
|
|
445
|
+
return {
|
|
446
|
+
height: "auto",
|
|
447
|
+
paddingBlock: theme.spacing(2),
|
|
448
|
+
paddingInline: theme.spacing(3),
|
|
449
|
+
fontSize: theme.typography.body1.fontSize,
|
|
450
|
+
lineHeight: "1.14285714",
|
|
451
|
+
borderRadius: "1.5em",
|
|
452
|
+
backgroundColor: theme.palette.grey[100],
|
|
453
|
+
...(ownerState.onDelete && {
|
|
454
|
+
paddingInlineEnd: theme.spacing(2)
|
|
455
|
+
}),
|
|
456
|
+
[`& .${chipClasses.deleteIcon}`]: {
|
|
457
|
+
WebkitTapHighlightColor: "transparent",
|
|
458
|
+
color: theme.palette.text.secondary,
|
|
459
|
+
fontSize: "1em",
|
|
460
|
+
cursor: "pointer",
|
|
461
|
+
margin: "0",
|
|
462
|
+
marginInlineStart: theme.spacing(2),
|
|
463
|
+
"&:hover": {
|
|
464
|
+
color: theme.palette.text.primary
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
[`&.${chipClasses.disabled}`]: {
|
|
468
|
+
opacity: 1,
|
|
469
|
+
pointerEvents: "none",
|
|
470
|
+
backgroundColor: theme.palette.grey[50],
|
|
471
|
+
color: theme.palette.text.secondary
|
|
472
|
+
},
|
|
473
|
+
...(ownerState.clickable && {
|
|
474
|
+
"&:hover": {
|
|
475
|
+
backgroundColor: theme.palette.grey[200]
|
|
476
|
+
},
|
|
477
|
+
[`&.${chipClasses.focusVisible}`]: {
|
|
478
|
+
backgroundColor: theme.palette.grey[200],
|
|
479
|
+
outlineColor: theme.palette.primary.main,
|
|
480
|
+
outlineOffset: "2px",
|
|
481
|
+
outlineStyle: "solid",
|
|
482
|
+
outlineWidth: "2px"
|
|
483
|
+
},
|
|
484
|
+
"&:active": {
|
|
485
|
+
boxShadow: "none",
|
|
486
|
+
backgroundColor: theme.palette.grey[300]
|
|
487
|
+
}
|
|
488
|
+
})
|
|
489
|
+
};
|
|
490
|
+
},
|
|
491
|
+
label: {
|
|
492
|
+
padding: 0
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
},
|
|
424
496
|
MuiCircularProgress: {
|
|
425
497
|
defaultProps: {
|
|
426
498
|
size: "1.14285714rem",
|
|
@@ -430,20 +502,20 @@ export const components = {
|
|
|
430
502
|
variant: "indeterminate"
|
|
431
503
|
},
|
|
432
504
|
styleOverrides: {
|
|
433
|
-
root:
|
|
505
|
+
root: _ref17 => {
|
|
434
506
|
let {
|
|
435
507
|
theme,
|
|
436
508
|
ownerState
|
|
437
|
-
} =
|
|
509
|
+
} = _ref17;
|
|
438
510
|
return { ...(ownerState.color !== "inherit" && {
|
|
439
511
|
color: theme.palette.primary.dark
|
|
440
512
|
})
|
|
441
513
|
};
|
|
442
514
|
},
|
|
443
|
-
circle:
|
|
515
|
+
circle: _ref18 => {
|
|
444
516
|
let {
|
|
445
517
|
ownerState
|
|
446
|
-
} =
|
|
518
|
+
} = _ref18;
|
|
447
519
|
return { ...(ownerState.variant === "indeterminate" && {
|
|
448
520
|
strokeDasharray: "160%, 360%"
|
|
449
521
|
})
|
|
@@ -456,10 +528,10 @@ export const components = {
|
|
|
456
528
|
scroll: "paper"
|
|
457
529
|
},
|
|
458
530
|
styleOverrides: {
|
|
459
|
-
paper:
|
|
531
|
+
paper: _ref19 => {
|
|
460
532
|
let {
|
|
461
533
|
theme
|
|
462
|
-
} =
|
|
534
|
+
} = _ref19;
|
|
463
535
|
return {
|
|
464
536
|
maxWidth: `calc(${theme.mixins.maxWidth} + (${theme.spacing(6)} * 2))`,
|
|
465
537
|
boxShadow: "none",
|
|
@@ -470,10 +542,10 @@ export const components = {
|
|
|
470
542
|
},
|
|
471
543
|
MuiDialogActions: {
|
|
472
544
|
styleOverrides: {
|
|
473
|
-
root:
|
|
545
|
+
root: _ref20 => {
|
|
474
546
|
let {
|
|
475
547
|
theme
|
|
476
|
-
} =
|
|
548
|
+
} = _ref20;
|
|
477
549
|
return {
|
|
478
550
|
paddingBlockStart: theme.spacing(4),
|
|
479
551
|
paddingBlockEnd: theme.spacing(6),
|
|
@@ -484,11 +556,11 @@ export const components = {
|
|
|
484
556
|
},
|
|
485
557
|
MuiDialogContent: {
|
|
486
558
|
styleOverrides: {
|
|
487
|
-
root:
|
|
559
|
+
root: _ref21 => {
|
|
488
560
|
let {
|
|
489
561
|
theme,
|
|
490
562
|
ownerState
|
|
491
|
-
} =
|
|
563
|
+
} = _ref21;
|
|
492
564
|
return {
|
|
493
565
|
padding: 0,
|
|
494
566
|
paddingBlock: theme.spacing(4),
|
|
@@ -507,10 +579,10 @@ export const components = {
|
|
|
507
579
|
color: "text.primary"
|
|
508
580
|
},
|
|
509
581
|
styleOverrides: {
|
|
510
|
-
root:
|
|
582
|
+
root: _ref22 => {
|
|
511
583
|
let {
|
|
512
584
|
theme
|
|
513
|
-
} =
|
|
585
|
+
} = _ref22;
|
|
514
586
|
return {
|
|
515
587
|
marginBlockEnd: theme.spacing(5),
|
|
516
588
|
"&:last-child": {
|
|
@@ -526,10 +598,10 @@ export const components = {
|
|
|
526
598
|
variant: "h5"
|
|
527
599
|
},
|
|
528
600
|
styleOverrides: {
|
|
529
|
-
root:
|
|
601
|
+
root: _ref23 => {
|
|
530
602
|
let {
|
|
531
603
|
theme
|
|
532
|
-
} =
|
|
604
|
+
} = _ref23;
|
|
533
605
|
return {
|
|
534
606
|
display: "flex",
|
|
535
607
|
justifyContent: "space-between",
|
|
@@ -548,11 +620,11 @@ export const components = {
|
|
|
548
620
|
margin: "normal"
|
|
549
621
|
},
|
|
550
622
|
styleOverrides: {
|
|
551
|
-
root:
|
|
623
|
+
root: _ref24 => {
|
|
552
624
|
let {
|
|
553
625
|
ownerState,
|
|
554
626
|
theme
|
|
555
|
-
} =
|
|
627
|
+
} = _ref24;
|
|
556
628
|
return {
|
|
557
629
|
width: "100%",
|
|
558
630
|
maxWidth: "32rem",
|
|
@@ -579,11 +651,11 @@ export const components = {
|
|
|
579
651
|
},
|
|
580
652
|
MuiFormControlLabel: {
|
|
581
653
|
styleOverrides: {
|
|
582
|
-
root:
|
|
654
|
+
root: _ref25 => {
|
|
583
655
|
let {
|
|
584
656
|
theme,
|
|
585
657
|
ownerState
|
|
586
|
-
} =
|
|
658
|
+
} = _ref25;
|
|
587
659
|
return {
|
|
588
660
|
gap: theme.spacing(2),
|
|
589
661
|
marginLeft: 0,
|
|
@@ -625,11 +697,12 @@ export const components = {
|
|
|
625
697
|
variant: "standard"
|
|
626
698
|
},
|
|
627
699
|
styleOverrides: {
|
|
628
|
-
root:
|
|
700
|
+
root: _ref26 => {
|
|
629
701
|
let {
|
|
630
702
|
theme
|
|
631
|
-
} =
|
|
703
|
+
} = _ref26;
|
|
632
704
|
return {
|
|
705
|
+
fontSize: theme.typography.subtitle1.fontSize,
|
|
633
706
|
lineHeight: "1.33333333",
|
|
634
707
|
marginTop: theme.spacing(2),
|
|
635
708
|
".MuiFormLabel-root + &": {
|
|
@@ -646,10 +719,10 @@ export const components = {
|
|
|
646
719
|
},
|
|
647
720
|
MuiFormLabel: {
|
|
648
721
|
styleOverrides: {
|
|
649
|
-
root:
|
|
722
|
+
root: _ref27 => {
|
|
650
723
|
let {
|
|
651
724
|
theme
|
|
652
|
-
} =
|
|
725
|
+
} = _ref27;
|
|
653
726
|
return {
|
|
654
727
|
color: theme.palette.text.primary,
|
|
655
728
|
lineHeight: "1.14285714",
|
|
@@ -665,10 +738,10 @@ export const components = {
|
|
|
665
738
|
},
|
|
666
739
|
MuiIconButton: {
|
|
667
740
|
styleOverrides: {
|
|
668
|
-
root:
|
|
741
|
+
root: _ref28 => {
|
|
669
742
|
let {
|
|
670
743
|
theme
|
|
671
|
-
} =
|
|
744
|
+
} = _ref28;
|
|
672
745
|
return {
|
|
673
746
|
padding: theme.spacing(1),
|
|
674
747
|
fontSize: theme.typography.body1.fontSize,
|
|
@@ -696,44 +769,133 @@ export const components = {
|
|
|
696
769
|
}
|
|
697
770
|
}
|
|
698
771
|
},
|
|
772
|
+
MuiInput: {
|
|
773
|
+
defaultProps: {
|
|
774
|
+
disableUnderline: true
|
|
775
|
+
},
|
|
776
|
+
styleOverrides: {
|
|
777
|
+
root: {
|
|
778
|
+
"label + &": {
|
|
779
|
+
marginTop: 0
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
},
|
|
699
784
|
MuiInputAdornment: {
|
|
700
785
|
defaultProps: {
|
|
701
786
|
variant: "outlined"
|
|
702
787
|
},
|
|
703
788
|
styleOverrides: {
|
|
704
|
-
root:
|
|
789
|
+
root: _ref29 => {
|
|
705
790
|
let {
|
|
791
|
+
theme,
|
|
706
792
|
ownerState
|
|
707
|
-
} =
|
|
793
|
+
} = _ref29;
|
|
708
794
|
return {
|
|
709
795
|
display: "flex",
|
|
796
|
+
minWidth: "1em",
|
|
797
|
+
maxHeight: "unset",
|
|
798
|
+
alignItems: "center",
|
|
799
|
+
whiteSpace: "nowrap",
|
|
800
|
+
color: theme.palette.action.active,
|
|
710
801
|
...(ownerState.position === "start" && {
|
|
711
|
-
|
|
802
|
+
marginInlineEnd: theme.spacing(2)
|
|
712
803
|
}),
|
|
713
804
|
...(ownerState.position === "end" && {
|
|
714
|
-
|
|
805
|
+
marginInlineStart: theme.spacing(2)
|
|
806
|
+
}),
|
|
807
|
+
...(ownerState.disablePointerEvents === true && {
|
|
808
|
+
pointerEvents: "none"
|
|
715
809
|
})
|
|
716
810
|
};
|
|
717
811
|
}
|
|
718
812
|
}
|
|
719
813
|
},
|
|
720
814
|
MuiInputBase: {
|
|
815
|
+
defaultProps: {
|
|
816
|
+
minRows: 3,
|
|
817
|
+
required: true
|
|
818
|
+
},
|
|
721
819
|
styleOverrides: {
|
|
722
|
-
root:
|
|
820
|
+
root: _ref30 => {
|
|
723
821
|
let {
|
|
724
822
|
ownerState,
|
|
725
823
|
theme
|
|
726
|
-
} =
|
|
727
|
-
return {
|
|
824
|
+
} = _ref30;
|
|
825
|
+
return { ...theme.typography.body1,
|
|
826
|
+
flex: "1",
|
|
827
|
+
width: "auto",
|
|
828
|
+
color: theme.palette.text.primary,
|
|
728
829
|
lineHeight: "1.14285714",
|
|
830
|
+
borderWidth: theme.mixins.borderWidth,
|
|
831
|
+
borderStyle: theme.mixins.borderStyle,
|
|
832
|
+
borderRadius: theme.mixins.borderRadius,
|
|
833
|
+
borderColor: theme.palette.grey[500],
|
|
834
|
+
paddingBlock: `calc(${theme.spacing(3)} - ${theme.mixins.borderWidth})`,
|
|
835
|
+
paddingInline: theme.spacing(3),
|
|
836
|
+
...(ownerState.multiline && {
|
|
837
|
+
paddingBlock: theme.spacing(3),
|
|
838
|
+
paddingInline: theme.spacing(3),
|
|
839
|
+
...(ownerState.size === "small" && {
|
|
840
|
+
paddingBlock: theme.spacing(3),
|
|
841
|
+
paddingInline: theme.spacing(3)
|
|
842
|
+
})
|
|
843
|
+
}),
|
|
844
|
+
...(ownerState.fullWidth && {
|
|
845
|
+
width: "100%"
|
|
846
|
+
}),
|
|
729
847
|
...(ownerState.readOnly === true && {
|
|
730
848
|
backgroundColor: theme.palette.grey[50]
|
|
731
|
-
})
|
|
849
|
+
}),
|
|
850
|
+
[`&:hover`]: {
|
|
851
|
+
borderColor: theme.palette.grey[900]
|
|
852
|
+
},
|
|
853
|
+
[`&.${inputBaseClasses.focused}`]: {
|
|
854
|
+
borderColor: theme.palette.primary.main,
|
|
855
|
+
outlineColor: theme.palette.primary.main,
|
|
856
|
+
outlineOffset: 0,
|
|
857
|
+
outlineStyle: "solid",
|
|
858
|
+
outlineWidth: "1px"
|
|
859
|
+
},
|
|
860
|
+
[`&.${inputBaseClasses.error}`]: {
|
|
861
|
+
borderColor: theme.palette.error.main
|
|
862
|
+
},
|
|
863
|
+
[`&.${inputBaseClasses.error}:hover`]: {
|
|
864
|
+
borderColor: theme.palette.error.dark
|
|
865
|
+
},
|
|
866
|
+
[`&.${inputBaseClasses.error}.${inputBaseClasses.focused}`]: {
|
|
867
|
+
borderColor: theme.palette.error.main,
|
|
868
|
+
outlineColor: theme.palette.error.main
|
|
869
|
+
},
|
|
870
|
+
[`&.${inputBaseClasses.disabled}`]: {
|
|
871
|
+
color: theme.palette.text.disabled,
|
|
872
|
+
borderColor: theme.palette.action.disabled,
|
|
873
|
+
pointerEvents: "auto",
|
|
874
|
+
backgroundColor: theme.palette.grey[50],
|
|
875
|
+
cursor: "not-allowed"
|
|
876
|
+
}
|
|
732
877
|
};
|
|
733
878
|
},
|
|
734
|
-
input: {
|
|
735
|
-
|
|
736
|
-
|
|
879
|
+
input: _ref31 => {
|
|
880
|
+
let {
|
|
881
|
+
theme
|
|
882
|
+
} = _ref31;
|
|
883
|
+
return {
|
|
884
|
+
boxSizing: "border-box",
|
|
885
|
+
height: "auto",
|
|
886
|
+
paddingBlock: 0,
|
|
887
|
+
paddingInline: 0,
|
|
888
|
+
[`.${inputBaseClasses.disabled} &`]: {
|
|
889
|
+
pointerEvents: "auto",
|
|
890
|
+
cursor: "not-allowed"
|
|
891
|
+
},
|
|
892
|
+
[`label[data-shrink=false] + .${inputBaseClasses.formControl} &`]: {
|
|
893
|
+
"&::placeholder": {
|
|
894
|
+
color: theme.palette.text.secondary,
|
|
895
|
+
opacity: "1 !important"
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
};
|
|
737
899
|
}
|
|
738
900
|
}
|
|
739
901
|
},
|
|
@@ -743,11 +905,14 @@ export const components = {
|
|
|
743
905
|
shrink: false
|
|
744
906
|
},
|
|
745
907
|
styleOverrides: {
|
|
746
|
-
root:
|
|
908
|
+
root: _ref32 => {
|
|
747
909
|
let {
|
|
748
910
|
ownerState
|
|
749
|
-
} =
|
|
750
|
-
return {
|
|
911
|
+
} = _ref32;
|
|
912
|
+
return {
|
|
913
|
+
display: "flex",
|
|
914
|
+
justifyContent: "space-between",
|
|
915
|
+
...(ownerState.formControl && {
|
|
751
916
|
position: "initial",
|
|
752
917
|
transform: "none"
|
|
753
918
|
}),
|
|
@@ -765,10 +930,10 @@ export const components = {
|
|
|
765
930
|
},
|
|
766
931
|
MuiLink: {
|
|
767
932
|
styleOverrides: {
|
|
768
|
-
root:
|
|
933
|
+
root: _ref33 => {
|
|
769
934
|
let {
|
|
770
935
|
theme
|
|
771
|
-
} =
|
|
936
|
+
} = _ref33;
|
|
772
937
|
return {
|
|
773
938
|
color: theme.palette.primary.main,
|
|
774
939
|
textDecoration: "none",
|
|
@@ -811,10 +976,10 @@ export const components = {
|
|
|
811
976
|
props: {
|
|
812
977
|
variant: "monochrome"
|
|
813
978
|
},
|
|
814
|
-
style:
|
|
979
|
+
style: _ref34 => {
|
|
815
980
|
let {
|
|
816
981
|
theme
|
|
817
|
-
} =
|
|
982
|
+
} = _ref34;
|
|
818
983
|
return {
|
|
819
984
|
color: theme.palette.text.primary,
|
|
820
985
|
textDecoration: "underline",
|
|
@@ -836,86 +1001,15 @@ export const components = {
|
|
|
836
1001
|
},
|
|
837
1002
|
MuiNativeSelect: {
|
|
838
1003
|
defaultProps: {
|
|
839
|
-
variant: "
|
|
840
|
-
},
|
|
841
|
-
styleOverrides: {
|
|
842
|
-
icon: _ref32 => {
|
|
843
|
-
let {
|
|
844
|
-
theme
|
|
845
|
-
} = _ref32;
|
|
846
|
-
return {
|
|
847
|
-
color: theme.palette.text.primary
|
|
848
|
-
};
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
},
|
|
852
|
-
MuiOutlinedInput: {
|
|
853
|
-
defaultProps: {
|
|
854
|
-
notched: false,
|
|
855
|
-
minRows: 3
|
|
1004
|
+
variant: "standard"
|
|
856
1005
|
},
|
|
857
1006
|
styleOverrides: {
|
|
858
|
-
|
|
859
|
-
let {
|
|
860
|
-
ownerState,
|
|
861
|
-
theme
|
|
862
|
-
} = _ref33;
|
|
863
|
-
return {
|
|
864
|
-
[`&:hover .${outlinedInputClasses.notchedOutline}`]: {
|
|
865
|
-
borderColor: theme.palette.text.primary
|
|
866
|
-
},
|
|
867
|
-
[`&.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {
|
|
868
|
-
borderColor: theme.palette.primary.main,
|
|
869
|
-
borderWidth: 2
|
|
870
|
-
},
|
|
871
|
-
[`&.${outlinedInputClasses.error} .${outlinedInputClasses.notchedOutline}`]: {
|
|
872
|
-
borderColor: theme.palette.error.main
|
|
873
|
-
},
|
|
874
|
-
[`&.${outlinedInputClasses.error}:hover .${outlinedInputClasses.notchedOutline}`]: {
|
|
875
|
-
borderColor: theme.palette.error.dark
|
|
876
|
-
},
|
|
877
|
-
[`&.${outlinedInputClasses.error}.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {
|
|
878
|
-
borderColor: theme.palette.error.main
|
|
879
|
-
},
|
|
880
|
-
[`&.${outlinedInputClasses.disabled} .${outlinedInputClasses.notchedOutline}`]: {
|
|
881
|
-
borderColor: theme.palette.action.disabled,
|
|
882
|
-
pointerEvents: "auto"
|
|
883
|
-
},
|
|
884
|
-
[`&.${outlinedInputClasses.disabled}`]: {
|
|
885
|
-
backgroundColor: theme.palette.grey[50],
|
|
886
|
-
cursor: "not-allowed"
|
|
887
|
-
},
|
|
888
|
-
...(ownerState.startAdornment && {
|
|
889
|
-
paddingLeft: theme.spacing(3)
|
|
890
|
-
}),
|
|
891
|
-
...(ownerState.endAdornment && {
|
|
892
|
-
paddingRight: theme.spacing(3)
|
|
893
|
-
}),
|
|
894
|
-
...(ownerState.multiline && {
|
|
895
|
-
padding: "0",
|
|
896
|
-
...(ownerState.size === "small" && {
|
|
897
|
-
padding: "0"
|
|
898
|
-
})
|
|
899
|
-
})
|
|
900
|
-
};
|
|
901
|
-
},
|
|
902
|
-
input: _ref34 => {
|
|
903
|
-
let {
|
|
904
|
-
theme
|
|
905
|
-
} = _ref34;
|
|
906
|
-
return {
|
|
907
|
-
padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,
|
|
908
|
-
borderWidth: theme.mixins.borderWidth,
|
|
909
|
-
borderStyle: theme.mixins.borderStyle,
|
|
910
|
-
borderColor: "transparent"
|
|
911
|
-
};
|
|
912
|
-
},
|
|
913
|
-
notchedOutline: _ref35 => {
|
|
1007
|
+
icon: _ref35 => {
|
|
914
1008
|
let {
|
|
915
1009
|
theme
|
|
916
1010
|
} = _ref35;
|
|
917
1011
|
return {
|
|
918
|
-
|
|
1012
|
+
color: theme.palette.text.primary
|
|
919
1013
|
};
|
|
920
1014
|
}
|
|
921
1015
|
}
|
|
@@ -958,6 +1052,21 @@ export const components = {
|
|
|
958
1052
|
}
|
|
959
1053
|
}
|
|
960
1054
|
},
|
|
1055
|
+
MuiSelect: {
|
|
1056
|
+
defaultProps: {
|
|
1057
|
+
variant: "standard"
|
|
1058
|
+
},
|
|
1059
|
+
styleOverrides: {
|
|
1060
|
+
icon: _ref37 => {
|
|
1061
|
+
let {
|
|
1062
|
+
theme
|
|
1063
|
+
} = _ref37;
|
|
1064
|
+
return {
|
|
1065
|
+
color: theme.palette.text.primary
|
|
1066
|
+
};
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
},
|
|
961
1070
|
MuiSvgIcon: {
|
|
962
1071
|
defaultProps: {
|
|
963
1072
|
fontSize: "inherit",
|
|
@@ -969,11 +1078,11 @@ export const components = {
|
|
|
969
1078
|
iconPosition: "start"
|
|
970
1079
|
},
|
|
971
1080
|
styleOverrides: {
|
|
972
|
-
root:
|
|
1081
|
+
root: _ref38 => {
|
|
973
1082
|
let {
|
|
974
1083
|
theme,
|
|
975
1084
|
ownerState
|
|
976
|
-
} =
|
|
1085
|
+
} = _ref38;
|
|
977
1086
|
return {
|
|
978
1087
|
maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
|
|
979
1088
|
minWidth: "unset",
|
|
@@ -1034,11 +1143,11 @@ export const components = {
|
|
|
1034
1143
|
},
|
|
1035
1144
|
MuiTable: {
|
|
1036
1145
|
styleOverrides: {
|
|
1037
|
-
root:
|
|
1146
|
+
root: _ref39 => {
|
|
1038
1147
|
let {
|
|
1039
1148
|
theme,
|
|
1040
1149
|
ownerState
|
|
1041
|
-
} =
|
|
1150
|
+
} = _ref39;
|
|
1042
1151
|
return {
|
|
1043
1152
|
display: "table",
|
|
1044
1153
|
width: "auto",
|
|
@@ -1061,11 +1170,11 @@ export const components = {
|
|
|
1061
1170
|
},
|
|
1062
1171
|
MuiTableCell: {
|
|
1063
1172
|
styleOverrides: {
|
|
1064
|
-
root:
|
|
1173
|
+
root: _ref40 => {
|
|
1065
1174
|
let {
|
|
1066
1175
|
theme,
|
|
1067
1176
|
ownerState
|
|
1068
|
-
} =
|
|
1177
|
+
} = _ref40;
|
|
1069
1178
|
return { ...theme.typography.body1,
|
|
1070
1179
|
maxWidth: theme.mixins.maxWidth,
|
|
1071
1180
|
borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.grey[100]}`,
|
|
@@ -1141,10 +1250,10 @@ export const components = {
|
|
|
1141
1250
|
},
|
|
1142
1251
|
MuiTableContainer: {
|
|
1143
1252
|
styleOverrides: {
|
|
1144
|
-
root:
|
|
1253
|
+
root: _ref41 => {
|
|
1145
1254
|
let {
|
|
1146
1255
|
theme
|
|
1147
|
-
} =
|
|
1256
|
+
} = _ref41;
|
|
1148
1257
|
return {
|
|
1149
1258
|
width: "unset",
|
|
1150
1259
|
maxWidth: "100%",
|
|
@@ -1161,10 +1270,10 @@ export const components = {
|
|
|
1161
1270
|
},
|
|
1162
1271
|
MuiTableRow: {
|
|
1163
1272
|
styleOverrides: {
|
|
1164
|
-
root:
|
|
1273
|
+
root: _ref42 => {
|
|
1165
1274
|
let {
|
|
1166
1275
|
theme
|
|
1167
|
-
} =
|
|
1276
|
+
} = _ref42;
|
|
1168
1277
|
return {
|
|
1169
1278
|
verticalAlign: "unset",
|
|
1170
1279
|
[`&.${tableRowClasses.root}:hover`]: {
|
|
@@ -1185,10 +1294,10 @@ export const components = {
|
|
|
1185
1294
|
IconComponent: ArrowDownIcon
|
|
1186
1295
|
},
|
|
1187
1296
|
styleOverrides: {
|
|
1188
|
-
root:
|
|
1297
|
+
root: _ref43 => {
|
|
1189
1298
|
let {
|
|
1190
1299
|
theme
|
|
1191
|
-
} =
|
|
1300
|
+
} = _ref43;
|
|
1192
1301
|
return {
|
|
1193
1302
|
cursor: "pointer",
|
|
1194
1303
|
display: "inline-flex",
|
|
@@ -1217,11 +1326,11 @@ export const components = {
|
|
|
1217
1326
|
}
|
|
1218
1327
|
};
|
|
1219
1328
|
},
|
|
1220
|
-
icon:
|
|
1329
|
+
icon: _ref44 => {
|
|
1221
1330
|
let {
|
|
1222
1331
|
theme,
|
|
1223
1332
|
ownerState
|
|
1224
|
-
} =
|
|
1333
|
+
} = _ref44;
|
|
1225
1334
|
return {
|
|
1226
1335
|
fontSize: "inherit",
|
|
1227
1336
|
marginRight: 0,
|
|
@@ -1250,19 +1359,19 @@ export const components = {
|
|
|
1250
1359
|
},
|
|
1251
1360
|
MuiTabs: {
|
|
1252
1361
|
styleOverrides: {
|
|
1253
|
-
root:
|
|
1362
|
+
root: _ref45 => {
|
|
1254
1363
|
let {
|
|
1255
1364
|
theme
|
|
1256
|
-
} =
|
|
1365
|
+
} = _ref45;
|
|
1257
1366
|
return {
|
|
1258
1367
|
minHeight: "unset",
|
|
1259
1368
|
marginBottom: theme.spacing(5)
|
|
1260
1369
|
};
|
|
1261
1370
|
},
|
|
1262
|
-
flexContainer:
|
|
1371
|
+
flexContainer: _ref46 => {
|
|
1263
1372
|
let {
|
|
1264
1373
|
theme
|
|
1265
|
-
} =
|
|
1374
|
+
} = _ref46;
|
|
1266
1375
|
return {
|
|
1267
1376
|
gap: theme.spacing(5),
|
|
1268
1377
|
borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.divider}`
|
|
@@ -1278,11 +1387,11 @@ export const components = {
|
|
|
1278
1387
|
placement: "top"
|
|
1279
1388
|
},
|
|
1280
1389
|
styleOverrides: {
|
|
1281
|
-
tooltip:
|
|
1390
|
+
tooltip: _ref47 => {
|
|
1282
1391
|
let {
|
|
1283
1392
|
theme,
|
|
1284
1393
|
ownerState
|
|
1285
|
-
} =
|
|
1394
|
+
} = _ref47;
|
|
1286
1395
|
return {
|
|
1287
1396
|
maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
|
|
1288
1397
|
paddingBlock: theme.spacing(2),
|
|
@@ -1342,10 +1451,10 @@ export const components = {
|
|
|
1342
1451
|
}
|
|
1343
1452
|
};
|
|
1344
1453
|
},
|
|
1345
|
-
arrow:
|
|
1454
|
+
arrow: _ref48 => {
|
|
1346
1455
|
let {
|
|
1347
1456
|
theme
|
|
1348
|
-
} =
|
|
1457
|
+
} = _ref48;
|
|
1349
1458
|
return {
|
|
1350
1459
|
color: theme.palette.grey[900],
|
|
1351
1460
|
"&::before": {
|
|
@@ -1385,19 +1494,19 @@ export const components = {
|
|
|
1385
1494
|
}
|
|
1386
1495
|
},
|
|
1387
1496
|
styleOverrides: {
|
|
1388
|
-
paragraph:
|
|
1497
|
+
paragraph: _ref49 => {
|
|
1389
1498
|
let {
|
|
1390
1499
|
theme
|
|
1391
|
-
} =
|
|
1500
|
+
} = _ref49;
|
|
1392
1501
|
return {
|
|
1393
1502
|
marginBottom: theme.spacing(4)
|
|
1394
1503
|
};
|
|
1395
1504
|
},
|
|
1396
|
-
root:
|
|
1505
|
+
root: _ref50 => {
|
|
1397
1506
|
let {
|
|
1398
1507
|
theme,
|
|
1399
1508
|
ownerState
|
|
1400
|
-
} =
|
|
1509
|
+
} = _ref50;
|
|
1401
1510
|
return { ...(ownerState.variant === "kbd" && {
|
|
1402
1511
|
display: "inline-block",
|
|
1403
1512
|
minWidth: `calc(${theme.typography.subtitle1.fontSize} * ${theme.typography.h5.lineHeight})`,
|