@kirbydesign/designsystem 10.3.1 → 10.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/README.md +7 -0
  2. package/calendar/calendar.component.d.ts.map +1 -1
  3. package/checkbox/checkbox.component.d.ts +5 -3
  4. package/checkbox/checkbox.component.d.ts.map +1 -1
  5. package/config/index.d.ts +6 -0
  6. package/config/kirbydesign-designsystem-config.d.ts.map +1 -0
  7. package/config/provide-kirby.d.ts +27 -0
  8. package/config/provide-kirby.d.ts.map +1 -0
  9. package/config/public_api.d.ts +2 -0
  10. package/config/public_api.d.ts.map +1 -0
  11. package/dropdown/dropdown.module.d.ts +2 -1
  12. package/dropdown/dropdown.module.d.ts.map +1 -1
  13. package/fesm2022/kirbydesign-designsystem-accordion.mjs +12 -12
  14. package/fesm2022/kirbydesign-designsystem-action-group.mjs +4 -4
  15. package/fesm2022/kirbydesign-designsystem-avatar.mjs +4 -4
  16. package/fesm2022/kirbydesign-designsystem-badge.mjs +4 -4
  17. package/fesm2022/kirbydesign-designsystem-button.mjs +4 -4
  18. package/fesm2022/kirbydesign-designsystem-calendar.mjs +8 -7
  19. package/fesm2022/kirbydesign-designsystem-calendar.mjs.map +1 -1
  20. package/fesm2022/kirbydesign-designsystem-card.mjs +18 -18
  21. package/fesm2022/kirbydesign-designsystem-card.mjs.map +1 -1
  22. package/fesm2022/kirbydesign-designsystem-chart.mjs +23 -23
  23. package/fesm2022/kirbydesign-designsystem-checkbox.mjs +13 -8
  24. package/fesm2022/kirbydesign-designsystem-checkbox.mjs.map +1 -1
  25. package/fesm2022/kirbydesign-designsystem-config.mjs +37 -0
  26. package/fesm2022/kirbydesign-designsystem-config.mjs.map +1 -0
  27. package/fesm2022/kirbydesign-designsystem-data-table.mjs +8 -8
  28. package/fesm2022/kirbydesign-designsystem-divider.mjs +4 -4
  29. package/fesm2022/kirbydesign-designsystem-dropdown.mjs +18 -15
  30. package/fesm2022/kirbydesign-designsystem-dropdown.mjs.map +1 -1
  31. package/fesm2022/kirbydesign-designsystem-empty-state.mjs +9 -9
  32. package/fesm2022/kirbydesign-designsystem-empty-state.mjs.map +1 -1
  33. package/fesm2022/kirbydesign-designsystem-fab-sheet.mjs +5 -5
  34. package/fesm2022/kirbydesign-designsystem-flag.mjs +4 -4
  35. package/fesm2022/kirbydesign-designsystem-form-field.mjs +143 -70
  36. package/fesm2022/kirbydesign-designsystem-form-field.mjs.map +1 -1
  37. package/fesm2022/kirbydesign-designsystem-header.mjs +21 -21
  38. package/fesm2022/kirbydesign-designsystem-header.mjs.map +1 -1
  39. package/fesm2022/kirbydesign-designsystem-helpers.mjs +9 -9
  40. package/fesm2022/kirbydesign-designsystem-icon.mjs +11 -12
  41. package/fesm2022/kirbydesign-designsystem-icon.mjs.map +1 -1
  42. package/fesm2022/kirbydesign-designsystem-item-group.mjs +4 -4
  43. package/fesm2022/kirbydesign-designsystem-item-sliding.mjs +4 -4
  44. package/fesm2022/kirbydesign-designsystem-item.mjs +11 -11
  45. package/fesm2022/kirbydesign-designsystem-kirby-app.mjs +8 -8
  46. package/fesm2022/kirbydesign-designsystem-list.mjs +41 -41
  47. package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs +7 -7
  48. package/fesm2022/kirbydesign-designsystem-menu.mjs +5 -5
  49. package/fesm2022/kirbydesign-designsystem-modal.mjs +45 -47
  50. package/fesm2022/kirbydesign-designsystem-modal.mjs.map +1 -1
  51. package/fesm2022/kirbydesign-designsystem-page.mjs +86 -47
  52. package/fesm2022/kirbydesign-designsystem-page.mjs.map +1 -1
  53. package/fesm2022/kirbydesign-designsystem-popover.mjs +4 -4
  54. package/fesm2022/kirbydesign-designsystem-progress-circle.mjs +7 -7
  55. package/fesm2022/kirbydesign-designsystem-radio.mjs +36 -18
  56. package/fesm2022/kirbydesign-designsystem-radio.mjs.map +1 -1
  57. package/fesm2022/kirbydesign-designsystem-range.mjs +4 -4
  58. package/fesm2022/kirbydesign-designsystem-reorder-list.mjs +4 -4
  59. package/fesm2022/kirbydesign-designsystem-router-outlet.mjs +8 -8
  60. package/fesm2022/kirbydesign-designsystem-section-header.mjs +4 -4
  61. package/fesm2022/kirbydesign-designsystem-shared-floating.mjs +4 -4
  62. package/fesm2022/kirbydesign-designsystem-shared-portal.mjs +4 -4
  63. package/fesm2022/kirbydesign-designsystem-shared.mjs +65 -23
  64. package/fesm2022/kirbydesign-designsystem-shared.mjs.map +1 -1
  65. package/fesm2022/kirbydesign-designsystem-slide-button.mjs +4 -4
  66. package/fesm2022/kirbydesign-designsystem-slide.mjs +14 -14
  67. package/fesm2022/kirbydesign-designsystem-spinner.mjs +8 -8
  68. package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs +11 -11
  69. package/fesm2022/kirbydesign-designsystem-tabs.mjs +14 -14
  70. package/fesm2022/kirbydesign-designsystem-testing-base.mjs +287 -287
  71. package/fesm2022/kirbydesign-designsystem-testing-jasmine.mjs +4 -4
  72. package/fesm2022/kirbydesign-designsystem-testing-jest.mjs +4 -4
  73. package/fesm2022/kirbydesign-designsystem-testing.mjs +4 -4
  74. package/fesm2022/kirbydesign-designsystem-toast.mjs +6 -6
  75. package/fesm2022/kirbydesign-designsystem-toggle-button.mjs +77 -9
  76. package/fesm2022/kirbydesign-designsystem-toggle-button.mjs.map +1 -1
  77. package/fesm2022/kirbydesign-designsystem-toggle.mjs +50 -19
  78. package/fesm2022/kirbydesign-designsystem-toggle.mjs.map +1 -1
  79. package/fesm2022/kirbydesign-designsystem-types.mjs +3 -3
  80. package/fesm2022/kirbydesign-designsystem.mjs +84 -26
  81. package/fesm2022/kirbydesign-designsystem.mjs.map +1 -1
  82. package/form-field/form-field.component.d.ts +21 -6
  83. package/form-field/form-field.component.d.ts.map +1 -1
  84. package/form-field/input/input.component.d.ts +11 -7
  85. package/form-field/input/input.component.d.ts.map +1 -1
  86. package/form-field/textarea/textarea.component.d.ts +8 -4
  87. package/form-field/textarea/textarea.component.d.ts.map +1 -1
  88. package/icon/kirby-icon-settings.d.ts.map +1 -1
  89. package/lib/components/segmented-control/segmented-control.component.d.ts +35 -1
  90. package/lib/components/segmented-control/segmented-control.component.d.ts.map +1 -1
  91. package/lib/index.d.ts +1 -1
  92. package/lib/index.d.ts.map +1 -1
  93. package/lib/kirby.module.d.ts +45 -48
  94. package/lib/kirby.module.d.ts.map +1 -1
  95. package/modal/modal/modal-component/modal.component.d.ts.map +1 -1
  96. package/package.json +40 -40
  97. package/page/page.component.d.ts +9 -2
  98. package/page/page.component.d.ts.map +1 -1
  99. package/radio/radio-group/radio-group.component.d.ts +13 -5
  100. package/radio/radio-group/radio-group.component.d.ts.map +1 -1
  101. package/readme.md +1 -1
  102. package/shared/controls/label-helpers.d.ts +13 -0
  103. package/shared/controls/label-helpers.d.ts.map +1 -1
  104. package/shared/fit-heading/fit-heading.directive.d.ts +1 -1
  105. package/shared/fit-heading/fit-heading.directive.d.ts.map +1 -1
  106. package/shared/translation/translation.interface.d.ts +1 -0
  107. package/shared/translation/translation.interface.d.ts.map +1 -1
  108. package/shared/translation/translation.service.d.ts.map +1 -1
  109. package/shared/translation/translations/da.d.ts.map +1 -1
  110. package/shared/translation/translations/de.d.ts +3 -0
  111. package/shared/translation/translations/de.d.ts.map +1 -0
  112. package/shared/translation/translations/en.d.ts.map +1 -1
  113. package/toggle/toggle.component.d.ts +13 -6
  114. package/toggle/toggle.component.d.ts.map +1 -1
  115. package/toggle-button/toggle-button.component.d.ts +35 -1
  116. package/toggle-button/toggle-button.component.d.ts.map +1 -1
  117. package/types/form-field-control.d.ts +6 -0
  118. package/types/form-field-control.d.ts.map +1 -0
  119. package/types/public_api.d.ts +1 -0
  120. package/types/public_api.d.ts.map +1 -1
  121. package/fesm2022/kirbydesign-designsystem-kirby-ionic-module.mjs +0 -30
  122. package/fesm2022/kirbydesign-designsystem-kirby-ionic-module.mjs.map +0 -1
  123. package/kirby-ionic-module/index.d.ts +0 -6
  124. package/kirby-ionic-module/kirby-ionic.module.d.ts +0 -7
  125. package/kirby-ionic-module/kirby-ionic.module.d.ts.map +0 -1
  126. package/kirby-ionic-module/kirbydesign-designsystem-kirby-ionic-module.d.ts.map +0 -1
  127. package/kirby-ionic-module/public_api.d.ts +0 -2
  128. package/kirby-ionic-module/public_api.d.ts.map +0 -1
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
2
3
  import { SegmentItem } from './segment-item';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare enum SegmentedControlMode {
@@ -6,7 +7,7 @@ export declare enum SegmentedControlMode {
6
7
  compactChip = "compactChip",
7
8
  default = "default"
8
9
  }
9
- export declare class SegmentedControlComponent<TItem extends SegmentItem = SegmentItem> {
10
+ export declare class SegmentedControlComponent<TItem extends SegmentItem = SegmentItem> implements ControlValueAccessor {
10
11
  private ionSegmentElement;
11
12
  /**
12
13
  * Ensure that the click actually did originate from within the segment-button.
@@ -18,6 +19,7 @@ export declare class SegmentedControlComponent<TItem extends SegmentItem = Segme
18
19
  private _items;
19
20
  get items(): TItem[];
20
21
  set items(value: TItem[]);
22
+ protected isDisabled: boolean;
21
23
  /**
22
24
  * After upgrading to Ionic standalone components (Ionic v.7.6.6)
23
25
  * there is a lifecycle bug between Angular/Ionic/Stencil that prevents
@@ -46,6 +48,38 @@ export declare class SegmentedControlComponent<TItem extends SegmentItem = Segme
46
48
  private _segmentElementHasFocus;
47
49
  getTabIndex(item: TItem, index: number): number;
48
50
  _onFocusInOut(): void;
51
+ private onChange;
52
+ private onTouched;
53
+ /**
54
+ * Sets the segmented control's value. Part of the ControlValueAccessor interface
55
+ * required to integrate with Angular's core forms API.
56
+ *
57
+ * @param value New value to be written to the model.
58
+ */
59
+ writeValue(value: NoInfer<TItem>): void;
60
+ /**
61
+ * Saves a callback function to be invoked when the segmented control's value
62
+ * changes from user input. Part of the ControlValueAccessor interface
63
+ * required to integrate with Angular's core forms API.
64
+ *
65
+ * @param fn Callback to be triggered when the value changes.
66
+ */
67
+ registerOnChange(fn: (value: NoInfer<TItem>) => void): void;
68
+ /**
69
+ * Saves a callback function to be invoked when the segmented control is blurred
70
+ * by the user. Part of the ControlValueAccessor interface required
71
+ * to integrate with Angular's core forms API.
72
+ *
73
+ * @param fn Callback to be triggered when the component has been touched.
74
+ */
75
+ registerOnTouched(fn: () => void): void;
76
+ /**
77
+ * Disables the segmented control. Part of the ControlValueAccessor interface required
78
+ * to integrate with Angular's core forms API.
79
+ *
80
+ * @param isDisabled Sets whether the component is disabled.
81
+ */
82
+ setDisabledState(isDisabled: boolean): void;
49
83
  static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedControlComponent<any>, never>;
50
84
  static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedControlComponent<any>, "kirby-segmented-control", never, { "mode": { "alias": "mode"; "required": false; }; "items": { "alias": "items"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disableChangeOnSwipe": { "alias": "disableChangeOnSwipe"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; "segmentSelect": "segmentSelect"; }, never, never, true, never>;
51
85
  }
@@ -1 +1 @@
1
- {"version":3,"file":"segmented-control.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/segmented-control/segmented-control.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EAMb,MAAM,eAAe,CAAC;AAMvB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;;AAE7C,oBAAY,oBAAoB;IAC9B,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,OAAO,YAAY;CACpB;AAED,qBAOa,yBAAyB,CAAC,KAAK,SAAS,WAAW,GAAG,WAAW;IAE5E,OAAO,CAAC,iBAAiB,CAAoC;IAE7D;;;OAGG;IACH,mBAAmB,CAAC,KAAK,EAAE,UAAU;IAS5B,IAAI,EAAE,oBAAoB,GAAG,GAAG,oBAAoB,EAAE,CAAgC;IAE/F,IACI,aAAa,WAMhB;IAED,OAAO,CAAC,MAAM,CAAe;IAC7B,IAAI,KAAK,IAAI,KAAK,EAAE,CAEnB;IAED,IAAa,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,EAIhC;IAED;;;;;;;;OAQG;IACH,OAAO,CAAC,wBAAwB;IAgBhC,OAAO,CAAC,cAAc,CAAc;IACpC,IAAI,aAAa,IAAI,MAAM,CAE1B;IAED,IAAa,aAAa,CAAC,KAAK,EAAE,MAAM,EAMvC;IAES,mBAAmB,uBAA8B;IAE3D,OAAO,CAAC,MAAM,CAAiB;IAC/B,IAAI,KAAK,IAAI,OAAO,CAAC,KAAK,CAAC,CAE1B;IAED,IAAa,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,EAEvC;IAGD,WAAW,EAAE,OAAO,CAAC;IAErB,IAAa,IAAI,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,EAElC;IAED,OAAO,CAAC,qBAAqB,CAAkB;IAC/C,IAAI,oBAAoB,IAAI,OAAO,CAElC;IAED,IAAa,oBAAoB,CAAC,KAAK,EAAE,OAAO,EAE/C;IAES,aAAa,sBAA6B;IAEpD,eAAe,CAAC,UAAU,EAAE,MAAM;IAWlC,iBAAiB,CAAC,KAAK,EAAE,OAAO;IAIhC,OAAO,CAAC,uBAAuB,CAAS;IAExC,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM;IAatC,aAAa;yCAxIF,yBAAyB;2CAAzB,yBAAyB;CA4IrC"}
1
+ {"version":3,"file":"segmented-control.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/segmented-control/segmented-control.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EAOb,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AAIzE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;;AAE7C,oBAA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aAAa;IAUb,OAAO,CAAC,QAAQ,CAA6C;IAE7D,OAAO,CAAC,SAAS,CAAwB;IACzC;;;;;OAKG;IACH,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI;IAMvC;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,GAAG,IAAI;IAI3D;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC;;;;;OAKG;IACH,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;yCAnMhC,yBAAyB;2CAAzB,yBAAyB;CAsMrC"}
package/lib/index.d.ts CHANGED
@@ -6,6 +6,7 @@ export * from '@kirbydesign/designsystem/button';
6
6
  export * from '@kirbydesign/designsystem/calendar';
7
7
  export * from '@kirbydesign/designsystem/card';
8
8
  export * from '@kirbydesign/designsystem/checkbox';
9
+ export * from '@kirbydesign/designsystem/config';
9
10
  export * from '@kirbydesign/designsystem/data-table';
10
11
  export * from '@kirbydesign/designsystem/divider';
11
12
  export * from '@kirbydesign/designsystem/dropdown';
@@ -20,7 +21,6 @@ export * from '@kirbydesign/designsystem/item';
20
21
  export * from '@kirbydesign/designsystem/item-group';
21
22
  export * from '@kirbydesign/designsystem/item-sliding';
22
23
  export * from '@kirbydesign/designsystem/kirby-app';
23
- export * from '@kirbydesign/designsystem/kirby-ionic-module';
24
24
  export * from '@kirbydesign/designsystem/list';
25
25
  export * from '@kirbydesign/designsystem/loading-overlay';
26
26
  export * from '@kirbydesign/designsystem/modal';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAE7B,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,C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wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,62 +1,59 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
+ import { KirbyConfig } from '@kirbydesign/designsystem/config';
2
3
  import { ModalController } from '@kirbydesign/designsystem/modal';
3
4
  import * as i0 from "@angular/core";
4
5
  import * as i1 from "./directives/modal-router-link/modal-router-link.directive";
5
6
  import * as i2 from "./directives/key-handler/key-handler.directive";
6
7
  import * as i3 from "@angular/common";
7
8
  import * as i4 from "@angular/router";
8
- import * as i5 from "@kirbydesign/designsystem/kirby-ionic-module";
9
- import * as i6 from "@kirbydesign/designsystem/kirby-app";
10
- import * as i7 from "@kirbydesign/designsystem/router-outlet";
11
- import * as i8 from "@kirbydesign/designsystem/page";
12
- import * as i9 from "@kirbydesign/designsystem/header";
13
- import * as i10 from "@kirbydesign/designsystem/tab-navigation";
14
- import * as i11 from "@kirbydesign/designsystem/tabs";
15
- import * as i12 from "@kirbydesign/designsystem/icon";
16
- import * as i13 from "@kirbydesign/designsystem/item";
17
- import * as i14 from "@kirbydesign/designsystem/toggle-button";
18
- import * as i15 from "@kirbydesign/designsystem/list";
19
- import * as i16 from "@kirbydesign/designsystem/chart";
20
- import * as i17 from "@kirbydesign/designsystem/spinner";
21
- import * as i18 from "@kirbydesign/designsystem/card";
22
- import * as i19 from "@kirbydesign/designsystem/radio";
23
- import * as i20 from "@kirbydesign/designsystem/empty-state";
24
- import * as i21 from "@kirbydesign/designsystem/dropdown";
25
- import * as i22 from "@kirbydesign/designsystem/form-field";
26
- import * as i23 from "@kirbydesign/designsystem/slide";
27
- import * as i24 from "@kirbydesign/designsystem/accordion";
28
- import * as i25 from "@kirbydesign/designsystem/action-group";
29
- import * as i26 from "@kirbydesign/designsystem/item-group";
30
- import * as i27 from "@kirbydesign/designsystem/modal";
31
- import * as i28 from "@kirbydesign/designsystem/divider";
32
- import * as i29 from "@kirbydesign/designsystem/shared";
33
- import * as i30 from "./components/segmented-control/segmented-control.component";
34
- import * as i31 from "@kirbydesign/designsystem/popover";
35
- import * as i32 from "@kirbydesign/designsystem/progress-circle";
36
- import * as i33 from "@kirbydesign/designsystem/section-header";
37
- import * as i34 from "@kirbydesign/designsystem/range";
38
- import * as i35 from "@kirbydesign/designsystem/item-sliding";
39
- import * as i36 from "@kirbydesign/designsystem/reorder-list";
40
- import * as i37 from "@kirbydesign/designsystem/loading-overlay";
41
- import * as i38 from "@kirbydesign/designsystem/fab-sheet";
42
- import * as i39 from "@kirbydesign/designsystem/toggle";
43
- import * as i40 from "@kirbydesign/designsystem/slide-button";
44
- import * as i41 from "@kirbydesign/designsystem/checkbox";
45
- import * as i42 from "@kirbydesign/designsystem/menu";
46
- import * as i43 from "@kirbydesign/designsystem/avatar";
47
- import * as i44 from "@kirbydesign/designsystem/calendar";
48
- import * as i45 from "@kirbydesign/designsystem/button";
49
- import * as i46 from "@kirbydesign/designsystem/flag";
50
- import * as i47 from "@kirbydesign/designsystem/badge";
51
- import * as i48 from "@kirbydesign/designsystem/data-table";
52
- export interface KirbyConfig {
53
- moduleRootRoutePath?: string;
54
- }
9
+ import * as i5 from "@kirbydesign/designsystem/kirby-app";
10
+ import * as i6 from "@kirbydesign/designsystem/router-outlet";
11
+ import * as i7 from "@kirbydesign/designsystem/page";
12
+ import * as i8 from "@kirbydesign/designsystem/header";
13
+ import * as i9 from "@kirbydesign/designsystem/tab-navigation";
14
+ import * as i10 from "@kirbydesign/designsystem/tabs";
15
+ import * as i11 from "@kirbydesign/designsystem/icon";
16
+ import * as i12 from "@kirbydesign/designsystem/item";
17
+ import * as i13 from "@kirbydesign/designsystem/toggle-button";
18
+ import * as i14 from "@kirbydesign/designsystem/list";
19
+ import * as i15 from "@kirbydesign/designsystem/chart";
20
+ import * as i16 from "@kirbydesign/designsystem/spinner";
21
+ import * as i17 from "@kirbydesign/designsystem/card";
22
+ import * as i18 from "@kirbydesign/designsystem/radio";
23
+ import * as i19 from "@kirbydesign/designsystem/empty-state";
24
+ import * as i20 from "@kirbydesign/designsystem/dropdown";
25
+ import * as i21 from "@kirbydesign/designsystem/form-field";
26
+ import * as i22 from "@kirbydesign/designsystem/slide";
27
+ import * as i23 from "@kirbydesign/designsystem/accordion";
28
+ import * as i24 from "@kirbydesign/designsystem/action-group";
29
+ import * as i25 from "@kirbydesign/designsystem/item-group";
30
+ import * as i26 from "@kirbydesign/designsystem/modal";
31
+ import * as i27 from "@kirbydesign/designsystem/divider";
32
+ import * as i28 from "@kirbydesign/designsystem/shared";
33
+ import * as i29 from "./components/segmented-control/segmented-control.component";
34
+ import * as i30 from "@kirbydesign/designsystem/popover";
35
+ import * as i31 from "@kirbydesign/designsystem/progress-circle";
36
+ import * as i32 from "@kirbydesign/designsystem/section-header";
37
+ import * as i33 from "@kirbydesign/designsystem/range";
38
+ import * as i34 from "@kirbydesign/designsystem/item-sliding";
39
+ import * as i35 from "@kirbydesign/designsystem/reorder-list";
40
+ import * as i36 from "@kirbydesign/designsystem/loading-overlay";
41
+ import * as i37 from "@kirbydesign/designsystem/fab-sheet";
42
+ import * as i38 from "@kirbydesign/designsystem/toggle";
43
+ import * as i39 from "@kirbydesign/designsystem/slide-button";
44
+ import * as i40 from "@kirbydesign/designsystem/checkbox";
45
+ import * as i41 from "@kirbydesign/designsystem/menu";
46
+ import * as i42 from "@kirbydesign/designsystem/avatar";
47
+ import * as i43 from "@kirbydesign/designsystem/calendar";
48
+ import * as i44 from "@kirbydesign/designsystem/button";
49
+ import * as i45 from "@kirbydesign/designsystem/flag";
50
+ import * as i46 from "@kirbydesign/designsystem/badge";
51
+ import * as i47 from "@kirbydesign/designsystem/data-table";
55
52
  export declare class KirbyModule {
56
53
  static forChild(config?: KirbyConfig): ModuleWithProviders<KirbyModule>;
57
54
  constructor(modalController: ModalController, config?: KirbyConfig);
58
55
  static ɵfac: i0.ɵɵFactoryDeclaration<KirbyModule, [null, { optional: true; }]>;
59
- static ɵmod: i0.ɵɵNgModuleDeclaration<KirbyModule, [typeof i1.ModalRouterLinkDirective, typeof i2.KeyHandlerDirective], [typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.KirbyIonicModule, typeof i6.KirbyAppModule, typeof i7.RouterOutletModule, typeof i8.PageModule, typeof i9.HeaderModule, typeof i10.TabNavigationModule, typeof i11.TabsModule, typeof i12.IconModule, typeof i13.ItemModule, typeof i14.ToggleButtonModule, typeof i15.ListModule, typeof i16.ChartsModule, typeof i17.SpinnerModule, typeof i18.CardModule, typeof i19.RadioModule, typeof i20.EmptyStateModule, typeof i21.DropdownModule, typeof i22.FormFieldModule, typeof i23.SlideModule, typeof i24.AccordionModule, typeof i9.HeaderModule, typeof i25.ActionGroupComponent, typeof i26.ItemGroupComponent, typeof i27.ModalCompactWrapperComponent, typeof i22.TextareaComponent, typeof i22.InputComponent, typeof i22.AffixDirective, typeof i28.DividerComponent, typeof i29.ThemeColorDirective, typeof i30.SegmentedControlComponent, typeof i27.AlertComponent, typeof i31.PopoverComponent, typeof i32.ProgressCircleRingComponent, typeof i27.ModalWrapperComponent, typeof i33.SectionHeaderComponent, typeof i34.RangeComponent, typeof i35.ItemSlidingComponent, typeof i32.ProgressCircleComponent, typeof i36.ReorderListComponent, typeof i37.LoadingOverlayComponent, typeof i38.FabSheetComponent, typeof i39.ToggleComponent, typeof i40.SlideButtonComponent, typeof i30.SegmentedControlComponent, typeof i41.CheckboxComponent, typeof i42.MenuComponent, typeof i27.ActionSheetComponent, typeof i27.ModalFooterComponent, typeof i43.AvatarComponent, typeof i44.CalendarComponent, typeof i45.ButtonComponent, typeof i29.ComponentLoaderDirective, typeof i46.FlagComponent, typeof i47.BadgeComponent, typeof i27.ModalComponent, typeof i48.TableSortableComponent], [typeof i6.KirbyAppModule, typeof i7.RouterOutletModule, typeof i8.PageModule, typeof i9.HeaderModule, typeof i10.TabNavigationModule, typeof i11.TabsModule, typeof i12.IconModule, typeof i13.ItemModule, typeof i14.ToggleButtonModule, typeof i15.ListModule, typeof i16.ChartsModule, typeof i17.SpinnerModule, typeof i18.CardModule, typeof i19.RadioModule, typeof i20.EmptyStateModule, typeof i21.DropdownModule, typeof i22.FormFieldModule, typeof i23.SlideModule, typeof i24.AccordionModule, typeof i9.HeaderModule, typeof i25.ActionGroupComponent, typeof i26.ItemGroupComponent, typeof i27.ModalCompactWrapperComponent, typeof i22.TextareaComponent, typeof i22.InputComponent, typeof i22.AffixDirective, typeof i28.DividerComponent, typeof i29.ThemeColorDirective, typeof i30.SegmentedControlComponent, typeof i27.AlertComponent, typeof i31.PopoverComponent, typeof i32.ProgressCircleRingComponent, typeof i27.ModalWrapperComponent, typeof i33.SectionHeaderComponent, typeof i34.RangeComponent, typeof i35.ItemSlidingComponent, typeof i32.ProgressCircleComponent, typeof i36.ReorderListComponent, typeof i37.LoadingOverlayComponent, typeof i38.FabSheetComponent, typeof i39.ToggleComponent, typeof i40.SlideButtonComponent, typeof i30.SegmentedControlComponent, typeof i41.CheckboxComponent, typeof i42.MenuComponent, typeof i27.ActionSheetComponent, typeof i27.ModalFooterComponent, typeof i43.AvatarComponent, typeof i44.CalendarComponent, typeof i45.ButtonComponent, typeof i29.ComponentLoaderDirective, typeof i46.FlagComponent, typeof i47.BadgeComponent, typeof i27.ModalComponent, typeof i48.TableSortableComponent, typeof i1.ModalRouterLinkDirective]>;
56
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KirbyModule, [typeof i1.ModalRouterLinkDirective, typeof i2.KeyHandlerDirective], [typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.KirbyAppModule, typeof i6.RouterOutletModule, typeof i7.PageModule, typeof i8.HeaderModule, typeof i9.TabNavigationModule, typeof i10.TabsModule, typeof i11.IconModule, typeof i12.ItemModule, typeof i13.ToggleButtonModule, typeof i14.ListModule, typeof i15.ChartsModule, typeof i16.SpinnerModule, typeof i17.CardModule, typeof i18.RadioModule, typeof i19.EmptyStateModule, typeof i20.DropdownModule, typeof i21.FormFieldModule, typeof i22.SlideModule, typeof i23.AccordionModule, typeof i8.HeaderModule, typeof i24.ActionGroupComponent, typeof i25.ItemGroupComponent, typeof i26.ModalCompactWrapperComponent, typeof i21.TextareaComponent, typeof i21.InputComponent, typeof i21.AffixDirective, typeof i27.DividerComponent, typeof i28.ThemeColorDirective, typeof i29.SegmentedControlComponent, typeof i26.AlertComponent, typeof i30.PopoverComponent, typeof i31.ProgressCircleRingComponent, typeof i26.ModalWrapperComponent, typeof i32.SectionHeaderComponent, typeof i33.RangeComponent, typeof i34.ItemSlidingComponent, typeof i31.ProgressCircleComponent, typeof i35.ReorderListComponent, typeof i36.LoadingOverlayComponent, typeof i37.FabSheetComponent, typeof i38.ToggleComponent, typeof i39.SlideButtonComponent, typeof i29.SegmentedControlComponent, typeof i40.CheckboxComponent, typeof i41.MenuComponent, typeof i26.ActionSheetComponent, typeof i26.ModalFooterComponent, typeof i42.AvatarComponent, typeof i43.CalendarComponent, typeof i44.ButtonComponent, typeof i28.ComponentLoaderDirective, typeof i45.FlagComponent, typeof i46.BadgeComponent, typeof i26.ModalComponent, typeof i47.TableSortableComponent], [typeof i5.KirbyAppModule, typeof i6.RouterOutletModule, typeof i7.PageModule, typeof i8.HeaderModule, typeof i9.TabNavigationModule, typeof i10.TabsModule, typeof i11.IconModule, typeof i12.ItemModule, typeof i13.ToggleButtonModule, typeof i14.ListModule, typeof i15.ChartsModule, typeof i16.SpinnerModule, typeof i17.CardModule, typeof i18.RadioModule, typeof i19.EmptyStateModule, typeof i20.DropdownModule, typeof i21.FormFieldModule, typeof i22.SlideModule, typeof i23.AccordionModule, typeof i8.HeaderModule, typeof i24.ActionGroupComponent, typeof i25.ItemGroupComponent, typeof i26.ModalCompactWrapperComponent, typeof i21.TextareaComponent, typeof i21.InputComponent, typeof i21.AffixDirective, typeof i27.DividerComponent, typeof i28.ThemeColorDirective, typeof i29.SegmentedControlComponent, typeof i26.AlertComponent, typeof i30.PopoverComponent, typeof i31.ProgressCircleRingComponent, typeof i26.ModalWrapperComponent, typeof i32.SectionHeaderComponent, typeof i33.RangeComponent, typeof i34.ItemSlidingComponent, typeof i31.ProgressCircleComponent, typeof i35.ReorderListComponent, typeof i36.LoadingOverlayComponent, typeof i37.FabSheetComponent, typeof i38.ToggleComponent, typeof i39.SlideButtonComponent, typeof i29.SegmentedControlComponent, typeof i40.CheckboxComponent, typeof i41.MenuComponent, typeof i26.ActionSheetComponent, typeof i26.ModalFooterComponent, typeof i42.AvatarComponent, typeof i43.CalendarComponent, typeof i44.ButtonComponent, typeof i28.ComponentLoaderDirective, typeof i45.FlagComponent, typeof i46.BadgeComponent, typeof i26.ModalComponent, typeof i47.TableSortableComponent, typeof i1.ModalRouterLinkDirective]>;
60
57
  static ɵinj: i0.ɵɵInjectorDeclaration<KirbyModule>;
61
58
  }
62
59
  //# sourceMappingURL=kirby.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kirby.module.d.ts","sourceRoot":"","sources":["../../src/lib/kirby.module.ts"],"names":[],"mappings":"AACA,OAAO,EAA0B,mBAAmB,EAAsB,MAAM,eAAe,CAAC;AAiDhG,OAAO,EAOL,eAAe,EAIhB,MAAM,iCAAiC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwGzC,MAAM,WAAW,WAAW;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,qBAMa,WAAW;IACtB,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,mBAAmB,CAAC,WAAW,CAAC;gBAarE,eAAe,EAAE,eAAe,EACC,MAAM,CAAC,EAAE,WAAW;yCAf5C,WAAW;0CAAX,WAAW;0CAAX,WAAW;CAmBvB"}
1
+ {"version":3,"file":"kirby.module.d.ts","sourceRoot":"","sources":["../../src/lib/kirby.module.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,mBAAmB,EAAsB,MAAM,eAAe,CAAC;AAKhF,OAAO,EAAgB,WAAW,EAAE,MAAM,kCAAkC,CAAC;AA4C7E,OAAO,EAOL,eAAe,EAIhB,MAAM,iCAAiC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyGzC,qBAMa,WAAW;IACtB,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,mBAAmB,CAAC,WAAW,CAAC;gBAQrE,eAAe,EAAE,eAAe,EACE,MAAM,CAAC,EAAE,WAAW;yCAV7C,WAAW;0CAAX,WAAW;0CAAX,WAAW;CAcvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"modal.component.d.ts","sourceRoot":"","sources":["../../../../modal/src/modal/modal-component/modal.component.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,MAAM,EAEN,aAAa,EACb,WAAW,EAEZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,UAAU,EAAY,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAGnE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EACL,yBAAyB,EAEzB,WAAW,EACX,WAAW,EACX,SAAS,EAET,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;;AAE/C,qBAaa,cAAe,YAAW,SAAS,EAAE,MAAM;IA4CpD,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,sBAAsB;IAC9B,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,UAAU;IA7CpB,YAAY,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;IACD,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,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AE,iBAAiB,GAAG,OAAO,CAAQ;gBAGtC,gBAAgB,EAAE,gBAAgB,EAClC,sBAAsB,EAAE,sBAAsB,EAC9C,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU;IAGhC,QAAQ,IAAI,IAAI;IAIhB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAIlC,WAAW,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,QAAQ;IAIpD,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,QAAQ;IAIvD,cAAc,CAAC,KAAK,EAAE,WAAW,CAAC,kBAAkB,CAAC;IAQrD,aAAa,CAAC,KAAK,EAAE,WAAW,CAAC,kBAAkB,CAAC;IAKpD,cAAc,CAAC,KAAK,EAAE,WAAW,CAAC,kBAAkB,CAAC;IAQrD,aAAa,CAAC,KAAK,EAAE,WAAW,CAAC,kBAAkB,CAAC;IAI3D,OAAO,CAAC,yBAAyB;IASjC,OAAO,CAAC,gBAAgB;yCApGb,cAAc;2CAAd,cAAc;CA2G1B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kirbydesign/designsystem",
3
- "version": "10.3.1",
3
+ "version": "10.4.0",
4
4
  "description": "The Kirby Design Angular Components.",
5
5
  "author": "kirby@bankdata.dk",
6
6
  "repository": {
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@floating-ui/dom": "^1.1.0",
23
23
  "@fontsource/roboto": "4.2.1",
24
- "@kirbydesign/core": "0.0.69",
24
+ "@kirbydesign/core": "0.0.70",
25
25
  "inputmask": "5.0.8",
26
26
  "tslib": "^2.3.0"
27
27
  },
@@ -57,13 +57,17 @@
57
57
  "types": "./accordion/index.d.ts",
58
58
  "default": "./fesm2022/kirbydesign-designsystem-accordion.mjs"
59
59
  },
60
+ "./action-group": {
61
+ "types": "./action-group/index.d.ts",
62
+ "default": "./fesm2022/kirbydesign-designsystem-action-group.mjs"
63
+ },
60
64
  "./avatar": {
61
65
  "types": "./avatar/index.d.ts",
62
66
  "default": "./fesm2022/kirbydesign-designsystem-avatar.mjs"
63
67
  },
64
- "./action-group": {
65
- "types": "./action-group/index.d.ts",
66
- "default": "./fesm2022/kirbydesign-designsystem-action-group.mjs"
68
+ "./badge": {
69
+ "types": "./badge/index.d.ts",
70
+ "default": "./fesm2022/kirbydesign-designsystem-badge.mjs"
67
71
  },
68
72
  "./button": {
69
73
  "types": "./button/index.d.ts",
@@ -73,10 +77,6 @@
73
77
  "types": "./calendar/index.d.ts",
74
78
  "default": "./fesm2022/kirbydesign-designsystem-calendar.mjs"
75
79
  },
76
- "./badge": {
77
- "types": "./badge/index.d.ts",
78
- "default": "./fesm2022/kirbydesign-designsystem-badge.mjs"
79
- },
80
80
  "./card": {
81
81
  "types": "./card/index.d.ts",
82
82
  "default": "./fesm2022/kirbydesign-designsystem-card.mjs"
@@ -89,6 +89,10 @@
89
89
  "types": "./checkbox/index.d.ts",
90
90
  "default": "./fesm2022/kirbydesign-designsystem-checkbox.mjs"
91
91
  },
92
+ "./config": {
93
+ "types": "./config/index.d.ts",
94
+ "default": "./fesm2022/kirbydesign-designsystem-config.mjs"
95
+ },
92
96
  "./data-table": {
93
97
  "types": "./data-table/index.d.ts",
94
98
  "default": "./fesm2022/kirbydesign-designsystem-data-table.mjs"
@@ -113,14 +117,14 @@
113
117
  "types": "./flag/index.d.ts",
114
118
  "default": "./fesm2022/kirbydesign-designsystem-flag.mjs"
115
119
  },
116
- "./header": {
117
- "types": "./header/index.d.ts",
118
- "default": "./fesm2022/kirbydesign-designsystem-header.mjs"
119
- },
120
120
  "./form-field": {
121
121
  "types": "./form-field/index.d.ts",
122
122
  "default": "./fesm2022/kirbydesign-designsystem-form-field.mjs"
123
123
  },
124
+ "./header": {
125
+ "types": "./header/index.d.ts",
126
+ "default": "./fesm2022/kirbydesign-designsystem-header.mjs"
127
+ },
124
128
  "./helpers": {
125
129
  "types": "./helpers/index.d.ts",
126
130
  "default": "./fesm2022/kirbydesign-designsystem-helpers.mjs"
@@ -129,14 +133,14 @@
129
133
  "types": "./icon/index.d.ts",
130
134
  "default": "./fesm2022/kirbydesign-designsystem-icon.mjs"
131
135
  },
132
- "./item-group": {
133
- "types": "./item-group/index.d.ts",
134
- "default": "./fesm2022/kirbydesign-designsystem-item-group.mjs"
135
- },
136
136
  "./item": {
137
137
  "types": "./item/index.d.ts",
138
138
  "default": "./fesm2022/kirbydesign-designsystem-item.mjs"
139
139
  },
140
+ "./item-group": {
141
+ "types": "./item-group/index.d.ts",
142
+ "default": "./fesm2022/kirbydesign-designsystem-item-group.mjs"
143
+ },
140
144
  "./item-sliding": {
141
145
  "types": "./item-sliding/index.d.ts",
142
146
  "default": "./fesm2022/kirbydesign-designsystem-item-sliding.mjs"
@@ -149,10 +153,6 @@
149
153
  "types": "./list/index.d.ts",
150
154
  "default": "./fesm2022/kirbydesign-designsystem-list.mjs"
151
155
  },
152
- "./kirby-ionic-module": {
153
- "types": "./kirby-ionic-module/index.d.ts",
154
- "default": "./fesm2022/kirbydesign-designsystem-kirby-ionic-module.mjs"
155
- },
156
156
  "./loading-overlay": {
157
157
  "types": "./loading-overlay/index.d.ts",
158
158
  "default": "./fesm2022/kirbydesign-designsystem-loading-overlay.mjs"
@@ -173,14 +173,14 @@
173
173
  "types": "./popover/index.d.ts",
174
174
  "default": "./fesm2022/kirbydesign-designsystem-popover.mjs"
175
175
  },
176
- "./radio": {
177
- "types": "./radio/index.d.ts",
178
- "default": "./fesm2022/kirbydesign-designsystem-radio.mjs"
179
- },
180
176
  "./progress-circle": {
181
177
  "types": "./progress-circle/index.d.ts",
182
178
  "default": "./fesm2022/kirbydesign-designsystem-progress-circle.mjs"
183
179
  },
180
+ "./radio": {
181
+ "types": "./radio/index.d.ts",
182
+ "default": "./fesm2022/kirbydesign-designsystem-radio.mjs"
183
+ },
184
184
  "./range": {
185
185
  "types": "./range/index.d.ts",
186
186
  "default": "./fesm2022/kirbydesign-designsystem-range.mjs"
@@ -189,10 +189,6 @@
189
189
  "types": "./reorder-list/index.d.ts",
190
190
  "default": "./fesm2022/kirbydesign-designsystem-reorder-list.mjs"
191
191
  },
192
- "./shared": {
193
- "types": "./shared/index.d.ts",
194
- "default": "./fesm2022/kirbydesign-designsystem-shared.mjs"
195
- },
196
192
  "./router-outlet": {
197
193
  "types": "./router-outlet/index.d.ts",
198
194
  "default": "./fesm2022/kirbydesign-designsystem-router-outlet.mjs"
@@ -201,14 +197,18 @@
201
197
  "types": "./section-header/index.d.ts",
202
198
  "default": "./fesm2022/kirbydesign-designsystem-section-header.mjs"
203
199
  },
204
- "./slide-button": {
205
- "types": "./slide-button/index.d.ts",
206
- "default": "./fesm2022/kirbydesign-designsystem-slide-button.mjs"
200
+ "./shared": {
201
+ "types": "./shared/index.d.ts",
202
+ "default": "./fesm2022/kirbydesign-designsystem-shared.mjs"
207
203
  },
208
204
  "./slide": {
209
205
  "types": "./slide/index.d.ts",
210
206
  "default": "./fesm2022/kirbydesign-designsystem-slide.mjs"
211
207
  },
208
+ "./slide-button": {
209
+ "types": "./slide-button/index.d.ts",
210
+ "default": "./fesm2022/kirbydesign-designsystem-slide-button.mjs"
211
+ },
212
212
  "./spinner": {
213
213
  "types": "./spinner/index.d.ts",
214
214
  "default": "./fesm2022/kirbydesign-designsystem-spinner.mjs"
@@ -225,6 +225,10 @@
225
225
  "types": "./testing/index.d.ts",
226
226
  "default": "./fesm2022/kirbydesign-designsystem-testing.mjs"
227
227
  },
228
+ "./testing-base": {
229
+ "types": "./testing-base/index.d.ts",
230
+ "default": "./fesm2022/kirbydesign-designsystem-testing-base.mjs"
231
+ },
228
232
  "./testing-jasmine": {
229
233
  "types": "./testing-jasmine/index.d.ts",
230
234
  "default": "./fesm2022/kirbydesign-designsystem-testing-jasmine.mjs"
@@ -233,10 +237,6 @@
233
237
  "types": "./testing-jest/index.d.ts",
234
238
  "default": "./fesm2022/kirbydesign-designsystem-testing-jest.mjs"
235
239
  },
236
- "./testing-base": {
237
- "types": "./testing-base/index.d.ts",
238
- "default": "./fesm2022/kirbydesign-designsystem-testing-base.mjs"
239
- },
240
240
  "./toast": {
241
241
  "types": "./toast/index.d.ts",
242
242
  "default": "./fesm2022/kirbydesign-designsystem-toast.mjs"
@@ -257,13 +257,13 @@
257
257
  "types": "./helpers/scss/index.d.ts",
258
258
  "default": "./fesm2022/kirbydesign-designsystem-helpers-scss.mjs"
259
259
  },
260
- "./shared/portal": {
261
- "types": "./shared/portal/index.d.ts",
262
- "default": "./fesm2022/kirbydesign-designsystem-shared-portal.mjs"
263
- },
264
260
  "./shared/floating": {
265
261
  "types": "./shared/floating/index.d.ts",
266
262
  "default": "./fesm2022/kirbydesign-designsystem-shared-floating.mjs"
263
+ },
264
+ "./shared/portal": {
265
+ "types": "./shared/portal/index.d.ts",
266
+ "default": "./fesm2022/kirbydesign-designsystem-shared-portal.mjs"
267
267
  }
268
268
  },
269
269
  "module": "fesm2022/kirbydesign-designsystem.mjs",
@@ -6,6 +6,8 @@ import { HeaderActionsDirective, HeaderComponent, HeaderTitleActionIconDirective
6
6
  import { IonicElementPartHelper } from '@kirbydesign/designsystem/helpers';
7
7
  import { ModalElementComponent, ModalElementsAdvertiser, ModalNavigationService } from '@kirbydesign/designsystem/modal';
8
8
  import { FitHeadingConfig, ResizeObserverService, TranslationService } from '@kirbydesign/designsystem/shared';
9
+ import { Title } from '@angular/platform-browser';
10
+ import { KirbyConfig } from '@kirbydesign/designsystem/config';
9
11
  import * as i0 from "@angular/core";
10
12
  type stickyConfig = {
11
13
  sticky: boolean;
@@ -96,6 +98,8 @@ export declare class PageComponent implements OnInit, OnDestroy, AfterViewInit,
96
98
  private navCtrl;
97
99
  private ionicElementPartHelper;
98
100
  translations: TranslationService;
101
+ private htmlDocTitle;
102
+ private config;
99
103
  title: string;
100
104
  subtitle: string;
101
105
  toolbarTitle: string;
@@ -155,6 +159,7 @@ export declare class PageComponent implements OnInit, OnDestroy, AfterViewInit,
155
159
  private stickyContentIntersectionObserver?;
156
160
  private isObservingTitle;
157
161
  private isObservingActions;
162
+ private unobserveTitleMutation;
158
163
  private url;
159
164
  private isActive;
160
165
  private ngOnDestroy$;
@@ -162,7 +167,7 @@ export declare class PageComponent implements OnInit, OnDestroy, AfterViewInit,
162
167
  private navigationStart$;
163
168
  private navigationEnd$;
164
169
  toolbarActionGroupInjector: Injector;
165
- constructor(elementRef: ElementRef, injector: Injector, renderer: Renderer2, router: Router, changeDetectorRef: ChangeDetectorRef, zone: NgZone, modalNavigationService: ModalNavigationService, resizeObserverService: ResizeObserverService, tabsComponent: TabsComponent, backButtonOverride: PageBackButtonOverride, routerOutlet: IonRouterOutlet, navCtrl: NavController, ionicElementPartHelper: IonicElementPartHelper, translations: TranslationService);
170
+ constructor(elementRef: ElementRef, injector: Injector, renderer: Renderer2, router: Router, changeDetectorRef: ChangeDetectorRef, zone: NgZone, modalNavigationService: ModalNavigationService, resizeObserverService: ResizeObserverService, tabsComponent: TabsComponent, backButtonOverride: PageBackButtonOverride, routerOutlet: IonRouterOutlet, navCtrl: NavController, ionicElementPartHelper: IonicElementPartHelper, translations: TranslationService, htmlDocTitle: Title, config: KirbyConfig);
166
171
  private contentReadyPromise;
167
172
  private whenContentReady;
168
173
  ngOnInit(): void;
@@ -177,11 +182,13 @@ export declare class PageComponent implements OnInit, OnDestroy, AfterViewInit,
177
182
  private onEnter;
178
183
  private onLeave;
179
184
  private interceptBackButtonClicksSetup;
185
+ private patchIonLastFocused;
180
186
  private initializeStickyIntersectionObserver;
181
187
  private initializeHeader;
182
188
  private initializeTitle;
183
189
  private observeTitle;
184
190
  private unobserveTitle;
191
+ private setHtmlDocTitle;
185
192
  private initializeActions;
186
193
  private observeActions;
187
194
  private unobserveActions;
@@ -195,7 +202,7 @@ export declare class PageComponent implements OnInit, OnDestroy, AfterViewInit,
195
202
  }): void;
196
203
  _onKeyboardWillHide(): void;
197
204
  _onSelectedTabClick(): void;
198
- static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, [null, null, null, null, null, null, null, null, { optional: true; skipSelf: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null, null]>;
205
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, [null, null, null, null, null, null, null, null, { optional: true; skipSelf: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null, null, null, { optional: true; }]>;
199
206
  static ɵcmp: i0.ɵɵComponentDeclaration<PageComponent, "kirby-page", never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "toolbarTitle": { "alias": "toolbarTitle"; "required": false; }; "titleAlignment": { "alias": "titleAlignment"; "required": false; }; "defaultBackHref": { "alias": "defaultBackHref"; "required": false; }; "hideBackButton": { "alias": "hideBackButton"; "required": false; }; "titleMaxLines": { "alias": "titleMaxLines"; "required": false; }; "hasInteractiveTitle": { "alias": "hasInteractiveTitle"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "tabBarBottomHidden": { "alias": "tabBarBottomHidden"; "required": false; }; }, { "enter": "enter"; "leave": "leave"; "refresh": "refresh"; "backButtonClick": "backButtonClick"; "toolbarTitleClick": "toolbarTitleClick"; }, ["customToolbarTitleTemplate", "customTitleTemplate", "customSubtitleTemplate", "stickyContentRef", "header", "customActions", "customContent"], ["kirby-header", "kirby-page-footer", "kirby-page-actions", "kirby-page-content"], false, never>;
200
207
  }
201
208
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"page.component.d.ts","sourceRoot":"","sources":["../../page/src/page.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,aAAa,EAEb,iBAAiB,EAKjB,UAAU,EACV,YAAY,EAIZ,cAAc,EACd,QAAQ,EAER,MAAM,EACN,SAAS,EACT,SAAS,EACT,MAAM,EAGN,SAAS,EACT,SAAS,EAET,aAAa,EAEb,WAAW,EAGZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAkC,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAML,eAAe,EAEf,aAAa,EACd,MAAM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AW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAYzC,eAAe,IAAI,IAAI;IA0CvB,qBAAqB,IAAI,IAAI;IAS7B,WAAW,IAAI,IAAI;IAUnB,oBAAoB,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAMtC,kBAAkB;IAUlB,YAAY,CAAC,KAAK,EAAE,YAAY;IAQhC,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,OAAO;IAaf,OAAO,CAAC,OAAO;IAef,OAAO,CAAC,8BAA8B;IAmBtC,OAAO,CAAC,mBAAmB;IAa3B,OAAO,CAAC,oCAAoC;IAY5C,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,eAAe;IA4CvB,OAAO,CAAC,YAAY;IA6CpB,OAAO,CAAC,cAAc;IAQtB,OAAO,CAAC,eAAe;IAkBvB,OAAO,CAAC,iBAAiB;IAwBzB,OAAO,CAAC,cAAc;IA6CtB,OAAO,CAAC,gBAAgB;IAOxB,OAAO,CAAC,qBAAqB;IAiC7B,OAAO,CAAC,iBAAiB;IAUzB,OAAO,CAAC,uBAAuB;IAI/B,OAAO,CAAC,uCAAuC;IAe/C,OAAO,CAAC,WAAW;IAKnB,mBAAmB,CAAC,IAAI,CAAC,EAAE;QAAE,cAAc,EAAE,MAAM,CAAA;KAAE;IAUrD,mBAAmB;IAKnB,mBAAmB;yCA1oBR,aAAa;2CAAb,aAAa;CA+oBzB"}
@@ -1,12 +1,18 @@
1
- import { AfterContentInit, ChangeDetectorRef, EventEmitter, TemplateRef } from '@angular/core';
1
+ import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Renderer2, TemplateRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
+ import { FormFieldControl } from '@kirbydesign/designsystem/types';
3
4
  import * as i0 from "@angular/core";
4
- export declare class RadioGroupComponent implements AfterContentInit, ControlValueAccessor {
5
+ export declare class RadioGroupComponent implements AfterContentInit, ControlValueAccessor, FormFieldControl, AfterViewInit {
5
6
  private changeDetectionRef;
6
- constructor(changeDetectionRef: ChangeDetectorRef);
7
+ private element;
8
+ private renderer;
9
+ constructor(changeDetectionRef: ChangeDetectorRef, element: ElementRef<HTMLElement>, renderer: Renderer2);
7
10
  get disabled(): boolean;
8
11
  set disabled(value: boolean);
9
- hasError: boolean;
12
+ private _hasError;
13
+ get hasError(): boolean;
14
+ set hasError(value: boolean);
15
+ hasErrorChange: EventEmitter<boolean>;
10
16
  get items(): string[] | any[];
11
17
  set items(value: string[] | any[]);
12
18
  itemTextProperty: string;
@@ -27,11 +33,13 @@ export declare class RadioGroupComponent implements AfterContentInit, ControlVal
27
33
  private _onTouched;
28
34
  private _selectedIndex;
29
35
  private _value?;
36
+ private _attributesToForward;
30
37
  private radioButtons;
31
38
  private projectedRadioButtons;
32
39
  private get hasItemsFromContentProjection();
33
40
  focus(): void;
34
41
  ngAfterContentInit(): void;
42
+ ngAfterViewInit(): void;
35
43
  registerOnChange(fn: any): void;
36
44
  registerOnTouched(fn: any): void;
37
45
  setDisabledState(isDisabled: boolean): void;
@@ -52,6 +60,6 @@ export declare class RadioGroupComponent implements AfterContentInit, ControlVal
52
60
  private setSelectedItem;
53
61
  private setProjectedRadiosDisabledState;
54
62
  static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "kirby-radio-group", never, { "disabled": { "alias": "disabled"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "items": { "alias": "items"; "required": false; }; "itemTextProperty": { "alias": "itemTextProperty"; "required": false; }; "itemDisabledProperty": { "alias": "itemDisabledProperty"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, ["_customItemTemplate", "projectedRadioButtons"], ["*"], false, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "kirby-radio-group", never, { "disabled": { "alias": "disabled"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "items": { "alias": "items"; "required": false; }; "itemTextProperty": { "alias": "itemTextProperty"; "required": false; }; "itemDisabledProperty": { "alias": "itemDisabledProperty"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "hasErrorChange": "hasErrorChange"; "valueChange": "valueChange"; }, ["_customItemTemplate", "projectedRadioButtons"], ["*"], false, never>;
56
64
  }
57
65
  //# sourceMappingURL=radio-group.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group.component.d.ts","sourceRoot":"","sources":["../../../radio/src/radio-group/radio-group.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAEhB,iBAAiB,EAGjB,YAAY,EAIZ,WAAW,EAEZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;;AAKzE,qBAca,mBAAoB,YAAW,gBAAgB,EAAE,oBAAoB;IACpE,OAAO,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,iBAAiB;IAIzD,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED,IAAa,QAAQ,CAAC,KAAK,EAAE,OAAO,EAGnC;IAID,QAAQ,EAAE,OAAO,CAAS;IAE1B,IAAI,KAAK,IAAI,MAAM,EAAE,GAAG,GAAG,EAAE,CAE5B;IAED,IAAa,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,GAAG,EAAE,EAIzC;IAGD,gBAAgB,SAAU;IAG1B,oBAAoB,SAAc;IAElC,IAAI,aAAa,IAAI,MAAM,CAE1B;IAED,IAAa,aAAa,CAAC,KAAK,EAAE,MAAM,EAMvC;IAED,IAAI,KAAK,IAAI,MAAM,GAAG,GAAG,CAExB;IAED,IAAa,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,EAErC;IAED,OAAO,KAAK,QAAQ,GAEnB;IAED;;OAEG;IACO,WAA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designsystem';
76
76
  await bootstrapApplication(RootComponent, {
77
77
  providers: [
78
78
  ...,
79
- importProvidersFrom(KirbyModule)
79
+ provideKirby() // optionally takes config object, e.g. { focusManager: true, setHtmlDocTitle: true }
80
80
  ]
81
81
  });
82
82
  ```
@@ -1,4 +1,17 @@
1
+ import { Renderer2 } from '@angular/core';
1
2
  export declare function findItemLabel(element: HTMLElement): HTMLElement;
2
3
  export declare function setAccessibleLabel(element: HTMLElement): string;
3
4
  export declare function inheritAriaLabelText(element: HTMLElement): string;
5
+ /**
6
+ * Forwards specified attributes from a source element to a target element.
7
+ *
8
+ * @param sourceElement - The HTML element from which attributes will be removed from.
9
+ * @param attributes - An array of attribute names to inherit from the source element.
10
+ * @param renderer - An instance of Angular's Renderer2.
11
+ * @param targetElement - (Optional) The HTML element to which the attributes should be applied.
12
+ * If not provided, the attributes will only be removed from the source element.
13
+ *
14
+ * @returns A record of the inherited attributes and their values. If no attributes are inherited, an empty object is returned.
15
+ */
16
+ export declare function forwardAttributes(sourceElement: HTMLElement, attributes: string[], renderer: Renderer2, targetElement?: HTMLElement): Record<string, any>;
4
17
  //# sourceMappingURL=label-helpers.d.ts.map