@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.
- package/dist/css/semi.css +3 -0
- package/dist/css/semi.min.css +1 -1
- package/dist/umd/semi-ui.js +10 -46
- 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/cjs/datePicker/datePicker.js +1 -2
- package/lib/es/datePicker/datePicker.js +1 -2
- package/package.json +8 -8
|
@@ -289,14 +289,13 @@ class DatePicker extends _baseComponent.default {
|
|
|
289
289
|
isRange: false,
|
|
290
290
|
inputValue: null,
|
|
291
291
|
value: [],
|
|
292
|
-
cachedSelectedValue:
|
|
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:
|
|
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.
|
|
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.
|
|
21
|
-
"@douyinfe/semi-animation-react": "2.34.
|
|
22
|
-
"@douyinfe/semi-foundation": "2.34.
|
|
23
|
-
"@douyinfe/semi-icons": "2.34.
|
|
24
|
-
"@douyinfe/semi-illustrations": "2.34.
|
|
25
|
-
"@douyinfe/semi-theme-default": "2.34.
|
|
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": "
|
|
72
|
+
"gitHead": "4b6cad1d1798554e24ca0c5330e1d5ec353b8964",
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@babel/plugin-proposal-decorators": "^7.15.8",
|
|
75
75
|
"@babel/plugin-transform-runtime": "^7.15.8",
|