@alfalab/core-components-international-phone-input 2.7.10 → 2.7.11
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-8bdd19d3.d.ts → component-ee751dcf.d.ts} +11 -5
- package/{component-03d088c4.d.ts → component-f0afaf5b.d.ts} +5 -2
- package/components/base-international-phone-input/Component.js +1 -1
- package/components/base-international-phone-input/index.css +3 -3
- package/components/country-select/Component.js +1 -1
- package/components/country-select/index.css +9 -9
- package/components/flag-icon/component.js +1 -1
- package/components/flag-icon/index.css +4 -4
- package/components/select-field/component.js +1 -1
- package/components/select-field/index.css +10 -10
- package/{component-8bdd19d3.d.ts → cssm/component-ee751dcf.d.ts} +11 -5
- package/{modern/component-03d088c4.d.ts → cssm/component-f0afaf5b.d.ts} +5 -2
- package/cssm/components/base-international-phone-input/index.module.css +1 -1
- package/cssm/components/country-select/index.module.css +1 -1
- package/cssm/components/flag-icon/index.module.css +1 -1
- package/cssm/components/select-field/index.module.css +1 -1
- package/cssm/index-281accb7.d.ts +5 -2
- package/{esm/index-03d088c4.d.ts → cssm/index-f0afaf5b.d.ts} +5 -2
- package/cssm/typings-d515b24c.d.ts +6 -2
- package/{modern/component-8bdd19d3.d.ts → esm/component-ee751dcf.d.ts} +11 -5
- package/{cssm/component-03d088c4.d.ts → esm/component-f0afaf5b.d.ts} +5 -2
- package/esm/components/base-international-phone-input/Component.js +1 -1
- package/esm/components/base-international-phone-input/index.css +3 -3
- package/esm/components/country-select/Component.js +1 -1
- package/esm/components/country-select/index.css +9 -9
- package/esm/components/flag-icon/component.js +1 -1
- package/esm/components/flag-icon/index.css +4 -4
- package/esm/components/select-field/component.js +1 -1
- package/esm/components/select-field/index.css +10 -10
- package/esm/index-281accb7.d.ts +5 -2
- package/{cssm/index-03d088c4.d.ts → esm/index-f0afaf5b.d.ts} +5 -2
- package/esm/typings-d515b24c.d.ts +6 -2
- package/index-281accb7.d.ts +5 -2
- package/{index-03d088c4.d.ts → index-f0afaf5b.d.ts} +5 -2
- package/{cssm/component-8bdd19d3.d.ts → modern/component-ee751dcf.d.ts} +11 -5
- package/{esm/component-03d088c4.d.ts → modern/component-f0afaf5b.d.ts} +5 -2
- package/modern/components/base-international-phone-input/Component.js +1 -1
- package/modern/components/base-international-phone-input/index.css +3 -3
- package/modern/components/country-select/Component.js +1 -1
- package/modern/components/country-select/index.css +9 -9
- package/modern/components/flag-icon/component.js +1 -1
- package/modern/components/flag-icon/index.css +4 -4
- package/modern/components/select-field/component.js +1 -1
- package/modern/components/select-field/index.css +10 -10
- package/modern/index-281accb7.d.ts +5 -2
- package/modern/{index-03d088c4.d.ts → index-f0afaf5b.d.ts} +5 -2
- package/modern/typings-d515b24c.d.ts +6 -2
- package/moderncssm/component-ee751dcf.d.ts +129 -0
- package/moderncssm/component-f0afaf5b.d.ts +43 -0
- package/moderncssm/index-281accb7.d.ts +5 -2
- package/moderncssm/index-f0afaf5b.d.ts +23 -0
- package/moderncssm/typings-d515b24c.d.ts +6 -2
- package/package.json +4 -4
- package/typings-d515b24c.d.ts +6 -2
- package/moderncssm/component-03d088c4.d.ts +0 -40
- package/moderncssm/component-8bdd19d3.d.ts +0 -123
- package/moderncssm/index-03d088c4.d.ts +0 -20
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
import { Color } from "./colors-2c123cbc";
|
|
5
5
|
import { TextSkeletonProps } from "./types-1328ead9";
|
|
6
|
-
declare function getDefaultWeight(font: "styrene" | "system", platform: "mobile" | "desktop"): "medium" | "bold" | "semibold";
|
|
6
|
+
declare function getDefaultWeight(font: "styrene" | "system" | "alfasans", platform: "mobile" | "desktop"): "medium" | "bold" | "semibold";
|
|
7
7
|
type NativeProps = HTMLAttributes<HTMLHeadingElement>;
|
|
8
8
|
type TitleProps = Omit<NativeProps, 'color'> & {
|
|
9
9
|
/**
|
|
@@ -11,7 +11,7 @@ type TitleProps = Omit<NativeProps, 'color'> & {
|
|
|
11
11
|
*/
|
|
12
12
|
tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
|
|
13
13
|
/**
|
|
14
|
-
* [Вариант начертания](
|
|
14
|
+
* [Вариант начертания](?path=/docs/guidelines-typography--page)
|
|
15
15
|
*/
|
|
16
16
|
view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';
|
|
17
17
|
/**
|
|
@@ -25,7 +25,10 @@ type TitleProps = Omit<NativeProps, 'color'> & {
|
|
|
25
25
|
/**
|
|
26
26
|
* Шрифт текста
|
|
27
27
|
*/
|
|
28
|
-
font?: 'styrene' | 'system'
|
|
28
|
+
font?: 'styrene' | 'system' | 'alfasans' | {
|
|
29
|
+
font: 'alfasans';
|
|
30
|
+
systemCompat: boolean;
|
|
31
|
+
};
|
|
29
32
|
/**
|
|
30
33
|
* Добавляет отступы
|
|
31
34
|
*/
|
|
@@ -72,7 +75,7 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
|
|
|
72
75
|
*/
|
|
73
76
|
tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
|
|
74
77
|
/**
|
|
75
|
-
* [Вариант начертания](
|
|
78
|
+
* [Вариант начертания](?path=/docs/guidelines-typography--page)
|
|
76
79
|
*/
|
|
77
80
|
view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
|
|
78
81
|
/**
|
|
@@ -86,7 +89,10 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
|
|
|
86
89
|
/**
|
|
87
90
|
* Шрифт текста
|
|
88
91
|
*/
|
|
89
|
-
font?: "styrene" | "system" |
|
|
92
|
+
font?: "alfasans" | "styrene" | "system" | {
|
|
93
|
+
font: 'alfasans';
|
|
94
|
+
systemCompat: boolean;
|
|
95
|
+
} | undefined;
|
|
90
96
|
/**
|
|
91
97
|
* Добавляет отступы
|
|
92
98
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { TitleProps } from "./index-
|
|
3
|
+
import { TitleProps } from "./index-f0afaf5b";
|
|
4
4
|
type TitleResponsiveProps = TitleProps & {
|
|
5
5
|
/**
|
|
6
6
|
* Контрольная точка, с нее начинается desktop версия
|
|
@@ -17,7 +17,10 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
|
|
|
17
17
|
view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
|
|
18
18
|
color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-positive" | undefined;
|
|
19
19
|
weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
20
|
-
font?: "styrene" | "system" |
|
|
20
|
+
font?: "alfasans" | "styrene" | "system" | {
|
|
21
|
+
font: "alfasans";
|
|
22
|
+
systemCompat: boolean;
|
|
23
|
+
} | undefined;
|
|
21
24
|
defaultMargins?: boolean | undefined;
|
|
22
25
|
className?: string | undefined;
|
|
23
26
|
dataTestId?: string | 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_1ow5s","addons":"international-phone-input__addons_1ow5s"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
23
|
var BaseInternationalPhoneInput = React.forwardRef(function (_a, ref) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: pbmdx */
|
|
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 */
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
/* stylelint-disable-next-line length-zero-no-unit */
|
|
22
22
|
--gap-0: 0px;
|
|
23
23
|
} :root {
|
|
24
|
-
} :root {
|
|
25
|
-
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-
|
|
24
|
+
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
25
|
+
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_1ow5s .international-phone-input__addons_1ow5s {
|
|
26
26
|
padding-left: var(--gap-0);
|
|
27
27
|
}
|
|
@@ -14,7 +14,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
16
16
|
|
|
17
|
-
var styles = {"component":"international-phone-
|
|
17
|
+
var styles = {"component":"international-phone-input__component_rbxdb","option":"international-phone-input__option_rbxdb","flag":"international-phone-input__flag_rbxdb","countryName":"international-phone-input__countryName_rbxdb","dialCode":"international-phone-input__dialCode_rbxdb","flagIconWrapper":"international-phone-input__flagIconWrapper_rbxdb","emptyCountryIcon":"international-phone-input__emptyCountryIcon_rbxdb"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
20
|
var CountrySelect = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: okipp */
|
|
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);
|
|
@@ -26,30 +26,30 @@
|
|
|
26
26
|
--gap-8: var(--gap-xs);
|
|
27
27
|
--gap-12: var(--gap-s);
|
|
28
28
|
} :root {
|
|
29
|
-
} :root {
|
|
30
|
-
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-
|
|
29
|
+
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
30
|
+
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_rbxdb {
|
|
31
31
|
position: static;
|
|
32
32
|
display: flex;
|
|
33
33
|
min-width: initial;
|
|
34
34
|
height: 100%;
|
|
35
|
-
} .international-phone-
|
|
35
|
+
} .international-phone-input__option_rbxdb {
|
|
36
36
|
display: flex;
|
|
37
37
|
align-items: flex-start;
|
|
38
38
|
padding: var(--gap-12);
|
|
39
|
-
} .international-phone-
|
|
39
|
+
} .international-phone-input__flag_rbxdb {
|
|
40
40
|
flex-shrink: 0;
|
|
41
41
|
margin-right: var(--gap-8);
|
|
42
|
-
} .international-phone-
|
|
42
|
+
} .international-phone-input__countryName_rbxdb {
|
|
43
43
|
margin-right: var(--gap-8);
|
|
44
|
-
} .international-phone-
|
|
44
|
+
} .international-phone-input__dialCode_rbxdb {
|
|
45
45
|
color: var(--color-light-text-secondary);
|
|
46
|
-
} .international-phone-
|
|
46
|
+
} .international-phone-input__flagIconWrapper_rbxdb {
|
|
47
47
|
display: flex;
|
|
48
48
|
justify-content: center;
|
|
49
49
|
align-items: center;
|
|
50
50
|
width: 24px;
|
|
51
51
|
height: 24px;
|
|
52
52
|
margin-left: var(--gap-12);
|
|
53
|
-
} .international-phone-
|
|
53
|
+
} .international-phone-input__emptyCountryIcon_rbxdb {
|
|
54
54
|
color: var(--color-light-neutral-translucent-700);
|
|
55
55
|
}
|
|
@@ -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_htb0c","flagPlaceholder":"international-phone-input__flagPlaceholder_htb0c"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: a87cg */
|
|
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 */
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
/* stylelint-disable-next-line length-zero-no-unit */
|
|
26
26
|
--gap-2: var(--gap-3xs);
|
|
27
27
|
} :root {
|
|
28
|
-
} :root {
|
|
29
|
-
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-
|
|
28
|
+
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
29
|
+
} /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__flagIcon_htb0c {
|
|
30
30
|
max-width: 24px;
|
|
31
31
|
max-height: 24px;
|
|
32
|
-
} .international-phone-
|
|
32
|
+
} .international-phone-input__flagPlaceholder_htb0c {
|
|
33
33
|
width: 24px;
|
|
34
34
|
height: 16px;
|
|
35
35
|
max-height: 16px;
|
|
@@ -16,7 +16,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
16
16
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
17
17
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
18
18
|
|
|
19
|
-
var styles = {"component":"international-phone-
|
|
19
|
+
var styles = {"component":"international-phone-input__component_1j0sv","flagIconContainer":"international-phone-input__flagIconContainer_1j0sv","emptyCountryIcon":"international-phone-input__emptyCountryIcon_1j0sv","disabled":"international-phone-input__disabled_1j0sv","inner":"international-phone-input__inner_1j0sv","size-64":"international-phone-input__size-64_1j0sv","size-72":"international-phone-input__size-72_1j0sv","focusVisible":"international-phone-input__focusVisible_1j0sv"};
|
|
20
20
|
require('./index.css')
|
|
21
21
|
|
|
22
22
|
var EMPTY_COUNTRY_SELECT_FIELD = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 4m9k0 */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-translucent-700: rgba(4, 4, 21, 0.47);
|
|
@@ -28,36 +28,36 @@
|
|
|
28
28
|
--gap-12: var(--gap-s);
|
|
29
29
|
--gap-16: var(--gap-m);
|
|
30
30
|
} :root {
|
|
31
|
-
} :root {
|
|
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_1j0sv {
|
|
35
35
|
height: 100%;
|
|
36
36
|
cursor: pointer;
|
|
37
37
|
outline: none;
|
|
38
38
|
position: relative;
|
|
39
|
-
} .international-phone-
|
|
39
|
+
} .international-phone-input__flagIconContainer_1j0sv {
|
|
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_1j0sv {
|
|
47
47
|
color: var(--color-light-neutral-translucent-700);
|
|
48
|
-
} .international-phone-
|
|
48
|
+
} .international-phone-input__disabled_1j0sv {
|
|
49
49
|
cursor: var(--disabled-cursor);
|
|
50
|
-
} .international-phone-
|
|
50
|
+
} .international-phone-input__inner_1j0sv {
|
|
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-
|
|
58
|
-
.international-phone-input__size-
|
|
57
|
+
} .international-phone-input__size-64_1j0sv .international-phone-input__inner_1j0sv,
|
|
58
|
+
.international-phone-input__size-72_1j0sv .international-phone-input__inner_1j0sv {
|
|
59
59
|
padding-left: var(--gap-16);
|
|
60
|
-
} .international-phone-
|
|
60
|
+
} .international-phone-input__focusVisible_1j0sv {
|
|
61
61
|
outline: 2px solid var(--focus-color);
|
|
62
62
|
outline-offset: 2px;
|
|
63
63
|
}
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
import { Color } from "./colors-2c123cbc";
|
|
5
5
|
import { TextSkeletonProps } from "./types-1328ead9";
|
|
6
|
-
declare function getDefaultWeight(font: "styrene" | "system", platform: "mobile" | "desktop"): "medium" | "bold" | "semibold";
|
|
6
|
+
declare function getDefaultWeight(font: "styrene" | "system" | "alfasans", platform: "mobile" | "desktop"): "medium" | "bold" | "semibold";
|
|
7
7
|
type NativeProps = HTMLAttributes<HTMLHeadingElement>;
|
|
8
8
|
type TitleProps = Omit<NativeProps, 'color'> & {
|
|
9
9
|
/**
|
|
@@ -11,7 +11,7 @@ type TitleProps = Omit<NativeProps, 'color'> & {
|
|
|
11
11
|
*/
|
|
12
12
|
tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
|
|
13
13
|
/**
|
|
14
|
-
* [Вариант начертания](
|
|
14
|
+
* [Вариант начертания](?path=/docs/guidelines-typography--page)
|
|
15
15
|
*/
|
|
16
16
|
view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';
|
|
17
17
|
/**
|
|
@@ -25,7 +25,10 @@ type TitleProps = Omit<NativeProps, 'color'> & {
|
|
|
25
25
|
/**
|
|
26
26
|
* Шрифт текста
|
|
27
27
|
*/
|
|
28
|
-
font?: 'styrene' | 'system'
|
|
28
|
+
font?: 'styrene' | 'system' | 'alfasans' | {
|
|
29
|
+
font: 'alfasans';
|
|
30
|
+
systemCompat: boolean;
|
|
31
|
+
};
|
|
29
32
|
/**
|
|
30
33
|
* Добавляет отступы
|
|
31
34
|
*/
|
|
@@ -72,7 +75,7 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
|
|
|
72
75
|
*/
|
|
73
76
|
tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
|
|
74
77
|
/**
|
|
75
|
-
* [Вариант начертания](
|
|
78
|
+
* [Вариант начертания](?path=/docs/guidelines-typography--page)
|
|
76
79
|
*/
|
|
77
80
|
view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
|
|
78
81
|
/**
|
|
@@ -86,7 +89,10 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
|
|
|
86
89
|
/**
|
|
87
90
|
* Шрифт текста
|
|
88
91
|
*/
|
|
89
|
-
font?: "styrene" | "system" |
|
|
92
|
+
font?: "alfasans" | "styrene" | "system" | {
|
|
93
|
+
font: 'alfasans';
|
|
94
|
+
systemCompat: boolean;
|
|
95
|
+
} | undefined;
|
|
90
96
|
/**
|
|
91
97
|
* Добавляет отступы
|
|
92
98
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { TitleProps } from "./index-
|
|
3
|
+
import { TitleProps } from "./index-f0afaf5b";
|
|
4
4
|
type TitleResponsiveProps = TitleProps & {
|
|
5
5
|
/**
|
|
6
6
|
* Контрольная точка, с нее начинается desktop версия
|
|
@@ -17,7 +17,10 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
|
|
|
17
17
|
view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
|
|
18
18
|
color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-positive" | undefined;
|
|
19
19
|
weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
20
|
-
font?: "styrene" | "system" |
|
|
20
|
+
font?: "alfasans" | "styrene" | "system" | {
|
|
21
|
+
font: "alfasans";
|
|
22
|
+
systemCompat: boolean;
|
|
23
|
+
} | undefined;
|
|
21
24
|
defaultMargins?: boolean | undefined;
|
|
22
25
|
className?: string | undefined;
|
|
23
26
|
dataTestId?: string | undefined;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
/* stylelint-disable-next-line length-zero-no-unit */
|
|
21
21
|
--gap-0: 0px;
|
|
22
22
|
} :root {
|
|
23
|
-
} :root {
|
|
23
|
+
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
24
24
|
} /* сбрасывает синюю подсветку при нажатии */ .component .addons {
|
|
25
25
|
padding-left: var(--gap-0);
|
|
26
26
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
--gap-8: var(--gap-xs);
|
|
26
26
|
--gap-12: var(--gap-s);
|
|
27
27
|
} :root {
|
|
28
|
-
} :root {
|
|
28
|
+
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
29
29
|
} /* сбрасывает синюю подсветку при нажатии */ .component {
|
|
30
30
|
position: static;
|
|
31
31
|
display: flex;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
/* stylelint-disable-next-line length-zero-no-unit */
|
|
25
25
|
--gap-2: var(--gap-3xs);
|
|
26
26
|
} :root {
|
|
27
|
-
} :root {
|
|
27
|
+
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
28
28
|
} /* сбрасывает синюю подсветку при нажатии */ .flagIcon {
|
|
29
29
|
max-width: 24px;
|
|
30
30
|
max-height: 24px;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
--gap-12: var(--gap-s);
|
|
28
28
|
--gap-16: var(--gap-m);
|
|
29
29
|
} :root {
|
|
30
|
-
} :root {
|
|
30
|
+
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
31
31
|
--focus-color: var(--color-light-status-info);
|
|
32
32
|
--disabled-cursor: not-allowed;
|
|
33
33
|
} /* сбрасывает синюю подсветку при нажатии */ .component {
|
package/cssm/index-281accb7.d.ts
CHANGED
|
@@ -5,7 +5,10 @@ declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
|
|
|
5
5
|
view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
|
|
6
6
|
color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-positive" | undefined;
|
|
7
7
|
weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
8
|
-
font?: "styrene" | "system" |
|
|
8
|
+
font?: "alfasans" | "styrene" | "system" | {
|
|
9
|
+
font: "alfasans";
|
|
10
|
+
systemCompat: boolean;
|
|
11
|
+
} | undefined;
|
|
9
12
|
defaultMargins?: boolean | undefined;
|
|
10
13
|
className?: string | undefined;
|
|
11
14
|
dataTestId?: string | undefined;
|
|
@@ -16,4 +19,4 @@ declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
|
|
|
16
19
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
17
20
|
} & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
|
|
18
21
|
export { TitleMobile };
|
|
19
|
-
export type { TitleProps as TitleMobileProps } from "./component-
|
|
22
|
+
export type { TitleProps as TitleMobileProps } from "./component-ee751dcf";
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { TitleProps } from "./component-
|
|
3
|
+
import { TitleProps } from "./component-ee751dcf";
|
|
4
4
|
declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
|
|
5
5
|
tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
6
6
|
view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
|
|
7
7
|
color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-positive" | undefined;
|
|
8
8
|
weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
9
|
-
font?: "styrene" | "system" |
|
|
9
|
+
font?: "alfasans" | "styrene" | "system" | {
|
|
10
|
+
font: "alfasans";
|
|
11
|
+
systemCompat: boolean;
|
|
12
|
+
} | undefined;
|
|
10
13
|
defaultMargins?: boolean | undefined;
|
|
11
14
|
className?: string | undefined;
|
|
12
15
|
dataTestId?: string | undefined;
|
|
@@ -14,7 +14,7 @@ import { BasePlacement, VariationPlacement } from "@popperjs/core";
|
|
|
14
14
|
import { SwipeableHandlers, SwipeDirections } from "react-swipeable";
|
|
15
15
|
import { Color } from "./colors-2c123cbc";
|
|
16
16
|
import { TextElementType, TextSkeletonProps } from "./types-1328ead9";
|
|
17
|
-
import { Title, TitleProps } from "./index-
|
|
17
|
+
import { Title, TitleProps } from "./index-f0afaf5b";
|
|
18
18
|
import { TitleMobile, TitleMobileProps } from "./index-281accb7";
|
|
19
19
|
import { InputProps } from "@alfalab/core-components-input";
|
|
20
20
|
interface BackArrowAddonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
@@ -777,6 +777,10 @@ type TextBaseProps = {
|
|
|
777
777
|
* Пропы для скелетона
|
|
778
778
|
*/
|
|
779
779
|
skeletonProps?: TextSkeletonProps;
|
|
780
|
+
/**
|
|
781
|
+
* Шрифт текста
|
|
782
|
+
*/
|
|
783
|
+
font?: "alfasans" | undefined | null;
|
|
780
784
|
};
|
|
781
785
|
type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
|
|
782
786
|
tag?: "p";
|
|
@@ -1626,7 +1630,7 @@ export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl
|
|
|
1626
1630
|
export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps, TextProps };
|
|
1627
1631
|
export { ModalResponsiveProps as ModalProps } from "./typings-4b7234ef";
|
|
1628
1632
|
export type { ContentProps as ModalContentProps } from "./typings-4b7234ef";
|
|
1629
|
-
export type { TitleProps } from "./index-
|
|
1633
|
+
export type { TitleProps } from "./index-f0afaf5b";
|
|
1630
1634
|
export type { Color } from "./colors-2c123cbc";
|
|
1631
1635
|
export * from "./Component.desktop-ebda875c";
|
|
1632
1636
|
export * from "./Component.mobile-ebda875c";
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
import { Color } from "./colors-2c123cbc";
|
|
5
5
|
import { TextSkeletonProps } from "./types-1328ead9";
|
|
6
|
-
declare function getDefaultWeight(font: "styrene" | "system", platform: "mobile" | "desktop"): "medium" | "bold" | "semibold";
|
|
6
|
+
declare function getDefaultWeight(font: "styrene" | "system" | "alfasans", platform: "mobile" | "desktop"): "medium" | "bold" | "semibold";
|
|
7
7
|
type NativeProps = HTMLAttributes<HTMLHeadingElement>;
|
|
8
8
|
type TitleProps = Omit<NativeProps, 'color'> & {
|
|
9
9
|
/**
|
|
@@ -11,7 +11,7 @@ type TitleProps = Omit<NativeProps, 'color'> & {
|
|
|
11
11
|
*/
|
|
12
12
|
tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
|
|
13
13
|
/**
|
|
14
|
-
* [Вариант начертания](
|
|
14
|
+
* [Вариант начертания](?path=/docs/guidelines-typography--page)
|
|
15
15
|
*/
|
|
16
16
|
view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';
|
|
17
17
|
/**
|
|
@@ -25,7 +25,10 @@ type TitleProps = Omit<NativeProps, 'color'> & {
|
|
|
25
25
|
/**
|
|
26
26
|
* Шрифт текста
|
|
27
27
|
*/
|
|
28
|
-
font?: 'styrene' | 'system'
|
|
28
|
+
font?: 'styrene' | 'system' | 'alfasans' | {
|
|
29
|
+
font: 'alfasans';
|
|
30
|
+
systemCompat: boolean;
|
|
31
|
+
};
|
|
29
32
|
/**
|
|
30
33
|
* Добавляет отступы
|
|
31
34
|
*/
|
|
@@ -72,7 +75,7 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
|
|
|
72
75
|
*/
|
|
73
76
|
tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
|
|
74
77
|
/**
|
|
75
|
-
* [Вариант начертания](
|
|
78
|
+
* [Вариант начертания](?path=/docs/guidelines-typography--page)
|
|
76
79
|
*/
|
|
77
80
|
view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
|
|
78
81
|
/**
|
|
@@ -86,7 +89,10 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
|
|
|
86
89
|
/**
|
|
87
90
|
* Шрифт текста
|
|
88
91
|
*/
|
|
89
|
-
font?: "styrene" | "system" |
|
|
92
|
+
font?: "alfasans" | "styrene" | "system" | {
|
|
93
|
+
font: 'alfasans';
|
|
94
|
+
systemCompat: boolean;
|
|
95
|
+
} | undefined;
|
|
90
96
|
/**
|
|
91
97
|
* Добавляет отступы
|
|
92
98
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { TitleProps } from "./index-
|
|
3
|
+
import { TitleProps } from "./index-f0afaf5b";
|
|
4
4
|
type TitleResponsiveProps = TitleProps & {
|
|
5
5
|
/**
|
|
6
6
|
* Контрольная точка, с нее начинается desktop версия
|
|
@@ -17,7 +17,10 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
|
|
|
17
17
|
view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
|
|
18
18
|
color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-positive" | undefined;
|
|
19
19
|
weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
20
|
-
font?: "styrene" | "system" |
|
|
20
|
+
font?: "alfasans" | "styrene" | "system" | {
|
|
21
|
+
font: "alfasans";
|
|
22
|
+
systemCompat: boolean;
|
|
23
|
+
} | undefined;
|
|
21
24
|
defaultMargins?: boolean | undefined;
|
|
22
25
|
className?: string | undefined;
|
|
23
26
|
dataTestId?: string | 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_1ow5s","addons":"international-phone-input__addons_1ow5s"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var BaseInternationalPhoneInput = forwardRef(function (_a, ref) {
|