@matteoaliano/forest-ui 0.2.10 → 0.3.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/README.md +123 -0
- package/bin/sync.mjs +18 -34
- package/dist/{chunk-7B6NCKX3.mjs → chunk-EULMNCHH.mjs} +1039 -498
- package/dist/chunk-EULMNCHH.mjs.map +1 -0
- package/dist/{index-DiI9xbOM.d.mts → index-EkBIDmEu.d.mts} +109 -12
- package/dist/{index-DiI9xbOM.d.ts → index-EkBIDmEu.d.ts} +109 -12
- package/dist/index.d.mts +83 -20
- package/dist/index.d.ts +83 -20
- package/dist/index.js +1306 -571
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +233 -69
- package/dist/index.mjs.map +1 -1
- package/dist/theme.d.mts +1 -1
- package/dist/theme.d.ts +1 -1
- package/dist/theme.js +1039 -497
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +1 -1
- package/guidelines/FOREST_BE_GUIDELINES.md +90 -0
- package/guidelines/FOREST_FE_GUIDELINES.md +543 -0
- package/guidelines/FOREST_UI_GUIDELINES.md +372 -0
- package/package.json +16 -4
- package/dist/chunk-7B6NCKX3.mjs.map +0 -1
- package/guidelines/FOREST_AI_GUIDELINES.md +0 -344
- package/guidelines/FOREST_DEV_GUIDELINES.md +0 -47
- package/guidelines/themes/FOREST_THEME_ALKEMY_PLUS.md +0 -139
- package/guidelines/themes/FOREST_THEME_DEFAULT.md +0 -70
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var React2 = require('react');
|
|
4
4
|
var styles = require('@mui/material/styles');
|
|
5
5
|
var CssBaseline = require('@mui/material/CssBaseline');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -18,11 +18,17 @@ var MuiFormControl = require('@mui/material/FormControl');
|
|
|
18
18
|
var MuiInputLabel = require('@mui/material/InputLabel');
|
|
19
19
|
var MuiSwitch = require('@mui/material/Switch');
|
|
20
20
|
var MuiTextField = require('@mui/material/TextField');
|
|
21
|
+
var InputAdornment = require('@mui/material/InputAdornment');
|
|
22
|
+
var IconButton = require('@mui/material/IconButton');
|
|
23
|
+
var utils = require('@mui/material/utils');
|
|
24
|
+
var material = require('@mui/material');
|
|
21
25
|
var MuiToggleButton = require('@mui/material/ToggleButton');
|
|
22
26
|
var MuiToggleButtonGroup = require('@mui/material/ToggleButtonGroup');
|
|
27
|
+
var DatePicker$1 = require('@mui/x-date-pickers/DatePicker');
|
|
28
|
+
var LocalizationProvider = require('@mui/x-date-pickers/LocalizationProvider');
|
|
29
|
+
var AdapterDayjs = require('@mui/x-date-pickers/AdapterDayjs');
|
|
23
30
|
var MuiBadge = require('@mui/material/Badge');
|
|
24
31
|
var MuiChip = require('@mui/material/Chip');
|
|
25
|
-
var utils = require('@mui/material/utils');
|
|
26
32
|
var MuiDivider = require('@mui/material/Divider');
|
|
27
33
|
var MuiList = require('@mui/material/List');
|
|
28
34
|
var MuiListItem = require('@mui/material/ListItem');
|
|
@@ -62,17 +68,28 @@ var MuiDialogContentText = require('@mui/material/DialogContentText');
|
|
|
62
68
|
var MuiLinearProgress = require('@mui/material/LinearProgress');
|
|
63
69
|
var MuiCircularProgress = require('@mui/material/CircularProgress');
|
|
64
70
|
var MuiSkeleton = require('@mui/material/Skeleton');
|
|
71
|
+
var MuiModal = require('@mui/material/Modal');
|
|
72
|
+
var MuiPopover = require('@mui/material/Popover');
|
|
65
73
|
var MuiSnackbar = require('@mui/material/Snackbar');
|
|
74
|
+
var MuiBreadcrumbs = require('@mui/material/Breadcrumbs');
|
|
75
|
+
var MuiLink = require('@mui/material/Link');
|
|
76
|
+
var MuiMenu = require('@mui/material/Menu');
|
|
77
|
+
var MuiMenuList = require('@mui/material/MenuList');
|
|
78
|
+
var MuiPagination = require('@mui/material/Pagination');
|
|
79
|
+
var MuiStepper = require('@mui/material/Stepper');
|
|
80
|
+
var MuiStep = require('@mui/material/Step');
|
|
81
|
+
var MuiStepLabel = require('@mui/material/StepLabel');
|
|
82
|
+
var MuiTabs = require('@mui/material/Tabs');
|
|
83
|
+
var MuiTab = require('@mui/material/Tab');
|
|
66
84
|
var MuiDrawer = require('@mui/material/Drawer');
|
|
67
|
-
var
|
|
68
|
-
var IconButton = require('@mui/material/IconButton');
|
|
85
|
+
var Box2 = require('@mui/material/Box');
|
|
69
86
|
var LineChart$1 = require('@mui/x-charts/LineChart');
|
|
70
|
-
var material = require('@mui/material');
|
|
71
87
|
var BarChart$1 = require('@mui/x-charts/BarChart');
|
|
72
88
|
var PieChart$1 = require('@mui/x-charts/PieChart');
|
|
73
89
|
|
|
74
90
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
75
91
|
|
|
92
|
+
var React2__default = /*#__PURE__*/_interopDefault(React2);
|
|
76
93
|
var CssBaseline__default = /*#__PURE__*/_interopDefault(CssBaseline);
|
|
77
94
|
var MuiAutocomplete__default = /*#__PURE__*/_interopDefault(MuiAutocomplete);
|
|
78
95
|
var MuiButton__default = /*#__PURE__*/_interopDefault(MuiButton);
|
|
@@ -88,6 +105,8 @@ var MuiFormControl__default = /*#__PURE__*/_interopDefault(MuiFormControl);
|
|
|
88
105
|
var MuiInputLabel__default = /*#__PURE__*/_interopDefault(MuiInputLabel);
|
|
89
106
|
var MuiSwitch__default = /*#__PURE__*/_interopDefault(MuiSwitch);
|
|
90
107
|
var MuiTextField__default = /*#__PURE__*/_interopDefault(MuiTextField);
|
|
108
|
+
var InputAdornment__default = /*#__PURE__*/_interopDefault(InputAdornment);
|
|
109
|
+
var IconButton__default = /*#__PURE__*/_interopDefault(IconButton);
|
|
91
110
|
var MuiToggleButton__default = /*#__PURE__*/_interopDefault(MuiToggleButton);
|
|
92
111
|
var MuiToggleButtonGroup__default = /*#__PURE__*/_interopDefault(MuiToggleButtonGroup);
|
|
93
112
|
var MuiBadge__default = /*#__PURE__*/_interopDefault(MuiBadge);
|
|
@@ -130,10 +149,21 @@ var MuiDialogContentText__default = /*#__PURE__*/_interopDefault(MuiDialogConten
|
|
|
130
149
|
var MuiLinearProgress__default = /*#__PURE__*/_interopDefault(MuiLinearProgress);
|
|
131
150
|
var MuiCircularProgress__default = /*#__PURE__*/_interopDefault(MuiCircularProgress);
|
|
132
151
|
var MuiSkeleton__default = /*#__PURE__*/_interopDefault(MuiSkeleton);
|
|
152
|
+
var MuiModal__default = /*#__PURE__*/_interopDefault(MuiModal);
|
|
153
|
+
var MuiPopover__default = /*#__PURE__*/_interopDefault(MuiPopover);
|
|
133
154
|
var MuiSnackbar__default = /*#__PURE__*/_interopDefault(MuiSnackbar);
|
|
155
|
+
var MuiBreadcrumbs__default = /*#__PURE__*/_interopDefault(MuiBreadcrumbs);
|
|
156
|
+
var MuiLink__default = /*#__PURE__*/_interopDefault(MuiLink);
|
|
157
|
+
var MuiMenu__default = /*#__PURE__*/_interopDefault(MuiMenu);
|
|
158
|
+
var MuiMenuList__default = /*#__PURE__*/_interopDefault(MuiMenuList);
|
|
159
|
+
var MuiPagination__default = /*#__PURE__*/_interopDefault(MuiPagination);
|
|
160
|
+
var MuiStepper__default = /*#__PURE__*/_interopDefault(MuiStepper);
|
|
161
|
+
var MuiStep__default = /*#__PURE__*/_interopDefault(MuiStep);
|
|
162
|
+
var MuiStepLabel__default = /*#__PURE__*/_interopDefault(MuiStepLabel);
|
|
163
|
+
var MuiTabs__default = /*#__PURE__*/_interopDefault(MuiTabs);
|
|
164
|
+
var MuiTab__default = /*#__PURE__*/_interopDefault(MuiTab);
|
|
134
165
|
var MuiDrawer__default = /*#__PURE__*/_interopDefault(MuiDrawer);
|
|
135
|
-
var
|
|
136
|
-
var IconButton__default = /*#__PURE__*/_interopDefault(IconButton);
|
|
166
|
+
var Box2__default = /*#__PURE__*/_interopDefault(Box2);
|
|
137
167
|
|
|
138
168
|
// src/provider/ForestProvider.tsx
|
|
139
169
|
|
|
@@ -229,14 +259,19 @@ var colors = {
|
|
|
229
259
|
950: "#102a56"
|
|
230
260
|
},
|
|
231
261
|
teal: {
|
|
262
|
+
50: "#f0fdf9",
|
|
232
263
|
100: "#ccfbef",
|
|
233
264
|
200: "#99f6e0",
|
|
265
|
+
300: "#5fe9d0",
|
|
266
|
+
400: "#2ed3b7",
|
|
234
267
|
600: "#0e9384",
|
|
235
268
|
700: "#107569"
|
|
236
269
|
},
|
|
237
270
|
orange: {
|
|
238
271
|
100: "#fdead7",
|
|
239
272
|
200: "#f9dbaf",
|
|
273
|
+
300: "#f7b27a",
|
|
274
|
+
400: "#f38744",
|
|
240
275
|
600: "#e04f16",
|
|
241
276
|
700: "#b93815"
|
|
242
277
|
},
|
|
@@ -249,24 +284,31 @@ var colors = {
|
|
|
249
284
|
pink: {
|
|
250
285
|
100: "#fce7f6",
|
|
251
286
|
200: "#fcceee",
|
|
287
|
+
400: "#f670c7",
|
|
288
|
+
500: "#ee46bc",
|
|
252
289
|
600: "#dd2590",
|
|
253
290
|
700: "#c11574"
|
|
254
291
|
},
|
|
255
292
|
fuchsia: {
|
|
256
293
|
100: "#fbe8ff",
|
|
257
294
|
200: "#f6d0fe",
|
|
295
|
+
400: "#e478fa",
|
|
296
|
+
500: "#d444f1",
|
|
258
297
|
600: "#ba24d5",
|
|
259
298
|
700: "#9f1ab1"
|
|
260
299
|
},
|
|
261
300
|
orangeDark: {
|
|
262
301
|
100: "#ffe6d5",
|
|
263
302
|
200: "#ffd6ae",
|
|
303
|
+
400: "#ff692e",
|
|
304
|
+
500: "#ff4405",
|
|
264
305
|
600: "#e62e05",
|
|
265
306
|
700: "#bc1b06"
|
|
266
307
|
},
|
|
267
308
|
green: {
|
|
268
309
|
100: "#d3f8df",
|
|
269
310
|
200: "#aaf0c4",
|
|
311
|
+
500: "#16b364",
|
|
270
312
|
600: "#099250",
|
|
271
313
|
700: "#087443"
|
|
272
314
|
},
|
|
@@ -275,6 +317,30 @@ var colors = {
|
|
|
275
317
|
200: "#c7d7fe",
|
|
276
318
|
600: "#444ce7",
|
|
277
319
|
700: "#3538cd"
|
|
320
|
+
},
|
|
321
|
+
violet: {
|
|
322
|
+
100: "#ece9fe",
|
|
323
|
+
200: "#ddd6fe",
|
|
324
|
+
500: "#875bf7",
|
|
325
|
+
600: "#7839ee"
|
|
326
|
+
},
|
|
327
|
+
rose: {
|
|
328
|
+
100: "#ffe4e8",
|
|
329
|
+
200: "#fecdd6",
|
|
330
|
+
400: "#fd6f8e",
|
|
331
|
+
500: "#f63d68"
|
|
332
|
+
},
|
|
333
|
+
blueLight: {
|
|
334
|
+
100: "#e0f2fe",
|
|
335
|
+
200: "#b9e6fe",
|
|
336
|
+
400: "#36bffa",
|
|
337
|
+
500: "#0ba5ec"
|
|
338
|
+
},
|
|
339
|
+
cyan: {
|
|
340
|
+
100: "#cff9fe",
|
|
341
|
+
200: "#a5f0fc",
|
|
342
|
+
600: "#088ab2",
|
|
343
|
+
700: "#0e7090"
|
|
278
344
|
}
|
|
279
345
|
};
|
|
280
346
|
var spacing = {
|
|
@@ -571,7 +637,7 @@ var toggleColors = {
|
|
|
571
637
|
buttonFgDisabled: colors.gray[50]
|
|
572
638
|
};
|
|
573
639
|
var chartColors = {
|
|
574
|
-
axisFg: colors.gray[
|
|
640
|
+
axisFg: colors.gray[100],
|
|
575
641
|
gridlineFg: colors.gray[100],
|
|
576
642
|
labelFg: colors.gray[600],
|
|
577
643
|
labelFgEmphasis: colors.gray[700],
|
|
@@ -581,31 +647,19 @@ var chartColors = {
|
|
|
581
647
|
tooltipFg: colors.base.white,
|
|
582
648
|
crosshairFg: colors.gray[500],
|
|
583
649
|
legendFg: text.tertiary,
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
],
|
|
598
|
-
vibrant: [
|
|
599
|
-
"#6B38FB",
|
|
600
|
-
// 1. Deep Purple
|
|
601
|
-
"#E85B22",
|
|
602
|
-
// 2. Deep Orange
|
|
603
|
-
"#4AABFF",
|
|
604
|
-
// 3. Bright Blue
|
|
605
|
-
"#E83B1A",
|
|
606
|
-
// 4. True Red
|
|
607
|
-
"#E02088"
|
|
608
|
-
// 5. Magenta
|
|
650
|
+
series: [
|
|
651
|
+
{ fg: colors.violet[500], fgHover: colors.violet[600], bg: colors.violet[100], bgHover: colors.violet[200] },
|
|
652
|
+
{ fg: colors.orangeDark[400], fgHover: colors.orangeDark[500], bg: colors.orangeDark[100], bgHover: colors.orangeDark[200] },
|
|
653
|
+
{ fg: colors.teal[300], fgHover: colors.teal[400], bg: colors.teal[50], bgHover: colors.teal[100] },
|
|
654
|
+
{ fg: colors.warning[400], fgHover: colors.warning[500], bg: colors.warning[100], bgHover: colors.warning[200] },
|
|
655
|
+
{ fg: colors.rose[400], fgHover: colors.rose[500], bg: colors.rose[100], bgHover: colors.rose[200] },
|
|
656
|
+
{ fg: colors.blueLight[400], fgHover: colors.blueLight[500], bg: colors.blueLight[100], bgHover: colors.blueLight[200] },
|
|
657
|
+
{ fg: colors.orange[300], fgHover: colors.orange[400], bg: colors.orange[100], bgHover: colors.orange[200] },
|
|
658
|
+
{ fg: colors.cyan[600], fgHover: colors.cyan[700], bg: colors.cyan[100], bgHover: colors.cyan[200] },
|
|
659
|
+
{ fg: colors.green[500], fgHover: colors.green[600], bg: colors.green[100], bgHover: colors.green[200] },
|
|
660
|
+
{ fg: colors.pink[400], fgHover: colors.pink[500], bg: colors.pink[100], bgHover: colors.pink[200] },
|
|
661
|
+
{ fg: colors.fuchsia[400], fgHover: colors.fuchsia[500], bg: colors.fuchsia[100], bgHover: colors.fuchsia[200] },
|
|
662
|
+
{ fg: colors.teal[600], fgHover: colors.teal[700], bg: colors.teal[100], bgHover: colors.teal[200] }
|
|
609
663
|
]
|
|
610
664
|
};
|
|
611
665
|
var alpha = {
|
|
@@ -638,65 +692,65 @@ var alpha = {
|
|
|
638
692
|
// src/theme/palette.ts
|
|
639
693
|
function buildPalette(tokens) {
|
|
640
694
|
var _a;
|
|
641
|
-
const { colors:
|
|
695
|
+
const { colors: colors5, text: text5, bg: bg5, fg: fg5, border: border5 } = tokens;
|
|
642
696
|
return {
|
|
643
697
|
primary: {
|
|
644
|
-
main:
|
|
645
|
-
light:
|
|
646
|
-
dark:
|
|
647
|
-
contrastText:
|
|
698
|
+
main: colors5.brand[600],
|
|
699
|
+
light: colors5.brand[400],
|
|
700
|
+
dark: colors5.brand[700],
|
|
701
|
+
contrastText: colors5.base.white
|
|
648
702
|
},
|
|
649
703
|
secondary: {
|
|
650
|
-
main:
|
|
651
|
-
light:
|
|
652
|
-
dark:
|
|
653
|
-
contrastText:
|
|
704
|
+
main: colors5.gray[600],
|
|
705
|
+
light: colors5.gray[400],
|
|
706
|
+
dark: colors5.gray[700],
|
|
707
|
+
contrastText: colors5.base.white
|
|
654
708
|
},
|
|
655
709
|
error: {
|
|
656
|
-
main:
|
|
657
|
-
light:
|
|
658
|
-
dark:
|
|
659
|
-
contrastText:
|
|
710
|
+
main: colors5.error[600],
|
|
711
|
+
light: colors5.error[300],
|
|
712
|
+
dark: colors5.error[700],
|
|
713
|
+
contrastText: colors5.base.white
|
|
660
714
|
},
|
|
661
715
|
warning: {
|
|
662
|
-
main:
|
|
663
|
-
light:
|
|
664
|
-
dark:
|
|
665
|
-
contrastText:
|
|
716
|
+
main: colors5.warning[600],
|
|
717
|
+
light: colors5.warning[300],
|
|
718
|
+
dark: colors5.warning[700],
|
|
719
|
+
contrastText: colors5.base.white
|
|
666
720
|
},
|
|
667
721
|
success: {
|
|
668
|
-
main:
|
|
669
|
-
light:
|
|
670
|
-
dark:
|
|
671
|
-
contrastText:
|
|
722
|
+
main: colors5.success[600],
|
|
723
|
+
light: colors5.success[300],
|
|
724
|
+
dark: colors5.success[700],
|
|
725
|
+
contrastText: colors5.base.white
|
|
672
726
|
},
|
|
673
727
|
info: {
|
|
674
|
-
main:
|
|
675
|
-
light:
|
|
676
|
-
dark:
|
|
677
|
-
contrastText:
|
|
728
|
+
main: colors5.blue[600],
|
|
729
|
+
light: colors5.blue[300],
|
|
730
|
+
dark: colors5.blue[700],
|
|
731
|
+
contrastText: colors5.base.white
|
|
678
732
|
},
|
|
679
733
|
background: {
|
|
680
|
-
default:
|
|
681
|
-
paper:
|
|
734
|
+
default: bg5.primary,
|
|
735
|
+
paper: bg5.secondary
|
|
682
736
|
},
|
|
683
737
|
text: {
|
|
684
|
-
primary:
|
|
685
|
-
secondary:
|
|
686
|
-
disabled:
|
|
738
|
+
primary: text5.primary,
|
|
739
|
+
secondary: text5.secondary,
|
|
740
|
+
disabled: text5.disabled
|
|
687
741
|
},
|
|
688
|
-
divider:
|
|
742
|
+
divider: border5.secondary,
|
|
689
743
|
action: {
|
|
690
|
-
active:
|
|
691
|
-
hover:
|
|
692
|
-
selected:
|
|
693
|
-
disabled:
|
|
694
|
-
disabledBackground:
|
|
744
|
+
active: fg5.tertiary,
|
|
745
|
+
hover: bg5.primaryHover,
|
|
746
|
+
selected: bg5.brandPrimary,
|
|
747
|
+
disabled: fg5.disabled,
|
|
748
|
+
disabledBackground: bg5.disabled
|
|
695
749
|
},
|
|
696
750
|
chart: (_a = tokens.chartColors) != null ? _a : chartColors
|
|
697
751
|
};
|
|
698
752
|
}
|
|
699
|
-
|
|
753
|
+
buildPalette({
|
|
700
754
|
colors,
|
|
701
755
|
text,
|
|
702
756
|
bg,
|
|
@@ -787,7 +841,7 @@ function buildTypography(tokens) {
|
|
|
787
841
|
}
|
|
788
842
|
};
|
|
789
843
|
}
|
|
790
|
-
|
|
844
|
+
buildTypography({
|
|
791
845
|
fontFamily,
|
|
792
846
|
display,
|
|
793
847
|
fontSize,
|
|
@@ -795,18 +849,78 @@ var typography = buildTypography({
|
|
|
795
849
|
fontWeight
|
|
796
850
|
});
|
|
797
851
|
|
|
852
|
+
// src/theme/shadows.ts
|
|
853
|
+
function buildShadows(tokens) {
|
|
854
|
+
const tokenShadows = tokens.shadows;
|
|
855
|
+
return [
|
|
856
|
+
"none",
|
|
857
|
+
// 0
|
|
858
|
+
tokenShadows.xs,
|
|
859
|
+
// 1
|
|
860
|
+
tokenShadows.sm,
|
|
861
|
+
// 2
|
|
862
|
+
tokenShadows.sm,
|
|
863
|
+
// 3
|
|
864
|
+
tokenShadows.md,
|
|
865
|
+
// 4
|
|
866
|
+
tokenShadows.md,
|
|
867
|
+
// 5
|
|
868
|
+
tokenShadows.md,
|
|
869
|
+
// 6
|
|
870
|
+
tokenShadows.lg,
|
|
871
|
+
// 7
|
|
872
|
+
tokenShadows.lg,
|
|
873
|
+
// 8
|
|
874
|
+
tokenShadows.lg,
|
|
875
|
+
// 9
|
|
876
|
+
tokenShadows.xl,
|
|
877
|
+
// 10
|
|
878
|
+
tokenShadows.xl,
|
|
879
|
+
// 11
|
|
880
|
+
tokenShadows.xl,
|
|
881
|
+
// 12
|
|
882
|
+
tokenShadows["2xl"],
|
|
883
|
+
// 13
|
|
884
|
+
tokenShadows["2xl"],
|
|
885
|
+
// 14
|
|
886
|
+
tokenShadows["2xl"],
|
|
887
|
+
// 15
|
|
888
|
+
tokenShadows["3xl"],
|
|
889
|
+
// 16
|
|
890
|
+
tokenShadows["3xl"],
|
|
891
|
+
// 17
|
|
892
|
+
tokenShadows["3xl"],
|
|
893
|
+
// 18
|
|
894
|
+
tokenShadows["3xl"],
|
|
895
|
+
// 19
|
|
896
|
+
tokenShadows["3xl"],
|
|
897
|
+
// 20
|
|
898
|
+
tokenShadows["3xl"],
|
|
899
|
+
// 21
|
|
900
|
+
tokenShadows["3xl"],
|
|
901
|
+
// 22
|
|
902
|
+
tokenShadows["3xl"],
|
|
903
|
+
// 23
|
|
904
|
+
tokenShadows["3xl"]
|
|
905
|
+
// 24
|
|
906
|
+
];
|
|
907
|
+
}
|
|
908
|
+
buildShadows({
|
|
909
|
+
shadows
|
|
910
|
+
});
|
|
911
|
+
|
|
798
912
|
// src/theme/components.ts
|
|
799
913
|
function buildComponents(tokens) {
|
|
800
914
|
const {
|
|
801
|
-
colors:
|
|
802
|
-
radius:
|
|
803
|
-
focusRings:
|
|
915
|
+
colors: colors5,
|
|
916
|
+
radius: radius5,
|
|
917
|
+
focusRings: focusRings5,
|
|
804
918
|
shadows: tokenShadows,
|
|
805
|
-
text:
|
|
806
|
-
bg:
|
|
807
|
-
fg:
|
|
808
|
-
border:
|
|
809
|
-
buttonColors:
|
|
919
|
+
text: text5,
|
|
920
|
+
bg: bg5,
|
|
921
|
+
fg: fg5,
|
|
922
|
+
border: border5,
|
|
923
|
+
buttonColors: buttonColors5
|
|
810
924
|
} = tokens;
|
|
811
925
|
return {
|
|
812
926
|
// ─── Button ─────────────────────────────────────────────────────
|
|
@@ -816,7 +930,7 @@ function buildComponents(tokens) {
|
|
|
816
930
|
},
|
|
817
931
|
styleOverrides: {
|
|
818
932
|
root: {
|
|
819
|
-
borderRadius:
|
|
933
|
+
borderRadius: radius5.md,
|
|
820
934
|
fontWeight: 600,
|
|
821
935
|
boxShadow: tokenShadows.xs,
|
|
822
936
|
height: 32,
|
|
@@ -824,36 +938,36 @@ function buildComponents(tokens) {
|
|
|
824
938
|
fontSize: 14,
|
|
825
939
|
lineHeight: "20px",
|
|
826
940
|
"&:focus-visible": {
|
|
827
|
-
boxShadow:
|
|
941
|
+
boxShadow: focusRings5.brandShadowXs
|
|
828
942
|
}
|
|
829
943
|
},
|
|
830
944
|
containedPrimary: {
|
|
831
|
-
backgroundColor:
|
|
945
|
+
backgroundColor: buttonColors5.primary.bg,
|
|
832
946
|
"&:hover": {
|
|
833
|
-
backgroundColor:
|
|
947
|
+
backgroundColor: buttonColors5.primary.bgHover
|
|
834
948
|
}
|
|
835
949
|
},
|
|
836
950
|
outlinedPrimary: {
|
|
837
|
-
borderColor:
|
|
838
|
-
color:
|
|
951
|
+
borderColor: buttonColors5.secondaryColor.border,
|
|
952
|
+
color: buttonColors5.secondaryColor.fg,
|
|
839
953
|
"&:hover": {
|
|
840
|
-
backgroundColor:
|
|
841
|
-
borderColor:
|
|
954
|
+
backgroundColor: buttonColors5.secondaryColor.bgHover,
|
|
955
|
+
borderColor: buttonColors5.secondaryColor.borderHover
|
|
842
956
|
}
|
|
843
957
|
},
|
|
844
958
|
outlinedSecondary: {
|
|
845
|
-
borderColor:
|
|
959
|
+
borderColor: buttonColors5.secondary.border,
|
|
846
960
|
"&:hover": {
|
|
847
|
-
borderColor:
|
|
961
|
+
borderColor: buttonColors5.secondary.borderHover
|
|
848
962
|
}
|
|
849
963
|
},
|
|
850
964
|
text: {
|
|
851
965
|
boxShadow: "none"
|
|
852
966
|
},
|
|
853
967
|
textPrimary: {
|
|
854
|
-
color:
|
|
968
|
+
color: buttonColors5.tertiaryColor.fg,
|
|
855
969
|
"&:hover": {
|
|
856
|
-
backgroundColor:
|
|
970
|
+
backgroundColor: buttonColors5.tertiaryColor.bgHover
|
|
857
971
|
}
|
|
858
972
|
}
|
|
859
973
|
}
|
|
@@ -865,11 +979,11 @@ function buildComponents(tokens) {
|
|
|
865
979
|
},
|
|
866
980
|
styleOverrides: {
|
|
867
981
|
root: {
|
|
868
|
-
borderRadius:
|
|
982
|
+
borderRadius: radius5.md
|
|
869
983
|
},
|
|
870
984
|
grouped: {
|
|
871
985
|
"&:not(:last-of-type)": {
|
|
872
|
-
borderRight: `1px solid ${
|
|
986
|
+
borderRight: `1px solid ${buttonColors5.primary.borderHover}`
|
|
873
987
|
}
|
|
874
988
|
}
|
|
875
989
|
}
|
|
@@ -883,13 +997,13 @@ function buildComponents(tokens) {
|
|
|
883
997
|
boxShadow: tokenShadows.lg
|
|
884
998
|
},
|
|
885
999
|
"&:focus-visible": {
|
|
886
|
-
boxShadow:
|
|
1000
|
+
boxShadow: focusRings5.brandShadowSm
|
|
887
1001
|
}
|
|
888
1002
|
},
|
|
889
1003
|
primary: {
|
|
890
|
-
backgroundColor:
|
|
1004
|
+
backgroundColor: buttonColors5.primary.bg,
|
|
891
1005
|
"&:hover": {
|
|
892
|
-
backgroundColor:
|
|
1006
|
+
backgroundColor: buttonColors5.primary.bgHover
|
|
893
1007
|
}
|
|
894
1008
|
}
|
|
895
1009
|
}
|
|
@@ -904,8 +1018,8 @@ function buildComponents(tokens) {
|
|
|
904
1018
|
styleOverrides: {
|
|
905
1019
|
input: {
|
|
906
1020
|
"&::placeholder": {
|
|
907
|
-
color:
|
|
908
|
-
WebkitTextFillColor:
|
|
1021
|
+
color: text5.placeholder,
|
|
1022
|
+
WebkitTextFillColor: text5.placeholder,
|
|
909
1023
|
fontWeight: 400,
|
|
910
1024
|
opacity: 1
|
|
911
1025
|
}
|
|
@@ -915,26 +1029,26 @@ function buildComponents(tokens) {
|
|
|
915
1029
|
MuiOutlinedInput: {
|
|
916
1030
|
styleOverrides: {
|
|
917
1031
|
root: {
|
|
918
|
-
borderRadius:
|
|
1032
|
+
borderRadius: radius5.md,
|
|
919
1033
|
boxShadow: tokenShadows.xs,
|
|
920
1034
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
921
|
-
borderColor:
|
|
1035
|
+
borderColor: border5.brand
|
|
922
1036
|
},
|
|
923
1037
|
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
924
|
-
borderColor:
|
|
1038
|
+
borderColor: border5.brandSolid,
|
|
925
1039
|
borderWidth: 1,
|
|
926
1040
|
boxShadow: "none"
|
|
927
1041
|
},
|
|
928
1042
|
"&.Mui-error .MuiOutlinedInput-notchedOutline": {
|
|
929
|
-
borderColor:
|
|
1043
|
+
borderColor: border5.error
|
|
930
1044
|
},
|
|
931
1045
|
"&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
932
|
-
borderColor:
|
|
1046
|
+
borderColor: border5.errorSolid,
|
|
933
1047
|
boxShadow: "none"
|
|
934
1048
|
}
|
|
935
1049
|
},
|
|
936
1050
|
notchedOutline: {
|
|
937
|
-
borderColor:
|
|
1051
|
+
borderColor: border5.primary
|
|
938
1052
|
},
|
|
939
1053
|
input: {
|
|
940
1054
|
padding: "6px 12px",
|
|
@@ -946,12 +1060,12 @@ function buildComponents(tokens) {
|
|
|
946
1060
|
MuiFormLabel: {
|
|
947
1061
|
styleOverrides: {
|
|
948
1062
|
root: {
|
|
949
|
-
color:
|
|
1063
|
+
color: text5.placeholder,
|
|
950
1064
|
"&.Mui-focused": {
|
|
951
|
-
color:
|
|
1065
|
+
color: text5.placeholder
|
|
952
1066
|
},
|
|
953
1067
|
"&.Mui-error": {
|
|
954
|
-
color:
|
|
1068
|
+
color: text5.errorPrimary
|
|
955
1069
|
}
|
|
956
1070
|
}
|
|
957
1071
|
}
|
|
@@ -961,12 +1075,12 @@ function buildComponents(tokens) {
|
|
|
961
1075
|
root: {
|
|
962
1076
|
fontSize: 14,
|
|
963
1077
|
fontWeight: 500,
|
|
964
|
-
color:
|
|
1078
|
+
color: text5.placeholder,
|
|
965
1079
|
"&.Mui-focused": {
|
|
966
|
-
color:
|
|
1080
|
+
color: text5.placeholder
|
|
967
1081
|
},
|
|
968
1082
|
"&.Mui-error": {
|
|
969
|
-
color:
|
|
1083
|
+
color: text5.errorPrimary
|
|
970
1084
|
}
|
|
971
1085
|
},
|
|
972
1086
|
outlined: {
|
|
@@ -985,23 +1099,26 @@ function buildComponents(tokens) {
|
|
|
985
1099
|
marginTop: 6,
|
|
986
1100
|
marginLeft: 0,
|
|
987
1101
|
"&.Mui-error": {
|
|
988
|
-
color:
|
|
1102
|
+
color: text5.errorPrimary
|
|
989
1103
|
}
|
|
990
1104
|
}
|
|
991
1105
|
}
|
|
992
1106
|
},
|
|
993
|
-
// ───
|
|
994
|
-
|
|
1107
|
+
// ─── Menu ──────────────────────────────────────────────────────
|
|
1108
|
+
MuiMenu: {
|
|
995
1109
|
defaultProps: {
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1110
|
+
autoFocus: false
|
|
1111
|
+
},
|
|
1112
|
+
styleOverrides: {
|
|
1113
|
+
root: {
|
|
1114
|
+
"& .MuiBackdrop-root": {
|
|
1115
|
+
backgroundColor: "transparent"
|
|
1002
1116
|
}
|
|
1003
1117
|
}
|
|
1004
|
-
}
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
// ─── Select ─────────────────────────────────────────────────────
|
|
1121
|
+
MuiSelect: {
|
|
1005
1122
|
styleOverrides: {
|
|
1006
1123
|
select: {
|
|
1007
1124
|
"&.MuiSelect-select": {
|
|
@@ -1012,18 +1129,18 @@ function buildComponents(tokens) {
|
|
|
1012
1129
|
}
|
|
1013
1130
|
},
|
|
1014
1131
|
icon: {
|
|
1015
|
-
color:
|
|
1132
|
+
color: text5.placeholder
|
|
1016
1133
|
}
|
|
1017
1134
|
}
|
|
1018
1135
|
},
|
|
1019
1136
|
MuiMenuItem: {
|
|
1020
1137
|
styleOverrides: {
|
|
1021
1138
|
root: {
|
|
1022
|
-
borderRadius:
|
|
1139
|
+
borderRadius: radius5.md,
|
|
1023
1140
|
padding: "6px 8px",
|
|
1024
1141
|
gap: 4,
|
|
1025
1142
|
"&:hover": {
|
|
1026
|
-
backgroundColor:
|
|
1143
|
+
backgroundColor: bg5.primaryHover
|
|
1027
1144
|
}
|
|
1028
1145
|
}
|
|
1029
1146
|
}
|
|
@@ -1032,9 +1149,9 @@ function buildComponents(tokens) {
|
|
|
1032
1149
|
MuiAutocomplete: {
|
|
1033
1150
|
styleOverrides: {
|
|
1034
1151
|
paper: {
|
|
1035
|
-
borderRadius:
|
|
1152
|
+
borderRadius: radius5.md,
|
|
1036
1153
|
boxShadow: tokenShadows.lg,
|
|
1037
|
-
border: `1px solid ${
|
|
1154
|
+
border: `1px solid ${border5.secondary}`,
|
|
1038
1155
|
marginTop: 4
|
|
1039
1156
|
},
|
|
1040
1157
|
inputRoot: {
|
|
@@ -1051,10 +1168,10 @@ function buildComponents(tokens) {
|
|
|
1051
1168
|
lineHeight: "20px",
|
|
1052
1169
|
padding: "6px 12px",
|
|
1053
1170
|
"&.Mui-focused": {
|
|
1054
|
-
backgroundColor:
|
|
1171
|
+
backgroundColor: bg5.primaryHover
|
|
1055
1172
|
},
|
|
1056
1173
|
'&[aria-selected="true"]': {
|
|
1057
|
-
backgroundColor:
|
|
1174
|
+
backgroundColor: bg5.brandPrimary
|
|
1058
1175
|
}
|
|
1059
1176
|
},
|
|
1060
1177
|
listbox: {
|
|
@@ -1069,28 +1186,28 @@ function buildComponents(tokens) {
|
|
|
1069
1186
|
},
|
|
1070
1187
|
styleOverrides: {
|
|
1071
1188
|
root: {
|
|
1072
|
-
color:
|
|
1073
|
-
borderRadius:
|
|
1189
|
+
color: border5.primary,
|
|
1190
|
+
borderRadius: radius5.xs,
|
|
1074
1191
|
padding: 0,
|
|
1075
1192
|
width: 20,
|
|
1076
1193
|
height: 20,
|
|
1077
1194
|
"&:hover": {
|
|
1078
1195
|
backgroundColor: "transparent",
|
|
1079
|
-
color:
|
|
1196
|
+
color: fg5.brandPrimary
|
|
1080
1197
|
},
|
|
1081
1198
|
"&.Mui-checked": {
|
|
1082
|
-
color:
|
|
1199
|
+
color: fg5.brandPrimary
|
|
1083
1200
|
},
|
|
1084
1201
|
"&.Mui-checked:hover": {
|
|
1085
|
-
color:
|
|
1202
|
+
color: colors5.brand[700]
|
|
1086
1203
|
},
|
|
1087
1204
|
"&.Mui-focusVisible": {
|
|
1088
1205
|
outline: "none",
|
|
1089
|
-
boxShadow:
|
|
1090
|
-
borderRadius:
|
|
1206
|
+
boxShadow: focusRings5.brand,
|
|
1207
|
+
borderRadius: radius5.xs
|
|
1091
1208
|
},
|
|
1092
1209
|
"&.Mui-disabled": {
|
|
1093
|
-
color:
|
|
1210
|
+
color: border5.primary
|
|
1094
1211
|
}
|
|
1095
1212
|
}
|
|
1096
1213
|
}
|
|
@@ -1102,25 +1219,25 @@ function buildComponents(tokens) {
|
|
|
1102
1219
|
},
|
|
1103
1220
|
styleOverrides: {
|
|
1104
1221
|
root: {
|
|
1105
|
-
color:
|
|
1222
|
+
color: border5.primary,
|
|
1106
1223
|
padding: 0,
|
|
1107
1224
|
"&:hover": {
|
|
1108
1225
|
backgroundColor: "transparent",
|
|
1109
|
-
color:
|
|
1226
|
+
color: fg5.brandPrimary
|
|
1110
1227
|
},
|
|
1111
1228
|
"&.Mui-checked": {
|
|
1112
|
-
color:
|
|
1229
|
+
color: fg5.brandPrimary
|
|
1113
1230
|
},
|
|
1114
1231
|
"&.Mui-checked:hover": {
|
|
1115
|
-
color:
|
|
1232
|
+
color: colors5.brand[700]
|
|
1116
1233
|
},
|
|
1117
1234
|
"&.Mui-focusVisible": {
|
|
1118
1235
|
outline: "none",
|
|
1119
|
-
boxShadow:
|
|
1120
|
-
borderRadius:
|
|
1236
|
+
boxShadow: focusRings5.brand,
|
|
1237
|
+
borderRadius: radius5.full
|
|
1121
1238
|
},
|
|
1122
1239
|
"&.Mui-disabled": {
|
|
1123
|
-
color:
|
|
1240
|
+
color: border5.primary
|
|
1124
1241
|
}
|
|
1125
1242
|
}
|
|
1126
1243
|
}
|
|
@@ -1140,20 +1257,20 @@ function buildComponents(tokens) {
|
|
|
1140
1257
|
padding: 2,
|
|
1141
1258
|
"&.Mui-checked": {
|
|
1142
1259
|
transform: "translateX(20px)",
|
|
1143
|
-
color:
|
|
1260
|
+
color: fg5.white,
|
|
1144
1261
|
"& + .MuiSwitch-track": {
|
|
1145
|
-
backgroundColor:
|
|
1262
|
+
backgroundColor: fg5.brandPrimary,
|
|
1146
1263
|
opacity: 1
|
|
1147
1264
|
}
|
|
1148
1265
|
},
|
|
1149
1266
|
"&.Mui-checked:hover + .MuiSwitch-track": {
|
|
1150
|
-
backgroundColor:
|
|
1267
|
+
backgroundColor: colors5.brand[700]
|
|
1151
1268
|
},
|
|
1152
1269
|
"&.Mui-focusVisible .MuiSwitch-thumb": {
|
|
1153
|
-
boxShadow:
|
|
1270
|
+
boxShadow: focusRings5.brand
|
|
1154
1271
|
},
|
|
1155
1272
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1156
|
-
color:
|
|
1273
|
+
color: bg5.disabled
|
|
1157
1274
|
},
|
|
1158
1275
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1159
1276
|
opacity: 0.5
|
|
@@ -1165,8 +1282,8 @@ function buildComponents(tokens) {
|
|
|
1165
1282
|
boxShadow: "0px 1px 2px 0px #1018280d"
|
|
1166
1283
|
},
|
|
1167
1284
|
track: {
|
|
1168
|
-
borderRadius:
|
|
1169
|
-
backgroundColor:
|
|
1285
|
+
borderRadius: radius5.full,
|
|
1286
|
+
backgroundColor: border5.secondary,
|
|
1170
1287
|
opacity: 1
|
|
1171
1288
|
}
|
|
1172
1289
|
}
|
|
@@ -1175,8 +1292,8 @@ function buildComponents(tokens) {
|
|
|
1175
1292
|
MuiToggleButton: {
|
|
1176
1293
|
styleOverrides: {
|
|
1177
1294
|
root: {
|
|
1178
|
-
borderColor:
|
|
1179
|
-
color:
|
|
1295
|
+
borderColor: border5.primary,
|
|
1296
|
+
color: text5.secondary,
|
|
1180
1297
|
fontSize: 14,
|
|
1181
1298
|
fontWeight: 600,
|
|
1182
1299
|
lineHeight: "20px",
|
|
@@ -1184,19 +1301,19 @@ function buildComponents(tokens) {
|
|
|
1184
1301
|
padding: "6px 12px",
|
|
1185
1302
|
textTransform: "none",
|
|
1186
1303
|
"&:hover": {
|
|
1187
|
-
backgroundColor:
|
|
1188
|
-
borderColor:
|
|
1304
|
+
backgroundColor: bg5.primaryHover,
|
|
1305
|
+
borderColor: border5.primary
|
|
1189
1306
|
},
|
|
1190
1307
|
"&.Mui-selected": {
|
|
1191
|
-
backgroundColor:
|
|
1192
|
-
color:
|
|
1193
|
-
borderColor:
|
|
1308
|
+
backgroundColor: bg5.brandPrimary,
|
|
1309
|
+
color: buttonColors5.secondaryColor.fg,
|
|
1310
|
+
borderColor: border5.brandSolid,
|
|
1194
1311
|
"&:hover": {
|
|
1195
|
-
backgroundColor:
|
|
1312
|
+
backgroundColor: bg5.brandSecondary
|
|
1196
1313
|
}
|
|
1197
1314
|
},
|
|
1198
1315
|
"&:focus-visible": {
|
|
1199
|
-
boxShadow:
|
|
1316
|
+
boxShadow: focusRings5.brandShadowXs
|
|
1200
1317
|
}
|
|
1201
1318
|
}
|
|
1202
1319
|
}
|
|
@@ -1204,7 +1321,7 @@ function buildComponents(tokens) {
|
|
|
1204
1321
|
MuiToggleButtonGroup: {
|
|
1205
1322
|
styleOverrides: {
|
|
1206
1323
|
root: {
|
|
1207
|
-
borderRadius:
|
|
1324
|
+
borderRadius: radius5.md,
|
|
1208
1325
|
overflow: "hidden"
|
|
1209
1326
|
},
|
|
1210
1327
|
grouped: {
|
|
@@ -1213,12 +1330,12 @@ function buildComponents(tokens) {
|
|
|
1213
1330
|
marginLeft: -1
|
|
1214
1331
|
},
|
|
1215
1332
|
"&:first-of-type": {
|
|
1216
|
-
borderTopLeftRadius:
|
|
1217
|
-
borderBottomLeftRadius:
|
|
1333
|
+
borderTopLeftRadius: radius5.md,
|
|
1334
|
+
borderBottomLeftRadius: radius5.md
|
|
1218
1335
|
},
|
|
1219
1336
|
"&:last-of-type": {
|
|
1220
|
-
borderTopRightRadius:
|
|
1221
|
-
borderBottomRightRadius:
|
|
1337
|
+
borderTopRightRadius: radius5.md,
|
|
1338
|
+
borderBottomRightRadius: radius5.md
|
|
1222
1339
|
}
|
|
1223
1340
|
}
|
|
1224
1341
|
}
|
|
@@ -1227,8 +1344,8 @@ function buildComponents(tokens) {
|
|
|
1227
1344
|
MuiDrawer: {
|
|
1228
1345
|
styleOverrides: {
|
|
1229
1346
|
paper: {
|
|
1230
|
-
backgroundColor:
|
|
1231
|
-
borderRight: `1px solid ${
|
|
1347
|
+
backgroundColor: bg5.primary,
|
|
1348
|
+
borderRight: `1px solid ${border5.secondary}`
|
|
1232
1349
|
}
|
|
1233
1350
|
}
|
|
1234
1351
|
},
|
|
@@ -1239,9 +1356,9 @@ function buildComponents(tokens) {
|
|
|
1239
1356
|
},
|
|
1240
1357
|
styleOverrides: {
|
|
1241
1358
|
root: {
|
|
1242
|
-
borderRadius:
|
|
1243
|
-
border: `1px solid ${
|
|
1244
|
-
backgroundColor:
|
|
1359
|
+
borderRadius: radius5.xl,
|
|
1360
|
+
border: `1px solid ${border5.secondary}`,
|
|
1361
|
+
backgroundColor: bg5.primary,
|
|
1245
1362
|
boxShadow: tokenShadows.xs,
|
|
1246
1363
|
overflow: "hidden"
|
|
1247
1364
|
}
|
|
@@ -1288,35 +1405,35 @@ function buildComponents(tokens) {
|
|
|
1288
1405
|
backgroundImage: "none"
|
|
1289
1406
|
},
|
|
1290
1407
|
rounded: {
|
|
1291
|
-
borderRadius:
|
|
1408
|
+
borderRadius: radius5.lg
|
|
1292
1409
|
},
|
|
1293
1410
|
elevation1: {
|
|
1294
1411
|
boxShadow: tokenShadows.xs,
|
|
1295
|
-
border: `1px solid ${
|
|
1412
|
+
border: `1px solid ${border5.secondary}`
|
|
1296
1413
|
},
|
|
1297
1414
|
elevation2: {
|
|
1298
1415
|
boxShadow: tokenShadows.sm,
|
|
1299
|
-
border: `1px solid ${
|
|
1416
|
+
border: `1px solid ${border5.secondary}`
|
|
1300
1417
|
},
|
|
1301
1418
|
elevation3: {
|
|
1302
1419
|
boxShadow: tokenShadows.md,
|
|
1303
|
-
border: `1px solid ${
|
|
1420
|
+
border: `1px solid ${border5.secondary}`
|
|
1304
1421
|
},
|
|
1305
1422
|
elevation4: {
|
|
1306
1423
|
boxShadow: tokenShadows.lg,
|
|
1307
|
-
border: `1px solid ${
|
|
1424
|
+
border: `1px solid ${border5.secondary}`
|
|
1308
1425
|
},
|
|
1309
1426
|
elevation8: {
|
|
1310
1427
|
boxShadow: tokenShadows.xl,
|
|
1311
|
-
border: `1px solid ${
|
|
1428
|
+
border: `1px solid ${border5.secondary}`
|
|
1312
1429
|
},
|
|
1313
1430
|
elevation16: {
|
|
1314
1431
|
boxShadow: tokenShadows["2xl"],
|
|
1315
|
-
border: `1px solid ${
|
|
1432
|
+
border: `1px solid ${border5.secondary}`
|
|
1316
1433
|
},
|
|
1317
1434
|
elevation24: {
|
|
1318
1435
|
boxShadow: tokenShadows["3xl"],
|
|
1319
|
-
border: `1px solid ${
|
|
1436
|
+
border: `1px solid ${border5.secondary}`
|
|
1320
1437
|
}
|
|
1321
1438
|
}
|
|
1322
1439
|
},
|
|
@@ -1328,8 +1445,8 @@ function buildComponents(tokens) {
|
|
|
1328
1445
|
},
|
|
1329
1446
|
styleOverrides: {
|
|
1330
1447
|
root: {
|
|
1331
|
-
border: `1px solid ${
|
|
1332
|
-
borderRadius:
|
|
1448
|
+
border: `1px solid ${border5.secondary}`,
|
|
1449
|
+
borderRadius: radius5.lg,
|
|
1333
1450
|
"&:not(:last-child)": {
|
|
1334
1451
|
marginBottom: 8
|
|
1335
1452
|
},
|
|
@@ -1339,7 +1456,7 @@ function buildComponents(tokens) {
|
|
|
1339
1456
|
"&.Mui-expanded": {
|
|
1340
1457
|
margin: 0,
|
|
1341
1458
|
marginBottom: 8,
|
|
1342
|
-
borderRadius:
|
|
1459
|
+
borderRadius: radius5.lg
|
|
1343
1460
|
}
|
|
1344
1461
|
}
|
|
1345
1462
|
}
|
|
@@ -1351,7 +1468,7 @@ function buildComponents(tokens) {
|
|
|
1351
1468
|
minHeight: 56,
|
|
1352
1469
|
"&.Mui-expanded": {
|
|
1353
1470
|
minHeight: 56,
|
|
1354
|
-
borderBottom: `1px solid ${
|
|
1471
|
+
borderBottom: `1px solid ${border5.secondary}`
|
|
1355
1472
|
}
|
|
1356
1473
|
},
|
|
1357
1474
|
content: {
|
|
@@ -1377,8 +1494,8 @@ function buildComponents(tokens) {
|
|
|
1377
1494
|
},
|
|
1378
1495
|
styleOverrides: {
|
|
1379
1496
|
root: {
|
|
1380
|
-
borderBottom: `1px solid ${
|
|
1381
|
-
backgroundColor:
|
|
1497
|
+
borderBottom: `1px solid ${border5.secondary}`,
|
|
1498
|
+
backgroundColor: bg5.primary
|
|
1382
1499
|
}
|
|
1383
1500
|
}
|
|
1384
1501
|
},
|
|
@@ -1402,7 +1519,7 @@ function buildComponents(tokens) {
|
|
|
1402
1519
|
MuiChip: {
|
|
1403
1520
|
styleOverrides: {
|
|
1404
1521
|
root: {
|
|
1405
|
-
borderRadius:
|
|
1522
|
+
borderRadius: radius5.md
|
|
1406
1523
|
},
|
|
1407
1524
|
label: {
|
|
1408
1525
|
fontWeight: 500
|
|
@@ -1418,51 +1535,51 @@ function buildComponents(tokens) {
|
|
|
1418
1535
|
},
|
|
1419
1536
|
colorDefault: {
|
|
1420
1537
|
"&.MuiChip-filled": {
|
|
1421
|
-
backgroundColor:
|
|
1422
|
-
color:
|
|
1423
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1538
|
+
backgroundColor: colors5.gray[50],
|
|
1539
|
+
color: colors5.gray[700],
|
|
1540
|
+
"& .MuiChip-deleteIcon": { color: colors5.gray[400] }
|
|
1424
1541
|
}
|
|
1425
1542
|
},
|
|
1426
1543
|
colorPrimary: {
|
|
1427
1544
|
"&.MuiChip-filled": {
|
|
1428
|
-
backgroundColor:
|
|
1429
|
-
color:
|
|
1430
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1545
|
+
backgroundColor: colors5.brand[50],
|
|
1546
|
+
color: colors5.brand[700],
|
|
1547
|
+
"& .MuiChip-deleteIcon": { color: colors5.brand[400] }
|
|
1431
1548
|
}
|
|
1432
1549
|
},
|
|
1433
1550
|
colorSecondary: {
|
|
1434
1551
|
"&.MuiChip-filled": {
|
|
1435
|
-
backgroundColor:
|
|
1436
|
-
color:
|
|
1437
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1552
|
+
backgroundColor: colors5.gray[50],
|
|
1553
|
+
color: colors5.gray[700],
|
|
1554
|
+
"& .MuiChip-deleteIcon": { color: colors5.gray[400] }
|
|
1438
1555
|
}
|
|
1439
1556
|
},
|
|
1440
1557
|
colorError: {
|
|
1441
1558
|
"&.MuiChip-filled": {
|
|
1442
|
-
backgroundColor:
|
|
1443
|
-
color:
|
|
1444
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1559
|
+
backgroundColor: colors5.error[50],
|
|
1560
|
+
color: colors5.error[700],
|
|
1561
|
+
"& .MuiChip-deleteIcon": { color: colors5.error[400] }
|
|
1445
1562
|
}
|
|
1446
1563
|
},
|
|
1447
1564
|
colorWarning: {
|
|
1448
1565
|
"&.MuiChip-filled": {
|
|
1449
|
-
backgroundColor:
|
|
1450
|
-
color:
|
|
1451
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1566
|
+
backgroundColor: colors5.warning[50],
|
|
1567
|
+
color: colors5.warning[700],
|
|
1568
|
+
"& .MuiChip-deleteIcon": { color: colors5.warning[400] }
|
|
1452
1569
|
}
|
|
1453
1570
|
},
|
|
1454
1571
|
colorSuccess: {
|
|
1455
1572
|
"&.MuiChip-filled": {
|
|
1456
|
-
backgroundColor:
|
|
1457
|
-
color:
|
|
1458
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1573
|
+
backgroundColor: colors5.success[50],
|
|
1574
|
+
color: colors5.success[700],
|
|
1575
|
+
"& .MuiChip-deleteIcon": { color: colors5.success[400] }
|
|
1459
1576
|
}
|
|
1460
1577
|
},
|
|
1461
1578
|
colorInfo: {
|
|
1462
1579
|
"&.MuiChip-filled": {
|
|
1463
|
-
backgroundColor:
|
|
1464
|
-
color:
|
|
1465
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1580
|
+
backgroundColor: colors5.blue[50],
|
|
1581
|
+
color: colors5.blue[700],
|
|
1582
|
+
"& .MuiChip-deleteIcon": { color: colors5.blue[400] }
|
|
1466
1583
|
}
|
|
1467
1584
|
}
|
|
1468
1585
|
}
|
|
@@ -1478,7 +1595,7 @@ function buildComponents(tokens) {
|
|
|
1478
1595
|
fontSize: 14,
|
|
1479
1596
|
lineHeight: "20px",
|
|
1480
1597
|
fontWeight: 500,
|
|
1481
|
-
color:
|
|
1598
|
+
color: text5.secondary
|
|
1482
1599
|
}
|
|
1483
1600
|
}
|
|
1484
1601
|
},
|
|
@@ -1494,29 +1611,29 @@ function buildComponents(tokens) {
|
|
|
1494
1611
|
MuiTableCell: {
|
|
1495
1612
|
styleOverrides: {
|
|
1496
1613
|
root: {
|
|
1497
|
-
borderBottom: `1px solid ${
|
|
1614
|
+
borderBottom: `1px solid ${border5.secondary}`,
|
|
1498
1615
|
padding: "16px 24px",
|
|
1499
1616
|
fontSize: 14,
|
|
1500
1617
|
lineHeight: "20px",
|
|
1501
|
-
color:
|
|
1618
|
+
color: fg5.tertiary
|
|
1502
1619
|
},
|
|
1503
1620
|
head: {
|
|
1504
|
-
backgroundColor:
|
|
1505
|
-
color:
|
|
1621
|
+
backgroundColor: bg5.secondary,
|
|
1622
|
+
color: fg5.tertiary,
|
|
1506
1623
|
fontWeight: 500,
|
|
1507
1624
|
fontSize: 12,
|
|
1508
1625
|
lineHeight: "18px"
|
|
1509
1626
|
},
|
|
1510
1627
|
body: {
|
|
1511
|
-
color:
|
|
1628
|
+
color: fg5.tertiary
|
|
1512
1629
|
}
|
|
1513
1630
|
}
|
|
1514
1631
|
},
|
|
1515
1632
|
MuiTableHead: {
|
|
1516
1633
|
styleOverrides: {
|
|
1517
1634
|
root: {
|
|
1518
|
-
backgroundColor:
|
|
1519
|
-
borderBottom: `1px solid ${
|
|
1635
|
+
backgroundColor: bg5.secondary,
|
|
1636
|
+
borderBottom: `1px solid ${border5.secondary}`
|
|
1520
1637
|
}
|
|
1521
1638
|
}
|
|
1522
1639
|
},
|
|
@@ -1527,12 +1644,12 @@ function buildComponents(tokens) {
|
|
|
1527
1644
|
border: 0
|
|
1528
1645
|
},
|
|
1529
1646
|
"&:hover": {
|
|
1530
|
-
backgroundColor:
|
|
1647
|
+
backgroundColor: bg5.primaryHover
|
|
1531
1648
|
},
|
|
1532
1649
|
"&.Mui-selected": {
|
|
1533
|
-
backgroundColor:
|
|
1650
|
+
backgroundColor: bg5.brandPrimary,
|
|
1534
1651
|
"&:hover": {
|
|
1535
|
-
backgroundColor:
|
|
1652
|
+
backgroundColor: bg5.brandPrimary
|
|
1536
1653
|
}
|
|
1537
1654
|
}
|
|
1538
1655
|
}
|
|
@@ -1541,8 +1658,8 @@ function buildComponents(tokens) {
|
|
|
1541
1658
|
MuiTableContainer: {
|
|
1542
1659
|
styleOverrides: {
|
|
1543
1660
|
root: {
|
|
1544
|
-
borderRadius:
|
|
1545
|
-
border: `1px solid ${
|
|
1661
|
+
borderRadius: radius5.xl,
|
|
1662
|
+
border: `1px solid ${border5.secondary}`,
|
|
1546
1663
|
boxShadow: "none"
|
|
1547
1664
|
}
|
|
1548
1665
|
}
|
|
@@ -1556,24 +1673,24 @@ function buildComponents(tokens) {
|
|
|
1556
1673
|
lineHeight: "18px",
|
|
1557
1674
|
minWidth: 20,
|
|
1558
1675
|
height: 20,
|
|
1559
|
-
borderRadius:
|
|
1676
|
+
borderRadius: radius5.full
|
|
1560
1677
|
},
|
|
1561
1678
|
colorPrimary: {
|
|
1562
|
-
backgroundColor:
|
|
1679
|
+
backgroundColor: bg5.brandSolid
|
|
1563
1680
|
},
|
|
1564
1681
|
colorError: {
|
|
1565
|
-
backgroundColor:
|
|
1682
|
+
backgroundColor: bg5.errorSolid
|
|
1566
1683
|
},
|
|
1567
1684
|
colorSuccess: {
|
|
1568
|
-
backgroundColor:
|
|
1685
|
+
backgroundColor: bg5.successSolid
|
|
1569
1686
|
},
|
|
1570
1687
|
colorWarning: {
|
|
1571
|
-
backgroundColor:
|
|
1688
|
+
backgroundColor: bg5.warningSolid
|
|
1572
1689
|
},
|
|
1573
1690
|
dot: {
|
|
1574
1691
|
minWidth: 8,
|
|
1575
1692
|
height: 8,
|
|
1576
|
-
borderRadius:
|
|
1693
|
+
borderRadius: radius5.full
|
|
1577
1694
|
}
|
|
1578
1695
|
}
|
|
1579
1696
|
},
|
|
@@ -1581,7 +1698,7 @@ function buildComponents(tokens) {
|
|
|
1581
1698
|
MuiDivider: {
|
|
1582
1699
|
styleOverrides: {
|
|
1583
1700
|
root: {
|
|
1584
|
-
borderColor:
|
|
1701
|
+
borderColor: border5.secondary
|
|
1585
1702
|
}
|
|
1586
1703
|
}
|
|
1587
1704
|
},
|
|
@@ -1596,16 +1713,16 @@ function buildComponents(tokens) {
|
|
|
1596
1713
|
MuiListItemButton: {
|
|
1597
1714
|
styleOverrides: {
|
|
1598
1715
|
root: {
|
|
1599
|
-
borderRadius:
|
|
1716
|
+
borderRadius: radius5.sm,
|
|
1600
1717
|
padding: "8px 12px",
|
|
1601
1718
|
"&:hover": {
|
|
1602
|
-
backgroundColor:
|
|
1719
|
+
backgroundColor: bg5.primaryHover
|
|
1603
1720
|
},
|
|
1604
1721
|
"&.Mui-selected": {
|
|
1605
|
-
backgroundColor:
|
|
1606
|
-
color:
|
|
1722
|
+
backgroundColor: bg5.brandPrimary,
|
|
1723
|
+
color: buttonColors5.secondaryColor.fg,
|
|
1607
1724
|
"&:hover": {
|
|
1608
|
-
backgroundColor:
|
|
1725
|
+
backgroundColor: bg5.brandSecondary
|
|
1609
1726
|
}
|
|
1610
1727
|
}
|
|
1611
1728
|
}
|
|
@@ -1615,7 +1732,7 @@ function buildComponents(tokens) {
|
|
|
1615
1732
|
styleOverrides: {
|
|
1616
1733
|
root: {
|
|
1617
1734
|
minWidth: 36,
|
|
1618
|
-
color:
|
|
1735
|
+
color: fg5.quaternary
|
|
1619
1736
|
}
|
|
1620
1737
|
}
|
|
1621
1738
|
},
|
|
@@ -1625,12 +1742,12 @@ function buildComponents(tokens) {
|
|
|
1625
1742
|
fontSize: 14,
|
|
1626
1743
|
lineHeight: "20px",
|
|
1627
1744
|
fontWeight: 500,
|
|
1628
|
-
color:
|
|
1745
|
+
color: text5.secondary
|
|
1629
1746
|
},
|
|
1630
1747
|
secondary: {
|
|
1631
1748
|
fontSize: 14,
|
|
1632
1749
|
lineHeight: "20px",
|
|
1633
|
-
color:
|
|
1750
|
+
color: text5.quaternary
|
|
1634
1751
|
}
|
|
1635
1752
|
}
|
|
1636
1753
|
},
|
|
@@ -1638,17 +1755,17 @@ function buildComponents(tokens) {
|
|
|
1638
1755
|
MuiTooltip: {
|
|
1639
1756
|
styleOverrides: {
|
|
1640
1757
|
tooltip: {
|
|
1641
|
-
backgroundColor:
|
|
1642
|
-
color:
|
|
1758
|
+
backgroundColor: bg5.primarySolid,
|
|
1759
|
+
color: text5.white,
|
|
1643
1760
|
fontSize: 12,
|
|
1644
1761
|
lineHeight: "18px",
|
|
1645
1762
|
fontWeight: 600,
|
|
1646
1763
|
padding: "8px 12px",
|
|
1647
|
-
borderRadius:
|
|
1764
|
+
borderRadius: radius5.md,
|
|
1648
1765
|
boxShadow: tokenShadows.lg
|
|
1649
1766
|
},
|
|
1650
1767
|
arrow: {
|
|
1651
|
-
color:
|
|
1768
|
+
color: bg5.primarySolid
|
|
1652
1769
|
}
|
|
1653
1770
|
}
|
|
1654
1771
|
},
|
|
@@ -1659,42 +1776,42 @@ function buildComponents(tokens) {
|
|
|
1659
1776
|
},
|
|
1660
1777
|
styleOverrides: {
|
|
1661
1778
|
root: {
|
|
1662
|
-
borderRadius:
|
|
1779
|
+
borderRadius: radius5.xl,
|
|
1663
1780
|
fontSize: 14,
|
|
1664
1781
|
lineHeight: "20px",
|
|
1665
1782
|
padding: "12px 16px",
|
|
1666
1783
|
alignItems: "center"
|
|
1667
1784
|
},
|
|
1668
1785
|
standardError: {
|
|
1669
|
-
backgroundColor:
|
|
1670
|
-
color:
|
|
1671
|
-
border: `1px solid ${
|
|
1786
|
+
backgroundColor: bg5.errorPrimary,
|
|
1787
|
+
color: colors5.error[700],
|
|
1788
|
+
border: `1px solid ${border5.error}`,
|
|
1672
1789
|
"& .MuiAlert-icon": {
|
|
1673
|
-
color:
|
|
1790
|
+
color: fg5.errorPrimary
|
|
1674
1791
|
}
|
|
1675
1792
|
},
|
|
1676
1793
|
standardWarning: {
|
|
1677
|
-
backgroundColor:
|
|
1678
|
-
color:
|
|
1679
|
-
border: `1px solid ${
|
|
1794
|
+
backgroundColor: bg5.warningPrimary,
|
|
1795
|
+
color: colors5.warning[700],
|
|
1796
|
+
border: `1px solid ${colors5.warning[300]}`,
|
|
1680
1797
|
"& .MuiAlert-icon": {
|
|
1681
|
-
color:
|
|
1798
|
+
color: fg5.warningPrimary
|
|
1682
1799
|
}
|
|
1683
1800
|
},
|
|
1684
1801
|
standardSuccess: {
|
|
1685
|
-
backgroundColor:
|
|
1686
|
-
color:
|
|
1687
|
-
border: `1px solid ${
|
|
1802
|
+
backgroundColor: bg5.successPrimary,
|
|
1803
|
+
color: colors5.success[700],
|
|
1804
|
+
border: `1px solid ${colors5.success[300]}`,
|
|
1688
1805
|
"& .MuiAlert-icon": {
|
|
1689
|
-
color:
|
|
1806
|
+
color: fg5.successPrimary
|
|
1690
1807
|
}
|
|
1691
1808
|
},
|
|
1692
1809
|
standardInfo: {
|
|
1693
|
-
backgroundColor:
|
|
1694
|
-
color:
|
|
1695
|
-
border: `1px solid ${
|
|
1810
|
+
backgroundColor: colors5.blue[50],
|
|
1811
|
+
color: colors5.blue[700],
|
|
1812
|
+
border: `1px solid ${colors5.blue[300]}`,
|
|
1696
1813
|
"& .MuiAlert-icon": {
|
|
1697
|
-
color:
|
|
1814
|
+
color: colors5.blue[600]
|
|
1698
1815
|
}
|
|
1699
1816
|
},
|
|
1700
1817
|
icon: {
|
|
@@ -1725,7 +1842,7 @@ function buildComponents(tokens) {
|
|
|
1725
1842
|
MuiDialog: {
|
|
1726
1843
|
styleOverrides: {
|
|
1727
1844
|
paper: {
|
|
1728
|
-
borderRadius:
|
|
1845
|
+
borderRadius: radius5.xl,
|
|
1729
1846
|
boxShadow: tokenShadows.xl,
|
|
1730
1847
|
padding: 0
|
|
1731
1848
|
}
|
|
@@ -1737,7 +1854,7 @@ function buildComponents(tokens) {
|
|
|
1737
1854
|
fontSize: 18,
|
|
1738
1855
|
lineHeight: "28px",
|
|
1739
1856
|
fontWeight: 600,
|
|
1740
|
-
color:
|
|
1857
|
+
color: text5.primary,
|
|
1741
1858
|
padding: "24px 24px 0"
|
|
1742
1859
|
}
|
|
1743
1860
|
}
|
|
@@ -1748,7 +1865,7 @@ function buildComponents(tokens) {
|
|
|
1748
1865
|
padding: "20px 24px",
|
|
1749
1866
|
fontSize: 14,
|
|
1750
1867
|
lineHeight: "20px",
|
|
1751
|
-
color:
|
|
1868
|
+
color: text5.tertiary
|
|
1752
1869
|
}
|
|
1753
1870
|
}
|
|
1754
1871
|
},
|
|
@@ -1764,27 +1881,27 @@ function buildComponents(tokens) {
|
|
|
1764
1881
|
MuiLinearProgress: {
|
|
1765
1882
|
styleOverrides: {
|
|
1766
1883
|
root: {
|
|
1767
|
-
borderRadius:
|
|
1884
|
+
borderRadius: radius5.full,
|
|
1768
1885
|
height: 8,
|
|
1769
|
-
backgroundColor:
|
|
1886
|
+
backgroundColor: border5.secondary
|
|
1770
1887
|
},
|
|
1771
1888
|
barColorPrimary: {
|
|
1772
|
-
backgroundColor:
|
|
1773
|
-
borderRadius:
|
|
1889
|
+
backgroundColor: fg5.brandPrimary,
|
|
1890
|
+
borderRadius: radius5.full
|
|
1774
1891
|
},
|
|
1775
1892
|
barColorSecondary: {
|
|
1776
|
-
backgroundColor:
|
|
1777
|
-
borderRadius:
|
|
1893
|
+
backgroundColor: bg5.secondarySolid,
|
|
1894
|
+
borderRadius: radius5.full
|
|
1778
1895
|
}
|
|
1779
1896
|
}
|
|
1780
1897
|
},
|
|
1781
1898
|
MuiCircularProgress: {
|
|
1782
1899
|
styleOverrides: {
|
|
1783
1900
|
colorPrimary: {
|
|
1784
|
-
color:
|
|
1901
|
+
color: fg5.brandPrimary
|
|
1785
1902
|
},
|
|
1786
1903
|
colorSecondary: {
|
|
1787
|
-
color:
|
|
1904
|
+
color: bg5.secondarySolid
|
|
1788
1905
|
}
|
|
1789
1906
|
}
|
|
1790
1907
|
},
|
|
@@ -1795,13 +1912,13 @@ function buildComponents(tokens) {
|
|
|
1795
1912
|
},
|
|
1796
1913
|
styleOverrides: {
|
|
1797
1914
|
root: {
|
|
1798
|
-
backgroundColor:
|
|
1915
|
+
backgroundColor: bg5.tertiary
|
|
1799
1916
|
},
|
|
1800
1917
|
rounded: {
|
|
1801
|
-
borderRadius:
|
|
1918
|
+
borderRadius: radius5.md
|
|
1802
1919
|
},
|
|
1803
1920
|
circular: {
|
|
1804
|
-
borderRadius:
|
|
1921
|
+
borderRadius: radius5.full
|
|
1805
1922
|
}
|
|
1806
1923
|
}
|
|
1807
1924
|
},
|
|
@@ -1809,9 +1926,9 @@ function buildComponents(tokens) {
|
|
|
1809
1926
|
MuiSnackbarContent: {
|
|
1810
1927
|
styleOverrides: {
|
|
1811
1928
|
root: {
|
|
1812
|
-
backgroundColor:
|
|
1813
|
-
color:
|
|
1814
|
-
borderRadius:
|
|
1929
|
+
backgroundColor: bg5.primarySolid,
|
|
1930
|
+
color: text5.white,
|
|
1931
|
+
borderRadius: radius5.xl,
|
|
1815
1932
|
boxShadow: tokenShadows.lg,
|
|
1816
1933
|
fontSize: 14,
|
|
1817
1934
|
lineHeight: "20px",
|
|
@@ -1845,21 +1962,21 @@ function buildComponents(tokens) {
|
|
|
1845
1962
|
MuiDataGrid: {
|
|
1846
1963
|
styleOverrides: {
|
|
1847
1964
|
root: {
|
|
1848
|
-
border: `1px solid ${
|
|
1849
|
-
borderRadius:
|
|
1965
|
+
border: `1px solid ${border5.secondary}`,
|
|
1966
|
+
borderRadius: radius5.xl,
|
|
1850
1967
|
fontFamily: "inherit",
|
|
1851
1968
|
"& .MuiDataGrid-withBorderColor": {
|
|
1852
|
-
borderColor:
|
|
1969
|
+
borderColor: border5.secondary
|
|
1853
1970
|
}
|
|
1854
1971
|
},
|
|
1855
1972
|
columnHeaders: {
|
|
1856
|
-
backgroundColor:
|
|
1973
|
+
backgroundColor: bg5.secondary
|
|
1857
1974
|
},
|
|
1858
1975
|
columnHeader: {
|
|
1859
1976
|
fontSize: 12,
|
|
1860
1977
|
lineHeight: "18px",
|
|
1861
1978
|
fontWeight: 500,
|
|
1862
|
-
color:
|
|
1979
|
+
color: fg5.tertiary,
|
|
1863
1980
|
"&:focus, &:focus-within": {
|
|
1864
1981
|
outline: "none"
|
|
1865
1982
|
}
|
|
@@ -1870,34 +1987,34 @@ function buildComponents(tokens) {
|
|
|
1870
1987
|
cell: {
|
|
1871
1988
|
fontSize: 14,
|
|
1872
1989
|
lineHeight: "20px",
|
|
1873
|
-
color:
|
|
1990
|
+
color: fg5.tertiary,
|
|
1874
1991
|
"&:focus, &:focus-within": {
|
|
1875
1992
|
outline: "none"
|
|
1876
1993
|
}
|
|
1877
1994
|
},
|
|
1878
1995
|
row: {
|
|
1879
1996
|
"&:hover": {
|
|
1880
|
-
backgroundColor:
|
|
1997
|
+
backgroundColor: bg5.primaryHover
|
|
1881
1998
|
},
|
|
1882
1999
|
"&.Mui-selected": {
|
|
1883
|
-
backgroundColor:
|
|
2000
|
+
backgroundColor: bg5.brandPrimary,
|
|
1884
2001
|
"&:hover": {
|
|
1885
|
-
backgroundColor:
|
|
2002
|
+
backgroundColor: bg5.brandPrimary
|
|
1886
2003
|
}
|
|
1887
2004
|
}
|
|
1888
2005
|
},
|
|
1889
2006
|
footerContainer: {
|
|
1890
|
-
borderTop: `1px solid ${
|
|
2007
|
+
borderTop: `1px solid ${border5.secondary}`
|
|
1891
2008
|
},
|
|
1892
2009
|
columnSeparator: {
|
|
1893
|
-
color:
|
|
2010
|
+
color: border5.secondary
|
|
1894
2011
|
}
|
|
1895
2012
|
}
|
|
1896
2013
|
}
|
|
1897
2014
|
}
|
|
1898
2015
|
};
|
|
1899
2016
|
}
|
|
1900
|
-
|
|
2017
|
+
buildComponents({
|
|
1901
2018
|
colors,
|
|
1902
2019
|
radius,
|
|
1903
2020
|
focusRings,
|
|
@@ -1908,65 +2025,7 @@ var components = buildComponents({
|
|
|
1908
2025
|
border,
|
|
1909
2026
|
buttonColors});
|
|
1910
2027
|
|
|
1911
|
-
// src/theme/
|
|
1912
|
-
function buildShadows(tokens) {
|
|
1913
|
-
const tokenShadows = tokens.shadows;
|
|
1914
|
-
return [
|
|
1915
|
-
"none",
|
|
1916
|
-
// 0
|
|
1917
|
-
tokenShadows.xs,
|
|
1918
|
-
// 1
|
|
1919
|
-
tokenShadows.sm,
|
|
1920
|
-
// 2
|
|
1921
|
-
tokenShadows.sm,
|
|
1922
|
-
// 3
|
|
1923
|
-
tokenShadows.md,
|
|
1924
|
-
// 4
|
|
1925
|
-
tokenShadows.md,
|
|
1926
|
-
// 5
|
|
1927
|
-
tokenShadows.md,
|
|
1928
|
-
// 6
|
|
1929
|
-
tokenShadows.lg,
|
|
1930
|
-
// 7
|
|
1931
|
-
tokenShadows.lg,
|
|
1932
|
-
// 8
|
|
1933
|
-
tokenShadows.lg,
|
|
1934
|
-
// 9
|
|
1935
|
-
tokenShadows.xl,
|
|
1936
|
-
// 10
|
|
1937
|
-
tokenShadows.xl,
|
|
1938
|
-
// 11
|
|
1939
|
-
tokenShadows.xl,
|
|
1940
|
-
// 12
|
|
1941
|
-
tokenShadows["2xl"],
|
|
1942
|
-
// 13
|
|
1943
|
-
tokenShadows["2xl"],
|
|
1944
|
-
// 14
|
|
1945
|
-
tokenShadows["2xl"],
|
|
1946
|
-
// 15
|
|
1947
|
-
tokenShadows["3xl"],
|
|
1948
|
-
// 16
|
|
1949
|
-
tokenShadows["3xl"],
|
|
1950
|
-
// 17
|
|
1951
|
-
tokenShadows["3xl"],
|
|
1952
|
-
// 18
|
|
1953
|
-
tokenShadows["3xl"],
|
|
1954
|
-
// 19
|
|
1955
|
-
tokenShadows["3xl"],
|
|
1956
|
-
// 20
|
|
1957
|
-
tokenShadows["3xl"],
|
|
1958
|
-
// 21
|
|
1959
|
-
tokenShadows["3xl"],
|
|
1960
|
-
// 22
|
|
1961
|
-
tokenShadows["3xl"],
|
|
1962
|
-
// 23
|
|
1963
|
-
tokenShadows["3xl"]
|
|
1964
|
-
// 24
|
|
1965
|
-
];
|
|
1966
|
-
}
|
|
1967
|
-
var shadows2 = buildShadows({
|
|
1968
|
-
shadows
|
|
1969
|
-
});
|
|
2028
|
+
// src/theme/buildTheme.ts
|
|
1970
2029
|
function buildThemeOptions(tokens) {
|
|
1971
2030
|
return {
|
|
1972
2031
|
palette: buildPalette(tokens),
|
|
@@ -1982,57 +2041,9 @@ function buildTheme(tokens) {
|
|
|
1982
2041
|
return styles.createTheme(buildThemeOptions(tokens));
|
|
1983
2042
|
}
|
|
1984
2043
|
|
|
1985
|
-
// src/theme/presets/forest.ts
|
|
1986
|
-
var forestPreset = {
|
|
1987
|
-
name: "forest",
|
|
1988
|
-
defaultVariant: "light",
|
|
1989
|
-
variants: {
|
|
1990
|
-
light: {
|
|
1991
|
-
tokens: {
|
|
1992
|
-
colors,
|
|
1993
|
-
spacing,
|
|
1994
|
-
radius,
|
|
1995
|
-
shadows,
|
|
1996
|
-
focusRings,
|
|
1997
|
-
fontFamily,
|
|
1998
|
-
fontSize,
|
|
1999
|
-
lineHeight,
|
|
2000
|
-
fontWeight,
|
|
2001
|
-
display,
|
|
2002
|
-
container,
|
|
2003
|
-
widths,
|
|
2004
|
-
text,
|
|
2005
|
-
bg,
|
|
2006
|
-
fg,
|
|
2007
|
-
border,
|
|
2008
|
-
buttonColors,
|
|
2009
|
-
avatarColors,
|
|
2010
|
-
breadcrumbColors,
|
|
2011
|
-
iconColors,
|
|
2012
|
-
navColors,
|
|
2013
|
-
sliderColors,
|
|
2014
|
-
toggleColors,
|
|
2015
|
-
chartColors,
|
|
2016
|
-
alpha
|
|
2017
|
-
}
|
|
2018
|
-
}
|
|
2019
|
-
}
|
|
2020
|
-
};
|
|
2021
|
-
|
|
2022
|
-
// src/theme/presets/alkemy-plus.ts
|
|
2023
|
-
var red = {
|
|
2024
|
-
50: "#fef2f2",
|
|
2025
|
-
200: "#fecaca",
|
|
2026
|
-
600: "#dc2626",
|
|
2027
|
-
700: "#b91c1c",
|
|
2028
|
-
800: "#991b1b",
|
|
2029
|
-
900: "#7f1d1d"};
|
|
2044
|
+
// src/theme/presets/forest-external.ts
|
|
2030
2045
|
var colors2 = {
|
|
2031
|
-
|
|
2032
|
-
white: "#ffffff",
|
|
2033
|
-
black: "#000000",
|
|
2034
|
-
transparent: "#ffffff00"
|
|
2035
|
-
},
|
|
2046
|
+
...colors,
|
|
2036
2047
|
/** Brand scale — black-based for primary actions */
|
|
2037
2048
|
brand: {
|
|
2038
2049
|
25: "#fafafa",
|
|
@@ -2062,36 +2073,7 @@ var colors2 = {
|
|
|
2062
2073
|
800: "#27272a",
|
|
2063
2074
|
900: "#18181b",
|
|
2064
2075
|
950: "#09090b"
|
|
2065
|
-
}
|
|
2066
|
-
/** Error — forest defaults (standard UX red) */
|
|
2067
|
-
error: colors.error,
|
|
2068
|
-
/** Warning — orange/yellow tones from Alkemy+ palette */
|
|
2069
|
-
warning: {
|
|
2070
|
-
25: "#fffcf5",
|
|
2071
|
-
50: "#fff7ed",
|
|
2072
|
-
100: "#ffedd5",
|
|
2073
|
-
200: "#fed7aa",
|
|
2074
|
-
300: "#fdba74",
|
|
2075
|
-
400: "#fb923c",
|
|
2076
|
-
500: "#f08828",
|
|
2077
|
-
600: "#ea580c",
|
|
2078
|
-
700: "#c2410c",
|
|
2079
|
-
800: "#9a3412",
|
|
2080
|
-
900: "#7c2d12",
|
|
2081
|
-
950: "#431407"
|
|
2082
|
-
},
|
|
2083
|
-
/** Success — forest defaults (standard UX green) */
|
|
2084
|
-
success: colors.success,
|
|
2085
|
-
/** Blue (info) — forest defaults (standard UX) */
|
|
2086
|
-
blue: colors.blue,
|
|
2087
|
-
teal: colors.teal,
|
|
2088
|
-
orange: colors.orange,
|
|
2089
|
-
purple: colors.purple,
|
|
2090
|
-
pink: colors.pink,
|
|
2091
|
-
fuchsia: colors.fuchsia,
|
|
2092
|
-
orangeDark: colors.orangeDark,
|
|
2093
|
-
green: colors.green,
|
|
2094
|
-
indigo: colors.indigo
|
|
2076
|
+
}
|
|
2095
2077
|
};
|
|
2096
2078
|
var radius2 = {
|
|
2097
2079
|
...radius,
|
|
@@ -2116,10 +2098,10 @@ var text2 = {
|
|
|
2116
2098
|
placeholder: colors2.gray[500],
|
|
2117
2099
|
placeholderSubtle: colors2.gray[300],
|
|
2118
2100
|
white: colors2.base.white,
|
|
2119
|
-
brandPrimary:
|
|
2120
|
-
brandSecondary:
|
|
2121
|
-
brandTertiary:
|
|
2122
|
-
brandTertiaryAlt:
|
|
2101
|
+
brandPrimary: colors2.brand[900],
|
|
2102
|
+
brandSecondary: colors2.brand[700],
|
|
2103
|
+
brandTertiary: colors2.brand[600],
|
|
2104
|
+
brandTertiaryAlt: colors2.brand[600],
|
|
2123
2105
|
primaryOnBrand: colors2.base.white,
|
|
2124
2106
|
secondaryOnBrand: colors2.brand[200],
|
|
2125
2107
|
tertiaryOnBrand: colors2.brand[200],
|
|
@@ -2131,22 +2113,22 @@ var text2 = {
|
|
|
2131
2113
|
var bg2 = {
|
|
2132
2114
|
primary: colors2.gray[50],
|
|
2133
2115
|
primaryAlt: colors2.gray[50],
|
|
2134
|
-
primaryHover: colors2.gray[
|
|
2116
|
+
primaryHover: colors2.gray[100],
|
|
2135
2117
|
primarySolid: colors2.gray[950],
|
|
2136
2118
|
secondary: colors2.base.white,
|
|
2137
2119
|
secondaryAlt: colors2.base.white,
|
|
2138
2120
|
secondarySubtle: colors2.gray[25],
|
|
2139
|
-
secondaryHover: colors2.gray[
|
|
2121
|
+
secondaryHover: colors2.gray[50],
|
|
2140
2122
|
secondarySolid: colors2.gray[600],
|
|
2141
2123
|
tertiary: colors2.gray[100],
|
|
2142
2124
|
quaternary: colors2.gray[200],
|
|
2143
|
-
active: colors2.gray[
|
|
2125
|
+
active: colors2.gray[200],
|
|
2144
2126
|
disabled: colors2.gray[100],
|
|
2145
2127
|
disabledSubtle: colors2.gray[50],
|
|
2146
2128
|
overlay: colors2.gray[950],
|
|
2147
|
-
brandPrimary: colors2.brand[
|
|
2148
|
-
brandPrimaryAlt: colors2.brand[
|
|
2149
|
-
brandSecondary: colors2.brand[
|
|
2129
|
+
brandPrimary: colors2.brand[50],
|
|
2130
|
+
brandPrimaryAlt: colors2.brand[50],
|
|
2131
|
+
brandSecondary: colors2.brand[100],
|
|
2150
2132
|
brandSolid: colors2.brand[600],
|
|
2151
2133
|
brandSolidHover: colors2.brand[700],
|
|
2152
2134
|
brandSection: colors2.brand[800],
|
|
@@ -2198,7 +2180,6 @@ var border2 = {
|
|
|
2198
2180
|
errorSolid: colors2.error[600]
|
|
2199
2181
|
};
|
|
2200
2182
|
var buttonColors2 = {
|
|
2201
|
-
/** Primary buttons — black */
|
|
2202
2183
|
primary: {
|
|
2203
2184
|
bg: colors2.brand[600],
|
|
2204
2185
|
bgHover: colors2.brand[700],
|
|
@@ -2215,7 +2196,6 @@ var buttonColors2 = {
|
|
|
2215
2196
|
border: colors2.gray[300],
|
|
2216
2197
|
borderHover: colors2.gray[300]
|
|
2217
2198
|
},
|
|
2218
|
-
/** Outlined accent buttons — dark */
|
|
2219
2199
|
secondaryColor: {
|
|
2220
2200
|
bg: colors2.base.white,
|
|
2221
2201
|
bgHover: colors2.brand[50],
|
|
@@ -2229,11 +2209,10 @@ var buttonColors2 = {
|
|
|
2229
2209
|
fgHover: colors2.gray[700],
|
|
2230
2210
|
bgHover: colors2.gray[50]
|
|
2231
2211
|
},
|
|
2232
|
-
/** Text accent buttons — red */
|
|
2233
2212
|
tertiaryColor: {
|
|
2234
|
-
fg:
|
|
2235
|
-
fgHover:
|
|
2236
|
-
bgHover:
|
|
2213
|
+
fg: colors2.brand[700],
|
|
2214
|
+
fgHover: colors2.brand[800],
|
|
2215
|
+
bgHover: colors2.brand[50]
|
|
2237
2216
|
},
|
|
2238
2217
|
primaryError: {
|
|
2239
2218
|
bg: colors2.error[600],
|
|
@@ -2262,22 +2241,23 @@ var avatarColors2 = {
|
|
|
2262
2241
|
contrastBorder: "#00000014",
|
|
2263
2242
|
profilePhotoBorder: colors2.base.white,
|
|
2264
2243
|
focusBorder: "#a0a0a624"
|
|
2244
|
+
// gray[400] + 14% alpha
|
|
2265
2245
|
};
|
|
2266
2246
|
var breadcrumbColors2 = {
|
|
2267
2247
|
fg: colors2.gray[600],
|
|
2268
2248
|
fgHover: colors2.gray[700],
|
|
2269
2249
|
bgHover: colors2.gray[50],
|
|
2270
|
-
brandBgHover:
|
|
2271
|
-
brandFgHover:
|
|
2250
|
+
brandBgHover: colors2.brand[50],
|
|
2251
|
+
brandFgHover: colors2.brand[700],
|
|
2272
2252
|
iconFg: colors2.gray[500],
|
|
2273
2253
|
iconFgHover: colors2.gray[700],
|
|
2274
|
-
brandIconFgHover:
|
|
2254
|
+
brandIconFgHover: colors2.brand[700]
|
|
2275
2255
|
};
|
|
2276
2256
|
var iconColors2 = {
|
|
2277
|
-
fgBrand:
|
|
2278
|
-
fgBrandOnBrand:
|
|
2257
|
+
fgBrand: colors2.brand[600],
|
|
2258
|
+
fgBrandOnBrand: colors2.brand[200],
|
|
2279
2259
|
featuredModernBorder: colors2.gray[200],
|
|
2280
|
-
featuredLightFgBrand:
|
|
2260
|
+
featuredLightFgBrand: colors2.brand[600],
|
|
2281
2261
|
featuredLightFgGray: colors2.gray[500],
|
|
2282
2262
|
featuredLightFgError: colors2.error[600],
|
|
2283
2263
|
featuredLightFgWarning: colors2.warning[600],
|
|
@@ -2290,19 +2270,19 @@ var iconColors2 = {
|
|
|
2290
2270
|
};
|
|
2291
2271
|
var navColors2 = {
|
|
2292
2272
|
itemIconFg: colors2.gray[500],
|
|
2293
|
-
itemIconFgActive: colors2.gray[
|
|
2273
|
+
itemIconFgActive: colors2.gray[700],
|
|
2294
2274
|
itemButtonIconFg: colors2.gray[500],
|
|
2295
2275
|
itemButtonIconFgActive: colors2.gray[700]
|
|
2296
2276
|
};
|
|
2297
2277
|
var sliderColors2 = {
|
|
2298
|
-
handleBorder:
|
|
2278
|
+
handleBorder: colors2.brand[600],
|
|
2299
2279
|
handleBg: colors2.base.white
|
|
2300
2280
|
};
|
|
2301
2281
|
var toggleColors2 = {
|
|
2302
2282
|
buttonFgDisabled: colors2.gray[50]
|
|
2303
2283
|
};
|
|
2304
2284
|
var chartColors2 = {
|
|
2305
|
-
axisFg: colors2.gray[
|
|
2285
|
+
axisFg: colors2.gray[100],
|
|
2306
2286
|
gridlineFg: colors2.gray[100],
|
|
2307
2287
|
labelFg: colors2.gray[600],
|
|
2308
2288
|
labelFgEmphasis: colors2.gray[700],
|
|
@@ -2312,60 +2292,33 @@ var chartColors2 = {
|
|
|
2312
2292
|
tooltipFg: colors2.base.white,
|
|
2313
2293
|
crosshairFg: colors2.gray[500],
|
|
2314
2294
|
legendFg: text2.tertiary,
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
]
|
|
2329
|
-
vibrant: [
|
|
2330
|
-
"#6B38FB",
|
|
2331
|
-
"#E85B22",
|
|
2332
|
-
"#4AABFF",
|
|
2333
|
-
"#E83B1A",
|
|
2334
|
-
"#E02088"
|
|
2335
|
-
],
|
|
2336
|
-
series6Fg: colors2.brand[400],
|
|
2337
|
-
series6FgHover: colors2.brand[500],
|
|
2338
|
-
series6Bg: colors2.brand[100],
|
|
2339
|
-
series6BgHover: colors2.brand[200],
|
|
2340
|
-
series7Fg: colors2.fuchsia[600],
|
|
2341
|
-
series7FgHover: colors2.fuchsia[700],
|
|
2342
|
-
series7Bg: colors2.fuchsia[100],
|
|
2343
|
-
series7BgHover: colors2.fuchsia[200],
|
|
2344
|
-
series8Fg: colors2.teal[600],
|
|
2345
|
-
series8FgHover: colors2.teal[700],
|
|
2346
|
-
series8Bg: colors2.teal[100],
|
|
2347
|
-
series8BgHover: colors2.teal[200],
|
|
2348
|
-
series9Fg: colors2.indigo[600],
|
|
2349
|
-
series9FgHover: colors2.indigo[700],
|
|
2350
|
-
series9Bg: colors2.indigo[100],
|
|
2351
|
-
series9BgHover: colors2.indigo[200],
|
|
2352
|
-
series10Fg: colors2.green[600],
|
|
2353
|
-
series10FgHover: colors2.green[700],
|
|
2354
|
-
series10Bg: colors2.green[100],
|
|
2355
|
-
series10BgHover: colors2.green[200]
|
|
2295
|
+
series: [
|
|
2296
|
+
{ fg: colors2.violet[500], fgHover: colors2.violet[600], bg: colors2.violet[100], bgHover: colors2.violet[200] },
|
|
2297
|
+
{ fg: colors2.orangeDark[400], fgHover: colors2.orangeDark[500], bg: colors2.orangeDark[100], bgHover: colors2.orangeDark[200] },
|
|
2298
|
+
{ fg: colors2.teal[300], fgHover: colors2.teal[400], bg: colors2.teal[50], bgHover: colors2.teal[100] },
|
|
2299
|
+
{ fg: colors2.warning[400], fgHover: colors2.warning[500], bg: colors2.warning[100], bgHover: colors2.warning[200] },
|
|
2300
|
+
{ fg: colors2.rose[400], fgHover: colors2.rose[500], bg: colors2.rose[100], bgHover: colors2.rose[200] },
|
|
2301
|
+
{ fg: colors2.blueLight[400], fgHover: colors2.blueLight[500], bg: colors2.blueLight[100], bgHover: colors2.blueLight[200] },
|
|
2302
|
+
{ fg: colors2.orange[300], fgHover: colors2.orange[400], bg: colors2.orange[100], bgHover: colors2.orange[200] },
|
|
2303
|
+
{ fg: colors2.cyan[600], fgHover: colors2.cyan[700], bg: colors2.cyan[100], bgHover: colors2.cyan[200] },
|
|
2304
|
+
{ fg: colors2.green[500], fgHover: colors2.green[600], bg: colors2.green[100], bgHover: colors2.green[200] },
|
|
2305
|
+
{ fg: colors2.pink[400], fgHover: colors2.pink[500], bg: colors2.pink[100], bgHover: colors2.pink[200] },
|
|
2306
|
+
{ fg: colors2.fuchsia[400], fgHover: colors2.fuchsia[500], bg: colors2.fuchsia[100], bgHover: colors2.fuchsia[200] },
|
|
2307
|
+
{ fg: colors2.teal[600], fgHover: colors2.teal[700], bg: colors2.teal[100], bgHover: colors2.teal[200] }
|
|
2308
|
+
]
|
|
2356
2309
|
};
|
|
2357
2310
|
var focusRings2 = {
|
|
2358
|
-
brand: "0px 0px 0px 4px #
|
|
2359
|
-
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #
|
|
2360
|
-
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #
|
|
2311
|
+
brand: "0px 0px 0px 4px #4040403d",
|
|
2312
|
+
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #4040403d",
|
|
2313
|
+
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #4040403d",
|
|
2361
2314
|
gray: "0px 0px 0px 4px #a0a0a624",
|
|
2362
2315
|
grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
|
|
2363
2316
|
grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
|
|
2364
2317
|
error: "0px 0px 0px 4px #f044383d",
|
|
2365
2318
|
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
2366
2319
|
};
|
|
2367
|
-
var
|
|
2368
|
-
name: "
|
|
2320
|
+
var forestExternalPreset = {
|
|
2321
|
+
name: "forest-external",
|
|
2369
2322
|
defaultVariant: "light",
|
|
2370
2323
|
variants: {
|
|
2371
2324
|
light: {
|
|
@@ -2400,10 +2353,635 @@ var alkemyPlusPreset = {
|
|
|
2400
2353
|
}
|
|
2401
2354
|
};
|
|
2402
2355
|
|
|
2356
|
+
// src/theme/presets/forest-agency.ts
|
|
2357
|
+
var colors3 = {
|
|
2358
|
+
...colors,
|
|
2359
|
+
/** Brand scale — black-based for primary actions */
|
|
2360
|
+
brand: {
|
|
2361
|
+
25: "#fafafa",
|
|
2362
|
+
50: "#f5f5f5",
|
|
2363
|
+
100: "#ebebeb",
|
|
2364
|
+
200: "#d6d6d6",
|
|
2365
|
+
300: "#b0b0b0",
|
|
2366
|
+
400: "#737373",
|
|
2367
|
+
500: "#404040",
|
|
2368
|
+
600: "#1a1a1a",
|
|
2369
|
+
700: "#0d0d0d",
|
|
2370
|
+
800: "#050505",
|
|
2371
|
+
900: "#000000",
|
|
2372
|
+
950: "#000000"
|
|
2373
|
+
},
|
|
2374
|
+
/** Warm-neutral gray scale */
|
|
2375
|
+
gray: {
|
|
2376
|
+
25: "#fdfcfc",
|
|
2377
|
+
50: "#faf9f8",
|
|
2378
|
+
100: "#f5f3f1",
|
|
2379
|
+
200: "#e8e5e3",
|
|
2380
|
+
300: "#d8d8dc",
|
|
2381
|
+
400: "#a0a0a6",
|
|
2382
|
+
500: "#71717a",
|
|
2383
|
+
600: "#52525b",
|
|
2384
|
+
700: "#3f3f46",
|
|
2385
|
+
800: "#27272a",
|
|
2386
|
+
900: "#18181b",
|
|
2387
|
+
950: "#09090b"
|
|
2388
|
+
}
|
|
2389
|
+
};
|
|
2390
|
+
var radius3 = {
|
|
2391
|
+
...radius,
|
|
2392
|
+
xxs: 1,
|
|
2393
|
+
xs: 2,
|
|
2394
|
+
sm: 3,
|
|
2395
|
+
md: 4,
|
|
2396
|
+
lg: 5,
|
|
2397
|
+
xl: 6,
|
|
2398
|
+
"2xl": 8,
|
|
2399
|
+
"3xl": 10,
|
|
2400
|
+
"4xl": 12
|
|
2401
|
+
};
|
|
2402
|
+
var text3 = {
|
|
2403
|
+
primary: colors3.gray[900],
|
|
2404
|
+
secondary: colors3.gray[700],
|
|
2405
|
+
secondaryHover: colors3.gray[800],
|
|
2406
|
+
tertiary: colors3.gray[600],
|
|
2407
|
+
tertiaryHover: colors3.gray[700],
|
|
2408
|
+
quaternary: colors3.gray[500],
|
|
2409
|
+
disabled: colors3.gray[500],
|
|
2410
|
+
placeholder: colors3.gray[500],
|
|
2411
|
+
placeholderSubtle: colors3.gray[300],
|
|
2412
|
+
white: colors3.base.white,
|
|
2413
|
+
brandPrimary: colors3.brand[900],
|
|
2414
|
+
brandSecondary: colors3.brand[700],
|
|
2415
|
+
brandTertiary: colors3.brand[600],
|
|
2416
|
+
brandTertiaryAlt: colors3.brand[600],
|
|
2417
|
+
primaryOnBrand: colors3.base.white,
|
|
2418
|
+
secondaryOnBrand: colors3.brand[200],
|
|
2419
|
+
tertiaryOnBrand: colors3.brand[200],
|
|
2420
|
+
quaternaryOnBrand: colors3.brand[300],
|
|
2421
|
+
errorPrimary: colors3.error[600],
|
|
2422
|
+
warningPrimary: colors3.warning[600],
|
|
2423
|
+
successPrimary: colors3.success[600]
|
|
2424
|
+
};
|
|
2425
|
+
var bg3 = {
|
|
2426
|
+
primary: colors3.gray[50],
|
|
2427
|
+
primaryAlt: colors3.gray[50],
|
|
2428
|
+
primaryHover: colors3.gray[100],
|
|
2429
|
+
primarySolid: colors3.gray[950],
|
|
2430
|
+
secondary: colors3.base.white,
|
|
2431
|
+
secondaryAlt: colors3.base.white,
|
|
2432
|
+
secondarySubtle: colors3.gray[25],
|
|
2433
|
+
secondaryHover: colors3.gray[50],
|
|
2434
|
+
secondarySolid: colors3.gray[600],
|
|
2435
|
+
tertiary: colors3.gray[100],
|
|
2436
|
+
quaternary: colors3.gray[200],
|
|
2437
|
+
active: colors3.gray[200],
|
|
2438
|
+
disabled: colors3.gray[100],
|
|
2439
|
+
disabledSubtle: colors3.gray[50],
|
|
2440
|
+
overlay: colors3.gray[950],
|
|
2441
|
+
brandPrimary: colors3.brand[50],
|
|
2442
|
+
brandPrimaryAlt: colors3.brand[50],
|
|
2443
|
+
brandSecondary: colors3.brand[100],
|
|
2444
|
+
brandSolid: colors3.brand[600],
|
|
2445
|
+
brandSolidHover: colors3.brand[700],
|
|
2446
|
+
brandSection: colors3.brand[800],
|
|
2447
|
+
brandSectionSubtle: colors3.brand[700],
|
|
2448
|
+
errorPrimary: colors3.error[50],
|
|
2449
|
+
errorSecondary: colors3.error[100],
|
|
2450
|
+
errorSolid: colors3.error[600],
|
|
2451
|
+
warningPrimary: colors3.warning[50],
|
|
2452
|
+
warningSecondary: colors3.warning[100],
|
|
2453
|
+
warningSolid: colors3.warning[600],
|
|
2454
|
+
successPrimary: colors3.success[50],
|
|
2455
|
+
successSecondary: colors3.success[100],
|
|
2456
|
+
successSolid: colors3.success[600]
|
|
2457
|
+
};
|
|
2458
|
+
var fg3 = {
|
|
2459
|
+
primary: colors3.gray[900],
|
|
2460
|
+
secondary: colors3.gray[700],
|
|
2461
|
+
secondaryHover: colors3.gray[800],
|
|
2462
|
+
tertiary: colors3.gray[600],
|
|
2463
|
+
tertiaryHover: colors3.gray[700],
|
|
2464
|
+
quaternary: colors3.gray[500],
|
|
2465
|
+
quaternaryHover: colors3.gray[600],
|
|
2466
|
+
quinary: colors3.gray[400],
|
|
2467
|
+
quinaryHover: colors3.gray[500],
|
|
2468
|
+
senary: colors3.gray[300],
|
|
2469
|
+
white: colors3.base.white,
|
|
2470
|
+
disabled: colors3.gray[400],
|
|
2471
|
+
disabledSubtle: colors3.gray[300],
|
|
2472
|
+
brandPrimary: colors3.brand[600],
|
|
2473
|
+
brandPrimaryAlt: colors3.brand[600],
|
|
2474
|
+
brandSecondary: colors3.brand[500],
|
|
2475
|
+
errorPrimary: colors3.error[600],
|
|
2476
|
+
errorSecondary: colors3.error[500],
|
|
2477
|
+
warningPrimary: colors3.warning[600],
|
|
2478
|
+
warningSecondary: colors3.warning[500],
|
|
2479
|
+
successPrimary: colors3.success[600],
|
|
2480
|
+
successSecondary: colors3.success[500]
|
|
2481
|
+
};
|
|
2482
|
+
var border3 = {
|
|
2483
|
+
primary: colors3.gray[300],
|
|
2484
|
+
secondary: colors3.gray[200],
|
|
2485
|
+
tertiary: colors3.gray[100],
|
|
2486
|
+
disabled: colors3.gray[300],
|
|
2487
|
+
disabledSubtle: colors3.gray[200],
|
|
2488
|
+
brand: colors3.brand[300],
|
|
2489
|
+
brandSolid: colors3.brand[600],
|
|
2490
|
+
brandSolidAlt: colors3.brand[600],
|
|
2491
|
+
error: colors3.error[300],
|
|
2492
|
+
errorSolid: colors3.error[600]
|
|
2493
|
+
};
|
|
2494
|
+
var buttonColors3 = {
|
|
2495
|
+
primary: {
|
|
2496
|
+
bg: colors3.brand[600],
|
|
2497
|
+
bgHover: colors3.brand[700],
|
|
2498
|
+
fg: colors3.base.white,
|
|
2499
|
+
fgHover: colors3.base.white,
|
|
2500
|
+
border: colors3.brand[600],
|
|
2501
|
+
borderHover: colors3.brand[700]
|
|
2502
|
+
},
|
|
2503
|
+
secondary: {
|
|
2504
|
+
bg: colors3.base.white,
|
|
2505
|
+
bgHover: colors3.gray[50],
|
|
2506
|
+
fg: colors3.gray[700],
|
|
2507
|
+
fgHover: colors3.gray[800],
|
|
2508
|
+
border: colors3.gray[300],
|
|
2509
|
+
borderHover: colors3.gray[300]
|
|
2510
|
+
},
|
|
2511
|
+
secondaryColor: {
|
|
2512
|
+
bg: colors3.base.white,
|
|
2513
|
+
bgHover: colors3.brand[50],
|
|
2514
|
+
fg: colors3.brand[700],
|
|
2515
|
+
fgHover: colors3.brand[800],
|
|
2516
|
+
border: colors3.brand[300],
|
|
2517
|
+
borderHover: colors3.brand[300]
|
|
2518
|
+
},
|
|
2519
|
+
tertiary: {
|
|
2520
|
+
fg: colors3.gray[600],
|
|
2521
|
+
fgHover: colors3.gray[700],
|
|
2522
|
+
bgHover: colors3.gray[50]
|
|
2523
|
+
},
|
|
2524
|
+
tertiaryColor: {
|
|
2525
|
+
fg: colors3.brand[700],
|
|
2526
|
+
fgHover: colors3.brand[800],
|
|
2527
|
+
bgHover: colors3.brand[50]
|
|
2528
|
+
},
|
|
2529
|
+
primaryError: {
|
|
2530
|
+
bg: colors3.error[600],
|
|
2531
|
+
bgHover: colors3.error[700],
|
|
2532
|
+
fg: colors3.base.white,
|
|
2533
|
+
fgHover: colors3.base.white,
|
|
2534
|
+
border: colors3.error[600],
|
|
2535
|
+
borderHover: colors3.error[700]
|
|
2536
|
+
},
|
|
2537
|
+
secondaryError: {
|
|
2538
|
+
bg: colors3.base.white,
|
|
2539
|
+
bgHover: colors3.error[50],
|
|
2540
|
+
fg: colors3.error[700],
|
|
2541
|
+
fgHover: colors3.error[800],
|
|
2542
|
+
border: colors3.error[300],
|
|
2543
|
+
borderHover: colors3.error[300]
|
|
2544
|
+
},
|
|
2545
|
+
tertiaryError: {
|
|
2546
|
+
fg: colors3.error[700],
|
|
2547
|
+
fgHover: colors3.error[800],
|
|
2548
|
+
bgHover: colors3.error[50]
|
|
2549
|
+
}
|
|
2550
|
+
};
|
|
2551
|
+
var avatarColors3 = {
|
|
2552
|
+
bg: colors3.gray[100],
|
|
2553
|
+
contrastBorder: "#00000014",
|
|
2554
|
+
profilePhotoBorder: colors3.base.white,
|
|
2555
|
+
focusBorder: "#a0a0a624"
|
|
2556
|
+
// gray[400] + 14% alpha
|
|
2557
|
+
};
|
|
2558
|
+
var breadcrumbColors3 = {
|
|
2559
|
+
fg: colors3.gray[600],
|
|
2560
|
+
fgHover: colors3.gray[700],
|
|
2561
|
+
bgHover: colors3.gray[50],
|
|
2562
|
+
brandBgHover: colors3.brand[50],
|
|
2563
|
+
brandFgHover: colors3.brand[700],
|
|
2564
|
+
iconFg: colors3.gray[500],
|
|
2565
|
+
iconFgHover: colors3.gray[700],
|
|
2566
|
+
brandIconFgHover: colors3.brand[700]
|
|
2567
|
+
};
|
|
2568
|
+
var iconColors3 = {
|
|
2569
|
+
fgBrand: colors3.brand[600],
|
|
2570
|
+
fgBrandOnBrand: colors3.brand[200],
|
|
2571
|
+
featuredModernBorder: colors3.gray[200],
|
|
2572
|
+
featuredLightFgBrand: colors3.brand[600],
|
|
2573
|
+
featuredLightFgGray: colors3.gray[500],
|
|
2574
|
+
featuredLightFgError: colors3.error[600],
|
|
2575
|
+
featuredLightFgWarning: colors3.warning[600],
|
|
2576
|
+
featuredLightFgSuccess: colors3.success[600],
|
|
2577
|
+
featuredDarkFgBrand: colors3.base.white,
|
|
2578
|
+
featuredDarkFgGray: colors3.base.white,
|
|
2579
|
+
featuredDarkFgError: colors3.base.white,
|
|
2580
|
+
featuredDarkFgWarning: colors3.base.white,
|
|
2581
|
+
featuredDarkFgSuccess: colors3.base.white
|
|
2582
|
+
};
|
|
2583
|
+
var navColors3 = {
|
|
2584
|
+
itemIconFg: colors3.gray[500],
|
|
2585
|
+
itemIconFgActive: colors3.gray[700],
|
|
2586
|
+
itemButtonIconFg: colors3.gray[500],
|
|
2587
|
+
itemButtonIconFgActive: colors3.gray[700]
|
|
2588
|
+
};
|
|
2589
|
+
var sliderColors3 = {
|
|
2590
|
+
handleBorder: colors3.brand[600],
|
|
2591
|
+
handleBg: colors3.base.white
|
|
2592
|
+
};
|
|
2593
|
+
var toggleColors3 = {
|
|
2594
|
+
buttonFgDisabled: colors3.gray[50]
|
|
2595
|
+
};
|
|
2596
|
+
var chartColors3 = {
|
|
2597
|
+
axisFg: colors3.gray[100],
|
|
2598
|
+
gridlineFg: colors3.gray[100],
|
|
2599
|
+
labelFg: colors3.gray[600],
|
|
2600
|
+
labelFgEmphasis: colors3.gray[700],
|
|
2601
|
+
bg: colors3.base.white,
|
|
2602
|
+
bgAlt: colors3.gray[50],
|
|
2603
|
+
tooltipBg: colors3.gray[950],
|
|
2604
|
+
tooltipFg: colors3.base.white,
|
|
2605
|
+
crosshairFg: colors3.gray[500],
|
|
2606
|
+
legendFg: text3.tertiary,
|
|
2607
|
+
series: [
|
|
2608
|
+
{ fg: colors3.violet[500], fgHover: colors3.violet[600], bg: colors3.violet[100], bgHover: colors3.violet[200] },
|
|
2609
|
+
{ fg: colors3.orangeDark[400], fgHover: colors3.orangeDark[500], bg: colors3.orangeDark[100], bgHover: colors3.orangeDark[200] },
|
|
2610
|
+
{ fg: colors3.teal[300], fgHover: colors3.teal[400], bg: colors3.teal[50], bgHover: colors3.teal[100] },
|
|
2611
|
+
{ fg: colors3.warning[400], fgHover: colors3.warning[500], bg: colors3.warning[100], bgHover: colors3.warning[200] },
|
|
2612
|
+
{ fg: colors3.rose[400], fgHover: colors3.rose[500], bg: colors3.rose[100], bgHover: colors3.rose[200] },
|
|
2613
|
+
{ fg: colors3.blueLight[400], fgHover: colors3.blueLight[500], bg: colors3.blueLight[100], bgHover: colors3.blueLight[200] },
|
|
2614
|
+
{ fg: colors3.orange[300], fgHover: colors3.orange[400], bg: colors3.orange[100], bgHover: colors3.orange[200] },
|
|
2615
|
+
{ fg: colors3.cyan[600], fgHover: colors3.cyan[700], bg: colors3.cyan[100], bgHover: colors3.cyan[200] },
|
|
2616
|
+
{ fg: colors3.green[500], fgHover: colors3.green[600], bg: colors3.green[100], bgHover: colors3.green[200] },
|
|
2617
|
+
{ fg: colors3.pink[400], fgHover: colors3.pink[500], bg: colors3.pink[100], bgHover: colors3.pink[200] },
|
|
2618
|
+
{ fg: colors3.fuchsia[400], fgHover: colors3.fuchsia[500], bg: colors3.fuchsia[100], bgHover: colors3.fuchsia[200] },
|
|
2619
|
+
{ fg: colors3.teal[600], fgHover: colors3.teal[700], bg: colors3.teal[100], bgHover: colors3.teal[200] }
|
|
2620
|
+
]
|
|
2621
|
+
};
|
|
2622
|
+
var focusRings3 = {
|
|
2623
|
+
brand: "0px 0px 0px 4px #4040403d",
|
|
2624
|
+
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #4040403d",
|
|
2625
|
+
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #4040403d",
|
|
2626
|
+
gray: "0px 0px 0px 4px #a0a0a624",
|
|
2627
|
+
grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
|
|
2628
|
+
grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
|
|
2629
|
+
error: "0px 0px 0px 4px #f044383d",
|
|
2630
|
+
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
2631
|
+
};
|
|
2632
|
+
var forestAgencyPreset = {
|
|
2633
|
+
name: "forest-agency",
|
|
2634
|
+
defaultVariant: "light",
|
|
2635
|
+
variants: {
|
|
2636
|
+
light: {
|
|
2637
|
+
tokens: {
|
|
2638
|
+
colors: colors3,
|
|
2639
|
+
spacing,
|
|
2640
|
+
radius: radius3,
|
|
2641
|
+
shadows,
|
|
2642
|
+
focusRings: focusRings3,
|
|
2643
|
+
fontFamily: '"Aeonik", sans-serif',
|
|
2644
|
+
fontSize,
|
|
2645
|
+
lineHeight,
|
|
2646
|
+
fontWeight,
|
|
2647
|
+
display,
|
|
2648
|
+
container,
|
|
2649
|
+
widths,
|
|
2650
|
+
text: text3,
|
|
2651
|
+
bg: bg3,
|
|
2652
|
+
fg: fg3,
|
|
2653
|
+
border: border3,
|
|
2654
|
+
buttonColors: buttonColors3,
|
|
2655
|
+
avatarColors: avatarColors3,
|
|
2656
|
+
breadcrumbColors: breadcrumbColors3,
|
|
2657
|
+
iconColors: iconColors3,
|
|
2658
|
+
navColors: navColors3,
|
|
2659
|
+
sliderColors: sliderColors3,
|
|
2660
|
+
toggleColors: toggleColors3,
|
|
2661
|
+
chartColors: chartColors3,
|
|
2662
|
+
alpha
|
|
2663
|
+
}
|
|
2664
|
+
}
|
|
2665
|
+
}
|
|
2666
|
+
};
|
|
2667
|
+
|
|
2668
|
+
// src/theme/presets/forest-internal.ts
|
|
2669
|
+
var colors4 = {
|
|
2670
|
+
...colors,
|
|
2671
|
+
/** Brand scale — black-based for primary actions */
|
|
2672
|
+
brand: {
|
|
2673
|
+
25: "#fafafa",
|
|
2674
|
+
50: "#f5f5f5",
|
|
2675
|
+
100: "#ebebeb",
|
|
2676
|
+
200: "#d6d6d6",
|
|
2677
|
+
300: "#b0b0b0",
|
|
2678
|
+
400: "#737373",
|
|
2679
|
+
500: "#404040",
|
|
2680
|
+
600: "#1a1a1a",
|
|
2681
|
+
700: "#0d0d0d",
|
|
2682
|
+
800: "#050505",
|
|
2683
|
+
900: "#000000",
|
|
2684
|
+
950: "#000000"
|
|
2685
|
+
},
|
|
2686
|
+
/** Warm-neutral gray scale */
|
|
2687
|
+
gray: {
|
|
2688
|
+
25: "#fdfcfc",
|
|
2689
|
+
50: "#faf9f8",
|
|
2690
|
+
100: "#f5f3f1",
|
|
2691
|
+
200: "#e8e5e3",
|
|
2692
|
+
300: "#d8d8dc",
|
|
2693
|
+
400: "#a0a0a6",
|
|
2694
|
+
500: "#71717a",
|
|
2695
|
+
600: "#52525b",
|
|
2696
|
+
700: "#3f3f46",
|
|
2697
|
+
800: "#27272a",
|
|
2698
|
+
900: "#18181b",
|
|
2699
|
+
950: "#09090b"
|
|
2700
|
+
}
|
|
2701
|
+
};
|
|
2702
|
+
var radius4 = {
|
|
2703
|
+
...radius,
|
|
2704
|
+
xxs: 1,
|
|
2705
|
+
xs: 2,
|
|
2706
|
+
sm: 3,
|
|
2707
|
+
md: 4,
|
|
2708
|
+
lg: 5,
|
|
2709
|
+
xl: 6,
|
|
2710
|
+
"2xl": 8,
|
|
2711
|
+
"3xl": 10,
|
|
2712
|
+
"4xl": 12
|
|
2713
|
+
};
|
|
2714
|
+
var text4 = {
|
|
2715
|
+
primary: colors4.gray[900],
|
|
2716
|
+
secondary: colors4.gray[700],
|
|
2717
|
+
secondaryHover: colors4.gray[800],
|
|
2718
|
+
tertiary: colors4.gray[600],
|
|
2719
|
+
tertiaryHover: colors4.gray[700],
|
|
2720
|
+
quaternary: colors4.gray[500],
|
|
2721
|
+
disabled: colors4.gray[500],
|
|
2722
|
+
placeholder: colors4.gray[500],
|
|
2723
|
+
placeholderSubtle: colors4.gray[300],
|
|
2724
|
+
white: colors4.base.white,
|
|
2725
|
+
brandPrimary: colors4.brand[900],
|
|
2726
|
+
brandSecondary: colors4.brand[700],
|
|
2727
|
+
brandTertiary: colors4.brand[600],
|
|
2728
|
+
brandTertiaryAlt: colors4.brand[600],
|
|
2729
|
+
primaryOnBrand: colors4.base.white,
|
|
2730
|
+
secondaryOnBrand: colors4.brand[200],
|
|
2731
|
+
tertiaryOnBrand: colors4.brand[200],
|
|
2732
|
+
quaternaryOnBrand: colors4.brand[300],
|
|
2733
|
+
errorPrimary: colors4.error[600],
|
|
2734
|
+
warningPrimary: colors4.warning[600],
|
|
2735
|
+
successPrimary: colors4.success[600]
|
|
2736
|
+
};
|
|
2737
|
+
var bg4 = {
|
|
2738
|
+
primary: colors4.gray[50],
|
|
2739
|
+
primaryAlt: colors4.gray[50],
|
|
2740
|
+
primaryHover: colors4.gray[100],
|
|
2741
|
+
primarySolid: colors4.gray[950],
|
|
2742
|
+
secondary: colors4.base.white,
|
|
2743
|
+
secondaryAlt: colors4.base.white,
|
|
2744
|
+
secondarySubtle: colors4.gray[25],
|
|
2745
|
+
secondaryHover: colors4.gray[50],
|
|
2746
|
+
secondarySolid: colors4.gray[600],
|
|
2747
|
+
tertiary: colors4.gray[100],
|
|
2748
|
+
quaternary: colors4.gray[200],
|
|
2749
|
+
active: colors4.gray[200],
|
|
2750
|
+
disabled: colors4.gray[100],
|
|
2751
|
+
disabledSubtle: colors4.gray[50],
|
|
2752
|
+
overlay: colors4.gray[950],
|
|
2753
|
+
brandPrimary: colors4.brand[50],
|
|
2754
|
+
brandPrimaryAlt: colors4.brand[50],
|
|
2755
|
+
brandSecondary: colors4.brand[100],
|
|
2756
|
+
brandSolid: colors4.brand[600],
|
|
2757
|
+
brandSolidHover: colors4.brand[700],
|
|
2758
|
+
brandSection: colors4.brand[800],
|
|
2759
|
+
brandSectionSubtle: colors4.brand[700],
|
|
2760
|
+
errorPrimary: colors4.error[50],
|
|
2761
|
+
errorSecondary: colors4.error[100],
|
|
2762
|
+
errorSolid: colors4.error[600],
|
|
2763
|
+
warningPrimary: colors4.warning[50],
|
|
2764
|
+
warningSecondary: colors4.warning[100],
|
|
2765
|
+
warningSolid: colors4.warning[600],
|
|
2766
|
+
successPrimary: colors4.success[50],
|
|
2767
|
+
successSecondary: colors4.success[100],
|
|
2768
|
+
successSolid: colors4.success[600]
|
|
2769
|
+
};
|
|
2770
|
+
var fg4 = {
|
|
2771
|
+
primary: colors4.gray[900],
|
|
2772
|
+
secondary: colors4.gray[700],
|
|
2773
|
+
secondaryHover: colors4.gray[800],
|
|
2774
|
+
tertiary: colors4.gray[600],
|
|
2775
|
+
tertiaryHover: colors4.gray[700],
|
|
2776
|
+
quaternary: colors4.gray[500],
|
|
2777
|
+
quaternaryHover: colors4.gray[600],
|
|
2778
|
+
quinary: colors4.gray[400],
|
|
2779
|
+
quinaryHover: colors4.gray[500],
|
|
2780
|
+
senary: colors4.gray[300],
|
|
2781
|
+
white: colors4.base.white,
|
|
2782
|
+
disabled: colors4.gray[400],
|
|
2783
|
+
disabledSubtle: colors4.gray[300],
|
|
2784
|
+
brandPrimary: colors4.brand[600],
|
|
2785
|
+
brandPrimaryAlt: colors4.brand[600],
|
|
2786
|
+
brandSecondary: colors4.brand[500],
|
|
2787
|
+
errorPrimary: colors4.error[600],
|
|
2788
|
+
errorSecondary: colors4.error[500],
|
|
2789
|
+
warningPrimary: colors4.warning[600],
|
|
2790
|
+
warningSecondary: colors4.warning[500],
|
|
2791
|
+
successPrimary: colors4.success[600],
|
|
2792
|
+
successSecondary: colors4.success[500]
|
|
2793
|
+
};
|
|
2794
|
+
var border4 = {
|
|
2795
|
+
primary: colors4.gray[300],
|
|
2796
|
+
secondary: colors4.gray[200],
|
|
2797
|
+
tertiary: colors4.gray[100],
|
|
2798
|
+
disabled: colors4.gray[300],
|
|
2799
|
+
disabledSubtle: colors4.gray[200],
|
|
2800
|
+
brand: colors4.brand[300],
|
|
2801
|
+
brandSolid: colors4.brand[600],
|
|
2802
|
+
brandSolidAlt: colors4.brand[600],
|
|
2803
|
+
error: colors4.error[300],
|
|
2804
|
+
errorSolid: colors4.error[600]
|
|
2805
|
+
};
|
|
2806
|
+
var buttonColors4 = {
|
|
2807
|
+
primary: {
|
|
2808
|
+
bg: colors4.brand[600],
|
|
2809
|
+
bgHover: colors4.brand[700],
|
|
2810
|
+
fg: colors4.base.white,
|
|
2811
|
+
fgHover: colors4.base.white,
|
|
2812
|
+
border: colors4.brand[600],
|
|
2813
|
+
borderHover: colors4.brand[700]
|
|
2814
|
+
},
|
|
2815
|
+
secondary: {
|
|
2816
|
+
bg: colors4.base.white,
|
|
2817
|
+
bgHover: colors4.gray[50],
|
|
2818
|
+
fg: colors4.gray[700],
|
|
2819
|
+
fgHover: colors4.gray[800],
|
|
2820
|
+
border: colors4.gray[300],
|
|
2821
|
+
borderHover: colors4.gray[300]
|
|
2822
|
+
},
|
|
2823
|
+
secondaryColor: {
|
|
2824
|
+
bg: colors4.base.white,
|
|
2825
|
+
bgHover: colors4.brand[50],
|
|
2826
|
+
fg: colors4.brand[700],
|
|
2827
|
+
fgHover: colors4.brand[800],
|
|
2828
|
+
border: colors4.brand[300],
|
|
2829
|
+
borderHover: colors4.brand[300]
|
|
2830
|
+
},
|
|
2831
|
+
tertiary: {
|
|
2832
|
+
fg: colors4.gray[600],
|
|
2833
|
+
fgHover: colors4.gray[700],
|
|
2834
|
+
bgHover: colors4.gray[50]
|
|
2835
|
+
},
|
|
2836
|
+
tertiaryColor: {
|
|
2837
|
+
fg: colors4.brand[700],
|
|
2838
|
+
fgHover: colors4.brand[800],
|
|
2839
|
+
bgHover: colors4.brand[50]
|
|
2840
|
+
},
|
|
2841
|
+
primaryError: {
|
|
2842
|
+
bg: colors4.error[600],
|
|
2843
|
+
bgHover: colors4.error[700],
|
|
2844
|
+
fg: colors4.base.white,
|
|
2845
|
+
fgHover: colors4.base.white,
|
|
2846
|
+
border: colors4.error[600],
|
|
2847
|
+
borderHover: colors4.error[700]
|
|
2848
|
+
},
|
|
2849
|
+
secondaryError: {
|
|
2850
|
+
bg: colors4.base.white,
|
|
2851
|
+
bgHover: colors4.error[50],
|
|
2852
|
+
fg: colors4.error[700],
|
|
2853
|
+
fgHover: colors4.error[800],
|
|
2854
|
+
border: colors4.error[300],
|
|
2855
|
+
borderHover: colors4.error[300]
|
|
2856
|
+
},
|
|
2857
|
+
tertiaryError: {
|
|
2858
|
+
fg: colors4.error[700],
|
|
2859
|
+
fgHover: colors4.error[800],
|
|
2860
|
+
bgHover: colors4.error[50]
|
|
2861
|
+
}
|
|
2862
|
+
};
|
|
2863
|
+
var avatarColors4 = {
|
|
2864
|
+
bg: colors4.gray[100],
|
|
2865
|
+
contrastBorder: "#00000014",
|
|
2866
|
+
profilePhotoBorder: colors4.base.white,
|
|
2867
|
+
focusBorder: "#a0a0a624"
|
|
2868
|
+
// gray[400] + 14% alpha
|
|
2869
|
+
};
|
|
2870
|
+
var breadcrumbColors4 = {
|
|
2871
|
+
fg: colors4.gray[600],
|
|
2872
|
+
fgHover: colors4.gray[700],
|
|
2873
|
+
bgHover: colors4.gray[50],
|
|
2874
|
+
brandBgHover: colors4.brand[50],
|
|
2875
|
+
brandFgHover: colors4.brand[700],
|
|
2876
|
+
iconFg: colors4.gray[500],
|
|
2877
|
+
iconFgHover: colors4.gray[700],
|
|
2878
|
+
brandIconFgHover: colors4.brand[700]
|
|
2879
|
+
};
|
|
2880
|
+
var iconColors4 = {
|
|
2881
|
+
fgBrand: colors4.brand[600],
|
|
2882
|
+
fgBrandOnBrand: colors4.brand[200],
|
|
2883
|
+
featuredModernBorder: colors4.gray[200],
|
|
2884
|
+
featuredLightFgBrand: colors4.brand[600],
|
|
2885
|
+
featuredLightFgGray: colors4.gray[500],
|
|
2886
|
+
featuredLightFgError: colors4.error[600],
|
|
2887
|
+
featuredLightFgWarning: colors4.warning[600],
|
|
2888
|
+
featuredLightFgSuccess: colors4.success[600],
|
|
2889
|
+
featuredDarkFgBrand: colors4.base.white,
|
|
2890
|
+
featuredDarkFgGray: colors4.base.white,
|
|
2891
|
+
featuredDarkFgError: colors4.base.white,
|
|
2892
|
+
featuredDarkFgWarning: colors4.base.white,
|
|
2893
|
+
featuredDarkFgSuccess: colors4.base.white
|
|
2894
|
+
};
|
|
2895
|
+
var navColors4 = {
|
|
2896
|
+
itemIconFg: colors4.gray[500],
|
|
2897
|
+
itemIconFgActive: colors4.gray[700],
|
|
2898
|
+
itemButtonIconFg: colors4.gray[500],
|
|
2899
|
+
itemButtonIconFgActive: colors4.gray[700]
|
|
2900
|
+
};
|
|
2901
|
+
var sliderColors4 = {
|
|
2902
|
+
handleBorder: colors4.brand[600],
|
|
2903
|
+
handleBg: colors4.base.white
|
|
2904
|
+
};
|
|
2905
|
+
var toggleColors4 = {
|
|
2906
|
+
buttonFgDisabled: colors4.gray[50]
|
|
2907
|
+
};
|
|
2908
|
+
var chartColors4 = {
|
|
2909
|
+
axisFg: colors4.gray[100],
|
|
2910
|
+
gridlineFg: colors4.gray[100],
|
|
2911
|
+
labelFg: colors4.gray[600],
|
|
2912
|
+
labelFgEmphasis: colors4.gray[700],
|
|
2913
|
+
bg: colors4.base.white,
|
|
2914
|
+
bgAlt: colors4.gray[50],
|
|
2915
|
+
tooltipBg: colors4.gray[950],
|
|
2916
|
+
tooltipFg: colors4.base.white,
|
|
2917
|
+
crosshairFg: colors4.gray[500],
|
|
2918
|
+
legendFg: text4.tertiary,
|
|
2919
|
+
series: [
|
|
2920
|
+
{ fg: colors4.violet[500], fgHover: colors4.violet[600], bg: colors4.violet[100], bgHover: colors4.violet[200] },
|
|
2921
|
+
{ fg: colors4.orangeDark[400], fgHover: colors4.orangeDark[500], bg: colors4.orangeDark[100], bgHover: colors4.orangeDark[200] },
|
|
2922
|
+
{ fg: colors4.teal[300], fgHover: colors4.teal[400], bg: colors4.teal[50], bgHover: colors4.teal[100] },
|
|
2923
|
+
{ fg: colors4.warning[400], fgHover: colors4.warning[500], bg: colors4.warning[100], bgHover: colors4.warning[200] },
|
|
2924
|
+
{ fg: colors4.rose[400], fgHover: colors4.rose[500], bg: colors4.rose[100], bgHover: colors4.rose[200] },
|
|
2925
|
+
{ fg: colors4.blueLight[400], fgHover: colors4.blueLight[500], bg: colors4.blueLight[100], bgHover: colors4.blueLight[200] },
|
|
2926
|
+
{ fg: colors4.orange[300], fgHover: colors4.orange[400], bg: colors4.orange[100], bgHover: colors4.orange[200] },
|
|
2927
|
+
{ fg: colors4.cyan[600], fgHover: colors4.cyan[700], bg: colors4.cyan[100], bgHover: colors4.cyan[200] },
|
|
2928
|
+
{ fg: colors4.green[500], fgHover: colors4.green[600], bg: colors4.green[100], bgHover: colors4.green[200] },
|
|
2929
|
+
{ fg: colors4.pink[400], fgHover: colors4.pink[500], bg: colors4.pink[100], bgHover: colors4.pink[200] },
|
|
2930
|
+
{ fg: colors4.fuchsia[400], fgHover: colors4.fuchsia[500], bg: colors4.fuchsia[100], bgHover: colors4.fuchsia[200] },
|
|
2931
|
+
{ fg: colors4.teal[600], fgHover: colors4.teal[700], bg: colors4.teal[100], bgHover: colors4.teal[200] }
|
|
2932
|
+
]
|
|
2933
|
+
};
|
|
2934
|
+
var focusRings4 = {
|
|
2935
|
+
brand: "0px 0px 0px 4px #4040403d",
|
|
2936
|
+
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #4040403d",
|
|
2937
|
+
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #4040403d",
|
|
2938
|
+
gray: "0px 0px 0px 4px #a0a0a624",
|
|
2939
|
+
grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
|
|
2940
|
+
grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
|
|
2941
|
+
error: "0px 0px 0px 4px #f044383d",
|
|
2942
|
+
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
2943
|
+
};
|
|
2944
|
+
var forestInternalPreset = {
|
|
2945
|
+
name: "forest-internal",
|
|
2946
|
+
defaultVariant: "light",
|
|
2947
|
+
variants: {
|
|
2948
|
+
light: {
|
|
2949
|
+
tokens: {
|
|
2950
|
+
colors: colors4,
|
|
2951
|
+
spacing,
|
|
2952
|
+
radius: radius4,
|
|
2953
|
+
shadows,
|
|
2954
|
+
focusRings: focusRings4,
|
|
2955
|
+
fontFamily: '"Aeonik", sans-serif',
|
|
2956
|
+
fontSize,
|
|
2957
|
+
lineHeight,
|
|
2958
|
+
fontWeight,
|
|
2959
|
+
display,
|
|
2960
|
+
container,
|
|
2961
|
+
widths,
|
|
2962
|
+
text: text4,
|
|
2963
|
+
bg: bg4,
|
|
2964
|
+
fg: fg4,
|
|
2965
|
+
border: border4,
|
|
2966
|
+
buttonColors: buttonColors4,
|
|
2967
|
+
avatarColors: avatarColors4,
|
|
2968
|
+
breadcrumbColors: breadcrumbColors4,
|
|
2969
|
+
iconColors: iconColors4,
|
|
2970
|
+
navColors: navColors4,
|
|
2971
|
+
sliderColors: sliderColors4,
|
|
2972
|
+
toggleColors: toggleColors4,
|
|
2973
|
+
chartColors: chartColors4,
|
|
2974
|
+
alpha
|
|
2975
|
+
}
|
|
2976
|
+
}
|
|
2977
|
+
}
|
|
2978
|
+
};
|
|
2979
|
+
|
|
2403
2980
|
// src/theme/presets/index.ts
|
|
2404
2981
|
var presetRegistry = /* @__PURE__ */ new Map();
|
|
2405
|
-
presetRegistry.set(
|
|
2406
|
-
presetRegistry.set(
|
|
2982
|
+
presetRegistry.set(forestExternalPreset.name, forestExternalPreset);
|
|
2983
|
+
presetRegistry.set(forestAgencyPreset.name, forestAgencyPreset);
|
|
2984
|
+
presetRegistry.set(forestInternalPreset.name, forestInternalPreset);
|
|
2407
2985
|
function getPreset(name) {
|
|
2408
2986
|
return presetRegistry.get(name);
|
|
2409
2987
|
}
|
|
@@ -2415,16 +2993,9 @@ function getAvailablePresets() {
|
|
|
2415
2993
|
}
|
|
2416
2994
|
|
|
2417
2995
|
// src/theme/index.ts
|
|
2418
|
-
var
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
components,
|
|
2422
|
-
shadows: shadows2,
|
|
2423
|
-
shape: {
|
|
2424
|
-
borderRadius: 8
|
|
2425
|
-
}
|
|
2426
|
-
};
|
|
2427
|
-
var forestTheme = styles.createTheme(forestThemeOptions);
|
|
2996
|
+
var agencyTokens = forestAgencyPreset.variants.light.tokens;
|
|
2997
|
+
var forestTheme = buildTheme(agencyTokens);
|
|
2998
|
+
var forestThemeOptions = buildThemeOptions(agencyTokens);
|
|
2428
2999
|
function ForestProvider({
|
|
2429
3000
|
children,
|
|
2430
3001
|
theme,
|
|
@@ -2432,7 +3003,7 @@ function ForestProvider({
|
|
|
2432
3003
|
variant,
|
|
2433
3004
|
disableCssBaseline = false
|
|
2434
3005
|
}) {
|
|
2435
|
-
const resolvedTheme =
|
|
3006
|
+
const resolvedTheme = React2.useMemo(() => {
|
|
2436
3007
|
if (theme) return theme;
|
|
2437
3008
|
if (!preset) return forestTheme;
|
|
2438
3009
|
const presetConfig = getPreset(preset);
|
|
@@ -2497,8 +3068,7 @@ function MultiSelect({
|
|
|
2497
3068
|
const arr = typeof selected === "string" ? selected.split(",") : selected;
|
|
2498
3069
|
onChange(arr);
|
|
2499
3070
|
};
|
|
2500
|
-
const handleSelectAll = (
|
|
2501
|
-
e.stopPropagation();
|
|
3071
|
+
const handleSelectAll = () => {
|
|
2502
3072
|
onChange(allSelected ? [] : options.map((o) => o.value));
|
|
2503
3073
|
};
|
|
2504
3074
|
const labelMap = new Map(options.map((o) => [o.value, o.label]));
|
|
@@ -2523,12 +3093,14 @@ function MultiSelect({
|
|
|
2523
3093
|
...rest,
|
|
2524
3094
|
children: [
|
|
2525
3095
|
selectAll && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2526
|
-
|
|
3096
|
+
"li",
|
|
2527
3097
|
{
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
3098
|
+
onMouseDown: (e) => e.preventDefault(),
|
|
3099
|
+
onClick: (e) => {
|
|
3100
|
+
e.stopPropagation();
|
|
3101
|
+
handleSelectAll();
|
|
3102
|
+
},
|
|
3103
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(MuiButton__default.default, { size: "small", variant: "text", children: allSelected ? "Deselect All" : selectAllLabel })
|
|
2532
3104
|
}
|
|
2533
3105
|
),
|
|
2534
3106
|
options.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(MuiMenuItem__default.default, { value: option.value, children: [
|
|
@@ -2546,12 +3118,128 @@ function Switch(props) {
|
|
|
2546
3118
|
function TextField(props) {
|
|
2547
3119
|
return /* @__PURE__ */ jsxRuntime.jsx(MuiTextField__default.default, { ...props });
|
|
2548
3120
|
}
|
|
3121
|
+
var Search_default = utils.createSvgIcon(/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
3122
|
+
d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
|
3123
|
+
}), "Search");
|
|
3124
|
+
var Clear_default = utils.createSvgIcon(/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
3125
|
+
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
3126
|
+
}), "Clear");
|
|
3127
|
+
function Search({
|
|
3128
|
+
value: controlledValue,
|
|
3129
|
+
onChange,
|
|
3130
|
+
onClear,
|
|
3131
|
+
placeholder = "Search\u2026",
|
|
3132
|
+
slotProps,
|
|
3133
|
+
...props
|
|
3134
|
+
}) {
|
|
3135
|
+
const [internalValue, setInternalValue] = React2.useState("");
|
|
3136
|
+
const isControlled = controlledValue !== void 0;
|
|
3137
|
+
const currentValue = isControlled ? controlledValue : internalValue;
|
|
3138
|
+
const handleChange = React2.useCallback(
|
|
3139
|
+
(e) => {
|
|
3140
|
+
if (!isControlled) setInternalValue(e.target.value);
|
|
3141
|
+
onChange == null ? void 0 : onChange(e);
|
|
3142
|
+
},
|
|
3143
|
+
[isControlled, onChange]
|
|
3144
|
+
);
|
|
3145
|
+
const handleClear = React2.useCallback(() => {
|
|
3146
|
+
if (!isControlled) setInternalValue("");
|
|
3147
|
+
onClear == null ? void 0 : onClear();
|
|
3148
|
+
}, [isControlled, onClear]);
|
|
3149
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3150
|
+
MuiTextField__default.default,
|
|
3151
|
+
{
|
|
3152
|
+
variant: "outlined",
|
|
3153
|
+
placeholder,
|
|
3154
|
+
value: currentValue,
|
|
3155
|
+
onChange: handleChange,
|
|
3156
|
+
slotProps: {
|
|
3157
|
+
...slotProps,
|
|
3158
|
+
input: {
|
|
3159
|
+
sx: { pl: "12px", gap: 0 },
|
|
3160
|
+
startAdornment: /* @__PURE__ */ jsxRuntime.jsx(InputAdornment__default.default, { position: "start", sx: { mr: 0 }, children: /* @__PURE__ */ jsxRuntime.jsx(Search_default, { sx: { fontSize: 20 } }) }),
|
|
3161
|
+
endAdornment: currentValue ? /* @__PURE__ */ jsxRuntime.jsx(InputAdornment__default.default, { position: "end", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3162
|
+
IconButton__default.default,
|
|
3163
|
+
{
|
|
3164
|
+
"aria-label": "clear search",
|
|
3165
|
+
onClick: handleClear,
|
|
3166
|
+
edge: "end",
|
|
3167
|
+
size: "small",
|
|
3168
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Clear_default, { fontSize: "small" })
|
|
3169
|
+
}
|
|
3170
|
+
) }) : null,
|
|
3171
|
+
...typeof (slotProps == null ? void 0 : slotProps.input) === "object" ? slotProps.input : {}
|
|
3172
|
+
}
|
|
3173
|
+
},
|
|
3174
|
+
...props
|
|
3175
|
+
}
|
|
3176
|
+
);
|
|
3177
|
+
}
|
|
3178
|
+
var sizeMap = {
|
|
3179
|
+
sm: 24,
|
|
3180
|
+
md: 32,
|
|
3181
|
+
lg: 48,
|
|
3182
|
+
xl: 64
|
|
3183
|
+
};
|
|
3184
|
+
var variantColors = {
|
|
3185
|
+
agency: "#1a1a1a",
|
|
3186
|
+
external: "#1a1a1a",
|
|
3187
|
+
internal: "#1a1a1a"
|
|
3188
|
+
};
|
|
3189
|
+
var Logo = React2.forwardRef(
|
|
3190
|
+
({ variant = "agency", size = "md", logomarkOnly = false, sx, ...props }, ref) => {
|
|
3191
|
+
const dimension = sizeMap[size];
|
|
3192
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3193
|
+
material.Box,
|
|
3194
|
+
{
|
|
3195
|
+
ref,
|
|
3196
|
+
component: "svg",
|
|
3197
|
+
viewBox: "0 0 64 64",
|
|
3198
|
+
sx: {
|
|
3199
|
+
width: dimension,
|
|
3200
|
+
height: dimension,
|
|
3201
|
+
display: "inline-flex",
|
|
3202
|
+
alignItems: "center",
|
|
3203
|
+
justifyContent: "center",
|
|
3204
|
+
...sx
|
|
3205
|
+
},
|
|
3206
|
+
...props,
|
|
3207
|
+
children: [
|
|
3208
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3209
|
+
"path",
|
|
3210
|
+
{
|
|
3211
|
+
d: "M32 4L8 28h12v28h8V28h12L32 4z",
|
|
3212
|
+
fill: variantColors[variant]
|
|
3213
|
+
}
|
|
3214
|
+
),
|
|
3215
|
+
!logomarkOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3216
|
+
"text",
|
|
3217
|
+
{
|
|
3218
|
+
x: "32",
|
|
3219
|
+
y: "60",
|
|
3220
|
+
textAnchor: "middle",
|
|
3221
|
+
fontSize: "10",
|
|
3222
|
+
fontWeight: "600",
|
|
3223
|
+
fill: variantColors[variant],
|
|
3224
|
+
fontFamily: "Aeonik, sans-serif",
|
|
3225
|
+
children: "Forest"
|
|
3226
|
+
}
|
|
3227
|
+
)
|
|
3228
|
+
]
|
|
3229
|
+
}
|
|
3230
|
+
);
|
|
3231
|
+
}
|
|
3232
|
+
);
|
|
3233
|
+
Logo.displayName = "Logo";
|
|
2549
3234
|
function ToggleButton(props) {
|
|
2550
3235
|
return /* @__PURE__ */ jsxRuntime.jsx(MuiToggleButton__default.default, { ...props });
|
|
2551
3236
|
}
|
|
2552
3237
|
function ToggleButtonGroup(props) {
|
|
2553
3238
|
return /* @__PURE__ */ jsxRuntime.jsx(MuiToggleButtonGroup__default.default, { ...props });
|
|
2554
3239
|
}
|
|
3240
|
+
function DatePicker(props) {
|
|
3241
|
+
return /* @__PURE__ */ jsxRuntime.jsx(LocalizationProvider.LocalizationProvider, { dateAdapter: AdapterDayjs.AdapterDayjs, children: /* @__PURE__ */ jsxRuntime.jsx(DatePicker$1.DatePicker, { ...props }) });
|
|
3242
|
+
}
|
|
2555
3243
|
function Badge(props) {
|
|
2556
3244
|
return /* @__PURE__ */ jsxRuntime.jsx(MuiBadge__default.default, { ...props });
|
|
2557
3245
|
}
|
|
@@ -2654,9 +3342,9 @@ function CardMedia(props) {
|
|
|
2654
3342
|
function Paper(props) {
|
|
2655
3343
|
return /* @__PURE__ */ jsxRuntime.jsx(MuiPaper__default.default, { ...props });
|
|
2656
3344
|
}
|
|
2657
|
-
|
|
2658
|
-
return /* @__PURE__ */ jsxRuntime.jsx(MuiAlert__default.default, { ...props });
|
|
2659
|
-
}
|
|
3345
|
+
var Alert = React2__default.default.forwardRef(function Alert2(props, ref) {
|
|
3346
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MuiAlert__default.default, { ref, ...props });
|
|
3347
|
+
});
|
|
2660
3348
|
function AlertTitle(props) {
|
|
2661
3349
|
return /* @__PURE__ */ jsxRuntime.jsx(MuiAlertTitle__default.default, { ...props });
|
|
2662
3350
|
}
|
|
@@ -2687,22 +3375,58 @@ function CircularProgress(props) {
|
|
|
2687
3375
|
function Skeleton(props) {
|
|
2688
3376
|
return /* @__PURE__ */ jsxRuntime.jsx(MuiSkeleton__default.default, { ...props });
|
|
2689
3377
|
}
|
|
3378
|
+
function Modal(props) {
|
|
3379
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MuiModal__default.default, { ...props });
|
|
3380
|
+
}
|
|
3381
|
+
function Popover(props) {
|
|
3382
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MuiPopover__default.default, { ...props });
|
|
3383
|
+
}
|
|
2690
3384
|
function Snackbar(props) {
|
|
2691
3385
|
return /* @__PURE__ */ jsxRuntime.jsx(MuiSnackbar__default.default, { ...props });
|
|
2692
3386
|
}
|
|
3387
|
+
function Breadcrumbs(props) {
|
|
3388
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MuiBreadcrumbs__default.default, { ...props });
|
|
3389
|
+
}
|
|
3390
|
+
function Link(props) {
|
|
3391
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MuiLink__default.default, { ...props });
|
|
3392
|
+
}
|
|
3393
|
+
function Menu(props) {
|
|
3394
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MuiMenu__default.default, { ...props });
|
|
3395
|
+
}
|
|
3396
|
+
function MenuList(props) {
|
|
3397
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MuiMenuList__default.default, { ...props });
|
|
3398
|
+
}
|
|
3399
|
+
function Pagination(props) {
|
|
3400
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MuiPagination__default.default, { ...props });
|
|
3401
|
+
}
|
|
3402
|
+
function Stepper(props) {
|
|
3403
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MuiStepper__default.default, { ...props });
|
|
3404
|
+
}
|
|
3405
|
+
function Step(props) {
|
|
3406
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MuiStep__default.default, { ...props });
|
|
3407
|
+
}
|
|
3408
|
+
function StepLabel(props) {
|
|
3409
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MuiStepLabel__default.default, { ...props });
|
|
3410
|
+
}
|
|
3411
|
+
function Tabs(props) {
|
|
3412
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MuiTabs__default.default, { ...props });
|
|
3413
|
+
}
|
|
3414
|
+
function Tab(props) {
|
|
3415
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MuiTab__default.default, { ...props });
|
|
3416
|
+
}
|
|
2693
3417
|
var ChevronLeftOutlined_default = utils.createSvgIcon(/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
2694
3418
|
d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
|
2695
3419
|
}), "ChevronLeftOutlined");
|
|
2696
3420
|
var ChevronRightOutlined_default = utils.createSvgIcon(/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
2697
3421
|
d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
2698
3422
|
}), "ChevronRightOutlined");
|
|
2699
|
-
var SidebarContext =
|
|
3423
|
+
var SidebarContext = React2.createContext({
|
|
2700
3424
|
open: true,
|
|
2701
3425
|
collapsedWidth: 48,
|
|
2702
3426
|
expandedWidth: 240
|
|
2703
3427
|
});
|
|
2704
3428
|
function useSidebar() {
|
|
2705
|
-
return
|
|
3429
|
+
return React2.useContext(SidebarContext);
|
|
2706
3430
|
}
|
|
2707
3431
|
function SidebarNav({
|
|
2708
3432
|
open,
|
|
@@ -2725,7 +3449,7 @@ function SidebarNav({
|
|
|
2725
3449
|
onMouseEnter: () => onOpenChange(true),
|
|
2726
3450
|
onMouseLeave: () => onOpenChange(false)
|
|
2727
3451
|
} : {};
|
|
2728
|
-
return /* @__PURE__ */ jsxRuntime.jsx(SidebarContext.Provider, { value: { open, collapsedWidth, expandedWidth }, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3452
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SidebarContext.Provider, { value: { open, collapsedWidth, expandedWidth }, children: /* @__PURE__ */ jsxRuntime.jsxs(Box2__default.default, { sx: { position: "relative", width: layoutWidth, flexShrink: 0 }, children: [
|
|
2729
3453
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2730
3454
|
MuiDrawer__default.default,
|
|
2731
3455
|
{
|
|
@@ -2745,7 +3469,7 @@ function SidebarNav({
|
|
|
2745
3469
|
...sx
|
|
2746
3470
|
},
|
|
2747
3471
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2748
|
-
|
|
3472
|
+
Box2__default.default,
|
|
2749
3473
|
{
|
|
2750
3474
|
sx: {
|
|
2751
3475
|
display: "flex",
|
|
@@ -2754,9 +3478,9 @@ function SidebarNav({
|
|
|
2754
3478
|
overflow: "hidden"
|
|
2755
3479
|
},
|
|
2756
3480
|
children: [
|
|
2757
|
-
header && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2758
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2759
|
-
footer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3481
|
+
header && /* @__PURE__ */ jsxRuntime.jsx(Box2__default.default, { sx: { flexShrink: 0 }, children: header }),
|
|
3482
|
+
/* @__PURE__ */ jsxRuntime.jsx(Box2__default.default, { sx: { flexGrow: 1, overflowY: "auto", overflowX: "hidden" }, children }),
|
|
3483
|
+
footer && /* @__PURE__ */ jsxRuntime.jsx(Box2__default.default, { sx: { flexShrink: 0 }, children: footer })
|
|
2760
3484
|
]
|
|
2761
3485
|
}
|
|
2762
3486
|
)
|
|
@@ -2849,17 +3573,11 @@ function SidebarItem({
|
|
|
2849
3573
|
endAdornment
|
|
2850
3574
|
] });
|
|
2851
3575
|
}
|
|
2852
|
-
function useChartColors(count
|
|
3576
|
+
function useChartColors(count) {
|
|
2853
3577
|
const theme = styles.useTheme();
|
|
2854
3578
|
const chart = theme.palette.chart;
|
|
2855
|
-
const
|
|
2856
|
-
|
|
2857
|
-
"#FF7E67",
|
|
2858
|
-
"#76DFD5",
|
|
2859
|
-
"#F6C343",
|
|
2860
|
-
"#B36A6F"
|
|
2861
|
-
];
|
|
2862
|
-
return colors3.slice(0, Math.min(count, colors3.length));
|
|
3579
|
+
const colors5 = chart.series.map((s) => s.fg);
|
|
3580
|
+
return colors5.slice(0, Math.min(count, colors5.length));
|
|
2863
3581
|
}
|
|
2864
3582
|
function formatDate(date) {
|
|
2865
3583
|
if (!date) return "";
|
|
@@ -2901,8 +3619,7 @@ function CustomTooltip(props) {
|
|
|
2901
3619
|
borderTop: `1px solid ${theme.palette.divider}`,
|
|
2902
3620
|
borderRight: `1px solid ${theme.palette.divider}`,
|
|
2903
3621
|
borderBottom: `1px solid ${theme.palette.divider}`,
|
|
2904
|
-
borderLeft: `4px solid ${theme.palette.chart.
|
|
2905
|
-
// Primary Accent line
|
|
3622
|
+
borderLeft: `4px solid ${theme.palette.chart.series[0].fg}`
|
|
2906
3623
|
},
|
|
2907
3624
|
children: [
|
|
2908
3625
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2971,16 +3688,16 @@ function CustomTooltip(props) {
|
|
|
2971
3688
|
}
|
|
2972
3689
|
);
|
|
2973
3690
|
}
|
|
2974
|
-
function LineChart({ series, colors:
|
|
3691
|
+
function LineChart({ series, colors: colors5, ...props }) {
|
|
2975
3692
|
var _a, _b;
|
|
2976
3693
|
const theme = styles.useTheme();
|
|
2977
3694
|
const chart = theme.palette.chart;
|
|
2978
|
-
const seriesColors = useChartColors((_a = series == null ? void 0 : series.length) != null ? _a : 0
|
|
3695
|
+
const seriesColors = useChartColors((_a = series == null ? void 0 : series.length) != null ? _a : 0);
|
|
2979
3696
|
const modifiedSeries = series == null ? void 0 : series.map((s) => {
|
|
2980
3697
|
var _a2, _b2;
|
|
2981
3698
|
return {
|
|
2982
3699
|
...s,
|
|
2983
|
-
curve: (_a2 = s.curve) != null ? _a2 : "
|
|
3700
|
+
curve: (_a2 = s.curve) != null ? _a2 : "linear",
|
|
2984
3701
|
highlightScope: (_b2 = s.highlightScope) != null ? _b2 : { highlighted: "item", faded: "global" }
|
|
2985
3702
|
};
|
|
2986
3703
|
});
|
|
@@ -2988,7 +3705,7 @@ function LineChart({ series, colors: colors3, palette: palette2 = "categorical",
|
|
|
2988
3705
|
LineChart$1.LineChart,
|
|
2989
3706
|
{
|
|
2990
3707
|
series: modifiedSeries != null ? modifiedSeries : [],
|
|
2991
|
-
colors:
|
|
3708
|
+
colors: colors5 != null ? colors5 : seriesColors,
|
|
2992
3709
|
grid: { horizontal: true },
|
|
2993
3710
|
slots: {
|
|
2994
3711
|
axisContent: CustomTooltip
|
|
@@ -3001,17 +3718,18 @@ function LineChart({ series, colors: colors3, palette: palette2 = "categorical",
|
|
|
3001
3718
|
}
|
|
3002
3719
|
},
|
|
3003
3720
|
sx: {
|
|
3004
|
-
"& .MuiChartsAxis-line": { stroke: chart.axisFg },
|
|
3005
|
-
"& .MuiChartsAxis-tick": { stroke: chart.axisFg },
|
|
3721
|
+
"& .MuiChartsAxis-line": { stroke: `${chart.axisFg} !important` },
|
|
3722
|
+
"& .MuiChartsAxis-tick": { stroke: `${chart.axisFg} !important` },
|
|
3006
3723
|
"& .MuiChartsAxis-tickLabel": {
|
|
3007
|
-
fill: chart.labelFg
|
|
3008
|
-
fontFamily: theme.typography.fontFamily
|
|
3009
|
-
fontSize:
|
|
3724
|
+
fill: `${chart.labelFg} !important`,
|
|
3725
|
+
fontFamily: `${theme.typography.fontFamily} !important`,
|
|
3726
|
+
fontSize: `${fontSize.xxs}px !important`,
|
|
3727
|
+
lineHeight: lineHeight.xxs
|
|
3010
3728
|
},
|
|
3011
3729
|
"& .MuiChartsAxis-label": {
|
|
3012
|
-
fill: chart.labelFgEmphasis
|
|
3013
|
-
fontFamily: theme.typography.fontFamily
|
|
3014
|
-
fontSize: typeof theme.typography.body1.fontSize === "number" ? theme.typography.body1.fontSize : 14
|
|
3730
|
+
fill: `${chart.labelFgEmphasis} !important`,
|
|
3731
|
+
fontFamily: `${theme.typography.fontFamily} !important`,
|
|
3732
|
+
fontSize: `${typeof theme.typography.body1.fontSize === "number" ? theme.typography.body1.fontSize : 14}px !important`,
|
|
3015
3733
|
fontWeight: theme.typography.fontWeightMedium
|
|
3016
3734
|
},
|
|
3017
3735
|
"& .MuiChartsGrid-line": {
|
|
@@ -3019,8 +3737,8 @@ function LineChart({ series, colors: colors3, palette: palette2 = "categorical",
|
|
|
3019
3737
|
strokeDasharray: "4 4"
|
|
3020
3738
|
},
|
|
3021
3739
|
"& .MuiChartsLegend-series text": {
|
|
3022
|
-
fill: chart.legendFg
|
|
3023
|
-
fontFamily: theme.typography.fontFamily
|
|
3740
|
+
fill: `${chart.legendFg} !important`,
|
|
3741
|
+
fontFamily: `${theme.typography.fontFamily} !important`,
|
|
3024
3742
|
fontSize: "14px !important"
|
|
3025
3743
|
},
|
|
3026
3744
|
"& .MuiChartsLegend-mark": {
|
|
@@ -3041,7 +3759,9 @@ function LineChart({ series, colors: colors3, palette: palette2 = "categorical",
|
|
|
3041
3759
|
},
|
|
3042
3760
|
"& .MuiLineElement-root": {
|
|
3043
3761
|
strokeWidth: 3
|
|
3044
|
-
|
|
3762
|
+
},
|
|
3763
|
+
"& .MuiMarkElement-root": {
|
|
3764
|
+
display: "none"
|
|
3045
3765
|
},
|
|
3046
3766
|
...(_b = props.sx) != null ? _b : {}
|
|
3047
3767
|
},
|
|
@@ -3049,12 +3769,12 @@ function LineChart({ series, colors: colors3, palette: palette2 = "categorical",
|
|
|
3049
3769
|
}
|
|
3050
3770
|
);
|
|
3051
3771
|
}
|
|
3052
|
-
function BarChart({ series, colors:
|
|
3772
|
+
function BarChart({ series, colors: colors5, ...props }) {
|
|
3053
3773
|
var _a, _b;
|
|
3054
3774
|
const theme = styles.useTheme();
|
|
3055
3775
|
const chart = theme.palette.chart;
|
|
3056
|
-
const seriesColors = useChartColors((_a = series == null ? void 0 : series.length) != null ? _a : 0
|
|
3057
|
-
const resolvedColors =
|
|
3776
|
+
const seriesColors = useChartColors((_a = series == null ? void 0 : series.length) != null ? _a : 0);
|
|
3777
|
+
const resolvedColors = colors5 != null ? colors5 : seriesColors;
|
|
3058
3778
|
const modifiedSeries = series == null ? void 0 : series.map((s, idx) => {
|
|
3059
3779
|
var _a2;
|
|
3060
3780
|
const baseColor = s.color || resolvedColors[idx % resolvedColors.length];
|
|
@@ -3070,7 +3790,7 @@ function BarChart({ series, colors: colors3, palette: palette2 = "categorical",
|
|
|
3070
3790
|
BarChart$1.BarChart,
|
|
3071
3791
|
{
|
|
3072
3792
|
series: modifiedSeries != null ? modifiedSeries : [],
|
|
3073
|
-
colors:
|
|
3793
|
+
colors: colors5 != null ? colors5 : seriesColors,
|
|
3074
3794
|
grid: { horizontal: true },
|
|
3075
3795
|
borderRadius: 4,
|
|
3076
3796
|
slots: {
|
|
@@ -3084,18 +3804,18 @@ function BarChart({ series, colors: colors3, palette: palette2 = "categorical",
|
|
|
3084
3804
|
}
|
|
3085
3805
|
},
|
|
3086
3806
|
sx: {
|
|
3087
|
-
"& .MuiChartsAxis-line": { stroke: chart.axisFg },
|
|
3088
|
-
"& .MuiChartsAxis-tick": { stroke: chart.axisFg },
|
|
3807
|
+
"& .MuiChartsAxis-line": { stroke: `${chart.axisFg} !important` },
|
|
3808
|
+
"& .MuiChartsAxis-tick": { stroke: `${chart.axisFg} !important` },
|
|
3089
3809
|
"& .MuiChartsAxis-tickLabel": {
|
|
3090
|
-
fill: chart.labelFg
|
|
3091
|
-
fontFamily: theme.typography.fontFamily
|
|
3092
|
-
fontSize:
|
|
3093
|
-
|
|
3810
|
+
fill: `${chart.labelFg} !important`,
|
|
3811
|
+
fontFamily: `${theme.typography.fontFamily} !important`,
|
|
3812
|
+
fontSize: `${fontSize.xxs}px !important`,
|
|
3813
|
+
lineHeight: lineHeight.xxs
|
|
3094
3814
|
},
|
|
3095
3815
|
"& .MuiChartsAxis-label": {
|
|
3096
|
-
fill: chart.labelFgEmphasis
|
|
3097
|
-
fontFamily: theme.typography.fontFamily
|
|
3098
|
-
fontSize: typeof theme.typography.body1.fontSize === "number" ? theme.typography.body1.fontSize : 14
|
|
3816
|
+
fill: `${chart.labelFgEmphasis} !important`,
|
|
3817
|
+
fontFamily: `${theme.typography.fontFamily} !important`,
|
|
3818
|
+
fontSize: `${typeof theme.typography.body1.fontSize === "number" ? theme.typography.body1.fontSize : 14}px !important`,
|
|
3099
3819
|
fontWeight: theme.typography.fontWeightMedium
|
|
3100
3820
|
},
|
|
3101
3821
|
"& .MuiChartsGrid-line": {
|
|
@@ -3103,8 +3823,8 @@ function BarChart({ series, colors: colors3, palette: palette2 = "categorical",
|
|
|
3103
3823
|
strokeDasharray: "4 4"
|
|
3104
3824
|
},
|
|
3105
3825
|
"& .MuiChartsLegend-series text": {
|
|
3106
|
-
fill: chart.legendFg
|
|
3107
|
-
fontFamily: theme.typography.fontFamily
|
|
3826
|
+
fill: `${chart.legendFg} !important`,
|
|
3827
|
+
fontFamily: `${theme.typography.fontFamily} !important`,
|
|
3108
3828
|
fontSize: "14px !important"
|
|
3109
3829
|
},
|
|
3110
3830
|
"& .MuiChartsLegend-mark": {
|
|
@@ -3122,7 +3842,6 @@ function BarChart({ series, colors: colors3, palette: palette2 = "categorical",
|
|
|
3122
3842
|
color: chart.tooltipFg,
|
|
3123
3843
|
borderRadius: theme.shape.borderRadius,
|
|
3124
3844
|
boxShadow: theme.shadows[4]
|
|
3125
|
-
// md equivalent in MUI default array length
|
|
3126
3845
|
},
|
|
3127
3846
|
...(_b = props.sx) != null ? _b : {}
|
|
3128
3847
|
},
|
|
@@ -3149,12 +3868,12 @@ function BarChart({ series, colors: colors3, palette: palette2 = "categorical",
|
|
|
3149
3868
|
}
|
|
3150
3869
|
);
|
|
3151
3870
|
}
|
|
3152
|
-
function PieChart({ series, colors:
|
|
3871
|
+
function PieChart({ series, colors: colors5, ...props }) {
|
|
3153
3872
|
var _a, _b, _c, _d;
|
|
3154
3873
|
const theme = styles.useTheme();
|
|
3155
3874
|
const chart = theme.palette.chart;
|
|
3156
3875
|
const sliceCount = (_c = (_b = (_a = series == null ? void 0 : series[0]) == null ? void 0 : _a.data) == null ? void 0 : _b.length) != null ? _c : 0;
|
|
3157
|
-
const seriesColors = useChartColors(sliceCount
|
|
3876
|
+
const seriesColors = useChartColors(sliceCount);
|
|
3158
3877
|
const modifiedSeries = series == null ? void 0 : series.map((s) => {
|
|
3159
3878
|
var _a2;
|
|
3160
3879
|
return {
|
|
@@ -3166,7 +3885,7 @@ function PieChart({ series, colors: colors3, palette: palette2 = "categorical",
|
|
|
3166
3885
|
PieChart$1.PieChart,
|
|
3167
3886
|
{
|
|
3168
3887
|
series: modifiedSeries != null ? modifiedSeries : [],
|
|
3169
|
-
colors:
|
|
3888
|
+
colors: colors5 != null ? colors5 : seriesColors,
|
|
3170
3889
|
slotProps: {
|
|
3171
3890
|
legend: {
|
|
3172
3891
|
itemMarkWidth: 12,
|
|
@@ -3176,8 +3895,8 @@ function PieChart({ series, colors: colors3, palette: palette2 = "categorical",
|
|
|
3176
3895
|
},
|
|
3177
3896
|
sx: {
|
|
3178
3897
|
"& .MuiChartsLegend-series text": {
|
|
3179
|
-
fill: chart.legendFg
|
|
3180
|
-
fontFamily: theme.typography.fontFamily
|
|
3898
|
+
fill: `${chart.legendFg} !important`,
|
|
3899
|
+
fontFamily: `${theme.typography.fontFamily} !important`,
|
|
3181
3900
|
fontSize: "14px !important"
|
|
3182
3901
|
},
|
|
3183
3902
|
"& .MuiChartsLegend-mark": {
|
|
@@ -3214,6 +3933,7 @@ exports.Autocomplete = Autocomplete;
|
|
|
3214
3933
|
exports.Backdrop = Backdrop;
|
|
3215
3934
|
exports.Badge = Badge;
|
|
3216
3935
|
exports.BarChart = BarChart;
|
|
3936
|
+
exports.Breadcrumbs = Breadcrumbs;
|
|
3217
3937
|
exports.Button = Button;
|
|
3218
3938
|
exports.ButtonGroup = ButtonGroup;
|
|
3219
3939
|
exports.Card = Card;
|
|
@@ -3225,6 +3945,7 @@ exports.Checkbox = Checkbox;
|
|
|
3225
3945
|
exports.Chip = Chip;
|
|
3226
3946
|
exports.CircularProgress = CircularProgress;
|
|
3227
3947
|
exports.DataGrid = DataGrid;
|
|
3948
|
+
exports.DatePicker = DatePicker;
|
|
3228
3949
|
exports.Dialog = Dialog;
|
|
3229
3950
|
exports.DialogActions = DialogActions;
|
|
3230
3951
|
exports.DialogContent = DialogContent;
|
|
@@ -3235,6 +3956,7 @@ exports.Fab = Fab;
|
|
|
3235
3956
|
exports.ForestProvider = ForestProvider;
|
|
3236
3957
|
exports.LineChart = LineChart;
|
|
3237
3958
|
exports.LinearProgress = LinearProgress;
|
|
3959
|
+
exports.Link = Link;
|
|
3238
3960
|
exports.List = List;
|
|
3239
3961
|
exports.ListItem = ListItem;
|
|
3240
3962
|
exports.ListItemAvatar = ListItemAvatar;
|
|
@@ -3242,31 +3964,42 @@ exports.ListItemButton = ListItemButton;
|
|
|
3242
3964
|
exports.ListItemIcon = ListItemIcon;
|
|
3243
3965
|
exports.ListItemText = ListItemText;
|
|
3244
3966
|
exports.ListSubheader = ListSubheader;
|
|
3967
|
+
exports.Logo = Logo;
|
|
3968
|
+
exports.Menu = Menu;
|
|
3245
3969
|
exports.MenuItem = MenuItem;
|
|
3970
|
+
exports.MenuList = MenuList;
|
|
3971
|
+
exports.Modal = Modal;
|
|
3246
3972
|
exports.MultiSelect = MultiSelect;
|
|
3973
|
+
exports.Pagination = Pagination;
|
|
3247
3974
|
exports.Paper = Paper;
|
|
3248
3975
|
exports.PieChart = PieChart;
|
|
3976
|
+
exports.Popover = Popover;
|
|
3249
3977
|
exports.Radio = Radio;
|
|
3250
3978
|
exports.RadioGroup = RadioGroup;
|
|
3979
|
+
exports.Search = Search;
|
|
3251
3980
|
exports.Select = Select;
|
|
3252
3981
|
exports.SidebarItem = SidebarItem;
|
|
3253
3982
|
exports.SidebarNav = SidebarNav;
|
|
3254
3983
|
exports.Skeleton = Skeleton;
|
|
3255
3984
|
exports.Snackbar = Snackbar;
|
|
3985
|
+
exports.Step = Step;
|
|
3986
|
+
exports.StepLabel = StepLabel;
|
|
3987
|
+
exports.Stepper = Stepper;
|
|
3256
3988
|
exports.Switch = Switch;
|
|
3989
|
+
exports.Tab = Tab;
|
|
3257
3990
|
exports.Table = Table;
|
|
3258
3991
|
exports.TableBody = TableBody;
|
|
3259
3992
|
exports.TableCell = TableCell;
|
|
3260
3993
|
exports.TableContainer = TableContainer;
|
|
3261
3994
|
exports.TableHead = TableHead;
|
|
3262
3995
|
exports.TableRow = TableRow;
|
|
3996
|
+
exports.Tabs = Tabs;
|
|
3263
3997
|
exports.TextField = TextField;
|
|
3264
3998
|
exports.ToggleButton = ToggleButton;
|
|
3265
3999
|
exports.ToggleButtonGroup = ToggleButtonGroup;
|
|
3266
4000
|
exports.Toolbar = Toolbar;
|
|
3267
4001
|
exports.Tooltip = Tooltip;
|
|
3268
4002
|
exports.Typography = Typography;
|
|
3269
|
-
exports.alkemyPlusPreset = alkemyPlusPreset;
|
|
3270
4003
|
exports.alpha = alpha;
|
|
3271
4004
|
exports.avatarColors = avatarColors;
|
|
3272
4005
|
exports.bg = bg;
|
|
@@ -3284,7 +4017,9 @@ exports.focusRings = focusRings;
|
|
|
3284
4017
|
exports.fontFamily = fontFamily;
|
|
3285
4018
|
exports.fontSize = fontSize;
|
|
3286
4019
|
exports.fontWeight = fontWeight;
|
|
3287
|
-
exports.
|
|
4020
|
+
exports.forestAgencyPreset = forestAgencyPreset;
|
|
4021
|
+
exports.forestExternalPreset = forestExternalPreset;
|
|
4022
|
+
exports.forestInternalPreset = forestInternalPreset;
|
|
3288
4023
|
exports.forestTheme = forestTheme;
|
|
3289
4024
|
exports.forestThemeOptions = forestThemeOptions;
|
|
3290
4025
|
exports.getAvailablePresets = getAvailablePresets;
|