@alfalab/core-components-international-phone-input 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/{esm/Component-dd8ca091.d.ts → Component-0f4b9bed.d.ts} +1 -1
  2. package/{esm/Component-9211a437.d.ts → Component-89f0cb07.d.ts} +2 -2
  3. package/{esm/Component-d078a845.d.ts → Component-9cded6b9.d.ts} +1 -1
  4. package/Component-c44170fe.d.ts +1 -1
  5. package/Component.desktop-0aa4e915.d.ts +5 -0
  6. package/{cssm/Component.desktop-d078a845.d.ts → Component.desktop-9cded6b9.d.ts} +3 -3
  7. package/Component.mobile-16b1285a.d.ts +5 -0
  8. package/Component.mobile-4cd3936b.d.ts +3 -3
  9. package/{cssm/Component.mobile-ade26e99.d.ts → Component.mobile-f28cbba0.d.ts} +1 -1
  10. package/{esm/Component.modal.mobile-dd8ca091.d.ts → Component.modal.mobile-0f4b9bed.d.ts} +1 -1
  11. package/Component.modal.mobile-4cd3936b.d.ts +2 -2
  12. package/Component.responsive.d.ts +5 -5
  13. package/components/base-international-phone-input/Component.d.ts +1 -1
  14. package/components/base-international-phone-input/Component.js +1 -1
  15. package/components/base-international-phone-input/index.css +2 -2
  16. package/components/country-select/Component.js +1 -1
  17. package/components/country-select/index.css +8 -8
  18. package/components/flag-icon/component.js +1 -1
  19. package/components/flag-icon/index.css +3 -3
  20. package/components/select-field/component.js +1 -1
  21. package/components/select-field/index.css +9 -9
  22. package/{modern/Component-dd8ca091.d.ts → cssm/Component-0f4b9bed.d.ts} +1 -1
  23. package/{Component-9211a437.d.ts → cssm/Component-89f0cb07.d.ts} +2 -2
  24. package/{Component-d078a845.d.ts → cssm/Component-9cded6b9.d.ts} +1 -1
  25. package/cssm/Component-c44170fe.d.ts +1 -1
  26. package/cssm/Component.desktop-0aa4e915.d.ts +5 -0
  27. package/{Component.desktop-d078a845.d.ts → cssm/Component.desktop-9cded6b9.d.ts} +3 -3
  28. package/cssm/Component.mobile-16b1285a.d.ts +5 -0
  29. package/cssm/Component.mobile-4cd3936b.d.ts +3 -3
  30. package/{esm/Component.mobile-ade26e99.d.ts → cssm/Component.mobile-f28cbba0.d.ts} +1 -1
  31. package/{Component.modal.mobile-dd8ca091.d.ts → cssm/Component.modal.mobile-0f4b9bed.d.ts} +1 -1
  32. package/cssm/Component.modal.mobile-4cd3936b.d.ts +2 -2
  33. package/cssm/Component.responsive.d.ts +5 -5
  34. package/cssm/components/base-international-phone-input/Component.d.ts +1 -1
  35. package/cssm/data/country-data.js +23 -23
  36. package/cssm/desktop-232828f7.d.ts +1 -1
  37. package/cssm/desktop-89f0cb07.d.ts +2 -0
  38. package/cssm/hook-8abfea97.d.ts +8 -8
  39. package/cssm/index-8b2c2707.d.ts +2 -2
  40. package/cssm/index-c76d6398.d.ts +1 -1
  41. package/cssm/mobile-89f0cb07.d.ts +2 -0
  42. package/cssm/mobile-f28cbba0.d.ts +5 -0
  43. package/cssm/shared-4cd3936b.d.ts +5 -5
  44. package/cssm/types.d.ts +1 -1
  45. package/cssm/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
  46. package/{esm/typings-9211a437.d.ts → cssm/typings-89f0cb07.d.ts} +5 -7
  47. package/{esm/utils-dd8ca091.d.ts → cssm/utils-0f4b9bed.d.ts} +1 -1
  48. package/data/country-data.js +23 -23
  49. package/desktop-232828f7.d.ts +1 -1
  50. package/desktop-89f0cb07.d.ts +2 -0
  51. package/{cssm/Component-dd8ca091.d.ts → esm/Component-0f4b9bed.d.ts} +1 -1
  52. package/{cssm/Component-9211a437.d.ts → esm/Component-89f0cb07.d.ts} +2 -2
  53. package/{cssm/Component-d078a845.d.ts → esm/Component-9cded6b9.d.ts} +1 -1
  54. package/esm/Component-c44170fe.d.ts +1 -1
  55. package/esm/Component.desktop-0aa4e915.d.ts +5 -0
  56. package/esm/{Component.desktop-d078a845.d.ts → Component.desktop-9cded6b9.d.ts} +3 -3
  57. package/esm/Component.mobile-16b1285a.d.ts +5 -0
  58. package/esm/Component.mobile-4cd3936b.d.ts +3 -3
  59. package/{Component.mobile-ade26e99.d.ts → esm/Component.mobile-f28cbba0.d.ts} +1 -1
  60. package/{cssm/Component.modal.mobile-dd8ca091.d.ts → esm/Component.modal.mobile-0f4b9bed.d.ts} +1 -1
  61. package/esm/Component.modal.mobile-4cd3936b.d.ts +2 -2
  62. package/esm/Component.responsive.d.ts +5 -5
  63. package/esm/components/base-international-phone-input/Component.d.ts +1 -1
  64. package/esm/components/base-international-phone-input/Component.js +1 -1
  65. package/esm/components/base-international-phone-input/index.css +2 -2
  66. package/esm/components/country-select/Component.js +1 -1
  67. package/esm/components/country-select/index.css +8 -8
  68. package/esm/components/flag-icon/component.js +1 -1
  69. package/esm/components/flag-icon/index.css +3 -3
  70. package/esm/components/select-field/component.js +1 -1
  71. package/esm/components/select-field/index.css +9 -9
  72. package/esm/data/country-data.js +23 -23
  73. package/esm/desktop-232828f7.d.ts +1 -1
  74. package/esm/desktop-89f0cb07.d.ts +2 -0
  75. package/esm/hook-8abfea97.d.ts +8 -8
  76. package/esm/index-8b2c2707.d.ts +2 -2
  77. package/esm/index-c76d6398.d.ts +1 -1
  78. package/esm/mobile-89f0cb07.d.ts +2 -0
  79. package/esm/mobile-f28cbba0.d.ts +5 -0
  80. package/esm/shared-4cd3936b.d.ts +5 -5
  81. package/esm/types.d.ts +1 -1
  82. package/esm/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
  83. package/{modern/typings-9211a437.d.ts → esm/typings-89f0cb07.d.ts} +5 -7
  84. package/{cssm/utils-dd8ca091.d.ts → esm/utils-0f4b9bed.d.ts} +1 -1
  85. package/hook-8abfea97.d.ts +8 -8
  86. package/index-8b2c2707.d.ts +2 -2
  87. package/index-c76d6398.d.ts +1 -1
  88. package/mobile-89f0cb07.d.ts +2 -0
  89. package/mobile-f28cbba0.d.ts +5 -0
  90. package/{Component-dd8ca091.d.ts → modern/Component-0f4b9bed.d.ts} +1 -1
  91. package/modern/Component-4cd3936b.d.ts +1 -1
  92. package/modern/Component-89f0cb07.d.ts +38 -0
  93. package/modern/Component-8b2c2707.d.ts +71 -0
  94. package/modern/Component-9cded6b9.d.ts +7 -0
  95. package/modern/Component-c44170fe.d.ts +6 -289
  96. package/modern/Component.desktop-0aa4e915.d.ts +5 -0
  97. package/modern/Component.desktop-785df74d.d.ts +1 -1
  98. package/modern/{Component.desktop-4cd3936b.d.ts → Component.desktop-9cded6b9.d.ts} +3 -3
  99. package/modern/Component.mobile-16b1285a.d.ts +5 -0
  100. package/modern/Component.mobile-4cd3936b.d.ts +3 -3
  101. package/modern/Component.mobile-d7e9f69d.d.ts +1 -1
  102. package/modern/{Component.mobile-ade26e99.d.ts → Component.mobile-f28cbba0.d.ts} +1 -1
  103. package/modern/{Component.modal.mobile-dd8ca091.d.ts → Component.modal.mobile-0f4b9bed.d.ts} +1 -1
  104. package/modern/Component.modal.mobile-4cd3936b.d.ts +3 -3
  105. package/modern/Component.responsive-785df74d.d.ts +26 -0
  106. package/modern/Component.responsive.d.ts +11 -11
  107. package/modern/components/base-international-phone-input/Component.d.ts +3 -3
  108. package/modern/components/base-international-phone-input/Component.js +1 -1
  109. package/modern/components/base-international-phone-input/index.css +2 -2
  110. package/modern/components/country-select/Component.js +1 -1
  111. package/modern/components/country-select/index.css +8 -8
  112. package/modern/components/flag-icon/component.js +1 -1
  113. package/modern/components/flag-icon/index.css +3 -3
  114. package/modern/components/select-field/component.js +1 -1
  115. package/modern/components/select-field/index.css +9 -9
  116. package/modern/data/country-data.js +23 -23
  117. package/modern/desktop-232828f7.d.ts +1 -1
  118. package/modern/desktop-63dec22f.d.ts +1 -1
  119. package/modern/desktop-89f0cb07.d.ts +2 -0
  120. package/modern/hook-8abfea97.d.ts +8 -8
  121. package/modern/index-8b2c2707.d.ts +6 -2
  122. package/modern/index-c44170fe.d.ts +2 -131
  123. package/modern/index-c76d6398.d.ts +4 -48
  124. package/modern/mobile-89f0cb07.d.ts +2 -0
  125. package/modern/mobile-96988a65.d.ts +1 -1
  126. package/modern/mobile-f28cbba0.d.ts +5 -0
  127. package/modern/shared-4cd3936b.d.ts +5 -5
  128. package/modern/types.d.ts +1 -1
  129. package/modern/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
  130. package/{cssm/typings-9211a437.d.ts → modern/typings-89f0cb07.d.ts} +5 -7
  131. package/modern/{utils-dd8ca091.d.ts → utils-0f4b9bed.d.ts} +1 -1
  132. package/package.json +5 -5
  133. package/shared-4cd3936b.d.ts +5 -5
  134. package/src/data/country-data.ts +23 -23
  135. package/types.d.ts +1 -1
  136. package/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
  137. package/{typings-9211a437.d.ts → typings-89f0cb07.d.ts} +5 -7
  138. package/{utils-dd8ca091.d.ts → utils-0f4b9bed.d.ts} +1 -1
  139. package/Component.desktop-2e2b2125.d.ts +0 -6
  140. package/Component.mobile-755fbaa3.d.ts +0 -6
  141. package/cssm/Component.desktop-2e2b2125.d.ts +0 -6
  142. package/cssm/Component.mobile-755fbaa3.d.ts +0 -6
  143. package/cssm/desktop-2e2b2125.d.ts +0 -2
  144. package/cssm/mobile-755fbaa3.d.ts +0 -2
  145. package/cssm/mobile-ade26e99.d.ts +0 -5
  146. package/desktop-2e2b2125.d.ts +0 -2
  147. package/esm/Component.desktop-2e2b2125.d.ts +0 -6
  148. package/esm/Component.mobile-755fbaa3.d.ts +0 -6
  149. package/esm/desktop-2e2b2125.d.ts +0 -2
  150. package/esm/mobile-755fbaa3.d.ts +0 -2
  151. package/esm/mobile-ade26e99.d.ts +0 -5
  152. package/mobile-755fbaa3.d.ts +0 -2
  153. package/mobile-ade26e99.d.ts +0 -5
  154. package/modern/Component.desktop-2e2b2125.d.ts +0 -6
  155. package/modern/Component.desktop-dd8ca091.d.ts +0 -18
  156. package/modern/Component.mobile-755fbaa3.d.ts +0 -6
  157. package/modern/Component.responsive-2e2b2125.d.ts +0 -5
  158. package/modern/mobile-755fbaa3.d.ts +0 -2
  159. package/modern/mobile-ade26e99.d.ts +0 -5
  160. package/modern/mobile-d7e9f69d.d.ts +0 -2
  161. /package/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
  162. /package/cssm/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
  163. /package/esm/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
  164. /package/modern/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
  165. /package/modern/{Component.mobile-96988a65.d.ts → Component.mobile-ebda875c.d.ts} +0 -0
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ReactNode } from "react";
4
4
  import { BottomSheetProps } from "./index-f12ee135";
5
- import { BaseSelectProps } from "./typings-dd8ca091";
5
+ import { BaseSelectProps } from "./typings-0f4b9bed";
6
6
  type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
7
7
  /**
8
8
  * Футер
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC } from "react";
4
- import { BaseButtonProps } from "./typings-9211a437";
4
+ import { CommonButtonProps, PrivateButtonProps } from "./typings-89f0cb07";
5
5
  type SpinnerProps = {
6
6
  /**
7
7
  * Управление видимостью компонента
@@ -34,5 +34,5 @@ declare const Spinner: FC<SpinnerProps>;
34
34
  * чтобы при быстрых ответах от сервера кнопка не «моргала».
35
35
  */
36
36
  declare const LOADER_MIN_DISPLAY_INTERVAL = 500;
37
- declare const BaseButton: React.ForwardRefExoticComponent<BaseButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
37
+ declare const BaseButton: React.ForwardRefExoticComponent<(CommonButtonProps & PrivateButtonProps) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
38
38
  export { SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { FieldProps } from "./shared-4cd3936b";
4
- import { InputAutocompleteDesktopProps } from "./Component.desktop-d078a845";
4
+ import { InputAutocompleteDesktopProps } from "./Component.desktop-9cded6b9";
5
5
  type AutocompleteFieldProps = FieldProps & Pick<InputAutocompleteDesktopProps, 'Input' | 'inputProps' | 'value' | 'onInput' | 'readOnly'>;
6
6
  declare const AutocompleteField: ({ label, labelView, placeholder, size, Arrow, Input, value, error, success, hint, disabled, readOnly, onInput, inputProps, innerProps, }: AutocompleteFieldProps) => React.JSX.Element;
7
7
  export { AutocompleteFieldProps, AutocompleteField };
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ElementType } from "react";
4
4
  import { FormControlProps } from "./index-c44170fe";
5
- import { FieldProps as BaseFieldProps } from "./typings-dd8ca091";
5
+ import { FieldProps as BaseFieldProps } from "./typings-0f4b9bed";
6
6
  type FieldProps = {
7
7
  /**
8
8
  * Компонент FormControl
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { CommonButtonProps } from "./typings-89f0cb07";
4
+ declare const ButtonDesktop: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
5
+ export { ButtonDesktop };
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { ChangeEvent, FC, RefAttributes } from "react";
4
4
  import { InputProps } from "@alfalab/core-components-input";
5
5
  import { BaseSelectProps } from "./shared-4cd3936b";
6
- type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSelect'> & {
6
+ type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSelect' | 'searchProps' | 'showSearch' | 'Search'> & {
7
7
  /**
8
8
  * Компонент ввода значения
9
9
  */
@@ -33,7 +33,7 @@ type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSele
33
33
  */
34
34
  updatePopover?: BaseSelectProps['updatePopover'];
35
35
  };
36
- declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "Field"> & {
36
+ declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "searchProps" | "showSearch" | "Field" | "Search"> & {
37
37
  /**
38
38
  * Компонент ввода значения
39
39
  */
@@ -69,5 +69,5 @@ declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<Bas
69
69
  */
70
70
  updatePopover?: BaseSelectProps['updatePopover'];
71
71
  } & React.RefAttributes<HTMLInputElement>>;
72
- export * from "./Component-d078a845";
72
+ export * from "./Component-9cded6b9";
73
73
  export { InputAutocompleteDesktopProps, InputAutocompleteDesktop };
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { CommonButtonProps } from "./typings-89f0cb07";
4
+ declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
5
+ export { ButtonMobile };
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { ChangeEvent, ElementType } from "react";
4
- import { ButtonMobileProps } from "./mobile-755fbaa3";
4
+ import { ButtonMobileProps } from "./mobile-89f0cb07";
5
5
  import { AdditionalMobileProps, BaseSelectChangePayload, BaseSelectProps } from "./shared-4cd3936b";
6
- type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer'> & {
6
+ type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer' | 'searchProps' | 'showSearch' | 'Search'> & {
7
7
  /**
8
8
  * Обработчик выбора
9
9
  */
@@ -49,7 +49,7 @@ type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Check
49
49
  */
50
50
  Input?: ElementType;
51
51
  };
52
- declare const InputAutocompleteMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "autocomplete" | "valueRenderer" | "nativeSelect" | "OptionsList" | "Checkmark"> & {
52
+ declare const InputAutocompleteMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "autocomplete" | "valueRenderer" | "nativeSelect" | "searchProps" | "showSearch" | "OptionsList" | "Search" | "Checkmark"> & {
53
53
  /**
54
54
  * Обработчик выбора
55
55
  */
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { ReactNode } from "react";
4
4
  import { BottomSheetProps } from "./index-f12ee135";
5
5
  import { UseSelectWithApplyProps } from "./hook-8abfea97";
6
- import { BaseSelectProps } from "./typings-dd8ca091";
6
+ import { BaseSelectProps } from "./typings-0f4b9bed";
7
7
  type AdditionalMobileProps = {
8
8
  /**
9
9
  * Футер
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ModalMobile } from "./Component.mobile-f1f15074";
4
4
  import { UseSelectWithApplyProps } from "./hook-8abfea97";
5
- import { BaseSelectProps } from "./typings-dd8ca091";
5
+ import { BaseSelectProps } from "./typings-0f4b9bed";
6
6
  type SelectModalMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
7
7
  /**
8
8
  * Показывать кнопку очистки
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { ChangeEvent, ElementType } from "react";
4
- import { ButtonMobileProps } from "./mobile-755fbaa3";
5
- import { SelectModalMobileProps } from "./mobile-ade26e99";
4
+ import { ButtonMobileProps } from "./mobile-89f0cb07";
5
+ import { SelectModalMobileProps } from "./mobile-f28cbba0";
6
6
  import { BaseSelectChangePayload } from "./shared-4cd3936b";
7
7
  type InputAutocompleteModalMobileProps = Omit<SelectModalMobileProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer'> & {
8
8
  /**
@@ -7,7 +7,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
7
7
  clearableCountryCode?: boolean | undefined;
8
8
  countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
9
9
  clear?: boolean | undefined;
10
- filterFn?: ((value: string | undefined, option: import("./typings-dd8ca091").OptionShape) => boolean) | undefined;
10
+ filterFn?: ((value: string | undefined, option: import("./typings-0f4b9bed").OptionShape) => boolean) | undefined;
11
11
  onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
12
12
  onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
13
13
  value: string;
@@ -28,7 +28,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
28
28
  clearableCountryCode?: boolean | undefined;
29
29
  countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
30
30
  clear?: boolean | undefined;
31
- filterFn?: ((value: string | undefined, option: import("./typings-dd8ca091").OptionShape) => boolean) | undefined;
31
+ filterFn?: ((value: string | undefined, option: import("./typings-0f4b9bed").OptionShape) => boolean) | undefined;
32
32
  onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
33
33
  onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
34
34
  value: string;
@@ -36,9 +36,9 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
36
36
  onBlur?: ((event: React.FocusEvent<HTMLInputElement | HTMLDivElement, Element>) => void) | undefined;
37
37
  onFocus?: ((event: React.FocusEvent<HTMLInputElement | HTMLDivElement, Element>) => void) | undefined;
38
38
  } & {
39
- options: (import("./typings-dd8ca091").OptionShape | import("./typings-dd8ca091").GroupShape)[];
40
- } & Omit<import("./Component.desktop-d078a845").InputAutocompleteDesktopProps, "onChange"> & {
41
- options: (import("./typings-dd8ca091").OptionShape | import("./typings-dd8ca091").GroupShape)[];
39
+ options: (import("./typings-0f4b9bed").OptionShape | import("./typings-0f4b9bed").GroupShape)[];
40
+ } & Omit<import("./Component.desktop-9cded6b9").InputAutocompleteDesktopProps, "onChange"> & {
41
+ options: (import("./typings-0f4b9bed").OptionShape | import("./typings-0f4b9bed").GroupShape)[];
42
42
  } & Omit<import("./Component.mobile-4cd3936b").InputAutocompleteMobileProps, "onChange" | "filter" | "onFilter" | "onClearFilter"> & {
43
43
  breakpoint?: number | undefined;
44
44
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
@@ -9,7 +9,7 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
9
9
  clearableCountryCode?: boolean | undefined;
10
10
  countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
11
11
  clear?: boolean | undefined;
12
- filterFn?: ((value: string | undefined, option: import("../../typings-dd8ca091").OptionShape) => boolean) | undefined;
12
+ filterFn?: ((value: string | undefined, option: import("../../typings-0f4b9bed").OptionShape) => boolean) | undefined;
13
13
  onCountryChange?: ((country?: Country | undefined) => void) | undefined;
14
14
  onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
15
15
  value: string;
@@ -25,7 +25,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
25
25
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
26
26
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
27
27
 
28
- var styles = {"component":"international-phone-input__component_1uwc2","addons":"international-phone-input__addons_1uwc2"};
28
+ var styles = {"component":"international-phone-input__component_1n025","addons":"international-phone-input__addons_1n025"};
29
29
  require('./index.css')
30
30
 
31
31
  var BaseInternationalPhoneInput = React.forwardRef(function (_a, ref) {
@@ -1,5 +1,5 @@
1
- /* hash: 13815 */
1
+ /* hash: 1nb04 */
2
2
 
3
- .international-phone-input__component_1uwc2 .international-phone-input__addons_1uwc2 {
3
+ .international-phone-input__component_1n025 .international-phone-input__addons_1n025 {
4
4
  padding-left: 0;
5
5
  }
@@ -18,7 +18,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
18
18
 
19
19
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
20
20
 
21
- var styles = {"component":"international-phone-input__component_xf953","option":"international-phone-input__option_xf953","flag":"international-phone-input__flag_xf953","countryName":"international-phone-input__countryName_xf953","dialCode":"international-phone-input__dialCode_xf953","flagIconWrapper":"international-phone-input__flagIconWrapper_xf953","emptyCountryIcon":"international-phone-input__emptyCountryIcon_xf953"};
21
+ var styles = {"component":"international-phone-input__component_1r31o","option":"international-phone-input__option_1r31o","flag":"international-phone-input__flag_1r31o","countryName":"international-phone-input__countryName_1r31o","dialCode":"international-phone-input__dialCode_1r31o","flagIconWrapper":"international-phone-input__flagIconWrapper_1r31o","emptyCountryIcon":"international-phone-input__emptyCountryIcon_1r31o"};
22
22
  require('./index.css')
23
23
 
24
24
  var CountrySelect = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1ffpc */
1
+ /* hash: 52546 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-secondary: #86868a;
@@ -19,29 +19,29 @@
19
19
  } :root {
20
20
  } :root {
21
21
  --text-secondary-color: var(--color-light-text-secondary);
22
- } .international-phone-input__component_xf953 {
22
+ } .international-phone-input__component_1r31o {
23
23
  position: static;
24
24
  display: flex;
25
25
  min-width: initial;
26
26
  height: 100%;
27
- } .international-phone-input__option_xf953 {
27
+ } .international-phone-input__option_1r31o {
28
28
  display: flex;
29
29
  align-items: flex-start;
30
30
  padding: var(--gap-s);
31
- } .international-phone-input__flag_xf953 {
31
+ } .international-phone-input__flag_1r31o {
32
32
  flex-shrink: 0;
33
33
  margin-right: var(--gap-xs);
34
- } .international-phone-input__countryName_xf953 {
34
+ } .international-phone-input__countryName_1r31o {
35
35
  margin-right: var(--gap-xs);
36
- } .international-phone-input__dialCode_xf953 {
36
+ } .international-phone-input__dialCode_1r31o {
37
37
  color: var(--text-secondary-color);
38
- } .international-phone-input__flagIconWrapper_xf953 {
38
+ } .international-phone-input__flagIconWrapper_1r31o {
39
39
  display: flex;
40
40
  justify-content: center;
41
41
  align-items: center;
42
42
  width: 24px;
43
43
  height: 24px;
44
44
  margin-left: var(--gap-s);
45
- } .international-phone-input__emptyCountryIcon_xf953 {
45
+ } .international-phone-input__emptyCountryIcon_1r31o {
46
46
  color: var(--color-light-graphic-secondary);
47
47
  }
@@ -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_yqc8s","flagPlaceholder":"international-phone-input__flagPlaceholder_yqc8s"};
14
+ var styles = {"flagIcon":"international-phone-input__flagIcon_52jpv","flagPlaceholder":"international-phone-input__flagPlaceholder_52jpv"};
15
15
  require('./index.css')
16
16
 
17
17
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 1m6cl */
1
+ /* hash: xisrv */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -17,10 +17,10 @@
17
17
  --gap-3xs: 2px;
18
18
  } :root {
19
19
  } :root {
20
- } .international-phone-input__flagIcon_yqc8s {
20
+ } .international-phone-input__flagIcon_52jpv {
21
21
  max-width: 24px;
22
22
  max-height: 24px;
23
- } .international-phone-input__flagPlaceholder_yqc8s {
23
+ } .international-phone-input__flagPlaceholder_52jpv {
24
24
  width: 24px;
25
25
  height: 16px;
26
26
  max-height: 16px;
@@ -17,7 +17,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
17
17
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
18
18
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
19
19
 
20
- var styles = {"component":"international-phone-input__component_179pq","flagIconContainer":"international-phone-input__flagIconContainer_179pq","emptyCountryIcon":"international-phone-input__emptyCountryIcon_179pq","disabled":"international-phone-input__disabled_179pq","inner":"international-phone-input__inner_179pq","l":"international-phone-input__l_179pq","xl":"international-phone-input__xl_179pq","focusVisible":"international-phone-input__focusVisible_179pq"};
20
+ var styles = {"component":"international-phone-input__component_1f5zn","flagIconContainer":"international-phone-input__flagIconContainer_1f5zn","emptyCountryIcon":"international-phone-input__emptyCountryIcon_1f5zn","disabled":"international-phone-input__disabled_1f5zn","inner":"international-phone-input__inner_1f5zn","l":"international-phone-input__l_1f5zn","xl":"international-phone-input__xl_1f5zn","focusVisible":"international-phone-input__focusVisible_1f5zn"};
21
21
  require('./index.css')
22
22
 
23
23
  var EMPTY_COUNTRY_SELECT_FIELD = {
@@ -1,4 +1,4 @@
1
- /* hash: 15dc1 */
1
+ /* hash: lad2z */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #0072ef;
@@ -21,33 +21,33 @@
21
21
  } :root {
22
22
  --focus-color: var(--color-light-border-link);
23
23
  --disabled-cursor: not-allowed;
24
- } .international-phone-input__component_179pq {
24
+ } .international-phone-input__component_1f5zn {
25
25
  height: 100%;
26
26
  cursor: pointer;
27
27
  outline: none;
28
28
  position: relative;
29
- } .international-phone-input__flagIconContainer_179pq {
29
+ } .international-phone-input__flagIconContainer_1f5zn {
30
30
  display: flex;
31
31
  justify-content: center;
32
32
  align-items: center;
33
33
  width: 24px;
34
34
  height: 24px;
35
35
  margin-right: var(--gap-2xs);
36
- } .international-phone-input__emptyCountryIcon_179pq {
36
+ } .international-phone-input__emptyCountryIcon_1f5zn {
37
37
  color: var(--color-light-graphic-secondary);
38
- } .international-phone-input__disabled_179pq {
38
+ } .international-phone-input__disabled_1f5zn {
39
39
  cursor: var(--disabled-cursor);
40
- } .international-phone-input__inner_179pq {
40
+ } .international-phone-input__inner_1f5zn {
41
41
  position: relative;
42
42
  display: flex;
43
43
  align-items: center;
44
44
  height: 100%;
45
45
  padding-left: var(--gap-s);
46
46
  outline: none;
47
- } .international-phone-input__l_179pq .international-phone-input__inner_179pq,
48
- .international-phone-input__xl_179pq .international-phone-input__inner_179pq {
47
+ } .international-phone-input__l_1f5zn .international-phone-input__inner_1f5zn,
48
+ .international-phone-input__xl_1f5zn .international-phone-input__inner_1f5zn {
49
49
  padding-left: var(--gap-m);
50
- } .international-phone-input__focusVisible_179pq {
50
+ } .international-phone-input__focusVisible_1f5zn {
51
51
  outline: 2px solid var(--focus-color);
52
52
  outline-offset: 2px;
53
53
  }
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ReactNode } from "react";
4
4
  import { BottomSheetProps } from "./index-f12ee135";
5
- import { BaseSelectProps } from "./typings-dd8ca091";
5
+ import { BaseSelectProps } from "./typings-0f4b9bed";
6
6
  type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
7
7
  /**
8
8
  * Футер
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC } from "react";
4
- import { BaseButtonProps } from "./typings-9211a437";
4
+ import { CommonButtonProps, PrivateButtonProps } from "./typings-89f0cb07";
5
5
  type SpinnerProps = {
6
6
  /**
7
7
  * Управление видимостью компонента
@@ -34,5 +34,5 @@ declare const Spinner: FC<SpinnerProps>;
34
34
  * чтобы при быстрых ответах от сервера кнопка не «моргала».
35
35
  */
36
36
  declare const LOADER_MIN_DISPLAY_INTERVAL = 500;
37
- declare const BaseButton: React.ForwardRefExoticComponent<BaseButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
37
+ declare const BaseButton: React.ForwardRefExoticComponent<(CommonButtonProps & PrivateButtonProps) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
38
38
  export { SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { FieldProps } from "./shared-4cd3936b";
4
- import { InputAutocompleteDesktopProps } from "./Component.desktop-d078a845";
4
+ import { InputAutocompleteDesktopProps } from "./Component.desktop-9cded6b9";
5
5
  type AutocompleteFieldProps = FieldProps & Pick<InputAutocompleteDesktopProps, 'Input' | 'inputProps' | 'value' | 'onInput' | 'readOnly'>;
6
6
  declare const AutocompleteField: ({ label, labelView, placeholder, size, Arrow, Input, value, error, success, hint, disabled, readOnly, onInput, inputProps, innerProps, }: AutocompleteFieldProps) => React.JSX.Element;
7
7
  export { AutocompleteFieldProps, AutocompleteField };
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ElementType } from "react";
4
4
  import { FormControlProps } from "./index-c44170fe";
5
- import { FieldProps as BaseFieldProps } from "./typings-dd8ca091";
5
+ import { FieldProps as BaseFieldProps } from "./typings-0f4b9bed";
6
6
  type FieldProps = {
7
7
  /**
8
8
  * Компонент FormControl
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { CommonButtonProps } from "./typings-89f0cb07";
4
+ declare const ButtonDesktop: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
5
+ export { ButtonDesktop };
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { ChangeEvent, FC, RefAttributes } from "react";
4
4
  import { InputProps } from "@alfalab/core-components-input";
5
5
  import { BaseSelectProps } from "./shared-4cd3936b";
6
- type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSelect'> & {
6
+ type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSelect' | 'searchProps' | 'showSearch' | 'Search'> & {
7
7
  /**
8
8
  * Компонент ввода значения
9
9
  */
@@ -33,7 +33,7 @@ type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSele
33
33
  */
34
34
  updatePopover?: BaseSelectProps['updatePopover'];
35
35
  };
36
- declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "Field"> & {
36
+ declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "searchProps" | "showSearch" | "Field" | "Search"> & {
37
37
  /**
38
38
  * Компонент ввода значения
39
39
  */
@@ -69,5 +69,5 @@ declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<Bas
69
69
  */
70
70
  updatePopover?: BaseSelectProps['updatePopover'];
71
71
  } & React.RefAttributes<HTMLInputElement>>;
72
- export * from "./Component-d078a845";
72
+ export * from "./Component-9cded6b9";
73
73
  export { InputAutocompleteDesktopProps, InputAutocompleteDesktop };
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { CommonButtonProps } from "./typings-89f0cb07";
4
+ declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
5
+ export { ButtonMobile };
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { ChangeEvent, ElementType } from "react";
4
- import { ButtonMobileProps } from "./mobile-755fbaa3";
4
+ import { ButtonMobileProps } from "./mobile-89f0cb07";
5
5
  import { AdditionalMobileProps, BaseSelectChangePayload, BaseSelectProps } from "./shared-4cd3936b";
6
- type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer'> & {
6
+ type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer' | 'searchProps' | 'showSearch' | 'Search'> & {
7
7
  /**
8
8
  * Обработчик выбора
9
9
  */
@@ -49,7 +49,7 @@ type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Check
49
49
  */
50
50
  Input?: ElementType;
51
51
  };
52
- declare const InputAutocompleteMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "autocomplete" | "valueRenderer" | "nativeSelect" | "OptionsList" | "Checkmark"> & {
52
+ declare const InputAutocompleteMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "autocomplete" | "valueRenderer" | "nativeSelect" | "searchProps" | "showSearch" | "OptionsList" | "Search" | "Checkmark"> & {
53
53
  /**
54
54
  * Обработчик выбора
55
55
  */
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { ReactNode } from "react";
4
4
  import { BottomSheetProps } from "./index-f12ee135";
5
5
  import { UseSelectWithApplyProps } from "./hook-8abfea97";
6
- import { BaseSelectProps } from "./typings-dd8ca091";
6
+ import { BaseSelectProps } from "./typings-0f4b9bed";
7
7
  type AdditionalMobileProps = {
8
8
  /**
9
9
  * Футер
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ModalMobile } from "./Component.mobile-f1f15074";
4
4
  import { UseSelectWithApplyProps } from "./hook-8abfea97";
5
- import { BaseSelectProps } from "./typings-dd8ca091";
5
+ import { BaseSelectProps } from "./typings-0f4b9bed";
6
6
  type SelectModalMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
7
7
  /**
8
8
  * Показывать кнопку очистки
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { ChangeEvent, ElementType } from "react";
4
- import { ButtonMobileProps } from "./mobile-755fbaa3";
5
- import { SelectModalMobileProps } from "./mobile-ade26e99";
4
+ import { ButtonMobileProps } from "./mobile-89f0cb07";
5
+ import { SelectModalMobileProps } from "./mobile-f28cbba0";
6
6
  import { BaseSelectChangePayload } from "./shared-4cd3936b";
7
7
  type InputAutocompleteModalMobileProps = Omit<SelectModalMobileProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer'> & {
8
8
  /**
@@ -7,7 +7,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
7
7
  clearableCountryCode?: boolean | undefined;
8
8
  countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
9
9
  clear?: boolean | undefined;
10
- filterFn?: ((value: string | undefined, option: import("./typings-dd8ca091").OptionShape) => boolean) | undefined;
10
+ filterFn?: ((value: string | undefined, option: import("./typings-0f4b9bed").OptionShape) => boolean) | undefined;
11
11
  onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
12
12
  onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
13
13
  value: string;
@@ -28,7 +28,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
28
28
  clearableCountryCode?: boolean | undefined;
29
29
  countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
30
30
  clear?: boolean | undefined;
31
- filterFn?: ((value: string | undefined, option: import("./typings-dd8ca091").OptionShape) => boolean) | undefined;
31
+ filterFn?: ((value: string | undefined, option: import("./typings-0f4b9bed").OptionShape) => boolean) | undefined;
32
32
  onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
33
33
  onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
34
34
  value: string;
@@ -36,9 +36,9 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
36
36
  onBlur?: ((event: React.FocusEvent<HTMLInputElement | HTMLDivElement, Element>) => void) | undefined;
37
37
  onFocus?: ((event: React.FocusEvent<HTMLInputElement | HTMLDivElement, Element>) => void) | undefined;
38
38
  } & {
39
- options: (import("./typings-dd8ca091").OptionShape | import("./typings-dd8ca091").GroupShape)[];
40
- } & Omit<import("./Component.desktop-d078a845").InputAutocompleteDesktopProps, "onChange"> & {
41
- options: (import("./typings-dd8ca091").OptionShape | import("./typings-dd8ca091").GroupShape)[];
39
+ options: (import("./typings-0f4b9bed").OptionShape | import("./typings-0f4b9bed").GroupShape)[];
40
+ } & Omit<import("./Component.desktop-9cded6b9").InputAutocompleteDesktopProps, "onChange"> & {
41
+ options: (import("./typings-0f4b9bed").OptionShape | import("./typings-0f4b9bed").GroupShape)[];
42
42
  } & Omit<import("./Component.mobile-4cd3936b").InputAutocompleteMobileProps, "onChange" | "filter" | "onFilter" | "onClearFilter"> & {
43
43
  breakpoint?: number | undefined;
44
44
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
@@ -9,7 +9,7 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
9
9
  clearableCountryCode?: boolean | undefined;
10
10
  countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
11
11
  clear?: boolean | undefined;
12
- filterFn?: ((value: string | undefined, option: import("../../typings-dd8ca091").OptionShape) => boolean) | undefined;
12
+ filterFn?: ((value: string | undefined, option: import("../../typings-0f4b9bed").OptionShape) => boolean) | undefined;
13
13
  onCountryChange?: ((country?: Country | undefined) => void) | undefined;
14
14
  onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
15
15
  value: string;