@kirbydesign/designsystem 11.3.0-rc.6 → 11.3.1-8822decb1

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.
Files changed (126) hide show
  1. package/accordion/index.d.ts +4 -4
  2. package/accordion/index.d.ts.map +1 -1
  3. package/avatar/index.d.ts +1 -1
  4. package/avatar/index.d.ts.map +1 -1
  5. package/card/index.d.ts +19 -20
  6. package/card/index.d.ts.map +1 -1
  7. package/chart/index.d.ts +4 -4
  8. package/chart/index.d.ts.map +1 -1
  9. package/checkbox/index.d.ts.map +1 -1
  10. package/dropdown/index.d.ts +10 -10
  11. package/dropdown/index.d.ts.map +1 -1
  12. package/empty-state/index.d.ts +5 -5
  13. package/empty-state/index.d.ts.map +1 -1
  14. package/fesm2022/kirbydesign-designsystem-accordion.mjs +9 -12
  15. package/fesm2022/kirbydesign-designsystem-accordion.mjs.map +1 -1
  16. package/fesm2022/kirbydesign-designsystem-action-group.mjs +3 -4
  17. package/fesm2022/kirbydesign-designsystem-action-group.mjs.map +1 -1
  18. package/fesm2022/kirbydesign-designsystem-avatar.mjs +2 -2
  19. package/fesm2022/kirbydesign-designsystem-avatar.mjs.map +1 -1
  20. package/fesm2022/kirbydesign-designsystem-badge.mjs +2 -2
  21. package/fesm2022/kirbydesign-designsystem-badge.mjs.map +1 -1
  22. package/fesm2022/kirbydesign-designsystem-button.mjs +2 -2
  23. package/fesm2022/kirbydesign-designsystem-button.mjs.map +1 -1
  24. package/fesm2022/kirbydesign-designsystem-calendar.mjs +5 -7
  25. package/fesm2022/kirbydesign-designsystem-calendar.mjs.map +1 -1
  26. package/fesm2022/kirbydesign-designsystem-card.mjs +68 -84
  27. package/fesm2022/kirbydesign-designsystem-card.mjs.map +1 -1
  28. package/fesm2022/kirbydesign-designsystem-chart.mjs +20 -20
  29. package/fesm2022/kirbydesign-designsystem-chart.mjs.map +1 -1
  30. package/fesm2022/kirbydesign-designsystem-checkbox.mjs +4 -3
  31. package/fesm2022/kirbydesign-designsystem-checkbox.mjs.map +1 -1
  32. package/fesm2022/kirbydesign-designsystem-data-table.mjs +3 -4
  33. package/fesm2022/kirbydesign-designsystem-data-table.mjs.map +1 -1
  34. package/fesm2022/kirbydesign-designsystem-dropdown.mjs +21 -17
  35. package/fesm2022/kirbydesign-designsystem-dropdown.mjs.map +1 -1
  36. package/fesm2022/kirbydesign-designsystem-empty-state.mjs +7 -10
  37. package/fesm2022/kirbydesign-designsystem-empty-state.mjs.map +1 -1
  38. package/fesm2022/kirbydesign-designsystem-flag.mjs +2 -2
  39. package/fesm2022/kirbydesign-designsystem-flag.mjs.map +1 -1
  40. package/fesm2022/kirbydesign-designsystem-form-field.mjs +58 -36
  41. package/fesm2022/kirbydesign-designsystem-form-field.mjs.map +1 -1
  42. package/fesm2022/kirbydesign-designsystem-header.mjs +16 -31
  43. package/fesm2022/kirbydesign-designsystem-header.mjs.map +1 -1
  44. package/fesm2022/kirbydesign-designsystem-icon.mjs +8 -13
  45. package/fesm2022/kirbydesign-designsystem-icon.mjs.map +1 -1
  46. package/fesm2022/kirbydesign-designsystem-item-sliding.mjs +4 -5
  47. package/fesm2022/kirbydesign-designsystem-item-sliding.mjs.map +1 -1
  48. package/fesm2022/kirbydesign-designsystem-item.mjs +10 -13
  49. package/fesm2022/kirbydesign-designsystem-item.mjs.map +1 -1
  50. package/fesm2022/kirbydesign-designsystem-kirby-app.mjs +5 -7
  51. package/fesm2022/kirbydesign-designsystem-kirby-app.mjs.map +1 -1
  52. package/fesm2022/kirbydesign-designsystem-list.mjs +74 -70
  53. package/fesm2022/kirbydesign-designsystem-list.mjs.map +1 -1
  54. package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs +4 -5
  55. package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs.map +1 -1
  56. package/fesm2022/kirbydesign-designsystem-menu.mjs +5 -7
  57. package/fesm2022/kirbydesign-designsystem-menu.mjs.map +1 -1
  58. package/fesm2022/kirbydesign-designsystem-modal.mjs +42 -48
  59. package/fesm2022/kirbydesign-designsystem-modal.mjs.map +1 -1
  60. package/fesm2022/kirbydesign-designsystem-page.mjs +67 -76
  61. package/fesm2022/kirbydesign-designsystem-page.mjs.map +1 -1
  62. package/fesm2022/kirbydesign-designsystem-radio.mjs +9 -12
  63. package/fesm2022/kirbydesign-designsystem-radio.mjs.map +1 -1
  64. package/fesm2022/kirbydesign-designsystem-range.mjs +2 -2
  65. package/fesm2022/kirbydesign-designsystem-range.mjs.map +1 -1
  66. package/fesm2022/kirbydesign-designsystem-reorder-list.mjs +12 -7
  67. package/fesm2022/kirbydesign-designsystem-reorder-list.mjs.map +1 -1
  68. package/fesm2022/kirbydesign-designsystem-router-outlet.mjs +5 -7
  69. package/fesm2022/kirbydesign-designsystem-router-outlet.mjs.map +1 -1
  70. package/fesm2022/kirbydesign-designsystem-section-header.mjs +2 -2
  71. package/fesm2022/kirbydesign-designsystem-section-header.mjs.map +1 -1
  72. package/fesm2022/kirbydesign-designsystem-shared.mjs +9 -0
  73. package/fesm2022/kirbydesign-designsystem-shared.mjs.map +1 -1
  74. package/fesm2022/kirbydesign-designsystem-slide-button.mjs +2 -2
  75. package/fesm2022/kirbydesign-designsystem-slide-button.mjs.map +1 -1
  76. package/fesm2022/kirbydesign-designsystem-slide.mjs +14 -22
  77. package/fesm2022/kirbydesign-designsystem-slide.mjs.map +1 -1
  78. package/fesm2022/kirbydesign-designsystem-spinner.mjs +4 -5
  79. package/fesm2022/kirbydesign-designsystem-spinner.mjs.map +1 -1
  80. package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs +6 -7
  81. package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs.map +1 -1
  82. package/fesm2022/kirbydesign-designsystem-tabs.mjs +27 -9
  83. package/fesm2022/kirbydesign-designsystem-tabs.mjs.map +1 -1
  84. package/fesm2022/kirbydesign-designsystem-toggle-button.mjs +5 -7
  85. package/fesm2022/kirbydesign-designsystem-toggle-button.mjs.map +1 -1
  86. package/fesm2022/kirbydesign-designsystem-toggle.mjs +2 -2
  87. package/fesm2022/kirbydesign-designsystem-toggle.mjs.map +1 -1
  88. package/fesm2022/kirbydesign-designsystem.mjs +18 -24
  89. package/fesm2022/kirbydesign-designsystem.mjs.map +1 -1
  90. package/form-field/index.d.ts +15 -8
  91. package/form-field/index.d.ts.map +1 -1
  92. package/header/index.d.ts +8 -8
  93. package/header/index.d.ts.map +1 -1
  94. package/icon/index.d.ts +4 -4
  95. package/icon/index.d.ts.map +1 -1
  96. package/index.d.ts +47 -47
  97. package/index.d.ts.map +1 -1
  98. package/item/index.d.ts +6 -6
  99. package/item/index.d.ts.map +1 -1
  100. package/kirby-app/index.d.ts +4 -4
  101. package/kirby-app/index.d.ts.map +1 -1
  102. package/list/index.d.ts +25 -21
  103. package/list/index.d.ts.map +1 -1
  104. package/modal/index.d.ts +3 -1
  105. package/modal/index.d.ts.map +1 -1
  106. package/package.json +36 -36
  107. package/page/index.d.ts +18 -18
  108. package/page/index.d.ts.map +1 -1
  109. package/radio/index.d.ts +5 -5
  110. package/radio/index.d.ts.map +1 -1
  111. package/reorder-list/index.d.ts.map +1 -1
  112. package/router-outlet/index.d.ts +4 -4
  113. package/router-outlet/index.d.ts.map +1 -1
  114. package/scss/base/_visually-hidden.scss +1 -0
  115. package/shared/index.d.ts +3 -0
  116. package/shared/index.d.ts.map +1 -1
  117. package/slide/index.d.ts +7 -7
  118. package/slide/index.d.ts.map +1 -1
  119. package/spinner/index.d.ts +3 -3
  120. package/spinner/index.d.ts.map +1 -1
  121. package/tab-navigation/index.d.ts +4 -4
  122. package/tab-navigation/index.d.ts.map +1 -1
  123. package/tabs/index.d.ts +6 -6
  124. package/tabs/index.d.ts.map +1 -1
  125. package/toggle-button/index.d.ts +3 -3
  126. package/toggle-button/index.d.ts.map +1 -1
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnChanges, AfterContentInit, EventEmitter, QueryList } from '@angular/core';
3
3
  import { ListComponent } from '@kirbydesign/designsystem/list';
4
- import * as i3 from '@kirbydesign/designsystem/icon';
4
+ import * as i1 from '@kirbydesign/designsystem/icon';
5
5
 
6
6
  declare class AccordionItemComponent implements OnChanges, AfterContentInit {
7
7
  hasList: boolean;
@@ -20,7 +20,7 @@ declare class AccordionItemComponent implements OnChanges, AfterContentInit {
20
20
  _titleId: string;
21
21
  _contentId: string;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "kirby-accordion-item", never, { "title": { "alias": "title"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "disabledTitle": { "alias": "disabledTitle"; "required": false; }; "hasPadding": { "alias": "hasPadding"; "required": false; }; "headingLevel": { "alias": "headingLevel"; "required": false; }; }, { "toggle": "toggle"; }, ["listChildren"], ["*"], false, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "kirby-accordion-item", never, { "title": { "alias": "title"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "disabledTitle": { "alias": "disabledTitle"; "required": false; }; "hasPadding": { "alias": "hasPadding"; "required": false; }; "headingLevel": { "alias": "headingLevel"; "required": false; }; }, { "toggle": "toggle"; }, ["listChildren"], ["*"], true, never>;
24
24
  }
25
25
 
26
26
  declare class AccordionDirective implements AfterContentInit {
@@ -29,12 +29,12 @@ declare class AccordionDirective implements AfterContentInit {
29
29
  ngAfterContentInit(): void;
30
30
  private setHeadingLevels;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<AccordionDirective, never>;
32
- static ɵdir: i0.ɵɵDirectiveDeclaration<AccordionDirective, "[kirbyAccordion], kirby-accordion", ["kirby-accordion"], { "headingLevel": { "alias": "headingLevel"; "required": false; }; }, {}, ["accordionItems"], never, false, never>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AccordionDirective, "[kirbyAccordion], kirby-accordion", ["kirby-accordion"], { "headingLevel": { "alias": "headingLevel"; "required": false; }; }, {}, ["accordionItems"], never, true, never>;
33
33
  }
34
34
 
35
35
  declare class AccordionModule {
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<AccordionModule, never>;
37
- static ɵmod: i0.ɵɵNgModuleDeclaration<AccordionModule, [typeof AccordionDirective, typeof AccordionItemComponent], [typeof i3.IconModule], [typeof AccordionDirective, typeof AccordionItemComponent]>;
37
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AccordionModule, never, [typeof i1.IconModule, typeof AccordionDirective, typeof AccordionItemComponent], [typeof AccordionDirective, typeof AccordionItemComponent]>;
38
38
  static ɵinj: i0.ɵɵInjectorDeclaration<AccordionModule>;
39
39
  }
40
40
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../../accordion/src/accordion-item.component.ts","../../accordion/src/accordion.directive.ts","../../accordion/src/accordion.module.ts"],"sourcesContent":[null,null,null],"names":[],"mappings":";;;;;AAkBA,cAAA,sBAAA,YAAA,SAAA,EAAA,gBAAA;;;;;;;AAqBW;AACC,YAAA,YAAA;AAEsB,kBAAA,SAAA,CAAA,aAAA;AAEhC;AAUA;;;AAuBA;AACA;;;AACD;;AC1ED,cAAA,kBAAA,YAAA,gBAAA;AAMW;AACgC,oBAAA,SAAA,CAAA,sBAAA;AAEzC;AAMA;;;AAOD;;ACnBD,cAAA,eAAA;;;;AAK+B;;;;"}
1
+ {"version":3,"file":"index.d.ts","sources":["../../accordion/src/accordion-item.component.ts","../../accordion/src/accordion.directive.ts","../../accordion/src/accordion.module.ts"],"sourcesContent":[null,null,null],"names":[],"mappings":";;;;;AAmBA,cAAA,sBAAA,YAAA,SAAA,EAAA,gBAAA;;;;;;;AAqBW;AACC,YAAA,YAAA;AAEsB,kBAAA,SAAA,CAAA,aAAA;AAEhC;AAUA;;;AAuBA;AACA;;;AACD;;AC3ED,cAAA,kBAAA,YAAA,gBAAA;AAKW;AACgC,oBAAA,SAAA,CAAA,sBAAA;AAEzC;AAMA;;;AAOD;;AClBD,cAAA,eAAA;;;;AAI+B;;;;"}
package/avatar/index.d.ts CHANGED
@@ -18,7 +18,7 @@ declare class AvatarComponent {
18
18
  size: AvatarSize | `${AvatarSize}`;
19
19
  themeColor: NotificationColor | BrandColor | 'medium' | 'white' | 'dark' | 'light' | 'semi-light';
20
20
  imageError: EventEmitter<ErrorEvent>;
21
- get _cssClass(): ("success" | "warning" | "danger" | "primary" | "secondary" | "tertiary" | "medium" | "white" | "dark" | "light" | "semi-light" | AvatarSize | "xs" | "sm" | "md" | "lg")[];
21
+ get _cssClass(): ("xs" | "sm" | "md" | "lg" | AvatarSize | "success" | "warning" | "danger" | "primary" | "secondary" | "tertiary" | "medium" | "white" | "dark" | "light" | "semi-light")[];
22
22
  onImageError($event: ErrorEvent): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
24
24
  static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "kirby-avatar", never, { "imageSrc": { "alias": "imageSrc"; "required": false; }; "imageLoading": { "alias": "imageLoading"; "required": false; }; "altText": { "alias": "altText"; "required": false; }; "stroke": { "alias": "stroke"; "required": false; }; "text": { "alias": "text"; "required": false; }; "overlay": { "alias": "overlay"; "required": false; }; "size": { "alias": "size"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; }, { "imageError": "imageError"; }, never, ["kirby-icon", "kirby-badge"], true, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../../avatar/src/avatar.component.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAYA,aAAA,UAAA;AACE;AACA;AACA;AACA;AACD;AAED,cAAA,eAAA;;AASW;;;;;AAKA,UAAA,UAAA,MAAA,UAAA;AAET,gBAAA,iBAAA,GAAA,UAAA;AAEA,gBAAA,YAAA,CAAA,UAAA;AAEA,uJAAA,UAAA;;;;AAQD;;;;"}
1
+ {"version":3,"file":"index.d.ts","sources":["../../avatar/src/avatar.component.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAYA,aAAA,UAAA;AACE;AACA;AACA;AACA;AACD;AAED,cAAA,eAAA;;AASW;;;;;AAKA,UAAA,UAAA,MAAA,UAAA;AAET,gBAAA,iBAAA,GAAA,UAAA;AAEA,gBAAA,YAAA,CAAA,UAAA;AAEA,kDAAA,UAAA;;;;AAQD;;;;"}
package/card/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, OnDestroy, ElementRef, Renderer2 } from '@angular/core';
2
+ import { ElementRef, OnInit, OnDestroy, Renderer2 } from '@angular/core';
3
3
  import { NotificationColor } from '@kirbydesign/designsystem/helpers';
4
- import * as i6 from '@kirbydesign/designsystem/shared';
4
+ import * as i2 from '@kirbydesign/designsystem/shared';
5
5
  import { ResizeObserverService } from '@kirbydesign/designsystem/shared';
6
- import * as i5 from '@angular/common';
6
+ import * as i1 from '@angular/common';
7
7
 
8
8
  declare class CardFooterComponent {
9
9
  hasPadding: boolean;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<CardFooterComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<CardFooterComponent, "kirby-card-footer", never, { "hasPadding": { "alias": "hasPadding"; "required": false; }; }, {}, never, ["*"], false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardFooterComponent, "kirby-card-footer", never, { "hasPadding": { "alias": "hasPadding"; "required": false; }; }, {}, never, ["*"], true, never>;
12
12
  }
13
13
 
14
14
  type CardFlagLevel = NotificationColor | 'info' | null;
@@ -21,7 +21,19 @@ declare class CardHeaderComponent {
21
21
  hasPadding: boolean;
22
22
  get _cssClass(): string[];
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderComponent, "kirby-card-header", never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isTitleBold": { "alias": "isTitleBold"; "required": false; }; "flagged": { "alias": "flagged"; "required": false; }; "hasPadding": { "alias": "hasPadding"; "required": false; }; }, {}, never, ["*"], false, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderComponent, "kirby-card-header", never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isTitleBold": { "alias": "isTitleBold"; "required": false; }; "flagged": { "alias": "flagged"; "required": false; }; "hasPadding": { "alias": "hasPadding"; "required": false; }; }, {}, never, ["*"], true, never>;
25
+ }
26
+
27
+ declare class CardAsButtonDirective {
28
+ private clickableElement;
29
+ role: string;
30
+ tabindex: number;
31
+ _pressed: boolean;
32
+ constructor(clickableElement: ElementRef);
33
+ _onKeydownHandler(event: KeyboardEvent): void;
34
+ _onInactiveHandler(): void;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardAsButtonDirective, never>;
36
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardAsButtonDirective, "kirby-card[click]", never, {}, {}, never, never, true, never>;
25
37
  }
26
38
 
27
39
  declare class CardComponent implements OnInit, OnDestroy {
@@ -45,25 +57,12 @@ declare class CardComponent implements OnInit, OnDestroy {
45
57
  private compareSizesByBreakpoint;
46
58
  private handleResize;
47
59
  static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "kirby-card", never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "backgroundImageUrl": { "alias": "backgroundImageUrl"; "required": false; }; "hasPadding": { "alias": "hasPadding"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["kirby-card-header", "*", "kirby-card-footer"], false, never>;
49
- }
50
-
51
- declare class CardAsButtonDirective {
52
- private card;
53
- private clickableElement;
54
- role: string;
55
- tabindex: number;
56
- _pressed: boolean;
57
- constructor(card: CardComponent, clickableElement: ElementRef);
58
- _onKeydownHandler(event: KeyboardEvent): void;
59
- _onInactiveHandler(): void;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<CardAsButtonDirective, [{ optional: true; }, null]>;
61
- static ɵdir: i0.ɵɵDirectiveDeclaration<CardAsButtonDirective, "kirby-card[click]", never, {}, {}, never, never, false, never>;
60
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "kirby-card", never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "backgroundImageUrl": { "alias": "backgroundImageUrl"; "required": false; }; "hasPadding": { "alias": "hasPadding"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["kirby-card-header", "*", "kirby-card-footer"], true, never>;
62
61
  }
63
62
 
64
63
  declare class CardModule {
65
64
  static ɵfac: i0.ɵɵFactoryDeclaration<CardModule, never>;
66
- static ɵmod: i0.ɵɵNgModuleDeclaration<CardModule, [typeof CardComponent, typeof CardFooterComponent, typeof CardHeaderComponent, typeof CardAsButtonDirective], [typeof i5.CommonModule, typeof i6.ThemeColorDirective], [typeof CardComponent, typeof CardFooterComponent, typeof CardHeaderComponent, typeof CardAsButtonDirective, typeof i6.ThemeColorDirective]>;
65
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CardModule, never, [typeof i1.CommonModule, typeof i2.ThemeColorDirective, typeof CardComponent, typeof CardFooterComponent, typeof CardHeaderComponent, typeof CardAsButtonDirective], [typeof CardComponent, typeof CardFooterComponent, typeof CardHeaderComponent, typeof CardAsButtonDirective, typeof i2.ThemeColorDirective]>;
67
66
  static ɵinj: i0.ɵɵInjectorDeclaration<CardModule>;
68
67
  }
69
68
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../../card/src/card-footer/card-footer.component.ts","../../card/src/card-flag-level.ts","../../card/src/card-header/card-header.component.ts","../../card/src/card.component.ts","../../card/src/card-as-button/card-as-button.directive.ts","../../card/src/card.module.ts"],"sourcesContent":[null,null,null,null,null,null],"names":[],"mappings":";;;;;;;AAEA;;;;AAWC;;ACXK;;ACEN;;;;;;AAiBE;;;AAID;;ACdD;AA0CI;AACA;AACA;;;;AA/BF;;;;AAemB;;AAWnB;;;;AAgBA;AAIA;AAIA;;;AAcD;;ACpFD;AAWgB;AACZ;;;AAJ6C;AAGzB;;;;;AA0BvB;;AC1BD;;;;AAK0B;;;"}
1
+ {"version":3,"file":"index.d.ts","sources":["../../card/src/card-footer/card-footer.component.ts","../../card/src/card-flag-level.ts","../../card/src/card-header/card-header.component.ts","../../card/src/card-as-button/card-as-button.directive.ts","../../card/src/card.component.ts","../../card/src/card.module.ts"],"sourcesContent":[null,null,null,null,null,null],"names":[],"mappings":";;;;;;;AAEA;;;;AAUC;;ACVK;;ACEN;;;;;;AAgBE;;;AAID;;ACtBD;AASc;;;AAFmC;AAE3B;;;;;AAwBrB;;ACxBD;AAyCI;AACA;AACA;;;;AA/BF;;;;AAemB;;AAWnB;;;;AAgBA;AAIA;AAIA;;;AAcD;;AC7ED;;;;AAI0B;;;"}
package/chart/index.d.ts CHANGED
@@ -127,13 +127,13 @@ declare class BaseChartComponent implements AfterViewInit, OnChanges, OnDestroy
127
127
  private redrawChart;
128
128
  ngOnDestroy(): void;
129
129
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseChartComponent, never>;
130
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseChartComponent, "kirby-base-chart", never, { "type": { "alias": "type"; "required": false; }; "data": { "alias": "data"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "customOptions": { "alias": "customOptions"; "required": false; }; "annotations": { "alias": "annotations"; "required": false; }; "highlightedElements": { "alias": "highlightedElements"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, ["*"], false, never>;
130
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseChartComponent, "kirby-base-chart", never, { "type": { "alias": "type"; "required": false; }; "data": { "alias": "data"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "customOptions": { "alias": "customOptions"; "required": false; }; "annotations": { "alias": "annotations"; "required": false; }; "highlightedElements": { "alias": "highlightedElements"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, ["*"], true, never>;
131
131
  }
132
132
 
133
133
  declare class ChartComponent extends BaseChartComponent {
134
134
  type: Exclude<ChartType, 'stock'>;
135
135
  static ɵfac: i0.ɵɵFactoryDeclaration<ChartComponent, never>;
136
- static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "kirby-chart", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
136
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "kirby-chart", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
137
137
  }
138
138
 
139
139
  declare class StockChartComponent extends BaseChartComponent {
@@ -141,12 +141,12 @@ declare class StockChartComponent extends BaseChartComponent {
141
141
  readonly type = "stock";
142
142
  protected renderChart(): void;
143
143
  static ɵfac: i0.ɵɵFactoryDeclaration<StockChartComponent, never>;
144
- static ɵcmp: i0.ɵɵComponentDeclaration<StockChartComponent, "kirby-stock-chart", never, { "dataLabelOptions": { "alias": "dataLabelOptions"; "required": false; }; }, {}, never, ["*"], false, never>;
144
+ static ɵcmp: i0.ɵɵComponentDeclaration<StockChartComponent, "kirby-stock-chart", never, { "dataLabelOptions": { "alias": "dataLabelOptions"; "required": false; }; }, {}, never, ["*"], true, never>;
145
145
  }
146
146
 
147
147
  declare class ChartsModule {
148
148
  static ɵfac: i0.ɵɵFactoryDeclaration<ChartsModule, never>;
149
- static ɵmod: i0.ɵɵNgModuleDeclaration<ChartsModule, [typeof ChartComponent, typeof StockChartComponent], never, [typeof ChartComponent, typeof StockChartComponent]>;
149
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ChartsModule, never, [typeof ChartComponent, typeof StockChartComponent], [typeof ChartComponent, typeof StockChartComponent]>;
150
150
  static ɵinj: i0.ɵɵInjectorDeclaration<ChartsModule>;
151
151
  }
152
152
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../../chart/src/shared/charts.types.ts","../../chart/src/shared/chart-config-service/chart-config.service.ts","../../chart/src/shared/chart-js-service/chart-js.service.ts","../../chart/src/shared/chart-js-service/test-utils.ts","../../chart/src/shared/base-chart/base-chart.component.ts","../../chart/src/chart/chart.component.ts","../../chart/src/stock-chart/stock-chart.component.ts","../../chart/src/charts.module.ts","../../chart/src/chart-config/chart-base-config.ts","../../chart/src/chart-config/chart-bar-config/chart-bar-config.ts","../../chart/src/chart-config/chart-stock-config/vertical-line-plugin/vertical-line-plugin.model.ts","../../chart/src/chart-config/chart-stock-config/chart-stock-config.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;AAIM;AAEA;;;;AAEA;;;;AAKA;;;;;;;;AAcA;AACJ;AAAiB;;;AAClB;AAED;;ACpBA;AAES;;AAaA;AAIA;AAWA;;;;;;;;;;;;;;;;;;;;AAoCR;;AC5DD;;;;AAIE;;AAGsB;;AAKpB;;AAEA;AACA;;AAEA;;AAED;;;;AAgCM;;AAgBA;AAMA;AAMA;AAcP;;AAEE;AACD;;AA6BD;AAoBA;AASA;AAcA;AAeA;AAIA;AAmBA;;;AAiCD;;AC7PD;AA2JA;;AC5IA;;;AAQW;;;AAKA;;;AAKT;AAKA;;AAIsB;;AAatB;;AAyCA;AAcA;AAIA;AAIA;AAIA;AAIA;AAIA;AAIA;;;;AAOD;;AC5ID;AAQW;;;AACV;;ACPD;;;AAYE;;;AAGD;;ACfD;;;;AAK4B;;ACT5B;AACE;;AAEA;AACD;;ACED;;AAEG;AACH;AACE;AAEA;AAiCD;;AC7CK;;;AAGJ;;;AAGA;;;;AAID;;ACsBD;;AAEG;AACH;AACE;AAEA;AACA;AACA;AACA;AACA;AAOA;;AAaA;;AA4GA;AAEA;AAEA;AACD;;;"}
1
+ {"version":3,"file":"index.d.ts","sources":["../../chart/src/shared/charts.types.ts","../../chart/src/shared/chart-config-service/chart-config.service.ts","../../chart/src/shared/chart-js-service/chart-js.service.ts","../../chart/src/shared/chart-js-service/test-utils.ts","../../chart/src/shared/base-chart/base-chart.component.ts","../../chart/src/chart/chart.component.ts","../../chart/src/stock-chart/stock-chart.component.ts","../../chart/src/charts.module.ts","../../chart/src/chart-config/chart-base-config.ts","../../chart/src/chart-config/chart-bar-config/chart-bar-config.ts","../../chart/src/chart-config/chart-stock-config/vertical-line-plugin/vertical-line-plugin.model.ts","../../chart/src/chart-config/chart-stock-config/chart-stock-config.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;AAIM;AAEA;;;;AAEA;;;;AAKA;;;;;;;;AAcA;AACJ;AAAiB;;;AAClB;AAED;;ACpBA;AAES;;AAaA;AAIA;AAWA;;;;;;;;;;;;;;;;;;;;AAoCR;;AC5DD;;;;AAIE;;AAGsB;;AAKpB;;AAEA;AACA;;AAEA;;AAED;;;;AAgCM;;AAgBA;AAMA;AAMA;AAcP;;AAEE;AACD;;AA6BD;AAoBA;AASA;AAcA;AAeA;AAIA;AAmBA;;;AAiCD;;AC7PD;AA2JA;;AC5IA;;;AAOW;;;AAKA;;;AAKT;AAKA;;AAIsB;;AAatB;;AAyCA;AAcA;AAIA;AAIA;AAIA;AAIA;AAIA;AAIA;;;;AAOD;;AC3ID;AAOW;;;AACV;;ACDD;;;AAWE;;;AAGD;;ACnBD;;;;AAK4B;;ACT5B;AACE;;AAEA;AACD;;ACED;;AAEG;AACH;AACE;AAEA;AAiCD;;AC7CK;;;AAGJ;;;AAGA;;;;AAID;;ACsBD;;AAEG;AACH;AACE;AAEA;AACA;AACA;AACA;AACA;AAOA;;AAaA;;AA4GA;AAEA;AAEA;AACD;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../../checkbox/src/checkbox.component.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAqBA,cAAA,iBAAA,YAAA,aAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,gBAAA;AA0DI;AACA;AACA;;;;AArCO;;AAOT;;AAMS;AACT;AAKA;AAGA;;AAMU,mBAAA,YAAA;AAEV;;;AAKU,yBAAA,UAAA,CAAA,WAAA,2BAAA,sBAAA,OAAA,iBAAA;AAKV;AAiBA;AAcA;AASA;;;;AAgBA;;;;;AAKG;AACH;AAKA;;;;;;AAMG;AACH;AAIA;;;;;;AAMG;AACH;AAIA;;;;;AAKG;AACH;;;AAGD;;;;"}
1
+ {"version":3,"file":"index.d.ts","sources":["../../checkbox/src/checkbox.component.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAqBA,cAAA,iBAAA,YAAA,aAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,gBAAA;AA0DI;AACA;AACA;;;;AArCO;;AAOT;;AAMS;AACT;AAKA;AAGA;;AAMU,mBAAA,YAAA;AAEV;;;AAKU,yBAAA,UAAA,CAAA,WAAA,2BAAA,sBAAA,OAAA,iBAAA;AAKV;AAiBA;AAcA;AASA;;;;AAgBA;;;;;AAKG;AACH;AAKA;;;;;;AAMG;AACH;AAIA;;;;;;AAMG;AACH;AAIA;;;;;AAKG;AACH;;;AAID;;;;"}
@@ -1,16 +1,16 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { AfterViewInit, OnDestroy, EventEmitter, TemplateRef, QueryList, ElementRef, Renderer2, ChangeDetectorRef } from '@angular/core';
3
3
  import { ControlValueAccessor } from '@angular/forms';
4
- import * as i6 from '@kirbydesign/designsystem/popover';
4
+ import * as i5 from '@kirbydesign/designsystem/popover';
5
5
  import { HorizontalDirection, PopoverComponent } from '@kirbydesign/designsystem/popover';
6
6
  import { ResizeObserverService } from '@kirbydesign/designsystem/shared';
7
- import * as i2 from '@kirbydesign/designsystem/card';
8
- import * as i3 from '@kirbydesign/designsystem/icon';
9
- import * as i4 from '@kirbydesign/designsystem/item';
10
- import * as i5 from '@kirbydesign/designsystem/form-field';
11
- import * as i7 from '@kirbydesign/designsystem/button';
12
- import * as i8 from '@angular/common';
13
- import * as i9 from '@kirbydesign/designsystem/list';
7
+ import * as i1 from '@kirbydesign/designsystem/card';
8
+ import * as i2 from '@kirbydesign/designsystem/icon';
9
+ import * as i3 from '@kirbydesign/designsystem/item';
10
+ import * as i4 from '@kirbydesign/designsystem/form-field';
11
+ import * as i6 from '@kirbydesign/designsystem/button';
12
+ import * as i7 from '@angular/common';
13
+ import * as i8 from '@kirbydesign/designsystem/list';
14
14
 
15
15
  declare class KeyboardHandlerService {
16
16
  handle(event: KeyboardEvent, selectedIndex: number, maxIndex: number, cyclicIndex?: boolean): number;
@@ -151,12 +151,12 @@ declare class DropdownComponent implements AfterViewInit, OnDestroy, ControlValu
151
151
  private unlistenAllSlottedItems;
152
152
  ngOnDestroy(): void;
153
153
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
154
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "kirby-dropdown", never, { "items": { "alias": "items"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "focusedIndex": { "alias": "focusedIndex"; "required": false; }; "itemTextProperty": { "alias": "itemTextProperty"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "popout": { "alias": "popout"; "required": false; }; "attentionLevel": { "alias": "attentionLevel"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "usePopover": { "alias": "usePopover"; "required": false; }; }, { "change": "change"; }, ["itemTemplate", "slottedItems", "kirbyItemsSlotted"], never, false, never>;
154
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "kirby-dropdown", never, { "items": { "alias": "items"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "focusedIndex": { "alias": "focusedIndex"; "required": false; }; "itemTextProperty": { "alias": "itemTextProperty"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "popout": { "alias": "popout"; "required": false; }; "attentionLevel": { "alias": "attentionLevel"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "usePopover": { "alias": "usePopover"; "required": false; }; }, { "change": "change"; }, ["itemTemplate", "slottedItems", "kirbyItemsSlotted"], never, true, never>;
155
155
  }
156
156
 
157
157
  declare class DropdownModule {
158
158
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownModule, never>;
159
- static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownModule, [typeof DropdownComponent], [typeof i2.CardModule, typeof i3.IconModule, typeof i4.ItemModule, typeof i5.FormFieldModule, typeof i6.PopoverComponent, typeof i7.ButtonComponent, typeof i8.CommonModule, typeof i9.ListModule], [typeof DropdownComponent, typeof i9.ListItemTemplateDirective]>;
159
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownModule, never, [typeof i1.CardModule, typeof i2.IconModule, typeof i3.ItemModule, typeof i4.FormFieldModule, typeof i5.PopoverComponent, typeof i6.ButtonComponent, typeof i7.CommonModule, typeof i8.ListModule, typeof DropdownComponent], [typeof DropdownComponent, typeof i8.ListItemTemplateDirective]>;
160
160
  static ɵinj: i0.ɵɵInjectorDeclaration<DropdownModule>;
161
161
  }
162
162
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../../dropdown/src/keyboard-handler.service.ts","../../dropdown/src/dropdown.component.ts","../../dropdown/src/dropdown.module.ts","../../dropdown/src/dropdown.types.ts"],"sourcesContent":[null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,cAAA,sBAAA;AAIE,kBAAA,aAAA;;;AAmCD;;ACHD,cAAA,iBAAA,YAAA,aAAA,EAAA,SAAA,EAAA,oBAAA;AAiOI;AACA;AACA;AACA;AACA;AAvNF;;;;;AAOA;AACA;;AAIA;;;;AAcA;;;AAeA;AAQA;AAGA;;AAMA,kBAAA,mBAAA,MAAA,mBAAA;AAKA;;AAMA;AAEA;;AAUA;AAGA;AAIA;AAEA;AAKA;AAKA;;AAEG;AACO,YAAA,YAAA;;AAGV;;AAQA;;;AAeA;AAKA;AAgBA;AAGA,kBAAA,WAAA;;AAIA,iBAAA,UAAA,CAAA,WAAA;;AAIA,mBAAA,UAAA,CAAA,WAAA;AAEA;;;;;;;;;;;;;;AAwEA;;AA8BA;AAmCA;AAcA;;AAmCA;;;;;AA6BA;;;;;AAKG;AACH;AAIA;;;;;;AAMG;AACH;AAIA;;;;;;AAMG;AACH;AAIA;;;;;AAKG;AACH;AAIA;AASA;AAIA;;;AAoCA;AAKA;AAOA;;AA0DA;AAyCA;;;;;;;;;;;AAsIA;AAOA;;;AAOD;;AC5vBD,cAAA,cAAA;;;;AAe8B;;AC/B9B,aAAA,SAAA;AACE;AACA;AACA;AACD;AAED,aAAA,iBAAA;AACE;AACA;AACD;;;;"}
1
+ {"version":3,"file":"index.d.ts","sources":["../../dropdown/src/keyboard-handler.service.ts","../../dropdown/src/dropdown.component.ts","../../dropdown/src/dropdown.module.ts","../../dropdown/src/dropdown.types.ts"],"sourcesContent":[null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,cAAA,sBAAA;AAIE,kBAAA,aAAA;;;AAmCD;;ACDD,cAAA,iBAAA,YAAA,aAAA,EAAA,SAAA,EAAA,oBAAA;AA0OI;AACA;AACA;AACA;AACA;AAzNF;;;;;AAOA;AACA;;AAIA;;;;AAcA;;;AAeA;AAQA;AAGA;;AAMA,kBAAA,mBAAA,MAAA,mBAAA;AAKA;;AAMA;AAEA;;AAUA;AAKA;AAIA;AAEA;AAKA;AAKA;;AAEG;AACO,YAAA,YAAA;;AAGV;;AAQA;;;AAeA;AAKA;AAgBA;AAGA,kBAAA,WAAA;;AAIA,iBAAA,UAAA,CAAA,WAAA;;AAIA,mBAAA,UAAA,CAAA,WAAA;AAEA;;;;;;;;;;;;;;AAwEA;;AA8BA;AAmCA;AAcA;;AAmCA;;;;;AA6BA;;;;;AAKG;AACH;AAIA;;;;;;AAMG;AACH;AAIA;;;;;;AAMG;AACH;AAIA;;;;;AAKG;AACH;AAIA;AASA;AAIA;;;AAoCA;AAKA;AAOA;;AA0DA;AAyCA;;;;;;;;;;;AAsIA;AAOA;;;AAOD;;ACzwBD,cAAA,cAAA;;;;AAe8B;;AC7B9B,aAAA,SAAA;AACE;AACA;AACA;AACD;AAED,aAAA,iBAAA;AACE;AACA;AACD;;;;"}
@@ -1,8 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { AfterContentInit, OnInit, ElementRef, Renderer2 } from '@angular/core';
3
- import * as i2 from '@kirbydesign/designsystem/icon';
4
- import * as i3 from '@angular/common';
5
- import * as i4 from '@kirbydesign/designsystem/shared';
3
+ import * as i1 from '@kirbydesign/designsystem/icon';
4
+ import * as i2 from '@angular/common';
5
+ import * as i3 from '@kirbydesign/designsystem/shared';
6
6
 
7
7
  declare class EmptyStateComponent implements AfterContentInit, OnInit {
8
8
  private elementRef;
@@ -24,12 +24,12 @@ declare class EmptyStateComponent implements AfterContentInit, OnInit {
24
24
  */
25
25
  private enforceAttentionLevelRules;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "kirby-empty-state", never, { "iconName": { "alias": "iconName"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; }, {}, ["slottedButtons"], ["*"], false, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "kirby-empty-state", never, { "iconName": { "alias": "iconName"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; }, {}, ["slottedButtons"], ["*"], true, never>;
28
28
  }
29
29
 
30
30
  declare class EmptyStateModule {
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateModule, never>;
32
- static ɵmod: i0.ɵɵNgModuleDeclaration<EmptyStateModule, [typeof EmptyStateComponent], [typeof i2.IconModule, typeof i3.CommonModule, typeof i4.ThemeColorDirective], [typeof EmptyStateComponent, typeof i4.ThemeColorDirective]>;
32
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EmptyStateModule, never, [typeof i1.IconModule, typeof i2.CommonModule, typeof i3.ThemeColorDirective, typeof EmptyStateComponent], [typeof EmptyStateComponent, typeof i3.ThemeColorDirective]>;
33
33
  static ɵinj: i0.ɵɵInjectorDeclaration<EmptyStateModule>;
34
34
  }
35
35
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../../empty-state/src/empty-state.component.ts","../../empty-state/src/empty-state.module.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;;;;;AAcA,cAAA,mBAAA,YAAA,gBAAA,EAAA,MAAA;AAgCI;AACA;;;;AApBF;;;;;;AAuBA;;AAsBA;;;AAGG;AACH;;;AAWD;;AC/ED,cAAA,gBAAA;;;;AAKgC;;;;"}
1
+ {"version":3,"file":"index.d.ts","sources":["../../empty-state/src/empty-state.component.ts","../../empty-state/src/empty-state.module.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;;;;;AAeA,cAAA,mBAAA,YAAA,gBAAA,EAAA,MAAA;AAgCI;AACA;;;;AApBF;;;;;;AAuBA;;AAsBA;;;AAGG;AACH;;;AAWD;;AClFD,cAAA,gBAAA;;;;AAIgC;;;;"}
@@ -3,8 +3,7 @@ import { EventEmitter, ContentChildren, Output, Input, HostBinding, ChangeDetect
3
3
  import { startWith } from 'rxjs';
4
4
  import { trigger, state, transition, style, animate } from '@angular/animations';
5
5
  import { ListComponent } from '@kirbydesign/designsystem/list';
6
- import * as i1 from '@kirbydesign/designsystem/icon';
7
- import { IconModule } from '@kirbydesign/designsystem/icon';
6
+ import { IconComponent, IconModule } from '@kirbydesign/designsystem/icon';
8
7
 
9
8
  // Counter for generating unique element ids
10
9
  let uniqueId = 0;
@@ -49,7 +48,7 @@ class AccordionItemComponent {
49
48
  this.toggle.emit(this.isExpanded);
50
49
  }
51
50
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
52
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.2", type: AccordionItemComponent, isStandalone: false, selector: "kirby-accordion-item", inputs: { title: "title", isExpanded: "isExpanded", isDisabled: "isDisabled", disabledTitle: "disabledTitle", hasPadding: "hasPadding", headingLevel: "headingLevel" }, outputs: { toggle: "toggle" }, host: { properties: { "class.has-list": "this.hasList" } }, queries: [{ propertyName: "listChildren", predicate: ListComponent }], usesOnChanges: true, ngImport: i0, template: "<div class=\"content-layer\">\n <div [attr.aria-level]=\"headingLevel\" [attr.role]=\"headingLevel ? 'heading' : null\">\n <button\n type=\"button\"\n class=\"header\"\n [attr.aria-expanded]=\"isExpanded\"\n [attr.aria-controls]=\"_contentId\"\n [id]=\"_titleId\"\n [disabled]=\"isDisabled\"\n (click)=\"_onToggleExpanded($event)\"\n >\n <span class=\"state-layer\" aria-hidden=\"true\"></span>\n <div class=\"title\" [class.bold]=\"isExpanded\">{{ getTitle() }}</div>\n <kirby-icon name=\"arrow-down\"></kirby-icon>\n </button>\n </div>\n <div\n class=\"content\"\n role=\"region\"\n [attr.aria-labelledby]=\"_titleId\"\n [id]=\"_contentId\"\n [@isExpanded]=\"!!isExpanded\"\n >\n <div class=\"content-body\" [class.padding]=\"hasPadding\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: [":host{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}:host .content-layer{position:relative;z-index:var(--content-layer-z-index, 1)}:host .state-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}:host .state-layer:before{transition:all 80ms linear 0ms;content:\"\";position:absolute;pointer-events:none;inset:-50%;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}:host{display:block;border-top:1px solid var(--kirby-medium);border-bottom:1px solid var(--kirby-medium)}:host(.has-list){--kirby-item-background: transparent}@media (hover: hover) and (pointer: fine){.header{outline:0}.header:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){.header:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}.header:active,.header.interaction-state-active{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black)}.header{display:flex;align-items:center;gap:8px;padding:16px;-webkit-user-select:none;user-select:none;width:100%;border:none;outline:none;background:none;box-shadow:none;font-family:var(--kirby-font-family);text-align:start}.title{flex-grow:2;display:flex;font-size:1rem}.kirby-icon{transition:transform .2s}.content{overflow:hidden;cursor:default}.content-body.padding{padding:0 16px 16px}button[disabled]{pointer-events:none}button[disabled] .kirby-icon{color:var(--kirby-semi-dark)}button[disabled] .title{color:var(--kirby-text-color-semi-dark)}button{color:var(--kirby-black)}button[aria-expanded=true] .title{font-weight:700}button[aria-expanded=true] .kirby-icon{transform:rotate(180deg)}:host-context(kirby-accordion):not(:first-child){border-top:none}:host-context(kirby-card){border-color:var(--kirby-background-color)}:host-context(kirby-card):first-child{border-top:none}:host-context(kirby-card):last-child{border-bottom:none}\n"], dependencies: [{ kind: "component", type: i1.IconComponent, selector: "kirby-icon", inputs: ["size", "name"] }], animations: [
51
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.2", type: AccordionItemComponent, isStandalone: true, selector: "kirby-accordion-item", inputs: { title: "title", isExpanded: "isExpanded", isDisabled: "isDisabled", disabledTitle: "disabledTitle", hasPadding: "hasPadding", headingLevel: "headingLevel" }, outputs: { toggle: "toggle" }, host: { properties: { "class.has-list": "this.hasList" } }, queries: [{ propertyName: "listChildren", predicate: ListComponent }], usesOnChanges: true, ngImport: i0, template: "<div class=\"content-layer\">\n <div [attr.aria-level]=\"headingLevel\" [attr.role]=\"headingLevel ? 'heading' : null\">\n <button\n type=\"button\"\n class=\"header\"\n [attr.aria-expanded]=\"isExpanded\"\n [attr.aria-controls]=\"_contentId\"\n [id]=\"_titleId\"\n [disabled]=\"isDisabled\"\n (click)=\"_onToggleExpanded($event)\"\n >\n <span class=\"state-layer\" aria-hidden=\"true\"></span>\n <div class=\"title\" [class.bold]=\"isExpanded\">{{ getTitle() }}</div>\n <kirby-icon name=\"arrow-down\"></kirby-icon>\n </button>\n </div>\n <div\n class=\"content\"\n role=\"region\"\n [attr.aria-labelledby]=\"_titleId\"\n [id]=\"_contentId\"\n [@isExpanded]=\"!!isExpanded\"\n >\n <div class=\"content-body\" [class.padding]=\"hasPadding\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: [":host{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}:host .content-layer{position:relative;z-index:var(--content-layer-z-index, 1)}:host .state-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}:host .state-layer:before{transition:all 80ms linear 0ms;content:\"\";position:absolute;pointer-events:none;inset:0;border-radius:inherit;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}:host{display:block;border-top:1px solid var(--kirby-medium);border-bottom:1px solid var(--kirby-medium);box-sizing:border-box}:host(.has-list){--kirby-item-background: transparent}@media (hover: hover) and (pointer: fine){.header{outline:0}.header:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){.header:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}.header:active,.header.interaction-state-active{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black)}.header{display:flex;align-items:center;gap:8px;height:56px;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;width:100%;border:none;outline:none;background:none;box-shadow:none;font-family:var(--kirby-font-family);text-align:start}.title{flex-grow:2;display:flex;font-size:16px}.kirby-icon{transition:transform .2s}.content{overflow:hidden;cursor:default}.content-body.padding{padding:0 16px 16px}button[disabled]{pointer-events:none}button[disabled] .kirby-icon{color:var(--kirby-semi-dark)}button[disabled] .title{color:var(--kirby-text-color-semi-dark)}button{color:var(--kirby-black)}button[aria-expanded=true] .title{font-weight:700}button[aria-expanded=true] .kirby-icon{transform:rotate(180deg)}:host-context(kirby-accordion):not(:first-child){border-top:none}:host-context(kirby-card){border-color:var(--kirby-background-color)}:host-context(kirby-card):first-child{border-top:none}:host-context(kirby-card):last-child{border-bottom:none}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "kirby-icon", inputs: ["size", "name"] }], animations: [
53
52
  trigger('isExpanded', [
54
53
  state('true', style({ height: '*', visibility: 'visible' })),
55
54
  state('false', style({ height: '0px', visibility: 'hidden' })),
@@ -65,7 +64,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImpor
65
64
  state('false', style({ height: '0px', visibility: 'hidden' })),
66
65
  transition('true <=> false', animate('0.2s')),
67
66
  ]),
68
- ], standalone: false, template: "<div class=\"content-layer\">\n <div [attr.aria-level]=\"headingLevel\" [attr.role]=\"headingLevel ? 'heading' : null\">\n <button\n type=\"button\"\n class=\"header\"\n [attr.aria-expanded]=\"isExpanded\"\n [attr.aria-controls]=\"_contentId\"\n [id]=\"_titleId\"\n [disabled]=\"isDisabled\"\n (click)=\"_onToggleExpanded($event)\"\n >\n <span class=\"state-layer\" aria-hidden=\"true\"></span>\n <div class=\"title\" [class.bold]=\"isExpanded\">{{ getTitle() }}</div>\n <kirby-icon name=\"arrow-down\"></kirby-icon>\n </button>\n </div>\n <div\n class=\"content\"\n role=\"region\"\n [attr.aria-labelledby]=\"_titleId\"\n [id]=\"_contentId\"\n [@isExpanded]=\"!!isExpanded\"\n >\n <div class=\"content-body\" [class.padding]=\"hasPadding\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: [":host{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}:host .content-layer{position:relative;z-index:var(--content-layer-z-index, 1)}:host .state-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}:host .state-layer:before{transition:all 80ms linear 0ms;content:\"\";position:absolute;pointer-events:none;inset:-50%;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}:host{display:block;border-top:1px solid var(--kirby-medium);border-bottom:1px solid var(--kirby-medium)}:host(.has-list){--kirby-item-background: transparent}@media (hover: hover) and (pointer: fine){.header{outline:0}.header:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){.header:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}.header:active,.header.interaction-state-active{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black)}.header{display:flex;align-items:center;gap:8px;padding:16px;-webkit-user-select:none;user-select:none;width:100%;border:none;outline:none;background:none;box-shadow:none;font-family:var(--kirby-font-family);text-align:start}.title{flex-grow:2;display:flex;font-size:1rem}.kirby-icon{transition:transform .2s}.content{overflow:hidden;cursor:default}.content-body.padding{padding:0 16px 16px}button[disabled]{pointer-events:none}button[disabled] .kirby-icon{color:var(--kirby-semi-dark)}button[disabled] .title{color:var(--kirby-text-color-semi-dark)}button{color:var(--kirby-black)}button[aria-expanded=true] .title{font-weight:700}button[aria-expanded=true] .kirby-icon{transform:rotate(180deg)}:host-context(kirby-accordion):not(:first-child){border-top:none}:host-context(kirby-card){border-color:var(--kirby-background-color)}:host-context(kirby-card):first-child{border-top:none}:host-context(kirby-card):last-child{border-bottom:none}\n"] }]
67
+ ], imports: [IconComponent], template: "<div class=\"content-layer\">\n <div [attr.aria-level]=\"headingLevel\" [attr.role]=\"headingLevel ? 'heading' : null\">\n <button\n type=\"button\"\n class=\"header\"\n [attr.aria-expanded]=\"isExpanded\"\n [attr.aria-controls]=\"_contentId\"\n [id]=\"_titleId\"\n [disabled]=\"isDisabled\"\n (click)=\"_onToggleExpanded($event)\"\n >\n <span class=\"state-layer\" aria-hidden=\"true\"></span>\n <div class=\"title\" [class.bold]=\"isExpanded\">{{ getTitle() }}</div>\n <kirby-icon name=\"arrow-down\"></kirby-icon>\n </button>\n </div>\n <div\n class=\"content\"\n role=\"region\"\n [attr.aria-labelledby]=\"_titleId\"\n [id]=\"_contentId\"\n [@isExpanded]=\"!!isExpanded\"\n >\n <div class=\"content-body\" [class.padding]=\"hasPadding\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: [":host{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}:host .content-layer{position:relative;z-index:var(--content-layer-z-index, 1)}:host .state-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}:host .state-layer:before{transition:all 80ms linear 0ms;content:\"\";position:absolute;pointer-events:none;inset:0;border-radius:inherit;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}:host{display:block;border-top:1px solid var(--kirby-medium);border-bottom:1px solid var(--kirby-medium);box-sizing:border-box}:host(.has-list){--kirby-item-background: transparent}@media (hover: hover) and (pointer: fine){.header{outline:0}.header:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){.header:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}.header:active,.header.interaction-state-active{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black)}.header{display:flex;align-items:center;gap:8px;height:56px;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;width:100%;border:none;outline:none;background:none;box-shadow:none;font-family:var(--kirby-font-family);text-align:start}.title{flex-grow:2;display:flex;font-size:16px}.kirby-icon{transition:transform .2s}.content{overflow:hidden;cursor:default}.content-body.padding{padding:0 16px 16px}button[disabled]{pointer-events:none}button[disabled] .kirby-icon{color:var(--kirby-semi-dark)}button[disabled] .title{color:var(--kirby-text-color-semi-dark)}button{color:var(--kirby-black)}button[aria-expanded=true] .title{font-weight:700}button[aria-expanded=true] .kirby-icon{transform:rotate(180deg)}:host-context(kirby-accordion):not(:first-child){border-top:none}:host-context(kirby-card){border-color:var(--kirby-background-color)}:host-context(kirby-card):first-child{border-top:none}:host-context(kirby-card):last-child{border-bottom:none}\n"] }]
69
68
  }], propDecorators: { hasList: [{
70
69
  type: HostBinding,
71
70
  args: ['class.has-list']
@@ -102,14 +101,13 @@ class AccordionDirective {
102
101
  }
103
102
  }
104
103
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AccordionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
105
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.2", type: AccordionDirective, isStandalone: false, selector: "[kirbyAccordion], kirby-accordion", inputs: { headingLevel: "headingLevel" }, queries: [{ propertyName: "accordionItems", predicate: AccordionItemComponent }], exportAs: ["kirby-accordion"], ngImport: i0 }); }
104
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.2", type: AccordionDirective, isStandalone: true, selector: "[kirbyAccordion], kirby-accordion", inputs: { headingLevel: "headingLevel" }, queries: [{ propertyName: "accordionItems", predicate: AccordionItemComponent }], exportAs: ["kirby-accordion"], ngImport: i0 }); }
106
105
  }
107
106
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AccordionDirective, decorators: [{
108
107
  type: Directive,
109
108
  args: [{
110
109
  selector: '[kirbyAccordion], kirby-accordion',
111
110
  exportAs: 'kirby-accordion',
112
- standalone: false,
113
111
  }]
114
112
  }], propDecorators: { headingLevel: [{
115
113
  type: Input
@@ -118,18 +116,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImpor
118
116
  args: [AccordionItemComponent]
119
117
  }] } });
120
118
 
121
- const declarations = [AccordionDirective, AccordionItemComponent];
119
+ const imports = [AccordionDirective, AccordionItemComponent];
122
120
  class AccordionModule {
123
121
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
124
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.2", ngImport: i0, type: AccordionModule, declarations: [AccordionDirective, AccordionItemComponent], imports: [IconModule], exports: [AccordionDirective, AccordionItemComponent] }); }
125
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AccordionModule, imports: [IconModule] }); }
122
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.2", ngImport: i0, type: AccordionModule, imports: [IconModule, AccordionDirective, AccordionItemComponent], exports: [AccordionDirective, AccordionItemComponent] }); }
123
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AccordionModule, imports: [IconModule, AccordionItemComponent] }); }
126
124
  }
127
125
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AccordionModule, decorators: [{
128
126
  type: NgModule,
129
127
  args: [{
130
- declarations: [...declarations],
131
- imports: [IconModule],
132
- exports: [...declarations],
128
+ imports: [IconModule, ...imports],
129
+ exports: [...imports],
133
130
  }]
134
131
  }] });
135
132
 
@@ -1 +1 @@
1
- {"version":3,"file":"kirbydesign-designsystem-accordion.mjs","sources":["../tmp-esm2022/accordion/accordion-item.component.js","../tmp-esm2022/accordion/accordion.directive.js","../tmp-esm2022/accordion/accordion.module.js","../tmp-esm2022/accordion/kirbydesign-designsystem-accordion.js"],"sourcesContent":["import { animate, state, style, transition, trigger } from '@angular/animations';\nimport { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, HostBinding, Input, Output, } from '@angular/core';\nimport { ListComponent } from '@kirbydesign/designsystem/list';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@kirbydesign/designsystem/icon\";\n// Counter for generating unique element ids\nlet uniqueId = 0;\nexport class AccordionItemComponent {\n constructor() {\n this.hasList = false;\n this.isExpanded = false;\n this.isDisabled = false;\n this.hasPadding = true;\n this.toggle = new EventEmitter();\n // IDs used for a11y labelling\n this._titleId = `kirby-accordion-item-title-${++uniqueId}`;\n this._contentId = `kirby-accordion-item-content-${uniqueId}`;\n }\n ngAfterContentInit() {\n if (this.listChildren.length > 0) {\n this.hasPadding = false;\n this.hasList = true;\n this.listChildren.forEach((child) => {\n child.shape = 'none';\n });\n }\n }\n ngOnChanges() {\n if (this.isDisabled) {\n this.isExpanded = false;\n }\n }\n getTitle() {\n if (this.isDisabled && !!this.disabledTitle) {\n return this.disabledTitle;\n }\n else {\n return this.title;\n }\n }\n _onToggleExpanded(event) {\n event.preventDefault();\n if (this.isDisabled)\n return;\n this.isExpanded = !this.isExpanded && !this.isDisabled;\n this.toggle.emit(this.isExpanded);\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.2\", type: AccordionItemComponent, isStandalone: false, selector: \"kirby-accordion-item\", inputs: { title: \"title\", isExpanded: \"isExpanded\", isDisabled: \"isDisabled\", disabledTitle: \"disabledTitle\", hasPadding: \"hasPadding\", headingLevel: \"headingLevel\" }, outputs: { toggle: \"toggle\" }, host: { properties: { \"class.has-list\": \"this.hasList\" } }, queries: [{ propertyName: \"listChildren\", predicate: ListComponent }], usesOnChanges: true, ngImport: i0, template: \"<div class=\\\"content-layer\\\">\\n <div [attr.aria-level]=\\\"headingLevel\\\" [attr.role]=\\\"headingLevel ? 'heading' : null\\\">\\n <button\\n type=\\\"button\\\"\\n class=\\\"header\\\"\\n [attr.aria-expanded]=\\\"isExpanded\\\"\\n [attr.aria-controls]=\\\"_contentId\\\"\\n [id]=\\\"_titleId\\\"\\n [disabled]=\\\"isDisabled\\\"\\n (click)=\\\"_onToggleExpanded($event)\\\"\\n >\\n <span class=\\\"state-layer\\\" aria-hidden=\\\"true\\\"></span>\\n <div class=\\\"title\\\" [class.bold]=\\\"isExpanded\\\">{{ getTitle() }}</div>\\n <kirby-icon name=\\\"arrow-down\\\"></kirby-icon>\\n </button>\\n </div>\\n <div\\n class=\\\"content\\\"\\n role=\\\"region\\\"\\n [attr.aria-labelledby]=\\\"_titleId\\\"\\n [id]=\\\"_contentId\\\"\\n [@isExpanded]=\\\"!!isExpanded\\\"\\n >\\n <div class=\\\"content-body\\\" [class.padding]=\\\"hasPadding\\\">\\n <ng-content></ng-content>\\n </div>\\n </div>\\n</div>\\n\", styles: [\":host{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}:host .content-layer{position:relative;z-index:var(--content-layer-z-index, 1)}:host .state-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}:host .state-layer:before{transition:all 80ms linear 0ms;content:\\\"\\\";position:absolute;pointer-events:none;inset:-50%;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}:host{display:block;border-top:1px solid var(--kirby-medium);border-bottom:1px solid var(--kirby-medium)}:host(.has-list){--kirby-item-background: transparent}@media (hover: hover) and (pointer: fine){.header{outline:0}.header:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){.header:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}.header:active,.header.interaction-state-active{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black)}.header{display:flex;align-items:center;gap:8px;padding:16px;-webkit-user-select:none;user-select:none;width:100%;border:none;outline:none;background:none;box-shadow:none;font-family:var(--kirby-font-family);text-align:start}.title{flex-grow:2;display:flex;font-size:1rem}.kirby-icon{transition:transform .2s}.content{overflow:hidden;cursor:default}.content-body.padding{padding:0 16px 16px}button[disabled]{pointer-events:none}button[disabled] .kirby-icon{color:var(--kirby-semi-dark)}button[disabled] .title{color:var(--kirby-text-color-semi-dark)}button{color:var(--kirby-black)}button[aria-expanded=true] .title{font-weight:700}button[aria-expanded=true] .kirby-icon{transform:rotate(180deg)}:host-context(kirby-accordion):not(:first-child){border-top:none}:host-context(kirby-card){border-color:var(--kirby-background-color)}:host-context(kirby-card):first-child{border-top:none}:host-context(kirby-card):last-child{border-bottom:none}\\n\"], dependencies: [{ kind: \"component\", type: i1.IconComponent, selector: \"kirby-icon\", inputs: [\"size\", \"name\"] }], animations: [\n trigger('isExpanded', [\n state('true', style({ height: '*', visibility: 'visible' })),\n state('false', style({ height: '0px', visibility: 'hidden' })),\n transition('true <=> false', animate('0.2s')),\n ]),\n ], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'kirby-accordion-item', changeDetection: ChangeDetectionStrategy.OnPush, animations: [\n trigger('isExpanded', [\n state('true', style({ height: '*', visibility: 'visible' })),\n state('false', style({ height: '0px', visibility: 'hidden' })),\n transition('true <=> false', animate('0.2s')),\n ]),\n ], standalone: false, template: \"<div class=\\\"content-layer\\\">\\n <div [attr.aria-level]=\\\"headingLevel\\\" [attr.role]=\\\"headingLevel ? 'heading' : null\\\">\\n <button\\n type=\\\"button\\\"\\n class=\\\"header\\\"\\n [attr.aria-expanded]=\\\"isExpanded\\\"\\n [attr.aria-controls]=\\\"_contentId\\\"\\n [id]=\\\"_titleId\\\"\\n [disabled]=\\\"isDisabled\\\"\\n (click)=\\\"_onToggleExpanded($event)\\\"\\n >\\n <span class=\\\"state-layer\\\" aria-hidden=\\\"true\\\"></span>\\n <div class=\\\"title\\\" [class.bold]=\\\"isExpanded\\\">{{ getTitle() }}</div>\\n <kirby-icon name=\\\"arrow-down\\\"></kirby-icon>\\n </button>\\n </div>\\n <div\\n class=\\\"content\\\"\\n role=\\\"region\\\"\\n [attr.aria-labelledby]=\\\"_titleId\\\"\\n [id]=\\\"_contentId\\\"\\n [@isExpanded]=\\\"!!isExpanded\\\"\\n >\\n <div class=\\\"content-body\\\" [class.padding]=\\\"hasPadding\\\">\\n <ng-content></ng-content>\\n </div>\\n </div>\\n</div>\\n\", styles: [\":host{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}:host .content-layer{position:relative;z-index:var(--content-layer-z-index, 1)}:host .state-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}:host .state-layer:before{transition:all 80ms linear 0ms;content:\\\"\\\";position:absolute;pointer-events:none;inset:-50%;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}:host{display:block;border-top:1px solid var(--kirby-medium);border-bottom:1px solid var(--kirby-medium)}:host(.has-list){--kirby-item-background: transparent}@media (hover: hover) and (pointer: fine){.header{outline:0}.header:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){.header:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}.header:active,.header.interaction-state-active{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black)}.header{display:flex;align-items:center;gap:8px;padding:16px;-webkit-user-select:none;user-select:none;width:100%;border:none;outline:none;background:none;box-shadow:none;font-family:var(--kirby-font-family);text-align:start}.title{flex-grow:2;display:flex;font-size:1rem}.kirby-icon{transition:transform .2s}.content{overflow:hidden;cursor:default}.content-body.padding{padding:0 16px 16px}button[disabled]{pointer-events:none}button[disabled] .kirby-icon{color:var(--kirby-semi-dark)}button[disabled] .title{color:var(--kirby-text-color-semi-dark)}button{color:var(--kirby-black)}button[aria-expanded=true] .title{font-weight:700}button[aria-expanded=true] .kirby-icon{transform:rotate(180deg)}:host-context(kirby-accordion):not(:first-child){border-top:none}:host-context(kirby-card){border-color:var(--kirby-background-color)}:host-context(kirby-card):first-child{border-top:none}:host-context(kirby-card):last-child{border-bottom:none}\\n\"] }]\n }], propDecorators: { hasList: [{\n type: HostBinding,\n args: ['class.has-list']\n }], title: [{\n type: Input\n }], isExpanded: [{\n type: Input\n }], isDisabled: [{\n type: Input\n }], disabledTitle: [{\n type: Input\n }], hasPadding: [{\n type: Input\n }], headingLevel: [{\n type: Input\n }], toggle: [{\n type: Output\n }], listChildren: [{\n type: ContentChildren,\n args: [ListComponent]\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vYWNjb3JkaW9uL3NyYy9hY2NvcmRpb24taXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi9hY2NvcmRpb24vc3JjL2FjY29yZGlvbi1pdGVtLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDakYsT0FBTyxFQUVMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsZUFBZSxFQUNmLFlBQVksRUFDWixXQUFXLEVBQ1gsS0F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GVkKCRldmVudClcIlxuICAgID5cbiAgICAgIDxzcGFuIGNsYXNzPVwic3RhdGUtbGF5ZXJcIiBhcmlhLWhpZGRlbj1cInRydWVcIj48L3NwYW4+XG4gICAgICA8ZGl2IGNsYXNzPVwidGl0bGVcIiBbY2xhc3MuYm9sZF09XCJpc0V4cGFuZGVkXCI+e3sgZ2V0VGl0bGUoKSB9fTwvZGl2PlxuICAgICAgPGtpcmJ5LWljb24gbmFtZT1cImFycm93LWRvd25cIj48L2tpcmJ5LWljb24+XG4gICAgPC9idXR0b24+XG4gIDwvZGl2PlxuICA8ZGl2XG4gICAgY2xhc3M9XCJjb250ZW50XCJcbiAgICByb2xlPVwicmVnaW9uXCJcbiAgICBbYXR0ci5hcmlhLWxhYmVsbGVkYnldPVwiX3RpdGxlSWRcIlxuICAgIFtpZF09XCJfY29udGVudElkXCJcbiAgICBbQGlzRXhwYW5kZWRdPVwiISFpc0V4cGFuZGVkXCJcbiAgPlxuICAgIDxkaXYgY2xhc3M9XCJjb250ZW50LWJvZHlcIiBbY2xhc3MucGFkZGluZ109XCJoYXNQYWRkaW5nXCI+XG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=","import { ContentChildren, Directive, Input } from '@angular/core';\nimport { startWith } from 'rxjs';\nimport { AccordionItemComponent } from './accordion-item.component';\nimport * as i0 from \"@angular/core\";\nexport class AccordionDirective {\n ngAfterContentInit() {\n this.accordionItems.changes.pipe(startWith(0)).subscribe(() => {\n this.setHeadingLevels();\n });\n }\n setHeadingLevels() {\n if (this.accordionItems.length > 0 && this.headingLevel) {\n this.accordionItems.forEach((child) => {\n child.headingLevel = this.headingLevel;\n });\n }\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"20.1.2\", type: AccordionDirective, isStandalone: false, selector: \"[kirbyAccordion], kirby-accordion\", inputs: { headingLevel: \"headingLevel\" }, queries: [{ propertyName: \"accordionItems\", predicate: AccordionItemComponent }], exportAs: [\"kirby-accordion\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[kirbyAccordion], kirby-accordion',\n exportAs: 'kirby-accordion',\n standalone: false,\n }]\n }], propDecorators: { headingLevel: [{\n type: Input\n }], accordionItems: [{\n type: ContentChildren,\n args: [AccordionItemComponent]\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2FjY29yZGlvbi9zcmMvYWNjb3JkaW9uLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQW9CLGVBQWUsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFhLE1BQU0sZUFBZSxDQUFDO0FBRS9GLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDakMsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7O0FBT3BFLE1BQU0sT0FBTyxrQkFBa0I7SUFJN0Isa0JBQWtCO1FBQ2hCLElBQUksQ0FBQyxjQUFjLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxTQUFTLENBQUMsR0FBRyxFQUFFO1lBQzVELElBQUksQ0FBQyxnQkFBZ0IsRUFBRSxDQUFDO1FBQz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c3RhbmRhbG9uZTogZmFsc2UsXG59KVxuZXhwb3J0IGNsYXNzIEFjY29yZGlvbkRpcmVjdGl2ZSBpbXBsZW1lbnRzIEFmdGVyQ29udGVudEluaXQge1xuICBASW5wdXQoKSBoZWFkaW5nTGV2ZWw6IDEgfCAyIHwgMyB8IDQgfCA1IHwgNjtcbiAgQENvbnRlbnRDaGlsZHJlbihBY2NvcmRpb25JdGVtQ29tcG9uZW50KSBhY2NvcmRpb25JdGVtczogUXVlcnlMaXN0PEFjY29yZGlvbkl0ZW1Db21wb25lbnQ+O1xuXG4gIG5nQWZ0ZXJDb250ZW50SW5pdCgpOiB2b2lkIHtcbiAgICB0aGlzLmFjY29yZGlvbkl0ZW1zLmNoYW5nZXMucGlwZShzdGFydFdpdGgoMCkpLnN1YnNjcmliZSgoKSA9PiB7XG4gICAgICB0aGlzLnNldEhlYWRpbmdMZXZlbHMoKTtcbiAgICB9KTtcbiAgfVxuXG4gIHByaXZhdGUgc2V0SGVhZGluZ0xldmVscygpOiB2b2lkIHtcbiAgICBpZiAodGhpcy5hY2NvcmRpb25JdGVtcy5sZW5ndGggPiAwICYmIHRoaXMuaGVhZGluZ0xldmVsKSB7XG4gICAgICB0aGlzLmFjY29yZGlvbkl0ZW1zLmZvckVhY2goKGNoaWxkKSA9PiB7XG4gICAgICAgIGNoaWxkLmhlYWRpbmdMZXZlbCA9IHRoaXMuaGVhZGluZ0xldmVsO1xuICAgICAgfSk7XG4gICAgfVxuICB9XG59XG4iXX0=","import { NgModule } from '@angular/core';\nimport { IconModule } from '@kirbydesign/designsystem/icon';\nimport { AccordionItemComponent } from './accordion-item.component';\nimport { AccordionDirective } from './accordion.directive';\nimport * as i0 from \"@angular/core\";\nconst declarations = [AccordionDirective, AccordionItemComponent];\nexport class AccordionModule {\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionModule, declarations: [AccordionDirective, AccordionItemComponent], imports: [IconModule], exports: [AccordionDirective, AccordionItemComponent] }); }\n /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionModule, imports: [IconModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [...declarations],\n imports: [IconModule],\n exports: [...declarations],\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2FjY29yZGlvbi9zcmMvYWNjb3JkaW9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUU1RCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNwRSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7QUFFM0QsTUFBTSxZQUFZLEdBQUcsQ0FBQyxrQkFBa0IsRUFBRSxzQkFBc0IsQ0FBQyxDQUFDO0FBT2xFLE1BQU0sT0FBTyxlQUFlO2lJQUFmLGVBQWU7a0lBQWYsZUFBZSxpQkFQTixrQkFBa0IsRUFBRSxzQkFBc0IsYUFJcEQsVUFBVSxhQUpBLGtCQUFrQixFQUFFLHNCQUFzQjtrSUFPbkQsZUFBZSxZQUhoQixVQUFVOzsyRkFHVCxlQUFlO2tCQUwzQixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLEdBQUcsWUFBWSxDQUFDO29CQUMvQixPQUFPLEVBQUUsQ0FBQyxVQUFVLENBQUM7b0JBQ3JCLE9BQU8sRUFBRSxDQUFDLEdBQUcsWUFBWSxDQUFDO2lCQUMzQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBJY29uTW9kdWxlIH0gZnJvbSAnQGtpcmJ5ZGVzaWduL2Rlc2lnbnN5c3RlbS9pY29uJztcblxuaW1wb3J0IHsgQWNjb3JkaW9uSXRlbUNvbXBvbmVudCB9IGZyb20gJy4vYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50JztcbmltcG9ydCB7IEFjY29yZGlvbkRpcmVjdGl2ZSB9IGZyb20gJy4vYWNjb3JkaW9uLmRpcmVjdGl2ZSc7XG5cbmNvbnN0IGRlY2xhcmF0aW9ucyA9IFtBY2NvcmRpb25EaXJlY3RpdmUsIEFjY29yZGlvbkl0ZW1Db21wb25lbnRdO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFsuLi5kZWNsYXJhdGlvbnNdLFxuICBpbXBvcnRzOiBbSWNvbk1vZHVsZV0sXG4gIGV4cG9ydHM6IFsuLi5kZWNsYXJhdGlvbnNdLFxufSlcbmV4cG9ydCBjbGFzcyBBY2NvcmRpb25Nb2R1bGUge31cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public_api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2lyYnlkZXNpZ24tZGVzaWduc3lzdGVtLWFjY29yZGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2FjY29yZGlvbi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,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,mBAAmB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;AAC5K;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC;AACzH,YAAY,IAAI,EAAE,QAAQ;AAC1B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,YAAY,EAAE,CAAC,GAAG,YAAY,CAAC;AACnD,oBAAoB,OAAO,EAAE,CAAC,UAAU,CAAC;AACzC,oBAAoB,OAAO,EAAE,CAAC,GAAG,YAAY,CAAC;AAC9C,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AClBb;AACA;AACA;;;;"}
1
+ {"version":3,"file":"kirbydesign-designsystem-accordion.mjs","sources":["../tmp-esm2022/accordion/accordion-item.component.js","../tmp-esm2022/accordion/accordion.directive.js","../tmp-esm2022/accordion/accordion.module.js","../tmp-esm2022/accordion/kirbydesign-designsystem-accordion.js"],"sourcesContent":["import { animate, state, style, transition, trigger } from '@angular/animations';\nimport { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, HostBinding, Input, Output, } from '@angular/core';\nimport { ListComponent } from '@kirbydesign/designsystem/list';\nimport { IconComponent } from '@kirbydesign/designsystem/icon';\nimport * as i0 from \"@angular/core\";\n// Counter for generating unique element ids\nlet uniqueId = 0;\nexport class AccordionItemComponent {\n constructor() {\n this.hasList = false;\n this.isExpanded = false;\n this.isDisabled = false;\n this.hasPadding = true;\n this.toggle = new EventEmitter();\n // IDs used for a11y labelling\n this._titleId = `kirby-accordion-item-title-${++uniqueId}`;\n this._contentId = `kirby-accordion-item-content-${uniqueId}`;\n }\n ngAfterContentInit() {\n if (this.listChildren.length > 0) {\n this.hasPadding = false;\n this.hasList = true;\n this.listChildren.forEach((child) => {\n child.shape = 'none';\n });\n }\n }\n ngOnChanges() {\n if (this.isDisabled) {\n this.isExpanded = false;\n }\n }\n getTitle() {\n if (this.isDisabled && !!this.disabledTitle) {\n return this.disabledTitle;\n }\n else {\n return this.title;\n }\n }\n _onToggleExpanded(event) {\n event.preventDefault();\n if (this.isDisabled)\n return;\n this.isExpanded = !this.isExpanded && !this.isDisabled;\n this.toggle.emit(this.isExpanded);\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.2\", type: AccordionItemComponent, isStandalone: true, selector: \"kirby-accordion-item\", inputs: { title: \"title\", isExpanded: \"isExpanded\", isDisabled: \"isDisabled\", disabledTitle: \"disabledTitle\", hasPadding: \"hasPadding\", headingLevel: \"headingLevel\" }, outputs: { toggle: \"toggle\" }, host: { properties: { \"class.has-list\": \"this.hasList\" } }, queries: [{ propertyName: \"listChildren\", predicate: ListComponent }], usesOnChanges: true, ngImport: i0, template: \"<div class=\\\"content-layer\\\">\\n <div [attr.aria-level]=\\\"headingLevel\\\" [attr.role]=\\\"headingLevel ? 'heading' : null\\\">\\n <button\\n type=\\\"button\\\"\\n class=\\\"header\\\"\\n [attr.aria-expanded]=\\\"isExpanded\\\"\\n [attr.aria-controls]=\\\"_contentId\\\"\\n [id]=\\\"_titleId\\\"\\n [disabled]=\\\"isDisabled\\\"\\n (click)=\\\"_onToggleExpanded($event)\\\"\\n >\\n <span class=\\\"state-layer\\\" aria-hidden=\\\"true\\\"></span>\\n <div class=\\\"title\\\" [class.bold]=\\\"isExpanded\\\">{{ getTitle() }}</div>\\n <kirby-icon name=\\\"arrow-down\\\"></kirby-icon>\\n </button>\\n </div>\\n <div\\n class=\\\"content\\\"\\n role=\\\"region\\\"\\n [attr.aria-labelledby]=\\\"_titleId\\\"\\n [id]=\\\"_contentId\\\"\\n [@isExpanded]=\\\"!!isExpanded\\\"\\n >\\n <div class=\\\"content-body\\\" [class.padding]=\\\"hasPadding\\\">\\n <ng-content></ng-content>\\n </div>\\n </div>\\n</div>\\n\", styles: [\":host{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}:host .content-layer{position:relative;z-index:var(--content-layer-z-index, 1)}:host .state-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}:host .state-layer:before{transition:all 80ms linear 0ms;content:\\\"\\\";position:absolute;pointer-events:none;inset:0;border-radius:inherit;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}:host{display:block;border-top:1px solid var(--kirby-medium);border-bottom:1px solid var(--kirby-medium);box-sizing:border-box}:host(.has-list){--kirby-item-background: transparent}@media (hover: hover) and (pointer: fine){.header{outline:0}.header:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){.header:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}.header:active,.header.interaction-state-active{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black)}.header{display:flex;align-items:center;gap:8px;height:56px;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;width:100%;border:none;outline:none;background:none;box-shadow:none;font-family:var(--kirby-font-family);text-align:start}.title{flex-grow:2;display:flex;font-size:16px}.kirby-icon{transition:transform .2s}.content{overflow:hidden;cursor:default}.content-body.padding{padding:0 16px 16px}button[disabled]{pointer-events:none}button[disabled] .kirby-icon{color:var(--kirby-semi-dark)}button[disabled] .title{color:var(--kirby-text-color-semi-dark)}button{color:var(--kirby-black)}button[aria-expanded=true] .title{font-weight:700}button[aria-expanded=true] .kirby-icon{transform:rotate(180deg)}:host-context(kirby-accordion):not(:first-child){border-top:none}:host-context(kirby-card){border-color:var(--kirby-background-color)}:host-context(kirby-card):first-child{border-top:none}:host-context(kirby-card):last-child{border-bottom:none}\\n\"], dependencies: [{ kind: \"component\", type: IconComponent, selector: \"kirby-icon\", inputs: [\"size\", \"name\"] }], animations: [\n trigger('isExpanded', [\n state('true', style({ height: '*', visibility: 'visible' })),\n state('false', style({ height: '0px', visibility: 'hidden' })),\n transition('true <=> false', animate('0.2s')),\n ]),\n ], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'kirby-accordion-item', changeDetection: ChangeDetectionStrategy.OnPush, animations: [\n trigger('isExpanded', [\n state('true', style({ height: '*', visibility: 'visible' })),\n state('false', style({ height: '0px', visibility: 'hidden' })),\n transition('true <=> false', animate('0.2s')),\n ]),\n ], imports: [IconComponent], template: \"<div class=\\\"content-layer\\\">\\n <div [attr.aria-level]=\\\"headingLevel\\\" [attr.role]=\\\"headingLevel ? 'heading' : null\\\">\\n <button\\n type=\\\"button\\\"\\n class=\\\"header\\\"\\n [attr.aria-expanded]=\\\"isExpanded\\\"\\n [attr.aria-controls]=\\\"_contentId\\\"\\n [id]=\\\"_titleId\\\"\\n [disabled]=\\\"isDisabled\\\"\\n (click)=\\\"_onToggleExpanded($event)\\\"\\n >\\n <span class=\\\"state-layer\\\" aria-hidden=\\\"true\\\"></span>\\n <div class=\\\"title\\\" [class.bold]=\\\"isExpanded\\\">{{ getTitle() }}</div>\\n <kirby-icon name=\\\"arrow-down\\\"></kirby-icon>\\n </button>\\n </div>\\n <div\\n class=\\\"content\\\"\\n role=\\\"region\\\"\\n [attr.aria-labelledby]=\\\"_titleId\\\"\\n [id]=\\\"_contentId\\\"\\n [@isExpanded]=\\\"!!isExpanded\\\"\\n >\\n <div class=\\\"content-body\\\" [class.padding]=\\\"hasPadding\\\">\\n <ng-content></ng-content>\\n </div>\\n </div>\\n</div>\\n\", styles: [\":host{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}:host .content-layer{position:relative;z-index:var(--content-layer-z-index, 1)}:host .state-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}:host .state-layer:before{transition:all 80ms linear 0ms;content:\\\"\\\";position:absolute;pointer-events:none;inset:0;border-radius:inherit;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}:host{display:block;border-top:1px solid var(--kirby-medium);border-bottom:1px solid var(--kirby-medium);box-sizing:border-box}:host(.has-list){--kirby-item-background: transparent}@media (hover: hover) and (pointer: fine){.header{outline:0}.header:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){.header:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}.header:active,.header.interaction-state-active{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black)}.header{display:flex;align-items:center;gap:8px;height:56px;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;width:100%;border:none;outline:none;background:none;box-shadow:none;font-family:var(--kirby-font-family);text-align:start}.title{flex-grow:2;display:flex;font-size:16px}.kirby-icon{transition:transform .2s}.content{overflow:hidden;cursor:default}.content-body.padding{padding:0 16px 16px}button[disabled]{pointer-events:none}button[disabled] .kirby-icon{color:var(--kirby-semi-dark)}button[disabled] .title{color:var(--kirby-text-color-semi-dark)}button{color:var(--kirby-black)}button[aria-expanded=true] .title{font-weight:700}button[aria-expanded=true] .kirby-icon{transform:rotate(180deg)}:host-context(kirby-accordion):not(:first-child){border-top:none}:host-context(kirby-card){border-color:var(--kirby-background-color)}:host-context(kirby-card):first-child{border-top:none}:host-context(kirby-card):last-child{border-bottom:none}\\n\"] }]\n }], propDecorators: { hasList: [{\n type: HostBinding,\n args: ['class.has-list']\n }], title: [{\n type: Input\n }], isExpanded: [{\n type: Input\n }], isDisabled: [{\n type: Input\n }], disabledTitle: [{\n type: Input\n }], hasPadding: [{\n type: Input\n }], headingLevel: [{\n type: Input\n }], toggle: [{\n type: Output\n }], listChildren: [{\n type: ContentChildren,\n args: [ListComponent]\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vYWNjb3JkaW9uL3NyYy9hY2NvcmRpb24taXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi9hY2NvcmRpb24vc3JjL2FjY29yZGlvbi1pdGVtLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDakYsT0FBTyxFQUVMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsZUFBZSxFQUNmLFlBQVksRUFDWixXQUFXLEVBQ1gsS0FBSyxFQUVMLE1BQU0sR0FFUCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDL0QsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGdDQUFnQyxDQUFDOztBQUUvRCw0Q0FBNEM7QUFDNUMsSUFBSSxRQUFRLEdBQUcsQ0FBQyxDQUFDO0FBZ0JqQixNQUFNLE9BQU8sc0JBQXNCO0lBZG5DO1FBZWlDLFlBQU8sR0FBWSxLQUFLLENBQUM7UUFFL0MsZUFBVSxHQUFZLEtBQUssQ0FBQztRQUM1QixlQUFVLEdBQVksS0FBSyxDQUFDO1FBRTVCLGVBQVUsR0F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e3sgZ2V0VGl0bGUoKSB9fTwvZGl2PlxuICAgICAgPGtpcmJ5LWljb24gbmFtZT1cImFycm93LWRvd25cIj48L2tpcmJ5LWljb24+XG4gICAgPC9idXR0b24+XG4gIDwvZGl2PlxuICA8ZGl2XG4gICAgY2xhc3M9XCJjb250ZW50XCJcbiAgICByb2xlPVwicmVnaW9uXCJcbiAgICBbYXR0ci5hcmlhLWxhYmVsbGVkYnldPVwiX3RpdGxlSWRcIlxuICAgIFtpZF09XCJfY29udGVudElkXCJcbiAgICBbQGlzRXhwYW5kZWRdPVwiISFpc0V4cGFuZGVkXCJcbiAgPlxuICAgIDxkaXYgY2xhc3M9XCJjb250ZW50LWJvZHlcIiBbY2xhc3MucGFkZGluZ109XCJoYXNQYWRkaW5nXCI+XG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=","import { ContentChildren, Directive, Input } from '@angular/core';\nimport { startWith } from 'rxjs';\nimport { AccordionItemComponent } from './accordion-item.component';\nimport * as i0 from \"@angular/core\";\nexport class AccordionDirective {\n ngAfterContentInit() {\n this.accordionItems.changes.pipe(startWith(0)).subscribe(() => {\n this.setHeadingLevels();\n });\n }\n setHeadingLevels() {\n if (this.accordionItems.length > 0 && this.headingLevel) {\n this.accordionItems.forEach((child) => {\n child.headingLevel = this.headingLevel;\n });\n }\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"20.1.2\", type: AccordionDirective, isStandalone: true, selector: \"[kirbyAccordion], kirby-accordion\", inputs: { headingLevel: \"headingLevel\" }, queries: [{ propertyName: \"accordionItems\", predicate: AccordionItemComponent }], exportAs: [\"kirby-accordion\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[kirbyAccordion], kirby-accordion',\n exportAs: 'kirby-accordion',\n }]\n }], propDecorators: { headingLevel: [{\n type: Input\n }], accordionItems: [{\n type: ContentChildren,\n args: [AccordionItemComponent]\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2FjY29yZGlvbi9zcmMvYWNjb3JkaW9uLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQW9CLGVBQWUsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFhLE1BQU0sZUFBZSxDQUFDO0FBRS9GLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDakMsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7O0FBTXBFLE1BQU0sT0FBTyxrQkFBa0I7SUFJN0Isa0JBQWtCO1FBQ2hCLElBQUksQ0FBQyxjQUFjLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxTQUFTLENBQUMsR0FBRyxFQUFFO1lBQzVELElBQUksQ0FBQyxnQkFBZ0IsRUFBRSxDQUFDO1FBQzFCLENBQUMsQ0FBQyxDQUFDO0lBQ0wsQ0FBQztJQUVPLGdCQUFnQjtRQUN0QixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsTUFBTSxHQUFHLENBQUMsSUFBSSxJQUFJLENBQUMsWUFBWSxFQUFFLENBQUM7WUFDeEQsSUFBSSxDQUFDLGNBQWMsQ0FBQ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kaW9uSXRlbXM6IFF1ZXJ5TGlzdDxBY2NvcmRpb25JdGVtQ29tcG9uZW50PjtcblxuICBuZ0FmdGVyQ29udGVudEluaXQoKTogdm9pZCB7XG4gICAgdGhpcy5hY2NvcmRpb25JdGVtcy5jaGFuZ2VzLnBpcGUoc3RhcnRXaXRoKDApKS5zdWJzY3JpYmUoKCkgPT4ge1xuICAgICAgdGhpcy5zZXRIZWFkaW5nTGV2ZWxzKCk7XG4gICAgfSk7XG4gIH1cblxuICBwcml2YXRlIHNldEhlYWRpbmdMZXZlbHMoKTogdm9pZCB7XG4gICAgaWYgKHRoaXMuYWNjb3JkaW9uSXRlbXMubGVuZ3RoID4gMCAmJiB0aGlzLmhlYWRpbmdMZXZlbCkge1xuICAgICAgdGhpcy5hY2NvcmRpb25JdGVtcy5mb3JFYWNoKChjaGlsZCkgPT4ge1xuICAgICAgICBjaGlsZC5oZWFkaW5nTGV2ZWwgPSB0aGlzLmhlYWRpbmdMZXZlbDtcbiAgICAgIH0pO1xuICAgIH1cbiAgfVxufVxuIl19","import { NgModule } from '@angular/core';\nimport { IconModule } from '@kirbydesign/designsystem/icon';\nimport { AccordionItemComponent } from './accordion-item.component';\nimport { AccordionDirective } from './accordion.directive';\nimport * as i0 from \"@angular/core\";\nconst imports = [AccordionDirective, AccordionItemComponent];\nexport class AccordionModule {\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionModule, imports: [IconModule, AccordionDirective, AccordionItemComponent], exports: [AccordionDirective, AccordionItemComponent] }); }\n /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionModule, imports: [IconModule, AccordionItemComponent] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AccordionModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [IconModule, ...imports],\n exports: [...imports],\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2FjY29yZGlvbi9zcmMvYWNjb3JkaW9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUU1RCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNwRSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7QUFFM0QsTUFBTSxPQUFPLEdBQUcsQ0FBQyxrQkFBa0IsRUFBRSxzQkFBc0IsQ0FBQyxDQUFDO0FBTTdELE1BQU0sT0FBTyxlQUFlO2lJQUFmLGVBQWU7a0lBQWYsZUFBZSxZQUhoQixVQUFVLEVBSEwsa0JBQWtCLEVBQUUsc0JBQXNCLGFBQTFDLGtCQUFrQixFQUFFLHNCQUFzQjtrSUFNOUMsZUFBZSxZQUhoQixVQUFVLEVBSGUsc0JBQXNCOzsyRkFNOUMsZUFBZTtrQkFKM0IsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUUsQ0FBQyxVQUFVLEVBQUUsR0FBRyxPQUFPLENBQUM7b0JBQ2pDLE9BQU8sRUFBRSxDQUFDLEdBQUcsT0FBTyxDQUFDO2lCQUN0QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBJY29uTW9kdWxlIH0gZnJvbSAnQGtpcmJ5ZGVzaWduL2Rlc2lnbnN5c3RlbS9pY29uJztcblxuaW1wb3J0IHsgQWNjb3JkaW9uSXRlbUNvbXBvbmVudCB9IGZyb20gJy4vYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50JztcbmltcG9ydCB7IEFjY29yZGlvbkRpcmVjdGl2ZSB9IGZyb20gJy4vYWNjb3JkaW9uLmRpcmVjdGl2ZSc7XG5cbmNvbnN0IGltcG9ydHMgPSBbQWNjb3JkaW9uRGlyZWN0aXZlLCBBY2NvcmRpb25JdGVtQ29tcG9uZW50XTtcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW0ljb25Nb2R1bGUsIC4uLmltcG9ydHNdLFxuICBleHBvcnRzOiBbLi4uaW1wb3J0c10sXG59KVxuZXhwb3J0IGNsYXNzIEFjY29yZGlvbk1vZHVsZSB7fVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public_api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2lyYnlkZXNpZ24tZGVzaWduc3lzdGVtLWFjY29yZGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2FjY29yZGlvbi9zcmMva2lyYnlkZXNpZ24tZGVzaWduc3lzdGVtLWFjY29yZGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuIl19"],"names":[],"mappings":";;;;;;;AAKA;AACA,IAAI,QAAQ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C1B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;AACrD,oBAAoB,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACzC,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;ACjBb;AACA;AACA;;;;"}
@@ -1,8 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, ElementRef, HostBinding, ViewChild, ContentChildren, Input, Optional, Inject, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { ButtonComponent } from '@kirbydesign/designsystem/button';
4
- import * as i1 from '@kirbydesign/designsystem/item';
5
- import { ItemModule } from '@kirbydesign/designsystem/item';
4
+ import { ItemComponent } from '@kirbydesign/designsystem/item';
6
5
  import { MenuComponent } from '@kirbydesign/designsystem/menu';
7
6
 
8
7
  const ACTIONGROUP_CONFIG = new InjectionToken('action-group.config');
@@ -94,11 +93,11 @@ class ActionGroupComponent {
94
93
  }));
95
94
  }
96
95
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: ActionGroupComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ACTIONGROUP_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
97
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.2", type: ActionGroupComponent, isStandalone: true, selector: "kirby-action-group", inputs: { visibleActions: "visibleActions", align: "align" }, host: { properties: { "class.is-collapsed": "this._isCollapsed", "class": "this._align" } }, queries: [{ propertyName: "buttonElements", predicate: ButtonComponent, read: ElementRef }, { propertyName: "buttons", predicate: ButtonComponent }], viewQueries: [{ propertyName: "hiddenLayer", first: true, predicate: ["hiddenLayer"], descendants: true, read: ElementRef, static: true }, { propertyName: "menuElement", first: true, predicate: MenuComponent, descendants: true, read: ElementRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-content select=\"button[kirby-button]\"></ng-content>\n\n<kirby-menu [placement]=\"'bottom-end'\">\n @for (action of _collapsedActions; track action.text) {\n <kirby-item\n [selectable]=\"true\"\n [disabled]=\"action.button?.disabled\"\n (click)=\"onActionSelect(action)\"\n >\n {{ action.text }}\n </kirby-item>\n }\n</kirby-menu>\n\n<div class=\"hidden-layer\" #hiddenLayer></div>\n", styles: [":host{display:flex;flex-wrap:wrap;position:relative;gap:8px}:host(.align-end){justify-content:flex-end}:host(.align-end) .hidden-layer{order:-1}@media (max-width: 767px){:host-context(kirby-header .actions.emphasize){justify-content:flex-start}}.hidden-layer{display:none;visibility:hidden}kirby-menu{display:none;z-index:1}:host(.is-collapsed) kirby-menu{display:inline-block}\n"], dependencies: [{ kind: "ngmodule", type: ItemModule }, { kind: "component", type: i1.ItemComponent, selector: "kirby-item", inputs: ["disabled", "selected", "disclosure", "selectable", "reorderable", "size", "href", "rotateIcon"] }, { kind: "component", type: MenuComponent, selector: "kirby-menu", inputs: ["isDisabled", "buttonSize", "placement", "attentionLevel", "triggers", "DOMPortalOutlet", "portalOutletConfig", "autoPlacement", "closeOnSelect", "closeOnEscapeKey", "closeOnBackdrop", "shift", "minWidth"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
96
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.2", type: ActionGroupComponent, isStandalone: true, selector: "kirby-action-group", inputs: { visibleActions: "visibleActions", align: "align" }, host: { properties: { "class.is-collapsed": "this._isCollapsed", "class": "this._align" } }, queries: [{ propertyName: "buttonElements", predicate: ButtonComponent, read: ElementRef }, { propertyName: "buttons", predicate: ButtonComponent }], viewQueries: [{ propertyName: "hiddenLayer", first: true, predicate: ["hiddenLayer"], descendants: true, read: ElementRef, static: true }, { propertyName: "menuElement", first: true, predicate: MenuComponent, descendants: true, read: ElementRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-content select=\"button[kirby-button]\"></ng-content>\n\n<kirby-menu [placement]=\"'bottom-end'\">\n @for (action of _collapsedActions; track action.text) {\n <kirby-item\n [selectable]=\"true\"\n [disabled]=\"action.button?.disabled\"\n (click)=\"onActionSelect(action)\"\n >\n {{ action.text }}\n </kirby-item>\n }\n</kirby-menu>\n\n<div class=\"hidden-layer\" #hiddenLayer></div>\n", styles: [":host{display:flex;position:relative;gap:8px}:host(.align-end){justify-content:flex-end}:host(.align-end) .hidden-layer{order:-1}.hidden-layer{display:none;visibility:hidden}kirby-menu{display:none;z-index:1}:host(.is-collapsed) kirby-menu{display:inline-block}\n"], dependencies: [{ kind: "component", type: ItemComponent, selector: "kirby-item", inputs: ["disabled", "selected", "disclosure", "selectable", "reorderable", "size", "href", "rotateIcon"] }, { kind: "component", type: MenuComponent, selector: "kirby-menu", inputs: ["isDisabled", "buttonSize", "placement", "attentionLevel", "triggers", "DOMPortalOutlet", "portalOutletConfig", "autoPlacement", "closeOnSelect", "closeOnEscapeKey", "closeOnBackdrop", "shift", "minWidth"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
98
97
  }
99
98
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: ActionGroupComponent, decorators: [{
100
99
  type: Component,
101
- args: [{ selector: 'kirby-action-group', imports: [ButtonComponent, ItemModule, MenuComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"button[kirby-button]\"></ng-content>\n\n<kirby-menu [placement]=\"'bottom-end'\">\n @for (action of _collapsedActions; track action.text) {\n <kirby-item\n [selectable]=\"true\"\n [disabled]=\"action.button?.disabled\"\n (click)=\"onActionSelect(action)\"\n >\n {{ action.text }}\n </kirby-item>\n }\n</kirby-menu>\n\n<div class=\"hidden-layer\" #hiddenLayer></div>\n", styles: [":host{display:flex;flex-wrap:wrap;position:relative;gap:8px}:host(.align-end){justify-content:flex-end}:host(.align-end) .hidden-layer{order:-1}@media (max-width: 767px){:host-context(kirby-header .actions.emphasize){justify-content:flex-start}}.hidden-layer{display:none;visibility:hidden}kirby-menu{display:none;z-index:1}:host(.is-collapsed) kirby-menu{display:inline-block}\n"] }]
100
+ args: [{ selector: 'kirby-action-group', imports: [ItemComponent, MenuComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"button[kirby-button]\"></ng-content>\n\n<kirby-menu [placement]=\"'bottom-end'\">\n @for (action of _collapsedActions; track action.text) {\n <kirby-item\n [selectable]=\"true\"\n [disabled]=\"action.button?.disabled\"\n (click)=\"onActionSelect(action)\"\n >\n {{ action.text }}\n </kirby-item>\n }\n</kirby-menu>\n\n<div class=\"hidden-layer\" #hiddenLayer></div>\n", styles: [":host{display:flex;position:relative;gap:8px}:host(.align-end){justify-content:flex-end}:host(.align-end) .hidden-layer{order:-1}.hidden-layer{display:none;visibility:hidden}kirby-menu{display:none;z-index:1}:host(.is-collapsed) kirby-menu{display:inline-block}\n"] }]
102
101
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
103
102
  type: Optional
104
103
  }, {