@salutejs/plasma-new-hope 0.317.0-canary.1886.14216115492.0 → 0.317.0-dev.0
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/cjs/components/Typography/Body/Body.css +1 -1
- package/cjs/components/Typography/Typography.js +4 -4
- package/cjs/components/Typography/Typography.js.map +1 -1
- package/cjs/components/Typography/Typography.styles.js +1 -1
- package/cjs/components/Typography/Typography.styles.js.map +1 -1
- package/cjs/components/Typography/{Typography.styles_c0qunc.css → Typography.styles_fa07dt.css} +1 -1
- package/cjs/components/Typography/tokens.js +1 -3
- package/cjs/components/Typography/tokens.js.map +1 -1
- package/cjs/index.css +1 -1
- package/emotion/cjs/components/Typography/Typography.js +4 -4
- package/emotion/cjs/components/Typography/Typography.styles.js +1 -1
- package/emotion/cjs/components/Typography/Typography.template-doc.mdx +9 -26
- package/emotion/cjs/components/Typography/tokens.js +1 -3
- package/emotion/cjs/examples/typography/components/Body/Body.config.js +5 -5
- package/emotion/cjs/examples/typography/components/Body/Body.stories.tsx +0 -13
- package/emotion/cjs/examples/typography/components/Dspl/Dspl.config.js +3 -3
- package/emotion/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +0 -13
- package/emotion/cjs/examples/typography/components/Heading/Heading.config.js +5 -5
- package/emotion/cjs/examples/typography/components/Heading/Heading.stories.tsx +0 -13
- package/emotion/cjs/examples/typography/components/Text/Text.config.js +4 -4
- package/emotion/cjs/examples/typography/components/Text/Text.stories.tsx +0 -13
- package/emotion/es/components/Typography/Typography.js +4 -4
- package/emotion/es/components/Typography/Typography.styles.js +1 -1
- package/emotion/es/components/Typography/Typography.template-doc.mdx +9 -26
- package/emotion/es/components/Typography/tokens.js +1 -3
- package/emotion/es/examples/typography/components/Body/Body.config.js +5 -5
- package/emotion/es/examples/typography/components/Body/Body.stories.tsx +0 -13
- package/emotion/es/examples/typography/components/Dspl/Dspl.config.js +3 -3
- package/emotion/es/examples/typography/components/Dspl/Dspl.stories.tsx +0 -13
- package/emotion/es/examples/typography/components/Heading/Heading.config.js +5 -5
- package/emotion/es/examples/typography/components/Heading/Heading.stories.tsx +0 -13
- package/emotion/es/examples/typography/components/Text/Text.config.js +4 -4
- package/emotion/es/examples/typography/components/Text/Text.stories.tsx +0 -13
- package/es/components/Typography/Body/Body.css +1 -1
- package/es/components/Typography/Typography.js +4 -4
- package/es/components/Typography/Typography.js.map +1 -1
- package/es/components/Typography/Typography.styles.js +1 -1
- package/es/components/Typography/Typography.styles.js.map +1 -1
- package/es/components/Typography/{Typography.styles_c0qunc.css → Typography.styles_fa07dt.css} +1 -1
- package/es/components/Typography/tokens.js +1 -3
- package/es/components/Typography/tokens.js.map +1 -1
- package/es/index.css +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Typography/Typography.js +4 -4
- package/styled-components/cjs/components/Typography/Typography.styles.js +1 -1
- package/styled-components/cjs/components/Typography/Typography.template-doc.mdx +9 -26
- package/styled-components/cjs/components/Typography/tokens.js +1 -3
- package/styled-components/cjs/examples/typography/components/Body/Body.config.js +5 -5
- package/styled-components/cjs/examples/typography/components/Body/Body.stories.tsx +0 -13
- package/styled-components/cjs/examples/typography/components/Dspl/Dspl.config.js +3 -3
- package/styled-components/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +0 -13
- package/styled-components/cjs/examples/typography/components/Heading/Heading.config.js +5 -5
- package/styled-components/cjs/examples/typography/components/Heading/Heading.stories.tsx +0 -13
- package/styled-components/cjs/examples/typography/components/Text/Text.config.js +4 -4
- package/styled-components/cjs/examples/typography/components/Text/Text.stories.tsx +0 -13
- package/styled-components/es/components/Typography/Typography.js +4 -4
- package/styled-components/es/components/Typography/Typography.styles.js +1 -1
- package/styled-components/es/components/Typography/Typography.template-doc.mdx +9 -26
- package/styled-components/es/components/Typography/tokens.js +1 -3
- package/styled-components/es/examples/typography/components/Body/Body.config.js +5 -5
- package/styled-components/es/examples/typography/components/Body/Body.stories.tsx +0 -13
- package/styled-components/es/examples/typography/components/Dspl/Dspl.config.js +3 -3
- package/styled-components/es/examples/typography/components/Dspl/Dspl.stories.tsx +0 -13
- package/styled-components/es/examples/typography/components/Heading/Heading.config.js +5 -5
- package/styled-components/es/examples/typography/components/Heading/Heading.stories.tsx +0 -13
- package/styled-components/es/examples/typography/components/Text/Text.config.js +4 -4
- package/styled-components/es/examples/typography/components/Text/Text.stories.tsx +0 -13
- package/types/components/Typography/Body/Body.d.ts +10 -2
- package/types/components/Typography/Body/Body.d.ts.map +1 -1
- package/types/components/Typography/Dspl/Dspl.d.ts +10 -2
- package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
- package/types/components/Typography/Heading/Heading.d.ts +10 -2
- package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
- package/types/components/Typography/Text/Text.d.ts +10 -2
- package/types/components/Typography/Text/Text.d.ts.map +1 -1
- package/types/components/Typography/Typography.d.ts +5 -1
- package/types/components/Typography/Typography.d.ts.map +1 -1
- package/types/components/Typography/Typography.styles.d.ts.map +1 -1
- package/types/components/Typography/Typography.types.d.ts +5 -22
- package/types/components/Typography/Typography.types.d.ts.map +1 -1
- package/types/components/Typography/tokens.d.ts +0 -2
- package/types/components/Typography/tokens.d.ts.map +1 -1
@@ -52,15 +52,12 @@ export function App() {
|
|
52
52
|
<div style=\{{ display: 'block' }}>
|
53
53
|
<DsplL bold={false}>DsplL</DsplL>
|
54
54
|
<DsplL>DsplL Bold</DsplL>
|
55
|
-
<DsplL medium>DsplL Medium</DsplL>
|
56
55
|
|
57
56
|
<DsplM bold={false}>DsplM</DsplM>
|
58
57
|
<DsplM>DsplM Bold</DsplM>
|
59
|
-
<DsplM medium>DsplM Medium</DsplM>
|
60
58
|
|
61
59
|
<DsplS bold={false}>DsplS</DsplS>
|
62
60
|
<DsplS>DsplS Bold</DsplS>
|
63
|
-
<DsplS medium>DsplS Medium</DsplS>
|
64
61
|
</div>
|
65
62
|
);
|
66
63
|
}
|
@@ -77,23 +74,18 @@ export function App() {
|
|
77
74
|
<div style=\{{ display: 'block' }}>
|
78
75
|
<H1 bold={false}>H1</H1>
|
79
76
|
<H1>H1 Bold</H1>
|
80
|
-
<H1 medium>H1 Medium</H1>
|
81
77
|
|
82
78
|
<H2 bold={false}>H2</H2>
|
83
79
|
<H2>H2 Bold</H2>
|
84
|
-
<H2 medium>H2 Medium</H2>
|
85
80
|
|
86
81
|
<H3 bold={false}>H3</H3>
|
87
82
|
<H3>H3 Bold</H3>
|
88
|
-
<H3 medium>H3 Medium</H3>
|
89
83
|
|
90
84
|
<H4 bold={false}>H4</H4>
|
91
85
|
<H4>H4 Bold</H4>
|
92
|
-
<H4 medium>H4 Medium</H4>
|
93
86
|
|
94
87
|
<H5 bold={false}>H5</H5>
|
95
88
|
<H5>H5 Bold</H5>
|
96
|
-
<H5 medium>H5 Medium</H5>
|
97
89
|
</div>
|
98
90
|
);
|
99
91
|
}
|
@@ -110,24 +102,19 @@ export function App() {
|
|
110
102
|
return (
|
111
103
|
<div style=\{{ display: 'block' }}>
|
112
104
|
<BodyL>BodyL</BodyL>
|
113
|
-
<BodyL bold>BodyL
|
114
|
-
<BodyL medium>BodyL Medium</BodyL>
|
105
|
+
<BodyL bold>BodyL полужирный</BodyL>
|
115
106
|
|
116
107
|
<BodyM>BodyM</BodyM>
|
117
|
-
<BodyM bold>BodyM
|
118
|
-
<BodyM medium>BodyM Medium</BodyM>
|
108
|
+
<BodyM bold>BodyM полужирный</BodyM>
|
119
109
|
|
120
110
|
<BodyS>BodyS</BodyS>
|
121
|
-
<BodyS bold>BodyS
|
122
|
-
<BodyS medium>BodyS Medium</BodyS>
|
111
|
+
<BodyS bold>BodyS полужирный</BodyS>
|
123
112
|
|
124
113
|
<BodyXS>BodyXS</BodyXS>
|
125
|
-
<BodyXS bold>BodyXS
|
126
|
-
<BodyXS medium>BodyXS Medium</BodyXS>
|
114
|
+
<BodyXS bold>BodyXS полужирный</BodyXS>
|
127
115
|
|
128
116
|
<BodyXXS>BodyXXS</BodyXXS>
|
129
|
-
<BodyXXS bold>BodyXXS
|
130
|
-
<BodyXXS medium>BodyXXS Medium</BodyXXS>
|
117
|
+
<BodyXXS bold>BodyXXS полужирный</BodyXXS>
|
131
118
|
</div>
|
132
119
|
);
|
133
120
|
}
|
@@ -144,20 +131,16 @@ export function App() {
|
|
144
131
|
return (
|
145
132
|
<div style=\{{ display: 'block' }}>
|
146
133
|
<TextL>TextL</TextL>
|
147
|
-
<TextL bold>TextL
|
148
|
-
<TextL medium>TextL Medium</TextL>
|
134
|
+
<TextL bold>TextL полужирный</TextL>
|
149
135
|
|
150
136
|
<TextM>TextM</TextM>
|
151
|
-
<TextM bold>TextM
|
152
|
-
<TextM medium>TextM Medium</TextM>
|
137
|
+
<TextM bold>TextM полужирный</TextM>
|
153
138
|
|
154
139
|
<TextS>TextS</TextS>
|
155
|
-
<TextS bold>TextS
|
156
|
-
<TextS medium>TextS Medium</TextS>
|
140
|
+
<TextS bold>TextS полужирный</TextS>
|
157
141
|
|
158
142
|
<TextXS>TextXS</TextXS>
|
159
|
-
<TextXS bold>TextXS
|
160
|
-
<TextXS medium>TextXS Medium</TextXS>
|
143
|
+
<TextXS bold>TextXS полужирный</TextXS>
|
161
144
|
</div>
|
162
145
|
);
|
163
146
|
}
|
@@ -1,8 +1,7 @@
|
|
1
1
|
export var classes = {
|
2
2
|
typoWithNoWrap: 'with-no-wrap',
|
3
3
|
typoWithBreakWord: 'with-break-word',
|
4
|
-
typoBold: 'typography-bold'
|
5
|
-
typoMedium: 'typography-medium'
|
4
|
+
typoBold: 'typography-bold'
|
6
5
|
};
|
7
6
|
export var tokens = {
|
8
7
|
typoFontFamily: '--typo-font-family',
|
@@ -10,7 +9,6 @@ export var tokens = {
|
|
10
9
|
typoFontStyle: '--typo-font-style',
|
11
10
|
typoFontWeight: '--typo-font-weight',
|
12
11
|
typoFontWeightBold: '--typo-font-weight-bold',
|
13
|
-
typoFontWeightMedium: '--typo-font-weight-medium',
|
14
12
|
typoFontLetterSpacing: '--typo-font-letter-spacing',
|
15
13
|
typoFontLineHeight: '--typo-font-line-height'
|
16
14
|
};
|
@@ -6,11 +6,11 @@ export var config = {
|
|
6
6
|
},
|
7
7
|
variations: {
|
8
8
|
size: {
|
9
|
-
l: /*#__PURE__*/css(["", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-
|
10
|
-
m: /*#__PURE__*/css(["", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-bold-font-weight);", ":var(--plasma-typo-body-m-
|
11
|
-
s: /*#__PURE__*/css(["", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-bold-font-weight);", ":var(--plasma-typo-body-s-
|
12
|
-
xs: /*#__PURE__*/css(["", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":var(--plasma-typo-body-xs-
|
13
|
-
xxs: /*#__PURE__*/css(["", ":var(--plasma-typo-body-xxs-font-family);", ":var(--plasma-typo-body-xxs-font-size);", ":var(--plasma-typo-body-xxs-font-style);", ":var(--plasma-typo-body-xxs-font-weight);", ":var(--plasma-typo-body-xxs-bold-font-weight);", ":var(--plasma-typo-body-xxs-
|
9
|
+
l: /*#__PURE__*/css(["", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
10
|
+
m: /*#__PURE__*/css(["", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-bold-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
11
|
+
s: /*#__PURE__*/css(["", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-bold-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
12
|
+
xs: /*#__PURE__*/css(["", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
13
|
+
xxs: /*#__PURE__*/css(["", ":var(--plasma-typo-body-xxs-font-family);", ":var(--plasma-typo-body-xxs-font-size);", ":var(--plasma-typo-body-xxs-font-style);", ":var(--plasma-typo-body-xxs-font-weight);", ":var(--plasma-typo-body-xxs-bold-font-weight);", ":var(--plasma-typo-body-xxs-letter-spacing);", ":var(--plasma-typo-body-xxs-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
14
14
|
}
|
15
15
|
}
|
16
16
|
};
|
@@ -22,24 +22,11 @@ const meta: Meta<typeof Body> = {
|
|
22
22
|
as: {
|
23
23
|
control: 'text',
|
24
24
|
},
|
25
|
-
bold: {
|
26
|
-
control: {
|
27
|
-
type: 'boolean',
|
28
|
-
},
|
29
|
-
if: { arg: 'medium', truthy: false },
|
30
|
-
},
|
31
|
-
medium: {
|
32
|
-
control: {
|
33
|
-
type: 'boolean',
|
34
|
-
},
|
35
|
-
if: { arg: 'bold', truthy: false },
|
36
|
-
},
|
37
25
|
},
|
38
26
|
args: {
|
39
27
|
noWrap: false,
|
40
28
|
breakWord: true,
|
41
29
|
bold: false,
|
42
|
-
medium: false,
|
43
30
|
},
|
44
31
|
};
|
45
32
|
|
@@ -6,9 +6,9 @@ export var config = {
|
|
6
6
|
},
|
7
7
|
variations: {
|
8
8
|
size: {
|
9
|
-
l: /*#__PURE__*/css(["", ":var(--plasma-typo-dspl-l-font-family);", ":var(--plasma-typo-dspl-l-font-size);", ":var(--plasma-typo-dspl-l-font-style);", ":var(--plasma-typo-dspl-l-font-weight);", ":var(--plasma-typo-dspl-l-bold-font-weight);", ":var(--plasma-typo-dspl-l-
|
10
|
-
m: /*#__PURE__*/css(["", ":var(--plasma-typo-dspl-m-font-family);", ":var(--plasma-typo-dspl-m-font-size);", ":var(--plasma-typo-dspl-m-font-style);", ":var(--plasma-typo-dspl-m-font-weight);", ":var(--plasma-typo-dspl-m-bold-font-weight);", ":var(--plasma-typo-dspl-m-
|
11
|
-
s: /*#__PURE__*/css(["", ":var(--plasma-typo-dspl-s-font-family);", ":var(--plasma-typo-dspl-s-font-size);", ":var(--plasma-typo-dspl-s-font-style);", ":var(--plasma-typo-dspl-s-font-weight);", ":var(--plasma-typo-dspl-s-bold-font-weight);", ":var(--plasma-typo-dspl-s-
|
9
|
+
l: /*#__PURE__*/css(["", ":var(--plasma-typo-dspl-l-font-family);", ":var(--plasma-typo-dspl-l-font-size);", ":var(--plasma-typo-dspl-l-font-style);", ":var(--plasma-typo-dspl-l-font-weight);", ":var(--plasma-typo-dspl-l-bold-font-weight);", ":var(--plasma-typo-dspl-l-letter-spacing);", ":var(--plasma-typo-dspl-l-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
10
|
+
m: /*#__PURE__*/css(["", ":var(--plasma-typo-dspl-m-font-family);", ":var(--plasma-typo-dspl-m-font-size);", ":var(--plasma-typo-dspl-m-font-style);", ":var(--plasma-typo-dspl-m-font-weight);", ":var(--plasma-typo-dspl-m-bold-font-weight);", ":var(--plasma-typo-dspl-m-letter-spacing);", ":var(--plasma-typo-dspl-m-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
11
|
+
s: /*#__PURE__*/css(["", ":var(--plasma-typo-dspl-s-font-family);", ":var(--plasma-typo-dspl-s-font-size);", ":var(--plasma-typo-dspl-s-font-style);", ":var(--plasma-typo-dspl-s-font-weight);", ":var(--plasma-typo-dspl-s-bold-font-weight);", ":var(--plasma-typo-dspl-s-letter-spacing);", ":var(--plasma-typo-dspl-s-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
12
12
|
}
|
13
13
|
}
|
14
14
|
};
|
@@ -22,24 +22,11 @@ const meta: Meta<typeof Dspl> = {
|
|
22
22
|
as: {
|
23
23
|
control: 'text',
|
24
24
|
},
|
25
|
-
bold: {
|
26
|
-
control: {
|
27
|
-
type: 'boolean',
|
28
|
-
},
|
29
|
-
if: { arg: 'medium', truthy: false },
|
30
|
-
},
|
31
|
-
medium: {
|
32
|
-
control: {
|
33
|
-
type: 'boolean',
|
34
|
-
},
|
35
|
-
if: { arg: 'bold', truthy: false },
|
36
|
-
},
|
37
25
|
},
|
38
26
|
args: {
|
39
27
|
noWrap: false,
|
40
28
|
breakWord: true,
|
41
29
|
bold: false,
|
42
|
-
medium: false,
|
43
30
|
},
|
44
31
|
};
|
45
32
|
|
@@ -6,11 +6,11 @@ export var config = {
|
|
6
6
|
},
|
7
7
|
variations: {
|
8
8
|
size: {
|
9
|
-
h1: /*#__PURE__*/css(["", ":var(--plasma-typo-h1-font-family);", ":var(--plasma-typo-h1-font-size);", ":var(--plasma-typo-h1-font-style);", ":var(--plasma-typo-h1-font-weight);", ":var(--plasma-typo-h1-bold-font-weight);", ":var(--plasma-typo-h1-
|
10
|
-
h2: /*#__PURE__*/css(["", ":var(--plasma-typo-h2-font-family);", ":var(--plasma-typo-h2-font-size);", ":var(--plasma-typo-h2-font-style);", ":var(--plasma-typo-h2-font-weight);", ":var(--plasma-typo-h2-bold-font-weight);", ":var(--plasma-typo-h2-
|
11
|
-
h3: /*#__PURE__*/css(["", ":var(--plasma-typo-h3-font-family);", ":var(--plasma-typo-h3-font-size);", ":var(--plasma-typo-h3-font-style);", ":var(--plasma-typo-h3-font-weight);", ":var(--plasma-typo-h3-bold-font-weight);", ":var(--plasma-typo-h3-
|
12
|
-
h4: /*#__PURE__*/css(["", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":var(--plasma-typo-h4-
|
13
|
-
h5: /*#__PURE__*/css(["", ":var(--plasma-typo-h5-font-family);", ":var(--plasma-typo-h5-font-size);", ":var(--plasma-typo-h5-font-style);", ":var(--plasma-typo-h5-font-weight);", ":var(--plasma-typo-h5-bold-font-weight);", ":var(--plasma-typo-h5-
|
9
|
+
h1: /*#__PURE__*/css(["", ":var(--plasma-typo-h1-font-family);", ":var(--plasma-typo-h1-font-size);", ":var(--plasma-typo-h1-font-style);", ":var(--plasma-typo-h1-font-weight);", ":var(--plasma-typo-h1-bold-font-weight);", ":var(--plasma-typo-h1-letter-spacing);", ":var(--plasma-typo-h1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
10
|
+
h2: /*#__PURE__*/css(["", ":var(--plasma-typo-h2-font-family);", ":var(--plasma-typo-h2-font-size);", ":var(--plasma-typo-h2-font-style);", ":var(--plasma-typo-h2-font-weight);", ":var(--plasma-typo-h2-bold-font-weight);", ":var(--plasma-typo-h2-letter-spacing);", ":var(--plasma-typo-h2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
11
|
+
h3: /*#__PURE__*/css(["", ":var(--plasma-typo-h3-font-family);", ":var(--plasma-typo-h3-font-size);", ":var(--plasma-typo-h3-font-style);", ":var(--plasma-typo-h3-font-weight);", ":var(--plasma-typo-h3-bold-font-weight);", ":var(--plasma-typo-h3-letter-spacing);", ":var(--plasma-typo-h3-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
12
|
+
h4: /*#__PURE__*/css(["", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
13
|
+
h5: /*#__PURE__*/css(["", ":var(--plasma-typo-h5-font-family);", ":var(--plasma-typo-h5-font-size);", ":var(--plasma-typo-h5-font-style);", ":var(--plasma-typo-h5-font-weight);", ":var(--plasma-typo-h5-bold-font-weight);", ":var(--plasma-typo-h5-letter-spacing);", ":var(--plasma-typo-h5-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
14
14
|
}
|
15
15
|
}
|
16
16
|
};
|
@@ -22,24 +22,11 @@ const meta: Meta<typeof Heading> = {
|
|
22
22
|
as: {
|
23
23
|
control: 'text',
|
24
24
|
},
|
25
|
-
bold: {
|
26
|
-
control: {
|
27
|
-
type: 'boolean',
|
28
|
-
},
|
29
|
-
if: { arg: 'medium', truthy: false },
|
30
|
-
},
|
31
|
-
medium: {
|
32
|
-
control: {
|
33
|
-
type: 'boolean',
|
34
|
-
},
|
35
|
-
if: { arg: 'bold', truthy: false },
|
36
|
-
},
|
37
25
|
},
|
38
26
|
args: {
|
39
27
|
noWrap: false,
|
40
28
|
breakWord: true,
|
41
29
|
bold: false,
|
42
|
-
medium: false,
|
43
30
|
},
|
44
31
|
};
|
45
32
|
|
@@ -6,10 +6,10 @@ export var config = {
|
|
6
6
|
},
|
7
7
|
variations: {
|
8
8
|
size: {
|
9
|
-
l: /*#__PURE__*/css(["", ":var(--plasma-typo-text-l-font-family);", ":var(--plasma-typo-text-l-font-size);", ":var(--plasma-typo-text-l-font-style);", ":var(--plasma-typo-text-l-font-weight);", ":var(--plasma-typo-text-l-bold-font-weight);", ":var(--plasma-typo-text-l-
|
10
|
-
m: /*#__PURE__*/css(["", ":var(--plasma-typo-text-m-font-family);", ":var(--plasma-typo-text-m-font-size);", ":var(--plasma-typo-text-m-font-style);", ":var(--plasma-typo-text-m-font-weight);", ":var(--plasma-typo-text-m-bold-font-weight);", ":var(--plasma-typo-text-m-
|
11
|
-
s: /*#__PURE__*/css(["", ":var(--plasma-typo-text-s-font-family);", ":var(--plasma-typo-text-s-font-size);", ":var(--plasma-typo-text-s-font-style);", ":var(--plasma-typo-text-s-font-weight);", ":var(--plasma-typo-text-s-bold-font-weight);", ":var(--plasma-typo-text-s-
|
12
|
-
xs: /*#__PURE__*/css(["", ":var(--plasma-typo-text-xs-font-family);", ":var(--plasma-typo-text-xs-font-size);", ":var(--plasma-typo-text-xs-font-style);", ":var(--plasma-typo-text-xs-font-weight);", ":var(--plasma-typo-text-xs-bold-font-weight);", ":var(--plasma-typo-text-xs-
|
9
|
+
l: /*#__PURE__*/css(["", ":var(--plasma-typo-text-l-font-family);", ":var(--plasma-typo-text-l-font-size);", ":var(--plasma-typo-text-l-font-style);", ":var(--plasma-typo-text-l-font-weight);", ":var(--plasma-typo-text-l-bold-font-weight);", ":var(--plasma-typo-text-l-letter-spacing);", ":var(--plasma-typo-text-l-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
10
|
+
m: /*#__PURE__*/css(["", ":var(--plasma-typo-text-m-font-family);", ":var(--plasma-typo-text-m-font-size);", ":var(--plasma-typo-text-m-font-style);", ":var(--plasma-typo-text-m-font-weight);", ":var(--plasma-typo-text-m-bold-font-weight);", ":var(--plasma-typo-text-m-letter-spacing);", ":var(--plasma-typo-text-m-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
11
|
+
s: /*#__PURE__*/css(["", ":var(--plasma-typo-text-s-font-family);", ":var(--plasma-typo-text-s-font-size);", ":var(--plasma-typo-text-s-font-style);", ":var(--plasma-typo-text-s-font-weight);", ":var(--plasma-typo-text-s-bold-font-weight);", ":var(--plasma-typo-text-s-letter-spacing);", ":var(--plasma-typo-text-s-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
|
12
|
+
xs: /*#__PURE__*/css(["", ":var(--plasma-typo-text-xs-font-family);", ":var(--plasma-typo-text-xs-font-size);", ":var(--plasma-typo-text-xs-font-style);", ":var(--plasma-typo-text-xs-font-weight);", ":var(--plasma-typo-text-xs-bold-font-weight);", ":var(--plasma-typo-text-xs-letter-spacing);", ":var(--plasma-typo-text-xs-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
|
13
13
|
}
|
14
14
|
}
|
15
15
|
};
|
@@ -22,24 +22,11 @@ const meta: Meta<typeof Text> = {
|
|
22
22
|
as: {
|
23
23
|
control: 'text',
|
24
24
|
},
|
25
|
-
bold: {
|
26
|
-
control: {
|
27
|
-
type: 'boolean',
|
28
|
-
},
|
29
|
-
if: { arg: 'medium', truthy: false },
|
30
|
-
},
|
31
|
-
medium: {
|
32
|
-
control: {
|
33
|
-
type: 'boolean',
|
34
|
-
},
|
35
|
-
if: { arg: 'bold', truthy: false },
|
36
|
-
},
|
37
25
|
},
|
38
26
|
args: {
|
39
27
|
noWrap: false,
|
40
28
|
breakWord: true,
|
41
29
|
bold: false,
|
42
|
-
medium: false,
|
43
30
|
},
|
44
31
|
};
|
45
32
|
|
@@ -1,11 +1,19 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import type { FontProps } from '../Typography.types';
|
3
3
|
export declare type BodyProps = FontProps;
|
4
|
-
export declare const bodyRoot: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<
|
4
|
+
export declare const bodyRoot: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
5
|
+
noWrap?: boolean | undefined;
|
6
|
+
breakWord?: boolean | undefined;
|
7
|
+
color?: string | undefined;
|
8
|
+
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("../../..").AsProps<any> & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
5
9
|
export declare const bodyConfig: {
|
6
10
|
name: string;
|
7
11
|
tag: string;
|
8
|
-
layout: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<
|
12
|
+
layout: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
13
|
+
noWrap?: boolean | undefined;
|
14
|
+
breakWord?: boolean | undefined;
|
15
|
+
color?: string | undefined;
|
16
|
+
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("../../..").AsProps<any> & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
9
17
|
base: import("@linaria/core").LinariaClassName;
|
10
18
|
variations: {
|
11
19
|
size: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Body/Body.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,SAAS,GAAG,SAAS,CAAC;AAElC,eAAO,MAAM,QAAQ,
|
1
|
+
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Body/Body.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,SAAS,GAAG,SAAS,CAAC;AAElC,eAAO,MAAM,QAAQ;;;;iNAA0B,CAAC;AAEhD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;CAatB,CAAC"}
|
@@ -1,11 +1,19 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import type { FontProps } from '../Typography.types';
|
3
3
|
export declare type DsplProps = FontProps;
|
4
|
-
export declare const dsplRoot: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<
|
4
|
+
export declare const dsplRoot: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
5
|
+
noWrap?: boolean | undefined;
|
6
|
+
breakWord?: boolean | undefined;
|
7
|
+
color?: string | undefined;
|
8
|
+
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("../../..").AsProps<any> & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
5
9
|
export declare const dsplConfig: {
|
6
10
|
name: string;
|
7
11
|
tag: string;
|
8
|
-
layout: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<
|
12
|
+
layout: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
13
|
+
noWrap?: boolean | undefined;
|
14
|
+
breakWord?: boolean | undefined;
|
15
|
+
color?: string | undefined;
|
16
|
+
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("../../..").AsProps<any> & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
9
17
|
base: import("@linaria/core").LinariaClassName;
|
10
18
|
variations: {
|
11
19
|
size: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dspl.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Dspl/Dspl.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,SAAS,GAAG,SAAS,CAAC;AAElC,eAAO,MAAM,QAAQ
|
1
|
+
{"version":3,"file":"Dspl.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Dspl/Dspl.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,SAAS,GAAG,SAAS,CAAC;AAElC,eAAO,MAAM,QAAQ;;;;iNAA+C,CAAC;AAErE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;CAatB,CAAC"}
|
@@ -1,11 +1,19 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import type { FontProps } from '../Typography.types';
|
3
3
|
export declare type HeadingProps = FontProps;
|
4
|
-
export declare const headingRoot: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<
|
4
|
+
export declare const headingRoot: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
5
|
+
noWrap?: boolean | undefined;
|
6
|
+
breakWord?: boolean | undefined;
|
7
|
+
color?: string | undefined;
|
8
|
+
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("../../..").AsProps<any> & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
5
9
|
export declare const headingConfig: {
|
6
10
|
name: string;
|
7
11
|
tag: string;
|
8
|
-
layout: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<
|
12
|
+
layout: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
13
|
+
noWrap?: boolean | undefined;
|
14
|
+
breakWord?: boolean | undefined;
|
15
|
+
color?: string | undefined;
|
16
|
+
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("../../..").AsProps<any> & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
9
17
|
base: import("@linaria/core").LinariaClassName;
|
10
18
|
variations: {
|
11
19
|
size: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Heading/Heading.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,YAAY,GAAG,SAAS,CAAC;AAErC,eAAO,MAAM,WAAW
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Heading/Heading.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,YAAY,GAAG,SAAS,CAAC;AAErC,eAAO,MAAM,WAAW;;;;iNAA+C,CAAC;AAExE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;CAazB,CAAC"}
|
@@ -1,11 +1,19 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import type { FontProps } from '../Typography.types';
|
3
3
|
export declare type TextProps = FontProps;
|
4
|
-
export declare const textRoot: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<
|
4
|
+
export declare const textRoot: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
5
|
+
noWrap?: boolean | undefined;
|
6
|
+
breakWord?: boolean | undefined;
|
7
|
+
color?: string | undefined;
|
8
|
+
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("../../..").AsProps<any> & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
5
9
|
export declare const textConfig: {
|
6
10
|
name: string;
|
7
11
|
tag: string;
|
8
|
-
layout: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<
|
12
|
+
layout: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
13
|
+
noWrap?: boolean | undefined;
|
14
|
+
breakWord?: boolean | undefined;
|
15
|
+
color?: string | undefined;
|
16
|
+
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("../../..").AsProps<any> & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
9
17
|
base: import("@linaria/core").LinariaClassName;
|
10
18
|
variations: {
|
11
19
|
size: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Text/Text.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,SAAS,GAAG,SAAS,CAAC;AAElC,eAAO,MAAM,QAAQ,
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Text/Text.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,SAAS,GAAG,SAAS,CAAC;AAElC,eAAO,MAAM,QAAQ;;;;iNAA0B,CAAC;AAEhD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;CAatB,CAAC"}
|
@@ -3,5 +3,9 @@ import type { RootProps } from '../../engines';
|
|
3
3
|
import { FontProps } from './Typography.types';
|
4
4
|
export declare const typographyRootCompose: (defaultArgs?: {
|
5
5
|
defaultBold?: boolean | undefined;
|
6
|
-
} | undefined) => (Root: RootProps<HTMLDivElement, FontProps>) => React.ForwardRefExoticComponent<
|
6
|
+
} | undefined) => (Root: RootProps<HTMLDivElement, FontProps>) => React.ForwardRefExoticComponent<{
|
7
|
+
noWrap?: boolean | undefined;
|
8
|
+
breakWord?: boolean | undefined;
|
9
|
+
color?: string | undefined;
|
10
|
+
} & import("../../mixins/applySpacing").SpacingProps & import("./Typography.types").BoldProps & import("../..").AsProps<any> & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
7
11
|
//# sourceMappingURL=Typography.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,eAAO,MAAM,qBAAqB;;yBACxB,UAAU,cAAc,EAAE,SAAS,CAAC,
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,eAAO,MAAM,qBAAqB;;yBACxB,UAAU,cAAc,EAAE,SAAS,CAAC;;;;0MAgCxC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Typography.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/Typography.styles.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI,
|
1
|
+
{"version":3,"file":"Typography.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/Typography.styles.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI,0CAqBhB,CAAC"}
|
@@ -1,36 +1,19 @@
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
2
2
|
import { AsProps } from '../..';
|
3
3
|
import type { SpacingProps } from '../../mixins/applySpacing';
|
4
|
-
export
|
4
|
+
export declare type BoldProps = {
|
5
5
|
/**
|
6
6
|
* Полужирное начертание.
|
7
7
|
*/
|
8
8
|
bold?: boolean;
|
9
|
-
medium?: never | false;
|
10
|
-
}
|
11
|
-
export interface MediumProps {
|
12
9
|
/**
|
13
|
-
*
|
10
|
+
* Размер текста.
|
14
11
|
*/
|
15
|
-
|
16
|
-
|
17
|
-
}
|
12
|
+
size?: string;
|
13
|
+
};
|
18
14
|
export declare type FontProps = {
|
19
|
-
/**
|
20
|
-
* Не переносить строки.
|
21
|
-
*/
|
22
15
|
noWrap?: boolean;
|
23
|
-
/**
|
24
|
-
* Переносить слова.
|
25
|
-
*/
|
26
16
|
breakWord?: boolean;
|
27
|
-
/**
|
28
|
-
* Кастомный цвет текста.
|
29
|
-
*/
|
30
17
|
color?: string;
|
31
|
-
|
32
|
-
* Размер текста.
|
33
|
-
*/
|
34
|
-
size?: string;
|
35
|
-
} & SpacingProps & (BoldProps | MediumProps) & AsProps & HTMLAttributes<HTMLDivElement>;
|
18
|
+
} & SpacingProps & BoldProps & AsProps & HTMLAttributes<HTMLDivElement>;
|
36
19
|
//# sourceMappingURL=Typography.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Typography.types.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/Typography.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,
|
1
|
+
{"version":3,"file":"Typography.types.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/Typography.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,oBAAY,SAAS,GAAG;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,oBAAY,SAAS,GAAG;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,YAAY,GACZ,SAAS,GACT,OAAO,GACP,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
@@ -2,7 +2,6 @@ export declare const classes: {
|
|
2
2
|
typoWithNoWrap: string;
|
3
3
|
typoWithBreakWord: string;
|
4
4
|
typoBold: string;
|
5
|
-
typoMedium: string;
|
6
5
|
};
|
7
6
|
export declare const tokens: {
|
8
7
|
typoFontFamily: string;
|
@@ -10,7 +9,6 @@ export declare const tokens: {
|
|
10
9
|
typoFontStyle: string;
|
11
10
|
typoFontWeight: string;
|
12
11
|
typoFontWeightBold: string;
|
13
|
-
typoFontWeightMedium: string;
|
14
12
|
typoFontLetterSpacing: string;
|
15
13
|
typoFontLineHeight: string;
|
16
14
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;CAQlB,CAAC"}
|