@juspay/blend-design-system 0.0.37-beta.3 → 0.0.37-beta.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.
Files changed (162) hide show
  1. package/dist/components/AccordionV2/index.d.ts +3 -0
  2. package/dist/components/AvatarV2/avatarV2.utils.d.ts +1 -1
  3. package/dist/components/AvatarV2/index.d.ts +1 -2
  4. package/dist/components/BreadcrumbV2/index.d.ts +10 -0
  5. package/dist/components/ButtonV2/ButtonGroupV2/index.d.ts +1 -0
  6. package/dist/components/ButtonV2/buttonV2.types.d.ts +0 -4
  7. package/dist/components/ButtonV2/index.d.ts +3 -0
  8. package/dist/components/ButtonV2/utils.d.ts +1 -1
  9. package/dist/components/ChartsV2/index.d.ts +5 -0
  10. package/dist/components/CodeEditorV2/CodeEditorV2.d.ts +1 -1
  11. package/dist/components/CodeEditorV2/codeEditorV2.tokens.d.ts +5 -5
  12. package/dist/components/CodeEditorV2/codeEditorV2.types.d.ts +5 -5
  13. package/dist/components/CodeEditorV2/index.d.ts +2 -0
  14. package/dist/components/CodeEditorV2/utils.d.ts +1 -1
  15. package/dist/components/DataTable/DataTable.d.ts +2 -1
  16. package/dist/components/DataTable/PivotTableModal/PivotPreviewPanel.d.ts +3 -0
  17. package/dist/components/DataTable/PivotTableModal/PivotTableIllustration.d.ts +7 -0
  18. package/dist/components/DataTable/PivotTableModal/index.d.ts +3 -0
  19. package/dist/components/DataTable/PivotTableModal/pivotModalStyleTokens.d.ts +123 -0
  20. package/dist/components/DataTable/PivotTableModal/types.d.ts +62 -0
  21. package/dist/components/DataTable/PivotTableModal/utils.d.ts +32 -0
  22. package/dist/components/DataTable/TableBody/types.d.ts +2 -0
  23. package/dist/components/DataTable/TableHeader/types.d.ts +1 -0
  24. package/dist/components/DataTable/index.d.ts +2 -0
  25. package/dist/components/DataTable/types.d.ts +56 -0
  26. package/dist/components/DataTable/utils.d.ts +19 -1
  27. package/dist/components/InputsV2/ChatInputV2/AttachmentDropdown.d.ts +3 -3
  28. package/dist/components/InputsV2/ChatInputV2/ChatInputTagV2.d.ts +2 -2
  29. package/dist/components/InputsV2/ChatInputV2/ChatInputV2.d.ts +4 -4
  30. package/dist/components/InputsV2/ChatInputV2/ChatInputV2.types.d.ts +8 -8
  31. package/dist/components/InputsV2/ChatInputV2/ChatInputV2AttachmentRow.d.ts +3 -3
  32. package/dist/components/InputsV2/ChatInputV2/MobileChatInputV2.d.ts +2 -2
  33. package/dist/components/InputsV2/ChatInputV2/utils.d.ts +4 -4
  34. package/dist/components/InputsV2/SearchInputV2/utils.d.ts +39 -0
  35. package/dist/components/InputsV2/TextInputV2/TextInputV2.types.d.ts +2 -2
  36. package/dist/components/InputsV2/TextInputV2/index.d.ts +2 -0
  37. package/dist/components/InputsV2/utils/utils.d.ts +1 -1
  38. package/dist/components/KeyValuePairV2/KeyValuePairV2.d.ts +1 -1
  39. package/dist/components/KeyValuePairV2/ResponsiveText.d.ts +2 -2
  40. package/dist/components/KeyValuePairV2/index.d.ts +3 -0
  41. package/dist/components/KeyValuePairV2/keyValuePairV2.types.d.ts +2 -2
  42. package/dist/components/KeyValuePairV2/responsiveTextStyles.d.ts +3 -3
  43. package/dist/components/KeyValuePairV2/utils.d.ts +2 -2
  44. package/dist/components/MenuV2/index.d.ts +1 -0
  45. package/dist/components/MenuV2/menuV2.utils.d.ts +2 -2
  46. package/dist/components/MultiSelectV2/index.d.ts +3 -0
  47. package/dist/components/MultiSelectV2/multiSelectV2.types.d.ts +1 -1
  48. package/dist/components/MultiSelectV2/utils.d.ts +2 -2
  49. package/dist/components/ProgressBarV2/index.d.ts +3 -0
  50. package/dist/components/ProgressBarV2/utils.d.ts +1 -1
  51. package/dist/components/SelectV2/index.d.ts +1 -0
  52. package/dist/components/SelectorV2/CheckboxV2/index.d.ts +4 -0
  53. package/dist/components/SelectorV2/CheckboxV2/utils.d.ts +1 -1
  54. package/dist/components/SelectorV2/RadioV2/index.d.ts +3 -0
  55. package/dist/components/SelectorV2/SwitchV2/index.d.ts +1 -0
  56. package/dist/components/SidebarV2/index.d.ts +5 -0
  57. package/dist/components/SingleSelectV2/SingleSelectV2VirtualList.d.ts +2 -2
  58. package/dist/components/SingleSelectV2/index.d.ts +3 -0
  59. package/dist/components/SingleSelectV2/singleSelectV2.types.d.ts +2 -2
  60. package/dist/components/SingleSelectV2/utils.d.ts +6 -6
  61. package/dist/components/StatCardV2/index.d.ts +10 -1
  62. package/dist/components/StepperV2/index.d.ts +3 -1
  63. package/dist/components/StepperV2/stepperV2.types.d.ts +2 -2
  64. package/dist/components/TabsV2/index.d.ts +3 -1
  65. package/dist/components/TagV2/index.d.ts +3 -0
  66. package/dist/components/TooltipV2/index.d.ts +1 -0
  67. package/dist/components/common/index.d.ts +1 -1
  68. package/dist/main.d.ts +30 -70
  69. package/dist/main.js +87817 -85412
  70. package/dist/{node-CRWdZOVN.js → node-C2uf3sNA.js} +1303 -1300
  71. package/dist/node.js +1 -1
  72. package/dist/tokens.js +1 -1
  73. package/lib/components/AccordionV2/index.ts +3 -0
  74. package/lib/components/AvatarV2/AvatarV2.tsx +2 -2
  75. package/lib/components/AvatarV2/avatarV2.utils.ts +1 -1
  76. package/lib/components/AvatarV2/index.ts +1 -12
  77. package/lib/components/BreadcrumbV2/index.ts +10 -0
  78. package/lib/components/ButtonV2/ButtonGroupV2/index.ts +1 -0
  79. package/lib/components/ButtonV2/ButtonV2.tsx +2 -2
  80. package/lib/components/ButtonV2/LinkButton.tsx +2 -2
  81. package/lib/components/ButtonV2/buttonV2.types.ts +0 -6
  82. package/lib/components/ButtonV2/index.ts +3 -0
  83. package/lib/components/ButtonV2/utils.ts +2 -2
  84. package/lib/components/Charts/BlendChart.tsx +1 -1
  85. package/lib/components/ChartsV2/ChartV2.tsx +3 -2
  86. package/lib/components/ChartsV2/index.ts +5 -0
  87. package/lib/components/CodeEditorV2/CodeEditorV2.tsx +2 -2
  88. package/lib/components/CodeEditorV2/codeEditorV2.dark.tokens.ts +37 -25
  89. package/lib/components/CodeEditorV2/codeEditorV2.light.token.ts +37 -25
  90. package/lib/components/CodeEditorV2/codeEditorV2.tokens.ts +5 -5
  91. package/lib/components/CodeEditorV2/codeEditorV2.types.ts +5 -5
  92. package/lib/components/CodeEditorV2/index.ts +2 -0
  93. package/lib/components/CodeEditorV2/utils.ts +1 -1
  94. package/lib/components/DataTable/DataTable.tsx +148 -4
  95. package/lib/components/DataTable/PivotTableModal/PivotPreviewPanel.tsx +174 -0
  96. package/lib/components/DataTable/PivotTableModal/PivotTableIllustration.tsx +28 -0
  97. package/lib/components/DataTable/PivotTableModal/index.tsx +859 -0
  98. package/lib/components/DataTable/PivotTableModal/pivot-table-illustration.png +0 -0
  99. package/lib/components/DataTable/PivotTableModal/pivotModal.styled.ts +13 -0
  100. package/lib/components/DataTable/PivotTableModal/pivotModalStyleTokens.ts +250 -0
  101. package/lib/components/DataTable/PivotTableModal/types.ts +69 -0
  102. package/lib/components/DataTable/PivotTableModal/utils.ts +360 -0
  103. package/lib/components/DataTable/TableBody/index.tsx +16 -5
  104. package/lib/components/DataTable/TableBody/types.ts +2 -0
  105. package/lib/components/DataTable/TableHeader/index.tsx +6 -3
  106. package/lib/components/DataTable/TableHeader/types.ts +1 -0
  107. package/lib/components/DataTable/index.ts +4 -0
  108. package/lib/components/DataTable/types.ts +57 -0
  109. package/lib/components/DataTable/utils.ts +197 -0
  110. package/lib/components/InputsV2/ChatInputV2/AttachmentDropdown.tsx +3 -3
  111. package/lib/components/InputsV2/ChatInputV2/ChatInputTagV2.tsx +3 -3
  112. package/lib/components/InputsV2/ChatInputV2/ChatInputV2.types.ts +8 -8
  113. package/lib/components/InputsV2/ChatInputV2/ChatInputV2AttachmentRow.tsx +7 -7
  114. package/lib/components/InputsV2/ChatInputV2/utils.ts +8 -8
  115. package/lib/components/InputsV2/SearchInputV2/utils.ts +14 -1
  116. package/lib/components/InputsV2/TextInputV2/TextInputV2.tsx +3 -3
  117. package/lib/components/InputsV2/TextInputV2/TextInputV2.types.ts +2 -2
  118. package/lib/components/InputsV2/TextInputV2/index.ts +2 -0
  119. package/lib/components/KeyValuePairV2/KeyValuePairV2.tsx +6 -2
  120. package/lib/components/KeyValuePairV2/ResponsiveText.tsx +2 -2
  121. package/lib/components/KeyValuePairV2/index.ts +3 -0
  122. package/lib/components/KeyValuePairV2/keyValuePairV2.types.ts +2 -2
  123. package/lib/components/KeyValuePairV2/responsiveTextStyles.ts +3 -3
  124. package/lib/components/KeyValuePairV2/utils.ts +3 -3
  125. package/lib/components/MenuV2/MenuV2.tsx +2 -2
  126. package/lib/components/MenuV2/MenuV2SubMenu.tsx +2 -2
  127. package/lib/components/MenuV2/index.ts +1 -0
  128. package/lib/components/MenuV2/menuV2.utils.ts +4 -4
  129. package/lib/components/MultiSelectV2/MultiSelectV2.tsx +2 -2
  130. package/lib/components/MultiSelectV2/MultiSelectV2Menu.tsx +5 -2
  131. package/lib/components/MultiSelectV2/index.ts +3 -0
  132. package/lib/components/MultiSelectV2/mobile/MobileMultiSelectV2.tsx +7 -4
  133. package/lib/components/MultiSelectV2/multiSelectV2.types.ts +1 -1
  134. package/lib/components/MultiSelectV2/utils.ts +2 -2
  135. package/lib/components/ProgressBarV2/ProgressBarV2.tsx +5 -2
  136. package/lib/components/ProgressBarV2/index.ts +3 -0
  137. package/lib/components/ProgressBarV2/utils.ts +1 -1
  138. package/lib/components/SelectV2/index.ts +1 -0
  139. package/lib/components/SelectorV2/CheckboxV2/CheckboxV2.tsx +2 -2
  140. package/lib/components/SelectorV2/CheckboxV2/index.ts +4 -0
  141. package/lib/components/SelectorV2/CheckboxV2/utils.ts +1 -1
  142. package/lib/components/SelectorV2/RadioV2/index.ts +3 -0
  143. package/lib/components/SelectorV2/SwitchV2/index.ts +1 -0
  144. package/lib/components/Sidebar/Sidebar.tsx +7 -2
  145. package/lib/components/SidebarV2/index.ts +5 -0
  146. package/lib/components/SingleSelectV2/MobileSingleSelectV2.tsx +2 -2
  147. package/lib/components/SingleSelectV2/SingleSelectV2.tsx +10 -3
  148. package/lib/components/SingleSelectV2/SingleSelectV2Menu.tsx +4 -2
  149. package/lib/components/SingleSelectV2/SingleSelectV2VirtualList.tsx +5 -2
  150. package/lib/components/SingleSelectV2/index.ts +7 -0
  151. package/lib/components/SingleSelectV2/singleSelectV2.types.ts +2 -2
  152. package/lib/components/SingleSelectV2/utils.ts +10 -10
  153. package/lib/components/StatCardV2/index.ts +13 -1
  154. package/lib/components/StepperV2/index.ts +3 -1
  155. package/lib/components/StepperV2/stepperV2.types.ts +2 -2
  156. package/lib/components/TabsV2/index.ts +13 -1
  157. package/lib/components/TagV2/index.ts +3 -0
  158. package/lib/components/TooltipV2/index.ts +1 -0
  159. package/lib/components/common/index.ts +1 -1
  160. package/lib/main.ts +34 -258
  161. package/lib/types/assets.d.ts +24 -0
  162. package/package.json +2 -1
@@ -1,4 +1,3 @@
1
- var h = /* @__PURE__ */ ((r) => (r.LIGHT = "light", r.DARK = "dark", r))(h || {});
2
1
  const L = {
3
2
  xs: "0px 1px 1px 0px rgba(5, 5, 6, 0.04)",
4
3
  sm: "0px 2px 3px 0px rgba(5, 5, 6, 0.05)",
@@ -266,7 +265,7 @@ const L = {
266
265
  200: "200px",
267
266
  350: "350px",
268
267
  auto: "auto"
269
- }, C = {
268
+ }, a = {
270
269
  gray: {
271
270
  0: "#FFFFFF",
272
271
  25: "#FCFCFD",
@@ -362,7 +361,7 @@ const L = {
362
361
  900: "#733E0A",
363
362
  950: "#432004"
364
363
  }
365
- }, a = {
364
+ }, C = {
366
365
  0: 0,
367
366
  10: 10,
368
367
  99: 99,
@@ -372,15 +371,17 @@ const L = {
372
371
  1e3: 1e3,
373
372
  1100: 1100,
374
373
  1200: 1200
375
- }, Xr = {
374
+ }, _r = {
376
375
  shadows: L,
377
376
  border: N,
378
377
  font: H,
379
378
  opacity: D,
380
379
  unit: I,
381
- colors: C,
382
- zIndex: a
383
- }, _r = (r) => ({
380
+ colors: a,
381
+ zIndex: C
382
+ };
383
+ var h = /* @__PURE__ */ ((r) => (r.LIGHT = "light", r.DARK = "dark", r))(h || {});
384
+ const Pr = (r) => ({
384
385
  // Small breakpoint (mobile)
385
386
  sm: {
386
387
  // Base properties
@@ -549,7 +550,212 @@ const L = {
549
550
  gap: r.unit[16]
550
551
  }
551
552
  }
552
- }), A = (r) => ({
553
+ }), Vr = (r) => ({
554
+ sm: {
555
+ // Base sidebar properties
556
+ maxWidth: {
557
+ withLeftPanel: "300px",
558
+ withoutLeftPanel: "250px",
559
+ iconOnly: r.unit[52]
560
+ },
561
+ // State-dependent base properties
562
+ backgroundColor: r.colors.gray[25],
563
+ borderRight: `1px solid ${r.colors.gray[200]}`,
564
+ // Left Panel section (tenant switching panel)
565
+ leftPanel: {
566
+ width: "52px",
567
+ backgroundColor: r.colors.gray[25],
568
+ borderRight: `1px solid ${r.colors.gray[200]}`,
569
+ padding: {
570
+ x: r.unit[10],
571
+ y: r.unit[10]
572
+ },
573
+ gap: r.unit[16],
574
+ // Tenant selection items
575
+ item: {
576
+ width: r.unit[32],
577
+ borderRadius: r.border.radius[4],
578
+ // State-based tenant item styling
579
+ border: {
580
+ default: `1px solid ${r.colors.gray[150]}`,
581
+ hover: `1px solid ${r.colors.gray[200]}`,
582
+ active: `1px solid ${r.colors.primary[500]}`
583
+ },
584
+ backgroundColor: {
585
+ default: "transparent",
586
+ hover: r.colors.gray[50],
587
+ active: "transparent"
588
+ }
589
+ }
590
+ },
591
+ // Header section (contains toggle button and top content)
592
+ header: {
593
+ backgroundColor: r.colors.gray[25],
594
+ padding: {
595
+ x: r.unit[8],
596
+ y: r.unit[12.5]
597
+ },
598
+ gap: r.unit[12],
599
+ borderBottom: `1px solid ${r.colors.gray[200]}`,
600
+ // Toggle button for expand/collapse
601
+ toggleButton: {
602
+ backgroundColor: {
603
+ default: "transparent",
604
+ hover: r.colors.gray[100],
605
+ active: r.colors.gray[100]
606
+ },
607
+ width: r.unit[16]
608
+ }
609
+ },
610
+ directory: {
611
+ gap: r.unit[24],
612
+ paddingX: r.unit[12],
613
+ paddingY: r.unit[12]
614
+ },
615
+ // Footer section (bottom actions and info)
616
+ footer: {
617
+ backgroundColor: r.colors.gray[25],
618
+ padding: {
619
+ x: r.unit[8],
620
+ y: r.unit[12]
621
+ },
622
+ borderTop: `1px solid ${r.colors.gray[200]}`
623
+ }
624
+ },
625
+ lg: {
626
+ // Base sidebar properties
627
+ maxWidth: {
628
+ withLeftPanel: "320px",
629
+ withoutLeftPanel: "270px",
630
+ iconOnly: r.unit[52]
631
+ },
632
+ // State-dependent base properties
633
+ backgroundColor: r.colors.gray[25],
634
+ borderRight: `1px solid ${r.colors.gray[200]}`,
635
+ // Left Panel section (tenant switching panel)
636
+ leftPanel: {
637
+ width: "52px",
638
+ backgroundColor: r.colors.gray[25],
639
+ borderRight: `1px solid ${r.colors.gray[200]}`,
640
+ padding: {
641
+ x: r.unit[12],
642
+ y: r.unit[12]
643
+ },
644
+ gap: r.unit[16],
645
+ // Tenant selection items
646
+ item: {
647
+ width: r.unit[32],
648
+ borderRadius: r.border.radius[6],
649
+ // State-based tenant item styling
650
+ border: {
651
+ default: `1px solid ${r.colors.gray[150]}`,
652
+ hover: `1px solid ${r.colors.gray[200]}`,
653
+ active: `1px solid ${r.colors.primary[500]}`
654
+ },
655
+ backgroundColor: {
656
+ default: "transparent",
657
+ hover: r.colors.gray[50],
658
+ active: "transparent"
659
+ }
660
+ }
661
+ },
662
+ // Header section (contains toggle button and top content)
663
+ header: {
664
+ backgroundColor: r.colors.gray[25],
665
+ padding: {
666
+ x: r.unit[12],
667
+ y: r.unit[6]
668
+ },
669
+ gap: r.unit[16],
670
+ borderBottom: `1px solid ${r.colors.gray[200]}`,
671
+ // Toggle button for expand/collapse
672
+ toggleButton: {
673
+ backgroundColor: {
674
+ default: "transparent",
675
+ hover: r.colors.gray[100],
676
+ active: r.colors.gray[100]
677
+ },
678
+ width: r.unit[16]
679
+ }
680
+ },
681
+ directory: {
682
+ gap: r.unit[24],
683
+ paddingX: r.unit[12],
684
+ paddingY: r.unit[12]
685
+ },
686
+ // Footer section (bottom actions and info)
687
+ footer: {
688
+ backgroundColor: r.colors.gray[25],
689
+ padding: {
690
+ x: r.unit[12],
691
+ y: r.unit[16]
692
+ },
693
+ borderTop: `1px solid ${r.colors.gray[200]}`
694
+ }
695
+ }
696
+ }), qr = (r) => {
697
+ const c = {
698
+ backgroundColor: r.colors.gray[0],
699
+ drawer: {
700
+ borderRadius: r.border.radius[24],
701
+ borderTop: `1px solid ${r.colors.gray[200]}`
702
+ },
703
+ padding: {
704
+ x: r.unit[24],
705
+ y: r.unit[4]
706
+ },
707
+ gap: r.unit[12],
708
+ row: {
709
+ padding: {
710
+ x: r.unit[0],
711
+ y: r.unit[12]
712
+ },
713
+ gap: r.unit[10],
714
+ item: {
715
+ width: r.unit[56],
716
+ height: r.unit[48],
717
+ borderRadius: r.border.radius[24],
718
+ gap: r.unit[4],
719
+ backgroundColor: {
720
+ default: "transparent",
721
+ active: "transparent"
722
+ },
723
+ color: {
724
+ default: r.colors.gray[400],
725
+ active: r.colors.gray[800]
726
+ },
727
+ fontWeight: r.font.weight[500],
728
+ icon: {
729
+ width: r.unit[20],
730
+ height: r.unit[20],
731
+ borderRadius: r.border.radius[12],
732
+ transition: "color 0.2s ease"
733
+ },
734
+ text: {
735
+ fontSize: r.font.size.body.sm.fontSize,
736
+ fontWeight: r.font.weight[400],
737
+ textAlign: "center"
738
+ }
739
+ },
740
+ primaryAction: {
741
+ width: r.unit[48],
742
+ height: r.unit[48],
743
+ borderRadius: r.border.radius[28],
744
+ background: `linear-gradient(135deg, ${r.colors.primary[400]} 0%, ${r.colors.primary[600]} 100%)`,
745
+ boxShadow: r.shadows["2xl"],
746
+ color: r.colors.gray[0],
747
+ icon: {
748
+ width: "24px",
749
+ height: "24px"
750
+ }
751
+ }
752
+ }
753
+ };
754
+ return {
755
+ sm: c,
756
+ lg: c
757
+ };
758
+ }, A = (r) => ({
553
759
  sm: {
554
760
  gap: r.unit[6],
555
761
  // Pattern: backgroundColor.[variant].[subType].[state]
@@ -3433,869 +3639,175 @@ const L = {
3433
3639
  }
3434
3640
  }
3435
3641
  }
3436
- }), Pr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? W(r) : A(r);
3437
- var G = /* @__PURE__ */ ((r) => (r.START = "start", r.CENTER = "center", r.END = "end", r))(G || {}), B = /* @__PURE__ */ ((r) => (r.TOP = "top", r.LEFT = "left", r.RIGHT = "right", r.BOTTOM = "bottom", r))(B || {}), m = /* @__PURE__ */ ((r) => (r.DEFAULT = "default", r.ACTION = "action", r))(m || {}), x = /* @__PURE__ */ ((r) => (r.PRIMARY = "primary", r.DANGER = "danger", r))(x || {});
3438
- const M = (r) => ({
3642
+ }), Kr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? W(r) : A(r), G = (r) => ({
3439
3643
  sm: {
3440
- backgroundColor: r.colors.gray[0],
3441
- border: `1px solid ${r.colors.gray[200]}`,
3442
- borderRadius: r.unit[8],
3443
- boxShadow: r.shadows.sm,
3444
- zIndex: r.zIndex[101],
3445
- minWidth: 200,
3446
- maxWidth: 280,
3447
- paddingTop: r.unit[6],
3448
- paddingRight: r.unit[6],
3449
- paddingBottom: r.unit[6],
3450
- paddingLeft: r.unit[6],
3451
- searchIcon: {
3452
- width: r.unit[16]
3453
- },
3454
- group: {
3455
- label: {
3456
- fontSize: r.font.size.body.sm.fontSize,
3457
- fontWeight: r.font.weight[400],
3458
- lineHeight: r.font.lineHeight[14],
3459
- color: r.colors.gray[400],
3460
- paddingTop: r.unit[6],
3461
- paddingRight: r.unit[8],
3462
- paddingBottom: r.unit[6],
3463
- paddingLeft: r.unit[8],
3464
- marginTop: r.unit[0],
3465
- marginRight: r.unit[6],
3466
- marginBottom: r.unit[0],
3467
- marginLeft: r.unit[6]
3644
+ gap: r.unit[6],
3645
+ backgroundColor: {
3646
+ noFill: {
3647
+ neutral: "transparent",
3648
+ primary: "transparent",
3649
+ success: "transparent",
3650
+ error: "transparent",
3651
+ warning: "transparent",
3652
+ purple: "transparent"
3468
3653
  },
3469
- item: {
3470
- paddingTop: r.unit[8],
3471
- paddingRight: r.unit[8],
3472
- paddingBottom: r.unit[8],
3473
- paddingLeft: r.unit[8],
3474
- marginTop: r.unit[0],
3475
- marginRight: r.unit[4],
3476
- marginBottom: r.unit[0],
3477
- marginLeft: r.unit[4],
3478
- borderRadius: r.unit[4],
3479
- gap: r.unit[4],
3480
- backgroundColor: {
3481
- [m.DEFAULT]: {
3482
- default: r.colors.gray[0],
3483
- hover: r.colors.gray[50],
3484
- active: r.colors.gray[50],
3485
- focus: r.colors.gray[50],
3486
- focusVisible: r.colors.gray[50],
3487
- disabled: r.colors.gray[0],
3488
- selected: r.colors.gray[0]
3489
- },
3490
- [m.ACTION]: {
3491
- [x.PRIMARY]: {
3492
- default: r.colors.primary[50],
3493
- hover: r.colors.primary[100],
3494
- active: r.colors.primary[50],
3495
- focus: r.colors.primary[100],
3496
- focusVisible: r.colors.primary[100],
3497
- disabled: r.colors.gray[0],
3498
- selected: r.colors.primary[50]
3499
- },
3500
- [x.DANGER]: {
3501
- default: r.colors.red[50],
3502
- hover: r.colors.red[100],
3503
- active: r.colors.red[100],
3504
- focus: r.colors.red[100],
3505
- focusVisible: r.colors.red[100],
3506
- disabled: r.colors.gray[0],
3507
- selected: r.colors.red[50]
3508
- }
3509
- }
3510
- },
3511
- text: {
3512
- fontSize: r.font.size.body.md.fontSize,
3513
- fontWeight: r.font.weight[500],
3514
- lineHeight: r.font.lineHeight[16],
3515
- color: {
3516
- [m.DEFAULT]: {
3517
- default: r.colors.gray[600],
3518
- hover: r.colors.gray[600],
3519
- active: r.colors.gray[600],
3520
- focus: r.colors.gray[600],
3521
- focusVisible: r.colors.gray[600],
3522
- disabled: r.colors.gray[400],
3523
- selected: r.colors.gray[600]
3524
- },
3525
- [m.ACTION]: {
3526
- [x.PRIMARY]: {
3527
- default: r.colors.primary[600],
3528
- hover: r.colors.primary[600],
3529
- active: r.colors.primary[600],
3530
- focus: r.colors.primary[600],
3531
- focusVisible: r.colors.primary[600],
3532
- disabled: r.colors.gray[400],
3533
- selected: r.colors.primary[600]
3534
- },
3535
- [x.DANGER]: {
3536
- default: r.colors.red[600],
3537
- hover: r.colors.red[600],
3538
- active: r.colors.red[600],
3539
- focus: r.colors.red[600],
3540
- focusVisible: r.colors.red[600],
3541
- disabled: r.colors.red[400],
3542
- selected: r.colors.red[600]
3543
- }
3544
- }
3545
- },
3546
- subText: {
3547
- fontSize: r.font.size.body.sm.fontSize,
3548
- fontWeight: r.font.weight[400],
3549
- lineHeight: r.font.lineHeight[14],
3550
- color: {
3551
- [m.DEFAULT]: {
3552
- default: r.colors.gray[400],
3553
- hover: r.colors.gray[400],
3554
- active: r.colors.gray[400],
3555
- focus: r.colors.gray[400],
3556
- focusVisible: r.colors.gray[400],
3557
- disabled: r.colors.gray[400],
3558
- selected: r.colors.gray[400]
3559
- },
3560
- [m.ACTION]: {
3561
- [x.PRIMARY]: {
3562
- default: r.colors.primary[400],
3563
- hover: r.colors.primary[400],
3564
- active: r.colors.primary[400],
3565
- focus: r.colors.primary[400],
3566
- focusVisible: r.colors.primary[400],
3567
- disabled: r.colors.gray[400],
3568
- selected: r.colors.primary[400]
3569
- },
3570
- [x.DANGER]: {
3571
- default: r.colors.red[400],
3572
- hover: r.colors.red[400],
3573
- active: r.colors.red[400],
3574
- focus: r.colors.red[400],
3575
- focusVisible: r.colors.red[400],
3576
- disabled: r.colors.red[400],
3577
- selected: r.colors.red[400]
3578
- }
3579
- }
3580
- }
3581
- },
3582
- leftSlot: {
3583
- maxWidth: r.unit[16],
3584
- maxHeight: r.unit[16]
3585
- },
3586
- rightChevron: {
3587
- color: r.colors.gray[500],
3588
- width: r.unit[16]
3589
- }
3590
- }
3591
- }
3592
- },
3593
- separator: {
3594
- color: r.colors.gray[200],
3595
- height: r.unit[1],
3596
- marginTop: r.unit[6],
3597
- marginRight: r.unit[0],
3598
- marginBottom: r.unit[6],
3599
- marginLeft: r.unit[0]
3600
- }
3601
- },
3602
- lg: {
3603
- backgroundColor: r.colors.gray[0],
3604
- border: `1px solid ${r.colors.gray[200]}`,
3605
- borderRadius: r.unit[8],
3606
- boxShadow: r.shadows.sm,
3607
- zIndex: r.zIndex[101],
3608
- minWidth: 200,
3609
- maxWidth: 280,
3610
- paddingTop: r.unit[6],
3611
- paddingRight: r.unit[6],
3612
- paddingBottom: r.unit[6],
3613
- paddingLeft: r.unit[6],
3614
- searchIcon: {
3615
- width: r.unit[16]
3616
- },
3617
- group: {
3618
- label: {
3619
- fontSize: r.font.size.body.sm.fontSize,
3620
- fontWeight: r.font.weight[400],
3621
- lineHeight: r.font.lineHeight[14],
3622
- color: r.colors.gray[400],
3623
- paddingTop: r.unit[6],
3624
- paddingRight: r.unit[8],
3625
- paddingBottom: r.unit[6],
3626
- paddingLeft: r.unit[8],
3627
- marginTop: r.unit[0],
3628
- marginRight: r.unit[6],
3629
- marginBottom: r.unit[0],
3630
- marginLeft: r.unit[6]
3631
- },
3632
- item: {
3633
- paddingTop: r.unit[8],
3634
- paddingRight: r.unit[8],
3635
- paddingBottom: r.unit[8],
3636
- paddingLeft: r.unit[8],
3637
- marginTop: r.unit[0],
3638
- marginRight: r.unit[4],
3639
- marginBottom: r.unit[0],
3640
- marginLeft: r.unit[4],
3641
- borderRadius: r.unit[4],
3642
- gap: r.unit[4],
3643
- backgroundColor: {
3644
- [m.DEFAULT]: {
3645
- default: r.colors.gray[0],
3646
- hover: r.colors.gray[50],
3647
- active: r.colors.gray[50],
3648
- focus: r.colors.gray[50],
3649
- focusVisible: r.colors.gray[50],
3650
- disabled: r.colors.gray[0],
3651
- selected: r.colors.gray[0]
3652
- },
3653
- [m.ACTION]: {
3654
- [x.PRIMARY]: {
3655
- default: r.colors.primary[50],
3656
- hover: r.colors.primary[100],
3657
- active: r.colors.primary[50],
3658
- focus: r.colors.primary[100],
3659
- focusVisible: r.colors.primary[100],
3660
- disabled: r.colors.gray[0],
3661
- selected: r.colors.primary[50]
3662
- },
3663
- [x.DANGER]: {
3664
- default: r.colors.red[50],
3665
- hover: r.colors.red[100],
3666
- active: r.colors.red[100],
3667
- focus: r.colors.red[100],
3668
- focusVisible: r.colors.red[100],
3669
- disabled: r.colors.gray[0],
3670
- selected: r.colors.red[50]
3671
- }
3672
- }
3673
- },
3674
- text: {
3675
- fontSize: r.font.size.body.md.fontSize,
3676
- fontWeight: r.font.weight[500],
3677
- lineHeight: r.font.lineHeight[16],
3678
- color: {
3679
- [m.DEFAULT]: {
3680
- default: r.colors.gray[600],
3681
- hover: r.colors.gray[600],
3682
- active: r.colors.gray[600],
3683
- focus: r.colors.gray[600],
3684
- focusVisible: r.colors.gray[600],
3685
- disabled: r.colors.gray[400],
3686
- selected: r.colors.gray[600]
3687
- },
3688
- [m.ACTION]: {
3689
- [x.PRIMARY]: {
3690
- default: r.colors.primary[600],
3691
- hover: r.colors.primary[600],
3692
- active: r.colors.primary[600],
3693
- focus: r.colors.primary[600],
3694
- focusVisible: r.colors.primary[600],
3695
- disabled: r.colors.gray[400],
3696
- selected: r.colors.primary[600]
3697
- },
3698
- [x.DANGER]: {
3699
- default: r.colors.red[600],
3700
- hover: r.colors.red[600],
3701
- active: r.colors.red[600],
3702
- focus: r.colors.red[600],
3703
- focusVisible: r.colors.red[600],
3704
- disabled: r.colors.red[400],
3705
- selected: r.colors.red[600]
3706
- }
3707
- }
3708
- },
3709
- subText: {
3710
- fontSize: r.font.size.body.sm.fontSize,
3711
- fontWeight: r.font.weight[400],
3712
- lineHeight: r.font.lineHeight[14],
3713
- color: {
3714
- [m.DEFAULT]: {
3715
- default: r.colors.gray[400],
3716
- hover: r.colors.gray[400],
3717
- active: r.colors.gray[400],
3718
- focus: r.colors.gray[400],
3719
- focusVisible: r.colors.gray[400],
3720
- disabled: r.colors.gray[400],
3721
- selected: r.colors.gray[400]
3722
- },
3723
- [m.ACTION]: {
3724
- [x.PRIMARY]: {
3725
- default: r.colors.primary[400],
3726
- hover: r.colors.primary[400],
3727
- active: r.colors.primary[400],
3728
- focus: r.colors.primary[400],
3729
- focusVisible: r.colors.primary[400],
3730
- disabled: r.colors.gray[400],
3731
- selected: r.colors.primary[400]
3732
- },
3733
- [x.DANGER]: {
3734
- default: r.colors.red[400],
3735
- hover: r.colors.red[400],
3736
- active: r.colors.red[400],
3737
- focus: r.colors.red[400],
3738
- focusVisible: r.colors.red[400],
3739
- disabled: r.colors.red[400],
3740
- selected: r.colors.red[400]
3741
- }
3742
- }
3743
- }
3744
- },
3745
- leftSlot: {
3746
- maxWidth: r.unit[16],
3747
- maxHeight: r.unit[16]
3748
- },
3749
- rightChevron: {
3750
- color: r.colors.gray[500],
3751
- width: r.unit[16]
3752
- }
3753
- }
3754
- }
3755
- },
3756
- separator: {
3757
- color: r.colors.gray[200],
3758
- height: r.unit[1],
3759
- marginTop: r.unit[6],
3760
- marginRight: r.unit[0],
3761
- marginBottom: r.unit[6],
3762
- marginLeft: r.unit[0]
3763
- }
3764
- }
3765
- }), F = (r) => ({
3766
- sm: {
3767
- backgroundColor: r.colors.gray[900],
3768
- border: `1px solid ${r.colors.gray[700]}`,
3769
- borderRadius: r.unit[8],
3770
- boxShadow: r.shadows.md,
3771
- zIndex: r.zIndex[101],
3772
- minWidth: 200,
3773
- maxWidth: 280,
3774
- paddingTop: r.unit[6],
3775
- paddingRight: r.unit[6],
3776
- paddingBottom: r.unit[6],
3777
- paddingLeft: r.unit[6],
3778
- searchIcon: {
3779
- width: r.unit[16]
3780
- },
3781
- group: {
3782
- label: {
3783
- fontSize: r.font.size.body.sm.fontSize,
3784
- fontWeight: r.font.weight[400],
3785
- lineHeight: r.font.lineHeight[14],
3786
- color: r.colors.gray[500],
3787
- paddingTop: r.unit[6],
3788
- paddingRight: r.unit[8],
3789
- paddingBottom: r.unit[6],
3790
- paddingLeft: r.unit[8],
3791
- marginTop: r.unit[0],
3792
- marginRight: r.unit[6],
3793
- marginBottom: r.unit[0],
3794
- marginLeft: r.unit[6]
3795
- },
3796
- item: {
3797
- paddingTop: r.unit[8],
3798
- paddingRight: r.unit[8],
3799
- paddingBottom: r.unit[8],
3800
- paddingLeft: r.unit[8],
3801
- marginTop: r.unit[0],
3802
- marginRight: r.unit[4],
3803
- marginBottom: r.unit[0],
3804
- marginLeft: r.unit[4],
3805
- borderRadius: r.unit[4],
3806
- gap: r.unit[4],
3807
- backgroundColor: {
3808
- [m.DEFAULT]: {
3809
- default: r.colors.gray[900],
3810
- hover: r.colors.gray[800],
3811
- active: r.colors.gray[800],
3812
- focus: r.colors.gray[800],
3813
- focusVisible: r.colors.gray[800],
3814
- disabled: r.colors.gray[900],
3815
- selected: r.colors.gray[900]
3816
- },
3817
- [m.ACTION]: {
3818
- [x.PRIMARY]: {
3819
- default: r.colors.primary[950],
3820
- hover: r.colors.primary[900],
3821
- active: r.colors.primary[900],
3822
- focus: r.colors.primary[900],
3823
- focusVisible: r.colors.primary[900],
3824
- disabled: r.colors.gray[900],
3825
- selected: r.colors.primary[950]
3826
- },
3827
- [x.DANGER]: {
3828
- default: r.colors.red[950],
3829
- hover: r.colors.red[900],
3830
- active: r.colors.red[900],
3831
- focus: r.colors.red[900],
3832
- focusVisible: r.colors.red[900],
3833
- disabled: r.colors.gray[900],
3834
- selected: r.colors.red[950]
3835
- }
3836
- }
3837
- },
3838
- text: {
3839
- fontSize: r.font.size.body.md.fontSize,
3840
- fontWeight: r.font.weight[500],
3841
- lineHeight: r.font.lineHeight[16],
3842
- color: {
3843
- [m.DEFAULT]: {
3844
- default: r.colors.gray[200],
3845
- hover: r.colors.gray[200],
3846
- active: r.colors.gray[200],
3847
- focus: r.colors.gray[200],
3848
- focusVisible: r.colors.gray[200],
3849
- disabled: r.colors.gray[500],
3850
- selected: r.colors.gray[200]
3851
- },
3852
- [m.ACTION]: {
3853
- [x.PRIMARY]: {
3854
- default: r.colors.primary[300],
3855
- hover: r.colors.primary[300],
3856
- active: r.colors.primary[300],
3857
- focus: r.colors.primary[300],
3858
- focusVisible: r.colors.primary[300],
3859
- disabled: r.colors.gray[500],
3860
- selected: r.colors.primary[300]
3861
- },
3862
- [x.DANGER]: {
3863
- default: r.colors.red[400],
3864
- hover: r.colors.red[400],
3865
- active: r.colors.red[400],
3866
- focus: r.colors.red[400],
3867
- focusVisible: r.colors.red[400],
3868
- disabled: r.colors.red[600],
3869
- selected: r.colors.red[400]
3870
- }
3871
- }
3872
- },
3873
- subText: {
3874
- fontSize: r.font.size.body.sm.fontSize,
3875
- fontWeight: r.font.weight[400],
3876
- lineHeight: r.font.lineHeight[14],
3877
- color: {
3878
- [m.DEFAULT]: {
3879
- default: r.colors.gray[400],
3880
- hover: r.colors.gray[400],
3881
- active: r.colors.gray[400],
3882
- focus: r.colors.gray[400],
3883
- focusVisible: r.colors.gray[400],
3884
- disabled: r.colors.gray[500],
3885
- selected: r.colors.gray[400]
3886
- },
3887
- [m.ACTION]: {
3888
- [x.PRIMARY]: {
3889
- default: r.colors.primary[400],
3890
- hover: r.colors.primary[400],
3891
- active: r.colors.primary[400],
3892
- focus: r.colors.primary[400],
3893
- focusVisible: r.colors.primary[400],
3894
- disabled: r.colors.gray[500],
3895
- selected: r.colors.primary[400]
3896
- },
3897
- [x.DANGER]: {
3898
- default: r.colors.red[400],
3899
- hover: r.colors.red[400],
3900
- active: r.colors.red[400],
3901
- focus: r.colors.red[400],
3902
- focusVisible: r.colors.red[400],
3903
- disabled: r.colors.red[500],
3904
- selected: r.colors.red[400]
3905
- }
3906
- }
3907
- }
3908
- },
3909
- leftSlot: {
3910
- maxWidth: r.unit[16],
3911
- maxHeight: r.unit[16]
3912
- },
3913
- rightChevron: {
3914
- color: r.colors.gray[500],
3915
- width: r.unit[16]
3916
- }
3917
- }
3918
- }
3919
- },
3920
- separator: {
3921
- color: r.colors.gray[700],
3922
- height: r.unit[1],
3923
- marginTop: r.unit[6],
3924
- marginRight: r.unit[0],
3925
- marginBottom: r.unit[6],
3926
- marginLeft: r.unit[0]
3927
- }
3928
- },
3929
- lg: {
3930
- backgroundColor: r.colors.gray[900],
3931
- border: `1px solid ${r.colors.gray[700]}`,
3932
- borderRadius: r.unit[8],
3933
- boxShadow: r.shadows.md,
3934
- zIndex: r.zIndex[101],
3935
- minWidth: 200,
3936
- maxWidth: 280,
3937
- paddingTop: r.unit[6],
3938
- paddingRight: r.unit[6],
3939
- paddingBottom: r.unit[6],
3940
- paddingLeft: r.unit[6],
3941
- searchIcon: {
3942
- width: r.unit[16]
3943
- },
3944
- group: {
3945
- label: {
3946
- fontSize: r.font.size.body.sm.fontSize,
3947
- fontWeight: r.font.weight[400],
3948
- lineHeight: r.font.lineHeight[14],
3949
- color: r.colors.gray[500],
3950
- paddingTop: r.unit[6],
3951
- paddingRight: r.unit[8],
3952
- paddingBottom: r.unit[6],
3953
- paddingLeft: r.unit[8],
3954
- marginTop: r.unit[0],
3955
- marginRight: r.unit[6],
3956
- marginBottom: r.unit[0],
3957
- marginLeft: r.unit[6]
3958
- },
3959
- item: {
3960
- paddingTop: r.unit[8],
3961
- paddingRight: r.unit[8],
3962
- paddingBottom: r.unit[8],
3963
- paddingLeft: r.unit[8],
3964
- marginTop: r.unit[0],
3965
- marginRight: r.unit[4],
3966
- marginBottom: r.unit[0],
3967
- marginLeft: r.unit[4],
3968
- borderRadius: r.unit[4],
3969
- gap: r.unit[4],
3970
- backgroundColor: {
3971
- [m.DEFAULT]: {
3972
- default: r.colors.gray[900],
3973
- hover: r.colors.gray[800],
3974
- active: r.colors.gray[800],
3975
- focus: r.colors.gray[800],
3976
- focusVisible: r.colors.gray[800],
3977
- disabled: r.colors.gray[900],
3978
- selected: r.colors.gray[900]
3979
- },
3980
- [m.ACTION]: {
3981
- [x.PRIMARY]: {
3982
- default: r.colors.primary[950],
3983
- hover: r.colors.primary[900],
3984
- active: r.colors.primary[900],
3985
- focus: r.colors.primary[900],
3986
- focusVisible: r.colors.primary[900],
3987
- disabled: r.colors.gray[900],
3988
- selected: r.colors.primary[950]
3989
- },
3990
- [x.DANGER]: {
3991
- default: r.colors.red[950],
3992
- hover: r.colors.red[900],
3993
- active: r.colors.red[900],
3994
- focus: r.colors.red[900],
3995
- focusVisible: r.colors.red[900],
3996
- disabled: r.colors.gray[900],
3997
- selected: r.colors.red[950]
3998
- }
3999
- }
4000
- },
4001
- text: {
4002
- fontSize: r.font.size.body.md.fontSize,
4003
- fontWeight: r.font.weight[500],
4004
- lineHeight: r.font.lineHeight[16],
4005
- color: {
4006
- [m.DEFAULT]: {
4007
- default: r.colors.gray[200],
4008
- hover: r.colors.gray[200],
4009
- active: r.colors.gray[200],
4010
- focus: r.colors.gray[200],
4011
- focusVisible: r.colors.gray[200],
4012
- disabled: r.colors.gray[500],
4013
- selected: r.colors.gray[200]
4014
- },
4015
- [m.ACTION]: {
4016
- [x.PRIMARY]: {
4017
- default: r.colors.primary[300],
4018
- hover: r.colors.primary[300],
4019
- active: r.colors.primary[300],
4020
- focus: r.colors.primary[300],
4021
- focusVisible: r.colors.primary[300],
4022
- disabled: r.colors.gray[500],
4023
- selected: r.colors.primary[300]
4024
- },
4025
- [x.DANGER]: {
4026
- default: r.colors.red[400],
4027
- hover: r.colors.red[400],
4028
- active: r.colors.red[400],
4029
- focus: r.colors.red[400],
4030
- focusVisible: r.colors.red[400],
4031
- disabled: r.colors.red[600],
4032
- selected: r.colors.red[400]
4033
- }
4034
- }
4035
- },
4036
- subText: {
4037
- fontSize: r.font.size.body.sm.fontSize,
4038
- fontWeight: r.font.weight[400],
4039
- lineHeight: r.font.lineHeight[14],
4040
- color: {
4041
- [m.DEFAULT]: {
4042
- default: r.colors.gray[400],
4043
- hover: r.colors.gray[400],
4044
- active: r.colors.gray[400],
4045
- focus: r.colors.gray[400],
4046
- focusVisible: r.colors.gray[400],
4047
- disabled: r.colors.gray[500],
4048
- selected: r.colors.gray[400]
4049
- },
4050
- [m.ACTION]: {
4051
- [x.PRIMARY]: {
4052
- default: r.colors.primary[400],
4053
- hover: r.colors.primary[400],
4054
- active: r.colors.primary[400],
4055
- focus: r.colors.primary[400],
4056
- focusVisible: r.colors.primary[400],
4057
- disabled: r.colors.gray[500],
4058
- selected: r.colors.primary[400]
4059
- },
4060
- [x.DANGER]: {
4061
- default: r.colors.red[400],
4062
- hover: r.colors.red[400],
4063
- active: r.colors.red[400],
4064
- focus: r.colors.red[400],
4065
- focusVisible: r.colors.red[400],
4066
- disabled: r.colors.red[500],
4067
- selected: r.colors.red[400]
4068
- }
4069
- }
4070
- }
4071
- },
4072
- leftSlot: {
4073
- maxWidth: r.unit[16],
4074
- maxHeight: r.unit[16]
4075
- },
4076
- rightChevron: {
4077
- color: r.colors.gray[500],
4078
- width: r.unit[16]
4079
- }
4080
- }
4081
- }
4082
- },
4083
- separator: {
4084
- color: r.colors.gray[700],
4085
- height: r.unit[1],
4086
- marginTop: r.unit[6],
4087
- marginRight: r.unit[0],
4088
- marginBottom: r.unit[6],
4089
- marginLeft: r.unit[0]
4090
- }
4091
- }
4092
- }), Vr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? F(r) : M(r), qr = (r) => ({
4093
- sm: {
4094
- // Base sidebar properties
4095
- maxWidth: {
4096
- withLeftPanel: "300px",
4097
- withoutLeftPanel: "250px",
4098
- iconOnly: r.unit[52]
4099
- },
4100
- // State-dependent base properties
4101
- backgroundColor: r.colors.gray[25],
4102
- borderRight: `1px solid ${r.colors.gray[200]}`,
4103
- // Left Panel section (tenant switching panel)
4104
- leftPanel: {
4105
- width: "52px",
4106
- backgroundColor: r.colors.gray[25],
4107
- borderRight: `1px solid ${r.colors.gray[200]}`,
4108
- padding: {
4109
- x: r.unit[10],
4110
- y: r.unit[10]
4111
- },
4112
- gap: r.unit[16],
4113
- // Tenant selection items
4114
- item: {
4115
- width: r.unit[32],
4116
- borderRadius: r.border.radius[4],
4117
- // State-based tenant item styling
4118
- border: {
4119
- default: `1px solid ${r.colors.gray[150]}`,
4120
- hover: `1px solid ${r.colors.gray[200]}`,
4121
- active: `1px solid ${r.colors.primary[500]}`
4122
- },
4123
- backgroundColor: {
4124
- default: "transparent",
4125
- hover: r.colors.gray[50],
4126
- active: "transparent"
4127
- }
3654
+ attentive: {
3655
+ neutral: r.colors.gray[100],
3656
+ primary: r.colors.primary[500],
3657
+ success: r.colors.green[500],
3658
+ error: r.colors.red[500],
3659
+ warning: r.colors.orange[500],
3660
+ purple: r.colors.purple[500]
3661
+ },
3662
+ subtle: {
3663
+ neutral: r.colors.gray[800],
3664
+ primary: r.colors.primary[950],
3665
+ success: r.colors.green[950],
3666
+ error: r.colors.red[950],
3667
+ warning: r.colors.orange[950],
3668
+ purple: r.colors.purple[950]
4128
3669
  }
4129
3670
  },
4130
- // Header section (contains toggle button and top content)
4131
- header: {
4132
- backgroundColor: r.colors.gray[25],
4133
- padding: {
4134
- x: r.unit[8],
4135
- y: r.unit[12.5]
3671
+ borderRadius: {
3672
+ xs: {
3673
+ squarical: r.border.radius[6],
3674
+ rounded: r.border.radius.full
4136
3675
  },
4137
- gap: r.unit[12],
4138
- borderBottom: `1px solid ${r.colors.gray[200]}`,
4139
- // Toggle button for expand/collapse
4140
- toggleButton: {
4141
- backgroundColor: {
4142
- default: "transparent",
4143
- hover: r.colors.gray[100],
4144
- active: r.colors.gray[100]
4145
- },
4146
- width: r.unit[16]
3676
+ sm: {
3677
+ squarical: r.border.radius[6],
3678
+ rounded: r.border.radius.full
3679
+ },
3680
+ md: {
3681
+ squarical: r.border.radius[6],
3682
+ rounded: r.border.radius.full
3683
+ },
3684
+ lg: {
3685
+ squarical: r.border.radius[8],
3686
+ rounded: r.border.radius.full
4147
3687
  }
4148
3688
  },
4149
- directory: {
4150
- gap: r.unit[24],
4151
- paddingX: r.unit[12],
4152
- paddingY: r.unit[12]
3689
+ height: {
3690
+ xs: `${r.unit[20]}`,
3691
+ sm: `${r.unit[22]}`,
3692
+ md: `${r.unit[24]}`,
3693
+ lg: `${r.unit[28]}`
4153
3694
  },
4154
- // Footer section (bottom actions and info)
4155
- footer: {
4156
- backgroundColor: r.colors.gray[25],
4157
- padding: {
4158
- x: r.unit[8],
4159
- y: r.unit[12]
3695
+ padding: {
3696
+ top: {
3697
+ xs: `${r.unit[2]}`,
3698
+ sm: `${r.unit[3]}`,
3699
+ md: `${r.unit[4]}`,
3700
+ lg: `${r.unit[6]}`
4160
3701
  },
4161
- borderTop: `1px solid ${r.colors.gray[200]}`
4162
- }
4163
- },
4164
- lg: {
4165
- // Base sidebar properties
4166
- maxWidth: {
4167
- withLeftPanel: "320px",
4168
- withoutLeftPanel: "270px",
4169
- iconOnly: r.unit[52]
4170
- },
4171
- // State-dependent base properties
4172
- backgroundColor: r.colors.gray[25],
4173
- borderRight: `1px solid ${r.colors.gray[200]}`,
4174
- // Left Panel section (tenant switching panel)
4175
- leftPanel: {
4176
- width: "52px",
4177
- backgroundColor: r.colors.gray[25],
4178
- borderRight: `1px solid ${r.colors.gray[200]}`,
4179
- padding: {
4180
- x: r.unit[12],
4181
- y: r.unit[12]
3702
+ right: {
3703
+ xs: `${r.unit[6]}`,
3704
+ sm: `${r.unit[8]}`,
3705
+ md: `${r.unit[10]}`,
3706
+ lg: `${r.unit[12]}`
4182
3707
  },
4183
- gap: r.unit[16],
4184
- // Tenant selection items
4185
- item: {
4186
- width: r.unit[32],
4187
- borderRadius: r.border.radius[6],
4188
- // State-based tenant item styling
4189
- border: {
4190
- default: `1px solid ${r.colors.gray[150]}`,
4191
- hover: `1px solid ${r.colors.gray[200]}`,
4192
- active: `1px solid ${r.colors.primary[500]}`
4193
- },
4194
- backgroundColor: {
4195
- default: "transparent",
4196
- hover: r.colors.gray[50],
4197
- active: "transparent"
4198
- }
3708
+ bottom: {
3709
+ xs: `${r.unit[2]}`,
3710
+ sm: `${r.unit[3]}`,
3711
+ md: `${r.unit[4]}`,
3712
+ lg: `${r.unit[6]}`
3713
+ },
3714
+ left: {
3715
+ xs: `${r.unit[6]}`,
3716
+ sm: `${r.unit[8]}`,
3717
+ md: `${r.unit[10]}`,
3718
+ lg: `${r.unit[12]}`
4199
3719
  }
4200
3720
  },
4201
- // Header section (contains toggle button and top content)
4202
- header: {
4203
- backgroundColor: r.colors.gray[25],
4204
- padding: {
4205
- x: r.unit[12],
4206
- y: r.unit[6]
3721
+ border: {
3722
+ noFill: {
3723
+ neutral: `1px solid ${r.colors.gray[100]}`,
3724
+ primary: `1px solid ${r.colors.primary[400]}`,
3725
+ success: `1px solid ${r.colors.green[500]}`,
3726
+ error: `1px solid ${r.colors.red[500]}`,
3727
+ warning: `1px solid ${r.colors.orange[400]}`,
3728
+ purple: `1px solid ${r.colors.purple[400]}`
4207
3729
  },
4208
- gap: r.unit[16],
4209
- borderBottom: `1px solid ${r.colors.gray[200]}`,
4210
- // Toggle button for expand/collapse
4211
- toggleButton: {
4212
- backgroundColor: {
4213
- default: "transparent",
4214
- hover: r.colors.gray[100],
4215
- active: r.colors.gray[100]
4216
- },
4217
- width: r.unit[16]
3730
+ subtle: {
3731
+ neutral: `1px solid ${r.colors.gray[700]}`,
3732
+ primary: `1px solid ${r.colors.primary[800]}`,
3733
+ success: `1px solid ${r.colors.green[800]}`,
3734
+ error: `1px solid ${r.colors.red[800]}`,
3735
+ warning: `1px solid ${r.colors.orange[800]}`,
3736
+ purple: `1px solid ${r.colors.purple[800]}`
3737
+ },
3738
+ attentive: {
3739
+ neutral: `1px solid ${r.colors.gray[100]}`,
3740
+ primary: `1px solid ${r.colors.primary[400]}`,
3741
+ success: `1px solid ${r.colors.green[500]}`,
3742
+ error: `1px solid ${r.colors.red[500]}`,
3743
+ warning: `1px solid ${r.colors.orange[400]}`,
3744
+ purple: `1px solid ${r.colors.purple[400]}`
4218
3745
  }
4219
3746
  },
4220
- directory: {
4221
- gap: r.unit[24],
4222
- paddingX: r.unit[12],
4223
- paddingY: r.unit[12]
4224
- },
4225
- // Footer section (bottom actions and info)
4226
- footer: {
4227
- backgroundColor: r.colors.gray[25],
4228
- padding: {
4229
- x: r.unit[12],
4230
- y: r.unit[16]
4231
- },
4232
- borderTop: `1px solid ${r.colors.gray[200]}`
4233
- }
4234
- }
4235
- }), Kr = (r) => {
4236
- const c = {
4237
- backgroundColor: r.colors.gray[0],
4238
- drawer: {
4239
- borderRadius: r.border.radius[24],
4240
- borderTop: `1px solid ${r.colors.gray[200]}`
3747
+ leftSlot: {
3748
+ maxHeight: {
3749
+ xs: `${r.unit[12]}`,
3750
+ sm: `${r.unit[12]}`,
3751
+ md: `${r.unit[12]}`,
3752
+ lg: `${r.unit[12]}`
3753
+ }
4241
3754
  },
4242
- padding: {
4243
- x: r.unit[24],
4244
- y: r.unit[4]
3755
+ rightSlot: {
3756
+ maxHeight: {
3757
+ xs: `${r.unit[12]}`,
3758
+ sm: `${r.unit[12]}`,
3759
+ md: `${r.unit[12]}`,
3760
+ lg: `${r.unit[12]}`
3761
+ }
4245
3762
  },
4246
- gap: r.unit[12],
4247
- row: {
4248
- padding: {
4249
- x: r.unit[0],
4250
- y: r.unit[12]
4251
- },
4252
- gap: r.unit[10],
4253
- item: {
4254
- width: r.unit[56],
4255
- height: r.unit[48],
4256
- borderRadius: r.border.radius[24],
4257
- gap: r.unit[4],
4258
- backgroundColor: {
4259
- default: "transparent",
4260
- active: "transparent"
4261
- },
4262
- color: {
4263
- default: r.colors.gray[400],
4264
- active: r.colors.gray[800]
3763
+ text: {
3764
+ color: {
3765
+ noFill: {
3766
+ neutral: r.colors.gray[100],
3767
+ primary: r.colors.primary[400],
3768
+ success: r.colors.green[400],
3769
+ error: r.colors.red[400],
3770
+ warning: r.colors.orange[400],
3771
+ purple: r.colors.purple[400]
4265
3772
  },
4266
- fontWeight: r.font.weight[500],
4267
- icon: {
4268
- width: r.unit[20],
4269
- height: r.unit[20],
4270
- borderRadius: r.border.radius[12],
4271
- transition: "color 0.2s ease"
3773
+ attentive: {
3774
+ neutral: r.colors.gray[950],
3775
+ primary: r.colors.gray[0],
3776
+ success: r.colors.gray[0],
3777
+ error: r.colors.gray[0],
3778
+ warning: r.colors.gray[0],
3779
+ purple: r.colors.gray[0]
4272
3780
  },
4273
- text: {
4274
- fontSize: r.font.size.body.sm.fontSize,
4275
- fontWeight: r.font.weight[400],
4276
- textAlign: "center"
4277
- }
4278
- },
4279
- primaryAction: {
4280
- width: r.unit[48],
4281
- height: r.unit[48],
4282
- borderRadius: r.border.radius[28],
4283
- background: `linear-gradient(135deg, ${r.colors.primary[400]} 0%, ${r.colors.primary[600]} 100%)`,
4284
- boxShadow: r.shadows["2xl"],
4285
- color: r.colors.gray[0],
4286
- icon: {
4287
- width: "24px",
4288
- height: "24px"
3781
+ subtle: {
3782
+ neutral: r.colors.gray[100],
3783
+ primary: r.colors.primary[400],
3784
+ success: r.colors.green[400],
3785
+ error: r.colors.red[400],
3786
+ warning: r.colors.orange[400],
3787
+ purple: r.colors.purple[400]
4289
3788
  }
3789
+ },
3790
+ fontSize: {
3791
+ xs: r.font.fontSize[12],
3792
+ sm: r.font.fontSize[12],
3793
+ md: r.font.fontSize[14],
3794
+ lg: r.font.fontSize[14]
3795
+ },
3796
+ fontWeight: {
3797
+ xs: r.font.weight[600],
3798
+ sm: r.font.weight[600],
3799
+ md: r.font.weight[600],
3800
+ lg: r.font.weight[600]
3801
+ },
3802
+ lineHeight: {
3803
+ xs: r.font.lineHeight[18],
3804
+ sm: r.font.lineHeight[18],
3805
+ md: r.font.lineHeight[20],
3806
+ lg: r.font.lineHeight[20]
4290
3807
  }
4291
3808
  }
4292
- };
4293
- return {
4294
- sm: c,
4295
- lg: c
4296
- };
4297
- }, U = (r) => ({
4298
- sm: {
3809
+ },
3810
+ lg: {
4299
3811
  gap: r.unit[6],
4300
3812
  backgroundColor: {
4301
3813
  noFill: {
@@ -4349,38 +3861,38 @@ const M = (r) => ({
4349
3861
  },
4350
3862
  padding: {
4351
3863
  top: {
4352
- xs: `${r.unit[2]}`,
4353
- sm: `${r.unit[3]}`,
4354
- md: `${r.unit[4]}`,
4355
- lg: `${r.unit[6]}`
3864
+ xs: `${r.unit[2]} `,
3865
+ sm: `${r.unit[3]} `,
3866
+ md: `${r.unit[4]} `,
3867
+ lg: `${r.unit[6]} `
4356
3868
  },
4357
3869
  right: {
4358
3870
  xs: `${r.unit[6]}`,
4359
- sm: `${r.unit[8]}`,
3871
+ sm: ` ${r.unit[8]}`,
4360
3872
  md: `${r.unit[10]}`,
4361
3873
  lg: `${r.unit[12]}`
4362
3874
  },
4363
3875
  bottom: {
4364
- xs: `${r.unit[2]}`,
4365
- sm: `${r.unit[3]}`,
4366
- md: `${r.unit[4]}`,
4367
- lg: `${r.unit[6]}`
3876
+ xs: `${r.unit[2]} `,
3877
+ sm: `${r.unit[3]} `,
3878
+ md: `${r.unit[4]} `,
3879
+ lg: `${r.unit[6]} `
4368
3880
  },
4369
3881
  left: {
4370
- xs: `${r.unit[6]}`,
4371
- sm: `${r.unit[8]}`,
4372
- md: `${r.unit[10]}`,
4373
- lg: `${r.unit[12]}`
3882
+ xs: ` ${r.unit[6]}`,
3883
+ sm: ` ${r.unit[8]}`,
3884
+ md: ` ${r.unit[10]}`,
3885
+ lg: ` ${r.unit[12]}`
4374
3886
  }
4375
3887
  },
4376
3888
  border: {
4377
3889
  noFill: {
4378
- neutral: `1px solid ${r.colors.gray[100]}`,
4379
- primary: `1px solid ${r.colors.primary[400]}`,
3890
+ neutral: `1px solid ${r.colors.gray[700]}`,
3891
+ primary: `1px solid ${r.colors.primary[500]}`,
4380
3892
  success: `1px solid ${r.colors.green[500]}`,
4381
3893
  error: `1px solid ${r.colors.red[500]}`,
4382
- warning: `1px solid ${r.colors.orange[400]}`,
4383
- purple: `1px solid ${r.colors.purple[400]}`
3894
+ warning: `1px solid ${r.colors.orange[500]}`,
3895
+ purple: `1px solid ${r.colors.purple[500]}`
4384
3896
  },
4385
3897
  subtle: {
4386
3898
  neutral: `1px solid ${r.colors.gray[700]}`,
@@ -4392,11 +3904,11 @@ const M = (r) => ({
4392
3904
  },
4393
3905
  attentive: {
4394
3906
  neutral: `1px solid ${r.colors.gray[100]}`,
4395
- primary: `1px solid ${r.colors.primary[400]}`,
3907
+ primary: `1px solid ${r.colors.primary[500]}`,
4396
3908
  success: `1px solid ${r.colors.green[500]}`,
4397
3909
  error: `1px solid ${r.colors.red[500]}`,
4398
- warning: `1px solid ${r.colors.orange[400]}`,
4399
- purple: `1px solid ${r.colors.purple[400]}`
3910
+ warning: `1px solid ${r.colors.orange[500]}`,
3911
+ purple: `1px solid ${r.colors.purple[500]}`
4400
3912
  }
4401
3913
  },
4402
3914
  leftSlot: {
@@ -4461,33 +3973,201 @@ const M = (r) => ({
4461
3973
  lg: r.font.lineHeight[20]
4462
3974
  }
4463
3975
  }
3976
+ }
3977
+ }), B = (r) => ({
3978
+ sm: {
3979
+ gap: r.unit[6],
3980
+ backgroundColor: {
3981
+ noFill: {
3982
+ neutral: r.colors.gray[0],
3983
+ primary: r.colors.gray[0],
3984
+ success: r.colors.gray[0],
3985
+ error: r.colors.gray[0],
3986
+ warning: r.colors.gray[0],
3987
+ purple: r.colors.gray[0]
3988
+ },
3989
+ attentive: {
3990
+ neutral: r.colors.gray[950],
3991
+ primary: r.colors.primary[600],
3992
+ success: r.colors.green[600],
3993
+ error: r.colors.red[600],
3994
+ warning: r.colors.orange[500],
3995
+ purple: r.colors.purple[500]
3996
+ },
3997
+ subtle: {
3998
+ neutral: r.colors.gray[50],
3999
+ primary: r.colors.primary[50],
4000
+ success: r.colors.green[50],
4001
+ error: r.colors.red[50],
4002
+ warning: r.colors.orange[50],
4003
+ purple: r.colors.purple[50]
4004
+ }
4005
+ },
4006
+ borderRadius: {
4007
+ xs: {
4008
+ squarical: r.border.radius[6],
4009
+ rounded: r.border.radius.full
4010
+ },
4011
+ sm: {
4012
+ squarical: r.border.radius[6],
4013
+ rounded: r.border.radius.full
4014
+ },
4015
+ md: {
4016
+ squarical: r.border.radius[6],
4017
+ rounded: r.border.radius.full
4018
+ },
4019
+ lg: {
4020
+ squarical: r.border.radius[8],
4021
+ rounded: r.border.radius.full
4022
+ }
4023
+ },
4024
+ height: {
4025
+ xs: `${r.unit[20]}`,
4026
+ sm: `${r.unit[22]}`,
4027
+ md: `${r.unit[24]}`,
4028
+ lg: `${r.unit[28]}`
4029
+ },
4030
+ padding: {
4031
+ top: {
4032
+ xs: `${r.unit[2]}`,
4033
+ sm: `${r.unit[3]}`,
4034
+ md: `${r.unit[4]}`,
4035
+ lg: `${r.unit[6]}`
4036
+ },
4037
+ right: {
4038
+ xs: `${r.unit[6]}`,
4039
+ sm: `${r.unit[8]}`,
4040
+ md: `${r.unit[10]}`,
4041
+ lg: `${r.unit[12]}`
4042
+ },
4043
+ bottom: {
4044
+ xs: `${r.unit[2]}`,
4045
+ sm: `${r.unit[3]}`,
4046
+ md: `${r.unit[4]}`,
4047
+ lg: `${r.unit[6]}`
4048
+ },
4049
+ left: {
4050
+ xs: `${r.unit[6]}`,
4051
+ sm: `${r.unit[8]}`,
4052
+ md: `${r.unit[10]}`,
4053
+ lg: `${r.unit[12]}`
4054
+ }
4055
+ },
4056
+ border: {
4057
+ noFill: {
4058
+ neutral: `1px solid ${r.colors.gray[950]}`,
4059
+ primary: `1px solid ${r.colors.primary[600]}`,
4060
+ success: `1px solid ${r.colors.green[600]}`,
4061
+ error: `1px solid ${r.colors.red[600]}`,
4062
+ warning: `1px solid ${r.colors.orange[500]}`,
4063
+ purple: `1px solid ${r.colors.purple[500]}`
4064
+ },
4065
+ subtle: {
4066
+ neutral: `1px solid ${r.colors.gray[200]}`,
4067
+ primary: `1px solid ${r.colors.primary[100]}`,
4068
+ success: `1px solid ${r.colors.green[100]}`,
4069
+ error: `1px solid ${r.colors.red[100]}`,
4070
+ warning: `1px solid ${r.colors.orange[100]}`,
4071
+ purple: `1px solid ${r.colors.purple[100]}`
4072
+ },
4073
+ attentive: {
4074
+ neutral: `1px solid ${r.colors.gray[950]}`,
4075
+ primary: `1px solid ${r.colors.primary[600]}`,
4076
+ success: `1px solid ${r.colors.green[600]}`,
4077
+ error: `1px solid ${r.colors.red[600]}`,
4078
+ warning: `1px solid ${r.colors.orange[500]}`,
4079
+ purple: `1px solid ${r.colors.purple[500]}`
4080
+ }
4081
+ },
4082
+ leftSlot: {
4083
+ maxHeight: {
4084
+ xs: `${r.unit[12]}`,
4085
+ sm: `${r.unit[12]}`,
4086
+ md: `${r.unit[12]}`,
4087
+ lg: `${r.unit[12]}`
4088
+ }
4089
+ },
4090
+ rightSlot: {
4091
+ maxHeight: {
4092
+ xs: `${r.unit[12]}`,
4093
+ sm: `${r.unit[12]}`,
4094
+ md: `${r.unit[12]}`,
4095
+ lg: `${r.unit[12]}`
4096
+ }
4097
+ },
4098
+ text: {
4099
+ color: {
4100
+ noFill: {
4101
+ neutral: r.colors.gray[950],
4102
+ primary: r.colors.primary[800],
4103
+ success: r.colors.green[600],
4104
+ error: r.colors.red[600],
4105
+ warning: r.colors.orange[500],
4106
+ purple: r.colors.purple[500]
4107
+ },
4108
+ attentive: {
4109
+ neutral: r.colors.gray[0],
4110
+ primary: r.colors.gray[0],
4111
+ success: r.colors.gray[0],
4112
+ error: r.colors.gray[0],
4113
+ warning: r.colors.gray[0],
4114
+ purple: r.colors.gray[0]
4115
+ },
4116
+ subtle: {
4117
+ neutral: r.colors.gray[950],
4118
+ primary: r.colors.primary[600],
4119
+ success: r.colors.green[600],
4120
+ error: r.colors.red[600],
4121
+ warning: r.colors.orange[600],
4122
+ purple: r.colors.purple[600]
4123
+ }
4124
+ },
4125
+ fontSize: {
4126
+ xs: r.font.fontSize[12],
4127
+ sm: r.font.fontSize[12],
4128
+ md: r.font.fontSize[14],
4129
+ lg: r.font.fontSize[14]
4130
+ },
4131
+ fontWeight: {
4132
+ xs: r.font.weight[500],
4133
+ sm: r.font.weight[500],
4134
+ md: r.font.weight[500],
4135
+ lg: r.font.weight[500]
4136
+ },
4137
+ lineHeight: {
4138
+ xs: r.font.lineHeight[18],
4139
+ sm: r.font.lineHeight[18],
4140
+ md: r.font.lineHeight[20],
4141
+ lg: r.font.lineHeight[20]
4142
+ }
4143
+ }
4464
4144
  },
4465
4145
  lg: {
4466
4146
  gap: r.unit[6],
4467
4147
  backgroundColor: {
4468
4148
  noFill: {
4469
- neutral: "transparent",
4470
- primary: "transparent",
4471
- success: "transparent",
4472
- error: "transparent",
4473
- warning: "transparent",
4474
- purple: "transparent"
4149
+ neutral: r.colors.gray[0],
4150
+ primary: r.colors.gray[0],
4151
+ success: r.colors.gray[0],
4152
+ error: r.colors.gray[0],
4153
+ warning: r.colors.gray[0],
4154
+ purple: r.colors.gray[0]
4475
4155
  },
4476
4156
  attentive: {
4477
- neutral: r.colors.gray[100],
4478
- primary: r.colors.primary[500],
4479
- success: r.colors.green[500],
4480
- error: r.colors.red[500],
4157
+ neutral: r.colors.gray[950],
4158
+ primary: r.colors.primary[600],
4159
+ success: r.colors.green[600],
4160
+ error: r.colors.red[600],
4481
4161
  warning: r.colors.orange[500],
4482
4162
  purple: r.colors.purple[500]
4483
4163
  },
4484
4164
  subtle: {
4485
- neutral: r.colors.gray[800],
4486
- primary: r.colors.primary[950],
4487
- success: r.colors.green[950],
4488
- error: r.colors.red[950],
4489
- warning: r.colors.orange[950],
4490
- purple: r.colors.purple[950]
4165
+ neutral: r.colors.gray[50],
4166
+ primary: r.colors.primary[50],
4167
+ success: r.colors.green[50],
4168
+ error: r.colors.red[50],
4169
+ warning: r.colors.orange[50],
4170
+ purple: r.colors.purple[50]
4491
4171
  }
4492
4172
  },
4493
4173
  borderRadius: {
@@ -4542,26 +4222,26 @@ const M = (r) => ({
4542
4222
  },
4543
4223
  border: {
4544
4224
  noFill: {
4545
- neutral: `1px solid ${r.colors.gray[700]}`,
4546
- primary: `1px solid ${r.colors.primary[500]}`,
4547
- success: `1px solid ${r.colors.green[500]}`,
4548
- error: `1px solid ${r.colors.red[500]}`,
4225
+ neutral: `1px solid ${r.colors.gray[950]}`,
4226
+ primary: `1px solid ${r.colors.primary[600]}`,
4227
+ success: `1px solid ${r.colors.green[600]}`,
4228
+ error: `1px solid ${r.colors.red[600]}`,
4549
4229
  warning: `1px solid ${r.colors.orange[500]}`,
4550
4230
  purple: `1px solid ${r.colors.purple[500]}`
4551
4231
  },
4552
4232
  subtle: {
4553
- neutral: `1px solid ${r.colors.gray[700]}`,
4554
- primary: `1px solid ${r.colors.primary[800]}`,
4555
- success: `1px solid ${r.colors.green[800]}`,
4556
- error: `1px solid ${r.colors.red[800]}`,
4557
- warning: `1px solid ${r.colors.orange[800]}`,
4558
- purple: `1px solid ${r.colors.purple[800]}`
4233
+ neutral: `1px solid ${r.colors.gray[200]}`,
4234
+ primary: `1px solid ${r.colors.primary[100]}`,
4235
+ success: `1px solid ${r.colors.green[100]}`,
4236
+ error: `1px solid ${r.colors.red[100]}`,
4237
+ warning: `1px solid ${r.colors.orange[100]}`,
4238
+ purple: `1px solid ${r.colors.purple[100]}`
4559
4239
  },
4560
4240
  attentive: {
4561
- neutral: `1px solid ${r.colors.gray[100]}`,
4562
- primary: `1px solid ${r.colors.primary[500]}`,
4563
- success: `1px solid ${r.colors.green[500]}`,
4564
- error: `1px solid ${r.colors.red[500]}`,
4241
+ neutral: `1px solid ${r.colors.gray[950]}`,
4242
+ primary: `1px solid ${r.colors.primary[600]}`,
4243
+ success: `1px solid ${r.colors.green[600]}`,
4244
+ error: `1px solid ${r.colors.red[600]}`,
4565
4245
  warning: `1px solid ${r.colors.orange[500]}`,
4566
4246
  purple: `1px solid ${r.colors.purple[500]}`
4567
4247
  }
@@ -4585,15 +4265,15 @@ const M = (r) => ({
4585
4265
  text: {
4586
4266
  color: {
4587
4267
  noFill: {
4588
- neutral: r.colors.gray[100],
4589
- primary: r.colors.primary[400],
4590
- success: r.colors.green[400],
4591
- error: r.colors.red[400],
4592
- warning: r.colors.orange[400],
4593
- purple: r.colors.purple[400]
4268
+ neutral: r.colors.gray[950],
4269
+ primary: r.colors.primary[800],
4270
+ success: r.colors.green[600],
4271
+ error: r.colors.red[600],
4272
+ warning: r.colors.orange[500],
4273
+ purple: r.colors.purple[500]
4594
4274
  },
4595
4275
  attentive: {
4596
- neutral: r.colors.gray[950],
4276
+ neutral: r.colors.gray[0],
4597
4277
  primary: r.colors.gray[0],
4598
4278
  success: r.colors.gray[0],
4599
4279
  error: r.colors.gray[0],
@@ -4601,12 +4281,12 @@ const M = (r) => ({
4601
4281
  purple: r.colors.gray[0]
4602
4282
  },
4603
4283
  subtle: {
4604
- neutral: r.colors.gray[100],
4605
- primary: r.colors.primary[400],
4606
- success: r.colors.green[400],
4607
- error: r.colors.red[400],
4608
- warning: r.colors.orange[400],
4609
- purple: r.colors.purple[400]
4284
+ neutral: r.colors.gray[950],
4285
+ primary: r.colors.primary[600],
4286
+ success: r.colors.green[600],
4287
+ error: r.colors.red[600],
4288
+ warning: r.colors.orange[600],
4289
+ purple: r.colors.purple[600]
4610
4290
  }
4611
4291
  },
4612
4292
  fontSize: {
@@ -4616,10 +4296,10 @@ const M = (r) => ({
4616
4296
  lg: r.font.fontSize[14]
4617
4297
  },
4618
4298
  fontWeight: {
4619
- xs: r.font.weight[600],
4620
- sm: r.font.weight[600],
4621
- md: r.font.weight[600],
4622
- lg: r.font.weight[600]
4299
+ xs: r.font.weight[500],
4300
+ sm: r.font.weight[500],
4301
+ md: r.font.weight[500],
4302
+ lg: r.font.weight[500]
4623
4303
  },
4624
4304
  lineHeight: {
4625
4305
  xs: r.font.lineHeight[18],
@@ -4629,342 +4309,663 @@ const M = (r) => ({
4629
4309
  }
4630
4310
  }
4631
4311
  }
4632
- }), X = (r) => ({
4312
+ }), Yr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? G(r) : B(r);
4313
+ var M = /* @__PURE__ */ ((r) => (r.START = "start", r.CENTER = "center", r.END = "end", r))(M || {}), F = /* @__PURE__ */ ((r) => (r.TOP = "top", r.LEFT = "left", r.RIGHT = "right", r.BOTTOM = "bottom", r))(F || {}), m = /* @__PURE__ */ ((r) => (r.DEFAULT = "default", r.ACTION = "action", r))(m || {}), x = /* @__PURE__ */ ((r) => (r.PRIMARY = "primary", r.DANGER = "danger", r))(x || {});
4314
+ const U = (r) => ({
4633
4315
  sm: {
4634
- gap: r.unit[6],
4635
- backgroundColor: {
4636
- noFill: {
4637
- neutral: r.colors.gray[0],
4638
- primary: r.colors.gray[0],
4639
- success: r.colors.gray[0],
4640
- error: r.colors.gray[0],
4641
- warning: r.colors.gray[0],
4642
- purple: r.colors.gray[0]
4643
- },
4644
- attentive: {
4645
- neutral: r.colors.gray[950],
4646
- primary: r.colors.primary[600],
4647
- success: r.colors.green[600],
4648
- error: r.colors.red[600],
4649
- warning: r.colors.orange[500],
4650
- purple: r.colors.purple[500]
4651
- },
4652
- subtle: {
4653
- neutral: r.colors.gray[50],
4654
- primary: r.colors.primary[50],
4655
- success: r.colors.green[50],
4656
- error: r.colors.red[50],
4657
- warning: r.colors.orange[50],
4658
- purple: r.colors.purple[50]
4659
- }
4316
+ backgroundColor: r.colors.gray[0],
4317
+ border: `1px solid ${r.colors.gray[200]}`,
4318
+ borderRadius: r.unit[8],
4319
+ boxShadow: r.shadows.sm,
4320
+ zIndex: r.zIndex[101],
4321
+ minWidth: 200,
4322
+ maxWidth: 280,
4323
+ paddingTop: r.unit[6],
4324
+ paddingRight: r.unit[6],
4325
+ paddingBottom: r.unit[6],
4326
+ paddingLeft: r.unit[6],
4327
+ searchIcon: {
4328
+ width: r.unit[16]
4660
4329
  },
4661
- borderRadius: {
4662
- xs: {
4663
- squarical: r.border.radius[6],
4664
- rounded: r.border.radius.full
4665
- },
4666
- sm: {
4667
- squarical: r.border.radius[6],
4668
- rounded: r.border.radius.full
4669
- },
4670
- md: {
4671
- squarical: r.border.radius[6],
4672
- rounded: r.border.radius.full
4330
+ group: {
4331
+ label: {
4332
+ fontSize: r.font.size.body.sm.fontSize,
4333
+ fontWeight: r.font.weight[400],
4334
+ lineHeight: r.font.lineHeight[14],
4335
+ color: r.colors.gray[400],
4336
+ paddingTop: r.unit[6],
4337
+ paddingRight: r.unit[8],
4338
+ paddingBottom: r.unit[6],
4339
+ paddingLeft: r.unit[8],
4340
+ marginTop: r.unit[0],
4341
+ marginRight: r.unit[6],
4342
+ marginBottom: r.unit[0],
4343
+ marginLeft: r.unit[6]
4673
4344
  },
4674
- lg: {
4675
- squarical: r.border.radius[8],
4676
- rounded: r.border.radius.full
4345
+ item: {
4346
+ paddingTop: r.unit[8],
4347
+ paddingRight: r.unit[8],
4348
+ paddingBottom: r.unit[8],
4349
+ paddingLeft: r.unit[8],
4350
+ marginTop: r.unit[0],
4351
+ marginRight: r.unit[4],
4352
+ marginBottom: r.unit[0],
4353
+ marginLeft: r.unit[4],
4354
+ borderRadius: r.unit[4],
4355
+ gap: r.unit[4],
4356
+ backgroundColor: {
4357
+ [m.DEFAULT]: {
4358
+ default: r.colors.gray[0],
4359
+ hover: r.colors.gray[50],
4360
+ active: r.colors.gray[50],
4361
+ focus: r.colors.gray[50],
4362
+ focusVisible: r.colors.gray[50],
4363
+ disabled: r.colors.gray[0],
4364
+ selected: r.colors.gray[0]
4365
+ },
4366
+ [m.ACTION]: {
4367
+ [x.PRIMARY]: {
4368
+ default: r.colors.primary[50],
4369
+ hover: r.colors.primary[100],
4370
+ active: r.colors.primary[50],
4371
+ focus: r.colors.primary[100],
4372
+ focusVisible: r.colors.primary[100],
4373
+ disabled: r.colors.gray[0],
4374
+ selected: r.colors.primary[50]
4375
+ },
4376
+ [x.DANGER]: {
4377
+ default: r.colors.red[50],
4378
+ hover: r.colors.red[100],
4379
+ active: r.colors.red[100],
4380
+ focus: r.colors.red[100],
4381
+ focusVisible: r.colors.red[100],
4382
+ disabled: r.colors.gray[0],
4383
+ selected: r.colors.red[50]
4384
+ }
4385
+ }
4386
+ },
4387
+ text: {
4388
+ fontSize: r.font.size.body.md.fontSize,
4389
+ fontWeight: r.font.weight[500],
4390
+ lineHeight: r.font.lineHeight[16],
4391
+ color: {
4392
+ [m.DEFAULT]: {
4393
+ default: r.colors.gray[600],
4394
+ hover: r.colors.gray[600],
4395
+ active: r.colors.gray[600],
4396
+ focus: r.colors.gray[600],
4397
+ focusVisible: r.colors.gray[600],
4398
+ disabled: r.colors.gray[400],
4399
+ selected: r.colors.gray[600]
4400
+ },
4401
+ [m.ACTION]: {
4402
+ [x.PRIMARY]: {
4403
+ default: r.colors.primary[600],
4404
+ hover: r.colors.primary[600],
4405
+ active: r.colors.primary[600],
4406
+ focus: r.colors.primary[600],
4407
+ focusVisible: r.colors.primary[600],
4408
+ disabled: r.colors.gray[400],
4409
+ selected: r.colors.primary[600]
4410
+ },
4411
+ [x.DANGER]: {
4412
+ default: r.colors.red[600],
4413
+ hover: r.colors.red[600],
4414
+ active: r.colors.red[600],
4415
+ focus: r.colors.red[600],
4416
+ focusVisible: r.colors.red[600],
4417
+ disabled: r.colors.red[400],
4418
+ selected: r.colors.red[600]
4419
+ }
4420
+ }
4421
+ },
4422
+ subText: {
4423
+ fontSize: r.font.size.body.sm.fontSize,
4424
+ fontWeight: r.font.weight[400],
4425
+ lineHeight: r.font.lineHeight[14],
4426
+ color: {
4427
+ [m.DEFAULT]: {
4428
+ default: r.colors.gray[400],
4429
+ hover: r.colors.gray[400],
4430
+ active: r.colors.gray[400],
4431
+ focus: r.colors.gray[400],
4432
+ focusVisible: r.colors.gray[400],
4433
+ disabled: r.colors.gray[400],
4434
+ selected: r.colors.gray[400]
4435
+ },
4436
+ [m.ACTION]: {
4437
+ [x.PRIMARY]: {
4438
+ default: r.colors.primary[400],
4439
+ hover: r.colors.primary[400],
4440
+ active: r.colors.primary[400],
4441
+ focus: r.colors.primary[400],
4442
+ focusVisible: r.colors.primary[400],
4443
+ disabled: r.colors.gray[400],
4444
+ selected: r.colors.primary[400]
4445
+ },
4446
+ [x.DANGER]: {
4447
+ default: r.colors.red[400],
4448
+ hover: r.colors.red[400],
4449
+ active: r.colors.red[400],
4450
+ focus: r.colors.red[400],
4451
+ focusVisible: r.colors.red[400],
4452
+ disabled: r.colors.red[400],
4453
+ selected: r.colors.red[400]
4454
+ }
4455
+ }
4456
+ }
4457
+ },
4458
+ leftSlot: {
4459
+ maxWidth: r.unit[16],
4460
+ maxHeight: r.unit[16]
4461
+ },
4462
+ rightChevron: {
4463
+ color: r.colors.gray[500],
4464
+ width: r.unit[16]
4465
+ }
4466
+ }
4677
4467
  }
4678
4468
  },
4679
- height: {
4680
- xs: `${r.unit[20]}`,
4681
- sm: `${r.unit[22]}`,
4682
- md: `${r.unit[24]}`,
4683
- lg: `${r.unit[28]}`
4684
- },
4685
- padding: {
4686
- top: {
4687
- xs: `${r.unit[2]}`,
4688
- sm: `${r.unit[3]}`,
4689
- md: `${r.unit[4]}`,
4690
- lg: `${r.unit[6]}`
4691
- },
4692
- right: {
4693
- xs: `${r.unit[6]}`,
4694
- sm: `${r.unit[8]}`,
4695
- md: `${r.unit[10]}`,
4696
- lg: `${r.unit[12]}`
4697
- },
4698
- bottom: {
4699
- xs: `${r.unit[2]}`,
4700
- sm: `${r.unit[3]}`,
4701
- md: `${r.unit[4]}`,
4702
- lg: `${r.unit[6]}`
4703
- },
4704
- left: {
4705
- xs: `${r.unit[6]}`,
4706
- sm: `${r.unit[8]}`,
4707
- md: `${r.unit[10]}`,
4708
- lg: `${r.unit[12]}`
4709
- }
4469
+ separator: {
4470
+ color: r.colors.gray[200],
4471
+ height: r.unit[1],
4472
+ marginTop: r.unit[6],
4473
+ marginRight: r.unit[0],
4474
+ marginBottom: r.unit[6],
4475
+ marginLeft: r.unit[0]
4476
+ }
4477
+ },
4478
+ lg: {
4479
+ backgroundColor: r.colors.gray[0],
4480
+ border: `1px solid ${r.colors.gray[200]}`,
4481
+ borderRadius: r.unit[8],
4482
+ boxShadow: r.shadows.sm,
4483
+ zIndex: r.zIndex[101],
4484
+ minWidth: 200,
4485
+ maxWidth: 280,
4486
+ paddingTop: r.unit[6],
4487
+ paddingRight: r.unit[6],
4488
+ paddingBottom: r.unit[6],
4489
+ paddingLeft: r.unit[6],
4490
+ searchIcon: {
4491
+ width: r.unit[16]
4710
4492
  },
4711
- border: {
4712
- noFill: {
4713
- neutral: `1px solid ${r.colors.gray[950]}`,
4714
- primary: `1px solid ${r.colors.primary[600]}`,
4715
- success: `1px solid ${r.colors.green[600]}`,
4716
- error: `1px solid ${r.colors.red[600]}`,
4717
- warning: `1px solid ${r.colors.orange[500]}`,
4718
- purple: `1px solid ${r.colors.purple[500]}`
4719
- },
4720
- subtle: {
4721
- neutral: `1px solid ${r.colors.gray[200]}`,
4722
- primary: `1px solid ${r.colors.primary[100]}`,
4723
- success: `1px solid ${r.colors.green[100]}`,
4724
- error: `1px solid ${r.colors.red[100]}`,
4725
- warning: `1px solid ${r.colors.orange[100]}`,
4726
- purple: `1px solid ${r.colors.purple[100]}`
4493
+ group: {
4494
+ label: {
4495
+ fontSize: r.font.size.body.sm.fontSize,
4496
+ fontWeight: r.font.weight[400],
4497
+ lineHeight: r.font.lineHeight[14],
4498
+ color: r.colors.gray[400],
4499
+ paddingTop: r.unit[6],
4500
+ paddingRight: r.unit[8],
4501
+ paddingBottom: r.unit[6],
4502
+ paddingLeft: r.unit[8],
4503
+ marginTop: r.unit[0],
4504
+ marginRight: r.unit[6],
4505
+ marginBottom: r.unit[0],
4506
+ marginLeft: r.unit[6]
4727
4507
  },
4728
- attentive: {
4729
- neutral: `1px solid ${r.colors.gray[950]}`,
4730
- primary: `1px solid ${r.colors.primary[600]}`,
4731
- success: `1px solid ${r.colors.green[600]}`,
4732
- error: `1px solid ${r.colors.red[600]}`,
4733
- warning: `1px solid ${r.colors.orange[500]}`,
4734
- purple: `1px solid ${r.colors.purple[500]}`
4735
- }
4736
- },
4737
- leftSlot: {
4738
- maxHeight: {
4739
- xs: `${r.unit[12]}`,
4740
- sm: `${r.unit[12]}`,
4741
- md: `${r.unit[12]}`,
4742
- lg: `${r.unit[12]}`
4743
- }
4744
- },
4745
- rightSlot: {
4746
- maxHeight: {
4747
- xs: `${r.unit[12]}`,
4748
- sm: `${r.unit[12]}`,
4749
- md: `${r.unit[12]}`,
4750
- lg: `${r.unit[12]}`
4751
- }
4752
- },
4753
- text: {
4754
- color: {
4755
- noFill: {
4756
- neutral: r.colors.gray[950],
4757
- primary: r.colors.primary[800],
4758
- success: r.colors.green[600],
4759
- error: r.colors.red[600],
4760
- warning: r.colors.orange[500],
4761
- purple: r.colors.purple[500]
4762
- },
4763
- attentive: {
4764
- neutral: r.colors.gray[0],
4765
- primary: r.colors.gray[0],
4766
- success: r.colors.gray[0],
4767
- error: r.colors.gray[0],
4768
- warning: r.colors.gray[0],
4769
- purple: r.colors.gray[0]
4508
+ item: {
4509
+ paddingTop: r.unit[8],
4510
+ paddingRight: r.unit[8],
4511
+ paddingBottom: r.unit[8],
4512
+ paddingLeft: r.unit[8],
4513
+ marginTop: r.unit[0],
4514
+ marginRight: r.unit[4],
4515
+ marginBottom: r.unit[0],
4516
+ marginLeft: r.unit[4],
4517
+ borderRadius: r.unit[4],
4518
+ gap: r.unit[4],
4519
+ backgroundColor: {
4520
+ [m.DEFAULT]: {
4521
+ default: r.colors.gray[0],
4522
+ hover: r.colors.gray[50],
4523
+ active: r.colors.gray[50],
4524
+ focus: r.colors.gray[50],
4525
+ focusVisible: r.colors.gray[50],
4526
+ disabled: r.colors.gray[0],
4527
+ selected: r.colors.gray[0]
4528
+ },
4529
+ [m.ACTION]: {
4530
+ [x.PRIMARY]: {
4531
+ default: r.colors.primary[50],
4532
+ hover: r.colors.primary[100],
4533
+ active: r.colors.primary[50],
4534
+ focus: r.colors.primary[100],
4535
+ focusVisible: r.colors.primary[100],
4536
+ disabled: r.colors.gray[0],
4537
+ selected: r.colors.primary[50]
4538
+ },
4539
+ [x.DANGER]: {
4540
+ default: r.colors.red[50],
4541
+ hover: r.colors.red[100],
4542
+ active: r.colors.red[100],
4543
+ focus: r.colors.red[100],
4544
+ focusVisible: r.colors.red[100],
4545
+ disabled: r.colors.gray[0],
4546
+ selected: r.colors.red[50]
4547
+ }
4548
+ }
4770
4549
  },
4771
- subtle: {
4772
- neutral: r.colors.gray[950],
4773
- primary: r.colors.primary[600],
4774
- success: r.colors.green[600],
4775
- error: r.colors.red[600],
4776
- warning: r.colors.orange[600],
4777
- purple: r.colors.purple[600]
4550
+ text: {
4551
+ fontSize: r.font.size.body.md.fontSize,
4552
+ fontWeight: r.font.weight[500],
4553
+ lineHeight: r.font.lineHeight[16],
4554
+ color: {
4555
+ [m.DEFAULT]: {
4556
+ default: r.colors.gray[600],
4557
+ hover: r.colors.gray[600],
4558
+ active: r.colors.gray[600],
4559
+ focus: r.colors.gray[600],
4560
+ focusVisible: r.colors.gray[600],
4561
+ disabled: r.colors.gray[400],
4562
+ selected: r.colors.gray[600]
4563
+ },
4564
+ [m.ACTION]: {
4565
+ [x.PRIMARY]: {
4566
+ default: r.colors.primary[600],
4567
+ hover: r.colors.primary[600],
4568
+ active: r.colors.primary[600],
4569
+ focus: r.colors.primary[600],
4570
+ focusVisible: r.colors.primary[600],
4571
+ disabled: r.colors.gray[400],
4572
+ selected: r.colors.primary[600]
4573
+ },
4574
+ [x.DANGER]: {
4575
+ default: r.colors.red[600],
4576
+ hover: r.colors.red[600],
4577
+ active: r.colors.red[600],
4578
+ focus: r.colors.red[600],
4579
+ focusVisible: r.colors.red[600],
4580
+ disabled: r.colors.red[400],
4581
+ selected: r.colors.red[600]
4582
+ }
4583
+ }
4584
+ },
4585
+ subText: {
4586
+ fontSize: r.font.size.body.sm.fontSize,
4587
+ fontWeight: r.font.weight[400],
4588
+ lineHeight: r.font.lineHeight[14],
4589
+ color: {
4590
+ [m.DEFAULT]: {
4591
+ default: r.colors.gray[400],
4592
+ hover: r.colors.gray[400],
4593
+ active: r.colors.gray[400],
4594
+ focus: r.colors.gray[400],
4595
+ focusVisible: r.colors.gray[400],
4596
+ disabled: r.colors.gray[400],
4597
+ selected: r.colors.gray[400]
4598
+ },
4599
+ [m.ACTION]: {
4600
+ [x.PRIMARY]: {
4601
+ default: r.colors.primary[400],
4602
+ hover: r.colors.primary[400],
4603
+ active: r.colors.primary[400],
4604
+ focus: r.colors.primary[400],
4605
+ focusVisible: r.colors.primary[400],
4606
+ disabled: r.colors.gray[400],
4607
+ selected: r.colors.primary[400]
4608
+ },
4609
+ [x.DANGER]: {
4610
+ default: r.colors.red[400],
4611
+ hover: r.colors.red[400],
4612
+ active: r.colors.red[400],
4613
+ focus: r.colors.red[400],
4614
+ focusVisible: r.colors.red[400],
4615
+ disabled: r.colors.red[400],
4616
+ selected: r.colors.red[400]
4617
+ }
4618
+ }
4619
+ }
4620
+ },
4621
+ leftSlot: {
4622
+ maxWidth: r.unit[16],
4623
+ maxHeight: r.unit[16]
4624
+ },
4625
+ rightChevron: {
4626
+ color: r.colors.gray[500],
4627
+ width: r.unit[16]
4628
+ }
4778
4629
  }
4779
- },
4780
- fontSize: {
4781
- xs: r.font.fontSize[12],
4782
- sm: r.font.fontSize[12],
4783
- md: r.font.fontSize[14],
4784
- lg: r.font.fontSize[14]
4785
- },
4786
- fontWeight: {
4787
- xs: r.font.weight[500],
4788
- sm: r.font.weight[500],
4789
- md: r.font.weight[500],
4790
- lg: r.font.weight[500]
4791
- },
4792
- lineHeight: {
4793
- xs: r.font.lineHeight[18],
4794
- sm: r.font.lineHeight[18],
4795
- md: r.font.lineHeight[20],
4796
- lg: r.font.lineHeight[20]
4797
- }
4798
- }
4799
- },
4800
- lg: {
4801
- gap: r.unit[6],
4802
- backgroundColor: {
4803
- noFill: {
4804
- neutral: r.colors.gray[0],
4805
- primary: r.colors.gray[0],
4806
- success: r.colors.gray[0],
4807
- error: r.colors.gray[0],
4808
- warning: r.colors.gray[0],
4809
- purple: r.colors.gray[0]
4810
- },
4811
- attentive: {
4812
- neutral: r.colors.gray[950],
4813
- primary: r.colors.primary[600],
4814
- success: r.colors.green[600],
4815
- error: r.colors.red[600],
4816
- warning: r.colors.orange[500],
4817
- purple: r.colors.purple[500]
4818
- },
4819
- subtle: {
4820
- neutral: r.colors.gray[50],
4821
- primary: r.colors.primary[50],
4822
- success: r.colors.green[50],
4823
- error: r.colors.red[50],
4824
- warning: r.colors.orange[50],
4825
- purple: r.colors.purple[50]
4826
- }
4827
- },
4828
- borderRadius: {
4829
- xs: {
4830
- squarical: r.border.radius[6],
4831
- rounded: r.border.radius.full
4832
- },
4833
- sm: {
4834
- squarical: r.border.radius[6],
4835
- rounded: r.border.radius.full
4836
- },
4837
- md: {
4838
- squarical: r.border.radius[6],
4839
- rounded: r.border.radius.full
4840
- },
4841
- lg: {
4842
- squarical: r.border.radius[8],
4843
- rounded: r.border.radius.full
4844
4630
  }
4845
4631
  },
4846
- height: {
4847
- xs: `${r.unit[20]}`,
4848
- sm: `${r.unit[22]}`,
4849
- md: `${r.unit[24]}`,
4850
- lg: `${r.unit[28]}`
4851
- },
4852
- padding: {
4853
- top: {
4854
- xs: `${r.unit[2]} `,
4855
- sm: `${r.unit[3]} `,
4856
- md: `${r.unit[4]} `,
4857
- lg: `${r.unit[6]} `
4858
- },
4859
- right: {
4860
- xs: `${r.unit[6]}`,
4861
- sm: ` ${r.unit[8]}`,
4862
- md: `${r.unit[10]}`,
4863
- lg: `${r.unit[12]}`
4864
- },
4865
- bottom: {
4866
- xs: `${r.unit[2]} `,
4867
- sm: `${r.unit[3]} `,
4868
- md: `${r.unit[4]} `,
4869
- lg: `${r.unit[6]} `
4870
- },
4871
- left: {
4872
- xs: ` ${r.unit[6]}`,
4873
- sm: ` ${r.unit[8]}`,
4874
- md: ` ${r.unit[10]}`,
4875
- lg: ` ${r.unit[12]}`
4876
- }
4632
+ separator: {
4633
+ color: r.colors.gray[200],
4634
+ height: r.unit[1],
4635
+ marginTop: r.unit[6],
4636
+ marginRight: r.unit[0],
4637
+ marginBottom: r.unit[6],
4638
+ marginLeft: r.unit[0]
4639
+ }
4640
+ }
4641
+ }), X = (r) => ({
4642
+ sm: {
4643
+ backgroundColor: r.colors.gray[900],
4644
+ border: `1px solid ${r.colors.gray[700]}`,
4645
+ borderRadius: r.unit[8],
4646
+ boxShadow: r.shadows.md,
4647
+ zIndex: r.zIndex[101],
4648
+ minWidth: 200,
4649
+ maxWidth: 280,
4650
+ paddingTop: r.unit[6],
4651
+ paddingRight: r.unit[6],
4652
+ paddingBottom: r.unit[6],
4653
+ paddingLeft: r.unit[6],
4654
+ searchIcon: {
4655
+ width: r.unit[16]
4877
4656
  },
4878
- border: {
4879
- noFill: {
4880
- neutral: `1px solid ${r.colors.gray[950]}`,
4881
- primary: `1px solid ${r.colors.primary[600]}`,
4882
- success: `1px solid ${r.colors.green[600]}`,
4883
- error: `1px solid ${r.colors.red[600]}`,
4884
- warning: `1px solid ${r.colors.orange[500]}`,
4885
- purple: `1px solid ${r.colors.purple[500]}`
4886
- },
4887
- subtle: {
4888
- neutral: `1px solid ${r.colors.gray[200]}`,
4889
- primary: `1px solid ${r.colors.primary[100]}`,
4890
- success: `1px solid ${r.colors.green[100]}`,
4891
- error: `1px solid ${r.colors.red[100]}`,
4892
- warning: `1px solid ${r.colors.orange[100]}`,
4893
- purple: `1px solid ${r.colors.purple[100]}`
4657
+ group: {
4658
+ label: {
4659
+ fontSize: r.font.size.body.sm.fontSize,
4660
+ fontWeight: r.font.weight[400],
4661
+ lineHeight: r.font.lineHeight[14],
4662
+ color: r.colors.gray[500],
4663
+ paddingTop: r.unit[6],
4664
+ paddingRight: r.unit[8],
4665
+ paddingBottom: r.unit[6],
4666
+ paddingLeft: r.unit[8],
4667
+ marginTop: r.unit[0],
4668
+ marginRight: r.unit[6],
4669
+ marginBottom: r.unit[0],
4670
+ marginLeft: r.unit[6]
4894
4671
  },
4895
- attentive: {
4896
- neutral: `1px solid ${r.colors.gray[950]}`,
4897
- primary: `1px solid ${r.colors.primary[600]}`,
4898
- success: `1px solid ${r.colors.green[600]}`,
4899
- error: `1px solid ${r.colors.red[600]}`,
4900
- warning: `1px solid ${r.colors.orange[500]}`,
4901
- purple: `1px solid ${r.colors.purple[500]}`
4902
- }
4903
- },
4904
- leftSlot: {
4905
- maxHeight: {
4906
- xs: `${r.unit[12]}`,
4907
- sm: `${r.unit[12]}`,
4908
- md: `${r.unit[12]}`,
4909
- lg: `${r.unit[12]}`
4672
+ item: {
4673
+ paddingTop: r.unit[8],
4674
+ paddingRight: r.unit[8],
4675
+ paddingBottom: r.unit[8],
4676
+ paddingLeft: r.unit[8],
4677
+ marginTop: r.unit[0],
4678
+ marginRight: r.unit[4],
4679
+ marginBottom: r.unit[0],
4680
+ marginLeft: r.unit[4],
4681
+ borderRadius: r.unit[4],
4682
+ gap: r.unit[4],
4683
+ backgroundColor: {
4684
+ [m.DEFAULT]: {
4685
+ default: r.colors.gray[900],
4686
+ hover: r.colors.gray[800],
4687
+ active: r.colors.gray[800],
4688
+ focus: r.colors.gray[800],
4689
+ focusVisible: r.colors.gray[800],
4690
+ disabled: r.colors.gray[900],
4691
+ selected: r.colors.gray[900]
4692
+ },
4693
+ [m.ACTION]: {
4694
+ [x.PRIMARY]: {
4695
+ default: r.colors.primary[950],
4696
+ hover: r.colors.primary[900],
4697
+ active: r.colors.primary[900],
4698
+ focus: r.colors.primary[900],
4699
+ focusVisible: r.colors.primary[900],
4700
+ disabled: r.colors.gray[900],
4701
+ selected: r.colors.primary[950]
4702
+ },
4703
+ [x.DANGER]: {
4704
+ default: r.colors.red[950],
4705
+ hover: r.colors.red[900],
4706
+ active: r.colors.red[900],
4707
+ focus: r.colors.red[900],
4708
+ focusVisible: r.colors.red[900],
4709
+ disabled: r.colors.gray[900],
4710
+ selected: r.colors.red[950]
4711
+ }
4712
+ }
4713
+ },
4714
+ text: {
4715
+ fontSize: r.font.size.body.md.fontSize,
4716
+ fontWeight: r.font.weight[500],
4717
+ lineHeight: r.font.lineHeight[16],
4718
+ color: {
4719
+ [m.DEFAULT]: {
4720
+ default: r.colors.gray[200],
4721
+ hover: r.colors.gray[200],
4722
+ active: r.colors.gray[200],
4723
+ focus: r.colors.gray[200],
4724
+ focusVisible: r.colors.gray[200],
4725
+ disabled: r.colors.gray[500],
4726
+ selected: r.colors.gray[200]
4727
+ },
4728
+ [m.ACTION]: {
4729
+ [x.PRIMARY]: {
4730
+ default: r.colors.primary[300],
4731
+ hover: r.colors.primary[300],
4732
+ active: r.colors.primary[300],
4733
+ focus: r.colors.primary[300],
4734
+ focusVisible: r.colors.primary[300],
4735
+ disabled: r.colors.gray[500],
4736
+ selected: r.colors.primary[300]
4737
+ },
4738
+ [x.DANGER]: {
4739
+ default: r.colors.red[400],
4740
+ hover: r.colors.red[400],
4741
+ active: r.colors.red[400],
4742
+ focus: r.colors.red[400],
4743
+ focusVisible: r.colors.red[400],
4744
+ disabled: r.colors.red[600],
4745
+ selected: r.colors.red[400]
4746
+ }
4747
+ }
4748
+ },
4749
+ subText: {
4750
+ fontSize: r.font.size.body.sm.fontSize,
4751
+ fontWeight: r.font.weight[400],
4752
+ lineHeight: r.font.lineHeight[14],
4753
+ color: {
4754
+ [m.DEFAULT]: {
4755
+ default: r.colors.gray[400],
4756
+ hover: r.colors.gray[400],
4757
+ active: r.colors.gray[400],
4758
+ focus: r.colors.gray[400],
4759
+ focusVisible: r.colors.gray[400],
4760
+ disabled: r.colors.gray[500],
4761
+ selected: r.colors.gray[400]
4762
+ },
4763
+ [m.ACTION]: {
4764
+ [x.PRIMARY]: {
4765
+ default: r.colors.primary[400],
4766
+ hover: r.colors.primary[400],
4767
+ active: r.colors.primary[400],
4768
+ focus: r.colors.primary[400],
4769
+ focusVisible: r.colors.primary[400],
4770
+ disabled: r.colors.gray[500],
4771
+ selected: r.colors.primary[400]
4772
+ },
4773
+ [x.DANGER]: {
4774
+ default: r.colors.red[400],
4775
+ hover: r.colors.red[400],
4776
+ active: r.colors.red[400],
4777
+ focus: r.colors.red[400],
4778
+ focusVisible: r.colors.red[400],
4779
+ disabled: r.colors.red[500],
4780
+ selected: r.colors.red[400]
4781
+ }
4782
+ }
4783
+ }
4784
+ },
4785
+ leftSlot: {
4786
+ maxWidth: r.unit[16],
4787
+ maxHeight: r.unit[16]
4788
+ },
4789
+ rightChevron: {
4790
+ color: r.colors.gray[500],
4791
+ width: r.unit[16]
4792
+ }
4793
+ }
4910
4794
  }
4911
4795
  },
4912
- rightSlot: {
4913
- maxHeight: {
4914
- xs: `${r.unit[12]}`,
4915
- sm: `${r.unit[12]}`,
4916
- md: `${r.unit[12]}`,
4917
- lg: `${r.unit[12]}`
4918
- }
4796
+ separator: {
4797
+ color: r.colors.gray[700],
4798
+ height: r.unit[1],
4799
+ marginTop: r.unit[6],
4800
+ marginRight: r.unit[0],
4801
+ marginBottom: r.unit[6],
4802
+ marginLeft: r.unit[0]
4803
+ }
4804
+ },
4805
+ lg: {
4806
+ backgroundColor: r.colors.gray[900],
4807
+ border: `1px solid ${r.colors.gray[700]}`,
4808
+ borderRadius: r.unit[8],
4809
+ boxShadow: r.shadows.md,
4810
+ zIndex: r.zIndex[101],
4811
+ minWidth: 200,
4812
+ maxWidth: 280,
4813
+ paddingTop: r.unit[6],
4814
+ paddingRight: r.unit[6],
4815
+ paddingBottom: r.unit[6],
4816
+ paddingLeft: r.unit[6],
4817
+ searchIcon: {
4818
+ width: r.unit[16]
4919
4819
  },
4920
- text: {
4921
- color: {
4922
- noFill: {
4923
- neutral: r.colors.gray[950],
4924
- primary: r.colors.primary[800],
4925
- success: r.colors.green[600],
4926
- error: r.colors.red[600],
4927
- warning: r.colors.orange[500],
4928
- purple: r.colors.purple[500]
4929
- },
4930
- attentive: {
4931
- neutral: r.colors.gray[0],
4932
- primary: r.colors.gray[0],
4933
- success: r.colors.gray[0],
4934
- error: r.colors.gray[0],
4935
- warning: r.colors.gray[0],
4936
- purple: r.colors.gray[0]
4820
+ group: {
4821
+ label: {
4822
+ fontSize: r.font.size.body.sm.fontSize,
4823
+ fontWeight: r.font.weight[400],
4824
+ lineHeight: r.font.lineHeight[14],
4825
+ color: r.colors.gray[500],
4826
+ paddingTop: r.unit[6],
4827
+ paddingRight: r.unit[8],
4828
+ paddingBottom: r.unit[6],
4829
+ paddingLeft: r.unit[8],
4830
+ marginTop: r.unit[0],
4831
+ marginRight: r.unit[6],
4832
+ marginBottom: r.unit[0],
4833
+ marginLeft: r.unit[6]
4834
+ },
4835
+ item: {
4836
+ paddingTop: r.unit[8],
4837
+ paddingRight: r.unit[8],
4838
+ paddingBottom: r.unit[8],
4839
+ paddingLeft: r.unit[8],
4840
+ marginTop: r.unit[0],
4841
+ marginRight: r.unit[4],
4842
+ marginBottom: r.unit[0],
4843
+ marginLeft: r.unit[4],
4844
+ borderRadius: r.unit[4],
4845
+ gap: r.unit[4],
4846
+ backgroundColor: {
4847
+ [m.DEFAULT]: {
4848
+ default: r.colors.gray[900],
4849
+ hover: r.colors.gray[800],
4850
+ active: r.colors.gray[800],
4851
+ focus: r.colors.gray[800],
4852
+ focusVisible: r.colors.gray[800],
4853
+ disabled: r.colors.gray[900],
4854
+ selected: r.colors.gray[900]
4855
+ },
4856
+ [m.ACTION]: {
4857
+ [x.PRIMARY]: {
4858
+ default: r.colors.primary[950],
4859
+ hover: r.colors.primary[900],
4860
+ active: r.colors.primary[900],
4861
+ focus: r.colors.primary[900],
4862
+ focusVisible: r.colors.primary[900],
4863
+ disabled: r.colors.gray[900],
4864
+ selected: r.colors.primary[950]
4865
+ },
4866
+ [x.DANGER]: {
4867
+ default: r.colors.red[950],
4868
+ hover: r.colors.red[900],
4869
+ active: r.colors.red[900],
4870
+ focus: r.colors.red[900],
4871
+ focusVisible: r.colors.red[900],
4872
+ disabled: r.colors.gray[900],
4873
+ selected: r.colors.red[950]
4874
+ }
4875
+ }
4937
4876
  },
4938
- subtle: {
4939
- neutral: r.colors.gray[950],
4940
- primary: r.colors.primary[600],
4941
- success: r.colors.green[600],
4942
- error: r.colors.red[600],
4943
- warning: r.colors.orange[600],
4944
- purple: r.colors.purple[600]
4877
+ text: {
4878
+ fontSize: r.font.size.body.md.fontSize,
4879
+ fontWeight: r.font.weight[500],
4880
+ lineHeight: r.font.lineHeight[16],
4881
+ color: {
4882
+ [m.DEFAULT]: {
4883
+ default: r.colors.gray[200],
4884
+ hover: r.colors.gray[200],
4885
+ active: r.colors.gray[200],
4886
+ focus: r.colors.gray[200],
4887
+ focusVisible: r.colors.gray[200],
4888
+ disabled: r.colors.gray[500],
4889
+ selected: r.colors.gray[200]
4890
+ },
4891
+ [m.ACTION]: {
4892
+ [x.PRIMARY]: {
4893
+ default: r.colors.primary[300],
4894
+ hover: r.colors.primary[300],
4895
+ active: r.colors.primary[300],
4896
+ focus: r.colors.primary[300],
4897
+ focusVisible: r.colors.primary[300],
4898
+ disabled: r.colors.gray[500],
4899
+ selected: r.colors.primary[300]
4900
+ },
4901
+ [x.DANGER]: {
4902
+ default: r.colors.red[400],
4903
+ hover: r.colors.red[400],
4904
+ active: r.colors.red[400],
4905
+ focus: r.colors.red[400],
4906
+ focusVisible: r.colors.red[400],
4907
+ disabled: r.colors.red[600],
4908
+ selected: r.colors.red[400]
4909
+ }
4910
+ }
4911
+ },
4912
+ subText: {
4913
+ fontSize: r.font.size.body.sm.fontSize,
4914
+ fontWeight: r.font.weight[400],
4915
+ lineHeight: r.font.lineHeight[14],
4916
+ color: {
4917
+ [m.DEFAULT]: {
4918
+ default: r.colors.gray[400],
4919
+ hover: r.colors.gray[400],
4920
+ active: r.colors.gray[400],
4921
+ focus: r.colors.gray[400],
4922
+ focusVisible: r.colors.gray[400],
4923
+ disabled: r.colors.gray[500],
4924
+ selected: r.colors.gray[400]
4925
+ },
4926
+ [m.ACTION]: {
4927
+ [x.PRIMARY]: {
4928
+ default: r.colors.primary[400],
4929
+ hover: r.colors.primary[400],
4930
+ active: r.colors.primary[400],
4931
+ focus: r.colors.primary[400],
4932
+ focusVisible: r.colors.primary[400],
4933
+ disabled: r.colors.gray[500],
4934
+ selected: r.colors.primary[400]
4935
+ },
4936
+ [x.DANGER]: {
4937
+ default: r.colors.red[400],
4938
+ hover: r.colors.red[400],
4939
+ active: r.colors.red[400],
4940
+ focus: r.colors.red[400],
4941
+ focusVisible: r.colors.red[400],
4942
+ disabled: r.colors.red[500],
4943
+ selected: r.colors.red[400]
4944
+ }
4945
+ }
4946
+ }
4947
+ },
4948
+ leftSlot: {
4949
+ maxWidth: r.unit[16],
4950
+ maxHeight: r.unit[16]
4951
+ },
4952
+ rightChevron: {
4953
+ color: r.colors.gray[500],
4954
+ width: r.unit[16]
4955
+ }
4945
4956
  }
4946
- },
4947
- fontSize: {
4948
- xs: r.font.fontSize[12],
4949
- sm: r.font.fontSize[12],
4950
- md: r.font.fontSize[14],
4951
- lg: r.font.fontSize[14]
4952
- },
4953
- fontWeight: {
4954
- xs: r.font.weight[500],
4955
- sm: r.font.weight[500],
4956
- md: r.font.weight[500],
4957
- lg: r.font.weight[500]
4958
- },
4959
- lineHeight: {
4960
- xs: r.font.lineHeight[18],
4961
- sm: r.font.lineHeight[18],
4962
- md: r.font.lineHeight[20],
4963
- lg: r.font.lineHeight[20]
4964
4957
  }
4958
+ },
4959
+ separator: {
4960
+ color: r.colors.gray[700],
4961
+ height: r.unit[1],
4962
+ marginTop: r.unit[6],
4963
+ marginRight: r.unit[0],
4964
+ marginBottom: r.unit[6],
4965
+ marginLeft: r.unit[0]
4965
4966
  }
4966
4967
  }
4967
- }), Yr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? U(r) : X(r), _ = (r) => ({
4968
+ }), Jr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? X(r) : U(r), _ = (r) => ({
4968
4969
  sm: {
4969
4970
  width: "100%",
4970
4971
  maxWidth: "900px",
@@ -5618,7 +5619,7 @@ const M = (r) => ({
5618
5619
  }
5619
5620
  }
5620
5621
  }
5621
- }), Jr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? _(r) : P(r);
5622
+ }), jr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? _(r) : P(r);
5622
5623
  var p = /* @__PURE__ */ ((r) => (r.BORDER = "border", r.NO_BORDER = "noBorder", r))(p || {}), V = /* @__PURE__ */ ((r) => (r.LEFT = "left", r.RIGHT = "right", r))(V || {});
5623
5624
  const q = (r) => ({
5624
5625
  sm: {
@@ -6014,7 +6015,7 @@ const q = (r) => ({
6014
6015
  }
6015
6016
  }
6016
6017
  }
6017
- }), jr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? q(r) : K(r), Y = (r) => ({
6018
+ }), Qr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? q(r) : K(r), Y = (r) => ({
6018
6019
  sm: {
6019
6020
  width: "100%",
6020
6021
  maxWidth: "calc(100vw - 32px)",
@@ -6310,7 +6311,7 @@ const q = (r) => ({
6310
6311
  }
6311
6312
  });
6312
6313
  var j = /* @__PURE__ */ ((r) => (r.TOP = "top", r.BOTTOM = "bottom", r.LEFT = "left", r.RIGHT = "right", r))(j || {});
6313
- const Qr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Y(r) : J(r), Q = (r) => ({
6314
+ const Zr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Y(r) : J(r), Q = (r) => ({
6314
6315
  sm: {
6315
6316
  gap: r.unit[8],
6316
6317
  switch: {
@@ -6746,7 +6747,7 @@ const Qr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Y(r) : J(r), Q = (
6746
6747
  }
6747
6748
  }
6748
6749
  }
6749
- }), Zr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Z(r) : Q(r);
6750
+ }), dr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Z(r) : Q(r);
6750
6751
  var d = /* @__PURE__ */ ((r) => (r.START = "start", r.CENTER = "center", r.END = "end", r))(d || {}), g = /* @__PURE__ */ ((r) => (r.CONTAINER = "container", r.NO_CONTAINER = "no-container", r))(g || {}), y = /* @__PURE__ */ ((r) => (r.SM = "sm", r.MD = "md", r.LG = "lg", r))(y || {}), u = /* @__PURE__ */ ((r) => (r.TOP = "top", r.LEFT = "left", r.RIGHT = "right", r.BOTTOM = "bottom", r))(u || {});
6751
6752
  const f = (r) => {
6752
6753
  const w = {
@@ -7440,7 +7441,7 @@ const f = (r) => {
7440
7441
  }
7441
7442
  };
7442
7443
  return { sm: w, lg: w };
7443
- }, dr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? o(r) : f(r);
7444
+ }, ur = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? o(r) : f(r);
7444
7445
  var O = /* @__PURE__ */ ((r) => (r.COUNT = "count", r.TEXT = "text", r))(O || {});
7445
7446
  const T = (r) => {
7446
7447
  const w = {
@@ -8316,7 +8317,7 @@ const T = (r) => {
8316
8317
  sm: w,
8317
8318
  lg: w
8318
8319
  };
8319
- }, ur = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? k(r) : T(r);
8320
+ }, fr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? k(r) : T(r);
8320
8321
  var s = /* @__PURE__ */ ((r) => (r.SM = "sm", r.REGULAR = "regular", r.MD = "md", r.LG = "lg", r.XL = "xl", r))(s || {}), z = /* @__PURE__ */ ((r) => (r.CIRCULAR = "circular", r.ROUNDED = "rounded", r))(z || {}), n = /* @__PURE__ */ ((r) => (r.TOP_RIGHT = "topRight", r.BOTTOM_RIGHT = "bottomRight", r.TOP_LEFT = "topLeft", r.BOTTOM_LEFT = "bottomLeft", r))(n || {}), S = /* @__PURE__ */ ((r) => (r.NONE = "none", r.ONLINE = "online", r.OFFLINE = "offline", r.AWAY = "away", r.BUSY = "busy", r))(S || {}), rr = /* @__PURE__ */ ((r) => (r.IMAGE = "image", r.TEXT = "text", r.ICON = "icon", r))(rr || {});
8321
8322
  const lr = (r) => ({
8322
8323
  sm: {
@@ -8896,7 +8897,7 @@ const lr = (r) => ({
8896
8897
  width: r.unit[20]
8897
8898
  }
8898
8899
  }
8899
- }), fr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? lr(r) : sr(r), gr = (r) => ({
8900
+ }), or = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? lr(r) : sr(r), gr = (r) => ({
8900
8901
  sm: {
8901
8902
  gap: r.unit[8],
8902
8903
  topContainer: {
@@ -9732,7 +9733,7 @@ const lr = (r) => ({
9732
9733
  }
9733
9734
  }
9734
9735
  }
9735
- }), or = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? gr(r) : cr(r), tr = (r) => ({
9736
+ }), Tr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? gr(r) : cr(r), tr = (r) => ({
9736
9737
  sm: {
9737
9738
  // Dark surface similar to shadcn dark charts (card on dark bg)
9738
9739
  border: `1px solid ${r.colors.gray[800]}`,
@@ -10113,7 +10114,7 @@ const lr = (r) => ({
10113
10114
  }
10114
10115
  }
10115
10116
  }
10116
- }), Tr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? tr(r) : ir(r);
10117
+ }), kr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? tr(r) : ir(r);
10117
10118
  var R = /* @__PURE__ */ ((r) => (r.SUCCESS = "success", r.WARNING = "warning", r.ERROR = "error", r.NEUTRAL = "neutral", r))(R || {});
10118
10119
  const pr = (r) => ({
10119
10120
  track: {
@@ -10369,7 +10370,7 @@ const pr = (r) => ({
10369
10370
  }), hr = (r) => {
10370
10371
  const c = yr(r);
10371
10372
  return { sm: c, lg: c };
10372
- }, kr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? er(r) : hr(r), br = (r) => ({
10373
+ }, nr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? er(r) : hr(r), br = (r) => ({
10373
10374
  sm: {
10374
10375
  gap: r.unit[8],
10375
10376
  checkbox: {
@@ -10986,7 +10987,7 @@ const pr = (r) => ({
10986
10987
  }
10987
10988
  }
10988
10989
  }
10989
- }), nr = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? mr(r) : br(r);
10990
+ }), r0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? mr(r) : br(r);
10990
10991
  var xr = /* @__PURE__ */ ((r) => (r[r.vertical = 0] = "vertical", r[r.horizontal = 1] = "horizontal", r))(xr || {}), v = /* @__PURE__ */ ((r) => (r.SM = "sm", r.MD = "md", r.LG = "lg", r))(v || {});
10991
10992
  const Sr = (r) => ({
10992
10993
  sm: {
@@ -11094,9 +11095,9 @@ const Sr = (r) => ({
11094
11095
  gap: r.unit[8]
11095
11096
  }
11096
11097
  }
11097
- }), r0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? zr(r) : Sr(r);
11098
- var $ = /* @__PURE__ */ ((r) => (r.CHART = "chart", r.PROGRESS_BAR = "progress", r.NUMBER = "number", r))($ || {}), vr = /* @__PURE__ */ ((r) => (r.UP = "up", r.DOWN = "down", r))(vr || {}), $r = /* @__PURE__ */ ((r) => (r.INCREASE = "increase", r.DECREASE = "decrease", r))($r || {});
11099
- const wr = (r) => ({
11098
+ }), l0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? zr(r) : Sr(r);
11099
+ var $ = /* @__PURE__ */ ((r) => (r.CHART = "chart", r.PROGRESS_BAR = "progress", r.NUMBER = "number", r))($ || {}), vr = /* @__PURE__ */ ((r) => (r.UP = "up", r.DOWN = "down", r))(vr || {}), $r = /* @__PURE__ */ ((r) => (r.INCREASE = "increase", r.DECREASE = "decrease", r))($r || {}), wr = /* @__PURE__ */ ((r) => (r.LEFT = "left", r.CENTER = "center", r))(wr || {});
11100
+ const Or = (r) => ({
11100
11101
  sm: {
11101
11102
  height: "auto",
11102
11103
  width: "auto",
@@ -11269,7 +11270,7 @@ const wr = (r) => ({
11269
11270
  }
11270
11271
  }
11271
11272
  }
11272
- }), Or = (r) => ({
11273
+ }), Rr = (r) => ({
11273
11274
  sm: {
11274
11275
  height: "auto",
11275
11276
  width: "auto",
@@ -11442,7 +11443,7 @@ const wr = (r) => ({
11442
11443
  }
11443
11444
  }
11444
11445
  }
11445
- }), l0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Or(r) : wr(r), Rr = (r) => ({
11446
+ }), s0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Rr(r) : Or(r), Er = (r) => ({
11446
11447
  sm: {
11447
11448
  zIndex: r.zIndex[9999],
11448
11449
  // background (size-independent)
@@ -11545,7 +11546,7 @@ const wr = (r) => ({
11545
11546
  }
11546
11547
  }
11547
11548
  }
11548
- }), Er = (r) => ({
11549
+ }), Lr = (r) => ({
11549
11550
  sm: {
11550
11551
  zIndex: r.zIndex[9999],
11551
11552
  // background (size-independent)
@@ -11648,7 +11649,7 @@ const wr = (r) => ({
11648
11649
  }
11649
11650
  }
11650
11651
  }
11651
- }), s0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Er(r) : Rr(r), Lr = (r) => ({
11652
+ }), g0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Lr(r) : Er(r), Nr = (r) => ({
11652
11653
  sm: {
11653
11654
  gap: r.unit[8],
11654
11655
  group: {
@@ -11917,7 +11918,7 @@ const wr = (r) => ({
11917
11918
  }
11918
11919
  }
11919
11920
  }
11920
- }), Nr = (r) => ({
11921
+ }), Hr = (r) => ({
11921
11922
  sm: {
11922
11923
  gap: r.unit[8],
11923
11924
  group: {
@@ -12186,7 +12187,7 @@ const wr = (r) => ({
12186
12187
  }
12187
12188
  }
12188
12189
  }
12189
- }), g0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Nr(r) : Lr(r), Hr = (r) => ({
12190
+ }), c0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Hr(r) : Nr(r), Dr = (r) => ({
12190
12191
  sm: {
12191
12192
  // background (size-independent)
12192
12193
  background: r.colors.gray[0],
@@ -12405,7 +12406,7 @@ const wr = (r) => ({
12405
12406
  }
12406
12407
  }
12407
12408
  }
12408
- }), Dr = (r) => ({
12409
+ }), Ir = (r) => ({
12409
12410
  sm: {
12410
12411
  // background (size-independent)
12411
12412
  background: r.colors.gray[0],
@@ -12623,9 +12624,9 @@ const wr = (r) => ({
12623
12624
  }
12624
12625
  }
12625
12626
  }
12626
- }), c0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Dr(r) : Hr(r);
12627
+ }), t0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Ir(r) : Dr(r);
12627
12628
  var l = /* @__PURE__ */ ((r) => (r.BOXED = "boxed", r.FLOATING = "floating", r.UNDERLINE = "underline", r.PILLS = "pills", r))(l || {}), t = /* @__PURE__ */ ((r) => (r.SM = "sm", r.MD = "md", r.LG = "lg", r))(t || {});
12628
- const Ir = (r) => ({
12629
+ const ar = (r) => ({
12629
12630
  sm: {
12630
12631
  width: "100%",
12631
12632
  outline: "none",
@@ -13879,9 +13880,9 @@ const Ir = (r) => ({
13879
13880
  }
13880
13881
  }
13881
13882
  }
13882
- }), t0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Cr(r) : Ir(r);
13883
- var ar = /* @__PURE__ */ ((r) => (r.DEFAULT = "default", r.NO_GUTTER = "no-gutter", r.DIFF = "diff", r))(ar || {}), E = /* @__PURE__ */ ((r) => (r.LIGHT = "light", r.DARK = "dark", r))(E || {}), e = /* @__PURE__ */ ((r) => (r.ADDED = "added", r.REMOVED = "removed", r.UNCHANGED = "unchanged", r))(e || {});
13884
- const Ar = (r) => ({
13883
+ }), i0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Cr(r) : ar(r);
13884
+ var Ar = /* @__PURE__ */ ((r) => (r.DEFAULT = "default", r.NO_GUTTER = "no-gutter", r.DIFF = "diff", r))(Ar || {}), E = /* @__PURE__ */ ((r) => (r.LIGHT = "light", r.DARK = "dark", r))(E || {}), e = /* @__PURE__ */ ((r) => (r.ADDED = "added", r.REMOVED = "removed", r.UNCHANGED = "unchanged", r))(e || {});
13885
+ const Wr = (r) => ({
13885
13886
  sm: {
13886
13887
  theme: E.DARK,
13887
13888
  backgroundColor: r.colors.gray[25],
@@ -14036,7 +14037,7 @@ const Ar = (r) => ({
14036
14037
  }
14037
14038
  }
14038
14039
  }
14039
- }), Wr = (r) => ({
14040
+ }), Gr = (r) => ({
14040
14041
  sm: {
14041
14042
  backgroundColor: r.colors.gray[25],
14042
14043
  border: `1px solid ${r.colors.gray[200]}`,
@@ -14191,9 +14192,9 @@ const Ar = (r) => ({
14191
14192
  }
14192
14193
  }
14193
14194
  }
14194
- }), i0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Ar(r) : Wr(r);
14195
- var b = /* @__PURE__ */ ((r) => (r.SM = "sm", r.MD = "md", r.LG = "lg", r))(b || {}), Gr = /* @__PURE__ */ ((r) => (r.LINEAR = "linear", r.CIRCULAR = "circular", r))(Gr || {}), i = /* @__PURE__ */ ((r) => (r.SOLID = "solid", r.SEGMENTED = "segmented", r))(i || {});
14196
- const Br = (r) => ({
14195
+ }), p0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Wr(r) : Gr(r);
14196
+ var b = /* @__PURE__ */ ((r) => (r.SM = "sm", r.MD = "md", r.LG = "lg", r))(b || {}), Br = /* @__PURE__ */ ((r) => (r.LINEAR = "linear", r.CIRCULAR = "circular", r))(Br || {}), i = /* @__PURE__ */ ((r) => (r.SOLID = "solid", r.SEGMENTED = "segmented", r))(i || {});
14197
+ const Mr = (r) => ({
14197
14198
  sm: {
14198
14199
  linear: {
14199
14200
  height: {
@@ -14384,7 +14385,7 @@ const Br = (r) => ({
14384
14385
  },
14385
14386
  transition: "width 0.3s ease-in-out"
14386
14387
  }
14387
- }), Mr = (r) => ({
14388
+ }), Fr = (r) => ({
14388
14389
  sm: {
14389
14390
  linear: {
14390
14391
  height: {
@@ -14575,7 +14576,7 @@ const Br = (r) => ({
14575
14576
  },
14576
14577
  transition: "width 0.3s ease-in-out"
14577
14578
  }
14578
- }), p0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Br(r) : Mr(r), Fr = (r) => ({
14579
+ }), e0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Mr(r) : Fr(r), Ur = (r) => ({
14579
14580
  sm: {
14580
14581
  gap: r.unit[0],
14581
14582
  item: {
@@ -14624,7 +14625,7 @@ const Br = (r) => ({
14624
14625
  color: r.colors.gray[400]
14625
14626
  }
14626
14627
  }
14627
- }), Ur = (r) => ({
14628
+ }), Xr = (r) => ({
14628
14629
  sm: {
14629
14630
  gap: r.unit[0],
14630
14631
  item: {
@@ -14673,21 +14674,21 @@ const Br = (r) => ({
14673
14674
  color: r.colors.gray[600]
14674
14675
  }
14675
14676
  }
14676
- }), e0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Ur(r) : Fr(r);
14677
+ }), y0 = (r, c = h.LIGHT) => c === h.DARK || c === "dark" ? Xr(r) : Ur(r);
14677
14678
  export {
14678
- xr as $,
14679
+ E as $,
14679
14680
  V as A,
14680
14681
  p as B,
14681
14682
  x as C,
14682
- B as D,
14683
- G as E,
14684
- Xr as F,
14683
+ F as D,
14684
+ M as E,
14685
+ _r as F,
14685
14686
  S as G,
14686
14687
  n as H,
14687
14688
  rr as I,
14688
14689
  s as J,
14689
14690
  z as K,
14690
- Gr as L,
14691
+ Br as L,
14691
14692
  m as M,
14692
14693
  b as N,
14693
14694
  d as O,
@@ -14702,35 +14703,37 @@ export {
14702
14703
  l as X,
14703
14704
  t as Y,
14704
14705
  R as Z,
14705
- O as _,
14706
- qr as a,
14707
- v as a0,
14708
- ar as a1,
14709
- E as a2,
14710
- j as a3,
14711
- _r as b,
14712
- s0 as c,
14713
- kr as d,
14714
- or as e,
14706
+ Ar as _,
14707
+ Vr as a,
14708
+ xr as a0,
14709
+ v as a1,
14710
+ O as a2,
14711
+ wr as a3,
14712
+ j as a4,
14713
+ e as a5,
14714
+ Pr as b,
14715
+ g0 as c,
14716
+ nr as d,
14717
+ Tr as e,
14715
14718
  Yr as f,
14716
- Kr as g,
14717
- t0 as h,
14718
- l0 as i,
14719
- Qr as j,
14720
- Zr as k,
14721
- dr as l,
14722
- g0 as m,
14723
- p0 as n,
14724
- c0 as o,
14725
- ur as p,
14726
- Vr as q,
14727
- r0 as r,
14728
- i0 as s,
14729
- nr as t,
14730
- Tr as u,
14731
- e0 as v,
14732
- fr as w,
14733
- Jr as x,
14734
- jr as y,
14735
- Pr as z
14719
+ qr as g,
14720
+ i0 as h,
14721
+ s0 as i,
14722
+ Zr as j,
14723
+ dr as k,
14724
+ ur as l,
14725
+ c0 as m,
14726
+ e0 as n,
14727
+ t0 as o,
14728
+ fr as p,
14729
+ Jr as q,
14730
+ l0 as r,
14731
+ p0 as s,
14732
+ r0 as t,
14733
+ kr as u,
14734
+ y0 as v,
14735
+ or as w,
14736
+ jr as x,
14737
+ Qr as y,
14738
+ Kr as z
14736
14739
  };