@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.
- package/dist/css/semi.css +7 -6
- package/dist/css/semi.min.css +1 -1
- package/dist/umd/semi-ui.js +4 -25
- 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 +0 -24
- package/lib/es/datePicker/datePicker.js +0 -24
- package/package.json +8 -8
|
@@ -173,36 +173,12 @@ class DatePicker extends _baseComponent.default {
|
|
|
173
173
|
density,
|
|
174
174
|
topSlot,
|
|
175
175
|
bottomSlot,
|
|
176
|
-
insetInput,
|
|
177
|
-
type,
|
|
178
|
-
format,
|
|
179
|
-
rangeSeparator,
|
|
180
|
-
defaultPickerValue,
|
|
181
176
|
presetPosition
|
|
182
177
|
} = this.props;
|
|
183
|
-
const {
|
|
184
|
-
insetInputValue,
|
|
185
|
-
value
|
|
186
|
-
} = this.state;
|
|
187
178
|
const wrapCls = (0, _classnames.default)(_constants.cssClasses.PREFIX, {
|
|
188
179
|
[_constants.cssClasses.PANEL_YAM]: this.adapter.typeIsYearOrMonth(),
|
|
189
180
|
[`${_constants.cssClasses.PREFIX}-compact`]: density === 'compact'
|
|
190
181
|
}, dropdownClassName);
|
|
191
|
-
const insetInputProps = {
|
|
192
|
-
dateFnsLocale,
|
|
193
|
-
format,
|
|
194
|
-
insetInputValue,
|
|
195
|
-
rangeSeparator,
|
|
196
|
-
type,
|
|
197
|
-
value: value,
|
|
198
|
-
handleInsetDateFocus: this.handleInsetDateFocus,
|
|
199
|
-
handleInsetTimeFocus: this.handleInsetTimeFocus,
|
|
200
|
-
onInsetInputChange: this.handleInsetInputChange,
|
|
201
|
-
rangeInputStartRef: this.rangeInputStartRef,
|
|
202
|
-
rangeInputEndRef: this.rangeInputEndRef,
|
|
203
|
-
density,
|
|
204
|
-
defaultPickerValue
|
|
205
|
-
};
|
|
206
182
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
207
183
|
ref: this.panelRef,
|
|
208
184
|
className: wrapCls,
|
|
@@ -143,36 +143,12 @@ export default class DatePicker extends BaseComponent {
|
|
|
143
143
|
density,
|
|
144
144
|
topSlot,
|
|
145
145
|
bottomSlot,
|
|
146
|
-
insetInput,
|
|
147
|
-
type,
|
|
148
|
-
format,
|
|
149
|
-
rangeSeparator,
|
|
150
|
-
defaultPickerValue,
|
|
151
146
|
presetPosition
|
|
152
147
|
} = this.props;
|
|
153
|
-
const {
|
|
154
|
-
insetInputValue,
|
|
155
|
-
value
|
|
156
|
-
} = this.state;
|
|
157
148
|
const wrapCls = classnames(cssClasses.PREFIX, {
|
|
158
149
|
[cssClasses.PANEL_YAM]: this.adapter.typeIsYearOrMonth(),
|
|
159
150
|
[`${cssClasses.PREFIX}-compact`]: density === 'compact'
|
|
160
151
|
}, dropdownClassName);
|
|
161
|
-
const insetInputProps = {
|
|
162
|
-
dateFnsLocale,
|
|
163
|
-
format,
|
|
164
|
-
insetInputValue,
|
|
165
|
-
rangeSeparator,
|
|
166
|
-
type,
|
|
167
|
-
value: value,
|
|
168
|
-
handleInsetDateFocus: this.handleInsetDateFocus,
|
|
169
|
-
handleInsetTimeFocus: this.handleInsetTimeFocus,
|
|
170
|
-
onInsetInputChange: this.handleInsetInputChange,
|
|
171
|
-
rangeInputStartRef: this.rangeInputStartRef,
|
|
172
|
-
rangeInputEndRef: this.rangeInputEndRef,
|
|
173
|
-
density,
|
|
174
|
-
defaultPickerValue
|
|
175
|
-
};
|
|
176
152
|
return /*#__PURE__*/React.createElement("div", {
|
|
177
153
|
ref: this.panelRef,
|
|
178
154
|
className: wrapCls,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-ui",
|
|
3
|
-
"version": "2.29.0
|
|
3
|
+
"version": "2.29.0",
|
|
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.29.0
|
|
21
|
-
"@douyinfe/semi-animation-react": "2.29.0
|
|
22
|
-
"@douyinfe/semi-foundation": "2.29.0
|
|
23
|
-
"@douyinfe/semi-icons": "2.29.0
|
|
24
|
-
"@douyinfe/semi-illustrations": "2.29.0
|
|
25
|
-
"@douyinfe/semi-theme-default": "2.29.0
|
|
20
|
+
"@douyinfe/semi-animation": "2.29.0",
|
|
21
|
+
"@douyinfe/semi-animation-react": "2.29.0",
|
|
22
|
+
"@douyinfe/semi-foundation": "2.29.0",
|
|
23
|
+
"@douyinfe/semi-icons": "2.29.0",
|
|
24
|
+
"@douyinfe/semi-illustrations": "2.29.0",
|
|
25
|
+
"@douyinfe/semi-theme-default": "2.29.0",
|
|
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": "cf2c6529fb778787c2d3f6cb826e64af358a5215",
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@babel/plugin-proposal-decorators": "^7.15.8",
|
|
75
75
|
"@babel/plugin-transform-runtime": "^7.15.8",
|