@posiwise/shared-components 0.0.227 → 0.0.229
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/package.json
CHANGED
|
@@ -199,6 +199,9 @@ export interface SidebarContent {
|
|
|
199
199
|
* Title/label for the sidebar section
|
|
200
200
|
*/
|
|
201
201
|
title: string;
|
|
202
|
+
/** i18n key for the title; when set it is shown instead of `title`. */
|
|
203
|
+
titleKey?: string;
|
|
204
|
+
titleParams?: Record<string, string>;
|
|
202
205
|
/**
|
|
203
206
|
* Component type to render in the sidebar
|
|
204
207
|
*/
|
|
@@ -343,10 +346,12 @@ export interface PaletteItem {
|
|
|
343
346
|
/** Stable within a render pass; used for trackBy and active-row identity. */
|
|
344
347
|
id: string;
|
|
345
348
|
kind: PaletteItemKind;
|
|
346
|
-
/**
|
|
349
|
+
/** Raw display text, used for ranking; rendered unless `labelKey` is set. */
|
|
347
350
|
label: string;
|
|
348
351
|
/** Secondary context line — breadcrumb section, or a person's email. */
|
|
349
352
|
detail: string;
|
|
353
|
+
/** i18n key for `detail` when the section is chrome (account entries). */
|
|
354
|
+
detailKey?: string;
|
|
350
355
|
icon: string;
|
|
351
356
|
/** Present for `page` and `person`; absent for `ask-ai`. */
|
|
352
357
|
path?: string;
|
|
@@ -356,7 +361,8 @@ export interface PaletteItem {
|
|
|
356
361
|
*/
|
|
357
362
|
entry?: NavEntry;
|
|
358
363
|
/**
|
|
359
|
-
* i18n key for rows whose label is chrome rather than data (actions
|
|
364
|
+
* i18n key for rows whose label is chrome rather than data (actions, and
|
|
365
|
+
* page rows whose menu item or account entry carries a key).
|
|
360
366
|
*
|
|
361
367
|
* `label` still holds the resolved text so ranking can match what the user
|
|
362
368
|
* reads; the key is kept so the template renders the translation rather than
|
|
@@ -2465,10 +2471,11 @@ declare namespace pw_cookie_banner_component_d_exports {
|
|
|
2465
2471
|
}
|
|
2466
2472
|
export declare class PwCookieBannerComponent implements OnInit {
|
|
2467
2473
|
private readonly document;
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2474
|
+
private readonly translation;
|
|
2475
|
+
title: string | null;
|
|
2476
|
+
message: string | null;
|
|
2477
|
+
acceptLabel: string | null;
|
|
2478
|
+
privacyLinkLabel: string | null;
|
|
2472
2479
|
privacyLinkUrl: string | null;
|
|
2473
2480
|
tosId: number | string | null;
|
|
2474
2481
|
privacyFallbackUrl: string;
|
|
@@ -2477,8 +2484,8 @@ export declare class PwCookieBannerComponent implements OnInit {
|
|
|
2477
2484
|
visible: boolean;
|
|
2478
2485
|
leaving: boolean;
|
|
2479
2486
|
readonly role = "region";
|
|
2480
|
-
|
|
2481
|
-
constructor(document: Document);
|
|
2487
|
+
get ariaLabel(): string;
|
|
2488
|
+
constructor(document: Document, translation: TranslocoService);
|
|
2482
2489
|
ngOnInit(): void;
|
|
2483
2490
|
get resolvedPrivacyUrl(): string;
|
|
2484
2491
|
accept(): void;
|