@alfalab/core-components-date-input 2.4.0 → 3.0.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/Component.js CHANGED
@@ -55,7 +55,7 @@ function __rest(s, e) {
55
55
  return t;
56
56
  }
57
57
 
58
- var styles = {"nativeInput":"date-input__nativeInput_1cnb7"};
58
+ var styles = {"nativeInput":"date-input__nativeInput_4kn45"};
59
59
  require('./index.css')
60
60
 
61
61
  var DateInput = React.forwardRef(function (_a, ref) {
package/esm/Component.js CHANGED
@@ -46,7 +46,7 @@ function __rest(s, e) {
46
46
  return t;
47
47
  }
48
48
 
49
- var styles = {"nativeInput":"date-input__nativeInput_1cnb7"};
49
+ var styles = {"nativeInput":"date-input__nativeInput_4kn45"};
50
50
  require('./index.css')
51
51
 
52
52
  var DateInput = forwardRef(function (_a, ref) {
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1hgld */
1
+ /* hash: tdfbe */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .date-input__nativeInput_1cnb7 {
10
+ .date-input__nativeInput_4kn45 {
11
11
  opacity: 0;
12
12
  position: absolute;
13
13
  top: 0;
@@ -18,9 +18,9 @@
18
18
  appearance: none;
19
19
  z-index: 1
20
20
  }
21
- .date-input__nativeInput_1cnb7::-webkit-calendar-picker-indicator {
21
+ .date-input__nativeInput_4kn45::-webkit-calendar-picker-indicator {
22
22
  display: none;
23
23
  }
24
- .date-input__nativeInput_1cnb7::-webkit-inner-spin-button {
24
+ .date-input__nativeInput_4kn45::-webkit-inner-spin-button {
25
25
  display: none;
26
26
  }
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1hgld */
1
+ /* hash: tdfbe */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .date-input__nativeInput_1cnb7 {
10
+ .date-input__nativeInput_4kn45 {
11
11
  opacity: 0;
12
12
  position: absolute;
13
13
  top: 0;
@@ -18,9 +18,9 @@
18
18
  appearance: none;
19
19
  z-index: 1
20
20
  }
21
- .date-input__nativeInput_1cnb7::-webkit-calendar-picker-indicator {
21
+ .date-input__nativeInput_4kn45::-webkit-calendar-picker-indicator {
22
22
  display: none;
23
23
  }
24
- .date-input__nativeInput_1cnb7::-webkit-inner-spin-button {
24
+ .date-input__nativeInput_4kn45::-webkit-inner-spin-button {
25
25
  display: none;
26
26
  }
@@ -7,7 +7,7 @@ import 'date-fns/isValid';
7
7
  import { format, parseDateString, isCompleteDateInput, isValid, NATIVE_DATE_FORMAT, formatDate } from './utils/format.js';
8
8
  import { isInputDateSupported } from './utils/native-supports.js';
9
9
 
10
- var styles = {"nativeInput":"date-input__nativeInput_1cnb7"};
10
+ var styles = {"nativeInput":"date-input__nativeInput_4kn45"};
11
11
  require('./index.css')
12
12
 
13
13
  const DateInput = forwardRef(({ mobileMode = 'input', defaultValue = '', rightAddons, error, value: propValue, onBlur, onChange, onComplete, ...restProps }, ref) => {
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1hgld */
1
+ /* hash: tdfbe */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .date-input__nativeInput_1cnb7 {
10
+ .date-input__nativeInput_4kn45 {
11
11
  opacity: 0;
12
12
  position: absolute;
13
13
  top: 0;
@@ -18,9 +18,9 @@
18
18
  appearance: none;
19
19
  z-index: 1
20
20
  }
21
- .date-input__nativeInput_1cnb7::-webkit-calendar-picker-indicator {
21
+ .date-input__nativeInput_4kn45::-webkit-calendar-picker-indicator {
22
22
  display: none;
23
23
  }
24
- .date-input__nativeInput_1cnb7::-webkit-inner-spin-button {
24
+ .date-input__nativeInput_4kn45::-webkit-inner-spin-button {
25
25
  display: none;
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-date-input",
3
- "version": "2.4.0",
3
+ "version": "3.0.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -17,7 +17,7 @@
17
17
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
18
18
  },
19
19
  "dependencies": {
20
- "@alfalab/core-components-input": "^9.1.0",
20
+ "@alfalab/core-components-input": "^10.0.0",
21
21
  "date-fns": "^2.16.1",
22
22
  "react-merge-refs": "^1.1.0"
23
23
  }
package/CHANGELOG.md DELETED
@@ -1,349 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [2.4.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.3.4...@alfalab/core-components-date-input@2.4.0) (2022-08-04)
7
-
8
-
9
- ### Features
10
-
11
- * react 18 support ([#159](https://github.com/core-ds/core-components/issues/159)) ([2e6693c](https://github.com/core-ds/core-components/commit/2e6693c62f534e333aadb7d3fff4ffd78ac84c63))
12
-
13
-
14
-
15
-
16
-
17
- ## [2.3.4](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.3.3...@alfalab/core-components-date-input@2.3.4) (2022-07-25)
18
-
19
- **Note:** Version bump only for package @alfalab/core-components-date-input
20
-
21
-
22
-
23
-
24
-
25
- ## [2.3.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.3.2...@alfalab/core-components-date-input@2.3.3) (2022-07-18)
26
-
27
- **Note:** Version bump only for package @alfalab/core-components-date-input
28
-
29
-
30
-
31
-
32
-
33
- ## [2.3.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.3.1...@alfalab/core-components-date-input@2.3.2) (2022-07-15)
34
-
35
-
36
- ### Bug Fixes
37
-
38
- * bump packages version ([#153](https://github.com/core-ds/core-components/issues/153)) ([fd3e082](https://github.com/core-ds/core-components/commit/fd3e08205672129cdce04e1000c673f2cd9c10da))
39
-
40
-
41
-
42
-
43
-
44
- ## [2.3.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.3.0...@alfalab/core-components-date-input@2.3.1) (2022-07-14)
45
-
46
- **Note:** Version bump only for package @alfalab/core-components-date-input
47
-
48
-
49
-
50
-
51
-
52
- # [2.3.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.2.2...@alfalab/core-components-date-input@2.3.0) (2022-06-28)
53
-
54
-
55
- ### Bug Fixes
56
-
57
- * **pure-cell:** fix stories ([#113](https://github.com/core-ds/core-components/issues/113)) ([01f6138](https://github.com/core-ds/core-components/commit/01f6138615b1b7268510e012c314650c084c9ef0))
58
-
59
-
60
- ### Features
61
-
62
- * circumflexus retrieval ([#57](https://github.com/core-ds/core-components/issues/57)) ([3820da8](https://github.com/core-ds/core-components/commit/3820da818bcdcbee6904c648b3e29c3c828fe202))
63
-
64
-
65
-
66
-
67
-
68
- ## [2.2.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.2.1...@alfalab/core-components-date-input@2.2.2) (2022-06-23)
69
-
70
- **Note:** Version bump only for package @alfalab/core-components-date-input
71
-
72
-
73
-
74
-
75
-
76
- ## [2.2.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.2.0...@alfalab/core-components-date-input@2.2.1) (2022-06-20)
77
-
78
- **Note:** Version bump only for package @alfalab/core-components-date-input
79
-
80
-
81
-
82
-
83
-
84
- # [2.2.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.1.5...@alfalab/core-components-date-input@2.2.0) (2022-06-03)
85
-
86
-
87
- ### Features
88
-
89
- * **date-input:** removed date validation ([#69](https://github.com/core-ds/core-components/issues/69)) ([ca56ec9](https://github.com/core-ds/core-components/commit/ca56ec97db0d966233bd4312fdddabd59ed427ae))
90
-
91
-
92
-
93
-
94
-
95
- # [2.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.0.0...@alfalab/core-components-date-input@2.1.0) (2022-03-04)
96
-
97
-
98
- ### Features
99
-
100
- * Исправить импорты в сторях. ([#998](https://github.com/core-ds/core-components/issues/998)) ([e6a654a](https://github.com/core-ds/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
101
-
102
-
103
-
104
-
105
-
106
- # [2.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.3.0...@alfalab/core-components-date-input@2.0.0) (2022-02-17)
107
-
108
-
109
- * refactor/calendar-range (#984) ([714f615](https://github.com/core-ds/core-components/commit/714f61590586bafe1060e652943e95c133ed002a)), closes [#984](https://github.com/core-ds/core-components/issues/984)
110
-
111
-
112
- ### BREAKING CHANGES
113
-
114
- * Большое обновление CalendarRange
115
-
116
- * feat(date-input): add some improvements
117
-
118
- * feat(date-input): some updates
119
-
120
- * feat(date-input): validation
121
-
122
- * feat(calendar): change period selection logic
123
-
124
- * fix(calendar): range styles
125
-
126
- * fix(calendar): fix styles, add rangeComplete flag
127
-
128
- * refactor(calendar-range): temporary
129
-
130
- * fix(calendar-range): fix hook
131
-
132
- * fix(calendar-range): fix period
133
-
134
- * fix(calendar-range): fix tests, fix max date
135
-
136
- * fix: update exports
137
-
138
- * feat(calendar): allow empty values for PeriodSlider, update today
139
-
140
- * fix(calendar-range): hide error icon
141
-
142
- * chore(calendar-range): demo
143
-
144
- * feat(calendar): use IconButton
145
-
146
- * feat(calendar-range): add onChange, update demo
147
-
148
- * fix(calendar-range): update width
149
-
150
- * test(calendar-range): update snapshot
151
-
152
- * fix: import date-fns separately
153
-
154
- * fix(calendar-range): fix rest props
155
-
156
- Co-authored-by: dmitrsavk <dmitrsavk@yandex.ru>
157
-
158
-
159
-
160
-
161
-
162
- # [1.3.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.2.13...@alfalab/core-components-date-input@1.3.0) (2022-02-17)
163
-
164
-
165
- ### Features
166
-
167
- * **date-input:** add some improvements ([#971](https://github.com/core-ds/core-components/issues/971)) ([47756ca](https://github.com/core-ds/core-components/commit/47756ca1d4eea89f78ed7234e95c02e51dd72e49))
168
-
169
-
170
-
171
-
172
-
173
- ## [1.2.13](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.2.12...@alfalab/core-components-date-input@1.2.13) (2022-02-15)
174
-
175
- **Note:** Version bump only for package @alfalab/core-components-date-input
176
-
177
-
178
-
179
-
180
-
181
- ## [1.2.12](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.2.11...@alfalab/core-components-date-input@1.2.12) (2022-02-09)
182
-
183
- **Note:** Version bump only for package @alfalab/core-components-date-input
184
-
185
-
186
-
187
-
188
-
189
- ## [1.2.11](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.2.10...@alfalab/core-components-date-input@1.2.11) (2022-02-03)
190
-
191
- **Note:** Version bump only for package @alfalab/core-components-date-input
192
-
193
-
194
-
195
-
196
-
197
- ## [1.2.10](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.2.9...@alfalab/core-components-date-input@1.2.10) (2022-02-02)
198
-
199
- **Note:** Version bump only for package @alfalab/core-components-date-input
200
-
201
-
202
-
203
-
204
-
205
- ## [1.2.9](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.2.8...@alfalab/core-components-date-input@1.2.9) (2021-12-29)
206
-
207
- **Note:** Version bump only for package @alfalab/core-components-date-input
208
-
209
-
210
-
211
-
212
-
213
- ## [1.2.8](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.2.7...@alfalab/core-components-date-input@1.2.8) (2021-12-14)
214
-
215
- **Note:** Version bump only for package @alfalab/core-components-date-input
216
-
217
-
218
-
219
-
220
-
221
- ## [1.2.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.2.6...@alfalab/core-components-date-input@1.2.7) (2021-12-08)
222
-
223
- **Note:** Version bump only for package @alfalab/core-components-date-input
224
-
225
-
226
-
227
-
228
-
229
- ## [1.2.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.2.5...@alfalab/core-components-date-input@1.2.6) (2021-12-08)
230
-
231
- **Note:** Version bump only for package @alfalab/core-components-date-input
232
-
233
-
234
-
235
-
236
-
237
- ## [1.2.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.2.4...@alfalab/core-components-date-input@1.2.5) (2021-12-08)
238
-
239
- **Note:** Version bump only for package @alfalab/core-components-date-input
240
-
241
-
242
-
243
-
244
-
245
- ## [1.2.4](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.2.3...@alfalab/core-components-date-input@1.2.4) (2021-11-26)
246
-
247
- **Note:** Version bump only for package @alfalab/core-components-date-input
248
-
249
-
250
-
251
-
252
-
253
- ## [1.2.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.2.2...@alfalab/core-components-date-input@1.2.3) (2021-11-16)
254
-
255
- **Note:** Version bump only for package @alfalab/core-components-date-input
256
-
257
-
258
-
259
-
260
-
261
- ## [1.2.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.2.1...@alfalab/core-components-date-input@1.2.2) (2021-10-15)
262
-
263
- **Note:** Version bump only for package @alfalab/core-components-date-input
264
-
265
-
266
-
267
-
268
-
269
- ## [1.2.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.2.0...@alfalab/core-components-date-input@1.2.1) (2021-10-11)
270
-
271
- **Note:** Version bump only for package @alfalab/core-components-date-input
272
-
273
-
274
-
275
-
276
-
277
- # [1.2.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.1.6...@alfalab/core-components-date-input@1.2.0) (2021-09-14)
278
-
279
-
280
- ### Features
281
-
282
- * change error type to ReactNode ([#825](https://github.com/core-ds/core-components/issues/825)) ([c6d95c1](https://github.com/core-ds/core-components/commit/c6d95c1c6239f2b2a3bf2c1639554d8500e794f3))
283
-
284
-
285
-
286
-
287
-
288
- ## [1.1.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.1.5...@alfalab/core-components-date-input@1.1.6) (2021-08-27)
289
-
290
- **Note:** Version bump only for package @alfalab/core-components-date-input
291
-
292
-
293
-
294
-
295
-
296
- ## [1.1.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.1.4...@alfalab/core-components-date-input@1.1.5) (2021-08-23)
297
-
298
- **Note:** Version bump only for package @alfalab/core-components-date-input
299
-
300
-
301
-
302
-
303
-
304
- ## [1.1.4](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.1.3...@alfalab/core-components-date-input@1.1.4) (2021-08-23)
305
-
306
-
307
- ### Bug Fixes
308
-
309
- * **input:** smart error icon ([#746](https://github.com/core-ds/core-components/issues/746)) ([f1950d6](https://github.com/core-ds/core-components/commit/f1950d6d516d17d993f0865c10390b6301bb2707)), closes [#782](https://github.com/core-ds/core-components/issues/782)
310
-
311
-
312
-
313
-
314
-
315
- ## [1.1.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.1.2...@alfalab/core-components-date-input@1.1.3) (2021-08-11)
316
-
317
- **Note:** Version bump only for package @alfalab/core-components-date-input
318
-
319
-
320
-
321
-
322
-
323
- ## [1.1.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.1.1...@alfalab/core-components-date-input@1.1.2) (2021-08-04)
324
-
325
- **Note:** Version bump only for package @alfalab/core-components-date-input
326
-
327
-
328
-
329
-
330
-
331
- ## [1.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@1.1.0...@alfalab/core-components-date-input@1.1.1) (2021-08-03)
332
-
333
-
334
- ### Bug Fixes
335
-
336
- * move icon from date input to calendar input ([#768](https://github.com/core-ds/core-components/issues/768)) ([040bd42](https://github.com/core-ds/core-components/commit/040bd423279eb535f1ea924599ee16c296453e3f))
337
-
338
-
339
-
340
-
341
-
342
- # 1.1.0 (2021-07-23)
343
-
344
-
345
- ### Features
346
-
347
-
348
- * **calendar-input:** uses date-input ([#752](https://github.com/core-ds/core-components/issues/752)) ([509dba2](https://github.com/core-ds/core-components/commit/509dba26913ccf6df859a200aa476eeef1df2ddc))
349
- * **date-input:** add component ([#751](https://github.com/core-ds/core-components/issues/751)) ([4b94bee](https://github.com/core-ds/core-components/commit/4b94beec36acc73ac6c62cf37f87061c0ada4b35))