@saas-ui/react 3.0.0-alpha.23 → 3.0.0-alpha.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -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/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/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 +801 -735
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +764 -727
- 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.js
CHANGED
@@ -1,9 +1,23 @@
|
|
1
|
+
import {
|
2
|
+
Tooltip
|
3
|
+
} from "./chunk-QSNSWCTM.js";
|
4
|
+
import {
|
5
|
+
colors
|
6
|
+
} from "./chunk-3MO37LYW.js";
|
7
|
+
import {
|
8
|
+
PinInput
|
9
|
+
} from "./chunk-2EUACKRH.js";
|
1
10
|
import {
|
2
11
|
Status
|
3
12
|
} from "./chunk-YKSY7UOM.js";
|
4
13
|
import {
|
5
14
|
steps_exports
|
6
15
|
} from "./chunk-VZG7EJ64.js";
|
16
|
+
import {
|
17
|
+
Tabs,
|
18
|
+
useTabsContext,
|
19
|
+
useTabsStyles
|
20
|
+
} from "./chunk-IVLUAUU5.js";
|
7
21
|
import {
|
8
22
|
Switch
|
9
23
|
} from "./chunk-SA3OGTOO.js";
|
@@ -13,37 +27,31 @@ import {
|
|
13
27
|
import {
|
14
28
|
Toaster,
|
15
29
|
toast
|
16
|
-
} from "./chunk-
|
17
|
-
import {
|
18
|
-
Tooltip
|
19
|
-
} from "./chunk-QSNSWCTM.js";
|
30
|
+
} from "./chunk-RLIAFHVM.js";
|
20
31
|
import {
|
21
|
-
|
22
|
-
} from "./chunk-
|
32
|
+
pagination_exports
|
33
|
+
} from "./chunk-MLJN6IOJ.js";
|
23
34
|
import {
|
24
35
|
PasswordInput
|
25
36
|
} from "./chunk-CD2JUFI2.js";
|
37
|
+
import {
|
38
|
+
Radio,
|
39
|
+
RadioGroup
|
40
|
+
} from "./chunk-WYLMBMAH.js";
|
26
41
|
import {
|
27
42
|
Persona,
|
28
43
|
PersonaAvatar,
|
29
44
|
defaultPresenceOptions
|
30
45
|
} from "./chunk-GWC5GCMW.js";
|
31
|
-
import {
|
32
|
-
PinInput
|
33
|
-
} from "./chunk-2EUACKRH.js";
|
34
|
-
import {
|
35
|
-
Radio,
|
36
|
-
RadioGroup
|
37
|
-
} from "./chunk-WYLMBMAH.js";
|
38
46
|
import {
|
39
47
|
SearchInput
|
40
48
|
} from "./chunk-46ISJZBS.js";
|
49
|
+
import {
|
50
|
+
namespace_exports as namespace_exports3
|
51
|
+
} from "./chunk-3JZ42NYM.js";
|
41
52
|
import {
|
42
53
|
SegmentedControl
|
43
54
|
} from "./chunk-SKXSBAOS.js";
|
44
|
-
import {
|
45
|
-
namespace_exports as namespace_exports3
|
46
|
-
} from "./chunk-BU7QENBQ.js";
|
47
55
|
import {
|
48
56
|
sidebar_exports,
|
49
57
|
useSidebar,
|
@@ -51,8 +59,8 @@ import {
|
|
51
59
|
useSidebarStyles
|
52
60
|
} from "./chunk-U23VDAWJ.js";
|
53
61
|
import {
|
54
|
-
|
55
|
-
} from "./chunk-
|
62
|
+
IconBadge
|
63
|
+
} from "./chunk-I2RXEKTB.js";
|
56
64
|
import {
|
57
65
|
loading_overlay_exports,
|
58
66
|
useLoadingOverlayStyles
|
@@ -60,10 +68,19 @@ import {
|
|
60
68
|
import {
|
61
69
|
Spinner
|
62
70
|
} from "./chunk-32JGENDB.js";
|
71
|
+
import {
|
72
|
+
Link
|
73
|
+
} from "./chunk-TZBAM4AD.js";
|
63
74
|
import {
|
64
75
|
menu_exports
|
65
76
|
} from "./chunk-KFXNVUEZ.js";
|
66
77
|
import "./chunk-KTLWEUNW.js";
|
78
|
+
import {
|
79
|
+
NumberInput
|
80
|
+
} from "./chunk-S5J6REMC.js";
|
81
|
+
import {
|
82
|
+
InputGroup
|
83
|
+
} from "./chunk-PKI6YH2V.js";
|
67
84
|
import {
|
68
85
|
navbar_exports
|
69
86
|
} from "./chunk-Q6SNJJO2.js";
|
@@ -73,46 +90,36 @@ import {
|
|
73
90
|
useLink,
|
74
91
|
useSui
|
75
92
|
} from "./chunk-O2WVT2BP.js";
|
76
|
-
import {
|
77
|
-
NumberInput
|
78
|
-
} from "./chunk-S5J6REMC.js";
|
79
|
-
import {
|
80
|
-
InputGroup
|
81
|
-
} from "./chunk-PKI6YH2V.js";
|
82
|
-
import {
|
83
|
-
pagination_exports
|
84
|
-
} from "./chunk-MLJN6IOJ.js";
|
85
93
|
import {
|
86
94
|
Command
|
87
95
|
} from "./chunk-UASXI64E.js";
|
96
|
+
import {
|
97
|
+
DataList,
|
98
|
+
useDataListStyles
|
99
|
+
} from "./chunk-52XM5VXJ.js";
|
88
100
|
import {
|
89
101
|
namespace_exports
|
90
|
-
} from "./chunk-
|
102
|
+
} from "./chunk-OIOBGO3Y.js";
|
103
|
+
import {
|
104
|
+
EmptyState
|
105
|
+
} from "./chunk-FJFNGSPL.js";
|
91
106
|
import {
|
92
107
|
namespace_exports as namespace_exports2
|
93
|
-
} from "./chunk-
|
108
|
+
} from "./chunk-3Y67QIZ7.js";
|
109
|
+
import "./chunk-JMYI6YXR.js";
|
94
110
|
import {
|
95
111
|
CloseButton
|
96
|
-
} from "./chunk-
|
112
|
+
} from "./chunk-YXGJOOMM.js";
|
97
113
|
import "./chunk-4TPVIHNO.js";
|
98
|
-
import {
|
99
|
-
EmptyState
|
100
|
-
} from "./chunk-FJFNGSPL.js";
|
101
114
|
import {
|
102
115
|
grid_list_exports
|
103
116
|
} from "./chunk-NSD5HRIP.js";
|
104
|
-
import {
|
105
|
-
IconBadge
|
106
|
-
} from "./chunk-I2RXEKTB.js";
|
107
117
|
import {
|
108
118
|
IconButton
|
109
119
|
} from "./chunk-MS2ELLDY.js";
|
110
120
|
import {
|
111
121
|
AppShell
|
112
122
|
} from "./chunk-6ZNR6N2K.js";
|
113
|
-
import {
|
114
|
-
Badge
|
115
|
-
} from "./chunk-INV6RT5B.js";
|
116
123
|
import "./chunk-YHQ5JGCC.js";
|
117
124
|
import {
|
118
125
|
Avatar,
|
@@ -121,6 +128,9 @@ import {
|
|
121
128
|
import {
|
122
129
|
breadcrumb_exports
|
123
130
|
} from "./chunk-TT4C5VXB.js";
|
131
|
+
import {
|
132
|
+
Badge
|
133
|
+
} from "./chunk-INV6RT5B.js";
|
124
134
|
import {
|
125
135
|
Button
|
126
136
|
} from "./chunk-NGSHWY7E.js";
|
@@ -3343,9 +3353,135 @@ var personaSlotRecipe = defineSlotRecipe8({
|
|
3343
3353
|
}
|
3344
3354
|
});
|
3345
3355
|
|
3346
|
-
// src/components/
|
3356
|
+
// src/components/segmented-control/segment-group.recipe.ts
|
3347
3357
|
import { defineSlotRecipe as defineSlotRecipe9 } from "@chakra-ui/react";
|
3348
|
-
|
3358
|
+
import { segmentGroupAnatomy } from "@chakra-ui/react/anatomy";
|
3359
|
+
var segmentGroupSlotRecipe = defineSlotRecipe9({
|
3360
|
+
className: "chakra-segment-group",
|
3361
|
+
slots: segmentGroupAnatomy.keys(),
|
3362
|
+
base: {
|
3363
|
+
root: {
|
3364
|
+
"--segment-radius": "radii.md",
|
3365
|
+
borderRadius: "md",
|
3366
|
+
display: "inline-flex",
|
3367
|
+
boxShadow: "inset",
|
3368
|
+
minW: "max-content",
|
3369
|
+
textAlign: "center",
|
3370
|
+
position: "relative",
|
3371
|
+
isolation: "isolate",
|
3372
|
+
bg: "bg.muted",
|
3373
|
+
borderWidth: "1px"
|
3374
|
+
},
|
3375
|
+
item: {
|
3376
|
+
display: "flex",
|
3377
|
+
alignItems: "center",
|
3378
|
+
userSelect: "none",
|
3379
|
+
fontSize: "sm",
|
3380
|
+
position: "relative",
|
3381
|
+
color: "fg.subtle",
|
3382
|
+
cursor: "button",
|
3383
|
+
borderRadius: "var(--segment-radius)",
|
3384
|
+
_disabled: {
|
3385
|
+
opacity: "0.5"
|
3386
|
+
},
|
3387
|
+
_hover: {
|
3388
|
+
color: "fg"
|
3389
|
+
},
|
3390
|
+
"&:has(input:focus-visible)": {
|
3391
|
+
focusRing: "inside",
|
3392
|
+
focusRingWidth: "1px"
|
3393
|
+
},
|
3394
|
+
_before: {
|
3395
|
+
content: '""',
|
3396
|
+
position: "absolute",
|
3397
|
+
insetInlineStart: 0,
|
3398
|
+
insetBlock: "0",
|
3399
|
+
bg: "border",
|
3400
|
+
width: "1px",
|
3401
|
+
transition: "opacity 0.2s"
|
3402
|
+
},
|
3403
|
+
_checked: {
|
3404
|
+
color: "fg"
|
3405
|
+
},
|
3406
|
+
"& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type": {
|
3407
|
+
_before: {
|
3408
|
+
opacity: "0"
|
3409
|
+
}
|
3410
|
+
},
|
3411
|
+
"&[data-state=checked][data-ssr]": {
|
3412
|
+
shadow: "sm",
|
3413
|
+
bg: "bg",
|
3414
|
+
color: "fg",
|
3415
|
+
borderRadius: "var(--segment-radius)"
|
3416
|
+
}
|
3417
|
+
},
|
3418
|
+
indicator: {
|
3419
|
+
shadow: "sm",
|
3420
|
+
pos: "absolute",
|
3421
|
+
bg: {
|
3422
|
+
base: "bg",
|
3423
|
+
_dark: "bg.emphasized"
|
3424
|
+
},
|
3425
|
+
width: "var(--width)",
|
3426
|
+
height: "var(--height)",
|
3427
|
+
top: "var(--top)",
|
3428
|
+
left: "var(--left)",
|
3429
|
+
zIndex: -1,
|
3430
|
+
borderRadius: "var(--segment-radius)"
|
3431
|
+
}
|
3432
|
+
},
|
3433
|
+
variants: {
|
3434
|
+
size: {
|
3435
|
+
xs: {
|
3436
|
+
root: {
|
3437
|
+
height: "6"
|
3438
|
+
},
|
3439
|
+
item: {
|
3440
|
+
textStyle: "xs",
|
3441
|
+
px: "3",
|
3442
|
+
gap: "1"
|
3443
|
+
}
|
3444
|
+
},
|
3445
|
+
sm: {
|
3446
|
+
root: {
|
3447
|
+
height: "7"
|
3448
|
+
},
|
3449
|
+
item: {
|
3450
|
+
textStyle: "sm",
|
3451
|
+
px: "4",
|
3452
|
+
gap: "2"
|
3453
|
+
}
|
3454
|
+
},
|
3455
|
+
md: {
|
3456
|
+
root: {
|
3457
|
+
height: "8"
|
3458
|
+
},
|
3459
|
+
item: {
|
3460
|
+
textStyle: "md",
|
3461
|
+
px: "4",
|
3462
|
+
gap: "2"
|
3463
|
+
}
|
3464
|
+
},
|
3465
|
+
lg: {
|
3466
|
+
root: {
|
3467
|
+
height: "10"
|
3468
|
+
},
|
3469
|
+
item: {
|
3470
|
+
textStyle: "md",
|
3471
|
+
px: "5",
|
3472
|
+
gap: "3"
|
3473
|
+
}
|
3474
|
+
}
|
3475
|
+
}
|
3476
|
+
},
|
3477
|
+
defaultVariants: {
|
3478
|
+
size: "md"
|
3479
|
+
}
|
3480
|
+
});
|
3481
|
+
|
3482
|
+
// src/components/sidebar/sidebar-item.recipe.ts
|
3483
|
+
import { defineSlotRecipe as defineSlotRecipe10 } from "@chakra-ui/react";
|
3484
|
+
var sidebarNavItemSlotRecipe = defineSlotRecipe10({
|
3349
3485
|
className: "sui-sidebar-nav-item",
|
3350
3486
|
slots: ["item", "button", "endElement"],
|
3351
3487
|
base: {
|
@@ -3430,8 +3566,8 @@ var sidebarNavItemSlotRecipe = defineSlotRecipe9({
|
|
3430
3566
|
});
|
3431
3567
|
|
3432
3568
|
// src/components/sidebar/sidebar.recipe.ts
|
3433
|
-
import { defineSlotRecipe as
|
3434
|
-
var sidebarSlotRecipe =
|
3569
|
+
import { defineSlotRecipe as defineSlotRecipe11 } from "@chakra-ui/react";
|
3570
|
+
var sidebarSlotRecipe = defineSlotRecipe11({
|
3435
3571
|
className: "sui-sidebar",
|
3436
3572
|
slots: [
|
3437
3573
|
"root",
|
@@ -3667,9 +3803,9 @@ var sidebarSlotRecipe = defineSlotRecipe10({
|
|
3667
3803
|
});
|
3668
3804
|
|
3669
3805
|
// src/components/status/status.recipe.ts
|
3670
|
-
import { defineSlotRecipe as
|
3806
|
+
import { defineSlotRecipe as defineSlotRecipe12 } from "@chakra-ui/react";
|
3671
3807
|
import { statusAnatomy } from "@chakra-ui/react/anatomy";
|
3672
|
-
var statusSlotRecipe =
|
3808
|
+
var statusSlotRecipe = defineSlotRecipe12({
|
3673
3809
|
className: "chakra-status",
|
3674
3810
|
slots: statusAnatomy.keys(),
|
3675
3811
|
base: {
|
@@ -3712,60 +3848,357 @@ var statusSlotRecipe = defineSlotRecipe11({
|
|
3712
3848
|
}
|
3713
3849
|
});
|
3714
3850
|
|
3715
|
-
// src/components/
|
3716
|
-
import { defineSlotRecipe as
|
3717
|
-
import {
|
3718
|
-
var
|
3719
|
-
|
3720
|
-
|
3721
|
-
slots: tagAnatomy.keys(),
|
3722
|
-
className: "chakra-tag",
|
3851
|
+
// src/components/tabs/tabs.recipe.ts
|
3852
|
+
import { defineSlotRecipe as defineSlotRecipe13 } from "@chakra-ui/react";
|
3853
|
+
import { tabsAnatomy } from "@chakra-ui/react/anatomy";
|
3854
|
+
var tabsSlotRecipe = defineSlotRecipe13({
|
3855
|
+
slots: tabsAnatomy.keys(),
|
3856
|
+
className: "chakra-tabs",
|
3723
3857
|
base: {
|
3724
3858
|
root: {
|
3725
|
-
colorPalette: "
|
3726
|
-
|
3727
|
-
alignItems: "center",
|
3728
|
-
verticalAlign: "top",
|
3729
|
-
maxWidth: "100%",
|
3730
|
-
userSelect: "none",
|
3731
|
-
borderRadius: "full",
|
3732
|
-
focusVisibleRing: "outside"
|
3733
|
-
},
|
3734
|
-
label: {
|
3735
|
-
lineClamp: "1"
|
3736
|
-
},
|
3737
|
-
closeTrigger: {
|
3738
|
-
cursor: "button",
|
3859
|
+
colorPalette: "gray",
|
3860
|
+
"--tabs-trigger-radius": "radii.md",
|
3739
3861
|
position: "relative",
|
3740
|
-
|
3741
|
-
|
3742
|
-
justifyContent: "center",
|
3743
|
-
outline: "0",
|
3744
|
-
borderRadius: "full",
|
3745
|
-
color: "currentColor",
|
3746
|
-
opacity: 0.8,
|
3747
|
-
padding: "1px",
|
3748
|
-
focusVisibleRing: "inside",
|
3749
|
-
focusRingWidth: "2px",
|
3750
|
-
_hover: {
|
3751
|
-
opacity: 1,
|
3752
|
-
bg: "colorPalette.subtle"
|
3862
|
+
_horizontal: {
|
3863
|
+
display: "block"
|
3753
3864
|
},
|
3754
|
-
|
3755
|
-
|
3756
|
-
position: "absolute",
|
3757
|
-
boxSize: "24px",
|
3758
|
-
borderRadius: "full"
|
3865
|
+
_vertical: {
|
3866
|
+
display: "flex"
|
3759
3867
|
}
|
3760
3868
|
},
|
3761
|
-
|
3869
|
+
list: {
|
3762
3870
|
display: "inline-flex",
|
3763
|
-
|
3764
|
-
|
3765
|
-
|
3766
|
-
|
3767
|
-
|
3768
|
-
|
3871
|
+
position: "relative",
|
3872
|
+
isolation: "isolate",
|
3873
|
+
"--tabs-indicator-shadow": "shadows.xs",
|
3874
|
+
"--tabs-indicator-bg": "colors.bg",
|
3875
|
+
minH: "var(--tabs-height)",
|
3876
|
+
_horizontal: {
|
3877
|
+
flexDirection: "row"
|
3878
|
+
},
|
3879
|
+
_vertical: {
|
3880
|
+
flexDirection: "column"
|
3881
|
+
}
|
3882
|
+
},
|
3883
|
+
trigger: {
|
3884
|
+
outline: "0",
|
3885
|
+
minW: "var(--tabs-height)",
|
3886
|
+
height: "var(--tabs-height)",
|
3887
|
+
display: "flex",
|
3888
|
+
alignItems: "center",
|
3889
|
+
fontWeight: "medium",
|
3890
|
+
position: "relative",
|
3891
|
+
cursor: "button",
|
3892
|
+
gap: "2",
|
3893
|
+
_focusVisible: {
|
3894
|
+
zIndex: 1,
|
3895
|
+
focusVisibleRing: "outside"
|
3896
|
+
},
|
3897
|
+
_disabled: {
|
3898
|
+
cursor: "not-allowed",
|
3899
|
+
opacity: 0.5
|
3900
|
+
}
|
3901
|
+
},
|
3902
|
+
content: {
|
3903
|
+
focusVisibleRing: "inside",
|
3904
|
+
_horizontal: {
|
3905
|
+
width: "100%",
|
3906
|
+
pt: "var(--tabs-content-padding)"
|
3907
|
+
},
|
3908
|
+
_vertical: {
|
3909
|
+
height: "100%",
|
3910
|
+
ps: "var(--tabs-content-padding)"
|
3911
|
+
}
|
3912
|
+
},
|
3913
|
+
indicator: {
|
3914
|
+
width: "var(--width)",
|
3915
|
+
height: "var(--height)",
|
3916
|
+
borderRadius: "var(--tabs-indicator-radius)",
|
3917
|
+
bg: "var(--tabs-indicator-bg)",
|
3918
|
+
shadow: "var(--tabs-indicator-shadow)",
|
3919
|
+
zIndex: -1
|
3920
|
+
}
|
3921
|
+
},
|
3922
|
+
variants: {
|
3923
|
+
fitted: {
|
3924
|
+
true: {
|
3925
|
+
list: {
|
3926
|
+
display: "flex"
|
3927
|
+
},
|
3928
|
+
trigger: {
|
3929
|
+
flex: 1,
|
3930
|
+
textAlign: "center",
|
3931
|
+
justifyContent: "center"
|
3932
|
+
}
|
3933
|
+
}
|
3934
|
+
},
|
3935
|
+
justify: {
|
3936
|
+
start: {
|
3937
|
+
list: {
|
3938
|
+
justifyContent: "flex-start"
|
3939
|
+
}
|
3940
|
+
},
|
3941
|
+
center: {
|
3942
|
+
list: {
|
3943
|
+
justifyContent: "center"
|
3944
|
+
}
|
3945
|
+
},
|
3946
|
+
end: {
|
3947
|
+
list: {
|
3948
|
+
justifyContent: "flex-end"
|
3949
|
+
}
|
3950
|
+
}
|
3951
|
+
},
|
3952
|
+
size: {
|
3953
|
+
xs: {
|
3954
|
+
root: {
|
3955
|
+
"--tabs-height": "sizes.6",
|
3956
|
+
"--tabs-content-padding": "spacing.2"
|
3957
|
+
},
|
3958
|
+
trigger: {
|
3959
|
+
py: "1",
|
3960
|
+
px: "2",
|
3961
|
+
textStyle: "xs"
|
3962
|
+
}
|
3963
|
+
},
|
3964
|
+
sm: {
|
3965
|
+
root: {
|
3966
|
+
"--tabs-height": "sizes.7",
|
3967
|
+
"--tabs-content-padding": "spacing.3"
|
3968
|
+
},
|
3969
|
+
trigger: {
|
3970
|
+
py: "1",
|
3971
|
+
px: "3",
|
3972
|
+
textStyle: "sm"
|
3973
|
+
}
|
3974
|
+
},
|
3975
|
+
md: {
|
3976
|
+
root: {
|
3977
|
+
"--tabs-height": "sizes.8",
|
3978
|
+
"--tabs-content-padding": "spacing.4"
|
3979
|
+
},
|
3980
|
+
trigger: {
|
3981
|
+
py: "2",
|
3982
|
+
px: "4",
|
3983
|
+
textStyle: "sm"
|
3984
|
+
}
|
3985
|
+
},
|
3986
|
+
lg: {
|
3987
|
+
root: {
|
3988
|
+
"--tabs-height": "sizes.10",
|
3989
|
+
"--tabs-content-padding": "spacing.4.5"
|
3990
|
+
},
|
3991
|
+
trigger: {
|
3992
|
+
py: "2",
|
3993
|
+
px: "4.5",
|
3994
|
+
textStyle: "md"
|
3995
|
+
}
|
3996
|
+
}
|
3997
|
+
},
|
3998
|
+
variant: {
|
3999
|
+
line: {
|
4000
|
+
list: {
|
4001
|
+
display: "flex",
|
4002
|
+
borderColor: "border",
|
4003
|
+
_horizontal: {
|
4004
|
+
borderBottomWidth: "1px"
|
4005
|
+
},
|
4006
|
+
_vertical: {
|
4007
|
+
borderEndWidth: "1px"
|
4008
|
+
}
|
4009
|
+
},
|
4010
|
+
trigger: {
|
4011
|
+
color: "fg.muted",
|
4012
|
+
_hover: {
|
4013
|
+
color: "fg.subtle"
|
4014
|
+
},
|
4015
|
+
_disabled: {
|
4016
|
+
_active: { bg: "initial" }
|
4017
|
+
},
|
4018
|
+
_selected: {
|
4019
|
+
color: "fg !important",
|
4020
|
+
_horizontal: {
|
4021
|
+
layerStyle: "indicator.bottom",
|
4022
|
+
"--indicator-offset-y": "-1px",
|
4023
|
+
"--indicator-color": "colors.colorPalette.solid"
|
4024
|
+
},
|
4025
|
+
_vertical: {
|
4026
|
+
layerStyle: "indicator.end",
|
4027
|
+
"--indicator-offset-x": "-1px"
|
4028
|
+
}
|
4029
|
+
}
|
4030
|
+
}
|
4031
|
+
},
|
4032
|
+
pills: {
|
4033
|
+
list: {
|
4034
|
+
gap: 2
|
4035
|
+
},
|
4036
|
+
trigger: {
|
4037
|
+
borderRadius: "var(--tabs-trigger-radius)",
|
4038
|
+
color: "fg.muted",
|
4039
|
+
borderWidth: "1px",
|
4040
|
+
borderColor: "border.emphasized",
|
4041
|
+
_hover: {
|
4042
|
+
bg: "bg.muted",
|
4043
|
+
color: "fg.subtle"
|
4044
|
+
},
|
4045
|
+
_selected: {
|
4046
|
+
bg: "colorPalette.subtle !important",
|
4047
|
+
color: "colorPalette.fg !important",
|
4048
|
+
borderColor: "colorPalette.solid/50"
|
4049
|
+
}
|
4050
|
+
}
|
4051
|
+
},
|
4052
|
+
enclosed: {
|
4053
|
+
list: {
|
4054
|
+
bg: "bg.muted",
|
4055
|
+
boxShadow: "inset",
|
4056
|
+
borderRadius: "md",
|
4057
|
+
borderWidth: "1px",
|
4058
|
+
minH: "calc(var(--tabs-height) - 4px)"
|
4059
|
+
},
|
4060
|
+
trigger: {
|
4061
|
+
justifyContent: "center",
|
4062
|
+
color: "fg.muted",
|
4063
|
+
borderRadius: "var(--tabs-trigger-radius)",
|
4064
|
+
_selected: {
|
4065
|
+
bg: "bg",
|
4066
|
+
color: "colorPalette.fg",
|
4067
|
+
shadow: "sm"
|
4068
|
+
}
|
4069
|
+
}
|
4070
|
+
},
|
4071
|
+
outline: {
|
4072
|
+
list: {
|
4073
|
+
"--line-thickness": "1px",
|
4074
|
+
"--line-offset": "calc(var(--line-thickness) * -1)",
|
4075
|
+
borderColor: "border",
|
4076
|
+
display: "flex",
|
4077
|
+
_horizontal: {
|
4078
|
+
_before: {
|
4079
|
+
content: '""',
|
4080
|
+
position: "absolute",
|
4081
|
+
bottom: "0px",
|
4082
|
+
width: "100%",
|
4083
|
+
borderBottomWidth: "var(--line-thickness)",
|
4084
|
+
borderBottomColor: "border"
|
4085
|
+
}
|
4086
|
+
},
|
4087
|
+
_vertical: {
|
4088
|
+
_before: {
|
4089
|
+
content: '""',
|
4090
|
+
position: "absolute",
|
4091
|
+
insetInline: "var(--line-offset)",
|
4092
|
+
height: "calc(100% - calc(var(--line-thickness) * 2))",
|
4093
|
+
borderEndWidth: "var(--line-thickness)",
|
4094
|
+
borderEndColor: "border"
|
4095
|
+
}
|
4096
|
+
}
|
4097
|
+
},
|
4098
|
+
trigger: {
|
4099
|
+
color: "fg.muted",
|
4100
|
+
borderWidth: "1px",
|
4101
|
+
borderColor: "transparent",
|
4102
|
+
_selected: {
|
4103
|
+
bg: "currentBg",
|
4104
|
+
color: "colorPalette.fg"
|
4105
|
+
},
|
4106
|
+
_horizontal: {
|
4107
|
+
borderTopRadius: "var(--tabs-trigger-radius)",
|
4108
|
+
marginBottom: "var(--line-offset)",
|
4109
|
+
marginEnd: { _notLast: "var(--line-offset)" },
|
4110
|
+
_selected: {
|
4111
|
+
borderColor: "border",
|
4112
|
+
borderBottomColor: "transparent"
|
4113
|
+
}
|
4114
|
+
},
|
4115
|
+
_vertical: {
|
4116
|
+
borderStartRadius: "var(--tabs-trigger-radius)",
|
4117
|
+
marginEnd: "var(--line-offset)",
|
4118
|
+
marginBottom: { _notLast: "var(--line-offset)" },
|
4119
|
+
_selected: {
|
4120
|
+
borderColor: "border",
|
4121
|
+
borderEndColor: "transparent"
|
4122
|
+
}
|
4123
|
+
}
|
4124
|
+
}
|
4125
|
+
},
|
4126
|
+
plain: {
|
4127
|
+
trigger: {
|
4128
|
+
color: "fg.muted",
|
4129
|
+
_selected: {
|
4130
|
+
color: "colorPalette.fg"
|
4131
|
+
},
|
4132
|
+
borderRadius: "var(--tabs-trigger-radius)",
|
4133
|
+
"&[data-selected][data-ssr]": {
|
4134
|
+
bg: "var(--tabs-indicator-bg)",
|
4135
|
+
shadow: "var(--tabs-indicator-shadow)",
|
4136
|
+
borderRadius: "var(--tabs-indicator-radius)"
|
4137
|
+
}
|
4138
|
+
}
|
4139
|
+
}
|
4140
|
+
}
|
4141
|
+
},
|
4142
|
+
defaultVariants: {
|
4143
|
+
size: "md",
|
4144
|
+
variant: "line"
|
4145
|
+
}
|
4146
|
+
});
|
4147
|
+
|
4148
|
+
// src/components/tag/tag.recipe.ts
|
4149
|
+
import { defineSlotRecipe as defineSlotRecipe14 } from "@chakra-ui/react";
|
4150
|
+
import { tagAnatomy } from "@chakra-ui/react/anatomy";
|
4151
|
+
var _a;
|
4152
|
+
var badgeVariant = (_a = badgeRecipe.variants) == null ? void 0 : _a.variant;
|
4153
|
+
var tagSlotRecipe = defineSlotRecipe14({
|
4154
|
+
slots: tagAnatomy.keys(),
|
4155
|
+
className: "chakra-tag",
|
4156
|
+
base: {
|
4157
|
+
root: {
|
4158
|
+
colorPalette: "neutral",
|
4159
|
+
display: "inline-flex",
|
4160
|
+
alignItems: "center",
|
4161
|
+
verticalAlign: "top",
|
4162
|
+
maxWidth: "100%",
|
4163
|
+
userSelect: "none",
|
4164
|
+
borderRadius: "full",
|
4165
|
+
focusVisibleRing: "outside"
|
4166
|
+
},
|
4167
|
+
label: {
|
4168
|
+
lineClamp: "1"
|
4169
|
+
},
|
4170
|
+
closeTrigger: {
|
4171
|
+
cursor: "button",
|
4172
|
+
position: "relative",
|
4173
|
+
display: "flex",
|
4174
|
+
alignItems: "center",
|
4175
|
+
justifyContent: "center",
|
4176
|
+
outline: "0",
|
4177
|
+
borderRadius: "full",
|
4178
|
+
color: "currentColor",
|
4179
|
+
opacity: 0.8,
|
4180
|
+
padding: "1px",
|
4181
|
+
focusVisibleRing: "inside",
|
4182
|
+
focusRingWidth: "2px",
|
4183
|
+
_hover: {
|
4184
|
+
opacity: 1,
|
4185
|
+
bg: "colorPalette.subtle"
|
4186
|
+
},
|
4187
|
+
_after: {
|
4188
|
+
content: '""',
|
4189
|
+
position: "absolute",
|
4190
|
+
boxSize: "24px",
|
4191
|
+
borderRadius: "full"
|
4192
|
+
}
|
4193
|
+
},
|
4194
|
+
startElement: {
|
4195
|
+
display: "inline-flex",
|
4196
|
+
alignItems: "center",
|
4197
|
+
justifyContent: "center",
|
4198
|
+
flexShrink: 0,
|
4199
|
+
boxSize: "var(--tag-element-size)",
|
4200
|
+
_icon: { boxSize: "80% !important" },
|
4201
|
+
"&:has([data-scope=avatar])": {
|
3769
4202
|
boxSize: "var(--tag-avatar-size)",
|
3770
4203
|
ms: "var(--tag-element-offset)"
|
3771
4204
|
},
|
@@ -3868,10 +4301,102 @@ var tagSlotRecipe = defineSlotRecipe12({
|
|
3868
4301
|
}
|
3869
4302
|
});
|
3870
4303
|
|
4304
|
+
// src/components/toaster/toast.recipe.ts
|
4305
|
+
import { defineSlotRecipe as defineSlotRecipe15 } from "@chakra-ui/react";
|
4306
|
+
import { toastAnatomy } from "@chakra-ui/react/anatomy";
|
4307
|
+
var toastSlotRecipe = defineSlotRecipe15({
|
4308
|
+
slots: toastAnatomy.keys(),
|
4309
|
+
className: "chakra-toast",
|
4310
|
+
base: {
|
4311
|
+
root: {
|
4312
|
+
width: "full",
|
4313
|
+
display: "flex",
|
4314
|
+
alignItems: "flex-start",
|
4315
|
+
position: "relative",
|
4316
|
+
gap: "2",
|
4317
|
+
py: "3",
|
4318
|
+
ps: "3",
|
4319
|
+
pe: "6",
|
4320
|
+
borderRadius: "md",
|
4321
|
+
borderWidth: "1px",
|
4322
|
+
translate: "var(--x) var(--y)",
|
4323
|
+
scale: "var(--scale)",
|
4324
|
+
zIndex: "var(--z-index)",
|
4325
|
+
height: "var(--height, var(--toast-height))",
|
4326
|
+
opacity: "var(--opacity)",
|
4327
|
+
willChange: "translate, opacity, scale, height",
|
4328
|
+
transition: "translate 400ms, scale 400ms, opacity 400ms, height 200ms, box-shadow 200ms",
|
4329
|
+
transitionTimingFunction: "bounce-in",
|
4330
|
+
_closed: {
|
4331
|
+
transition: "translate 400ms, scale 400ms, height 200ms, opacity 200ms",
|
4332
|
+
transitionTimingFunction: "bounce-out"
|
4333
|
+
},
|
4334
|
+
bg: "bg.panel",
|
4335
|
+
color: "fg",
|
4336
|
+
boxShadow: "lg",
|
4337
|
+
overflow: "hidden",
|
4338
|
+
"--toast-indicated-color": "colors.fg.muted",
|
4339
|
+
"&[data-type=warning]": {
|
4340
|
+
"--toast-indicated-color": "colors.fg.warning"
|
4341
|
+
},
|
4342
|
+
"&[data-type=success]": {
|
4343
|
+
"--toast-indicated-color": "colors.fg.success"
|
4344
|
+
},
|
4345
|
+
"&[data-type=error]": {
|
4346
|
+
"--toast-indicated-color": "colors.fg.error"
|
4347
|
+
},
|
4348
|
+
"&[data-overlap]": {
|
4349
|
+
_before: {
|
4350
|
+
content: '""',
|
4351
|
+
position: "absolute",
|
4352
|
+
inset: "0",
|
4353
|
+
maskImage: "linear-gradient(to bottom, transparent, black 50%)"
|
4354
|
+
}
|
4355
|
+
}
|
4356
|
+
},
|
4357
|
+
title: {
|
4358
|
+
fontWeight: "medium",
|
4359
|
+
textStyle: "sm",
|
4360
|
+
marginEnd: "2"
|
4361
|
+
},
|
4362
|
+
description: {
|
4363
|
+
display: "inline",
|
4364
|
+
textStyle: "sm",
|
4365
|
+
opacity: "0.8"
|
4366
|
+
},
|
4367
|
+
indicator: {
|
4368
|
+
flexShrink: "0",
|
4369
|
+
boxSize: "5",
|
4370
|
+
color: "var(--toast-indicated-color)"
|
4371
|
+
},
|
4372
|
+
actionTrigger: {
|
4373
|
+
cursor: "button",
|
4374
|
+
textStyle: "sm",
|
4375
|
+
fontWeight: "medium",
|
4376
|
+
height: "6",
|
4377
|
+
px: "3",
|
4378
|
+
ms: "-3",
|
4379
|
+
borderRadius: "sm",
|
4380
|
+
alignSelf: "flex-start",
|
4381
|
+
transition: "background 200ms",
|
4382
|
+
color: "colorPalette.solid/80",
|
4383
|
+
_hover: {
|
4384
|
+
bg: "bg.subtle",
|
4385
|
+
color: "colorPalette.solid"
|
4386
|
+
}
|
4387
|
+
},
|
4388
|
+
closeTrigger: {
|
4389
|
+
position: "absolute",
|
4390
|
+
top: "2",
|
4391
|
+
insetEnd: "2"
|
4392
|
+
}
|
4393
|
+
}
|
4394
|
+
});
|
4395
|
+
|
3871
4396
|
// src/theme/recipes/chakra/accordion.ts
|
3872
|
-
import { defineSlotRecipe as
|
4397
|
+
import { defineSlotRecipe as defineSlotRecipe16 } from "@chakra-ui/react";
|
3873
4398
|
import { accordionAnatomy } from "@chakra-ui/react/anatomy";
|
3874
|
-
var accordionSlotRecipe =
|
4399
|
+
var accordionSlotRecipe = defineSlotRecipe16({
|
3875
4400
|
className: "chakra-accordion",
|
3876
4401
|
slots: accordionAnatomy.keys(),
|
3877
4402
|
base: {
|
@@ -4009,9 +4534,9 @@ var accordionSlotRecipe = defineSlotRecipe13({
|
|
4009
4534
|
});
|
4010
4535
|
|
4011
4536
|
// src/theme/recipes/chakra/action-bar.ts
|
4012
|
-
import { defineSlotRecipe as
|
4537
|
+
import { defineSlotRecipe as defineSlotRecipe17 } from "@chakra-ui/react";
|
4013
4538
|
import { actionBarAnatomy } from "@chakra-ui/react/anatomy";
|
4014
|
-
var actionBarSlotRecipe =
|
4539
|
+
var actionBarSlotRecipe = defineSlotRecipe17({
|
4015
4540
|
className: "chakra-action-bar",
|
4016
4541
|
slots: actionBarAnatomy.keys(),
|
4017
4542
|
base: {
|
@@ -4067,9 +4592,9 @@ var actionBarSlotRecipe = defineSlotRecipe14({
|
|
4067
4592
|
});
|
4068
4593
|
|
4069
4594
|
// src/theme/recipes/chakra/alert.ts
|
4070
|
-
import { defineSlotRecipe as
|
4595
|
+
import { defineSlotRecipe as defineSlotRecipe18 } from "@chakra-ui/react";
|
4071
4596
|
import { alertAnatomy } from "@chakra-ui/react/anatomy";
|
4072
|
-
var alertSlotRecipe =
|
4597
|
+
var alertSlotRecipe = defineSlotRecipe18({
|
4073
4598
|
slots: alertAnatomy.keys(),
|
4074
4599
|
className: "chakra-alert",
|
4075
4600
|
base: {
|
@@ -4216,9 +4741,9 @@ var alertSlotRecipe = defineSlotRecipe15({
|
|
4216
4741
|
});
|
4217
4742
|
|
4218
4743
|
// src/theme/recipes/chakra/blockquote.ts
|
4219
|
-
import { defineSlotRecipe as
|
4744
|
+
import { defineSlotRecipe as defineSlotRecipe19 } from "@chakra-ui/react";
|
4220
4745
|
import { blockquoteAnatomy } from "@chakra-ui/react/anatomy";
|
4221
|
-
var blockquoteSlotRecipe =
|
4746
|
+
var blockquoteSlotRecipe = defineSlotRecipe19({
|
4222
4747
|
className: "chakra-blockquote",
|
4223
4748
|
slots: blockquoteAnatomy.keys(),
|
4224
4749
|
base: {
|
@@ -4295,9 +4820,9 @@ var blockquoteSlotRecipe = defineSlotRecipe16({
|
|
4295
4820
|
});
|
4296
4821
|
|
4297
4822
|
// src/theme/recipes/chakra/breadcrumb.ts
|
4298
|
-
import { defineSlotRecipe as
|
4823
|
+
import { defineSlotRecipe as defineSlotRecipe20 } from "@chakra-ui/react";
|
4299
4824
|
import { breadcrumbAnatomy } from "@chakra-ui/react/anatomy";
|
4300
|
-
var breadcrumbSlotRecipe =
|
4825
|
+
var breadcrumbSlotRecipe = defineSlotRecipe20({
|
4301
4826
|
className: "chakra-breadcrumb",
|
4302
4827
|
slots: breadcrumbAnatomy.keys(),
|
4303
4828
|
base: {
|
@@ -4387,9 +4912,9 @@ var breadcrumbSlotRecipe = defineSlotRecipe17({
|
|
4387
4912
|
});
|
4388
4913
|
|
4389
4914
|
// src/theme/recipes/chakra/card.ts
|
4390
|
-
import { defineSlotRecipe as
|
4915
|
+
import { defineSlotRecipe as defineSlotRecipe21 } from "@chakra-ui/react";
|
4391
4916
|
import { cardAnatomy } from "@chakra-ui/react/anatomy";
|
4392
|
-
var cardSlotRecipe =
|
4917
|
+
var cardSlotRecipe = defineSlotRecipe21({
|
4393
4918
|
className: "chakra-card",
|
4394
4919
|
slots: cardAnatomy.keys(),
|
4395
4920
|
base: {
|
@@ -4509,10 +5034,10 @@ var cardSlotRecipe = defineSlotRecipe18({
|
|
4509
5034
|
});
|
4510
5035
|
|
4511
5036
|
// src/theme/recipes/chakra/checkbox.ts
|
4512
|
-
import { defineSlotRecipe as
|
5037
|
+
import { defineSlotRecipe as defineSlotRecipe22 } from "@chakra-ui/react";
|
4513
5038
|
import { checkboxAnatomy } from "@chakra-ui/react/anatomy";
|
4514
5039
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
4515
|
-
var checkboxSlotRecipe =
|
5040
|
+
var checkboxSlotRecipe = defineSlotRecipe22({
|
4516
5041
|
slots: checkboxAnatomy.keys(),
|
4517
5042
|
className: "chakra-checkbox",
|
4518
5043
|
base: {
|
@@ -4574,10 +5099,10 @@ var checkboxSlotRecipe = defineSlotRecipe19({
|
|
4574
5099
|
});
|
4575
5100
|
|
4576
5101
|
// src/theme/recipes/chakra/checkbox-card.ts
|
4577
|
-
import { defineSlotRecipe as
|
5102
|
+
import { defineSlotRecipe as defineSlotRecipe23 } from "@chakra-ui/react";
|
4578
5103
|
import { checkboxCardAnatomy } from "@chakra-ui/react/anatomy";
|
4579
5104
|
var _a3, _b2, _c2, _d2, _e2, _f2, _g2;
|
4580
|
-
var checkboxCardSlotRecipe =
|
5105
|
+
var checkboxCardSlotRecipe = defineSlotRecipe23({
|
4581
5106
|
slots: checkboxCardAnatomy.keys(),
|
4582
5107
|
className: "chakra-checkbox-card",
|
4583
5108
|
base: {
|
@@ -4777,9 +5302,9 @@ var checkboxCardSlotRecipe = defineSlotRecipe20({
|
|
4777
5302
|
});
|
4778
5303
|
|
4779
5304
|
// src/theme/recipes/chakra/collapsible.ts
|
4780
|
-
import { defineSlotRecipe as
|
5305
|
+
import { defineSlotRecipe as defineSlotRecipe24 } from "@chakra-ui/react";
|
4781
5306
|
import { collapsibleAnatomy } from "@chakra-ui/react/anatomy";
|
4782
|
-
var collapsibleSlotRecipe =
|
5307
|
+
var collapsibleSlotRecipe = defineSlotRecipe24({
|
4783
5308
|
slots: collapsibleAnatomy.keys(),
|
4784
5309
|
className: "chakra-collapsible",
|
4785
5310
|
base: {
|
@@ -4798,9 +5323,9 @@ var collapsibleSlotRecipe = defineSlotRecipe21({
|
|
4798
5323
|
});
|
4799
5324
|
|
4800
5325
|
// src/theme/recipes/chakra/data-list.ts
|
4801
|
-
import { defineSlotRecipe as
|
5326
|
+
import { defineSlotRecipe as defineSlotRecipe25 } from "@chakra-ui/react";
|
4802
5327
|
import { dataListAnatomy } from "@chakra-ui/react/anatomy";
|
4803
|
-
var dataListSlotRecipe =
|
5328
|
+
var dataListSlotRecipe = defineSlotRecipe25({
|
4804
5329
|
slots: dataListAnatomy.keys(),
|
4805
5330
|
className: "chakra-data-list",
|
4806
5331
|
base: {
|
@@ -4878,7 +5403,7 @@ var dataListSlotRecipe = defineSlotRecipe22({
|
|
4878
5403
|
});
|
4879
5404
|
|
4880
5405
|
// src/theme/recipes/chakra/editable.ts
|
4881
|
-
import { defineSlotRecipe as
|
5406
|
+
import { defineSlotRecipe as defineSlotRecipe26, defineStyle as defineStyle2 } from "@chakra-ui/react";
|
4882
5407
|
import { editableAnatomy } from "@chakra-ui/react/anatomy";
|
4883
5408
|
var sharedStyles = defineStyle2({
|
4884
5409
|
fontSize: "inherit",
|
@@ -4887,7 +5412,7 @@ var sharedStyles = defineStyle2({
|
|
4887
5412
|
bg: "transparent",
|
4888
5413
|
borderRadius: "l2"
|
4889
5414
|
});
|
4890
|
-
var editableSlotRecipe =
|
5415
|
+
var editableSlotRecipe = defineSlotRecipe26({
|
4891
5416
|
slots: editableAnatomy.keys(),
|
4892
5417
|
className: "chakra-editable",
|
4893
5418
|
base: {
|
@@ -4963,9 +5488,9 @@ var editableSlotRecipe = defineSlotRecipe23({
|
|
4963
5488
|
});
|
4964
5489
|
|
4965
5490
|
// src/theme/recipes/chakra/empty-state.ts
|
4966
|
-
import { defineSlotRecipe as
|
5491
|
+
import { defineSlotRecipe as defineSlotRecipe27 } from "@chakra-ui/react";
|
4967
5492
|
import { emptyStateAnatomy } from "@chakra-ui/react/anatomy";
|
4968
|
-
var emptyStateSlotRecipe =
|
5493
|
+
var emptyStateSlotRecipe = defineSlotRecipe27({
|
4969
5494
|
slots: emptyStateAnatomy.keys(),
|
4970
5495
|
className: "chakra-empty-state",
|
4971
5496
|
base: {
|
@@ -5055,9 +5580,9 @@ var emptyStateSlotRecipe = defineSlotRecipe24({
|
|
5055
5580
|
});
|
5056
5581
|
|
5057
5582
|
// src/theme/recipes/chakra/field.ts
|
5058
|
-
import { defineSlotRecipe as
|
5583
|
+
import { defineSlotRecipe as defineSlotRecipe28 } from "@chakra-ui/react";
|
5059
5584
|
import { fieldAnatomy } from "@chakra-ui/react/anatomy";
|
5060
|
-
var fieldSlotRecipe =
|
5585
|
+
var fieldSlotRecipe = defineSlotRecipe28({
|
5061
5586
|
className: "chakra-field",
|
5062
5587
|
slots: fieldAnatomy.keys(),
|
5063
5588
|
base: {
|
@@ -5131,9 +5656,9 @@ var fieldSlotRecipe = defineSlotRecipe25({
|
|
5131
5656
|
});
|
5132
5657
|
|
5133
5658
|
// src/theme/recipes/chakra/file-upload.ts
|
5134
|
-
import { defineSlotRecipe as
|
5659
|
+
import { defineSlotRecipe as defineSlotRecipe29 } from "@chakra-ui/react";
|
5135
5660
|
import { fileUploadAnatomy } from "@chakra-ui/react/anatomy";
|
5136
|
-
var fileUploadSlotRecipe =
|
5661
|
+
var fileUploadSlotRecipe = defineSlotRecipe29({
|
5137
5662
|
className: "chakra-file-upload",
|
5138
5663
|
slots: fileUploadAnatomy.keys(),
|
5139
5664
|
base: {
|
@@ -5227,9 +5752,9 @@ var fileUploadSlotRecipe = defineSlotRecipe26({
|
|
5227
5752
|
});
|
5228
5753
|
|
5229
5754
|
// src/theme/recipes/chakra/hover-card.ts
|
5230
|
-
import { defineSlotRecipe as
|
5755
|
+
import { defineSlotRecipe as defineSlotRecipe30 } from "@chakra-ui/react";
|
5231
5756
|
import { hoverCardAnatomy } from "@chakra-ui/react/anatomy";
|
5232
|
-
var hoverCardSlotRecipe =
|
5757
|
+
var hoverCardSlotRecipe = defineSlotRecipe30({
|
5233
5758
|
className: "chakra-hover-card",
|
5234
5759
|
slots: hoverCardAnatomy.keys(),
|
5235
5760
|
base: {
|
@@ -5294,9 +5819,9 @@ var hoverCardSlotRecipe = defineSlotRecipe27({
|
|
5294
5819
|
});
|
5295
5820
|
|
5296
5821
|
// src/theme/recipes/chakra/list.ts
|
5297
|
-
import { defineSlotRecipe as
|
5822
|
+
import { defineSlotRecipe as defineSlotRecipe31 } from "@chakra-ui/react";
|
5298
5823
|
import { listAnatomy } from "@chakra-ui/react/anatomy";
|
5299
|
-
var listSlotRecipe =
|
5824
|
+
var listSlotRecipe = defineSlotRecipe31({
|
5300
5825
|
className: "chakra-list",
|
5301
5826
|
slots: listAnatomy.keys(),
|
5302
5827
|
base: {
|
@@ -5358,9 +5883,9 @@ var listSlotRecipe = defineSlotRecipe28({
|
|
5358
5883
|
});
|
5359
5884
|
|
5360
5885
|
// src/theme/recipes/chakra/menu.ts
|
5361
|
-
import { defineSlotRecipe as
|
5886
|
+
import { defineSlotRecipe as defineSlotRecipe32 } from "@chakra-ui/react";
|
5362
5887
|
import { menuAnatomy } from "@chakra-ui/react/anatomy";
|
5363
|
-
var menuSlotRecipe =
|
5888
|
+
var menuSlotRecipe = defineSlotRecipe32({
|
5364
5889
|
className: "chakra-menu",
|
5365
5890
|
slots: menuAnatomy.keys(),
|
5366
5891
|
base: {
|
@@ -5481,13 +6006,13 @@ var menuSlotRecipe = defineSlotRecipe29({
|
|
5481
6006
|
});
|
5482
6007
|
|
5483
6008
|
// src/theme/recipes/chakra/native-select.ts
|
5484
|
-
import { defineSlotRecipe as
|
6009
|
+
import { defineSlotRecipe as defineSlotRecipe34 } from "@chakra-ui/react";
|
5485
6010
|
import { nativeSelectAnatomy } from "@chakra-ui/react/anatomy";
|
5486
6011
|
|
5487
6012
|
// src/theme/recipes/chakra/select.ts
|
5488
|
-
import { defineSlotRecipe as
|
6013
|
+
import { defineSlotRecipe as defineSlotRecipe33 } from "@chakra-ui/react";
|
5489
6014
|
import { selectAnatomy } from "@chakra-ui/react/anatomy";
|
5490
|
-
var selectSlotRecipe =
|
6015
|
+
var selectSlotRecipe = defineSlotRecipe33({
|
5491
6016
|
className: "chakra-select",
|
5492
6017
|
slots: selectAnatomy.keys(),
|
5493
6018
|
base: {
|
@@ -5772,7 +6297,7 @@ var selectSlotRecipe = defineSlotRecipe30({
|
|
5772
6297
|
|
5773
6298
|
// src/theme/recipes/chakra/native-select.ts
|
5774
6299
|
var _a4, _b3;
|
5775
|
-
var nativeSelectSlotRecipe =
|
6300
|
+
var nativeSelectSlotRecipe = defineSlotRecipe34({
|
5776
6301
|
className: "chakra-native-select",
|
5777
6302
|
slots: nativeSelectAnatomy.keys(),
|
5778
6303
|
base: {
|
@@ -5905,7 +6430,7 @@ var nativeSelectSlotRecipe = defineSlotRecipe31({
|
|
5905
6430
|
});
|
5906
6431
|
|
5907
6432
|
// src/theme/recipes/chakra/number-input.ts
|
5908
|
-
import { defineSlotRecipe as
|
6433
|
+
import { defineSlotRecipe as defineSlotRecipe35, defineStyle as defineStyle3 } from "@chakra-ui/react";
|
5909
6434
|
import { numberInputAnatomy } from "@chakra-ui/react/anatomy";
|
5910
6435
|
|
5911
6436
|
// src/theme/utils.ts
|
@@ -5949,7 +6474,7 @@ var triggerStyle = defineStyle3({
|
|
5949
6474
|
bg: "bg.emphasized"
|
5950
6475
|
}
|
5951
6476
|
});
|
5952
|
-
var numberInputSlotRecipe =
|
6477
|
+
var numberInputSlotRecipe = defineSlotRecipe35({
|
5953
6478
|
className: "chakra-number-input",
|
5954
6479
|
slots: numberInputAnatomy.keys(),
|
5955
6480
|
base: {
|
@@ -6034,10 +6559,10 @@ var numberInputSlotRecipe = defineSlotRecipe32({
|
|
6034
6559
|
});
|
6035
6560
|
|
6036
6561
|
// src/theme/recipes/chakra/pin-input.ts
|
6037
|
-
import { defineSlotRecipe as
|
6562
|
+
import { defineSlotRecipe as defineSlotRecipe36 } from "@chakra-ui/react";
|
6038
6563
|
import { pinInputAnatomy } from "@chakra-ui/react/anatomy";
|
6039
6564
|
var { variants: variants2, defaultVariants: defaultVariants2 } = inputRecipe;
|
6040
|
-
var pinInputSlotRecipe =
|
6565
|
+
var pinInputSlotRecipe = defineSlotRecipe36({
|
6041
6566
|
className: "chakra-pin-input",
|
6042
6567
|
slots: pinInputAnatomy.keys(),
|
6043
6568
|
base: {
|
@@ -6066,9 +6591,9 @@ var pinInputSlotRecipe = defineSlotRecipe33({
|
|
6066
6591
|
});
|
6067
6592
|
|
6068
6593
|
// src/theme/recipes/chakra/popover.ts
|
6069
|
-
import { defineSlotRecipe as
|
6594
|
+
import { defineSlotRecipe as defineSlotRecipe37 } from "@chakra-ui/react";
|
6070
6595
|
import { popoverAnatomy } from "@chakra-ui/react/anatomy";
|
6071
|
-
var popoverSlotRecipe =
|
6596
|
+
var popoverSlotRecipe = defineSlotRecipe37({
|
6072
6597
|
className: "chakra-popover",
|
6073
6598
|
slots: popoverAnatomy.keys(),
|
6074
6599
|
base: {
|
@@ -6153,9 +6678,9 @@ var popoverSlotRecipe = defineSlotRecipe34({
|
|
6153
6678
|
});
|
6154
6679
|
|
6155
6680
|
// src/theme/recipes/chakra/progress.ts
|
6156
|
-
import { defineSlotRecipe as
|
6681
|
+
import { defineSlotRecipe as defineSlotRecipe38 } from "@chakra-ui/react";
|
6157
6682
|
import { progressAnatomy } from "@chakra-ui/react/anatomy";
|
6158
|
-
var progressSlotRecipe =
|
6683
|
+
var progressSlotRecipe = defineSlotRecipe38({
|
6159
6684
|
slots: progressAnatomy.keys(),
|
6160
6685
|
className: "chakra-progress",
|
6161
6686
|
base: {
|
@@ -6275,9 +6800,9 @@ var progressSlotRecipe = defineSlotRecipe35({
|
|
6275
6800
|
});
|
6276
6801
|
|
6277
6802
|
// src/theme/recipes/chakra/progress-circle.ts
|
6278
|
-
import { defineSlotRecipe as
|
6803
|
+
import { defineSlotRecipe as defineSlotRecipe39 } from "@chakra-ui/react";
|
6279
6804
|
import { progressAnatomy as progressAnatomy2 } from "@chakra-ui/react/anatomy";
|
6280
|
-
var progressCircleSlotRecipe =
|
6805
|
+
var progressCircleSlotRecipe = defineSlotRecipe39({
|
6281
6806
|
className: "chakra-progress-circle",
|
6282
6807
|
slots: progressAnatomy2.keys(),
|
6283
6808
|
base: {
|
@@ -6368,10 +6893,10 @@ var progressCircleSlotRecipe = defineSlotRecipe36({
|
|
6368
6893
|
});
|
6369
6894
|
|
6370
6895
|
// src/theme/recipes/chakra/radio-card.ts
|
6371
|
-
import { defineSlotRecipe as
|
6896
|
+
import { defineSlotRecipe as defineSlotRecipe40 } from "@chakra-ui/react";
|
6372
6897
|
import { radioCardAnatomy } from "@chakra-ui/react/anatomy";
|
6373
6898
|
var _a5, _b4, _c3, _d3, _e3, _f3, _g3;
|
6374
|
-
var radioCardSlotRecipe =
|
6899
|
+
var radioCardSlotRecipe = defineSlotRecipe40({
|
6375
6900
|
className: "chakra-radio-card",
|
6376
6901
|
slots: radioCardAnatomy.keys(),
|
6377
6902
|
base: {
|
@@ -6579,10 +7104,10 @@ var radioCardSlotRecipe = defineSlotRecipe37({
|
|
6579
7104
|
});
|
6580
7105
|
|
6581
7106
|
// src/theme/recipes/chakra/radio-group.ts
|
6582
|
-
import { defineSlotRecipe as
|
7107
|
+
import { defineSlotRecipe as defineSlotRecipe41 } from "@chakra-ui/react";
|
6583
7108
|
import { radioGroupAnatomy } from "@chakra-ui/react/anatomy";
|
6584
7109
|
var _a6, _b5, _c4, _d4, _e4, _f4, _g4, _h2, _i2, _j2, _k2, _l2, _m2, _n2;
|
6585
|
-
var radioGroupSlotRecipe =
|
7110
|
+
var radioGroupSlotRecipe = defineSlotRecipe41({
|
6586
7111
|
className: "chakra-radio-group",
|
6587
7112
|
slots: radioGroupAnatomy.keys(),
|
6588
7113
|
base: {
|
@@ -6642,9 +7167,9 @@ var radioGroupSlotRecipe = defineSlotRecipe38({
|
|
6642
7167
|
});
|
6643
7168
|
|
6644
7169
|
// src/theme/recipes/chakra/rating-group.ts
|
6645
|
-
import { defineSlotRecipe as
|
7170
|
+
import { defineSlotRecipe as defineSlotRecipe42 } from "@chakra-ui/react";
|
6646
7171
|
import { ratingGroupAnatomy } from "@chakra-ui/react/anatomy";
|
6647
|
-
var ratingGroupSlotRecipe =
|
7172
|
+
var ratingGroupSlotRecipe = defineSlotRecipe42({
|
6648
7173
|
className: "chakra-rating-group",
|
6649
7174
|
slots: ratingGroupAnatomy.keys(),
|
6650
7175
|
base: {
|
@@ -6663,186 +7188,60 @@ var ratingGroupSlotRecipe = defineSlotRecipe39({
|
|
6663
7188
|
},
|
6664
7189
|
itemIndicator: {
|
6665
7190
|
display: "inline-flex",
|
6666
|
-
alignItems: "center",
|
6667
|
-
justifyContent: "center",
|
6668
|
-
width: "1em",
|
6669
|
-
height: "1em",
|
6670
|
-
position: "relative",
|
6671
|
-
_icon: {
|
6672
|
-
stroke: "currentColor",
|
6673
|
-
width: "100%",
|
6674
|
-
height: "100%",
|
6675
|
-
display: "inline-block",
|
6676
|
-
flexShrink: 0,
|
6677
|
-
position: "absolute",
|
6678
|
-
left: 0,
|
6679
|
-
top: 0
|
6680
|
-
},
|
6681
|
-
"& [data-bg]": {
|
6682
|
-
color: "bg.emphasized"
|
6683
|
-
},
|
6684
|
-
"& [data-fg]": {
|
6685
|
-
color: "transparent"
|
6686
|
-
},
|
6687
|
-
"&[data-highlighted]:not([data-half])": {
|
6688
|
-
"& [data-fg]": {
|
6689
|
-
color: "colorPalette.solid"
|
6690
|
-
}
|
6691
|
-
},
|
6692
|
-
"&[data-half]": {
|
6693
|
-
"& [data-fg]": {
|
6694
|
-
color: "colorPalette.solid",
|
6695
|
-
clipPath: "inset(0 50% 0 0)"
|
6696
|
-
}
|
6697
|
-
}
|
6698
|
-
}
|
6699
|
-
},
|
6700
|
-
variants: {
|
6701
|
-
size: {
|
6702
|
-
xs: {
|
6703
|
-
item: {
|
6704
|
-
textStyle: "sm"
|
6705
|
-
}
|
6706
|
-
},
|
6707
|
-
sm: {
|
6708
|
-
item: {
|
6709
|
-
textStyle: "md"
|
6710
|
-
}
|
6711
|
-
},
|
6712
|
-
md: {
|
6713
|
-
item: {
|
6714
|
-
textStyle: "xl"
|
6715
|
-
}
|
6716
|
-
},
|
6717
|
-
lg: {
|
6718
|
-
item: {
|
6719
|
-
textStyle: "2xl"
|
6720
|
-
}
|
6721
|
-
}
|
6722
|
-
}
|
6723
|
-
},
|
6724
|
-
defaultVariants: {
|
6725
|
-
size: "md"
|
6726
|
-
}
|
6727
|
-
});
|
6728
|
-
|
6729
|
-
// src/theme/recipes/chakra/segment-group.ts
|
6730
|
-
import { defineSlotRecipe as defineSlotRecipe40 } from "@chakra-ui/react";
|
6731
|
-
import { segmentGroupAnatomy } from "@chakra-ui/react/anatomy";
|
6732
|
-
var segmentGroupSlotRecipe = defineSlotRecipe40({
|
6733
|
-
className: "chakra-segment-group",
|
6734
|
-
slots: segmentGroupAnatomy.keys(),
|
6735
|
-
base: {
|
6736
|
-
root: {
|
6737
|
-
"--segment-radius": "radii.md",
|
6738
|
-
borderRadius: "md",
|
6739
|
-
display: "inline-flex",
|
6740
|
-
boxShadow: "inset",
|
6741
|
-
minW: "max-content",
|
6742
|
-
textAlign: "center",
|
6743
|
-
position: "relative",
|
6744
|
-
isolation: "isolate",
|
6745
|
-
bg: "bg.muted",
|
6746
|
-
borderWidth: "1px"
|
6747
|
-
},
|
6748
|
-
item: {
|
6749
|
-
display: "flex",
|
6750
|
-
alignItems: "center",
|
6751
|
-
userSelect: "none",
|
6752
|
-
fontSize: "sm",
|
6753
|
-
position: "relative",
|
6754
|
-
color: "fg.subtle",
|
6755
|
-
cursor: "button",
|
6756
|
-
borderRadius: "var(--segment-radius)",
|
6757
|
-
_disabled: {
|
6758
|
-
opacity: "0.5"
|
6759
|
-
},
|
6760
|
-
_hover: {
|
6761
|
-
color: "fg"
|
6762
|
-
},
|
6763
|
-
"&:has(input:focus-visible)": {
|
6764
|
-
focusRing: "inside",
|
6765
|
-
focusRingWidth: "1px"
|
6766
|
-
},
|
6767
|
-
_before: {
|
6768
|
-
content: '""',
|
7191
|
+
alignItems: "center",
|
7192
|
+
justifyContent: "center",
|
7193
|
+
width: "1em",
|
7194
|
+
height: "1em",
|
7195
|
+
position: "relative",
|
7196
|
+
_icon: {
|
7197
|
+
stroke: "currentColor",
|
7198
|
+
width: "100%",
|
7199
|
+
height: "100%",
|
7200
|
+
display: "inline-block",
|
7201
|
+
flexShrink: 0,
|
6769
7202
|
position: "absolute",
|
6770
|
-
|
6771
|
-
|
6772
|
-
bg: "border",
|
6773
|
-
width: "1px",
|
6774
|
-
transition: "opacity 0.2s"
|
7203
|
+
left: 0,
|
7204
|
+
top: 0
|
6775
7205
|
},
|
6776
|
-
|
6777
|
-
color: "
|
7206
|
+
"& [data-bg]": {
|
7207
|
+
color: "bg.emphasized"
|
6778
7208
|
},
|
6779
|
-
"&
|
6780
|
-
|
6781
|
-
|
7209
|
+
"& [data-fg]": {
|
7210
|
+
color: "transparent"
|
7211
|
+
},
|
7212
|
+
"&[data-highlighted]:not([data-half])": {
|
7213
|
+
"& [data-fg]": {
|
7214
|
+
color: "colorPalette.solid"
|
6782
7215
|
}
|
6783
7216
|
},
|
6784
|
-
"&[data-
|
6785
|
-
|
6786
|
-
|
6787
|
-
|
6788
|
-
|
7217
|
+
"&[data-half]": {
|
7218
|
+
"& [data-fg]": {
|
7219
|
+
color: "colorPalette.solid",
|
7220
|
+
clipPath: "inset(0 50% 0 0)"
|
7221
|
+
}
|
6789
7222
|
}
|
6790
|
-
},
|
6791
|
-
indicator: {
|
6792
|
-
shadow: "sm",
|
6793
|
-
pos: "absolute",
|
6794
|
-
bg: {
|
6795
|
-
base: "bg",
|
6796
|
-
_dark: "bg.emphasized"
|
6797
|
-
},
|
6798
|
-
width: "var(--width)",
|
6799
|
-
height: "var(--height)",
|
6800
|
-
top: "var(--top)",
|
6801
|
-
left: "var(--left)",
|
6802
|
-
zIndex: -1,
|
6803
|
-
borderRadius: "var(--segment-radius)"
|
6804
7223
|
}
|
6805
7224
|
},
|
6806
7225
|
variants: {
|
6807
7226
|
size: {
|
6808
7227
|
xs: {
|
6809
|
-
root: {
|
6810
|
-
height: "6"
|
6811
|
-
},
|
6812
7228
|
item: {
|
6813
|
-
textStyle: "
|
6814
|
-
px: "3",
|
6815
|
-
gap: "1"
|
7229
|
+
textStyle: "sm"
|
6816
7230
|
}
|
6817
7231
|
},
|
6818
7232
|
sm: {
|
6819
|
-
root: {
|
6820
|
-
height: "7"
|
6821
|
-
},
|
6822
7233
|
item: {
|
6823
|
-
textStyle: "
|
6824
|
-
px: "4",
|
6825
|
-
gap: "2"
|
7234
|
+
textStyle: "md"
|
6826
7235
|
}
|
6827
7236
|
},
|
6828
7237
|
md: {
|
6829
|
-
root: {
|
6830
|
-
height: "8"
|
6831
|
-
},
|
6832
7238
|
item: {
|
6833
|
-
textStyle: "
|
6834
|
-
px: "4",
|
6835
|
-
gap: "2"
|
7239
|
+
textStyle: "xl"
|
6836
7240
|
}
|
6837
7241
|
},
|
6838
7242
|
lg: {
|
6839
|
-
root: {
|
6840
|
-
height: "10"
|
6841
|
-
},
|
6842
7243
|
item: {
|
6843
|
-
textStyle: "
|
6844
|
-
px: "5",
|
6845
|
-
gap: "3"
|
7244
|
+
textStyle: "2xl"
|
6846
7245
|
}
|
6847
7246
|
}
|
6848
7247
|
}
|
@@ -6853,9 +7252,9 @@ var segmentGroupSlotRecipe = defineSlotRecipe40({
|
|
6853
7252
|
});
|
6854
7253
|
|
6855
7254
|
// src/theme/recipes/chakra/slider.ts
|
6856
|
-
import { defineSlotRecipe as
|
7255
|
+
import { defineSlotRecipe as defineSlotRecipe43 } from "@chakra-ui/react";
|
6857
7256
|
import { sliderAnatomy } from "@chakra-ui/react/anatomy";
|
6858
|
-
var sliderSlotRecipe =
|
7257
|
+
var sliderSlotRecipe = defineSlotRecipe43({
|
6859
7258
|
className: "chakra-slider",
|
6860
7259
|
slots: sliderAnatomy.keys(),
|
6861
7260
|
base: {
|
@@ -7030,9 +7429,9 @@ var sliderSlotRecipe = defineSlotRecipe41({
|
|
7030
7429
|
});
|
7031
7430
|
|
7032
7431
|
// src/theme/recipes/chakra/stat.ts
|
7033
|
-
import { defineSlotRecipe as
|
7432
|
+
import { defineSlotRecipe as defineSlotRecipe44 } from "@chakra-ui/react";
|
7034
7433
|
import { statAnatomy } from "@chakra-ui/react/anatomy";
|
7035
|
-
var statSlotRecipe =
|
7434
|
+
var statSlotRecipe = defineSlotRecipe44({
|
7036
7435
|
className: "chakra-stat",
|
7037
7436
|
slots: statAnatomy.keys(),
|
7038
7437
|
base: {
|
@@ -7108,9 +7507,9 @@ var statSlotRecipe = defineSlotRecipe42({
|
|
7108
7507
|
});
|
7109
7508
|
|
7110
7509
|
// src/theme/recipes/chakra/steps.ts
|
7111
|
-
import { defineSlotRecipe as
|
7510
|
+
import { defineSlotRecipe as defineSlotRecipe45 } from "@chakra-ui/react";
|
7112
7511
|
import { stepsAnatomy } from "@chakra-ui/react/anatomy";
|
7113
|
-
var stepsSlotRecipe =
|
7512
|
+
var stepsSlotRecipe = defineSlotRecipe45({
|
7114
7513
|
className: "chakra-steps",
|
7115
7514
|
slots: stepsAnatomy.keys(),
|
7116
7515
|
base: {
|
@@ -7323,9 +7722,9 @@ var stepsSlotRecipe = defineSlotRecipe43({
|
|
7323
7722
|
});
|
7324
7723
|
|
7325
7724
|
// src/theme/recipes/chakra/switch.ts
|
7326
|
-
import { defineSlotRecipe as
|
7725
|
+
import { defineSlotRecipe as defineSlotRecipe46 } from "@chakra-ui/react";
|
7327
7726
|
import { switchAnatomy } from "@chakra-ui/react/anatomy";
|
7328
|
-
var switchSlotRecipe =
|
7727
|
+
var switchSlotRecipe = defineSlotRecipe46({
|
7329
7728
|
slots: switchAnatomy.keys(),
|
7330
7729
|
className: "chakra-switch",
|
7331
7730
|
base: {
|
@@ -7481,9 +7880,9 @@ var switchSlotRecipe = defineSlotRecipe44({
|
|
7481
7880
|
});
|
7482
7881
|
|
7483
7882
|
// src/theme/recipes/chakra/table.ts
|
7484
|
-
import { defineSlotRecipe as
|
7883
|
+
import { defineSlotRecipe as defineSlotRecipe47 } from "@chakra-ui/react";
|
7485
7884
|
import { tableAnatomy } from "@chakra-ui/react/anatomy";
|
7486
|
-
var tableSlotRecipe =
|
7885
|
+
var tableSlotRecipe = defineSlotRecipe47({
|
7487
7886
|
className: "chakra-table",
|
7488
7887
|
slots: tableAnatomy.keys(),
|
7489
7888
|
base: {
|
@@ -7569,355 +7968,84 @@ var tableSlotRecipe = defineSlotRecipe45({
|
|
7569
7968
|
},
|
7570
7969
|
cell: {
|
7571
7970
|
borderBottomWidth: "1px"
|
7572
|
-
},
|
7573
|
-
row: {
|
7574
|
-
bg: "bg"
|
7575
|
-
}
|
7576
|
-
},
|
7577
|
-
outline: {
|
7578
|
-
root: {
|
7579
|
-
boxShadow: "0 0 0 1px {colors.border}",
|
7580
|
-
overflow: "hidden"
|
7581
|
-
},
|
7582
|
-
columnHeader: {
|
7583
|
-
borderBottomWidth: "1px"
|
7584
|
-
},
|
7585
|
-
header: {
|
7586
|
-
bg: "bg.muted"
|
7587
|
-
},
|
7588
|
-
row: {
|
7589
|
-
"&:not(:last-of-type)": {
|
7590
|
-
borderBottomWidth: "1px"
|
7591
|
-
}
|
7592
|
-
},
|
7593
|
-
footer: {
|
7594
|
-
borderTopWidth: "1px"
|
7595
|
-
}
|
7596
|
-
}
|
7597
|
-
},
|
7598
|
-
size: {
|
7599
|
-
sm: {
|
7600
|
-
root: {
|
7601
|
-
textStyle: "sm"
|
7602
|
-
},
|
7603
|
-
columnHeader: {
|
7604
|
-
px: "2",
|
7605
|
-
py: "2"
|
7606
|
-
},
|
7607
|
-
cell: {
|
7608
|
-
px: "2",
|
7609
|
-
py: "2"
|
7610
|
-
}
|
7611
|
-
},
|
7612
|
-
md: {
|
7613
|
-
root: {
|
7614
|
-
textStyle: "sm"
|
7615
|
-
},
|
7616
|
-
columnHeader: {
|
7617
|
-
px: "3",
|
7618
|
-
py: "3"
|
7619
|
-
},
|
7620
|
-
cell: {
|
7621
|
-
px: "3",
|
7622
|
-
py: "3"
|
7623
|
-
}
|
7624
|
-
},
|
7625
|
-
lg: {
|
7626
|
-
root: {
|
7627
|
-
textStyle: "md"
|
7628
|
-
},
|
7629
|
-
columnHeader: {
|
7630
|
-
px: "4",
|
7631
|
-
py: "3"
|
7632
|
-
},
|
7633
|
-
cell: {
|
7634
|
-
px: "4",
|
7635
|
-
py: "3"
|
7636
|
-
}
|
7637
|
-
}
|
7638
|
-
}
|
7639
|
-
},
|
7640
|
-
defaultVariants: {
|
7641
|
-
variant: "line",
|
7642
|
-
size: "md"
|
7643
|
-
}
|
7644
|
-
});
|
7645
|
-
|
7646
|
-
// src/theme/recipes/chakra/tabs.ts
|
7647
|
-
import { defineSlotRecipe as defineSlotRecipe46 } from "@chakra-ui/react";
|
7648
|
-
import { tabsAnatomy } from "@chakra-ui/react/anatomy";
|
7649
|
-
var tabsSlotRecipe = defineSlotRecipe46({
|
7650
|
-
slots: tabsAnatomy.keys(),
|
7651
|
-
className: "chakra-tabs",
|
7652
|
-
base: {
|
7653
|
-
root: {
|
7654
|
-
"--tabs-trigger-radius": "radii.l2",
|
7655
|
-
position: "relative",
|
7656
|
-
_horizontal: {
|
7657
|
-
display: "block"
|
7658
|
-
},
|
7659
|
-
_vertical: {
|
7660
|
-
display: "flex"
|
7661
|
-
}
|
7662
|
-
},
|
7663
|
-
list: {
|
7664
|
-
display: "inline-flex",
|
7665
|
-
position: "relative",
|
7666
|
-
isolation: "isolate",
|
7667
|
-
"--tabs-indicator-shadow": "shadows.xs",
|
7668
|
-
"--tabs-indicator-bg": "colors.bg",
|
7669
|
-
minH: "var(--tabs-height)",
|
7670
|
-
_horizontal: {
|
7671
|
-
flexDirection: "row"
|
7672
|
-
},
|
7673
|
-
_vertical: {
|
7674
|
-
flexDirection: "column"
|
7675
|
-
}
|
7676
|
-
},
|
7677
|
-
trigger: {
|
7678
|
-
outline: "0",
|
7679
|
-
minW: "var(--tabs-height)",
|
7680
|
-
height: "var(--tabs-height)",
|
7681
|
-
display: "flex",
|
7682
|
-
alignItems: "center",
|
7683
|
-
fontWeight: "medium",
|
7684
|
-
position: "relative",
|
7685
|
-
cursor: "button",
|
7686
|
-
gap: "2",
|
7687
|
-
_focusVisible: {
|
7688
|
-
zIndex: 1,
|
7689
|
-
focusVisibleRing: "outside"
|
7690
|
-
},
|
7691
|
-
_disabled: {
|
7692
|
-
cursor: "not-allowed",
|
7693
|
-
opacity: 0.5
|
7694
|
-
}
|
7695
|
-
},
|
7696
|
-
content: {
|
7697
|
-
focusVisibleRing: "inside",
|
7698
|
-
_horizontal: {
|
7699
|
-
width: "100%",
|
7700
|
-
pt: "var(--tabs-content-padding)"
|
7701
|
-
},
|
7702
|
-
_vertical: {
|
7703
|
-
height: "100%",
|
7704
|
-
ps: "var(--tabs-content-padding)"
|
7705
|
-
}
|
7706
|
-
},
|
7707
|
-
indicator: {
|
7708
|
-
width: "var(--width)",
|
7709
|
-
height: "var(--height)",
|
7710
|
-
borderRadius: "var(--tabs-indicator-radius)",
|
7711
|
-
bg: "var(--tabs-indicator-bg)",
|
7712
|
-
shadow: "var(--tabs-indicator-shadow)",
|
7713
|
-
zIndex: -1
|
7714
|
-
}
|
7715
|
-
},
|
7716
|
-
variants: {
|
7717
|
-
fitted: {
|
7718
|
-
true: {
|
7719
|
-
list: {
|
7720
|
-
display: "flex"
|
7721
|
-
},
|
7722
|
-
trigger: {
|
7723
|
-
flex: 1,
|
7724
|
-
textAlign: "center",
|
7725
|
-
justifyContent: "center"
|
7726
|
-
}
|
7727
|
-
}
|
7728
|
-
},
|
7729
|
-
justify: {
|
7730
|
-
start: {
|
7731
|
-
list: {
|
7732
|
-
justifyContent: "flex-start"
|
7733
|
-
}
|
7734
|
-
},
|
7735
|
-
center: {
|
7736
|
-
list: {
|
7737
|
-
justifyContent: "center"
|
7971
|
+
},
|
7972
|
+
row: {
|
7973
|
+
bg: "bg"
|
7738
7974
|
}
|
7739
7975
|
},
|
7740
|
-
|
7741
|
-
|
7742
|
-
|
7976
|
+
outline: {
|
7977
|
+
root: {
|
7978
|
+
boxShadow: "0 0 0 1px {colors.border}",
|
7979
|
+
overflow: "hidden"
|
7980
|
+
},
|
7981
|
+
columnHeader: {
|
7982
|
+
borderBottomWidth: "1px"
|
7983
|
+
},
|
7984
|
+
header: {
|
7985
|
+
bg: "bg.muted"
|
7986
|
+
},
|
7987
|
+
row: {
|
7988
|
+
"&:not(:last-of-type)": {
|
7989
|
+
borderBottomWidth: "1px"
|
7990
|
+
}
|
7991
|
+
},
|
7992
|
+
footer: {
|
7993
|
+
borderTopWidth: "1px"
|
7743
7994
|
}
|
7744
7995
|
}
|
7745
7996
|
},
|
7746
7997
|
size: {
|
7747
7998
|
sm: {
|
7748
7999
|
root: {
|
7749
|
-
"--tabs-height": "sizes.9",
|
7750
|
-
"--tabs-content-padding": "spacing.3"
|
7751
|
-
},
|
7752
|
-
trigger: {
|
7753
|
-
py: "1",
|
7754
|
-
px: "3",
|
7755
8000
|
textStyle: "sm"
|
8001
|
+
},
|
8002
|
+
columnHeader: {
|
8003
|
+
px: "2",
|
8004
|
+
py: "2"
|
8005
|
+
},
|
8006
|
+
cell: {
|
8007
|
+
px: "2",
|
8008
|
+
py: "2"
|
7756
8009
|
}
|
7757
8010
|
},
|
7758
8011
|
md: {
|
7759
8012
|
root: {
|
7760
|
-
"--tabs-height": "sizes.10",
|
7761
|
-
"--tabs-content-padding": "spacing.4"
|
7762
|
-
},
|
7763
|
-
trigger: {
|
7764
|
-
py: "2",
|
7765
|
-
px: "4",
|
7766
8013
|
textStyle: "sm"
|
8014
|
+
},
|
8015
|
+
columnHeader: {
|
8016
|
+
px: "3",
|
8017
|
+
py: "3"
|
8018
|
+
},
|
8019
|
+
cell: {
|
8020
|
+
px: "3",
|
8021
|
+
py: "3"
|
7767
8022
|
}
|
7768
8023
|
},
|
7769
8024
|
lg: {
|
7770
8025
|
root: {
|
7771
|
-
"--tabs-height": "sizes.11",
|
7772
|
-
"--tabs-content-padding": "spacing.4.5"
|
7773
|
-
},
|
7774
|
-
trigger: {
|
7775
|
-
py: "2",
|
7776
|
-
px: "4.5",
|
7777
8026
|
textStyle: "md"
|
7778
|
-
}
|
7779
|
-
}
|
7780
|
-
},
|
7781
|
-
variant: {
|
7782
|
-
line: {
|
7783
|
-
list: {
|
7784
|
-
display: "flex",
|
7785
|
-
borderColor: "border",
|
7786
|
-
_horizontal: {
|
7787
|
-
borderBottomWidth: "1px"
|
7788
|
-
},
|
7789
|
-
_vertical: {
|
7790
|
-
borderEndWidth: "1px"
|
7791
|
-
}
|
7792
|
-
},
|
7793
|
-
trigger: {
|
7794
|
-
color: "fg.muted",
|
7795
|
-
_disabled: {
|
7796
|
-
_active: { bg: "initial" }
|
7797
|
-
},
|
7798
|
-
_selected: {
|
7799
|
-
color: "fg",
|
7800
|
-
_horizontal: {
|
7801
|
-
layerStyle: "indicator.bottom",
|
7802
|
-
"--indicator-offset-y": "-1px",
|
7803
|
-
"--indicator-color": "colors.colorPalette.solid"
|
7804
|
-
},
|
7805
|
-
_vertical: {
|
7806
|
-
layerStyle: "indicator.end",
|
7807
|
-
"--indicator-offset-x": "-1px"
|
7808
|
-
}
|
7809
|
-
}
|
7810
|
-
}
|
7811
|
-
},
|
7812
|
-
subtle: {
|
7813
|
-
trigger: {
|
7814
|
-
borderRadius: "var(--tabs-trigger-radius)",
|
7815
|
-
color: "fg.muted",
|
7816
|
-
_selected: {
|
7817
|
-
bg: "colorPalette.subtle",
|
7818
|
-
color: "colorPalette.fg"
|
7819
|
-
}
|
7820
|
-
}
|
7821
|
-
},
|
7822
|
-
enclosed: {
|
7823
|
-
list: {
|
7824
|
-
bg: "bg.muted",
|
7825
|
-
padding: "1",
|
7826
|
-
borderRadius: "l3",
|
7827
|
-
minH: "calc(var(--tabs-height) - 4px)"
|
7828
8027
|
},
|
7829
|
-
|
7830
|
-
|
7831
|
-
|
7832
|
-
borderRadius: "var(--tabs-trigger-radius)",
|
7833
|
-
_selected: {
|
7834
|
-
bg: "bg",
|
7835
|
-
color: "colorPalette.fg",
|
7836
|
-
shadow: "xs"
|
7837
|
-
}
|
7838
|
-
}
|
7839
|
-
},
|
7840
|
-
outline: {
|
7841
|
-
list: {
|
7842
|
-
"--line-thickness": "1px",
|
7843
|
-
"--line-offset": "calc(var(--line-thickness) * -1)",
|
7844
|
-
borderColor: "border",
|
7845
|
-
display: "flex",
|
7846
|
-
_horizontal: {
|
7847
|
-
_before: {
|
7848
|
-
content: '""',
|
7849
|
-
position: "absolute",
|
7850
|
-
bottom: "0px",
|
7851
|
-
width: "100%",
|
7852
|
-
borderBottomWidth: "var(--line-thickness)",
|
7853
|
-
borderBottomColor: "border"
|
7854
|
-
}
|
7855
|
-
},
|
7856
|
-
_vertical: {
|
7857
|
-
_before: {
|
7858
|
-
content: '""',
|
7859
|
-
position: "absolute",
|
7860
|
-
insetInline: "var(--line-offset)",
|
7861
|
-
height: "calc(100% - calc(var(--line-thickness) * 2))",
|
7862
|
-
borderEndWidth: "var(--line-thickness)",
|
7863
|
-
borderEndColor: "border"
|
7864
|
-
}
|
7865
|
-
}
|
8028
|
+
columnHeader: {
|
8029
|
+
px: "4",
|
8030
|
+
py: "3"
|
7866
8031
|
},
|
7867
|
-
|
7868
|
-
|
7869
|
-
|
7870
|
-
borderColor: "transparent",
|
7871
|
-
_selected: {
|
7872
|
-
bg: "currentBg",
|
7873
|
-
color: "colorPalette.fg"
|
7874
|
-
},
|
7875
|
-
_horizontal: {
|
7876
|
-
borderTopRadius: "var(--tabs-trigger-radius)",
|
7877
|
-
marginBottom: "var(--line-offset)",
|
7878
|
-
marginEnd: { _notLast: "var(--line-offset)" },
|
7879
|
-
_selected: {
|
7880
|
-
borderColor: "border",
|
7881
|
-
borderBottomColor: "transparent"
|
7882
|
-
}
|
7883
|
-
},
|
7884
|
-
_vertical: {
|
7885
|
-
borderStartRadius: "var(--tabs-trigger-radius)",
|
7886
|
-
marginEnd: "var(--line-offset)",
|
7887
|
-
marginBottom: { _notLast: "var(--line-offset)" },
|
7888
|
-
_selected: {
|
7889
|
-
borderColor: "border",
|
7890
|
-
borderEndColor: "transparent"
|
7891
|
-
}
|
7892
|
-
}
|
7893
|
-
}
|
7894
|
-
},
|
7895
|
-
plain: {
|
7896
|
-
trigger: {
|
7897
|
-
color: "fg.muted",
|
7898
|
-
_selected: {
|
7899
|
-
color: "colorPalette.fg"
|
7900
|
-
},
|
7901
|
-
borderRadius: "var(--tabs-trigger-radius)",
|
7902
|
-
"&[data-selected][data-ssr]": {
|
7903
|
-
bg: "var(--tabs-indicator-bg)",
|
7904
|
-
shadow: "var(--tabs-indicator-shadow)",
|
7905
|
-
borderRadius: "var(--tabs-indicator-radius)"
|
7906
|
-
}
|
8032
|
+
cell: {
|
8033
|
+
px: "4",
|
8034
|
+
py: "3"
|
7907
8035
|
}
|
7908
8036
|
}
|
7909
8037
|
}
|
7910
8038
|
},
|
7911
8039
|
defaultVariants: {
|
7912
|
-
|
7913
|
-
|
8040
|
+
variant: "line",
|
8041
|
+
size: "md"
|
7914
8042
|
}
|
7915
8043
|
});
|
7916
8044
|
|
7917
8045
|
// src/theme/recipes/chakra/timeline.ts
|
7918
|
-
import { defineSlotRecipe as
|
8046
|
+
import { defineSlotRecipe as defineSlotRecipe48 } from "@chakra-ui/react";
|
7919
8047
|
import { timelineAnatomy } from "@chakra-ui/react/anatomy";
|
7920
|
-
var timelineSlotRecipe =
|
8048
|
+
var timelineSlotRecipe = defineSlotRecipe48({
|
7921
8049
|
slots: timelineAnatomy.keys(),
|
7922
8050
|
className: "chakra-timeline",
|
7923
8051
|
base: {
|
@@ -8050,102 +8178,6 @@ var timelineSlotRecipe = defineSlotRecipe47({
|
|
8050
8178
|
}
|
8051
8179
|
});
|
8052
8180
|
|
8053
|
-
// src/theme/recipes/chakra/toast.ts
|
8054
|
-
import { defineSlotRecipe as defineSlotRecipe48 } from "@chakra-ui/react";
|
8055
|
-
import { toastAnatomy } from "@chakra-ui/react/anatomy";
|
8056
|
-
var toastSlotRecipe = defineSlotRecipe48({
|
8057
|
-
slots: toastAnatomy.keys(),
|
8058
|
-
className: "chakra-toast",
|
8059
|
-
base: {
|
8060
|
-
root: {
|
8061
|
-
width: "full",
|
8062
|
-
display: "flex",
|
8063
|
-
alignItems: "flex-start",
|
8064
|
-
position: "relative",
|
8065
|
-
gap: "3",
|
8066
|
-
py: "4",
|
8067
|
-
ps: "4",
|
8068
|
-
pe: "6",
|
8069
|
-
borderRadius: "l2",
|
8070
|
-
translate: "var(--x) var(--y)",
|
8071
|
-
scale: "var(--scale)",
|
8072
|
-
zIndex: "var(--z-index)",
|
8073
|
-
height: "var(--height)",
|
8074
|
-
opacity: "var(--opacity)",
|
8075
|
-
willChange: "translate, opacity, scale",
|
8076
|
-
transition: "translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",
|
8077
|
-
transitionTimingFunction: "cubic-bezier(0.21, 1.02, 0.73, 1)",
|
8078
|
-
_closed: {
|
8079
|
-
transition: "translate 400ms, scale 400ms, opacity 200ms",
|
8080
|
-
transitionTimingFunction: "cubic-bezier(0.06, 0.71, 0.55, 1)"
|
8081
|
-
},
|
8082
|
-
bg: "bg.panel",
|
8083
|
-
color: "fg",
|
8084
|
-
boxShadow: "xl",
|
8085
|
-
"--toast-trigger-bg": "colors.bg.muted",
|
8086
|
-
"&[data-type=warning]": {
|
8087
|
-
bg: "orange.solid",
|
8088
|
-
color: "orange.contrast",
|
8089
|
-
"--toast-trigger-bg": "{white/10}",
|
8090
|
-
"--toast-border-color": "{white/40}"
|
8091
|
-
},
|
8092
|
-
"&[data-type=success]": {
|
8093
|
-
bg: "green.solid",
|
8094
|
-
color: "green.contrast",
|
8095
|
-
"--toast-trigger-bg": "{white/10}",
|
8096
|
-
"--toast-border-color": "{white/40}"
|
8097
|
-
},
|
8098
|
-
"&[data-type=error]": {
|
8099
|
-
bg: "red.solid",
|
8100
|
-
color: "red.contrast",
|
8101
|
-
"--toast-trigger-bg": "{white/10}",
|
8102
|
-
"--toast-border-color": "{white/40}"
|
8103
|
-
}
|
8104
|
-
},
|
8105
|
-
title: {
|
8106
|
-
fontWeight: "medium",
|
8107
|
-
textStyle: "sm",
|
8108
|
-
marginEnd: "2"
|
8109
|
-
},
|
8110
|
-
description: {
|
8111
|
-
display: "inline",
|
8112
|
-
textStyle: "sm",
|
8113
|
-
opacity: "0.8"
|
8114
|
-
},
|
8115
|
-
indicator: {
|
8116
|
-
flexShrink: "0",
|
8117
|
-
boxSize: "5"
|
8118
|
-
},
|
8119
|
-
actionTrigger: {
|
8120
|
-
textStyle: "sm",
|
8121
|
-
fontWeight: "medium",
|
8122
|
-
height: "8",
|
8123
|
-
px: "3",
|
8124
|
-
borderRadius: "l2",
|
8125
|
-
alignSelf: "center",
|
8126
|
-
borderWidth: "1px",
|
8127
|
-
borderColor: "var(--toast-border-color, inherit)",
|
8128
|
-
transition: "background 200ms",
|
8129
|
-
_hover: {
|
8130
|
-
bg: "var(--toast-trigger-bg)"
|
8131
|
-
}
|
8132
|
-
},
|
8133
|
-
closeTrigger: {
|
8134
|
-
position: "absolute",
|
8135
|
-
top: "1",
|
8136
|
-
insetEnd: "1",
|
8137
|
-
padding: "1",
|
8138
|
-
display: "inline-flex",
|
8139
|
-
alignItems: "center",
|
8140
|
-
justifyContent: "center",
|
8141
|
-
color: "{currentColor/60}",
|
8142
|
-
borderRadius: "l2",
|
8143
|
-
textStyle: "md",
|
8144
|
-
transition: "background 200ms"
|
8145
|
-
}
|
8146
|
-
}
|
8147
|
-
});
|
8148
|
-
|
8149
8181
|
// src/theme/recipes/chakra/tooltip.ts
|
8150
8182
|
import { defineSlotRecipe as defineSlotRecipe49 } from "@chakra-ui/react";
|
8151
8183
|
import { tooltipAnatomy } from "@chakra-ui/react/anatomy";
|
@@ -8885,6 +8917,7 @@ export {
|
|
8885
8917
|
Checkbox,
|
8886
8918
|
CloseButton,
|
8887
8919
|
Command,
|
8920
|
+
DataList,
|
8888
8921
|
namespace_exports as Dialog,
|
8889
8922
|
namespace_exports2 as Drawer,
|
8890
8923
|
EmptyState,
|
@@ -8914,6 +8947,7 @@ export {
|
|
8914
8947
|
SuiContext,
|
8915
8948
|
SuiProvider,
|
8916
8949
|
Switch,
|
8950
|
+
Tabs,
|
8917
8951
|
Tag,
|
8918
8952
|
Toaster,
|
8919
8953
|
Tooltip,
|
@@ -8922,10 +8956,13 @@ export {
|
|
8922
8956
|
defaultPresenceOptions,
|
8923
8957
|
defaultSystem,
|
8924
8958
|
toast,
|
8959
|
+
useDataListStyles,
|
8925
8960
|
useLink,
|
8926
8961
|
useLoadingOverlayStyles,
|
8927
8962
|
useSidebar,
|
8928
8963
|
useSidebarItemStyles,
|
8929
8964
|
useSidebarStyles,
|
8930
|
-
useSui
|
8965
|
+
useSui,
|
8966
|
+
useTabsContext,
|
8967
|
+
useTabsStyles
|
8931
8968
|
};
|