@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.
@@ -422,5 +422,6 @@ declare const colors: {
422
422
  celo: {
423
423
  value: string;
424
424
  };
425
+ theme: any;
425
426
  };
426
427
  export default colors;
@@ -1,10 +1,10 @@
1
1
  export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
2
2
  variant: {
3
3
  solid: {
4
- bg: "blue.600";
4
+ bg: "button.solid.bg";
5
5
  color: "white";
6
6
  _hover: {
7
- bg: "link.primary.hover";
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: "link.primary.hover";
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: "link.primary.hover";
30
- borderColor: "link.primary.hover";
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: "link.primary.hover";
50
- borderColor: "link.primary.hover";
49
+ color: "hover";
50
+ borderColor: "hover";
51
51
  };
52
52
  _loading: {
53
53
  opacity: number;
54
54
  '& .chakra-spinner': {
55
- borderColor: "blue.500";
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: "link.primary.hover";
63
- borderColor: "link.primary.hover";
62
+ color: "hover";
63
+ borderColor: "hover";
64
64
  };
65
65
  _selected: {
66
- bg: "button.dropdown.bg.selected";
67
- color: "button.dropdown.fg.selected";
66
+ bg: "selected.control.bg";
67
+ color: "selected.control.text";
68
68
  borderColor: "transparent";
69
69
  _hover: {
70
- bg: "button.dropdown.bg.selected";
71
- color: "link.primary.hover";
70
+ bg: "selected.control.bg";
71
+ color: "hover";
72
72
  borderColor: "transparent";
73
73
  };
74
74
  _expanded: {
75
- color: "link.primary.hover";
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: "link.primary.hover";
88
- borderColor: "link.primary.hover";
87
+ color: "hover";
88
+ borderColor: "hover";
89
89
  };
90
90
  _loading: {
91
91
  opacity: number;
92
92
  '& .chakra-spinner': {
93
- borderColor: "blue.500";
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: "link.primary.hover";
105
+ color: "hover";
106
106
  };
107
107
  _expanded: {
108
- color: "link.primary.hover";
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: "link.primary.hover";
116
+ color: "hover";
117
117
  };
118
118
  _hover: {
119
119
  bg: "button.header.bg.highlighted";
120
- color: "link.primary.hover";
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: "link.primary.hover";
145
+ color: "hover";
146
146
  };
147
147
  _expanded: {
148
- color: "link.primary.hover";
148
+ color: "hover";
149
149
  };
150
150
  };
151
151
  };
152
152
  segmented: {
153
153
  bg: "transparent";
154
154
  color: "button.segmented.fg";
155
- borderColor: "button.segmented.border";
155
+ borderColor: "selected.control.bg";
156
156
  borderWidth: "2px";
157
157
  borderStyle: "solid";
158
158
  borderRadius: "none";
159
159
  _hover: {
160
- color: "link.primary.hover";
160
+ color: "hover";
161
161
  };
162
162
  _selected: {
163
- bg: "button.segmented.border";
164
- color: "button.segmented.fg.selected";
163
+ bg: "selected.control.bg";
164
+ color: "selected.control.text";
165
165
  _hover: {
166
- bg: "button.segmented.border";
167
- color: "button.segmented.fg.selected";
166
+ bg: "selected.control.bg";
167
+ color: "selected.control.text";
168
+ };
169
+ '& + *': {
170
+ borderLeftWidth: "0";
168
171
  };
169
172
  };
170
- _notFirst: {
171
- borderLeftWidth: "0";
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: "link.primary.hover";
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: "button.icon_secondary.fg";
225
+ color: "icon.secondary";
220
226
  border: "none";
221
227
  _hover: {
222
- color: "link.primary.hover";
228
+ color: "hover";
223
229
  };
224
230
  _selected: {
225
- bg: "button.icon_secondary.bg.selected";
226
- color: "button.icon_secondary.fg.selected";
231
+ bg: "selected.control.bg";
232
+ color: "selected.control.text";
227
233
  _hover: {
228
- bg: "button.icon_secondary.bg.selected";
229
- color: "link.primary.hover";
234
+ bg: "selected.control.bg";
235
+ color: "hover";
230
236
  };
231
237
  _expanded: {
232
- color: "link.primary.hover";
238
+ color: "hover";
233
239
  };
234
240
  };
235
241
  _expanded: {
236
- color: "link.primary.hover";
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: "link.primary.hover";
248
- borderColor: "link.primary.hover";
253
+ color: "hover";
254
+ borderColor: "hover";
249
255
  };
250
256
  _selected: {
251
- bg: "button.pagination.bg.selected";
252
- color: "button.pagination.fg.selected";
257
+ bg: "selected.control.bg";
258
+ color: "selected.control.text";
253
259
  borderColor: "transparent";
254
260
  _hover: {
255
- bg: "button.pagination.bg.selected";
256
- color: "button.pagination.fg.selected";
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: "blue.500";
37
+ bg: "selected.option.bg";
38
38
  color: "white";
39
- borderColor: "blue.500";
39
+ borderColor: "selected.option.bg";
40
40
  _hover: {
41
- bg: "blue.400";
42
- borderColor: "blue.400";
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: "blue.500";
36
+ bg: "selected.option.bg";
37
37
  color: "white";
38
- borderColor: "blue.500";
38
+ borderColor: "selected.option.bg";
39
39
  _hover: {
40
- bg: "blue.400";
41
- borderColor: "blue.400";
40
+ bg: "hover";
41
+ borderColor: "hover";
42
42
  };
43
43
  };
44
44
  };
@@ -6,7 +6,7 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
6
6
  border: "none";
7
7
  _hover: {
8
8
  bg: "transparent";
9
- color: "link.primary.hover";
9
+ color: "hover";
10
10
  };
11
11
  };
12
12
  };