@snabcentr/client-ui 3.0.0 → 3.1.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/cart/cart-item-mobile/sc-cart-item-mobile.component.d.ts +0 -2
- package/catalog/category-card/sc-category-card.component.d.ts +20 -26
- package/catalog/sc-catalog.module.d.ts +1 -1
- 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 -5
- package/esm2022/catalog/category-card/sc-category-card.component.mjs +32 -51
- package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +3 -3
- package/esm2022/catalog/price-card/sc-price-card.component.mjs +3 -3
- package/esm2022/catalog/sc-catalog.module.mjs +10 -5
- 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 +66 -65
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/release_notes.tmp +12 -2
- package/styles/taiga/variables.less +29 -0
- package/styles/tailwind/tailwind.scss +13 -12
- /package/icons/svg-pack/catalog/{door-accessorie.svg → door-accessories.svg} +0 -0
package/package.json
CHANGED
package/release_notes.tmp
CHANGED
@@ -1,4 +1,14 @@
|
|
1
|
-
## 3.
|
1
|
+
## 3.1.0 (2024-11-08)
|
2
2
|
|
3
|
-
|
3
|
+
### fixed (2 changes)
|
4
|
+
|
5
|
+
- [#10603: Доработаны значки.](web_soft/libs/angular/snabcentr-client-ui-lib@375b473d04bca86d1c4c404579834271d68101aa) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!179))
|
6
|
+
- [#10521: Убран лишний вызов при изменении данных в корзине](web_soft/libs/angular/snabcentr-client-ui-lib@1a7fd224fb8731ff001e810ae14fff9eb938ef57) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!176))
|
7
|
+
|
8
|
+
### changed (4 changes)
|
9
|
+
|
10
|
+
- [#10512: Доработаны шрифты](web_soft/libs/angular/snabcentr-client-ui-lib@7dde8fdff4356bc20a8dac668d7a1f3f2a006cc1) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!177))
|
11
|
+
- [#10515: Доработана кнопка избранного товара на плитке товаров](web_soft/libs/angular/snabcentr-client-ui-lib@03c4b42c842b55f12d11fd00bff9c33ac3c7feff) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!175))
|
12
|
+
- [#10531: Доработано представление карточки товара в корзине](web_soft/libs/angular/snabcentr-client-ui-lib@7d85caef5743bfafbc17cd1ef04ac828c37c3967) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!174))
|
13
|
+
- [#10522: Доработана вёрстка страницы регистрации. Добавлен обработчик нажатия...](web_soft/libs/angular/snabcentr-client-ui-lib@c0ef830f41910041884acb8a0ec5edce1e65c017) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!173))
|
4
14
|
|
@@ -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
|
@@ -846,6 +846,10 @@ video {
|
|
846
846
|
height: 2rem !important;
|
847
847
|
}
|
848
848
|
|
849
|
+
.\!h-auto {
|
850
|
+
height: auto !important;
|
851
|
+
}
|
852
|
+
|
849
853
|
.h-10 {
|
850
854
|
height: 2.5rem;
|
851
855
|
}
|
@@ -1408,6 +1412,11 @@ video {
|
|
1408
1412
|
line-height: 1.25rem;
|
1409
1413
|
}
|
1410
1414
|
|
1415
|
+
.text-xl {
|
1416
|
+
font-size: 1.25rem;
|
1417
|
+
line-height: 1.75rem;
|
1418
|
+
}
|
1419
|
+
|
1411
1420
|
.text-xs {
|
1412
1421
|
font-size: 0.75rem;
|
1413
1422
|
line-height: 1rem;
|
@@ -1437,10 +1446,6 @@ video {
|
|
1437
1446
|
font-weight: 500;
|
1438
1447
|
}
|
1439
1448
|
|
1440
|
-
.font-thin {
|
1441
|
-
font-weight: 100;
|
1442
|
-
}
|
1443
|
-
|
1444
1449
|
.uppercase {
|
1445
1450
|
text-transform: uppercase;
|
1446
1451
|
}
|
@@ -1486,10 +1491,6 @@ video {
|
|
1486
1491
|
color: rgb(0 0 0 / var(--tw-text-opacity));
|
1487
1492
|
}
|
1488
1493
|
|
1489
|
-
.text-tui-base-04 {
|
1490
|
-
color: var(--tui-border-normal);
|
1491
|
-
}
|
1492
|
-
|
1493
1494
|
.text-tui-base-05 {
|
1494
1495
|
color: var(--tui-border-hover);
|
1495
1496
|
}
|
@@ -1629,10 +1630,6 @@ video {
|
|
1629
1630
|
transition-duration: 150ms;
|
1630
1631
|
}
|
1631
1632
|
|
1632
|
-
.duration-300 {
|
1633
|
-
transition-duration: 300ms;
|
1634
|
-
}
|
1635
|
-
|
1636
1633
|
.duration-500 {
|
1637
1634
|
transition-duration: 500ms;
|
1638
1635
|
}
|
@@ -1658,6 +1655,10 @@ video {
|
|
1658
1655
|
margin-right: 2.25rem;
|
1659
1656
|
}
|
1660
1657
|
|
1658
|
+
.sm\:grid-cols-2 {
|
1659
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
1660
|
+
}
|
1661
|
+
|
1661
1662
|
.sm\:flex-row {
|
1662
1663
|
flex-direction: row;
|
1663
1664
|
}
|
File without changes
|