@alfalab/core-components-intl-phone-input 9.5.11 → 9.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Component-0f4b9bed.d.ts +5 -0
- package/Component-10db897e.d.ts +6 -0
- package/Component-4cd3936b.d.ts +2 -2
- package/Component-72dda473.d.ts +53 -0
- package/Component-8b2c2707.d.ts +3 -3
- package/Component.desktop-0aa4e915.d.ts +5 -0
- package/{cssm/Component.desktop-d078a845.d.ts → Component.desktop-4cd3936b.d.ts} +4 -4
- package/Component.desktop-63dec22f.d.ts +4 -16
- package/Component.mobile-16b1285a.d.ts +5 -0
- package/Component.responsive-3109f463.d.ts +3 -24
- package/Component.responsive-785df74d.d.ts +26 -0
- package/{component-72308007.d.ts → component-10db897e.d.ts} +1 -1
- package/component.d.ts +1 -1
- package/component.js +1 -1
- package/components/flag-icon/component.js +1 -1
- package/components/flag-icon/index.css +3 -3
- package/components/select/component.d.ts +9 -1
- package/components/select/component.js +1 -1
- package/components/select/index.css +6 -6
- package/components/select-field/component.js +1 -1
- package/components/select-field/index.css +9 -9
- package/{esm/Component-dd8ca091.d.ts → cssm/Component-0f4b9bed.d.ts} +1 -1
- package/{modern/Component-72308007.d.ts → cssm/Component-10db897e.d.ts} +1 -1
- package/cssm/Component-4cd3936b.d.ts +1 -1
- package/cssm/Component-8b2c2707.d.ts +2 -2
- package/cssm/Component-c44170fe.d.ts +11 -5
- package/cssm/Component.desktop-0aa4e915.d.ts +5 -0
- package/cssm/Component.desktop-63dec22f.d.ts +1 -1
- package/cssm/Component.desktop-785df74d.d.ts +1 -1
- package/{modern/Component.desktop-d078a845.d.ts → cssm/Component.desktop-9cded6b9.d.ts} +4 -4
- package/cssm/Component.mobile-16b1285a.d.ts +5 -0
- package/cssm/Component.mobile-d7e9f69d.d.ts +1 -1
- package/cssm/Component.responsive-3109f463.d.ts +1 -1
- package/{esm/component-72308007.d.ts → cssm/component-10db897e.d.ts} +1 -1
- package/cssm/component.d.ts +1 -1
- package/cssm/desktop-89f0cb07.d.ts +2 -0
- package/cssm/hook-8abfea97.d.ts +8 -8
- package/cssm/hook-c44170fe.d.ts +1 -1
- package/cssm/{index-72308007.d.ts → index-10db897e.d.ts} +1 -5
- package/cssm/index-8b2c2707.d.ts +1 -1
- package/cssm/index-c44170fe.d.ts +2 -160
- package/cssm/index-c76d6398.d.ts +2 -2
- package/cssm/index-f12ee135.d.ts +2 -2
- package/cssm/mobile-89f0cb07.d.ts +2 -0
- package/cssm/shared-4cd3936b.d.ts +5 -5
- package/cssm/{types-83e2bd9e.d.ts → types-1c79e231.d.ts} +1 -1
- package/{esm/types-e40becc7.d.ts → cssm/types-67a2d8af.d.ts} +1 -1
- package/{modern/typings-dd8ca091.d.ts → cssm/typings-0f4b9bed.d.ts} +4 -0
- package/{modern/typings-9211a437.d.ts → cssm/typings-89f0cb07.d.ts} +5 -7
- package/cssm/{utils-dd8ca091.d.ts → utils-0f4b9bed.d.ts} +1 -1
- package/desktop-69921c40.d.ts +2 -0
- package/{Component-72308007.d.ts → esm/Component-0f4b9bed.d.ts} +1 -1
- package/esm/Component-10db897e.d.ts +6 -0
- package/esm/Component-4cd3936b.d.ts +1 -1
- package/esm/Component-8b2c2707.d.ts +2 -2
- package/esm/Component.desktop-0aa4e915.d.ts +5 -0
- package/esm/{Component.desktop-63dec22f.d.ts → Component.desktop-0f4b9bed.d.ts} +2 -2
- package/esm/{Component.desktop-d078a845.d.ts → Component.desktop-4cd3936b.d.ts} +4 -4
- package/esm/Component.desktop-785df74d.d.ts +1 -1
- package/esm/Component.mobile-16b1285a.d.ts +5 -0
- package/esm/Component.mobile-d7e9f69d.d.ts +1 -1
- package/esm/Component.responsive-3109f463.d.ts +1 -1
- package/{cssm/component-72308007.d.ts → esm/component-10db897e.d.ts} +1 -1
- package/esm/component.d.ts +1 -1
- package/esm/component.js +1 -1
- package/esm/components/flag-icon/component.js +1 -1
- package/esm/components/flag-icon/index.css +3 -3
- package/esm/components/select/component.d.ts +1 -1
- package/esm/components/select/component.js +1 -1
- package/esm/components/select/index.css +6 -6
- package/esm/components/select-field/component.js +1 -1
- package/esm/components/select-field/index.css +9 -9
- package/esm/desktop-69921c40.d.ts +2 -0
- package/esm/hook-8abfea97.d.ts +8 -8
- package/esm/{index-72308007.d.ts → index-10db897e.d.ts} +1 -5
- package/esm/index-8b2c2707.d.ts +1 -1
- package/esm/index-c44170fe.d.ts +2 -160
- package/esm/index-c76d6398.d.ts +2 -2
- package/esm/index-f12ee135.d.ts +2 -2
- package/esm/index.css +5 -5
- package/esm/mobile-89f0cb07.d.ts +2 -0
- package/esm/shared-4cd3936b.d.ts +60 -17
- package/esm/{types-83e2bd9e.d.ts → types-1c79e231.d.ts} +1 -1
- package/{modern/types-e40becc7.d.ts → esm/types-67a2d8af.d.ts} +1 -1
- package/{cssm/typings-dd8ca091.d.ts → esm/typings-0f4b9bed.d.ts} +4 -0
- package/esm/{typings-9211a437.d.ts → typings-89f0cb07.d.ts} +5 -7
- package/esm/{utils-dd8ca091.d.ts → utils-0f4b9bed.d.ts} +1 -1
- package/{hook-8abfea97.d.ts → hook-0f4b9bed.d.ts} +8 -8
- package/{hook-c44170fe.d.ts → hook-ebda875c.d.ts} +1 -1
- package/{modern/index-72308007.d.ts → index-10db897e.d.ts} +2 -6
- package/index-8b2c2707.d.ts +1 -1
- package/index-c44170fe.d.ts +2 -160
- package/index-c76d6398.d.ts +2 -2
- package/index-f12ee135.d.ts +2 -2
- package/index.css +5 -5
- package/mobile-89f0cb07.d.ts +2 -0
- package/{cssm/Component-dd8ca091.d.ts → modern/Component-0f4b9bed.d.ts} +1 -1
- package/{cssm/Component-72308007.d.ts → modern/Component-10db897e.d.ts} +1 -1
- package/modern/Component-4cd3936b.d.ts +1 -1
- package/modern/Component-8b2c2707.d.ts +2 -2
- package/modern/Component-c44170fe.d.ts +11 -5
- package/modern/Component.desktop-0aa4e915.d.ts +5 -0
- package/modern/Component.desktop-63dec22f.d.ts +1 -1
- package/modern/Component.desktop-785df74d.d.ts +1 -1
- package/{Component.desktop-d078a845.d.ts → modern/Component.desktop-9cded6b9.d.ts} +4 -4
- package/modern/Component.mobile-16b1285a.d.ts +5 -0
- package/modern/Component.mobile-d7e9f69d.d.ts +1 -1
- package/modern/Component.responsive-3109f463.d.ts +1 -1
- package/modern/{component-72308007.d.ts → component-10db897e.d.ts} +1 -1
- package/modern/component.d.ts +1 -1
- package/modern/component.js +1 -1
- package/modern/components/flag-icon/component.js +1 -1
- package/modern/components/flag-icon/index.css +3 -3
- package/modern/components/select/component.js +1 -1
- package/modern/components/select/index.css +6 -6
- package/modern/components/select-field/component.js +1 -1
- package/modern/components/select-field/index.css +9 -9
- package/modern/desktop-89f0cb07.d.ts +2 -0
- package/modern/hook-8abfea97.d.ts +8 -8
- package/modern/hook-c44170fe.d.ts +1 -1
- package/{index-72308007.d.ts → modern/index-10db897e.d.ts} +1 -5
- package/modern/index-8b2c2707.d.ts +1 -1
- package/modern/index-c44170fe.d.ts +2 -160
- package/modern/index-c76d6398.d.ts +2 -2
- package/modern/index-f12ee135.d.ts +2 -2
- package/modern/index.css +5 -5
- package/modern/mobile-89f0cb07.d.ts +2 -0
- package/modern/shared-4cd3936b.d.ts +5 -5
- package/modern/{types-83e2bd9e.d.ts → types-1c79e231.d.ts} +1 -1
- package/{cssm/types-e40becc7.d.ts → modern/types-67a2d8af.d.ts} +1 -1
- package/{typings-dd8ca091.d.ts → modern/typings-0f4b9bed.d.ts} +4 -0
- package/{typings-9211a437.d.ts → modern/typings-89f0cb07.d.ts} +5 -7
- package/modern/{utils-dd8ca091.d.ts → utils-0f4b9bed.d.ts} +1 -1
- package/package.json +3 -3
- package/shared-4cd3936b.d.ts +9 -19
- package/{types-83e2bd9e.d.ts → types-1c79e231.d.ts} +1 -1
- package/{types-e40becc7.d.ts → types-67a2d8af.d.ts} +1 -1
- package/{esm/typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
- package/{cssm/typings-9211a437.d.ts → typings-89f0cb07.d.ts} +5 -7
- package/{utils-dd8ca091.d.ts → utils-0f4b9bed.d.ts} +1 -1
- package/Component-c44170fe.d.ts +0 -7
- package/Component-dd8ca091.d.ts +0 -22
- package/Component.desktop-2e2b2125.d.ts +0 -6
- package/Component.desktop-d873d97d.d.ts +0 -6
- package/Component.mobile-755fbaa3.d.ts +0 -6
- package/cssm/Component.desktop-2e2b2125.d.ts +0 -6
- package/cssm/Component.mobile-755fbaa3.d.ts +0 -6
- package/cssm/desktop-2e2b2125.d.ts +0 -2
- package/cssm/mobile-755fbaa3.d.ts +0 -2
- package/desktop-2e2b2125.d.ts +0 -2
- package/esm/Component-72308007.d.ts +0 -100
- package/esm/Component-c44170fe.d.ts +0 -7
- package/esm/Component.desktop-2e2b2125.d.ts +0 -6
- package/esm/Component.mobile-755fbaa3.d.ts +0 -6
- package/esm/desktop-2e2b2125.d.ts +0 -2
- package/esm/hook-c44170fe.d.ts +0 -48
- package/esm/mobile-755fbaa3.d.ts +0 -2
- package/mobile-755fbaa3.d.ts +0 -2
- package/modern/Component-dd8ca091.d.ts +0 -22
- package/modern/Component.desktop-2e2b2125.d.ts +0 -6
- package/modern/Component.mobile-755fbaa3.d.ts +0 -6
- package/modern/desktop-2e2b2125.d.ts +0 -2
- package/modern/mobile-755fbaa3.d.ts +0 -2
- /package/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
- /package/cssm/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
- /package/esm/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
- /package/esm/{desktop-63dec22f.d.ts → desktop-785df74d.d.ts} +0 -0
- /package/esm/{mobile-96988a65.d.ts → mobile-d7e9f69d.d.ts} +0 -0
- /package/{mobile-96988a65.d.ts → mobile-d7e9f69d.d.ts} +0 -0
- /package/modern/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
package/cssm/hook-8abfea97.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BaseSelectProps, OptionShape } from "./typings-
|
|
2
|
+
import { BaseSelectProps, OptionShape } from "./typings-0f4b9bed";
|
|
3
3
|
type UseSelectWithApplyProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Список выбранных пунктов
|
|
@@ -44,20 +44,20 @@ type UseSelectWithApplyProps = {
|
|
|
44
44
|
};
|
|
45
45
|
declare const SELECT_ALL_KEY = "select_all";
|
|
46
46
|
declare function useSelectWithApply({ options, selected, onChange, OptionsList, optionsListProps, showClear, showSelectAll, showHeaderWithSelectAll, showSearch, searchProps, }: UseSelectWithApplyProps): {
|
|
47
|
-
OptionsList: import("react").ForwardRefExoticComponent<import("./typings-
|
|
47
|
+
OptionsList: import("react").ForwardRefExoticComponent<import("./typings-0f4b9bed").OptionsListProps & {
|
|
48
48
|
showClear?: boolean | undefined;
|
|
49
49
|
onClose?: (() => void) | undefined; /**
|
|
50
50
|
* Компонент выпадающего меню
|
|
51
51
|
*/
|
|
52
52
|
selectedDraft?: OptionShape[] | undefined;
|
|
53
|
-
OptionsList?: import("react").FC<import("./typings-
|
|
54
|
-
Footer?: import("react").FC<import("./Component-
|
|
53
|
+
OptionsList?: import("react").FC<import("./typings-0f4b9bed").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
54
|
+
Footer?: import("react").FC<import("./Component-0f4b9bed").FooterProps> | undefined;
|
|
55
55
|
Header?: import("react").FC<import("./Component-ebda875c").HeaderProps> | undefined;
|
|
56
56
|
headerProps?: import("./Component-ebda875c").HeaderProps | undefined;
|
|
57
57
|
showHeaderWithSelectAll?: boolean | undefined;
|
|
58
58
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
59
59
|
optionsListProps: {
|
|
60
|
-
OptionsList: import("react").FC<import("./typings-
|
|
60
|
+
OptionsList: import("react").FC<import("./typings-0f4b9bed").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
61
61
|
showClear: boolean;
|
|
62
62
|
onClear: () => void;
|
|
63
63
|
onApply: () => void;
|
|
@@ -72,11 +72,11 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
|
|
|
72
72
|
};
|
|
73
73
|
allowUnselect: boolean;
|
|
74
74
|
multiple: boolean;
|
|
75
|
-
options: (OptionShape | import("./typings-
|
|
75
|
+
options: (OptionShape | import("./typings-0f4b9bed").GroupShape | {
|
|
76
76
|
key: string;
|
|
77
77
|
content: string;
|
|
78
78
|
})[];
|
|
79
|
-
onChange: (payload: import("./typings-
|
|
79
|
+
onChange: (payload: import("./typings-0f4b9bed").BaseSelectChangePayload) => void;
|
|
80
80
|
selected: string | OptionShape | (string | OptionShape)[] | null | undefined;
|
|
81
81
|
showSearch: boolean | undefined;
|
|
82
82
|
searchProps: {
|
|
@@ -86,5 +86,5 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
|
|
|
86
86
|
accessor?: ((option: OptionShape) => string) | undefined;
|
|
87
87
|
} | undefined;
|
|
88
88
|
};
|
|
89
|
-
export * from "./Component-
|
|
89
|
+
export * from "./Component-0f4b9bed";
|
|
90
90
|
export { UseSelectWithApplyProps, SELECT_ALL_KEY, useSelectWithApply };
|
package/cssm/hook-c44170fe.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { OptionProps, OptionShape } from "./typings-
|
|
3
|
+
import { OptionProps, OptionShape } from "./typings-0f4b9bed";
|
|
4
4
|
type OptionsFetcherResponse = {
|
|
5
5
|
options: OptionShape[];
|
|
6
6
|
hasMore: boolean;
|
|
@@ -10,10 +10,6 @@ declare function easeInOutQuad(x: number): number;
|
|
|
10
10
|
declare const easingFns: {
|
|
11
11
|
easeInOutQuad: typeof easeInOutQuad;
|
|
12
12
|
};
|
|
13
|
-
declare function disableUserInput<T>(disabled: boolean | undefined, event: React.KeyboardEvent<T>): void;
|
|
14
|
-
declare const inputUtils: {
|
|
15
|
-
disableUserInput: typeof disableUserInput;
|
|
16
|
-
};
|
|
17
13
|
/**
|
|
18
14
|
* Возвращает true, если значение равно null или undefined
|
|
19
15
|
*/
|
|
@@ -51,4 +47,4 @@ declare const maskUtils: {
|
|
|
51
47
|
prefixPostprocessor: typeof prefixPostprocessor;
|
|
52
48
|
caretGuard: typeof caretGuard;
|
|
53
49
|
};
|
|
54
|
-
export { createPaddingStyle, isClient, getDataTestId, easingFns,
|
|
50
|
+
export { createPaddingStyle, isClient, getDataTestId, easingFns, fnUtils, maskUtils };
|
package/cssm/index-8b2c2707.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Button } from "./Component.responsive-3109f463";
|
|
2
|
-
export type { ButtonProps } from "./typings-
|
|
2
|
+
export type { ButtonProps } from "./typings-89f0cb07";
|
package/cssm/index-c44170fe.d.ts
CHANGED
|
@@ -1,161 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
type StyleColors = {
|
|
5
|
-
default: {
|
|
6
|
-
[key: string]: string;
|
|
7
|
-
};
|
|
8
|
-
inverted: {
|
|
9
|
-
[key: string]: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "value" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "enterKeyHint"> & {
|
|
13
|
-
/**
|
|
14
|
-
* Значение поля ввода
|
|
15
|
-
*/
|
|
16
|
-
value?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Начальное значение поля
|
|
19
|
-
*/
|
|
20
|
-
defaultValue?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Растягивает компонент на ширину контейнера
|
|
23
|
-
*/
|
|
24
|
-
block?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Крестик для очистки поля
|
|
27
|
-
*/
|
|
28
|
-
clear?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Размер компонента
|
|
31
|
-
*/
|
|
32
|
-
size?: "s" | "m" | "l" | "xl";
|
|
33
|
-
/**
|
|
34
|
-
* Набор цветов для компонента
|
|
35
|
-
*/
|
|
36
|
-
colors?: "default" | "inverted";
|
|
37
|
-
/**
|
|
38
|
-
* Отображение ошибки
|
|
39
|
-
*/
|
|
40
|
-
error?: ReactNode | boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Отображение иконки успеха
|
|
43
|
-
*/
|
|
44
|
-
success?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Текст подсказки
|
|
47
|
-
*/
|
|
48
|
-
hint?: ReactNode;
|
|
49
|
-
/**
|
|
50
|
-
* Лейбл компонента
|
|
51
|
-
*/
|
|
52
|
-
label?: React.ReactNode;
|
|
53
|
-
/**
|
|
54
|
-
* Вид лейбла внутри / снаружи
|
|
55
|
-
*/
|
|
56
|
-
labelView?: "inner" | "outer";
|
|
57
|
-
/**
|
|
58
|
-
* Атрибут type
|
|
59
|
-
*/
|
|
60
|
-
type?: "number" | "card" | "email" | "money" | "password" | "tel" | "text";
|
|
61
|
-
/**
|
|
62
|
-
* Ref для обертки input
|
|
63
|
-
*/
|
|
64
|
-
wrapperRef?: React.Ref<HTMLDivElement> | null;
|
|
65
|
-
/**
|
|
66
|
-
* Слот слева
|
|
67
|
-
*/
|
|
68
|
-
leftAddons?: React.ReactNode;
|
|
69
|
-
/**
|
|
70
|
-
* Слот справа
|
|
71
|
-
*/
|
|
72
|
-
rightAddons?: React.ReactNode;
|
|
73
|
-
/**
|
|
74
|
-
* Слот под инпутом
|
|
75
|
-
*/
|
|
76
|
-
bottomAddons?: React.ReactNode;
|
|
77
|
-
/**
|
|
78
|
-
* Дополнительный класс
|
|
79
|
-
*/
|
|
80
|
-
className?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Дополнительный класс для поля
|
|
83
|
-
*/
|
|
84
|
-
fieldClassName?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Дополнительный класс инпута
|
|
87
|
-
*/
|
|
88
|
-
inputClassName?: string;
|
|
89
|
-
/**
|
|
90
|
-
* Дополнительный класс для лейбла
|
|
91
|
-
*/
|
|
92
|
-
labelClassName?: string;
|
|
93
|
-
/**
|
|
94
|
-
* Дополнительный класс для аддонов
|
|
95
|
-
*/
|
|
96
|
-
addonsClassName?: string;
|
|
97
|
-
/**
|
|
98
|
-
* Класс, который будет установлен при фокусе
|
|
99
|
-
*/
|
|
100
|
-
focusedClassName?: string;
|
|
101
|
-
/**
|
|
102
|
-
* Класс, который будет установлен, если в поле есть значение
|
|
103
|
-
*/
|
|
104
|
-
filledClassName?: string;
|
|
105
|
-
/**
|
|
106
|
-
* Обработчик поля ввода
|
|
107
|
-
*/
|
|
108
|
-
onChange?: (event: ChangeEvent<HTMLInputElement>, payload: {
|
|
109
|
-
value: string;
|
|
110
|
-
}) => void;
|
|
111
|
-
/**
|
|
112
|
-
* Обработчик нажатия на кнопку очистки
|
|
113
|
-
*/
|
|
114
|
-
onClear?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
115
|
-
/**
|
|
116
|
-
* Обработчик клика по полю
|
|
117
|
-
*/
|
|
118
|
-
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
119
|
-
/**
|
|
120
|
-
* Обработчик MouseDown по полю
|
|
121
|
-
*/
|
|
122
|
-
onMouseDown?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
123
|
-
/**
|
|
124
|
-
* Обработчик MouseUp по полю
|
|
125
|
-
*/
|
|
126
|
-
onMouseUp?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
127
|
-
/**
|
|
128
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
129
|
-
*/
|
|
130
|
-
FormControlComponent?: ElementType;
|
|
131
|
-
/**
|
|
132
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
133
|
-
*/
|
|
134
|
-
dataTestId?: string;
|
|
135
|
-
/**
|
|
136
|
-
* Стили компонента для default и inverted режима.
|
|
137
|
-
*/
|
|
138
|
-
colorStyles?: StyleColors;
|
|
139
|
-
/**
|
|
140
|
-
* Запрещает ввод с клавиатуры
|
|
141
|
-
*/
|
|
142
|
-
disableUserInput?: boolean;
|
|
143
|
-
};
|
|
144
|
-
type InputProps = Omit<BaseInputProps, "FormControlComponent" | "colorStyles"> & {
|
|
145
|
-
/**
|
|
146
|
-
* Контрольная точка, с нее начинается desktop версия
|
|
147
|
-
* @default 1024
|
|
148
|
-
*/
|
|
149
|
-
breakpoint?: number;
|
|
150
|
-
/**
|
|
151
|
-
* Значение по-умолчанию для хука useMatchMedia
|
|
152
|
-
*/
|
|
153
|
-
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
154
|
-
};
|
|
155
|
-
declare const Input: React.ForwardRefExoticComponent<Omit<BaseInputProps, "FormControlComponent" | "colorStyles"> & {
|
|
156
|
-
breakpoint?: number | undefined;
|
|
157
|
-
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
158
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
159
|
-
type InputMobileProps = Omit<BaseInputProps, "FormControlComponent" | "colorStyles">;
|
|
160
|
-
declare const InputMobile: React.ForwardRefExoticComponent<InputMobileProps & React.RefAttributes<HTMLInputElement>>;
|
|
161
|
-
export { InputProps, Input, InputMobileProps, InputMobile };
|
|
2
|
+
export * from "./Component.responsive-3109f463";
|
|
3
|
+
export {};
|
package/cssm/index-c76d6398.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Component-
|
|
2
|
-
export type { NavigationBarProps } from "./types-
|
|
1
|
+
export * from "./Component-10db897e";
|
|
2
|
+
export type { NavigationBarProps } from "./types-1c79e231";
|
package/cssm/index-f12ee135.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./component-
|
|
2
|
-
export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-
|
|
1
|
+
export * from "./component-10db897e";
|
|
2
|
+
export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-67a2d8af";
|
|
3
3
|
export { CLOSE_OFFSET, HEADER_OFFSET } from "./utils-49cc3c24";
|
|
@@ -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, OptionProps, OptionShape } from "./typings-
|
|
6
|
+
import { BaseSelectProps, OptionProps, OptionShape } from "./typings-0f4b9bed";
|
|
7
7
|
type AdditionalMobileProps = {
|
|
8
8
|
/**
|
|
9
9
|
* Футер
|
|
@@ -56,9 +56,9 @@ type FooterProps = {
|
|
|
56
56
|
declare const Footer: ({ handleApply, handleClear, showClear }: FooterProps) => React.JSX.Element;
|
|
57
57
|
export { AdditionalMobileProps, SelectMobileProps, SelectMobile, useSelectWithLoading, FooterProps, Footer };
|
|
58
58
|
export * from "./index-ebda875c";
|
|
59
|
-
export * from "./Component-
|
|
59
|
+
export * from "./Component-0f4b9bed";
|
|
60
60
|
export * from "./hook-c44170fe";
|
|
61
61
|
export * from "./hook-8abfea97";
|
|
62
|
-
export * from "./Component-
|
|
63
|
-
export * from "./typings-
|
|
64
|
-
export * from "./utils-
|
|
62
|
+
export * from "./Component-10db897e";
|
|
63
|
+
export * from "./typings-0f4b9bed";
|
|
64
|
+
export * from "./utils-0f4b9bed";
|
|
@@ -459,6 +459,10 @@ type OptionsListProps = {
|
|
|
459
459
|
* Обработчик отмены изменений
|
|
460
460
|
*/
|
|
461
461
|
onClear?: () => void;
|
|
462
|
+
/**
|
|
463
|
+
* Указать индекс пункта для hover состояния
|
|
464
|
+
*/
|
|
465
|
+
setHighlightedIndex?: (index: number) => void;
|
|
462
466
|
};
|
|
463
467
|
type OptgroupProps = {
|
|
464
468
|
/**
|
|
@@ -69,6 +69,8 @@ type ComponentProps = {
|
|
|
69
69
|
* Дочерние элементы.
|
|
70
70
|
*/
|
|
71
71
|
children?: ReactNode;
|
|
72
|
+
};
|
|
73
|
+
type PrivateButtonProps = {
|
|
72
74
|
/**
|
|
73
75
|
* Основные стили компонента.
|
|
74
76
|
*/
|
|
@@ -80,16 +82,12 @@ type ComponentProps = {
|
|
|
80
82
|
*/
|
|
81
83
|
colorStylesMap: StyleColors;
|
|
82
84
|
};
|
|
83
|
-
type
|
|
84
|
-
type
|
|
85
|
-
type BaseButtonProps = Partial<AnchorBaseButtonProps | NativeBaseButtonProps>;
|
|
86
|
-
type AnchorButtonProps = Omit<BaseButtonProps, 'styles' | 'colorStylesMap'> & AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
87
|
-
type NativeButtonProps = Omit<BaseButtonProps, 'styles' | 'colorStylesMap'> & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
88
|
-
type ButtonProps = Partial<AnchorButtonProps | NativeButtonProps> & {
|
|
85
|
+
type CommonButtonProps = ComponentProps & Partial<AnchorHTMLAttributes<HTMLAnchorElement> | ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
86
|
+
type ButtonProps = CommonButtonProps & {
|
|
89
87
|
/**
|
|
90
88
|
* Контрольная точка, с нее начинается desktop версия
|
|
91
89
|
* @default 1024
|
|
92
90
|
*/
|
|
93
91
|
breakpoint?: number;
|
|
94
92
|
};
|
|
95
|
-
export { StyleColors, ComponentProps,
|
|
93
|
+
export { StyleColors, ComponentProps, PrivateButtonProps, CommonButtonProps, ButtonProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-
|
|
2
|
+
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-0f4b9bed";
|
|
3
3
|
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
4
|
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
5
|
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
@@ -3,7 +3,7 @@ import React from "react";
|
|
|
3
3
|
import { FC, ReactNode } from "react";
|
|
4
4
|
import { ModalMobileProps, ContentProps } from "./typings-bdb4c6b9";
|
|
5
5
|
import { BottomSheetProps } from "./index-f12ee135";
|
|
6
|
-
import { BaseSelectProps } from "./typings-
|
|
6
|
+
import { BaseSelectProps } from "./typings-0f4b9bed";
|
|
7
7
|
type FooterProps = {
|
|
8
8
|
/**
|
|
9
9
|
* Контент футера
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { NavigationBarProps } from "./types-1c79e231";
|
|
4
|
+
declare const NavigationBar: React.ForwardRefExoticComponent<NavigationBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export * from "./Component-69921c40";
|
|
6
|
+
export { NavigationBar };
|
|
@@ -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-
|
|
4
|
+
import { InputAutocompleteDesktopProps } from "./Component.desktop-4cd3936b";
|
|
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 * from "./Component.desktop-d873d97d";
|
|
@@ -34,7 +34,7 @@ type IconButtonProps = {
|
|
|
34
34
|
* Набор цветов для компонента
|
|
35
35
|
*/
|
|
36
36
|
colors?: 'default' | 'inverted';
|
|
37
|
-
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'size'> & Pick<ButtonProps, 'href' | 'loading' | 'breakpoint'> & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'target' | 'download'>;
|
|
37
|
+
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'size'> & Pick<ButtonProps, 'Component' | 'href' | 'loading' | 'breakpoint'> & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'target' | 'download'>;
|
|
38
38
|
declare const IconButton: React.ForwardRefExoticComponent<{
|
|
39
39
|
/**
|
|
40
40
|
* Компонент иконки
|
|
@@ -67,5 +67,5 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
67
67
|
* Набор цветов для компонента
|
|
68
68
|
*/
|
|
69
69
|
colors?: "default" | "inverted" | undefined;
|
|
70
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "loading" | "breakpoint"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
70
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "Component" | "loading" | "breakpoint"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
71
71
|
export { IconButtonProps, IconButton };
|
|
@@ -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 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { FormControlDesktopProps } from "./desktop-
|
|
4
|
-
import { BaseSelectProps } from "./typings-
|
|
3
|
+
import { FormControlDesktopProps } from "./desktop-785df74d";
|
|
4
|
+
import { BaseSelectProps } from "./typings-0f4b9bed";
|
|
5
5
|
type SelectFieldProps = Omit<FormControlDesktopProps, 'size'> & Record<string, unknown>;
|
|
6
6
|
type SelectDesktopProps = Omit<BaseSelectProps, 'fieldProps'> & {
|
|
7
7
|
/**
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { ChangeEvent, FC, RefAttributes } from "react";
|
|
4
4
|
import { InputProps } from "./index-c44170fe";
|
|
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,18 +33,18 @@ 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
|
*/
|
|
40
|
-
Input?: React.FC<Omit<import("./index-c44170fe").BaseInputProps, "
|
|
40
|
+
Input?: React.FC<Omit<import("./index-c44170fe").BaseInputProps, "colorStyles" | "FormControlComponent"> & {
|
|
41
41
|
breakpoint?: number | undefined;
|
|
42
42
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
43
43
|
} & React.RefAttributes<HTMLInputElement>> | undefined;
|
|
44
44
|
/**
|
|
45
45
|
* Пропсы, которые будут прокинуты в инпут
|
|
46
46
|
*/
|
|
47
|
-
inputProps?: (Omit<import("./index-c44170fe").BaseInputProps, "
|
|
47
|
+
inputProps?: (Omit<import("./index-c44170fe").BaseInputProps, "colorStyles" | "FormControlComponent"> & {
|
|
48
48
|
breakpoint?: number | undefined;
|
|
49
49
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
50
50
|
} & Record<string, unknown>) | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { BaseFormControlProps } from "./
|
|
3
|
+
import { BaseFormControlProps } from "./Component.responsive-3109f463";
|
|
4
4
|
type FormControlDesktopProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'>;
|
|
5
5
|
declare const FormControlDesktop: React.ForwardRefExoticComponent<FormControlDesktopProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
export { FormControlDesktopProps, FormControlDesktop };
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { BaseFormControlProps } from "./
|
|
3
|
+
import { BaseFormControlProps } from "./Component.responsive-3109f463";
|
|
4
4
|
type FormControlMobileProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'>;
|
|
5
5
|
declare const FormControlMobile: React.ForwardRefExoticComponent<FormControlMobileProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
export { FormControlMobileProps, FormControlMobile };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { BaseFormControlProps } from "./index-ebda875c";
|
|
4
3
|
type FormControlProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'> & {
|
|
5
4
|
/**
|
|
6
5
|
* Контрольная точка, с нее начинается desktop версия
|
|
@@ -23,4 +22,5 @@ declare const FormControl: React.ForwardRefExoticComponent<Omit<BaseFormControlP
|
|
|
23
22
|
*/
|
|
24
23
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
25
24
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
export * from "./Component-10db897e";
|
|
26
26
|
export { FormControlProps, FormControl };
|
|
@@ -4,7 +4,7 @@ import { FC, ReactNode, RefObject } from "react";
|
|
|
4
4
|
import { NavigationBarProps } from "./index-c76d6398";
|
|
5
5
|
import { SwipeableHandlers } from "react-swipeable";
|
|
6
6
|
import { BackdropProps } from "./index-ebda875c";
|
|
7
|
-
import { BottomSheetProps } from "./types-
|
|
7
|
+
import { BottomSheetProps } from "./types-67a2d8af";
|
|
8
8
|
type FooterProps = {
|
|
9
9
|
/**
|
|
10
10
|
* Контент футера
|
package/esm/component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { CountryCode } from 'libphonenumber-js';
|
|
4
|
-
import { InputAutocompleteDesktopProps } from "./Component.desktop-
|
|
4
|
+
import { InputAutocompleteDesktopProps } from "./Component.desktop-4cd3936b";
|
|
5
5
|
import { SelectProps } from "@alfalab/core-components-select";
|
|
6
6
|
import { Country } from '@alfalab/utils';
|
|
7
7
|
type MaxPhoneLenByCountry = Record<string, number>;
|
package/esm/component.js
CHANGED
|
@@ -17,7 +17,7 @@ import '@alfalab/core-components-select/esm/desktop';
|
|
|
17
17
|
import '@alfalab/core-components-select/esm/shared';
|
|
18
18
|
import './components/select-field/component.js';
|
|
19
19
|
|
|
20
|
-
var styles = {"addons":"intl-phone-
|
|
20
|
+
var styles = {"addons":"intl-phone-input__addons_1y6jx","l":"intl-phone-input__l_1y6jx","xl":"intl-phone-input__xl_1y6jx","flagIconWrapper":"intl-phone-input__flagIconWrapper_1y6jx","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_1y6jx"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
23
|
var countriesHash = getCountriesHash();
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { flagSprite } from './flagSprite.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"flagIcon":"intl-phone-
|
|
5
|
+
var styles = {"flagIcon":"intl-phone-input__flagIcon_48qsi","flagPlaceholder":"intl-phone-input__flagPlaceholder_48qsi"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: k0dgr */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
--gap-3xs: 2px;
|
|
18
18
|
} :root {
|
|
19
19
|
} :root {
|
|
20
|
-
} .intl-phone-
|
|
20
|
+
} .intl-phone-input__flagIcon_48qsi {
|
|
21
21
|
max-width: 24px;
|
|
22
22
|
max-height: 24px;
|
|
23
|
-
} .intl-phone-
|
|
23
|
+
} .intl-phone-input__flagPlaceholder_48qsi {
|
|
24
24
|
width: 24px;
|
|
25
25
|
height: 16px;
|
|
26
26
|
max-height: 16px;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { SelectDesktopProps } from "../../Component.desktop-
|
|
2
|
+
import { SelectDesktopProps } from "../../Component.desktop-0f4b9bed";
|
|
3
3
|
import { Country } from '@alfalab/utils';
|
|
4
4
|
type CountriesSelectProps = Pick<SelectDesktopProps, 'size' | 'dataTestId' | 'disabled' | 'onChange' | 'preventFlip'> & {
|
|
5
5
|
selected?: string;
|
|
@@ -10,7 +10,7 @@ import 'react-merge-refs';
|
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
11
|
import '@alfalab/icons-glyph/WorldMagnifierMIcon';
|
|
12
12
|
|
|
13
|
-
var styles = {"component":"intl-phone-
|
|
13
|
+
var styles = {"component":"intl-phone-input__component_39wbc","option":"intl-phone-input__option_39wbc","flag":"intl-phone-input__flag_39wbc","countryName":"intl-phone-input__countryName_39wbc","dialCode":"intl-phone-input__dialCode_39wbc"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
var CountriesSelect = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: u3y0u */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-secondary: rgba(60, 60, 67, 0.66); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
} :root {
|
|
18
18
|
} :root {
|
|
19
19
|
--text-secondary-color: var(--color-light-text-secondary);
|
|
20
|
-
} .intl-phone-
|
|
20
|
+
} .intl-phone-input__component_39wbc {
|
|
21
21
|
position: static;
|
|
22
22
|
display: flex;
|
|
23
23
|
min-width: initial;
|
|
24
24
|
height: 100%;
|
|
25
|
-
} .intl-phone-
|
|
25
|
+
} .intl-phone-input__option_39wbc {
|
|
26
26
|
display: flex;
|
|
27
27
|
align-items: flex-start;
|
|
28
|
-
} .intl-phone-
|
|
28
|
+
} .intl-phone-input__flag_39wbc {
|
|
29
29
|
flex-shrink: 0;
|
|
30
30
|
margin-right: var(--gap-xs);
|
|
31
|
-
} .intl-phone-
|
|
31
|
+
} .intl-phone-input__countryName_39wbc {
|
|
32
32
|
margin-right: var(--gap-xs);
|
|
33
|
-
} .intl-phone-
|
|
33
|
+
} .intl-phone-input__dialCode_39wbc {
|
|
34
34
|
color: var(--text-secondary-color);
|
|
35
35
|
}
|
|
@@ -7,7 +7,7 @@ import WorldMagnifierMIcon from '@alfalab/icons-glyph/WorldMagnifierMIcon';
|
|
|
7
7
|
import { FlagIcon } from '../flag-icon/component.js';
|
|
8
8
|
import '../flag-icon/flagSprite.js';
|
|
9
9
|
|
|
10
|
-
var styles = {"component":"intl-phone-
|
|
10
|
+
var styles = {"component":"intl-phone-input__component_914c8","flagIconContainer":"intl-phone-input__flagIconContainer_914c8","emptyCountryIcon":"intl-phone-input__emptyCountryIcon_914c8","disabled":"intl-phone-input__disabled_914c8","inner":"intl-phone-input__inner_914c8","l":"intl-phone-input__l_914c8","xl":"intl-phone-input__xl_914c8","focusVisible":"intl-phone-input__focusVisible_914c8"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
var EMPTY_COUNTRY_SELECT_FIELD = {
|