@rescui/typography 0.16.1 → 0.16.2-RUI-201-Support-css-modules-in-typography.23
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 +4 -4
- package/lib/mixins.pcss +4 -4
- package/lib/public-api.p.css +8 -8
- package/lib/public-api.pcss +8 -8
- package/package.json +8 -8
- package/lib/any.d.ts +0 -1
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_10daax6_1",
|
|
3
|
+
"rs-typography_theme_light": "_rs-typography_theme_light_10daax6_1",
|
|
4
|
+
"rs-typography_theme_dark": "_rs-typography_theme_dark_10daax6_1",
|
|
5
|
+
"rs-text_hardness_hard": "_rs-text_hardness_hard_10daax6_1",
|
|
6
|
+
"rs-text_hardness_average": "_rs-text_hardness_average_10daax6_1",
|
|
7
|
+
"rs-text_hardness_pale": "_rs-text_hardness_pale_10daax6_1",
|
|
8
|
+
"rs-digits-1": "_rs-digits-1_10daax6_1",
|
|
9
|
+
"rs-digits-2": "_rs-digits-2_10daax6_1",
|
|
10
|
+
"rs-super-hero": "_rs-super-hero_10daax6_1",
|
|
11
|
+
"rs-middle-hero": "_rs-middle-hero_10daax6_1",
|
|
12
|
+
"rs-hero": "_rs-hero_10daax6_1",
|
|
13
|
+
"rs-h1": "_rs-h1_10daax6_1",
|
|
14
|
+
"rs-h2": "_rs-h2_10daax6_1",
|
|
15
|
+
"rs-h3": "_rs-h3_10daax6_1",
|
|
16
|
+
"rs-h4": "_rs-h4_10daax6_1",
|
|
17
|
+
"rs-h5": "_rs-h5_10daax6_1",
|
|
18
|
+
"rs-subtitle-1": "_rs-subtitle-1_10daax6_1",
|
|
19
|
+
"rs-subtitle-2": "_rs-subtitle-2_10daax6_1",
|
|
20
|
+
"rs-overline": "_rs-overline_10daax6_1",
|
|
21
|
+
"rs-text-1": "_rs-text-1_10daax6_1",
|
|
22
|
+
"rs-text-2": "_rs-text-2_10daax6_1",
|
|
23
|
+
"rs-text-3": "_rs-text-3_10daax6_1",
|
|
24
|
+
"rs-digits-1_theme_light": "_rs-digits-1_theme_light_10daax6_1",
|
|
25
|
+
"rs-digits-2_theme_light": "_rs-digits-2_theme_light_10daax6_1",
|
|
26
|
+
"rs-super-hero_theme_light": "_rs-super-hero_theme_light_10daax6_1",
|
|
27
|
+
"rs-middle-hero_theme_light": "_rs-middle-hero_theme_light_10daax6_1",
|
|
28
|
+
"rs-hero_theme_light": "_rs-hero_theme_light_10daax6_1",
|
|
29
|
+
"rs-h1_theme_light": "_rs-h1_theme_light_10daax6_1",
|
|
30
|
+
"rs-h2_theme_light": "_rs-h2_theme_light_10daax6_1",
|
|
31
|
+
"rs-h3_theme_light": "_rs-h3_theme_light_10daax6_1",
|
|
32
|
+
"rs-h4_theme_light": "_rs-h4_theme_light_10daax6_1",
|
|
33
|
+
"rs-h5_theme_light": "_rs-h5_theme_light_10daax6_1",
|
|
34
|
+
"rs-subtitle-1_theme_light": "_rs-subtitle-1_theme_light_10daax6_1",
|
|
35
|
+
"rs-subtitle-2_theme_light": "_rs-subtitle-2_theme_light_10daax6_1",
|
|
36
|
+
"rs-text-1_theme_light": "_rs-text-1_theme_light_10daax6_1",
|
|
37
|
+
"rs-text-2_theme_light": "_rs-text-2_theme_light_10daax6_1",
|
|
38
|
+
"rs-text-3_theme_light": "_rs-text-3_theme_light_10daax6_1",
|
|
39
|
+
"rs-overline_theme_light": "_rs-overline_theme_light_10daax6_1",
|
|
40
|
+
"rs-digits-1_theme_dark": "_rs-digits-1_theme_dark_10daax6_1",
|
|
41
|
+
"rs-digits-2_theme_dark": "_rs-digits-2_theme_dark_10daax6_1",
|
|
42
|
+
"rs-super-hero_theme_dark": "_rs-super-hero_theme_dark_10daax6_1",
|
|
43
|
+
"rs-middle-hero_theme_dark": "_rs-middle-hero_theme_dark_10daax6_1",
|
|
44
|
+
"rs-hero_theme_dark": "_rs-hero_theme_dark_10daax6_1",
|
|
45
|
+
"rs-h1_theme_dark": "_rs-h1_theme_dark_10daax6_1",
|
|
46
|
+
"rs-h2_theme_dark": "_rs-h2_theme_dark_10daax6_1",
|
|
47
|
+
"rs-h3_theme_dark": "_rs-h3_theme_dark_10daax6_1",
|
|
48
|
+
"rs-h4_theme_dark": "_rs-h4_theme_dark_10daax6_1",
|
|
49
|
+
"rs-h5_theme_dark": "_rs-h5_theme_dark_10daax6_1",
|
|
50
|
+
"rs-subtitle-1_theme_dark": "_rs-subtitle-1_theme_dark_10daax6_1",
|
|
51
|
+
"rs-subtitle-2_theme_dark": "_rs-subtitle-2_theme_dark_10daax6_1",
|
|
52
|
+
"rs-text-1_theme_dark": "_rs-text-1_theme_dark_10daax6_1",
|
|
53
|
+
"rs-text-2_theme_dark": "_rs-text-2_theme_dark_10daax6_1",
|
|
54
|
+
"rs-text-3_theme_dark": "_rs-text-3_theme_dark_10daax6_1",
|
|
55
|
+
"rs-overline_theme_dark": "_rs-overline_theme_dark_10daax6_1",
|
|
56
|
+
"rs-digits-1_theme_auto": "_rs-digits-1_theme_auto_10daax6_1",
|
|
57
|
+
"rs-digits-2_theme_auto": "_rs-digits-2_theme_auto_10daax6_1",
|
|
58
|
+
"rs-super-hero_theme_auto": "_rs-super-hero_theme_auto_10daax6_1",
|
|
59
|
+
"rs-middle-hero_theme_auto": "_rs-middle-hero_theme_auto_10daax6_1",
|
|
60
|
+
"rs-hero_theme_auto": "_rs-hero_theme_auto_10daax6_1",
|
|
61
|
+
"rs-h1_theme_auto": "_rs-h1_theme_auto_10daax6_1",
|
|
62
|
+
"rs-h2_theme_auto": "_rs-h2_theme_auto_10daax6_1",
|
|
63
|
+
"rs-h3_theme_auto": "_rs-h3_theme_auto_10daax6_1",
|
|
64
|
+
"rs-h4_theme_auto": "_rs-h4_theme_auto_10daax6_1",
|
|
65
|
+
"rs-h5_theme_auto": "_rs-h5_theme_auto_10daax6_1",
|
|
66
|
+
"rs-subtitle-1_theme_auto": "_rs-subtitle-1_theme_auto_10daax6_1",
|
|
67
|
+
"rs-subtitle-2_theme_auto": "_rs-subtitle-2_theme_auto_10daax6_1",
|
|
68
|
+
"rs-text-1_theme_auto": "_rs-text-1_theme_auto_10daax6_1",
|
|
69
|
+
"rs-text-2_theme_auto": "_rs-text-2_theme_auto_10daax6_1",
|
|
70
|
+
"rs-text-3_theme_auto": "_rs-text-3_theme_auto_10daax6_1",
|
|
71
|
+
"rs-overline_theme_auto": "_rs-overline_theme_auto_10daax6_1",
|
|
72
|
+
"rs-text-1_hardness_hard": "_rs-text-1_hardness_hard_10daax6_1",
|
|
73
|
+
"rs-text-2_hardness_hard": "_rs-text-2_hardness_hard_10daax6_1",
|
|
74
|
+
"rs-text-3_hardness_hard": "_rs-text-3_hardness_hard_10daax6_1",
|
|
75
|
+
"rs-text-1_hardness_average": "_rs-text-1_hardness_average_10daax6_1",
|
|
76
|
+
"rs-text-2_hardness_average": "_rs-text-2_hardness_average_10daax6_1",
|
|
77
|
+
"rs-text-3_hardness_average": "_rs-text-3_hardness_average_10daax6_1",
|
|
78
|
+
"rs-text-1_hardness_pale": "_rs-text-1_hardness_pale_10daax6_1",
|
|
79
|
+
"rs-text-2_hardness_pale": "_rs-text-2_hardness_pale_10daax6_1",
|
|
80
|
+
"rs-text-3_hardness_pale": "_rs-text-3_hardness_pale_10daax6_1",
|
|
81
|
+
"rs-text-1_paragraph-offset-auto": "_rs-text-1_paragraph-offset-auto_10daax6_1",
|
|
82
|
+
"rs-text-2_paragraph-offset-auto": "_rs-text-2_paragraph-offset-auto_10daax6_1",
|
|
83
|
+
"rs-text-3_paragraph-offset-auto": "_rs-text-3_paragraph-offset-auto_10daax6_1",
|
|
84
|
+
"rs-text_paragraph-offset-auto": "_rs-text_paragraph-offset-auto_10daax6_1",
|
|
85
|
+
"rs-ul": "_rs-ul_10daax6_1",
|
|
86
|
+
"rs-ol": "_rs-ol_10daax6_1",
|
|
87
|
+
"rs-ul_offset-items_8": "_rs-ul_offset-items_8_10daax6_1",
|
|
88
|
+
"rs-ol_offset-items_8": "_rs-ol_offset-items_8_10daax6_1",
|
|
89
|
+
"rs-ul_offset-items_12": "_rs-ul_offset-items_12_10daax6_1",
|
|
90
|
+
"rs-ol_offset-items_12": "_rs-ol_offset-items_12_10daax6_1",
|
|
91
|
+
"rs-ul_offset-items_16": "_rs-ul_offset-items_16_10daax6_1",
|
|
92
|
+
"rs-ol_offset-items_16": "_rs-ol_offset-items_16_10daax6_1",
|
|
93
|
+
"rs-ul_offset-items_24": "_rs-ul_offset-items_24_10daax6_1",
|
|
94
|
+
"rs-ol_offset-items_24": "_rs-ol_offset-items_24_10daax6_1",
|
|
95
|
+
"rs-ol_alpha_lower": "_rs-ol_alpha_lower_10daax6_1",
|
|
96
|
+
"rs-ol_alpha_upper": "_rs-ol_alpha_upper_10daax6_1",
|
|
97
|
+
"rs-code": "_rs-code_10daax6_1",
|
|
98
|
+
"rs-pre": "_rs-pre_10daax6_1",
|
|
99
|
+
"rs-link_mode_classic": "_rs-link_mode_classic_10daax6_1",
|
|
100
|
+
"rs-link_mode_rock": "_rs-link_mode_rock_10daax6_1",
|
|
101
|
+
"rs-link_mode_standalone": "_rs-link_mode_standalone_10daax6_1",
|
|
102
|
+
"rs-link_mode_clear": "_rs-link_mode_clear_10daax6_1",
|
|
103
|
+
"rs-link_hardness_hard": "_rs-link_hardness_hard_10daax6_1",
|
|
104
|
+
"rs-link_hardness_average": "_rs-link_hardness_average_10daax6_1",
|
|
105
|
+
"rs-link_hardness_pale": "_rs-link_hardness_pale_10daax6_1",
|
|
106
|
+
"rs-link_external": "_rs-link_external_10daax6_1",
|
|
107
|
+
"rs-link": "_rs-link_10daax6_1",
|
|
108
|
+
"rs-code_theme_light": "_rs-code_theme_light_10daax6_1",
|
|
109
|
+
"rs-pre_theme_light": "_rs-pre_theme_light_10daax6_1",
|
|
110
|
+
"rs-link_theme_light": "_rs-link_theme_light_10daax6_1",
|
|
111
|
+
"rs-code_theme_dark": "_rs-code_theme_dark_10daax6_1",
|
|
112
|
+
"rs-pre_theme_dark": "_rs-pre_theme_dark_10daax6_1",
|
|
113
|
+
"rs-link_theme_dark": "_rs-link_theme_dark_10daax6_1",
|
|
114
|
+
"rs-code_theme_auto": "_rs-code_theme_auto_10daax6_1",
|
|
115
|
+
"rs-pre_theme_auto": "_rs-pre_theme_auto_10daax6_1",
|
|
116
|
+
"rs-link_theme_auto": "_rs-link_theme_auto_10daax6_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
package/lib/mixins.p.css
CHANGED
|
@@ -2545,15 +2545,15 @@
|
|
|
2545
2545
|
'Liberation Mono', Menlo, Courier, monospace);
|
|
2546
2546
|
font-size:16px;
|
|
2547
2547
|
line-height:24px;
|
|
2548
|
-
code,
|
|
2549
|
-
|
|
2548
|
+
> code,
|
|
2549
|
+
> [class*='rs-code']{
|
|
2550
2550
|
border:0;
|
|
2551
2551
|
|
|
2552
2552
|
white-space:pre;
|
|
2553
2553
|
word-break:normal;
|
|
2554
2554
|
}
|
|
2555
|
-
|
|
2556
|
-
|
|
2555
|
+
code,
|
|
2556
|
+
[class*='rs-code']{
|
|
2557
2557
|
display:inline;
|
|
2558
2558
|
overflow:visible;
|
|
2559
2559
|
|
package/lib/mixins.pcss
CHANGED
|
@@ -2545,15 +2545,15 @@
|
|
|
2545
2545
|
'Liberation Mono', Menlo, Courier, monospace);
|
|
2546
2546
|
font-size:16px;
|
|
2547
2547
|
line-height:24px;
|
|
2548
|
-
code,
|
|
2549
|
-
|
|
2548
|
+
> code,
|
|
2549
|
+
> [class*='rs-code']{
|
|
2550
2550
|
border:0;
|
|
2551
2551
|
|
|
2552
2552
|
white-space:pre;
|
|
2553
2553
|
word-break:normal;
|
|
2554
2554
|
}
|
|
2555
|
-
|
|
2556
|
-
|
|
2555
|
+
code,
|
|
2556
|
+
[class*='rs-code']{
|
|
2557
2557
|
display:inline;
|
|
2558
2558
|
overflow:visible;
|
|
2559
2559
|
|
package/lib/public-api.p.css
CHANGED
|
@@ -1032,15 +1032,15 @@
|
|
|
1032
1032
|
|
|
1033
1033
|
font-size:16px;
|
|
1034
1034
|
line-height:24px;
|
|
1035
|
-
code,
|
|
1036
|
-
|
|
1035
|
+
> code,
|
|
1036
|
+
> [class*='rs-code']{
|
|
1037
1037
|
border:0;
|
|
1038
1038
|
|
|
1039
1039
|
white-space:pre;
|
|
1040
1040
|
word-break:normal;
|
|
1041
1041
|
}
|
|
1042
|
-
|
|
1043
|
-
|
|
1042
|
+
code,
|
|
1043
|
+
[class*='rs-code']{
|
|
1044
1044
|
display:inline;
|
|
1045
1045
|
overflow:visible;
|
|
1046
1046
|
|
|
@@ -2405,15 +2405,15 @@
|
|
|
2405
2405
|
'Liberation Mono', Menlo, Courier, monospace);
|
|
2406
2406
|
font-size:16px;
|
|
2407
2407
|
line-height:24px;
|
|
2408
|
-
code,
|
|
2409
|
-
|
|
2408
|
+
> code,
|
|
2409
|
+
> [class*='rs-code']{
|
|
2410
2410
|
border:0;
|
|
2411
2411
|
|
|
2412
2412
|
white-space:pre;
|
|
2413
2413
|
word-break:normal;
|
|
2414
2414
|
}
|
|
2415
|
-
|
|
2416
|
-
|
|
2415
|
+
code,
|
|
2416
|
+
[class*='rs-code']{
|
|
2417
2417
|
display:inline;
|
|
2418
2418
|
overflow:visible;
|
|
2419
2419
|
|
package/lib/public-api.pcss
CHANGED
|
@@ -1032,15 +1032,15 @@
|
|
|
1032
1032
|
|
|
1033
1033
|
font-size:16px;
|
|
1034
1034
|
line-height:24px;
|
|
1035
|
-
code,
|
|
1036
|
-
|
|
1035
|
+
> code,
|
|
1036
|
+
> [class*='rs-code']{
|
|
1037
1037
|
border:0;
|
|
1038
1038
|
|
|
1039
1039
|
white-space:pre;
|
|
1040
1040
|
word-break:normal;
|
|
1041
1041
|
}
|
|
1042
|
-
|
|
1043
|
-
|
|
1042
|
+
code,
|
|
1043
|
+
[class*='rs-code']{
|
|
1044
1044
|
display:inline;
|
|
1045
1045
|
overflow:visible;
|
|
1046
1046
|
|
|
@@ -2405,15 +2405,15 @@
|
|
|
2405
2405
|
'Liberation Mono', Menlo, Courier, monospace);
|
|
2406
2406
|
font-size:16px;
|
|
2407
2407
|
line-height:24px;
|
|
2408
|
-
code,
|
|
2409
|
-
|
|
2408
|
+
> code,
|
|
2409
|
+
> [class*='rs-code']{
|
|
2410
2410
|
border:0;
|
|
2411
2411
|
|
|
2412
2412
|
white-space:pre;
|
|
2413
2413
|
word-break:normal;
|
|
2414
2414
|
}
|
|
2415
|
-
|
|
2416
|
-
|
|
2415
|
+
code,
|
|
2416
|
+
[class*='rs-code']{
|
|
2417
2417
|
display:inline;
|
|
2418
2418
|
overflow:visible;
|
|
2419
2419
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/typography",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2-RUI-201-Support-css-modules-in-typography.23+2583dfa0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -19,8 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@babel/runtime-corejs3": "^7.14.0",
|
|
22
|
-
"@rescui/colors": "
|
|
23
|
-
"bem-cn-fast": "^1.0.2",
|
|
22
|
+
"@rescui/colors": "0.2.1-RUI-201-Support-css-modules-in-typography.25+2583dfa0",
|
|
24
23
|
"classnames": "^2.2.6",
|
|
25
24
|
"inter-ui": "^3.15.1"
|
|
26
25
|
},
|
|
@@ -29,18 +28,19 @@
|
|
|
29
28
|
"react": ">=16.8.0 <19"
|
|
30
29
|
},
|
|
31
30
|
"devDependencies": {
|
|
32
|
-
"@rescui/postcss-preset-library": "
|
|
33
|
-
"@rescui/scripts": "
|
|
34
|
-
"@rescui/visual-regression": "
|
|
31
|
+
"@rescui/postcss-preset-library": "0.2.0",
|
|
32
|
+
"@rescui/scripts": "0.3.0",
|
|
33
|
+
"@rescui/visual-regression": "0.1.1",
|
|
35
34
|
"case": "^1.6.3",
|
|
36
35
|
"fs-extra": "^7.0.1",
|
|
37
36
|
"postcss": "^8.2.13",
|
|
38
37
|
"shx": "^0.3.3"
|
|
39
38
|
},
|
|
40
39
|
"scripts": {
|
|
41
|
-
"build": "rescui-scripts build --
|
|
40
|
+
"build": "rescui-scripts build --css-out-filename index-moduled && yarn run build-global && yarn run build-api && yarn run build-mixins && shx cp src/font-*.css lib",
|
|
41
|
+
"build-global": "rescui-scripts postcss --glob ./index.p.css --no-clean-out --no-source-maps",
|
|
42
42
|
"build-api": "rescui-scripts build-pcss-api --file public-api.p.css",
|
|
43
43
|
"build-mixins": "rescui-scripts build-pcss-api --file mixins.p.css"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "2583dfa060441a32fe4e32024b04fa6f32a51eec"
|
|
46
46
|
}
|
package/lib/any.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module 'bem-cn-fast';
|