@blockscout/ui-toolkit 2.2.0 → 2.3.0
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/chakra/accordion.d.ts +9 -0
- package/dist/chakra/select.d.ts +4 -0
- package/dist/components/AdaptiveTabs/AdaptiveTabsList.d.ts +1 -1
- package/dist/components/AdaptiveTabs/utils.d.ts +1 -1
- package/dist/components/RoutedTabs/RoutedTabs.d.ts +1 -0
- package/dist/index.js +5406 -5221
- package/dist/theme/foundations/colors.d.ts +1 -0
- package/dist/theme/recipes/button.recipe.d.ts +53 -47
- package/dist/theme/recipes/checkbox.recipe.d.ts +4 -4
- package/dist/theme/recipes/checkmark.recipe.d.ts +4 -4
- package/dist/theme/recipes/close-button.recipe.d.ts +1 -1
- package/dist/theme/recipes/index.d.ts +119 -116
- package/dist/theme/recipes/link.recipe.d.ts +2 -2
- package/dist/theme/recipes/menu.recipe.d.ts +1 -1
- package/dist/theme/recipes/radio-group.recipe.d.ts +4 -4
- package/dist/theme/recipes/radiomark.recipe.d.ts +4 -4
- package/dist/theme/recipes/select.recipe.d.ts +8 -8
- package/dist/theme/recipes/switch.recipe.d.ts +14 -2
- package/dist/theme/recipes/tabs.recipe.d.ts +22 -15
- package/dist/theme/recipes/tag.recipe.d.ts +2 -2
- package/dist/theme/recipes/tooltip.recipe.d.ts +0 -22
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
2
2
|
variant: {
|
|
3
3
|
solid: {
|
|
4
|
-
bg: "
|
|
4
|
+
bg: "button.solid.bg";
|
|
5
5
|
color: "white";
|
|
6
6
|
_hover: {
|
|
7
|
-
bg: "
|
|
7
|
+
bg: "hover";
|
|
8
8
|
};
|
|
9
9
|
_loading: {
|
|
10
10
|
opacity: number;
|
|
@@ -15,7 +15,7 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
_expanded: {
|
|
18
|
-
bg: "
|
|
18
|
+
bg: "hover";
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
outline: {
|
|
@@ -26,8 +26,8 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
26
26
|
borderColor: "button.outline.fg";
|
|
27
27
|
_hover: {
|
|
28
28
|
bg: "transparent";
|
|
29
|
-
color: "
|
|
30
|
-
borderColor: "
|
|
29
|
+
color: "hover";
|
|
30
|
+
borderColor: "hover";
|
|
31
31
|
};
|
|
32
32
|
_loading: {
|
|
33
33
|
opacity: number;
|
|
@@ -46,33 +46,33 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
46
46
|
borderColor: "button.dropdown.border";
|
|
47
47
|
_hover: {
|
|
48
48
|
bg: "transparent";
|
|
49
|
-
color: "
|
|
50
|
-
borderColor: "
|
|
49
|
+
color: "hover";
|
|
50
|
+
borderColor: "hover";
|
|
51
51
|
};
|
|
52
52
|
_loading: {
|
|
53
53
|
opacity: number;
|
|
54
54
|
'& .chakra-spinner': {
|
|
55
|
-
borderColor: "
|
|
55
|
+
borderColor: "selected.option.bg";
|
|
56
56
|
borderBottomColor: "spinner.track";
|
|
57
57
|
borderInlineStartColor: "spinner.track";
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
_expanded: {
|
|
61
61
|
bg: "transparent";
|
|
62
|
-
color: "
|
|
63
|
-
borderColor: "
|
|
62
|
+
color: "hover";
|
|
63
|
+
borderColor: "hover";
|
|
64
64
|
};
|
|
65
65
|
_selected: {
|
|
66
|
-
bg: "
|
|
67
|
-
color: "
|
|
66
|
+
bg: "selected.control.bg";
|
|
67
|
+
color: "selected.control.text";
|
|
68
68
|
borderColor: "transparent";
|
|
69
69
|
_hover: {
|
|
70
|
-
bg: "
|
|
71
|
-
color: "
|
|
70
|
+
bg: "selected.control.bg";
|
|
71
|
+
color: "hover";
|
|
72
72
|
borderColor: "transparent";
|
|
73
73
|
};
|
|
74
74
|
_expanded: {
|
|
75
|
-
color: "
|
|
75
|
+
color: "hover";
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
};
|
|
@@ -84,13 +84,13 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
84
84
|
borderStyle: "solid";
|
|
85
85
|
_hover: {
|
|
86
86
|
bg: "transparent";
|
|
87
|
-
color: "
|
|
88
|
-
borderColor: "
|
|
87
|
+
color: "hover";
|
|
88
|
+
borderColor: "hover";
|
|
89
89
|
};
|
|
90
90
|
_loading: {
|
|
91
91
|
opacity: number;
|
|
92
92
|
'& .chakra-spinner': {
|
|
93
|
-
borderColor: "
|
|
93
|
+
borderColor: "selected.option.bg";
|
|
94
94
|
borderBottomColor: "spinner.track";
|
|
95
95
|
borderInlineStartColor: "spinner.track";
|
|
96
96
|
};
|
|
@@ -102,10 +102,10 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
102
102
|
borderWidth: "0px";
|
|
103
103
|
_hover: {
|
|
104
104
|
bg: "button.header.bg.selected";
|
|
105
|
-
color: "
|
|
105
|
+
color: "hover";
|
|
106
106
|
};
|
|
107
107
|
_expanded: {
|
|
108
|
-
color: "
|
|
108
|
+
color: "hover";
|
|
109
109
|
};
|
|
110
110
|
_highlighted: {
|
|
111
111
|
bg: "button.header.bg.highlighted";
|
|
@@ -113,11 +113,11 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
113
113
|
borderColor: "transparent";
|
|
114
114
|
borderWidth: "0px";
|
|
115
115
|
_expanded: {
|
|
116
|
-
color: "
|
|
116
|
+
color: "hover";
|
|
117
117
|
};
|
|
118
118
|
_hover: {
|
|
119
119
|
bg: "button.header.bg.highlighted";
|
|
120
|
-
color: "
|
|
120
|
+
color: "hover";
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
123
|
};
|
|
@@ -142,33 +142,39 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
142
142
|
color: "button.hero.fg.selected";
|
|
143
143
|
_hover: {
|
|
144
144
|
bg: "button.hero.bg.selected";
|
|
145
|
-
color: "
|
|
145
|
+
color: "hover";
|
|
146
146
|
};
|
|
147
147
|
_expanded: {
|
|
148
|
-
color: "
|
|
148
|
+
color: "hover";
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
151
|
};
|
|
152
152
|
segmented: {
|
|
153
153
|
bg: "transparent";
|
|
154
154
|
color: "button.segmented.fg";
|
|
155
|
-
borderColor: "
|
|
155
|
+
borderColor: "selected.control.bg";
|
|
156
156
|
borderWidth: "2px";
|
|
157
157
|
borderStyle: "solid";
|
|
158
158
|
borderRadius: "none";
|
|
159
159
|
_hover: {
|
|
160
|
-
color: "
|
|
160
|
+
color: "hover";
|
|
161
161
|
};
|
|
162
162
|
_selected: {
|
|
163
|
-
bg: "
|
|
164
|
-
color: "
|
|
163
|
+
bg: "selected.control.bg";
|
|
164
|
+
color: "selected.control.text";
|
|
165
165
|
_hover: {
|
|
166
|
-
bg: "
|
|
167
|
-
color: "
|
|
166
|
+
bg: "selected.control.bg";
|
|
167
|
+
color: "selected.control.text";
|
|
168
|
+
};
|
|
169
|
+
'& + *': {
|
|
170
|
+
borderLeftWidth: "0";
|
|
168
171
|
};
|
|
169
172
|
};
|
|
170
|
-
|
|
171
|
-
|
|
173
|
+
_notLast: {
|
|
174
|
+
borderRightWidth: "0";
|
|
175
|
+
_selected: {
|
|
176
|
+
borderRightWidth: "2px";
|
|
177
|
+
};
|
|
172
178
|
};
|
|
173
179
|
_first: {
|
|
174
180
|
borderTopLeftRadius: "base";
|
|
@@ -192,7 +198,7 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
192
198
|
color: "button.subtle.fg";
|
|
193
199
|
_hover: {
|
|
194
200
|
bg: "button.subtle.bg";
|
|
195
|
-
color: "
|
|
201
|
+
color: "hover";
|
|
196
202
|
};
|
|
197
203
|
_disabled: {
|
|
198
204
|
bg: "button.subtle.bg";
|
|
@@ -216,24 +222,24 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
216
222
|
};
|
|
217
223
|
icon_secondary: {
|
|
218
224
|
bg: "transparent";
|
|
219
|
-
color: "
|
|
225
|
+
color: "icon.secondary";
|
|
220
226
|
border: "none";
|
|
221
227
|
_hover: {
|
|
222
|
-
color: "
|
|
228
|
+
color: "hover";
|
|
223
229
|
};
|
|
224
230
|
_selected: {
|
|
225
|
-
bg: "
|
|
226
|
-
color: "
|
|
231
|
+
bg: "selected.control.bg";
|
|
232
|
+
color: "selected.control.text";
|
|
227
233
|
_hover: {
|
|
228
|
-
bg: "
|
|
229
|
-
color: "
|
|
234
|
+
bg: "selected.control.bg";
|
|
235
|
+
color: "hover";
|
|
230
236
|
};
|
|
231
237
|
_expanded: {
|
|
232
|
-
color: "
|
|
238
|
+
color: "hover";
|
|
233
239
|
};
|
|
234
240
|
};
|
|
235
241
|
_expanded: {
|
|
236
|
-
color: "
|
|
242
|
+
color: "hover";
|
|
237
243
|
};
|
|
238
244
|
};
|
|
239
245
|
pagination: {
|
|
@@ -244,16 +250,16 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
244
250
|
borderColor: "button.pagination.border";
|
|
245
251
|
_hover: {
|
|
246
252
|
bg: "transparent";
|
|
247
|
-
color: "
|
|
248
|
-
borderColor: "
|
|
253
|
+
color: "hover";
|
|
254
|
+
borderColor: "hover";
|
|
249
255
|
};
|
|
250
256
|
_selected: {
|
|
251
|
-
bg: "
|
|
252
|
-
color: "
|
|
257
|
+
bg: "selected.control.bg";
|
|
258
|
+
color: "selected.control.text";
|
|
253
259
|
borderColor: "transparent";
|
|
254
260
|
_hover: {
|
|
255
|
-
bg: "
|
|
256
|
-
color: "
|
|
261
|
+
bg: "selected.control.bg";
|
|
262
|
+
color: "selected.control.text";
|
|
257
263
|
borderColor: "transparent";
|
|
258
264
|
};
|
|
259
265
|
};
|
|
@@ -34,12 +34,12 @@ export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"la
|
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
'&:is([data-state=checked], [data-state=indeterminate])': {
|
|
37
|
-
bg: "
|
|
37
|
+
bg: "selected.option.bg";
|
|
38
38
|
color: "white";
|
|
39
|
-
borderColor: "
|
|
39
|
+
borderColor: "selected.option.bg";
|
|
40
40
|
_hover: {
|
|
41
|
-
bg: "
|
|
42
|
-
borderColor: "
|
|
41
|
+
bg: "hover";
|
|
42
|
+
borderColor: "hover";
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
} | undefined;
|
|
@@ -33,12 +33,12 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
'&:is([data-state=checked], [data-state=indeterminate])': {
|
|
36
|
-
bg: "
|
|
36
|
+
bg: "selected.option.bg";
|
|
37
37
|
color: "white";
|
|
38
|
-
borderColor: "
|
|
38
|
+
borderColor: "selected.option.bg";
|
|
39
39
|
_hover: {
|
|
40
|
-
bg: "
|
|
41
|
-
borderColor: "
|
|
40
|
+
bg: "hover";
|
|
41
|
+
borderColor: "hover";
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
};
|