@okta/odyssey-react-mui 0.15.3 → 0.16.1
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 +8 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/theme/components.d.ts.map +1 -1
- package/dist/theme/components.js +154 -117
- 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/package.json +3 -3
- package/src/index.ts +4 -2
- package/src/theme/components.tsx +114 -67
- package/src/theme/typography.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
### [0.16.1](https://github.com/okta/odyssey/compare/v0.16.0...v0.16.1) (2022-10-31)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @okta/odyssey-react-mui
|
|
9
|
+
|
|
10
|
+
## [0.16.0](https://github.com/okta/odyssey/compare/v0.15.3...v0.16.0) (2022-10-27)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @okta/odyssey-react-mui
|
|
13
|
+
|
|
6
14
|
### [0.15.3](https://github.com/okta/odyssey/compare/v0.15.2...v0.15.3) (2022-10-20)
|
|
7
15
|
|
|
8
16
|
### Features
|
package/dist/index.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ export * from "./PasswordInput";
|
|
|
17
17
|
export * from "./theme";
|
|
18
18
|
export * from "./ThemeProvider";
|
|
19
19
|
export * from "./useUniqueId";
|
|
20
|
-
export { Alert, AlertTitle, Box, Button, Checkbox, CircularProgress, CssBaseline, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel, InputAdornment,
|
|
21
|
-
export type { AlertProps, AlertTitleProps, BoxProps, ButtonProps, CheckboxProps, CircularProgressProps, CssBaselineProps, DialogProps, DialogActionsProps, DialogContentProps, DialogContentTextProps, DialogTitleProps, FormControlLabelProps, FormControlProps, FormGroupProps, FormHelperTextProps, FormLabelProps, InputAdornmentProps,
|
|
20
|
+
export { Alert, AlertTitle, Box, Button, Checkbox, CircularProgress, CssBaseline, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel, IconButton, InputAdornment, InputBase, InputLabel, Radio, RadioGroup, Select, Snackbar, Stack, SvgIcon, Tab, Table, TableBody, TableCell, TableContainer, TableHead, TableRow, TableSortLabel, ThemeProvider as MuiThemeProvider, Tooltip, Typography, useTheme, } from "@mui/material";
|
|
21
|
+
export type { AlertProps, AlertTitleProps, BoxProps, ButtonProps, CheckboxProps, CircularProgressProps, CssBaselineProps, DialogProps, DialogActionsProps, DialogContentProps, DialogContentTextProps, DialogTitleProps, FormControlLabelProps, FormControlProps, FormGroupProps, FormHelperTextProps, FormLabelProps, IconButtonProps, InputAdornmentProps, InputBaseProps, InputLabelProps, RadioGroupProps, RadioProps, SelectProps, SnackbarProps, StackProps, SvgIconProps, TabProps, TableBodyProps, TableCellProps, TableContainerProps, TableHeadProps, TableProps, TableRowProps, TableSortLabelProps, TooltipProps, TypographyProps, useThemeProps, } from "@mui/material";
|
|
22
22
|
export { TabContext, TabList, TabPanel } from "@mui/lab";
|
|
23
23
|
export type { TabContextProps, TabListProps, TabPanelProps } from "@mui/lab";
|
|
24
24
|
export { Favorite as FavoriteIcon } from "@mui/icons-material";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAE9B,OAAO,EACL,KAAK,EACL,UAAU,EACV,GAAG,EACH,MAAM,EACN,QAAQ,EACR,gBAAgB,EAChB,WAAW,EACX,MAAM,EACN,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,SAAS,EACT,cAAc,EACd,SAAS,EACT,cAAc,EACd,UAAU,EACV,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAE9B,OAAO,EACL,KAAK,EACL,UAAU,EACV,GAAG,EACH,MAAM,EACN,QAAQ,EACR,gBAAgB,EAChB,WAAW,EACX,MAAM,EACN,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,SAAS,EACT,cAAc,EACd,SAAS,EACT,UAAU,EACV,cAAc,EACd,SAAS,EACT,UAAU,EACV,KAAK,EACL,UAAU,EACV,MAAM,EACN,QAAQ,EACR,KAAK,EACL,OAAO,EACP,GAAG,EACH,KAAK,EACL,SAAS,EACT,SAAS,EACT,cAAc,EACd,SAAS,EACT,QAAQ,EACR,cAAc,EACd,aAAa,IAAI,gBAAgB,EACjC,OAAO,EACP,UAAU,EACV,QAAQ,GACT,MAAM,eAAe,CAAC;AAEvB,YAAY,EACV,UAAU,EACV,eAAe,EACf,QAAQ,EACR,WAAW,EACX,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,eAAe,EACf,UAAU,EACV,WAAW,EACX,aAAa,EACb,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,aAAa,GACd,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzD,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE7E,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ export * from "./PasswordInput.js";
|
|
|
17
17
|
export * from "./theme/index.js";
|
|
18
18
|
export * from "./ThemeProvider.js";
|
|
19
19
|
export * from "./useUniqueId.js";
|
|
20
|
-
export { Alert, AlertTitle, Box, Button, Checkbox, CircularProgress, CssBaseline, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel, InputAdornment,
|
|
20
|
+
export { Alert, AlertTitle, Box, Button, Checkbox, CircularProgress, CssBaseline, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel, IconButton, InputAdornment, InputBase, InputLabel, Radio, RadioGroup, Select, Snackbar, Stack, SvgIcon, Tab, Table, TableBody, TableCell, TableContainer, TableHead, TableRow, TableSortLabel, ThemeProvider as MuiThemeProvider, Tooltip, Typography, useTheme } from "@mui/material";
|
|
21
21
|
export { TabContext, TabList, TabPanel } from "@mui/lab";
|
|
22
22
|
export { Favorite as FavoriteIcon } from "@mui/icons-material";
|
|
23
23
|
export { visuallyHidden } from "@mui/utils";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["Alert","AlertTitle","Box","Button","Checkbox","CircularProgress","CssBaseline","Dialog","DialogActions","DialogContent","DialogContentText","DialogTitle","FormControl","FormControlLabel","FormGroup","FormHelperText","FormLabel","InputAdornment","
|
|
1
|
+
{"version":3,"file":"index.js","names":["Alert","AlertTitle","Box","Button","Checkbox","CircularProgress","CssBaseline","Dialog","DialogActions","DialogContent","DialogContentText","DialogTitle","FormControl","FormControlLabel","FormGroup","FormHelperText","FormLabel","IconButton","InputAdornment","InputBase","InputLabel","Radio","RadioGroup","Select","Snackbar","Stack","SvgIcon","Tab","Table","TableBody","TableCell","TableContainer","TableHead","TableRow","TableSortLabel","ThemeProvider","MuiThemeProvider","Tooltip","Typography","useTheme","TabContext","TabList","TabPanel","Favorite","FavoriteIcon","visuallyHidden"],"sources":["../src/index.ts"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nexport * from \"./createUniqueId\";\nexport * from \"./Icon\";\nexport * from \"./iconDictionary\";\nexport * from \"./Link\";\nexport * from \"./PasswordInput\";\nexport * from \"./theme\";\nexport * from \"./ThemeProvider\";\nexport * from \"./useUniqueId\";\n\nexport {\n Alert,\n AlertTitle,\n Box,\n Button,\n Checkbox,\n CircularProgress,\n CssBaseline,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n FormControl,\n FormControlLabel,\n FormGroup,\n FormHelperText,\n FormLabel,\n IconButton,\n InputAdornment,\n InputBase,\n InputLabel,\n Radio,\n RadioGroup,\n Select,\n Snackbar,\n Stack,\n SvgIcon,\n Tab,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableHead,\n TableRow,\n TableSortLabel,\n ThemeProvider as MuiThemeProvider,\n Tooltip,\n Typography,\n useTheme,\n} from \"@mui/material\";\n\nexport type {\n AlertProps,\n AlertTitleProps,\n BoxProps,\n ButtonProps,\n CheckboxProps,\n CircularProgressProps,\n CssBaselineProps,\n DialogProps,\n DialogActionsProps,\n DialogContentProps,\n DialogContentTextProps,\n DialogTitleProps,\n FormControlLabelProps,\n FormControlProps,\n FormGroupProps,\n FormHelperTextProps,\n FormLabelProps,\n IconButtonProps,\n InputAdornmentProps,\n InputBaseProps,\n InputLabelProps,\n RadioGroupProps,\n RadioProps,\n SelectProps,\n SnackbarProps,\n StackProps,\n SvgIconProps,\n TabProps,\n TableBodyProps,\n TableCellProps,\n TableContainerProps,\n TableHeadProps,\n TableProps,\n TableRowProps,\n TableSortLabelProps,\n TooltipProps,\n TypographyProps,\n useThemeProps,\n} from \"@mui/material\";\n\nexport { TabContext, TabList, TabPanel } from \"@mui/lab\";\n\nexport type { TabContextProps, TabListProps, TabPanelProps } from \"@mui/lab\";\n\nexport { Favorite as FavoriteIcon } from \"@mui/icons-material\";\n\nexport { visuallyHidden } from \"@mui/utils\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AAWA,SACEA,KADF,EAEEC,UAFF,EAGEC,GAHF,EAIEC,MAJF,EAKEC,QALF,EAMEC,gBANF,EAOEC,WAPF,EAQEC,MARF,EASEC,aATF,EAUEC,aAVF,EAWEC,iBAXF,EAYEC,WAZF,EAaEC,WAbF,EAcEC,gBAdF,EAeEC,SAfF,EAgBEC,cAhBF,EAiBEC,SAjBF,EAkBEC,UAlBF,EAmBEC,cAnBF,EAoBEC,SApBF,EAqBEC,UArBF,EAsBEC,KAtBF,EAuBEC,UAvBF,EAwBEC,MAxBF,EAyBEC,QAzBF,EA0BEC,KA1BF,EA2BEC,OA3BF,EA4BEC,GA5BF,EA6BEC,KA7BF,EA8BEC,SA9BF,EA+BEC,SA/BF,EAgCEC,cAhCF,EAiCEC,SAjCF,EAkCEC,QAlCF,EAmCEC,cAnCF,EAoCEC,aAAa,IAAIC,gBApCnB,EAqCEC,OArCF,EAsCEC,UAtCF,EAuCEC,QAvCF,QAwCO,eAxCP;AAmFA,SAASC,UAAT,EAAqBC,OAArB,EAA8BC,QAA9B,QAA8C,UAA9C;AAIA,SAASC,QAAQ,IAAIC,YAArB,QAAyC,qBAAzC;AAEA,SAASC,cAAT,QAA+B,YAA/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/theme/components.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAkBlD,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/theme/components.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAkBlD,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CAovCjD,CAAC"}
|
package/dist/theme/components.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
import { dialogActionsClasses } from "@mui/material/DialogActions";
|
|
13
|
-
import {
|
|
13
|
+
import { inputBaseClasses } from "@mui/material/InputBase";
|
|
14
14
|
import { tableBodyClasses } from "@mui/material/TableBody";
|
|
15
15
|
import { tableCellClasses } from "@mui/material/TableCell";
|
|
16
16
|
import { tableHeadClasses } from "@mui/material/TableHead";
|
|
@@ -630,6 +630,7 @@ export const components = {
|
|
|
630
630
|
theme
|
|
631
631
|
} = _ref24;
|
|
632
632
|
return {
|
|
633
|
+
fontSize: theme.typography.subtitle1.fontSize,
|
|
633
634
|
lineHeight: "1.33333333",
|
|
634
635
|
marginTop: theme.spacing(2),
|
|
635
636
|
".MuiFormLabel-root + &": {
|
|
@@ -696,6 +697,18 @@ export const components = {
|
|
|
696
697
|
}
|
|
697
698
|
}
|
|
698
699
|
},
|
|
700
|
+
MuiInput: {
|
|
701
|
+
defaultProps: {
|
|
702
|
+
disableUnderline: true
|
|
703
|
+
},
|
|
704
|
+
styleOverrides: {
|
|
705
|
+
root: {
|
|
706
|
+
"label + &": {
|
|
707
|
+
marginTop: 0
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
},
|
|
699
712
|
MuiInputAdornment: {
|
|
700
713
|
defaultProps: {
|
|
701
714
|
variant: "outlined"
|
|
@@ -703,37 +716,114 @@ export const components = {
|
|
|
703
716
|
styleOverrides: {
|
|
704
717
|
root: _ref27 => {
|
|
705
718
|
let {
|
|
719
|
+
theme,
|
|
706
720
|
ownerState
|
|
707
721
|
} = _ref27;
|
|
708
722
|
return {
|
|
709
723
|
display: "flex",
|
|
724
|
+
minWidth: "1em",
|
|
725
|
+
maxHeight: "unset",
|
|
726
|
+
alignItems: "center",
|
|
727
|
+
whiteSpace: "nowrap",
|
|
728
|
+
color: theme.palette.action.active,
|
|
710
729
|
...(ownerState.position === "start" && {
|
|
711
|
-
|
|
730
|
+
marginInlineEnd: theme.spacing(2)
|
|
712
731
|
}),
|
|
713
732
|
...(ownerState.position === "end" && {
|
|
714
|
-
|
|
733
|
+
marginInlineStart: theme.spacing(2)
|
|
734
|
+
}),
|
|
735
|
+
...(ownerState.disablePointerEvents === true && {
|
|
736
|
+
pointerEvents: "none"
|
|
715
737
|
})
|
|
716
738
|
};
|
|
717
739
|
}
|
|
718
740
|
}
|
|
719
741
|
},
|
|
720
742
|
MuiInputBase: {
|
|
743
|
+
defaultProps: {
|
|
744
|
+
minRows: 3,
|
|
745
|
+
required: true
|
|
746
|
+
},
|
|
721
747
|
styleOverrides: {
|
|
722
748
|
root: _ref28 => {
|
|
723
749
|
let {
|
|
724
750
|
ownerState,
|
|
725
751
|
theme
|
|
726
752
|
} = _ref28;
|
|
727
|
-
return {
|
|
753
|
+
return { ...theme.typography.body1,
|
|
754
|
+
flex: "1",
|
|
755
|
+
width: "auto",
|
|
756
|
+
color: theme.palette.text.primary,
|
|
728
757
|
lineHeight: "1.14285714",
|
|
758
|
+
borderWidth: theme.mixins.borderWidth,
|
|
759
|
+
borderStyle: theme.mixins.borderStyle,
|
|
760
|
+
borderRadius: theme.mixins.borderRadius,
|
|
761
|
+
borderColor: theme.palette.grey[500],
|
|
762
|
+
paddingBlock: `calc(${theme.spacing(3)} - ${theme.mixins.borderWidth})`,
|
|
763
|
+
paddingInline: theme.spacing(3),
|
|
764
|
+
...(ownerState.multiline && {
|
|
765
|
+
paddingBlock: theme.spacing(3),
|
|
766
|
+
paddingInline: theme.spacing(3),
|
|
767
|
+
...(ownerState.size === "small" && {
|
|
768
|
+
paddingBlock: theme.spacing(3),
|
|
769
|
+
paddingInline: theme.spacing(3)
|
|
770
|
+
})
|
|
771
|
+
}),
|
|
772
|
+
...(ownerState.fullWidth && {
|
|
773
|
+
width: "100%"
|
|
774
|
+
}),
|
|
729
775
|
...(ownerState.readOnly === true && {
|
|
730
776
|
backgroundColor: theme.palette.grey[50]
|
|
731
|
-
})
|
|
777
|
+
}),
|
|
778
|
+
[`&:hover`]: {
|
|
779
|
+
borderColor: theme.palette.grey[900]
|
|
780
|
+
},
|
|
781
|
+
[`&.${inputBaseClasses.focused}`]: {
|
|
782
|
+
borderColor: theme.palette.primary.main,
|
|
783
|
+
outlineColor: theme.palette.primary.main,
|
|
784
|
+
outlineOffset: 0,
|
|
785
|
+
outlineStyle: "solid",
|
|
786
|
+
outlineWidth: "1px"
|
|
787
|
+
},
|
|
788
|
+
[`&.${inputBaseClasses.error}`]: {
|
|
789
|
+
borderColor: theme.palette.error.main
|
|
790
|
+
},
|
|
791
|
+
[`&.${inputBaseClasses.error}:hover`]: {
|
|
792
|
+
borderColor: theme.palette.error.dark
|
|
793
|
+
},
|
|
794
|
+
[`&.${inputBaseClasses.error}.${inputBaseClasses.focused}`]: {
|
|
795
|
+
borderColor: theme.palette.error.main,
|
|
796
|
+
outlineColor: theme.palette.error.main
|
|
797
|
+
},
|
|
798
|
+
[`&.${inputBaseClasses.disabled}`]: {
|
|
799
|
+
color: theme.palette.text.disabled,
|
|
800
|
+
borderColor: theme.palette.action.disabled,
|
|
801
|
+
pointerEvents: "auto",
|
|
802
|
+
backgroundColor: theme.palette.grey[50],
|
|
803
|
+
cursor: "not-allowed"
|
|
804
|
+
}
|
|
732
805
|
};
|
|
733
806
|
},
|
|
734
|
-
input: {
|
|
735
|
-
|
|
736
|
-
|
|
807
|
+
input: _ref29 => {
|
|
808
|
+
let {
|
|
809
|
+
theme
|
|
810
|
+
} = _ref29;
|
|
811
|
+
return {
|
|
812
|
+
boxSizing: "border-box",
|
|
813
|
+
height: "auto",
|
|
814
|
+
paddingBlock: 0,
|
|
815
|
+
paddingInline: 0,
|
|
816
|
+
[`.${inputBaseClasses.disabled} &`]: {
|
|
817
|
+
pointerEvents: "auto",
|
|
818
|
+
cursor: "not-allowed"
|
|
819
|
+
},
|
|
820
|
+
[`label[data-shrink=false] + .${inputBaseClasses.formControl} &`]: {
|
|
821
|
+
"&::placeholder": {
|
|
822
|
+
color: theme.palette.text.secondary,
|
|
823
|
+
opacity: "1 !important"
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
};
|
|
737
827
|
}
|
|
738
828
|
}
|
|
739
829
|
},
|
|
@@ -743,11 +833,14 @@ export const components = {
|
|
|
743
833
|
shrink: false
|
|
744
834
|
},
|
|
745
835
|
styleOverrides: {
|
|
746
|
-
root:
|
|
836
|
+
root: _ref30 => {
|
|
747
837
|
let {
|
|
748
838
|
ownerState
|
|
749
|
-
} =
|
|
750
|
-
return {
|
|
839
|
+
} = _ref30;
|
|
840
|
+
return {
|
|
841
|
+
display: "flex",
|
|
842
|
+
justifyContent: "space-between",
|
|
843
|
+
...(ownerState.formControl && {
|
|
751
844
|
position: "initial",
|
|
752
845
|
transform: "none"
|
|
753
846
|
}),
|
|
@@ -765,10 +858,10 @@ export const components = {
|
|
|
765
858
|
},
|
|
766
859
|
MuiLink: {
|
|
767
860
|
styleOverrides: {
|
|
768
|
-
root:
|
|
861
|
+
root: _ref31 => {
|
|
769
862
|
let {
|
|
770
863
|
theme
|
|
771
|
-
} =
|
|
864
|
+
} = _ref31;
|
|
772
865
|
return {
|
|
773
866
|
color: theme.palette.primary.main,
|
|
774
867
|
textDecoration: "none",
|
|
@@ -811,10 +904,10 @@ export const components = {
|
|
|
811
904
|
props: {
|
|
812
905
|
variant: "monochrome"
|
|
813
906
|
},
|
|
814
|
-
style:
|
|
907
|
+
style: _ref32 => {
|
|
815
908
|
let {
|
|
816
909
|
theme
|
|
817
|
-
} =
|
|
910
|
+
} = _ref32;
|
|
818
911
|
return {
|
|
819
912
|
color: theme.palette.text.primary,
|
|
820
913
|
textDecoration: "underline",
|
|
@@ -836,86 +929,15 @@ export const components = {
|
|
|
836
929
|
},
|
|
837
930
|
MuiNativeSelect: {
|
|
838
931
|
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
|
|
932
|
+
variant: "standard"
|
|
856
933
|
},
|
|
857
934
|
styleOverrides: {
|
|
858
|
-
|
|
935
|
+
icon: _ref33 => {
|
|
859
936
|
let {
|
|
860
|
-
ownerState,
|
|
861
937
|
theme
|
|
862
938
|
} = _ref33;
|
|
863
939
|
return {
|
|
864
|
-
|
|
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 => {
|
|
914
|
-
let {
|
|
915
|
-
theme
|
|
916
|
-
} = _ref35;
|
|
917
|
-
return {
|
|
918
|
-
borderColor: theme.palette.grey[500]
|
|
940
|
+
color: theme.palette.text.primary
|
|
919
941
|
};
|
|
920
942
|
}
|
|
921
943
|
}
|
|
@@ -925,10 +947,10 @@ export const components = {
|
|
|
925
947
|
size: "small"
|
|
926
948
|
},
|
|
927
949
|
styleOverrides: {
|
|
928
|
-
root:
|
|
950
|
+
root: _ref34 => {
|
|
929
951
|
let {
|
|
930
952
|
theme
|
|
931
|
-
} =
|
|
953
|
+
} = _ref34;
|
|
932
954
|
return {
|
|
933
955
|
"&:hover": {
|
|
934
956
|
backgroundColor: "transparent"
|
|
@@ -958,6 +980,21 @@ export const components = {
|
|
|
958
980
|
}
|
|
959
981
|
}
|
|
960
982
|
},
|
|
983
|
+
MuiSelect: {
|
|
984
|
+
defaultProps: {
|
|
985
|
+
variant: "standard"
|
|
986
|
+
},
|
|
987
|
+
styleOverrides: {
|
|
988
|
+
icon: _ref35 => {
|
|
989
|
+
let {
|
|
990
|
+
theme
|
|
991
|
+
} = _ref35;
|
|
992
|
+
return {
|
|
993
|
+
color: theme.palette.text.primary
|
|
994
|
+
};
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
},
|
|
961
998
|
MuiSvgIcon: {
|
|
962
999
|
defaultProps: {
|
|
963
1000
|
fontSize: "inherit",
|
|
@@ -969,11 +1006,11 @@ export const components = {
|
|
|
969
1006
|
iconPosition: "start"
|
|
970
1007
|
},
|
|
971
1008
|
styleOverrides: {
|
|
972
|
-
root:
|
|
1009
|
+
root: _ref36 => {
|
|
973
1010
|
let {
|
|
974
1011
|
theme,
|
|
975
1012
|
ownerState
|
|
976
|
-
} =
|
|
1013
|
+
} = _ref36;
|
|
977
1014
|
return {
|
|
978
1015
|
maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
|
|
979
1016
|
minWidth: "unset",
|
|
@@ -1034,11 +1071,11 @@ export const components = {
|
|
|
1034
1071
|
},
|
|
1035
1072
|
MuiTable: {
|
|
1036
1073
|
styleOverrides: {
|
|
1037
|
-
root:
|
|
1074
|
+
root: _ref37 => {
|
|
1038
1075
|
let {
|
|
1039
1076
|
theme,
|
|
1040
1077
|
ownerState
|
|
1041
|
-
} =
|
|
1078
|
+
} = _ref37;
|
|
1042
1079
|
return {
|
|
1043
1080
|
display: "table",
|
|
1044
1081
|
width: "auto",
|
|
@@ -1061,11 +1098,11 @@ export const components = {
|
|
|
1061
1098
|
},
|
|
1062
1099
|
MuiTableCell: {
|
|
1063
1100
|
styleOverrides: {
|
|
1064
|
-
root:
|
|
1101
|
+
root: _ref38 => {
|
|
1065
1102
|
let {
|
|
1066
1103
|
theme,
|
|
1067
1104
|
ownerState
|
|
1068
|
-
} =
|
|
1105
|
+
} = _ref38;
|
|
1069
1106
|
return { ...theme.typography.body1,
|
|
1070
1107
|
maxWidth: theme.mixins.maxWidth,
|
|
1071
1108
|
borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.grey[100]}`,
|
|
@@ -1141,10 +1178,10 @@ export const components = {
|
|
|
1141
1178
|
},
|
|
1142
1179
|
MuiTableContainer: {
|
|
1143
1180
|
styleOverrides: {
|
|
1144
|
-
root:
|
|
1181
|
+
root: _ref39 => {
|
|
1145
1182
|
let {
|
|
1146
1183
|
theme
|
|
1147
|
-
} =
|
|
1184
|
+
} = _ref39;
|
|
1148
1185
|
return {
|
|
1149
1186
|
width: "unset",
|
|
1150
1187
|
maxWidth: "100%",
|
|
@@ -1161,10 +1198,10 @@ export const components = {
|
|
|
1161
1198
|
},
|
|
1162
1199
|
MuiTableRow: {
|
|
1163
1200
|
styleOverrides: {
|
|
1164
|
-
root:
|
|
1201
|
+
root: _ref40 => {
|
|
1165
1202
|
let {
|
|
1166
1203
|
theme
|
|
1167
|
-
} =
|
|
1204
|
+
} = _ref40;
|
|
1168
1205
|
return {
|
|
1169
1206
|
verticalAlign: "unset",
|
|
1170
1207
|
[`&.${tableRowClasses.root}:hover`]: {
|
|
@@ -1185,10 +1222,10 @@ export const components = {
|
|
|
1185
1222
|
IconComponent: ArrowDownIcon
|
|
1186
1223
|
},
|
|
1187
1224
|
styleOverrides: {
|
|
1188
|
-
root:
|
|
1225
|
+
root: _ref41 => {
|
|
1189
1226
|
let {
|
|
1190
1227
|
theme
|
|
1191
|
-
} =
|
|
1228
|
+
} = _ref41;
|
|
1192
1229
|
return {
|
|
1193
1230
|
cursor: "pointer",
|
|
1194
1231
|
display: "inline-flex",
|
|
@@ -1217,11 +1254,11 @@ export const components = {
|
|
|
1217
1254
|
}
|
|
1218
1255
|
};
|
|
1219
1256
|
},
|
|
1220
|
-
icon:
|
|
1257
|
+
icon: _ref42 => {
|
|
1221
1258
|
let {
|
|
1222
1259
|
theme,
|
|
1223
1260
|
ownerState
|
|
1224
|
-
} =
|
|
1261
|
+
} = _ref42;
|
|
1225
1262
|
return {
|
|
1226
1263
|
fontSize: "inherit",
|
|
1227
1264
|
marginRight: 0,
|
|
@@ -1250,19 +1287,19 @@ export const components = {
|
|
|
1250
1287
|
},
|
|
1251
1288
|
MuiTabs: {
|
|
1252
1289
|
styleOverrides: {
|
|
1253
|
-
root:
|
|
1290
|
+
root: _ref43 => {
|
|
1254
1291
|
let {
|
|
1255
1292
|
theme
|
|
1256
|
-
} =
|
|
1293
|
+
} = _ref43;
|
|
1257
1294
|
return {
|
|
1258
1295
|
minHeight: "unset",
|
|
1259
1296
|
marginBottom: theme.spacing(5)
|
|
1260
1297
|
};
|
|
1261
1298
|
},
|
|
1262
|
-
flexContainer:
|
|
1299
|
+
flexContainer: _ref44 => {
|
|
1263
1300
|
let {
|
|
1264
1301
|
theme
|
|
1265
|
-
} =
|
|
1302
|
+
} = _ref44;
|
|
1266
1303
|
return {
|
|
1267
1304
|
gap: theme.spacing(5),
|
|
1268
1305
|
borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.divider}`
|
|
@@ -1278,11 +1315,11 @@ export const components = {
|
|
|
1278
1315
|
placement: "top"
|
|
1279
1316
|
},
|
|
1280
1317
|
styleOverrides: {
|
|
1281
|
-
tooltip:
|
|
1318
|
+
tooltip: _ref45 => {
|
|
1282
1319
|
let {
|
|
1283
1320
|
theme,
|
|
1284
1321
|
ownerState
|
|
1285
|
-
} =
|
|
1322
|
+
} = _ref45;
|
|
1286
1323
|
return {
|
|
1287
1324
|
maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
|
|
1288
1325
|
paddingBlock: theme.spacing(2),
|
|
@@ -1342,10 +1379,10 @@ export const components = {
|
|
|
1342
1379
|
}
|
|
1343
1380
|
};
|
|
1344
1381
|
},
|
|
1345
|
-
arrow:
|
|
1382
|
+
arrow: _ref46 => {
|
|
1346
1383
|
let {
|
|
1347
1384
|
theme
|
|
1348
|
-
} =
|
|
1385
|
+
} = _ref46;
|
|
1349
1386
|
return {
|
|
1350
1387
|
color: theme.palette.grey[900],
|
|
1351
1388
|
"&::before": {
|
|
@@ -1385,19 +1422,19 @@ export const components = {
|
|
|
1385
1422
|
}
|
|
1386
1423
|
},
|
|
1387
1424
|
styleOverrides: {
|
|
1388
|
-
paragraph:
|
|
1425
|
+
paragraph: _ref47 => {
|
|
1389
1426
|
let {
|
|
1390
1427
|
theme
|
|
1391
|
-
} =
|
|
1428
|
+
} = _ref47;
|
|
1392
1429
|
return {
|
|
1393
1430
|
marginBottom: theme.spacing(4)
|
|
1394
1431
|
};
|
|
1395
1432
|
},
|
|
1396
|
-
root:
|
|
1433
|
+
root: _ref48 => {
|
|
1397
1434
|
let {
|
|
1398
1435
|
theme,
|
|
1399
1436
|
ownerState
|
|
1400
|
-
} =
|
|
1437
|
+
} = _ref48;
|
|
1401
1438
|
return { ...(ownerState.variant === "kbd" && {
|
|
1402
1439
|
display: "inline-block",
|
|
1403
1440
|
minWidth: `calc(${theme.typography.subtitle1.fontSize} * ${theme.typography.h5.lineHeight})`,
|