@zat-design/sisyphus-react 3.3.3 → 3.4.0
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 +32 -5
- package/es/ProConfigProvider/index.d.ts +10 -2
- package/es/ProConfigProvider/index.js +13 -7
- package/es/ProEditLabel/index.js +2 -3
- package/es/ProEditTable/components/ActionButton/index.js +6 -6
- package/es/ProEditTable/components/RenderField/index.js +5 -5
- package/es/ProEditTable/style/index.less +0 -1
- package/es/ProEditTable/utils/index.js +2 -4
- package/es/ProForm/components/base/Switch/index.js +0 -1
- package/es/ProForm/components/base/TextArea/index.js +1 -3
- package/es/ProForm/components/base/TextArea/index.less +7 -0
- package/es/ProForm/components/combination/FormList/components/ActionButton.js +2 -2
- package/es/ProForm/components/combination/Group/index.js +6 -1
- package/es/ProForm/components/combination/Group/style/index.less +2 -1
- package/es/ProForm/components/combination/ProCombination/index.js +0 -1
- package/es/ProForm/components/combination/ProModalSelect/index.js +2 -2
- package/es/ProForm/components/render/Render.js +3 -4
- package/es/ProForm/index.js +36 -6
- package/es/ProForm/propsType.d.ts +1 -0
- package/es/ProForm/utils/index.d.ts +4 -0
- package/es/ProForm/utils/index.js +23 -6
- package/es/ProForm/utils/useForm.js +48 -75
- package/es/ProForm/utils/useRules.js +4 -2
- package/es/ProForm/utils/useShouldUpdate.js +11 -7
- package/es/ProStep/index.js +0 -1
- package/es/ProThemeTools/index.d.ts +1 -1
- package/es/ProThemeTools/index.js +10 -2
- package/es/ProThemeTools/propsType.d.ts +1 -0
- package/es/ProThemeTools/utils/index.js +0 -1
- package/es/ProTree/components/Tree.js +0 -1
- package/es/ProTreeSelect/index.js +2 -4
- package/es/ProUpload/index.js +0 -1
- package/es/old/ProEditableTable/index.js +1 -1
- package/es/style/theme/antd.less +46 -5
- package/lib/ProConfigProvider/index.d.ts +10 -2
- package/lib/ProConfigProvider/index.js +14 -7
- package/lib/ProEditLabel/index.js +2 -3
- package/lib/ProEditTable/components/ActionButton/index.js +6 -6
- package/lib/ProEditTable/components/RenderField/index.js +5 -5
- package/lib/ProEditTable/style/index.less +0 -1
- package/lib/ProEditTable/utils/index.js +2 -4
- package/lib/ProForm/components/base/TextArea/index.js +1 -3
- package/lib/ProForm/components/base/TextArea/index.less +7 -0
- package/lib/ProForm/components/combination/FormList/components/ActionButton.js +2 -2
- package/lib/ProForm/components/combination/Group/index.js +6 -1
- package/lib/ProForm/components/combination/Group/style/index.less +2 -1
- package/lib/ProForm/components/combination/ProCombination/index.js +0 -1
- package/lib/ProForm/components/combination/ProModalSelect/index.js +2 -2
- package/lib/ProForm/components/old/InputRange/index.js +1 -0
- package/lib/ProForm/components/render/Render.js +3 -4
- package/lib/ProForm/index.js +35 -5
- package/lib/ProForm/propsType.d.ts +1 -0
- package/lib/ProForm/utils/index.d.ts +4 -0
- package/lib/ProForm/utils/index.js +24 -7
- package/lib/ProForm/utils/useForm.js +48 -75
- package/lib/ProForm/utils/useRules.js +4 -2
- package/lib/ProForm/utils/useShouldUpdate.js +10 -6
- package/lib/ProStep/index.js +0 -1
- package/lib/ProThemeTools/index.d.ts +1 -1
- package/lib/ProThemeTools/index.js +10 -2
- package/lib/ProThemeTools/propsType.d.ts +1 -0
- package/lib/ProThemeTools/utils/index.js +0 -1
- package/lib/ProTree/components/Tree.js +0 -1
- package/lib/ProTree/index.js +1 -0
- package/lib/ProTreeSelect/index.js +2 -4
- package/lib/ProUpload/index.js +0 -1
- package/lib/old/ProEditableTable/index.js +1 -1
- package/lib/style/theme/antd.less +46 -5
- package/package.json +1 -1
|
@@ -398,7 +398,7 @@ var ProEditableTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
|
|
|
398
398
|
}, antButtonProps), {}, {
|
|
399
399
|
children: buttonText
|
|
400
400
|
}))]
|
|
401
|
-
}) : /*#__PURE__*/(0, _react.cloneElement)(buttonText, antButtonProps)
|
|
401
|
+
}) : ( /*#__PURE__*/(0, _react.cloneElement)(buttonText, antButtonProps))
|
|
402
402
|
}) : null
|
|
403
403
|
});
|
|
404
404
|
};
|
|
@@ -93,7 +93,8 @@
|
|
|
93
93
|
|
|
94
94
|
.@{ant-prefix}-input[disabled],
|
|
95
95
|
.@{ant-prefix}-select-disabled,
|
|
96
|
-
.@{ant-prefix}-select-disabled.@{ant-prefix}-select:not(.@{ant-prefix}-select-customize-input)
|
|
96
|
+
.@{ant-prefix}-select-disabled.@{ant-prefix}-select:not(.@{ant-prefix}-select-customize-input)
|
|
97
|
+
.@{ant-prefix}-select-selector,
|
|
97
98
|
.@{ant-prefix}-input-number-disabled,
|
|
98
99
|
.@{ant-prefix}-picker-input > input[disabled],
|
|
99
100
|
.@{ant-prefix}-select-disabled.@{ant-prefix}-select-multiple .@{ant-prefix}-select-selection-item {
|
|
@@ -218,7 +219,11 @@
|
|
|
218
219
|
.@{ant-prefix}-table tfoot > tr > td {
|
|
219
220
|
padding: calc(4px + var(--zaui-size) * 8px);
|
|
220
221
|
}
|
|
221
|
-
.@{ant-prefix}-table-tbody
|
|
222
|
+
.@{ant-prefix}-table-tbody
|
|
223
|
+
> tr
|
|
224
|
+
> td
|
|
225
|
+
> .@{ant-prefix}-table-wrapper:only-child
|
|
226
|
+
.@{ant-prefix}-table,
|
|
222
227
|
.@{ant-prefix}-table-tbody
|
|
223
228
|
> tr
|
|
224
229
|
> td
|
|
@@ -508,7 +513,8 @@
|
|
|
508
513
|
border-radius: @zaui-border-radius;
|
|
509
514
|
}
|
|
510
515
|
|
|
511
|
-
.@{ant-prefix}-select-single:not(.@{ant-prefix}-select-customize-input)
|
|
516
|
+
.@{ant-prefix}-select-single:not(.@{ant-prefix}-select-customize-input)
|
|
517
|
+
.@{ant-prefix}-select-selector {
|
|
512
518
|
.set-text-color();
|
|
513
519
|
.set-text-size();
|
|
514
520
|
width: 100%;
|
|
@@ -523,8 +529,12 @@
|
|
|
523
529
|
border-radius: @zaui-border-radius;
|
|
524
530
|
}
|
|
525
531
|
|
|
526
|
-
.@{ant-prefix}-pagination-jump-prev
|
|
527
|
-
|
|
532
|
+
.@{ant-prefix}-pagination-jump-prev
|
|
533
|
+
.@{ant-prefix}-pagination-item-container
|
|
534
|
+
.@{ant-prefix}-pagination-item-link-icon,
|
|
535
|
+
.@{ant-prefix}-pagination-jump-next
|
|
536
|
+
.@{ant-prefix}-pagination-item-container
|
|
537
|
+
.@{ant-prefix}-pagination-item-link-icon {
|
|
528
538
|
color: @zaui-brand;
|
|
529
539
|
}
|
|
530
540
|
}
|
|
@@ -705,3 +715,34 @@
|
|
|
705
715
|
.@{ant-prefix}-popover {
|
|
706
716
|
width: max-content;
|
|
707
717
|
}
|
|
718
|
+
|
|
719
|
+
// tooltip样式重载
|
|
720
|
+
.@{ant-prefix}-tooltip {
|
|
721
|
+
> .ant-tooltip-content {
|
|
722
|
+
> .ant-tooltip-inner {
|
|
723
|
+
color: rgb(29, 33, 41);
|
|
724
|
+
background-color: #fff;
|
|
725
|
+
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
726
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
727
|
+
&::selection {
|
|
728
|
+
color: inherit !important;
|
|
729
|
+
background: rgba(@primary-color, 0.3) !important;
|
|
730
|
+
}
|
|
731
|
+
> div {
|
|
732
|
+
&::selection {
|
|
733
|
+
color: inherit !important;
|
|
734
|
+
background: rgba(@primary-color, 0.3) !important;
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
> .ant-tooltip-arrow {
|
|
739
|
+
> .ant-tooltip-arrow-content {
|
|
740
|
+
--antd-arrow-background-color: linear-gradient(
|
|
741
|
+
to right bottom,
|
|
742
|
+
rgba(255, 255, 255, 0.95),
|
|
743
|
+
rgba(255, 255, 255, 1)
|
|
744
|
+
);
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
}
|