@kirbydesign/designsystem 11.11.3 → 12.0.0-dev-67d5287

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 (282) hide show
  1. package/fesm2022/kirbydesign-designsystem-accordion.mjs +246 -135
  2. package/fesm2022/kirbydesign-designsystem-accordion.mjs.map +1 -1
  3. package/fesm2022/kirbydesign-designsystem-action-group.mjs +229 -134
  4. package/fesm2022/kirbydesign-designsystem-action-group.mjs.map +1 -1
  5. package/fesm2022/kirbydesign-designsystem-avatar.mjs +102 -55
  6. package/fesm2022/kirbydesign-designsystem-avatar.mjs.map +1 -1
  7. package/fesm2022/kirbydesign-designsystem-badge.mjs +85 -42
  8. package/fesm2022/kirbydesign-designsystem-badge.mjs.map +1 -1
  9. package/fesm2022/kirbydesign-designsystem-button.mjs +203 -170
  10. package/fesm2022/kirbydesign-designsystem-button.mjs.map +1 -1
  11. package/fesm2022/kirbydesign-designsystem-calendar.mjs +524 -516
  12. package/fesm2022/kirbydesign-designsystem-calendar.mjs.map +1 -1
  13. package/fesm2022/kirbydesign-designsystem-card.mjs +439 -205
  14. package/fesm2022/kirbydesign-designsystem-card.mjs.map +1 -1
  15. package/fesm2022/kirbydesign-designsystem-chart.mjs +1388 -1469
  16. package/fesm2022/kirbydesign-designsystem-chart.mjs.map +1 -1
  17. package/fesm2022/kirbydesign-designsystem-checkbox.mjs +215 -176
  18. package/fesm2022/kirbydesign-designsystem-checkbox.mjs.map +1 -1
  19. package/fesm2022/kirbydesign-designsystem-config.mjs +50 -96
  20. package/fesm2022/kirbydesign-designsystem-config.mjs.map +1 -1
  21. package/fesm2022/kirbydesign-designsystem-data-table.mjs +180 -83
  22. package/fesm2022/kirbydesign-designsystem-data-table.mjs.map +1 -1
  23. package/fesm2022/kirbydesign-designsystem-divider.mjs +46 -19
  24. package/fesm2022/kirbydesign-designsystem-divider.mjs.map +1 -1
  25. package/fesm2022/kirbydesign-designsystem-dropdown.mjs +878 -752
  26. package/fesm2022/kirbydesign-designsystem-dropdown.mjs.map +1 -1
  27. package/fesm2022/kirbydesign-designsystem-empty-state.mjs +164 -91
  28. package/fesm2022/kirbydesign-designsystem-empty-state.mjs.map +1 -1
  29. package/fesm2022/kirbydesign-designsystem-fab-sheet.mjs +213 -85
  30. package/fesm2022/kirbydesign-designsystem-fab-sheet.mjs.map +1 -1
  31. package/fesm2022/kirbydesign-designsystem-flag.mjs +67 -33
  32. package/fesm2022/kirbydesign-designsystem-flag.mjs.map +1 -1
  33. package/fesm2022/kirbydesign-designsystem-form-field.mjs +1260 -901
  34. package/fesm2022/kirbydesign-designsystem-form-field.mjs.map +1 -1
  35. package/fesm2022/kirbydesign-designsystem-gesture.mjs +38 -23
  36. package/fesm2022/kirbydesign-designsystem-gesture.mjs.map +1 -1
  37. package/fesm2022/kirbydesign-designsystem-header.mjs +422 -182
  38. package/fesm2022/kirbydesign-designsystem-header.mjs.map +1 -1
  39. package/fesm2022/kirbydesign-designsystem-helpers-scss.mjs +16 -14
  40. package/fesm2022/kirbydesign-designsystem-helpers-scss.mjs.map +1 -1
  41. package/fesm2022/kirbydesign-designsystem-helpers.mjs +251 -361
  42. package/fesm2022/kirbydesign-designsystem-helpers.mjs.map +1 -1
  43. package/fesm2022/kirbydesign-designsystem-icon.mjs +881 -303
  44. package/fesm2022/kirbydesign-designsystem-icon.mjs.map +1 -1
  45. package/fesm2022/kirbydesign-designsystem-item-group.mjs +52 -23
  46. package/fesm2022/kirbydesign-designsystem-item-group.mjs.map +1 -1
  47. package/fesm2022/kirbydesign-designsystem-item-sliding.mjs +147 -43
  48. package/fesm2022/kirbydesign-designsystem-item-sliding.mjs.map +1 -1
  49. package/fesm2022/kirbydesign-designsystem-item.mjs +395 -151
  50. package/fesm2022/kirbydesign-designsystem-item.mjs.map +1 -1
  51. package/fesm2022/kirbydesign-designsystem-kirby-app.mjs +136 -54
  52. package/fesm2022/kirbydesign-designsystem-kirby-app.mjs.map +1 -1
  53. package/fesm2022/kirbydesign-designsystem-list.mjs +1185 -697
  54. package/fesm2022/kirbydesign-designsystem-list.mjs.map +1 -1
  55. package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs +166 -76
  56. package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs.map +1 -1
  57. package/fesm2022/kirbydesign-designsystem-menu.mjs +420 -311
  58. package/fesm2022/kirbydesign-designsystem-menu.mjs.map +1 -1
  59. package/fesm2022/kirbydesign-designsystem-modal.mjs +2467 -1912
  60. package/fesm2022/kirbydesign-designsystem-modal.mjs.map +1 -1
  61. package/fesm2022/kirbydesign-designsystem-page.mjs +1505 -905
  62. package/fesm2022/kirbydesign-designsystem-page.mjs.map +1 -1
  63. package/fesm2022/kirbydesign-designsystem-popover.mjs +203 -183
  64. package/fesm2022/kirbydesign-designsystem-popover.mjs.map +1 -1
  65. package/fesm2022/kirbydesign-designsystem-progress-circle.mjs +209 -121
  66. package/fesm2022/kirbydesign-designsystem-progress-circle.mjs.map +1 -1
  67. package/fesm2022/kirbydesign-designsystem-radio.mjs +537 -365
  68. package/fesm2022/kirbydesign-designsystem-radio.mjs.map +1 -1
  69. package/fesm2022/kirbydesign-designsystem-range.mjs +207 -150
  70. package/fesm2022/kirbydesign-designsystem-range.mjs.map +1 -1
  71. package/fesm2022/kirbydesign-designsystem-reorder-list.mjs +217 -104
  72. package/fesm2022/kirbydesign-designsystem-reorder-list.mjs.map +1 -1
  73. package/fesm2022/kirbydesign-designsystem-router-outlet.mjs +113 -38
  74. package/fesm2022/kirbydesign-designsystem-router-outlet.mjs.map +1 -1
  75. package/fesm2022/kirbydesign-designsystem-section-header.mjs +56 -18
  76. package/fesm2022/kirbydesign-designsystem-section-header.mjs.map +1 -1
  77. package/fesm2022/kirbydesign-designsystem-segmented-control.mjs +276 -232
  78. package/fesm2022/kirbydesign-designsystem-segmented-control.mjs.map +1 -1
  79. package/fesm2022/kirbydesign-designsystem-shared-floating.mjs +319 -382
  80. package/fesm2022/kirbydesign-designsystem-shared-floating.mjs.map +1 -1
  81. package/fesm2022/kirbydesign-designsystem-shared-portal.mjs +73 -84
  82. package/fesm2022/kirbydesign-designsystem-shared-portal.mjs.map +1 -1
  83. package/fesm2022/kirbydesign-designsystem-shared.mjs +665 -529
  84. package/fesm2022/kirbydesign-designsystem-shared.mjs.map +1 -1
  85. package/fesm2022/kirbydesign-designsystem-slide-button.mjs +140 -91
  86. package/fesm2022/kirbydesign-designsystem-slide-button.mjs.map +1 -1
  87. package/fesm2022/kirbydesign-designsystem-slide.mjs +360 -158
  88. package/fesm2022/kirbydesign-designsystem-slide.mjs.map +1 -1
  89. package/fesm2022/kirbydesign-designsystem-spinner.mjs +90 -32
  90. package/fesm2022/kirbydesign-designsystem-spinner.mjs.map +1 -1
  91. package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs +348 -181
  92. package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs.map +1 -1
  93. package/fesm2022/kirbydesign-designsystem-tabs.mjs +286 -121
  94. package/fesm2022/kirbydesign-designsystem-tabs.mjs.map +1 -1
  95. package/fesm2022/kirbydesign-designsystem-testing-base.mjs +6232 -3164
  96. package/fesm2022/kirbydesign-designsystem-testing-base.mjs.map +1 -1
  97. package/fesm2022/kirbydesign-designsystem-testing-jasmine.mjs +118 -95
  98. package/fesm2022/kirbydesign-designsystem-testing-jasmine.mjs.map +1 -1
  99. package/fesm2022/kirbydesign-designsystem-testing-jest.mjs +128 -101
  100. package/fesm2022/kirbydesign-designsystem-testing-jest.mjs.map +1 -1
  101. package/fesm2022/kirbydesign-designsystem-testing.mjs +236 -243
  102. package/fesm2022/kirbydesign-designsystem-testing.mjs.map +1 -1
  103. package/fesm2022/kirbydesign-designsystem-toast.mjs +98 -62
  104. package/fesm2022/kirbydesign-designsystem-toast.mjs.map +1 -1
  105. package/fesm2022/kirbydesign-designsystem-toggle-button.mjs +155 -127
  106. package/fesm2022/kirbydesign-designsystem-toggle-button.mjs.map +1 -1
  107. package/fesm2022/kirbydesign-designsystem-toggle.mjs +180 -150
  108. package/fesm2022/kirbydesign-designsystem-toggle.mjs.map +1 -1
  109. package/fesm2022/kirbydesign-designsystem-types.mjs +39 -24
  110. package/fesm2022/kirbydesign-designsystem-types.mjs.map +1 -1
  111. package/fesm2022/kirbydesign-designsystem.mjs +516 -407
  112. package/fesm2022/kirbydesign-designsystem.mjs.map +1 -1
  113. package/icons/svg/megaphone.svg +3 -0
  114. package/package.json +10 -10
  115. package/readme.md +37 -0
  116. package/types/kirbydesign-designsystem-accordion.d.ts +72 -39
  117. package/types/kirbydesign-designsystem-accordion.d.ts.map +1 -1
  118. package/types/kirbydesign-designsystem-action-group.d.ts +46 -39
  119. package/types/kirbydesign-designsystem-action-group.d.ts.map +1 -1
  120. package/types/kirbydesign-designsystem-avatar.d.ts +62 -26
  121. package/types/kirbydesign-designsystem-avatar.d.ts.map +1 -1
  122. package/types/kirbydesign-designsystem-badge.d.ts +30 -19
  123. package/types/kirbydesign-designsystem-badge.d.ts.map +1 -1
  124. package/types/kirbydesign-designsystem-button.d.ts +70 -45
  125. package/types/kirbydesign-designsystem-button.d.ts.map +1 -1
  126. package/types/kirbydesign-designsystem-calendar.d.ts +193 -132
  127. package/types/kirbydesign-designsystem-calendar.d.ts.map +1 -1
  128. package/types/kirbydesign-designsystem-card.d.ts +130 -66
  129. package/types/kirbydesign-designsystem-card.d.ts.map +1 -1
  130. package/types/kirbydesign-designsystem-chart.d.ts +198 -172
  131. package/types/kirbydesign-designsystem-chart.d.ts.map +1 -1
  132. package/types/kirbydesign-designsystem-checkbox.d.ts +96 -68
  133. package/types/kirbydesign-designsystem-checkbox.d.ts.map +1 -1
  134. package/types/kirbydesign-designsystem-config.d.ts +17 -21
  135. package/types/kirbydesign-designsystem-config.d.ts.map +1 -1
  136. package/types/kirbydesign-designsystem-data-table.d.ts +46 -26
  137. package/types/kirbydesign-designsystem-data-table.d.ts.map +1 -1
  138. package/types/kirbydesign-designsystem-divider.d.ts +11 -9
  139. package/types/kirbydesign-designsystem-divider.d.ts.map +1 -1
  140. package/types/kirbydesign-designsystem-dropdown.d.ts +219 -166
  141. package/types/kirbydesign-designsystem-dropdown.d.ts.map +1 -1
  142. package/types/kirbydesign-designsystem-empty-state.d.ts +47 -35
  143. package/types/kirbydesign-designsystem-empty-state.d.ts.map +1 -1
  144. package/types/kirbydesign-designsystem-fab-sheet.d.ts +34 -28
  145. package/types/kirbydesign-designsystem-fab-sheet.d.ts.map +1 -1
  146. package/types/kirbydesign-designsystem-flag.d.ts +18 -13
  147. package/types/kirbydesign-designsystem-flag.d.ts.map +1 -1
  148. package/types/kirbydesign-designsystem-form-field.d.ts +409 -242
  149. package/types/kirbydesign-designsystem-form-field.d.ts.map +1 -1
  150. package/types/kirbydesign-designsystem-gesture.d.ts +41 -46
  151. package/types/kirbydesign-designsystem-gesture.d.ts.map +1 -1
  152. package/types/kirbydesign-designsystem-header.d.ts +102 -64
  153. package/types/kirbydesign-designsystem-header.d.ts.map +1 -1
  154. package/types/kirbydesign-designsystem-helpers-scss.d.ts +6 -8
  155. package/types/kirbydesign-designsystem-helpers-scss.d.ts.map +1 -1
  156. package/types/kirbydesign-designsystem-helpers.d.ts +83 -97
  157. package/types/kirbydesign-designsystem-helpers.d.ts.map +1 -1
  158. package/types/kirbydesign-designsystem-icon.d.ts +63 -59
  159. package/types/kirbydesign-designsystem-icon.d.ts.map +1 -1
  160. package/types/kirbydesign-designsystem-item-group.d.ts +6 -9
  161. package/types/kirbydesign-designsystem-item-group.d.ts.map +1 -1
  162. package/types/kirbydesign-designsystem-item-sliding.d.ts +30 -26
  163. package/types/kirbydesign-designsystem-item-sliding.d.ts.map +1 -1
  164. package/types/kirbydesign-designsystem-item.d.ts +93 -54
  165. package/types/kirbydesign-designsystem-item.d.ts.map +1 -1
  166. package/types/kirbydesign-designsystem-kirby-app.d.ts +18 -19
  167. package/types/kirbydesign-designsystem-kirby-app.d.ts.map +1 -1
  168. package/types/kirbydesign-designsystem-list.d.ts +387 -263
  169. package/types/kirbydesign-designsystem-list.d.ts.map +1 -1
  170. package/types/kirbydesign-designsystem-loading-overlay.d.ts +35 -24
  171. package/types/kirbydesign-designsystem-loading-overlay.d.ts.map +1 -1
  172. package/types/kirbydesign-designsystem-menu.d.ts +119 -69
  173. package/types/kirbydesign-designsystem-menu.d.ts.map +1 -1
  174. package/types/kirbydesign-designsystem-modal.d.ts +577 -455
  175. package/types/kirbydesign-designsystem-modal.d.ts.map +1 -1
  176. package/types/kirbydesign-designsystem-page.d.ts +304 -226
  177. package/types/kirbydesign-designsystem-page.d.ts.map +1 -1
  178. package/types/kirbydesign-designsystem-popover.d.ts +48 -40
  179. package/types/kirbydesign-designsystem-popover.d.ts.map +1 -1
  180. package/types/kirbydesign-designsystem-progress-circle.d.ts +60 -38
  181. package/types/kirbydesign-designsystem-progress-circle.d.ts.map +1 -1
  182. package/types/kirbydesign-designsystem-radio.d.ts +147 -98
  183. package/types/kirbydesign-designsystem-radio.d.ts.map +1 -1
  184. package/types/kirbydesign-designsystem-range.d.ts +90 -45
  185. package/types/kirbydesign-designsystem-range.d.ts.map +1 -1
  186. package/types/kirbydesign-designsystem-reorder-list.d.ts +44 -32
  187. package/types/kirbydesign-designsystem-reorder-list.d.ts.map +1 -1
  188. package/types/kirbydesign-designsystem-router-outlet.d.ts +23 -18
  189. package/types/kirbydesign-designsystem-router-outlet.d.ts.map +1 -1
  190. package/types/kirbydesign-designsystem-section-header.d.ts +5 -8
  191. package/types/kirbydesign-designsystem-section-header.d.ts.map +1 -1
  192. package/types/kirbydesign-designsystem-segmented-control.d.ts +123 -100
  193. package/types/kirbydesign-designsystem-segmented-control.d.ts.map +1 -1
  194. package/types/kirbydesign-designsystem-shared-floating.d.ts +183 -128
  195. package/types/kirbydesign-designsystem-shared-floating.d.ts.map +1 -1
  196. package/types/kirbydesign-designsystem-shared-portal.d.ts +29 -28
  197. package/types/kirbydesign-designsystem-shared-portal.d.ts.map +1 -1
  198. package/types/kirbydesign-designsystem-shared.d.ts +143 -139
  199. package/types/kirbydesign-designsystem-shared.d.ts.map +1 -1
  200. package/types/kirbydesign-designsystem-slide-button.d.ts +43 -34
  201. package/types/kirbydesign-designsystem-slide-button.d.ts.map +1 -1
  202. package/types/kirbydesign-designsystem-slide.d.ts +80 -59
  203. package/types/kirbydesign-designsystem-slide.d.ts.map +1 -1
  204. package/types/kirbydesign-designsystem-spinner.d.ts +13 -14
  205. package/types/kirbydesign-designsystem-spinner.d.ts.map +1 -1
  206. package/types/kirbydesign-designsystem-tab-navigation.d.ts +78 -55
  207. package/types/kirbydesign-designsystem-tab-navigation.d.ts.map +1 -1
  208. package/types/kirbydesign-designsystem-tabs.d.ts +50 -45
  209. package/types/kirbydesign-designsystem-tabs.d.ts.map +1 -1
  210. package/types/kirbydesign-designsystem-testing-base.d.ts +2430 -815
  211. package/types/kirbydesign-designsystem-testing-base.d.ts.map +1 -1
  212. package/types/kirbydesign-designsystem-testing-jasmine.d.ts +9 -10
  213. package/types/kirbydesign-designsystem-testing-jasmine.d.ts.map +1 -1
  214. package/types/kirbydesign-designsystem-testing-jest.d.ts +9 -10
  215. package/types/kirbydesign-designsystem-testing-jest.d.ts.map +1 -1
  216. package/types/kirbydesign-designsystem-testing.d.ts +52 -58
  217. package/types/kirbydesign-designsystem-testing.d.ts.map +1 -1
  218. package/types/kirbydesign-designsystem-toast.d.ts +25 -31
  219. package/types/kirbydesign-designsystem-toast.d.ts.map +1 -1
  220. package/types/kirbydesign-designsystem-toggle-button.d.ts +62 -56
  221. package/types/kirbydesign-designsystem-toggle-button.d.ts.map +1 -1
  222. package/types/kirbydesign-designsystem-toggle.d.ts +71 -63
  223. package/types/kirbydesign-designsystem-toggle.d.ts.map +1 -1
  224. package/types/kirbydesign-designsystem-types.d.ts +15 -22
  225. package/types/kirbydesign-designsystem-types.d.ts.map +1 -1
  226. package/types/kirbydesign-designsystem.d.ts +135 -123
  227. package/types/kirbydesign-designsystem.d.ts.map +1 -1
  228. package/accordion/package.json +0 -4
  229. package/action-group/package.json +0 -4
  230. package/avatar/package.json +0 -4
  231. package/badge/package.json +0 -4
  232. package/button/package.json +0 -4
  233. package/calendar/package.json +0 -4
  234. package/card/package.json +0 -4
  235. package/chart/package.json +0 -4
  236. package/checkbox/package.json +0 -4
  237. package/config/package.json +0 -4
  238. package/data-table/package.json +0 -4
  239. package/divider/package.json +0 -4
  240. package/dropdown/package.json +0 -4
  241. package/empty-state/package.json +0 -4
  242. package/fab-sheet/package.json +0 -4
  243. package/flag/package.json +0 -4
  244. package/form-field/package.json +0 -4
  245. package/gesture/package.json +0 -4
  246. package/header/package.json +0 -4
  247. package/helpers/package.json +0 -4
  248. package/helpers/scss/package.json +0 -4
  249. package/icon/package.json +0 -4
  250. package/item/package.json +0 -4
  251. package/item-group/package.json +0 -4
  252. package/item-sliding/package.json +0 -4
  253. package/kirby-app/package.json +0 -4
  254. package/list/package.json +0 -4
  255. package/loading-overlay/package.json +0 -4
  256. package/menu/package.json +0 -4
  257. package/modal/package.json +0 -4
  258. package/page/package.json +0 -4
  259. package/popover/package.json +0 -4
  260. package/progress-circle/package.json +0 -4
  261. package/radio/package.json +0 -4
  262. package/range/package.json +0 -4
  263. package/reorder-list/package.json +0 -4
  264. package/router-outlet/package.json +0 -4
  265. package/section-header/package.json +0 -4
  266. package/segmented-control/package.json +0 -4
  267. package/shared/floating/package.json +0 -4
  268. package/shared/package.json +0 -4
  269. package/shared/portal/package.json +0 -4
  270. package/slide/package.json +0 -4
  271. package/slide-button/package.json +0 -4
  272. package/spinner/package.json +0 -4
  273. package/tab-navigation/package.json +0 -4
  274. package/tabs/package.json +0 -4
  275. package/testing/package.json +0 -4
  276. package/testing-base/package.json +0 -4
  277. package/testing-jasmine/package.json +0 -4
  278. package/testing-jest/package.json +0 -4
  279. package/toast/package.json +0 -4
  280. package/toggle/package.json +0 -4
  281. package/toggle-button/package.json +0 -4
  282. package/types/package.json +0 -4
@@ -1,155 +1,399 @@
1
- import * as i0 from '@angular/core';
2
- import { ElementRef, HostBinding, ViewChild, ContentChild, Input, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
- import { forwardAttributes } from '@kirbydesign/designsystem/shared';
4
- import { ButtonComponent } from '@kirbydesign/designsystem/button';
5
- import { CheckboxComponent } from '@kirbydesign/designsystem/checkbox';
6
- import { RadioComponent } from '@kirbydesign/designsystem/radio';
7
- import { ToggleComponent } from '@kirbydesign/designsystem/toggle';
8
- import { IonItem, IonReorder, IonLabel } from '@ionic/angular';
9
- import { IconComponent, IconModule } from '@kirbydesign/designsystem/icon';
10
- import * as i1 from '@kirbydesign/designsystem/helpers';
11
- import { IonicElementPartHelper } from '@kirbydesign/designsystem/helpers';
12
- import { CommonModule } from '@angular/common';
13
-
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, ContentChild, ElementRef, HostBinding, Input, NgModule, ViewChild } from "@angular/core";
3
+ import { forwardAttributes } from "@kirbydesign/designsystem/shared";
4
+ import { ButtonComponent } from "@kirbydesign/designsystem/button";
5
+ import { CheckboxComponent } from "@kirbydesign/designsystem/checkbox";
6
+ import { RadioComponent } from "@kirbydesign/designsystem/radio";
7
+ import { ToggleComponent } from "@kirbydesign/designsystem/toggle";
8
+ import { IonItem, IonLabel, IonReorder } from "@ionic/angular";
9
+ import { IconComponent, IconModule } from "@kirbydesign/designsystem/icon";
10
+ import * as i1 from "@kirbydesign/designsystem/helpers";
11
+ import { IonicElementPartHelper } from "@kirbydesign/designsystem/helpers";
12
+ import { CommonModule } from "@angular/common";
14
13
  var ItemSize;
15
- (function (ItemSize) {
16
- ItemSize["XS"] = "xs";
17
- ItemSize["SM"] = "sm";
18
- ItemSize["MD"] = "md";
14
+ (function(ItemSize) {
15
+ ItemSize["XS"] = "xs";
16
+ ItemSize["SM"] = "sm";
17
+ ItemSize["MD"] = "md";
19
18
  })(ItemSize || (ItemSize = {}));
20
- class ItemComponent {
21
- get selectable() {
22
- return this._selectable;
23
- }
24
- set selectable(value) {
25
- this._selectable = value;
26
- this.cdr.markForCheck();
27
- }
28
- constructor(elementRef, renderer, cdr, ionicElementPartHelper) {
29
- this.elementRef = elementRef;
30
- this.renderer = renderer;
31
- this.cdr = cdr;
32
- this.ionicElementPartHelper = ionicElementPartHelper;
33
- this._linkAttributesToForward = ['rel', 'target', 'download'];
34
- this.size = ItemSize.MD;
35
- this.rotateIcon = false;
36
- }
37
- ngAfterViewInit() {
38
- forwardAttributes(this.elementRef.nativeElement, this._linkAttributesToForward, this.renderer, this.ionItem.nativeElement);
39
- this.ionicElementPartHelper.setPart('item-inner', this.ionItem, '.item-inner');
40
- this.ionicElementPartHelper.setPart('input-wrapper', this.ionItem, '.input-wrapper');
41
- }
42
- // Prevent default when inside kirby-dropdown to avoid blurring dropdown:
43
- onMouseDown(event) {
44
- if (event.currentTarget instanceof HTMLElement &&
45
- event.currentTarget.closest('kirby-dropdown')) {
46
- event.preventDefault();
47
- }
48
- }
49
- get _renderButton() {
50
- // We shouldn't render item as a button if the item contains
51
- // nested interactive, i.e. checkbox, radio or toggle:
52
- return this.selectable && !this.containsNestedInteractives;
53
- }
54
- get _renderLink() {
55
- // We shouldn't render item as a link if the item contains
56
- // nested interactive, i.e. checkbox, radio or toggle:
57
- return this.containsNestedInteractives ? undefined : this.href;
58
- }
59
- get containsNestedInteractives() {
60
- return !!(this.checkbox || this.radio || this.toggle || this.button);
61
- }
62
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.IonicElementPartHelper }], target: i0.ɵɵFactoryTarget.Component }); }
63
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: ItemComponent, isStandalone: true, selector: "kirby-item", inputs: { disabled: "disabled", selected: "selected", disclosure: "disclosure", selectable: "selectable", reorderable: "reorderable", size: "size", href: "href", rotateIcon: "rotateIcon" }, host: { properties: { "class.disabled": "this.disabled", "class.selected": "this.selected", "class.disclosure": "this.disclosure", "class": "this.size", "class.has-interactive": "this.containsNestedInteractives" } }, providers: [IonicElementPartHelper], queries: [{ propertyName: "checkbox", first: true, predicate: CheckboxComponent, descendants: true, read: ElementRef }, { propertyName: "radio", first: true, predicate: RadioComponent, descendants: true, read: ElementRef }, { propertyName: "toggle", first: true, predicate: ToggleComponent, descendants: true, read: ElementRef }, { propertyName: "button", first: true, predicate: ButtonComponent, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "ionItem", first: true, predicate: IonItem, descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<ion-item\n lines=\"none\"\n [disabled]=\"disabled\"\n [button]=\"_renderButton\"\n [href]=\"_renderLink\"\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 @if (reorderable) {\n <ion-reorder slot=\"end\">\n <kirby-icon name=\"reorder\"></kirby-icon>\n </ion-reorder>\n }\n\n @if (disclosure) {\n <span class=\"disclosure\" slot=\"end\">\n <kirby-icon\n [class.rotate]=\"rotateIcon && (disclosure === 'arrow-down' || disclosure === 'arrow-up')\"\n name=\"{{ disclosure }}\"\n ></kirby-icon>\n </span>\n }\n</ion-item>\n", styles: [".kirby-line-clamp{display:-webkit-box;-webkit-line-clamp:var(--line-clamp, none);-webkit-box-orient:vertical;overflow:hidden}:host{display:block;position:relative}: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: var(--kirby-spacing-xxxs);--inner-padding-bottom: var(--kirby-spacing-xxxs)}:host .outside{--kirby-badge-font-size: 10px;display:flex;width:var(--kirby-relative-size-s);margin:0;position:absolute;left:var(--kirby-spacing-xxxs);z-index:1}ion-item::part(native){border-radius:var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-bottom-radius, 0) var(--kirby-content-border-bottom-radius, 0)}ion-item::part(native):focus-visible{box-shadow:var(--kirby-focus-ring-md-inset)}@media(hover:hover){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)}}ion-item:active,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)}ion-item{--padding-top: var(--item-padding-top, 0px);--padding-bottom: var(--item-padding-bottom, 0px);--min-height: 56px;--padding-start: var(--kirby-spacing-s);--inner-padding-top: var(--kirby-spacing-xxs);--inner-padding-bottom: var(--kirby-spacing-xxs);--inner-padding-end: var(--kirby-spacing-s);--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:var(--kirby-font-size-n)}@media screen and (orientation:landscape){ion-item{--ion-safe-area-left: 0px;--ion-safe-area-right: 0px}}ion-item ::ng-deep>[slot=end]{text-align:end}ion-item ::ng-deep>[slot=end] kirby-label{text-align:start}ion-item ::ng-deep>time[slot=end]{margin-inline-start:var(--kirby-spacing-xs)}ion-item ::ng-deep>data[slot=end],ion-item ::ng-deep>[detail][slot=end],ion-item ::ng-deep>ion-reorder[slot=end]{margin-inline-start:var(--kirby-spacing-s)}ion-item ::ng-deep>h1,ion-item ::ng-deep>h2,ion-item ::ng-deep>h3,ion-item ::ng-deep>h4,ion-item ::ng-deep>h5,ion-item ::ng-deep>h6,ion-item ::ng-deep>data,ion-item ::ng-deep>p{color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}ion-item ::ng-deep>:where(p){font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s)}ion-item ::ng-deep>:where(.kirby-item-title),ion-item ::ng-deep>:where(h1),ion-item ::ng-deep>:where(h2),ion-item ::ng-deep>:where(h3),ion-item ::ng-deep>:where(h4),ion-item ::ng-deep>:where(h5),ion-item ::ng-deep>:where(h6),ion-item ::ng-deep>:where(data){font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n);font-weight:400}ion-item ::ng-deep>[subtitle],ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-subtitle,ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{font-size:var(--kirby-font-size-xs);line-height:var(--kirby-line-height-xs)}ion-item ::ng-deep>[subtitle]:not(:last-child),ion-item ::ng-deep>.kirby-item-subtitle:not(:last-child){margin-bottom:var(--kirby-spacing-xxxs)}ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{color:var(--kirby-text-color-semi-dark)}ion-item ::ng-deep>.kirby-item-disclosure{display:flex;align-items:center}ion-item .kirby-item-disclosure kirby-icon{color:var(--kirby-semi-dark);transform:translate(var(--kirby-spacing-xxxs))}ion-item ::ng-deep>[wrap],ion-item ::ng-deep>.kirby-item-wrap{white-space:normal}@media(max-width:767px){ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item ::ng-deep>.kirby-item-title:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)){--item-padding-top: var(--kirby-spacing-xxs);--inner-padding-top: 0;--inner-padding-end: var( --kirby-spacing-l )}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) ::ng-deep>[slot=end],ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) ::ng-deep>[slot=end]{margin-inline-start:initial}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(item-inner),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(item-inner){position:initial;gap:var(--kirby-spacing-xs)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(input-wrapper),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(input-wrapper){justify-content:center}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(native),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(native){flex-direction:column;align-items:flex-start}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure,ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) .disclosure{position:absolute;right:var(--kirby-spacing-xxs);top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xs));font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .outside{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-s))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-xxs))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:not(:has([slot=start]:not(.outside))):has([slot=end]:not(.disclosure)) .outside{align-items:start;top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xxxs) * .5)}}ion-item ::ng-deep>:not([slot]){width:100%}ion-item ::ng-deep>input[slot=end],ion-item ::ng-deep>kirby-form-field[slot=end] input{margin-inline-start:var(--kirby-spacing-s);width:auto;text-align:end}ion-item{--transition: background-color, opacity 80ms linear 0ms}ion-item:has(kirby-checkbox,kirby-radio){--inner-padding-top: 0;--inner-padding-bottom: 0}ion-item:has(kirby-checkbox:not([slot]),kirby-radio:not([slot])){overflow:inherit}ion-item:has(.checkbox-disabled,.radio-disabled,.toggle-disabled){pointer-events:none}.disclosure{--kirby-icon-font-size: var(--kirby-spacing-m);padding-left:var(--kirby-spacing-xxxs);color:var(--kirby-semi-dark);display:inline-flex;justify-content:center;align-items:center}.disclosure kirby-icon{transition:transform var(--kirby-transition-duration-quick)}.disclosure kirby-icon.rotate{transform:rotate(180deg)}:host-context(kirby-dropdown) ion-item,:host-context(kirby-menu) ion-item,:host-context(kirby-popover) ion-item{--min-height: 44px}:host(.keyboard-focused) ion-item::part(native),:host-context(kirby-popover .keyboard-focused) ion-item::part(native){transition:all 80ms linear 0ms;box-shadow:var(--kirby-focus-ring-md-inset)}: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:var(--kirby-font-weight-bold)}:host(.disclosure) ion-item{--inner-padding-end: var(--kirby-spacing-xxs)}:host-context(kirby-card-header) ion-item{--background: transparent}\n"], dependencies: [{ kind: "component", type: IonItem, selector: "ion-item", inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: IonReorder, selector: "ion-reorder" }, { kind: "component", type: IconComponent, selector: "kirby-icon", inputs: ["size", "name"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
64
- }
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ItemComponent, decorators: [{
66
- type: Component,
67
- args: [{ selector: 'kirby-item', changeDetection: ChangeDetectionStrategy.OnPush, providers: [IonicElementPartHelper], imports: [IonItem, IonReorder, IconComponent], template: "<ion-item\n lines=\"none\"\n [disabled]=\"disabled\"\n [button]=\"_renderButton\"\n [href]=\"_renderLink\"\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 @if (reorderable) {\n <ion-reorder slot=\"end\">\n <kirby-icon name=\"reorder\"></kirby-icon>\n </ion-reorder>\n }\n\n @if (disclosure) {\n <span class=\"disclosure\" slot=\"end\">\n <kirby-icon\n [class.rotate]=\"rotateIcon && (disclosure === 'arrow-down' || disclosure === 'arrow-up')\"\n name=\"{{ disclosure }}\"\n ></kirby-icon>\n </span>\n }\n</ion-item>\n", styles: [".kirby-line-clamp{display:-webkit-box;-webkit-line-clamp:var(--line-clamp, none);-webkit-box-orient:vertical;overflow:hidden}:host{display:block;position:relative}: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: var(--kirby-spacing-xxxs);--inner-padding-bottom: var(--kirby-spacing-xxxs)}:host .outside{--kirby-badge-font-size: 10px;display:flex;width:var(--kirby-relative-size-s);margin:0;position:absolute;left:var(--kirby-spacing-xxxs);z-index:1}ion-item::part(native){border-radius:var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-bottom-radius, 0) var(--kirby-content-border-bottom-radius, 0)}ion-item::part(native):focus-visible{box-shadow:var(--kirby-focus-ring-md-inset)}@media(hover:hover){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)}}ion-item:active,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)}ion-item{--padding-top: var(--item-padding-top, 0px);--padding-bottom: var(--item-padding-bottom, 0px);--min-height: 56px;--padding-start: var(--kirby-spacing-s);--inner-padding-top: var(--kirby-spacing-xxs);--inner-padding-bottom: var(--kirby-spacing-xxs);--inner-padding-end: var(--kirby-spacing-s);--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:var(--kirby-font-size-n)}@media screen and (orientation:landscape){ion-item{--ion-safe-area-left: 0px;--ion-safe-area-right: 0px}}ion-item ::ng-deep>[slot=end]{text-align:end}ion-item ::ng-deep>[slot=end] kirby-label{text-align:start}ion-item ::ng-deep>time[slot=end]{margin-inline-start:var(--kirby-spacing-xs)}ion-item ::ng-deep>data[slot=end],ion-item ::ng-deep>[detail][slot=end],ion-item ::ng-deep>ion-reorder[slot=end]{margin-inline-start:var(--kirby-spacing-s)}ion-item ::ng-deep>h1,ion-item ::ng-deep>h2,ion-item ::ng-deep>h3,ion-item ::ng-deep>h4,ion-item ::ng-deep>h5,ion-item ::ng-deep>h6,ion-item ::ng-deep>data,ion-item ::ng-deep>p{color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}ion-item ::ng-deep>:where(p){font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s)}ion-item ::ng-deep>:where(.kirby-item-title),ion-item ::ng-deep>:where(h1),ion-item ::ng-deep>:where(h2),ion-item ::ng-deep>:where(h3),ion-item ::ng-deep>:where(h4),ion-item ::ng-deep>:where(h5),ion-item ::ng-deep>:where(h6),ion-item ::ng-deep>:where(data){font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n);font-weight:400}ion-item ::ng-deep>[subtitle],ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-subtitle,ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{font-size:var(--kirby-font-size-xs);line-height:var(--kirby-line-height-xs)}ion-item ::ng-deep>[subtitle]:not(:last-child),ion-item ::ng-deep>.kirby-item-subtitle:not(:last-child){margin-bottom:var(--kirby-spacing-xxxs)}ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{color:var(--kirby-text-color-semi-dark)}ion-item ::ng-deep>.kirby-item-disclosure{display:flex;align-items:center}ion-item .kirby-item-disclosure kirby-icon{color:var(--kirby-semi-dark);transform:translate(var(--kirby-spacing-xxxs))}ion-item ::ng-deep>[wrap],ion-item ::ng-deep>.kirby-item-wrap{white-space:normal}@media(max-width:767px){ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item ::ng-deep>.kirby-item-title:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)){--item-padding-top: var(--kirby-spacing-xxs);--inner-padding-top: 0;--inner-padding-end: var( --kirby-spacing-l )}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) ::ng-deep>[slot=end],ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) ::ng-deep>[slot=end]{margin-inline-start:initial}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(item-inner),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(item-inner){position:initial;gap:var(--kirby-spacing-xs)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(input-wrapper),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(input-wrapper){justify-content:center}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(native),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(native){flex-direction:column;align-items:flex-start}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure,ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) .disclosure{position:absolute;right:var(--kirby-spacing-xxs);top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xs));font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .outside{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-s))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-xxs))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:not(:has([slot=start]:not(.outside))):has([slot=end]:not(.disclosure)) .outside{align-items:start;top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xxxs) * .5)}}ion-item ::ng-deep>:not([slot]){width:100%}ion-item ::ng-deep>input[slot=end],ion-item ::ng-deep>kirby-form-field[slot=end] input{margin-inline-start:var(--kirby-spacing-s);width:auto;text-align:end}ion-item{--transition: background-color, opacity 80ms linear 0ms}ion-item:has(kirby-checkbox,kirby-radio){--inner-padding-top: 0;--inner-padding-bottom: 0}ion-item:has(kirby-checkbox:not([slot]),kirby-radio:not([slot])){overflow:inherit}ion-item:has(.checkbox-disabled,.radio-disabled,.toggle-disabled){pointer-events:none}.disclosure{--kirby-icon-font-size: var(--kirby-spacing-m);padding-left:var(--kirby-spacing-xxxs);color:var(--kirby-semi-dark);display:inline-flex;justify-content:center;align-items:center}.disclosure kirby-icon{transition:transform var(--kirby-transition-duration-quick)}.disclosure kirby-icon.rotate{transform:rotate(180deg)}:host-context(kirby-dropdown) ion-item,:host-context(kirby-menu) ion-item,:host-context(kirby-popover) ion-item{--min-height: 44px}:host(.keyboard-focused) ion-item::part(native),:host-context(kirby-popover .keyboard-focused) ion-item::part(native){transition:all 80ms linear 0ms;box-shadow:var(--kirby-focus-ring-md-inset)}: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:var(--kirby-font-weight-bold)}:host(.disclosure) ion-item{--inner-padding-end: var(--kirby-spacing-xxs)}:host-context(kirby-card-header) ion-item{--background: transparent}\n"] }]
68
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.IonicElementPartHelper }], propDecorators: { disabled: [{
69
- type: HostBinding,
70
- args: ['class.disabled']
71
- }, {
72
- type: Input
73
- }], selected: [{
74
- type: HostBinding,
75
- args: ['class.selected']
76
- }, {
77
- type: Input
78
- }], disclosure: [{
79
- type: HostBinding,
80
- args: ['class.disclosure']
81
- }, {
82
- type: Input
83
- }], selectable: [{
84
- type: Input
85
- }], reorderable: [{
86
- type: Input
87
- }], size: [{
88
- type: HostBinding,
89
- args: ['class']
90
- }, {
91
- type: Input
92
- }], href: [{
93
- type: Input
94
- }], rotateIcon: [{
95
- type: Input
96
- }], checkbox: [{
97
- type: ContentChild,
98
- args: [CheckboxComponent, { static: false, read: ElementRef }]
99
- }], radio: [{
100
- type: ContentChild,
101
- args: [RadioComponent, { static: false, read: ElementRef }]
102
- }], toggle: [{
103
- type: ContentChild,
104
- args: [ToggleComponent, { static: false, read: ElementRef }]
105
- }], button: [{
106
- type: ContentChild,
107
- args: [ButtonComponent, { static: false, read: ElementRef }]
108
- }], ionItem: [{
109
- type: ViewChild,
110
- args: [IonItem, { static: true, read: ElementRef }]
111
- }], containsNestedInteractives: [{
112
- type: HostBinding,
113
- args: ['class.has-interactive']
114
- }] } });
115
-
116
- class LabelComponent {
117
- constructor() {
118
- this.direction = 'vertical';
119
- }
120
- get _direction() {
121
- return this.direction === 'horizontal';
122
- }
123
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: LabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
124
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: LabelComponent, isStandalone: true, 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: [".kirby-line-clamp{display:-webkit-box;-webkit-line-clamp:var(--line-clamp, none);-webkit-box-orient:vertical;overflow:hidden}:host.horizontal ion-label{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline}:host.horizontal ion-label ::ng-deep>:last-child{white-space:normal;overflow:visible;text-overflow:initial}:host.horizontal ion-label ::ng-deep>:not(:first-child){margin-left:var(--kirby-spacing-xs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h1,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h2,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h3,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h4,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h5,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h6,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>data,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>p{color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(p){font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(.kirby-item-title),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h1),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h2),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h3),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h4),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h5),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h6),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(data){font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n);font-weight:400}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[subtitle],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[detail],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-subtitle,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-detail,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{font-size:var(--kirby-font-size-xs);line-height:var(--kirby-line-height-xs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[subtitle]:not(:last-child),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-subtitle:not(:last-child){margin-bottom:var(--kirby-spacing-xxxs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[detail],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-detail,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{color:var(--kirby-text-color-semi-dark)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{display:flex;align-items:center}:host-context(kirby-item) ::ng-deep ion-label .kirby-item-disclosure kirby-icon{color:var(--kirby-semi-dark);transform:translate(var(--kirby-spacing-xxxs))}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[wrap],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-wrap{white-space:normal}:host-context(kirby-section-header) ion-label{--padding-end: var(--kirby-spacing-s);--padding-start: var(--kirby-spacing-s)}:host-context(kirby-section-header) ion-label ::ng-deep>[heading]{font-weight:var(--kirby-font-weight-bold);font-size:var(--kirby-font-size-m);line-height:var(--kirby-line-height-m);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>h2[heading],:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-large[heading]{font-size:var(--kirby-font-size-l);line-height:var(--kirby-line-height-l)}:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-medium[heading]{font-size:var(--kirby-font-size-m);line-height:var(--kirby-line-height-m)}:host-context(kirby-section-header) ion-label ::ng-deep>h4[heading],:host-context(kirby-section-header) ion-label ::ng-deep>h5[heading],:host-context(kirby-section-header) ion-label ::ng-deep>h6[heading],:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-normal[heading]{font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n)}:host-context(kirby-section-header) ion-label ::ng-deep>[detail],:host-context(kirby-section-header) ion-label ::ng-deep>[label]{font-weight:var(--kirby-font-weight-light);font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s);color:var(--kirby-section-header-color);margin:var(--kirby-spacing-xxxs) 0 var(--kirby-spacing-xxs);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:var(--kirby-spacing-s)}: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]):not(.kirby-item-detail),:host-context(kirby-item.selected) ion-label ::ng-deep>data:not([detail]):not(.kirby-item-detail){font-weight:var(--kirby-font-weight-bold)}@media(max-width:767px){:host-context(.kirby-trt) :host([slot=end]) ion-label ::ng-deep>*{margin-inline-start:0;text-align:start}:host-context(.kirby-trt) ion-label{flex-direction:column;align-items:flex-start}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-title:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>[subtitle],:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-subtitle:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-detail:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-disclosure{position:absolute;top:var(--padding-top, 0);right:var(--kirby-spacing-s);margin-left:0}}\n"], dependencies: [{ kind: "component", type: IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }] }); }
125
- }
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: LabelComponent, decorators: [{
127
- type: Component,
128
- args: [{ selector: 'kirby-label', imports: [IonLabel], template: "<ion-label>\n <ng-content></ng-content>\n</ion-label>\n", styles: [".kirby-line-clamp{display:-webkit-box;-webkit-line-clamp:var(--line-clamp, none);-webkit-box-orient:vertical;overflow:hidden}:host.horizontal ion-label{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline}:host.horizontal ion-label ::ng-deep>:last-child{white-space:normal;overflow:visible;text-overflow:initial}:host.horizontal ion-label ::ng-deep>:not(:first-child){margin-left:var(--kirby-spacing-xs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h1,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h2,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h3,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h4,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h5,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h6,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>data,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>p{color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(p){font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(.kirby-item-title),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h1),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h2),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h3),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h4),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h5),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h6),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(data){font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n);font-weight:400}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[subtitle],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[detail],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-subtitle,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-detail,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{font-size:var(--kirby-font-size-xs);line-height:var(--kirby-line-height-xs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[subtitle]:not(:last-child),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-subtitle:not(:last-child){margin-bottom:var(--kirby-spacing-xxxs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[detail],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-detail,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{color:var(--kirby-text-color-semi-dark)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{display:flex;align-items:center}:host-context(kirby-item) ::ng-deep ion-label .kirby-item-disclosure kirby-icon{color:var(--kirby-semi-dark);transform:translate(var(--kirby-spacing-xxxs))}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[wrap],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-wrap{white-space:normal}:host-context(kirby-section-header) ion-label{--padding-end: var(--kirby-spacing-s);--padding-start: var(--kirby-spacing-s)}:host-context(kirby-section-header) ion-label ::ng-deep>[heading]{font-weight:var(--kirby-font-weight-bold);font-size:var(--kirby-font-size-m);line-height:var(--kirby-line-height-m);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>h2[heading],:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-large[heading]{font-size:var(--kirby-font-size-l);line-height:var(--kirby-line-height-l)}:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-medium[heading]{font-size:var(--kirby-font-size-m);line-height:var(--kirby-line-height-m)}:host-context(kirby-section-header) ion-label ::ng-deep>h4[heading],:host-context(kirby-section-header) ion-label ::ng-deep>h5[heading],:host-context(kirby-section-header) ion-label ::ng-deep>h6[heading],:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-normal[heading]{font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n)}:host-context(kirby-section-header) ion-label ::ng-deep>[detail],:host-context(kirby-section-header) ion-label ::ng-deep>[label]{font-weight:var(--kirby-font-weight-light);font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s);color:var(--kirby-section-header-color);margin:var(--kirby-spacing-xxxs) 0 var(--kirby-spacing-xxs);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:var(--kirby-spacing-s)}: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]):not(.kirby-item-detail),:host-context(kirby-item.selected) ion-label ::ng-deep>data:not([detail]):not(.kirby-item-detail){font-weight:var(--kirby-font-weight-bold)}@media(max-width:767px){:host-context(.kirby-trt) :host([slot=end]) ion-label ::ng-deep>*{margin-inline-start:0;text-align:start}:host-context(.kirby-trt) ion-label{flex-direction:column;align-items:flex-start}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-title:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>[subtitle],:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-subtitle:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-detail:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-disclosure{position:absolute;top:var(--padding-top, 0);right:var(--kirby-spacing-s);margin-left:0}}\n"] }]
129
- }], propDecorators: { direction: [{
130
- type: Input
131
- }], _direction: [{
132
- type: HostBinding,
133
- args: ['class.horizontal']
134
- }] } });
135
-
19
+ var ItemComponent = class ItemComponent {
20
+ get selectable() {
21
+ return this._selectable;
22
+ }
23
+ set selectable(value) {
24
+ this._selectable = value;
25
+ this.cdr.markForCheck();
26
+ }
27
+ constructor(elementRef, renderer, cdr, ionicElementPartHelper) {
28
+ this.elementRef = elementRef;
29
+ this.renderer = renderer;
30
+ this.cdr = cdr;
31
+ this.ionicElementPartHelper = ionicElementPartHelper;
32
+ this._linkAttributesToForward = [
33
+ "rel",
34
+ "target",
35
+ "download"
36
+ ];
37
+ this.size = ItemSize.MD;
38
+ this.rotateIcon = false;
39
+ }
40
+ ngAfterViewInit() {
41
+ forwardAttributes(this.elementRef.nativeElement, this._linkAttributesToForward, this.renderer, this.ionItem.nativeElement);
42
+ this.ionicElementPartHelper.setPart("item-inner", this.ionItem, ".item-inner");
43
+ this.ionicElementPartHelper.setPart("input-wrapper", this.ionItem, ".input-wrapper");
44
+ }
45
+ onMouseDown(event) {
46
+ if (event.currentTarget instanceof HTMLElement && event.currentTarget.closest("kirby-dropdown")) event.preventDefault();
47
+ }
48
+ get _renderButton() {
49
+ return this.selectable && !this.containsNestedInteractives;
50
+ }
51
+ get _renderLink() {
52
+ return this.containsNestedInteractives ? void 0 : this.href;
53
+ }
54
+ get containsNestedInteractives() {
55
+ return !!(this.checkbox || this.radio || this.toggle || this.button);
56
+ }
57
+ static {
58
+ this.ɵfac = i0.ɵɵngDeclareFactory({
59
+ minVersion: "12.0.0",
60
+ version: "22.2.2",
61
+ ngImport: i0,
62
+ type: ItemComponent,
63
+ deps: [
64
+ { token: i0.ElementRef },
65
+ { token: i0.Renderer2 },
66
+ { token: i0.ChangeDetectorRef },
67
+ { token: i1.IonicElementPartHelper }
68
+ ],
69
+ target: i0.ɵɵFactoryTarget.Component
70
+ });
71
+ }
72
+ static {
73
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
74
+ minVersion: "17.0.0",
75
+ version: "22.2.2",
76
+ type: ItemComponent,
77
+ isStandalone: true,
78
+ selector: "kirby-item",
79
+ inputs: {
80
+ disabled: "disabled",
81
+ selected: "selected",
82
+ disclosure: "disclosure",
83
+ selectable: "selectable",
84
+ reorderable: "reorderable",
85
+ size: "size",
86
+ href: "href",
87
+ rotateIcon: "rotateIcon"
88
+ },
89
+ host: { properties: {
90
+ "class.disabled": "this.disabled",
91
+ "class.selected": "this.selected",
92
+ "class.disclosure": "this.disclosure",
93
+ "class": "this.size",
94
+ "class.has-interactive": "this.containsNestedInteractives"
95
+ } },
96
+ providers: [IonicElementPartHelper],
97
+ queries: [
98
+ {
99
+ propertyName: "checkbox",
100
+ first: true,
101
+ predicate: CheckboxComponent,
102
+ descendants: true,
103
+ read: ElementRef
104
+ },
105
+ {
106
+ propertyName: "radio",
107
+ first: true,
108
+ predicate: RadioComponent,
109
+ descendants: true,
110
+ read: ElementRef
111
+ },
112
+ {
113
+ propertyName: "toggle",
114
+ first: true,
115
+ predicate: ToggleComponent,
116
+ descendants: true,
117
+ read: ElementRef
118
+ },
119
+ {
120
+ propertyName: "button",
121
+ first: true,
122
+ predicate: ButtonComponent,
123
+ descendants: true,
124
+ read: ElementRef
125
+ }
126
+ ],
127
+ viewQueries: [{
128
+ propertyName: "ionItem",
129
+ first: true,
130
+ predicate: IonItem,
131
+ descendants: true,
132
+ read: ElementRef,
133
+ static: true
134
+ }],
135
+ ngImport: i0,
136
+ template: "<ion-item\n lines=\"none\"\n [disabled]=\"disabled\"\n [button]=\"_renderButton\"\n [href]=\"_renderLink\"\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 @if (reorderable) {\n <ion-reorder slot=\"end\">\n <kirby-icon name=\"reorder\"></kirby-icon>\n </ion-reorder>\n }\n\n @if (disclosure) {\n <span class=\"disclosure\" slot=\"end\">\n <kirby-icon\n [class.rotate]=\"rotateIcon && (disclosure === 'arrow-down' || disclosure === 'arrow-up')\"\n name=\"{{ disclosure }}\"\n ></kirby-icon>\n </span>\n }\n</ion-item>\n",
137
+ styles: [".kirby-line-clamp{display:-webkit-box;-webkit-line-clamp:var(--line-clamp, none);-webkit-box-orient:vertical;overflow:hidden}:host{display:block;position:relative}: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: var(--kirby-spacing-xxxs);--inner-padding-bottom: var(--kirby-spacing-xxxs)}:host .outside{--kirby-badge-font-size: 10px;display:flex;width:var(--kirby-relative-size-s);margin:0;position:absolute;left:var(--kirby-spacing-xxxs);z-index:1}ion-item::part(native){border-radius:var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-bottom-radius, 0) var(--kirby-content-border-bottom-radius, 0)}ion-item::part(native):focus-visible{box-shadow:var(--kirby-focus-ring-md-inset)}ion-item{--padding-top: var(--item-padding-top, 0px);--padding-bottom: var(--item-padding-bottom, 0px);--min-height: 56px;--padding-start: var(--kirby-spacing-s);--inner-padding-top: var(--kirby-spacing-xxs);--inner-padding-bottom: var(--kirby-spacing-xxs);--inner-padding-end: var(--kirby-spacing-s);--color: var(--kirby-color-content-base);--color-hover: var(--kirby-color-content-base-hover);--background: var(--kirby-item-background, var(--kirby-color-fill-base));--background-hover: var(--kirby-color-fill-base-hover);--background-hover-opacity: 1;--background-focused: var(--kirby-item-background-focused, var(--kirby-color-fill-base));--background-focused-opacity: 1;font-size:var(--kirby-font-size-n)}ion-item.ion-activated{--background-hover: var(--kirby-color-fill-base-active);--color-hover: var(--kirby-color-content-base-active)}@media screen and (orientation:landscape){ion-item{--ion-safe-area-left: 0px;--ion-safe-area-right: 0px}}ion-item ::ng-deep>[slot=end]{text-align:end}ion-item ::ng-deep>[slot=end] kirby-label{text-align:start}ion-item ::ng-deep>time[slot=end]{margin-inline-start:var(--kirby-spacing-xs)}ion-item ::ng-deep>data[slot=end],ion-item ::ng-deep>[detail][slot=end],ion-item ::ng-deep>ion-reorder[slot=end]{margin-inline-start:var(--kirby-spacing-s)}ion-item ::ng-deep>h1,ion-item ::ng-deep>h2,ion-item ::ng-deep>h3,ion-item ::ng-deep>h4,ion-item ::ng-deep>h5,ion-item ::ng-deep>h6,ion-item ::ng-deep>data,ion-item ::ng-deep>p{color:var(--kirby-color-content-base);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}ion-item ::ng-deep>:where(p){font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s)}ion-item ::ng-deep>:where(.kirby-item-title),ion-item ::ng-deep>:where(h1),ion-item ::ng-deep>:where(h2),ion-item ::ng-deep>:where(h3),ion-item ::ng-deep>:where(h4),ion-item ::ng-deep>:where(h5),ion-item ::ng-deep>:where(h6),ion-item ::ng-deep>:where(data){font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n);font-weight:400}ion-item ::ng-deep>[subtitle],ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-subtitle,ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{font-size:var(--kirby-font-size-xs);line-height:var(--kirby-line-height-xs)}ion-item ::ng-deep>[subtitle]:not(:last-child),ion-item ::ng-deep>.kirby-item-subtitle:not(:last-child){margin-bottom:var(--kirby-spacing-xxxs)}ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{color:var(--kirby-color-content-base-quiet)}ion-item ::ng-deep>.kirby-item-disclosure{display:flex;align-items:center}ion-item .kirby-item-disclosure kirby-icon{color:var(--kirby-color-content-base-quiet);transform:translate(var(--kirby-spacing-xxxs))}ion-item ::ng-deep>[wrap],ion-item ::ng-deep>.kirby-item-wrap{white-space:normal}@media(max-width:767px){ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item ::ng-deep>.kirby-item-title:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)){--item-padding-top: var(--kirby-spacing-xxs);--inner-padding-top: 0;--inner-padding-end: var( --kirby-spacing-l )}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) ::ng-deep>[slot=end],ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) ::ng-deep>[slot=end]{margin-inline-start:initial}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(item-inner),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(item-inner){position:initial;gap:var(--kirby-spacing-xs)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(input-wrapper),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(input-wrapper){justify-content:center}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(native),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(native){flex-direction:column;align-items:flex-start}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure,ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) .disclosure{position:absolute;right:var(--kirby-spacing-xxs);top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xs));font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .outside{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-s))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-xxs))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:not(:has([slot=start]:not(.outside))):has([slot=end]:not(.disclosure)) .outside{align-items:start;top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xxxs) * .5)}}ion-item ::ng-deep>:not([slot]){width:100%}ion-item ::ng-deep>input[slot=end],ion-item ::ng-deep>kirby-form-field[slot=end] input{margin-inline-start:var(--kirby-spacing-s);width:auto;text-align:end}ion-item{--transition: background-color, opacity 80ms linear 0ms}ion-item:has(kirby-checkbox,kirby-radio){--inner-padding-top: 0;--inner-padding-bottom: 0}ion-item:has(kirby-checkbox:not([slot]),kirby-radio:not([slot])){overflow:inherit}ion-item:has(.checkbox-disabled,.radio-disabled,.toggle-disabled){pointer-events:none}.disclosure{--kirby-icon-font-size: var(--kirby-spacing-m);padding-left:var(--kirby-spacing-xxxs);color:var(--kirby-color-content-base-quiet);display:inline-flex;justify-content:center;align-items:center}.disclosure kirby-icon{transition:transform var(--kirby-transition-duration-quick)}.disclosure kirby-icon.rotate{transform:rotate(180deg)}:host-context(kirby-dropdown) ion-item,:host-context(kirby-menu) ion-item,:host-context(kirby-popover) ion-item{--min-height: 44px}:host(.keyboard-focused) ion-item::part(native),:host-context(kirby-popover .keyboard-focused) ion-item::part(native){transition:all 80ms linear 0ms;box-shadow:var(--kirby-focus-ring-md-inset)}:host(.disabled),:host([disabled]){pointer-events:none}:host(.disabled) ion-item,:host([disabled]) ion-item{opacity:.4}: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:var(--kirby-font-weight-bold)}:host(.disclosure) ion-item{--inner-padding-end: var(--kirby-spacing-xxs)}:host-context(kirby-card-header) ion-item{--background: transparent}\n"],
138
+ dependencies: [
139
+ {
140
+ kind: "component",
141
+ type: IonItem,
142
+ selector: "ion-item",
143
+ inputs: [
144
+ "button",
145
+ "color",
146
+ "detail",
147
+ "detailIcon",
148
+ "disabled",
149
+ "download",
150
+ "href",
151
+ "lines",
152
+ "mode",
153
+ "rel",
154
+ "routerAnimation",
155
+ "routerDirection",
156
+ "target",
157
+ "type"
158
+ ]
159
+ },
160
+ {
161
+ kind: "component",
162
+ type: IonReorder,
163
+ selector: "ion-reorder"
164
+ },
165
+ {
166
+ kind: "component",
167
+ type: IconComponent,
168
+ selector: "kirby-icon",
169
+ inputs: ["size", "name"]
170
+ }
171
+ ],
172
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
173
+ });
174
+ }
175
+ };
176
+ i0.ɵɵngDeclareClassMetadata({
177
+ minVersion: "12.0.0",
178
+ version: "22.2.2",
179
+ ngImport: i0,
180
+ type: ItemComponent,
181
+ decorators: [{
182
+ type: Component,
183
+ args: [{
184
+ selector: "kirby-item",
185
+ changeDetection: ChangeDetectionStrategy.OnPush,
186
+ providers: [IonicElementPartHelper],
187
+ imports: [
188
+ IonItem,
189
+ IonReorder,
190
+ IconComponent
191
+ ],
192
+ template: "<ion-item\n lines=\"none\"\n [disabled]=\"disabled\"\n [button]=\"_renderButton\"\n [href]=\"_renderLink\"\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 @if (reorderable) {\n <ion-reorder slot=\"end\">\n <kirby-icon name=\"reorder\"></kirby-icon>\n </ion-reorder>\n }\n\n @if (disclosure) {\n <span class=\"disclosure\" slot=\"end\">\n <kirby-icon\n [class.rotate]=\"rotateIcon && (disclosure === 'arrow-down' || disclosure === 'arrow-up')\"\n name=\"{{ disclosure }}\"\n ></kirby-icon>\n </span>\n }\n</ion-item>\n",
193
+ styles: [".kirby-line-clamp{display:-webkit-box;-webkit-line-clamp:var(--line-clamp, none);-webkit-box-orient:vertical;overflow:hidden}:host{display:block;position:relative}: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: var(--kirby-spacing-xxxs);--inner-padding-bottom: var(--kirby-spacing-xxxs)}:host .outside{--kirby-badge-font-size: 10px;display:flex;width:var(--kirby-relative-size-s);margin:0;position:absolute;left:var(--kirby-spacing-xxxs);z-index:1}ion-item::part(native){border-radius:var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-bottom-radius, 0) var(--kirby-content-border-bottom-radius, 0)}ion-item::part(native):focus-visible{box-shadow:var(--kirby-focus-ring-md-inset)}ion-item{--padding-top: var(--item-padding-top, 0px);--padding-bottom: var(--item-padding-bottom, 0px);--min-height: 56px;--padding-start: var(--kirby-spacing-s);--inner-padding-top: var(--kirby-spacing-xxs);--inner-padding-bottom: var(--kirby-spacing-xxs);--inner-padding-end: var(--kirby-spacing-s);--color: var(--kirby-color-content-base);--color-hover: var(--kirby-color-content-base-hover);--background: var(--kirby-item-background, var(--kirby-color-fill-base));--background-hover: var(--kirby-color-fill-base-hover);--background-hover-opacity: 1;--background-focused: var(--kirby-item-background-focused, var(--kirby-color-fill-base));--background-focused-opacity: 1;font-size:var(--kirby-font-size-n)}ion-item.ion-activated{--background-hover: var(--kirby-color-fill-base-active);--color-hover: var(--kirby-color-content-base-active)}@media screen and (orientation:landscape){ion-item{--ion-safe-area-left: 0px;--ion-safe-area-right: 0px}}ion-item ::ng-deep>[slot=end]{text-align:end}ion-item ::ng-deep>[slot=end] kirby-label{text-align:start}ion-item ::ng-deep>time[slot=end]{margin-inline-start:var(--kirby-spacing-xs)}ion-item ::ng-deep>data[slot=end],ion-item ::ng-deep>[detail][slot=end],ion-item ::ng-deep>ion-reorder[slot=end]{margin-inline-start:var(--kirby-spacing-s)}ion-item ::ng-deep>h1,ion-item ::ng-deep>h2,ion-item ::ng-deep>h3,ion-item ::ng-deep>h4,ion-item ::ng-deep>h5,ion-item ::ng-deep>h6,ion-item ::ng-deep>data,ion-item ::ng-deep>p{color:var(--kirby-color-content-base);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}ion-item ::ng-deep>:where(p){font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s)}ion-item ::ng-deep>:where(.kirby-item-title),ion-item ::ng-deep>:where(h1),ion-item ::ng-deep>:where(h2),ion-item ::ng-deep>:where(h3),ion-item ::ng-deep>:where(h4),ion-item ::ng-deep>:where(h5),ion-item ::ng-deep>:where(h6),ion-item ::ng-deep>:where(data){font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n);font-weight:400}ion-item ::ng-deep>[subtitle],ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-subtitle,ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{font-size:var(--kirby-font-size-xs);line-height:var(--kirby-line-height-xs)}ion-item ::ng-deep>[subtitle]:not(:last-child),ion-item ::ng-deep>.kirby-item-subtitle:not(:last-child){margin-bottom:var(--kirby-spacing-xxxs)}ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{color:var(--kirby-color-content-base-quiet)}ion-item ::ng-deep>.kirby-item-disclosure{display:flex;align-items:center}ion-item .kirby-item-disclosure kirby-icon{color:var(--kirby-color-content-base-quiet);transform:translate(var(--kirby-spacing-xxxs))}ion-item ::ng-deep>[wrap],ion-item ::ng-deep>.kirby-item-wrap{white-space:normal}@media(max-width:767px){ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item ::ng-deep>.kirby-item-title:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)){--item-padding-top: var(--kirby-spacing-xxs);--inner-padding-top: 0;--inner-padding-end: var( --kirby-spacing-l )}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) ::ng-deep>[slot=end],ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) ::ng-deep>[slot=end]{margin-inline-start:initial}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(item-inner),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(item-inner){position:initial;gap:var(--kirby-spacing-xs)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(input-wrapper),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(input-wrapper){justify-content:center}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(native),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(native){flex-direction:column;align-items:flex-start}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure,ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) .disclosure{position:absolute;right:var(--kirby-spacing-xxs);top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xs));font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .outside{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-s))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-xxs))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:not(:has([slot=start]:not(.outside))):has([slot=end]:not(.disclosure)) .outside{align-items:start;top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xxxs) * .5)}}ion-item ::ng-deep>:not([slot]){width:100%}ion-item ::ng-deep>input[slot=end],ion-item ::ng-deep>kirby-form-field[slot=end] input{margin-inline-start:var(--kirby-spacing-s);width:auto;text-align:end}ion-item{--transition: background-color, opacity 80ms linear 0ms}ion-item:has(kirby-checkbox,kirby-radio){--inner-padding-top: 0;--inner-padding-bottom: 0}ion-item:has(kirby-checkbox:not([slot]),kirby-radio:not([slot])){overflow:inherit}ion-item:has(.checkbox-disabled,.radio-disabled,.toggle-disabled){pointer-events:none}.disclosure{--kirby-icon-font-size: var(--kirby-spacing-m);padding-left:var(--kirby-spacing-xxxs);color:var(--kirby-color-content-base-quiet);display:inline-flex;justify-content:center;align-items:center}.disclosure kirby-icon{transition:transform var(--kirby-transition-duration-quick)}.disclosure kirby-icon.rotate{transform:rotate(180deg)}:host-context(kirby-dropdown) ion-item,:host-context(kirby-menu) ion-item,:host-context(kirby-popover) ion-item{--min-height: 44px}:host(.keyboard-focused) ion-item::part(native),:host-context(kirby-popover .keyboard-focused) ion-item::part(native){transition:all 80ms linear 0ms;box-shadow:var(--kirby-focus-ring-md-inset)}:host(.disabled),:host([disabled]){pointer-events:none}:host(.disabled) ion-item,:host([disabled]) ion-item{opacity:.4}: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:var(--kirby-font-weight-bold)}:host(.disclosure) ion-item{--inner-padding-end: var(--kirby-spacing-xxs)}:host-context(kirby-card-header) ion-item{--background: transparent}\n"]
194
+ }]
195
+ }],
196
+ ctorParameters: () => [
197
+ { type: i0.ElementRef },
198
+ { type: i0.Renderer2 },
199
+ { type: i0.ChangeDetectorRef },
200
+ { type: i1.IonicElementPartHelper }
201
+ ],
202
+ propDecorators: {
203
+ disabled: [{
204
+ type: HostBinding,
205
+ args: ["class.disabled"]
206
+ }, { type: Input }],
207
+ selected: [{
208
+ type: HostBinding,
209
+ args: ["class.selected"]
210
+ }, { type: Input }],
211
+ disclosure: [{
212
+ type: HostBinding,
213
+ args: ["class.disclosure"]
214
+ }, { type: Input }],
215
+ selectable: [{ type: Input }],
216
+ reorderable: [{ type: Input }],
217
+ size: [{
218
+ type: HostBinding,
219
+ args: ["class"]
220
+ }, { type: Input }],
221
+ href: [{ type: Input }],
222
+ rotateIcon: [{ type: Input }],
223
+ checkbox: [{
224
+ type: ContentChild,
225
+ args: [CheckboxComponent, {
226
+ static: false,
227
+ read: ElementRef
228
+ }]
229
+ }],
230
+ radio: [{
231
+ type: ContentChild,
232
+ args: [RadioComponent, {
233
+ static: false,
234
+ read: ElementRef
235
+ }]
236
+ }],
237
+ toggle: [{
238
+ type: ContentChild,
239
+ args: [ToggleComponent, {
240
+ static: false,
241
+ read: ElementRef
242
+ }]
243
+ }],
244
+ button: [{
245
+ type: ContentChild,
246
+ args: [ButtonComponent, {
247
+ static: false,
248
+ read: ElementRef
249
+ }]
250
+ }],
251
+ ionItem: [{
252
+ type: ViewChild,
253
+ args: [IonItem, {
254
+ static: true,
255
+ read: ElementRef
256
+ }]
257
+ }],
258
+ containsNestedInteractives: [{
259
+ type: HostBinding,
260
+ args: ["class.has-interactive"]
261
+ }]
262
+ }
263
+ });
264
+ var LabelComponent = class LabelComponent {
265
+ constructor() {
266
+ this.direction = "vertical";
267
+ }
268
+ get _direction() {
269
+ return this.direction === "horizontal";
270
+ }
271
+ static {
272
+ this.ɵfac = i0.ɵɵngDeclareFactory({
273
+ minVersion: "12.0.0",
274
+ version: "22.2.2",
275
+ ngImport: i0,
276
+ type: LabelComponent,
277
+ deps: [],
278
+ target: i0.ɵɵFactoryTarget.Component
279
+ });
280
+ }
281
+ static {
282
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
283
+ minVersion: "14.0.0",
284
+ version: "22.2.2",
285
+ type: LabelComponent,
286
+ isStandalone: true,
287
+ selector: "kirby-label",
288
+ inputs: { direction: "direction" },
289
+ host: { properties: { "class.horizontal": "this._direction" } },
290
+ ngImport: i0,
291
+ template: "<ion-label>\n <ng-content></ng-content>\n</ion-label>\n",
292
+ styles: [".kirby-line-clamp{display:-webkit-box;-webkit-line-clamp:var(--line-clamp, none);-webkit-box-orient:vertical;overflow:hidden}:host.horizontal ion-label{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline}:host.horizontal ion-label ::ng-deep>:last-child{white-space:normal;overflow:visible;text-overflow:initial}:host.horizontal ion-label ::ng-deep>:not(:first-child){margin-left:var(--kirby-spacing-xs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h1,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h2,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h3,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h4,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h5,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h6,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>data,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>p{color:var(--kirby-color-content-base);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(p){font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(.kirby-item-title),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h1),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h2),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h3),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h4),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h5),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h6),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(data){font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n);font-weight:400}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[subtitle],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[detail],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-subtitle,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-detail,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{font-size:var(--kirby-font-size-xs);line-height:var(--kirby-line-height-xs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[subtitle]:not(:last-child),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-subtitle:not(:last-child){margin-bottom:var(--kirby-spacing-xxxs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[detail],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-detail,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{color:var(--kirby-color-content-base-quiet)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{display:flex;align-items:center}:host-context(kirby-item) ::ng-deep ion-label .kirby-item-disclosure kirby-icon{color:var(--kirby-color-content-base-quiet);transform:translate(var(--kirby-spacing-xxxs))}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[wrap],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-wrap{white-space:normal}:host-context(kirby-section-header) ion-label{--padding-end: var(--kirby-spacing-s);--padding-start: var(--kirby-spacing-s)}:host-context(kirby-section-header) ion-label ::ng-deep>[heading]{font-weight:var(--kirby-font-weight-bold);font-size:var(--kirby-font-size-m);line-height:var(--kirby-line-height-m);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>h2[heading],:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-large[heading]{font-size:var(--kirby-font-size-l);line-height:var(--kirby-line-height-l)}:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-medium[heading]{font-size:var(--kirby-font-size-m);line-height:var(--kirby-line-height-m)}:host-context(kirby-section-header) ion-label ::ng-deep>h4[heading],:host-context(kirby-section-header) ion-label ::ng-deep>h5[heading],:host-context(kirby-section-header) ion-label ::ng-deep>h6[heading],:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-normal[heading]{font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n)}:host-context(kirby-section-header) ion-label ::ng-deep>[detail],:host-context(kirby-section-header) ion-label ::ng-deep>[label]{font-weight:var(--kirby-font-weight-light);font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s);color:var(--kirby-section-header-color);margin:var(--kirby-spacing-xxxs) 0 var(--kirby-spacing-xxs);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:var(--kirby-spacing-s)}: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]):not(.kirby-item-detail),:host-context(kirby-item.selected) ion-label ::ng-deep>data:not([detail]):not(.kirby-item-detail){font-weight:var(--kirby-font-weight-bold)}@media(max-width:767px){:host-context(.kirby-trt) :host([slot=end]) ion-label ::ng-deep>*{margin-inline-start:0;text-align:start}:host-context(.kirby-trt) ion-label{flex-direction:column;align-items:flex-start}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-title:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>[subtitle],:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-subtitle:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-detail:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-disclosure{position:absolute;top:var(--padding-top, 0);right:var(--kirby-spacing-s);margin-left:0}}\n"],
293
+ dependencies: [{
294
+ kind: "component",
295
+ type: IonLabel,
296
+ selector: "ion-label",
297
+ inputs: [
298
+ "color",
299
+ "mode",
300
+ "position"
301
+ ]
302
+ }],
303
+ changeDetection: i0.ChangeDetectionStrategy.Eager
304
+ });
305
+ }
306
+ };
307
+ i0.ɵɵngDeclareClassMetadata({
308
+ minVersion: "12.0.0",
309
+ version: "22.2.2",
310
+ ngImport: i0,
311
+ type: LabelComponent,
312
+ decorators: [{
313
+ type: Component,
314
+ args: [{
315
+ selector: "kirby-label",
316
+ imports: [IonLabel],
317
+ changeDetection: ChangeDetectionStrategy.Eager,
318
+ template: "<ion-label>\n <ng-content></ng-content>\n</ion-label>\n",
319
+ styles: [".kirby-line-clamp{display:-webkit-box;-webkit-line-clamp:var(--line-clamp, none);-webkit-box-orient:vertical;overflow:hidden}:host.horizontal ion-label{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline}:host.horizontal ion-label ::ng-deep>:last-child{white-space:normal;overflow:visible;text-overflow:initial}:host.horizontal ion-label ::ng-deep>:not(:first-child){margin-left:var(--kirby-spacing-xs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h1,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h2,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h3,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h4,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h5,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h6,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>data,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>p{color:var(--kirby-color-content-base);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(p){font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(.kirby-item-title),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h1),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h2),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h3),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h4),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h5),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h6),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(data){font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n);font-weight:400}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[subtitle],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[detail],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-subtitle,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-detail,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{font-size:var(--kirby-font-size-xs);line-height:var(--kirby-line-height-xs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[subtitle]:not(:last-child),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-subtitle:not(:last-child){margin-bottom:var(--kirby-spacing-xxxs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[detail],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-detail,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{color:var(--kirby-color-content-base-quiet)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{display:flex;align-items:center}:host-context(kirby-item) ::ng-deep ion-label .kirby-item-disclosure kirby-icon{color:var(--kirby-color-content-base-quiet);transform:translate(var(--kirby-spacing-xxxs))}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[wrap],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-wrap{white-space:normal}:host-context(kirby-section-header) ion-label{--padding-end: var(--kirby-spacing-s);--padding-start: var(--kirby-spacing-s)}:host-context(kirby-section-header) ion-label ::ng-deep>[heading]{font-weight:var(--kirby-font-weight-bold);font-size:var(--kirby-font-size-m);line-height:var(--kirby-line-height-m);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>h2[heading],:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-large[heading]{font-size:var(--kirby-font-size-l);line-height:var(--kirby-line-height-l)}:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-medium[heading]{font-size:var(--kirby-font-size-m);line-height:var(--kirby-line-height-m)}:host-context(kirby-section-header) ion-label ::ng-deep>h4[heading],:host-context(kirby-section-header) ion-label ::ng-deep>h5[heading],:host-context(kirby-section-header) ion-label ::ng-deep>h6[heading],:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-normal[heading]{font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n)}:host-context(kirby-section-header) ion-label ::ng-deep>[detail],:host-context(kirby-section-header) ion-label ::ng-deep>[label]{font-weight:var(--kirby-font-weight-light);font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s);color:var(--kirby-section-header-color);margin:var(--kirby-spacing-xxxs) 0 var(--kirby-spacing-xxs);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:var(--kirby-spacing-s)}: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]):not(.kirby-item-detail),:host-context(kirby-item.selected) ion-label ::ng-deep>data:not([detail]):not(.kirby-item-detail){font-weight:var(--kirby-font-weight-bold)}@media(max-width:767px){:host-context(.kirby-trt) :host([slot=end]) ion-label ::ng-deep>*{margin-inline-start:0;text-align:start}:host-context(.kirby-trt) ion-label{flex-direction:column;align-items:flex-start}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-title:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>[subtitle],:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-subtitle:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-detail:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-disclosure{position:absolute;top:var(--padding-top, 0);right:var(--kirby-spacing-s);margin-left:0}}\n"]
320
+ }]
321
+ }],
322
+ propDecorators: {
323
+ direction: [{ type: Input }],
324
+ _direction: [{
325
+ type: HostBinding,
326
+ args: ["class.horizontal"]
327
+ }]
328
+ }
329
+ });
136
330
  const imports = [ItemComponent, LabelComponent];
137
- class ItemModule {
138
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
139
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.23", ngImport: i0, type: ItemModule, imports: [IconModule, CommonModule, IonItem, IonReorder, IonLabel, ItemComponent, LabelComponent], exports: [ItemComponent, LabelComponent] }); }
140
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ItemModule, imports: [IconModule, CommonModule, IonItem, IonReorder, IonLabel, imports] }); }
141
- }
142
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ItemModule, decorators: [{
143
- type: NgModule,
144
- args: [{
145
- imports: [IconModule, CommonModule, IonItem, IonReorder, IonLabel, ...imports],
146
- exports: [...imports],
147
- }]
148
- }] });
149
-
150
- /**
151
- * Generated bundle index. Do not edit.
152
- */
153
-
331
+ var ItemModule = class ItemModule {
332
+ static {
333
+ this.ɵfac = i0.ɵɵngDeclareFactory({
334
+ minVersion: "12.0.0",
335
+ version: "22.2.2",
336
+ ngImport: i0,
337
+ type: ItemModule,
338
+ deps: [],
339
+ target: i0.ɵɵFactoryTarget.NgModule
340
+ });
341
+ }
342
+ static {
343
+ this.ɵmod = i0.ɵɵngDeclareNgModule({
344
+ minVersion: "14.0.0",
345
+ version: "22.2.2",
346
+ ngImport: i0,
347
+ type: ItemModule,
348
+ imports: [
349
+ IconModule,
350
+ CommonModule,
351
+ IonItem,
352
+ IonReorder,
353
+ IonLabel,
354
+ ItemComponent,
355
+ LabelComponent
356
+ ],
357
+ exports: [ItemComponent, LabelComponent]
358
+ });
359
+ }
360
+ static {
361
+ this.ɵinj = i0.ɵɵngDeclareInjector({
362
+ minVersion: "12.0.0",
363
+ version: "22.2.2",
364
+ ngImport: i0,
365
+ type: ItemModule,
366
+ imports: [
367
+ IconModule,
368
+ CommonModule,
369
+ IonItem,
370
+ IonReorder,
371
+ IonLabel,
372
+ imports
373
+ ]
374
+ });
375
+ }
376
+ };
377
+ i0.ɵɵngDeclareClassMetadata({
378
+ minVersion: "12.0.0",
379
+ version: "22.2.2",
380
+ ngImport: i0,
381
+ type: ItemModule,
382
+ decorators: [{
383
+ type: NgModule,
384
+ args: [{
385
+ imports: [
386
+ IconModule,
387
+ CommonModule,
388
+ IonItem,
389
+ IonReorder,
390
+ IonLabel,
391
+ ...imports
392
+ ],
393
+ exports: [...imports]
394
+ }]
395
+ }]
396
+ });
154
397
  export { ItemComponent, ItemModule, ItemSize, LabelComponent };
155
- //# sourceMappingURL=kirbydesign-designsystem-item.mjs.map
398
+
399
+ //# sourceMappingURL=kirbydesign-designsystem-item.mjs.map