@douyinfe/semi-ui 2.23.1 → 2.23.2
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/css/semi.css +42 -1
- package/dist/css/semi.min.css +1 -1
- package/dist/umd/semi-ui.js +3 -14
- package/dist/umd/semi-ui.js.map +1 -1
- package/dist/umd/semi-ui.min.js +1 -1
- package/dist/umd/semi-ui.min.js.map +1 -1
- package/lib/cjs/button/Button.d.ts +1 -1
- package/lib/cjs/button/index.d.ts +1 -1
- package/lib/cjs/carousel/CarouselIndicator.d.ts +1 -1
- package/lib/cjs/carousel/index.d.ts +1 -1
- package/lib/cjs/datePicker/dateInput.d.ts +1 -1
- package/lib/cjs/datePicker/datePicker.d.ts +1 -1
- package/lib/cjs/datePicker/monthsGrid.d.ts +1 -1
- package/lib/cjs/input/index.d.ts +0 -2
- package/lib/cjs/input/index.js +1 -8
- package/lib/cjs/radio/radio.d.ts +1 -1
- package/lib/cjs/radio/radioGroup.d.ts +1 -1
- package/lib/cjs/tagInput/index.js +2 -2
- package/lib/cjs/typography/base.d.ts +1 -1
- package/lib/cjs/typography/numeral.d.ts +2 -2
- package/lib/cjs/typography/paragraph.d.ts +1 -1
- package/lib/cjs/typography/text.d.ts +1 -1
- package/lib/cjs/typography/title.d.ts +1 -1
- package/lib/cjs/upload/index.d.ts +1 -1
- package/lib/es/button/Button.d.ts +1 -1
- package/lib/es/button/index.d.ts +1 -1
- package/lib/es/carousel/CarouselIndicator.d.ts +1 -1
- package/lib/es/carousel/index.d.ts +1 -1
- package/lib/es/datePicker/dateInput.d.ts +1 -1
- package/lib/es/datePicker/datePicker.d.ts +1 -1
- package/lib/es/datePicker/monthsGrid.d.ts +1 -1
- package/lib/es/input/index.d.ts +0 -2
- package/lib/es/input/index.js +1 -8
- package/lib/es/radio/radio.d.ts +1 -1
- package/lib/es/radio/radioGroup.d.ts +1 -1
- package/lib/es/tagInput/index.js +2 -2
- package/lib/es/typography/base.d.ts +1 -1
- package/lib/es/typography/numeral.d.ts +2 -2
- package/lib/es/typography/paragraph.d.ts +1 -1
- package/lib/es/typography/text.d.ts +1 -1
- package/lib/es/typography/title.d.ts +1 -1
- package/lib/es/upload/index.d.ts +1 -1
- package/package.json +7 -7
package/dist/umd/semi-ui.js
CHANGED
|
@@ -26936,10 +26936,6 @@ class foundation_InputFoundation extends foundation {
|
|
|
26936
26936
|
}
|
|
26937
26937
|
}
|
|
26938
26938
|
|
|
26939
|
-
setPaddingLeft(paddingLeft) {
|
|
26940
|
-
this._adapter.setPaddingLeft(paddingLeft);
|
|
26941
|
-
}
|
|
26942
|
-
|
|
26943
26939
|
isAllowClear() {
|
|
26944
26940
|
const {
|
|
26945
26941
|
value,
|
|
@@ -27088,7 +27084,6 @@ class input_Input extends baseComponent_BaseComponent {
|
|
|
27088
27084
|
cachedValue: null,
|
|
27089
27085
|
disabled: false,
|
|
27090
27086
|
props: {},
|
|
27091
|
-
paddingLeft: '',
|
|
27092
27087
|
isFocus: false,
|
|
27093
27088
|
isHovering: false,
|
|
27094
27089
|
eyeClosed: props.mode === 'password',
|
|
@@ -27139,9 +27134,6 @@ class input_Input extends baseComponent_BaseComponent {
|
|
|
27139
27134
|
notifyKeyUp: e => this.props.onKeyUp(e),
|
|
27140
27135
|
notifyEnterPress: e => this.props.onEnterPress(e),
|
|
27141
27136
|
notifyClear: e => this.props.onClear(e),
|
|
27142
|
-
setPaddingLeft: paddingLeft => this.setState({
|
|
27143
|
-
paddingLeft
|
|
27144
|
-
}),
|
|
27145
27137
|
setMinLength: minLength => this.setState({
|
|
27146
27138
|
minLength
|
|
27147
27139
|
}),
|
|
@@ -27364,7 +27356,6 @@ class input_Input extends baseComponent_BaseComponent {
|
|
|
27364
27356
|
|
|
27365
27357
|
const {
|
|
27366
27358
|
value,
|
|
27367
|
-
paddingLeft,
|
|
27368
27359
|
isFocus,
|
|
27369
27360
|
minLength: stateMinLength
|
|
27370
27361
|
} = this.state;
|
|
@@ -27399,9 +27390,7 @@ class input_Input extends baseComponent_BaseComponent {
|
|
|
27399
27390
|
});
|
|
27400
27391
|
const inputValue = value === null || value === undefined ? '' : value;
|
|
27401
27392
|
const inputProps = Object.assign(Object.assign({}, rest), {
|
|
27402
|
-
style:
|
|
27403
|
-
paddingLeft
|
|
27404
|
-
}, inputStyle),
|
|
27393
|
+
style: inputStyle,
|
|
27405
27394
|
autoFocus: autofocus,
|
|
27406
27395
|
className: inputCls,
|
|
27407
27396
|
disabled,
|
|
@@ -43984,8 +43973,8 @@ class tagInput_TagInput extends baseComponent_BaseComponent {
|
|
|
43984
43973
|
["".concat(tagInput_prefixCls, "-error")]: validateStatus === 'error',
|
|
43985
43974
|
["".concat(tagInput_prefixCls, "-warning")]: validateStatus === 'warning'
|
|
43986
43975
|
});
|
|
43987
|
-
const inputCls = classnames_default()("".concat(tagInput_prefixCls, "-wrapper-input"));
|
|
43988
|
-
const wrapperCls = classnames_default()("".concat(tagInput_prefixCls, "-wrapper"));
|
|
43976
|
+
const inputCls = classnames_default()("".concat(tagInput_prefixCls, "-wrapper-input"), "".concat(tagInput_prefixCls, "-wrapper-input-").concat(size));
|
|
43977
|
+
const wrapperCls = classnames_default()("".concat(tagInput_prefixCls, "-wrapper"), "".concat(tagInput_prefixCls, "-wrapper-").concat(size));
|
|
43989
43978
|
return (
|
|
43990
43979
|
/*#__PURE__*/
|
|
43991
43980
|
// eslint-disable-next-line
|