assui 3.2.91 → 3.2.93

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.
@@ -5,7 +5,7 @@ interface LabelNumberInputBaseProps extends NumberInputProps {
5
5
  label?: React.ReactNode;
6
6
  /** label 是否省略 */
7
7
  labelEllipsis?: false;
8
- /** 输入框除去label之后的最小末尾宽度 */
8
+ /** 输入框最小宽度 */
9
9
  baseMinWidth?: number;
10
10
  /** 组件dom id */
11
11
  id?: string;
@@ -76,7 +76,7 @@ var LabelNumberInput = function LabelNumberInput(props) {
76
76
  'label-number-input-focused': focused,
77
77
  'label-number-input-disabled': props.disabled
78
78
  })
79
- }, /*#__PURE__*/React.createElement(NumberInput, __assign({}, omit(props, ['onChange', 'onBlur', 'onFocus', 'className', 'label', 'placeholder', 'baseMinWidth']), {
79
+ }, /*#__PURE__*/React.createElement(NumberInput, __assign({}, omit(props, ['onChange', 'onBlur', 'onFocus', 'className', 'label', 'placeholder', 'baseMinWidth', 'labelEllipsis']), {
80
80
  ref: numberInputRef,
81
81
  "data-value": !isUndefined(value) ? "".concat(value).length : 0,
82
82
  value: value,
@@ -83,8 +83,7 @@ var MultiLineEllipsisText = function MultiLineEllipsisText(_a) {
83
83
  whiteSpace: 'pre-wrap',
84
84
  wordBreak: 'break-all'
85
85
  },
86
- title: isEllipsis ? text : undefined,
87
- onClick: isEllipsis ? onClick : undefined
86
+ onClick: onClick
88
87
  }, text);
89
88
  if (isEllipsis && tipType === 'modal') {
90
89
  return /*#__PURE__*/React.createElement(ButtonModal, __assign({
@@ -5,7 +5,7 @@ interface LabelNumberInputBaseProps extends NumberInputProps {
5
5
  label?: React.ReactNode;
6
6
  /** label 是否省略 */
7
7
  labelEllipsis?: false;
8
- /** 输入框除去label之后的最小末尾宽度 */
8
+ /** 输入框最小宽度 */
9
9
  baseMinWidth?: number;
10
10
  /** 组件dom id */
11
11
  id?: string;
@@ -86,7 +86,7 @@ var LabelNumberInput = function LabelNumberInput(props) {
86
86
  'label-number-input-focused': focused,
87
87
  'label-number-input-disabled': props.disabled
88
88
  })
89
- }, react_1["default"].createElement(number_input_1["default"], __assign({}, (0, omit_1["default"])(props, ['onChange', 'onBlur', 'onFocus', 'className', 'label', 'placeholder', 'baseMinWidth']), {
89
+ }, react_1["default"].createElement(number_input_1["default"], __assign({}, (0, omit_1["default"])(props, ['onChange', 'onBlur', 'onFocus', 'className', 'label', 'placeholder', 'baseMinWidth', 'labelEllipsis']), {
90
90
  ref: numberInputRef,
91
91
  "data-value": !(0, isUndefined_1["default"])(value) ? "".concat(value).length : 0,
92
92
  value: value,
@@ -93,8 +93,7 @@ var MultiLineEllipsisText = function MultiLineEllipsisText(_a) {
93
93
  whiteSpace: 'pre-wrap',
94
94
  wordBreak: 'break-all'
95
95
  },
96
- title: isEllipsis ? text : undefined,
97
- onClick: isEllipsis ? onClick : undefined
96
+ onClick: onClick
98
97
  }, text);
99
98
  if (isEllipsis && tipType === 'modal') {
100
99
  return react_1["default"].createElement(button_modal_1["default"], __assign({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "3.2.91",
3
+ "version": "3.2.93",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -35,7 +35,7 @@
35
35
  "@types/react-beautiful-dnd": "^13.1.2",
36
36
  "@types/react-color": "^3.0.6",
37
37
  "@types/react-resizable": "^3.0.0",
38
- "a-icons": "^1.2.61",
38
+ "a-icons": "^1.2.62",
39
39
  "aa-utils": "^2.1.31",
40
40
  "ahooks": "^3.9.5",
41
41
  "bignumber.js": "^9.0.1",