@okta/odyssey-react-mui 0.15.0 → 0.15.2
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 +48 -0
- package/README.md +33 -9
- package/dist/components/Icon/Add.d.ts +1 -1
- package/dist/components/Icon/Add.js.map +1 -1
- package/dist/components/Icon/AddCircle.d.ts +1 -1
- package/dist/components/Icon/AddCircle.js.map +1 -1
- package/dist/components/Icon/AlertCircle.d.ts +1 -1
- package/dist/components/Icon/AlertCircle.js.map +1 -1
- package/dist/components/Icon/AlertCircleFilled.d.ts +1 -1
- package/dist/components/Icon/AlertCircleFilled.js.map +1 -1
- package/dist/components/Icon/AlertTriangleFilled.d.ts +1 -1
- package/dist/components/Icon/AlertTriangleFilled.js.map +1 -1
- package/dist/components/Icon/Anchor.d.ts +1 -1
- package/dist/components/Icon/Anchor.js.map +1 -1
- package/dist/components/Icon/ArrowDown.d.ts +1 -1
- package/dist/components/Icon/ArrowDown.js.map +1 -1
- package/dist/components/Icon/ArrowLeft.d.ts +1 -1
- package/dist/components/Icon/ArrowLeft.js.map +1 -1
- package/dist/components/Icon/ArrowRight.d.ts +1 -1
- package/dist/components/Icon/ArrowRight.js.map +1 -1
- package/dist/components/Icon/ArrowUp.d.ts +1 -1
- package/dist/components/Icon/ArrowUp.js.map +1 -1
- package/dist/components/Icon/ArrowUpDown.d.ts +16 -0
- package/dist/components/Icon/ArrowUpDown.d.ts.map +1 -0
- package/dist/components/Icon/ArrowUpDown.js +34 -0
- package/dist/components/Icon/ArrowUpDown.js.map +1 -0
- package/dist/components/Icon/Calendar.d.ts +1 -1
- package/dist/components/Icon/Calendar.js.map +1 -1
- package/dist/components/Icon/Check.d.ts +1 -1
- package/dist/components/Icon/Check.js.map +1 -1
- package/dist/components/Icon/CheckCircleFilled.d.ts +1 -1
- package/dist/components/Icon/CheckCircleFilled.js.map +1 -1
- package/dist/components/Icon/ChevronDown.d.ts +1 -1
- package/dist/components/Icon/ChevronDown.js.map +1 -1
- package/dist/components/Icon/ChevronUp.d.ts +1 -1
- package/dist/components/Icon/ChevronUp.js.map +1 -1
- package/dist/components/Icon/Close.d.ts +1 -1
- package/dist/components/Icon/Close.js.map +1 -1
- package/dist/components/Icon/CloseCircleFilled.d.ts +1 -1
- package/dist/components/Icon/CloseCircleFilled.js.map +1 -1
- package/dist/components/Icon/Copy.d.ts +1 -1
- package/dist/components/Icon/Copy.js.map +1 -1
- package/dist/components/Icon/Delete.d.ts +1 -1
- package/dist/components/Icon/Delete.js.map +1 -1
- package/dist/components/Icon/Download.d.ts +1 -1
- package/dist/components/Icon/Download.js.map +1 -1
- package/dist/components/Icon/DragHandle.d.ts +1 -1
- package/dist/components/Icon/DragHandle.js.map +1 -1
- package/dist/components/Icon/Edit.d.ts +1 -1
- package/dist/components/Icon/Edit.js.map +1 -1
- package/dist/components/Icon/ExternalLink.d.ts +1 -1
- package/dist/components/Icon/ExternalLink.js.map +1 -1
- package/dist/components/Icon/Eye.d.ts +1 -1
- package/dist/components/Icon/Eye.js.map +1 -1
- package/dist/components/Icon/EyeOff.d.ts +1 -1
- package/dist/components/Icon/EyeOff.js.map +1 -1
- package/dist/components/Icon/Filter.d.ts +1 -1
- package/dist/components/Icon/Filter.js.map +1 -1
- package/dist/components/Icon/Globe.d.ts +1 -1
- package/dist/components/Icon/Globe.js.map +1 -1
- package/dist/components/Icon/Home.d.ts +1 -1
- package/dist/components/Icon/Home.js.map +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.js +6 -5
- package/dist/components/Icon/Icon.js.map +1 -1
- package/dist/components/Icon/InformationCircle.d.ts +1 -1
- package/dist/components/Icon/InformationCircle.js.map +1 -1
- package/dist/components/Icon/InformationCircleFilled.d.ts +1 -1
- package/dist/components/Icon/InformationCircleFilled.js.map +1 -1
- package/dist/components/Icon/Notification.d.ts +1 -1
- package/dist/components/Icon/Notification.js.map +1 -1
- package/dist/components/Icon/OverflowVertical.d.ts +1 -1
- package/dist/components/Icon/OverflowVertical.js.map +1 -1
- package/dist/components/Icon/QuestionCircle.d.ts +1 -1
- package/dist/components/Icon/QuestionCircle.js.map +1 -1
- package/dist/components/Icon/QuestionCircleFilled.d.ts +1 -1
- package/dist/components/Icon/QuestionCircleFilled.js.map +1 -1
- package/dist/components/Icon/Search.d.ts +1 -1
- package/dist/components/Icon/Search.js.map +1 -1
- package/dist/components/Icon/Settings.d.ts +1 -1
- package/dist/components/Icon/Settings.js.map +1 -1
- package/dist/components/Icon/Subtract.d.ts +1 -1
- package/dist/components/Icon/Subtract.js.map +1 -1
- package/dist/components/Icon/SvgIcon.js.map +1 -1
- package/dist/components/Icon/User.d.ts +1 -1
- package/dist/components/Icon/User.js.map +1 -1
- package/dist/components/Icon/UserGroup.d.ts +1 -1
- package/dist/components/Icon/UserGroup.js.map +1 -1
- package/dist/components/Icon/index.d.ts +41 -39
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Icon/index.js +3 -0
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/components/Icon/types.js.map +1 -1
- package/dist/components/Link/Link.d.ts +1 -1
- package/dist/components/Link/Link.js +1 -1
- package/dist/components/Link/Link.js.map +1 -1
- package/dist/components/Link/index.js.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +1 -1
- package/dist/components/PasswordInput/PasswordInput.js +5 -7
- package/dist/components/PasswordInput/PasswordInput.js.map +1 -1
- package/dist/components/PasswordInput/index.js.map +1 -1
- package/dist/components/ThemeProvider/ThemeProvider.d.ts +16 -0
- package/dist/components/ThemeProvider/ThemeProvider.d.ts.map +1 -0
- package/dist/components/ThemeProvider/ThemeProvider.js +24 -0
- package/dist/components/ThemeProvider/ThemeProvider.js.map +1 -0
- package/dist/components/ThemeProvider/index.d.ts +13 -0
- package/dist/components/ThemeProvider/index.d.ts.map +1 -0
- package/dist/components/ThemeProvider/index.js +13 -0
- package/dist/components/ThemeProvider/index.js.map +1 -0
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -2
- package/dist/components/index.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/themes/index.js.map +1 -1
- package/dist/themes/odyssey/components.d.ts.map +1 -1
- package/dist/themes/odyssey/components.js +1068 -600
- package/dist/themes/odyssey/components.js.map +1 -1
- package/dist/themes/odyssey/components.types.d.ts +15 -1
- package/dist/themes/odyssey/components.types.d.ts.map +1 -1
- package/dist/themes/odyssey/components.types.js.map +1 -1
- package/dist/themes/odyssey/index.js.map +1 -1
- package/dist/themes/odyssey/mixins.js.map +1 -1
- package/dist/themes/odyssey/mixins.types.js.map +1 -1
- package/dist/themes/odyssey/palette.js.map +1 -1
- package/dist/themes/odyssey/palette.types.js.map +1 -1
- package/dist/themes/odyssey/shape.d.ts.map +1 -1
- package/dist/themes/odyssey/shape.js +2 -1
- package/dist/themes/odyssey/shape.js.map +1 -1
- package/dist/themes/odyssey/spacing.js.map +1 -1
- package/dist/themes/odyssey/theme.d.ts +2 -2
- package/dist/themes/odyssey/theme.d.ts.map +1 -1
- package/dist/themes/odyssey/theme.js +8 -8
- package/dist/themes/odyssey/theme.js.map +1 -1
- package/dist/themes/odyssey/typography.js +6 -6
- package/dist/themes/odyssey/typography.js.map +1 -1
- package/dist/themes/odyssey/typography.types.d.ts +0 -1
- package/dist/themes/odyssey/typography.types.d.ts.map +1 -1
- package/dist/themes/odyssey/typography.types.js.map +1 -1
- package/dist/utils/{oid.d.ts → createUniqueId.d.ts} +3 -4
- package/dist/utils/createUniqueId.d.ts.map +1 -0
- package/dist/utils/{oid.js → createUniqueId.js} +3 -9
- package/dist/utils/createUniqueId.js.map +1 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +2 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/useUniqueId.d.ts +13 -0
- package/dist/utils/useUniqueId.d.ts.map +1 -0
- package/dist/utils/useUniqueId.js +18 -0
- package/dist/utils/useUniqueId.js.map +1 -0
- package/jest.config.cjs +1 -0
- package/package.json +8 -5
- package/src/components/Icon/ArrowUpDown.tsx +44 -0
- package/src/components/Icon/index.tsx +4 -0
- package/src/components/Link/Link.tsx +1 -1
- package/src/components/PasswordInput/PasswordInput.tsx +4 -4
- package/src/components/ThemeProvider/ThemeProvider.tsx +20 -0
- package/src/components/ThemeProvider/index.ts +13 -0
- package/src/components/index.ts +3 -2
- package/src/index.ts +80 -0
- package/src/themes/odyssey/components.tsx +362 -10
- package/src/themes/odyssey/components.types.ts +17 -1
- package/src/themes/odyssey/shape.ts +7 -1
- package/src/themes/odyssey/theme.ts +7 -7
- package/src/themes/odyssey/typography.ts +6 -6
- package/src/themes/odyssey/typography.types.ts +4 -5
- package/src/utils/{oid.test.ts → createUniqueId.test.ts} +5 -4
- package/src/utils/{oid.ts → createUniqueId.ts} +4 -9
- package/src/utils/index.ts +2 -1
- package/src/utils/useUniqueId.ts +21 -0
- package/dist/utils/oid.d.ts.map +0 -1
- package/dist/utils/oid.js.map +0 -1
|
@@ -10,7 +10,13 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
import { outlinedInputClasses } from "@mui/material/OutlinedInput";
|
|
13
|
-
import {
|
|
13
|
+
import { tableBodyClasses } from "@mui/material/TableBody";
|
|
14
|
+
import { tableCellClasses } from "@mui/material/TableCell";
|
|
15
|
+
import { tableHeadClasses } from "@mui/material/TableHead";
|
|
16
|
+
import { tableRowClasses } from "@mui/material/TableRow";
|
|
17
|
+
import { tableSortLabelClasses } from "@mui/material/TableSortLabel";
|
|
18
|
+
import { tooltipClasses } from "@mui/material/Tooltip";
|
|
19
|
+
import { AlertTriangleFilledIcon, ArrowDownIcon, CheckCircleFilledIcon, InformationCircleFilledIcon } from "../../components/Icon/index.js";
|
|
14
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
21
|
export const components = {
|
|
16
22
|
MuiAlert: {
|
|
@@ -23,247 +29,288 @@ export const components = {
|
|
|
23
29
|
}
|
|
24
30
|
},
|
|
25
31
|
styleOverrides: {
|
|
26
|
-
root:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
32
|
+
root: _ref => {
|
|
33
|
+
let {
|
|
34
|
+
ownerState,
|
|
35
|
+
theme
|
|
36
|
+
} = _ref;
|
|
37
|
+
return {
|
|
38
|
+
padding: theme.spacing(4),
|
|
39
|
+
gap: theme.spacing(4),
|
|
40
|
+
color: theme.palette.text.primary,
|
|
41
|
+
...(ownerState.severity && {
|
|
42
|
+
backgroundColor: theme.palette[ownerState.severity].lighter,
|
|
43
|
+
borderColor: theme.palette[ownerState.severity].light
|
|
44
|
+
}),
|
|
45
|
+
...(ownerState.variant === "banner" && {
|
|
46
|
+
position: "relative",
|
|
47
|
+
justifyContent: "center",
|
|
48
|
+
alignItems: "center",
|
|
49
|
+
borderWidth: 0,
|
|
50
|
+
borderRadius: 0
|
|
51
|
+
}),
|
|
52
|
+
...(ownerState.variant === "infobox" && {
|
|
53
|
+
borderStyle: theme.mixins.borderStyle,
|
|
54
|
+
borderWidth: theme.mixins.borderWidth,
|
|
55
|
+
borderRadius: theme.mixins.borderRadius,
|
|
56
|
+
"&:not(:last-child)": {
|
|
57
|
+
marginBottom: theme.spacing(4)
|
|
58
|
+
}
|
|
59
|
+
}),
|
|
60
|
+
...(ownerState.variant === "toast" && {
|
|
61
|
+
maxWidth: theme.mixins.maxWidth,
|
|
62
|
+
borderStyle: theme.mixins.borderStyle,
|
|
63
|
+
borderWidth: theme.mixins.borderWidth,
|
|
64
|
+
borderRadius: theme.mixins.borderRadius,
|
|
65
|
+
position: "relative",
|
|
66
|
+
alignItems: "start"
|
|
67
|
+
})
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
action: _ref2 => {
|
|
71
|
+
let {
|
|
72
|
+
ownerState,
|
|
73
|
+
theme
|
|
74
|
+
} = _ref2;
|
|
75
|
+
return { ...(ownerState.variant === "banner" && {
|
|
76
|
+
padding: 0,
|
|
77
|
+
marginRight: 0,
|
|
78
|
+
top: "50%",
|
|
79
|
+
right: theme.spacing(4),
|
|
80
|
+
position: "absolute",
|
|
81
|
+
transform: "translateY(-50%)"
|
|
82
|
+
}),
|
|
83
|
+
...(ownerState.variant === "toast" && {
|
|
84
|
+
position: "absolute",
|
|
85
|
+
top: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${theme.mixins.borderWidth})`,
|
|
86
|
+
right: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${theme.mixins.borderWidth})`,
|
|
87
|
+
padding: 0,
|
|
88
|
+
marginLeft: 0,
|
|
89
|
+
marginRight: 0
|
|
90
|
+
})
|
|
91
|
+
};
|
|
92
|
+
},
|
|
93
|
+
icon: _ref3 => {
|
|
94
|
+
let {
|
|
95
|
+
ownerState,
|
|
96
|
+
theme
|
|
97
|
+
} = _ref3;
|
|
98
|
+
return {
|
|
63
99
|
marginRight: 0,
|
|
64
|
-
top: "50%",
|
|
65
|
-
right: theme.spacing(4),
|
|
66
|
-
position: "absolute",
|
|
67
|
-
transform: "translateY(-50%)"
|
|
68
|
-
}),
|
|
69
|
-
...(ownerState.variant === "toast" && {
|
|
70
|
-
position: "absolute",
|
|
71
|
-
top: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${theme.mixins.borderWidth})`,
|
|
72
|
-
right: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${theme.mixins.borderWidth})`,
|
|
73
100
|
padding: 0,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}),
|
|
104
|
-
...(ownerState.variant === "toast" && {
|
|
105
|
-
flexGrow: 1
|
|
106
|
-
})
|
|
107
|
-
})
|
|
101
|
+
fontSize: "1.429rem",
|
|
102
|
+
opacity: 1,
|
|
103
|
+
...(ownerState.severity && {
|
|
104
|
+
color: theme.palette[ownerState.severity].main
|
|
105
|
+
}),
|
|
106
|
+
...(ownerState.severity === "warning" && {
|
|
107
|
+
color: theme.palette[ownerState.severity].dark
|
|
108
|
+
})
|
|
109
|
+
};
|
|
110
|
+
},
|
|
111
|
+
message: _ref4 => {
|
|
112
|
+
let {
|
|
113
|
+
ownerState,
|
|
114
|
+
theme
|
|
115
|
+
} = _ref4;
|
|
116
|
+
return {
|
|
117
|
+
padding: 0,
|
|
118
|
+
lineHeight: theme.typography.body1.lineHeight,
|
|
119
|
+
overflow: "visible",
|
|
120
|
+
...(ownerState.variant === "banner" && {
|
|
121
|
+
display: "flex",
|
|
122
|
+
justifyContent: "space-between",
|
|
123
|
+
gap: theme.spacing(4)
|
|
124
|
+
}),
|
|
125
|
+
...(ownerState.variant === "toast" && {
|
|
126
|
+
flexGrow: 1
|
|
127
|
+
})
|
|
128
|
+
};
|
|
129
|
+
}
|
|
108
130
|
}
|
|
109
131
|
},
|
|
110
132
|
MuiAlertTitle: {
|
|
111
133
|
styleOverrides: {
|
|
112
|
-
root:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
134
|
+
root: _ref5 => {
|
|
135
|
+
let {
|
|
136
|
+
theme
|
|
137
|
+
} = _ref5;
|
|
138
|
+
return {
|
|
139
|
+
marginTop: 0,
|
|
140
|
+
marginBottom: theme.spacing(1),
|
|
141
|
+
lineHeight: theme.typography.h6.lineHeight,
|
|
142
|
+
fontSize: theme.typography.h6.fontSize,
|
|
143
|
+
fontWeight: theme.typography.fontWeightBold
|
|
144
|
+
};
|
|
145
|
+
}
|
|
121
146
|
}
|
|
122
147
|
},
|
|
123
148
|
MuiButton: {
|
|
124
149
|
defaultProps: {
|
|
150
|
+
variant: "primary",
|
|
125
151
|
disableElevation: true
|
|
126
152
|
},
|
|
127
153
|
variants: [{
|
|
128
154
|
props: {
|
|
129
155
|
variant: "primary"
|
|
130
156
|
},
|
|
131
|
-
style:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
backgroundColor: theme.palette.primary.main,
|
|
138
|
-
"&:hover, &:focus-visible": {
|
|
139
|
-
backgroundColor: theme.palette.primary.dark
|
|
140
|
-
},
|
|
141
|
-
"&:focus-visible": {
|
|
142
|
-
outlineColor: theme.palette.primary.main
|
|
143
|
-
},
|
|
144
|
-
"&:active": {
|
|
145
|
-
backgroundColor: theme.palette.primary.main
|
|
146
|
-
},
|
|
147
|
-
"&:disabled": {
|
|
157
|
+
style: _ref6 => {
|
|
158
|
+
let {
|
|
159
|
+
theme
|
|
160
|
+
} = _ref6;
|
|
161
|
+
return {
|
|
162
|
+
fontWeight: 600,
|
|
148
163
|
color: theme.palette.common.white,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
164
|
+
borderColor: "transparent",
|
|
165
|
+
backgroundColor: theme.palette.primary.main,
|
|
166
|
+
"&:hover, &:focus-visible": {
|
|
167
|
+
backgroundColor: theme.palette.primary.dark
|
|
168
|
+
},
|
|
169
|
+
"&:focus-visible": {
|
|
170
|
+
outlineColor: theme.palette.primary.main
|
|
171
|
+
},
|
|
172
|
+
"&:active": {
|
|
173
|
+
backgroundColor: theme.palette.primary.main
|
|
174
|
+
},
|
|
175
|
+
"&:disabled": {
|
|
176
|
+
color: theme.palette.common.white,
|
|
177
|
+
backgroundColor: theme.palette.primary.light
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
}
|
|
152
181
|
}, {
|
|
153
182
|
props: {
|
|
154
183
|
variant: "secondary"
|
|
155
184
|
},
|
|
156
|
-
style:
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
185
|
+
style: _ref7 => {
|
|
186
|
+
let {
|
|
187
|
+
theme
|
|
188
|
+
} = _ref7;
|
|
189
|
+
return {
|
|
190
|
+
backgroundColor: theme.palette.grey[50],
|
|
191
|
+
borderColor: theme.palette.grey[200],
|
|
192
|
+
color: theme.palette.text.primary,
|
|
193
|
+
"&:hover, &:focus-visible": {
|
|
194
|
+
backgroundColor: theme.palette.primary.lighter,
|
|
195
|
+
borderColor: theme.palette.primary.light,
|
|
196
|
+
color: theme.palette.primary.main
|
|
197
|
+
},
|
|
198
|
+
"&:focus-visible": {
|
|
199
|
+
outlineColor: theme.palette.primary.main
|
|
200
|
+
},
|
|
201
|
+
"&:active": {
|
|
202
|
+
borderColor: theme.palette.primary.main
|
|
203
|
+
},
|
|
204
|
+
"&:disabled": {
|
|
205
|
+
borderColor: theme.palette.grey[100],
|
|
206
|
+
backgroundColor: theme.palette.grey[100],
|
|
207
|
+
color: theme.palette.grey[500]
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
}
|
|
179
211
|
}, {
|
|
180
212
|
props: {
|
|
181
213
|
variant: "danger"
|
|
182
214
|
},
|
|
183
|
-
style:
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
"&:hover": {
|
|
190
|
-
backgroundColor: theme.palette.error.dark
|
|
191
|
-
},
|
|
192
|
-
"&:focus-visible": {
|
|
193
|
-
outlineColor: theme.palette.error.main,
|
|
194
|
-
backgroundColor: theme.palette.error.dark
|
|
195
|
-
},
|
|
196
|
-
"&:active": {
|
|
197
|
-
backgroundColor: theme.palette.error.main
|
|
198
|
-
},
|
|
199
|
-
"&:disabled": {
|
|
215
|
+
style: _ref8 => {
|
|
216
|
+
let {
|
|
217
|
+
theme
|
|
218
|
+
} = _ref8;
|
|
219
|
+
return {
|
|
220
|
+
backgroundColor: theme.palette.error.main,
|
|
200
221
|
color: theme.palette.common.white,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
222
|
+
borderColor: "transparent",
|
|
223
|
+
"&:hover": {
|
|
224
|
+
backgroundColor: theme.palette.error.dark
|
|
225
|
+
},
|
|
226
|
+
"&:focus-visible": {
|
|
227
|
+
outlineColor: theme.palette.error.main,
|
|
228
|
+
backgroundColor: theme.palette.error.dark
|
|
229
|
+
},
|
|
230
|
+
"&:active": {
|
|
231
|
+
backgroundColor: theme.palette.error.main
|
|
232
|
+
},
|
|
233
|
+
"&:disabled": {
|
|
234
|
+
color: theme.palette.common.white,
|
|
235
|
+
backgroundColor: theme.palette.error.light
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
}
|
|
204
239
|
}, {
|
|
205
240
|
props: {
|
|
206
241
|
variant: "floating"
|
|
207
242
|
},
|
|
208
|
-
style:
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
243
|
+
style: _ref9 => {
|
|
244
|
+
let {
|
|
245
|
+
theme
|
|
246
|
+
} = _ref9;
|
|
247
|
+
return {
|
|
248
|
+
backgroundColor: theme.palette.common.white,
|
|
249
|
+
color: theme.palette.text.primary,
|
|
250
|
+
borderColor: "transparent",
|
|
251
|
+
"&:hover, &:focus-visible": {
|
|
252
|
+
backgroundColor: "rgba(29, 29, 33, 0.1)",
|
|
253
|
+
borderColor: "transparent"
|
|
254
|
+
},
|
|
255
|
+
"&:focus-visible": {
|
|
256
|
+
outlineColor: theme.palette.primary.main
|
|
257
|
+
},
|
|
258
|
+
"&:active": {
|
|
259
|
+
backgroundColor: "rgba(29, 29, 33, 0.2)",
|
|
260
|
+
borderColor: "transparent"
|
|
261
|
+
},
|
|
262
|
+
"&:disabled": {
|
|
263
|
+
backgroundColor: "rgba(235, 235, 237, 0.6)",
|
|
264
|
+
color: theme.palette.text.secondary,
|
|
265
|
+
borderColor: "transparent"
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
}
|
|
231
269
|
}, {
|
|
232
270
|
props: {
|
|
233
271
|
size: "s"
|
|
234
272
|
},
|
|
235
|
-
style:
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
273
|
+
style: _ref10 => {
|
|
274
|
+
let {
|
|
275
|
+
theme
|
|
276
|
+
} = _ref10;
|
|
277
|
+
return {
|
|
278
|
+
paddingBlock: `calc(${theme.spacing(2)} - 1px)`,
|
|
279
|
+
paddingInline: `calc(${theme.spacing(3)} - 1px)`,
|
|
280
|
+
fontSize: "1rem"
|
|
281
|
+
};
|
|
282
|
+
}
|
|
242
283
|
}, {
|
|
243
284
|
props: {
|
|
244
285
|
size: "l"
|
|
245
286
|
},
|
|
246
|
-
style:
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
287
|
+
style: _ref11 => {
|
|
288
|
+
let {
|
|
289
|
+
theme
|
|
290
|
+
} = _ref11;
|
|
291
|
+
return {
|
|
292
|
+
paddingBlock: `calc(${theme.spacing(4)} - 1px)`,
|
|
293
|
+
paddingInline: `calc(${theme.spacing(4)} - 1px)`
|
|
294
|
+
};
|
|
295
|
+
}
|
|
252
296
|
}, {
|
|
253
297
|
props: {
|
|
254
298
|
fullWidth: true
|
|
255
299
|
},
|
|
256
|
-
style:
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
300
|
+
style: _ref12 => {
|
|
301
|
+
let {
|
|
302
|
+
theme
|
|
303
|
+
} = _ref12;
|
|
304
|
+
return {
|
|
305
|
+
display: "block",
|
|
306
|
+
width: "100%",
|
|
307
|
+
marginBlock: "0",
|
|
308
|
+
marginInline: "0",
|
|
309
|
+
"&:not(:last-child)": {
|
|
310
|
+
marginBlockEnd: theme.spacing(4)
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
}
|
|
267
314
|
}, {
|
|
268
315
|
props: {
|
|
269
316
|
children: ""
|
|
@@ -276,41 +323,46 @@ export const components = {
|
|
|
276
323
|
}
|
|
277
324
|
}],
|
|
278
325
|
styleOverrides: {
|
|
279
|
-
root:
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
326
|
+
root: _ref13 => {
|
|
327
|
+
let {
|
|
328
|
+
theme
|
|
329
|
+
} = _ref13;
|
|
330
|
+
return {
|
|
331
|
+
fontWeight: 600,
|
|
332
|
+
minWidth: "unset",
|
|
333
|
+
padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,
|
|
334
|
+
display: "inline-block",
|
|
335
|
+
position: "relative",
|
|
336
|
+
marginBlock: "0",
|
|
337
|
+
marginInline: "0",
|
|
338
|
+
transitionProperty: "color, background-color, border-color, outline-offset, outline-color",
|
|
339
|
+
transitionDuration: "100ms",
|
|
340
|
+
transitionTimingFunction: "linear",
|
|
341
|
+
borderWidth: theme.mixins.borderWidth,
|
|
342
|
+
borderStyle: theme.mixins.borderStyle,
|
|
343
|
+
borderRadius: theme.mixins.borderRadius,
|
|
344
|
+
outlineColor: "transparent",
|
|
345
|
+
outlineOffset: "0",
|
|
346
|
+
fontSize: theme.typography.body1.fontSize,
|
|
347
|
+
lineHeight: "1.14285714",
|
|
348
|
+
whiteSpace: "nowrap",
|
|
349
|
+
".MuiButton-root + &": {
|
|
350
|
+
marginInlineStart: theme.spacing(2)
|
|
351
|
+
},
|
|
352
|
+
"&:focus-visible": {
|
|
353
|
+
outlineOffset: "2px",
|
|
354
|
+
outlineStyle: "solid",
|
|
355
|
+
outlineWidth: "2px"
|
|
356
|
+
},
|
|
357
|
+
"&:disabled": {
|
|
358
|
+
cursor: "not-allowed",
|
|
359
|
+
pointerEvents: "inherit"
|
|
360
|
+
},
|
|
361
|
+
".MuiButton-startIcon > *:nth-of-type(1)": {
|
|
362
|
+
fontSize: "inherit"
|
|
363
|
+
}
|
|
364
|
+
};
|
|
365
|
+
}
|
|
314
366
|
}
|
|
315
367
|
},
|
|
316
368
|
MuiButtonBase: {
|
|
@@ -330,32 +382,35 @@ export const components = {
|
|
|
330
382
|
size: "small"
|
|
331
383
|
},
|
|
332
384
|
styleOverrides: {
|
|
333
|
-
root:
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
},
|
|
340
|
-
padding: 0,
|
|
341
|
-
".Mui-error > &": {
|
|
342
|
-
color: theme.palette.error.main,
|
|
343
|
-
"&:hover": {
|
|
344
|
-
color: theme.palette.error.dark
|
|
345
|
-
}
|
|
346
|
-
},
|
|
347
|
-
".Mui-error > &.Mui-checked": {
|
|
385
|
+
root: _ref14 => {
|
|
386
|
+
let {
|
|
387
|
+
theme
|
|
388
|
+
} = _ref14;
|
|
389
|
+
return {
|
|
390
|
+
borderRadius: "4px",
|
|
348
391
|
"&:hover": {
|
|
349
|
-
|
|
392
|
+
backgroundColor: "transparent"
|
|
393
|
+
},
|
|
394
|
+
padding: 0,
|
|
395
|
+
".Mui-error > &": {
|
|
396
|
+
color: theme.palette.error.main,
|
|
397
|
+
"&:hover": {
|
|
398
|
+
color: theme.palette.error.dark
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
".Mui-error > &.Mui-checked": {
|
|
402
|
+
"&:hover": {
|
|
403
|
+
color: theme.palette.error.dark
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
"&.Mui-focusVisible": {
|
|
407
|
+
outlineColor: theme.palette.primary.main,
|
|
408
|
+
outlineOffset: 0,
|
|
409
|
+
outlineStyle: "solid",
|
|
410
|
+
outlineWidth: "2px"
|
|
350
411
|
}
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
outlineColor: theme.palette.primary.main,
|
|
354
|
-
outlineOffset: 0,
|
|
355
|
-
outlineStyle: "solid",
|
|
356
|
-
outlineWidth: "2px"
|
|
357
|
-
}
|
|
358
|
-
})
|
|
412
|
+
};
|
|
413
|
+
}
|
|
359
414
|
}
|
|
360
415
|
},
|
|
361
416
|
MuiCircularProgress: {
|
|
@@ -367,19 +422,25 @@ export const components = {
|
|
|
367
422
|
variant: "indeterminate"
|
|
368
423
|
},
|
|
369
424
|
styleOverrides: {
|
|
370
|
-
root:
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
425
|
+
root: _ref15 => {
|
|
426
|
+
let {
|
|
427
|
+
theme,
|
|
428
|
+
ownerState
|
|
429
|
+
} = _ref15;
|
|
430
|
+
return { ...(ownerState.color !== "inherit" && {
|
|
431
|
+
color: theme.palette.primary.dark
|
|
432
|
+
})
|
|
433
|
+
};
|
|
434
|
+
},
|
|
435
|
+
circle: _ref16 => {
|
|
436
|
+
let {
|
|
437
|
+
ownerState
|
|
438
|
+
} = _ref16;
|
|
439
|
+
return { ...(ownerState.variant === "indeterminate" && {
|
|
440
|
+
strokeDasharray: "160%, 360%"
|
|
441
|
+
})
|
|
442
|
+
};
|
|
443
|
+
}
|
|
383
444
|
}
|
|
384
445
|
},
|
|
385
446
|
MuiFormControl: {
|
|
@@ -387,70 +448,76 @@ export const components = {
|
|
|
387
448
|
margin: "normal"
|
|
388
449
|
},
|
|
389
450
|
styleOverrides: {
|
|
390
|
-
root:
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
marginBottom:
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
marginBottom:
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
451
|
+
root: _ref17 => {
|
|
452
|
+
let {
|
|
453
|
+
ownerState,
|
|
454
|
+
theme
|
|
455
|
+
} = _ref17;
|
|
456
|
+
return {
|
|
457
|
+
width: "100%",
|
|
458
|
+
maxWidth: "32rem",
|
|
459
|
+
...(ownerState.margin === "normal" && {
|
|
460
|
+
marginTop: 0,
|
|
461
|
+
marginBottom: theme.spacing(5),
|
|
462
|
+
"&:last-child": {
|
|
463
|
+
marginBottom: 0
|
|
464
|
+
}
|
|
465
|
+
}),
|
|
466
|
+
...(ownerState.margin === "dense" && {
|
|
467
|
+
marginTop: 0,
|
|
468
|
+
marginBottom: theme.spacing(5),
|
|
469
|
+
"&:last-child": {
|
|
470
|
+
marginBottom: 0
|
|
471
|
+
}
|
|
472
|
+
}),
|
|
473
|
+
...(ownerState.fullWidth && {
|
|
474
|
+
maxWidth: "100%"
|
|
475
|
+
})
|
|
476
|
+
};
|
|
477
|
+
}
|
|
414
478
|
}
|
|
415
479
|
},
|
|
416
480
|
MuiFormControlLabel: {
|
|
417
481
|
styleOverrides: {
|
|
418
|
-
root:
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
...(ownerState.labelPlacement === "start" && {
|
|
482
|
+
root: _ref18 => {
|
|
483
|
+
let {
|
|
484
|
+
theme,
|
|
485
|
+
ownerState
|
|
486
|
+
} = _ref18;
|
|
487
|
+
return {
|
|
488
|
+
gap: theme.spacing(2),
|
|
426
489
|
marginLeft: 0,
|
|
427
|
-
marginRight: 0
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
490
|
+
marginRight: 0,
|
|
491
|
+
...(ownerState.labelPlacement === "start" && {
|
|
492
|
+
marginLeft: 0,
|
|
493
|
+
marginRight: 0
|
|
494
|
+
}),
|
|
495
|
+
...(ownerState.labelPlacement === "top" && {
|
|
496
|
+
marginLeft: 0
|
|
497
|
+
}),
|
|
498
|
+
...(ownerState.labelPlacement === "bottom" && {
|
|
499
|
+
marginLeft: 0
|
|
500
|
+
}),
|
|
501
|
+
"&:not(:last-child)": {
|
|
502
|
+
marginBottom: theme.spacing(2)
|
|
503
|
+
},
|
|
504
|
+
"&.Mui-disabled": {
|
|
505
|
+
pointerEvents: "none"
|
|
506
|
+
},
|
|
507
|
+
"&:hover .MuiRadio-root, &:hover .MuiCheckbox-root": {
|
|
508
|
+
color: theme.palette.text.primary
|
|
509
|
+
},
|
|
510
|
+
"&:hover .MuiRadio-root.Mui-checked, &:hover .MuiCheckbox-root.Mui-checked": {
|
|
511
|
+
color: theme.palette.primary.dark
|
|
512
|
+
},
|
|
513
|
+
"&.Mui-error:hover .MuiRadio-root, &.Mui-error:hover .MuiCheckbox-root": {
|
|
514
|
+
color: theme.palette.error.dark
|
|
515
|
+
},
|
|
516
|
+
"&.Mui-error:hover .MuiRadio-root.Mui-checked, &.Mui-error:hover .MuiCheckbox-root.Mui-checked": {
|
|
517
|
+
color: theme.palette.error.dark
|
|
518
|
+
}
|
|
519
|
+
};
|
|
520
|
+
}
|
|
454
521
|
}
|
|
455
522
|
},
|
|
456
523
|
MuiFormHelperText: {
|
|
@@ -458,46 +525,75 @@ export const components = {
|
|
|
458
525
|
variant: "standard"
|
|
459
526
|
},
|
|
460
527
|
styleOverrides: {
|
|
461
|
-
root:
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
marginTop:
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
marginBottom:
|
|
473
|
-
|
|
474
|
-
|
|
528
|
+
root: _ref19 => {
|
|
529
|
+
let {
|
|
530
|
+
theme
|
|
531
|
+
} = _ref19;
|
|
532
|
+
return {
|
|
533
|
+
lineHeight: "1.33333333",
|
|
534
|
+
marginTop: theme.spacing(2),
|
|
535
|
+
".MuiFormLabel-root + &": {
|
|
536
|
+
marginTop: `-${theme.spacing(1)}`,
|
|
537
|
+
color: theme.palette.text.secondary
|
|
538
|
+
},
|
|
539
|
+
marginBottom: theme.spacing(2),
|
|
540
|
+
"&:last-child": {
|
|
541
|
+
marginBottom: 0
|
|
542
|
+
}
|
|
543
|
+
};
|
|
544
|
+
}
|
|
475
545
|
}
|
|
476
546
|
},
|
|
477
547
|
MuiFormLabel: {
|
|
478
548
|
styleOverrides: {
|
|
479
|
-
root:
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
549
|
+
root: _ref20 => {
|
|
550
|
+
let {
|
|
551
|
+
theme
|
|
552
|
+
} = _ref20;
|
|
553
|
+
return {
|
|
554
|
+
color: theme.palette.text.primary,
|
|
555
|
+
lineHeight: "1.14285714",
|
|
556
|
+
fontSize: "1rem",
|
|
557
|
+
fontWeight: 600,
|
|
558
|
+
marginBottom: theme.spacing(2),
|
|
559
|
+
"&.Mui-focused, &.Mui-error, &.Mui-disabled": {
|
|
560
|
+
color: theme.palette.text.primary
|
|
561
|
+
}
|
|
562
|
+
};
|
|
563
|
+
}
|
|
491
564
|
}
|
|
492
565
|
},
|
|
493
566
|
MuiIconButton: {
|
|
494
567
|
styleOverrides: {
|
|
495
|
-
root:
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
568
|
+
root: _ref21 => {
|
|
569
|
+
let {
|
|
570
|
+
theme
|
|
571
|
+
} = _ref21;
|
|
572
|
+
return {
|
|
573
|
+
padding: theme.spacing(1),
|
|
574
|
+
fontSize: theme.typography.body1.fontSize,
|
|
575
|
+
backgroundColor: "transparent",
|
|
576
|
+
color: theme.palette.text.primary,
|
|
577
|
+
borderColor: "transparent",
|
|
578
|
+
borderRadius: theme.mixins.borderRadius,
|
|
579
|
+
"&:hover, &:focus-visible": {
|
|
580
|
+
backgroundColor: "rgba(29, 29, 33, 0.1)",
|
|
581
|
+
borderColor: "transparent"
|
|
582
|
+
},
|
|
583
|
+
"&:focus-visible": {
|
|
584
|
+
outlineColor: theme.palette.primary.main
|
|
585
|
+
},
|
|
586
|
+
"&:active": {
|
|
587
|
+
backgroundColor: "rgba(29, 29, 33, 0.2)",
|
|
588
|
+
borderColor: "transparent"
|
|
589
|
+
},
|
|
590
|
+
"&:disabled": {
|
|
591
|
+
backgroundColor: "rgba(235, 235, 237, 0.6)",
|
|
592
|
+
color: theme.palette.text.secondary,
|
|
593
|
+
borderColor: "transparent"
|
|
594
|
+
}
|
|
595
|
+
};
|
|
596
|
+
}
|
|
501
597
|
}
|
|
502
598
|
},
|
|
503
599
|
MuiInputAdornment: {
|
|
@@ -505,23 +601,35 @@ export const components = {
|
|
|
505
601
|
variant: "outlined"
|
|
506
602
|
},
|
|
507
603
|
styleOverrides: {
|
|
508
|
-
root:
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
604
|
+
root: _ref22 => {
|
|
605
|
+
let {
|
|
606
|
+
ownerState
|
|
607
|
+
} = _ref22;
|
|
608
|
+
return {
|
|
609
|
+
display: "flex",
|
|
610
|
+
...(ownerState.position === "start" && {
|
|
611
|
+
marginRight: 0
|
|
612
|
+
}),
|
|
613
|
+
...(ownerState.position === "end" && {
|
|
614
|
+
marginLeft: 0
|
|
615
|
+
})
|
|
616
|
+
};
|
|
617
|
+
}
|
|
519
618
|
}
|
|
520
619
|
},
|
|
521
620
|
MuiInputBase: {
|
|
522
621
|
styleOverrides: {
|
|
523
|
-
root: {
|
|
524
|
-
|
|
622
|
+
root: _ref23 => {
|
|
623
|
+
let {
|
|
624
|
+
ownerState,
|
|
625
|
+
theme
|
|
626
|
+
} = _ref23;
|
|
627
|
+
return {
|
|
628
|
+
lineHeight: "1.14285714",
|
|
629
|
+
...(ownerState.readOnly === true && {
|
|
630
|
+
backgroundColor: theme.palette.grey[50]
|
|
631
|
+
})
|
|
632
|
+
};
|
|
525
633
|
},
|
|
526
634
|
input: {
|
|
527
635
|
boxSizing: "border-box",
|
|
@@ -535,86 +643,95 @@ export const components = {
|
|
|
535
643
|
shrink: false
|
|
536
644
|
},
|
|
537
645
|
styleOverrides: {
|
|
538
|
-
root:
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
...(ownerState.variant === "outlined" && {
|
|
545
|
-
pointerEvents: "initial",
|
|
546
|
-
transform: "none",
|
|
547
|
-
maxWidth: "100%",
|
|
548
|
-
...(ownerState.size === "small" && {
|
|
646
|
+
root: _ref24 => {
|
|
647
|
+
let {
|
|
648
|
+
ownerState
|
|
649
|
+
} = _ref24;
|
|
650
|
+
return { ...(ownerState.formControl && {
|
|
651
|
+
position: "initial",
|
|
549
652
|
transform: "none"
|
|
653
|
+
}),
|
|
654
|
+
...(ownerState.variant === "outlined" && {
|
|
655
|
+
pointerEvents: "initial",
|
|
656
|
+
transform: "none",
|
|
657
|
+
maxWidth: "100%",
|
|
658
|
+
...(ownerState.size === "small" && {
|
|
659
|
+
transform: "none"
|
|
660
|
+
})
|
|
550
661
|
})
|
|
551
|
-
}
|
|
552
|
-
}
|
|
662
|
+
};
|
|
663
|
+
}
|
|
553
664
|
}
|
|
554
665
|
},
|
|
555
666
|
MuiLink: {
|
|
556
667
|
styleOverrides: {
|
|
557
|
-
root:
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
"&:hover": {
|
|
668
|
+
root: _ref25 => {
|
|
669
|
+
let {
|
|
670
|
+
theme
|
|
671
|
+
} = _ref25;
|
|
672
|
+
return {
|
|
563
673
|
color: theme.palette.primary.main,
|
|
564
|
-
textDecoration: "
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
674
|
+
textDecoration: "none",
|
|
675
|
+
"&:hover": {
|
|
676
|
+
color: theme.palette.primary.main,
|
|
677
|
+
textDecoration: "underline"
|
|
678
|
+
},
|
|
679
|
+
"&:focus-visible": {
|
|
680
|
+
outlineColor: theme.palette.primary.main,
|
|
681
|
+
outlineOffset: "2px",
|
|
682
|
+
outlineStyle: "solid",
|
|
683
|
+
outlineWidth: "1px"
|
|
684
|
+
},
|
|
685
|
+
"&:visited": {
|
|
686
|
+
color: theme.palette.primary.main
|
|
687
|
+
},
|
|
688
|
+
".Link-indicator, .Link-icon": {
|
|
689
|
+
display: "inline-block",
|
|
690
|
+
height: "1em",
|
|
691
|
+
lineHeight: 1
|
|
692
|
+
},
|
|
693
|
+
".Link-indicator": {
|
|
694
|
+
marginInlineStart: theme.spacing(2)
|
|
695
|
+
},
|
|
696
|
+
".Link-icon": {
|
|
697
|
+
marginInlineEnd: theme.spacing(2)
|
|
698
|
+
},
|
|
699
|
+
svg: {
|
|
700
|
+
fontSize: "1rem",
|
|
701
|
+
height: "1em",
|
|
702
|
+
position: "relative",
|
|
703
|
+
top: "-0.0625em",
|
|
704
|
+
verticalAlign: "middle",
|
|
705
|
+
width: "1em"
|
|
706
|
+
}
|
|
707
|
+
};
|
|
708
|
+
}
|
|
595
709
|
},
|
|
596
710
|
variants: [{
|
|
597
711
|
props: {
|
|
598
712
|
variant: "monochrome"
|
|
599
713
|
},
|
|
600
|
-
style:
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
714
|
+
style: _ref26 => {
|
|
715
|
+
let {
|
|
716
|
+
theme
|
|
717
|
+
} = _ref26;
|
|
718
|
+
return {
|
|
719
|
+
color: theme.palette.text.primary,
|
|
720
|
+
textDecoration: "underline",
|
|
721
|
+
"&:hover": {
|
|
722
|
+
color: theme.palette.text.secondary
|
|
723
|
+
},
|
|
724
|
+
"&:focus-visible": {
|
|
725
|
+
outlineColor: theme.palette.primary.main,
|
|
726
|
+
outlineOffset: "2px",
|
|
727
|
+
outlineStyle: "solid",
|
|
728
|
+
outlineWidth: "1px"
|
|
729
|
+
},
|
|
730
|
+
"&:visited": {
|
|
731
|
+
color: theme.palette.text.primary
|
|
732
|
+
}
|
|
733
|
+
};
|
|
734
|
+
}
|
|
618
735
|
}]
|
|
619
736
|
},
|
|
620
737
|
MuiNativeSelect: {
|
|
@@ -622,11 +739,14 @@ export const components = {
|
|
|
622
739
|
variant: "outlined"
|
|
623
740
|
},
|
|
624
741
|
styleOverrides: {
|
|
625
|
-
icon:
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
742
|
+
icon: _ref27 => {
|
|
743
|
+
let {
|
|
744
|
+
theme
|
|
745
|
+
} = _ref27;
|
|
746
|
+
return {
|
|
747
|
+
color: theme.palette.text.primary
|
|
748
|
+
};
|
|
749
|
+
}
|
|
630
750
|
}
|
|
631
751
|
},
|
|
632
752
|
MuiOutlinedInput: {
|
|
@@ -635,59 +755,69 @@ export const components = {
|
|
|
635
755
|
minRows: 3
|
|
636
756
|
},
|
|
637
757
|
styleOverrides: {
|
|
638
|
-
root:
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
758
|
+
root: _ref28 => {
|
|
759
|
+
let {
|
|
760
|
+
ownerState,
|
|
761
|
+
theme
|
|
762
|
+
} = _ref28;
|
|
763
|
+
return {
|
|
764
|
+
[`&:hover .${outlinedInputClasses.notchedOutline}`]: {
|
|
765
|
+
borderColor: theme.palette.text.primary
|
|
766
|
+
},
|
|
767
|
+
[`&.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {
|
|
768
|
+
borderColor: theme.palette.primary.main,
|
|
769
|
+
borderWidth: 2
|
|
770
|
+
},
|
|
771
|
+
[`&.${outlinedInputClasses.error} .${outlinedInputClasses.notchedOutline}`]: {
|
|
772
|
+
borderColor: theme.palette.error.main
|
|
773
|
+
},
|
|
774
|
+
[`&.${outlinedInputClasses.error}:hover .${outlinedInputClasses.notchedOutline}`]: {
|
|
775
|
+
borderColor: theme.palette.error.dark
|
|
776
|
+
},
|
|
777
|
+
[`&.${outlinedInputClasses.error}.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {
|
|
778
|
+
borderColor: theme.palette.error.main
|
|
779
|
+
},
|
|
780
|
+
[`&.${outlinedInputClasses.disabled} .${outlinedInputClasses.notchedOutline}`]: {
|
|
781
|
+
borderColor: theme.palette.action.disabled,
|
|
782
|
+
pointerEvents: "auto"
|
|
783
|
+
},
|
|
784
|
+
[`&.${outlinedInputClasses.disabled}`]: {
|
|
785
|
+
backgroundColor: theme.palette.grey[50],
|
|
786
|
+
cursor: "not-allowed"
|
|
787
|
+
},
|
|
788
|
+
...(ownerState.startAdornment && {
|
|
789
|
+
paddingLeft: theme.spacing(3)
|
|
790
|
+
}),
|
|
791
|
+
...(ownerState.endAdornment && {
|
|
792
|
+
paddingRight: theme.spacing(3)
|
|
793
|
+
}),
|
|
794
|
+
...(ownerState.multiline && {
|
|
795
|
+
padding: "0",
|
|
796
|
+
...(ownerState.size === "small" && {
|
|
797
|
+
padding: "0"
|
|
798
|
+
})
|
|
675
799
|
})
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
input:
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
|
|
800
|
+
};
|
|
801
|
+
},
|
|
802
|
+
input: _ref29 => {
|
|
803
|
+
let {
|
|
804
|
+
theme
|
|
805
|
+
} = _ref29;
|
|
806
|
+
return {
|
|
807
|
+
padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,
|
|
808
|
+
borderWidth: theme.mixins.borderWidth,
|
|
809
|
+
borderStyle: theme.mixins.borderStyle,
|
|
810
|
+
borderColor: "transparent"
|
|
811
|
+
};
|
|
812
|
+
},
|
|
813
|
+
notchedOutline: _ref30 => {
|
|
814
|
+
let {
|
|
815
|
+
theme
|
|
816
|
+
} = _ref30;
|
|
817
|
+
return {
|
|
818
|
+
borderColor: theme.palette.grey[500]
|
|
819
|
+
};
|
|
820
|
+
}
|
|
691
821
|
}
|
|
692
822
|
},
|
|
693
823
|
MuiRadio: {
|
|
@@ -695,26 +825,29 @@ export const components = {
|
|
|
695
825
|
size: "small"
|
|
696
826
|
},
|
|
697
827
|
styleOverrides: {
|
|
698
|
-
root:
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
},
|
|
704
|
-
padding: 0,
|
|
705
|
-
".Mui-error > &": {
|
|
706
|
-
color: theme.palette.error.main,
|
|
828
|
+
root: _ref31 => {
|
|
829
|
+
let {
|
|
830
|
+
theme
|
|
831
|
+
} = _ref31;
|
|
832
|
+
return {
|
|
707
833
|
"&:hover": {
|
|
708
|
-
|
|
834
|
+
backgroundColor: "transparent"
|
|
835
|
+
},
|
|
836
|
+
padding: 0,
|
|
837
|
+
".Mui-error > &": {
|
|
838
|
+
color: theme.palette.error.main,
|
|
839
|
+
"&:hover": {
|
|
840
|
+
color: theme.palette.error.dark
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
"&.Mui-focusVisible": {
|
|
844
|
+
outlineColor: theme.palette.primary.main,
|
|
845
|
+
outlineOffset: 0,
|
|
846
|
+
outlineStyle: "solid",
|
|
847
|
+
outlineWidth: "2px"
|
|
709
848
|
}
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
outlineColor: theme.palette.primary.main,
|
|
713
|
-
outlineOffset: 0,
|
|
714
|
-
outlineStyle: "solid",
|
|
715
|
-
outlineWidth: "2px"
|
|
716
|
-
}
|
|
717
|
-
})
|
|
849
|
+
};
|
|
850
|
+
}
|
|
718
851
|
}
|
|
719
852
|
},
|
|
720
853
|
MuiSnackbar: {
|
|
@@ -736,73 +869,402 @@ export const components = {
|
|
|
736
869
|
iconPosition: "start"
|
|
737
870
|
},
|
|
738
871
|
styleOverrides: {
|
|
739
|
-
root:
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
},
|
|
763
|
-
"&:focus-visible::before, &.Mui-focusVisible::before": {
|
|
764
|
-
content: "''",
|
|
765
|
-
position: "absolute",
|
|
766
|
-
top: theme.spacing(4),
|
|
767
|
-
right: `calc(-1 * ${theme.spacing(2)})`,
|
|
768
|
-
bottom: theme.spacing(4),
|
|
769
|
-
left: `calc(-1 * ${theme.spacing(2)})`,
|
|
770
|
-
borderWidth: theme.mixins.borderWidth,
|
|
771
|
-
borderStyle: theme.mixins.borderStyle,
|
|
772
|
-
borderColor: theme.palette.primary.main,
|
|
773
|
-
borderRadius: theme.mixins.borderRadius
|
|
774
|
-
},
|
|
775
|
-
"&.Mui-selected": {
|
|
776
|
-
color: theme.palette.text.primary,
|
|
777
|
-
fontWeight: theme.typography.fontWeightBold,
|
|
872
|
+
root: _ref32 => {
|
|
873
|
+
let {
|
|
874
|
+
theme,
|
|
875
|
+
ownerState
|
|
876
|
+
} = _ref32;
|
|
877
|
+
return {
|
|
878
|
+
maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
|
|
879
|
+
minWidth: "unset",
|
|
880
|
+
minHeight: "unset",
|
|
881
|
+
padding: `${theme.spacing(4)} 0`,
|
|
882
|
+
lineHeight: theme.typography.body1.lineHeight,
|
|
883
|
+
overflow: "visible",
|
|
884
|
+
...(ownerState.selected == true && {
|
|
885
|
+
color: theme.palette.text.primary
|
|
886
|
+
}),
|
|
887
|
+
...(ownerState.textColor === "inherit" && {
|
|
888
|
+
color: "inherit",
|
|
889
|
+
opacity: 1
|
|
890
|
+
}),
|
|
891
|
+
...(ownerState.wrapped && {
|
|
892
|
+
fontSize: theme.typography.subtitle1.fontSize,
|
|
893
|
+
lineHeight: theme.typography.subtitle1.lineHeight
|
|
894
|
+
}),
|
|
778
895
|
"&:hover": {
|
|
779
896
|
color: theme.palette.primary.main
|
|
897
|
+
},
|
|
898
|
+
"&:focus-visible::before, &.Mui-focusVisible::before": {
|
|
899
|
+
content: "''",
|
|
900
|
+
position: "absolute",
|
|
901
|
+
top: theme.spacing(4),
|
|
902
|
+
right: `calc(-1 * ${theme.spacing(2)})`,
|
|
903
|
+
bottom: theme.spacing(4),
|
|
904
|
+
left: `calc(-1 * ${theme.spacing(2)})`,
|
|
905
|
+
borderWidth: theme.mixins.borderWidth,
|
|
906
|
+
borderStyle: theme.mixins.borderStyle,
|
|
907
|
+
borderColor: theme.palette.primary.main,
|
|
908
|
+
borderRadius: theme.mixins.borderRadius
|
|
909
|
+
},
|
|
910
|
+
"&.Mui-selected": {
|
|
911
|
+
color: theme.palette.text.primary,
|
|
912
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
913
|
+
"&:hover": {
|
|
914
|
+
color: theme.palette.primary.main
|
|
915
|
+
}
|
|
916
|
+
},
|
|
917
|
+
"&.Mui-disabled": {
|
|
918
|
+
cursor: "not-allowed",
|
|
919
|
+
pointerEvents: "unset",
|
|
920
|
+
"&:hover": {
|
|
921
|
+
color: theme.palette.text.disabled
|
|
922
|
+
}
|
|
780
923
|
}
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
924
|
+
};
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
MuiTabPanel: {
|
|
929
|
+
styleOverrides: {
|
|
930
|
+
root: {
|
|
931
|
+
padding: 0
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
MuiTable: {
|
|
936
|
+
styleOverrides: {
|
|
937
|
+
root: _ref33 => {
|
|
938
|
+
let {
|
|
939
|
+
theme,
|
|
940
|
+
ownerState
|
|
941
|
+
} = _ref33;
|
|
942
|
+
return {
|
|
943
|
+
display: "table",
|
|
944
|
+
width: "auto",
|
|
945
|
+
borderCollapse: "separate",
|
|
946
|
+
borderSpacing: 0,
|
|
947
|
+
border: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.grey[100]}`,
|
|
948
|
+
borderRadius: theme.mixins.borderRadius,
|
|
949
|
+
marginBlock: theme.spacing(0),
|
|
950
|
+
marginInline: theme.spacing(0),
|
|
951
|
+
lineHeight: "1.14285714",
|
|
952
|
+
"&:only-child": {
|
|
953
|
+
marginBlockEnd: 0
|
|
954
|
+
},
|
|
955
|
+
...(ownerState.stickyHeader && {
|
|
956
|
+
borderCollapse: "separate"
|
|
957
|
+
})
|
|
958
|
+
};
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
MuiTableCell: {
|
|
963
|
+
styleOverrides: {
|
|
964
|
+
root: _ref34 => {
|
|
965
|
+
let {
|
|
966
|
+
theme,
|
|
967
|
+
ownerState
|
|
968
|
+
} = _ref34;
|
|
969
|
+
return { ...theme.typography.body1,
|
|
970
|
+
maxWidth: theme.mixins.maxWidth,
|
|
971
|
+
borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.grey[100]}`,
|
|
972
|
+
textAlign: "start",
|
|
973
|
+
verticalAlign: "baseline",
|
|
974
|
+
padding: "unset",
|
|
975
|
+
paddingBlock: theme.spacing(4),
|
|
976
|
+
paddingInline: theme.spacing(4),
|
|
977
|
+
overflowWrap: "break-word",
|
|
978
|
+
[`.${tableRowClasses.root}:hover &[rowspan]`]: {
|
|
979
|
+
backgroundColor: theme.palette.common.white
|
|
980
|
+
},
|
|
981
|
+
[`.${tableBodyClasses.root} .${tableRowClasses.root}:last-of-type &`]: {
|
|
982
|
+
borderBottom: 0
|
|
983
|
+
},
|
|
984
|
+
[`.${tableRowClasses.selected} &`]: {
|
|
985
|
+
borderBottomColor: theme.palette.primary.light
|
|
986
|
+
},
|
|
987
|
+
[`.${tableRowClasses.selected}:hover &`]: {
|
|
988
|
+
borderBottomColor: theme.palette.primary.main
|
|
989
|
+
},
|
|
990
|
+
...(ownerState.variant === "action" && {
|
|
991
|
+
paddingBlock: 0
|
|
992
|
+
}),
|
|
993
|
+
...(ownerState.variant === "body" && {
|
|
994
|
+
color: theme.palette.text.primary
|
|
995
|
+
}),
|
|
996
|
+
...(ownerState.variant === "date" && {
|
|
997
|
+
whiteSpace: "nowrap"
|
|
998
|
+
}),
|
|
999
|
+
...(ownerState.variant === "footer" && {
|
|
1000
|
+
color: theme.palette.text.secondary,
|
|
1001
|
+
lineHeight: theme.typography.body1.lineHeight,
|
|
1002
|
+
fontSize: theme.typography.body1.fontSize
|
|
1003
|
+
}),
|
|
1004
|
+
[`.${tableHeadClasses.root} &`]: {
|
|
1005
|
+
color: theme.palette.text.secondary,
|
|
1006
|
+
lineHeight: theme.typography.body1.lineHeight,
|
|
1007
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
1008
|
+
backgroundColor: theme.palette.grey[50]
|
|
1009
|
+
},
|
|
1010
|
+
...(ownerState.variant === "head" && {
|
|
1011
|
+
lineHeight: theme.typography.body1.lineHeight,
|
|
1012
|
+
fontWeight: theme.typography.fontWeightBold
|
|
1013
|
+
}),
|
|
1014
|
+
...(ownerState.variant === "number" && {
|
|
1015
|
+
textAlign: "right",
|
|
1016
|
+
fontFeatureSettings: '"lnum", "tnum"'
|
|
1017
|
+
}),
|
|
1018
|
+
...(ownerState.padding === "checkbox" && {
|
|
1019
|
+
width: 48,
|
|
1020
|
+
padding: "0 0 0 4px"
|
|
1021
|
+
}),
|
|
1022
|
+
...(ownerState.padding === "none" && {
|
|
1023
|
+
padding: 0
|
|
1024
|
+
}),
|
|
1025
|
+
...(ownerState.align === "left" && {
|
|
1026
|
+
textAlign: "left"
|
|
1027
|
+
}),
|
|
1028
|
+
...(ownerState.align === "center" && {
|
|
1029
|
+
textAlign: "center"
|
|
1030
|
+
}),
|
|
1031
|
+
...(ownerState.align === "right" && {
|
|
1032
|
+
textAlign: "right",
|
|
1033
|
+
flexDirection: "row-reverse"
|
|
1034
|
+
}),
|
|
1035
|
+
...(ownerState.align === "justify" && {
|
|
1036
|
+
textAlign: "justify"
|
|
1037
|
+
})
|
|
1038
|
+
};
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
MuiTableContainer: {
|
|
1043
|
+
styleOverrides: {
|
|
1044
|
+
root: _ref35 => {
|
|
1045
|
+
let {
|
|
1046
|
+
theme
|
|
1047
|
+
} = _ref35;
|
|
1048
|
+
return {
|
|
1049
|
+
width: "unset",
|
|
1050
|
+
maxWidth: "100%",
|
|
1051
|
+
marginBlockStart: theme.spacing(0),
|
|
1052
|
+
marginBlockEnd: theme.spacing(4),
|
|
1053
|
+
marginInline: 0,
|
|
1054
|
+
overflowX: "auto",
|
|
1055
|
+
"&:last-child": {
|
|
1056
|
+
marginBlock: 0
|
|
1057
|
+
}
|
|
1058
|
+
};
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
1062
|
+
MuiTableRow: {
|
|
1063
|
+
styleOverrides: {
|
|
1064
|
+
root: _ref36 => {
|
|
1065
|
+
let {
|
|
1066
|
+
theme
|
|
1067
|
+
} = _ref36;
|
|
1068
|
+
return {
|
|
1069
|
+
verticalAlign: "unset",
|
|
1070
|
+
[`&.${tableRowClasses.root}:hover`]: {
|
|
1071
|
+
backgroundColor: theme.palette.grey[50]
|
|
1072
|
+
},
|
|
1073
|
+
[`&.${tableRowClasses.selected}`]: {
|
|
1074
|
+
backgroundColor: theme.palette.primary.lighter,
|
|
1075
|
+
"&:hover": {
|
|
1076
|
+
backgroundColor: theme.palette.primary.lighter
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
};
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
MuiTableSortLabel: {
|
|
1084
|
+
defaultProps: {
|
|
1085
|
+
IconComponent: ArrowDownIcon
|
|
1086
|
+
},
|
|
1087
|
+
styleOverrides: {
|
|
1088
|
+
root: _ref37 => {
|
|
1089
|
+
let {
|
|
1090
|
+
theme
|
|
1091
|
+
} = _ref37;
|
|
1092
|
+
return {
|
|
1093
|
+
cursor: "pointer",
|
|
1094
|
+
display: "inline-flex",
|
|
1095
|
+
justifyContent: "flex-start",
|
|
1096
|
+
flexDirection: "inherit",
|
|
1097
|
+
alignItems: "center",
|
|
1098
|
+
"&:focus-visible": {
|
|
1099
|
+
color: theme.palette.text.primary,
|
|
1100
|
+
outlineOffset: theme.spacing(4),
|
|
1101
|
+
outlineStyle: "solid",
|
|
1102
|
+
outlineWidth: "2px",
|
|
1103
|
+
outlineColor: theme.palette.primary.main
|
|
1104
|
+
},
|
|
785
1105
|
"&:hover": {
|
|
786
|
-
color: theme.palette.text.
|
|
1106
|
+
color: theme.palette.text.primary,
|
|
1107
|
+
[`& .${tableSortLabelClasses.icon}`]: {
|
|
1108
|
+
opacity: 1
|
|
1109
|
+
}
|
|
1110
|
+
},
|
|
1111
|
+
[`&.${tableSortLabelClasses.active}`]: {
|
|
1112
|
+
color: theme.palette.text.secondary,
|
|
1113
|
+
[`& .${tableSortLabelClasses.icon}`]: {
|
|
1114
|
+
opacity: 1,
|
|
1115
|
+
color: "inherit"
|
|
1116
|
+
}
|
|
787
1117
|
}
|
|
788
|
-
}
|
|
789
|
-
}
|
|
1118
|
+
};
|
|
1119
|
+
},
|
|
1120
|
+
icon: _ref38 => {
|
|
1121
|
+
let {
|
|
1122
|
+
theme,
|
|
1123
|
+
ownerState
|
|
1124
|
+
} = _ref38;
|
|
1125
|
+
return {
|
|
1126
|
+
fontSize: "inherit",
|
|
1127
|
+
marginRight: 0,
|
|
1128
|
+
marginLeft: 0,
|
|
1129
|
+
opacity: 0,
|
|
1130
|
+
color: "inherit",
|
|
1131
|
+
transition: theme.transitions.create(["opacity", "transform"], {
|
|
1132
|
+
duration: theme.transitions.duration.shorter
|
|
1133
|
+
}),
|
|
1134
|
+
userSelect: "none",
|
|
1135
|
+
[`.${tableCellClasses.alignRight} &`]: {
|
|
1136
|
+
marginInlineEnd: theme.spacing(2)
|
|
1137
|
+
},
|
|
1138
|
+
[`.${tableCellClasses.alignLeft} &`]: {
|
|
1139
|
+
marginInlineStart: theme.spacing(2)
|
|
1140
|
+
},
|
|
1141
|
+
...(ownerState.direction === "desc" && {
|
|
1142
|
+
transform: "rotate(0deg)"
|
|
1143
|
+
}),
|
|
1144
|
+
...(ownerState.direction === "asc" && {
|
|
1145
|
+
transform: "rotate(180deg)"
|
|
1146
|
+
})
|
|
1147
|
+
};
|
|
1148
|
+
}
|
|
790
1149
|
}
|
|
791
1150
|
},
|
|
792
1151
|
MuiTabs: {
|
|
793
1152
|
styleOverrides: {
|
|
794
|
-
root:
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
1153
|
+
root: _ref39 => {
|
|
1154
|
+
let {
|
|
1155
|
+
theme
|
|
1156
|
+
} = _ref39;
|
|
1157
|
+
return {
|
|
1158
|
+
minHeight: "unset",
|
|
1159
|
+
marginBottom: theme.spacing(5)
|
|
1160
|
+
};
|
|
1161
|
+
},
|
|
1162
|
+
flexContainer: _ref40 => {
|
|
1163
|
+
let {
|
|
1164
|
+
theme
|
|
1165
|
+
} = _ref40;
|
|
1166
|
+
return {
|
|
1167
|
+
gap: theme.spacing(5),
|
|
1168
|
+
borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.divider}`
|
|
1169
|
+
};
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
},
|
|
1173
|
+
MuiTooltip: {
|
|
1174
|
+
defaultProps: {
|
|
1175
|
+
arrow: true,
|
|
1176
|
+
enterDelay: 500,
|
|
1177
|
+
enterNextDelay: 250,
|
|
1178
|
+
placement: "top"
|
|
1179
|
+
},
|
|
1180
|
+
styleOverrides: {
|
|
1181
|
+
tooltip: _ref41 => {
|
|
1182
|
+
let {
|
|
1183
|
+
theme,
|
|
1184
|
+
ownerState
|
|
1185
|
+
} = _ref41;
|
|
1186
|
+
return {
|
|
1187
|
+
maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
|
|
1188
|
+
paddingBlock: theme.spacing(2),
|
|
1189
|
+
paddingInline: theme.spacing(3),
|
|
1190
|
+
backgroundColor: theme.palette.grey[900],
|
|
1191
|
+
color: theme.palette.common.white,
|
|
1192
|
+
fontSize: theme.typography.subtitle1.fontSize,
|
|
1193
|
+
lineHeight: theme.typography.subtitle1.lineHeight,
|
|
1194
|
+
...(ownerState.touch === true && {
|
|
1195
|
+
paddingBlock: theme.spacing(2),
|
|
1196
|
+
paddingInline: theme.spacing(3),
|
|
1197
|
+
fontSize: theme.typography.subtitle1.fontSize,
|
|
1198
|
+
lineHeight: theme.typography.subtitle1.lineHeight,
|
|
1199
|
+
fontWeight: theme.typography.fontWeightRegular
|
|
1200
|
+
}),
|
|
1201
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="left"] &`]: {
|
|
1202
|
+
transformOrigin: "right center",
|
|
1203
|
+
...(ownerState.isRtl ? {
|
|
1204
|
+
marginLeft: theme.spacing(3),
|
|
1205
|
+
...(ownerState.touch === true && {
|
|
1206
|
+
marginLeft: theme.spacing(4)
|
|
1207
|
+
})
|
|
1208
|
+
} : {
|
|
1209
|
+
marginRight: theme.spacing(3),
|
|
1210
|
+
...(ownerState.touch === true && {
|
|
1211
|
+
marginRight: theme.spacing(4)
|
|
1212
|
+
})
|
|
1213
|
+
})
|
|
1214
|
+
},
|
|
1215
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="right"] &`]: {
|
|
1216
|
+
transformOrigin: "left center",
|
|
1217
|
+
...(ownerState.isRtl ? {
|
|
1218
|
+
marginRight: theme.spacing(3),
|
|
1219
|
+
...(ownerState.touch === true && {
|
|
1220
|
+
marginRight: theme.spacing(4)
|
|
1221
|
+
})
|
|
1222
|
+
} : {
|
|
1223
|
+
marginLeft: theme.spacing(3),
|
|
1224
|
+
...(ownerState.touch === true && {
|
|
1225
|
+
marginLeft: theme.spacing(4)
|
|
1226
|
+
})
|
|
1227
|
+
})
|
|
1228
|
+
},
|
|
1229
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="top"] &`]: {
|
|
1230
|
+
transformOrigin: "center bottom",
|
|
1231
|
+
marginBottom: theme.spacing(3),
|
|
1232
|
+
...(ownerState.touch === true && {
|
|
1233
|
+
marginBottom: theme.spacing(4)
|
|
1234
|
+
})
|
|
1235
|
+
},
|
|
1236
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="bottom"] &`]: {
|
|
1237
|
+
transformOrigin: "center top",
|
|
1238
|
+
marginTop: theme.spacing(3),
|
|
1239
|
+
...(ownerState.touch === true && {
|
|
1240
|
+
marginTop: theme.spacing(4)
|
|
1241
|
+
})
|
|
1242
|
+
}
|
|
1243
|
+
};
|
|
1244
|
+
},
|
|
1245
|
+
arrow: _ref42 => {
|
|
1246
|
+
let {
|
|
1247
|
+
theme
|
|
1248
|
+
} = _ref42;
|
|
1249
|
+
return {
|
|
1250
|
+
color: theme.palette.grey[900],
|
|
1251
|
+
"&::before": {
|
|
1252
|
+
borderRadius: "0"
|
|
1253
|
+
},
|
|
1254
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="top"] &::before`]: {
|
|
1255
|
+
borderRadius: `0 0 3px 0`
|
|
1256
|
+
},
|
|
1257
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="right"] &::before`]: {
|
|
1258
|
+
borderRadius: `0 0 0 3px`
|
|
1259
|
+
},
|
|
1260
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="bottom"] &::before`]: {
|
|
1261
|
+
borderRadius: `3px 0 0 0`
|
|
1262
|
+
},
|
|
1263
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="left"] &::before`]: {
|
|
1264
|
+
borderRadius: `0 3px 0 0`
|
|
1265
|
+
}
|
|
1266
|
+
};
|
|
1267
|
+
}
|
|
806
1268
|
}
|
|
807
1269
|
},
|
|
808
1270
|
MuiTypography: {
|
|
@@ -823,29 +1285,35 @@ export const components = {
|
|
|
823
1285
|
}
|
|
824
1286
|
},
|
|
825
1287
|
styleOverrides: {
|
|
826
|
-
paragraph:
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
1288
|
+
paragraph: _ref43 => {
|
|
1289
|
+
let {
|
|
1290
|
+
theme
|
|
1291
|
+
} = _ref43;
|
|
1292
|
+
return {
|
|
1293
|
+
marginBottom: theme.spacing(4)
|
|
1294
|
+
};
|
|
1295
|
+
},
|
|
1296
|
+
root: _ref44 => {
|
|
1297
|
+
let {
|
|
1298
|
+
theme,
|
|
1299
|
+
ownerState
|
|
1300
|
+
} = _ref44;
|
|
1301
|
+
return { ...(ownerState.variant === "kbd" && {
|
|
1302
|
+
display: "inline-block",
|
|
1303
|
+
minWidth: `calc(${theme.typography.subtitle1.fontSize} * ${theme.typography.h5.lineHeight})`,
|
|
1304
|
+
borderStyle: theme.mixins.borderStyle,
|
|
1305
|
+
borderWidth: theme.mixins.borderWidth,
|
|
1306
|
+
borderRadius: theme.mixins.borderRadius,
|
|
1307
|
+
borderColor: theme.palette.grey[200],
|
|
1308
|
+
backgroundColor: theme.palette.grey[50],
|
|
1309
|
+
padding: `calc(${theme.spacing(1)} / 2) ${theme.spacing(1)}`,
|
|
1310
|
+
fontSize: theme.typography.subtitle1.fontSize,
|
|
1311
|
+
fontWeight: theme.typography.fontWeightRegular,
|
|
1312
|
+
lineHeight: theme.typography.h5.lineHeight,
|
|
1313
|
+
boxShadow: `0 1px 1px 0 hsla(240, 6%, 12%, 0.05)`
|
|
1314
|
+
})
|
|
1315
|
+
};
|
|
1316
|
+
}
|
|
849
1317
|
}
|
|
850
1318
|
}
|
|
851
1319
|
};
|