@kirbydesign/designsystem 9.5.0 → 9.7.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 (560) hide show
  1. package/accordion/accordion-item.component.d.ts +2 -1
  2. package/avatar/avatar.component.d.ts +4 -1
  3. package/button/button.component.d.ts +1 -1
  4. package/card/card-as-button/card-as-button.directive.d.ts +2 -3
  5. package/card/card.component.d.ts +9 -2
  6. package/checkbox/checkbox.component.d.ts +8 -4
  7. package/esm2022/accordion/accordion-item.component.mjs +8 -5
  8. package/esm2022/accordion/accordion.directive.mjs +4 -4
  9. package/esm2022/accordion/accordion.module.mjs +5 -5
  10. package/esm2022/accordion/kirbydesign-designsystem-accordion.mjs +1 -1
  11. package/esm2022/accordion/public_api.mjs +1 -1
  12. package/esm2022/action-group/action-group.component.mjs +4 -4
  13. package/esm2022/action-group/kirbydesign-designsystem-action-group.mjs +1 -1
  14. package/esm2022/action-group/public_api.mjs +1 -1
  15. package/esm2022/avatar/avatar.component.mjs +12 -6
  16. package/esm2022/avatar/kirbydesign-designsystem-avatar.mjs +1 -1
  17. package/esm2022/avatar/public_api.mjs +1 -1
  18. package/esm2022/badge/badge.component.mjs +4 -4
  19. package/esm2022/badge/kirbydesign-designsystem-badge.mjs +1 -1
  20. package/esm2022/badge/public_api.mjs +1 -1
  21. package/esm2022/button/button.component.mjs +5 -5
  22. package/esm2022/button/kirbydesign-designsystem-button.mjs +1 -1
  23. package/esm2022/button/public_api.mjs +1 -1
  24. package/esm2022/calendar/calendar.component.mjs +4 -4
  25. package/esm2022/calendar/helpers/calendar-cell.model.mjs +1 -1
  26. package/esm2022/calendar/helpers/calendar-options.model.mjs +1 -1
  27. package/esm2022/calendar/helpers/calendar.helper.mjs +4 -4
  28. package/esm2022/calendar/kirbydesign-designsystem-calendar.mjs +1 -1
  29. package/esm2022/calendar/options/calendar-year-navigator-config.mjs +1 -1
  30. package/esm2022/calendar/public_api.mjs +1 -1
  31. package/esm2022/card/card-as-button/card-as-button.directive.mjs +6 -9
  32. package/esm2022/card/card-flag-level.mjs +1 -1
  33. package/esm2022/card/card-footer/card-footer.component.mjs +5 -5
  34. package/esm2022/card/card-header/card-header.component.mjs +4 -4
  35. package/esm2022/card/card.component.mjs +27 -9
  36. package/esm2022/card/card.module.mjs +5 -5
  37. package/esm2022/card/kirbydesign-designsystem-card.mjs +1 -1
  38. package/esm2022/card/public_api.mjs +1 -1
  39. package/esm2022/chart/chart/chart.component.mjs +4 -4
  40. package/esm2022/chart/chart/index.mjs +1 -1
  41. package/esm2022/chart/chart-config/chart-bar-config/chart-bar-config.mjs +1 -1
  42. package/esm2022/chart/chart-config/chart-base-config.mjs +1 -1
  43. package/esm2022/chart/chart-config/chart-stock-config/chart-stock-config.mjs +1 -1
  44. package/esm2022/chart/chart-config/chart-stock-config/data-label-position/data-label-position.mjs +1 -1
  45. package/esm2022/chart/chart-config/chart-stock-config/vertical-line-plugin/vertical-line-plugin.mjs +1 -1
  46. package/esm2022/chart/chart-config/chart-stock-config/vertical-line-plugin/vertical-line-plugin.model.mjs +1 -1
  47. package/esm2022/chart/charts.module.mjs +5 -5
  48. package/esm2022/chart/kirbydesign-designsystem-chart.mjs +1 -1
  49. package/esm2022/chart/public_api.mjs +1 -1
  50. package/esm2022/chart/shared/base-chart/base-chart.component.mjs +4 -4
  51. package/esm2022/chart/shared/base-chart/index.mjs +1 -1
  52. package/esm2022/chart/shared/chart-config-service/chart-config.service.mjs +4 -4
  53. package/esm2022/chart/shared/chart-config-service/configs/annotations.config.mjs +1 -1
  54. package/esm2022/chart/shared/chart-config-service/configs/global-defaults.config.mjs +1 -1
  55. package/esm2022/chart/shared/chart-config-service/configs/interaction-functions-extensions.config.mjs +1 -1
  56. package/esm2022/chart/shared/chart-config-service/configs/type.config.mjs +1 -1
  57. package/esm2022/chart/shared/chart-config-service/index.mjs +1 -1
  58. package/esm2022/chart/shared/chart-js-service/annotations.delegate.mjs +1 -1
  59. package/esm2022/chart/shared/chart-js-service/chart-js.service.mjs +4 -4
  60. package/esm2022/chart/shared/chart-js-service/chartjs-plugin-marker/chartjs-plugin-marker.mjs +1 -1
  61. package/esm2022/chart/shared/chart-js-service/configured-chart-js.mjs +1 -1
  62. package/esm2022/chart/shared/chart-js-service/index.mjs +1 -1
  63. package/esm2022/chart/shared/chart-js-service/test-utils.mjs +1 -1
  64. package/esm2022/chart/shared/charts.types.mjs +1 -1
  65. package/esm2022/chart/shared/index.mjs +1 -1
  66. package/esm2022/chart/stock-chart/index.mjs +1 -1
  67. package/esm2022/chart/stock-chart/stock-chart-js.service.mjs +4 -4
  68. package/esm2022/chart/stock-chart/stock-chart.component.mjs +4 -4
  69. package/esm2022/checkbox/checkbox.component.mjs +18 -11
  70. package/esm2022/checkbox/kirbydesign-designsystem-checkbox.mjs +1 -1
  71. package/esm2022/checkbox/public_api.mjs +1 -1
  72. package/esm2022/data-table/data-table.module.mjs +5 -5
  73. package/esm2022/data-table/kirbydesign-designsystem-data-table.mjs +1 -1
  74. package/esm2022/data-table/public_api.mjs +1 -1
  75. package/esm2022/data-table/sortable/sortable.component.mjs +4 -4
  76. package/esm2022/data-table/table/table.component.mjs +4 -4
  77. package/esm2022/data-table/table-row/table-row.component.mjs +4 -4
  78. package/esm2022/divider/divider.component.mjs +4 -4
  79. package/esm2022/divider/kirbydesign-designsystem-divider.mjs +1 -1
  80. package/esm2022/divider/public_api.mjs +1 -1
  81. package/esm2022/dropdown/dropdown.component.mjs +5 -5
  82. package/esm2022/dropdown/dropdown.module.mjs +5 -5
  83. package/esm2022/dropdown/dropdown.types.mjs +1 -1
  84. package/esm2022/dropdown/keyboard-handler.service.mjs +4 -4
  85. package/esm2022/dropdown/kirbydesign-designsystem-dropdown.mjs +1 -1
  86. package/esm2022/dropdown/public_api.mjs +1 -1
  87. package/esm2022/empty-state/empty-state.component.mjs +4 -4
  88. package/esm2022/empty-state/empty-state.module.mjs +5 -5
  89. package/esm2022/empty-state/kirbydesign-designsystem-empty-state.mjs +1 -1
  90. package/esm2022/empty-state/public_api.mjs +1 -1
  91. package/esm2022/fab-sheet/fab-sheet.component.mjs +4 -4
  92. package/esm2022/fab-sheet/kirbydesign-designsystem-fab-sheet.mjs +1 -1
  93. package/esm2022/fab-sheet/public_api.mjs +1 -1
  94. package/esm2022/flag/flag.component.mjs +4 -4
  95. package/esm2022/flag/kirbydesign-designsystem-flag.mjs +1 -1
  96. package/esm2022/flag/public_api.mjs +1 -1
  97. package/esm2022/form-field/directives/affix/affix.directive.mjs +4 -4
  98. package/esm2022/form-field/directives/date/date-input.directive.mjs +4 -4
  99. package/esm2022/form-field/directives/decimal-mask/decimal-mask.directive.mjs +4 -4
  100. package/esm2022/form-field/form-field-message/form-field-message.component.mjs +4 -4
  101. package/esm2022/form-field/form-field.component.mjs +4 -4
  102. package/esm2022/form-field/form-field.module.mjs +5 -5
  103. package/esm2022/form-field/input/input.component.mjs +4 -4
  104. package/esm2022/form-field/input-counter/input-counter.component.mjs +4 -4
  105. package/esm2022/form-field/kirbydesign-designsystem-form-field.mjs +1 -1
  106. package/esm2022/form-field/public_api.mjs +1 -1
  107. package/esm2022/form-field/textarea/textarea.component.mjs +4 -4
  108. package/esm2022/header/header.component.mjs +23 -16
  109. package/esm2022/header/header.module.mjs +5 -5
  110. package/esm2022/header/kirbydesign-designsystem-header.mjs +1 -1
  111. package/esm2022/header/public_api.mjs +1 -1
  112. package/esm2022/helpers/chart-config-has-type.mjs +1 -1
  113. package/esm2022/helpers/color-helper.mjs +1 -1
  114. package/esm2022/helpers/deep-copy.mjs +1 -1
  115. package/esm2022/helpers/design-token-helper.mjs +1 -1
  116. package/esm2022/helpers/element-has-ancestor.mjs +1 -1
  117. package/esm2022/helpers/ionic-element-part-helper.mjs +4 -4
  118. package/esm2022/helpers/kirby-animation.mjs +1 -1
  119. package/esm2022/helpers/kirbydesign-designsystem-helpers.mjs +1 -1
  120. package/esm2022/helpers/line-clamp-helper.mjs +4 -4
  121. package/esm2022/helpers/merge-deep.mjs +1 -1
  122. package/esm2022/helpers/platform.service.mjs +4 -4
  123. package/esm2022/helpers/public_api.mjs +1 -1
  124. package/esm2022/helpers/scss/kirbydesign-designsystem-helpers-scss.mjs +1 -1
  125. package/esm2022/helpers/scss/public_api.mjs +1 -1
  126. package/esm2022/helpers/scss/scss-helper.mjs +1 -1
  127. package/esm2022/helpers/string-helper.mjs +1 -1
  128. package/esm2022/helpers/theme-color.type.mjs +1 -1
  129. package/esm2022/helpers/unique-id-generator.helper.mjs +1 -1
  130. package/esm2022/icon/icon-registry.service.mjs +4 -4
  131. package/esm2022/icon/icon-settings.mjs +1 -1
  132. package/esm2022/icon/icon.component.mjs +4 -4
  133. package/esm2022/icon/icon.module.mjs +5 -5
  134. package/esm2022/icon/kirby-icon-settings.mjs +1 -1
  135. package/esm2022/icon/kirbydesign-designsystem-icon.mjs +1 -1
  136. package/esm2022/icon/public_api.mjs +1 -1
  137. package/esm2022/item/item.component.mjs +41 -8
  138. package/esm2022/item/item.module.mjs +5 -5
  139. package/esm2022/item/kirbydesign-designsystem-item.mjs +1 -1
  140. package/esm2022/item/label/label.component.mjs +4 -4
  141. package/esm2022/item/public_api.mjs +1 -1
  142. package/esm2022/item-group/item-group.component.mjs +4 -4
  143. package/esm2022/item-group/kirbydesign-designsystem-item-group.mjs +1 -1
  144. package/esm2022/item-group/public_api.mjs +1 -1
  145. package/esm2022/item-sliding/item-sliding.component.mjs +4 -4
  146. package/esm2022/item-sliding/item-sliding.types.mjs +1 -1
  147. package/esm2022/item-sliding/kirbydesign-designsystem-item-sliding.mjs +1 -1
  148. package/esm2022/item-sliding/public_api.mjs +1 -1
  149. package/esm2022/kirby-app/kirby-app.component.mjs +4 -4
  150. package/esm2022/kirby-app/kirby-app.module.mjs +5 -5
  151. package/esm2022/kirby-app/kirbydesign-designsystem-kirby-app.mjs +1 -1
  152. package/esm2022/kirby-app/public_api.mjs +1 -1
  153. package/esm2022/kirby-ionic-module/kirby-ionic.module.mjs +5 -5
  154. package/esm2022/kirby-ionic-module/kirbydesign-designsystem-kirby-ionic-module.mjs +1 -1
  155. package/esm2022/kirby-ionic-module/public_api.mjs +1 -1
  156. package/esm2022/kirbydesign-designsystem.mjs +1 -1
  157. package/esm2022/lib/components/index.mjs +1 -1
  158. package/esm2022/lib/components/page-local-navigation/index.mjs +1 -1
  159. package/esm2022/lib/components/page-local-navigation/page-local-navigation-item.mjs +1 -1
  160. package/esm2022/lib/components/page-local-navigation/page-local-navigation.component.mjs +4 -4
  161. package/esm2022/lib/components/segmented-control/segment-item.mjs +1 -1
  162. package/esm2022/lib/components/segmented-control/segmented-control.component.mjs +5 -5
  163. package/esm2022/lib/directives/index.mjs +1 -1
  164. package/esm2022/lib/directives/key-handler/key-handler.directive.mjs +4 -4
  165. package/esm2022/lib/directives/modal-router-link/modal-router-link.directive.mjs +4 -4
  166. package/esm2022/lib/index.mjs +1 -1
  167. package/esm2022/lib/kirby-experimental.module.mjs +5 -5
  168. package/esm2022/lib/kirby.module.mjs +5 -5
  169. package/esm2022/list/directives/index.mjs +1 -1
  170. package/esm2022/list/directives/infinite-scroll.directive.mjs +4 -4
  171. package/esm2022/list/directives/list-item-color.directive.mjs +4 -4
  172. package/esm2022/list/directives/scroll.model.mjs +1 -1
  173. package/esm2022/list/helpers/index.mjs +1 -1
  174. package/esm2022/list/helpers/list-helper.mjs +4 -4
  175. package/esm2022/list/kirbydesign-designsystem-list.mjs +1 -1
  176. package/esm2022/list/list-experimental/index.mjs +1 -1
  177. package/esm2022/list/list-experimental/list-experimental.component.mjs +4 -4
  178. package/esm2022/list/list-header/index.mjs +1 -1
  179. package/esm2022/list/list-header/list-header.component.mjs +4 -4
  180. package/esm2022/list/list-item/index.mjs +1 -1
  181. package/esm2022/list/list-item/list-item.component.mjs +5 -5
  182. package/esm2022/list/list-section-header/index.mjs +1 -1
  183. package/esm2022/list/list-section-header/list-section-header.component.mjs +4 -4
  184. package/esm2022/list/list-swipe-action.mjs +1 -1
  185. package/esm2022/list/list-swipe-action.type.mjs +1 -1
  186. package/esm2022/list/list.component.mjs +5 -5
  187. package/esm2022/list/list.directive.mjs +13 -13
  188. package/esm2022/list/list.event.mjs +1 -1
  189. package/esm2022/list/list.module.mjs +18 -12
  190. package/esm2022/list/public_api.mjs +1 -1
  191. package/esm2022/loading-overlay/kirbydesign-designsystem-loading-overlay.mjs +1 -1
  192. package/esm2022/loading-overlay/loading-overlay.component.mjs +4 -4
  193. package/esm2022/loading-overlay/loading-overlay.service.mjs +4 -4
  194. package/esm2022/loading-overlay/public_api.mjs +1 -1
  195. package/esm2022/menu/kirbydesign-designsystem-menu.mjs +1 -1
  196. package/esm2022/menu/menu.component.mjs +4 -4
  197. package/esm2022/menu/public_api.mjs +1 -1
  198. package/esm2022/modal/kirbydesign-designsystem-modal.mjs +1 -1
  199. package/esm2022/modal/modal/action-sheet/action-sheet.component.mjs +4 -4
  200. package/esm2022/modal/modal/action-sheet/config/action-sheet-config.mjs +1 -1
  201. package/esm2022/modal/modal/action-sheet/config/action-sheet-item.mjs +1 -1
  202. package/esm2022/modal/modal/action-sheet/index.mjs +1 -1
  203. package/esm2022/modal/modal/alert/alert.component.mjs +4 -4
  204. package/esm2022/modal/modal/alert/config/alert-config.mjs +1 -1
  205. package/esm2022/modal/modal/alert/index.mjs +1 -1
  206. package/esm2022/modal/modal/footer/modal-footer.component.mjs +5 -5
  207. package/esm2022/modal/modal/index.mjs +1 -1
  208. package/esm2022/modal/modal/modal-component/modal.component.mjs +12 -19
  209. package/esm2022/modal/modal/services/action-sheet.helper.mjs +4 -4
  210. package/esm2022/modal/modal/services/alert.helper.mjs +4 -4
  211. package/esm2022/modal/modal/services/can-dismiss-modal-guard.mjs +31 -0
  212. package/esm2022/modal/modal/services/can-dismiss.helper.mjs +4 -4
  213. package/esm2022/modal/modal/services/index.mjs +2 -1
  214. package/esm2022/modal/modal/services/modal-animation-builder.service.mjs +4 -4
  215. package/esm2022/modal/modal/services/modal.controller.mjs +12 -8
  216. package/esm2022/modal/modal/services/modal.helper.mjs +24 -26
  217. package/esm2022/modal/modal-navigation.service.mjs +25 -14
  218. package/esm2022/modal/modal-wrapper/compact/index.mjs +1 -1
  219. package/esm2022/modal/modal-wrapper/compact/modal-compact-wrapper.component.mjs +4 -4
  220. package/esm2022/modal/modal-wrapper/config/drawer-supplementary-action.mjs +1 -1
  221. package/esm2022/modal/modal-wrapper/config/index.mjs +1 -1
  222. package/esm2022/modal/modal-wrapper/config/modal-config.helper.mjs +1 -1
  223. package/esm2022/modal/modal-wrapper/config/modal-config.mjs +1 -1
  224. package/esm2022/modal/modal-wrapper/index.mjs +1 -1
  225. package/esm2022/modal/modal-wrapper/modal-elements-mover.delegate.mjs +1 -1
  226. package/esm2022/modal/modal-wrapper/modal-wrapper.component.mjs +5 -5
  227. package/esm2022/modal/modal.interfaces.mjs +4 -4
  228. package/esm2022/modal/public_api.mjs +1 -1
  229. package/esm2022/modal/v2/footer/footer.component.mjs +5 -5
  230. package/esm2022/modal/v2/kirby-modal.module.mjs +5 -5
  231. package/esm2022/modal/v2/kirbydesign-designsystem-modal-v2.mjs +1 -1
  232. package/esm2022/modal/v2/modal/modal.component.mjs +5 -5
  233. package/esm2022/modal/v2/modal-routing/modal-routing.component.mjs +4 -4
  234. package/esm2022/modal/v2/public_api.mjs +1 -1
  235. package/esm2022/modal/v2/services/modal.controller.mjs +4 -4
  236. package/esm2022/modal/v2/wrapper/wrapper.component.mjs +5 -5
  237. package/esm2022/page/kirbydesign-designsystem-page.mjs +1 -1
  238. package/esm2022/page/page-footer/page-footer.component.mjs +5 -5
  239. package/esm2022/page/page.component.mjs +38 -35
  240. package/esm2022/page/page.module.mjs +5 -5
  241. package/esm2022/page/public_api.mjs +1 -1
  242. package/esm2022/popover/kirbydesign-designsystem-popover.mjs +1 -1
  243. package/esm2022/popover/popover.component.mjs +4 -4
  244. package/esm2022/popover/public_api.mjs +1 -1
  245. package/esm2022/progress-circle/kirbydesign-designsystem-progress-circle.mjs +1 -1
  246. package/esm2022/progress-circle/progress-circle-ring.component.mjs +4 -4
  247. package/esm2022/progress-circle/progress-circle.component.mjs +4 -4
  248. package/esm2022/progress-circle/public_api.mjs +1 -1
  249. package/esm2022/public-api.mjs +1 -1
  250. package/esm2022/radio/kirbydesign-designsystem-radio.mjs +1 -1
  251. package/esm2022/radio/public_api.mjs +1 -1
  252. package/esm2022/radio/radio-group/radio-group.component.mjs +4 -4
  253. package/esm2022/radio/radio-module.mjs +5 -5
  254. package/esm2022/radio/radio.component.mjs +17 -10
  255. package/esm2022/range/kirbydesign-designsystem-range.mjs +1 -1
  256. package/esm2022/range/public_api.mjs +1 -1
  257. package/esm2022/range/range.component.mjs +6 -6
  258. package/esm2022/reorder-list/kirbydesign-designsystem-reorder-list.mjs +1 -1
  259. package/esm2022/reorder-list/public_api.mjs +1 -1
  260. package/esm2022/reorder-list/reorder-event.mjs +1 -1
  261. package/esm2022/reorder-list/reorder-list.component.mjs +4 -4
  262. package/esm2022/router-outlet/kirbydesign-designsystem-router-outlet.mjs +1 -1
  263. package/esm2022/router-outlet/public_api.mjs +1 -1
  264. package/esm2022/router-outlet/router-outlet.component.mjs +4 -4
  265. package/esm2022/router-outlet/router-outlet.module.mjs +5 -5
  266. package/esm2022/section-header/kirbydesign-designsystem-section-header.mjs +1 -1
  267. package/esm2022/section-header/public_api.mjs +1 -1
  268. package/esm2022/section-header/section-header.component.mjs +4 -4
  269. package/esm2022/shared/component-configuration.mjs +1 -1
  270. package/esm2022/shared/component-loader.directive.mjs +4 -4
  271. package/esm2022/shared/dynamic-component.mjs +1 -1
  272. package/esm2022/shared/fit-heading/fit-heading.directive.mjs +4 -4
  273. package/esm2022/shared/fit-heading/index.mjs +1 -1
  274. package/esm2022/shared/floating/floating.directive.mjs +4 -4
  275. package/esm2022/shared/floating/kirbydesign-designsystem-shared-floating.mjs +1 -1
  276. package/esm2022/shared/floating/public_api.mjs +1 -1
  277. package/esm2022/shared/kirbydesign-designsystem-shared.mjs +1 -1
  278. package/esm2022/shared/portal/kirbydesign-designsystem-shared-portal.mjs +1 -1
  279. package/esm2022/shared/portal/portal.directive.mjs +4 -4
  280. package/esm2022/shared/portal/public_api.mjs +1 -1
  281. package/esm2022/shared/public_api.mjs +1 -1
  282. package/esm2022/shared/resize-observer/resize-observer.factory.mjs +4 -4
  283. package/esm2022/shared/resize-observer/resize-observer.service.mjs +4 -4
  284. package/esm2022/shared/theme-color/theme-color.directive.mjs +4 -4
  285. package/esm2022/slide/kirbydesign-designsystem-slide.mjs +1 -1
  286. package/esm2022/slide/public_api.mjs +1 -1
  287. package/esm2022/slide/slide-stretch-height.directive.mjs +4 -4
  288. package/esm2022/slide/slide.directive.mjs +4 -4
  289. package/esm2022/slide/slide.module.mjs +5 -5
  290. package/esm2022/slide/slides.component.mjs +4 -4
  291. package/esm2022/slide-button/kirbydesign-designsystem-slide-button.mjs +1 -1
  292. package/esm2022/slide-button/public_api.mjs +1 -1
  293. package/esm2022/slide-button/slide-button.component.mjs +5 -5
  294. package/esm2022/spinner/kirbydesign-designsystem-spinner.mjs +1 -1
  295. package/esm2022/spinner/public_api.mjs +1 -1
  296. package/esm2022/spinner/spinner.component.mjs +4 -4
  297. package/esm2022/spinner/spinner.module.mjs +5 -5
  298. package/esm2022/tab-navigation/kirbydesign-designsystem-tab-navigation.mjs +1 -1
  299. package/esm2022/tab-navigation/public_api.mjs +1 -1
  300. package/esm2022/tab-navigation/tab-navigation/tab-navigation.component.mjs +4 -4
  301. package/esm2022/tab-navigation/tab-navigation-item/tab-navigation-item.component.mjs +4 -4
  302. package/esm2022/tab-navigation/tab-navigation.module.mjs +5 -5
  303. package/esm2022/tabs/kirbydesign-designsystem-tabs.mjs +1 -1
  304. package/esm2022/tabs/public_api.mjs +1 -1
  305. package/esm2022/tabs/tab-button/tab-button.component.mjs +5 -5
  306. package/esm2022/tabs/tab-button/tab-button.events.mjs +1 -1
  307. package/esm2022/tabs/tabs.component.mjs +4 -4
  308. package/esm2022/tabs/tabs.module.mjs +5 -5
  309. package/esm2022/tabs/tabs.service.mjs +4 -4
  310. package/esm2022/testing/element-css-custom-matchers.mjs +1 -1
  311. package/esm2022/testing/kirbydesign-designsystem-testing.mjs +1 -1
  312. package/esm2022/testing/public_api.mjs +1 -1
  313. package/esm2022/testing/test-helper.mjs +5 -5
  314. package/esm2022/testing-base/kirbydesign-designsystem-testing-base.mjs +1 -1
  315. package/esm2022/testing-base/lib/components/index.mjs +1 -1
  316. package/esm2022/testing-base/lib/components/mock.accordion-item.component.mjs +6 -4
  317. package/esm2022/testing-base/lib/components/mock.action-group.component.mjs +6 -4
  318. package/esm2022/testing-base/lib/components/mock.action-sheet.component.mjs +6 -4
  319. package/esm2022/testing-base/lib/components/mock.alert.component.mjs +6 -4
  320. package/esm2022/testing-base/lib/components/mock.avatar.component.mjs +6 -4
  321. package/esm2022/testing-base/lib/components/mock.badge.component.mjs +6 -4
  322. package/esm2022/testing-base/lib/components/mock.base-chart.component.mjs +6 -4
  323. package/esm2022/testing-base/lib/components/mock.button.component.mjs +6 -4
  324. package/esm2022/testing-base/lib/components/mock.calendar.component.mjs +6 -4
  325. package/esm2022/testing-base/lib/components/mock.card-footer.component.mjs +6 -4
  326. package/esm2022/testing-base/lib/components/mock.card-header.component.mjs +6 -4
  327. package/esm2022/testing-base/lib/components/mock.card.component.mjs +6 -4
  328. package/esm2022/testing-base/lib/components/mock.chart.component.mjs +6 -4
  329. package/esm2022/testing-base/lib/components/mock.checkbox.component.mjs +6 -4
  330. package/esm2022/testing-base/lib/components/mock.divider.component.mjs +6 -4
  331. package/esm2022/testing-base/lib/components/mock.dropdown.component.mjs +6 -4
  332. package/esm2022/testing-base/lib/components/mock.empty-state.component.mjs +6 -4
  333. package/esm2022/testing-base/lib/components/mock.fab-sheet.component.mjs +6 -4
  334. package/esm2022/testing-base/lib/components/mock.flag.component.mjs +6 -4
  335. package/esm2022/testing-base/lib/components/mock.footer.component.mjs +6 -4
  336. package/esm2022/testing-base/lib/components/mock.form-field-message.component.mjs +6 -4
  337. package/esm2022/testing-base/lib/components/mock.form-field.component.mjs +6 -4
  338. package/esm2022/testing-base/lib/components/mock.header.component.mjs +12 -10
  339. package/esm2022/testing-base/lib/components/mock.icon.component.mjs +6 -4
  340. package/esm2022/testing-base/lib/components/mock.input-counter.component.mjs +6 -4
  341. package/esm2022/testing-base/lib/components/mock.input.component.mjs +6 -4
  342. package/esm2022/testing-base/lib/components/mock.item-group.component.mjs +6 -4
  343. package/esm2022/testing-base/lib/components/mock.item-sliding.component.mjs +6 -4
  344. package/esm2022/testing-base/lib/components/mock.item.component.mjs +6 -4
  345. package/esm2022/testing-base/lib/components/mock.kirby-app.component.mjs +6 -4
  346. package/esm2022/testing-base/lib/components/mock.label.component.mjs +6 -4
  347. package/esm2022/testing-base/lib/components/mock.list-experimental.component.mjs +6 -4
  348. package/esm2022/testing-base/lib/components/mock.list-header.component.mjs +6 -4
  349. package/esm2022/testing-base/lib/components/mock.list-item.component.mjs +6 -4
  350. package/esm2022/testing-base/lib/components/mock.list-section-header.component.mjs +6 -4
  351. package/esm2022/testing-base/lib/components/mock.list.component.mjs +6 -4
  352. package/esm2022/testing-base/lib/components/mock.loading-overlay.component.mjs +6 -4
  353. package/esm2022/testing-base/lib/components/mock.menu.component.mjs +6 -4
  354. package/esm2022/testing-base/lib/components/mock.modal-compact-wrapper.component.mjs +6 -4
  355. package/esm2022/testing-base/lib/components/mock.modal-footer.component.mjs +6 -4
  356. package/esm2022/testing-base/lib/components/mock.modal-routing.component.mjs +6 -4
  357. package/esm2022/testing-base/lib/components/mock.modal-wrapper.component.mjs +6 -4
  358. package/esm2022/testing-base/lib/components/mock.modal.component.mjs +6 -4
  359. package/esm2022/testing-base/lib/components/mock.page-footer.component.mjs +6 -4
  360. package/esm2022/testing-base/lib/components/mock.page-local-navigation.component.mjs +6 -4
  361. package/esm2022/testing-base/lib/components/mock.page.component.mjs +44 -34
  362. package/esm2022/testing-base/lib/components/mock.popover.component.mjs +6 -4
  363. package/esm2022/testing-base/lib/components/mock.progress-circle-ring.component.mjs +6 -4
  364. package/esm2022/testing-base/lib/components/mock.progress-circle.component.mjs +6 -4
  365. package/esm2022/testing-base/lib/components/mock.radio-group.component.mjs +6 -4
  366. package/esm2022/testing-base/lib/components/mock.radio.component.mjs +6 -4
  367. package/esm2022/testing-base/lib/components/mock.range.component.mjs +6 -4
  368. package/esm2022/testing-base/lib/components/mock.reorder-list.component.mjs +6 -4
  369. package/esm2022/testing-base/lib/components/mock.router-outlet.component.mjs +6 -4
  370. package/esm2022/testing-base/lib/components/mock.section-header.component.mjs +6 -4
  371. package/esm2022/testing-base/lib/components/mock.segmented-control.component.mjs +6 -4
  372. package/esm2022/testing-base/lib/components/mock.slide-button.component.mjs +6 -4
  373. package/esm2022/testing-base/lib/components/mock.slides.component.mjs +6 -4
  374. package/esm2022/testing-base/lib/components/mock.spinner.component.mjs +6 -4
  375. package/esm2022/testing-base/lib/components/mock.stock-chart.component.mjs +6 -4
  376. package/esm2022/testing-base/lib/components/mock.tab-button.component.mjs +6 -4
  377. package/esm2022/testing-base/lib/components/mock.tab-navigation-item.component.mjs +6 -4
  378. package/esm2022/testing-base/lib/components/mock.tab-navigation.component.mjs +6 -4
  379. package/esm2022/testing-base/lib/components/mock.table-row.component.mjs +6 -4
  380. package/esm2022/testing-base/lib/components/mock.table.component.mjs +6 -4
  381. package/esm2022/testing-base/lib/components/mock.tabs.component.mjs +6 -4
  382. package/esm2022/testing-base/lib/components/mock.textarea.component.mjs +6 -4
  383. package/esm2022/testing-base/lib/components/mock.toggle-button.component.mjs +6 -4
  384. package/esm2022/testing-base/lib/components/mock.toggle.component.mjs +6 -4
  385. package/esm2022/testing-base/lib/components/mock.wrapper.component.mjs +6 -4
  386. package/esm2022/testing-base/lib/directives/index.mjs +1 -1
  387. package/esm2022/testing-base/lib/directives/mock.accordion.directive.mjs +4 -4
  388. package/esm2022/testing-base/lib/directives/mock.affix.directive.mjs +4 -4
  389. package/esm2022/testing-base/lib/directives/mock.card-as-button.directive.mjs +4 -4
  390. package/esm2022/testing-base/lib/directives/mock.component-loader.directive.mjs +4 -4
  391. package/esm2022/testing-base/lib/directives/mock.date-input.directive.mjs +4 -4
  392. package/esm2022/testing-base/lib/directives/mock.decimal-mask.directive.mjs +4 -4
  393. package/esm2022/testing-base/lib/directives/mock.fit-heading.directive.mjs +4 -4
  394. package/esm2022/testing-base/lib/directives/mock.floating.directive.mjs +4 -4
  395. package/esm2022/testing-base/lib/directives/mock.infinite-scroll.directive.mjs +4 -4
  396. package/esm2022/testing-base/lib/directives/mock.key-handler.directive.mjs +4 -4
  397. package/esm2022/testing-base/lib/directives/mock.list-item-color.directive.mjs +4 -4
  398. package/esm2022/testing-base/lib/directives/mock.list.directive.mjs +13 -13
  399. package/esm2022/testing-base/lib/directives/mock.modal-router-link.directive.mjs +4 -4
  400. package/esm2022/testing-base/lib/directives/mock.portal.directive.mjs +4 -4
  401. package/esm2022/testing-base/lib/directives/mock.slide.directive.mjs +4 -4
  402. package/esm2022/testing-base/lib/directives/mock.theme-color.directive.mjs +4 -4
  403. package/esm2022/testing-base/lib/index.mjs +1 -1
  404. package/esm2022/testing-base/lib/kirby-testing-base.module.mjs +5 -5
  405. package/esm2022/testing-base/lib/mock-components.mjs +1 -1
  406. package/esm2022/testing-base/lib/mock-directives.mjs +1 -1
  407. package/esm2022/testing-base/public_api.mjs +1 -1
  408. package/esm2022/testing-jasmine/kirbydesign-designsystem-testing-jasmine.mjs +1 -1
  409. package/esm2022/testing-jasmine/lib/kirby-testing.module.mjs +5 -5
  410. package/esm2022/testing-jasmine/lib/mock-providers.mjs +1 -1
  411. package/esm2022/testing-jasmine/public_api.mjs +1 -1
  412. package/esm2022/testing-jest/kirbydesign-designsystem-testing-jest.mjs +1 -1
  413. package/esm2022/testing-jest/lib/kirby-testing.module.mjs +5 -5
  414. package/esm2022/testing-jest/lib/mock-providers.mjs +1 -1
  415. package/esm2022/testing-jest/public_api.mjs +1 -1
  416. package/esm2022/toast/config/toast-config.mjs +1 -1
  417. package/esm2022/toast/kirbydesign-designsystem-toast.mjs +1 -1
  418. package/esm2022/toast/public_api.mjs +1 -1
  419. package/esm2022/toast/services/indexs.mjs +1 -1
  420. package/esm2022/toast/services/toast.controller.mjs +4 -4
  421. package/esm2022/toast/services/toast.helper.mjs +4 -4
  422. package/esm2022/toggle/kirbydesign-designsystem-toggle.mjs +1 -1
  423. package/esm2022/toggle/public_api.mjs +1 -1
  424. package/esm2022/toggle/toggle.component.mjs +22 -9
  425. package/esm2022/toggle-button/kirbydesign-designsystem-toggle-button.mjs +1 -1
  426. package/esm2022/toggle-button/public_api.mjs +1 -1
  427. package/esm2022/toggle-button/toggle-button.component.mjs +4 -4
  428. package/esm2022/toggle-button/toggle-button.module.mjs +5 -5
  429. package/esm2022/types/event-listener-dispose-fn.mjs +1 -1
  430. package/esm2022/types/kirbydesign-designsystem-types.mjs +1 -1
  431. package/esm2022/types/public_api.mjs +1 -1
  432. package/esm2022/types/window-ref.mjs +4 -4
  433. package/fesm2022/kirbydesign-designsystem-accordion.mjs +14 -11
  434. package/fesm2022/kirbydesign-designsystem-accordion.mjs.map +1 -1
  435. package/fesm2022/kirbydesign-designsystem-action-group.mjs +3 -3
  436. package/fesm2022/kirbydesign-designsystem-action-group.mjs.map +1 -1
  437. package/fesm2022/kirbydesign-designsystem-avatar.mjs +11 -5
  438. package/fesm2022/kirbydesign-designsystem-avatar.mjs.map +1 -1
  439. package/fesm2022/kirbydesign-designsystem-badge.mjs +3 -3
  440. package/fesm2022/kirbydesign-designsystem-badge.mjs.map +1 -1
  441. package/fesm2022/kirbydesign-designsystem-button.mjs +4 -4
  442. package/fesm2022/kirbydesign-designsystem-button.mjs.map +1 -1
  443. package/fesm2022/kirbydesign-designsystem-calendar.mjs +6 -6
  444. package/fesm2022/kirbydesign-designsystem-calendar.mjs.map +1 -1
  445. package/fesm2022/kirbydesign-designsystem-card.mjs +42 -27
  446. package/fesm2022/kirbydesign-designsystem-card.mjs.map +1 -1
  447. package/fesm2022/kirbydesign-designsystem-chart.mjs +22 -22
  448. package/fesm2022/kirbydesign-designsystem-chart.mjs.map +1 -1
  449. package/fesm2022/kirbydesign-designsystem-checkbox.mjs +17 -10
  450. package/fesm2022/kirbydesign-designsystem-checkbox.mjs.map +1 -1
  451. package/fesm2022/kirbydesign-designsystem-data-table.mjs +13 -13
  452. package/fesm2022/kirbydesign-designsystem-data-table.mjs.map +1 -1
  453. package/fesm2022/kirbydesign-designsystem-divider.mjs +3 -3
  454. package/fesm2022/kirbydesign-designsystem-divider.mjs.map +1 -1
  455. package/fesm2022/kirbydesign-designsystem-dropdown.mjs +11 -11
  456. package/fesm2022/kirbydesign-designsystem-dropdown.mjs.map +1 -1
  457. package/fesm2022/kirbydesign-designsystem-empty-state.mjs +7 -7
  458. package/fesm2022/kirbydesign-designsystem-empty-state.mjs.map +1 -1
  459. package/fesm2022/kirbydesign-designsystem-fab-sheet.mjs +3 -3
  460. package/fesm2022/kirbydesign-designsystem-fab-sheet.mjs.map +1 -1
  461. package/fesm2022/kirbydesign-designsystem-flag.mjs +3 -3
  462. package/fesm2022/kirbydesign-designsystem-flag.mjs.map +1 -1
  463. package/fesm2022/kirbydesign-designsystem-form-field.mjs +28 -28
  464. package/fesm2022/kirbydesign-designsystem-form-field.mjs.map +1 -1
  465. package/fesm2022/kirbydesign-designsystem-header.mjs +26 -19
  466. package/fesm2022/kirbydesign-designsystem-header.mjs.map +1 -1
  467. package/fesm2022/kirbydesign-designsystem-helpers-scss.mjs.map +1 -1
  468. package/fesm2022/kirbydesign-designsystem-helpers.mjs +9 -9
  469. package/fesm2022/kirbydesign-designsystem-helpers.mjs.map +1 -1
  470. package/fesm2022/kirbydesign-designsystem-icon.mjs +10 -10
  471. package/fesm2022/kirbydesign-designsystem-icon.mjs.map +1 -1
  472. package/fesm2022/kirbydesign-designsystem-item-group.mjs +3 -3
  473. package/fesm2022/kirbydesign-designsystem-item-group.mjs.map +1 -1
  474. package/fesm2022/kirbydesign-designsystem-item-sliding.mjs +3 -3
  475. package/fesm2022/kirbydesign-designsystem-item-sliding.mjs.map +1 -1
  476. package/fesm2022/kirbydesign-designsystem-item.mjs +65 -33
  477. package/fesm2022/kirbydesign-designsystem-item.mjs.map +1 -1
  478. package/fesm2022/kirbydesign-designsystem-kirby-app.mjs +7 -7
  479. package/fesm2022/kirbydesign-designsystem-kirby-app.mjs.map +1 -1
  480. package/fesm2022/kirbydesign-designsystem-kirby-ionic-module.mjs +4 -4
  481. package/fesm2022/kirbydesign-designsystem-kirby-ionic-module.mjs.map +1 -1
  482. package/fesm2022/kirbydesign-designsystem-list.mjs +55 -49
  483. package/fesm2022/kirbydesign-designsystem-list.mjs.map +1 -1
  484. package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs +6 -6
  485. package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs.map +1 -1
  486. package/fesm2022/kirbydesign-designsystem-menu.mjs +3 -3
  487. package/fesm2022/kirbydesign-designsystem-menu.mjs.map +1 -1
  488. package/fesm2022/kirbydesign-designsystem-modal-v2.mjs +22 -22
  489. package/fesm2022/kirbydesign-designsystem-modal-v2.mjs.map +1 -1
  490. package/fesm2022/kirbydesign-designsystem-modal.mjs +124 -91
  491. package/fesm2022/kirbydesign-designsystem-modal.mjs.map +1 -1
  492. package/fesm2022/kirbydesign-designsystem-page.mjs +45 -42
  493. package/fesm2022/kirbydesign-designsystem-page.mjs.map +1 -1
  494. package/fesm2022/kirbydesign-designsystem-popover.mjs +3 -3
  495. package/fesm2022/kirbydesign-designsystem-popover.mjs.map +1 -1
  496. package/fesm2022/kirbydesign-designsystem-progress-circle.mjs +6 -6
  497. package/fesm2022/kirbydesign-designsystem-progress-circle.mjs.map +1 -1
  498. package/fesm2022/kirbydesign-designsystem-radio.mjs +23 -16
  499. package/fesm2022/kirbydesign-designsystem-radio.mjs.map +1 -1
  500. package/fesm2022/kirbydesign-designsystem-range.mjs +5 -5
  501. package/fesm2022/kirbydesign-designsystem-range.mjs.map +1 -1
  502. package/fesm2022/kirbydesign-designsystem-reorder-list.mjs +3 -3
  503. package/fesm2022/kirbydesign-designsystem-reorder-list.mjs.map +1 -1
  504. package/fesm2022/kirbydesign-designsystem-router-outlet.mjs +7 -7
  505. package/fesm2022/kirbydesign-designsystem-router-outlet.mjs.map +1 -1
  506. package/fesm2022/kirbydesign-designsystem-section-header.mjs +3 -3
  507. package/fesm2022/kirbydesign-designsystem-section-header.mjs.map +1 -1
  508. package/fesm2022/kirbydesign-designsystem-shared-floating.mjs +3 -3
  509. package/fesm2022/kirbydesign-designsystem-shared-floating.mjs.map +1 -1
  510. package/fesm2022/kirbydesign-designsystem-shared-portal.mjs +3 -3
  511. package/fesm2022/kirbydesign-designsystem-shared-portal.mjs.map +1 -1
  512. package/fesm2022/kirbydesign-designsystem-shared.mjs +15 -15
  513. package/fesm2022/kirbydesign-designsystem-shared.mjs.map +1 -1
  514. package/fesm2022/kirbydesign-designsystem-slide-button.mjs +4 -4
  515. package/fesm2022/kirbydesign-designsystem-slide-button.mjs.map +1 -1
  516. package/fesm2022/kirbydesign-designsystem-slide.mjs +13 -13
  517. package/fesm2022/kirbydesign-designsystem-slide.mjs.map +1 -1
  518. package/fesm2022/kirbydesign-designsystem-spinner.mjs +7 -7
  519. package/fesm2022/kirbydesign-designsystem-spinner.mjs.map +1 -1
  520. package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs +10 -10
  521. package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs.map +1 -1
  522. package/fesm2022/kirbydesign-designsystem-tabs.mjs +14 -14
  523. package/fesm2022/kirbydesign-designsystem-tabs.mjs.map +1 -1
  524. package/fesm2022/kirbydesign-designsystem-testing-base.mjs +455 -307
  525. package/fesm2022/kirbydesign-designsystem-testing-base.mjs.map +1 -1
  526. package/fesm2022/kirbydesign-designsystem-testing-jasmine.mjs +4 -4
  527. package/fesm2022/kirbydesign-designsystem-testing-jasmine.mjs.map +1 -1
  528. package/fesm2022/kirbydesign-designsystem-testing-jest.mjs +4 -4
  529. package/fesm2022/kirbydesign-designsystem-testing-jest.mjs.map +1 -1
  530. package/fesm2022/kirbydesign-designsystem-testing.mjs +4 -4
  531. package/fesm2022/kirbydesign-designsystem-testing.mjs.map +1 -1
  532. package/fesm2022/kirbydesign-designsystem-toast.mjs +6 -6
  533. package/fesm2022/kirbydesign-designsystem-toast.mjs.map +1 -1
  534. package/fesm2022/kirbydesign-designsystem-toggle-button.mjs +7 -7
  535. package/fesm2022/kirbydesign-designsystem-toggle-button.mjs.map +1 -1
  536. package/fesm2022/kirbydesign-designsystem-toggle.mjs +20 -7
  537. package/fesm2022/kirbydesign-designsystem-toggle.mjs.map +1 -1
  538. package/fesm2022/kirbydesign-designsystem-types.mjs +3 -3
  539. package/fesm2022/kirbydesign-designsystem-types.mjs.map +1 -1
  540. package/fesm2022/kirbydesign-designsystem.mjs +21 -21
  541. package/fesm2022/kirbydesign-designsystem.mjs.map +1 -1
  542. package/header/header.component.d.ts +5 -2
  543. package/item/item.component.d.ts +11 -2
  544. package/list/list.module.d.ts +1 -1
  545. package/modal/modal/modal-component/modal.component.d.ts +5 -5
  546. package/modal/modal/services/can-dismiss-modal-guard.d.ts +2 -0
  547. package/modal/modal/services/index.d.ts +1 -0
  548. package/modal/modal/services/modal.controller.d.ts +2 -0
  549. package/modal/modal/services/modal.helper.d.ts +3 -4
  550. package/modal/modal-navigation.service.d.ts +1 -0
  551. package/modal/modal.interfaces.d.ts +1 -0
  552. package/package.json +51 -51
  553. package/radio/radio.component.d.ts +8 -4
  554. package/scss/base/_design-tokens.scss +1 -0
  555. package/scss/themes/design-tokens.scss +1 -0
  556. package/testing-base/lib/components/mock.avatar.component.d.ts +1 -1
  557. package/testing-base/lib/components/mock.button.component.d.ts +1 -1
  558. package/testing-jest/lib/mock-providers.d.ts +28 -28
  559. package/toggle/toggle.component.d.ts +8 -4
  560. package/README.md +0 -7
@@ -1 +1 @@
1
- {"version":3,"file":"kirbydesign-designsystem-item-group.mjs","sources":["../../../../libs/designsystem/item-group/src/item-group.component.ts","../../../../libs/designsystem/item-group/src/item-group.component.html","../../../../libs/designsystem/item-group/src/kirbydesign-designsystem-item-group.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, HostBinding } from '@angular/core';\n\n@Component({\n standalone: true,\n imports: [CommonModule],\n selector: 'kirby-item-group',\n templateUrl: './item-group.component.html',\n styleUrls: ['./item-group.component.scss'],\n})\nexport class ItemGroupComponent {\n @HostBinding('attr.role') role: string = 'group';\n}\n","<ng-content></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;MAUa,kBAAkB,CAAA;AAP/B,IAAA,WAAA,GAAA;QAQ4B,IAAI,CAAA,IAAA,GAAW,OAAO,CAAC;AAClD,KAAA;iIAFY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;qHAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,WAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECV/B,6BACA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDIY,YAAY,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAKX,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAP9B,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,CAAC,YAAY,CAAC,YACb,kBAAkB,EAAA,QAAA,EAAA,6BAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,CAAA;8BAKF,IAAI,EAAA,CAAA;sBAA7B,WAAW;uBAAC,WAAW,CAAA;;;AEX1B;;AAEG;;;;"}
1
+ {"version":3,"file":"kirbydesign-designsystem-item-group.mjs","sources":["../../item-group/src/item-group.component.ts","../../item-group/src/item-group.component.html","../../item-group/src/kirbydesign-designsystem-item-group.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, HostBinding } from '@angular/core';\n\n@Component({\n standalone: true,\n imports: [CommonModule],\n selector: 'kirby-item-group',\n templateUrl: './item-group.component.html',\n styleUrls: ['./item-group.component.scss'],\n})\nexport class ItemGroupComponent {\n @HostBinding('attr.role') role: string = 'group';\n}\n","<ng-content></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;MAUa,kBAAkB,CAAA;AAP/B,IAAA,WAAA,GAAA;QAQ4B,IAAI,CAAA,IAAA,GAAW,OAAO,CAAC;AAClD,KAAA;kIAFY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;sHAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,WAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECV/B,6BACA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDIY,YAAY,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAKX,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAP9B,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,CAAC,YAAY,CAAC,YACb,kBAAkB,EAAA,QAAA,EAAA,6BAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,CAAA;8BAKF,IAAI,EAAA,CAAA;sBAA7B,WAAW;uBAAC,WAAW,CAAA;;;AEX1B;;AAEG;;;;"}
@@ -22,10 +22,10 @@ class ItemSlidingComponent {
22
22
  swipeAction.onSelected();
23
23
  this.itemSliding.close();
24
24
  }
25
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ItemSlidingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
26
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: ItemSlidingComponent, isStandalone: true, selector: "kirby-item-sliding", inputs: { swipeActions: "swipeActions", side: "side" }, viewQueries: [{ propertyName: "itemSliding", first: true, predicate: IonItemSliding, descendants: true, static: true }], ngImport: i0, template: "<ion-item-sliding>\n <ng-content></ng-content>\n\n <ion-item-options *ngIf=\"_hasSwipeActions\" [side]=\"_side\">\n <ng-container *ngFor=\"let swipeAction of swipeActions\">\n <ion-item-option\n *ngIf=\"!swipeAction.isDisabled\"\n [ngClass]=\"swipeAction.type\"\n (click)=\"onSwipeActionClick(swipeAction)\"\n >\n <kirby-icon\n *ngIf=\"swipeAction.icon !== undefined\"\n [name]=\"swipeAction.icon\"\n slot=\"top\"\n ></kirby-icon>\n <ion-label>{{ swipeAction.title }}</ion-label>\n </ion-item-option>\n </ng-container>\n </ion-item-options>\n</ion-item-sliding>\n", styles: ["ion-item-option.primary{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}ion-item-option.secondary{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}ion-item-option.tertiary{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}ion-item-option.success{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}ion-item-option.warning{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}ion-item-option.danger{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}ion-item-option.white-overlay{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}ion-item-option.light{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}ion-item-option.medium{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}ion-item-option.dark{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}ion-item-option.dark-overlay{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}:host{display:block}ion-item-option{min-width:92px}\n"], dependencies: [{ kind: "ngmodule", type: IconModule }, { kind: "component", type: i1.IconComponent, selector: "kirby-icon", inputs: ["size", "name", "customName"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IonItemSliding, selector: "ion-item-sliding", inputs: ["disabled"] }, { kind: "component", type: IonItemOptions, selector: "ion-item-options", inputs: ["side"] }, { kind: "component", type: IonItemOption, selector: "ion-item-option", inputs: ["color", "disabled", "download", "expandable", "href", "mode", "rel", "target", "type"] }, { kind: "component", type: IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }] }); }
25
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ItemSlidingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
26
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ItemSlidingComponent, isStandalone: true, selector: "kirby-item-sliding", inputs: { swipeActions: "swipeActions", side: "side" }, viewQueries: [{ propertyName: "itemSliding", first: true, predicate: IonItemSliding, descendants: true, static: true }], ngImport: i0, template: "<ion-item-sliding>\n <ng-content></ng-content>\n\n <ion-item-options *ngIf=\"_hasSwipeActions\" [side]=\"_side\">\n <ng-container *ngFor=\"let swipeAction of swipeActions\">\n <ion-item-option\n *ngIf=\"!swipeAction.isDisabled\"\n [ngClass]=\"swipeAction.type\"\n (click)=\"onSwipeActionClick(swipeAction)\"\n >\n <kirby-icon\n *ngIf=\"swipeAction.icon !== undefined\"\n [name]=\"swipeAction.icon\"\n slot=\"top\"\n ></kirby-icon>\n <ion-label>{{ swipeAction.title }}</ion-label>\n </ion-item-option>\n </ng-container>\n </ion-item-options>\n</ion-item-sliding>\n", styles: ["ion-item-option.primary{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}ion-item-option.secondary{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}ion-item-option.tertiary{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}ion-item-option.success{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}ion-item-option.warning{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}ion-item-option.danger{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}ion-item-option.white-overlay{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}ion-item-option.light{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}ion-item-option.medium{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}ion-item-option.dark{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}ion-item-option.dark-overlay{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}:host{display:block}ion-item-option{min-width:92px}\n"], dependencies: [{ kind: "ngmodule", type: IconModule }, { kind: "component", type: i1.IconComponent, selector: "kirby-icon", inputs: ["size", "name", "customName"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IonItemSliding, selector: "ion-item-sliding", inputs: ["disabled"] }, { kind: "component", type: IonItemOptions, selector: "ion-item-options", inputs: ["side"] }, { kind: "component", type: IonItemOption, selector: "ion-item-option", inputs: ["color", "disabled", "download", "expandable", "href", "mode", "rel", "target", "type"] }, { kind: "component", type: IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }] }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ItemSlidingComponent, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ItemSlidingComponent, decorators: [{
29
29
  type: Component,
30
30
  args: [{ standalone: true, imports: [IconModule, CommonModule, IonItemSliding, IonItemOptions, IonItemOption, IonLabel], selector: 'kirby-item-sliding', template: "<ion-item-sliding>\n <ng-content></ng-content>\n\n <ion-item-options *ngIf=\"_hasSwipeActions\" [side]=\"_side\">\n <ng-container *ngFor=\"let swipeAction of swipeActions\">\n <ion-item-option\n *ngIf=\"!swipeAction.isDisabled\"\n [ngClass]=\"swipeAction.type\"\n (click)=\"onSwipeActionClick(swipeAction)\"\n >\n <kirby-icon\n *ngIf=\"swipeAction.icon !== undefined\"\n [name]=\"swipeAction.icon\"\n slot=\"top\"\n ></kirby-icon>\n <ion-label>{{ swipeAction.title }}</ion-label>\n </ion-item-option>\n </ng-container>\n </ion-item-options>\n</ion-item-sliding>\n", styles: ["ion-item-option.primary{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}ion-item-option.secondary{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}ion-item-option.tertiary{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}ion-item-option.success{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}ion-item-option.warning{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}ion-item-option.danger{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}ion-item-option.white-overlay{background-color:var(--kirby-white-overlay);color:var(--kirby-white-overlay-contrast)}ion-item-option.light{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}ion-item-option.medium{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}ion-item-option.dark{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}ion-item-option.dark-overlay{background-color:var(--kirby-dark-overlay);color:var(--kirby-dark-overlay-contrast)}:host{display:block}ion-item-option{min-width:92px}\n"] }]
31
31
  }], propDecorators: { itemSliding: [{
@@ -1 +1 @@
1
- {"version":3,"file":"kirbydesign-designsystem-item-sliding.mjs","sources":["../../../../libs/designsystem/item-sliding/src/item-sliding.component.ts","../../../../libs/designsystem/item-sliding/src/item-sliding.component.html","../../../../libs/designsystem/item-sliding/src/kirbydesign-designsystem-item-sliding.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, Input, ViewChild } from '@angular/core';\nimport { IconModule } from '@kirbydesign/designsystem/icon';\n\nimport { IonItemOption, IonItemOptions, IonItemSliding, IonLabel } from '@ionic/angular/standalone';\nimport { ItemSlidingSide, ItemSwipeAction } from './item-sliding.types';\n\n@Component({\n standalone: true,\n imports: [IconModule, CommonModule, IonItemSliding, IonItemOptions, IonItemOption, IonLabel],\n selector: 'kirby-item-sliding',\n templateUrl: './item-sliding.component.html',\n styleUrls: ['./item-sliding.component.scss'],\n})\nexport class ItemSlidingComponent {\n @ViewChild(IonItemSliding, { static: true }) itemSliding: IonItemSliding;\n @Input() swipeActions: ItemSwipeAction[];\n\n _side: 'start' | 'end' = 'start';\n @Input() set side(value: ItemSlidingSide) {\n this._side = value === 'left' ? 'start' : 'end';\n }\n\n get _hasSwipeActions(): boolean {\n // Using '>' instead of '!==';\n // will only return true when swipeActions is an array\n return this.swipeActions?.length > 0;\n }\n\n onSwipeActionClick(swipeAction: ItemSwipeAction): void {\n swipeAction.onSelected();\n this.itemSliding.close();\n }\n}\n","<ion-item-sliding>\n <ng-content></ng-content>\n\n <ion-item-options *ngIf=\"_hasSwipeActions\" [side]=\"_side\">\n <ng-container *ngFor=\"let swipeAction of swipeActions\">\n <ion-item-option\n *ngIf=\"!swipeAction.isDisabled\"\n [ngClass]=\"swipeAction.type\"\n (click)=\"onSwipeActionClick(swipeAction)\"\n >\n <kirby-icon\n *ngIf=\"swipeAction.icon !== undefined\"\n [name]=\"swipeAction.icon\"\n slot=\"top\"\n ></kirby-icon>\n <ion-label>{{ swipeAction.title }}</ion-label>\n </ion-item-option>\n </ng-container>\n </ion-item-options>\n</ion-item-sliding>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;MAca,oBAAoB,CAAA;AAPjC,IAAA,WAAA,GAAA;QAWE,IAAK,CAAA,KAAA,GAAoB,OAAO,CAAC;AAelC,KAAA;IAdC,IAAa,IAAI,CAAC,KAAsB,EAAA;AACtC,QAAA,IAAI,CAAC,KAAK,GAAG,KAAK,KAAK,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;KACjD;AAED,IAAA,IAAI,gBAAgB,GAAA;;;AAGlB,QAAA,OAAO,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,CAAC,CAAC;KACtC;AAED,IAAA,kBAAkB,CAAC,WAA4B,EAAA;QAC7C,WAAW,CAAC,UAAU,EAAE,CAAC;AACzB,QAAA,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;KAC1B;iIAlBU,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAApB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,EACpB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,EAAA,YAAA,EAAA,cAAA,EAAA,IAAA,EAAA,MAAA,EAA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AAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAKhF,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAPhC,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,CAAC,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,QAAQ,CAAC,YAClF,oBAAoB,EAAA,QAAA,EAAA,kpBAAA,EAAA,MAAA,EAAA,CAAA,koCAAA,CAAA,EAAA,CAAA;8BAKe,WAAW,EAAA,CAAA;sBAAvD,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,cAAc,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAA;gBAClC,YAAY,EAAA,CAAA;sBAApB,KAAK;gBAGO,IAAI,EAAA,CAAA;sBAAhB,KAAK;;;AEnBR;;AAEG;;;;"}
1
+ {"version":3,"file":"kirbydesign-designsystem-item-sliding.mjs","sources":["../../item-sliding/src/item-sliding.component.ts","../../item-sliding/src/item-sliding.component.html","../../item-sliding/src/kirbydesign-designsystem-item-sliding.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, Input, ViewChild } from '@angular/core';\nimport { IconModule } from '@kirbydesign/designsystem/icon';\n\nimport { IonItemOption, IonItemOptions, IonItemSliding, IonLabel } from '@ionic/angular/standalone';\nimport { ItemSlidingSide, ItemSwipeAction } from './item-sliding.types';\n\n@Component({\n standalone: true,\n imports: [IconModule, CommonModule, IonItemSliding, IonItemOptions, IonItemOption, IonLabel],\n selector: 'kirby-item-sliding',\n templateUrl: './item-sliding.component.html',\n styleUrls: ['./item-sliding.component.scss'],\n})\nexport class ItemSlidingComponent {\n @ViewChild(IonItemSliding, { static: true }) itemSliding: IonItemSliding;\n @Input() swipeActions: ItemSwipeAction[];\n\n _side: 'start' | 'end' = 'start';\n @Input() set side(value: ItemSlidingSide) {\n this._side = value === 'left' ? 'start' : 'end';\n }\n\n get _hasSwipeActions(): boolean {\n // Using '>' instead of '!==';\n // will only return true when swipeActions is an array\n return this.swipeActions?.length > 0;\n }\n\n onSwipeActionClick(swipeAction: ItemSwipeAction): void {\n swipeAction.onSelected();\n this.itemSliding.close();\n }\n}\n","<ion-item-sliding>\n <ng-content></ng-content>\n\n <ion-item-options *ngIf=\"_hasSwipeActions\" [side]=\"_side\">\n <ng-container *ngFor=\"let swipeAction of swipeActions\">\n <ion-item-option\n *ngIf=\"!swipeAction.isDisabled\"\n [ngClass]=\"swipeAction.type\"\n (click)=\"onSwipeActionClick(swipeAction)\"\n >\n <kirby-icon\n *ngIf=\"swipeAction.icon !== undefined\"\n [name]=\"swipeAction.icon\"\n slot=\"top\"\n ></kirby-icon>\n <ion-label>{{ swipeAction.title }}</ion-label>\n </ion-item-option>\n </ng-container>\n </ion-item-options>\n</ion-item-sliding>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;MAca,oBAAoB,CAAA;AAPjC,IAAA,WAAA,GAAA;QAWE,IAAK,CAAA,KAAA,GAAoB,OAAO,CAAC;AAelC,KAAA;IAdC,IAAa,IAAI,CAAC,KAAsB,EAAA;AACtC,QAAA,IAAI,CAAC,KAAK,GAAG,KAAK,KAAK,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;KACjD;AAED,IAAA,IAAI,gBAAgB,GAAA;;;AAGlB,QAAA,OAAO,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,CAAC,CAAC;KACtC;AAED,IAAA,kBAAkB,CAAC,WAA4B,EAAA;QAC7C,WAAW,CAAC,UAAU,EAAE,CAAC;AACzB,QAAA,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;KAC1B;kIAlBU,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAA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cAAc,EAAE,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,cAAc,EAAE,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,aAAa,8JAAE,QAAQ,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAKhF,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAPhC,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,CAAC,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,QAAQ,CAAC,YAClF,oBAAoB,EAAA,QAAA,EAAA,kpBAAA,EAAA,MAAA,EAAA,CAAA,koCAAA,CAAA,EAAA,CAAA;8BAKe,WAAW,EAAA,CAAA;sBAAvD,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,cAAc,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAA;gBAClC,YAAY,EAAA,CAAA;sBAApB,KAAK;gBAGO,IAAI,EAAA,CAAA;sBAAhB,KAAK;;;AEnBR;;AAEG;;;;"}
@@ -1,11 +1,33 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, HostBinding, Input, NgModule } from '@angular/core';
2
+ import { Component, Input, HostBinding, ElementRef, ChangeDetectionStrategy, ContentChild, NgModule } from '@angular/core';
3
+ import { CheckboxComponent } from '@kirbydesign/designsystem/checkbox';
4
+ import { RadioComponent } from '@kirbydesign/designsystem/radio';
5
+ import * as i3 from '@ionic/angular/standalone';
6
+ import { IonItem, IonReorder, IonLabel } from '@ionic/angular/standalone';
3
7
  import * as i1 from '@kirbydesign/designsystem/icon';
4
8
  import { IconModule } from '@kirbydesign/designsystem/icon';
5
9
  import * as i2 from '@angular/common';
6
10
  import { CommonModule } from '@angular/common';
7
- import * as i3 from '@ionic/angular/standalone';
8
- import { IonItem, IonReorder, IonLabel } from '@ionic/angular/standalone';
11
+
12
+ class LabelComponent {
13
+ constructor() {
14
+ this.direction = 'vertical';
15
+ }
16
+ get _direction() {
17
+ return this.direction === 'horizontal';
18
+ }
19
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
20
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: LabelComponent, selector: "kirby-label", inputs: { direction: "direction" }, host: { properties: { "class.horizontal": "this._direction" } }, ngImport: i0, template: "<ion-label>\n <ng-content></ng-content>\n</ion-label>\n", styles: [":host.horizontal ion-label{display:flex;flex-direction:row;justify-content:space-between;align-items:center}:host.horizontal ion-label ::ng-deep>:not(:first-child){margin-left:12px}:host-context(kirby-item) ion-label ::ng-deep>h1,:host-context(kirby-item) ion-label ::ng-deep>h2,:host-context(kirby-item) ion-label ::ng-deep>h3,:host-context(kirby-item) ion-label ::ng-deep>h4,:host-context(kirby-item) ion-label ::ng-deep>h5,:host-context(kirby-item) ion-label ::ng-deep>h6,:host-context(kirby-item) ion-label ::ng-deep>p,:host-context(kirby-item) ion-label ::ng-deep>data{font-size:16px;line-height:24px;color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}:host-context(kirby-item) ion-label ::ng-deep>h1.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h2.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h3.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h4.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h5.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h6.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>p.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>data.kirby-text-bold{font-weight:700}:host-context(kirby-item) ion-label ::ng-deep>p{font-size:14px}:host-context(kirby-item) ion-label ::ng-deep>[subtitle],:host-context(kirby-item) ion-label ::ng-deep>[detail]{font-size:12px;line-height:16px}:host-context(kirby-item) ion-label ::ng-deep>[subtitle]:not(:last-child){margin-bottom:4px}:host-context(kirby-item) ion-label ::ng-deep>[detail]{color:var(--kirby-text-color-semi-dark)}:host-context(kirby-item) ion-label ::ng-deep>[wrap]{white-space:normal}:host-context(kirby-section-header) ion-label{--padding-end: 16px;--padding-start: 16px}:host-context(kirby-section-header) ion-label ::ng-deep>[heading]{font-weight:700;font-size:18px;line-height:24px;color:var(--kirby-section-header-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-section-header) ion-label ::ng-deep>[detail],:host-context(kirby-section-header) ion-label ::ng-deep>[label]{font-weight:300;font-size:14px;line-height:20px;color:var(--kirby-section-header-color);margin:4px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-section-header) ion-label ::ng-deep>[wrap]{white-space:normal}:host([slot=end]) ion-label ::ng-deep>data,:host([slot=end]) ion-label ::ng-deep>[detail]{margin-inline-start:16px}:host-context(kirby-item.selected) ion-label ::ng-deep>h1,:host-context(kirby-item.selected) ion-label ::ng-deep>h2,:host-context(kirby-item.selected) ion-label ::ng-deep>h3,:host-context(kirby-item.selected) ion-label ::ng-deep>h4,:host-context(kirby-item.selected) ion-label ::ng-deep>h5,:host-context(kirby-item.selected) ion-label ::ng-deep>h6,:host-context(kirby-item.selected) ion-label ::ng-deep>p:not([detail]),:host-context(kirby-item.selected) ion-label ::ng-deep>data:not([detail]){font-weight:700}\n"], dependencies: [{ kind: "component", type: i3.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }] }); }
21
+ }
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LabelComponent, decorators: [{
23
+ type: Component,
24
+ args: [{ selector: 'kirby-label', template: "<ion-label>\n <ng-content></ng-content>\n</ion-label>\n", styles: [":host.horizontal ion-label{display:flex;flex-direction:row;justify-content:space-between;align-items:center}:host.horizontal ion-label ::ng-deep>:not(:first-child){margin-left:12px}:host-context(kirby-item) ion-label ::ng-deep>h1,:host-context(kirby-item) ion-label ::ng-deep>h2,:host-context(kirby-item) ion-label ::ng-deep>h3,:host-context(kirby-item) ion-label ::ng-deep>h4,:host-context(kirby-item) ion-label ::ng-deep>h5,:host-context(kirby-item) ion-label ::ng-deep>h6,:host-context(kirby-item) ion-label ::ng-deep>p,:host-context(kirby-item) ion-label ::ng-deep>data{font-size:16px;line-height:24px;color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}:host-context(kirby-item) ion-label ::ng-deep>h1.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h2.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h3.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h4.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h5.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h6.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>p.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>data.kirby-text-bold{font-weight:700}:host-context(kirby-item) ion-label ::ng-deep>p{font-size:14px}:host-context(kirby-item) ion-label ::ng-deep>[subtitle],:host-context(kirby-item) ion-label ::ng-deep>[detail]{font-size:12px;line-height:16px}:host-context(kirby-item) ion-label ::ng-deep>[subtitle]:not(:last-child){margin-bottom:4px}:host-context(kirby-item) ion-label ::ng-deep>[detail]{color:var(--kirby-text-color-semi-dark)}:host-context(kirby-item) ion-label ::ng-deep>[wrap]{white-space:normal}:host-context(kirby-section-header) ion-label{--padding-end: 16px;--padding-start: 16px}:host-context(kirby-section-header) ion-label ::ng-deep>[heading]{font-weight:700;font-size:18px;line-height:24px;color:var(--kirby-section-header-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-section-header) ion-label ::ng-deep>[detail],:host-context(kirby-section-header) ion-label ::ng-deep>[label]{font-weight:300;font-size:14px;line-height:20px;color:var(--kirby-section-header-color);margin:4px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-section-header) ion-label ::ng-deep>[wrap]{white-space:normal}:host([slot=end]) ion-label ::ng-deep>data,:host([slot=end]) ion-label ::ng-deep>[detail]{margin-inline-start:16px}:host-context(kirby-item.selected) ion-label ::ng-deep>h1,:host-context(kirby-item.selected) ion-label ::ng-deep>h2,:host-context(kirby-item.selected) ion-label ::ng-deep>h3,:host-context(kirby-item.selected) ion-label ::ng-deep>h4,:host-context(kirby-item.selected) ion-label ::ng-deep>h5,:host-context(kirby-item.selected) ion-label ::ng-deep>h6,:host-context(kirby-item.selected) ion-label ::ng-deep>p:not([detail]),:host-context(kirby-item.selected) ion-label ::ng-deep>data:not([detail]){font-weight:700}\n"] }]
25
+ }], propDecorators: { direction: [{
26
+ type: Input
27
+ }], _direction: [{
28
+ type: HostBinding,
29
+ args: ['class.horizontal']
30
+ }] } });
9
31
 
10
32
  var ItemSize;
11
33
  (function (ItemSize) {
@@ -14,7 +36,8 @@ var ItemSize;
14
36
  ItemSize["MD"] = "md";
15
37
  })(ItemSize || (ItemSize = {}));
16
38
  class ItemComponent {
17
- constructor() {
39
+ constructor(renderer) {
40
+ this.renderer = renderer;
18
41
  this.size = ItemSize.MD;
19
42
  this.rotateIcon = false;
20
43
  }
@@ -25,13 +48,33 @@ class ItemComponent {
25
48
  event.preventDefault();
26
49
  }
27
50
  }
28
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
29
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: ItemComponent, selector: "kirby-item", inputs: { disabled: "disabled", selected: "selected", disclosure: "disclosure", selectable: "selectable", reorderable: "reorderable", size: "size", rotateIcon: "rotateIcon" }, host: { properties: { "class.disabled": "this.disabled", "class.selected": "this.selected", "class.disclosure": "this.disclosure", "class": "this.size" } }, ngImport: i0, template: "<ion-item\n lines=\"none\"\n [attr.disabled]=\"disabled\"\n [attr.button]=\"selectable ? true : null\"\n [attr.tabindex]=\"selectable ? null : 0\"\n detail=\"false\"\n (mousedown)=\"onMouseDown($event)\"\n>\n <div class=\"outside\" slot=\"start\">\n <ng-content select=\"[slot='outside']\"></ng-content>\n </div>\n <ng-content></ng-content>\n <ion-reorder slot=\"end\" *ngIf=\"reorderable\">\n <kirby-icon name=\"reorder\"></kirby-icon>\n </ion-reorder>\n\n <span class=\"disclosure\" slot=\"end\" *ngIf=\"disclosure\">\n <kirby-icon\n [class.rotate]=\"rotateIcon && (disclosure === 'arrow-down' || disclosure === 'arrow-up')\"\n name=\"{{ disclosure }}\"\n ></kirby-icon>\n </span>\n</ion-item>\n", styles: [":host{display:block;position:relative}:host ion-item{--padding-top: var(--item-padding-top, 0px);--padding-bottom: var(--item-padding-bottom, 0px);--min-height: 56px;--padding-start: 16px;--inner-padding-top: 8px;--inner-padding-bottom: 8px;--inner-padding-end: 16px;--background: var(--kirby-item-background, var(--kirby-white));--background-activated-opacity: .99;--background-focused: var( --kirby-item-background-focused, var(--kirby-background-color) );--background-focused-opacity: 1;font-size:16px;--transition: background-color 80ms linear 0ms}@media (hover: hover) and (pointer: fine){:host ion-item:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){:host ion-item:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);--background-hover: var(--state-layer-background-color);--background-hover-opacity: var(--state-layer-opacity)}}:host ion-item:active,:host ion-item.ion-activated{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);--background-activated: var(--state-layer-background-color);--background-activated-opacity: var(--state-layer-opacity)}@media screen and (orientation: landscape){:host ion-item{--ion-safe-area-left: 0px;--ion-safe-area-right: 0px}}:host ion-item ::ng-deep>[slot=end]{margin-inline:0;text-align:right}:host ion-item ::ng-deep>time[slot=end]{margin-inline-start:12px}:host ion-item ::ng-deep>data[slot=end],:host ion-item ::ng-deep>[detail][slot=end],:host ion-item ::ng-deep>ion-reorder[slot=end]{margin-inline-start:16px}:host ion-item ::ng-deep>h1,:host ion-item ::ng-deep>h2,:host ion-item ::ng-deep>h3,:host ion-item ::ng-deep>h4,:host ion-item ::ng-deep>h5,:host ion-item ::ng-deep>h6,:host ion-item ::ng-deep>p,:host ion-item ::ng-deep>data{font-size:16px;line-height:24px;color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}:host ion-item ::ng-deep>h1.kirby-text-bold,:host ion-item ::ng-deep>h2.kirby-text-bold,:host ion-item ::ng-deep>h3.kirby-text-bold,:host ion-item ::ng-deep>h4.kirby-text-bold,:host ion-item ::ng-deep>h5.kirby-text-bold,:host ion-item ::ng-deep>h6.kirby-text-bold,:host ion-item ::ng-deep>p.kirby-text-bold,:host ion-item ::ng-deep>data.kirby-text-bold{font-weight:700}:host ion-item ::ng-deep>p{font-size:14px}:host ion-item ::ng-deep>[subtitle],:host ion-item ::ng-deep>[detail]{font-size:12px;line-height:16px}:host ion-item ::ng-deep>[subtitle]:not(:last-child){margin-bottom:4px}:host ion-item ::ng-deep>[detail]{color:var(--kirby-text-color-semi-dark)}:host ion-item ::ng-deep>[wrap]{white-space:normal}:host ion-item ::ng-deep>:not([slot]){width:100%}:host ion-item ::ng-deep>input[slot=end],:host ion-item ::ng-deep>kirby-form-field[slot=end] input{margin-inline-start:16px;width:auto;text-align:right}:host.sm ion-item,:host-context(kirby-card.menu-popover) :host:not([size]) ion-item{--min-height: 44px}:host.xs ion-item{--min-height: 32px;--inner-padding-top: 4px;--inner-padding-bottom: 4px}:host .outside{left:4px;margin:0;position:absolute;width:16px;z-index:1}.disclosure{padding-left:4px;color:var(--kirby-semi-dark);display:inline-flex;justify-content:center;align-items:center}.disclosure kirby-icon{transition:transform .2s}.disclosure kirby-icon.rotate{transform:rotate(180deg)}:host-context(kirby-dropdown) ion-item,:host-context(kirby-popover) ion-item{--min-height: 44px}:host-context(kirby-dropdown .focused) ion-item,:host-context(kirby-popover .focused) ion-item{--background: whitesmoke}:host(.disabled),:host([disabled]){pointer-events:none}:host(.selected) ion-item ::ng-deep>h1,:host(.selected) ion-item ::ng-deep>h2,:host(.selected) ion-item ::ng-deep>h3,:host(.selected) ion-item ::ng-deep>h4,:host(.selected) ion-item ::ng-deep>h5,:host(.selected) ion-item ::ng-deep>h6,:host(.selected) ion-item ::ng-deep>p,:host(.selected) ion-item ::ng-deep>data,:host-context(kirby-list .selected) ion-item ::ng-deep>h1,:host-context(kirby-list .selected) ion-item ::ng-deep>h2,:host-context(kirby-list .selected) ion-item ::ng-deep>h3,:host-context(kirby-list .selected) ion-item ::ng-deep>h4,:host-context(kirby-list .selected) ion-item ::ng-deep>h5,:host-context(kirby-list .selected) ion-item ::ng-deep>h6,:host-context(kirby-list .selected) ion-item ::ng-deep>p,:host-context(kirby-list .selected) ion-item ::ng-deep>data{font-weight:700}:host(.disclosure) ion-item{--inner-padding-end: 8px}:host-context(.shape-rounded .is-single) ion-item{--border-radius: 16px}:host-context(.has-header .is-single) ion-item::part(native){border-top-left-radius:0;border-top-right-radius:0}:host-context(.has-footer .is-single) ion-item::part(native){border-bottom-left-radius:0;border-bottom-right-radius:0}:host-context(.shape-rounded.has-sections .list-items kirby-list-item:first-of-type) ion-item::part(native){border-top-left-radius:16px;border-top-right-radius:16px}\n"], dependencies: [{ kind: "component", type: i1.IconComponent, selector: "kirby-icon", inputs: ["size", "name", "customName"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i3.IonReorder, selector: "ion-reorder" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
51
+ ngAfterContentInit() {
52
+ if (this.label) {
53
+ if (this.checkbox) {
54
+ this.moveLabel(this.checkbox.nativeElement.querySelector('ion-checkbox'));
55
+ }
56
+ if (this.radio) {
57
+ this.moveLabel(this.radio.nativeElement.querySelector('ion-radio'));
58
+ }
59
+ }
60
+ }
61
+ moveLabel(newParent) {
62
+ const labelElement = this.label.nativeElement;
63
+ this.renderer.removeChild(labelElement.parentElement, labelElement);
64
+ this.renderer.appendChild(newParent, labelElement);
65
+ }
66
+ get _isIonicButton() {
67
+ // Ionic checks for slotted checkbox and radio
68
+ // and we shouldn't set the `button` prop in that scenario:
69
+ return this.selectable && !(this.checkbox || this.radio);
70
+ }
71
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ItemComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
72
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ItemComponent, selector: "kirby-item", inputs: { disabled: "disabled", selected: "selected", disclosure: "disclosure", selectable: "selectable", reorderable: "reorderable", size: "size", rotateIcon: "rotateIcon" }, host: { properties: { "class.disabled": "this.disabled", "class.selected": "this.selected", "class.disclosure": "this.disclosure", "class": "this.size" } }, queries: [{ propertyName: "label", first: true, predicate: LabelComponent, read: ElementRef }, { propertyName: "checkbox", first: true, predicate: CheckboxComponent, descendants: true, read: ElementRef }, { propertyName: "radio", first: true, predicate: RadioComponent, descendants: true, read: ElementRef }], ngImport: i0, template: "<ion-item\n lines=\"none\"\n [attr.disabled]=\"disabled\"\n [attr.button]=\"_isIonicButton ? true : null\"\n [attr.tabindex]=\"selectable ? null : 0\"\n detail=\"false\"\n (mousedown)=\"onMouseDown($event)\"\n>\n <div class=\"outside\" slot=\"start\">\n <ng-content select=\"[slot='outside']\"></ng-content>\n </div>\n <ng-content></ng-content>\n <ion-reorder slot=\"end\" *ngIf=\"reorderable\">\n <kirby-icon name=\"reorder\"></kirby-icon>\n </ion-reorder>\n\n <span class=\"disclosure\" slot=\"end\" *ngIf=\"disclosure\">\n <kirby-icon\n [class.rotate]=\"rotateIcon && (disclosure === 'arrow-down' || disclosure === 'arrow-up')\"\n name=\"{{ disclosure }}\"\n ></kirby-icon>\n </span>\n</ion-item>\n", styles: [":host{display:block;position:relative}:host ion-item{--padding-top: var(--item-padding-top, 0px);--padding-bottom: var(--item-padding-bottom, 0px);--min-height: 56px;--padding-start: 16px;--inner-padding-top: 8px;--inner-padding-bottom: 8px;--inner-padding-end: 16px;--background: var(--kirby-item-background, var(--kirby-white));--background-activated-opacity: .99;--background-focused: var( --kirby-item-background-focused, var(--kirby-background-color) );--background-focused-opacity: 1;font-size:16px;--transition: background-color 80ms linear 0ms}@media (hover: hover) and (pointer: fine){:host ion-item:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){:host ion-item:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);--background-hover: var(--state-layer-background-color);--background-hover-opacity: var(--state-layer-opacity)}}:host ion-item:active,:host ion-item.ion-activated{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);--background-activated: var(--state-layer-background-color);--background-activated-opacity: var(--state-layer-opacity)}@media screen and (orientation: landscape){:host ion-item{--ion-safe-area-left: 0px;--ion-safe-area-right: 0px}}:host ion-item ::ng-deep>[slot=end]{margin-inline:0;text-align:right}:host ion-item ::ng-deep>time[slot=end]{margin-inline-start:12px}:host ion-item ::ng-deep>data[slot=end],:host ion-item ::ng-deep>[detail][slot=end],:host ion-item ::ng-deep>ion-reorder[slot=end]{margin-inline-start:16px}:host ion-item ::ng-deep>h1,:host ion-item ::ng-deep>h2,:host ion-item ::ng-deep>h3,:host ion-item ::ng-deep>h4,:host ion-item ::ng-deep>h5,:host ion-item ::ng-deep>h6,:host ion-item ::ng-deep>p,:host ion-item ::ng-deep>data{font-size:16px;line-height:24px;color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}:host ion-item ::ng-deep>h1.kirby-text-bold,:host ion-item ::ng-deep>h2.kirby-text-bold,:host ion-item ::ng-deep>h3.kirby-text-bold,:host ion-item ::ng-deep>h4.kirby-text-bold,:host ion-item ::ng-deep>h5.kirby-text-bold,:host ion-item ::ng-deep>h6.kirby-text-bold,:host ion-item ::ng-deep>p.kirby-text-bold,:host ion-item ::ng-deep>data.kirby-text-bold{font-weight:700}:host ion-item ::ng-deep>p{font-size:14px}:host ion-item ::ng-deep>[subtitle],:host ion-item ::ng-deep>[detail]{font-size:12px;line-height:16px}:host ion-item ::ng-deep>[subtitle]:not(:last-child){margin-bottom:4px}:host ion-item ::ng-deep>[detail]{color:var(--kirby-text-color-semi-dark)}:host ion-item ::ng-deep>[wrap]{white-space:normal}:host ion-item ::ng-deep>:not([slot]){width:100%}:host ion-item ::ng-deep>input[slot=end],:host ion-item ::ng-deep>kirby-form-field[slot=end] input{margin-inline-start:16px;width:auto;text-align:right}:host ion-item:has(kirby-checkbox,kirby-radio){--inner-padding-top: 0;--inner-padding-bottom: 0}:host ion-item:has(kirby-checkbox:not([slot]),kirby-radio:not([slot])){overflow:inherit}:host.sm ion-item,:host-context(kirby-card.menu-popover) :host:not([size]) ion-item{--min-height: 44px}:host.xs ion-item{--min-height: 32px}:host.xs ion-item:not(:has(kirby-checkbox,kirby-radio)){--inner-padding-top: 4px;--inner-padding-bottom: 4px}:host .outside{left:4px;margin:0;position:absolute;width:16px;z-index:1}.disclosure{padding-left:4px;color:var(--kirby-semi-dark);display:inline-flex;justify-content:center;align-items:center}.disclosure kirby-icon{transition:transform .2s}.disclosure kirby-icon.rotate{transform:rotate(180deg)}:host-context(kirby-dropdown) ion-item,:host-context(kirby-popover) ion-item{--min-height: 44px}:host-context(kirby-dropdown .focused) ion-item,:host-context(kirby-popover .focused) ion-item{--background: rgb(244.8, 244.8, 244.8)}:host(.disabled),:host([disabled]){pointer-events:none}:host(.selected) ion-item ::ng-deep>h1,:host(.selected) ion-item ::ng-deep>h2,:host(.selected) ion-item ::ng-deep>h3,:host(.selected) ion-item ::ng-deep>h4,:host(.selected) ion-item ::ng-deep>h5,:host(.selected) ion-item ::ng-deep>h6,:host(.selected) ion-item ::ng-deep>p,:host(.selected) ion-item ::ng-deep>data,:host-context(kirby-list .selected) ion-item ::ng-deep>h1,:host-context(kirby-list .selected) ion-item ::ng-deep>h2,:host-context(kirby-list .selected) ion-item ::ng-deep>h3,:host-context(kirby-list .selected) ion-item ::ng-deep>h4,:host-context(kirby-list .selected) ion-item ::ng-deep>h5,:host-context(kirby-list .selected) ion-item ::ng-deep>h6,:host-context(kirby-list .selected) ion-item ::ng-deep>p,:host-context(kirby-list .selected) ion-item ::ng-deep>data{font-weight:700}:host(.disclosure) ion-item{--inner-padding-end: 8px}:host-context(.shape-rounded .is-single) ion-item{--border-radius: 16px}:host-context(.has-header .is-single) ion-item::part(native){border-top-left-radius:0;border-top-right-radius:0}:host-context(.has-footer .is-single) ion-item::part(native){border-bottom-left-radius:0;border-bottom-right-radius:0}:host-context(.shape-rounded.has-sections .list-items kirby-list-item:first-of-type) ion-item::part(native){border-top-left-radius:16px;border-top-right-radius:16px}\n"], dependencies: [{ kind: "component", type: i1.IconComponent, selector: "kirby-icon", inputs: ["size", "name", "customName"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.IonItem, selector: "ion-item", inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: i3.IonReorder, selector: "ion-reorder" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
30
73
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ItemComponent, decorators: [{
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ItemComponent, decorators: [{
32
75
  type: Component,
33
- args: [{ selector: 'kirby-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ion-item\n lines=\"none\"\n [attr.disabled]=\"disabled\"\n [attr.button]=\"selectable ? true : null\"\n [attr.tabindex]=\"selectable ? null : 0\"\n detail=\"false\"\n (mousedown)=\"onMouseDown($event)\"\n>\n <div class=\"outside\" slot=\"start\">\n <ng-content select=\"[slot='outside']\"></ng-content>\n </div>\n <ng-content></ng-content>\n <ion-reorder slot=\"end\" *ngIf=\"reorderable\">\n <kirby-icon name=\"reorder\"></kirby-icon>\n </ion-reorder>\n\n <span class=\"disclosure\" slot=\"end\" *ngIf=\"disclosure\">\n <kirby-icon\n [class.rotate]=\"rotateIcon && (disclosure === 'arrow-down' || disclosure === 'arrow-up')\"\n name=\"{{ disclosure }}\"\n ></kirby-icon>\n </span>\n</ion-item>\n", styles: [":host{display:block;position:relative}:host ion-item{--padding-top: var(--item-padding-top, 0px);--padding-bottom: var(--item-padding-bottom, 0px);--min-height: 56px;--padding-start: 16px;--inner-padding-top: 8px;--inner-padding-bottom: 8px;--inner-padding-end: 16px;--background: var(--kirby-item-background, var(--kirby-white));--background-activated-opacity: .99;--background-focused: var( --kirby-item-background-focused, var(--kirby-background-color) );--background-focused-opacity: 1;font-size:16px;--transition: background-color 80ms linear 0ms}@media (hover: hover) and (pointer: fine){:host ion-item:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){:host ion-item:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);--background-hover: var(--state-layer-background-color);--background-hover-opacity: var(--state-layer-opacity)}}:host ion-item:active,:host ion-item.ion-activated{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);--background-activated: var(--state-layer-background-color);--background-activated-opacity: var(--state-layer-opacity)}@media screen and (orientation: landscape){:host ion-item{--ion-safe-area-left: 0px;--ion-safe-area-right: 0px}}:host ion-item ::ng-deep>[slot=end]{margin-inline:0;text-align:right}:host ion-item ::ng-deep>time[slot=end]{margin-inline-start:12px}:host ion-item ::ng-deep>data[slot=end],:host ion-item ::ng-deep>[detail][slot=end],:host ion-item ::ng-deep>ion-reorder[slot=end]{margin-inline-start:16px}:host ion-item ::ng-deep>h1,:host ion-item ::ng-deep>h2,:host ion-item ::ng-deep>h3,:host ion-item ::ng-deep>h4,:host ion-item ::ng-deep>h5,:host ion-item ::ng-deep>h6,:host ion-item ::ng-deep>p,:host ion-item ::ng-deep>data{font-size:16px;line-height:24px;color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}:host ion-item ::ng-deep>h1.kirby-text-bold,:host ion-item ::ng-deep>h2.kirby-text-bold,:host ion-item ::ng-deep>h3.kirby-text-bold,:host ion-item ::ng-deep>h4.kirby-text-bold,:host ion-item ::ng-deep>h5.kirby-text-bold,:host ion-item ::ng-deep>h6.kirby-text-bold,:host ion-item ::ng-deep>p.kirby-text-bold,:host ion-item ::ng-deep>data.kirby-text-bold{font-weight:700}:host ion-item ::ng-deep>p{font-size:14px}:host ion-item ::ng-deep>[subtitle],:host ion-item ::ng-deep>[detail]{font-size:12px;line-height:16px}:host ion-item ::ng-deep>[subtitle]:not(:last-child){margin-bottom:4px}:host ion-item ::ng-deep>[detail]{color:var(--kirby-text-color-semi-dark)}:host ion-item ::ng-deep>[wrap]{white-space:normal}:host ion-item ::ng-deep>:not([slot]){width:100%}:host ion-item ::ng-deep>input[slot=end],:host ion-item ::ng-deep>kirby-form-field[slot=end] input{margin-inline-start:16px;width:auto;text-align:right}:host.sm ion-item,:host-context(kirby-card.menu-popover) :host:not([size]) ion-item{--min-height: 44px}:host.xs ion-item{--min-height: 32px;--inner-padding-top: 4px;--inner-padding-bottom: 4px}:host .outside{left:4px;margin:0;position:absolute;width:16px;z-index:1}.disclosure{padding-left:4px;color:var(--kirby-semi-dark);display:inline-flex;justify-content:center;align-items:center}.disclosure kirby-icon{transition:transform .2s}.disclosure kirby-icon.rotate{transform:rotate(180deg)}:host-context(kirby-dropdown) ion-item,:host-context(kirby-popover) ion-item{--min-height: 44px}:host-context(kirby-dropdown .focused) ion-item,:host-context(kirby-popover .focused) ion-item{--background: whitesmoke}:host(.disabled),:host([disabled]){pointer-events:none}:host(.selected) ion-item ::ng-deep>h1,:host(.selected) ion-item ::ng-deep>h2,:host(.selected) ion-item ::ng-deep>h3,:host(.selected) ion-item ::ng-deep>h4,:host(.selected) ion-item ::ng-deep>h5,:host(.selected) ion-item ::ng-deep>h6,:host(.selected) ion-item ::ng-deep>p,:host(.selected) ion-item ::ng-deep>data,:host-context(kirby-list .selected) ion-item ::ng-deep>h1,:host-context(kirby-list .selected) ion-item ::ng-deep>h2,:host-context(kirby-list .selected) ion-item ::ng-deep>h3,:host-context(kirby-list .selected) ion-item ::ng-deep>h4,:host-context(kirby-list .selected) ion-item ::ng-deep>h5,:host-context(kirby-list .selected) ion-item ::ng-deep>h6,:host-context(kirby-list .selected) ion-item ::ng-deep>p,:host-context(kirby-list .selected) ion-item ::ng-deep>data{font-weight:700}:host(.disclosure) ion-item{--inner-padding-end: 8px}:host-context(.shape-rounded .is-single) ion-item{--border-radius: 16px}:host-context(.has-header .is-single) ion-item::part(native){border-top-left-radius:0;border-top-right-radius:0}:host-context(.has-footer .is-single) ion-item::part(native){border-bottom-left-radius:0;border-bottom-right-radius:0}:host-context(.shape-rounded.has-sections .list-items kirby-list-item:first-of-type) ion-item::part(native){border-top-left-radius:16px;border-top-right-radius:16px}\n"] }]
34
- }], propDecorators: { disabled: [{
76
+ args: [{ selector: 'kirby-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ion-item\n lines=\"none\"\n [attr.disabled]=\"disabled\"\n [attr.button]=\"_isIonicButton ? true : null\"\n [attr.tabindex]=\"selectable ? null : 0\"\n detail=\"false\"\n (mousedown)=\"onMouseDown($event)\"\n>\n <div class=\"outside\" slot=\"start\">\n <ng-content select=\"[slot='outside']\"></ng-content>\n </div>\n <ng-content></ng-content>\n <ion-reorder slot=\"end\" *ngIf=\"reorderable\">\n <kirby-icon name=\"reorder\"></kirby-icon>\n </ion-reorder>\n\n <span class=\"disclosure\" slot=\"end\" *ngIf=\"disclosure\">\n <kirby-icon\n [class.rotate]=\"rotateIcon && (disclosure === 'arrow-down' || disclosure === 'arrow-up')\"\n name=\"{{ disclosure }}\"\n ></kirby-icon>\n </span>\n</ion-item>\n", styles: [":host{display:block;position:relative}:host ion-item{--padding-top: var(--item-padding-top, 0px);--padding-bottom: var(--item-padding-bottom, 0px);--min-height: 56px;--padding-start: 16px;--inner-padding-top: 8px;--inner-padding-bottom: 8px;--inner-padding-end: 16px;--background: var(--kirby-item-background, var(--kirby-white));--background-activated-opacity: .99;--background-focused: var( --kirby-item-background-focused, var(--kirby-background-color) );--background-focused-opacity: 1;font-size:16px;--transition: background-color 80ms linear 0ms}@media (hover: hover) and (pointer: fine){:host ion-item:focus-visible{box-shadow:none;--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black)}}@media (hover: hover){:host ion-item:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);--background-hover: var(--state-layer-background-color);--background-hover-opacity: var(--state-layer-opacity)}}:host ion-item:active,:host ion-item.ion-activated{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);--background-activated: var(--state-layer-background-color);--background-activated-opacity: var(--state-layer-opacity)}@media screen and (orientation: landscape){:host ion-item{--ion-safe-area-left: 0px;--ion-safe-area-right: 0px}}:host ion-item ::ng-deep>[slot=end]{margin-inline:0;text-align:right}:host ion-item ::ng-deep>time[slot=end]{margin-inline-start:12px}:host ion-item ::ng-deep>data[slot=end],:host ion-item ::ng-deep>[detail][slot=end],:host ion-item ::ng-deep>ion-reorder[slot=end]{margin-inline-start:16px}:host ion-item ::ng-deep>h1,:host ion-item ::ng-deep>h2,:host ion-item ::ng-deep>h3,:host ion-item ::ng-deep>h4,:host ion-item ::ng-deep>h5,:host ion-item ::ng-deep>h6,:host ion-item ::ng-deep>p,:host ion-item ::ng-deep>data{font-size:16px;line-height:24px;color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}:host ion-item ::ng-deep>h1.kirby-text-bold,:host ion-item ::ng-deep>h2.kirby-text-bold,:host ion-item ::ng-deep>h3.kirby-text-bold,:host ion-item ::ng-deep>h4.kirby-text-bold,:host ion-item ::ng-deep>h5.kirby-text-bold,:host ion-item ::ng-deep>h6.kirby-text-bold,:host ion-item ::ng-deep>p.kirby-text-bold,:host ion-item ::ng-deep>data.kirby-text-bold{font-weight:700}:host ion-item ::ng-deep>p{font-size:14px}:host ion-item ::ng-deep>[subtitle],:host ion-item ::ng-deep>[detail]{font-size:12px;line-height:16px}:host ion-item ::ng-deep>[subtitle]:not(:last-child){margin-bottom:4px}:host ion-item ::ng-deep>[detail]{color:var(--kirby-text-color-semi-dark)}:host ion-item ::ng-deep>[wrap]{white-space:normal}:host ion-item ::ng-deep>:not([slot]){width:100%}:host ion-item ::ng-deep>input[slot=end],:host ion-item ::ng-deep>kirby-form-field[slot=end] input{margin-inline-start:16px;width:auto;text-align:right}:host ion-item:has(kirby-checkbox,kirby-radio){--inner-padding-top: 0;--inner-padding-bottom: 0}:host ion-item:has(kirby-checkbox:not([slot]),kirby-radio:not([slot])){overflow:inherit}:host.sm ion-item,:host-context(kirby-card.menu-popover) :host:not([size]) ion-item{--min-height: 44px}:host.xs ion-item{--min-height: 32px}:host.xs ion-item:not(:has(kirby-checkbox,kirby-radio)){--inner-padding-top: 4px;--inner-padding-bottom: 4px}:host .outside{left:4px;margin:0;position:absolute;width:16px;z-index:1}.disclosure{padding-left:4px;color:var(--kirby-semi-dark);display:inline-flex;justify-content:center;align-items:center}.disclosure kirby-icon{transition:transform .2s}.disclosure kirby-icon.rotate{transform:rotate(180deg)}:host-context(kirby-dropdown) ion-item,:host-context(kirby-popover) ion-item{--min-height: 44px}:host-context(kirby-dropdown .focused) ion-item,:host-context(kirby-popover .focused) ion-item{--background: rgb(244.8, 244.8, 244.8)}:host(.disabled),:host([disabled]){pointer-events:none}:host(.selected) ion-item ::ng-deep>h1,:host(.selected) ion-item ::ng-deep>h2,:host(.selected) ion-item ::ng-deep>h3,:host(.selected) ion-item ::ng-deep>h4,:host(.selected) ion-item ::ng-deep>h5,:host(.selected) ion-item ::ng-deep>h6,:host(.selected) ion-item ::ng-deep>p,:host(.selected) ion-item ::ng-deep>data,:host-context(kirby-list .selected) ion-item ::ng-deep>h1,:host-context(kirby-list .selected) ion-item ::ng-deep>h2,:host-context(kirby-list .selected) ion-item ::ng-deep>h3,:host-context(kirby-list .selected) ion-item ::ng-deep>h4,:host-context(kirby-list .selected) ion-item ::ng-deep>h5,:host-context(kirby-list .selected) ion-item ::ng-deep>h6,:host-context(kirby-list .selected) ion-item ::ng-deep>p,:host-context(kirby-list .selected) ion-item ::ng-deep>data{font-weight:700}:host(.disclosure) ion-item{--inner-padding-end: 8px}:host-context(.shape-rounded .is-single) ion-item{--border-radius: 16px}:host-context(.has-header .is-single) ion-item::part(native){border-top-left-radius:0;border-top-right-radius:0}:host-context(.has-footer .is-single) ion-item::part(native){border-bottom-left-radius:0;border-bottom-right-radius:0}:host-context(.shape-rounded.has-sections .list-items kirby-list-item:first-of-type) ion-item::part(native){border-top-left-radius:16px;border-top-right-radius:16px}\n"] }]
77
+ }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { disabled: [{
35
78
  type: HostBinding,
36
79
  args: ['class.disabled']
37
80
  }, {
@@ -57,35 +100,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImpor
57
100
  type: Input
58
101
  }], rotateIcon: [{
59
102
  type: Input
60
- }] } });
61
-
62
- class LabelComponent {
63
- constructor() {
64
- this.direction = 'vertical';
65
- }
66
- get _direction() {
67
- return this.direction === 'horizontal';
68
- }
69
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: LabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
70
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: LabelComponent, selector: "kirby-label", inputs: { direction: "direction" }, host: { properties: { "class.horizontal": "this._direction" } }, ngImport: i0, template: "<ion-label>\n <ng-content></ng-content>\n</ion-label>\n", styles: [":host.horizontal ion-label{display:flex;flex-direction:row;justify-content:space-between;align-items:center}:host.horizontal ion-label ::ng-deep>:not(:first-child){margin-left:12px}:host-context(kirby-item) ion-label ::ng-deep>h1,:host-context(kirby-item) ion-label ::ng-deep>h2,:host-context(kirby-item) ion-label ::ng-deep>h3,:host-context(kirby-item) ion-label ::ng-deep>h4,:host-context(kirby-item) ion-label ::ng-deep>h5,:host-context(kirby-item) ion-label ::ng-deep>h6,:host-context(kirby-item) ion-label ::ng-deep>p,:host-context(kirby-item) ion-label ::ng-deep>data{font-size:16px;line-height:24px;color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}:host-context(kirby-item) ion-label ::ng-deep>h1.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h2.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h3.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h4.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h5.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h6.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>p.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>data.kirby-text-bold{font-weight:700}:host-context(kirby-item) ion-label ::ng-deep>p{font-size:14px}:host-context(kirby-item) ion-label ::ng-deep>[subtitle],:host-context(kirby-item) ion-label ::ng-deep>[detail]{font-size:12px;line-height:16px}:host-context(kirby-item) ion-label ::ng-deep>[subtitle]:not(:last-child){margin-bottom:4px}:host-context(kirby-item) ion-label ::ng-deep>[detail]{color:var(--kirby-text-color-semi-dark)}:host-context(kirby-item) ion-label ::ng-deep>[wrap]{white-space:normal}:host-context(kirby-section-header) ion-label{--padding-end: 16px;--padding-start: 16px}:host-context(kirby-section-header) ion-label ::ng-deep>[heading]{font-weight:700;font-size:18px;line-height:24px;color:var(--kirby-section-header-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-section-header) ion-label ::ng-deep>[detail],:host-context(kirby-section-header) ion-label ::ng-deep>[label]{font-weight:300;font-size:14px;line-height:20px;color:var(--kirby-section-header-color);margin:4px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-section-header) ion-label ::ng-deep>[wrap]{white-space:normal}:host([slot=end]) ion-label ::ng-deep>data,:host([slot=end]) ion-label ::ng-deep>[detail]{margin-inline-start:16px}:host-context(kirby-item.selected) ion-label ::ng-deep>h1,:host-context(kirby-item.selected) ion-label ::ng-deep>h2,:host-context(kirby-item.selected) ion-label ::ng-deep>h3,:host-context(kirby-item.selected) ion-label ::ng-deep>h4,:host-context(kirby-item.selected) ion-label ::ng-deep>h5,:host-context(kirby-item.selected) ion-label ::ng-deep>h6,:host-context(kirby-item.selected) ion-label ::ng-deep>p:not([detail]),:host-context(kirby-item.selected) ion-label ::ng-deep>data:not([detail]){font-weight:700}\n"], dependencies: [{ kind: "component", type: i3.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }] }); }
71
- }
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: LabelComponent, decorators: [{
73
- type: Component,
74
- args: [{ selector: 'kirby-label', template: "<ion-label>\n <ng-content></ng-content>\n</ion-label>\n", styles: [":host.horizontal ion-label{display:flex;flex-direction:row;justify-content:space-between;align-items:center}:host.horizontal ion-label ::ng-deep>:not(:first-child){margin-left:12px}:host-context(kirby-item) ion-label ::ng-deep>h1,:host-context(kirby-item) ion-label ::ng-deep>h2,:host-context(kirby-item) ion-label ::ng-deep>h3,:host-context(kirby-item) ion-label ::ng-deep>h4,:host-context(kirby-item) ion-label ::ng-deep>h5,:host-context(kirby-item) ion-label ::ng-deep>h6,:host-context(kirby-item) ion-label ::ng-deep>p,:host-context(kirby-item) ion-label ::ng-deep>data{font-size:16px;line-height:24px;color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}:host-context(kirby-item) ion-label ::ng-deep>h1.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h2.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h3.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h4.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h5.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>h6.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>p.kirby-text-bold,:host-context(kirby-item) ion-label ::ng-deep>data.kirby-text-bold{font-weight:700}:host-context(kirby-item) ion-label ::ng-deep>p{font-size:14px}:host-context(kirby-item) ion-label ::ng-deep>[subtitle],:host-context(kirby-item) ion-label ::ng-deep>[detail]{font-size:12px;line-height:16px}:host-context(kirby-item) ion-label ::ng-deep>[subtitle]:not(:last-child){margin-bottom:4px}:host-context(kirby-item) ion-label ::ng-deep>[detail]{color:var(--kirby-text-color-semi-dark)}:host-context(kirby-item) ion-label ::ng-deep>[wrap]{white-space:normal}:host-context(kirby-section-header) ion-label{--padding-end: 16px;--padding-start: 16px}:host-context(kirby-section-header) ion-label ::ng-deep>[heading]{font-weight:700;font-size:18px;line-height:24px;color:var(--kirby-section-header-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-section-header) ion-label ::ng-deep>[detail],:host-context(kirby-section-header) ion-label ::ng-deep>[label]{font-weight:300;font-size:14px;line-height:20px;color:var(--kirby-section-header-color);margin:4px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-section-header) ion-label ::ng-deep>[wrap]{white-space:normal}:host([slot=end]) ion-label ::ng-deep>data,:host([slot=end]) ion-label ::ng-deep>[detail]{margin-inline-start:16px}:host-context(kirby-item.selected) ion-label ::ng-deep>h1,:host-context(kirby-item.selected) ion-label ::ng-deep>h2,:host-context(kirby-item.selected) ion-label ::ng-deep>h3,:host-context(kirby-item.selected) ion-label ::ng-deep>h4,:host-context(kirby-item.selected) ion-label ::ng-deep>h5,:host-context(kirby-item.selected) ion-label ::ng-deep>h6,:host-context(kirby-item.selected) ion-label ::ng-deep>p:not([detail]),:host-context(kirby-item.selected) ion-label ::ng-deep>data:not([detail]){font-weight:700}\n"] }]
75
- }], propDecorators: { direction: [{
76
- type: Input
77
- }], _direction: [{
78
- type: HostBinding,
79
- args: ['class.horizontal']
103
+ }], label: [{
104
+ type: ContentChild,
105
+ args: [LabelComponent, { static: false, read: ElementRef, descendants: false }]
106
+ }], checkbox: [{
107
+ type: ContentChild,
108
+ args: [CheckboxComponent, { static: false, read: ElementRef }]
109
+ }], radio: [{
110
+ type: ContentChild,
111
+ args: [RadioComponent, { static: false, read: ElementRef }]
80
112
  }] } });
81
113
 
82
114
  const declarations = [ItemComponent, LabelComponent];
83
115
  class ItemModule {
84
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
85
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: ItemModule, declarations: [ItemComponent, LabelComponent], imports: [IconModule, CommonModule, IonItem, IonReorder, IonLabel], exports: [ItemComponent, LabelComponent] }); }
86
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ItemModule, imports: [IconModule, CommonModule, IonItem, IonReorder, IonLabel] }); }
116
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
117
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ItemModule, declarations: [ItemComponent, LabelComponent], imports: [IconModule, CommonModule, IonItem, IonReorder, IonLabel], exports: [ItemComponent, LabelComponent] }); }
118
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ItemModule, imports: [IconModule, CommonModule, IonItem, IonReorder, IonLabel] }); }
87
119
  }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ItemModule, decorators: [{
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ItemModule, decorators: [{
89
121
  type: NgModule,
90
122
  args: [{
91
123
  imports: [IconModule, CommonModule, IonItem, IonReorder, IonLabel],
@@ -1 +1 @@
1
- {"version":3,"file":"kirbydesign-designsystem-item.mjs","sources":["../../../../libs/designsystem/item/src/item.component.ts","../../../../libs/designsystem/item/src/item.component.html","../../../../libs/designsystem/item/src/label/label.component.ts","../../../../libs/designsystem/item/src/label/label.component.html","../../../../libs/designsystem/item/src/item.module.ts","../../../../libs/designsystem/item/src/kirbydesign-designsystem-item.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, HostBinding, Input } from '@angular/core';\n\nexport enum ItemSize {\n XS = 'xs',\n SM = 'sm',\n MD = 'md',\n}\n\n@Component({\n selector: 'kirby-item',\n templateUrl: './item.component.html',\n styleUrls: ['./item.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ItemComponent {\n @HostBinding('class.disabled')\n @Input()\n disabled: boolean;\n @HostBinding('class.selected')\n @Input()\n selected: boolean;\n @HostBinding('class.disclosure')\n @Input()\n disclosure: 'link' | 'arrow-more' | 'arrow-down' | 'arrow-up' | null;\n @Input() selectable: boolean;\n\n @Input()\n reorderable: boolean;\n @HostBinding('class')\n @Input()\n size: ItemSize | `${ItemSize}` = ItemSize.MD;\n\n @Input() rotateIcon: boolean = false;\n\n // Prevent default when inside kirby-dropdown to avoid blurring dropdown:\n onMouseDown(event: MouseEvent) {\n if (\n event.currentTarget instanceof HTMLElement &&\n event.currentTarget.closest('kirby-dropdown')\n ) {\n event.preventDefault();\n }\n }\n}\n","<ion-item\n lines=\"none\"\n [attr.disabled]=\"disabled\"\n [attr.button]=\"selectable ? true : null\"\n [attr.tabindex]=\"selectable ? null : 0\"\n detail=\"false\"\n (mousedown)=\"onMouseDown($event)\"\n>\n <div class=\"outside\" slot=\"start\">\n <ng-content select=\"[slot='outside']\"></ng-content>\n </div>\n <ng-content></ng-content>\n <ion-reorder slot=\"end\" *ngIf=\"reorderable\">\n <kirby-icon name=\"reorder\"></kirby-icon>\n </ion-reorder>\n\n <span class=\"disclosure\" slot=\"end\" *ngIf=\"disclosure\">\n <kirby-icon\n [class.rotate]=\"rotateIcon && (disclosure === 'arrow-down' || disclosure === 'arrow-up')\"\n name=\"{{ disclosure }}\"\n ></kirby-icon>\n </span>\n</ion-item>\n","import { Component, HostBinding, Input } from '@angular/core';\n\n@Component({\n selector: 'kirby-label',\n templateUrl: './label.component.html',\n styleUrls: ['./label.component.scss'],\n})\nexport class LabelComponent {\n @Input()\n direction: 'vertical' | 'horizontal' = 'vertical';\n\n @HostBinding('class.horizontal')\n get _direction() {\n return this.direction === 'horizontal';\n }\n}\n","<ion-label>\n <ng-content></ng-content>\n</ion-label>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { IconModule } from '@kirbydesign/designsystem/icon';\nimport { IonItem, IonLabel, IonReorder } from '@ionic/angular/standalone';\nimport { ItemComponent } from './item.component';\nimport { LabelComponent } from './label/label.component';\n\nconst declarations = [ItemComponent, LabelComponent];\n@NgModule({\n imports: [IconModule, CommonModule, IonItem, IonReorder, IonLabel],\n declarations: [...declarations],\n exports: [...declarations],\n})\nexport class ItemModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;IAEY,SAIX;AAJD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,IAAA,CAAA,GAAA,IAAS,CAAA;AACT,IAAA,QAAA,CAAA,IAAA,CAAA,GAAA,IAAS,CAAA;AACT,IAAA,QAAA,CAAA,IAAA,CAAA,GAAA,IAAS,CAAA;AACX,CAAC,EAJW,QAAQ,KAAR,QAAQ,GAInB,EAAA,CAAA,CAAA,CAAA;MAQY,aAAa,CAAA;AAN1B,IAAA,WAAA,GAAA;AAsBE,QAAA,IAAA,CAAA,IAAI,GAA6B,QAAQ,CAAC,EAAE,CAAC;QAEpC,IAAU,CAAA,UAAA,GAAY,KAAK,CAAC;AAWtC,KAAA;;AARC,IAAA,WAAW,CAAC,KAAiB,EAAA;AAC3B,QAAA,IACE,KAAK,CAAC,aAAa,YAAY,WAAW;AAC1C,YAAA,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAC7C;YACA,KAAK,CAAC,cAAc,EAAE,CAAC;AACxB,SAAA;KACF;iIA5BU,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,E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/label.component.html","../../item/src/item.component.ts","../../item/src/item.component.html","../../item/src/item.module.ts","../../item/src/kirbydesign-designsystem-item.ts"],"sourcesContent":["import { Component, HostBinding, Input } from '@angular/core';\n\n@Component({\n selector: 'kirby-label',\n templateUrl: './label.component.html',\n styleUrls: ['./label.component.scss'],\n})\nexport class LabelComponent {\n @Input()\n direction: 'vertical' | 'horizontal' = 'vertical';\n\n @HostBinding('class.horizontal')\n get _direction() {\n return this.direction === 'horizontal';\n }\n}\n","<ion-label>\n <ng-content></ng-content>\n</ion-label>\n","import {\n AfterContentInit,\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ElementRef,\n HostBinding,\n Input,\n Renderer2,\n} from '@angular/core';\n\nimport { CheckboxComponent } from '@kirbydesign/designsystem/checkbox';\nimport { RadioComponent } from '@kirbydesign/designsystem/radio';\n\nimport { LabelComponent } from './label/label.component';\n\nexport enum ItemSize {\n XS = 'xs',\n SM = 'sm',\n MD = 'md',\n}\n\n@Component({\n selector: 'kirby-item',\n templateUrl: './item.component.html',\n styleUrls: ['./item.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ItemComponent implements AfterContentInit {\n constructor(private renderer: Renderer2) {}\n\n @HostBinding('class.disabled')\n @Input()\n disabled: boolean;\n @HostBinding('class.selected')\n @Input()\n selected: boolean;\n @HostBinding('class.disclosure')\n @Input()\n disclosure: 'link' | 'arrow-more' | 'arrow-down' | 'arrow-up' | null;\n @Input() selectable: boolean;\n\n @Input()\n reorderable: boolean;\n @HostBinding('class')\n @Input()\n size: ItemSize | `${ItemSize}` = ItemSize.MD;\n\n @Input() rotateIcon: boolean = false;\n\n // Only query for label as direct child of item:\n @ContentChild(LabelComponent, { static: false, read: ElementRef, descendants: false })\n private label: ElementRef<HTMLElement>;\n @ContentChild(CheckboxComponent, { static: false, read: ElementRef })\n private checkbox: ElementRef<HTMLElement>;\n @ContentChild(RadioComponent, { static: false, read: ElementRef })\n private radio: ElementRef<HTMLElement>;\n\n // Prevent default when inside kirby-dropdown to avoid blurring dropdown:\n onMouseDown(event: MouseEvent) {\n if (\n event.currentTarget instanceof HTMLElement &&\n event.currentTarget.closest('kirby-dropdown')\n ) {\n event.preventDefault();\n }\n }\n\n ngAfterContentInit(): void {\n if (this.label) {\n if (this.checkbox) {\n this.moveLabel(this.checkbox.nativeElement.querySelector('ion-checkbox'));\n }\n if (this.radio) {\n this.moveLabel(this.radio.nativeElement.querySelector('ion-radio'));\n }\n }\n }\n\n private moveLabel(newParent: HTMLElement) {\n const labelElement = this.label.nativeElement;\n this.renderer.removeChild(labelElement.parentElement, labelElement);\n this.renderer.appendChild(newParent, labelElement);\n }\n\n get _isIonicButton() {\n // Ionic checks for slotted checkbox and radio\n // and we shouldn't set the `button` prop in that scenario:\n return this.selectable && !(this.checkbox || this.radio);\n }\n}\n","<ion-item\n lines=\"none\"\n [attr.disabled]=\"disabled\"\n [attr.button]=\"_isIonicButton ? true : null\"\n [attr.tabindex]=\"selectable ? null : 0\"\n detail=\"false\"\n (mousedown)=\"onMouseDown($event)\"\n>\n <div class=\"outside\" slot=\"start\">\n <ng-content select=\"[slot='outside']\"></ng-content>\n </div>\n <ng-content></ng-content>\n <ion-reorder slot=\"end\" *ngIf=\"reorderable\">\n <kirby-icon name=\"reorder\"></kirby-icon>\n </ion-reorder>\n\n <span class=\"disclosure\" slot=\"end\" *ngIf=\"disclosure\">\n <kirby-icon\n [class.rotate]=\"rotateIcon && (disclosure === 'arrow-down' || disclosure === 'arrow-up')\"\n name=\"{{ disclosure }}\"\n ></kirby-icon>\n </span>\n</ion-item>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { IconModule } from '@kirbydesign/designsystem/icon';\nimport { IonItem, IonLabel, IonReorder } from '@ionic/angular/standalone';\nimport { ItemComponent } from './item.component';\nimport { LabelComponent } from './label/label.component';\n\nconst declarations = [ItemComponent, LabelComponent];\n@NgModule({\n imports: [IconModule, CommonModule, IonItem, IonReorder, IonLabel],\n declarations: [...declarations],\n exports: [...declarations],\n})\nexport class ItemModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;MAOa,cAAc,CAAA;AAL3B,IAAA,WAAA,GAAA;QAOE,IAAS,CAAA,SAAA,GAA8B,UAAU,CAAC;AAMnD,KAAA;AAJC,IAAA,IACI,UAAU,GAAA;AACZ,QAAA,OAAO,IAAI,CAAC,SAAS,KAAK,YAAY,CAAC;KACxC;kIAPU,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAd,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,cAAc,wJCP3B,0DAGA,EAAA,MAAA,EAAA,CAAA,6+FAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,QAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;4FDIa,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,SAAS;+BACE,aAAa,EAAA,QAAA,EAAA,0DAAA,EAAA,MAAA,EAAA,CAAA,6+FAAA,CAAA,EAAA,CAAA;8BAMvB,SAAS,EAAA,CAAA;sBADR,KAAK;gBAIF,UAAU,EAAA,CAAA;sBADb,WAAW;uBAAC,kBAAkB,CAAA;;;IEKrB,SAIX;AAJD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,IAAA,CAAA,GAAA,IAAS,CAAA;AACT,IAAA,QAAA,CAAA,IAAA,CAAA,GAAA,IAAS,CAAA;AACT,IAAA,QAAA,CA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ItD,UAAU,EAAA,UAAA,EAAA,CAAA;kBALtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,CAAC;AAClE,oBAAA,YAAY,EAAE,CAAC,GAAG,YAAY,CAAC;AAC/B,oBAAA,OAAO,EAAE,CAAC,GAAG,YAAY,CAAC;AAC3B,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
@@ -24,10 +24,10 @@ class AppComponent {
24
24
  });
25
25
  }, ensureIonicDeviceHacksDelay);
26
26
  }
27
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AppComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
28
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: AppComponent, selector: "kirby-app", viewQueries: [{ propertyName: "ionAppElement", first: true, predicate: IonApp, descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<ion-app>\n <ng-content></ng-content>\n</ion-app>\n", styles: [":host{inset:0;position:absolute;contain:size layout style;z-index:0;overflow:hidden}\n"], dependencies: [{ kind: "component", type: i1.IonApp, selector: "ion-app" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
27
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
28
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AppComponent, selector: "kirby-app", viewQueries: [{ propertyName: "ionAppElement", first: true, predicate: IonApp, descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<ion-app>\n <ng-content></ng-content>\n</ion-app>\n", styles: [":host{inset:0;position:absolute;contain:size layout style;z-index:0;overflow:hidden}\n"], dependencies: [{ kind: "component", type: i1.IonApp, selector: "ion-app" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AppComponent, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppComponent, decorators: [{
31
31
  type: Component,
32
32
  args: [{ selector: 'kirby-app', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ion-app>\n <ng-content></ng-content>\n</ion-app>\n", styles: [":host{inset:0;position:absolute;contain:size layout style;z-index:0;overflow:hidden}\n"] }]
33
33
  }], propDecorators: { ionAppElement: [{
@@ -36,11 +36,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImpor
36
36
  }] } });
37
37
 
38
38
  class KirbyAppModule {
39
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: KirbyAppModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
40
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: KirbyAppModule, declarations: [AppComponent], imports: [CommonModule, IonApp], exports: [AppComponent] }); }
41
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: KirbyAppModule, imports: [CommonModule, IonApp] }); }
39
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KirbyAppModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
40
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: KirbyAppModule, declarations: [AppComponent], imports: [CommonModule, IonApp], exports: [AppComponent] }); }
41
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KirbyAppModule, imports: [CommonModule, IonApp] }); }
42
42
  }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: KirbyAppModule, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KirbyAppModule, decorators: [{
44
44
  type: NgModule,
45
45
  args: [{
46
46
  declarations: [AppComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"kirbydesign-designsystem-kirby-app.mjs","sources":["../../../../libs/designsystem/kirby-app/src/kirby-app.component.ts","../../../../libs/designsystem/kirby-app/src/kirby-app.component.html","../../../../libs/designsystem/kirby-app/src/kirby-app.module.ts","../../../../libs/designsystem/kirby-app/src/kirbydesign-designsystem-kirby-app.ts"],"sourcesContent":["import {\n AfterContentInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n ViewChild,\n} from '@angular/core';\nimport { IonApp } from '@ionic/angular/standalone';\nimport { componentOnReady } from '@ionic/core';\n\n@Component({\n selector: 'kirby-app',\n templateUrl: './kirby-app.component.html',\n styleUrls: ['./kirby-app.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AppComponent implements AfterContentInit {\n @ViewChild(IonApp, { static: true, read: ElementRef })\n private ionAppElement: ElementRef<HTMLIonAppElement>;\n\n ngAfterContentInit(): void {\n componentOnReady(this.ionAppElement.nativeElement, () => {\n this.registerInputs();\n });\n }\n\n registerInputs() {\n // Input might be already loaded in the DOM before ion-device-hacks did.\n // At this point we need to look for all of the inputs not registered yet\n // and register them.\n // There is no Ionic event to hook into, so we'll use a timeout\n // to ensure ion-device-hacks has run:\n const ensureIonicDeviceHacksDelay = 250;\n setTimeout(() => {\n document.querySelectorAll('kirby-form-field').forEach((formField) => {\n formField.dispatchEvent(new CustomEvent('kirbyRegisterFormField'));\n });\n }, ensureIonicDeviceHacksDelay);\n }\n}\n","<ion-app>\n <ng-content></ng-content>\n</ion-app>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { IonApp } from '@ionic/angular/standalone';\nimport { AppComponent as KirbyAppComponent } from './kirby-app.component';\n\n@NgModule({\n declarations: [KirbyAppComponent],\n imports: [CommonModule, IonApp],\n exports: [KirbyAppComponent],\n})\nexport class KirbyAppModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["KirbyAppComponent"],"mappings":";;;;;;;MAgBa,YAAY,CAAA;IAIvB,kBAAkB,GAAA;QAChB,gBAAgB,CAAC,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE,MAAK;YACtD,IAAI,CAAC,cAAc,EAAE,CAAC;AACxB,SAAC,CAAC,CAAC;KACJ;IAED,cAAc,GAAA;;;;;;QAMZ,MAAM,2BAA2B,GAAG,GAAG,CAAC;QACxC,UAAU,CAAC,MAAK;YACd,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC,OAAO,CAAC,CAAC,SAAS,KAAI;gBAClE,SAAS,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,wBAAwB,CAAC,CAAC,CAAC;AACrE,aAAC,CAAC,CAAC;SACJ,EAAE,2BAA2B,CAAC,CAAC;KACjC;iIAtBU,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAZ,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAY,EACZ,QAAA,EAAA,WAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,eAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAA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AO,EAAE,CAAC,YAAY,EAAE,MAAM,CAAC;oBAC/B,OAAO,EAAE,CAACA,YAAiB,CAAC;AAC7B,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"kirbydesign-designsystem-kirby-app.mjs","sources":["../../kirby-app/src/kirby-app.component.ts","../../kirby-app/src/kirby-app.component.html","../../kirby-app/src/kirby-app.module.ts","../../kirby-app/src/kirbydesign-designsystem-kirby-app.ts"],"sourcesContent":["import {\n AfterContentInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n ViewChild,\n} from '@angular/core';\nimport { IonApp } from '@ionic/angular/standalone';\nimport { componentOnReady } from '@ionic/core';\n\n@Component({\n selector: 'kirby-app',\n templateUrl: './kirby-app.component.html',\n styleUrls: ['./kirby-app.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AppComponent implements AfterContentInit {\n @ViewChild(IonApp, { static: true, read: ElementRef })\n private ionAppElement: ElementRef<HTMLIonAppElement>;\n\n ngAfterContentInit(): void {\n componentOnReady(this.ionAppElement.nativeElement, () => {\n this.registerInputs();\n });\n }\n\n registerInputs() {\n // Input might be already loaded in the DOM before ion-device-hacks did.\n // At this point we need to look for all of the inputs not registered yet\n // and register them.\n // There is no Ionic event to hook into, so we'll use a timeout\n // to ensure ion-device-hacks has run:\n const ensureIonicDeviceHacksDelay = 250;\n setTimeout(() => {\n document.querySelectorAll('kirby-form-field').forEach((formField) => {\n formField.dispatchEvent(new CustomEvent('kirbyRegisterFormField'));\n });\n }, ensureIonicDeviceHacksDelay);\n }\n}\n","<ion-app>\n <ng-content></ng-content>\n</ion-app>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { IonApp } from '@ionic/angular/standalone';\nimport { AppComponent as KirbyAppComponent } from './kirby-app.component';\n\n@NgModule({\n declarations: [KirbyAppComponent],\n imports: [CommonModule, IonApp],\n exports: [KirbyAppComponent],\n})\nexport class KirbyAppModule {}\n","/**\n * Generated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EAAA,UAAA,EAAA,CAAA;kBANxB,SAAS;+BACE,WAAW,EAAA,eAAA,EAGJ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,sDAAA,EAAA,MAAA,EAAA,CAAA,wFAAA,CAAA,EAAA,CAAA;8BAIvC,aAAa,EAAA,CAAA;sBADpB,SAAS;uBAAC,MAAM,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,CAAA;;;MEP1C,cAAc,CAAA;kIAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAd,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,iBAJVA,YAAiB,CAAA,EAAA,OAAA,EAAA,CACtB,YAAY,EAAE,MAAM,aACpBA,YAAiB,CAAA,EAAA,CAAA,CAAA,EAAA;mIAEhB,cAAc,EAAA,OAAA,EAAA,CAHf,YAAY,EAAE,MAAM,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAGnB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAACA,YAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,MAAM,CAAC;oBAC/B,OAAO,EAAE,CAACA,YAAiB,CAAC;AAC7B,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
@@ -11,11 +11,11 @@ const config = {
11
11
  ...navAnimationConfig,
12
12
  };
13
13
  class KirbyIonicModule {
14
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: KirbyIonicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
15
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: KirbyIonicModule }); }
16
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: KirbyIonicModule, providers: [provideIonicAngular(config)] }); }
14
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KirbyIonicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
15
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: KirbyIonicModule }); }
16
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KirbyIonicModule, providers: [provideIonicAngular(config)] }); }
17
17
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: KirbyIonicModule, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KirbyIonicModule, decorators: [{
19
19
  type: NgModule,
20
20
  args: [{
21
21
  providers: [provideIonicAngular(config)],
@@ -1 +1 @@
1
- {"version":3,"file":"kirbydesign-designsystem-kirby-ionic-module.mjs","sources":["../../../../libs/designsystem/kirby-ionic-module/src/kirby-ionic.module.ts","../../../../libs/designsystem/kirby-ionic-module/src/kirbydesign-designsystem-kirby-ionic-module.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { AnimationController, isPlatform, provideIonicAngular } from '@ionic/angular/standalone';\nimport type { IonicConfig } from '@ionic/core';\n\nconst shouldHaveNoopAnimation = !isPlatform('hybrid');\n\nconst navAnimationConfig: IonicConfig = shouldHaveNoopAnimation && {\n navAnimation: () => new AnimationController().create(),\n};\n\nconst config: IonicConfig = {\n mode: 'ios',\n ...navAnimationConfig,\n};\n\n@NgModule({\n providers: [provideIonicAngular(config)],\n})\nexport class KirbyIonicModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;AAIA,MAAM,uBAAuB,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;AAEtD,MAAM,kBAAkB,GAAgB,uBAAuB,IAAI;IACjE,YAAY,EAAE,MAAM,IAAI,mBAAmB,EAAE,CAAC,MAAM,EAAE;CACvD,CAAC;AAEF,MAAM,MAAM,GAAgB;AAC1B,IAAA,IAAI,EAAE,KAAK;AACX,IAAA,GAAG,kBAAkB;CACtB,CAAC;MAKW,gBAAgB,CAAA;iIAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;kIAAhB,gBAAgB,EAAA,CAAA,CAAA,EAAA;AAAhB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,aAFhB,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,EAAA,CAAA,CAAA,EAAA;;2FAE7B,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,SAAS,EAAE,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;AACzC,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
1
+ {"version":3,"file":"kirbydesign-designsystem-kirby-ionic-module.mjs","sources":["../../kirby-ionic-module/src/kirby-ionic.module.ts","../../kirby-ionic-module/src/kirbydesign-designsystem-kirby-ionic-module.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { AnimationController, isPlatform, provideIonicAngular } from '@ionic/angular/standalone';\nimport type { IonicConfig } from '@ionic/core';\n\nconst shouldHaveNoopAnimation = !isPlatform('hybrid');\n\nconst navAnimationConfig: IonicConfig = shouldHaveNoopAnimation && {\n navAnimation: () => new AnimationController().create(),\n};\n\nconst config: IonicConfig = {\n mode: 'ios',\n ...navAnimationConfig,\n};\n\n@NgModule({\n providers: [provideIonicAngular(config)],\n})\nexport class KirbyIonicModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;AAIA,MAAM,uBAAuB,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;AAEtD,MAAM,kBAAkB,GAAgB,uBAAuB,IAAI;IACjE,YAAY,EAAE,MAAM,IAAI,mBAAmB,EAAE,CAAC,MAAM,EAAE;CACvD,CAAC;AAEF,MAAM,MAAM,GAAgB;AAC1B,IAAA,IAAI,EAAE,KAAK;AACX,IAAA,GAAG,kBAAkB;CACtB,CAAC;MAKW,gBAAgB,CAAA;kIAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;mIAAhB,gBAAgB,EAAA,CAAA,CAAA,EAAA;AAAhB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,aAFhB,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,EAAA,CAAA,CAAA,EAAA;;4FAE7B,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,SAAS,EAAE,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;AACzC,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}