@proprioo/salatim 29.10.0 → 29.12.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/CHANGELOG.md +8 -0
- package/lib/date/src/datePicker/DatePicker.d.ts +2 -2
- package/lib/date/src/datePickerWrapper/DatePickerWrapper.d.ts +2 -2
- package/lib/date/src/singleMonth/SingleMonth.d.ts +2 -2
- package/lib/energy/src/Energy.d.ts +2 -2
- package/lib/energy/src/interfaces.d.ts +4 -4
- package/lib/forms/src/offerSignatoryForm/OfferSignatoryForm.d.ts +4 -4
- package/lib/forms/src/offerSignatoryForm/OfferSignatoryForm.js.map +1 -1
- package/lib/forms/src/userForm/UserForm.d.ts +4 -4
- package/lib/hooks/useEmailSuggestion/useEmailSuggestion.d.ts +2 -2
- package/lib/index.js +229 -229
- package/lib/index.js.map +1 -1
- package/lib/phone/src/metadata.custom.json +119 -18
- package/lib/phone/src/phoneAndFlag/PhoneAndFlag.d.ts +2 -2
- package/lib/phone/src/phoneInput/constants.js +4 -0
- package/lib/phone/src/phoneInput/constants.js.map +1 -1
- package/lib/ui/src/accordion/Accordion.interfaces.d.ts +6 -6
- package/lib/ui/src/accordion/Accordion.styles.d.ts +4 -4
- package/lib/ui/src/accordion/AccordionContextConsumer.d.ts +2 -2
- package/lib/ui/src/accordion/AccordionContextProvider.d.ts +4 -4
- package/lib/ui/src/accordion/AccordionStore.d.ts +2 -2
- package/lib/ui/src/accordion/ItemContextConsumer.d.ts +2 -2
- package/lib/ui/src/accordion/ItemContextProvider.d.ts +4 -4
- package/lib/ui/src/agentBanner/AgentBanner.d.ts +2 -2
- package/lib/ui/src/agentCard/AgentCard.d.ts +2 -2
- package/lib/ui/src/autocomplete/Autocomplete.d.ts +2 -2
- package/lib/ui/src/block/Block.d.ts +2 -2
- package/lib/ui/src/blockCheckIcon/BlockCheckIcon.d.ts +2 -2
- package/lib/ui/src/blockIcon/BlockIcon.d.ts +2 -2
- package/lib/ui/src/burger/Burger.d.ts +2 -2
- package/lib/ui/src/burger/Burger.stories.js.map +1 -1
- package/lib/ui/src/button/Button.d.ts +2 -2
- package/lib/ui/src/buttonRadioGroup/ButtonRadio.d.ts +2 -2
- package/lib/ui/src/buttonRadioGroup/ButtonRadioGroup.d.ts +2 -2
- package/lib/ui/src/checkbox/Checkbox.d.ts +2 -2
- package/lib/ui/src/dateInput/DateInput.d.ts +2 -2
- package/lib/ui/src/emailInput/EmailInput.interfaces.d.ts +4 -4
- package/lib/ui/src/fieldset/Fieldset.d.ts +2 -2
- package/lib/ui/src/gmapsAutoComplete/GmapsAutocomplete.d.ts +2 -2
- package/lib/ui/src/gmapsGeocode/GmapsGeocode.d.ts +2 -2
- package/lib/ui/src/gmapsSuggestions/GmapsSuggestions.d.ts +4 -4
- package/lib/ui/src/icons/Certificate.d.ts +1 -1
- package/lib/ui/src/icons/ChevronRight.d.ts +1 -1
- package/lib/ui/src/icons/Close.d.ts +1 -1
- package/lib/ui/src/icons/EmoticonCool.d.ts +1 -1
- package/lib/ui/src/icons/Help.d.ts +1 -1
- package/lib/ui/src/icons/Icon.props.d.ts +2 -2
- package/lib/ui/src/icons/Less.d.ts +1 -1
- package/lib/ui/src/icons/Plus.d.ts +1 -1
- package/lib/ui/src/icons/index.d.ts +6 -6
- package/lib/ui/src/input/Input.d.ts +4 -4
- package/lib/ui/src/inputBase/InputBase.d.ts +4 -4
- package/lib/ui/src/inputBase/InputBase.styles.d.ts +2 -2
- package/lib/ui/src/loader/Loader.d.ts +2 -2
- package/lib/ui/src/mockForm/MockForm.d.ts +2 -2
- package/lib/ui/src/modal/Modal.d.ts +8 -8
- package/lib/ui/src/modal/Modal.reducer.d.ts +2 -2
- package/lib/ui/src/nativeSelect/NativeSelect.d.ts +2 -2
- package/lib/ui/src/numberInput/NumberInput.d.ts +2 -2
- package/lib/ui/src/option/Option.d.ts +4 -4
- package/lib/ui/src/option/Option.styles.d.ts +2 -2
- package/lib/ui/src/radio/Radio.d.ts +2 -2
- package/lib/ui/src/select/Select.d.ts +2 -2
- package/lib/ui/src/select/Select.styles.d.ts +2 -2
- package/lib/ui/src/selectWrapper/SelectWrapper.d.ts +2 -2
- package/lib/ui/src/selectWrapper/SelectWrapper.styles.d.ts +4 -4
- package/lib/ui/src/subtitle/Subtitle.d.ts +2 -2
- package/lib/ui/src/tag/Tag.styles.d.ts +2 -2
- package/lib/ui/src/tag/interfaces.d.ts +2 -2
- package/lib/ui/src/textToggle/TextToggle.d.ts +2 -2
- package/lib/ui/src/textarea/Textarea.d.ts +4 -4
- package/lib/ui/src/title/Title.d.ts +2 -2
- package/lib/ui/src/toggle/Toggle.d.ts +2 -2
- package/lib/ui/src/tooltip/Tooltip.d.ts +2 -2
- package/lib/utils/src/actions.d.ts +6 -6
- package/lib/utils/src/props.d.ts +2 -2
- package/package.json +2 -2
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
"61": ["AU"],
|
|
23
23
|
"64": ["NZ"],
|
|
24
24
|
"65": ["SG"],
|
|
25
|
+
"91": ["IN"],
|
|
26
|
+
"92": ["PK"],
|
|
25
27
|
"212": ["MA"],
|
|
26
28
|
"213": ["DZ"],
|
|
27
29
|
"216": ["TN"],
|
|
@@ -151,7 +153,7 @@
|
|
|
151
153
|
],
|
|
152
154
|
"0",
|
|
153
155
|
0,
|
|
154
|
-
"
|
|
156
|
+
"(183[12])|0",
|
|
155
157
|
0,
|
|
156
158
|
0,
|
|
157
159
|
0,
|
|
@@ -215,7 +217,7 @@
|
|
|
215
217
|
0,
|
|
216
218
|
[
|
|
217
219
|
[
|
|
218
|
-
"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|3[178]|50|
|
|
220
|
+
"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",
|
|
219
221
|
[10]
|
|
220
222
|
],
|
|
221
223
|
["", [10]],
|
|
@@ -448,7 +450,7 @@
|
|
|
448
450
|
0,
|
|
449
451
|
[
|
|
450
452
|
[
|
|
451
|
-
"(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-579])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[0-
|
|
453
|
+
"(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-579])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[0-46-9])))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",
|
|
452
454
|
[9, 10]
|
|
453
455
|
],
|
|
454
456
|
[
|
|
@@ -475,11 +477,16 @@
|
|
|
475
477
|
"GF": [
|
|
476
478
|
"594",
|
|
477
479
|
"00",
|
|
478
|
-
"
|
|
480
|
+
"[56]94\\d{6}|(?:80|9\\d)\\d{7}",
|
|
479
481
|
[9],
|
|
480
482
|
[
|
|
481
|
-
[
|
|
482
|
-
|
|
483
|
+
[
|
|
484
|
+
"(\\d{3})(\\d{2})(\\d{2})(\\d{2})",
|
|
485
|
+
"$1 $2 $3 $4",
|
|
486
|
+
["[56]|9[47]"],
|
|
487
|
+
"0$1"
|
|
488
|
+
],
|
|
489
|
+
["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]
|
|
483
490
|
],
|
|
484
491
|
"0"
|
|
485
492
|
],
|
|
@@ -491,7 +498,7 @@
|
|
|
491
498
|
0,
|
|
492
499
|
"0",
|
|
493
500
|
0,
|
|
494
|
-
"
|
|
501
|
+
"([25-9]\\d{5})$|0",
|
|
495
502
|
"1481$1",
|
|
496
503
|
0,
|
|
497
504
|
0,
|
|
@@ -513,14 +520,14 @@
|
|
|
513
520
|
"GI": [
|
|
514
521
|
"350",
|
|
515
522
|
"00",
|
|
516
|
-
"(?:[25]\\d
|
|
523
|
+
"(?:[25]\\d|60)\\d{6}",
|
|
517
524
|
[8],
|
|
518
525
|
[["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]
|
|
519
526
|
],
|
|
520
527
|
"GP": [
|
|
521
528
|
"590",
|
|
522
529
|
"00",
|
|
523
|
-
"
|
|
530
|
+
"590\\d{6}|(?:69|80|9\\d)\\d{7}",
|
|
524
531
|
[9],
|
|
525
532
|
[
|
|
526
533
|
["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[569]"], "0$1"],
|
|
@@ -606,6 +613,70 @@
|
|
|
606
613
|
],
|
|
607
614
|
"0"
|
|
608
615
|
],
|
|
616
|
+
"IN": [
|
|
617
|
+
"91",
|
|
618
|
+
"00",
|
|
619
|
+
"(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",
|
|
620
|
+
[8, 9, 10, 11, 12, 13],
|
|
621
|
+
[
|
|
622
|
+
[
|
|
623
|
+
"(\\d{8})",
|
|
624
|
+
"$1",
|
|
625
|
+
[
|
|
626
|
+
"5(?:0|2[23]|3[03]|[67]1|88)",
|
|
627
|
+
"5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)",
|
|
628
|
+
"5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"
|
|
629
|
+
],
|
|
630
|
+
0,
|
|
631
|
+
1
|
|
632
|
+
],
|
|
633
|
+
["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1],
|
|
634
|
+
["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1],
|
|
635
|
+
[
|
|
636
|
+
"(\\d{2})(\\d{4})(\\d{4})",
|
|
637
|
+
"$1 $2 $3",
|
|
638
|
+
[
|
|
639
|
+
"11|2[02]|33|4[04]|79[1-7]|80[2-46]",
|
|
640
|
+
"11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])",
|
|
641
|
+
"11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"
|
|
642
|
+
],
|
|
643
|
+
"0$1",
|
|
644
|
+
1
|
|
645
|
+
],
|
|
646
|
+
[
|
|
647
|
+
"(\\d{3})(\\d{3})(\\d{4})",
|
|
648
|
+
"$1 $2 $3",
|
|
649
|
+
[
|
|
650
|
+
"1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]",
|
|
651
|
+
"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]",
|
|
652
|
+
"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"
|
|
653
|
+
],
|
|
654
|
+
"0$1",
|
|
655
|
+
1
|
|
656
|
+
],
|
|
657
|
+
[
|
|
658
|
+
"(\\d{4})(\\d{3})(\\d{3})",
|
|
659
|
+
"$1 $2 $3",
|
|
660
|
+
[
|
|
661
|
+
"1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807",
|
|
662
|
+
"1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]",
|
|
663
|
+
"1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"
|
|
664
|
+
],
|
|
665
|
+
"0$1",
|
|
666
|
+
1
|
|
667
|
+
],
|
|
668
|
+
["(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", 1],
|
|
669
|
+
[
|
|
670
|
+
"(\\d{4})(\\d{2,4})(\\d{4})",
|
|
671
|
+
"$1 $2 $3",
|
|
672
|
+
["1(?:6|8[06])", "1(?:6|8[06]0)"],
|
|
673
|
+
0,
|
|
674
|
+
1
|
|
675
|
+
],
|
|
676
|
+
["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]
|
|
677
|
+
],
|
|
678
|
+
"0"
|
|
679
|
+
],
|
|
609
680
|
"IS": [
|
|
610
681
|
"354",
|
|
611
682
|
"00|1(?:0(?:01|[12]0)|100)",
|
|
@@ -771,7 +842,7 @@
|
|
|
771
842
|
"MQ": [
|
|
772
843
|
"596",
|
|
773
844
|
"00",
|
|
774
|
-
"
|
|
845
|
+
"596\\d{6}|(?:69|80|9\\d)\\d{7}",
|
|
775
846
|
[9],
|
|
776
847
|
[
|
|
777
848
|
["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[569]"], "0$1"],
|
|
@@ -868,6 +939,41 @@
|
|
|
868
939
|
["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]
|
|
869
940
|
]
|
|
870
941
|
],
|
|
942
|
+
"PK": [
|
|
943
|
+
"92",
|
|
944
|
+
"00",
|
|
945
|
+
"122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",
|
|
946
|
+
[8, 9, 10, 11, 12],
|
|
947
|
+
[
|
|
948
|
+
["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"],
|
|
949
|
+
["(\\d{4})(\\d{5})", "$1 $2", ["1"]],
|
|
950
|
+
[
|
|
951
|
+
"(\\d{3})(\\d{6,7})",
|
|
952
|
+
"$1 $2",
|
|
953
|
+
[
|
|
954
|
+
"2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])",
|
|
955
|
+
"9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"
|
|
956
|
+
],
|
|
957
|
+
"(0$1)"
|
|
958
|
+
],
|
|
959
|
+
[
|
|
960
|
+
"(\\d{2})(\\d{7,8})",
|
|
961
|
+
"$1 $2",
|
|
962
|
+
["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],
|
|
963
|
+
"(0$1)"
|
|
964
|
+
],
|
|
965
|
+
["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"],
|
|
966
|
+
["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"],
|
|
967
|
+
[
|
|
968
|
+
"(\\d{2})(\\d{3})(\\d{3})(\\d{3})",
|
|
969
|
+
"$1 $2 $3 $4",
|
|
970
|
+
["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],
|
|
971
|
+
"(0$1)"
|
|
972
|
+
],
|
|
973
|
+
["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]
|
|
974
|
+
],
|
|
975
|
+
"0"
|
|
976
|
+
],
|
|
871
977
|
"PL": [
|
|
872
978
|
"48",
|
|
873
979
|
"00",
|
|
@@ -911,15 +1017,10 @@
|
|
|
911
1017
|
"RE": [
|
|
912
1018
|
"262",
|
|
913
1019
|
"00",
|
|
914
|
-
"
|
|
1020
|
+
"(?:26|[689]\\d)\\d{7}",
|
|
915
1021
|
[9],
|
|
916
1022
|
[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2689]"], "0$1"]],
|
|
917
|
-
"0"
|
|
918
|
-
0,
|
|
919
|
-
0,
|
|
920
|
-
0,
|
|
921
|
-
0,
|
|
922
|
-
"26[23]|69|[89]"
|
|
1023
|
+
"0"
|
|
923
1024
|
],
|
|
924
1025
|
"RS": [
|
|
925
1026
|
"381",
|
|
@@ -1117,7 +1218,7 @@
|
|
|
1117
1218
|
0,
|
|
1118
1219
|
[
|
|
1119
1220
|
[
|
|
1120
|
-
"
|
|
1221
|
+
"5056(?:[0-35-9]\\d|4[46])\\d{4}|(?:4722|505[2-57-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"
|
|
1121
1222
|
],
|
|
1122
1223
|
[""],
|
|
1123
1224
|
["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { nullOrString } from '@proprioo/hokkaido';
|
|
3
|
-
|
|
3
|
+
type PhoneAndFlagProps = {
|
|
4
4
|
errorMessage: string;
|
|
5
5
|
phone: nullOrString;
|
|
6
6
|
color?: string;
|
|
7
|
-
}
|
|
7
|
+
};
|
|
8
8
|
declare const PhoneAndFlag: FC<PhoneAndFlagProps>;
|
|
9
9
|
export default PhoneAndFlag;
|
|
@@ -28,6 +28,7 @@ exports.COUNTRIES = [
|
|
|
28
28
|
'HR',
|
|
29
29
|
'IE',
|
|
30
30
|
'IL',
|
|
31
|
+
'IN',
|
|
31
32
|
'IS',
|
|
32
33
|
'IT',
|
|
33
34
|
'LB',
|
|
@@ -40,6 +41,7 @@ exports.COUNTRIES = [
|
|
|
40
41
|
'NO',
|
|
41
42
|
'NZ',
|
|
42
43
|
'PF',
|
|
44
|
+
'PK',
|
|
43
45
|
'PL',
|
|
44
46
|
'PT',
|
|
45
47
|
'RE',
|
|
@@ -79,6 +81,7 @@ exports.LABELS = {
|
|
|
79
81
|
HR: 'Hrvatska',
|
|
80
82
|
IE: 'Ireland',
|
|
81
83
|
IL: 'Israël',
|
|
84
|
+
IN: 'India',
|
|
82
85
|
IS: 'Ísland',
|
|
83
86
|
IT: 'Italia',
|
|
84
87
|
LB: 'Lubnān',
|
|
@@ -91,6 +94,7 @@ exports.LABELS = {
|
|
|
91
94
|
NO: 'Norge',
|
|
92
95
|
NZ: 'New Zealand',
|
|
93
96
|
PF: 'Polynésie française',
|
|
97
|
+
PK: 'Pakistan',
|
|
94
98
|
PL: 'Polska',
|
|
95
99
|
PT: 'República Portuguesa',
|
|
96
100
|
RE: 'Île de La Réunion',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../packages/phone/src/phoneInput/constants.ts"],"names":[],"mappings":";;;AAIa,QAAA,cAAc,GAAY,IAAI,CAAC;AAE/B,QAAA,SAAS,GAAc;IAClC,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;CACL,CAAC;AAEW,QAAA,MAAM,GAAe;IAChC,GAAG,EAAE,MAAM;IACX,OAAO,EAAE,0BAA0B;IACnC,KAAK,EAAE,WAAW;IAClB,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,UAAU;IACd,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,aAAa;IACjB,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,gBAAgB;IACpB,EAAE,EAAE,kBAAkB;IACtB,EAAE,EAAE,UAAU;IACd,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,oBAAoB;IACxB,EAAE,EAAE,UAAU;IACd,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,aAAa;IACjB,EAAE,EAAE,uBAAuB;IAC3B,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,sBAAsB;IAC1B,EAAE,EAAE,mBAAmB;IACvB,EAAE,EAAE,kBAAkB;IACtB,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,eAAe;CACpB,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../packages/phone/src/phoneInput/constants.ts"],"names":[],"mappings":";;;AAIa,QAAA,cAAc,GAAY,IAAI,CAAC;AAE/B,QAAA,SAAS,GAAc;IAClC,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;CACL,CAAC;AAEW,QAAA,MAAM,GAAe;IAChC,GAAG,EAAE,MAAM;IACX,OAAO,EAAE,0BAA0B;IACnC,KAAK,EAAE,WAAW;IAClB,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,UAAU;IACd,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,aAAa;IACjB,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,gBAAgB;IACpB,EAAE,EAAE,kBAAkB;IACtB,EAAE,EAAE,UAAU;IACd,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,oBAAoB;IACxB,EAAE,EAAE,UAAU;IACd,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,aAAa;IACjB,EAAE,EAAE,uBAAuB;IAC3B,EAAE,EAAE,UAAU;IACd,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,sBAAsB;IAC1B,EAAE,EAAE,mBAAmB;IACvB,EAAE,EAAE,kBAAkB;IACtB,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,eAAe;CACpB,CAAC"}
|
|
@@ -4,14 +4,14 @@ export declare enum AccordionItemColors {
|
|
|
4
4
|
GREEN = "green",
|
|
5
5
|
DARK = "dark"
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type AccordionProps = {
|
|
8
8
|
preExpanded?: UUID[];
|
|
9
9
|
allowMultipleExpanded?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export
|
|
10
|
+
};
|
|
11
|
+
export type AccordionItemProps = {
|
|
12
12
|
uuid: UUID;
|
|
13
13
|
color?: AccordionItemColors;
|
|
14
|
-
}
|
|
15
|
-
export
|
|
14
|
+
};
|
|
15
|
+
export type AccordionPanelProps = {
|
|
16
16
|
unmountOnCollapse?: boolean;
|
|
17
|
-
}
|
|
17
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AccordionItemColors } from './Accordion.interfaces';
|
|
2
|
-
|
|
2
|
+
type ItemProps = {
|
|
3
3
|
isOpen: boolean;
|
|
4
4
|
color?: AccordionItemColors;
|
|
5
|
-
}
|
|
6
|
-
export
|
|
5
|
+
};
|
|
6
|
+
export type HeaderProps = {
|
|
7
7
|
isAlternative?: boolean;
|
|
8
8
|
basic?: boolean;
|
|
9
|
-
}
|
|
9
|
+
};
|
|
10
10
|
export declare const Header: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
11
|
export declare const HeaderLabel: import("styled-components").StyledComponent<"p", any, HeaderProps, never>;
|
|
12
12
|
export declare const HeaderIcon: import("styled-components").StyledComponent<"div", any, ItemProps, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
2
|
import { AccordionContext } from './AccordionContextProvider';
|
|
3
|
-
|
|
3
|
+
type ConsumerProps = {
|
|
4
4
|
children(container: AccordionContext): ReactNode;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
6
|
export declare const Consumer: FC<ConsumerProps>;
|
|
7
7
|
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React, { PureComponent, ReactNode } from 'react';
|
|
2
2
|
import { UUID } from './Accordion';
|
|
3
3
|
import AccordionStore from './AccordionStore';
|
|
4
|
-
export
|
|
4
|
+
export type ProviderProps = {
|
|
5
5
|
preExpanded?: UUID[];
|
|
6
6
|
allowMultipleExpanded?: boolean;
|
|
7
7
|
children?: ReactNode;
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
9
|
type ProviderState = AccordionStore;
|
|
10
|
-
export
|
|
10
|
+
export type AccordionContext = {
|
|
11
11
|
allowMultipleExpanded: boolean;
|
|
12
12
|
isItemExpanded(uuid: UUID): boolean;
|
|
13
13
|
toggleExpanded(uuid: UUID): void;
|
|
14
|
-
}
|
|
14
|
+
};
|
|
15
15
|
export declare const Context: React.Context<AccordionContext | null>;
|
|
16
16
|
export declare class Provider extends PureComponent<ProviderProps, ProviderState> {
|
|
17
17
|
state: ProviderState;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UUID } from './Accordion';
|
|
2
|
-
|
|
2
|
+
type AccordionStoreProps = {
|
|
3
3
|
expanded?: UUID[];
|
|
4
4
|
allowMultipleExpanded?: boolean;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
6
|
export declare const filterExpanded: (expanded: UUID[], uuid: UUID) => string[];
|
|
7
7
|
export default class AccordionStore {
|
|
8
8
|
expanded: UUID[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
2
|
import { ItemContext } from './ItemContextProvider';
|
|
3
|
-
|
|
3
|
+
type ConsumerProps = {
|
|
4
4
|
children(container: ItemContext): ReactNode;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
6
|
export declare const ItemConsumer: FC<ConsumerProps>;
|
|
7
7
|
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React, { FC, ReactNode } from 'react';
|
|
2
2
|
import { UUID } from './Accordion';
|
|
3
3
|
import { AccordionContext } from './AccordionContextProvider';
|
|
4
|
-
|
|
4
|
+
type ProviderProps = {
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
uuid: UUID;
|
|
7
7
|
accordionContext: AccordionContext;
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
9
|
export type ProviderWrapperProps = Pick<ProviderProps, Exclude<keyof ProviderProps, 'accordionContext'>>;
|
|
10
|
-
export
|
|
10
|
+
export type ItemContext = {
|
|
11
11
|
uuid: UUID;
|
|
12
12
|
expanded: boolean;
|
|
13
13
|
toggleExpanded(): void;
|
|
14
|
-
}
|
|
14
|
+
};
|
|
15
15
|
export declare const Context: React.Context<ItemContext | null>;
|
|
16
16
|
declare const ProviderWrapper: FC<ProviderWrapperProps>;
|
|
17
17
|
export { ProviderWrapper as ItemProvider };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
2
|
import { PrismicAgentResult } from '@proprioo/hokkaido';
|
|
3
|
-
export
|
|
3
|
+
export type AgentBannerProps = {
|
|
4
4
|
agent: PrismicAgentResult;
|
|
5
5
|
rounded?: boolean;
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
7
|
declare const AgentBanner: FC<PropsWithChildren<AgentBannerProps>>;
|
|
8
8
|
export default AgentBanner;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { PrismicAgentResult } from '@proprioo/hokkaido';
|
|
3
|
-
export
|
|
3
|
+
export type AgentCardProps = {
|
|
4
4
|
agent: PrismicAgentResult;
|
|
5
5
|
showComment?: boolean;
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
7
|
declare const AgentCard: FC<AgentCardProps>;
|
|
8
8
|
export default AgentCard;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { OptionProps } from '@proprioo/hokkaido';
|
|
3
3
|
import { GenericInputProps } from '../../../utils';
|
|
4
|
-
export
|
|
4
|
+
export type AutocompleteProps = GenericInputProps & {
|
|
5
5
|
list: OptionProps[];
|
|
6
6
|
option: OptionProps | null;
|
|
7
7
|
native?: boolean;
|
|
8
8
|
onSelect(option: OptionProps | null): void;
|
|
9
|
-
}
|
|
9
|
+
};
|
|
10
10
|
declare const Autocomplete: FC<AutocompleteProps>;
|
|
11
11
|
export default Autocomplete;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type BlockProps = {
|
|
3
3
|
picture?: string;
|
|
4
4
|
isCompact?: boolean;
|
|
5
5
|
isRounded?: boolean;
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
7
|
declare const Block: FC<PropsWithChildren<BlockProps>>;
|
|
8
8
|
export default Block;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FC, ReactElement } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type BlockCheckIconProps = {
|
|
3
3
|
checked: boolean;
|
|
4
4
|
text: string;
|
|
5
5
|
name: string;
|
|
6
6
|
onClick(value: boolean): void;
|
|
7
7
|
dataTest?: string;
|
|
8
8
|
image?: ReactElement;
|
|
9
|
-
}
|
|
9
|
+
};
|
|
10
10
|
declare const BlockCheckIcon: FC<BlockCheckIconProps>;
|
|
11
11
|
export default BlockCheckIcon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type BlockIconProps<T> = {
|
|
3
3
|
text: string;
|
|
4
4
|
name: string;
|
|
5
5
|
value: T;
|
|
@@ -8,6 +8,6 @@ export interface BlockIconProps<T> {
|
|
|
8
8
|
dataTest?: string;
|
|
9
9
|
image?: ReactElement;
|
|
10
10
|
isContentCentered?: boolean;
|
|
11
|
-
}
|
|
11
|
+
};
|
|
12
12
|
declare function BlockIcon<T>({ onClick, image, text, name, selectedValue, dataTest, value, isContentCentered }: BlockIconProps<T>): JSX.Element;
|
|
13
13
|
export default BlockIcon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Burger.stories.js","sourceRoot":"","sources":["../../../../packages/ui/src/burger/Burger.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAwC;AAExC,8DAAwD;AACxD,wDAAiD;AACjD,4CAA4D;AAE5D,0CAAwC;AACxC,sDAA8B;AAM9B,MAAM,KAAK,GAAG,GAAG,EAAE,CAAC,CAAC;IACnB,OAAO,EAAE,IAAA,qBAAO,EAAC,SAAS,EAAE,KAAK,CAAC;CACnC,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,IAAI,uBAAK,
|
|
1
|
+
{"version":3,"file":"Burger.stories.js","sourceRoot":"","sources":["../../../../packages/ui/src/burger/Burger.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAwC;AAExC,8DAAwD;AACxD,wDAAiD;AACjD,4CAA4D;AAE5D,0CAAwC;AACxC,sDAA8B;AAM9B,MAAM,KAAK,GAAG,GAAG,EAAE,CAAC,CAAC;IACnB,OAAO,EAAE,IAAA,qBAAO,EAAC,SAAS,EAAE,KAAK,CAAC;CACnC,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,IAAI,uBAAK,CAAc;IACzC,MAAM,EAAE,KAAK;CACd,CAAC,CAAC;AAEH,WAAW,CAAC,SAAS,CAAC,GAAG,EAAE;IACzB,IAAA,qBAAa,GAAE,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,IAAA,iBAAS,EAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE;IAC7C,OAAO,CACL,8BAAC,gBAAQ;QACP,8BAAC,uBAAK,IAAC,KAAK,EAAE,WAAW;YACvB,8BAAC,gBAAM,kBACL,MAAM,EAAE,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,EACjC,OAAO,EAAE,GAAG,EAAE,CACZ,WAAW,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,EAEzD,KAAK,EAAE,cAAM,CAAC,IAAI,CAAC,IAAI,IACnB,KAAK,EAAE,EACX,CACI,CACC,CACZ,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, MouseEvent, ReactElement } from 'react';
|
|
2
2
|
import { ButtonAppearance, ButtonSizes, ButtonTheme, IconPosition } from './Button.interfaces';
|
|
3
|
-
export
|
|
3
|
+
export type ButtonProps = {
|
|
4
4
|
label: string;
|
|
5
5
|
appearance?: ButtonAppearance;
|
|
6
6
|
disabled?: boolean;
|
|
@@ -12,6 +12,6 @@ export interface ButtonProps {
|
|
|
12
12
|
theme?: ButtonTheme;
|
|
13
13
|
type?: 'submit' | 'reset' | 'button';
|
|
14
14
|
onClick?(event: MouseEvent<HTMLElement>): void;
|
|
15
|
-
}
|
|
15
|
+
};
|
|
16
16
|
declare const Button: FC<ButtonProps>;
|
|
17
17
|
export default Button;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { OptionProps } from '../option/Option';
|
|
3
|
-
|
|
3
|
+
type ButtonRadioProps = {
|
|
4
4
|
isChecked: boolean;
|
|
5
5
|
name: string;
|
|
6
6
|
option: OptionProps;
|
|
7
7
|
onClick(): void;
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
9
|
declare const ButtonRadio: FC<ButtonRadioProps>;
|
|
10
10
|
export default ButtonRadio;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { OptionProps } from '../option/Option';
|
|
3
|
-
export
|
|
3
|
+
export type ButtonRadioGroupProps = {
|
|
4
4
|
label: string;
|
|
5
5
|
name: string;
|
|
6
6
|
onChange(option: OptionProps): void;
|
|
7
7
|
options: OptionProps[];
|
|
8
8
|
value: string;
|
|
9
|
-
}
|
|
9
|
+
};
|
|
10
10
|
declare const ButtonRadioGroup: FC<ButtonRadioGroupProps>;
|
|
11
11
|
export default ButtonRadioGroup;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
2
|
import { CheckboxSize } from './interfaces';
|
|
3
|
-
export
|
|
3
|
+
export type CheckboxProps = {
|
|
4
4
|
checked: boolean;
|
|
5
5
|
disabled: boolean;
|
|
6
6
|
id: string;
|
|
@@ -10,6 +10,6 @@ export interface CheckboxProps {
|
|
|
10
10
|
indeterminate?: boolean;
|
|
11
11
|
checkboxSize?: CheckboxSize;
|
|
12
12
|
onChange(checked: boolean): void;
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
declare const Checkbox: FC<PropsWithChildren<CheckboxProps>>;
|
|
15
15
|
export default Checkbox;
|
|
@@ -6,9 +6,9 @@ export declare const formatDate: (date: Date) => string;
|
|
|
6
6
|
export declare const formatISODate: (date: Date) => string;
|
|
7
7
|
export declare const formatValue: (value: string) => string;
|
|
8
8
|
export declare const isValidDate: (date: Date) => boolean;
|
|
9
|
-
export
|
|
9
|
+
export type DateInputProps = BaseInputProps & {
|
|
10
10
|
value?: nullOrString;
|
|
11
11
|
onChange(value: nullOrString): void;
|
|
12
|
-
}
|
|
12
|
+
};
|
|
13
13
|
declare const DateInput: FC<DateInputProps>;
|
|
14
14
|
export default DateInput;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { InputBaseProps } from '../inputBase/InputBase';
|
|
2
|
-
export
|
|
2
|
+
export type EmailInputI18nLabelProps = {
|
|
3
3
|
yes: string;
|
|
4
4
|
no: string;
|
|
5
5
|
suggestion(email: string): string;
|
|
6
|
-
}
|
|
7
|
-
export
|
|
6
|
+
};
|
|
7
|
+
export type EmailInputProps = InputBaseProps & {
|
|
8
8
|
/** Whether to enabled/disable email suggestions. */
|
|
9
9
|
isSuggestionEnabled?: boolean;
|
|
10
10
|
/** i18n translation keys */
|
|
11
11
|
i18nLabels?: EmailInputI18nLabelProps;
|
|
12
|
-
}
|
|
12
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type FieldsetProps = {
|
|
3
3
|
label: string;
|
|
4
4
|
active?: boolean;
|
|
5
5
|
error?: boolean;
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
7
|
declare const Fieldset: FC<PropsWithChildren<FieldsetProps>>;
|
|
8
8
|
export default Fieldset;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { GenericInputProps } from '../../../utils';
|
|
3
|
-
export
|
|
3
|
+
export type GmapsAutocompleteProps = GenericInputProps & {
|
|
4
4
|
value: string;
|
|
5
5
|
country?: string | string[];
|
|
6
6
|
id?: string;
|
|
@@ -9,6 +9,6 @@ export interface GmapsAutocompleteProps extends GenericInputProps {
|
|
|
9
9
|
onChange(value: string): void;
|
|
10
10
|
onSelect(value: string): void;
|
|
11
11
|
onError?(error: string): void;
|
|
12
|
-
}
|
|
12
|
+
};
|
|
13
13
|
declare const GmapsAutocomplete: FC<GmapsAutocompleteProps>;
|
|
14
14
|
export default GmapsAutocomplete;
|