@douyinfe/semi-ui 2.21.0-beta.0 → 2.21.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/css/semi.css +7 -7
- package/dist/css/semi.min.css +1 -1
- package/dist/umd/semi-ui.js +11 -7
- 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/form/interface.d.ts +1 -1
- package/lib/cjs/image/image.d.ts +1 -1
- package/lib/cjs/image/image.js +2 -2
- package/lib/cjs/image/index.d.ts +1 -0
- package/lib/cjs/image/index.js +2 -0
- package/lib/cjs/image/preview.d.ts +1 -0
- package/lib/cjs/image/preview.js +2 -0
- package/lib/cjs/select/index.d.ts +2 -2
- package/lib/cjs/select/index.js +2 -2
- package/lib/es/form/interface.d.ts +1 -1
- package/lib/es/image/image.d.ts +1 -1
- package/lib/es/image/image.js +1 -1
- package/lib/es/image/index.d.ts +1 -0
- package/lib/es/image/index.js +1 -0
- package/lib/es/image/preview.d.ts +1 -0
- package/lib/es/image/preview.js +1 -0
- package/lib/es/select/index.d.ts +2 -2
- package/lib/es/select/index.js +2 -2
- package/package.json +7 -7
package/dist/umd/semi-ui.js
CHANGED
|
@@ -27448,8 +27448,10 @@ class foundation_AutoCompleteFoundation extends foundation {
|
|
|
27448
27448
|
}
|
|
27449
27449
|
|
|
27450
27450
|
handleBlur(e) {
|
|
27451
|
-
//
|
|
27451
|
+
// https://reactjs.org/docs/legacy-event-pooling.html
|
|
27452
|
+
e.persist(); // In order to handle the problem of losing onClick binding when clicking on the padding area, the onBlur event is triggered first to cause the react view to be updated
|
|
27452
27453
|
// internal-issues:1231
|
|
27454
|
+
|
|
27453
27455
|
setTimeout(() => {
|
|
27454
27456
|
this._adapter.notifyBlur(e);
|
|
27455
27457
|
|
|
@@ -71701,7 +71703,7 @@ const select_constants_strings = {
|
|
|
71701
71703
|
STATUS: VALIDATE_STATUS
|
|
71702
71704
|
};
|
|
71703
71705
|
const select_constants_numbers = {
|
|
71704
|
-
LIST_HEIGHT:
|
|
71706
|
+
LIST_HEIGHT: 270
|
|
71705
71707
|
};
|
|
71706
71708
|
|
|
71707
71709
|
// CONCATENATED MODULE: ./tag/group.tsx
|
|
@@ -72830,7 +72832,7 @@ class select_Select extends baseComponent_BaseComponent {
|
|
|
72830
72832
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
72831
72833
|
external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
|
|
72832
72834
|
id: "".concat(select_prefixcls, "-").concat(this.selectOptionListID),
|
|
72833
|
-
className: dropdownClassName,
|
|
72835
|
+
className: classnames_default()("".concat(select_prefixcls, "-option-list-wrapper"), dropdownClassName),
|
|
72834
72836
|
style: style,
|
|
72835
72837
|
ref: this.setOptionContainerEl,
|
|
72836
72838
|
onKeyDown: e => this.foundation.handleContainerKeyDown(e)
|
|
@@ -73342,7 +73344,7 @@ select_Select.defaultProps = {
|
|
|
73342
73344
|
onBlur: noop_default.a,
|
|
73343
73345
|
onClear: noop_default.a,
|
|
73344
73346
|
onListScroll: noop_default.a,
|
|
73345
|
-
maxHeight:
|
|
73347
|
+
maxHeight: select_constants_numbers.LIST_HEIGHT,
|
|
73346
73348
|
dropdownMatchSelectWidth: true,
|
|
73347
73349
|
defaultActiveFirstOption: true,
|
|
73348
73350
|
showArrow: true,
|
|
@@ -103141,9 +103143,6 @@ previewInner_PreviewInner.defaultProps = {
|
|
|
103141
103143
|
maskClosable: true,
|
|
103142
103144
|
viewerVisibleDelay: 10000
|
|
103143
103145
|
};
|
|
103144
|
-
// EXTERNAL MODULE: ../semi-foundation/image/image.scss
|
|
103145
|
-
var image_image = __webpack_require__("txvO");
|
|
103146
|
-
|
|
103147
103146
|
// CONCATENATED MODULE: ../semi-foundation/image/imageFoundation.ts
|
|
103148
103147
|
|
|
103149
103148
|
|
|
@@ -103221,6 +103220,9 @@ class imageFoundation_ImageFoundation extends foundation {
|
|
|
103221
103220
|
}
|
|
103222
103221
|
|
|
103223
103222
|
}
|
|
103223
|
+
// EXTERNAL MODULE: ../semi-foundation/image/image.scss
|
|
103224
|
+
var image_image = __webpack_require__("txvO");
|
|
103225
|
+
|
|
103224
103226
|
// CONCATENATED MODULE: ./image/image.tsx
|
|
103225
103227
|
|
|
103226
103228
|
|
|
@@ -103450,6 +103452,7 @@ image_Image.defaultProps = {
|
|
|
103450
103452
|
|
|
103451
103453
|
|
|
103452
103454
|
|
|
103455
|
+
|
|
103453
103456
|
/* harmony default export */ var image_0 = (image_Image);
|
|
103454
103457
|
|
|
103455
103458
|
|
|
@@ -103513,6 +103516,7 @@ var preview_rest = undefined && undefined.__rest || function (s, e) {
|
|
|
103513
103516
|
|
|
103514
103517
|
|
|
103515
103518
|
|
|
103519
|
+
|
|
103516
103520
|
const preview_prefixCls = image_constants_cssClasses.PREFIX;
|
|
103517
103521
|
class preview_Preview extends baseComponent_BaseComponent {
|
|
103518
103522
|
constructor(props) {
|