@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
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
};
|
package/dist/theme/theme.cjs
CHANGED
package/dist/theme/theme.js
CHANGED