@tidbcloud/uikit 2.0.0-beta.75 → 2.0.0-beta.76

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.76
4
+
5
+ ### Patch Changes
6
+
7
+ - fix protable column pinning style
8
+
3
9
  ## 2.0.0-beta.75
4
10
 
5
11
  ### Patch Changes
@@ -86,7 +86,10 @@ function mergeProTableProps(props) {
86
86
  th: {
87
87
  color: theme.colors.carbon[7],
88
88
  backgroundColor: theme.colors.carbon[2],
89
- fontWeight: 500
89
+ fontWeight: 500,
90
+ "&[data-column-pinned]": {
91
+ backgroundColor: theme.colors.carbon[2]
92
+ }
90
93
  }
91
94
  }
92
95
  },
@@ -235,8 +238,8 @@ function mergeProTableProps(props) {
235
238
  },
236
239
  state: {
237
240
  isLoading: loading,
238
- columnVisibility: { ...enableExpanding ? { "mrt-row-expand": false } : void 0, ...state == null ? void 0 : state.columnVisibility },
239
- ...state
241
+ ...state,
242
+ columnVisibility: { ...enableExpanding ? { "mrt-row-expand": false } : void 0, ...state == null ? void 0 : state.columnVisibility }
240
243
  },
241
244
  ...rest
242
245
  };
@@ -84,7 +84,10 @@ function mergeProTableProps(props) {
84
84
  th: {
85
85
  color: theme.colors.carbon[7],
86
86
  backgroundColor: theme.colors.carbon[2],
87
- fontWeight: 500
87
+ fontWeight: 500,
88
+ "&[data-column-pinned]": {
89
+ backgroundColor: theme.colors.carbon[2]
90
+ }
88
91
  }
89
92
  }
90
93
  },
@@ -233,8 +236,8 @@ function mergeProTableProps(props) {
233
236
  },
234
237
  state: {
235
238
  isLoading: loading,
236
- columnVisibility: { ...enableExpanding ? { "mrt-row-expand": false } : void 0, ...state == null ? void 0 : state.columnVisibility },
237
- ...state
239
+ ...state,
240
+ columnVisibility: { ...enableExpanding ? { "mrt-row-expand": false } : void 0, ...state == null ? void 0 : state.columnVisibility }
238
241
  },
239
242
  ...rest
240
243
  };
@@ -939,6 +939,7 @@ const theme = createTheme.createTheme({
939
939
  },
940
940
  ActionIcon: {
941
941
  defaultProps: {
942
+ variant: "subtle",
942
943
  color: "carbon"
943
944
  },
944
945
  styles(theme2, props) {
@@ -937,6 +937,7 @@ const theme = createTheme({
937
937
  },
938
938
  ActionIcon: {
939
939
  defaultProps: {
940
+ variant: "subtle",
940
941
  color: "carbon"
941
942
  },
942
943
  styles(theme2, props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.0.0-beta.75",
3
+ "version": "2.0.0-beta.76",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",