@alfalab/core-components-international-phone-input 2.5.7 → 2.5.8

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 (76) hide show
  1. package/{esm/Component-a9c8f92e.d.ts → Component-55db088c.d.ts} +1 -1
  2. package/Component.responsive.d.ts +4 -4
  3. package/components/base-international-phone-input/Component.d.ts +1 -1
  4. package/components/base-international-phone-input/Component.js +1 -1
  5. package/components/base-international-phone-input/index.css +2 -2
  6. package/components/country-select/Component.js +1 -1
  7. package/components/country-select/index.css +8 -8
  8. package/components/flag-icon/component.js +1 -1
  9. package/components/flag-icon/index.css +3 -3
  10. package/components/select-field/component.js +1 -1
  11. package/components/select-field/index.css +9 -9
  12. package/{cssm/consts-ef43bf1b.d.ts → consts-98cfb385.d.ts} +1 -0
  13. package/{Component-a9c8f92e.d.ts → cssm/Component-55db088c.d.ts} +1 -1
  14. package/cssm/Component.responsive.d.ts +4 -4
  15. package/cssm/components/base-international-phone-input/Component.d.ts +1 -1
  16. package/{esm/consts-ef43bf1b.d.ts → cssm/consts-98cfb385.d.ts} +1 -0
  17. package/cssm/index-ebda875c.d.ts +2 -2
  18. package/cssm/transformSize-ebda875c.d.ts +1 -1
  19. package/cssm/types.d.ts +1 -1
  20. package/cssm/{typings-a9c8f92e.d.ts → typings-55db088c.d.ts} +15 -5
  21. package/cssm/utils-34f6b81b.d.ts +1 -1
  22. package/data/country-data.d.ts +9 -1
  23. package/data/country-data.js +0 -19
  24. package/{modern/Component-a9c8f92e.d.ts → esm/Component-55db088c.d.ts} +1 -1
  25. package/esm/Component.responsive.d.ts +4 -4
  26. package/esm/components/base-international-phone-input/Component.d.ts +1 -1
  27. package/esm/components/base-international-phone-input/Component.js +1 -1
  28. package/esm/components/base-international-phone-input/index.css +2 -2
  29. package/esm/components/country-select/Component.js +1 -1
  30. package/esm/components/country-select/index.css +8 -8
  31. package/esm/components/flag-icon/component.js +1 -1
  32. package/esm/components/flag-icon/index.css +3 -3
  33. package/esm/components/select-field/component.js +1 -1
  34. package/esm/components/select-field/index.css +9 -9
  35. package/{consts-ef43bf1b.d.ts → esm/consts-98cfb385.d.ts} +1 -0
  36. package/esm/index-ebda875c.d.ts +2 -2
  37. package/esm/transformSize-ebda875c.d.ts +1 -1
  38. package/esm/types.d.ts +1 -1
  39. package/esm/{typings-a9c8f92e.d.ts → typings-55db088c.d.ts} +15 -5
  40. package/esm/utils-34f6b81b.d.ts +1 -1
  41. package/index-ebda875c.d.ts +2 -2
  42. package/{cssm/Component-a9c8f92e.d.ts → modern/Component-55db088c.d.ts} +1 -1
  43. package/modern/Component.responsive.d.ts +4 -4
  44. package/modern/components/base-international-phone-input/Component.d.ts +1 -1
  45. package/modern/components/base-international-phone-input/Component.js +1 -1
  46. package/modern/components/base-international-phone-input/index.css +2 -2
  47. package/modern/components/country-select/Component.js +1 -1
  48. package/modern/components/country-select/index.css +8 -8
  49. package/modern/components/flag-icon/component.js +1 -1
  50. package/modern/components/flag-icon/index.css +3 -3
  51. package/modern/components/select-field/component.js +1 -1
  52. package/modern/components/select-field/index.css +9 -9
  53. package/modern/{consts-ef43bf1b.d.ts → consts-98cfb385.d.ts} +1 -0
  54. package/modern/index-ebda875c.d.ts +2 -2
  55. package/modern/transformSize-ebda875c.d.ts +1 -1
  56. package/modern/types.d.ts +1 -1
  57. package/modern/{typings-a9c8f92e.d.ts → typings-55db088c.d.ts} +15 -5
  58. package/modern/utils-34f6b81b.d.ts +1 -1
  59. package/moderncssm/Component-55db088c.d.ts +5 -0
  60. package/moderncssm/Component.responsive.d.ts +4 -4
  61. package/moderncssm/components/base-international-phone-input/Component.d.ts +1 -1
  62. package/moderncssm/consts-98cfb385.d.ts +13 -0
  63. package/moderncssm/index-ebda875c.d.ts +2 -2
  64. package/moderncssm/transformSize-ebda875c.d.ts +1 -1
  65. package/moderncssm/types.d.ts +1 -1
  66. package/moderncssm/{typings-a9c8f92e.d.ts → typings-55db088c.d.ts} +15 -5
  67. package/moderncssm/utils-34f6b81b.d.ts +1 -1
  68. package/package.json +6 -6
  69. package/transformSize-ebda875c.d.ts +1 -1
  70. package/types.d.ts +1 -1
  71. package/typings-55db088c.d.ts +1606 -0
  72. package/utils-34f6b81b.d.ts +1 -1
  73. package/@alfalab/icons-glyph/package.json +0 -14
  74. package/moderncssm/Component-a9c8f92e.d.ts +0 -5
  75. package/moderncssm/consts-ef43bf1b.d.ts +0 -12
  76. package/typings-a9c8f92e.d.ts +0 -1596
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { OptgroupProps } from "./typings-a9c8f92e";
3
+ import { OptgroupProps } from "./typings-55db088c";
4
4
  declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
5
5
  export { Optgroup };
@@ -7,7 +7,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
7
7
  clearableCountryCode?: boolean | "preserve" | undefined;
8
8
  countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
9
9
  clear?: boolean | undefined;
10
- filterFn?: ((value: string | undefined, option: import("./typings-a9c8f92e").OptionShape) => boolean) | undefined;
10
+ filterFn?: ((value: string | undefined, option: import("./typings-55db088c").OptionShape) => boolean) | undefined;
11
11
  onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
12
12
  onChange?: ((phone: string) => void) | undefined;
13
13
  onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
@@ -27,15 +27,15 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
27
27
  clearableCountryCode?: boolean | "preserve" | undefined;
28
28
  countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
29
29
  clear?: boolean | undefined;
30
- filterFn?: ((value: string | undefined, option: import("./typings-a9c8f92e").OptionShape) => boolean) | undefined;
30
+ filterFn?: ((value: string | undefined, option: import("./typings-55db088c").OptionShape) => boolean) | undefined;
31
31
  onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
32
32
  onChange?: ((phone: string) => void) | undefined;
33
33
  onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
34
34
  onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
35
35
  } & {
36
- options: (import("./typings-a9c8f92e").OptionShape | import("./typings-a9c8f92e").GroupShape)[];
36
+ options: (import("./typings-55db088c").OptionShape | import("./typings-55db088c").GroupShape)[];
37
37
  } & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteCommonProps, "onChange" | "onInput"> & {
38
- options: (import("./typings-a9c8f92e").OptionShape | import("./typings-a9c8f92e").GroupShape)[];
38
+ options: (import("./typings-55db088c").OptionShape | import("./typings-55db088c").GroupShape)[];
39
39
  } & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteMobileProps, "onChange" | "onInput"> & {
40
40
  breakpoint?: number | undefined;
41
41
  client?: "desktop" | "mobile" | undefined;
@@ -9,7 +9,7 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
9
9
  clearableCountryCode?: boolean | "preserve" | undefined;
10
10
  countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
11
11
  clear?: boolean | undefined;
12
- filterFn?: ((value: string | undefined, option: import("../../typings-a9c8f92e").OptionShape) => boolean) | undefined;
12
+ filterFn?: ((value: string | undefined, option: import("../../typings-55db088c").OptionShape) => boolean) | undefined;
13
13
  onCountryChange?: ((country?: Country | undefined) => void) | undefined;
14
14
  onChange?: ((phone: string) => void) | undefined;
15
15
  onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
@@ -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_1wsyx","addons":"international-phone-input__addons_1wsyx"};
19
+ var styles = {"component":"international-phone-input__component_ohr5c","addons":"international-phone-input__addons_ohr5c"};
20
20
  require('./index.css')
21
21
 
22
22
  var BaseInternationalPhoneInput = React.forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1yz7g */
1
+ /* hash: 4ey0b */
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 { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :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 */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -19,6 +19,6 @@
19
19
  --gap-0: 0;
20
20
  } :root {
21
21
  } :root {
22
- } /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_1wsyx .international-phone-input__addons_1wsyx {
22
+ } /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_ohr5c .international-phone-input__addons_ohr5c {
23
23
  padding-left: var(--gap-0);
24
24
  }
@@ -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_1i1yx","option":"international-phone-input__option_1i1yx","flag":"international-phone-input__flag_1i1yx","countryName":"international-phone-input__countryName_1i1yx","dialCode":"international-phone-input__dialCode_1i1yx","flagIconWrapper":"international-phone-input__flagIconWrapper_1i1yx","emptyCountryIcon":"international-phone-input__emptyCountryIcon_1i1yx"};
17
+ var styles = {"component":"international-phone-input__component_1cqsc","option":"international-phone-input__option_1cqsc","flag":"international-phone-input__flag_1cqsc","countryName":"international-phone-input__countryName_1cqsc","dialCode":"international-phone-input__dialCode_1cqsc","flagIconWrapper":"international-phone-input__flagIconWrapper_1cqsc","emptyCountryIcon":"international-phone-input__emptyCountryIcon_1cqsc"};
18
18
  require('./index.css')
19
19
 
20
20
  var CountrySelect = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 89m5y */
1
+ /* hash: 13bbr */
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);
@@ -24,29 +24,29 @@
24
24
  --gap-12: var(--gap-s);
25
25
  } :root {
26
26
  } :root {
27
- } /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_1i1yx {
27
+ } /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_1cqsc {
28
28
  position: static;
29
29
  display: flex;
30
30
  min-width: initial;
31
31
  height: 100%;
32
- } .international-phone-input__option_1i1yx {
32
+ } .international-phone-input__option_1cqsc {
33
33
  display: flex;
34
34
  align-items: flex-start;
35
35
  padding: var(--gap-12);
36
- } .international-phone-input__flag_1i1yx {
36
+ } .international-phone-input__flag_1cqsc {
37
37
  flex-shrink: 0;
38
38
  margin-right: var(--gap-8);
39
- } .international-phone-input__countryName_1i1yx {
39
+ } .international-phone-input__countryName_1cqsc {
40
40
  margin-right: var(--gap-8);
41
- } .international-phone-input__dialCode_1i1yx {
41
+ } .international-phone-input__dialCode_1cqsc {
42
42
  color: var(--color-light-text-secondary);
43
- } .international-phone-input__flagIconWrapper_1i1yx {
43
+ } .international-phone-input__flagIconWrapper_1cqsc {
44
44
  display: flex;
45
45
  justify-content: center;
46
46
  align-items: center;
47
47
  width: 24px;
48
48
  height: 24px;
49
49
  margin-left: var(--gap-12);
50
- } .international-phone-input__emptyCountryIcon_1i1yx {
50
+ } .international-phone-input__emptyCountryIcon_1cqsc {
51
51
  color: var(--color-light-neutral-translucent-700);
52
52
  }
@@ -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_1i99e","flagPlaceholder":"international-phone-input__flagPlaceholder_1i99e"};
14
+ var styles = {"flagIcon":"international-phone-input__flagIcon_b4dlf","flagPlaceholder":"international-phone-input__flagPlaceholder_b4dlf"};
15
15
  require('./index.css')
16
16
 
17
17
  /**
@@ -1,4 +1,4 @@
1
- /* hash: ubbq3 */
1
+ /* hash: 1yaq6 */
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 */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -23,10 +23,10 @@
23
23
  --gap-2: var(--gap-3xs);
24
24
  } :root {
25
25
  } :root {
26
- } /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__flagIcon_1i99e {
26
+ } /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__flagIcon_b4dlf {
27
27
  max-width: 24px;
28
28
  max-height: 24px;
29
- } .international-phone-input__flagPlaceholder_1i99e {
29
+ } .international-phone-input__flagPlaceholder_b4dlf {
30
30
  width: 24px;
31
31
  height: 16px;
32
32
  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_1aiyy","flagIconContainer":"international-phone-input__flagIconContainer_1aiyy","emptyCountryIcon":"international-phone-input__emptyCountryIcon_1aiyy","disabled":"international-phone-input__disabled_1aiyy","inner":"international-phone-input__inner_1aiyy","size-64":"international-phone-input__size-64_1aiyy","size-72":"international-phone-input__size-72_1aiyy","focusVisible":"international-phone-input__focusVisible_1aiyy"};
19
+ var styles = {"component":"international-phone-input__component_odnk8","flagIconContainer":"international-phone-input__flagIconContainer_odnk8","emptyCountryIcon":"international-phone-input__emptyCountryIcon_odnk8","disabled":"international-phone-input__disabled_odnk8","inner":"international-phone-input__inner_odnk8","size-64":"international-phone-input__size-64_odnk8","size-72":"international-phone-input__size-72_odnk8","focusVisible":"international-phone-input__focusVisible_odnk8"};
20
20
  require('./index.css')
21
21
 
22
22
  var EMPTY_COUNTRY_SELECT_FIELD = {
@@ -1,4 +1,4 @@
1
- /* hash: 9m5qx */
1
+ /* hash: 1p3dx */
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);
@@ -28,33 +28,33 @@
28
28
  } :root {
29
29
  --focus-color: var(--color-light-status-info);
30
30
  --disabled-cursor: not-allowed;
31
- } /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_1aiyy {
31
+ } /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_odnk8 {
32
32
  height: 100%;
33
33
  cursor: pointer;
34
34
  outline: none;
35
35
  position: relative;
36
- } .international-phone-input__flagIconContainer_1aiyy {
36
+ } .international-phone-input__flagIconContainer_odnk8 {
37
37
  display: flex;
38
38
  justify-content: center;
39
39
  align-items: center;
40
40
  width: 24px;
41
41
  height: 24px;
42
42
  margin-right: var(--gap-4);
43
- } .international-phone-input__emptyCountryIcon_1aiyy {
43
+ } .international-phone-input__emptyCountryIcon_odnk8 {
44
44
  color: var(--color-light-neutral-translucent-700);
45
- } .international-phone-input__disabled_1aiyy {
45
+ } .international-phone-input__disabled_odnk8 {
46
46
  cursor: var(--disabled-cursor);
47
- } .international-phone-input__inner_1aiyy {
47
+ } .international-phone-input__inner_odnk8 {
48
48
  position: relative;
49
49
  display: flex;
50
50
  align-items: center;
51
51
  height: 100%;
52
52
  padding-left: var(--gap-12);
53
53
  outline: none;
54
- } .international-phone-input__size-64_1aiyy .international-phone-input__inner_1aiyy,
55
- .international-phone-input__size-72_1aiyy .international-phone-input__inner_1aiyy {
54
+ } .international-phone-input__size-64_odnk8 .international-phone-input__inner_odnk8,
55
+ .international-phone-input__size-72_odnk8 .international-phone-input__inner_odnk8 {
56
56
  padding-left: var(--gap-16);
57
- } .international-phone-input__focusVisible_1aiyy {
57
+ } .international-phone-input__focusVisible_odnk8 {
58
58
  outline: 2px solid var(--focus-color);
59
59
  outline-offset: 2px;
60
60
  }
@@ -4,6 +4,7 @@ declare const SIZE_TO_CLASSNAME_MAP: {
4
4
  m: string;
5
5
  l: string;
6
6
  xl: string;
7
+ 40: string;
7
8
  48: string;
8
9
  56: string;
9
10
  64: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { OptgroupProps } from "./typings-a9c8f92e";
3
+ import { OptgroupProps } from "./typings-55db088c";
4
4
  declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
5
5
  export { Optgroup };
@@ -7,7 +7,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
7
7
  clearableCountryCode?: boolean | "preserve" | undefined;
8
8
  countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
9
9
  clear?: boolean | undefined;
10
- filterFn?: ((value: string | undefined, option: import("./typings-a9c8f92e").OptionShape) => boolean) | undefined;
10
+ filterFn?: ((value: string | undefined, option: import("./typings-55db088c").OptionShape) => boolean) | undefined;
11
11
  onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
12
12
  onChange?: ((phone: string) => void) | undefined;
13
13
  onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
@@ -27,15 +27,15 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
27
27
  clearableCountryCode?: boolean | "preserve" | undefined;
28
28
  countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
29
29
  clear?: boolean | undefined;
30
- filterFn?: ((value: string | undefined, option: import("./typings-a9c8f92e").OptionShape) => boolean) | undefined;
30
+ filterFn?: ((value: string | undefined, option: import("./typings-55db088c").OptionShape) => boolean) | undefined;
31
31
  onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
32
32
  onChange?: ((phone: string) => void) | undefined;
33
33
  onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
34
34
  onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
35
35
  } & {
36
- options: (import("./typings-a9c8f92e").OptionShape | import("./typings-a9c8f92e").GroupShape)[];
36
+ options: (import("./typings-55db088c").OptionShape | import("./typings-55db088c").GroupShape)[];
37
37
  } & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteCommonProps, "onChange" | "onInput"> & {
38
- options: (import("./typings-a9c8f92e").OptionShape | import("./typings-a9c8f92e").GroupShape)[];
38
+ options: (import("./typings-55db088c").OptionShape | import("./typings-55db088c").GroupShape)[];
39
39
  } & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteMobileProps, "onChange" | "onInput"> & {
40
40
  breakpoint?: number | undefined;
41
41
  client?: "desktop" | "mobile" | undefined;
@@ -9,7 +9,7 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
9
9
  clearableCountryCode?: boolean | "preserve" | undefined;
10
10
  countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
11
11
  clear?: boolean | undefined;
12
- filterFn?: ((value: string | undefined, option: import("../../typings-a9c8f92e").OptionShape) => boolean) | undefined;
12
+ filterFn?: ((value: string | undefined, option: import("../../typings-55db088c").OptionShape) => boolean) | undefined;
13
13
  onCountryChange?: ((country?: Country | undefined) => void) | undefined;
14
14
  onChange?: ((phone: string) => void) | undefined;
15
15
  onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
@@ -4,6 +4,7 @@ declare const SIZE_TO_CLASSNAME_MAP: {
4
4
  m: string;
5
5
  l: string;
6
6
  xl: string;
7
+ 40: string;
7
8
  48: string;
8
9
  56: string;
9
10
  64: string;
@@ -19,7 +19,7 @@ type BaseFormControlProps = HTMLAttributes<HTMLDivElement> & {
19
19
  * Размер компонента
20
20
  * @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
21
21
  */
22
- size?: "s" | "m" | "l" | "xl" | 48 | 56 | 64 | 72;
22
+ size?: "s" | "m" | "l" | "xl" | 40 | 48 | 56 | 64 | 72;
23
23
  /**
24
24
  * Набор цветов для компонента
25
25
  */
@@ -119,7 +119,7 @@ type BaseFormControlProps = HTMLAttributes<HTMLDivElement> & {
119
119
  };
120
120
  declare const BaseFormControl: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
121
121
  block?: boolean | undefined;
122
- size?: "s" | "m" | "l" | "xl" | 48 | 56 | 64 | 72 | undefined;
122
+ size?: "s" | "m" | "l" | "xl" | 40 | 48 | 56 | 64 | 72 | undefined;
123
123
  colors?: "default" | "inverted" | undefined;
124
124
  disabled?: boolean | undefined;
125
125
  readOnly?: boolean | undefined;
@@ -1,3 +1,3 @@
1
1
  import { IconButtonProps } from "./index-ebda875c";
2
- declare const transformSize: (size?: IconButtonProps['size']) => 48 | 56 | 24 | 32 | 40;
2
+ declare const transformSize: (size?: IconButtonProps['size']) => 40 | 48 | 56 | 24 | 32;
3
3
  export { transformSize };
package/cssm/types.d.ts CHANGED
@@ -5,7 +5,7 @@ import { InputMobileProps } from "@alfalab/core-components-input/mobile";
5
5
  import { InputAutocompleteProps } from "@alfalab/core-components-input-autocomplete";
6
6
  import { InputAutocompleteDesktopProps } from "@alfalab/core-components-input-autocomplete/desktop";
7
7
  import { InputAutocompleteMobileProps } from "@alfalab/core-components-input-autocomplete/mobile";
8
- import { OptionShape } from "./typings-a9c8f92e";
8
+ import { OptionShape } from "./typings-55db088c";
9
9
  import { SharedCountrySelectProps } from "./components/country-select/index";
10
10
  type Country = {
11
11
  name: string;
@@ -938,12 +938,12 @@ type BaseSelectProps = {
938
938
  * Размер компонента
939
939
  * @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
940
940
  */
941
- size?: 's' | 'm' | 'l' | 'xl' | 48 | 56 | 64 | 72;
941
+ size?: 's' | 'm' | 'l' | 'xl' | 40 | 48 | 56 | 64 | 72;
942
942
  /**
943
943
  * Размер пунктов меню
944
944
  * @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
945
945
  */
946
- optionsSize?: 's' | 'm' | 'l' | 'xl' | 48 | 56 | 64 | 72;
946
+ optionsSize?: 's' | 'm' | 'l' | 'xl' | 40 | 48 | 56 | 64 | 72;
947
947
  /**
948
948
  * Растягивает компонент на ширину контейнера
949
949
  */
@@ -1218,6 +1218,11 @@ type ArrowProps = {
1218
1218
  * Флаг блокировки select'а
1219
1219
  */
1220
1220
  disabled?: boolean;
1221
+ /**
1222
+ * Размер компонента
1223
+ * @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
1224
+ */
1225
+ size?: BaseSelectProps['size'];
1221
1226
  };
1222
1227
  type OptionsListProps = {
1223
1228
  /**
@@ -1240,7 +1245,7 @@ type OptionsListProps = {
1240
1245
  * Размер компонента
1241
1246
  * @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
1242
1247
  */
1243
- size?: 's' | 'm' | 'l' | 'xl' | 48 | 56 | 64 | 72;
1248
+ size?: 's' | 'm' | 'l' | 'xl' | 40 | 48 | 56 | 64 | 72;
1244
1249
  /**
1245
1250
  * Компонент пункта меню
1246
1251
  */
@@ -1360,7 +1365,7 @@ type OptgroupProps = {
1360
1365
  * Размер компонента
1361
1366
  * @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
1362
1367
  */
1363
- size?: 's' | 'm' | 'l' | 'xl' | 48 | 56 | 64 | 72;
1368
+ size?: 's' | 'm' | 'l' | 'xl' | 40 | 48 | 56 | 64 | 72;
1364
1369
  /**
1365
1370
  * Заголовок группы
1366
1371
  */
@@ -1399,7 +1404,7 @@ type OptionProps = {
1399
1404
  * Размер компонента
1400
1405
  * @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
1401
1406
  */
1402
- size?: 's' | 'm' | 'l' | 'xl' | 48 | 56 | 64 | 72;
1407
+ size?: 's' | 'm' | 'l' | 'xl' | 40 | 48 | 56 | 64 | 72;
1403
1408
  /**
1404
1409
  * Контент пункта меню
1405
1410
  */
@@ -1585,6 +1590,11 @@ type ClearButtonProps = {
1585
1590
  * Идентификатор для систем автоматизированного тестирования
1586
1591
  */
1587
1592
  dataTestId?: string;
1593
+ /**
1594
+ * Размер компонента
1595
+ * @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
1596
+ */
1597
+ size?: FormControlProps['size'];
1588
1598
  };
1589
1599
  export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, horizontalDirections, ShouldSkipSwipingParams, useVisibleViewportSize, Typography, Text, Title as TitleDesktop, TitleResponsive, TitleMobile, typographyPresets, SwipeDirection, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps, ClearButtonProps };
1590
1600
  export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps, TextProps };
@@ -1,5 +1,5 @@
1
1
  import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-a9c8f92e";
2
+ import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-55db088c";
3
3
  declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
4
  declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
5
5
  declare const joinOptions: ({ selected, selectedMultiple, }: {
@@ -1,3 +1,11 @@
1
- type CountriesData = [string, string[], string, string, string?, number?, string[]?];
1
+ type CountriesData = [
2
+ string,
3
+ string[],
4
+ string,
5
+ string,
6
+ string?,
7
+ number?,
8
+ string[]?
9
+ ];
2
10
  declare const countriesData: CountriesData[];
3
11
  export { CountriesData, countriesData };
@@ -2,25 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- /*
6
- * Country model:
7
- * [
8
- * Country name,
9
- * Regions,
10
- * iso2 code,
11
- * International dial code,
12
- * Format (if available),
13
- * Order priority (if >1 country with same dial code),
14
- * Area codes (if >1 country with same dial code)
15
- * ]
16
- *
17
- * Regions:
18
- * ['america', 'europe', 'asia', 'oceania', 'africa']
19
- *
20
- * Sub-regions:
21
- * ['north-america', 'south-america', 'central-america', 'carribean',
22
- * 'eu-union', 'ex-ussr', 'ex-yugos', 'baltic', 'middle-east', 'north-africa']
23
- */
24
5
  var countriesData = [
25
6
  ['Абхазия', ['europe'], 'ge-ab', '7', '... ... .. ..', 1, ['840', '940']],
26
7
  ['Афганистан', ['asia'], 'af', '93'],
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { OptgroupProps } from "./typings-a9c8f92e";
3
+ import { OptgroupProps } from "./typings-55db088c";
4
4
  declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
5
5
  export { Optgroup };
@@ -7,7 +7,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
7
7
  clearableCountryCode?: boolean | "preserve" | undefined;
8
8
  countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
9
9
  clear?: boolean | undefined;
10
- filterFn?: ((value: string | undefined, option: import("./typings-a9c8f92e").OptionShape) => boolean) | undefined;
10
+ filterFn?: ((value: string | undefined, option: import("./typings-55db088c").OptionShape) => boolean) | undefined;
11
11
  onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
12
12
  onChange?: ((phone: string) => void) | undefined;
13
13
  onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
@@ -27,15 +27,15 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
27
27
  clearableCountryCode?: boolean | "preserve" | undefined;
28
28
  countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
29
29
  clear?: boolean | undefined;
30
- filterFn?: ((value: string | undefined, option: import("./typings-a9c8f92e").OptionShape) => boolean) | undefined;
30
+ filterFn?: ((value: string | undefined, option: import("./typings-55db088c").OptionShape) => boolean) | undefined;
31
31
  onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
32
32
  onChange?: ((phone: string) => void) | undefined;
33
33
  onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
34
34
  onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
35
35
  } & {
36
- options: (import("./typings-a9c8f92e").OptionShape | import("./typings-a9c8f92e").GroupShape)[];
36
+ options: (import("./typings-55db088c").OptionShape | import("./typings-55db088c").GroupShape)[];
37
37
  } & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteCommonProps, "onChange" | "onInput"> & {
38
- options: (import("./typings-a9c8f92e").OptionShape | import("./typings-a9c8f92e").GroupShape)[];
38
+ options: (import("./typings-55db088c").OptionShape | import("./typings-55db088c").GroupShape)[];
39
39
  } & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteMobileProps, "onChange" | "onInput"> & {
40
40
  breakpoint?: number | undefined;
41
41
  client?: "desktop" | "mobile" | undefined;
@@ -9,7 +9,7 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
9
9
  clearableCountryCode?: boolean | "preserve" | undefined;
10
10
  countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
11
11
  clear?: boolean | undefined;
12
- filterFn?: ((value: string | undefined, option: import("../../typings-a9c8f92e").OptionShape) => boolean) | undefined;
12
+ filterFn?: ((value: string | undefined, option: import("../../typings-55db088c").OptionShape) => boolean) | undefined;
13
13
  onCountryChange?: ((country?: Country | undefined) => void) | undefined;
14
14
  onChange?: ((phone: string) => void) | undefined;
15
15
  onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
@@ -7,7 +7,7 @@ import { BaseOption } from '@alfalab/core-components-select/esm/shared';
7
7
  import { initCountries, findCountry, filterPhones, createMaskOptions, getClear, getPhoneData, getInitialValueFromCountry } from '../../utils/index.js';
8
8
  import { CountrySelect } from '../country-select/Component.js';
9
9
 
10
- var styles = {"component":"international-phone-input__component_1wsyx","addons":"international-phone-input__addons_1wsyx"};
10
+ var styles = {"component":"international-phone-input__component_ohr5c","addons":"international-phone-input__addons_ohr5c"};
11
11
  require('./index.css')
12
12
 
13
13
  var BaseInternationalPhoneInput = forwardRef(function (_a, ref) {