@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,16 +1,16 @@
1
+ import { NgIf } from '@angular/common';
1
2
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
4
+ import * as i3$1 from '@fortawesome/angular-fontawesome';
5
+ import { FaIconComponent, FontAwesomeModule } from '@fortawesome/angular-fontawesome';
3
6
  import { faInfoCircle, faCheck, faExclamation, faExclamationCircle } from '@fortawesome/free-solid-svg-icons';
4
- import * as i1 from '@angular/common';
5
- import { CommonModule } from '@angular/common';
6
- import * as i2 from '@daffodil/design/notification';
7
- import { DaffNotificationModule } from '@daffodil/design/notification';
8
- import * as i3 from '@daffodil/design';
9
- import * as i4 from '@fortawesome/angular-fontawesome';
10
- import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
11
- import * as i5 from '@daffodil/design/button';
7
+ import * as i2 from '@daffodil/design';
8
+ import { DaffPrefixSuffixModule } from '@daffodil/design';
9
+ import * as i4 from '@daffodil/design/button';
12
10
  import { DaffButtonModule } from '@daffodil/design/button';
13
- import * as i4$1 from '@angular/forms';
11
+ import * as i1 from '@daffodil/design/notification';
12
+ import { DaffNotificationModule } from '@daffodil/design/notification';
13
+ import * as i3 from '@angular/forms';
14
14
  import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms';
15
15
 
16
16
  class DefaultNotificationComponent {
@@ -22,40 +22,17 @@ class DefaultNotificationComponent {
22
22
  this.showNotification = !this.showNotification;
23
23
  }
24
24
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultNotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
25
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DefaultNotificationComponent, selector: "default-notification", ngImport: i0, template: "<button daff-button (click)=\"toggleNotification()\">Show Notification</button>\n\n<daff-notification *ngIf=\"showNotification\" status=\"success\">\n\t<fa-icon daffPrefix [icon]=\"faInfoCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n\t<div daffNotificationActions>\n\t\t<button daff-button size=\"sm\" color=\"theme-contrast\">Confirm</button>\n\t\t<button daff-flat-button size=\"sm\" color=\"theme-contrast\">Cancel</button>\n\t</div>\n</daff-notification>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.DaffNotificationComponent, selector: "daff-notification", inputs: ["status", "dismissible", "orientation"], outputs: ["closeNotification"] }, { kind: "directive", type: i2.DaffNotificationActionsDirective, selector: "[daffNotificationActions]" }, { kind: "directive", type: i2.DaffNotificationTitleDirective, selector: "[daffNotificationTitle]" }, { kind: "directive", type: i2.DaffNotificationSubtitleDirective, selector: "[daffNotificationSubtitle]" }, { kind: "directive", type: i3.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "component", type: i4.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "component", type: i5.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DefaultNotificationComponent, isStandalone: true, selector: "default-notification", ngImport: i0, template: "<daff-notification>\n\t<fa-icon daffPrefix [icon]=\"faInfoCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"], dependencies: [{ kind: "ngmodule", type: DaffNotificationModule }, { kind: "component", type: i1.DaffNotificationComponent, selector: "daff-notification", inputs: ["dismissible", "orientation"], outputs: ["closeNotification"] }, { kind: "directive", type: i1.DaffNotificationTitleDirective, selector: "[daffNotificationTitle]" }, { kind: "directive", type: i1.DaffNotificationSubtitleDirective, selector: "[daffNotificationSubtitle]" }, { kind: "directive", type: i2.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "ngmodule", type: DaffPrefixSuffixModule }, { kind: "ngmodule", type: DaffButtonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
26
26
  }
27
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultNotificationComponent, decorators: [{
28
28
  type: Component,
29
- args: [{ selector: 'default-notification', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button daff-button (click)=\"toggleNotification()\">Show Notification</button>\n\n<daff-notification *ngIf=\"showNotification\" status=\"success\">\n\t<fa-icon daffPrefix [icon]=\"faInfoCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n\t<div daffNotificationActions>\n\t\t<button daff-button size=\"sm\" color=\"theme-contrast\">Confirm</button>\n\t\t<button daff-flat-button size=\"sm\" color=\"theme-contrast\">Cancel</button>\n\t</div>\n</daff-notification>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"] }]
30
- }] });
31
-
32
- class DefaultNotificationModule {
33
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
34
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DefaultNotificationModule, declarations: [DefaultNotificationComponent], imports: [CommonModule,
35
- DaffNotificationModule,
36
- FontAwesomeModule,
37
- DaffButtonModule], exports: [DefaultNotificationComponent] }); }
38
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultNotificationModule, imports: [CommonModule,
39
- DaffNotificationModule,
40
- FontAwesomeModule,
41
- DaffButtonModule] }); }
42
- }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultNotificationModule, decorators: [{
44
- type: NgModule,
45
- args: [{
46
- declarations: [
47
- DefaultNotificationComponent,
48
- ],
49
- imports: [
50
- CommonModule,
29
+ args: [{ selector: 'default-notification', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
51
30
  DaffNotificationModule,
52
- FontAwesomeModule,
31
+ FaIconComponent,
32
+ DaffPrefixSuffixModule,
53
33
  DaffButtonModule,
54
- ],
55
- exports: [
56
- DefaultNotificationComponent,
57
- ],
58
- }]
34
+ NgIf,
35
+ ], template: "<daff-notification>\n\t<fa-icon daffPrefix [icon]=\"faInfoCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"] }]
59
36
  }] });
60
37
 
61
38
  class DismissibleNotificationComponent {
@@ -67,40 +44,16 @@ class DismissibleNotificationComponent {
67
44
  this.hidden = true;
68
45
  }
69
46
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DismissibleNotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
70
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DismissibleNotificationComponent, selector: "dismissible-notification", ngImport: i0, template: "<daff-notification *ngIf=\"!hidden\" dismissible=\"true\" (closeNotification)=\"hideNotification()\">\n\t<fa-icon daffPrefix [icon]=\"faInfoCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>", styles: [":host{display:flex;justify-content:center}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.DaffNotificationComponent, selector: "daff-notification", inputs: ["status", "dismissible", "orientation"], outputs: ["closeNotification"] }, { kind: "directive", type: i2.DaffNotificationTitleDirective, selector: "[daffNotificationTitle]" }, { kind: "directive", type: i2.DaffNotificationSubtitleDirective, selector: "[daffNotificationSubtitle]" }, { kind: "directive", type: i3.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "component", type: i4.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
47
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DismissibleNotificationComponent, isStandalone: true, selector: "dismissible-notification", ngImport: i0, template: "<daff-notification *ngIf=\"!hidden\" dismissible=\"true\" (closeNotification)=\"hideNotification()\">\n\t<fa-icon daffPrefix [icon]=\"faInfoCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>", styles: [":host{display:flex;justify-content:center}\n"], dependencies: [{ kind: "ngmodule", type: DaffNotificationModule }, { kind: "component", type: i1.DaffNotificationComponent, selector: "daff-notification", inputs: ["dismissible", "orientation"], outputs: ["closeNotification"] }, { kind: "directive", type: i1.DaffNotificationTitleDirective, selector: "[daffNotificationTitle]" }, { kind: "directive", type: i1.DaffNotificationSubtitleDirective, selector: "[daffNotificationSubtitle]" }, { kind: "directive", type: i2.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "ngmodule", type: DaffPrefixSuffixModule }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
71
48
  }
72
49
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DismissibleNotificationComponent, decorators: [{
73
50
  type: Component,
74
- args: [{ selector: 'dismissible-notification', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-notification *ngIf=\"!hidden\" dismissible=\"true\" (closeNotification)=\"hideNotification()\">\n\t<fa-icon daffPrefix [icon]=\"faInfoCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>", styles: [":host{display:flex;justify-content:center}\n"] }]
75
- }] });
76
-
77
- class DismissibleNotificationModule {
78
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DismissibleNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
79
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DismissibleNotificationModule, declarations: [DismissibleNotificationComponent], imports: [CommonModule,
80
- DaffNotificationModule,
81
- FontAwesomeModule,
82
- DaffButtonModule], exports: [DismissibleNotificationComponent] }); }
83
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DismissibleNotificationModule, imports: [CommonModule,
84
- DaffNotificationModule,
85
- FontAwesomeModule,
86
- DaffButtonModule] }); }
87
- }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DismissibleNotificationModule, decorators: [{
89
- type: NgModule,
90
- args: [{
91
- declarations: [
92
- DismissibleNotificationComponent,
93
- ],
94
- imports: [
95
- CommonModule,
51
+ args: [{ selector: 'dismissible-notification', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
96
52
  DaffNotificationModule,
97
- FontAwesomeModule,
98
- DaffButtonModule,
99
- ],
100
- exports: [
101
- DismissibleNotificationComponent,
102
- ],
103
- }]
53
+ FaIconComponent,
54
+ DaffPrefixSuffixModule,
55
+ NgIf,
56
+ ], template: "<daff-notification *ngIf=\"!hidden\" dismissible=\"true\" (closeNotification)=\"hideNotification()\">\n\t<fa-icon daffPrefix [icon]=\"faInfoCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>", styles: [":host{display:flex;justify-content:center}\n"] }]
104
57
  }] });
105
58
 
106
59
  class NotificationOrientationsComponent {
@@ -111,43 +64,17 @@ class NotificationOrientationsComponent {
111
64
  this.orientationControl = new UntypedFormControl('vertical');
112
65
  }
113
66
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationOrientationsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
114
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: NotificationOrientationsComponent, selector: "notification-orientations", ngImport: i0, template: "<daff-notification [orientation]=\"orientationControl.value\">\n\t<fa-icon daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>\n\n<select [formControl]=\"orientationControl\">\n\t<option value=\"vertical\">Vertical</option>\n\t<option value=\"horizontal\">Horizontal</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"], dependencies: [{ kind: "component", type: i2.DaffNotificationComponent, selector: "daff-notification", inputs: ["status", "dismissible", "orientation"], outputs: ["closeNotification"] }, { kind: "directive", type: i2.DaffNotificationTitleDirective, selector: "[daffNotificationTitle]" }, { kind: "directive", type: i2.DaffNotificationSubtitleDirective, selector: "[daffNotificationSubtitle]" }, { kind: "directive", type: i3.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "component", type: i4.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "directive", type: i4$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
67
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: NotificationOrientationsComponent, isStandalone: true, selector: "notification-orientations", ngImport: i0, template: "<daff-notification [orientation]=\"orientationControl.value\">\n\t<fa-icon daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>\n\n<select [formControl]=\"orientationControl\">\n\t<option value=\"vertical\">Vertical</option>\n\t<option value=\"horizontal\">Horizontal</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"], dependencies: [{ kind: "ngmodule", type: DaffNotificationModule }, { kind: "component", type: i1.DaffNotificationComponent, selector: "daff-notification", inputs: ["dismissible", "orientation"], outputs: ["closeNotification"] }, { kind: "directive", type: i1.DaffNotificationTitleDirective, selector: "[daffNotificationTitle]" }, { kind: "directive", type: i1.DaffNotificationSubtitleDirective, selector: "[daffNotificationSubtitle]" }, { kind: "directive", type: i2.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "ngmodule", type: DaffPrefixSuffixModule }, { kind: "ngmodule", type: DaffButtonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
115
68
  }
116
69
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationOrientationsComponent, decorators: [{
117
70
  type: Component,
118
- args: [{ selector: 'notification-orientations', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-notification [orientation]=\"orientationControl.value\">\n\t<fa-icon daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>\n\n<select [formControl]=\"orientationControl\">\n\t<option value=\"vertical\">Vertical</option>\n\t<option value=\"horizontal\">Horizontal</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"] }]
119
- }] });
120
-
121
- class NotificationOrientationsModule {
122
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationOrientationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
123
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: NotificationOrientationsModule, declarations: [NotificationOrientationsComponent], imports: [CommonModule,
124
- DaffNotificationModule,
125
- DaffButtonModule,
126
- FontAwesomeModule,
127
- ReactiveFormsModule], exports: [NotificationOrientationsComponent] }); }
128
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationOrientationsModule, imports: [CommonModule,
129
- DaffNotificationModule,
130
- DaffButtonModule,
131
- FontAwesomeModule,
132
- ReactiveFormsModule] }); }
133
- }
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationOrientationsModule, decorators: [{
135
- type: NgModule,
136
- args: [{
137
- declarations: [
138
- NotificationOrientationsComponent,
139
- ],
140
- imports: [
141
- CommonModule,
71
+ args: [{ selector: 'notification-orientations', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
142
72
  DaffNotificationModule,
73
+ FaIconComponent,
74
+ DaffPrefixSuffixModule,
143
75
  DaffButtonModule,
144
- FontAwesomeModule,
145
76
  ReactiveFormsModule,
146
- ],
147
- exports: [
148
- NotificationOrientationsComponent,
149
- ],
150
- }]
77
+ ], template: "<daff-notification [orientation]=\"orientationControl.value\">\n\t<fa-icon daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>\n\n<select [formControl]=\"orientationControl\">\n\t<option value=\"vertical\">Vertical</option>\n\t<option value=\"horizontal\">Horizontal</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"] }]
151
78
  }] });
152
79
 
153
80
  class NotificationStatusComponent {
@@ -158,43 +85,18 @@ class NotificationStatusComponent {
158
85
  this.statusControl = new UntypedFormControl('success');
159
86
  }
160
87
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationStatusComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
161
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: NotificationStatusComponent, selector: "notification-status", ngImport: i0, template: "<daff-notification [status]=\"statusControl.value\">\n\t<fa-icon *ngIf=\"statusControl.value === 'success'\" daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'warn'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'error'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>\n\n<select [formControl]=\"statusControl\">\n\t<option value=\"success\">Success</option>\n\t<option value=\"warn\">Warn</option>\n\t<option value=\"error\">Error</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.DaffNotificationComponent, selector: "daff-notification", inputs: ["status", "dismissible", "orientation"], outputs: ["closeNotification"] }, { kind: "directive", type: i2.DaffNotificationTitleDirective, selector: "[daffNotificationTitle]" }, { kind: "directive", type: i2.DaffNotificationSubtitleDirective, selector: "[daffNotificationSubtitle]" }, { kind: "directive", type: i3.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "component", type: i4.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "directive", type: i4$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
88
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: NotificationStatusComponent, isStandalone: true, selector: "notification-status", ngImport: i0, template: "<daff-notification [status]=\"statusControl.value\">\n\t<fa-icon *ngIf=\"statusControl.value === 'success'\" daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'warn'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'danger'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>\n\n<select [formControl]=\"statusControl\">\n\t<option value=\"success\">Success</option>\n\t<option value=\"warn\">Warn</option>\n\t<option value=\"danger\">Danger</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"], dependencies: [{ kind: "ngmodule", type: DaffNotificationModule }, { kind: "component", type: i1.DaffNotificationComponent, selector: "daff-notification", inputs: ["dismissible", "orientation"], outputs: ["closeNotification"] }, { kind: "directive", type: i1.DaffNotificationTitleDirective, selector: "[daffNotificationTitle]" }, { kind: "directive", type: i1.DaffNotificationSubtitleDirective, selector: "[daffNotificationSubtitle]" }, { kind: "directive", type: i2.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "ngmodule", type: DaffPrefixSuffixModule }, { kind: "ngmodule", type: DaffButtonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
162
89
  }
163
90
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationStatusComponent, decorators: [{
164
91
  type: Component,
165
- args: [{ selector: 'notification-status', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-notification [status]=\"statusControl.value\">\n\t<fa-icon *ngIf=\"statusControl.value === 'success'\" daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'warn'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'error'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>\n\n<select [formControl]=\"statusControl\">\n\t<option value=\"success\">Success</option>\n\t<option value=\"warn\">Warn</option>\n\t<option value=\"error\">Error</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"] }]
166
- }] });
167
-
168
- class NotificationStatusModule {
169
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationStatusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
170
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: NotificationStatusModule, declarations: [NotificationStatusComponent], imports: [CommonModule,
171
- DaffNotificationModule,
172
- DaffButtonModule,
173
- FontAwesomeModule,
174
- ReactiveFormsModule], exports: [NotificationStatusComponent] }); }
175
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationStatusModule, imports: [CommonModule,
176
- DaffNotificationModule,
177
- DaffButtonModule,
178
- FontAwesomeModule,
179
- ReactiveFormsModule] }); }
180
- }
181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationStatusModule, decorators: [{
182
- type: NgModule,
183
- args: [{
184
- declarations: [
185
- NotificationStatusComponent,
186
- ],
187
- imports: [
188
- CommonModule,
92
+ args: [{ selector: 'notification-status', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
189
93
  DaffNotificationModule,
94
+ NgIf,
95
+ FaIconComponent,
96
+ DaffPrefixSuffixModule,
190
97
  DaffButtonModule,
191
- FontAwesomeModule,
192
98
  ReactiveFormsModule,
193
- ],
194
- exports: [
195
- NotificationStatusComponent,
196
- ],
197
- }]
99
+ ], template: "<daff-notification [status]=\"statusControl.value\">\n\t<fa-icon *ngIf=\"statusControl.value === 'success'\" daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'warn'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'danger'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>\n\n<select [formControl]=\"statusControl\">\n\t<option value=\"success\">Success</option>\n\t<option value=\"warn\">Warn</option>\n\t<option value=\"danger\">Danger</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"] }]
198
100
  }] });
199
101
 
200
102
  class NotificationWithActionsComponent {
@@ -206,48 +108,23 @@ class NotificationWithActionsComponent {
206
108
  this.showNotification = !this.showNotification;
207
109
  }
208
110
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationWithActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
209
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: NotificationWithActionsComponent, selector: "notification-with-actions", ngImport: i0, template: "<button daff-button (click)=\"toggleNotification()\">\n\t<ng-container *ngIf=\"showNotification\">Show Notification</ng-container>\n\t<ng-container *ngIf=\"!showNotification\">Hide Notification</ng-container>\n</button>\n\n<daff-notification status=\"error\" *ngIf=\"showNotification\">\n\t<fa-icon daffPrefix [icon]=\"faExclamationCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n\t<div daffNotificationActions>\n\t\t<button daff-button size=\"sm\" color=\"theme-contrast\">Confirm</button>\n\t\t<button daff-flat-button size=\"sm\" color=\"theme-contrast\">Cancel</button>\n\t</div>\n</daff-notification>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.DaffNotificationComponent, selector: "daff-notification", inputs: ["status", "dismissible", "orientation"], outputs: ["closeNotification"] }, { kind: "directive", type: i2.DaffNotificationActionsDirective, selector: "[daffNotificationActions]" }, { kind: "directive", type: i2.DaffNotificationTitleDirective, selector: "[daffNotificationTitle]" }, { kind: "directive", type: i2.DaffNotificationSubtitleDirective, selector: "[daffNotificationSubtitle]" }, { kind: "directive", type: i3.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "component", type: i4.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "component", type: i5.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
111
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: NotificationWithActionsComponent, isStandalone: true, selector: "notification-with-actions", ngImport: i0, template: "<daff-notification>\n <fa-icon daffPrefix [icon]=\"faExclamationCircle\"></fa-icon>\n <div daffNotificationTitle>Title</div>\n <div daffNotificationSubtitle>This is the subtitle with information</div>\n <div daffNotificationActions>\n <button daff-button size=\"sm\" color=\"theme-contrast\">Confirm</button>\n <button daff-flat-button size=\"sm\" color=\"theme-contrast\">Cancel</button>\n </div>\n</daff-notification>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"], dependencies: [{ kind: "ngmodule", type: DaffNotificationModule }, { kind: "component", type: i1.DaffNotificationComponent, selector: "daff-notification", inputs: ["dismissible", "orientation"], outputs: ["closeNotification"] }, { kind: "directive", type: i1.DaffNotificationActionsDirective, selector: "[daffNotificationActions]" }, { kind: "directive", type: i1.DaffNotificationTitleDirective, selector: "[daffNotificationTitle]" }, { kind: "directive", type: i1.DaffNotificationSubtitleDirective, selector: "[daffNotificationSubtitle]" }, { kind: "directive", type: i2.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i3$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "ngmodule", type: DaffButtonModule }, { kind: "component", type: i4.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
210
112
  }
211
113
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationWithActionsComponent, decorators: [{
212
114
  type: Component,
213
- args: [{ selector: 'notification-with-actions', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button daff-button (click)=\"toggleNotification()\">\n\t<ng-container *ngIf=\"showNotification\">Show Notification</ng-container>\n\t<ng-container *ngIf=\"!showNotification\">Hide Notification</ng-container>\n</button>\n\n<daff-notification status=\"error\" *ngIf=\"showNotification\">\n\t<fa-icon daffPrefix [icon]=\"faExclamationCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n\t<div daffNotificationActions>\n\t\t<button daff-button size=\"sm\" color=\"theme-contrast\">Confirm</button>\n\t\t<button daff-flat-button size=\"sm\" color=\"theme-contrast\">Cancel</button>\n\t</div>\n</daff-notification>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"] }]
214
- }] });
215
-
216
- class NotificationWithActionsModule {
217
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationWithActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
218
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: NotificationWithActionsModule, declarations: [NotificationWithActionsComponent], imports: [CommonModule,
219
- DaffNotificationModule,
220
- FontAwesomeModule,
221
- DaffButtonModule], exports: [NotificationWithActionsComponent] }); }
222
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationWithActionsModule, imports: [CommonModule,
223
- DaffNotificationModule,
224
- FontAwesomeModule,
225
- DaffButtonModule] }); }
226
- }
227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationWithActionsModule, decorators: [{
228
- type: NgModule,
229
- args: [{
230
- declarations: [
231
- NotificationWithActionsComponent,
232
- ],
233
- imports: [
234
- CommonModule,
115
+ args: [{ selector: 'notification-with-actions', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
235
116
  DaffNotificationModule,
236
117
  FontAwesomeModule,
237
118
  DaffButtonModule,
238
- ],
239
- exports: [
240
- NotificationWithActionsComponent,
241
- ],
242
- }]
119
+ ], template: "<daff-notification>\n <fa-icon daffPrefix [icon]=\"faExclamationCircle\"></fa-icon>\n <div daffNotificationTitle>Title</div>\n <div daffNotificationSubtitle>This is the subtitle with information</div>\n <div daffNotificationActions>\n <button daff-button size=\"sm\" color=\"theme-contrast\">Confirm</button>\n <button daff-flat-button size=\"sm\" color=\"theme-contrast\">Cancel</button>\n </div>\n</daff-notification>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"] }]
243
120
  }] });
244
121
 
245
122
  const NOTIFICATION_EXAMPLES = [
246
- { component: DefaultNotificationComponent, module: DefaultNotificationModule },
247
- { component: NotificationStatusComponent, module: NotificationStatusModule },
248
- { component: NotificationOrientationsComponent, module: NotificationOrientationsModule },
249
- { component: DismissibleNotificationComponent, module: DismissibleNotificationModule },
250
- { component: NotificationWithActionsComponent, module: NotificationWithActionsModule },
123
+ DefaultNotificationComponent,
124
+ DismissibleNotificationComponent,
125
+ NotificationOrientationsComponent,
126
+ NotificationStatusComponent,
127
+ NotificationWithActionsComponent,
251
128
  ];
252
129
 
253
130
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-notification-examples.mjs","sources":["../../../libs/design/notification/examples/src/default-notification/default-notification.component.ts","../../../libs/design/notification/examples/src/default-notification/default-notification.component.html","../../../libs/design/notification/examples/src/default-notification/default-notification.module.ts","../../../libs/design/notification/examples/src/dismissible-notification/dismissible-notification.component.ts","../../../libs/design/notification/examples/src/dismissible-notification/dismissible-notification.component.html","../../../libs/design/notification/examples/src/dismissible-notification/dismissible-notification.module.ts","../../../libs/design/notification/examples/src/notification-orientations/notification-orientations.component.ts","../../../libs/design/notification/examples/src/notification-orientations/notification-orientations.component.html","../../../libs/design/notification/examples/src/notification-orientations/notification-orientations.module.ts","../../../libs/design/notification/examples/src/notification-status/notification-status.component.ts","../../../libs/design/notification/examples/src/notification-status/notification-status.component.html","../../../libs/design/notification/examples/src/notification-status/notification-status.module.ts","../../../libs/design/notification/examples/src/notification-with-actions/notification-with-actions.component.ts","../../../libs/design/notification/examples/src/notification-with-actions/notification-with-actions.component.html","../../../libs/design/notification/examples/src/notification-with-actions/notification-with-actions.module.ts","../../../libs/design/notification/examples/src/public_api.ts","../../../libs/design/notification/examples/src/daffodil-design-notification-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { faInfoCircle } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'default-notification',\n templateUrl: './default-notification.component.html',\n styleUrls: ['./default-notification.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DefaultNotificationComponent {\n faInfoCircle = faInfoCircle;\n\n showNotification = false;\n\n toggleNotification() {\n this.showNotification = !this.showNotification;\n }\n}\n","<button daff-button (click)=\"toggleNotification()\">Show Notification</button>\n\n<daff-notification *ngIf=\"showNotification\" status=\"success\">\n\t<fa-icon daffPrefix [icon]=\"faInfoCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n\t<div daffNotificationActions>\n\t\t<button daff-button size=\"sm\" color=\"theme-contrast\">Confirm</button>\n\t\t<button daff-flat-button size=\"sm\" color=\"theme-contrast\">Cancel</button>\n\t</div>\n</daff-notification>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffNotificationModule } from '@daffodil/design/notification';\n\nimport { DefaultNotificationComponent } from './default-notification.component';\n\n@NgModule({\n declarations: [\n DefaultNotificationComponent,\n ],\n imports: [\n CommonModule,\n DaffNotificationModule,\n FontAwesomeModule,\n DaffButtonModule,\n ],\n exports: [\n DefaultNotificationComponent,\n ],\n})\nexport class DefaultNotificationModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { faInfoCircle } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'dismissible-notification',\n templateUrl: './dismissible-notification.component.html',\n styles: [`\n :host {\n display: flex;\n justify-content: center;\n }\n `],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DismissibleNotificationComponent {\n faInfoCircle = faInfoCircle;\n\n hidden = false;\n\n hideNotification() {\n this.hidden = true;\n }\n}\n","<daff-notification *ngIf=\"!hidden\" dismissible=\"true\" (closeNotification)=\"hideNotification()\">\n\t<fa-icon daffPrefix [icon]=\"faInfoCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffNotificationModule } from '@daffodil/design/notification';\n\nimport { DismissibleNotificationComponent } from './dismissible-notification.component';\n\n@NgModule({\n declarations: [\n DismissibleNotificationComponent,\n ],\n imports: [\n CommonModule,\n DaffNotificationModule,\n FontAwesomeModule,\n DaffButtonModule,\n ],\n exports: [\n DismissibleNotificationComponent,\n ],\n})\nexport class DismissibleNotificationModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { UntypedFormControl } from '@angular/forms';\nimport {\n faCheck,\n faExclamation,\n faInfoCircle,\n} from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'notification-orientations',\n templateUrl: './notification-orientations.component.html',\n styleUrls: ['./notification-orientations.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NotificationOrientationsComponent {\n faInfoCircle = faInfoCircle;\n faCheck = faCheck;\n faExclamation = faExclamation;\n\n orientationControl: UntypedFormControl = new UntypedFormControl('vertical');\n}\n","<daff-notification [orientation]=\"orientationControl.value\">\n\t<fa-icon daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>\n\n<select [formControl]=\"orientationControl\">\n\t<option value=\"vertical\">Vertical</option>\n\t<option value=\"horizontal\">Horizontal</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 { DaffNotificationModule } from '@daffodil/design/notification';\n\nimport { NotificationOrientationsComponent } from './notification-orientations.component';\n\n@NgModule({\n declarations: [\n NotificationOrientationsComponent,\n ],\n imports: [\n CommonModule,\n DaffNotificationModule,\n DaffButtonModule,\n FontAwesomeModule,\n ReactiveFormsModule,\n ],\n exports: [\n NotificationOrientationsComponent,\n ],\n})\nexport class NotificationOrientationsModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { UntypedFormControl } from '@angular/forms';\nimport {\n faCheck,\n faExclamation,\n faInfoCircle,\n} from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'notification-status',\n templateUrl: './notification-status.component.html',\n styleUrls: ['./notification-status.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NotificationStatusComponent {\n faInfoCircle = faInfoCircle;\n faCheck = faCheck;\n faExclamation = faExclamation;\n\n statusControl: UntypedFormControl = new UntypedFormControl('success');\n}\n","<daff-notification [status]=\"statusControl.value\">\n\t<fa-icon *ngIf=\"statusControl.value === 'success'\" daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'warn'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'error'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>\n\n<select [formControl]=\"statusControl\">\n\t<option value=\"success\">Success</option>\n\t<option value=\"warn\">Warn</option>\n\t<option value=\"error\">Error</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 { DaffNotificationModule } from '@daffodil/design/notification';\n\nimport { NotificationStatusComponent } from './notification-status.component';\n\n@NgModule({\n declarations: [\n NotificationStatusComponent,\n ],\n imports: [\n CommonModule,\n DaffNotificationModule,\n DaffButtonModule,\n FontAwesomeModule,\n ReactiveFormsModule,\n ],\n exports: [\n NotificationStatusComponent,\n ],\n})\nexport class NotificationStatusModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { faExclamationCircle } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'notification-with-actions',\n templateUrl: './notification-with-actions.component.html',\n styles: [`\n :host {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 16px;\n }\n `],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NotificationWithActionsComponent {\n faExclamationCircle = faExclamationCircle;\n\n showNotification = false;\n\n toggleNotification() {\n this.showNotification = !this.showNotification;\n }\n}\n","<button daff-button (click)=\"toggleNotification()\">\n\t<ng-container *ngIf=\"showNotification\">Show Notification</ng-container>\n\t<ng-container *ngIf=\"!showNotification\">Hide Notification</ng-container>\n</button>\n\n<daff-notification status=\"error\" *ngIf=\"showNotification\">\n\t<fa-icon daffPrefix [icon]=\"faExclamationCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n\t<div daffNotificationActions>\n\t\t<button daff-button size=\"sm\" color=\"theme-contrast\">Confirm</button>\n\t\t<button daff-flat-button size=\"sm\" color=\"theme-contrast\">Cancel</button>\n\t</div>\n</daff-notification>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffNotificationModule } from '@daffodil/design/notification';\n\nimport { NotificationWithActionsComponent } from './notification-with-actions.component';\n\n@NgModule({\n declarations: [\n NotificationWithActionsComponent,\n ],\n imports: [\n CommonModule,\n DaffNotificationModule,\n FontAwesomeModule,\n DaffButtonModule,\n ],\n exports: [\n NotificationWithActionsComponent,\n ],\n})\nexport class NotificationWithActionsModule { }\n","import { ComponentExample } from '@daffodil/design';\n\nimport { DefaultNotificationComponent } from './default-notification/default-notification.component';\nimport { DefaultNotificationModule } from './default-notification/default-notification.module';\nimport { DismissibleNotificationComponent } from './dismissible-notification/dismissible-notification.component';\nimport { DismissibleNotificationModule } from './dismissible-notification/dismissible-notification.module';\nimport { NotificationOrientationsComponent } from './notification-orientations/notification-orientations.component';\nimport { NotificationOrientationsModule } from './notification-orientations/notification-orientations.module';\nimport { NotificationStatusComponent } from './notification-status/notification-status.component';\nimport { NotificationStatusModule } from './notification-status/notification-status.module';\nimport { NotificationWithActionsComponent } from './notification-with-actions/notification-with-actions.component';\nimport { NotificationWithActionsModule } from './notification-with-actions/notification-with-actions.module';\n\nexport const NOTIFICATION_EXAMPLES: ComponentExample[] = [\n { component: DefaultNotificationComponent, module: DefaultNotificationModule },\n { component: NotificationStatusComponent, module: NotificationStatusModule },\n { component: NotificationOrientationsComponent, module: NotificationOrientationsModule },\n { component: DismissibleNotificationComponent, module: DismissibleNotificationModule },\n { component: NotificationWithActionsComponent, module: NotificationWithActionsModule },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3","i4","i5"],"mappings":";;;;;;;;;;;;;;;MAaa,4BAA4B,CAAA;AAPzC,IAAA,WAAA,GAAA;QAQE,IAAY,CAAA,YAAA,GAAG,YAAY,CAAC;QAE5B,IAAgB,CAAA,gBAAA,GAAG,KAAK,CAAC;AAK1B,KAAA;IAHC,kBAAkB,GAAA;AAChB,QAAA,IAAI,CAAC,gBAAgB,GAAG,CAAC,IAAI,CAAC,gBAAgB,CAAC;KAChD;kIAPU,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA5B,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,4BAA4B,4DCbzC,0iBAUoB,EAAA,MAAA,EAAA,CAAA,yEAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,yBAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,aAAA,EAAA,aAAA,CAAA,EAAA,OAAA,EAAA,CAAA,mB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AAE,SAAS,EAAE,2BAA2B,EAAE,MAAM,EAAE,wBAAwB,EAAE;AAC5E,IAAA,EAAE,SAAS,EAAE,iCAAiC,EAAE,MAAM,EAAE,8BAA8B,EAAE;AACxF,IAAA,EAAE,SAAS,EAAE,gCAAgC,EAAE,MAAM,EAAE,6BAA6B,EAAE;AACtF,IAAA,EAAE,SAAS,EAAE,gCAAgC,EAAE,MAAM,EAAE,6BAA6B,EAAE;;;AClBxF;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-notification-examples.mjs","sources":["../../../libs/design/notification/examples/src/default-notification/default-notification.component.ts","../../../libs/design/notification/examples/src/default-notification/default-notification.component.html","../../../libs/design/notification/examples/src/dismissible-notification/dismissible-notification.component.ts","../../../libs/design/notification/examples/src/dismissible-notification/dismissible-notification.component.html","../../../libs/design/notification/examples/src/notification-orientations/notification-orientations.component.ts","../../../libs/design/notification/examples/src/notification-orientations/notification-orientations.component.html","../../../libs/design/notification/examples/src/notification-status/notification-status.component.ts","../../../libs/design/notification/examples/src/notification-status/notification-status.component.html","../../../libs/design/notification/examples/src/notification-with-actions/notification-with-actions.component.ts","../../../libs/design/notification/examples/src/notification-with-actions/notification-with-actions.component.html","../../../libs/design/notification/examples/src/public_api.ts","../../../libs/design/notification/examples/src/daffodil-design-notification-examples.ts"],"sourcesContent":["import { NgIf } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faInfoCircle } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffPrefixSuffixModule } from '@daffodil/design';\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffNotificationModule } from '@daffodil/design/notification';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'default-notification',\n templateUrl: './default-notification.component.html',\n styleUrls: ['./default-notification.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DaffNotificationModule,\n FaIconComponent,\n DaffPrefixSuffixModule,\n DaffButtonModule,\n NgIf,\n ],\n})\nexport class DefaultNotificationComponent {\n faInfoCircle = faInfoCircle;\n\n showNotification = false;\n\n toggleNotification() {\n this.showNotification = !this.showNotification;\n }\n}\n","<daff-notification>\n\t<fa-icon daffPrefix [icon]=\"faInfoCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>","import { NgIf } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faInfoCircle } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffPrefixSuffixModule } from '@daffodil/design';\nimport { DaffNotificationModule } from '@daffodil/design/notification';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'dismissible-notification',\n templateUrl: './dismissible-notification.component.html',\n styles: [`\n :host {\n display: flex;\n justify-content: center;\n }\n `],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DaffNotificationModule,\n FaIconComponent,\n DaffPrefixSuffixModule,\n NgIf,\n ],\n})\nexport class DismissibleNotificationComponent {\n faInfoCircle = faInfoCircle;\n\n hidden = false;\n\n hideNotification() {\n this.hidden = true;\n }\n}\n","<daff-notification *ngIf=\"!hidden\" dismissible=\"true\" (closeNotification)=\"hideNotification()\">\n\t<fa-icon daffPrefix [icon]=\"faInfoCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>","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 {\n faCheck,\n faExclamation,\n faInfoCircle,\n} from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffPrefixSuffixModule } from '@daffodil/design';\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffNotificationModule } from '@daffodil/design/notification';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'notification-orientations',\n templateUrl: './notification-orientations.component.html',\n styleUrls: ['./notification-orientations.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DaffNotificationModule,\n FaIconComponent,\n DaffPrefixSuffixModule,\n DaffButtonModule,\n ReactiveFormsModule,\n ],\n})\nexport class NotificationOrientationsComponent {\n faInfoCircle = faInfoCircle;\n faCheck = faCheck;\n faExclamation = faExclamation;\n\n orientationControl: UntypedFormControl = new UntypedFormControl('vertical');\n}\n","<daff-notification [orientation]=\"orientationControl.value\">\n\t<fa-icon daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>\n\n<select [formControl]=\"orientationControl\">\n\t<option value=\"vertical\">Vertical</option>\n\t<option value=\"horizontal\">Horizontal</option>\n</select>","import { NgIf } 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 {\n faCheck,\n faExclamation,\n faInfoCircle,\n} from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffPrefixSuffixModule } from '@daffodil/design';\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffNotificationModule } from '@daffodil/design/notification';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'notification-status',\n templateUrl: './notification-status.component.html',\n styleUrls: ['./notification-status.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DaffNotificationModule,\n NgIf,\n FaIconComponent,\n DaffPrefixSuffixModule,\n DaffButtonModule,\n ReactiveFormsModule,\n ],\n})\nexport class NotificationStatusComponent {\n faInfoCircle = faInfoCircle;\n faCheck = faCheck;\n faExclamation = faExclamation;\n\n statusControl: UntypedFormControl = new UntypedFormControl('success');\n}\n","<daff-notification [status]=\"statusControl.value\">\n\t<fa-icon *ngIf=\"statusControl.value === 'success'\" daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'warn'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'danger'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>\n\n<select [formControl]=\"statusControl\">\n\t<option value=\"success\">Success</option>\n\t<option value=\"warn\">Warn</option>\n\t<option value=\"danger\">Danger</option>\n</select>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\nimport { faExclamationCircle } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffNotificationModule } from '@daffodil/design/notification';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'notification-with-actions',\n templateUrl: './notification-with-actions.component.html',\n styles: [`\n :host {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 16px;\n }\n `],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DaffNotificationModule,\n FontAwesomeModule,\n DaffButtonModule,\n ],\n})\nexport class NotificationWithActionsComponent {\n faExclamationCircle = faExclamationCircle;\n\n showNotification = false;\n\n toggleNotification() {\n this.showNotification = !this.showNotification;\n }\n}\n","<daff-notification>\n <fa-icon daffPrefix [icon]=\"faExclamationCircle\"></fa-icon>\n <div daffNotificationTitle>Title</div>\n <div daffNotificationSubtitle>This is the subtitle with information</div>\n <div daffNotificationActions>\n <button daff-button size=\"sm\" color=\"theme-contrast\">Confirm</button>\n <button daff-flat-button size=\"sm\" color=\"theme-contrast\">Cancel</button>\n </div>\n</daff-notification>","import { DefaultNotificationComponent } from './default-notification/default-notification.component';\nimport { DismissibleNotificationComponent } from './dismissible-notification/dismissible-notification.component';\nimport { NotificationOrientationsComponent } from './notification-orientations/notification-orientations.component';\nimport { NotificationStatusComponent } from './notification-status/notification-status.component';\nimport { NotificationWithActionsComponent } from './notification-with-actions/notification-with-actions.component';\n\nexport const NOTIFICATION_EXAMPLES = [\n DefaultNotificationComponent,\n DismissibleNotificationComponent,\n NotificationOrientationsComponent,\n NotificationStatusComponent,\n NotificationWithActionsComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;MA2Ba,4BAA4B,CAAA;AAfzC,IAAA,WAAA,GAAA;QAgBE,IAAY,CAAA,YAAA,GAAG,YAAY,CAAC;QAE5B,IAAgB,CAAA,gBAAA,GAAG,KAAK,CAAC;AAK1B,KAAA;IAHC,kBAAkB,GAAA;AAChB,QAAA,IAAI,CAAC,gBAAgB,GAAG,CAAC,IAAI,CAAC,gBAAgB,CAAC;KAChD;kIAPU,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;sHAA5B,4BAA4B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC3BzC,4NAIoB,EDgBhB,MAAA,EAAA,CAAA,yEAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,sBAAsB,geACtB,eAAe,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,OAAA,EAAA,WAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,EA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IAC5B,gCAAgC;IAChC,iCAAiC;IACjC,2BAA2B;IAC3B,gCAAgC;;;ACXlC;;AAEG;;;;"}
@@ -1,10 +1,11 @@
1
- import * as i1 from '@angular/common';
1
+ import * as i2 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
4
  import { Directive, HostBinding, EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChild, Input, Output, NgModule } from '@angular/core';
5
- import * as i2 from '@fortawesome/angular-fontawesome';
5
+ import * as i3 from '@fortawesome/angular-fontawesome';
6
6
  import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
7
- import { daffArticleEncapsulatedMixin, daffStatusMixin, DaffStatusEnum, DaffPrefixDirective, DaffPrefixSuffixModule } from '@daffodil/design';
7
+ import * as i1 from '@daffodil/design';
8
+ import { DaffStatusEnum, DaffPrefixDirective, DaffArticleEncapsulatedDirective, DaffStatusableDirective, DaffPrefixSuffixModule } from '@daffodil/design';
8
9
  import { faTimes } from '@fortawesome/free-solid-svg-icons';
9
10
 
10
11
  class DaffNotificationActionsDirective {
@@ -24,16 +25,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
24
25
  args: ['class.daff-notification__actions']
25
26
  }] } });
26
27
 
27
- /**
28
- * An _elementRef is needed for the core mixins
29
- */
30
- class DaffNotificationBase {
31
- constructor(_elementRef, _renderer) {
32
- this._elementRef = _elementRef;
33
- this._renderer = _renderer;
34
- }
35
- }
36
- const _daffNotificationBase = daffArticleEncapsulatedMixin(daffStatusMixin(DaffNotificationBase));
37
28
  var DaffNotificationOrientationEnum;
38
29
  (function (DaffNotificationOrientationEnum) {
39
30
  DaffNotificationOrientationEnum["Horizontal"] = "horizontal";
@@ -43,13 +34,13 @@ var DaffNotificationOrientationEnum;
43
34
  * DaffNotificationComponent provides a way to display and communicate
44
35
  * information related to user actions within a page's content.
45
36
  */
46
- class DaffNotificationComponent extends _daffNotificationBase {
37
+ class DaffNotificationComponent {
47
38
  /**
48
39
  * Sets role to alert when `status="warn"` or `status="danger"`.
49
40
  * Sets role to status on all other instances.
50
41
  */
51
42
  get role() {
52
- return this.status === DaffStatusEnum.Warn || this.status === DaffStatusEnum.Danger ? 'alert' : 'status';
43
+ return this.statusDirective.status === DaffStatusEnum.Warn || this.statusDirective.status === DaffStatusEnum.Danger ? 'alert' : 'status';
53
44
  }
54
45
  ;
55
46
  get verticalOrientation() {
@@ -58,6 +49,19 @@ class DaffNotificationComponent extends _daffNotificationBase {
58
49
  get horizontalOrientation() {
59
50
  return this.orientation === DaffNotificationOrientationEnum.Horizontal;
60
51
  }
52
+ constructor(statusDirective) {
53
+ this.statusDirective = statusDirective;
54
+ this.faTimes = faTimes;
55
+ this.class = true;
56
+ this.tabindex = '0';
57
+ /** Whether or not a notification is closable */
58
+ this.dismissible = false;
59
+ this._orientation = DaffNotificationOrientationEnum.Vertical;
60
+ /**
61
+ * Output event triggered when the close icon is clicked.
62
+ */
63
+ this.closeNotification = new EventEmitter();
64
+ }
61
65
  get orientation() {
62
66
  return this._orientation;
63
67
  }
@@ -70,31 +74,22 @@ class DaffNotificationComponent extends _daffNotificationBase {
70
74
  }
71
75
  }
72
76
  ;
73
- constructor(elementRef, renderer) {
74
- super(elementRef, renderer);
75
- this.elementRef = elementRef;
76
- this.renderer = renderer;
77
- this.faTimes = faTimes;
78
- this.class = true;
79
- this.tabindex = '0';
80
- /** Whether or not a notification is closable */
81
- this.dismissible = false;
82
- this._orientation = DaffNotificationOrientationEnum.Vertical;
83
- /**
84
- * Output event triggered when the close icon is clicked.
85
- */
86
- this.closeNotification = new EventEmitter();
87
- }
88
77
  onCloseNotification(event) {
89
78
  this.closeNotification.emit();
90
79
  }
91
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffNotificationComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
92
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffNotificationComponent, selector: "daff-notification", inputs: { status: "status", dismissible: "dismissible", orientation: "orientation" }, outputs: { closeNotification: "closeNotification" }, host: { properties: { "class.daff-notification": "this.class", "attr.tabindex": "this.tabindex", "attr.role": "this.role", "class.vertical": "this.verticalOrientation", "class.horizontal": "this.horizontalOrientation", "class.dismissible": "this.dismissible" } }, queries: [{ propertyName: "_prefix", first: true, predicate: DaffPrefixDirective, descendants: true }, { propertyName: "_actions", first: true, predicate: DaffNotificationActionsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-notification__body\">\n <div class=\"daff-notification__content\">\n <ng-content select=\"[daffNotificationTitle]\"></ng-content>\n <ng-content select=\"[daffNotificationSubtitle]\"></ng-content>\n </div>\n <ng-container *ngIf=\"_actions\">\n <ng-content select=\"[daffNotificationActions]\"></ng-content>\n </ng-container>\n</div>\n<button class=\"daff-notification__close-icon\" *ngIf=\"dismissible\" (click)=\"onCloseNotification($event)\">\n <fa-icon [icon]=\"faTimes\" [fixedWidth]=\"true\"></fa-icon>\n</button>", styles: [".daff-notification{display:flex;border-radius:4px;font-size:1rem;line-height:1.5rem;position:relative}.daff-notification .daff-prefix{padding:16px 0 16px 16px}.daff-notification__close-icon{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;appearance:none;background:none;border:none;color:currentColor;margin:0;min-height:3rem;height:3rem;min-width:3rem;width:3rem}.daff-notification__body{display:flex;font-size:1rem;line-height:1.5rem;padding:16px;width:100%}.daff-notification__content{display:flex;flex-direction:column;gap:4px}.daff-notification__title{font-size:1rem;font-weight:600;line-height:1.5rem}.daff-notification__subtitle{font-size:1rem;font-weight:400;line-height:1.25rem}.daff-notification__actions{display:flex;gap:8px}.daff-notification.dismissible.horizontal .daff-notification__actions{padding:8px 0}.daff-notification.vertical .daff-notification__body{flex-direction:column;gap:16px}.daff-notification.horizontal .daff-prefix{padding:12px 0 12px 16px}.daff-notification.horizontal .daff-notification__subtitle{align-self:center}.daff-notification.horizontal .daff-notification__body{flex-direction:row;gap:0;padding:0}.daff-notification.horizontal .daff-notification__content{flex-direction:row;flex-wrap:wrap;flex-grow:1;padding:12px 16px 12px 12px}.daff-notification.horizontal .daff-notification__actions{min-height:3rem;padding:8px 16px 8px 0;margin:0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
80
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffNotificationComponent, deps: [{ token: i1.DaffStatusableDirective }], target: i0.ɵɵFactoryTarget.Component }); }
81
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffNotificationComponent, selector: "daff-notification", inputs: { dismissible: "dismissible", orientation: "orientation" }, outputs: { closeNotification: "closeNotification" }, host: { properties: { "class.daff-notification": "this.class", "attr.tabindex": "this.tabindex", "attr.role": "this.role", "class.vertical": "this.verticalOrientation", "class.horizontal": "this.horizontalOrientation", "class.dismissible": "this.dismissible" } }, queries: [{ propertyName: "_prefix", first: true, predicate: DaffPrefixDirective, descendants: true }, { propertyName: "_actions", first: true, predicate: DaffNotificationActionsDirective, descendants: true }], hostDirectives: [{ directive: i1.DaffArticleEncapsulatedDirective }, { directive: i1.DaffStatusableDirective, inputs: ["status", "status"] }], ngImport: i0, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-notification__body\">\n <div class=\"daff-notification__content\">\n <ng-content select=\"[daffNotificationTitle]\"></ng-content>\n <ng-content select=\"[daffNotificationSubtitle]\"></ng-content>\n </div>\n <ng-container *ngIf=\"_actions\">\n <ng-content select=\"[daffNotificationActions]\"></ng-content>\n </ng-container>\n</div>\n<button class=\"daff-notification__close-icon\" *ngIf=\"dismissible\" (click)=\"onCloseNotification($event)\">\n <fa-icon [icon]=\"faTimes\" [fixedWidth]=\"true\"></fa-icon>\n</button>", styles: [".daff-notification{display:flex;border-radius:4px;font-size:1rem;line-height:1.5rem;position:relative}.daff-notification .daff-prefix{padding:16px 0 16px 16px}.daff-notification__close-icon{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;appearance:none;background:none;border:none;color:currentColor;margin:0;min-height:3rem;height:3rem;min-width:3rem;width:3rem}.daff-notification__body{display:flex;font-size:1rem;line-height:1.5rem;padding:16px;width:100%}.daff-notification__content{display:flex;flex-direction:column;gap:4px}.daff-notification__title{font-size:1rem;font-weight:600;line-height:1.5rem}.daff-notification__subtitle{font-size:1rem;font-weight:400;line-height:1.25rem}.daff-notification__actions{display:flex;gap:8px}.daff-notification.dismissible.horizontal .daff-notification__actions{padding:8px 0}.daff-notification.vertical .daff-notification__body{flex-direction:column;gap:16px}.daff-notification.horizontal .daff-prefix{padding:12px 0 12px 16px}.daff-notification.horizontal .daff-notification__subtitle{align-self:center}.daff-notification.horizontal .daff-notification__body{flex-direction:row;gap:0;padding:0}.daff-notification.horizontal .daff-notification__content{flex-direction:row;flex-wrap:wrap;flex-grow:1;padding:12px 16px 12px 12px}.daff-notification.horizontal .daff-notification__actions{min-height:3rem;padding:8px 16px 8px 0;margin:0}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
93
82
  }
94
83
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffNotificationComponent, decorators: [{
95
84
  type: Component,
96
- args: [{ selector: 'daff-notification', inputs: ['status'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-notification__body\">\n <div class=\"daff-notification__content\">\n <ng-content select=\"[daffNotificationTitle]\"></ng-content>\n <ng-content select=\"[daffNotificationSubtitle]\"></ng-content>\n </div>\n <ng-container *ngIf=\"_actions\">\n <ng-content select=\"[daffNotificationActions]\"></ng-content>\n </ng-container>\n</div>\n<button class=\"daff-notification__close-icon\" *ngIf=\"dismissible\" (click)=\"onCloseNotification($event)\">\n <fa-icon [icon]=\"faTimes\" [fixedWidth]=\"true\"></fa-icon>\n</button>", styles: [".daff-notification{display:flex;border-radius:4px;font-size:1rem;line-height:1.5rem;position:relative}.daff-notification .daff-prefix{padding:16px 0 16px 16px}.daff-notification__close-icon{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;appearance:none;background:none;border:none;color:currentColor;margin:0;min-height:3rem;height:3rem;min-width:3rem;width:3rem}.daff-notification__body{display:flex;font-size:1rem;line-height:1.5rem;padding:16px;width:100%}.daff-notification__content{display:flex;flex-direction:column;gap:4px}.daff-notification__title{font-size:1rem;font-weight:600;line-height:1.5rem}.daff-notification__subtitle{font-size:1rem;font-weight:400;line-height:1.25rem}.daff-notification__actions{display:flex;gap:8px}.daff-notification.dismissible.horizontal .daff-notification__actions{padding:8px 0}.daff-notification.vertical .daff-notification__body{flex-direction:column;gap:16px}.daff-notification.horizontal .daff-prefix{padding:12px 0 12px 16px}.daff-notification.horizontal .daff-notification__subtitle{align-self:center}.daff-notification.horizontal .daff-notification__body{flex-direction:row;gap:0;padding:0}.daff-notification.horizontal .daff-notification__content{flex-direction:row;flex-wrap:wrap;flex-grow:1;padding:12px 16px 12px 12px}.daff-notification.horizontal .daff-notification__actions{min-height:3rem;padding:8px 16px 8px 0;margin:0}\n"] }]
97
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { _prefix: [{
85
+ args: [{ selector: 'daff-notification', hostDirectives: [
86
+ { directive: DaffArticleEncapsulatedDirective },
87
+ {
88
+ directive: DaffStatusableDirective,
89
+ inputs: ['status'],
90
+ },
91
+ ], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-notification__body\">\n <div class=\"daff-notification__content\">\n <ng-content select=\"[daffNotificationTitle]\"></ng-content>\n <ng-content select=\"[daffNotificationSubtitle]\"></ng-content>\n </div>\n <ng-container *ngIf=\"_actions\">\n <ng-content select=\"[daffNotificationActions]\"></ng-content>\n </ng-container>\n</div>\n<button class=\"daff-notification__close-icon\" *ngIf=\"dismissible\" (click)=\"onCloseNotification($event)\">\n <fa-icon [icon]=\"faTimes\" [fixedWidth]=\"true\"></fa-icon>\n</button>", styles: [".daff-notification{display:flex;border-radius:4px;font-size:1rem;line-height:1.5rem;position:relative}.daff-notification .daff-prefix{padding:16px 0 16px 16px}.daff-notification__close-icon{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;appearance:none;background:none;border:none;color:currentColor;margin:0;min-height:3rem;height:3rem;min-width:3rem;width:3rem}.daff-notification__body{display:flex;font-size:1rem;line-height:1.5rem;padding:16px;width:100%}.daff-notification__content{display:flex;flex-direction:column;gap:4px}.daff-notification__title{font-size:1rem;font-weight:600;line-height:1.5rem}.daff-notification__subtitle{font-size:1rem;font-weight:400;line-height:1.25rem}.daff-notification__actions{display:flex;gap:8px}.daff-notification.dismissible.horizontal .daff-notification__actions{padding:8px 0}.daff-notification.vertical .daff-notification__body{flex-direction:column;gap:16px}.daff-notification.horizontal .daff-prefix{padding:12px 0 12px 16px}.daff-notification.horizontal .daff-notification__subtitle{align-self:center}.daff-notification.horizontal .daff-notification__body{flex-direction:row;gap:0;padding:0}.daff-notification.horizontal .daff-notification__content{flex-direction:row;flex-wrap:wrap;flex-grow:1;padding:12px 16px 12px 12px}.daff-notification.horizontal .daff-notification__actions{min-height:3rem;padding:8px 16px 8px 0;margin:0}\n"] }]
92
+ }], ctorParameters: () => [{ type: i1.DaffStatusableDirective }], propDecorators: { _prefix: [{
98
93
  type: ContentChild,
99
94
  args: [DaffPrefixDirective]
100
95
  }], _actions: [{