@douyinfe/semi-ui 2.24.2 → 2.24.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.
@@ -71211,9 +71211,8 @@ class foundation_SelectFoundation extends foundation {
71211
71211
  }
71212
71212
 
71213
71213
  handleTriggerFocus(e) {
71214
- this.bindKeyBoardEvent();
71215
-
71216
- this._adapter.updateFocusState(true);
71214
+ this.bindKeyBoardEvent(); // close the tag in multiple select did not trigger select focus, but trigger TriggerFocus, so not need to updateFocusState in this function
71215
+ // this._adapter.updateFocusState(true);
71217
71216
 
71218
71217
  this._adapter.setIsFocusInContainer(false);
71219
71218
  }
@@ -100553,20 +100552,34 @@ function useFieldState(field) {
100553
100552
 
100554
100553
 
100555
100554
 
100556
- const withFormState = Component => /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.forwardRef((props, ref) => /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(FormStateContext.Consumer, null, formState => /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Component, Object.assign({
100557
- formState: formState,
100558
- ref: ref
100559
- }, props))));
100555
+ function withFormState(Component) {
100556
+ let WithStateCom = (props, ref) => {
100557
+ return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(FormStateContext.Consumer, null, formState => /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Component, Object.assign({
100558
+ formState: formState,
100559
+ ref: ref
100560
+ }, props)));
100561
+ };
100562
+
100563
+ WithStateCom = /*#__PURE__*/Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["forwardRef"])(WithStateCom);
100564
+ return WithStateCom;
100565
+ }
100560
100566
 
100561
100567
  /* harmony default export */ var hoc_withFormState = (withFormState);
100562
100568
  // CONCATENATED MODULE: ./form/hoc/withFormApi.tsx
100563
100569
 
100564
100570
 
100565
100571
 
100566
- const withFormApi = Component => /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.forwardRef((props, ref) => /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(FormApiContext.Consumer, null, formApi => /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Component, Object.assign({
100567
- formApi: formApi,
100568
- ref: ref
100569
- }, props))));
100572
+ function withFormApi(Component) {
100573
+ let WithApiCom = (props, ref) => {
100574
+ return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(FormApiContext.Consumer, null, formApi => /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Component, Object.assign({
100575
+ formApi: formApi,
100576
+ ref: ref
100577
+ }, props)));
100578
+ };
100579
+
100580
+ WithApiCom = /*#__PURE__*/Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["forwardRef"])(WithApiCom);
100581
+ return WithApiCom;
100582
+ }
100570
100583
 
100571
100584
  /* harmony default export */ var hoc_withFormApi = (withFormApi);
100572
100585
  // CONCATENATED MODULE: ./form/arrayField.tsx