@alfalab/core-components-intl-phone-input 9.2.7 → 9.2.9
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-6b11f230.d.ts → component-1f1cb3eb.d.ts} +0 -0
- package/{component-6b11f230.js → component-1f1cb3eb.js} +1 -1
- package/component.js +3 -3
- package/components/flag-icon/component.js +1 -1
- package/components/flag-icon/index.css +12 -12
- package/components/index.js +1 -1
- package/components/select/component.js +2 -2
- package/components/select/index.css +14 -17
- package/components/select/index.js +1 -1
- package/components/select-field/component.js +1 -1
- package/components/select-field/index.css +17 -22
- package/components/select-field/index.d.ts +1 -1
- package/components/select-field/index.js +1 -1
- package/cssm/components/flag-icon/index.module.css +11 -11
- package/cssm/components/select/index.module.css +13 -16
- package/cssm/components/select-field/index.module.css +15 -20
- package/cssm/index.module.css +12 -12
- package/esm/{component-064f33de.d.ts → component-4980ce1c.d.ts} +0 -0
- package/esm/{component-064f33de.js → component-4980ce1c.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 +12 -12
- package/esm/components/index.js +1 -1
- package/esm/components/select/component.js +2 -2
- package/esm/components/select/index.css +14 -17
- package/esm/components/select/index.js +1 -1
- package/esm/components/select-field/component.js +1 -1
- package/esm/components/select-field/index.css +17 -22
- package/esm/components/select-field/index.d.ts +1 -1
- package/esm/components/select-field/index.js +1 -1
- package/esm/index.css +13 -13
- package/esm/index.js +1 -1
- package/esm/{libphonenumber-js.min-88163569.d.ts → libphonenumber-js.min-cb857554.d.ts} +0 -0
- package/esm/{libphonenumber-js.min-88163569.js → libphonenumber-js.min-cb857554.js} +0 -0
- package/index.css +13 -13
- package/index.js +1 -1
- package/{libphonenumber-js.min-7bc10406.d.ts → libphonenumber-js.min-4def49d7.d.ts} +0 -0
- package/{libphonenumber-js.min-7bc10406.js → libphonenumber-js.min-4def49d7.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 +12 -12
- package/modern/components/select/component.js +1 -1
- package/modern/components/select/index.css +14 -17
- package/modern/components/select-field/component.js +1 -1
- package/modern/components/select-field/index.css +17 -22
- package/modern/index.css +13 -13
- package/modern/{libphonenumber-js.min-88163569.d.ts → libphonenumber-js.min-cb857554.d.ts} +0 -0
- package/modern/{libphonenumber-js.min-88163569.js → libphonenumber-js.min-cb857554.js} +0 -0
- package/package.json +4 -4
|
File without changes
|
|
@@ -53,7 +53,7 @@ function __rest(s, e) {
|
|
|
53
53
|
return t;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
var styles = {"component":"intl-phone-
|
|
56
|
+
var styles = {"component":"intl-phone-input__component_1aog5","flagIconContainer":"intl-phone-input__flagIconContainer_1aog5","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_1aog5","disabled":"intl-phone-input__disabled_1aog5","inner":"intl-phone-input__inner_1aog5","l":"intl-phone-input__l_1aog5","xl":"intl-phone-input__xl_1aog5","focusVisible":"intl-phone-input__focusVisible_1aog5"};
|
|
57
57
|
require('./components/select-field/index.css')
|
|
58
58
|
|
|
59
59
|
var EMPTY_COUNTRY_SELECT_FIELD = {
|
package/component.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var components_selectField_component = require('./component-
|
|
3
|
+
var components_selectField_component = require('./component-1f1cb3eb.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var coreComponentsInputAutocomplete = require('@alfalab/core-components-input-autocomplete');
|
|
@@ -23,7 +23,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
23
23
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
24
24
|
var WorldMagnifierMIcon__default = /*#__PURE__*/_interopDefaultCompat(WorldMagnifierMIcon);
|
|
25
25
|
|
|
26
|
-
var styles = {"addons":"intl-phone-
|
|
26
|
+
var styles = {"addons":"intl-phone-input__addons_vt4ry","l":"intl-phone-input__l_vt4ry","xl":"intl-phone-input__xl_vt4ry","flagIconWrapper":"intl-phone-input__flagIconWrapper_vt4ry","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_vt4ry"};
|
|
27
27
|
require('./index.css')
|
|
28
28
|
|
|
29
29
|
var countriesHash = utils.getCountriesHash();
|
|
@@ -275,7 +275,7 @@ var IntlPhoneInput = React.forwardRef(function (_a, ref) {
|
|
|
275
275
|
if (phoneLibUtils.current)
|
|
276
276
|
return;
|
|
277
277
|
Promise.resolve().then(function () { return require(
|
|
278
|
-
/* webpackChunkName: "libphonenumber" */ './libphonenumber-js.min-
|
|
278
|
+
/* webpackChunkName: "libphonenumber" */ './libphonenumber-js.min-4def49d7.js'); })
|
|
279
279
|
.then(function (utils) {
|
|
280
280
|
phoneLibUtils.current = utils.AsYouType;
|
|
281
281
|
if (canBeEmptyCountry) {
|
|
@@ -9,7 +9,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
9
9
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
10
10
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
11
11
|
|
|
12
|
-
var styles = {"flagIcon":"intl-phone-
|
|
12
|
+
var styles = {"flagIcon":"intl-phone-input__flagIcon_1wq82","flagPlaceholder":"intl-phone-input__flagPlaceholder_1wq82"};
|
|
13
13
|
require('./index.css')
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 14c85 */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1);
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
-
--gap-3xs: 2px;
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
14
|
+
} :root {
|
|
17
15
|
--border-radius-xs: 2px;
|
|
18
|
-
}
|
|
19
|
-
|
|
16
|
+
} :root {
|
|
17
|
+
--gap-3xs: 2px;
|
|
18
|
+
} :root {
|
|
19
|
+
} :root {
|
|
20
|
+
} .intl-phone-input__flagIcon_1wq82 {
|
|
20
21
|
max-width: 24px;
|
|
21
22
|
max-height: 24px;
|
|
22
|
-
}
|
|
23
|
-
.intl-phone-input__flagPlaceholder_jv6x2 {
|
|
23
|
+
} .intl-phone-input__flagPlaceholder_1wq82 {
|
|
24
24
|
width: 24px;
|
|
25
25
|
height: 16px;
|
|
26
26
|
max-height: 16px;
|
package/components/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var components_selectField_component = require('../component-
|
|
3
|
+
var components_selectField_component = require('../component-1f1cb3eb.js');
|
|
4
4
|
var components_flagIcon_component = require('./flag-icon/component.js');
|
|
5
5
|
var components_select_component = require('./select/component.js');
|
|
6
6
|
require('react');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var components_selectField_component = require('../../component-
|
|
3
|
+
var components_selectField_component = require('../../component-1f1cb3eb.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var coreComponentsSelect = require('@alfalab/core-components-select');
|
|
6
6
|
var components_flagIcon_component = require('../flag-icon/component.js');
|
|
@@ -14,7 +14,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
16
16
|
|
|
17
|
-
var styles = {"component":"intl-phone-
|
|
17
|
+
var styles = {"component":"intl-phone-input__component_jayli","option":"intl-phone-input__option_jayli","flag":"intl-phone-input__flag_jayli","countryName":"intl-phone-input__countryName_jayli","dialCode":"intl-phone-input__dialCode_jayli"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
20
|
var CountriesSelect = function (_a) {
|
|
@@ -1,38 +1,35 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1j1aw */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
14
16
|
--gap-xs: 8px;
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
17
19
|
--text-secondary-color: var(--color-light-text-secondary);
|
|
18
|
-
}
|
|
19
|
-
.intl-phone-input__component_1eate {
|
|
20
|
+
} .intl-phone-input__component_jayli {
|
|
20
21
|
position: static;
|
|
21
22
|
display: flex;
|
|
22
23
|
min-width: initial;
|
|
23
24
|
height: 100%;
|
|
24
|
-
}
|
|
25
|
-
.intl-phone-input__option_1eate {
|
|
25
|
+
} .intl-phone-input__option_jayli {
|
|
26
26
|
display: flex;
|
|
27
27
|
align-items: flex-start;
|
|
28
|
-
}
|
|
29
|
-
.intl-phone-input__flag_1eate {
|
|
28
|
+
} .intl-phone-input__flag_jayli {
|
|
30
29
|
flex-shrink: 0;
|
|
31
30
|
margin-right: var(--gap-xs);
|
|
32
|
-
}
|
|
33
|
-
.intl-phone-input__countryName_1eate {
|
|
31
|
+
} .intl-phone-input__countryName_jayli {
|
|
34
32
|
margin-right: var(--gap-xs);
|
|
35
|
-
}
|
|
36
|
-
.intl-phone-input__dialCode_1eate {
|
|
33
|
+
} .intl-phone-input__dialCode_jayli {
|
|
37
34
|
color: var(--text-secondary-color);
|
|
38
35
|
}
|
|
@@ -1,58 +1,53 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ctxx0 */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-border-link: #007aff;
|
|
4
5
|
--color-light-graphic-secondary: #6d7986;
|
|
5
|
-
}
|
|
6
|
-
:root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
8
|
+
} :root {
|
|
7
9
|
|
|
8
10
|
/* Hard */
|
|
9
11
|
|
|
10
12
|
/* Up */
|
|
11
13
|
|
|
12
14
|
/* Hard up */
|
|
13
|
-
}
|
|
14
|
-
:root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
15
17
|
--gap-2xs: 4px;
|
|
16
18
|
--gap-s: 12px;
|
|
17
19
|
--gap-m: 16px;
|
|
18
|
-
}
|
|
19
|
-
:root {
|
|
20
|
+
} :root {
|
|
21
|
+
} :root {
|
|
20
22
|
--focus-color: var(--color-light-border-link);
|
|
21
23
|
--disabled-cursor: not-allowed;
|
|
22
|
-
}
|
|
23
|
-
.intl-phone-input__component_1vosh {
|
|
24
|
+
} .intl-phone-input__component_1aog5 {
|
|
24
25
|
height: 100%;
|
|
25
26
|
cursor: pointer;
|
|
26
27
|
outline: none;
|
|
27
28
|
position: relative;
|
|
28
|
-
}
|
|
29
|
-
.intl-phone-input__flagIconContainer_1vosh {
|
|
29
|
+
} .intl-phone-input__flagIconContainer_1aog5 {
|
|
30
30
|
display: flex;
|
|
31
31
|
justify-content: center;
|
|
32
32
|
align-items: center;
|
|
33
33
|
width: 24px;
|
|
34
34
|
height: 24px;
|
|
35
35
|
margin-right: var(--gap-2xs);
|
|
36
|
-
}
|
|
37
|
-
.intl-phone-input__emptyCountryIcon_1vosh {
|
|
36
|
+
} .intl-phone-input__emptyCountryIcon_1aog5 {
|
|
38
37
|
color: var(--color-light-graphic-secondary);
|
|
39
|
-
}
|
|
40
|
-
.intl-phone-input__disabled_1vosh {
|
|
38
|
+
} .intl-phone-input__disabled_1aog5 {
|
|
41
39
|
cursor: var(--disabled-cursor);
|
|
42
|
-
}
|
|
43
|
-
.intl-phone-input__inner_1vosh {
|
|
40
|
+
} .intl-phone-input__inner_1aog5 {
|
|
44
41
|
position: relative;
|
|
45
42
|
display: flex;
|
|
46
43
|
align-items: center;
|
|
47
44
|
height: 100%;
|
|
48
45
|
padding-left: var(--gap-s);
|
|
49
46
|
outline: none;
|
|
50
|
-
}
|
|
51
|
-
.intl-phone-
|
|
52
|
-
.intl-phone-input__xl_1vosh .intl-phone-input__inner_1vosh {
|
|
47
|
+
} .intl-phone-input__l_1aog5 .intl-phone-input__inner_1aog5,
|
|
48
|
+
.intl-phone-input__xl_1aog5 .intl-phone-input__inner_1aog5 {
|
|
53
49
|
padding-left: var(--gap-m);
|
|
54
|
-
}
|
|
55
|
-
.intl-phone-input__focusVisible_1vosh {
|
|
50
|
+
} .intl-phone-input__focusVisible_1aog5 {
|
|
56
51
|
outline: 2px solid var(--focus-color);
|
|
57
52
|
outline-offset: 2px;
|
|
58
53
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-1f1cb3eb";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
2
3
|
--color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1);
|
|
3
|
-
}
|
|
4
|
-
:root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
5
7
|
|
|
6
8
|
/* Hard */
|
|
7
9
|
|
|
8
10
|
/* Up */
|
|
9
11
|
|
|
10
12
|
/* Hard up */
|
|
11
|
-
}
|
|
12
|
-
:root {
|
|
13
|
-
--gap-3xs: 2px;
|
|
14
|
-
}
|
|
15
|
-
:root {
|
|
13
|
+
} :root {
|
|
16
14
|
--border-radius-xs: 2px;
|
|
17
|
-
}
|
|
18
|
-
|
|
15
|
+
} :root {
|
|
16
|
+
--gap-3xs: 2px;
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
19
|
+
} .flagIcon {
|
|
19
20
|
max-width: 24px;
|
|
20
21
|
max-height: 24px;
|
|
21
|
-
}
|
|
22
|
-
.flagPlaceholder {
|
|
22
|
+
} .flagPlaceholder {
|
|
23
23
|
width: 24px;
|
|
24
24
|
height: 16px;
|
|
25
25
|
max-height: 16px;
|
|
@@ -1,38 +1,35 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
2
3
|
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
3
|
-
}
|
|
4
|
-
:root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
5
7
|
|
|
6
8
|
/* Hard */
|
|
7
9
|
|
|
8
10
|
/* Up */
|
|
9
11
|
|
|
10
12
|
/* Hard up */
|
|
11
|
-
}
|
|
12
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
13
15
|
--gap-xs: 8px;
|
|
14
|
-
}
|
|
15
|
-
:root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
16
18
|
--text-secondary-color: var(--color-light-text-secondary);
|
|
17
|
-
}
|
|
18
|
-
.component {
|
|
19
|
+
} .component {
|
|
19
20
|
position: static;
|
|
20
21
|
display: flex;
|
|
21
22
|
min-width: 0;
|
|
22
23
|
min-width: initial;
|
|
23
24
|
height: 100%;
|
|
24
|
-
}
|
|
25
|
-
.option {
|
|
25
|
+
} .option {
|
|
26
26
|
display: flex;
|
|
27
27
|
align-items: flex-start;
|
|
28
|
-
}
|
|
29
|
-
.flag {
|
|
28
|
+
} .flag {
|
|
30
29
|
flex-shrink: 0;
|
|
31
30
|
margin-right: var(--gap-xs);
|
|
32
|
-
}
|
|
33
|
-
.countryName {
|
|
31
|
+
} .countryName {
|
|
34
32
|
margin-right: var(--gap-xs);
|
|
35
|
-
}
|
|
36
|
-
.dialCode {
|
|
33
|
+
} .dialCode {
|
|
37
34
|
color: var(--text-secondary-color);
|
|
38
35
|
}
|
|
@@ -1,57 +1,52 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
2
3
|
--color-light-border-link: #007aff;
|
|
3
4
|
--color-light-graphic-secondary: #6d7986;
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
14
16
|
--gap-2xs: 4px;
|
|
15
17
|
--gap-s: 12px;
|
|
16
18
|
--gap-m: 16px;
|
|
17
|
-
}
|
|
18
|
-
:root {
|
|
19
|
+
} :root {
|
|
20
|
+
} :root {
|
|
19
21
|
--focus-color: var(--color-light-border-link);
|
|
20
22
|
--disabled-cursor: not-allowed;
|
|
21
|
-
}
|
|
22
|
-
.component {
|
|
23
|
+
} .component {
|
|
23
24
|
height: 100%;
|
|
24
25
|
cursor: pointer;
|
|
25
26
|
outline: none;
|
|
26
27
|
position: relative;
|
|
27
|
-
}
|
|
28
|
-
.flagIconContainer {
|
|
28
|
+
} .flagIconContainer {
|
|
29
29
|
display: flex;
|
|
30
30
|
justify-content: center;
|
|
31
31
|
align-items: center;
|
|
32
32
|
width: 24px;
|
|
33
33
|
height: 24px;
|
|
34
34
|
margin-right: var(--gap-2xs);
|
|
35
|
-
}
|
|
36
|
-
.emptyCountryIcon {
|
|
35
|
+
} .emptyCountryIcon {
|
|
37
36
|
color: var(--color-light-graphic-secondary);
|
|
38
|
-
}
|
|
39
|
-
.disabled {
|
|
37
|
+
} .disabled {
|
|
40
38
|
cursor: var(--disabled-cursor);
|
|
41
|
-
}
|
|
42
|
-
.inner {
|
|
39
|
+
} .inner {
|
|
43
40
|
position: relative;
|
|
44
41
|
display: flex;
|
|
45
42
|
align-items: center;
|
|
46
43
|
height: 100%;
|
|
47
44
|
padding-left: var(--gap-s);
|
|
48
45
|
outline: none;
|
|
49
|
-
}
|
|
50
|
-
.l .inner,
|
|
46
|
+
} .l .inner,
|
|
51
47
|
.xl .inner {
|
|
52
48
|
padding-left: var(--gap-m);
|
|
53
|
-
}
|
|
54
|
-
.focusVisible {
|
|
49
|
+
} .focusVisible {
|
|
55
50
|
outline: 2px solid var(--focus-color);
|
|
56
51
|
outline-offset: 2px;
|
|
57
52
|
}
|
package/cssm/index.module.css
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
2
3
|
--color-light-graphic-secondary: #6d7986;
|
|
3
|
-
}
|
|
4
|
-
:root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
5
7
|
|
|
6
8
|
/* Hard */
|
|
7
9
|
|
|
8
10
|
/* Up */
|
|
9
11
|
|
|
10
12
|
/* Hard up */
|
|
11
|
-
}
|
|
12
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
13
15
|
--gap-s: 12px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
} .addons {
|
|
16
19
|
padding-left: 0;
|
|
17
|
-
}
|
|
18
|
-
.l .addons, .xl .addons {
|
|
20
|
+
} .l .addons, .xl .addons {
|
|
19
21
|
padding-left: 0;
|
|
20
|
-
}
|
|
21
|
-
.flagIconWrapper {
|
|
22
|
+
} .flagIconWrapper {
|
|
22
23
|
display: flex;
|
|
23
24
|
justify-content: center;
|
|
24
25
|
align-items: center;
|
|
25
26
|
width: 24px;
|
|
26
27
|
height: 24px;
|
|
27
28
|
margin-left: var(--gap-s);
|
|
28
|
-
}
|
|
29
|
-
.emptyCountryIcon {
|
|
29
|
+
} .emptyCountryIcon {
|
|
30
30
|
color: var(--color-light-graphic-secondary);
|
|
31
31
|
}
|
|
File without changes
|
|
@@ -44,7 +44,7 @@ function __rest(s, e) {
|
|
|
44
44
|
return t;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
var styles = {"component":"intl-phone-
|
|
47
|
+
var styles = {"component":"intl-phone-input__component_1aog5","flagIconContainer":"intl-phone-input__flagIconContainer_1aog5","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_1aog5","disabled":"intl-phone-input__disabled_1aog5","inner":"intl-phone-input__inner_1aog5","l":"intl-phone-input__l_1aog5","xl":"intl-phone-input__xl_1aog5","focusVisible":"intl-phone-input__focusVisible_1aog5"};
|
|
48
48
|
require('./components/select-field/index.css')
|
|
49
49
|
|
|
50
50
|
var EMPTY_COUNTRY_SELECT_FIELD = {
|
package/esm/component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from './component-
|
|
1
|
+
import { _ as __rest, a as __assign } from './component-4980ce1c.js';
|
|
2
2
|
import React, { forwardRef, useState, useRef, useEffect } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { InputAutocomplete } from '@alfalab/core-components-input-autocomplete/esm';
|
|
@@ -15,7 +15,7 @@ import { useCaretAvoidCountryCode } from './useCaretAvoidCountryCode.js';
|
|
|
15
15
|
import './components/flag-icon/flagSprite.js';
|
|
16
16
|
import '@alfalab/core-components-select/esm';
|
|
17
17
|
|
|
18
|
-
var styles = {"addons":"intl-phone-
|
|
18
|
+
var styles = {"addons":"intl-phone-input__addons_vt4ry","l":"intl-phone-input__l_vt4ry","xl":"intl-phone-input__xl_vt4ry","flagIconWrapper":"intl-phone-input__flagIconWrapper_vt4ry","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_vt4ry"};
|
|
19
19
|
require('./index.css')
|
|
20
20
|
|
|
21
21
|
var countriesHash = getCountriesHash();
|
|
@@ -267,7 +267,7 @@ var IntlPhoneInput = forwardRef(function (_a, ref) {
|
|
|
267
267
|
if (phoneLibUtils.current)
|
|
268
268
|
return;
|
|
269
269
|
import(
|
|
270
|
-
/* webpackChunkName: "libphonenumber" */ './libphonenumber-js.min-
|
|
270
|
+
/* webpackChunkName: "libphonenumber" */ './libphonenumber-js.min-cb857554.js')
|
|
271
271
|
.then(function (utils) {
|
|
272
272
|
phoneLibUtils.current = utils.AsYouType;
|
|
273
273
|
if (canBeEmptyCountry) {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { flagSprite } from './flagSprite.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"flagIcon":"intl-phone-
|
|
5
|
+
var styles = {"flagIcon":"intl-phone-input__flagIcon_1wq82","flagPlaceholder":"intl-phone-input__flagPlaceholder_1wq82"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 14c85 */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1);
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
-
--gap-3xs: 2px;
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
14
|
+
} :root {
|
|
17
15
|
--border-radius-xs: 2px;
|
|
18
|
-
}
|
|
19
|
-
|
|
16
|
+
} :root {
|
|
17
|
+
--gap-3xs: 2px;
|
|
18
|
+
} :root {
|
|
19
|
+
} :root {
|
|
20
|
+
} .intl-phone-input__flagIcon_1wq82 {
|
|
20
21
|
max-width: 24px;
|
|
21
22
|
max-height: 24px;
|
|
22
|
-
}
|
|
23
|
-
.intl-phone-input__flagPlaceholder_jv6x2 {
|
|
23
|
+
} .intl-phone-input__flagPlaceholder_1wq82 {
|
|
24
24
|
width: 24px;
|
|
25
25
|
height: 16px;
|
|
26
26
|
max-height: 16px;
|
package/esm/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { E as EMPTY_COUNTRY_SELECT_FIELD, S as SelectField } from '../component-
|
|
1
|
+
export { E as EMPTY_COUNTRY_SELECT_FIELD, S as SelectField } from '../component-4980ce1c.js';
|
|
2
2
|
export { FlagIcon } from './flag-icon/component.js';
|
|
3
3
|
export { CountriesSelect } from './select/component.js';
|
|
4
4
|
import 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign, E as EMPTY_COUNTRY_SELECT_FIELD, S as SelectField } from '../../component-
|
|
1
|
+
import { a as __assign, E as EMPTY_COUNTRY_SELECT_FIELD, S as SelectField } from '../../component-4980ce1c.js';
|
|
2
2
|
import React, { useMemo, useCallback } from 'react';
|
|
3
3
|
import { VirtualOptionsList, Select } from '@alfalab/core-components-select/esm';
|
|
4
4
|
import { FlagIcon } from '../flag-icon/component.js';
|
|
@@ -8,7 +8,7 @@ import '@alfalab/hooks';
|
|
|
8
8
|
import '@alfalab/icons-glyph/WorldMagnifierMIcon';
|
|
9
9
|
import '../flag-icon/flagSprite.js';
|
|
10
10
|
|
|
11
|
-
var styles = {"component":"intl-phone-
|
|
11
|
+
var styles = {"component":"intl-phone-input__component_jayli","option":"intl-phone-input__option_jayli","flag":"intl-phone-input__flag_jayli","countryName":"intl-phone-input__countryName_jayli","dialCode":"intl-phone-input__dialCode_jayli"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var CountriesSelect = function (_a) {
|
|
@@ -1,38 +1,35 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1j1aw */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
14
16
|
--gap-xs: 8px;
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
17
19
|
--text-secondary-color: var(--color-light-text-secondary);
|
|
18
|
-
}
|
|
19
|
-
.intl-phone-input__component_1eate {
|
|
20
|
+
} .intl-phone-input__component_jayli {
|
|
20
21
|
position: static;
|
|
21
22
|
display: flex;
|
|
22
23
|
min-width: initial;
|
|
23
24
|
height: 100%;
|
|
24
|
-
}
|
|
25
|
-
.intl-phone-input__option_1eate {
|
|
25
|
+
} .intl-phone-input__option_jayli {
|
|
26
26
|
display: flex;
|
|
27
27
|
align-items: flex-start;
|
|
28
|
-
}
|
|
29
|
-
.intl-phone-input__flag_1eate {
|
|
28
|
+
} .intl-phone-input__flag_jayli {
|
|
30
29
|
flex-shrink: 0;
|
|
31
30
|
margin-right: var(--gap-xs);
|
|
32
|
-
}
|
|
33
|
-
.intl-phone-input__countryName_1eate {
|
|
31
|
+
} .intl-phone-input__countryName_jayli {
|
|
34
32
|
margin-right: var(--gap-xs);
|
|
35
|
-
}
|
|
36
|
-
.intl-phone-input__dialCode_1eate {
|
|
33
|
+
} .intl-phone-input__dialCode_jayli {
|
|
37
34
|
color: var(--text-secondary-color);
|
|
38
35
|
}
|
|
@@ -1,58 +1,53 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ctxx0 */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-border-link: #007aff;
|
|
4
5
|
--color-light-graphic-secondary: #6d7986;
|
|
5
|
-
}
|
|
6
|
-
:root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
8
|
+
} :root {
|
|
7
9
|
|
|
8
10
|
/* Hard */
|
|
9
11
|
|
|
10
12
|
/* Up */
|
|
11
13
|
|
|
12
14
|
/* Hard up */
|
|
13
|
-
}
|
|
14
|
-
:root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
15
17
|
--gap-2xs: 4px;
|
|
16
18
|
--gap-s: 12px;
|
|
17
19
|
--gap-m: 16px;
|
|
18
|
-
}
|
|
19
|
-
:root {
|
|
20
|
+
} :root {
|
|
21
|
+
} :root {
|
|
20
22
|
--focus-color: var(--color-light-border-link);
|
|
21
23
|
--disabled-cursor: not-allowed;
|
|
22
|
-
}
|
|
23
|
-
.intl-phone-input__component_1vosh {
|
|
24
|
+
} .intl-phone-input__component_1aog5 {
|
|
24
25
|
height: 100%;
|
|
25
26
|
cursor: pointer;
|
|
26
27
|
outline: none;
|
|
27
28
|
position: relative;
|
|
28
|
-
}
|
|
29
|
-
.intl-phone-input__flagIconContainer_1vosh {
|
|
29
|
+
} .intl-phone-input__flagIconContainer_1aog5 {
|
|
30
30
|
display: flex;
|
|
31
31
|
justify-content: center;
|
|
32
32
|
align-items: center;
|
|
33
33
|
width: 24px;
|
|
34
34
|
height: 24px;
|
|
35
35
|
margin-right: var(--gap-2xs);
|
|
36
|
-
}
|
|
37
|
-
.intl-phone-input__emptyCountryIcon_1vosh {
|
|
36
|
+
} .intl-phone-input__emptyCountryIcon_1aog5 {
|
|
38
37
|
color: var(--color-light-graphic-secondary);
|
|
39
|
-
}
|
|
40
|
-
.intl-phone-input__disabled_1vosh {
|
|
38
|
+
} .intl-phone-input__disabled_1aog5 {
|
|
41
39
|
cursor: var(--disabled-cursor);
|
|
42
|
-
}
|
|
43
|
-
.intl-phone-input__inner_1vosh {
|
|
40
|
+
} .intl-phone-input__inner_1aog5 {
|
|
44
41
|
position: relative;
|
|
45
42
|
display: flex;
|
|
46
43
|
align-items: center;
|
|
47
44
|
height: 100%;
|
|
48
45
|
padding-left: var(--gap-s);
|
|
49
46
|
outline: none;
|
|
50
|
-
}
|
|
51
|
-
.intl-phone-
|
|
52
|
-
.intl-phone-input__xl_1vosh .intl-phone-input__inner_1vosh {
|
|
47
|
+
} .intl-phone-input__l_1aog5 .intl-phone-input__inner_1aog5,
|
|
48
|
+
.intl-phone-input__xl_1aog5 .intl-phone-input__inner_1aog5 {
|
|
53
49
|
padding-left: var(--gap-m);
|
|
54
|
-
}
|
|
55
|
-
.intl-phone-input__focusVisible_1vosh {
|
|
50
|
+
} .intl-phone-input__focusVisible_1aog5 {
|
|
56
51
|
outline: 2px solid var(--focus-color);
|
|
57
52
|
outline-offset: 2px;
|
|
58
53
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-4980ce1c";
|
package/esm/index.css
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ku8o */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-graphic-secondary: #6d7986;
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
14
16
|
--gap-s: 12px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
19
|
+
} .intl-phone-input__addons_vt4ry {
|
|
17
20
|
padding-left: 0;
|
|
18
|
-
}
|
|
19
|
-
.intl-phone-input__l_ldvui .intl-phone-input__addons_ldvui, .intl-phone-input__xl_ldvui .intl-phone-input__addons_ldvui {
|
|
21
|
+
} .intl-phone-input__l_vt4ry .intl-phone-input__addons_vt4ry, .intl-phone-input__xl_vt4ry .intl-phone-input__addons_vt4ry {
|
|
20
22
|
padding-left: 0;
|
|
21
|
-
}
|
|
22
|
-
.intl-phone-input__flagIconWrapper_ldvui {
|
|
23
|
+
} .intl-phone-input__flagIconWrapper_vt4ry {
|
|
23
24
|
display: flex;
|
|
24
25
|
justify-content: center;
|
|
25
26
|
align-items: center;
|
|
26
27
|
width: 24px;
|
|
27
28
|
height: 24px;
|
|
28
29
|
margin-left: var(--gap-s);
|
|
29
|
-
}
|
|
30
|
-
.intl-phone-input__emptyCountryIcon_ldvui {
|
|
30
|
+
} .intl-phone-input__emptyCountryIcon_vt4ry {
|
|
31
31
|
color: var(--color-light-graphic-secondary);
|
|
32
32
|
}
|
package/esm/index.js
CHANGED
|
File without changes
|
|
File without changes
|
package/index.css
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ku8o */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-graphic-secondary: #6d7986;
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
14
16
|
--gap-s: 12px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
19
|
+
} .intl-phone-input__addons_vt4ry {
|
|
17
20
|
padding-left: 0;
|
|
18
|
-
}
|
|
19
|
-
.intl-phone-input__l_ldvui .intl-phone-input__addons_ldvui, .intl-phone-input__xl_ldvui .intl-phone-input__addons_ldvui {
|
|
21
|
+
} .intl-phone-input__l_vt4ry .intl-phone-input__addons_vt4ry, .intl-phone-input__xl_vt4ry .intl-phone-input__addons_vt4ry {
|
|
20
22
|
padding-left: 0;
|
|
21
|
-
}
|
|
22
|
-
.intl-phone-input__flagIconWrapper_ldvui {
|
|
23
|
+
} .intl-phone-input__flagIconWrapper_vt4ry {
|
|
23
24
|
display: flex;
|
|
24
25
|
justify-content: center;
|
|
25
26
|
align-items: center;
|
|
26
27
|
width: 24px;
|
|
27
28
|
height: 24px;
|
|
28
29
|
margin-left: var(--gap-s);
|
|
29
|
-
}
|
|
30
|
-
.intl-phone-input__emptyCountryIcon_ldvui {
|
|
30
|
+
} .intl-phone-input__emptyCountryIcon_vt4ry {
|
|
31
31
|
color: var(--color-light-graphic-secondary);
|
|
32
32
|
}
|
package/index.js
CHANGED
|
File without changes
|
|
File without changes
|
package/modern/component.js
CHANGED
|
@@ -15,7 +15,7 @@ import './components/flag-icon/flagSprite.js';
|
|
|
15
15
|
import '@alfalab/core-components-select/modern';
|
|
16
16
|
import './components/select-field/component.js';
|
|
17
17
|
|
|
18
|
-
const styles = {"addons":"intl-phone-
|
|
18
|
+
const styles = {"addons":"intl-phone-input__addons_vt4ry","l":"intl-phone-input__l_vt4ry","xl":"intl-phone-input__xl_vt4ry","flagIconWrapper":"intl-phone-input__flagIconWrapper_vt4ry","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_vt4ry"};
|
|
19
19
|
require('./index.css')
|
|
20
20
|
|
|
21
21
|
const countriesHash = getCountriesHash();
|
|
@@ -263,7 +263,7 @@ const IntlPhoneInput = forwardRef(({ disabled = false, readOnly = false, hideCou
|
|
|
263
263
|
if (phoneLibUtils.current)
|
|
264
264
|
return;
|
|
265
265
|
import(
|
|
266
|
-
/* webpackChunkName: "libphonenumber" */ './libphonenumber-js.min-
|
|
266
|
+
/* webpackChunkName: "libphonenumber" */ './libphonenumber-js.min-cb857554.js')
|
|
267
267
|
.then((utils) => {
|
|
268
268
|
phoneLibUtils.current = utils.AsYouType;
|
|
269
269
|
if (canBeEmptyCountry) {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { flagSprite } from './flagSprite.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"flagIcon":"intl-phone-
|
|
5
|
+
const styles = {"flagIcon":"intl-phone-input__flagIcon_1wq82","flagPlaceholder":"intl-phone-input__flagPlaceholder_1wq82"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 14c85 */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1);
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
-
--gap-3xs: 2px;
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
14
|
+
} :root {
|
|
17
15
|
--border-radius-xs: 2px;
|
|
18
|
-
}
|
|
19
|
-
|
|
16
|
+
} :root {
|
|
17
|
+
--gap-3xs: 2px;
|
|
18
|
+
} :root {
|
|
19
|
+
} :root {
|
|
20
|
+
} .intl-phone-input__flagIcon_1wq82 {
|
|
20
21
|
max-width: 24px;
|
|
21
22
|
max-height: 24px;
|
|
22
|
-
}
|
|
23
|
-
.intl-phone-input__flagPlaceholder_jv6x2 {
|
|
23
|
+
} .intl-phone-input__flagPlaceholder_1wq82 {
|
|
24
24
|
width: 24px;
|
|
25
25
|
height: 16px;
|
|
26
26
|
max-height: 16px;
|
|
@@ -8,7 +8,7 @@ import 'react-merge-refs';
|
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
9
|
import '@alfalab/icons-glyph/WorldMagnifierMIcon';
|
|
10
10
|
|
|
11
|
-
const styles = {"component":"intl-phone-
|
|
11
|
+
const styles = {"component":"intl-phone-input__component_jayli","option":"intl-phone-input__option_jayli","flag":"intl-phone-input__flag_jayli","countryName":"intl-phone-input__countryName_jayli","dialCode":"intl-phone-input__dialCode_jayli"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
@@ -1,38 +1,35 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1j1aw */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
14
16
|
--gap-xs: 8px;
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
17
19
|
--text-secondary-color: var(--color-light-text-secondary);
|
|
18
|
-
}
|
|
19
|
-
.intl-phone-input__component_1eate {
|
|
20
|
+
} .intl-phone-input__component_jayli {
|
|
20
21
|
position: static;
|
|
21
22
|
display: flex;
|
|
22
23
|
min-width: initial;
|
|
23
24
|
height: 100%;
|
|
24
|
-
}
|
|
25
|
-
.intl-phone-input__option_1eate {
|
|
25
|
+
} .intl-phone-input__option_jayli {
|
|
26
26
|
display: flex;
|
|
27
27
|
align-items: flex-start;
|
|
28
|
-
}
|
|
29
|
-
.intl-phone-input__flag_1eate {
|
|
28
|
+
} .intl-phone-input__flag_jayli {
|
|
30
29
|
flex-shrink: 0;
|
|
31
30
|
margin-right: var(--gap-xs);
|
|
32
|
-
}
|
|
33
|
-
.intl-phone-input__countryName_1eate {
|
|
31
|
+
} .intl-phone-input__countryName_jayli {
|
|
34
32
|
margin-right: var(--gap-xs);
|
|
35
|
-
}
|
|
36
|
-
.intl-phone-input__dialCode_1eate {
|
|
33
|
+
} .intl-phone-input__dialCode_jayli {
|
|
37
34
|
color: var(--text-secondary-color);
|
|
38
35
|
}
|
|
@@ -6,7 +6,7 @@ import WorldMagnifierMIcon from '@alfalab/icons-glyph/WorldMagnifierMIcon';
|
|
|
6
6
|
import { FlagIcon } from '../flag-icon/component.js';
|
|
7
7
|
import '../flag-icon/flagSprite.js';
|
|
8
8
|
|
|
9
|
-
const styles = {"component":"intl-phone-
|
|
9
|
+
const styles = {"component":"intl-phone-input__component_1aog5","flagIconContainer":"intl-phone-input__flagIconContainer_1aog5","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_1aog5","disabled":"intl-phone-input__disabled_1aog5","inner":"intl-phone-input__inner_1aog5","l":"intl-phone-input__l_1aog5","xl":"intl-phone-input__xl_1aog5","focusVisible":"intl-phone-input__focusVisible_1aog5"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const EMPTY_COUNTRY_SELECT_FIELD = {
|
|
@@ -1,58 +1,53 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ctxx0 */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-border-link: #007aff;
|
|
4
5
|
--color-light-graphic-secondary: #6d7986;
|
|
5
|
-
}
|
|
6
|
-
:root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
8
|
+
} :root {
|
|
7
9
|
|
|
8
10
|
/* Hard */
|
|
9
11
|
|
|
10
12
|
/* Up */
|
|
11
13
|
|
|
12
14
|
/* Hard up */
|
|
13
|
-
}
|
|
14
|
-
:root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
15
17
|
--gap-2xs: 4px;
|
|
16
18
|
--gap-s: 12px;
|
|
17
19
|
--gap-m: 16px;
|
|
18
|
-
}
|
|
19
|
-
:root {
|
|
20
|
+
} :root {
|
|
21
|
+
} :root {
|
|
20
22
|
--focus-color: var(--color-light-border-link);
|
|
21
23
|
--disabled-cursor: not-allowed;
|
|
22
|
-
}
|
|
23
|
-
.intl-phone-input__component_1vosh {
|
|
24
|
+
} .intl-phone-input__component_1aog5 {
|
|
24
25
|
height: 100%;
|
|
25
26
|
cursor: pointer;
|
|
26
27
|
outline: none;
|
|
27
28
|
position: relative;
|
|
28
|
-
}
|
|
29
|
-
.intl-phone-input__flagIconContainer_1vosh {
|
|
29
|
+
} .intl-phone-input__flagIconContainer_1aog5 {
|
|
30
30
|
display: flex;
|
|
31
31
|
justify-content: center;
|
|
32
32
|
align-items: center;
|
|
33
33
|
width: 24px;
|
|
34
34
|
height: 24px;
|
|
35
35
|
margin-right: var(--gap-2xs);
|
|
36
|
-
}
|
|
37
|
-
.intl-phone-input__emptyCountryIcon_1vosh {
|
|
36
|
+
} .intl-phone-input__emptyCountryIcon_1aog5 {
|
|
38
37
|
color: var(--color-light-graphic-secondary);
|
|
39
|
-
}
|
|
40
|
-
.intl-phone-input__disabled_1vosh {
|
|
38
|
+
} .intl-phone-input__disabled_1aog5 {
|
|
41
39
|
cursor: var(--disabled-cursor);
|
|
42
|
-
}
|
|
43
|
-
.intl-phone-input__inner_1vosh {
|
|
40
|
+
} .intl-phone-input__inner_1aog5 {
|
|
44
41
|
position: relative;
|
|
45
42
|
display: flex;
|
|
46
43
|
align-items: center;
|
|
47
44
|
height: 100%;
|
|
48
45
|
padding-left: var(--gap-s);
|
|
49
46
|
outline: none;
|
|
50
|
-
}
|
|
51
|
-
.intl-phone-
|
|
52
|
-
.intl-phone-input__xl_1vosh .intl-phone-input__inner_1vosh {
|
|
47
|
+
} .intl-phone-input__l_1aog5 .intl-phone-input__inner_1aog5,
|
|
48
|
+
.intl-phone-input__xl_1aog5 .intl-phone-input__inner_1aog5 {
|
|
53
49
|
padding-left: var(--gap-m);
|
|
54
|
-
}
|
|
55
|
-
.intl-phone-input__focusVisible_1vosh {
|
|
50
|
+
} .intl-phone-input__focusVisible_1aog5 {
|
|
56
51
|
outline: 2px solid var(--focus-color);
|
|
57
52
|
outline-offset: 2px;
|
|
58
53
|
}
|
package/modern/index.css
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ku8o */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-graphic-secondary: #6d7986;
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
14
16
|
--gap-s: 12px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
19
|
+
} .intl-phone-input__addons_vt4ry {
|
|
17
20
|
padding-left: 0;
|
|
18
|
-
}
|
|
19
|
-
.intl-phone-input__l_ldvui .intl-phone-input__addons_ldvui, .intl-phone-input__xl_ldvui .intl-phone-input__addons_ldvui {
|
|
21
|
+
} .intl-phone-input__l_vt4ry .intl-phone-input__addons_vt4ry, .intl-phone-input__xl_vt4ry .intl-phone-input__addons_vt4ry {
|
|
20
22
|
padding-left: 0;
|
|
21
|
-
}
|
|
22
|
-
.intl-phone-input__flagIconWrapper_ldvui {
|
|
23
|
+
} .intl-phone-input__flagIconWrapper_vt4ry {
|
|
23
24
|
display: flex;
|
|
24
25
|
justify-content: center;
|
|
25
26
|
align-items: center;
|
|
26
27
|
width: 24px;
|
|
27
28
|
height: 24px;
|
|
28
29
|
margin-left: var(--gap-s);
|
|
29
|
-
}
|
|
30
|
-
.intl-phone-input__emptyCountryIcon_ldvui {
|
|
30
|
+
} .intl-phone-input__emptyCountryIcon_vt4ry {
|
|
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.2.
|
|
3
|
+
"version": "9.2.9",
|
|
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.1.
|
|
21
|
-
"@alfalab/core-components-input-autocomplete": "9.3.
|
|
22
|
-
"@alfalab/core-components-select": "^13.2.
|
|
20
|
+
"@alfalab/core-components-input": "^11.1.5",
|
|
21
|
+
"@alfalab/core-components-input-autocomplete": "9.3.7",
|
|
22
|
+
"@alfalab/core-components-select": "^13.2.10",
|
|
23
23
|
"@alfalab/hooks": "^1.4.1",
|
|
24
24
|
"@alfalab/utils": "^1.13.3",
|
|
25
25
|
"classnames": "^2.3.1",
|