@saas-ui/react 3.0.0-alpha.23 → 3.0.0-alpha.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/{chunk-BU7QENBQ.js → chunk-3JZ42NYM.js} +1 -1
  3. package/dist/{chunk-VJ4NCA6R.js → chunk-3Y67QIZ7.js} +1 -1
  4. package/dist/chunk-52XM5VXJ.js +9 -0
  5. package/dist/chunk-IVLUAUU5.js +10 -0
  6. package/dist/chunk-JMYI6YXR.js +1 -0
  7. package/dist/{chunk-EQ7Q6HRE.js → chunk-OIOBGO3Y.js} +1 -1
  8. package/dist/chunk-RLIAFHVM.js +66 -0
  9. package/dist/components/badge/index.d.cts +2 -0
  10. package/dist/components/badge/index.d.ts +2 -0
  11. package/dist/components/close-button/index.js +2 -1
  12. package/dist/components/data-list/index.cjs +33 -0
  13. package/dist/components/data-list/index.d.cts +1 -0
  14. package/dist/components/data-list/index.d.ts +1 -0
  15. package/dist/components/data-list/index.js +10 -0
  16. package/dist/components/dialog/index.js +3 -2
  17. package/dist/components/drawer/index.js +3 -2
  18. package/dist/components/navbar/index.d.cts +3 -3
  19. package/dist/components/navbar/index.d.ts +3 -3
  20. package/dist/components/persona/index.d.cts +3 -8
  21. package/dist/components/persona/index.d.ts +3 -8
  22. package/dist/components/select/index.js +3 -2
  23. package/dist/components/sidebar/index.d.cts +11 -11
  24. package/dist/components/sidebar/index.d.ts +11 -11
  25. package/dist/components/tabs/index.cjs +35 -0
  26. package/dist/components/tabs/index.d.cts +1 -0
  27. package/dist/components/tabs/index.d.ts +1 -0
  28. package/dist/components/tabs/index.js +12 -0
  29. package/dist/components/toaster/index.cjs +161 -11
  30. package/dist/components/toaster/index.d.cts +6 -5
  31. package/dist/components/toaster/index.d.ts +6 -5
  32. package/dist/components/toaster/index.js +3 -1
  33. package/dist/index.cjs +801 -735
  34. package/dist/index.d.cts +2 -0
  35. package/dist/index.d.ts +2 -0
  36. package/dist/index.js +764 -727
  37. package/package.json +1 -1
  38. package/dist/chunk-HELHPHIQ.js +0 -35
  39. /package/dist/{chunk-BKYGKH3L.js → chunk-YXGJOOMM.js} +0 -0
package/dist/index.cjs CHANGED
@@ -39,6 +39,7 @@ __export(src_exports, {
39
39
  Checkbox: () => Checkbox,
40
40
  CloseButton: () => CloseButton,
41
41
  Command: () => Command,
42
+ DataList: () => import_data_list2.DataList,
42
43
  Dialog: () => namespace_exports,
43
44
  Drawer: () => namespace_exports2,
44
45
  EmptyState: () => EmptyState,
@@ -68,20 +69,24 @@ __export(src_exports, {
68
69
  SuiContext: () => SuiContext,
69
70
  SuiProvider: () => SuiProvider,
70
71
  Switch: () => Switch,
72
+ Tabs: () => import_tabs.Tabs,
71
73
  Tag: () => Tag,
72
74
  Toaster: () => Toaster,
73
75
  Tooltip: () => Tooltip,
74
- createSystem: () => import_react169.createSystem,
76
+ createSystem: () => import_react170.createSystem,
75
77
  defaultConfig: () => defaultConfig,
76
78
  defaultPresenceOptions: () => defaultPresenceOptions,
77
79
  defaultSystem: () => defaultSystem,
78
80
  toast: () => toast,
81
+ useDataListStyles: () => import_data_list2.useDataListStyles,
79
82
  useLink: () => useLink,
80
83
  useLoadingOverlayStyles: () => useLoadingOverlayStyles,
81
84
  useSidebar: () => import_sidebar2.useSidebar,
82
85
  useSidebarItemStyles: () => useSidebarItemStyles,
83
86
  useSidebarStyles: () => useSidebarStyles,
84
- useSui: () => useSui
87
+ useSui: () => useSui,
88
+ useTabsContext: () => import_tabs.useTabsContext,
89
+ useTabsStyles: () => import_tabs.useTabsStyles
85
90
  });
86
91
  module.exports = __toCommonJS(src_exports);
87
92
 
@@ -3296,9 +3301,135 @@ var personaSlotRecipe = (0, import_react35.defineSlotRecipe)({
3296
3301
  }
3297
3302
  });
3298
3303
 
3299
- // src/components/sidebar/sidebar-item.recipe.ts
3304
+ // src/components/segmented-control/segment-group.recipe.ts
3300
3305
  var import_react36 = require("@chakra-ui/react");
3301
- var sidebarNavItemSlotRecipe = (0, import_react36.defineSlotRecipe)({
3306
+ var import_anatomy4 = require("@chakra-ui/react/anatomy");
3307
+ var segmentGroupSlotRecipe = (0, import_react36.defineSlotRecipe)({
3308
+ className: "chakra-segment-group",
3309
+ slots: import_anatomy4.segmentGroupAnatomy.keys(),
3310
+ base: {
3311
+ root: {
3312
+ "--segment-radius": "radii.md",
3313
+ borderRadius: "md",
3314
+ display: "inline-flex",
3315
+ boxShadow: "inset",
3316
+ minW: "max-content",
3317
+ textAlign: "center",
3318
+ position: "relative",
3319
+ isolation: "isolate",
3320
+ bg: "bg.muted",
3321
+ borderWidth: "1px"
3322
+ },
3323
+ item: {
3324
+ display: "flex",
3325
+ alignItems: "center",
3326
+ userSelect: "none",
3327
+ fontSize: "sm",
3328
+ position: "relative",
3329
+ color: "fg.subtle",
3330
+ cursor: "button",
3331
+ borderRadius: "var(--segment-radius)",
3332
+ _disabled: {
3333
+ opacity: "0.5"
3334
+ },
3335
+ _hover: {
3336
+ color: "fg"
3337
+ },
3338
+ "&:has(input:focus-visible)": {
3339
+ focusRing: "inside",
3340
+ focusRingWidth: "1px"
3341
+ },
3342
+ _before: {
3343
+ content: '""',
3344
+ position: "absolute",
3345
+ insetInlineStart: 0,
3346
+ insetBlock: "0",
3347
+ bg: "border",
3348
+ width: "1px",
3349
+ transition: "opacity 0.2s"
3350
+ },
3351
+ _checked: {
3352
+ color: "fg"
3353
+ },
3354
+ "& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type": {
3355
+ _before: {
3356
+ opacity: "0"
3357
+ }
3358
+ },
3359
+ "&[data-state=checked][data-ssr]": {
3360
+ shadow: "sm",
3361
+ bg: "bg",
3362
+ color: "fg",
3363
+ borderRadius: "var(--segment-radius)"
3364
+ }
3365
+ },
3366
+ indicator: {
3367
+ shadow: "sm",
3368
+ pos: "absolute",
3369
+ bg: {
3370
+ base: "bg",
3371
+ _dark: "bg.emphasized"
3372
+ },
3373
+ width: "var(--width)",
3374
+ height: "var(--height)",
3375
+ top: "var(--top)",
3376
+ left: "var(--left)",
3377
+ zIndex: -1,
3378
+ borderRadius: "var(--segment-radius)"
3379
+ }
3380
+ },
3381
+ variants: {
3382
+ size: {
3383
+ xs: {
3384
+ root: {
3385
+ height: "6"
3386
+ },
3387
+ item: {
3388
+ textStyle: "xs",
3389
+ px: "3",
3390
+ gap: "1"
3391
+ }
3392
+ },
3393
+ sm: {
3394
+ root: {
3395
+ height: "7"
3396
+ },
3397
+ item: {
3398
+ textStyle: "sm",
3399
+ px: "4",
3400
+ gap: "2"
3401
+ }
3402
+ },
3403
+ md: {
3404
+ root: {
3405
+ height: "8"
3406
+ },
3407
+ item: {
3408
+ textStyle: "md",
3409
+ px: "4",
3410
+ gap: "2"
3411
+ }
3412
+ },
3413
+ lg: {
3414
+ root: {
3415
+ height: "10"
3416
+ },
3417
+ item: {
3418
+ textStyle: "md",
3419
+ px: "5",
3420
+ gap: "3"
3421
+ }
3422
+ }
3423
+ }
3424
+ },
3425
+ defaultVariants: {
3426
+ size: "md"
3427
+ }
3428
+ });
3429
+
3430
+ // src/components/sidebar/sidebar-item.recipe.ts
3431
+ var import_react37 = require("@chakra-ui/react");
3432
+ var sidebarNavItemSlotRecipe = (0, import_react37.defineSlotRecipe)({
3302
3433
  className: "sui-sidebar-nav-item",
3303
3434
  slots: ["item", "button", "endElement"],
3304
3435
  base: {
@@ -3383,8 +3514,8 @@ var sidebarNavItemSlotRecipe = (0, import_react36.defineSlotRecipe)({
3383
3514
  });
3384
3515
 
3385
3516
  // src/components/sidebar/sidebar.recipe.ts
3386
- var import_react37 = require("@chakra-ui/react");
3387
- var sidebarSlotRecipe = (0, import_react37.defineSlotRecipe)({
3517
+ var import_react38 = require("@chakra-ui/react");
3518
+ var sidebarSlotRecipe = (0, import_react38.defineSlotRecipe)({
3388
3519
  className: "sui-sidebar",
3389
3520
  slots: [
3390
3521
  "root",
@@ -3620,11 +3751,11 @@ var sidebarSlotRecipe = (0, import_react37.defineSlotRecipe)({
3620
3751
  });
3621
3752
 
3622
3753
  // src/components/status/status.recipe.ts
3623
- var import_react38 = require("@chakra-ui/react");
3624
- var import_anatomy4 = require("@chakra-ui/react/anatomy");
3625
- var statusSlotRecipe = (0, import_react38.defineSlotRecipe)({
3754
+ var import_react39 = require("@chakra-ui/react");
3755
+ var import_anatomy5 = require("@chakra-ui/react/anatomy");
3756
+ var statusSlotRecipe = (0, import_react39.defineSlotRecipe)({
3626
3757
  className: "chakra-status",
3627
- slots: import_anatomy4.statusAnatomy.keys(),
3758
+ slots: import_anatomy5.statusAnatomy.keys(),
3628
3759
  base: {
3629
3760
  root: {
3630
3761
  colorPalette: "gray",
@@ -3665,13 +3796,310 @@ var statusSlotRecipe = (0, import_react38.defineSlotRecipe)({
3665
3796
  }
3666
3797
  });
3667
3798
 
3799
+ // src/components/tabs/tabs.recipe.ts
3800
+ var import_react40 = require("@chakra-ui/react");
3801
+ var import_anatomy6 = require("@chakra-ui/react/anatomy");
3802
+ var tabsSlotRecipe = (0, import_react40.defineSlotRecipe)({
3803
+ slots: import_anatomy6.tabsAnatomy.keys(),
3804
+ className: "chakra-tabs",
3805
+ base: {
3806
+ root: {
3807
+ colorPalette: "gray",
3808
+ "--tabs-trigger-radius": "radii.md",
3809
+ position: "relative",
3810
+ _horizontal: {
3811
+ display: "block"
3812
+ },
3813
+ _vertical: {
3814
+ display: "flex"
3815
+ }
3816
+ },
3817
+ list: {
3818
+ display: "inline-flex",
3819
+ position: "relative",
3820
+ isolation: "isolate",
3821
+ "--tabs-indicator-shadow": "shadows.xs",
3822
+ "--tabs-indicator-bg": "colors.bg",
3823
+ minH: "var(--tabs-height)",
3824
+ _horizontal: {
3825
+ flexDirection: "row"
3826
+ },
3827
+ _vertical: {
3828
+ flexDirection: "column"
3829
+ }
3830
+ },
3831
+ trigger: {
3832
+ outline: "0",
3833
+ minW: "var(--tabs-height)",
3834
+ height: "var(--tabs-height)",
3835
+ display: "flex",
3836
+ alignItems: "center",
3837
+ fontWeight: "medium",
3838
+ position: "relative",
3839
+ cursor: "button",
3840
+ gap: "2",
3841
+ _focusVisible: {
3842
+ zIndex: 1,
3843
+ focusVisibleRing: "outside"
3844
+ },
3845
+ _disabled: {
3846
+ cursor: "not-allowed",
3847
+ opacity: 0.5
3848
+ }
3849
+ },
3850
+ content: {
3851
+ focusVisibleRing: "inside",
3852
+ _horizontal: {
3853
+ width: "100%",
3854
+ pt: "var(--tabs-content-padding)"
3855
+ },
3856
+ _vertical: {
3857
+ height: "100%",
3858
+ ps: "var(--tabs-content-padding)"
3859
+ }
3860
+ },
3861
+ indicator: {
3862
+ width: "var(--width)",
3863
+ height: "var(--height)",
3864
+ borderRadius: "var(--tabs-indicator-radius)",
3865
+ bg: "var(--tabs-indicator-bg)",
3866
+ shadow: "var(--tabs-indicator-shadow)",
3867
+ zIndex: -1
3868
+ }
3869
+ },
3870
+ variants: {
3871
+ fitted: {
3872
+ true: {
3873
+ list: {
3874
+ display: "flex"
3875
+ },
3876
+ trigger: {
3877
+ flex: 1,
3878
+ textAlign: "center",
3879
+ justifyContent: "center"
3880
+ }
3881
+ }
3882
+ },
3883
+ justify: {
3884
+ start: {
3885
+ list: {
3886
+ justifyContent: "flex-start"
3887
+ }
3888
+ },
3889
+ center: {
3890
+ list: {
3891
+ justifyContent: "center"
3892
+ }
3893
+ },
3894
+ end: {
3895
+ list: {
3896
+ justifyContent: "flex-end"
3897
+ }
3898
+ }
3899
+ },
3900
+ size: {
3901
+ xs: {
3902
+ root: {
3903
+ "--tabs-height": "sizes.6",
3904
+ "--tabs-content-padding": "spacing.2"
3905
+ },
3906
+ trigger: {
3907
+ py: "1",
3908
+ px: "2",
3909
+ textStyle: "xs"
3910
+ }
3911
+ },
3912
+ sm: {
3913
+ root: {
3914
+ "--tabs-height": "sizes.7",
3915
+ "--tabs-content-padding": "spacing.3"
3916
+ },
3917
+ trigger: {
3918
+ py: "1",
3919
+ px: "3",
3920
+ textStyle: "sm"
3921
+ }
3922
+ },
3923
+ md: {
3924
+ root: {
3925
+ "--tabs-height": "sizes.8",
3926
+ "--tabs-content-padding": "spacing.4"
3927
+ },
3928
+ trigger: {
3929
+ py: "2",
3930
+ px: "4",
3931
+ textStyle: "sm"
3932
+ }
3933
+ },
3934
+ lg: {
3935
+ root: {
3936
+ "--tabs-height": "sizes.10",
3937
+ "--tabs-content-padding": "spacing.4.5"
3938
+ },
3939
+ trigger: {
3940
+ py: "2",
3941
+ px: "4.5",
3942
+ textStyle: "md"
3943
+ }
3944
+ }
3945
+ },
3946
+ variant: {
3947
+ line: {
3948
+ list: {
3949
+ display: "flex",
3950
+ borderColor: "border",
3951
+ _horizontal: {
3952
+ borderBottomWidth: "1px"
3953
+ },
3954
+ _vertical: {
3955
+ borderEndWidth: "1px"
3956
+ }
3957
+ },
3958
+ trigger: {
3959
+ color: "fg.muted",
3960
+ _hover: {
3961
+ color: "fg.subtle"
3962
+ },
3963
+ _disabled: {
3964
+ _active: { bg: "initial" }
3965
+ },
3966
+ _selected: {
3967
+ color: "fg !important",
3968
+ _horizontal: {
3969
+ layerStyle: "indicator.bottom",
3970
+ "--indicator-offset-y": "-1px",
3971
+ "--indicator-color": "colors.colorPalette.solid"
3972
+ },
3973
+ _vertical: {
3974
+ layerStyle: "indicator.end",
3975
+ "--indicator-offset-x": "-1px"
3976
+ }
3977
+ }
3978
+ }
3979
+ },
3980
+ pills: {
3981
+ list: {
3982
+ gap: 2
3983
+ },
3984
+ trigger: {
3985
+ borderRadius: "var(--tabs-trigger-radius)",
3986
+ color: "fg.muted",
3987
+ borderWidth: "1px",
3988
+ borderColor: "border.emphasized",
3989
+ _hover: {
3990
+ bg: "bg.muted",
3991
+ color: "fg.subtle"
3992
+ },
3993
+ _selected: {
3994
+ bg: "colorPalette.subtle !important",
3995
+ color: "colorPalette.fg !important",
3996
+ borderColor: "colorPalette.solid/50"
3997
+ }
3998
+ }
3999
+ },
4000
+ enclosed: {
4001
+ list: {
4002
+ bg: "bg.muted",
4003
+ boxShadow: "inset",
4004
+ borderRadius: "md",
4005
+ borderWidth: "1px",
4006
+ minH: "calc(var(--tabs-height) - 4px)"
4007
+ },
4008
+ trigger: {
4009
+ justifyContent: "center",
4010
+ color: "fg.muted",
4011
+ borderRadius: "var(--tabs-trigger-radius)",
4012
+ _selected: {
4013
+ bg: "bg",
4014
+ color: "colorPalette.fg",
4015
+ shadow: "sm"
4016
+ }
4017
+ }
4018
+ },
4019
+ outline: {
4020
+ list: {
4021
+ "--line-thickness": "1px",
4022
+ "--line-offset": "calc(var(--line-thickness) * -1)",
4023
+ borderColor: "border",
4024
+ display: "flex",
4025
+ _horizontal: {
4026
+ _before: {
4027
+ content: '""',
4028
+ position: "absolute",
4029
+ bottom: "0px",
4030
+ width: "100%",
4031
+ borderBottomWidth: "var(--line-thickness)",
4032
+ borderBottomColor: "border"
4033
+ }
4034
+ },
4035
+ _vertical: {
4036
+ _before: {
4037
+ content: '""',
4038
+ position: "absolute",
4039
+ insetInline: "var(--line-offset)",
4040
+ height: "calc(100% - calc(var(--line-thickness) * 2))",
4041
+ borderEndWidth: "var(--line-thickness)",
4042
+ borderEndColor: "border"
4043
+ }
4044
+ }
4045
+ },
4046
+ trigger: {
4047
+ color: "fg.muted",
4048
+ borderWidth: "1px",
4049
+ borderColor: "transparent",
4050
+ _selected: {
4051
+ bg: "currentBg",
4052
+ color: "colorPalette.fg"
4053
+ },
4054
+ _horizontal: {
4055
+ borderTopRadius: "var(--tabs-trigger-radius)",
4056
+ marginBottom: "var(--line-offset)",
4057
+ marginEnd: { _notLast: "var(--line-offset)" },
4058
+ _selected: {
4059
+ borderColor: "border",
4060
+ borderBottomColor: "transparent"
4061
+ }
4062
+ },
4063
+ _vertical: {
4064
+ borderStartRadius: "var(--tabs-trigger-radius)",
4065
+ marginEnd: "var(--line-offset)",
4066
+ marginBottom: { _notLast: "var(--line-offset)" },
4067
+ _selected: {
4068
+ borderColor: "border",
4069
+ borderEndColor: "transparent"
4070
+ }
4071
+ }
4072
+ }
4073
+ },
4074
+ plain: {
4075
+ trigger: {
4076
+ color: "fg.muted",
4077
+ _selected: {
4078
+ color: "colorPalette.fg"
4079
+ },
4080
+ borderRadius: "var(--tabs-trigger-radius)",
4081
+ "&[data-selected][data-ssr]": {
4082
+ bg: "var(--tabs-indicator-bg)",
4083
+ shadow: "var(--tabs-indicator-shadow)",
4084
+ borderRadius: "var(--tabs-indicator-radius)"
4085
+ }
4086
+ }
4087
+ }
4088
+ }
4089
+ },
4090
+ defaultVariants: {
4091
+ size: "md",
4092
+ variant: "line"
4093
+ }
4094
+ });
4095
+
3668
4096
  // src/components/tag/tag.recipe.ts
3669
- var import_react39 = require("@chakra-ui/react");
3670
- var import_anatomy5 = require("@chakra-ui/react/anatomy");
4097
+ var import_react41 = require("@chakra-ui/react");
4098
+ var import_anatomy7 = require("@chakra-ui/react/anatomy");
3671
4099
  var _a;
3672
4100
  var badgeVariant = (_a = badgeRecipe.variants) == null ? void 0 : _a.variant;
3673
- var tagSlotRecipe = (0, import_react39.defineSlotRecipe)({
3674
- slots: import_anatomy5.tagAnatomy.keys(),
4101
+ var tagSlotRecipe = (0, import_react41.defineSlotRecipe)({
4102
+ slots: import_anatomy7.tagAnatomy.keys(),
3675
4103
  className: "chakra-tag",
3676
4104
  base: {
3677
4105
  root: {
@@ -3804,29 +4232,121 @@ var tagSlotRecipe = (0, import_react39.defineSlotRecipe)({
3804
4232
  subtle: {
3805
4233
  root: badgeVariant == null ? void 0 : badgeVariant.subtle
3806
4234
  },
3807
- solid: {
3808
- root: badgeVariant == null ? void 0 : badgeVariant.solid
4235
+ solid: {
4236
+ root: badgeVariant == null ? void 0 : badgeVariant.solid
4237
+ },
4238
+ outline: {
4239
+ root: badgeVariant == null ? void 0 : badgeVariant.outline
4240
+ },
4241
+ surface: {
4242
+ root: badgeVariant == null ? void 0 : badgeVariant.surface
4243
+ }
4244
+ }
4245
+ },
4246
+ defaultVariants: {
4247
+ size: "md",
4248
+ variant: "surface"
4249
+ }
4250
+ });
4251
+
4252
+ // src/components/toaster/toast.recipe.ts
4253
+ var import_react42 = require("@chakra-ui/react");
4254
+ var import_anatomy8 = require("@chakra-ui/react/anatomy");
4255
+ var toastSlotRecipe = (0, import_react42.defineSlotRecipe)({
4256
+ slots: import_anatomy8.toastAnatomy.keys(),
4257
+ className: "chakra-toast",
4258
+ base: {
4259
+ root: {
4260
+ width: "full",
4261
+ display: "flex",
4262
+ alignItems: "flex-start",
4263
+ position: "relative",
4264
+ gap: "2",
4265
+ py: "3",
4266
+ ps: "3",
4267
+ pe: "6",
4268
+ borderRadius: "md",
4269
+ borderWidth: "1px",
4270
+ translate: "var(--x) var(--y)",
4271
+ scale: "var(--scale)",
4272
+ zIndex: "var(--z-index)",
4273
+ height: "var(--height, var(--toast-height))",
4274
+ opacity: "var(--opacity)",
4275
+ willChange: "translate, opacity, scale, height",
4276
+ transition: "translate 400ms, scale 400ms, opacity 400ms, height 200ms, box-shadow 200ms",
4277
+ transitionTimingFunction: "bounce-in",
4278
+ _closed: {
4279
+ transition: "translate 400ms, scale 400ms, height 200ms, opacity 200ms",
4280
+ transitionTimingFunction: "bounce-out"
4281
+ },
4282
+ bg: "bg.panel",
4283
+ color: "fg",
4284
+ boxShadow: "lg",
4285
+ overflow: "hidden",
4286
+ "--toast-indicated-color": "colors.fg.muted",
4287
+ "&[data-type=warning]": {
4288
+ "--toast-indicated-color": "colors.fg.warning"
3809
4289
  },
3810
- outline: {
3811
- root: badgeVariant == null ? void 0 : badgeVariant.outline
4290
+ "&[data-type=success]": {
4291
+ "--toast-indicated-color": "colors.fg.success"
3812
4292
  },
3813
- surface: {
3814
- root: badgeVariant == null ? void 0 : badgeVariant.surface
4293
+ "&[data-type=error]": {
4294
+ "--toast-indicated-color": "colors.fg.error"
4295
+ },
4296
+ "&[data-overlap]": {
4297
+ _before: {
4298
+ content: '""',
4299
+ position: "absolute",
4300
+ inset: "0",
4301
+ maskImage: "linear-gradient(to bottom, transparent, black 50%)"
4302
+ }
4303
+ }
4304
+ },
4305
+ title: {
4306
+ fontWeight: "medium",
4307
+ textStyle: "sm",
4308
+ marginEnd: "2"
4309
+ },
4310
+ description: {
4311
+ display: "inline",
4312
+ textStyle: "sm",
4313
+ opacity: "0.8"
4314
+ },
4315
+ indicator: {
4316
+ flexShrink: "0",
4317
+ boxSize: "5",
4318
+ color: "var(--toast-indicated-color)"
4319
+ },
4320
+ actionTrigger: {
4321
+ cursor: "button",
4322
+ textStyle: "sm",
4323
+ fontWeight: "medium",
4324
+ height: "6",
4325
+ px: "3",
4326
+ ms: "-3",
4327
+ borderRadius: "sm",
4328
+ alignSelf: "flex-start",
4329
+ transition: "background 200ms",
4330
+ color: "colorPalette.solid/80",
4331
+ _hover: {
4332
+ bg: "bg.subtle",
4333
+ color: "colorPalette.solid"
3815
4334
  }
4335
+ },
4336
+ closeTrigger: {
4337
+ position: "absolute",
4338
+ top: "2",
4339
+ insetEnd: "2"
3816
4340
  }
3817
- },
3818
- defaultVariants: {
3819
- size: "md",
3820
- variant: "surface"
3821
4341
  }
3822
4342
  });
3823
4343
 
3824
4344
  // src/theme/recipes/chakra/accordion.ts
3825
- var import_react40 = require("@chakra-ui/react");
3826
- var import_anatomy6 = require("@chakra-ui/react/anatomy");
3827
- var accordionSlotRecipe = (0, import_react40.defineSlotRecipe)({
4345
+ var import_react43 = require("@chakra-ui/react");
4346
+ var import_anatomy9 = require("@chakra-ui/react/anatomy");
4347
+ var accordionSlotRecipe = (0, import_react43.defineSlotRecipe)({
3828
4348
  className: "chakra-accordion",
3829
- slots: import_anatomy6.accordionAnatomy.keys(),
4349
+ slots: import_anatomy9.accordionAnatomy.keys(),
3830
4350
  base: {
3831
4351
  root: {
3832
4352
  width: "full",
@@ -3962,11 +4482,11 @@ var accordionSlotRecipe = (0, import_react40.defineSlotRecipe)({
3962
4482
  });
3963
4483
 
3964
4484
  // src/theme/recipes/chakra/action-bar.ts
3965
- var import_react41 = require("@chakra-ui/react");
3966
- var import_anatomy7 = require("@chakra-ui/react/anatomy");
3967
- var actionBarSlotRecipe = (0, import_react41.defineSlotRecipe)({
4485
+ var import_react44 = require("@chakra-ui/react");
4486
+ var import_anatomy10 = require("@chakra-ui/react/anatomy");
4487
+ var actionBarSlotRecipe = (0, import_react44.defineSlotRecipe)({
3968
4488
  className: "chakra-action-bar",
3969
- slots: import_anatomy7.actionBarAnatomy.keys(),
4489
+ slots: import_anatomy10.actionBarAnatomy.keys(),
3970
4490
  base: {
3971
4491
  positioner: {
3972
4492
  position: "fixed",
@@ -4020,10 +4540,10 @@ var actionBarSlotRecipe = (0, import_react41.defineSlotRecipe)({
4020
4540
  });
4021
4541
 
4022
4542
  // src/theme/recipes/chakra/alert.ts
4023
- var import_react42 = require("@chakra-ui/react");
4024
- var import_anatomy8 = require("@chakra-ui/react/anatomy");
4025
- var alertSlotRecipe = (0, import_react42.defineSlotRecipe)({
4026
- slots: import_anatomy8.alertAnatomy.keys(),
4543
+ var import_react45 = require("@chakra-ui/react");
4544
+ var import_anatomy11 = require("@chakra-ui/react/anatomy");
4545
+ var alertSlotRecipe = (0, import_react45.defineSlotRecipe)({
4546
+ slots: import_anatomy11.alertAnatomy.keys(),
4027
4547
  className: "chakra-alert",
4028
4548
  base: {
4029
4549
  root: {
@@ -4169,11 +4689,11 @@ var alertSlotRecipe = (0, import_react42.defineSlotRecipe)({
4169
4689
  });
4170
4690
 
4171
4691
  // src/theme/recipes/chakra/blockquote.ts
4172
- var import_react43 = require("@chakra-ui/react");
4173
- var import_anatomy9 = require("@chakra-ui/react/anatomy");
4174
- var blockquoteSlotRecipe = (0, import_react43.defineSlotRecipe)({
4692
+ var import_react46 = require("@chakra-ui/react");
4693
+ var import_anatomy12 = require("@chakra-ui/react/anatomy");
4694
+ var blockquoteSlotRecipe = (0, import_react46.defineSlotRecipe)({
4175
4695
  className: "chakra-blockquote",
4176
- slots: import_anatomy9.blockquoteAnatomy.keys(),
4696
+ slots: import_anatomy12.blockquoteAnatomy.keys(),
4177
4697
  base: {
4178
4698
  root: {
4179
4699
  position: "relative",
@@ -4248,11 +4768,11 @@ var blockquoteSlotRecipe = (0, import_react43.defineSlotRecipe)({
4248
4768
  });
4249
4769
 
4250
4770
  // src/theme/recipes/chakra/breadcrumb.ts
4251
- var import_react44 = require("@chakra-ui/react");
4252
- var import_anatomy10 = require("@chakra-ui/react/anatomy");
4253
- var breadcrumbSlotRecipe = (0, import_react44.defineSlotRecipe)({
4771
+ var import_react47 = require("@chakra-ui/react");
4772
+ var import_anatomy13 = require("@chakra-ui/react/anatomy");
4773
+ var breadcrumbSlotRecipe = (0, import_react47.defineSlotRecipe)({
4254
4774
  className: "chakra-breadcrumb",
4255
- slots: import_anatomy10.breadcrumbAnatomy.keys(),
4775
+ slots: import_anatomy13.breadcrumbAnatomy.keys(),
4256
4776
  base: {
4257
4777
  list: {
4258
4778
  display: "flex",
@@ -4340,11 +4860,11 @@ var breadcrumbSlotRecipe = (0, import_react44.defineSlotRecipe)({
4340
4860
  });
4341
4861
 
4342
4862
  // src/theme/recipes/chakra/card.ts
4343
- var import_react45 = require("@chakra-ui/react");
4344
- var import_anatomy11 = require("@chakra-ui/react/anatomy");
4345
- var cardSlotRecipe = (0, import_react45.defineSlotRecipe)({
4863
+ var import_react48 = require("@chakra-ui/react");
4864
+ var import_anatomy14 = require("@chakra-ui/react/anatomy");
4865
+ var cardSlotRecipe = (0, import_react48.defineSlotRecipe)({
4346
4866
  className: "chakra-card",
4347
- slots: import_anatomy11.cardAnatomy.keys(),
4867
+ slots: import_anatomy14.cardAnatomy.keys(),
4348
4868
  base: {
4349
4869
  root: {
4350
4870
  display: "flex",
@@ -4462,11 +4982,11 @@ var cardSlotRecipe = (0, import_react45.defineSlotRecipe)({
4462
4982
  });
4463
4983
 
4464
4984
  // src/theme/recipes/chakra/checkbox.ts
4465
- var import_react46 = require("@chakra-ui/react");
4466
- var import_anatomy12 = require("@chakra-ui/react/anatomy");
4985
+ var import_react49 = require("@chakra-ui/react");
4986
+ var import_anatomy15 = require("@chakra-ui/react/anatomy");
4467
4987
  var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
4468
- var checkboxSlotRecipe = (0, import_react46.defineSlotRecipe)({
4469
- slots: import_anatomy12.checkboxAnatomy.keys(),
4988
+ var checkboxSlotRecipe = (0, import_react49.defineSlotRecipe)({
4989
+ slots: import_anatomy15.checkboxAnatomy.keys(),
4470
4990
  className: "chakra-checkbox",
4471
4991
  base: {
4472
4992
  root: {
@@ -4527,11 +5047,11 @@ var checkboxSlotRecipe = (0, import_react46.defineSlotRecipe)({
4527
5047
  });
4528
5048
 
4529
5049
  // src/theme/recipes/chakra/checkbox-card.ts
4530
- var import_react47 = require("@chakra-ui/react");
4531
- var import_anatomy13 = require("@chakra-ui/react/anatomy");
5050
+ var import_react50 = require("@chakra-ui/react");
5051
+ var import_anatomy16 = require("@chakra-ui/react/anatomy");
4532
5052
  var _a3, _b2, _c2, _d2, _e2, _f2, _g2;
4533
- var checkboxCardSlotRecipe = (0, import_react47.defineSlotRecipe)({
4534
- slots: import_anatomy13.checkboxCardAnatomy.keys(),
5053
+ var checkboxCardSlotRecipe = (0, import_react50.defineSlotRecipe)({
5054
+ slots: import_anatomy16.checkboxCardAnatomy.keys(),
4535
5055
  className: "chakra-checkbox-card",
4536
5056
  base: {
4537
5057
  root: {
@@ -4730,10 +5250,10 @@ var checkboxCardSlotRecipe = (0, import_react47.defineSlotRecipe)({
4730
5250
  });
4731
5251
 
4732
5252
  // src/theme/recipes/chakra/collapsible.ts
4733
- var import_react48 = require("@chakra-ui/react");
4734
- var import_anatomy14 = require("@chakra-ui/react/anatomy");
4735
- var collapsibleSlotRecipe = (0, import_react48.defineSlotRecipe)({
4736
- slots: import_anatomy14.collapsibleAnatomy.keys(),
5253
+ var import_react51 = require("@chakra-ui/react");
5254
+ var import_anatomy17 = require("@chakra-ui/react/anatomy");
5255
+ var collapsibleSlotRecipe = (0, import_react51.defineSlotRecipe)({
5256
+ slots: import_anatomy17.collapsibleAnatomy.keys(),
4737
5257
  className: "chakra-collapsible",
4738
5258
  base: {
4739
5259
  content: {
@@ -4751,10 +5271,10 @@ var collapsibleSlotRecipe = (0, import_react48.defineSlotRecipe)({
4751
5271
  });
4752
5272
 
4753
5273
  // src/theme/recipes/chakra/data-list.ts
4754
- var import_react49 = require("@chakra-ui/react");
4755
- var import_anatomy15 = require("@chakra-ui/react/anatomy");
4756
- var dataListSlotRecipe = (0, import_react49.defineSlotRecipe)({
4757
- slots: import_anatomy15.dataListAnatomy.keys(),
5274
+ var import_react52 = require("@chakra-ui/react");
5275
+ var import_anatomy18 = require("@chakra-ui/react/anatomy");
5276
+ var dataListSlotRecipe = (0, import_react52.defineSlotRecipe)({
5277
+ slots: import_anatomy18.dataListAnatomy.keys(),
4758
5278
  className: "chakra-data-list",
4759
5279
  base: {
4760
5280
  itemLabel: {
@@ -4831,17 +5351,17 @@ var dataListSlotRecipe = (0, import_react49.defineSlotRecipe)({
4831
5351
  });
4832
5352
 
4833
5353
  // src/theme/recipes/chakra/editable.ts
4834
- var import_react50 = require("@chakra-ui/react");
4835
- var import_anatomy16 = require("@chakra-ui/react/anatomy");
4836
- var sharedStyles = (0, import_react50.defineStyle)({
5354
+ var import_react53 = require("@chakra-ui/react");
5355
+ var import_anatomy19 = require("@chakra-ui/react/anatomy");
5356
+ var sharedStyles = (0, import_react53.defineStyle)({
4837
5357
  fontSize: "inherit",
4838
5358
  fontWeight: "inherit",
4839
5359
  textAlign: "inherit",
4840
5360
  bg: "transparent",
4841
5361
  borderRadius: "l2"
4842
5362
  });
4843
- var editableSlotRecipe = (0, import_react50.defineSlotRecipe)({
4844
- slots: import_anatomy16.editableAnatomy.keys(),
5363
+ var editableSlotRecipe = (0, import_react53.defineSlotRecipe)({
5364
+ slots: import_anatomy19.editableAnatomy.keys(),
4845
5365
  className: "chakra-editable",
4846
5366
  base: {
4847
5367
  root: {
@@ -4916,10 +5436,10 @@ var editableSlotRecipe = (0, import_react50.defineSlotRecipe)({
4916
5436
  });
4917
5437
 
4918
5438
  // src/theme/recipes/chakra/empty-state.ts
4919
- var import_react51 = require("@chakra-ui/react");
4920
- var import_anatomy17 = require("@chakra-ui/react/anatomy");
4921
- var emptyStateSlotRecipe = (0, import_react51.defineSlotRecipe)({
4922
- slots: import_anatomy17.emptyStateAnatomy.keys(),
5439
+ var import_react54 = require("@chakra-ui/react");
5440
+ var import_anatomy20 = require("@chakra-ui/react/anatomy");
5441
+ var emptyStateSlotRecipe = (0, import_react54.defineSlotRecipe)({
5442
+ slots: import_anatomy20.emptyStateAnatomy.keys(),
4923
5443
  className: "chakra-empty-state",
4924
5444
  base: {
4925
5445
  root: {
@@ -5008,11 +5528,11 @@ var emptyStateSlotRecipe = (0, import_react51.defineSlotRecipe)({
5008
5528
  });
5009
5529
 
5010
5530
  // src/theme/recipes/chakra/field.ts
5011
- var import_react52 = require("@chakra-ui/react");
5012
- var import_anatomy18 = require("@chakra-ui/react/anatomy");
5013
- var fieldSlotRecipe = (0, import_react52.defineSlotRecipe)({
5531
+ var import_react55 = require("@chakra-ui/react");
5532
+ var import_anatomy21 = require("@chakra-ui/react/anatomy");
5533
+ var fieldSlotRecipe = (0, import_react55.defineSlotRecipe)({
5014
5534
  className: "chakra-field",
5015
- slots: import_anatomy18.fieldAnatomy.keys(),
5535
+ slots: import_anatomy21.fieldAnatomy.keys(),
5016
5536
  base: {
5017
5537
  requiredIndicator: {
5018
5538
  color: "fg.error",
@@ -5084,11 +5604,11 @@ var fieldSlotRecipe = (0, import_react52.defineSlotRecipe)({
5084
5604
  });
5085
5605
 
5086
5606
  // src/theme/recipes/chakra/file-upload.ts
5087
- var import_react53 = require("@chakra-ui/react");
5088
- var import_anatomy19 = require("@chakra-ui/react/anatomy");
5089
- var fileUploadSlotRecipe = (0, import_react53.defineSlotRecipe)({
5607
+ var import_react56 = require("@chakra-ui/react");
5608
+ var import_anatomy22 = require("@chakra-ui/react/anatomy");
5609
+ var fileUploadSlotRecipe = (0, import_react56.defineSlotRecipe)({
5090
5610
  className: "chakra-file-upload",
5091
- slots: import_anatomy19.fileUploadAnatomy.keys(),
5611
+ slots: import_anatomy22.fileUploadAnatomy.keys(),
5092
5612
  base: {
5093
5613
  root: {
5094
5614
  display: "flex",
@@ -5180,11 +5700,11 @@ var fileUploadSlotRecipe = (0, import_react53.defineSlotRecipe)({
5180
5700
  });
5181
5701
 
5182
5702
  // src/theme/recipes/chakra/hover-card.ts
5183
- var import_react54 = require("@chakra-ui/react");
5184
- var import_anatomy20 = require("@chakra-ui/react/anatomy");
5185
- var hoverCardSlotRecipe = (0, import_react54.defineSlotRecipe)({
5703
+ var import_react57 = require("@chakra-ui/react");
5704
+ var import_anatomy23 = require("@chakra-ui/react/anatomy");
5705
+ var hoverCardSlotRecipe = (0, import_react57.defineSlotRecipe)({
5186
5706
  className: "chakra-hover-card",
5187
- slots: import_anatomy20.hoverCardAnatomy.keys(),
5707
+ slots: import_anatomy23.hoverCardAnatomy.keys(),
5188
5708
  base: {
5189
5709
  content: {
5190
5710
  position: "relative",
@@ -5247,11 +5767,11 @@ var hoverCardSlotRecipe = (0, import_react54.defineSlotRecipe)({
5247
5767
  });
5248
5768
 
5249
5769
  // src/theme/recipes/chakra/list.ts
5250
- var import_react55 = require("@chakra-ui/react");
5251
- var import_anatomy21 = require("@chakra-ui/react/anatomy");
5252
- var listSlotRecipe = (0, import_react55.defineSlotRecipe)({
5770
+ var import_react58 = require("@chakra-ui/react");
5771
+ var import_anatomy24 = require("@chakra-ui/react/anatomy");
5772
+ var listSlotRecipe = (0, import_react58.defineSlotRecipe)({
5253
5773
  className: "chakra-list",
5254
- slots: import_anatomy21.listAnatomy.keys(),
5774
+ slots: import_anatomy24.listAnatomy.keys(),
5255
5775
  base: {
5256
5776
  root: {
5257
5777
  display: "flex",
@@ -5311,11 +5831,11 @@ var listSlotRecipe = (0, import_react55.defineSlotRecipe)({
5311
5831
  });
5312
5832
 
5313
5833
  // src/theme/recipes/chakra/menu.ts
5314
- var import_react56 = require("@chakra-ui/react");
5315
- var import_anatomy22 = require("@chakra-ui/react/anatomy");
5316
- var menuSlotRecipe = (0, import_react56.defineSlotRecipe)({
5834
+ var import_react59 = require("@chakra-ui/react");
5835
+ var import_anatomy25 = require("@chakra-ui/react/anatomy");
5836
+ var menuSlotRecipe = (0, import_react59.defineSlotRecipe)({
5317
5837
  className: "chakra-menu",
5318
- slots: import_anatomy22.menuAnatomy.keys(),
5838
+ slots: import_anatomy25.menuAnatomy.keys(),
5319
5839
  base: {
5320
5840
  content: {
5321
5841
  outline: 0,
@@ -5434,15 +5954,15 @@ var menuSlotRecipe = (0, import_react56.defineSlotRecipe)({
5434
5954
  });
5435
5955
 
5436
5956
  // src/theme/recipes/chakra/native-select.ts
5437
- var import_react58 = require("@chakra-ui/react");
5438
- var import_anatomy24 = require("@chakra-ui/react/anatomy");
5957
+ var import_react61 = require("@chakra-ui/react");
5958
+ var import_anatomy27 = require("@chakra-ui/react/anatomy");
5439
5959
 
5440
5960
  // src/theme/recipes/chakra/select.ts
5441
- var import_react57 = require("@chakra-ui/react");
5442
- var import_anatomy23 = require("@chakra-ui/react/anatomy");
5443
- var selectSlotRecipe = (0, import_react57.defineSlotRecipe)({
5961
+ var import_react60 = require("@chakra-ui/react");
5962
+ var import_anatomy26 = require("@chakra-ui/react/anatomy");
5963
+ var selectSlotRecipe = (0, import_react60.defineSlotRecipe)({
5444
5964
  className: "chakra-select",
5445
- slots: import_anatomy23.selectAnatomy.keys(),
5965
+ slots: import_anatomy26.selectAnatomy.keys(),
5446
5966
  base: {
5447
5967
  root: {
5448
5968
  display: "flex",
@@ -5725,9 +6245,9 @@ var selectSlotRecipe = (0, import_react57.defineSlotRecipe)({
5725
6245
 
5726
6246
  // src/theme/recipes/chakra/native-select.ts
5727
6247
  var _a4, _b3;
5728
- var nativeSelectSlotRecipe = (0, import_react58.defineSlotRecipe)({
6248
+ var nativeSelectSlotRecipe = (0, import_react61.defineSlotRecipe)({
5729
6249
  className: "chakra-native-select",
5730
- slots: import_anatomy24.nativeSelectAnatomy.keys(),
6250
+ slots: import_anatomy27.nativeSelectAnatomy.keys(),
5731
6251
  base: {
5732
6252
  root: {
5733
6253
  height: "fit-content",
@@ -5858,8 +6378,8 @@ var nativeSelectSlotRecipe = (0, import_react58.defineSlotRecipe)({
5858
6378
  });
5859
6379
 
5860
6380
  // src/theme/recipes/chakra/number-input.ts
5861
- var import_react59 = require("@chakra-ui/react");
5862
- var import_anatomy25 = require("@chakra-ui/react/anatomy");
6381
+ var import_react62 = require("@chakra-ui/react");
6382
+ var import_anatomy28 = require("@chakra-ui/react/anatomy");
5863
6383
 
5864
6384
  // src/theme/utils.ts
5865
6385
  function mapEntries(obj, f) {
@@ -5878,7 +6398,7 @@ function radiusToken(value) {
5878
6398
  }
5879
6399
 
5880
6400
  // src/theme/recipes/chakra/number-input.ts
5881
- var triggerStyle = (0, import_react59.defineStyle)({
6401
+ var triggerStyle = (0, import_react62.defineStyle)({
5882
6402
  display: "flex",
5883
6403
  justifyContent: "center",
5884
6404
  alignItems: "center",
@@ -5902,9 +6422,9 @@ var triggerStyle = (0, import_react59.defineStyle)({
5902
6422
  bg: "bg.emphasized"
5903
6423
  }
5904
6424
  });
5905
- var numberInputSlotRecipe = (0, import_react59.defineSlotRecipe)({
6425
+ var numberInputSlotRecipe = (0, import_react62.defineSlotRecipe)({
5906
6426
  className: "chakra-number-input",
5907
- slots: import_anatomy25.numberInputAnatomy.keys(),
6427
+ slots: import_anatomy28.numberInputAnatomy.keys(),
5908
6428
  base: {
5909
6429
  root: {
5910
6430
  position: "relative",
@@ -5987,12 +6507,12 @@ var numberInputSlotRecipe = (0, import_react59.defineSlotRecipe)({
5987
6507
  });
5988
6508
 
5989
6509
  // src/theme/recipes/chakra/pin-input.ts
5990
- var import_react60 = require("@chakra-ui/react");
5991
- var import_anatomy26 = require("@chakra-ui/react/anatomy");
6510
+ var import_react63 = require("@chakra-ui/react");
6511
+ var import_anatomy29 = require("@chakra-ui/react/anatomy");
5992
6512
  var { variants: variants2, defaultVariants: defaultVariants2 } = inputRecipe;
5993
- var pinInputSlotRecipe = (0, import_react60.defineSlotRecipe)({
6513
+ var pinInputSlotRecipe = (0, import_react63.defineSlotRecipe)({
5994
6514
  className: "chakra-pin-input",
5995
- slots: import_anatomy26.pinInputAnatomy.keys(),
6515
+ slots: import_anatomy29.pinInputAnatomy.keys(),
5996
6516
  base: {
5997
6517
  input: {
5998
6518
  ...inputRecipe.base,
@@ -6019,11 +6539,11 @@ var pinInputSlotRecipe = (0, import_react60.defineSlotRecipe)({
6019
6539
  });
6020
6540
 
6021
6541
  // src/theme/recipes/chakra/popover.ts
6022
- var import_react61 = require("@chakra-ui/react");
6023
- var import_anatomy27 = require("@chakra-ui/react/anatomy");
6024
- var popoverSlotRecipe = (0, import_react61.defineSlotRecipe)({
6542
+ var import_react64 = require("@chakra-ui/react");
6543
+ var import_anatomy30 = require("@chakra-ui/react/anatomy");
6544
+ var popoverSlotRecipe = (0, import_react64.defineSlotRecipe)({
6025
6545
  className: "chakra-popover",
6026
- slots: import_anatomy27.popoverAnatomy.keys(),
6546
+ slots: import_anatomy30.popoverAnatomy.keys(),
6027
6547
  base: {
6028
6548
  content: {
6029
6549
  position: "relative",
@@ -6106,10 +6626,10 @@ var popoverSlotRecipe = (0, import_react61.defineSlotRecipe)({
6106
6626
  });
6107
6627
 
6108
6628
  // src/theme/recipes/chakra/progress.ts
6109
- var import_react62 = require("@chakra-ui/react");
6110
- var import_anatomy28 = require("@chakra-ui/react/anatomy");
6111
- var progressSlotRecipe = (0, import_react62.defineSlotRecipe)({
6112
- slots: import_anatomy28.progressAnatomy.keys(),
6629
+ var import_react65 = require("@chakra-ui/react");
6630
+ var import_anatomy31 = require("@chakra-ui/react/anatomy");
6631
+ var progressSlotRecipe = (0, import_react65.defineSlotRecipe)({
6632
+ slots: import_anatomy31.progressAnatomy.keys(),
6113
6633
  className: "chakra-progress",
6114
6634
  base: {
6115
6635
  root: {
@@ -6228,11 +6748,11 @@ var progressSlotRecipe = (0, import_react62.defineSlotRecipe)({
6228
6748
  });
6229
6749
 
6230
6750
  // src/theme/recipes/chakra/progress-circle.ts
6231
- var import_react63 = require("@chakra-ui/react");
6232
- var import_anatomy29 = require("@chakra-ui/react/anatomy");
6233
- var progressCircleSlotRecipe = (0, import_react63.defineSlotRecipe)({
6751
+ var import_react66 = require("@chakra-ui/react");
6752
+ var import_anatomy32 = require("@chakra-ui/react/anatomy");
6753
+ var progressCircleSlotRecipe = (0, import_react66.defineSlotRecipe)({
6234
6754
  className: "chakra-progress-circle",
6235
- slots: import_anatomy29.progressAnatomy.keys(),
6755
+ slots: import_anatomy32.progressAnatomy.keys(),
6236
6756
  base: {
6237
6757
  root: {
6238
6758
  display: "inline-flex",
@@ -6321,12 +6841,12 @@ var progressCircleSlotRecipe = (0, import_react63.defineSlotRecipe)({
6321
6841
  });
6322
6842
 
6323
6843
  // src/theme/recipes/chakra/radio-card.ts
6324
- var import_react64 = require("@chakra-ui/react");
6325
- var import_anatomy30 = require("@chakra-ui/react/anatomy");
6844
+ var import_react67 = require("@chakra-ui/react");
6845
+ var import_anatomy33 = require("@chakra-ui/react/anatomy");
6326
6846
  var _a5, _b4, _c3, _d3, _e3, _f3, _g3;
6327
- var radioCardSlotRecipe = (0, import_react64.defineSlotRecipe)({
6847
+ var radioCardSlotRecipe = (0, import_react67.defineSlotRecipe)({
6328
6848
  className: "chakra-radio-card",
6329
- slots: import_anatomy30.radioCardAnatomy.keys(),
6849
+ slots: import_anatomy33.radioCardAnatomy.keys(),
6330
6850
  base: {
6331
6851
  root: {
6332
6852
  display: "flex",
@@ -6532,12 +7052,12 @@ var radioCardSlotRecipe = (0, import_react64.defineSlotRecipe)({
6532
7052
  });
6533
7053
 
6534
7054
  // src/theme/recipes/chakra/radio-group.ts
6535
- var import_react65 = require("@chakra-ui/react");
6536
- var import_anatomy31 = require("@chakra-ui/react/anatomy");
7055
+ var import_react68 = require("@chakra-ui/react");
7056
+ var import_anatomy34 = require("@chakra-ui/react/anatomy");
6537
7057
  var _a6, _b5, _c4, _d4, _e4, _f4, _g4, _h2, _i2, _j2, _k2, _l2, _m2, _n2;
6538
- var radioGroupSlotRecipe = (0, import_react65.defineSlotRecipe)({
7058
+ var radioGroupSlotRecipe = (0, import_react68.defineSlotRecipe)({
6539
7059
  className: "chakra-radio-group",
6540
- slots: import_anatomy31.radioGroupAnatomy.keys(),
7060
+ slots: import_anatomy34.radioGroupAnatomy.keys(),
6541
7061
  base: {
6542
7062
  item: {
6543
7063
  display: "inline-flex",
@@ -6595,11 +7115,11 @@ var radioGroupSlotRecipe = (0, import_react65.defineSlotRecipe)({
6595
7115
  });
6596
7116
 
6597
7117
  // src/theme/recipes/chakra/rating-group.ts
6598
- var import_react66 = require("@chakra-ui/react");
6599
- var import_anatomy32 = require("@chakra-ui/react/anatomy");
6600
- var ratingGroupSlotRecipe = (0, import_react66.defineSlotRecipe)({
7118
+ var import_react69 = require("@chakra-ui/react");
7119
+ var import_anatomy35 = require("@chakra-ui/react/anatomy");
7120
+ var ratingGroupSlotRecipe = (0, import_react69.defineSlotRecipe)({
6601
7121
  className: "chakra-rating-group",
6602
- slots: import_anatomy32.ratingGroupAnatomy.keys(),
7122
+ slots: import_anatomy35.ratingGroupAnatomy.keys(),
6603
7123
  base: {
6604
7124
  root: {
6605
7125
  display: "inline-flex"
@@ -6618,184 +7138,58 @@ var ratingGroupSlotRecipe = (0, import_react66.defineSlotRecipe)({
6618
7138
  display: "inline-flex",
6619
7139
  alignItems: "center",
6620
7140
  justifyContent: "center",
6621
- width: "1em",
6622
- height: "1em",
6623
- position: "relative",
6624
- _icon: {
6625
- stroke: "currentColor",
6626
- width: "100%",
6627
- height: "100%",
6628
- display: "inline-block",
6629
- flexShrink: 0,
6630
- position: "absolute",
6631
- left: 0,
6632
- top: 0
6633
- },
6634
- "& [data-bg]": {
6635
- color: "bg.emphasized"
6636
- },
6637
- "& [data-fg]": {
6638
- color: "transparent"
6639
- },
6640
- "&[data-highlighted]:not([data-half])": {
6641
- "& [data-fg]": {
6642
- color: "colorPalette.solid"
6643
- }
6644
- },
6645
- "&[data-half]": {
6646
- "& [data-fg]": {
6647
- color: "colorPalette.solid",
6648
- clipPath: "inset(0 50% 0 0)"
6649
- }
6650
- }
6651
- }
6652
- },
6653
- variants: {
6654
- size: {
6655
- xs: {
6656
- item: {
6657
- textStyle: "sm"
6658
- }
6659
- },
6660
- sm: {
6661
- item: {
6662
- textStyle: "md"
6663
- }
6664
- },
6665
- md: {
6666
- item: {
6667
- textStyle: "xl"
6668
- }
6669
- },
6670
- lg: {
6671
- item: {
6672
- textStyle: "2xl"
6673
- }
6674
- }
6675
- }
6676
- },
6677
- defaultVariants: {
6678
- size: "md"
6679
- }
6680
- });
6681
-
6682
- // src/theme/recipes/chakra/segment-group.ts
6683
- var import_react67 = require("@chakra-ui/react");
6684
- var import_anatomy33 = require("@chakra-ui/react/anatomy");
6685
- var segmentGroupSlotRecipe = (0, import_react67.defineSlotRecipe)({
6686
- className: "chakra-segment-group",
6687
- slots: import_anatomy33.segmentGroupAnatomy.keys(),
6688
- base: {
6689
- root: {
6690
- "--segment-radius": "radii.md",
6691
- borderRadius: "md",
6692
- display: "inline-flex",
6693
- boxShadow: "inset",
6694
- minW: "max-content",
6695
- textAlign: "center",
6696
- position: "relative",
6697
- isolation: "isolate",
6698
- bg: "bg.muted",
6699
- borderWidth: "1px"
6700
- },
6701
- item: {
6702
- display: "flex",
6703
- alignItems: "center",
6704
- userSelect: "none",
6705
- fontSize: "sm",
6706
- position: "relative",
6707
- color: "fg.subtle",
6708
- cursor: "button",
6709
- borderRadius: "var(--segment-radius)",
6710
- _disabled: {
6711
- opacity: "0.5"
6712
- },
6713
- _hover: {
6714
- color: "fg"
6715
- },
6716
- "&:has(input:focus-visible)": {
6717
- focusRing: "inside",
6718
- focusRingWidth: "1px"
6719
- },
6720
- _before: {
6721
- content: '""',
7141
+ width: "1em",
7142
+ height: "1em",
7143
+ position: "relative",
7144
+ _icon: {
7145
+ stroke: "currentColor",
7146
+ width: "100%",
7147
+ height: "100%",
7148
+ display: "inline-block",
7149
+ flexShrink: 0,
6722
7150
  position: "absolute",
6723
- insetInlineStart: 0,
6724
- insetBlock: "0",
6725
- bg: "border",
6726
- width: "1px",
6727
- transition: "opacity 0.2s"
7151
+ left: 0,
7152
+ top: 0
6728
7153
  },
6729
- _checked: {
6730
- color: "fg"
7154
+ "& [data-bg]": {
7155
+ color: "bg.emphasized"
6731
7156
  },
6732
- "& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type": {
6733
- _before: {
6734
- opacity: "0"
7157
+ "& [data-fg]": {
7158
+ color: "transparent"
7159
+ },
7160
+ "&[data-highlighted]:not([data-half])": {
7161
+ "& [data-fg]": {
7162
+ color: "colorPalette.solid"
6735
7163
  }
6736
7164
  },
6737
- "&[data-state=checked][data-ssr]": {
6738
- shadow: "sm",
6739
- bg: "bg",
6740
- color: "fg",
6741
- borderRadius: "var(--segment-radius)"
7165
+ "&[data-half]": {
7166
+ "& [data-fg]": {
7167
+ color: "colorPalette.solid",
7168
+ clipPath: "inset(0 50% 0 0)"
7169
+ }
6742
7170
  }
6743
- },
6744
- indicator: {
6745
- shadow: "sm",
6746
- pos: "absolute",
6747
- bg: {
6748
- base: "bg",
6749
- _dark: "bg.emphasized"
6750
- },
6751
- width: "var(--width)",
6752
- height: "var(--height)",
6753
- top: "var(--top)",
6754
- left: "var(--left)",
6755
- zIndex: -1,
6756
- borderRadius: "var(--segment-radius)"
6757
7171
  }
6758
7172
  },
6759
7173
  variants: {
6760
7174
  size: {
6761
7175
  xs: {
6762
- root: {
6763
- height: "6"
6764
- },
6765
7176
  item: {
6766
- textStyle: "xs",
6767
- px: "3",
6768
- gap: "1"
7177
+ textStyle: "sm"
6769
7178
  }
6770
7179
  },
6771
7180
  sm: {
6772
- root: {
6773
- height: "7"
6774
- },
6775
7181
  item: {
6776
- textStyle: "sm",
6777
- px: "4",
6778
- gap: "2"
7182
+ textStyle: "md"
6779
7183
  }
6780
7184
  },
6781
7185
  md: {
6782
- root: {
6783
- height: "8"
6784
- },
6785
7186
  item: {
6786
- textStyle: "sm",
6787
- px: "4",
6788
- gap: "2"
7187
+ textStyle: "xl"
6789
7188
  }
6790
7189
  },
6791
7190
  lg: {
6792
- root: {
6793
- height: "10"
6794
- },
6795
7191
  item: {
6796
- textStyle: "md",
6797
- px: "5",
6798
- gap: "3"
7192
+ textStyle: "2xl"
6799
7193
  }
6800
7194
  }
6801
7195
  }
@@ -6806,11 +7200,11 @@ var segmentGroupSlotRecipe = (0, import_react67.defineSlotRecipe)({
6806
7200
  });
6807
7201
 
6808
7202
  // src/theme/recipes/chakra/slider.ts
6809
- var import_react68 = require("@chakra-ui/react");
6810
- var import_anatomy34 = require("@chakra-ui/react/anatomy");
6811
- var sliderSlotRecipe = (0, import_react68.defineSlotRecipe)({
7203
+ var import_react70 = require("@chakra-ui/react");
7204
+ var import_anatomy36 = require("@chakra-ui/react/anatomy");
7205
+ var sliderSlotRecipe = (0, import_react70.defineSlotRecipe)({
6812
7206
  className: "chakra-slider",
6813
- slots: import_anatomy34.sliderAnatomy.keys(),
7207
+ slots: import_anatomy36.sliderAnatomy.keys(),
6814
7208
  base: {
6815
7209
  root: {
6816
7210
  display: "flex",
@@ -6983,11 +7377,11 @@ var sliderSlotRecipe = (0, import_react68.defineSlotRecipe)({
6983
7377
  });
6984
7378
 
6985
7379
  // src/theme/recipes/chakra/stat.ts
6986
- var import_react69 = require("@chakra-ui/react");
6987
- var import_anatomy35 = require("@chakra-ui/react/anatomy");
6988
- var statSlotRecipe = (0, import_react69.defineSlotRecipe)({
7380
+ var import_react71 = require("@chakra-ui/react");
7381
+ var import_anatomy37 = require("@chakra-ui/react/anatomy");
7382
+ var statSlotRecipe = (0, import_react71.defineSlotRecipe)({
6989
7383
  className: "chakra-stat",
6990
- slots: import_anatomy35.statAnatomy.keys(),
7384
+ slots: import_anatomy37.statAnatomy.keys(),
6991
7385
  base: {
6992
7386
  root: {
6993
7387
  display: "flex",
@@ -7061,11 +7455,11 @@ var statSlotRecipe = (0, import_react69.defineSlotRecipe)({
7061
7455
  });
7062
7456
 
7063
7457
  // src/theme/recipes/chakra/steps.ts
7064
- var import_react70 = require("@chakra-ui/react");
7065
- var import_anatomy36 = require("@chakra-ui/react/anatomy");
7066
- var stepsSlotRecipe = (0, import_react70.defineSlotRecipe)({
7458
+ var import_react72 = require("@chakra-ui/react");
7459
+ var import_anatomy38 = require("@chakra-ui/react/anatomy");
7460
+ var stepsSlotRecipe = (0, import_react72.defineSlotRecipe)({
7067
7461
  className: "chakra-steps",
7068
- slots: import_anatomy36.stepsAnatomy.keys(),
7462
+ slots: import_anatomy38.stepsAnatomy.keys(),
7069
7463
  base: {
7070
7464
  root: {
7071
7465
  display: "flex",
@@ -7276,10 +7670,10 @@ var stepsSlotRecipe = (0, import_react70.defineSlotRecipe)({
7276
7670
  });
7277
7671
 
7278
7672
  // src/theme/recipes/chakra/switch.ts
7279
- var import_react71 = require("@chakra-ui/react");
7280
- var import_anatomy37 = require("@chakra-ui/react/anatomy");
7281
- var switchSlotRecipe = (0, import_react71.defineSlotRecipe)({
7282
- slots: import_anatomy37.switchAnatomy.keys(),
7673
+ var import_react73 = require("@chakra-ui/react");
7674
+ var import_anatomy39 = require("@chakra-ui/react/anatomy");
7675
+ var switchSlotRecipe = (0, import_react73.defineSlotRecipe)({
7676
+ slots: import_anatomy39.switchAnatomy.keys(),
7283
7677
  className: "chakra-switch",
7284
7678
  base: {
7285
7679
  root: {
@@ -7434,11 +7828,11 @@ var switchSlotRecipe = (0, import_react71.defineSlotRecipe)({
7434
7828
  });
7435
7829
 
7436
7830
  // src/theme/recipes/chakra/table.ts
7437
- var import_react72 = require("@chakra-ui/react");
7438
- var import_anatomy38 = require("@chakra-ui/react/anatomy");
7439
- var tableSlotRecipe = (0, import_react72.defineSlotRecipe)({
7831
+ var import_react74 = require("@chakra-ui/react");
7832
+ var import_anatomy40 = require("@chakra-ui/react/anatomy");
7833
+ var tableSlotRecipe = (0, import_react74.defineSlotRecipe)({
7440
7834
  className: "chakra-table",
7441
- slots: import_anatomy38.tableAnatomy.keys(),
7835
+ slots: import_anatomy40.tableAnatomy.keys(),
7442
7836
  base: {
7443
7837
  root: {
7444
7838
  fontVariantNumeric: "lining-nums tabular-nums",
@@ -7534,344 +7928,73 @@ var tableSlotRecipe = (0, import_react72.defineSlotRecipe)({
7534
7928
  },
7535
7929
  columnHeader: {
7536
7930
  borderBottomWidth: "1px"
7537
- },
7538
- header: {
7539
- bg: "bg.muted"
7540
- },
7541
- row: {
7542
- "&:not(:last-of-type)": {
7543
- borderBottomWidth: "1px"
7544
- }
7545
- },
7546
- footer: {
7547
- borderTopWidth: "1px"
7548
- }
7549
- }
7550
- },
7551
- size: {
7552
- sm: {
7553
- root: {
7554
- textStyle: "sm"
7555
- },
7556
- columnHeader: {
7557
- px: "2",
7558
- py: "2"
7559
- },
7560
- cell: {
7561
- px: "2",
7562
- py: "2"
7563
- }
7564
- },
7565
- md: {
7566
- root: {
7567
- textStyle: "sm"
7568
- },
7569
- columnHeader: {
7570
- px: "3",
7571
- py: "3"
7572
- },
7573
- cell: {
7574
- px: "3",
7575
- py: "3"
7576
- }
7577
- },
7578
- lg: {
7579
- root: {
7580
- textStyle: "md"
7581
- },
7582
- columnHeader: {
7583
- px: "4",
7584
- py: "3"
7585
- },
7586
- cell: {
7587
- px: "4",
7588
- py: "3"
7589
- }
7590
- }
7591
- }
7592
- },
7593
- defaultVariants: {
7594
- variant: "line",
7595
- size: "md"
7596
- }
7597
- });
7598
-
7599
- // src/theme/recipes/chakra/tabs.ts
7600
- var import_react73 = require("@chakra-ui/react");
7601
- var import_anatomy39 = require("@chakra-ui/react/anatomy");
7602
- var tabsSlotRecipe = (0, import_react73.defineSlotRecipe)({
7603
- slots: import_anatomy39.tabsAnatomy.keys(),
7604
- className: "chakra-tabs",
7605
- base: {
7606
- root: {
7607
- "--tabs-trigger-radius": "radii.l2",
7608
- position: "relative",
7609
- _horizontal: {
7610
- display: "block"
7611
- },
7612
- _vertical: {
7613
- display: "flex"
7614
- }
7615
- },
7616
- list: {
7617
- display: "inline-flex",
7618
- position: "relative",
7619
- isolation: "isolate",
7620
- "--tabs-indicator-shadow": "shadows.xs",
7621
- "--tabs-indicator-bg": "colors.bg",
7622
- minH: "var(--tabs-height)",
7623
- _horizontal: {
7624
- flexDirection: "row"
7625
- },
7626
- _vertical: {
7627
- flexDirection: "column"
7628
- }
7629
- },
7630
- trigger: {
7631
- outline: "0",
7632
- minW: "var(--tabs-height)",
7633
- height: "var(--tabs-height)",
7634
- display: "flex",
7635
- alignItems: "center",
7636
- fontWeight: "medium",
7637
- position: "relative",
7638
- cursor: "button",
7639
- gap: "2",
7640
- _focusVisible: {
7641
- zIndex: 1,
7642
- focusVisibleRing: "outside"
7643
- },
7644
- _disabled: {
7645
- cursor: "not-allowed",
7646
- opacity: 0.5
7647
- }
7648
- },
7649
- content: {
7650
- focusVisibleRing: "inside",
7651
- _horizontal: {
7652
- width: "100%",
7653
- pt: "var(--tabs-content-padding)"
7654
- },
7655
- _vertical: {
7656
- height: "100%",
7657
- ps: "var(--tabs-content-padding)"
7658
- }
7659
- },
7660
- indicator: {
7661
- width: "var(--width)",
7662
- height: "var(--height)",
7663
- borderRadius: "var(--tabs-indicator-radius)",
7664
- bg: "var(--tabs-indicator-bg)",
7665
- shadow: "var(--tabs-indicator-shadow)",
7666
- zIndex: -1
7667
- }
7668
- },
7669
- variants: {
7670
- fitted: {
7671
- true: {
7672
- list: {
7673
- display: "flex"
7674
- },
7675
- trigger: {
7676
- flex: 1,
7677
- textAlign: "center",
7678
- justifyContent: "center"
7679
- }
7680
- }
7681
- },
7682
- justify: {
7683
- start: {
7684
- list: {
7685
- justifyContent: "flex-start"
7686
- }
7687
- },
7688
- center: {
7689
- list: {
7690
- justifyContent: "center"
7691
- }
7692
- },
7693
- end: {
7694
- list: {
7695
- justifyContent: "flex-end"
7931
+ },
7932
+ header: {
7933
+ bg: "bg.muted"
7934
+ },
7935
+ row: {
7936
+ "&:not(:last-of-type)": {
7937
+ borderBottomWidth: "1px"
7938
+ }
7939
+ },
7940
+ footer: {
7941
+ borderTopWidth: "1px"
7696
7942
  }
7697
7943
  }
7698
7944
  },
7699
7945
  size: {
7700
7946
  sm: {
7701
7947
  root: {
7702
- "--tabs-height": "sizes.9",
7703
- "--tabs-content-padding": "spacing.3"
7704
- },
7705
- trigger: {
7706
- py: "1",
7707
- px: "3",
7708
7948
  textStyle: "sm"
7949
+ },
7950
+ columnHeader: {
7951
+ px: "2",
7952
+ py: "2"
7953
+ },
7954
+ cell: {
7955
+ px: "2",
7956
+ py: "2"
7709
7957
  }
7710
7958
  },
7711
7959
  md: {
7712
7960
  root: {
7713
- "--tabs-height": "sizes.10",
7714
- "--tabs-content-padding": "spacing.4"
7715
- },
7716
- trigger: {
7717
- py: "2",
7718
- px: "4",
7719
7961
  textStyle: "sm"
7962
+ },
7963
+ columnHeader: {
7964
+ px: "3",
7965
+ py: "3"
7966
+ },
7967
+ cell: {
7968
+ px: "3",
7969
+ py: "3"
7720
7970
  }
7721
7971
  },
7722
7972
  lg: {
7723
7973
  root: {
7724
- "--tabs-height": "sizes.11",
7725
- "--tabs-content-padding": "spacing.4.5"
7726
- },
7727
- trigger: {
7728
- py: "2",
7729
- px: "4.5",
7730
7974
  textStyle: "md"
7731
- }
7732
- }
7733
- },
7734
- variant: {
7735
- line: {
7736
- list: {
7737
- display: "flex",
7738
- borderColor: "border",
7739
- _horizontal: {
7740
- borderBottomWidth: "1px"
7741
- },
7742
- _vertical: {
7743
- borderEndWidth: "1px"
7744
- }
7745
- },
7746
- trigger: {
7747
- color: "fg.muted",
7748
- _disabled: {
7749
- _active: { bg: "initial" }
7750
- },
7751
- _selected: {
7752
- color: "fg",
7753
- _horizontal: {
7754
- layerStyle: "indicator.bottom",
7755
- "--indicator-offset-y": "-1px",
7756
- "--indicator-color": "colors.colorPalette.solid"
7757
- },
7758
- _vertical: {
7759
- layerStyle: "indicator.end",
7760
- "--indicator-offset-x": "-1px"
7761
- }
7762
- }
7763
- }
7764
- },
7765
- subtle: {
7766
- trigger: {
7767
- borderRadius: "var(--tabs-trigger-radius)",
7768
- color: "fg.muted",
7769
- _selected: {
7770
- bg: "colorPalette.subtle",
7771
- color: "colorPalette.fg"
7772
- }
7773
- }
7774
- },
7775
- enclosed: {
7776
- list: {
7777
- bg: "bg.muted",
7778
- padding: "1",
7779
- borderRadius: "l3",
7780
- minH: "calc(var(--tabs-height) - 4px)"
7781
7975
  },
7782
- trigger: {
7783
- justifyContent: "center",
7784
- color: "fg.muted",
7785
- borderRadius: "var(--tabs-trigger-radius)",
7786
- _selected: {
7787
- bg: "bg",
7788
- color: "colorPalette.fg",
7789
- shadow: "xs"
7790
- }
7791
- }
7792
- },
7793
- outline: {
7794
- list: {
7795
- "--line-thickness": "1px",
7796
- "--line-offset": "calc(var(--line-thickness) * -1)",
7797
- borderColor: "border",
7798
- display: "flex",
7799
- _horizontal: {
7800
- _before: {
7801
- content: '""',
7802
- position: "absolute",
7803
- bottom: "0px",
7804
- width: "100%",
7805
- borderBottomWidth: "var(--line-thickness)",
7806
- borderBottomColor: "border"
7807
- }
7808
- },
7809
- _vertical: {
7810
- _before: {
7811
- content: '""',
7812
- position: "absolute",
7813
- insetInline: "var(--line-offset)",
7814
- height: "calc(100% - calc(var(--line-thickness) * 2))",
7815
- borderEndWidth: "var(--line-thickness)",
7816
- borderEndColor: "border"
7817
- }
7818
- }
7976
+ columnHeader: {
7977
+ px: "4",
7978
+ py: "3"
7819
7979
  },
7820
- trigger: {
7821
- color: "fg.muted",
7822
- borderWidth: "1px",
7823
- borderColor: "transparent",
7824
- _selected: {
7825
- bg: "currentBg",
7826
- color: "colorPalette.fg"
7827
- },
7828
- _horizontal: {
7829
- borderTopRadius: "var(--tabs-trigger-radius)",
7830
- marginBottom: "var(--line-offset)",
7831
- marginEnd: { _notLast: "var(--line-offset)" },
7832
- _selected: {
7833
- borderColor: "border",
7834
- borderBottomColor: "transparent"
7835
- }
7836
- },
7837
- _vertical: {
7838
- borderStartRadius: "var(--tabs-trigger-radius)",
7839
- marginEnd: "var(--line-offset)",
7840
- marginBottom: { _notLast: "var(--line-offset)" },
7841
- _selected: {
7842
- borderColor: "border",
7843
- borderEndColor: "transparent"
7844
- }
7845
- }
7846
- }
7847
- },
7848
- plain: {
7849
- trigger: {
7850
- color: "fg.muted",
7851
- _selected: {
7852
- color: "colorPalette.fg"
7853
- },
7854
- borderRadius: "var(--tabs-trigger-radius)",
7855
- "&[data-selected][data-ssr]": {
7856
- bg: "var(--tabs-indicator-bg)",
7857
- shadow: "var(--tabs-indicator-shadow)",
7858
- borderRadius: "var(--tabs-indicator-radius)"
7859
- }
7980
+ cell: {
7981
+ px: "4",
7982
+ py: "3"
7860
7983
  }
7861
7984
  }
7862
7985
  }
7863
7986
  },
7864
7987
  defaultVariants: {
7865
- size: "md",
7866
- variant: "line"
7988
+ variant: "line",
7989
+ size: "md"
7867
7990
  }
7868
7991
  });
7869
7992
 
7870
7993
  // src/theme/recipes/chakra/timeline.ts
7871
- var import_react74 = require("@chakra-ui/react");
7872
- var import_anatomy40 = require("@chakra-ui/react/anatomy");
7873
- var timelineSlotRecipe = (0, import_react74.defineSlotRecipe)({
7874
- slots: import_anatomy40.timelineAnatomy.keys(),
7994
+ var import_react75 = require("@chakra-ui/react");
7995
+ var import_anatomy41 = require("@chakra-ui/react/anatomy");
7996
+ var timelineSlotRecipe = (0, import_react75.defineSlotRecipe)({
7997
+ slots: import_anatomy41.timelineAnatomy.keys(),
7875
7998
  className: "chakra-timeline",
7876
7999
  base: {
7877
8000
  root: {
@@ -8003,102 +8126,6 @@ var timelineSlotRecipe = (0, import_react74.defineSlotRecipe)({
8003
8126
  }
8004
8127
  });
8005
8128
 
8006
- // src/theme/recipes/chakra/toast.ts
8007
- var import_react75 = require("@chakra-ui/react");
8008
- var import_anatomy41 = require("@chakra-ui/react/anatomy");
8009
- var toastSlotRecipe = (0, import_react75.defineSlotRecipe)({
8010
- slots: import_anatomy41.toastAnatomy.keys(),
8011
- className: "chakra-toast",
8012
- base: {
8013
- root: {
8014
- width: "full",
8015
- display: "flex",
8016
- alignItems: "flex-start",
8017
- position: "relative",
8018
- gap: "3",
8019
- py: "4",
8020
- ps: "4",
8021
- pe: "6",
8022
- borderRadius: "l2",
8023
- translate: "var(--x) var(--y)",
8024
- scale: "var(--scale)",
8025
- zIndex: "var(--z-index)",
8026
- height: "var(--height)",
8027
- opacity: "var(--opacity)",
8028
- willChange: "translate, opacity, scale",
8029
- transition: "translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",
8030
- transitionTimingFunction: "cubic-bezier(0.21, 1.02, 0.73, 1)",
8031
- _closed: {
8032
- transition: "translate 400ms, scale 400ms, opacity 200ms",
8033
- transitionTimingFunction: "cubic-bezier(0.06, 0.71, 0.55, 1)"
8034
- },
8035
- bg: "bg.panel",
8036
- color: "fg",
8037
- boxShadow: "xl",
8038
- "--toast-trigger-bg": "colors.bg.muted",
8039
- "&[data-type=warning]": {
8040
- bg: "orange.solid",
8041
- color: "orange.contrast",
8042
- "--toast-trigger-bg": "{white/10}",
8043
- "--toast-border-color": "{white/40}"
8044
- },
8045
- "&[data-type=success]": {
8046
- bg: "green.solid",
8047
- color: "green.contrast",
8048
- "--toast-trigger-bg": "{white/10}",
8049
- "--toast-border-color": "{white/40}"
8050
- },
8051
- "&[data-type=error]": {
8052
- bg: "red.solid",
8053
- color: "red.contrast",
8054
- "--toast-trigger-bg": "{white/10}",
8055
- "--toast-border-color": "{white/40}"
8056
- }
8057
- },
8058
- title: {
8059
- fontWeight: "medium",
8060
- textStyle: "sm",
8061
- marginEnd: "2"
8062
- },
8063
- description: {
8064
- display: "inline",
8065
- textStyle: "sm",
8066
- opacity: "0.8"
8067
- },
8068
- indicator: {
8069
- flexShrink: "0",
8070
- boxSize: "5"
8071
- },
8072
- actionTrigger: {
8073
- textStyle: "sm",
8074
- fontWeight: "medium",
8075
- height: "8",
8076
- px: "3",
8077
- borderRadius: "l2",
8078
- alignSelf: "center",
8079
- borderWidth: "1px",
8080
- borderColor: "var(--toast-border-color, inherit)",
8081
- transition: "background 200ms",
8082
- _hover: {
8083
- bg: "var(--toast-trigger-bg)"
8084
- }
8085
- },
8086
- closeTrigger: {
8087
- position: "absolute",
8088
- top: "1",
8089
- insetEnd: "1",
8090
- padding: "1",
8091
- display: "inline-flex",
8092
- alignItems: "center",
8093
- justifyContent: "center",
8094
- color: "{currentColor/60}",
8095
- borderRadius: "l2",
8096
- textStyle: "md",
8097
- transition: "background 200ms"
8098
- }
8099
- }
8100
- });
8101
-
8102
8129
  // src/theme/recipes/chakra/tooltip.ts
8103
8130
  var import_react76 = require("@chakra-ui/react");
8104
8131
  var import_anatomy42 = require("@chakra-ui/react/anatomy");
@@ -9148,7 +9175,7 @@ defaultConfig.utilities = Object.assign(
9148
9175
  var defaultSystem = (0, import_react97.createSystem)(defaultConfig);
9149
9176
 
9150
9177
  // src/index.ts
9151
- var import_react169 = require("@chakra-ui/react");
9178
+ var import_react170 = require("@chakra-ui/react");
9152
9179
 
9153
9180
  // src/provider/sui-provider.tsx
9154
9181
  var React = __toESM(require("react"), 1);
@@ -9461,6 +9488,9 @@ var Key = (props) => {
9461
9488
  return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react114.Kbd, { ...rest, children });
9462
9489
  };
9463
9490
 
9491
+ // src/components/data-list/index.ts
9492
+ var import_data_list2 = require("@chakra-ui/react/data-list");
9493
+
9464
9494
  // src/components/dialog/namespace.ts
9465
9495
  var namespace_exports = {};
9466
9496
  __export(namespace_exports, {
@@ -10861,6 +10891,9 @@ var Switch = (0, import_react163.forwardRef)(
10861
10891
  }
10862
10892
  );
10863
10893
 
10894
+ // src/components/tabs/index.ts
10895
+ var import_tabs = require("@chakra-ui/react/tabs");
10896
+
10864
10897
  // src/components/tag/tag.tsx
10865
10898
  var import_react164 = require("react");
10866
10899
  var import_react165 = require("@chakra-ui/react");
@@ -10885,32 +10918,60 @@ var Tag = (0, import_react164.forwardRef)(
10885
10918
  );
10886
10919
 
10887
10920
  // src/components/toaster/toaster.tsx
10888
- var import_react166 = require("@chakra-ui/react");
10921
+ var import_react166 = require("react");
10922
+ var import_react167 = require("@chakra-ui/react");
10889
10923
  var import_jsx_runtime36 = require("react/jsx-runtime");
10890
- var toast = (0, import_react166.createToaster)({
10924
+ var defaultOptions = {
10891
10925
  placement: "bottom-end",
10892
10926
  pauseOnPageIdle: true
10893
- });
10894
- var Toaster = () => {
10895
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react166.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react166.Toaster, { toaster: toast, insetInline: { mdDown: "4" }, children: (toast2) => {
10927
+ };
10928
+ var toast = (0, import_react167.createToaster)(defaultOptions);
10929
+ var Toaster = (props) => {
10930
+ const { closable: defaultClosable = true, ...options } = props || {};
10931
+ const toaster = (0, import_react166.useMemo)(() => {
10932
+ toast = (0, import_react167.createToaster)({
10933
+ ...defaultOptions,
10934
+ ...options
10935
+ });
10936
+ return toast;
10937
+ }, [options]);
10938
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react167.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react167.Toaster, { toaster, insetInline: { mdDown: "4" }, children: (toast2) => {
10896
10939
  var _a8;
10897
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_react166.Toast.Root, { width: { md: "sm" }, children: [
10898
- toast2.type === "loading" ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react166.Spinner, { size: "sm", color: "colorPalette.solid" }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react166.Toast.Indicator, {}),
10899
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_react166.Stack, { gap: "1", flex: "1", maxWidth: "100%", children: [
10900
- toast2.title && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react166.Toast.Title, { children: toast2.title }),
10901
- toast2.description && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react166.Toast.Description, { children: toast2.description })
10940
+ const closable = ((_a8 = toast2.meta) == null ? void 0 : _a8.closable) === false ? false : defaultClosable && toast2.type !== "loading";
10941
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(ToastRoot, { children: [
10942
+ toast2.type === "loading" ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react167.Spinner, { size: "sm", color: "colorPalette.solid", mt: "0.5" }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react167.Toast.Indicator, {}),
10943
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_react167.Stack, { gap: "1", flex: "1", maxWidth: "100%", children: [
10944
+ toast2.title && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react167.Toast.Title, { children: toast2.title }),
10945
+ toast2.description && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react167.Toast.Description, { children: toast2.description }),
10946
+ toast2.action && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react167.Toast.ActionTrigger, { children: toast2.action.label })
10902
10947
  ] }),
10903
- toast2.action && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react166.Toast.ActionTrigger, { children: toast2.action.label }),
10904
- ((_a8 = toast2.meta) == null ? void 0 : _a8.closable) && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react166.Toast.CloseTrigger, {})
10948
+ closable !== false && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react167.Toast.CloseTrigger, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CloseButton, { size: "xs" }) })
10905
10949
  ] });
10906
10950
  } }) });
10907
10951
  };
10952
+ function ToastRoot(props) {
10953
+ const [rect, setRect] = (0, import_react166.useState)();
10954
+ const rectCallbackRef = (0, import_react166.useCallback)((el) => {
10955
+ setRect(el == null ? void 0 : el.getBoundingClientRect());
10956
+ }, []);
10957
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
10958
+ import_react167.Toast.Root,
10959
+ {
10960
+ ref: rectCallbackRef,
10961
+ width: { md: "sm" },
10962
+ css: {
10963
+ "--toast-height": `${rect == null ? void 0 : rect.height}px`
10964
+ },
10965
+ children: props.children
10966
+ }
10967
+ );
10968
+ }
10908
10969
 
10909
10970
  // src/components/tooltip/tooltip.tsx
10910
- var import_react167 = require("react");
10911
- var import_react168 = require("@chakra-ui/react");
10971
+ var import_react168 = require("react");
10972
+ var import_react169 = require("@chakra-ui/react");
10912
10973
  var import_jsx_runtime37 = require("react/jsx-runtime");
10913
- var Tooltip = (0, import_react167.forwardRef)(
10974
+ var Tooltip = (0, import_react168.forwardRef)(
10914
10975
  function Tooltip2(props, ref) {
10915
10976
  const {
10916
10977
  showArrow,
@@ -10923,10 +10984,10 @@ var Tooltip = (0, import_react167.forwardRef)(
10923
10984
  ...rest
10924
10985
  } = props;
10925
10986
  if (disabled) return children;
10926
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_react168.Tooltip.Root, { ...rest, children: [
10927
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react168.Tooltip.Trigger, { asChild: true, children }),
10928
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react168.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react168.Tooltip.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_react168.Tooltip.Content, { ref, ...contentProps, children: [
10929
- showArrow && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react168.Tooltip.Arrow, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react168.Tooltip.ArrowTip, {}) }),
10987
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_react169.Tooltip.Root, { ...rest, children: [
10988
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react169.Tooltip.Trigger, { asChild: true, children }),
10989
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react169.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react169.Tooltip.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_react169.Tooltip.Content, { ref, ...contentProps, children: [
10990
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react169.Tooltip.Arrow, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react169.Tooltip.ArrowTip, {}) }),
10930
10991
  content
10931
10992
  ] }) }) })
10932
10993
  ] });
@@ -10943,6 +11004,7 @@ var Tooltip = (0, import_react167.forwardRef)(
10943
11004
  Checkbox,
10944
11005
  CloseButton,
10945
11006
  Command,
11007
+ DataList,
10946
11008
  Dialog,
10947
11009
  Drawer,
10948
11010
  EmptyState,
@@ -10972,6 +11034,7 @@ var Tooltip = (0, import_react167.forwardRef)(
10972
11034
  SuiContext,
10973
11035
  SuiProvider,
10974
11036
  Switch,
11037
+ Tabs,
10975
11038
  Tag,
10976
11039
  Toaster,
10977
11040
  Tooltip,
@@ -10980,10 +11043,13 @@ var Tooltip = (0, import_react167.forwardRef)(
10980
11043
  defaultPresenceOptions,
10981
11044
  defaultSystem,
10982
11045
  toast,
11046
+ useDataListStyles,
10983
11047
  useLink,
10984
11048
  useLoadingOverlayStyles,
10985
11049
  useSidebar,
10986
11050
  useSidebarItemStyles,
10987
11051
  useSidebarStyles,
10988
- useSui
11052
+ useSui,
11053
+ useTabsContext,
11054
+ useTabsStyles
10989
11055
  });