@alfalab/core-components-date-input 2.4.2 → 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.
Files changed (47) hide show
  1. package/{dist/Component.d.ts → Component.d.ts} +0 -0
  2. package/{dist/Component.js → Component.js} +0 -0
  3. package/{dist/cssm → cssm}/Component.d.ts +0 -0
  4. package/{dist/cssm → cssm}/Component.js +1 -1
  5. package/{dist/cssm → cssm}/index.d.ts +0 -0
  6. package/{dist/cssm → cssm}/index.js +1 -1
  7. package/{dist/cssm → cssm}/index.module.css +0 -0
  8. package/{dist/cssm → cssm}/utils/format.d.ts +0 -0
  9. package/{dist/cssm → cssm}/utils/format.js +0 -0
  10. package/{dist/cssm → cssm}/utils/index.d.ts +0 -0
  11. package/{dist/cssm → cssm}/utils/index.js +0 -0
  12. package/{dist/cssm → cssm}/utils/native-supports.d.ts +0 -0
  13. package/{dist/cssm → cssm}/utils/native-supports.js +0 -0
  14. package/{dist/esm → esm}/Component.d.ts +0 -0
  15. package/{dist/esm → esm}/Component.js +1 -1
  16. package/{dist → esm}/index.css +1 -1
  17. package/{dist/esm → esm}/index.d.ts +0 -0
  18. package/{dist/esm → esm}/index.js +1 -1
  19. package/{dist/esm → esm}/utils/format.d.ts +0 -0
  20. package/{dist/esm → esm}/utils/format.js +0 -0
  21. package/{dist/esm → esm}/utils/index.d.ts +0 -0
  22. package/{dist/esm → esm}/utils/index.js +0 -0
  23. package/{dist/esm → esm}/utils/native-supports.d.ts +0 -0
  24. package/{dist/esm → esm}/utils/native-supports.js +0 -0
  25. package/{dist/modern/index.css → index.css} +1 -1
  26. package/{dist/index.d.ts → index.d.ts} +0 -0
  27. package/{dist/index.js → index.js} +0 -0
  28. package/{dist/modern → modern}/Component.d.ts +0 -0
  29. package/{dist/modern → modern}/Component.js +1 -1
  30. package/{dist/esm → modern}/index.css +1 -1
  31. package/{dist/modern → modern}/index.d.ts +0 -0
  32. package/{dist/modern → modern}/index.js +1 -1
  33. package/{dist/modern → modern}/utils/format.d.ts +0 -0
  34. package/{dist/modern → modern}/utils/format.js +0 -0
  35. package/{dist/modern → modern}/utils/index.d.ts +0 -0
  36. package/{dist/modern → modern}/utils/index.js +0 -0
  37. package/{dist/modern → modern}/utils/native-supports.d.ts +0 -0
  38. package/{dist/modern → modern}/utils/native-supports.js +0 -0
  39. package/package.json +8 -11
  40. package/{dist/send-stats.js → send-stats.js} +0 -0
  41. package/{dist/utils → utils}/format.d.ts +0 -0
  42. package/{dist/utils → utils}/format.js +0 -0
  43. package/{dist/utils → utils}/index.d.ts +0 -0
  44. package/{dist/utils → utils}/index.js +0 -0
  45. package/{dist/utils → utils}/native-supports.d.ts +0 -0
  46. package/{dist/utils → utils}/native-supports.js +0 -0
  47. package/CHANGELOG.md +0 -368
File without changes
File without changes
File without changes
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var coreComponentsInput = require('@alfalab/core-components-input/dist/cssm');
6
+ var coreComponentsInput = require('@alfalab/core-components-input/cssm');
7
7
  var mergeRefs = require('react-merge-refs');
8
8
  require('date-fns/parse');
9
9
  require('date-fns/format');
File without changes
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var Component = require('./Component.js');
6
6
  require('react');
7
- require('@alfalab/core-components-input/dist/cssm');
7
+ require('@alfalab/core-components-input/cssm');
8
8
  require('react-merge-refs');
9
9
  require('date-fns/parse');
10
10
  require('date-fns/format');
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  import React, { forwardRef, useRef, useState, useCallback, useEffect } from 'react';
2
- import { Input } from '@alfalab/core-components-input/dist/esm';
2
+ import { Input } from '@alfalab/core-components-input/esm';
3
3
  import mergeRefs from 'react-merge-refs';
4
4
  import 'date-fns/parse';
5
5
  import 'date-fns/format';
@@ -1,4 +1,4 @@
1
- /* hash: 1ppyv */
1
+ /* hash: tdfbe */
2
2
  :root {
3
3
 
4
4
  /* Hard */
File without changes
@@ -1,6 +1,6 @@
1
1
  export { DateInput } from './Component.js';
2
2
  import 'react';
3
- import '@alfalab/core-components-input/dist/esm';
3
+ import '@alfalab/core-components-input/esm';
4
4
  import 'react-merge-refs';
5
5
  import 'date-fns/parse';
6
6
  import 'date-fns/format';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,4 +1,4 @@
1
- /* hash: 1ppyv */
1
+ /* hash: tdfbe */
2
2
  :root {
3
3
 
4
4
  /* Hard */
File without changes
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  import React, { forwardRef, useRef, useState, useCallback, useEffect } from 'react';
2
- import { Input } from '@alfalab/core-components-input/dist/modern';
2
+ import { Input } from '@alfalab/core-components-input/modern';
3
3
  import mergeRefs from 'react-merge-refs';
4
4
  import 'date-fns/parse';
5
5
  import 'date-fns/format';
@@ -1,4 +1,4 @@
1
- /* hash: 1ppyv */
1
+ /* hash: tdfbe */
2
2
  :root {
3
3
 
4
4
  /* Hard */
File without changes
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- import '@alfalab/core-components-input/dist/modern';
2
+ import '@alfalab/core-components-input/modern';
3
3
  import 'react-merge-refs';
4
4
  import 'date-fns/parse';
5
5
  import 'date-fns/format';
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,27 +1,24 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-date-input",
3
- "version": "2.4.2",
3
+ "version": "3.0.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
- "main": "dist/index.js",
8
- "module": "./dist/esm/index.js",
9
- "files": [
10
- "dist"
11
- ],
7
+ "main": "index.js",
8
+ "module": "./esm/index.js",
12
9
  "scripts": {
13
- "postinstall": "node -e \"if (require('fs').existsSync('./dist/send-stats.js')){require('./dist/send-stats.js')} \""
10
+ "postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
14
11
  },
15
12
  "publishConfig": {
16
- "access": "public"
13
+ "access": "public",
14
+ "directory": "dist"
17
15
  },
18
16
  "peerDependencies": {
19
17
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
20
18
  },
21
19
  "dependencies": {
22
- "@alfalab/core-components-input": "^9.1.2",
20
+ "@alfalab/core-components-input": "^10.0.0",
23
21
  "date-fns": "^2.16.1",
24
22
  "react-merge-refs": "^1.1.0"
25
- },
26
- "gitHead": "4d6c8965d07839e339b370bb7c92bd7f9e24b1f3"
23
+ }
27
24
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/CHANGELOG.md DELETED
@@ -1,368 +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.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.4.1...@alfalab/core-components-date-input@2.4.2) (2022-08-17)
7
-
8
-
9
- ### Bug Fixes
10
-
11
- * returned dist directory ([#199](https://github.com/core-ds/core-components/issues/199)) ([fabc15e](https://github.com/core-ds/core-components/commit/fabc15effa1457ca65ec7238206f1b1fc2a2a613))
12
-
13
-
14
-
15
-
16
-
17
- ## [2.4.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.4.0...@alfalab/core-components-date-input@2.4.1) (2022-08-11)
18
-
19
- **Note:** Version bump only for package @alfalab/core-components-date-input
20
-
21
-
22
-
23
-
24
-
25
- # [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)
26
-
27
-
28
- ### Features
29
-
30
- * react 18 support ([#159](https://github.com/core-ds/core-components/issues/159)) ([2e6693c](https://github.com/core-ds/core-components/commit/2e6693c62f534e333aadb7d3fff4ffd78ac84c63))
31
-
32
-
33
-
34
-
35
-
36
- ## [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)
37
-
38
- **Note:** Version bump only for package @alfalab/core-components-date-input
39
-
40
-
41
-
42
-
43
-
44
- ## [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)
45
-
46
- **Note:** Version bump only for package @alfalab/core-components-date-input
47
-
48
-
49
-
50
-
51
-
52
- ## [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)
53
-
54
-
55
- ### Bug Fixes
56
-
57
- * bump packages version ([#153](https://github.com/core-ds/core-components/issues/153)) ([fd3e082](https://github.com/core-ds/core-components/commit/fd3e08205672129cdce04e1000c673f2cd9c10da))
58
-
59
-
60
-
61
-
62
-
63
- ## [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)
64
-
65
- **Note:** Version bump only for package @alfalab/core-components-date-input
66
-
67
-
68
-
69
-
70
-
71
- # [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)
72
-
73
-
74
- ### Bug Fixes
75
-
76
- * **pure-cell:** fix stories ([#113](https://github.com/core-ds/core-components/issues/113)) ([01f6138](https://github.com/core-ds/core-components/commit/01f6138615b1b7268510e012c314650c084c9ef0))
77
-
78
-
79
- ### Features
80
-
81
- * circumflexus retrieval ([#57](https://github.com/core-ds/core-components/issues/57)) ([3820da8](https://github.com/core-ds/core-components/commit/3820da818bcdcbee6904c648b3e29c3c828fe202))
82
-
83
-
84
-
85
-
86
-
87
- ## [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)
88
-
89
- **Note:** Version bump only for package @alfalab/core-components-date-input
90
-
91
-
92
-
93
-
94
-
95
- ## [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)
96
-
97
- **Note:** Version bump only for package @alfalab/core-components-date-input
98
-
99
-
100
-
101
-
102
-
103
- # [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)
104
-
105
-
106
- ### Features
107
-
108
- * **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))
109
-
110
-
111
-
112
-
113
-
114
- # [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)
115
-
116
-
117
- ### Features
118
-
119
- * Исправить импорты в сторях. ([#998](https://github.com/core-ds/core-components/issues/998)) ([e6a654a](https://github.com/core-ds/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
120
-
121
-
122
-
123
-
124
-
125
- # [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)
126
-
127
-
128
- * 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)
129
-
130
-
131
- ### BREAKING CHANGES
132
-
133
- * Большое обновление CalendarRange
134
-
135
- * feat(date-input): add some improvements
136
-
137
- * feat(date-input): some updates
138
-
139
- * feat(date-input): validation
140
-
141
- * feat(calendar): change period selection logic
142
-
143
- * fix(calendar): range styles
144
-
145
- * fix(calendar): fix styles, add rangeComplete flag
146
-
147
- * refactor(calendar-range): temporary
148
-
149
- * fix(calendar-range): fix hook
150
-
151
- * fix(calendar-range): fix period
152
-
153
- * fix(calendar-range): fix tests, fix max date
154
-
155
- * fix: update exports
156
-
157
- * feat(calendar): allow empty values for PeriodSlider, update today
158
-
159
- * fix(calendar-range): hide error icon
160
-
161
- * chore(calendar-range): demo
162
-
163
- * feat(calendar): use IconButton
164
-
165
- * feat(calendar-range): add onChange, update demo
166
-
167
- * fix(calendar-range): update width
168
-
169
- * test(calendar-range): update snapshot
170
-
171
- * fix: import date-fns separately
172
-
173
- * fix(calendar-range): fix rest props
174
-
175
- Co-authored-by: dmitrsavk <dmitrsavk@yandex.ru>
176
-
177
-
178
-
179
-
180
-
181
- # [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)
182
-
183
-
184
- ### Features
185
-
186
- * **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))
187
-
188
-
189
-
190
-
191
-
192
- ## [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)
193
-
194
- **Note:** Version bump only for package @alfalab/core-components-date-input
195
-
196
-
197
-
198
-
199
-
200
- ## [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)
201
-
202
- **Note:** Version bump only for package @alfalab/core-components-date-input
203
-
204
-
205
-
206
-
207
-
208
- ## [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)
209
-
210
- **Note:** Version bump only for package @alfalab/core-components-date-input
211
-
212
-
213
-
214
-
215
-
216
- ## [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)
217
-
218
- **Note:** Version bump only for package @alfalab/core-components-date-input
219
-
220
-
221
-
222
-
223
-
224
- ## [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)
225
-
226
- **Note:** Version bump only for package @alfalab/core-components-date-input
227
-
228
-
229
-
230
-
231
-
232
- ## [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)
233
-
234
- **Note:** Version bump only for package @alfalab/core-components-date-input
235
-
236
-
237
-
238
-
239
-
240
- ## [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)
241
-
242
- **Note:** Version bump only for package @alfalab/core-components-date-input
243
-
244
-
245
-
246
-
247
-
248
- ## [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)
249
-
250
- **Note:** Version bump only for package @alfalab/core-components-date-input
251
-
252
-
253
-
254
-
255
-
256
- ## [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)
257
-
258
- **Note:** Version bump only for package @alfalab/core-components-date-input
259
-
260
-
261
-
262
-
263
-
264
- ## [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)
265
-
266
- **Note:** Version bump only for package @alfalab/core-components-date-input
267
-
268
-
269
-
270
-
271
-
272
- ## [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)
273
-
274
- **Note:** Version bump only for package @alfalab/core-components-date-input
275
-
276
-
277
-
278
-
279
-
280
- ## [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)
281
-
282
- **Note:** Version bump only for package @alfalab/core-components-date-input
283
-
284
-
285
-
286
-
287
-
288
- ## [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)
289
-
290
- **Note:** Version bump only for package @alfalab/core-components-date-input
291
-
292
-
293
-
294
-
295
-
296
- # [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)
297
-
298
-
299
- ### Features
300
-
301
- * 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))
302
-
303
-
304
-
305
-
306
-
307
- ## [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)
308
-
309
- **Note:** Version bump only for package @alfalab/core-components-date-input
310
-
311
-
312
-
313
-
314
-
315
- ## [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)
316
-
317
- **Note:** Version bump only for package @alfalab/core-components-date-input
318
-
319
-
320
-
321
-
322
-
323
- ## [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)
324
-
325
-
326
- ### Bug Fixes
327
-
328
- * **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)
329
-
330
-
331
-
332
-
333
-
334
- ## [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)
335
-
336
- **Note:** Version bump only for package @alfalab/core-components-date-input
337
-
338
-
339
-
340
-
341
-
342
- ## [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)
343
-
344
- **Note:** Version bump only for package @alfalab/core-components-date-input
345
-
346
-
347
-
348
-
349
-
350
- ## [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)
351
-
352
-
353
- ### Bug Fixes
354
-
355
- * 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))
356
-
357
-
358
-
359
-
360
-
361
- # 1.1.0 (2021-07-23)
362
-
363
-
364
- ### Features
365
-
366
-
367
- * **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))
368
- * **date-input:** add component ([#751](https://github.com/core-ds/core-components/issues/751)) ([4b94bee](https://github.com/core-ds/core-components/commit/4b94beec36acc73ac6c62cf37f87061c0ada4b35))