@kirbydesign/designsystem 10.0.0-rc.0 → 10.0.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 (382) hide show
  1. package/README.md +7 -0
  2. package/accordion/accordion-item.component.d.ts +2 -1
  3. package/avatar/avatar.component.d.ts +4 -1
  4. package/button/button.component.d.ts +1 -1
  5. package/card/card-as-button/card-as-button.directive.d.ts +2 -3
  6. package/card/card.component.d.ts +2 -2
  7. package/chart/chart-config/chart-stock-config/chart-stock-config.d.ts +1 -1
  8. package/chart/shared/chart-config-service/configs/interaction-functions-extensions.config.d.ts +1 -1
  9. package/checkbox/checkbox.component.d.ts +8 -4
  10. package/data-table/data-table.module.d.ts +7 -6
  11. package/data-table/public_api.d.ts +0 -2
  12. package/data-table/sortable/sortable.component.d.ts +1 -1
  13. package/empty-state/empty-state.component.d.ts +1 -2
  14. package/esm2022/accordion/accordion-item.component.mjs +8 -5
  15. package/esm2022/accordion/accordion.directive.mjs +3 -3
  16. package/esm2022/accordion/accordion.module.mjs +4 -4
  17. package/esm2022/action-group/action-group.component.mjs +3 -3
  18. package/esm2022/avatar/avatar.component.mjs +12 -6
  19. package/esm2022/badge/badge.component.mjs +3 -3
  20. package/esm2022/button/button.component.mjs +5 -5
  21. package/esm2022/calendar/calendar.component.mjs +4 -4
  22. package/esm2022/calendar/helpers/calendar.helper.mjs +3 -3
  23. package/esm2022/card/card-as-button/card-as-button.directive.mjs +6 -9
  24. package/esm2022/card/card-footer/card-footer.component.mjs +3 -3
  25. package/esm2022/card/card-header/card-header.component.mjs +3 -3
  26. package/esm2022/card/card.component.mjs +8 -8
  27. package/esm2022/card/card.module.mjs +4 -4
  28. package/esm2022/chart/chart/chart.component.mjs +3 -3
  29. package/esm2022/chart/charts.module.mjs +4 -4
  30. package/esm2022/chart/shared/base-chart/base-chart.component.mjs +3 -3
  31. package/esm2022/chart/shared/chart-config-service/chart-config.service.mjs +3 -3
  32. package/esm2022/chart/shared/chart-js-service/chart-js.service.mjs +3 -3
  33. package/esm2022/chart/stock-chart/stock-chart-js.service.mjs +3 -3
  34. package/esm2022/chart/stock-chart/stock-chart.component.mjs +3 -3
  35. package/esm2022/checkbox/checkbox.component.mjs +18 -11
  36. package/esm2022/data-table/data-table.module.mjs +16 -13
  37. package/esm2022/data-table/public_api.mjs +1 -3
  38. package/esm2022/data-table/sortable/sortable.component.mjs +7 -5
  39. package/esm2022/divider/divider.component.mjs +3 -3
  40. package/esm2022/dropdown/dropdown.component.mjs +4 -4
  41. package/esm2022/dropdown/dropdown.module.mjs +4 -4
  42. package/esm2022/dropdown/keyboard-handler.service.mjs +3 -3
  43. package/esm2022/empty-state/empty-state.component.mjs +5 -12
  44. package/esm2022/empty-state/empty-state.module.mjs +4 -4
  45. package/esm2022/fab-sheet/fab-sheet.component.mjs +3 -3
  46. package/esm2022/flag/flag.component.mjs +3 -3
  47. package/esm2022/form-field/directives/affix/affix.directive.mjs +3 -3
  48. package/esm2022/form-field/directives/date/date-input.directive.mjs +3 -3
  49. package/esm2022/form-field/directives/decimal-mask/decimal-mask.directive.mjs +3 -3
  50. package/esm2022/form-field/form-field-message/form-field-message.component.mjs +3 -3
  51. package/esm2022/form-field/form-field.component.mjs +3 -3
  52. package/esm2022/form-field/form-field.module.mjs +4 -4
  53. package/esm2022/form-field/input/input.component.mjs +3 -3
  54. package/esm2022/form-field/input-counter/input-counter.component.mjs +3 -3
  55. package/esm2022/form-field/textarea/textarea.component.mjs +3 -3
  56. package/esm2022/header/header.component.mjs +23 -16
  57. package/esm2022/header/header.module.mjs +4 -4
  58. package/esm2022/helpers/ionic-element-part-helper.mjs +3 -3
  59. package/esm2022/helpers/line-clamp-helper.mjs +3 -3
  60. package/esm2022/helpers/platform.service.mjs +3 -3
  61. package/esm2022/icon/icon-registry.service.mjs +3 -3
  62. package/esm2022/icon/icon.component.mjs +8 -29
  63. package/esm2022/icon/icon.module.mjs +4 -4
  64. package/esm2022/item/item.component.mjs +41 -8
  65. package/esm2022/item/item.module.mjs +4 -4
  66. package/esm2022/item/label/label.component.mjs +3 -3
  67. package/esm2022/item-group/item-group.component.mjs +3 -3
  68. package/esm2022/item-sliding/item-sliding.component.mjs +4 -4
  69. package/esm2022/kirby-app/kirby-app.component.mjs +3 -3
  70. package/esm2022/kirby-app/kirby-app.module.mjs +4 -4
  71. package/esm2022/kirby-ionic-module/kirby-ionic.module.mjs +4 -4
  72. package/esm2022/lib/components/index.mjs +1 -2
  73. package/esm2022/lib/components/segmented-control/segmented-control.component.mjs +4 -4
  74. package/esm2022/lib/directives/key-handler/key-handler.directive.mjs +3 -3
  75. package/esm2022/lib/directives/modal-router-link/modal-router-link.directive.mjs +5 -8
  76. package/esm2022/lib/index.mjs +1 -3
  77. package/esm2022/lib/kirby.module.mjs +17 -24
  78. package/esm2022/list/directives/infinite-scroll.directive.mjs +3 -3
  79. package/esm2022/list/directives/list-item-color.directive.mjs +3 -3
  80. package/esm2022/list/helpers/list-helper.mjs +3 -3
  81. package/esm2022/list/list-experimental/list-experimental.component.mjs +3 -3
  82. package/esm2022/list/list-header/list-header.component.mjs +3 -3
  83. package/esm2022/list/list-item/list-item.component.mjs +4 -4
  84. package/esm2022/list/list-section-header/list-section-header.component.mjs +3 -3
  85. package/esm2022/list/list.component.mjs +4 -4
  86. package/esm2022/list/list.directive.mjs +12 -12
  87. package/esm2022/list/list.module.mjs +4 -4
  88. package/esm2022/loading-overlay/loading-overlay.component.mjs +3 -3
  89. package/esm2022/loading-overlay/loading-overlay.service.mjs +3 -3
  90. package/esm2022/menu/menu.component.mjs +4 -4
  91. package/esm2022/modal/modal/action-sheet/action-sheet.component.mjs +4 -4
  92. package/esm2022/modal/modal/alert/alert.component.mjs +4 -4
  93. package/esm2022/modal/modal/footer/modal-footer.component.mjs +5 -5
  94. package/esm2022/modal/modal/modal-component/modal.component.mjs +3 -3
  95. package/esm2022/modal/modal/services/action-sheet.helper.mjs +3 -3
  96. package/esm2022/modal/modal/services/alert.helper.mjs +3 -3
  97. package/esm2022/modal/modal/services/can-dismiss.helper.mjs +3 -3
  98. package/esm2022/modal/modal/services/modal-animation-builder.service.mjs +3 -3
  99. package/esm2022/modal/modal/services/modal.controller.mjs +11 -11
  100. package/esm2022/modal/modal/services/modal.helper.mjs +5 -19
  101. package/esm2022/modal/modal-navigation.service.mjs +7 -14
  102. package/esm2022/modal/modal-wrapper/compact/modal-compact-wrapper.component.mjs +3 -3
  103. package/esm2022/modal/modal-wrapper/modal-wrapper.component.mjs +8 -8
  104. package/esm2022/modal/modal.interfaces.mjs +4 -4
  105. package/esm2022/page/page-footer/page-footer.component.mjs +4 -4
  106. package/esm2022/page/page.component.mjs +39 -46
  107. package/esm2022/page/page.module.mjs +4 -4
  108. package/esm2022/popover/popover.component.mjs +3 -3
  109. package/esm2022/progress-circle/progress-circle-ring.component.mjs +3 -3
  110. package/esm2022/progress-circle/progress-circle.component.mjs +3 -3
  111. package/esm2022/radio/radio-group/radio-group.component.mjs +3 -3
  112. package/esm2022/radio/radio-module.mjs +4 -4
  113. package/esm2022/radio/radio.component.mjs +17 -10
  114. package/esm2022/range/range.component.mjs +3 -3
  115. package/esm2022/reorder-list/reorder-list.component.mjs +4 -4
  116. package/esm2022/router-outlet/router-outlet.component.mjs +3 -3
  117. package/esm2022/router-outlet/router-outlet.module.mjs +4 -4
  118. package/esm2022/section-header/section-header.component.mjs +3 -3
  119. package/esm2022/shared/component-loader.directive.mjs +3 -3
  120. package/esm2022/shared/fit-heading/fit-heading.directive.mjs +3 -3
  121. package/esm2022/shared/floating/floating.directive.mjs +3 -3
  122. package/esm2022/shared/portal/portal.directive.mjs +3 -3
  123. package/esm2022/shared/resize-observer/resize-observer.factory.mjs +3 -3
  124. package/esm2022/shared/resize-observer/resize-observer.service.mjs +3 -3
  125. package/esm2022/shared/theme-color/theme-color.directive.mjs +3 -3
  126. package/esm2022/slide/slide-stretch-height.directive.mjs +3 -3
  127. package/esm2022/slide/slide.directive.mjs +3 -3
  128. package/esm2022/slide/slide.module.mjs +4 -4
  129. package/esm2022/slide/slides.component.mjs +3 -3
  130. package/esm2022/slide-button/slide-button.component.mjs +3 -3
  131. package/esm2022/spinner/spinner.component.mjs +3 -3
  132. package/esm2022/spinner/spinner.module.mjs +4 -4
  133. package/esm2022/tab-navigation/tab-navigation/tab-navigation.component.mjs +3 -3
  134. package/esm2022/tab-navigation/tab-navigation-item/tab-navigation-item.component.mjs +3 -3
  135. package/esm2022/tab-navigation/tab-navigation.module.mjs +4 -4
  136. package/esm2022/tabs/tab-button/tab-button.component.mjs +6 -8
  137. package/esm2022/tabs/tabs.component.mjs +3 -3
  138. package/esm2022/tabs/tabs.module.mjs +4 -4
  139. package/esm2022/tabs/tabs.service.mjs +3 -3
  140. package/esm2022/testing/test-helper.mjs +4 -4
  141. package/esm2022/testing-base/lib/components/index.mjs +1 -8
  142. package/esm2022/testing-base/lib/components/mock.accordion-item.component.mjs +6 -4
  143. package/esm2022/testing-base/lib/components/mock.action-group.component.mjs +6 -4
  144. package/esm2022/testing-base/lib/components/mock.action-sheet.component.mjs +6 -4
  145. package/esm2022/testing-base/lib/components/mock.alert.component.mjs +6 -4
  146. package/esm2022/testing-base/lib/components/mock.avatar.component.mjs +6 -4
  147. package/esm2022/testing-base/lib/components/mock.badge.component.mjs +6 -4
  148. package/esm2022/testing-base/lib/components/mock.base-chart.component.mjs +6 -4
  149. package/esm2022/testing-base/lib/components/mock.button.component.mjs +6 -4
  150. package/esm2022/testing-base/lib/components/mock.calendar.component.mjs +6 -4
  151. package/esm2022/testing-base/lib/components/mock.card-footer.component.mjs +6 -4
  152. package/esm2022/testing-base/lib/components/mock.card-header.component.mjs +6 -4
  153. package/esm2022/testing-base/lib/components/mock.card.component.mjs +6 -4
  154. package/esm2022/testing-base/lib/components/mock.chart.component.mjs +6 -4
  155. package/esm2022/testing-base/lib/components/mock.checkbox.component.mjs +6 -4
  156. package/esm2022/testing-base/lib/components/mock.divider.component.mjs +6 -4
  157. package/esm2022/testing-base/lib/components/mock.dropdown.component.mjs +6 -4
  158. package/esm2022/testing-base/lib/components/mock.empty-state.component.mjs +6 -6
  159. package/esm2022/testing-base/lib/components/mock.fab-sheet.component.mjs +6 -4
  160. package/esm2022/testing-base/lib/components/mock.flag.component.mjs +6 -4
  161. package/esm2022/testing-base/lib/components/mock.form-field-message.component.mjs +6 -4
  162. package/esm2022/testing-base/lib/components/mock.form-field.component.mjs +6 -4
  163. package/esm2022/testing-base/lib/components/mock.header.component.mjs +12 -10
  164. package/esm2022/testing-base/lib/components/mock.icon.component.mjs +6 -6
  165. package/esm2022/testing-base/lib/components/mock.input-counter.component.mjs +6 -4
  166. package/esm2022/testing-base/lib/components/mock.input.component.mjs +6 -4
  167. package/esm2022/testing-base/lib/components/mock.item-group.component.mjs +6 -4
  168. package/esm2022/testing-base/lib/components/mock.item-sliding.component.mjs +6 -4
  169. package/esm2022/testing-base/lib/components/mock.item.component.mjs +6 -4
  170. package/esm2022/testing-base/lib/components/mock.kirby-app.component.mjs +6 -4
  171. package/esm2022/testing-base/lib/components/mock.label.component.mjs +6 -4
  172. package/esm2022/testing-base/lib/components/mock.list-experimental.component.mjs +6 -4
  173. package/esm2022/testing-base/lib/components/mock.list-header.component.mjs +6 -4
  174. package/esm2022/testing-base/lib/components/mock.list-item.component.mjs +6 -4
  175. package/esm2022/testing-base/lib/components/mock.list-section-header.component.mjs +6 -4
  176. package/esm2022/testing-base/lib/components/mock.list.component.mjs +6 -4
  177. package/esm2022/testing-base/lib/components/mock.loading-overlay.component.mjs +6 -4
  178. package/esm2022/testing-base/lib/components/mock.menu.component.mjs +6 -4
  179. package/esm2022/testing-base/lib/components/mock.modal-compact-wrapper.component.mjs +6 -4
  180. package/esm2022/testing-base/lib/components/mock.modal-footer.component.mjs +6 -4
  181. package/esm2022/testing-base/lib/components/mock.modal-wrapper.component.mjs +6 -4
  182. package/esm2022/testing-base/lib/components/mock.page-footer.component.mjs +6 -4
  183. package/esm2022/testing-base/lib/components/mock.page.component.mjs +44 -34
  184. package/esm2022/testing-base/lib/components/mock.popover.component.mjs +6 -4
  185. package/esm2022/testing-base/lib/components/mock.progress-circle-ring.component.mjs +6 -4
  186. package/esm2022/testing-base/lib/components/mock.progress-circle.component.mjs +6 -4
  187. package/esm2022/testing-base/lib/components/mock.radio-group.component.mjs +6 -4
  188. package/esm2022/testing-base/lib/components/mock.radio.component.mjs +6 -4
  189. package/esm2022/testing-base/lib/components/mock.range.component.mjs +6 -4
  190. package/esm2022/testing-base/lib/components/mock.reorder-list.component.mjs +6 -4
  191. package/esm2022/testing-base/lib/components/mock.router-outlet.component.mjs +6 -4
  192. package/esm2022/testing-base/lib/components/mock.section-header.component.mjs +6 -4
  193. package/esm2022/testing-base/lib/components/mock.segmented-control.component.mjs +6 -4
  194. package/esm2022/testing-base/lib/components/mock.slide-button.component.mjs +6 -4
  195. package/esm2022/testing-base/lib/components/mock.slides.component.mjs +6 -4
  196. package/esm2022/testing-base/lib/components/mock.spinner.component.mjs +6 -4
  197. package/esm2022/testing-base/lib/components/mock.stock-chart.component.mjs +6 -4
  198. package/esm2022/testing-base/lib/components/mock.tab-button.component.mjs +7 -5
  199. package/esm2022/testing-base/lib/components/mock.tab-navigation-item.component.mjs +6 -4
  200. package/esm2022/testing-base/lib/components/mock.tab-navigation.component.mjs +6 -4
  201. package/esm2022/testing-base/lib/components/mock.tabs.component.mjs +6 -4
  202. package/esm2022/testing-base/lib/components/mock.textarea.component.mjs +6 -4
  203. package/esm2022/testing-base/lib/components/mock.toggle-button.component.mjs +6 -4
  204. package/esm2022/testing-base/lib/components/mock.toggle.component.mjs +6 -4
  205. package/esm2022/testing-base/lib/directives/mock.accordion.directive.mjs +3 -3
  206. package/esm2022/testing-base/lib/directives/mock.affix.directive.mjs +3 -3
  207. package/esm2022/testing-base/lib/directives/mock.card-as-button.directive.mjs +3 -3
  208. package/esm2022/testing-base/lib/directives/mock.component-loader.directive.mjs +3 -3
  209. package/esm2022/testing-base/lib/directives/mock.date-input.directive.mjs +3 -3
  210. package/esm2022/testing-base/lib/directives/mock.decimal-mask.directive.mjs +3 -3
  211. package/esm2022/testing-base/lib/directives/mock.fit-heading.directive.mjs +3 -3
  212. package/esm2022/testing-base/lib/directives/mock.floating.directive.mjs +3 -3
  213. package/esm2022/testing-base/lib/directives/mock.infinite-scroll.directive.mjs +3 -3
  214. package/esm2022/testing-base/lib/directives/mock.key-handler.directive.mjs +3 -3
  215. package/esm2022/testing-base/lib/directives/mock.list-item-color.directive.mjs +3 -3
  216. package/esm2022/testing-base/lib/directives/mock.list.directive.mjs +12 -12
  217. package/esm2022/testing-base/lib/directives/mock.modal-router-link.directive.mjs +3 -3
  218. package/esm2022/testing-base/lib/directives/mock.portal.directive.mjs +3 -3
  219. package/esm2022/testing-base/lib/directives/mock.slide.directive.mjs +3 -3
  220. package/esm2022/testing-base/lib/directives/mock.theme-color.directive.mjs +3 -3
  221. package/esm2022/testing-base/lib/kirby-testing-base.module.mjs +72 -79
  222. package/esm2022/testing-base/lib/mock-components.mjs +1 -15
  223. package/esm2022/testing-jasmine/lib/kirby-testing.module.mjs +4 -4
  224. package/esm2022/testing-jest/lib/kirby-testing.module.mjs +4 -4
  225. package/esm2022/toast/services/toast.controller.mjs +3 -3
  226. package/esm2022/toast/services/toast.helper.mjs +3 -3
  227. package/esm2022/toggle/toggle.component.mjs +22 -9
  228. package/esm2022/toggle-button/toggle-button.component.mjs +3 -3
  229. package/esm2022/toggle-button/toggle-button.module.mjs +4 -4
  230. package/esm2022/types/window-ref.mjs +3 -3
  231. package/fesm2022/kirbydesign-designsystem-accordion.mjs +14 -11
  232. package/fesm2022/kirbydesign-designsystem-accordion.mjs.map +1 -1
  233. package/fesm2022/kirbydesign-designsystem-action-group.mjs +3 -3
  234. package/fesm2022/kirbydesign-designsystem-avatar.mjs +11 -5
  235. package/fesm2022/kirbydesign-designsystem-avatar.mjs.map +1 -1
  236. package/fesm2022/kirbydesign-designsystem-badge.mjs +3 -3
  237. package/fesm2022/kirbydesign-designsystem-button.mjs +4 -4
  238. package/fesm2022/kirbydesign-designsystem-button.mjs.map +1 -1
  239. package/fesm2022/kirbydesign-designsystem-calendar.mjs +6 -6
  240. package/fesm2022/kirbydesign-designsystem-calendar.mjs.map +1 -1
  241. package/fesm2022/kirbydesign-designsystem-card.mjs +22 -25
  242. package/fesm2022/kirbydesign-designsystem-card.mjs.map +1 -1
  243. package/fesm2022/kirbydesign-designsystem-chart.mjs +22 -22
  244. package/fesm2022/kirbydesign-designsystem-checkbox.mjs +17 -10
  245. package/fesm2022/kirbydesign-designsystem-checkbox.mjs.map +1 -1
  246. package/fesm2022/kirbydesign-designsystem-data-table.mjs +20 -87
  247. package/fesm2022/kirbydesign-designsystem-data-table.mjs.map +1 -1
  248. package/fesm2022/kirbydesign-designsystem-divider.mjs +3 -3
  249. package/fesm2022/kirbydesign-designsystem-dropdown.mjs +11 -11
  250. package/fesm2022/kirbydesign-designsystem-dropdown.mjs.map +1 -1
  251. package/fesm2022/kirbydesign-designsystem-empty-state.mjs +8 -15
  252. package/fesm2022/kirbydesign-designsystem-empty-state.mjs.map +1 -1
  253. package/fesm2022/kirbydesign-designsystem-fab-sheet.mjs +3 -3
  254. package/fesm2022/kirbydesign-designsystem-flag.mjs +3 -3
  255. package/fesm2022/kirbydesign-designsystem-form-field.mjs +28 -28
  256. package/fesm2022/kirbydesign-designsystem-form-field.mjs.map +1 -1
  257. package/fesm2022/kirbydesign-designsystem-header.mjs +26 -19
  258. package/fesm2022/kirbydesign-designsystem-header.mjs.map +1 -1
  259. package/fesm2022/kirbydesign-designsystem-helpers.mjs +9 -9
  260. package/fesm2022/kirbydesign-designsystem-icon.mjs +14 -35
  261. package/fesm2022/kirbydesign-designsystem-icon.mjs.map +1 -1
  262. package/fesm2022/kirbydesign-designsystem-item-group.mjs +3 -3
  263. package/fesm2022/kirbydesign-designsystem-item-sliding.mjs +3 -3
  264. package/fesm2022/kirbydesign-designsystem-item-sliding.mjs.map +1 -1
  265. package/fesm2022/kirbydesign-designsystem-item.mjs +65 -33
  266. package/fesm2022/kirbydesign-designsystem-item.mjs.map +1 -1
  267. package/fesm2022/kirbydesign-designsystem-kirby-app.mjs +7 -7
  268. package/fesm2022/kirbydesign-designsystem-kirby-ionic-module.mjs +4 -4
  269. package/fesm2022/kirbydesign-designsystem-list.mjs +42 -42
  270. package/fesm2022/kirbydesign-designsystem-list.mjs.map +1 -1
  271. package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs +6 -6
  272. package/fesm2022/kirbydesign-designsystem-menu.mjs +3 -3
  273. package/fesm2022/kirbydesign-designsystem-menu.mjs.map +1 -1
  274. package/fesm2022/kirbydesign-designsystem-modal.mjs +60 -79
  275. package/fesm2022/kirbydesign-designsystem-modal.mjs.map +1 -1
  276. package/fesm2022/kirbydesign-designsystem-page.mjs +46 -53
  277. package/fesm2022/kirbydesign-designsystem-page.mjs.map +1 -1
  278. package/fesm2022/kirbydesign-designsystem-popover.mjs +3 -3
  279. package/fesm2022/kirbydesign-designsystem-progress-circle.mjs +6 -6
  280. package/fesm2022/kirbydesign-designsystem-radio.mjs +23 -16
  281. package/fesm2022/kirbydesign-designsystem-radio.mjs.map +1 -1
  282. package/fesm2022/kirbydesign-designsystem-range.mjs +3 -3
  283. package/fesm2022/kirbydesign-designsystem-reorder-list.mjs +3 -3
  284. package/fesm2022/kirbydesign-designsystem-reorder-list.mjs.map +1 -1
  285. package/fesm2022/kirbydesign-designsystem-router-outlet.mjs +7 -7
  286. package/fesm2022/kirbydesign-designsystem-section-header.mjs +3 -3
  287. package/fesm2022/kirbydesign-designsystem-shared-floating.mjs +3 -3
  288. package/fesm2022/kirbydesign-designsystem-shared-portal.mjs +3 -3
  289. package/fesm2022/kirbydesign-designsystem-shared.mjs +15 -15
  290. package/fesm2022/kirbydesign-designsystem-slide-button.mjs +3 -3
  291. package/fesm2022/kirbydesign-designsystem-slide.mjs +13 -13
  292. package/fesm2022/kirbydesign-designsystem-slide.mjs.map +1 -1
  293. package/fesm2022/kirbydesign-designsystem-spinner.mjs +7 -7
  294. package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs +10 -10
  295. package/fesm2022/kirbydesign-designsystem-tabs.mjs +15 -17
  296. package/fesm2022/kirbydesign-designsystem-tabs.mjs.map +1 -1
  297. package/fesm2022/kirbydesign-designsystem-testing-base.mjs +423 -537
  298. package/fesm2022/kirbydesign-designsystem-testing-base.mjs.map +1 -1
  299. package/fesm2022/kirbydesign-designsystem-testing-jasmine.mjs +4 -4
  300. package/fesm2022/kirbydesign-designsystem-testing-jest.mjs +4 -4
  301. package/fesm2022/kirbydesign-designsystem-testing.mjs +4 -4
  302. package/fesm2022/kirbydesign-designsystem-toast.mjs +6 -6
  303. package/fesm2022/kirbydesign-designsystem-toggle-button.mjs +7 -7
  304. package/fesm2022/kirbydesign-designsystem-toggle.mjs +20 -7
  305. package/fesm2022/kirbydesign-designsystem-toggle.mjs.map +1 -1
  306. package/fesm2022/kirbydesign-designsystem-types.mjs +3 -3
  307. package/fesm2022/kirbydesign-designsystem.mjs +30 -129
  308. package/fesm2022/kirbydesign-designsystem.mjs.map +1 -1
  309. package/header/header.component.d.ts +5 -2
  310. package/helpers/chart-config-has-type.d.ts +1 -1
  311. package/icon/icon.component.d.ts +1 -4
  312. package/item/item.component.d.ts +11 -2
  313. package/lib/components/index.d.ts +0 -1
  314. package/lib/directives/modal-router-link/modal-router-link.directive.d.ts +2 -3
  315. package/lib/index.d.ts +0 -2
  316. package/lib/kirby.module.d.ts +32 -33
  317. package/modal/modal/services/modal.controller.d.ts +2 -2
  318. package/modal/modal/services/modal.helper.d.ts +1 -2
  319. package/modal/modal-navigation.service.d.ts +2 -5
  320. package/modal/modal-wrapper/modal-wrapper.component.d.ts +2 -2
  321. package/modal/modal.interfaces.d.ts +1 -8
  322. package/package.json +27 -33
  323. package/page/page.component.d.ts +1 -1
  324. package/radio/radio.component.d.ts +8 -4
  325. package/scss/base/_design-tokens.scss +1 -0
  326. package/scss/themes/design-tokens.scss +1 -0
  327. package/tabs/tab-button/tab-button.component.d.ts +1 -7
  328. package/testing-base/lib/components/index.d.ts +0 -7
  329. package/testing-base/lib/components/mock.avatar.component.d.ts +1 -1
  330. package/testing-base/lib/components/mock.button.component.d.ts +1 -1
  331. package/testing-base/lib/components/mock.empty-state.component.d.ts +1 -2
  332. package/testing-base/lib/components/mock.icon.component.d.ts +1 -2
  333. package/testing-base/lib/components/mock.page.component.d.ts +1 -1
  334. package/testing-base/lib/components/mock.tab-button.component.d.ts +2 -2
  335. package/testing-base/lib/kirby-testing-base.module.d.ts +68 -75
  336. package/testing-jasmine/lib/kirby-testing.module.d.ts +0 -1
  337. package/testing-jest/lib/kirby-testing.module.d.ts +0 -1
  338. package/toggle/toggle.component.d.ts +8 -4
  339. package/data-table/table/table.component.d.ts +0 -9
  340. package/data-table/table-row/table-row.component.d.ts +0 -11
  341. package/esm2022/data-table/table/table.component.mjs +0 -32
  342. package/esm2022/data-table/table-row/table-row.component.mjs +0 -46
  343. package/esm2022/lib/components/page-local-navigation/index.mjs +0 -2
  344. package/esm2022/lib/components/page-local-navigation/page-local-navigation-item.mjs +0 -2
  345. package/esm2022/lib/components/page-local-navigation/page-local-navigation.component.mjs +0 -78
  346. package/esm2022/lib/kirby-experimental.module.mjs +0 -24
  347. package/esm2022/modal/v2/footer/footer.component.mjs +0 -26
  348. package/esm2022/modal/v2/kirby-modal.module.mjs +0 -71
  349. package/esm2022/modal/v2/kirbydesign-designsystem-modal-v2.mjs +0 -5
  350. package/esm2022/modal/v2/modal/modal.component.mjs +0 -92
  351. package/esm2022/modal/v2/modal-routing/modal-routing.component.mjs +0 -32
  352. package/esm2022/modal/v2/public_api.mjs +0 -7
  353. package/esm2022/modal/v2/services/modal.controller.mjs +0 -51
  354. package/esm2022/modal/v2/wrapper/wrapper.component.mjs +0 -36
  355. package/esm2022/testing-base/lib/components/mock.footer.component.mjs +0 -31
  356. package/esm2022/testing-base/lib/components/mock.modal-routing.component.mjs +0 -27
  357. package/esm2022/testing-base/lib/components/mock.modal.component.mjs +0 -67
  358. package/esm2022/testing-base/lib/components/mock.page-local-navigation.component.mjs +0 -36
  359. package/esm2022/testing-base/lib/components/mock.table-row.component.mjs +0 -30
  360. package/esm2022/testing-base/lib/components/mock.table.component.mjs +0 -30
  361. package/esm2022/testing-base/lib/components/mock.wrapper.component.mjs +0 -35
  362. package/fesm2022/kirbydesign-designsystem-modal-v2.mjs +0 -289
  363. package/fesm2022/kirbydesign-designsystem-modal-v2.mjs.map +0 -1
  364. package/lib/components/page-local-navigation/index.d.ts +0 -2
  365. package/lib/components/page-local-navigation/page-local-navigation-item.d.ts +0 -21
  366. package/lib/components/page-local-navigation/page-local-navigation.component.d.ts +0 -21
  367. package/lib/kirby-experimental.module.d.ts +0 -14
  368. package/modal/v2/footer/footer.component.d.ts +0 -7
  369. package/modal/v2/index.d.ts +0 -5
  370. package/modal/v2/kirby-modal.module.d.ts +0 -15
  371. package/modal/v2/modal/modal.component.d.ts +0 -36
  372. package/modal/v2/modal-routing/modal-routing.component.d.ts +0 -15
  373. package/modal/v2/public_api.d.ts +0 -11
  374. package/modal/v2/services/modal.controller.d.ts +0 -35
  375. package/modal/v2/wrapper/wrapper.component.d.ts +0 -16
  376. package/testing-base/lib/components/mock.footer.component.d.ts +0 -7
  377. package/testing-base/lib/components/mock.modal-routing.component.d.ts +0 -5
  378. package/testing-base/lib/components/mock.modal.component.d.ts +0 -24
  379. package/testing-base/lib/components/mock.page-local-navigation.component.d.ts +0 -10
  380. package/testing-base/lib/components/mock.table-row.component.d.ts +0 -6
  381. package/testing-base/lib/components/mock.table.component.d.ts +0 -6
  382. package/testing-base/lib/components/mock.wrapper.component.d.ts +0 -10
package/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # designsystem
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Running unit tests
6
+
7
+ Run `nx test designsystem` to execute the unit tests.
@@ -5,6 +5,7 @@ export declare class AccordionItemComponent implements OnChanges {
5
5
  isExpanded: boolean;
6
6
  isDisabled: boolean;
7
7
  disabledTitle: string;
8
+ hasPadding: boolean;
8
9
  toggle: EventEmitter<boolean>;
9
10
  ngOnChanges(): void;
10
11
  getTitle(): string;
@@ -12,5 +13,5 @@ export declare class AccordionItemComponent implements OnChanges {
12
13
  _titleId: string;
13
14
  _contentId: string;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
15
- 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; }; }, { "toggle": "toggle"; }, never, ["*"], false, never>;
16
+ 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; }; }, { "toggle": "toggle"; }, never, ["*"], false, never>;
16
17
  }
@@ -1,3 +1,4 @@
1
+ import { EventEmitter } from '@angular/core';
1
2
  import { BrandColor, NotificationColor } from '@kirbydesign/core';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare enum AvatarSize {
@@ -14,7 +15,9 @@ export declare class AvatarComponent {
14
15
  overlay: boolean;
15
16
  size: AvatarSize | `${AvatarSize}`;
16
17
  themeColor: NotificationColor | BrandColor | 'medium' | 'white' | 'dark' | 'light' | 'semi-light';
18
+ imageError: EventEmitter<ErrorEvent>;
17
19
  get _cssClass(): ("xs" | "sm" | "md" | "lg" | AvatarSize | "success" | "warning" | "danger" | "primary" | "secondary" | "tertiary" | "medium" | "white" | "dark" | "light" | "semi-light")[];
20
+ onImageError($event: ErrorEvent): void;
18
21
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "kirby-avatar", never, { "imageSrc": { "alias": "imageSrc"; "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; }; }, {}, never, ["kirby-icon", "kirby-badge"], true, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "kirby-avatar", never, { "imageSrc": { "alias": "imageSrc"; "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>;
20
23
  }
@@ -33,5 +33,5 @@ export declare class ButtonComponent implements AfterContentInit {
33
33
  private wrapTextNode;
34
34
  ngAfterContentInit(): void;
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[kirby-button],Button[kirby-button]", never, { "attentionLevel": { "alias": "attentionLevel"; "required": false; }; "noDecoration": { "alias": "noDecoration"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "isFloating": { "alias": "isFloating"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showIconOnly": { "alias": "showIconOnly"; "required": false; }; }, {}, ["iconElementRef"], ["*"], true, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[kirby-button],Button[kirby-button],a[kirby-button]", never, { "attentionLevel": { "alias": "attentionLevel"; "required": false; }; "noDecoration": { "alias": "noDecoration"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "isFloating": { "alias": "isFloating"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showIconOnly": { "alias": "showIconOnly"; "required": false; }; }, {}, ["iconElementRef"], ["*"], true, never>;
37
37
  }
@@ -1,14 +1,13 @@
1
- import { ElementRef, OnInit } from '@angular/core';
1
+ import { ElementRef } from '@angular/core';
2
2
  import { CardComponent } from '../card.component';
3
3
  import * as i0 from "@angular/core";
4
- export declare class CardAsButtonDirective implements OnInit {
4
+ export declare class CardAsButtonDirective {
5
5
  private card;
6
6
  private clickableElement;
7
7
  role: string;
8
8
  tabindex: number;
9
9
  _pressed: boolean;
10
10
  constructor(card: CardComponent, clickableElement: ElementRef);
11
- ngOnInit(): void;
12
11
  _onKeydownHandler(event: KeyboardEvent): void;
13
12
  _onInactiveHandler(): void;
14
13
  static ɵfac: i0.ɵɵFactoryDeclaration<CardAsButtonDirective, [{ optional: true; }, null]>;
@@ -14,7 +14,7 @@ export declare class CardComponent implements OnInit, OnDestroy {
14
14
  set sizes(value: {
15
15
  [size: string]: number;
16
16
  });
17
- flat: boolean;
17
+ variant: 'elevated' | 'flat' | 'outlined';
18
18
  constructor(elementRef: ElementRef, resizeObserverService: ResizeObserverService, renderer: Renderer2);
19
19
  ngOnInit(): void;
20
20
  ngOnDestroy(): void;
@@ -22,5 +22,5 @@ export declare class CardComponent implements OnInit, OnDestroy {
22
22
  private compareSizesByBreakpoint;
23
23
  private handleResize;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
25
- 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; }; "flat": { "alias": "flat"; "required": false; }; }, {}, never, ["kirby-card-header", "*", "kirby-card-footer"], false, never>;
25
+ 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>;
26
26
  }
@@ -16,5 +16,5 @@ export declare class StockChartConfig extends ChartBaseConfig {
16
16
  static tooltipPlugin: Partial<TooltipOptions<'line'>>;
17
17
  static dataLabelsPluginConfig: Partial<import("chartjs-plugin-datalabels/types/options").Options>;
18
18
  static verticalLinePluginConfig: import("./vertical-line-plugin/vertical-line-plugin.model").VerticalLinePlugin;
19
- static getDataLabelPosition: (data: import("chart.js").ScatterDataPoint[], dataIndex: number) => import("chartjs-plugin-datalabels/types/options").Align;
19
+ static getDataLabelPosition: (data: import("chart.js").ScatterDataPoint[], dataIndex: number) => import("chartjs-plugin-datalabels/types/options").Align | null;
20
20
  }
@@ -1,4 +1,4 @@
1
1
  import { ActiveElement, Chart, ChartEvent, ChartOptions } from 'chart.js';
2
2
  export declare const CHART_INTERACTION_FUNCTIONS_EXTENSIONS: {
3
- onHover: (_event: ChartEvent, activeElements: ActiveElement[], _chart: Chart, callback: ChartOptions['onHover']) => void;
3
+ onHover: (_event: ChartEvent, activeElements: ActiveElement[], _chart: Chart, callback: ChartOptions["onHover"]) => void;
4
4
  };
@@ -1,8 +1,9 @@
1
- import { AfterViewInit, EventEmitter } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { IonicElementPartHelper } from '@kirbydesign/designsystem/helpers';
4
4
  import * as i0 from "@angular/core";
5
- export declare class CheckboxComponent implements AfterViewInit, ControlValueAccessor {
5
+ export declare class CheckboxComponent implements AfterViewInit, ControlValueAccessor, OnInit {
6
+ private element;
6
7
  private ionicElementPartHelper;
7
8
  private ionCheckboxElement?;
8
9
  checked: boolean;
@@ -15,7 +16,10 @@ export declare class CheckboxComponent implements AfterViewInit, ControlValueAcc
15
16
  get isAttentionLevel1(): boolean;
16
17
  get isAttentionLevel2(): boolean;
17
18
  checkedChange: EventEmitter<boolean>;
18
- constructor(ionicElementPartHelper: IonicElementPartHelper);
19
+ _justify: 'start' | 'end' | 'space-between';
20
+ _labelPlacement: 'end' | 'fixed' | 'stacked' | 'start';
21
+ constructor(element: ElementRef<HTMLElement>, ionicElementPartHelper: IonicElementPartHelper);
22
+ ngOnInit(): void;
19
23
  ngAfterViewInit(): void;
20
24
  onChecked(checked: boolean): void;
21
25
  onBlur(): void;
@@ -52,5 +56,5 @@ export declare class CheckboxComponent implements AfterViewInit, ControlValueAcc
52
56
  */
53
57
  setDisabledState?(isDisabled: boolean): void;
54
58
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "kirby-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "attentionLevel": { "alias": "attentionLevel"; "required": false; }; "text": { "alias": "text"; "required": false; }; "size": { "alias": "size"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "checkedChange": "checkedChange"; }, never, never, true, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "kirby-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "attentionLevel": { "alias": "attentionLevel"; "required": false; }; "text": { "alias": "text"; "required": false; }; "size": { "alias": "size"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "checkedChange": "checkedChange"; }, never, ["*"], true, never>;
56
60
  }
@@ -1,11 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./table/table.component";
3
- import * as i2 from "./table-row/table-row.component";
4
- import * as i3 from "./sortable/sortable.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@kirbydesign/designsystem/icon";
2
+ import * as i1 from "./sortable/sortable.component";
3
+ /**
4
+ * @deprecated 'DataTableModule' has been deprecated in favor of the standalone 'TableSortableComponent'.
5
+ * Please import 'TableSortableComponent' instead. 'DataTableModule' will be removed in Kirby v11.
6
+ */
7
7
  export declare class DataTableModule {
8
+ constructor();
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<DataTableModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<DataTableModule, [typeof i1.TableComponent, typeof i2.TableRowComponent, typeof i3.TableSortableComponent], [typeof i4.CommonModule, typeof i5.IconModule], [typeof i1.TableComponent, typeof i2.TableRowComponent, typeof i3.TableSortableComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DataTableModule, never, [typeof i1.TableSortableComponent], [typeof i1.TableSortableComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<DataTableModule>;
11
12
  }
@@ -1,4 +1,2 @@
1
1
  export * from './data-table.module';
2
2
  export * from './sortable/sortable.component';
3
- export * from './table-row/table-row.component';
4
- export * from './table/table.component';
@@ -13,5 +13,5 @@ export declare class TableSortableComponent implements AfterViewInit {
13
13
  spanElement: ElementRef;
14
14
  ngAfterViewInit(): void;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<TableSortableComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<TableSortableComponent, "th[sortable]", never, { "sortable": { "alias": "sortable"; "required": false; }; "active": { "alias": "active"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "iconAlignment": { "alias": "iconAlignment"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; }, {}, never, ["*"], false, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableSortableComponent, "th[sortable]", never, { "sortable": { "alias": "sortable"; "required": false; }; "active": { "alias": "active"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "iconAlignment": { "alias": "iconAlignment"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; }, {}, never, ["*"], true, never>;
17
17
  }
@@ -2,7 +2,6 @@ import { AfterContentInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class EmptyStateComponent implements AfterContentInit {
4
4
  iconName: string;
5
- set customIconName(customName: string);
6
5
  title: string;
7
6
  subtitle: string;
8
7
  private slottedButtons;
@@ -13,5 +12,5 @@ export declare class EmptyStateComponent implements AfterContentInit {
13
12
  */
14
13
  private enforceAttentionLevelRules;
15
14
  static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "kirby-empty-state", never, { "iconName": { "alias": "iconName"; "required": false; }; "customIconName": { "alias": "customIconName"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; }, {}, ["slottedButtons"], ["*"], false, never>;
15
+ 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>;
17
16
  }
@@ -8,6 +8,7 @@ export class AccordionItemComponent {
8
8
  constructor() {
9
9
  this.isExpanded = false;
10
10
  this.isDisabled = false;
11
+ this.hasPadding = true;
11
12
  this.toggle = new EventEmitter();
12
13
  // IDs used for a11y labelling
13
14
  this._titleId = `kirby-accordion-item-title-${++uniqueId}`;
@@ -33,8 +34,8 @@ export class AccordionItemComponent {
33
34
  this.isExpanded = !this.isExpanded && !this.isDisabled;
34
35
  this.toggle.emit(this.isExpanded);
35
36
  }
36
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: AccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
37
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: AccordionItemComponent, selector: "kirby-accordion-item", inputs: { title: "title", isExpanded: "isExpanded", isDisabled: "isDisabled", disabledTitle: "disabledTitle" }, outputs: { toggle: "toggle" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"content-layer\">\n <div\n (click)=\"_onToggleExpanded($event)\"\n (keydown.ENTER)=\"_onToggleExpanded($event)\"\n (keydown.space)=\"_onToggleExpanded($event)\"\n class=\"header\"\n role=\"button\"\n [class.disabled]=\"isDisabled\"\n [tabindex]=\"isDisabled ? -1 : 0\"\n [class.expanded]=\"isExpanded\"\n [attr.aria-disabled]=\"isDisabled ? true : undefined\"\n [attr.aria-expanded]=\"isExpanded\"\n [attr.aria-controls]=\"_contentId\"\n [id]=\"_titleId\"\n >\n <span class=\"state-layer\" aria-hidden=\"true\"></span>\n <div class=\"title\">{{ getTitle() }}</div>\n <kirby-icon name=\"arrow-down\"></kirby-icon>\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\">\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;display:block;border-top:1px solid var(--kirby-medium);border-bottom:1px solid var(--kirby-medium)}: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))}.header{display:flex;align-items:center;height:56px;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none}@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)}.title{flex-grow:2}.kirby-icon{transition:transform .2s}.content{overflow:hidden;cursor:default}.content-body{padding:0 16px 16px}.disabled{pointer-events:none}.disabled .kirby-icon{color:var(--kirby-semi-dark)}.disabled .title{color:var(--kirby-text-color-semi-dark)}.expanded .title{font-weight:700}.expanded .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", "customName"] }], animations: [
37
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: AccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
38
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: AccordionItemComponent, selector: "kirby-accordion-item", inputs: { title: "title", isExpanded: "isExpanded", isDisabled: "isDisabled", disabledTitle: "disabledTitle", hasPadding: "hasPadding" }, outputs: { toggle: "toggle" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"content-layer\">\n <div\n (click)=\"_onToggleExpanded($event)\"\n (keydown.ENTER)=\"_onToggleExpanded($event)\"\n (keydown.space)=\"_onToggleExpanded($event)\"\n class=\"header\"\n role=\"button\"\n [class.disabled]=\"isDisabled\"\n [tabindex]=\"isDisabled ? -1 : 0\"\n [class.expanded]=\"isExpanded\"\n [attr.aria-disabled]=\"isDisabled ? true : undefined\"\n [attr.aria-expanded]=\"isExpanded\"\n [attr.aria-controls]=\"_contentId\"\n [id]=\"_titleId\"\n >\n <span class=\"state-layer\" aria-hidden=\"true\"></span>\n <div class=\"title\">{{ getTitle() }}</div>\n <kirby-icon name=\"arrow-down\"></kirby-icon>\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;display:block;border-top:1px solid var(--kirby-medium);border-bottom:1px solid var(--kirby-medium)}: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))}.header{display:flex;align-items:center;height:56px;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none}@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)}.title{flex-grow:2}.kirby-icon{transition:transform .2s}.content{overflow:hidden;cursor:default}.content-body.padding{padding:0 16px 16px}.disabled{pointer-events:none}.disabled .kirby-icon{color:var(--kirby-semi-dark)}.disabled .title{color:var(--kirby-text-color-semi-dark)}.expanded .title{font-weight:700}.expanded .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: [
38
39
  trigger('isExpanded', [
39
40
  state('true', style({ height: '*', visibility: 'visible' })),
40
41
  state('false', style({ height: '0px', visibility: 'hidden' })),
@@ -42,7 +43,7 @@ export class AccordionItemComponent {
42
43
  ]),
43
44
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
44
45
  }
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: AccordionItemComponent, decorators: [{
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: AccordionItemComponent, decorators: [{
46
47
  type: Component,
47
48
  args: [{ selector: 'kirby-accordion-item', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
48
49
  trigger('isExpanded', [
@@ -50,7 +51,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
50
51
  state('false', style({ height: '0px', visibility: 'hidden' })),
51
52
  transition('true <=> false', animate('0.2s')),
52
53
  ]),
53
- ], template: "<div class=\"content-layer\">\n <div\n (click)=\"_onToggleExpanded($event)\"\n (keydown.ENTER)=\"_onToggleExpanded($event)\"\n (keydown.space)=\"_onToggleExpanded($event)\"\n class=\"header\"\n role=\"button\"\n [class.disabled]=\"isDisabled\"\n [tabindex]=\"isDisabled ? -1 : 0\"\n [class.expanded]=\"isExpanded\"\n [attr.aria-disabled]=\"isDisabled ? true : undefined\"\n [attr.aria-expanded]=\"isExpanded\"\n [attr.aria-controls]=\"_contentId\"\n [id]=\"_titleId\"\n >\n <span class=\"state-layer\" aria-hidden=\"true\"></span>\n <div class=\"title\">{{ getTitle() }}</div>\n <kirby-icon name=\"arrow-down\"></kirby-icon>\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\">\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;display:block;border-top:1px solid var(--kirby-medium);border-bottom:1px solid var(--kirby-medium)}: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))}.header{display:flex;align-items:center;height:56px;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none}@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)}.title{flex-grow:2}.kirby-icon{transition:transform .2s}.content{overflow:hidden;cursor:default}.content-body{padding:0 16px 16px}.disabled{pointer-events:none}.disabled .kirby-icon{color:var(--kirby-semi-dark)}.disabled .title{color:var(--kirby-text-color-semi-dark)}.expanded .title{font-weight:700}.expanded .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"] }]
54
+ ], template: "<div class=\"content-layer\">\n <div\n (click)=\"_onToggleExpanded($event)\"\n (keydown.ENTER)=\"_onToggleExpanded($event)\"\n (keydown.space)=\"_onToggleExpanded($event)\"\n class=\"header\"\n role=\"button\"\n [class.disabled]=\"isDisabled\"\n [tabindex]=\"isDisabled ? -1 : 0\"\n [class.expanded]=\"isExpanded\"\n [attr.aria-disabled]=\"isDisabled ? true : undefined\"\n [attr.aria-expanded]=\"isExpanded\"\n [attr.aria-controls]=\"_contentId\"\n [id]=\"_titleId\"\n >\n <span class=\"state-layer\" aria-hidden=\"true\"></span>\n <div class=\"title\">{{ getTitle() }}</div>\n <kirby-icon name=\"arrow-down\"></kirby-icon>\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;display:block;border-top:1px solid var(--kirby-medium);border-bottom:1px solid var(--kirby-medium)}: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))}.header{display:flex;align-items:center;height:56px;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none}@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)}.title{flex-grow:2}.kirby-icon{transition:transform .2s}.content{overflow:hidden;cursor:default}.content-body.padding{padding:0 16px 16px}.disabled{pointer-events:none}.disabled .kirby-icon{color:var(--kirby-semi-dark)}.disabled .title{color:var(--kirby-text-color-semi-dark)}.expanded .title{font-weight:700}.expanded .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"] }]
54
55
  }], propDecorators: { title: [{
55
56
  type: Input
56
57
  }], isExpanded: [{
@@ -59,7 +60,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
59
60
  type: Input
60
61
  }], disabledTitle: [{
61
62
  type: Input
63
+ }], hasPadding: [{
64
+ type: Input
62
65
  }], toggle: [{
63
66
  type: Output
64
67
  }] } });
65
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vYWNjb3JkaW9uL3NyYy9hY2NvcmRpb24taXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi9hY2NvcmRpb24vc3JjL2FjY29yZGlvbi1pdGVtLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDakYsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFFTCxNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7OztBQUV2Qiw0Q0FBNEM7QUFDNUMsSUFBSSxRQUFRLEdBQUcsQ0FBQyxDQUFDO0FBZWpCLE1BQU0sT0FBTyxzQkFBc0I7SUFibkM7UUFlVyxlQUFVLEdBQVksS0FBSyxDQUFDO1FBQzVCLGVBQVUsR0FBWSxLQUFLLENBQUM7UUFFM0IsV0FBTSxHQUEwQixJQUFJLFlBQVksRUFBVyxDQUFDO1FBd0J0RSw4QkFBOEI7UUFDOUIsYUFBUSxHQUFHLDhCQUE4QixFQUFFLFFBQVEsRUFBRSxDQUFDO1FBQ3RELGVB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NhYmxlZCA/IC0xIDogMFwiXG4gICAgW2NsYXNzLmV4cGFuZGVkXT1cImlzRXhwYW5kZWRcIlxuICAgIFthdHRyLmFyaWEtZGlzYWJsZWRdPVwiaXNEaXNhYmxlZCA/IHRydWUgOiB1bmRlZmluZWRcIlxuICAgIFthdHRyLmFyaWEtZXhwYW5kZWRdPVwiaXNFeHBhbmRlZFwiXG4gICAgW2F0dHIuYXJpYS1jb250cm9sc109XCJfY29udGVudElkXCJcbiAgICBbaWRdPVwiX3RpdGxlSWRcIlxuICA+XG4gICAgPHNwYW4gY2xhc3M9XCJzdGF0ZS1sYXllclwiIGFyaWEtaGlkZGVuPVwidHJ1ZVwiPjwvc3Bhbj5cbiAgICA8ZGl2IGNsYXNzPVwidGl0bGVcIj57eyBnZXRUaXRsZSgpIH19PC9kaXY+XG4gICAgPGtpcmJ5LWljb24gbmFtZT1cImFycm93LWRvd25cIj48L2tpcmJ5LWljb24+XG4gIDwvZGl2PlxuICA8ZGl2XG4gICAgY2xhc3M9XCJjb250ZW50XCJcbiAgICByb2xlPVwicmVnaW9uXCJcbiAgICBbYXR0ci5hcmlhLWxhYmVsbGVkYnldPVwiX3RpdGxlSWRcIlxuICAgIFtpZF09XCJfY29udGVudElkXCJcbiAgICBbQGlzRXhwYW5kZWRdPVwiISFpc0V4cGFuZGVkXCJcbiAgPlxuICAgIDxkaXYgY2xhc3M9XCJjb250ZW50LWJvZHlcIiBbY2xhc3MucGFkZGluZ109XCJoYXNQYWRkaW5nXCI+XG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
@@ -1,10 +1,10 @@
1
1
  import { Directive } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export class AccordionDirective {
4
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: AccordionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.3", type: AccordionDirective, selector: "[kirbyAccordion], kirby-accordion", exportAs: ["kirby-accordion"], ngImport: i0 }); }
4
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: AccordionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.4", type: AccordionDirective, selector: "[kirbyAccordion], kirby-accordion", exportAs: ["kirby-accordion"], ngImport: i0 }); }
6
6
  }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: AccordionDirective, decorators: [{
7
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: AccordionDirective, decorators: [{
8
8
  type: Directive,
9
9
  args: [{
10
10
  selector: '[kirbyAccordion], kirby-accordion',
@@ -5,11 +5,11 @@ import { AccordionDirective } from './accordion.directive';
5
5
  import * as i0 from "@angular/core";
6
6
  const declarations = [AccordionDirective, AccordionItemComponent];
7
7
  export class AccordionModule {
8
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: AccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.3", ngImport: i0, type: AccordionModule, declarations: [AccordionDirective, AccordionItemComponent], imports: [IconModule], exports: [AccordionDirective, AccordionItemComponent] }); }
10
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: AccordionModule, imports: [IconModule] }); }
8
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: AccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.4", ngImport: i0, type: AccordionModule, declarations: [AccordionDirective, AccordionItemComponent], imports: [IconModule], exports: [AccordionDirective, AccordionItemComponent] }); }
10
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: AccordionModule, imports: [IconModule] }); }
11
11
  }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: AccordionModule, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: AccordionModule, decorators: [{
13
13
  type: NgModule,
14
14
  args: [{
15
15
  declarations: [...declarations],
@@ -94,10 +94,10 @@ export class ActionGroupComponent {
94
94
  text: button.textContent.trim(),
95
95
  }));
96
96
  }
97
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: ActionGroupComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ACTIONGROUP_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
98
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", 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 <kirby-item\n *ngFor=\"let action of _collapsedActions\"\n [selectable]=\"true\"\n (click)=\"onActionSelect(action)\"\n >\n {{ action.text }}\n </kirby-item>\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: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: ItemModule }, { kind: "component", type: i2.ItemComponent, selector: "kirby-item", inputs: ["disabled", "selected", "disclosure", "selectable", "reorderable", "size", "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 }); }
97
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: ActionGroupComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ACTIONGROUP_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
98
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", 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 <kirby-item\n *ngFor=\"let action of _collapsedActions\"\n [selectable]=\"true\"\n (click)=\"onActionSelect(action)\"\n >\n {{ action.text }}\n </kirby-item>\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: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: ItemModule }, { kind: "component", type: i2.ItemComponent, selector: "kirby-item", inputs: ["disabled", "selected", "disclosure", "selectable", "reorderable", "size", "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 }); }
99
99
  }
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: ActionGroupComponent, decorators: [{
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: ActionGroupComponent, decorators: [{
101
101
  type: Component,
102
102
  args: [{ selector: 'kirby-action-group', standalone: true, imports: [CommonModule, ButtonComponent, ItemModule, MenuComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"button[kirby-button]\"></ng-content>\n\n<kirby-menu [placement]=\"'bottom-end'\">\n <kirby-item\n *ngFor=\"let action of _collapsedActions\"\n [selectable]=\"true\"\n (click)=\"onActionSelect(action)\"\n >\n {{ action.text }}\n </kirby-item>\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"] }]
103
103
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
@@ -1,5 +1,5 @@
1
1
  import { CommonModule } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, HostBinding, Input } from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, Output, } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@angular/common";
5
5
  export var AvatarSize;
@@ -12,16 +12,20 @@ export var AvatarSize;
12
12
  export class AvatarComponent {
13
13
  constructor() {
14
14
  this.size = AvatarSize.SM;
15
+ this.imageError = new EventEmitter();
15
16
  }
16
17
  get _cssClass() {
17
18
  return [this.themeColor, this.size].filter((cssClass) => !!cssClass);
18
19
  }
19
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: AvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
20
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: AvatarComponent, isStandalone: true, selector: "kirby-avatar", inputs: { imageSrc: "imageSrc", altText: "altText", stroke: "stroke", text: "text", overlay: "overlay", size: "size", themeColor: "themeColor" }, host: { properties: { "class": "this._cssClass" } }, ngImport: i0, template: "<div class=\"avatar\" [ngClass]=\"{ overlay: overlay, stroke: stroke }\">\n <img *ngIf=\"imageSrc\" [src]=\"imageSrc\" [attr.alt]=\"altText\" />\n <ng-content *ngIf=\"!text\" select=\"kirby-icon\"></ng-content>\n <span class=\"avatar-text\" *ngIf=\"text\">{{ text }}</span>\n</div>\n<ng-content select=\"kirby-badge\"></ng-content>\n", styles: [":host{--kirby-badge-position: absolute;--kirby-badge-right: -2px;--kirby-badge-top: -2px;--kirby-badge-z-index: 2;position:relative}.avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;position:relative;z-index:1;display:flex;justify-content:center;align-items:center;background-color:var(--kirby-white);color:var(--kirby-light-contrast);--kirby-icon-font-size: 24px}.avatar.stroke{border:1px solid var(--kirby-semi-light)}.avatar.overlay:before{content:\"\";background-color:var(--kirby-black);opacity:.05;width:100%;height:100%;position:absolute;top:0;left:0}.avatar img{object-fit:cover;max-width:100%;height:100%;width:100%}:host(.xs) .avatar{width:32px;height:32px;border-radius:8px}:host(.xs) .avatar .avatar-text{font-size:14px}:host-context(kirby-progress-circle.sm) .avatar,:host(.sm) .avatar{width:40px;height:40px}:host-context(kirby-progress-circle.sm) .avatar .avatar-text,:host(.sm) .avatar .avatar-text{font-size:14px}:host-context(kirby-progress-circle.md),:host(.md){--kirby-badge-right: 0px;--kirby-badge-top: 0px}:host-context(kirby-progress-circle.md) .avatar,:host(.md) .avatar{width:56px;height:56px;--kirby-icon-font-size: 32px}:host-context(kirby-progress-circle.md) .avatar .avatar-text,:host(.md) .avatar .avatar-text{font-size:18px}:host-context(kirby-progress-circle.lg),:host(.lg){--kirby-badge-right: 6px;--kirby-badge-top: 6px}:host-context(kirby-progress-circle.lg) .avatar,:host(.lg) .avatar{width:96px;height:96px;--kirby-icon-font-size: 56px}:host-context(kirby-progress-circle.lg) .avatar .avatar-text,:host(.lg) .avatar .avatar-text{font-size:32px}:host-context(kirby-item)[slot=start]{margin-inline-end:12px}:host-context(kirby-item)[slot=start].xs{margin-inline-end:16px}:host(.primary) .avatar{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}:host(.secondary) .avatar{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}:host(.tertiary) .avatar{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}:host(.success) .avatar{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}:host(.warning) .avatar{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}:host(.danger) .avatar{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}:host(.white-overlay) .avatar{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}:host(.light) .avatar{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}:host(.medium) .avatar{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}:host(.dark) .avatar{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}:host(.dark-overlay) .avatar{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}:host(.white) .avatar{background-color:var(--kirby-white);color:var(--kirby-white-contrast)}:host(.semi-light) .avatar{background-color:var(--kirby-semi-light);color:var(--kirby-semi-light-contrast)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
20
+ onImageError($event) {
21
+ this.imageError.emit($event);
22
+ }
23
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: AvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
24
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: AvatarComponent, isStandalone: true, selector: "kirby-avatar", inputs: { imageSrc: "imageSrc", altText: "altText", stroke: "stroke", text: "text", overlay: "overlay", size: "size", themeColor: "themeColor" }, outputs: { imageError: "imageError" }, host: { properties: { "class": "this._cssClass" } }, ngImport: i0, template: "<div class=\"avatar\" [ngClass]=\"{ overlay: overlay, stroke: stroke }\">\n <img *ngIf=\"imageSrc\" [src]=\"imageSrc\" [attr.alt]=\"altText\" (error)=\"onImageError($event)\" />\n <ng-content *ngIf=\"!text\" select=\"kirby-icon\"></ng-content>\n <span class=\"avatar-text\" *ngIf=\"text\">{{ text }}</span>\n</div>\n<ng-content select=\"kirby-badge\"></ng-content>\n", styles: [":host{--kirby-badge-position: absolute;--kirby-badge-right: -2px;--kirby-badge-top: -2px;--kirby-badge-z-index: 2;position:relative}.avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;position:relative;z-index:1;display:flex;justify-content:center;align-items:center;background-color:var(--kirby-white);color:var(--kirby-light-contrast);--kirby-icon-font-size: 24px}.avatar.stroke{border:1px solid var(--kirby-semi-light)}.avatar.overlay:before{content:\"\";background-color:var(--kirby-black);opacity:.05;width:100%;height:100%;position:absolute;top:0;left:0}.avatar img{object-fit:cover;max-width:100%;height:100%;width:100%}:host(.xs) .avatar{width:32px;height:32px;border-radius:8px}:host(.xs) .avatar .avatar-text{font-size:14px}:host-context(kirby-progress-circle.sm) .avatar,:host(.sm) .avatar{width:40px;height:40px}:host-context(kirby-progress-circle.sm) .avatar .avatar-text,:host(.sm) .avatar .avatar-text{font-size:14px}:host-context(kirby-progress-circle.md),:host(.md){--kirby-badge-right: 0px;--kirby-badge-top: 0px}:host-context(kirby-progress-circle.md) .avatar,:host(.md) .avatar{width:56px;height:56px;--kirby-icon-font-size: 32px}:host-context(kirby-progress-circle.md) .avatar .avatar-text,:host(.md) .avatar .avatar-text{font-size:18px}:host-context(kirby-progress-circle.lg),:host(.lg){--kirby-badge-right: 6px;--kirby-badge-top: 6px}:host-context(kirby-progress-circle.lg) .avatar,:host(.lg) .avatar{width:96px;height:96px;--kirby-icon-font-size: 56px}:host-context(kirby-progress-circle.lg) .avatar .avatar-text,:host(.lg) .avatar .avatar-text{font-size:32px}:host-context(kirby-item)[slot=start]{margin-inline-end:12px}:host-context(kirby-item)[slot=start].xs{margin-inline-end:16px}:host(.primary) .avatar{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}:host(.secondary) .avatar{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}:host(.tertiary) .avatar{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}:host(.success) .avatar{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}:host(.warning) .avatar{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}:host(.danger) .avatar{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}:host(.white-overlay) .avatar{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}:host(.light) .avatar{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}:host(.medium) .avatar{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}:host(.dark) .avatar{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}:host(.dark-overlay) .avatar{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}:host(.white) .avatar{background-color:var(--kirby-white);color:var(--kirby-white-contrast)}:host(.semi-light) .avatar{background-color:var(--kirby-semi-light);color:var(--kirby-semi-light-contrast)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
21
25
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: AvatarComponent, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: AvatarComponent, decorators: [{
23
27
  type: Component,
24
- args: [{ standalone: true, imports: [CommonModule], selector: 'kirby-avatar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"avatar\" [ngClass]=\"{ overlay: overlay, stroke: stroke }\">\n <img *ngIf=\"imageSrc\" [src]=\"imageSrc\" [attr.alt]=\"altText\" />\n <ng-content *ngIf=\"!text\" select=\"kirby-icon\"></ng-content>\n <span class=\"avatar-text\" *ngIf=\"text\">{{ text }}</span>\n</div>\n<ng-content select=\"kirby-badge\"></ng-content>\n", styles: [":host{--kirby-badge-position: absolute;--kirby-badge-right: -2px;--kirby-badge-top: -2px;--kirby-badge-z-index: 2;position:relative}.avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;position:relative;z-index:1;display:flex;justify-content:center;align-items:center;background-color:var(--kirby-white);color:var(--kirby-light-contrast);--kirby-icon-font-size: 24px}.avatar.stroke{border:1px solid var(--kirby-semi-light)}.avatar.overlay:before{content:\"\";background-color:var(--kirby-black);opacity:.05;width:100%;height:100%;position:absolute;top:0;left:0}.avatar img{object-fit:cover;max-width:100%;height:100%;width:100%}:host(.xs) .avatar{width:32px;height:32px;border-radius:8px}:host(.xs) .avatar .avatar-text{font-size:14px}:host-context(kirby-progress-circle.sm) .avatar,:host(.sm) .avatar{width:40px;height:40px}:host-context(kirby-progress-circle.sm) .avatar .avatar-text,:host(.sm) .avatar .avatar-text{font-size:14px}:host-context(kirby-progress-circle.md),:host(.md){--kirby-badge-right: 0px;--kirby-badge-top: 0px}:host-context(kirby-progress-circle.md) .avatar,:host(.md) .avatar{width:56px;height:56px;--kirby-icon-font-size: 32px}:host-context(kirby-progress-circle.md) .avatar .avatar-text,:host(.md) .avatar .avatar-text{font-size:18px}:host-context(kirby-progress-circle.lg),:host(.lg){--kirby-badge-right: 6px;--kirby-badge-top: 6px}:host-context(kirby-progress-circle.lg) .avatar,:host(.lg) .avatar{width:96px;height:96px;--kirby-icon-font-size: 56px}:host-context(kirby-progress-circle.lg) .avatar .avatar-text,:host(.lg) .avatar .avatar-text{font-size:32px}:host-context(kirby-item)[slot=start]{margin-inline-end:12px}:host-context(kirby-item)[slot=start].xs{margin-inline-end:16px}:host(.primary) .avatar{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}:host(.secondary) .avatar{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}:host(.tertiary) .avatar{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}:host(.success) .avatar{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}:host(.warning) .avatar{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}:host(.danger) .avatar{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}:host(.white-overlay) .avatar{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}:host(.light) .avatar{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}:host(.medium) .avatar{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}:host(.dark) .avatar{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}:host(.dark-overlay) .avatar{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}:host(.white) .avatar{background-color:var(--kirby-white);color:var(--kirby-white-contrast)}:host(.semi-light) .avatar{background-color:var(--kirby-semi-light);color:var(--kirby-semi-light-contrast)}\n"] }]
28
+ args: [{ standalone: true, imports: [CommonModule], selector: 'kirby-avatar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"avatar\" [ngClass]=\"{ overlay: overlay, stroke: stroke }\">\n <img *ngIf=\"imageSrc\" [src]=\"imageSrc\" [attr.alt]=\"altText\" (error)=\"onImageError($event)\" />\n <ng-content *ngIf=\"!text\" select=\"kirby-icon\"></ng-content>\n <span class=\"avatar-text\" *ngIf=\"text\">{{ text }}</span>\n</div>\n<ng-content select=\"kirby-badge\"></ng-content>\n", styles: [":host{--kirby-badge-position: absolute;--kirby-badge-right: -2px;--kirby-badge-top: -2px;--kirby-badge-z-index: 2;position:relative}.avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;position:relative;z-index:1;display:flex;justify-content:center;align-items:center;background-color:var(--kirby-white);color:var(--kirby-light-contrast);--kirby-icon-font-size: 24px}.avatar.stroke{border:1px solid var(--kirby-semi-light)}.avatar.overlay:before{content:\"\";background-color:var(--kirby-black);opacity:.05;width:100%;height:100%;position:absolute;top:0;left:0}.avatar img{object-fit:cover;max-width:100%;height:100%;width:100%}:host(.xs) .avatar{width:32px;height:32px;border-radius:8px}:host(.xs) .avatar .avatar-text{font-size:14px}:host-context(kirby-progress-circle.sm) .avatar,:host(.sm) .avatar{width:40px;height:40px}:host-context(kirby-progress-circle.sm) .avatar .avatar-text,:host(.sm) .avatar .avatar-text{font-size:14px}:host-context(kirby-progress-circle.md),:host(.md){--kirby-badge-right: 0px;--kirby-badge-top: 0px}:host-context(kirby-progress-circle.md) .avatar,:host(.md) .avatar{width:56px;height:56px;--kirby-icon-font-size: 32px}:host-context(kirby-progress-circle.md) .avatar .avatar-text,:host(.md) .avatar .avatar-text{font-size:18px}:host-context(kirby-progress-circle.lg),:host(.lg){--kirby-badge-right: 6px;--kirby-badge-top: 6px}:host-context(kirby-progress-circle.lg) .avatar,:host(.lg) .avatar{width:96px;height:96px;--kirby-icon-font-size: 56px}:host-context(kirby-progress-circle.lg) .avatar .avatar-text,:host(.lg) .avatar .avatar-text{font-size:32px}:host-context(kirby-item)[slot=start]{margin-inline-end:12px}:host-context(kirby-item)[slot=start].xs{margin-inline-end:16px}:host(.primary) .avatar{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}:host(.secondary) .avatar{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}:host(.tertiary) .avatar{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}:host(.success) .avatar{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}:host(.warning) .avatar{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}:host(.danger) .avatar{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}:host(.white-overlay) .avatar{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}:host(.light) .avatar{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}:host(.medium) .avatar{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}:host(.dark) .avatar{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}:host(.dark-overlay) .avatar{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}:host(.white) .avatar{background-color:var(--kirby-white);color:var(--kirby-white-contrast)}:host(.semi-light) .avatar{background-color:var(--kirby-semi-light);color:var(--kirby-semi-light-contrast)}\n"] }]
25
29
  }], propDecorators: { imageSrc: [{
26
30
  type: Input
27
31
  }], altText: [{
@@ -36,8 +40,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
36
40
  type: Input
37
41
  }], themeColor: [{
38
42
  type: Input
43
+ }], imageError: [{
44
+ type: Output
39
45
  }], _cssClass: [{
40
46
  type: HostBinding,
41
47
  args: ['class']
42
48
  }] } });
43
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2F2YXRhci9zcmMvYXZhdGFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uL2F2YXRhci9zcmMvYXZhdGFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQ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WRnZVwiPjwvbmctY29udGVudD5cbiJdfQ==
@@ -9,10 +9,10 @@ export class BadgeComponent {
9
9
  constructor() {
10
10
  this.size = 'md';
11
11
  }
12
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: BadgeComponent, isStandalone: true, selector: "kirby-badge", inputs: { text: "text", size: "size" }, host: { properties: { "class": "this.size" } }, hostDirectives: [{ directive: i1.ThemeColorDirective, inputs: ["themeColor", "themeColor"] }], ngImport: i0, template: "<ion-badge>\n <span *ngIf=\"size === 'sm'\"></span>\n <ng-content *ngIf=\"!text && size === 'md'\"></ng-content>\n <ng-container *ngIf=\"text && size === 'md'\">{{ text }}</ng-container>\n</ion-badge>\n", styles: [":host{position:var(--kirby-badge-position, relative);left:var(--kirby-badge-left, auto);right:var(--kirby-badge-right, auto);top:var(--kirby-badge-top, auto);z-index:var(--kirby-badge-z-index, auto);font-size:10px;line-height:1}:host ion-badge{--background: var(--kirby-badge-background-color, var(--kirby-white));--color: var(--kirby-badge-color, var(--kirby-white-contrast));box-sizing:border-box;border-radius:8px;font-size:inherit;position:relative;box-shadow:var(--kirby-badge-elevation, none)}:host ion-badge ::ng-deep>kirby-icon{--kirby-icon-font-size: 16px;position:absolute;top:0;left:0}:host(.sm) ion-badge{padding:initial;min-height:initial;min-width:initial;height:8px;width:8px}:host(.md) ion-badge{--padding-top: 3px;--padding-end: 5px;--padding-bottom: 3px;--padding-start: 5px;min-width:16px;min-height:16px}:host(.success) ion-badge{--background: var(--kirby-success);--color: var(--kirby-badge-color, var(--kirby-success-contrast))}:host(.warning) ion-badge{--background: var(--kirby-warning);--color: var(--kirby-badge-color, var(--kirby-warning-contrast))}:host(.danger) ion-badge{--background: var(--kirby-danger);--color: var(--kirby-badge-color, var(--kirby-text-color-white))}:host(.default) ion-badge,:host(.white) ion-badge{--kirby-badge-elevation: 0 20px 30px -15px rgb(28 28 28 / 30%), 0 0 5px 0 rgb(28 28 28 / 12%)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IonBadge, selector: "ion-badge", inputs: ["color", "mode"] }] }); }
12
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: BadgeComponent, isStandalone: true, selector: "kirby-badge", inputs: { text: "text", size: "size" }, host: { properties: { "class": "this.size" } }, hostDirectives: [{ directive: i1.ThemeColorDirective, inputs: ["themeColor", "themeColor"] }], ngImport: i0, template: "<ion-badge>\n <span *ngIf=\"size === 'sm'\"></span>\n <ng-content *ngIf=\"!text && size === 'md'\"></ng-content>\n <ng-container *ngIf=\"text && size === 'md'\">{{ text }}</ng-container>\n</ion-badge>\n", styles: [":host{position:var(--kirby-badge-position, relative);left:var(--kirby-badge-left, auto);right:var(--kirby-badge-right, auto);top:var(--kirby-badge-top, auto);z-index:var(--kirby-badge-z-index, auto);font-size:10px;line-height:1}:host ion-badge{--background: var(--kirby-badge-background-color, var(--kirby-white));--color: var(--kirby-badge-color, var(--kirby-white-contrast));box-sizing:border-box;border-radius:8px;font-size:inherit;position:relative;box-shadow:var(--kirby-badge-elevation, none)}:host ion-badge ::ng-deep>kirby-icon{--kirby-icon-font-size: 16px;position:absolute;top:0;left:0}:host(.sm) ion-badge{padding:initial;min-height:initial;min-width:initial;height:8px;width:8px}:host(.md) ion-badge{--padding-top: 3px;--padding-end: 5px;--padding-bottom: 3px;--padding-start: 5px;min-width:16px;min-height:16px}:host(.success) ion-badge{--background: var(--kirby-success);--color: var(--kirby-badge-color, var(--kirby-success-contrast))}:host(.warning) ion-badge{--background: var(--kirby-warning);--color: var(--kirby-badge-color, var(--kirby-warning-contrast))}:host(.danger) ion-badge{--background: var(--kirby-danger);--color: var(--kirby-badge-color, var(--kirby-text-color-white))}:host(.default) ion-badge,:host(.white) ion-badge{--kirby-badge-elevation: 0 20px 30px -15px rgb(28 28 28 / 30%), 0 0 5px 0 rgb(28 28 28 / 12%)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IonBadge, selector: "ion-badge", inputs: ["color", "mode"] }] }); }
14
14
  }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: BadgeComponent, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: BadgeComponent, decorators: [{
16
16
  type: Component,
17
17
  args: [{ selector: 'kirby-badge', standalone: true, imports: [CommonModule, IonBadge], hostDirectives: [{ directive: ThemeColorDirective, inputs: ['themeColor'] }], template: "<ion-badge>\n <span *ngIf=\"size === 'sm'\"></span>\n <ng-content *ngIf=\"!text && size === 'md'\"></ng-content>\n <ng-container *ngIf=\"text && size === 'md'\">{{ text }}</ng-container>\n</ion-badge>\n", styles: [":host{position:var(--kirby-badge-position, relative);left:var(--kirby-badge-left, auto);right:var(--kirby-badge-right, auto);top:var(--kirby-badge-top, auto);z-index:var(--kirby-badge-z-index, auto);font-size:10px;line-height:1}:host ion-badge{--background: var(--kirby-badge-background-color, var(--kirby-white));--color: var(--kirby-badge-color, var(--kirby-white-contrast));box-sizing:border-box;border-radius:8px;font-size:inherit;position:relative;box-shadow:var(--kirby-badge-elevation, none)}:host ion-badge ::ng-deep>kirby-icon{--kirby-icon-font-size: 16px;position:absolute;top:0;left:0}:host(.sm) ion-badge{padding:initial;min-height:initial;min-width:initial;height:8px;width:8px}:host(.md) ion-badge{--padding-top: 3px;--padding-end: 5px;--padding-bottom: 3px;--padding-start: 5px;min-width:16px;min-height:16px}:host(.success) ion-badge{--background: var(--kirby-success);--color: var(--kirby-badge-color, var(--kirby-success-contrast))}:host(.warning) ion-badge{--background: var(--kirby-warning);--color: var(--kirby-badge-color, var(--kirby-warning-contrast))}:host(.danger) ion-badge{--background: var(--kirby-danger);--color: var(--kirby-badge-color, var(--kirby-text-color-white))}:host(.default) ion-badge,:host(.white) ion-badge{--kirby-badge-elevation: 0 20px 30px -15px rgb(28 28 28 / 30%), 0 0 5px 0 rgb(28 28 28 / 12%)}\n"] }]
18
18
  }], propDecorators: { text: [{