@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.
- package/@alfalab/icons-glyph/package.json +14 -0
- package/Component-11f20b2e.d.ts +1 -1
- package/{Component-4bf4de6f.d.ts → Component-7f86a3f9.d.ts} +1 -1
- package/{cssm/Component-ed61931d.d.ts → Component-e557cdd2.d.ts} +26 -19
- package/Component.responsive-8566963f.d.ts +2 -2
- package/Component.responsive.d.ts +6 -4
- package/Component.responsive.js +2 -3
- package/{esm/ResponsiveContext-d6bfd5b7.d.ts → ResponsiveContext-4b7234ef.d.ts} +1 -1
- package/component-03d088c4.d.ts +8 -0
- package/components/base-international-phone-input/Component.d.ts +2 -2
- package/components/base-international-phone-input/Component.js +1 -1
- package/components/base-international-phone-input/index.css +2 -2
- package/components/country-select/Component.js +1 -1
- package/components/country-select/index.css +8 -8
- package/components/flag-icon/component.js +1 -1
- package/components/flag-icon/index.css +3 -3
- package/components/select-field/component.js +1 -1
- package/components/select-field/index.css +9 -9
- package/cssm/Component-11f20b2e.d.ts +1 -1
- package/{esm/Component-4bf4de6f.d.ts → cssm/Component-7f86a3f9.d.ts} +1 -1
- package/{Component-ed61931d.d.ts → cssm/Component-e557cdd2.d.ts} +26 -19
- package/cssm/Component.responsive-8566963f.d.ts +2 -2
- package/cssm/Component.responsive.d.ts +6 -4
- package/cssm/Component.responsive.js +2 -3
- package/cssm/{ResponsiveContext-d6bfd5b7.d.ts → ResponsiveContext-4b7234ef.d.ts} +1 -1
- package/cssm/component-03d088c4.d.ts +8 -0
- package/cssm/components/base-international-phone-input/Component.d.ts +2 -2
- package/cssm/index-8566963f.d.ts +2 -2
- package/cssm/{index-ed61931d.d.ts → index-e557cdd2.d.ts} +1 -1
- package/cssm/types.d.ts +6 -1
- package/{esm/typings-d6bfd5b7.d.ts → cssm/typings-4b7234ef.d.ts} +5 -0
- package/cssm/{typings-4bf4de6f.d.ts → typings-7f86a3f9.d.ts} +17 -5
- package/{modern/typings-ed61931d.d.ts → cssm/typings-e557cdd2.d.ts} +5 -0
- package/cssm/utils-34f6b81b.d.ts +1 -1
- package/esm/Component-11f20b2e.d.ts +1 -1
- package/{modern/Component-4bf4de6f.d.ts → esm/Component-7f86a3f9.d.ts} +1 -1
- package/{modern/Component-ed61931d.d.ts → esm/Component-e557cdd2.d.ts} +26 -19
- package/esm/Component.responsive-8566963f.d.ts +2 -2
- package/esm/Component.responsive.d.ts +6 -4
- package/esm/Component.responsive.js +3 -4
- package/{ResponsiveContext-d6bfd5b7.d.ts → esm/ResponsiveContext-4b7234ef.d.ts} +1 -1
- package/esm/component-03d088c4.d.ts +8 -0
- package/esm/components/base-international-phone-input/Component.d.ts +2 -2
- package/esm/components/base-international-phone-input/Component.js +1 -1
- package/esm/components/base-international-phone-input/index.css +2 -2
- package/esm/components/country-select/Component.js +1 -1
- package/esm/components/country-select/index.css +8 -8
- package/esm/components/flag-icon/component.js +1 -1
- package/esm/components/flag-icon/index.css +3 -3
- package/esm/components/select-field/component.js +1 -1
- package/esm/components/select-field/index.css +9 -9
- package/esm/index-8566963f.d.ts +2 -2
- package/esm/{index-ed61931d.d.ts → index-e557cdd2.d.ts} +1 -1
- package/esm/types.d.ts +6 -1
- package/{modern/typings-d6bfd5b7.d.ts → esm/typings-4b7234ef.d.ts} +5 -0
- package/esm/{typings-4bf4de6f.d.ts → typings-7f86a3f9.d.ts} +17 -5
- package/{cssm/typings-ed61931d.d.ts → esm/typings-e557cdd2.d.ts} +5 -0
- package/esm/utils-34f6b81b.d.ts +1 -1
- package/index-8566963f.d.ts +2 -2
- package/{index-ed61931d.d.ts → index-e557cdd2.d.ts} +1 -1
- package/modern/Component-11f20b2e.d.ts +1 -1
- package/{cssm/Component-4bf4de6f.d.ts → modern/Component-7f86a3f9.d.ts} +1 -1
- package/{esm/Component-ed61931d.d.ts → modern/Component-e557cdd2.d.ts} +26 -19
- package/modern/Component.responsive-8566963f.d.ts +2 -2
- package/modern/Component.responsive.d.ts +6 -4
- package/modern/Component.responsive.js +3 -4
- package/modern/{ResponsiveContext-d6bfd5b7.d.ts → ResponsiveContext-4b7234ef.d.ts} +1 -1
- package/modern/component-03d088c4.d.ts +8 -0
- package/modern/components/base-international-phone-input/Component.d.ts +2 -2
- package/modern/components/base-international-phone-input/Component.js +1 -1
- package/modern/components/base-international-phone-input/index.css +2 -2
- package/modern/components/country-select/Component.js +1 -1
- package/modern/components/country-select/index.css +8 -8
- package/modern/components/flag-icon/component.js +1 -1
- package/modern/components/flag-icon/index.css +3 -3
- package/modern/components/select-field/component.js +1 -1
- package/modern/components/select-field/index.css +9 -9
- package/modern/index-8566963f.d.ts +2 -2
- package/modern/{index-ed61931d.d.ts → index-e557cdd2.d.ts} +1 -1
- package/modern/types.d.ts +6 -1
- package/{cssm/typings-d6bfd5b7.d.ts → modern/typings-4b7234ef.d.ts} +5 -0
- package/modern/{typings-4bf4de6f.d.ts → typings-7f86a3f9.d.ts} +17 -5
- package/{moderncssm/typings-ed61931d.d.ts → modern/typings-e557cdd2.d.ts} +5 -0
- package/modern/utils-34f6b81b.d.ts +1 -1
- package/moderncssm/Component-11f20b2e.d.ts +1 -1
- package/moderncssm/Component-7f86a3f9.d.ts +5 -0
- package/moderncssm/Component-e557cdd2.d.ts +54 -0
- package/moderncssm/Component.responsive-8566963f.d.ts +2 -2
- package/moderncssm/Component.responsive.d.ts +6 -4
- package/moderncssm/Component.responsive.js +3 -4
- package/moderncssm/ResponsiveContext-4b7234ef.d.ts +5 -0
- package/moderncssm/component-03d088c4.d.ts +8 -0
- package/moderncssm/components/base-international-phone-input/Component.d.ts +2 -2
- package/moderncssm/index-8566963f.d.ts +2 -2
- package/moderncssm/index-e557cdd2.d.ts +2 -0
- package/moderncssm/types.d.ts +6 -1
- package/moderncssm/{typings-d6bfd5b7.d.ts → typings-4b7234ef.d.ts} +5 -0
- package/moderncssm/{typings-4bf4de6f.d.ts → typings-7f86a3f9.d.ts} +17 -5
- package/{esm/typings-ed61931d.d.ts → moderncssm/typings-e557cdd2.d.ts} +5 -0
- package/moderncssm/utils-34f6b81b.d.ts +1 -1
- package/package.json +5 -5
- package/src/Component.responsive.tsx +19 -10
- package/src/types.ts +6 -0
- package/types.d.ts +6 -1
- package/typings-4b7234ef.d.ts +67 -0
- package/typings-7f86a3f9.d.ts +1588 -0
- package/typings-e557cdd2.d.ts +123 -0
- package/utils-34f6b81b.d.ts +1 -1
- package/moderncssm/Component-4bf4de6f.d.ts +0 -5
- package/moderncssm/Component-ed61931d.d.ts +0 -47
- package/moderncssm/ResponsiveContext-d6bfd5b7.d.ts +0 -5
- package/moderncssm/index-ed61931d.d.ts +0 -2
- package/typings-4bf4de6f.d.ts +0 -1576
- package/typings-d6bfd5b7.d.ts +0 -62
- 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
|
+
}
|
package/Component-11f20b2e.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { View } from "./typings-
|
|
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-
|
|
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-
|
|
5
|
-
type SpinnerProps = {
|
|
4
|
+
import { CommonButtonProps, PrivateButtonProps } from "./typings-e557cdd2";
|
|
5
|
+
type SpinnerProps = ({
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Палитра, в контексте которой используется спиннер
|
|
8
|
+
* @default default
|
|
8
9
|
*/
|
|
9
|
-
|
|
10
|
+
colors?: "default" | "inverted";
|
|
10
11
|
/**
|
|
11
|
-
*
|
|
12
|
-
* @
|
|
12
|
+
* Управление видимостью компонента
|
|
13
|
+
* @default false
|
|
13
14
|
*/
|
|
14
|
-
|
|
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
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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,
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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 };
|
package/Component.responsive.js
CHANGED
|
@@ -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
|
|
18
|
-
var isDesktop = coreComponentsMq.
|
|
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-
|
|
3
|
+
import { TResponsiveModalContext } from "./typings-4b7234ef";
|
|
4
4
|
declare const ResponsiveContext: React.Context<TResponsiveModalContext>;
|
|
5
5
|
export { ResponsiveContext };
|
package/component-03d088c4.d.ts
CHANGED
|
@@ -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-
|
|
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: "
|
|
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-
|
|
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:
|
|
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-
|
|
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-
|
|
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:
|
|
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-
|
|
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-
|
|
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-
|
|
36
|
+
} .international-phone-input__flag_18jwj {
|
|
37
37
|
flex-shrink: 0;
|
|
38
38
|
margin-right: var(--gap-8);
|
|
39
|
-
} .international-phone-
|
|
39
|
+
} .international-phone-input__countryName_18jwj {
|
|
40
40
|
margin-right: var(--gap-8);
|
|
41
|
-
} .international-phone-
|
|
41
|
+
} .international-phone-input__dialCode_18jwj {
|
|
42
42
|
color: var(--color-light-text-secondary);
|
|
43
|
-
} .international-phone-
|
|
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-
|
|
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-
|
|
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:
|
|
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-
|
|
26
|
+
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__flagIcon_238q6 {
|
|
27
27
|
max-width: 24px;
|
|
28
28
|
max-height: 24px;
|
|
29
|
-
} .international-phone-
|
|
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-
|
|
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:
|
|
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-
|
|
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-
|
|
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-
|
|
43
|
+
} .international-phone-input__emptyCountryIcon_s5hln {
|
|
44
44
|
color: var(--color-light-neutral-translucent-700);
|
|
45
|
-
} .international-phone-
|
|
45
|
+
} .international-phone-input__disabled_s5hln {
|
|
46
46
|
cursor: var(--disabled-cursor);
|
|
47
|
-
} .international-phone-
|
|
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-
|
|
55
|
-
.international-phone-input__size-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
5
|
-
type SpinnerProps = {
|
|
4
|
+
import { CommonButtonProps, PrivateButtonProps } from "./typings-e557cdd2";
|
|
5
|
+
type SpinnerProps = ({
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Палитра, в контексте которой используется спиннер
|
|
8
|
+
* @default default
|
|
8
9
|
*/
|
|
9
|
-
|
|
10
|
+
colors?: "default" | "inverted";
|
|
10
11
|
/**
|
|
11
|
-
*
|
|
12
|
-
* @
|
|
12
|
+
* Управление видимостью компонента
|
|
13
|
+
* @default false
|
|
13
14
|
*/
|
|
14
|
-
|
|
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
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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,
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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 };
|