@matteoaliano/forest-ui 0.2.1 → 0.2.3

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
@@ -19,6 +19,7 @@ var MuiToggleButton = require('@mui/material/ToggleButton');
19
19
  var MuiToggleButtonGroup = require('@mui/material/ToggleButtonGroup');
20
20
  var MuiBadge = require('@mui/material/Badge');
21
21
  var MuiChip = require('@mui/material/Chip');
22
+ var utils = require('@mui/material/utils');
22
23
  var MuiDivider = require('@mui/material/Divider');
23
24
  var MuiList = require('@mui/material/List');
24
25
  var MuiListItem = require('@mui/material/ListItem');
@@ -33,8 +34,21 @@ var MuiTableCell = require('@mui/material/TableCell');
33
34
  var MuiTableContainer = require('@mui/material/TableContainer');
34
35
  var MuiTableHead = require('@mui/material/TableHead');
35
36
  var MuiTableRow = require('@mui/material/TableRow');
37
+ var xDataGrid = require('@mui/x-data-grid');
36
38
  var MuiTooltip = require('@mui/material/Tooltip');
37
39
  var MuiTypography = require('@mui/material/Typography');
40
+ var MuiAccordion = require('@mui/material/Accordion');
41
+ var MuiAccordionSummary = require('@mui/material/AccordionSummary');
42
+ var MuiAccordionDetails = require('@mui/material/AccordionDetails');
43
+ var MuiAccordionActions = require('@mui/material/AccordionActions');
44
+ var MuiAppBar = require('@mui/material/AppBar');
45
+ var MuiToolbar = require('@mui/material/Toolbar');
46
+ var MuiCard = require('@mui/material/Card');
47
+ var MuiCardContent = require('@mui/material/CardContent');
48
+ var MuiCardHeader = require('@mui/material/CardHeader');
49
+ var MuiCardActions = require('@mui/material/CardActions');
50
+ var MuiCardMedia = require('@mui/material/CardMedia');
51
+ var MuiPaper = require('@mui/material/Paper');
38
52
  var MuiAlert = require('@mui/material/Alert');
39
53
  var MuiAlertTitle = require('@mui/material/AlertTitle');
40
54
  var MuiBackdrop = require('@mui/material/Backdrop');
@@ -82,6 +96,18 @@ var MuiTableHead__default = /*#__PURE__*/_interopDefault(MuiTableHead);
82
96
  var MuiTableRow__default = /*#__PURE__*/_interopDefault(MuiTableRow);
83
97
  var MuiTooltip__default = /*#__PURE__*/_interopDefault(MuiTooltip);
84
98
  var MuiTypography__default = /*#__PURE__*/_interopDefault(MuiTypography);
99
+ var MuiAccordion__default = /*#__PURE__*/_interopDefault(MuiAccordion);
100
+ var MuiAccordionSummary__default = /*#__PURE__*/_interopDefault(MuiAccordionSummary);
101
+ var MuiAccordionDetails__default = /*#__PURE__*/_interopDefault(MuiAccordionDetails);
102
+ var MuiAccordionActions__default = /*#__PURE__*/_interopDefault(MuiAccordionActions);
103
+ var MuiAppBar__default = /*#__PURE__*/_interopDefault(MuiAppBar);
104
+ var MuiToolbar__default = /*#__PURE__*/_interopDefault(MuiToolbar);
105
+ var MuiCard__default = /*#__PURE__*/_interopDefault(MuiCard);
106
+ var MuiCardContent__default = /*#__PURE__*/_interopDefault(MuiCardContent);
107
+ var MuiCardHeader__default = /*#__PURE__*/_interopDefault(MuiCardHeader);
108
+ var MuiCardActions__default = /*#__PURE__*/_interopDefault(MuiCardActions);
109
+ var MuiCardMedia__default = /*#__PURE__*/_interopDefault(MuiCardMedia);
110
+ var MuiPaper__default = /*#__PURE__*/_interopDefault(MuiPaper);
85
111
  var MuiAlert__default = /*#__PURE__*/_interopDefault(MuiAlert);
86
112
  var MuiAlertTitle__default = /*#__PURE__*/_interopDefault(MuiAlertTitle);
87
113
  var MuiBackdrop__default = /*#__PURE__*/_interopDefault(MuiBackdrop);
@@ -289,10 +315,249 @@ var widths = {
289
315
  "5xl": 1600,
290
316
  "6xl": 1920
291
317
  };
318
+ var text = {
319
+ primary: colors.gray[900],
320
+ secondary: colors.gray[700],
321
+ secondaryHover: colors.gray[800],
322
+ tertiary: colors.gray[600],
323
+ tertiaryHover: colors.gray[700],
324
+ quaternary: colors.gray[500],
325
+ disabled: colors.gray[500],
326
+ placeholder: colors.gray[500],
327
+ placeholderSubtle: colors.gray[300],
328
+ white: colors.base.white,
329
+ brandPrimary: colors.brand[900],
330
+ brandSecondary: colors.brand[700],
331
+ brandTertiary: colors.brand[600],
332
+ brandTertiaryAlt: colors.brand[600],
333
+ primaryOnBrand: colors.base.white,
334
+ secondaryOnBrand: colors.brand[200],
335
+ tertiaryOnBrand: colors.brand[200],
336
+ quaternaryOnBrand: colors.brand[300],
337
+ errorPrimary: colors.error[600],
338
+ warningPrimary: colors.warning[600],
339
+ successPrimary: colors.success[600]
340
+ };
341
+ var bg = {
342
+ primary: colors.base.white,
343
+ primaryAlt: colors.base.white,
344
+ primaryHover: colors.gray[50],
345
+ primarySolid: colors.gray[950],
346
+ secondary: colors.gray[50],
347
+ secondaryAlt: colors.gray[50],
348
+ secondarySubtle: colors.gray[25],
349
+ secondaryHover: colors.gray[100],
350
+ secondarySolid: colors.gray[600],
351
+ tertiary: colors.gray[100],
352
+ quaternary: colors.gray[200],
353
+ active: colors.gray[50],
354
+ disabled: colors.gray[100],
355
+ disabledSubtle: colors.gray[50],
356
+ overlay: colors.gray[950],
357
+ brandPrimary: colors.brand[50],
358
+ brandPrimaryAlt: colors.brand[50],
359
+ brandSecondary: colors.brand[100],
360
+ brandSolid: colors.brand[600],
361
+ brandSolidHover: colors.brand[700],
362
+ brandSection: colors.brand[800],
363
+ brandSectionSubtle: colors.brand[700],
364
+ errorPrimary: colors.error[50],
365
+ errorSecondary: colors.error[100],
366
+ errorSolid: colors.error[600],
367
+ warningPrimary: colors.warning[50],
368
+ warningSecondary: colors.warning[100],
369
+ warningSolid: colors.warning[600],
370
+ successPrimary: colors.success[50],
371
+ successSecondary: colors.success[100],
372
+ successSolid: colors.success[600]
373
+ };
374
+ var fg = {
375
+ primary: colors.gray[900],
376
+ secondary: colors.gray[700],
377
+ secondaryHover: colors.gray[800],
378
+ tertiary: colors.gray[600],
379
+ tertiaryHover: colors.gray[700],
380
+ quaternary: colors.gray[500],
381
+ quaternaryHover: colors.gray[600],
382
+ quinary: colors.gray[400],
383
+ quinaryHover: colors.gray[500],
384
+ senary: colors.gray[300],
385
+ white: colors.base.white,
386
+ disabled: colors.gray[400],
387
+ disabledSubtle: colors.gray[300],
388
+ brandPrimary: colors.brand[600],
389
+ brandPrimaryAlt: colors.brand[600],
390
+ brandSecondary: colors.brand[500],
391
+ errorPrimary: colors.error[600],
392
+ errorSecondary: colors.error[500],
393
+ warningPrimary: colors.warning[600],
394
+ warningSecondary: colors.warning[500],
395
+ successPrimary: colors.success[600],
396
+ successSecondary: colors.success[500]
397
+ };
398
+ var border = {
399
+ primary: colors.gray[300],
400
+ secondary: colors.gray[200],
401
+ tertiary: colors.gray[100],
402
+ disabled: colors.gray[300],
403
+ disabledSubtle: colors.gray[200],
404
+ brand: colors.brand[300],
405
+ brandSolid: colors.brand[600],
406
+ brandSolidAlt: colors.brand[600],
407
+ error: colors.error[300],
408
+ errorSolid: colors.error[600]
409
+ };
410
+ var buttonColors = {
411
+ primary: {
412
+ bg: colors.brand[600],
413
+ bgHover: colors.brand[700],
414
+ fg: colors.base.white,
415
+ fgHover: colors.base.white,
416
+ border: colors.brand[600],
417
+ borderHover: colors.brand[700]
418
+ },
419
+ secondary: {
420
+ bg: colors.base.white,
421
+ bgHover: colors.gray[50],
422
+ fg: colors.gray[700],
423
+ fgHover: colors.gray[800],
424
+ border: colors.gray[300],
425
+ borderHover: colors.gray[300]
426
+ },
427
+ secondaryColor: {
428
+ bg: colors.base.white,
429
+ bgHover: colors.brand[50],
430
+ fg: colors.brand[700],
431
+ fgHover: colors.brand[800],
432
+ border: colors.brand[300],
433
+ borderHover: colors.brand[300]
434
+ },
435
+ tertiary: {
436
+ fg: colors.gray[600],
437
+ fgHover: colors.gray[700],
438
+ bgHover: colors.gray[50]
439
+ },
440
+ tertiaryColor: {
441
+ fg: colors.brand[700],
442
+ fgHover: colors.brand[800],
443
+ bgHover: colors.brand[50]
444
+ },
445
+ primaryError: {
446
+ bg: colors.error[600],
447
+ bgHover: colors.error[700],
448
+ fg: colors.base.white,
449
+ fgHover: colors.base.white,
450
+ border: colors.error[600],
451
+ borderHover: colors.error[700]
452
+ },
453
+ secondaryError: {
454
+ bg: colors.base.white,
455
+ bgHover: colors.error[50],
456
+ fg: colors.error[700],
457
+ fgHover: colors.error[800],
458
+ border: colors.error[300],
459
+ borderHover: colors.error[300]
460
+ },
461
+ tertiaryError: {
462
+ fg: colors.error[700],
463
+ fgHover: colors.error[800],
464
+ bgHover: colors.error[50]
465
+ }
466
+ };
467
+ var avatarColors = {
468
+ bg: colors.gray[100],
469
+ contrastBorder: "#00000014",
470
+ profilePhotoBorder: colors.base.white,
471
+ focusBorder: "#98a2b324"
472
+ };
473
+ var breadcrumbColors = {
474
+ fg: colors.gray[600],
475
+ fgHover: colors.gray[700],
476
+ bgHover: colors.gray[50],
477
+ brandBgHover: colors.brand[50],
478
+ brandFgHover: colors.brand[700],
479
+ iconFg: colors.gray[500],
480
+ iconFgHover: colors.gray[700],
481
+ brandIconFgHover: colors.brand[700]
482
+ };
483
+ var iconColors = {
484
+ fgBrand: colors.brand[600],
485
+ fgBrandOnBrand: colors.brand[200],
486
+ featuredModernBorder: colors.gray[200],
487
+ featuredLightFgBrand: colors.brand[600],
488
+ featuredLightFgGray: colors.gray[500],
489
+ featuredLightFgError: colors.error[600],
490
+ featuredLightFgWarning: colors.warning[600],
491
+ featuredLightFgSuccess: colors.success[600],
492
+ featuredDarkFgBrand: colors.base.white,
493
+ featuredDarkFgGray: colors.base.white,
494
+ featuredDarkFgError: colors.base.white,
495
+ featuredDarkFgWarning: colors.base.white,
496
+ featuredDarkFgSuccess: colors.base.white
497
+ };
498
+ var navColors = {
499
+ itemIconFg: colors.gray[500],
500
+ itemIconFgActive: colors.gray[500],
501
+ itemButtonIconFg: colors.gray[500],
502
+ itemButtonIconFgActive: colors.gray[700]
503
+ };
504
+ var sliderColors = {
505
+ handleBorder: colors.brand[600],
506
+ handleBg: colors.base.white
507
+ };
508
+ var toggleColors = {
509
+ buttonFgDisabled: colors.gray[50]
510
+ };
511
+ var chartColors = {
512
+ axisFg: colors.gray[200],
513
+ gridlineFg: colors.gray[100],
514
+ labelFg: colors.gray[600],
515
+ labelFgEmphasis: colors.gray[700],
516
+ bg: colors.base.white,
517
+ bgAlt: colors.gray[50],
518
+ tooltipBg: colors.gray[950],
519
+ tooltipFg: colors.base.white,
520
+ crosshairFg: colors.gray[500],
521
+ legendFg: colors.gray[700],
522
+ series1Fg: colors.blue[600],
523
+ series1FgHover: colors.blue[700],
524
+ series1Bg: colors.blue[100],
525
+ series1BgHover: colors.blue[200],
526
+ series2Fg: colors.brand[600],
527
+ series2FgHover: colors.brand[700],
528
+ series2Bg: colors.brand[100],
529
+ series2BgHover: colors.brand[200]
530
+ };
531
+ var alpha = {
532
+ white: {
533
+ 10: "#ffffff1a",
534
+ 20: "#ffffff33",
535
+ 30: "#ffffff4d",
536
+ 40: "#ffffff66",
537
+ 50: "#ffffff80",
538
+ 60: "#ffffff99",
539
+ 70: "#ffffffb3",
540
+ 80: "#ffffffcc",
541
+ 90: "#ffffffe6",
542
+ 100: "#ffffff"
543
+ },
544
+ black: {
545
+ 10: "#0000001a",
546
+ 20: "#00000033",
547
+ 30: "#0000004d",
548
+ 40: "#00000066",
549
+ 50: "#00000080",
550
+ 60: "#00000099",
551
+ 70: "#000000b3",
552
+ 80: "#000000cc",
553
+ 90: "#000000e6",
554
+ 100: "#000000"
555
+ }
556
+ };
292
557
 
293
558
  // src/theme/palette.ts
294
559
  function buildPalette(tokens) {
295
- const { colors: colors2 } = tokens;
560
+ const { colors: colors2, text: text2, bg: bg2, fg: fg2, border: border2 } = tokens;
296
561
  return {
297
562
  primary: {
298
563
  main: colors2.brand[600],
@@ -331,26 +596,30 @@ function buildPalette(tokens) {
331
596
  contrastText: colors2.base.white
332
597
  },
333
598
  background: {
334
- default: colors2.base.white,
335
- paper: colors2.base.white
599
+ default: bg2.primary,
600
+ paper: bg2.primary
336
601
  },
337
602
  text: {
338
- primary: colors2.gray[900],
339
- secondary: colors2.gray[700],
340
- disabled: colors2.gray[500]
603
+ primary: text2.primary,
604
+ secondary: text2.secondary,
605
+ disabled: text2.disabled
341
606
  },
342
- divider: colors2.gray[200],
607
+ divider: border2.secondary,
343
608
  action: {
344
- active: colors2.gray[600],
345
- hover: colors2.gray[50],
346
- selected: colors2.brand[50],
347
- disabled: colors2.gray[400],
348
- disabledBackground: colors2.gray[100]
609
+ active: fg2.tertiary,
610
+ hover: bg2.primaryHover,
611
+ selected: bg2.brandPrimary,
612
+ disabled: fg2.disabled,
613
+ disabledBackground: bg2.disabled
349
614
  }
350
615
  };
351
616
  }
352
617
  var palette = buildPalette({
353
- colors
618
+ colors,
619
+ text,
620
+ bg,
621
+ fg,
622
+ border
354
623
  });
355
624
 
356
625
  // src/theme/typography.ts
@@ -445,7 +714,17 @@ var typography = buildTypography({
445
714
 
446
715
  // src/theme/components.ts
447
716
  function buildComponents(tokens) {
448
- const { colors: colors2, radius: radius2, focusRings: focusRings2, shadows: tokenShadows } = tokens;
717
+ const {
718
+ colors: colors2,
719
+ radius: radius2,
720
+ focusRings: focusRings2,
721
+ shadows: tokenShadows,
722
+ text: text2,
723
+ bg: bg2,
724
+ fg: fg2,
725
+ border: border2,
726
+ buttonColors: buttonColors2
727
+ } = tokens;
449
728
  return {
450
729
  // ─── Button ─────────────────────────────────────────────────────
451
730
  MuiButton: {
@@ -456,43 +735,42 @@ function buildComponents(tokens) {
456
735
  root: {
457
736
  borderRadius: radius2.md,
458
737
  fontWeight: 600,
738
+ boxShadow: tokenShadows.xs,
739
+ height: 32,
740
+ padding: "6px 12px",
741
+ fontSize: 14,
742
+ lineHeight: "20px",
459
743
  "&:focus-visible": {
460
744
  boxShadow: focusRings2.brandShadowXs
461
745
  }
462
746
  },
463
- sizeLarge: {
464
- padding: "12px 20px",
465
- fontSize: 16,
466
- lineHeight: "24px"
467
- },
468
- sizeMedium: {
469
- padding: "10px 16px",
470
- fontSize: 14,
471
- lineHeight: "20px"
472
- },
473
- sizeSmall: {
474
- padding: "8px 14px",
475
- fontSize: 14,
476
- lineHeight: "20px"
477
- },
478
747
  containedPrimary: {
479
- backgroundColor: colors2.brand[600],
748
+ backgroundColor: buttonColors2.primary.bg,
480
749
  "&:hover": {
481
- backgroundColor: colors2.brand[700]
750
+ backgroundColor: buttonColors2.primary.bgHover
482
751
  }
483
752
  },
484
753
  outlinedPrimary: {
485
- borderColor: colors2.brand[300],
486
- color: colors2.brand[700],
754
+ borderColor: buttonColors2.secondaryColor.border,
755
+ color: buttonColors2.secondaryColor.fg,
487
756
  "&:hover": {
488
- backgroundColor: colors2.brand[50],
489
- borderColor: colors2.brand[300]
757
+ backgroundColor: buttonColors2.secondaryColor.bgHover,
758
+ borderColor: buttonColors2.secondaryColor.borderHover
759
+ }
760
+ },
761
+ outlinedSecondary: {
762
+ borderColor: buttonColors2.secondary.border,
763
+ "&:hover": {
764
+ borderColor: buttonColors2.secondary.borderHover
490
765
  }
491
766
  },
767
+ text: {
768
+ boxShadow: "none"
769
+ },
492
770
  textPrimary: {
493
- color: colors2.brand[700],
771
+ color: buttonColors2.tertiaryColor.fg,
494
772
  "&:hover": {
495
- backgroundColor: colors2.brand[50]
773
+ backgroundColor: buttonColors2.tertiaryColor.bgHover
496
774
  }
497
775
  }
498
776
  }
@@ -508,7 +786,7 @@ function buildComponents(tokens) {
508
786
  },
509
787
  grouped: {
510
788
  "&:not(:last-of-type)": {
511
- borderRight: `1px solid ${colors2.brand[700]}`
789
+ borderRight: `1px solid ${buttonColors2.primary.borderHover}`
512
790
  }
513
791
  }
514
792
  }
@@ -526,9 +804,9 @@ function buildComponents(tokens) {
526
804
  }
527
805
  },
528
806
  primary: {
529
- backgroundColor: colors2.brand[600],
807
+ backgroundColor: buttonColors2.primary.bg,
530
808
  "&:hover": {
531
- backgroundColor: colors2.brand[700]
809
+ backgroundColor: buttonColors2.primary.bgHover
532
810
  }
533
811
  }
534
812
  }
@@ -540,37 +818,46 @@ function buildComponents(tokens) {
540
818
  size: "small"
541
819
  }
542
820
  },
821
+ MuiInputBase: {
822
+ styleOverrides: {
823
+ input: {
824
+ "&::placeholder": {
825
+ color: text2.placeholder,
826
+ WebkitTextFillColor: text2.placeholder,
827
+ fontWeight: 400,
828
+ opacity: 1
829
+ }
830
+ }
831
+ }
832
+ },
543
833
  MuiOutlinedInput: {
544
834
  styleOverrides: {
545
835
  root: {
546
836
  borderRadius: radius2.md,
837
+ boxShadow: tokenShadows.xs,
547
838
  "&:hover .MuiOutlinedInput-notchedOutline": {
548
- borderColor: colors2.brand[300]
839
+ borderColor: border2.brand
549
840
  },
550
841
  "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
551
- borderColor: colors2.brand[600],
842
+ borderColor: border2.brandSolid,
552
843
  borderWidth: 1,
553
844
  boxShadow: "none"
554
845
  },
555
846
  "&.Mui-error .MuiOutlinedInput-notchedOutline": {
556
- borderColor: colors2.error[300]
847
+ borderColor: border2.error
557
848
  },
558
849
  "&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline": {
559
- borderColor: colors2.error[600],
850
+ borderColor: border2.errorSolid,
560
851
  boxShadow: "none"
561
852
  }
562
853
  },
563
854
  notchedOutline: {
564
- borderColor: colors2.gray[300]
855
+ borderColor: border2.primary
565
856
  },
566
857
  input: {
567
858
  padding: "10px 14px",
568
859
  fontSize: 16,
569
- lineHeight: "24px",
570
- "&::placeholder": {
571
- color: colors2.gray[500],
572
- opacity: 1
573
- }
860
+ lineHeight: "24px"
574
861
  },
575
862
  inputSizeSmall: {
576
863
  padding: "8px 12px",
@@ -579,17 +866,30 @@ function buildComponents(tokens) {
579
866
  }
580
867
  }
581
868
  },
869
+ MuiFormLabel: {
870
+ styleOverrides: {
871
+ root: {
872
+ color: text2.placeholder,
873
+ "&.Mui-focused": {
874
+ color: text2.placeholder
875
+ },
876
+ "&.Mui-error": {
877
+ color: text2.errorPrimary
878
+ }
879
+ }
880
+ }
881
+ },
582
882
  MuiInputLabel: {
583
883
  styleOverrides: {
584
884
  root: {
585
885
  fontSize: 14,
586
886
  fontWeight: 500,
587
- color: colors2.gray[700],
887
+ color: text2.placeholder,
588
888
  "&.Mui-focused": {
589
- color: colors2.gray[700]
889
+ color: text2.placeholder
590
890
  },
591
891
  "&.Mui-error": {
592
- color: colors2.error[600]
892
+ color: text2.errorPrimary
593
893
  }
594
894
  }
595
895
  }
@@ -602,7 +902,7 @@ function buildComponents(tokens) {
602
902
  marginTop: 6,
603
903
  marginLeft: 0,
604
904
  "&.Mui-error": {
605
- color: colors2.error[600]
905
+ color: text2.errorPrimary
606
906
  }
607
907
  }
608
908
  }
@@ -613,8 +913,15 @@ function buildComponents(tokens) {
613
913
  size: "small"
614
914
  },
615
915
  styleOverrides: {
916
+ select: {
917
+ "&.MuiSelect-select": {
918
+ "&[aria-placeholder], &:empty + .MuiSelect-nativeInput[value='']~&": {
919
+ color: text2.placeholder
920
+ }
921
+ }
922
+ },
616
923
  icon: {
617
- color: colors2.gray[500]
924
+ color: text2.placeholder
618
925
  }
619
926
  }
620
927
  },
@@ -624,7 +931,7 @@ function buildComponents(tokens) {
624
931
  paper: {
625
932
  borderRadius: radius2.md,
626
933
  boxShadow: tokenShadows.lg,
627
- border: `1px solid ${colors2.gray[200]}`,
934
+ border: `1px solid ${border2.secondary}`,
628
935
  marginTop: 4
629
936
  },
630
937
  option: {
@@ -632,10 +939,10 @@ function buildComponents(tokens) {
632
939
  lineHeight: "24px",
633
940
  padding: "10px 14px",
634
941
  "&.Mui-focused": {
635
- backgroundColor: colors2.gray[50]
942
+ backgroundColor: bg2.primaryHover
636
943
  },
637
944
  '&[aria-selected="true"]': {
638
- backgroundColor: colors2.brand[50]
945
+ backgroundColor: bg2.brandPrimary
639
946
  }
640
947
  },
641
948
  listbox: {
@@ -650,17 +957,17 @@ function buildComponents(tokens) {
650
957
  },
651
958
  styleOverrides: {
652
959
  root: {
653
- color: colors2.gray[300],
960
+ color: border2.primary,
654
961
  borderRadius: radius2.xs,
655
962
  padding: 0,
656
963
  width: 20,
657
964
  height: 20,
658
965
  "&:hover": {
659
966
  backgroundColor: "transparent",
660
- color: colors2.brand[600]
967
+ color: fg2.brandPrimary
661
968
  },
662
969
  "&.Mui-checked": {
663
- color: colors2.brand[600]
970
+ color: fg2.brandPrimary
664
971
  },
665
972
  "&.Mui-checked:hover": {
666
973
  color: colors2.brand[700]
@@ -671,7 +978,7 @@ function buildComponents(tokens) {
671
978
  borderRadius: radius2.xs
672
979
  },
673
980
  "&.Mui-disabled": {
674
- color: colors2.gray[300]
981
+ color: border2.primary
675
982
  }
676
983
  }
677
984
  }
@@ -683,14 +990,14 @@ function buildComponents(tokens) {
683
990
  },
684
991
  styleOverrides: {
685
992
  root: {
686
- color: colors2.gray[300],
993
+ color: border2.primary,
687
994
  padding: 0,
688
995
  "&:hover": {
689
996
  backgroundColor: "transparent",
690
- color: colors2.brand[600]
997
+ color: fg2.brandPrimary
691
998
  },
692
999
  "&.Mui-checked": {
693
- color: colors2.brand[600]
1000
+ color: fg2.brandPrimary
694
1001
  },
695
1002
  "&.Mui-checked:hover": {
696
1003
  color: colors2.brand[700]
@@ -701,7 +1008,7 @@ function buildComponents(tokens) {
701
1008
  borderRadius: radius2.full
702
1009
  },
703
1010
  "&.Mui-disabled": {
704
- color: colors2.gray[300]
1011
+ color: border2.primary
705
1012
  }
706
1013
  }
707
1014
  }
@@ -721,9 +1028,9 @@ function buildComponents(tokens) {
721
1028
  padding: 2,
722
1029
  "&.Mui-checked": {
723
1030
  transform: "translateX(20px)",
724
- color: colors2.base.white,
1031
+ color: fg2.white,
725
1032
  "& + .MuiSwitch-track": {
726
- backgroundColor: colors2.brand[600],
1033
+ backgroundColor: fg2.brandPrimary,
727
1034
  opacity: 1
728
1035
  }
729
1036
  },
@@ -734,7 +1041,7 @@ function buildComponents(tokens) {
734
1041
  boxShadow: focusRings2.brand
735
1042
  },
736
1043
  "&.Mui-disabled .MuiSwitch-thumb": {
737
- color: colors2.gray[100]
1044
+ color: bg2.disabled
738
1045
  },
739
1046
  "&.Mui-disabled + .MuiSwitch-track": {
740
1047
  opacity: 0.5
@@ -747,7 +1054,7 @@ function buildComponents(tokens) {
747
1054
  },
748
1055
  track: {
749
1056
  borderRadius: radius2.full,
750
- backgroundColor: colors2.gray[200],
1057
+ backgroundColor: border2.secondary,
751
1058
  opacity: 1
752
1059
  }
753
1060
  }
@@ -756,23 +1063,24 @@ function buildComponents(tokens) {
756
1063
  MuiToggleButton: {
757
1064
  styleOverrides: {
758
1065
  root: {
759
- borderRadius: radius2.md,
760
- borderColor: colors2.gray[300],
761
- color: colors2.gray[700],
1066
+ borderColor: border2.primary,
1067
+ color: text2.secondary,
762
1068
  fontSize: 14,
763
1069
  fontWeight: 600,
764
1070
  lineHeight: "20px",
765
- padding: "8px 14px",
1071
+ height: 32,
1072
+ padding: "6px 12px",
766
1073
  textTransform: "none",
767
1074
  "&:hover": {
768
- backgroundColor: colors2.gray[50]
1075
+ backgroundColor: bg2.primaryHover,
1076
+ borderColor: border2.primary
769
1077
  },
770
1078
  "&.Mui-selected": {
771
- backgroundColor: colors2.brand[50],
772
- color: colors2.brand[700],
773
- borderColor: colors2.brand[300],
1079
+ backgroundColor: bg2.brandPrimary,
1080
+ color: buttonColors2.secondaryColor.fg,
1081
+ borderColor: border2.brand,
774
1082
  "&:hover": {
775
- backgroundColor: colors2.brand[100]
1083
+ backgroundColor: bg2.brandSecondary
776
1084
  }
777
1085
  },
778
1086
  "&:focus-visible": {
@@ -784,15 +1092,21 @@ function buildComponents(tokens) {
784
1092
  MuiToggleButtonGroup: {
785
1093
  styleOverrides: {
786
1094
  root: {
787
- borderRadius: radius2.md
1095
+ borderRadius: radius2.md,
1096
+ overflow: "hidden"
788
1097
  },
789
1098
  grouped: {
1099
+ borderRadius: 0,
790
1100
  "&:not(:first-of-type)": {
791
- borderRadius: radius2.md,
792
1101
  marginLeft: -1
793
1102
  },
794
1103
  "&:first-of-type": {
795
- borderRadius: radius2.md
1104
+ borderTopLeftRadius: radius2.md,
1105
+ borderBottomLeftRadius: radius2.md
1106
+ },
1107
+ "&:last-of-type": {
1108
+ borderTopRightRadius: radius2.md,
1109
+ borderBottomRightRadius: radius2.md
796
1110
  }
797
1111
  }
798
1112
  }
@@ -805,8 +1119,9 @@ function buildComponents(tokens) {
805
1119
  styleOverrides: {
806
1120
  root: {
807
1121
  borderRadius: radius2.xl,
808
- border: `1px solid ${colors2.gray[200]}`,
809
- backgroundColor: colors2.base.white,
1122
+ border: `1px solid ${border2.secondary}`,
1123
+ backgroundColor: bg2.primary,
1124
+ boxShadow: tokenShadows.xs,
810
1125
  overflow: "hidden"
811
1126
  }
812
1127
  }
@@ -856,31 +1171,31 @@ function buildComponents(tokens) {
856
1171
  },
857
1172
  elevation1: {
858
1173
  boxShadow: tokenShadows.xs,
859
- border: `1px solid ${colors2.gray[200]}`
1174
+ border: `1px solid ${border2.secondary}`
860
1175
  },
861
1176
  elevation2: {
862
1177
  boxShadow: tokenShadows.sm,
863
- border: `1px solid ${colors2.gray[200]}`
1178
+ border: `1px solid ${border2.secondary}`
864
1179
  },
865
1180
  elevation3: {
866
1181
  boxShadow: tokenShadows.md,
867
- border: `1px solid ${colors2.gray[200]}`
1182
+ border: `1px solid ${border2.secondary}`
868
1183
  },
869
1184
  elevation4: {
870
1185
  boxShadow: tokenShadows.lg,
871
- border: `1px solid ${colors2.gray[200]}`
1186
+ border: `1px solid ${border2.secondary}`
872
1187
  },
873
1188
  elevation8: {
874
1189
  boxShadow: tokenShadows.xl,
875
- border: `1px solid ${colors2.gray[200]}`
1190
+ border: `1px solid ${border2.secondary}`
876
1191
  },
877
1192
  elevation16: {
878
1193
  boxShadow: tokenShadows["2xl"],
879
- border: `1px solid ${colors2.gray[200]}`
1194
+ border: `1px solid ${border2.secondary}`
880
1195
  },
881
1196
  elevation24: {
882
1197
  boxShadow: tokenShadows["3xl"],
883
- border: `1px solid ${colors2.gray[200]}`
1198
+ border: `1px solid ${border2.secondary}`
884
1199
  }
885
1200
  }
886
1201
  },
@@ -892,7 +1207,7 @@ function buildComponents(tokens) {
892
1207
  },
893
1208
  styleOverrides: {
894
1209
  root: {
895
- border: `1px solid ${colors2.gray[200]}`,
1210
+ border: `1px solid ${border2.secondary}`,
896
1211
  borderRadius: radius2.lg,
897
1212
  "&:not(:last-child)": {
898
1213
  marginBottom: 8
@@ -915,7 +1230,7 @@ function buildComponents(tokens) {
915
1230
  minHeight: 56,
916
1231
  "&.Mui-expanded": {
917
1232
  minHeight: 56,
918
- borderBottom: `1px solid ${colors2.gray[200]}`
1233
+ borderBottom: `1px solid ${border2.secondary}`
919
1234
  }
920
1235
  },
921
1236
  content: {
@@ -941,8 +1256,8 @@ function buildComponents(tokens) {
941
1256
  },
942
1257
  styleOverrides: {
943
1258
  root: {
944
- borderBottom: `1px solid ${colors2.gray[200]}`,
945
- backgroundColor: colors2.base.white
1259
+ borderBottom: `1px solid ${border2.secondary}`,
1260
+ backgroundColor: bg2.primary
946
1261
  }
947
1262
  }
948
1263
  },
@@ -966,9 +1281,68 @@ function buildComponents(tokens) {
966
1281
  MuiChip: {
967
1282
  styleOverrides: {
968
1283
  root: {
969
- borderRadius: radius2.md,
970
- fontWeight: 500,
971
- fontSize: 14
1284
+ borderRadius: radius2.md
1285
+ },
1286
+ label: {
1287
+ fontWeight: 500
1288
+ },
1289
+ sizeSmall: {
1290
+ fontSize: 12,
1291
+ height: 20
1292
+ },
1293
+ sizeMedium: {
1294
+ fontSize: 14,
1295
+ height: 24,
1296
+ "& .MuiChip-deleteIcon": { fontSize: 16 }
1297
+ },
1298
+ colorDefault: {
1299
+ "&.MuiChip-filled": {
1300
+ backgroundColor: colors2.gray[50],
1301
+ color: colors2.gray[700],
1302
+ "& .MuiChip-deleteIcon": { color: colors2.gray[400] }
1303
+ }
1304
+ },
1305
+ colorPrimary: {
1306
+ "&.MuiChip-filled": {
1307
+ backgroundColor: colors2.brand[50],
1308
+ color: colors2.brand[700],
1309
+ "& .MuiChip-deleteIcon": { color: colors2.brand[400] }
1310
+ }
1311
+ },
1312
+ colorSecondary: {
1313
+ "&.MuiChip-filled": {
1314
+ backgroundColor: colors2.gray[50],
1315
+ color: colors2.gray[700],
1316
+ "& .MuiChip-deleteIcon": { color: colors2.gray[400] }
1317
+ }
1318
+ },
1319
+ colorError: {
1320
+ "&.MuiChip-filled": {
1321
+ backgroundColor: colors2.error[50],
1322
+ color: colors2.error[700],
1323
+ "& .MuiChip-deleteIcon": { color: colors2.error[400] }
1324
+ }
1325
+ },
1326
+ colorWarning: {
1327
+ "&.MuiChip-filled": {
1328
+ backgroundColor: colors2.warning[50],
1329
+ color: colors2.warning[700],
1330
+ "& .MuiChip-deleteIcon": { color: colors2.warning[400] }
1331
+ }
1332
+ },
1333
+ colorSuccess: {
1334
+ "&.MuiChip-filled": {
1335
+ backgroundColor: colors2.success[50],
1336
+ color: colors2.success[700],
1337
+ "& .MuiChip-deleteIcon": { color: colors2.success[400] }
1338
+ }
1339
+ },
1340
+ colorInfo: {
1341
+ "&.MuiChip-filled": {
1342
+ backgroundColor: colors2.blue[50],
1343
+ color: colors2.blue[700],
1344
+ "& .MuiChip-deleteIcon": { color: colors2.blue[400] }
1345
+ }
972
1346
  }
973
1347
  }
974
1348
  },
@@ -983,7 +1357,7 @@ function buildComponents(tokens) {
983
1357
  fontSize: 14,
984
1358
  lineHeight: "20px",
985
1359
  fontWeight: 500,
986
- color: colors2.gray[700]
1360
+ color: text2.secondary
987
1361
  }
988
1362
  }
989
1363
  },
@@ -999,29 +1373,29 @@ function buildComponents(tokens) {
999
1373
  MuiTableCell: {
1000
1374
  styleOverrides: {
1001
1375
  root: {
1002
- borderBottom: `1px solid ${colors2.gray[200]}`,
1376
+ borderBottom: `1px solid ${border2.secondary}`,
1003
1377
  padding: "16px 24px",
1004
1378
  fontSize: 14,
1005
1379
  lineHeight: "20px",
1006
- color: colors2.gray[600]
1380
+ color: fg2.tertiary
1007
1381
  },
1008
1382
  head: {
1009
- backgroundColor: colors2.gray[50],
1010
- color: colors2.gray[600],
1383
+ backgroundColor: bg2.secondary,
1384
+ color: fg2.tertiary,
1011
1385
  fontWeight: 500,
1012
1386
  fontSize: 12,
1013
1387
  lineHeight: "18px"
1014
1388
  },
1015
1389
  body: {
1016
- color: colors2.gray[600]
1390
+ color: fg2.tertiary
1017
1391
  }
1018
1392
  }
1019
1393
  },
1020
1394
  MuiTableHead: {
1021
1395
  styleOverrides: {
1022
1396
  root: {
1023
- backgroundColor: colors2.gray[50],
1024
- borderBottom: `1px solid ${colors2.gray[200]}`
1397
+ backgroundColor: bg2.secondary,
1398
+ borderBottom: `1px solid ${border2.secondary}`
1025
1399
  }
1026
1400
  }
1027
1401
  },
@@ -1032,12 +1406,12 @@ function buildComponents(tokens) {
1032
1406
  border: 0
1033
1407
  },
1034
1408
  "&:hover": {
1035
- backgroundColor: colors2.gray[50]
1409
+ backgroundColor: bg2.primaryHover
1036
1410
  },
1037
1411
  "&.Mui-selected": {
1038
- backgroundColor: colors2.brand[50],
1412
+ backgroundColor: bg2.brandPrimary,
1039
1413
  "&:hover": {
1040
- backgroundColor: colors2.brand[50]
1414
+ backgroundColor: bg2.brandPrimary
1041
1415
  }
1042
1416
  }
1043
1417
  }
@@ -1047,7 +1421,7 @@ function buildComponents(tokens) {
1047
1421
  styleOverrides: {
1048
1422
  root: {
1049
1423
  borderRadius: radius2.xl,
1050
- border: `1px solid ${colors2.gray[200]}`,
1424
+ border: `1px solid ${border2.secondary}`,
1051
1425
  boxShadow: "none"
1052
1426
  }
1053
1427
  }
@@ -1064,16 +1438,16 @@ function buildComponents(tokens) {
1064
1438
  borderRadius: radius2.full
1065
1439
  },
1066
1440
  colorPrimary: {
1067
- backgroundColor: colors2.brand[600]
1441
+ backgroundColor: bg2.brandSolid
1068
1442
  },
1069
1443
  colorError: {
1070
- backgroundColor: colors2.error[600]
1444
+ backgroundColor: bg2.errorSolid
1071
1445
  },
1072
1446
  colorSuccess: {
1073
- backgroundColor: colors2.success[600]
1447
+ backgroundColor: bg2.successSolid
1074
1448
  },
1075
1449
  colorWarning: {
1076
- backgroundColor: colors2.warning[600]
1450
+ backgroundColor: bg2.warningSolid
1077
1451
  },
1078
1452
  dot: {
1079
1453
  minWidth: 8,
@@ -1086,7 +1460,7 @@ function buildComponents(tokens) {
1086
1460
  MuiDivider: {
1087
1461
  styleOverrides: {
1088
1462
  root: {
1089
- borderColor: colors2.gray[200]
1463
+ borderColor: border2.secondary
1090
1464
  }
1091
1465
  }
1092
1466
  },
@@ -1104,13 +1478,13 @@ function buildComponents(tokens) {
1104
1478
  borderRadius: radius2.sm,
1105
1479
  padding: "8px 12px",
1106
1480
  "&:hover": {
1107
- backgroundColor: colors2.gray[50]
1481
+ backgroundColor: bg2.primaryHover
1108
1482
  },
1109
1483
  "&.Mui-selected": {
1110
- backgroundColor: colors2.brand[50],
1111
- color: colors2.brand[700],
1484
+ backgroundColor: bg2.brandPrimary,
1485
+ color: buttonColors2.secondaryColor.fg,
1112
1486
  "&:hover": {
1113
- backgroundColor: colors2.brand[100]
1487
+ backgroundColor: bg2.brandSecondary
1114
1488
  }
1115
1489
  }
1116
1490
  }
@@ -1120,7 +1494,7 @@ function buildComponents(tokens) {
1120
1494
  styleOverrides: {
1121
1495
  root: {
1122
1496
  minWidth: 36,
1123
- color: colors2.gray[500]
1497
+ color: fg2.quaternary
1124
1498
  }
1125
1499
  }
1126
1500
  },
@@ -1130,12 +1504,12 @@ function buildComponents(tokens) {
1130
1504
  fontSize: 14,
1131
1505
  lineHeight: "20px",
1132
1506
  fontWeight: 500,
1133
- color: colors2.gray[700]
1507
+ color: text2.secondary
1134
1508
  },
1135
1509
  secondary: {
1136
1510
  fontSize: 14,
1137
1511
  lineHeight: "20px",
1138
- color: colors2.gray[500]
1512
+ color: text2.quaternary
1139
1513
  }
1140
1514
  }
1141
1515
  },
@@ -1143,8 +1517,8 @@ function buildComponents(tokens) {
1143
1517
  MuiTooltip: {
1144
1518
  styleOverrides: {
1145
1519
  tooltip: {
1146
- backgroundColor: colors2.gray[900],
1147
- color: colors2.base.white,
1520
+ backgroundColor: bg2.primarySolid,
1521
+ color: text2.white,
1148
1522
  fontSize: 12,
1149
1523
  lineHeight: "18px",
1150
1524
  fontWeight: 600,
@@ -1153,7 +1527,7 @@ function buildComponents(tokens) {
1153
1527
  boxShadow: tokenShadows.lg
1154
1528
  },
1155
1529
  arrow: {
1156
- color: colors2.gray[900]
1530
+ color: bg2.primarySolid
1157
1531
  }
1158
1532
  }
1159
1533
  },
@@ -1167,30 +1541,31 @@ function buildComponents(tokens) {
1167
1541
  borderRadius: radius2.xl,
1168
1542
  fontSize: 14,
1169
1543
  lineHeight: "20px",
1170
- padding: "12px 16px"
1544
+ padding: "12px 16px",
1545
+ alignItems: "center"
1171
1546
  },
1172
1547
  standardError: {
1173
- backgroundColor: colors2.error[50],
1548
+ backgroundColor: bg2.errorPrimary,
1174
1549
  color: colors2.error[700],
1175
- border: `1px solid ${colors2.error[300]}`,
1550
+ border: `1px solid ${border2.error}`,
1176
1551
  "& .MuiAlert-icon": {
1177
- color: colors2.error[600]
1552
+ color: fg2.errorPrimary
1178
1553
  }
1179
1554
  },
1180
1555
  standardWarning: {
1181
- backgroundColor: colors2.warning[50],
1556
+ backgroundColor: bg2.warningPrimary,
1182
1557
  color: colors2.warning[700],
1183
1558
  border: `1px solid ${colors2.warning[300]}`,
1184
1559
  "& .MuiAlert-icon": {
1185
- color: colors2.warning[600]
1560
+ color: fg2.warningPrimary
1186
1561
  }
1187
1562
  },
1188
1563
  standardSuccess: {
1189
- backgroundColor: colors2.success[50],
1564
+ backgroundColor: bg2.successPrimary,
1190
1565
  color: colors2.success[700],
1191
1566
  border: `1px solid ${colors2.success[300]}`,
1192
1567
  "& .MuiAlert-icon": {
1193
- color: colors2.success[600]
1568
+ color: fg2.successPrimary
1194
1569
  }
1195
1570
  },
1196
1571
  standardInfo: {
@@ -1202,7 +1577,8 @@ function buildComponents(tokens) {
1202
1577
  }
1203
1578
  },
1204
1579
  icon: {
1205
- padding: "2px 0"
1580
+ padding: 0,
1581
+ marginRight: 12
1206
1582
  }
1207
1583
  }
1208
1584
  },
@@ -1240,7 +1616,7 @@ function buildComponents(tokens) {
1240
1616
  fontSize: 18,
1241
1617
  lineHeight: "28px",
1242
1618
  fontWeight: 600,
1243
- color: colors2.gray[900],
1619
+ color: text2.primary,
1244
1620
  padding: "24px 24px 0"
1245
1621
  }
1246
1622
  }
@@ -1251,7 +1627,7 @@ function buildComponents(tokens) {
1251
1627
  padding: "20px 24px",
1252
1628
  fontSize: 14,
1253
1629
  lineHeight: "20px",
1254
- color: colors2.gray[600]
1630
+ color: text2.tertiary
1255
1631
  }
1256
1632
  }
1257
1633
  },
@@ -1269,14 +1645,14 @@ function buildComponents(tokens) {
1269
1645
  root: {
1270
1646
  borderRadius: radius2.full,
1271
1647
  height: 8,
1272
- backgroundColor: colors2.gray[200]
1648
+ backgroundColor: border2.secondary
1273
1649
  },
1274
1650
  barColorPrimary: {
1275
- backgroundColor: colors2.brand[600],
1651
+ backgroundColor: fg2.brandPrimary,
1276
1652
  borderRadius: radius2.full
1277
1653
  },
1278
1654
  barColorSecondary: {
1279
- backgroundColor: colors2.gray[600],
1655
+ backgroundColor: bg2.secondarySolid,
1280
1656
  borderRadius: radius2.full
1281
1657
  }
1282
1658
  }
@@ -1284,10 +1660,10 @@ function buildComponents(tokens) {
1284
1660
  MuiCircularProgress: {
1285
1661
  styleOverrides: {
1286
1662
  colorPrimary: {
1287
- color: colors2.brand[600]
1663
+ color: fg2.brandPrimary
1288
1664
  },
1289
1665
  colorSecondary: {
1290
- color: colors2.gray[600]
1666
+ color: bg2.secondarySolid
1291
1667
  }
1292
1668
  }
1293
1669
  },
@@ -1298,7 +1674,7 @@ function buildComponents(tokens) {
1298
1674
  },
1299
1675
  styleOverrides: {
1300
1676
  root: {
1301
- backgroundColor: colors2.gray[100]
1677
+ backgroundColor: bg2.tertiary
1302
1678
  },
1303
1679
  rounded: {
1304
1680
  borderRadius: radius2.md
@@ -1312,8 +1688,8 @@ function buildComponents(tokens) {
1312
1688
  MuiSnackbarContent: {
1313
1689
  styleOverrides: {
1314
1690
  root: {
1315
- backgroundColor: colors2.gray[900],
1316
- color: colors2.base.white,
1691
+ backgroundColor: bg2.primarySolid,
1692
+ color: text2.white,
1317
1693
  borderRadius: radius2.xl,
1318
1694
  boxShadow: tokenShadows.lg,
1319
1695
  fontSize: 14,
@@ -1341,6 +1717,62 @@ function buildComponents(tokens) {
1341
1717
  overline: "span"
1342
1718
  }
1343
1719
  }
1720
+ },
1721
+ // ─── DataGrid (@mui/x-data-grid) ──────────────────────────────
1722
+ // Not part of MUI core's Components<Theme> type, so we merge via assertion.
1723
+ ...{
1724
+ MuiDataGrid: {
1725
+ styleOverrides: {
1726
+ root: {
1727
+ border: `1px solid ${border2.secondary}`,
1728
+ borderRadius: radius2.xl,
1729
+ fontFamily: "inherit",
1730
+ "& .MuiDataGrid-withBorderColor": {
1731
+ borderColor: border2.secondary
1732
+ }
1733
+ },
1734
+ columnHeaders: {
1735
+ backgroundColor: bg2.secondary
1736
+ },
1737
+ columnHeader: {
1738
+ fontSize: 12,
1739
+ lineHeight: "18px",
1740
+ fontWeight: 500,
1741
+ color: fg2.tertiary,
1742
+ "&:focus, &:focus-within": {
1743
+ outline: "none"
1744
+ }
1745
+ },
1746
+ columnHeaderTitle: {
1747
+ fontWeight: 500
1748
+ },
1749
+ cell: {
1750
+ fontSize: 14,
1751
+ lineHeight: "20px",
1752
+ color: fg2.tertiary,
1753
+ "&:focus, &:focus-within": {
1754
+ outline: "none"
1755
+ }
1756
+ },
1757
+ row: {
1758
+ "&:hover": {
1759
+ backgroundColor: bg2.primaryHover
1760
+ },
1761
+ "&.Mui-selected": {
1762
+ backgroundColor: bg2.brandPrimary,
1763
+ "&:hover": {
1764
+ backgroundColor: bg2.brandPrimary
1765
+ }
1766
+ }
1767
+ },
1768
+ footerContainer: {
1769
+ borderTop: `1px solid ${border2.secondary}`
1770
+ },
1771
+ columnSeparator: {
1772
+ color: border2.secondary
1773
+ }
1774
+ }
1775
+ }
1344
1776
  }
1345
1777
  };
1346
1778
  }
@@ -1348,8 +1780,12 @@ var components = buildComponents({
1348
1780
  colors,
1349
1781
  radius,
1350
1782
  focusRings,
1351
- shadows
1352
- });
1783
+ shadows,
1784
+ text,
1785
+ bg,
1786
+ fg,
1787
+ border,
1788
+ buttonColors});
1353
1789
 
1354
1790
  // src/theme/shadows.ts
1355
1791
  function buildShadows(tokens) {
@@ -1443,7 +1879,20 @@ var forestPreset = {
1443
1879
  fontWeight,
1444
1880
  display,
1445
1881
  container,
1446
- widths
1882
+ widths,
1883
+ text,
1884
+ bg,
1885
+ fg,
1886
+ border,
1887
+ buttonColors,
1888
+ avatarColors,
1889
+ breadcrumbColors,
1890
+ iconColors,
1891
+ navColors,
1892
+ sliderColors,
1893
+ toggleColors,
1894
+ chartColors,
1895
+ alpha
1447
1896
  }
1448
1897
  }
1449
1898
  }
@@ -1506,7 +1955,7 @@ function ForestProvider({
1506
1955
  function Autocomplete(props) {
1507
1956
  return /* @__PURE__ */ jsxRuntime.jsx(MuiAutocomplete__default.default, { ...props });
1508
1957
  }
1509
- function Button(props) {
1958
+ function Button({ ...props }) {
1510
1959
  return /* @__PURE__ */ jsxRuntime.jsx(MuiButton__default.default, { variant: "contained", ...props });
1511
1960
  }
1512
1961
  function ButtonGroup(props) {
@@ -1545,8 +1994,17 @@ function ToggleButtonGroup(props) {
1545
1994
  function Badge(props) {
1546
1995
  return /* @__PURE__ */ jsxRuntime.jsx(MuiBadge__default.default, { ...props });
1547
1996
  }
1997
+ var Close_default = utils.createSvgIcon(/* @__PURE__ */ jsxRuntime.jsx("path", {
1998
+ 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"
1999
+ }), "Close");
1548
2000
  function Chip(props) {
1549
- return /* @__PURE__ */ jsxRuntime.jsx(MuiChip__default.default, { ...props });
2001
+ return /* @__PURE__ */ jsxRuntime.jsx(
2002
+ MuiChip__default.default,
2003
+ {
2004
+ deleteIcon: /* @__PURE__ */ jsxRuntime.jsx(Close_default, {}),
2005
+ ...props
2006
+ }
2007
+ );
1550
2008
  }
1551
2009
  function Divider(props) {
1552
2010
  return /* @__PURE__ */ jsxRuntime.jsx(MuiDivider__default.default, { ...props });
@@ -1590,12 +2048,51 @@ function TableHead(props) {
1590
2048
  function TableRow(props) {
1591
2049
  return /* @__PURE__ */ jsxRuntime.jsx(MuiTableRow__default.default, { ...props });
1592
2050
  }
2051
+ function DataGrid(props) {
2052
+ return /* @__PURE__ */ jsxRuntime.jsx(xDataGrid.DataGrid, { ...props });
2053
+ }
1593
2054
  function Tooltip(props) {
1594
2055
  return /* @__PURE__ */ jsxRuntime.jsx(MuiTooltip__default.default, { arrow: true, ...props });
1595
2056
  }
1596
2057
  function Typography(props) {
1597
2058
  return /* @__PURE__ */ jsxRuntime.jsx(MuiTypography__default.default, { ...props });
1598
2059
  }
2060
+ function Accordion(props) {
2061
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiAccordion__default.default, { ...props });
2062
+ }
2063
+ function AccordionSummary(props) {
2064
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiAccordionSummary__default.default, { ...props });
2065
+ }
2066
+ function AccordionDetails(props) {
2067
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiAccordionDetails__default.default, { ...props });
2068
+ }
2069
+ function AccordionActions(props) {
2070
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiAccordionActions__default.default, { ...props });
2071
+ }
2072
+ function AppBar(props) {
2073
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiAppBar__default.default, { ...props });
2074
+ }
2075
+ function Toolbar(props) {
2076
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiToolbar__default.default, { ...props });
2077
+ }
2078
+ function Card(props) {
2079
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiCard__default.default, { ...props });
2080
+ }
2081
+ function CardContent(props) {
2082
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiCardContent__default.default, { ...props });
2083
+ }
2084
+ function CardHeader(props) {
2085
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiCardHeader__default.default, { ...props });
2086
+ }
2087
+ function CardActions(props) {
2088
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiCardActions__default.default, { ...props });
2089
+ }
2090
+ function CardMedia(props) {
2091
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiCardMedia__default.default, { ...props });
2092
+ }
2093
+ function Paper(props) {
2094
+ return /* @__PURE__ */ jsxRuntime.jsx(MuiPaper__default.default, { ...props });
2095
+ }
1599
2096
  function Alert(props) {
1600
2097
  return /* @__PURE__ */ jsxRuntime.jsx(MuiAlert__default.default, { ...props });
1601
2098
  }
@@ -1633,16 +2130,27 @@ function Snackbar(props) {
1633
2130
  return /* @__PURE__ */ jsxRuntime.jsx(MuiSnackbar__default.default, { ...props });
1634
2131
  }
1635
2132
 
2133
+ exports.Accordion = Accordion;
2134
+ exports.AccordionActions = AccordionActions;
2135
+ exports.AccordionDetails = AccordionDetails;
2136
+ exports.AccordionSummary = AccordionSummary;
1636
2137
  exports.Alert = Alert;
1637
2138
  exports.AlertTitle = AlertTitle;
2139
+ exports.AppBar = AppBar;
1638
2140
  exports.Autocomplete = Autocomplete;
1639
2141
  exports.Backdrop = Backdrop;
1640
2142
  exports.Badge = Badge;
1641
2143
  exports.Button = Button;
1642
2144
  exports.ButtonGroup = ButtonGroup;
2145
+ exports.Card = Card;
2146
+ exports.CardActions = CardActions;
2147
+ exports.CardContent = CardContent;
2148
+ exports.CardHeader = CardHeader;
2149
+ exports.CardMedia = CardMedia;
1643
2150
  exports.Checkbox = Checkbox;
1644
2151
  exports.Chip = Chip;
1645
2152
  exports.CircularProgress = CircularProgress;
2153
+ exports.DataGrid = DataGrid;
1646
2154
  exports.Dialog = Dialog;
1647
2155
  exports.DialogActions = DialogActions;
1648
2156
  exports.DialogContent = DialogContent;
@@ -1660,6 +2168,7 @@ exports.ListItemIcon = ListItemIcon;
1660
2168
  exports.ListItemText = ListItemText;
1661
2169
  exports.ListSubheader = ListSubheader;
1662
2170
  exports.MenuItem = MenuItem;
2171
+ exports.Paper = Paper;
1663
2172
  exports.Radio = Radio;
1664
2173
  exports.RadioGroup = RadioGroup;
1665
2174
  exports.Select = Select;
@@ -1675,13 +2184,22 @@ exports.TableRow = TableRow;
1675
2184
  exports.TextField = TextField;
1676
2185
  exports.ToggleButton = ToggleButton;
1677
2186
  exports.ToggleButtonGroup = ToggleButtonGroup;
2187
+ exports.Toolbar = Toolbar;
1678
2188
  exports.Tooltip = Tooltip;
1679
2189
  exports.Typography = Typography;
2190
+ exports.alpha = alpha;
2191
+ exports.avatarColors = avatarColors;
2192
+ exports.bg = bg;
2193
+ exports.border = border;
2194
+ exports.breadcrumbColors = breadcrumbColors;
1680
2195
  exports.buildTheme = buildTheme;
1681
2196
  exports.buildThemeOptions = buildThemeOptions;
2197
+ exports.buttonColors = buttonColors;
2198
+ exports.chartColors = chartColors;
1682
2199
  exports.colors = colors;
1683
2200
  exports.container = container;
1684
2201
  exports.display = display;
2202
+ exports.fg = fg;
1685
2203
  exports.focusRings = focusRings;
1686
2204
  exports.fontFamily = fontFamily;
1687
2205
  exports.fontSize = fontSize;
@@ -1691,10 +2209,15 @@ exports.forestTheme = forestTheme;
1691
2209
  exports.forestThemeOptions = forestThemeOptions;
1692
2210
  exports.getAvailablePresets = getAvailablePresets;
1693
2211
  exports.getPreset = getPreset;
2212
+ exports.iconColors = iconColors;
1694
2213
  exports.lineHeight = lineHeight;
2214
+ exports.navColors = navColors;
1695
2215
  exports.radius = radius;
1696
2216
  exports.registerPreset = registerPreset;
2217
+ exports.sliderColors = sliderColors;
1697
2218
  exports.spacing = spacing;
2219
+ exports.text = text;
2220
+ exports.toggleColors = toggleColors;
1698
2221
  exports.tokenShadows = shadows;
1699
2222
  exports.widths = widths;
1700
2223
  //# sourceMappingURL=index.js.map