@blockscout/ui-toolkit 2.7.0-alpha.2 → 2.7.0-alpha.3
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/README.md +2 -2
- package/dist/chakra/collapsible.d.ts +2 -1
- package/dist/chakra/select.d.ts +3 -0
- package/dist/components/charts/sankey/SankeyChart.d.ts +16 -0
- package/dist/components/charts/sankey/constants.d.ts +16 -0
- package/dist/components/charts/sankey/index.d.ts +6 -0
- package/dist/components/charts/sankey/parts/SankeyLink.d.ts +18 -0
- package/dist/components/charts/sankey/parts/SankeyNode.d.ts +9 -0
- package/dist/components/charts/sankey/types.d.ts +19 -0
- package/dist/components/charts/sankey/useSankeyController.d.ts +20 -0
- package/dist/index.js +2872 -2795
- package/dist/theme/recipes/button.recipe.d.ts +38 -0
- package/dist/theme/recipes/index.d.ts +39 -1
- package/dist/theme/recipes/select.recipe.d.ts +1 -1
- package/package.json +2 -2
|
@@ -18,6 +18,24 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
18
18
|
bg: "hover";
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
+
solid_danger: {
|
|
22
|
+
bg: "red.600";
|
|
23
|
+
color: "button.solid.text";
|
|
24
|
+
_hover: {
|
|
25
|
+
bg: "red.500";
|
|
26
|
+
};
|
|
27
|
+
_loading: {
|
|
28
|
+
opacity: number;
|
|
29
|
+
'& .chakra-spinner': {
|
|
30
|
+
borderColor: "button.solid.text";
|
|
31
|
+
borderBottomColor: "spinner.track";
|
|
32
|
+
borderInlineStartColor: "spinner.track";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
_expanded: {
|
|
36
|
+
bg: "red.500";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
21
39
|
outline: {
|
|
22
40
|
borderWidth: "2px";
|
|
23
41
|
borderStyle: "solid";
|
|
@@ -38,6 +56,26 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
38
56
|
};
|
|
39
57
|
};
|
|
40
58
|
};
|
|
59
|
+
outline_danger: {
|
|
60
|
+
borderWidth: "2px";
|
|
61
|
+
borderStyle: "solid";
|
|
62
|
+
bg: "transparent";
|
|
63
|
+
color: "red.600";
|
|
64
|
+
borderColor: "red.600";
|
|
65
|
+
_hover: {
|
|
66
|
+
bg: "transparent";
|
|
67
|
+
color: "red.500";
|
|
68
|
+
borderColor: "red.500";
|
|
69
|
+
};
|
|
70
|
+
_loading: {
|
|
71
|
+
opacity: number;
|
|
72
|
+
'& .chakra-spinner': {
|
|
73
|
+
borderColor: "red.600";
|
|
74
|
+
borderBottomColor: "spinner.track";
|
|
75
|
+
borderInlineStartColor: "spinner.track";
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
41
79
|
dropdown: {
|
|
42
80
|
borderWidth: "2px";
|
|
43
81
|
borderStyle: "solid";
|
|
@@ -135,6 +135,24 @@ export declare const recipes: {
|
|
|
135
135
|
bg: "hover";
|
|
136
136
|
};
|
|
137
137
|
};
|
|
138
|
+
solid_danger: {
|
|
139
|
+
bg: "red.600";
|
|
140
|
+
color: "button.solid.text";
|
|
141
|
+
_hover: {
|
|
142
|
+
bg: "red.500";
|
|
143
|
+
};
|
|
144
|
+
_loading: {
|
|
145
|
+
opacity: number;
|
|
146
|
+
'& .chakra-spinner': {
|
|
147
|
+
borderColor: "button.solid.text";
|
|
148
|
+
borderBottomColor: "spinner.track";
|
|
149
|
+
borderInlineStartColor: "spinner.track";
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
_expanded: {
|
|
153
|
+
bg: "red.500";
|
|
154
|
+
};
|
|
155
|
+
};
|
|
138
156
|
outline: {
|
|
139
157
|
borderWidth: "2px";
|
|
140
158
|
borderStyle: "solid";
|
|
@@ -155,6 +173,26 @@ export declare const recipes: {
|
|
|
155
173
|
};
|
|
156
174
|
};
|
|
157
175
|
};
|
|
176
|
+
outline_danger: {
|
|
177
|
+
borderWidth: "2px";
|
|
178
|
+
borderStyle: "solid";
|
|
179
|
+
bg: "transparent";
|
|
180
|
+
color: "red.600";
|
|
181
|
+
borderColor: "red.600";
|
|
182
|
+
_hover: {
|
|
183
|
+
bg: "transparent";
|
|
184
|
+
color: "red.500";
|
|
185
|
+
borderColor: "red.500";
|
|
186
|
+
};
|
|
187
|
+
_loading: {
|
|
188
|
+
opacity: number;
|
|
189
|
+
'& .chakra-spinner': {
|
|
190
|
+
borderColor: "red.600";
|
|
191
|
+
borderBottomColor: "spinner.track";
|
|
192
|
+
borderInlineStartColor: "spinner.track";
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
};
|
|
158
196
|
dropdown: {
|
|
159
197
|
borderWidth: "2px";
|
|
160
198
|
borderStyle: "solid";
|
|
@@ -1676,7 +1714,7 @@ export declare const slotRecipes: {
|
|
|
1676
1714
|
};
|
|
1677
1715
|
};
|
|
1678
1716
|
}>;
|
|
1679
|
-
select: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "root" | "item" | "indicator" | "control" | "trigger" | "valueText" | "itemText" | "itemGroupLabel" | "indicatorGroup" | "itemGroup", {
|
|
1717
|
+
select: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "root" | "item" | "indicator" | "positioner" | "control" | "trigger" | "valueText" | "itemText" | "itemGroupLabel" | "indicatorGroup" | "itemGroup", {
|
|
1680
1718
|
variant: {
|
|
1681
1719
|
outline: {
|
|
1682
1720
|
trigger: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "root" | "item" | "indicator" | "control" | "trigger" | "valueText" | "itemText" | "itemGroupLabel" | "indicatorGroup" | "itemGroup", {
|
|
1
|
+
export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "root" | "item" | "indicator" | "positioner" | "control" | "trigger" | "valueText" | "itemText" | "itemGroupLabel" | "indicatorGroup" | "itemGroup", {
|
|
2
2
|
variant: {
|
|
3
3
|
outline: {
|
|
4
4
|
trigger: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockscout/ui-toolkit",
|
|
3
|
-
"version": "2.7.0-alpha.
|
|
3
|
+
"version": "2.7.0-alpha.3",
|
|
4
4
|
"description": "A comprehensive collection of reusable Chakra UI components and theme system for Blockscout's projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"typecheck": "tsc --noEmit"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@chakra-ui/react": ">=3.
|
|
44
|
+
"@chakra-ui/react": ">=3.33.0",
|
|
45
45
|
"@emotion/react": ">=11.14.0",
|
|
46
46
|
"next": ">=15.2.3",
|
|
47
47
|
"next-themes": ">=0.4.4",
|