@rescui/typography 0.26.0 → 0.27.1
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/lib/create-text-cn.d.ts +98 -98
- package/lib/index-moduled.css +122 -122
- package/lib/index-moduled.p.module.css.js +128 -128
- package/lib/index.css +2 -2
- package/lib/index.d.ts +4 -4
- package/lib/mixins.p.css +2 -2
- package/lib/mixins.pcss +2 -2
- package/lib/public-api.p.css +4 -4
- package/lib/public-api.pcss +4 -4
- package/lib/text-color-utils.d.ts +15 -15
- package/lib/text-color-utils.js +9 -9
- package/lib/use-text-styles.d.ts +9 -9
- package/package.json +4 -4
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"rs-reset-letter-spacing": "_rs-reset-letter-
|
|
3
|
-
"rs-typography_theme_light": "_rs-
|
|
4
|
-
"rs-typography_theme_dark": "_rs-
|
|
5
|
-
"rs-text_hardness_hard": "_rs-
|
|
6
|
-
"rs-text_hardness_average": "_rs-
|
|
7
|
-
"rs-text_hardness_pale": "_rs-
|
|
8
|
-
"rs-text_hardness_auto": "_rs-
|
|
9
|
-
"rs-text_color_hard": "_rs-
|
|
10
|
-
"rs-text_color_average": "_rs-
|
|
11
|
-
"rs-text_color_pale": "_rs-
|
|
12
|
-
"rs-text_color_base": "_rs-
|
|
13
|
-
"rs-digits-1": "_rs-digits-
|
|
14
|
-
"rs-digits-2": "_rs-digits-
|
|
15
|
-
"rs-super-hero": "_rs-super-
|
|
16
|
-
"rs-middle-hero": "_rs-middle-
|
|
17
|
-
"rs-hero": "_rs-
|
|
18
|
-
"rs-h1": "_rs-
|
|
19
|
-
"rs-h2": "_rs-
|
|
20
|
-
"rs-h3-plus": "_rs-h3-
|
|
21
|
-
"rs-h3": "_rs-
|
|
22
|
-
"rs-h4": "_rs-
|
|
23
|
-
"rs-h5": "_rs-
|
|
24
|
-
"rs-subtitle-1": "_rs-subtitle-
|
|
25
|
-
"rs-subtitle-2": "_rs-subtitle-
|
|
26
|
-
"rs-overline": "_rs-
|
|
27
|
-
"rs-text-1": "_rs-text-
|
|
28
|
-
"rs-text-2": "_rs-text-
|
|
29
|
-
"rs-text-3": "_rs-text-
|
|
30
|
-
"rs-digits-1_theme_light": "_rs-digits-
|
|
31
|
-
"rs-digits-2_theme_light": "_rs-digits-
|
|
32
|
-
"rs-super-hero_theme_light": "_rs-super-
|
|
33
|
-
"rs-middle-hero_theme_light": "_rs-middle-
|
|
34
|
-
"rs-hero_theme_light": "_rs-
|
|
35
|
-
"rs-h1_theme_light": "_rs-
|
|
36
|
-
"rs-h2_theme_light": "_rs-
|
|
37
|
-
"rs-h3-plus_theme_light": "_rs-h3-
|
|
38
|
-
"rs-h3_theme_light": "_rs-
|
|
39
|
-
"rs-h4_theme_light": "_rs-
|
|
40
|
-
"rs-h5_theme_light": "_rs-
|
|
41
|
-
"rs-subtitle-1_theme_light": "_rs-subtitle-
|
|
42
|
-
"rs-subtitle-2_theme_light": "_rs-subtitle-
|
|
43
|
-
"rs-text-1_theme_light": "_rs-text-
|
|
44
|
-
"rs-text-2_theme_light": "_rs-text-
|
|
45
|
-
"rs-text-3_theme_light": "_rs-text-
|
|
46
|
-
"rs-overline_theme_light": "_rs-
|
|
47
|
-
"rs-digits-1_theme_dark": "_rs-digits-
|
|
48
|
-
"rs-digits-2_theme_dark": "_rs-digits-
|
|
49
|
-
"rs-super-hero_theme_dark": "_rs-super-
|
|
50
|
-
"rs-middle-hero_theme_dark": "_rs-middle-
|
|
51
|
-
"rs-hero_theme_dark": "_rs-
|
|
52
|
-
"rs-h1_theme_dark": "_rs-
|
|
53
|
-
"rs-h2_theme_dark": "_rs-
|
|
54
|
-
"rs-h3-plus_theme_dark": "_rs-h3-
|
|
55
|
-
"rs-h3_theme_dark": "_rs-
|
|
56
|
-
"rs-h4_theme_dark": "_rs-
|
|
57
|
-
"rs-h5_theme_dark": "_rs-
|
|
58
|
-
"rs-subtitle-1_theme_dark": "_rs-subtitle-
|
|
59
|
-
"rs-subtitle-2_theme_dark": "_rs-subtitle-
|
|
60
|
-
"rs-text-1_theme_dark": "_rs-text-
|
|
61
|
-
"rs-text-2_theme_dark": "_rs-text-
|
|
62
|
-
"rs-text-3_theme_dark": "_rs-text-
|
|
63
|
-
"rs-overline_theme_dark": "_rs-
|
|
64
|
-
"rs-digits-1_theme_auto": "_rs-digits-
|
|
65
|
-
"rs-digits-2_theme_auto": "_rs-digits-
|
|
66
|
-
"rs-super-hero_theme_auto": "_rs-super-
|
|
67
|
-
"rs-middle-hero_theme_auto": "_rs-middle-
|
|
68
|
-
"rs-hero_theme_auto": "_rs-
|
|
69
|
-
"rs-h1_theme_auto": "_rs-
|
|
70
|
-
"rs-h2_theme_auto": "_rs-
|
|
71
|
-
"rs-h3-plus_theme_auto": "_rs-h3-
|
|
72
|
-
"rs-h3_theme_auto": "_rs-
|
|
73
|
-
"rs-h4_theme_auto": "_rs-
|
|
74
|
-
"rs-h5_theme_auto": "_rs-
|
|
75
|
-
"rs-subtitle-1_theme_auto": "_rs-subtitle-
|
|
76
|
-
"rs-subtitle-2_theme_auto": "_rs-subtitle-
|
|
77
|
-
"rs-text-1_theme_auto": "_rs-text-
|
|
78
|
-
"rs-text-2_theme_auto": "_rs-text-
|
|
79
|
-
"rs-text-3_theme_auto": "_rs-text-
|
|
80
|
-
"rs-overline_theme_auto": "_rs-
|
|
81
|
-
"rs-text-1_hardness_hard": "_rs-text-
|
|
82
|
-
"rs-text-2_hardness_hard": "_rs-text-
|
|
83
|
-
"rs-text-3_hardness_hard": "_rs-text-
|
|
84
|
-
"rs-text-1_hardness_average": "_rs-text-
|
|
85
|
-
"rs-text-2_hardness_average": "_rs-text-
|
|
86
|
-
"rs-text-3_hardness_average": "_rs-text-
|
|
87
|
-
"rs-text-1_hardness_pale": "_rs-text-
|
|
88
|
-
"rs-text-2_hardness_pale": "_rs-text-
|
|
89
|
-
"rs-text-3_hardness_pale": "_rs-text-
|
|
90
|
-
"rs-text-1_paragraph-offset-auto": "_rs-text-1_paragraph-offset-
|
|
91
|
-
"rs-text-2_paragraph-offset-auto": "_rs-text-2_paragraph-offset-
|
|
92
|
-
"rs-text-3_paragraph-offset-auto": "_rs-text-3_paragraph-offset-
|
|
93
|
-
"rs-text_paragraph-offset-auto": "_rs-text_paragraph-offset-
|
|
94
|
-
"rs-ul": "_rs-
|
|
95
|
-
"rs-ol": "_rs-
|
|
96
|
-
"rs-ul_compact": "_rs-
|
|
97
|
-
"rs-ol_compact": "_rs-
|
|
98
|
-
"rs-ul_offset-items_4": "_rs-ul_offset-
|
|
99
|
-
"rs-ol_offset-items_4": "_rs-ol_offset-
|
|
100
|
-
"rs-ul_offset-items_8": "_rs-ul_offset-
|
|
101
|
-
"rs-ol_offset-items_8": "_rs-ol_offset-
|
|
102
|
-
"rs-ul_offset-items_12": "_rs-ul_offset-
|
|
103
|
-
"rs-ol_offset-items_12": "_rs-ol_offset-
|
|
104
|
-
"rs-ul_offset-items_16": "_rs-ul_offset-
|
|
105
|
-
"rs-ol_offset-items_16": "_rs-ol_offset-
|
|
106
|
-
"rs-ul_offset-items_24": "_rs-ul_offset-
|
|
107
|
-
"rs-ol_offset-items_24": "_rs-ol_offset-
|
|
108
|
-
"rs-ol_alpha_lower": "_rs-
|
|
109
|
-
"rs-ol_alpha_upper": "_rs-
|
|
110
|
-
"rs-code": "_rs-
|
|
111
|
-
"rs-pre": "_rs-
|
|
112
|
-
"rs-link_mode_classic": "_rs-
|
|
113
|
-
"rs-link_mode_rock": "_rs-
|
|
114
|
-
"rs-link_mode_standalone": "_rs-
|
|
115
|
-
"rs-link_mode_clear": "_rs-
|
|
116
|
-
"rs-link_hardness_hard": "_rs-
|
|
117
|
-
"rs-link_hardness_average": "_rs-
|
|
118
|
-
"rs-link_hardness_pale": "_rs-
|
|
119
|
-
"rs-link_external": "_rs-
|
|
120
|
-
"rs-link": "_rs-
|
|
121
|
-
"rs-code_theme_light": "_rs-
|
|
122
|
-
"rs-pre_theme_light": "_rs-
|
|
123
|
-
"rs-link_theme_light": "_rs-
|
|
124
|
-
"rs-code_theme_dark": "_rs-
|
|
125
|
-
"rs-pre_theme_dark": "_rs-
|
|
126
|
-
"rs-link_theme_dark": "_rs-
|
|
127
|
-
"rs-code_theme_auto": "_rs-
|
|
128
|
-
"rs-pre_theme_auto": "_rs-
|
|
129
|
-
"rs-link_theme_auto": "_rs-
|
|
2
|
+
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_1ywu14c_1",
|
|
3
|
+
"rs-typography_theme_light": "_rs-typography_theme_light_1ywu14c_1",
|
|
4
|
+
"rs-typography_theme_dark": "_rs-typography_theme_dark_1ywu14c_1",
|
|
5
|
+
"rs-text_hardness_hard": "_rs-text_hardness_hard_1ywu14c_1",
|
|
6
|
+
"rs-text_hardness_average": "_rs-text_hardness_average_1ywu14c_1",
|
|
7
|
+
"rs-text_hardness_pale": "_rs-text_hardness_pale_1ywu14c_1",
|
|
8
|
+
"rs-text_hardness_auto": "_rs-text_hardness_auto_1ywu14c_1",
|
|
9
|
+
"rs-text_color_hard": "_rs-text_color_hard_1ywu14c_1",
|
|
10
|
+
"rs-text_color_average": "_rs-text_color_average_1ywu14c_1",
|
|
11
|
+
"rs-text_color_pale": "_rs-text_color_pale_1ywu14c_1",
|
|
12
|
+
"rs-text_color_base": "_rs-text_color_base_1ywu14c_1",
|
|
13
|
+
"rs-digits-1": "_rs-digits-1_1ywu14c_1",
|
|
14
|
+
"rs-digits-2": "_rs-digits-2_1ywu14c_1",
|
|
15
|
+
"rs-super-hero": "_rs-super-hero_1ywu14c_1",
|
|
16
|
+
"rs-middle-hero": "_rs-middle-hero_1ywu14c_1",
|
|
17
|
+
"rs-hero": "_rs-hero_1ywu14c_1",
|
|
18
|
+
"rs-h1": "_rs-h1_1ywu14c_1",
|
|
19
|
+
"rs-h2": "_rs-h2_1ywu14c_1",
|
|
20
|
+
"rs-h3-plus": "_rs-h3-plus_1ywu14c_1",
|
|
21
|
+
"rs-h3": "_rs-h3_1ywu14c_1",
|
|
22
|
+
"rs-h4": "_rs-h4_1ywu14c_1",
|
|
23
|
+
"rs-h5": "_rs-h5_1ywu14c_1",
|
|
24
|
+
"rs-subtitle-1": "_rs-subtitle-1_1ywu14c_1",
|
|
25
|
+
"rs-subtitle-2": "_rs-subtitle-2_1ywu14c_1",
|
|
26
|
+
"rs-overline": "_rs-overline_1ywu14c_1",
|
|
27
|
+
"rs-text-1": "_rs-text-1_1ywu14c_1",
|
|
28
|
+
"rs-text-2": "_rs-text-2_1ywu14c_1",
|
|
29
|
+
"rs-text-3": "_rs-text-3_1ywu14c_1",
|
|
30
|
+
"rs-digits-1_theme_light": "_rs-digits-1_theme_light_1ywu14c_1",
|
|
31
|
+
"rs-digits-2_theme_light": "_rs-digits-2_theme_light_1ywu14c_1",
|
|
32
|
+
"rs-super-hero_theme_light": "_rs-super-hero_theme_light_1ywu14c_1",
|
|
33
|
+
"rs-middle-hero_theme_light": "_rs-middle-hero_theme_light_1ywu14c_1",
|
|
34
|
+
"rs-hero_theme_light": "_rs-hero_theme_light_1ywu14c_1",
|
|
35
|
+
"rs-h1_theme_light": "_rs-h1_theme_light_1ywu14c_1",
|
|
36
|
+
"rs-h2_theme_light": "_rs-h2_theme_light_1ywu14c_1",
|
|
37
|
+
"rs-h3-plus_theme_light": "_rs-h3-plus_theme_light_1ywu14c_1",
|
|
38
|
+
"rs-h3_theme_light": "_rs-h3_theme_light_1ywu14c_1",
|
|
39
|
+
"rs-h4_theme_light": "_rs-h4_theme_light_1ywu14c_1",
|
|
40
|
+
"rs-h5_theme_light": "_rs-h5_theme_light_1ywu14c_1",
|
|
41
|
+
"rs-subtitle-1_theme_light": "_rs-subtitle-1_theme_light_1ywu14c_1",
|
|
42
|
+
"rs-subtitle-2_theme_light": "_rs-subtitle-2_theme_light_1ywu14c_1",
|
|
43
|
+
"rs-text-1_theme_light": "_rs-text-1_theme_light_1ywu14c_1",
|
|
44
|
+
"rs-text-2_theme_light": "_rs-text-2_theme_light_1ywu14c_1",
|
|
45
|
+
"rs-text-3_theme_light": "_rs-text-3_theme_light_1ywu14c_1",
|
|
46
|
+
"rs-overline_theme_light": "_rs-overline_theme_light_1ywu14c_1",
|
|
47
|
+
"rs-digits-1_theme_dark": "_rs-digits-1_theme_dark_1ywu14c_1",
|
|
48
|
+
"rs-digits-2_theme_dark": "_rs-digits-2_theme_dark_1ywu14c_1",
|
|
49
|
+
"rs-super-hero_theme_dark": "_rs-super-hero_theme_dark_1ywu14c_1",
|
|
50
|
+
"rs-middle-hero_theme_dark": "_rs-middle-hero_theme_dark_1ywu14c_1",
|
|
51
|
+
"rs-hero_theme_dark": "_rs-hero_theme_dark_1ywu14c_1",
|
|
52
|
+
"rs-h1_theme_dark": "_rs-h1_theme_dark_1ywu14c_1",
|
|
53
|
+
"rs-h2_theme_dark": "_rs-h2_theme_dark_1ywu14c_1",
|
|
54
|
+
"rs-h3-plus_theme_dark": "_rs-h3-plus_theme_dark_1ywu14c_1",
|
|
55
|
+
"rs-h3_theme_dark": "_rs-h3_theme_dark_1ywu14c_1",
|
|
56
|
+
"rs-h4_theme_dark": "_rs-h4_theme_dark_1ywu14c_1",
|
|
57
|
+
"rs-h5_theme_dark": "_rs-h5_theme_dark_1ywu14c_1",
|
|
58
|
+
"rs-subtitle-1_theme_dark": "_rs-subtitle-1_theme_dark_1ywu14c_1",
|
|
59
|
+
"rs-subtitle-2_theme_dark": "_rs-subtitle-2_theme_dark_1ywu14c_1",
|
|
60
|
+
"rs-text-1_theme_dark": "_rs-text-1_theme_dark_1ywu14c_1",
|
|
61
|
+
"rs-text-2_theme_dark": "_rs-text-2_theme_dark_1ywu14c_1",
|
|
62
|
+
"rs-text-3_theme_dark": "_rs-text-3_theme_dark_1ywu14c_1",
|
|
63
|
+
"rs-overline_theme_dark": "_rs-overline_theme_dark_1ywu14c_1",
|
|
64
|
+
"rs-digits-1_theme_auto": "_rs-digits-1_theme_auto_1ywu14c_1",
|
|
65
|
+
"rs-digits-2_theme_auto": "_rs-digits-2_theme_auto_1ywu14c_1",
|
|
66
|
+
"rs-super-hero_theme_auto": "_rs-super-hero_theme_auto_1ywu14c_1",
|
|
67
|
+
"rs-middle-hero_theme_auto": "_rs-middle-hero_theme_auto_1ywu14c_1",
|
|
68
|
+
"rs-hero_theme_auto": "_rs-hero_theme_auto_1ywu14c_1",
|
|
69
|
+
"rs-h1_theme_auto": "_rs-h1_theme_auto_1ywu14c_1",
|
|
70
|
+
"rs-h2_theme_auto": "_rs-h2_theme_auto_1ywu14c_1",
|
|
71
|
+
"rs-h3-plus_theme_auto": "_rs-h3-plus_theme_auto_1ywu14c_1",
|
|
72
|
+
"rs-h3_theme_auto": "_rs-h3_theme_auto_1ywu14c_1",
|
|
73
|
+
"rs-h4_theme_auto": "_rs-h4_theme_auto_1ywu14c_1",
|
|
74
|
+
"rs-h5_theme_auto": "_rs-h5_theme_auto_1ywu14c_1",
|
|
75
|
+
"rs-subtitle-1_theme_auto": "_rs-subtitle-1_theme_auto_1ywu14c_1",
|
|
76
|
+
"rs-subtitle-2_theme_auto": "_rs-subtitle-2_theme_auto_1ywu14c_1",
|
|
77
|
+
"rs-text-1_theme_auto": "_rs-text-1_theme_auto_1ywu14c_1",
|
|
78
|
+
"rs-text-2_theme_auto": "_rs-text-2_theme_auto_1ywu14c_1",
|
|
79
|
+
"rs-text-3_theme_auto": "_rs-text-3_theme_auto_1ywu14c_1",
|
|
80
|
+
"rs-overline_theme_auto": "_rs-overline_theme_auto_1ywu14c_1",
|
|
81
|
+
"rs-text-1_hardness_hard": "_rs-text-1_hardness_hard_1ywu14c_1",
|
|
82
|
+
"rs-text-2_hardness_hard": "_rs-text-2_hardness_hard_1ywu14c_1",
|
|
83
|
+
"rs-text-3_hardness_hard": "_rs-text-3_hardness_hard_1ywu14c_1",
|
|
84
|
+
"rs-text-1_hardness_average": "_rs-text-1_hardness_average_1ywu14c_1",
|
|
85
|
+
"rs-text-2_hardness_average": "_rs-text-2_hardness_average_1ywu14c_1",
|
|
86
|
+
"rs-text-3_hardness_average": "_rs-text-3_hardness_average_1ywu14c_1",
|
|
87
|
+
"rs-text-1_hardness_pale": "_rs-text-1_hardness_pale_1ywu14c_1",
|
|
88
|
+
"rs-text-2_hardness_pale": "_rs-text-2_hardness_pale_1ywu14c_1",
|
|
89
|
+
"rs-text-3_hardness_pale": "_rs-text-3_hardness_pale_1ywu14c_1",
|
|
90
|
+
"rs-text-1_paragraph-offset-auto": "_rs-text-1_paragraph-offset-auto_1ywu14c_1",
|
|
91
|
+
"rs-text-2_paragraph-offset-auto": "_rs-text-2_paragraph-offset-auto_1ywu14c_1",
|
|
92
|
+
"rs-text-3_paragraph-offset-auto": "_rs-text-3_paragraph-offset-auto_1ywu14c_1",
|
|
93
|
+
"rs-text_paragraph-offset-auto": "_rs-text_paragraph-offset-auto_1ywu14c_1",
|
|
94
|
+
"rs-ul": "_rs-ul_1ywu14c_1",
|
|
95
|
+
"rs-ol": "_rs-ol_1ywu14c_1",
|
|
96
|
+
"rs-ul_compact": "_rs-ul_compact_1ywu14c_1",
|
|
97
|
+
"rs-ol_compact": "_rs-ol_compact_1ywu14c_1",
|
|
98
|
+
"rs-ul_offset-items_4": "_rs-ul_offset-items_4_1ywu14c_1",
|
|
99
|
+
"rs-ol_offset-items_4": "_rs-ol_offset-items_4_1ywu14c_1",
|
|
100
|
+
"rs-ul_offset-items_8": "_rs-ul_offset-items_8_1ywu14c_1",
|
|
101
|
+
"rs-ol_offset-items_8": "_rs-ol_offset-items_8_1ywu14c_1",
|
|
102
|
+
"rs-ul_offset-items_12": "_rs-ul_offset-items_12_1ywu14c_1",
|
|
103
|
+
"rs-ol_offset-items_12": "_rs-ol_offset-items_12_1ywu14c_1",
|
|
104
|
+
"rs-ul_offset-items_16": "_rs-ul_offset-items_16_1ywu14c_1",
|
|
105
|
+
"rs-ol_offset-items_16": "_rs-ol_offset-items_16_1ywu14c_1",
|
|
106
|
+
"rs-ul_offset-items_24": "_rs-ul_offset-items_24_1ywu14c_1",
|
|
107
|
+
"rs-ol_offset-items_24": "_rs-ol_offset-items_24_1ywu14c_1",
|
|
108
|
+
"rs-ol_alpha_lower": "_rs-ol_alpha_lower_1ywu14c_1",
|
|
109
|
+
"rs-ol_alpha_upper": "_rs-ol_alpha_upper_1ywu14c_1",
|
|
110
|
+
"rs-code": "_rs-code_1ywu14c_1",
|
|
111
|
+
"rs-pre": "_rs-pre_1ywu14c_1",
|
|
112
|
+
"rs-link_mode_classic": "_rs-link_mode_classic_1ywu14c_1",
|
|
113
|
+
"rs-link_mode_rock": "_rs-link_mode_rock_1ywu14c_1",
|
|
114
|
+
"rs-link_mode_standalone": "_rs-link_mode_standalone_1ywu14c_1",
|
|
115
|
+
"rs-link_mode_clear": "_rs-link_mode_clear_1ywu14c_1",
|
|
116
|
+
"rs-link_hardness_hard": "_rs-link_hardness_hard_1ywu14c_1",
|
|
117
|
+
"rs-link_hardness_average": "_rs-link_hardness_average_1ywu14c_1",
|
|
118
|
+
"rs-link_hardness_pale": "_rs-link_hardness_pale_1ywu14c_1",
|
|
119
|
+
"rs-link_external": "_rs-link_external_1ywu14c_1",
|
|
120
|
+
"rs-link": "_rs-link_1ywu14c_1",
|
|
121
|
+
"rs-code_theme_light": "_rs-code_theme_light_1ywu14c_1",
|
|
122
|
+
"rs-pre_theme_light": "_rs-pre_theme_light_1ywu14c_1",
|
|
123
|
+
"rs-link_theme_light": "_rs-link_theme_light_1ywu14c_1",
|
|
124
|
+
"rs-code_theme_dark": "_rs-code_theme_dark_1ywu14c_1",
|
|
125
|
+
"rs-pre_theme_dark": "_rs-pre_theme_dark_1ywu14c_1",
|
|
126
|
+
"rs-link_theme_dark": "_rs-link_theme_dark_1ywu14c_1",
|
|
127
|
+
"rs-code_theme_auto": "_rs-code_theme_auto_1ywu14c_1",
|
|
128
|
+
"rs-pre_theme_auto": "_rs-pre_theme_auto_1ywu14c_1",
|
|
129
|
+
"rs-link_theme_auto": "_rs-link_theme_auto_1ywu14c_1"
|
|
130
130
|
};
|
|
131
131
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1218,7 +1218,7 @@
|
|
|
1218
1218
|
--_rs-typography-link-after-offset-left:0em;
|
|
1219
1219
|
--_rs-typography-link-hover-after-offset-right:0em;
|
|
1220
1220
|
--_rs-typography-link-hover-after-offset-left:0em;
|
|
1221
|
-
--_rs-typography-link-transition:background-size 300ms, color 300ms;
|
|
1221
|
+
--_rs-typography-link-transition:background-size 300ms var(--rs-transition-function, ease), color 300ms var(--rs-transition-function, ease);
|
|
1222
1222
|
}
|
|
1223
1223
|
.rs-link_mode_standalone{
|
|
1224
1224
|
--_rs-typography-link-standalone-border-offset:var(
|
|
@@ -1500,7 +1500,7 @@
|
|
|
1500
1500
|
|
|
1501
1501
|
content:var(--_rs-typography-link-after-content-or-initial, '\2192');
|
|
1502
1502
|
|
|
1503
|
-
transition:margin-right 300ms, margin-left 300ms;
|
|
1503
|
+
transition:margin-right 300ms var(--rs-transition-function, ease), margin-left 300ms var(--rs-transition-function, ease);
|
|
1504
1504
|
font-feature-settings:'ss20' 1;
|
|
1505
1505
|
}
|
|
1506
1506
|
.rs-link:focus[data-focus-method='key']{
|
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { createTextCn, textCn, colorCn } from './create-text-cn';
|
|
2
|
-
export { useTextStyles } from './use-text-styles';
|
|
3
|
-
export type { TextsParams, LinkParams, OrderedListParams, UnorderedListParams, SubtitlesAndDigitsParams, Texts, Link, OrderedList, UnorderedList, SubtitlesAndDigits, Others, Type, Hardness, Mode, Alpha, OffsetItems, TypeToParams } from './create-text-cn';
|
|
4
|
-
export * from './text-color-utils';
|
|
1
|
+
export { createTextCn, textCn, colorCn } from './create-text-cn';
|
|
2
|
+
export { useTextStyles } from './use-text-styles';
|
|
3
|
+
export type { TextsParams, LinkParams, OrderedListParams, UnorderedListParams, SubtitlesAndDigitsParams, Texts, Link, OrderedList, UnorderedList, SubtitlesAndDigits, Others, Type, Hardness, Mode, Alpha, OffsetItems, TypeToParams } from './create-text-cn';
|
|
4
|
+
export * from './text-color-utils';
|
package/lib/mixins.p.css
CHANGED
|
@@ -3036,7 +3036,7 @@
|
|
|
3036
3036
|
|
|
3037
3037
|
content:var(--_rs-typography-link-after-content-or-initial, '\2192');
|
|
3038
3038
|
|
|
3039
|
-
transition:margin-right 300ms, margin-left 300ms;
|
|
3039
|
+
transition:margin-right 300ms var(--rs-transition-function, ease), margin-left 300ms var(--rs-transition-function, ease);
|
|
3040
3040
|
font-feature-settings:'ss20' 1;
|
|
3041
3041
|
}
|
|
3042
3042
|
&:focus[data-focus-method='key']{
|
|
@@ -3130,7 +3130,7 @@
|
|
|
3130
3130
|
--_rs-typography-link-after-offset-left:0em;
|
|
3131
3131
|
--_rs-typography-link-hover-after-offset-right:0em;
|
|
3132
3132
|
--_rs-typography-link-hover-after-offset-left:0em;
|
|
3133
|
-
--_rs-typography-link-transition:background-size 300ms, color 300ms;
|
|
3133
|
+
--_rs-typography-link-transition:background-size 300ms var(--rs-transition-function, ease), color 300ms var(--rs-transition-function, ease);
|
|
3134
3134
|
}
|
|
3135
3135
|
@define-mixin rs-link-mode-standalone{
|
|
3136
3136
|
--_rs-typography-link-standalone-border-offset:var(
|
package/lib/mixins.pcss
CHANGED
|
@@ -3036,7 +3036,7 @@
|
|
|
3036
3036
|
|
|
3037
3037
|
content:var(--_rs-typography-link-after-content-or-initial, '\2192');
|
|
3038
3038
|
|
|
3039
|
-
transition:margin-right 300ms, margin-left 300ms;
|
|
3039
|
+
transition:margin-right 300ms var(--rs-transition-function, ease), margin-left 300ms var(--rs-transition-function, ease);
|
|
3040
3040
|
font-feature-settings:'ss20' 1;
|
|
3041
3041
|
}
|
|
3042
3042
|
&:focus[data-focus-method='key']{
|
|
@@ -3130,7 +3130,7 @@
|
|
|
3130
3130
|
--_rs-typography-link-after-offset-left:0em;
|
|
3131
3131
|
--_rs-typography-link-hover-after-offset-right:0em;
|
|
3132
3132
|
--_rs-typography-link-hover-after-offset-left:0em;
|
|
3133
|
-
--_rs-typography-link-transition:background-size 300ms, color 300ms;
|
|
3133
|
+
--_rs-typography-link-transition:background-size 300ms var(--rs-transition-function, ease), color 300ms var(--rs-transition-function, ease);
|
|
3134
3134
|
}
|
|
3135
3135
|
@define-mixin rs-link-mode-standalone{
|
|
3136
3136
|
--_rs-typography-link-standalone-border-offset:var(
|
package/lib/public-api.p.css
CHANGED
|
@@ -1162,7 +1162,7 @@
|
|
|
1162
1162
|
--_rs-typography-link-after-offset-left:0em;
|
|
1163
1163
|
--_rs-typography-link-hover-after-offset-right:0em;
|
|
1164
1164
|
--_rs-typography-link-hover-after-offset-left:0em;
|
|
1165
|
-
--_rs-typography-link-transition:background-size 300ms, color 300ms;
|
|
1165
|
+
--_rs-typography-link-transition:background-size 300ms var(--rs-transition-function, ease), color 300ms var(--rs-transition-function, ease);
|
|
1166
1166
|
}
|
|
1167
1167
|
@define-mixin rs-typography-link-mode-standalone{
|
|
1168
1168
|
--_rs-typography-link-standalone-border-offset:var(
|
|
@@ -1642,7 +1642,7 @@
|
|
|
1642
1642
|
|
|
1643
1643
|
content:var(--_rs-typography-link-after-content-or-initial, '\2192');
|
|
1644
1644
|
|
|
1645
|
-
transition:margin-right 300ms, margin-left 300ms;
|
|
1645
|
+
transition:margin-right 300ms var(--rs-transition-function, ease), margin-left 300ms var(--rs-transition-function, ease);
|
|
1646
1646
|
font-feature-settings:'ss20' 1;
|
|
1647
1647
|
}
|
|
1648
1648
|
|
|
@@ -3181,7 +3181,7 @@
|
|
|
3181
3181
|
|
|
3182
3182
|
content:var(--_rs-typography-link-after-content-or-initial, '\2192');
|
|
3183
3183
|
|
|
3184
|
-
transition:margin-right 300ms, margin-left 300ms;
|
|
3184
|
+
transition:margin-right 300ms var(--rs-transition-function, ease), margin-left 300ms var(--rs-transition-function, ease);
|
|
3185
3185
|
font-feature-settings:'ss20' 1;
|
|
3186
3186
|
}
|
|
3187
3187
|
&:focus[data-focus-method='key']{
|
|
@@ -4233,7 +4233,7 @@
|
|
|
4233
4233
|
--_rs-typography-link-after-offset-left:0em;
|
|
4234
4234
|
--_rs-typography-link-hover-after-offset-right:0em;
|
|
4235
4235
|
--_rs-typography-link-hover-after-offset-left:0em;
|
|
4236
|
-
--_rs-typography-link-transition:background-size 300ms, color 300ms;
|
|
4236
|
+
--_rs-typography-link-transition:background-size 300ms var(--rs-transition-function, ease), color 300ms var(--rs-transition-function, ease);
|
|
4237
4237
|
}
|
|
4238
4238
|
}
|
|
4239
4239
|
@define-mixin rs-text-cn-link-mode-standalone{
|
package/lib/public-api.pcss
CHANGED
|
@@ -1162,7 +1162,7 @@
|
|
|
1162
1162
|
--_rs-typography-link-after-offset-left:0em;
|
|
1163
1163
|
--_rs-typography-link-hover-after-offset-right:0em;
|
|
1164
1164
|
--_rs-typography-link-hover-after-offset-left:0em;
|
|
1165
|
-
--_rs-typography-link-transition:background-size 300ms, color 300ms;
|
|
1165
|
+
--_rs-typography-link-transition:background-size 300ms var(--rs-transition-function, ease), color 300ms var(--rs-transition-function, ease);
|
|
1166
1166
|
}
|
|
1167
1167
|
@define-mixin rs-typography-link-mode-standalone{
|
|
1168
1168
|
--_rs-typography-link-standalone-border-offset:var(
|
|
@@ -1642,7 +1642,7 @@
|
|
|
1642
1642
|
|
|
1643
1643
|
content:var(--_rs-typography-link-after-content-or-initial, '\2192');
|
|
1644
1644
|
|
|
1645
|
-
transition:margin-right 300ms, margin-left 300ms;
|
|
1645
|
+
transition:margin-right 300ms var(--rs-transition-function, ease), margin-left 300ms var(--rs-transition-function, ease);
|
|
1646
1646
|
font-feature-settings:'ss20' 1;
|
|
1647
1647
|
}
|
|
1648
1648
|
|
|
@@ -3181,7 +3181,7 @@
|
|
|
3181
3181
|
|
|
3182
3182
|
content:var(--_rs-typography-link-after-content-or-initial, '\2192');
|
|
3183
3183
|
|
|
3184
|
-
transition:margin-right 300ms, margin-left 300ms;
|
|
3184
|
+
transition:margin-right 300ms var(--rs-transition-function, ease), margin-left 300ms var(--rs-transition-function, ease);
|
|
3185
3185
|
font-feature-settings:'ss20' 1;
|
|
3186
3186
|
}
|
|
3187
3187
|
&:focus[data-focus-method='key']{
|
|
@@ -4233,7 +4233,7 @@
|
|
|
4233
4233
|
--_rs-typography-link-after-offset-left:0em;
|
|
4234
4234
|
--_rs-typography-link-hover-after-offset-right:0em;
|
|
4235
4235
|
--_rs-typography-link-hover-after-offset-left:0em;
|
|
4236
|
-
--_rs-typography-link-transition:background-size 300ms, color 300ms;
|
|
4236
|
+
--_rs-typography-link-transition:background-size 300ms var(--rs-transition-function, ease), color 300ms var(--rs-transition-function, ease);
|
|
4237
4237
|
}
|
|
4238
4238
|
}
|
|
4239
4239
|
@define-mixin rs-text-cn-link-mode-standalone{
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
|
|
3
|
-
* @param el
|
|
4
|
-
*/
|
|
5
|
-
export declare function typographyLight(el: HTMLElement): void;
|
|
6
|
-
/**
|
|
7
|
-
* noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
|
|
8
|
-
* @param el
|
|
9
|
-
*/
|
|
10
|
-
export declare function typographyDark(el: HTMLElement): void;
|
|
11
|
-
/**
|
|
12
|
-
* noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
|
|
13
|
-
* @param el
|
|
14
|
-
*/
|
|
15
|
-
export declare function resetTypographyColorVariables(el: HTMLElement): void;
|
|
1
|
+
/**
|
|
2
|
+
* noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
|
|
3
|
+
* @param el
|
|
4
|
+
*/
|
|
5
|
+
export declare function typographyLight(el: HTMLElement): void;
|
|
6
|
+
/**
|
|
7
|
+
* noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
|
|
8
|
+
* @param el
|
|
9
|
+
*/
|
|
10
|
+
export declare function typographyDark(el: HTMLElement): void;
|
|
11
|
+
/**
|
|
12
|
+
* noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
|
|
13
|
+
* @param el
|
|
14
|
+
*/
|
|
15
|
+
export declare function resetTypographyColorVariables(el: HTMLElement): void;
|
package/lib/text-color-utils.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-empty-function,@typescript-eslint/no-unused-vars */
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
|
|
5
|
-
* @param el
|
|
3
|
+
/**
|
|
4
|
+
* noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
|
|
5
|
+
* @param el
|
|
6
6
|
*/
|
|
7
7
|
function typographyLight(el) {}
|
|
8
|
-
/**
|
|
9
|
-
* noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
|
|
10
|
-
* @param el
|
|
8
|
+
/**
|
|
9
|
+
* noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
|
|
10
|
+
* @param el
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
function typographyDark(el) {}
|
|
15
|
-
/**
|
|
16
|
-
* noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
|
|
17
|
-
* @param el
|
|
15
|
+
/**
|
|
16
|
+
* noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
|
|
17
|
+
* @param el
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
|
package/lib/use-text-styles.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const useTextStyles: () => {
|
|
2
|
-
<T extends
|
|
3
|
-
(type: import("./create-text-cn").Texts, params?: import("./create-text-cn").TextsParams): string;
|
|
4
|
-
(type: import("./create-text-cn").SubtitlesAndDigits, params?: import("./create-text-cn").SubtitlesAndDigitsParams): string;
|
|
5
|
-
(type: "
|
|
6
|
-
(type: "
|
|
7
|
-
(type: "
|
|
8
|
-
(type: import("./create-text-cn").Others): string;
|
|
9
|
-
};
|
|
1
|
+
export declare const useTextStyles: () => {
|
|
2
|
+
<T extends keyof import("./create-text-cn").TypeToParams>(type: T, params?: import("./create-text-cn").TypeToParams[T]): string;
|
|
3
|
+
(type: import("./create-text-cn").Texts, params?: import("./create-text-cn").TextsParams): string;
|
|
4
|
+
(type: import("./create-text-cn").SubtitlesAndDigits, params?: import("./create-text-cn").SubtitlesAndDigitsParams): string;
|
|
5
|
+
(type: import("./create-text-cn").Link, params?: import("./create-text-cn").LinkParams): string;
|
|
6
|
+
(type: import("./create-text-cn").OrderedList, params?: import("./create-text-cn").OrderedListParams): string;
|
|
7
|
+
(type: import("./create-text-cn").UnorderedList, params?: import("./create-text-cn").UnorderedListParams): string;
|
|
8
|
+
(type: import("./create-text-cn").Others): string;
|
|
9
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/typography",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime-corejs3": "^7.26.0",
|
|
23
|
-
"@rescui/colors": "^0.3.
|
|
23
|
+
"@rescui/colors": "^0.3.1",
|
|
24
24
|
"classnames": "^2.2.6",
|
|
25
25
|
"inter-ui": "^3.15.1"
|
|
26
26
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@rescui/postcss-preset-library": "^0.2.2",
|
|
33
|
-
"@rescui/scripts": "^0.5.
|
|
33
|
+
"@rescui/scripts": "^0.5.2",
|
|
34
34
|
"@rescui/visual-regression": "^0.1.4",
|
|
35
35
|
"case": "^1.6.3",
|
|
36
36
|
"fs-extra": "^7.0.1",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"build-mixins": "rescui-scripts build-pcss-api --file mixins.p.css"
|
|
45
45
|
},
|
|
46
46
|
"nx": {},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "a04f6790abce8e72834eedce3512ee83513c5e78"
|
|
48
48
|
}
|