@blockscout/ui-toolkit 2.8.0-alpha.3 → 2.8.0-alpha.5

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.
@@ -20,14 +20,14 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
20
20
  };
21
21
  solid_danger: {
22
22
  bg: "red.600";
23
- color: "button.solid.text";
23
+ color: "white";
24
24
  _hover: {
25
25
  bg: "red.500";
26
26
  };
27
27
  _loading: {
28
28
  opacity: number;
29
29
  '& .chakra-spinner': {
30
- borderColor: "button.solid.text";
30
+ borderColor: "white";
31
31
  borderBottomColor: "spinner.track";
32
32
  borderInlineStartColor: "spinner.track";
33
33
  };
@@ -130,4 +130,26 @@ export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"co
130
130
  };
131
131
  none: {};
132
132
  };
133
+ adaptive: {
134
+ true: {
135
+ content: {
136
+ '--dialog-base-margin': {
137
+ base: "0";
138
+ lg: "auto";
139
+ };
140
+ '--dialog-margin': {
141
+ base: "0";
142
+ lg: "auto";
143
+ };
144
+ borderTopRadius: {
145
+ base: "base";
146
+ lg: "xl";
147
+ };
148
+ borderBottomRadius: {
149
+ base: "0";
150
+ lg: "xl";
151
+ };
152
+ };
153
+ };
154
+ };
133
155
  }>;
@@ -136,14 +136,14 @@ export declare const recipes: {
136
136
  };
137
137
  solid_danger: {
138
138
  bg: "red.600";
139
- color: "button.solid.text";
139
+ color: "white";
140
140
  _hover: {
141
141
  bg: "red.500";
142
142
  };
143
143
  _loading: {
144
144
  opacity: number;
145
145
  '& .chakra-spinner': {
146
- borderColor: "button.solid.text";
146
+ borderColor: "white";
147
147
  borderBottomColor: "spinner.track";
148
148
  borderInlineStartColor: "spinner.track";
149
149
  };
@@ -1238,6 +1238,28 @@ export declare const slotRecipes: {
1238
1238
  };
1239
1239
  none: {};
1240
1240
  };
1241
+ adaptive: {
1242
+ true: {
1243
+ content: {
1244
+ '--dialog-base-margin': {
1245
+ base: "0";
1246
+ lg: "auto";
1247
+ };
1248
+ '--dialog-margin': {
1249
+ base: "0";
1250
+ lg: "auto";
1251
+ };
1252
+ borderTopRadius: {
1253
+ base: "base";
1254
+ lg: "xl";
1255
+ };
1256
+ borderBottomRadius: {
1257
+ base: "0";
1258
+ lg: "xl";
1259
+ };
1260
+ };
1261
+ };
1262
+ };
1241
1263
  }>;
1242
1264
  drawer: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "body" | "footer" | "header" | "title" | "root" | "description" | "positioner" | "backdrop" | "trigger", {
1243
1265
  size: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockscout/ui-toolkit",
3
- "version": "2.8.0-alpha.3",
3
+ "version": "2.8.0-alpha.5",
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",
@@ -43,7 +43,7 @@
43
43
  "peerDependencies": {
44
44
  "@chakra-ui/react": ">=3.33.0",
45
45
  "@emotion/react": ">=11.14.0",
46
- "next": ">=16.2.4",
46
+ "next": ">=16.2.6",
47
47
  "next-themes": ">=0.4.4",
48
48
  "react": ">=18.3.1",
49
49
  "react-dom": ">=18.3.1",
@@ -55,7 +55,7 @@
55
55
  "@types/react": "18.3.12",
56
56
  "@types/react-dom": "18.3.1",
57
57
  "@vitejs/plugin-react": "4.3.4",
58
- "typescript": "5.9.2",
58
+ "typescript": "6.0.3",
59
59
  "vite": "6.4.2",
60
60
  "vite-plugin-dts": "4.5.4",
61
61
  "vite-plugin-svgr": "4.5.0",