@daffodil/design 0.76.0 → 0.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (553) hide show
  1. package/accordion/README.md +40 -2
  2. package/accordion/accordion/accordion/accordion.component.d.ts +1 -1
  3. package/accordion/accordion/accordion-item/accordion-item.component.d.ts +19 -8
  4. package/accordion/accordion/accordion-item-title/accordion-item-title.directive.d.ts +1 -1
  5. package/accordion/accordion.d.ts +4 -0
  6. package/accordion/accordion.module.d.ts +6 -7
  7. package/accordion/examples/basic-accordion/basic-accordion.component.d.ts +1 -1
  8. package/accordion/examples/public_api.d.ts +0 -1
  9. package/accordion/public_api.d.ts +1 -0
  10. package/article/README.md +42 -1
  11. package/article/article/article.component.d.ts +1 -1
  12. package/article/article-meta/article-meta.directive.d.ts +1 -1
  13. package/article/article.d.ts +3 -0
  14. package/article/article.module.d.ts +5 -4
  15. package/article/public_api.d.ts +2 -1
  16. package/button/README.md +41 -0
  17. package/button/button/button.component.d.ts +1 -1
  18. package/button/button.d.ts +3 -0
  19. package/button/button.module.d.ts +4 -4
  20. package/button/public_api.d.ts +2 -1
  21. package/callout/README.md +42 -0
  22. package/callout/callout/callout.component.d.ts +1 -1
  23. package/callout/callout-body/callout-body.directive.d.ts +1 -1
  24. package/callout/callout-icon/callout-icon.directive.d.ts +1 -1
  25. package/callout/callout-subtitle/callout-subtitle.directive.d.ts +1 -1
  26. package/callout/callout-tagline/callout-tagline.directive.d.ts +1 -1
  27. package/callout/callout-title/callout-title.directive.d.ts +1 -1
  28. package/callout/callout.d.ts +7 -0
  29. package/callout/callout.module.d.ts +9 -8
  30. package/callout/public_api.d.ts +1 -0
  31. package/card/README.md +41 -0
  32. package/card/card/card.component.d.ts +1 -1
  33. package/card/card-actions/card-actions.directive.d.ts +1 -1
  34. package/card/card-content/card-content.directive.d.ts +1 -1
  35. package/card/card-icon/card-icon.directive.d.ts +1 -1
  36. package/card/card-image/card-image.directive.d.ts +1 -1
  37. package/card/card-tagline/card-tagline.directive.d.ts +1 -1
  38. package/card/card-title/card-title.directive.d.ts +1 -1
  39. package/card/card.d.ts +8 -0
  40. package/card/card.module.d.ts +12 -9
  41. package/card/public_api.d.ts +1 -0
  42. package/container/README.md +42 -1
  43. package/container/container/container.component.d.ts +1 -1
  44. package/container/container.d.ts +2 -0
  45. package/container/container.module.d.ts +6 -3
  46. package/container/public_api.d.ts +1 -0
  47. package/core/openable/openable.d.ts +13 -0
  48. package/core/openable/openable.directive.d.ts +81 -0
  49. package/core/openable/public_api.d.ts +2 -0
  50. package/core/openable/utils/state-error.d.ts +1 -0
  51. package/core/public_api.d.ts +1 -0
  52. package/esm2022/accordion/accordion/accordion/accordion.component.mjs +5 -5
  53. package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +39 -23
  54. package/esm2022/accordion/accordion/accordion-item-title/accordion-item-title.directive.mjs +5 -4
  55. package/esm2022/accordion/accordion/animation/accordion-animation-state.mjs +1 -1
  56. package/esm2022/accordion/accordion.mjs +9 -0
  57. package/esm2022/accordion/accordion.module.mjs +8 -16
  58. package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +8 -5
  59. package/esm2022/accordion/examples/public_api.mjs +1 -2
  60. package/esm2022/accordion/public_api.mjs +2 -1
  61. package/esm2022/article/article/article.component.mjs +5 -5
  62. package/esm2022/article/article-meta/article-meta.directive.mjs +5 -4
  63. package/esm2022/article/article.mjs +7 -0
  64. package/esm2022/article/article.module.mjs +8 -8
  65. package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +8 -6
  66. package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +8 -6
  67. package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +8 -6
  68. package/esm2022/article/examples/article-headings/article-headings.component.mjs +9 -5
  69. package/esm2022/article/examples/article-hr/article-hr.component.mjs +8 -6
  70. package/esm2022/article/examples/article-link/article-link.component.mjs +8 -6
  71. package/esm2022/article/examples/article-meta/article-meta.component.mjs +8 -6
  72. package/esm2022/article/examples/article-ol/article-ol.component.mjs +8 -6
  73. package/esm2022/article/examples/article-table/article-table.component.mjs +8 -6
  74. package/esm2022/article/examples/article-ul/article-ul.component.mjs +8 -6
  75. package/esm2022/article/public_api.mjs +3 -2
  76. package/esm2022/atoms/form/checkbox/checkbox.component.mjs +4 -4
  77. package/esm2022/atoms/form/checkbox/checkbox.module.mjs +5 -5
  78. package/esm2022/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +4 -4
  79. package/esm2022/atoms/form/checkbox-set/checkbox-set.component.mjs +4 -4
  80. package/esm2022/atoms/form/error-message/error-message.component.mjs +4 -4
  81. package/esm2022/atoms/form/error-message/error-message.module.mjs +5 -5
  82. package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +4 -4
  83. package/esm2022/atoms/form/form-field/form-field.module.mjs +5 -5
  84. package/esm2022/atoms/form/form-label/form-label.directive.mjs +4 -4
  85. package/esm2022/atoms/form/form-label/form-label.module.mjs +5 -5
  86. package/esm2022/atoms/form/input/input.component.mjs +4 -4
  87. package/esm2022/atoms/form/input/input.module.mjs +5 -5
  88. package/esm2022/atoms/form/native-select/native-select.component.mjs +4 -4
  89. package/esm2022/atoms/form/native-select/native-select.module.mjs +5 -5
  90. package/esm2022/atoms/form/quantity-field/quantity-field.component.mjs +4 -4
  91. package/esm2022/atoms/form/quantity-field/quantity-field.module.mjs +5 -5
  92. package/esm2022/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +4 -4
  93. package/esm2022/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +4 -4
  94. package/esm2022/atoms/form/radio/cva/radio-cva.directive.mjs +4 -4
  95. package/esm2022/atoms/form/radio/radio.component.mjs +4 -4
  96. package/esm2022/atoms/form/radio/radio.module.mjs +5 -5
  97. package/esm2022/atoms/form/radio/registry/radio-registry.mjs +4 -4
  98. package/esm2022/atoms/form/radio-set/radio-set.component.mjs +4 -4
  99. package/esm2022/breadcrumb/breadcrumb/breadcrumb.component.mjs +4 -4
  100. package/esm2022/breadcrumb/breadcrumb-item/breadcrumb-item.directive.mjs +4 -4
  101. package/esm2022/breadcrumb/breadcrumb.module.mjs +5 -5
  102. package/esm2022/breadcrumb/examples/basic-breadcrumb/basic-breadcrumb.component.mjs +4 -4
  103. package/esm2022/button/button/button-sizable.directive.mjs +4 -4
  104. package/esm2022/button/button/button.component.mjs +13 -8
  105. package/esm2022/button/button.mjs +7 -0
  106. package/esm2022/button/button.module.mjs +8 -14
  107. package/esm2022/button/examples/basic-button/basic-button.component.mjs +6 -8
  108. package/esm2022/button/examples/flat-button/flat-button.component.mjs +6 -8
  109. package/esm2022/button/examples/icon-button/icon-button.component.mjs +10 -6
  110. package/esm2022/button/examples/raised-button/raised-button.component.mjs +6 -8
  111. package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +10 -6
  112. package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +10 -6
  113. package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +6 -8
  114. package/esm2022/button/examples/underline-button/underline-button.component.mjs +6 -8
  115. package/esm2022/button/public_api.mjs +3 -2
  116. package/esm2022/callout/callout/callout.component.mjs +6 -6
  117. package/esm2022/callout/callout-body/callout-body.directive.mjs +5 -4
  118. package/esm2022/callout/callout-icon/callout-icon.directive.mjs +5 -4
  119. package/esm2022/callout/callout-subtitle/callout-subtitle.directive.mjs +5 -4
  120. package/esm2022/callout/callout-tagline/callout-tagline.directive.mjs +5 -4
  121. package/esm2022/callout/callout-title/callout-title.directive.mjs +5 -4
  122. package/esm2022/callout/callout.mjs +15 -0
  123. package/esm2022/callout/callout.module.mjs +8 -8
  124. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +12 -11
  125. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +10 -9
  126. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +11 -10
  127. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +11 -10
  128. package/esm2022/callout/public_api.mjs +2 -1
  129. package/esm2022/card/card/card.component.mjs +5 -5
  130. package/esm2022/card/card-actions/card-actions.directive.mjs +5 -4
  131. package/esm2022/card/card-content/card-content.directive.mjs +5 -4
  132. package/esm2022/card/card-icon/card-icon.directive.mjs +5 -4
  133. package/esm2022/card/card-image/card-image.directive.mjs +5 -4
  134. package/esm2022/card/card-tagline/card-tagline.directive.mjs +5 -4
  135. package/esm2022/card/card-title/card-title.directive.mjs +5 -4
  136. package/esm2022/card/card.mjs +17 -0
  137. package/esm2022/card/card.module.mjs +10 -8
  138. package/esm2022/card/examples/basic-card/basic-card.component.mjs +11 -10
  139. package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +12 -11
  140. package/esm2022/card/examples/card-theming/card-theming.component.mjs +6 -6
  141. package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +8 -8
  142. package/esm2022/card/examples/raised-card/raised-card.component.mjs +8 -8
  143. package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +8 -8
  144. package/esm2022/card/public_api.mjs +2 -1
  145. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +6 -6
  146. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +6 -6
  147. package/esm2022/container/container/container.component.mjs +5 -5
  148. package/esm2022/container/container.mjs +5 -0
  149. package/esm2022/container/container.module.mjs +9 -7
  150. package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +6 -6
  151. package/esm2022/container/public_api.mjs +2 -1
  152. package/esm2022/core/article-encapsulated/article-encapsulated.directive.mjs +4 -4
  153. package/esm2022/core/breakpoints/noop.service.mjs +4 -4
  154. package/esm2022/core/colorable/colorable.directive.mjs +4 -4
  155. package/esm2022/core/compactable/compactable.directive.mjs +4 -4
  156. package/esm2022/core/focus/stack.service.mjs +4 -4
  157. package/esm2022/core/manage-container-layout/manage-container-layout.directive.mjs +4 -4
  158. package/esm2022/core/openable/openable.directive.mjs +122 -0
  159. package/esm2022/core/openable/openable.mjs +2 -0
  160. package/esm2022/core/openable/public_api.mjs +2 -0
  161. package/esm2022/core/openable/utils/state-error.mjs +2 -0
  162. package/esm2022/core/prefix-suffix/prefix-suffix.module.mjs +5 -5
  163. package/esm2022/core/prefix-suffix/prefix.directive.mjs +4 -4
  164. package/esm2022/core/prefix-suffix/prefixable/prefixable.mjs +4 -4
  165. package/esm2022/core/prefix-suffix/suffix.directive.mjs +4 -4
  166. package/esm2022/core/prefix-suffix/suffixable/suffixable.mjs +4 -4
  167. package/esm2022/core/public_api.mjs +2 -1
  168. package/esm2022/core/sizable/sizable.directive.mjs +4 -4
  169. package/esm2022/core/skeletonable/skeletonable.directive.mjs +4 -4
  170. package/esm2022/core/statusable/statusable.directive.mjs +4 -4
  171. package/esm2022/core/text-alignable/text-alignable.directive.mjs +4 -4
  172. package/esm2022/core/theming/functions/computer.mjs +1 -1
  173. package/esm2022/core/theming/services/class-setter/theme-class-setter.service.mjs +4 -4
  174. package/esm2022/core/theming/services/os-theme/ostheme.service.mjs +4 -4
  175. package/esm2022/core/theming/services/storage/theme-storage.service.mjs +4 -4
  176. package/esm2022/core/theming/services/theming.service.mjs +4 -4
  177. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +9 -8
  178. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +12 -11
  179. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +10 -9
  180. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +11 -10
  181. package/esm2022/hero/hero/hero.component.mjs +6 -9
  182. package/esm2022/hero/hero-body/hero-body.directive.mjs +5 -4
  183. package/esm2022/hero/hero-icon/hero-icon.directive.mjs +5 -4
  184. package/esm2022/hero/hero-subtitle/hero-subtitle.directive.mjs +5 -4
  185. package/esm2022/hero/hero-tagline/hero-tagline.directive.mjs +5 -4
  186. package/esm2022/hero/hero-title/hero-title.directive.mjs +5 -4
  187. package/esm2022/hero/hero.mjs +15 -0
  188. package/esm2022/hero/hero.module.mjs +10 -8
  189. package/esm2022/hero/public_api.mjs +2 -1
  190. package/esm2022/image/examples/basic-image/basic-image.component.mjs +8 -6
  191. package/esm2022/image/examples/load-image/load-image.component.mjs +9 -6
  192. package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +8 -6
  193. package/esm2022/image/image/image.component.mjs +5 -5
  194. package/esm2022/image/image.mjs +5 -0
  195. package/esm2022/image/image.module.mjs +10 -8
  196. package/esm2022/image/public_api.mjs +2 -1
  197. package/esm2022/input/examples/basic-input/basic-input.component.mjs +4 -4
  198. package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +4 -4
  199. package/esm2022/input/examples/input-error/input-error.component.mjs +4 -4
  200. package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +4 -4
  201. package/esm2022/link-set/link-set/link-set.component.mjs +5 -5
  202. package/esm2022/link-set/link-set-heading/link-set-heading.directive.mjs +5 -4
  203. package/esm2022/link-set/link-set-item/link-set-item.component.mjs +5 -4
  204. package/esm2022/link-set/link-set-subheading/link-set-subheading.directive.mjs +5 -4
  205. package/esm2022/link-set/link-set.mjs +11 -0
  206. package/esm2022/link-set/link-set.module.mjs +11 -9
  207. package/esm2022/link-set/public_api.mjs +2 -1
  208. package/esm2022/list/examples/basic-list/basic-list.component.mjs +9 -6
  209. package/esm2022/list/examples/icon-list/icon-list.component.mjs +6 -8
  210. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +9 -6
  211. package/esm2022/list/examples/nav-list/nav-list.component.mjs +6 -8
  212. package/esm2022/list/list/list.component.mjs +5 -5
  213. package/esm2022/list/list-item/list-item.component.mjs +10 -7
  214. package/esm2022/list/list.mjs +9 -0
  215. package/esm2022/list/list.module.mjs +11 -11
  216. package/esm2022/list/public_api.mjs +2 -1
  217. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +6 -6
  218. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +8 -6
  219. package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +5 -5
  220. package/esm2022/loading-icon/loading-icon.mjs +5 -0
  221. package/esm2022/loading-icon/loading-icon.module.mjs +9 -7
  222. package/esm2022/loading-icon/public_api.mjs +2 -1
  223. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +10 -7
  224. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +10 -7
  225. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +10 -7
  226. package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +11 -7
  227. package/esm2022/media-gallery/media-gallery.mjs +9 -0
  228. package/esm2022/media-gallery/media-gallery.module.mjs +14 -12
  229. package/esm2022/media-gallery/media-renderer/media-renderer.component.mjs +5 -4
  230. package/esm2022/media-gallery/public_api.mjs +2 -1
  231. package/esm2022/media-gallery/registry/media-gallery.registry.mjs +4 -4
  232. package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +5 -4
  233. package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +11 -7
  234. package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +8 -5
  235. package/esm2022/menu/menu/menu.component.mjs +8 -5
  236. package/esm2022/menu/menu-activator/menu-activator.component.mjs +5 -4
  237. package/esm2022/menu/menu-item/menu-item.component.mjs +10 -7
  238. package/esm2022/menu/menu.module.mjs +11 -10
  239. package/esm2022/menu/services/menu.service.mjs +10 -9
  240. package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +15 -7
  241. package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +11 -7
  242. package/esm2022/modal/modal/modal.component.mjs +48 -22
  243. package/esm2022/modal/modal-actions/modal-actions.component.mjs +5 -4
  244. package/esm2022/modal/modal-close/modal-close.directive.mjs +5 -4
  245. package/esm2022/modal/modal-content/modal-content.component.mjs +5 -4
  246. package/esm2022/modal/modal-header/modal-header.component.mjs +16 -9
  247. package/esm2022/modal/modal-title/modal-title.directive.mjs +5 -4
  248. package/esm2022/modal/modal.mjs +13 -0
  249. package/esm2022/modal/modal.module.mjs +20 -14
  250. package/esm2022/modal/public_api.mjs +2 -1
  251. package/esm2022/modal/service/modal.service.mjs +10 -8
  252. package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +11 -7
  253. package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +11 -10
  254. package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +10 -9
  255. package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +11 -7
  256. package/esm2022/navbar/navbar/navbar.component.mjs +5 -8
  257. package/esm2022/navbar/navbar.mjs +5 -0
  258. package/esm2022/navbar/navbar.module.mjs +12 -6
  259. package/esm2022/navbar/public_api.mjs +2 -1
  260. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +8 -8
  261. package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +6 -6
  262. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +8 -8
  263. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +8 -8
  264. package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +8 -8
  265. package/esm2022/notification/notification/notification.component.mjs +12 -8
  266. package/esm2022/notification/notification-actions/notification-actions.directive.mjs +5 -4
  267. package/esm2022/notification/notification-message/notification-message.directive.mjs +5 -4
  268. package/esm2022/notification/notification-subtitle/notification-subtitle.directive.mjs +5 -4
  269. package/esm2022/notification/notification-title/notification-title.directive.mjs +5 -4
  270. package/esm2022/notification/notification.mjs +15 -0
  271. package/esm2022/notification/notification.module.mjs +14 -11
  272. package/esm2022/notification/public_api.mjs +2 -1
  273. package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +6 -6
  274. package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +6 -6
  275. package/esm2022/paginator/paginator/paginator.component.mjs +14 -11
  276. package/esm2022/paginator/paginator.mjs +5 -0
  277. package/esm2022/paginator/paginator.module.mjs +12 -9
  278. package/esm2022/paginator/public_api.mjs +2 -1
  279. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +8 -6
  280. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +8 -6
  281. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +9 -6
  282. package/esm2022/progress-bar/progress-bar-label/progress-bar-label.directive.mjs +20 -0
  283. package/esm2022/progress-bar/progress-bar.component.mjs +7 -5
  284. package/esm2022/progress-bar/progress-bar.mjs +7 -0
  285. package/esm2022/progress-bar/progress-bar.module.mjs +14 -7
  286. package/esm2022/progress-bar/public_api.mjs +3 -1
  287. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +4 -4
  288. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +4 -4
  289. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +4 -4
  290. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +4 -4
  291. package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +4 -4
  292. package/esm2022/sidebar/animation/sidebar-animation-state.mjs +1 -1
  293. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +8 -6
  294. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +11 -10
  295. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +7 -7
  296. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +8 -6
  297. package/esm2022/sidebar/public_api.mjs +2 -1
  298. package/esm2022/sidebar/service/sidebar.service.mjs +1 -1
  299. package/esm2022/sidebar/sidebar/is-opening.mjs +1 -1
  300. package/esm2022/sidebar/sidebar/sidebar.component.mjs +36 -16
  301. package/esm2022/sidebar/sidebar-footer/sidebar-footer.component.mjs +5 -5
  302. package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs +5 -4
  303. package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs +5 -4
  304. package/esm2022/sidebar/sidebar-header/sidebar-header.component.mjs +5 -5
  305. package/esm2022/sidebar/sidebar-viewport/helper/has-parent-viewport.mjs +1 -1
  306. package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +24 -40
  307. package/esm2022/sidebar/sidebar-viewport/utils/content-pad.mjs +6 -6
  308. package/esm2022/sidebar/sidebar-viewport/utils/content-shift.mjs +1 -1
  309. package/esm2022/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.mjs +5 -5
  310. package/esm2022/sidebar/sidebar.mjs +17 -0
  311. package/esm2022/sidebar/sidebar.module.mjs +11 -9
  312. package/esm2022/toast/examples/default-toast/default-toast.component.mjs +9 -6
  313. package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +11 -7
  314. package/esm2022/toast/examples/toast-status/toast-status.component.mjs +14 -9
  315. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +9 -6
  316. package/esm2022/toast/public_api.mjs +2 -1
  317. package/esm2022/toast/service/position-strategy.mjs +1 -1
  318. package/esm2022/toast/service/position.service.mjs +4 -4
  319. package/esm2022/toast/service/toast.service.mjs +10 -11
  320. package/esm2022/toast/toast/toast-provider.mjs +7 -0
  321. package/esm2022/toast/toast/toast-template.component.mjs +32 -14
  322. package/esm2022/toast/toast/toast.component.mjs +8 -11
  323. package/esm2022/toast/toast-actions/toast-actions.directive.mjs +5 -4
  324. package/esm2022/toast/toast-message/toast-message.directive.mjs +5 -4
  325. package/esm2022/toast/toast-title/toast-title.directive.mjs +5 -4
  326. package/esm2022/toast/toast.module.mjs +13 -14
  327. package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +9 -6
  328. package/esm2022/tree/examples/deep-tree/deep-tree.component.mjs +54 -0
  329. package/esm2022/tree/examples/public_api.mjs +4 -2
  330. package/esm2022/tree/public_api.mjs +2 -2
  331. package/esm2022/tree/tree/tree.component.mjs +10 -7
  332. package/esm2022/tree/tree-item/tree-item.directive.mjs +5 -4
  333. package/esm2022/tree/tree.mjs +7 -0
  334. package/esm2022/tree/tree.module.mjs +12 -10
  335. package/esm2022/tree/utils/flatten-tree.mjs +7 -3
  336. package/esm2022/tree/utils/transform.mjs +1 -1
  337. package/esm2022/tree/utils/traverse-tree.mjs +1 -1
  338. package/fesm2022/daffodil-design-accordion-examples.mjs +9 -28
  339. package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -1
  340. package/fesm2022/daffodil-design-accordion.mjs +59 -45
  341. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  342. package/fesm2022/daffodil-design-article-examples.mjs +61 -41
  343. package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
  344. package/fesm2022/daffodil-design-article.mjs +22 -16
  345. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  346. package/fesm2022/daffodil-design-breadcrumb-examples.mjs +3 -3
  347. package/fesm2022/daffodil-design-breadcrumb-examples.mjs.map +1 -1
  348. package/fesm2022/daffodil-design-breadcrumb.mjs +10 -10
  349. package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
  350. package/fesm2022/daffodil-design-button-examples.mjs +43 -40
  351. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
  352. package/fesm2022/daffodil-design-button.mjs +29 -26
  353. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  354. package/fesm2022/daffodil-design-callout-examples.mjs +28 -27
  355. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  356. package/fesm2022/daffodil-design-callout.mjs +42 -28
  357. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  358. package/fesm2022/daffodil-design-card-examples.mjs +35 -34
  359. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
  360. package/fesm2022/daffodil-design-card.mjs +48 -30
  361. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  362. package/fesm2022/daffodil-design-checkbox-examples.mjs +9 -9
  363. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
  364. package/fesm2022/daffodil-design-container-examples.mjs +5 -5
  365. package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
  366. package/fesm2022/daffodil-design-container.mjs +17 -11
  367. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  368. package/fesm2022/daffodil-design-hero-examples.mjs +27 -26
  369. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  370. package/fesm2022/daffodil-design-hero.mjs +44 -31
  371. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  372. package/fesm2022/daffodil-design-image-examples.mjs +20 -13
  373. package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
  374. package/fesm2022/daffodil-design-image.mjs +18 -12
  375. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  376. package/fesm2022/daffodil-design-input-examples.mjs +12 -12
  377. package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
  378. package/fesm2022/daffodil-design-link-set.mjs +34 -22
  379. package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
  380. package/fesm2022/daffodil-design-list-examples.mjs +22 -21
  381. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
  382. package/fesm2022/daffodil-design-list.mjs +29 -21
  383. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  384. package/fesm2022/daffodil-design-loading-icon-examples.mjs +11 -9
  385. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
  386. package/fesm2022/daffodil-design-loading-icon.mjs +17 -11
  387. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
  388. package/fesm2022/daffodil-design-media-gallery-examples.mjs +23 -14
  389. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
  390. package/fesm2022/daffodil-design-media-gallery.mjs +80 -67
  391. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  392. package/fesm2022/daffodil-design-menu-examples.mjs +16 -9
  393. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
  394. package/fesm2022/daffodil-design-menu.mjs +64 -57
  395. package/fesm2022/daffodil-design-menu.mjs.map +1 -1
  396. package/fesm2022/daffodil-design-modal-examples.mjs +21 -10
  397. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
  398. package/fesm2022/daffodil-design-modal.mjs +113 -66
  399. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  400. package/fesm2022/daffodil-design-navbar-examples.mjs +30 -23
  401. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
  402. package/fesm2022/daffodil-design-navbar.mjs +20 -13
  403. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  404. package/fesm2022/daffodil-design-notification-examples.mjs +26 -26
  405. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  406. package/fesm2022/daffodil-design-notification.mjs +50 -32
  407. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  408. package/fesm2022/daffodil-design-paginator-examples.mjs +9 -9
  409. package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
  410. package/fesm2022/daffodil-design-paginator.mjs +28 -21
  411. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  412. package/fesm2022/daffodil-design-progress-bar-examples.mjs +20 -13
  413. package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
  414. package/fesm2022/daffodil-design-progress-bar.mjs +43 -13
  415. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  416. package/fesm2022/daffodil-design-quantity-field-examples.mjs +12 -12
  417. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
  418. package/fesm2022/daffodil-design-radio-examples.mjs +3 -3
  419. package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -1
  420. package/fesm2022/daffodil-design-sidebar-examples.mjs +27 -22
  421. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
  422. package/fesm2022/daffodil-design-sidebar.mjs +102 -84
  423. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  424. package/fesm2022/daffodil-design-toast-examples.mjs +32 -20
  425. package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
  426. package/fesm2022/daffodil-design-toast.mjs +156 -137
  427. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  428. package/fesm2022/daffodil-design-tree-examples.mjs +59 -6
  429. package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
  430. package/fesm2022/daffodil-design-tree.mjs +36 -44
  431. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  432. package/fesm2022/daffodil-design.mjs +258 -137
  433. package/fesm2022/daffodil-design.mjs.map +1 -1
  434. package/hero/README.md +41 -0
  435. package/hero/hero/hero.component.d.ts +1 -4
  436. package/hero/hero-body/hero-body.directive.d.ts +1 -1
  437. package/hero/hero-icon/hero-icon.directive.d.ts +1 -1
  438. package/hero/hero-subtitle/hero-subtitle.directive.d.ts +1 -1
  439. package/hero/hero-tagline/hero-tagline.directive.d.ts +1 -1
  440. package/hero/hero-title/hero-title.directive.d.ts +1 -1
  441. package/hero/hero.d.ts +7 -0
  442. package/hero/hero.module.d.ts +11 -8
  443. package/hero/public_api.d.ts +1 -0
  444. package/image/README.md +43 -7
  445. package/image/image/image.component.d.ts +1 -1
  446. package/image/image.d.ts +2 -0
  447. package/image/image.module.d.ts +6 -3
  448. package/image/public_api.d.ts +1 -0
  449. package/link-set/README.md +42 -1
  450. package/link-set/link-set/link-set.component.d.ts +1 -1
  451. package/link-set/link-set-heading/link-set-heading.directive.d.ts +1 -1
  452. package/link-set/link-set-item/link-set-item.component.d.ts +1 -1
  453. package/link-set/link-set-subheading/link-set-subheading.directive.d.ts +1 -1
  454. package/link-set/link-set.d.ts +5 -0
  455. package/link-set/link-set.module.d.ts +9 -6
  456. package/link-set/public_api.d.ts +1 -0
  457. package/list/README.md +42 -1
  458. package/list/list/list.component.d.ts +1 -1
  459. package/list/list-item/list-item.component.d.ts +1 -1
  460. package/list/list.d.ts +4 -0
  461. package/list/list.module.d.ts +7 -4
  462. package/list/public_api.d.ts +1 -0
  463. package/loading-icon/README.md +41 -0
  464. package/loading-icon/loading-icon/loading-icon.component.d.ts +1 -1
  465. package/loading-icon/loading-icon.d.ts +2 -0
  466. package/loading-icon/loading-icon.module.d.ts +6 -3
  467. package/loading-icon/public_api.d.ts +1 -0
  468. package/media-gallery/README.md +41 -0
  469. package/media-gallery/media-gallery/media-gallery.component.d.ts +1 -1
  470. package/media-gallery/media-gallery.d.ts +4 -0
  471. package/media-gallery/media-gallery.module.d.ts +8 -5
  472. package/media-gallery/media-renderer/media-renderer.component.d.ts +1 -1
  473. package/media-gallery/public_api.d.ts +1 -0
  474. package/media-gallery/thumbnail/thumbnail.directive.d.ts +1 -1
  475. package/menu/README.md +23 -0
  476. package/menu/menu/menu.component.d.ts +1 -1
  477. package/menu/menu-activator/menu-activator.component.d.ts +1 -1
  478. package/menu/menu-item/menu-item.component.d.ts +1 -1
  479. package/menu/menu.module.d.ts +6 -6
  480. package/menu/services/menu.service.d.ts +3 -2
  481. package/modal/README.md +41 -0
  482. package/modal/modal/modal.component.d.ts +20 -8
  483. package/modal/modal-actions/modal-actions.component.d.ts +1 -1
  484. package/modal/modal-close/modal-close.directive.d.ts +1 -1
  485. package/modal/modal-content/modal-content.component.d.ts +1 -1
  486. package/modal/modal-header/modal-header.component.d.ts +1 -1
  487. package/modal/modal-title/modal-title.directive.d.ts +1 -1
  488. package/modal/modal.d.ts +6 -0
  489. package/modal/modal.module.d.ts +15 -12
  490. package/modal/public_api.d.ts +1 -0
  491. package/navbar/README.md +41 -0
  492. package/navbar/navbar/navbar.component.d.ts +1 -4
  493. package/navbar/navbar.d.ts +2 -0
  494. package/navbar/navbar.module.d.ts +6 -2
  495. package/navbar/public_api.d.ts +1 -0
  496. package/notification/README.md +41 -0
  497. package/notification/notification/notification.component.d.ts +1 -1
  498. package/notification/notification-actions/notification-actions.directive.d.ts +1 -1
  499. package/notification/notification-message/notification-message.directive.d.ts +1 -1
  500. package/notification/notification-subtitle/notification-subtitle.directive.d.ts +1 -1
  501. package/notification/notification-title/notification-title.directive.d.ts +1 -1
  502. package/notification/notification.d.ts +7 -0
  503. package/notification/notification.module.d.ts +12 -9
  504. package/notification/public_api.d.ts +1 -0
  505. package/package.json +1 -1
  506. package/paginator/README.md +45 -4
  507. package/paginator/paginator/paginator.component.d.ts +1 -4
  508. package/paginator/paginator.d.ts +2 -0
  509. package/paginator/paginator.module.d.ts +8 -5
  510. package/paginator/public_api.d.ts +1 -0
  511. package/progress-bar/README.md +41 -0
  512. package/progress-bar/progress-bar-label/progress-bar-label.directive.d.ts +6 -0
  513. package/progress-bar/progress-bar.component.d.ts +1 -1
  514. package/progress-bar/progress-bar.d.ts +3 -0
  515. package/progress-bar/progress-bar.module.d.ts +7 -3
  516. package/progress-bar/public_api.d.ts +2 -0
  517. package/sidebar/README.md +78 -20
  518. package/sidebar/public_api.d.ts +1 -0
  519. package/sidebar/sidebar/sidebar.component.d.ts +19 -8
  520. package/sidebar/sidebar-footer/sidebar-footer.component.d.ts +1 -1
  521. package/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.d.ts +1 -1
  522. package/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.d.ts +1 -1
  523. package/sidebar/sidebar-header/sidebar-header.component.d.ts +1 -1
  524. package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +5 -17
  525. package/sidebar/sidebar-viewport/utils/content-pad.d.ts +2 -2
  526. package/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.d.ts +1 -1
  527. package/sidebar/sidebar.d.ts +8 -0
  528. package/sidebar/sidebar.module.d.ts +13 -10
  529. package/toast/README.md +108 -33
  530. package/toast/public_api.d.ts +1 -0
  531. package/toast/service/toast.service.d.ts +4 -3
  532. package/toast/src/toast-theme.scss +1 -1
  533. package/toast/toast/toast-provider.d.ts +2 -0
  534. package/toast/toast/toast-template.component.d.ts +1 -1
  535. package/toast/toast/toast.component.d.ts +1 -3
  536. package/toast/toast-actions/toast-actions.directive.d.ts +1 -1
  537. package/toast/toast-message/toast-message.directive.d.ts +1 -1
  538. package/toast/toast-title/toast-title.directive.d.ts +1 -1
  539. package/toast/toast.module.d.ts +14 -12
  540. package/tree/README.md +41 -0
  541. package/tree/examples/deep-tree/deep-tree.component.d.ts +7 -0
  542. package/tree/examples/public_api.d.ts +2 -1
  543. package/tree/public_api.d.ts +1 -2
  544. package/tree/tree/tree.component.d.ts +1 -1
  545. package/tree/tree-item/tree-item.directive.d.ts +1 -1
  546. package/tree/tree.d.ts +3 -0
  547. package/tree/tree.module.d.ts +7 -4
  548. package/tree/utils/transform.d.ts +1 -1
  549. package/tree/utils/traverse-tree.d.ts +1 -1
  550. package/accordion/examples/accordion-examples.module.d.ts +0 -9
  551. package/esm2022/accordion/examples/accordion-examples.module.mjs +0 -26
  552. package/esm2022/tree/utils/transform-in-place.mjs +0 -23
  553. package/tree/utils/transform-in-place.d.ts +0 -15
@@ -4,9 +4,6 @@ import { Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, Dir
4
4
  import * as i1 from '@daffodil/design';
5
5
  import { DaffArticleEncapsulatedDirective, DaffManageContainerLayoutDirective, DaffTextAlignableDirective, DaffCompactableDirective, DaffColorableDirective } from '@daffodil/design';
6
6
 
7
- /**
8
- * @inheritdoc
9
- */
10
7
  class DaffHeroComponent {
11
8
  constructor(textAlignable) {
12
9
  this.textAlignable = textAlignable;
@@ -16,12 +13,12 @@ class DaffHeroComponent {
16
13
  this.class = true;
17
14
  this.textAlignable.defaultAlignment = 'left';
18
15
  }
19
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroComponent, deps: [{ token: i1.DaffTextAlignableDirective }], target: i0.ɵɵFactoryTarget.Component }); }
20
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffHeroComponent, selector: "daff-hero", host: { properties: { "class.daff-hero": "this.class" } }, hostDirectives: [{ directive: i1.DaffArticleEncapsulatedDirective }, { directive: i1.DaffManageContainerLayoutDirective }, { directive: i1.DaffTextAlignableDirective, inputs: ["textAlignment", "textAlignment"] }, { directive: i1.DaffCompactableDirective, inputs: ["compact", "compact"] }, { directive: i1.DaffColorableDirective, inputs: ["color", "color"] }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".daff-hero{display:block;padding:64px 24px}@media (min-width: 480px){.daff-hero{padding:96px 48px}}.daff-hero__icon{margin:0 0 16px}.daff-hero__tagline{font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;text-transform:uppercase;margin:0 0 8px;padding:0}.daff-hero__title{font-weight:700;font-size:2.5rem;line-height:2.5rem;margin:0;max-width:1040px;width:100%}@media (min-width: 768px){.daff-hero__title{font-size:4.5rem;line-height:4.5rem}}.daff-hero__subtitle{font-size:1.25rem;font-weight:400;line-height:1.75rem;margin:16px 0 0;max-width:672px;width:100%}@media (min-width: 768px){.daff-hero__subtitle{font-size:1.5rem;font-weight:400;line-height:2rem}}.daff-hero__subtitle p:first-of-type{margin-top:0}.daff-hero__subtitle p:last-of-type{margin-bottom:0}.daff-hero__body:not(:last-child){margin-bottom:48px}.daff-hero__body:not(:first-child){margin-top:48px}.daff-hero.daff-compact{padding:48px 24px}@media (min-width: 480px){.daff-hero.daff-compact{padding:48px}}.daff-hero.daff-left .daff-hero__icon,.daff-hero.daff-left .daff-hero__tagline,.daff-hero.daff-left .daff-hero__title,.daff-hero.daff-left .daff-hero__subtitle{text-align:left}.daff-hero.daff-center .daff-hero__icon,.daff-hero.daff-center .daff-hero__tagline,.daff-hero.daff-center .daff-hero__title,.daff-hero.daff-center .daff-hero__subtitle{margin-left:auto;margin-right:auto;text-align:center}.daff-hero.daff-right .daff-hero__icon,.daff-hero.daff-right .daff-hero__tagline,.daff-hero.daff-right .daff-hero__title,.daff-hero.daff-right .daff-hero__subtitle{margin-left:auto;text-align:right}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
16
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroComponent, deps: [{ token: i1.DaffTextAlignableDirective }], target: i0.ɵɵFactoryTarget.Component }); }
17
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffHeroComponent, isStandalone: true, selector: "daff-hero", host: { properties: { "class.daff-hero": "this.class" } }, hostDirectives: [{ directive: i1.DaffArticleEncapsulatedDirective }, { directive: i1.DaffManageContainerLayoutDirective }, { directive: i1.DaffTextAlignableDirective, inputs: ["textAlignment", "textAlignment"] }, { directive: i1.DaffCompactableDirective, inputs: ["compact", "compact"] }, { directive: i1.DaffColorableDirective, inputs: ["color", "color"] }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".daff-hero{display:block;padding:64px 24px}@media (min-width: 480px){.daff-hero{padding:96px 48px}}.daff-hero__icon{margin:0 0 16px}.daff-hero__tagline{font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;text-transform:uppercase;margin:0 0 8px;padding:0}.daff-hero__title{font-weight:700;font-size:2.5rem;line-height:2.5rem;margin:0;max-width:1040px;width:100%}@media (min-width: 768px){.daff-hero__title{font-size:4.5rem;line-height:4.5rem}}.daff-hero__subtitle{font-size:1.25rem;font-weight:400;line-height:1.75rem;margin:16px 0 0;max-width:672px;width:100%}@media (min-width: 768px){.daff-hero__subtitle{font-size:1.5rem;font-weight:400;line-height:2rem}}.daff-hero__subtitle p:first-of-type{margin-top:0}.daff-hero__subtitle p:last-of-type{margin-bottom:0}.daff-hero__body:not(:last-child){margin-bottom:48px}.daff-hero__body:not(:first-child){margin-top:48px}.daff-hero.daff-compact{padding:48px 24px}@media (min-width: 480px){.daff-hero.daff-compact{padding:48px}}.daff-hero.daff-left .daff-hero__icon,.daff-hero.daff-left .daff-hero__tagline,.daff-hero.daff-left .daff-hero__title,.daff-hero.daff-left .daff-hero__subtitle{text-align:left}.daff-hero.daff-center .daff-hero__icon,.daff-hero.daff-center .daff-hero__tagline,.daff-hero.daff-center .daff-hero__title,.daff-hero.daff-center .daff-hero__subtitle{margin-left:auto;margin-right:auto;text-align:center}.daff-hero.daff-right .daff-hero__icon,.daff-hero.daff-right .daff-hero__tagline,.daff-hero.daff-right .daff-hero__title,.daff-hero.daff-right .daff-hero__subtitle{margin-left:auto;text-align:right}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
21
18
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroComponent, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroComponent, decorators: [{
23
20
  type: Component,
24
- args: [{ selector: 'daff-hero', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, hostDirectives: [
21
+ args: [{ selector: 'daff-hero', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
25
22
  { directive: DaffArticleEncapsulatedDirective },
26
23
  { directive: DaffManageContainerLayoutDirective },
27
24
  {
@@ -36,7 +33,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
36
33
  directive: DaffColorableDirective,
37
34
  inputs: ['color'],
38
35
  },
39
- ], changeDetection: ChangeDetectionStrategy.OnPush, styles: [".daff-hero{display:block;padding:64px 24px}@media (min-width: 480px){.daff-hero{padding:96px 48px}}.daff-hero__icon{margin:0 0 16px}.daff-hero__tagline{font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;text-transform:uppercase;margin:0 0 8px;padding:0}.daff-hero__title{font-weight:700;font-size:2.5rem;line-height:2.5rem;margin:0;max-width:1040px;width:100%}@media (min-width: 768px){.daff-hero__title{font-size:4.5rem;line-height:4.5rem}}.daff-hero__subtitle{font-size:1.25rem;font-weight:400;line-height:1.75rem;margin:16px 0 0;max-width:672px;width:100%}@media (min-width: 768px){.daff-hero__subtitle{font-size:1.5rem;font-weight:400;line-height:2rem}}.daff-hero__subtitle p:first-of-type{margin-top:0}.daff-hero__subtitle p:last-of-type{margin-bottom:0}.daff-hero__body:not(:last-child){margin-bottom:48px}.daff-hero__body:not(:first-child){margin-top:48px}.daff-hero.daff-compact{padding:48px 24px}@media (min-width: 480px){.daff-hero.daff-compact{padding:48px}}.daff-hero.daff-left .daff-hero__icon,.daff-hero.daff-left .daff-hero__tagline,.daff-hero.daff-left .daff-hero__title,.daff-hero.daff-left .daff-hero__subtitle{text-align:left}.daff-hero.daff-center .daff-hero__icon,.daff-hero.daff-center .daff-hero__tagline,.daff-hero.daff-center .daff-hero__title,.daff-hero.daff-center .daff-hero__subtitle{margin-left:auto;margin-right:auto;text-align:center}.daff-hero.daff-right .daff-hero__icon,.daff-hero.daff-right .daff-hero__tagline,.daff-hero.daff-right .daff-hero__title,.daff-hero.daff-right .daff-hero__subtitle{margin-left:auto;text-align:right}\n"] }]
36
+ ], standalone: true, styles: [".daff-hero{display:block;padding:64px 24px}@media (min-width: 480px){.daff-hero{padding:96px 48px}}.daff-hero__icon{margin:0 0 16px}.daff-hero__tagline{font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;text-transform:uppercase;margin:0 0 8px;padding:0}.daff-hero__title{font-weight:700;font-size:2.5rem;line-height:2.5rem;margin:0;max-width:1040px;width:100%}@media (min-width: 768px){.daff-hero__title{font-size:4.5rem;line-height:4.5rem}}.daff-hero__subtitle{font-size:1.25rem;font-weight:400;line-height:1.75rem;margin:16px 0 0;max-width:672px;width:100%}@media (min-width: 768px){.daff-hero__subtitle{font-size:1.5rem;font-weight:400;line-height:2rem}}.daff-hero__subtitle p:first-of-type{margin-top:0}.daff-hero__subtitle p:last-of-type{margin-bottom:0}.daff-hero__body:not(:last-child){margin-bottom:48px}.daff-hero__body:not(:first-child){margin-top:48px}.daff-hero.daff-compact{padding:48px 24px}@media (min-width: 480px){.daff-hero.daff-compact{padding:48px}}.daff-hero.daff-left .daff-hero__icon,.daff-hero.daff-left .daff-hero__tagline,.daff-hero.daff-left .daff-hero__title,.daff-hero.daff-left .daff-hero__subtitle{text-align:left}.daff-hero.daff-center .daff-hero__icon,.daff-hero.daff-center .daff-hero__tagline,.daff-hero.daff-center .daff-hero__title,.daff-hero.daff-center .daff-hero__subtitle{margin-left:auto;margin-right:auto;text-align:center}.daff-hero.daff-right .daff-hero__icon,.daff-hero.daff-right .daff-hero__tagline,.daff-hero.daff-right .daff-hero__title,.daff-hero.daff-right .daff-hero__subtitle{margin-left:auto;text-align:right}\n"] }]
40
37
  }], ctorParameters: () => [{ type: i1.DaffTextAlignableDirective }], propDecorators: { class: [{
41
38
  type: HostBinding,
42
39
  args: ['class.daff-hero']
@@ -49,13 +46,14 @@ class DaffHeroBodyDirective {
49
46
  */
50
47
  this.class = true;
51
48
  }
52
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
53
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: DaffHeroBodyDirective, selector: "[daffHeroBody]", host: { properties: { "class.daff-hero__body": "this.class" } }, ngImport: i0 }); }
49
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
50
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffHeroBodyDirective, isStandalone: true, selector: "[daffHeroBody]", host: { properties: { "class.daff-hero__body": "this.class" } }, ngImport: i0 }); }
54
51
  }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroBodyDirective, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroBodyDirective, decorators: [{
56
53
  type: Directive,
57
54
  args: [{
58
55
  selector: '[daffHeroBody]',
56
+ standalone: true,
59
57
  }]
60
58
  }], propDecorators: { class: [{
61
59
  type: HostBinding,
@@ -69,13 +67,14 @@ class DaffHeroIconDirective {
69
67
  */
70
68
  this.class = true;
71
69
  }
72
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
73
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: DaffHeroIconDirective, selector: "[daffHeroIcon]", host: { properties: { "class.daff-hero__icon": "this.class" } }, ngImport: i0 }); }
70
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
71
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffHeroIconDirective, isStandalone: true, selector: "[daffHeroIcon]", host: { properties: { "class.daff-hero__icon": "this.class" } }, ngImport: i0 }); }
74
72
  }
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroIconDirective, decorators: [{
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroIconDirective, decorators: [{
76
74
  type: Directive,
77
75
  args: [{
78
76
  selector: '[daffHeroIcon]',
77
+ standalone: true,
79
78
  }]
80
79
  }], propDecorators: { class: [{
81
80
  type: HostBinding,
@@ -89,13 +88,14 @@ class DaffHeroSubtitleDirective {
89
88
  */
90
89
  this.class = true;
91
90
  }
92
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
93
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: DaffHeroSubtitleDirective, selector: "[daffHeroSubtitle]", host: { properties: { "class.daff-hero__subtitle": "this.class" } }, ngImport: i0 }); }
91
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
92
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffHeroSubtitleDirective, isStandalone: true, selector: "[daffHeroSubtitle]", host: { properties: { "class.daff-hero__subtitle": "this.class" } }, ngImport: i0 }); }
94
93
  }
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroSubtitleDirective, decorators: [{
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroSubtitleDirective, decorators: [{
96
95
  type: Directive,
97
96
  args: [{
98
97
  selector: '[daffHeroSubtitle]',
98
+ standalone: true,
99
99
  }]
100
100
  }], propDecorators: { class: [{
101
101
  type: HostBinding,
@@ -109,13 +109,14 @@ class DaffHeroTaglineDirective {
109
109
  */
110
110
  this.class = true;
111
111
  }
112
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroTaglineDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
113
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: DaffHeroTaglineDirective, selector: "[daffHeroTagline]", host: { properties: { "class.daff-hero__tagline": "this.class" } }, ngImport: i0 }); }
112
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroTaglineDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
113
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffHeroTaglineDirective, isStandalone: true, selector: "[daffHeroTagline]", host: { properties: { "class.daff-hero__tagline": "this.class" } }, ngImport: i0 }); }
114
114
  }
115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroTaglineDirective, decorators: [{
115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroTaglineDirective, decorators: [{
116
116
  type: Directive,
117
117
  args: [{
118
118
  selector: '[daffHeroTagline]',
119
+ standalone: true,
119
120
  }]
120
121
  }], propDecorators: { class: [{
121
122
  type: HostBinding,
@@ -129,41 +130,44 @@ class DaffHeroTitleDirective {
129
130
  */
130
131
  this.class = true;
131
132
  }
132
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
133
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: DaffHeroTitleDirective, selector: "[daffHeroTitle]", host: { properties: { "class.daff-hero__title": "this.class" } }, ngImport: i0 }); }
133
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
134
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffHeroTitleDirective, isStandalone: true, selector: "[daffHeroTitle]", host: { properties: { "class.daff-hero__title": "this.class" } }, ngImport: i0 }); }
134
135
  }
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroTitleDirective, decorators: [{
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroTitleDirective, decorators: [{
136
137
  type: Directive,
137
138
  args: [{
138
139
  selector: '[daffHeroTitle]',
140
+ standalone: true,
139
141
  }]
140
142
  }], propDecorators: { class: [{
141
143
  type: HostBinding,
142
144
  args: ['class.daff-hero__title']
143
145
  }] } });
144
146
 
147
+ /**
148
+ * @deprecated in favor of {@link DAFF_HERO_COMPONENTS}
149
+ * */
145
150
  class DaffHeroModule {
146
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
147
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroModule, declarations: [DaffHeroComponent,
151
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
152
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroModule, imports: [CommonModule,
153
+ DaffHeroComponent,
148
154
  DaffHeroIconDirective,
149
155
  DaffHeroTaglineDirective,
150
156
  DaffHeroTitleDirective,
151
157
  DaffHeroSubtitleDirective,
152
- DaffHeroBodyDirective], imports: [CommonModule], exports: [DaffHeroComponent,
158
+ DaffHeroBodyDirective], exports: [DaffHeroComponent,
153
159
  DaffHeroIconDirective,
154
160
  DaffHeroTaglineDirective,
155
161
  DaffHeroTitleDirective,
156
162
  DaffHeroSubtitleDirective,
157
163
  DaffHeroBodyDirective] }); }
158
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroModule, imports: [CommonModule] }); }
164
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroModule, imports: [CommonModule] }); }
159
165
  }
160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroModule, decorators: [{
166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroModule, decorators: [{
161
167
  type: NgModule,
162
168
  args: [{
163
169
  imports: [
164
170
  CommonModule,
165
- ],
166
- declarations: [
167
171
  DaffHeroComponent,
168
172
  DaffHeroIconDirective,
169
173
  DaffHeroTaglineDirective,
@@ -182,9 +186,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
182
186
  }]
183
187
  }] });
184
188
 
189
+ const DAFF_HERO_COMPONENTS = [
190
+ DaffHeroComponent,
191
+ DaffHeroIconDirective,
192
+ DaffHeroTaglineDirective,
193
+ DaffHeroTitleDirective,
194
+ DaffHeroSubtitleDirective,
195
+ DaffHeroBodyDirective,
196
+ ];
197
+
185
198
  /**
186
199
  * Generated bundle index. Do not edit.
187
200
  */
188
201
 
189
- export { DaffHeroBodyDirective, DaffHeroComponent, DaffHeroIconDirective, DaffHeroModule, DaffHeroSubtitleDirective, DaffHeroTaglineDirective, DaffHeroTitleDirective };
202
+ export { DAFF_HERO_COMPONENTS, DaffHeroBodyDirective, DaffHeroComponent, DaffHeroIconDirective, DaffHeroModule, DaffHeroSubtitleDirective, DaffHeroTaglineDirective, DaffHeroTitleDirective };
190
203
  //# sourceMappingURL=daffodil-design-hero.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-hero.mjs","sources":["../../../libs/design/hero/src/hero/hero.component.ts","../../../libs/design/hero/src/hero-body/hero-body.directive.ts","../../../libs/design/hero/src/hero-icon/hero-icon.directive.ts","../../../libs/design/hero/src/hero-subtitle/hero-subtitle.directive.ts","../../../libs/design/hero/src/hero-tagline/hero-tagline.directive.ts","../../../libs/design/hero/src/hero-title/hero-title.directive.ts","../../../libs/design/hero/src/hero.module.ts","../../../libs/design/hero/src/daffodil-design-hero.ts"],"sourcesContent":["import {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n HostBinding,\n} from '@angular/core';\n\nimport {\n DaffColorableDirective,\n DaffCompactableDirective,\n} from '@daffodil/design';\nimport {\n DaffArticleEncapsulatedDirective,\n DaffManageContainerLayoutDirective,\n DaffTextAlignableDirective,\n} from '@daffodil/design';\n\n/**\n * @inheritdoc\n */\n@Component({\n selector: 'daff-hero',\n template: '<ng-content></ng-content>',\n styleUrls: ['./hero.component.scss'],\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n { directive: DaffArticleEncapsulatedDirective },\n { directive: DaffManageContainerLayoutDirective },\n {\n directive: DaffTextAlignableDirective,\n inputs: ['textAlignment'],\n },\n {\n directive: DaffCompactableDirective,\n inputs: ['compact'],\n },\n {\n directive: DaffColorableDirective,\n inputs: ['color'],\n },\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffHeroComponent {\n constructor(private textAlignable: DaffTextAlignableDirective) {\n this.textAlignable.defaultAlignment = 'left';\n }\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroBody]',\n})\n\nexport class DaffHeroBodyDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__body') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroIcon]',\n})\n\nexport class DaffHeroIconDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__icon') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroSubtitle]',\n})\n\nexport class DaffHeroSubtitleDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__subtitle') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroTagline]',\n})\n\nexport class DaffHeroTaglineDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__tagline') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroTitle]',\n})\n\nexport class DaffHeroTitleDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__title') class = true;\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffHeroComponent } from './hero/hero.component';\nimport { DaffHeroBodyDirective } from './hero-body/hero-body.directive';\nimport { DaffHeroIconDirective } from './hero-icon/hero-icon.directive';\nimport { DaffHeroSubtitleDirective } from './hero-subtitle/hero-subtitle.directive';\nimport { DaffHeroTaglineDirective } from './hero-tagline/hero-tagline.directive';\nimport { DaffHeroTitleDirective } from './hero-title/hero-title.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n declarations: [\n DaffHeroComponent,\n DaffHeroIconDirective,\n DaffHeroTaglineDirective,\n DaffHeroTitleDirective,\n DaffHeroSubtitleDirective,\n DaffHeroBodyDirective,\n ],\n exports: [\n DaffHeroComponent,\n DaffHeroIconDirective,\n DaffHeroTaglineDirective,\n DaffHeroTitleDirective,\n DaffHeroSubtitleDirective,\n DaffHeroBodyDirective,\n ],\n})\nexport class DaffHeroModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAiBA;;AAEG;MAwBU,iBAAiB,CAAA;AAC5B,IAAA,WAAA,CAAoB,aAAyC,EAAA;QAAzC,IAAa,CAAA,aAAA,GAAb,aAAa,CAA4B;AAI7D;;AAEG;QAC6B,IAAK,CAAA,KAAA,GAAG,IAAI,CAAC;AAN3C,QAAA,IAAI,CAAC,aAAa,CAAC,gBAAgB,GAAG,MAAM,CAAC;KAC9C;kIAHU,iBAAiB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAjB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iBAAiB,odArBlB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,yjDAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAqB1B,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAvB7B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,WAAW,YACX,2BAA2B,EAAA,aAAA,EAEtB,iBAAiB,CAAC,IAAI,EACrB,cAAA,EAAA;wBACd,EAAE,SAAS,EAAE,gCAAgC,EAAE;wBAC/C,EAAE,SAAS,EAAE,kCAAkC,EAAE;AACjD,wBAAA;AACE,4BAAA,SAAS,EAA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qB;YACrB,wBAAwB;YACxB,sBAAsB;YACtB,yBAAyB;YACzB,qBAAqB,CAAA,EAAA,OAAA,EAAA,CARrB,YAAY,CAAA,EAAA,OAAA,EAAA,CAWZ,iBAAiB;YACjB,qBAAqB;YACrB,wBAAwB;YACxB,sBAAsB;YACtB,yBAAyB;YACzB,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGZ,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAnBvB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAmBH,cAAc,EAAA,UAAA,EAAA,CAAA;kBArB1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,iBAAiB;wBACjB,qBAAqB;wBACrB,wBAAwB;wBACxB,sBAAsB;wBACtB,yBAAyB;wBACzB,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;wBACjB,qBAAqB;wBACrB,wBAAwB;wBACxB,sBAAsB;wBACtB,yBAAyB;wBACzB,qBAAqB;AACtB,qBAAA;AACF,iBAAA,CAAA;;;AC9BD;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-hero.mjs","sources":["../../../libs/design/hero/src/hero/hero.component.ts","../../../libs/design/hero/src/hero-body/hero-body.directive.ts","../../../libs/design/hero/src/hero-icon/hero-icon.directive.ts","../../../libs/design/hero/src/hero-subtitle/hero-subtitle.directive.ts","../../../libs/design/hero/src/hero-tagline/hero-tagline.directive.ts","../../../libs/design/hero/src/hero-title/hero-title.directive.ts","../../../libs/design/hero/src/hero.module.ts","../../../libs/design/hero/src/hero.ts","../../../libs/design/hero/src/daffodil-design-hero.ts"],"sourcesContent":["import {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n HostBinding,\n} from '@angular/core';\n\nimport {\n DaffColorableDirective,\n DaffCompactableDirective,\n} from '@daffodil/design';\nimport {\n DaffArticleEncapsulatedDirective,\n DaffManageContainerLayoutDirective,\n DaffTextAlignableDirective,\n} from '@daffodil/design';\n\n@Component({\n selector: 'daff-hero',\n template: '<ng-content></ng-content>',\n styleUrls: ['./hero.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n { directive: DaffArticleEncapsulatedDirective },\n { directive: DaffManageContainerLayoutDirective },\n {\n directive: DaffTextAlignableDirective,\n inputs: ['textAlignment'],\n },\n {\n directive: DaffCompactableDirective,\n inputs: ['compact'],\n },\n {\n directive: DaffColorableDirective,\n inputs: ['color'],\n },\n ],\n standalone: true,\n})\nexport class DaffHeroComponent {\n constructor(private textAlignable: DaffTextAlignableDirective) {\n this.textAlignable.defaultAlignment = 'left';\n }\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroBody]',\n standalone: true,\n})\n\nexport class DaffHeroBodyDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__body') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroIcon]',\n standalone: true,\n})\n\nexport class DaffHeroIconDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__icon') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroSubtitle]',\n standalone: true,\n})\n\nexport class DaffHeroSubtitleDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__subtitle') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroTagline]',\n standalone: true,\n})\n\nexport class DaffHeroTaglineDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__tagline') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroTitle]',\n standalone: true,\n})\n\nexport class DaffHeroTitleDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__title') class = true;\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffHeroComponent } from './hero/hero.component';\nimport { DaffHeroBodyDirective } from './hero-body/hero-body.directive';\nimport { DaffHeroIconDirective } from './hero-icon/hero-icon.directive';\nimport { DaffHeroSubtitleDirective } from './hero-subtitle/hero-subtitle.directive';\nimport { DaffHeroTaglineDirective } from './hero-tagline/hero-tagline.directive';\nimport { DaffHeroTitleDirective } from './hero-title/hero-title.directive';\n\n/**\n * @deprecated in favor of {@link DAFF_HERO_COMPONENTS}\n * */\n@NgModule({\n imports: [\n CommonModule,\n DaffHeroComponent,\n DaffHeroIconDirective,\n DaffHeroTaglineDirective,\n DaffHeroTitleDirective,\n DaffHeroSubtitleDirective,\n DaffHeroBodyDirective,\n ],\n exports: [\n DaffHeroComponent,\n DaffHeroIconDirective,\n DaffHeroTaglineDirective,\n DaffHeroTitleDirective,\n DaffHeroSubtitleDirective,\n DaffHeroBodyDirective,\n ],\n})\nexport class DaffHeroModule { }\n","import { DaffHeroComponent } from './hero/hero.component';\nimport { DaffHeroBodyDirective } from './hero-body/hero-body.directive';\nimport { DaffHeroIconDirective } from './hero-icon/hero-icon.directive';\nimport { DaffHeroSubtitleDirective } from './hero-subtitle/hero-subtitle.directive';\nimport { DaffHeroTaglineDirective } from './hero-tagline/hero-tagline.directive';\nimport { DaffHeroTitleDirective } from './hero-title/hero-title.directive';\n\nexport const DAFF_HERO_COMPONENTS = <const>[\n DaffHeroComponent,\n DaffHeroIconDirective,\n DaffHeroTaglineDirective,\n DaffHeroTitleDirective,\n DaffHeroSubtitleDirective,\n DaffHeroB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AAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAjBvB,YAAY;YACZ,iBAAiB;YACjB,qBAAqB;YACrB,wBAAwB;YACxB,sBAAsB;YACtB,yBAAyB;AACzB,YAAA,qBAAqB,aAGrB,iBAAiB;YACjB,qBAAqB;YACrB,wBAAwB;YACxB,sBAAsB;YACtB,yBAAyB;YACzB,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGZ,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAjBvB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAiBH,cAAc,EAAA,UAAA,EAAA,CAAA;kBAnB1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,iBAAiB;wBACjB,qBAAqB;wBACrB,wBAAwB;wBACxB,sBAAsB;wBACtB,yBAAyB;wBACzB,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;wBACjB,qBAAqB;wBACrB,wBAAwB;wBACxB,sBAAsB;wBACtB,yBAAyB;wBACzB,qBAAqB;AACtB,qBAAA;AACF,iBAAA,CAAA;;;ACxBY,MAAA,oBAAoB,GAAU;IACzC,iBAAiB;IACjB,qBAAqB;IACrB,wBAAwB;IACxB,sBAAsB;IACtB,yBAAyB;IACzB,qBAAqB;;;ACbvB;;AAEG;;;;"}
@@ -1,16 +1,18 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy } from '@angular/core';
3
3
  import * as i1 from '@daffodil/design/image';
4
- import { DaffImageModule } from '@daffodil/design/image';
4
+ import { DAFF_IMAGE_COMPONENTS } from '@daffodil/design/image';
5
5
  import { NgIf } from '@angular/common';
6
6
 
7
7
  class BasicImageComponent {
8
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: BasicImageComponent, isStandalone: true, selector: "basic-image", ngImport: i0, template: "<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>", dependencies: [{ kind: "ngmodule", type: DaffImageModule }, { kind: "component", type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: BasicImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: BasicImageComponent, isStandalone: true, selector: "basic-image", ngImport: i0, template: "<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>", dependencies: [{ kind: "component", type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicImageComponent, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: BasicImageComponent, decorators: [{
12
12
  type: Component,
13
- args: [{ selector: 'basic-image', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffImageModule], template: "<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>" }]
13
+ args: [{ selector: 'basic-image', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
14
+ DAFF_IMAGE_COMPONENTS,
15
+ ], template: "<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>" }]
14
16
  }] });
15
17
 
16
18
  class LoadImageComponent {
@@ -20,21 +22,26 @@ class LoadImageComponent {
20
22
  load() {
21
23
  this.loaded = true;
22
24
  }
23
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: LoadImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
24
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: LoadImageComponent, isStandalone: true, selector: "load-image", ngImport: i0, template: "<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\"\n\t(load)=\"load()\">\n</daff-image>\n\n<p *ngIf=\"!loaded\">I am not loaded!</p>\n<p *ngIf=\"loaded\">I am loaded!</p>", dependencies: [{ kind: "ngmodule", type: DaffImageModule }, { kind: "component", type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: LoadImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
26
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: LoadImageComponent, isStandalone: true, selector: "load-image", ngImport: i0, template: "<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\"\n\t(load)=\"load()\">\n</daff-image>\n\n<p *ngIf=\"!loaded\">I am not loaded!</p>\n<p *ngIf=\"loaded\">I am loaded!</p>", dependencies: [{ kind: "component", type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
27
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: LoadImageComponent, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: LoadImageComponent, decorators: [{
27
29
  type: Component,
28
- args: [{ selector: 'load-image', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffImageModule, NgIf], template: "<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\"\n\t(load)=\"load()\">\n</daff-image>\n\n<p *ngIf=\"!loaded\">I am not loaded!</p>\n<p *ngIf=\"loaded\">I am loaded!</p>" }]
30
+ args: [{ selector: 'load-image', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
31
+ DAFF_IMAGE_COMPONENTS,
32
+ NgIf,
33
+ ], template: "<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\"\n\t(load)=\"load()\">\n</daff-image>\n\n<p *ngIf=\"!loaded\">I am not loaded!</p>\n<p *ngIf=\"loaded\">I am loaded!</p>" }]
29
34
  }] });
30
35
 
31
36
  class SkeletonImageComponent {
32
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SkeletonImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
33
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: SkeletonImageComponent, isStandalone: true, selector: "skeleton-image", ngImport: i0, template: "<daff-image [skeleton]=\"true\"\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>", dependencies: [{ kind: "ngmodule", type: DaffImageModule }, { kind: "component", type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
37
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SkeletonImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
38
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: SkeletonImageComponent, isStandalone: true, selector: "skeleton-image", ngImport: i0, template: "<daff-image [skeleton]=\"true\"\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>", dependencies: [{ kind: "component", type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
34
39
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SkeletonImageComponent, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SkeletonImageComponent, decorators: [{
36
41
  type: Component,
37
- args: [{ selector: 'skeleton-image', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffImageModule], template: "<daff-image [skeleton]=\"true\"\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>" }]
42
+ args: [{ selector: 'skeleton-image', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
43
+ DAFF_IMAGE_COMPONENTS,
44
+ ], template: "<daff-image [skeleton]=\"true\"\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>" }]
38
45
  }] });
39
46
 
40
47
  const IMAGE_EXAMPLES = [
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-image-examples.mjs","sources":["../../../libs/design/image/examples/src/basic-image/basic-image.component.ts","../../../libs/design/image/examples/src/basic-image/basic-image.component.html","../../../libs/design/image/examples/src/load-image/load-image.component.ts","../../../libs/design/image/examples/src/load-image/load-image.component.html","../../../libs/design/image/examples/src/skeleton-image/skeleton-image.component.ts","../../../libs/design/image/examples/src/skeleton-image/skeleton-image.component.html","../../../libs/design/image/examples/src/public_api.ts","../../../libs/design/image/examples/src/daffodil-design-image-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DaffImageModule } from '@daffodil/design/image';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-image',\n templateUrl: './basic-image.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffImageModule],\n})\nexport class BasicImageComponent {\n\n}\n","<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>","import { NgIf } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DaffImageModule } from '@daffodil/design/image';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'load-image',\n templateUrl: './load-image.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffImageModule, NgIf],\n})\nexport class LoadImageComponent {\n loaded = false;\n\n load(){\n this.loaded = true;\n }\n}\n","<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\"\n\t(load)=\"load()\">\n</daff-image>\n\n<p *ngIf=\"!loaded\">I am not loaded!</p>\n<p *ngIf=\"loaded\">I am loaded!</p>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DaffImageModule } from '@daffodil/design/image';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'skeleton-image',\n templateUrl: './skeleton-image.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffImageModule],\n})\nexport class SkeletonImageComponent {\n\n}\n","<daff-image [skeleton]=\"true\"\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>","import { BasicImageComponent } from './basic-image/basic-image.component';\nimport { LoadImageComponent } from './load-image/load-image.component';\nimport { SkeletonImageComponent } from './skeleton-image/skeleton-image.component';\n\nexport const IMAGE_EXAMPLES = [\n BasicImageComponent,\n LoadImageComponent,\n SkeletonImageComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAea,mBAAmB,CAAA;kIAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;sHAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECfhC,gSAKa,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDQD,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,KAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,CAAA,EAAA,OAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAEd,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAR/B,SAAS;+BAEE,aAAa,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,cACnC,IAAI,EAAA,OAAA,EACP,CAAC,eAAe,CAAC,EAAA,QAAA,EAAA,gSAAA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,EAAA,EAAA,QAAA,ECfnC,oTAKa,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDQD,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,KAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,CAAA,EAAA,OAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAEd,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBARlC,SAAS;+BAEE,gBAAgB,EAAA,eAAA,EAET,uBAAuB,CAAC,MAAM,cACnC,IAAI,EAAA,OAAA,EACP,CAAC,eAAe,CAAC,EAAA,QAAA,EAAA,oTAAA,EAAA,CAAA;;;AETf,MAAA,cAAc,GAAG;IAC5B,mBAAmB;IACnB,kBAAkB;IAClB,sBAAsB;;;ACPxB;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-image-examples.mjs","sources":["../../../libs/design/image/examples/src/basic-image/basic-image.component.ts","../../../libs/design/image/examples/src/basic-image/basic-image.component.html","../../../libs/design/image/examples/src/load-image/load-image.component.ts","../../../libs/design/image/examples/src/load-image/load-image.component.html","../../../libs/design/image/examples/src/skeleton-image/skeleton-image.component.ts","../../../libs/design/image/examples/src/skeleton-image/skeleton-image.component.html","../../../libs/design/image/examples/src/public_api.ts","../../../libs/design/image/examples/src/daffodil-design-image-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DAFF_IMAGE_COMPONENTS } from '@daffodil/design/image';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-image',\n templateUrl: './basic-image.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DAFF_IMAGE_COMPONENTS,\n ],\n})\nexport class BasicImageComponent {\n\n}\n","<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>","import { NgIf } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DAFF_IMAGE_COMPONENTS } from '@daffodil/design/image';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'load-image',\n templateUrl: './load-image.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DAFF_IMAGE_COMPONENTS,\n NgIf,\n ],\n})\nexport class LoadImageComponent {\n loaded = false;\n\n load(){\n this.loaded = true;\n }\n}\n","<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\"\n\t(load)=\"load()\">\n</daff-image>\n\n<p *ngIf=\"!loaded\">I am not loaded!</p>\n<p *ngIf=\"loaded\">I am loaded!</p>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DAFF_IMAGE_COMPONENTS } from '@daffodil/design/image';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'skeleton-image',\n templateUrl: './skeleton-image.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DAFF_IMAGE_COMPONENTS,\n ],\n})\nexport class SkeletonImageComponent {\n\n}\n","<daff-image [skeleton]=\"true\"\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>","import { BasicImageComponent } from './basic-image/basic-image.component';\nimport { LoadImageComponent } from './load-image/load-image.component';\nimport { SkeletonImageComponent } from './skeleton-image/skeleton-image.component';\n\nexport const IMAGE_EXAMPLES = [\n BasicImageComponent,\n LoadImageComponent,\n SkeletonImageComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAiBa,mBAAmB,CAAA;iIAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,uECjBhC,gSAKa,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,KAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,CAAA,EAAA,OAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FDYA,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAV/B,SAAS;AAEE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,mBAEN,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EACP,OAAA,EAAA;wBACP,qBAAqB;AACtB,qBAAA,EAAA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eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAtB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,0ECjBnC,oTAKa,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,KAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,CAAA,EAAA,OAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FDYA,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAVlC,SAAS;AAEE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,mBAET,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EACP,OAAA,EAAA;wBACP,qBAAqB;AACtB,qBAAA,EAAA,QAAA,EAAA,oTAAA,EAAA,CAAA;;;AEXU,MAAA,cAAc,GAAG;IAC5B,mBAAmB;IACnB,kBAAkB;IAClB,sBAAsB;;;ACPxB;;AAEG;;;;"}
@@ -81,15 +81,15 @@ class DaffImageComponent {
81
81
  get maxWidth() {
82
82
  return this.width + 'px';
83
83
  }
84
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
85
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffImageComponent, selector: "daff-image", inputs: { src: "src", alt: "alt", width: "width", height: "height" }, outputs: { load: "load" }, host: { properties: { "style.max-width": "this.maxWidth" } }, providers: [
84
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffImageComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
85
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffImageComponent, isStandalone: true, selector: "daff-image", inputs: { src: "src", alt: "alt", width: "width", height: "height" }, outputs: { load: "load" }, host: { properties: { "style.max-width": "this.maxWidth" } }, providers: [
86
86
  {
87
87
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
88
88
  provide: daffThumbnailCompatToken, useExisting: DaffImageComponent,
89
89
  },
90
90
  ], hostDirectives: [{ directive: i2.DaffSkeletonableDirective, inputs: ["skeleton", "skeleton"] }], ngImport: i0, template: "<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>", styles: [":host{display:inline-block;border-radius:inherit;position:relative;width:100%}:host.daff-skeleton{display:flex;position:relative}:host.daff-skeleton:before{animation-name:loading;animation-duration:1s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;content:\"\";height:100%;width:100%;position:absolute;top:0;left:0}:host.daff-skeleton img{opacity:0}:host img{position:absolute;inset:0;height:auto;margin:auto;max-width:100%}.daff-image__wrapper{border-radius:inherit;height:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
91
91
  }
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageComponent, decorators: [{
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffImageComponent, decorators: [{
93
93
  type: Component,
94
94
  args: [{ selector: 'daff-image', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
95
95
  {
@@ -99,7 +99,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
99
99
  ], hostDirectives: [{
100
100
  directive: DaffSkeletonableDirective,
101
101
  inputs: ['skeleton'],
102
- }], template: "<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>", styles: [":host{display:inline-block;border-radius:inherit;position:relative;width:100%}:host.daff-skeleton{display:flex;position:relative}:host.daff-skeleton:before{animation-name:loading;animation-duration:1s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;content:\"\";height:100%;width:100%;position:absolute;top:0;left:0}:host.daff-skeleton img{opacity:0}:host img{position:absolute;inset:0;height:auto;margin:auto;max-width:100%}.daff-image__wrapper{border-radius:inherit;height:0}\n"] }]
102
+ }], standalone: true, template: "<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>", styles: [":host{display:inline-block;border-radius:inherit;position:relative;width:100%}:host.daff-skeleton{display:flex;position:relative}:host.daff-skeleton:before{animation-name:loading;animation-duration:1s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;content:\"\";height:100%;width:100%;position:absolute;top:0;left:0}:host.daff-skeleton img{opacity:0}:host img{position:absolute;inset:0;height:auto;margin:auto;max-width:100%}.daff-image__wrapper{border-radius:inherit;height:0}\n"] }]
103
103
  }], ctorParameters: () => [{ type: i1.DomSanitizer }], propDecorators: { src: [{
104
104
  type: Input
105
105
  }], alt: [{
@@ -115,19 +115,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
115
115
  args: ['style.max-width']
116
116
  }] } });
117
117
 
118
+ /**
119
+ * @deprecated in favor of {@link DAFF_IMAGE_COMPONENTS}
120
+ * */
118
121
  class DaffImageModule {
119
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
120
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffImageModule, declarations: [DaffImageComponent], imports: [CommonModule], exports: [DaffImageComponent] }); }
121
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageModule, imports: [CommonModule] }); }
122
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffImageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
123
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffImageModule, imports: [CommonModule,
124
+ DaffImageComponent], exports: [DaffImageComponent] }); }
125
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffImageModule, imports: [CommonModule] }); }
122
126
  }
123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageModule, decorators: [{
127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffImageModule, decorators: [{
124
128
  type: NgModule,
125
129
  args: [{
126
- declarations: [
127
- DaffImageComponent,
128
- ],
129
130
  imports: [
130
131
  CommonModule,
132
+ DaffImageComponent,
131
133
  ],
132
134
  exports: [
133
135
  DaffImageComponent,
@@ -135,9 +137,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
135
137
  }]
136
138
  }] });
137
139
 
140
+ const DAFF_IMAGE_COMPONENTS = [
141
+ DaffImageComponent,
142
+ ];
143
+
138
144
  /**
139
145
  * Generated bundle index. Do not edit.
140
146
  */
141
147
 
142
- export { DaffImageComponent, DaffImageModule };
148
+ export { DAFF_IMAGE_COMPONENTS, DaffImageComponent, DaffImageModule };
143
149
  //# sourceMappingURL=daffodil-design-image.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-image.mjs","sources":["../../../libs/design/image/src/image/image.component.ts","../../../libs/design/image/src/image/image.component.html","../../../libs/design/image/src/image.module.ts","../../../libs/design/image/src/daffodil-design-image.ts"],"sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n Input,\n EventEmitter,\n OnInit,\n Output,\n HostBinding,\n} from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\nimport { DaffSkeletonableDirective } from '@daffodil/design';\nimport { daffThumbnailCompatToken } from '@daffodil/design/media-gallery';\n\nconst validateProperty = (object: Record<string, any>, prop: string) => {\n if (object[prop] === null || object[prop] === undefined || object[prop] === '') {\n throw new Error(`DaffImageComponent must have a defined ${prop} attribute.`);\n }\n};\n\nconst validateProperties = (object: Record<string, any>, props: string[]) => {\n const invalidProps = props.filter(prop => {\n try {\n validateProperty(object, prop);\n } catch(e) {\n return true;\n }\n return false;\n });\n\n if (invalidProps.length) {\n throw new Error(`DaffImageComponent must have the ${invalidProps.join(',')} attributes defined.`);\n }\n};\n\n@Component({\n selector: 'daff-image',\n templateUrl: './image.component.html',\n styleUrls: ['./image.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n\t\t\t provide: daffThumbnailCompatToken, useExisting: DaffImageComponent,\n },\n ],\n hostDirectives: [{\n directive: DaffSkeletonableDirective,\n inputs: ['skeleton'],\n }],\n})\nexport class DaffImageComponent implements OnInit {\n\n private _src: string;\n\n @Input()\n get src(): string {\n\t return this._src;\n }\n set src(value: string) {\n this._src = value;\n validateProperty(this, 'src');\n }\n\n private _alt: string;\n\n @Input()\n get alt(): string {\n return this._alt;\n }\n set alt(value: string) {\n this._alt = value;\n validateProperty(this, 'alt');\n }\n\n private _width: number;\n\n @Input()\n get width(): number {\n return this._width;\n }\n set width(value: number) {\n this._width = value;\n validateProperty(this, 'width');\n }\n\n private _height: number;\n\n @Input()\n get height(): number {\n return this._height;\n }\n set height(value: number) {\n this._height = value;\n validateProperty(this, 'height');\n }\n\n // TODO: rename event to not collide with native event (unless that's intentional)\n // eslint-disable-next-line @angular-eslint/no-output-native\n @Output() load: EventEmitter<void> = new EventEmitter();\n\n /**\n * @docs-private\n */\n ngOnInit(): void {\n\t validateProperties(this, ['src', 'alt', 'width', 'height']);\n }\n\n constructor(private sanitizer: DomSanitizer) {}\n\n /**\n * @docs-private\n */\n get _paddingTop(): any {\n\t if (!this.height || !this.width ) {\n\t return undefined;\n\t }\n\n\t return this.sanitizer.bypassSecurityTrustStyle('calc(' + this.height + ' / ' + this.width + ' * 100%)');\n }\n\n /**\n * @docs-private\n */\n @HostBinding('style.max-width') get maxWidth(): string {\n\t return this.width + 'px';\n }\n}\n","<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffImageComponent } from './image/image.component';\n\n@NgModule({\n declarations: [\n DaffImageComponent,\n ],\n imports: [\n CommonModule,\n ],\n exports: [\n DaffImageComponent,\n ],\n})\nexport class DaffImageModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAcA,MAAM,gBAAgB,GAAG,CAAC,MAA2B,EAAE,IAAY,KAAI;IACrE,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,SAAS,IAAI,MAAM,CAAC,IAAI,CAAC,KA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AAA;sBADN,KAAK;gBAYF,KAAK,EAAA,CAAA;sBADR,KAAK;gBAYF,MAAM,EAAA,CAAA;sBADT,KAAK;gBAWI,IAAI,EAAA,CAAA;sBAAb,MAAM;gBAyB6B,QAAQ,EAAA,CAAA;sBAA3C,WAAW;uBAAC,iBAAiB,CAAA;;;ME5GnB,eAAe,CAAA;kIAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAf,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EATxB,YAAA,EAAA,CAAA,kBAAkB,CAGlB,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGT,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YANxB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAMH,eAAe,EAAA,UAAA,EAAA,CAAA;kBAX3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;ACfD;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-image.mjs","sources":["../../../libs/design/image/src/image/image.component.ts","../../../libs/design/image/src/image/image.component.html","../../../libs/design/image/src/image.module.ts","../../../libs/design/image/src/image.ts","../../../libs/design/image/src/daffodil-design-image.ts"],"sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n Input,\n EventEmitter,\n OnInit,\n Output,\n HostBinding,\n} from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\nimport { DaffSkeletonableDirective } from '@daffodil/design';\nimport { daffThumbnailCompatToken } from '@daffodil/design/media-gallery';\n\nconst validateProperty = (object: Record<string, any>, prop: string) => {\n if (object[prop] === null || object[prop] === undefined || object[prop] === '') {\n throw new Error(`DaffImageComponent must have a defined ${prop} attribute.`);\n }\n};\n\nconst validateProperties = (object: Record<string, any>, props: string[]) => {\n const invalidProps = props.filter(prop => {\n try {\n validateProperty(object, prop);\n } catch(e) {\n return true;\n }\n return false;\n });\n\n if (invalidProps.length) {\n throw new Error(`DaffImageComponent must have the ${invalidProps.join(',')} attributes defined.`);\n }\n};\n\n@Component({\n selector: 'daff-image',\n templateUrl: './image.component.html',\n styleUrls: ['./image.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n provide: daffThumbnailCompatToken, useExisting: DaffImageComponent,\n },\n ],\n hostDirectives: [{\n directive: DaffSkeletonableDirective,\n inputs: ['skeleton'],\n }],\n standalone: true,\n})\nexport class DaffImageComponent implements OnInit {\n\n private _src: string;\n\n @Input()\n get src(): string {\n return this._src;\n }\n set src(value: string) {\n this._src = value;\n validateProperty(this, 'src');\n }\n\n private _alt: string;\n\n @Input()\n get alt(): string {\n return this._alt;\n }\n set alt(value: string) {\n this._alt = value;\n validateProperty(this, 'alt');\n }\n\n private _width: number;\n\n @Input()\n get width(): number {\n return this._width;\n }\n set width(value: number) {\n this._width = value;\n validateProperty(this, 'width');\n }\n\n private _height: number;\n\n @Input()\n get height(): number {\n return this._height;\n }\n set height(value: number) {\n this._height = value;\n validateProperty(this, 'height');\n }\n\n // TODO: rename event to not collide with native event (unless that's intentional)\n // eslint-disable-next-line @angular-eslint/no-output-native\n @Output() load: EventEmitter<void> = new EventEmitter();\n\n /**\n * @docs-private\n */\n ngOnInit(): void {\n validateProperties(this, ['src', 'alt', 'width', 'height']);\n }\n\n constructor(private sanitizer: DomSanitizer) {}\n\n /**\n * @docs-private\n */\n get _paddingTop(): any {\n if (!this.height || !this.width ) {\n return undefined;\n }\n\n return this.sanitizer.bypassSecurityTrustStyle('calc(' + this.height + ' / ' + this.width + ' * 100%)');\n }\n\n /**\n * @docs-private\n */\n @HostBinding('style.max-width') get maxWidth(): string {\n return this.width + 'px';\n }\n}\n","<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffImageComponent } from './image/image.component';\n\n/**\n * @deprecated in favor of {@link DAFF_IMAGE_COMPONENTS}\n * */\n@NgModule({\n imports: [\n CommonModule,\n DaffImageComponent,\n ],\n exports: [\n DaffImageComponent,\n ],\n})\nexport class DaffImageModule { }\n","import { DaffImageComponent } from './image/image.component';\n\nexport const DAFF_IMAGE_COMPONENTS = <const>[\n DaffImageComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAcA,MAAM,gBAAgB,GAAG,CAAC,MAA2B,EAAE,IAAY,KAAI;IACrE,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,SAAS,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE;AAC9E,QAAA,MAAM,IAAI,KAAK,CAAC,0CAA0C,IAAI,CAAA,WAAA,CAAa,CAAC,CAAC;KAC9E;AACH,CAAC,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,MAA2B,EAAE,KAAe,KAAI;IAC1E,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,IAAG;AACvC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AAA;iIAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAf,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAPxB,YAAY;AACZ,YAAA,kBAAkB,aAGlB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGT,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAPxB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAOH,eAAe,EAAA,UAAA,EAAA,CAAA;kBAT3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;ACdY,MAAA,qBAAqB,GAAU;IAC1C,kBAAkB;;;ACHpB;;AAEG;;;;"}
@@ -6,19 +6,19 @@ import * as i2 from '@angular/forms';
6
6
  import { UntypedFormControl, Validators, ReactiveFormsModule } from '@angular/forms';
7
7
 
8
8
  class BasicInputComponent {
9
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: BasicInputComponent, isStandalone: true, selector: "basic-input", ngImport: i0, template: "<input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />", dependencies: [{ kind: "ngmodule", type: DaffInputModule }, { kind: "component", type: i1.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: BasicInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: BasicInputComponent, isStandalone: true, selector: "basic-input", ngImport: i0, template: "<input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />", dependencies: [{ kind: "ngmodule", type: DaffInputModule }, { kind: "component", type: i1.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
11
11
  }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicInputComponent, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: BasicInputComponent, decorators: [{
13
13
  type: Component,
14
14
  args: [{ selector: 'basic-input', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffInputModule], template: "<input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />" }]
15
15
  }] });
16
16
 
17
17
  class InputDisabledComponent {
18
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: InputDisabledComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
19
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: InputDisabledComponent, isStandalone: true, selector: "input-disabled", ngImport: i0, template: "<daff-form-field>\n <input disabled daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />\n</daff-form-field>", dependencies: [{ kind: "ngmodule", type: DaffFormFieldModule }, { kind: "component", type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: DaffInputModule }, { kind: "component", type: i1.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
18
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: InputDisabledComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
19
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: InputDisabledComponent, isStandalone: true, selector: "input-disabled", ngImport: i0, template: "<daff-form-field>\n <input disabled daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />\n</daff-form-field>", dependencies: [{ kind: "ngmodule", type: DaffFormFieldModule }, { kind: "component", type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: DaffInputModule }, { kind: "component", type: i1.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
20
20
  }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: InputDisabledComponent, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: InputDisabledComponent, decorators: [{
22
22
  type: Component,
23
23
  args: [{ selector: 'input-disabled', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffFormFieldModule, DaffInputModule], template: "<daff-form-field>\n <input disabled daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />\n</daff-form-field>" }]
24
24
  }] });
@@ -30,10 +30,10 @@ class InputErrorComponent {
30
30
  Validators.required,
31
31
  ]);
32
32
  }
33
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: InputErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: InputErrorComponent, isStandalone: true, selector: "input-error", ngImport: i0, template: "<daff-form-field>\n <input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" [formControl]=\"control\" />\n</daff-form-field>\n<p>Value: {{ control.value }} </p>", dependencies: [{ kind: "ngmodule", type: DaffFormFieldModule }, { kind: "component", type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: DaffInputModule }, { kind: "component", type: i1.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
33
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: InputErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: InputErrorComponent, isStandalone: true, selector: "input-error", ngImport: i0, template: "<daff-form-field>\n <input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" [formControl]=\"control\" />\n</daff-form-field>\n<p>Value: {{ control.value }} </p>", dependencies: [{ kind: "ngmodule", type: DaffFormFieldModule }, { kind: "component", type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: DaffInputModule }, { kind: "component", type: i1.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: InputErrorComponent, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: InputErrorComponent, decorators: [{
37
37
  type: Component,
38
38
  args: [{ selector: 'input-error', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
39
39
  DaffFormFieldModule,
@@ -43,10 +43,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
43
43
  }] });
44
44
 
45
45
  class InputWithFormFieldComponent {
46
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: InputWithFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
47
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: InputWithFormFieldComponent, isStandalone: true, selector: "input-with-form-field", ngImport: i0, template: "<daff-form-field>\n <input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />\n</daff-form-field>\n", dependencies: [{ kind: "ngmodule", type: DaffFormFieldModule }, { kind: "component", type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: DaffInputModule }, { kind: "component", type: i1.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
46
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: InputWithFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
47
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: InputWithFormFieldComponent, isStandalone: true, selector: "input-with-form-field", ngImport: i0, template: "<daff-form-field>\n <input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />\n</daff-form-field>\n", dependencies: [{ kind: "ngmodule", type: DaffFormFieldModule }, { kind: "component", type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "ngmodule", type: DaffInputModule }, { kind: "component", type: i1.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
48
48
  }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: InputWithFormFieldComponent, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: InputWithFormFieldComponent, decorators: [{
50
50
  type: Component,
51
51
  args: [{ selector: 'input-with-form-field', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffFormFieldModule, DaffInputModule], template: "<daff-form-field>\n <input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />\n</daff-form-field>\n" }]
52
52
  }] });