@bitrise/bitkit-v2 0.3.196 → 0.3.198
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BitkitDrawer/BitkitDrawer.d.ts +28 -0
- package/dist/components/BitkitDrawer/BitkitDrawer.js +56 -0
- package/dist/components/BitkitDrawer/BitkitDrawer.js.map +1 -0
- package/dist/components/BitkitLabelTooltip/BitkitLabelTooltip.js +2 -1
- package/dist/components/BitkitLabelTooltip/BitkitLabelTooltip.js.map +1 -1
- package/dist/components/BitkitTreeView/BitkitTreeView.d.ts +34 -0
- package/dist/components/BitkitTreeView/BitkitTreeView.js +109 -0
- package/dist/components/BitkitTreeView/BitkitTreeView.js.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/main.js +3 -1
- package/dist/theme/slot-recipes/ActionBar.recipe.js +1 -1
- package/dist/theme/slot-recipes/ActionBar.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/CodeSnippet.recipe.d.ts +2 -2
- package/dist/theme/slot-recipes/CodeSnippet.recipe.js +2 -2
- package/dist/theme/slot-recipes/CodeSnippet.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/Collapsible.recipe.js +3 -3
- package/dist/theme/slot-recipes/Collapsible.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/Dialog.recipe.js +4 -4
- package/dist/theme/slot-recipes/Dialog.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/Drawer.recipe.d.ts +50 -0
- package/dist/theme/slot-recipes/Drawer.recipe.js +136 -0
- package/dist/theme/slot-recipes/Drawer.recipe.js.map +1 -0
- package/dist/theme/slot-recipes/NativeSelect.recipe.js +1 -1
- package/dist/theme/slot-recipes/NativeSelect.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/NumberInput.recipe.js +2 -2
- package/dist/theme/slot-recipes/NumberInput.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/OverflowContent.recipe.js +2 -2
- package/dist/theme/slot-recipes/OverflowContent.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/Select.recipe.js +3 -3
- package/dist/theme/slot-recipes/Select.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/Steps.recipe.d.ts +2 -2
- package/dist/theme/slot-recipes/Steps.recipe.js +2 -2
- package/dist/theme/slot-recipes/Steps.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/Switch.recipe.js +1 -1
- package/dist/theme/slot-recipes/Switch.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/TagsInput.recipe.js +1 -1
- package/dist/theme/slot-recipes/TagsInput.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/TreeView.recipe.d.ts +152 -0
- package/dist/theme/slot-recipes/TreeView.recipe.js +250 -0
- package/dist/theme/slot-recipes/TreeView.recipe.js.map +1 -0
- package/dist/theme/slot-recipes/index.d.ts +204 -4
- package/dist/theme/slot-recipes/index.js +5 -1
- package/dist/theme/slot-recipes/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { rem } from "../themeUtils.js";
|
|
2
|
+
import { defineSlotRecipe } from "@chakra-ui/react/styled-system";
|
|
3
|
+
import { treeViewAnatomy } from "@chakra-ui/react/anatomy";
|
|
4
|
+
//#region lib/theme/slot-recipes/TreeView.recipe.ts
|
|
5
|
+
var baseItemStyle = {
|
|
6
|
+
display: "flex",
|
|
7
|
+
alignItems: "flex-start",
|
|
8
|
+
gap: "var(--tree-item-gap)",
|
|
9
|
+
cursor: "pointer",
|
|
10
|
+
userSelect: "none",
|
|
11
|
+
position: "relative",
|
|
12
|
+
"--tree-depth": "calc(var(--depth) - 1)",
|
|
13
|
+
"--tree-indentation-offset": "calc(var(--tree-indentation) * var(--tree-depth))",
|
|
14
|
+
"--tree-icon-offset": "calc(var(--tree-icon-size) * var(--tree-depth) * 0.5)",
|
|
15
|
+
"--tree-offset": "calc(var(--tree-padding-inline-start) + var(--tree-indentation-offset) + var(--tree-icon-offset))",
|
|
16
|
+
paddingInlineStart: "var(--tree-offset)",
|
|
17
|
+
focusVisibleRing: "inside",
|
|
18
|
+
focusRingWidth: "2px",
|
|
19
|
+
_hover: {
|
|
20
|
+
background: "background/secondary",
|
|
21
|
+
_active: { background: "background/tertiary" }
|
|
22
|
+
},
|
|
23
|
+
_active: { background: "background/tertiary" },
|
|
24
|
+
_selected: {
|
|
25
|
+
background: "background/selected",
|
|
26
|
+
_hover: {
|
|
27
|
+
background: "background/selected-hover",
|
|
28
|
+
_active: { background: "background/selected-hover" }
|
|
29
|
+
},
|
|
30
|
+
_active: { background: "background/selected-hover" }
|
|
31
|
+
},
|
|
32
|
+
_disabled: {
|
|
33
|
+
opacity: .4,
|
|
34
|
+
cursor: "not-allowed"
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
var baseTextStyle = {
|
|
38
|
+
flex: 1,
|
|
39
|
+
minWidth: 0,
|
|
40
|
+
display: "flex",
|
|
41
|
+
flexDirection: "column"
|
|
42
|
+
};
|
|
43
|
+
var treeViewSlotRecipe = defineSlotRecipe({
|
|
44
|
+
className: "bitkit-tree-view",
|
|
45
|
+
slots: [
|
|
46
|
+
...treeViewAnatomy.keys(),
|
|
47
|
+
"actionGroup",
|
|
48
|
+
"suffixGroup",
|
|
49
|
+
"secondaryText"
|
|
50
|
+
],
|
|
51
|
+
base: {
|
|
52
|
+
root: {
|
|
53
|
+
width: "full",
|
|
54
|
+
display: "flex",
|
|
55
|
+
flexDirection: "column"
|
|
56
|
+
},
|
|
57
|
+
tree: {
|
|
58
|
+
display: "flex",
|
|
59
|
+
flexDirection: "column",
|
|
60
|
+
textStyle: "body/md/regular",
|
|
61
|
+
color: "text/body",
|
|
62
|
+
"--tree-item-gap": "spacing.8",
|
|
63
|
+
"--tree-indentation": "spacing.16",
|
|
64
|
+
"--tree-padding-inline-start": "spacing.8",
|
|
65
|
+
"--tree-icon-size": "spacing.16",
|
|
66
|
+
_icon: { boxSize: "var(--tree-icon-size)" }
|
|
67
|
+
},
|
|
68
|
+
label: {
|
|
69
|
+
fontWeight: "medium",
|
|
70
|
+
textStyle: "body/sm/regular"
|
|
71
|
+
},
|
|
72
|
+
branch: { position: "relative" },
|
|
73
|
+
branchContent: {
|
|
74
|
+
position: "relative",
|
|
75
|
+
overflow: "hidden",
|
|
76
|
+
_open: {
|
|
77
|
+
animationName: "expand-height, fade-in",
|
|
78
|
+
animationDuration: "moderate"
|
|
79
|
+
},
|
|
80
|
+
_closed: {
|
|
81
|
+
animationName: "collapse-height, fade-out",
|
|
82
|
+
animationDuration: "moderate"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
branchIndicator: {
|
|
86
|
+
display: "flex",
|
|
87
|
+
justifyContent: "center",
|
|
88
|
+
color: "icon/secondary"
|
|
89
|
+
},
|
|
90
|
+
branchTrigger: {
|
|
91
|
+
display: "inline-flex",
|
|
92
|
+
alignItems: "center",
|
|
93
|
+
justifyContent: "center"
|
|
94
|
+
},
|
|
95
|
+
branchControl: { ...baseItemStyle },
|
|
96
|
+
item: { ...baseItemStyle },
|
|
97
|
+
branchText: baseTextStyle,
|
|
98
|
+
itemText: baseTextStyle,
|
|
99
|
+
branchIndentGuide: {},
|
|
100
|
+
itemIndicator: {},
|
|
101
|
+
nodeCheckbox: { display: "inline-flex" },
|
|
102
|
+
suffixGroup: {
|
|
103
|
+
display: "flex",
|
|
104
|
+
gap: "8",
|
|
105
|
+
alignItems: "center",
|
|
106
|
+
justifyContent: "flex-end",
|
|
107
|
+
color: "text/secondary",
|
|
108
|
+
"[data-selected] > &, [data-state=\"open\"] > &": { color: "text/primary" },
|
|
109
|
+
paddingInlineStart: "16",
|
|
110
|
+
flexShrink: 0,
|
|
111
|
+
_groupHover: { display: "none" }
|
|
112
|
+
},
|
|
113
|
+
actionGroup: {
|
|
114
|
+
display: "none",
|
|
115
|
+
alignItems: "center",
|
|
116
|
+
justifyContent: "flex-end",
|
|
117
|
+
paddingInlineStart: "16",
|
|
118
|
+
flexShrink: 0,
|
|
119
|
+
_groupHover: { display: "flex" }
|
|
120
|
+
},
|
|
121
|
+
secondaryText: {
|
|
122
|
+
textStyle: "body/sm/regular",
|
|
123
|
+
color: "text/secondary"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
variants: { variant: {
|
|
127
|
+
files: {
|
|
128
|
+
branchControl: {
|
|
129
|
+
borderRadius: "4",
|
|
130
|
+
paddingInlineEnd: "16",
|
|
131
|
+
"& > svg": { marginBlockStart: "8" },
|
|
132
|
+
"& > .badge": { marginBlockStart: "6" }
|
|
133
|
+
},
|
|
134
|
+
item: {
|
|
135
|
+
borderRadius: "4",
|
|
136
|
+
paddingInlineEnd: "16",
|
|
137
|
+
"& > svg": { marginBlockStart: "8" },
|
|
138
|
+
"& > .badge": { marginBlockStart: "6" }
|
|
139
|
+
},
|
|
140
|
+
branchIndicator: {
|
|
141
|
+
alignItems: "flex-start",
|
|
142
|
+
marginBlockStart: "8",
|
|
143
|
+
alignSelf: "stretch",
|
|
144
|
+
position: "relative",
|
|
145
|
+
_open: { "&::after": {
|
|
146
|
+
content: "\"\"",
|
|
147
|
+
position: "absolute",
|
|
148
|
+
insetBlockStart: "16",
|
|
149
|
+
insetBlockEnd: 0,
|
|
150
|
+
insetInlineStart: "50%",
|
|
151
|
+
width: "1",
|
|
152
|
+
background: "border/regular"
|
|
153
|
+
} }
|
|
154
|
+
},
|
|
155
|
+
branchText: { paddingBlock: "6" },
|
|
156
|
+
itemText: { paddingBlock: "6" },
|
|
157
|
+
suffixGroup: {
|
|
158
|
+
height: rem(31),
|
|
159
|
+
"& > span": { marginBlockEnd: "-1" }
|
|
160
|
+
},
|
|
161
|
+
branchIndentGuide: {
|
|
162
|
+
height: "100%",
|
|
163
|
+
width: "1",
|
|
164
|
+
background: "border/regular",
|
|
165
|
+
position: "absolute",
|
|
166
|
+
insetBlockStart: 0,
|
|
167
|
+
"--tree-depth": "calc(var(--depth) - 1)",
|
|
168
|
+
"--tree-indentation-offset": "calc(var(--tree-indentation) * var(--tree-depth))",
|
|
169
|
+
"--tree-offset": "calc(var(--tree-padding-inline-start) + var(--tree-indentation-offset))",
|
|
170
|
+
"--tree-icon-offset": "calc(var(--tree-icon-size) * 0.5 * var(--depth))",
|
|
171
|
+
insetInlineStart: "calc(var(--tree-offset) + var(--tree-icon-offset))",
|
|
172
|
+
zIndex: 1
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
navigation: {
|
|
176
|
+
branchControl: {
|
|
177
|
+
borderRadius: 0,
|
|
178
|
+
paddingInlineEnd: "16",
|
|
179
|
+
"&::before": {
|
|
180
|
+
content: "\"\"",
|
|
181
|
+
position: "absolute",
|
|
182
|
+
insetBlockStart: 0,
|
|
183
|
+
insetInlineStart: "var(--tree-offset)",
|
|
184
|
+
insetInlineEnd: 0,
|
|
185
|
+
height: "1",
|
|
186
|
+
background: "border/minimal"
|
|
187
|
+
},
|
|
188
|
+
_selected: { "&::after": {
|
|
189
|
+
content: "\"\"",
|
|
190
|
+
position: "absolute",
|
|
191
|
+
insetBlock: 0,
|
|
192
|
+
insetInlineEnd: 0,
|
|
193
|
+
width: "4",
|
|
194
|
+
background: "border/selected",
|
|
195
|
+
borderRadius: "0 2px 2px 0"
|
|
196
|
+
} }
|
|
197
|
+
},
|
|
198
|
+
item: {
|
|
199
|
+
borderRadius: 0,
|
|
200
|
+
paddingInlineEnd: "16",
|
|
201
|
+
"&::before": {
|
|
202
|
+
content: "\"\"",
|
|
203
|
+
position: "absolute",
|
|
204
|
+
insetBlockStart: 0,
|
|
205
|
+
insetInlineStart: "var(--tree-offset)",
|
|
206
|
+
insetInlineEnd: 0,
|
|
207
|
+
height: "1",
|
|
208
|
+
background: "border/minimal"
|
|
209
|
+
},
|
|
210
|
+
"& > svg": { marginBlockStart: rem(9) },
|
|
211
|
+
_selected: { "&::after": {
|
|
212
|
+
content: "\"\"",
|
|
213
|
+
position: "absolute",
|
|
214
|
+
insetBlock: 0,
|
|
215
|
+
insetInlineEnd: 0,
|
|
216
|
+
width: "4",
|
|
217
|
+
background: "border/selected",
|
|
218
|
+
borderRadius: "0 2px 2px 0"
|
|
219
|
+
} }
|
|
220
|
+
},
|
|
221
|
+
branchIndicator: {
|
|
222
|
+
marginBlockStart: "8",
|
|
223
|
+
transformOrigin: "center",
|
|
224
|
+
transitionDuration: "normal",
|
|
225
|
+
transitionProperty: "transform",
|
|
226
|
+
transitionTimingFunction: "default",
|
|
227
|
+
_open: { transform: "rotate(90deg)" }
|
|
228
|
+
},
|
|
229
|
+
branchText: {
|
|
230
|
+
paddingBlock: "8",
|
|
231
|
+
gap: "4",
|
|
232
|
+
_open: {
|
|
233
|
+
textStyle: "body/md/semibold",
|
|
234
|
+
color: "text/primary"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
itemText: { paddingBlock: "8" },
|
|
238
|
+
suffixGroup: {
|
|
239
|
+
height: rem(35),
|
|
240
|
+
"& > span": { marginBlockEnd: "-1" }
|
|
241
|
+
},
|
|
242
|
+
branchIndentGuide: { display: "none" }
|
|
243
|
+
}
|
|
244
|
+
} },
|
|
245
|
+
defaultVariants: { variant: "files" }
|
|
246
|
+
});
|
|
247
|
+
//#endregion
|
|
248
|
+
export { treeViewSlotRecipe as default };
|
|
249
|
+
|
|
250
|
+
//# sourceMappingURL=TreeView.recipe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeView.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/TreeView.recipe.ts"],"sourcesContent":["import { treeViewAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { rem } from '../themeUtils';\n\nconst baseItemStyle = {\n display: 'flex',\n alignItems: 'flex-start',\n gap: 'var(--tree-item-gap)',\n cursor: 'pointer',\n userSelect: 'none',\n position: 'relative',\n '--tree-depth': 'calc(var(--depth) - 1)',\n '--tree-indentation-offset': 'calc(var(--tree-indentation) * var(--tree-depth))',\n '--tree-icon-offset': 'calc(var(--tree-icon-size) * var(--tree-depth) * 0.5)',\n '--tree-offset': 'calc(var(--tree-padding-inline-start) + var(--tree-indentation-offset) + var(--tree-icon-offset))',\n paddingInlineStart: 'var(--tree-offset)',\n focusVisibleRing: 'inside',\n focusRingWidth: '2px',\n _hover: {\n background: 'background/secondary',\n _active: {\n background: 'background/tertiary',\n },\n },\n _active: {\n background: 'background/tertiary',\n },\n _selected: {\n background: 'background/selected',\n _hover: {\n background: 'background/selected-hover',\n _active: {\n background: 'background/selected-hover',\n },\n },\n _active: {\n background: 'background/selected-hover',\n },\n },\n _disabled: {\n opacity: 0.4,\n cursor: 'not-allowed',\n },\n} as const;\n\nconst baseTextStyle = {\n flex: 1,\n minWidth: 0,\n display: 'flex',\n flexDirection: 'column',\n} as const;\n\nconst treeViewSlotRecipe = defineSlotRecipe({\n className: 'bitkit-tree-view',\n slots: [...treeViewAnatomy.keys(), 'actionGroup', 'suffixGroup', 'secondaryText'],\n base: {\n root: {\n width: 'full',\n display: 'flex',\n flexDirection: 'column',\n },\n tree: {\n display: 'flex',\n flexDirection: 'column',\n textStyle: 'body/md/regular',\n color: 'text/body',\n '--tree-item-gap': 'spacing.8',\n '--tree-indentation': 'spacing.16',\n '--tree-padding-inline-start': 'spacing.8',\n '--tree-icon-size': 'spacing.16',\n _icon: {\n boxSize: 'var(--tree-icon-size)',\n },\n },\n label: {\n fontWeight: 'medium',\n textStyle: 'body/sm/regular',\n },\n branch: {\n position: 'relative',\n },\n branchContent: {\n position: 'relative',\n overflow: 'hidden',\n _open: {\n animationName: 'expand-height, fade-in',\n animationDuration: 'moderate',\n },\n _closed: {\n animationName: 'collapse-height, fade-out',\n animationDuration: 'moderate',\n },\n },\n branchIndicator: {\n display: 'flex',\n justifyContent: 'center',\n color: 'icon/secondary',\n },\n branchTrigger: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n },\n branchControl: {\n ...baseItemStyle,\n },\n item: {\n ...baseItemStyle,\n },\n branchText: baseTextStyle,\n itemText: baseTextStyle,\n branchIndentGuide: {},\n itemIndicator: {},\n nodeCheckbox: {\n display: 'inline-flex',\n },\n suffixGroup: {\n display: 'flex',\n gap: '8',\n alignItems: 'center',\n justifyContent: 'flex-end',\n color: 'text/secondary',\n '[data-selected] > &, [data-state=\"open\"] > &': {\n color: 'text/primary',\n },\n paddingInlineStart: '16',\n flexShrink: 0,\n _groupHover: {\n display: 'none',\n },\n },\n actionGroup: {\n display: 'none',\n alignItems: 'center',\n justifyContent: 'flex-end',\n paddingInlineStart: '16',\n flexShrink: 0,\n _groupHover: {\n display: 'flex',\n },\n },\n secondaryText: {\n textStyle: 'body/sm/regular',\n color: 'text/secondary',\n },\n },\n variants: {\n variant: {\n files: {\n branchControl: {\n borderRadius: '4',\n paddingInlineEnd: '16',\n '& > svg': {\n marginBlockStart: '8',\n },\n '& > .badge': {\n marginBlockStart: '6',\n },\n },\n item: {\n borderRadius: '4',\n paddingInlineEnd: '16',\n '& > svg': {\n marginBlockStart: '8',\n },\n '& > .badge': {\n marginBlockStart: '6',\n },\n },\n branchIndicator: {\n alignItems: 'flex-start',\n marginBlockStart: '8',\n alignSelf: 'stretch',\n position: 'relative',\n _open: {\n '&::after': {\n content: '\"\"',\n position: 'absolute',\n insetBlockStart: '16',\n insetBlockEnd: 0,\n insetInlineStart: '50%',\n width: '1',\n background: 'border/regular',\n },\n },\n },\n branchText: {\n paddingBlock: '6',\n },\n itemText: {\n paddingBlock: '6',\n },\n suffixGroup: {\n height: rem(31),\n '& > span': {\n marginBlockEnd: '-1',\n },\n },\n branchIndentGuide: {\n height: '100%',\n width: '1',\n background: 'border/regular',\n position: 'absolute',\n insetBlockStart: 0,\n '--tree-depth': 'calc(var(--depth) - 1)',\n '--tree-indentation-offset': 'calc(var(--tree-indentation) * var(--tree-depth))',\n '--tree-offset': 'calc(var(--tree-padding-inline-start) + var(--tree-indentation-offset))',\n '--tree-icon-offset': 'calc(var(--tree-icon-size) * 0.5 * var(--depth))',\n insetInlineStart: 'calc(var(--tree-offset) + var(--tree-icon-offset))',\n zIndex: 1,\n },\n },\n navigation: {\n branchControl: {\n borderRadius: 0,\n paddingInlineEnd: '16',\n '&::before': {\n content: '\"\"',\n position: 'absolute',\n insetBlockStart: 0,\n insetInlineStart: 'var(--tree-offset)',\n insetInlineEnd: 0,\n height: '1',\n background: 'border/minimal',\n },\n _selected: {\n '&::after': {\n content: '\"\"',\n position: 'absolute',\n insetBlock: 0,\n insetInlineEnd: 0,\n width: '4',\n background: 'border/selected',\n borderRadius: '0 2px 2px 0',\n },\n },\n },\n item: {\n borderRadius: 0,\n paddingInlineEnd: '16',\n '&::before': {\n content: '\"\"',\n position: 'absolute',\n insetBlockStart: 0,\n insetInlineStart: 'var(--tree-offset)',\n insetInlineEnd: 0,\n height: '1',\n background: 'border/minimal',\n },\n '& > svg': {\n marginBlockStart: rem(9),\n },\n _selected: {\n '&::after': {\n content: '\"\"',\n position: 'absolute',\n insetBlock: 0,\n insetInlineEnd: 0,\n width: '4',\n background: 'border/selected',\n borderRadius: '0 2px 2px 0',\n },\n },\n },\n branchIndicator: {\n marginBlockStart: '8',\n transformOrigin: 'center',\n transitionDuration: 'normal',\n transitionProperty: 'transform',\n transitionTimingFunction: 'default',\n _open: {\n transform: 'rotate(90deg)',\n },\n },\n branchText: {\n paddingBlock: '8',\n gap: '4',\n _open: {\n textStyle: 'body/md/semibold',\n color: 'text/primary',\n },\n },\n itemText: {\n paddingBlock: '8',\n },\n suffixGroup: {\n height: rem(35),\n '& > span': {\n marginBlockEnd: '-1',\n },\n },\n branchIndentGuide: {\n display: 'none',\n },\n },\n },\n },\n defaultVariants: {\n variant: 'files',\n },\n});\n\nexport default treeViewSlotRecipe;\n"],"mappings":"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"}
|
|
@@ -319,8 +319,8 @@ declare const slotRecipes: {
|
|
|
319
319
|
height: "40";
|
|
320
320
|
pointerEvents: "none";
|
|
321
321
|
position: "absolute";
|
|
322
|
-
right:
|
|
323
|
-
top:
|
|
322
|
+
right: number;
|
|
323
|
+
top: number;
|
|
324
324
|
width: "8";
|
|
325
325
|
};
|
|
326
326
|
};
|
|
@@ -669,6 +669,55 @@ declare const slotRecipes: {
|
|
|
669
669
|
};
|
|
670
670
|
};
|
|
671
671
|
}>;
|
|
672
|
+
drawer: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "body" | "footer" | "header" | "title" | "trigger" | "positioner" | "closeTrigger" | "description" | "backdrop", {
|
|
673
|
+
variant: {
|
|
674
|
+
docked: {
|
|
675
|
+
closeTrigger: {
|
|
676
|
+
insetEnd: string;
|
|
677
|
+
top: "12";
|
|
678
|
+
};
|
|
679
|
+
content: {
|
|
680
|
+
width: {
|
|
681
|
+
base: "100vw";
|
|
682
|
+
tablet: string;
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
floating: {
|
|
687
|
+
body: {
|
|
688
|
+
paddingInline: "24";
|
|
689
|
+
};
|
|
690
|
+
closeTrigger: {
|
|
691
|
+
insetEnd: "24";
|
|
692
|
+
top: "24";
|
|
693
|
+
};
|
|
694
|
+
positioner: {
|
|
695
|
+
padding: "32";
|
|
696
|
+
};
|
|
697
|
+
content: {
|
|
698
|
+
borderRadius: "12";
|
|
699
|
+
boxShadow: "elevation/lg";
|
|
700
|
+
maxWidth: string;
|
|
701
|
+
};
|
|
702
|
+
header: {
|
|
703
|
+
paddingBlockEnd: "16";
|
|
704
|
+
paddingBlockStart: "24";
|
|
705
|
+
paddingInline: "24";
|
|
706
|
+
};
|
|
707
|
+
footer: {
|
|
708
|
+
borderBlockStartColor: "transparent";
|
|
709
|
+
borderBlockStartWidth: "0";
|
|
710
|
+
paddingBlockEnd: "24";
|
|
711
|
+
paddingBlockStart: "32";
|
|
712
|
+
paddingInline: "24";
|
|
713
|
+
};
|
|
714
|
+
title: {
|
|
715
|
+
color: "text/primary";
|
|
716
|
+
textStyle: "comp/dialog/title";
|
|
717
|
+
};
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
}>;
|
|
672
721
|
emptyState: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "title" | "root" | "description" | "indicator", {
|
|
673
722
|
colorScheme: {
|
|
674
723
|
white: {
|
|
@@ -1404,7 +1453,7 @@ declare const slotRecipes: {
|
|
|
1404
1453
|
content: "\"\"";
|
|
1405
1454
|
position: "absolute";
|
|
1406
1455
|
insetBlockStart: "-2px";
|
|
1407
|
-
insetInlineStart:
|
|
1456
|
+
insetInlineStart: number;
|
|
1408
1457
|
width: "50%";
|
|
1409
1458
|
height: "2";
|
|
1410
1459
|
bg: "border/selected";
|
|
@@ -1430,7 +1479,7 @@ declare const slotRecipes: {
|
|
|
1430
1479
|
_before: {
|
|
1431
1480
|
content: "\"\"";
|
|
1432
1481
|
position: "absolute";
|
|
1433
|
-
insetBlockStart:
|
|
1482
|
+
insetBlockStart: number;
|
|
1434
1483
|
insetInlineStart: "-2px";
|
|
1435
1484
|
width: "2";
|
|
1436
1485
|
height: "50%";
|
|
@@ -1834,5 +1883,156 @@ declare const slotRecipes: {
|
|
|
1834
1883
|
};
|
|
1835
1884
|
};
|
|
1836
1885
|
}>;
|
|
1886
|
+
treeView: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "secondaryText" | "root" | "item" | "itemIndicator" | "tree" | "itemText" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput" | "actionGroup" | "suffixGroup", {
|
|
1887
|
+
variant: {
|
|
1888
|
+
files: {
|
|
1889
|
+
branchControl: {
|
|
1890
|
+
borderRadius: "4";
|
|
1891
|
+
paddingInlineEnd: "16";
|
|
1892
|
+
'& > svg': {
|
|
1893
|
+
marginBlockStart: "8";
|
|
1894
|
+
};
|
|
1895
|
+
'& > .badge': {
|
|
1896
|
+
marginBlockStart: "6";
|
|
1897
|
+
};
|
|
1898
|
+
};
|
|
1899
|
+
item: {
|
|
1900
|
+
borderRadius: "4";
|
|
1901
|
+
paddingInlineEnd: "16";
|
|
1902
|
+
'& > svg': {
|
|
1903
|
+
marginBlockStart: "8";
|
|
1904
|
+
};
|
|
1905
|
+
'& > .badge': {
|
|
1906
|
+
marginBlockStart: "6";
|
|
1907
|
+
};
|
|
1908
|
+
};
|
|
1909
|
+
branchIndicator: {
|
|
1910
|
+
alignItems: "flex-start";
|
|
1911
|
+
marginBlockStart: "8";
|
|
1912
|
+
alignSelf: "stretch";
|
|
1913
|
+
position: "relative";
|
|
1914
|
+
_open: {
|
|
1915
|
+
'&::after': {
|
|
1916
|
+
content: "\"\"";
|
|
1917
|
+
position: "absolute";
|
|
1918
|
+
insetBlockStart: "16";
|
|
1919
|
+
insetBlockEnd: number;
|
|
1920
|
+
insetInlineStart: "50%";
|
|
1921
|
+
width: "1";
|
|
1922
|
+
background: "border/regular";
|
|
1923
|
+
};
|
|
1924
|
+
};
|
|
1925
|
+
};
|
|
1926
|
+
branchText: {
|
|
1927
|
+
paddingBlock: "6";
|
|
1928
|
+
};
|
|
1929
|
+
itemText: {
|
|
1930
|
+
paddingBlock: "6";
|
|
1931
|
+
};
|
|
1932
|
+
suffixGroup: {
|
|
1933
|
+
height: string;
|
|
1934
|
+
'& > span': {
|
|
1935
|
+
marginBlockEnd: "-1";
|
|
1936
|
+
};
|
|
1937
|
+
};
|
|
1938
|
+
branchIndentGuide: {
|
|
1939
|
+
height: "100%";
|
|
1940
|
+
width: "1";
|
|
1941
|
+
background: "border/regular";
|
|
1942
|
+
position: "absolute";
|
|
1943
|
+
insetBlockStart: number;
|
|
1944
|
+
'--tree-depth': "calc(var(--depth) - 1)";
|
|
1945
|
+
'--tree-indentation-offset': "calc(var(--tree-indentation) * var(--tree-depth))";
|
|
1946
|
+
'--tree-offset': "calc(var(--tree-padding-inline-start) + var(--tree-indentation-offset))";
|
|
1947
|
+
'--tree-icon-offset': "calc(var(--tree-icon-size) * 0.5 * var(--depth))";
|
|
1948
|
+
insetInlineStart: "calc(var(--tree-offset) + var(--tree-icon-offset))";
|
|
1949
|
+
zIndex: number;
|
|
1950
|
+
};
|
|
1951
|
+
};
|
|
1952
|
+
navigation: {
|
|
1953
|
+
branchControl: {
|
|
1954
|
+
borderRadius: number;
|
|
1955
|
+
paddingInlineEnd: "16";
|
|
1956
|
+
'&::before': {
|
|
1957
|
+
content: "\"\"";
|
|
1958
|
+
position: "absolute";
|
|
1959
|
+
insetBlockStart: number;
|
|
1960
|
+
insetInlineStart: "var(--tree-offset)";
|
|
1961
|
+
insetInlineEnd: number;
|
|
1962
|
+
height: "1";
|
|
1963
|
+
background: "border/minimal";
|
|
1964
|
+
};
|
|
1965
|
+
_selected: {
|
|
1966
|
+
'&::after': {
|
|
1967
|
+
content: "\"\"";
|
|
1968
|
+
position: "absolute";
|
|
1969
|
+
insetBlock: number;
|
|
1970
|
+
insetInlineEnd: number;
|
|
1971
|
+
width: "4";
|
|
1972
|
+
background: "border/selected";
|
|
1973
|
+
borderRadius: "0 2px 2px 0";
|
|
1974
|
+
};
|
|
1975
|
+
};
|
|
1976
|
+
};
|
|
1977
|
+
item: {
|
|
1978
|
+
borderRadius: number;
|
|
1979
|
+
paddingInlineEnd: "16";
|
|
1980
|
+
'&::before': {
|
|
1981
|
+
content: "\"\"";
|
|
1982
|
+
position: "absolute";
|
|
1983
|
+
insetBlockStart: number;
|
|
1984
|
+
insetInlineStart: "var(--tree-offset)";
|
|
1985
|
+
insetInlineEnd: number;
|
|
1986
|
+
height: "1";
|
|
1987
|
+
background: "border/minimal";
|
|
1988
|
+
};
|
|
1989
|
+
'& > svg': {
|
|
1990
|
+
marginBlockStart: string;
|
|
1991
|
+
};
|
|
1992
|
+
_selected: {
|
|
1993
|
+
'&::after': {
|
|
1994
|
+
content: "\"\"";
|
|
1995
|
+
position: "absolute";
|
|
1996
|
+
insetBlock: number;
|
|
1997
|
+
insetInlineEnd: number;
|
|
1998
|
+
width: "4";
|
|
1999
|
+
background: "border/selected";
|
|
2000
|
+
borderRadius: "0 2px 2px 0";
|
|
2001
|
+
};
|
|
2002
|
+
};
|
|
2003
|
+
};
|
|
2004
|
+
branchIndicator: {
|
|
2005
|
+
marginBlockStart: "8";
|
|
2006
|
+
transformOrigin: "center";
|
|
2007
|
+
transitionDuration: "normal";
|
|
2008
|
+
transitionProperty: "transform";
|
|
2009
|
+
transitionTimingFunction: "default";
|
|
2010
|
+
_open: {
|
|
2011
|
+
transform: "rotate(90deg)";
|
|
2012
|
+
};
|
|
2013
|
+
};
|
|
2014
|
+
branchText: {
|
|
2015
|
+
paddingBlock: "8";
|
|
2016
|
+
gap: "4";
|
|
2017
|
+
_open: {
|
|
2018
|
+
textStyle: "body/md/semibold";
|
|
2019
|
+
color: "text/primary";
|
|
2020
|
+
};
|
|
2021
|
+
};
|
|
2022
|
+
itemText: {
|
|
2023
|
+
paddingBlock: "8";
|
|
2024
|
+
};
|
|
2025
|
+
suffixGroup: {
|
|
2026
|
+
height: string;
|
|
2027
|
+
'& > span': {
|
|
2028
|
+
marginBlockEnd: "-1";
|
|
2029
|
+
};
|
|
2030
|
+
};
|
|
2031
|
+
branchIndentGuide: {
|
|
2032
|
+
display: "none";
|
|
2033
|
+
};
|
|
2034
|
+
};
|
|
2035
|
+
};
|
|
2036
|
+
}>;
|
|
1837
2037
|
};
|
|
1838
2038
|
export default slotRecipes;
|
|
@@ -14,6 +14,7 @@ import { selectSlotRecipe } from "./Select.recipe.js";
|
|
|
14
14
|
import datePickerSelectSlotRecipe from "./DatePickerSelect.recipe.js";
|
|
15
15
|
import dialogSlotRecipe from "./Dialog.recipe.js";
|
|
16
16
|
import draggableCardSlotRecipe from "./DraggableCard.recipe.js";
|
|
17
|
+
import drawerSlotRecipe from "./Drawer.recipe.js";
|
|
17
18
|
import emptyStateSlotRecipe from "./EmptyState.recipe.js";
|
|
18
19
|
import expandableCardSlotRecipe from "./ExpandableCard.recipe.js";
|
|
19
20
|
import fieldSlotRecipe from "./Field.recipe.js";
|
|
@@ -49,6 +50,7 @@ import tagSlotRecipe from "./Tag.recipe.js";
|
|
|
49
50
|
import tagsInputSlotRecipe from "./TagsInput.recipe.js";
|
|
50
51
|
import toastSlotRecipe from "./Toast.recipe.js";
|
|
51
52
|
import tooltipSlotRecipe from "./Tooltip.recipe.js";
|
|
53
|
+
import treeViewSlotRecipe from "./TreeView.recipe.js";
|
|
52
54
|
//#region lib/theme/slot-recipes/index.ts
|
|
53
55
|
var slotRecipes = {
|
|
54
56
|
accordion: accordionSlotRecipe,
|
|
@@ -65,6 +67,7 @@ var slotRecipes = {
|
|
|
65
67
|
datePickerSelect: datePickerSelectSlotRecipe,
|
|
66
68
|
dialog: dialogSlotRecipe,
|
|
67
69
|
draggableCard: draggableCardSlotRecipe,
|
|
70
|
+
drawer: drawerSlotRecipe,
|
|
68
71
|
emptyState: emptyStateSlotRecipe,
|
|
69
72
|
expandableCard: expandableCardSlotRecipe,
|
|
70
73
|
field: fieldSlotRecipe,
|
|
@@ -101,7 +104,8 @@ var slotRecipes = {
|
|
|
101
104
|
tag: tagSlotRecipe,
|
|
102
105
|
tagsInput: tagsInputSlotRecipe,
|
|
103
106
|
toast: toastSlotRecipe,
|
|
104
|
-
tooltip: tooltipSlotRecipe
|
|
107
|
+
tooltip: tooltipSlotRecipe,
|
|
108
|
+
treeView: treeViewSlotRecipe
|
|
105
109
|
};
|
|
106
110
|
//#endregion
|
|
107
111
|
export { slotRecipes as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../lib/theme/slot-recipes/index.ts"],"sourcesContent":["import accordionSlotRecipe from './Accordion.recipe.ts';\nimport actionBarSlotRecipe from './ActionBar.recipe.ts';\nimport alertSlotRecipe from './Alert.recipe.ts';\nimport avatarSlotRecipe from './Avatar.recipe.ts';\nimport breadcrumbSlotRecipe from './Breadcrumb.recipe.ts';\nimport cardSlotRecipe from './Card.recipe';\nimport checkboxSlotRecipe from './Checkbox.recipe';\nimport codeSnippetSlotRecipe from './CodeSnippet.recipe.ts';\nimport collapsibleSlotRecipe from './Collapsible.recipe.ts';\nimport comboboxSlotRecipe from './Combobox.recipe.ts';\nimport datePickerSlotRecipe from './DatePicker.recipe.ts';\nimport datePickerSelectSlotRecipe from './DatePickerSelect.recipe.ts';\nimport dialogSlotRecipe from './Dialog.recipe.ts';\nimport draggableCardSlotRecipe from './DraggableCard.recipe.ts';\nimport emptyStateSlotRecipe from './EmptyState.recipe';\nimport expandableCardSlotRecipe from './ExpandableCard.recipe.ts';\nimport fieldSlotRecipe from './Field.recipe';\nimport fieldsetSlotRecipe from './Fieldset.recipe.ts';\nimport fileUploadSlotRecipe from './FileUpload.recipe.ts';\nimport groupHeadingSlotRecipe from './GroupHeading.recipe.ts';\nimport imageCropperSlotRecipe from './ImageCropper.recipe.ts';\nimport inlineLoadingSlotRecipe from './InlineLoading.recipe.ts';\nimport labeledDataSlotRecipe from './LabeledData.recipe.ts';\nimport listSlotRecipe from './List.recipe.ts';\nimport markdownSlotRecipe from './Markdown.recipe.ts';\nimport markdownCardSlotRecipe from './MarkdownCard.recipe.ts';\nimport menuSlotRecipe from './Menu.recipe.ts';\nimport nativeSelectSlotRecipe from './NativeSelect.recipe.ts';\nimport noteCardSlotRecipe from './NoteCard.recipe.ts';\nimport numberInputSlotRecipe from './NumberInput.recipe';\nimport overflowContentSlotRecipe from './OverflowContent.recipe.ts';\nimport pageFooterSlotRecipe from './PageFooter.recipe.ts';\nimport paginationSlotRecipe from './Pagination.recipe.ts';\nimport paginationLoadMoreSlotRecipe from './PaginationLoadMore.recipe.ts';\nimport radioGroupSlotRecipe from './RadioGroup.recipe.ts';\nimport ribbonSlotRecipe from './Ribbon.recipe.ts';\nimport sectionHeadingSlotRecipe from './SectionHeading.recipe.ts';\nimport segmentGroupSlotRecipe from './SegmentGroup.recipe.ts';\nimport { selectSlotRecipe } from './Select.recipe.ts';\nimport sidebarSlotRecipe from './Sidebar.recipe.ts';\nimport splitButtonSlotRecipe from './SplitButton.recipe.ts';\nimport statSlotRecipe from './Stat.recipe.ts';\nimport stepCardSlotRecipe from './StepCard.recipe.ts';\nimport stepsSlotRecipe from './Steps.recipe.ts';\nimport switchSlotRecipe from './Switch.recipe';\nimport tableSlotRecipe from './Table.recipe.ts';\nimport tabsSlotRecipe from './Tabs.recipe';\nimport tagSlotRecipe from './Tag.recipe.ts';\nimport tagsInputSlotRecipe from './TagsInput.recipe.ts';\nimport toastSlotRecipe from './Toast.recipe';\nimport tooltipSlotRecipe from './Tooltip.recipe';\n\nconst slotRecipes = {\n accordion: accordionSlotRecipe,\n actionBar: actionBarSlotRecipe,\n alert: alertSlotRecipe,\n avatar: avatarSlotRecipe,\n breadcrumb: breadcrumbSlotRecipe,\n card: cardSlotRecipe,\n checkbox: checkboxSlotRecipe,\n codeSnippet: codeSnippetSlotRecipe,\n collapsible: collapsibleSlotRecipe,\n combobox: comboboxSlotRecipe,\n datePicker: datePickerSlotRecipe,\n datePickerSelect: datePickerSelectSlotRecipe,\n dialog: dialogSlotRecipe,\n draggableCard: draggableCardSlotRecipe,\n emptyState: emptyStateSlotRecipe,\n expandableCard: expandableCardSlotRecipe,\n field: fieldSlotRecipe,\n groupHeading: groupHeadingSlotRecipe,\n fieldset: fieldsetSlotRecipe,\n fileUpload: fileUploadSlotRecipe,\n imageCropper: imageCropperSlotRecipe,\n inlineLoading: inlineLoadingSlotRecipe,\n list: listSlotRecipe,\n markdown: markdownSlotRecipe,\n markdownCard: markdownCardSlotRecipe,\n menu: menuSlotRecipe,\n noteCard: noteCardSlotRecipe,\n nativeSelect: nativeSelectSlotRecipe,\n numberInput: numberInputSlotRecipe,\n overflowContent: overflowContentSlotRecipe,\n pageFooter: pageFooterSlotRecipe,\n pagination: paginationSlotRecipe,\n paginationLoadMore: paginationLoadMoreSlotRecipe,\n radioGroup: radioGroupSlotRecipe,\n ribbon: ribbonSlotRecipe,\n sectionHeading: sectionHeadingSlotRecipe,\n labeledData: labeledDataSlotRecipe,\n segmentGroup: segmentGroupSlotRecipe,\n sidebar: sidebarSlotRecipe,\n select: selectSlotRecipe,\n splitButton: splitButtonSlotRecipe,\n stat: statSlotRecipe,\n stepsCard: stepCardSlotRecipe,\n steps: stepsSlotRecipe,\n switch: switchSlotRecipe,\n table: tableSlotRecipe,\n tabs: tabsSlotRecipe,\n tag: tagSlotRecipe,\n tagsInput: tagsInputSlotRecipe,\n toast: toastSlotRecipe,\n tooltip: tooltipSlotRecipe,\n};\n\nexport default slotRecipes;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../lib/theme/slot-recipes/index.ts"],"sourcesContent":["import accordionSlotRecipe from './Accordion.recipe.ts';\nimport actionBarSlotRecipe from './ActionBar.recipe.ts';\nimport alertSlotRecipe from './Alert.recipe.ts';\nimport avatarSlotRecipe from './Avatar.recipe.ts';\nimport breadcrumbSlotRecipe from './Breadcrumb.recipe.ts';\nimport cardSlotRecipe from './Card.recipe';\nimport checkboxSlotRecipe from './Checkbox.recipe';\nimport codeSnippetSlotRecipe from './CodeSnippet.recipe.ts';\nimport collapsibleSlotRecipe from './Collapsible.recipe.ts';\nimport comboboxSlotRecipe from './Combobox.recipe.ts';\nimport datePickerSlotRecipe from './DatePicker.recipe.ts';\nimport datePickerSelectSlotRecipe from './DatePickerSelect.recipe.ts';\nimport dialogSlotRecipe from './Dialog.recipe.ts';\nimport draggableCardSlotRecipe from './DraggableCard.recipe.ts';\nimport drawerSlotRecipe from './Drawer.recipe.ts';\nimport emptyStateSlotRecipe from './EmptyState.recipe';\nimport expandableCardSlotRecipe from './ExpandableCard.recipe.ts';\nimport fieldSlotRecipe from './Field.recipe';\nimport fieldsetSlotRecipe from './Fieldset.recipe.ts';\nimport fileUploadSlotRecipe from './FileUpload.recipe.ts';\nimport groupHeadingSlotRecipe from './GroupHeading.recipe.ts';\nimport imageCropperSlotRecipe from './ImageCropper.recipe.ts';\nimport inlineLoadingSlotRecipe from './InlineLoading.recipe.ts';\nimport labeledDataSlotRecipe from './LabeledData.recipe.ts';\nimport listSlotRecipe from './List.recipe.ts';\nimport markdownSlotRecipe from './Markdown.recipe.ts';\nimport markdownCardSlotRecipe from './MarkdownCard.recipe.ts';\nimport menuSlotRecipe from './Menu.recipe.ts';\nimport nativeSelectSlotRecipe from './NativeSelect.recipe.ts';\nimport noteCardSlotRecipe from './NoteCard.recipe.ts';\nimport numberInputSlotRecipe from './NumberInput.recipe';\nimport overflowContentSlotRecipe from './OverflowContent.recipe.ts';\nimport pageFooterSlotRecipe from './PageFooter.recipe.ts';\nimport paginationSlotRecipe from './Pagination.recipe.ts';\nimport paginationLoadMoreSlotRecipe from './PaginationLoadMore.recipe.ts';\nimport radioGroupSlotRecipe from './RadioGroup.recipe.ts';\nimport ribbonSlotRecipe from './Ribbon.recipe.ts';\nimport sectionHeadingSlotRecipe from './SectionHeading.recipe.ts';\nimport segmentGroupSlotRecipe from './SegmentGroup.recipe.ts';\nimport { selectSlotRecipe } from './Select.recipe.ts';\nimport sidebarSlotRecipe from './Sidebar.recipe.ts';\nimport splitButtonSlotRecipe from './SplitButton.recipe.ts';\nimport statSlotRecipe from './Stat.recipe.ts';\nimport stepCardSlotRecipe from './StepCard.recipe.ts';\nimport stepsSlotRecipe from './Steps.recipe.ts';\nimport switchSlotRecipe from './Switch.recipe';\nimport tableSlotRecipe from './Table.recipe.ts';\nimport tabsSlotRecipe from './Tabs.recipe';\nimport tagSlotRecipe from './Tag.recipe.ts';\nimport tagsInputSlotRecipe from './TagsInput.recipe.ts';\nimport toastSlotRecipe from './Toast.recipe';\nimport tooltipSlotRecipe from './Tooltip.recipe';\nimport treeViewSlotRecipe from './TreeView.recipe.ts';\n\nconst slotRecipes = {\n accordion: accordionSlotRecipe,\n actionBar: actionBarSlotRecipe,\n alert: alertSlotRecipe,\n avatar: avatarSlotRecipe,\n breadcrumb: breadcrumbSlotRecipe,\n card: cardSlotRecipe,\n checkbox: checkboxSlotRecipe,\n codeSnippet: codeSnippetSlotRecipe,\n collapsible: collapsibleSlotRecipe,\n combobox: comboboxSlotRecipe,\n datePicker: datePickerSlotRecipe,\n datePickerSelect: datePickerSelectSlotRecipe,\n dialog: dialogSlotRecipe,\n draggableCard: draggableCardSlotRecipe,\n drawer: drawerSlotRecipe,\n emptyState: emptyStateSlotRecipe,\n expandableCard: expandableCardSlotRecipe,\n field: fieldSlotRecipe,\n groupHeading: groupHeadingSlotRecipe,\n fieldset: fieldsetSlotRecipe,\n fileUpload: fileUploadSlotRecipe,\n imageCropper: imageCropperSlotRecipe,\n inlineLoading: inlineLoadingSlotRecipe,\n list: listSlotRecipe,\n markdown: markdownSlotRecipe,\n markdownCard: markdownCardSlotRecipe,\n menu: menuSlotRecipe,\n noteCard: noteCardSlotRecipe,\n nativeSelect: nativeSelectSlotRecipe,\n numberInput: numberInputSlotRecipe,\n overflowContent: overflowContentSlotRecipe,\n pageFooter: pageFooterSlotRecipe,\n pagination: paginationSlotRecipe,\n paginationLoadMore: paginationLoadMoreSlotRecipe,\n radioGroup: radioGroupSlotRecipe,\n ribbon: ribbonSlotRecipe,\n sectionHeading: sectionHeadingSlotRecipe,\n labeledData: labeledDataSlotRecipe,\n segmentGroup: segmentGroupSlotRecipe,\n sidebar: sidebarSlotRecipe,\n select: selectSlotRecipe,\n splitButton: splitButtonSlotRecipe,\n stat: statSlotRecipe,\n stepsCard: stepCardSlotRecipe,\n steps: stepsSlotRecipe,\n switch: switchSlotRecipe,\n table: tableSlotRecipe,\n tabs: tabsSlotRecipe,\n tag: tagSlotRecipe,\n tagsInput: tagsInputSlotRecipe,\n toast: toastSlotRecipe,\n tooltip: tooltipSlotRecipe,\n treeView: treeViewSlotRecipe,\n};\n\nexport default slotRecipes;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDA,IAAM,cAAc;CAClB,WAAW;CACX,WAAW;CACX,OAAO;CACP,QAAQ;CACR,YAAY;CACZ,MAAM;CACN,UAAU;CACV,aAAa;CACb,aAAa;CACb,UAAU;CACV,YAAY;CACZ,kBAAkB;CAClB,QAAQ;CACR,eAAe;CACf,QAAQ;CACR,YAAY;CACZ,gBAAgB;CAChB,OAAO;CACP,cAAc;CACd,UAAU;CACV,YAAY;CACZ,cAAc;CACd,eAAe;CACf,MAAM;CACN,UAAU;CACV,cAAc;CACd,MAAM;CACN,UAAU;CACV,cAAc;CACd,aAAa;CACb,iBAAiB;CACjB,YAAY;CACZ,YAAY;CACZ,oBAAoB;CACpB,YAAY;CACZ,QAAQ;CACR,gBAAgB;CAChB,aAAa;CACb,cAAc;CACd,SAAS;CACT,QAAQ;CACR,aAAa;CACb,MAAM;CACN,WAAW;CACX,OAAO;CACP,QAAQ;CACR,OAAO;CACP,MAAM;CACN,KAAK;CACL,WAAW;CACX,OAAO;CACP,SAAS;CACT,UAAU;CACX"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitrise/bitkit-v2",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.198",
|
|
5
5
|
"description": "Bitrise Design System Components built with Chakra UI V3",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"react",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"release-it": "^19.2.4",
|
|
75
75
|
"storybook": "10.3.5",
|
|
76
76
|
"tsx": "^4.21.0",
|
|
77
|
-
"typescript": "^6.0.
|
|
77
|
+
"typescript": "^6.0.3",
|
|
78
78
|
"vite": "^8.0.8",
|
|
79
79
|
"vite-plugin-dts": "^4.5.4",
|
|
80
80
|
"vite-plugin-svgr": "^5.2.0"
|