@okta/odyssey-react-mui 0.17.0 → 0.19.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 +168 -0
- package/README.md +4 -20
- package/dist/Banner.d.ts +47 -0
- package/dist/Banner.d.ts.map +1 -0
- package/dist/Banner.js +41 -0
- package/dist/Banner.js.map +1 -0
- package/dist/Infobox.d.ts +36 -0
- package/dist/Infobox.d.ts.map +1 -0
- package/dist/Infobox.js +36 -0
- package/dist/Infobox.js.map +1 -0
- package/dist/Link.d.ts +1 -1
- package/dist/Link.d.ts.map +1 -1
- package/dist/Link.js +16 -2
- package/dist/Link.js.map +1 -1
- package/dist/OdysseyThemeProvider.d.ts +3 -1
- package/dist/OdysseyThemeProvider.d.ts.map +1 -1
- package/dist/OdysseyThemeProvider.js +7 -4
- package/dist/OdysseyThemeProvider.js.map +1 -1
- package/dist/PasswordInput.d.ts +1 -1
- package/dist/PasswordInput.d.ts.map +1 -1
- package/dist/Radio.d.ts +19 -0
- package/dist/Radio.d.ts.map +1 -0
- package/dist/Radio.js +32 -0
- package/dist/Radio.js.map +1 -0
- package/dist/RadioGroup.d.ts +47 -0
- package/dist/RadioGroup.d.ts.map +1 -0
- package/dist/RadioGroup.js +59 -0
- package/dist/RadioGroup.js.map +1 -0
- package/dist/Status.d.ts +23 -0
- package/dist/Status.d.ts.map +1 -0
- package/dist/Status.js +25 -0
- package/dist/Status.js.map +1 -0
- package/dist/TextField.d.ts +87 -0
- package/dist/TextField.d.ts.map +1 -0
- package/dist/TextField.js +100 -0
- package/dist/TextField.js.map +1 -0
- package/dist/iconDictionary/Add.d.ts +1 -1
- package/dist/iconDictionary/Add.d.ts.map +1 -1
- package/dist/iconDictionary/AddCircle.d.ts +1 -1
- package/dist/iconDictionary/AddCircle.d.ts.map +1 -1
- package/dist/iconDictionary/AlertCircle.d.ts +1 -1
- package/dist/iconDictionary/AlertCircle.d.ts.map +1 -1
- package/dist/iconDictionary/AlertCircleFilled.d.ts +1 -1
- package/dist/iconDictionary/AlertCircleFilled.d.ts.map +1 -1
- package/dist/iconDictionary/AlertTriangleFilled.d.ts +1 -1
- package/dist/iconDictionary/AlertTriangleFilled.d.ts.map +1 -1
- package/dist/iconDictionary/Anchor.d.ts +1 -1
- package/dist/iconDictionary/Anchor.d.ts.map +1 -1
- package/dist/iconDictionary/ArrowDown.d.ts +1 -1
- package/dist/iconDictionary/ArrowDown.d.ts.map +1 -1
- package/dist/iconDictionary/ArrowLeft.d.ts +1 -1
- package/dist/iconDictionary/ArrowLeft.d.ts.map +1 -1
- package/dist/iconDictionary/ArrowRight.d.ts +1 -1
- package/dist/iconDictionary/ArrowRight.d.ts.map +1 -1
- package/dist/iconDictionary/ArrowUp.d.ts +1 -1
- package/dist/iconDictionary/ArrowUp.d.ts.map +1 -1
- package/dist/iconDictionary/ArrowUpDown.d.ts +1 -1
- package/dist/iconDictionary/ArrowUpDown.d.ts.map +1 -1
- package/dist/iconDictionary/Calendar.d.ts +1 -1
- package/dist/iconDictionary/Calendar.d.ts.map +1 -1
- package/dist/iconDictionary/Check.d.ts +1 -1
- package/dist/iconDictionary/Check.d.ts.map +1 -1
- package/dist/iconDictionary/CheckCircleFilled.d.ts +1 -1
- package/dist/iconDictionary/CheckCircleFilled.d.ts.map +1 -1
- package/dist/iconDictionary/ChevronDown.d.ts +1 -1
- package/dist/iconDictionary/ChevronDown.d.ts.map +1 -1
- package/dist/iconDictionary/ChevronUp.d.ts +1 -1
- package/dist/iconDictionary/ChevronUp.d.ts.map +1 -1
- package/dist/iconDictionary/Close.d.ts +1 -1
- package/dist/iconDictionary/Close.d.ts.map +1 -1
- package/dist/iconDictionary/CloseCircleFilled.d.ts +1 -1
- package/dist/iconDictionary/CloseCircleFilled.d.ts.map +1 -1
- package/dist/iconDictionary/Copy.d.ts +1 -1
- package/dist/iconDictionary/Copy.d.ts.map +1 -1
- package/dist/iconDictionary/Delete.d.ts +1 -1
- package/dist/iconDictionary/Delete.d.ts.map +1 -1
- package/dist/iconDictionary/Download.d.ts +1 -1
- package/dist/iconDictionary/Download.d.ts.map +1 -1
- package/dist/iconDictionary/DragHandle.d.ts +1 -1
- package/dist/iconDictionary/DragHandle.d.ts.map +1 -1
- package/dist/iconDictionary/Edit.d.ts +1 -1
- package/dist/iconDictionary/Edit.d.ts.map +1 -1
- package/dist/iconDictionary/ExternalLink.d.ts +1 -1
- package/dist/iconDictionary/ExternalLink.d.ts.map +1 -1
- package/dist/iconDictionary/Eye.d.ts +1 -1
- package/dist/iconDictionary/Eye.d.ts.map +1 -1
- package/dist/iconDictionary/EyeOff.d.ts +1 -1
- package/dist/iconDictionary/EyeOff.d.ts.map +1 -1
- package/dist/iconDictionary/Filter.d.ts +1 -1
- package/dist/iconDictionary/Filter.d.ts.map +1 -1
- package/dist/iconDictionary/Globe.d.ts +1 -1
- package/dist/iconDictionary/Globe.d.ts.map +1 -1
- package/dist/iconDictionary/Home.d.ts +1 -1
- package/dist/iconDictionary/Home.d.ts.map +1 -1
- package/dist/iconDictionary/InformationCircle.d.ts +1 -1
- package/dist/iconDictionary/InformationCircle.d.ts.map +1 -1
- package/dist/iconDictionary/InformationCircleFilled.d.ts +1 -1
- package/dist/iconDictionary/InformationCircleFilled.d.ts.map +1 -1
- package/dist/iconDictionary/Notification.d.ts +1 -1
- package/dist/iconDictionary/Notification.d.ts.map +1 -1
- package/dist/iconDictionary/OverflowVertical.d.ts +1 -1
- package/dist/iconDictionary/OverflowVertical.d.ts.map +1 -1
- package/dist/iconDictionary/QuestionCircle.d.ts +1 -1
- package/dist/iconDictionary/QuestionCircle.d.ts.map +1 -1
- package/dist/iconDictionary/QuestionCircleFilled.d.ts +1 -1
- package/dist/iconDictionary/QuestionCircleFilled.d.ts.map +1 -1
- package/dist/iconDictionary/Search.d.ts +1 -1
- package/dist/iconDictionary/Search.d.ts.map +1 -1
- package/dist/iconDictionary/Settings.d.ts +1 -1
- package/dist/iconDictionary/Settings.d.ts.map +1 -1
- package/dist/iconDictionary/Subtract.d.ts +1 -1
- package/dist/iconDictionary/Subtract.d.ts.map +1 -1
- package/dist/iconDictionary/User.d.ts +1 -1
- package/dist/iconDictionary/User.d.ts.map +1 -1
- package/dist/iconDictionary/UserGroup.d.ts +1 -1
- package/dist/iconDictionary/UserGroup.d.ts.map +1 -1
- package/dist/index.d.ts +12 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/theme/components.d.ts.map +1 -1
- package/dist/theme/components.js +578 -179
- package/dist/theme/components.js.map +1 -1
- package/dist/theme/components.types.d.ts +5 -0
- package/dist/theme/components.types.d.ts.map +1 -1
- package/dist/theme/components.types.js.map +1 -1
- package/dist/theme/typography.d.ts.map +1 -1
- package/dist/theme/typography.js +6 -0
- package/dist/theme/typography.js.map +1 -1
- package/dist/theme/typography.types.d.ts +3 -3
- package/dist/theme/typography.types.d.ts.map +1 -1
- package/dist/theme/typography.types.js.map +1 -1
- package/package.json +7 -7
- package/src/Banner.tsx +69 -0
- package/src/Infobox.tsx +47 -0
- package/src/Link.tsx +4 -4
- package/src/OdysseyThemeProvider.tsx +25 -5
- package/src/Radio.tsx +28 -0
- package/src/RadioGroup.tsx +105 -0
- package/src/Status.tsx +29 -0
- package/src/TextField.tsx +220 -0
- package/src/index.ts +33 -15
- package/src/theme/components.tsx +518 -85
- package/src/theme/components.types.ts +7 -0
- package/src/theme/typography.ts +6 -0
- package/src/theme/typography.types.ts +3 -3
- package/tsconfig.json +2 -1
package/dist/theme/components.js
CHANGED
|
@@ -11,14 +11,16 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { chipClasses } from "@mui/material/Chip";
|
|
13
13
|
import { dialogActionsClasses } from "@mui/material/DialogActions";
|
|
14
|
+
import { inputAdornmentClasses } from "@mui/material/InputAdornment";
|
|
14
15
|
import { inputBaseClasses } from "@mui/material/InputBase";
|
|
16
|
+
import { svgIconClasses } from "@mui/material/SvgIcon";
|
|
15
17
|
import { tableBodyClasses } from "@mui/material/TableBody";
|
|
16
18
|
import { tableCellClasses } from "@mui/material/TableCell";
|
|
17
19
|
import { tableHeadClasses } from "@mui/material/TableHead";
|
|
18
20
|
import { tableRowClasses } from "@mui/material/TableRow";
|
|
19
21
|
import { tableSortLabelClasses } from "@mui/material/TableSortLabel";
|
|
20
22
|
import { tooltipClasses } from "@mui/material/Tooltip";
|
|
21
|
-
import { AlertTriangleFilledIcon, ArrowDownIcon, CheckCircleFilledIcon, CloseCircleFilledIcon, InformationCircleFilledIcon } from "../iconDictionary/index.js";
|
|
23
|
+
import { AlertTriangleFilledIcon, ArrowDownIcon, CheckCircleFilledIcon, ChevronDownIcon, CloseCircleFilledIcon, InformationCircleFilledIcon } from "../iconDictionary/index.js";
|
|
22
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
25
|
export const components = {
|
|
24
26
|
MuiAlert: {
|
|
@@ -65,7 +67,7 @@ export const components = {
|
|
|
65
67
|
borderWidth: theme.mixins.borderWidth,
|
|
66
68
|
borderRadius: theme.mixins.borderRadius,
|
|
67
69
|
position: "relative",
|
|
68
|
-
alignItems: "
|
|
70
|
+
alignItems: "center"
|
|
69
71
|
})
|
|
70
72
|
};
|
|
71
73
|
},
|
|
@@ -76,19 +78,16 @@ export const components = {
|
|
|
76
78
|
} = _ref2;
|
|
77
79
|
return { ...(ownerState.variant === "banner" && {
|
|
78
80
|
padding: 0,
|
|
79
|
-
|
|
81
|
+
marginInlineEnd: 0,
|
|
80
82
|
top: "50%",
|
|
81
83
|
right: theme.spacing(4),
|
|
82
84
|
position: "absolute",
|
|
83
85
|
transform: "translateY(-50%)"
|
|
84
86
|
}),
|
|
85
87
|
...(ownerState.variant === "toast" && {
|
|
86
|
-
position: "absolute",
|
|
87
|
-
top: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${theme.mixins.borderWidth})`,
|
|
88
|
-
right: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${theme.mixins.borderWidth})`,
|
|
89
88
|
padding: 0,
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
marginInlineStart: 0,
|
|
90
|
+
marginInlineEnd: 0
|
|
92
91
|
})
|
|
93
92
|
};
|
|
94
93
|
},
|
|
@@ -98,16 +97,19 @@ export const components = {
|
|
|
98
97
|
theme
|
|
99
98
|
} = _ref3;
|
|
100
99
|
return {
|
|
101
|
-
|
|
100
|
+
marginInlineEnd: 0,
|
|
102
101
|
padding: 0,
|
|
103
|
-
fontSize: "
|
|
102
|
+
fontSize: "inherit",
|
|
104
103
|
opacity: 1,
|
|
105
104
|
...(ownerState.severity && {
|
|
106
105
|
color: theme.palette[ownerState.severity].main
|
|
107
106
|
}),
|
|
108
107
|
...(ownerState.severity === "warning" && {
|
|
109
108
|
color: theme.palette[ownerState.severity].dark
|
|
110
|
-
})
|
|
109
|
+
}),
|
|
110
|
+
[`& .${svgIconClasses.root}`]: {
|
|
111
|
+
fontSize: "1.429rem"
|
|
112
|
+
}
|
|
111
113
|
};
|
|
112
114
|
},
|
|
113
115
|
message: _ref4 => {
|
|
@@ -142,15 +144,26 @@ export const components = {
|
|
|
142
144
|
marginBottom: theme.spacing(1),
|
|
143
145
|
lineHeight: theme.typography.h6.lineHeight,
|
|
144
146
|
fontSize: theme.typography.h6.fontSize,
|
|
145
|
-
fontWeight: theme.typography.fontWeightBold
|
|
147
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
148
|
+
"&:last-child": {
|
|
149
|
+
marginBlockEnd: 0
|
|
150
|
+
}
|
|
146
151
|
};
|
|
147
152
|
}
|
|
148
153
|
}
|
|
149
154
|
},
|
|
150
155
|
MuiBackdrop: {
|
|
151
156
|
styleOverrides: {
|
|
152
|
-
root: {
|
|
153
|
-
|
|
157
|
+
root: _ref6 => {
|
|
158
|
+
let {
|
|
159
|
+
ownerState
|
|
160
|
+
} = _ref6;
|
|
161
|
+
return {
|
|
162
|
+
backgroundColor: "rgba(29,29,33,0.75)",
|
|
163
|
+
...(ownerState.invisible === true && {
|
|
164
|
+
backgroundColor: "transparent"
|
|
165
|
+
})
|
|
166
|
+
};
|
|
154
167
|
}
|
|
155
168
|
}
|
|
156
169
|
},
|
|
@@ -163,10 +176,10 @@ export const components = {
|
|
|
163
176
|
props: {
|
|
164
177
|
variant: "primary"
|
|
165
178
|
},
|
|
166
|
-
style:
|
|
179
|
+
style: _ref7 => {
|
|
167
180
|
let {
|
|
168
181
|
theme
|
|
169
|
-
} =
|
|
182
|
+
} = _ref7;
|
|
170
183
|
return {
|
|
171
184
|
fontWeight: 600,
|
|
172
185
|
color: theme.palette.common.white,
|
|
@@ -191,10 +204,10 @@ export const components = {
|
|
|
191
204
|
props: {
|
|
192
205
|
variant: "secondary"
|
|
193
206
|
},
|
|
194
|
-
style:
|
|
207
|
+
style: _ref8 => {
|
|
195
208
|
let {
|
|
196
209
|
theme
|
|
197
|
-
} =
|
|
210
|
+
} = _ref8;
|
|
198
211
|
return {
|
|
199
212
|
backgroundColor: theme.palette.grey[50],
|
|
200
213
|
borderColor: theme.palette.grey[200],
|
|
@@ -221,10 +234,10 @@ export const components = {
|
|
|
221
234
|
props: {
|
|
222
235
|
variant: "danger"
|
|
223
236
|
},
|
|
224
|
-
style:
|
|
237
|
+
style: _ref9 => {
|
|
225
238
|
let {
|
|
226
239
|
theme
|
|
227
|
-
} =
|
|
240
|
+
} = _ref9;
|
|
228
241
|
return {
|
|
229
242
|
backgroundColor: theme.palette.error.main,
|
|
230
243
|
color: theme.palette.common.white,
|
|
@@ -249,12 +262,12 @@ export const components = {
|
|
|
249
262
|
props: {
|
|
250
263
|
variant: "floating"
|
|
251
264
|
},
|
|
252
|
-
style:
|
|
265
|
+
style: _ref10 => {
|
|
253
266
|
let {
|
|
254
267
|
theme
|
|
255
|
-
} =
|
|
268
|
+
} = _ref10;
|
|
256
269
|
return {
|
|
257
|
-
backgroundColor:
|
|
270
|
+
backgroundColor: "transparent",
|
|
258
271
|
color: theme.palette.text.primary,
|
|
259
272
|
borderColor: "transparent",
|
|
260
273
|
"&:hover, &:focus-visible": {
|
|
@@ -279,13 +292,13 @@ export const components = {
|
|
|
279
292
|
props: {
|
|
280
293
|
size: "s"
|
|
281
294
|
},
|
|
282
|
-
style:
|
|
295
|
+
style: _ref11 => {
|
|
283
296
|
let {
|
|
284
297
|
theme
|
|
285
|
-
} =
|
|
298
|
+
} = _ref11;
|
|
286
299
|
return {
|
|
287
300
|
paddingBlock: `calc(${theme.spacing(2)} - 1px)`,
|
|
288
|
-
paddingInline: `calc(${theme.spacing(
|
|
301
|
+
paddingInline: `calc(${theme.spacing(2)} - 1px)`,
|
|
289
302
|
fontSize: "1rem"
|
|
290
303
|
};
|
|
291
304
|
}
|
|
@@ -293,10 +306,10 @@ export const components = {
|
|
|
293
306
|
props: {
|
|
294
307
|
size: "l"
|
|
295
308
|
},
|
|
296
|
-
style:
|
|
309
|
+
style: _ref12 => {
|
|
297
310
|
let {
|
|
298
311
|
theme
|
|
299
|
-
} =
|
|
312
|
+
} = _ref12;
|
|
300
313
|
return {
|
|
301
314
|
paddingBlock: `calc(${theme.spacing(4)} - 1px)`,
|
|
302
315
|
paddingInline: `calc(${theme.spacing(4)} - 1px)`
|
|
@@ -306,10 +319,10 @@ export const components = {
|
|
|
306
319
|
props: {
|
|
307
320
|
fullWidth: true
|
|
308
321
|
},
|
|
309
|
-
style:
|
|
322
|
+
style: _ref13 => {
|
|
310
323
|
let {
|
|
311
324
|
theme
|
|
312
|
-
} =
|
|
325
|
+
} = _ref13;
|
|
313
326
|
return {
|
|
314
327
|
display: "block",
|
|
315
328
|
width: "100%",
|
|
@@ -332,10 +345,10 @@ export const components = {
|
|
|
332
345
|
}
|
|
333
346
|
}],
|
|
334
347
|
styleOverrides: {
|
|
335
|
-
root:
|
|
348
|
+
root: _ref14 => {
|
|
336
349
|
let {
|
|
337
350
|
theme
|
|
338
|
-
} =
|
|
351
|
+
} = _ref14;
|
|
339
352
|
return {
|
|
340
353
|
fontWeight: 600,
|
|
341
354
|
minWidth: "unset",
|
|
@@ -353,7 +366,7 @@ export const components = {
|
|
|
353
366
|
outlineColor: "transparent",
|
|
354
367
|
outlineOffset: "0",
|
|
355
368
|
fontSize: theme.typography.body1.fontSize,
|
|
356
|
-
lineHeight:
|
|
369
|
+
lineHeight: theme.typography.ui.lineHeight,
|
|
357
370
|
whiteSpace: "nowrap",
|
|
358
371
|
".MuiButton-root + &": {
|
|
359
372
|
marginInlineStart: theme.spacing(2)
|
|
@@ -368,18 +381,21 @@ export const components = {
|
|
|
368
381
|
pointerEvents: "inherit"
|
|
369
382
|
},
|
|
370
383
|
".MuiButton-startIcon > *:nth-of-type(1)": {
|
|
371
|
-
fontSize:
|
|
384
|
+
fontSize: `${theme.typography.ui.lineHeight}em`
|
|
372
385
|
}
|
|
373
386
|
};
|
|
374
387
|
},
|
|
375
|
-
startIcon:
|
|
388
|
+
startIcon: _ref15 => {
|
|
376
389
|
let {
|
|
377
390
|
theme
|
|
378
|
-
} =
|
|
391
|
+
} = _ref15;
|
|
379
392
|
return {
|
|
380
393
|
display: "inline-flex",
|
|
381
394
|
margin: 0,
|
|
382
|
-
marginInlineEnd: theme.spacing(2)
|
|
395
|
+
marginInlineEnd: theme.spacing(2),
|
|
396
|
+
"&:only-child": {
|
|
397
|
+
margin: 0
|
|
398
|
+
}
|
|
383
399
|
};
|
|
384
400
|
}
|
|
385
401
|
}
|
|
@@ -389,22 +405,15 @@ export const components = {
|
|
|
389
405
|
disableRipple: true
|
|
390
406
|
}
|
|
391
407
|
},
|
|
392
|
-
MuiCssBaseline: {
|
|
393
|
-
styleOverrides: {
|
|
394
|
-
boxSizing: "border-box",
|
|
395
|
-
fontFeatureSettings: "'lnum','pnum'",
|
|
396
|
-
fontVariant: "normal"
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
408
|
MuiCheckbox: {
|
|
400
409
|
defaultProps: {
|
|
401
410
|
size: "small"
|
|
402
411
|
},
|
|
403
412
|
styleOverrides: {
|
|
404
|
-
root:
|
|
413
|
+
root: _ref16 => {
|
|
405
414
|
let {
|
|
406
415
|
theme
|
|
407
|
-
} =
|
|
416
|
+
} = _ref16;
|
|
408
417
|
return {
|
|
409
418
|
borderRadius: "4px",
|
|
410
419
|
"&:hover": {
|
|
@@ -437,17 +446,17 @@ export const components = {
|
|
|
437
446
|
deleteIcon: _jsx(CloseCircleFilledIcon, {})
|
|
438
447
|
},
|
|
439
448
|
styleOverrides: {
|
|
440
|
-
root:
|
|
449
|
+
root: _ref17 => {
|
|
441
450
|
let {
|
|
442
451
|
theme,
|
|
443
452
|
ownerState
|
|
444
|
-
} =
|
|
453
|
+
} = _ref17;
|
|
445
454
|
return {
|
|
446
455
|
height: "auto",
|
|
447
456
|
paddingBlock: theme.spacing(2),
|
|
448
457
|
paddingInline: theme.spacing(3),
|
|
449
458
|
fontSize: theme.typography.body1.fontSize,
|
|
450
|
-
lineHeight:
|
|
459
|
+
lineHeight: theme.typography.ui.lineHeight,
|
|
451
460
|
borderRadius: "1.5em",
|
|
452
461
|
backgroundColor: theme.palette.grey[100],
|
|
453
462
|
...(ownerState.onDelete && {
|
|
@@ -485,6 +494,36 @@ export const components = {
|
|
|
485
494
|
boxShadow: "none",
|
|
486
495
|
backgroundColor: theme.palette.grey[300]
|
|
487
496
|
}
|
|
497
|
+
}),
|
|
498
|
+
...(ownerState.variant === "status" && {
|
|
499
|
+
paddingBlock: 0,
|
|
500
|
+
paddingInline: 0,
|
|
501
|
+
borderRadius: 0,
|
|
502
|
+
backgroundColor: "transparent",
|
|
503
|
+
color: theme.palette.text.primary,
|
|
504
|
+
"&::before": {
|
|
505
|
+
content: "''",
|
|
506
|
+
width: ".57em",
|
|
507
|
+
height: ".57em",
|
|
508
|
+
marginInlineEnd: theme.spacing(2),
|
|
509
|
+
borderRadius: "100%",
|
|
510
|
+
backgroundColor: theme.palette.text.secondary
|
|
511
|
+
},
|
|
512
|
+
[`&.${chipClasses.colorError}`]: {
|
|
513
|
+
"&::before": {
|
|
514
|
+
backgroundColor: theme.palette.error.main
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
[`&.${chipClasses.colorSuccess}`]: {
|
|
518
|
+
"&::before": {
|
|
519
|
+
backgroundColor: theme.palette.success.main
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
[`&.${chipClasses.colorWarning}`]: {
|
|
523
|
+
"&::before": {
|
|
524
|
+
backgroundColor: theme.palette.warning.main
|
|
525
|
+
}
|
|
526
|
+
}
|
|
488
527
|
})
|
|
489
528
|
};
|
|
490
529
|
},
|
|
@@ -502,20 +541,20 @@ export const components = {
|
|
|
502
541
|
variant: "indeterminate"
|
|
503
542
|
},
|
|
504
543
|
styleOverrides: {
|
|
505
|
-
root:
|
|
544
|
+
root: _ref18 => {
|
|
506
545
|
let {
|
|
507
546
|
theme,
|
|
508
547
|
ownerState
|
|
509
|
-
} =
|
|
548
|
+
} = _ref18;
|
|
510
549
|
return { ...(ownerState.color !== "inherit" && {
|
|
511
550
|
color: theme.palette.primary.dark
|
|
512
551
|
})
|
|
513
552
|
};
|
|
514
553
|
},
|
|
515
|
-
circle:
|
|
554
|
+
circle: _ref19 => {
|
|
516
555
|
let {
|
|
517
556
|
ownerState
|
|
518
|
-
} =
|
|
557
|
+
} = _ref19;
|
|
519
558
|
return { ...(ownerState.variant === "indeterminate" && {
|
|
520
559
|
strokeDasharray: "160%, 360%"
|
|
521
560
|
})
|
|
@@ -523,15 +562,288 @@ export const components = {
|
|
|
523
562
|
}
|
|
524
563
|
}
|
|
525
564
|
},
|
|
565
|
+
MuiCssBaseline: {
|
|
566
|
+
styleOverrides: themeParam => `
|
|
567
|
+
html {
|
|
568
|
+
font-size: calc((${themeParam.typography.fontSize} / 16) * 100%);
|
|
569
|
+
}
|
|
570
|
+
`
|
|
571
|
+
},
|
|
572
|
+
MuiScopedCssBaseline: {
|
|
573
|
+
styleOverrides: {
|
|
574
|
+
root: _ref20 => {
|
|
575
|
+
let {
|
|
576
|
+
theme
|
|
577
|
+
} = _ref20;
|
|
578
|
+
return {
|
|
579
|
+
abbr: {
|
|
580
|
+
borderBottomWidth: "1px",
|
|
581
|
+
borderBottomStyle: "dashed",
|
|
582
|
+
borderBottomColor: theme.palette.primary.dark,
|
|
583
|
+
textDecoration: "none"
|
|
584
|
+
},
|
|
585
|
+
address: {
|
|
586
|
+
maxWidth: theme.mixins.maxWidth,
|
|
587
|
+
marginBlockStart: 0,
|
|
588
|
+
marginBlockEnd: theme.spacing(4),
|
|
589
|
+
marginInline: 0,
|
|
590
|
+
"&:last-child": {
|
|
591
|
+
marginBlockEnd: 0
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
blockquote: {
|
|
595
|
+
maxWidth: theme.mixins.maxWidth,
|
|
596
|
+
marginBlockStart: 0,
|
|
597
|
+
marginBlockEnd: theme.spacing(4),
|
|
598
|
+
marginInline: 0,
|
|
599
|
+
paddingBlock: 0,
|
|
600
|
+
paddingInlineStart: theme.spacing(2),
|
|
601
|
+
paddingInlineEnd: 0,
|
|
602
|
+
borderInlineStartWidth: "3px",
|
|
603
|
+
borderInlineStartStyle: "solid",
|
|
604
|
+
borderInlineStartColor: theme.palette.grey[200],
|
|
605
|
+
"&:last-child": {
|
|
606
|
+
marginBlockEnd: 0
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
cite: {
|
|
610
|
+
fontStyle: "italic"
|
|
611
|
+
},
|
|
612
|
+
code: {
|
|
613
|
+
fontFamily: "'Inconsolata', 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace"
|
|
614
|
+
},
|
|
615
|
+
del: {
|
|
616
|
+
display: "inline-block",
|
|
617
|
+
backgroundColor: theme.palette.error.light,
|
|
618
|
+
"&::before, &::after": {
|
|
619
|
+
clip: "rect(0 0 0 0)",
|
|
620
|
+
clipPath: "inset(50%)",
|
|
621
|
+
height: "1px",
|
|
622
|
+
overflow: "hidden",
|
|
623
|
+
position: "absolute",
|
|
624
|
+
whiteSpace: "nowrap",
|
|
625
|
+
width: "1px"
|
|
626
|
+
},
|
|
627
|
+
"&::before": {
|
|
628
|
+
content: "attr(data-a11y-start)"
|
|
629
|
+
},
|
|
630
|
+
"&::after": {
|
|
631
|
+
content: "attr(data-a11y-end)"
|
|
632
|
+
}
|
|
633
|
+
},
|
|
634
|
+
details: {
|
|
635
|
+
fontSize: theme.typography.body1.fontSize
|
|
636
|
+
},
|
|
637
|
+
dfn: {
|
|
638
|
+
fontStyle: "italic"
|
|
639
|
+
},
|
|
640
|
+
dl: {
|
|
641
|
+
display: "grid",
|
|
642
|
+
gridGap: `${theme.spacing(2)} ${theme.spacing(4)}`,
|
|
643
|
+
gridTemplateColumns: "repeat(2, minmax(min-content, max-content))",
|
|
644
|
+
maxWidth: theme.mixins.maxWidth,
|
|
645
|
+
marginBlockStart: 0,
|
|
646
|
+
marginBlockEnd: theme.spacing(4),
|
|
647
|
+
marginInline: 0,
|
|
648
|
+
padding: 0,
|
|
649
|
+
"&:last-child": {
|
|
650
|
+
marginBlockEnd: 0
|
|
651
|
+
},
|
|
652
|
+
dt: {
|
|
653
|
+
gridColumn: 1,
|
|
654
|
+
fontWeight: 600
|
|
655
|
+
},
|
|
656
|
+
dd: {
|
|
657
|
+
gridColumn: 2,
|
|
658
|
+
fontWeight: 400
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
em: {
|
|
662
|
+
fontStyle: "italic",
|
|
663
|
+
"& > em": {
|
|
664
|
+
textDecoration: "underline"
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
figure: {
|
|
668
|
+
display: "grid",
|
|
669
|
+
gridGap: theme.spacing(2),
|
|
670
|
+
gridTemplateColumns: "minmax(min-content, max-content)",
|
|
671
|
+
justifyContent: "start",
|
|
672
|
+
justifyItems: "start",
|
|
673
|
+
marginBlockStart: 0,
|
|
674
|
+
marginBlockEnd: theme.spacing(4),
|
|
675
|
+
marginInline: 0,
|
|
676
|
+
"&:last-child": {
|
|
677
|
+
marginBlockEnd: 0
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
"figcaption:not([class])": {
|
|
681
|
+
color: theme.palette.text.secondary,
|
|
682
|
+
fontSize: theme.typography.body1.fontSize
|
|
683
|
+
},
|
|
684
|
+
hr: {
|
|
685
|
+
marginBlock: theme.spacing(2),
|
|
686
|
+
marginInline: 0,
|
|
687
|
+
borderWidth: "1px",
|
|
688
|
+
borderStyle: "solid",
|
|
689
|
+
borderColor: theme.palette.grey[200]
|
|
690
|
+
},
|
|
691
|
+
ins: {
|
|
692
|
+
display: "inline-block",
|
|
693
|
+
backgroundColor: theme.palette.success.light,
|
|
694
|
+
"&::before, &::after": {
|
|
695
|
+
clip: "rect(0 0 0 0)",
|
|
696
|
+
clipPath: "inset(50%)",
|
|
697
|
+
height: "1px",
|
|
698
|
+
overflow: "hidden",
|
|
699
|
+
position: "absolute",
|
|
700
|
+
whiteSpace: "nowrap",
|
|
701
|
+
width: "1px"
|
|
702
|
+
},
|
|
703
|
+
"&::before": {
|
|
704
|
+
content: "attr(data-a11y-start)"
|
|
705
|
+
},
|
|
706
|
+
"&::after": {
|
|
707
|
+
content: "attr(data-a11y-end)"
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
kbd: {
|
|
711
|
+
display: "inline-block",
|
|
712
|
+
minWidth: `calc(${theme.typography.subtitle1.fontSize} * ${theme.typography.h5.lineHeight})`,
|
|
713
|
+
borderStyle: theme.mixins.borderStyle,
|
|
714
|
+
borderWidth: theme.mixins.borderWidth,
|
|
715
|
+
borderRadius: theme.mixins.borderRadius,
|
|
716
|
+
borderColor: theme.palette.grey[200],
|
|
717
|
+
backgroundColor: theme.palette.grey[50],
|
|
718
|
+
padding: `calc(${theme.spacing(1)} / 2) ${theme.spacing(1)}`,
|
|
719
|
+
fontFamily: "'Inconsolata', 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace",
|
|
720
|
+
fontSize: theme.typography.subtitle1.fontSize,
|
|
721
|
+
fontWeight: theme.typography.fontWeightRegular,
|
|
722
|
+
lineHeight: theme.typography.h5.lineHeight,
|
|
723
|
+
boxShadow: `0 1px 1px 0 hsla(240, 6%, 12%, 0.05)`
|
|
724
|
+
},
|
|
725
|
+
mark: {
|
|
726
|
+
backgroundColor: theme.palette.warning.light,
|
|
727
|
+
"&::before, &::after": {
|
|
728
|
+
clip: "rect(0 0 0 0)",
|
|
729
|
+
clipPath: "inset(50%)",
|
|
730
|
+
height: "1px",
|
|
731
|
+
overflow: "hidden",
|
|
732
|
+
position: "absolute",
|
|
733
|
+
whiteSpace: "nowrap",
|
|
734
|
+
width: "1px"
|
|
735
|
+
},
|
|
736
|
+
"&::before": {
|
|
737
|
+
content: "attr(data-a11y-start)"
|
|
738
|
+
},
|
|
739
|
+
"&::after": {
|
|
740
|
+
content: "attr(data-a11y-end)"
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
p: {
|
|
744
|
+
maxWidth: theme.mixins.maxWidth,
|
|
745
|
+
marginBlockStart: 0,
|
|
746
|
+
marginBlockEnd: theme.spacing(4),
|
|
747
|
+
"&:last-child": {
|
|
748
|
+
marginBlockEnd: 0
|
|
749
|
+
}
|
|
750
|
+
},
|
|
751
|
+
pre: {
|
|
752
|
+
marginInline: 0,
|
|
753
|
+
marginBlockStart: 0,
|
|
754
|
+
marginBlockEnd: theme.spacing(4),
|
|
755
|
+
fontFamily: "'Inconsolata', 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace",
|
|
756
|
+
whiteSpace: "pre-wrap",
|
|
757
|
+
tabSize: 2,
|
|
758
|
+
"&:last-child": {
|
|
759
|
+
marginBlockEnd: 0
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
"ul, ol": {
|
|
763
|
+
maxWidth: theme.mixins.maxWidth,
|
|
764
|
+
marginBlockStart: 0,
|
|
765
|
+
marginBlockEnd: theme.spacing(4),
|
|
766
|
+
paddingInlineStart: "2ch",
|
|
767
|
+
ol: {
|
|
768
|
+
listStyleType: "lower-alpha",
|
|
769
|
+
ol: {
|
|
770
|
+
listStyleType: "lower-roman"
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
"&:last-child": {
|
|
774
|
+
marginBlockEnd: 0
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
li: {
|
|
778
|
+
marginBlockEnd: theme.spacing(2),
|
|
779
|
+
paddingInlineStart: theme.spacing(1),
|
|
780
|
+
"ul, ol": {
|
|
781
|
+
marginBlockStart: theme.spacing(2),
|
|
782
|
+
marginInlineStart: `calc(${theme.spacing(6)} - 2ch)`
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
q: {
|
|
786
|
+
quotes: `'"' '"' "'" "'"`,
|
|
787
|
+
"&::before": {
|
|
788
|
+
content: "open-quote"
|
|
789
|
+
},
|
|
790
|
+
"&::after": {
|
|
791
|
+
content: "close-quote"
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
s: {
|
|
795
|
+
textDecoration: "line-through"
|
|
796
|
+
},
|
|
797
|
+
samp: {
|
|
798
|
+
padding: "0 0.5ch",
|
|
799
|
+
backgroundColor: theme.palette.grey[50],
|
|
800
|
+
boxShadow: `0 1px 0 ${theme.palette.grey[50]}`,
|
|
801
|
+
fontSize: theme.typography.body1.fontSize,
|
|
802
|
+
kbd: {
|
|
803
|
+
background: theme.palette.common.white
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
small: {
|
|
807
|
+
fontSize: theme.typography.caption.fontSize
|
|
808
|
+
},
|
|
809
|
+
sub: {
|
|
810
|
+
fontSize: theme.typography.caption.fontSize,
|
|
811
|
+
lineHeight: 1,
|
|
812
|
+
verticalAlign: "sub"
|
|
813
|
+
},
|
|
814
|
+
summary: {
|
|
815
|
+
fontSize: theme.typography.body1.fontSize,
|
|
816
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
817
|
+
cursor: "default",
|
|
818
|
+
"&:focus-visible": {
|
|
819
|
+
outlineColor: theme.palette.primary.main,
|
|
820
|
+
outlineOffset: "2px",
|
|
821
|
+
outlineStyle: "solid",
|
|
822
|
+
outlineWidth: "2px"
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
sup: {
|
|
826
|
+
fontSize: theme.typography.caption.fontSize,
|
|
827
|
+
lineHeight: 1,
|
|
828
|
+
verticalAlign: "super"
|
|
829
|
+
},
|
|
830
|
+
var: {
|
|
831
|
+
fontStyle: "italic",
|
|
832
|
+
fontWeight: theme.typography.fontWeightBold
|
|
833
|
+
}
|
|
834
|
+
};
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
},
|
|
526
838
|
MuiDialog: {
|
|
527
839
|
defaultProps: {
|
|
528
840
|
scroll: "paper"
|
|
529
841
|
},
|
|
530
842
|
styleOverrides: {
|
|
531
|
-
paper:
|
|
843
|
+
paper: _ref21 => {
|
|
532
844
|
let {
|
|
533
845
|
theme
|
|
534
|
-
} =
|
|
846
|
+
} = _ref21;
|
|
535
847
|
return {
|
|
536
848
|
maxWidth: `calc(${theme.mixins.maxWidth} + (${theme.spacing(6)} * 2))`,
|
|
537
849
|
boxShadow: "none",
|
|
@@ -542,10 +854,10 @@ export const components = {
|
|
|
542
854
|
},
|
|
543
855
|
MuiDialogActions: {
|
|
544
856
|
styleOverrides: {
|
|
545
|
-
root:
|
|
857
|
+
root: _ref22 => {
|
|
546
858
|
let {
|
|
547
859
|
theme
|
|
548
|
-
} =
|
|
860
|
+
} = _ref22;
|
|
549
861
|
return {
|
|
550
862
|
paddingBlockStart: theme.spacing(4),
|
|
551
863
|
paddingBlockEnd: theme.spacing(6),
|
|
@@ -556,11 +868,11 @@ export const components = {
|
|
|
556
868
|
},
|
|
557
869
|
MuiDialogContent: {
|
|
558
870
|
styleOverrides: {
|
|
559
|
-
root:
|
|
871
|
+
root: _ref23 => {
|
|
560
872
|
let {
|
|
561
873
|
theme,
|
|
562
874
|
ownerState
|
|
563
|
-
} =
|
|
875
|
+
} = _ref23;
|
|
564
876
|
return {
|
|
565
877
|
padding: 0,
|
|
566
878
|
paddingBlock: theme.spacing(4),
|
|
@@ -579,10 +891,10 @@ export const components = {
|
|
|
579
891
|
color: "text.primary"
|
|
580
892
|
},
|
|
581
893
|
styleOverrides: {
|
|
582
|
-
root:
|
|
894
|
+
root: _ref24 => {
|
|
583
895
|
let {
|
|
584
896
|
theme
|
|
585
|
-
} =
|
|
897
|
+
} = _ref24;
|
|
586
898
|
return {
|
|
587
899
|
marginBlockEnd: theme.spacing(5),
|
|
588
900
|
"&:last-child": {
|
|
@@ -598,10 +910,10 @@ export const components = {
|
|
|
598
910
|
variant: "h5"
|
|
599
911
|
},
|
|
600
912
|
styleOverrides: {
|
|
601
|
-
root:
|
|
913
|
+
root: _ref25 => {
|
|
602
914
|
let {
|
|
603
915
|
theme
|
|
604
|
-
} =
|
|
916
|
+
} = _ref25;
|
|
605
917
|
return {
|
|
606
918
|
display: "flex",
|
|
607
919
|
justifyContent: "space-between",
|
|
@@ -620,11 +932,11 @@ export const components = {
|
|
|
620
932
|
margin: "normal"
|
|
621
933
|
},
|
|
622
934
|
styleOverrides: {
|
|
623
|
-
root:
|
|
935
|
+
root: _ref26 => {
|
|
624
936
|
let {
|
|
625
937
|
ownerState,
|
|
626
938
|
theme
|
|
627
|
-
} =
|
|
939
|
+
} = _ref26;
|
|
628
940
|
return {
|
|
629
941
|
width: "100%",
|
|
630
942
|
maxWidth: "32rem",
|
|
@@ -651,24 +963,24 @@ export const components = {
|
|
|
651
963
|
},
|
|
652
964
|
MuiFormControlLabel: {
|
|
653
965
|
styleOverrides: {
|
|
654
|
-
root:
|
|
966
|
+
root: _ref27 => {
|
|
655
967
|
let {
|
|
656
968
|
theme,
|
|
657
969
|
ownerState
|
|
658
|
-
} =
|
|
970
|
+
} = _ref27;
|
|
659
971
|
return {
|
|
660
972
|
gap: theme.spacing(2),
|
|
661
|
-
|
|
662
|
-
|
|
973
|
+
marginInlineStart: 0,
|
|
974
|
+
marginInlineEnd: 0,
|
|
663
975
|
...(ownerState.labelPlacement === "start" && {
|
|
664
|
-
|
|
665
|
-
|
|
976
|
+
marginInlineStart: 0,
|
|
977
|
+
marginInlineEnd: 0
|
|
666
978
|
}),
|
|
667
979
|
...(ownerState.labelPlacement === "top" && {
|
|
668
|
-
|
|
980
|
+
marginInlineStart: 0
|
|
669
981
|
}),
|
|
670
982
|
...(ownerState.labelPlacement === "bottom" && {
|
|
671
|
-
|
|
983
|
+
marginInlineStart: 0
|
|
672
984
|
}),
|
|
673
985
|
"&:not(:last-child)": {
|
|
674
986
|
marginBottom: theme.spacing(2)
|
|
@@ -697,10 +1009,10 @@ export const components = {
|
|
|
697
1009
|
variant: "standard"
|
|
698
1010
|
},
|
|
699
1011
|
styleOverrides: {
|
|
700
|
-
root:
|
|
1012
|
+
root: _ref28 => {
|
|
701
1013
|
let {
|
|
702
1014
|
theme
|
|
703
|
-
} =
|
|
1015
|
+
} = _ref28;
|
|
704
1016
|
return {
|
|
705
1017
|
fontSize: theme.typography.subtitle1.fontSize,
|
|
706
1018
|
lineHeight: "1.33333333",
|
|
@@ -712,20 +1024,21 @@ export const components = {
|
|
|
712
1024
|
marginBottom: theme.spacing(2),
|
|
713
1025
|
"&:last-child": {
|
|
714
1026
|
marginBottom: 0
|
|
715
|
-
}
|
|
1027
|
+
},
|
|
1028
|
+
textAlign: "start"
|
|
716
1029
|
};
|
|
717
1030
|
}
|
|
718
1031
|
}
|
|
719
1032
|
},
|
|
720
1033
|
MuiFormLabel: {
|
|
721
1034
|
styleOverrides: {
|
|
722
|
-
root:
|
|
1035
|
+
root: _ref29 => {
|
|
723
1036
|
let {
|
|
724
1037
|
theme
|
|
725
|
-
} =
|
|
1038
|
+
} = _ref29;
|
|
726
1039
|
return {
|
|
727
1040
|
color: theme.palette.text.primary,
|
|
728
|
-
lineHeight:
|
|
1041
|
+
lineHeight: theme.typography.ui.lineHeight,
|
|
729
1042
|
fontSize: "1rem",
|
|
730
1043
|
fontWeight: 600,
|
|
731
1044
|
marginBottom: theme.spacing(2),
|
|
@@ -738,10 +1051,18 @@ export const components = {
|
|
|
738
1051
|
},
|
|
739
1052
|
MuiIconButton: {
|
|
740
1053
|
styleOverrides: {
|
|
741
|
-
|
|
1054
|
+
edgeEnd: _ref30 => {
|
|
742
1055
|
let {
|
|
743
1056
|
theme
|
|
744
|
-
} =
|
|
1057
|
+
} = _ref30;
|
|
1058
|
+
return {
|
|
1059
|
+
marginInlineEnd: theme.spacing(1)
|
|
1060
|
+
};
|
|
1061
|
+
},
|
|
1062
|
+
root: _ref31 => {
|
|
1063
|
+
let {
|
|
1064
|
+
theme
|
|
1065
|
+
} = _ref31;
|
|
745
1066
|
return {
|
|
746
1067
|
padding: theme.spacing(1),
|
|
747
1068
|
fontSize: theme.typography.body1.fontSize,
|
|
@@ -786,23 +1107,24 @@ export const components = {
|
|
|
786
1107
|
variant: "outlined"
|
|
787
1108
|
},
|
|
788
1109
|
styleOverrides: {
|
|
789
|
-
root:
|
|
1110
|
+
root: _ref32 => {
|
|
790
1111
|
let {
|
|
791
1112
|
theme,
|
|
792
1113
|
ownerState
|
|
793
|
-
} =
|
|
1114
|
+
} = _ref32;
|
|
794
1115
|
return {
|
|
795
1116
|
display: "flex",
|
|
796
|
-
minWidth: "
|
|
1117
|
+
minWidth: "1.25em",
|
|
797
1118
|
maxHeight: "unset",
|
|
1119
|
+
margin: 0,
|
|
798
1120
|
alignItems: "center",
|
|
799
1121
|
whiteSpace: "nowrap",
|
|
800
1122
|
color: theme.palette.action.active,
|
|
801
1123
|
...(ownerState.position === "start" && {
|
|
802
|
-
|
|
1124
|
+
marginInlineStart: theme.spacing(2)
|
|
803
1125
|
}),
|
|
804
1126
|
...(ownerState.position === "end" && {
|
|
805
|
-
|
|
1127
|
+
marginInlineEnd: theme.spacing(2)
|
|
806
1128
|
}),
|
|
807
1129
|
...(ownerState.disablePointerEvents === true && {
|
|
808
1130
|
pointerEvents: "none"
|
|
@@ -817,30 +1139,20 @@ export const components = {
|
|
|
817
1139
|
required: true
|
|
818
1140
|
},
|
|
819
1141
|
styleOverrides: {
|
|
820
|
-
root:
|
|
1142
|
+
root: _ref33 => {
|
|
821
1143
|
let {
|
|
822
1144
|
ownerState,
|
|
823
1145
|
theme
|
|
824
|
-
} =
|
|
1146
|
+
} = _ref33;
|
|
825
1147
|
return { ...theme.typography.body1,
|
|
826
1148
|
flex: "1",
|
|
827
1149
|
width: "auto",
|
|
828
1150
|
color: theme.palette.text.primary,
|
|
829
|
-
lineHeight:
|
|
1151
|
+
lineHeight: theme.typography.ui.lineHeight,
|
|
830
1152
|
borderWidth: theme.mixins.borderWidth,
|
|
831
1153
|
borderStyle: theme.mixins.borderStyle,
|
|
832
1154
|
borderRadius: theme.mixins.borderRadius,
|
|
833
1155
|
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
1156
|
...(ownerState.fullWidth && {
|
|
845
1157
|
width: "100%"
|
|
846
1158
|
}),
|
|
@@ -876,19 +1188,23 @@ export const components = {
|
|
|
876
1188
|
}
|
|
877
1189
|
};
|
|
878
1190
|
},
|
|
879
|
-
input:
|
|
1191
|
+
input: _ref34 => {
|
|
880
1192
|
let {
|
|
881
1193
|
theme
|
|
882
|
-
} =
|
|
1194
|
+
} = _ref34;
|
|
883
1195
|
return {
|
|
884
1196
|
boxSizing: "border-box",
|
|
885
1197
|
height: "auto",
|
|
886
|
-
paddingBlock:
|
|
887
|
-
paddingInline:
|
|
1198
|
+
paddingBlock: `calc(${theme.spacing(3)} - ${theme.mixins.borderWidth})`,
|
|
1199
|
+
paddingInline: theme.spacing(3),
|
|
1200
|
+
boxShadow: "none",
|
|
888
1201
|
[`.${inputBaseClasses.disabled} &`]: {
|
|
889
1202
|
pointerEvents: "auto",
|
|
890
1203
|
cursor: "not-allowed"
|
|
891
1204
|
},
|
|
1205
|
+
[`.${inputAdornmentClasses.root} + &`]: {
|
|
1206
|
+
paddingInlineStart: theme.spacing(2)
|
|
1207
|
+
},
|
|
892
1208
|
[`label[data-shrink=false] + .${inputBaseClasses.formControl} &`]: {
|
|
893
1209
|
"&::placeholder": {
|
|
894
1210
|
color: theme.palette.text.secondary,
|
|
@@ -905,10 +1221,10 @@ export const components = {
|
|
|
905
1221
|
shrink: false
|
|
906
1222
|
},
|
|
907
1223
|
styleOverrides: {
|
|
908
|
-
root:
|
|
1224
|
+
root: _ref35 => {
|
|
909
1225
|
let {
|
|
910
1226
|
ownerState
|
|
911
|
-
} =
|
|
1227
|
+
} = _ref35;
|
|
912
1228
|
return {
|
|
913
1229
|
display: "flex",
|
|
914
1230
|
justifyContent: "space-between",
|
|
@@ -930,15 +1246,15 @@ export const components = {
|
|
|
930
1246
|
},
|
|
931
1247
|
MuiLink: {
|
|
932
1248
|
styleOverrides: {
|
|
933
|
-
root:
|
|
1249
|
+
root: _ref36 => {
|
|
934
1250
|
let {
|
|
935
1251
|
theme
|
|
936
|
-
} =
|
|
1252
|
+
} = _ref36;
|
|
937
1253
|
return {
|
|
938
1254
|
color: theme.palette.primary.main,
|
|
939
|
-
textDecoration: "
|
|
1255
|
+
textDecoration: "underline",
|
|
940
1256
|
"&:hover": {
|
|
941
|
-
color: theme.palette.primary.
|
|
1257
|
+
color: theme.palette.primary.dark,
|
|
942
1258
|
textDecoration: "underline"
|
|
943
1259
|
},
|
|
944
1260
|
"&:focus-visible": {
|
|
@@ -976,10 +1292,10 @@ export const components = {
|
|
|
976
1292
|
props: {
|
|
977
1293
|
variant: "monochrome"
|
|
978
1294
|
},
|
|
979
|
-
style:
|
|
1295
|
+
style: _ref37 => {
|
|
980
1296
|
let {
|
|
981
1297
|
theme
|
|
982
|
-
} =
|
|
1298
|
+
} = _ref37;
|
|
983
1299
|
return {
|
|
984
1300
|
color: theme.palette.text.primary,
|
|
985
1301
|
textDecoration: "underline",
|
|
@@ -999,30 +1315,92 @@ export const components = {
|
|
|
999
1315
|
}
|
|
1000
1316
|
}]
|
|
1001
1317
|
},
|
|
1318
|
+
MuiListItem: {
|
|
1319
|
+
styleOverrides: {
|
|
1320
|
+
root: {
|
|
1321
|
+
textAlign: "start"
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
},
|
|
1325
|
+
MuiListSubheader: {
|
|
1326
|
+
styleOverrides: {
|
|
1327
|
+
root: _ref38 => {
|
|
1328
|
+
let {
|
|
1329
|
+
theme
|
|
1330
|
+
} = _ref38;
|
|
1331
|
+
return {
|
|
1332
|
+
paddingBlock: theme.spacing(2),
|
|
1333
|
+
paddingInline: theme.spacing(4),
|
|
1334
|
+
fontSize: theme.typography.caption.fontSize,
|
|
1335
|
+
lineHeight: theme.typography.caption.lineHeight,
|
|
1336
|
+
color: theme.palette.text.secondary,
|
|
1337
|
+
textTransform: "uppercase"
|
|
1338
|
+
};
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
},
|
|
1342
|
+
MuiMenuItem: {
|
|
1343
|
+
styleOverrides: {
|
|
1344
|
+
root: _ref39 => {
|
|
1345
|
+
let {
|
|
1346
|
+
theme
|
|
1347
|
+
} = _ref39;
|
|
1348
|
+
return {
|
|
1349
|
+
justifyContent: "space-between",
|
|
1350
|
+
gap: theme.spacing(2),
|
|
1351
|
+
"&.Mui-selected": {
|
|
1352
|
+
backgroundColor: "transparent",
|
|
1353
|
+
color: theme.palette.primary.main,
|
|
1354
|
+
"&:hover": {
|
|
1355
|
+
backgroundColor: theme.palette.primary.lighter
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
};
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
},
|
|
1002
1362
|
MuiNativeSelect: {
|
|
1003
1363
|
defaultProps: {
|
|
1004
1364
|
variant: "standard"
|
|
1005
1365
|
},
|
|
1006
1366
|
styleOverrides: {
|
|
1007
|
-
|
|
1367
|
+
select: {
|
|
1368
|
+
"&:focus": {
|
|
1369
|
+
backgroundColor: "transparent"
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
icon: _ref40 => {
|
|
1008
1373
|
let {
|
|
1009
1374
|
theme
|
|
1010
|
-
} =
|
|
1375
|
+
} = _ref40;
|
|
1011
1376
|
return {
|
|
1377
|
+
insetInlineEnd: theme.spacing(3),
|
|
1012
1378
|
color: theme.palette.text.primary
|
|
1013
1379
|
};
|
|
1014
1380
|
}
|
|
1015
1381
|
}
|
|
1016
1382
|
},
|
|
1383
|
+
MuiPopover: {
|
|
1384
|
+
styleOverrides: {
|
|
1385
|
+
paper: _ref41 => {
|
|
1386
|
+
let {
|
|
1387
|
+
theme
|
|
1388
|
+
} = _ref41;
|
|
1389
|
+
return {
|
|
1390
|
+
marginBlockStart: theme.spacing(1)
|
|
1391
|
+
};
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
},
|
|
1017
1395
|
MuiRadio: {
|
|
1018
1396
|
defaultProps: {
|
|
1019
1397
|
size: "small"
|
|
1020
1398
|
},
|
|
1021
1399
|
styleOverrides: {
|
|
1022
|
-
root:
|
|
1400
|
+
root: _ref42 => {
|
|
1023
1401
|
let {
|
|
1024
1402
|
theme
|
|
1025
|
-
} =
|
|
1403
|
+
} = _ref42;
|
|
1026
1404
|
return {
|
|
1027
1405
|
"&:hover": {
|
|
1028
1406
|
backgroundColor: "transparent"
|
|
@@ -1054,14 +1432,35 @@ export const components = {
|
|
|
1054
1432
|
},
|
|
1055
1433
|
MuiSelect: {
|
|
1056
1434
|
defaultProps: {
|
|
1057
|
-
variant: "standard"
|
|
1435
|
+
variant: "standard",
|
|
1436
|
+
IconComponent: ChevronDownIcon
|
|
1058
1437
|
},
|
|
1059
1438
|
styleOverrides: {
|
|
1060
|
-
|
|
1439
|
+
select: _ref43 => {
|
|
1061
1440
|
let {
|
|
1062
1441
|
theme
|
|
1063
|
-
} =
|
|
1442
|
+
} = _ref43;
|
|
1064
1443
|
return {
|
|
1444
|
+
paddingBlock: `calc(${theme.spacing(3)} - ${theme.mixins.borderWidth})`,
|
|
1445
|
+
paddingInline: theme.spacing(3),
|
|
1446
|
+
"&:focus": {
|
|
1447
|
+
backgroundColor: "transparent"
|
|
1448
|
+
},
|
|
1449
|
+
".MuiBox-root": {
|
|
1450
|
+
display: "flex",
|
|
1451
|
+
flexWrap: "wrap",
|
|
1452
|
+
gap: theme.spacing(1),
|
|
1453
|
+
marginBlock: `-${theme.spacing(2)}`,
|
|
1454
|
+
marginInline: `-${theme.spacing(2)}`
|
|
1455
|
+
}
|
|
1456
|
+
};
|
|
1457
|
+
},
|
|
1458
|
+
icon: _ref44 => {
|
|
1459
|
+
let {
|
|
1460
|
+
theme
|
|
1461
|
+
} = _ref44;
|
|
1462
|
+
return {
|
|
1463
|
+
insetInlineEnd: theme.spacing(3),
|
|
1065
1464
|
color: theme.palette.text.primary
|
|
1066
1465
|
};
|
|
1067
1466
|
}
|
|
@@ -1071,6 +1470,16 @@ export const components = {
|
|
|
1071
1470
|
defaultProps: {
|
|
1072
1471
|
fontSize: "inherit",
|
|
1073
1472
|
color: "inherit"
|
|
1473
|
+
},
|
|
1474
|
+
styleOverrides: {
|
|
1475
|
+
root: _ref45 => {
|
|
1476
|
+
let {
|
|
1477
|
+
theme
|
|
1478
|
+
} = _ref45;
|
|
1479
|
+
return {
|
|
1480
|
+
fontSize: `${theme.typography.ui.lineHeight}rem`
|
|
1481
|
+
};
|
|
1482
|
+
}
|
|
1074
1483
|
}
|
|
1075
1484
|
},
|
|
1076
1485
|
MuiTab: {
|
|
@@ -1078,11 +1487,11 @@ export const components = {
|
|
|
1078
1487
|
iconPosition: "start"
|
|
1079
1488
|
},
|
|
1080
1489
|
styleOverrides: {
|
|
1081
|
-
root:
|
|
1490
|
+
root: _ref46 => {
|
|
1082
1491
|
let {
|
|
1083
1492
|
theme,
|
|
1084
1493
|
ownerState
|
|
1085
|
-
} =
|
|
1494
|
+
} = _ref46;
|
|
1086
1495
|
return {
|
|
1087
1496
|
maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
|
|
1088
1497
|
minWidth: "unset",
|
|
@@ -1143,11 +1552,11 @@ export const components = {
|
|
|
1143
1552
|
},
|
|
1144
1553
|
MuiTable: {
|
|
1145
1554
|
styleOverrides: {
|
|
1146
|
-
root:
|
|
1555
|
+
root: _ref47 => {
|
|
1147
1556
|
let {
|
|
1148
1557
|
theme,
|
|
1149
1558
|
ownerState
|
|
1150
|
-
} =
|
|
1559
|
+
} = _ref47;
|
|
1151
1560
|
return {
|
|
1152
1561
|
display: "table",
|
|
1153
1562
|
width: "auto",
|
|
@@ -1157,24 +1566,33 @@ export const components = {
|
|
|
1157
1566
|
borderRadius: theme.mixins.borderRadius,
|
|
1158
1567
|
marginBlock: theme.spacing(0),
|
|
1159
1568
|
marginInline: theme.spacing(0),
|
|
1160
|
-
lineHeight:
|
|
1569
|
+
lineHeight: theme.typography.ui.lineHeight,
|
|
1161
1570
|
"&:only-child": {
|
|
1162
1571
|
marginBlockEnd: 0
|
|
1163
1572
|
},
|
|
1164
1573
|
...(ownerState.stickyHeader && {
|
|
1165
1574
|
borderCollapse: "separate"
|
|
1166
|
-
})
|
|
1575
|
+
}),
|
|
1576
|
+
caption: {
|
|
1577
|
+
clip: "rect(0 0 0 0)",
|
|
1578
|
+
clipPath: "inset(50%)",
|
|
1579
|
+
height: "1px",
|
|
1580
|
+
overflow: "hidden",
|
|
1581
|
+
position: "absolute",
|
|
1582
|
+
whiteSpace: "nowrap",
|
|
1583
|
+
width: "1px"
|
|
1584
|
+
}
|
|
1167
1585
|
};
|
|
1168
1586
|
}
|
|
1169
1587
|
}
|
|
1170
1588
|
},
|
|
1171
1589
|
MuiTableCell: {
|
|
1172
1590
|
styleOverrides: {
|
|
1173
|
-
root:
|
|
1591
|
+
root: _ref48 => {
|
|
1174
1592
|
let {
|
|
1175
1593
|
theme,
|
|
1176
1594
|
ownerState
|
|
1177
|
-
} =
|
|
1595
|
+
} = _ref48;
|
|
1178
1596
|
return { ...theme.typography.body1,
|
|
1179
1597
|
maxWidth: theme.mixins.maxWidth,
|
|
1180
1598
|
borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.grey[100]}`,
|
|
@@ -1221,7 +1639,7 @@ export const components = {
|
|
|
1221
1639
|
fontWeight: theme.typography.fontWeightBold
|
|
1222
1640
|
}),
|
|
1223
1641
|
...(ownerState.variant === "number" && {
|
|
1224
|
-
textAlign: "
|
|
1642
|
+
textAlign: "end",
|
|
1225
1643
|
fontFeatureSettings: '"lnum", "tnum"'
|
|
1226
1644
|
}),
|
|
1227
1645
|
...(ownerState.padding === "checkbox" && {
|
|
@@ -1232,13 +1650,13 @@ export const components = {
|
|
|
1232
1650
|
padding: 0
|
|
1233
1651
|
}),
|
|
1234
1652
|
...(ownerState.align === "left" && {
|
|
1235
|
-
textAlign: "
|
|
1653
|
+
textAlign: "start"
|
|
1236
1654
|
}),
|
|
1237
1655
|
...(ownerState.align === "center" && {
|
|
1238
1656
|
textAlign: "center"
|
|
1239
1657
|
}),
|
|
1240
1658
|
...(ownerState.align === "right" && {
|
|
1241
|
-
textAlign: "
|
|
1659
|
+
textAlign: "end",
|
|
1242
1660
|
flexDirection: "row-reverse"
|
|
1243
1661
|
}),
|
|
1244
1662
|
...(ownerState.align === "justify" && {
|
|
@@ -1249,11 +1667,14 @@ export const components = {
|
|
|
1249
1667
|
}
|
|
1250
1668
|
},
|
|
1251
1669
|
MuiTableContainer: {
|
|
1670
|
+
defaultProps: {
|
|
1671
|
+
component: "figure"
|
|
1672
|
+
},
|
|
1252
1673
|
styleOverrides: {
|
|
1253
|
-
root:
|
|
1674
|
+
root: _ref49 => {
|
|
1254
1675
|
let {
|
|
1255
1676
|
theme
|
|
1256
|
-
} =
|
|
1677
|
+
} = _ref49;
|
|
1257
1678
|
return {
|
|
1258
1679
|
width: "unset",
|
|
1259
1680
|
maxWidth: "100%",
|
|
@@ -1270,10 +1691,10 @@ export const components = {
|
|
|
1270
1691
|
},
|
|
1271
1692
|
MuiTableRow: {
|
|
1272
1693
|
styleOverrides: {
|
|
1273
|
-
root:
|
|
1694
|
+
root: _ref50 => {
|
|
1274
1695
|
let {
|
|
1275
1696
|
theme
|
|
1276
|
-
} =
|
|
1697
|
+
} = _ref50;
|
|
1277
1698
|
return {
|
|
1278
1699
|
verticalAlign: "unset",
|
|
1279
1700
|
[`&.${tableRowClasses.root}:hover`]: {
|
|
@@ -1294,10 +1715,10 @@ export const components = {
|
|
|
1294
1715
|
IconComponent: ArrowDownIcon
|
|
1295
1716
|
},
|
|
1296
1717
|
styleOverrides: {
|
|
1297
|
-
root:
|
|
1718
|
+
root: _ref51 => {
|
|
1298
1719
|
let {
|
|
1299
1720
|
theme
|
|
1300
|
-
} =
|
|
1721
|
+
} = _ref51;
|
|
1301
1722
|
return {
|
|
1302
1723
|
cursor: "pointer",
|
|
1303
1724
|
display: "inline-flex",
|
|
@@ -1326,15 +1747,15 @@ export const components = {
|
|
|
1326
1747
|
}
|
|
1327
1748
|
};
|
|
1328
1749
|
},
|
|
1329
|
-
icon:
|
|
1750
|
+
icon: _ref52 => {
|
|
1330
1751
|
let {
|
|
1331
1752
|
theme,
|
|
1332
1753
|
ownerState
|
|
1333
|
-
} =
|
|
1754
|
+
} = _ref52;
|
|
1334
1755
|
return {
|
|
1335
1756
|
fontSize: "inherit",
|
|
1336
|
-
|
|
1337
|
-
|
|
1757
|
+
marginInlineEnd: 0,
|
|
1758
|
+
marginInlineStart: 0,
|
|
1338
1759
|
opacity: 0,
|
|
1339
1760
|
color: "inherit",
|
|
1340
1761
|
transition: theme.transitions.create(["opacity", "transform"], {
|
|
@@ -1359,19 +1780,19 @@ export const components = {
|
|
|
1359
1780
|
},
|
|
1360
1781
|
MuiTabs: {
|
|
1361
1782
|
styleOverrides: {
|
|
1362
|
-
root:
|
|
1783
|
+
root: _ref53 => {
|
|
1363
1784
|
let {
|
|
1364
1785
|
theme
|
|
1365
|
-
} =
|
|
1786
|
+
} = _ref53;
|
|
1366
1787
|
return {
|
|
1367
1788
|
minHeight: "unset",
|
|
1368
1789
|
marginBottom: theme.spacing(5)
|
|
1369
1790
|
};
|
|
1370
1791
|
},
|
|
1371
|
-
flexContainer:
|
|
1792
|
+
flexContainer: _ref54 => {
|
|
1372
1793
|
let {
|
|
1373
1794
|
theme
|
|
1374
|
-
} =
|
|
1795
|
+
} = _ref54;
|
|
1375
1796
|
return {
|
|
1376
1797
|
gap: theme.spacing(5),
|
|
1377
1798
|
borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.divider}`
|
|
@@ -1387,11 +1808,11 @@ export const components = {
|
|
|
1387
1808
|
placement: "top"
|
|
1388
1809
|
},
|
|
1389
1810
|
styleOverrides: {
|
|
1390
|
-
tooltip:
|
|
1811
|
+
tooltip: _ref55 => {
|
|
1391
1812
|
let {
|
|
1392
1813
|
theme,
|
|
1393
1814
|
ownerState
|
|
1394
|
-
} =
|
|
1815
|
+
} = _ref55;
|
|
1395
1816
|
return {
|
|
1396
1817
|
maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
|
|
1397
1818
|
paddingBlock: theme.spacing(2),
|
|
@@ -1410,28 +1831,28 @@ export const components = {
|
|
|
1410
1831
|
[`.${tooltipClasses.popper}[data-popper-placement*="left"] &`]: {
|
|
1411
1832
|
transformOrigin: "right center",
|
|
1412
1833
|
...(ownerState.isRtl ? {
|
|
1413
|
-
|
|
1834
|
+
marginInlineStart: theme.spacing(3),
|
|
1414
1835
|
...(ownerState.touch === true && {
|
|
1415
|
-
|
|
1836
|
+
marginInlineStart: theme.spacing(4)
|
|
1416
1837
|
})
|
|
1417
1838
|
} : {
|
|
1418
|
-
|
|
1839
|
+
marginInlineEnd: theme.spacing(3),
|
|
1419
1840
|
...(ownerState.touch === true && {
|
|
1420
|
-
|
|
1841
|
+
marginInlineEnd: theme.spacing(4)
|
|
1421
1842
|
})
|
|
1422
1843
|
})
|
|
1423
1844
|
},
|
|
1424
1845
|
[`.${tooltipClasses.popper}[data-popper-placement*="right"] &`]: {
|
|
1425
1846
|
transformOrigin: "left center",
|
|
1426
1847
|
...(ownerState.isRtl ? {
|
|
1427
|
-
|
|
1848
|
+
marginInlineEnd: theme.spacing(3),
|
|
1428
1849
|
...(ownerState.touch === true && {
|
|
1429
|
-
|
|
1850
|
+
marginInlineEnd: theme.spacing(4)
|
|
1430
1851
|
})
|
|
1431
1852
|
} : {
|
|
1432
|
-
|
|
1853
|
+
marginInlineStart: theme.spacing(3),
|
|
1433
1854
|
...(ownerState.touch === true && {
|
|
1434
|
-
|
|
1855
|
+
marginInlineStart: theme.spacing(4)
|
|
1435
1856
|
})
|
|
1436
1857
|
})
|
|
1437
1858
|
},
|
|
@@ -1451,10 +1872,10 @@ export const components = {
|
|
|
1451
1872
|
}
|
|
1452
1873
|
};
|
|
1453
1874
|
},
|
|
1454
|
-
arrow:
|
|
1875
|
+
arrow: _ref56 => {
|
|
1455
1876
|
let {
|
|
1456
1877
|
theme
|
|
1457
|
-
} =
|
|
1878
|
+
} = _ref56;
|
|
1458
1879
|
return {
|
|
1459
1880
|
color: theme.palette.grey[900],
|
|
1460
1881
|
"&::before": {
|
|
@@ -1489,39 +1910,17 @@ export const components = {
|
|
|
1489
1910
|
subtitle1: "p",
|
|
1490
1911
|
body1: "p",
|
|
1491
1912
|
inherit: "p",
|
|
1492
|
-
kbd: "kbd",
|
|
1493
1913
|
legend: "legend"
|
|
1494
1914
|
}
|
|
1495
1915
|
},
|
|
1496
1916
|
styleOverrides: {
|
|
1497
|
-
paragraph:
|
|
1917
|
+
paragraph: _ref57 => {
|
|
1498
1918
|
let {
|
|
1499
1919
|
theme
|
|
1500
|
-
} =
|
|
1920
|
+
} = _ref57;
|
|
1501
1921
|
return {
|
|
1502
1922
|
marginBottom: theme.spacing(4)
|
|
1503
1923
|
};
|
|
1504
|
-
},
|
|
1505
|
-
root: _ref50 => {
|
|
1506
|
-
let {
|
|
1507
|
-
theme,
|
|
1508
|
-
ownerState
|
|
1509
|
-
} = _ref50;
|
|
1510
|
-
return { ...(ownerState.variant === "kbd" && {
|
|
1511
|
-
display: "inline-block",
|
|
1512
|
-
minWidth: `calc(${theme.typography.subtitle1.fontSize} * ${theme.typography.h5.lineHeight})`,
|
|
1513
|
-
borderStyle: theme.mixins.borderStyle,
|
|
1514
|
-
borderWidth: theme.mixins.borderWidth,
|
|
1515
|
-
borderRadius: theme.mixins.borderRadius,
|
|
1516
|
-
borderColor: theme.palette.grey[200],
|
|
1517
|
-
backgroundColor: theme.palette.grey[50],
|
|
1518
|
-
padding: `calc(${theme.spacing(1)} / 2) ${theme.spacing(1)}`,
|
|
1519
|
-
fontSize: theme.typography.subtitle1.fontSize,
|
|
1520
|
-
fontWeight: theme.typography.fontWeightRegular,
|
|
1521
|
-
lineHeight: theme.typography.h5.lineHeight,
|
|
1522
|
-
boxShadow: `0 1px 1px 0 hsla(240, 6%, 12%, 0.05)`
|
|
1523
|
-
})
|
|
1524
|
-
};
|
|
1525
1924
|
}
|
|
1526
1925
|
}
|
|
1527
1926
|
}
|