@douyinfe/semi-ui 2.0.9-alpha.2 → 2.0.9-alpha.3
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/umd/semi-ui.js +7 -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/es/collapse/index.js +1 -5
- 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/radio/radio.d.ts +1 -1
- package/lib/es/radio/radioGroup.d.ts +1 -1
- package/lib/es/table/Table.d.ts +1 -1
- package/package.json +5 -4
package/dist/umd/semi-ui.js
CHANGED
|
@@ -24901,7 +24901,9 @@ const Icon = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd
|
|
|
24901
24901
|
className: classes,
|
|
24902
24902
|
style: outerStyle
|
|
24903
24903
|
}, restProps), svg);
|
|
24904
|
-
});
|
|
24904
|
+
}); // @ts-ignore used to judge whether it is a semi-icon in semi-ui
|
|
24905
|
+
// custom icon case
|
|
24906
|
+
|
|
24905
24907
|
Icon.elementType = 'Icon';
|
|
24906
24908
|
|
|
24907
24909
|
const convertIcon = (Svg, iconType) => {
|
|
@@ -24909,7 +24911,9 @@ const convertIcon = (Svg, iconType) => {
|
|
|
24909
24911
|
svg: /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Svg),
|
|
24910
24912
|
type: iconType,
|
|
24911
24913
|
ref: ref
|
|
24912
|
-
}, props)));
|
|
24914
|
+
}, props))); // @ts-ignore used to judge whether it is a semi-icon in semi-ui
|
|
24915
|
+
// builtin icon case
|
|
24916
|
+
|
|
24913
24917
|
InnerIcon.elementType = 'Icon';
|
|
24914
24918
|
return InnerIcon;
|
|
24915
24919
|
};
|
|
@@ -46306,12 +46310,8 @@ class collapse_Collapse extends baseComponent_BaseComponent {
|
|
|
46306
46310
|
}
|
|
46307
46311
|
|
|
46308
46312
|
get adapter() {
|
|
46309
|
-
var _this = this;
|
|
46310
|
-
|
|
46311
46313
|
return assign_default()(assign_default()({}, super.adapter), {
|
|
46312
|
-
handleChange:
|
|
46313
|
-
return _this.props.onChange(...arguments);
|
|
46314
|
-
},
|
|
46314
|
+
handleChange: (activeKey, e) => this.props.onChange(activeKey, e),
|
|
46315
46315
|
addActiveKey: activeSet => this.setState({
|
|
46316
46316
|
activeSet
|
|
46317
46317
|
})
|