@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.js
CHANGED
@@ -1,9 +1,23 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
} from "./chunk-
|
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";
|
10
|
+
import {
|
11
|
+
Status
|
12
|
+
} from "./chunk-YKSY7UOM.js";
|
13
|
+
import {
|
14
|
+
steps_exports
|
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,49 +27,40 @@ import {
|
|
13
27
|
import {
|
14
28
|
Toaster,
|
15
29
|
toast
|
16
|
-
} from "./chunk-
|
17
|
-
import {
|
18
|
-
Tooltip
|
19
|
-
} from "./chunk-QSNSWCTM.js";
|
20
|
-
import {
|
21
|
-
steps_exports
|
22
|
-
} from "./chunk-VZG7EJ64.js";
|
30
|
+
} from "./chunk-RLIAFHVM.js";
|
23
31
|
import {
|
24
|
-
|
25
|
-
} from "./chunk-
|
32
|
+
pagination_exports
|
33
|
+
} from "./chunk-MLJN6IOJ.js";
|
26
34
|
import {
|
27
|
-
|
28
|
-
} from "./chunk-
|
35
|
+
PasswordInput
|
36
|
+
} from "./chunk-CD2JUFI2.js";
|
29
37
|
import {
|
30
|
-
|
31
|
-
|
38
|
+
Radio,
|
39
|
+
RadioGroup
|
40
|
+
} from "./chunk-WYLMBMAH.js";
|
32
41
|
import {
|
33
42
|
Persona,
|
34
43
|
PersonaAvatar,
|
35
44
|
defaultPresenceOptions
|
36
45
|
} from "./chunk-GWC5GCMW.js";
|
37
|
-
import {
|
38
|
-
Radio,
|
39
|
-
RadioGroup
|
40
|
-
} from "./chunk-WYLMBMAH.js";
|
41
|
-
import {
|
42
|
-
SegmentedControl
|
43
|
-
} from "./chunk-SKXSBAOS.js";
|
44
46
|
import {
|
45
47
|
SearchInput
|
46
48
|
} from "./chunk-46ISJZBS.js";
|
47
49
|
import {
|
48
50
|
namespace_exports as namespace_exports3
|
49
|
-
} from "./chunk-
|
51
|
+
} from "./chunk-3JZ42NYM.js";
|
50
52
|
import {
|
51
|
-
|
52
|
-
} from "./chunk-
|
53
|
+
SegmentedControl
|
54
|
+
} from "./chunk-SKXSBAOS.js";
|
53
55
|
import {
|
54
|
-
|
55
|
-
|
56
|
+
sidebar_exports,
|
57
|
+
useSidebar,
|
58
|
+
useSidebarItemStyles,
|
59
|
+
useSidebarStyles
|
60
|
+
} from "./chunk-U23VDAWJ.js";
|
56
61
|
import {
|
57
|
-
|
58
|
-
} from "./chunk-
|
62
|
+
IconBadge
|
63
|
+
} from "./chunk-I2RXEKTB.js";
|
59
64
|
import {
|
60
65
|
loading_overlay_exports,
|
61
66
|
useLoadingOverlayStyles
|
@@ -67,46 +72,51 @@ import {
|
|
67
72
|
Link
|
68
73
|
} from "./chunk-TZBAM4AD.js";
|
69
74
|
import {
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
useSui
|
74
|
-
} from "./chunk-O2WVT2BP.js";
|
75
|
+
menu_exports
|
76
|
+
} from "./chunk-KFXNVUEZ.js";
|
77
|
+
import "./chunk-KTLWEUNW.js";
|
75
78
|
import {
|
76
79
|
NumberInput
|
77
80
|
} from "./chunk-S5J6REMC.js";
|
78
|
-
import {
|
79
|
-
pagination_exports
|
80
|
-
} from "./chunk-MLJN6IOJ.js";
|
81
|
-
import {
|
82
|
-
PasswordInput
|
83
|
-
} from "./chunk-CD2JUFI2.js";
|
84
81
|
import {
|
85
82
|
InputGroup
|
86
83
|
} from "./chunk-PKI6YH2V.js";
|
84
|
+
import {
|
85
|
+
navbar_exports
|
86
|
+
} from "./chunk-Q6SNJJO2.js";
|
87
|
+
import {
|
88
|
+
SuiContext,
|
89
|
+
SuiProvider,
|
90
|
+
useLink,
|
91
|
+
useSui
|
92
|
+
} from "./chunk-O2WVT2BP.js";
|
87
93
|
import {
|
88
94
|
Command
|
89
95
|
} from "./chunk-UASXI64E.js";
|
96
|
+
import {
|
97
|
+
DataList,
|
98
|
+
useDataListStyles
|
99
|
+
} from "./chunk-52XM5VXJ.js";
|
90
100
|
import {
|
91
101
|
namespace_exports
|
92
|
-
} from "./chunk-
|
102
|
+
} from "./chunk-OIOBGO3Y.js";
|
93
103
|
import {
|
94
104
|
EmptyState
|
95
105
|
} from "./chunk-FJFNGSPL.js";
|
96
106
|
import {
|
97
107
|
namespace_exports as namespace_exports2
|
98
|
-
} from "./chunk-
|
108
|
+
} from "./chunk-3Y67QIZ7.js";
|
109
|
+
import "./chunk-JMYI6YXR.js";
|
99
110
|
import {
|
100
111
|
CloseButton
|
101
|
-
} from "./chunk-
|
112
|
+
} from "./chunk-YXGJOOMM.js";
|
113
|
+
import "./chunk-4TPVIHNO.js";
|
102
114
|
import {
|
103
115
|
grid_list_exports
|
104
116
|
} from "./chunk-NSD5HRIP.js";
|
105
|
-
import "./chunk-KTLWEUNW.js";
|
106
|
-
import "./chunk-4TPVIHNO.js";
|
107
117
|
import {
|
108
|
-
|
109
|
-
} from "./chunk-
|
118
|
+
IconButton
|
119
|
+
} from "./chunk-MS2ELLDY.js";
|
110
120
|
import {
|
111
121
|
AppShell
|
112
122
|
} from "./chunk-6ZNR6N2K.js";
|
@@ -115,12 +125,12 @@ import {
|
|
115
125
|
Avatar,
|
116
126
|
AvatarGroup
|
117
127
|
} from "./chunk-JO4WJVYO.js";
|
118
|
-
import {
|
119
|
-
Badge
|
120
|
-
} from "./chunk-INV6RT5B.js";
|
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";
|
@@ -1609,6 +1619,20 @@ var semanticColors = defineSemanticTokens.colors({
|
|
1609
1619
|
value: { _light: "{colors.gray.400}", _dark: "{colors.gray.400}" }
|
1610
1620
|
}
|
1611
1621
|
},
|
1622
|
+
status: {
|
1623
|
+
success: {
|
1624
|
+
value: { _light: "{colors.green.500}", _dark: "{colors.green.500}" }
|
1625
|
+
},
|
1626
|
+
error: {
|
1627
|
+
value: { _light: "{colors.red.500}", _dark: "{colors.red.500}" }
|
1628
|
+
},
|
1629
|
+
warning: {
|
1630
|
+
value: { _light: "{colors.orange.500}", _dark: "{colors.orange.500}" }
|
1631
|
+
},
|
1632
|
+
info: {
|
1633
|
+
value: { _light: "{colors.blue.500}", _dark: "{colors.blue.500}" }
|
1634
|
+
}
|
1635
|
+
},
|
1612
1636
|
sidebar: {
|
1613
1637
|
bg: {
|
1614
1638
|
value: { _light: "{colors.gray.100}", _dark: "{colors.gray.900}" }
|
@@ -3329,9 +3353,135 @@ var personaSlotRecipe = defineSlotRecipe8({
|
|
3329
3353
|
}
|
3330
3354
|
});
|
3331
3355
|
|
3332
|
-
// src/components/
|
3356
|
+
// src/components/segmented-control/segment-group.recipe.ts
|
3333
3357
|
import { defineSlotRecipe as defineSlotRecipe9 } from "@chakra-ui/react";
|
3334
|
-
|
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({
|
3335
3485
|
className: "sui-sidebar-nav-item",
|
3336
3486
|
slots: ["item", "button", "endElement"],
|
3337
3487
|
base: {
|
@@ -3416,8 +3566,8 @@ var sidebarNavItemSlotRecipe = defineSlotRecipe9({
|
|
3416
3566
|
});
|
3417
3567
|
|
3418
3568
|
// src/components/sidebar/sidebar.recipe.ts
|
3419
|
-
import { defineSlotRecipe as
|
3420
|
-
var sidebarSlotRecipe =
|
3569
|
+
import { defineSlotRecipe as defineSlotRecipe11 } from "@chakra-ui/react";
|
3570
|
+
var sidebarSlotRecipe = defineSlotRecipe11({
|
3421
3571
|
className: "sui-sidebar",
|
3422
3572
|
slots: [
|
3423
3573
|
"root",
|
@@ -3653,9 +3803,9 @@ var sidebarSlotRecipe = defineSlotRecipe10({
|
|
3653
3803
|
});
|
3654
3804
|
|
3655
3805
|
// src/components/status/status.recipe.ts
|
3656
|
-
import { defineSlotRecipe as
|
3806
|
+
import { defineSlotRecipe as defineSlotRecipe12 } from "@chakra-ui/react";
|
3657
3807
|
import { statusAnatomy } from "@chakra-ui/react/anatomy";
|
3658
|
-
var statusSlotRecipe =
|
3808
|
+
var statusSlotRecipe = defineSlotRecipe12({
|
3659
3809
|
className: "chakra-status",
|
3660
3810
|
slots: statusAnatomy.keys(),
|
3661
3811
|
base: {
|
@@ -3698,23 +3848,320 @@ var statusSlotRecipe = defineSlotRecipe11({
|
|
3698
3848
|
}
|
3699
3849
|
});
|
3700
3850
|
|
3701
|
-
// src/components/
|
3702
|
-
import { defineSlotRecipe as
|
3703
|
-
import {
|
3704
|
-
var
|
3705
|
-
|
3706
|
-
|
3707
|
-
slots: tagAnatomy.keys(),
|
3708
|
-
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",
|
3709
3857
|
base: {
|
3710
3858
|
root: {
|
3711
|
-
colorPalette: "
|
3712
|
-
|
3713
|
-
|
3714
|
-
|
3715
|
-
|
3716
|
-
|
3717
|
-
|
3859
|
+
colorPalette: "gray",
|
3860
|
+
"--tabs-trigger-radius": "radii.md",
|
3861
|
+
position: "relative",
|
3862
|
+
_horizontal: {
|
3863
|
+
display: "block"
|
3864
|
+
},
|
3865
|
+
_vertical: {
|
3866
|
+
display: "flex"
|
3867
|
+
}
|
3868
|
+
},
|
3869
|
+
list: {
|
3870
|
+
display: "inline-flex",
|
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",
|
3718
4165
|
focusVisibleRing: "outside"
|
3719
4166
|
},
|
3720
4167
|
label: {
|
@@ -3750,11 +4197,14 @@ var tagSlotRecipe = defineSlotRecipe12({
|
|
3750
4197
|
justifyContent: "center",
|
3751
4198
|
flexShrink: 0,
|
3752
4199
|
boxSize: "var(--tag-element-size)",
|
4200
|
+
_icon: { boxSize: "80% !important" },
|
3753
4201
|
"&:has([data-scope=avatar])": {
|
3754
4202
|
boxSize: "var(--tag-avatar-size)",
|
3755
4203
|
ms: "var(--tag-element-offset)"
|
3756
4204
|
},
|
3757
|
-
|
4205
|
+
'&:has([class*="status__root"])': {
|
4206
|
+
width: "var(--tag-status-size)"
|
4207
|
+
}
|
3758
4208
|
},
|
3759
4209
|
endElement: {
|
3760
4210
|
flexShrink: 0,
|
@@ -3773,6 +4223,7 @@ var tagSlotRecipe = defineSlotRecipe12({
|
|
3773
4223
|
minH: "5",
|
3774
4224
|
gap: "1",
|
3775
4225
|
"--tag-avatar-size": "spacing.3.5",
|
4226
|
+
"--tag-status-size": "spacing.2",
|
3776
4227
|
"--tag-element-size": "spacing.3.5",
|
3777
4228
|
"--tag-element-offset": "spacing.-0.5"
|
3778
4229
|
},
|
@@ -3786,6 +4237,7 @@ var tagSlotRecipe = defineSlotRecipe12({
|
|
3786
4237
|
minH: "6",
|
3787
4238
|
gap: "1",
|
3788
4239
|
"--tag-avatar-size": "spacing.4",
|
4240
|
+
"--tag-status-size": "spacing.2",
|
3789
4241
|
"--tag-element-size": "spacing.4",
|
3790
4242
|
"--tag-element-offset": "spacing.-1"
|
3791
4243
|
},
|
@@ -3799,6 +4251,7 @@ var tagSlotRecipe = defineSlotRecipe12({
|
|
3799
4251
|
minH: "7",
|
3800
4252
|
gap: "1",
|
3801
4253
|
"--tag-avatar-size": "spacing.5",
|
4254
|
+
"--tag-status-size": "spacing.2",
|
3802
4255
|
"--tag-element-size": "spacing.5",
|
3803
4256
|
"--tag-element-offset": "spacing.-1.5"
|
3804
4257
|
},
|
@@ -3815,11 +4268,12 @@ var tagSlotRecipe = defineSlotRecipe12({
|
|
3815
4268
|
minH: "8",
|
3816
4269
|
gap: "1.5",
|
3817
4270
|
"--tag-avatar-size": "spacing.6",
|
4271
|
+
"--tag-status-size": "spacing.2",
|
3818
4272
|
"--tag-element-size": "spacing.6",
|
3819
4273
|
"--tag-element-offset": "spacing.-2"
|
3820
4274
|
},
|
3821
4275
|
label: {
|
3822
|
-
textStyle: "
|
4276
|
+
textStyle: "md"
|
3823
4277
|
},
|
3824
4278
|
closeTrigger: {
|
3825
4279
|
padding: "3px"
|
@@ -3847,10 +4301,102 @@ var tagSlotRecipe = defineSlotRecipe12({
|
|
3847
4301
|
}
|
3848
4302
|
});
|
3849
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
|
+
|
3850
4396
|
// src/theme/recipes/chakra/accordion.ts
|
3851
|
-
import { defineSlotRecipe as
|
4397
|
+
import { defineSlotRecipe as defineSlotRecipe16 } from "@chakra-ui/react";
|
3852
4398
|
import { accordionAnatomy } from "@chakra-ui/react/anatomy";
|
3853
|
-
var accordionSlotRecipe =
|
4399
|
+
var accordionSlotRecipe = defineSlotRecipe16({
|
3854
4400
|
className: "chakra-accordion",
|
3855
4401
|
slots: accordionAnatomy.keys(),
|
3856
4402
|
base: {
|
@@ -3988,9 +4534,9 @@ var accordionSlotRecipe = defineSlotRecipe13({
|
|
3988
4534
|
});
|
3989
4535
|
|
3990
4536
|
// src/theme/recipes/chakra/action-bar.ts
|
3991
|
-
import { defineSlotRecipe as
|
4537
|
+
import { defineSlotRecipe as defineSlotRecipe17 } from "@chakra-ui/react";
|
3992
4538
|
import { actionBarAnatomy } from "@chakra-ui/react/anatomy";
|
3993
|
-
var actionBarSlotRecipe =
|
4539
|
+
var actionBarSlotRecipe = defineSlotRecipe17({
|
3994
4540
|
className: "chakra-action-bar",
|
3995
4541
|
slots: actionBarAnatomy.keys(),
|
3996
4542
|
base: {
|
@@ -4046,9 +4592,9 @@ var actionBarSlotRecipe = defineSlotRecipe14({
|
|
4046
4592
|
});
|
4047
4593
|
|
4048
4594
|
// src/theme/recipes/chakra/alert.ts
|
4049
|
-
import { defineSlotRecipe as
|
4595
|
+
import { defineSlotRecipe as defineSlotRecipe18 } from "@chakra-ui/react";
|
4050
4596
|
import { alertAnatomy } from "@chakra-ui/react/anatomy";
|
4051
|
-
var alertSlotRecipe =
|
4597
|
+
var alertSlotRecipe = defineSlotRecipe18({
|
4052
4598
|
slots: alertAnatomy.keys(),
|
4053
4599
|
className: "chakra-alert",
|
4054
4600
|
base: {
|
@@ -4195,9 +4741,9 @@ var alertSlotRecipe = defineSlotRecipe15({
|
|
4195
4741
|
});
|
4196
4742
|
|
4197
4743
|
// src/theme/recipes/chakra/blockquote.ts
|
4198
|
-
import { defineSlotRecipe as
|
4744
|
+
import { defineSlotRecipe as defineSlotRecipe19 } from "@chakra-ui/react";
|
4199
4745
|
import { blockquoteAnatomy } from "@chakra-ui/react/anatomy";
|
4200
|
-
var blockquoteSlotRecipe =
|
4746
|
+
var blockquoteSlotRecipe = defineSlotRecipe19({
|
4201
4747
|
className: "chakra-blockquote",
|
4202
4748
|
slots: blockquoteAnatomy.keys(),
|
4203
4749
|
base: {
|
@@ -4274,9 +4820,9 @@ var blockquoteSlotRecipe = defineSlotRecipe16({
|
|
4274
4820
|
});
|
4275
4821
|
|
4276
4822
|
// src/theme/recipes/chakra/breadcrumb.ts
|
4277
|
-
import { defineSlotRecipe as
|
4823
|
+
import { defineSlotRecipe as defineSlotRecipe20 } from "@chakra-ui/react";
|
4278
4824
|
import { breadcrumbAnatomy } from "@chakra-ui/react/anatomy";
|
4279
|
-
var breadcrumbSlotRecipe =
|
4825
|
+
var breadcrumbSlotRecipe = defineSlotRecipe20({
|
4280
4826
|
className: "chakra-breadcrumb",
|
4281
4827
|
slots: breadcrumbAnatomy.keys(),
|
4282
4828
|
base: {
|
@@ -4366,9 +4912,9 @@ var breadcrumbSlotRecipe = defineSlotRecipe17({
|
|
4366
4912
|
});
|
4367
4913
|
|
4368
4914
|
// src/theme/recipes/chakra/card.ts
|
4369
|
-
import { defineSlotRecipe as
|
4915
|
+
import { defineSlotRecipe as defineSlotRecipe21 } from "@chakra-ui/react";
|
4370
4916
|
import { cardAnatomy } from "@chakra-ui/react/anatomy";
|
4371
|
-
var cardSlotRecipe =
|
4917
|
+
var cardSlotRecipe = defineSlotRecipe21({
|
4372
4918
|
className: "chakra-card",
|
4373
4919
|
slots: cardAnatomy.keys(),
|
4374
4920
|
base: {
|
@@ -4488,10 +5034,10 @@ var cardSlotRecipe = defineSlotRecipe18({
|
|
4488
5034
|
});
|
4489
5035
|
|
4490
5036
|
// src/theme/recipes/chakra/checkbox.ts
|
4491
|
-
import { defineSlotRecipe as
|
5037
|
+
import { defineSlotRecipe as defineSlotRecipe22 } from "@chakra-ui/react";
|
4492
5038
|
import { checkboxAnatomy } from "@chakra-ui/react/anatomy";
|
4493
5039
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
4494
|
-
var checkboxSlotRecipe =
|
5040
|
+
var checkboxSlotRecipe = defineSlotRecipe22({
|
4495
5041
|
slots: checkboxAnatomy.keys(),
|
4496
5042
|
className: "chakra-checkbox",
|
4497
5043
|
base: {
|
@@ -4553,10 +5099,10 @@ var checkboxSlotRecipe = defineSlotRecipe19({
|
|
4553
5099
|
});
|
4554
5100
|
|
4555
5101
|
// src/theme/recipes/chakra/checkbox-card.ts
|
4556
|
-
import { defineSlotRecipe as
|
5102
|
+
import { defineSlotRecipe as defineSlotRecipe23 } from "@chakra-ui/react";
|
4557
5103
|
import { checkboxCardAnatomy } from "@chakra-ui/react/anatomy";
|
4558
5104
|
var _a3, _b2, _c2, _d2, _e2, _f2, _g2;
|
4559
|
-
var checkboxCardSlotRecipe =
|
5105
|
+
var checkboxCardSlotRecipe = defineSlotRecipe23({
|
4560
5106
|
slots: checkboxCardAnatomy.keys(),
|
4561
5107
|
className: "chakra-checkbox-card",
|
4562
5108
|
base: {
|
@@ -4756,9 +5302,9 @@ var checkboxCardSlotRecipe = defineSlotRecipe20({
|
|
4756
5302
|
});
|
4757
5303
|
|
4758
5304
|
// src/theme/recipes/chakra/collapsible.ts
|
4759
|
-
import { defineSlotRecipe as
|
5305
|
+
import { defineSlotRecipe as defineSlotRecipe24 } from "@chakra-ui/react";
|
4760
5306
|
import { collapsibleAnatomy } from "@chakra-ui/react/anatomy";
|
4761
|
-
var collapsibleSlotRecipe =
|
5307
|
+
var collapsibleSlotRecipe = defineSlotRecipe24({
|
4762
5308
|
slots: collapsibleAnatomy.keys(),
|
4763
5309
|
className: "chakra-collapsible",
|
4764
5310
|
base: {
|
@@ -4777,9 +5323,9 @@ var collapsibleSlotRecipe = defineSlotRecipe21({
|
|
4777
5323
|
});
|
4778
5324
|
|
4779
5325
|
// src/theme/recipes/chakra/data-list.ts
|
4780
|
-
import { defineSlotRecipe as
|
5326
|
+
import { defineSlotRecipe as defineSlotRecipe25 } from "@chakra-ui/react";
|
4781
5327
|
import { dataListAnatomy } from "@chakra-ui/react/anatomy";
|
4782
|
-
var dataListSlotRecipe =
|
5328
|
+
var dataListSlotRecipe = defineSlotRecipe25({
|
4783
5329
|
slots: dataListAnatomy.keys(),
|
4784
5330
|
className: "chakra-data-list",
|
4785
5331
|
base: {
|
@@ -4857,7 +5403,7 @@ var dataListSlotRecipe = defineSlotRecipe22({
|
|
4857
5403
|
});
|
4858
5404
|
|
4859
5405
|
// src/theme/recipes/chakra/editable.ts
|
4860
|
-
import { defineSlotRecipe as
|
5406
|
+
import { defineSlotRecipe as defineSlotRecipe26, defineStyle as defineStyle2 } from "@chakra-ui/react";
|
4861
5407
|
import { editableAnatomy } from "@chakra-ui/react/anatomy";
|
4862
5408
|
var sharedStyles = defineStyle2({
|
4863
5409
|
fontSize: "inherit",
|
@@ -4866,7 +5412,7 @@ var sharedStyles = defineStyle2({
|
|
4866
5412
|
bg: "transparent",
|
4867
5413
|
borderRadius: "l2"
|
4868
5414
|
});
|
4869
|
-
var editableSlotRecipe =
|
5415
|
+
var editableSlotRecipe = defineSlotRecipe26({
|
4870
5416
|
slots: editableAnatomy.keys(),
|
4871
5417
|
className: "chakra-editable",
|
4872
5418
|
base: {
|
@@ -4942,9 +5488,9 @@ var editableSlotRecipe = defineSlotRecipe23({
|
|
4942
5488
|
});
|
4943
5489
|
|
4944
5490
|
// src/theme/recipes/chakra/empty-state.ts
|
4945
|
-
import { defineSlotRecipe as
|
5491
|
+
import { defineSlotRecipe as defineSlotRecipe27 } from "@chakra-ui/react";
|
4946
5492
|
import { emptyStateAnatomy } from "@chakra-ui/react/anatomy";
|
4947
|
-
var emptyStateSlotRecipe =
|
5493
|
+
var emptyStateSlotRecipe = defineSlotRecipe27({
|
4948
5494
|
slots: emptyStateAnatomy.keys(),
|
4949
5495
|
className: "chakra-empty-state",
|
4950
5496
|
base: {
|
@@ -5034,9 +5580,9 @@ var emptyStateSlotRecipe = defineSlotRecipe24({
|
|
5034
5580
|
});
|
5035
5581
|
|
5036
5582
|
// src/theme/recipes/chakra/field.ts
|
5037
|
-
import { defineSlotRecipe as
|
5583
|
+
import { defineSlotRecipe as defineSlotRecipe28 } from "@chakra-ui/react";
|
5038
5584
|
import { fieldAnatomy } from "@chakra-ui/react/anatomy";
|
5039
|
-
var fieldSlotRecipe =
|
5585
|
+
var fieldSlotRecipe = defineSlotRecipe28({
|
5040
5586
|
className: "chakra-field",
|
5041
5587
|
slots: fieldAnatomy.keys(),
|
5042
5588
|
base: {
|
@@ -5110,9 +5656,9 @@ var fieldSlotRecipe = defineSlotRecipe25({
|
|
5110
5656
|
});
|
5111
5657
|
|
5112
5658
|
// src/theme/recipes/chakra/file-upload.ts
|
5113
|
-
import { defineSlotRecipe as
|
5659
|
+
import { defineSlotRecipe as defineSlotRecipe29 } from "@chakra-ui/react";
|
5114
5660
|
import { fileUploadAnatomy } from "@chakra-ui/react/anatomy";
|
5115
|
-
var fileUploadSlotRecipe =
|
5661
|
+
var fileUploadSlotRecipe = defineSlotRecipe29({
|
5116
5662
|
className: "chakra-file-upload",
|
5117
5663
|
slots: fileUploadAnatomy.keys(),
|
5118
5664
|
base: {
|
@@ -5206,9 +5752,9 @@ var fileUploadSlotRecipe = defineSlotRecipe26({
|
|
5206
5752
|
});
|
5207
5753
|
|
5208
5754
|
// src/theme/recipes/chakra/hover-card.ts
|
5209
|
-
import { defineSlotRecipe as
|
5755
|
+
import { defineSlotRecipe as defineSlotRecipe30 } from "@chakra-ui/react";
|
5210
5756
|
import { hoverCardAnatomy } from "@chakra-ui/react/anatomy";
|
5211
|
-
var hoverCardSlotRecipe =
|
5757
|
+
var hoverCardSlotRecipe = defineSlotRecipe30({
|
5212
5758
|
className: "chakra-hover-card",
|
5213
5759
|
slots: hoverCardAnatomy.keys(),
|
5214
5760
|
base: {
|
@@ -5273,9 +5819,9 @@ var hoverCardSlotRecipe = defineSlotRecipe27({
|
|
5273
5819
|
});
|
5274
5820
|
|
5275
5821
|
// src/theme/recipes/chakra/list.ts
|
5276
|
-
import { defineSlotRecipe as
|
5822
|
+
import { defineSlotRecipe as defineSlotRecipe31 } from "@chakra-ui/react";
|
5277
5823
|
import { listAnatomy } from "@chakra-ui/react/anatomy";
|
5278
|
-
var listSlotRecipe =
|
5824
|
+
var listSlotRecipe = defineSlotRecipe31({
|
5279
5825
|
className: "chakra-list",
|
5280
5826
|
slots: listAnatomy.keys(),
|
5281
5827
|
base: {
|
@@ -5337,9 +5883,9 @@ var listSlotRecipe = defineSlotRecipe28({
|
|
5337
5883
|
});
|
5338
5884
|
|
5339
5885
|
// src/theme/recipes/chakra/menu.ts
|
5340
|
-
import { defineSlotRecipe as
|
5886
|
+
import { defineSlotRecipe as defineSlotRecipe32 } from "@chakra-ui/react";
|
5341
5887
|
import { menuAnatomy } from "@chakra-ui/react/anatomy";
|
5342
|
-
var menuSlotRecipe =
|
5888
|
+
var menuSlotRecipe = defineSlotRecipe32({
|
5343
5889
|
className: "chakra-menu",
|
5344
5890
|
slots: menuAnatomy.keys(),
|
5345
5891
|
base: {
|
@@ -5460,13 +6006,13 @@ var menuSlotRecipe = defineSlotRecipe29({
|
|
5460
6006
|
});
|
5461
6007
|
|
5462
6008
|
// src/theme/recipes/chakra/native-select.ts
|
5463
|
-
import { defineSlotRecipe as
|
6009
|
+
import { defineSlotRecipe as defineSlotRecipe34 } from "@chakra-ui/react";
|
5464
6010
|
import { nativeSelectAnatomy } from "@chakra-ui/react/anatomy";
|
5465
6011
|
|
5466
6012
|
// src/theme/recipes/chakra/select.ts
|
5467
|
-
import { defineSlotRecipe as
|
6013
|
+
import { defineSlotRecipe as defineSlotRecipe33 } from "@chakra-ui/react";
|
5468
6014
|
import { selectAnatomy } from "@chakra-ui/react/anatomy";
|
5469
|
-
var selectSlotRecipe =
|
6015
|
+
var selectSlotRecipe = defineSlotRecipe33({
|
5470
6016
|
className: "chakra-select",
|
5471
6017
|
slots: selectAnatomy.keys(),
|
5472
6018
|
base: {
|
@@ -5751,7 +6297,7 @@ var selectSlotRecipe = defineSlotRecipe30({
|
|
5751
6297
|
|
5752
6298
|
// src/theme/recipes/chakra/native-select.ts
|
5753
6299
|
var _a4, _b3;
|
5754
|
-
var nativeSelectSlotRecipe =
|
6300
|
+
var nativeSelectSlotRecipe = defineSlotRecipe34({
|
5755
6301
|
className: "chakra-native-select",
|
5756
6302
|
slots: nativeSelectAnatomy.keys(),
|
5757
6303
|
base: {
|
@@ -5884,7 +6430,7 @@ var nativeSelectSlotRecipe = defineSlotRecipe31({
|
|
5884
6430
|
});
|
5885
6431
|
|
5886
6432
|
// src/theme/recipes/chakra/number-input.ts
|
5887
|
-
import { defineSlotRecipe as
|
6433
|
+
import { defineSlotRecipe as defineSlotRecipe35, defineStyle as defineStyle3 } from "@chakra-ui/react";
|
5888
6434
|
import { numberInputAnatomy } from "@chakra-ui/react/anatomy";
|
5889
6435
|
|
5890
6436
|
// src/theme/utils.ts
|
@@ -5928,7 +6474,7 @@ var triggerStyle = defineStyle3({
|
|
5928
6474
|
bg: "bg.emphasized"
|
5929
6475
|
}
|
5930
6476
|
});
|
5931
|
-
var numberInputSlotRecipe =
|
6477
|
+
var numberInputSlotRecipe = defineSlotRecipe35({
|
5932
6478
|
className: "chakra-number-input",
|
5933
6479
|
slots: numberInputAnatomy.keys(),
|
5934
6480
|
base: {
|
@@ -6013,10 +6559,10 @@ var numberInputSlotRecipe = defineSlotRecipe32({
|
|
6013
6559
|
});
|
6014
6560
|
|
6015
6561
|
// src/theme/recipes/chakra/pin-input.ts
|
6016
|
-
import { defineSlotRecipe as
|
6562
|
+
import { defineSlotRecipe as defineSlotRecipe36 } from "@chakra-ui/react";
|
6017
6563
|
import { pinInputAnatomy } from "@chakra-ui/react/anatomy";
|
6018
6564
|
var { variants: variants2, defaultVariants: defaultVariants2 } = inputRecipe;
|
6019
|
-
var pinInputSlotRecipe =
|
6565
|
+
var pinInputSlotRecipe = defineSlotRecipe36({
|
6020
6566
|
className: "chakra-pin-input",
|
6021
6567
|
slots: pinInputAnatomy.keys(),
|
6022
6568
|
base: {
|
@@ -6045,9 +6591,9 @@ var pinInputSlotRecipe = defineSlotRecipe33({
|
|
6045
6591
|
});
|
6046
6592
|
|
6047
6593
|
// src/theme/recipes/chakra/popover.ts
|
6048
|
-
import { defineSlotRecipe as
|
6594
|
+
import { defineSlotRecipe as defineSlotRecipe37 } from "@chakra-ui/react";
|
6049
6595
|
import { popoverAnatomy } from "@chakra-ui/react/anatomy";
|
6050
|
-
var popoverSlotRecipe =
|
6596
|
+
var popoverSlotRecipe = defineSlotRecipe37({
|
6051
6597
|
className: "chakra-popover",
|
6052
6598
|
slots: popoverAnatomy.keys(),
|
6053
6599
|
base: {
|
@@ -6132,9 +6678,9 @@ var popoverSlotRecipe = defineSlotRecipe34({
|
|
6132
6678
|
});
|
6133
6679
|
|
6134
6680
|
// src/theme/recipes/chakra/progress.ts
|
6135
|
-
import { defineSlotRecipe as
|
6681
|
+
import { defineSlotRecipe as defineSlotRecipe38 } from "@chakra-ui/react";
|
6136
6682
|
import { progressAnatomy } from "@chakra-ui/react/anatomy";
|
6137
|
-
var progressSlotRecipe =
|
6683
|
+
var progressSlotRecipe = defineSlotRecipe38({
|
6138
6684
|
slots: progressAnatomy.keys(),
|
6139
6685
|
className: "chakra-progress",
|
6140
6686
|
base: {
|
@@ -6254,9 +6800,9 @@ var progressSlotRecipe = defineSlotRecipe35({
|
|
6254
6800
|
});
|
6255
6801
|
|
6256
6802
|
// src/theme/recipes/chakra/progress-circle.ts
|
6257
|
-
import { defineSlotRecipe as
|
6803
|
+
import { defineSlotRecipe as defineSlotRecipe39 } from "@chakra-ui/react";
|
6258
6804
|
import { progressAnatomy as progressAnatomy2 } from "@chakra-ui/react/anatomy";
|
6259
|
-
var progressCircleSlotRecipe =
|
6805
|
+
var progressCircleSlotRecipe = defineSlotRecipe39({
|
6260
6806
|
className: "chakra-progress-circle",
|
6261
6807
|
slots: progressAnatomy2.keys(),
|
6262
6808
|
base: {
|
@@ -6347,10 +6893,10 @@ var progressCircleSlotRecipe = defineSlotRecipe36({
|
|
6347
6893
|
});
|
6348
6894
|
|
6349
6895
|
// src/theme/recipes/chakra/radio-card.ts
|
6350
|
-
import { defineSlotRecipe as
|
6896
|
+
import { defineSlotRecipe as defineSlotRecipe40 } from "@chakra-ui/react";
|
6351
6897
|
import { radioCardAnatomy } from "@chakra-ui/react/anatomy";
|
6352
6898
|
var _a5, _b4, _c3, _d3, _e3, _f3, _g3;
|
6353
|
-
var radioCardSlotRecipe =
|
6899
|
+
var radioCardSlotRecipe = defineSlotRecipe40({
|
6354
6900
|
className: "chakra-radio-card",
|
6355
6901
|
slots: radioCardAnatomy.keys(),
|
6356
6902
|
base: {
|
@@ -6558,10 +7104,10 @@ var radioCardSlotRecipe = defineSlotRecipe37({
|
|
6558
7104
|
});
|
6559
7105
|
|
6560
7106
|
// src/theme/recipes/chakra/radio-group.ts
|
6561
|
-
import { defineSlotRecipe as
|
7107
|
+
import { defineSlotRecipe as defineSlotRecipe41 } from "@chakra-ui/react";
|
6562
7108
|
import { radioGroupAnatomy } from "@chakra-ui/react/anatomy";
|
6563
7109
|
var _a6, _b5, _c4, _d4, _e4, _f4, _g4, _h2, _i2, _j2, _k2, _l2, _m2, _n2;
|
6564
|
-
var radioGroupSlotRecipe =
|
7110
|
+
var radioGroupSlotRecipe = defineSlotRecipe41({
|
6565
7111
|
className: "chakra-radio-group",
|
6566
7112
|
slots: radioGroupAnatomy.keys(),
|
6567
7113
|
base: {
|
@@ -6621,9 +7167,9 @@ var radioGroupSlotRecipe = defineSlotRecipe38({
|
|
6621
7167
|
});
|
6622
7168
|
|
6623
7169
|
// src/theme/recipes/chakra/rating-group.ts
|
6624
|
-
import { defineSlotRecipe as
|
7170
|
+
import { defineSlotRecipe as defineSlotRecipe42 } from "@chakra-ui/react";
|
6625
7171
|
import { ratingGroupAnatomy } from "@chakra-ui/react/anatomy";
|
6626
|
-
var ratingGroupSlotRecipe =
|
7172
|
+
var ratingGroupSlotRecipe = defineSlotRecipe42({
|
6627
7173
|
className: "chakra-rating-group",
|
6628
7174
|
slots: ratingGroupAnatomy.keys(),
|
6629
7175
|
base: {
|
@@ -6642,186 +7188,60 @@ var ratingGroupSlotRecipe = defineSlotRecipe39({
|
|
6642
7188
|
},
|
6643
7189
|
itemIndicator: {
|
6644
7190
|
display: "inline-flex",
|
6645
|
-
alignItems: "center",
|
6646
|
-
justifyContent: "center",
|
6647
|
-
width: "1em",
|
6648
|
-
height: "1em",
|
6649
|
-
position: "relative",
|
6650
|
-
_icon: {
|
6651
|
-
stroke: "currentColor",
|
6652
|
-
width: "100%",
|
6653
|
-
height: "100%",
|
6654
|
-
display: "inline-block",
|
6655
|
-
flexShrink: 0,
|
6656
|
-
position: "absolute",
|
6657
|
-
left: 0,
|
6658
|
-
top: 0
|
6659
|
-
},
|
6660
|
-
"& [data-bg]": {
|
6661
|
-
color: "bg.emphasized"
|
6662
|
-
},
|
6663
|
-
"& [data-fg]": {
|
6664
|
-
color: "transparent"
|
6665
|
-
},
|
6666
|
-
"&[data-highlighted]:not([data-half])": {
|
6667
|
-
"& [data-fg]": {
|
6668
|
-
color: "colorPalette.solid"
|
6669
|
-
}
|
6670
|
-
},
|
6671
|
-
"&[data-half]": {
|
6672
|
-
"& [data-fg]": {
|
6673
|
-
color: "colorPalette.solid",
|
6674
|
-
clipPath: "inset(0 50% 0 0)"
|
6675
|
-
}
|
6676
|
-
}
|
6677
|
-
}
|
6678
|
-
},
|
6679
|
-
variants: {
|
6680
|
-
size: {
|
6681
|
-
xs: {
|
6682
|
-
item: {
|
6683
|
-
textStyle: "sm"
|
6684
|
-
}
|
6685
|
-
},
|
6686
|
-
sm: {
|
6687
|
-
item: {
|
6688
|
-
textStyle: "md"
|
6689
|
-
}
|
6690
|
-
},
|
6691
|
-
md: {
|
6692
|
-
item: {
|
6693
|
-
textStyle: "xl"
|
6694
|
-
}
|
6695
|
-
},
|
6696
|
-
lg: {
|
6697
|
-
item: {
|
6698
|
-
textStyle: "2xl"
|
6699
|
-
}
|
6700
|
-
}
|
6701
|
-
}
|
6702
|
-
},
|
6703
|
-
defaultVariants: {
|
6704
|
-
size: "md"
|
6705
|
-
}
|
6706
|
-
});
|
6707
|
-
|
6708
|
-
// src/theme/recipes/chakra/segment-group.ts
|
6709
|
-
import { defineSlotRecipe as defineSlotRecipe40 } from "@chakra-ui/react";
|
6710
|
-
import { segmentGroupAnatomy } from "@chakra-ui/react/anatomy";
|
6711
|
-
var segmentGroupSlotRecipe = defineSlotRecipe40({
|
6712
|
-
className: "chakra-segment-group",
|
6713
|
-
slots: segmentGroupAnatomy.keys(),
|
6714
|
-
base: {
|
6715
|
-
root: {
|
6716
|
-
"--segment-radius": "radii.md",
|
6717
|
-
borderRadius: "md",
|
6718
|
-
display: "inline-flex",
|
6719
|
-
boxShadow: "inset",
|
6720
|
-
minW: "max-content",
|
6721
|
-
textAlign: "center",
|
6722
|
-
position: "relative",
|
6723
|
-
isolation: "isolate",
|
6724
|
-
bg: "bg.muted",
|
6725
|
-
borderWidth: "1px"
|
6726
|
-
},
|
6727
|
-
item: {
|
6728
|
-
display: "flex",
|
6729
|
-
alignItems: "center",
|
6730
|
-
userSelect: "none",
|
6731
|
-
fontSize: "sm",
|
6732
|
-
position: "relative",
|
6733
|
-
color: "fg.subtle",
|
6734
|
-
cursor: "button",
|
6735
|
-
borderRadius: "var(--segment-radius)",
|
6736
|
-
_disabled: {
|
6737
|
-
opacity: "0.5"
|
6738
|
-
},
|
6739
|
-
_hover: {
|
6740
|
-
color: "fg"
|
6741
|
-
},
|
6742
|
-
"&:has(input:focus-visible)": {
|
6743
|
-
focusRing: "inside",
|
6744
|
-
focusRingWidth: "1px"
|
6745
|
-
},
|
6746
|
-
_before: {
|
6747
|
-
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,
|
6748
7202
|
position: "absolute",
|
6749
|
-
|
6750
|
-
|
6751
|
-
bg: "border",
|
6752
|
-
width: "1px",
|
6753
|
-
transition: "opacity 0.2s"
|
7203
|
+
left: 0,
|
7204
|
+
top: 0
|
6754
7205
|
},
|
6755
|
-
|
6756
|
-
color: "
|
7206
|
+
"& [data-bg]": {
|
7207
|
+
color: "bg.emphasized"
|
6757
7208
|
},
|
6758
|
-
"&
|
6759
|
-
|
6760
|
-
|
7209
|
+
"& [data-fg]": {
|
7210
|
+
color: "transparent"
|
7211
|
+
},
|
7212
|
+
"&[data-highlighted]:not([data-half])": {
|
7213
|
+
"& [data-fg]": {
|
7214
|
+
color: "colorPalette.solid"
|
6761
7215
|
}
|
6762
7216
|
},
|
6763
|
-
"&[data-
|
6764
|
-
|
6765
|
-
|
6766
|
-
|
6767
|
-
|
7217
|
+
"&[data-half]": {
|
7218
|
+
"& [data-fg]": {
|
7219
|
+
color: "colorPalette.solid",
|
7220
|
+
clipPath: "inset(0 50% 0 0)"
|
7221
|
+
}
|
6768
7222
|
}
|
6769
|
-
},
|
6770
|
-
indicator: {
|
6771
|
-
shadow: "sm",
|
6772
|
-
pos: "absolute",
|
6773
|
-
bg: {
|
6774
|
-
base: "bg",
|
6775
|
-
_dark: "bg.emphasized"
|
6776
|
-
},
|
6777
|
-
width: "var(--width)",
|
6778
|
-
height: "var(--height)",
|
6779
|
-
top: "var(--top)",
|
6780
|
-
left: "var(--left)",
|
6781
|
-
zIndex: -1,
|
6782
|
-
borderRadius: "var(--segment-radius)"
|
6783
7223
|
}
|
6784
7224
|
},
|
6785
7225
|
variants: {
|
6786
7226
|
size: {
|
6787
7227
|
xs: {
|
6788
|
-
root: {
|
6789
|
-
height: "6"
|
6790
|
-
},
|
6791
7228
|
item: {
|
6792
|
-
textStyle: "
|
6793
|
-
px: "3",
|
6794
|
-
gap: "1"
|
7229
|
+
textStyle: "sm"
|
6795
7230
|
}
|
6796
7231
|
},
|
6797
7232
|
sm: {
|
6798
|
-
root: {
|
6799
|
-
height: "7"
|
6800
|
-
},
|
6801
7233
|
item: {
|
6802
|
-
textStyle: "
|
6803
|
-
px: "4",
|
6804
|
-
gap: "2"
|
7234
|
+
textStyle: "md"
|
6805
7235
|
}
|
6806
7236
|
},
|
6807
7237
|
md: {
|
6808
|
-
root: {
|
6809
|
-
height: "8"
|
6810
|
-
},
|
6811
7238
|
item: {
|
6812
|
-
textStyle: "
|
6813
|
-
px: "4",
|
6814
|
-
gap: "2"
|
7239
|
+
textStyle: "xl"
|
6815
7240
|
}
|
6816
7241
|
},
|
6817
7242
|
lg: {
|
6818
|
-
root: {
|
6819
|
-
height: "10"
|
6820
|
-
},
|
6821
7243
|
item: {
|
6822
|
-
textStyle: "
|
6823
|
-
px: "5",
|
6824
|
-
gap: "3"
|
7244
|
+
textStyle: "2xl"
|
6825
7245
|
}
|
6826
7246
|
}
|
6827
7247
|
}
|
@@ -6832,9 +7252,9 @@ var segmentGroupSlotRecipe = defineSlotRecipe40({
|
|
6832
7252
|
});
|
6833
7253
|
|
6834
7254
|
// src/theme/recipes/chakra/slider.ts
|
6835
|
-
import { defineSlotRecipe as
|
7255
|
+
import { defineSlotRecipe as defineSlotRecipe43 } from "@chakra-ui/react";
|
6836
7256
|
import { sliderAnatomy } from "@chakra-ui/react/anatomy";
|
6837
|
-
var sliderSlotRecipe =
|
7257
|
+
var sliderSlotRecipe = defineSlotRecipe43({
|
6838
7258
|
className: "chakra-slider",
|
6839
7259
|
slots: sliderAnatomy.keys(),
|
6840
7260
|
base: {
|
@@ -7009,9 +7429,9 @@ var sliderSlotRecipe = defineSlotRecipe41({
|
|
7009
7429
|
});
|
7010
7430
|
|
7011
7431
|
// src/theme/recipes/chakra/stat.ts
|
7012
|
-
import { defineSlotRecipe as
|
7432
|
+
import { defineSlotRecipe as defineSlotRecipe44 } from "@chakra-ui/react";
|
7013
7433
|
import { statAnatomy } from "@chakra-ui/react/anatomy";
|
7014
|
-
var statSlotRecipe =
|
7434
|
+
var statSlotRecipe = defineSlotRecipe44({
|
7015
7435
|
className: "chakra-stat",
|
7016
7436
|
slots: statAnatomy.keys(),
|
7017
7437
|
base: {
|
@@ -7087,9 +7507,9 @@ var statSlotRecipe = defineSlotRecipe42({
|
|
7087
7507
|
});
|
7088
7508
|
|
7089
7509
|
// src/theme/recipes/chakra/steps.ts
|
7090
|
-
import { defineSlotRecipe as
|
7510
|
+
import { defineSlotRecipe as defineSlotRecipe45 } from "@chakra-ui/react";
|
7091
7511
|
import { stepsAnatomy } from "@chakra-ui/react/anatomy";
|
7092
|
-
var stepsSlotRecipe =
|
7512
|
+
var stepsSlotRecipe = defineSlotRecipe45({
|
7093
7513
|
className: "chakra-steps",
|
7094
7514
|
slots: stepsAnatomy.keys(),
|
7095
7515
|
base: {
|
@@ -7302,9 +7722,9 @@ var stepsSlotRecipe = defineSlotRecipe43({
|
|
7302
7722
|
});
|
7303
7723
|
|
7304
7724
|
// src/theme/recipes/chakra/switch.ts
|
7305
|
-
import { defineSlotRecipe as
|
7725
|
+
import { defineSlotRecipe as defineSlotRecipe46 } from "@chakra-ui/react";
|
7306
7726
|
import { switchAnatomy } from "@chakra-ui/react/anatomy";
|
7307
|
-
var switchSlotRecipe =
|
7727
|
+
var switchSlotRecipe = defineSlotRecipe46({
|
7308
7728
|
slots: switchAnatomy.keys(),
|
7309
7729
|
className: "chakra-switch",
|
7310
7730
|
base: {
|
@@ -7460,9 +7880,9 @@ var switchSlotRecipe = defineSlotRecipe44({
|
|
7460
7880
|
});
|
7461
7881
|
|
7462
7882
|
// src/theme/recipes/chakra/table.ts
|
7463
|
-
import { defineSlotRecipe as
|
7883
|
+
import { defineSlotRecipe as defineSlotRecipe47 } from "@chakra-ui/react";
|
7464
7884
|
import { tableAnatomy } from "@chakra-ui/react/anatomy";
|
7465
|
-
var tableSlotRecipe =
|
7885
|
+
var tableSlotRecipe = defineSlotRecipe47({
|
7466
7886
|
className: "chakra-table",
|
7467
7887
|
slots: tableAnatomy.keys(),
|
7468
7888
|
base: {
|
@@ -7548,355 +7968,84 @@ var tableSlotRecipe = defineSlotRecipe45({
|
|
7548
7968
|
},
|
7549
7969
|
cell: {
|
7550
7970
|
borderBottomWidth: "1px"
|
7551
|
-
},
|
7552
|
-
row: {
|
7553
|
-
bg: "bg"
|
7554
|
-
}
|
7555
|
-
},
|
7556
|
-
outline: {
|
7557
|
-
root: {
|
7558
|
-
boxShadow: "0 0 0 1px {colors.border}",
|
7559
|
-
overflow: "hidden"
|
7560
|
-
},
|
7561
|
-
columnHeader: {
|
7562
|
-
borderBottomWidth: "1px"
|
7563
|
-
},
|
7564
|
-
header: {
|
7565
|
-
bg: "bg.muted"
|
7566
|
-
},
|
7567
|
-
row: {
|
7568
|
-
"&:not(:last-of-type)": {
|
7569
|
-
borderBottomWidth: "1px"
|
7570
|
-
}
|
7571
|
-
},
|
7572
|
-
footer: {
|
7573
|
-
borderTopWidth: "1px"
|
7574
|
-
}
|
7575
|
-
}
|
7576
|
-
},
|
7577
|
-
size: {
|
7578
|
-
sm: {
|
7579
|
-
root: {
|
7580
|
-
textStyle: "sm"
|
7581
|
-
},
|
7582
|
-
columnHeader: {
|
7583
|
-
px: "2",
|
7584
|
-
py: "2"
|
7585
|
-
},
|
7586
|
-
cell: {
|
7587
|
-
px: "2",
|
7588
|
-
py: "2"
|
7589
|
-
}
|
7590
|
-
},
|
7591
|
-
md: {
|
7592
|
-
root: {
|
7593
|
-
textStyle: "sm"
|
7594
|
-
},
|
7595
|
-
columnHeader: {
|
7596
|
-
px: "3",
|
7597
|
-
py: "3"
|
7598
|
-
},
|
7599
|
-
cell: {
|
7600
|
-
px: "3",
|
7601
|
-
py: "3"
|
7602
|
-
}
|
7603
|
-
},
|
7604
|
-
lg: {
|
7605
|
-
root: {
|
7606
|
-
textStyle: "md"
|
7607
|
-
},
|
7608
|
-
columnHeader: {
|
7609
|
-
px: "4",
|
7610
|
-
py: "3"
|
7611
|
-
},
|
7612
|
-
cell: {
|
7613
|
-
px: "4",
|
7614
|
-
py: "3"
|
7615
|
-
}
|
7616
|
-
}
|
7617
|
-
}
|
7618
|
-
},
|
7619
|
-
defaultVariants: {
|
7620
|
-
variant: "line",
|
7621
|
-
size: "md"
|
7622
|
-
}
|
7623
|
-
});
|
7624
|
-
|
7625
|
-
// src/theme/recipes/chakra/tabs.ts
|
7626
|
-
import { defineSlotRecipe as defineSlotRecipe46 } from "@chakra-ui/react";
|
7627
|
-
import { tabsAnatomy } from "@chakra-ui/react/anatomy";
|
7628
|
-
var tabsSlotRecipe = defineSlotRecipe46({
|
7629
|
-
slots: tabsAnatomy.keys(),
|
7630
|
-
className: "chakra-tabs",
|
7631
|
-
base: {
|
7632
|
-
root: {
|
7633
|
-
"--tabs-trigger-radius": "radii.l2",
|
7634
|
-
position: "relative",
|
7635
|
-
_horizontal: {
|
7636
|
-
display: "block"
|
7637
|
-
},
|
7638
|
-
_vertical: {
|
7639
|
-
display: "flex"
|
7640
|
-
}
|
7641
|
-
},
|
7642
|
-
list: {
|
7643
|
-
display: "inline-flex",
|
7644
|
-
position: "relative",
|
7645
|
-
isolation: "isolate",
|
7646
|
-
"--tabs-indicator-shadow": "shadows.xs",
|
7647
|
-
"--tabs-indicator-bg": "colors.bg",
|
7648
|
-
minH: "var(--tabs-height)",
|
7649
|
-
_horizontal: {
|
7650
|
-
flexDirection: "row"
|
7651
|
-
},
|
7652
|
-
_vertical: {
|
7653
|
-
flexDirection: "column"
|
7654
|
-
}
|
7655
|
-
},
|
7656
|
-
trigger: {
|
7657
|
-
outline: "0",
|
7658
|
-
minW: "var(--tabs-height)",
|
7659
|
-
height: "var(--tabs-height)",
|
7660
|
-
display: "flex",
|
7661
|
-
alignItems: "center",
|
7662
|
-
fontWeight: "medium",
|
7663
|
-
position: "relative",
|
7664
|
-
cursor: "button",
|
7665
|
-
gap: "2",
|
7666
|
-
_focusVisible: {
|
7667
|
-
zIndex: 1,
|
7668
|
-
focusVisibleRing: "outside"
|
7669
|
-
},
|
7670
|
-
_disabled: {
|
7671
|
-
cursor: "not-allowed",
|
7672
|
-
opacity: 0.5
|
7673
|
-
}
|
7674
|
-
},
|
7675
|
-
content: {
|
7676
|
-
focusVisibleRing: "inside",
|
7677
|
-
_horizontal: {
|
7678
|
-
width: "100%",
|
7679
|
-
pt: "var(--tabs-content-padding)"
|
7680
|
-
},
|
7681
|
-
_vertical: {
|
7682
|
-
height: "100%",
|
7683
|
-
ps: "var(--tabs-content-padding)"
|
7684
|
-
}
|
7685
|
-
},
|
7686
|
-
indicator: {
|
7687
|
-
width: "var(--width)",
|
7688
|
-
height: "var(--height)",
|
7689
|
-
borderRadius: "var(--tabs-indicator-radius)",
|
7690
|
-
bg: "var(--tabs-indicator-bg)",
|
7691
|
-
shadow: "var(--tabs-indicator-shadow)",
|
7692
|
-
zIndex: -1
|
7693
|
-
}
|
7694
|
-
},
|
7695
|
-
variants: {
|
7696
|
-
fitted: {
|
7697
|
-
true: {
|
7698
|
-
list: {
|
7699
|
-
display: "flex"
|
7700
|
-
},
|
7701
|
-
trigger: {
|
7702
|
-
flex: 1,
|
7703
|
-
textAlign: "center",
|
7704
|
-
justifyContent: "center"
|
7705
|
-
}
|
7706
|
-
}
|
7707
|
-
},
|
7708
|
-
justify: {
|
7709
|
-
start: {
|
7710
|
-
list: {
|
7711
|
-
justifyContent: "flex-start"
|
7712
|
-
}
|
7713
|
-
},
|
7714
|
-
center: {
|
7715
|
-
list: {
|
7716
|
-
justifyContent: "center"
|
7971
|
+
},
|
7972
|
+
row: {
|
7973
|
+
bg: "bg"
|
7717
7974
|
}
|
7718
7975
|
},
|
7719
|
-
|
7720
|
-
|
7721
|
-
|
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"
|
7722
7994
|
}
|
7723
7995
|
}
|
7724
7996
|
},
|
7725
7997
|
size: {
|
7726
7998
|
sm: {
|
7727
7999
|
root: {
|
7728
|
-
"--tabs-height": "sizes.9",
|
7729
|
-
"--tabs-content-padding": "spacing.3"
|
7730
|
-
},
|
7731
|
-
trigger: {
|
7732
|
-
py: "1",
|
7733
|
-
px: "3",
|
7734
8000
|
textStyle: "sm"
|
8001
|
+
},
|
8002
|
+
columnHeader: {
|
8003
|
+
px: "2",
|
8004
|
+
py: "2"
|
8005
|
+
},
|
8006
|
+
cell: {
|
8007
|
+
px: "2",
|
8008
|
+
py: "2"
|
7735
8009
|
}
|
7736
8010
|
},
|
7737
8011
|
md: {
|
7738
8012
|
root: {
|
7739
|
-
"--tabs-height": "sizes.10",
|
7740
|
-
"--tabs-content-padding": "spacing.4"
|
7741
|
-
},
|
7742
|
-
trigger: {
|
7743
|
-
py: "2",
|
7744
|
-
px: "4",
|
7745
8013
|
textStyle: "sm"
|
8014
|
+
},
|
8015
|
+
columnHeader: {
|
8016
|
+
px: "3",
|
8017
|
+
py: "3"
|
8018
|
+
},
|
8019
|
+
cell: {
|
8020
|
+
px: "3",
|
8021
|
+
py: "3"
|
7746
8022
|
}
|
7747
8023
|
},
|
7748
8024
|
lg: {
|
7749
8025
|
root: {
|
7750
|
-
"--tabs-height": "sizes.11",
|
7751
|
-
"--tabs-content-padding": "spacing.4.5"
|
7752
|
-
},
|
7753
|
-
trigger: {
|
7754
|
-
py: "2",
|
7755
|
-
px: "4.5",
|
7756
8026
|
textStyle: "md"
|
7757
|
-
}
|
7758
|
-
}
|
7759
|
-
},
|
7760
|
-
variant: {
|
7761
|
-
line: {
|
7762
|
-
list: {
|
7763
|
-
display: "flex",
|
7764
|
-
borderColor: "border",
|
7765
|
-
_horizontal: {
|
7766
|
-
borderBottomWidth: "1px"
|
7767
|
-
},
|
7768
|
-
_vertical: {
|
7769
|
-
borderEndWidth: "1px"
|
7770
|
-
}
|
7771
|
-
},
|
7772
|
-
trigger: {
|
7773
|
-
color: "fg.muted",
|
7774
|
-
_disabled: {
|
7775
|
-
_active: { bg: "initial" }
|
7776
|
-
},
|
7777
|
-
_selected: {
|
7778
|
-
color: "fg",
|
7779
|
-
_horizontal: {
|
7780
|
-
layerStyle: "indicator.bottom",
|
7781
|
-
"--indicator-offset-y": "-1px",
|
7782
|
-
"--indicator-color": "colors.colorPalette.solid"
|
7783
|
-
},
|
7784
|
-
_vertical: {
|
7785
|
-
layerStyle: "indicator.end",
|
7786
|
-
"--indicator-offset-x": "-1px"
|
7787
|
-
}
|
7788
|
-
}
|
7789
|
-
}
|
7790
|
-
},
|
7791
|
-
subtle: {
|
7792
|
-
trigger: {
|
7793
|
-
borderRadius: "var(--tabs-trigger-radius)",
|
7794
|
-
color: "fg.muted",
|
7795
|
-
_selected: {
|
7796
|
-
bg: "colorPalette.subtle",
|
7797
|
-
color: "colorPalette.fg"
|
7798
|
-
}
|
7799
|
-
}
|
7800
|
-
},
|
7801
|
-
enclosed: {
|
7802
|
-
list: {
|
7803
|
-
bg: "bg.muted",
|
7804
|
-
padding: "1",
|
7805
|
-
borderRadius: "l3",
|
7806
|
-
minH: "calc(var(--tabs-height) - 4px)"
|
7807
8027
|
},
|
7808
|
-
|
7809
|
-
|
7810
|
-
|
7811
|
-
borderRadius: "var(--tabs-trigger-radius)",
|
7812
|
-
_selected: {
|
7813
|
-
bg: "bg",
|
7814
|
-
color: "colorPalette.fg",
|
7815
|
-
shadow: "xs"
|
7816
|
-
}
|
7817
|
-
}
|
7818
|
-
},
|
7819
|
-
outline: {
|
7820
|
-
list: {
|
7821
|
-
"--line-thickness": "1px",
|
7822
|
-
"--line-offset": "calc(var(--line-thickness) * -1)",
|
7823
|
-
borderColor: "border",
|
7824
|
-
display: "flex",
|
7825
|
-
_horizontal: {
|
7826
|
-
_before: {
|
7827
|
-
content: '""',
|
7828
|
-
position: "absolute",
|
7829
|
-
bottom: "0px",
|
7830
|
-
width: "100%",
|
7831
|
-
borderBottomWidth: "var(--line-thickness)",
|
7832
|
-
borderBottomColor: "border"
|
7833
|
-
}
|
7834
|
-
},
|
7835
|
-
_vertical: {
|
7836
|
-
_before: {
|
7837
|
-
content: '""',
|
7838
|
-
position: "absolute",
|
7839
|
-
insetInline: "var(--line-offset)",
|
7840
|
-
height: "calc(100% - calc(var(--line-thickness) * 2))",
|
7841
|
-
borderEndWidth: "var(--line-thickness)",
|
7842
|
-
borderEndColor: "border"
|
7843
|
-
}
|
7844
|
-
}
|
8028
|
+
columnHeader: {
|
8029
|
+
px: "4",
|
8030
|
+
py: "3"
|
7845
8031
|
},
|
7846
|
-
|
7847
|
-
|
7848
|
-
|
7849
|
-
borderColor: "transparent",
|
7850
|
-
_selected: {
|
7851
|
-
bg: "currentBg",
|
7852
|
-
color: "colorPalette.fg"
|
7853
|
-
},
|
7854
|
-
_horizontal: {
|
7855
|
-
borderTopRadius: "var(--tabs-trigger-radius)",
|
7856
|
-
marginBottom: "var(--line-offset)",
|
7857
|
-
marginEnd: { _notLast: "var(--line-offset)" },
|
7858
|
-
_selected: {
|
7859
|
-
borderColor: "border",
|
7860
|
-
borderBottomColor: "transparent"
|
7861
|
-
}
|
7862
|
-
},
|
7863
|
-
_vertical: {
|
7864
|
-
borderStartRadius: "var(--tabs-trigger-radius)",
|
7865
|
-
marginEnd: "var(--line-offset)",
|
7866
|
-
marginBottom: { _notLast: "var(--line-offset)" },
|
7867
|
-
_selected: {
|
7868
|
-
borderColor: "border",
|
7869
|
-
borderEndColor: "transparent"
|
7870
|
-
}
|
7871
|
-
}
|
7872
|
-
}
|
7873
|
-
},
|
7874
|
-
plain: {
|
7875
|
-
trigger: {
|
7876
|
-
color: "fg.muted",
|
7877
|
-
_selected: {
|
7878
|
-
color: "colorPalette.fg"
|
7879
|
-
},
|
7880
|
-
borderRadius: "var(--tabs-trigger-radius)",
|
7881
|
-
"&[data-selected][data-ssr]": {
|
7882
|
-
bg: "var(--tabs-indicator-bg)",
|
7883
|
-
shadow: "var(--tabs-indicator-shadow)",
|
7884
|
-
borderRadius: "var(--tabs-indicator-radius)"
|
7885
|
-
}
|
8032
|
+
cell: {
|
8033
|
+
px: "4",
|
8034
|
+
py: "3"
|
7886
8035
|
}
|
7887
8036
|
}
|
7888
8037
|
}
|
7889
8038
|
},
|
7890
8039
|
defaultVariants: {
|
7891
|
-
|
7892
|
-
|
8040
|
+
variant: "line",
|
8041
|
+
size: "md"
|
7893
8042
|
}
|
7894
8043
|
});
|
7895
8044
|
|
7896
8045
|
// src/theme/recipes/chakra/timeline.ts
|
7897
|
-
import { defineSlotRecipe as
|
8046
|
+
import { defineSlotRecipe as defineSlotRecipe48 } from "@chakra-ui/react";
|
7898
8047
|
import { timelineAnatomy } from "@chakra-ui/react/anatomy";
|
7899
|
-
var timelineSlotRecipe =
|
8048
|
+
var timelineSlotRecipe = defineSlotRecipe48({
|
7900
8049
|
slots: timelineAnatomy.keys(),
|
7901
8050
|
className: "chakra-timeline",
|
7902
8051
|
base: {
|
@@ -8029,102 +8178,6 @@ var timelineSlotRecipe = defineSlotRecipe47({
|
|
8029
8178
|
}
|
8030
8179
|
});
|
8031
8180
|
|
8032
|
-
// src/theme/recipes/chakra/toast.ts
|
8033
|
-
import { defineSlotRecipe as defineSlotRecipe48 } from "@chakra-ui/react";
|
8034
|
-
import { toastAnatomy } from "@chakra-ui/react/anatomy";
|
8035
|
-
var toastSlotRecipe = defineSlotRecipe48({
|
8036
|
-
slots: toastAnatomy.keys(),
|
8037
|
-
className: "chakra-toast",
|
8038
|
-
base: {
|
8039
|
-
root: {
|
8040
|
-
width: "full",
|
8041
|
-
display: "flex",
|
8042
|
-
alignItems: "flex-start",
|
8043
|
-
position: "relative",
|
8044
|
-
gap: "3",
|
8045
|
-
py: "4",
|
8046
|
-
ps: "4",
|
8047
|
-
pe: "6",
|
8048
|
-
borderRadius: "l2",
|
8049
|
-
translate: "var(--x) var(--y)",
|
8050
|
-
scale: "var(--scale)",
|
8051
|
-
zIndex: "var(--z-index)",
|
8052
|
-
height: "var(--height)",
|
8053
|
-
opacity: "var(--opacity)",
|
8054
|
-
willChange: "translate, opacity, scale",
|
8055
|
-
transition: "translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",
|
8056
|
-
transitionTimingFunction: "cubic-bezier(0.21, 1.02, 0.73, 1)",
|
8057
|
-
_closed: {
|
8058
|
-
transition: "translate 400ms, scale 400ms, opacity 200ms",
|
8059
|
-
transitionTimingFunction: "cubic-bezier(0.06, 0.71, 0.55, 1)"
|
8060
|
-
},
|
8061
|
-
bg: "bg.panel",
|
8062
|
-
color: "fg",
|
8063
|
-
boxShadow: "xl",
|
8064
|
-
"--toast-trigger-bg": "colors.bg.muted",
|
8065
|
-
"&[data-type=warning]": {
|
8066
|
-
bg: "orange.solid",
|
8067
|
-
color: "orange.contrast",
|
8068
|
-
"--toast-trigger-bg": "{white/10}",
|
8069
|
-
"--toast-border-color": "{white/40}"
|
8070
|
-
},
|
8071
|
-
"&[data-type=success]": {
|
8072
|
-
bg: "green.solid",
|
8073
|
-
color: "green.contrast",
|
8074
|
-
"--toast-trigger-bg": "{white/10}",
|
8075
|
-
"--toast-border-color": "{white/40}"
|
8076
|
-
},
|
8077
|
-
"&[data-type=error]": {
|
8078
|
-
bg: "red.solid",
|
8079
|
-
color: "red.contrast",
|
8080
|
-
"--toast-trigger-bg": "{white/10}",
|
8081
|
-
"--toast-border-color": "{white/40}"
|
8082
|
-
}
|
8083
|
-
},
|
8084
|
-
title: {
|
8085
|
-
fontWeight: "medium",
|
8086
|
-
textStyle: "sm",
|
8087
|
-
marginEnd: "2"
|
8088
|
-
},
|
8089
|
-
description: {
|
8090
|
-
display: "inline",
|
8091
|
-
textStyle: "sm",
|
8092
|
-
opacity: "0.8"
|
8093
|
-
},
|
8094
|
-
indicator: {
|
8095
|
-
flexShrink: "0",
|
8096
|
-
boxSize: "5"
|
8097
|
-
},
|
8098
|
-
actionTrigger: {
|
8099
|
-
textStyle: "sm",
|
8100
|
-
fontWeight: "medium",
|
8101
|
-
height: "8",
|
8102
|
-
px: "3",
|
8103
|
-
borderRadius: "l2",
|
8104
|
-
alignSelf: "center",
|
8105
|
-
borderWidth: "1px",
|
8106
|
-
borderColor: "var(--toast-border-color, inherit)",
|
8107
|
-
transition: "background 200ms",
|
8108
|
-
_hover: {
|
8109
|
-
bg: "var(--toast-trigger-bg)"
|
8110
|
-
}
|
8111
|
-
},
|
8112
|
-
closeTrigger: {
|
8113
|
-
position: "absolute",
|
8114
|
-
top: "1",
|
8115
|
-
insetEnd: "1",
|
8116
|
-
padding: "1",
|
8117
|
-
display: "inline-flex",
|
8118
|
-
alignItems: "center",
|
8119
|
-
justifyContent: "center",
|
8120
|
-
color: "{currentColor/60}",
|
8121
|
-
borderRadius: "l2",
|
8122
|
-
textStyle: "md",
|
8123
|
-
transition: "background 200ms"
|
8124
|
-
}
|
8125
|
-
}
|
8126
|
-
});
|
8127
|
-
|
8128
8181
|
// src/theme/recipes/chakra/tooltip.ts
|
8129
8182
|
import { defineSlotRecipe as defineSlotRecipe49 } from "@chakra-ui/react";
|
8130
8183
|
import { tooltipAnatomy } from "@chakra-ui/react/anatomy";
|
@@ -8864,6 +8917,7 @@ export {
|
|
8864
8917
|
Checkbox,
|
8865
8918
|
CloseButton,
|
8866
8919
|
Command,
|
8920
|
+
DataList,
|
8867
8921
|
namespace_exports as Dialog,
|
8868
8922
|
namespace_exports2 as Drawer,
|
8869
8923
|
EmptyState,
|
@@ -8893,6 +8947,7 @@ export {
|
|
8893
8947
|
SuiContext,
|
8894
8948
|
SuiProvider,
|
8895
8949
|
Switch,
|
8950
|
+
Tabs,
|
8896
8951
|
Tag,
|
8897
8952
|
Toaster,
|
8898
8953
|
Tooltip,
|
@@ -8901,10 +8956,13 @@ export {
|
|
8901
8956
|
defaultPresenceOptions,
|
8902
8957
|
defaultSystem,
|
8903
8958
|
toast,
|
8959
|
+
useDataListStyles,
|
8904
8960
|
useLink,
|
8905
8961
|
useLoadingOverlayStyles,
|
8906
8962
|
useSidebar,
|
8907
8963
|
useSidebarItemStyles,
|
8908
8964
|
useSidebarStyles,
|
8909
|
-
useSui
|
8965
|
+
useSui,
|
8966
|
+
useTabsContext,
|
8967
|
+
useTabsStyles
|
8910
8968
|
};
|