@douyinfe/semi-ui 2.29.0-beta.0 → 2.29.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.
@@ -50563,10 +50563,13 @@ class foundation_DatePickerFoundation extends foundation {
50563
50563
 
50564
50564
  const result = this.parseWithTimezone(_value, timeZone, prevTimeZone);
50565
50565
 
50566
- this._adapter.updatePrevTimezone(prevTimeZone);
50566
+ this._adapter.updatePrevTimezone(prevTimeZone); // reset input value when value update
50567
+
50567
50568
 
50568
50569
  this._adapter.updateInputValue(null);
50569
50570
 
50571
+ this._adapter.updateInsetInputValue(null);
50572
+
50570
50573
  this._adapter.updateValue(result);
50571
50574
 
50572
50575
  this.resetCachedSelectedValue(result);
@@ -58185,36 +58188,12 @@ class datePicker_DatePicker extends baseComponent_BaseComponent {
58185
58188
  density,
58186
58189
  topSlot,
58187
58190
  bottomSlot,
58188
- insetInput,
58189
- type,
58190
- format,
58191
- rangeSeparator,
58192
- defaultPickerValue,
58193
58191
  presetPosition
58194
58192
  } = this.props;
58195
- const {
58196
- insetInputValue,
58197
- value
58198
- } = this.state;
58199
58193
  const wrapCls = classnames_default()(datePicker_constants_cssClasses.PREFIX, {
58200
58194
  [datePicker_constants_cssClasses.PANEL_YAM]: this.adapter.typeIsYearOrMonth(),
58201
58195
  [`${datePicker_constants_cssClasses.PREFIX}-compact`]: density === 'compact'
58202
58196
  }, dropdownClassName);
58203
- const insetInputProps = {
58204
- dateFnsLocale,
58205
- format,
58206
- insetInputValue,
58207
- rangeSeparator,
58208
- type,
58209
- value: value,
58210
- handleInsetDateFocus: this.handleInsetDateFocus,
58211
- handleInsetTimeFocus: this.handleInsetTimeFocus,
58212
- onInsetInputChange: this.handleInsetInputChange,
58213
- rangeInputStartRef: this.rangeInputStartRef,
58214
- rangeInputEndRef: this.rangeInputEndRef,
58215
- density,
58216
- defaultPickerValue
58217
- };
58218
58197
  return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
58219
58198
  ref: this.panelRef,
58220
58199
  className: wrapCls,