@alfalab/core-components-intl-phone-input 9.4.2 → 9.4.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.js CHANGED
@@ -22,11 +22,29 @@ require('./components/select-field/component.js');
22
22
 
23
23
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
24
24
 
25
+ function _interopNamespaceCompat(e) {
26
+ if (e && typeof e === 'object' && 'default' in e) return e;
27
+ var n = Object.create(null);
28
+ if (e) {
29
+ Object.keys(e).forEach(function (k) {
30
+ if (k !== 'default') {
31
+ var d = Object.getOwnPropertyDescriptor(e, k);
32
+ Object.defineProperty(n, k, d.get ? d : {
33
+ enumerable: true,
34
+ get: function () { return e[k]; }
35
+ });
36
+ }
37
+ });
38
+ }
39
+ n.default = e;
40
+ return Object.freeze(n);
41
+ }
42
+
25
43
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
26
44
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
27
45
  var WorldMagnifierMIcon__default = /*#__PURE__*/_interopDefaultCompat(WorldMagnifierMIcon);
28
46
 
29
- var styles = {"addons":"intl-phone-input__addons_1277u","l":"intl-phone-input__l_1277u","xl":"intl-phone-input__xl_1277u","flagIconWrapper":"intl-phone-input__flagIconWrapper_1277u","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_1277u"};
47
+ var styles = {"addons":"intl-phone-input__addons_1g25v","l":"intl-phone-input__l_1g25v","xl":"intl-phone-input__xl_1g25v","flagIconWrapper":"intl-phone-input__flagIconWrapper_1g25v","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_1g25v"};
30
48
  require('./index.css')
31
49
 
32
50
  var countriesHash = utils.getCountriesHash();
@@ -293,7 +311,7 @@ var IntlPhoneInput = React.forwardRef(function (_a, ref) {
293
311
  React.useEffect(function () {
294
312
  if (phoneLibUtils.current)
295
313
  return;
296
- import(/* webpackChunkName: "libphonenumber" */ 'libphonenumber-js/min')
314
+ Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceCompat(require(/* webpackChunkName: "libphonenumber" */ 'libphonenumber-js/min')); })
297
315
  .then(function (utils) {
298
316
  phoneLibUtils.current = utils.AsYouType;
299
317
  if (canBeEmptyCountry) {
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
13
13
 
14
- var styles = {"flagIcon":"intl-phone-input__flagIcon_1kswe","flagPlaceholder":"intl-phone-input__flagPlaceholder_1kswe"};
14
+ var styles = {"flagIcon":"intl-phone-input__flagIcon_1ynue","flagPlaceholder":"intl-phone-input__flagPlaceholder_1ynue"};
15
15
  require('./index.css')
16
16
 
17
17
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 1xegf */
1
+ /* hash: g3plz */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -17,10 +17,10 @@
17
17
  --gap-3xs: 2px;
18
18
  } :root {
19
19
  } :root {
20
- } .intl-phone-input__flagIcon_1kswe {
20
+ } .intl-phone-input__flagIcon_1ynue {
21
21
  max-width: 24px;
22
22
  max-height: 24px;
23
- } .intl-phone-input__flagPlaceholder_1kswe {
23
+ } .intl-phone-input__flagPlaceholder_1ynue {
24
24
  width: 24px;
25
25
  height: 16px;
26
26
  max-height: 16px;
@@ -17,7 +17,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
17
17
 
18
18
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
19
19
 
20
- var styles = {"component":"intl-phone-input__component_14ots","option":"intl-phone-input__option_14ots","flag":"intl-phone-input__flag_14ots","countryName":"intl-phone-input__countryName_14ots","dialCode":"intl-phone-input__dialCode_14ots"};
20
+ var styles = {"component":"intl-phone-input__component_42dyk","option":"intl-phone-input__option_42dyk","flag":"intl-phone-input__flag_42dyk","countryName":"intl-phone-input__countryName_42dyk","dialCode":"intl-phone-input__dialCode_42dyk"};
21
21
  require('./index.css')
22
22
 
23
23
  var CountriesSelect = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1sz5r */
1
+ /* hash: 18zrr */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-secondary: rgba(60, 60, 67, 0.66); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -17,19 +17,19 @@
17
17
  } :root {
18
18
  } :root {
19
19
  --text-secondary-color: var(--color-light-text-secondary);
20
- } .intl-phone-input__component_14ots {
20
+ } .intl-phone-input__component_42dyk {
21
21
  position: static;
22
22
  display: flex;
23
23
  min-width: initial;
24
24
  height: 100%;
25
- } .intl-phone-input__option_14ots {
25
+ } .intl-phone-input__option_42dyk {
26
26
  display: flex;
27
27
  align-items: flex-start;
28
- } .intl-phone-input__flag_14ots {
28
+ } .intl-phone-input__flag_42dyk {
29
29
  flex-shrink: 0;
30
30
  margin-right: var(--gap-xs);
31
- } .intl-phone-input__countryName_14ots {
31
+ } .intl-phone-input__countryName_42dyk {
32
32
  margin-right: var(--gap-xs);
33
- } .intl-phone-input__dialCode_14ots {
33
+ } .intl-phone-input__dialCode_42dyk {
34
34
  color: var(--text-secondary-color);
35
35
  }
@@ -18,7 +18,7 @@ var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
18
18
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
19
19
  var WorldMagnifierMIcon__default = /*#__PURE__*/_interopDefaultCompat(WorldMagnifierMIcon);
20
20
 
21
- var styles = {"component":"intl-phone-input__component_1cd1w","flagIconContainer":"intl-phone-input__flagIconContainer_1cd1w","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_1cd1w","disabled":"intl-phone-input__disabled_1cd1w","inner":"intl-phone-input__inner_1cd1w","l":"intl-phone-input__l_1cd1w","xl":"intl-phone-input__xl_1cd1w","focusVisible":"intl-phone-input__focusVisible_1cd1w"};
21
+ var styles = {"component":"intl-phone-input__component_vgrrb","flagIconContainer":"intl-phone-input__flagIconContainer_vgrrb","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_vgrrb","disabled":"intl-phone-input__disabled_vgrrb","inner":"intl-phone-input__inner_vgrrb","l":"intl-phone-input__l_vgrrb","xl":"intl-phone-input__xl_vgrrb","focusVisible":"intl-phone-input__focusVisible_vgrrb"};
22
22
  require('./index.css')
23
23
 
24
24
  var EMPTY_COUNTRY_SELECT_FIELD = {
@@ -1,4 +1,4 @@
1
- /* hash: keh55 */
1
+ /* hash: mvh2s */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #0072ef;
@@ -21,33 +21,33 @@
21
21
  } :root {
22
22
  --focus-color: var(--color-light-border-link);
23
23
  --disabled-cursor: not-allowed;
24
- } .intl-phone-input__component_1cd1w {
24
+ } .intl-phone-input__component_vgrrb {
25
25
  height: 100%;
26
26
  cursor: pointer;
27
27
  outline: none;
28
28
  position: relative;
29
- } .intl-phone-input__flagIconContainer_1cd1w {
29
+ } .intl-phone-input__flagIconContainer_vgrrb {
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
- } .intl-phone-input__emptyCountryIcon_1cd1w {
36
+ } .intl-phone-input__emptyCountryIcon_vgrrb {
37
37
  color: var(--color-light-graphic-secondary);
38
- } .intl-phone-input__disabled_1cd1w {
38
+ } .intl-phone-input__disabled_vgrrb {
39
39
  cursor: var(--disabled-cursor);
40
- } .intl-phone-input__inner_1cd1w {
40
+ } .intl-phone-input__inner_vgrrb {
41
41
  position: relative;
42
42
  display: flex;
43
43
  align-items: center;
44
44
  height: 100%;
45
45
  padding-left: var(--gap-s);
46
46
  outline: none;
47
- } .intl-phone-input__l_1cd1w .intl-phone-input__inner_1cd1w,
48
- .intl-phone-input__xl_1cd1w .intl-phone-input__inner_1cd1w {
47
+ } .intl-phone-input__l_vgrrb .intl-phone-input__inner_vgrrb,
48
+ .intl-phone-input__xl_vgrrb .intl-phone-input__inner_vgrrb {
49
49
  padding-left: var(--gap-m);
50
- } .intl-phone-input__focusVisible_1cd1w {
50
+ } .intl-phone-input__focusVisible_vgrrb {
51
51
  outline: 2px solid var(--focus-color);
52
52
  outline-offset: 2px;
53
53
  }
package/cssm/component.js CHANGED
@@ -26,6 +26,24 @@ require('./components/select/index.module.css');
26
26
 
27
27
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
28
28
 
29
+ function _interopNamespaceCompat(e) {
30
+ if (e && typeof e === 'object' && 'default' in e) return e;
31
+ var n = Object.create(null);
32
+ if (e) {
33
+ Object.keys(e).forEach(function (k) {
34
+ if (k !== 'default') {
35
+ var d = Object.getOwnPropertyDescriptor(e, k);
36
+ Object.defineProperty(n, k, d.get ? d : {
37
+ enumerable: true,
38
+ get: function () { return e[k]; }
39
+ });
40
+ }
41
+ });
42
+ }
43
+ n.default = e;
44
+ return Object.freeze(n);
45
+ }
46
+
29
47
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
30
48
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
31
49
  var WorldMagnifierMIcon__default = /*#__PURE__*/_interopDefaultCompat(WorldMagnifierMIcon);
@@ -295,7 +313,7 @@ var IntlPhoneInput = React.forwardRef(function (_a, ref) {
295
313
  React.useEffect(function () {
296
314
  if (phoneLibUtils.current)
297
315
  return;
298
- import(/* webpackChunkName: "libphonenumber" */ 'libphonenumber-js/min')
316
+ Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceCompat(require(/* webpackChunkName: "libphonenumber" */ 'libphonenumber-js/min')); })
299
317
  .then(function (utils) {
300
318
  phoneLibUtils.current = utils.AsYouType;
301
319
  if (canBeEmptyCountry) {
package/esm/component.js CHANGED
@@ -16,7 +16,7 @@ import './components/flag-icon/flagSprite.js';
16
16
  import '@alfalab/core-components-select/esm';
17
17
  import './components/select-field/component.js';
18
18
 
19
- var styles = {"addons":"intl-phone-input__addons_1277u","l":"intl-phone-input__l_1277u","xl":"intl-phone-input__xl_1277u","flagIconWrapper":"intl-phone-input__flagIconWrapper_1277u","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_1277u"};
19
+ var styles = {"addons":"intl-phone-input__addons_1g25v","l":"intl-phone-input__l_1g25v","xl":"intl-phone-input__xl_1g25v","flagIconWrapper":"intl-phone-input__flagIconWrapper_1g25v","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_1g25v"};
20
20
  require('./index.css')
21
21
 
22
22
  var countriesHash = getCountriesHash();
@@ -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-input__flagIcon_1kswe","flagPlaceholder":"intl-phone-input__flagPlaceholder_1kswe"};
5
+ var styles = {"flagIcon":"intl-phone-input__flagIcon_1ynue","flagPlaceholder":"intl-phone-input__flagPlaceholder_1ynue"};
6
6
  require('./index.css')
7
7
 
8
8
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 1xegf */
1
+ /* hash: g3plz */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -17,10 +17,10 @@
17
17
  --gap-3xs: 2px;
18
18
  } :root {
19
19
  } :root {
20
- } .intl-phone-input__flagIcon_1kswe {
20
+ } .intl-phone-input__flagIcon_1ynue {
21
21
  max-width: 24px;
22
22
  max-height: 24px;
23
- } .intl-phone-input__flagPlaceholder_1kswe {
23
+ } .intl-phone-input__flagPlaceholder_1ynue {
24
24
  width: 24px;
25
25
  height: 16px;
26
26
  max-height: 16px;
@@ -9,7 +9,7 @@ import 'react-merge-refs';
9
9
  import '@alfalab/hooks';
10
10
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
11
11
 
12
- var styles = {"component":"intl-phone-input__component_14ots","option":"intl-phone-input__option_14ots","flag":"intl-phone-input__flag_14ots","countryName":"intl-phone-input__countryName_14ots","dialCode":"intl-phone-input__dialCode_14ots"};
12
+ var styles = {"component":"intl-phone-input__component_42dyk","option":"intl-phone-input__option_42dyk","flag":"intl-phone-input__flag_42dyk","countryName":"intl-phone-input__countryName_42dyk","dialCode":"intl-phone-input__dialCode_42dyk"};
13
13
  require('./index.css')
14
14
 
15
15
  var CountriesSelect = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1sz5r */
1
+ /* hash: 18zrr */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-secondary: rgba(60, 60, 67, 0.66); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -17,19 +17,19 @@
17
17
  } :root {
18
18
  } :root {
19
19
  --text-secondary-color: var(--color-light-text-secondary);
20
- } .intl-phone-input__component_14ots {
20
+ } .intl-phone-input__component_42dyk {
21
21
  position: static;
22
22
  display: flex;
23
23
  min-width: initial;
24
24
  height: 100%;
25
- } .intl-phone-input__option_14ots {
25
+ } .intl-phone-input__option_42dyk {
26
26
  display: flex;
27
27
  align-items: flex-start;
28
- } .intl-phone-input__flag_14ots {
28
+ } .intl-phone-input__flag_42dyk {
29
29
  flex-shrink: 0;
30
30
  margin-right: var(--gap-xs);
31
- } .intl-phone-input__countryName_14ots {
31
+ } .intl-phone-input__countryName_42dyk {
32
32
  margin-right: var(--gap-xs);
33
- } .intl-phone-input__dialCode_14ots {
33
+ } .intl-phone-input__dialCode_42dyk {
34
34
  color: var(--text-secondary-color);
35
35
  }
@@ -7,7 +7,7 @@ import WorldMagnifierMIcon from '@alfalab/icons-glyph/WorldMagnifierMIcon';
7
7
  import { FlagIcon } from '../flag-icon/component.js';
8
8
  import '../flag-icon/flagSprite.js';
9
9
 
10
- var styles = {"component":"intl-phone-input__component_1cd1w","flagIconContainer":"intl-phone-input__flagIconContainer_1cd1w","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_1cd1w","disabled":"intl-phone-input__disabled_1cd1w","inner":"intl-phone-input__inner_1cd1w","l":"intl-phone-input__l_1cd1w","xl":"intl-phone-input__xl_1cd1w","focusVisible":"intl-phone-input__focusVisible_1cd1w"};
10
+ var styles = {"component":"intl-phone-input__component_vgrrb","flagIconContainer":"intl-phone-input__flagIconContainer_vgrrb","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_vgrrb","disabled":"intl-phone-input__disabled_vgrrb","inner":"intl-phone-input__inner_vgrrb","l":"intl-phone-input__l_vgrrb","xl":"intl-phone-input__xl_vgrrb","focusVisible":"intl-phone-input__focusVisible_vgrrb"};
11
11
  require('./index.css')
12
12
 
13
13
  var EMPTY_COUNTRY_SELECT_FIELD = {
@@ -1,4 +1,4 @@
1
- /* hash: keh55 */
1
+ /* hash: mvh2s */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #0072ef;
@@ -21,33 +21,33 @@
21
21
  } :root {
22
22
  --focus-color: var(--color-light-border-link);
23
23
  --disabled-cursor: not-allowed;
24
- } .intl-phone-input__component_1cd1w {
24
+ } .intl-phone-input__component_vgrrb {
25
25
  height: 100%;
26
26
  cursor: pointer;
27
27
  outline: none;
28
28
  position: relative;
29
- } .intl-phone-input__flagIconContainer_1cd1w {
29
+ } .intl-phone-input__flagIconContainer_vgrrb {
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
- } .intl-phone-input__emptyCountryIcon_1cd1w {
36
+ } .intl-phone-input__emptyCountryIcon_vgrrb {
37
37
  color: var(--color-light-graphic-secondary);
38
- } .intl-phone-input__disabled_1cd1w {
38
+ } .intl-phone-input__disabled_vgrrb {
39
39
  cursor: var(--disabled-cursor);
40
- } .intl-phone-input__inner_1cd1w {
40
+ } .intl-phone-input__inner_vgrrb {
41
41
  position: relative;
42
42
  display: flex;
43
43
  align-items: center;
44
44
  height: 100%;
45
45
  padding-left: var(--gap-s);
46
46
  outline: none;
47
- } .intl-phone-input__l_1cd1w .intl-phone-input__inner_1cd1w,
48
- .intl-phone-input__xl_1cd1w .intl-phone-input__inner_1cd1w {
47
+ } .intl-phone-input__l_vgrrb .intl-phone-input__inner_vgrrb,
48
+ .intl-phone-input__xl_vgrrb .intl-phone-input__inner_vgrrb {
49
49
  padding-left: var(--gap-m);
50
- } .intl-phone-input__focusVisible_1cd1w {
50
+ } .intl-phone-input__focusVisible_vgrrb {
51
51
  outline: 2px solid var(--focus-color);
52
52
  outline-offset: 2px;
53
53
  }
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: mfx84 */
1
+ /* hash: 13e0n */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-secondary: #86868a; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,17 +16,17 @@
16
16
  --gap-s: 12px;
17
17
  } :root {
18
18
  } :root {
19
- } .intl-phone-input__addons_1277u {
19
+ } .intl-phone-input__addons_1g25v {
20
20
  padding-left: 0;
21
- } .intl-phone-input__l_1277u .intl-phone-input__addons_1277u, .intl-phone-input__xl_1277u .intl-phone-input__addons_1277u {
21
+ } .intl-phone-input__l_1g25v .intl-phone-input__addons_1g25v, .intl-phone-input__xl_1g25v .intl-phone-input__addons_1g25v {
22
22
  padding-left: 0;
23
- } .intl-phone-input__flagIconWrapper_1277u {
23
+ } .intl-phone-input__flagIconWrapper_1g25v {
24
24
  display: flex;
25
25
  justify-content: center;
26
26
  align-items: center;
27
27
  width: 24px;
28
28
  height: 24px;
29
29
  margin-left: var(--gap-s);
30
- } .intl-phone-input__emptyCountryIcon_1277u {
30
+ } .intl-phone-input__emptyCountryIcon_1g25v {
31
31
  color: var(--color-light-graphic-secondary);
32
32
  }
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: mfx84 */
1
+ /* hash: 13e0n */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-secondary: #86868a; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,17 +16,17 @@
16
16
  --gap-s: 12px;
17
17
  } :root {
18
18
  } :root {
19
- } .intl-phone-input__addons_1277u {
19
+ } .intl-phone-input__addons_1g25v {
20
20
  padding-left: 0;
21
- } .intl-phone-input__l_1277u .intl-phone-input__addons_1277u, .intl-phone-input__xl_1277u .intl-phone-input__addons_1277u {
21
+ } .intl-phone-input__l_1g25v .intl-phone-input__addons_1g25v, .intl-phone-input__xl_1g25v .intl-phone-input__addons_1g25v {
22
22
  padding-left: 0;
23
- } .intl-phone-input__flagIconWrapper_1277u {
23
+ } .intl-phone-input__flagIconWrapper_1g25v {
24
24
  display: flex;
25
25
  justify-content: center;
26
26
  align-items: center;
27
27
  width: 24px;
28
28
  height: 24px;
29
29
  margin-left: var(--gap-s);
30
- } .intl-phone-input__emptyCountryIcon_1277u {
30
+ } .intl-phone-input__emptyCountryIcon_1g25v {
31
31
  color: var(--color-light-graphic-secondary);
32
32
  }
@@ -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-input__addons_1277u","l":"intl-phone-input__l_1277u","xl":"intl-phone-input__xl_1277u","flagIconWrapper":"intl-phone-input__flagIconWrapper_1277u","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_1277u"};
18
+ const styles = {"addons":"intl-phone-input__addons_1g25v","l":"intl-phone-input__l_1g25v","xl":"intl-phone-input__xl_1g25v","flagIconWrapper":"intl-phone-input__flagIconWrapper_1g25v","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_1g25v"};
19
19
  require('./index.css')
20
20
 
21
21
  const countriesHash = getCountriesHash();
@@ -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-input__flagIcon_1kswe","flagPlaceholder":"intl-phone-input__flagPlaceholder_1kswe"};
5
+ const styles = {"flagIcon":"intl-phone-input__flagIcon_1ynue","flagPlaceholder":"intl-phone-input__flagPlaceholder_1ynue"};
6
6
  require('./index.css')
7
7
 
8
8
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 1xegf */
1
+ /* hash: g3plz */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -17,10 +17,10 @@
17
17
  --gap-3xs: 2px;
18
18
  } :root {
19
19
  } :root {
20
- } .intl-phone-input__flagIcon_1kswe {
20
+ } .intl-phone-input__flagIcon_1ynue {
21
21
  max-width: 24px;
22
22
  max-height: 24px;
23
- } .intl-phone-input__flagPlaceholder_1kswe {
23
+ } .intl-phone-input__flagPlaceholder_1ynue {
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-input__component_14ots","option":"intl-phone-input__option_14ots","flag":"intl-phone-input__flag_14ots","countryName":"intl-phone-input__countryName_14ots","dialCode":"intl-phone-input__dialCode_14ots"};
11
+ const styles = {"component":"intl-phone-input__component_42dyk","option":"intl-phone-input__option_42dyk","flag":"intl-phone-input__flag_42dyk","countryName":"intl-phone-input__countryName_42dyk","dialCode":"intl-phone-input__dialCode_42dyk"};
12
12
  require('./index.css')
13
13
 
14
14
  /* eslint-disable jsx-a11y/no-static-element-interactions */
@@ -1,4 +1,4 @@
1
- /* hash: 1sz5r */
1
+ /* hash: 18zrr */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-secondary: rgba(60, 60, 67, 0.66); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -17,19 +17,19 @@
17
17
  } :root {
18
18
  } :root {
19
19
  --text-secondary-color: var(--color-light-text-secondary);
20
- } .intl-phone-input__component_14ots {
20
+ } .intl-phone-input__component_42dyk {
21
21
  position: static;
22
22
  display: flex;
23
23
  min-width: initial;
24
24
  height: 100%;
25
- } .intl-phone-input__option_14ots {
25
+ } .intl-phone-input__option_42dyk {
26
26
  display: flex;
27
27
  align-items: flex-start;
28
- } .intl-phone-input__flag_14ots {
28
+ } .intl-phone-input__flag_42dyk {
29
29
  flex-shrink: 0;
30
30
  margin-right: var(--gap-xs);
31
- } .intl-phone-input__countryName_14ots {
31
+ } .intl-phone-input__countryName_42dyk {
32
32
  margin-right: var(--gap-xs);
33
- } .intl-phone-input__dialCode_14ots {
33
+ } .intl-phone-input__dialCode_42dyk {
34
34
  color: var(--text-secondary-color);
35
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-input__component_1cd1w","flagIconContainer":"intl-phone-input__flagIconContainer_1cd1w","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_1cd1w","disabled":"intl-phone-input__disabled_1cd1w","inner":"intl-phone-input__inner_1cd1w","l":"intl-phone-input__l_1cd1w","xl":"intl-phone-input__xl_1cd1w","focusVisible":"intl-phone-input__focusVisible_1cd1w"};
9
+ const styles = {"component":"intl-phone-input__component_vgrrb","flagIconContainer":"intl-phone-input__flagIconContainer_vgrrb","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_vgrrb","disabled":"intl-phone-input__disabled_vgrrb","inner":"intl-phone-input__inner_vgrrb","l":"intl-phone-input__l_vgrrb","xl":"intl-phone-input__xl_vgrrb","focusVisible":"intl-phone-input__focusVisible_vgrrb"};
10
10
  require('./index.css')
11
11
 
12
12
  const EMPTY_COUNTRY_SELECT_FIELD = {
@@ -1,4 +1,4 @@
1
- /* hash: keh55 */
1
+ /* hash: mvh2s */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #0072ef;
@@ -21,33 +21,33 @@
21
21
  } :root {
22
22
  --focus-color: var(--color-light-border-link);
23
23
  --disabled-cursor: not-allowed;
24
- } .intl-phone-input__component_1cd1w {
24
+ } .intl-phone-input__component_vgrrb {
25
25
  height: 100%;
26
26
  cursor: pointer;
27
27
  outline: none;
28
28
  position: relative;
29
- } .intl-phone-input__flagIconContainer_1cd1w {
29
+ } .intl-phone-input__flagIconContainer_vgrrb {
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
- } .intl-phone-input__emptyCountryIcon_1cd1w {
36
+ } .intl-phone-input__emptyCountryIcon_vgrrb {
37
37
  color: var(--color-light-graphic-secondary);
38
- } .intl-phone-input__disabled_1cd1w {
38
+ } .intl-phone-input__disabled_vgrrb {
39
39
  cursor: var(--disabled-cursor);
40
- } .intl-phone-input__inner_1cd1w {
40
+ } .intl-phone-input__inner_vgrrb {
41
41
  position: relative;
42
42
  display: flex;
43
43
  align-items: center;
44
44
  height: 100%;
45
45
  padding-left: var(--gap-s);
46
46
  outline: none;
47
- } .intl-phone-input__l_1cd1w .intl-phone-input__inner_1cd1w,
48
- .intl-phone-input__xl_1cd1w .intl-phone-input__inner_1cd1w {
47
+ } .intl-phone-input__l_vgrrb .intl-phone-input__inner_vgrrb,
48
+ .intl-phone-input__xl_vgrrb .intl-phone-input__inner_vgrrb {
49
49
  padding-left: var(--gap-m);
50
- } .intl-phone-input__focusVisible_1cd1w {
50
+ } .intl-phone-input__focusVisible_vgrrb {
51
51
  outline: 2px solid var(--focus-color);
52
52
  outline-offset: 2px;
53
53
  }
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: mfx84 */
1
+ /* hash: 13e0n */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-secondary: #86868a; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,17 +16,17 @@
16
16
  --gap-s: 12px;
17
17
  } :root {
18
18
  } :root {
19
- } .intl-phone-input__addons_1277u {
19
+ } .intl-phone-input__addons_1g25v {
20
20
  padding-left: 0;
21
- } .intl-phone-input__l_1277u .intl-phone-input__addons_1277u, .intl-phone-input__xl_1277u .intl-phone-input__addons_1277u {
21
+ } .intl-phone-input__l_1g25v .intl-phone-input__addons_1g25v, .intl-phone-input__xl_1g25v .intl-phone-input__addons_1g25v {
22
22
  padding-left: 0;
23
- } .intl-phone-input__flagIconWrapper_1277u {
23
+ } .intl-phone-input__flagIconWrapper_1g25v {
24
24
  display: flex;
25
25
  justify-content: center;
26
26
  align-items: center;
27
27
  width: 24px;
28
28
  height: 24px;
29
29
  margin-left: var(--gap-s);
30
- } .intl-phone-input__emptyCountryIcon_1277u {
30
+ } .intl-phone-input__emptyCountryIcon_1g25v {
31
31
  color: var(--color-light-graphic-secondary);
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-intl-phone-input",
3
- "version": "9.4.2",
3
+ "version": "9.4.3",
4
4
  "description": "Phone input for international phones",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -17,8 +17,8 @@
17
17
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
18
18
  },
19
19
  "dependencies": {
20
- "@alfalab/core-components-input-autocomplete": "9.4.3",
21
- "@alfalab/core-components-select": "^14.3.1",
20
+ "@alfalab/core-components-input-autocomplete": "9.4.4",
21
+ "@alfalab/core-components-select": "^14.3.2",
22
22
  "@alfalab/hooks": "^1.13.0",
23
23
  "@alfalab/icons-glyph": "^2.108.0",
24
24
  "@alfalab/utils": "^1.14.4",