@sikka/hawa 0.0.81 → 0.0.83
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/countries.js +52 -46
- package/dist/styles.css +5 -0
- package/es/index.es.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/blocks/AuthForms/SignInForm.js +56 -30
- package/src/blocks/AuthForms/SignInPhone.js +1 -2
- package/src/blocks/AuthForms/SignUpForm.js +84 -19
- package/src/elements/HawaPhoneInput.js +24 -8
- package/src/elements/HawaSelect.js +171 -30
- package/src/styles.css +5 -0
- package/src/tailwind.css +8 -0
- package/src/elements/HawaSelectInput.js +0 -67
package/countries.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
let countries = [
|
|
2
2
|
{
|
|
3
|
-
country_label: "
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
unicode: "🇦🇩",
|
|
3
|
+
country_label: "Saudi Arabia",
|
|
4
|
+
code: "SA",
|
|
5
|
+
unicode: "🇸🇦",
|
|
7
6
|
image:
|
|
8
|
-
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/
|
|
9
|
-
label: "+
|
|
7
|
+
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SA.svg",
|
|
8
|
+
label: "+966"
|
|
10
9
|
},
|
|
11
10
|
{
|
|
12
11
|
country_label: "United Arab Emirates",
|
|
@@ -16,6 +15,48 @@ let countries = [
|
|
|
16
15
|
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AE.svg",
|
|
17
16
|
label: "+971"
|
|
18
17
|
},
|
|
18
|
+
{
|
|
19
|
+
country_label: "Bahrain",
|
|
20
|
+
code: "BH",
|
|
21
|
+
unicode: "🇧🇭",
|
|
22
|
+
image:
|
|
23
|
+
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BH.svg",
|
|
24
|
+
label: "+973"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
country_label: "Kuwait",
|
|
28
|
+
code: "KW",
|
|
29
|
+
unicode: "🇰🇼",
|
|
30
|
+
image:
|
|
31
|
+
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KW.svg",
|
|
32
|
+
label: "+965"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
country_label: "Qatar",
|
|
36
|
+
code: "QA",
|
|
37
|
+
unicode: "🇶🇦",
|
|
38
|
+
image:
|
|
39
|
+
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/QA.svg",
|
|
40
|
+
label: "+974"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
country_label: "Oman",
|
|
44
|
+
code: "OM",
|
|
45
|
+
unicode: "🇴🇲",
|
|
46
|
+
image:
|
|
47
|
+
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/OM.svg",
|
|
48
|
+
label: "+968"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
country_label: "Andorra",
|
|
52
|
+
value: "Andorra",
|
|
53
|
+
code: "AD",
|
|
54
|
+
unicode: "🇦🇩",
|
|
55
|
+
image:
|
|
56
|
+
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AD.svg",
|
|
57
|
+
label: "+376"
|
|
58
|
+
},
|
|
59
|
+
|
|
19
60
|
{
|
|
20
61
|
country_label: "Afghanistan",
|
|
21
62
|
code: "AF",
|
|
@@ -176,14 +217,7 @@ let countries = [
|
|
|
176
217
|
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BG.svg",
|
|
177
218
|
label: "+359"
|
|
178
219
|
},
|
|
179
|
-
|
|
180
|
-
country_label: "Bahrain",
|
|
181
|
-
code: "BH",
|
|
182
|
-
unicode: "🇧🇭",
|
|
183
|
-
image:
|
|
184
|
-
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BH.svg",
|
|
185
|
-
label: "+973"
|
|
186
|
-
},
|
|
220
|
+
|
|
187
221
|
{
|
|
188
222
|
country_label: "Burundi",
|
|
189
223
|
code: "BI",
|
|
@@ -936,14 +970,7 @@ let countries = [
|
|
|
936
970
|
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KR.svg",
|
|
937
971
|
label: "+82"
|
|
938
972
|
},
|
|
939
|
-
|
|
940
|
-
country_label: "Kuwait",
|
|
941
|
-
code: "KW",
|
|
942
|
-
unicode: "🇰🇼",
|
|
943
|
-
image:
|
|
944
|
-
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KW.svg",
|
|
945
|
-
label: "+965"
|
|
946
|
-
},
|
|
973
|
+
|
|
947
974
|
{
|
|
948
975
|
country_label: "Cayman Islands",
|
|
949
976
|
code: "KY",
|
|
@@ -1328,14 +1355,7 @@ let countries = [
|
|
|
1328
1355
|
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NZ.svg",
|
|
1329
1356
|
label: "+64"
|
|
1330
1357
|
},
|
|
1331
|
-
|
|
1332
|
-
country_label: "Oman",
|
|
1333
|
-
code: "OM",
|
|
1334
|
-
unicode: "🇴🇲",
|
|
1335
|
-
image:
|
|
1336
|
-
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/OM.svg",
|
|
1337
|
-
label: "+968"
|
|
1338
|
-
},
|
|
1358
|
+
|
|
1339
1359
|
{
|
|
1340
1360
|
country_label: "Panama",
|
|
1341
1361
|
code: "PA",
|
|
@@ -1448,14 +1468,7 @@ let countries = [
|
|
|
1448
1468
|
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PY.svg",
|
|
1449
1469
|
label: "+595"
|
|
1450
1470
|
},
|
|
1451
|
-
|
|
1452
|
-
country_label: "Qatar",
|
|
1453
|
-
code: "QA",
|
|
1454
|
-
unicode: "🇶🇦",
|
|
1455
|
-
image:
|
|
1456
|
-
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/QA.svg",
|
|
1457
|
-
label: "+974"
|
|
1458
|
-
},
|
|
1471
|
+
|
|
1459
1472
|
{
|
|
1460
1473
|
country_label: "Réunion",
|
|
1461
1474
|
code: "RE",
|
|
@@ -1496,14 +1509,7 @@ let countries = [
|
|
|
1496
1509
|
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RW.svg",
|
|
1497
1510
|
label: "+250"
|
|
1498
1511
|
},
|
|
1499
|
-
|
|
1500
|
-
country_label: "Saudi Arabia",
|
|
1501
|
-
code: "SA",
|
|
1502
|
-
unicode: "🇸🇦",
|
|
1503
|
-
image:
|
|
1504
|
-
"https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SA.svg",
|
|
1505
|
-
label: "+966"
|
|
1506
|
-
},
|
|
1512
|
+
|
|
1507
1513
|
{
|
|
1508
1514
|
country_label: "Solomon Islands",
|
|
1509
1515
|
code: "SB",
|
package/dist/styles.css
CHANGED
|
@@ -372,6 +372,11 @@ video {
|
|
|
372
372
|
[hidden] {
|
|
373
373
|
display: none;
|
|
374
374
|
}
|
|
375
|
+
input[type="number"]::-webkit-inner-spin-button,
|
|
376
|
+
input[type="number"]::-webkit-outer-spin-button {
|
|
377
|
+
-webkit-appearance: none;
|
|
378
|
+
margin: 0;
|
|
379
|
+
}
|
|
375
380
|
|
|
376
381
|
*, ::before, ::after {
|
|
377
382
|
--tw-border-spacing-x: 0;
|