@tidbcloud/uikit 2.0.0-beta.52 → 2.0.0-beta.54
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
|
@@ -50,7 +50,6 @@ const ProTable = ({
|
|
|
50
50
|
},
|
|
51
51
|
mantinePaperProps
|
|
52
52
|
);
|
|
53
|
-
const pinned = initialState && !!initialState.columnPinning;
|
|
54
53
|
const mTableProps = helpers.mergeMProps(
|
|
55
54
|
{
|
|
56
55
|
highlightOnHover: true,
|
|
@@ -91,14 +90,6 @@ const ProTable = ({
|
|
|
91
90
|
},
|
|
92
91
|
mantineTableProps
|
|
93
92
|
);
|
|
94
|
-
const mTableContainerProps = helpers.mergeMProps(
|
|
95
|
-
() => ({
|
|
96
|
-
sx: {
|
|
97
|
-
overflow: pinned ? "auto" : "unset"
|
|
98
|
-
}
|
|
99
|
-
}),
|
|
100
|
-
mantineTableContainerProps
|
|
101
|
-
);
|
|
102
93
|
const mTableBodyProps = helpers.mergeMProps((args) => {
|
|
103
94
|
var _a, _b, _c;
|
|
104
95
|
if (!(data == null ? void 0 : data.length)) {
|
|
@@ -153,7 +144,7 @@ const ProTable = ({
|
|
|
153
144
|
mantineTableProps: mTableProps,
|
|
154
145
|
mantineSkeletonProps: mTabelSkeletonProps,
|
|
155
146
|
mantineTableBodyProps: mTableBodyProps,
|
|
156
|
-
mantineTableContainerProps
|
|
147
|
+
mantineTableContainerProps,
|
|
157
148
|
mantineBottomToolbarProps: mBottomToolbarProps,
|
|
158
149
|
mantineTableBodyCellProps: mTableBodyCellProps,
|
|
159
150
|
mantinePaginationProps: {},
|
|
@@ -48,7 +48,6 @@ const ProTable = ({
|
|
|
48
48
|
},
|
|
49
49
|
mantinePaperProps
|
|
50
50
|
);
|
|
51
|
-
const pinned = initialState && !!initialState.columnPinning;
|
|
52
51
|
const mTableProps = mergeMProps(
|
|
53
52
|
{
|
|
54
53
|
highlightOnHover: true,
|
|
@@ -89,14 +88,6 @@ const ProTable = ({
|
|
|
89
88
|
},
|
|
90
89
|
mantineTableProps
|
|
91
90
|
);
|
|
92
|
-
const mTableContainerProps = mergeMProps(
|
|
93
|
-
() => ({
|
|
94
|
-
sx: {
|
|
95
|
-
overflow: pinned ? "auto" : "unset"
|
|
96
|
-
}
|
|
97
|
-
}),
|
|
98
|
-
mantineTableContainerProps
|
|
99
|
-
);
|
|
100
91
|
const mTableBodyProps = mergeMProps((args) => {
|
|
101
92
|
var _a, _b, _c;
|
|
102
93
|
if (!(data == null ? void 0 : data.length)) {
|
|
@@ -151,7 +142,7 @@ const ProTable = ({
|
|
|
151
142
|
mantineTableProps: mTableProps,
|
|
152
143
|
mantineSkeletonProps: mTabelSkeletonProps,
|
|
153
144
|
mantineTableBodyProps: mTableBodyProps,
|
|
154
|
-
mantineTableContainerProps
|
|
145
|
+
mantineTableContainerProps,
|
|
155
146
|
mantineBottomToolbarProps: mBottomToolbarProps,
|
|
156
147
|
mantineTableBodyCellProps: mTableBodyCellProps,
|
|
157
148
|
mantinePaginationProps: {},
|
package/dist/theme/theme.cjs
CHANGED
|
@@ -203,10 +203,13 @@ const getInputStyles = (theme2, params) => {
|
|
|
203
203
|
},
|
|
204
204
|
invalid: {
|
|
205
205
|
borderColor: theme2.colors.red[4],
|
|
206
|
+
"& .mantine-PasswordInput-innerInput": {
|
|
207
|
+
borderColor: "transparent"
|
|
208
|
+
},
|
|
206
209
|
"&:hover": {
|
|
207
210
|
borderColor: theme2.colors.red[4]
|
|
208
211
|
},
|
|
209
|
-
"&:focus": {
|
|
212
|
+
"&:focus, &:focus-within": {
|
|
210
213
|
borderColor: theme2.colors.red[4]
|
|
211
214
|
},
|
|
212
215
|
"&::placeholder": {
|
package/dist/theme/theme.js
CHANGED
|
@@ -201,10 +201,13 @@ const getInputStyles = (theme2, params) => {
|
|
|
201
201
|
},
|
|
202
202
|
invalid: {
|
|
203
203
|
borderColor: theme2.colors.red[4],
|
|
204
|
+
"& .mantine-PasswordInput-innerInput": {
|
|
205
|
+
borderColor: "transparent"
|
|
206
|
+
},
|
|
204
207
|
"&:hover": {
|
|
205
208
|
borderColor: theme2.colors.red[4]
|
|
206
209
|
},
|
|
207
|
-
"&:focus": {
|
|
210
|
+
"&:focus, &:focus-within": {
|
|
208
211
|
borderColor: theme2.colors.red[4]
|
|
209
212
|
},
|
|
210
213
|
"&::placeholder": {
|