@tidbcloud/uikit 2.2.3 → 2.2.5
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,17 @@
|
|
|
1
1
|
# @tidbcloud/uikit
|
|
2
2
|
|
|
3
|
+
## 2.2.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix(ProTable): wrapperProps missing ([#503](https://github.com/tidbcloud/tidbcloud-uikit/pull/503))
|
|
8
|
+
|
|
9
|
+
## 2.2.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- fix(theme): Remove unnecessary borderColor from disabled state button styling ([#501](https://github.com/tidbcloud/tidbcloud-uikit/pull/501))
|
|
14
|
+
|
|
3
15
|
## 2.2.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -18,7 +18,7 @@ const ProTable = (props) => {
|
|
|
18
18
|
if (isInstance) {
|
|
19
19
|
table = props.table;
|
|
20
20
|
}
|
|
21
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Box.Box, { ...props.wrapperProps, children: [
|
|
21
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Box.Box, { ...props.wrapperProps || table.wrapperProps, children: [
|
|
22
22
|
/* @__PURE__ */ jsxRuntime.jsx(index_esm.MantineReactTable, { table }),
|
|
23
23
|
table.options.enablePagination && /* @__PURE__ */ jsxRuntime.jsx(TablePagination.ProTablePagination, { table, ...table.pagination || props.pagination })
|
|
24
24
|
] });
|
|
@@ -16,7 +16,7 @@ const ProTable = (props) => {
|
|
|
16
16
|
if (isInstance) {
|
|
17
17
|
table = props.table;
|
|
18
18
|
}
|
|
19
|
-
return /* @__PURE__ */ jsxs(Box, { ...props.wrapperProps, children: [
|
|
19
|
+
return /* @__PURE__ */ jsxs(Box, { ...props.wrapperProps || table.wrapperProps, children: [
|
|
20
20
|
/* @__PURE__ */ jsx(MantineReactTable, { table }),
|
|
21
21
|
table.options.enablePagination && /* @__PURE__ */ jsx(ProTablePagination, { table, ...table.pagination || props.pagination })
|
|
22
22
|
] });
|
package/dist/theme/theme.cjs
CHANGED
|
@@ -244,7 +244,6 @@ const theme = createTheme.createTheme({
|
|
|
244
244
|
},
|
|
245
245
|
"&:disabled, &[data-disabled]": {
|
|
246
246
|
color: themeColor(theme2, "carbon", 6),
|
|
247
|
-
borderColor: themeColor(theme2, "carbon", borderColorShade + 1),
|
|
248
247
|
backgroundColor: themeColor(theme2, "carbon", 2)
|
|
249
248
|
}
|
|
250
249
|
};
|
package/dist/theme/theme.mjs
CHANGED