@matteoaliano/forest-ui 0.8.9 → 1.1.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 as useColorScheme2 } 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],
666
+ "& .MuiChip-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],
745
676
  "& .MuiChip-deleteIcon": {
746
- color: custom.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,26 +1123,232 @@ 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
  }
1416
1142
 
1143
+ // src/components/AppShell/index.tsx
1144
+ import { useState as useState2 } from "react";
1145
+ import Box3 from "@mui/material/Box";
1146
+ import MuiDrawer3 from "@mui/material/Drawer";
1147
+ import List from "@mui/material/List";
1148
+ import useMediaQuery from "@mui/material/useMediaQuery";
1149
+ import { useColorScheme, useTheme } from "@mui/material/styles";
1150
+ import MenuOutlined from "@mui/icons-material/MenuOutlined";
1151
+ import DarkModeOutlined from "@mui/icons-material/DarkModeOutlined";
1152
+ import LightModeOutlined from "@mui/icons-material/LightModeOutlined";
1153
+ import { jsx as jsx20, jsxs as jsxs4 } from "react/jsx-runtime";
1154
+ function ColorModeToggle() {
1155
+ const { mode, systemMode, setMode } = useColorScheme();
1156
+ const resolved = mode === "system" ? systemMode : mode;
1157
+ const isDark = resolved === "dark";
1158
+ return /* @__PURE__ */ jsx20(Tooltip, { title: isDark ? "Switch to light mode" : "Switch to dark mode", children: /* @__PURE__ */ jsx20(
1159
+ IconButton2,
1160
+ {
1161
+ size: "small",
1162
+ color: "inherit",
1163
+ "aria-label": "Toggle color mode",
1164
+ onClick: () => setMode(isDark ? "light" : "dark"),
1165
+ children: isDark ? /* @__PURE__ */ jsx20(LightModeOutlined, { fontSize: "small" }) : /* @__PURE__ */ jsx20(DarkModeOutlined, { fontSize: "small" })
1166
+ }
1167
+ ) });
1168
+ }
1169
+ function ShellBrand({
1170
+ product,
1171
+ logoVariant
1172
+ }) {
1173
+ const { mode, systemMode } = useColorScheme();
1174
+ const dark = (mode === "system" ? systemMode : mode) === "dark";
1175
+ if (logoVariant === "full") {
1176
+ return /* @__PURE__ */ jsx20(Logo, { product, variant: "logo", color: dark ? "negative" : "positive" });
1177
+ }
1178
+ return /* @__PURE__ */ jsx20(Logo, { product, variant: "logomark", color: dark ? "negative" : "default" });
1179
+ }
1180
+ function AppShell({
1181
+ navItems,
1182
+ nav,
1183
+ product = "studio",
1184
+ logoVariant = "logomark",
1185
+ brand,
1186
+ search,
1187
+ actions,
1188
+ sidebarBehavior = "permanent",
1189
+ defaultSidebarOpen = true,
1190
+ children
1191
+ }) {
1192
+ const theme = useTheme();
1193
+ const isMobile = useMediaQuery(theme.breakpoints.down("sm"));
1194
+ const [sidebarOpen, setSidebarOpen] = useState2(defaultSidebarOpen);
1195
+ const [mobileOpen, setMobileOpen] = useState2(false);
1196
+ const navContent = nav != null ? nav : navItems && /* @__PURE__ */ jsx20(List, { children: navItems.map(({ label, icon, active, endAdornment, ...link }) => /* @__PURE__ */ jsx20(
1197
+ SidebarItem,
1198
+ {
1199
+ icon,
1200
+ label,
1201
+ selected: active,
1202
+ endAdornment,
1203
+ ...link
1204
+ },
1205
+ label
1206
+ )) });
1207
+ const brandEl = brand != null ? brand : /* @__PURE__ */ jsx20(ShellBrand, { product, logoVariant });
1208
+ const wrapLogomark = !brand && logoVariant === "logomark" && !isMobile;
1209
+ return /* @__PURE__ */ jsxs4(Box3, { sx: { display: "flex", flexDirection: "column", height: "100vh" }, children: [
1210
+ /* @__PURE__ */ jsx20(
1211
+ default51,
1212
+ {
1213
+ position: "sticky",
1214
+ elevation: 0,
1215
+ sx: { zIndex: theme.zIndex.drawer + 1 },
1216
+ children: /* @__PURE__ */ jsxs4(default52, { variant: "dense", sx: { px: { xs: "16px", sm: "16px" } }, children: [
1217
+ /* @__PURE__ */ jsxs4(Box3, { sx: { flex: 1, display: "flex", alignItems: "center", justifyContent: "flex-start", gap: 1 }, children: [
1218
+ isMobile && /* @__PURE__ */ jsx20(
1219
+ IconButton2,
1220
+ {
1221
+ size: "small",
1222
+ color: "inherit",
1223
+ "aria-label": "Open navigation",
1224
+ onClick: () => setMobileOpen(true),
1225
+ children: /* @__PURE__ */ jsx20(MenuOutlined, { fontSize: "small" })
1226
+ }
1227
+ ),
1228
+ wrapLogomark ? /* @__PURE__ */ jsx20(Box3, { sx: { width: 48, ml: "-16px", display: "flex", justifyContent: "center" }, children: brandEl }) : brandEl
1229
+ ] }),
1230
+ /* @__PURE__ */ jsx20(Box3, { sx: { flex: 1, display: "flex", justifyContent: "center" }, children: search === true ? /* @__PURE__ */ jsx20(Search, { size: "small", placeholder: "Search\u2026", sx: { width: "100%", maxWidth: 480 } }) : search || null }),
1231
+ /* @__PURE__ */ jsxs4(Box3, { sx: { flex: 1, display: "flex", alignItems: "center", justifyContent: "flex-end", gap: 1 }, children: [
1232
+ /* @__PURE__ */ jsx20(ColorModeToggle, {}),
1233
+ actions
1234
+ ] })
1235
+ ] })
1236
+ }
1237
+ ),
1238
+ /* @__PURE__ */ jsxs4(Box3, { sx: { display: "flex", flexGrow: 1, overflow: "hidden" }, children: [
1239
+ !isMobile && navContent && /* @__PURE__ */ jsx20(
1240
+ SidebarNav,
1241
+ {
1242
+ open: sidebarOpen,
1243
+ onOpenChange: setSidebarOpen,
1244
+ behavior: sidebarBehavior,
1245
+ sx: {
1246
+ height: "100%",
1247
+ "& .MuiDrawer-paper": { position: "relative", height: "100%" }
1248
+ },
1249
+ children: navContent
1250
+ }
1251
+ ),
1252
+ /* @__PURE__ */ jsx20(Box3, { component: "main", sx: { flexGrow: 1, overflow: "auto" }, children })
1253
+ ] }),
1254
+ isMobile && navContent && /* @__PURE__ */ jsx20(
1255
+ MuiDrawer3,
1256
+ {
1257
+ open: mobileOpen,
1258
+ onClose: () => setMobileOpen(false),
1259
+ onClick: () => setMobileOpen(false),
1260
+ sx: { "& .MuiDrawer-paper": { width: 240 } },
1261
+ children: navContent
1262
+ }
1263
+ )
1264
+ ] });
1265
+ }
1266
+
1267
+ // src/components/Page/index.tsx
1268
+ import Box4 from "@mui/material/Box";
1269
+ import MuiBreadcrumbs from "@mui/material/Breadcrumbs";
1270
+ import MuiLink from "@mui/material/Link";
1271
+ import Typography from "@mui/material/Typography";
1272
+ import { jsx as jsx21, jsxs as jsxs5 } from "react/jsx-runtime";
1273
+ function Page({
1274
+ title,
1275
+ breadcrumbs,
1276
+ actions,
1277
+ disableGutters = false,
1278
+ maxWidth,
1279
+ sx,
1280
+ children
1281
+ }) {
1282
+ return /* @__PURE__ */ jsx21(
1283
+ Box4,
1284
+ {
1285
+ component: "section",
1286
+ sx: [
1287
+ {
1288
+ display: "flex",
1289
+ flexDirection: "column",
1290
+ minHeight: "100%",
1291
+ backgroundColor: "background.paper",
1292
+ ...disableGutters ? {} : { p: 3 }
1293
+ },
1294
+ ...Array.isArray(sx) ? sx : [sx]
1295
+ ],
1296
+ children: /* @__PURE__ */ jsxs5(
1297
+ Box4,
1298
+ {
1299
+ sx: {
1300
+ display: "flex",
1301
+ flexDirection: "column",
1302
+ flexGrow: 1,
1303
+ width: "100%",
1304
+ ...maxWidth ? { maxWidth, mx: "auto" } : {}
1305
+ },
1306
+ children: [
1307
+ breadcrumbs && breadcrumbs.length > 0 && /* @__PURE__ */ jsx21(MuiBreadcrumbs, { "aria-label": "breadcrumb", sx: { mb: 1 }, children: breadcrumbs.map(
1308
+ (crumb, i) => i === breadcrumbs.length - 1 ? (
1309
+ // Current page: plain text, not a link.
1310
+ /* @__PURE__ */ jsx21(Typography, { variant: "body2", color: "text.primary", children: crumb.label }, crumb.label)
1311
+ ) : /* @__PURE__ */ jsx21(
1312
+ MuiLink,
1313
+ {
1314
+ variant: "body2",
1315
+ underline: "hover",
1316
+ color: "text.secondary",
1317
+ ...crumb.component ? { component: crumb.component } : {},
1318
+ ...crumb.href ? { href: crumb.href } : {},
1319
+ ...crumb.onClick ? { onClick: crumb.onClick } : {},
1320
+ children: crumb.label
1321
+ },
1322
+ crumb.label
1323
+ )
1324
+ ) }),
1325
+ /* @__PURE__ */ jsxs5(
1326
+ Box4,
1327
+ {
1328
+ sx: {
1329
+ display: "flex",
1330
+ alignItems: "center",
1331
+ justifyContent: "space-between",
1332
+ gap: 2,
1333
+ mb: 3
1334
+ },
1335
+ children: [
1336
+ /* @__PURE__ */ jsx21(Typography, { variant: "h5", children: title }),
1337
+ actions && /* @__PURE__ */ jsx21(Box4, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: actions })
1338
+ ]
1339
+ }
1340
+ ),
1341
+ children
1342
+ ]
1343
+ }
1344
+ )
1345
+ }
1346
+ );
1347
+ }
1348
+
1417
1349
  // src/components/Box/index.tsx
1418
1350
  import MuiBox from "@mui/material/Box";
1419
- var Box3 = MuiBox;
1351
+ var Box5 = MuiBox;
1420
1352
 
1421
1353
  // src/components/Stack/index.tsx
1422
1354
  import MuiStack from "@mui/material/Stack";
@@ -1431,111 +1363,67 @@ import MuiContainer from "@mui/material/Container";
1431
1363
  var Container = MuiContainer;
1432
1364
 
1433
1365
  // 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
- }
1366
+ import { default as default95 } from "@mui/material/Collapse";
1439
1367
 
1440
1368
  // 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
- }
1369
+ import { default as default96 } from "@mui/material/Fade";
1446
1370
 
1447
1371
  // 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
- }
1372
+ import { default as default97 } from "@mui/material/Grow";
1453
1373
 
1454
1374
  // 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
- }
1375
+ import { default as default98 } from "@mui/material/Slide";
1460
1376
 
1461
1377
  // 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
- }
1378
+ import { default as default99 } from "@mui/material/Zoom";
1467
1379
 
1468
1380
  // 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
- }
1381
+ import { default as default100 } from "@mui/material/ButtonBase";
1474
1382
 
1475
1383
  // 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
- }
1384
+ import { default as default101 } from "@mui/material/ClickAwayListener";
1481
1385
 
1482
1386
  // 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
- }
1387
+ import { default as default102 } from "@mui/material/GlobalStyles";
1488
1388
 
1489
1389
  // src/components/NoSsr/index.tsx
1490
- import { default as default2 } from "@mui/material/NoSsr";
1390
+ import { default as default103 } from "@mui/material/NoSsr";
1491
1391
 
1492
1392
  // 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
- }
1393
+ import { default as default104 } from "@mui/material/Popper";
1498
1394
 
1499
1395
  // src/components/Portal/index.tsx
1500
1396
  import MuiPortal from "@mui/material/Portal";
1501
1397
  var Portal = MuiPortal;
1502
1398
 
1503
1399
  // 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
- }
1400
+ import { default as default105 } from "@mui/material/Slider";
1509
1401
 
1510
1402
  // 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
- }
1403
+ import { default as default106 } from "@mui/material/SvgIcon";
1516
1404
 
1517
1405
  // src/components/TextareaAutosize/index.tsx
1518
- import { default as default3 } from "@mui/material/TextareaAutosize";
1406
+ import { default as default107 } from "@mui/material/TextareaAutosize";
1519
1407
 
1520
1408
  // src/components/Charts/LineChart.tsx
1521
1409
  import {
1522
1410
  LineChart as MuiLineChart
1523
1411
  } from "@mui/x-charts/LineChart";
1524
- import { useTheme as useTheme3 } from "@mui/material/styles";
1412
+ import { useTheme as useTheme4 } from "@mui/material/styles";
1525
1413
 
1526
1414
  // src/components/Charts/useChartColors.ts
1527
- import { useTheme } from "@mui/material/styles";
1415
+ import { useTheme as useTheme2 } from "@mui/material/styles";
1528
1416
  function useChartColors(count) {
1529
- const theme = useTheme();
1417
+ const theme = useTheme2();
1530
1418
  const chart = theme.palette.chart;
1531
1419
  const colors = chart.series.map((s) => s.fg);
1532
1420
  return colors.slice(0, Math.min(count, colors.length));
1533
1421
  }
1534
1422
 
1535
1423
  // src/components/Charts/CustomTooltip.tsx
1536
- import { Box as Box4, Typography as Typography2 } from "@mui/material";
1537
- import { useTheme as useTheme2 } from "@mui/material/styles";
1538
- import { jsx as jsx72, jsxs as jsxs4 } from "react/jsx-runtime";
1424
+ import { Box as Box6, Typography as Typography2 } from "@mui/material";
1425
+ import { useTheme as useTheme3 } from "@mui/material/styles";
1426
+ import { jsx as jsx22, jsxs as jsxs6 } from "react/jsx-runtime";
1539
1427
  function formatDate(date) {
1540
1428
  if (!date) return "";
1541
1429
  const d = new Date(date);
@@ -1556,12 +1444,12 @@ function renderValue(val) {
1556
1444
  }
1557
1445
  function CustomTooltip(props) {
1558
1446
  const { series, axisValue, dataIndex } = props;
1559
- const theme = useTheme2();
1447
+ const theme = useTheme3();
1560
1448
  if (dataIndex == null) {
1561
1449
  return null;
1562
1450
  }
1563
- return /* @__PURE__ */ jsxs4(
1564
- Box4,
1451
+ return /* @__PURE__ */ jsxs6(
1452
+ Box6,
1565
1453
  {
1566
1454
  sx: {
1567
1455
  backgroundColor: theme.palette.common.white,
@@ -1576,7 +1464,7 @@ function CustomTooltip(props) {
1576
1464
  border: `1px solid ${theme.palette.divider}`
1577
1465
  },
1578
1466
  children: [
1579
- /* @__PURE__ */ jsx72(
1467
+ /* @__PURE__ */ jsx22(
1580
1468
  Typography2,
1581
1469
  {
1582
1470
  variant: "body2",
@@ -1593,9 +1481,9 @@ function CustomTooltip(props) {
1593
1481
  const color = typeof s.getColor === "function" ? s.getColor(dataIndex) : s.color;
1594
1482
  const value = s.data ? s.data[dataIndex] : null;
1595
1483
  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(
1598
- Box4,
1484
+ return /* @__PURE__ */ jsx22(Box6, { sx: { display: "flex", flexDirection: "column", gap: "6px" }, children: /* @__PURE__ */ jsxs6(Box6, { sx: { display: "flex", alignItems: "center", gap: "8px" }, children: [
1485
+ /* @__PURE__ */ jsx22(
1486
+ Box6,
1599
1487
  {
1600
1488
  sx: {
1601
1489
  width: 16,
@@ -1606,7 +1494,7 @@ function CustomTooltip(props) {
1606
1494
  }
1607
1495
  }
1608
1496
  ),
1609
- /* @__PURE__ */ jsxs4(
1497
+ /* @__PURE__ */ jsxs6(
1610
1498
  Typography2,
1611
1499
  {
1612
1500
  variant: "body2",
@@ -1617,8 +1505,8 @@ function CustomTooltip(props) {
1617
1505
  gap: "6px"
1618
1506
  },
1619
1507
  children: [
1620
- /* @__PURE__ */ jsx72(
1621
- Box4,
1508
+ /* @__PURE__ */ jsx22(
1509
+ Box6,
1622
1510
  {
1623
1511
  component: "span",
1624
1512
  sx: {
@@ -1645,10 +1533,10 @@ function CustomTooltip(props) {
1645
1533
  }
1646
1534
 
1647
1535
  // src/components/Charts/LineChart.tsx
1648
- import { jsx as jsx73 } from "react/jsx-runtime";
1536
+ import { jsx as jsx23 } from "react/jsx-runtime";
1649
1537
  function LineChart({ series, colors, ...props }) {
1650
1538
  var _a, _b;
1651
- const theme = useTheme3();
1539
+ const theme = useTheme4();
1652
1540
  const chart = theme.palette.chart;
1653
1541
  const seriesColors = useChartColors((_a = series == null ? void 0 : series.length) != null ? _a : 0);
1654
1542
  const modifiedSeries = series == null ? void 0 : series.map((s) => {
@@ -1659,7 +1547,7 @@ function LineChart({ series, colors, ...props }) {
1659
1547
  highlightScope: (_b2 = s.highlightScope) != null ? _b2 : { highlighted: "item", faded: "global" }
1660
1548
  };
1661
1549
  });
1662
- return /* @__PURE__ */ jsx73(
1550
+ return /* @__PURE__ */ jsx23(
1663
1551
  MuiLineChart,
1664
1552
  {
1665
1553
  series: modifiedSeries != null ? modifiedSeries : [],
@@ -1732,11 +1620,11 @@ function LineChart({ series, colors, ...props }) {
1732
1620
  import {
1733
1621
  BarChart as MuiBarChart
1734
1622
  } from "@mui/x-charts/BarChart";
1735
- import { useTheme as useTheme4 } from "@mui/material/styles";
1736
- import { jsx as jsx74, jsxs as jsxs5 } from "react/jsx-runtime";
1623
+ import { useTheme as useTheme5 } from "@mui/material/styles";
1624
+ import { jsx as jsx24, jsxs as jsxs7 } from "react/jsx-runtime";
1737
1625
  function BarChart({ series, colors, ...props }) {
1738
1626
  var _a, _b;
1739
- const theme = useTheme4();
1627
+ const theme = useTheme5();
1740
1628
  const chart = theme.palette.chart;
1741
1629
  const seriesColors = useChartColors((_a = series == null ? void 0 : series.length) != null ? _a : 0);
1742
1630
  const resolvedColors = colors != null ? colors : seriesColors;
@@ -1751,7 +1639,7 @@ function BarChart({ series, colors, ...props }) {
1751
1639
  highlightScope: (_a2 = s.highlightScope) != null ? _a2 : { highlighted: "item", faded: "global" }
1752
1640
  };
1753
1641
  });
1754
- return /* @__PURE__ */ jsx74(
1642
+ return /* @__PURE__ */ jsx24(
1755
1643
  MuiBarChart,
1756
1644
  {
1757
1645
  series: modifiedSeries != null ? modifiedSeries : [],
@@ -1811,10 +1699,10 @@ function BarChart({ series, colors, ...props }) {
1811
1699
  ...(_b = props.sx) != null ? _b : {}
1812
1700
  },
1813
1701
  ...props,
1814
- children: /* @__PURE__ */ jsx74("defs", { children: series == null ? void 0 : series.map((s, idx) => {
1702
+ children: /* @__PURE__ */ jsx24("defs", { children: series == null ? void 0 : series.map((s, idx) => {
1815
1703
  if (s.variant !== "striped") return null;
1816
1704
  const baseColor = s.color || resolvedColors[idx % resolvedColors.length];
1817
- return /* @__PURE__ */ jsxs5(
1705
+ return /* @__PURE__ */ jsxs7(
1818
1706
  "pattern",
1819
1707
  {
1820
1708
  id: `striped-pattern-${idx}`,
@@ -1823,8 +1711,8 @@ function BarChart({ series, colors, ...props }) {
1823
1711
  height: "8",
1824
1712
  patternTransform: "rotate(45)",
1825
1713
  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" })
1714
+ /* @__PURE__ */ jsx24("rect", { width: "8", height: "8", fill: theme.palette.background.paper }),
1715
+ /* @__PURE__ */ jsx24("line", { x1: "0", y: "0", x2: "0", y2: "8", stroke: baseColor, strokeWidth: "4" })
1828
1716
  ]
1829
1717
  },
1830
1718
  `striped-${idx}`
@@ -1838,11 +1726,11 @@ function BarChart({ series, colors, ...props }) {
1838
1726
  import {
1839
1727
  PieChart as MuiPieChart
1840
1728
  } from "@mui/x-charts/PieChart";
1841
- import { useTheme as useTheme5 } from "@mui/material/styles";
1842
- import { jsx as jsx75 } from "react/jsx-runtime";
1729
+ import { useTheme as useTheme6 } from "@mui/material/styles";
1730
+ import { jsx as jsx25 } from "react/jsx-runtime";
1843
1731
  function PieChart({ series, colors, ...props }) {
1844
1732
  var _a, _b, _c, _d;
1845
- const theme = useTheme5();
1733
+ const theme = useTheme6();
1846
1734
  const chart = theme.palette.chart;
1847
1735
  const sliceCount = (_c = (_b = (_a = series == null ? void 0 : series[0]) == null ? void 0 : _a.data) == null ? void 0 : _b.length) != null ? _c : 0;
1848
1736
  const seriesColors = useChartColors(sliceCount);
@@ -1853,7 +1741,7 @@ function PieChart({ series, colors, ...props }) {
1853
1741
  highlightScope: (_a2 = s.highlightScope) != null ? _a2 : { highlighted: "item", faded: "global" }
1854
1742
  };
1855
1743
  });
1856
- return /* @__PURE__ */ jsx75(
1744
+ return /* @__PURE__ */ jsx25(
1857
1745
  MuiPieChart,
1858
1746
  {
1859
1747
  series: modifiedSeries != null ? modifiedSeries : [],
@@ -1898,7 +1786,7 @@ function PieChart({ series, colors, ...props }) {
1898
1786
  import {
1899
1787
  ScatterChart as MuiScatterChart
1900
1788
  } from "@mui/x-charts/ScatterChart";
1901
- import { useTheme as useTheme6 } from "@mui/material/styles";
1789
+ import { useTheme as useTheme7 } from "@mui/material/styles";
1902
1790
 
1903
1791
  // src/components/Charts/chartSx.ts
1904
1792
  function getForestChartSx(theme) {
@@ -1954,10 +1842,10 @@ var forestLegendSlotProps = {
1954
1842
  };
1955
1843
 
1956
1844
  // src/components/Charts/ScatterChart.tsx
1957
- import { jsx as jsx76 } from "react/jsx-runtime";
1845
+ import { jsx as jsx26 } from "react/jsx-runtime";
1958
1846
  function ScatterChart({ series, colors, ...props }) {
1959
1847
  var _a, _b;
1960
- const theme = useTheme6();
1848
+ const theme = useTheme7();
1961
1849
  const seriesColors = useChartColors((_a = series == null ? void 0 : series.length) != null ? _a : 0);
1962
1850
  const modifiedSeries = series == null ? void 0 : series.map((s) => {
1963
1851
  var _a2;
@@ -1966,7 +1854,7 @@ function ScatterChart({ series, colors, ...props }) {
1966
1854
  highlightScope: (_a2 = s.highlightScope) != null ? _a2 : { highlighted: "item", faded: "global" }
1967
1855
  };
1968
1856
  });
1969
- return /* @__PURE__ */ jsx76(
1857
+ return /* @__PURE__ */ jsx26(
1970
1858
  MuiScatterChart,
1971
1859
  {
1972
1860
  series: modifiedSeries != null ? modifiedSeries : [],
@@ -1986,12 +1874,12 @@ function ScatterChart({ series, colors, ...props }) {
1986
1874
  import {
1987
1875
  Gauge as MuiGauge
1988
1876
  } from "@mui/x-charts/Gauge";
1989
- import { useTheme as useTheme7 } from "@mui/material/styles";
1990
- import { jsx as jsx77 } from "react/jsx-runtime";
1877
+ import { useTheme as useTheme8 } from "@mui/material/styles";
1878
+ import { jsx as jsx27 } from "react/jsx-runtime";
1991
1879
  function Gauge(props) {
1992
1880
  var _a;
1993
- const theme = useTheme7();
1994
- return /* @__PURE__ */ jsx77(
1881
+ const theme = useTheme8();
1882
+ return /* @__PURE__ */ jsx27(
1995
1883
  MuiGauge,
1996
1884
  {
1997
1885
  ...props,
@@ -2075,47 +1963,48 @@ import { getSeriesToDisplay } from "@mui/x-charts/ChartsLegend";
2075
1963
  import { getPieCoordinates } from "@mui/x-charts/PieChart";
2076
1964
 
2077
1965
  // src/index.ts
2078
- import { useMediaQuery } from "@mui/material";
1966
+ import { useMediaQuery as useMediaQuery2 } from "@mui/material";
2079
1967
  import { useScrollTrigger } from "@mui/material";
2080
1968
  import { useFormControl } from "@mui/material";
2081
- import { useTheme as useTheme8 } from "@mui/material";
1969
+ import { useTheme as useTheme9 } from "@mui/material";
2082
1970
  export {
2083
- Accordion,
2084
- AccordionActions,
2085
- AccordionDetails,
2086
- AccordionSummary,
2087
- Alert,
2088
- AlertTitle,
1971
+ default47 as Accordion,
1972
+ default50 as AccordionActions,
1973
+ default49 as AccordionDetails,
1974
+ default48 as AccordionSummary,
1975
+ default59 as Alert,
1976
+ default60 as AlertTitle,
2089
1977
  AnimatedArea,
2090
1978
  AnimatedLine,
2091
- AppBar,
1979
+ default51 as AppBar,
2092
1980
  AppBarNavItem,
1981
+ AppShell,
2093
1982
  AreaElement,
2094
1983
  AreaElementPath,
2095
1984
  AreaPlot,
2096
- Autocomplete,
2097
- Avatar,
2098
- AvatarGroup,
2099
- Backdrop,
2100
- Badge,
1985
+ default2 as Autocomplete,
1986
+ default21 as Avatar,
1987
+ default22 as AvatarGroup,
1988
+ default61 as Backdrop,
1989
+ default23 as Badge,
2101
1990
  BarChart,
2102
1991
  BarElement,
2103
1992
  BarElementPath,
2104
1993
  BarLabel,
2105
1994
  BarPlot,
2106
- BottomNavigation,
2107
- BottomNavigationAction,
2108
- Box3 as Box,
2109
- Breadcrumbs,
1995
+ default73 as BottomNavigation,
1996
+ default74 as BottomNavigationAction,
1997
+ Box5 as Box,
1998
+ default75 as Breadcrumbs,
2110
1999
  Button,
2111
- ButtonBase,
2000
+ default100 as ButtonBase,
2112
2001
  ButtonGroup,
2113
2002
  Card,
2114
- CardActionArea,
2115
- CardActions,
2116
- CardContent,
2117
- CardHeader,
2118
- CardMedia,
2003
+ default57 as CardActionArea,
2004
+ default55 as CardActions,
2005
+ default53 as CardContent,
2006
+ default54 as CardHeader,
2007
+ default56 as CardMedia,
2119
2008
  ChartContainer,
2120
2009
  ChartsAxis,
2121
2010
  ChartsAxisHighlight,
@@ -2138,11 +2027,11 @@ export {
2138
2027
  ChartsVoronoiHandler,
2139
2028
  ChartsXAxis,
2140
2029
  ChartsYAxis,
2141
- Checkbox,
2030
+ default3 as Checkbox,
2142
2031
  Chip,
2143
- CircularProgress,
2144
- ClickAwayListener,
2145
- Collapse,
2032
+ default68 as CircularProgress,
2033
+ default101 as ClickAwayListener,
2034
+ default95 as Collapse,
2146
2035
  Container,
2147
2036
  ContinuousColorLegend,
2148
2037
  DataGrid,
@@ -2150,68 +2039,70 @@ export {
2150
2039
  DefaultChartsAxisTooltipContent,
2151
2040
  DefaultChartsItemTooltipContent,
2152
2041
  DefaultChartsLegend,
2153
- Dialog,
2154
- DialogActions,
2155
- DialogContent,
2156
- DialogContentText,
2157
- DialogTitle,
2158
- Divider,
2042
+ default62 as Dialog,
2043
+ default65 as DialogActions,
2044
+ default64 as DialogContent,
2045
+ default66 as DialogContentText,
2046
+ default63 as DialogTitle,
2047
+ default24 as Divider,
2159
2048
  Drawer,
2160
2049
  Fab,
2161
- Fade,
2162
- FilledInput,
2050
+ default96 as Fade,
2051
+ default20 as FilledInput,
2163
2052
  ForestProvider,
2164
- FormControl,
2165
- FormControlLabel,
2166
- FormGroup,
2167
- FormHelperText,
2168
- FormLabel,
2053
+ default11 as FormControl,
2054
+ default12 as FormControlLabel,
2055
+ default13 as FormGroup,
2056
+ default14 as FormHelperText,
2057
+ default15 as FormLabel,
2169
2058
  Gauge,
2170
2059
  GaugeContainer,
2171
2060
  GaugeReferenceArc,
2172
2061
  GaugeValueArc,
2173
2062
  GaugeValueText,
2174
- GlobalStyles,
2063
+ default102 as GlobalStyles,
2175
2064
  Grid,
2176
- Grow,
2065
+ default97 as Grow,
2177
2066
  HighlightedProvider,
2178
2067
  IconButton2 as IconButton,
2179
- ImageList,
2180
- ImageListItem,
2181
- ImageListItemBar,
2182
- Input,
2183
- InputAdornment2 as InputAdornment,
2184
- InputBase,
2185
- InputLabel,
2068
+ default25 as ImageList,
2069
+ default26 as ImageListItem,
2070
+ default27 as ImageListItemBar,
2071
+ InitColorSchemeScript,
2072
+ default8 as Input,
2073
+ default16 as InputAdornment,
2074
+ default17 as InputBase,
2075
+ default18 as InputLabel,
2186
2076
  LineChart,
2187
2077
  LineElement,
2188
2078
  LineElementPath,
2189
2079
  LineHighlightElement,
2190
2080
  LineHighlightPlot,
2191
2081
  LinePlot,
2192
- LinearProgress,
2193
- Link,
2194
- List,
2195
- ListItem,
2196
- ListItemAvatar,
2197
- ListItemButton,
2198
- ListItemIcon,
2199
- ListItemSecondaryAction,
2200
- ListItemText,
2201
- ListSubheader,
2082
+ default67 as LinearProgress,
2083
+ default76 as Link,
2084
+ default28 as List,
2085
+ default29 as ListItem,
2086
+ default33 as ListItemAvatar,
2087
+ default30 as ListItemButton,
2088
+ default31 as ListItemIcon,
2089
+ default35 as ListItemSecondaryAction,
2090
+ default32 as ListItemText,
2091
+ default34 as ListSubheader,
2202
2092
  Logo,
2203
2093
  MarkElement,
2204
2094
  MarkPlot,
2205
- Menu,
2206
- MenuItem,
2207
- MenuList,
2208
- MobileStepper,
2209
- Modal,
2095
+ default77 as Menu,
2096
+ default6 as MenuItem,
2097
+ default78 as MenuList,
2098
+ default79 as MobileStepper,
2099
+ default70 as Modal,
2210
2100
  MultiSelect,
2211
- default2 as NoSsr,
2212
- OutlinedInput,
2213
- Pagination,
2214
- PaginationItem,
2101
+ default103 as NoSsr,
2102
+ default19 as OutlinedInput,
2103
+ Page,
2104
+ default80 as Pagination,
2105
+ default81 as PaginationItem,
2215
2106
  Paper,
2216
2107
  PieArc,
2217
2108
  PieArcLabel,
@@ -2221,11 +2112,11 @@ export {
2221
2112
  PiePlot,
2222
2113
  PiecewiseColorLegend,
2223
2114
  Popover,
2224
- Popper,
2115
+ default104 as Popper,
2225
2116
  Portal,
2226
- Radio,
2227
- RadioGroup,
2228
- Rating,
2117
+ default5 as Radio,
2118
+ default4 as RadioGroup,
2119
+ default36 as Rating,
2229
2120
  ResponsiveChartContainer,
2230
2121
  Scatter,
2231
2122
  ScatterChart,
@@ -2234,46 +2125,46 @@ export {
2234
2125
  Select,
2235
2126
  SidebarItem,
2236
2127
  SidebarNav,
2237
- Skeleton,
2238
- Slide,
2239
- Slider,
2240
- Snackbar,
2241
- SnackbarContent,
2128
+ default69 as Skeleton,
2129
+ default98 as Slide,
2130
+ default105 as Slider,
2131
+ default71 as Snackbar,
2132
+ default72 as SnackbarContent,
2242
2133
  SparkLineChart,
2243
- SpeedDial,
2244
- SpeedDialAction,
2245
- SpeedDialIcon,
2134
+ default82 as SpeedDial,
2135
+ default83 as SpeedDialAction,
2136
+ default84 as SpeedDialIcon,
2246
2137
  Stack,
2247
- Step,
2248
- StepButton,
2249
- StepConnector,
2250
- StepContent,
2251
- StepIcon,
2252
- StepLabel,
2253
- Stepper,
2254
- SvgIcon,
2255
- SwipeableDrawer,
2138
+ default86 as Step,
2139
+ default88 as StepButton,
2140
+ default89 as StepConnector,
2141
+ default90 as StepContent,
2142
+ default91 as StepIcon,
2143
+ default87 as StepLabel,
2144
+ default85 as Stepper,
2145
+ default106 as SvgIcon,
2146
+ default58 as SwipeableDrawer,
2256
2147
  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,
2148
+ default93 as Tab,
2149
+ default94 as TabScrollButton,
2150
+ default37 as Table,
2151
+ default38 as TableBody,
2152
+ default39 as TableCell,
2153
+ default40 as TableContainer,
2154
+ default43 as TableFooter,
2155
+ default41 as TableHead,
2156
+ default44 as TablePagination,
2157
+ default42 as TableRow,
2158
+ default45 as TableSortLabel,
2159
+ default92 as Tabs,
2160
+ default7 as TextField,
2161
+ default107 as TextareaAutosize,
2162
+ default9 as ToggleButton,
2163
+ default10 as ToggleButtonGroup,
2164
+ default52 as Toolbar,
2274
2165
  Tooltip,
2275
- Typography,
2276
- Zoom,
2166
+ default46 as Typography,
2167
+ default99 as Zoom,
2277
2168
  alpha,
2278
2169
  avatarColors,
2279
2170
  base,
@@ -2299,10 +2190,7 @@ export {
2299
2190
  fontFamilyMono,
2300
2191
  fontSize,
2301
2192
  fontWeight,
2302
- forestAgencyPreset,
2303
2193
  forestAlkemyPlusPreset,
2304
- forestExternalPreset,
2305
- forestInternalPreset,
2306
2194
  forestTheme,
2307
2195
  forestThemeOptions,
2308
2196
  getAvailablePresets,
@@ -2327,18 +2215,19 @@ export {
2327
2215
  useAxisTooltip,
2328
2216
  useChartColors,
2329
2217
  useChartId,
2218
+ useColorScheme2 as useColorScheme,
2330
2219
  useDrawingArea,
2331
2220
  useFormControl,
2332
2221
  useGaugeState,
2333
2222
  useHighlighted,
2334
2223
  useItemHighlighted,
2335
2224
  useItemTooltip,
2336
- useMediaQuery,
2225
+ useMediaQuery2 as useMediaQuery,
2337
2226
  useMouseTracker,
2338
2227
  useScrollTrigger,
2339
2228
  useSidebar,
2340
2229
  useSvgRef,
2341
- useTheme8 as useTheme,
2230
+ useTheme9 as useTheme,
2342
2231
  useXAxis,
2343
2232
  useXColorScale,
2344
2233
  useXScale,