@matteoaliano/forest-ui 0.8.9 → 1.0.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/dist/index.mjs CHANGED
@@ -18,10 +18,7 @@ import {
18
18
  fontFamilyMono,
19
19
  fontSize,
20
20
  fontWeight,
21
- forestAgencyPreset,
22
21
  forestAlkemyPlusPreset,
23
- forestExternalPreset,
24
- forestInternalPreset,
25
22
  forestTheme,
26
23
  forestThemeOptions,
27
24
  getAvailablePresets,
@@ -41,7 +38,7 @@ import {
41
38
  toggleColors,
42
39
  warning,
43
40
  widths
44
- } from "./chunk-2XQSGP7X.mjs";
41
+ } from "./chunk-XJYBU6LC.mjs";
45
42
 
46
43
  // src/provider/ForestProvider.tsx
47
44
  import { useMemo } from "react";
@@ -52,7 +49,7 @@ function ForestProvider({
52
49
  children,
53
50
  theme,
54
51
  preset,
55
- variant,
52
+ defaultMode = "light",
56
53
  disableCssBaseline = false
57
54
  }) {
58
55
  const resolvedTheme = useMemo(() => {
@@ -64,71 +61,53 @@ function ForestProvider({
64
61
  `[ForestProvider] Unknown preset "${preset}". Available presets: use getAvailablePresets() to see registered presets.`
65
62
  );
66
63
  }
67
- const variantName = variant != null ? variant : presetConfig.defaultVariant;
68
- const variantConfig = presetConfig.variants[variantName];
69
- if (!variantConfig) {
70
- throw new Error(
71
- `[ForestProvider] Unknown variant "${variantName}" for preset "${preset}". Available variants: ${Object.keys(presetConfig.variants).join(", ")}.`
72
- );
73
- }
74
- return buildTheme(variantConfig.tokens);
75
- }, [theme, preset, variant]);
76
- return /* @__PURE__ */ jsxs(ThemeProvider, { theme: resolvedTheme, children: [
77
- !disableCssBaseline && /* @__PURE__ */ jsx(CssBaseline, {}),
64
+ return buildTheme(presetConfig.tokens, presetConfig.tokensDark);
65
+ }, [theme, preset]);
66
+ return /* @__PURE__ */ jsxs(ThemeProvider, { theme: resolvedTheme, defaultMode, children: [
67
+ !disableCssBaseline && /* @__PURE__ */ jsx(CssBaseline, { enableColorScheme: true }),
78
68
  children
79
69
  ] });
80
70
  }
81
71
 
72
+ // src/index.ts
73
+ import { useColorScheme } from "@mui/material/styles";
74
+ import { InitColorSchemeScript } from "@mui/material";
75
+
82
76
  // src/components/Autocomplete/index.tsx
83
- import MuiAutocomplete from "@mui/material/Autocomplete";
84
- import { jsx as jsx2 } from "react/jsx-runtime";
85
- function Autocomplete(props) {
86
- return /* @__PURE__ */ jsx2(MuiAutocomplete, { ...props });
87
- }
77
+ import { default as default2 } from "@mui/material/Autocomplete";
88
78
 
89
79
  // src/components/Button/index.tsx
90
80
  import MuiButton from "@mui/material/Button";
91
- import { jsx as jsx3 } from "react/jsx-runtime";
81
+ import { jsx as jsx2 } from "react/jsx-runtime";
92
82
  function Button({ variant = "contained", ...props }) {
93
- return /* @__PURE__ */ jsx3(MuiButton, { variant, ...props });
83
+ return /* @__PURE__ */ jsx2(MuiButton, { variant, ...props });
94
84
  }
95
85
 
96
86
  // src/components/ButtonGroup/index.tsx
97
87
  import MuiButtonGroup from "@mui/material/ButtonGroup";
98
- import { jsx as jsx4 } from "react/jsx-runtime";
88
+ import { jsx as jsx3 } from "react/jsx-runtime";
99
89
  function ButtonGroup({ variant = "contained", ...props }) {
100
- return /* @__PURE__ */ jsx4(MuiButtonGroup, { variant, ...props });
90
+ return /* @__PURE__ */ jsx3(MuiButtonGroup, { variant, ...props });
101
91
  }
102
92
 
103
93
  // src/components/Checkbox/index.tsx
104
- import MuiCheckbox from "@mui/material/Checkbox";
105
- import { jsx as jsx5 } from "react/jsx-runtime";
106
- function Checkbox(props) {
107
- return /* @__PURE__ */ jsx5(MuiCheckbox, { ...props });
108
- }
94
+ import { default as default3 } from "@mui/material/Checkbox";
109
95
 
110
96
  // src/components/Fab/index.tsx
111
97
  import MuiFab from "@mui/material/Fab";
112
- import { jsx as jsx6 } from "react/jsx-runtime";
98
+ import { jsx as jsx4 } from "react/jsx-runtime";
113
99
  function Fab({ color = "primary", ...props }) {
114
- return /* @__PURE__ */ jsx6(MuiFab, { color, ...props });
100
+ return /* @__PURE__ */ jsx4(MuiFab, { color, ...props });
115
101
  }
116
102
 
117
103
  // src/components/RadioGroup/index.tsx
118
- import MuiRadioGroup from "@mui/material/RadioGroup";
119
- import MuiRadio from "@mui/material/Radio";
120
- import { jsx as jsx7 } from "react/jsx-runtime";
121
- function RadioGroup(props) {
122
- return /* @__PURE__ */ jsx7(MuiRadioGroup, { ...props });
123
- }
124
- function Radio(props) {
125
- return /* @__PURE__ */ jsx7(MuiRadio, { ...props });
126
- }
104
+ import { default as default4 } from "@mui/material/RadioGroup";
105
+ import { default as default5 } from "@mui/material/Radio";
127
106
 
128
107
  // src/components/Select/index.tsx
129
108
  import MuiSelect from "@mui/material/Select";
130
- import MuiMenuItem from "@mui/material/MenuItem";
131
- import { jsx as jsx8 } from "react/jsx-runtime";
109
+ import { default as default6 } from "@mui/material/MenuItem";
110
+ import { jsx as jsx5 } from "react/jsx-runtime";
132
111
  function Select({ onClose, ...props }) {
133
112
  const handleClose = (e) => {
134
113
  onClose == null ? void 0 : onClose(e);
@@ -138,21 +117,18 @@ function Select({ onClose, ...props }) {
138
117
  }
139
118
  });
140
119
  };
141
- return /* @__PURE__ */ jsx8(MuiSelect, { onClose: handleClose, ...props });
142
- }
143
- function MenuItem(props) {
144
- return /* @__PURE__ */ jsx8(MuiMenuItem, { ...props });
120
+ return /* @__PURE__ */ jsx5(MuiSelect, { onClose: handleClose, ...props });
145
121
  }
146
122
 
147
123
  // src/components/MultiSelect/index.tsx
148
124
  import MuiSelect2 from "@mui/material/Select";
149
- import MuiMenuItem2 from "@mui/material/MenuItem";
150
- import MuiCheckbox2 from "@mui/material/Checkbox";
125
+ import MuiMenuItem from "@mui/material/MenuItem";
126
+ import MuiCheckbox from "@mui/material/Checkbox";
151
127
  import MuiListItemText from "@mui/material/ListItemText";
152
128
  import MuiFormControl from "@mui/material/FormControl";
153
129
  import MuiInputLabel from "@mui/material/InputLabel";
154
130
  import MuiButton2 from "@mui/material/Button";
155
- import { jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
131
+ import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
156
132
  function MultiSelect({
157
133
  options,
158
134
  value,
@@ -187,7 +163,7 @@ function MultiSelect({
187
163
  color: rest.color,
188
164
  variant: rest.variant,
189
165
  children: [
190
- label && /* @__PURE__ */ jsx9(MuiInputLabel, { id: labelId, shrink: value.length > 0, children: label }),
166
+ label && /* @__PURE__ */ jsx6(MuiInputLabel, { id: labelId, shrink: value.length > 0, children: label }),
191
167
  /* @__PURE__ */ jsxs2(
192
168
  MuiSelect2,
193
169
  {
@@ -201,7 +177,7 @@ function MultiSelect({
201
177
  renderValue: renderValue2,
202
178
  ...rest,
203
179
  children: [
204
- selectAll && /* @__PURE__ */ jsx9(
180
+ selectAll && /* @__PURE__ */ jsx6(
205
181
  "li",
206
182
  {
207
183
  onMouseDown: (e) => e.preventDefault(),
@@ -209,12 +185,12 @@ function MultiSelect({
209
185
  e.stopPropagation();
210
186
  handleSelectAll();
211
187
  },
212
- children: /* @__PURE__ */ jsx9(MuiButton2, { size: "small", variant: "text", children: allSelected ? "Deselect All" : selectAllLabel })
188
+ children: /* @__PURE__ */ jsx6(MuiButton2, { size: "small", variant: "text", children: allSelected ? "Deselect All" : selectAllLabel })
213
189
  }
214
190
  ),
215
- options.map((option) => /* @__PURE__ */ jsxs2(MuiMenuItem2, { value: option.value, children: [
216
- /* @__PURE__ */ jsx9(MuiCheckbox2, { checked: value.includes(option.value) }),
217
- /* @__PURE__ */ jsx9(MuiListItemText, { primary: option.label })
191
+ options.map((option) => /* @__PURE__ */ jsxs2(MuiMenuItem, { value: option.value, children: [
192
+ /* @__PURE__ */ jsx6(MuiCheckbox, { checked: value.includes(option.value) }),
193
+ /* @__PURE__ */ jsx6(MuiListItemText, { primary: option.label })
218
194
  ] }, option.value))
219
195
  ]
220
196
  }
@@ -226,26 +202,22 @@ function MultiSelect({
226
202
 
227
203
  // src/components/Switch/index.tsx
228
204
  import MuiSwitch from "@mui/material/Switch";
229
- import { jsx as jsx10 } from "react/jsx-runtime";
205
+ import { jsx as jsx7 } from "react/jsx-runtime";
230
206
  function Switch(props) {
231
- return /* @__PURE__ */ jsx10(MuiSwitch, { ...props });
207
+ return /* @__PURE__ */ jsx7(MuiSwitch, { ...props });
232
208
  }
233
209
 
234
210
  // src/components/TextField/index.tsx
235
- import MuiTextField from "@mui/material/TextField";
236
- import { jsx as jsx11 } from "react/jsx-runtime";
237
- function TextField(props) {
238
- return /* @__PURE__ */ jsx11(MuiTextField, { ...props });
239
- }
211
+ import { default as default7 } from "@mui/material/TextField";
240
212
 
241
213
  // src/components/Search/index.tsx
242
214
  import { useState, useCallback } from "react";
243
- import MuiTextField2 from "@mui/material/TextField";
215
+ import MuiTextField from "@mui/material/TextField";
244
216
  import InputAdornment from "@mui/material/InputAdornment";
245
217
  import IconButton from "@mui/material/IconButton";
246
218
  import SearchIcon from "@mui/icons-material/Search";
247
219
  import ClearIcon from "@mui/icons-material/Clear";
248
- import { jsx as jsx12 } from "react/jsx-runtime";
220
+ import { jsx as jsx8 } from "react/jsx-runtime";
249
221
  function Search({
250
222
  value: controlledValue,
251
223
  onChange,
@@ -269,8 +241,8 @@ function Search({
269
241
  if (!isControlled) setInternalValue("");
270
242
  onClear == null ? void 0 : onClear();
271
243
  }, [isControlled, onClear]);
272
- return /* @__PURE__ */ jsx12(
273
- MuiTextField2,
244
+ return /* @__PURE__ */ jsx8(
245
+ MuiTextField,
274
246
  {
275
247
  variant,
276
248
  placeholder,
@@ -285,15 +257,15 @@ function Search({
285
257
  gap: 0,
286
258
  "& .MuiOutlinedInput-input": { pl: "8px" }
287
259
  },
288
- startAdornment: /* @__PURE__ */ jsx12(InputAdornment, { position: "start", sx: { mr: 0 }, children: /* @__PURE__ */ jsx12(SearchIcon, { sx: { fontSize: 20, color: "text.placeholder" } }) }),
289
- endAdornment: currentValue ? /* @__PURE__ */ jsx12(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx12(
260
+ startAdornment: /* @__PURE__ */ jsx8(InputAdornment, { position: "start", sx: { mr: 0 }, children: /* @__PURE__ */ jsx8(SearchIcon, { sx: { fontSize: 20, color: "text.placeholder" } }) }),
261
+ endAdornment: currentValue ? /* @__PURE__ */ jsx8(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx8(
290
262
  IconButton,
291
263
  {
292
264
  "aria-label": "clear search",
293
265
  onClick: handleClear,
294
266
  edge: "end",
295
267
  size: "small",
296
- children: /* @__PURE__ */ jsx12(ClearIcon, { fontSize: "small" })
268
+ children: /* @__PURE__ */ jsx8(ClearIcon, { fontSize: "small" })
297
269
  }
298
270
  ) }) : null,
299
271
  ...typeof (slotProps == null ? void 0 : slotProps.input) === "object" ? slotProps.input : {}
@@ -305,17 +277,18 @@ function Search({
305
277
  }
306
278
 
307
279
  // src/components/Input/index.tsx
308
- import MuiInputBase from "@mui/material/InputBase";
309
- import { jsx as jsx13 } from "react/jsx-runtime";
310
- function Input({ ...props }) {
311
- return /* @__PURE__ */ jsx13(MuiInputBase, { ...props });
312
- }
280
+ import { default as default8 } from "@mui/material/InputBase";
313
281
 
314
282
  // src/components/IconButton/index.tsx
315
283
  import MuiIconButton from "@mui/material/IconButton";
316
- import { jsx as jsx14 } from "react/jsx-runtime";
317
- function IconButton2(props) {
318
- return /* @__PURE__ */ jsx14(MuiIconButton, { ...props });
284
+ import { jsx as jsx9 } from "react/jsx-runtime";
285
+ function IconButton2({
286
+ variant = "text",
287
+ className,
288
+ ...props
289
+ }) {
290
+ const cls = variant === "text" ? className : ["ForestIconButton", `ForestIconButton-${variant}`, className].filter(Boolean).join(" ");
291
+ return /* @__PURE__ */ jsx9(MuiIconButton, { className: cls, ...props });
319
292
  }
320
293
 
321
294
  // src/components/Logo/index.tsx
@@ -578,7 +551,7 @@ function scopeArtworkIds(inner, id) {
578
551
  }
579
552
 
580
553
  // src/components/Logo/index.tsx
581
- import { jsx as jsx15 } from "react/jsx-runtime";
554
+ import { jsx as jsx10 } from "react/jsx-runtime";
582
555
  function resolveArtwork(product, variant, color) {
583
556
  const variantArt = PRODUCT_ARTWORK[product][variant];
584
557
  if (variant === "logomark") {
@@ -598,7 +571,7 @@ var Logo = forwardRef(
598
571
  () => artwork ? scopeArtworkIds(artwork.inner, id) : "",
599
572
  [artwork, id]
600
573
  );
601
- return /* @__PURE__ */ jsx15(
574
+ return /* @__PURE__ */ jsx10(
602
575
  Box,
603
576
  {
604
577
  component: "svg",
@@ -621,138 +594,106 @@ var Logo = forwardRef(
621
594
  Logo.displayName = "Logo";
622
595
 
623
596
  // src/components/ToggleButton/index.tsx
624
- import MuiToggleButton from "@mui/material/ToggleButton";
625
- import MuiToggleButtonGroup from "@mui/material/ToggleButtonGroup";
626
- import { jsx as jsx16 } from "react/jsx-runtime";
627
- function ToggleButton(props) {
628
- return /* @__PURE__ */ jsx16(MuiToggleButton, { ...props });
629
- }
630
- function ToggleButtonGroup(props) {
631
- return /* @__PURE__ */ jsx16(MuiToggleButtonGroup, { ...props });
632
- }
597
+ import { default as default9 } from "@mui/material/ToggleButton";
598
+ import { default as default10 } from "@mui/material/ToggleButtonGroup";
633
599
 
634
600
  // src/components/DatePicker/index.tsx
635
601
  import { DatePicker as MuiDatePicker } from "@mui/x-date-pickers/DatePicker";
636
602
  import { LocalizationProvider } from "@mui/x-date-pickers/LocalizationProvider";
637
603
  import { AdapterDayjs } from "@mui/x-date-pickers/AdapterDayjs";
638
- import { jsx as jsx17 } from "react/jsx-runtime";
604
+ import { jsx as jsx11 } from "react/jsx-runtime";
639
605
  function DatePicker(props) {
640
- return /* @__PURE__ */ jsx17(LocalizationProvider, { dateAdapter: AdapterDayjs, children: /* @__PURE__ */ jsx17(MuiDatePicker, { ...props }) });
606
+ return /* @__PURE__ */ jsx11(LocalizationProvider, { dateAdapter: AdapterDayjs, children: /* @__PURE__ */ jsx11(MuiDatePicker, { ...props }) });
641
607
  }
642
608
 
643
609
  // src/components/FormControl/index.tsx
644
- import MuiFormControl2 from "@mui/material/FormControl";
645
- import MuiFormControlLabel from "@mui/material/FormControlLabel";
646
- import MuiFormGroup from "@mui/material/FormGroup";
647
- import MuiFormHelperText from "@mui/material/FormHelperText";
648
- import MuiFormLabel from "@mui/material/FormLabel";
649
- import { jsx as jsx18 } from "react/jsx-runtime";
650
- function FormControl(props) {
651
- return /* @__PURE__ */ jsx18(MuiFormControl2, { ...props });
652
- }
653
- function FormControlLabel(props) {
654
- return /* @__PURE__ */ jsx18(MuiFormControlLabel, { ...props });
655
- }
656
- function FormGroup(props) {
657
- return /* @__PURE__ */ jsx18(MuiFormGroup, { ...props });
658
- }
659
- function FormHelperText(props) {
660
- return /* @__PURE__ */ jsx18(MuiFormHelperText, { ...props });
661
- }
662
- function FormLabel(props) {
663
- return /* @__PURE__ */ jsx18(MuiFormLabel, { ...props });
664
- }
610
+ import { default as default11 } from "@mui/material/FormControl";
611
+ import { default as default12 } from "@mui/material/FormControlLabel";
612
+ import { default as default13 } from "@mui/material/FormGroup";
613
+ import { default as default14 } from "@mui/material/FormHelperText";
614
+ import { default as default15 } from "@mui/material/FormLabel";
665
615
 
666
616
  // src/components/InputAdornment/index.tsx
667
- import MuiInputAdornment from "@mui/material/InputAdornment";
668
- import { jsx as jsx19 } from "react/jsx-runtime";
669
- function InputAdornment2(props) {
670
- return /* @__PURE__ */ jsx19(MuiInputAdornment, { ...props });
671
- }
617
+ import { default as default16 } from "@mui/material/InputAdornment";
672
618
 
673
619
  // src/components/InputBase/index.tsx
674
- import MuiInputBase2 from "@mui/material/InputBase";
675
- import { jsx as jsx20 } from "react/jsx-runtime";
676
- function InputBase(props) {
677
- return /* @__PURE__ */ jsx20(MuiInputBase2, { ...props });
678
- }
620
+ import { default as default17 } from "@mui/material/InputBase";
679
621
 
680
622
  // src/components/InputLabel/index.tsx
681
- import MuiInputLabel2 from "@mui/material/InputLabel";
682
- import { jsx as jsx21 } from "react/jsx-runtime";
683
- function InputLabel(props) {
684
- return /* @__PURE__ */ jsx21(MuiInputLabel2, { ...props });
685
- }
623
+ import { default as default18 } from "@mui/material/InputLabel";
686
624
 
687
625
  // src/components/OutlinedInput/index.tsx
688
- import MuiOutlinedInput from "@mui/material/OutlinedInput";
689
- import MuiFilledInput from "@mui/material/FilledInput";
690
- import { jsx as jsx22 } from "react/jsx-runtime";
691
- function OutlinedInput(props) {
692
- return /* @__PURE__ */ jsx22(MuiOutlinedInput, { ...props });
693
- }
694
- function FilledInput(props) {
695
- return /* @__PURE__ */ jsx22(MuiFilledInput, { ...props });
696
- }
626
+ import { default as default19 } from "@mui/material/OutlinedInput";
627
+ import { default as default20 } from "@mui/material/FilledInput";
697
628
 
698
629
  // src/components/Avatar/index.tsx
699
- import MuiAvatar from "@mui/material/Avatar";
700
- import MuiAvatarGroup from "@mui/material/AvatarGroup";
701
- import { jsx as jsx23 } from "react/jsx-runtime";
702
- function Avatar(props) {
703
- return /* @__PURE__ */ jsx23(MuiAvatar, { ...props });
704
- }
705
- function AvatarGroup(props) {
706
- return /* @__PURE__ */ jsx23(MuiAvatarGroup, { ...props });
707
- }
630
+ import { default as default21 } from "@mui/material/Avatar";
631
+ import { default as default22 } from "@mui/material/AvatarGroup";
708
632
 
709
633
  // src/components/Badge/index.tsx
710
- import MuiBadge from "@mui/material/Badge";
711
- import { jsx as jsx24 } from "react/jsx-runtime";
712
- function Badge(props) {
713
- return /* @__PURE__ */ jsx24(MuiBadge, { ...props });
714
- }
634
+ import { default as default23 } from "@mui/material/Badge";
715
635
 
716
636
  // src/components/Chip/index.tsx
717
637
  import MuiChip from "@mui/material/Chip";
718
638
  import CloseIcon from "@mui/icons-material/CloseOutlined";
719
- import { jsx as jsx25 } from "react/jsx-runtime";
720
- var customChipColors = {
721
- teal: { bg: misc.teal[50], color: misc.teal[700], deleteIcon: misc.teal[400] },
722
- orange: { bg: misc.orange[50], color: misc.orange[700], deleteIcon: misc.orange[400] },
723
- purple: { bg: misc.purple[50], color: misc.purple[700], deleteIcon: misc.purple[400] },
724
- pink: { bg: misc.pink[50], color: misc.pink[700], deleteIcon: misc.pink[400] },
725
- fuchsia: { bg: misc.fuchsia[50], color: misc.fuchsia[700], deleteIcon: misc.fuchsia[400] },
726
- orangeDark: { bg: misc.orangeDark[50], color: misc.orangeDark[700], deleteIcon: misc.orangeDark[400] },
727
- green: { bg: misc.green[50], color: misc.green[700], deleteIcon: misc.green[400] },
728
- indigo: { bg: misc.indigo[50], color: misc.indigo[700], deleteIcon: misc.indigo[400] },
729
- rose: { bg: misc.rose[50], color: misc.rose[700], deleteIcon: misc.rose[400] },
730
- blueLight: { bg: misc.blueLight[50], color: misc.blueLight[700], deleteIcon: misc.blueLight[400] }
639
+ import { alpha as alpha2 } from "@mui/material/styles";
640
+ import { jsx as jsx12 } from "react/jsx-runtime";
641
+ var customChipScales = {
642
+ teal: misc.teal,
643
+ orange: misc.orange,
644
+ purple: misc.purple,
645
+ pink: misc.pink,
646
+ fuchsia: misc.fuchsia,
647
+ orangeDark: misc.orangeDark,
648
+ green: misc.green,
649
+ indigo: misc.indigo,
650
+ rose: misc.rose,
651
+ blueLight: misc.blueLight
731
652
  };
732
- function Chip({ color, deleteIcon = /* @__PURE__ */ jsx25(CloseIcon, {}), sx, ...props }) {
733
- const custom = color && typeof color === "string" ? customChipColors[color] : void 0;
734
- if (custom) {
735
- return /* @__PURE__ */ jsx25(
653
+ function Chip({ color, deleteIcon = /* @__PURE__ */ jsx12(CloseIcon, {}), sx, ...props }) {
654
+ const scale = color && typeof color === "string" ? customChipScales[color] : void 0;
655
+ if (scale) {
656
+ return /* @__PURE__ */ jsx12(
736
657
  MuiChip,
737
658
  {
738
659
  deleteIcon,
739
660
  ...props,
740
661
  sx: [
741
662
  {
742
- "&.MuiChip-root": {
743
- backgroundColor: custom.bg,
744
- color: custom.color,
663
+ "&.MuiChip-filled": {
664
+ backgroundColor: scale[50],
665
+ color: scale[700],
745
666
  "& .MuiChip-deleteIcon": {
746
- color: custom.deleteIcon
667
+ color: scale[400]
668
+ }
669
+ },
670
+ // Same recipe MUI applies to semantic outlined chips (error,
671
+ // warning, …): transparent face, text = 600, border/delete = 600
672
+ // at 70%. Holds in both modes, so no dark branch needed.
673
+ "&.MuiChip-outlined": {
674
+ borderColor: alpha2(scale[600], 0.7),
675
+ color: scale[600],
676
+ "& .MuiChip-deleteIcon": {
677
+ color: alpha2(scale[600], 0.7)
747
678
  }
748
679
  }
749
680
  },
681
+ // Dark: deep face + light text, same hue (filled only).
682
+ (theme) => theme.applyStyles("dark", {
683
+ "&.MuiChip-filled": {
684
+ backgroundColor: scale[900],
685
+ color: scale[300],
686
+ "& .MuiChip-deleteIcon": {
687
+ color: scale[400]
688
+ }
689
+ }
690
+ }),
750
691
  ...Array.isArray(sx) ? sx : [sx]
751
692
  ]
752
693
  }
753
694
  );
754
695
  }
755
- return /* @__PURE__ */ jsx25(
696
+ return /* @__PURE__ */ jsx12(
756
697
  MuiChip,
757
698
  {
758
699
  color,
@@ -764,159 +705,61 @@ function Chip({ color, deleteIcon = /* @__PURE__ */ jsx25(CloseIcon, {}), sx, ..
764
705
  }
765
706
 
766
707
  // src/components/Divider/index.tsx
767
- import MuiDivider from "@mui/material/Divider";
768
- import { jsx as jsx26 } from "react/jsx-runtime";
769
- function Divider(props) {
770
- return /* @__PURE__ */ jsx26(MuiDivider, { ...props });
771
- }
708
+ import { default as default24 } from "@mui/material/Divider";
772
709
 
773
710
  // src/components/ImageList/index.tsx
774
- import MuiImageList from "@mui/material/ImageList";
775
- import MuiImageListItem from "@mui/material/ImageListItem";
776
- import MuiImageListItemBar from "@mui/material/ImageListItemBar";
777
- import { jsx as jsx27 } from "react/jsx-runtime";
778
- function ImageList(props) {
779
- return /* @__PURE__ */ jsx27(MuiImageList, { ...props });
780
- }
781
- function ImageListItem(props) {
782
- return /* @__PURE__ */ jsx27(MuiImageListItem, { ...props });
783
- }
784
- function ImageListItemBar(props) {
785
- return /* @__PURE__ */ jsx27(MuiImageListItemBar, { ...props });
786
- }
711
+ import { default as default25 } from "@mui/material/ImageList";
712
+ import { default as default26 } from "@mui/material/ImageListItem";
713
+ import { default as default27 } from "@mui/material/ImageListItemBar";
787
714
 
788
715
  // src/components/List/index.tsx
789
- import MuiList from "@mui/material/List";
790
- import MuiListItem from "@mui/material/ListItem";
791
- import MuiListItemButton from "@mui/material/ListItemButton";
792
- import MuiListItemIcon from "@mui/material/ListItemIcon";
793
- import MuiListItemText2 from "@mui/material/ListItemText";
794
- import MuiListItemAvatar from "@mui/material/ListItemAvatar";
795
- import MuiListSubheader from "@mui/material/ListSubheader";
796
- import MuiListItemSecondaryAction from "@mui/material/ListItemSecondaryAction";
797
- import { jsx as jsx28 } from "react/jsx-runtime";
798
- function List(props) {
799
- return /* @__PURE__ */ jsx28(MuiList, { ...props });
800
- }
801
- function ListItem(props) {
802
- return /* @__PURE__ */ jsx28(MuiListItem, { ...props });
803
- }
804
- function ListItemButton(props) {
805
- return /* @__PURE__ */ jsx28(MuiListItemButton, { ...props });
806
- }
807
- function ListItemIcon(props) {
808
- return /* @__PURE__ */ jsx28(MuiListItemIcon, { ...props });
809
- }
810
- function ListItemText(props) {
811
- return /* @__PURE__ */ jsx28(MuiListItemText2, { ...props });
812
- }
813
- function ListItemAvatar(props) {
814
- return /* @__PURE__ */ jsx28(MuiListItemAvatar, { ...props });
815
- }
816
- function ListSubheader(props) {
817
- return /* @__PURE__ */ jsx28(MuiListSubheader, { ...props });
818
- }
819
- function ListItemSecondaryAction(props) {
820
- return /* @__PURE__ */ jsx28(MuiListItemSecondaryAction, { ...props });
821
- }
716
+ import { default as default28 } from "@mui/material/List";
717
+ import { default as default29 } from "@mui/material/ListItem";
718
+ import { default as default30 } from "@mui/material/ListItemButton";
719
+ import { default as default31 } from "@mui/material/ListItemIcon";
720
+ import { default as default32 } from "@mui/material/ListItemText";
721
+ import { default as default33 } from "@mui/material/ListItemAvatar";
722
+ import { default as default34 } from "@mui/material/ListSubheader";
723
+ import { default as default35 } from "@mui/material/ListItemSecondaryAction";
822
724
 
823
725
  // src/components/Rating/index.tsx
824
- import MuiRating from "@mui/material/Rating";
825
- import { jsx as jsx29 } from "react/jsx-runtime";
826
- function Rating(props) {
827
- return /* @__PURE__ */ jsx29(MuiRating, { ...props });
828
- }
726
+ import { default as default36 } from "@mui/material/Rating";
829
727
 
830
728
  // src/components/Table/index.tsx
831
- import MuiTable from "@mui/material/Table";
832
- import MuiTableBody from "@mui/material/TableBody";
833
- import MuiTableCell from "@mui/material/TableCell";
834
- import MuiTableContainer from "@mui/material/TableContainer";
835
- import MuiTableHead from "@mui/material/TableHead";
836
- import MuiTableRow from "@mui/material/TableRow";
837
- import MuiTableFooter from "@mui/material/TableFooter";
838
- import MuiTablePagination from "@mui/material/TablePagination";
839
- import MuiTableSortLabel from "@mui/material/TableSortLabel";
840
- import { jsx as jsx30 } from "react/jsx-runtime";
841
- function Table(props) {
842
- return /* @__PURE__ */ jsx30(MuiTable, { ...props });
843
- }
844
- function TableBody(props) {
845
- return /* @__PURE__ */ jsx30(MuiTableBody, { ...props });
846
- }
847
- function TableCell(props) {
848
- return /* @__PURE__ */ jsx30(MuiTableCell, { ...props });
849
- }
850
- function TableContainer(props) {
851
- return /* @__PURE__ */ jsx30(MuiTableContainer, { ...props });
852
- }
853
- function TableHead(props) {
854
- return /* @__PURE__ */ jsx30(MuiTableHead, { ...props });
855
- }
856
- function TableRow(props) {
857
- return /* @__PURE__ */ jsx30(MuiTableRow, { ...props });
858
- }
859
- function TableFooter(props) {
860
- return /* @__PURE__ */ jsx30(MuiTableFooter, { ...props });
861
- }
862
- function TablePagination(props) {
863
- return /* @__PURE__ */ jsx30(MuiTablePagination, { ...props });
864
- }
865
- function TableSortLabel(props) {
866
- return /* @__PURE__ */ jsx30(MuiTableSortLabel, { ...props });
867
- }
729
+ import { default as default37 } from "@mui/material/Table";
730
+ import { default as default38 } from "@mui/material/TableBody";
731
+ import { default as default39 } from "@mui/material/TableCell";
732
+ import { default as default40 } from "@mui/material/TableContainer";
733
+ import { default as default41 } from "@mui/material/TableHead";
734
+ import { default as default42 } from "@mui/material/TableRow";
735
+ import { default as default43 } from "@mui/material/TableFooter";
736
+ import { default as default44 } from "@mui/material/TablePagination";
737
+ import { default as default45 } from "@mui/material/TableSortLabel";
868
738
 
869
739
  // src/components/DataGrid/index.tsx
870
- import { DataGrid as MuiDataGrid } from "@mui/x-data-grid";
871
- import { jsx as jsx31 } from "react/jsx-runtime";
872
- function DataGrid(props) {
873
- return /* @__PURE__ */ jsx31(MuiDataGrid, { ...props });
874
- }
740
+ import { DataGrid } from "@mui/x-data-grid";
875
741
 
876
742
  // src/components/Tooltip/index.tsx
877
743
  import MuiTooltip from "@mui/material/Tooltip";
878
- import { jsx as jsx32 } from "react/jsx-runtime";
744
+ import { jsx as jsx13 } from "react/jsx-runtime";
879
745
  function Tooltip({ arrow = true, ...props }) {
880
- return /* @__PURE__ */ jsx32(MuiTooltip, { arrow, ...props });
746
+ return /* @__PURE__ */ jsx13(MuiTooltip, { arrow, ...props });
881
747
  }
882
748
 
883
749
  // src/components/Typography/index.tsx
884
- import MuiTypography from "@mui/material/Typography";
885
- import { jsx as jsx33 } from "react/jsx-runtime";
886
- function Typography(props) {
887
- return /* @__PURE__ */ jsx33(MuiTypography, { ...props });
888
- }
750
+ import { default as default46 } from "@mui/material/Typography";
889
751
 
890
752
  // src/components/Accordion/index.tsx
891
- import MuiAccordion from "@mui/material/Accordion";
892
- import MuiAccordionSummary from "@mui/material/AccordionSummary";
893
- import MuiAccordionDetails from "@mui/material/AccordionDetails";
894
- import MuiAccordionActions from "@mui/material/AccordionActions";
895
- import { jsx as jsx34 } from "react/jsx-runtime";
896
- function Accordion(props) {
897
- return /* @__PURE__ */ jsx34(MuiAccordion, { ...props });
898
- }
899
- function AccordionSummary(props) {
900
- return /* @__PURE__ */ jsx34(MuiAccordionSummary, { ...props });
901
- }
902
- function AccordionDetails(props) {
903
- return /* @__PURE__ */ jsx34(MuiAccordionDetails, { ...props });
904
- }
905
- function AccordionActions(props) {
906
- return /* @__PURE__ */ jsx34(MuiAccordionActions, { ...props });
907
- }
753
+ import { default as default47 } from "@mui/material/Accordion";
754
+ import { default as default48 } from "@mui/material/AccordionSummary";
755
+ import { default as default49 } from "@mui/material/AccordionDetails";
756
+ import { default as default50 } from "@mui/material/AccordionActions";
908
757
 
909
758
  // src/components/AppBar/index.tsx
910
- import MuiAppBar from "@mui/material/AppBar";
911
- import MuiToolbar from "@mui/material/Toolbar";
912
759
  import MuiButton3 from "@mui/material/Button";
913
- import { jsx as jsx35 } from "react/jsx-runtime";
914
- function AppBar(props) {
915
- return /* @__PURE__ */ jsx35(MuiAppBar, { ...props });
916
- }
917
- function Toolbar(props) {
918
- return /* @__PURE__ */ jsx35(MuiToolbar, { ...props });
919
- }
760
+ import { default as default51 } from "@mui/material/AppBar";
761
+ import { default as default52 } from "@mui/material/Toolbar";
762
+ import { jsx as jsx14 } from "react/jsx-runtime";
920
763
  function AppBarNavItem({
921
764
  label,
922
765
  icon,
@@ -925,7 +768,7 @@ function AppBarNavItem({
925
768
  sx,
926
769
  ...props
927
770
  }) {
928
- return /* @__PURE__ */ jsx35(
771
+ return /* @__PURE__ */ jsx14(
929
772
  MuiButton3,
930
773
  {
931
774
  variant: "text",
@@ -972,13 +815,13 @@ function AppBarNavItem({
972
815
 
973
816
  // src/components/Card/index.tsx
974
817
  import MuiCard from "@mui/material/Card";
975
- import MuiCardContent from "@mui/material/CardContent";
976
- import MuiCardHeader from "@mui/material/CardHeader";
977
- import MuiCardActions from "@mui/material/CardActions";
978
- import MuiCardMedia from "@mui/material/CardMedia";
979
- import { jsx as jsx36 } from "react/jsx-runtime";
818
+ import { default as default53 } from "@mui/material/CardContent";
819
+ import { default as default54 } from "@mui/material/CardHeader";
820
+ import { default as default55 } from "@mui/material/CardActions";
821
+ import { default as default56 } from "@mui/material/CardMedia";
822
+ import { jsx as jsx15 } from "react/jsx-runtime";
980
823
  function Card({ color = "primary", sx, ...props }) {
981
- return /* @__PURE__ */ jsx36(
824
+ return /* @__PURE__ */ jsx15(
982
825
  MuiCard,
983
826
  {
984
827
  ...props,
@@ -989,116 +832,54 @@ function Card({ color = "primary", sx, ...props }) {
989
832
  }
990
833
  );
991
834
  }
992
- function CardContent(props) {
993
- return /* @__PURE__ */ jsx36(MuiCardContent, { ...props });
994
- }
995
- function CardHeader(props) {
996
- return /* @__PURE__ */ jsx36(MuiCardHeader, { ...props });
997
- }
998
- function CardActions(props) {
999
- return /* @__PURE__ */ jsx36(MuiCardActions, { ...props });
1000
- }
1001
- function CardMedia(props) {
1002
- return /* @__PURE__ */ jsx36(MuiCardMedia, { ...props });
1003
- }
1004
835
 
1005
836
  // src/components/CardActionArea/index.tsx
1006
- import MuiCardActionArea from "@mui/material/CardActionArea";
1007
- import { jsx as jsx37 } from "react/jsx-runtime";
1008
- function CardActionArea(props) {
1009
- return /* @__PURE__ */ jsx37(MuiCardActionArea, { ...props });
1010
- }
837
+ import { default as default57 } from "@mui/material/CardActionArea";
1011
838
 
1012
839
  // src/components/Drawer/index.tsx
1013
840
  import MuiDrawer from "@mui/material/Drawer";
1014
- import MuiSwipeableDrawer from "@mui/material/SwipeableDrawer";
1015
- import { jsx as jsx38 } from "react/jsx-runtime";
841
+ import { default as default58 } from "@mui/material/SwipeableDrawer";
842
+ import { jsx as jsx16 } from "react/jsx-runtime";
1016
843
  function Drawer({ anchor = "right", hideBackdrop = true, ...props }) {
1017
- return /* @__PURE__ */ jsx38(MuiDrawer, { anchor, hideBackdrop, ...props });
1018
- }
1019
- function SwipeableDrawer(props) {
1020
- return /* @__PURE__ */ jsx38(MuiSwipeableDrawer, { ...props });
844
+ return /* @__PURE__ */ jsx16(MuiDrawer, { anchor, hideBackdrop, ...props });
1021
845
  }
1022
846
 
1023
847
  // src/components/Paper/index.tsx
1024
848
  import MuiPaper from "@mui/material/Paper";
1025
- import { jsx as jsx39 } from "react/jsx-runtime";
849
+ import { jsx as jsx17 } from "react/jsx-runtime";
1026
850
  function Paper(props) {
1027
- return /* @__PURE__ */ jsx39(MuiPaper, { ...props });
851
+ return /* @__PURE__ */ jsx17(MuiPaper, { ...props });
1028
852
  }
1029
853
 
1030
854
  // src/components/Alert/index.tsx
1031
- import React2 from "react";
1032
- import MuiAlert from "@mui/material/Alert";
1033
- import MuiAlertTitle from "@mui/material/AlertTitle";
1034
- import { jsx as jsx40 } from "react/jsx-runtime";
1035
- var Alert = React2.forwardRef(function Alert2(props, ref) {
1036
- return /* @__PURE__ */ jsx40(MuiAlert, { ref, ...props });
1037
- });
1038
- function AlertTitle(props) {
1039
- return /* @__PURE__ */ jsx40(MuiAlertTitle, { ...props });
1040
- }
855
+ import { default as default59 } from "@mui/material/Alert";
856
+ import { default as default60 } from "@mui/material/AlertTitle";
1041
857
 
1042
858
  // src/components/Backdrop/index.tsx
1043
- import MuiBackdrop from "@mui/material/Backdrop";
1044
- import { jsx as jsx41 } from "react/jsx-runtime";
1045
- function Backdrop(props) {
1046
- return /* @__PURE__ */ jsx41(MuiBackdrop, { ...props });
1047
- }
859
+ import { default as default61 } from "@mui/material/Backdrop";
1048
860
 
1049
861
  // src/components/Dialog/index.tsx
1050
- import MuiDialog from "@mui/material/Dialog";
1051
- import MuiDialogTitle from "@mui/material/DialogTitle";
1052
- import MuiDialogContent from "@mui/material/DialogContent";
1053
- import MuiDialogActions from "@mui/material/DialogActions";
1054
- import MuiDialogContentText from "@mui/material/DialogContentText";
1055
- import { jsx as jsx42 } from "react/jsx-runtime";
1056
- function Dialog(props) {
1057
- return /* @__PURE__ */ jsx42(MuiDialog, { ...props });
1058
- }
1059
- function DialogTitle(props) {
1060
- return /* @__PURE__ */ jsx42(MuiDialogTitle, { ...props });
1061
- }
1062
- function DialogContent(props) {
1063
- return /* @__PURE__ */ jsx42(MuiDialogContent, { ...props });
1064
- }
1065
- function DialogActions(props) {
1066
- return /* @__PURE__ */ jsx42(MuiDialogActions, { ...props });
1067
- }
1068
- function DialogContentText(props) {
1069
- return /* @__PURE__ */ jsx42(MuiDialogContentText, { ...props });
1070
- }
862
+ import { default as default62 } from "@mui/material/Dialog";
863
+ import { default as default63 } from "@mui/material/DialogTitle";
864
+ import { default as default64 } from "@mui/material/DialogContent";
865
+ import { default as default65 } from "@mui/material/DialogActions";
866
+ import { default as default66 } from "@mui/material/DialogContentText";
1071
867
 
1072
868
  // src/components/Progress/index.tsx
1073
- import MuiLinearProgress from "@mui/material/LinearProgress";
1074
- import MuiCircularProgress from "@mui/material/CircularProgress";
1075
- import { jsx as jsx43 } from "react/jsx-runtime";
1076
- function LinearProgress(props) {
1077
- return /* @__PURE__ */ jsx43(MuiLinearProgress, { ...props });
1078
- }
1079
- function CircularProgress(props) {
1080
- return /* @__PURE__ */ jsx43(MuiCircularProgress, { ...props });
1081
- }
869
+ import { default as default67 } from "@mui/material/LinearProgress";
870
+ import { default as default68 } from "@mui/material/CircularProgress";
1082
871
 
1083
872
  // src/components/Skeleton/index.tsx
1084
- import MuiSkeleton from "@mui/material/Skeleton";
1085
- import { jsx as jsx44 } from "react/jsx-runtime";
1086
- function Skeleton(props) {
1087
- return /* @__PURE__ */ jsx44(MuiSkeleton, { ...props });
1088
- }
873
+ import { default as default69 } from "@mui/material/Skeleton";
1089
874
 
1090
875
  // src/components/Modal/index.tsx
1091
- import MuiModal from "@mui/material/Modal";
1092
- import { jsx as jsx45 } from "react/jsx-runtime";
1093
- function Modal(props) {
1094
- return /* @__PURE__ */ jsx45(MuiModal, { ...props });
1095
- }
876
+ import { default as default70 } from "@mui/material/Modal";
1096
877
 
1097
878
  // src/components/Popover/index.tsx
1098
879
  import MuiPopover from "@mui/material/Popover";
1099
- import { jsx as jsx46 } from "react/jsx-runtime";
880
+ import { jsx as jsx18 } from "react/jsx-runtime";
1100
881
  function Popover({ slotProps, ...props }) {
1101
- return /* @__PURE__ */ jsx46(
882
+ return /* @__PURE__ */ jsx18(
1102
883
  MuiPopover,
1103
884
  {
1104
885
  ...props,
@@ -1114,152 +895,66 @@ function Popover({ slotProps, ...props }) {
1114
895
  }
1115
896
 
1116
897
  // src/components/Snackbar/index.tsx
1117
- import MuiSnackbar from "@mui/material/Snackbar";
1118
- import { jsx as jsx47 } from "react/jsx-runtime";
1119
- function Snackbar(props) {
1120
- return /* @__PURE__ */ jsx47(MuiSnackbar, { ...props });
1121
- }
898
+ import { default as default71 } from "@mui/material/Snackbar";
1122
899
 
1123
900
  // src/components/SnackbarContent/index.tsx
1124
- import MuiSnackbarContent from "@mui/material/SnackbarContent";
1125
- import { jsx as jsx48 } from "react/jsx-runtime";
1126
- function SnackbarContent(props) {
1127
- return /* @__PURE__ */ jsx48(MuiSnackbarContent, { ...props });
1128
- }
901
+ import { default as default72 } from "@mui/material/SnackbarContent";
1129
902
 
1130
903
  // src/components/BottomNavigation/index.tsx
1131
- import MuiBottomNavigation from "@mui/material/BottomNavigation";
1132
- import MuiBottomNavigationAction from "@mui/material/BottomNavigationAction";
1133
- import { jsx as jsx49 } from "react/jsx-runtime";
1134
- function BottomNavigation(props) {
1135
- return /* @__PURE__ */ jsx49(MuiBottomNavigation, { ...props });
1136
- }
1137
- function BottomNavigationAction(props) {
1138
- return /* @__PURE__ */ jsx49(MuiBottomNavigationAction, { ...props });
1139
- }
904
+ import { default as default73 } from "@mui/material/BottomNavigation";
905
+ import { default as default74 } from "@mui/material/BottomNavigationAction";
1140
906
 
1141
907
  // src/components/Breadcrumbs/index.tsx
1142
- import MuiBreadcrumbs from "@mui/material/Breadcrumbs";
1143
- import { jsx as jsx50 } from "react/jsx-runtime";
1144
- function Breadcrumbs(props) {
1145
- return /* @__PURE__ */ jsx50(MuiBreadcrumbs, { ...props });
1146
- }
908
+ import { default as default75 } from "@mui/material/Breadcrumbs";
1147
909
 
1148
910
  // src/components/Link/index.tsx
1149
- import MuiLink from "@mui/material/Link";
1150
- import { jsx as jsx51 } from "react/jsx-runtime";
1151
- function Link(props) {
1152
- return /* @__PURE__ */ jsx51(MuiLink, { ...props });
1153
- }
911
+ import { default as default76 } from "@mui/material/Link";
1154
912
 
1155
913
  // src/components/Menu/index.tsx
1156
- import MuiMenu from "@mui/material/Menu";
1157
- import MuiMenuList from "@mui/material/MenuList";
1158
- import { jsx as jsx52 } from "react/jsx-runtime";
1159
- function Menu(props) {
1160
- return /* @__PURE__ */ jsx52(MuiMenu, { ...props });
1161
- }
1162
- function MenuList(props) {
1163
- return /* @__PURE__ */ jsx52(MuiMenuList, { ...props });
1164
- }
914
+ import { default as default77 } from "@mui/material/Menu";
915
+ import { default as default78 } from "@mui/material/MenuList";
1165
916
 
1166
917
  // src/components/MobileStepper/index.tsx
1167
- import MuiMobileStepper from "@mui/material/MobileStepper";
1168
- import { jsx as jsx53 } from "react/jsx-runtime";
1169
- function MobileStepper(props) {
1170
- return /* @__PURE__ */ jsx53(MuiMobileStepper, { ...props });
1171
- }
918
+ import { default as default79 } from "@mui/material/MobileStepper";
1172
919
 
1173
920
  // src/components/Pagination/index.tsx
1174
- import MuiPagination from "@mui/material/Pagination";
1175
- import { jsx as jsx54 } from "react/jsx-runtime";
1176
- function Pagination(props) {
1177
- return /* @__PURE__ */ jsx54(MuiPagination, { ...props });
1178
- }
921
+ import { default as default80 } from "@mui/material/Pagination";
1179
922
 
1180
923
  // src/components/PaginationItem/index.tsx
1181
- import MuiPaginationItem from "@mui/material/PaginationItem";
1182
- import { jsx as jsx55 } from "react/jsx-runtime";
1183
- function PaginationItem(props) {
1184
- return /* @__PURE__ */ jsx55(MuiPaginationItem, { ...props });
1185
- }
924
+ import { default as default81 } from "@mui/material/PaginationItem";
1186
925
 
1187
926
  // src/components/SpeedDial/index.tsx
1188
- import MuiSpeedDial from "@mui/material/SpeedDial";
1189
- import MuiSpeedDialAction from "@mui/material/SpeedDialAction";
1190
- import MuiSpeedDialIcon from "@mui/material/SpeedDialIcon";
1191
- import { jsx as jsx56 } from "react/jsx-runtime";
1192
- function SpeedDial(props) {
1193
- return /* @__PURE__ */ jsx56(MuiSpeedDial, { ...props });
1194
- }
1195
- function SpeedDialAction(props) {
1196
- return /* @__PURE__ */ jsx56(MuiSpeedDialAction, { ...props });
1197
- }
1198
- function SpeedDialIcon(props) {
1199
- return /* @__PURE__ */ jsx56(MuiSpeedDialIcon, { ...props });
1200
- }
927
+ import { default as default82 } from "@mui/material/SpeedDial";
928
+ import { default as default83 } from "@mui/material/SpeedDialAction";
929
+ import { default as default84 } from "@mui/material/SpeedDialIcon";
1201
930
 
1202
931
  // src/components/Stepper/index.tsx
1203
- import MuiStepper from "@mui/material/Stepper";
1204
- import MuiStep from "@mui/material/Step";
1205
- import MuiStepLabel from "@mui/material/StepLabel";
1206
- import MuiStepButton from "@mui/material/StepButton";
1207
- import MuiStepConnector from "@mui/material/StepConnector";
1208
- import MuiStepContent from "@mui/material/StepContent";
1209
- import MuiStepIcon from "@mui/material/StepIcon";
1210
- import { jsx as jsx57 } from "react/jsx-runtime";
1211
- function Stepper(props) {
1212
- return /* @__PURE__ */ jsx57(MuiStepper, { ...props });
1213
- }
1214
- function Step(props) {
1215
- return /* @__PURE__ */ jsx57(MuiStep, { ...props });
1216
- }
1217
- function StepLabel(props) {
1218
- return /* @__PURE__ */ jsx57(MuiStepLabel, { ...props });
1219
- }
1220
- function StepButton(props) {
1221
- return /* @__PURE__ */ jsx57(MuiStepButton, { ...props });
1222
- }
1223
- function StepConnector(props) {
1224
- return /* @__PURE__ */ jsx57(MuiStepConnector, { ...props });
1225
- }
1226
- function StepContent(props) {
1227
- return /* @__PURE__ */ jsx57(MuiStepContent, { ...props });
1228
- }
1229
- function StepIcon(props) {
1230
- return /* @__PURE__ */ jsx57(MuiStepIcon, { ...props });
1231
- }
932
+ import { default as default85 } from "@mui/material/Stepper";
933
+ import { default as default86 } from "@mui/material/Step";
934
+ import { default as default87 } from "@mui/material/StepLabel";
935
+ import { default as default88 } from "@mui/material/StepButton";
936
+ import { default as default89 } from "@mui/material/StepConnector";
937
+ import { default as default90 } from "@mui/material/StepContent";
938
+ import { default as default91 } from "@mui/material/StepIcon";
1232
939
 
1233
940
  // src/components/Tabs/index.tsx
1234
- import MuiTabs from "@mui/material/Tabs";
1235
- import MuiTab from "@mui/material/Tab";
1236
- import { jsx as jsx58 } from "react/jsx-runtime";
1237
- function Tabs(props) {
1238
- return /* @__PURE__ */ jsx58(MuiTabs, { ...props });
1239
- }
1240
- function Tab(props) {
1241
- return /* @__PURE__ */ jsx58(MuiTab, { ...props });
1242
- }
941
+ import { default as default92 } from "@mui/material/Tabs";
942
+ import { default as default93 } from "@mui/material/Tab";
1243
943
 
1244
944
  // src/components/TabScrollButton/index.tsx
1245
- import MuiTabScrollButton from "@mui/material/TabScrollButton";
1246
- import { jsx as jsx59 } from "react/jsx-runtime";
1247
- function TabScrollButton(props) {
1248
- return /* @__PURE__ */ jsx59(MuiTabScrollButton, { ...props });
1249
- }
945
+ import { default as default94 } from "@mui/material/TabScrollButton";
1250
946
 
1251
947
  // src/components/Sidebar/index.tsx
1252
948
  import { createContext, useContext } from "react";
1253
949
  import MuiDrawer2 from "@mui/material/Drawer";
1254
950
  import Box2 from "@mui/material/Box";
1255
- import IconButton3 from "@mui/material/IconButton";
1256
951
  import ChevronLeftOutlined from "@mui/icons-material/ChevronLeftOutlined";
1257
952
  import ChevronRightOutlined from "@mui/icons-material/ChevronRightOutlined";
1258
- import MuiListItemButton2 from "@mui/material/ListItemButton";
1259
- import ListItemIcon2 from "@mui/material/ListItemIcon";
1260
- import ListItemText2 from "@mui/material/ListItemText";
953
+ import MuiListItemButton from "@mui/material/ListItemButton";
954
+ import ListItemIcon from "@mui/material/ListItemIcon";
955
+ import ListItemText from "@mui/material/ListItemText";
1261
956
  import MuiTooltip2 from "@mui/material/Tooltip";
1262
- import { jsx as jsx60, jsxs as jsxs3 } from "react/jsx-runtime";
957
+ import { jsx as jsx19, jsxs as jsxs3 } from "react/jsx-runtime";
1263
958
  var SidebarContext = createContext({
1264
959
  open: true,
1265
960
  collapsedWidth: 48,
@@ -1289,93 +984,124 @@ function SidebarNav({
1289
984
  onMouseEnter: () => onOpenChange(true),
1290
985
  onMouseLeave: () => onOpenChange(false)
1291
986
  } : {};
1292
- return /* @__PURE__ */ jsx60(SidebarContext.Provider, { value: { open, collapsedWidth, expandedWidth }, children: /* @__PURE__ */ jsxs3(Box2, { sx: { position: "relative", width: layoutWidth, flexShrink: 0 }, children: [
1293
- /* @__PURE__ */ jsx60(
1294
- MuiDrawer2,
1295
- {
1296
- variant: "permanent",
1297
- ...rest,
1298
- ...hoverHandlers,
1299
- sx: {
1300
- width: drawerWidth,
1301
- flexShrink: 0,
1302
- "& .MuiDrawer-paper": {
1303
- width: drawerWidth,
1304
- transition: "width 200ms ease-in-out",
1305
- overflowX: "hidden",
1306
- boxSizing: "border-box",
1307
- ...isHover && { zIndex: (theme) => theme.zIndex.drawer + 2 }
1308
- },
1309
- ...sx
1310
- },
1311
- children: /* @__PURE__ */ jsxs3(
1312
- Box2,
987
+ return /* @__PURE__ */ jsx19(SidebarContext.Provider, { value: { open, collapsedWidth, expandedWidth }, children: /* @__PURE__ */ jsxs3(
988
+ Box2,
989
+ {
990
+ sx: {
991
+ position: "relative",
992
+ width: layoutWidth,
993
+ flexShrink: 0,
994
+ // Match the drawer paper's width animation so the absolutely-
995
+ // positioned toggle (pinned to this box's right edge) glides with the
996
+ // sidebar instead of jumping. Constant in hover mode → no-op there.
997
+ transition: "width 200ms ease-in-out"
998
+ },
999
+ children: [
1000
+ /* @__PURE__ */ jsx19(
1001
+ MuiDrawer2,
1313
1002
  {
1003
+ variant: "permanent",
1004
+ ...rest,
1005
+ ...hoverHandlers,
1314
1006
  sx: {
1315
- display: "flex",
1316
- flexDirection: "column",
1317
- height: "100%",
1318
- overflow: "hidden"
1007
+ width: drawerWidth,
1008
+ flexShrink: 0,
1009
+ "& .MuiDrawer-paper": {
1010
+ width: drawerWidth,
1011
+ transition: "width 200ms ease-in-out",
1012
+ overflowX: "hidden",
1013
+ boxSizing: "border-box",
1014
+ ...isHover && { zIndex: (theme) => theme.zIndex.drawer + 2 }
1015
+ },
1016
+ ...sx
1319
1017
  },
1320
- children: [
1321
- header && /* @__PURE__ */ jsx60(Box2, { sx: { flexShrink: 0 }, children: header }),
1322
- /* @__PURE__ */ jsx60(Box2, { sx: { flexGrow: 1, overflowY: "auto", overflowX: "hidden" }, children }),
1323
- footer && /* @__PURE__ */ jsx60(Box2, { sx: { flexShrink: 0 }, children: footer })
1324
- ]
1018
+ children: /* @__PURE__ */ jsxs3(
1019
+ Box2,
1020
+ {
1021
+ sx: {
1022
+ display: "flex",
1023
+ flexDirection: "column",
1024
+ height: "100%",
1025
+ overflow: "hidden"
1026
+ },
1027
+ children: [
1028
+ header && /* @__PURE__ */ jsx19(Box2, { sx: { flexShrink: 0 }, children: header }),
1029
+ /* @__PURE__ */ jsx19(Box2, { sx: { flexGrow: 1, overflowY: "auto", overflowX: "hidden" }, children }),
1030
+ footer && /* @__PURE__ */ jsx19(Box2, { sx: { flexShrink: 0 }, children: footer })
1031
+ ]
1032
+ }
1033
+ )
1325
1034
  }
1326
- )
1327
- }
1328
- ),
1329
- shouldShowToggle && /* @__PURE__ */ jsx60(
1330
- IconButton3,
1331
- {
1332
- size: "small",
1333
- onClick: () => onOpenChange(!open),
1334
- sx: {
1335
- position: "absolute",
1336
- top: "50%",
1337
- right: 0,
1338
- transform: "translate(50%, -50%)",
1339
- zIndex: (theme) => theme.zIndex.drawer + 1,
1340
- width: 28,
1341
- height: 28,
1342
- border: 1,
1343
- borderColor: "divider",
1344
- backgroundColor: "background.paper",
1345
- boxShadow: 1,
1346
- "&:hover": {
1347
- backgroundColor: "action.hover"
1348
- },
1349
- "& .MuiSvgIcon-root": {
1350
- fontSize: 18
1035
+ ),
1036
+ shouldShowToggle && // The forest Button carries the faux-3D bevel/glaze/press, sized down
1037
+ // to a square icon toggle. Face is the tonal secondary (light grey in
1038
+ // light / charcoal in dark), not the primary brand fill — the toggle
1039
+ // is a utility control, not a call to action.
1040
+ /* @__PURE__ */ jsx19(
1041
+ Button,
1042
+ {
1043
+ "aria-label": open ? "Collapse sidebar" : "Expand sidebar",
1044
+ onClick: () => onOpenChange(!open),
1045
+ sx: (theme) => ({
1046
+ position: "absolute",
1047
+ top: "50%",
1048
+ right: 0,
1049
+ transform: "translate(50%, -50%)",
1050
+ zIndex: theme.zIndex.drawer + 1,
1051
+ minWidth: 0,
1052
+ width: 28,
1053
+ height: 28,
1054
+ padding: 0,
1055
+ backgroundColor: `var(--mui-palette-bg-quaternary, ${bg.quaternary})`,
1056
+ color: `var(--mui-palette-text-primary, ${text.primary})`,
1057
+ // Light-grey standard border instead of the contained bevel's
1058
+ // darker greyscale (fg.tertiary) — the toggle is a light utility
1059
+ // control, so the heavier border read too dark.
1060
+ borderColor: `var(--mui-palette-border-primary, ${border.primary})`,
1061
+ "& .MuiSvgIcon-root": {
1062
+ fontSize: 18
1063
+ },
1064
+ "&:hover": {
1065
+ backgroundColor: `var(--mui-palette-bg-active, ${bg.active})`,
1066
+ // The contained brightness lift assumes a dark face — on the
1067
+ // light-grey light-mode face it would blow out. In dark the
1068
+ // hover token matches the face, so a small lift is the cue.
1069
+ filter: "none",
1070
+ ...theme.applyStyles("dark", { filter: "brightness(1.15)" })
1071
+ }
1072
+ }),
1073
+ children: open ? /* @__PURE__ */ jsx19(ChevronLeftOutlined, {}) : /* @__PURE__ */ jsx19(ChevronRightOutlined, {})
1351
1074
  }
1352
- },
1353
- children: open ? /* @__PURE__ */ jsx60(ChevronLeftOutlined, {}) : /* @__PURE__ */ jsx60(ChevronRightOutlined, {})
1354
- }
1355
- )
1356
- ] }) });
1075
+ )
1076
+ ]
1077
+ }
1078
+ ) });
1357
1079
  }
1358
1080
  var itemSx = {
1359
- borderRadius: 1,
1360
- backgroundColor: bg.primary,
1361
- color: text.secondary,
1081
+ // Preset radius.md (4px) — same corner radius as buttons and inputs.
1082
+ borderRadius: "4px",
1083
+ // 4px gap between stacked items, independent of the container (List/flex).
1084
+ marginBottom: "4px",
1085
+ "&:last-of-type": { marginBottom: 0 },
1086
+ backgroundColor: `var(--mui-palette-bg-primary, ${bg.primary})`,
1087
+ color: `var(--mui-palette-text-secondary, ${text.secondary})`,
1362
1088
  "& .MuiListItemIcon-root": {
1363
- color: navColors.itemIconFg
1089
+ color: `var(--mui-palette-navColors-itemIconFg, ${navColors.itemIconFg})`
1364
1090
  },
1365
1091
  "&:hover": {
1366
- backgroundColor: bg.primaryHover
1092
+ backgroundColor: `var(--mui-palette-bg-primaryHover, ${bg.primaryHover})`
1367
1093
  },
1368
1094
  "&.Mui-selected": {
1369
- backgroundColor: bg.active,
1370
- color: text.primary,
1095
+ backgroundColor: `var(--mui-palette-bg-active, ${bg.active})`,
1096
+ color: `var(--mui-palette-text-primary, ${text.primary})`,
1371
1097
  "& .MuiListItemIcon-root": {
1372
- color: navColors.itemIconFgActive
1098
+ color: `var(--mui-palette-navColors-itemIconFgActive, ${navColors.itemIconFgActive})`
1373
1099
  },
1374
1100
  "& .MuiListItemText-primary": {
1375
1101
  fontWeight: 600
1376
1102
  },
1377
1103
  "&:hover": {
1378
- backgroundColor: bg.primaryHover
1104
+ backgroundColor: `var(--mui-palette-bg-primaryHover, ${bg.primaryHover})`
1379
1105
  }
1380
1106
  }
1381
1107
  };
@@ -1388,8 +1114,8 @@ function SidebarItem({
1388
1114
  }) {
1389
1115
  const { open } = useSidebar();
1390
1116
  if (!open) {
1391
- return /* @__PURE__ */ jsx60(MuiTooltip2, { title: label, placement: "right", arrow: true, children: /* @__PURE__ */ jsx60(
1392
- MuiListItemButton2,
1117
+ return /* @__PURE__ */ jsx19(MuiTooltip2, { title: label, placement: "right", arrow: true, children: /* @__PURE__ */ jsx19(
1118
+ MuiListItemButton,
1393
1119
  {
1394
1120
  ...rest,
1395
1121
  sx: {
@@ -1397,19 +1123,19 @@ function SidebarItem({
1397
1123
  display: "flex",
1398
1124
  justifyContent: "center",
1399
1125
  alignItems: "center",
1400
- width: 40,
1401
- height: 40,
1126
+ width: 32,
1127
+ height: 32,
1402
1128
  padding: 0,
1403
- margin: "0 auto",
1129
+ marginInline: "auto",
1404
1130
  ...sx
1405
1131
  },
1406
- children: /* @__PURE__ */ jsx60(ListItemIcon2, { sx: { minWidth: "unset", margin: 0, "& .MuiSvgIcon-root": { fontSize: 20 } }, children: icon })
1132
+ children: /* @__PURE__ */ jsx19(ListItemIcon, { sx: { minWidth: "unset", margin: 0, "& .MuiSvgIcon-root": { fontSize: 20 } }, children: icon })
1407
1133
  }
1408
1134
  ) });
1409
1135
  }
1410
- return /* @__PURE__ */ jsxs3(MuiListItemButton2, { ...rest, sx: { ...itemSx, height: 40, ...sx }, children: [
1411
- /* @__PURE__ */ jsx60(ListItemIcon2, { sx: { "& .MuiSvgIcon-root": { fontSize: 20 } }, children: icon }),
1412
- /* @__PURE__ */ jsx60(ListItemText2, { primary: label }),
1136
+ return /* @__PURE__ */ jsxs3(MuiListItemButton, { ...rest, sx: { ...itemSx, height: 32, ...sx }, children: [
1137
+ /* @__PURE__ */ jsx19(ListItemIcon, { sx: { minWidth: 32, "& .MuiSvgIcon-root": { fontSize: 20 } }, children: icon }),
1138
+ /* @__PURE__ */ jsx19(ListItemText, { primary: label }),
1413
1139
  endAdornment
1414
1140
  ] });
1415
1141
  }
@@ -1431,91 +1157,47 @@ import MuiContainer from "@mui/material/Container";
1431
1157
  var Container = MuiContainer;
1432
1158
 
1433
1159
  // src/components/Collapse/index.tsx
1434
- import MuiCollapse from "@mui/material/Collapse";
1435
- import { jsx as jsx61 } from "react/jsx-runtime";
1436
- function Collapse(props) {
1437
- return /* @__PURE__ */ jsx61(MuiCollapse, { ...props });
1438
- }
1160
+ import { default as default95 } from "@mui/material/Collapse";
1439
1161
 
1440
1162
  // src/components/Fade/index.tsx
1441
- import MuiFade from "@mui/material/Fade";
1442
- import { jsx as jsx62 } from "react/jsx-runtime";
1443
- function Fade(props) {
1444
- return /* @__PURE__ */ jsx62(MuiFade, { ...props });
1445
- }
1163
+ import { default as default96 } from "@mui/material/Fade";
1446
1164
 
1447
1165
  // src/components/Grow/index.tsx
1448
- import MuiGrow from "@mui/material/Grow";
1449
- import { jsx as jsx63 } from "react/jsx-runtime";
1450
- function Grow(props) {
1451
- return /* @__PURE__ */ jsx63(MuiGrow, { ...props });
1452
- }
1166
+ import { default as default97 } from "@mui/material/Grow";
1453
1167
 
1454
1168
  // src/components/Slide/index.tsx
1455
- import MuiSlide from "@mui/material/Slide";
1456
- import { jsx as jsx64 } from "react/jsx-runtime";
1457
- function Slide(props) {
1458
- return /* @__PURE__ */ jsx64(MuiSlide, { ...props });
1459
- }
1169
+ import { default as default98 } from "@mui/material/Slide";
1460
1170
 
1461
1171
  // src/components/Zoom/index.tsx
1462
- import MuiZoom from "@mui/material/Zoom";
1463
- import { jsx as jsx65 } from "react/jsx-runtime";
1464
- function Zoom(props) {
1465
- return /* @__PURE__ */ jsx65(MuiZoom, { ...props });
1466
- }
1172
+ import { default as default99 } from "@mui/material/Zoom";
1467
1173
 
1468
1174
  // src/components/ButtonBase/index.tsx
1469
- import MuiButtonBase from "@mui/material/ButtonBase";
1470
- import { jsx as jsx66 } from "react/jsx-runtime";
1471
- function ButtonBase(props) {
1472
- return /* @__PURE__ */ jsx66(MuiButtonBase, { ...props });
1473
- }
1175
+ import { default as default100 } from "@mui/material/ButtonBase";
1474
1176
 
1475
1177
  // src/components/ClickAwayListener/index.tsx
1476
- import MuiClickAwayListener from "@mui/material/ClickAwayListener";
1477
- import { jsx as jsx67 } from "react/jsx-runtime";
1478
- function ClickAwayListener(props) {
1479
- return /* @__PURE__ */ jsx67(MuiClickAwayListener, { ...props });
1480
- }
1178
+ import { default as default101 } from "@mui/material/ClickAwayListener";
1481
1179
 
1482
1180
  // src/components/GlobalStyles/index.tsx
1483
- import MuiGlobalStyles from "@mui/material/GlobalStyles";
1484
- import { jsx as jsx68 } from "react/jsx-runtime";
1485
- function GlobalStyles(props) {
1486
- return /* @__PURE__ */ jsx68(MuiGlobalStyles, { ...props });
1487
- }
1181
+ import { default as default102 } from "@mui/material/GlobalStyles";
1488
1182
 
1489
1183
  // src/components/NoSsr/index.tsx
1490
- import { default as default2 } from "@mui/material/NoSsr";
1184
+ import { default as default103 } from "@mui/material/NoSsr";
1491
1185
 
1492
1186
  // src/components/Popper/index.tsx
1493
- import MuiPopper from "@mui/material/Popper";
1494
- import { jsx as jsx69 } from "react/jsx-runtime";
1495
- function Popper(props) {
1496
- return /* @__PURE__ */ jsx69(MuiPopper, { ...props });
1497
- }
1187
+ import { default as default104 } from "@mui/material/Popper";
1498
1188
 
1499
1189
  // src/components/Portal/index.tsx
1500
1190
  import MuiPortal from "@mui/material/Portal";
1501
1191
  var Portal = MuiPortal;
1502
1192
 
1503
1193
  // src/components/Slider/index.tsx
1504
- import MuiSlider from "@mui/material/Slider";
1505
- import { jsx as jsx70 } from "react/jsx-runtime";
1506
- function Slider(props) {
1507
- return /* @__PURE__ */ jsx70(MuiSlider, { ...props });
1508
- }
1194
+ import { default as default105 } from "@mui/material/Slider";
1509
1195
 
1510
1196
  // src/components/SvgIcon/index.tsx
1511
- import MuiSvgIcon from "@mui/material/SvgIcon";
1512
- import { jsx as jsx71 } from "react/jsx-runtime";
1513
- function SvgIcon(props) {
1514
- return /* @__PURE__ */ jsx71(MuiSvgIcon, { ...props });
1515
- }
1197
+ import { default as default106 } from "@mui/material/SvgIcon";
1516
1198
 
1517
1199
  // src/components/TextareaAutosize/index.tsx
1518
- import { default as default3 } from "@mui/material/TextareaAutosize";
1200
+ import { default as default107 } from "@mui/material/TextareaAutosize";
1519
1201
 
1520
1202
  // src/components/Charts/LineChart.tsx
1521
1203
  import {
@@ -1533,9 +1215,9 @@ function useChartColors(count) {
1533
1215
  }
1534
1216
 
1535
1217
  // src/components/Charts/CustomTooltip.tsx
1536
- import { Box as Box4, Typography as Typography2 } from "@mui/material";
1218
+ import { Box as Box4, Typography } from "@mui/material";
1537
1219
  import { useTheme as useTheme2 } from "@mui/material/styles";
1538
- import { jsx as jsx72, jsxs as jsxs4 } from "react/jsx-runtime";
1220
+ import { jsx as jsx20, jsxs as jsxs4 } from "react/jsx-runtime";
1539
1221
  function formatDate(date) {
1540
1222
  if (!date) return "";
1541
1223
  const d = new Date(date);
@@ -1576,8 +1258,8 @@ function CustomTooltip(props) {
1576
1258
  border: `1px solid ${theme.palette.divider}`
1577
1259
  },
1578
1260
  children: [
1579
- /* @__PURE__ */ jsx72(
1580
- Typography2,
1261
+ /* @__PURE__ */ jsx20(
1262
+ Typography,
1581
1263
  {
1582
1264
  variant: "body2",
1583
1265
  sx: {
@@ -1593,8 +1275,8 @@ function CustomTooltip(props) {
1593
1275
  const color = typeof s.getColor === "function" ? s.getColor(dataIndex) : s.color;
1594
1276
  const value = s.data ? s.data[dataIndex] : null;
1595
1277
  if (value == null) return null;
1596
- return /* @__PURE__ */ jsx72(Box4, { sx: { display: "flex", flexDirection: "column", gap: "6px" }, children: /* @__PURE__ */ jsxs4(Box4, { sx: { display: "flex", alignItems: "center", gap: "8px" }, children: [
1597
- /* @__PURE__ */ jsx72(
1278
+ return /* @__PURE__ */ jsx20(Box4, { sx: { display: "flex", flexDirection: "column", gap: "6px" }, children: /* @__PURE__ */ jsxs4(Box4, { sx: { display: "flex", alignItems: "center", gap: "8px" }, children: [
1279
+ /* @__PURE__ */ jsx20(
1598
1280
  Box4,
1599
1281
  {
1600
1282
  sx: {
@@ -1607,7 +1289,7 @@ function CustomTooltip(props) {
1607
1289
  }
1608
1290
  ),
1609
1291
  /* @__PURE__ */ jsxs4(
1610
- Typography2,
1292
+ Typography,
1611
1293
  {
1612
1294
  variant: "body2",
1613
1295
  sx: {
@@ -1617,7 +1299,7 @@ function CustomTooltip(props) {
1617
1299
  gap: "6px"
1618
1300
  },
1619
1301
  children: [
1620
- /* @__PURE__ */ jsx72(
1302
+ /* @__PURE__ */ jsx20(
1621
1303
  Box4,
1622
1304
  {
1623
1305
  component: "span",
@@ -1645,7 +1327,7 @@ function CustomTooltip(props) {
1645
1327
  }
1646
1328
 
1647
1329
  // src/components/Charts/LineChart.tsx
1648
- import { jsx as jsx73 } from "react/jsx-runtime";
1330
+ import { jsx as jsx21 } from "react/jsx-runtime";
1649
1331
  function LineChart({ series, colors, ...props }) {
1650
1332
  var _a, _b;
1651
1333
  const theme = useTheme3();
@@ -1659,7 +1341,7 @@ function LineChart({ series, colors, ...props }) {
1659
1341
  highlightScope: (_b2 = s.highlightScope) != null ? _b2 : { highlighted: "item", faded: "global" }
1660
1342
  };
1661
1343
  });
1662
- return /* @__PURE__ */ jsx73(
1344
+ return /* @__PURE__ */ jsx21(
1663
1345
  MuiLineChart,
1664
1346
  {
1665
1347
  series: modifiedSeries != null ? modifiedSeries : [],
@@ -1733,7 +1415,7 @@ import {
1733
1415
  BarChart as MuiBarChart
1734
1416
  } from "@mui/x-charts/BarChart";
1735
1417
  import { useTheme as useTheme4 } from "@mui/material/styles";
1736
- import { jsx as jsx74, jsxs as jsxs5 } from "react/jsx-runtime";
1418
+ import { jsx as jsx22, jsxs as jsxs5 } from "react/jsx-runtime";
1737
1419
  function BarChart({ series, colors, ...props }) {
1738
1420
  var _a, _b;
1739
1421
  const theme = useTheme4();
@@ -1751,7 +1433,7 @@ function BarChart({ series, colors, ...props }) {
1751
1433
  highlightScope: (_a2 = s.highlightScope) != null ? _a2 : { highlighted: "item", faded: "global" }
1752
1434
  };
1753
1435
  });
1754
- return /* @__PURE__ */ jsx74(
1436
+ return /* @__PURE__ */ jsx22(
1755
1437
  MuiBarChart,
1756
1438
  {
1757
1439
  series: modifiedSeries != null ? modifiedSeries : [],
@@ -1811,7 +1493,7 @@ function BarChart({ series, colors, ...props }) {
1811
1493
  ...(_b = props.sx) != null ? _b : {}
1812
1494
  },
1813
1495
  ...props,
1814
- children: /* @__PURE__ */ jsx74("defs", { children: series == null ? void 0 : series.map((s, idx) => {
1496
+ children: /* @__PURE__ */ jsx22("defs", { children: series == null ? void 0 : series.map((s, idx) => {
1815
1497
  if (s.variant !== "striped") return null;
1816
1498
  const baseColor = s.color || resolvedColors[idx % resolvedColors.length];
1817
1499
  return /* @__PURE__ */ jsxs5(
@@ -1823,8 +1505,8 @@ function BarChart({ series, colors, ...props }) {
1823
1505
  height: "8",
1824
1506
  patternTransform: "rotate(45)",
1825
1507
  children: [
1826
- /* @__PURE__ */ jsx74("rect", { width: "8", height: "8", fill: theme.palette.background.paper }),
1827
- /* @__PURE__ */ jsx74("line", { x1: "0", y: "0", x2: "0", y2: "8", stroke: baseColor, strokeWidth: "4" })
1508
+ /* @__PURE__ */ jsx22("rect", { width: "8", height: "8", fill: theme.palette.background.paper }),
1509
+ /* @__PURE__ */ jsx22("line", { x1: "0", y: "0", x2: "0", y2: "8", stroke: baseColor, strokeWidth: "4" })
1828
1510
  ]
1829
1511
  },
1830
1512
  `striped-${idx}`
@@ -1839,7 +1521,7 @@ import {
1839
1521
  PieChart as MuiPieChart
1840
1522
  } from "@mui/x-charts/PieChart";
1841
1523
  import { useTheme as useTheme5 } from "@mui/material/styles";
1842
- import { jsx as jsx75 } from "react/jsx-runtime";
1524
+ import { jsx as jsx23 } from "react/jsx-runtime";
1843
1525
  function PieChart({ series, colors, ...props }) {
1844
1526
  var _a, _b, _c, _d;
1845
1527
  const theme = useTheme5();
@@ -1853,7 +1535,7 @@ function PieChart({ series, colors, ...props }) {
1853
1535
  highlightScope: (_a2 = s.highlightScope) != null ? _a2 : { highlighted: "item", faded: "global" }
1854
1536
  };
1855
1537
  });
1856
- return /* @__PURE__ */ jsx75(
1538
+ return /* @__PURE__ */ jsx23(
1857
1539
  MuiPieChart,
1858
1540
  {
1859
1541
  series: modifiedSeries != null ? modifiedSeries : [],
@@ -1954,7 +1636,7 @@ var forestLegendSlotProps = {
1954
1636
  };
1955
1637
 
1956
1638
  // src/components/Charts/ScatterChart.tsx
1957
- import { jsx as jsx76 } from "react/jsx-runtime";
1639
+ import { jsx as jsx24 } from "react/jsx-runtime";
1958
1640
  function ScatterChart({ series, colors, ...props }) {
1959
1641
  var _a, _b;
1960
1642
  const theme = useTheme6();
@@ -1966,7 +1648,7 @@ function ScatterChart({ series, colors, ...props }) {
1966
1648
  highlightScope: (_a2 = s.highlightScope) != null ? _a2 : { highlighted: "item", faded: "global" }
1967
1649
  };
1968
1650
  });
1969
- return /* @__PURE__ */ jsx76(
1651
+ return /* @__PURE__ */ jsx24(
1970
1652
  MuiScatterChart,
1971
1653
  {
1972
1654
  series: modifiedSeries != null ? modifiedSeries : [],
@@ -1987,11 +1669,11 @@ import {
1987
1669
  Gauge as MuiGauge
1988
1670
  } from "@mui/x-charts/Gauge";
1989
1671
  import { useTheme as useTheme7 } from "@mui/material/styles";
1990
- import { jsx as jsx77 } from "react/jsx-runtime";
1672
+ import { jsx as jsx25 } from "react/jsx-runtime";
1991
1673
  function Gauge(props) {
1992
1674
  var _a;
1993
1675
  const theme = useTheme7();
1994
- return /* @__PURE__ */ jsx77(
1676
+ return /* @__PURE__ */ jsx25(
1995
1677
  MuiGauge,
1996
1678
  {
1997
1679
  ...props,
@@ -2080,42 +1762,42 @@ import { useScrollTrigger } from "@mui/material";
2080
1762
  import { useFormControl } from "@mui/material";
2081
1763
  import { useTheme as useTheme8 } from "@mui/material";
2082
1764
  export {
2083
- Accordion,
2084
- AccordionActions,
2085
- AccordionDetails,
2086
- AccordionSummary,
2087
- Alert,
2088
- AlertTitle,
1765
+ default47 as Accordion,
1766
+ default50 as AccordionActions,
1767
+ default49 as AccordionDetails,
1768
+ default48 as AccordionSummary,
1769
+ default59 as Alert,
1770
+ default60 as AlertTitle,
2089
1771
  AnimatedArea,
2090
1772
  AnimatedLine,
2091
- AppBar,
1773
+ default51 as AppBar,
2092
1774
  AppBarNavItem,
2093
1775
  AreaElement,
2094
1776
  AreaElementPath,
2095
1777
  AreaPlot,
2096
- Autocomplete,
2097
- Avatar,
2098
- AvatarGroup,
2099
- Backdrop,
2100
- Badge,
1778
+ default2 as Autocomplete,
1779
+ default21 as Avatar,
1780
+ default22 as AvatarGroup,
1781
+ default61 as Backdrop,
1782
+ default23 as Badge,
2101
1783
  BarChart,
2102
1784
  BarElement,
2103
1785
  BarElementPath,
2104
1786
  BarLabel,
2105
1787
  BarPlot,
2106
- BottomNavigation,
2107
- BottomNavigationAction,
1788
+ default73 as BottomNavigation,
1789
+ default74 as BottomNavigationAction,
2108
1790
  Box3 as Box,
2109
- Breadcrumbs,
1791
+ default75 as Breadcrumbs,
2110
1792
  Button,
2111
- ButtonBase,
1793
+ default100 as ButtonBase,
2112
1794
  ButtonGroup,
2113
1795
  Card,
2114
- CardActionArea,
2115
- CardActions,
2116
- CardContent,
2117
- CardHeader,
2118
- CardMedia,
1796
+ default57 as CardActionArea,
1797
+ default55 as CardActions,
1798
+ default53 as CardContent,
1799
+ default54 as CardHeader,
1800
+ default56 as CardMedia,
2119
1801
  ChartContainer,
2120
1802
  ChartsAxis,
2121
1803
  ChartsAxisHighlight,
@@ -2138,11 +1820,11 @@ export {
2138
1820
  ChartsVoronoiHandler,
2139
1821
  ChartsXAxis,
2140
1822
  ChartsYAxis,
2141
- Checkbox,
1823
+ default3 as Checkbox,
2142
1824
  Chip,
2143
- CircularProgress,
2144
- ClickAwayListener,
2145
- Collapse,
1825
+ default68 as CircularProgress,
1826
+ default101 as ClickAwayListener,
1827
+ default95 as Collapse,
2146
1828
  Container,
2147
1829
  ContinuousColorLegend,
2148
1830
  DataGrid,
@@ -2150,68 +1832,69 @@ export {
2150
1832
  DefaultChartsAxisTooltipContent,
2151
1833
  DefaultChartsItemTooltipContent,
2152
1834
  DefaultChartsLegend,
2153
- Dialog,
2154
- DialogActions,
2155
- DialogContent,
2156
- DialogContentText,
2157
- DialogTitle,
2158
- Divider,
1835
+ default62 as Dialog,
1836
+ default65 as DialogActions,
1837
+ default64 as DialogContent,
1838
+ default66 as DialogContentText,
1839
+ default63 as DialogTitle,
1840
+ default24 as Divider,
2159
1841
  Drawer,
2160
1842
  Fab,
2161
- Fade,
2162
- FilledInput,
1843
+ default96 as Fade,
1844
+ default20 as FilledInput,
2163
1845
  ForestProvider,
2164
- FormControl,
2165
- FormControlLabel,
2166
- FormGroup,
2167
- FormHelperText,
2168
- FormLabel,
1846
+ default11 as FormControl,
1847
+ default12 as FormControlLabel,
1848
+ default13 as FormGroup,
1849
+ default14 as FormHelperText,
1850
+ default15 as FormLabel,
2169
1851
  Gauge,
2170
1852
  GaugeContainer,
2171
1853
  GaugeReferenceArc,
2172
1854
  GaugeValueArc,
2173
1855
  GaugeValueText,
2174
- GlobalStyles,
1856
+ default102 as GlobalStyles,
2175
1857
  Grid,
2176
- Grow,
1858
+ default97 as Grow,
2177
1859
  HighlightedProvider,
2178
1860
  IconButton2 as IconButton,
2179
- ImageList,
2180
- ImageListItem,
2181
- ImageListItemBar,
2182
- Input,
2183
- InputAdornment2 as InputAdornment,
2184
- InputBase,
2185
- InputLabel,
1861
+ default25 as ImageList,
1862
+ default26 as ImageListItem,
1863
+ default27 as ImageListItemBar,
1864
+ InitColorSchemeScript,
1865
+ default8 as Input,
1866
+ default16 as InputAdornment,
1867
+ default17 as InputBase,
1868
+ default18 as InputLabel,
2186
1869
  LineChart,
2187
1870
  LineElement,
2188
1871
  LineElementPath,
2189
1872
  LineHighlightElement,
2190
1873
  LineHighlightPlot,
2191
1874
  LinePlot,
2192
- LinearProgress,
2193
- Link,
2194
- List,
2195
- ListItem,
2196
- ListItemAvatar,
2197
- ListItemButton,
2198
- ListItemIcon,
2199
- ListItemSecondaryAction,
2200
- ListItemText,
2201
- ListSubheader,
1875
+ default67 as LinearProgress,
1876
+ default76 as Link,
1877
+ default28 as List,
1878
+ default29 as ListItem,
1879
+ default33 as ListItemAvatar,
1880
+ default30 as ListItemButton,
1881
+ default31 as ListItemIcon,
1882
+ default35 as ListItemSecondaryAction,
1883
+ default32 as ListItemText,
1884
+ default34 as ListSubheader,
2202
1885
  Logo,
2203
1886
  MarkElement,
2204
1887
  MarkPlot,
2205
- Menu,
2206
- MenuItem,
2207
- MenuList,
2208
- MobileStepper,
2209
- Modal,
1888
+ default77 as Menu,
1889
+ default6 as MenuItem,
1890
+ default78 as MenuList,
1891
+ default79 as MobileStepper,
1892
+ default70 as Modal,
2210
1893
  MultiSelect,
2211
- default2 as NoSsr,
2212
- OutlinedInput,
2213
- Pagination,
2214
- PaginationItem,
1894
+ default103 as NoSsr,
1895
+ default19 as OutlinedInput,
1896
+ default80 as Pagination,
1897
+ default81 as PaginationItem,
2215
1898
  Paper,
2216
1899
  PieArc,
2217
1900
  PieArcLabel,
@@ -2221,11 +1904,11 @@ export {
2221
1904
  PiePlot,
2222
1905
  PiecewiseColorLegend,
2223
1906
  Popover,
2224
- Popper,
1907
+ default104 as Popper,
2225
1908
  Portal,
2226
- Radio,
2227
- RadioGroup,
2228
- Rating,
1909
+ default5 as Radio,
1910
+ default4 as RadioGroup,
1911
+ default36 as Rating,
2229
1912
  ResponsiveChartContainer,
2230
1913
  Scatter,
2231
1914
  ScatterChart,
@@ -2234,46 +1917,46 @@ export {
2234
1917
  Select,
2235
1918
  SidebarItem,
2236
1919
  SidebarNav,
2237
- Skeleton,
2238
- Slide,
2239
- Slider,
2240
- Snackbar,
2241
- SnackbarContent,
1920
+ default69 as Skeleton,
1921
+ default98 as Slide,
1922
+ default105 as Slider,
1923
+ default71 as Snackbar,
1924
+ default72 as SnackbarContent,
2242
1925
  SparkLineChart,
2243
- SpeedDial,
2244
- SpeedDialAction,
2245
- SpeedDialIcon,
1926
+ default82 as SpeedDial,
1927
+ default83 as SpeedDialAction,
1928
+ default84 as SpeedDialIcon,
2246
1929
  Stack,
2247
- Step,
2248
- StepButton,
2249
- StepConnector,
2250
- StepContent,
2251
- StepIcon,
2252
- StepLabel,
2253
- Stepper,
2254
- SvgIcon,
2255
- SwipeableDrawer,
1930
+ default86 as Step,
1931
+ default88 as StepButton,
1932
+ default89 as StepConnector,
1933
+ default90 as StepContent,
1934
+ default91 as StepIcon,
1935
+ default87 as StepLabel,
1936
+ default85 as Stepper,
1937
+ default106 as SvgIcon,
1938
+ default58 as SwipeableDrawer,
2256
1939
  Switch,
2257
- Tab,
2258
- TabScrollButton,
2259
- Table,
2260
- TableBody,
2261
- TableCell,
2262
- TableContainer,
2263
- TableFooter,
2264
- TableHead,
2265
- TablePagination,
2266
- TableRow,
2267
- TableSortLabel,
2268
- Tabs,
2269
- TextField,
2270
- default3 as TextareaAutosize,
2271
- ToggleButton,
2272
- ToggleButtonGroup,
2273
- Toolbar,
1940
+ default93 as Tab,
1941
+ default94 as TabScrollButton,
1942
+ default37 as Table,
1943
+ default38 as TableBody,
1944
+ default39 as TableCell,
1945
+ default40 as TableContainer,
1946
+ default43 as TableFooter,
1947
+ default41 as TableHead,
1948
+ default44 as TablePagination,
1949
+ default42 as TableRow,
1950
+ default45 as TableSortLabel,
1951
+ default92 as Tabs,
1952
+ default7 as TextField,
1953
+ default107 as TextareaAutosize,
1954
+ default9 as ToggleButton,
1955
+ default10 as ToggleButtonGroup,
1956
+ default52 as Toolbar,
2274
1957
  Tooltip,
2275
- Typography,
2276
- Zoom,
1958
+ default46 as Typography,
1959
+ default99 as Zoom,
2277
1960
  alpha,
2278
1961
  avatarColors,
2279
1962
  base,
@@ -2299,10 +1982,7 @@ export {
2299
1982
  fontFamilyMono,
2300
1983
  fontSize,
2301
1984
  fontWeight,
2302
- forestAgencyPreset,
2303
1985
  forestAlkemyPlusPreset,
2304
- forestExternalPreset,
2305
- forestInternalPreset,
2306
1986
  forestTheme,
2307
1987
  forestThemeOptions,
2308
1988
  getAvailablePresets,
@@ -2327,6 +2007,7 @@ export {
2327
2007
  useAxisTooltip,
2328
2008
  useChartColors,
2329
2009
  useChartId,
2010
+ useColorScheme,
2330
2011
  useDrawingArea,
2331
2012
  useFormControl,
2332
2013
  useGaugeState,