@rescui/typography 0.7.1 → 0.7.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.
@@ -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
@@ -59,7 +59,6 @@
59
59
  .rs-digits-1{
60
60
  --rs-digits-1-font-size:var(--rs-digits-2-font-size, 40px);
61
61
  --rs-digits-1-line-height:var(--rs-digits-2-line-height, 44px);
62
- letter-spacing:normal;
63
62
  }
64
63
  }
65
64
  .rs-reset-letter-spacing .rs-digits-1{
package/lib/mixins.pcss CHANGED
@@ -109,7 +109,6 @@
109
109
  @media screen and (max-width: 640px){
110
110
  --rs-digits-1-font-size:var(--rs-digits-2-font-size, 40px);
111
111
  --rs-digits-1-line-height:var(--rs-digits-2-line-height, 44px);
112
- letter-spacing:normal;
113
112
  }
114
113
 
115
114
  .rs-reset-letter-spacing &{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/typography",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -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": "10cf86a6c4c4b678c0b94c03c56c6d33214f03e8"
43
+ "gitHead": "67f695b72d13fd8445542c48f096b65656fdd7d9"
44
44
  }