@snabcentr/client-ui 3.8.8 → 3.9.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.
Potentially problematic release.
This version of @snabcentr/client-ui might be problematic. Click here for more details.
- package/esm2022/news/news-card/sc-news-card.component.mjs +3 -10
- package/esm2022/samples/interfaces/sc-i-preview-sample.mjs +1 -1
- package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +3 -3
- package/fesm2022/snabcentr-client-ui.mjs +36 -42
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/news/news-card/sc-news-card.component.d.ts +1 -5
- package/package.json +1 -1
- package/release_notes.tmp +3 -3
- package/samples/interfaces/sc-i-preview-sample.d.ts +21 -17
|
@@ -13,14 +13,10 @@ export declare class ScNewsCardComponent {
|
|
|
13
13
|
* Событие клика по карточке новости.
|
|
14
14
|
*/
|
|
15
15
|
clickCardEvent: EventEmitter<ScNewsTile>;
|
|
16
|
-
/**
|
|
17
|
-
* Событие клика по кнопке "Поделиться" карточки новости.
|
|
18
|
-
*/
|
|
19
|
-
clickShareEvent: EventEmitter<void>;
|
|
20
16
|
/**
|
|
21
17
|
* Признак того, что этот компонент отображается на мобильном устройстве.
|
|
22
18
|
*/
|
|
23
19
|
readonly isMobile: boolean;
|
|
24
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScNewsCardComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScNewsCardComponent, "sc-news-card", never, { "news": { "alias": "news"; "required": false; }; }, { "clickCardEvent": "clickCardEvent";
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScNewsCardComponent, "sc-news-card", never, { "news": { "alias": "news"; "required": false; }; }, { "clickCardEvent": "clickCardEvent"; }, never, never, false, never>;
|
|
26
22
|
}
|
package/package.json
CHANGED
package/release_notes.tmp
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## 3.
|
|
1
|
+
## 3.9.0 (2025-01-16)
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### removed (1 change)
|
|
4
4
|
|
|
5
|
-
- [#
|
|
5
|
+
- [#10482: Удалена кнопка поделиться с карточки новостей.](web_soft/libs/angular/snabcentr-client-ui-lib@85ee348b8c1840808bf317e79cbd0ff1b7cf41db) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!213))
|
|
6
6
|
|
|
@@ -22,26 +22,30 @@ export interface ScIPreviewSample {
|
|
|
22
22
|
* Ссылка на изображение в галерее, соответствующее кнопке.
|
|
23
23
|
*/
|
|
24
24
|
carouselItemImage: string;
|
|
25
|
-
}>;
|
|
26
|
-
/**
|
|
27
|
-
* Ссылка на изображение товара в описании.
|
|
28
|
-
*/
|
|
29
|
-
descriptionImageUrl?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Элементы кнопок взаимодействия.
|
|
32
|
-
*/
|
|
33
|
-
actions?: Array<{
|
|
34
25
|
/**
|
|
35
|
-
*
|
|
26
|
+
* Наименование цвета образца.
|
|
36
27
|
*/
|
|
37
|
-
|
|
28
|
+
color: string;
|
|
38
29
|
/**
|
|
39
|
-
*
|
|
30
|
+
* Элементы кнопок взаимодействия.
|
|
40
31
|
*/
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
32
|
+
actions?: Array<{
|
|
33
|
+
/**
|
|
34
|
+
* Значок элемента взаимодействия.
|
|
35
|
+
*/
|
|
36
|
+
icon: string;
|
|
37
|
+
/**
|
|
38
|
+
* Подпись элемента взаимодействия.
|
|
39
|
+
*/
|
|
40
|
+
label: string;
|
|
41
|
+
/**
|
|
42
|
+
* Обработчик элемента взаимодействия.
|
|
43
|
+
*/
|
|
44
|
+
handler: (...atr: unknown[]) => unknown;
|
|
45
|
+
}>;
|
|
46
46
|
}>;
|
|
47
|
+
/**
|
|
48
|
+
* Ссылка на изображение товара в описании.
|
|
49
|
+
*/
|
|
50
|
+
descriptionImageUrl?: string;
|
|
47
51
|
}
|