@daffodil/design 0.77.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 (468) 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 +3 -3
  53. package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +38 -22
  54. package/esm2022/accordion/accordion/accordion-item-title/accordion-item-title.directive.mjs +3 -2
  55. package/esm2022/accordion/accordion.mjs +9 -0
  56. package/esm2022/accordion/accordion.module.mjs +6 -14
  57. package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +6 -3
  58. package/esm2022/accordion/examples/public_api.mjs +1 -2
  59. package/esm2022/accordion/public_api.mjs +2 -1
  60. package/esm2022/article/article/article.component.mjs +3 -3
  61. package/esm2022/article/article-meta/article-meta.directive.mjs +3 -2
  62. package/esm2022/article/article.mjs +7 -0
  63. package/esm2022/article/article.module.mjs +5 -5
  64. package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +6 -4
  65. package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +6 -4
  66. package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +6 -4
  67. package/esm2022/article/examples/article-headings/article-headings.component.mjs +7 -3
  68. package/esm2022/article/examples/article-hr/article-hr.component.mjs +6 -4
  69. package/esm2022/article/examples/article-link/article-link.component.mjs +6 -4
  70. package/esm2022/article/examples/article-meta/article-meta.component.mjs +6 -4
  71. package/esm2022/article/examples/article-ol/article-ol.component.mjs +6 -4
  72. package/esm2022/article/examples/article-table/article-table.component.mjs +6 -4
  73. package/esm2022/article/examples/article-ul/article-ul.component.mjs +6 -4
  74. package/esm2022/article/public_api.mjs +3 -2
  75. package/esm2022/button/button/button.component.mjs +11 -6
  76. package/esm2022/button/button.mjs +7 -0
  77. package/esm2022/button/button.module.mjs +5 -11
  78. package/esm2022/button/examples/basic-button/basic-button.component.mjs +4 -6
  79. package/esm2022/button/examples/flat-button/flat-button.component.mjs +4 -6
  80. package/esm2022/button/examples/icon-button/icon-button.component.mjs +8 -4
  81. package/esm2022/button/examples/raised-button/raised-button.component.mjs +4 -6
  82. package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +8 -4
  83. package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +8 -4
  84. package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +4 -6
  85. package/esm2022/button/examples/underline-button/underline-button.component.mjs +4 -6
  86. package/esm2022/button/public_api.mjs +3 -2
  87. package/esm2022/callout/callout/callout.component.mjs +4 -4
  88. package/esm2022/callout/callout-body/callout-body.directive.mjs +3 -2
  89. package/esm2022/callout/callout-icon/callout-icon.directive.mjs +3 -2
  90. package/esm2022/callout/callout-subtitle/callout-subtitle.directive.mjs +3 -2
  91. package/esm2022/callout/callout-tagline/callout-tagline.directive.mjs +3 -2
  92. package/esm2022/callout/callout-title/callout-title.directive.mjs +3 -2
  93. package/esm2022/callout/callout.mjs +15 -0
  94. package/esm2022/callout/callout.module.mjs +5 -5
  95. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +10 -9
  96. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +8 -7
  97. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +9 -8
  98. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +9 -8
  99. package/esm2022/callout/public_api.mjs +2 -1
  100. package/esm2022/card/card/card.component.mjs +3 -3
  101. package/esm2022/card/card-actions/card-actions.directive.mjs +3 -2
  102. package/esm2022/card/card-content/card-content.directive.mjs +3 -2
  103. package/esm2022/card/card-icon/card-icon.directive.mjs +3 -2
  104. package/esm2022/card/card-image/card-image.directive.mjs +3 -2
  105. package/esm2022/card/card-tagline/card-tagline.directive.mjs +3 -2
  106. package/esm2022/card/card-title/card-title.directive.mjs +3 -2
  107. package/esm2022/card/card.mjs +17 -0
  108. package/esm2022/card/card.module.mjs +7 -5
  109. package/esm2022/card/examples/basic-card/basic-card.component.mjs +9 -8
  110. package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +10 -9
  111. package/esm2022/card/examples/card-theming/card-theming.component.mjs +4 -4
  112. package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +6 -6
  113. package/esm2022/card/examples/raised-card/raised-card.component.mjs +6 -6
  114. package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +6 -6
  115. package/esm2022/card/public_api.mjs +2 -1
  116. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +4 -4
  117. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +4 -4
  118. package/esm2022/container/container/container.component.mjs +3 -3
  119. package/esm2022/container/container.mjs +5 -0
  120. package/esm2022/container/container.module.mjs +6 -4
  121. package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +4 -4
  122. package/esm2022/container/public_api.mjs +2 -1
  123. package/esm2022/core/openable/openable.directive.mjs +122 -0
  124. package/esm2022/core/openable/openable.mjs +2 -0
  125. package/esm2022/core/openable/public_api.mjs +2 -0
  126. package/esm2022/core/openable/utils/state-error.mjs +2 -0
  127. package/esm2022/core/public_api.mjs +2 -1
  128. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +7 -6
  129. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +10 -9
  130. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +8 -7
  131. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +9 -8
  132. package/esm2022/hero/hero/hero.component.mjs +4 -7
  133. package/esm2022/hero/hero-body/hero-body.directive.mjs +3 -2
  134. package/esm2022/hero/hero-icon/hero-icon.directive.mjs +3 -2
  135. package/esm2022/hero/hero-subtitle/hero-subtitle.directive.mjs +3 -2
  136. package/esm2022/hero/hero-tagline/hero-tagline.directive.mjs +3 -2
  137. package/esm2022/hero/hero-title/hero-title.directive.mjs +3 -2
  138. package/esm2022/hero/hero.mjs +15 -0
  139. package/esm2022/hero/hero.module.mjs +7 -5
  140. package/esm2022/hero/public_api.mjs +2 -1
  141. package/esm2022/image/examples/basic-image/basic-image.component.mjs +6 -4
  142. package/esm2022/image/examples/load-image/load-image.component.mjs +7 -4
  143. package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +6 -4
  144. package/esm2022/image/image/image.component.mjs +3 -3
  145. package/esm2022/image/image.mjs +5 -0
  146. package/esm2022/image/image.module.mjs +7 -5
  147. package/esm2022/image/public_api.mjs +2 -1
  148. package/esm2022/link-set/link-set/link-set.component.mjs +3 -3
  149. package/esm2022/link-set/link-set-heading/link-set-heading.directive.mjs +3 -2
  150. package/esm2022/link-set/link-set-item/link-set-item.component.mjs +3 -2
  151. package/esm2022/link-set/link-set-subheading/link-set-subheading.directive.mjs +3 -2
  152. package/esm2022/link-set/link-set.mjs +11 -0
  153. package/esm2022/link-set/link-set.module.mjs +8 -6
  154. package/esm2022/link-set/public_api.mjs +2 -1
  155. package/esm2022/list/examples/basic-list/basic-list.component.mjs +7 -4
  156. package/esm2022/list/examples/icon-list/icon-list.component.mjs +4 -6
  157. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +7 -4
  158. package/esm2022/list/examples/nav-list/nav-list.component.mjs +4 -6
  159. package/esm2022/list/list/list.component.mjs +3 -3
  160. package/esm2022/list/list-item/list-item.component.mjs +8 -5
  161. package/esm2022/list/list.mjs +9 -0
  162. package/esm2022/list/list.module.mjs +8 -8
  163. package/esm2022/list/public_api.mjs +2 -1
  164. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +4 -4
  165. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +6 -4
  166. package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +3 -3
  167. package/esm2022/loading-icon/loading-icon.mjs +5 -0
  168. package/esm2022/loading-icon/loading-icon.module.mjs +6 -4
  169. package/esm2022/loading-icon/public_api.mjs +2 -1
  170. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +8 -5
  171. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +8 -5
  172. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +8 -5
  173. package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +9 -5
  174. package/esm2022/media-gallery/media-gallery.mjs +9 -0
  175. package/esm2022/media-gallery/media-gallery.module.mjs +11 -9
  176. package/esm2022/media-gallery/media-renderer/media-renderer.component.mjs +3 -2
  177. package/esm2022/media-gallery/public_api.mjs +2 -1
  178. package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +3 -2
  179. package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +9 -5
  180. package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +6 -3
  181. package/esm2022/menu/menu/menu.component.mjs +6 -3
  182. package/esm2022/menu/menu-activator/menu-activator.component.mjs +3 -2
  183. package/esm2022/menu/menu-item/menu-item.component.mjs +8 -5
  184. package/esm2022/menu/menu.module.mjs +8 -7
  185. package/esm2022/menu/services/menu.service.mjs +8 -7
  186. package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +13 -5
  187. package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +9 -5
  188. package/esm2022/modal/modal/modal.component.mjs +47 -21
  189. package/esm2022/modal/modal-actions/modal-actions.component.mjs +3 -2
  190. package/esm2022/modal/modal-close/modal-close.directive.mjs +3 -2
  191. package/esm2022/modal/modal-content/modal-content.component.mjs +3 -2
  192. package/esm2022/modal/modal-header/modal-header.component.mjs +14 -7
  193. package/esm2022/modal/modal-title/modal-title.directive.mjs +3 -2
  194. package/esm2022/modal/modal.mjs +13 -0
  195. package/esm2022/modal/modal.module.mjs +17 -11
  196. package/esm2022/modal/public_api.mjs +2 -1
  197. package/esm2022/modal/service/modal.service.mjs +7 -5
  198. package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +9 -5
  199. package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +9 -8
  200. package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +8 -7
  201. package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +9 -5
  202. package/esm2022/navbar/navbar/navbar.component.mjs +3 -6
  203. package/esm2022/navbar/navbar.mjs +5 -0
  204. package/esm2022/navbar/navbar.module.mjs +10 -4
  205. package/esm2022/navbar/public_api.mjs +2 -1
  206. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +6 -6
  207. package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +4 -4
  208. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +6 -6
  209. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +6 -6
  210. package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +6 -6
  211. package/esm2022/notification/notification/notification.component.mjs +10 -6
  212. package/esm2022/notification/notification-actions/notification-actions.directive.mjs +3 -2
  213. package/esm2022/notification/notification-message/notification-message.directive.mjs +3 -2
  214. package/esm2022/notification/notification-subtitle/notification-subtitle.directive.mjs +3 -2
  215. package/esm2022/notification/notification-title/notification-title.directive.mjs +3 -2
  216. package/esm2022/notification/notification.mjs +15 -0
  217. package/esm2022/notification/notification.module.mjs +11 -8
  218. package/esm2022/notification/public_api.mjs +2 -1
  219. package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +4 -4
  220. package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +4 -4
  221. package/esm2022/paginator/paginator/paginator.component.mjs +12 -9
  222. package/esm2022/paginator/paginator.mjs +5 -0
  223. package/esm2022/paginator/paginator.module.mjs +9 -6
  224. package/esm2022/paginator/public_api.mjs +2 -1
  225. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +6 -4
  226. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +6 -4
  227. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +7 -4
  228. package/esm2022/progress-bar/progress-bar-label/progress-bar-label.directive.mjs +20 -0
  229. package/esm2022/progress-bar/progress-bar.component.mjs +5 -3
  230. package/esm2022/progress-bar/progress-bar.mjs +7 -0
  231. package/esm2022/progress-bar/progress-bar.module.mjs +11 -4
  232. package/esm2022/progress-bar/public_api.mjs +3 -1
  233. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +6 -4
  234. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +9 -8
  235. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +5 -5
  236. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +6 -4
  237. package/esm2022/sidebar/public_api.mjs +2 -1
  238. package/esm2022/sidebar/sidebar/sidebar.component.mjs +35 -15
  239. package/esm2022/sidebar/sidebar-footer/sidebar-footer.component.mjs +3 -3
  240. package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs +3 -2
  241. package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs +3 -2
  242. package/esm2022/sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
  243. package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +22 -38
  244. package/esm2022/sidebar/sidebar-viewport/utils/content-pad.mjs +6 -6
  245. package/esm2022/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.mjs +3 -3
  246. package/esm2022/sidebar/sidebar.mjs +17 -0
  247. package/esm2022/sidebar/sidebar.module.mjs +8 -6
  248. package/esm2022/toast/examples/default-toast/default-toast.component.mjs +7 -4
  249. package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +8 -4
  250. package/esm2022/toast/examples/toast-status/toast-status.component.mjs +12 -7
  251. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +7 -4
  252. package/esm2022/toast/public_api.mjs +2 -1
  253. package/esm2022/toast/service/toast.service.mjs +9 -10
  254. package/esm2022/toast/toast/toast-provider.mjs +7 -0
  255. package/esm2022/toast/toast/toast-template.component.mjs +30 -12
  256. package/esm2022/toast/toast/toast.component.mjs +6 -9
  257. package/esm2022/toast/toast-actions/toast-actions.directive.mjs +3 -2
  258. package/esm2022/toast/toast-message/toast-message.directive.mjs +3 -2
  259. package/esm2022/toast/toast-title/toast-title.directive.mjs +3 -2
  260. package/esm2022/toast/toast.module.mjs +10 -11
  261. package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +7 -4
  262. package/esm2022/tree/public_api.mjs +2 -2
  263. package/esm2022/tree/tree/tree.component.mjs +8 -5
  264. package/esm2022/tree/tree-item/tree-item.directive.mjs +3 -2
  265. package/esm2022/tree/tree.mjs +7 -0
  266. package/esm2022/tree/tree.module.mjs +9 -7
  267. package/fesm2022/daffodil-design-accordion-examples.mjs +7 -26
  268. package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -1
  269. package/fesm2022/daffodil-design-accordion.mjs +52 -38
  270. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  271. package/fesm2022/daffodil-design-article-examples.mjs +41 -21
  272. package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
  273. package/fesm2022/daffodil-design-article.mjs +15 -9
  274. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  275. package/fesm2022/daffodil-design-button-examples.mjs +27 -24
  276. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
  277. package/fesm2022/daffodil-design-button.mjs +21 -18
  278. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  279. package/fesm2022/daffodil-design-callout-examples.mjs +20 -19
  280. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  281. package/fesm2022/daffodil-design-callout.mjs +27 -13
  282. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  283. package/fesm2022/daffodil-design-card-examples.mjs +23 -22
  284. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
  285. package/fesm2022/daffodil-design-card.mjs +31 -13
  286. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  287. package/fesm2022/daffodil-design-checkbox-examples.mjs +5 -5
  288. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
  289. package/fesm2022/daffodil-design-container-examples.mjs +3 -3
  290. package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
  291. package/fesm2022/daffodil-design-container.mjs +12 -6
  292. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  293. package/fesm2022/daffodil-design-hero-examples.mjs +19 -18
  294. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  295. package/fesm2022/daffodil-design-hero.mjs +29 -16
  296. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  297. package/fesm2022/daffodil-design-image-examples.mjs +14 -7
  298. package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
  299. package/fesm2022/daffodil-design-image.mjs +13 -7
  300. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  301. package/fesm2022/daffodil-design-link-set.mjs +23 -11
  302. package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
  303. package/fesm2022/daffodil-design-list-examples.mjs +14 -13
  304. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
  305. package/fesm2022/daffodil-design-list.mjs +22 -14
  306. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  307. package/fesm2022/daffodil-design-loading-icon-examples.mjs +7 -5
  308. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
  309. package/fesm2022/daffodil-design-loading-icon.mjs +12 -6
  310. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
  311. package/fesm2022/daffodil-design-media-gallery-examples.mjs +17 -8
  312. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
  313. package/fesm2022/daffodil-design-media-gallery.mjs +70 -57
  314. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  315. package/fesm2022/daffodil-design-menu-examples.mjs +12 -5
  316. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
  317. package/fesm2022/daffodil-design-menu.mjs +55 -48
  318. package/fesm2022/daffodil-design-menu.mjs.map +1 -1
  319. package/fesm2022/daffodil-design-modal-examples.mjs +17 -6
  320. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
  321. package/fesm2022/daffodil-design-modal.mjs +96 -49
  322. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  323. package/fesm2022/daffodil-design-navbar-examples.mjs +22 -15
  324. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
  325. package/fesm2022/daffodil-design-navbar.mjs +16 -9
  326. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  327. package/fesm2022/daffodil-design-notification-examples.mjs +16 -16
  328. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  329. package/fesm2022/daffodil-design-notification.mjs +37 -19
  330. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  331. package/fesm2022/daffodil-design-paginator-examples.mjs +5 -5
  332. package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
  333. package/fesm2022/daffodil-design-paginator.mjs +23 -16
  334. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  335. package/fesm2022/daffodil-design-progress-bar-examples.mjs +14 -7
  336. package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
  337. package/fesm2022/daffodil-design-progress-bar.mjs +38 -8
  338. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  339. package/fesm2022/daffodil-design-sidebar-examples.mjs +19 -14
  340. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
  341. package/fesm2022/daffodil-design-sidebar.mjs +86 -68
  342. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  343. package/fesm2022/daffodil-design-toast-examples.mjs +23 -11
  344. package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
  345. package/fesm2022/daffodil-design-toast.mjs +146 -127
  346. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  347. package/fesm2022/daffodil-design-tree-examples.mjs +6 -3
  348. package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
  349. package/fesm2022/daffodil-design-tree.mjs +23 -35
  350. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  351. package/fesm2022/daffodil-design.mjs +123 -2
  352. package/fesm2022/daffodil-design.mjs.map +1 -1
  353. package/hero/README.md +41 -0
  354. package/hero/hero/hero.component.d.ts +1 -4
  355. package/hero/hero-body/hero-body.directive.d.ts +1 -1
  356. package/hero/hero-icon/hero-icon.directive.d.ts +1 -1
  357. package/hero/hero-subtitle/hero-subtitle.directive.d.ts +1 -1
  358. package/hero/hero-tagline/hero-tagline.directive.d.ts +1 -1
  359. package/hero/hero-title/hero-title.directive.d.ts +1 -1
  360. package/hero/hero.d.ts +7 -0
  361. package/hero/hero.module.d.ts +11 -8
  362. package/hero/public_api.d.ts +1 -0
  363. package/image/README.md +43 -7
  364. package/image/image/image.component.d.ts +1 -1
  365. package/image/image.d.ts +2 -0
  366. package/image/image.module.d.ts +6 -3
  367. package/image/public_api.d.ts +1 -0
  368. package/link-set/README.md +42 -1
  369. package/link-set/link-set/link-set.component.d.ts +1 -1
  370. package/link-set/link-set-heading/link-set-heading.directive.d.ts +1 -1
  371. package/link-set/link-set-item/link-set-item.component.d.ts +1 -1
  372. package/link-set/link-set-subheading/link-set-subheading.directive.d.ts +1 -1
  373. package/link-set/link-set.d.ts +5 -0
  374. package/link-set/link-set.module.d.ts +9 -6
  375. package/link-set/public_api.d.ts +1 -0
  376. package/list/README.md +42 -1
  377. package/list/list/list.component.d.ts +1 -1
  378. package/list/list-item/list-item.component.d.ts +1 -1
  379. package/list/list.d.ts +4 -0
  380. package/list/list.module.d.ts +7 -4
  381. package/list/public_api.d.ts +1 -0
  382. package/loading-icon/README.md +41 -0
  383. package/loading-icon/loading-icon/loading-icon.component.d.ts +1 -1
  384. package/loading-icon/loading-icon.d.ts +2 -0
  385. package/loading-icon/loading-icon.module.d.ts +6 -3
  386. package/loading-icon/public_api.d.ts +1 -0
  387. package/media-gallery/README.md +41 -0
  388. package/media-gallery/media-gallery/media-gallery.component.d.ts +1 -1
  389. package/media-gallery/media-gallery.d.ts +4 -0
  390. package/media-gallery/media-gallery.module.d.ts +8 -5
  391. package/media-gallery/media-renderer/media-renderer.component.d.ts +1 -1
  392. package/media-gallery/public_api.d.ts +1 -0
  393. package/media-gallery/thumbnail/thumbnail.directive.d.ts +1 -1
  394. package/menu/README.md +23 -0
  395. package/menu/menu/menu.component.d.ts +1 -1
  396. package/menu/menu-activator/menu-activator.component.d.ts +1 -1
  397. package/menu/menu-item/menu-item.component.d.ts +1 -1
  398. package/menu/menu.module.d.ts +6 -6
  399. package/menu/services/menu.service.d.ts +3 -2
  400. package/modal/README.md +41 -0
  401. package/modal/modal/modal.component.d.ts +20 -8
  402. package/modal/modal-actions/modal-actions.component.d.ts +1 -1
  403. package/modal/modal-close/modal-close.directive.d.ts +1 -1
  404. package/modal/modal-content/modal-content.component.d.ts +1 -1
  405. package/modal/modal-header/modal-header.component.d.ts +1 -1
  406. package/modal/modal-title/modal-title.directive.d.ts +1 -1
  407. package/modal/modal.d.ts +6 -0
  408. package/modal/modal.module.d.ts +15 -12
  409. package/modal/public_api.d.ts +1 -0
  410. package/navbar/README.md +41 -0
  411. package/navbar/navbar/navbar.component.d.ts +1 -4
  412. package/navbar/navbar.d.ts +2 -0
  413. package/navbar/navbar.module.d.ts +6 -2
  414. package/navbar/public_api.d.ts +1 -0
  415. package/notification/README.md +41 -0
  416. package/notification/notification/notification.component.d.ts +1 -1
  417. package/notification/notification-actions/notification-actions.directive.d.ts +1 -1
  418. package/notification/notification-message/notification-message.directive.d.ts +1 -1
  419. package/notification/notification-subtitle/notification-subtitle.directive.d.ts +1 -1
  420. package/notification/notification-title/notification-title.directive.d.ts +1 -1
  421. package/notification/notification.d.ts +7 -0
  422. package/notification/notification.module.d.ts +12 -9
  423. package/notification/public_api.d.ts +1 -0
  424. package/package.json +1 -1
  425. package/paginator/README.md +45 -4
  426. package/paginator/paginator/paginator.component.d.ts +1 -4
  427. package/paginator/paginator.d.ts +2 -0
  428. package/paginator/paginator.module.d.ts +8 -5
  429. package/paginator/public_api.d.ts +1 -0
  430. package/progress-bar/README.md +41 -0
  431. package/progress-bar/progress-bar-label/progress-bar-label.directive.d.ts +6 -0
  432. package/progress-bar/progress-bar.component.d.ts +1 -1
  433. package/progress-bar/progress-bar.d.ts +3 -0
  434. package/progress-bar/progress-bar.module.d.ts +7 -3
  435. package/progress-bar/public_api.d.ts +2 -0
  436. package/sidebar/README.md +78 -20
  437. package/sidebar/public_api.d.ts +1 -0
  438. package/sidebar/sidebar/sidebar.component.d.ts +19 -8
  439. package/sidebar/sidebar-footer/sidebar-footer.component.d.ts +1 -1
  440. package/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.d.ts +1 -1
  441. package/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.d.ts +1 -1
  442. package/sidebar/sidebar-header/sidebar-header.component.d.ts +1 -1
  443. package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +5 -17
  444. package/sidebar/sidebar-viewport/utils/content-pad.d.ts +2 -2
  445. package/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.d.ts +1 -1
  446. package/sidebar/sidebar.d.ts +8 -0
  447. package/sidebar/sidebar.module.d.ts +13 -10
  448. package/toast/README.md +108 -33
  449. package/toast/public_api.d.ts +1 -0
  450. package/toast/service/toast.service.d.ts +4 -3
  451. package/toast/src/toast-theme.scss +1 -1
  452. package/toast/toast/toast-provider.d.ts +2 -0
  453. package/toast/toast/toast-template.component.d.ts +1 -1
  454. package/toast/toast/toast.component.d.ts +1 -3
  455. package/toast/toast-actions/toast-actions.directive.d.ts +1 -1
  456. package/toast/toast-message/toast-message.directive.d.ts +1 -1
  457. package/toast/toast-title/toast-title.directive.d.ts +1 -1
  458. package/toast/toast.module.d.ts +14 -12
  459. package/tree/README.md +41 -0
  460. package/tree/public_api.d.ts +1 -2
  461. package/tree/tree/tree.component.d.ts +1 -1
  462. package/tree/tree-item/tree-item.directive.d.ts +1 -1
  463. package/tree/tree.d.ts +3 -0
  464. package/tree/tree.module.d.ts +7 -4
  465. package/accordion/examples/accordion-examples.module.d.ts +0 -9
  466. package/esm2022/accordion/examples/accordion-examples.module.mjs +0 -26
  467. package/esm2022/tree/utils/transform-in-place.mjs +0 -23
  468. package/tree/utils/transform-in-place.d.ts +0 -15
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-hero-examples.mjs","sources":["../../../libs/design/hero/examples/src/hero-theming/hero-theming.component.ts","../../../libs/design/hero/examples/src/hero-theming/hero-theming.component.html","../../../libs/design/hero/examples/src/hero-text-alignment/hero-text-alignment.component.ts","../../../libs/design/hero/examples/src/hero-text-alignment/hero-text-alignment.component.html","../../../libs/design/hero/examples/src/hero-with-grid/hero-with-grid.component.ts","../../../libs/design/hero/examples/src/hero-with-grid/hero-with-grid.component.html","../../../libs/design/hero/examples/src/compact-hero/compact-hero.component.ts","../../../libs/design/hero/examples/src/compact-hero/compact-hero.component.html","../../../libs/design/hero/examples/src/examples.ts","../../../libs/design/hero/examples/src/daffodil-design-hero-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffPalette } from '@daffodil/design';\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffHeroModule } from '@daffodil/design/hero';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-theming',\n templateUrl: './hero-theming.component.html',\n styleUrls: ['./hero-theming.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DaffHeroModule,\n FaIconComponent,\n DaffButtonModule,\n ReactiveFormsModule,\n ],\n})\nexport class HeroThemingComponent {\n faMobile = faMobile;\n color: DaffPalette = 'primary';\n\n colorControl: UntypedFormControl = new UntypedFormControl('');\n}\n","<daff-hero [color]=\"colorControl.value\">\n\t<div class=\"daff-hero-theming__icon\" daffHeroIcon>\n\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t</div>\n\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t<h1 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h1>\n\t<h2 daffHeroSubtitle>\n\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t</h2>\n\t<div daffHeroBody>\n\t\t<a href=\"https://www.daff.io\" target=\"_blank\" daff-button>Get Started</a>\n\t</div>\n</daff-hero>\n\n<select [formControl]=\"colorControl\">\n\t<option value=\"\">Default</option>\n\t<option value=\"primary\">Primary</option>\n\t<option value=\"secondary\">Secondary</option>\n\t<option value=\"tertiary\">Tertiary</option>\n\t<option value=\"white\">White</option>\n\t<option value=\"black\">Black</option>\n\t<option value=\"theme\">Theme</option>\n\t<option value=\"theme-contrast\">Theme Contrast</option>\n</select>","import { NgFor } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffContainerModule } from '@daffodil/design/container';\nimport { DaffHeroModule } from '@daffodil/design/hero';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-text-alignment',\n templateUrl: './hero-text-alignment.component.html',\n styleUrls: ['./hero-text-alignment.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DaffHeroModule,\n DaffContainerModule,\n FaIconComponent,\n DaffButtonModule,\n ReactiveFormsModule,\n NgFor,\n ],\n})\nexport class HeroTextAlignmentComponent {\n faMobile = faMobile;\n textAlignControl: UntypedFormControl = new UntypedFormControl('');\n\n options = [\n { value: '', label: 'Default' },\n { value: 'left', label: 'Left' },\n { value: 'center', label: 'Center' },\n { value: 'right', label: 'Right' },\n ];\n}\n","<daff-hero [textAlignment]=\"textAlignControl.value\">\n\t<daff-container size=\"md\">\n\t\t<div class=\"daff-hero-text-alignment__icon\" daffHeroIcon>\n\t\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t\t</div>\n\t\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t\t<h1 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h1>\n\t\t<h2 daffHeroSubtitle>\n\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t</h2>\n\t\t<div daffHeroBody>\n\t\t\t<a href=\"https://www.daff.io\" target=\"_blank\" daff-button>Get Started</a>\n\t\t</div>\n\t</daff-container>\n</daff-hero>\n\n<select [formControl]=\"textAlignControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffContainerModule } from '@daffodil/design/container';\nimport { DaffHeroModule } from '@daffodil/design/hero';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-with-grid',\n templateUrl: './hero-with-grid.component.html',\n styleUrls: ['./hero-with-grid.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DaffHeroModule,\n DaffContainerModule,\n FaIconComponent,\n DaffButtonModule,\n ],\n})\nexport class HeroWithGridComponent {\n faMobile = faMobile;\n}\n","<daff-hero color=\"theme\">\n\t<daff-container class=\"daff-hero-with-grid__grid\">\n\t\t<div class=\"daff-hero-with-grid__image\">\n\t\t\t<img src=\"/assets/design/callout/pwa-illustration.svg\" alt=\"PWA Illustration\">\n\t\t</div>\n\t\t<div class=\"daff-hero-with-grid__content-wrapper\">\n\t\t\t<div class=\"daff-hero-with-grid__icon\" daffHeroIcon>\n\t\t\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t\t\t</div>\n\t\t\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t\t\t<h3 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t\t\t<div daffHeroSubtitle>\n\t\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t\t</div>\n\t\t\t<div daffHeroBody>\n\t\t\t\t<a href=\"https://www.daff.io\" target=\"_blank\" daff-button>Get Started</a>\n\t\t\t</div>\n\t\t</div>\n\t</daff-container>\n</daff-hero>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffPalette } from '@daffodil/design';\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffHeroModule } from '@daffodil/design/hero';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'compact-hero',\n templateUrl: './compact-hero.component.html',\n styleUrls: ['./compact-hero.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DaffHeroModule,\n FaIconComponent,\n DaffButtonModule,\n ],\n})\nexport class CompactHeroComponent {\n faMobile = faMobile;\n}\n","<daff-hero [compact]=\"true\">\n\t<div class=\"daff-compact-hero__icon\" daffHeroIcon>\n\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t</div>\n\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t<h1 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h1>\n\t<h2 daffHeroSubtitle>\n\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t</h2>\n\t<div daffHeroBody>\n\t\t<a href=\"https://www.daff.io\" target=\"_blank\" daff-button>Get Started</a>\n\t</div>\n</daff-hero>","import { CompactHeroComponent } from './compact-hero/compact-hero.component';\nimport { HeroTextAlignmentComponent } from './hero-text-alignment/hero-text-alignment.component';\nimport { HeroThemingComponent } from './hero-theming/hero-theming.component';\nimport { HeroWithGridComponent } from './hero-with-grid/hero-with-grid.component';\n\nexport const HERO_EXAMPLES = [\n HeroThemingComponent,\n HeroTextAlignmentComponent,\n HeroWithGridComponent,\n CompactHeroComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i3"],"mappings":";;;;;;;;;;;;;;MA6Ba,oBAAoB,CAAA;AAdjC,IAAA,WAAA,GAAA;QAeE,IAAQ,CAAA,QAAA,GAAG,QAAQ,CAAC;QACpB,IAAK,CAAA,KAAA,GAAgB,SAAS,CAAC;AAE/B,QAAA,IAAA,CAAA,YAAY,GAAuB,IAAI,kBAAkB,CAAC,EAAE,CAAC,CAAC;AAC/D,KAAA;iIALY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,E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gB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAD,EAAA,CAAA,mBAAA,EAAA,QAAA,EAAA,yRAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGP,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAbhC,SAAS;AAEE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,cAAc,mBAGP,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EACP,OAAA,EAAA;wBACP,cAAc;wBACd,eAAe;wBACf,gBAAgB;AACjB,qBAAA,EAAA,QAAA,EAAA,8pBAAA,EAAA,MAAA,EAAA,CAAA,2NAAA,CAAA,EAAA,CAAA;;;AElBU,MAAA,aAAa,GAAG;IAC3B,oBAAoB;IACpB,0BAA0B;IAC1B,qBAAqB;IACrB,oBAAoB;;;ACTtB;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-hero-examples.mjs","sources":["../../../libs/design/hero/examples/src/hero-theming/hero-theming.component.ts","../../../libs/design/hero/examples/src/hero-theming/hero-theming.component.html","../../../libs/design/hero/examples/src/hero-text-alignment/hero-text-alignment.component.ts","../../../libs/design/hero/examples/src/hero-text-alignment/hero-text-alignment.component.html","../../../libs/design/hero/examples/src/hero-with-grid/hero-with-grid.component.ts","../../../libs/design/hero/examples/src/hero-with-grid/hero-with-grid.component.html","../../../libs/design/hero/examples/src/compact-hero/compact-hero.component.ts","../../../libs/design/hero/examples/src/compact-hero/compact-hero.component.html","../../../libs/design/hero/examples/src/examples.ts","../../../libs/design/hero/examples/src/daffodil-design-hero-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffPalette } from '@daffodil/design';\nimport { DAFF_BUTTON_COMPONENTS } from '@daffodil/design/button';\nimport { DAFF_HERO_COMPONENTS } from '@daffodil/design/hero';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-theming',\n templateUrl: './hero-theming.component.html',\n styleUrls: ['./hero-theming.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DAFF_HERO_COMPONENTS,\n FaIconComponent,\n DAFF_BUTTON_COMPONENTS,\n ReactiveFormsModule,\n ],\n})\nexport class HeroThemingComponent {\n faMobile = faMobile;\n color: DaffPalette = 'primary';\n\n colorControl: UntypedFormControl = new UntypedFormControl('');\n}\n","<daff-hero [color]=\"colorControl.value\">\n\t<div class=\"daff-hero-theming__icon\" daffHeroIcon>\n\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t</div>\n\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t<h1 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h1>\n\t<h2 daffHeroSubtitle>\n\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t</h2>\n\t<div daffHeroBody>\n\t\t<a href=\"https://www.daff.io\" target=\"_blank\" daff-button>Get Started</a>\n\t</div>\n</daff-hero>\n\n<select [formControl]=\"colorControl\">\n\t<option value=\"\">Default</option>\n\t<option value=\"primary\">Primary</option>\n\t<option value=\"secondary\">Secondary</option>\n\t<option value=\"tertiary\">Tertiary</option>\n\t<option value=\"white\">White</option>\n\t<option value=\"black\">Black</option>\n\t<option value=\"theme\">Theme</option>\n\t<option value=\"theme-contrast\">Theme Contrast</option>\n</select>","import { NgFor } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\nimport { DAFF_BUTTON_COMPONENTS } from '@daffodil/design/button';\nimport { DAFF_CONTAINER_COMPONENTS } from '@daffodil/design/container';\nimport { DAFF_HERO_COMPONENTS } from '@daffodil/design/hero';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-text-alignment',\n templateUrl: './hero-text-alignment.component.html',\n styleUrls: ['./hero-text-alignment.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DAFF_HERO_COMPONENTS,\n DAFF_CONTAINER_COMPONENTS,\n FaIconComponent,\n DAFF_BUTTON_COMPONENTS,\n ReactiveFormsModule,\n NgFor,\n ],\n})\nexport class HeroTextAlignmentComponent {\n faMobile = faMobile;\n textAlignControl: UntypedFormControl = new UntypedFormControl('');\n\n options = [\n { value: '', label: 'Default' },\n { value: 'left', label: 'Left' },\n { value: 'center', label: 'Center' },\n { value: 'right', label: 'Right' },\n ];\n}\n","<daff-hero [textAlignment]=\"textAlignControl.value\">\n\t<daff-container size=\"md\">\n\t\t<div class=\"daff-hero-text-alignment__icon\" daffHeroIcon>\n\t\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t\t</div>\n\t\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t\t<h1 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h1>\n\t\t<h2 daffHeroSubtitle>\n\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t</h2>\n\t\t<div daffHeroBody>\n\t\t\t<a href=\"https://www.daff.io\" target=\"_blank\" daff-button>Get Started</a>\n\t\t</div>\n\t</daff-container>\n</daff-hero>\n\n<select [formControl]=\"textAlignControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\nimport { DAFF_BUTTON_COMPONENTS } from '@daffodil/design/button';\nimport { DAFF_CONTAINER_COMPONENTS } from '@daffodil/design/container';\nimport { DAFF_HERO_COMPONENTS } from '@daffodil/design/hero';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-with-grid',\n templateUrl: './hero-with-grid.component.html',\n styleUrls: ['./hero-with-grid.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DAFF_HERO_COMPONENTS,\n DAFF_CONTAINER_COMPONENTS,\n FaIconComponent,\n DAFF_BUTTON_COMPONENTS,\n ],\n})\nexport class HeroWithGridComponent {\n faMobile = faMobile;\n}\n","<daff-hero color=\"theme\">\n\t<daff-container class=\"daff-hero-with-grid__grid\">\n\t\t<div class=\"daff-hero-with-grid__image\">\n\t\t\t<img src=\"/assets/design/callout/pwa-illustration.svg\" alt=\"PWA Illustration\">\n\t\t</div>\n\t\t<div class=\"daff-hero-with-grid__content-wrapper\">\n\t\t\t<div class=\"daff-hero-with-grid__icon\" daffHeroIcon>\n\t\t\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t\t\t</div>\n\t\t\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t\t\t<h3 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t\t\t<div daffHeroSubtitle>\n\t\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t\t</div>\n\t\t\t<div daffHeroBody>\n\t\t\t\t<a href=\"https://www.daff.io\" target=\"_blank\" daff-button>Get Started</a>\n\t\t\t</div>\n\t\t</div>\n\t</daff-container>\n</daff-hero>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\nimport { DAFF_BUTTON_COMPONENTS } from '@daffodil/design/button';\nimport { DAFF_HERO_COMPONENTS } from '@daffodil/design/hero';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'compact-hero',\n templateUrl: './compact-hero.component.html',\n styleUrls: ['./compact-hero.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n FaIconComponent,\n DAFF_HERO_COMPONENTS,\n DAFF_BUTTON_COMPONENTS,\n ],\n})\nexport class CompactHeroComponent {\n faMobile = faMobile;\n}\n","<daff-hero [compact]=\"true\">\n\t<div class=\"daff-compact-hero__icon\" daffHeroIcon>\n\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t</div>\n\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t<h1 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h1>\n\t<h2 daffHeroSubtitle>\n\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t</h2>\n\t<div daffHeroBody>\n\t\t<a href=\"https://www.daff.io\" target=\"_blank\" daff-button>Get Started</a>\n\t</div>\n</daff-hero>","import { CompactHeroComponent } from './compact-hero/compact-hero.component';\nimport { HeroTextAlignmentComponent } from './hero-text-alignment/hero-text-alignment.component';\nimport { HeroThemingComponent } from './hero-theming/hero-theming.component';\nimport { HeroWithGridComponent } from './hero-with-grid/hero-with-grid.component';\n\nexport const HERO_EXAMPLES = [\n HeroThemingComponent,\n HeroTextAlignmentComponent,\n HeroWithGridComponent,\n CompactHeroComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i4","i2","i3"],"mappings":";;;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,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAKN,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAbhC,SAAS;AAEE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,cAAc,mBAGP,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EACP,OAAA,EAAA;wBACP,eAAe;wBACf,oBAAoB;wBACpB,sBAAsB;AACvB,qBAAA,EAAA,QAAA,EAAA,8pBAAA,EAAA,MAAA,EAAA,CAAA,2NAAA,CAAA,EAAA,CAAA;;;AEhBU,MAAA,aAAa,GAAG;IAC3B,oBAAoB;IACpB,0BAA0B;IAC1B,qBAAqB;IACrB,oBAAoB;;;ACTtB;;AAEG;;;;"}
@@ -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;
@@ -17,11 +14,11 @@ class DaffHeroComponent {
17
14
  this.textAlignable.defaultAlignment = 'left';
18
15
  }
19
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 }); }
20
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", 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 }); }
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
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: "18.2.2", ngImpor
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']
@@ -50,12 +47,13 @@ class DaffHeroBodyDirective {
50
47
  this.class = true;
51
48
  }
52
49
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
53
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffHeroBodyDirective, selector: "[daffHeroBody]", host: { properties: { "class.daff-hero__body": "this.class" } }, ngImport: i0 }); }
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
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,
@@ -70,12 +68,13 @@ class DaffHeroIconDirective {
70
68
  this.class = true;
71
69
  }
72
70
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
73
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffHeroIconDirective, selector: "[daffHeroIcon]", host: { properties: { "class.daff-hero__icon": "this.class" } }, ngImport: i0 }); }
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
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,
@@ -90,12 +89,13 @@ class DaffHeroSubtitleDirective {
90
89
  this.class = true;
91
90
  }
92
91
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
93
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffHeroSubtitleDirective, selector: "[daffHeroSubtitle]", host: { properties: { "class.daff-hero__subtitle": "this.class" } }, ngImport: i0 }); }
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
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,
@@ -110,12 +110,13 @@ class DaffHeroTaglineDirective {
110
110
  this.class = true;
111
111
  }
112
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, selector: "[daffHeroTagline]", host: { properties: { "class.daff-hero__tagline": "this.class" } }, ngImport: i0 }); }
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
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,
@@ -130,26 +131,31 @@ class DaffHeroTitleDirective {
130
131
  this.class = true;
131
132
  }
132
133
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
133
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffHeroTitleDirective, selector: "[daffHeroTitle]", host: { properties: { "class.daff-hero__title": "this.class" } }, ngImport: i0 }); }
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
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
151
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
147
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffHeroModule, declarations: [DaffHeroComponent,
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,
@@ -162,8 +168,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
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: "18.2.2", ngImpor
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;iIAHU,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,QAAA,EAAA,IAAA,EAAA,iBAAiB,odArBlB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,yjDAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA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,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 DaffHeroBodyDirective,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAyCa,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;iIAHU,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,QAAA,EAAA,IAAA,EAAA,iBAAiB,weAtBlB,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;;2FAsB1B,iBAAiB,EAAA,UA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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
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: "ngmodule", type: DaffImageModule }, { kind: "component", type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
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
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 {
@@ -21,20 +23,25 @@ class LoadImageComponent {
21
23
  this.loaded = true;
22
24
  }
23
25
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: LoadImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
24
- /** @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: "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 }); }
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
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
37
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: SkeletonImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
33
- /** @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: "ngmodule", type: DaffImageModule }, { kind: "component", type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
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
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;iIAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;qHAAnB,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;;2FAEd,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,EAAA,CAAA;;;MEGf,kBAAkB,CAAA;AAR/B,IAAA,WAAA,GAAA;QASE,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;AAKhB,KAAA;IAHC,IAAI,GAAA;AACF,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;KACpB;iIALU,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA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AA,OAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAEd,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,QAAA,EAAA,gSAAA,EAAA,CAAA;;;MEIU,kBAAkB,CAAA;AAX/B,IAAA,WAAA,GAAA;QAYE,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;AAKhB,KAAA;IAHC,IAAI,GAAA;AACF,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;KACpB;iIALU,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eA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AA,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;;;;"}
@@ -82,7 +82,7 @@ class DaffImageComponent {
82
82
  return this.width + 'px';
83
83
  }
84
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, selector: "daff-image", inputs: { src: "src", alt: "alt", width: "width", height: "height" }, outputs: { load: "load" }, host: { properties: { "style.max-width": "this.maxWidth" } }, providers: [
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,
@@ -99,7 +99,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
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: "18.2.2", ngImpor
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
122
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffImageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
120
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffImageModule, declarations: [DaffImageComponent], imports: [CommonModule], exports: [DaffImageComponent] }); }
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] }); }
121
125
  /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffImageModule, imports: [CommonModule] }); }
122
126
  }
123
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: "18.2.2", ngImpor
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 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 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@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,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,QAAA,IAAI;AACF,YAAA,gBAAgB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;SAChC;QAAC,OAAM,CA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,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,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,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YANxB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAMH,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,QAAA,IAAI;AACF,YAAA,gBAAgB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;SAChC;QAAC,OAAM,CAAC,EAAE;AACT,YAAA,OAAO,IAAI,CAAC;SACb;AACD,QAAA,OAAO,KAAK,CAAC;AACf,KAAC,CAAC,CAAC;AAEH,IAAA,IAAI,YAAY,CAAC,MAAM,EAAE;AACvB,QAAA,MAAM,IAAI,KAAK,CAAC,CAAA,iCAAA,EAAoC,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAsB,oBAAA,CAAA,CAAC,CAAC;KACnG;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