@rescui/typography 0.16.1 → 0.16.2-RUI-201-Support-css-modules-in-typography-f33bc767.25
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 +0 -2
- package/lib/create-text-cn.js +5 -4
- package/lib/index-moduled.css +1303 -0
- package/lib/index-moduled.p.module.css.js +118 -0
- package/lib/index.css +4 -4
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -1
- package/lib/mixins.p.css +157 -194
- package/lib/mixins.pcss +157 -194
- package/lib/public-api.p.css +8 -8
- package/lib/public-api.pcss +8 -8
- package/package.json +9 -8
- package/lib/any.d.ts +0 -1
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_flo0wz_1",
|
|
3
|
+
"rs-typography_theme_light": "_rs-typography_theme_light_flo0wz_1",
|
|
4
|
+
"rs-typography_theme_dark": "_rs-typography_theme_dark_flo0wz_1",
|
|
5
|
+
"rs-text_hardness_hard": "_rs-text_hardness_hard_flo0wz_1",
|
|
6
|
+
"rs-text_hardness_average": "_rs-text_hardness_average_flo0wz_1",
|
|
7
|
+
"rs-text_hardness_pale": "_rs-text_hardness_pale_flo0wz_1",
|
|
8
|
+
"rs-digits-1": "_rs-digits-1_flo0wz_1",
|
|
9
|
+
"rs-digits-2": "_rs-digits-2_flo0wz_1",
|
|
10
|
+
"rs-super-hero": "_rs-super-hero_flo0wz_1",
|
|
11
|
+
"rs-middle-hero": "_rs-middle-hero_flo0wz_1",
|
|
12
|
+
"rs-hero": "_rs-hero_flo0wz_1",
|
|
13
|
+
"rs-h1": "_rs-h1_flo0wz_1",
|
|
14
|
+
"rs-h2": "_rs-h2_flo0wz_1",
|
|
15
|
+
"rs-h3": "_rs-h3_flo0wz_1",
|
|
16
|
+
"rs-h4": "_rs-h4_flo0wz_1",
|
|
17
|
+
"rs-h5": "_rs-h5_flo0wz_1",
|
|
18
|
+
"rs-subtitle-1": "_rs-subtitle-1_flo0wz_1",
|
|
19
|
+
"rs-subtitle-2": "_rs-subtitle-2_flo0wz_1",
|
|
20
|
+
"rs-overline": "_rs-overline_flo0wz_1",
|
|
21
|
+
"rs-text-1": "_rs-text-1_flo0wz_1",
|
|
22
|
+
"rs-text-2": "_rs-text-2_flo0wz_1",
|
|
23
|
+
"rs-text-3": "_rs-text-3_flo0wz_1",
|
|
24
|
+
"rs-digits-1_theme_light": "_rs-digits-1_theme_light_flo0wz_1",
|
|
25
|
+
"rs-digits-2_theme_light": "_rs-digits-2_theme_light_flo0wz_1",
|
|
26
|
+
"rs-super-hero_theme_light": "_rs-super-hero_theme_light_flo0wz_1",
|
|
27
|
+
"rs-middle-hero_theme_light": "_rs-middle-hero_theme_light_flo0wz_1",
|
|
28
|
+
"rs-hero_theme_light": "_rs-hero_theme_light_flo0wz_1",
|
|
29
|
+
"rs-h1_theme_light": "_rs-h1_theme_light_flo0wz_1",
|
|
30
|
+
"rs-h2_theme_light": "_rs-h2_theme_light_flo0wz_1",
|
|
31
|
+
"rs-h3_theme_light": "_rs-h3_theme_light_flo0wz_1",
|
|
32
|
+
"rs-h4_theme_light": "_rs-h4_theme_light_flo0wz_1",
|
|
33
|
+
"rs-h5_theme_light": "_rs-h5_theme_light_flo0wz_1",
|
|
34
|
+
"rs-subtitle-1_theme_light": "_rs-subtitle-1_theme_light_flo0wz_1",
|
|
35
|
+
"rs-subtitle-2_theme_light": "_rs-subtitle-2_theme_light_flo0wz_1",
|
|
36
|
+
"rs-text-1_theme_light": "_rs-text-1_theme_light_flo0wz_1",
|
|
37
|
+
"rs-text-2_theme_light": "_rs-text-2_theme_light_flo0wz_1",
|
|
38
|
+
"rs-text-3_theme_light": "_rs-text-3_theme_light_flo0wz_1",
|
|
39
|
+
"rs-overline_theme_light": "_rs-overline_theme_light_flo0wz_1",
|
|
40
|
+
"rs-digits-1_theme_dark": "_rs-digits-1_theme_dark_flo0wz_1",
|
|
41
|
+
"rs-digits-2_theme_dark": "_rs-digits-2_theme_dark_flo0wz_1",
|
|
42
|
+
"rs-super-hero_theme_dark": "_rs-super-hero_theme_dark_flo0wz_1",
|
|
43
|
+
"rs-middle-hero_theme_dark": "_rs-middle-hero_theme_dark_flo0wz_1",
|
|
44
|
+
"rs-hero_theme_dark": "_rs-hero_theme_dark_flo0wz_1",
|
|
45
|
+
"rs-h1_theme_dark": "_rs-h1_theme_dark_flo0wz_1",
|
|
46
|
+
"rs-h2_theme_dark": "_rs-h2_theme_dark_flo0wz_1",
|
|
47
|
+
"rs-h3_theme_dark": "_rs-h3_theme_dark_flo0wz_1",
|
|
48
|
+
"rs-h4_theme_dark": "_rs-h4_theme_dark_flo0wz_1",
|
|
49
|
+
"rs-h5_theme_dark": "_rs-h5_theme_dark_flo0wz_1",
|
|
50
|
+
"rs-subtitle-1_theme_dark": "_rs-subtitle-1_theme_dark_flo0wz_1",
|
|
51
|
+
"rs-subtitle-2_theme_dark": "_rs-subtitle-2_theme_dark_flo0wz_1",
|
|
52
|
+
"rs-text-1_theme_dark": "_rs-text-1_theme_dark_flo0wz_1",
|
|
53
|
+
"rs-text-2_theme_dark": "_rs-text-2_theme_dark_flo0wz_1",
|
|
54
|
+
"rs-text-3_theme_dark": "_rs-text-3_theme_dark_flo0wz_1",
|
|
55
|
+
"rs-overline_theme_dark": "_rs-overline_theme_dark_flo0wz_1",
|
|
56
|
+
"rs-digits-1_theme_auto": "_rs-digits-1_theme_auto_flo0wz_1",
|
|
57
|
+
"rs-digits-2_theme_auto": "_rs-digits-2_theme_auto_flo0wz_1",
|
|
58
|
+
"rs-super-hero_theme_auto": "_rs-super-hero_theme_auto_flo0wz_1",
|
|
59
|
+
"rs-middle-hero_theme_auto": "_rs-middle-hero_theme_auto_flo0wz_1",
|
|
60
|
+
"rs-hero_theme_auto": "_rs-hero_theme_auto_flo0wz_1",
|
|
61
|
+
"rs-h1_theme_auto": "_rs-h1_theme_auto_flo0wz_1",
|
|
62
|
+
"rs-h2_theme_auto": "_rs-h2_theme_auto_flo0wz_1",
|
|
63
|
+
"rs-h3_theme_auto": "_rs-h3_theme_auto_flo0wz_1",
|
|
64
|
+
"rs-h4_theme_auto": "_rs-h4_theme_auto_flo0wz_1",
|
|
65
|
+
"rs-h5_theme_auto": "_rs-h5_theme_auto_flo0wz_1",
|
|
66
|
+
"rs-subtitle-1_theme_auto": "_rs-subtitle-1_theme_auto_flo0wz_1",
|
|
67
|
+
"rs-subtitle-2_theme_auto": "_rs-subtitle-2_theme_auto_flo0wz_1",
|
|
68
|
+
"rs-text-1_theme_auto": "_rs-text-1_theme_auto_flo0wz_1",
|
|
69
|
+
"rs-text-2_theme_auto": "_rs-text-2_theme_auto_flo0wz_1",
|
|
70
|
+
"rs-text-3_theme_auto": "_rs-text-3_theme_auto_flo0wz_1",
|
|
71
|
+
"rs-overline_theme_auto": "_rs-overline_theme_auto_flo0wz_1",
|
|
72
|
+
"rs-text-1_hardness_hard": "_rs-text-1_hardness_hard_flo0wz_1",
|
|
73
|
+
"rs-text-2_hardness_hard": "_rs-text-2_hardness_hard_flo0wz_1",
|
|
74
|
+
"rs-text-3_hardness_hard": "_rs-text-3_hardness_hard_flo0wz_1",
|
|
75
|
+
"rs-text-1_hardness_average": "_rs-text-1_hardness_average_flo0wz_1",
|
|
76
|
+
"rs-text-2_hardness_average": "_rs-text-2_hardness_average_flo0wz_1",
|
|
77
|
+
"rs-text-3_hardness_average": "_rs-text-3_hardness_average_flo0wz_1",
|
|
78
|
+
"rs-text-1_hardness_pale": "_rs-text-1_hardness_pale_flo0wz_1",
|
|
79
|
+
"rs-text-2_hardness_pale": "_rs-text-2_hardness_pale_flo0wz_1",
|
|
80
|
+
"rs-text-3_hardness_pale": "_rs-text-3_hardness_pale_flo0wz_1",
|
|
81
|
+
"rs-text-1_paragraph-offset-auto": "_rs-text-1_paragraph-offset-auto_flo0wz_1",
|
|
82
|
+
"rs-text-2_paragraph-offset-auto": "_rs-text-2_paragraph-offset-auto_flo0wz_1",
|
|
83
|
+
"rs-text-3_paragraph-offset-auto": "_rs-text-3_paragraph-offset-auto_flo0wz_1",
|
|
84
|
+
"rs-text_paragraph-offset-auto": "_rs-text_paragraph-offset-auto_flo0wz_1",
|
|
85
|
+
"rs-ul": "_rs-ul_flo0wz_1",
|
|
86
|
+
"rs-ol": "_rs-ol_flo0wz_1",
|
|
87
|
+
"rs-ul_offset-items_8": "_rs-ul_offset-items_8_flo0wz_1",
|
|
88
|
+
"rs-ol_offset-items_8": "_rs-ol_offset-items_8_flo0wz_1",
|
|
89
|
+
"rs-ul_offset-items_12": "_rs-ul_offset-items_12_flo0wz_1",
|
|
90
|
+
"rs-ol_offset-items_12": "_rs-ol_offset-items_12_flo0wz_1",
|
|
91
|
+
"rs-ul_offset-items_16": "_rs-ul_offset-items_16_flo0wz_1",
|
|
92
|
+
"rs-ol_offset-items_16": "_rs-ol_offset-items_16_flo0wz_1",
|
|
93
|
+
"rs-ul_offset-items_24": "_rs-ul_offset-items_24_flo0wz_1",
|
|
94
|
+
"rs-ol_offset-items_24": "_rs-ol_offset-items_24_flo0wz_1",
|
|
95
|
+
"rs-ol_alpha_lower": "_rs-ol_alpha_lower_flo0wz_1",
|
|
96
|
+
"rs-ol_alpha_upper": "_rs-ol_alpha_upper_flo0wz_1",
|
|
97
|
+
"rs-code": "_rs-code_flo0wz_1",
|
|
98
|
+
"rs-pre": "_rs-pre_flo0wz_1",
|
|
99
|
+
"rs-link_mode_classic": "_rs-link_mode_classic_flo0wz_1",
|
|
100
|
+
"rs-link_mode_rock": "_rs-link_mode_rock_flo0wz_1",
|
|
101
|
+
"rs-link_mode_standalone": "_rs-link_mode_standalone_flo0wz_1",
|
|
102
|
+
"rs-link_mode_clear": "_rs-link_mode_clear_flo0wz_1",
|
|
103
|
+
"rs-link_hardness_hard": "_rs-link_hardness_hard_flo0wz_1",
|
|
104
|
+
"rs-link_hardness_average": "_rs-link_hardness_average_flo0wz_1",
|
|
105
|
+
"rs-link_hardness_pale": "_rs-link_hardness_pale_flo0wz_1",
|
|
106
|
+
"rs-link_external": "_rs-link_external_flo0wz_1",
|
|
107
|
+
"rs-link": "_rs-link_flo0wz_1",
|
|
108
|
+
"rs-code_theme_light": "_rs-code_theme_light_flo0wz_1",
|
|
109
|
+
"rs-pre_theme_light": "_rs-pre_theme_light_flo0wz_1",
|
|
110
|
+
"rs-link_theme_light": "_rs-link_theme_light_flo0wz_1",
|
|
111
|
+
"rs-code_theme_dark": "_rs-code_theme_dark_flo0wz_1",
|
|
112
|
+
"rs-pre_theme_dark": "_rs-pre_theme_dark_flo0wz_1",
|
|
113
|
+
"rs-link_theme_dark": "_rs-link_theme_dark_flo0wz_1",
|
|
114
|
+
"rs-code_theme_auto": "_rs-code_theme_auto_flo0wz_1",
|
|
115
|
+
"rs-pre_theme_auto": "_rs-pre_theme_auto_flo0wz_1",
|
|
116
|
+
"rs-link_theme_auto": "_rs-link_theme_auto_flo0wz_1"
|
|
117
|
+
};
|
|
118
|
+
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -963,15 +963,15 @@
|
|
|
963
963
|
font-size:16px;
|
|
964
964
|
line-height:24px;
|
|
965
965
|
}
|
|
966
|
-
.rs-pre code,
|
|
967
|
-
.rs-pre
|
|
966
|
+
.rs-pre > code,
|
|
967
|
+
.rs-pre > [class*='rs-code']{
|
|
968
968
|
border:0;
|
|
969
969
|
|
|
970
970
|
white-space:pre;
|
|
971
971
|
word-break:normal;
|
|
972
972
|
}
|
|
973
|
-
.rs-pre
|
|
974
|
-
.rs-pre
|
|
973
|
+
.rs-pre code,
|
|
974
|
+
.rs-pre [class*='rs-code']{
|
|
975
975
|
display:inline;
|
|
976
976
|
overflow:visible;
|
|
977
977
|
|
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import './styles';
|
|
2
1
|
export { createTextCn, useTextStyles, textCn } from './create-text-cn';
|
|
3
2
|
export type { TextsParams, LinkParams, OrderedListParams, UnorderedListParams, Texts, Link, OrderedList, UnorderedList, Others, Hardness, Mode, Alpha, OffsetItems } from './create-text-cn';
|
|
4
3
|
export * from './text-color-utils';
|
package/lib/index.js
CHANGED