@snabcentr/client-ui 2.5.0 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/auth/sign-up-form/sc-sign-up-form.component.d.ts +17 -2
- package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +3 -3
- package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +25 -4
- package/esm2022/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +3 -3
- package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +3 -3
- package/esm2022/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +4 -3
- package/esm2022/catalog/sc-favorite-btn/sc-favorite-btn.component.mjs +3 -3
- package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +3 -3
- package/fesm2022/snabcentr-client-ui.mjs +34 -15
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/release_notes.tmp +2 -2
- package/styles/taiga/variables.less +29 -0
- package/styles/tailwind/tailwind.scss +15 -16
package/package.json
CHANGED
package/release_notes.tmp
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
## 2.
|
1
|
+
## 2.6.0 (2024-11-02)
|
2
2
|
|
3
3
|
### changed (1 change)
|
4
4
|
|
5
|
-
- [#
|
5
|
+
- [#10512: Доработаны шрифты](web_soft/libs/angular/snabcentr-client-ui-lib@7dde8fdff4356bc20a8dac668d7a1f3f2a006cc1) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!177))
|
6
6
|
|
@@ -1,3 +1,32 @@
|
|
1
|
+
@font-fallback: -apple-system, 'BlinkMacSystemFont', system-ui, 'Roboto', 'Segoe UI', 'Helvetica Neue', sans-serif;
|
2
|
+
|
3
|
+
&:root {
|
4
|
+
// Fonts
|
5
|
+
--tui-font-heading: 'Manrope', @font-fallback;
|
6
|
+
--tui-font-text: 'Manrope', @font-fallback;
|
7
|
+
--tui-font-weight-normal: normal;
|
8
|
+
--tui-font-weight-bold: bold;
|
9
|
+
// Heading
|
10
|
+
--tui-font-heading-1: var(--tui-font-weight-bold) 3.125rem/3.5rem var(--tui-font-heading);
|
11
|
+
--tui-font-heading-2: var(--tui-font-weight-bold) 2.75rem/3rem var(--tui-font-heading);
|
12
|
+
--tui-font-heading-3: var(--tui-font-weight-bold) 2.25rem/2.5rem var(--tui-font-heading);
|
13
|
+
--tui-font-heading-4: var(--tui-font-weight-bold) 1.75rem/2rem var(--tui-font-heading);
|
14
|
+
--tui-font-heading-5: var(--tui-font-weight-bold) 1.5rem/1.75rem var(--tui-font-heading);
|
15
|
+
--tui-font-heading-6: var(--tui-font-weight-bold) 1.25rem/1.5rem var(--tui-font-heading);
|
16
|
+
// Body
|
17
|
+
--tui-font-text-xl: var(--tui-font-weight-normal) 1.1875rem/1.75rem var(--tui-font-text);
|
18
|
+
--tui-font-text-l: var(--tui-font-weight-normal) 1.0625rem/1.75rem var(--tui-font-text);
|
19
|
+
--tui-font-text-m: var(--tui-font-weight-normal) 1rem/1.5rem var(--tui-font-text);
|
20
|
+
--tui-font-text-s: var(--tui-font-weight-normal) 0.8125rem/1.25rem var(--tui-font-text);
|
21
|
+
--tui-font-text-xs: var(--tui-font-weight-normal) 0.6875rem/1rem var(--tui-font-text);
|
22
|
+
// Reduced
|
23
|
+
--tui-font-text-ui-l: var(--tui-font-weight-normal) 1.0625rem/1.5rem var(--tui-font-text);
|
24
|
+
--tui-font-text-ui-m: var(--tui-font-weight-normal) 1rem/1.25rem var(--tui-font-text);
|
25
|
+
--tui-font-text-ui-s: var(--tui-font-weight-normal) 0.8125rem/1rem var(--tui-font-text);
|
26
|
+
--tui-font-text-ui-xs: var(--tui-font-weight-normal) 0.6875rem/0.8125rem var(--tui-font-text);
|
27
|
+
}
|
28
|
+
|
29
|
+
|
1
30
|
&:root,
|
2
31
|
[tuiTheme='light'] {
|
3
32
|
--tui-background-accent-1: #ffcc40; // primary buttons, background
|
@@ -851,10 +851,6 @@ video {
|
|
851
851
|
height: 5rem !important;
|
852
852
|
}
|
853
853
|
|
854
|
-
.\!h-3 {
|
855
|
-
height: 0.75rem !important;
|
856
|
-
}
|
857
|
-
|
858
854
|
.\!h-4 {
|
859
855
|
height: 1rem !important;
|
860
856
|
}
|
@@ -1385,6 +1381,11 @@ video {
|
|
1385
1381
|
line-height: 1.25rem !important;
|
1386
1382
|
}
|
1387
1383
|
|
1384
|
+
.\!text-xl {
|
1385
|
+
font-size: 1.25rem !important;
|
1386
|
+
line-height: 1.75rem !important;
|
1387
|
+
}
|
1388
|
+
|
1388
1389
|
.\!text-xs {
|
1389
1390
|
font-size: 0.75rem !important;
|
1390
1391
|
line-height: 1rem !important;
|
@@ -1407,6 +1408,12 @@ video {
|
|
1407
1408
|
font-weight: 800;
|
1408
1409
|
}
|
1409
1410
|
|
1411
|
+
.text-body-s {
|
1412
|
+
font-size: 0.8125rem;
|
1413
|
+
line-height: 1.25rem;
|
1414
|
+
font-weight: 500;
|
1415
|
+
}
|
1416
|
+
|
1410
1417
|
.text-lg {
|
1411
1418
|
font-size: 1.125rem;
|
1412
1419
|
line-height: 1.75rem;
|
@@ -1442,10 +1449,6 @@ video {
|
|
1442
1449
|
font-weight: 500;
|
1443
1450
|
}
|
1444
1451
|
|
1445
|
-
.font-thin {
|
1446
|
-
font-weight: 100;
|
1447
|
-
}
|
1448
|
-
|
1449
1452
|
.uppercase {
|
1450
1453
|
text-transform: uppercase;
|
1451
1454
|
}
|
@@ -1491,10 +1494,6 @@ video {
|
|
1491
1494
|
color: rgb(0 0 0 / var(--tw-text-opacity));
|
1492
1495
|
}
|
1493
1496
|
|
1494
|
-
.text-tui-base-04 {
|
1495
|
-
color: var(--tui-border-normal);
|
1496
|
-
}
|
1497
|
-
|
1498
1497
|
.text-tui-base-05 {
|
1499
1498
|
color: var(--tui-border-hover);
|
1500
1499
|
}
|
@@ -1503,10 +1502,6 @@ video {
|
|
1503
1502
|
color: var(--tui-background-accent-opposite-pressed);
|
1504
1503
|
}
|
1505
1504
|
|
1506
|
-
.text-tui-error-fill {
|
1507
|
-
color: var(--tui-status-negative);
|
1508
|
-
}
|
1509
|
-
|
1510
1505
|
.text-tui-link {
|
1511
1506
|
color: var(--tui-text-action);
|
1512
1507
|
}
|
@@ -1688,6 +1683,10 @@ video {
|
|
1688
1683
|
margin-right: 2.25rem;
|
1689
1684
|
}
|
1690
1685
|
|
1686
|
+
.sm\:grid-cols-2 {
|
1687
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
1688
|
+
}
|
1689
|
+
|
1691
1690
|
.sm\:flex-row {
|
1692
1691
|
flex-direction: row;
|
1693
1692
|
}
|