@zykj2024/much-library 1.0.10-beta.7 → 1.0.10-beta.9
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.
@@ -2,17 +2,17 @@
|
|
2
2
|
position: relative;
|
3
3
|
}
|
4
4
|
.mc-container__ceiling {
|
5
|
-
width: calc(100% -
|
5
|
+
width: calc(100% - 40px);
|
6
6
|
height: 24px;
|
7
7
|
position: absolute;
|
8
8
|
top: 0;
|
9
|
-
left:
|
9
|
+
left: 16px;
|
10
10
|
z-index: 9;
|
11
11
|
}
|
12
12
|
.mc-container__wrapper {
|
13
13
|
height: 100%;
|
14
|
-
padding: 24px 24px
|
15
|
-
overflow: auto;
|
14
|
+
padding: 24px 24px 50px 16px;
|
15
|
+
overflow-y: auto;
|
16
16
|
border-top-right-radius: 12px;
|
17
17
|
}
|
18
18
|
.mc-container__query {
|
@@ -114,11 +114,11 @@
|
|
114
114
|
transition: all 0.3s;
|
115
115
|
}
|
116
116
|
.mc-container__pagination {
|
117
|
-
padding:
|
117
|
+
padding: 8px 0 16px;
|
118
118
|
margin: 0 !important;
|
119
|
-
width: calc(100% -
|
119
|
+
width: calc(100% - 40px);
|
120
120
|
position: absolute;
|
121
|
-
left:
|
121
|
+
left: 16px;
|
122
122
|
bottom: 0;
|
123
123
|
z-index: 9;
|
124
124
|
}
|
@@ -15,6 +15,8 @@ var McContainer = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
15
15
|
height = _props$height === void 0 ? 'calc(100vh - 88px)' : _props$height,
|
16
16
|
_props$backgroundColo = props.backgroundColor,
|
17
17
|
backgroundColor = _props$backgroundColo === void 0 ? '#ffffff' : _props$backgroundColo,
|
18
|
+
_props$showCell = props.showCell,
|
19
|
+
showCell = _props$showCell === void 0 ? true : _props$showCell,
|
18
20
|
_props$immediateQuery = props.immediateQuery,
|
19
21
|
immediateQuery = _props$immediateQuery === void 0 ? true : _props$immediateQuery,
|
20
22
|
_props$loading = props.loading,
|
@@ -269,7 +271,7 @@ var McContainer = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
269
271
|
height: height,
|
270
272
|
backgroundColor: backgroundColor
|
271
273
|
}, style),
|
272
|
-
children: [/*#__PURE__*/_jsx("div", {
|
274
|
+
children: [showCell && /*#__PURE__*/_jsx("div", {
|
273
275
|
className: "mc-container__ceiling",
|
274
276
|
style: {
|
275
277
|
backgroundColor: backgroundColor
|
@@ -277,7 +279,7 @@ var McContainer = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
277
279
|
}), /*#__PURE__*/_jsxs("div", {
|
278
280
|
className: "mc-container__wrapper",
|
279
281
|
style: {
|
280
|
-
paddingBottom: tableRender || tableRender === null || (tableProps === null || tableProps === void 0 ? void 0 : tableProps.pagination) === false ?
|
282
|
+
paddingBottom: tableRender || tableRender === null || (tableProps === null || tableProps === void 0 ? void 0 : tableProps.pagination) === false ? 16 : 50
|
281
283
|
},
|
282
284
|
children: [queryRender || queryRender === null ? queryRender : /*#__PURE__*/_jsxs("div", {
|
283
285
|
className: "mc-container__query",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zykj2024/much-library",
|
3
|
-
"version": "1.0.10-beta.
|
3
|
+
"version": "1.0.10-beta.9",
|
4
4
|
"description": "react library",
|
5
5
|
"license": "MIT",
|
6
6
|
"module": "dist/index.js",
|
@@ -47,7 +47,7 @@
|
|
47
47
|
"@babel/runtime": "^7.25.6",
|
48
48
|
"@dnd-kit/core": "^6.1.0",
|
49
49
|
"@dnd-kit/sortable": "^8.0.0",
|
50
|
-
"antd": "
|
50
|
+
"antd": ">=5.16.2 <=5.21.5",
|
51
51
|
"antd-style": "^3.6.2",
|
52
52
|
"dayjs": "^1.11.12",
|
53
53
|
"lodash": "^4.17.21",
|