@blockscout/ui-toolkit 2.7.0-alpha.0 → 2.7.0-alpha.2

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/index.js CHANGED
@@ -4663,7 +4663,11 @@ const Xd = {
4663
4663
  button: {
4664
4664
  primary: {
4665
4665
  _light: { value: "{colors.blue.600}" },
4666
- _dark: { value: "{colors.blue.600}" }
4666
+ _dark: { value: "{colors.blue.600}" },
4667
+ text: {
4668
+ _light: { value: "{colors.white}" },
4669
+ _dark: { value: "{colors.white}" }
4670
+ }
4667
4671
  }
4668
4672
  },
4669
4673
  link: {
@@ -4965,6 +4969,9 @@ const qd = {
4965
4969
  solid: {
4966
4970
  bg: {
4967
4971
  DEFAULT: { value: { _light: "{colors.theme.button.primary._light}", _dark: "{colors.theme.button.primary._dark}" } }
4972
+ },
4973
+ text: {
4974
+ DEFAULT: { value: { _light: "{colors.theme.button.primary.text._light}", _dark: "{colors.theme.button.primary.text._dark}" } }
4968
4975
  }
4969
4976
  },
4970
4977
  outline: {
@@ -6003,14 +6010,14 @@ const qd = {
6003
6010
  variant: {
6004
6011
  solid: {
6005
6012
  bg: "button.solid.bg",
6006
- color: "white",
6013
+ color: "button.solid.text",
6007
6014
  _hover: {
6008
6015
  bg: "hover"
6009
6016
  },
6010
6017
  _loading: {
6011
6018
  opacity: 1,
6012
6019
  "& .chakra-spinner": {
6013
- borderColor: "gray.200",
6020
+ borderColor: "button.solid.text",
6014
6021
  borderBottomColor: "spinner.track",
6015
6022
  borderInlineStartColor: "spinner.track"
6016
6023
  }
@@ -6942,7 +6949,7 @@ const l1 = fe({
6942
6949
  true: {
6943
6950
  label: {
6944
6951
  pos: "absolute",
6945
- bg: "bg",
6952
+ bg: "bg.primary",
6946
6953
  top: "2px",
6947
6954
  left: "2px",
6948
6955
  color: "input.placeholder",
@@ -8552,8 +8559,7 @@ const y1 = fe({
8552
8559
  textAlign: "start",
8553
8560
  alignItems: "center",
8554
8561
  verticalAlign: "top",
8555
- fontWeight: "medium",
8556
- bgColor: "transparent"
8562
+ fontWeight: "medium"
8557
8563
  },
8558
8564
  columnHeader: {
8559
8565
  fontWeight: "medium",
@@ -8578,7 +8584,7 @@ const y1 = fe({
8578
8584
  borderColor: "border.divider"
8579
8585
  },
8580
8586
  row: {
8581
- bg: "bg"
8587
+ bg: "bg.primary"
8582
8588
  }
8583
8589
  }
8584
8590
  },
@@ -2,14 +2,14 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
2
2
  variant: {
3
3
  solid: {
4
4
  bg: "button.solid.bg";
5
- color: "white";
5
+ color: "button.solid.text";
6
6
  _hover: {
7
7
  bg: "hover";
8
8
  };
9
9
  _loading: {
10
10
  opacity: number;
11
11
  '& .chakra-spinner': {
12
- borderColor: "gray.200";
12
+ borderColor: "button.solid.text";
13
13
  borderBottomColor: "spinner.track";
14
14
  borderInlineStartColor: "spinner.track";
15
15
  };
@@ -3,7 +3,7 @@ export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"la
3
3
  true: {
4
4
  label: {
5
5
  pos: "absolute";
6
- bg: "bg";
6
+ bg: "bg.primary";
7
7
  top: "2px";
8
8
  left: "2px";
9
9
  color: "input.placeholder";
@@ -119,14 +119,14 @@ export declare const recipes: {
119
119
  variant: {
120
120
  solid: {
121
121
  bg: "button.solid.bg";
122
- color: "white";
122
+ color: "button.solid.text";
123
123
  _hover: {
124
124
  bg: "hover";
125
125
  };
126
126
  _loading: {
127
127
  opacity: number;
128
128
  '& .chakra-spinner': {
129
- borderColor: "gray.200";
129
+ borderColor: "button.solid.text";
130
130
  borderBottomColor: "spinner.track";
131
131
  borderInlineStartColor: "spinner.track";
132
132
  };
@@ -1305,7 +1305,7 @@ export declare const slotRecipes: {
1305
1305
  true: {
1306
1306
  label: {
1307
1307
  pos: "absolute";
1308
- bg: "bg";
1308
+ bg: "bg.primary";
1309
1309
  top: "2px";
1310
1310
  left: "2px";
1311
1311
  color: "input.placeholder";
@@ -1930,7 +1930,7 @@ export declare const slotRecipes: {
1930
1930
  borderColor: "border.divider";
1931
1931
  };
1932
1932
  row: {
1933
- bg: "bg";
1933
+ bg: "bg.primary";
1934
1934
  };
1935
1935
  };
1936
1936
  };
@@ -16,7 +16,7 @@ export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"bo
16
16
  borderColor: "border.divider";
17
17
  };
18
18
  row: {
19
- bg: "bg";
19
+ bg: "bg.primary";
20
20
  };
21
21
  };
22
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockscout/ui-toolkit",
3
- "version": "2.7.0-alpha.0",
3
+ "version": "2.7.0-alpha.2",
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",