@alfalab/core-components-intl-phone-input 9.0.2 → 9.0.3
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-45364492.d.ts → component-8b3c8672.d.ts} +0 -0
- package/{component-45364492.js → component-8b3c8672.js} +1 -1
- package/component.js +3 -3
- package/components/flag-icon/component.js +1 -1
- package/components/flag-icon/index.css +261 -261
- package/components/index.js +1 -1
- package/components/select/component.js +2 -2
- package/components/select/index.css +6 -6
- package/components/select/index.js +1 -1
- package/components/select-field/component.js +1 -1
- package/components/select-field/index.css +9 -9
- package/components/select-field/index.d.ts +1 -1
- package/components/select-field/index.js +1 -1
- package/esm/{component-122e7388.d.ts → component-5c70f67e.d.ts} +0 -0
- package/esm/{component-122e7388.js → component-5c70f67e.js} +1 -1
- package/esm/component.js +3 -3
- package/esm/components/flag-icon/component.js +1 -1
- package/esm/components/flag-icon/index.css +261 -261
- package/esm/components/index.js +1 -1
- package/esm/components/select/component.js +2 -2
- package/esm/components/select/index.css +6 -6
- package/esm/components/select/index.js +1 -1
- package/esm/components/select-field/component.js +1 -1
- package/esm/components/select-field/index.css +9 -9
- package/esm/components/select-field/index.d.ts +1 -1
- package/esm/components/select-field/index.js +1 -1
- package/esm/index.css +5 -5
- package/esm/index.js +1 -1
- package/esm/{libphonenumber-js.min-60e0fae3.d.ts → libphonenumber-js.min-2b62f8a1.d.ts} +0 -0
- package/esm/{libphonenumber-js.min-60e0fae3.js → libphonenumber-js.min-2b62f8a1.js} +0 -0
- package/index.css +5 -5
- package/index.js +1 -1
- package/{libphonenumber-js.min-149ceb21.d.ts → libphonenumber-js.min-4858a9d4.d.ts} +0 -0
- package/{libphonenumber-js.min-149ceb21.js → libphonenumber-js.min-4858a9d4.js} +0 -0
- package/modern/component.js +2 -2
- package/modern/components/flag-icon/component.js +1 -1
- package/modern/components/flag-icon/index.css +261 -261
- package/modern/components/select/component.js +1 -1
- package/modern/components/select/index.css +6 -6
- package/modern/components/select-field/component.js +1 -1
- package/modern/components/select-field/index.css +9 -9
- package/modern/index.css +5 -5
- package/modern/{libphonenumber-js.min-60e0fae3.d.ts → libphonenumber-js.min-2b62f8a1.d.ts} +0 -0
- package/modern/{libphonenumber-js.min-60e0fae3.js → libphonenumber-js.min-2b62f8a1.js} +0 -0
- package/package.json +4 -4
|
@@ -7,7 +7,7 @@ import { FlagIcon } from '../flag-icon/component.js';
|
|
|
7
7
|
import { EMPTY_COUNTRY_SELECT_FIELD, SelectField } from '../select-field/component.js';
|
|
8
8
|
import { VirtualOptionsList, Select } from '@alfalab/core-components-select/modern';
|
|
9
9
|
|
|
10
|
-
var styles = {"component":"intl-phone-
|
|
10
|
+
var styles = {"component":"intl-phone-input__component_m24qx","option":"intl-phone-input__option_m24qx","flag":"intl-phone-input__flag_m24qx","countryName":"intl-phone-input__countryName_m24qx","dialCode":"intl-phone-input__dialCode_m24qx"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15afb */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
4
4
|
}
|
|
@@ -17,24 +17,24 @@
|
|
|
17
17
|
:root {
|
|
18
18
|
--text-secondary-color: var(--color-light-text-secondary);
|
|
19
19
|
}
|
|
20
|
-
.intl-phone-
|
|
20
|
+
.intl-phone-input__component_m24qx {
|
|
21
21
|
position: static;
|
|
22
22
|
display: flex;
|
|
23
23
|
min-width: initial;
|
|
24
24
|
height: 100%;
|
|
25
25
|
}
|
|
26
|
-
.intl-phone-
|
|
26
|
+
.intl-phone-input__option_m24qx {
|
|
27
27
|
display: flex;
|
|
28
28
|
align-items: flex-start;
|
|
29
29
|
}
|
|
30
|
-
.intl-phone-
|
|
30
|
+
.intl-phone-input__flag_m24qx {
|
|
31
31
|
flex-shrink: 0;
|
|
32
32
|
margin-top: var(--gap-2xs);
|
|
33
33
|
margin-right: var(--gap-xs);
|
|
34
34
|
}
|
|
35
|
-
.intl-phone-
|
|
35
|
+
.intl-phone-input__countryName_m24qx {
|
|
36
36
|
margin-right: var(--gap-xs);
|
|
37
37
|
}
|
|
38
|
-
.intl-phone-
|
|
38
|
+
.intl-phone-input__dialCode_m24qx {
|
|
39
39
|
color: var(--text-secondary-color);
|
|
40
40
|
}
|
|
@@ -5,7 +5,7 @@ import mergeRefs from 'react-merge-refs';
|
|
|
5
5
|
import { useFocus } from '@alfalab/hooks';
|
|
6
6
|
import { FlagIcon } from '../flag-icon/component.js';
|
|
7
7
|
|
|
8
|
-
var styles = {"component":"intl-phone-
|
|
8
|
+
var styles = {"component":"intl-phone-input__component_1xkmc","flagIconContainer":"intl-phone-input__flagIconContainer_1xkmc","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_1xkmc","disabled":"intl-phone-input__disabled_1xkmc","inner":"intl-phone-input__inner_1xkmc","l":"intl-phone-input__l_1xkmc","xl":"intl-phone-input__xl_1xkmc","focusVisible":"intl-phone-input__focusVisible_1xkmc"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
const EMPTY_COUNTRY_SELECT_FIELD = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: qktid */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-link: #007aff;
|
|
4
4
|
--color-light-graphic-secondary: #6d7986;
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
--focus-color: var(--color-light-border-link);
|
|
21
21
|
--disabled-cursor: not-allowed;
|
|
22
22
|
}
|
|
23
|
-
.intl-phone-
|
|
23
|
+
.intl-phone-input__component_1xkmc {
|
|
24
24
|
height: 100%;
|
|
25
25
|
cursor: pointer;
|
|
26
26
|
outline: none;
|
|
27
27
|
position: relative;
|
|
28
28
|
}
|
|
29
|
-
.intl-phone-
|
|
29
|
+
.intl-phone-input__flagIconContainer_1xkmc {
|
|
30
30
|
display: flex;
|
|
31
31
|
justify-content: center;
|
|
32
32
|
align-items: center;
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
height: 24px;
|
|
35
35
|
margin-right: var(--gap-2xs);
|
|
36
36
|
}
|
|
37
|
-
.intl-phone-
|
|
37
|
+
.intl-phone-input__emptyCountryIcon_1xkmc {
|
|
38
38
|
color: var(--color-light-graphic-secondary);
|
|
39
39
|
}
|
|
40
|
-
.intl-phone-
|
|
40
|
+
.intl-phone-input__disabled_1xkmc {
|
|
41
41
|
cursor: var(--disabled-cursor);
|
|
42
42
|
}
|
|
43
|
-
.intl-phone-
|
|
43
|
+
.intl-phone-input__inner_1xkmc {
|
|
44
44
|
position: relative;
|
|
45
45
|
display: flex;
|
|
46
46
|
align-items: center;
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
padding-left: var(--gap-s);
|
|
49
49
|
outline: none;
|
|
50
50
|
}
|
|
51
|
-
.intl-phone-
|
|
52
|
-
.intl-phone-
|
|
51
|
+
.intl-phone-input__l_1xkmc .intl-phone-input__inner_1xkmc,
|
|
52
|
+
.intl-phone-input__xl_1xkmc .intl-phone-input__inner_1xkmc {
|
|
53
53
|
padding-left: var(--gap-m);
|
|
54
54
|
}
|
|
55
|
-
.intl-phone-
|
|
55
|
+
.intl-phone-input__focusVisible_1xkmc {
|
|
56
56
|
outline: 2px solid var(--focus-color);
|
|
57
57
|
outline-offset: 2px;
|
|
58
58
|
}
|
package/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 173d2 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-graphic-secondary: #6d7986;
|
|
4
4
|
}
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
:root {
|
|
14
14
|
--gap-s: 12px;
|
|
15
15
|
}
|
|
16
|
-
.intl-phone-
|
|
16
|
+
.intl-phone-input__addons_18xw2 {
|
|
17
17
|
padding-left: 0;
|
|
18
18
|
}
|
|
19
|
-
.intl-phone-
|
|
19
|
+
.intl-phone-input__l_18xw2 .intl-phone-input__addons_18xw2, .intl-phone-input__xl_18xw2 .intl-phone-input__addons_18xw2 {
|
|
20
20
|
padding-left: 0;
|
|
21
21
|
}
|
|
22
|
-
.intl-phone-
|
|
22
|
+
.intl-phone-input__flagIconWrapper_18xw2 {
|
|
23
23
|
display: flex;
|
|
24
24
|
justify-content: center;
|
|
25
25
|
align-items: center;
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
height: 24px;
|
|
28
28
|
margin-left: var(--gap-s);
|
|
29
29
|
}
|
|
30
|
-
.intl-phone-
|
|
30
|
+
.intl-phone-input__emptyCountryIcon_18xw2 {
|
|
31
31
|
color: var(--color-light-graphic-secondary);
|
|
32
32
|
}
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-intl-phone-input",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.3",
|
|
4
4
|
"description": "Phone input for international phones",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"react": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@alfalab/core-components-input": "^11.0.
|
|
21
|
-
"@alfalab/core-components-input-autocomplete": "9.0.
|
|
22
|
-
"@alfalab/core-components-select": "^13.0.
|
|
20
|
+
"@alfalab/core-components-input": "^11.0.2",
|
|
21
|
+
"@alfalab/core-components-input-autocomplete": "9.0.3",
|
|
22
|
+
"@alfalab/core-components-select": "^13.0.3",
|
|
23
23
|
"@alfalab/hooks": "^1.4.1",
|
|
24
24
|
"@alfalab/utils": "^1.13.3",
|
|
25
25
|
"classnames": "^2.3.1",
|