@matteoaliano/forest-ui 0.3.2 → 0.3.4

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.js CHANGED
@@ -181,6 +181,17 @@ var violet = {
181
181
  700: "#3a1aad",
182
182
  800: "#190a8a",
183
183
  900: "#000066"};
184
+ var magenta = {
185
+ 50: "#fff0fa",
186
+ 100: "#ffe0f5",
187
+ 200: "#ffc0eb",
188
+ 300: "#ff90d8",
189
+ 400: "#FF78F3",
190
+ 500: "#e650d4",
191
+ 600: "#cc28b5",
192
+ 700: "#a3008c",
193
+ 800: "#7a0066",
194
+ 900: "#520044"};
184
195
  var gray = {
185
196
  25: "#fdfcfc",
186
197
  50: "#faf9f8",
@@ -195,20 +206,6 @@ var gray = {
195
206
  900: "#18181b",
196
207
  950: "#09090b"
197
208
  };
198
- var info = {
199
- 25: "#f5faff",
200
- 50: "#eff8ff",
201
- 100: "#d1e9ff",
202
- 200: "#b2ddff",
203
- 300: "#84caff",
204
- 400: "#53b1fd",
205
- 500: "#2e90fa",
206
- 600: "#1570ef",
207
- 700: "#175cd3",
208
- 800: "#1849a9",
209
- 900: "#194185",
210
- 950: "#102a56"
211
- };
212
209
  var misc = {
213
210
  teal: {
214
211
  50: "#f0fdf9",
@@ -264,55 +261,66 @@ var misc = {
264
261
  600: "#088ab2",
265
262
  700: "#0e7090"}
266
263
  };
267
- var colors = {
268
- base: {
269
- white: "#ffffff",
270
- black: "#000000",
271
- transparent: "#ffffff00"
272
- },
273
- error: {
274
- 25: "#fffbfa",
275
- 50: "#fef3f2",
276
- 100: "#fee4e2",
277
- 200: "#fecdca",
278
- 300: "#fda29b",
279
- 400: "#f97066",
280
- 500: "#f04438",
281
- 600: "#d92d20",
282
- 700: "#b42318",
283
- 800: "#912018",
284
- 900: "#7a271a",
285
- 950: "#55160c"
286
- },
287
- warning: {
288
- 25: "#fffcf5",
289
- 50: "#fffaeb",
290
- 100: "#fef0c7",
291
- 200: "#fedf89",
292
- 300: "#fec84b",
293
- 400: "#fdb022",
294
- 500: "#f79009",
295
- 600: "#dc6803",
296
- 700: "#b54708",
297
- 800: "#93370d",
298
- 900: "#7a2e0e",
299
- 950: "#4e1d09"
300
- },
301
- success: {
302
- 25: "#f6fef9",
303
- 50: "#ecfdf3",
304
- 100: "#dcfae6",
305
- 200: "#abefc6",
306
- 300: "#75e0a7",
307
- 400: "#47cd89",
308
- 500: "#17b26a",
309
- 600: "#079455",
310
- 700: "#067647",
311
- 800: "#085d3a",
312
- 900: "#074d31",
313
- 950: "#053321"
314
- },
315
- info
264
+ var base = {
265
+ white: "#ffffff",
266
+ black: "#000000",
267
+ transparent: "#ffffff00"
268
+ };
269
+ var error = {
270
+ 25: "#fffbfa",
271
+ 50: "#fef3f2",
272
+ 100: "#fee4e2",
273
+ 200: "#fecdca",
274
+ 300: "#fda29b",
275
+ 400: "#f97066",
276
+ 500: "#f04438",
277
+ 600: "#d92d20",
278
+ 700: "#b42318",
279
+ 800: "#912018",
280
+ 900: "#7a271a",
281
+ 950: "#55160c"
282
+ };
283
+ var warning = {
284
+ 25: "#fffcf5",
285
+ 50: "#fffaeb",
286
+ 100: "#fef0c7",
287
+ 200: "#fedf89",
288
+ 300: "#fec84b",
289
+ 400: "#fdb022",
290
+ 500: "#f79009",
291
+ 600: "#dc6803",
292
+ 700: "#b54708",
293
+ 800: "#93370d",
294
+ 900: "#7a2e0e",
295
+ 950: "#4e1d09"
296
+ };
297
+ var success = {
298
+ 25: "#f6fef9",
299
+ 50: "#ecfdf3",
300
+ 100: "#dcfae6",
301
+ 200: "#abefc6",
302
+ 300: "#75e0a7",
303
+ 400: "#47cd89",
304
+ 500: "#17b26a",
305
+ 600: "#079455",
306
+ 700: "#067647",
307
+ 800: "#085d3a",
308
+ 900: "#074d31",
309
+ 950: "#053321"
310
+ };
311
+ var info = {
312
+ 25: "#f5faff",
313
+ 50: "#eff8ff",
314
+ 100: "#d1e9ff",
315
+ 200: "#b2ddff",
316
+ 300: "#84caff",
317
+ 400: "#53b1fd",
318
+ 500: "#2e90fa",
319
+ 600: "#1570ef",
320
+ 700: "#175cd3",
321
+ 800: "#1849a9",
322
+ 900: "#194185",
323
+ 950: "#102a56"
316
324
  };
317
325
  var spacing = {
318
326
  none: 0,
@@ -424,26 +432,26 @@ var text = {
424
432
  disabled: gray[500],
425
433
  placeholder: gray[500],
426
434
  placeholderSubtle: gray[300],
427
- white: colors.base.white,
435
+ white: base.white,
428
436
  brandPrimary: violet[900],
429
437
  brandSecondary: violet[700],
430
438
  brandTertiary: violet[600],
431
439
  brandTertiaryAlt: violet[600],
432
- primaryOnBrand: colors.base.white,
440
+ primaryOnBrand: base.white,
433
441
  secondaryOnBrand: violet[200],
434
442
  tertiaryOnBrand: violet[200],
435
443
  quaternaryOnBrand: violet[300],
436
- errorPrimary: colors.error[600],
437
- warningPrimary: colors.warning[600],
438
- successPrimary: colors.success[600]
444
+ errorPrimary: error[600],
445
+ warningPrimary: warning[600],
446
+ successPrimary: success[600]
439
447
  };
440
448
  var bg = {
441
449
  primary: gray[50],
442
450
  primaryAlt: gray[50],
443
451
  primaryHover: gray[100],
444
452
  primarySolid: gray[950],
445
- secondary: colors.base.white,
446
- secondaryAlt: colors.base.white,
453
+ secondary: base.white,
454
+ secondaryAlt: base.white,
447
455
  secondarySubtle: gray[25],
448
456
  secondaryHover: gray[50],
449
457
  secondarySolid: gray[600],
@@ -460,15 +468,15 @@ var bg = {
460
468
  brandSolidHover: violet[700],
461
469
  brandSection: violet[800],
462
470
  brandSectionSubtle: violet[700],
463
- errorPrimary: colors.error[50],
464
- errorSecondary: colors.error[100],
465
- errorSolid: colors.error[600],
466
- warningPrimary: colors.warning[50],
467
- warningSecondary: colors.warning[100],
468
- warningSolid: colors.warning[600],
469
- successPrimary: colors.success[50],
470
- successSecondary: colors.success[100],
471
- successSolid: colors.success[600]
471
+ errorPrimary: error[50],
472
+ errorSecondary: error[100],
473
+ errorSolid: error[600],
474
+ warningPrimary: warning[50],
475
+ warningSecondary: warning[100],
476
+ warningSolid: warning[600],
477
+ successPrimary: success[50],
478
+ successSecondary: success[100],
479
+ successSolid: success[600]
472
480
  };
473
481
  var fg = {
474
482
  primary: gray[900],
@@ -481,18 +489,18 @@ var fg = {
481
489
  quinary: gray[400],
482
490
  quinaryHover: gray[500],
483
491
  senary: gray[300],
484
- white: colors.base.white,
492
+ white: base.white,
485
493
  disabled: gray[400],
486
494
  disabledSubtle: gray[300],
487
495
  brandPrimary: violet[600],
488
496
  brandPrimaryAlt: violet[600],
489
497
  brandSecondary: violet[500],
490
- errorPrimary: colors.error[600],
491
- errorSecondary: colors.error[500],
492
- warningPrimary: colors.warning[600],
493
- warningSecondary: colors.warning[500],
494
- successPrimary: colors.success[600],
495
- successSecondary: colors.success[500]
498
+ errorPrimary: error[600],
499
+ errorSecondary: error[500],
500
+ warningPrimary: warning[600],
501
+ warningSecondary: warning[500],
502
+ successPrimary: success[600],
503
+ successSecondary: success[500]
496
504
  };
497
505
  var border = {
498
506
  primary: gray[300],
@@ -503,28 +511,28 @@ var border = {
503
511
  brand: violet[300],
504
512
  brandSolid: violet[600],
505
513
  brandSolidAlt: violet[600],
506
- error: colors.error[300],
507
- errorSolid: colors.error[600]
514
+ error: error[300],
515
+ errorSolid: error[600]
508
516
  };
509
517
  var buttonColors = {
510
518
  primary: {
511
519
  bg: violet[600],
512
520
  bgHover: violet[700],
513
- fg: colors.base.white,
514
- fgHover: colors.base.white,
521
+ fg: base.white,
522
+ fgHover: base.white,
515
523
  border: violet[600],
516
524
  borderHover: violet[700]
517
525
  },
518
526
  secondary: {
519
- bg: colors.base.white,
520
- bgHover: gray[50],
521
- fg: gray[700],
522
- fgHover: gray[800],
523
- border: gray[300],
524
- borderHover: gray[300]
527
+ bg: gray[900],
528
+ bgHover: gray[950],
529
+ fg: base.white,
530
+ fgHover: base.white,
531
+ border: gray[900],
532
+ borderHover: gray[950]
525
533
  },
526
534
  secondaryColor: {
527
- bg: colors.base.white,
535
+ bg: base.white,
528
536
  bgHover: violet[50],
529
537
  fg: violet[700],
530
538
  fgHover: violet[800],
@@ -542,31 +550,31 @@ var buttonColors = {
542
550
  bgHover: violet[50]
543
551
  },
544
552
  primaryError: {
545
- bg: colors.error[600],
546
- bgHover: colors.error[700],
547
- fg: colors.base.white,
548
- fgHover: colors.base.white,
549
- border: colors.error[600],
550
- borderHover: colors.error[700]
553
+ bg: error[600],
554
+ bgHover: error[700],
555
+ fg: base.white,
556
+ fgHover: base.white,
557
+ border: error[600],
558
+ borderHover: error[700]
551
559
  },
552
560
  secondaryError: {
553
- bg: colors.base.white,
554
- bgHover: colors.error[50],
555
- fg: colors.error[700],
556
- fgHover: colors.error[800],
557
- border: colors.error[300],
558
- borderHover: colors.error[300]
561
+ bg: base.white,
562
+ bgHover: error[50],
563
+ fg: error[700],
564
+ fgHover: error[800],
565
+ border: error[300],
566
+ borderHover: error[300]
559
567
  },
560
568
  tertiaryError: {
561
- fg: colors.error[700],
562
- fgHover: colors.error[800],
563
- bgHover: colors.error[50]
569
+ fg: error[700],
570
+ fgHover: error[800],
571
+ bgHover: error[50]
564
572
  }
565
573
  };
566
574
  var avatarColors = {
567
575
  bg: gray[100],
568
576
  contrastBorder: "#00000014",
569
- profilePhotoBorder: colors.base.white,
577
+ profilePhotoBorder: base.white,
570
578
  focusBorder: "#a0a0a624"
571
579
  };
572
580
  var breadcrumbColors = {
@@ -585,14 +593,14 @@ var iconColors = {
585
593
  featuredModernBorder: gray[200],
586
594
  featuredLightFgBrand: violet[600],
587
595
  featuredLightFgGray: gray[500],
588
- featuredLightFgError: colors.error[600],
589
- featuredLightFgWarning: colors.warning[600],
590
- featuredLightFgSuccess: colors.success[600],
591
- featuredDarkFgBrand: colors.base.white,
592
- featuredDarkFgGray: colors.base.white,
593
- featuredDarkFgError: colors.base.white,
594
- featuredDarkFgWarning: colors.base.white,
595
- featuredDarkFgSuccess: colors.base.white
596
+ featuredLightFgError: error[600],
597
+ featuredLightFgWarning: warning[600],
598
+ featuredLightFgSuccess: success[600],
599
+ featuredDarkFgBrand: base.white,
600
+ featuredDarkFgGray: base.white,
601
+ featuredDarkFgError: base.white,
602
+ featuredDarkFgWarning: base.white,
603
+ featuredDarkFgSuccess: base.white
596
604
  };
597
605
  var navColors = {
598
606
  itemIconFg: gray[500],
@@ -602,7 +610,7 @@ var navColors = {
602
610
  };
603
611
  var sliderColors = {
604
612
  handleBorder: violet[600],
605
- handleBg: colors.base.white
613
+ handleBg: base.white
606
614
  };
607
615
  var toggleColors = {
608
616
  buttonFgDisabled: gray[50]
@@ -612,17 +620,17 @@ var chartColors = {
612
620
  gridlineFg: gray[100],
613
621
  labelFg: gray[600],
614
622
  labelFgEmphasis: gray[700],
615
- bg: colors.base.white,
623
+ bg: base.white,
616
624
  bgAlt: gray[50],
617
625
  tooltipBg: gray[950],
618
- tooltipFg: colors.base.white,
626
+ tooltipFg: base.white,
619
627
  crosshairFg: gray[500],
620
628
  legendFg: text.tertiary,
621
629
  series: [
622
630
  { fg: misc.purple[500], fgHover: misc.purple[600], bg: misc.purple[100], bgHover: misc.purple[200] },
623
631
  { fg: misc.orangeDark[400], fgHover: misc.orangeDark[500], bg: misc.orangeDark[100], bgHover: misc.orangeDark[200] },
624
632
  { fg: misc.teal[300], fgHover: misc.teal[400], bg: misc.teal[50], bgHover: misc.teal[100] },
625
- { fg: colors.warning[400], fgHover: colors.warning[500], bg: colors.warning[100], bgHover: colors.warning[200] },
633
+ { fg: warning[400], fgHover: warning[500], bg: warning[100], bgHover: warning[200] },
626
634
  { fg: misc.rose[400], fgHover: misc.rose[500], bg: misc.rose[100], bgHover: misc.rose[200] },
627
635
  { fg: misc.blueLight[400], fgHover: misc.blueLight[500], bg: misc.blueLight[100], bgHover: misc.blueLight[200] },
628
636
  { fg: misc.orange[300], fgHover: misc.orange[400], bg: misc.orange[100], bgHover: misc.orange[200] },
@@ -663,43 +671,43 @@ var alpha = {
663
671
  // src/theme/palette.ts
664
672
  function buildPalette(tokens) {
665
673
  var _a;
666
- const { colors: colors5, text: text5, bg: bg5, fg: fg5, border: border5 } = tokens;
674
+ const { base: base2, error: error2, warning: warning2, success: success2, info: info2, text: text5, bg: bg5, fg: fg5, border: border5 } = tokens;
667
675
  return {
668
676
  primary: {
669
- main: violet[600],
670
- light: violet[400],
671
- dark: violet[700],
672
- contrastText: tokens.colors.base.white
677
+ main: tokens.bg.brandSolid,
678
+ light: tokens.fg.brandPrimary,
679
+ dark: tokens.bg.brandSolidHover,
680
+ contrastText: tokens.base.white
673
681
  },
674
682
  secondary: {
675
- main: gray[600],
676
- light: gray[400],
677
- dark: gray[700],
678
- contrastText: tokens.colors.base.white
683
+ main: tokens.bg.secondarySolid,
684
+ light: tokens.fg.secondary,
685
+ dark: tokens.text.secondaryHover,
686
+ contrastText: tokens.base.white
679
687
  },
680
688
  error: {
681
- main: colors5.error[600],
682
- light: colors5.error[300],
683
- dark: colors5.error[700],
684
- contrastText: colors5.base.white
689
+ main: tokens.error[600],
690
+ light: tokens.error[300],
691
+ dark: tokens.error[700],
692
+ contrastText: tokens.base.white
685
693
  },
686
694
  warning: {
687
- main: colors5.warning[600],
688
- light: colors5.warning[300],
689
- dark: colors5.warning[700],
690
- contrastText: colors5.base.white
695
+ main: tokens.warning[600],
696
+ light: tokens.warning[300],
697
+ dark: tokens.warning[700],
698
+ contrastText: tokens.base.white
691
699
  },
692
700
  success: {
693
- main: colors5.success[600],
694
- light: colors5.success[300],
695
- dark: colors5.success[700],
696
- contrastText: colors5.base.white
701
+ main: tokens.success[600],
702
+ light: tokens.success[300],
703
+ dark: tokens.success[700],
704
+ contrastText: tokens.base.white
697
705
  },
698
706
  info: {
699
- main: tokens.colors.info[600],
700
- light: tokens.colors.info[300],
701
- dark: tokens.colors.info[700],
702
- contrastText: tokens.colors.base.white
707
+ main: tokens.info[600],
708
+ light: tokens.info[300],
709
+ dark: tokens.info[700],
710
+ contrastText: tokens.base.white
703
711
  },
704
712
  background: {
705
713
  default: bg5.primary,
@@ -722,7 +730,11 @@ function buildPalette(tokens) {
722
730
  };
723
731
  }
724
732
  buildPalette({
725
- colors,
733
+ base,
734
+ error,
735
+ warning,
736
+ success,
737
+ info,
726
738
  text,
727
739
  bg,
728
740
  fg,
@@ -883,7 +895,11 @@ buildShadows({
883
895
  // src/theme/components.ts
884
896
  function buildComponents(tokens) {
885
897
  const {
886
- colors: colors5,
898
+ base: base2,
899
+ error: error2,
900
+ warning: warning2,
901
+ success: success2,
902
+ info: info2,
887
903
  radius: radius5,
888
904
  focusRings: focusRings5,
889
905
  shadows: tokenShadows,
@@ -891,7 +907,8 @@ function buildComponents(tokens) {
891
907
  bg: bg5,
892
908
  fg: fg5,
893
909
  border: border5,
894
- buttonColors: buttonColors5
910
+ buttonColors: buttonColors5,
911
+ sliderColors: sliderColors5
895
912
  } = tokens;
896
913
  return {
897
914
  // ─── Button ─────────────────────────────────────────────────────
@@ -926,9 +943,12 @@ function buildComponents(tokens) {
926
943
  borderColor: buttonColors5.secondaryColor.borderHover
927
944
  }
928
945
  },
929
- outlinedSecondary: {
930
- borderColor: buttonColors5.secondary.border,
946
+ containedSecondary: {
947
+ backgroundColor: buttonColors5.secondary.bg,
948
+ color: buttonColors5.secondary.fg,
949
+ border: `1px solid ${buttonColors5.secondary.border}`,
931
950
  "&:hover": {
951
+ backgroundColor: buttonColors5.secondary.bgHover,
932
952
  borderColor: buttonColors5.secondary.borderHover
933
953
  }
934
954
  },
@@ -959,6 +979,14 @@ function buildComponents(tokens) {
959
979
  }
960
980
  }
961
981
  },
982
+ // ─── IconButton ─────────────────────────────────────────────────
983
+ MuiIconButton: {
984
+ styleOverrides: {
985
+ root: {
986
+ borderRadius: radius5.md
987
+ }
988
+ }
989
+ },
962
990
  // ─── FAB ────────────────────────────────────────────────────────
963
991
  MuiFab: {
964
992
  styleOverrides: {
@@ -1094,13 +1122,14 @@ function buildComponents(tokens) {
1094
1122
  select: {
1095
1123
  "&.MuiSelect-select": {
1096
1124
  minHeight: "auto",
1097
- padding: "6px 12px",
1125
+ padding: "6px 32px 6px 12px",
1098
1126
  fontSize: 14,
1099
1127
  lineHeight: "20px"
1100
1128
  }
1101
1129
  },
1102
1130
  icon: {
1103
- color: text5.placeholder
1131
+ color: text5.placeholder,
1132
+ right: 8
1104
1133
  }
1105
1134
  }
1106
1135
  },
@@ -1170,7 +1199,7 @@ function buildComponents(tokens) {
1170
1199
  color: fg5.brandPrimary
1171
1200
  },
1172
1201
  "&.Mui-checked:hover": {
1173
- color: violet[700]
1202
+ color: buttonColors5.primary.bgHover
1174
1203
  },
1175
1204
  "&.Mui-focusVisible": {
1176
1205
  outline: "none",
@@ -1200,7 +1229,7 @@ function buildComponents(tokens) {
1200
1229
  color: fg5.brandPrimary
1201
1230
  },
1202
1231
  "&.Mui-checked:hover": {
1203
- color: violet[700]
1232
+ color: buttonColors5.primary.bgHover
1204
1233
  },
1205
1234
  "&.Mui-focusVisible": {
1206
1235
  outline: "none",
@@ -1235,7 +1264,7 @@ function buildComponents(tokens) {
1235
1264
  }
1236
1265
  },
1237
1266
  "&.Mui-checked:hover + .MuiSwitch-track": {
1238
- backgroundColor: violet[700]
1267
+ backgroundColor: buttonColors5.primary.bgHover
1239
1268
  },
1240
1269
  "&.Mui-focusVisible .MuiSwitch-thumb": {
1241
1270
  boxShadow: focusRings5.brand
@@ -1513,44 +1542,44 @@ function buildComponents(tokens) {
1513
1542
  },
1514
1543
  colorPrimary: {
1515
1544
  "&.MuiChip-filled": {
1516
- backgroundColor: violet[50],
1517
- color: violet[700],
1518
- "& .MuiChip-deleteIcon": { color: violet[400] }
1545
+ backgroundColor: tokens.bg.brandPrimary,
1546
+ color: tokens.text.brandPrimary,
1547
+ "& .MuiChip-deleteIcon": { color: tokens.fg.brandPrimary }
1519
1548
  }
1520
1549
  },
1521
1550
  colorSecondary: {
1522
1551
  "&.MuiChip-filled": {
1523
- backgroundColor: gray[50],
1524
- color: gray[700],
1525
- "& .MuiChip-deleteIcon": { color: gray[400] }
1552
+ backgroundColor: tokens.bg.secondarySubtle,
1553
+ color: tokens.text.secondary,
1554
+ "& .MuiChip-deleteIcon": { color: tokens.fg.secondary }
1526
1555
  }
1527
1556
  },
1528
1557
  colorError: {
1529
1558
  "&.MuiChip-filled": {
1530
- backgroundColor: colors5.error[50],
1531
- color: colors5.error[700],
1532
- "& .MuiChip-deleteIcon": { color: colors5.error[400] }
1559
+ backgroundColor: error2[50],
1560
+ color: error2[700],
1561
+ "& .MuiChip-deleteIcon": { color: error2[400] }
1533
1562
  }
1534
1563
  },
1535
1564
  colorWarning: {
1536
1565
  "&.MuiChip-filled": {
1537
- backgroundColor: colors5.warning[50],
1538
- color: colors5.warning[700],
1539
- "& .MuiChip-deleteIcon": { color: colors5.warning[400] }
1566
+ backgroundColor: warning2[50],
1567
+ color: warning2[700],
1568
+ "& .MuiChip-deleteIcon": { color: warning2[400] }
1540
1569
  }
1541
1570
  },
1542
1571
  colorSuccess: {
1543
1572
  "&.MuiChip-filled": {
1544
- backgroundColor: colors5.success[50],
1545
- color: colors5.success[700],
1546
- "& .MuiChip-deleteIcon": { color: colors5.success[400] }
1573
+ backgroundColor: success2[50],
1574
+ color: success2[700],
1575
+ "& .MuiChip-deleteIcon": { color: success2[400] }
1547
1576
  }
1548
1577
  },
1549
1578
  colorInfo: {
1550
1579
  "&.MuiChip-filled": {
1551
- backgroundColor: info[50],
1552
- color: info[700],
1553
- "& .MuiChip-deleteIcon": { color: info[400] }
1580
+ backgroundColor: info2[50],
1581
+ color: info2[700],
1582
+ "& .MuiChip-deleteIcon": { color: info2[400] }
1554
1583
  }
1555
1584
  }
1556
1585
  }
@@ -1755,7 +1784,7 @@ function buildComponents(tokens) {
1755
1784
  },
1756
1785
  standardError: {
1757
1786
  backgroundColor: bg5.errorPrimary,
1758
- color: colors5.error[700],
1787
+ color: error2[700],
1759
1788
  border: `1px solid ${border5.error}`,
1760
1789
  "& .MuiAlert-icon": {
1761
1790
  color: fg5.errorPrimary
@@ -1763,26 +1792,26 @@ function buildComponents(tokens) {
1763
1792
  },
1764
1793
  standardWarning: {
1765
1794
  backgroundColor: bg5.warningPrimary,
1766
- color: colors5.warning[700],
1767
- border: `1px solid ${colors5.warning[300]}`,
1795
+ color: warning2[700],
1796
+ border: `1px solid ${warning2[300]}`,
1768
1797
  "& .MuiAlert-icon": {
1769
1798
  color: fg5.warningPrimary
1770
1799
  }
1771
1800
  },
1772
1801
  standardSuccess: {
1773
1802
  backgroundColor: bg5.successPrimary,
1774
- color: colors5.success[700],
1775
- border: `1px solid ${colors5.success[300]}`,
1803
+ color: success2[700],
1804
+ border: `1px solid ${success2[300]}`,
1776
1805
  "& .MuiAlert-icon": {
1777
1806
  color: fg5.successPrimary
1778
1807
  }
1779
1808
  },
1780
1809
  standardInfo: {
1781
- backgroundColor: info[50],
1782
- color: info[700],
1783
- border: `1px solid ${info[300]}`,
1810
+ backgroundColor: info2[50],
1811
+ color: info2[700],
1812
+ border: `1px solid ${info2[300]}`,
1784
1813
  "& .MuiAlert-icon": {
1785
- color: info[600]
1814
+ color: info2[600]
1786
1815
  }
1787
1816
  },
1788
1817
  icon: {
@@ -1956,6 +1985,8 @@ function buildComponents(tokens) {
1956
1985
  fontWeight: 500
1957
1986
  },
1958
1987
  cell: {
1988
+ display: "flex",
1989
+ alignItems: "center",
1959
1990
  fontSize: 14,
1960
1991
  lineHeight: "20px",
1961
1992
  color: fg5.tertiary,
@@ -1982,11 +2013,198 @@ function buildComponents(tokens) {
1982
2013
  }
1983
2014
  }
1984
2015
  }
2016
+ },
2017
+ // ─── DatePicker (@mui/x-date-pickers) ────────────────────────────
2018
+ // MUI X uses its own sub-components that are separate from MuiOutlinedInput,
2019
+ // so height/padding and brand colours must be set here independently.
2020
+ ...{
2021
+ // Input field — mirrors MuiOutlinedInput sizing
2022
+ MuiPickersTextField: {
2023
+ styleOverrides: {
2024
+ root: {
2025
+ "& .MuiInputBase-root": {
2026
+ height: 32,
2027
+ borderRadius: radius5.md,
2028
+ boxShadow: tokenShadows.xs,
2029
+ fontSize: 14,
2030
+ lineHeight: "20px"
2031
+ },
2032
+ "& .MuiInputBase-input": {
2033
+ padding: "6px 12px",
2034
+ fontSize: 14,
2035
+ lineHeight: "20px"
2036
+ },
2037
+ "& .MuiOutlinedInput-notchedOutline": {
2038
+ borderColor: border5.primary
2039
+ },
2040
+ "&:hover .MuiOutlinedInput-notchedOutline": {
2041
+ borderColor: border5.brand
2042
+ },
2043
+ "& .Mui-focused .MuiOutlinedInput-notchedOutline": {
2044
+ borderColor: border5.brandSolid,
2045
+ borderWidth: 1,
2046
+ boxShadow: "none"
2047
+ },
2048
+ "& .MuiInputAdornment-root .MuiIconButton-root": {
2049
+ color: fg5.quaternary,
2050
+ padding: 4,
2051
+ "&:hover": {
2052
+ backgroundColor: bg5.primaryHover,
2053
+ color: fg5.brandPrimary
2054
+ }
2055
+ }
2056
+ }
2057
+ }
2058
+ },
2059
+ // Calendar popup container
2060
+ MuiPickersPopper: {
2061
+ styleOverrides: {
2062
+ paper: {
2063
+ borderRadius: radius5.xl,
2064
+ boxShadow: tokenShadows.lg,
2065
+ border: `1px solid ${border5.secondary}`,
2066
+ marginTop: 4
2067
+ }
2068
+ }
2069
+ },
2070
+ // Calendar layout
2071
+ MuiDateCalendar: {
2072
+ styleOverrides: {
2073
+ root: {
2074
+ width: 280,
2075
+ height: "auto"
2076
+ }
2077
+ }
2078
+ },
2079
+ // Month/year header navigation
2080
+ MuiPickersCalendarHeader: {
2081
+ styleOverrides: {
2082
+ root: {
2083
+ paddingLeft: 16,
2084
+ paddingRight: 8,
2085
+ marginTop: 8
2086
+ },
2087
+ label: {
2088
+ fontSize: 14,
2089
+ fontWeight: 600,
2090
+ color: text5.primary
2091
+ },
2092
+ switchViewButton: {
2093
+ color: fg5.quaternary,
2094
+ "&:hover": { backgroundColor: bg5.primaryHover, color: fg5.brandPrimary }
2095
+ }
2096
+ }
2097
+ },
2098
+ MuiPickersArrowSwitcher: {
2099
+ styleOverrides: {
2100
+ button: {
2101
+ color: fg5.quaternary,
2102
+ "&:hover": { backgroundColor: bg5.primaryHover, color: fg5.brandPrimary }
2103
+ }
2104
+ }
2105
+ },
2106
+ // Day/week header labels
2107
+ MuiDayCalendar: {
2108
+ styleOverrides: {
2109
+ weekDayLabel: {
2110
+ fontSize: 12,
2111
+ fontWeight: 500,
2112
+ color: text5.tertiary,
2113
+ width: 32,
2114
+ height: 32
2115
+ },
2116
+ weekContainer: {
2117
+ margin: "2px 0"
2118
+ }
2119
+ }
2120
+ },
2121
+ // Individual day cells
2122
+ MuiPickersDay: {
2123
+ defaultProps: {
2124
+ disableRipple: true
2125
+ },
2126
+ styleOverrides: {
2127
+ root: {
2128
+ fontSize: 13,
2129
+ fontWeight: 400,
2130
+ width: 32,
2131
+ height: 32,
2132
+ borderRadius: radius5.md,
2133
+ color: text5.primary,
2134
+ backgroundColor: "transparent",
2135
+ "&:hover": {
2136
+ backgroundColor: bg5.primaryHover
2137
+ },
2138
+ "&.Mui-selected": {
2139
+ backgroundColor: fg5.brandPrimary,
2140
+ color: base2.white,
2141
+ fontWeight: 600,
2142
+ "&:hover": {
2143
+ backgroundColor: buttonColors5.primary.bgHover
2144
+ },
2145
+ "&:focus": {
2146
+ backgroundColor: fg5.brandPrimary
2147
+ }
2148
+ },
2149
+ "&.MuiPickersDay-today": {
2150
+ border: `1px solid ${border5.brandSolid}`,
2151
+ color: fg5.brandPrimary,
2152
+ backgroundColor: "transparent",
2153
+ fontWeight: 600,
2154
+ "&.Mui-selected": {
2155
+ backgroundColor: fg5.brandPrimary,
2156
+ color: base2.white,
2157
+ border: "none"
2158
+ }
2159
+ },
2160
+ "&.Mui-focusVisible": {
2161
+ boxShadow: focusRings5.brand
2162
+ },
2163
+ "&.Mui-disabled": {
2164
+ color: text5.disabled
2165
+ }
2166
+ }
2167
+ }
2168
+ },
2169
+ // Year picker cells
2170
+ MuiPickersYear: {
2171
+ styleOverrides: {
2172
+ yearButton: {
2173
+ fontSize: 13,
2174
+ borderRadius: radius5.md,
2175
+ "&:hover": { backgroundColor: bg5.primaryHover },
2176
+ "&.Mui-selected": {
2177
+ backgroundColor: fg5.brandPrimary,
2178
+ color: base2.white,
2179
+ "&:hover": { backgroundColor: buttonColors5.primary.bgHover }
2180
+ }
2181
+ }
2182
+ }
2183
+ },
2184
+ // Month picker cells
2185
+ MuiPickersMonth: {
2186
+ styleOverrides: {
2187
+ monthButton: {
2188
+ fontSize: 13,
2189
+ borderRadius: radius5.md,
2190
+ "&:hover": { backgroundColor: bg5.primaryHover },
2191
+ "&.Mui-selected": {
2192
+ backgroundColor: fg5.brandPrimary,
2193
+ color: base2.white,
2194
+ "&:hover": { backgroundColor: buttonColors5.primary.bgHover }
2195
+ }
2196
+ }
2197
+ }
2198
+ }
1985
2199
  }
1986
2200
  };
1987
2201
  }
1988
2202
  buildComponents({
1989
- colors,
2203
+ base,
2204
+ error,
2205
+ warning,
2206
+ success,
2207
+ info,
1990
2208
  radius,
1991
2209
  focusRings,
1992
2210
  shadows,
@@ -1994,7 +2212,8 @@ buildComponents({
1994
2212
  bg,
1995
2213
  fg,
1996
2214
  border,
1997
- buttonColors});
2215
+ buttonColors,
2216
+ sliderColors});
1998
2217
 
1999
2218
  // src/theme/buildTheme.ts
2000
2219
  function buildThemeOptions(tokens) {
@@ -2013,39 +2232,6 @@ function buildTheme(tokens) {
2013
2232
  }
2014
2233
 
2015
2234
  // src/theme/presets/forest-external.ts
2016
- var colors2 = {
2017
- ...colors,
2018
- /** Brand scale — purple for client-facing products (#9D5FFF) */
2019
- brand: {
2020
- 25: "#faf8ff",
2021
- 50: "#f5f0ff",
2022
- 100: "#ebe0ff",
2023
- 200: "#d6c0ff",
2024
- 300: "#b090ff",
2025
- 400: "#9D5FFF",
2026
- 500: "#7c4de6",
2027
- 600: "#5b3acc",
2028
- 700: "#3a1aad",
2029
- 800: "#190a8a",
2030
- 900: "#000066",
2031
- 950: "#000033"
2032
- },
2033
- /** Warm-neutral gray scale */
2034
- gray: {
2035
- 25: "#fdfcfc",
2036
- 50: "#faf9f8",
2037
- 100: "#f5f3f1",
2038
- 200: "#e8e5e3",
2039
- 300: "#d8d8dc",
2040
- 400: "#a0a0a6",
2041
- 500: "#71717a",
2042
- 600: "#52525b",
2043
- 700: "#3f3f46",
2044
- 800: "#27272a",
2045
- 900: "#18181b",
2046
- 950: "#09090b"
2047
- }
2048
- };
2049
2235
  var radius2 = {
2050
2236
  ...radius,
2051
2237
  xxs: 1,
@@ -2059,215 +2245,215 @@ var radius2 = {
2059
2245
  "4xl": 12
2060
2246
  };
2061
2247
  var text2 = {
2062
- primary: colors2.gray[900],
2063
- secondary: colors2.gray[700],
2064
- secondaryHover: colors2.gray[800],
2065
- tertiary: colors2.gray[600],
2066
- tertiaryHover: colors2.gray[700],
2067
- quaternary: colors2.gray[500],
2068
- disabled: colors2.gray[500],
2069
- placeholder: colors2.gray[500],
2070
- placeholderSubtle: colors2.gray[300],
2071
- white: colors2.base.white,
2072
- brandPrimary: colors2.brand[900],
2073
- brandSecondary: colors2.brand[700],
2074
- brandTertiary: colors2.brand[600],
2075
- brandTertiaryAlt: colors2.brand[600],
2076
- primaryOnBrand: colors2.base.white,
2077
- secondaryOnBrand: colors2.brand[200],
2078
- tertiaryOnBrand: colors2.brand[200],
2079
- quaternaryOnBrand: colors2.brand[300],
2080
- errorPrimary: colors2.error[600],
2081
- warningPrimary: colors2.warning[600],
2082
- successPrimary: colors2.success[600]
2248
+ primary: gray[900],
2249
+ secondary: gray[700],
2250
+ secondaryHover: gray[800],
2251
+ tertiary: gray[600],
2252
+ tertiaryHover: gray[700],
2253
+ quaternary: gray[500],
2254
+ disabled: gray[500],
2255
+ placeholder: gray[500],
2256
+ placeholderSubtle: gray[300],
2257
+ white: base.white,
2258
+ brandPrimary: violet[900],
2259
+ brandSecondary: violet[700],
2260
+ brandTertiary: violet[600],
2261
+ brandTertiaryAlt: violet[600],
2262
+ primaryOnBrand: base.white,
2263
+ secondaryOnBrand: violet[200],
2264
+ tertiaryOnBrand: violet[200],
2265
+ quaternaryOnBrand: violet[300],
2266
+ errorPrimary: error[600],
2267
+ warningPrimary: warning[600],
2268
+ successPrimary: success[600]
2083
2269
  };
2084
2270
  var bg2 = {
2085
- primary: colors2.gray[50],
2086
- primaryAlt: colors2.gray[50],
2087
- primaryHover: colors2.gray[100],
2088
- primarySolid: colors2.gray[950],
2089
- secondary: colors2.base.white,
2090
- secondaryAlt: colors2.base.white,
2091
- secondarySubtle: colors2.gray[25],
2092
- secondaryHover: colors2.gray[50],
2093
- secondarySolid: colors2.gray[600],
2094
- tertiary: colors2.gray[100],
2095
- quaternary: colors2.gray[200],
2096
- active: colors2.gray[200],
2097
- disabled: colors2.gray[100],
2098
- disabledSubtle: colors2.gray[50],
2099
- overlay: colors2.gray[950],
2100
- brandPrimary: colors2.brand[50],
2101
- brandPrimaryAlt: colors2.brand[50],
2102
- brandSecondary: colors2.brand[100],
2103
- brandSolid: colors2.brand[600],
2104
- brandSolidHover: colors2.brand[700],
2105
- brandSection: colors2.brand[800],
2106
- brandSectionSubtle: colors2.brand[700],
2107
- errorPrimary: colors2.error[50],
2108
- errorSecondary: colors2.error[100],
2109
- errorSolid: colors2.error[600],
2110
- warningPrimary: colors2.warning[50],
2111
- warningSecondary: colors2.warning[100],
2112
- warningSolid: colors2.warning[600],
2113
- successPrimary: colors2.success[50],
2114
- successSecondary: colors2.success[100],
2115
- successSolid: colors2.success[600]
2271
+ primary: gray[50],
2272
+ primaryAlt: gray[50],
2273
+ primaryHover: gray[100],
2274
+ primarySolid: gray[950],
2275
+ secondary: base.white,
2276
+ secondaryAlt: base.white,
2277
+ secondarySubtle: gray[25],
2278
+ secondaryHover: gray[50],
2279
+ secondarySolid: gray[600],
2280
+ tertiary: gray[100],
2281
+ quaternary: gray[200],
2282
+ active: gray[200],
2283
+ disabled: gray[100],
2284
+ disabledSubtle: gray[50],
2285
+ overlay: gray[950],
2286
+ brandPrimary: violet[50],
2287
+ brandPrimaryAlt: violet[50],
2288
+ brandSecondary: violet[100],
2289
+ brandSolid: violet[400],
2290
+ brandSolidHover: violet[500],
2291
+ brandSection: violet[800],
2292
+ brandSectionSubtle: violet[700],
2293
+ errorPrimary: error[50],
2294
+ errorSecondary: error[100],
2295
+ errorSolid: error[600],
2296
+ warningPrimary: warning[50],
2297
+ warningSecondary: warning[100],
2298
+ warningSolid: warning[600],
2299
+ successPrimary: success[50],
2300
+ successSecondary: success[100],
2301
+ successSolid: success[600]
2116
2302
  };
2117
2303
  var fg2 = {
2118
- primary: colors2.gray[900],
2119
- secondary: colors2.gray[700],
2120
- secondaryHover: colors2.gray[800],
2121
- tertiary: colors2.gray[600],
2122
- tertiaryHover: colors2.gray[700],
2123
- quaternary: colors2.gray[500],
2124
- quaternaryHover: colors2.gray[600],
2125
- quinary: colors2.gray[400],
2126
- quinaryHover: colors2.gray[500],
2127
- senary: colors2.gray[300],
2128
- white: colors2.base.white,
2129
- disabled: colors2.gray[400],
2130
- disabledSubtle: colors2.gray[300],
2131
- brandPrimary: colors2.brand[600],
2132
- brandPrimaryAlt: colors2.brand[600],
2133
- brandSecondary: colors2.brand[500],
2134
- errorPrimary: colors2.error[600],
2135
- errorSecondary: colors2.error[500],
2136
- warningPrimary: colors2.warning[600],
2137
- warningSecondary: colors2.warning[500],
2138
- successPrimary: colors2.success[600],
2139
- successSecondary: colors2.success[500]
2304
+ primary: gray[900],
2305
+ secondary: gray[700],
2306
+ secondaryHover: gray[800],
2307
+ tertiary: gray[600],
2308
+ tertiaryHover: gray[700],
2309
+ quaternary: gray[500],
2310
+ quaternaryHover: gray[600],
2311
+ quinary: gray[400],
2312
+ quinaryHover: gray[500],
2313
+ senary: gray[300],
2314
+ white: base.white,
2315
+ disabled: gray[400],
2316
+ disabledSubtle: gray[300],
2317
+ brandPrimary: violet[400],
2318
+ brandPrimaryAlt: violet[400],
2319
+ brandSecondary: violet[400],
2320
+ errorPrimary: error[600],
2321
+ errorSecondary: error[500],
2322
+ warningPrimary: warning[600],
2323
+ warningSecondary: warning[500],
2324
+ successPrimary: success[600],
2325
+ successSecondary: success[500]
2140
2326
  };
2141
2327
  var border2 = {
2142
- primary: colors2.gray[300],
2143
- secondary: colors2.gray[200],
2144
- tertiary: colors2.gray[100],
2145
- disabled: colors2.gray[300],
2146
- disabledSubtle: colors2.gray[200],
2147
- brand: colors2.brand[300],
2148
- brandSolid: colors2.brand[600],
2149
- brandSolidAlt: colors2.brand[600],
2150
- error: colors2.error[300],
2151
- errorSolid: colors2.error[600]
2328
+ primary: gray[300],
2329
+ secondary: gray[200],
2330
+ tertiary: gray[100],
2331
+ disabled: gray[300],
2332
+ disabledSubtle: gray[200],
2333
+ brand: violet[300],
2334
+ brandSolid: violet[400],
2335
+ brandSolidAlt: violet[400],
2336
+ error: error[300],
2337
+ errorSolid: error[600]
2152
2338
  };
2153
2339
  var buttonColors2 = {
2154
2340
  primary: {
2155
- bg: colors2.brand[600],
2156
- bgHover: colors2.brand[700],
2157
- fg: colors2.base.white,
2158
- fgHover: colors2.base.white,
2159
- border: colors2.brand[600],
2160
- borderHover: colors2.brand[700]
2341
+ bg: violet[400],
2342
+ bgHover: violet[500],
2343
+ fg: base.white,
2344
+ fgHover: base.white,
2345
+ border: violet[400],
2346
+ borderHover: violet[500]
2161
2347
  },
2162
2348
  secondary: {
2163
- bg: colors2.base.white,
2164
- bgHover: colors2.gray[50],
2165
- fg: colors2.gray[700],
2166
- fgHover: colors2.gray[800],
2167
- border: colors2.gray[300],
2168
- borderHover: colors2.gray[300]
2349
+ bg: gray[900],
2350
+ bgHover: gray[950],
2351
+ fg: base.white,
2352
+ fgHover: base.white,
2353
+ border: gray[900],
2354
+ borderHover: gray[950]
2169
2355
  },
2170
2356
  secondaryColor: {
2171
- bg: colors2.base.white,
2172
- bgHover: colors2.brand[50],
2173
- fg: colors2.brand[700],
2174
- fgHover: colors2.brand[800],
2175
- border: colors2.brand[300],
2176
- borderHover: colors2.brand[300]
2357
+ bg: base.white,
2358
+ bgHover: violet[50],
2359
+ fg: violet[400],
2360
+ fgHover: violet[500],
2361
+ border: violet[300],
2362
+ borderHover: violet[300]
2177
2363
  },
2178
2364
  tertiary: {
2179
- fg: colors2.gray[600],
2180
- fgHover: colors2.gray[700],
2181
- bgHover: colors2.gray[50]
2365
+ fg: gray[600],
2366
+ fgHover: gray[700],
2367
+ bgHover: gray[50]
2182
2368
  },
2183
2369
  tertiaryColor: {
2184
- fg: colors2.brand[700],
2185
- fgHover: colors2.brand[800],
2186
- bgHover: colors2.brand[50]
2370
+ fg: violet[400],
2371
+ fgHover: violet[500],
2372
+ bgHover: violet[50]
2187
2373
  },
2188
2374
  primaryError: {
2189
- bg: colors2.error[600],
2190
- bgHover: colors2.error[700],
2191
- fg: colors2.base.white,
2192
- fgHover: colors2.base.white,
2193
- border: colors2.error[600],
2194
- borderHover: colors2.error[700]
2375
+ bg: error[600],
2376
+ bgHover: error[700],
2377
+ fg: base.white,
2378
+ fgHover: base.white,
2379
+ border: error[600],
2380
+ borderHover: error[700]
2195
2381
  },
2196
2382
  secondaryError: {
2197
- bg: colors2.base.white,
2198
- bgHover: colors2.error[50],
2199
- fg: colors2.error[700],
2200
- fgHover: colors2.error[800],
2201
- border: colors2.error[300],
2202
- borderHover: colors2.error[300]
2383
+ bg: base.white,
2384
+ bgHover: error[50],
2385
+ fg: error[700],
2386
+ fgHover: error[800],
2387
+ border: error[300],
2388
+ borderHover: error[300]
2203
2389
  },
2204
2390
  tertiaryError: {
2205
- fg: colors2.error[700],
2206
- fgHover: colors2.error[800],
2207
- bgHover: colors2.error[50]
2391
+ fg: error[700],
2392
+ fgHover: error[800],
2393
+ bgHover: error[50]
2208
2394
  }
2209
2395
  };
2210
2396
  var avatarColors2 = {
2211
- bg: colors2.gray[100],
2397
+ bg: gray[100],
2212
2398
  contrastBorder: "#00000014",
2213
- profilePhotoBorder: colors2.base.white,
2399
+ profilePhotoBorder: base.white,
2214
2400
  focusBorder: "#a0a0a624"
2215
2401
  // gray[400] + 14% alpha
2216
2402
  };
2217
2403
  var breadcrumbColors2 = {
2218
- fg: colors2.gray[600],
2219
- fgHover: colors2.gray[700],
2220
- bgHover: colors2.gray[50],
2221
- brandBgHover: colors2.brand[50],
2222
- brandFgHover: colors2.brand[700],
2223
- iconFg: colors2.gray[500],
2224
- iconFgHover: colors2.gray[700],
2225
- brandIconFgHover: colors2.brand[700]
2404
+ fg: gray[600],
2405
+ fgHover: gray[700],
2406
+ bgHover: gray[50],
2407
+ brandBgHover: violet[50],
2408
+ brandFgHover: violet[700],
2409
+ iconFg: gray[500],
2410
+ iconFgHover: gray[700],
2411
+ brandIconFgHover: violet[700]
2226
2412
  };
2227
2413
  var iconColors2 = {
2228
- fgBrand: colors2.brand[600],
2229
- fgBrandOnBrand: colors2.brand[200],
2230
- featuredModernBorder: colors2.gray[200],
2231
- featuredLightFgBrand: colors2.brand[600],
2232
- featuredLightFgGray: colors2.gray[500],
2233
- featuredLightFgError: colors2.error[600],
2234
- featuredLightFgWarning: colors2.warning[600],
2235
- featuredLightFgSuccess: colors2.success[600],
2236
- featuredDarkFgBrand: colors2.base.white,
2237
- featuredDarkFgGray: colors2.base.white,
2238
- featuredDarkFgError: colors2.base.white,
2239
- featuredDarkFgWarning: colors2.base.white,
2240
- featuredDarkFgSuccess: colors2.base.white
2414
+ fgBrand: violet[400],
2415
+ fgBrandOnBrand: violet[200],
2416
+ featuredModernBorder: gray[200],
2417
+ featuredLightFgBrand: violet[400],
2418
+ featuredLightFgGray: gray[500],
2419
+ featuredLightFgError: error[600],
2420
+ featuredLightFgWarning: warning[600],
2421
+ featuredLightFgSuccess: success[600],
2422
+ featuredDarkFgBrand: base.white,
2423
+ featuredDarkFgGray: base.white,
2424
+ featuredDarkFgError: base.white,
2425
+ featuredDarkFgWarning: base.white,
2426
+ featuredDarkFgSuccess: base.white
2241
2427
  };
2242
2428
  var navColors2 = {
2243
- itemIconFg: colors2.gray[500],
2244
- itemIconFgActive: colors2.gray[700],
2245
- itemButtonIconFg: colors2.gray[500],
2246
- itemButtonIconFgActive: colors2.gray[700]
2429
+ itemIconFg: gray[500],
2430
+ itemIconFgActive: gray[700],
2431
+ itemButtonIconFg: gray[500],
2432
+ itemButtonIconFgActive: gray[700]
2247
2433
  };
2248
2434
  var sliderColors2 = {
2249
- handleBorder: colors2.brand[600],
2250
- handleBg: colors2.base.white
2435
+ handleBorder: violet[400],
2436
+ handleBg: base.white
2251
2437
  };
2252
2438
  var toggleColors2 = {
2253
- buttonFgDisabled: colors2.gray[50]
2439
+ buttonFgDisabled: gray[50]
2254
2440
  };
2255
2441
  var chartColors2 = {
2256
- axisFg: colors2.gray[100],
2257
- gridlineFg: colors2.gray[100],
2258
- labelFg: colors2.gray[600],
2259
- labelFgEmphasis: colors2.gray[700],
2260
- bg: colors2.base.white,
2261
- bgAlt: colors2.gray[50],
2262
- tooltipBg: colors2.gray[950],
2263
- tooltipFg: colors2.base.white,
2264
- crosshairFg: colors2.gray[500],
2442
+ axisFg: gray[100],
2443
+ gridlineFg: gray[100],
2444
+ labelFg: gray[600],
2445
+ labelFgEmphasis: gray[700],
2446
+ bg: base.white,
2447
+ bgAlt: gray[50],
2448
+ tooltipBg: gray[950],
2449
+ tooltipFg: base.white,
2450
+ crosshairFg: gray[500],
2265
2451
  legendFg: text2.tertiary,
2266
2452
  series: [
2267
2453
  { fg: misc.purple[500], fgHover: misc.purple[600], bg: misc.purple[100], bgHover: misc.purple[200] },
2268
2454
  { fg: misc.orangeDark[400], fgHover: misc.orangeDark[500], bg: misc.orangeDark[100], bgHover: misc.orangeDark[200] },
2269
2455
  { fg: misc.teal[300], fgHover: misc.teal[400], bg: misc.teal[50], bgHover: misc.teal[100] },
2270
- { fg: colors2.warning[400], fgHover: colors2.warning[500], bg: colors2.warning[100], bgHover: colors2.warning[200] },
2456
+ { fg: warning[400], fgHover: warning[500], bg: warning[100], bgHover: warning[200] },
2271
2457
  { fg: misc.rose[400], fgHover: misc.rose[500], bg: misc.rose[100], bgHover: misc.rose[200] },
2272
2458
  { fg: misc.blueLight[400], fgHover: misc.blueLight[500], bg: misc.blueLight[100], bgHover: misc.blueLight[200] },
2273
2459
  { fg: misc.orange[300], fgHover: misc.orange[400], bg: misc.orange[100], bgHover: misc.orange[200] },
@@ -2279,9 +2465,9 @@ var chartColors2 = {
2279
2465
  ]
2280
2466
  };
2281
2467
  var focusRings2 = {
2282
- brand: "0px 0px 0px 4px #4040403d",
2283
- brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #4040403d",
2284
- brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #4040403d",
2468
+ brand: "0px 0px 0px 4px #9D5FFF3d",
2469
+ brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #9D5FFF3d",
2470
+ brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #9D5FFF3d",
2285
2471
  gray: "0px 0px 0px 4px #a0a0a624",
2286
2472
  grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
2287
2473
  grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
@@ -2294,7 +2480,11 @@ var forestExternalPreset = {
2294
2480
  variants: {
2295
2481
  light: {
2296
2482
  tokens: {
2297
- colors: colors2,
2483
+ base,
2484
+ error,
2485
+ warning,
2486
+ success,
2487
+ info,
2298
2488
  spacing,
2299
2489
  radius: radius2,
2300
2490
  shadows,
@@ -2325,54 +2515,19 @@ var forestExternalPreset = {
2325
2515
  };
2326
2516
 
2327
2517
  // src/theme/presets/forest-agency.ts
2328
- var colors3 = {
2329
- ...colors,
2330
- /** Brand scale — black-based for primary actions */
2518
+ var colors = {
2331
2519
  brand: {
2332
- 25: "#fafafa",
2333
- 50: "#f5f5f5",
2334
- 100: "#ebebeb",
2335
- 200: "#d6d6d6",
2336
- 300: "#b0b0b0",
2337
- 400: "#737373",
2338
- 500: "#404040",
2339
- 600: "#1a1a1a",
2340
- 700: "#0d0d0d",
2341
- 800: "#050505",
2342
- 900: "#000000",
2343
- 950: "#000000"
2344
- },
2345
- /** Accent color — red/orange sparingly used (#FF2821) */
2346
- accent: {
2347
- 25: "#fff8f7",
2348
- 50: "#fff0ee",
2349
- 100: "#ffe0dd",
2350
- 200: "#ffc0bb",
2351
- 300: "#ff9090",
2352
- 400: "#FF2821",
2353
- 500: "#e61a1a",
2354
- 600: "#cc1010",
2355
- 700: "#a30808",
2356
- 800: "#7a0000",
2357
- 900: "#520000",
2358
- 950: "#290000"
2359
- },
2360
- /** Warm-neutral gray scale */
2361
- gray: {
2362
- 25: "#fdfcfc",
2363
- 50: "#faf9f8",
2364
- 100: "#f5f3f1",
2365
- 200: "#e8e5e3",
2366
- 300: "#d8d8dc",
2367
- 400: "#a0a0a6",
2368
- 500: "#71717a",
2369
- 600: "#52525b",
2370
- 700: "#3f3f46",
2371
- 800: "#27272a",
2372
- 900: "#18181b",
2373
- 950: "#09090b"
2374
- }
2375
- };
2520
+ 50: gray[50],
2521
+ 100: gray[100],
2522
+ 200: gray[200],
2523
+ 300: gray[300],
2524
+ 500: gray[500],
2525
+ 600: gray[900],
2526
+ // #18181b - dark brand
2527
+ 700: gray[950],
2528
+ // #09090b - primary brand
2529
+ 800: gray[950],
2530
+ 900: gray[950]}};
2376
2531
  var radius3 = {
2377
2532
  ...radius,
2378
2533
  xxs: 1,
@@ -2386,215 +2541,215 @@ var radius3 = {
2386
2541
  "4xl": 12
2387
2542
  };
2388
2543
  var text3 = {
2389
- primary: colors3.gray[900],
2390
- secondary: colors3.gray[700],
2391
- secondaryHover: colors3.gray[800],
2392
- tertiary: colors3.gray[600],
2393
- tertiaryHover: colors3.gray[700],
2394
- quaternary: colors3.gray[500],
2395
- disabled: colors3.gray[500],
2396
- placeholder: colors3.gray[500],
2397
- placeholderSubtle: colors3.gray[300],
2398
- white: colors3.base.white,
2399
- brandPrimary: colors3.brand[900],
2400
- brandSecondary: colors3.brand[700],
2401
- brandTertiary: colors3.brand[600],
2402
- brandTertiaryAlt: colors3.brand[600],
2403
- primaryOnBrand: colors3.base.white,
2404
- secondaryOnBrand: colors3.brand[200],
2405
- tertiaryOnBrand: colors3.brand[200],
2406
- quaternaryOnBrand: colors3.brand[300],
2407
- errorPrimary: colors3.error[600],
2408
- warningPrimary: colors3.warning[600],
2409
- successPrimary: colors3.success[600]
2544
+ primary: gray[900],
2545
+ secondary: gray[700],
2546
+ secondaryHover: gray[800],
2547
+ tertiary: gray[600],
2548
+ tertiaryHover: gray[700],
2549
+ quaternary: gray[500],
2550
+ disabled: gray[500],
2551
+ placeholder: gray[500],
2552
+ placeholderSubtle: gray[300],
2553
+ white: base.white,
2554
+ brandPrimary: colors.brand[900],
2555
+ brandSecondary: colors.brand[700],
2556
+ brandTertiary: colors.brand[600],
2557
+ brandTertiaryAlt: colors.brand[600],
2558
+ primaryOnBrand: base.white,
2559
+ secondaryOnBrand: colors.brand[200],
2560
+ tertiaryOnBrand: colors.brand[200],
2561
+ quaternaryOnBrand: colors.brand[300],
2562
+ errorPrimary: error[600],
2563
+ warningPrimary: warning[600],
2564
+ successPrimary: success[600]
2410
2565
  };
2411
2566
  var bg3 = {
2412
- primary: colors3.gray[50],
2413
- primaryAlt: colors3.gray[50],
2414
- primaryHover: colors3.gray[100],
2415
- primarySolid: colors3.gray[950],
2416
- secondary: colors3.base.white,
2417
- secondaryAlt: colors3.base.white,
2418
- secondarySubtle: colors3.gray[25],
2419
- secondaryHover: colors3.gray[50],
2420
- secondarySolid: colors3.gray[600],
2421
- tertiary: colors3.gray[100],
2422
- quaternary: colors3.gray[200],
2423
- active: colors3.gray[200],
2424
- disabled: colors3.gray[100],
2425
- disabledSubtle: colors3.gray[50],
2426
- overlay: colors3.gray[950],
2427
- brandPrimary: colors3.brand[50],
2428
- brandPrimaryAlt: colors3.brand[50],
2429
- brandSecondary: colors3.brand[100],
2430
- brandSolid: colors3.brand[600],
2431
- brandSolidHover: colors3.brand[700],
2432
- brandSection: colors3.brand[800],
2433
- brandSectionSubtle: colors3.brand[700],
2434
- errorPrimary: colors3.error[50],
2435
- errorSecondary: colors3.error[100],
2436
- errorSolid: colors3.error[600],
2437
- warningPrimary: colors3.warning[50],
2438
- warningSecondary: colors3.warning[100],
2439
- warningSolid: colors3.warning[600],
2440
- successPrimary: colors3.success[50],
2441
- successSecondary: colors3.success[100],
2442
- successSolid: colors3.success[600]
2567
+ primary: gray[50],
2568
+ primaryAlt: gray[50],
2569
+ primaryHover: gray[100],
2570
+ primarySolid: gray[950],
2571
+ secondary: base.white,
2572
+ secondaryAlt: base.white,
2573
+ secondarySubtle: gray[25],
2574
+ secondaryHover: gray[50],
2575
+ secondarySolid: gray[600],
2576
+ tertiary: gray[100],
2577
+ quaternary: gray[200],
2578
+ active: gray[200],
2579
+ disabled: gray[100],
2580
+ disabledSubtle: gray[50],
2581
+ overlay: gray[950],
2582
+ brandPrimary: colors.brand[50],
2583
+ brandPrimaryAlt: colors.brand[50],
2584
+ brandSecondary: colors.brand[100],
2585
+ brandSolid: colors.brand[600],
2586
+ brandSolidHover: colors.brand[700],
2587
+ brandSection: colors.brand[800],
2588
+ brandSectionSubtle: colors.brand[700],
2589
+ errorPrimary: error[50],
2590
+ errorSecondary: error[100],
2591
+ errorSolid: error[600],
2592
+ warningPrimary: warning[50],
2593
+ warningSecondary: warning[100],
2594
+ warningSolid: warning[600],
2595
+ successPrimary: success[50],
2596
+ successSecondary: success[100],
2597
+ successSolid: success[600]
2443
2598
  };
2444
2599
  var fg3 = {
2445
- primary: colors3.gray[900],
2446
- secondary: colors3.gray[700],
2447
- secondaryHover: colors3.gray[800],
2448
- tertiary: colors3.gray[600],
2449
- tertiaryHover: colors3.gray[700],
2450
- quaternary: colors3.gray[500],
2451
- quaternaryHover: colors3.gray[600],
2452
- quinary: colors3.gray[400],
2453
- quinaryHover: colors3.gray[500],
2454
- senary: colors3.gray[300],
2455
- white: colors3.base.white,
2456
- disabled: colors3.gray[400],
2457
- disabledSubtle: colors3.gray[300],
2458
- brandPrimary: colors3.brand[600],
2459
- brandPrimaryAlt: colors3.brand[600],
2460
- brandSecondary: colors3.brand[500],
2461
- errorPrimary: colors3.error[600],
2462
- errorSecondary: colors3.error[500],
2463
- warningPrimary: colors3.warning[600],
2464
- warningSecondary: colors3.warning[500],
2465
- successPrimary: colors3.success[600],
2466
- successSecondary: colors3.success[500]
2600
+ primary: gray[900],
2601
+ secondary: gray[700],
2602
+ secondaryHover: gray[800],
2603
+ tertiary: gray[600],
2604
+ tertiaryHover: gray[700],
2605
+ quaternary: gray[500],
2606
+ quaternaryHover: gray[600],
2607
+ quinary: gray[400],
2608
+ quinaryHover: gray[500],
2609
+ senary: gray[300],
2610
+ white: base.white,
2611
+ disabled: gray[400],
2612
+ disabledSubtle: gray[300],
2613
+ brandPrimary: colors.brand[600],
2614
+ brandPrimaryAlt: colors.brand[600],
2615
+ brandSecondary: colors.brand[500],
2616
+ errorPrimary: error[600],
2617
+ errorSecondary: error[500],
2618
+ warningPrimary: warning[600],
2619
+ warningSecondary: warning[500],
2620
+ successPrimary: success[600],
2621
+ successSecondary: success[500]
2467
2622
  };
2468
2623
  var border3 = {
2469
- primary: colors3.gray[300],
2470
- secondary: colors3.gray[200],
2471
- tertiary: colors3.gray[100],
2472
- disabled: colors3.gray[300],
2473
- disabledSubtle: colors3.gray[200],
2474
- brand: colors3.brand[300],
2475
- brandSolid: colors3.brand[600],
2476
- brandSolidAlt: colors3.brand[600],
2477
- error: colors3.error[300],
2478
- errorSolid: colors3.error[600]
2624
+ primary: gray[300],
2625
+ secondary: gray[200],
2626
+ tertiary: gray[100],
2627
+ disabled: gray[300],
2628
+ disabledSubtle: gray[200],
2629
+ brand: colors.brand[300],
2630
+ brandSolid: colors.brand[600],
2631
+ brandSolidAlt: colors.brand[600],
2632
+ error: error[300],
2633
+ errorSolid: error[600]
2479
2634
  };
2480
2635
  var buttonColors3 = {
2481
2636
  primary: {
2482
- bg: colors3.brand[600],
2483
- bgHover: colors3.brand[700],
2484
- fg: colors3.base.white,
2485
- fgHover: colors3.base.white,
2486
- border: colors3.brand[600],
2487
- borderHover: colors3.brand[700]
2637
+ bg: colors.brand[700],
2638
+ bgHover: colors.brand[800],
2639
+ fg: base.white,
2640
+ fgHover: base.white,
2641
+ border: colors.brand[700],
2642
+ borderHover: colors.brand[800]
2488
2643
  },
2489
2644
  secondary: {
2490
- bg: colors3.base.white,
2491
- bgHover: colors3.gray[50],
2492
- fg: colors3.gray[700],
2493
- fgHover: colors3.gray[800],
2494
- border: colors3.gray[300],
2495
- borderHover: colors3.gray[300]
2645
+ bg: gray[900],
2646
+ bgHover: gray[950],
2647
+ fg: base.white,
2648
+ fgHover: base.white,
2649
+ border: gray[900],
2650
+ borderHover: gray[950]
2496
2651
  },
2497
2652
  secondaryColor: {
2498
- bg: colors3.base.white,
2499
- bgHover: colors3.brand[50],
2500
- fg: colors3.brand[700],
2501
- fgHover: colors3.brand[800],
2502
- border: colors3.brand[300],
2503
- borderHover: colors3.brand[300]
2653
+ bg: base.white,
2654
+ bgHover: colors.brand[50],
2655
+ fg: colors.brand[700],
2656
+ fgHover: colors.brand[800],
2657
+ border: colors.brand[300],
2658
+ borderHover: colors.brand[300]
2504
2659
  },
2505
2660
  tertiary: {
2506
- fg: colors3.gray[600],
2507
- fgHover: colors3.gray[700],
2508
- bgHover: colors3.gray[50]
2661
+ fg: gray[600],
2662
+ fgHover: gray[700],
2663
+ bgHover: gray[50]
2509
2664
  },
2510
2665
  tertiaryColor: {
2511
- fg: colors3.brand[700],
2512
- fgHover: colors3.brand[800],
2513
- bgHover: colors3.brand[50]
2666
+ fg: colors.brand[700],
2667
+ fgHover: colors.brand[800],
2668
+ bgHover: colors.brand[50]
2514
2669
  },
2515
2670
  primaryError: {
2516
- bg: colors3.error[600],
2517
- bgHover: colors3.error[700],
2518
- fg: colors3.base.white,
2519
- fgHover: colors3.base.white,
2520
- border: colors3.error[600],
2521
- borderHover: colors3.error[700]
2671
+ bg: error[600],
2672
+ bgHover: error[700],
2673
+ fg: base.white,
2674
+ fgHover: base.white,
2675
+ border: error[600],
2676
+ borderHover: error[700]
2522
2677
  },
2523
2678
  secondaryError: {
2524
- bg: colors3.base.white,
2525
- bgHover: colors3.error[50],
2526
- fg: colors3.error[700],
2527
- fgHover: colors3.error[800],
2528
- border: colors3.error[300],
2529
- borderHover: colors3.error[300]
2679
+ bg: base.white,
2680
+ bgHover: error[50],
2681
+ fg: error[700],
2682
+ fgHover: error[800],
2683
+ border: error[300],
2684
+ borderHover: error[300]
2530
2685
  },
2531
2686
  tertiaryError: {
2532
- fg: colors3.error[700],
2533
- fgHover: colors3.error[800],
2534
- bgHover: colors3.error[50]
2687
+ fg: error[700],
2688
+ fgHover: error[800],
2689
+ bgHover: error[50]
2535
2690
  }
2536
2691
  };
2537
2692
  var avatarColors3 = {
2538
- bg: colors3.gray[100],
2693
+ bg: gray[100],
2539
2694
  contrastBorder: "#00000014",
2540
- profilePhotoBorder: colors3.base.white,
2695
+ profilePhotoBorder: base.white,
2541
2696
  focusBorder: "#a0a0a624"
2542
2697
  // gray[400] + 14% alpha
2543
2698
  };
2544
2699
  var breadcrumbColors3 = {
2545
- fg: colors3.gray[600],
2546
- fgHover: colors3.gray[700],
2547
- bgHover: colors3.gray[50],
2548
- brandBgHover: colors3.brand[50],
2549
- brandFgHover: colors3.brand[700],
2550
- iconFg: colors3.gray[500],
2551
- iconFgHover: colors3.gray[700],
2552
- brandIconFgHover: colors3.brand[700]
2700
+ fg: gray[600],
2701
+ fgHover: gray[700],
2702
+ bgHover: gray[50],
2703
+ brandBgHover: colors.brand[50],
2704
+ brandFgHover: colors.brand[700],
2705
+ iconFg: gray[500],
2706
+ iconFgHover: gray[700],
2707
+ brandIconFgHover: colors.brand[700]
2553
2708
  };
2554
2709
  var iconColors3 = {
2555
- fgBrand: colors3.brand[600],
2556
- fgBrandOnBrand: colors3.brand[200],
2557
- featuredModernBorder: colors3.gray[200],
2558
- featuredLightFgBrand: colors3.brand[600],
2559
- featuredLightFgGray: colors3.gray[500],
2560
- featuredLightFgError: colors3.error[600],
2561
- featuredLightFgWarning: colors3.warning[600],
2562
- featuredLightFgSuccess: colors3.success[600],
2563
- featuredDarkFgBrand: colors3.base.white,
2564
- featuredDarkFgGray: colors3.base.white,
2565
- featuredDarkFgError: colors3.base.white,
2566
- featuredDarkFgWarning: colors3.base.white,
2567
- featuredDarkFgSuccess: colors3.base.white
2710
+ fgBrand: colors.brand[600],
2711
+ fgBrandOnBrand: colors.brand[200],
2712
+ featuredModernBorder: gray[200],
2713
+ featuredLightFgBrand: colors.brand[600],
2714
+ featuredLightFgGray: gray[500],
2715
+ featuredLightFgError: error[600],
2716
+ featuredLightFgWarning: warning[600],
2717
+ featuredLightFgSuccess: success[600],
2718
+ featuredDarkFgBrand: base.white,
2719
+ featuredDarkFgGray: base.white,
2720
+ featuredDarkFgError: base.white,
2721
+ featuredDarkFgWarning: base.white,
2722
+ featuredDarkFgSuccess: base.white
2568
2723
  };
2569
2724
  var navColors3 = {
2570
- itemIconFg: colors3.gray[500],
2571
- itemIconFgActive: colors3.gray[700],
2572
- itemButtonIconFg: colors3.gray[500],
2573
- itemButtonIconFgActive: colors3.gray[700]
2725
+ itemIconFg: gray[500],
2726
+ itemIconFgActive: gray[700],
2727
+ itemButtonIconFg: gray[500],
2728
+ itemButtonIconFgActive: gray[700]
2574
2729
  };
2575
2730
  var sliderColors3 = {
2576
- handleBorder: colors3.brand[600],
2577
- handleBg: colors3.base.white
2731
+ handleBorder: colors.brand[600],
2732
+ handleBg: base.white
2578
2733
  };
2579
2734
  var toggleColors3 = {
2580
- buttonFgDisabled: colors3.gray[50]
2735
+ buttonFgDisabled: gray[50]
2581
2736
  };
2582
2737
  var chartColors3 = {
2583
- axisFg: colors3.gray[100],
2584
- gridlineFg: colors3.gray[100],
2585
- labelFg: colors3.gray[600],
2586
- labelFgEmphasis: colors3.gray[700],
2587
- bg: colors3.base.white,
2588
- bgAlt: colors3.gray[50],
2589
- tooltipBg: colors3.gray[950],
2590
- tooltipFg: colors3.base.white,
2591
- crosshairFg: colors3.gray[500],
2738
+ axisFg: gray[100],
2739
+ gridlineFg: gray[100],
2740
+ labelFg: gray[600],
2741
+ labelFgEmphasis: gray[700],
2742
+ bg: base.white,
2743
+ bgAlt: gray[50],
2744
+ tooltipBg: gray[950],
2745
+ tooltipFg: base.white,
2746
+ crosshairFg: gray[500],
2592
2747
  legendFg: text3.tertiary,
2593
2748
  series: [
2594
2749
  { fg: misc.purple[500], fgHover: misc.purple[600], bg: misc.purple[100], bgHover: misc.purple[200] },
2595
2750
  { fg: misc.orangeDark[400], fgHover: misc.orangeDark[500], bg: misc.orangeDark[100], bgHover: misc.orangeDark[200] },
2596
2751
  { fg: misc.teal[300], fgHover: misc.teal[400], bg: misc.teal[50], bgHover: misc.teal[100] },
2597
- { fg: colors3.warning[400], fgHover: colors3.warning[500], bg: colors3.warning[100], bgHover: colors3.warning[200] },
2752
+ { fg: warning[400], fgHover: warning[500], bg: warning[100], bgHover: warning[200] },
2598
2753
  { fg: misc.rose[400], fgHover: misc.rose[500], bg: misc.rose[100], bgHover: misc.rose[200] },
2599
2754
  { fg: misc.blueLight[400], fgHover: misc.blueLight[500], bg: misc.blueLight[100], bgHover: misc.blueLight[200] },
2600
2755
  { fg: misc.orange[300], fgHover: misc.orange[400], bg: misc.orange[100], bgHover: misc.orange[200] },
@@ -2621,7 +2776,11 @@ var forestAgencyPreset = {
2621
2776
  variants: {
2622
2777
  light: {
2623
2778
  tokens: {
2624
- colors: colors3,
2779
+ base,
2780
+ error,
2781
+ warning,
2782
+ success,
2783
+ info,
2625
2784
  spacing,
2626
2785
  radius: radius3,
2627
2786
  shadows,
@@ -2652,39 +2811,6 @@ var forestAgencyPreset = {
2652
2811
  };
2653
2812
 
2654
2813
  // src/theme/presets/forest-internal.ts
2655
- var colors4 = {
2656
- ...colors,
2657
- /** Brand scale — pink/magenta for internal tools (#FF78F3) */
2658
- brand: {
2659
- 25: "#fff8fd",
2660
- 50: "#fff0fa",
2661
- 100: "#ffe0f5",
2662
- 200: "#ffc0eb",
2663
- 300: "#ff90d8",
2664
- 400: "#FF78F3",
2665
- 500: "#e650d4",
2666
- 600: "#cc28b5",
2667
- 700: "#a3008c",
2668
- 800: "#7a0066",
2669
- 900: "#520044",
2670
- 950: "#290022"
2671
- },
2672
- /** Warm-neutral gray scale */
2673
- gray: {
2674
- 25: "#fdfcfc",
2675
- 50: "#faf9f8",
2676
- 100: "#f5f3f1",
2677
- 200: "#e8e5e3",
2678
- 300: "#d8d8dc",
2679
- 400: "#a0a0a6",
2680
- 500: "#71717a",
2681
- 600: "#52525b",
2682
- 700: "#3f3f46",
2683
- 800: "#27272a",
2684
- 900: "#18181b",
2685
- 950: "#09090b"
2686
- }
2687
- };
2688
2814
  var radius4 = {
2689
2815
  ...radius,
2690
2816
  xxs: 1,
@@ -2698,215 +2824,215 @@ var radius4 = {
2698
2824
  "4xl": 12
2699
2825
  };
2700
2826
  var text4 = {
2701
- primary: colors4.gray[900],
2702
- secondary: colors4.gray[700],
2703
- secondaryHover: colors4.gray[800],
2704
- tertiary: colors4.gray[600],
2705
- tertiaryHover: colors4.gray[700],
2706
- quaternary: colors4.gray[500],
2707
- disabled: colors4.gray[500],
2708
- placeholder: colors4.gray[500],
2709
- placeholderSubtle: colors4.gray[300],
2710
- white: colors4.base.white,
2711
- brandPrimary: colors4.brand[900],
2712
- brandSecondary: colors4.brand[700],
2713
- brandTertiary: colors4.brand[600],
2714
- brandTertiaryAlt: colors4.brand[600],
2715
- primaryOnBrand: colors4.base.white,
2716
- secondaryOnBrand: colors4.brand[200],
2717
- tertiaryOnBrand: colors4.brand[200],
2718
- quaternaryOnBrand: colors4.brand[300],
2719
- errorPrimary: colors4.error[600],
2720
- warningPrimary: colors4.warning[600],
2721
- successPrimary: colors4.success[600]
2827
+ primary: gray[900],
2828
+ secondary: gray[700],
2829
+ secondaryHover: gray[800],
2830
+ tertiary: gray[600],
2831
+ tertiaryHover: gray[700],
2832
+ quaternary: gray[500],
2833
+ disabled: gray[500],
2834
+ placeholder: gray[500],
2835
+ placeholderSubtle: gray[300],
2836
+ white: base.white,
2837
+ brandPrimary: magenta[900],
2838
+ brandSecondary: magenta[700],
2839
+ brandTertiary: magenta[600],
2840
+ brandTertiaryAlt: magenta[600],
2841
+ primaryOnBrand: base.white,
2842
+ secondaryOnBrand: magenta[200],
2843
+ tertiaryOnBrand: magenta[200],
2844
+ quaternaryOnBrand: magenta[300],
2845
+ errorPrimary: error[600],
2846
+ warningPrimary: warning[600],
2847
+ successPrimary: success[600]
2722
2848
  };
2723
2849
  var bg4 = {
2724
- primary: colors4.gray[50],
2725
- primaryAlt: colors4.gray[50],
2726
- primaryHover: colors4.gray[100],
2727
- primarySolid: colors4.gray[950],
2728
- secondary: colors4.base.white,
2729
- secondaryAlt: colors4.base.white,
2730
- secondarySubtle: colors4.gray[25],
2731
- secondaryHover: colors4.gray[50],
2732
- secondarySolid: colors4.gray[600],
2733
- tertiary: colors4.gray[100],
2734
- quaternary: colors4.gray[200],
2735
- active: colors4.gray[200],
2736
- disabled: colors4.gray[100],
2737
- disabledSubtle: colors4.gray[50],
2738
- overlay: colors4.gray[950],
2739
- brandPrimary: colors4.brand[50],
2740
- brandPrimaryAlt: colors4.brand[50],
2741
- brandSecondary: colors4.brand[100],
2742
- brandSolid: colors4.brand[600],
2743
- brandSolidHover: colors4.brand[700],
2744
- brandSection: colors4.brand[800],
2745
- brandSectionSubtle: colors4.brand[700],
2746
- errorPrimary: colors4.error[50],
2747
- errorSecondary: colors4.error[100],
2748
- errorSolid: colors4.error[600],
2749
- warningPrimary: colors4.warning[50],
2750
- warningSecondary: colors4.warning[100],
2751
- warningSolid: colors4.warning[600],
2752
- successPrimary: colors4.success[50],
2753
- successSecondary: colors4.success[100],
2754
- successSolid: colors4.success[600]
2850
+ primary: gray[50],
2851
+ primaryAlt: gray[50],
2852
+ primaryHover: gray[100],
2853
+ primarySolid: gray[950],
2854
+ secondary: base.white,
2855
+ secondaryAlt: base.white,
2856
+ secondarySubtle: gray[25],
2857
+ secondaryHover: gray[50],
2858
+ secondarySolid: gray[600],
2859
+ tertiary: gray[100],
2860
+ quaternary: gray[200],
2861
+ active: gray[200],
2862
+ disabled: gray[100],
2863
+ disabledSubtle: gray[50],
2864
+ overlay: gray[950],
2865
+ brandPrimary: magenta[50],
2866
+ brandPrimaryAlt: magenta[50],
2867
+ brandSecondary: magenta[100],
2868
+ brandSolid: magenta[400],
2869
+ brandSolidHover: magenta[500],
2870
+ brandSection: magenta[800],
2871
+ brandSectionSubtle: magenta[700],
2872
+ errorPrimary: error[50],
2873
+ errorSecondary: error[100],
2874
+ errorSolid: error[600],
2875
+ warningPrimary: warning[50],
2876
+ warningSecondary: warning[100],
2877
+ warningSolid: warning[600],
2878
+ successPrimary: success[50],
2879
+ successSecondary: success[100],
2880
+ successSolid: success[600]
2755
2881
  };
2756
2882
  var fg4 = {
2757
- primary: colors4.gray[900],
2758
- secondary: colors4.gray[700],
2759
- secondaryHover: colors4.gray[800],
2760
- tertiary: colors4.gray[600],
2761
- tertiaryHover: colors4.gray[700],
2762
- quaternary: colors4.gray[500],
2763
- quaternaryHover: colors4.gray[600],
2764
- quinary: colors4.gray[400],
2765
- quinaryHover: colors4.gray[500],
2766
- senary: colors4.gray[300],
2767
- white: colors4.base.white,
2768
- disabled: colors4.gray[400],
2769
- disabledSubtle: colors4.gray[300],
2770
- brandPrimary: colors4.brand[600],
2771
- brandPrimaryAlt: colors4.brand[600],
2772
- brandSecondary: colors4.brand[500],
2773
- errorPrimary: colors4.error[600],
2774
- errorSecondary: colors4.error[500],
2775
- warningPrimary: colors4.warning[600],
2776
- warningSecondary: colors4.warning[500],
2777
- successPrimary: colors4.success[600],
2778
- successSecondary: colors4.success[500]
2883
+ primary: gray[900],
2884
+ secondary: gray[700],
2885
+ secondaryHover: gray[800],
2886
+ tertiary: gray[600],
2887
+ tertiaryHover: gray[700],
2888
+ quaternary: gray[500],
2889
+ quaternaryHover: gray[600],
2890
+ quinary: gray[400],
2891
+ quinaryHover: gray[500],
2892
+ senary: gray[300],
2893
+ white: base.white,
2894
+ disabled: gray[400],
2895
+ disabledSubtle: gray[300],
2896
+ brandPrimary: magenta[400],
2897
+ brandPrimaryAlt: magenta[400],
2898
+ brandSecondary: magenta[400],
2899
+ errorPrimary: error[600],
2900
+ errorSecondary: error[500],
2901
+ warningPrimary: warning[600],
2902
+ warningSecondary: warning[500],
2903
+ successPrimary: success[600],
2904
+ successSecondary: success[500]
2779
2905
  };
2780
2906
  var border4 = {
2781
- primary: colors4.gray[300],
2782
- secondary: colors4.gray[200],
2783
- tertiary: colors4.gray[100],
2784
- disabled: colors4.gray[300],
2785
- disabledSubtle: colors4.gray[200],
2786
- brand: colors4.brand[300],
2787
- brandSolid: colors4.brand[600],
2788
- brandSolidAlt: colors4.brand[600],
2789
- error: colors4.error[300],
2790
- errorSolid: colors4.error[600]
2907
+ primary: gray[300],
2908
+ secondary: gray[200],
2909
+ tertiary: gray[100],
2910
+ disabled: gray[300],
2911
+ disabledSubtle: gray[200],
2912
+ brand: magenta[300],
2913
+ brandSolid: magenta[400],
2914
+ brandSolidAlt: magenta[400],
2915
+ error: error[300],
2916
+ errorSolid: error[600]
2791
2917
  };
2792
2918
  var buttonColors4 = {
2793
2919
  primary: {
2794
- bg: colors4.brand[600],
2795
- bgHover: colors4.brand[700],
2796
- fg: colors4.base.white,
2797
- fgHover: colors4.base.white,
2798
- border: colors4.brand[600],
2799
- borderHover: colors4.brand[700]
2920
+ bg: magenta[400],
2921
+ bgHover: magenta[500],
2922
+ fg: base.white,
2923
+ fgHover: base.white,
2924
+ border: magenta[400],
2925
+ borderHover: magenta[500]
2800
2926
  },
2801
2927
  secondary: {
2802
- bg: colors4.base.white,
2803
- bgHover: colors4.gray[50],
2804
- fg: colors4.gray[700],
2805
- fgHover: colors4.gray[800],
2806
- border: colors4.gray[300],
2807
- borderHover: colors4.gray[300]
2928
+ bg: gray[900],
2929
+ bgHover: gray[950],
2930
+ fg: base.white,
2931
+ fgHover: base.white,
2932
+ border: gray[900],
2933
+ borderHover: gray[950]
2808
2934
  },
2809
2935
  secondaryColor: {
2810
- bg: colors4.base.white,
2811
- bgHover: colors4.brand[50],
2812
- fg: colors4.brand[700],
2813
- fgHover: colors4.brand[800],
2814
- border: colors4.brand[300],
2815
- borderHover: colors4.brand[300]
2936
+ bg: base.white,
2937
+ bgHover: magenta[50],
2938
+ fg: magenta[400],
2939
+ fgHover: magenta[500],
2940
+ border: magenta[300],
2941
+ borderHover: magenta[300]
2816
2942
  },
2817
2943
  tertiary: {
2818
- fg: colors4.gray[600],
2819
- fgHover: colors4.gray[700],
2820
- bgHover: colors4.gray[50]
2944
+ fg: gray[600],
2945
+ fgHover: gray[700],
2946
+ bgHover: gray[50]
2821
2947
  },
2822
2948
  tertiaryColor: {
2823
- fg: colors4.brand[700],
2824
- fgHover: colors4.brand[800],
2825
- bgHover: colors4.brand[50]
2949
+ fg: magenta[400],
2950
+ fgHover: magenta[500],
2951
+ bgHover: magenta[50]
2826
2952
  },
2827
2953
  primaryError: {
2828
- bg: colors4.error[600],
2829
- bgHover: colors4.error[700],
2830
- fg: colors4.base.white,
2831
- fgHover: colors4.base.white,
2832
- border: colors4.error[600],
2833
- borderHover: colors4.error[700]
2954
+ bg: error[600],
2955
+ bgHover: error[700],
2956
+ fg: base.white,
2957
+ fgHover: base.white,
2958
+ border: error[600],
2959
+ borderHover: error[700]
2834
2960
  },
2835
2961
  secondaryError: {
2836
- bg: colors4.base.white,
2837
- bgHover: colors4.error[50],
2838
- fg: colors4.error[700],
2839
- fgHover: colors4.error[800],
2840
- border: colors4.error[300],
2841
- borderHover: colors4.error[300]
2962
+ bg: base.white,
2963
+ bgHover: error[50],
2964
+ fg: error[700],
2965
+ fgHover: error[800],
2966
+ border: error[300],
2967
+ borderHover: error[300]
2842
2968
  },
2843
2969
  tertiaryError: {
2844
- fg: colors4.error[700],
2845
- fgHover: colors4.error[800],
2846
- bgHover: colors4.error[50]
2970
+ fg: error[700],
2971
+ fgHover: error[800],
2972
+ bgHover: error[50]
2847
2973
  }
2848
2974
  };
2849
2975
  var avatarColors4 = {
2850
- bg: colors4.gray[100],
2976
+ bg: gray[100],
2851
2977
  contrastBorder: "#00000014",
2852
- profilePhotoBorder: colors4.base.white,
2978
+ profilePhotoBorder: base.white,
2853
2979
  focusBorder: "#a0a0a624"
2854
2980
  // gray[400] + 14% alpha
2855
2981
  };
2856
2982
  var breadcrumbColors4 = {
2857
- fg: colors4.gray[600],
2858
- fgHover: colors4.gray[700],
2859
- bgHover: colors4.gray[50],
2860
- brandBgHover: colors4.brand[50],
2861
- brandFgHover: colors4.brand[700],
2862
- iconFg: colors4.gray[500],
2863
- iconFgHover: colors4.gray[700],
2864
- brandIconFgHover: colors4.brand[700]
2983
+ fg: gray[600],
2984
+ fgHover: gray[700],
2985
+ bgHover: gray[50],
2986
+ brandBgHover: magenta[50],
2987
+ brandFgHover: magenta[700],
2988
+ iconFg: gray[500],
2989
+ iconFgHover: gray[700],
2990
+ brandIconFgHover: magenta[700]
2865
2991
  };
2866
2992
  var iconColors4 = {
2867
- fgBrand: colors4.brand[600],
2868
- fgBrandOnBrand: colors4.brand[200],
2869
- featuredModernBorder: colors4.gray[200],
2870
- featuredLightFgBrand: colors4.brand[600],
2871
- featuredLightFgGray: colors4.gray[500],
2872
- featuredLightFgError: colors4.error[600],
2873
- featuredLightFgWarning: colors4.warning[600],
2874
- featuredLightFgSuccess: colors4.success[600],
2875
- featuredDarkFgBrand: colors4.base.white,
2876
- featuredDarkFgGray: colors4.base.white,
2877
- featuredDarkFgError: colors4.base.white,
2878
- featuredDarkFgWarning: colors4.base.white,
2879
- featuredDarkFgSuccess: colors4.base.white
2993
+ fgBrand: magenta[400],
2994
+ fgBrandOnBrand: magenta[200],
2995
+ featuredModernBorder: gray[200],
2996
+ featuredLightFgBrand: magenta[400],
2997
+ featuredLightFgGray: gray[500],
2998
+ featuredLightFgError: error[600],
2999
+ featuredLightFgWarning: warning[600],
3000
+ featuredLightFgSuccess: success[600],
3001
+ featuredDarkFgBrand: base.white,
3002
+ featuredDarkFgGray: base.white,
3003
+ featuredDarkFgError: base.white,
3004
+ featuredDarkFgWarning: base.white,
3005
+ featuredDarkFgSuccess: base.white
2880
3006
  };
2881
3007
  var navColors4 = {
2882
- itemIconFg: colors4.gray[500],
2883
- itemIconFgActive: colors4.gray[700],
2884
- itemButtonIconFg: colors4.gray[500],
2885
- itemButtonIconFgActive: colors4.gray[700]
3008
+ itemIconFg: gray[500],
3009
+ itemIconFgActive: gray[700],
3010
+ itemButtonIconFg: gray[500],
3011
+ itemButtonIconFgActive: gray[700]
2886
3012
  };
2887
3013
  var sliderColors4 = {
2888
- handleBorder: colors4.brand[600],
2889
- handleBg: colors4.base.white
3014
+ handleBorder: magenta[400],
3015
+ handleBg: base.white
2890
3016
  };
2891
3017
  var toggleColors4 = {
2892
- buttonFgDisabled: colors4.gray[50]
3018
+ buttonFgDisabled: gray[50]
2893
3019
  };
2894
3020
  var chartColors4 = {
2895
- axisFg: colors4.gray[100],
2896
- gridlineFg: colors4.gray[100],
2897
- labelFg: colors4.gray[600],
2898
- labelFgEmphasis: colors4.gray[700],
2899
- bg: colors4.base.white,
2900
- bgAlt: colors4.gray[50],
2901
- tooltipBg: colors4.gray[950],
2902
- tooltipFg: colors4.base.white,
2903
- crosshairFg: colors4.gray[500],
3021
+ axisFg: gray[100],
3022
+ gridlineFg: gray[100],
3023
+ labelFg: gray[600],
3024
+ labelFgEmphasis: gray[700],
3025
+ bg: base.white,
3026
+ bgAlt: gray[50],
3027
+ tooltipBg: gray[950],
3028
+ tooltipFg: base.white,
3029
+ crosshairFg: gray[500],
2904
3030
  legendFg: text4.tertiary,
2905
3031
  series: [
2906
3032
  { fg: misc.purple[500], fgHover: misc.purple[600], bg: misc.purple[100], bgHover: misc.purple[200] },
2907
3033
  { fg: misc.orangeDark[400], fgHover: misc.orangeDark[500], bg: misc.orangeDark[100], bgHover: misc.orangeDark[200] },
2908
3034
  { fg: misc.teal[300], fgHover: misc.teal[400], bg: misc.teal[50], bgHover: misc.teal[100] },
2909
- { fg: colors4.warning[400], fgHover: colors4.warning[500], bg: colors4.warning[100], bgHover: colors4.warning[200] },
3035
+ { fg: warning[400], fgHover: warning[500], bg: warning[100], bgHover: warning[200] },
2910
3036
  { fg: misc.rose[400], fgHover: misc.rose[500], bg: misc.rose[100], bgHover: misc.rose[200] },
2911
3037
  { fg: misc.blueLight[400], fgHover: misc.blueLight[500], bg: misc.blueLight[100], bgHover: misc.blueLight[200] },
2912
3038
  { fg: misc.orange[300], fgHover: misc.orange[400], bg: misc.orange[100], bgHover: misc.orange[200] },
@@ -2918,9 +3044,9 @@ var chartColors4 = {
2918
3044
  ]
2919
3045
  };
2920
3046
  var focusRings4 = {
2921
- brand: "0px 0px 0px 4px #4040403d",
2922
- brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #4040403d",
2923
- brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #4040403d",
3047
+ brand: "0px 0px 0px 4px #FF78F33d",
3048
+ brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #FF78F33d",
3049
+ brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #FF78F33d",
2924
3050
  gray: "0px 0px 0px 4px #a0a0a624",
2925
3051
  grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
2926
3052
  grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
@@ -2933,7 +3059,11 @@ var forestInternalPreset = {
2933
3059
  variants: {
2934
3060
  light: {
2935
3061
  tokens: {
2936
- colors: colors4,
3062
+ base,
3063
+ error,
3064
+ warning,
3065
+ success,
3066
+ info,
2937
3067
  spacing,
2938
3068
  radius: radius4,
2939
3069
  shadows,
@@ -3015,17 +3145,17 @@ function ForestProvider({
3015
3145
  function Autocomplete(props) {
3016
3146
  return /* @__PURE__ */ jsxRuntime.jsx(MuiAutocomplete__default.default, { ...props });
3017
3147
  }
3018
- function Button({ ...props }) {
3019
- return /* @__PURE__ */ jsxRuntime.jsx(MuiButton__default.default, { variant: "contained", ...props });
3148
+ function Button({ variant = "contained", ...props }) {
3149
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiButton__default.default, { variant, ...props });
3020
3150
  }
3021
- function ButtonGroup(props) {
3022
- return /* @__PURE__ */ jsxRuntime.jsx(MuiButtonGroup__default.default, { variant: "contained", ...props });
3151
+ function ButtonGroup({ variant = "contained", ...props }) {
3152
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiButtonGroup__default.default, { variant, ...props });
3023
3153
  }
3024
3154
  function Checkbox(props) {
3025
3155
  return /* @__PURE__ */ jsxRuntime.jsx(MuiCheckbox__default.default, { ...props });
3026
3156
  }
3027
- function Fab(props) {
3028
- return /* @__PURE__ */ jsxRuntime.jsx(MuiFab__default.default, { color: "primary", ...props });
3157
+ function Fab({ color = "primary", ...props }) {
3158
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiFab__default.default, { color, ...props });
3029
3159
  }
3030
3160
  function RadioGroup(props) {
3031
3161
  return /* @__PURE__ */ jsxRuntime.jsx(MuiRadioGroup__default.default, { ...props });
@@ -3063,40 +3193,51 @@ function MultiSelect({
3063
3193
  return (_a = labelMap.get(v)) != null ? _a : v;
3064
3194
  }).join(", ");
3065
3195
  const labelId = label ? `forest-multiselect-${String(label).replace(/\s+/g, "-").toLowerCase()}` : void 0;
3066
- return /* @__PURE__ */ jsxRuntime.jsxs(MuiFormControl__default.default, { fullWidth: true, children: [
3067
- label && /* @__PURE__ */ jsxRuntime.jsx(MuiInputLabel__default.default, { id: labelId, shrink: value.length > 0, children: label }),
3068
- /* @__PURE__ */ jsxRuntime.jsxs(
3069
- MuiSelect__default.default,
3070
- {
3071
- labelId,
3072
- label,
3073
- multiple: true,
3074
- notched: value.length > 0,
3075
- value,
3076
- onChange: handleChange,
3077
- displayEmpty: true,
3078
- renderValue: renderValue2,
3079
- ...rest,
3080
- children: [
3081
- selectAll && /* @__PURE__ */ jsxRuntime.jsx(
3082
- "li",
3083
- {
3084
- onMouseDown: (e) => e.preventDefault(),
3085
- onClick: (e) => {
3086
- e.stopPropagation();
3087
- handleSelectAll();
3088
- },
3089
- children: /* @__PURE__ */ jsxRuntime.jsx(MuiButton__default.default, { size: "small", variant: "text", children: allSelected ? "Deselect All" : selectAllLabel })
3090
- }
3091
- ),
3092
- options.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(MuiMenuItem__default.default, { value: option.value, children: [
3093
- /* @__PURE__ */ jsxRuntime.jsx(MuiCheckbox__default.default, { checked: value.includes(option.value) }),
3094
- /* @__PURE__ */ jsxRuntime.jsx(MuiListItemText__default.default, { primary: option.label })
3095
- ] }, option.value))
3096
- ]
3097
- }
3098
- )
3099
- ] });
3196
+ return /* @__PURE__ */ jsxRuntime.jsxs(
3197
+ MuiFormControl__default.default,
3198
+ {
3199
+ fullWidth: rest.fullWidth,
3200
+ disabled: rest.disabled,
3201
+ error: rest.error,
3202
+ size: rest.size,
3203
+ color: rest.color,
3204
+ variant: rest.variant,
3205
+ children: [
3206
+ label && /* @__PURE__ */ jsxRuntime.jsx(MuiInputLabel__default.default, { id: labelId, shrink: value.length > 0, children: label }),
3207
+ /* @__PURE__ */ jsxRuntime.jsxs(
3208
+ MuiSelect__default.default,
3209
+ {
3210
+ labelId,
3211
+ label,
3212
+ multiple: true,
3213
+ notched: value.length > 0,
3214
+ value,
3215
+ onChange: handleChange,
3216
+ displayEmpty: true,
3217
+ renderValue: renderValue2,
3218
+ ...rest,
3219
+ children: [
3220
+ selectAll && /* @__PURE__ */ jsxRuntime.jsx(
3221
+ "li",
3222
+ {
3223
+ onMouseDown: (e) => e.preventDefault(),
3224
+ onClick: (e) => {
3225
+ e.stopPropagation();
3226
+ handleSelectAll();
3227
+ },
3228
+ children: /* @__PURE__ */ jsxRuntime.jsx(MuiButton__default.default, { size: "small", variant: "text", children: allSelected ? "Deselect All" : selectAllLabel })
3229
+ }
3230
+ ),
3231
+ options.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(MuiMenuItem__default.default, { value: option.value, children: [
3232
+ /* @__PURE__ */ jsxRuntime.jsx(MuiCheckbox__default.default, { checked: value.includes(option.value) }),
3233
+ /* @__PURE__ */ jsxRuntime.jsx(MuiListItemText__default.default, { primary: option.label })
3234
+ ] }, option.value))
3235
+ ]
3236
+ }
3237
+ )
3238
+ ]
3239
+ }
3240
+ );
3100
3241
  }
3101
3242
  function Switch(props) {
3102
3243
  return /* @__PURE__ */ jsxRuntime.jsx(MuiSwitch__default.default, { ...props });
@@ -3115,6 +3256,7 @@ function Search({
3115
3256
  onChange,
3116
3257
  onClear,
3117
3258
  placeholder = "Search\u2026",
3259
+ variant = "outlined",
3118
3260
  slotProps,
3119
3261
  ...props
3120
3262
  }) {
@@ -3135,7 +3277,7 @@ function Search({
3135
3277
  return /* @__PURE__ */ jsxRuntime.jsx(
3136
3278
  MuiTextField__default.default,
3137
3279
  {
3138
- variant: "outlined",
3280
+ variant,
3139
3281
  placeholder,
3140
3282
  value: currentValue,
3141
3283
  onChange: handleChange,
@@ -3246,11 +3388,11 @@ function Badge(props) {
3246
3388
  var CloseOutlined_default = utils.createSvgIcon(/* @__PURE__ */ jsxRuntime.jsx("path", {
3247
3389
  d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
3248
3390
  }), "CloseOutlined");
3249
- function Chip(props) {
3391
+ function Chip({ deleteIcon = /* @__PURE__ */ jsxRuntime.jsx(CloseOutlined_default, {}), ...props }) {
3250
3392
  return /* @__PURE__ */ jsxRuntime.jsx(
3251
3393
  MuiChip__default.default,
3252
3394
  {
3253
- deleteIcon: /* @__PURE__ */ jsxRuntime.jsx(CloseOutlined_default, {}),
3395
+ deleteIcon,
3254
3396
  ...props
3255
3397
  }
3256
3398
  );
@@ -3300,8 +3442,8 @@ function TableRow(props) {
3300
3442
  function DataGrid(props) {
3301
3443
  return /* @__PURE__ */ jsxRuntime.jsx(xDataGrid.DataGrid, { ...props });
3302
3444
  }
3303
- function Tooltip(props) {
3304
- return /* @__PURE__ */ jsxRuntime.jsx(MuiTooltip__default.default, { arrow: true, ...props });
3445
+ function Tooltip({ arrow = true, ...props }) {
3446
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiTooltip__default.default, { arrow, ...props });
3305
3447
  }
3306
3448
  function Typography(props) {
3307
3449
  return /* @__PURE__ */ jsxRuntime.jsx(MuiTypography__default.default, { ...props });
@@ -3576,8 +3718,8 @@ function SidebarItem({
3576
3718
  function useChartColors(count) {
3577
3719
  const theme = styles.useTheme();
3578
3720
  const chart = theme.palette.chart;
3579
- const colors5 = chart.series.map((s) => s.fg);
3580
- return colors5.slice(0, Math.min(count, colors5.length));
3721
+ const colors2 = chart.series.map((s) => s.fg);
3722
+ return colors2.slice(0, Math.min(count, colors2.length));
3581
3723
  }
3582
3724
  function formatDate(date) {
3583
3725
  if (!date) return "";
@@ -3688,7 +3830,7 @@ function CustomTooltip(props) {
3688
3830
  }
3689
3831
  );
3690
3832
  }
3691
- function LineChart({ series, colors: colors5, ...props }) {
3833
+ function LineChart({ series, colors: colors2, ...props }) {
3692
3834
  var _a, _b;
3693
3835
  const theme = styles.useTheme();
3694
3836
  const chart = theme.palette.chart;
@@ -3705,7 +3847,7 @@ function LineChart({ series, colors: colors5, ...props }) {
3705
3847
  LineChart$1.LineChart,
3706
3848
  {
3707
3849
  series: modifiedSeries != null ? modifiedSeries : [],
3708
- colors: colors5 != null ? colors5 : seriesColors,
3850
+ colors: colors2 != null ? colors2 : seriesColors,
3709
3851
  grid: { horizontal: true },
3710
3852
  slots: {
3711
3853
  axisContent: CustomTooltip
@@ -3769,12 +3911,12 @@ function LineChart({ series, colors: colors5, ...props }) {
3769
3911
  }
3770
3912
  );
3771
3913
  }
3772
- function BarChart({ series, colors: colors5, ...props }) {
3914
+ function BarChart({ series, colors: colors2, ...props }) {
3773
3915
  var _a, _b;
3774
3916
  const theme = styles.useTheme();
3775
3917
  const chart = theme.palette.chart;
3776
3918
  const seriesColors = useChartColors((_a = series == null ? void 0 : series.length) != null ? _a : 0);
3777
- const resolvedColors = colors5 != null ? colors5 : seriesColors;
3919
+ const resolvedColors = colors2 != null ? colors2 : seriesColors;
3778
3920
  const modifiedSeries = series == null ? void 0 : series.map((s, idx) => {
3779
3921
  var _a2;
3780
3922
  const baseColor = s.color || resolvedColors[idx % resolvedColors.length];
@@ -3790,7 +3932,7 @@ function BarChart({ series, colors: colors5, ...props }) {
3790
3932
  BarChart$1.BarChart,
3791
3933
  {
3792
3934
  series: modifiedSeries != null ? modifiedSeries : [],
3793
- colors: colors5 != null ? colors5 : seriesColors,
3935
+ colors: colors2 != null ? colors2 : seriesColors,
3794
3936
  grid: { horizontal: true },
3795
3937
  borderRadius: 4,
3796
3938
  slots: {
@@ -3868,7 +4010,7 @@ function BarChart({ series, colors: colors5, ...props }) {
3868
4010
  }
3869
4011
  );
3870
4012
  }
3871
- function PieChart({ series, colors: colors5, ...props }) {
4013
+ function PieChart({ series, colors: colors2, ...props }) {
3872
4014
  var _a, _b, _c, _d;
3873
4015
  const theme = styles.useTheme();
3874
4016
  const chart = theme.palette.chart;
@@ -3885,7 +4027,7 @@ function PieChart({ series, colors: colors5, ...props }) {
3885
4027
  PieChart$1.PieChart,
3886
4028
  {
3887
4029
  series: modifiedSeries != null ? modifiedSeries : [],
3888
- colors: colors5 != null ? colors5 : seriesColors,
4030
+ colors: colors2 != null ? colors2 : seriesColors,
3889
4031
  slotProps: {
3890
4032
  legend: {
3891
4033
  itemMarkWidth: 12,
@@ -4003,6 +4145,7 @@ exports.Tooltip = Tooltip;
4003
4145
  exports.Typography = Typography;
4004
4146
  exports.alpha = alpha;
4005
4147
  exports.avatarColors = avatarColors;
4148
+ exports.base = base;
4006
4149
  exports.bg = bg;
4007
4150
  exports.border = border;
4008
4151
  exports.breadcrumbColors = breadcrumbColors;
@@ -4010,9 +4153,9 @@ exports.buildTheme = buildTheme;
4010
4153
  exports.buildThemeOptions = buildThemeOptions;
4011
4154
  exports.buttonColors = buttonColors;
4012
4155
  exports.chartColors = chartColors;
4013
- exports.colors = colors;
4014
4156
  exports.container = container;
4015
4157
  exports.display = display;
4158
+ exports.error = error;
4016
4159
  exports.fg = fg;
4017
4160
  exports.focusRings = focusRings;
4018
4161
  exports.fontFamily = fontFamily;
@@ -4026,17 +4169,20 @@ exports.forestThemeOptions = forestThemeOptions;
4026
4169
  exports.getAvailablePresets = getAvailablePresets;
4027
4170
  exports.getPreset = getPreset;
4028
4171
  exports.iconColors = iconColors;
4172
+ exports.info = info;
4029
4173
  exports.lineHeight = lineHeight;
4030
4174
  exports.navColors = navColors;
4031
4175
  exports.radius = radius;
4032
4176
  exports.registerPreset = registerPreset;
4033
4177
  exports.sliderColors = sliderColors;
4034
4178
  exports.spacing = spacing;
4179
+ exports.success = success;
4035
4180
  exports.text = text;
4036
4181
  exports.toggleColors = toggleColors;
4037
4182
  exports.tokenShadows = shadows;
4038
4183
  exports.useChartColors = useChartColors;
4039
4184
  exports.useSidebar = useSidebar;
4185
+ exports.warning = warning;
4040
4186
  exports.widths = widths;
4041
4187
  //# sourceMappingURL=index.js.map
4042
4188
  //# sourceMappingURL=index.js.map