@saas-ui/react 3.0.0-alpha.22 → 3.0.0-alpha.24
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +16 -0
- package/dist/{chunk-BU7QENBQ.js → chunk-3JZ42NYM.js} +1 -1
- package/dist/{chunk-VJ4NCA6R.js → chunk-3Y67QIZ7.js} +1 -1
- package/dist/chunk-52XM5VXJ.js +9 -0
- package/dist/chunk-IVLUAUU5.js +10 -0
- package/dist/chunk-JMYI6YXR.js +1 -0
- package/dist/{chunk-EQ7Q6HRE.js → chunk-OIOBGO3Y.js} +1 -1
- package/dist/chunk-RLIAFHVM.js +66 -0
- package/dist/{chunk-Q6IC3BTH.js → chunk-YKSY7UOM.js} +2 -2
- package/dist/components/badge/index.d.cts +2 -0
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/close-button/index.js +2 -1
- package/dist/components/data-list/index.cjs +33 -0
- package/dist/components/data-list/index.d.cts +1 -0
- package/dist/components/data-list/index.d.ts +1 -0
- package/dist/components/data-list/index.js +10 -0
- package/dist/components/dialog/index.js +3 -2
- package/dist/components/drawer/index.js +3 -2
- package/dist/components/navbar/index.d.cts +3 -3
- package/dist/components/navbar/index.d.ts +3 -3
- package/dist/components/persona/index.d.cts +3 -8
- package/dist/components/persona/index.d.ts +3 -8
- package/dist/components/select/index.js +3 -2
- package/dist/components/sidebar/index.d.cts +11 -11
- package/dist/components/sidebar/index.d.ts +11 -11
- package/dist/components/status/index.cjs +2 -2
- package/dist/components/status/index.js +1 -1
- package/dist/components/tabs/index.cjs +35 -0
- package/dist/components/tabs/index.d.cts +1 -0
- package/dist/components/tabs/index.d.ts +1 -0
- package/dist/components/tabs/index.js +12 -0
- package/dist/components/toaster/index.cjs +161 -11
- package/dist/components/toaster/index.d.cts +6 -5
- package/dist/components/toaster/index.d.ts +6 -5
- package/dist/components/toaster/index.js +3 -1
- package/dist/index.cjs +883 -796
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +769 -711
- package/package.json +1 -1
- package/dist/chunk-HELHPHIQ.js +0 -35
- /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: () =>
|
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
|
|
@@ -1565,6 +1570,20 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
|
|
1565
1570
|
value: { _light: "{colors.gray.400}", _dark: "{colors.gray.400}" }
|
1566
1571
|
}
|
1567
1572
|
},
|
1573
|
+
status: {
|
1574
|
+
success: {
|
1575
|
+
value: { _light: "{colors.green.500}", _dark: "{colors.green.500}" }
|
1576
|
+
},
|
1577
|
+
error: {
|
1578
|
+
value: { _light: "{colors.red.500}", _dark: "{colors.red.500}" }
|
1579
|
+
},
|
1580
|
+
warning: {
|
1581
|
+
value: { _light: "{colors.orange.500}", _dark: "{colors.orange.500}" }
|
1582
|
+
},
|
1583
|
+
info: {
|
1584
|
+
value: { _light: "{colors.blue.500}", _dark: "{colors.blue.500}" }
|
1585
|
+
}
|
1586
|
+
},
|
1568
1587
|
sidebar: {
|
1569
1588
|
bg: {
|
1570
1589
|
value: { _light: "{colors.gray.100}", _dark: "{colors.gray.900}" }
|
@@ -3282,9 +3301,135 @@ var personaSlotRecipe = (0, import_react35.defineSlotRecipe)({
|
|
3282
3301
|
}
|
3283
3302
|
});
|
3284
3303
|
|
3285
|
-
// src/components/
|
3304
|
+
// src/components/segmented-control/segment-group.recipe.ts
|
3286
3305
|
var import_react36 = require("@chakra-ui/react");
|
3287
|
-
var
|
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)({
|
3288
3433
|
className: "sui-sidebar-nav-item",
|
3289
3434
|
slots: ["item", "button", "endElement"],
|
3290
3435
|
base: {
|
@@ -3369,8 +3514,8 @@ var sidebarNavItemSlotRecipe = (0, import_react36.defineSlotRecipe)({
|
|
3369
3514
|
});
|
3370
3515
|
|
3371
3516
|
// src/components/sidebar/sidebar.recipe.ts
|
3372
|
-
var
|
3373
|
-
var sidebarSlotRecipe = (0,
|
3517
|
+
var import_react38 = require("@chakra-ui/react");
|
3518
|
+
var sidebarSlotRecipe = (0, import_react38.defineSlotRecipe)({
|
3374
3519
|
className: "sui-sidebar",
|
3375
3520
|
slots: [
|
3376
3521
|
"root",
|
@@ -3606,11 +3751,11 @@ var sidebarSlotRecipe = (0, import_react37.defineSlotRecipe)({
|
|
3606
3751
|
});
|
3607
3752
|
|
3608
3753
|
// src/components/status/status.recipe.ts
|
3609
|
-
var
|
3610
|
-
var
|
3611
|
-
var statusSlotRecipe = (0,
|
3754
|
+
var import_react39 = require("@chakra-ui/react");
|
3755
|
+
var import_anatomy5 = require("@chakra-ui/react/anatomy");
|
3756
|
+
var statusSlotRecipe = (0, import_react39.defineSlotRecipe)({
|
3612
3757
|
className: "chakra-status",
|
3613
|
-
slots:
|
3758
|
+
slots: import_anatomy5.statusAnatomy.keys(),
|
3614
3759
|
base: {
|
3615
3760
|
root: {
|
3616
3761
|
colorPalette: "gray",
|
@@ -3651,82 +3796,383 @@ var statusSlotRecipe = (0, import_react38.defineSlotRecipe)({
|
|
3651
3796
|
}
|
3652
3797
|
});
|
3653
3798
|
|
3654
|
-
// src/components/
|
3655
|
-
var
|
3656
|
-
var
|
3657
|
-
var
|
3658
|
-
|
3659
|
-
|
3660
|
-
slots: import_anatomy5.tagAnatomy.keys(),
|
3661
|
-
className: "chakra-tag",
|
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",
|
3662
3805
|
base: {
|
3663
3806
|
root: {
|
3664
|
-
colorPalette: "
|
3665
|
-
|
3666
|
-
alignItems: "center",
|
3667
|
-
verticalAlign: "top",
|
3668
|
-
maxWidth: "100%",
|
3669
|
-
userSelect: "none",
|
3670
|
-
borderRadius: "full",
|
3671
|
-
focusVisibleRing: "outside"
|
3672
|
-
},
|
3673
|
-
label: {
|
3674
|
-
lineClamp: "1"
|
3675
|
-
},
|
3676
|
-
closeTrigger: {
|
3677
|
-
cursor: "button",
|
3807
|
+
colorPalette: "gray",
|
3808
|
+
"--tabs-trigger-radius": "radii.md",
|
3678
3809
|
position: "relative",
|
3679
|
-
|
3680
|
-
|
3681
|
-
justifyContent: "center",
|
3682
|
-
outline: "0",
|
3683
|
-
borderRadius: "full",
|
3684
|
-
color: "currentColor",
|
3685
|
-
opacity: 0.8,
|
3686
|
-
padding: "1px",
|
3687
|
-
focusVisibleRing: "inside",
|
3688
|
-
focusRingWidth: "2px",
|
3689
|
-
_hover: {
|
3690
|
-
opacity: 1,
|
3691
|
-
bg: "colorPalette.subtle"
|
3810
|
+
_horizontal: {
|
3811
|
+
display: "block"
|
3692
3812
|
},
|
3693
|
-
|
3694
|
-
|
3695
|
-
position: "absolute",
|
3696
|
-
boxSize: "24px",
|
3697
|
-
borderRadius: "full"
|
3813
|
+
_vertical: {
|
3814
|
+
display: "flex"
|
3698
3815
|
}
|
3699
3816
|
},
|
3700
|
-
|
3817
|
+
list: {
|
3701
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",
|
3702
3836
|
alignItems: "center",
|
3703
|
-
|
3704
|
-
|
3705
|
-
|
3706
|
-
"
|
3707
|
-
|
3708
|
-
|
3837
|
+
fontWeight: "medium",
|
3838
|
+
position: "relative",
|
3839
|
+
cursor: "button",
|
3840
|
+
gap: "2",
|
3841
|
+
_focusVisible: {
|
3842
|
+
zIndex: 1,
|
3843
|
+
focusVisibleRing: "outside"
|
3709
3844
|
},
|
3710
|
-
|
3845
|
+
_disabled: {
|
3846
|
+
cursor: "not-allowed",
|
3847
|
+
opacity: 0.5
|
3848
|
+
}
|
3711
3849
|
},
|
3712
|
-
|
3713
|
-
|
3714
|
-
|
3715
|
-
|
3716
|
-
|
3717
|
-
|
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)"
|
3718
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
|
3719
3868
|
}
|
3720
3869
|
},
|
3721
3870
|
variants: {
|
3722
|
-
|
3723
|
-
|
3724
|
-
|
3725
|
-
|
3726
|
-
|
3727
|
-
|
3728
|
-
|
3729
|
-
|
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
|
+
|
4096
|
+
// src/components/tag/tag.recipe.ts
|
4097
|
+
var import_react41 = require("@chakra-ui/react");
|
4098
|
+
var import_anatomy7 = require("@chakra-ui/react/anatomy");
|
4099
|
+
var _a;
|
4100
|
+
var badgeVariant = (_a = badgeRecipe.variants) == null ? void 0 : _a.variant;
|
4101
|
+
var tagSlotRecipe = (0, import_react41.defineSlotRecipe)({
|
4102
|
+
slots: import_anatomy7.tagAnatomy.keys(),
|
4103
|
+
className: "chakra-tag",
|
4104
|
+
base: {
|
4105
|
+
root: {
|
4106
|
+
colorPalette: "neutral",
|
4107
|
+
display: "inline-flex",
|
4108
|
+
alignItems: "center",
|
4109
|
+
verticalAlign: "top",
|
4110
|
+
maxWidth: "100%",
|
4111
|
+
userSelect: "none",
|
4112
|
+
borderRadius: "full",
|
4113
|
+
focusVisibleRing: "outside"
|
4114
|
+
},
|
4115
|
+
label: {
|
4116
|
+
lineClamp: "1"
|
4117
|
+
},
|
4118
|
+
closeTrigger: {
|
4119
|
+
cursor: "button",
|
4120
|
+
position: "relative",
|
4121
|
+
display: "flex",
|
4122
|
+
alignItems: "center",
|
4123
|
+
justifyContent: "center",
|
4124
|
+
outline: "0",
|
4125
|
+
borderRadius: "full",
|
4126
|
+
color: "currentColor",
|
4127
|
+
opacity: 0.8,
|
4128
|
+
padding: "1px",
|
4129
|
+
focusVisibleRing: "inside",
|
4130
|
+
focusRingWidth: "2px",
|
4131
|
+
_hover: {
|
4132
|
+
opacity: 1,
|
4133
|
+
bg: "colorPalette.subtle"
|
4134
|
+
},
|
4135
|
+
_after: {
|
4136
|
+
content: '""',
|
4137
|
+
position: "absolute",
|
4138
|
+
boxSize: "24px",
|
4139
|
+
borderRadius: "full"
|
4140
|
+
}
|
4141
|
+
},
|
4142
|
+
startElement: {
|
4143
|
+
display: "inline-flex",
|
4144
|
+
alignItems: "center",
|
4145
|
+
justifyContent: "center",
|
4146
|
+
flexShrink: 0,
|
4147
|
+
boxSize: "var(--tag-element-size)",
|
4148
|
+
_icon: { boxSize: "80% !important" },
|
4149
|
+
"&:has([data-scope=avatar])": {
|
4150
|
+
boxSize: "var(--tag-avatar-size)",
|
4151
|
+
ms: "var(--tag-element-offset)"
|
4152
|
+
},
|
4153
|
+
'&:has([class*="status__root"])': {
|
4154
|
+
width: "var(--tag-status-size)"
|
4155
|
+
}
|
4156
|
+
},
|
4157
|
+
endElement: {
|
4158
|
+
flexShrink: 0,
|
4159
|
+
boxSize: "var(--tag-element-size)",
|
4160
|
+
_icon: { boxSize: "100%" },
|
4161
|
+
"&:has(button)": {
|
4162
|
+
me: "var(--tag-element-offset)"
|
4163
|
+
}
|
4164
|
+
}
|
4165
|
+
},
|
4166
|
+
variants: {
|
4167
|
+
size: {
|
4168
|
+
sm: {
|
4169
|
+
root: {
|
4170
|
+
px: "1.5",
|
4171
|
+
minH: "5",
|
4172
|
+
gap: "1",
|
4173
|
+
"--tag-avatar-size": "spacing.3.5",
|
4174
|
+
"--tag-status-size": "spacing.2",
|
4175
|
+
"--tag-element-size": "spacing.3.5",
|
3730
4176
|
"--tag-element-offset": "spacing.-0.5"
|
3731
4177
|
},
|
3732
4178
|
label: {
|
@@ -3739,6 +4185,7 @@ var tagSlotRecipe = (0, import_react39.defineSlotRecipe)({
|
|
3739
4185
|
minH: "6",
|
3740
4186
|
gap: "1",
|
3741
4187
|
"--tag-avatar-size": "spacing.4",
|
4188
|
+
"--tag-status-size": "spacing.2",
|
3742
4189
|
"--tag-element-size": "spacing.4",
|
3743
4190
|
"--tag-element-offset": "spacing.-1"
|
3744
4191
|
},
|
@@ -3752,6 +4199,7 @@ var tagSlotRecipe = (0, import_react39.defineSlotRecipe)({
|
|
3752
4199
|
minH: "7",
|
3753
4200
|
gap: "1",
|
3754
4201
|
"--tag-avatar-size": "spacing.5",
|
4202
|
+
"--tag-status-size": "spacing.2",
|
3755
4203
|
"--tag-element-size": "spacing.5",
|
3756
4204
|
"--tag-element-offset": "spacing.-1.5"
|
3757
4205
|
},
|
@@ -3768,11 +4216,12 @@ var tagSlotRecipe = (0, import_react39.defineSlotRecipe)({
|
|
3768
4216
|
minH: "8",
|
3769
4217
|
gap: "1.5",
|
3770
4218
|
"--tag-avatar-size": "spacing.6",
|
4219
|
+
"--tag-status-size": "spacing.2",
|
3771
4220
|
"--tag-element-size": "spacing.6",
|
3772
4221
|
"--tag-element-offset": "spacing.-2"
|
3773
4222
|
},
|
3774
4223
|
label: {
|
3775
|
-
textStyle: "
|
4224
|
+
textStyle: "md"
|
3776
4225
|
},
|
3777
4226
|
closeTrigger: {
|
3778
4227
|
padding: "3px"
|
@@ -3783,29 +4232,121 @@ var tagSlotRecipe = (0, import_react39.defineSlotRecipe)({
|
|
3783
4232
|
subtle: {
|
3784
4233
|
root: badgeVariant == null ? void 0 : badgeVariant.subtle
|
3785
4234
|
},
|
3786
|
-
solid: {
|
3787
|
-
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"
|
3788
4289
|
},
|
3789
|
-
|
3790
|
-
|
4290
|
+
"&[data-type=success]": {
|
4291
|
+
"--toast-indicated-color": "colors.fg.success"
|
3791
4292
|
},
|
3792
|
-
|
3793
|
-
|
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"
|
3794
4334
|
}
|
4335
|
+
},
|
4336
|
+
closeTrigger: {
|
4337
|
+
position: "absolute",
|
4338
|
+
top: "2",
|
4339
|
+
insetEnd: "2"
|
3795
4340
|
}
|
3796
|
-
},
|
3797
|
-
defaultVariants: {
|
3798
|
-
size: "md",
|
3799
|
-
variant: "surface"
|
3800
4341
|
}
|
3801
4342
|
});
|
3802
4343
|
|
3803
4344
|
// src/theme/recipes/chakra/accordion.ts
|
3804
|
-
var
|
3805
|
-
var
|
3806
|
-
var accordionSlotRecipe = (0,
|
4345
|
+
var import_react43 = require("@chakra-ui/react");
|
4346
|
+
var import_anatomy9 = require("@chakra-ui/react/anatomy");
|
4347
|
+
var accordionSlotRecipe = (0, import_react43.defineSlotRecipe)({
|
3807
4348
|
className: "chakra-accordion",
|
3808
|
-
slots:
|
4349
|
+
slots: import_anatomy9.accordionAnatomy.keys(),
|
3809
4350
|
base: {
|
3810
4351
|
root: {
|
3811
4352
|
width: "full",
|
@@ -3941,11 +4482,11 @@ var accordionSlotRecipe = (0, import_react40.defineSlotRecipe)({
|
|
3941
4482
|
});
|
3942
4483
|
|
3943
4484
|
// src/theme/recipes/chakra/action-bar.ts
|
3944
|
-
var
|
3945
|
-
var
|
3946
|
-
var actionBarSlotRecipe = (0,
|
4485
|
+
var import_react44 = require("@chakra-ui/react");
|
4486
|
+
var import_anatomy10 = require("@chakra-ui/react/anatomy");
|
4487
|
+
var actionBarSlotRecipe = (0, import_react44.defineSlotRecipe)({
|
3947
4488
|
className: "chakra-action-bar",
|
3948
|
-
slots:
|
4489
|
+
slots: import_anatomy10.actionBarAnatomy.keys(),
|
3949
4490
|
base: {
|
3950
4491
|
positioner: {
|
3951
4492
|
position: "fixed",
|
@@ -3999,10 +4540,10 @@ var actionBarSlotRecipe = (0, import_react41.defineSlotRecipe)({
|
|
3999
4540
|
});
|
4000
4541
|
|
4001
4542
|
// src/theme/recipes/chakra/alert.ts
|
4002
|
-
var
|
4003
|
-
var
|
4004
|
-
var alertSlotRecipe = (0,
|
4005
|
-
slots:
|
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(),
|
4006
4547
|
className: "chakra-alert",
|
4007
4548
|
base: {
|
4008
4549
|
root: {
|
@@ -4148,11 +4689,11 @@ var alertSlotRecipe = (0, import_react42.defineSlotRecipe)({
|
|
4148
4689
|
});
|
4149
4690
|
|
4150
4691
|
// src/theme/recipes/chakra/blockquote.ts
|
4151
|
-
var
|
4152
|
-
var
|
4153
|
-
var blockquoteSlotRecipe = (0,
|
4692
|
+
var import_react46 = require("@chakra-ui/react");
|
4693
|
+
var import_anatomy12 = require("@chakra-ui/react/anatomy");
|
4694
|
+
var blockquoteSlotRecipe = (0, import_react46.defineSlotRecipe)({
|
4154
4695
|
className: "chakra-blockquote",
|
4155
|
-
slots:
|
4696
|
+
slots: import_anatomy12.blockquoteAnatomy.keys(),
|
4156
4697
|
base: {
|
4157
4698
|
root: {
|
4158
4699
|
position: "relative",
|
@@ -4227,11 +4768,11 @@ var blockquoteSlotRecipe = (0, import_react43.defineSlotRecipe)({
|
|
4227
4768
|
});
|
4228
4769
|
|
4229
4770
|
// src/theme/recipes/chakra/breadcrumb.ts
|
4230
|
-
var
|
4231
|
-
var
|
4232
|
-
var breadcrumbSlotRecipe = (0,
|
4771
|
+
var import_react47 = require("@chakra-ui/react");
|
4772
|
+
var import_anatomy13 = require("@chakra-ui/react/anatomy");
|
4773
|
+
var breadcrumbSlotRecipe = (0, import_react47.defineSlotRecipe)({
|
4233
4774
|
className: "chakra-breadcrumb",
|
4234
|
-
slots:
|
4775
|
+
slots: import_anatomy13.breadcrumbAnatomy.keys(),
|
4235
4776
|
base: {
|
4236
4777
|
list: {
|
4237
4778
|
display: "flex",
|
@@ -4319,11 +4860,11 @@ var breadcrumbSlotRecipe = (0, import_react44.defineSlotRecipe)({
|
|
4319
4860
|
});
|
4320
4861
|
|
4321
4862
|
// src/theme/recipes/chakra/card.ts
|
4322
|
-
var
|
4323
|
-
var
|
4324
|
-
var cardSlotRecipe = (0,
|
4863
|
+
var import_react48 = require("@chakra-ui/react");
|
4864
|
+
var import_anatomy14 = require("@chakra-ui/react/anatomy");
|
4865
|
+
var cardSlotRecipe = (0, import_react48.defineSlotRecipe)({
|
4325
4866
|
className: "chakra-card",
|
4326
|
-
slots:
|
4867
|
+
slots: import_anatomy14.cardAnatomy.keys(),
|
4327
4868
|
base: {
|
4328
4869
|
root: {
|
4329
4870
|
display: "flex",
|
@@ -4441,11 +4982,11 @@ var cardSlotRecipe = (0, import_react45.defineSlotRecipe)({
|
|
4441
4982
|
});
|
4442
4983
|
|
4443
4984
|
// src/theme/recipes/chakra/checkbox.ts
|
4444
|
-
var
|
4445
|
-
var
|
4985
|
+
var import_react49 = require("@chakra-ui/react");
|
4986
|
+
var import_anatomy15 = require("@chakra-ui/react/anatomy");
|
4446
4987
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
4447
|
-
var checkboxSlotRecipe = (0,
|
4448
|
-
slots:
|
4988
|
+
var checkboxSlotRecipe = (0, import_react49.defineSlotRecipe)({
|
4989
|
+
slots: import_anatomy15.checkboxAnatomy.keys(),
|
4449
4990
|
className: "chakra-checkbox",
|
4450
4991
|
base: {
|
4451
4992
|
root: {
|
@@ -4506,11 +5047,11 @@ var checkboxSlotRecipe = (0, import_react46.defineSlotRecipe)({
|
|
4506
5047
|
});
|
4507
5048
|
|
4508
5049
|
// src/theme/recipes/chakra/checkbox-card.ts
|
4509
|
-
var
|
4510
|
-
var
|
5050
|
+
var import_react50 = require("@chakra-ui/react");
|
5051
|
+
var import_anatomy16 = require("@chakra-ui/react/anatomy");
|
4511
5052
|
var _a3, _b2, _c2, _d2, _e2, _f2, _g2;
|
4512
|
-
var checkboxCardSlotRecipe = (0,
|
4513
|
-
slots:
|
5053
|
+
var checkboxCardSlotRecipe = (0, import_react50.defineSlotRecipe)({
|
5054
|
+
slots: import_anatomy16.checkboxCardAnatomy.keys(),
|
4514
5055
|
className: "chakra-checkbox-card",
|
4515
5056
|
base: {
|
4516
5057
|
root: {
|
@@ -4709,10 +5250,10 @@ var checkboxCardSlotRecipe = (0, import_react47.defineSlotRecipe)({
|
|
4709
5250
|
});
|
4710
5251
|
|
4711
5252
|
// src/theme/recipes/chakra/collapsible.ts
|
4712
|
-
var
|
4713
|
-
var
|
4714
|
-
var collapsibleSlotRecipe = (0,
|
4715
|
-
slots:
|
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(),
|
4716
5257
|
className: "chakra-collapsible",
|
4717
5258
|
base: {
|
4718
5259
|
content: {
|
@@ -4730,10 +5271,10 @@ var collapsibleSlotRecipe = (0, import_react48.defineSlotRecipe)({
|
|
4730
5271
|
});
|
4731
5272
|
|
4732
5273
|
// src/theme/recipes/chakra/data-list.ts
|
4733
|
-
var
|
4734
|
-
var
|
4735
|
-
var dataListSlotRecipe = (0,
|
4736
|
-
slots:
|
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(),
|
4737
5278
|
className: "chakra-data-list",
|
4738
5279
|
base: {
|
4739
5280
|
itemLabel: {
|
@@ -4810,17 +5351,17 @@ var dataListSlotRecipe = (0, import_react49.defineSlotRecipe)({
|
|
4810
5351
|
});
|
4811
5352
|
|
4812
5353
|
// src/theme/recipes/chakra/editable.ts
|
4813
|
-
var
|
4814
|
-
var
|
4815
|
-
var sharedStyles = (0,
|
5354
|
+
var import_react53 = require("@chakra-ui/react");
|
5355
|
+
var import_anatomy19 = require("@chakra-ui/react/anatomy");
|
5356
|
+
var sharedStyles = (0, import_react53.defineStyle)({
|
4816
5357
|
fontSize: "inherit",
|
4817
5358
|
fontWeight: "inherit",
|
4818
5359
|
textAlign: "inherit",
|
4819
5360
|
bg: "transparent",
|
4820
5361
|
borderRadius: "l2"
|
4821
5362
|
});
|
4822
|
-
var editableSlotRecipe = (0,
|
4823
|
-
slots:
|
5363
|
+
var editableSlotRecipe = (0, import_react53.defineSlotRecipe)({
|
5364
|
+
slots: import_anatomy19.editableAnatomy.keys(),
|
4824
5365
|
className: "chakra-editable",
|
4825
5366
|
base: {
|
4826
5367
|
root: {
|
@@ -4895,10 +5436,10 @@ var editableSlotRecipe = (0, import_react50.defineSlotRecipe)({
|
|
4895
5436
|
});
|
4896
5437
|
|
4897
5438
|
// src/theme/recipes/chakra/empty-state.ts
|
4898
|
-
var
|
4899
|
-
var
|
4900
|
-
var emptyStateSlotRecipe = (0,
|
4901
|
-
slots:
|
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(),
|
4902
5443
|
className: "chakra-empty-state",
|
4903
5444
|
base: {
|
4904
5445
|
root: {
|
@@ -4987,11 +5528,11 @@ var emptyStateSlotRecipe = (0, import_react51.defineSlotRecipe)({
|
|
4987
5528
|
});
|
4988
5529
|
|
4989
5530
|
// src/theme/recipes/chakra/field.ts
|
4990
|
-
var
|
4991
|
-
var
|
4992
|
-
var fieldSlotRecipe = (0,
|
5531
|
+
var import_react55 = require("@chakra-ui/react");
|
5532
|
+
var import_anatomy21 = require("@chakra-ui/react/anatomy");
|
5533
|
+
var fieldSlotRecipe = (0, import_react55.defineSlotRecipe)({
|
4993
5534
|
className: "chakra-field",
|
4994
|
-
slots:
|
5535
|
+
slots: import_anatomy21.fieldAnatomy.keys(),
|
4995
5536
|
base: {
|
4996
5537
|
requiredIndicator: {
|
4997
5538
|
color: "fg.error",
|
@@ -5063,11 +5604,11 @@ var fieldSlotRecipe = (0, import_react52.defineSlotRecipe)({
|
|
5063
5604
|
});
|
5064
5605
|
|
5065
5606
|
// src/theme/recipes/chakra/file-upload.ts
|
5066
|
-
var
|
5067
|
-
var
|
5068
|
-
var fileUploadSlotRecipe = (0,
|
5607
|
+
var import_react56 = require("@chakra-ui/react");
|
5608
|
+
var import_anatomy22 = require("@chakra-ui/react/anatomy");
|
5609
|
+
var fileUploadSlotRecipe = (0, import_react56.defineSlotRecipe)({
|
5069
5610
|
className: "chakra-file-upload",
|
5070
|
-
slots:
|
5611
|
+
slots: import_anatomy22.fileUploadAnatomy.keys(),
|
5071
5612
|
base: {
|
5072
5613
|
root: {
|
5073
5614
|
display: "flex",
|
@@ -5159,11 +5700,11 @@ var fileUploadSlotRecipe = (0, import_react53.defineSlotRecipe)({
|
|
5159
5700
|
});
|
5160
5701
|
|
5161
5702
|
// src/theme/recipes/chakra/hover-card.ts
|
5162
|
-
var
|
5163
|
-
var
|
5164
|
-
var hoverCardSlotRecipe = (0,
|
5703
|
+
var import_react57 = require("@chakra-ui/react");
|
5704
|
+
var import_anatomy23 = require("@chakra-ui/react/anatomy");
|
5705
|
+
var hoverCardSlotRecipe = (0, import_react57.defineSlotRecipe)({
|
5165
5706
|
className: "chakra-hover-card",
|
5166
|
-
slots:
|
5707
|
+
slots: import_anatomy23.hoverCardAnatomy.keys(),
|
5167
5708
|
base: {
|
5168
5709
|
content: {
|
5169
5710
|
position: "relative",
|
@@ -5226,11 +5767,11 @@ var hoverCardSlotRecipe = (0, import_react54.defineSlotRecipe)({
|
|
5226
5767
|
});
|
5227
5768
|
|
5228
5769
|
// src/theme/recipes/chakra/list.ts
|
5229
|
-
var
|
5230
|
-
var
|
5231
|
-
var listSlotRecipe = (0,
|
5770
|
+
var import_react58 = require("@chakra-ui/react");
|
5771
|
+
var import_anatomy24 = require("@chakra-ui/react/anatomy");
|
5772
|
+
var listSlotRecipe = (0, import_react58.defineSlotRecipe)({
|
5232
5773
|
className: "chakra-list",
|
5233
|
-
slots:
|
5774
|
+
slots: import_anatomy24.listAnatomy.keys(),
|
5234
5775
|
base: {
|
5235
5776
|
root: {
|
5236
5777
|
display: "flex",
|
@@ -5290,11 +5831,11 @@ var listSlotRecipe = (0, import_react55.defineSlotRecipe)({
|
|
5290
5831
|
});
|
5291
5832
|
|
5292
5833
|
// src/theme/recipes/chakra/menu.ts
|
5293
|
-
var
|
5294
|
-
var
|
5295
|
-
var menuSlotRecipe = (0,
|
5834
|
+
var import_react59 = require("@chakra-ui/react");
|
5835
|
+
var import_anatomy25 = require("@chakra-ui/react/anatomy");
|
5836
|
+
var menuSlotRecipe = (0, import_react59.defineSlotRecipe)({
|
5296
5837
|
className: "chakra-menu",
|
5297
|
-
slots:
|
5838
|
+
slots: import_anatomy25.menuAnatomy.keys(),
|
5298
5839
|
base: {
|
5299
5840
|
content: {
|
5300
5841
|
outline: 0,
|
@@ -5413,15 +5954,15 @@ var menuSlotRecipe = (0, import_react56.defineSlotRecipe)({
|
|
5413
5954
|
});
|
5414
5955
|
|
5415
5956
|
// src/theme/recipes/chakra/native-select.ts
|
5416
|
-
var
|
5417
|
-
var
|
5957
|
+
var import_react61 = require("@chakra-ui/react");
|
5958
|
+
var import_anatomy27 = require("@chakra-ui/react/anatomy");
|
5418
5959
|
|
5419
5960
|
// src/theme/recipes/chakra/select.ts
|
5420
|
-
var
|
5421
|
-
var
|
5422
|
-
var selectSlotRecipe = (0,
|
5961
|
+
var import_react60 = require("@chakra-ui/react");
|
5962
|
+
var import_anatomy26 = require("@chakra-ui/react/anatomy");
|
5963
|
+
var selectSlotRecipe = (0, import_react60.defineSlotRecipe)({
|
5423
5964
|
className: "chakra-select",
|
5424
|
-
slots:
|
5965
|
+
slots: import_anatomy26.selectAnatomy.keys(),
|
5425
5966
|
base: {
|
5426
5967
|
root: {
|
5427
5968
|
display: "flex",
|
@@ -5704,9 +6245,9 @@ var selectSlotRecipe = (0, import_react57.defineSlotRecipe)({
|
|
5704
6245
|
|
5705
6246
|
// src/theme/recipes/chakra/native-select.ts
|
5706
6247
|
var _a4, _b3;
|
5707
|
-
var nativeSelectSlotRecipe = (0,
|
6248
|
+
var nativeSelectSlotRecipe = (0, import_react61.defineSlotRecipe)({
|
5708
6249
|
className: "chakra-native-select",
|
5709
|
-
slots:
|
6250
|
+
slots: import_anatomy27.nativeSelectAnatomy.keys(),
|
5710
6251
|
base: {
|
5711
6252
|
root: {
|
5712
6253
|
height: "fit-content",
|
@@ -5837,8 +6378,8 @@ var nativeSelectSlotRecipe = (0, import_react58.defineSlotRecipe)({
|
|
5837
6378
|
});
|
5838
6379
|
|
5839
6380
|
// src/theme/recipes/chakra/number-input.ts
|
5840
|
-
var
|
5841
|
-
var
|
6381
|
+
var import_react62 = require("@chakra-ui/react");
|
6382
|
+
var import_anatomy28 = require("@chakra-ui/react/anatomy");
|
5842
6383
|
|
5843
6384
|
// src/theme/utils.ts
|
5844
6385
|
function mapEntries(obj, f) {
|
@@ -5857,7 +6398,7 @@ function radiusToken(value) {
|
|
5857
6398
|
}
|
5858
6399
|
|
5859
6400
|
// src/theme/recipes/chakra/number-input.ts
|
5860
|
-
var triggerStyle = (0,
|
6401
|
+
var triggerStyle = (0, import_react62.defineStyle)({
|
5861
6402
|
display: "flex",
|
5862
6403
|
justifyContent: "center",
|
5863
6404
|
alignItems: "center",
|
@@ -5881,9 +6422,9 @@ var triggerStyle = (0, import_react59.defineStyle)({
|
|
5881
6422
|
bg: "bg.emphasized"
|
5882
6423
|
}
|
5883
6424
|
});
|
5884
|
-
var numberInputSlotRecipe = (0,
|
6425
|
+
var numberInputSlotRecipe = (0, import_react62.defineSlotRecipe)({
|
5885
6426
|
className: "chakra-number-input",
|
5886
|
-
slots:
|
6427
|
+
slots: import_anatomy28.numberInputAnatomy.keys(),
|
5887
6428
|
base: {
|
5888
6429
|
root: {
|
5889
6430
|
position: "relative",
|
@@ -5966,12 +6507,12 @@ var numberInputSlotRecipe = (0, import_react59.defineSlotRecipe)({
|
|
5966
6507
|
});
|
5967
6508
|
|
5968
6509
|
// src/theme/recipes/chakra/pin-input.ts
|
5969
|
-
var
|
5970
|
-
var
|
6510
|
+
var import_react63 = require("@chakra-ui/react");
|
6511
|
+
var import_anatomy29 = require("@chakra-ui/react/anatomy");
|
5971
6512
|
var { variants: variants2, defaultVariants: defaultVariants2 } = inputRecipe;
|
5972
|
-
var pinInputSlotRecipe = (0,
|
6513
|
+
var pinInputSlotRecipe = (0, import_react63.defineSlotRecipe)({
|
5973
6514
|
className: "chakra-pin-input",
|
5974
|
-
slots:
|
6515
|
+
slots: import_anatomy29.pinInputAnatomy.keys(),
|
5975
6516
|
base: {
|
5976
6517
|
input: {
|
5977
6518
|
...inputRecipe.base,
|
@@ -5998,11 +6539,11 @@ var pinInputSlotRecipe = (0, import_react60.defineSlotRecipe)({
|
|
5998
6539
|
});
|
5999
6540
|
|
6000
6541
|
// src/theme/recipes/chakra/popover.ts
|
6001
|
-
var
|
6002
|
-
var
|
6003
|
-
var popoverSlotRecipe = (0,
|
6542
|
+
var import_react64 = require("@chakra-ui/react");
|
6543
|
+
var import_anatomy30 = require("@chakra-ui/react/anatomy");
|
6544
|
+
var popoverSlotRecipe = (0, import_react64.defineSlotRecipe)({
|
6004
6545
|
className: "chakra-popover",
|
6005
|
-
slots:
|
6546
|
+
slots: import_anatomy30.popoverAnatomy.keys(),
|
6006
6547
|
base: {
|
6007
6548
|
content: {
|
6008
6549
|
position: "relative",
|
@@ -6085,10 +6626,10 @@ var popoverSlotRecipe = (0, import_react61.defineSlotRecipe)({
|
|
6085
6626
|
});
|
6086
6627
|
|
6087
6628
|
// src/theme/recipes/chakra/progress.ts
|
6088
|
-
var
|
6089
|
-
var
|
6090
|
-
var progressSlotRecipe = (0,
|
6091
|
-
slots:
|
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(),
|
6092
6633
|
className: "chakra-progress",
|
6093
6634
|
base: {
|
6094
6635
|
root: {
|
@@ -6207,11 +6748,11 @@ var progressSlotRecipe = (0, import_react62.defineSlotRecipe)({
|
|
6207
6748
|
});
|
6208
6749
|
|
6209
6750
|
// src/theme/recipes/chakra/progress-circle.ts
|
6210
|
-
var
|
6211
|
-
var
|
6212
|
-
var progressCircleSlotRecipe = (0,
|
6751
|
+
var import_react66 = require("@chakra-ui/react");
|
6752
|
+
var import_anatomy32 = require("@chakra-ui/react/anatomy");
|
6753
|
+
var progressCircleSlotRecipe = (0, import_react66.defineSlotRecipe)({
|
6213
6754
|
className: "chakra-progress-circle",
|
6214
|
-
slots:
|
6755
|
+
slots: import_anatomy32.progressAnatomy.keys(),
|
6215
6756
|
base: {
|
6216
6757
|
root: {
|
6217
6758
|
display: "inline-flex",
|
@@ -6300,12 +6841,12 @@ var progressCircleSlotRecipe = (0, import_react63.defineSlotRecipe)({
|
|
6300
6841
|
});
|
6301
6842
|
|
6302
6843
|
// src/theme/recipes/chakra/radio-card.ts
|
6303
|
-
var
|
6304
|
-
var
|
6844
|
+
var import_react67 = require("@chakra-ui/react");
|
6845
|
+
var import_anatomy33 = require("@chakra-ui/react/anatomy");
|
6305
6846
|
var _a5, _b4, _c3, _d3, _e3, _f3, _g3;
|
6306
|
-
var radioCardSlotRecipe = (0,
|
6847
|
+
var radioCardSlotRecipe = (0, import_react67.defineSlotRecipe)({
|
6307
6848
|
className: "chakra-radio-card",
|
6308
|
-
slots:
|
6849
|
+
slots: import_anatomy33.radioCardAnatomy.keys(),
|
6309
6850
|
base: {
|
6310
6851
|
root: {
|
6311
6852
|
display: "flex",
|
@@ -6511,12 +7052,12 @@ var radioCardSlotRecipe = (0, import_react64.defineSlotRecipe)({
|
|
6511
7052
|
});
|
6512
7053
|
|
6513
7054
|
// src/theme/recipes/chakra/radio-group.ts
|
6514
|
-
var
|
6515
|
-
var
|
7055
|
+
var import_react68 = require("@chakra-ui/react");
|
7056
|
+
var import_anatomy34 = require("@chakra-ui/react/anatomy");
|
6516
7057
|
var _a6, _b5, _c4, _d4, _e4, _f4, _g4, _h2, _i2, _j2, _k2, _l2, _m2, _n2;
|
6517
|
-
var radioGroupSlotRecipe = (0,
|
7058
|
+
var radioGroupSlotRecipe = (0, import_react68.defineSlotRecipe)({
|
6518
7059
|
className: "chakra-radio-group",
|
6519
|
-
slots:
|
7060
|
+
slots: import_anatomy34.radioGroupAnatomy.keys(),
|
6520
7061
|
base: {
|
6521
7062
|
item: {
|
6522
7063
|
display: "inline-flex",
|
@@ -6574,11 +7115,11 @@ var radioGroupSlotRecipe = (0, import_react65.defineSlotRecipe)({
|
|
6574
7115
|
});
|
6575
7116
|
|
6576
7117
|
// src/theme/recipes/chakra/rating-group.ts
|
6577
|
-
var
|
6578
|
-
var
|
6579
|
-
var ratingGroupSlotRecipe = (0,
|
7118
|
+
var import_react69 = require("@chakra-ui/react");
|
7119
|
+
var import_anatomy35 = require("@chakra-ui/react/anatomy");
|
7120
|
+
var ratingGroupSlotRecipe = (0, import_react69.defineSlotRecipe)({
|
6580
7121
|
className: "chakra-rating-group",
|
6581
|
-
slots:
|
7122
|
+
slots: import_anatomy35.ratingGroupAnatomy.keys(),
|
6582
7123
|
base: {
|
6583
7124
|
root: {
|
6584
7125
|
display: "inline-flex"
|
@@ -6597,184 +7138,58 @@ var ratingGroupSlotRecipe = (0, import_react66.defineSlotRecipe)({
|
|
6597
7138
|
display: "inline-flex",
|
6598
7139
|
alignItems: "center",
|
6599
7140
|
justifyContent: "center",
|
6600
|
-
width: "1em",
|
6601
|
-
height: "1em",
|
6602
|
-
position: "relative",
|
6603
|
-
_icon: {
|
6604
|
-
stroke: "currentColor",
|
6605
|
-
width: "100%",
|
6606
|
-
height: "100%",
|
6607
|
-
display: "inline-block",
|
6608
|
-
flexShrink: 0,
|
6609
|
-
position: "absolute",
|
6610
|
-
left: 0,
|
6611
|
-
top: 0
|
6612
|
-
},
|
6613
|
-
"& [data-bg]": {
|
6614
|
-
color: "bg.emphasized"
|
6615
|
-
},
|
6616
|
-
"& [data-fg]": {
|
6617
|
-
color: "transparent"
|
6618
|
-
},
|
6619
|
-
"&[data-highlighted]:not([data-half])": {
|
6620
|
-
"& [data-fg]": {
|
6621
|
-
color: "colorPalette.solid"
|
6622
|
-
}
|
6623
|
-
},
|
6624
|
-
"&[data-half]": {
|
6625
|
-
"& [data-fg]": {
|
6626
|
-
color: "colorPalette.solid",
|
6627
|
-
clipPath: "inset(0 50% 0 0)"
|
6628
|
-
}
|
6629
|
-
}
|
6630
|
-
}
|
6631
|
-
},
|
6632
|
-
variants: {
|
6633
|
-
size: {
|
6634
|
-
xs: {
|
6635
|
-
item: {
|
6636
|
-
textStyle: "sm"
|
6637
|
-
}
|
6638
|
-
},
|
6639
|
-
sm: {
|
6640
|
-
item: {
|
6641
|
-
textStyle: "md"
|
6642
|
-
}
|
6643
|
-
},
|
6644
|
-
md: {
|
6645
|
-
item: {
|
6646
|
-
textStyle: "xl"
|
6647
|
-
}
|
6648
|
-
},
|
6649
|
-
lg: {
|
6650
|
-
item: {
|
6651
|
-
textStyle: "2xl"
|
6652
|
-
}
|
6653
|
-
}
|
6654
|
-
}
|
6655
|
-
},
|
6656
|
-
defaultVariants: {
|
6657
|
-
size: "md"
|
6658
|
-
}
|
6659
|
-
});
|
6660
|
-
|
6661
|
-
// src/theme/recipes/chakra/segment-group.ts
|
6662
|
-
var import_react67 = require("@chakra-ui/react");
|
6663
|
-
var import_anatomy33 = require("@chakra-ui/react/anatomy");
|
6664
|
-
var segmentGroupSlotRecipe = (0, import_react67.defineSlotRecipe)({
|
6665
|
-
className: "chakra-segment-group",
|
6666
|
-
slots: import_anatomy33.segmentGroupAnatomy.keys(),
|
6667
|
-
base: {
|
6668
|
-
root: {
|
6669
|
-
"--segment-radius": "radii.md",
|
6670
|
-
borderRadius: "md",
|
6671
|
-
display: "inline-flex",
|
6672
|
-
boxShadow: "inset",
|
6673
|
-
minW: "max-content",
|
6674
|
-
textAlign: "center",
|
6675
|
-
position: "relative",
|
6676
|
-
isolation: "isolate",
|
6677
|
-
bg: "bg.muted",
|
6678
|
-
borderWidth: "1px"
|
6679
|
-
},
|
6680
|
-
item: {
|
6681
|
-
display: "flex",
|
6682
|
-
alignItems: "center",
|
6683
|
-
userSelect: "none",
|
6684
|
-
fontSize: "sm",
|
6685
|
-
position: "relative",
|
6686
|
-
color: "fg.subtle",
|
6687
|
-
cursor: "button",
|
6688
|
-
borderRadius: "var(--segment-radius)",
|
6689
|
-
_disabled: {
|
6690
|
-
opacity: "0.5"
|
6691
|
-
},
|
6692
|
-
_hover: {
|
6693
|
-
color: "fg"
|
6694
|
-
},
|
6695
|
-
"&:has(input:focus-visible)": {
|
6696
|
-
focusRing: "inside",
|
6697
|
-
focusRingWidth: "1px"
|
6698
|
-
},
|
6699
|
-
_before: {
|
6700
|
-
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,
|
6701
7150
|
position: "absolute",
|
6702
|
-
|
6703
|
-
|
6704
|
-
bg: "border",
|
6705
|
-
width: "1px",
|
6706
|
-
transition: "opacity 0.2s"
|
7151
|
+
left: 0,
|
7152
|
+
top: 0
|
6707
7153
|
},
|
6708
|
-
|
6709
|
-
color: "
|
7154
|
+
"& [data-bg]": {
|
7155
|
+
color: "bg.emphasized"
|
6710
7156
|
},
|
6711
|
-
"&
|
6712
|
-
|
6713
|
-
|
7157
|
+
"& [data-fg]": {
|
7158
|
+
color: "transparent"
|
7159
|
+
},
|
7160
|
+
"&[data-highlighted]:not([data-half])": {
|
7161
|
+
"& [data-fg]": {
|
7162
|
+
color: "colorPalette.solid"
|
6714
7163
|
}
|
6715
7164
|
},
|
6716
|
-
"&[data-
|
6717
|
-
|
6718
|
-
|
6719
|
-
|
6720
|
-
|
7165
|
+
"&[data-half]": {
|
7166
|
+
"& [data-fg]": {
|
7167
|
+
color: "colorPalette.solid",
|
7168
|
+
clipPath: "inset(0 50% 0 0)"
|
7169
|
+
}
|
6721
7170
|
}
|
6722
|
-
},
|
6723
|
-
indicator: {
|
6724
|
-
shadow: "sm",
|
6725
|
-
pos: "absolute",
|
6726
|
-
bg: {
|
6727
|
-
base: "bg",
|
6728
|
-
_dark: "bg.emphasized"
|
6729
|
-
},
|
6730
|
-
width: "var(--width)",
|
6731
|
-
height: "var(--height)",
|
6732
|
-
top: "var(--top)",
|
6733
|
-
left: "var(--left)",
|
6734
|
-
zIndex: -1,
|
6735
|
-
borderRadius: "var(--segment-radius)"
|
6736
7171
|
}
|
6737
7172
|
},
|
6738
7173
|
variants: {
|
6739
7174
|
size: {
|
6740
7175
|
xs: {
|
6741
|
-
root: {
|
6742
|
-
height: "6"
|
6743
|
-
},
|
6744
7176
|
item: {
|
6745
|
-
textStyle: "
|
6746
|
-
px: "3",
|
6747
|
-
gap: "1"
|
7177
|
+
textStyle: "sm"
|
6748
7178
|
}
|
6749
7179
|
},
|
6750
7180
|
sm: {
|
6751
|
-
root: {
|
6752
|
-
height: "7"
|
6753
|
-
},
|
6754
7181
|
item: {
|
6755
|
-
textStyle: "
|
6756
|
-
px: "4",
|
6757
|
-
gap: "2"
|
7182
|
+
textStyle: "md"
|
6758
7183
|
}
|
6759
7184
|
},
|
6760
7185
|
md: {
|
6761
|
-
root: {
|
6762
|
-
height: "8"
|
6763
|
-
},
|
6764
7186
|
item: {
|
6765
|
-
textStyle: "
|
6766
|
-
px: "4",
|
6767
|
-
gap: "2"
|
7187
|
+
textStyle: "xl"
|
6768
7188
|
}
|
6769
7189
|
},
|
6770
7190
|
lg: {
|
6771
|
-
root: {
|
6772
|
-
height: "10"
|
6773
|
-
},
|
6774
7191
|
item: {
|
6775
|
-
textStyle: "
|
6776
|
-
px: "5",
|
6777
|
-
gap: "3"
|
7192
|
+
textStyle: "2xl"
|
6778
7193
|
}
|
6779
7194
|
}
|
6780
7195
|
}
|
@@ -6785,11 +7200,11 @@ var segmentGroupSlotRecipe = (0, import_react67.defineSlotRecipe)({
|
|
6785
7200
|
});
|
6786
7201
|
|
6787
7202
|
// src/theme/recipes/chakra/slider.ts
|
6788
|
-
var
|
6789
|
-
var
|
6790
|
-
var sliderSlotRecipe = (0,
|
7203
|
+
var import_react70 = require("@chakra-ui/react");
|
7204
|
+
var import_anatomy36 = require("@chakra-ui/react/anatomy");
|
7205
|
+
var sliderSlotRecipe = (0, import_react70.defineSlotRecipe)({
|
6791
7206
|
className: "chakra-slider",
|
6792
|
-
slots:
|
7207
|
+
slots: import_anatomy36.sliderAnatomy.keys(),
|
6793
7208
|
base: {
|
6794
7209
|
root: {
|
6795
7210
|
display: "flex",
|
@@ -6962,11 +7377,11 @@ var sliderSlotRecipe = (0, import_react68.defineSlotRecipe)({
|
|
6962
7377
|
});
|
6963
7378
|
|
6964
7379
|
// src/theme/recipes/chakra/stat.ts
|
6965
|
-
var
|
6966
|
-
var
|
6967
|
-
var statSlotRecipe = (0,
|
7380
|
+
var import_react71 = require("@chakra-ui/react");
|
7381
|
+
var import_anatomy37 = require("@chakra-ui/react/anatomy");
|
7382
|
+
var statSlotRecipe = (0, import_react71.defineSlotRecipe)({
|
6968
7383
|
className: "chakra-stat",
|
6969
|
-
slots:
|
7384
|
+
slots: import_anatomy37.statAnatomy.keys(),
|
6970
7385
|
base: {
|
6971
7386
|
root: {
|
6972
7387
|
display: "flex",
|
@@ -7040,11 +7455,11 @@ var statSlotRecipe = (0, import_react69.defineSlotRecipe)({
|
|
7040
7455
|
});
|
7041
7456
|
|
7042
7457
|
// src/theme/recipes/chakra/steps.ts
|
7043
|
-
var
|
7044
|
-
var
|
7045
|
-
var stepsSlotRecipe = (0,
|
7458
|
+
var import_react72 = require("@chakra-ui/react");
|
7459
|
+
var import_anatomy38 = require("@chakra-ui/react/anatomy");
|
7460
|
+
var stepsSlotRecipe = (0, import_react72.defineSlotRecipe)({
|
7046
7461
|
className: "chakra-steps",
|
7047
|
-
slots:
|
7462
|
+
slots: import_anatomy38.stepsAnatomy.keys(),
|
7048
7463
|
base: {
|
7049
7464
|
root: {
|
7050
7465
|
display: "flex",
|
@@ -7255,10 +7670,10 @@ var stepsSlotRecipe = (0, import_react70.defineSlotRecipe)({
|
|
7255
7670
|
});
|
7256
7671
|
|
7257
7672
|
// src/theme/recipes/chakra/switch.ts
|
7258
|
-
var
|
7259
|
-
var
|
7260
|
-
var switchSlotRecipe = (0,
|
7261
|
-
slots:
|
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(),
|
7262
7677
|
className: "chakra-switch",
|
7263
7678
|
base: {
|
7264
7679
|
root: {
|
@@ -7413,11 +7828,11 @@ var switchSlotRecipe = (0, import_react71.defineSlotRecipe)({
|
|
7413
7828
|
});
|
7414
7829
|
|
7415
7830
|
// src/theme/recipes/chakra/table.ts
|
7416
|
-
var
|
7417
|
-
var
|
7418
|
-
var tableSlotRecipe = (0,
|
7831
|
+
var import_react74 = require("@chakra-ui/react");
|
7832
|
+
var import_anatomy40 = require("@chakra-ui/react/anatomy");
|
7833
|
+
var tableSlotRecipe = (0, import_react74.defineSlotRecipe)({
|
7419
7834
|
className: "chakra-table",
|
7420
|
-
slots:
|
7835
|
+
slots: import_anatomy40.tableAnatomy.keys(),
|
7421
7836
|
base: {
|
7422
7837
|
root: {
|
7423
7838
|
fontVariantNumeric: "lining-nums tabular-nums",
|
@@ -7513,344 +7928,73 @@ var tableSlotRecipe = (0, import_react72.defineSlotRecipe)({
|
|
7513
7928
|
},
|
7514
7929
|
columnHeader: {
|
7515
7930
|
borderBottomWidth: "1px"
|
7516
|
-
},
|
7517
|
-
header: {
|
7518
|
-
bg: "bg.muted"
|
7519
|
-
},
|
7520
|
-
row: {
|
7521
|
-
"&:not(:last-of-type)": {
|
7522
|
-
borderBottomWidth: "1px"
|
7523
|
-
}
|
7524
|
-
},
|
7525
|
-
footer: {
|
7526
|
-
borderTopWidth: "1px"
|
7527
|
-
}
|
7528
|
-
}
|
7529
|
-
},
|
7530
|
-
size: {
|
7531
|
-
sm: {
|
7532
|
-
root: {
|
7533
|
-
textStyle: "sm"
|
7534
|
-
},
|
7535
|
-
columnHeader: {
|
7536
|
-
px: "2",
|
7537
|
-
py: "2"
|
7538
|
-
},
|
7539
|
-
cell: {
|
7540
|
-
px: "2",
|
7541
|
-
py: "2"
|
7542
|
-
}
|
7543
|
-
},
|
7544
|
-
md: {
|
7545
|
-
root: {
|
7546
|
-
textStyle: "sm"
|
7547
|
-
},
|
7548
|
-
columnHeader: {
|
7549
|
-
px: "3",
|
7550
|
-
py: "3"
|
7551
|
-
},
|
7552
|
-
cell: {
|
7553
|
-
px: "3",
|
7554
|
-
py: "3"
|
7555
|
-
}
|
7556
|
-
},
|
7557
|
-
lg: {
|
7558
|
-
root: {
|
7559
|
-
textStyle: "md"
|
7560
|
-
},
|
7561
|
-
columnHeader: {
|
7562
|
-
px: "4",
|
7563
|
-
py: "3"
|
7564
|
-
},
|
7565
|
-
cell: {
|
7566
|
-
px: "4",
|
7567
|
-
py: "3"
|
7568
|
-
}
|
7569
|
-
}
|
7570
|
-
}
|
7571
|
-
},
|
7572
|
-
defaultVariants: {
|
7573
|
-
variant: "line",
|
7574
|
-
size: "md"
|
7575
|
-
}
|
7576
|
-
});
|
7577
|
-
|
7578
|
-
// src/theme/recipes/chakra/tabs.ts
|
7579
|
-
var import_react73 = require("@chakra-ui/react");
|
7580
|
-
var import_anatomy39 = require("@chakra-ui/react/anatomy");
|
7581
|
-
var tabsSlotRecipe = (0, import_react73.defineSlotRecipe)({
|
7582
|
-
slots: import_anatomy39.tabsAnatomy.keys(),
|
7583
|
-
className: "chakra-tabs",
|
7584
|
-
base: {
|
7585
|
-
root: {
|
7586
|
-
"--tabs-trigger-radius": "radii.l2",
|
7587
|
-
position: "relative",
|
7588
|
-
_horizontal: {
|
7589
|
-
display: "block"
|
7590
|
-
},
|
7591
|
-
_vertical: {
|
7592
|
-
display: "flex"
|
7593
|
-
}
|
7594
|
-
},
|
7595
|
-
list: {
|
7596
|
-
display: "inline-flex",
|
7597
|
-
position: "relative",
|
7598
|
-
isolation: "isolate",
|
7599
|
-
"--tabs-indicator-shadow": "shadows.xs",
|
7600
|
-
"--tabs-indicator-bg": "colors.bg",
|
7601
|
-
minH: "var(--tabs-height)",
|
7602
|
-
_horizontal: {
|
7603
|
-
flexDirection: "row"
|
7604
|
-
},
|
7605
|
-
_vertical: {
|
7606
|
-
flexDirection: "column"
|
7607
|
-
}
|
7608
|
-
},
|
7609
|
-
trigger: {
|
7610
|
-
outline: "0",
|
7611
|
-
minW: "var(--tabs-height)",
|
7612
|
-
height: "var(--tabs-height)",
|
7613
|
-
display: "flex",
|
7614
|
-
alignItems: "center",
|
7615
|
-
fontWeight: "medium",
|
7616
|
-
position: "relative",
|
7617
|
-
cursor: "button",
|
7618
|
-
gap: "2",
|
7619
|
-
_focusVisible: {
|
7620
|
-
zIndex: 1,
|
7621
|
-
focusVisibleRing: "outside"
|
7622
|
-
},
|
7623
|
-
_disabled: {
|
7624
|
-
cursor: "not-allowed",
|
7625
|
-
opacity: 0.5
|
7626
|
-
}
|
7627
|
-
},
|
7628
|
-
content: {
|
7629
|
-
focusVisibleRing: "inside",
|
7630
|
-
_horizontal: {
|
7631
|
-
width: "100%",
|
7632
|
-
pt: "var(--tabs-content-padding)"
|
7633
|
-
},
|
7634
|
-
_vertical: {
|
7635
|
-
height: "100%",
|
7636
|
-
ps: "var(--tabs-content-padding)"
|
7637
|
-
}
|
7638
|
-
},
|
7639
|
-
indicator: {
|
7640
|
-
width: "var(--width)",
|
7641
|
-
height: "var(--height)",
|
7642
|
-
borderRadius: "var(--tabs-indicator-radius)",
|
7643
|
-
bg: "var(--tabs-indicator-bg)",
|
7644
|
-
shadow: "var(--tabs-indicator-shadow)",
|
7645
|
-
zIndex: -1
|
7646
|
-
}
|
7647
|
-
},
|
7648
|
-
variants: {
|
7649
|
-
fitted: {
|
7650
|
-
true: {
|
7651
|
-
list: {
|
7652
|
-
display: "flex"
|
7653
|
-
},
|
7654
|
-
trigger: {
|
7655
|
-
flex: 1,
|
7656
|
-
textAlign: "center",
|
7657
|
-
justifyContent: "center"
|
7658
|
-
}
|
7659
|
-
}
|
7660
|
-
},
|
7661
|
-
justify: {
|
7662
|
-
start: {
|
7663
|
-
list: {
|
7664
|
-
justifyContent: "flex-start"
|
7665
|
-
}
|
7666
|
-
},
|
7667
|
-
center: {
|
7668
|
-
list: {
|
7669
|
-
justifyContent: "center"
|
7670
|
-
}
|
7671
|
-
},
|
7672
|
-
end: {
|
7673
|
-
list: {
|
7674
|
-
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"
|
7675
7942
|
}
|
7676
7943
|
}
|
7677
7944
|
},
|
7678
7945
|
size: {
|
7679
7946
|
sm: {
|
7680
7947
|
root: {
|
7681
|
-
"--tabs-height": "sizes.9",
|
7682
|
-
"--tabs-content-padding": "spacing.3"
|
7683
|
-
},
|
7684
|
-
trigger: {
|
7685
|
-
py: "1",
|
7686
|
-
px: "3",
|
7687
7948
|
textStyle: "sm"
|
7949
|
+
},
|
7950
|
+
columnHeader: {
|
7951
|
+
px: "2",
|
7952
|
+
py: "2"
|
7953
|
+
},
|
7954
|
+
cell: {
|
7955
|
+
px: "2",
|
7956
|
+
py: "2"
|
7688
7957
|
}
|
7689
7958
|
},
|
7690
7959
|
md: {
|
7691
7960
|
root: {
|
7692
|
-
"--tabs-height": "sizes.10",
|
7693
|
-
"--tabs-content-padding": "spacing.4"
|
7694
|
-
},
|
7695
|
-
trigger: {
|
7696
|
-
py: "2",
|
7697
|
-
px: "4",
|
7698
7961
|
textStyle: "sm"
|
7962
|
+
},
|
7963
|
+
columnHeader: {
|
7964
|
+
px: "3",
|
7965
|
+
py: "3"
|
7966
|
+
},
|
7967
|
+
cell: {
|
7968
|
+
px: "3",
|
7969
|
+
py: "3"
|
7699
7970
|
}
|
7700
7971
|
},
|
7701
7972
|
lg: {
|
7702
7973
|
root: {
|
7703
|
-
"--tabs-height": "sizes.11",
|
7704
|
-
"--tabs-content-padding": "spacing.4.5"
|
7705
|
-
},
|
7706
|
-
trigger: {
|
7707
|
-
py: "2",
|
7708
|
-
px: "4.5",
|
7709
7974
|
textStyle: "md"
|
7710
|
-
}
|
7711
|
-
}
|
7712
|
-
},
|
7713
|
-
variant: {
|
7714
|
-
line: {
|
7715
|
-
list: {
|
7716
|
-
display: "flex",
|
7717
|
-
borderColor: "border",
|
7718
|
-
_horizontal: {
|
7719
|
-
borderBottomWidth: "1px"
|
7720
|
-
},
|
7721
|
-
_vertical: {
|
7722
|
-
borderEndWidth: "1px"
|
7723
|
-
}
|
7724
|
-
},
|
7725
|
-
trigger: {
|
7726
|
-
color: "fg.muted",
|
7727
|
-
_disabled: {
|
7728
|
-
_active: { bg: "initial" }
|
7729
|
-
},
|
7730
|
-
_selected: {
|
7731
|
-
color: "fg",
|
7732
|
-
_horizontal: {
|
7733
|
-
layerStyle: "indicator.bottom",
|
7734
|
-
"--indicator-offset-y": "-1px",
|
7735
|
-
"--indicator-color": "colors.colorPalette.solid"
|
7736
|
-
},
|
7737
|
-
_vertical: {
|
7738
|
-
layerStyle: "indicator.end",
|
7739
|
-
"--indicator-offset-x": "-1px"
|
7740
|
-
}
|
7741
|
-
}
|
7742
|
-
}
|
7743
|
-
},
|
7744
|
-
subtle: {
|
7745
|
-
trigger: {
|
7746
|
-
borderRadius: "var(--tabs-trigger-radius)",
|
7747
|
-
color: "fg.muted",
|
7748
|
-
_selected: {
|
7749
|
-
bg: "colorPalette.subtle",
|
7750
|
-
color: "colorPalette.fg"
|
7751
|
-
}
|
7752
|
-
}
|
7753
|
-
},
|
7754
|
-
enclosed: {
|
7755
|
-
list: {
|
7756
|
-
bg: "bg.muted",
|
7757
|
-
padding: "1",
|
7758
|
-
borderRadius: "l3",
|
7759
|
-
minH: "calc(var(--tabs-height) - 4px)"
|
7760
7975
|
},
|
7761
|
-
|
7762
|
-
|
7763
|
-
|
7764
|
-
borderRadius: "var(--tabs-trigger-radius)",
|
7765
|
-
_selected: {
|
7766
|
-
bg: "bg",
|
7767
|
-
color: "colorPalette.fg",
|
7768
|
-
shadow: "xs"
|
7769
|
-
}
|
7770
|
-
}
|
7771
|
-
},
|
7772
|
-
outline: {
|
7773
|
-
list: {
|
7774
|
-
"--line-thickness": "1px",
|
7775
|
-
"--line-offset": "calc(var(--line-thickness) * -1)",
|
7776
|
-
borderColor: "border",
|
7777
|
-
display: "flex",
|
7778
|
-
_horizontal: {
|
7779
|
-
_before: {
|
7780
|
-
content: '""',
|
7781
|
-
position: "absolute",
|
7782
|
-
bottom: "0px",
|
7783
|
-
width: "100%",
|
7784
|
-
borderBottomWidth: "var(--line-thickness)",
|
7785
|
-
borderBottomColor: "border"
|
7786
|
-
}
|
7787
|
-
},
|
7788
|
-
_vertical: {
|
7789
|
-
_before: {
|
7790
|
-
content: '""',
|
7791
|
-
position: "absolute",
|
7792
|
-
insetInline: "var(--line-offset)",
|
7793
|
-
height: "calc(100% - calc(var(--line-thickness) * 2))",
|
7794
|
-
borderEndWidth: "var(--line-thickness)",
|
7795
|
-
borderEndColor: "border"
|
7796
|
-
}
|
7797
|
-
}
|
7976
|
+
columnHeader: {
|
7977
|
+
px: "4",
|
7978
|
+
py: "3"
|
7798
7979
|
},
|
7799
|
-
|
7800
|
-
|
7801
|
-
|
7802
|
-
borderColor: "transparent",
|
7803
|
-
_selected: {
|
7804
|
-
bg: "currentBg",
|
7805
|
-
color: "colorPalette.fg"
|
7806
|
-
},
|
7807
|
-
_horizontal: {
|
7808
|
-
borderTopRadius: "var(--tabs-trigger-radius)",
|
7809
|
-
marginBottom: "var(--line-offset)",
|
7810
|
-
marginEnd: { _notLast: "var(--line-offset)" },
|
7811
|
-
_selected: {
|
7812
|
-
borderColor: "border",
|
7813
|
-
borderBottomColor: "transparent"
|
7814
|
-
}
|
7815
|
-
},
|
7816
|
-
_vertical: {
|
7817
|
-
borderStartRadius: "var(--tabs-trigger-radius)",
|
7818
|
-
marginEnd: "var(--line-offset)",
|
7819
|
-
marginBottom: { _notLast: "var(--line-offset)" },
|
7820
|
-
_selected: {
|
7821
|
-
borderColor: "border",
|
7822
|
-
borderEndColor: "transparent"
|
7823
|
-
}
|
7824
|
-
}
|
7825
|
-
}
|
7826
|
-
},
|
7827
|
-
plain: {
|
7828
|
-
trigger: {
|
7829
|
-
color: "fg.muted",
|
7830
|
-
_selected: {
|
7831
|
-
color: "colorPalette.fg"
|
7832
|
-
},
|
7833
|
-
borderRadius: "var(--tabs-trigger-radius)",
|
7834
|
-
"&[data-selected][data-ssr]": {
|
7835
|
-
bg: "var(--tabs-indicator-bg)",
|
7836
|
-
shadow: "var(--tabs-indicator-shadow)",
|
7837
|
-
borderRadius: "var(--tabs-indicator-radius)"
|
7838
|
-
}
|
7980
|
+
cell: {
|
7981
|
+
px: "4",
|
7982
|
+
py: "3"
|
7839
7983
|
}
|
7840
7984
|
}
|
7841
7985
|
}
|
7842
7986
|
},
|
7843
7987
|
defaultVariants: {
|
7844
|
-
|
7845
|
-
|
7988
|
+
variant: "line",
|
7989
|
+
size: "md"
|
7846
7990
|
}
|
7847
7991
|
});
|
7848
7992
|
|
7849
7993
|
// src/theme/recipes/chakra/timeline.ts
|
7850
|
-
var
|
7851
|
-
var
|
7852
|
-
var timelineSlotRecipe = (0,
|
7853
|
-
slots:
|
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(),
|
7854
7998
|
className: "chakra-timeline",
|
7855
7999
|
base: {
|
7856
8000
|
root: {
|
@@ -7982,102 +8126,6 @@ var timelineSlotRecipe = (0, import_react74.defineSlotRecipe)({
|
|
7982
8126
|
}
|
7983
8127
|
});
|
7984
8128
|
|
7985
|
-
// src/theme/recipes/chakra/toast.ts
|
7986
|
-
var import_react75 = require("@chakra-ui/react");
|
7987
|
-
var import_anatomy41 = require("@chakra-ui/react/anatomy");
|
7988
|
-
var toastSlotRecipe = (0, import_react75.defineSlotRecipe)({
|
7989
|
-
slots: import_anatomy41.toastAnatomy.keys(),
|
7990
|
-
className: "chakra-toast",
|
7991
|
-
base: {
|
7992
|
-
root: {
|
7993
|
-
width: "full",
|
7994
|
-
display: "flex",
|
7995
|
-
alignItems: "flex-start",
|
7996
|
-
position: "relative",
|
7997
|
-
gap: "3",
|
7998
|
-
py: "4",
|
7999
|
-
ps: "4",
|
8000
|
-
pe: "6",
|
8001
|
-
borderRadius: "l2",
|
8002
|
-
translate: "var(--x) var(--y)",
|
8003
|
-
scale: "var(--scale)",
|
8004
|
-
zIndex: "var(--z-index)",
|
8005
|
-
height: "var(--height)",
|
8006
|
-
opacity: "var(--opacity)",
|
8007
|
-
willChange: "translate, opacity, scale",
|
8008
|
-
transition: "translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",
|
8009
|
-
transitionTimingFunction: "cubic-bezier(0.21, 1.02, 0.73, 1)",
|
8010
|
-
_closed: {
|
8011
|
-
transition: "translate 400ms, scale 400ms, opacity 200ms",
|
8012
|
-
transitionTimingFunction: "cubic-bezier(0.06, 0.71, 0.55, 1)"
|
8013
|
-
},
|
8014
|
-
bg: "bg.panel",
|
8015
|
-
color: "fg",
|
8016
|
-
boxShadow: "xl",
|
8017
|
-
"--toast-trigger-bg": "colors.bg.muted",
|
8018
|
-
"&[data-type=warning]": {
|
8019
|
-
bg: "orange.solid",
|
8020
|
-
color: "orange.contrast",
|
8021
|
-
"--toast-trigger-bg": "{white/10}",
|
8022
|
-
"--toast-border-color": "{white/40}"
|
8023
|
-
},
|
8024
|
-
"&[data-type=success]": {
|
8025
|
-
bg: "green.solid",
|
8026
|
-
color: "green.contrast",
|
8027
|
-
"--toast-trigger-bg": "{white/10}",
|
8028
|
-
"--toast-border-color": "{white/40}"
|
8029
|
-
},
|
8030
|
-
"&[data-type=error]": {
|
8031
|
-
bg: "red.solid",
|
8032
|
-
color: "red.contrast",
|
8033
|
-
"--toast-trigger-bg": "{white/10}",
|
8034
|
-
"--toast-border-color": "{white/40}"
|
8035
|
-
}
|
8036
|
-
},
|
8037
|
-
title: {
|
8038
|
-
fontWeight: "medium",
|
8039
|
-
textStyle: "sm",
|
8040
|
-
marginEnd: "2"
|
8041
|
-
},
|
8042
|
-
description: {
|
8043
|
-
display: "inline",
|
8044
|
-
textStyle: "sm",
|
8045
|
-
opacity: "0.8"
|
8046
|
-
},
|
8047
|
-
indicator: {
|
8048
|
-
flexShrink: "0",
|
8049
|
-
boxSize: "5"
|
8050
|
-
},
|
8051
|
-
actionTrigger: {
|
8052
|
-
textStyle: "sm",
|
8053
|
-
fontWeight: "medium",
|
8054
|
-
height: "8",
|
8055
|
-
px: "3",
|
8056
|
-
borderRadius: "l2",
|
8057
|
-
alignSelf: "center",
|
8058
|
-
borderWidth: "1px",
|
8059
|
-
borderColor: "var(--toast-border-color, inherit)",
|
8060
|
-
transition: "background 200ms",
|
8061
|
-
_hover: {
|
8062
|
-
bg: "var(--toast-trigger-bg)"
|
8063
|
-
}
|
8064
|
-
},
|
8065
|
-
closeTrigger: {
|
8066
|
-
position: "absolute",
|
8067
|
-
top: "1",
|
8068
|
-
insetEnd: "1",
|
8069
|
-
padding: "1",
|
8070
|
-
display: "inline-flex",
|
8071
|
-
alignItems: "center",
|
8072
|
-
justifyContent: "center",
|
8073
|
-
color: "{currentColor/60}",
|
8074
|
-
borderRadius: "l2",
|
8075
|
-
textStyle: "md",
|
8076
|
-
transition: "background 200ms"
|
8077
|
-
}
|
8078
|
-
}
|
8079
|
-
});
|
8080
|
-
|
8081
8129
|
// src/theme/recipes/chakra/tooltip.ts
|
8082
8130
|
var import_react76 = require("@chakra-ui/react");
|
8083
8131
|
var import_anatomy42 = require("@chakra-ui/react/anatomy");
|
@@ -9127,7 +9175,7 @@ defaultConfig.utilities = Object.assign(
|
|
9127
9175
|
var defaultSystem = (0, import_react97.createSystem)(defaultConfig);
|
9128
9176
|
|
9129
9177
|
// src/index.ts
|
9130
|
-
var
|
9178
|
+
var import_react170 = require("@chakra-ui/react");
|
9131
9179
|
|
9132
9180
|
// src/provider/sui-provider.tsx
|
9133
9181
|
var React = __toESM(require("react"), 1);
|
@@ -9440,6 +9488,9 @@ var Key = (props) => {
|
|
9440
9488
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react114.Kbd, { ...rest, children });
|
9441
9489
|
};
|
9442
9490
|
|
9491
|
+
// src/components/data-list/index.ts
|
9492
|
+
var import_data_list2 = require("@chakra-ui/react/data-list");
|
9493
|
+
|
9443
9494
|
// src/components/dialog/namespace.ts
|
9444
9495
|
var namespace_exports = {};
|
9445
9496
|
__export(namespace_exports, {
|
@@ -10756,8 +10807,8 @@ var Status = (0, import_react159.forwardRef)(
|
|
10756
10807
|
function Status2(props, ref) {
|
10757
10808
|
const { children, value, ...rest } = props;
|
10758
10809
|
const color = value ? `status.${value}` : void 0;
|
10759
|
-
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_react160.Status.Root, { ref,
|
10760
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react160.Status.Indicator, {}),
|
10810
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_react160.Status.Root, { ref, ...rest, children: [
|
10811
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react160.Status.Indicator, { bg: color }),
|
10761
10812
|
children
|
10762
10813
|
] });
|
10763
10814
|
}
|
@@ -10840,6 +10891,9 @@ var Switch = (0, import_react163.forwardRef)(
|
|
10840
10891
|
}
|
10841
10892
|
);
|
10842
10893
|
|
10894
|
+
// src/components/tabs/index.ts
|
10895
|
+
var import_tabs = require("@chakra-ui/react/tabs");
|
10896
|
+
|
10843
10897
|
// src/components/tag/tag.tsx
|
10844
10898
|
var import_react164 = require("react");
|
10845
10899
|
var import_react165 = require("@chakra-ui/react");
|
@@ -10864,32 +10918,60 @@ var Tag = (0, import_react164.forwardRef)(
|
|
10864
10918
|
);
|
10865
10919
|
|
10866
10920
|
// src/components/toaster/toaster.tsx
|
10867
|
-
var import_react166 = require("
|
10921
|
+
var import_react166 = require("react");
|
10922
|
+
var import_react167 = require("@chakra-ui/react");
|
10868
10923
|
var import_jsx_runtime36 = require("react/jsx-runtime");
|
10869
|
-
var
|
10924
|
+
var defaultOptions = {
|
10870
10925
|
placement: "bottom-end",
|
10871
10926
|
pauseOnPageIdle: true
|
10872
|
-
}
|
10873
|
-
var
|
10874
|
-
|
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) => {
|
10875
10939
|
var _a8;
|
10876
|
-
|
10877
|
-
|
10878
|
-
/* @__PURE__ */ (0, import_jsx_runtime36.
|
10879
|
-
|
10880
|
-
toast2.
|
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 })
|
10881
10947
|
] }),
|
10882
|
-
|
10883
|
-
((_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" }) })
|
10884
10949
|
] });
|
10885
10950
|
} }) });
|
10886
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
|
+
}
|
10887
10969
|
|
10888
10970
|
// src/components/tooltip/tooltip.tsx
|
10889
|
-
var
|
10890
|
-
var
|
10971
|
+
var import_react168 = require("react");
|
10972
|
+
var import_react169 = require("@chakra-ui/react");
|
10891
10973
|
var import_jsx_runtime37 = require("react/jsx-runtime");
|
10892
|
-
var Tooltip = (0,
|
10974
|
+
var Tooltip = (0, import_react168.forwardRef)(
|
10893
10975
|
function Tooltip2(props, ref) {
|
10894
10976
|
const {
|
10895
10977
|
showArrow,
|
@@ -10902,10 +10984,10 @@ var Tooltip = (0, import_react167.forwardRef)(
|
|
10902
10984
|
...rest
|
10903
10985
|
} = props;
|
10904
10986
|
if (disabled) return children;
|
10905
|
-
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
10906
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
10907
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
10908
|
-
showArrow && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
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, {}) }),
|
10909
10991
|
content
|
10910
10992
|
] }) }) })
|
10911
10993
|
] });
|
@@ -10922,6 +11004,7 @@ var Tooltip = (0, import_react167.forwardRef)(
|
|
10922
11004
|
Checkbox,
|
10923
11005
|
CloseButton,
|
10924
11006
|
Command,
|
11007
|
+
DataList,
|
10925
11008
|
Dialog,
|
10926
11009
|
Drawer,
|
10927
11010
|
EmptyState,
|
@@ -10951,6 +11034,7 @@ var Tooltip = (0, import_react167.forwardRef)(
|
|
10951
11034
|
SuiContext,
|
10952
11035
|
SuiProvider,
|
10953
11036
|
Switch,
|
11037
|
+
Tabs,
|
10954
11038
|
Tag,
|
10955
11039
|
Toaster,
|
10956
11040
|
Tooltip,
|
@@ -10959,10 +11043,13 @@ var Tooltip = (0, import_react167.forwardRef)(
|
|
10959
11043
|
defaultPresenceOptions,
|
10960
11044
|
defaultSystem,
|
10961
11045
|
toast,
|
11046
|
+
useDataListStyles,
|
10962
11047
|
useLink,
|
10963
11048
|
useLoadingOverlayStyles,
|
10964
11049
|
useSidebar,
|
10965
11050
|
useSidebarItemStyles,
|
10966
11051
|
useSidebarStyles,
|
10967
|
-
useSui
|
11052
|
+
useSui,
|
11053
|
+
useTabsContext,
|
11054
|
+
useTabsStyles
|
10968
11055
|
});
|