@zat-design/sisyphus-react 3.4.5-beta.2 → 3.4.5-beta.3
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/dist/index.esm.css +3 -0
- package/dist/less.esm.css +3 -0
- package/es/ProForm/components/combination/Container/index.js +3 -2
- package/es/ProForm/components/combination/Container/style/index.less +5 -1
- package/lib/ProForm/components/combination/Container/index.js +3 -2
- package/lib/ProForm/components/combination/Container/style/index.less +5 -1
- package/package.json +1 -1
package/dist/index.esm.css
CHANGED
|
@@ -2485,6 +2485,9 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
2485
2485
|
color: var(--ant-error-color);
|
|
2486
2486
|
border-color: var(--ant-error-color);
|
|
2487
2487
|
}
|
|
2488
|
+
.pro-container.pro-container-empty .ant-collapse-content {
|
|
2489
|
+
display: none;
|
|
2490
|
+
}
|
|
2488
2491
|
.pro-container.pro-container-diy .pro-container-content {
|
|
2489
2492
|
display: -webkit-box;
|
|
2490
2493
|
display: -webkit-flex;
|
package/dist/less.esm.css
CHANGED
|
@@ -2485,6 +2485,9 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
2485
2485
|
color: var(--ant-error-color);
|
|
2486
2486
|
border-color: var(--ant-error-color);
|
|
2487
2487
|
}
|
|
2488
|
+
.pro-container.pro-container-empty .ant-collapse-content {
|
|
2489
|
+
display: none;
|
|
2490
|
+
}
|
|
2488
2491
|
.pro-container.pro-container-diy .pro-container-content {
|
|
2489
2492
|
display: -webkit-box;
|
|
2490
2493
|
display: -webkit-flex;
|
|
@@ -21,10 +21,11 @@ var Container = function Container(props) {
|
|
|
21
21
|
disabled = _ref.disabled;
|
|
22
22
|
var _className = classnames(_defineProperty({
|
|
23
23
|
'pro-container': true,
|
|
24
|
-
'pro-container-diy': type === 'Container'
|
|
24
|
+
'pro-container-diy': type === 'Container',
|
|
25
|
+
'pro-container-empty': !(children === null || children === void 0 ? void 0 : children.length)
|
|
25
26
|
}, "".concat(className), className));
|
|
26
27
|
var _children = useMemo(function () {
|
|
27
|
-
var result = children.map(function (item) {
|
|
28
|
+
var result = children === null || children === void 0 ? void 0 : children.map(function (item) {
|
|
28
29
|
return _objectSpread({
|
|
29
30
|
clearNotShow: clearNotShow,
|
|
30
31
|
show: show,
|
|
@@ -28,10 +28,11 @@ var Container = function Container(props) {
|
|
|
28
28
|
disabled = _ref.disabled;
|
|
29
29
|
var _className = (0, _classnames2.default)((0, _defineProperty2.default)({
|
|
30
30
|
'pro-container': true,
|
|
31
|
-
'pro-container-diy': type === 'Container'
|
|
31
|
+
'pro-container-diy': type === 'Container',
|
|
32
|
+
'pro-container-empty': !(children === null || children === void 0 ? void 0 : children.length)
|
|
32
33
|
}, "".concat(className), className));
|
|
33
34
|
var _children = (0, _react.useMemo)(function () {
|
|
34
|
-
var result = children.map(function (item) {
|
|
35
|
+
var result = children === null || children === void 0 ? void 0 : children.map(function (item) {
|
|
35
36
|
return (0, _objectSpread2.default)({
|
|
36
37
|
clearNotShow: clearNotShow,
|
|
37
38
|
show: show,
|