@douyinfe/semi-ui 2.0.9-alpha.4 → 2.0.9-alpha.5
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 +2 -25
- package/dist/umd/semi-ui.js.map +1 -1
- package/dist/umd/semi-ui.min.js.map +1 -1
- package/lib/es/form/baseForm.d.ts +4 -10
- package/lib/es/form/field.d.ts +4 -22
- package/lib/es/form/field.js +2 -18
- package/lib/es/form/hoc/withField.d.ts +1 -1
- package/lib/es/form/hoc/withField.js +0 -7
- package/lib/es/typography/title.d.ts +1 -1
- package/package.json +2 -2
package/dist/umd/semi-ui.js
CHANGED
|
@@ -99667,8 +99667,6 @@ function useStateWithGetter(initial) {
|
|
|
99667
99667
|
|
|
99668
99668
|
|
|
99669
99669
|
|
|
99670
|
-
/* argus-disable unPkgSensitiveInfo */
|
|
99671
|
-
|
|
99672
99670
|
/* eslint-disable max-lines-per-function, react-hooks/rules-of-hooks, prefer-const, max-len */
|
|
99673
99671
|
|
|
99674
99672
|
|
|
@@ -100172,11 +100170,6 @@ function withField(Component, opts) {
|
|
|
100172
100170
|
return FieldComponent;
|
|
100173
100171
|
}
|
|
100174
100172
|
};
|
|
100175
|
-
/**
|
|
100176
|
-
* Reasons for using ts-igonre: skip strict check of ref
|
|
100177
|
-
*/
|
|
100178
|
-
// @ts-ignore-next-line
|
|
100179
|
-
|
|
100180
100173
|
|
|
100181
100174
|
SemiField = /*#__PURE__*/Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["forwardRef"])(SemiField);
|
|
100182
100175
|
SemiField.displayName = getDisplayName(Component);
|
|
@@ -100239,24 +100232,8 @@ const FormSwitch = hoc_withField(switch_0, {
|
|
|
100239
100232
|
valueKey: 'checked'
|
|
100240
100233
|
});
|
|
100241
100234
|
const FormSlider = hoc_withField(slider_Slider);
|
|
100242
|
-
|
|
100243
|
-
|
|
100244
|
-
*
|
|
100245
|
-
* 1. TimePicker: The propTypes of the locale is defined as object (it is not necessary and too troublesome to write a complete shapeOf),
|
|
100246
|
-
* but the interface defines a complete type, the two cannot match, and ts will report an error, so skip it here.
|
|
100247
|
-
*
|
|
100248
|
-
* 2. Cascader: treeData { label, value } define in PropTypes.shapeOf alreaady declare isRequired, ts still throw error
|
|
100249
|
-
* 【Property is optional in type “InferProps<{ value: Validator<string | number>; label: Validator<any>; }>” but required in type CascaderData】
|
|
100250
|
-
* skip it here.
|
|
100251
|
-
* 3. TreeSelect: value same as cascader, skip it here
|
|
100252
|
-
*
|
|
100253
|
-
*/
|
|
100254
|
-
// @ts-ignore-next-line
|
|
100255
|
-
|
|
100256
|
-
const FormTimePicker = hoc_withField(timePicker_LocaleTimePicker); // @ts-ignore-next-line
|
|
100257
|
-
|
|
100258
|
-
const FormTreeSelect = hoc_withField(treeSelect_0); // @ts-ignore-next-line
|
|
100259
|
-
|
|
100235
|
+
const FormTimePicker = hoc_withField(timePicker_LocaleTimePicker);
|
|
100236
|
+
const FormTreeSelect = hoc_withField(treeSelect_0);
|
|
100260
100237
|
const FormCascader = hoc_withField(cascader_0);
|
|
100261
100238
|
const FormRating = hoc_withField(rating_Rating);
|
|
100262
100239
|
const FormAutoComplete = hoc_withField(autoComplete_0, {
|