@saas-ui/react 3.0.0-alpha.18 → 3.0.0-alpha.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -43,6 +43,7 @@ __export(src_exports, {
43
43
  EmptyState: () => EmptyState,
44
44
  GridList: () => grid_list_exports,
45
45
  IconBadge: () => IconBadge,
46
+ IconButton: () => import_react123.IconButton,
46
47
  InputGroup: () => InputGroup,
47
48
  Link: () => Link,
48
49
  LoadingOverlay: () => loading_overlay_exports,
@@ -67,7 +68,7 @@ __export(src_exports, {
67
68
  Switch: () => Switch,
68
69
  Toaster: () => Toaster,
69
70
  Tooltip: () => Tooltip,
70
- createSystem: () => import_react163.createSystem,
71
+ createSystem: () => import_react164.createSystem,
71
72
  defaultConfig: () => defaultConfig,
72
73
  defaultPresenceOptions: () => defaultPresenceOptions,
73
74
  defaultSystem: () => defaultSystem,
@@ -165,7 +166,8 @@ var conditions = (0, import_react2.defineConditions)({
165
166
  groupChecked: ".group:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &, [role=group]:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &",
166
167
  groupExpanded: ".group:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &, [role=group]:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &",
167
168
  groupInvalid: ".group:invalid &, [role=group]:invalid &",
168
- parentHover: "button:hover > &, a:hover > &"
169
+ parentHover: "button:hover &, a:hover &, [role=button]:hover &",
170
+ pressable: "&:is(a, button, [role=button])"
169
171
  });
170
172
 
171
173
  // src/theme/global-css.ts
@@ -419,7 +421,7 @@ var buttonRecipe = (0, import_react5.defineRecipe)({
419
421
  sm: {
420
422
  gap: "2",
421
423
  h: "7",
422
- minW: "8",
424
+ minW: "7",
423
425
  textStyle: "sm",
424
426
  borderRadius: "md",
425
427
  px: "2.5"
@@ -532,10 +534,10 @@ var buttonRecipe = (0, import_react5.defineRecipe)({
532
534
  ghost: {
533
535
  color: "colorPalette.fg",
534
536
  _hover: {
535
- bg: "colorPalette.muted"
537
+ bg: "colorPalette.subtle"
536
538
  },
537
539
  _expanded: {
538
- bg: "colorPalette.muted"
540
+ bg: "colorPalette.subtle"
539
541
  }
540
542
  },
541
543
  plain: {
@@ -543,6 +545,14 @@ var buttonRecipe = (0, import_react5.defineRecipe)({
543
545
  }
544
546
  }
545
547
  },
548
+ compoundVariants: [
549
+ {
550
+ variant: "plain",
551
+ css: {
552
+ px: 0
553
+ }
554
+ }
555
+ ],
546
556
  defaultVariants: {
547
557
  size: "md",
548
558
  variant: "solid",
@@ -954,7 +964,14 @@ var inputRecipe = (0, import_react14.defineRecipe)({
954
964
  bg: "transparent",
955
965
  borderWidth: "1px",
956
966
  borderColor: "border",
957
- focusVisibleRing: "inside"
967
+ focusVisibleRing: "inside",
968
+ focusRingWidth: "0",
969
+ _hover: {
970
+ borderColor: "border.emphasized",
971
+ _focusVisible: {
972
+ borderColor: "var(--focus-ring-color)"
973
+ }
974
+ }
958
975
  },
959
976
  subtle: {
960
977
  borderWidth: "1px",
@@ -1157,9 +1174,7 @@ var radiomarkRecipe = (0, import_react19.defineRecipe)({
1157
1174
  borderRadius: "full",
1158
1175
  cursor: "radio",
1159
1176
  _focusVisible: {
1160
- outline: "2px solid",
1161
- outlineColor: "colorPalette.focusRing",
1162
- outlineOffset: "2px"
1177
+ focusVisibleRing: "outside"
1163
1178
  },
1164
1179
  _invalid: {
1165
1180
  colorPalette: "red",
@@ -1435,29 +1450,29 @@ var textareaRecipe = (0, import_react24.defineRecipe)({
1435
1450
  borderRadius: "sm",
1436
1451
  textStyle: "xs",
1437
1452
  px: "2",
1438
- py: "1.5",
1439
- scrollPaddingBottom: "1.5"
1453
+ py: "1",
1454
+ scrollPaddingBottom: "1"
1440
1455
  },
1441
1456
  sm: {
1442
1457
  borderRadius: "sm",
1443
1458
  textStyle: "sm",
1444
1459
  px: "2.5",
1445
- py: "2",
1446
- scrollPaddingBottom: "2"
1460
+ py: "1.5",
1461
+ scrollPaddingBottom: "1.5"
1447
1462
  },
1448
1463
  md: {
1449
1464
  borderRadius: "md",
1450
1465
  textStyle: "sm",
1451
1466
  px: "3",
1452
- py: "2",
1453
- scrollPaddingBottom: "2"
1467
+ py: "1.5",
1468
+ scrollPaddingBottom: "1.5"
1454
1469
  },
1455
1470
  lg: {
1456
1471
  borderRadius: "md",
1457
1472
  textStyle: "md",
1458
1473
  px: "4",
1459
- py: "3",
1460
- scrollPaddingBottom: "3"
1474
+ py: "2",
1475
+ scrollPaddingBottom: "2"
1461
1476
  },
1462
1477
  xl: {
1463
1478
  borderRadius: "lg",
@@ -1472,7 +1487,8 @@ var textareaRecipe = (0, import_react24.defineRecipe)({
1472
1487
  bg: "transparent",
1473
1488
  borderWidth: "1px",
1474
1489
  borderColor: "border",
1475
- focusVisibleRing: "inside"
1490
+ focusVisibleRing: "inside",
1491
+ focusRingWidth: 0
1476
1492
  },
1477
1493
  subtle: {
1478
1494
  borderWidth: "1px",
@@ -1547,7 +1563,7 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
1547
1563
  },
1548
1564
  sidebar: {
1549
1565
  bg: {
1550
- value: { _light: "{colors.gray.50}", _dark: "{colors.gray.950}" }
1566
+ value: { _light: "{colors.gray.100}", _dark: "{colors.gray.900}" }
1551
1567
  },
1552
1568
  fg: {
1553
1569
  value: { _light: "{colors.gray.900}", _dark: "{colors.gray.200}" }
@@ -1557,7 +1573,7 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
1557
1573
  },
1558
1574
  accent: {
1559
1575
  bg: {
1560
- value: { _light: "{colors.gray.200/40}", _dark: "{colors.gray.900}" }
1576
+ value: { _light: "{colors.gray.200/80}", _dark: "{colors.gray.900}" }
1561
1577
  },
1562
1578
  fg: {
1563
1579
  value: { _light: "{colors.gray.900}", _dark: "{colors.gray.200}" }
@@ -1654,9 +1670,6 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
1654
1670
  value: { _light: "{colors.blue.500}", _dark: "{colors.blue.400}" }
1655
1671
  }
1656
1672
  },
1657
- focusRing: {
1658
- value: { _light: "{colors.blue.600/50}", _dark: "{colors.blue.500/50}" }
1659
- },
1660
1673
  accent: {
1661
1674
  contrast: {
1662
1675
  value: { _light: "white", _dark: "white" }
@@ -2201,44 +2214,50 @@ var import_react27 = require("@chakra-ui/react");
2201
2214
  var semanticShadows = import_react27.defineSemanticTokens.shadows({
2202
2215
  xs: {
2203
2216
  value: {
2204
- base: "0px 1px 2px {colors.blackAlpha.300}, 0px 0px 1px {colors.blackAlpha.100}",
2205
- _dark: "0px 1px 1px {colors.blackAlpha.800}, 0px 0px 1px inset {colors.whiteAlpha.300}"
2217
+ _light: "0px 1px 2px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/20}",
2218
+ _dark: "0px 1px 1px {black/64}, 0px 0px 1px inset {colors.gray.300/20}"
2206
2219
  }
2207
2220
  },
2208
2221
  sm: {
2209
2222
  value: {
2210
- base: "0px 4px 4px -1px {colors.blackAlpha.50}, 0px 0px 1px 1px {colors.blackAlpha.100}",
2211
- _dark: "0px 2px 4px {colors.blackAlpha.700}, 0px 0px 1px inset {colors.whiteAlpha.400}"
2223
+ _light: "0px 2px 4px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",
2224
+ _dark: "0px 2px 4px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"
2212
2225
  }
2213
2226
  },
2214
2227
  md: {
2215
2228
  value: {
2216
- base: "0px 4px 8px {colors.blackAlpha.300}, 0px 0px 1px {colors.blackAlpha.400}",
2217
- _dark: "0px 4px 8px {colors.blackAlpha.700}, 0px 0px 1px inset {colors.whiteAlpha.400}"
2229
+ _light: "0px 4px 8px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",
2230
+ _dark: "0px 4px 8px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"
2218
2231
  }
2219
2232
  },
2220
2233
  lg: {
2221
2234
  value: {
2222
- base: "0px 8px 16px {colors.blackAlpha.300}, 0px 0px 1px {colors.blackAlpha.400}",
2223
- _dark: "0px 8px 16px {colors.blackAlpha.700}, 0px 0px 1px inset {colors.whiteAlpha.400}"
2235
+ _light: "0px 8px 16px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",
2236
+ _dark: "0px 8px 16px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"
2224
2237
  }
2225
2238
  },
2226
2239
  xl: {
2227
2240
  value: {
2228
- base: "0px 16px 24px {colors.blackAlpha.300}, 0px 0px 1px {colors.blackAlpha.400}",
2229
- _dark: "0px 16px 24px {colors.blackAlpha.700}, 0px 0px 1px inset {colors.whiteAlpha.400}"
2241
+ _light: "0px 16px 24px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",
2242
+ _dark: "0px 16px 24px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"
2230
2243
  }
2231
2244
  },
2232
2245
  "2xl": {
2233
2246
  value: {
2234
- base: "0px 24px 40px {colors.blackAlpha.300}, 0px 0px 1px {colors.blackAlpha.400}",
2235
- _dark: "0px 24px 40px {colors.blackAlpha.700}, 0px 0px 1px inset {colors.whiteAlpha.400}"
2247
+ _light: "0px 24px 40px {colors.gray.900/16}, 0px 0px 1px {colors.gray.900/30}",
2248
+ _dark: "0px 24px 40px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"
2249
+ }
2250
+ },
2251
+ inner: {
2252
+ value: {
2253
+ _light: "inset 0 2px 4px 0 {black/5}",
2254
+ _dark: "inset 0 2px 4px 0 black"
2236
2255
  }
2237
2256
  },
2238
2257
  inset: {
2239
2258
  value: {
2240
- base: "inset 0 0 0 1px {colors.blackAlpha.100}",
2241
- _dark: "inset 0 0 0 1px {colors.whiteAlpha.100}"
2259
+ _light: "inset 0 1px 2px 0 {black/5}",
2260
+ _dark: "inset 0 1px 2px 0 {colors.gray.300/5}"
2242
2261
  }
2243
2262
  }
2244
2263
  });
@@ -2602,7 +2621,8 @@ var baseStyleLabel = (0, import_react32.defineStyle)({
2602
2621
  overflow: "hidden",
2603
2622
  whiteSpace: "nowrap",
2604
2623
  textOverflow: "ellipsis",
2605
- minW: 0
2624
+ minW: 0,
2625
+ color: "fg"
2606
2626
  });
2607
2627
  var personaSlotRecipe = (0, import_react32.defineSlotRecipe)({
2608
2628
  className: "sui-persona",
@@ -2645,11 +2665,11 @@ var personaSlotRecipe = (0, import_react32.defineSlotRecipe)({
2645
2665
  label: baseStyleLabel,
2646
2666
  secondaryLabel: {
2647
2667
  ...baseStyleLabel,
2648
- color: "fg.muted"
2668
+ color: "fg/60"
2649
2669
  },
2650
2670
  tertiaryLabel: {
2651
2671
  ...baseStyleLabel,
2652
- color: "fg.muted"
2672
+ color: "fg/60"
2653
2673
  }
2654
2674
  },
2655
2675
  variants: {
@@ -2726,7 +2746,8 @@ var sidebarNavItemSlotRecipe = (0, import_react33.defineSlotRecipe)({
2726
2746
  cursor: "button",
2727
2747
  transitionProperty: "common",
2728
2748
  transitionDuration: "fast",
2729
- focusVisibleRing: "outside",
2749
+ focusVisibleRing: "inside",
2750
+ focusRingWidth: "1px",
2730
2751
  "& > svg": {
2731
2752
  boxSize: 4,
2732
2753
  color: "var(--sidebar-item-icon-color)"
@@ -2738,7 +2759,12 @@ var sidebarNavItemSlotRecipe = (0, import_react33.defineSlotRecipe)({
2738
2759
  endElement: {
2739
2760
  display: "flex",
2740
2761
  gap: "1px",
2741
- ms: "auto"
2762
+ ms: "auto",
2763
+ "& button": {
2764
+ _hover: {
2765
+ bg: "transparent"
2766
+ }
2767
+ }
2742
2768
  }
2743
2769
  },
2744
2770
  variants: {
@@ -2882,7 +2908,10 @@ var sidebarSlotRecipe = (0, import_react34.defineSlotRecipe)({
2882
2908
  },
2883
2909
  groupEndElement: {
2884
2910
  "& > button": {
2885
- boxSize: 6
2911
+ boxSize: 6,
2912
+ _hover: {
2913
+ bg: "transparent"
2914
+ }
2886
2915
  }
2887
2916
  },
2888
2917
  groupContent: {
@@ -2993,11 +3022,6 @@ var sidebarSlotRecipe = (0, import_react34.defineSlotRecipe)({
2993
3022
  },
2994
3023
  compact: {}
2995
3024
  },
2996
- variant: {
2997
- muted: {},
2998
- solid: {},
2999
- subtle: {}
3000
- },
3001
3025
  size: {
3002
3026
  md: {
3003
3027
  header: {
@@ -3017,7 +3041,6 @@ var sidebarSlotRecipe = (0, import_react34.defineSlotRecipe)({
3017
3041
  },
3018
3042
  defaultVariants: {
3019
3043
  mode: "collapsible",
3020
- variant: "muted",
3021
3044
  size: "md"
3022
3045
  }
3023
3046
  });
@@ -3685,7 +3708,7 @@ var cardSlotRecipe = (0, import_react41.defineSlotRecipe)({
3685
3708
  position: "relative",
3686
3709
  minWidth: "0",
3687
3710
  wordWrap: "break-word",
3688
- borderRadius: "l3",
3711
+ borderRadius: "lg",
3689
3712
  color: "fg",
3690
3713
  textAlign: "start"
3691
3714
  },
@@ -3697,14 +3720,15 @@ var cardSlotRecipe = (0, import_react41.defineSlotRecipe)({
3697
3720
  fontSize: "sm"
3698
3721
  },
3699
3722
  header: {
3700
- paddingInline: "var(--card-padding)",
3701
- paddingTop: "var(--card-padding)",
3723
+ padding: "var(--card-padding)",
3724
+ paddingBlock: "calc(var(--card-padding) / 1.5)",
3702
3725
  display: "flex",
3703
3726
  flexDirection: "column",
3704
3727
  gap: "1.5"
3705
3728
  },
3706
3729
  body: {
3707
3730
  padding: "var(--card-padding)",
3731
+ paddingBlock: "calc(var(--card-padding) / 1.5)",
3708
3732
  flex: "1",
3709
3733
  display: "flex",
3710
3734
  flexDirection: "column"
@@ -3713,15 +3737,15 @@ var cardSlotRecipe = (0, import_react41.defineSlotRecipe)({
3713
3737
  display: "flex",
3714
3738
  alignItems: "center",
3715
3739
  gap: "2",
3716
- paddingInline: "var(--card-padding)",
3717
- paddingBottom: "var(--card-padding)"
3740
+ padding: "var(--card-padding)",
3741
+ paddingBlock: "calc(var(--card-padding) / 1.5)"
3718
3742
  }
3719
3743
  },
3720
3744
  variants: {
3721
3745
  size: {
3722
3746
  sm: {
3723
3747
  root: {
3724
- "--card-padding": "spacing.4"
3748
+ "--card-padding": "spacing.2"
3725
3749
  },
3726
3750
  title: {
3727
3751
  textStyle: "md"
@@ -3729,7 +3753,7 @@ var cardSlotRecipe = (0, import_react41.defineSlotRecipe)({
3729
3753
  },
3730
3754
  md: {
3731
3755
  root: {
3732
- "--card-padding": "spacing.6"
3756
+ "--card-padding": "spacing.3"
3733
3757
  },
3734
3758
  title: {
3735
3759
  textStyle: "lg"
@@ -3737,7 +3761,7 @@ var cardSlotRecipe = (0, import_react41.defineSlotRecipe)({
3737
3761
  },
3738
3762
  lg: {
3739
3763
  root: {
3740
- "--card-padding": "spacing.7"
3764
+ "--card-padding": "spacing.6"
3741
3765
  },
3742
3766
  title: {
3743
3767
  textStyle: "xl"
@@ -3748,19 +3772,41 @@ var cardSlotRecipe = (0, import_react41.defineSlotRecipe)({
3748
3772
  elevated: {
3749
3773
  root: {
3750
3774
  bg: "bg.panel",
3751
- boxShadow: "md"
3775
+ boxShadow: "md",
3776
+ borderWidth: "0.5px",
3777
+ borderColor: "border",
3778
+ _pressable: {
3779
+ transitionProperty: "common",
3780
+ transitionDuration: "fast",
3781
+ _hover: {
3782
+ borderColor: "border.emphasized"
3783
+ }
3784
+ }
3752
3785
  }
3753
3786
  },
3754
3787
  outline: {
3755
3788
  root: {
3756
3789
  bg: "bg.panel",
3757
3790
  borderWidth: "1px",
3758
- borderColor: "border"
3791
+ borderColor: "border",
3792
+ _pressable: {
3793
+ transitionProperty: "common",
3794
+ transitionDuration: "fast",
3795
+ _hover: {
3796
+ borderColor: "border.emphasized"
3797
+ }
3798
+ }
3759
3799
  }
3760
3800
  },
3761
3801
  subtle: {
3762
3802
  root: {
3763
- bg: "bg.muted"
3803
+ bg: "colorPalette.muted"
3804
+ }
3805
+ },
3806
+ solid: {
3807
+ root: {
3808
+ bg: "colorPalette.solid",
3809
+ color: "colorPalette.contrast"
3764
3810
  }
3765
3811
  }
3766
3812
  }
@@ -4047,14 +4093,14 @@ var collapsibleSlotRecipe = (0, import_react44.defineSlotRecipe)({
4047
4093
  className: "chakra-collapsible",
4048
4094
  base: {
4049
4095
  content: {
4050
- overflow: "hidden",
4051
4096
  _open: {
4052
4097
  animationName: "expand-height, fade-in",
4053
4098
  animationDuration: "moderate"
4054
4099
  },
4055
4100
  _closed: {
4056
4101
  animationName: "collapse-height, fade-out",
4057
- animationDuration: "moderate"
4102
+ animationDuration: "moderate",
4103
+ overflow: "hidden"
4058
4104
  }
4059
4105
  }
4060
4106
  }
@@ -4649,7 +4695,12 @@ var emptyStateSlotRecipe = (0, import_react49.defineSlotRecipe)({
4649
4695
  className: "chakra-empty-state",
4650
4696
  base: {
4651
4697
  root: {
4652
- width: "full"
4698
+ width: "full",
4699
+ height: "full",
4700
+ display: "flex",
4701
+ flexDirection: "column",
4702
+ alignItems: "center",
4703
+ justifyContent: "center"
4653
4704
  },
4654
4705
  content: {
4655
4706
  display: "flex",
@@ -4780,12 +4831,21 @@ var fieldSlotRecipe = (0, import_react50.defineSlotRecipe)({
4780
4831
  },
4781
4832
  horizontal: {
4782
4833
  root: {
4783
- flexDirection: "row",
4834
+ display: "grid",
4835
+ gridTemplateColumns: "var(--field-label-width, 8rem) 1fr",
4784
4836
  alignItems: "center",
4785
- justifyContent: "space-between"
4837
+ "&:has(textarea)": {
4838
+ alignItems: "flex-start",
4839
+ "& label": {
4840
+ pt: 1.5
4841
+ }
4842
+ }
4786
4843
  },
4787
- label: {
4788
- flex: "0 0 var(--field-label-width, 80px)"
4844
+ helperText: {
4845
+ gridColumn: 2
4846
+ },
4847
+ errorText: {
4848
+ gridColumn: 2
4789
4849
  }
4790
4850
  }
4791
4851
  }
@@ -5172,6 +5232,7 @@ var selectSlotRecipe = (0, import_react55.defineSlotRecipe)({
5172
5232
  userSelect: "none",
5173
5233
  textAlign: "start",
5174
5234
  focusVisibleRing: "inside",
5235
+ focusRingWidth: 0,
5175
5236
  _placeholderShown: {
5176
5237
  color: "fg.muted"
5177
5238
  },
@@ -5180,6 +5241,12 @@ var selectSlotRecipe = (0, import_react55.defineSlotRecipe)({
5180
5241
  },
5181
5242
  _invalid: {
5182
5243
  borderColor: "border.error"
5244
+ },
5245
+ _hover: {
5246
+ borderColor: "border.emphasized",
5247
+ _focusVisible: {
5248
+ borderColor: "var(--focus-ring-color)"
5249
+ }
5183
5250
  }
5184
5251
  },
5185
5252
  indicatorGroup: {
@@ -5614,7 +5681,8 @@ var numberInputSlotRecipe = (0, import_react57.defineSlotRecipe)({
5614
5681
  root: {
5615
5682
  position: "relative",
5616
5683
  zIndex: "0",
5617
- isolation: "isolate"
5684
+ isolation: "isolate",
5685
+ width: "full"
5618
5686
  },
5619
5687
  input: {
5620
5688
  ...inputRecipe.base,
@@ -6391,15 +6459,16 @@ var segmentGroupSlotRecipe = (0, import_react65.defineSlotRecipe)({
6391
6459
  slots: import_anatomy31.segmentGroupAnatomy.keys(),
6392
6460
  base: {
6393
6461
  root: {
6394
- "--segment-radius": "radii.l2",
6395
- borderRadius: "l2",
6462
+ "--segment-radius": "radii.md",
6463
+ borderRadius: "md",
6396
6464
  display: "inline-flex",
6397
6465
  boxShadow: "inset",
6398
6466
  minW: "max-content",
6399
6467
  textAlign: "center",
6400
6468
  position: "relative",
6401
6469
  isolation: "isolate",
6402
- bg: "bg.muted"
6470
+ bg: "bg.muted",
6471
+ borderWidth: "1px"
6403
6472
  },
6404
6473
  item: {
6405
6474
  display: "flex",
@@ -6407,23 +6476,31 @@ var segmentGroupSlotRecipe = (0, import_react65.defineSlotRecipe)({
6407
6476
  userSelect: "none",
6408
6477
  fontSize: "sm",
6409
6478
  position: "relative",
6410
- color: "fg",
6479
+ color: "fg.subtle",
6480
+ cursor: "button",
6411
6481
  borderRadius: "var(--segment-radius)",
6412
6482
  _disabled: {
6413
6483
  opacity: "0.5"
6414
6484
  },
6485
+ _hover: {
6486
+ color: "fg"
6487
+ },
6415
6488
  "&:has(input:focus-visible)": {
6416
- focusRing: "outside"
6489
+ focusRing: "inside",
6490
+ focusRingWidth: "1px"
6417
6491
  },
6418
6492
  _before: {
6419
6493
  content: '""',
6420
6494
  position: "absolute",
6421
6495
  insetInlineStart: 0,
6422
- insetBlock: "1.5",
6496
+ insetBlock: "0",
6423
6497
  bg: "border",
6424
6498
  width: "1px",
6425
6499
  transition: "opacity 0.2s"
6426
6500
  },
6501
+ _checked: {
6502
+ color: "fg"
6503
+ },
6427
6504
  "& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type": {
6428
6505
  _before: {
6429
6506
  opacity: "0"
@@ -6432,13 +6509,17 @@ var segmentGroupSlotRecipe = (0, import_react65.defineSlotRecipe)({
6432
6509
  "&[data-state=checked][data-ssr]": {
6433
6510
  shadow: "sm",
6434
6511
  bg: "bg",
6512
+ color: "fg",
6435
6513
  borderRadius: "var(--segment-radius)"
6436
6514
  }
6437
6515
  },
6438
6516
  indicator: {
6439
6517
  shadow: "sm",
6440
6518
  pos: "absolute",
6441
- bg: { _light: "bg", _dark: "bg.emphasized" },
6519
+ bg: {
6520
+ base: "bg",
6521
+ _dark: "bg.emphasized"
6522
+ },
6442
6523
  width: "var(--width)",
6443
6524
  height: "var(--height)",
6444
6525
  top: "var(--top)",
@@ -6461,7 +6542,7 @@ var segmentGroupSlotRecipe = (0, import_react65.defineSlotRecipe)({
6461
6542
  },
6462
6543
  sm: {
6463
6544
  root: {
6464
- height: "8"
6545
+ height: "7"
6465
6546
  },
6466
6547
  item: {
6467
6548
  textStyle: "sm",
@@ -6471,7 +6552,7 @@ var segmentGroupSlotRecipe = (0, import_react65.defineSlotRecipe)({
6471
6552
  },
6472
6553
  md: {
6473
6554
  root: {
6474
- height: "10"
6555
+ height: "8"
6475
6556
  },
6476
6557
  item: {
6477
6558
  textStyle: "sm",
@@ -7070,9 +7151,7 @@ var switchSlotRecipe = (0, import_react70.defineSlotRecipe)({
7070
7151
  cursor: "not-allowed"
7071
7152
  },
7072
7153
  _invalid: {
7073
- outline: "2px solid",
7074
- outlineColor: "border.error",
7075
- outlineOffset: "2px"
7154
+ focusRingColor: "border.error"
7076
7155
  }
7077
7156
  },
7078
7157
  thumb: {
@@ -7377,8 +7456,7 @@ var tabsSlotRecipe = (0, import_react72.defineSlotRecipe)({
7377
7456
  gap: "2",
7378
7457
  _focusVisible: {
7379
7458
  zIndex: 1,
7380
- outline: "2px solid",
7381
- outlineColor: "colorPalette.focusRing"
7459
+ focusVisibleRing: "outside"
7382
7460
  },
7383
7461
  _disabled: {
7384
7462
  cursor: "not-allowed",
@@ -8907,12 +8985,67 @@ var zIndices = import_react95.defineTokens.zIndex({
8907
8985
  max: { value: 2147483647 }
8908
8986
  });
8909
8987
 
8988
+ // src/theme/utilities.ts
8989
+ var createFocusRing = (selector) => {
8990
+ return {
8991
+ values: ["outside", "inside", "mixed", "none"],
8992
+ transform(value, { token }) {
8993
+ var _a8;
8994
+ const focusRingColor = token("colors.colorPalette.focusRing");
8995
+ const styles = {
8996
+ inside: {
8997
+ "--focus-ring-color": focusRingColor,
8998
+ [selector]: {
8999
+ outlineOffset: "0px",
9000
+ outlineWidth: "var(--focus-ring-width, 0)",
9001
+ outlineColor: "var(--focus-ring-color)",
9002
+ outlineStyle: "var(--focus-ring-style, solid)",
9003
+ borderColor: "var(--focus-ring-color)"
9004
+ }
9005
+ },
9006
+ outside: {
9007
+ "--focus-ring-color": focusRingColor,
9008
+ [selector]: {
9009
+ outlineWidth: "var(--focus-ring-width, 1px)",
9010
+ outlineOffset: "var(--focus-ring-offset, 2px)",
9011
+ outlineStyle: "var(--focus-ring-style, solid)",
9012
+ outlineColor: "var(--focus-ring-color)"
9013
+ }
9014
+ },
9015
+ mixed: {
9016
+ "--focus-ring-color": focusRingColor,
9017
+ [selector]: {
9018
+ outlineWidth: "var(--focus-ring-width, 3px)",
9019
+ outlineStyle: "var(--focus-ring-style, solid)",
9020
+ outlineColor: "color-mix(in srgb, var(--focus-ring-color), transparent 60%)",
9021
+ borderColor: "var(--focus-ring-color)"
9022
+ }
9023
+ },
9024
+ none: {
9025
+ "--focus-ring-color": focusRingColor,
9026
+ [selector]: {
9027
+ outline: "none"
9028
+ }
9029
+ }
9030
+ };
9031
+ return (_a8 = styles[value]) != null ? _a8 : {};
9032
+ }
9033
+ };
9034
+ };
9035
+ var utilities = {
9036
+ focusRing: createFocusRing("&:is(:focus, [data-focus])"),
9037
+ focusVisibleRing: createFocusRing(
9038
+ "&:is(:focus-visible, [data-focus-visible])"
9039
+ )
9040
+ };
9041
+
8910
9042
  // src/theme/index.ts
8911
9043
  var defaultThemeConfig = (0, import_react96.defineConfig)({
8912
9044
  preflight: true,
8913
9045
  cssVarsPrefix: "chakra",
8914
9046
  cssVarsRoot: ":where(html, .chakra-theme)",
8915
9047
  globalCss,
9048
+ utilities,
8916
9049
  theme: {
8917
9050
  breakpoints,
8918
9051
  keyframes,
@@ -8951,10 +9084,15 @@ var defaultThemeConfig = (0, import_react96.defineConfig)({
8951
9084
 
8952
9085
  // src/preset.ts
8953
9086
  var defaultConfig = (0, import_react97.mergeConfigs)(import_react97.defaultBaseConfig, defaultThemeConfig);
9087
+ var _a7;
9088
+ defaultConfig.utilities = Object.assign(
9089
+ (_a7 = defaultConfig.utilities) != null ? _a7 : {},
9090
+ utilities
9091
+ );
8954
9092
  var defaultSystem = (0, import_react97.createSystem)(defaultConfig);
8955
9093
 
8956
9094
  // src/index.ts
8957
- var import_react163 = require("@chakra-ui/react");
9095
+ var import_react164 = require("@chakra-ui/react");
8958
9096
 
8959
9097
  // src/provider/sui-provider.tsx
8960
9098
  var React = __toESM(require("react"), 1);
@@ -9251,8 +9389,8 @@ var EllipsisIcon = createIcon({
9251
9389
  var import_jsx_runtime8 = require("react/jsx-runtime");
9252
9390
  var CloseButton = (0, import_react111.forwardRef)(
9253
9391
  function CloseButton2(props, ref) {
9254
- var _a7;
9255
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react112.IconButton, { variant: "ghost", "aria-label": "Close", ref, ...props, children: (_a7 = props.children) != null ? _a7 : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(CloseIcon, {}) });
9392
+ var _a8;
9393
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react112.IconButton, { variant: "ghost", "aria-label": "Close", ref, ...props, children: (_a8 = props.children) != null ? _a8 : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(CloseIcon, {}) });
9256
9394
  }
9257
9395
  );
9258
9396
 
@@ -9480,11 +9618,14 @@ var IconBadge = React2.forwardRef(
9480
9618
  }
9481
9619
  );
9482
9620
 
9621
+ // src/components/icon-button/index.ts
9622
+ var import_react123 = require("@chakra-ui/react");
9623
+
9483
9624
  // src/components/input-group/input-group.tsx
9484
- var import_react123 = require("react");
9485
- var import_react124 = require("@chakra-ui/react");
9625
+ var import_react124 = require("react");
9626
+ var import_react125 = require("@chakra-ui/react");
9486
9627
  var import_jsx_runtime14 = require("react/jsx-runtime");
9487
- var InputGroup = (0, import_react123.forwardRef)(
9628
+ var InputGroup = (0, import_react124.forwardRef)(
9488
9629
  function InputGroup2(props, ref) {
9489
9630
  const {
9490
9631
  startElement,
@@ -9494,26 +9635,26 @@ var InputGroup = (0, import_react123.forwardRef)(
9494
9635
  children,
9495
9636
  ...rest
9496
9637
  } = props;
9497
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_react124.Group, { ref, display: "flex", ...rest, children: [
9498
- startElement && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react124.InputElement, { pointerEvents: "none", ...startElementProps, children: startElement }),
9499
- (0, import_react123.isValidElement)(children) && (0, import_react123.cloneElement)(children, {
9638
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_react125.Group, { ref, display: "flex", ...rest, children: [
9639
+ startElement && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react125.InputElement, { pointerEvents: "none", ...startElementProps, children: startElement }),
9640
+ (0, import_react124.isValidElement)(children) && (0, import_react124.cloneElement)(children, {
9500
9641
  ...startElement && { ps: "calc(var(--input-height) - 6px)" },
9501
9642
  ...endElement && { pe: "calc(var(--input-height) - 6px)" },
9502
9643
  ...children.props
9503
9644
  }),
9504
- endElement && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react124.InputElement, { placement: "end", ...endElementProps, children: endElement })
9645
+ endElement && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react125.InputElement, { placement: "end", ...endElementProps, children: endElement })
9505
9646
  ] });
9506
9647
  }
9507
9648
  );
9508
9649
 
9509
9650
  // src/components/link/link.tsx
9510
- var import_react125 = __toESM(require("react"), 1);
9511
- var import_react126 = require("@chakra-ui/react");
9651
+ var import_react126 = __toESM(require("react"), 1);
9652
+ var import_react127 = require("@chakra-ui/react");
9512
9653
  var import_jsx_runtime15 = require("react/jsx-runtime");
9513
- var Link = import_react125.default.forwardRef(
9654
+ var Link = import_react126.default.forwardRef(
9514
9655
  (props, ref) => {
9515
9656
  const LinkComponent = useLink();
9516
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react126.Link, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(LinkComponent, { ref, ...props }) });
9657
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react127.Link, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(LinkComponent, { ref, ...props }) });
9517
9658
  }
9518
9659
  );
9519
9660
  Link.displayName = "Link";
@@ -9526,29 +9667,29 @@ __export(loading_overlay_exports, {
9526
9667
  Text: () => LoadingOverlayText
9527
9668
  });
9528
9669
  var import_presence = require("@ark-ui/react/presence");
9529
- var import_react130 = require("@chakra-ui/react");
9670
+ var import_react131 = require("@chakra-ui/react");
9530
9671
 
9531
9672
  // src/components/spinner/spinner.tsx
9532
- var import_react127 = require("react");
9533
- var import_react128 = require("@chakra-ui/react");
9673
+ var import_react128 = require("react");
9674
+ var import_react129 = require("@chakra-ui/react");
9534
9675
  var import_jsx_runtime16 = require("react/jsx-runtime");
9535
- var Spinner2 = (0, import_react127.forwardRef)(
9676
+ var Spinner2 = (0, import_react128.forwardRef)(
9536
9677
  function Spinner3(props, ref) {
9537
9678
  const { loading, children, ...rest } = props;
9538
9679
  if (loading === false) {
9539
9680
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_jsx_runtime16.Fragment, { children });
9540
9681
  }
9541
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_react128.Spinner, { ref, ...rest });
9682
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_react129.Spinner, { ref, ...rest });
9542
9683
  }
9543
9684
  );
9544
9685
 
9545
9686
  // src/components/loading-overlay/loading-overlay.context.ts
9546
- var import_react129 = require("@chakra-ui/react");
9687
+ var import_react130 = require("@chakra-ui/react");
9547
9688
  var {
9548
9689
  useStyles: useLoadingOverlayStyles,
9549
9690
  withContext: withContext4,
9550
9691
  withProvider: withProvider3
9551
- } = (0, import_react129.createSlotRecipeContext)({
9692
+ } = (0, import_react130.createSlotRecipeContext)({
9552
9693
  key: "suiLoadingOverlay"
9553
9694
  });
9554
9695
 
@@ -9557,7 +9698,7 @@ var import_jsx_runtime17 = require("react/jsx-runtime");
9557
9698
  var LoadingOverlay = (props) => {
9558
9699
  const { children, loading = true, ...rest } = props;
9559
9700
  const [presenceProps, rootProps] = (0, import_presence.splitPresenceProps)(rest);
9560
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_presence.Presence, { present: loading, ...presenceProps, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react130.chakra.div, { ...rootProps, children }) });
9701
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_presence.Presence, { present: loading, ...presenceProps, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react131.chakra.div, { ...rootProps, children }) });
9561
9702
  };
9562
9703
  var LoadingOverlayRoot = withProvider3(
9563
9704
  LoadingOverlay,
@@ -9579,16 +9720,16 @@ __export(navbar_exports, {
9579
9720
  Link: () => NavbarLink,
9580
9721
  Root: () => NavbarRoot
9581
9722
  });
9582
- var import_react132 = require("react");
9723
+ var import_react133 = require("react");
9583
9724
  var import_navbar = require("@saas-ui/core/navbar");
9584
9725
 
9585
9726
  // src/components/navbar/navbar.context.ts
9586
- var import_react131 = require("@chakra-ui/react");
9727
+ var import_react132 = require("@chakra-ui/react");
9587
9728
  var {
9588
9729
  withProvider: withProvider4,
9589
9730
  withContext: withContext5,
9590
9731
  useStyles: useNavbarStyles
9591
- } = (0, import_react131.createSlotRecipeContext)({
9732
+ } = (0, import_react132.createSlotRecipeContext)({
9592
9733
  key: "suiNavbar"
9593
9734
  });
9594
9735
 
@@ -9611,7 +9752,7 @@ var NavbarItem = withContext5(
9611
9752
  "item"
9612
9753
  );
9613
9754
  var NavbarLink = withContext5(
9614
- (0, import_react132.forwardRef)((props, ref) => {
9755
+ (0, import_react133.forwardRef)((props, ref) => {
9615
9756
  const Link2 = useLink();
9616
9757
  const { active, ...rest } = props;
9617
9758
  return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_navbar.Navbar.Link, { asChild: true, ...rest, ref, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Link2, { "data-active": active ? "" : void 0, ...props }) });
@@ -9623,10 +9764,10 @@ var NavbarLink = withContext5(
9623
9764
  );
9624
9765
 
9625
9766
  // src/components/number-input/number-input.tsx
9626
- var import_react133 = require("react");
9627
- var import_react134 = require("@chakra-ui/react");
9767
+ var import_react134 = require("react");
9768
+ var import_react135 = require("@chakra-ui/react");
9628
9769
  var import_jsx_runtime19 = require("react/jsx-runtime");
9629
- var NumberInput = (0, import_react133.forwardRef)(
9770
+ var NumberInput = (0, import_react134.forwardRef)(
9630
9771
  function NumberInput2(props, ref) {
9631
9772
  const {
9632
9773
  hideControls,
@@ -9636,11 +9777,19 @@ var NumberInput = (0, import_react133.forwardRef)(
9636
9777
  rootRef,
9637
9778
  ...rest
9638
9779
  } = props;
9639
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_react134.NumberInput.Root, { ref: rootRef, ...rest, children: [
9640
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(InputGroup, { startElement, endElement, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react134.NumberInput.Input, { ref, ...inputProps }) }),
9641
- !hideControls && !endElement ? /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_react134.NumberInput.Control, { children: [
9642
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react134.NumberInput.IncrementTrigger, {}),
9643
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react134.NumberInput.DecrementTrigger, {})
9780
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_react135.NumberInput.Root, { ref: rootRef, ...rest, children: [
9781
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
9782
+ InputGroup,
9783
+ {
9784
+ startElement,
9785
+ endElement,
9786
+ width: "full",
9787
+ children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react135.NumberInput.Input, { ref, ...inputProps })
9788
+ }
9789
+ ),
9790
+ !hideControls && !endElement ? /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_react135.NumberInput.Control, { children: [
9791
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react135.NumberInput.IncrementTrigger, {}),
9792
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react135.NumberInput.DecrementTrigger, {})
9644
9793
  ] }) : null
9645
9794
  ] });
9646
9795
  }
@@ -9666,68 +9815,68 @@ __export(menu_exports, {
9666
9815
  Trigger: () => MenuTrigger,
9667
9816
  TriggerItem: () => MenuTriggerItem
9668
9817
  });
9669
- var import_react135 = require("react");
9670
- var import_react136 = require("@chakra-ui/react");
9818
+ var import_react136 = require("react");
9819
+ var import_react137 = require("@chakra-ui/react");
9671
9820
  var import_jsx_runtime20 = require("react/jsx-runtime");
9672
- var MenuContent = (0, import_react135.forwardRef)(
9821
+ var MenuContent = (0, import_react136.forwardRef)(
9673
9822
  function MenuContent2(props, ref) {
9674
9823
  const { portalled = true, portalRef, ...rest } = props;
9675
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react136.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react136.Menu.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react136.Menu.Content, { ref, ...rest }) }) });
9824
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.Content, { ref, ...rest }) }) });
9676
9825
  }
9677
9826
  );
9678
- var MenuArrow = (0, import_react135.forwardRef)(
9827
+ var MenuArrow = (0, import_react136.forwardRef)(
9679
9828
  function MenuArrow2(props, ref) {
9680
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react136.Menu.Arrow, { ref, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react136.Menu.ArrowTip, {}) });
9829
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.Arrow, { ref, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.ArrowTip, {}) });
9681
9830
  }
9682
9831
  );
9683
- var MenuCheckboxItem = (0, import_react135.forwardRef)(function MenuCheckboxItem2(props, ref) {
9684
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_react136.Menu.CheckboxItem, { ref, ...props, children: [
9685
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react136.Menu.ItemIndicator, { hidden: false, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CheckIcon, {}) }),
9832
+ var MenuCheckboxItem = (0, import_react136.forwardRef)(function MenuCheckboxItem2(props, ref) {
9833
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_react137.Menu.CheckboxItem, { ref, ...props, children: [
9834
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.ItemIndicator, { hidden: false, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CheckIcon, {}) }),
9686
9835
  props.children
9687
9836
  ] });
9688
9837
  });
9689
- var MenuRadioItem = (0, import_react135.forwardRef)(
9838
+ var MenuRadioItem = (0, import_react136.forwardRef)(
9690
9839
  function MenuRadioItem2(props, ref) {
9691
9840
  const { children, ...rest } = props;
9692
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_react136.Menu.RadioItem, { ps: "8", ref, ...rest, children: [
9693
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react136.AbsoluteCenter, { axis: "horizontal", left: "4", asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react136.Menu.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CheckIcon, {}) }) }),
9694
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react136.Menu.ItemText, { children })
9841
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_react137.Menu.RadioItem, { ps: "8", ref, ...rest, children: [
9842
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.AbsoluteCenter, { axis: "horizontal", left: "4", asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CheckIcon, {}) }) }),
9843
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.ItemText, { children })
9695
9844
  ] });
9696
9845
  }
9697
9846
  );
9698
- var MenuItemGroup = (0, import_react135.forwardRef)(
9847
+ var MenuItemGroup = (0, import_react136.forwardRef)(
9699
9848
  function MenuItemGroup2(props, ref) {
9700
9849
  const { title, children, ...rest } = props;
9701
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_react136.Menu.ItemGroup, { ref, ...rest, children: [
9702
- title && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react136.Menu.ItemGroupLabel, { userSelect: "none", children: title }),
9850
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_react137.Menu.ItemGroup, { ref, ...rest, children: [
9851
+ title && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.ItemGroupLabel, { userSelect: "none", children: title }),
9703
9852
  children
9704
9853
  ] });
9705
9854
  }
9706
9855
  );
9707
- var MenuTriggerItem = (0, import_react135.forwardRef)(
9856
+ var MenuTriggerItem = (0, import_react136.forwardRef)(
9708
9857
  function MenuTriggerItem2(props, ref) {
9709
9858
  const { startIcon, children, ...rest } = props;
9710
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_react136.Menu.TriggerItem, { ref, ...rest, children: [
9859
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_react137.Menu.TriggerItem, { ref, ...rest, children: [
9711
9860
  startIcon,
9712
9861
  children,
9713
9862
  /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ChevronRightIcon, {})
9714
9863
  ] });
9715
9864
  }
9716
9865
  );
9717
- var MenuButton = (0, import_react135.forwardRef)(
9866
+ var MenuButton = (0, import_react136.forwardRef)(
9718
9867
  function MenuButton2(props, ref) {
9719
9868
  return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(MenuTrigger, { ref, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Button, { ...props }) });
9720
9869
  }
9721
9870
  );
9722
- var MenuRadioItemGroup = import_react136.Menu.RadioItemGroup;
9723
- var MenuContextTrigger = import_react136.Menu.ContextTrigger;
9724
- var MenuRoot = import_react136.Menu.Root;
9725
- var MenuSeparator = import_react136.Menu.Separator;
9726
- var MenuContext = import_react136.Menu.Context;
9727
- var MenuItem = import_react136.Menu.Item;
9728
- var MenuItemText = import_react136.Menu.ItemText;
9729
- var MenuItemCommand = import_react136.Menu.ItemCommand;
9730
- var MenuTrigger = import_react136.Menu.Trigger;
9871
+ var MenuRadioItemGroup = import_react137.Menu.RadioItemGroup;
9872
+ var MenuContextTrigger = import_react137.Menu.ContextTrigger;
9873
+ var MenuRoot = import_react137.Menu.Root;
9874
+ var MenuSeparator = import_react137.Menu.Separator;
9875
+ var MenuContext = import_react137.Menu.Context;
9876
+ var MenuItem = import_react137.Menu.Item;
9877
+ var MenuItemText = import_react137.Menu.ItemText;
9878
+ var MenuItemCommand = import_react137.Menu.ItemCommand;
9879
+ var MenuTrigger = import_react137.Menu.Trigger;
9731
9880
 
9732
9881
  // src/components/pagination/pagination.tsx
9733
9882
  var pagination_exports = {};
@@ -9743,10 +9892,10 @@ __export(pagination_exports, {
9743
9892
  PrevTrigger: () => PrevTrigger,
9744
9893
  Root: () => Root
9745
9894
  });
9746
- var import_react137 = require("react");
9747
- var import_react138 = require("@chakra-ui/react");
9895
+ var import_react138 = require("react");
9896
+ var import_react139 = require("@chakra-ui/react");
9748
9897
  var import_jsx_runtime21 = require("react/jsx-runtime");
9749
- var [RootPropsProvider, useRootProps] = (0, import_react138.createContext)({
9898
+ var [RootPropsProvider, useRootProps] = (0, import_react139.createContext)({
9750
9899
  name: "RootPropsProvider"
9751
9900
  });
9752
9901
  var variantMap = {
@@ -9754,66 +9903,66 @@ var variantMap = {
9754
9903
  solid: { default: "outline", ellipsis: "outline", current: "solid" },
9755
9904
  subtle: { default: "ghost", ellipsis: "plain", current: "subtle" }
9756
9905
  };
9757
- var Root = (0, import_react137.forwardRef)(
9906
+ var Root = (0, import_react138.forwardRef)(
9758
9907
  function PaginationRoot(props, ref) {
9759
9908
  const { size = "sm", variant = "outline", ...rest } = props;
9760
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(RootPropsProvider, { value: { size, variantMap: variantMap[variant] }, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react138.Pagination.Root, { ref, type: "button", ...rest }) });
9909
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(RootPropsProvider, { value: { size, variantMap: variantMap[variant] }, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react139.Pagination.Root, { ref, type: "button", ...rest }) });
9761
9910
  }
9762
9911
  );
9763
- var Ellipsis = (0, import_react137.forwardRef)(function PaginationEllipsis(props, ref) {
9764
- var _a7;
9912
+ var Ellipsis = (0, import_react138.forwardRef)(function PaginationEllipsis(props, ref) {
9913
+ var _a8;
9765
9914
  const { size, variantMap: variantMap2 } = useRootProps();
9766
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react138.Pagination.Ellipsis, { ref, ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react138.Button, { as: "span", variant: variantMap2.ellipsis, size, children: (_a7 = props.children) != null ? _a7 : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(EllipsisIcon, {}) }) });
9915
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react139.Pagination.Ellipsis, { ref, ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react139.Button, { as: "span", variant: variantMap2.ellipsis, size, children: (_a8 = props.children) != null ? _a8 : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(EllipsisIcon, {}) }) });
9767
9916
  });
9768
- var Item = (0, import_react137.forwardRef)(
9917
+ var Item = (0, import_react138.forwardRef)(
9769
9918
  function PaginationItem(props, ref) {
9770
- const { page } = (0, import_react138.usePaginationContext)();
9919
+ const { page } = (0, import_react139.usePaginationContext)();
9771
9920
  const { size, variantMap: variantMap2 } = useRootProps();
9772
9921
  const current = page === props.value;
9773
9922
  const variant = current ? variantMap2.current : variantMap2.default;
9774
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react138.Pagination.Item, { ref, ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react138.Button, { variant, size, children: props.value }) });
9923
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react139.Pagination.Item, { ref, ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react139.Button, { variant, size, children: props.value }) });
9775
9924
  }
9776
9925
  );
9777
- var PrevButton = (0, import_react137.forwardRef)(function PaginationPrevTrigger(props, ref) {
9778
- var _a7;
9926
+ var PrevButton = (0, import_react138.forwardRef)(function PaginationPrevTrigger(props, ref) {
9927
+ var _a8;
9779
9928
  const { size, variantMap: variantMap2 } = useRootProps();
9780
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react138.Pagination.PrevTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react138.IconButton, { variant: variantMap2.default, size, children: (_a7 = props.children) != null ? _a7 : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ChevronLeftIcon, {}) }) });
9929
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react139.Pagination.PrevTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react139.IconButton, { variant: variantMap2.default, size, children: (_a8 = props.children) != null ? _a8 : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ChevronLeftIcon, {}) }) });
9781
9930
  });
9782
- var NextButton = (0, import_react137.forwardRef)(function PaginationNextTrigger(props, ref) {
9783
- var _a7;
9931
+ var NextButton = (0, import_react138.forwardRef)(function PaginationNextTrigger(props, ref) {
9932
+ var _a8;
9784
9933
  const { size, variantMap: variantMap2 } = useRootProps();
9785
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react138.Pagination.NextTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react138.IconButton, { variant: variantMap2.default, size, children: (_a7 = props.children) != null ? _a7 : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ChevronRightIcon, {}) }) });
9934
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react139.Pagination.NextTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react139.IconButton, { variant: variantMap2.default, size, children: (_a8 = props.children) != null ? _a8 : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ChevronRightIcon, {}) }) });
9786
9935
  });
9787
9936
  var Items = (props) => {
9788
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react138.Pagination.Context, { children: ({ pages }) => pages.map((page, index) => {
9937
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react139.Pagination.Context, { children: ({ pages }) => pages.map((page, index) => {
9789
9938
  return page.type === "ellipsis" ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Ellipsis, { index, ...props }, index) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Item, { type: "page", value: page.value, ...props }, index);
9790
9939
  }) });
9791
9940
  };
9792
- var PageText = (0, import_react137.forwardRef)(
9941
+ var PageText = (0, import_react138.forwardRef)(
9793
9942
  function PaginationPageText(props, ref) {
9794
9943
  const { format = "compact", ...rest } = props;
9795
- const { page, pages, pageRange, count } = (0, import_react138.usePaginationContext)();
9796
- const content = (0, import_react137.useMemo)(() => {
9944
+ const { page, pages, pageRange, count } = (0, import_react139.usePaginationContext)();
9945
+ const content = (0, import_react138.useMemo)(() => {
9797
9946
  if (format === "short") return `${page} / ${pages.length}`;
9798
9947
  if (format === "compact") return `${page} of ${pages.length}`;
9799
9948
  return `${pageRange.start + 1} - ${pageRange.end} of ${count}`;
9800
9949
  }, [format, page, pages.length, pageRange, count]);
9801
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react138.Text, { fontWeight: "medium", ref, ...rest, children: content });
9950
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react139.Text, { fontWeight: "medium", ref, ...rest, children: content });
9802
9951
  }
9803
9952
  );
9804
- var PrevTrigger = import_react138.Pagination.PrevTrigger;
9805
- var NextTrigger = import_react138.Pagination.NextTrigger;
9806
- var Context = import_react138.Pagination.Context;
9953
+ var PrevTrigger = import_react139.Pagination.PrevTrigger;
9954
+ var NextTrigger = import_react139.Pagination.NextTrigger;
9955
+ var Context = import_react139.Pagination.Context;
9807
9956
 
9808
9957
  // src/components/password-input/password-input.tsx
9809
- var import_react141 = require("react");
9810
- var import_react142 = require("@chakra-ui/react");
9958
+ var import_react142 = require("react");
9959
+ var import_react143 = require("@chakra-ui/react");
9811
9960
 
9812
9961
  // ../../node_modules/react-icons/lib/iconBase.mjs
9813
- var import_react140 = __toESM(require("react"), 1);
9962
+ var import_react141 = __toESM(require("react"), 1);
9814
9963
 
9815
9964
  // ../../node_modules/react-icons/lib/iconContext.mjs
9816
- var import_react139 = __toESM(require("react"), 1);
9965
+ var import_react140 = __toESM(require("react"), 1);
9817
9966
  var DefaultContext = {
9818
9967
  color: void 0,
9819
9968
  size: void 0,
@@ -9821,7 +9970,7 @@ var DefaultContext = {
9821
9970
  style: void 0,
9822
9971
  attr: void 0
9823
9972
  };
9824
- var IconContext = import_react139.default.createContext && /* @__PURE__ */ import_react139.default.createContext(DefaultContext);
9973
+ var IconContext = import_react140.default.createContext && /* @__PURE__ */ import_react140.default.createContext(DefaultContext);
9825
9974
 
9826
9975
  // ../../node_modules/react-icons/lib/iconBase.mjs
9827
9976
  var _excluded = ["attr", "size", "title"];
@@ -9910,12 +10059,12 @@ function _toPrimitive(t, r) {
9910
10059
  return ("string" === r ? String : Number)(t);
9911
10060
  }
9912
10061
  function Tree2Element(tree) {
9913
- return tree && tree.map((node, i) => /* @__PURE__ */ import_react140.default.createElement(node.tag, _objectSpread({
10062
+ return tree && tree.map((node, i) => /* @__PURE__ */ import_react141.default.createElement(node.tag, _objectSpread({
9914
10063
  key: i
9915
10064
  }, node.attr), Tree2Element(node.child)));
9916
10065
  }
9917
10066
  function GenIcon(data) {
9918
- return (props) => /* @__PURE__ */ import_react140.default.createElement(IconBase, _extends({
10067
+ return (props) => /* @__PURE__ */ import_react141.default.createElement(IconBase, _extends({
9919
10068
  attr: _objectSpread({}, data.attr)
9920
10069
  }, props), Tree2Element(data.child));
9921
10070
  }
@@ -9930,7 +10079,7 @@ function IconBase(props) {
9930
10079
  var className;
9931
10080
  if (conf.className) className = conf.className;
9932
10081
  if (props.className) className = (className ? className + " " : "") + props.className;
9933
- return /* @__PURE__ */ import_react140.default.createElement("svg", _extends({
10082
+ return /* @__PURE__ */ import_react141.default.createElement("svg", _extends({
9934
10083
  stroke: "currentColor",
9935
10084
  fill: "currentColor",
9936
10085
  strokeWidth: "0"
@@ -9942,9 +10091,9 @@ function IconBase(props) {
9942
10091
  height: computedSize,
9943
10092
  width: computedSize,
9944
10093
  xmlns: "http://www.w3.org/2000/svg"
9945
- }), title && /* @__PURE__ */ import_react140.default.createElement("title", null, title), props.children);
10094
+ }), title && /* @__PURE__ */ import_react141.default.createElement("title", null, title), props.children);
9946
10095
  };
9947
- return IconContext !== void 0 ? /* @__PURE__ */ import_react140.default.createElement(IconContext.Consumer, null, (conf) => elem(conf)) : elem(DefaultContext);
10096
+ return IconContext !== void 0 ? /* @__PURE__ */ import_react141.default.createElement(IconContext.Consumer, null, (conf) => elem(conf)) : elem(DefaultContext);
9948
10097
  }
9949
10098
 
9950
10099
  // ../../node_modules/react-icons/lu/index.mjs
@@ -9957,7 +10106,7 @@ function LuEye(props) {
9957
10106
 
9958
10107
  // src/components/password-input/password-input.tsx
9959
10108
  var import_jsx_runtime22 = require("react/jsx-runtime");
9960
- var PasswordInput = (0, import_react141.forwardRef)(
10109
+ var PasswordInput = (0, import_react142.forwardRef)(
9961
10110
  function PasswordInput2(props, ref) {
9962
10111
  const {
9963
10112
  rootProps,
@@ -9967,12 +10116,12 @@ var PasswordInput = (0, import_react141.forwardRef)(
9967
10116
  visibilityIcon = { on: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(LuEye, {}), off: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(LuEyeOff, {}) },
9968
10117
  ...rest
9969
10118
  } = props;
9970
- const [visible, setVisible] = (0, import_react142.useControllableState)({
10119
+ const [visible, setVisible] = (0, import_react143.useControllableState)({
9971
10120
  value: visibleProp,
9972
10121
  defaultValue: defaultVisible || false,
9973
10122
  onChange: onVisibleChange
9974
10123
  });
9975
- const inputRef = (0, import_react141.useRef)(null);
10124
+ const inputRef = (0, import_react142.useRef)(null);
9976
10125
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
9977
10126
  InputGroup,
9978
10127
  {
@@ -9992,10 +10141,10 @@ var PasswordInput = (0, import_react141.forwardRef)(
9992
10141
  ),
9993
10142
  ...rootProps,
9994
10143
  children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
9995
- import_react142.Input,
10144
+ import_react143.Input,
9996
10145
  {
9997
10146
  ...rest,
9998
- ref: (0, import_react142.mergeRefs)(ref, inputRef),
10147
+ ref: (0, import_react143.mergeRefs)(ref, inputRef),
9999
10148
  type: visible ? "text" : "password"
10000
10149
  }
10001
10150
  )
@@ -10003,10 +10152,10 @@ var PasswordInput = (0, import_react141.forwardRef)(
10003
10152
  );
10004
10153
  }
10005
10154
  );
10006
- var VisibilityTrigger = (0, import_react141.forwardRef)(
10155
+ var VisibilityTrigger = (0, import_react142.forwardRef)(
10007
10156
  function VisibilityTrigger2(props, ref) {
10008
10157
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
10009
- import_react142.IconButton,
10158
+ import_react143.IconButton,
10010
10159
  {
10011
10160
  tabIndex: -1,
10012
10161
  ref,
@@ -10027,27 +10176,27 @@ var VisibilityTrigger = (0, import_react141.forwardRef)(
10027
10176
  var React7 = __toESM(require("react"), 1);
10028
10177
 
10029
10178
  // src/components/persona/persona-primitive.tsx
10030
- var import_react144 = require("react");
10031
- var import_react145 = require("@chakra-ui/react");
10179
+ var import_react145 = require("react");
10180
+ var import_react146 = require("@chakra-ui/react");
10032
10181
  var import_utils8 = require("@saas-ui/core/utils");
10033
10182
 
10034
10183
  // src/components/persona/persona.context.ts
10035
- var import_react143 = require("@chakra-ui/react");
10184
+ var import_react144 = require("@chakra-ui/react");
10036
10185
  var {
10037
10186
  useStyles: usePersonaStyles,
10038
10187
  withProvider: withProvider5,
10039
10188
  withContext: withContext6
10040
- } = (0, import_react143.createSlotRecipeContext)({
10189
+ } = (0, import_react144.createSlotRecipeContext)({
10041
10190
  key: "suiPersona"
10042
10191
  });
10043
10192
 
10044
10193
  // src/components/persona/persona-primitive.tsx
10045
10194
  var import_jsx_runtime23 = require("react/jsx-runtime");
10046
10195
  var PersonaRoot = withProvider5(
10047
- (0, import_react144.forwardRef)((props, ref) => {
10196
+ (0, import_react145.forwardRef)((props, ref) => {
10048
10197
  const { outOfOffice, presence, ...rest } = props;
10049
10198
  return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
10050
- import_react145.chakra.div,
10199
+ import_react146.chakra.div,
10051
10200
  {
10052
10201
  ref,
10053
10202
  ...rest,
@@ -10064,7 +10213,7 @@ var PersonaRoot = withProvider5(
10064
10213
  }),
10065
10214
  "root"
10066
10215
  );
10067
- var PersonaAvatar = (0, import_react144.forwardRef)(
10216
+ var PersonaAvatar = (0, import_react145.forwardRef)(
10068
10217
  (props, ref) => {
10069
10218
  const {
10070
10219
  name,
@@ -10077,10 +10226,10 @@ var PersonaAvatar = (0, import_react144.forwardRef)(
10077
10226
  children,
10078
10227
  ...rest
10079
10228
  } = props;
10080
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_react145.Avatar.Root, { ref, ...rest, children: [
10081
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react145.Avatar.Fallback, { children: getInitials2(name) }),
10229
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_react146.Avatar.Root, { ref, ...rest, children: [
10230
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react146.Avatar.Fallback, { children: getInitials2(name) }),
10082
10231
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
10083
- import_react145.Avatar.Image,
10232
+ import_react146.Avatar.Image,
10084
10233
  {
10085
10234
  src,
10086
10235
  srcSet,
@@ -10199,10 +10348,10 @@ var defaultPresenceOptions = {
10199
10348
  };
10200
10349
 
10201
10350
  // src/components/pin-input/pin-input.tsx
10202
- var import_react146 = require("react");
10203
- var import_react147 = require("@chakra-ui/react");
10351
+ var import_react147 = require("react");
10352
+ var import_react148 = require("@chakra-ui/react");
10204
10353
  var import_jsx_runtime25 = require("react/jsx-runtime");
10205
- var PinInput = (0, import_react146.forwardRef)(
10354
+ var PinInput = (0, import_react147.forwardRef)(
10206
10355
  function PinInput2(props, ref) {
10207
10356
  const {
10208
10357
  pinLength = 4,
@@ -10212,35 +10361,35 @@ var PinInput = (0, import_react146.forwardRef)(
10212
10361
  gap = attached ? 0 : 2,
10213
10362
  ...rest
10214
10363
  } = props;
10215
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_react147.PinInput.Root, { ref: rootRef, ...rest, children: [
10216
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react147.PinInput.HiddenInput, { ref, ...inputProps }),
10217
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react147.PinInput.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react147.Group, { attached, gap, children: Array.from({ length: pinLength }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react147.PinInput.Input, { index }, index)) }) })
10364
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_react148.PinInput.Root, { ref: rootRef, ...rest, children: [
10365
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react148.PinInput.HiddenInput, { ref, ...inputProps }),
10366
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react148.PinInput.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react148.Group, { attached, gap, children: Array.from({ length: pinLength }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react148.PinInput.Input, { index }, index)) }) })
10218
10367
  ] });
10219
10368
  }
10220
10369
  );
10221
10370
 
10222
10371
  // src/components/radio/radio.tsx
10223
- var import_react148 = require("react");
10224
- var import_react149 = require("@chakra-ui/react");
10372
+ var import_react149 = require("react");
10373
+ var import_react150 = require("@chakra-ui/react");
10225
10374
  var import_jsx_runtime26 = require("react/jsx-runtime");
10226
- var Radio = (0, import_react148.forwardRef)(
10375
+ var Radio = (0, import_react149.forwardRef)(
10227
10376
  function Radio2(props, ref) {
10228
10377
  const { children, inputProps, rootRef, ...rest } = props;
10229
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_react149.RadioGroup.Item, { ref: rootRef, ...rest, children: [
10230
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react149.RadioGroup.ItemHiddenInput, { ref, ...inputProps }),
10231
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react149.RadioGroup.ItemIndicator, {}),
10232
- children && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react149.RadioGroup.ItemText, { children })
10378
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_react150.RadioGroup.Item, { ref: rootRef, ...rest, children: [
10379
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react150.RadioGroup.ItemHiddenInput, { ref, ...inputProps }),
10380
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react150.RadioGroup.ItemIndicator, {}),
10381
+ children && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react150.RadioGroup.ItemText, { children })
10233
10382
  ] });
10234
10383
  }
10235
10384
  );
10236
- var RadioGroup = import_react149.RadioGroup.Root;
10385
+ var RadioGroup = import_react150.RadioGroup.Root;
10237
10386
 
10238
10387
  // src/components/search-input/search-input.tsx
10239
- var import_react150 = __toESM(require("react"), 1);
10240
- var import_react151 = require("@chakra-ui/react");
10388
+ var import_react151 = __toESM(require("react"), 1);
10389
+ var import_react152 = require("@chakra-ui/react");
10241
10390
  var import_utils9 = require("@saas-ui/core/utils");
10242
10391
  var import_jsx_runtime27 = require("react/jsx-runtime");
10243
- var SearchInput = (0, import_react150.forwardRef)(
10392
+ var SearchInput = (0, import_react151.forwardRef)(
10244
10393
  (props, ref) => {
10245
10394
  const {
10246
10395
  placeholder = "Search",
@@ -10258,18 +10407,18 @@ var SearchInput = (0, import_react150.forwardRef)(
10258
10407
  disabled,
10259
10408
  ...inputProps
10260
10409
  } = props;
10261
- const inputRef = import_react150.default.useRef(null);
10262
- const [value, setValue] = (0, import_react151.useControllableState)({
10410
+ const inputRef = import_react151.default.useRef(null);
10411
+ const [value, setValue] = (0, import_react152.useControllableState)({
10263
10412
  value: valueProp,
10264
10413
  defaultValue: defaultValueProp
10265
10414
  });
10266
- const onChange = import_react150.default.useCallback(
10415
+ const onChange = import_react151.default.useCallback(
10267
10416
  (e) => {
10268
10417
  setValue(e.target.value);
10269
10418
  },
10270
10419
  [setValue]
10271
10420
  );
10272
- const onKeyDown = import_react150.default.useCallback(
10421
+ const onKeyDown = import_react151.default.useCallback(
10273
10422
  (event) => {
10274
10423
  if (event.key === "Escape") {
10275
10424
  setValue("");
@@ -10279,16 +10428,16 @@ var SearchInput = (0, import_react150.forwardRef)(
10279
10428
  [onResetProp, setValue]
10280
10429
  );
10281
10430
  const onReset = () => {
10282
- var _a7;
10431
+ var _a8;
10283
10432
  setValue("");
10284
10433
  onResetProp == null ? void 0 : onResetProp();
10285
- (_a7 = inputRef.current) == null ? void 0 : _a7.focus();
10434
+ (_a8 = inputRef.current) == null ? void 0 : _a8.focus();
10286
10435
  };
10287
10436
  const showReset = value && !props.disabled;
10288
10437
  const endElement = showReset ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SearchInputResetButton, { size, children: resetIcon }) : endElementProp;
10289
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react151.Group, { width, children: [
10438
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react152.Group, { width, children: [
10290
10439
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
10291
- import_react151.InputElement,
10440
+ import_react152.InputElement,
10292
10441
  {
10293
10442
  placement: "start",
10294
10443
  px: "0",
@@ -10298,7 +10447,7 @@ var SearchInput = (0, import_react150.forwardRef)(
10298
10447
  }
10299
10448
  ),
10300
10449
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
10301
- import_react151.Input,
10450
+ import_react152.Input,
10302
10451
  {
10303
10452
  type: "text",
10304
10453
  placeholder,
@@ -10306,7 +10455,7 @@ var SearchInput = (0, import_react150.forwardRef)(
10306
10455
  size,
10307
10456
  value,
10308
10457
  disabled,
10309
- ref: (0, import_react151.mergeRefs)(ref, inputRef),
10458
+ ref: (0, import_react152.mergeRefs)(ref, inputRef),
10310
10459
  onChange: (0, import_utils9.callAll)(onChange, onChangeProp),
10311
10460
  onKeyDown: (0, import_utils9.callAll)(onKeyDown, onKeyDownProp),
10312
10461
  ps: "calc(var(--input-height) - var(--input-height) / 10)",
@@ -10314,15 +10463,15 @@ var SearchInput = (0, import_react150.forwardRef)(
10314
10463
  ...inputProps
10315
10464
  }
10316
10465
  ),
10317
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react151.InputElement, { placement: "end", children: endElement })
10466
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react152.InputElement, { placement: "end", children: endElement })
10318
10467
  ] });
10319
10468
  }
10320
10469
  );
10321
- var SearchInputResetButton = (0, import_react150.forwardRef)(
10470
+ var SearchInputResetButton = (0, import_react151.forwardRef)(
10322
10471
  (props, ref) => {
10323
10472
  const { children = /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(CloseIcon, {}), ...rest } = props;
10324
10473
  return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
10325
- import_react151.IconButton,
10474
+ import_react152.IconButton,
10326
10475
  {
10327
10476
  ref,
10328
10477
  variant: "ghost",
@@ -10352,23 +10501,23 @@ __export(namespace_exports3, {
10352
10501
  });
10353
10502
 
10354
10503
  // src/components/select/select.tsx
10355
- var import_react152 = require("react");
10356
- var import_react153 = require("@chakra-ui/react");
10504
+ var import_react153 = require("react");
10505
+ var import_react154 = require("@chakra-ui/react");
10357
10506
  var import_jsx_runtime28 = require("react/jsx-runtime");
10358
- var SelectTrigger = (0, import_react152.forwardRef)(
10507
+ var SelectTrigger = (0, import_react153.forwardRef)(
10359
10508
  function SelectTrigger2(props, ref) {
10360
10509
  const { children, clearable, ...rest } = props;
10361
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_react153.Select.Control, { ...rest, children: [
10362
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react153.Select.Trigger, { ref, children }),
10363
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_react153.Select.IndicatorGroup, { children: [
10510
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_react154.Select.Control, { ...rest, children: [
10511
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react154.Select.Trigger, { ref, children }),
10512
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_react154.Select.IndicatorGroup, { children: [
10364
10513
  clearable && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SelectClearTrigger, {}),
10365
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react153.Select.Indicator, {})
10514
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react154.Select.Indicator, {})
10366
10515
  ] })
10367
10516
  ] });
10368
10517
  }
10369
10518
  );
10370
- var SelectClearTrigger = (0, import_react152.forwardRef)(function SelectClearTrigger2(props, ref) {
10371
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react153.Select.ClearTrigger, { asChild: true, ...props, ref, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
10519
+ var SelectClearTrigger = (0, import_react153.forwardRef)(function SelectClearTrigger2(props, ref) {
10520
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react154.Select.ClearTrigger, { asChild: true, ...props, ref, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
10372
10521
  CloseButton,
10373
10522
  {
10374
10523
  size: "xs",
@@ -10379,24 +10528,24 @@ var SelectClearTrigger = (0, import_react152.forwardRef)(function SelectClearTri
10379
10528
  }
10380
10529
  ) });
10381
10530
  });
10382
- var SelectContent = (0, import_react152.forwardRef)(
10531
+ var SelectContent = (0, import_react153.forwardRef)(
10383
10532
  function SelectContent2(props, ref) {
10384
10533
  const { portalled = true, portalRef, ...rest } = props;
10385
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react153.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react153.Select.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react153.Select.Content, { ...rest, ref }) }) });
10534
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react154.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react154.Select.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react154.Select.Content, { ...rest, ref }) }) });
10386
10535
  }
10387
10536
  );
10388
- var SelectItem = (0, import_react152.forwardRef)(
10537
+ var SelectItem = (0, import_react153.forwardRef)(
10389
10538
  function SelectItem2(props, ref) {
10390
10539
  const { item, children, ...rest } = props;
10391
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_react153.Select.Item, { item, ...rest, ref, children: [
10540
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_react154.Select.Item, { item, ...rest, ref, children: [
10392
10541
  children,
10393
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react153.Select.ItemIndicator, {})
10542
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react154.Select.ItemIndicator, {})
10394
10543
  ] }, item.value);
10395
10544
  }
10396
10545
  );
10397
- var SelectValueText = (0, import_react152.forwardRef)(function SelectValueText2(props, ref) {
10546
+ var SelectValueText = (0, import_react153.forwardRef)(function SelectValueText2(props, ref) {
10398
10547
  const { children, ...rest } = props;
10399
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react153.Select.ValueText, { ...rest, ref, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react153.Select.Context, { children: (select) => {
10548
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react154.Select.ValueText, { ...rest, ref, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react154.Select.Context, { children: (select) => {
10400
10549
  const items = select.selectedItems;
10401
10550
  if (items.length === 0) return props.placeholder;
10402
10551
  if (children) return children(items);
@@ -10405,9 +10554,9 @@ var SelectValueText = (0, import_react152.forwardRef)(function SelectValueText2(
10405
10554
  return `${items.length} selected`;
10406
10555
  } }) });
10407
10556
  });
10408
- var SelectRoot = (0, import_react152.forwardRef)(function SelectRoot2(props, ref) {
10557
+ var SelectRoot = (0, import_react153.forwardRef)(function SelectRoot2(props, ref) {
10409
10558
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
10410
- import_react153.Select.Root,
10559
+ import_react154.Select.Root,
10411
10560
  {
10412
10561
  ...props,
10413
10562
  ref,
@@ -10415,21 +10564,21 @@ var SelectRoot = (0, import_react152.forwardRef)(function SelectRoot2(props, ref
10415
10564
  }
10416
10565
  );
10417
10566
  });
10418
- var SelectItemGroup = (0, import_react152.forwardRef)(
10567
+ var SelectItemGroup = (0, import_react153.forwardRef)(
10419
10568
  function SelectItemGroup2(props, ref) {
10420
10569
  const { children, label, ...rest } = props;
10421
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_react153.Select.ItemGroup, { ...rest, ref, children: [
10422
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react153.Select.ItemGroupLabel, { children: label }),
10570
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_react154.Select.ItemGroup, { ...rest, ref, children: [
10571
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react154.Select.ItemGroupLabel, { children: label }),
10423
10572
  children
10424
10573
  ] });
10425
10574
  }
10426
10575
  );
10427
- var SelectLabel = import_react153.Select.Label;
10428
- var SelectItemText = import_react153.Select.ItemText;
10576
+ var SelectLabel = import_react154.Select.Label;
10577
+ var SelectItemText = import_react154.Select.ItemText;
10429
10578
 
10430
10579
  // src/components/segmented-control/segmented-control.tsx
10431
- var import_react154 = require("react");
10432
- var import_react155 = require("@chakra-ui/react");
10580
+ var import_react155 = require("react");
10581
+ var import_react156 = require("@chakra-ui/react");
10433
10582
  var import_jsx_runtime29 = require("react/jsx-runtime");
10434
10583
  function normalize(items) {
10435
10584
  return items.map((item) => {
@@ -10437,19 +10586,19 @@ function normalize(items) {
10437
10586
  return item;
10438
10587
  });
10439
10588
  }
10440
- var SegmentedControl = (0, import_react154.forwardRef)(function SegmentedControl2(props, ref) {
10589
+ var SegmentedControl = (0, import_react155.forwardRef)(function SegmentedControl2(props, ref) {
10441
10590
  const { items, ...rest } = props;
10442
- const data = (0, import_react154.useMemo)(() => normalize(items), [items]);
10443
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_react155.SegmentGroup.Root, { ref, ...rest, children: [
10444
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react155.SegmentGroup.Indicator, {}),
10445
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react155.For, { each: data, children: (item) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
10446
- import_react155.SegmentGroup.Item,
10591
+ const data = (0, import_react155.useMemo)(() => normalize(items), [items]);
10592
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_react156.SegmentGroup.Root, { ref, ...rest, children: [
10593
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react156.SegmentGroup.Indicator, {}),
10594
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react156.For, { each: data, children: (item) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
10595
+ import_react156.SegmentGroup.Item,
10447
10596
  {
10448
10597
  value: item.value,
10449
10598
  disabled: item.disabled,
10450
10599
  children: [
10451
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react155.SegmentGroup.ItemText, { children: item.label }),
10452
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react155.SegmentGroup.ItemHiddenInput, {})
10600
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react156.SegmentGroup.ItemText, { children: item.label }),
10601
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react156.SegmentGroup.ItemHiddenInput, {})
10453
10602
  ]
10454
10603
  },
10455
10604
  item.value
@@ -10481,21 +10630,21 @@ __export(sidebar_exports, {
10481
10630
  var import_sidebar = require("@saas-ui/core/sidebar");
10482
10631
 
10483
10632
  // src/components/sidebar/sidebar.context.ts
10484
- var import_react156 = require("@chakra-ui/react");
10633
+ var import_react157 = require("@chakra-ui/react");
10485
10634
  var {
10486
10635
  withContext: withContext7,
10487
10636
  useRecipeResult,
10488
10637
  StylesProvider,
10489
10638
  ClassNamesProvider,
10490
10639
  useStyles: useSidebarStyles
10491
- } = (0, import_react156.createSlotRecipeContext)({
10640
+ } = (0, import_react157.createSlotRecipeContext)({
10492
10641
  key: "suiSidebar"
10493
10642
  });
10494
10643
  var {
10495
10644
  withProvider: withItemProvider,
10496
10645
  withContext: withItemContext,
10497
10646
  useStyles: useSidebarItemStyles
10498
- } = (0, import_react156.createSlotRecipeContext)({
10647
+ } = (0, import_react157.createSlotRecipeContext)({
10499
10648
  key: "suiSidebarNavItem"
10500
10649
  });
10501
10650
 
@@ -10598,99 +10747,99 @@ __export(steps_exports, {
10598
10747
  NextTrigger: () => StepsNextTrigger,
10599
10748
  PrevTrigger: () => StepsPrevTrigger,
10600
10749
  Root: () => StepsRoot,
10601
- useContext: () => import_react157.useStepsContext
10750
+ useContext: () => import_react158.useStepsContext
10602
10751
  });
10603
- var import_react157 = require("@chakra-ui/react");
10752
+ var import_react158 = require("@chakra-ui/react");
10604
10753
  var import_jsx_runtime31 = require("react/jsx-runtime");
10605
10754
  var StepsItem = (props) => {
10606
10755
  const { title, description, completedIcon, icon, ...rest } = props;
10607
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_react157.Steps.Item, { ...rest, children: [
10608
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_react157.Steps.Trigger, { children: [
10609
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
10610
- import_react157.Steps.Status,
10756
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_react158.Steps.Item, { ...rest, children: [
10757
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_react158.Steps.Trigger, { children: [
10758
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react158.Steps.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
10759
+ import_react158.Steps.Status,
10611
10760
  {
10612
10761
  complete: completedIcon || /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(CheckIcon, {}),
10613
- incomplete: icon || /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Number, {})
10762
+ incomplete: icon || /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react158.Steps.Number, {})
10614
10763
  }
10615
10764
  ) }),
10616
10765
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(StepInfo, { title, description })
10617
10766
  ] }),
10618
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Separator, {})
10767
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react158.Steps.Separator, {})
10619
10768
  ] });
10620
10769
  };
10621
10770
  var StepInfo = (props) => {
10622
10771
  const { title, description } = props;
10623
10772
  if (title && description) {
10624
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_react157.Box, { children: [
10625
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Title, { children: title }),
10626
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Description, { children: description })
10773
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_react158.Box, { children: [
10774
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react158.Steps.Title, { children: title }),
10775
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react158.Steps.Description, { children: description })
10627
10776
  ] });
10628
10777
  }
10629
10778
  return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_jsx_runtime31.Fragment, { children: [
10630
- title && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Title, { children: title }),
10631
- description && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Description, { children: description })
10779
+ title && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react158.Steps.Title, { children: title }),
10780
+ description && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react158.Steps.Description, { children: description })
10632
10781
  ] });
10633
10782
  };
10634
10783
  var StepsIndicator = (props) => {
10635
- const { icon = /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Number, {}), completedIcon } = props;
10636
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Status, { complete: completedIcon, incomplete: icon }) });
10784
+ const { icon = /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react158.Steps.Number, {}), completedIcon } = props;
10785
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react158.Steps.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react158.Steps.Status, { complete: completedIcon, incomplete: icon }) });
10637
10786
  };
10638
- var StepsList = import_react157.Steps.List;
10639
- var StepsRoot = import_react157.Steps.Root;
10640
- var StepsContent = import_react157.Steps.Content;
10641
- var StepsCompletedContent = import_react157.Steps.CompletedContent;
10787
+ var StepsList = import_react158.Steps.List;
10788
+ var StepsRoot = import_react158.Steps.Root;
10789
+ var StepsContent = import_react158.Steps.Content;
10790
+ var StepsCompletedContent = import_react158.Steps.CompletedContent;
10642
10791
  var StepsNextTrigger = (props) => {
10643
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.NextTrigger, { ...props });
10792
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react158.Steps.NextTrigger, { ...props });
10644
10793
  };
10645
10794
  var StepsPrevTrigger = (props) => {
10646
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.PrevTrigger, { ...props });
10795
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react158.Steps.PrevTrigger, { ...props });
10647
10796
  };
10648
10797
 
10649
10798
  // src/components/switch/switch.tsx
10650
- var import_react158 = require("@chakra-ui/react");
10651
- var import_react159 = require("react");
10799
+ var import_react159 = require("@chakra-ui/react");
10800
+ var import_react160 = require("react");
10652
10801
  var import_jsx_runtime32 = require("react/jsx-runtime");
10653
- var Switch = (0, import_react159.forwardRef)(
10802
+ var Switch = (0, import_react160.forwardRef)(
10654
10803
  function Switch2(props, ref) {
10655
10804
  const { inputProps, children, rootRef, trackLabel, thumbLabel, ...rest } = props;
10656
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_react158.Switch.Root, { ref: rootRef, ...rest, children: [
10657
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react158.Switch.HiddenInput, { ref, ...inputProps }),
10658
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_react158.Switch.Control, { children: [
10659
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react158.Switch.Thumb, { children: thumbLabel && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react158.Switch.ThumbIndicator, { fallback: thumbLabel == null ? void 0 : thumbLabel.off, children: thumbLabel == null ? void 0 : thumbLabel.on }) }),
10660
- trackLabel && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react158.Switch.Indicator, { fallback: trackLabel.off, children: trackLabel.on })
10805
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_react159.Switch.Root, { ref: rootRef, ...rest, children: [
10806
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react159.Switch.HiddenInput, { ref, ...inputProps }),
10807
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_react159.Switch.Control, { children: [
10808
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react159.Switch.Thumb, { children: thumbLabel && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react159.Switch.ThumbIndicator, { fallback: thumbLabel == null ? void 0 : thumbLabel.off, children: thumbLabel == null ? void 0 : thumbLabel.on }) }),
10809
+ trackLabel && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react159.Switch.Indicator, { fallback: trackLabel.off, children: trackLabel.on })
10661
10810
  ] }),
10662
- children != null && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react158.Switch.Label, { children })
10811
+ children != null && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react159.Switch.Label, { children })
10663
10812
  ] });
10664
10813
  }
10665
10814
  );
10666
10815
 
10667
10816
  // src/components/toaster/toaster.tsx
10668
- var import_react160 = require("@chakra-ui/react");
10817
+ var import_react161 = require("@chakra-ui/react");
10669
10818
  var import_jsx_runtime33 = require("react/jsx-runtime");
10670
- var toast = (0, import_react160.createToaster)({
10819
+ var toast = (0, import_react161.createToaster)({
10671
10820
  placement: "bottom-end",
10672
10821
  pauseOnPageIdle: true
10673
10822
  });
10674
10823
  var Toaster = () => {
10675
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react160.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react160.Toaster, { toaster: toast, insetInline: { mdDown: "4" }, children: (toast2) => {
10676
- var _a7;
10677
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_react160.Toast.Root, { width: { md: "sm" }, children: [
10678
- toast2.type === "loading" ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react160.Spinner, { size: "sm", color: "colorPalette.solid" }) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react160.Toast.Indicator, {}),
10679
- /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_react160.Stack, { gap: "1", flex: "1", maxWidth: "100%", children: [
10680
- toast2.title && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react160.Toast.Title, { children: toast2.title }),
10681
- toast2.description && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react160.Toast.Description, { children: toast2.description })
10824
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react161.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react161.Toaster, { toaster: toast, insetInline: { mdDown: "4" }, children: (toast2) => {
10825
+ var _a8;
10826
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_react161.Toast.Root, { width: { md: "sm" }, children: [
10827
+ toast2.type === "loading" ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react161.Spinner, { size: "sm", color: "colorPalette.solid" }) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react161.Toast.Indicator, {}),
10828
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_react161.Stack, { gap: "1", flex: "1", maxWidth: "100%", children: [
10829
+ toast2.title && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react161.Toast.Title, { children: toast2.title }),
10830
+ toast2.description && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react161.Toast.Description, { children: toast2.description })
10682
10831
  ] }),
10683
- toast2.action && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react160.Toast.ActionTrigger, { children: toast2.action.label }),
10684
- ((_a7 = toast2.meta) == null ? void 0 : _a7.closable) && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react160.Toast.CloseTrigger, {})
10832
+ toast2.action && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react161.Toast.ActionTrigger, { children: toast2.action.label }),
10833
+ ((_a8 = toast2.meta) == null ? void 0 : _a8.closable) && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react161.Toast.CloseTrigger, {})
10685
10834
  ] });
10686
10835
  } }) });
10687
10836
  };
10688
10837
 
10689
10838
  // src/components/tooltip/tooltip.tsx
10690
- var import_react161 = require("react");
10691
- var import_react162 = require("@chakra-ui/react");
10839
+ var import_react162 = require("react");
10840
+ var import_react163 = require("@chakra-ui/react");
10692
10841
  var import_jsx_runtime34 = require("react/jsx-runtime");
10693
- var Tooltip = (0, import_react161.forwardRef)(
10842
+ var Tooltip = (0, import_react162.forwardRef)(
10694
10843
  function Tooltip2(props, ref) {
10695
10844
  const {
10696
10845
  showArrow,
@@ -10703,10 +10852,10 @@ var Tooltip = (0, import_react161.forwardRef)(
10703
10852
  ...rest
10704
10853
  } = props;
10705
10854
  if (disabled) return children;
10706
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_react162.Tooltip.Root, { ...rest, children: [
10707
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react162.Tooltip.Trigger, { asChild: true, children }),
10708
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react162.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react162.Tooltip.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_react162.Tooltip.Content, { ref, ...contentProps, children: [
10709
- showArrow && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react162.Tooltip.Arrow, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react162.Tooltip.ArrowTip, {}) }),
10855
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_react163.Tooltip.Root, { ...rest, children: [
10856
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react163.Tooltip.Trigger, { asChild: true, children }),
10857
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react163.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react163.Tooltip.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_react163.Tooltip.Content, { ref, ...contentProps, children: [
10858
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react163.Tooltip.Arrow, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react163.Tooltip.ArrowTip, {}) }),
10710
10859
  content
10711
10860
  ] }) }) })
10712
10861
  ] });
@@ -10727,6 +10876,7 @@ var Tooltip = (0, import_react161.forwardRef)(
10727
10876
  EmptyState,
10728
10877
  GridList,
10729
10878
  IconBadge,
10879
+ IconButton,
10730
10880
  InputGroup,
10731
10881
  Link,
10732
10882
  LoadingOverlay,