@epilot/base-elements 3.3.3 → 3.3.5
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/dist/Accordion/index.d.ts +1 -3
- package/dist/Accordion/index.js +5 -3
- package/dist/Accordion/index.js.map +1 -1
- package/dist/Autocomplete/Autocomplete.d.ts +1 -1
- package/dist/Collapse/index.d.ts +1 -2
- package/dist/Collapse/index.js +10 -3
- package/dist/Collapse/index.js.map +1 -1
- package/dist/Divider/index.d.ts +1 -2
- package/dist/Divider/index.js +10 -3
- package/dist/Divider/index.js.map +1 -1
- package/dist/Drawer/index.d.ts +1 -2
- package/dist/Drawer/index.js +10 -3
- package/dist/Drawer/index.js.map +1 -1
- package/dist/Drawer360/ActionFooter.d.ts +2 -1
- package/dist/Drawer360/ActionFooter.js +5 -64
- package/dist/Drawer360/ActionFooter.js.map +1 -1
- package/dist/Drawer360/Drawer360.d.ts +1 -1
- package/dist/Drawer360/Drawer360.js +6 -48
- package/dist/Drawer360/Drawer360.js.map +1 -1
- package/dist/Drawer360/helpers.js +1 -6
- package/dist/Drawer360/helpers.js.map +1 -1
- package/dist/Drawer360/styles.d.ts +11 -0
- package/dist/Drawer360/styles.js +106 -0
- package/dist/Drawer360/styles.js.map +1 -0
- package/dist/Drawer360/types.d.ts +1 -0
- package/dist/FeedbackMessage/types.d.ts +1 -1
- package/dist/Form/index.d.ts +1 -7
- package/dist/Form/index.js +8 -14
- package/dist/Form/index.js.map +1 -1
- package/dist/Form/types.d.ts +2 -2
- package/dist/Grid/index.d.ts +1 -2
- package/dist/Grid/index.js.map +1 -1
- package/dist/Hidden/index.d.ts +1 -1
- package/dist/Hidden/index.js +3 -1
- package/dist/Hidden/index.js.map +1 -1
- package/dist/Icon/Icon.d.ts +5 -5
- package/dist/Icon/Icon.js +15 -17
- package/dist/Icon/Icon.js.map +1 -1
- package/dist/Icon/index.d.ts +1 -1
- package/dist/Icon/index.js +1 -5
- package/dist/Icon/index.js.map +1 -1
- package/dist/Icon/types.d.ts +4 -8
- package/dist/IconButton/IconButton.d.ts +3 -4
- package/dist/IconButton/IconButton.js +10 -10
- package/dist/IconButton/IconButton.js.map +1 -1
- package/dist/IconButton/types.d.ts +2 -2
- package/dist/Image/Image.d.ts +3 -3
- package/dist/Image/Image.js +5 -5
- package/dist/Image/Image.js.map +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +2 -2
- package/dist/Link/index.js.map +1 -1
- package/dist/Link/types.d.ts +4 -36
- package/dist/List/List.d.ts +5 -8
- package/dist/List/List.js +14 -27
- package/dist/List/List.js.map +1 -1
- package/dist/List/types.d.ts +2 -6
- package/dist/Menu/Menu.d.ts +1 -6
- package/dist/Menu/Menu.js +12 -5
- package/dist/Menu/Menu.js.map +1 -1
- package/dist/Menu/index.d.ts +1 -1
- package/dist/Menu/index.js +7 -1
- package/dist/Menu/index.js.map +1 -1
- package/dist/Menu/types.d.ts +2 -2
- package/dist/Notification/Notification.d.ts +6 -6
- package/dist/Notification/Notification.js +26 -25
- package/dist/Notification/Notification.js.map +1 -1
- package/dist/Pagination/Pagination.d.ts +2 -3
- package/dist/Pagination/Pagination.js +20 -31
- package/dist/Pagination/Pagination.js.map +1 -1
- package/dist/Pagination/PaginationHelper.d.ts +2 -5
- package/dist/Pagination/PaginationHelper.js +4 -7
- package/dist/Pagination/PaginationHelper.js.map +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -3
- package/dist/Pagination/index.js.map +1 -1
- package/dist/Pagination/types.d.ts +2 -2
- package/dist/Paper/Paper.d.ts +1 -2
- package/dist/Paper/Paper.js +8 -1
- package/dist/Paper/Paper.js.map +1 -1
- package/dist/Paper/index.d.ts +1 -2
- package/dist/Paper/index.js +10 -3
- package/dist/Paper/index.js.map +1 -1
- package/dist/Paper/types.d.ts +1 -2
- package/dist/Pickers/DatePicker.d.ts +1 -7
- package/dist/Pickers/DatePicker.js.map +1 -1
- package/dist/Popover/Popover.d.ts +1 -2
- package/dist/Popover/Popover.js +8 -1
- package/dist/Popover/Popover.js.map +1 -1
- package/dist/Popover/index.d.ts +1 -3
- package/dist/Popover/index.js +9 -4
- package/dist/Popover/index.js.map +1 -1
- package/dist/Popover/types.d.ts +1 -2
- package/dist/Progress/Progress.d.ts +1 -5
- package/dist/Progress/Progress.js +10 -9
- package/dist/Progress/Progress.js.map +1 -1
- package/dist/Progress/index.d.ts +1 -2
- package/dist/Progress/index.js +11 -3
- package/dist/Progress/index.js.map +1 -1
- package/dist/Progress/types.d.ts +1 -3
- package/dist/Radio/Radio.d.ts +3 -3
- package/dist/Radio/Radio.js +5 -4
- package/dist/Radio/Radio.js.map +1 -1
- package/dist/Radio/RadioGroup.d.ts +1 -3
- package/dist/Radio/RadioGroup.js +9 -6
- package/dist/Radio/RadioGroup.js.map +1 -1
- package/dist/Radio/index.d.ts +2 -2
- package/dist/Radio/index.js +4 -4
- package/dist/Radio/index.js.map +1 -1
- package/dist/Radio/types.d.ts +2 -3
- package/dist/Rating/Rating.d.ts +3 -3
- package/dist/Rating/Rating.js +9 -6
- package/dist/Rating/Rating.js.map +1 -1
- package/dist/Select/Select.d.ts +2 -2
- package/dist/Select/Select.js +10 -12
- package/dist/Select/Select.js.map +1 -1
- package/dist/Select/types.d.ts +2 -57
- package/dist/Slide/Slide.d.ts +1 -3
- package/dist/Slide/Slide.js +9 -8
- package/dist/Slide/Slide.js.map +1 -1
- package/dist/Slide/index.d.ts +1 -1
- package/dist/Slide/index.js +2 -2
- package/dist/Slide/index.js.map +1 -1
- package/dist/Snackbar/Snackbar.d.ts +1 -3
- package/dist/Snackbar/Snackbar.js +8 -7
- package/dist/Snackbar/Snackbar.js.map +1 -1
- package/dist/Snackbar/index.d.ts +1 -2
- package/dist/Snackbar/index.js +9 -4
- package/dist/Snackbar/index.js.map +1 -1
- package/dist/Snackbar/types.d.ts +1 -2
- package/dist/Spacing/Spacing.d.ts +6 -6
- package/dist/Spacing/Spacing.js +21 -24
- package/dist/Spacing/Spacing.js.map +1 -1
- package/dist/Spacing/types.d.ts +2 -6
- package/dist/Stepper/MobileStepper.d.ts +1 -2
- package/dist/Stepper/MobileStepper.js +8 -4
- package/dist/Stepper/MobileStepper.js.map +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +3 -1
- package/dist/Stepper/index.js.map +1 -1
- package/dist/Switch/Switch.d.ts +3 -3
- package/dist/Switch/Switch.js +7 -6
- package/dist/Switch/Switch.js.map +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -3
- package/dist/Switch/index.js.map +1 -1
- package/dist/Table/ResizeTableCell/ResizeTableCell.d.ts +2 -2
- package/dist/Table/ResizeTableCell/ResizeTableCell.js +3 -6
- package/dist/Table/ResizeTableCell/ResizeTableCell.js.map +1 -1
- package/dist/Table/ResizeTableCell/ResizeTableContext.d.ts +2 -5
- package/dist/Table/ResizeTableCell/ResizeTableContext.js +4 -4
- package/dist/Table/ResizeTableCell/ResizeTableContext.js.map +1 -1
- package/dist/Table/Table.d.ts +1 -9
- package/dist/Table/Table.js +16 -9
- package/dist/Table/Table.js.map +1 -1
- package/dist/Table/types.d.ts +1 -7
- package/dist/TableColumnSettings/TableColumnSettings.d.ts +2 -3
- package/dist/TableColumnSettings/TableColumnSettings.js +5 -4
- package/dist/TableColumnSettings/TableColumnSettings.js.map +1 -1
- package/dist/TableColumnSettings/index.d.ts +1 -2
- package/dist/TableColumnSettings/index.js +2 -2
- package/dist/TableColumnSettings/index.js.map +1 -1
- package/dist/TableColumnSettings/types.d.ts +1 -0
- package/dist/TextField/InlineTextField.d.ts +3 -3
- package/dist/TextField/InlineTextField.js +32 -102
- package/dist/TextField/InlineTextField.js.map +1 -1
- package/dist/TextField/TextField.d.ts +2 -2
- package/dist/TextField/TextField.js +4 -4
- package/dist/TextField/TextField.js.map +1 -1
- package/dist/TextField/ValidatedTextField.d.ts +2 -2
- package/dist/TextField/ValidatedTextField.js +7 -20
- package/dist/TextField/ValidatedTextField.js.map +1 -1
- package/dist/TextField/styles.d.ts +2 -1
- package/dist/TextField/styles.js +79 -1
- package/dist/TextField/styles.js.map +1 -1
- package/dist/ThemeProvider/DefaultEpilotTheme.d.ts +3 -2
- package/dist/ThemeProvider/DefaultEpilotTheme.js.map +1 -1
- package/dist/ThemeProvider/ThemeProvider.js +7 -5
- package/dist/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/ThemeProvider/mapping.js +148 -164
- package/dist/ThemeProvider/mapping.js.map +1 -1
- package/dist/ThemeProvider/types.d.ts +3 -0
- package/dist/ToggleButton/ToggleButton.d.ts +1 -2
- package/dist/ToggleButton/ToggleButton.js +9 -3
- package/dist/ToggleButton/ToggleButton.js.map +1 -1
- package/dist/ToggleButton/types.d.ts +2 -2
- package/dist/ToggleButtonGroup/index.d.ts +1 -2
- package/dist/ToggleButtonGroup/index.js +10 -3
- package/dist/ToggleButtonGroup/index.js.map +1 -1
- package/dist/Tooltip/Tooltip.d.ts +2 -2
- package/dist/Tooltip/Tooltip.js +4 -4
- package/dist/Tooltip/Tooltip.js.map +1 -1
- package/dist/bundle.js +73 -73
- package/dist/bundle.js.map +1 -1
- package/dist/context/ClassPrefixContext.js +2 -2
- package/dist/context/ClassPrefixContext.js.map +1 -1
- package/dist/utils.d.ts +2 -3
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -1138
|
@@ -18,22 +18,22 @@ function parseThemeTemplate(params) {
|
|
|
18
18
|
}
|
|
19
19
|
exports.parseThemeTemplate = parseThemeTemplate;
|
|
20
20
|
function parseMuiTheme(params, classPrefix) {
|
|
21
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r
|
|
22
|
-
var _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _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, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _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, _105, _106, _107, _108, _109, _110, _111, _112, _113, _114, _115, _116, _117, _118, _119, _120, _121, _122, _123, _124, _125, _126, _127, _128, _129, _130, _131, _132, _133, _134, _135, _136, _137, _138, _139, _140, _141, _142, _143, _144, _145, _146, _147, _148, _149, _150, _151, _152, _153, _154, _155, _156, _157, _158, _159, _160, _161, _162, _163, _164, _165, _166, _167, _168, _169, _170, _171, _172, _173, _174, _175, _176, _177, _178, _179, _180, _181, _182, _183, _184, _185, _186, _187, _188, _189, _190, _191, _192, _193, _194, _195, _196, _197, _198, _199, _200, _201, _202, _203, _204, _205, _206, _207, _208, _209, _210, _211, _212, _213, _214, _215, _216, _217, _218, _219, _220, _221, _222, _223
|
|
21
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
22
|
+
var _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _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, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _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, _105, _106, _107, _108, _109, _110, _111, _112, _113, _114, _115, _116, _117, _118, _119, _120, _121, _122, _123, _124, _125, _126, _127, _128, _129, _130, _131, _132, _133, _134, _135, _136, _137, _138, _139, _140, _141, _142, _143, _144, _145, _146, _147, _148, _149, _150, _151, _152, _153, _154, _155, _156, _157, _158, _159, _160, _161, _162, _163, _164, _165, _166, _167, _168, _169, _170, _171, _172, _173, _174, _175, _176, _177, _178, _179, _180, _181, _182, _183, _184, _185, _186, _187, _188, _189, _190, _191, _192, _193, _194, _195, _196, _197, _198, _199, _200, _201, _202, _203, _204, _205, _206, _207, _208, _209, _210, _211, _212, _213, _214, _215, _216, _217, _218, _219, _220, _221, _222, _223;
|
|
23
23
|
if (classPrefix === void 0) { classPrefix = ''; }
|
|
24
24
|
var prefix = classPrefix ? classPrefix + "-" : '';
|
|
25
|
-
var disableRipple = typeof ((
|
|
26
|
-
? !((
|
|
27
|
-
: !((
|
|
28
|
-
var borderRadius = ((
|
|
29
|
-
var primaryColor = ((
|
|
30
|
-
var secondaryColor = ((
|
|
31
|
-
var successColor = ((
|
|
32
|
-
var neutralColor = ((
|
|
33
|
-
var neutralVariantColor = ((
|
|
34
|
-
var infoColor = ((
|
|
35
|
-
var defaultBackground = ((
|
|
36
|
-
var warningColor = ((
|
|
25
|
+
var disableRipple = typeof ((_s = params.props) === null || _s === void 0 ? void 0 : _s.enable_ripple) === 'boolean'
|
|
26
|
+
? !((_t = params.props) === null || _t === void 0 ? void 0 : _t.enable_ripple)
|
|
27
|
+
: !((_u = DefaultEpilotTheme_1.DefaultEpilotTheme.props) === null || _u === void 0 ? void 0 : _u.enable_ripple);
|
|
28
|
+
var borderRadius = ((_v = params.shape) === null || _v === void 0 ? void 0 : _v.borderRadius) || ((_w = DefaultEpilotTheme_1.DefaultEpilotTheme.shape) === null || _w === void 0 ? void 0 : _w.borderRadius);
|
|
29
|
+
var primaryColor = ((_x = params.palette) === null || _x === void 0 ? void 0 : _x.primary) || ((_y = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _y === void 0 ? void 0 : _y.primary);
|
|
30
|
+
var secondaryColor = ((_z = params.palette) === null || _z === void 0 ? void 0 : _z.secondary) || ((_0 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _0 === void 0 ? void 0 : _0.secondary);
|
|
31
|
+
var successColor = ((_1 = params.palette) === null || _1 === void 0 ? void 0 : _1.success) || ((_2 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _2 === void 0 ? void 0 : _2.success);
|
|
32
|
+
var neutralColor = ((_3 = params.palette) === null || _3 === void 0 ? void 0 : _3.neutral) || ((_4 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _4 === void 0 ? void 0 : _4.neutral);
|
|
33
|
+
var neutralVariantColor = ((_5 = params.palette) === null || _5 === void 0 ? void 0 : _5.neutralVariant) || ((_6 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _6 === void 0 ? void 0 : _6.neutralVariant);
|
|
34
|
+
var infoColor = ((_7 = params.palette) === null || _7 === void 0 ? void 0 : _7.info) || ((_8 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _8 === void 0 ? void 0 : _8.info);
|
|
35
|
+
var defaultBackground = ((_10 = (_9 = params.palette) === null || _9 === void 0 ? void 0 : _9.background) === null || _10 === void 0 ? void 0 : _10["default"]) || ((_12 = (_11 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _11 === void 0 ? void 0 : _11.background) === null || _12 === void 0 ? void 0 : _12["default"]);
|
|
36
|
+
var warningColor = ((_13 = params.palette) === null || _13 === void 0 ? void 0 : _13.warning) || ((_14 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _14 === void 0 ? void 0 : _14.warning);
|
|
37
37
|
var primaryDark = (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.dark) ? primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.dark : (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main) ? styles_1.darken(primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main, 0.1)
|
|
38
38
|
: null;
|
|
39
39
|
var secondaryDark = (secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.dark) ? secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.dark : (secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.main) ? styles_1.darken(secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.main, 0.1)
|
|
@@ -42,31 +42,32 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
42
42
|
: null;
|
|
43
43
|
var secondaryLight = (secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.light) ? secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.light : (secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.main) ? styles_1.lighten(secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.main, 0.1)
|
|
44
44
|
: null;
|
|
45
|
-
var errorColor = ((
|
|
46
|
-
var accent1Color = ((
|
|
47
|
-
var accent2Color = ((
|
|
48
|
-
var tertiaryColor = ((
|
|
49
|
-
var defaultColor = ((
|
|
50
|
-
var grey20 = ((
|
|
51
|
-
var grey30 = ((
|
|
52
|
-
var grey40 = ((
|
|
53
|
-
var grey50 = ((
|
|
54
|
-
var grey60 = ((
|
|
55
|
-
var grey70 = ((
|
|
56
|
-
var grey100 = ((
|
|
57
|
-
var grey200 = ((
|
|
58
|
-
var
|
|
59
|
-
var
|
|
60
|
-
var
|
|
61
|
-
var
|
|
62
|
-
var
|
|
63
|
-
var
|
|
64
|
-
var
|
|
45
|
+
var errorColor = ((_15 = params.palette) === null || _15 === void 0 ? void 0 : _15.error) || ((_16 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _16 === void 0 ? void 0 : _16.error);
|
|
46
|
+
var accent1Color = ((_17 = params.palette) === null || _17 === void 0 ? void 0 : _17.accent1) || ((_18 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _18 === void 0 ? void 0 : _18.accent1);
|
|
47
|
+
var accent2Color = ((_19 = params.palette) === null || _19 === void 0 ? void 0 : _19.accent2) || ((_20 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _20 === void 0 ? void 0 : _20.accent2);
|
|
48
|
+
var tertiaryColor = ((_21 = params.palette) === null || _21 === void 0 ? void 0 : _21.tertiary) || ((_22 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _22 === void 0 ? void 0 : _22.tertiary);
|
|
49
|
+
var defaultColor = ((_23 = params.palette) === null || _23 === void 0 ? void 0 : _23["default"]) || ((_24 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _24 === void 0 ? void 0 : _24["default"]);
|
|
50
|
+
var grey20 = ((_26 = (_25 = params.palette) === null || _25 === void 0 ? void 0 : _25.grey) === null || _26 === void 0 ? void 0 : _26[20]) || ((_28 = (_27 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _27 === void 0 ? void 0 : _27.grey) === null || _28 === void 0 ? void 0 : _28[20]);
|
|
51
|
+
var grey30 = ((_30 = (_29 = params.palette) === null || _29 === void 0 ? void 0 : _29.grey) === null || _30 === void 0 ? void 0 : _30[30]) || ((_32 = (_31 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _31 === void 0 ? void 0 : _31.grey) === null || _32 === void 0 ? void 0 : _32[30]);
|
|
52
|
+
var grey40 = ((_34 = (_33 = params.palette) === null || _33 === void 0 ? void 0 : _33.grey) === null || _34 === void 0 ? void 0 : _34[40]) || ((_36 = (_35 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _35 === void 0 ? void 0 : _35.grey) === null || _36 === void 0 ? void 0 : _36[40]);
|
|
53
|
+
var grey50 = ((_38 = (_37 = params.palette) === null || _37 === void 0 ? void 0 : _37.grey) === null || _38 === void 0 ? void 0 : _38[50]) || ((_40 = (_39 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _39 === void 0 ? void 0 : _39.grey) === null || _40 === void 0 ? void 0 : _40[50]);
|
|
54
|
+
var grey60 = ((_42 = (_41 = params.palette) === null || _41 === void 0 ? void 0 : _41.grey) === null || _42 === void 0 ? void 0 : _42[60]) || ((_44 = (_43 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _43 === void 0 ? void 0 : _43.grey) === null || _44 === void 0 ? void 0 : _44[60]);
|
|
55
|
+
var grey70 = ((_46 = (_45 = params.palette) === null || _45 === void 0 ? void 0 : _45.grey) === null || _46 === void 0 ? void 0 : _46[70]) || ((_48 = (_47 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _47 === void 0 ? void 0 : _47.grey) === null || _48 === void 0 ? void 0 : _48[70]);
|
|
56
|
+
var grey100 = ((_50 = (_49 = params.palette) === null || _49 === void 0 ? void 0 : _49.grey) === null || _50 === void 0 ? void 0 : _50[100]) || ((_52 = (_51 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _51 === void 0 ? void 0 : _51.grey) === null || _52 === void 0 ? void 0 : _52[100]);
|
|
57
|
+
var grey200 = ((_54 = (_53 = params.palette) === null || _53 === void 0 ? void 0 : _53.grey) === null || _54 === void 0 ? void 0 : _54[200]) || ((_56 = (_55 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _55 === void 0 ? void 0 : _55.grey) === null || _56 === void 0 ? void 0 : _56[200]);
|
|
58
|
+
var surfaceContainerHighest = ((_58 = (_57 = params.palette) === null || _57 === void 0 ? void 0 : _57.surface) === null || _58 === void 0 ? void 0 : _58.containerHighest) || ((_60 = (_59 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _59 === void 0 ? void 0 : _59.surface) === null || _60 === void 0 ? void 0 : _60.containerHighest);
|
|
59
|
+
var surfaceContainerHigh = ((_62 = (_61 = params.palette) === null || _61 === void 0 ? void 0 : _61.surface) === null || _62 === void 0 ? void 0 : _62.containerHigh) || ((_64 = (_63 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _63 === void 0 ? void 0 : _63.surface) === null || _64 === void 0 ? void 0 : _64.containerHigh);
|
|
60
|
+
var surfaceContainer = ((_66 = (_65 = params.palette) === null || _65 === void 0 ? void 0 : _65.surface) === null || _66 === void 0 ? void 0 : _66.container) || ((_68 = (_67 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _67 === void 0 ? void 0 : _67.surface) === null || _68 === void 0 ? void 0 : _68.container);
|
|
61
|
+
var surfaceContainerLow = ((_70 = (_69 = params.palette) === null || _69 === void 0 ? void 0 : _69.surface) === null || _70 === void 0 ? void 0 : _70.containerLow) || ((_72 = (_71 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _71 === void 0 ? void 0 : _71.surface) === null || _72 === void 0 ? void 0 : _72.containerLow);
|
|
62
|
+
var textPalette = ((_73 = params.palette) === null || _73 === void 0 ? void 0 : _73.text) || ((_74 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _74 === void 0 ? void 0 : _74.text);
|
|
63
|
+
var actionHoverColor = ((_76 = (_75 = params.palette) === null || _75 === void 0 ? void 0 : _75.action) === null || _76 === void 0 ? void 0 : _76.hover) || ((_78 = (_77 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _77 === void 0 ? void 0 : _77.action) === null || _78 === void 0 ? void 0 : _78.hover);
|
|
64
|
+
var dividerColor = ((_79 = params.palette) === null || _79 === void 0 ? void 0 : _79.divider) || ((_80 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _80 === void 0 ? void 0 : _80.divider);
|
|
65
|
+
var extFonts = ((_81 = params.typography) === null || _81 === void 0 ? void 0 : _81.fontSource) ? fonts_1["default"].concat((_82 = params.typography) === null || _82 === void 0 ? void 0 : _82.fontSource)
|
|
65
66
|
: fonts_1["default"];
|
|
66
|
-
var elevation1 = ((
|
|
67
|
-
var elevation2 = ((
|
|
68
|
-
var elevation3 = ((
|
|
69
|
-
var elevation8 = ((
|
|
67
|
+
var elevation1 = ((_83 = params.shadows) === null || _83 === void 0 ? void 0 : _83[1]) || ((_84 = DefaultEpilotTheme_1.DefaultEpilotTheme.shadows) === null || _84 === void 0 ? void 0 : _84[1]);
|
|
68
|
+
var elevation2 = ((_85 = params.shadows) === null || _85 === void 0 ? void 0 : _85[2]) || ((_86 = DefaultEpilotTheme_1.DefaultEpilotTheme.shadows) === null || _86 === void 0 ? void 0 : _86[2]);
|
|
69
|
+
var elevation3 = ((_87 = params.shadows) === null || _87 === void 0 ? void 0 : _87[3]) || ((_88 = DefaultEpilotTheme_1.DefaultEpilotTheme.shadows) === null || _88 === void 0 ? void 0 : _88[3]);
|
|
70
|
+
var elevation8 = ((_89 = params.shadows) === null || _89 === void 0 ? void 0 : _89[8]) || ((_90 = DefaultEpilotTheme_1.DefaultEpilotTheme.shadows) === null || _90 === void 0 ? void 0 : _90[8]);
|
|
70
71
|
var overrides = fp_1["default"].merge({
|
|
71
72
|
MuiTypography: {
|
|
72
73
|
root: {
|
|
@@ -292,13 +293,9 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
292
293
|
}
|
|
293
294
|
},
|
|
294
295
|
MuiTabPanel: {
|
|
295
|
-
root:
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
_c["& ." + prefix + "MuiPaper-root"] = {
|
|
299
|
-
borderRadius: "0px " + borderRadius + "px " + borderRadius + "px " + borderRadius + "px"
|
|
300
|
-
},
|
|
301
|
-
_c)
|
|
296
|
+
root: {
|
|
297
|
+
padding: 0
|
|
298
|
+
}
|
|
302
299
|
},
|
|
303
300
|
MuiTabs: {
|
|
304
301
|
root: {
|
|
@@ -377,7 +374,7 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
377
374
|
backgroundColor: 'transparent'
|
|
378
375
|
}
|
|
379
376
|
},
|
|
380
|
-
textPrimary: (
|
|
377
|
+
textPrimary: (_c = {
|
|
381
378
|
'&:hover': {
|
|
382
379
|
backgroundColor: 'transparent',
|
|
383
380
|
color: primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[600]
|
|
@@ -386,20 +383,20 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
386
383
|
color: primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[700]
|
|
387
384
|
}
|
|
388
385
|
},
|
|
389
|
-
|
|
386
|
+
_c["&." + classPrefix + "Mui-focusVisible"] = {
|
|
390
387
|
border: "1px solid white",
|
|
391
388
|
boxShadow: "0 0 0 2px " + ((primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) || primaryLight) + " !important"
|
|
392
389
|
},
|
|
393
|
-
|
|
390
|
+
_c["&." + classPrefix + "Mui-focusVisible." + classPrefix + "MuiButton-textSizeSmall"] = {
|
|
394
391
|
boxShadow: "0 0 0 1px " + ((primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) || primaryLight) + " !important"
|
|
395
392
|
},
|
|
396
|
-
|
|
393
|
+
_c),
|
|
397
394
|
textSecondary: {
|
|
398
395
|
'&:hover': {
|
|
399
396
|
backgroundColor: 'transparent'
|
|
400
397
|
}
|
|
401
398
|
},
|
|
402
|
-
outlined: (
|
|
399
|
+
outlined: (_d = {
|
|
403
400
|
color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary,
|
|
404
401
|
backgroundColor: defaultBackground,
|
|
405
402
|
borderColor: grey70,
|
|
@@ -408,21 +405,21 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
408
405
|
boxShadow: "0px 0px 0px 1px " + (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) + " !important"
|
|
409
406
|
}
|
|
410
407
|
},
|
|
411
|
-
|
|
408
|
+
_d["& ." + prefix + "MuiButton-startIcon"] = {
|
|
412
409
|
color: accent1Color === null || accent1Color === void 0 ? void 0 : accent1Color.main
|
|
413
410
|
},
|
|
414
|
-
|
|
411
|
+
_d["& ." + prefix + "MuiButton-endIcon"] = {
|
|
415
412
|
color: accent1Color === null || accent1Color === void 0 ? void 0 : accent1Color.main
|
|
416
413
|
},
|
|
417
|
-
|
|
414
|
+
_d["&." + classPrefix + "Mui-focusVisible"] = {
|
|
418
415
|
border: "1px solid white",
|
|
419
416
|
boxShadow: "0 0 0 2px " + ((primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) || primaryLight) + " !important"
|
|
420
417
|
},
|
|
421
|
-
|
|
418
|
+
_d["&." + classPrefix + "Mui-focusVisible." + classPrefix + "MuiButton-outlinedSizeSmall"] = {
|
|
422
419
|
boxShadow: "0 0 0 1px " + ((primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) || primaryLight) + " !important"
|
|
423
420
|
},
|
|
424
|
-
|
|
425
|
-
outlinedPrimary: (
|
|
421
|
+
_d),
|
|
422
|
+
outlinedPrimary: (_e = {
|
|
426
423
|
color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary,
|
|
427
424
|
'&:hover': {
|
|
428
425
|
border: "1px solid " + primaryDark,
|
|
@@ -433,13 +430,13 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
433
430
|
boxShadow: "0px 0px 0px 1px " + (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) + " !important"
|
|
434
431
|
}
|
|
435
432
|
},
|
|
436
|
-
|
|
433
|
+
_e["& ." + prefix + "MuiButton-startIcon"] = {
|
|
437
434
|
color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary
|
|
438
435
|
},
|
|
439
|
-
|
|
436
|
+
_e["& ." + prefix + "MuiButton-endIcon"] = {
|
|
440
437
|
color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary
|
|
441
438
|
},
|
|
442
|
-
|
|
439
|
+
_e),
|
|
443
440
|
outlinedSecondary: {
|
|
444
441
|
color: textPalette === null || textPalette === void 0 ? void 0 : textPalette.primary,
|
|
445
442
|
'&:hover': {
|
|
@@ -447,26 +444,26 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
447
444
|
backgroundColor: defaultBackground
|
|
448
445
|
}
|
|
449
446
|
},
|
|
450
|
-
containedPrimary: (
|
|
451
|
-
|
|
447
|
+
containedPrimary: (_f = {},
|
|
448
|
+
_f["&." + classPrefix + "Mui-focusVisible"] = {
|
|
452
449
|
backgroundColor: (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) + " !important",
|
|
453
450
|
border: "1px solid white",
|
|
454
451
|
boxShadow: "0 0 0 2px " + ((primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) || primaryLight) + " !important"
|
|
455
452
|
},
|
|
456
|
-
|
|
453
|
+
_f["&." + classPrefix + "Mui-focusVisible." + classPrefix + "MuiButton-containedSizeSmall"] = {
|
|
457
454
|
boxShadow: "0 0 0 1px " + ((primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) || primaryLight) + " !important"
|
|
458
455
|
},
|
|
459
|
-
|
|
460
|
-
containedSecondary: (
|
|
461
|
-
|
|
456
|
+
_f),
|
|
457
|
+
containedSecondary: (_g = {},
|
|
458
|
+
_g["&." + classPrefix + "Mui-focusVisible"] = {
|
|
462
459
|
backgroundColor: (secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor.main) + " !important",
|
|
463
460
|
border: "1px solid white",
|
|
464
461
|
boxShadow: "0 0 0 2px " + ((secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor[400]) || secondaryLight) + " !important"
|
|
465
462
|
},
|
|
466
|
-
|
|
463
|
+
_g["&." + classPrefix + "Mui-focusVisible." + classPrefix + "MuiButton-containedSizeSmall"] = {
|
|
467
464
|
boxShadow: "0 0 0 1px " + ((secondaryColor === null || secondaryColor === void 0 ? void 0 : secondaryColor[400]) || secondaryLight) + " !important"
|
|
468
465
|
},
|
|
469
|
-
|
|
466
|
+
_g)
|
|
470
467
|
},
|
|
471
468
|
MuiButtonGroup: {
|
|
472
469
|
groupedContainedPrimary: {
|
|
@@ -481,7 +478,7 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
481
478
|
}
|
|
482
479
|
},
|
|
483
480
|
groupedTextPrimary: {
|
|
484
|
-
border: "1px solid " + ((
|
|
481
|
+
border: "1px solid " + ((_91 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _91 === void 0 ? void 0 : _91.grey[70]) + " !important",
|
|
485
482
|
'&:not(:last-child)': {
|
|
486
483
|
marginRight: -1
|
|
487
484
|
}
|
|
@@ -493,14 +490,14 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
493
490
|
}
|
|
494
491
|
},
|
|
495
492
|
MuiDialogTitle: {
|
|
496
|
-
root: (
|
|
493
|
+
root: (_h = {
|
|
497
494
|
padding: 24,
|
|
498
495
|
paddingBottom: 4
|
|
499
496
|
},
|
|
500
|
-
|
|
497
|
+
_h["& ." + prefix + "MuiTypography-root"] = {
|
|
501
498
|
fontWeight: 600
|
|
502
499
|
},
|
|
503
|
-
|
|
500
|
+
_h)
|
|
504
501
|
},
|
|
505
502
|
MuiDialogActions: {
|
|
506
503
|
root: {
|
|
@@ -527,7 +524,7 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
527
524
|
'&:hover': {
|
|
528
525
|
backgroundColor: defaultBackground
|
|
529
526
|
},
|
|
530
|
-
'&$selected': (
|
|
527
|
+
'&$selected': (_j = {
|
|
531
528
|
backgroundColor: (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main) + " !important",
|
|
532
529
|
borderColor: (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main) + " !important",
|
|
533
530
|
borderRight: "1px solid " + (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main) + " !important",
|
|
@@ -535,17 +532,17 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
535
532
|
backgroundColor: primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor.main
|
|
536
533
|
}
|
|
537
534
|
},
|
|
538
|
-
|
|
535
|
+
_j["& ." + prefix + "MuiToggleButton-label"] = {
|
|
539
536
|
color: defaultBackground
|
|
540
537
|
},
|
|
541
|
-
|
|
542
|
-
'&$disabled': (
|
|
538
|
+
_j),
|
|
539
|
+
'&$disabled': (_k = {
|
|
543
540
|
backgroundColor: grey40
|
|
544
541
|
},
|
|
545
|
-
|
|
542
|
+
_k["& ." + prefix + "MuiToggleButton-label"] = {
|
|
546
543
|
color: grey100
|
|
547
544
|
},
|
|
548
|
-
|
|
545
|
+
_k),
|
|
549
546
|
height: 32,
|
|
550
547
|
fontSize: 14
|
|
551
548
|
},
|
|
@@ -574,61 +571,46 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
574
571
|
},
|
|
575
572
|
switchBase: {
|
|
576
573
|
padding: 2,
|
|
577
|
-
color: (
|
|
574
|
+
color: (_92 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _92 === void 0 ? void 0 : _92.background["default"],
|
|
578
575
|
'&:hover': {
|
|
579
576
|
backgroundColor: 'inherit'
|
|
580
577
|
},
|
|
581
578
|
'&$checked': {
|
|
582
579
|
transform: 'translateX(24px)',
|
|
583
|
-
color: ((
|
|
580
|
+
color: ((_93 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _93 === void 0 ? void 0 : _93.background["default"]) + " !important",
|
|
584
581
|
'& + $track': {
|
|
585
582
|
opacity: 1,
|
|
586
|
-
borderColor: (
|
|
587
|
-
backgroundColor: (
|
|
583
|
+
borderColor: (_94 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _94 === void 0 ? void 0 : _94.action.disabled,
|
|
584
|
+
backgroundColor: (_95 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _95 === void 0 ? void 0 : _95.action.disabled
|
|
588
585
|
}
|
|
589
586
|
}
|
|
590
587
|
},
|
|
591
588
|
colorPrimary: {
|
|
592
589
|
'&$disabled': {
|
|
593
|
-
color: ((
|
|
594
|
-
'& + $track': {
|
|
595
|
-
opacity: 0.8,
|
|
596
|
-
borderColor: (_94 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _94 === void 0 ? void 0 : _94.action.disabled,
|
|
597
|
-
backgroundColor: (_95 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _95 === void 0 ? void 0 : _95.action.disabled
|
|
598
|
-
},
|
|
590
|
+
color: ((_96 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _96 === void 0 ? void 0 : _96.background["default"]) + " !important",
|
|
599
591
|
'&$checked': {
|
|
600
592
|
'& + $track': {
|
|
601
|
-
opacity: 0.
|
|
602
|
-
borderColor: (
|
|
603
|
-
backgroundColor: (
|
|
593
|
+
opacity: 0.38,
|
|
594
|
+
borderColor: (_97 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _97 === void 0 ? void 0 : _97.primary.main,
|
|
595
|
+
backgroundColor: (_98 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _98 === void 0 ? void 0 : _98.primary.main
|
|
604
596
|
}
|
|
605
597
|
}
|
|
606
|
-
},
|
|
607
|
-
'&$checked': {
|
|
608
|
-
'& + $track': {
|
|
609
|
-
borderColor: (_98 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _98 === void 0 ? void 0 : _98.primary.main
|
|
610
|
-
}
|
|
611
598
|
}
|
|
612
599
|
},
|
|
613
600
|
colorSecondary: {
|
|
614
601
|
'&$disabled': {
|
|
615
602
|
color: ((_99 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _99 === void 0 ? void 0 : _99.background["default"]) + " !important",
|
|
616
|
-
'& + $track': {
|
|
617
|
-
opacity: 0.8,
|
|
618
|
-
borderColor: (_100 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _100 === void 0 ? void 0 : _100.action.disabled,
|
|
619
|
-
backgroundColor: (_101 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _101 === void 0 ? void 0 : _101.action.disabled
|
|
620
|
-
},
|
|
621
603
|
'&$checked': {
|
|
622
604
|
'& + $track': {
|
|
623
|
-
opacity: 0.
|
|
624
|
-
borderColor: (
|
|
625
|
-
backgroundColor: (
|
|
605
|
+
opacity: 0.38,
|
|
606
|
+
borderColor: (_100 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _100 === void 0 ? void 0 : _100.secondary.main,
|
|
607
|
+
backgroundColor: (_101 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _101 === void 0 ? void 0 : _101.secondary.main
|
|
626
608
|
}
|
|
627
609
|
}
|
|
628
610
|
},
|
|
629
611
|
'&$checked': {
|
|
630
612
|
'& + $track': {
|
|
631
|
-
borderColor: (
|
|
613
|
+
borderColor: (_102 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _102 === void 0 ? void 0 : _102.secondary.main
|
|
632
614
|
}
|
|
633
615
|
}
|
|
634
616
|
},
|
|
@@ -638,28 +620,27 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
638
620
|
boxShadow: 'none'
|
|
639
621
|
},
|
|
640
622
|
track: {
|
|
641
|
-
border: "1px solid " + ((_105 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _105 === void 0 ? void 0 : _105.action.disabled),
|
|
642
623
|
borderRadius: 12,
|
|
643
624
|
opacity: 1,
|
|
644
|
-
backgroundColor: (
|
|
625
|
+
backgroundColor: (_104 = (_103 = DefaultEpilotTheme_1.DefaultEpilotTheme === null || DefaultEpilotTheme_1.DefaultEpilotTheme === void 0 ? void 0 : DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _103 === void 0 ? void 0 : _103.neutralVariant) === null || _104 === void 0 ? void 0 : _104[70]
|
|
645
626
|
},
|
|
646
|
-
sizeSmall: (
|
|
627
|
+
sizeSmall: (_l = {
|
|
647
628
|
width: 28,
|
|
648
629
|
height: 16,
|
|
649
630
|
padding: 0
|
|
650
631
|
},
|
|
651
|
-
|
|
632
|
+
_l["& ." + prefix + "MuiSwitch-switchBase"] = (_m = {
|
|
652
633
|
padding: '2px !important',
|
|
653
634
|
'&$checked': {
|
|
654
635
|
transform: 'translateX(12px) !important'
|
|
655
636
|
}
|
|
656
637
|
},
|
|
657
|
-
|
|
638
|
+
_m["& ." + prefix + "MuiSwitch-thumb"] = {
|
|
658
639
|
width: 12,
|
|
659
640
|
height: 12
|
|
660
641
|
},
|
|
661
|
-
|
|
662
|
-
|
|
642
|
+
_m),
|
|
643
|
+
_l)
|
|
663
644
|
},
|
|
664
645
|
MuiTooltip: {
|
|
665
646
|
tooltip: {
|
|
@@ -698,39 +679,39 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
698
679
|
}
|
|
699
680
|
},
|
|
700
681
|
MuiOutlinedInput: {
|
|
701
|
-
root: (
|
|
682
|
+
root: (_o = {
|
|
702
683
|
backgroundColor: defaultBackground,
|
|
703
684
|
'& input': {
|
|
704
685
|
paddingTop: 10.5,
|
|
705
686
|
paddingBottom: 10.5
|
|
706
687
|
}
|
|
707
688
|
},
|
|
708
|
-
|
|
689
|
+
_o["& ." + prefix + "MuiOutlinedInput-notchedOutline"] = {
|
|
709
690
|
borderColor: grey70
|
|
710
691
|
},
|
|
711
|
-
|
|
692
|
+
_o['&:hover'] = (_p = {
|
|
712
693
|
backgroundColor: grey20
|
|
713
694
|
},
|
|
714
|
-
|
|
695
|
+
_p["& ." + prefix + "MuiOutlinedInput-notchedOutline"] = {
|
|
715
696
|
borderColor: grey70
|
|
716
697
|
},
|
|
717
|
-
|
|
718
|
-
|
|
698
|
+
_p),
|
|
699
|
+
_o['&$focused'] = (_q = {
|
|
719
700
|
backgroundColor: '#ffffff'
|
|
720
701
|
},
|
|
721
|
-
|
|
702
|
+
_q["& ." + prefix + "MuiOutlinedInput-notchedOutline"] = {
|
|
722
703
|
borderColor: (primaryColor === null || primaryColor === void 0 ? void 0 : primaryColor[400]) + " !important",
|
|
723
704
|
borderWidth: 1
|
|
724
705
|
},
|
|
725
|
-
|
|
726
|
-
|
|
706
|
+
_q),
|
|
707
|
+
_o['&$disabled'] = (_r = {
|
|
727
708
|
backgroundColor: 'action.disabled'
|
|
728
709
|
},
|
|
729
|
-
|
|
710
|
+
_r["& ." + prefix + "MuiOutlinedInput-notchedOutline"] = {
|
|
730
711
|
borderColor: grey70
|
|
731
712
|
},
|
|
732
|
-
|
|
733
|
-
|
|
713
|
+
_r),
|
|
714
|
+
_o),
|
|
734
715
|
inputMarginDense: {
|
|
735
716
|
'&$input': {
|
|
736
717
|
paddingTop: 6.5,
|
|
@@ -747,6 +728,9 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
747
728
|
inputRoot: {
|
|
748
729
|
minHeight: 32
|
|
749
730
|
},
|
|
731
|
+
tag: {
|
|
732
|
+
backgroundColor: surfaceContainerHighest
|
|
733
|
+
},
|
|
750
734
|
option: {
|
|
751
735
|
'&:hover': {
|
|
752
736
|
backgroundColor: actionHoverColor
|
|
@@ -790,26 +774,26 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
790
774
|
margin: 0
|
|
791
775
|
}
|
|
792
776
|
}
|
|
793
|
-
} }, (
|
|
777
|
+
} }, (_105 = params.muiOverrides) === null || _105 === void 0 ? void 0 : _105.MuiCssBaseline)
|
|
794
778
|
}, params.muiOverrides);
|
|
795
779
|
return {
|
|
796
780
|
typography: {
|
|
797
|
-
fontWeightRegular: ((
|
|
798
|
-
fontWeightBold: ((
|
|
799
|
-
fontSize: ((
|
|
800
|
-
body1: ((
|
|
801
|
-
body2: ((
|
|
802
|
-
caption: ((
|
|
803
|
-
subtitle1: ((
|
|
804
|
-
subtitle2: ((
|
|
805
|
-
fontFamily: (((
|
|
806
|
-
button: ((
|
|
807
|
-
h1: ((
|
|
808
|
-
h2: ((
|
|
809
|
-
h3: ((
|
|
810
|
-
h4: ((
|
|
811
|
-
h5: ((
|
|
812
|
-
h6: ((
|
|
781
|
+
fontWeightRegular: ((_106 = params.typography) === null || _106 === void 0 ? void 0 : _106.fontWeightRegular) || ((_107 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _107 === void 0 ? void 0 : _107.fontWeightRegular),
|
|
782
|
+
fontWeightBold: ((_108 = params.typography) === null || _108 === void 0 ? void 0 : _108.fontWeightBold) || ((_109 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _109 === void 0 ? void 0 : _109.fontWeightBold),
|
|
783
|
+
fontSize: ((_110 = params.typography) === null || _110 === void 0 ? void 0 : _110.fontSize) || ((_111 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _111 === void 0 ? void 0 : _111.fontSize),
|
|
784
|
+
body1: ((_112 = params.typography) === null || _112 === void 0 ? void 0 : _112.body1) || ((_113 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _113 === void 0 ? void 0 : _113.body1),
|
|
785
|
+
body2: ((_114 = params.typography) === null || _114 === void 0 ? void 0 : _114.body2) || ((_115 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _115 === void 0 ? void 0 : _115.body2),
|
|
786
|
+
caption: ((_116 = params.typography) === null || _116 === void 0 ? void 0 : _116.caption) || ((_117 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _117 === void 0 ? void 0 : _117.caption),
|
|
787
|
+
subtitle1: ((_118 = params.typography) === null || _118 === void 0 ? void 0 : _118.subtitle1) || ((_119 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _119 === void 0 ? void 0 : _119.subtitle1),
|
|
788
|
+
subtitle2: ((_120 = params.typography) === null || _120 === void 0 ? void 0 : _120.subtitle2) || ((_121 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _121 === void 0 ? void 0 : _121.subtitle2),
|
|
789
|
+
fontFamily: (((_122 = params.typography) === null || _122 === void 0 ? void 0 : _122.fontFamily) || ((_123 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _123 === void 0 ? void 0 : _123.fontFamily)) + " !important",
|
|
790
|
+
button: ((_124 = params.typography) === null || _124 === void 0 ? void 0 : _124.button) || ((_125 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _125 === void 0 ? void 0 : _125.button),
|
|
791
|
+
h1: ((_126 = params.typography) === null || _126 === void 0 ? void 0 : _126.h1) || ((_127 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _127 === void 0 ? void 0 : _127.h1),
|
|
792
|
+
h2: ((_128 = params.typography) === null || _128 === void 0 ? void 0 : _128.h2) || ((_129 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _129 === void 0 ? void 0 : _129.h2),
|
|
793
|
+
h3: ((_130 = params.typography) === null || _130 === void 0 ? void 0 : _130.h3) || ((_131 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _131 === void 0 ? void 0 : _131.h3),
|
|
794
|
+
h4: ((_132 = params.typography) === null || _132 === void 0 ? void 0 : _132.h4) || ((_133 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _133 === void 0 ? void 0 : _133.h4),
|
|
795
|
+
h5: ((_134 = params.typography) === null || _134 === void 0 ? void 0 : _134.h5) || ((_135 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _135 === void 0 ? void 0 : _135.h5),
|
|
796
|
+
h6: ((_136 = params.typography) === null || _136 === void 0 ? void 0 : _136.h6) || ((_137 = DefaultEpilotTheme_1.DefaultEpilotTheme.typography) === null || _137 === void 0 ? void 0 : _137.h6)
|
|
813
797
|
},
|
|
814
798
|
shadows: DefaultEpilotTheme_1.DefaultEpilotTheme.shadows,
|
|
815
799
|
palette: {
|
|
@@ -836,34 +820,34 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
836
820
|
tertiary: tslib_1.__assign(tslib_1.__assign({}, tertiaryColor), { dark: (tertiaryColor === null || tertiaryColor === void 0 ? void 0 : tertiaryColor.dark) ? tertiaryColor === null || tertiaryColor === void 0 ? void 0 : tertiaryColor.dark : (tertiaryColor === null || tertiaryColor === void 0 ? void 0 : tertiaryColor.main) ? styles_1.darken(tertiaryColor === null || tertiaryColor === void 0 ? void 0 : tertiaryColor.main, 0.1)
|
|
837
821
|
: null }),
|
|
838
822
|
grey: {
|
|
839
|
-
'10': ((
|
|
823
|
+
'10': ((_139 = (_138 = params.palette) === null || _138 === void 0 ? void 0 : _138.grey) === null || _139 === void 0 ? void 0 : _139[10]) || ((_141 = (_140 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _140 === void 0 ? void 0 : _140.grey) === null || _141 === void 0 ? void 0 : _141[10]),
|
|
840
824
|
'20': grey20,
|
|
841
825
|
'30': grey30,
|
|
842
|
-
'40': ((
|
|
826
|
+
'40': ((_143 = (_142 = params.palette) === null || _142 === void 0 ? void 0 : _142.grey) === null || _143 === void 0 ? void 0 : _143[40]) || ((_145 = (_144 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _144 === void 0 ? void 0 : _144.grey) === null || _145 === void 0 ? void 0 : _145[40]),
|
|
843
827
|
'50': grey50,
|
|
844
828
|
'70': grey70,
|
|
845
|
-
'100': ((
|
|
846
|
-
'200': ((
|
|
847
|
-
'300': ((
|
|
848
|
-
'400': ((
|
|
849
|
-
'500': ((
|
|
850
|
-
'600': ((
|
|
851
|
-
'700': ((
|
|
852
|
-
'800': ((
|
|
853
|
-
'900': ((
|
|
854
|
-
A100: ((
|
|
855
|
-
A200: ((
|
|
856
|
-
A400: ((
|
|
857
|
-
A700: ((
|
|
829
|
+
'100': ((_147 = (_146 = params.palette) === null || _146 === void 0 ? void 0 : _146.grey) === null || _147 === void 0 ? void 0 : _147[100]) || ((_149 = (_148 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _148 === void 0 ? void 0 : _148.grey) === null || _149 === void 0 ? void 0 : _149[100]),
|
|
830
|
+
'200': ((_151 = (_150 = params.palette) === null || _150 === void 0 ? void 0 : _150.grey) === null || _151 === void 0 ? void 0 : _151[200]) || ((_153 = (_152 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _152 === void 0 ? void 0 : _152.grey) === null || _153 === void 0 ? void 0 : _153[200]),
|
|
831
|
+
'300': ((_155 = (_154 = params.palette) === null || _154 === void 0 ? void 0 : _154.grey) === null || _155 === void 0 ? void 0 : _155[300]) || ((_157 = (_156 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _156 === void 0 ? void 0 : _156.grey) === null || _157 === void 0 ? void 0 : _157[300]),
|
|
832
|
+
'400': ((_159 = (_158 = params.palette) === null || _158 === void 0 ? void 0 : _158.grey) === null || _159 === void 0 ? void 0 : _159[400]) || ((_161 = (_160 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _160 === void 0 ? void 0 : _160.grey) === null || _161 === void 0 ? void 0 : _161[400]),
|
|
833
|
+
'500': ((_163 = (_162 = params.palette) === null || _162 === void 0 ? void 0 : _162.grey) === null || _163 === void 0 ? void 0 : _163[500]) || ((_165 = (_164 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _164 === void 0 ? void 0 : _164.grey) === null || _165 === void 0 ? void 0 : _165[500]),
|
|
834
|
+
'600': ((_167 = (_166 = params.palette) === null || _166 === void 0 ? void 0 : _166.grey) === null || _167 === void 0 ? void 0 : _167[600]) || ((_169 = (_168 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _168 === void 0 ? void 0 : _168.grey) === null || _169 === void 0 ? void 0 : _169[600]),
|
|
835
|
+
'700': ((_171 = (_170 = params.palette) === null || _170 === void 0 ? void 0 : _170.grey) === null || _171 === void 0 ? void 0 : _171[700]) || ((_173 = (_172 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _172 === void 0 ? void 0 : _172.grey) === null || _173 === void 0 ? void 0 : _173[700]),
|
|
836
|
+
'800': ((_175 = (_174 = params.palette) === null || _174 === void 0 ? void 0 : _174.grey) === null || _175 === void 0 ? void 0 : _175[800]) || ((_177 = (_176 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _176 === void 0 ? void 0 : _176.grey) === null || _177 === void 0 ? void 0 : _177[800]),
|
|
837
|
+
'900': ((_179 = (_178 = params.palette) === null || _178 === void 0 ? void 0 : _178.grey) === null || _179 === void 0 ? void 0 : _179[900]) || ((_181 = (_180 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _180 === void 0 ? void 0 : _180.grey) === null || _181 === void 0 ? void 0 : _181[900]),
|
|
838
|
+
A100: ((_183 = (_182 = params.palette) === null || _182 === void 0 ? void 0 : _182.grey) === null || _183 === void 0 ? void 0 : _183.A100) || ((_185 = (_184 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _184 === void 0 ? void 0 : _184.grey) === null || _185 === void 0 ? void 0 : _185.A100),
|
|
839
|
+
A200: ((_187 = (_186 = params.palette) === null || _186 === void 0 ? void 0 : _186.grey) === null || _187 === void 0 ? void 0 : _187.A200) || ((_189 = (_188 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _188 === void 0 ? void 0 : _188.grey) === null || _189 === void 0 ? void 0 : _189.A200),
|
|
840
|
+
A400: ((_191 = (_190 = params.palette) === null || _190 === void 0 ? void 0 : _190.grey) === null || _191 === void 0 ? void 0 : _191.A400) || ((_193 = (_192 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _192 === void 0 ? void 0 : _192.grey) === null || _193 === void 0 ? void 0 : _193.A400),
|
|
841
|
+
A700: ((_195 = (_194 = params.palette) === null || _194 === void 0 ? void 0 : _194.grey) === null || _195 === void 0 ? void 0 : _195.A700) || ((_197 = (_196 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _196 === void 0 ? void 0 : _196.grey) === null || _197 === void 0 ? void 0 : _197.A700)
|
|
858
842
|
},
|
|
859
843
|
action: {
|
|
860
844
|
hover: actionHoverColor,
|
|
861
|
-
selected: ((
|
|
862
|
-
disabled: ((
|
|
863
|
-
active: ((
|
|
864
|
-
focus: ((
|
|
845
|
+
selected: ((_199 = (_198 = params.palette) === null || _198 === void 0 ? void 0 : _198.action) === null || _199 === void 0 ? void 0 : _199.selected) || ((_201 = (_200 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _200 === void 0 ? void 0 : _200.action) === null || _201 === void 0 ? void 0 : _201.selected),
|
|
846
|
+
disabled: ((_203 = (_202 = params.palette) === null || _202 === void 0 ? void 0 : _202.action) === null || _203 === void 0 ? void 0 : _203.disabled) || ((_205 = (_204 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _204 === void 0 ? void 0 : _204.action) === null || _205 === void 0 ? void 0 : _205.disabled),
|
|
847
|
+
active: ((_207 = (_206 = params.palette) === null || _206 === void 0 ? void 0 : _206.action) === null || _207 === void 0 ? void 0 : _207.active) || ((_209 = (_208 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _208 === void 0 ? void 0 : _208.action) === null || _209 === void 0 ? void 0 : _209.active),
|
|
848
|
+
focus: ((_211 = (_210 = params.palette) === null || _210 === void 0 ? void 0 : _210.action) === null || _211 === void 0 ? void 0 : _211.focus) || ((_213 = (_212 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _212 === void 0 ? void 0 : _212.action) === null || _213 === void 0 ? void 0 : _213.focus)
|
|
865
849
|
},
|
|
866
|
-
background: ((
|
|
850
|
+
background: ((_214 = params.palette) === null || _214 === void 0 ? void 0 : _214.background) || ((_215 = DefaultEpilotTheme_1.DefaultEpilotTheme.palette) === null || _215 === void 0 ? void 0 : _215.background),
|
|
867
851
|
text: tslib_1.__assign({}, textPalette),
|
|
868
852
|
divider: dividerColor
|
|
869
853
|
},
|
|
@@ -874,21 +858,21 @@ function parseMuiTheme(params, classPrefix) {
|
|
|
874
858
|
// DEFAULT PROPS
|
|
875
859
|
props: tslib_1.__assign({ MuiInputLabel: {
|
|
876
860
|
shrink: true
|
|
877
|
-
}, MuiButtonGroup: tslib_1.__assign({ disableRipple: disableRipple }, (
|
|
861
|
+
}, MuiButtonGroup: tslib_1.__assign({ disableRipple: disableRipple }, (_216 = params.muiProps) === null || _216 === void 0 ? void 0 : _216.MuiButtonGroup), MuiButton: {
|
|
878
862
|
disableElevation: true
|
|
879
863
|
}, MuiSwitch: {
|
|
880
864
|
color: 'primary'
|
|
881
865
|
}, MuiButtonBase: {
|
|
882
866
|
disableRipple: disableRipple
|
|
883
|
-
}, MuiRadio: tslib_1.__assign({ disableRipple: disableRipple }, (
|
|
867
|
+
}, MuiRadio: tslib_1.__assign({ disableRipple: disableRipple }, (_217 = params.muiProps) === null || _217 === void 0 ? void 0 : _217.MuiRadio), MuiCheckbox: {
|
|
884
868
|
color: 'primary'
|
|
885
|
-
}, MuiIconButton: tslib_1.__assign({ disableRipple: disableRipple }, (
|
|
869
|
+
}, MuiIconButton: tslib_1.__assign({ disableRipple: disableRipple }, (_218 = params.muiProps) === null || _218 === void 0 ? void 0 : _218.MuiIconButton), MuiList: tslib_1.__assign({ disablePadding: true }, (_219 = params.muiProps) === null || _219 === void 0 ? void 0 : _219.MuiList), MuiTooltip: tslib_1.__assign({ arrow: true }, (_220 = params.muiProps) === null || _220 === void 0 ? void 0 : _220.MuiTooltip), MuiFilledInput: {
|
|
886
870
|
disableUnderline: true
|
|
887
871
|
}, MuiTextField: {
|
|
888
872
|
variant: 'filled',
|
|
889
873
|
InputLabelProps: {
|
|
890
874
|
shrink: true,
|
|
891
|
-
style: tslib_1.__assign({ lineHeight: '115%' }, (
|
|
875
|
+
style: tslib_1.__assign({ lineHeight: '115%' }, (_223 = (_222 = (_221 = params.muiProps) === null || _221 === void 0 ? void 0 : _221.MuiTextField) === null || _222 === void 0 ? void 0 : _222.InputLabelProps) === null || _223 === void 0 ? void 0 : _223.style)
|
|
892
876
|
}
|
|
893
877
|
}, MuiSelect: {
|
|
894
878
|
MenuProps: {
|