@zat-design/sisyphus-react 3.9.5-beta.7 → 3.9.5-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.
@@ -0,0 +1,5 @@
1
+ {
2
+ "recommendations": [
3
+ "kisstkondoros.vscode-codemetrics"
4
+ ]
5
+ }
@@ -3220,6 +3220,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
3220
3220
  width: -webkit-max-content;
3221
3221
  width: -moz-max-content;
3222
3222
  width: max-content;
3223
+ max-width: 100%;
3223
3224
  }
3224
3225
  .original-value-tooltip .changed-tooltip .original-value-container .ant-space-item:nth-child(1) {
3225
3226
  white-space: nowrap;
package/dist/less.esm.css CHANGED
@@ -3220,6 +3220,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
3220
3220
  width: -webkit-max-content;
3221
3221
  width: -moz-max-content;
3222
3222
  width: max-content;
3223
+ max-width: 100%;
3223
3224
  }
3224
3225
  .original-value-tooltip .changed-tooltip .original-value-container .ant-space-item:nth-child(1) {
3225
3226
  white-space: nowrap;
@@ -495,6 +495,7 @@
495
495
 
496
496
  .original-value-tooltip{
497
497
  width: max-content;
498
+ max-width: 100%;
498
499
  .changed-tooltip {
499
500
  .original-value-container {
500
501
  .ant-space-item:nth-child(1) {
@@ -296,7 +296,7 @@ export var ProSelect = function ProSelect(props, ref) {
296
296
  showArrow: true,
297
297
  loading: fetchFunction === null || fetchFunction === void 0 ? void 0 : fetchFunction.loading,
298
298
  onChange: handleChange,
299
- optionLabelProp: (otherProps === null || otherProps === void 0 ? void 0 : otherProps.isDiffChange) ? 'label' : 'children',
299
+ // optionLabelProp={otherProps?.isDiffChange ? 'label' : 'children'} // 解决warning报错,添加默认值
300
300
  // optionLabelProp="label" // 解决warning报错,添加默认值
301
301
  showSearch: true,
302
302
  filterOption: isFunction(_onSearch) ? false : function (input, option) {
@@ -495,6 +495,7 @@
495
495
 
496
496
  .original-value-tooltip{
497
497
  width: max-content;
498
+ max-width: 100%;
498
499
  .changed-tooltip {
499
500
  .original-value-container {
500
501
  .ant-space-item:nth-child(1) {
@@ -297,7 +297,7 @@ var ProSelect = exports.ProSelect = function ProSelect(props, ref) {
297
297
  showArrow: true,
298
298
  loading: fetchFunction === null || fetchFunction === void 0 ? void 0 : fetchFunction.loading,
299
299
  onChange: handleChange,
300
- optionLabelProp: (otherProps === null || otherProps === void 0 ? void 0 : otherProps.isDiffChange) ? 'label' : 'children',
300
+ // optionLabelProp={otherProps?.isDiffChange ? 'label' : 'children'} // 解决warning报错,添加默认值
301
301
  // optionLabelProp="label" // 解决warning报错,添加默认值
302
302
  showSearch: true,
303
303
  filterOption: (0, _lodash.isFunction)(_onSearch) ? false : function (input, option) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.9.5-beta.7",
3
+ "version": "3.9.5-beta.9",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",