@alfalab/core-components-international-phone-input 2.5.1 → 2.5.2

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 (115) hide show
  1. package/@alfalab/icons-glyph/package.json +14 -0
  2. package/Component-11f20b2e.d.ts +1 -1
  3. package/{Component-4bf4de6f.d.ts → Component-7f86a3f9.d.ts} +1 -1
  4. package/{cssm/Component-ed61931d.d.ts → Component-e557cdd2.d.ts} +26 -19
  5. package/Component.responsive-8566963f.d.ts +2 -2
  6. package/Component.responsive.d.ts +6 -4
  7. package/Component.responsive.js +2 -3
  8. package/{esm/ResponsiveContext-d6bfd5b7.d.ts → ResponsiveContext-4b7234ef.d.ts} +1 -1
  9. package/component-03d088c4.d.ts +8 -0
  10. package/components/base-international-phone-input/Component.d.ts +2 -2
  11. package/components/base-international-phone-input/Component.js +1 -1
  12. package/components/base-international-phone-input/index.css +2 -2
  13. package/components/country-select/Component.js +1 -1
  14. package/components/country-select/index.css +8 -8
  15. package/components/flag-icon/component.js +1 -1
  16. package/components/flag-icon/index.css +3 -3
  17. package/components/select-field/component.js +1 -1
  18. package/components/select-field/index.css +9 -9
  19. package/cssm/Component-11f20b2e.d.ts +1 -1
  20. package/{esm/Component-4bf4de6f.d.ts → cssm/Component-7f86a3f9.d.ts} +1 -1
  21. package/{Component-ed61931d.d.ts → cssm/Component-e557cdd2.d.ts} +26 -19
  22. package/cssm/Component.responsive-8566963f.d.ts +2 -2
  23. package/cssm/Component.responsive.d.ts +6 -4
  24. package/cssm/Component.responsive.js +2 -3
  25. package/cssm/{ResponsiveContext-d6bfd5b7.d.ts → ResponsiveContext-4b7234ef.d.ts} +1 -1
  26. package/cssm/component-03d088c4.d.ts +8 -0
  27. package/cssm/components/base-international-phone-input/Component.d.ts +2 -2
  28. package/cssm/index-8566963f.d.ts +2 -2
  29. package/cssm/{index-ed61931d.d.ts → index-e557cdd2.d.ts} +1 -1
  30. package/cssm/types.d.ts +6 -1
  31. package/{esm/typings-d6bfd5b7.d.ts → cssm/typings-4b7234ef.d.ts} +5 -0
  32. package/cssm/{typings-4bf4de6f.d.ts → typings-7f86a3f9.d.ts} +17 -5
  33. package/{modern/typings-ed61931d.d.ts → cssm/typings-e557cdd2.d.ts} +5 -0
  34. package/cssm/utils-34f6b81b.d.ts +1 -1
  35. package/esm/Component-11f20b2e.d.ts +1 -1
  36. package/{modern/Component-4bf4de6f.d.ts → esm/Component-7f86a3f9.d.ts} +1 -1
  37. package/{modern/Component-ed61931d.d.ts → esm/Component-e557cdd2.d.ts} +26 -19
  38. package/esm/Component.responsive-8566963f.d.ts +2 -2
  39. package/esm/Component.responsive.d.ts +6 -4
  40. package/esm/Component.responsive.js +3 -4
  41. package/{ResponsiveContext-d6bfd5b7.d.ts → esm/ResponsiveContext-4b7234ef.d.ts} +1 -1
  42. package/esm/component-03d088c4.d.ts +8 -0
  43. package/esm/components/base-international-phone-input/Component.d.ts +2 -2
  44. package/esm/components/base-international-phone-input/Component.js +1 -1
  45. package/esm/components/base-international-phone-input/index.css +2 -2
  46. package/esm/components/country-select/Component.js +1 -1
  47. package/esm/components/country-select/index.css +8 -8
  48. package/esm/components/flag-icon/component.js +1 -1
  49. package/esm/components/flag-icon/index.css +3 -3
  50. package/esm/components/select-field/component.js +1 -1
  51. package/esm/components/select-field/index.css +9 -9
  52. package/esm/index-8566963f.d.ts +2 -2
  53. package/esm/{index-ed61931d.d.ts → index-e557cdd2.d.ts} +1 -1
  54. package/esm/types.d.ts +6 -1
  55. package/{modern/typings-d6bfd5b7.d.ts → esm/typings-4b7234ef.d.ts} +5 -0
  56. package/esm/{typings-4bf4de6f.d.ts → typings-7f86a3f9.d.ts} +17 -5
  57. package/{cssm/typings-ed61931d.d.ts → esm/typings-e557cdd2.d.ts} +5 -0
  58. package/esm/utils-34f6b81b.d.ts +1 -1
  59. package/index-8566963f.d.ts +2 -2
  60. package/{index-ed61931d.d.ts → index-e557cdd2.d.ts} +1 -1
  61. package/modern/Component-11f20b2e.d.ts +1 -1
  62. package/{cssm/Component-4bf4de6f.d.ts → modern/Component-7f86a3f9.d.ts} +1 -1
  63. package/{esm/Component-ed61931d.d.ts → modern/Component-e557cdd2.d.ts} +26 -19
  64. package/modern/Component.responsive-8566963f.d.ts +2 -2
  65. package/modern/Component.responsive.d.ts +6 -4
  66. package/modern/Component.responsive.js +3 -4
  67. package/modern/{ResponsiveContext-d6bfd5b7.d.ts → ResponsiveContext-4b7234ef.d.ts} +1 -1
  68. package/modern/component-03d088c4.d.ts +8 -0
  69. package/modern/components/base-international-phone-input/Component.d.ts +2 -2
  70. package/modern/components/base-international-phone-input/Component.js +1 -1
  71. package/modern/components/base-international-phone-input/index.css +2 -2
  72. package/modern/components/country-select/Component.js +1 -1
  73. package/modern/components/country-select/index.css +8 -8
  74. package/modern/components/flag-icon/component.js +1 -1
  75. package/modern/components/flag-icon/index.css +3 -3
  76. package/modern/components/select-field/component.js +1 -1
  77. package/modern/components/select-field/index.css +9 -9
  78. package/modern/index-8566963f.d.ts +2 -2
  79. package/modern/{index-ed61931d.d.ts → index-e557cdd2.d.ts} +1 -1
  80. package/modern/types.d.ts +6 -1
  81. package/{cssm/typings-d6bfd5b7.d.ts → modern/typings-4b7234ef.d.ts} +5 -0
  82. package/modern/{typings-4bf4de6f.d.ts → typings-7f86a3f9.d.ts} +17 -5
  83. package/{moderncssm/typings-ed61931d.d.ts → modern/typings-e557cdd2.d.ts} +5 -0
  84. package/modern/utils-34f6b81b.d.ts +1 -1
  85. package/moderncssm/Component-11f20b2e.d.ts +1 -1
  86. package/moderncssm/Component-7f86a3f9.d.ts +5 -0
  87. package/moderncssm/Component-e557cdd2.d.ts +54 -0
  88. package/moderncssm/Component.responsive-8566963f.d.ts +2 -2
  89. package/moderncssm/Component.responsive.d.ts +6 -4
  90. package/moderncssm/Component.responsive.js +3 -4
  91. package/moderncssm/ResponsiveContext-4b7234ef.d.ts +5 -0
  92. package/moderncssm/component-03d088c4.d.ts +8 -0
  93. package/moderncssm/components/base-international-phone-input/Component.d.ts +2 -2
  94. package/moderncssm/index-8566963f.d.ts +2 -2
  95. package/moderncssm/index-e557cdd2.d.ts +2 -0
  96. package/moderncssm/types.d.ts +6 -1
  97. package/moderncssm/{typings-d6bfd5b7.d.ts → typings-4b7234ef.d.ts} +5 -0
  98. package/moderncssm/{typings-4bf4de6f.d.ts → typings-7f86a3f9.d.ts} +17 -5
  99. package/{esm/typings-ed61931d.d.ts → moderncssm/typings-e557cdd2.d.ts} +5 -0
  100. package/moderncssm/utils-34f6b81b.d.ts +1 -1
  101. package/package.json +5 -5
  102. package/src/Component.responsive.tsx +19 -10
  103. package/src/types.ts +6 -0
  104. package/types.d.ts +6 -1
  105. package/typings-4b7234ef.d.ts +67 -0
  106. package/typings-7f86a3f9.d.ts +1588 -0
  107. package/typings-e557cdd2.d.ts +123 -0
  108. package/utils-34f6b81b.d.ts +1 -1
  109. package/moderncssm/Component-4bf4de6f.d.ts +0 -5
  110. package/moderncssm/Component-ed61931d.d.ts +0 -47
  111. package/moderncssm/ResponsiveContext-d6bfd5b7.d.ts +0 -5
  112. package/moderncssm/index-ed61931d.d.ts +0 -2
  113. package/typings-4bf4de6f.d.ts +0 -1576
  114. package/typings-d6bfd5b7.d.ts +0 -62
  115. package/typings-ed61931d.d.ts +0 -118
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "@alfalab/icons-glyph",
3
+ "version": "2.140.0",
4
+ "license": "MIT",
5
+ "peerDependencies": {
6
+ "react": ">=16.8.0",
7
+ "react-dom": ">=16.8.0"
8
+ },
9
+ "main": "./index.js",
10
+ "module": "./esm/index.js",
11
+ "publishConfig": {
12
+ "access": "public"
13
+ }
14
+ }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { View } from "./typings-d6bfd5b7";
3
+ import { View } from "./typings-4b7234ef";
4
4
  declare const Modal: React.ForwardRefExoticComponent<import("./index-11f20b2e").BaseModalProps & {
5
5
  size?: "s" | "m" | "l" | "xl" | 500 | "fullscreen" | 600 | 800 | 1140 | undefined;
6
6
  fullscreen?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { OptgroupProps } from "./typings-4bf4de6f";
3
+ import { OptgroupProps } from "./typings-7f86a3f9";
4
4
  declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
5
5
  export { Optgroup };
@@ -1,17 +1,18 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC } from "react";
4
- import { CommonButtonProps, PrivateButtonProps } from "./typings-ed61931d";
5
- type SpinnerProps = {
4
+ import { CommonButtonProps, PrivateButtonProps } from "./typings-e557cdd2";
5
+ type SpinnerProps = ({
6
6
  /**
7
- * Управление видимостью компонента
7
+ * Палитра, в контексте которой используется спиннер
8
+ * @default default
8
9
  */
9
- visible?: boolean;
10
+ colors?: "default" | "inverted";
10
11
  /**
11
- * Размер компонента
12
- * @description xs, s, m deprecated, используйте вместо них 16, 24, 48 соответственно
12
+ * Управление видимостью компонента
13
+ * @default false
13
14
  */
14
- size?: "xs" | "s" | "m" | 16 | 24 | 48;
15
+ visible?: boolean;
15
16
  /**
16
17
  * Дополнительный класс
17
18
  */
@@ -25,18 +26,24 @@ type SpinnerProps = {
25
26
  */
26
27
  dataTestId?: string;
27
28
  /**
28
- * Палитра, в контексте которой используется спиннер
29
+ * Дополнительные инлайн стили для cпиннера
29
30
  */
30
- colors?: "default" | "inverted";
31
- };
32
- declare const SIZE_TO_CLASSNAME_MAP: {
33
- xs: string;
34
- s: string;
35
- m: string;
36
- 16: string;
37
- 24: string;
38
- 48: string;
39
- };
31
+ style?: React.CSSProperties;
32
+ } & ({
33
+ /**
34
+ * Размер спиннера (кольца)
35
+ */
36
+ size: number;
37
+ /**
38
+ * Толщина линии спинера (кольца)
39
+ */
40
+ lineWidth: number;
41
+ } | {
42
+ /**
43
+ * Преднастроенный вариант
44
+ */
45
+ preset: 16 | 24 | 48;
46
+ }));
40
47
  declare const Spinner: FC<SpinnerProps>;
41
48
  /**
42
49
  * Минимальное время отображения лоадера - 500мс,
@@ -44,4 +51,4 @@ declare const Spinner: FC<SpinnerProps>;
44
51
  */
45
52
  declare const LOADER_MIN_DISPLAY_INTERVAL = 500;
46
53
  declare const BaseButton: React.ForwardRefExoticComponent<(CommonButtonProps & PrivateButtonProps) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
47
- export { SpinnerProps, SIZE_TO_CLASSNAME_MAP, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
54
+ export { SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
- import { CommonButtonProps, ButtonProps } from "./typings-ed61931d";
3
+ import { CommonButtonProps, ButtonProps } from "./typings-e557cdd2";
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-ed61931d";
7
+ export type { CommonButtonProps as ButtonMobileProps } from "./typings-e557cdd2";
@@ -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-4bf4de6f").OptionShape) => boolean) | undefined;
10
+ filterFn?: ((value: string | undefined, option: import("./typings-7f86a3f9").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;
@@ -18,6 +18,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
18
18
  options?: undefined;
19
19
  } & Omit<import("@alfalab/core-components-input/mobile").InputMobileProps, "onFocus" | "onBlur" | "onChange" | "onInput" | "clear" | "onClear"> & {
20
20
  breakpoint?: number | undefined;
21
+ client?: "desktop" | "mobile" | undefined;
21
22
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
22
23
  }) | ({
23
24
  country?: import("./types").Country | undefined;
@@ -26,17 +27,18 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
26
27
  clearableCountryCode?: boolean | "preserve" | undefined;
27
28
  countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
28
29
  clear?: boolean | undefined;
29
- filterFn?: ((value: string | undefined, option: import("./typings-4bf4de6f").OptionShape) => boolean) | undefined;
30
+ filterFn?: ((value: string | undefined, option: import("./typings-7f86a3f9").OptionShape) => boolean) | undefined;
30
31
  onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
31
32
  onChange?: ((phone: string) => void) | undefined;
32
33
  onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
33
34
  onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
34
35
  } & {
35
- options: (import("./typings-4bf4de6f").OptionShape | import("./typings-4bf4de6f").GroupShape)[];
36
+ options: (import("./typings-7f86a3f9").OptionShape | import("./typings-7f86a3f9").GroupShape)[];
36
37
  } & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteCommonProps, "onChange" | "onInput"> & {
37
- options: (import("./typings-4bf4de6f").OptionShape | import("./typings-4bf4de6f").GroupShape)[];
38
+ options: (import("./typings-7f86a3f9").OptionShape | import("./typings-7f86a3f9").GroupShape)[];
38
39
  } & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteMobileProps, "onChange" | "onInput"> & {
39
40
  breakpoint?: number | undefined;
41
+ client?: "desktop" | "mobile" | undefined;
40
42
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
41
43
  })) & React.RefAttributes<HTMLInputElement>>;
42
44
  export { InternationalPhoneInput };
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var tslib = require('tslib');
6
6
  var React = require('react');
7
7
  var coreComponentsMq = require('@alfalab/core-components-mq');
8
- var coreComponentsShared = require('@alfalab/core-components-shared');
9
8
  var desktop_Component_desktop = require('./desktop/Component.desktop.js');
10
9
  var mobile_Component_mobile = require('./mobile/Component.mobile.js');
11
10
 
@@ -14,8 +13,8 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
14
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
15
14
 
16
15
  var InternationalPhoneInput = React__default.default.forwardRef(function (_a, ref) {
17
- var _b = _a.breakpoint, breakpoint = _b === void 0 ? coreComponentsShared.getComponentBreakpoint() : _b, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = tslib.__rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
18
- var isDesktop = coreComponentsMq.useMatchMedia("(min-width: ".concat(breakpoint, "px)"), defaultMatchMediaValue)[0];
16
+ var breakpoint = _a.breakpoint, client = _a.client, _b = _a.defaultMatchMediaValue, defaultMatchMediaValue = _b === void 0 ? client === undefined ? undefined : client === 'desktop' : _b, restProps = tslib.__rest(_a, ["breakpoint", "client", "defaultMatchMediaValue"]);
17
+ var isDesktop = coreComponentsMq.useIsDesktop(breakpoint, defaultMatchMediaValue);
19
18
  return isDesktop ? (React__default.default.createElement(desktop_Component_desktop.InternationalPhoneInputDesktop, tslib.__assign({}, restProps, { ref: ref }))) : (React__default.default.createElement(mobile_Component_mobile.InternationalPhoneInputMobile, tslib.__assign({}, restProps, { ref: ref })));
20
19
  });
21
20
  InternationalPhoneInput.displayName = 'InternationalPhoneInput';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { TResponsiveModalContext } from "./typings-d6bfd5b7";
3
+ import { TResponsiveModalContext } from "./typings-4b7234ef";
4
4
  declare const ResponsiveContext: React.Context<TResponsiveModalContext>;
5
5
  export { ResponsiveContext };
@@ -7,6 +7,10 @@ type TitleResponsiveProps = TitleProps & {
7
7
  * @default 1024
8
8
  */
9
9
  breakpoint?: number;
10
+ /**
11
+ * Версия, которая будет использоваться при серверном рендеринге
12
+ */
13
+ client?: 'desktop' | 'mobile';
10
14
  };
11
15
  declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
12
16
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
@@ -28,5 +32,9 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
28
32
  * @default 1024
29
33
  */
30
34
  breakpoint?: number | undefined;
35
+ /**
36
+ * Версия, которая будет использоваться при серверном рендеринге
37
+ */
38
+ client?: "desktop" | "mobile" | undefined;
31
39
  } & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
32
40
  export { TitleResponsiveProps, TitleResponsive };
@@ -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-4bf4de6f").OptionShape) => boolean) | undefined;
12
+ filterFn?: ((value: string | undefined, option: import("../../typings-7f86a3f9").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;
@@ -18,6 +18,6 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
18
18
  Input: React.FC<import("@alfalab/core-components-input").InputProps>;
19
19
  InputAutocomplete: React.FC<InputAutocompleteProps>;
20
20
  SelectComponent: React.ElementType<any>;
21
- view: "mobile" | "desktop";
21
+ view: "desktop" | "mobile";
22
22
  } & Omit<import("@alfalab/core-components-input").InputProps, "onFocus" | "onBlur" | "onChange" | "onInput" | "onScroll"> & Partial<Omit<InputAutocompleteProps, "leftAddons" | "onChange" | "onInput" | "onScroll">> & React.RefAttributes<HTMLInputElement>>;
23
23
  export { BaseInternationalPhoneInput };
@@ -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_5a1nt","addons":"international-phone-input__addons_5a1nt"};
19
+ var styles = {"component":"international-phone-input__component_1oq7n","addons":"international-phone-input__addons_1oq7n"};
20
20
  require('./index.css')
21
21
 
22
22
  var BaseInternationalPhoneInput = React.forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 6bq8q */
1
+ /* hash: 1gx85 */
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_5a1nt .international-phone-input__addons_5a1nt {
22
+ } /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_1oq7n .international-phone-input__addons_1oq7n {
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_10emc","option":"international-phone-input__option_10emc","flag":"international-phone-input__flag_10emc","countryName":"international-phone-input__countryName_10emc","dialCode":"international-phone-input__dialCode_10emc","flagIconWrapper":"international-phone-input__flagIconWrapper_10emc","emptyCountryIcon":"international-phone-input__emptyCountryIcon_10emc"};
17
+ var styles = {"component":"international-phone-input__component_18jwj","option":"international-phone-input__option_18jwj","flag":"international-phone-input__flag_18jwj","countryName":"international-phone-input__countryName_18jwj","dialCode":"international-phone-input__dialCode_18jwj","flagIconWrapper":"international-phone-input__flagIconWrapper_18jwj","emptyCountryIcon":"international-phone-input__emptyCountryIcon_18jwj"};
18
18
  require('./index.css')
19
19
 
20
20
  var CountrySelect = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: tuhxp */
1
+ /* hash: 1ow7j */
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_10emc {
27
+ } /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_18jwj {
28
28
  position: static;
29
29
  display: flex;
30
30
  min-width: initial;
31
31
  height: 100%;
32
- } .international-phone-input__option_10emc {
32
+ } .international-phone-input__option_18jwj {
33
33
  display: flex;
34
34
  align-items: flex-start;
35
35
  padding: var(--gap-12);
36
- } .international-phone-input__flag_10emc {
36
+ } .international-phone-input__flag_18jwj {
37
37
  flex-shrink: 0;
38
38
  margin-right: var(--gap-8);
39
- } .international-phone-input__countryName_10emc {
39
+ } .international-phone-input__countryName_18jwj {
40
40
  margin-right: var(--gap-8);
41
- } .international-phone-input__dialCode_10emc {
41
+ } .international-phone-input__dialCode_18jwj {
42
42
  color: var(--color-light-text-secondary);
43
- } .international-phone-input__flagIconWrapper_10emc {
43
+ } .international-phone-input__flagIconWrapper_18jwj {
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_10emc {
50
+ } .international-phone-input__emptyCountryIcon_18jwj {
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_11yab","flagPlaceholder":"international-phone-input__flagPlaceholder_11yab"};
14
+ var styles = {"flagIcon":"international-phone-input__flagIcon_238q6","flagPlaceholder":"international-phone-input__flagPlaceholder_238q6"};
15
15
  require('./index.css')
16
16
 
17
17
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 8qfyc */
1
+ /* hash: 1cpue */
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_11yab {
26
+ } /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__flagIcon_238q6 {
27
27
  max-width: 24px;
28
28
  max-height: 24px;
29
- } .international-phone-input__flagPlaceholder_11yab {
29
+ } .international-phone-input__flagPlaceholder_238q6 {
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_1e8mg","flagIconContainer":"international-phone-input__flagIconContainer_1e8mg","emptyCountryIcon":"international-phone-input__emptyCountryIcon_1e8mg","disabled":"international-phone-input__disabled_1e8mg","inner":"international-phone-input__inner_1e8mg","size-64":"international-phone-input__size-64_1e8mg","size-72":"international-phone-input__size-72_1e8mg","focusVisible":"international-phone-input__focusVisible_1e8mg"};
19
+ var styles = {"component":"international-phone-input__component_s5hln","flagIconContainer":"international-phone-input__flagIconContainer_s5hln","emptyCountryIcon":"international-phone-input__emptyCountryIcon_s5hln","disabled":"international-phone-input__disabled_s5hln","inner":"international-phone-input__inner_s5hln","size-64":"international-phone-input__size-64_s5hln","size-72":"international-phone-input__size-72_s5hln","focusVisible":"international-phone-input__focusVisible_s5hln"};
20
20
  require('./index.css')
21
21
 
22
22
  var EMPTY_COUNTRY_SELECT_FIELD = {
@@ -1,4 +1,4 @@
1
- /* hash: 38iwy */
1
+ /* hash: cl3su */
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_1e8mg {
31
+ } /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_s5hln {
32
32
  height: 100%;
33
33
  cursor: pointer;
34
34
  outline: none;
35
35
  position: relative;
36
- } .international-phone-input__flagIconContainer_1e8mg {
36
+ } .international-phone-input__flagIconContainer_s5hln {
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_1e8mg {
43
+ } .international-phone-input__emptyCountryIcon_s5hln {
44
44
  color: var(--color-light-neutral-translucent-700);
45
- } .international-phone-input__disabled_1e8mg {
45
+ } .international-phone-input__disabled_s5hln {
46
46
  cursor: var(--disabled-cursor);
47
- } .international-phone-input__inner_1e8mg {
47
+ } .international-phone-input__inner_s5hln {
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_1e8mg .international-phone-input__inner_1e8mg,
55
- .international-phone-input__size-72_1e8mg .international-phone-input__inner_1e8mg {
54
+ } .international-phone-input__size-64_s5hln .international-phone-input__inner_s5hln,
55
+ .international-phone-input__size-72_s5hln .international-phone-input__inner_s5hln {
56
56
  padding-left: var(--gap-16);
57
- } .international-phone-input__focusVisible_1e8mg {
57
+ } .international-phone-input__focusVisible_s5hln {
58
58
  outline: 2px solid var(--focus-color);
59
59
  outline-offset: 2px;
60
60
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { View } from "./typings-d6bfd5b7";
3
+ import { View } from "./typings-4b7234ef";
4
4
  declare const Modal: React.ForwardRefExoticComponent<import("./index-11f20b2e").BaseModalProps & {
5
5
  size?: "s" | "m" | "l" | "xl" | 500 | "fullscreen" | 600 | 800 | 1140 | undefined;
6
6
  fullscreen?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { OptgroupProps } from "./typings-4bf4de6f";
3
+ import { OptgroupProps } from "./typings-7f86a3f9";
4
4
  declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
5
5
  export { Optgroup };
@@ -1,17 +1,18 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC } from "react";
4
- import { CommonButtonProps, PrivateButtonProps } from "./typings-ed61931d";
5
- type SpinnerProps = {
4
+ import { CommonButtonProps, PrivateButtonProps } from "./typings-e557cdd2";
5
+ type SpinnerProps = ({
6
6
  /**
7
- * Управление видимостью компонента
7
+ * Палитра, в контексте которой используется спиннер
8
+ * @default default
8
9
  */
9
- visible?: boolean;
10
+ colors?: "default" | "inverted";
10
11
  /**
11
- * Размер компонента
12
- * @description xs, s, m deprecated, используйте вместо них 16, 24, 48 соответственно
12
+ * Управление видимостью компонента
13
+ * @default false
13
14
  */
14
- size?: "xs" | "s" | "m" | 16 | 24 | 48;
15
+ visible?: boolean;
15
16
  /**
16
17
  * Дополнительный класс
17
18
  */
@@ -25,18 +26,24 @@ type SpinnerProps = {
25
26
  */
26
27
  dataTestId?: string;
27
28
  /**
28
- * Палитра, в контексте которой используется спиннер
29
+ * Дополнительные инлайн стили для cпиннера
29
30
  */
30
- colors?: "default" | "inverted";
31
- };
32
- declare const SIZE_TO_CLASSNAME_MAP: {
33
- xs: string;
34
- s: string;
35
- m: string;
36
- 16: string;
37
- 24: string;
38
- 48: string;
39
- };
31
+ style?: React.CSSProperties;
32
+ } & ({
33
+ /**
34
+ * Размер спиннера (кольца)
35
+ */
36
+ size: number;
37
+ /**
38
+ * Толщина линии спинера (кольца)
39
+ */
40
+ lineWidth: number;
41
+ } | {
42
+ /**
43
+ * Преднастроенный вариант
44
+ */
45
+ preset: 16 | 24 | 48;
46
+ }));
40
47
  declare const Spinner: FC<SpinnerProps>;
41
48
  /**
42
49
  * Минимальное время отображения лоадера - 500мс,
@@ -44,4 +51,4 @@ declare const Spinner: FC<SpinnerProps>;
44
51
  */
45
52
  declare const LOADER_MIN_DISPLAY_INTERVAL = 500;
46
53
  declare const BaseButton: React.ForwardRefExoticComponent<(CommonButtonProps & PrivateButtonProps) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
47
- export { SpinnerProps, SIZE_TO_CLASSNAME_MAP, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
54
+ export { SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
- import { CommonButtonProps, ButtonProps } from "./typings-ed61931d";
3
+ import { CommonButtonProps, ButtonProps } from "./typings-e557cdd2";
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-ed61931d";
7
+ export type { CommonButtonProps as ButtonMobileProps } from "./typings-e557cdd2";
@@ -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-4bf4de6f").OptionShape) => boolean) | undefined;
10
+ filterFn?: ((value: string | undefined, option: import("./typings-7f86a3f9").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;
@@ -18,6 +18,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
18
18
  options?: undefined;
19
19
  } & Omit<import("@alfalab/core-components-input/mobile").InputMobileProps, "onFocus" | "onBlur" | "onChange" | "onInput" | "clear" | "onClear"> & {
20
20
  breakpoint?: number | undefined;
21
+ client?: "desktop" | "mobile" | undefined;
21
22
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
22
23
  }) | ({
23
24
  country?: import("./types").Country | undefined;
@@ -26,17 +27,18 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
26
27
  clearableCountryCode?: boolean | "preserve" | undefined;
27
28
  countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
28
29
  clear?: boolean | undefined;
29
- filterFn?: ((value: string | undefined, option: import("./typings-4bf4de6f").OptionShape) => boolean) | undefined;
30
+ filterFn?: ((value: string | undefined, option: import("./typings-7f86a3f9").OptionShape) => boolean) | undefined;
30
31
  onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
31
32
  onChange?: ((phone: string) => void) | undefined;
32
33
  onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
33
34
  onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
34
35
  } & {
35
- options: (import("./typings-4bf4de6f").OptionShape | import("./typings-4bf4de6f").GroupShape)[];
36
+ options: (import("./typings-7f86a3f9").OptionShape | import("./typings-7f86a3f9").GroupShape)[];
36
37
  } & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteCommonProps, "onChange" | "onInput"> & {
37
- options: (import("./typings-4bf4de6f").OptionShape | import("./typings-4bf4de6f").GroupShape)[];
38
+ options: (import("./typings-7f86a3f9").OptionShape | import("./typings-7f86a3f9").GroupShape)[];
38
39
  } & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteMobileProps, "onChange" | "onInput"> & {
39
40
  breakpoint?: number | undefined;
41
+ client?: "desktop" | "mobile" | undefined;
40
42
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
41
43
  })) & React.RefAttributes<HTMLInputElement>>;
42
44
  export { InternationalPhoneInput };