@tidbcloud/uikit 2.0.0-beta.48 → 2.0.0-beta.49

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.49
4
+
5
+ ### Minor Changes
6
+
7
+ - set button left and right icon margin to 4
8
+
3
9
  ## 2.0.0-beta.48
4
10
 
5
11
  ### Patch Changes
@@ -124,6 +124,12 @@ const getButtonStyles = (theme2, params) => {
124
124
  paddingRight: 12,
125
125
  ...variantStyles[params.variant],
126
126
  ...sizeStyles[params.size]
127
+ },
128
+ leftIcon: {
129
+ marginRight: 4
130
+ },
131
+ rightIcon: {
132
+ marginLeft: 4
127
133
  }
128
134
  };
129
135
  return finalStyles;
@@ -122,6 +122,12 @@ const getButtonStyles = (theme2, params) => {
122
122
  paddingRight: 12,
123
123
  ...variantStyles[params.variant],
124
124
  ...sizeStyles[params.size]
125
+ },
126
+ leftIcon: {
127
+ marginRight: 4
128
+ },
129
+ rightIcon: {
130
+ marginLeft: 4
125
131
  }
126
132
  };
127
133
  return finalStyles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.0.0-beta.48",
3
+ "version": "2.0.0-beta.49",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",