@alfalab/core-components-international-phone-input 1.2.2 → 1.2.4
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/{esm/Component-89f0cb07.d.ts → Component-553146b2.d.ts} +1 -1
- package/Component-bdb4c6b9.d.ts +12 -0
- package/{Component-0816e61d.d.ts → Component-c29389e5.d.ts} +1 -1
- package/Component.mobile-ebda875c.d.ts +6 -0
- package/{cssm/index-8b2c2707.d.ts → Component.responsive-8566963f.d.ts} +4 -4
- package/Component.responsive.d.ts +10 -10
- package/Component.responsive.js +4 -4
- package/ResponsiveContext-08e5596c.d.ts +5 -0
- package/components/base-international-phone-input/Component.d.ts +3 -3
- 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/{Component-89f0cb07.d.ts → cssm/Component-553146b2.d.ts} +1 -1
- package/cssm/Component-bdb4c6b9.d.ts +12 -0
- package/{esm/Component-0816e61d.d.ts → cssm/Component-c29389e5.d.ts} +1 -1
- package/cssm/Component.mobile-ebda875c.d.ts +6 -0
- package/{esm/index-8b2c2707.d.ts → cssm/Component.responsive-8566963f.d.ts} +4 -4
- package/cssm/Component.responsive.d.ts +10 -10
- package/cssm/Component.responsive.js +4 -4
- package/cssm/ResponsiveContext-08e5596c.d.ts +5 -0
- package/cssm/components/base-international-phone-input/Component.d.ts +3 -3
- package/cssm/{Component.desktop.d.ts → desktop/Component.desktop.d.ts} +1 -1
- package/cssm/{Component.desktop.js → desktop/Component.desktop.js} +15 -15
- package/cssm/desktop/index.d.ts +1 -1
- package/cssm/desktop/index.js +3 -3
- package/cssm/index-553146b2.d.ts +2 -0
- package/cssm/{Component.desktop-0aa4e915.d.ts → index-8566963f.d.ts} +3 -2
- package/cssm/index-ebda875c.d.ts +140 -12
- package/cssm/index.js +3 -3
- package/cssm/{Component.mobile.d.ts → mobile/Component.mobile.d.ts} +1 -1
- package/cssm/{Component.mobile.js → mobile/Component.mobile.js} +12 -12
- package/cssm/mobile/index.d.ts +1 -1
- package/cssm/mobile/index.js +2 -2
- package/cssm/types.d.ts +1 -1
- package/cssm/typings-08e5596c.d.ts +56 -0
- package/cssm/{typings-89f0cb07.d.ts → typings-553146b2.d.ts} +2 -1
- package/cssm/{typings-0816e61d.d.ts → typings-c29389e5.d.ts} +719 -56
- package/cssm/utils-d2597f31.d.ts +1 -1
- package/{esm → desktop}/Component.desktop.d.ts +1 -1
- package/{Component.desktop.js → desktop/Component.desktop.js} +11 -11
- package/desktop/index.d.ts +1 -1
- package/desktop/index.js +3 -3
- package/{modern/Component-89f0cb07.d.ts → esm/Component-553146b2.d.ts} +1 -1
- package/esm/Component-bdb4c6b9.d.ts +12 -0
- package/{cssm/Component-0816e61d.d.ts → esm/Component-c29389e5.d.ts} +1 -1
- package/esm/Component.mobile-ebda875c.d.ts +6 -0
- package/{index-8b2c2707.d.ts → esm/Component.responsive-8566963f.d.ts} +4 -4
- package/esm/Component.responsive.d.ts +10 -10
- package/esm/Component.responsive.js +3 -3
- package/esm/ResponsiveContext-08e5596c.d.ts +5 -0
- package/esm/components/base-international-phone-input/Component.d.ts +3 -3
- 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/{Component.desktop.d.ts → esm/desktop/Component.desktop.d.ts} +1 -1
- package/esm/{Component.desktop.js → desktop/Component.desktop.js} +9 -9
- package/esm/desktop/index.d.ts +1 -1
- package/esm/desktop/index.js +2 -2
- package/esm/index-553146b2.d.ts +2 -0
- package/{modern/Component.desktop-0aa4e915.d.ts → esm/index-8566963f.d.ts} +3 -2
- package/esm/index-ebda875c.d.ts +140 -12
- package/esm/index.js +3 -3
- package/{Component.mobile.d.ts → esm/mobile/Component.mobile.d.ts} +1 -1
- package/esm/{Component.mobile.js → mobile/Component.mobile.js} +8 -8
- package/esm/mobile/index.d.ts +1 -1
- package/esm/mobile/index.js +1 -1
- package/esm/types.d.ts +1 -1
- package/esm/typings-08e5596c.d.ts +56 -0
- package/esm/{typings-89f0cb07.d.ts → typings-553146b2.d.ts} +2 -1
- package/esm/{typings-0816e61d.d.ts → typings-c29389e5.d.ts} +719 -56
- package/esm/utils-d2597f31.d.ts +1 -1
- package/index-553146b2.d.ts +2 -0
- package/{esm/Component.desktop-0aa4e915.d.ts → index-8566963f.d.ts} +3 -2
- package/index-ebda875c.d.ts +140 -12
- package/index.js +3 -3
- package/{esm → mobile}/Component.mobile.d.ts +1 -1
- package/{Component.mobile.js → mobile/Component.mobile.js} +8 -8
- package/mobile/index.d.ts +1 -1
- package/mobile/index.js +2 -2
- package/{cssm/Component-89f0cb07.d.ts → modern/Component-553146b2.d.ts} +1 -1
- package/modern/Component-bdb4c6b9.d.ts +12 -0
- package/modern/{Component-0816e61d.d.ts → Component-c29389e5.d.ts} +1 -1
- package/modern/Component.mobile-ebda875c.d.ts +6 -0
- package/modern/{index-8b2c2707.d.ts → Component.responsive-8566963f.d.ts} +4 -4
- package/modern/Component.responsive.d.ts +10 -10
- package/modern/Component.responsive.js +3 -3
- package/modern/ResponsiveContext-08e5596c.d.ts +5 -0
- package/modern/components/base-international-phone-input/Component.d.ts +3 -3
- 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/{Component.desktop.d.ts → desktop/Component.desktop.d.ts} +1 -1
- package/modern/{Component.desktop.js → desktop/Component.desktop.js} +9 -9
- package/modern/desktop/index.d.ts +1 -1
- package/modern/desktop/index.js +2 -2
- package/modern/index-553146b2.d.ts +2 -0
- package/{Component.desktop-0aa4e915.d.ts → modern/index-8566963f.d.ts} +3 -2
- package/modern/index-ebda875c.d.ts +140 -12
- package/modern/index.js +3 -3
- package/modern/{Component.mobile.d.ts → mobile/Component.mobile.d.ts} +1 -1
- package/modern/{Component.mobile.js → mobile/Component.mobile.js} +8 -8
- package/modern/mobile/index.d.ts +1 -1
- package/modern/mobile/index.js +1 -1
- package/modern/types.d.ts +1 -1
- package/modern/typings-08e5596c.d.ts +56 -0
- package/modern/{typings-89f0cb07.d.ts → typings-553146b2.d.ts} +2 -1
- package/modern/{typings-0816e61d.d.ts → typings-c29389e5.d.ts} +719 -56
- package/modern/utils-d2597f31.d.ts +1 -1
- package/package.json +4 -4
- package/src/Component.responsive.tsx +2 -2
- package/src/{Component.desktop.tsx → desktop/Component.desktop.tsx} +3 -3
- package/src/desktop/index.ts +1 -1
- package/src/{Component.mobile.tsx → mobile/Component.mobile.tsx} +5 -2
- package/src/mobile/index.ts +1 -1
- package/types.d.ts +1 -1
- package/typings-08e5596c.d.ts +56 -0
- package/{typings-89f0cb07.d.ts → typings-553146b2.d.ts} +2 -1
- package/{typings-0816e61d.d.ts → typings-c29389e5.d.ts} +719 -56
- package/utils-d2597f31.d.ts +1 -1
- package/Component-8b2c2707.d.ts +0 -71
- package/Component.responsive-785df74d.d.ts +0 -28
- package/cssm/Component-8b2c2707.d.ts +0 -71
- package/cssm/Component.responsive-785df74d.d.ts +0 -28
- package/cssm/index-72dda473.d.ts +0 -12
- package/cssm/index-89f0cb07.d.ts +0 -2
- package/cssm/index-c44170fe.d.ts +0 -2
- package/cssm/index-c76d6398.d.ts +0 -319
- package/cssm/types-72dda473.d.ts +0 -276
- package/cssm/typings-c44170fe.d.ts +0 -91
- package/esm/Component-8b2c2707.d.ts +0 -71
- package/esm/Component.responsive-785df74d.d.ts +0 -28
- package/esm/index-72dda473.d.ts +0 -12
- package/esm/index-89f0cb07.d.ts +0 -2
- package/esm/index-c44170fe.d.ts +0 -2
- package/esm/index-c76d6398.d.ts +0 -319
- package/esm/types-72dda473.d.ts +0 -276
- package/esm/typings-c44170fe.d.ts +0 -91
- package/index-72dda473.d.ts +0 -12
- package/index-89f0cb07.d.ts +0 -2
- package/index-c44170fe.d.ts +0 -2
- package/index-c76d6398.d.ts +0 -319
- package/modern/Component-8b2c2707.d.ts +0 -71
- package/modern/Component.responsive-785df74d.d.ts +0 -28
- package/modern/index-72dda473.d.ts +0 -12
- package/modern/index-89f0cb07.d.ts +0 -2
- package/modern/index-c44170fe.d.ts +0 -2
- package/modern/index-c76d6398.d.ts +0 -319
- package/modern/types-72dda473.d.ts +0 -276
- package/modern/typings-c44170fe.d.ts +0 -91
- package/types-72dda473.d.ts +0 -276
- package/typings-c44170fe.d.ts +0 -91
- /package/{Component.desktop-785df74d.d.ts → Component.desktop-ebda875c.d.ts} +0 -0
- /package/cssm/{Component.desktop-785df74d.d.ts → Component.desktop-ebda875c.d.ts} +0 -0
- /package/esm/{Component.desktop-785df74d.d.ts → Component.desktop-ebda875c.d.ts} +0 -0
- /package/modern/{Component.desktop-785df74d.d.ts → Component.desktop-ebda875c.d.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { FC } from "react";
|
|
4
|
-
import { CommonButtonProps, PrivateButtonProps } from "./typings-
|
|
4
|
+
import { CommonButtonProps, PrivateButtonProps } from "./typings-553146b2";
|
|
5
5
|
type SpinnerProps = {
|
|
6
6
|
/**
|
|
7
7
|
* Управление видимостью компонента
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { View } from "./typings-08e5596c";
|
|
4
|
+
declare const Modal: React.ForwardRefExoticComponent<import("./index-bdb4c6b9").BaseModalProps & {
|
|
5
|
+
size?: "s" | "m" | "l" | "xl" | "fullscreen" | undefined;
|
|
6
|
+
fullscreen?: boolean | undefined;
|
|
7
|
+
fixedPosition?: boolean | undefined;
|
|
8
|
+
hasCloser?: boolean | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
view: View;
|
|
11
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export { Modal };
|
|
@@ -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-c29389e5";
|
|
4
4
|
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
|
|
5
5
|
export { Optgroup };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { BaseFormControlProps } from "./index-ebda875c";
|
|
4
|
+
type FormControlMobileProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'>;
|
|
5
|
+
declare const FormControlMobile: React.ForwardRefExoticComponent<FormControlMobileProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { FormControlMobileProps, FormControlMobile };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
4
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
3
|
+
import { CommonButtonProps, ButtonProps } from "./typings-553146b2";
|
|
5
4
|
declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
6
|
-
|
|
7
|
-
export
|
|
5
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
6
|
+
export { ButtonMobile, Button };
|
|
7
|
+
export type { CommonButtonProps as ButtonMobileProps } from "./typings-553146b2";
|
|
@@ -7,18 +7,18 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
7
7
|
clearableCountryCode?: boolean | undefined;
|
|
8
8
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
9
9
|
clear?: boolean | undefined;
|
|
10
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
10
|
+
filterFn?: ((value: string | undefined, option: import("./typings-c29389e5").OptionShape) => boolean) | undefined;
|
|
11
11
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
12
12
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
|
|
13
13
|
value: string;
|
|
14
14
|
}) => void) | undefined;
|
|
15
|
-
onBlur?: ((event: React.FocusEvent<
|
|
16
|
-
onFocus?: ((event: React.FocusEvent<
|
|
15
|
+
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
16
|
+
onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
17
17
|
} & {
|
|
18
18
|
options?: undefined;
|
|
19
|
-
} & Omit<import("
|
|
19
|
+
} & Omit<import("@alfalab/core-components-input/desktop").InputDesktopProps, "onFocus" | "onBlur" | "onChange" | "onInput" | "clear" | "onClear"> & {
|
|
20
20
|
options?: undefined;
|
|
21
|
-
} & Omit<import("@alfalab/core-components-input/
|
|
21
|
+
} & Omit<import("@alfalab/core-components-input/mobile").InputMobileProps, "onFocus" | "onBlur" | "onChange" | "onInput" | "clear" | "onClear"> & {
|
|
22
22
|
breakpoint?: number | undefined;
|
|
23
23
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
24
24
|
}) | ({
|
|
@@ -28,17 +28,17 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
28
28
|
clearableCountryCode?: boolean | undefined;
|
|
29
29
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
30
30
|
clear?: boolean | undefined;
|
|
31
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
31
|
+
filterFn?: ((value: string | undefined, option: import("./typings-c29389e5").OptionShape) => boolean) | undefined;
|
|
32
32
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
33
33
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
|
|
34
34
|
value: string;
|
|
35
35
|
}) => void) | undefined;
|
|
36
|
-
onBlur?: ((event: React.FocusEvent<
|
|
37
|
-
onFocus?: ((event: React.FocusEvent<
|
|
36
|
+
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
37
|
+
onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
38
38
|
} & {
|
|
39
|
-
options: (import("./typings-
|
|
39
|
+
options: (import("./typings-c29389e5").OptionShape | import("./typings-c29389e5").GroupShape)[];
|
|
40
40
|
} & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteCommonProps, "onChange" | "onInput"> & {
|
|
41
|
-
options: (import("./typings-
|
|
41
|
+
options: (import("./typings-c29389e5").OptionShape | import("./typings-c29389e5").GroupShape)[];
|
|
42
42
|
} & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteMobileProps, "onChange" | "onInput"> & {
|
|
43
43
|
breakpoint?: number | undefined;
|
|
44
44
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
package/Component.responsive.js
CHANGED
|
@@ -5,9 +5,9 @@ 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
|
|
9
|
-
var
|
|
10
|
-
require('@alfalab/core-components-input/
|
|
8
|
+
var desktop_Component_desktop = require('./desktop/Component.desktop.js');
|
|
9
|
+
var mobile_Component_mobile = require('./mobile/Component.mobile.js');
|
|
10
|
+
require('@alfalab/core-components-input/desktop');
|
|
11
11
|
require('@alfalab/core-components-input-autocomplete/desktop');
|
|
12
12
|
require('@alfalab/core-components-select/desktop');
|
|
13
13
|
require('./components/base-international-phone-input/Component.js');
|
|
@@ -37,7 +37,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
37
37
|
var InternationalPhoneInput = React__default.default.forwardRef(function (_a, ref) {
|
|
38
38
|
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = tslib.__rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
|
|
39
39
|
var isDesktop = coreComponentsMq.useMatchMedia("(min-width: ".concat(breakpoint, "px)"), defaultMatchMediaValue)[0];
|
|
40
|
-
return isDesktop ? (React__default.default.createElement(
|
|
40
|
+
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 })));
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
exports.InternationalPhoneInput = InternationalPhoneInput;
|
|
@@ -9,13 +9,13 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
|
|
|
9
9
|
clearableCountryCode?: boolean | undefined;
|
|
10
10
|
countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
|
|
11
11
|
clear?: boolean | undefined;
|
|
12
|
-
filterFn?: ((value: string | undefined, option: import("../../typings-
|
|
12
|
+
filterFn?: ((value: string | undefined, option: import("../../typings-c29389e5").OptionShape) => boolean) | undefined;
|
|
13
13
|
onCountryChange?: ((country?: Country | undefined) => void) | undefined;
|
|
14
14
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
|
|
15
15
|
value: string;
|
|
16
16
|
}) => void) | undefined;
|
|
17
|
-
onBlur?: ((event: React.FocusEvent<
|
|
18
|
-
onFocus?: ((event: React.FocusEvent<
|
|
17
|
+
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
18
|
+
onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
19
19
|
} & {
|
|
20
20
|
Input: React.FC<import("@alfalab/core-components-input").InputProps>;
|
|
21
21
|
InputAutocomplete: React.FC<InputAutocompleteProps>;
|
|
@@ -25,7 +25,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
25
25
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
26
26
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
27
27
|
|
|
28
|
-
var styles = {"component":"international-phone-
|
|
28
|
+
var styles = {"component":"international-phone-input__component_1p9xq","addons":"international-phone-input__addons_1p9xq"};
|
|
29
29
|
require('./index.css')
|
|
30
30
|
|
|
31
31
|
var BaseInternationalPhoneInput = React.forwardRef(function (_a, ref) {
|
|
@@ -18,7 +18,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
18
18
|
|
|
19
19
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
20
20
|
|
|
21
|
-
var styles = {"component":"international-phone-
|
|
21
|
+
var styles = {"component":"international-phone-input__component_7spck","option":"international-phone-input__option_7spck","flag":"international-phone-input__flag_7spck","countryName":"international-phone-input__countryName_7spck","dialCode":"international-phone-input__dialCode_7spck","flagIconWrapper":"international-phone-input__flagIconWrapper_7spck","emptyCountryIcon":"international-phone-input__emptyCountryIcon_7spck"};
|
|
22
22
|
require('./index.css')
|
|
23
23
|
|
|
24
24
|
var CountrySelect = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1uxqc */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-translucent-700: rgba(4, 4, 21, 0.47);
|
|
@@ -18,29 +18,29 @@
|
|
|
18
18
|
--gap-s: 12px;
|
|
19
19
|
} :root {
|
|
20
20
|
} :root {
|
|
21
|
-
} .international-phone-
|
|
21
|
+
} .international-phone-input__component_7spck {
|
|
22
22
|
position: static;
|
|
23
23
|
display: flex;
|
|
24
24
|
min-width: initial;
|
|
25
25
|
height: 100%;
|
|
26
|
-
} .international-phone-
|
|
26
|
+
} .international-phone-input__option_7spck {
|
|
27
27
|
display: flex;
|
|
28
28
|
align-items: flex-start;
|
|
29
29
|
padding: var(--gap-s);
|
|
30
|
-
} .international-phone-
|
|
30
|
+
} .international-phone-input__flag_7spck {
|
|
31
31
|
flex-shrink: 0;
|
|
32
32
|
margin-right: var(--gap-xs);
|
|
33
|
-
} .international-phone-
|
|
33
|
+
} .international-phone-input__countryName_7spck {
|
|
34
34
|
margin-right: var(--gap-xs);
|
|
35
|
-
} .international-phone-
|
|
35
|
+
} .international-phone-input__dialCode_7spck {
|
|
36
36
|
color: var(--color-light-text-secondary);
|
|
37
|
-
} .international-phone-
|
|
37
|
+
} .international-phone-input__flagIconWrapper_7spck {
|
|
38
38
|
display: flex;
|
|
39
39
|
justify-content: center;
|
|
40
40
|
align-items: center;
|
|
41
41
|
width: 24px;
|
|
42
42
|
height: 24px;
|
|
43
43
|
margin-left: var(--gap-s);
|
|
44
|
-
} .international-phone-
|
|
44
|
+
} .international-phone-input__emptyCountryIcon_7spck {
|
|
45
45
|
color: var(--color-light-neutral-translucent-700);
|
|
46
46
|
}
|
|
@@ -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_1xbwr","flagPlaceholder":"international-phone-input__flagPlaceholder_1xbwr"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 16obl */
|
|
2
2
|
:root {
|
|
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 */
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
--gap-3xs: 2px;
|
|
18
18
|
} :root {
|
|
19
19
|
} :root {
|
|
20
|
-
} .international-phone-
|
|
20
|
+
} .international-phone-input__flagIcon_1xbwr {
|
|
21
21
|
max-width: 24px;
|
|
22
22
|
max-height: 24px;
|
|
23
|
-
} .international-phone-
|
|
23
|
+
} .international-phone-input__flagPlaceholder_1xbwr {
|
|
24
24
|
width: 24px;
|
|
25
25
|
height: 16px;
|
|
26
26
|
max-height: 16px;
|
|
@@ -17,7 +17,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
17
17
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
18
18
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
19
19
|
|
|
20
|
-
var styles = {"component":"international-phone-
|
|
20
|
+
var styles = {"component":"international-phone-input__component_5vgu3","flagIconContainer":"international-phone-input__flagIconContainer_5vgu3","emptyCountryIcon":"international-phone-input__emptyCountryIcon_5vgu3","disabled":"international-phone-input__disabled_5vgu3","inner":"international-phone-input__inner_5vgu3","l":"international-phone-input__l_5vgu3","xl":"international-phone-input__xl_5vgu3","focusVisible":"international-phone-input__focusVisible_5vgu3"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
23
|
var EMPTY_COUNTRY_SELECT_FIELD = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 3yg1a */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-link: #2288fa;
|
|
@@ -21,33 +21,33 @@
|
|
|
21
21
|
} :root {
|
|
22
22
|
--focus-color: var(--color-light-border-link);
|
|
23
23
|
--disabled-cursor: not-allowed;
|
|
24
|
-
} .international-phone-
|
|
24
|
+
} .international-phone-input__component_5vgu3 {
|
|
25
25
|
height: 100%;
|
|
26
26
|
cursor: pointer;
|
|
27
27
|
outline: none;
|
|
28
28
|
position: relative;
|
|
29
|
-
} .international-phone-
|
|
29
|
+
} .international-phone-input__flagIconContainer_5vgu3 {
|
|
30
30
|
display: flex;
|
|
31
31
|
justify-content: center;
|
|
32
32
|
align-items: center;
|
|
33
33
|
width: 24px;
|
|
34
34
|
height: 24px;
|
|
35
35
|
margin-right: var(--gap-2xs);
|
|
36
|
-
} .international-phone-
|
|
36
|
+
} .international-phone-input__emptyCountryIcon_5vgu3 {
|
|
37
37
|
color: var(--color-light-neutral-translucent-700);
|
|
38
|
-
} .international-phone-
|
|
38
|
+
} .international-phone-input__disabled_5vgu3 {
|
|
39
39
|
cursor: var(--disabled-cursor);
|
|
40
|
-
} .international-phone-
|
|
40
|
+
} .international-phone-input__inner_5vgu3 {
|
|
41
41
|
position: relative;
|
|
42
42
|
display: flex;
|
|
43
43
|
align-items: center;
|
|
44
44
|
height: 100%;
|
|
45
45
|
padding-left: var(--gap-s);
|
|
46
46
|
outline: none;
|
|
47
|
-
} .international-phone-
|
|
48
|
-
.international-phone-
|
|
47
|
+
} .international-phone-input__l_5vgu3 .international-phone-input__inner_5vgu3,
|
|
48
|
+
.international-phone-input__xl_5vgu3 .international-phone-input__inner_5vgu3 {
|
|
49
49
|
padding-left: var(--gap-m);
|
|
50
|
-
} .international-phone-
|
|
50
|
+
} .international-phone-input__focusVisible_5vgu3 {
|
|
51
51
|
outline: 2px solid var(--focus-color);
|
|
52
52
|
outline-offset: 2px;
|
|
53
53
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { FC } from "react";
|
|
4
|
-
import { CommonButtonProps, PrivateButtonProps } from "./typings-
|
|
4
|
+
import { CommonButtonProps, PrivateButtonProps } from "./typings-553146b2";
|
|
5
5
|
type SpinnerProps = {
|
|
6
6
|
/**
|
|
7
7
|
* Управление видимостью компонента
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { View } from "./typings-08e5596c";
|
|
4
|
+
declare const Modal: React.ForwardRefExoticComponent<import("./index-bdb4c6b9").BaseModalProps & {
|
|
5
|
+
size?: "s" | "m" | "l" | "xl" | "fullscreen" | undefined;
|
|
6
|
+
fullscreen?: boolean | undefined;
|
|
7
|
+
fixedPosition?: boolean | undefined;
|
|
8
|
+
hasCloser?: boolean | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
view: View;
|
|
11
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export { Modal };
|
|
@@ -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-c29389e5";
|
|
4
4
|
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
|
|
5
5
|
export { Optgroup };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { BaseFormControlProps } from "./index-ebda875c";
|
|
4
|
+
type FormControlMobileProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'>;
|
|
5
|
+
declare const FormControlMobile: React.ForwardRefExoticComponent<FormControlMobileProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { FormControlMobileProps, FormControlMobile };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
4
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
3
|
+
import { CommonButtonProps, ButtonProps } from "./typings-553146b2";
|
|
5
4
|
declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
6
|
-
|
|
7
|
-
export
|
|
5
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
6
|
+
export { ButtonMobile, Button };
|
|
7
|
+
export type { CommonButtonProps as ButtonMobileProps } from "./typings-553146b2";
|
|
@@ -7,18 +7,18 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
7
7
|
clearableCountryCode?: boolean | undefined;
|
|
8
8
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
9
9
|
clear?: boolean | undefined;
|
|
10
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
10
|
+
filterFn?: ((value: string | undefined, option: import("./typings-c29389e5").OptionShape) => boolean) | undefined;
|
|
11
11
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
12
12
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
|
|
13
13
|
value: string;
|
|
14
14
|
}) => void) | undefined;
|
|
15
|
-
onBlur?: ((event: React.FocusEvent<
|
|
16
|
-
onFocus?: ((event: React.FocusEvent<
|
|
15
|
+
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
16
|
+
onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
17
17
|
} & {
|
|
18
18
|
options?: undefined;
|
|
19
|
-
} & Omit<import("
|
|
19
|
+
} & Omit<import("@alfalab/core-components-input/desktop").InputDesktopProps, "onFocus" | "onBlur" | "onChange" | "onInput" | "clear" | "onClear"> & {
|
|
20
20
|
options?: undefined;
|
|
21
|
-
} & Omit<import("@alfalab/core-components-input/
|
|
21
|
+
} & Omit<import("@alfalab/core-components-input/mobile").InputMobileProps, "onFocus" | "onBlur" | "onChange" | "onInput" | "clear" | "onClear"> & {
|
|
22
22
|
breakpoint?: number | undefined;
|
|
23
23
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
24
24
|
}) | ({
|
|
@@ -28,17 +28,17 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
28
28
|
clearableCountryCode?: boolean | undefined;
|
|
29
29
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
30
30
|
clear?: boolean | undefined;
|
|
31
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
31
|
+
filterFn?: ((value: string | undefined, option: import("./typings-c29389e5").OptionShape) => boolean) | undefined;
|
|
32
32
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
33
33
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
|
|
34
34
|
value: string;
|
|
35
35
|
}) => void) | undefined;
|
|
36
|
-
onBlur?: ((event: React.FocusEvent<
|
|
37
|
-
onFocus?: ((event: React.FocusEvent<
|
|
36
|
+
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
37
|
+
onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
38
38
|
} & {
|
|
39
|
-
options: (import("./typings-
|
|
39
|
+
options: (import("./typings-c29389e5").OptionShape | import("./typings-c29389e5").GroupShape)[];
|
|
40
40
|
} & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteCommonProps, "onChange" | "onInput"> & {
|
|
41
|
-
options: (import("./typings-
|
|
41
|
+
options: (import("./typings-c29389e5").OptionShape | import("./typings-c29389e5").GroupShape)[];
|
|
42
42
|
} & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteMobileProps, "onChange" | "onInput"> & {
|
|
43
43
|
breakpoint?: number | undefined;
|
|
44
44
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
@@ -5,9 +5,9 @@ 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/cssm');
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
require('@alfalab/core-components-input/cssm/
|
|
8
|
+
var desktop_Component_desktop = require('./desktop/Component.desktop.js');
|
|
9
|
+
var mobile_Component_mobile = require('./mobile/Component.mobile.js');
|
|
10
|
+
require('@alfalab/core-components-input/cssm/desktop');
|
|
11
11
|
require('@alfalab/core-components-input-autocomplete/cssm/desktop');
|
|
12
12
|
require('@alfalab/core-components-select/cssm/desktop');
|
|
13
13
|
require('./components/base-international-phone-input/Component.js');
|
|
@@ -41,7 +41,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
41
41
|
var InternationalPhoneInput = React__default.default.forwardRef(function (_a, ref) {
|
|
42
42
|
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = tslib.__rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
|
|
43
43
|
var isDesktop = coreComponentsMq.useMatchMedia("(min-width: ".concat(breakpoint, "px)"), defaultMatchMediaValue)[0];
|
|
44
|
-
return isDesktop ? (React__default.default.createElement(
|
|
44
|
+
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 })));
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
exports.InternationalPhoneInput = InternationalPhoneInput;
|
|
@@ -9,13 +9,13 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
|
|
|
9
9
|
clearableCountryCode?: boolean | undefined;
|
|
10
10
|
countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
|
|
11
11
|
clear?: boolean | undefined;
|
|
12
|
-
filterFn?: ((value: string | undefined, option: import("../../typings-
|
|
12
|
+
filterFn?: ((value: string | undefined, option: import("../../typings-c29389e5").OptionShape) => boolean) | undefined;
|
|
13
13
|
onCountryChange?: ((country?: Country | undefined) => void) | undefined;
|
|
14
14
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
|
|
15
15
|
value: string;
|
|
16
16
|
}) => void) | undefined;
|
|
17
|
-
onBlur?: ((event: React.FocusEvent<
|
|
18
|
-
onFocus?: ((event: React.FocusEvent<
|
|
17
|
+
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
18
|
+
onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
19
19
|
} & {
|
|
20
20
|
Input: React.FC<import("@alfalab/core-components-input").InputProps>;
|
|
21
21
|
InputAutocomplete: React.FC<InputAutocompleteProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { InternationalPhoneInputDesktopProps } from "
|
|
3
|
+
import { InternationalPhoneInputDesktopProps } from "../types";
|
|
4
4
|
declare const InternationalPhoneInputDesktop: React.ForwardRefExoticComponent<InternationalPhoneInputDesktopProps & React.RefAttributes<HTMLInputElement>>;
|
|
5
5
|
export { InternationalPhoneInputDesktop };
|
|
@@ -4,29 +4,29 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var tslib = require('tslib');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
var
|
|
8
|
-
var desktop$
|
|
7
|
+
var desktop$1 = require('@alfalab/core-components-input/cssm/desktop');
|
|
8
|
+
var desktop$2 = require('@alfalab/core-components-input-autocomplete/cssm/desktop');
|
|
9
9
|
var desktop = require('@alfalab/core-components-select/cssm/desktop');
|
|
10
|
-
var components_baseInternationalPhoneInput_Component = require('
|
|
10
|
+
var components_baseInternationalPhoneInput_Component = require('../components/base-international-phone-input/Component.js');
|
|
11
11
|
require('react-merge-refs');
|
|
12
12
|
require('@maskito/core');
|
|
13
13
|
require('@maskito/react');
|
|
14
14
|
require('@alfalab/core-components-select/cssm/shared');
|
|
15
|
-
require('
|
|
15
|
+
require('../utils/index.js');
|
|
16
16
|
require('@alfalab/core-components-shared/cssm');
|
|
17
|
-
require('
|
|
18
|
-
require('
|
|
19
|
-
require('
|
|
17
|
+
require('../consts.js');
|
|
18
|
+
require('../data/country-data.js');
|
|
19
|
+
require('../components/country-select/Component.js');
|
|
20
20
|
require('@alfalab/icons-glyph/WorldMagnifierMIcon');
|
|
21
|
-
require('
|
|
21
|
+
require('../components/flag-icon/component.js');
|
|
22
22
|
require('classnames');
|
|
23
|
-
require('
|
|
24
|
-
require('
|
|
25
|
-
require('
|
|
23
|
+
require('../components/flag-icon/flagSprite.js');
|
|
24
|
+
require('../components/flag-icon/index.module.css');
|
|
25
|
+
require('../components/select-field/component.js');
|
|
26
26
|
require('@alfalab/hooks');
|
|
27
|
-
require('
|
|
28
|
-
require('
|
|
29
|
-
require('
|
|
27
|
+
require('../components/select-field/index.module.css');
|
|
28
|
+
require('../components/country-select/index.module.css');
|
|
29
|
+
require('../components/base-international-phone-input/index.module.css');
|
|
30
30
|
|
|
31
31
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
32
32
|
|
|
@@ -34,7 +34,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
34
34
|
|
|
35
35
|
var InternationalPhoneInputDesktop = React.forwardRef(function (_a, ref) {
|
|
36
36
|
var value = _a.value, _b = _a.clearableCountryCode, clearableCountryCode = _b === void 0 ? true : _b, restProps = tslib.__rest(_a, ["value", "clearableCountryCode"]);
|
|
37
|
-
return (React__default.default.createElement(components_baseInternationalPhoneInput_Component.BaseInternationalPhoneInput, tslib.__assign({ selected: value }, restProps, { clearableCountryCode: clearableCountryCode, value: value, view: 'desktop', ref: ref, SelectComponent: desktop.SelectDesktop, Input:
|
|
37
|
+
return (React__default.default.createElement(components_baseInternationalPhoneInput_Component.BaseInternationalPhoneInput, tslib.__assign({ selected: value }, restProps, { clearableCountryCode: clearableCountryCode, value: value, view: 'desktop', ref: ref, SelectComponent: desktop.SelectDesktop, Input: desktop$1.InputDesktop, InputAutocomplete: desktop$2.InputAutocompleteDesktop })));
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
exports.InternationalPhoneInputDesktop = InternationalPhoneInputDesktop;
|
package/cssm/desktop/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { InternationalPhoneInputDesktop } from "
|
|
1
|
+
export { InternationalPhoneInputDesktop } from "./Component.desktop";
|
|
2
2
|
export type { InternationalPhoneInputDesktopProps } from "../types";
|
package/cssm/desktop/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var desktop_Component_desktop = require('./Component.desktop.js');
|
|
6
6
|
require('tslib');
|
|
7
7
|
require('react');
|
|
8
|
-
require('@alfalab/core-components-input/cssm/
|
|
8
|
+
require('@alfalab/core-components-input/cssm/desktop');
|
|
9
9
|
require('@alfalab/core-components-input-autocomplete/cssm/desktop');
|
|
10
10
|
require('@alfalab/core-components-select/cssm/desktop');
|
|
11
11
|
require('../components/base-international-phone-input/Component.js');
|
|
@@ -31,4 +31,4 @@ require('../components/base-international-phone-input/index.module.css');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
exports.InternationalPhoneInputDesktop =
|
|
34
|
+
exports.InternationalPhoneInputDesktop = desktop_Component_desktop.InternationalPhoneInputDesktop;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
3
|
-
import { CommonButtonProps } from "./typings-
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { CommonButtonProps } from "./typings-553146b2";
|
|
4
4
|
declare const ButtonDesktop: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
5
|
export { ButtonDesktop };
|
|
6
|
+
export type { CommonButtonProps as ButtonDesktopProps } from "./typings-553146b2";
|