@alfalab/core-components-international-phone-input 2.7.19 → 2.7.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{Component-d515b24c.d.ts → Component-30750b73.d.ts} +1 -1
- package/Component.responsive.d.ts +4 -4
- package/components/base-international-phone-input/Component.d.ts +1 -1
- 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 +10 -10
- 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 +8 -8
- package/{esm/consts-98cfb385.d.ts → consts-8f7f754c.d.ts} +2 -1
- package/{esm/Component-d515b24c.d.ts → cssm/Component-30750b73.d.ts} +1 -1
- package/cssm/Component.responsive.d.ts +4 -4
- package/cssm/components/base-international-phone-input/Component.d.ts +1 -1
- package/{consts-98cfb385.d.ts → cssm/consts-8f7f754c.d.ts} +2 -1
- package/cssm/types.d.ts +1 -1
- package/cssm/{typings-d515b24c.d.ts → typings-30750b73.d.ts} +25 -1
- package/cssm/{utils-3abda7a6.d.ts → utils-5e95612d.d.ts} +3 -2
- package/{cssm/Component-d515b24c.d.ts → esm/Component-30750b73.d.ts} +1 -1
- package/esm/Component.responsive.d.ts +4 -4
- package/esm/components/base-international-phone-input/Component.d.ts +1 -1
- 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 +10 -10
- 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 +8 -8
- package/{modern/consts-98cfb385.d.ts → esm/consts-8f7f754c.d.ts} +2 -1
- package/esm/types.d.ts +1 -1
- package/esm/{typings-d515b24c.d.ts → typings-30750b73.d.ts} +25 -1
- package/esm/{utils-3abda7a6.d.ts → utils-5e95612d.d.ts} +3 -2
- package/modern/{Component-d515b24c.d.ts → Component-30750b73.d.ts} +1 -1
- package/modern/Component.responsive.d.ts +4 -4
- package/modern/components/base-international-phone-input/Component.d.ts +1 -1
- 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 +10 -10
- 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 +8 -8
- package/{cssm/consts-98cfb385.d.ts → modern/consts-8f7f754c.d.ts} +2 -1
- package/modern/types.d.ts +1 -1
- package/modern/{typings-d515b24c.d.ts → typings-30750b73.d.ts} +25 -1
- package/modern/{utils-3abda7a6.d.ts → utils-5e95612d.d.ts} +3 -2
- package/moderncssm/Component-30750b73.d.ts +5 -0
- package/moderncssm/Component.responsive.d.ts +4 -4
- package/moderncssm/components/base-international-phone-input/Component.d.ts +1 -1
- package/moderncssm/consts-8f7f754c.d.ts +14 -0
- package/moderncssm/types.d.ts +1 -1
- package/moderncssm/{typings-d515b24c.d.ts → typings-30750b73.d.ts} +25 -1
- package/moderncssm/{utils-3abda7a6.d.ts → utils-5e95612d.d.ts} +3 -2
- package/package.json +4 -4
- package/types.d.ts +1 -1
- package/{typings-d515b24c.d.ts → typings-30750b73.d.ts} +25 -1
- package/utils-5e95612d.d.ts +83 -0
- package/moderncssm/Component-d515b24c.d.ts +0 -5
- package/moderncssm/consts-98cfb385.d.ts +0 -13
- package/utils-3abda7a6.d.ts +0 -82
|
@@ -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-30750b73";
|
|
4
4
|
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
|
|
5
5
|
export { Optgroup };
|
|
@@ -8,7 +8,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
8
8
|
clearableCountryCode?: boolean | "preserve" | undefined;
|
|
9
9
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
10
10
|
clear?: boolean | undefined;
|
|
11
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
11
|
+
filterFn?: ((value: string | undefined, option: import("./typings-30750b73").OptionShape) => boolean) | undefined;
|
|
12
12
|
onCountryChange?: ((country?: import("./index-464d40a4").Country | undefined) => void) | undefined;
|
|
13
13
|
onChange?: ((phone: string) => void) | undefined;
|
|
14
14
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
@@ -29,15 +29,15 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
29
29
|
clearableCountryCode?: boolean | "preserve" | undefined;
|
|
30
30
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
31
31
|
clear?: boolean | undefined;
|
|
32
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
32
|
+
filterFn?: ((value: string | undefined, option: import("./typings-30750b73").OptionShape) => boolean) | undefined;
|
|
33
33
|
onCountryChange?: ((country?: import("./index-464d40a4").Country | undefined) => void) | undefined;
|
|
34
34
|
onChange?: ((phone: string) => void) | undefined;
|
|
35
35
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
36
36
|
onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
37
37
|
} & {
|
|
38
|
-
options: (import("./typings-
|
|
38
|
+
options: (import("./typings-30750b73").OptionShape | import("./typings-30750b73").GroupShape)[];
|
|
39
39
|
} & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteCommonProps, "onChange" | "onInput" | "onClear"> & {
|
|
40
|
-
options: (import("./typings-
|
|
40
|
+
options: (import("./typings-30750b73").OptionShape | import("./typings-30750b73").GroupShape)[];
|
|
41
41
|
} & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteMobileProps, "onChange" | "onInput" | "onClear"> & {
|
|
42
42
|
breakpoint?: number | undefined;
|
|
43
43
|
client?: "desktop" | "mobile" | undefined;
|
|
@@ -10,7 +10,7 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
|
|
|
10
10
|
clearableCountryCode?: boolean | "preserve" | undefined;
|
|
11
11
|
countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
|
|
12
12
|
clear?: boolean | undefined;
|
|
13
|
-
filterFn?: ((value: string | undefined, option: import("../../typings-
|
|
13
|
+
filterFn?: ((value: string | undefined, option: import("../../typings-30750b73").OptionShape) => boolean) | undefined;
|
|
14
14
|
onCountryChange?: ((country?: Country | undefined) => void) | undefined;
|
|
15
15
|
onChange?: ((phone: string) => void) | undefined;
|
|
16
16
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
@@ -17,7 +17,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
18
18
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
19
19
|
|
|
20
|
-
var styles = {"component":"international-phone-
|
|
20
|
+
var styles = {"component":"international-phone-input__component_l68wn","addons":"international-phone-input__addons_l68wn"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
23
|
var BaseInternationalPhoneInput = React.forwardRef(function (_a, ref) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 58cu6 */
|
|
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 */
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
--gap-0: 0px;
|
|
23
23
|
} :root {
|
|
24
24
|
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
25
|
-
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-
|
|
25
|
+
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_l68wn .international-phone-input__addons_l68wn {
|
|
26
26
|
padding-left: var(--gap-0);
|
|
27
27
|
}
|
|
@@ -17,7 +17,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
18
18
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
19
19
|
|
|
20
|
-
var styles = {"component":"international-phone-
|
|
20
|
+
var styles = {"component":"international-phone-input__component_l323f","option":"international-phone-input__option_l323f","mobile":"international-phone-input__mobile_l323f","size-72":"international-phone-input__size-72_l323f","flag":"international-phone-input__flag_l323f","countryName":"international-phone-input__countryName_l323f","dialCode":"international-phone-input__dialCode_l323f","flagIconWrapper":"international-phone-input__flagIconWrapper_l323f","emptyCountryIcon":"international-phone-input__emptyCountryIcon_l323f"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
23
|
var CountrySelect = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: pa4zc */
|
|
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);
|
|
@@ -29,32 +29,32 @@
|
|
|
29
29
|
--gap-16: var(--gap-m);
|
|
30
30
|
} :root {
|
|
31
31
|
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
32
|
-
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-
|
|
32
|
+
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_l323f {
|
|
33
33
|
position: static;
|
|
34
34
|
display: flex;
|
|
35
35
|
min-width: initial;
|
|
36
36
|
height: 100%;
|
|
37
|
-
} .international-phone-
|
|
37
|
+
} .international-phone-input__option_l323f {
|
|
38
38
|
display: flex;
|
|
39
39
|
align-items: flex-start;
|
|
40
40
|
padding: var(--gap-12)
|
|
41
|
-
} .international-phone-
|
|
42
|
-
.international-phone-
|
|
41
|
+
} .international-phone-input__option_l323f.international-phone-input__mobile_l323f,
|
|
42
|
+
.international-phone-input__option_l323f.international-phone-input__size-72_l323f {
|
|
43
43
|
padding-left: var(--gap-16);
|
|
44
|
-
} .international-phone-
|
|
44
|
+
} .international-phone-input__flag_l323f {
|
|
45
45
|
flex-shrink: 0;
|
|
46
46
|
margin-right: var(--gap-8);
|
|
47
|
-
} .international-phone-
|
|
47
|
+
} .international-phone-input__countryName_l323f {
|
|
48
48
|
margin-right: var(--gap-8);
|
|
49
|
-
} .international-phone-
|
|
49
|
+
} .international-phone-input__dialCode_l323f {
|
|
50
50
|
color: var(--color-light-text-secondary);
|
|
51
|
-
} .international-phone-
|
|
51
|
+
} .international-phone-input__flagIconWrapper_l323f {
|
|
52
52
|
display: flex;
|
|
53
53
|
justify-content: center;
|
|
54
54
|
align-items: center;
|
|
55
55
|
width: 24px;
|
|
56
56
|
height: 24px;
|
|
57
57
|
margin-left: var(--gap-12);
|
|
58
|
-
} .international-phone-
|
|
58
|
+
} .international-phone-input__emptyCountryIcon_l323f {
|
|
59
59
|
color: var(--color-light-neutral-translucent-700);
|
|
60
60
|
}
|
|
@@ -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_1v604","flagPlaceholder":"international-phone-input__flagPlaceholder_1v604"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ds1kt */
|
|
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 */
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
--gap-2: var(--gap-3xs);
|
|
27
27
|
} :root {
|
|
28
28
|
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
29
|
-
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-
|
|
29
|
+
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__flagIcon_1v604 {
|
|
30
30
|
max-width: 24px;
|
|
31
31
|
max-height: 24px;
|
|
32
|
-
} .international-phone-
|
|
32
|
+
} .international-phone-input__flagPlaceholder_1v604 {
|
|
33
33
|
width: 24px;
|
|
34
34
|
height: 16px;
|
|
35
35
|
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_nploz","flagIconContainer":"international-phone-input__flagIconContainer_nploz","emptyCountryIcon":"international-phone-input__emptyCountryIcon_nploz","disabled":"international-phone-input__disabled_nploz","inner":"international-phone-input__inner_nploz","size-72":"international-phone-input__size-72_nploz","focusVisible":"international-phone-input__focusVisible_nploz"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
23
|
var EMPTY_COUNTRY_SELECT_FIELD = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ta3yy */
|
|
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);
|
|
@@ -31,32 +31,32 @@
|
|
|
31
31
|
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
32
32
|
--focus-color: var(--color-light-status-info);
|
|
33
33
|
--disabled-cursor: not-allowed;
|
|
34
|
-
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-
|
|
34
|
+
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_nploz {
|
|
35
35
|
height: 100%;
|
|
36
36
|
cursor: pointer;
|
|
37
37
|
outline: none;
|
|
38
38
|
position: relative;
|
|
39
|
-
} .international-phone-
|
|
39
|
+
} .international-phone-input__flagIconContainer_nploz {
|
|
40
40
|
display: flex;
|
|
41
41
|
justify-content: center;
|
|
42
42
|
align-items: center;
|
|
43
43
|
width: 24px;
|
|
44
44
|
height: 24px;
|
|
45
45
|
margin-right: var(--gap-4);
|
|
46
|
-
} .international-phone-
|
|
46
|
+
} .international-phone-input__emptyCountryIcon_nploz {
|
|
47
47
|
color: var(--color-light-neutral-translucent-700);
|
|
48
|
-
} .international-phone-
|
|
48
|
+
} .international-phone-input__disabled_nploz {
|
|
49
49
|
cursor: var(--disabled-cursor);
|
|
50
|
-
} .international-phone-
|
|
50
|
+
} .international-phone-input__inner_nploz {
|
|
51
51
|
position: relative;
|
|
52
52
|
display: flex;
|
|
53
53
|
align-items: center;
|
|
54
54
|
height: 100%;
|
|
55
55
|
padding-left: var(--gap-12);
|
|
56
56
|
outline: none;
|
|
57
|
-
} .international-phone-input__size-
|
|
57
|
+
} .international-phone-input__size-72_nploz .international-phone-input__inner_nploz {
|
|
58
58
|
padding-left: var(--gap-16);
|
|
59
|
-
} .international-phone-
|
|
59
|
+
} .international-phone-input__focusVisible_nploz {
|
|
60
60
|
outline: 2px solid var(--focus-color);
|
|
61
61
|
outline-offset: 2px;
|
|
62
62
|
}
|
|
@@ -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-30750b73";
|
|
4
4
|
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
|
|
5
5
|
export { Optgroup };
|
|
@@ -8,7 +8,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
8
8
|
clearableCountryCode?: boolean | "preserve" | undefined;
|
|
9
9
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
10
10
|
clear?: boolean | undefined;
|
|
11
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
11
|
+
filterFn?: ((value: string | undefined, option: import("./typings-30750b73").OptionShape) => boolean) | undefined;
|
|
12
12
|
onCountryChange?: ((country?: import("./index-464d40a4").Country | undefined) => void) | undefined;
|
|
13
13
|
onChange?: ((phone: string) => void) | undefined;
|
|
14
14
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
@@ -29,15 +29,15 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
29
29
|
clearableCountryCode?: boolean | "preserve" | undefined;
|
|
30
30
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
31
31
|
clear?: boolean | undefined;
|
|
32
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
32
|
+
filterFn?: ((value: string | undefined, option: import("./typings-30750b73").OptionShape) => boolean) | undefined;
|
|
33
33
|
onCountryChange?: ((country?: import("./index-464d40a4").Country | undefined) => void) | undefined;
|
|
34
34
|
onChange?: ((phone: string) => void) | undefined;
|
|
35
35
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
36
36
|
onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
37
37
|
} & {
|
|
38
|
-
options: (import("./typings-
|
|
38
|
+
options: (import("./typings-30750b73").OptionShape | import("./typings-30750b73").GroupShape)[];
|
|
39
39
|
} & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteCommonProps, "onChange" | "onInput" | "onClear"> & {
|
|
40
|
-
options: (import("./typings-
|
|
40
|
+
options: (import("./typings-30750b73").OptionShape | import("./typings-30750b73").GroupShape)[];
|
|
41
41
|
} & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteMobileProps, "onChange" | "onInput" | "onClear"> & {
|
|
42
42
|
breakpoint?: number | undefined;
|
|
43
43
|
client?: "desktop" | "mobile" | undefined;
|
|
@@ -10,7 +10,7 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
|
|
|
10
10
|
clearableCountryCode?: boolean | "preserve" | undefined;
|
|
11
11
|
countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
|
|
12
12
|
clear?: boolean | undefined;
|
|
13
|
-
filterFn?: ((value: string | undefined, option: import("../../typings-
|
|
13
|
+
filterFn?: ((value: string | undefined, option: import("../../typings-30750b73").OptionShape) => boolean) | undefined;
|
|
14
14
|
onCountryChange?: ((country?: Country | undefined) => void) | undefined;
|
|
15
15
|
onChange?: ((phone: string) => void) | undefined;
|
|
16
16
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
package/cssm/types.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { InputMobileProps } from "@alfalab/core-components-input/mobile";
|
|
|
5
5
|
import { InputAutocompleteProps } from "@alfalab/core-components-input-autocomplete";
|
|
6
6
|
import { InputAutocompleteDesktopProps } from "@alfalab/core-components-input-autocomplete/desktop";
|
|
7
7
|
import { InputAutocompleteMobileProps } from "@alfalab/core-components-input-autocomplete/mobile";
|
|
8
|
-
import { OptionShape } from "./typings-
|
|
8
|
+
import { OptionShape } from "./typings-30750b73";
|
|
9
9
|
import { Country } from "./index-464d40a4";
|
|
10
10
|
import { SharedCountrySelectProps } from "./components/country-select/index";
|
|
11
11
|
import { CountriesData } from "./data/country-data";
|
|
@@ -505,6 +505,7 @@ declare const FormControl: React.ForwardRefExoticComponent<Omit<BaseFormControlP
|
|
|
505
505
|
client?: "desktop" | "mobile" | undefined;
|
|
506
506
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
507
507
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
508
|
+
declare const Content: FC<ContentProps>;
|
|
508
509
|
interface ControlsProps {
|
|
509
510
|
/**
|
|
510
511
|
* Основной слот
|
|
@@ -529,6 +530,7 @@ interface ControlsProps {
|
|
|
529
530
|
*/
|
|
530
531
|
gap?: 16 | 24 | 32;
|
|
531
532
|
}
|
|
533
|
+
declare const Controls: React.FC<ControlsProps>;
|
|
532
534
|
type FooterProps = {
|
|
533
535
|
/**
|
|
534
536
|
* Контент футера
|
|
@@ -551,7 +553,20 @@ type FooterProps = {
|
|
|
551
553
|
*/
|
|
552
554
|
gap?: 16 | 24 | 32;
|
|
553
555
|
};
|
|
556
|
+
declare const Footer: FC<FooterProps>;
|
|
554
557
|
type HeaderProps = Omit<NavigationBarPrivateProps, "size" | "view" | "parentRef">;
|
|
558
|
+
declare const Header: FC<HeaderProps>;
|
|
559
|
+
declare const ModalResponsiveComponent: React.ForwardRefExoticComponent<import("./index-11f20b2e").BaseModalProps & {
|
|
560
|
+
size?: "s" | "m" | "l" | "xl" | 500 | "fullscreen" | 600 | 800 | 1140 | undefined;
|
|
561
|
+
fullscreen?: boolean | undefined;
|
|
562
|
+
fixedPosition?: boolean | undefined;
|
|
563
|
+
hasCloser?: boolean | undefined;
|
|
564
|
+
iOSLock?: boolean | undefined;
|
|
565
|
+
} & {
|
|
566
|
+
breakpoint?: number | undefined;
|
|
567
|
+
client?: "desktop" | "mobile" | undefined;
|
|
568
|
+
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
569
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
555
570
|
declare const ModalResponsive: React.ForwardRefExoticComponent<import("./index-11f20b2e").BaseModalProps & {
|
|
556
571
|
size?: "s" | "m" | "l" | "xl" | 500 | "fullscreen" | 600 | 800 | 1140 | undefined;
|
|
557
572
|
fullscreen?: boolean | undefined;
|
|
@@ -1059,7 +1074,12 @@ type BaseSelectProps = {
|
|
|
1059
1074
|
valueRenderer?: ({ selected, selectedMultiple, }: {
|
|
1060
1075
|
selected?: OptionShape;
|
|
1061
1076
|
selectedMultiple: OptionShape[];
|
|
1077
|
+
valueSeparator?: string;
|
|
1062
1078
|
}) => ReactNode;
|
|
1079
|
+
/**
|
|
1080
|
+
* Кастомный разделитель выбранных пунктов (Работает когда не прокинут valueRenderer)
|
|
1081
|
+
*/
|
|
1082
|
+
valueSeparator?: string;
|
|
1063
1083
|
/**
|
|
1064
1084
|
* Компонент стрелки
|
|
1065
1085
|
*/
|
|
@@ -1233,6 +1253,10 @@ type FieldProps = {
|
|
|
1233
1253
|
* Кастомный рендер выбранного пункта
|
|
1234
1254
|
*/
|
|
1235
1255
|
valueRenderer?: BaseSelectProps['valueRenderer'];
|
|
1256
|
+
/**
|
|
1257
|
+
* Кастомный разделитель выбранных пунктов
|
|
1258
|
+
*/
|
|
1259
|
+
valueSeparator?: BaseSelectProps['valueSeparator'];
|
|
1236
1260
|
/**
|
|
1237
1261
|
* Внутренние свойства, которые должны быть установлены компоненту.
|
|
1238
1262
|
*/
|
|
@@ -1641,7 +1665,7 @@ type ClearButtonProps = {
|
|
|
1641
1665
|
*/
|
|
1642
1666
|
size?: FormControlProps['size'];
|
|
1643
1667
|
};
|
|
1644
|
-
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, horizontalDirections, ShouldSkipSwipingParams, useVisualViewportSize, useVisibleViewportSize, Typography, Text, Title as TitleDesktop, TitleResponsive, TitleMobile, typographyPresets, SwipeDirection, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionCommonProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps, ClearButtonProps };
|
|
1668
|
+
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalResponsive, ModalResponsiveComponent as ModalComponentResponsive, Header as HeaderResponsive, Content as ContentResponsive, Footer as FooterResponsive, Controls as ControlsResponsive, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, horizontalDirections, ShouldSkipSwipingParams, useVisualViewportSize, useVisibleViewportSize, Typography, Text, Title as TitleDesktop, TitleResponsive, TitleMobile, typographyPresets, SwipeDirection, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionCommonProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps, ClearButtonProps };
|
|
1645
1669
|
export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps, TextProps };
|
|
1646
1670
|
export { ModalResponsiveProps as ModalProps } from "./typings-4b7234ef";
|
|
1647
1671
|
export type { ContentProps as ModalContentProps } from "./typings-4b7234ef";
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-
|
|
2
|
+
import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-30750b73";
|
|
3
3
|
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
4
|
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
|
-
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
5
|
+
declare const joinOptions: ({ selected, selectedMultiple, valueSeparator, }: {
|
|
6
6
|
selected?: OptionShape | undefined;
|
|
7
7
|
selectedMultiple?: OptionShape[] | undefined;
|
|
8
|
+
valueSeparator?: string | undefined;
|
|
8
9
|
}) => ReactNode[] | null;
|
|
9
10
|
declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
|
|
10
11
|
filteredOptions: (OptionShape | GroupShape)[];
|
|
@@ -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-30750b73";
|
|
4
4
|
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
|
|
5
5
|
export { Optgroup };
|
|
@@ -8,7 +8,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
8
8
|
clearableCountryCode?: boolean | "preserve" | undefined;
|
|
9
9
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
10
10
|
clear?: boolean | undefined;
|
|
11
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
11
|
+
filterFn?: ((value: string | undefined, option: import("./typings-30750b73").OptionShape) => boolean) | undefined;
|
|
12
12
|
onCountryChange?: ((country?: import("./index-464d40a4").Country | undefined) => void) | undefined;
|
|
13
13
|
onChange?: ((phone: string) => void) | undefined;
|
|
14
14
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
@@ -29,15 +29,15 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
29
29
|
clearableCountryCode?: boolean | "preserve" | undefined;
|
|
30
30
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
31
31
|
clear?: boolean | undefined;
|
|
32
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
32
|
+
filterFn?: ((value: string | undefined, option: import("./typings-30750b73").OptionShape) => boolean) | undefined;
|
|
33
33
|
onCountryChange?: ((country?: import("./index-464d40a4").Country | undefined) => void) | undefined;
|
|
34
34
|
onChange?: ((phone: string) => void) | undefined;
|
|
35
35
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
36
36
|
onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
37
37
|
} & {
|
|
38
|
-
options: (import("./typings-
|
|
38
|
+
options: (import("./typings-30750b73").OptionShape | import("./typings-30750b73").GroupShape)[];
|
|
39
39
|
} & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteCommonProps, "onChange" | "onInput" | "onClear"> & {
|
|
40
|
-
options: (import("./typings-
|
|
40
|
+
options: (import("./typings-30750b73").OptionShape | import("./typings-30750b73").GroupShape)[];
|
|
41
41
|
} & Omit<import("@alfalab/core-components-input-autocomplete/types").InputAutocompleteMobileProps, "onChange" | "onInput" | "onClear"> & {
|
|
42
42
|
breakpoint?: number | undefined;
|
|
43
43
|
client?: "desktop" | "mobile" | undefined;
|
|
@@ -10,7 +10,7 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
|
|
|
10
10
|
clearableCountryCode?: boolean | "preserve" | undefined;
|
|
11
11
|
countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
|
|
12
12
|
clear?: boolean | undefined;
|
|
13
|
-
filterFn?: ((value: string | undefined, option: import("../../typings-
|
|
13
|
+
filterFn?: ((value: string | undefined, option: import("../../typings-30750b73").OptionShape) => boolean) | undefined;
|
|
14
14
|
onCountryChange?: ((country?: Country | undefined) => void) | undefined;
|
|
15
15
|
onChange?: ((phone: string) => void) | undefined;
|
|
16
16
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
@@ -8,7 +8,7 @@ import { isNullable } from '@alfalab/core-components-shared/esm';
|
|
|
8
8
|
import { initCountries, findCountry, filterPhones, createMaskOptions, getClear, getPhoneData, getInitialValueFromCountry } from '../../utils/index.js';
|
|
9
9
|
import { CountrySelect } from '../country-select/Component.js';
|
|
10
10
|
|
|
11
|
-
var styles = {"component":"international-phone-
|
|
11
|
+
var styles = {"component":"international-phone-input__component_l68wn","addons":"international-phone-input__addons_l68wn"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var BaseInternationalPhoneInput = forwardRef(function (_a, ref) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 58cu6 */
|
|
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 */
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
--gap-0: 0px;
|
|
23
23
|
} :root {
|
|
24
24
|
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
25
|
-
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-
|
|
25
|
+
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_l68wn .international-phone-input__addons_l68wn {
|
|
26
26
|
padding-left: var(--gap-0);
|
|
27
27
|
}
|
|
@@ -8,7 +8,7 @@ import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
|
|
|
8
8
|
import { FlagIcon } from '../flag-icon/component.js';
|
|
9
9
|
import { EMPTY_COUNTRY_SELECT_FIELD, SelectField } from '../select-field/component.js';
|
|
10
10
|
|
|
11
|
-
var styles = {"component":"international-phone-
|
|
11
|
+
var styles = {"component":"international-phone-input__component_l323f","option":"international-phone-input__option_l323f","mobile":"international-phone-input__mobile_l323f","size-72":"international-phone-input__size-72_l323f","flag":"international-phone-input__flag_l323f","countryName":"international-phone-input__countryName_l323f","dialCode":"international-phone-input__dialCode_l323f","flagIconWrapper":"international-phone-input__flagIconWrapper_l323f","emptyCountryIcon":"international-phone-input__emptyCountryIcon_l323f"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var CountrySelect = function (_a) {
|