@bitrise/bitkit-v2 0.3.161 → 0.3.163
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/BitkitCodeSnippet/BitkitCodeSnippet.d.ts +10 -0
- package/dist/components/BitkitCodeSnippet/BitkitCodeSnippet.js +82 -0
- package/dist/components/BitkitToggleButton/BitkitToggleButton.d.ts +15 -0
- package/dist/components/BitkitToggleButton/BitkitToggleButton.js +38 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/main.js +180 -176
- package/dist/theme/recipes/ToggleButton.recipe.d.ts +14 -0
- package/dist/theme/recipes/ToggleButton.recipe.js +47 -0
- package/dist/theme/recipes/index.d.ts +13 -0
- package/dist/theme/recipes/index.js +8 -6
- package/dist/theme/slot-recipes/CodeSnippet.recipe.d.ts +153 -0
- package/dist/theme/slot-recipes/CodeSnippet.recipe.js +218 -0
- package/dist/theme/slot-recipes/index.d.ts +152 -0
- package/dist/theme/slot-recipes/index.js +44 -42
- package/package.json +1 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { defineRecipe as o } from "@chakra-ui/react/styled-system";
|
|
2
|
+
var r = {
|
|
3
|
+
background: "background/selected",
|
|
4
|
+
borderColor: "border/selected",
|
|
5
|
+
color: "icon/interactive"
|
|
6
|
+
}, d = {
|
|
7
|
+
background: "background/selected-hover",
|
|
8
|
+
borderColor: "border/selected",
|
|
9
|
+
color: "icon/interactive-hover"
|
|
10
|
+
}, e = {
|
|
11
|
+
background: "button/secondary/bg-disabled",
|
|
12
|
+
borderColor: "button/secondary/border-disabled",
|
|
13
|
+
color: "button/secondary/fg-disabled"
|
|
14
|
+
}, n = o({
|
|
15
|
+
className: "toggle-button",
|
|
16
|
+
base: {
|
|
17
|
+
display: "inline-flex",
|
|
18
|
+
alignItems: "center",
|
|
19
|
+
justifyContent: "center",
|
|
20
|
+
borderRadius: "4",
|
|
21
|
+
cursor: "pointer",
|
|
22
|
+
borderWidth: "1px",
|
|
23
|
+
background: "button/secondary/bg",
|
|
24
|
+
borderColor: "button/secondary/border",
|
|
25
|
+
color: "button/secondary/fg/icon",
|
|
26
|
+
_hover: {
|
|
27
|
+
background: "button/secondary/bg-hover",
|
|
28
|
+
borderColor: "button/secondary/border-hover",
|
|
29
|
+
_pressed: d
|
|
30
|
+
},
|
|
31
|
+
_pressed: r,
|
|
32
|
+
_disabled: {
|
|
33
|
+
cursor: "not-allowed",
|
|
34
|
+
...e,
|
|
35
|
+
_pressed: e
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
variants: { size: {
|
|
39
|
+
sm: { padding: "8" },
|
|
40
|
+
md: { padding: "12" },
|
|
41
|
+
lg: { padding: "12" }
|
|
42
|
+
} },
|
|
43
|
+
defaultVariants: { size: "md" }
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
n as default
|
|
47
|
+
};
|
|
@@ -241,5 +241,18 @@ declare const recipes: {
|
|
|
241
241
|
};
|
|
242
242
|
}>;
|
|
243
243
|
textarea: import('@chakra-ui/react').RecipeDefinition<Record<"size", Record<"md" | "lg", import('@chakra-ui/react').SystemStyleObject>>>;
|
|
244
|
+
toggleButton: import('@chakra-ui/react').RecipeDefinition<{
|
|
245
|
+
size: {
|
|
246
|
+
sm: {
|
|
247
|
+
padding: "8";
|
|
248
|
+
};
|
|
249
|
+
md: {
|
|
250
|
+
padding: "12";
|
|
251
|
+
};
|
|
252
|
+
lg: {
|
|
253
|
+
padding: "12";
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
}>;
|
|
244
257
|
};
|
|
245
258
|
export default recipes;
|
|
@@ -9,9 +9,10 @@ import m from "./Link.recipe.js";
|
|
|
9
9
|
import c from "./LinkButton.recipe.js";
|
|
10
10
|
import f from "./Separator.recipe.js";
|
|
11
11
|
import l from "./Skeleton.recipe.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
|
|
12
|
+
import u from "./Spinner.recipe.js";
|
|
13
|
+
import R from "./Textarea.recipe.js";
|
|
14
|
+
import a from "./ToggleButton.recipe.js";
|
|
15
|
+
var z = {
|
|
15
16
|
badge: e,
|
|
16
17
|
button: i,
|
|
17
18
|
closeButton: r,
|
|
@@ -23,9 +24,10 @@ var w = {
|
|
|
23
24
|
linkButton: c,
|
|
24
25
|
separator: f,
|
|
25
26
|
skeleton: l,
|
|
26
|
-
spinner:
|
|
27
|
-
textarea:
|
|
27
|
+
spinner: u,
|
|
28
|
+
textarea: R,
|
|
29
|
+
toggleButton: a
|
|
28
30
|
};
|
|
29
31
|
export {
|
|
30
|
-
|
|
32
|
+
z as default
|
|
31
33
|
};
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
declare const codeSnippetSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "root" | "copyButton" | "showMoreContainer" | "showMoreGradient" | "showMoreButton", {
|
|
2
|
+
variant: {
|
|
3
|
+
inline: {
|
|
4
|
+
root: {
|
|
5
|
+
alignItems: "center";
|
|
6
|
+
borderRadius: "2";
|
|
7
|
+
color: "text/body";
|
|
8
|
+
cursor: "pointer";
|
|
9
|
+
display: "inline-flex";
|
|
10
|
+
paddingBlock: "2";
|
|
11
|
+
paddingInline: "6";
|
|
12
|
+
userSelect: "none";
|
|
13
|
+
whiteSpace: "nowrap";
|
|
14
|
+
_hover: {
|
|
15
|
+
background: "background/hover";
|
|
16
|
+
};
|
|
17
|
+
_active: {
|
|
18
|
+
background: "background/active";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
single: {
|
|
23
|
+
root: {
|
|
24
|
+
alignItems: "center";
|
|
25
|
+
borderRadius: "4";
|
|
26
|
+
display: "flex";
|
|
27
|
+
height: "40";
|
|
28
|
+
isolation: "isolate";
|
|
29
|
+
overflow: "hidden";
|
|
30
|
+
whiteSpace: "nowrap";
|
|
31
|
+
};
|
|
32
|
+
content: {
|
|
33
|
+
alignItems: "center";
|
|
34
|
+
display: "flex";
|
|
35
|
+
height: "40";
|
|
36
|
+
overflow: "hidden";
|
|
37
|
+
paddingInlineStart: "16";
|
|
38
|
+
position: "relative";
|
|
39
|
+
_after: {
|
|
40
|
+
background: "linear-gradient(to left, var(--colors-background-secondary), transparent)";
|
|
41
|
+
content: "\"\"";
|
|
42
|
+
height: "40";
|
|
43
|
+
pointerEvents: "none";
|
|
44
|
+
position: "absolute";
|
|
45
|
+
right: "0";
|
|
46
|
+
top: "0";
|
|
47
|
+
width: "8";
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
copyButton: {
|
|
51
|
+
flexShrink: "0";
|
|
52
|
+
padding: "12";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
multi: {
|
|
56
|
+
root: {
|
|
57
|
+
borderRadius: "4";
|
|
58
|
+
display: "flex";
|
|
59
|
+
flexDirection: "column";
|
|
60
|
+
padding: "16";
|
|
61
|
+
position: "relative";
|
|
62
|
+
};
|
|
63
|
+
content: {
|
|
64
|
+
color: "text/body";
|
|
65
|
+
overflowY: "auto";
|
|
66
|
+
transition: "max-height 0.3s ease";
|
|
67
|
+
whiteSpace: "pre-wrap";
|
|
68
|
+
};
|
|
69
|
+
copyButton: {
|
|
70
|
+
borderRadius: "4";
|
|
71
|
+
overflow: "hidden";
|
|
72
|
+
padding: "8";
|
|
73
|
+
position: "absolute";
|
|
74
|
+
right: number;
|
|
75
|
+
top: number;
|
|
76
|
+
};
|
|
77
|
+
showMoreContainer: {
|
|
78
|
+
alignItems: "center";
|
|
79
|
+
display: "flex";
|
|
80
|
+
justifyContent: "flex-end";
|
|
81
|
+
};
|
|
82
|
+
showMoreGradient: {
|
|
83
|
+
background: "linear-gradient(to top, var(--colors-background-secondary) 33%, transparent)";
|
|
84
|
+
borderBottomRadius: "4";
|
|
85
|
+
bottom: number;
|
|
86
|
+
height: "40";
|
|
87
|
+
left: number;
|
|
88
|
+
pointerEvents: "none";
|
|
89
|
+
position: "absolute";
|
|
90
|
+
right: number;
|
|
91
|
+
};
|
|
92
|
+
showMoreButton: {
|
|
93
|
+
alignItems: "center";
|
|
94
|
+
background: "background/secondary";
|
|
95
|
+
borderRadius: "4";
|
|
96
|
+
color: "text/secondary";
|
|
97
|
+
cursor: "pointer";
|
|
98
|
+
display: "flex";
|
|
99
|
+
gap: "4";
|
|
100
|
+
justifyContent: "center";
|
|
101
|
+
minWidth: "64";
|
|
102
|
+
paddingBlock: "8";
|
|
103
|
+
paddingInline: "12";
|
|
104
|
+
position: "relative";
|
|
105
|
+
textStyle: "comp/button/md";
|
|
106
|
+
_hover: {
|
|
107
|
+
background: "background/hover";
|
|
108
|
+
color: "text/primary";
|
|
109
|
+
_active: {
|
|
110
|
+
background: "background/active";
|
|
111
|
+
color: "text/primary";
|
|
112
|
+
overflow: "hidden";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
_active: {
|
|
116
|
+
background: "background/active";
|
|
117
|
+
color: "text/primary";
|
|
118
|
+
overflow: "hidden";
|
|
119
|
+
};
|
|
120
|
+
_focusVisible: {
|
|
121
|
+
outlineOffset: "-3px";
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
size: {
|
|
127
|
+
md: {
|
|
128
|
+
root: {
|
|
129
|
+
textStyle: "code/md";
|
|
130
|
+
};
|
|
131
|
+
content: {
|
|
132
|
+
textStyle: "code/md";
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
lg: {
|
|
136
|
+
root: {
|
|
137
|
+
textStyle: "code/lg";
|
|
138
|
+
};
|
|
139
|
+
content: {
|
|
140
|
+
textStyle: "code/lg";
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
hasShowMore: {
|
|
145
|
+
true: {};
|
|
146
|
+
false: {};
|
|
147
|
+
};
|
|
148
|
+
isExpanded: {
|
|
149
|
+
true: {};
|
|
150
|
+
false: {};
|
|
151
|
+
};
|
|
152
|
+
}>;
|
|
153
|
+
export default codeSnippetSlotRecipe;
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { defineSlotRecipe as o } from "@chakra-ui/react/styled-system";
|
|
2
|
+
var t = o({
|
|
3
|
+
className: "code-snippet",
|
|
4
|
+
slots: [
|
|
5
|
+
"root",
|
|
6
|
+
"content",
|
|
7
|
+
"copyButton",
|
|
8
|
+
"showMoreContainer",
|
|
9
|
+
"showMoreGradient",
|
|
10
|
+
"showMoreButton"
|
|
11
|
+
],
|
|
12
|
+
base: {
|
|
13
|
+
root: { background: "background/secondary" },
|
|
14
|
+
content: {
|
|
15
|
+
flex: "1",
|
|
16
|
+
minWidth: 0
|
|
17
|
+
},
|
|
18
|
+
copyButton: {
|
|
19
|
+
background: "background/secondary",
|
|
20
|
+
color: "icon/secondary",
|
|
21
|
+
cursor: "pointer",
|
|
22
|
+
_hover: {
|
|
23
|
+
background: "background/hover",
|
|
24
|
+
color: "icon/primary",
|
|
25
|
+
_active: {
|
|
26
|
+
background: "background/active",
|
|
27
|
+
color: "icon/primary"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
_active: {
|
|
31
|
+
background: "background/active",
|
|
32
|
+
color: "icon/primary"
|
|
33
|
+
},
|
|
34
|
+
_focusVisible: { outlineOffset: "-3px" }
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
variants: {
|
|
38
|
+
variant: {
|
|
39
|
+
inline: { root: {
|
|
40
|
+
alignItems: "center",
|
|
41
|
+
borderRadius: "2",
|
|
42
|
+
color: "text/body",
|
|
43
|
+
cursor: "pointer",
|
|
44
|
+
display: "inline-flex",
|
|
45
|
+
paddingBlock: "2",
|
|
46
|
+
paddingInline: "6",
|
|
47
|
+
userSelect: "none",
|
|
48
|
+
whiteSpace: "nowrap",
|
|
49
|
+
_hover: { background: "background/hover" },
|
|
50
|
+
_active: { background: "background/active" }
|
|
51
|
+
} },
|
|
52
|
+
single: {
|
|
53
|
+
root: {
|
|
54
|
+
alignItems: "center",
|
|
55
|
+
borderRadius: "4",
|
|
56
|
+
display: "flex",
|
|
57
|
+
height: "40",
|
|
58
|
+
isolation: "isolate",
|
|
59
|
+
overflow: "hidden",
|
|
60
|
+
whiteSpace: "nowrap"
|
|
61
|
+
},
|
|
62
|
+
content: {
|
|
63
|
+
alignItems: "center",
|
|
64
|
+
display: "flex",
|
|
65
|
+
height: "40",
|
|
66
|
+
overflow: "hidden",
|
|
67
|
+
paddingInlineStart: "16",
|
|
68
|
+
position: "relative",
|
|
69
|
+
_after: {
|
|
70
|
+
background: "linear-gradient(to left, var(--colors-background-secondary), transparent)",
|
|
71
|
+
content: '""',
|
|
72
|
+
height: "40",
|
|
73
|
+
pointerEvents: "none",
|
|
74
|
+
position: "absolute",
|
|
75
|
+
right: "0",
|
|
76
|
+
top: "0",
|
|
77
|
+
width: "8"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
copyButton: {
|
|
81
|
+
flexShrink: "0",
|
|
82
|
+
padding: "12"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
multi: {
|
|
86
|
+
root: {
|
|
87
|
+
borderRadius: "4",
|
|
88
|
+
display: "flex",
|
|
89
|
+
flexDirection: "column",
|
|
90
|
+
padding: "16",
|
|
91
|
+
position: "relative"
|
|
92
|
+
},
|
|
93
|
+
content: {
|
|
94
|
+
color: "text/body",
|
|
95
|
+
overflowY: "auto",
|
|
96
|
+
transition: "max-height 0.3s ease",
|
|
97
|
+
whiteSpace: "pre-wrap"
|
|
98
|
+
},
|
|
99
|
+
copyButton: {
|
|
100
|
+
borderRadius: "4",
|
|
101
|
+
overflow: "hidden",
|
|
102
|
+
padding: "8",
|
|
103
|
+
position: "absolute",
|
|
104
|
+
right: 0,
|
|
105
|
+
top: 0
|
|
106
|
+
},
|
|
107
|
+
showMoreContainer: {
|
|
108
|
+
alignItems: "center",
|
|
109
|
+
display: "flex",
|
|
110
|
+
justifyContent: "flex-end"
|
|
111
|
+
},
|
|
112
|
+
showMoreGradient: {
|
|
113
|
+
background: "linear-gradient(to top, var(--colors-background-secondary) 33%, transparent)",
|
|
114
|
+
borderBottomRadius: "4",
|
|
115
|
+
bottom: 0,
|
|
116
|
+
height: "40",
|
|
117
|
+
left: 0,
|
|
118
|
+
pointerEvents: "none",
|
|
119
|
+
position: "absolute",
|
|
120
|
+
right: 0
|
|
121
|
+
},
|
|
122
|
+
showMoreButton: {
|
|
123
|
+
alignItems: "center",
|
|
124
|
+
background: "background/secondary",
|
|
125
|
+
borderRadius: "4",
|
|
126
|
+
color: "text/secondary",
|
|
127
|
+
cursor: "pointer",
|
|
128
|
+
display: "flex",
|
|
129
|
+
gap: "4",
|
|
130
|
+
justifyContent: "center",
|
|
131
|
+
minWidth: "64",
|
|
132
|
+
paddingBlock: "8",
|
|
133
|
+
paddingInline: "12",
|
|
134
|
+
position: "relative",
|
|
135
|
+
textStyle: "comp/button/md",
|
|
136
|
+
_hover: {
|
|
137
|
+
background: "background/hover",
|
|
138
|
+
color: "text/primary",
|
|
139
|
+
_active: {
|
|
140
|
+
background: "background/active",
|
|
141
|
+
color: "text/primary",
|
|
142
|
+
overflow: "hidden"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
_active: {
|
|
146
|
+
background: "background/active",
|
|
147
|
+
color: "text/primary",
|
|
148
|
+
overflow: "hidden"
|
|
149
|
+
},
|
|
150
|
+
_focusVisible: { outlineOffset: "-3px" }
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
size: {
|
|
155
|
+
md: {
|
|
156
|
+
root: { textStyle: "code/md" },
|
|
157
|
+
content: { textStyle: "code/md" }
|
|
158
|
+
},
|
|
159
|
+
lg: {
|
|
160
|
+
root: { textStyle: "code/lg" },
|
|
161
|
+
content: { textStyle: "code/lg" }
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
hasShowMore: {
|
|
165
|
+
true: {},
|
|
166
|
+
false: {}
|
|
167
|
+
},
|
|
168
|
+
isExpanded: {
|
|
169
|
+
true: {},
|
|
170
|
+
false: {}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
compoundVariants: [
|
|
174
|
+
{
|
|
175
|
+
variant: "multi",
|
|
176
|
+
hasShowMore: !0,
|
|
177
|
+
css: { root: {
|
|
178
|
+
paddingBlockEnd: 0,
|
|
179
|
+
paddingInlineEnd: "8"
|
|
180
|
+
} }
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
variant: "multi",
|
|
184
|
+
hasShowMore: !0,
|
|
185
|
+
isExpanded: !1,
|
|
186
|
+
css: { showMoreContainer: {
|
|
187
|
+
bottom: 0,
|
|
188
|
+
left: 0,
|
|
189
|
+
position: "absolute",
|
|
190
|
+
right: 0
|
|
191
|
+
} }
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
variant: "multi",
|
|
195
|
+
hasShowMore: !0,
|
|
196
|
+
isExpanded: !0,
|
|
197
|
+
css: {
|
|
198
|
+
root: {
|
|
199
|
+
padding: 0,
|
|
200
|
+
paddingInlineEnd: 0
|
|
201
|
+
},
|
|
202
|
+
content: {
|
|
203
|
+
overflow: "auto",
|
|
204
|
+
padding: "16",
|
|
205
|
+
paddingBlockEnd: 0
|
|
206
|
+
},
|
|
207
|
+
showMoreContainer: { position: "relative" }
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
defaultVariants: {
|
|
212
|
+
size: "lg",
|
|
213
|
+
variant: "single"
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
export {
|
|
217
|
+
t as default
|
|
218
|
+
};
|
|
@@ -313,6 +313,158 @@ declare const slotRecipes: {
|
|
|
313
313
|
};
|
|
314
314
|
};
|
|
315
315
|
}>;
|
|
316
|
+
codeSnippet: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "root" | "copyButton" | "showMoreContainer" | "showMoreGradient" | "showMoreButton", {
|
|
317
|
+
variant: {
|
|
318
|
+
inline: {
|
|
319
|
+
root: {
|
|
320
|
+
alignItems: "center";
|
|
321
|
+
borderRadius: "2";
|
|
322
|
+
color: "text/body";
|
|
323
|
+
cursor: "pointer";
|
|
324
|
+
display: "inline-flex";
|
|
325
|
+
paddingBlock: "2";
|
|
326
|
+
paddingInline: "6";
|
|
327
|
+
userSelect: "none";
|
|
328
|
+
whiteSpace: "nowrap";
|
|
329
|
+
_hover: {
|
|
330
|
+
background: "background/hover";
|
|
331
|
+
};
|
|
332
|
+
_active: {
|
|
333
|
+
background: "background/active";
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
single: {
|
|
338
|
+
root: {
|
|
339
|
+
alignItems: "center";
|
|
340
|
+
borderRadius: "4";
|
|
341
|
+
display: "flex";
|
|
342
|
+
height: "40";
|
|
343
|
+
isolation: "isolate";
|
|
344
|
+
overflow: "hidden";
|
|
345
|
+
whiteSpace: "nowrap";
|
|
346
|
+
};
|
|
347
|
+
content: {
|
|
348
|
+
alignItems: "center";
|
|
349
|
+
display: "flex";
|
|
350
|
+
height: "40";
|
|
351
|
+
overflow: "hidden";
|
|
352
|
+
paddingInlineStart: "16";
|
|
353
|
+
position: "relative";
|
|
354
|
+
_after: {
|
|
355
|
+
background: "linear-gradient(to left, var(--colors-background-secondary), transparent)";
|
|
356
|
+
content: "\"\"";
|
|
357
|
+
height: "40";
|
|
358
|
+
pointerEvents: "none";
|
|
359
|
+
position: "absolute";
|
|
360
|
+
right: "0";
|
|
361
|
+
top: "0";
|
|
362
|
+
width: "8";
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
copyButton: {
|
|
366
|
+
flexShrink: "0";
|
|
367
|
+
padding: "12";
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
multi: {
|
|
371
|
+
root: {
|
|
372
|
+
borderRadius: "4";
|
|
373
|
+
display: "flex";
|
|
374
|
+
flexDirection: "column";
|
|
375
|
+
padding: "16";
|
|
376
|
+
position: "relative";
|
|
377
|
+
};
|
|
378
|
+
content: {
|
|
379
|
+
color: "text/body";
|
|
380
|
+
overflowY: "auto";
|
|
381
|
+
transition: "max-height 0.3s ease";
|
|
382
|
+
whiteSpace: "pre-wrap";
|
|
383
|
+
};
|
|
384
|
+
copyButton: {
|
|
385
|
+
borderRadius: "4";
|
|
386
|
+
overflow: "hidden";
|
|
387
|
+
padding: "8";
|
|
388
|
+
position: "absolute";
|
|
389
|
+
right: number;
|
|
390
|
+
top: number;
|
|
391
|
+
};
|
|
392
|
+
showMoreContainer: {
|
|
393
|
+
alignItems: "center";
|
|
394
|
+
display: "flex";
|
|
395
|
+
justifyContent: "flex-end";
|
|
396
|
+
};
|
|
397
|
+
showMoreGradient: {
|
|
398
|
+
background: "linear-gradient(to top, var(--colors-background-secondary) 33%, transparent)";
|
|
399
|
+
borderBottomRadius: "4";
|
|
400
|
+
bottom: number;
|
|
401
|
+
height: "40";
|
|
402
|
+
left: number;
|
|
403
|
+
pointerEvents: "none";
|
|
404
|
+
position: "absolute";
|
|
405
|
+
right: number;
|
|
406
|
+
};
|
|
407
|
+
showMoreButton: {
|
|
408
|
+
alignItems: "center";
|
|
409
|
+
background: "background/secondary";
|
|
410
|
+
borderRadius: "4";
|
|
411
|
+
color: "text/secondary";
|
|
412
|
+
cursor: "pointer";
|
|
413
|
+
display: "flex";
|
|
414
|
+
gap: "4";
|
|
415
|
+
justifyContent: "center";
|
|
416
|
+
minWidth: "64";
|
|
417
|
+
paddingBlock: "8";
|
|
418
|
+
paddingInline: "12";
|
|
419
|
+
position: "relative";
|
|
420
|
+
textStyle: "comp/button/md";
|
|
421
|
+
_hover: {
|
|
422
|
+
background: "background/hover";
|
|
423
|
+
color: "text/primary";
|
|
424
|
+
_active: {
|
|
425
|
+
background: "background/active";
|
|
426
|
+
color: "text/primary";
|
|
427
|
+
overflow: "hidden";
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
_active: {
|
|
431
|
+
background: "background/active";
|
|
432
|
+
color: "text/primary";
|
|
433
|
+
overflow: "hidden";
|
|
434
|
+
};
|
|
435
|
+
_focusVisible: {
|
|
436
|
+
outlineOffset: "-3px";
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
size: {
|
|
442
|
+
md: {
|
|
443
|
+
root: {
|
|
444
|
+
textStyle: "code/md";
|
|
445
|
+
};
|
|
446
|
+
content: {
|
|
447
|
+
textStyle: "code/md";
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
lg: {
|
|
451
|
+
root: {
|
|
452
|
+
textStyle: "code/lg";
|
|
453
|
+
};
|
|
454
|
+
content: {
|
|
455
|
+
textStyle: "code/lg";
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
hasShowMore: {
|
|
460
|
+
true: {};
|
|
461
|
+
false: {};
|
|
462
|
+
};
|
|
463
|
+
isExpanded: {
|
|
464
|
+
true: {};
|
|
465
|
+
false: {};
|
|
466
|
+
};
|
|
467
|
+
}>;
|
|
316
468
|
combobox: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "input" | "label" | "root" | "item" | "itemIndicator" | "trigger" | "positioner" | "list" | "clearTrigger" | "control" | "itemText" | "itemGroup" | "itemGroupLabel" | "indicatorGroup" | "empty" | "emptyHelperText", {
|
|
317
469
|
size: {
|
|
318
470
|
md: {
|