@rescui/typography 0.7.0 → 0.7.3
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 +18 -0
- package/lib/index.css +0 -1
- package/lib/mixins.pcss +0 -1
- package/package.json +6 -6
package/lib/create-text-cn.d.ts
CHANGED
|
@@ -9,18 +9,36 @@ export declare type Others = 'rs-super-hero' | 'rs-digits-1' | 'rs-digits-2' | '
|
|
|
9
9
|
export declare type Type = Texts | Link | OrderedList | Others | UnorderedList;
|
|
10
10
|
export declare type Hardness = 'average' | 'hard' | 'pale';
|
|
11
11
|
export declare type TextsParams = {
|
|
12
|
+
/**
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
12
15
|
paragraphOffsetAuto?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @default average
|
|
18
|
+
*/
|
|
13
19
|
hardness?: Hardness;
|
|
14
20
|
};
|
|
15
21
|
export declare type Mode = 'classic' | 'rock' | 'clear' | 'standalone';
|
|
16
22
|
export declare type LinkParams = {
|
|
23
|
+
/**
|
|
24
|
+
* @default false
|
|
25
|
+
*/
|
|
17
26
|
external?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* @default hard
|
|
29
|
+
*/
|
|
18
30
|
hardness?: Hardness;
|
|
31
|
+
/**
|
|
32
|
+
* @default clear
|
|
33
|
+
*/
|
|
19
34
|
mode?: Mode;
|
|
20
35
|
};
|
|
21
36
|
export declare type Alpha = 'lower' | 'upper';
|
|
22
37
|
export declare type OffsetItems = 8 | 12 | 16 | 24;
|
|
23
38
|
export declare type OrderedListParams = {
|
|
39
|
+
/**
|
|
40
|
+
* @default null
|
|
41
|
+
*/
|
|
24
42
|
alpha?: Alpha;
|
|
25
43
|
offsetItems?: OffsetItems;
|
|
26
44
|
};
|
package/lib/index.css
CHANGED
package/lib/mixins.pcss
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/typography",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@babel/runtime-corejs3": "^7.14.0",
|
|
22
|
-
"@rescui/colors": "^0.1.
|
|
22
|
+
"@rescui/colors": "^0.1.1",
|
|
23
23
|
"bem-cn-fast": "^1.0.2",
|
|
24
24
|
"inter-ui": "^3.15.1"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@rescui/ui-contexts": "<0.
|
|
27
|
+
"@rescui/ui-contexts": "<0.4.0",
|
|
28
28
|
"react": ">=16.8.0 <18"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@rescui/postcss-preset-library": "^0.0.
|
|
32
|
-
"@rescui/scripts": "^0.1.
|
|
31
|
+
"@rescui/postcss-preset-library": "^0.0.5",
|
|
32
|
+
"@rescui/scripts": "^0.1.5",
|
|
33
33
|
"@rescui/visual-regression": "^0.0.1",
|
|
34
34
|
"case": "^1.6.3",
|
|
35
35
|
"fs-extra": "^7.0.1",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"build": "rescui-scripts build --no-css-modules && yarn run build-mixins && shx cp src/font-*.css lib",
|
|
41
41
|
"build-mixins": "rescui-scripts postcss --glob mixins.pcss --config ./.postcssrc-mixins.js --no-clean-out && shx mv lib/mixins.css lib/mixins.pcss && shx rm lib/mixins.css.map"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "0747cafd54c577bb1658dce2ab5e6900ff0854b6"
|
|
44
44
|
}
|