@snabcentr/client-ui 2.6.1 → 2.6.4

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.

Potentially problematic release.


This version of @snabcentr/client-ui might be problematic. Click here for more details.

@@ -1,12 +1,12 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { ScCartItem, ScProduct, ScUnitsHelper } from '@snabcentr/client-core';
2
+ import { ScCartItem, ScProduct } from '@snabcentr/client-core';
3
3
  import { TuiPreviewDialogService } from '@taiga-ui/kit';
4
+ import { AbstractScPriceCard } from '../../directives';
4
5
  import * as i0 from "@angular/core";
5
6
  /**
6
7
  * Компонент карточки элемента заказа.
7
8
  */
8
- export declare class ScOrderItemMobileComponent {
9
- readonly unitsHelper: ScUnitsHelper;
9
+ export declare class ScOrderItemMobileComponent extends AbstractScPriceCard {
10
10
  private readonly previewDialogService;
11
11
  /**
12
12
  * Ссылка на представление спецификации.
@@ -16,25 +16,16 @@ export declare class ScOrderItemMobileComponent {
16
16
  * Элемент заказа.
17
17
  */
18
18
  orderItem?: ScCartItem;
19
- /**
20
- * Событие нажатия на карточку.
21
- */
22
- clickCardEvent: EventEmitter<void>;
23
19
  /**
24
20
  * Событие нажатия на дополнительные действия.
25
21
  */
26
22
  clickActionsEvent: EventEmitter<void>;
27
- /**
28
- * Хелпер для работы с изображениями товара.
29
- */
30
- private readonly imageHelper;
31
23
  /**
32
24
  * Инициирует экземпляр класса {@link ScOrderItemMobileComponent}.
33
25
  *
34
- * @param unitsHelper Объект-хэлпер для работы со значениями единиц измерения товара.
35
26
  * @param previewDialogService Сервис диалогового окна предварительного просмотра.
36
27
  */
37
- constructor(unitsHelper: ScUnitsHelper, previewDialogService: TuiPreviewDialogService);
28
+ constructor(previewDialogService: TuiPreviewDialogService);
38
29
  /**
39
30
  * Продукт элемента заказа.
40
31
  */
@@ -50,5 +41,5 @@ export declare class ScOrderItemMobileComponent {
50
41
  */
51
42
  getCardImage(product: ScProduct): string;
52
43
  static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderItemMobileComponent, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<ScOrderItemMobileComponent, "sc-order-item-mobile", never, { "orderItem": { "alias": "orderItem"; "required": false; }; }, { "clickCardEvent": "clickCardEvent"; "clickActionsEvent": "clickActionsEvent"; }, never, never, false, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScOrderItemMobileComponent, "sc-order-item-mobile", never, { "orderItem": { "alias": "orderItem"; "required": false; }; }, { "clickActionsEvent": "clickActionsEvent"; }, never, never, false, never>;
54
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-ui",
3
- "version": "2.6.1",
3
+ "version": "2.6.4",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
6
6
  "license": "Commercial",
package/release_notes.tmp CHANGED
@@ -1,6 +1,10 @@
1
- ## 2.6.1 (2024-11-07)
1
+ ## 2.6.4 (2024-11-15)
2
+
3
+ ### changed (1 change)
4
+
5
+ - [#10636: Доработаны ссылки компонентов](web_soft/libs/angular/snabcentr-client-ui-lib@64dbaf15ab1b4c1001e58390ae137f15bebc269e) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!184))
2
6
 
3
7
  ### fixed (1 change)
4
8
 
5
- - [#10603: Доработаны значки.](web_soft/libs/angular/snabcentr-client-ui-lib@375b473d04bca86d1c4c404579834271d68101aa) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!179))
9
+ - [#10649: Доработано поведение наведения на плитку товара](web_soft/libs/angular/snabcentr-client-ui-lib@c9f2a2946401b6d9d9f2180f83cac75354da8cf2) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!183))
6
10
 
@@ -107,7 +107,7 @@
107
107
  }
108
108
 
109
109
  /*
110
- ! tailwindcss v3.4.14 | MIT License | https://tailwindcss.com
110
+ ! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com
111
111
  */
112
112
 
113
113
  /*
@@ -1242,7 +1242,7 @@ video {
1242
1242
 
1243
1243
  .bg-white {
1244
1244
  --tw-bg-opacity: 1;
1245
- background-color: rgb(255 255 255 / var(--tw-bg-opacity));
1245
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
1246
1246
  }
1247
1247
 
1248
1248
  .bg-gradient-to-r {
@@ -1477,12 +1477,12 @@ video {
1477
1477
 
1478
1478
  .\!text-green-500 {
1479
1479
  --tw-text-opacity: 1 !important;
1480
- color: rgb(34 197 94 / var(--tw-text-opacity)) !important;
1480
+ color: rgb(34 197 94 / var(--tw-text-opacity, 1)) !important;
1481
1481
  }
1482
1482
 
1483
1483
  .\!text-red-500 {
1484
1484
  --tw-text-opacity: 1 !important;
1485
- color: rgb(239 68 68 / var(--tw-text-opacity)) !important;
1485
+ color: rgb(239 68 68 / var(--tw-text-opacity, 1)) !important;
1486
1486
  }
1487
1487
 
1488
1488
  .\!text-tui-base-08 {
@@ -1491,12 +1491,12 @@ video {
1491
1491
 
1492
1492
  .\!text-yellow-500 {
1493
1493
  --tw-text-opacity: 1 !important;
1494
- color: rgb(234 179 8 / var(--tw-text-opacity)) !important;
1494
+ color: rgb(234 179 8 / var(--tw-text-opacity, 1)) !important;
1495
1495
  }
1496
1496
 
1497
1497
  .text-black {
1498
1498
  --tw-text-opacity: 1;
1499
- color: rgb(0 0 0 / var(--tw-text-opacity));
1499
+ color: rgb(0 0 0 / var(--tw-text-opacity, 1));
1500
1500
  }
1501
1501
 
1502
1502
  .text-tui-base-05 {
@@ -1537,7 +1537,7 @@ video {
1537
1537
 
1538
1538
  .text-white {
1539
1539
  --tw-text-opacity: 1;
1540
- color: rgb(255 255 255 / var(--tw-text-opacity));
1540
+ color: rgb(255 255 255 / var(--tw-text-opacity, 1));
1541
1541
  }
1542
1542
 
1543
1543
  .underline {