@tidbcloud/uikit 2.0.0-beta.74 → 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
|
@@ -420,8 +420,8 @@ const theme = createTheme.createTheme({
|
|
|
420
420
|
borderRadius: theme2.defaultRadius,
|
|
421
421
|
transition: "background 150ms ease-in-out"
|
|
422
422
|
},
|
|
423
|
-
|
|
424
|
-
|
|
423
|
+
label: {
|
|
424
|
+
lineHeight: "24px"
|
|
425
425
|
}
|
|
426
426
|
};
|
|
427
427
|
}
|
|
@@ -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) {
|
package/dist/theme/theme.js
CHANGED
|
@@ -418,8 +418,8 @@ const theme = createTheme({
|
|
|
418
418
|
borderRadius: theme2.defaultRadius,
|
|
419
419
|
transition: "background 150ms ease-in-out"
|
|
420
420
|
},
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
label: {
|
|
422
|
+
lineHeight: "24px"
|
|
423
423
|
}
|
|
424
424
|
};
|
|
425
425
|
}
|
|
@@ -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) {
|