@alfalab/core-components-intl-phone-input 6.0.2 → 6.0.6
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 +35 -0
- package/dist/{component-2314bf2b.d.ts → component-f8310a0f.d.ts} +0 -0
- package/dist/{component-2314bf2b.js → component-f8310a0f.js} +1 -1
- package/dist/component.js +3 -3
- package/dist/components/flag-icon/component.js +1 -1
- package/dist/components/flag-icon/index.css +784 -784
- package/dist/components/index.js +1 -1
- package/dist/components/select/component.js +2 -2
- package/dist/components/select/index.css +6 -6
- package/dist/components/select/index.js +1 -1
- package/dist/components/select-field/component.js +1 -1
- package/dist/components/select-field/index.css +8 -8
- package/dist/components/select-field/index.d.ts +1 -1
- package/dist/components/select-field/index.js +1 -1
- package/dist/esm/{component-df106aa5.d.ts → component-1ad8f373.d.ts} +0 -0
- package/dist/esm/{component-df106aa5.js → component-1ad8f373.js} +1 -1
- package/dist/esm/component.js +3 -3
- package/dist/esm/components/flag-icon/component.js +1 -1
- package/dist/esm/components/flag-icon/index.css +784 -784
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/select/component.js +2 -2
- package/dist/esm/components/select/index.css +6 -6
- package/dist/esm/components/select/index.js +1 -1
- package/dist/esm/components/select-field/component.js +1 -1
- package/dist/esm/components/select-field/index.css +8 -8
- package/dist/esm/components/select-field/index.d.ts +1 -1
- package/dist/esm/components/select-field/index.js +1 -1
- package/dist/esm/index.css +3 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/{libphonenumber-js.min-b429a58f.d.ts → libphonenumber-js.min-5694694d.d.ts} +0 -0
- package/dist/esm/{libphonenumber-js.min-b429a58f.js → libphonenumber-js.min-5694694d.js} +0 -0
- package/dist/index.css +3 -3
- package/dist/index.js +1 -1
- package/dist/{libphonenumber-js.min-bfcd117a.d.ts → libphonenumber-js.min-9f532b91.d.ts} +0 -0
- package/dist/{libphonenumber-js.min-bfcd117a.js → libphonenumber-js.min-9f532b91.js} +0 -0
- package/dist/modern/component.js +2 -2
- package/dist/modern/components/flag-icon/component.js +1 -1
- package/dist/modern/components/flag-icon/index.css +784 -784
- package/dist/modern/components/select/component.js +1 -1
- package/dist/modern/components/select/index.css +6 -6
- package/dist/modern/components/select-field/component.js +1 -1
- package/dist/modern/components/select-field/index.css +8 -8
- package/dist/modern/index.css +3 -3
- package/dist/modern/{libphonenumber-js.min-b429a58f.d.ts → libphonenumber-js.min-5694694d.d.ts} +0 -0
- package/dist/modern/{libphonenumber-js.min-b429a58f.js → libphonenumber-js.min-5694694d.js} +0 -0
- package/package.json +6 -6
|
@@ -6,7 +6,7 @@ import { FlagIcon } from '../flag-icon/component.js';
|
|
|
6
6
|
import { SelectField } from '../select-field/component.js';
|
|
7
7
|
import { OptionsList, Select } from '@alfalab/core-components-select/dist/modern';
|
|
8
8
|
|
|
9
|
-
var styles = {"component":"intl-phone-
|
|
9
|
+
var styles = {"component":"intl-phone-input__component_vzsf8","option":"intl-phone-input__option_vzsf8","flag":"intl-phone-input__flag_vzsf8","countryName":"intl-phone-input__countryName_vzsf8","dialCode":"intl-phone-input__dialCode_vzsf8"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1msod */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-secondary: #546272;
|
|
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_vzsf8 {
|
|
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_vzsf8 {
|
|
27
27
|
display: flex;
|
|
28
28
|
align-items: flex-start;
|
|
29
29
|
}
|
|
30
|
-
.intl-phone-
|
|
30
|
+
.intl-phone-input__flag_vzsf8 {
|
|
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_vzsf8 {
|
|
36
36
|
margin-right: var(--gap-xs);
|
|
37
37
|
}
|
|
38
|
-
.intl-phone-
|
|
38
|
+
.intl-phone-input__dialCode_vzsf8 {
|
|
39
39
|
color: var(--text-secondary-color);
|
|
40
40
|
}
|
|
@@ -4,7 +4,7 @@ import mergeRefs from 'react-merge-refs';
|
|
|
4
4
|
import { useFocus } from '@alfalab/hooks';
|
|
5
5
|
import { FlagIcon } from '../flag-icon/component.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"component":"intl-phone-
|
|
7
|
+
var styles = {"component":"intl-phone-input__component_1rmfg","flagIconContainer":"intl-phone-input__flagIconContainer_1rmfg","disabled":"intl-phone-input__disabled_1rmfg","inner":"intl-phone-input__inner_1rmfg","l":"intl-phone-input__l_1rmfg","xl":"intl-phone-input__xl_1rmfg","focusVisible":"intl-phone-input__focusVisible_1rmfg"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const SelectField = ({ selected, Arrow, size, disabled, innerProps = {}, }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 92kfv */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-link: #007aff;
|
|
4
4
|
}
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
--focus-color: var(--color-light-border-link);
|
|
19
19
|
--disabled-cursor: not-allowed;
|
|
20
20
|
}
|
|
21
|
-
.intl-phone-
|
|
21
|
+
.intl-phone-input__component_1rmfg {
|
|
22
22
|
height: 100%;
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
outline: none;
|
|
25
25
|
width: 92px;
|
|
26
26
|
position: relative;
|
|
27
27
|
}
|
|
28
|
-
.intl-phone-
|
|
28
|
+
.intl-phone-input__flagIconContainer_1rmfg {
|
|
29
29
|
display: flex;
|
|
30
30
|
justify-content: center;
|
|
31
31
|
align-items: center;
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
height: 32px;
|
|
34
34
|
margin-right: var(--gap-s);
|
|
35
35
|
}
|
|
36
|
-
.intl-phone-
|
|
36
|
+
.intl-phone-input__disabled_1rmfg {
|
|
37
37
|
cursor: var(--disabled-cursor);
|
|
38
38
|
}
|
|
39
|
-
.intl-phone-
|
|
39
|
+
.intl-phone-input__inner_1rmfg {
|
|
40
40
|
position: relative;
|
|
41
41
|
display: flex;
|
|
42
42
|
align-items: center;
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
padding-left: var(--gap-s);
|
|
45
45
|
outline: none;
|
|
46
46
|
}
|
|
47
|
-
.intl-phone-
|
|
48
|
-
.intl-phone-
|
|
47
|
+
.intl-phone-input__l_1rmfg .intl-phone-input__inner_1rmfg,
|
|
48
|
+
.intl-phone-input__xl_1rmfg .intl-phone-input__inner_1rmfg {
|
|
49
49
|
padding-left: var(--gap-m);
|
|
50
50
|
}
|
|
51
|
-
.intl-phone-
|
|
51
|
+
.intl-phone-input__focusVisible_1rmfg {
|
|
52
52
|
outline: 2px solid var(--focus-color);
|
|
53
53
|
outline-offset: 2px;
|
|
54
54
|
}
|
package/dist/modern/index.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.intl-phone-
|
|
1
|
+
/* hash: 4a742 */
|
|
2
|
+
.intl-phone-input__addons_kamvd {
|
|
3
3
|
padding-left: 0;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.intl-phone-
|
|
6
|
+
.intl-phone-input__l_kamvd .intl-phone-input__addons_kamvd, .intl-phone-input__xl_kamvd .intl-phone-input__addons_kamvd {
|
|
7
7
|
padding-left: 0;
|
|
8
8
|
}
|
package/dist/modern/{libphonenumber-js.min-b429a58f.d.ts → libphonenumber-js.min-5694694d.d.ts}
RENAMED
|
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": "6.0.
|
|
3
|
+
"version": "6.0.6",
|
|
4
4
|
"description": "Phone input for international phones",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"react": "^16.9.0 || ^17.0.1"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@alfalab/core-components-input": "^7.3.
|
|
22
|
+
"@alfalab/core-components-input": "^7.3.6",
|
|
23
23
|
"@alfalab/core-components-input-autocomplete": "7.0.4",
|
|
24
|
-
"@alfalab/core-components-select": "^10.
|
|
25
|
-
"@alfalab/hooks": "^
|
|
26
|
-
"@alfalab/utils": "^1.
|
|
24
|
+
"@alfalab/core-components-select": "^10.2.2",
|
|
25
|
+
"@alfalab/hooks": "^1.4.1",
|
|
26
|
+
"@alfalab/utils": "^1.5.1",
|
|
27
27
|
"classnames": "^2.2.6",
|
|
28
28
|
"libphonenumber-js": "^1.8.4",
|
|
29
29
|
"react-merge-refs": "^1.1.0"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "d5c570e62d70bb812383c22a968f6743e843e82b"
|
|
32
32
|
}
|