@alfalab/core-components-typography 3.2.0 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/colors.css +34 -34
- package/colors.js +2 -0
- package/colors.module-a848b027.js +6 -0
- package/common.module-7493433e.js +6 -0
- package/component.js +4 -2
- package/cssm/colors.js +2 -0
- package/cssm/colors.module.css +14 -14
- package/cssm/component.js +2 -0
- package/cssm/index.js +2 -0
- package/cssm/presets.js +2 -0
- package/cssm/text/component.d.ts +1 -1
- package/cssm/text/component.js +2 -0
- package/cssm/text/index.js +2 -0
- package/cssm/text/index.module.css +2 -2
- package/cssm/title/component.js +2 -0
- package/cssm/title/index.js +2 -0
- package/cssm/title/index.module.css +2 -2
- package/cssm/title-mobile/component.js +2 -0
- package/cssm/title-mobile/index.js +2 -0
- package/cssm/title-mobile/index.module.css +2 -2
- package/cssm/title-responsive/component.js +2 -0
- package/cssm/title-responsive/index.js +2 -0
- package/cssm/title-responsive/index.module.css +2 -2
- package/esm/colors.css +34 -34
- package/esm/colors.module-996156cd.js +4 -0
- package/esm/common.module-bbfef03a.js +4 -0
- package/esm/component.js +2 -2
- package/esm/index.js +2 -2
- package/esm/text/component.d.ts +1 -1
- package/esm/text/component.js +2 -2
- package/esm/text/index.css +20 -20
- package/esm/text/index.js +1 -1
- package/esm/title/common.css +5 -5
- package/esm/title/component.js +1 -1
- package/esm/title/index.css +21 -21
- package/esm/title/index.js +3 -3
- package/esm/title-mobile/component.js +3 -3
- package/esm/title-mobile/index.css +13 -13
- package/esm/title-mobile/index.js +2 -2
- package/esm/title-responsive/component.js +3 -3
- package/esm/title-responsive/index.css +43 -43
- package/esm/title-responsive/index.js +2 -2
- package/index.js +4 -2
- package/modern/colors.css +34 -34
- package/modern/colors.module-f2c54769.js +4 -0
- package/modern/common.module-888addc3.js +4 -0
- package/modern/component.js +2 -2
- package/modern/index.js +2 -2
- package/modern/text/component.d.ts +1 -1
- package/modern/text/component.js +2 -2
- package/modern/text/index.css +20 -20
- package/modern/text/index.js +1 -1
- package/modern/title/common.css +5 -5
- package/modern/title/component.js +1 -1
- package/modern/title/index.css +21 -21
- package/modern/title/index.js +3 -3
- package/modern/title-mobile/component.js +3 -3
- package/modern/title-mobile/index.css +13 -13
- package/modern/title-mobile/index.js +2 -2
- package/modern/title-responsive/component.js +3 -3
- package/modern/title-responsive/index.css +43 -43
- package/modern/title-responsive/index.js +2 -2
- package/package.json +1 -4
- package/presets.js +2 -0
- package/text/component.d.ts +1 -1
- package/text/component.js +4 -2
- package/text/index.css +20 -20
- package/text/index.js +3 -1
- package/title/common.css +5 -5
- package/title/component.js +3 -1
- package/title/index.css +21 -21
- package/title/index.js +5 -3
- package/title-mobile/component.js +5 -3
- package/title-mobile/index.css +13 -13
- package/title-mobile/index.js +4 -2
- package/title-responsive/component.js +5 -3
- package/title-responsive/index.css +43 -43
- package/title-responsive/index.js +4 -2
- package/colors.module-15de3c41.js +0 -6
- package/common.module-f948e7d5.js +0 -6
- package/esm/colors.module-308e84a9.js +0 -4
- package/esm/common.module-a19344da.js +0 -4
- package/modern/colors.module-c327b974.js +0 -4
- package/modern/common.module-41281fe7.js +0 -4
- package/send-stats.js +0 -82
package/colors.css
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: mizz5 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-accent: #ef3124;
|
|
5
|
-
--color-light-text-attention: #
|
|
6
|
-
--color-light-text-disabled: rgba(
|
|
7
|
-
--color-light-text-link: #
|
|
5
|
+
--color-light-text-attention: #cb830f;
|
|
6
|
+
--color-light-text-disabled: rgba(60, 60, 67, 0.22);
|
|
7
|
+
--color-light-text-link: #0072ef;
|
|
8
8
|
--color-light-text-negative: #d91d0b;
|
|
9
9
|
--color-light-text-positive: #13a463;
|
|
10
|
-
--color-light-text-primary: #
|
|
10
|
+
--color-light-text-primary: #0e0e0e;
|
|
11
11
|
--color-light-text-primary-inverted: #fff;
|
|
12
|
-
--color-light-text-secondary: rgba(
|
|
13
|
-
--color-light-text-secondary-inverted: rgba(
|
|
14
|
-
--color-light-text-tertiary: rgba(
|
|
15
|
-
--color-light-text-tertiary-inverted: rgba(
|
|
12
|
+
--color-light-text-secondary: rgba(60, 60, 67, 0.66);
|
|
13
|
+
--color-light-text-secondary-inverted: rgba(235, 235, 245, 0.54);
|
|
14
|
+
--color-light-text-tertiary: rgba(60, 60, 67, 0.4);
|
|
15
|
+
--color-light-text-tertiary-inverted: rgba(235, 235, 245, 0.32);
|
|
16
16
|
--color-static-text-accent: #ef3124;
|
|
17
|
-
--color-static-text-primary-dark: #
|
|
17
|
+
--color-static-text-primary-dark: #0e0e0e;
|
|
18
18
|
--color-static-text-primary-light: #fff;
|
|
19
|
-
--color-static-text-secondary-dark: rgba(
|
|
20
|
-
--color-static-text-secondary-light: rgba(
|
|
21
|
-
--color-static-text-tertiary-dark: rgba(
|
|
22
|
-
--color-static-text-tertiary-light: rgba(
|
|
23
|
-
} :root {
|
|
19
|
+
--color-static-text-secondary-dark: rgba(60, 60, 67, 0.66);
|
|
20
|
+
--color-static-text-secondary-light: rgba(235, 235, 245, 0.54);
|
|
21
|
+
--color-static-text-tertiary-dark: rgba(60, 60, 67, 0.4);
|
|
22
|
+
--color-static-text-tertiary-light: rgba(235, 235, 245, 0.32); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
23
|
+
} :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 */
|
|
24
24
|
} :root {
|
|
25
25
|
} :root {
|
|
26
26
|
|
|
@@ -33,42 +33,42 @@
|
|
|
33
33
|
} :root {
|
|
34
34
|
} :root {
|
|
35
35
|
} :root {
|
|
36
|
-
} /* colors */ .
|
|
36
|
+
} /* colors */ .typography__tertiary_1uica {
|
|
37
37
|
color: var(--color-light-text-tertiary);
|
|
38
|
-
} .
|
|
38
|
+
} .typography__disabled_1uica {
|
|
39
39
|
color: var(--color-light-text-disabled);
|
|
40
|
-
} .
|
|
40
|
+
} .typography__accent_1uica {
|
|
41
41
|
color: var(--color-light-text-accent);
|
|
42
|
-
} .
|
|
42
|
+
} .typography__primary_1uica {
|
|
43
43
|
color: var(--color-light-text-primary);
|
|
44
|
-
} .
|
|
44
|
+
} .typography__attention_1uica {
|
|
45
45
|
color: var(--color-light-text-attention);
|
|
46
|
-
} .
|
|
46
|
+
} .typography__positive_1uica {
|
|
47
47
|
color: var(--color-light-text-positive);
|
|
48
|
-
} .
|
|
48
|
+
} .typography__secondary_1uica {
|
|
49
49
|
color: var(--color-light-text-secondary);
|
|
50
|
-
} .typography__tertiary-
|
|
50
|
+
} .typography__tertiary-inverted_1uica {
|
|
51
51
|
color: var(--color-light-text-tertiary-inverted);
|
|
52
|
-
} .typography__primary-
|
|
52
|
+
} .typography__primary-inverted_1uica {
|
|
53
53
|
color: var(--color-light-text-primary-inverted);
|
|
54
|
-
} .typography__secondary-
|
|
54
|
+
} .typography__secondary-inverted_1uica {
|
|
55
55
|
color: var(--color-light-text-secondary-inverted);
|
|
56
|
-
} .
|
|
56
|
+
} .typography__link_1uica {
|
|
57
57
|
color: var(--color-light-text-link);
|
|
58
|
-
} .
|
|
58
|
+
} .typography__negative_1uica {
|
|
59
59
|
color: var(--color-light-text-negative);
|
|
60
|
-
} .typography__static-primary-
|
|
60
|
+
} .typography__static-primary-light_1uica {
|
|
61
61
|
color: var(--color-static-text-primary-light);
|
|
62
|
-
} .typography__static-secondary-
|
|
62
|
+
} .typography__static-secondary-light_1uica {
|
|
63
63
|
color: var(--color-static-text-secondary-light);
|
|
64
|
-
} .typography__static-tertiary-
|
|
64
|
+
} .typography__static-tertiary-light_1uica {
|
|
65
65
|
color: var(--color-static-text-tertiary-light);
|
|
66
|
-
} .typography__static-primary-
|
|
66
|
+
} .typography__static-primary-dark_1uica {
|
|
67
67
|
color: var(--color-static-text-primary-dark);
|
|
68
|
-
} .typography__static-secondary-
|
|
68
|
+
} .typography__static-secondary-dark_1uica {
|
|
69
69
|
color: var(--color-static-text-secondary-dark);
|
|
70
|
-
} .typography__static-tertiary-
|
|
70
|
+
} .typography__static-tertiary-dark_1uica {
|
|
71
71
|
color: var(--color-static-text-tertiary-dark);
|
|
72
|
-
} .typography__static-
|
|
72
|
+
} .typography__static-accent_1uica {
|
|
73
73
|
color: var(--color-static-text-accent);
|
|
74
74
|
}
|
package/colors.js
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var colors = {"tertiary":"typography__tertiary_1uica","disabled":"typography__disabled_1uica","accent":"typography__accent_1uica","primary":"typography__primary_1uica","attention":"typography__attention_1uica","positive":"typography__positive_1uica","secondary":"typography__secondary_1uica","tertiary-inverted":"typography__tertiary-inverted_1uica","primary-inverted":"typography__primary-inverted_1uica","secondary-inverted":"typography__secondary-inverted_1uica","link":"typography__link_1uica","negative":"typography__negative_1uica","static-primary-light":"typography__static-primary-light_1uica","static-secondary-light":"typography__static-secondary-light_1uica","static-tertiary-light":"typography__static-tertiary-light_1uica","static-primary-dark":"typography__static-primary-dark_1uica","static-secondary-dark":"typography__static-secondary-dark_1uica","static-tertiary-dark":"typography__static-tertiary-dark_1uica","static-accent":"typography__static-accent_1uica"};
|
|
4
|
+
require('./colors.css')
|
|
5
|
+
|
|
6
|
+
exports.colors = colors;
|
package/component.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
3
5
|
var text_component = require('./text/component.js');
|
|
4
6
|
var title_index = require('./title/index.js');
|
|
5
7
|
var titleMobile_component = require('./title-mobile/component.js');
|
|
@@ -7,9 +9,9 @@ var titleResponsive_component = require('./title-responsive/component.js');
|
|
|
7
9
|
require('tslib');
|
|
8
10
|
require('react');
|
|
9
11
|
require('classnames');
|
|
10
|
-
require('./colors.module-
|
|
12
|
+
require('./colors.module-a848b027.js');
|
|
11
13
|
require('./title/component.js');
|
|
12
|
-
require('./common.module-
|
|
14
|
+
require('./common.module-7493433e.js');
|
|
13
15
|
|
|
14
16
|
var Typography = {
|
|
15
17
|
Title: title_index.Title,
|
package/cssm/colors.js
CHANGED
package/cssm/colors.module.css
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
} /* deprecated */ :root {
|
|
3
3
|
--color-light-text-accent: #ef3124;
|
|
4
|
-
--color-light-text-attention: #
|
|
5
|
-
--color-light-text-disabled: rgba(
|
|
6
|
-
--color-light-text-link: #
|
|
4
|
+
--color-light-text-attention: #cb830f;
|
|
5
|
+
--color-light-text-disabled: rgba(60, 60, 67, 0.22);
|
|
6
|
+
--color-light-text-link: #0072ef;
|
|
7
7
|
--color-light-text-negative: #d91d0b;
|
|
8
8
|
--color-light-text-positive: #13a463;
|
|
9
|
-
--color-light-text-primary: #
|
|
9
|
+
--color-light-text-primary: #0e0e0e;
|
|
10
10
|
--color-light-text-primary-inverted: #fff;
|
|
11
|
-
--color-light-text-secondary: rgba(
|
|
12
|
-
--color-light-text-secondary-inverted: rgba(
|
|
13
|
-
--color-light-text-tertiary: rgba(
|
|
14
|
-
--color-light-text-tertiary-inverted: rgba(
|
|
11
|
+
--color-light-text-secondary: rgba(60, 60, 67, 0.66);
|
|
12
|
+
--color-light-text-secondary-inverted: rgba(235, 235, 245, 0.54);
|
|
13
|
+
--color-light-text-tertiary: rgba(60, 60, 67, 0.4);
|
|
14
|
+
--color-light-text-tertiary-inverted: rgba(235, 235, 245, 0.32);
|
|
15
15
|
--color-static-text-accent: #ef3124;
|
|
16
|
-
--color-static-text-primary-dark: #
|
|
16
|
+
--color-static-text-primary-dark: #0e0e0e;
|
|
17
17
|
--color-static-text-primary-light: #fff;
|
|
18
|
-
--color-static-text-secondary-dark: rgba(
|
|
19
|
-
--color-static-text-secondary-light: rgba(
|
|
20
|
-
--color-static-text-tertiary-dark: rgba(
|
|
21
|
-
--color-static-text-tertiary-light: rgba(
|
|
22
|
-
} :root {
|
|
18
|
+
--color-static-text-secondary-dark: rgba(60, 60, 67, 0.66);
|
|
19
|
+
--color-static-text-secondary-light: rgba(235, 235, 245, 0.54);
|
|
20
|
+
--color-static-text-tertiary-dark: rgba(60, 60, 67, 0.4);
|
|
21
|
+
--color-static-text-tertiary-light: rgba(235, 235, 245, 0.32); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
22
|
+
} :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 */
|
|
23
23
|
} :root {
|
|
24
24
|
} :root {
|
|
25
25
|
|
package/cssm/component.js
CHANGED
package/cssm/index.js
CHANGED
package/cssm/presets.js
CHANGED
package/cssm/text/component.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { TextElementType } from "../types";
|
|
|
6
6
|
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
7
7
|
type TextBaseProps = {
|
|
8
8
|
/**
|
|
9
|
-
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/
|
|
9
|
+
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/tokens-assets-типографика--docs)
|
|
10
10
|
*/
|
|
11
11
|
view?: 'primary-large' | 'primary-medium' | 'primary-small' | 'secondary-large' | 'secondary-medium' | 'secondary-small' | 'component' | 'caps';
|
|
12
12
|
/**
|
package/cssm/text/component.js
CHANGED
package/cssm/text/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
} /* deprecated */ :root {
|
|
3
|
-
} :root {
|
|
2
|
+
} /* 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 */
|
|
3
|
+
} :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 */
|
|
4
4
|
} :root {
|
|
5
5
|
} :root {
|
|
6
6
|
|
package/cssm/title/component.js
CHANGED
package/cssm/title/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
} /* deprecated */ :root {
|
|
3
|
-
} :root {
|
|
2
|
+
} /* 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 */
|
|
3
|
+
} :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 */
|
|
4
4
|
} :root {
|
|
5
5
|
} :root {
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
} /* deprecated */ :root {
|
|
3
|
-
} :root {
|
|
2
|
+
} /* 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 */
|
|
3
|
+
} :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 */
|
|
4
4
|
} :root {
|
|
5
5
|
} :root {
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
} /* deprecated */ :root {
|
|
3
|
-
} :root {
|
|
2
|
+
} /* 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 */
|
|
3
|
+
} :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 */
|
|
4
4
|
} :root {
|
|
5
5
|
} :root {
|
|
6
6
|
|
package/esm/colors.css
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: mizz5 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-accent: #ef3124;
|
|
5
|
-
--color-light-text-attention: #
|
|
6
|
-
--color-light-text-disabled: rgba(
|
|
7
|
-
--color-light-text-link: #
|
|
5
|
+
--color-light-text-attention: #cb830f;
|
|
6
|
+
--color-light-text-disabled: rgba(60, 60, 67, 0.22);
|
|
7
|
+
--color-light-text-link: #0072ef;
|
|
8
8
|
--color-light-text-negative: #d91d0b;
|
|
9
9
|
--color-light-text-positive: #13a463;
|
|
10
|
-
--color-light-text-primary: #
|
|
10
|
+
--color-light-text-primary: #0e0e0e;
|
|
11
11
|
--color-light-text-primary-inverted: #fff;
|
|
12
|
-
--color-light-text-secondary: rgba(
|
|
13
|
-
--color-light-text-secondary-inverted: rgba(
|
|
14
|
-
--color-light-text-tertiary: rgba(
|
|
15
|
-
--color-light-text-tertiary-inverted: rgba(
|
|
12
|
+
--color-light-text-secondary: rgba(60, 60, 67, 0.66);
|
|
13
|
+
--color-light-text-secondary-inverted: rgba(235, 235, 245, 0.54);
|
|
14
|
+
--color-light-text-tertiary: rgba(60, 60, 67, 0.4);
|
|
15
|
+
--color-light-text-tertiary-inverted: rgba(235, 235, 245, 0.32);
|
|
16
16
|
--color-static-text-accent: #ef3124;
|
|
17
|
-
--color-static-text-primary-dark: #
|
|
17
|
+
--color-static-text-primary-dark: #0e0e0e;
|
|
18
18
|
--color-static-text-primary-light: #fff;
|
|
19
|
-
--color-static-text-secondary-dark: rgba(
|
|
20
|
-
--color-static-text-secondary-light: rgba(
|
|
21
|
-
--color-static-text-tertiary-dark: rgba(
|
|
22
|
-
--color-static-text-tertiary-light: rgba(
|
|
23
|
-
} :root {
|
|
19
|
+
--color-static-text-secondary-dark: rgba(60, 60, 67, 0.66);
|
|
20
|
+
--color-static-text-secondary-light: rgba(235, 235, 245, 0.54);
|
|
21
|
+
--color-static-text-tertiary-dark: rgba(60, 60, 67, 0.4);
|
|
22
|
+
--color-static-text-tertiary-light: rgba(235, 235, 245, 0.32); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
23
|
+
} :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 */
|
|
24
24
|
} :root {
|
|
25
25
|
} :root {
|
|
26
26
|
|
|
@@ -33,42 +33,42 @@
|
|
|
33
33
|
} :root {
|
|
34
34
|
} :root {
|
|
35
35
|
} :root {
|
|
36
|
-
} /* colors */ .
|
|
36
|
+
} /* colors */ .typography__tertiary_1uica {
|
|
37
37
|
color: var(--color-light-text-tertiary);
|
|
38
|
-
} .
|
|
38
|
+
} .typography__disabled_1uica {
|
|
39
39
|
color: var(--color-light-text-disabled);
|
|
40
|
-
} .
|
|
40
|
+
} .typography__accent_1uica {
|
|
41
41
|
color: var(--color-light-text-accent);
|
|
42
|
-
} .
|
|
42
|
+
} .typography__primary_1uica {
|
|
43
43
|
color: var(--color-light-text-primary);
|
|
44
|
-
} .
|
|
44
|
+
} .typography__attention_1uica {
|
|
45
45
|
color: var(--color-light-text-attention);
|
|
46
|
-
} .
|
|
46
|
+
} .typography__positive_1uica {
|
|
47
47
|
color: var(--color-light-text-positive);
|
|
48
|
-
} .
|
|
48
|
+
} .typography__secondary_1uica {
|
|
49
49
|
color: var(--color-light-text-secondary);
|
|
50
|
-
} .typography__tertiary-
|
|
50
|
+
} .typography__tertiary-inverted_1uica {
|
|
51
51
|
color: var(--color-light-text-tertiary-inverted);
|
|
52
|
-
} .typography__primary-
|
|
52
|
+
} .typography__primary-inverted_1uica {
|
|
53
53
|
color: var(--color-light-text-primary-inverted);
|
|
54
|
-
} .typography__secondary-
|
|
54
|
+
} .typography__secondary-inverted_1uica {
|
|
55
55
|
color: var(--color-light-text-secondary-inverted);
|
|
56
|
-
} .
|
|
56
|
+
} .typography__link_1uica {
|
|
57
57
|
color: var(--color-light-text-link);
|
|
58
|
-
} .
|
|
58
|
+
} .typography__negative_1uica {
|
|
59
59
|
color: var(--color-light-text-negative);
|
|
60
|
-
} .typography__static-primary-
|
|
60
|
+
} .typography__static-primary-light_1uica {
|
|
61
61
|
color: var(--color-static-text-primary-light);
|
|
62
|
-
} .typography__static-secondary-
|
|
62
|
+
} .typography__static-secondary-light_1uica {
|
|
63
63
|
color: var(--color-static-text-secondary-light);
|
|
64
|
-
} .typography__static-tertiary-
|
|
64
|
+
} .typography__static-tertiary-light_1uica {
|
|
65
65
|
color: var(--color-static-text-tertiary-light);
|
|
66
|
-
} .typography__static-primary-
|
|
66
|
+
} .typography__static-primary-dark_1uica {
|
|
67
67
|
color: var(--color-static-text-primary-dark);
|
|
68
|
-
} .typography__static-secondary-
|
|
68
|
+
} .typography__static-secondary-dark_1uica {
|
|
69
69
|
color: var(--color-static-text-secondary-dark);
|
|
70
|
-
} .typography__static-tertiary-
|
|
70
|
+
} .typography__static-tertiary-dark_1uica {
|
|
71
71
|
color: var(--color-static-text-tertiary-dark);
|
|
72
|
-
} .typography__static-
|
|
72
|
+
} .typography__static-accent_1uica {
|
|
73
73
|
color: var(--color-static-text-accent);
|
|
74
74
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var colors = {"tertiary":"typography__tertiary_1uica","disabled":"typography__disabled_1uica","accent":"typography__accent_1uica","primary":"typography__primary_1uica","attention":"typography__attention_1uica","positive":"typography__positive_1uica","secondary":"typography__secondary_1uica","tertiary-inverted":"typography__tertiary-inverted_1uica","primary-inverted":"typography__primary-inverted_1uica","secondary-inverted":"typography__secondary-inverted_1uica","link":"typography__link_1uica","negative":"typography__negative_1uica","static-primary-light":"typography__static-primary-light_1uica","static-secondary-light":"typography__static-secondary-light_1uica","static-tertiary-light":"typography__static-tertiary-light_1uica","static-primary-dark":"typography__static-primary-dark_1uica","static-secondary-dark":"typography__static-secondary-dark_1uica","static-tertiary-dark":"typography__static-tertiary-dark_1uica","static-accent":"typography__static-accent_1uica"};
|
|
2
|
+
require('./colors.css')
|
|
3
|
+
|
|
4
|
+
export { colors as c };
|
package/esm/component.js
CHANGED
|
@@ -5,9 +5,9 @@ import { TitleResponsive } from './title-responsive/component.js';
|
|
|
5
5
|
import 'tslib';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'classnames';
|
|
8
|
-
import './colors.module-
|
|
8
|
+
import './colors.module-996156cd.js';
|
|
9
9
|
import './title/component.js';
|
|
10
|
-
import './common.module-
|
|
10
|
+
import './common.module-bbfef03a.js';
|
|
11
11
|
|
|
12
12
|
var Typography = {
|
|
13
13
|
Title: Title,
|
package/esm/index.js
CHANGED
|
@@ -4,9 +4,9 @@ import './text/component.js';
|
|
|
4
4
|
import 'tslib';
|
|
5
5
|
import 'react';
|
|
6
6
|
import 'classnames';
|
|
7
|
-
import './colors.module-
|
|
7
|
+
import './colors.module-996156cd.js';
|
|
8
8
|
import './title/index.js';
|
|
9
9
|
import './title/component.js';
|
|
10
|
-
import './common.module-
|
|
10
|
+
import './common.module-bbfef03a.js';
|
|
11
11
|
import './title-mobile/component.js';
|
|
12
12
|
import './title-responsive/component.js';
|
package/esm/text/component.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { TextElementType } from "../types";
|
|
|
6
6
|
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
7
7
|
type TextBaseProps = {
|
|
8
8
|
/**
|
|
9
|
-
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/
|
|
9
|
+
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/tokens-assets-типографика--docs)
|
|
10
10
|
*/
|
|
11
11
|
view?: 'primary-large' | 'primary-medium' | 'primary-small' | 'secondary-large' | 'secondary-medium' | 'secondary-small' | 'component' | 'caps';
|
|
12
12
|
/**
|
package/esm/text/component.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
|
-
import { c as colors } from '../colors.module-
|
|
4
|
+
import { c as colors } from '../colors.module-996156cd.js';
|
|
5
5
|
|
|
6
|
-
var styles = {"paragraph":"
|
|
6
|
+
var styles = {"paragraph":"typography__paragraph_1w6ie","paragraphWithMargins":"typography__paragraphWithMargins_1w6ie","primary-large":"typography__primary-large_1w6ie","primary-medium":"typography__primary-medium_1w6ie","primary-small":"typography__primary-small_1w6ie","secondary-large":"typography__secondary-large_1w6ie","secondary-medium":"typography__secondary-medium_1w6ie","secondary-small":"typography__secondary-small_1w6ie","component":"typography__component_1w6ie","caps":"typography__caps_1w6ie","bold":"typography__bold_1w6ie","medium":"typography__medium_1w6ie","regular":"typography__regular_1w6ie","monospace":"typography__monospace_1w6ie","rowLimit1":"typography__rowLimit1_1w6ie","rowLimit2":"typography__rowLimit2_1w6ie","rowLimit3":"typography__rowLimit3_1w6ie"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
var Text = forwardRef(function (_a, ref) {
|