@blockscout/ui-toolkit 2.0.2 → 2.1.0-alpha.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/README.md +7 -3
- package/dist/chakra/link.d.ts +1 -1
- package/dist/chakra/select.d.ts +6 -3
- package/dist/components/forms/fields/FormFieldCheckbox.d.ts +2 -3
- package/dist/components/forms/fields/FormFieldCheckboxGroup.d.ts +12 -0
- package/dist/components/forms/fields/FormFieldColor.d.ts +2 -3
- package/dist/components/forms/fields/FormFieldNumber.d.ts +4 -0
- package/dist/components/forms/fields/FormFieldRadio.d.ts +14 -0
- package/dist/components/forms/fields/FormFieldSelect.d.ts +2 -3
- package/dist/components/forms/fields/FormFieldSelectAsync.d.ts +2 -3
- package/dist/components/forms/fields/FormFieldSwitch.d.ts +6 -0
- package/dist/components/forms/fields/FormFieldText.d.ts +2 -3
- package/dist/components/forms/fields/index.d.ts +5 -0
- package/dist/components/forms/fields/types.d.ts +5 -1
- package/dist/index.js +3259 -3124
- package/dist/theme/recipes/index.d.ts +16 -0
- package/dist/theme/recipes/switch.recipe.d.ts +16 -0
- package/package.json +2 -2
|
@@ -1610,6 +1610,9 @@ export declare const slotRecipes: {
|
|
|
1610
1610
|
'--switch-height': "sizes.4";
|
|
1611
1611
|
'--switch-indicator-font-size': "fontSizes.sm";
|
|
1612
1612
|
};
|
|
1613
|
+
label: {
|
|
1614
|
+
textStyle: "sm";
|
|
1615
|
+
};
|
|
1613
1616
|
};
|
|
1614
1617
|
md: {
|
|
1615
1618
|
root: {
|
|
@@ -1617,6 +1620,19 @@ export declare const slotRecipes: {
|
|
|
1617
1620
|
'--switch-height': "sizes.5";
|
|
1618
1621
|
'--switch-indicator-font-size': "fontSizes.md";
|
|
1619
1622
|
};
|
|
1623
|
+
label: {
|
|
1624
|
+
textStyle: "sm";
|
|
1625
|
+
};
|
|
1626
|
+
};
|
|
1627
|
+
lg: {
|
|
1628
|
+
root: {
|
|
1629
|
+
'--switch-width': "50px";
|
|
1630
|
+
'--switch-height': "sizes.7";
|
|
1631
|
+
'--switch-indicator-font-size': "fontSizes.md";
|
|
1632
|
+
};
|
|
1633
|
+
label: {
|
|
1634
|
+
textStyle: "md";
|
|
1635
|
+
};
|
|
1620
1636
|
};
|
|
1621
1637
|
};
|
|
1622
1638
|
}>;
|
|
@@ -31,6 +31,9 @@ export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"la
|
|
|
31
31
|
'--switch-height': "sizes.4";
|
|
32
32
|
'--switch-indicator-font-size': "fontSizes.sm";
|
|
33
33
|
};
|
|
34
|
+
label: {
|
|
35
|
+
textStyle: "sm";
|
|
36
|
+
};
|
|
34
37
|
};
|
|
35
38
|
md: {
|
|
36
39
|
root: {
|
|
@@ -38,6 +41,19 @@ export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"la
|
|
|
38
41
|
'--switch-height': "sizes.5";
|
|
39
42
|
'--switch-indicator-font-size': "fontSizes.md";
|
|
40
43
|
};
|
|
44
|
+
label: {
|
|
45
|
+
textStyle: "sm";
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
lg: {
|
|
49
|
+
root: {
|
|
50
|
+
'--switch-width': "50px";
|
|
51
|
+
'--switch-height': "sizes.7";
|
|
52
|
+
'--switch-indicator-font-size': "fontSizes.md";
|
|
53
|
+
};
|
|
54
|
+
label: {
|
|
55
|
+
textStyle: "md";
|
|
56
|
+
};
|
|
41
57
|
};
|
|
42
58
|
};
|
|
43
59
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockscout/ui-toolkit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.1.0-alpha.0",
|
|
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",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@types/react-dom": "18.3.1",
|
|
58
58
|
"@vitejs/plugin-react": "4.3.4",
|
|
59
59
|
"typescript": "5.4.2",
|
|
60
|
-
"vite": "6.2.
|
|
60
|
+
"vite": "6.2.7",
|
|
61
61
|
"vite-plugin-dts": "4.5.3",
|
|
62
62
|
"vite-plugin-svgr": "4.3.0",
|
|
63
63
|
"vite-tsconfig-paths": "5.1.4"
|