@rescui/typography 0.19.0 → 0.20.0
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.js +18 -31
- package/lib/font-jb-sans-auto-cn-cdn.css +9 -9
- package/lib/font-jb-sans-auto.css +9 -9
- package/lib/font-jb-sans-cn-cdn.css +6 -6
- package/lib/font-jb-sans-variable-cn-cdn.css +3 -3
- package/lib/font-jb-sans-variable.css +3 -3
- package/lib/font-jb-sans.css +6 -6
- package/lib/index-moduled.css +115 -123
- package/lib/index-moduled.p.module.css.js +120 -120
- package/lib/index.css +0 -8
- package/lib/mixins.p.css +0 -39
- package/lib/mixins.pcss +0 -39
- package/lib/public-api.p.css +5 -39
- package/lib/public-api.pcss +5 -39
- package/package.json +5 -5
package/lib/public-api.pcss
CHANGED
|
@@ -976,8 +976,7 @@
|
|
|
976
976
|
line-height:var(--_rs-typography-line-height);
|
|
977
977
|
|
|
978
978
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
979
|
-
|
|
980
|
-
font-feature-settings:'kern', 'liga', 'calt';
|
|
979
|
+
font-feature-settings:'kern', 'liga', 'calt';
|
|
981
980
|
}
|
|
982
981
|
@define-mixin rs-typography-paragraph-auto-offset-styles{
|
|
983
982
|
& > p:not(:nth-child(1)),
|
|
@@ -1013,8 +1012,7 @@
|
|
|
1013
1012
|
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
1014
1013
|
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
1015
1014
|
);
|
|
1016
|
-
|
|
1017
|
-
font-feature-settings:'kern', 'liga', 'calt';
|
|
1015
|
+
font-feature-settings:'kern', 'liga', 'calt';
|
|
1018
1016
|
|
|
1019
1017
|
> li{
|
|
1020
1018
|
position:relative;
|
|
@@ -1054,9 +1052,7 @@
|
|
|
1054
1052
|
0.1
|
|
1055
1053
|
);
|
|
1056
1054
|
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
box-sizing:border-box;
|
|
1055
|
+
box-sizing:border-box;
|
|
1060
1056
|
padding:0.11111em 0.44444em;
|
|
1061
1057
|
|
|
1062
1058
|
border-radius:4px;
|
|
@@ -1084,9 +1080,7 @@
|
|
|
1084
1080
|
|
|
1085
1081
|
overflow:auto;
|
|
1086
1082
|
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
box-sizing:border-box;
|
|
1083
|
+
box-sizing:border-box;
|
|
1090
1084
|
width:100%;
|
|
1091
1085
|
|
|
1092
1086
|
max-width:100%;
|
|
@@ -1284,12 +1278,10 @@
|
|
|
1284
1278
|
background-repeat:repeat-x;
|
|
1285
1279
|
background-position:left calc(100% + 4px);
|
|
1286
1280
|
background-size:var(--_rs-typography-link-background-size-final);
|
|
1287
|
-
|
|
1288
|
-
box-shadow:var(--_rs-typography-link-box-shadow-final);
|
|
1281
|
+
box-shadow:var(--_rs-typography-link-box-shadow-final);
|
|
1289
1282
|
|
|
1290
1283
|
font-size:inherit;
|
|
1291
1284
|
line-height:inherit;
|
|
1292
|
-
-webkit-transition:var(--_rs-typography-link-transition-wf);
|
|
1293
1285
|
transition:var(--_rs-typography-link-transition-wf);
|
|
1294
1286
|
|
|
1295
1287
|
&:active,
|
|
@@ -1331,8 +1323,6 @@
|
|
|
1331
1323
|
|
|
1332
1324
|
content:var(--_rs-typography-link-after-content-or-initial, '\2192');
|
|
1333
1325
|
|
|
1334
|
-
-webkit-transition:margin-right 300ms, margin-left 300ms;
|
|
1335
|
-
|
|
1336
1326
|
transition:margin-right 300ms, margin-left 300ms;
|
|
1337
1327
|
}
|
|
1338
1328
|
|
|
@@ -1415,7 +1405,6 @@
|
|
|
1415
1405
|
font-weight:var(--_rs-typography-font-weight);
|
|
1416
1406
|
line-height:var(--_rs-typography-line-height);
|
|
1417
1407
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
1418
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
1419
1408
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
1420
1409
|
color:var(--_rs-typography-base-color);
|
|
1421
1410
|
}
|
|
@@ -1472,7 +1461,6 @@
|
|
|
1472
1461
|
font-weight:var(--_rs-typography-font-weight);
|
|
1473
1462
|
line-height:var(--_rs-typography-line-height);
|
|
1474
1463
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
1475
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
1476
1464
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
1477
1465
|
color:var(--_rs-typography-base-color);
|
|
1478
1466
|
}
|
|
@@ -1555,7 +1543,6 @@
|
|
|
1555
1543
|
font-weight:var(--_rs-typography-font-weight);
|
|
1556
1544
|
line-height:var(--_rs-typography-line-height);
|
|
1557
1545
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
1558
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
1559
1546
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
1560
1547
|
color:var(--_rs-typography-base-color);
|
|
1561
1548
|
}
|
|
@@ -1625,7 +1612,6 @@
|
|
|
1625
1612
|
font-weight:var(--_rs-typography-font-weight);
|
|
1626
1613
|
line-height:var(--_rs-typography-line-height);
|
|
1627
1614
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
1628
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
1629
1615
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
1630
1616
|
color:var(--_rs-typography-base-color);
|
|
1631
1617
|
}
|
|
@@ -1692,7 +1678,6 @@
|
|
|
1692
1678
|
font-weight:var(--_rs-typography-font-weight);
|
|
1693
1679
|
line-height:var(--_rs-typography-line-height);
|
|
1694
1680
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
1695
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
1696
1681
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
1697
1682
|
color:var(--_rs-typography-base-color);
|
|
1698
1683
|
}
|
|
@@ -1754,7 +1739,6 @@
|
|
|
1754
1739
|
font-weight:var(--_rs-typography-font-weight);
|
|
1755
1740
|
line-height:var(--_rs-typography-line-height);
|
|
1756
1741
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
1757
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
1758
1742
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
1759
1743
|
color:var(--_rs-typography-base-color);
|
|
1760
1744
|
}
|
|
@@ -1815,7 +1799,6 @@
|
|
|
1815
1799
|
font-weight:var(--_rs-typography-font-weight);
|
|
1816
1800
|
line-height:var(--_rs-typography-line-height);
|
|
1817
1801
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
1818
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
1819
1802
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
1820
1803
|
color:var(--_rs-typography-base-color);
|
|
1821
1804
|
}
|
|
@@ -1866,7 +1849,6 @@
|
|
|
1866
1849
|
font-weight:var(--_rs-typography-font-weight);
|
|
1867
1850
|
line-height:var(--_rs-typography-line-height);
|
|
1868
1851
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
1869
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
1870
1852
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
1871
1853
|
color:var(--_rs-typography-base-color);
|
|
1872
1854
|
}
|
|
@@ -1917,7 +1899,6 @@
|
|
|
1917
1899
|
font-weight:var(--_rs-typography-font-weight);
|
|
1918
1900
|
line-height:var(--_rs-typography-line-height);
|
|
1919
1901
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
1920
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
1921
1902
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
1922
1903
|
color:var(--_rs-typography-base-color);
|
|
1923
1904
|
}
|
|
@@ -1968,7 +1949,6 @@
|
|
|
1968
1949
|
font-weight:var(--_rs-typography-font-weight);
|
|
1969
1950
|
line-height:var(--_rs-typography-line-height);
|
|
1970
1951
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
1971
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
1972
1952
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
1973
1953
|
color:var(--_rs-typography-base-color);
|
|
1974
1954
|
}
|
|
@@ -2035,7 +2015,6 @@
|
|
|
2035
2015
|
font-weight:var(--_rs-typography-font-weight);
|
|
2036
2016
|
line-height:var(--_rs-typography-line-height);
|
|
2037
2017
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
2038
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
2039
2018
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
2040
2019
|
color:var(--_rs-typography-base-color);
|
|
2041
2020
|
}
|
|
@@ -2102,7 +2081,6 @@
|
|
|
2102
2081
|
font-weight:var(--_rs-typography-font-weight);
|
|
2103
2082
|
line-height:var(--_rs-typography-line-height);
|
|
2104
2083
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
2105
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
2106
2084
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
2107
2085
|
color:var(--_rs-typography-base-color);
|
|
2108
2086
|
}
|
|
@@ -2159,7 +2137,6 @@
|
|
|
2159
2137
|
font-weight:var(--_rs-typography-font-weight);
|
|
2160
2138
|
line-height:var(--_rs-typography-line-height);
|
|
2161
2139
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
2162
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
2163
2140
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
2164
2141
|
color:var(--_rs-typography-base-color);
|
|
2165
2142
|
}
|
|
@@ -2216,7 +2193,6 @@
|
|
|
2216
2193
|
font-weight:var(--_rs-typography-font-weight);
|
|
2217
2194
|
line-height:var(--_rs-typography-line-height);
|
|
2218
2195
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
2219
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
2220
2196
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
2221
2197
|
color:var(--_rs-typography-base-color);
|
|
2222
2198
|
}
|
|
@@ -2273,7 +2249,6 @@
|
|
|
2273
2249
|
font-weight:var(--_rs-typography-font-weight);
|
|
2274
2250
|
line-height:var(--_rs-typography-line-height);
|
|
2275
2251
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
2276
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
2277
2252
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
2278
2253
|
color:var(--_rs-typography-base-color);
|
|
2279
2254
|
}
|
|
@@ -2327,7 +2302,6 @@
|
|
|
2327
2302
|
font-weight:var(--_rs-typography-font-weight);
|
|
2328
2303
|
line-height:var(--_rs-typography-line-height);
|
|
2329
2304
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
2330
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
2331
2305
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
2332
2306
|
color:var(--_rs-typography-base-color);
|
|
2333
2307
|
}
|
|
@@ -2361,7 +2335,6 @@
|
|
|
2361
2335
|
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
2362
2336
|
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
2363
2337
|
);
|
|
2364
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
2365
2338
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
2366
2339
|
> li{
|
|
2367
2340
|
position:relative;
|
|
@@ -2421,7 +2394,6 @@
|
|
|
2421
2394
|
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
2422
2395
|
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
2423
2396
|
);
|
|
2424
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
2425
2397
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
2426
2398
|
> li{
|
|
2427
2399
|
position:relative;
|
|
@@ -2467,7 +2439,6 @@
|
|
|
2467
2439
|
calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227),
|
|
2468
2440
|
0.1
|
|
2469
2441
|
);
|
|
2470
|
-
-webkit-box-sizing:border-box;
|
|
2471
2442
|
box-sizing:border-box;
|
|
2472
2443
|
padding:0.11111em 0.44444em;
|
|
2473
2444
|
border-radius:4px;
|
|
@@ -2496,7 +2467,6 @@
|
|
|
2496
2467
|
);
|
|
2497
2468
|
display:block;
|
|
2498
2469
|
overflow:auto;
|
|
2499
|
-
-webkit-box-sizing:border-box;
|
|
2500
2470
|
box-sizing:border-box;
|
|
2501
2471
|
width:100%;
|
|
2502
2472
|
max-width:100%;
|
|
@@ -2676,11 +2646,9 @@
|
|
|
2676
2646
|
background-repeat:repeat-x;
|
|
2677
2647
|
background-position:left calc(100% + 4px);
|
|
2678
2648
|
background-size:var(--_rs-typography-link-background-size-final);
|
|
2679
|
-
-webkit-box-shadow:var(--_rs-typography-link-box-shadow-final);
|
|
2680
2649
|
box-shadow:var(--_rs-typography-link-box-shadow-final);
|
|
2681
2650
|
font-size:inherit;
|
|
2682
2651
|
line-height:inherit;
|
|
2683
|
-
-webkit-transition:var(--_rs-typography-link-transition-wf);
|
|
2684
2652
|
transition:var(--_rs-typography-link-transition-wf);
|
|
2685
2653
|
&:active,
|
|
2686
2654
|
&:focus{
|
|
@@ -2719,8 +2687,6 @@
|
|
|
2719
2687
|
|
|
2720
2688
|
content:var(--_rs-typography-link-after-content-or-initial, '\2192');
|
|
2721
2689
|
|
|
2722
|
-
-webkit-transition:margin-right 300ms, margin-left 300ms;
|
|
2723
|
-
|
|
2724
2690
|
transition:margin-right 300ms, margin-left 300ms;
|
|
2725
2691
|
}
|
|
2726
2692
|
&:focus[data-focus-method='key']{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/typography",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@babel/runtime-corejs3": "^7.
|
|
22
|
-
"@rescui/colors": "^0.2.
|
|
21
|
+
"@babel/runtime-corejs3": "^7.26.0",
|
|
22
|
+
"@rescui/colors": "^0.2.6",
|
|
23
23
|
"classnames": "^2.2.6",
|
|
24
24
|
"inter-ui": "^3.15.1"
|
|
25
25
|
},
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@rescui/postcss-preset-library": "^0.2.2",
|
|
32
|
-
"@rescui/scripts": "^0.3.
|
|
32
|
+
"@rescui/scripts": "^0.3.5",
|
|
33
33
|
"@rescui/visual-regression": "^0.1.2",
|
|
34
34
|
"case": "^1.6.3",
|
|
35
35
|
"fs-extra": "^7.0.1",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"build-mixins": "rescui-scripts build-pcss-api --file mixins.p.css"
|
|
44
44
|
},
|
|
45
45
|
"nx": {},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "5531e3d285d6e38bf5536ff0690a252f1308c49b"
|
|
47
47
|
}
|