@swisspost/design-system-components-angular 9.0.0-next.4 → 9.0.0-next.6

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.
@@ -4,6 +4,6 @@ import * as i2 from "./custom/value-accessors/post-card-control-checkbox-value-a
4
4
  import * as i3 from "./custom/value-accessors/post-card-control-radio-value-accessor";
5
5
  export declare class PostComponentsModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<PostComponentsModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<PostComponentsModule, [typeof i1.PostAccordion, typeof i1.PostAccordionItem, typeof i1.PostAlert, typeof i1.PostAvatar, typeof i1.PostBreadcrumbItem, typeof i1.PostCardControl, typeof i1.PostClosebutton, typeof i1.PostCollapsible, typeof i1.PostCollapsibleTrigger, typeof i1.PostIcon, typeof i1.PostLanguageOption, typeof i1.PostList, typeof i1.PostListItem, typeof i1.PostLogo, typeof i1.PostPopover, typeof i1.PostPopovercontainer, typeof i1.PostRating, typeof i1.PostTabHeader, typeof i1.PostTabPanel, typeof i1.PostTabs, typeof i1.PostTag, typeof i1.PostTooltip, typeof i2.PostCardControlCheckboxValueAccessorDirective, typeof i3.PostCardControlRadioValueAccessorDirective], never, [typeof i1.PostAccordion, typeof i1.PostAccordionItem, typeof i1.PostAlert, typeof i1.PostAvatar, typeof i1.PostBreadcrumbItem, typeof i1.PostCardControl, typeof i1.PostClosebutton, typeof i1.PostCollapsible, typeof i1.PostCollapsibleTrigger, typeof i1.PostIcon, typeof i1.PostLanguageOption, typeof i1.PostList, typeof i1.PostListItem, typeof i1.PostLogo, typeof i1.PostPopover, typeof i1.PostPopovercontainer, typeof i1.PostRating, typeof i1.PostTabHeader, typeof i1.PostTabPanel, typeof i1.PostTabs, typeof i1.PostTag, typeof i1.PostTooltip, typeof i2.PostCardControlCheckboxValueAccessorDirective, typeof i3.PostCardControlRadioValueAccessorDirective]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PostComponentsModule, [typeof i1.PostAccordion, typeof i1.PostAccordionItem, typeof i1.PostAvatar, typeof i1.PostBanner, typeof i1.PostBreadcrumbItem, typeof i1.PostCardControl, typeof i1.PostClosebutton, typeof i1.PostCollapsible, typeof i1.PostCollapsibleTrigger, typeof i1.PostHeader, typeof i1.PostIcon, typeof i1.PostLanguageOption, typeof i1.PostList, typeof i1.PostListItem, typeof i1.PostLogo, typeof i1.PostMainnavigation, typeof i1.PostMegadropdown, typeof i1.PostMegadropdownTrigger, typeof i1.PostMenu, typeof i1.PostMenuItem, typeof i1.PostMenuTrigger, typeof i1.PostPopover, typeof i1.PostPopovercontainer, typeof i1.PostRating, typeof i1.PostTabHeader, typeof i1.PostTabPanel, typeof i1.PostTabs, typeof i1.PostTag, typeof i1.PostTooltip, typeof i2.PostCardControlCheckboxValueAccessorDirective, typeof i3.PostCardControlRadioValueAccessorDirective], never, [typeof i1.PostAccordion, typeof i1.PostAccordionItem, typeof i1.PostAvatar, typeof i1.PostBanner, typeof i1.PostBreadcrumbItem, typeof i1.PostCardControl, typeof i1.PostClosebutton, typeof i1.PostCollapsible, typeof i1.PostCollapsibleTrigger, typeof i1.PostHeader, typeof i1.PostIcon, typeof i1.PostLanguageOption, typeof i1.PostList, typeof i1.PostListItem, typeof i1.PostLogo, typeof i1.PostMainnavigation, typeof i1.PostMegadropdown, typeof i1.PostMegadropdownTrigger, typeof i1.PostMenu, typeof i1.PostMenuItem, typeof i1.PostMenuTrigger, typeof i1.PostPopover, typeof i1.PostPopovercontainer, typeof i1.PostRating, typeof i1.PostTabHeader, typeof i1.PostTabPanel, typeof i1.PostTabs, typeof i1.PostTag, typeof i1.PostTooltip, typeof i2.PostCardControlCheckboxValueAccessorDirective, typeof i3.PostCardControlRadioValueAccessorDirective]>;
8
8
  static ɵinj: i0.ɵɵInjectorDeclaration<PostComponentsModule>;
9
9
  }
@@ -19,28 +19,28 @@ export declare class PostAccordionItem {
19
19
  }
20
20
  export declare interface PostAccordionItem extends Components.PostAccordionItem {
21
21
  }
22
- export declare class PostAlert {
22
+ export declare class PostAvatar {
23
23
  protected z: NgZone;
24
24
  protected el: HTMLElement;
25
25
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
26
- static ɵfac: i0.ɵɵFactoryDeclaration<PostAlert, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<PostAlert, "post-alert", never, { "dismissLabel": { "alias": "dismissLabel"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostAvatar, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostAvatar, "post-avatar", never, { "email": { "alias": "email"; "required": false; }; "firstname": { "alias": "firstname"; "required": false; }; "lastname": { "alias": "lastname"; "required": false; }; "userid": { "alias": "userid"; "required": false; }; }, {}, never, ["*"], false, never>;
28
28
  }
29
- export declare interface PostAlert extends Components.PostAlert {
30
- /**
31
- * An event emitted when the alert element is dismissed, after the transition.
32
- It has no payload and only relevant for dismissible alerts.
33
- */
34
- postDismissed: EventEmitter<CustomEvent<void>>;
29
+ export declare interface PostAvatar extends Components.PostAvatar {
35
30
  }
36
- export declare class PostAvatar {
31
+ export declare class PostBanner {
37
32
  protected z: NgZone;
38
33
  protected el: HTMLElement;
39
34
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
40
- static ɵfac: i0.ɵɵFactoryDeclaration<PostAvatar, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<PostAvatar, "post-avatar", never, { "email": { "alias": "email"; "required": false; }; "firstname": { "alias": "firstname"; "required": false; }; "lastname": { "alias": "lastname"; "required": false; }; "userid": { "alias": "userid"; "required": false; }; }, {}, never, ["*"], false, never>;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostBanner, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostBanner, "post-banner", never, { "dismissLabel": { "alias": "dismissLabel"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
42
37
  }
43
- export declare interface PostAvatar extends Components.PostAvatar {
38
+ export declare interface PostBanner extends Components.PostBanner {
39
+ /**
40
+ * An event emitted when the banner element is dismissed, after the transition.
41
+ It has no payload and only relevant for dismissible banners.
42
+ */
43
+ postDismissed: EventEmitter<CustomEvent<void>>;
44
44
  }
45
45
  export declare class PostBreadcrumbItem {
46
46
  protected z: NgZone;
@@ -70,7 +70,7 @@ export declare interface PostCardControl extends Components.PostCardControl {
70
70
  /**
71
71
  * An event emitted whenever the components checked state is toggled.
72
72
  The event payload (emitted under `event.detail.state`) is a boolean: `true` if the component is checked, `false` if it is unchecked.
73
- <span className="alert alert-sm alert-info">If the component is used with type `radio`, it will only emit this event, when the checked state is changing to `true`.</span>
73
+ <span className="banner banner-sm banner-info">If the component is used with type `radio`, it will only emit this event, when the checked state is changing to `true`.</span>
74
74
  */
75
75
  postChange: EventEmitter<CustomEvent<{
76
76
  state: boolean;
@@ -110,6 +110,15 @@ export declare class PostCollapsibleTrigger {
110
110
  }
111
111
  export declare interface PostCollapsibleTrigger extends Components.PostCollapsibleTrigger {
112
112
  }
113
+ export declare class PostHeader {
114
+ protected z: NgZone;
115
+ protected el: HTMLElement;
116
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
117
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostHeader, never>;
118
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostHeader, "post-header", never, {}, {}, never, ["*"], false, never>;
119
+ }
120
+ export declare interface PostHeader extends Components.PostHeader {
121
+ }
113
122
  export declare class PostIcon {
114
123
  protected z: NgZone;
115
124
  protected el: HTMLElement;
@@ -159,6 +168,73 @@ export declare class PostLogo {
159
168
  }
160
169
  export declare interface PostLogo extends Components.PostLogo {
161
170
  }
171
+ export declare class PostMainnavigation {
172
+ protected z: NgZone;
173
+ protected el: HTMLElement;
174
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
175
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostMainnavigation, never>;
176
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMainnavigation, "post-mainnavigation", never, {}, {}, never, ["*"], false, never>;
177
+ }
178
+ export declare interface PostMainnavigation extends Components.PostMainnavigation {
179
+ /**
180
+ * Gets emitted when a user closes the main navigation on mobile
181
+ */
182
+ postToggle: EventEmitter<CustomEvent<any>>;
183
+ }
184
+ export declare class PostMegadropdown {
185
+ protected z: NgZone;
186
+ protected el: HTMLElement;
187
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
188
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostMegadropdown, never>;
189
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMegadropdown, "post-megadropdown", never, {}, {}, never, ["*"], false, never>;
190
+ }
191
+ export declare interface PostMegadropdown extends Components.PostMegadropdown {
192
+ }
193
+ export declare class PostMegadropdownTrigger {
194
+ protected z: NgZone;
195
+ protected el: HTMLElement;
196
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
197
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostMegadropdownTrigger, never>;
198
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMegadropdownTrigger, "post-megadropdown-trigger", never, {}, {}, never, ["*"], false, never>;
199
+ }
200
+ export declare interface PostMegadropdownTrigger extends Components.PostMegadropdownTrigger {
201
+ /**
202
+ * Emits after each toggle
203
+ */
204
+ postToggle: EventEmitter<CustomEvent<any>>;
205
+ }
206
+ export declare class PostMenu {
207
+ protected z: NgZone;
208
+ protected el: HTMLElement;
209
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
210
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostMenu, never>;
211
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMenu, "post-menu", never, { "placement": { "alias": "placement"; "required": false; }; }, {}, never, ["*"], false, never>;
212
+ }
213
+ export declare interface PostMenu extends Components.PostMenu {
214
+ /**
215
+ * Emits when the menu is shown or hidden.
216
+ The event payload is a boolean: `true` when the menu was opened, `false` when it was closed.
217
+ */
218
+ toggleMenu: EventEmitter<CustomEvent<boolean>>;
219
+ }
220
+ export declare class PostMenuItem {
221
+ protected z: NgZone;
222
+ protected el: HTMLElement;
223
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
224
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostMenuItem, never>;
225
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMenuItem, "post-menu-item", never, {}, {}, never, ["*"], false, never>;
226
+ }
227
+ export declare interface PostMenuItem extends Components.PostMenuItem {
228
+ }
229
+ export declare class PostMenuTrigger {
230
+ protected z: NgZone;
231
+ protected el: HTMLElement;
232
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
233
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostMenuTrigger, never>;
234
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMenuTrigger, "post-menu-trigger", never, { "for": { "alias": "for"; "required": false; }; }, {}, never, ["*"], false, never>;
235
+ }
236
+ export declare interface PostMenuTrigger extends Components.PostMenuTrigger {
237
+ }
162
238
  export declare class PostPopover {
163
239
  protected z: NgZone;
164
240
  protected el: HTMLElement;
@@ -1,2 +1,2 @@
1
1
  import * as d from './components';
2
- export declare const DIRECTIVES: (typeof d.PostAccordion | typeof d.PostAccordionItem | typeof d.PostAlert | typeof d.PostAvatar | typeof d.PostBreadcrumbItem | typeof d.PostCardControl | typeof d.PostClosebutton | typeof d.PostCollapsible | typeof d.PostCollapsibleTrigger | typeof d.PostIcon | typeof d.PostLanguageOption | typeof d.PostList | typeof d.PostListItem | typeof d.PostLogo | typeof d.PostPopover | typeof d.PostPopovercontainer | typeof d.PostRating | typeof d.PostTabHeader | typeof d.PostTabPanel | typeof d.PostTabs | typeof d.PostTag | typeof d.PostTooltip)[];
2
+ export declare const DIRECTIVES: (typeof d.PostAccordion | typeof d.PostAccordionItem | typeof d.PostAvatar | typeof d.PostBanner | typeof d.PostBreadcrumbItem | typeof d.PostCardControl | typeof d.PostClosebutton | typeof d.PostCollapsible | typeof d.PostCollapsibleTrigger | typeof d.PostHeader | typeof d.PostIcon | typeof d.PostLanguageOption | typeof d.PostList | typeof d.PostListItem | typeof d.PostLogo | typeof d.PostMainnavigation | typeof d.PostMegadropdown | typeof d.PostMegadropdownTrigger | typeof d.PostMenu | typeof d.PostMenuItem | typeof d.PostMenuTrigger | typeof d.PostPopover | typeof d.PostPopovercontainer | typeof d.PostRating | typeof d.PostTabHeader | typeof d.PostTabPanel | typeof d.PostTabs | typeof d.PostTag | typeof d.PostTooltip)[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swisspost/design-system-components-angular",
3
- "version": "9.0.0-next.4",
3
+ "version": "9.0.0-next.6",
4
4
  "description": "Swiss Post Design System - Angular Wrapper Components",
5
5
  "author": "Swiss Post <design-system@post.ch>",
6
6
  "license": "Apache-2.0",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "tslib": "2.6.3",
22
- "@swisspost/design-system-components": "9.0.0-next.4"
22
+ "@swisspost/design-system-components": "9.0.0-next.6"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "@angular/common": "^16.0.0 || ^17.0.0 || ^18.0.0",