@tidbcloud/uikit 2.0.0-beta.28 → 2.0.0-beta.29

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @tidbcloud/uikit
2
2
 
3
+ ## 2.0.0-beta.29
4
+
5
+ ### Minor Changes
6
+
7
+ - Update Button padding and font weight, TextInput description use color carbon.7
8
+
3
9
  ## 2.0.0-beta.28
4
10
 
5
11
  ### Minor Changes
@@ -115,8 +115,13 @@ const getButtonStyles = (theme2, params) => {
115
115
  }
116
116
  };
117
117
  const finalStyles = {
118
+ label: {
119
+ fontWeight: 500,
120
+ fontSize: params.size === "xs" ? 12 : 14
121
+ },
118
122
  root: {
119
- fontWeight: 700,
123
+ paddingLeft: 12,
124
+ paddingRight: 12,
120
125
  ...variantStyles[params.variant],
121
126
  ...sizeStyles[params.size]
122
127
  }
@@ -155,7 +160,7 @@ const getInputStyles = (theme2, params) => {
155
160
  color: theme2.colors.carbon[8]
156
161
  },
157
162
  description: {
158
- color: theme2.colors.carbon[6]
163
+ color: theme2.colors.carbon[7]
159
164
  },
160
165
  input: {
161
166
  ...matches.input,
@@ -113,8 +113,13 @@ const getButtonStyles = (theme2, params) => {
113
113
  }
114
114
  };
115
115
  const finalStyles = {
116
+ label: {
117
+ fontWeight: 500,
118
+ fontSize: params.size === "xs" ? 12 : 14
119
+ },
116
120
  root: {
117
- fontWeight: 700,
121
+ paddingLeft: 12,
122
+ paddingRight: 12,
118
123
  ...variantStyles[params.variant],
119
124
  ...sizeStyles[params.size]
120
125
  }
@@ -153,7 +158,7 @@ const getInputStyles = (theme2, params) => {
153
158
  color: theme2.colors.carbon[8]
154
159
  },
155
160
  description: {
156
- color: theme2.colors.carbon[6]
161
+ color: theme2.colors.carbon[7]
157
162
  },
158
163
  input: {
159
164
  ...matches.input,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.0.0-beta.28",
3
+ "version": "2.0.0-beta.29",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",