@alfalab/core-components-international-phone-input 2.0.3 → 2.0.4

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.
Files changed (54) hide show
  1. package/{Component-61e2321e.d.ts → Component-6d57839f.d.ts} +1 -1
  2. package/Component.responsive-8566963f.d.ts +2 -2
  3. package/components/base-international-phone-input/Component.js +1 -1
  4. package/components/base-international-phone-input/index.css +2 -2
  5. package/components/country-select/Component.js +1 -1
  6. package/components/country-select/index.css +8 -8
  7. package/components/flag-icon/component.js +1 -1
  8. package/components/flag-icon/index.css +3 -3
  9. package/components/select-field/component.js +1 -1
  10. package/components/select-field/index.css +9 -9
  11. package/cssm/{Component-61e2321e.d.ts → Component-6d57839f.d.ts} +1 -1
  12. package/cssm/Component.responsive-8566963f.d.ts +2 -2
  13. package/cssm/data/country-data.js +225 -211
  14. package/{esm/index-61e2321e.d.ts → cssm/index-6d57839f.d.ts} +1 -1
  15. package/cssm/index-8566963f.d.ts +2 -2
  16. package/{esm/typings-61e2321e.d.ts → cssm/typings-6d57839f.d.ts} +1 -1
  17. package/cssm/typings-70284312.d.ts +1 -1
  18. package/data/country-data.js +225 -211
  19. package/esm/{Component-61e2321e.d.ts → Component-6d57839f.d.ts} +1 -1
  20. package/esm/Component.responsive-8566963f.d.ts +2 -2
  21. package/esm/components/base-international-phone-input/Component.js +1 -1
  22. package/esm/components/base-international-phone-input/index.css +2 -2
  23. package/esm/components/country-select/Component.js +1 -1
  24. package/esm/components/country-select/index.css +8 -8
  25. package/esm/components/flag-icon/component.js +1 -1
  26. package/esm/components/flag-icon/index.css +3 -3
  27. package/esm/components/select-field/component.js +1 -1
  28. package/esm/components/select-field/index.css +9 -9
  29. package/esm/data/country-data.js +225 -211
  30. package/{index-61e2321e.d.ts → esm/index-6d57839f.d.ts} +1 -1
  31. package/esm/index-8566963f.d.ts +2 -2
  32. package/{modern/typings-61e2321e.d.ts → esm/typings-6d57839f.d.ts} +1 -1
  33. package/esm/typings-70284312.d.ts +1 -1
  34. package/{cssm/index-61e2321e.d.ts → index-6d57839f.d.ts} +1 -1
  35. package/index-8566963f.d.ts +2 -2
  36. package/modern/{Component-61e2321e.d.ts → Component-6d57839f.d.ts} +1 -1
  37. package/modern/Component.responsive-8566963f.d.ts +2 -2
  38. package/modern/components/base-international-phone-input/Component.js +1 -1
  39. package/modern/components/base-international-phone-input/index.css +2 -2
  40. package/modern/components/country-select/Component.js +1 -1
  41. package/modern/components/country-select/index.css +8 -8
  42. package/modern/components/flag-icon/component.js +1 -1
  43. package/modern/components/flag-icon/index.css +3 -3
  44. package/modern/components/select-field/component.js +1 -1
  45. package/modern/components/select-field/index.css +9 -9
  46. package/modern/data/country-data.js +225 -211
  47. package/modern/{index-61e2321e.d.ts → index-6d57839f.d.ts} +1 -1
  48. package/modern/index-8566963f.d.ts +2 -2
  49. package/{typings-61e2321e.d.ts → modern/typings-6d57839f.d.ts} +1 -1
  50. package/modern/typings-70284312.d.ts +1 -1
  51. package/package.json +4 -4
  52. package/src/data/country-data.ts +225 -211
  53. package/{cssm/typings-61e2321e.d.ts → typings-6d57839f.d.ts} +1 -1
  54. package/typings-70284312.d.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC } from "react";
4
- import { CommonButtonProps, PrivateButtonProps } from "./typings-61e2321e";
4
+ import { CommonButtonProps, PrivateButtonProps } from "./typings-6d57839f";
5
5
  type SpinnerProps = {
6
6
  /**
7
7
  * Управление видимостью компонента
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
- import { CommonButtonProps, ButtonProps } from "./typings-61e2321e";
3
+ import { CommonButtonProps, ButtonProps } from "./typings-6d57839f";
4
4
  declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
5
5
  declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
6
6
  export { ButtonMobile, Button };
7
- export type { CommonButtonProps as ButtonMobileProps } from "./typings-61e2321e";
7
+ export type { CommonButtonProps as ButtonMobileProps } from "./typings-6d57839f";
@@ -16,7 +16,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
16
16
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
17
17
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
18
18
 
19
- var styles = {"component":"international-phone-input__component_16ucz","addons":"international-phone-input__addons_16ucz"};
19
+ var styles = {"component":"international-phone-input__component_1druh","addons":"international-phone-input__addons_1druh"};
20
20
  require('./index.css')
21
21
 
22
22
  var BaseInternationalPhoneInput = React.forwardRef(function (_a, ref) {
@@ -1,5 +1,5 @@
1
- /* hash: bd5u3 */
1
+ /* hash: 5t2j9 */
2
2
 
3
- .international-phone-input__component_16ucz .international-phone-input__addons_16ucz {
3
+ .international-phone-input__component_1druh .international-phone-input__addons_1druh {
4
4
  padding-left: 0;
5
5
  }
@@ -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":"international-phone-input__component_jkqcf","option":"international-phone-input__option_jkqcf","flag":"international-phone-input__flag_jkqcf","countryName":"international-phone-input__countryName_jkqcf","dialCode":"international-phone-input__dialCode_jkqcf","flagIconWrapper":"international-phone-input__flagIconWrapper_jkqcf","emptyCountryIcon":"international-phone-input__emptyCountryIcon_jkqcf"};
17
+ var styles = {"component":"international-phone-input__component_1r6tp","option":"international-phone-input__option_1r6tp","flag":"international-phone-input__flag_1r6tp","countryName":"international-phone-input__countryName_1r6tp","dialCode":"international-phone-input__dialCode_1r6tp","flagIconWrapper":"international-phone-input__flagIconWrapper_1r6tp","emptyCountryIcon":"international-phone-input__emptyCountryIcon_1r6tp"};
18
18
  require('./index.css')
19
19
 
20
20
  var CountrySelect = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 146px */
1
+ /* hash: 1tm53 */
2
2
  :root { /* 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 */ /* 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 */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-translucent-700: rgba(4, 4, 21, 0.47);
@@ -18,29 +18,29 @@
18
18
  --gap-s: 12px;
19
19
  } :root {
20
20
  } :root {
21
- } .international-phone-input__component_jkqcf {
21
+ } .international-phone-input__component_1r6tp {
22
22
  position: static;
23
23
  display: flex;
24
24
  min-width: initial;
25
25
  height: 100%;
26
- } .international-phone-input__option_jkqcf {
26
+ } .international-phone-input__option_1r6tp {
27
27
  display: flex;
28
28
  align-items: flex-start;
29
29
  padding: var(--gap-s);
30
- } .international-phone-input__flag_jkqcf {
30
+ } .international-phone-input__flag_1r6tp {
31
31
  flex-shrink: 0;
32
32
  margin-right: var(--gap-xs);
33
- } .international-phone-input__countryName_jkqcf {
33
+ } .international-phone-input__countryName_1r6tp {
34
34
  margin-right: var(--gap-xs);
35
- } .international-phone-input__dialCode_jkqcf {
35
+ } .international-phone-input__dialCode_1r6tp {
36
36
  color: var(--color-light-text-secondary);
37
- } .international-phone-input__flagIconWrapper_jkqcf {
37
+ } .international-phone-input__flagIconWrapper_1r6tp {
38
38
  display: flex;
39
39
  justify-content: center;
40
40
  align-items: center;
41
41
  width: 24px;
42
42
  height: 24px;
43
43
  margin-left: var(--gap-s);
44
- } .international-phone-input__emptyCountryIcon_jkqcf {
44
+ } .international-phone-input__emptyCountryIcon_1r6tp {
45
45
  color: var(--color-light-neutral-translucent-700);
46
46
  }
@@ -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":"international-phone-input__flagIcon_93tdb","flagPlaceholder":"international-phone-input__flagPlaceholder_93tdb"};
14
+ var styles = {"flagIcon":"international-phone-input__flagIcon_dxseh","flagPlaceholder":"international-phone-input__flagPlaceholder_dxseh"};
15
15
  require('./index.css')
16
16
 
17
17
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 1xfc0 */
1
+ /* hash: 17zwu */
2
2
  :root { /* 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 */ /* 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 */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-translucent-100: rgba(38, 55, 88, 0.06); /* 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
- } .international-phone-input__flagIcon_93tdb {
20
+ } .international-phone-input__flagIcon_dxseh {
21
21
  max-width: 24px;
22
22
  max-height: 24px;
23
- } .international-phone-input__flagPlaceholder_93tdb {
23
+ } .international-phone-input__flagPlaceholder_dxseh {
24
24
  width: 24px;
25
25
  height: 16px;
26
26
  max-height: 16px;
@@ -16,7 +16,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
16
16
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
17
17
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
18
18
 
19
- var styles = {"component":"international-phone-input__component_1bokc","flagIconContainer":"international-phone-input__flagIconContainer_1bokc","emptyCountryIcon":"international-phone-input__emptyCountryIcon_1bokc","disabled":"international-phone-input__disabled_1bokc","inner":"international-phone-input__inner_1bokc","size-64":"international-phone-input__size-64_1bokc","size-72":"international-phone-input__size-72_1bokc","focusVisible":"international-phone-input__focusVisible_1bokc"};
19
+ var styles = {"component":"international-phone-input__component_1tk3e","flagIconContainer":"international-phone-input__flagIconContainer_1tk3e","emptyCountryIcon":"international-phone-input__emptyCountryIcon_1tk3e","disabled":"international-phone-input__disabled_1tk3e","inner":"international-phone-input__inner_1tk3e","size-64":"international-phone-input__size-64_1tk3e","size-72":"international-phone-input__size-72_1tk3e","focusVisible":"international-phone-input__focusVisible_1tk3e"};
20
20
  require('./index.css')
21
21
 
22
22
  var EMPTY_COUNTRY_SELECT_FIELD = {
@@ -1,4 +1,4 @@
1
- /* hash: 1i564 */
1
+ /* hash: 3r6mf */
2
2
  :root { /* 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 */ /* 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 */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #2288fa;
@@ -21,33 +21,33 @@
21
21
  } :root {
22
22
  --focus-color: var(--color-light-border-link);
23
23
  --disabled-cursor: not-allowed;
24
- } .international-phone-input__component_1bokc {
24
+ } .international-phone-input__component_1tk3e {
25
25
  height: 100%;
26
26
  cursor: pointer;
27
27
  outline: none;
28
28
  position: relative;
29
- } .international-phone-input__flagIconContainer_1bokc {
29
+ } .international-phone-input__flagIconContainer_1tk3e {
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
- } .international-phone-input__emptyCountryIcon_1bokc {
36
+ } .international-phone-input__emptyCountryIcon_1tk3e {
37
37
  color: var(--color-light-neutral-translucent-700);
38
- } .international-phone-input__disabled_1bokc {
38
+ } .international-phone-input__disabled_1tk3e {
39
39
  cursor: var(--disabled-cursor);
40
- } .international-phone-input__inner_1bokc {
40
+ } .international-phone-input__inner_1tk3e {
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
- } .international-phone-input__size-64_1bokc .international-phone-input__inner_1bokc,
48
- .international-phone-input__size-72_1bokc .international-phone-input__inner_1bokc {
47
+ } .international-phone-input__size-64_1tk3e .international-phone-input__inner_1tk3e,
48
+ .international-phone-input__size-72_1tk3e .international-phone-input__inner_1tk3e {
49
49
  padding-left: var(--gap-m);
50
- } .international-phone-input__focusVisible_1bokc {
50
+ } .international-phone-input__focusVisible_1tk3e {
51
51
  outline: 2px solid var(--focus-color);
52
52
  outline-offset: 2px;
53
53
  }
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC } from "react";
4
- import { CommonButtonProps, PrivateButtonProps } from "./typings-61e2321e";
4
+ import { CommonButtonProps, PrivateButtonProps } from "./typings-6d57839f";
5
5
  type SpinnerProps = {
6
6
  /**
7
7
  * Управление видимостью компонента
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
- import { CommonButtonProps, ButtonProps } from "./typings-61e2321e";
3
+ import { CommonButtonProps, ButtonProps } from "./typings-6d57839f";
4
4
  declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
5
5
  declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
6
6
  export { ButtonMobile, Button };
7
- export type { CommonButtonProps as ButtonMobileProps } from "./typings-61e2321e";
7
+ export type { CommonButtonProps as ButtonMobileProps } from "./typings-6d57839f";