@daffodil/design 0.74.0 → 0.75.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 (579) hide show
  1. package/accordion/accordion/accordion/accordion.component.d.ts +3 -19
  2. package/article/README.md +19 -13
  3. package/article/examples/article-blockquote/article-blockquote.component.d.ts +1 -1
  4. package/article/examples/article-code-block/article-code-block.component.d.ts +1 -1
  5. package/article/examples/article-code-inline/article-code-inline.component.d.ts +1 -1
  6. package/article/examples/article-headings/article-headings.component.d.ts +1 -1
  7. package/article/examples/article-hr/article-hr.component.d.ts +1 -1
  8. package/article/examples/article-link/article-link.component.d.ts +1 -1
  9. package/article/examples/article-meta/article-meta.component.d.ts +1 -1
  10. package/article/examples/article-ol/article-ol.component.d.ts +1 -1
  11. package/article/examples/article-table/article-table.component.d.ts +1 -1
  12. package/article/examples/article-ul/article-ul.component.d.ts +1 -1
  13. package/article/examples/public_api.d.ts +0 -1
  14. package/button/button/button-sizable.directive.d.ts +10 -0
  15. package/button/button/button.component.d.ts +17 -27
  16. package/button/examples/basic-button/basic-button.component.d.ts +1 -1
  17. package/button/examples/flat-button/flat-button.component.d.ts +1 -1
  18. package/button/examples/icon-button/icon-button.component.d.ts +1 -1
  19. package/button/examples/public_api.d.ts +0 -8
  20. package/button/examples/raised-button/raised-button.component.d.ts +1 -1
  21. package/button/examples/sizeable-button/sizeable-button.component.d.ts +1 -1
  22. package/button/examples/statusable-button/statusable-button.component.d.ts +1 -1
  23. package/button/examples/stroked-button/stroked-button.component.d.ts +1 -1
  24. package/button/examples/underline-button/underline-button.component.d.ts +1 -1
  25. package/button/public_api.d.ts +1 -0
  26. package/callout/callout/callout.component.d.ts +6 -38
  27. package/callout/examples/callout-text-alignment/callout-text-alignment.component.d.ts +1 -1
  28. package/callout/examples/callout-theming/callout-theming.component.d.ts +1 -1
  29. package/callout/examples/callout-with-grid/callout-with-grid.component.d.ts +1 -1
  30. package/callout/examples/compact-callout/compact-callout.component.d.ts +1 -1
  31. package/callout/examples/public_api.d.ts +0 -4
  32. package/card/card/card.component.d.ts +3 -21
  33. package/card/examples/basic-card/basic-card.component.d.ts +1 -1
  34. package/card/examples/card-orientation/card-orientation.component.d.ts +1 -1
  35. package/card/examples/card-theming/card-theming.component.d.ts +1 -1
  36. package/card/examples/linkable-card/linkable-card.component.d.ts +1 -1
  37. package/card/examples/public_api.d.ts +0 -6
  38. package/card/examples/raised-card/raised-card.component.d.ts +1 -1
  39. package/card/examples/stroked-card/stroked-card.component.d.ts +1 -1
  40. package/checkbox/examples/basic-checkbox/basic-checkbox.component.d.ts +1 -1
  41. package/checkbox/examples/checkbox-set/checkbox-set.component.d.ts +1 -1
  42. package/checkbox/examples/examples.d.ts +0 -2
  43. package/checkbox/examples/public_api.d.ts +0 -1
  44. package/container/container/container.component.d.ts +3 -22
  45. package/container/examples/container-sizes/container-sizes.component.d.ts +1 -1
  46. package/container/examples/public_api.d.ts +0 -1
  47. package/core/article-encapsulated/article-encapsulated.directive.d.ts +19 -0
  48. package/core/article-encapsulated/public_api.d.ts +1 -1
  49. package/core/breakpoints/noop.service.d.ts +13 -0
  50. package/core/breakpoints/provider.d.ts +6 -0
  51. package/core/breakpoints/public_api.d.ts +3 -0
  52. package/core/colorable/colorable.d.ts +36 -2
  53. package/core/colorable/colorable.directive.d.ts +55 -0
  54. package/core/colorable/public_api.d.ts +1 -1
  55. package/core/compactable/compactable.directive.d.ts +25 -0
  56. package/core/compactable/public_api.d.ts +1 -1
  57. package/core/manage-container-layout/manage-container-layout.directive.d.ts +29 -0
  58. package/core/manage-container-layout/public_api.d.ts +1 -1
  59. package/core/public_api.d.ts +1 -1
  60. package/core/sizable/public_api.d.ts +1 -1
  61. package/core/sizable/sizable.d.ts +4 -2
  62. package/core/sizable/sizable.directive.d.ts +38 -0
  63. package/core/skeletonable/public_api.d.ts +1 -1
  64. package/core/skeletonable/skeletonable.d.ts +0 -1
  65. package/core/skeletonable/skeletonable.directive.d.ts +17 -0
  66. package/core/statusable/public_api.d.ts +1 -1
  67. package/core/statusable/statusable.d.ts +16 -0
  68. package/core/statusable/statusable.directive.d.ts +38 -0
  69. package/core/text-alignable/public_api.d.ts +1 -1
  70. package/core/text-alignable/text-alignable.d.ts +1 -2
  71. package/core/text-alignable/text-alignable.directive.d.ts +42 -0
  72. package/esm2022/accordion/accordion/accordion/accordion.component.mjs +11 -23
  73. package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +4 -3
  74. package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +4 -3
  75. package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +4 -3
  76. package/esm2022/article/examples/article-headings/article-headings.component.mjs +3 -3
  77. package/esm2022/article/examples/article-hr/article-hr.component.mjs +4 -3
  78. package/esm2022/article/examples/article-link/article-link.component.mjs +4 -3
  79. package/esm2022/article/examples/article-meta/article-meta.component.mjs +4 -3
  80. package/esm2022/article/examples/article-ol/article-ol.component.mjs +4 -3
  81. package/esm2022/article/examples/article-table/article-table.component.mjs +4 -3
  82. package/esm2022/article/examples/article-ul/article-ul.component.mjs +4 -3
  83. package/esm2022/article/examples/public_api.mjs +1 -2
  84. package/esm2022/button/button/button-sizable.directive.mjs +14 -0
  85. package/esm2022/button/button/button.component.mjs +32 -10
  86. package/esm2022/button/examples/basic-button/basic-button.component.mjs +10 -4
  87. package/esm2022/button/examples/flat-button/flat-button.component.mjs +10 -4
  88. package/esm2022/button/examples/icon-button/icon-button.component.mjs +5 -4
  89. package/esm2022/button/examples/public_api.mjs +1 -9
  90. package/esm2022/button/examples/raised-button/raised-button.component.mjs +10 -4
  91. package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +5 -4
  92. package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +5 -4
  93. package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +10 -4
  94. package/esm2022/button/examples/underline-button/underline-button.component.mjs +10 -4
  95. package/esm2022/button/public_api.mjs +2 -1
  96. package/esm2022/callout/callout/callout.component.mjs +28 -22
  97. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +20 -10
  98. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +17 -9
  99. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +12 -4
  100. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +12 -4
  101. package/esm2022/callout/examples/public_api.mjs +1 -5
  102. package/esm2022/card/card/card.component.mjs +12 -16
  103. package/esm2022/card/examples/basic-card/basic-card.component.mjs +12 -4
  104. package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +20 -10
  105. package/esm2022/card/examples/card-theming/card-theming.component.mjs +11 -6
  106. package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +15 -8
  107. package/esm2022/card/examples/public_api.mjs +1 -7
  108. package/esm2022/card/examples/raised-card/raised-card.component.mjs +15 -8
  109. package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +15 -8
  110. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +12 -6
  111. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +12 -7
  112. package/esm2022/checkbox/examples/examples.mjs +1 -7
  113. package/esm2022/checkbox/examples/public_api.mjs +1 -2
  114. package/esm2022/container/container/container.component.mjs +15 -22
  115. package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +11 -6
  116. package/esm2022/container/examples/public_api.mjs +1 -2
  117. package/esm2022/core/article-encapsulated/article-encapsulated.directive.mjs +33 -0
  118. package/esm2022/core/article-encapsulated/public_api.mjs +2 -2
  119. package/esm2022/core/breakpoints/noop.service.mjs +25 -0
  120. package/esm2022/core/breakpoints/provider.mjs +13 -0
  121. package/esm2022/core/breakpoints/public_api.mjs +4 -0
  122. package/esm2022/core/colorable/colorable.directive.mjs +77 -0
  123. package/esm2022/core/colorable/colorable.mjs +37 -2
  124. package/esm2022/core/colorable/public_api.mjs +2 -2
  125. package/esm2022/core/compactable/compactable.directive.mjs +41 -0
  126. package/esm2022/core/compactable/public_api.mjs +2 -2
  127. package/esm2022/core/manage-container-layout/manage-container-layout.directive.mjs +43 -0
  128. package/esm2022/core/manage-container-layout/public_api.mjs +2 -2
  129. package/esm2022/core/public_api.mjs +2 -2
  130. package/esm2022/core/sizable/public_api.mjs +2 -2
  131. package/esm2022/core/sizable/sizable.directive.mjs +53 -0
  132. package/esm2022/core/sizable/sizable.mjs +2 -3
  133. package/esm2022/core/skeletonable/public_api.mjs +2 -2
  134. package/esm2022/core/skeletonable/skeletonable.directive.mjs +33 -0
  135. package/esm2022/core/skeletonable/skeletonable.mjs +1 -1
  136. package/esm2022/core/statusable/public_api.mjs +2 -2
  137. package/esm2022/core/statusable/statusable.directive.mjs +50 -0
  138. package/esm2022/core/statusable/statusable.mjs +4 -1
  139. package/esm2022/core/text-alignable/public_api.mjs +2 -2
  140. package/esm2022/core/text-alignable/text-alignable.directive.mjs +53 -0
  141. package/esm2022/core/text-alignable/text-alignable.mjs +1 -1
  142. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +10 -4
  143. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +20 -10
  144. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +15 -8
  145. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +12 -4
  146. package/esm2022/hero/examples/public_api.mjs +1 -5
  147. package/esm2022/hero/hero/hero.component.mjs +28 -22
  148. package/esm2022/image/examples/basic-image/basic-image.component.mjs +4 -3
  149. package/esm2022/image/examples/load-image/load-image.component.mjs +6 -5
  150. package/esm2022/image/examples/public_api.mjs +4 -7
  151. package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +4 -3
  152. package/esm2022/image/image/image.component.mjs +14 -23
  153. package/esm2022/input/examples/basic-input/basic-input.component.mjs +4 -3
  154. package/esm2022/input/examples/examples.mjs +5 -9
  155. package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +4 -3
  156. package/esm2022/input/examples/input-error/input-error.component.mjs +9 -4
  157. package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +4 -3
  158. package/esm2022/link-set/link-set/link-set.component.mjs +12 -22
  159. package/esm2022/list/examples/basic-list/basic-list.component.mjs +4 -3
  160. package/esm2022/list/examples/icon-list/icon-list.component.mjs +10 -4
  161. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +4 -3
  162. package/esm2022/list/examples/nav-list/nav-list.component.mjs +10 -4
  163. package/esm2022/list/examples/public_api.mjs +1 -2
  164. package/esm2022/list/list/list.component.mjs +12 -21
  165. package/esm2022/loading-icon/examples/examples.mjs +1 -3
  166. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +12 -7
  167. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +4 -3
  168. package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +21 -28
  169. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +7 -5
  170. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +7 -5
  171. package/esm2022/media-gallery/examples/public_api.mjs +1 -4
  172. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +7 -5
  173. package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +17 -23
  174. package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +5 -3
  175. package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +5 -4
  176. package/esm2022/menu/examples/public_api.mjs +2 -3
  177. package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +5 -4
  178. package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +5 -3
  179. package/esm2022/modal/examples/public_api.mjs +2 -3
  180. package/esm2022/modal/modal/modal.component.mjs +42 -6
  181. package/esm2022/modal/modal-actions/modal-actions.component.mjs +15 -5
  182. package/esm2022/modal/modal-close/modal-close.directive.mjs +47 -0
  183. package/esm2022/modal/modal-content/modal-content.component.mjs +15 -5
  184. package/esm2022/modal/modal-header/modal-header.component.mjs +16 -4
  185. package/esm2022/modal/modal-title/modal-title.directive.mjs +33 -6
  186. package/esm2022/modal/modal.module.mjs +18 -5
  187. package/esm2022/modal/public_api.mjs +2 -1
  188. package/esm2022/modal/service/modal.service.mjs +3 -2
  189. package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +5 -3
  190. package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +12 -5
  191. package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +15 -8
  192. package/esm2022/navbar/examples/public_api.mjs +1 -5
  193. package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +5 -3
  194. package/esm2022/navbar/navbar/navbar.component.mjs +22 -28
  195. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +16 -8
  196. package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +14 -7
  197. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +15 -6
  198. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +19 -9
  199. package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +14 -8
  200. package/esm2022/notification/examples/public_api.mjs +6 -11
  201. package/esm2022/notification/notification/notification.component.mjs +31 -36
  202. package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +6 -3
  203. package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +8 -4
  204. package/esm2022/paginator/examples/public_api.mjs +1 -2
  205. package/esm2022/paginator/paginator/paginator.component.mjs +1 -1
  206. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +4 -3
  207. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +4 -3
  208. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +5 -4
  209. package/esm2022/progress-bar/examples/public_api.mjs +4 -7
  210. package/esm2022/progress-bar/progress-bar.component.mjs +18 -23
  211. package/esm2022/public_api.mjs +1 -3
  212. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +11 -6
  213. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +11 -6
  214. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +11 -6
  215. package/esm2022/quantity-field/examples/public_api.mjs +1 -5
  216. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +11 -6
  217. package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +5 -4
  218. package/esm2022/radio/examples/examples.mjs +1 -5
  219. package/esm2022/radio/examples/public_api.mjs +1 -2
  220. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +4 -3
  221. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +15 -8
  222. package/esm2022/sidebar/examples/public_api.mjs +5 -9
  223. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +5 -3
  224. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +4 -3
  225. package/esm2022/toast/examples/default-toast/default-toast.component.mjs +4 -3
  226. package/esm2022/toast/examples/public_api.mjs +5 -9
  227. package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +22 -5
  228. package/esm2022/toast/examples/toast-status/toast-status.component.mjs +5 -4
  229. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +4 -3
  230. package/esm2022/toast/toast/toast-template.component.mjs +2 -2
  231. package/esm2022/toast/toast/toast.component.mjs +16 -22
  232. package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +6 -5
  233. package/esm2022/tree/examples/public_api.mjs +1 -2
  234. package/esm2022/tree/tree/tree.component.mjs +13 -23
  235. package/fesm2022/daffodil-design-accordion.mjs +9 -21
  236. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  237. package/fesm2022/daffodil-design-article-examples.mjs +22 -43
  238. package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
  239. package/fesm2022/daffodil-design-button-examples.mjs +41 -205
  240. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
  241. package/fesm2022/daffodil-design-button.mjs +42 -11
  242. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  243. package/fesm2022/daffodil-design-callout-examples.mjs +29 -130
  244. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  245. package/fesm2022/daffodil-design-callout.mjs +25 -20
  246. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  247. package/fesm2022/daffodil-design-card-examples.mjs +39 -209
  248. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
  249. package/fesm2022/daffodil-design-card.mjs +11 -15
  250. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  251. package/fesm2022/daffodil-design-checkbox-examples.mjs +14 -64
  252. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
  253. package/fesm2022/daffodil-design-container-examples.mjs +9 -32
  254. package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
  255. package/fesm2022/daffodil-design-container.mjs +13 -20
  256. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  257. package/fesm2022/daffodil-design-hero-examples.mjs +27 -136
  258. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  259. package/fesm2022/daffodil-design-hero.mjs +25 -20
  260. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  261. package/fesm2022/daffodil-design-image-examples.mjs +11 -75
  262. package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
  263. package/fesm2022/daffodil-design-image.mjs +12 -21
  264. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  265. package/fesm2022/daffodil-design-input-examples.mjs +15 -94
  266. package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
  267. package/fesm2022/daffodil-design-link-set.mjs +10 -20
  268. package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
  269. package/fesm2022/daffodil-design-list-examples.mjs +20 -140
  270. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
  271. package/fesm2022/daffodil-design-list.mjs +12 -21
  272. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  273. package/fesm2022/daffodil-design-loading-icon-examples.mjs +10 -53
  274. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
  275. package/fesm2022/daffodil-design-loading-icon.mjs +19 -26
  276. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
  277. package/fesm2022/daffodil-design-media-gallery-examples.mjs +10 -82
  278. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
  279. package/fesm2022/daffodil-design-media-gallery.mjs +14 -20
  280. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  281. package/fesm2022/daffodil-design-menu-examples.mjs +10 -39
  282. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
  283. package/fesm2022/daffodil-design-modal-examples.mjs +8 -33
  284. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
  285. package/fesm2022/daffodil-design-modal.mjs +169 -23
  286. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  287. package/fesm2022/daffodil-design-navbar-examples.mjs +20 -113
  288. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
  289. package/fesm2022/daffodil-design-navbar.mjs +20 -26
  290. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  291. package/fesm2022/daffodil-design-notification-examples.mjs +41 -164
  292. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  293. package/fesm2022/daffodil-design-notification.mjs +29 -34
  294. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  295. package/fesm2022/daffodil-design-paginator-examples.mjs +12 -28
  296. package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
  297. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  298. package/fesm2022/daffodil-design-progress-bar-examples.mjs +10 -73
  299. package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
  300. package/fesm2022/daffodil-design-progress-bar.mjs +16 -21
  301. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  302. package/fesm2022/daffodil-design-quantity-field-examples.mjs +25 -126
  303. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
  304. package/fesm2022/daffodil-design-radio-examples.mjs +4 -31
  305. package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -1
  306. package/fesm2022/daffodil-design-sidebar-examples.mjs +22 -130
  307. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
  308. package/fesm2022/daffodil-design-toast-examples.mjs +20 -142
  309. package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
  310. package/fesm2022/daffodil-design-toast.mjs +15 -21
  311. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  312. package/fesm2022/daffodil-design-tree-examples.mjs +6 -34
  313. package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
  314. package/fesm2022/daffodil-design-tree.mjs +11 -21
  315. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  316. package/fesm2022/daffodil-design.mjs +404 -199
  317. package/fesm2022/daffodil-design.mjs.map +1 -1
  318. package/hero/examples/compact-hero/compact-hero.component.d.ts +1 -1
  319. package/hero/examples/hero-text-alignment/hero-text-alignment.component.d.ts +1 -1
  320. package/hero/examples/hero-theming/hero-theming.component.d.ts +1 -1
  321. package/hero/examples/hero-with-grid/hero-with-grid.component.d.ts +1 -1
  322. package/hero/examples/public_api.d.ts +0 -4
  323. package/hero/hero/hero.component.d.ts +6 -38
  324. package/image/examples/basic-image/basic-image.component.d.ts +1 -1
  325. package/image/examples/load-image/load-image.component.d.ts +1 -1
  326. package/image/examples/public_api.d.ts +2 -2
  327. package/image/examples/skeleton-image/skeleton-image.component.d.ts +1 -1
  328. package/image/image/image.component.d.ts +5 -22
  329. package/input/examples/basic-input/basic-input.component.d.ts +1 -1
  330. package/input/examples/examples.d.ts +2 -2
  331. package/input/examples/input-disabled/input-disabled.component.d.ts +1 -1
  332. package/input/examples/input-error/input-error.component.d.ts +1 -1
  333. package/input/examples/input-with-form-field/input-with-form-field.component.d.ts +1 -1
  334. package/link-set/link-set/link-set.component.d.ts +3 -22
  335. package/list/examples/basic-list/basic-list.component.d.ts +1 -1
  336. package/list/examples/icon-list/icon-list.component.d.ts +1 -1
  337. package/list/examples/multiline-list/multiline-list.component.d.ts +1 -1
  338. package/list/examples/nav-list/nav-list.component.d.ts +1 -1
  339. package/list/examples/public_api.d.ts +0 -1
  340. package/list/list/list.component.d.ts +5 -18
  341. package/loading-icon/examples/examples.d.ts +0 -2
  342. package/loading-icon/examples/loading-icon-color/loading-icon-color.component.d.ts +1 -1
  343. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.d.ts +1 -1
  344. package/loading-icon/loading-icon/loading-icon.component.d.ts +3 -22
  345. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.d.ts +1 -1
  346. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.d.ts +1 -1
  347. package/media-gallery/examples/public_api.d.ts +0 -3
  348. package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.d.ts +1 -1
  349. package/media-gallery/media-gallery/media-gallery.component.d.ts +5 -25
  350. package/menu/examples/basic-menu/basic-menu.component.d.ts +1 -1
  351. package/menu/examples/basic-menu/menu-content/menu-content.component.d.ts +1 -1
  352. package/menu/examples/public_api.d.ts +2 -2
  353. package/modal/README.md +22 -37
  354. package/modal/examples/basic-modal/basic-modal.component.d.ts +1 -1
  355. package/modal/examples/basic-modal/modal-content.component.d.ts +1 -1
  356. package/modal/examples/public_api.d.ts +2 -2
  357. package/modal/modal/modal.component.d.ts +17 -1
  358. package/modal/modal-actions/modal-actions.component.d.ts +1 -0
  359. package/modal/modal-close/modal-close.directive.d.ts +24 -0
  360. package/modal/modal-content/modal-content.component.d.ts +1 -0
  361. package/modal/modal-header/modal-header.component.d.ts +6 -1
  362. package/modal/modal-title/modal-title.directive.d.ts +12 -1
  363. package/modal/modal.module.d.ts +7 -4
  364. package/modal/public_api.d.ts +1 -0
  365. package/navbar/examples/basic-navbar/basic-navbar.component.d.ts +1 -1
  366. package/navbar/examples/contained-navbar/contained-navbar.component.d.ts +1 -1
  367. package/navbar/examples/navbar-theming/navbar-theming.component.d.ts +1 -1
  368. package/navbar/examples/public_api.d.ts +0 -4
  369. package/navbar/examples/raised-navbar/raised-navbar.component.d.ts +1 -1
  370. package/navbar/navbar/navbar.component.d.ts +3 -25
  371. package/notification/examples/default-notification/default-notification.component.d.ts +1 -1
  372. package/notification/examples/dismissible-notification/dismissible-notification.component.d.ts +1 -1
  373. package/notification/examples/notification-orientations/notification-orientations.component.d.ts +1 -1
  374. package/notification/examples/notification-status/notification-status.component.d.ts +1 -1
  375. package/notification/examples/notification-with-actions/notification-with-actions.component.d.ts +1 -1
  376. package/notification/examples/public_api.d.ts +6 -2
  377. package/notification/notification/notification.component.d.ts +7 -25
  378. package/notification/src/notification-theme.scss +1 -1
  379. package/package.json +1 -1
  380. package/paginator/examples/basic-paginator/basic-paginator.component.d.ts +1 -1
  381. package/paginator/examples/link-paginator/link-paginator.component.d.ts +1 -1
  382. package/paginator/examples/public_api.d.ts +0 -1
  383. package/progress-bar/examples/progress-bar-default/progress-bar-default.component.d.ts +1 -1
  384. package/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.d.ts +1 -1
  385. package/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.d.ts +1 -1
  386. package/progress-bar/examples/public_api.d.ts +2 -2
  387. package/progress-bar/progress-bar.component.d.ts +7 -22
  388. package/public_api.d.ts +0 -1
  389. package/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.d.ts +1 -1
  390. package/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.d.ts +1 -1
  391. package/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.d.ts +1 -1
  392. package/quantity-field/examples/public_api.d.ts +0 -4
  393. package/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.d.ts +1 -1
  394. package/radio/examples/basic-radio/basic-radio.component.d.ts +1 -1
  395. package/radio/examples/examples.d.ts +0 -2
  396. package/radio/examples/public_api.d.ts +0 -1
  397. package/scss/state/skeleton/_mixins.scss +1 -1
  398. package/sidebar/examples/basic-sidebar/basic-sidebar.component.d.ts +1 -1
  399. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.d.ts +1 -1
  400. package/sidebar/examples/public_api.d.ts +2 -2
  401. package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.d.ts +1 -1
  402. package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.d.ts +1 -1
  403. package/toast/examples/default-toast/default-toast.component.d.ts +1 -1
  404. package/toast/examples/public_api.d.ts +5 -2
  405. package/toast/examples/toast-positions/toast-positions.component.d.ts +1 -1
  406. package/toast/examples/toast-status/toast-status.component.d.ts +1 -1
  407. package/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.d.ts +1 -1
  408. package/toast/toast/toast.component.d.ts +7 -25
  409. package/tree/examples/basic-tree/basic-tree.component.d.ts +1 -1
  410. package/tree/examples/public_api.d.ts +0 -1
  411. package/tree/tree/tree.component.d.ts +5 -19
  412. package/article/examples/article-examples.module.d.ts +0 -18
  413. package/button/examples/basic-button/basic-button.module.d.ts +0 -9
  414. package/button/examples/flat-button/flat-button.module.d.ts +0 -9
  415. package/button/examples/icon-button/icon-button.module.d.ts +0 -9
  416. package/button/examples/raised-button/raised-button.module.d.ts +0 -9
  417. package/button/examples/sizeable-button/sizeable-button.module.d.ts +0 -9
  418. package/button/examples/statusable-button/statusable-button.module.d.ts +0 -9
  419. package/button/examples/stroked-button/stroked-button.module.d.ts +0 -9
  420. package/button/examples/underline-button/underline-button.module.d.ts +0 -9
  421. package/callout/examples/callout-text-alignment/callout-text-alignment.module.d.ts +0 -13
  422. package/callout/examples/callout-theming/callout-theming.module.d.ts +0 -12
  423. package/callout/examples/callout-with-grid/callout-with-grid.module.d.ts +0 -13
  424. package/callout/examples/compact-callout/compact-callout.module.d.ts +0 -12
  425. package/card/examples/basic-card/basic-card.module.d.ts +0 -12
  426. package/card/examples/card-orientation/card-orientation.module.d.ts +0 -13
  427. package/card/examples/card-theming/card-theming.module.d.ts +0 -11
  428. package/card/examples/linkable-card/linkable-card.module.d.ts +0 -13
  429. package/card/examples/raised-card/raised-card.module.d.ts +0 -12
  430. package/card/examples/stroked-card/stroked-card.module.d.ts +0 -13
  431. package/checkbox/examples/basic-checkbox/basic-checkbox.module.d.ts +0 -10
  432. package/checkbox/examples/checkbox-set/checkbox-set.module.d.ts +0 -10
  433. package/container/examples/container-sizes/container-sizes.module.d.ts +0 -10
  434. package/core/article-encapsulated/article-encapsulated-mixin.d.ts +0 -15
  435. package/core/colorable/color-in-palette.d.ts +0 -1
  436. package/core/colorable/colorable-enum.d.ts +0 -10
  437. package/core/colorable/colorable-mixin.d.ts +0 -23
  438. package/core/compactable/compactable-mixin.d.ts +0 -14
  439. package/core/manage-container-layout/manage-container-layout-mixin.d.ts +0 -17
  440. package/core/sizable/sizable-mixin.d.ts +0 -15
  441. package/core/skeletonable/skeletonable-mixin.d.ts +0 -15
  442. package/core/statusable/statusable-mixin.d.ts +0 -16
  443. package/core/text-alignable/text-alignable-mixin.d.ts +0 -19
  444. package/esm2022/article/examples/article-examples.module.mjs +0 -35
  445. package/esm2022/button/examples/basic-button/basic-button.module.mjs +0 -28
  446. package/esm2022/button/examples/flat-button/flat-button.module.mjs +0 -28
  447. package/esm2022/button/examples/icon-button/icon-button.module.mjs +0 -28
  448. package/esm2022/button/examples/raised-button/raised-button.module.mjs +0 -28
  449. package/esm2022/button/examples/sizeable-button/sizeable-button.module.mjs +0 -28
  450. package/esm2022/button/examples/statusable-button/statusable-button.module.mjs +0 -28
  451. package/esm2022/button/examples/stroked-button/stroked-button.module.mjs +0 -28
  452. package/esm2022/button/examples/underline-button/underline-button.module.mjs +0 -28
  453. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +0 -41
  454. package/esm2022/callout/examples/callout-theming/callout-theming.module.mjs +0 -37
  455. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.module.mjs +0 -41
  456. package/esm2022/callout/examples/compact-callout/compact-callout.module.mjs +0 -37
  457. package/esm2022/card/examples/basic-card/basic-card.module.mjs +0 -40
  458. package/esm2022/card/examples/card-orientation/card-orientation.module.mjs +0 -44
  459. package/esm2022/card/examples/card-theming/card-theming.module.mjs +0 -36
  460. package/esm2022/card/examples/linkable-card/linkable-card.module.mjs +0 -44
  461. package/esm2022/card/examples/raised-card/raised-card.module.mjs +0 -40
  462. package/esm2022/card/examples/stroked-card/stroked-card.module.mjs +0 -44
  463. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +0 -33
  464. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.module.mjs +0 -33
  465. package/esm2022/container/examples/container-sizes/container-sizes.module.mjs +0 -32
  466. package/esm2022/core/article-encapsulated/article-encapsulated-mixin.mjs +0 -12
  467. package/esm2022/core/colorable/color-in-palette.mjs +0 -5
  468. package/esm2022/core/colorable/colorable-enum.mjs +0 -12
  469. package/esm2022/core/colorable/colorable-mixin.mjs +0 -42
  470. package/esm2022/core/compactable/compactable-mixin.mjs +0 -26
  471. package/esm2022/core/manage-container-layout/manage-container-layout-mixin.mjs +0 -14
  472. package/esm2022/core/sizable/sizable-mixin.mjs +0 -31
  473. package/esm2022/core/skeletonable/skeletonable-mixin.mjs +0 -26
  474. package/esm2022/core/statusable/statusable-mixin.mjs +0 -32
  475. package/esm2022/core/text-alignable/text-alignable-mixin.mjs +0 -35
  476. package/esm2022/examples/examples.mjs +0 -2
  477. package/esm2022/examples/public_api.mjs +0 -2
  478. package/esm2022/hero/examples/compact-hero/compact-hero.module.mjs +0 -40
  479. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +0 -41
  480. package/esm2022/hero/examples/hero-theming/hero-theming.module.mjs +0 -40
  481. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.module.mjs +0 -41
  482. package/esm2022/image/examples/basic-image/basic-image.module.mjs +0 -24
  483. package/esm2022/image/examples/load-image/load-image.module.mjs +0 -28
  484. package/esm2022/image/examples/skeleton-image/skeleton-image.module.mjs +0 -24
  485. package/esm2022/input/examples/basic-input/basic-input.module.mjs +0 -24
  486. package/esm2022/input/examples/input-disabled/input-disabled.module.mjs +0 -24
  487. package/esm2022/input/examples/input-error/input-error.module.mjs +0 -28
  488. package/esm2022/input/examples/input-with-form-field/input-with-form-field.module.mjs +0 -24
  489. package/esm2022/list/examples/basic-list/basic-list.module.mjs +0 -28
  490. package/esm2022/list/examples/icon-list/icon-list.module.mjs +0 -32
  491. package/esm2022/list/examples/list-examples.module.mjs +0 -33
  492. package/esm2022/list/examples/multiline-list/multiline-list.module.mjs +0 -32
  493. package/esm2022/list/examples/nav-list/nav-list.module.mjs +0 -32
  494. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +0 -32
  495. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +0 -24
  496. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +0 -29
  497. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +0 -29
  498. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +0 -29
  499. package/esm2022/menu/examples/basic-menu/basic-menu.module.mjs +0 -35
  500. package/esm2022/modal/examples/basic-modal/basic-modal.module.mjs +0 -31
  501. package/esm2022/navbar/examples/basic-navbar/basic-navbar.module.mjs +0 -33
  502. package/esm2022/navbar/examples/contained-navbar/contained-navbar.module.mjs +0 -33
  503. package/esm2022/navbar/examples/navbar-theming/navbar-theming.module.mjs +0 -33
  504. package/esm2022/navbar/examples/raised-navbar/raised-navbar.module.mjs +0 -29
  505. package/esm2022/notification/examples/default-notification/default-notification.module.mjs +0 -36
  506. package/esm2022/notification/examples/dismissible-notification/dismissible-notification.module.mjs +0 -36
  507. package/esm2022/notification/examples/notification-orientations/notification-orientations.module.mjs +0 -40
  508. package/esm2022/notification/examples/notification-status/notification-status.module.mjs +0 -40
  509. package/esm2022/notification/examples/notification-with-actions/notification-with-actions.module.mjs +0 -36
  510. package/esm2022/paginator/examples/paginator-examples.module.mjs +0 -27
  511. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.module.mjs +0 -24
  512. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.module.mjs +0 -24
  513. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.module.mjs +0 -28
  514. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +0 -35
  515. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +0 -35
  516. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +0 -35
  517. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +0 -35
  518. package/esm2022/radio/examples/basic-radio/basic-radio.module.mjs +0 -29
  519. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +0 -32
  520. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.mjs +0 -44
  521. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.mjs +0 -32
  522. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.mjs +0 -28
  523. package/esm2022/toast/examples/default-toast/default-toast.module.mjs +0 -36
  524. package/esm2022/toast/examples/toast-positions/toast-positions.module.mjs +0 -57
  525. package/esm2022/toast/examples/toast-status/toast-status.module.mjs +0 -40
  526. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.module.mjs +0 -32
  527. package/esm2022/tree/examples/basic-tree/basic-tree.module.mjs +0 -32
  528. package/examples/examples.d.ts +0 -12
  529. package/examples/public_api.d.ts +0 -1
  530. package/hero/examples/compact-hero/compact-hero.module.d.ts +0 -12
  531. package/hero/examples/hero-text-alignment/hero-text-alignment.module.d.ts +0 -13
  532. package/hero/examples/hero-theming/hero-theming.module.d.ts +0 -12
  533. package/hero/examples/hero-with-grid/hero-with-grid.module.d.ts +0 -13
  534. package/image/examples/basic-image/basic-image.module.d.ts +0 -8
  535. package/image/examples/load-image/load-image.module.d.ts +0 -9
  536. package/image/examples/skeleton-image/skeleton-image.module.d.ts +0 -8
  537. package/input/examples/basic-input/basic-input.module.d.ts +0 -8
  538. package/input/examples/input-disabled/input-disabled.module.d.ts +0 -8
  539. package/input/examples/input-error/input-error.module.d.ts +0 -9
  540. package/input/examples/input-with-form-field/input-with-form-field.module.d.ts +0 -8
  541. package/list/examples/basic-list/basic-list.module.d.ts +0 -9
  542. package/list/examples/icon-list/icon-list.module.d.ts +0 -10
  543. package/list/examples/list-examples.module.d.ts +0 -11
  544. package/list/examples/multiline-list/multiline-list.module.d.ts +0 -10
  545. package/list/examples/nav-list/nav-list.module.d.ts +0 -10
  546. package/loading-icon/examples/loading-icon-color/loading-icon-color.module.d.ts +0 -10
  547. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.d.ts +0 -8
  548. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.d.ts +0 -9
  549. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.d.ts +0 -9
  550. package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.d.ts +0 -9
  551. package/menu/examples/basic-menu/basic-menu.module.d.ts +0 -11
  552. package/modal/examples/basic-modal/basic-modal.module.d.ts +0 -10
  553. package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +0 -11
  554. package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +0 -11
  555. package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +0 -11
  556. package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +0 -10
  557. package/notification/examples/default-notification/default-notification.module.d.ts +0 -11
  558. package/notification/examples/dismissible-notification/dismissible-notification.module.d.ts +0 -11
  559. package/notification/examples/notification-orientations/notification-orientations.module.d.ts +0 -12
  560. package/notification/examples/notification-status/notification-status.module.d.ts +0 -12
  561. package/notification/examples/notification-with-actions/notification-with-actions.module.d.ts +0 -11
  562. package/paginator/examples/paginator-examples.module.d.ts +0 -10
  563. package/progress-bar/examples/progress-bar-default/progress-bar-default.module.d.ts +0 -8
  564. package/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.module.d.ts +0 -8
  565. package/progress-bar/examples/progress-bar-themes/progress-bar-themes.module.d.ts +0 -9
  566. package/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.d.ts +0 -10
  567. package/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.d.ts +0 -10
  568. package/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.d.ts +0 -10
  569. package/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.d.ts +0 -10
  570. package/radio/examples/basic-radio/basic-radio.module.d.ts +0 -9
  571. package/sidebar/examples/basic-sidebar/basic-sidebar.module.d.ts +0 -10
  572. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.d.ts +0 -13
  573. package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.d.ts +0 -10
  574. package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.d.ts +0 -9
  575. package/toast/examples/default-toast/default-toast.module.d.ts +0 -11
  576. package/toast/examples/toast-positions/toast-positions.module.d.ts +0 -12
  577. package/toast/examples/toast-status/toast-status.module.d.ts +0 -12
  578. package/toast/examples/toast-with-custom-duration/toast-with-custom-duration.module.d.ts +0 -10
  579. package/tree/examples/basic-tree/basic-tree.module.d.ts +0 -10
@@ -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-theming/hero-theming.module.ts","../../../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-text-alignment/hero-text-alignment.module.ts","../../../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/hero-with-grid/hero-with-grid.module.ts","../../../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/compact-hero/compact-hero.module.ts","../../../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 { UntypedFormControl } from '@angular/forms';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffPalette } from '@daffodil/design';\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})\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 { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffHeroModule } from '@daffodil/design/hero';\n\nimport { HeroThemingComponent } from './hero-theming.component';\n\n@NgModule({\n declarations: [\n HeroThemingComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffButtonModule,\n\n FontAwesomeModule,\n ],\n exports: [\n HeroThemingComponent,\n ],\n})\nexport class HeroThemingModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { UntypedFormControl } from '@angular/forms';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\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})\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 { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffContainerModule } from '@daffodil/design/container';\nimport { DaffHeroModule } from '@daffodil/design/hero';\n\nimport { HeroTextAlignmentComponent } from './hero-text-alignment.component';\n\n@NgModule({\n declarations: [\n HeroTextAlignmentComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffContainerModule,\n DaffButtonModule,\n\n FontAwesomeModule,\n ],\n})\nexport class HeroTextAlignmentModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\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})\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 { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffContainerModule } from '@daffodil/design/container';\nimport { DaffHeroModule } from '@daffodil/design/hero';\n\nimport { HeroWithGridComponent } from './hero-with-grid.component';\n\n@NgModule({\n declarations: [\n HeroWithGridComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffContainerModule,\n DaffButtonModule,\n\n FontAwesomeModule,\n ],\n})\nexport class HeroWithGridModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffPalette } from '@daffodil/design';\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})\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 { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffHeroModule } from '@daffodil/design/hero';\n\nimport { CompactHeroComponent } from './compact-hero.component';\n\n@NgModule({\n declarations: [\n CompactHeroComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffButtonModule,\n\n FontAwesomeModule,\n ],\n exports: [\n CompactHeroComponent,\n ],\n})\nexport class CompactHeroModule { }\n","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","i1","i3","i4","i5","i6"],"mappings":";;;;;;;;;;;;;;;;MAgBa,oBAAoB,CAAA;AAPjC,IAAA,WAAA,GAAA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;AACF,iBAAA,CAAA;;;ACpBY,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 { 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;kIALY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;sHAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC7BjC,ilCAwBS,EDDL,MAAA,EAAA,CAAA,2NAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,cAAc,whBACd,eAAe,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,OAAA,EAAA,WAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,EAAA,QAAA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AAA,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,38 +1,43 @@
1
1
  import { CommonModule } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
3
  import { Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, Directive, NgModule } from '@angular/core';
4
- import { daffArticleEncapsulatedMixin, daffManageContainerLayoutMixin, daffColorMixin, daffCompactableMixin, daffTextAlignmentMixin } from '@daffodil/design';
4
+ import * as i1 from '@daffodil/design';
5
+ import { DaffArticleEncapsulatedDirective, DaffManageContainerLayoutDirective, DaffTextAlignableDirective, DaffCompactableDirective, DaffColorableDirective } from '@daffodil/design';
5
6
 
6
- /**
7
- * An _elementRef and an instance of renderer2 are needed for the hero mixins
8
- */
9
- class DaffHeroBase {
10
- constructor(_elementRef, _renderer) {
11
- this._elementRef = _elementRef;
12
- this._renderer = _renderer;
13
- }
14
- }
15
- const _daffHeroBase = daffArticleEncapsulatedMixin(daffManageContainerLayoutMixin(daffColorMixin(daffCompactableMixin(daffTextAlignmentMixin(DaffHeroBase, 'left')))));
16
7
  /**
17
8
  * @inheritdoc
18
9
  */
19
- class DaffHeroComponent extends _daffHeroBase {
20
- constructor(elementRef, renderer) {
21
- super(elementRef, renderer);
22
- this.elementRef = elementRef;
23
- this.renderer = renderer;
10
+ class DaffHeroComponent {
11
+ constructor(textAlignable) {
12
+ this.textAlignable = textAlignable;
24
13
  /**
25
14
  * @docs-private
26
15
  */
27
16
  this.class = true;
17
+ this.textAlignable.defaultAlignment = 'left';
28
18
  }
29
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
30
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffHeroComponent, selector: "daff-hero", inputs: { color: "color", compact: "compact", textAlignment: "textAlignment" }, host: { properties: { "class.daff-hero": "this.class" } }, usesInheritance: true, 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 }); }
19
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroComponent, deps: [{ token: i1.DaffTextAlignableDirective }], target: i0.ɵɵFactoryTarget.Component }); }
20
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffHeroComponent, selector: "daff-hero", host: { properties: { "class.daff-hero": "this.class" } }, hostDirectives: [{ directive: i1.DaffArticleEncapsulatedDirective }, { directive: i1.DaffManageContainerLayoutDirective }, { directive: i1.DaffTextAlignableDirective, inputs: ["textAlignment", "textAlignment"] }, { directive: i1.DaffCompactableDirective, inputs: ["compact", "compact"] }, { directive: i1.DaffColorableDirective, inputs: ["color", "color"] }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".daff-hero{display:block;padding:64px 24px}@media (min-width: 480px){.daff-hero{padding:96px 48px}}.daff-hero__icon{margin:0 0 16px}.daff-hero__tagline{font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;text-transform:uppercase;margin:0 0 8px;padding:0}.daff-hero__title{font-weight:700;font-size:2.5rem;line-height:2.5rem;margin:0;max-width:1040px;width:100%}@media (min-width: 768px){.daff-hero__title{font-size:4.5rem;line-height:4.5rem}}.daff-hero__subtitle{font-size:1.25rem;font-weight:400;line-height:1.75rem;margin:16px 0 0;max-width:672px;width:100%}@media (min-width: 768px){.daff-hero__subtitle{font-size:1.5rem;font-weight:400;line-height:2rem}}.daff-hero__subtitle p:first-of-type{margin-top:0}.daff-hero__subtitle p:last-of-type{margin-bottom:0}.daff-hero__body:not(:last-child){margin-bottom:48px}.daff-hero__body:not(:first-child){margin-top:48px}.daff-hero.daff-compact{padding:48px 24px}@media (min-width: 480px){.daff-hero.daff-compact{padding:48px}}.daff-hero.daff-left .daff-hero__icon,.daff-hero.daff-left .daff-hero__tagline,.daff-hero.daff-left .daff-hero__title,.daff-hero.daff-left .daff-hero__subtitle{text-align:left}.daff-hero.daff-center .daff-hero__icon,.daff-hero.daff-center .daff-hero__tagline,.daff-hero.daff-center .daff-hero__title,.daff-hero.daff-center .daff-hero__subtitle{margin-left:auto;margin-right:auto;text-align:center}.daff-hero.daff-right .daff-hero__icon,.daff-hero.daff-right .daff-hero__tagline,.daff-hero.daff-right .daff-hero__title,.daff-hero.daff-right .daff-hero__subtitle{margin-left:auto;text-align:right}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
31
21
  }
32
22
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffHeroComponent, decorators: [{
33
23
  type: Component,
34
- args: [{ selector: 'daff-hero', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, inputs: ['color', 'compact', 'textAlignment'], 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"] }]
35
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { class: [{
24
+ args: [{ selector: 'daff-hero', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, hostDirectives: [
25
+ { directive: DaffArticleEncapsulatedDirective },
26
+ { directive: DaffManageContainerLayoutDirective },
27
+ {
28
+ directive: DaffTextAlignableDirective,
29
+ inputs: ['textAlignment'],
30
+ },
31
+ {
32
+ directive: DaffCompactableDirective,
33
+ inputs: ['compact'],
34
+ },
35
+ {
36
+ directive: DaffColorableDirective,
37
+ inputs: ['color'],
38
+ },
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"] }]
40
+ }], ctorParameters: () => [{ type: i1.DaffTextAlignableDirective }], propDecorators: { class: [{
36
41
  type: HostBinding,
37
42
  args: ['class.daff-hero']
38
43
  }] } });
@@ -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 ElementRef,\n ChangeDetectionStrategy,\n HostBinding,\n Renderer2,\n} from '@angular/core';\n\nimport {\n daffArticleEncapsulatedMixin,\n DaffColorable,\n daffColorMixin,\n DaffCompactable,\n daffCompactableMixin,\n daffManageContainerLayoutMixin,\n DaffTextAlignable,\n daffTextAlignmentMixin,\n} from '@daffodil/design';\n\n/**\n * An _elementRef and an instance of renderer2 are needed for the hero mixins\n */\nclass DaffHeroBase {\n constructor(public _elementRef: ElementRef, public _renderer: Renderer2) {}\n}\n\nconst _daffHeroBase = daffArticleEncapsulatedMixin(daffManageContainerLayoutMixin(daffColorMixin(daffCompactableMixin(daffTextAlignmentMixin(DaffHeroBase, 'left')))));\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 //todo(damienwebdev): remove once decorators hit stage 3 - https://github.com/microsoft/TypeScript/issues/7342\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['color', 'compact', 'textAlignment'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffHeroComponent extends _daffHeroBase implements DaffColorable, DaffTextAlignable, DaffCompactable {\n constructor(private elementRef: ElementRef, private renderer: Renderer2) {\n super(elementRef, renderer);\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":";;;;;AAoBA;;AAEG;AACH,MAAM,YAAY,CAAA;IAChB,WAAmB,CAAA,WAAuB,EAAS,SAAoB,EAAA;QAApD,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;QAAS,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;KAAI;AAC5E,CAAA;AAED,MAAM,aAAa,GAAG,4BAA4B,CAAC,8BAA8B,CAAC,cAAc,CAAC,oBAAo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AAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAnBvB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAmBH,cAAc,EAAA,UAAA,EAAA,CAAA;kBArB1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,iBAAiB;wBACjB,qBAAqB;wBACrB,wBAAwB;wBACxB,sBAAsB;wBACtB,yBAAyB;wBACzB,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;wBACjB,qBAAqB;wBACrB,wBAAwB;wBACxB,sBAAsB;wBACtB,yBAAyB;wBACzB,qBAAqB;AACtB,qBAAA;AACF,iBAAA,CAAA;;;AC9BD;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-hero.mjs","sources":["../../../libs/design/hero/src/hero/hero.component.ts","../../../libs/design/hero/src/hero-body/hero-body.directive.ts","../../../libs/design/hero/src/hero-icon/hero-icon.directive.ts","../../../libs/design/hero/src/hero-subtitle/hero-subtitle.directive.ts","../../../libs/design/hero/src/hero-tagline/hero-tagline.directive.ts","../../../libs/design/hero/src/hero-title/hero-title.directive.ts","../../../libs/design/hero/src/hero.module.ts","../../../libs/design/hero/src/daffodil-design-hero.ts"],"sourcesContent":["import {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n HostBinding,\n} from '@angular/core';\n\nimport {\n DaffColorableDirective,\n DaffCompactableDirective,\n} from '@daffodil/design';\nimport {\n DaffArticleEncapsulatedDirective,\n DaffManageContainerLayoutDirective,\n DaffTextAlignableDirective,\n} from '@daffodil/design';\n\n/**\n * @inheritdoc\n */\n@Component({\n selector: 'daff-hero',\n template: '<ng-content></ng-content>',\n styleUrls: ['./hero.component.scss'],\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n { directive: DaffArticleEncapsulatedDirective },\n { directive: DaffManageContainerLayoutDirective },\n {\n directive: DaffTextAlignableDirective,\n inputs: ['textAlignment'],\n },\n {\n directive: DaffCompactableDirective,\n inputs: ['compact'],\n },\n {\n directive: DaffColorableDirective,\n inputs: ['color'],\n },\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffHeroComponent {\n constructor(private textAlignable: DaffTextAlignableDirective) {\n this.textAlignable.defaultAlignment = 'left';\n }\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroBody]',\n})\n\nexport class DaffHeroBodyDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__body') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroIcon]',\n})\n\nexport class DaffHeroIconDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__icon') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroSubtitle]',\n})\n\nexport class DaffHeroSubtitleDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__subtitle') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroTagline]',\n})\n\nexport class DaffHeroTaglineDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__tagline') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffHeroTitle]',\n})\n\nexport class DaffHeroTitleDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hero__title') class = true;\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffHeroComponent } from './hero/hero.component';\nimport { DaffHeroBodyDirective } from './hero-body/hero-body.directive';\nimport { DaffHeroIconDirective } from './hero-icon/hero-icon.directive';\nimport { DaffHeroSubtitleDirective } from './hero-subtitle/hero-subtitle.directive';\nimport { DaffHeroTaglineDirective } from './hero-tagline/hero-tagline.directive';\nimport { DaffHeroTitleDirective } from './hero-title/hero-title.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n declarations: [\n DaffHeroComponent,\n DaffHeroIconDirective,\n DaffHeroTaglineDirective,\n DaffHeroTitleDirective,\n DaffHeroSubtitleDirective,\n DaffHeroBodyDirective,\n ],\n exports: [\n DaffHeroComponent,\n DaffHeroIconDirective,\n DaffHeroTaglineDirective,\n DaffHeroTitleDirective,\n DaffHeroSubtitleDirective,\n DaffHeroBodyDirective,\n ],\n})\nexport class DaffHeroModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAiBA;;AAEG;MAwBU,iBAAiB,CAAA;AAC5B,IAAA,WAAA,CAAoB,aAAyC,EAAA;QAAzC,IAAa,CAAA,aAAA,GAAb,aAAa,CAA4B;AAI7D;;AAEG;QAC6B,IAAK,CAAA,KAAA,GAAG,IAAI,CAAC;AAN3C,QAAA,IAAI,CAAC,aAAa,CAAC,gBAAgB,GAAG,MAAM,CAAC;KAC9C;kIAHU,iBAAiB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAjB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iBAAiB,odArBlB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,yjDAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAA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as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
3
3
  import * as i1 from '@daffodil/design/image';
4
4
  import { DaffImageModule } from '@daffodil/design/image';
5
- import * as i1$1 from '@angular/common';
6
- import { CommonModule } from '@angular/common';
5
+ import { NgIf } from '@angular/common';
7
6
 
8
7
  class BasicImageComponent {
9
8
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: BasicImageComponent, 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: ["skeleton", "src", "alt", "width", "height"], outputs: ["load"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: BasicImageComponent, isStandalone: true, selector: "basic-image", ngImport: i0, template: "<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>", dependencies: [{ kind: "ngmodule", type: DaffImageModule }, { kind: "component", type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
11
10
  }
12
11
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicImageComponent, decorators: [{
13
12
  type: Component,
14
- args: [{ selector: 'basic-image', changeDetection: ChangeDetectionStrategy.OnPush, 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>" }]
15
- }] });
16
-
17
- class BasicImageModule {
18
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicImageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
19
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: BasicImageModule, declarations: [BasicImageComponent], imports: [DaffImageModule], exports: [BasicImageComponent] }); }
20
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicImageModule, imports: [DaffImageModule] }); }
21
- }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicImageModule, decorators: [{
23
- type: NgModule,
24
- args: [{
25
- declarations: [
26
- BasicImageComponent,
27
- ],
28
- exports: [
29
- BasicImageComponent,
30
- ],
31
- imports: [
32
- DaffImageModule,
33
- ],
34
- }]
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>" }]
35
14
  }] });
36
15
 
37
16
  class LoadImageComponent {
@@ -42,69 +21,26 @@ class LoadImageComponent {
42
21
  this.loaded = true;
43
22
  }
44
23
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: LoadImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
45
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: LoadImageComponent, 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: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1.DaffImageComponent, selector: "daff-image", inputs: ["skeleton", "src", "alt", "width", "height"], outputs: ["load"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
24
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: LoadImageComponent, isStandalone: true, selector: "load-image", ngImport: i0, template: "<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\"\n\t(load)=\"load()\">\n</daff-image>\n\n<p *ngIf=\"!loaded\">I am not loaded!</p>\n<p *ngIf=\"loaded\">I am loaded!</p>", dependencies: [{ kind: "ngmodule", type: DaffImageModule }, { kind: "component", type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
46
25
  }
47
26
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: LoadImageComponent, decorators: [{
48
27
  type: Component,
49
- args: [{ selector: 'load-image', changeDetection: ChangeDetectionStrategy.OnPush, 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>" }]
50
- }] });
51
-
52
- class LoadImageModule {
53
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: LoadImageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
54
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: LoadImageModule, declarations: [LoadImageComponent], imports: [CommonModule,
55
- DaffImageModule], exports: [LoadImageComponent] }); }
56
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: LoadImageModule, imports: [CommonModule,
57
- DaffImageModule] }); }
58
- }
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: LoadImageModule, decorators: [{
60
- type: NgModule,
61
- args: [{
62
- declarations: [
63
- LoadImageComponent,
64
- ],
65
- exports: [
66
- LoadImageComponent,
67
- ],
68
- imports: [
69
- CommonModule,
70
- DaffImageModule,
71
- ],
72
- }]
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>" }]
73
29
  }] });
74
30
 
75
31
  class SkeletonImageComponent {
76
32
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SkeletonImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
77
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: SkeletonImageComponent, 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: ["skeleton", "src", "alt", "width", "height"], outputs: ["load"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
33
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: SkeletonImageComponent, isStandalone: true, selector: "skeleton-image", ngImport: i0, template: "<daff-image [skeleton]=\"true\"\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>", dependencies: [{ kind: "ngmodule", type: DaffImageModule }, { kind: "component", type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
78
34
  }
79
35
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SkeletonImageComponent, decorators: [{
80
36
  type: Component,
81
- args: [{ selector: 'skeleton-image', changeDetection: ChangeDetectionStrategy.OnPush, 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>" }]
82
- }] });
83
-
84
- class SkeletonImageModule {
85
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SkeletonImageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
86
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: SkeletonImageModule, declarations: [SkeletonImageComponent], imports: [DaffImageModule], exports: [SkeletonImageComponent] }); }
87
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SkeletonImageModule, imports: [DaffImageModule] }); }
88
- }
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SkeletonImageModule, decorators: [{
90
- type: NgModule,
91
- args: [{
92
- declarations: [
93
- SkeletonImageComponent,
94
- ],
95
- exports: [
96
- SkeletonImageComponent,
97
- ],
98
- imports: [
99
- DaffImageModule,
100
- ],
101
- }]
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>" }]
102
38
  }] });
103
39
 
104
40
  const IMAGE_EXAMPLES = [
105
- { component: BasicImageComponent, module: BasicImageModule },
106
- { component: LoadImageComponent, module: LoadImageModule },
107
- { component: SkeletonImageComponent, module: SkeletonImageModule },
41
+ BasicImageComponent,
42
+ LoadImageComponent,
43
+ SkeletonImageComponent,
108
44
  ];
109
45
 
110
46
  /**
@@ -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/basic-image/basic-image.module.ts","../../../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/load-image/load-image.module.ts","../../../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/skeleton-image/skeleton-image.module.ts","../../../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\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})\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 { NgModule } from '@angular/core';\n\nimport { DaffImageModule } from '@daffodil/design/image';\n\nimport { BasicImageComponent } from './basic-image.component';\n\n@NgModule({\n declarations: [\n BasicImageComponent,\n ],\n exports: [\n BasicImageComponent,\n ],\n imports: [\n DaffImageModule,\n ],\n})\nexport class BasicImageModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\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})\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 { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffImageModule } from '@daffodil/design/image';\n\nimport { LoadImageComponent } from './load-image.component';\n\n@NgModule({\n declarations: [\n LoadImageComponent,\n ],\n exports: [\n LoadImageComponent,\n ],\n imports: [\n CommonModule,\n DaffImageModule,\n ],\n})\nexport class LoadImageModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\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})\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 { NgModule } from '@angular/core';\n\nimport { DaffImageModule } from '@daffodil/design/image';\n\nimport { SkeletonImageComponent } from './skeleton-image.component';\n\n@NgModule({\n declarations: [\n SkeletonImageComponent,\n ],\n exports: [\n SkeletonImageComponent,\n ],\n imports: [\n DaffImageModule,\n ],\n})\nexport class SkeletonImageModule { }\n","import { ComponentExample } from '@daffodil/design';\n\nimport { BasicImageComponent } from './basic-image/basic-image.component';\nimport { BasicImageModule } from './basic-image/basic-image.module';\nimport { LoadImageComponent } from './load-image/load-image.component';\nimport { LoadImageModule } from './load-image/load-image.module';\nimport { SkeletonImageComponent } from './skeleton-image/skeleton-image.component';\nimport { SkeletonImageModule } from './skeleton-image/skeleton-image.module';\n\nexport const IMAGE_EXAMPLES: ComponentExample[] = [\n { component: BasicImageComponent, module: BasicImageModule },\n { component: LoadImageComponent, module: LoadImageModule },\n { component: SkeletonImageComponent, module: SkeletonImageModule },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2"],"mappings":";;;;;;;MAWa,mBAAmB,CAAA;kIAAnB,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,SAAA,EAAA,IAAA,EAAA,mBAAmB,mDCXhC,gSAKa,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,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;;4FDMA,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,SAAS;+BAEE,aAAa,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,gSAAA,EAAA,CAAA;;;MEQpC,gBAAgB,CAAA;kIAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EA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,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAH5B,eAAe,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAGN,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAX/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,sBAAsB;AACvB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,sBAAsB;AACvB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,eAAe;AAChB,qBAAA;AACF,iBAAA,CAAA;;;ACPY,MAAA,cAAc,GAAuB;AAChD,IAAA,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,EAAE,gBAAgB,EAAE;AAC5D,IAAA,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,EAAE,eAAe,EAAE;AAC1D,IAAA,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,EAAE,mBAAmB,EAAE;;;ACZpE;;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 { DaffImageModule } from '@daffodil/design/image';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-image',\n templateUrl: './basic-image.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffImageModule],\n})\nexport class BasicImageComponent {\n\n}\n","<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>","import { NgIf } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DaffImageModule } from '@daffodil/design/image';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'load-image',\n templateUrl: './load-image.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffImageModule, NgIf],\n})\nexport class LoadImageComponent {\n loaded = false;\n\n load(){\n this.loaded = true;\n }\n}\n","<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\"\n\t(load)=\"load()\">\n</daff-image>\n\n<p *ngIf=\"!loaded\">I am not loaded!</p>\n<p *ngIf=\"loaded\">I am loaded!</p>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DaffImageModule } from '@daffodil/design/image';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'skeleton-image',\n templateUrl: './skeleton-image.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffImageModule],\n})\nexport class SkeletonImageComponent {\n\n}\n","<daff-image [skeleton]=\"true\"\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>","import { BasicImageComponent } from './basic-image/basic-image.component';\nimport { LoadImageComponent } from './load-image/load-image.component';\nimport { SkeletonImageComponent } from './skeleton-image/skeleton-image.component';\n\nexport const IMAGE_EXAMPLES = [\n BasicImageComponent,\n LoadImageComponent,\n SkeletonImageComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAea,mBAAmB,CAAA;kIAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;sHAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECfhC,gSAKa,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDQD,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,KAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,CAAA,EAAA,OAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAEd,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAR/B,SAAS;+BAEE,aAAa,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,cACnC,IAAI,EAAA,OAAA,EACP,CAAC,eAAe,CAAC,EAAA,QAAA,EAAA,gSAAA,EAAA,CAAA;;;MEGf,kBAAkB,CAAA;AAR/B,IAAA,WAAA,GAAA;QASE,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;AAKhB,KAAA;IAHC,IAAI,GAAA;AACF,QAAA,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AA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,KAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,CAAA,EAAA,OAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAEd,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBARlC,SAAS;+BAEE,gBAAgB,EAAA,eAAA,EAET,uBAAuB,CAAC,MAAM,cACnC,IAAI,EAAA,OAAA,EACP,CAAC,eAAe,CAAC,EAAA,QAAA,EAAA,oTAAA,EAAA,CAAA;;;AETf,MAAA,cAAc,GAAG;IAC5B,mBAAmB;IACnB,kBAAkB;IAClB,sBAAsB;;;ACPxB;;AAEG;;;;"}
@@ -2,7 +2,8 @@ import { CommonModule } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
3
  import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, HostBinding, NgModule } from '@angular/core';
4
4
  import * as i1 from '@angular/platform-browser';
5
- import { daffSkeletonableMixin } from '@daffodil/design';
5
+ import * as i2 from '@daffodil/design';
6
+ import { DaffSkeletonableDirective } from '@daffodil/design';
6
7
  import { daffThumbnailCompatToken } from '@daffodil/design/media-gallery';
7
8
 
8
9
  const validateProperty = (object, prop) => {
@@ -24,17 +25,7 @@ const validateProperties = (object, props) => {
24
25
  throw new Error(`DaffImageComponent must have the ${invalidProps.join(',')} attributes defined.`);
25
26
  }
26
27
  };
27
- /**
28
- * An _elementRef is needed for the GolfGhostable mixin
29
- */
30
- class DaffImageBase {
31
- constructor(_elementRef, _renderer) {
32
- this._elementRef = _elementRef;
33
- this._renderer = _renderer;
34
- }
35
- }
36
- const _daffImageBase = daffSkeletonableMixin(DaffImageBase);
37
- class DaffImageComponent extends _daffImageBase {
28
+ class DaffImageComponent {
38
29
  get src() {
39
30
  return this._src;
40
31
  }
@@ -69,11 +60,8 @@ class DaffImageComponent extends _daffImageBase {
69
60
  ngOnInit() {
70
61
  validateProperties(this, ['src', 'alt', 'width', 'height']);
71
62
  }
72
- constructor(sanitizer, elementRef, renderer) {
73
- super(elementRef, renderer);
63
+ constructor(sanitizer) {
74
64
  this.sanitizer = sanitizer;
75
- this.elementRef = elementRef;
76
- this.renderer = renderer;
77
65
  // TODO: rename event to not collide with native event (unless that's intentional)
78
66
  // eslint-disable-next-line @angular-eslint/no-output-native
79
67
  this.load = new EventEmitter();
@@ -93,13 +81,13 @@ class DaffImageComponent extends _daffImageBase {
93
81
  get maxWidth() {
94
82
  return this.width + 'px';
95
83
  }
96
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageComponent, deps: [{ token: i1.DomSanitizer }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
97
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffImageComponent, selector: "daff-image", inputs: { skeleton: "skeleton", src: "src", alt: "alt", width: "width", height: "height" }, outputs: { load: "load" }, host: { properties: { "style.max-width": "this.maxWidth" } }, providers: [
84
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
85
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffImageComponent, selector: "daff-image", inputs: { src: "src", alt: "alt", width: "width", height: "height" }, outputs: { load: "load" }, host: { properties: { "style.max-width": "this.maxWidth" } }, providers: [
98
86
  {
99
87
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
100
88
  provide: daffThumbnailCompatToken, useExisting: DaffImageComponent,
101
89
  },
102
- ], usesInheritance: true, ngImport: i0, template: "<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>", styles: [":host{display:inline-block;border-radius:inherit;position:relative;width:100%}:host.daff-skeleton{display:flex;position:relative}:host.daff-skeleton:before{animation-name:loading;animation-duration:1.5s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;content:\"\";height:100%;width:100%;position:absolute;top:0;left:0}:host.daff-skeleton img{opacity:0}:host img{position:absolute;inset:0;height:auto;margin:auto;max-width:100%}.daff-image__wrapper{border-radius:inherit;height:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
90
+ ], hostDirectives: [{ directive: i2.DaffSkeletonableDirective, inputs: ["skeleton", "skeleton"] }], ngImport: i0, template: "<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>", styles: [":host{display:inline-block;border-radius:inherit;position:relative;width:100%}:host.daff-skeleton{display:flex;position:relative}:host.daff-skeleton:before{animation-name:loading;animation-duration:1s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;content:\"\";height:100%;width:100%;position:absolute;top:0;left:0}:host.daff-skeleton img{opacity:0}:host img{position:absolute;inset:0;height:auto;margin:auto;max-width:100%}.daff-image__wrapper{border-radius:inherit;height:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
103
91
  }
104
92
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageComponent, decorators: [{
105
93
  type: Component,
@@ -108,8 +96,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
108
96
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
109
97
  provide: daffThumbnailCompatToken, useExisting: DaffImageComponent,
110
98
  },
111
- ], inputs: ['skeleton'], 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:1.5s;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"] }]
112
- }], ctorParameters: () => [{ type: i1.DomSanitizer }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { src: [{
99
+ ], hostDirectives: [{
100
+ directive: DaffSkeletonableDirective,
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"] }]
103
+ }], ctorParameters: () => [{ type: i1.DomSanitizer }], propDecorators: { src: [{
113
104
  type: Input
114
105
  }], alt: [{
115
106
  type: Input
@@ -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 ElementRef,\n Renderer2,\n Output,\n HostBinding,\n} from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\nimport {\n daffSkeletonableMixin,\n DaffSkeletonable,\n} 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/**\n * An _elementRef is needed for the GolfGhostable mixin\n */\nclass DaffImageBase {\n constructor(public _elementRef: ElementRef, public _renderer: Renderer2) { }\n}\n\nconst _daffImageBase = daffSkeletonableMixin(DaffImageBase);\n\n@Component({\n selector: 'daff-image',\n templateUrl: './image.component.html',\n styleUrls: ['./image.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n\t\t\t provide: daffThumbnailCompatToken, useExisting: DaffImageComponent,\n },\n ],\n // todo(damienwebdev): remove once decorators hit stage 3 - https://github.com/microsoft/TypeScript/issues/7342\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['skeleton'],\n})\nexport class DaffImageComponent extends _daffImageBase implements OnInit, DaffSkeletonable {\n\n private _src: string;\n\n @Input()\n get src(): string {\n\t return this._src;\n }\n set src(value: string) {\n this._src = value;\n validateProperty(this, 'src');\n }\n\n private _alt: string;\n\n @Input()\n get alt(): string {\n return this._alt;\n }\n set alt(value: string) {\n this._alt = value;\n validateProperty(this, 'alt');\n }\n\n private _width: number;\n\n @Input()\n get width(): number {\n return this._width;\n }\n set width(value: number) {\n this._width = value;\n validateProperty(this, 'width');\n }\n\n private _height: number;\n\n @Input()\n get height(): number {\n return this._height;\n }\n set height(value: number) {\n this._height = value;\n validateProperty(this, 'height');\n }\n\n // TODO: rename event to not collide with native event (unless that's intentional)\n // eslint-disable-next-line @angular-eslint/no-output-native\n @Output() load: EventEmitter<void> = new EventEmitter();\n\n /**\n * @docs-private\n */\n ngOnInit(): void {\n\t validateProperties(this, ['src', 'alt', 'width', 'height']);\n }\n\n constructor(\n private sanitizer: DomSanitizer,\n private elementRef: ElementRef,\n private renderer: Renderer2,\n ) {\n\t super(elementRef, renderer);\n }\n\n /**\n * @docs-private\n */\n get _paddingTop(): any {\n\t if (!this.height || !this.width ) {\n\t return undefined;\n\t }\n\n\t return this.sanitizer.bypassSecurityTrustStyle('calc(' + this.height + ' / ' + this.width + ' * 100%)');\n }\n\n /**\n * @docs-private\n */\n @HostBinding('style.max-width') get maxWidth(): string {\n\t return this.width + 'px';\n }\n}\n","<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffImageComponent } from './image/image.component';\n\n@NgModule({\n declarations: [\n DaffImageComponent,\n ],\n imports: [\n CommonModule,\n ],\n exports: [\n DaffImageComponent,\n ],\n})\nexport class DaffImageModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAmBA,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,CA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Z,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/daffodil-design-image.ts"],"sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n Input,\n EventEmitter,\n OnInit,\n Output,\n HostBinding,\n} from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\nimport { DaffSkeletonableDirective } from '@daffodil/design';\nimport { daffThumbnailCompatToken } from '@daffodil/design/media-gallery';\n\nconst validateProperty = (object: Record<string, any>, prop: string) => {\n if (object[prop] === null || object[prop] === undefined || object[prop] === '') {\n throw new Error(`DaffImageComponent must have a defined ${prop} attribute.`);\n }\n};\n\nconst validateProperties = (object: Record<string, any>, props: string[]) => {\n const invalidProps = props.filter(prop => {\n try {\n validateProperty(object, prop);\n } catch(e) {\n return true;\n }\n return false;\n });\n\n if (invalidProps.length) {\n throw new Error(`DaffImageComponent must have the ${invalidProps.join(',')} attributes defined.`);\n }\n};\n\n@Component({\n selector: 'daff-image',\n templateUrl: './image.component.html',\n styleUrls: ['./image.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n\t\t\t provide: daffThumbnailCompatToken, useExisting: DaffImageComponent,\n },\n ],\n hostDirectives: [{\n directive: DaffSkeletonableDirective,\n inputs: ['skeleton'],\n }],\n})\nexport class DaffImageComponent implements OnInit {\n\n private _src: string;\n\n @Input()\n get src(): string {\n\t return this._src;\n }\n set src(value: string) {\n this._src = value;\n validateProperty(this, 'src');\n }\n\n private _alt: string;\n\n @Input()\n get alt(): string {\n return this._alt;\n }\n set alt(value: string) {\n this._alt = value;\n validateProperty(this, 'alt');\n }\n\n private _width: number;\n\n @Input()\n get width(): number {\n return this._width;\n }\n set width(value: number) {\n this._width = value;\n validateProperty(this, 'width');\n }\n\n private _height: number;\n\n @Input()\n get height(): number {\n return this._height;\n }\n set height(value: number) {\n this._height = value;\n validateProperty(this, 'height');\n }\n\n // TODO: rename event to not collide with native event (unless that's intentional)\n // eslint-disable-next-line @angular-eslint/no-output-native\n @Output() load: EventEmitter<void> = new EventEmitter();\n\n /**\n * @docs-private\n */\n ngOnInit(): void {\n\t validateProperties(this, ['src', 'alt', 'width', 'height']);\n }\n\n constructor(private sanitizer: DomSanitizer) {}\n\n /**\n * @docs-private\n */\n get _paddingTop(): any {\n\t if (!this.height || !this.width ) {\n\t return undefined;\n\t }\n\n\t return this.sanitizer.bypassSecurityTrustStyle('calc(' + this.height + ' / ' + this.width + ' * 100%)');\n }\n\n /**\n * @docs-private\n */\n @HostBinding('style.max-width') get maxWidth(): string {\n\t return this.width + 'px';\n }\n}\n","<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffImageComponent } from './image/image.component';\n\n@NgModule({\n declarations: [\n DaffImageComponent,\n ],\n imports: [\n CommonModule,\n ],\n exports: [\n DaffImageComponent,\n ],\n})\nexport class DaffImageModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAcA,MAAM,gBAAgB,GAAG,CAAC,MAA2B,EAAE,IAAY,KAAI;IACrE,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,SAAS,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE;AAC9E,QAAA,MAAM,IAAI,KAAK,CAAC,0CAA0C,I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