@douyinfe/semi-ui 2.34.1 → 2.34.2

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.
@@ -289,14 +289,13 @@ class DatePicker extends _baseComponent.default {
289
289
  isRange: false,
290
290
  inputValue: null,
291
291
  value: [],
292
- cachedSelectedValue: null,
292
+ cachedSelectedValue: [],
293
293
  prevTimeZone: null,
294
294
  rangeInputFocus: undefined,
295
295
  autofocus: props.autoFocus || this.isRangeType(props.type, props.triggerRender) && (props.open || props.defaultOpen),
296
296
  insetInputValue: null,
297
297
  triggerDisabled: undefined
298
298
  };
299
- this.adapter.setCache('cachedSelectedValue', null);
300
299
  this.triggerElRef = /*#__PURE__*/_react.default.createRef();
301
300
  this.panelRef = /*#__PURE__*/_react.default.createRef();
302
301
  this.monthGrid = /*#__PURE__*/_react.default.createRef();
@@ -258,14 +258,13 @@ export default class DatePicker extends BaseComponent {
258
258
  isRange: false,
259
259
  inputValue: null,
260
260
  value: [],
261
- cachedSelectedValue: null,
261
+ cachedSelectedValue: [],
262
262
  prevTimeZone: null,
263
263
  rangeInputFocus: undefined,
264
264
  autofocus: props.autoFocus || this.isRangeType(props.type, props.triggerRender) && (props.open || props.defaultOpen),
265
265
  insetInputValue: null,
266
266
  triggerDisabled: undefined
267
267
  };
268
- this.adapter.setCache('cachedSelectedValue', null);
269
268
  this.triggerElRef = /*#__PURE__*/React.createRef();
270
269
  this.panelRef = /*#__PURE__*/React.createRef();
271
270
  this.monthGrid = /*#__PURE__*/React.createRef();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-ui",
3
- "version": "2.34.1",
3
+ "version": "2.34.2",
4
4
  "description": "",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es/index.js",
@@ -17,12 +17,12 @@
17
17
  "lib/*"
18
18
  ],
19
19
  "dependencies": {
20
- "@douyinfe/semi-animation": "2.34.1",
21
- "@douyinfe/semi-animation-react": "2.34.1",
22
- "@douyinfe/semi-foundation": "2.34.1",
23
- "@douyinfe/semi-icons": "2.34.1",
24
- "@douyinfe/semi-illustrations": "2.34.1",
25
- "@douyinfe/semi-theme-default": "2.34.1",
20
+ "@douyinfe/semi-animation": "2.34.2",
21
+ "@douyinfe/semi-animation-react": "2.34.2",
22
+ "@douyinfe/semi-foundation": "2.34.2",
23
+ "@douyinfe/semi-icons": "2.34.2",
24
+ "@douyinfe/semi-illustrations": "2.34.2",
25
+ "@douyinfe/semi-theme-default": "2.34.2",
26
26
  "async-validator": "^3.5.0",
27
27
  "classnames": "^2.2.6",
28
28
  "copy-text-to-clipboard": "^2.1.1",
@@ -69,7 +69,7 @@
69
69
  ],
70
70
  "author": "",
71
71
  "license": "MIT",
72
- "gitHead": "810c998a7c1db1cb824fb3c17353ca94c3df067e",
72
+ "gitHead": "4b6cad1d1798554e24ca0c5330e1d5ec353b8964",
73
73
  "devDependencies": {
74
74
  "@babel/plugin-proposal-decorators": "^7.15.8",
75
75
  "@babel/plugin-transform-runtime": "^7.15.8",