@rescui/typography 0.16.2-RUI-201-Support-css-modules-in-typography-f33bc767.25 → 0.16.2-RUI-201-Support-css-modules-in-typography-6efea65f.26

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.
@@ -667,15 +667,6 @@
667
667
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.15em;
668
668
  --_rs-typography-link-border-bottom-width-from-text:2px;
669
669
  }
670
- @define-mixin rs-typography-auto-offset-true{
671
- --_rs-typography-auto-offset-or-initial:var(
672
- --_rs-typography-text-auto-offset,
673
- 0
674
- );
675
- }
676
- @define-mixin rs-typography-auto-offset-false{
677
- --_rs-typography-auto-offset-or-initial:initial;
678
- }
679
670
  @define-mixin rs-typography-ul{
680
671
  --_rs-typography-list-li-content-base:'\2022';
681
672
  --_rs-typography-list-counter:initial;
@@ -906,10 +897,11 @@
906
897
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
907
898
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
908
899
  font-feature-settings:'kern', 'liga', 'calt';
909
-
900
+ }
901
+ @define-mixin rs-typography-paragraph-auto-offset-styles{
910
902
  & > p:not(:nth-child(1)),
911
903
  & > pre:not(:nth-child(1)){
912
- padding-top:var(--_rs-typography-auto-offset-or-initial);
904
+ margin-top:var(--_rs-typography-text-auto-offset, 0);
913
905
  }
914
906
  }
915
907
  @define-mixin rs-typography-list-styles{
@@ -1269,10 +1261,6 @@
1269
1261
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1270
1262
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1271
1263
  font-feature-settings:'kern', 'liga', 'calt';
1272
- & > p:not(:nth-child(1)),
1273
- & > pre:not(:nth-child(1)){
1274
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1275
- }
1276
1264
 
1277
1265
  color:var(--_rs-typography-base-color);
1278
1266
  }
@@ -1328,10 +1316,6 @@
1328
1316
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1329
1317
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1330
1318
  font-feature-settings:'kern', 'liga', 'calt';
1331
- & > p:not(:nth-child(1)),
1332
- & > pre:not(:nth-child(1)){
1333
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1334
- }
1335
1319
 
1336
1320
  color:var(--_rs-typography-base-color);
1337
1321
  }
@@ -1413,10 +1397,6 @@
1413
1397
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1414
1398
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1415
1399
  font-feature-settings:'kern', 'liga', 'calt';
1416
- & > p:not(:nth-child(1)),
1417
- & > pre:not(:nth-child(1)){
1418
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1419
- }
1420
1400
 
1421
1401
  color:var(--_rs-typography-base-color);
1422
1402
  }
@@ -1485,10 +1465,6 @@
1485
1465
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1486
1466
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1487
1467
  font-feature-settings:'kern', 'liga', 'calt';
1488
- & > p:not(:nth-child(1)),
1489
- & > pre:not(:nth-child(1)){
1490
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1491
- }
1492
1468
 
1493
1469
  color:var(--_rs-typography-base-color);
1494
1470
  }
@@ -1554,10 +1530,6 @@
1554
1530
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1555
1531
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1556
1532
  font-feature-settings:'kern', 'liga', 'calt';
1557
- & > p:not(:nth-child(1)),
1558
- & > pre:not(:nth-child(1)){
1559
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1560
- }
1561
1533
 
1562
1534
  color:var(--_rs-typography-base-color);
1563
1535
  }
@@ -1618,10 +1590,6 @@
1618
1590
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1619
1591
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1620
1592
  font-feature-settings:'kern', 'liga', 'calt';
1621
- & > p:not(:nth-child(1)),
1622
- & > pre:not(:nth-child(1)){
1623
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1624
- }
1625
1593
 
1626
1594
  color:var(--_rs-typography-base-color);
1627
1595
  }
@@ -1681,10 +1649,6 @@
1681
1649
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1682
1650
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1683
1651
  font-feature-settings:'kern', 'liga', 'calt';
1684
- & > p:not(:nth-child(1)),
1685
- & > pre:not(:nth-child(1)){
1686
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1687
- }
1688
1652
 
1689
1653
  color:var(--_rs-typography-base-color);
1690
1654
  }
@@ -1734,10 +1698,6 @@
1734
1698
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1735
1699
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1736
1700
  font-feature-settings:'kern', 'liga', 'calt';
1737
- & > p:not(:nth-child(1)),
1738
- & > pre:not(:nth-child(1)){
1739
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1740
- }
1741
1701
 
1742
1702
  color:var(--_rs-typography-base-color);
1743
1703
  }
@@ -1787,10 +1747,6 @@
1787
1747
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1788
1748
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1789
1749
  font-feature-settings:'kern', 'liga', 'calt';
1790
- & > p:not(:nth-child(1)),
1791
- & > pre:not(:nth-child(1)){
1792
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1793
- }
1794
1750
 
1795
1751
  color:var(--_rs-typography-base-color);
1796
1752
  }
@@ -1840,10 +1796,6 @@
1840
1796
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1841
1797
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1842
1798
  font-feature-settings:'kern', 'liga', 'calt';
1843
- & > p:not(:nth-child(1)),
1844
- & > pre:not(:nth-child(1)){
1845
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1846
- }
1847
1799
 
1848
1800
  color:var(--_rs-typography-base-color);
1849
1801
  }
@@ -1909,10 +1861,6 @@
1909
1861
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1910
1862
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1911
1863
  font-feature-settings:'kern', 'liga', 'calt';
1912
- & > p:not(:nth-child(1)),
1913
- & > pre:not(:nth-child(1)){
1914
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1915
- }
1916
1864
 
1917
1865
  color:var(--_rs-typography-base-color);
1918
1866
  }
@@ -1978,10 +1926,6 @@
1978
1926
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1979
1927
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1980
1928
  font-feature-settings:'kern', 'liga', 'calt';
1981
- & > p:not(:nth-child(1)),
1982
- & > pre:not(:nth-child(1)){
1983
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1984
- }
1985
1929
 
1986
1930
  color:var(--_rs-typography-base-color);
1987
1931
  }
@@ -2037,10 +1981,6 @@
2037
1981
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
2038
1982
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
2039
1983
  font-feature-settings:'kern', 'liga', 'calt';
2040
- & > p:not(:nth-child(1)),
2041
- & > pre:not(:nth-child(1)){
2042
- padding-top:var(--_rs-typography-auto-offset-or-initial);
2043
- }
2044
1984
 
2045
1985
  color:var(--_rs-typography-base-color);
2046
1986
  }
@@ -2099,10 +2039,6 @@
2099
2039
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
2100
2040
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
2101
2041
  font-feature-settings:'kern', 'liga', 'calt';
2102
- & > p:not(:nth-child(1)),
2103
- & > pre:not(:nth-child(1)){
2104
- padding-top:var(--_rs-typography-auto-offset-or-initial);
2105
- }
2106
2042
 
2107
2043
  color:var(--_rs-typography-base-color);
2108
2044
  }
@@ -2161,10 +2097,6 @@
2161
2097
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
2162
2098
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
2163
2099
  font-feature-settings:'kern', 'liga', 'calt';
2164
- & > p:not(:nth-child(1)),
2165
- & > pre:not(:nth-child(1)){
2166
- padding-top:var(--_rs-typography-auto-offset-or-initial);
2167
- }
2168
2100
 
2169
2101
  color:var(--_rs-typography-base-color);
2170
2102
  }
@@ -2220,10 +2152,6 @@
2220
2152
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
2221
2153
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
2222
2154
  font-feature-settings:'kern', 'liga', 'calt';
2223
- & > p:not(:nth-child(1)),
2224
- & > pre:not(:nth-child(1)){
2225
- padding-top:var(--_rs-typography-auto-offset-or-initial);
2226
- }
2227
2155
 
2228
2156
  color:var(--_rs-typography-base-color);
2229
2157
  }
@@ -3278,19 +3206,6 @@
3278
3206
  --_rs-typography-hardness-color:initial;
3279
3207
  }
3280
3208
  }
3281
- @define-mixin rs-text-cn-auto-offset-true{
3282
- &:not(html){
3283
- --_rs-typography-auto-offset-or-initial:var(
3284
- --_rs-typography-text-auto-offset,
3285
- 0
3286
- );
3287
- }
3288
- }
3289
- @define-mixin rs-text-cn-auto-offset-false{
3290
- &:not(html){
3291
- --_rs-typography-auto-offset-or-initial:initial;
3292
- }
3293
- }
3294
3209
  @define-mixin rs-text-cn-list-offset-items-8{
3295
3210
  &:not(html){
3296
3211
  --_rs-typography-list-li-margin-top:8px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/typography",
3
- "version": "0.16.2-RUI-201-Support-css-modules-in-typography-f33bc767.25+f33bc767",
3
+ "version": "0.16.2-RUI-201-Support-css-modules-in-typography-6efea65f.26+6efea65f",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@babel/runtime-corejs3": "^7.14.0",
22
- "@rescui/colors": "0.2.1-RUI-201-Support-css-modules-in-typography-f33bc767.27+f33bc767",
22
+ "@rescui/colors": "0.2.1-RUI-201-Support-css-modules-in-typography-6efea65f.28+6efea65f",
23
23
  "classnames": "^2.2.6",
24
24
  "inter-ui": "^3.15.1"
25
25
  },
@@ -43,5 +43,5 @@
43
43
  "build-mixins": "rescui-scripts build-pcss-api --file mixins.p.css"
44
44
  },
45
45
  "nx": {},
46
- "gitHead": "f33bc767b1ada744d5c50c7394a5e6e06d540baa"
46
+ "gitHead": "6efea65fdcd5dea2f275be4be0e30ee7eb6ad136"
47
47
  }