@alfalab/core-components-phone-input 5.5.1 → 5.5.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/CHANGELOG.md ADDED
@@ -0,0 +1,535 @@
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
+ ## [5.5.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.5.1...@alfalab/core-components-phone-input@5.5.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
+ ## [5.5.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.5.0...@alfalab/core-components-phone-input@5.5.1) (2022-08-11)
18
+
19
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
20
+
21
+
22
+
23
+
24
+
25
+ # [5.5.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.4.4...@alfalab/core-components-phone-input@5.5.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
+ ## [5.4.4](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.4.3...@alfalab/core-components-phone-input@5.4.4) (2022-07-25)
37
+
38
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
39
+
40
+
41
+
42
+
43
+
44
+ ## [5.4.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.4.2...@alfalab/core-components-phone-input@5.4.3) (2022-07-18)
45
+
46
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
47
+
48
+
49
+
50
+
51
+
52
+ ## [5.4.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.4.1...@alfalab/core-components-phone-input@5.4.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
+ ## [5.4.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.4.0...@alfalab/core-components-phone-input@5.4.1) (2022-07-14)
64
+
65
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
66
+
67
+
68
+
69
+
70
+
71
+ # [5.4.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.3.7...@alfalab/core-components-phone-input@5.4.0) (2022-06-28)
72
+
73
+
74
+ ### Features
75
+
76
+ * circumflexus retrieval ([#57](https://github.com/core-ds/core-components/issues/57)) ([3820da8](https://github.com/core-ds/core-components/commit/3820da818bcdcbee6904c648b3e29c3c828fe202))
77
+
78
+
79
+
80
+
81
+
82
+ ## [5.3.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.3.6...@alfalab/core-components-phone-input@5.3.7) (2022-06-23)
83
+
84
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
85
+
86
+
87
+
88
+
89
+
90
+ ## [5.3.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.3.5...@alfalab/core-components-phone-input@5.3.6) (2022-06-03)
91
+
92
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
93
+
94
+
95
+
96
+
97
+
98
+ # [5.3.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.14...@alfalab/core-components-phone-input@5.3.0) (2022-03-04)
99
+
100
+
101
+ ### Features
102
+
103
+ * Исправить импорты в сторях. ([#998](https://github.com/core-ds/core-components/issues/998)) ([e6a654a](https://github.com/core-ds/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
104
+
105
+
106
+
107
+
108
+
109
+ ## [5.2.14](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.13...@alfalab/core-components-phone-input@5.2.14) (2022-02-17)
110
+
111
+
112
+ ### Bug Fixes
113
+
114
+ * imports for glyph icons ([#994](https://github.com/core-ds/core-components/issues/994)) ([8e807f2](https://github.com/core-ds/core-components/commit/8e807f26abf0f942fe8eadbd201caecb297b35dc))
115
+
116
+
117
+
118
+
119
+
120
+ ## [5.2.13](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.12...@alfalab/core-components-phone-input@5.2.13) (2022-02-15)
121
+
122
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
123
+
124
+
125
+
126
+
127
+
128
+ ## [5.2.12](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.11...@alfalab/core-components-phone-input@5.2.12) (2022-02-09)
129
+
130
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
131
+
132
+
133
+
134
+
135
+
136
+ ## [5.2.11](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.10...@alfalab/core-components-phone-input@5.2.11) (2022-02-03)
137
+
138
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
139
+
140
+
141
+
142
+
143
+
144
+ ## [5.2.10](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.9...@alfalab/core-components-phone-input@5.2.10) (2022-02-02)
145
+
146
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
147
+
148
+
149
+
150
+
151
+
152
+ ## [5.2.9](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.8...@alfalab/core-components-phone-input@5.2.9) (2021-12-29)
153
+
154
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
155
+
156
+
157
+
158
+
159
+
160
+ ## [5.2.8](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.7...@alfalab/core-components-phone-input@5.2.8) (2021-12-14)
161
+
162
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
163
+
164
+
165
+
166
+
167
+
168
+ ## [5.2.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.6...@alfalab/core-components-phone-input@5.2.7) (2021-12-08)
169
+
170
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
171
+
172
+
173
+
174
+
175
+
176
+ ## [5.2.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.5...@alfalab/core-components-phone-input@5.2.6) (2021-12-08)
177
+
178
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
179
+
180
+
181
+
182
+
183
+
184
+ ## [5.2.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.4...@alfalab/core-components-phone-input@5.2.5) (2021-12-08)
185
+
186
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
187
+
188
+
189
+
190
+
191
+
192
+ ## [5.2.4](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.3...@alfalab/core-components-phone-input@5.2.4) (2021-11-26)
193
+
194
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
195
+
196
+
197
+
198
+
199
+
200
+ ## [5.2.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.2...@alfalab/core-components-phone-input@5.2.3) (2021-11-16)
201
+
202
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
203
+
204
+
205
+
206
+
207
+
208
+ ## [5.2.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.1...@alfalab/core-components-phone-input@5.2.2) (2021-10-15)
209
+
210
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
211
+
212
+
213
+
214
+
215
+
216
+ ## [5.2.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.2.0...@alfalab/core-components-phone-input@5.2.1) (2021-10-11)
217
+
218
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
219
+
220
+
221
+
222
+
223
+
224
+ # [5.2.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.1.7...@alfalab/core-components-phone-input@5.2.0) (2021-09-14)
225
+
226
+
227
+ ### Features
228
+
229
+ * 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))
230
+
231
+
232
+
233
+
234
+
235
+ ## [5.1.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.1.6...@alfalab/core-components-phone-input@5.1.7) (2021-08-27)
236
+
237
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
238
+
239
+
240
+
241
+
242
+
243
+ ## [5.1.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.1.5...@alfalab/core-components-phone-input@5.1.6) (2021-08-23)
244
+
245
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
246
+
247
+
248
+
249
+
250
+
251
+ ## [5.1.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.1.4...@alfalab/core-components-phone-input@5.1.5) (2021-08-23)
252
+
253
+
254
+ ### Bug Fixes
255
+
256
+ * **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)
257
+
258
+
259
+
260
+
261
+
262
+ ## [5.1.4](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.1.3...@alfalab/core-components-phone-input@5.1.4) (2021-08-11)
263
+
264
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
265
+
266
+
267
+
268
+
269
+
270
+ ## [5.1.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.1.2...@alfalab/core-components-phone-input@5.1.3) (2021-08-04)
271
+
272
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
273
+
274
+
275
+
276
+
277
+
278
+ ## [5.1.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.1.1...@alfalab/core-components-phone-input@5.1.2) (2021-07-23)
279
+
280
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
281
+
282
+
283
+
284
+
285
+
286
+ ## [5.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.1.0...@alfalab/core-components-phone-input@5.1.1) (2021-07-20)
287
+
288
+
289
+ ### Bug Fixes
290
+
291
+ * **phone-input:** value prop ([#757](https://github.com/core-ds/core-components/issues/757)) ([3ba0168](https://github.com/core-ds/core-components/commit/3ba01686ffa950bd74d9ab28bfa961c6cf74a5d8))
292
+
293
+
294
+
295
+
296
+
297
+ # [5.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.0.1...@alfalab/core-components-phone-input@5.1.0) (2021-07-19)
298
+
299
+
300
+ ### Features
301
+
302
+ * **phone-input:** add 'clearableCountyCode' prop ([#749](https://github.com/core-ds/core-components/issues/749)) ([d110ae7](https://github.com/core-ds/core-components/commit/d110ae76594ccbf7f6d8a5764d3c2a72b1ae9a26))
303
+
304
+
305
+
306
+
307
+
308
+ ## [5.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@5.0.0...@alfalab/core-components-phone-input@5.0.1) (2021-07-09)
309
+
310
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
311
+
312
+
313
+
314
+
315
+
316
+ # [5.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.20...@alfalab/core-components-phone-input@5.0.0) (2021-07-08)
317
+
318
+
319
+ ### Features
320
+
321
+ * upgrade storybook ([#696](https://github.com/core-ds/core-components/issues/696))
322
+
323
+ ## [4.0.20](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.19...@alfalab/core-components-phone-input@4.0.20) (2021-06-22)
324
+
325
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
326
+
327
+
328
+
329
+
330
+
331
+ ## [4.0.19](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.18...@alfalab/core-components-phone-input@4.0.19) (2021-06-08)
332
+
333
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
334
+
335
+
336
+
337
+
338
+
339
+ ## [4.0.18](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.17...@alfalab/core-components-phone-input@4.0.18) (2021-05-31)
340
+
341
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
342
+
343
+
344
+
345
+
346
+
347
+ ## [4.0.17](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.16...@alfalab/core-components-phone-input@4.0.17) (2021-05-25)
348
+
349
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
350
+
351
+
352
+
353
+
354
+
355
+ ## [4.0.16](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.15...@alfalab/core-components-phone-input@4.0.16) (2021-05-25)
356
+
357
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
358
+
359
+
360
+
361
+
362
+
363
+ ## [4.0.15](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.14...@alfalab/core-components-phone-input@4.0.15) (2021-05-18)
364
+
365
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
366
+
367
+
368
+
369
+
370
+
371
+ ## [4.0.14](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.13...@alfalab/core-components-phone-input@4.0.14) (2021-05-07)
372
+
373
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
374
+
375
+
376
+
377
+
378
+
379
+ ## [4.0.13](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.12...@alfalab/core-components-phone-input@4.0.13) (2021-04-26)
380
+
381
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
382
+
383
+
384
+
385
+
386
+
387
+ ## [4.0.12](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.11...@alfalab/core-components-phone-input@4.0.12) (2021-04-09)
388
+
389
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
390
+
391
+
392
+
393
+
394
+
395
+ ## [4.0.11](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.10...@alfalab/core-components-phone-input@4.0.11) (2021-04-01)
396
+
397
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
398
+
399
+
400
+
401
+
402
+
403
+ ## [4.0.10](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.9...@alfalab/core-components-phone-input@4.0.10) (2021-03-30)
404
+
405
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
406
+
407
+
408
+
409
+
410
+
411
+ ## [4.0.9](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.8...@alfalab/core-components-phone-input@4.0.9) (2021-03-24)
412
+
413
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
414
+
415
+
416
+
417
+
418
+
419
+ ## [4.0.8](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.7...@alfalab/core-components-phone-input@4.0.8) (2021-03-19)
420
+
421
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
422
+
423
+
424
+
425
+
426
+
427
+ ## [4.0.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.5...@alfalab/core-components-phone-input@4.0.7) (2021-03-18)
428
+
429
+
430
+ ### Bug Fixes
431
+
432
+ * one more sborka bug ([#579](https://github.com/core-ds/core-components/issues/579)) ([9fbe0be](https://github.com/core-ds/core-components/commit/9fbe0beca56ec5971de78b3f6cda25305b260efc))
433
+
434
+
435
+
436
+
437
+
438
+ ## [4.0.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.3...@alfalab/core-components-phone-input@4.0.5) (2021-03-16)
439
+
440
+
441
+ ### Bug Fixes
442
+
443
+ * border-radius in packages ([781749e](https://github.com/core-ds/core-components/commit/781749ef38aefd5a6707ac56d2e297dce9f3e073))
444
+
445
+
446
+
447
+
448
+
449
+ ## [4.0.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.2...@alfalab/core-components-phone-input@4.0.3) (2021-03-15)
450
+
451
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
452
+
453
+
454
+
455
+
456
+
457
+ ## [4.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.1...@alfalab/core-components-phone-input@4.0.2) (2021-03-14)
458
+
459
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
460
+
461
+
462
+
463
+
464
+
465
+ ## [4.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@4.0.0...@alfalab/core-components-phone-input@4.0.1) (2021-03-10)
466
+
467
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
468
+
469
+
470
+
471
+
472
+
473
+ # [4.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@3.2.7...@alfalab/core-components-phone-input@4.0.0) (2021-03-04)
474
+
475
+
476
+ ### Features
477
+
478
+ * **phone-input:** changed size L (72 → 64), added size XL (72) ([13257c5](https://github.com/core-ds/core-components/commit/13257c54543b2f1a870527093df11c532143dab9))
479
+
480
+
481
+ ### BREAKING CHANGES
482
+
483
+ * **phone-input:** size L changed to size XL
484
+
485
+
486
+
487
+
488
+
489
+ ## [3.2.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@3.2.6...@alfalab/core-components-phone-input@3.2.7) (2021-03-03)
490
+
491
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
492
+
493
+
494
+
495
+
496
+
497
+ ## [3.2.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@3.2.5...@alfalab/core-components-phone-input@3.2.6) (2021-03-03)
498
+
499
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
500
+
501
+
502
+
503
+
504
+
505
+ ## [3.2.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@3.2.4...@alfalab/core-components-phone-input@3.2.5) (2021-03-03)
506
+
507
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
508
+
509
+
510
+
511
+
512
+
513
+ ## [3.2.4](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@3.2.3...@alfalab/core-components-phone-input@3.2.4) (2021-02-20)
514
+
515
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
516
+
517
+
518
+
519
+
520
+
521
+ ## [3.2.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@3.2.2...@alfalab/core-components-phone-input@3.2.3) (2021-02-19)
522
+
523
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
524
+
525
+
526
+
527
+
528
+
529
+ ## [3.2.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-phone-input@3.2.1...@alfalab/core-components-phone-input@3.2.2) (2021-02-18)
530
+
531
+
532
+ ### Bug Fixes
533
+
534
+
535
+ * update versions ([#525](https://github.com/core-ds/core-components/issues/525)) ([31b2e4c](https://github.com/core-ds/core-components/commit/31b2e4c92fde6e2b63a3391a4e053cd328e93e70))
File without changes
File without changes
File without changes
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
6
  var textMaskCore = require('text-mask-core');
7
- var coreComponentsMaskedInput = require('@alfalab/core-components-masked-input/cssm');
7
+ var coreComponentsMaskedInput = require('@alfalab/core-components-masked-input/dist/cssm');
8
8
  var utils_index = require('./utils/index.js');
9
9
 
10
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
File without changes
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var Component = require('./Component.js');
6
6
  require('react');
7
7
  require('text-mask-core');
8
- require('@alfalab/core-components-masked-input/cssm');
8
+ require('@alfalab/core-components-masked-input/dist/cssm');
9
9
  require('./utils/index.js');
10
10
 
11
11
 
File without changes
File without changes
File without changes
@@ -1,6 +1,6 @@
1
1
  import React, { useRef, useImperativeHandle, useCallback } from 'react';
2
2
  import { conformToMask } from 'text-mask-core';
3
- import { MaskedInput } from '@alfalab/core-components-masked-input/esm';
3
+ import { MaskedInput } from '@alfalab/core-components-masked-input/dist/esm';
4
4
  import { deleteFormatting, setCaretPosition, getInsertedNumber } from './utils/index.js';
5
5
 
6
6
  /*! *****************************************************************************
File without changes
@@ -1,5 +1,5 @@
1
+ export { PhoneInput } from './Component.js';
1
2
  import 'react';
2
3
  import 'text-mask-core';
3
- import '@alfalab/core-components-masked-input/modern';
4
+ import '@alfalab/core-components-masked-input/dist/esm';
4
5
  import './utils/index.js';
5
- export { PhoneInput } from './Component.js';
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,6 +1,6 @@
1
1
  import React, { useRef, useImperativeHandle, useCallback } from 'react';
2
2
  import { conformToMask } from 'text-mask-core';
3
- import { MaskedInput } from '@alfalab/core-components-masked-input/modern';
3
+ import { MaskedInput } from '@alfalab/core-components-masked-input/dist/modern';
4
4
  import { deleteFormatting, setCaretPosition, getInsertedNumber } from './utils/index.js';
5
5
 
6
6
  const mask = [
File without changes
@@ -1,5 +1,5 @@
1
- export { PhoneInput } from './Component.js';
2
1
  import 'react';
3
2
  import 'text-mask-core';
4
- import '@alfalab/core-components-masked-input/esm';
3
+ import '@alfalab/core-components-masked-input/dist/modern';
5
4
  import './utils/index.js';
5
+ export { PhoneInput } from './Component.js';
File without changes
File without changes
File without changes
File without changes
@@ -6,13 +6,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
6
6
  * Удаляет форматирование номера телефона
7
7
  * @param phone Номер телефона
8
8
  */
9
- var deleteFormatting = function (phone) {
10
- return phone
11
- .replace('+', '')
12
- .replace(/^7/, '')
13
- .replace(/\s/g, '')
14
- .replace(/-/g, '');
15
- };
9
+ var deleteFormatting = function (phone) { return phone
10
+ .replace('+', '')
11
+ .replace(/^7/, '')
12
+ .replace(/\s/g, '')
13
+ .replace(/-/g, ''); };
16
14
  function setCaretPosition(_a) {
17
15
  var position = _a.position, inputRef = _a.inputRef;
18
16
  window.requestAnimationFrame(function () {
package/package.json CHANGED
@@ -1,24 +1,27 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-phone-input",
3
- "version": "5.5.1",
3
+ "version": "5.5.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
- "main": "index.js",
8
- "module": "./esm/index.js",
7
+ "main": "dist/index.js",
8
+ "module": "./dist/esm/index.js",
9
+ "files": [
10
+ "dist"
11
+ ],
9
12
  "scripts": {
10
- "postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
13
+ "postinstall": "node -e \"if (require('fs').existsSync('./dist/send-stats.js')){require('./dist/send-stats.js')} \""
11
14
  },
12
15
  "publishConfig": {
13
- "access": "public",
14
- "directory": "dist"
16
+ "access": "public"
15
17
  },
16
18
  "peerDependencies": {
17
19
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
18
20
  },
19
21
  "dependencies": {
20
- "@alfalab/core-components-masked-input": "^4.5.1",
22
+ "@alfalab/core-components-masked-input": "^4.5.2",
21
23
  "classnames": "^2.3.1",
22
24
  "text-mask-core": "^5.1.2"
23
- }
25
+ },
26
+ "gitHead": "4d6c8965d07839e339b370bb7c92bd7f9e24b1f3"
24
27
  }