@daffodil/design 0.73.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 (597) hide show
  1. package/README.md +20 -22
  2. package/accordion/accordion/accordion/accordion.component.d.ts +3 -19
  3. package/article/README.md +19 -13
  4. package/article/examples/article-blockquote/article-blockquote.component.d.ts +1 -1
  5. package/article/examples/article-code-block/article-code-block.component.d.ts +1 -1
  6. package/article/examples/article-code-inline/article-code-inline.component.d.ts +1 -1
  7. package/article/examples/article-headings/article-headings.component.d.ts +1 -1
  8. package/article/examples/article-hr/article-hr.component.d.ts +1 -1
  9. package/article/examples/article-link/article-link.component.d.ts +1 -1
  10. package/article/examples/article-meta/article-meta.component.d.ts +1 -1
  11. package/article/examples/article-ol/article-ol.component.d.ts +1 -1
  12. package/article/examples/article-table/article-table.component.d.ts +1 -1
  13. package/article/examples/article-ul/article-ul.component.d.ts +1 -1
  14. package/article/examples/public_api.d.ts +0 -1
  15. package/button/button/button-sizable.directive.d.ts +10 -0
  16. package/button/button/button.component.d.ts +17 -27
  17. package/button/examples/basic-button/basic-button.component.d.ts +1 -1
  18. package/button/examples/flat-button/flat-button.component.d.ts +1 -1
  19. package/button/examples/icon-button/icon-button.component.d.ts +1 -1
  20. package/button/examples/public_api.d.ts +0 -8
  21. package/button/examples/raised-button/raised-button.component.d.ts +1 -1
  22. package/button/examples/sizeable-button/sizeable-button.component.d.ts +1 -1
  23. package/button/examples/statusable-button/statusable-button.component.d.ts +1 -1
  24. package/button/examples/stroked-button/stroked-button.component.d.ts +1 -1
  25. package/button/examples/underline-button/underline-button.component.d.ts +1 -1
  26. package/button/public_api.d.ts +1 -0
  27. package/callout/callout/callout.component.d.ts +6 -38
  28. package/callout/examples/callout-text-alignment/callout-text-alignment.component.d.ts +1 -1
  29. package/callout/examples/callout-theming/callout-theming.component.d.ts +1 -1
  30. package/callout/examples/callout-with-grid/callout-with-grid.component.d.ts +1 -1
  31. package/callout/examples/compact-callout/compact-callout.component.d.ts +1 -1
  32. package/callout/examples/public_api.d.ts +0 -4
  33. package/card/card/card.component.d.ts +3 -21
  34. package/card/examples/basic-card/basic-card.component.d.ts +1 -1
  35. package/card/examples/card-orientation/card-orientation.component.d.ts +1 -1
  36. package/card/examples/card-theming/card-theming.component.d.ts +1 -1
  37. package/card/examples/linkable-card/linkable-card.component.d.ts +1 -1
  38. package/card/examples/public_api.d.ts +0 -6
  39. package/card/examples/raised-card/raised-card.component.d.ts +1 -1
  40. package/card/examples/stroked-card/stroked-card.component.d.ts +1 -1
  41. package/checkbox/examples/basic-checkbox/basic-checkbox.component.d.ts +1 -1
  42. package/checkbox/examples/checkbox-set/checkbox-set.component.d.ts +1 -1
  43. package/checkbox/examples/examples.d.ts +0 -2
  44. package/checkbox/examples/public_api.d.ts +0 -1
  45. package/container/README.md +11 -8
  46. package/container/container/container.component.d.ts +3 -22
  47. package/container/examples/container-sizes/container-sizes.component.d.ts +1 -1
  48. package/container/examples/public_api.d.ts +0 -1
  49. package/core/article-encapsulated/article-encapsulated.directive.d.ts +19 -0
  50. package/core/article-encapsulated/public_api.d.ts +1 -1
  51. package/core/breakpoints/noop.service.d.ts +13 -0
  52. package/core/breakpoints/provider.d.ts +6 -0
  53. package/core/breakpoints/public_api.d.ts +3 -0
  54. package/core/colorable/colorable.d.ts +36 -2
  55. package/core/colorable/colorable.directive.d.ts +55 -0
  56. package/core/colorable/public_api.d.ts +1 -1
  57. package/core/compactable/compactable.directive.d.ts +25 -0
  58. package/core/compactable/public_api.d.ts +1 -1
  59. package/core/manage-container-layout/manage-container-layout.directive.d.ts +29 -0
  60. package/core/manage-container-layout/public_api.d.ts +1 -1
  61. package/core/public_api.d.ts +1 -1
  62. package/core/sizable/public_api.d.ts +1 -1
  63. package/core/sizable/sizable.d.ts +4 -2
  64. package/core/sizable/sizable.directive.d.ts +38 -0
  65. package/core/skeletonable/public_api.d.ts +1 -1
  66. package/core/skeletonable/skeletonable.d.ts +0 -1
  67. package/core/skeletonable/skeletonable.directive.d.ts +17 -0
  68. package/core/statusable/public_api.d.ts +1 -1
  69. package/core/statusable/statusable.d.ts +16 -0
  70. package/core/statusable/statusable.directive.d.ts +38 -0
  71. package/core/text-alignable/public_api.d.ts +1 -1
  72. package/core/text-alignable/text-alignable.d.ts +1 -2
  73. package/core/text-alignable/text-alignable.directive.d.ts +42 -0
  74. package/esm2022/accordion/accordion/accordion/accordion.component.mjs +11 -23
  75. package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +4 -3
  76. package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +4 -3
  77. package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +4 -3
  78. package/esm2022/article/examples/article-headings/article-headings.component.mjs +3 -3
  79. package/esm2022/article/examples/article-hr/article-hr.component.mjs +4 -3
  80. package/esm2022/article/examples/article-link/article-link.component.mjs +4 -3
  81. package/esm2022/article/examples/article-meta/article-meta.component.mjs +4 -3
  82. package/esm2022/article/examples/article-ol/article-ol.component.mjs +4 -3
  83. package/esm2022/article/examples/article-table/article-table.component.mjs +4 -3
  84. package/esm2022/article/examples/article-ul/article-ul.component.mjs +4 -3
  85. package/esm2022/article/examples/public_api.mjs +1 -2
  86. package/esm2022/button/button/button-sizable.directive.mjs +14 -0
  87. package/esm2022/button/button/button.component.mjs +32 -10
  88. package/esm2022/button/examples/basic-button/basic-button.component.mjs +10 -4
  89. package/esm2022/button/examples/flat-button/flat-button.component.mjs +10 -4
  90. package/esm2022/button/examples/icon-button/icon-button.component.mjs +5 -4
  91. package/esm2022/button/examples/public_api.mjs +1 -9
  92. package/esm2022/button/examples/raised-button/raised-button.component.mjs +10 -4
  93. package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +5 -4
  94. package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +5 -4
  95. package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +10 -4
  96. package/esm2022/button/examples/underline-button/underline-button.component.mjs +10 -4
  97. package/esm2022/button/public_api.mjs +2 -1
  98. package/esm2022/callout/callout/callout.component.mjs +28 -22
  99. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +20 -10
  100. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +17 -9
  101. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +12 -4
  102. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +12 -4
  103. package/esm2022/callout/examples/public_api.mjs +1 -5
  104. package/esm2022/card/card/card.component.mjs +12 -16
  105. package/esm2022/card/examples/basic-card/basic-card.component.mjs +12 -4
  106. package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +20 -10
  107. package/esm2022/card/examples/card-theming/card-theming.component.mjs +11 -6
  108. package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +15 -8
  109. package/esm2022/card/examples/public_api.mjs +1 -7
  110. package/esm2022/card/examples/raised-card/raised-card.component.mjs +15 -8
  111. package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +15 -8
  112. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +12 -6
  113. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +12 -7
  114. package/esm2022/checkbox/examples/examples.mjs +1 -7
  115. package/esm2022/checkbox/examples/public_api.mjs +1 -2
  116. package/esm2022/container/container/container.component.mjs +15 -22
  117. package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +11 -6
  118. package/esm2022/container/examples/public_api.mjs +1 -2
  119. package/esm2022/core/article-encapsulated/article-encapsulated.directive.mjs +33 -0
  120. package/esm2022/core/article-encapsulated/public_api.mjs +2 -2
  121. package/esm2022/core/breakpoints/noop.service.mjs +25 -0
  122. package/esm2022/core/breakpoints/provider.mjs +13 -0
  123. package/esm2022/core/breakpoints/public_api.mjs +4 -0
  124. package/esm2022/core/colorable/colorable.directive.mjs +77 -0
  125. package/esm2022/core/colorable/colorable.mjs +37 -2
  126. package/esm2022/core/colorable/public_api.mjs +2 -2
  127. package/esm2022/core/compactable/compactable.directive.mjs +41 -0
  128. package/esm2022/core/compactable/public_api.mjs +2 -2
  129. package/esm2022/core/manage-container-layout/manage-container-layout.directive.mjs +43 -0
  130. package/esm2022/core/manage-container-layout/public_api.mjs +2 -2
  131. package/esm2022/core/public_api.mjs +2 -2
  132. package/esm2022/core/sizable/public_api.mjs +2 -2
  133. package/esm2022/core/sizable/sizable.directive.mjs +53 -0
  134. package/esm2022/core/sizable/sizable.mjs +2 -3
  135. package/esm2022/core/skeletonable/public_api.mjs +2 -2
  136. package/esm2022/core/skeletonable/skeletonable.directive.mjs +33 -0
  137. package/esm2022/core/skeletonable/skeletonable.mjs +1 -1
  138. package/esm2022/core/statusable/public_api.mjs +2 -2
  139. package/esm2022/core/statusable/statusable.directive.mjs +50 -0
  140. package/esm2022/core/statusable/statusable.mjs +4 -1
  141. package/esm2022/core/text-alignable/public_api.mjs +2 -2
  142. package/esm2022/core/text-alignable/text-alignable.directive.mjs +53 -0
  143. package/esm2022/core/text-alignable/text-alignable.mjs +1 -1
  144. package/esm2022/daffodil-design.mjs +2 -2
  145. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +10 -4
  146. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +20 -10
  147. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +15 -8
  148. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +12 -4
  149. package/esm2022/hero/examples/public_api.mjs +1 -5
  150. package/esm2022/hero/hero/hero.component.mjs +28 -22
  151. package/esm2022/image/examples/basic-image/basic-image.component.mjs +4 -3
  152. package/esm2022/image/examples/load-image/load-image.component.mjs +6 -5
  153. package/esm2022/image/examples/public_api.mjs +4 -7
  154. package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +4 -3
  155. package/esm2022/image/image/image.component.mjs +14 -23
  156. package/esm2022/index.mjs +6 -0
  157. package/esm2022/input/examples/basic-input/basic-input.component.mjs +4 -3
  158. package/esm2022/input/examples/examples.mjs +5 -9
  159. package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +4 -3
  160. package/esm2022/input/examples/input-error/input-error.component.mjs +9 -4
  161. package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +4 -3
  162. package/esm2022/link-set/link-set/link-set.component.mjs +12 -22
  163. package/esm2022/list/examples/basic-list/basic-list.component.mjs +4 -3
  164. package/esm2022/list/examples/icon-list/icon-list.component.mjs +10 -4
  165. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +4 -3
  166. package/esm2022/list/examples/nav-list/nav-list.component.mjs +10 -4
  167. package/esm2022/list/examples/public_api.mjs +1 -2
  168. package/esm2022/list/list/list.component.mjs +12 -21
  169. package/esm2022/loading-icon/examples/examples.mjs +1 -3
  170. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +12 -7
  171. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +4 -3
  172. package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +21 -28
  173. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +7 -5
  174. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +7 -5
  175. package/esm2022/media-gallery/examples/public_api.mjs +1 -4
  176. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +7 -5
  177. package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +17 -23
  178. package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +5 -3
  179. package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +5 -4
  180. package/esm2022/menu/examples/public_api.mjs +2 -3
  181. package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +5 -4
  182. package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +5 -3
  183. package/esm2022/modal/examples/public_api.mjs +2 -3
  184. package/esm2022/modal/modal/modal.component.mjs +42 -6
  185. package/esm2022/modal/modal-actions/modal-actions.component.mjs +15 -5
  186. package/esm2022/modal/modal-close/modal-close.directive.mjs +47 -0
  187. package/esm2022/modal/modal-content/modal-content.component.mjs +15 -5
  188. package/esm2022/modal/modal-header/modal-header.component.mjs +16 -4
  189. package/esm2022/modal/modal-title/modal-title.directive.mjs +33 -6
  190. package/esm2022/modal/modal.module.mjs +18 -5
  191. package/esm2022/modal/public_api.mjs +2 -1
  192. package/esm2022/modal/service/modal.service.mjs +3 -2
  193. package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +5 -3
  194. package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +12 -5
  195. package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +15 -8
  196. package/esm2022/navbar/examples/public_api.mjs +1 -5
  197. package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +5 -3
  198. package/esm2022/navbar/navbar/navbar.component.mjs +22 -28
  199. package/esm2022/notification/daffodil-design-notification.mjs +2 -2
  200. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +18 -5
  201. package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +16 -4
  202. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +15 -7
  203. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +19 -10
  204. package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +30 -0
  205. package/esm2022/notification/examples/public_api.mjs +7 -9
  206. package/esm2022/notification/index.mjs +2 -0
  207. package/esm2022/notification/notification/notification.component.mjs +51 -42
  208. package/esm2022/paginator/daffodil-design-paginator.mjs +2 -2
  209. package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +6 -3
  210. package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +8 -4
  211. package/esm2022/paginator/examples/public_api.mjs +1 -2
  212. package/esm2022/paginator/index.mjs +2 -0
  213. package/esm2022/paginator/paginator/paginator.component.mjs +1 -1
  214. package/esm2022/progress-bar/daffodil-design-progress-bar.mjs +2 -2
  215. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +4 -3
  216. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +4 -3
  217. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +5 -4
  218. package/esm2022/progress-bar/examples/public_api.mjs +4 -7
  219. package/esm2022/progress-bar/index.mjs +2 -0
  220. package/esm2022/progress-bar/progress-bar.component.mjs +18 -23
  221. package/esm2022/public_api.mjs +1 -3
  222. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +11 -6
  223. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +11 -6
  224. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +11 -6
  225. package/esm2022/quantity-field/examples/public_api.mjs +1 -5
  226. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +11 -6
  227. package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +5 -4
  228. package/esm2022/radio/examples/examples.mjs +1 -5
  229. package/esm2022/radio/examples/public_api.mjs +1 -2
  230. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +4 -3
  231. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +15 -8
  232. package/esm2022/sidebar/examples/public_api.mjs +5 -9
  233. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +5 -3
  234. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +4 -3
  235. package/esm2022/toast/examples/default-toast/default-toast.component.mjs +4 -3
  236. package/esm2022/toast/examples/public_api.mjs +5 -9
  237. package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +22 -5
  238. package/esm2022/toast/examples/toast-status/toast-status.component.mjs +5 -4
  239. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +4 -3
  240. package/esm2022/toast/toast/toast-template.component.mjs +2 -2
  241. package/esm2022/toast/toast/toast.component.mjs +16 -22
  242. package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +6 -5
  243. package/esm2022/tree/examples/public_api.mjs +1 -2
  244. package/esm2022/tree/tree/tree.component.mjs +13 -23
  245. package/fesm2022/daffodil-design-accordion.mjs +9 -21
  246. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  247. package/fesm2022/daffodil-design-article-examples.mjs +22 -43
  248. package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
  249. package/fesm2022/daffodil-design-button-examples.mjs +41 -205
  250. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
  251. package/fesm2022/daffodil-design-button.mjs +42 -11
  252. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  253. package/fesm2022/daffodil-design-callout-examples.mjs +29 -130
  254. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  255. package/fesm2022/daffodil-design-callout.mjs +25 -20
  256. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  257. package/fesm2022/daffodil-design-card-examples.mjs +39 -209
  258. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
  259. package/fesm2022/daffodil-design-card.mjs +11 -15
  260. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  261. package/fesm2022/daffodil-design-checkbox-examples.mjs +14 -64
  262. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
  263. package/fesm2022/daffodil-design-container-examples.mjs +9 -32
  264. package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
  265. package/fesm2022/daffodil-design-container.mjs +13 -20
  266. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  267. package/fesm2022/daffodil-design-hero-examples.mjs +27 -136
  268. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  269. package/fesm2022/daffodil-design-hero.mjs +25 -20
  270. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  271. package/fesm2022/daffodil-design-image-examples.mjs +11 -75
  272. package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
  273. package/fesm2022/daffodil-design-image.mjs +12 -21
  274. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  275. package/fesm2022/daffodil-design-input-examples.mjs +15 -94
  276. package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
  277. package/fesm2022/daffodil-design-link-set.mjs +10 -20
  278. package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
  279. package/fesm2022/daffodil-design-list-examples.mjs +20 -140
  280. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
  281. package/fesm2022/daffodil-design-list.mjs +12 -21
  282. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  283. package/fesm2022/daffodil-design-loading-icon-examples.mjs +10 -53
  284. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
  285. package/fesm2022/daffodil-design-loading-icon.mjs +19 -26
  286. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
  287. package/fesm2022/daffodil-design-media-gallery-examples.mjs +10 -82
  288. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
  289. package/fesm2022/daffodil-design-media-gallery.mjs +14 -20
  290. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  291. package/fesm2022/daffodil-design-menu-examples.mjs +10 -39
  292. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
  293. package/fesm2022/daffodil-design-modal-examples.mjs +8 -33
  294. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
  295. package/fesm2022/daffodil-design-modal.mjs +169 -23
  296. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  297. package/fesm2022/daffodil-design-navbar-examples.mjs +20 -113
  298. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
  299. package/fesm2022/daffodil-design-navbar.mjs +20 -26
  300. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  301. package/fesm2022/daffodil-design-notification-examples.mjs +63 -132
  302. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  303. package/fesm2022/daffodil-design-notification.mjs +64 -56
  304. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  305. package/fesm2022/daffodil-design-paginator-examples.mjs +12 -28
  306. package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
  307. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  308. package/fesm2022/daffodil-design-progress-bar-examples.mjs +10 -73
  309. package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
  310. package/fesm2022/daffodil-design-progress-bar.mjs +16 -21
  311. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  312. package/fesm2022/daffodil-design-quantity-field-examples.mjs +25 -126
  313. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
  314. package/fesm2022/daffodil-design-radio-examples.mjs +4 -31
  315. package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -1
  316. package/fesm2022/daffodil-design-sidebar-examples.mjs +22 -130
  317. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
  318. package/fesm2022/daffodil-design-toast-examples.mjs +20 -142
  319. package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
  320. package/fesm2022/daffodil-design-toast.mjs +15 -21
  321. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  322. package/fesm2022/daffodil-design-tree-examples.mjs +6 -34
  323. package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
  324. package/fesm2022/daffodil-design-tree.mjs +11 -21
  325. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  326. package/fesm2022/daffodil-design.mjs +409 -199
  327. package/fesm2022/daffodil-design.mjs.map +1 -1
  328. package/hero/examples/compact-hero/compact-hero.component.d.ts +1 -1
  329. package/hero/examples/hero-text-alignment/hero-text-alignment.component.d.ts +1 -1
  330. package/hero/examples/hero-theming/hero-theming.component.d.ts +1 -1
  331. package/hero/examples/hero-with-grid/hero-with-grid.component.d.ts +1 -1
  332. package/hero/examples/public_api.d.ts +0 -4
  333. package/hero/hero/hero.component.d.ts +6 -38
  334. package/image/examples/basic-image/basic-image.component.d.ts +1 -1
  335. package/image/examples/load-image/load-image.component.d.ts +1 -1
  336. package/image/examples/public_api.d.ts +2 -2
  337. package/image/examples/skeleton-image/skeleton-image.component.d.ts +1 -1
  338. package/image/image/image.component.d.ts +5 -22
  339. package/index.d.ts +2 -2
  340. package/input/examples/basic-input/basic-input.component.d.ts +1 -1
  341. package/input/examples/examples.d.ts +2 -2
  342. package/input/examples/input-disabled/input-disabled.component.d.ts +1 -1
  343. package/input/examples/input-error/input-error.component.d.ts +1 -1
  344. package/input/examples/input-with-form-field/input-with-form-field.component.d.ts +1 -1
  345. package/link-set/link-set/link-set.component.d.ts +3 -22
  346. package/list/examples/basic-list/basic-list.component.d.ts +1 -1
  347. package/list/examples/icon-list/icon-list.component.d.ts +1 -1
  348. package/list/examples/multiline-list/multiline-list.component.d.ts +1 -1
  349. package/list/examples/nav-list/nav-list.component.d.ts +1 -1
  350. package/list/examples/public_api.d.ts +0 -1
  351. package/list/list/list.component.d.ts +5 -18
  352. package/loading-icon/README.md +1 -1
  353. package/loading-icon/examples/examples.d.ts +0 -2
  354. package/loading-icon/examples/loading-icon-color/loading-icon-color.component.d.ts +1 -1
  355. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.d.ts +1 -1
  356. package/loading-icon/loading-icon/loading-icon.component.d.ts +3 -22
  357. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.d.ts +1 -1
  358. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.d.ts +1 -1
  359. package/media-gallery/examples/public_api.d.ts +0 -3
  360. package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.d.ts +1 -1
  361. package/media-gallery/media-gallery/media-gallery.component.d.ts +5 -25
  362. package/menu/examples/basic-menu/basic-menu.component.d.ts +1 -1
  363. package/menu/examples/basic-menu/menu-content/menu-content.component.d.ts +1 -1
  364. package/menu/examples/public_api.d.ts +2 -2
  365. package/modal/README.md +22 -37
  366. package/modal/examples/basic-modal/basic-modal.component.d.ts +1 -1
  367. package/modal/examples/basic-modal/modal-content.component.d.ts +1 -1
  368. package/modal/examples/public_api.d.ts +2 -2
  369. package/modal/modal/modal.component.d.ts +17 -1
  370. package/modal/modal-actions/modal-actions.component.d.ts +1 -0
  371. package/modal/modal-close/modal-close.directive.d.ts +24 -0
  372. package/modal/modal-content/modal-content.component.d.ts +1 -0
  373. package/modal/modal-header/modal-header.component.d.ts +6 -1
  374. package/modal/modal-title/modal-title.directive.d.ts +12 -1
  375. package/modal/modal.module.d.ts +7 -4
  376. package/modal/public_api.d.ts +1 -0
  377. package/navbar/examples/basic-navbar/basic-navbar.component.d.ts +1 -1
  378. package/navbar/examples/contained-navbar/contained-navbar.component.d.ts +1 -1
  379. package/navbar/examples/navbar-theming/navbar-theming.component.d.ts +1 -1
  380. package/navbar/examples/public_api.d.ts +0 -4
  381. package/navbar/examples/raised-navbar/raised-navbar.component.d.ts +1 -1
  382. package/navbar/navbar/navbar.component.d.ts +3 -25
  383. package/notification/README.md +49 -23
  384. package/notification/examples/default-notification/default-notification.component.d.ts +3 -1
  385. package/notification/examples/dismissible-notification/dismissible-notification.component.d.ts +3 -1
  386. package/notification/examples/notification-orientations/notification-orientations.component.d.ts +1 -1
  387. package/notification/examples/notification-status/notification-status.component.d.ts +1 -1
  388. package/notification/examples/notification-with-actions/notification-with-actions.component.d.ts +8 -0
  389. package/notification/examples/public_api.d.ts +6 -2
  390. package/notification/index.d.ts +0 -4
  391. package/notification/notification/notification.component.d.ts +21 -30
  392. package/notification/src/notification-theme.scss +1 -1
  393. package/package.json +1 -1
  394. package/paginator/examples/basic-paginator/basic-paginator.component.d.ts +1 -1
  395. package/paginator/examples/link-paginator/link-paginator.component.d.ts +1 -1
  396. package/paginator/examples/public_api.d.ts +0 -1
  397. package/paginator/index.d.ts +0 -4
  398. package/progress-bar/examples/progress-bar-default/progress-bar-default.component.d.ts +1 -1
  399. package/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.d.ts +1 -1
  400. package/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.d.ts +1 -1
  401. package/progress-bar/examples/public_api.d.ts +2 -2
  402. package/progress-bar/index.d.ts +0 -4
  403. package/progress-bar/progress-bar.component.d.ts +7 -22
  404. package/public_api.d.ts +0 -1
  405. package/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.d.ts +1 -1
  406. package/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.d.ts +1 -1
  407. package/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.d.ts +1 -1
  408. package/quantity-field/examples/public_api.d.ts +0 -4
  409. package/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.d.ts +1 -1
  410. package/radio/examples/basic-radio/basic-radio.component.d.ts +1 -1
  411. package/radio/examples/examples.d.ts +0 -2
  412. package/radio/examples/public_api.d.ts +0 -1
  413. package/scss/state/skeleton/_mixins.scss +1 -1
  414. package/scss/typography/_index.scss +1 -1
  415. package/scss/typography/utilities/_variables.scss +14 -4
  416. package/sidebar/README.md +1 -1
  417. package/sidebar/examples/basic-sidebar/basic-sidebar.component.d.ts +1 -1
  418. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.d.ts +1 -1
  419. package/sidebar/examples/public_api.d.ts +2 -2
  420. package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.d.ts +1 -1
  421. package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.d.ts +1 -1
  422. package/toast/README.md +2 -2
  423. package/toast/examples/default-toast/default-toast.component.d.ts +1 -1
  424. package/toast/examples/public_api.d.ts +5 -2
  425. package/toast/examples/toast-positions/toast-positions.component.d.ts +1 -1
  426. package/toast/examples/toast-status/toast-status.component.d.ts +1 -1
  427. package/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.d.ts +1 -1
  428. package/toast/toast/toast.component.d.ts +7 -25
  429. package/tree/examples/basic-tree/basic-tree.component.d.ts +1 -1
  430. package/tree/examples/public_api.d.ts +0 -1
  431. package/tree/tree/tree.component.d.ts +5 -19
  432. package/article/examples/article-examples.module.d.ts +0 -18
  433. package/button/examples/basic-button/basic-button.module.d.ts +0 -9
  434. package/button/examples/flat-button/flat-button.module.d.ts +0 -9
  435. package/button/examples/icon-button/icon-button.module.d.ts +0 -9
  436. package/button/examples/raised-button/raised-button.module.d.ts +0 -9
  437. package/button/examples/sizeable-button/sizeable-button.module.d.ts +0 -9
  438. package/button/examples/statusable-button/statusable-button.module.d.ts +0 -9
  439. package/button/examples/stroked-button/stroked-button.module.d.ts +0 -9
  440. package/button/examples/underline-button/underline-button.module.d.ts +0 -9
  441. package/callout/examples/callout-text-alignment/callout-text-alignment.module.d.ts +0 -13
  442. package/callout/examples/callout-theming/callout-theming.module.d.ts +0 -12
  443. package/callout/examples/callout-with-grid/callout-with-grid.module.d.ts +0 -13
  444. package/callout/examples/compact-callout/compact-callout.module.d.ts +0 -12
  445. package/card/examples/basic-card/basic-card.module.d.ts +0 -12
  446. package/card/examples/card-orientation/card-orientation.module.d.ts +0 -13
  447. package/card/examples/card-theming/card-theming.module.d.ts +0 -11
  448. package/card/examples/linkable-card/linkable-card.module.d.ts +0 -13
  449. package/card/examples/raised-card/raised-card.module.d.ts +0 -12
  450. package/card/examples/stroked-card/stroked-card.module.d.ts +0 -13
  451. package/checkbox/examples/basic-checkbox/basic-checkbox.module.d.ts +0 -10
  452. package/checkbox/examples/checkbox-set/checkbox-set.module.d.ts +0 -10
  453. package/container/examples/container-sizes/container-sizes.module.d.ts +0 -10
  454. package/core/article-encapsulated/article-encapsulated-mixin.d.ts +0 -15
  455. package/core/colorable/color-in-palette.d.ts +0 -1
  456. package/core/colorable/colorable-enum.d.ts +0 -10
  457. package/core/colorable/colorable-mixin.d.ts +0 -23
  458. package/core/compactable/compactable-mixin.d.ts +0 -14
  459. package/core/manage-container-layout/manage-container-layout-mixin.d.ts +0 -17
  460. package/core/sizable/sizable-mixin.d.ts +0 -15
  461. package/core/skeletonable/skeletonable-mixin.d.ts +0 -15
  462. package/core/statusable/statusable-mixin.d.ts +0 -16
  463. package/core/text-alignable/text-alignable-mixin.d.ts +0 -19
  464. package/esm2022/article/examples/article-examples.module.mjs +0 -35
  465. package/esm2022/button/examples/basic-button/basic-button.module.mjs +0 -28
  466. package/esm2022/button/examples/flat-button/flat-button.module.mjs +0 -28
  467. package/esm2022/button/examples/icon-button/icon-button.module.mjs +0 -28
  468. package/esm2022/button/examples/raised-button/raised-button.module.mjs +0 -28
  469. package/esm2022/button/examples/sizeable-button/sizeable-button.module.mjs +0 -28
  470. package/esm2022/button/examples/statusable-button/statusable-button.module.mjs +0 -28
  471. package/esm2022/button/examples/stroked-button/stroked-button.module.mjs +0 -28
  472. package/esm2022/button/examples/underline-button/underline-button.module.mjs +0 -28
  473. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +0 -41
  474. package/esm2022/callout/examples/callout-theming/callout-theming.module.mjs +0 -37
  475. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.module.mjs +0 -41
  476. package/esm2022/callout/examples/compact-callout/compact-callout.module.mjs +0 -37
  477. package/esm2022/card/examples/basic-card/basic-card.module.mjs +0 -40
  478. package/esm2022/card/examples/card-orientation/card-orientation.module.mjs +0 -44
  479. package/esm2022/card/examples/card-theming/card-theming.module.mjs +0 -36
  480. package/esm2022/card/examples/linkable-card/linkable-card.module.mjs +0 -44
  481. package/esm2022/card/examples/raised-card/raised-card.module.mjs +0 -40
  482. package/esm2022/card/examples/stroked-card/stroked-card.module.mjs +0 -44
  483. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +0 -33
  484. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.module.mjs +0 -33
  485. package/esm2022/container/examples/container-sizes/container-sizes.module.mjs +0 -32
  486. package/esm2022/core/article-encapsulated/article-encapsulated-mixin.mjs +0 -12
  487. package/esm2022/core/colorable/color-in-palette.mjs +0 -5
  488. package/esm2022/core/colorable/colorable-enum.mjs +0 -12
  489. package/esm2022/core/colorable/colorable-mixin.mjs +0 -42
  490. package/esm2022/core/compactable/compactable-mixin.mjs +0 -26
  491. package/esm2022/core/manage-container-layout/manage-container-layout-mixin.mjs +0 -14
  492. package/esm2022/core/sizable/sizable-mixin.mjs +0 -31
  493. package/esm2022/core/skeletonable/skeletonable-mixin.mjs +0 -26
  494. package/esm2022/core/statusable/statusable-mixin.mjs +0 -32
  495. package/esm2022/core/text-alignable/text-alignable-mixin.mjs +0 -35
  496. package/esm2022/examples/examples.mjs +0 -2
  497. package/esm2022/examples/public_api.mjs +0 -2
  498. package/esm2022/hero/examples/compact-hero/compact-hero.module.mjs +0 -40
  499. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +0 -41
  500. package/esm2022/hero/examples/hero-theming/hero-theming.module.mjs +0 -40
  501. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.module.mjs +0 -41
  502. package/esm2022/image/examples/basic-image/basic-image.module.mjs +0 -24
  503. package/esm2022/image/examples/load-image/load-image.module.mjs +0 -28
  504. package/esm2022/image/examples/skeleton-image/skeleton-image.module.mjs +0 -24
  505. package/esm2022/input/examples/basic-input/basic-input.module.mjs +0 -24
  506. package/esm2022/input/examples/input-disabled/input-disabled.module.mjs +0 -24
  507. package/esm2022/input/examples/input-error/input-error.module.mjs +0 -28
  508. package/esm2022/input/examples/input-with-form-field/input-with-form-field.module.mjs +0 -24
  509. package/esm2022/list/examples/basic-list/basic-list.module.mjs +0 -28
  510. package/esm2022/list/examples/icon-list/icon-list.module.mjs +0 -32
  511. package/esm2022/list/examples/list-examples.module.mjs +0 -33
  512. package/esm2022/list/examples/multiline-list/multiline-list.module.mjs +0 -32
  513. package/esm2022/list/examples/nav-list/nav-list.module.mjs +0 -32
  514. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +0 -32
  515. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +0 -24
  516. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +0 -29
  517. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +0 -29
  518. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +0 -29
  519. package/esm2022/menu/examples/basic-menu/basic-menu.module.mjs +0 -35
  520. package/esm2022/modal/examples/basic-modal/basic-modal.module.mjs +0 -31
  521. package/esm2022/navbar/examples/basic-navbar/basic-navbar.module.mjs +0 -33
  522. package/esm2022/navbar/examples/contained-navbar/contained-navbar.module.mjs +0 -33
  523. package/esm2022/navbar/examples/navbar-theming/navbar-theming.module.mjs +0 -33
  524. package/esm2022/navbar/examples/raised-navbar/raised-navbar.module.mjs +0 -29
  525. package/esm2022/notification/examples/default-notification/default-notification.module.mjs +0 -36
  526. package/esm2022/notification/examples/dismissible-notification/dismissible-notification.module.mjs +0 -36
  527. package/esm2022/notification/examples/notification-orientations/notification-orientations.module.mjs +0 -40
  528. package/esm2022/notification/examples/notification-status/notification-status.module.mjs +0 -40
  529. package/esm2022/paginator/examples/paginator-examples.module.mjs +0 -27
  530. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.module.mjs +0 -24
  531. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.module.mjs +0 -24
  532. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.module.mjs +0 -28
  533. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +0 -35
  534. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +0 -35
  535. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +0 -35
  536. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +0 -35
  537. package/esm2022/radio/examples/basic-radio/basic-radio.module.mjs +0 -29
  538. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +0 -32
  539. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.mjs +0 -44
  540. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.mjs +0 -32
  541. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.mjs +0 -28
  542. package/esm2022/toast/examples/default-toast/default-toast.module.mjs +0 -36
  543. package/esm2022/toast/examples/toast-positions/toast-positions.module.mjs +0 -57
  544. package/esm2022/toast/examples/toast-status/toast-status.module.mjs +0 -40
  545. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.module.mjs +0 -32
  546. package/esm2022/tree/examples/basic-tree/basic-tree.module.mjs +0 -32
  547. package/examples/examples.d.ts +0 -12
  548. package/examples/public_api.d.ts +0 -1
  549. package/hero/examples/compact-hero/compact-hero.module.d.ts +0 -12
  550. package/hero/examples/hero-text-alignment/hero-text-alignment.module.d.ts +0 -13
  551. package/hero/examples/hero-theming/hero-theming.module.d.ts +0 -12
  552. package/hero/examples/hero-with-grid/hero-with-grid.module.d.ts +0 -13
  553. package/image/examples/basic-image/basic-image.module.d.ts +0 -8
  554. package/image/examples/load-image/load-image.module.d.ts +0 -9
  555. package/image/examples/skeleton-image/skeleton-image.module.d.ts +0 -8
  556. package/input/examples/basic-input/basic-input.module.d.ts +0 -8
  557. package/input/examples/input-disabled/input-disabled.module.d.ts +0 -8
  558. package/input/examples/input-error/input-error.module.d.ts +0 -9
  559. package/input/examples/input-with-form-field/input-with-form-field.module.d.ts +0 -8
  560. package/list/examples/basic-list/basic-list.module.d.ts +0 -9
  561. package/list/examples/icon-list/icon-list.module.d.ts +0 -10
  562. package/list/examples/list-examples.module.d.ts +0 -11
  563. package/list/examples/multiline-list/multiline-list.module.d.ts +0 -10
  564. package/list/examples/nav-list/nav-list.module.d.ts +0 -10
  565. package/loading-icon/examples/loading-icon-color/loading-icon-color.module.d.ts +0 -10
  566. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.d.ts +0 -8
  567. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.d.ts +0 -9
  568. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.d.ts +0 -9
  569. package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.d.ts +0 -9
  570. package/menu/examples/basic-menu/basic-menu.module.d.ts +0 -11
  571. package/modal/examples/basic-modal/basic-modal.module.d.ts +0 -10
  572. package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +0 -11
  573. package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +0 -11
  574. package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +0 -11
  575. package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +0 -10
  576. package/notification/examples/default-notification/default-notification.module.d.ts +0 -11
  577. package/notification/examples/dismissible-notification/dismissible-notification.module.d.ts +0 -11
  578. package/notification/examples/notification-orientations/notification-orientations.module.d.ts +0 -12
  579. package/notification/examples/notification-status/notification-status.module.d.ts +0 -12
  580. package/paginator/examples/paginator-examples.module.d.ts +0 -10
  581. package/progress-bar/examples/progress-bar-default/progress-bar-default.module.d.ts +0 -8
  582. package/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.module.d.ts +0 -8
  583. package/progress-bar/examples/progress-bar-themes/progress-bar-themes.module.d.ts +0 -9
  584. package/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.d.ts +0 -10
  585. package/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.d.ts +0 -10
  586. package/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.d.ts +0 -10
  587. package/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.d.ts +0 -10
  588. package/radio/examples/basic-radio/basic-radio.module.d.ts +0 -9
  589. package/sidebar/examples/basic-sidebar/basic-sidebar.module.d.ts +0 -10
  590. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.d.ts +0 -13
  591. package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.d.ts +0 -10
  592. package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.d.ts +0 -9
  593. package/toast/examples/default-toast/default-toast.module.d.ts +0 -11
  594. package/toast/examples/toast-positions/toast-positions.module.d.ts +0 -12
  595. package/toast/examples/toast-status/toast-status.module.d.ts +0 -12
  596. package/toast/examples/toast-with-custom-duration/toast-with-custom-duration.module.d.ts +0 -10
  597. package/tree/examples/basic-tree/basic-tree.module.d.ts +0 -10
@@ -1,11 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i1 from '@daffodil/design/toast';
4
- import { DaffToastModule, provideDaffToastOptions } from '@daffodil/design/toast';
2
+ import { EventEmitter, Component, ChangeDetectionStrategy } from '@angular/core';
5
3
  import * as i2 from '@daffodil/design/button';
6
4
  import { DaffButtonModule } from '@daffodil/design/button';
7
- import { CommonModule } from '@angular/common';
8
- import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
5
+ import * as i1 from '@daffodil/design/toast';
6
+ import { provideDaffToastOptions } from '@daffodil/design/toast';
9
7
  import * as i2$1 from '@angular/forms';
10
8
  import { FormControl, ReactiveFormsModule } from '@angular/forms';
11
9
  import { combineLatest } from 'rxjs';
@@ -37,42 +35,13 @@ class DefaultToastComponent {
37
35
  });
38
36
  }
39
37
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultToastComponent, deps: [{ token: i1.DaffToastService }], target: i0.ɵɵFactoryTarget.Component }); }
40
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DefaultToastComponent, selector: "default-toast", ngImport: i0, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>", dependencies: [{ kind: "component", type: i2.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 }); }
38
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DefaultToastComponent, isStandalone: true, selector: "default-toast", ngImport: i0, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>", dependencies: [{ kind: "ngmodule", type: DaffButtonModule }, { kind: "component", type: i2.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 }); }
41
39
  }
42
40
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultToastComponent, decorators: [{
43
41
  type: Component,
44
- args: [{ selector: 'default-toast', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>" }]
42
+ args: [{ selector: 'default-toast', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffButtonModule], template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>" }]
45
43
  }], ctorParameters: () => [{ type: i1.DaffToastService }] });
46
44
 
47
- class DefaultToastModule {
48
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
49
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DefaultToastModule, declarations: [DefaultToastComponent], imports: [CommonModule,
50
- DaffToastModule,
51
- FontAwesomeModule,
52
- DaffButtonModule], exports: [DefaultToastComponent] }); }
53
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultToastModule, imports: [CommonModule,
54
- DaffToastModule,
55
- FontAwesomeModule,
56
- DaffButtonModule] }); }
57
- }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultToastModule, decorators: [{
59
- type: NgModule,
60
- args: [{
61
- declarations: [
62
- DefaultToastComponent,
63
- ],
64
- imports: [
65
- CommonModule,
66
- DaffToastModule,
67
- FontAwesomeModule,
68
- DaffButtonModule,
69
- ],
70
- exports: [
71
- DefaultToastComponent,
72
- ],
73
- }]
74
- }] });
75
-
76
45
  class ToastPositionsComponent {
77
46
  constructor(toastService, toastPositionService) {
78
47
  this.toastService = toastService;
@@ -100,21 +69,7 @@ class ToastPositionsComponent {
100
69
  });
101
70
  }
102
71
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastPositionsComponent, deps: [{ token: i1.DaffToastService }, { token: i1.DaffToastPositionService }], target: i0.ɵɵFactoryTarget.Component }); }
103
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ToastPositionsComponent, selector: "toast-positions", ngImport: i0, template: "<div class=\"toast-positions__options\">\n\t<select [formControl]=\"verticalControl\">\n\t\t<option value=\"top\">Top</option>\n\t\t<option value=\"bottom\">Bottom</option>\n\t</select>\n\t\n\t<select [formControl]=\"horizontalControl\">\n\t\t<option value=\"left\">Left</option>\n\t\t<option value=\"center\">Center</option>\n\t\t<option value=\"right\">Right</option>\n\t</select>\n</div>\n\n<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\n", styles: [".toast-positions__options{display:flex;gap:8px;margin:0 0 16px}\n"], dependencies: [{ kind: "directive", type: i2$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.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 }); }
104
- }
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastPositionsComponent, decorators: [{
106
- type: Component,
107
- args: [{ selector: 'toast-positions', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"toast-positions__options\">\n\t<select [formControl]=\"verticalControl\">\n\t\t<option value=\"top\">Top</option>\n\t\t<option value=\"bottom\">Bottom</option>\n\t</select>\n\t\n\t<select [formControl]=\"horizontalControl\">\n\t\t<option value=\"left\">Left</option>\n\t\t<option value=\"center\">Center</option>\n\t\t<option value=\"right\">Right</option>\n\t</select>\n</div>\n\n<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\n", styles: [".toast-positions__options{display:flex;gap:8px;margin:0 0 16px}\n"] }]
108
- }], ctorParameters: () => [{ type: i1.DaffToastService }, { type: i1.DaffToastPositionService }] });
109
-
110
- class ToastPositionsModule {
111
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastPositionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
112
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: ToastPositionsModule, declarations: [ToastPositionsComponent], imports: [CommonModule,
113
- ReactiveFormsModule,
114
- DaffToastModule,
115
- FontAwesomeModule,
116
- DaffButtonModule], exports: [ToastPositionsComponent] }); }
117
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastPositionsModule, providers: [
72
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ToastPositionsComponent, isStandalone: true, selector: "toast-positions", providers: [
118
73
  provideDaffToastOptions({
119
74
  position: {
120
75
  vertical: 'top',
@@ -122,29 +77,11 @@ class ToastPositionsModule {
122
77
  },
123
78
  useParent: false,
124
79
  }),
125
- ], imports: [CommonModule,
126
- ReactiveFormsModule,
127
- DaffToastModule,
128
- FontAwesomeModule,
129
- DaffButtonModule] }); }
80
+ ], ngImport: i0, template: "<div class=\"toast-positions__options\">\n\t<select [formControl]=\"verticalControl\">\n\t\t<option value=\"top\">Top</option>\n\t\t<option value=\"bottom\">Bottom</option>\n\t</select>\n\t\n\t<select [formControl]=\"horizontalControl\">\n\t\t<option value=\"left\">Left</option>\n\t\t<option value=\"center\">Center</option>\n\t\t<option value=\"right\">Right</option>\n\t</select>\n</div>\n\n<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\n", styles: [".toast-positions__options{display:flex;gap:8px;margin:0 0 16px}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: DaffButtonModule }, { kind: "component", type: i2.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 }); }
130
81
  }
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastPositionsModule, decorators: [{
132
- type: NgModule,
133
- args: [{
134
- declarations: [
135
- ToastPositionsComponent,
136
- ],
137
- imports: [
138
- CommonModule,
139
- ReactiveFormsModule,
140
- DaffToastModule,
141
- FontAwesomeModule,
142
- DaffButtonModule,
143
- ],
144
- exports: [
145
- ToastPositionsComponent,
146
- ],
147
- providers: [
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastPositionsComponent, decorators: [{
83
+ type: Component,
84
+ args: [{ selector: 'toast-positions', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ReactiveFormsModule, DaffButtonModule], providers: [
148
85
  provideDaffToastOptions({
149
86
  position: {
150
87
  vertical: 'top',
@@ -152,9 +89,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
152
89
  },
153
90
  useParent: false,
154
91
  }),
155
- ],
156
- }]
157
- }] });
92
+ ], template: "<div class=\"toast-positions__options\">\n\t<select [formControl]=\"verticalControl\">\n\t\t<option value=\"top\">Top</option>\n\t\t<option value=\"bottom\">Bottom</option>\n\t</select>\n\t\n\t<select [formControl]=\"horizontalControl\">\n\t\t<option value=\"left\">Left</option>\n\t\t<option value=\"center\">Center</option>\n\t\t<option value=\"right\">Right</option>\n\t</select>\n</div>\n\n<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\n", styles: [".toast-positions__options{display:flex;gap:8px;margin:0 0 16px}\n"] }]
93
+ }], ctorParameters: () => [{ type: i1.DaffToastService }, { type: i1.DaffToastPositionService }] });
158
94
 
159
95
  const status = {
160
96
  error: {
@@ -186,45 +122,13 @@ class ToastStatusComponent {
186
122
  });
187
123
  }
188
124
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastStatusComponent, deps: [{ token: i1.DaffToastService }], target: i0.ɵɵFactoryTarget.Component }); }
189
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ToastStatusComponent, selector: "toast-status", ngImport: i0, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\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:flex-start;gap:16px}\n"], dependencies: [{ kind: "component", type: i2.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"] }, { kind: "directive", type: i2$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
125
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ToastStatusComponent, isStandalone: true, selector: "toast-status", ngImport: i0, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\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:flex-start;gap:16px}\n"], dependencies: [{ kind: "ngmodule", type: DaffButtonModule }, { kind: "component", type: i2.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"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
190
126
  }
191
127
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastStatusComponent, decorators: [{
192
128
  type: Component,
193
- args: [{ selector: 'toast-status', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\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:flex-start;gap:16px}\n"] }]
129
+ args: [{ selector: 'toast-status', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffButtonModule, ReactiveFormsModule], template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\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:flex-start;gap:16px}\n"] }]
194
130
  }], ctorParameters: () => [{ type: i1.DaffToastService }] });
195
131
 
196
- class ToastStatusModule {
197
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastStatusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
198
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: ToastStatusModule, declarations: [ToastStatusComponent], imports: [CommonModule,
199
- DaffToastModule,
200
- DaffButtonModule,
201
- FontAwesomeModule,
202
- ReactiveFormsModule], exports: [ToastStatusComponent] }); }
203
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastStatusModule, imports: [CommonModule,
204
- DaffToastModule,
205
- DaffButtonModule,
206
- FontAwesomeModule,
207
- ReactiveFormsModule] }); }
208
- }
209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastStatusModule, decorators: [{
210
- type: NgModule,
211
- args: [{
212
- declarations: [
213
- ToastStatusComponent,
214
- ],
215
- imports: [
216
- CommonModule,
217
- DaffToastModule,
218
- DaffButtonModule,
219
- FontAwesomeModule,
220
- ReactiveFormsModule,
221
- ],
222
- exports: [
223
- ToastStatusComponent,
224
- ],
225
- }]
226
- }] });
227
-
228
132
  class ToastWithCustomDurationComponent {
229
133
  constructor(toastService) {
230
134
  this.toastService = toastService;
@@ -239,44 +143,18 @@ class ToastWithCustomDurationComponent {
239
143
  });
240
144
  }
241
145
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastWithCustomDurationComponent, deps: [{ token: i1.DaffToastService }], target: i0.ɵɵFactoryTarget.Component }); }
242
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ToastWithCustomDurationComponent, selector: "toast-with-custom-duration", ngImport: i0, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>", dependencies: [{ kind: "component", type: i2.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 }); }
146
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ToastWithCustomDurationComponent, isStandalone: true, selector: "toast-with-custom-duration", ngImport: i0, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>", dependencies: [{ kind: "ngmodule", type: DaffButtonModule }, { kind: "component", type: i2.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 }); }
243
147
  }
244
148
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastWithCustomDurationComponent, decorators: [{
245
149
  type: Component,
246
- args: [{ selector: 'toast-with-custom-duration', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>" }]
150
+ args: [{ selector: 'toast-with-custom-duration', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffButtonModule], template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>" }]
247
151
  }], ctorParameters: () => [{ type: i1.DaffToastService }] });
248
152
 
249
- class ToastWithCustomDurationModule {
250
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastWithCustomDurationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
251
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: ToastWithCustomDurationModule, declarations: [ToastWithCustomDurationComponent], imports: [CommonModule,
252
- DaffToastModule,
253
- DaffButtonModule], exports: [ToastWithCustomDurationComponent] }); }
254
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastWithCustomDurationModule, imports: [CommonModule,
255
- DaffToastModule,
256
- DaffButtonModule] }); }
257
- }
258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastWithCustomDurationModule, decorators: [{
259
- type: NgModule,
260
- args: [{
261
- declarations: [
262
- ToastWithCustomDurationComponent,
263
- ],
264
- imports: [
265
- CommonModule,
266
- DaffToastModule,
267
- DaffButtonModule,
268
- ],
269
- exports: [
270
- ToastWithCustomDurationComponent,
271
- ],
272
- }]
273
- }] });
274
-
275
153
  const TOAST_EXAMPLES = [
276
- { component: DefaultToastComponent, module: DefaultToastModule },
277
- { component: ToastStatusComponent, module: ToastStatusModule },
278
- { component: ToastPositionsComponent, module: ToastPositionsModule },
279
- { component: ToastWithCustomDurationComponent, module: ToastWithCustomDurationModule },
154
+ DefaultToastComponent,
155
+ ToastPositionsComponent,
156
+ ToastStatusComponent,
157
+ ToastWithCustomDurationComponent,
280
158
  ];
281
159
 
282
160
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-toast-examples.mjs","sources":["../../../libs/design/toast/examples/src/default-toast/default-toast.component.ts","../../../libs/design/toast/examples/src/default-toast/default-toast.component.html","../../../libs/design/toast/examples/src/default-toast/default-toast.module.ts","../../../libs/design/toast/examples/src/toast-positions/toast-positions.component.ts","../../../libs/design/toast/examples/src/toast-positions/toast-positions.component.html","../../../libs/design/toast/examples/src/toast-positions/toast-positions.module.ts","../../../libs/design/toast/examples/src/toast-status/toast-status.component.ts","../../../libs/design/toast/examples/src/toast-status/toast-status.component.html","../../../libs/design/toast/examples/src/toast-status/toast-status.module.ts","../../../libs/design/toast/examples/src/toast-with-custom-duration/toast-with-custom-duration.component.ts","../../../libs/design/toast/examples/src/toast-with-custom-duration/toast-with-custom-duration.component.html","../../../libs/design/toast/examples/src/toast-with-custom-duration/toast-with-custom-duration.module.ts","../../../libs/design/toast/examples/src/public_api.ts","../../../libs/design/toast/examples/src/daffodil-design-toast-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n OnInit,\n} from '@angular/core';\n\nimport {\n DaffToast,\n DaffToastAction,\n DaffToastService,\n} from '@daffodil/design/toast';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'default-toast',\n templateUrl: './default-toast.component.html',\n styles: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DefaultToastComponent implements OnInit {\n private toast: DaffToast;\n\n constructor(private toastService: DaffToastService) {}\n\n update = new EventEmitter<DaffToastAction>();\n\n closeToast = new EventEmitter<DaffToastAction>();\n\n open() {\n this.toast = this.toastService.open({\n title: 'Update Available' + ' ' + this.count++,\n message: 'A new version of this page is available.',\n actions: [\n { content: 'Update', color: 'theme-contrast', size: 'sm', eventEmitter: this.update },\n { content: 'Remind me later', type: 'flat', size: 'sm', eventEmitter: this.closeToast },\n ],\n });\n }\n\n ngOnInit() {\n this.update.subscribe(() => {\n console.log('test');\n });\n\n this.closeToast.subscribe(() => {\n this.toastService.close(this.toast);\n });\n }\n\n private count = 0;\n}\n","<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffToastModule } from '@daffodil/design/toast';\n\nimport { DefaultToastComponent } from './default-toast.component';\n\n@NgModule({\n declarations: [\n DefaultToastComponent,\n ],\n imports: [\n CommonModule,\n DaffToastModule,\n FontAwesomeModule,\n DaffButtonModule,\n ],\n exports: [\n DefaultToastComponent,\n ],\n})\nexport class DefaultToastModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { combineLatest } from 'rxjs';\n\nimport {\n DaffToast,\n DaffToastService,\n DaffToastPositionService,\n} from '@daffodil/design/toast';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'toast-positions',\n templateUrl: './toast-positions.component.html',\n styleUrls: ['./toast-positions.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ToastPositionsComponent implements OnInit {\n private toast: DaffToast;\n\n constructor(\n private toastService: DaffToastService,\n private toastPositionService: DaffToastPositionService,\n ) {}\n\n open() {\n this.toast = this.toastService.open({\n title: 'Update complete' + ' ' + this.count++,\n message: 'This page is now up-to-date.',\n dismissible: true,\n });\n }\n\n private count = 0;\n\n horizontalControl: FormControl = new FormControl('right');\n verticalControl: FormControl = new FormControl('top');\n\n ngOnInit() {\n combineLatest([\n this.horizontalControl.valueChanges,\n this.verticalControl.valueChanges,\n ]).subscribe(([\n horizontal, vertical,\n ]) => {\n this.toastPositionService.setPosition({\n horizontal,\n vertical,\n });\n });\n }\n}\n","<div class=\"toast-positions__options\">\n\t<select [formControl]=\"verticalControl\">\n\t\t<option value=\"top\">Top</option>\n\t\t<option value=\"bottom\">Bottom</option>\n\t</select>\n\t\n\t<select [formControl]=\"horizontalControl\">\n\t\t<option value=\"left\">Left</option>\n\t\t<option value=\"center\">Center</option>\n\t\t<option value=\"right\">Right</option>\n\t</select>\n</div>\n\n<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\n","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 {\n DaffToastModule,\n provideDaffToastOptions,\n} from '@daffodil/design/toast';\n\nimport { ToastPositionsComponent } from './toast-positions.component';\n\n@NgModule({\n declarations: [\n ToastPositionsComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n DaffToastModule,\n FontAwesomeModule,\n DaffButtonModule,\n ],\n exports: [\n ToastPositionsComponent,\n ],\n providers: [\n provideDaffToastOptions({\n position: {\n vertical: 'top',\n horizontal: 'right',\n },\n useParent: false,\n }),\n ],\n})\nexport class ToastPositionsModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport {\n faCheck,\n faExclamation,\n faInfoCircle,\n} from '@fortawesome/free-solid-svg-icons';\n\nimport {\n DaffToastData,\n DaffToastService,\n} from '@daffodil/design/toast';\n\nconst status: Record<string, DaffToastData> = {\n error: {\n title: 'Server error',\n },\n success: {\n title: 'Update complete',\n message: 'The app is now up-to-date with the newest version.',\n },\n warn: {\n title: 'The app is outdated',\n message: 'Update the app now. The version you are using may have security vulnerabilities.',\n },\n};\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'toast-status',\n templateUrl: './toast-status.component.html',\n styleUrls: ['./toast-status.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ToastStatusComponent {\n faInfoCircle = faInfoCircle;\n faCheck = faCheck;\n faExclamation = faExclamation;\n\n statusControl: FormControl = new FormControl('success');\n\n constructor(private toastService: DaffToastService) {}\n\n open() {\n this.toastService.open({\n status: this.statusControl.value,\n ...status[this.statusControl.value],\n },\n {\n duration: this.statusControl.value === 'error' ? undefined : 5000,\n },\n );\n }\n}\n","<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\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 { DaffToastModule } from '@daffodil/design/toast';\n\nimport { ToastStatusComponent } from './toast-status.component';\n\n@NgModule({\n declarations: [\n ToastStatusComponent,\n ],\n imports: [\n CommonModule,\n DaffToastModule,\n DaffButtonModule,\n FontAwesomeModule,\n ReactiveFormsModule,\n ],\n exports: [\n ToastStatusComponent,\n ],\n})\nexport class ToastStatusModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n OnInit,\n} from '@angular/core';\n\nimport {\n DaffToast,\n DaffToastService,\n} from '@daffodil/design/toast';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'toast-with-custom-duration',\n templateUrl: './toast-with-custom-duration.component.html',\n styles: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ToastWithCustomDurationComponent {\n private toast: DaffToast;\n\n constructor(private toastService: DaffToastService) {}\n\n open() {\n this.toast = this.toastService.open({\n title: 'Update Complete',\n message: 'This page has been updated to the newest version.',\n status: 'success',\n },\n {\n duration: 7000,\n });\n }\n}\n","<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffToastModule } from '@daffodil/design/toast';\n\nimport { ToastWithCustomDurationComponent } from './toast-with-custom-duration.component';\n\n@NgModule({\n declarations: [\n ToastWithCustomDurationComponent,\n ],\n imports: [\n CommonModule,\n DaffToastModule,\n DaffButtonModule,\n ],\n exports: [\n ToastWithCustomDurationComponent,\n ],\n})\nexport class ToastWithCustomDurationModule { }\n","import { ComponentExample } from '@daffodil/design';\n\nimport { DefaultToastComponent } from './default-toast/default-toast.component';\nimport { DefaultToastModule } from './default-toast/default-toast.module';\nimport { ToastPositionsComponent } from './toast-positions/toast-positions.component';\nimport { ToastPositionsModule } from './toast-positions/toast-positions.module';\nimport { ToastStatusComponent } from './toast-status/toast-status.component';\nimport { ToastStatusModule } from './toast-status/toast-status.module';\nimport { ToastWithCustomDurationComponent } from './toast-with-custom-duration/toast-with-custom-duration.component';\nimport { ToastWithCustomDurationModule } from './toast-with-custom-duration/toast-with-custom-duration.module';\n\nexport const TOAST_EXAMPLES: ComponentExample[] = [\n { component: DefaultToastComponent, module: DefaultToastModule },\n { component: ToastStatusComponent, module: ToastStatusModule },\n { component: ToastPositionsComponent, module: ToastPositionsModule },\n { component: ToastWithCustomDurationComponent, module: ToastWithCustomDurationModule },\n];\n","/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AAE,uBAAuB,EAAE,MAAM,EAAE,oBAAoB,EAAE;AACpE,IAAA,EAAE,SAAS,EAAE,gCAAgC,EAAE,MAAM,EAAE,6BAA6B,EAAE;;;ACfxF;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-toast-examples.mjs","sources":["../../../libs/design/toast/examples/src/default-toast/default-toast.component.ts","../../../libs/design/toast/examples/src/default-toast/default-toast.component.html","../../../libs/design/toast/examples/src/toast-positions/toast-positions.component.ts","../../../libs/design/toast/examples/src/toast-positions/toast-positions.component.html","../../../libs/design/toast/examples/src/toast-status/toast-status.component.ts","../../../libs/design/toast/examples/src/toast-status/toast-status.component.html","../../../libs/design/toast/examples/src/toast-with-custom-duration/toast-with-custom-duration.component.ts","../../../libs/design/toast/examples/src/toast-with-custom-duration/toast-with-custom-duration.component.html","../../../libs/design/toast/examples/src/public_api.ts","../../../libs/design/toast/examples/src/daffodil-design-toast-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n OnInit,\n} from '@angular/core';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport {\n DaffToast,\n DaffToastAction,\n DaffToastService,\n} from '@daffodil/design/toast';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'default-toast',\n templateUrl: './default-toast.component.html',\n styles: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffButtonModule],\n})\nexport class DefaultToastComponent implements OnInit {\n private toast: DaffToast;\n\n constructor(private toastService: DaffToastService) {}\n\n update = new EventEmitter<DaffToastAction>();\n\n closeToast = new EventEmitter<DaffToastAction>();\n\n open() {\n this.toast = this.toastService.open({\n title: 'Update Available' + ' ' + this.count++,\n message: 'A new version of this page is available.',\n actions: [\n { content: 'Update', color: 'theme-contrast', size: 'sm', eventEmitter: this.update },\n { content: 'Remind me later', type: 'flat', size: 'sm', eventEmitter: this.closeToast },\n ],\n });\n }\n\n ngOnInit() {\n this.update.subscribe(() => {\n console.log('test');\n });\n\n this.closeToast.subscribe(() => {\n this.toastService.close(this.toast);\n });\n }\n\n private count = 0;\n}\n","<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>","import {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n FormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\nimport { combineLatest } from 'rxjs';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport {\n DaffToast,\n DaffToastService,\n DaffToastPositionService,\n provideDaffToastOptions,\n} from '@daffodil/design/toast';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'toast-positions',\n templateUrl: './toast-positions.component.html',\n styleUrls: ['./toast-positions.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [ReactiveFormsModule, DaffButtonModule],\n providers: [\n provideDaffToastOptions({\n position: {\n vertical: 'top',\n horizontal: 'right',\n },\n useParent: false,\n }),\n ],\n})\nexport class ToastPositionsComponent implements OnInit {\n private toast: DaffToast;\n\n constructor(\n private toastService: DaffToastService,\n private toastPositionService: DaffToastPositionService,\n ) {}\n\n open() {\n this.toast = this.toastService.open({\n title: 'Update complete' + ' ' + this.count++,\n message: 'This page is now up-to-date.',\n dismissible: true,\n });\n }\n\n private count = 0;\n\n horizontalControl: FormControl = new FormControl('right');\n verticalControl: FormControl = new FormControl('top');\n\n ngOnInit() {\n combineLatest([\n this.horizontalControl.valueChanges,\n this.verticalControl.valueChanges,\n ]).subscribe(([\n horizontal, vertical,\n ]) => {\n this.toastPositionService.setPosition({\n horizontal,\n vertical,\n });\n });\n }\n}\n","<div class=\"toast-positions__options\">\n\t<select [formControl]=\"verticalControl\">\n\t\t<option value=\"top\">Top</option>\n\t\t<option value=\"bottom\">Bottom</option>\n\t</select>\n\t\n\t<select [formControl]=\"horizontalControl\">\n\t\t<option value=\"left\">Left</option>\n\t\t<option value=\"center\">Center</option>\n\t\t<option value=\"right\">Right</option>\n\t</select>\n</div>\n\n<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n FormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\nimport {\n faCheck,\n faExclamation,\n faInfoCircle,\n} from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport {\n DaffToastData,\n DaffToastService,\n} from '@daffodil/design/toast';\n\nconst status: Record<string, DaffToastData> = {\n error: {\n title: 'Server error',\n },\n success: {\n title: 'Update complete',\n message: 'The app is now up-to-date with the newest version.',\n },\n warn: {\n title: 'The app is outdated',\n message: 'Update the app now. The version you are using may have security vulnerabilities.',\n },\n};\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'toast-status',\n templateUrl: './toast-status.component.html',\n styleUrls: ['./toast-status.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffButtonModule, ReactiveFormsModule],\n})\nexport class ToastStatusComponent {\n faInfoCircle = faInfoCircle;\n faCheck = faCheck;\n faExclamation = faExclamation;\n\n statusControl: FormControl = new FormControl('success');\n\n constructor(private toastService: DaffToastService) {}\n\n open() {\n this.toastService.open({\n status: this.statusControl.value,\n ...status[this.statusControl.value],\n },\n {\n duration: this.statusControl.value === 'error' ? undefined : 5000,\n },\n );\n }\n}\n","<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\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 {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n OnInit,\n} from '@angular/core';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport {\n DaffToast,\n DaffToastService,\n} from '@daffodil/design/toast';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'toast-with-custom-duration',\n templateUrl: './toast-with-custom-duration.component.html',\n styles: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffButtonModule],\n})\nexport class ToastWithCustomDurationComponent {\n private toast: DaffToast;\n\n constructor(private toastService: DaffToastService) {}\n\n open() {\n this.toast = this.toastService.open({\n title: 'Update Complete',\n message: 'This page has been updated to the newest version.',\n status: 'success',\n },\n {\n duration: 7000,\n });\n }\n}\n","<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>","import { DefaultToastComponent } from './default-toast/default-toast.component';\nimport { ToastPositionsComponent } from './toast-positions/toast-positions.component';\nimport { ToastStatusComponent } from './toast-status/toast-status.component';\nimport { ToastWithCustomDurationComponent } from './toast-with-custom-duration/toast-with-custom-duration.component';\n\nexport const TOAST_EXAMPLES = [\n DefaultToastComponent,\n ToastPositionsComponent,\n ToastStatusComponent,\n ToastWithCustomDurationComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i3"],"mappings":";;;;;;;;;;;MAuBa,qBAAqB,CAAA;AAGhC,IAAA,WAAA,CAAoB,YAA8B,EAAA;QAA9B,IAAY,CAAA,YAAA,GAAZ,YAAY,CAAkB;AAElD,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAmB,CAAC;AAE7C,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,YAAY,EAAmB,CAAC;QAuBzC,IAAK,CAAA,KAAA,GAAG,CAAC,CAAC;KA3BoC;IAMtD,IAAI,GAAA;QACF,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;YAClC,KAAK,EAAE,kBAAkB,GAAG,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE;AAC9C,YAAA,OAAO,EAAE,0CAA0C;AACnD,YAAA,OAAO,EAAE;AACP,gBAAA,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,MAAM,EAAE;AACrF,gBA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S;SAClB,EACD;AACE,YAAA,QAAQ,EAAE,IAAI;AACf,SAAA,CAAC,CAAC;KACJ;kIAdU,gCAAgC,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;sHAAhC,gCAAgC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECtB7C,wEAAkE,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDoBtD,gBAAgB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,mBAAA,EAAA,QAAA,EAAA,yRAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAEf,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAT5C,SAAS;+BAEE,4BAA4B,EAAA,eAAA,EAGrB,uBAAuB,CAAC,MAAM,cACnC,IAAI,EAAA,OAAA,EACP,CAAC,gBAAgB,CAAC,EAAA,QAAA,EAAA,wEAAA,EAAA,CAAA;;;AEfhB,MAAA,cAAc,GAAG;IAC5B,qBAAqB;IACrB,uBAAuB;IACvB,oBAAoB;IACpB,gCAAgC;;;ACTlC;;AAEG;;;;"}
@@ -2,7 +2,7 @@ import * as i1 from '@angular/cdk/layout';
2
2
  import * as i0 from '@angular/core';
3
3
  import { InjectionToken, Injectable, Inject, Directive, HostBinding, Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChild, Input, HostListener, EventEmitter, Output, NgModule, Optional, SkipSelf } from '@angular/core';
4
4
  import * as i2 from '@daffodil/design';
5
- import { DaffBreakpoints, daffArticleEncapsulatedMixin, daffStatusMixin, DaffPrefixDirective, DaffPrefixSuffixModule } from '@daffodil/design';
5
+ import { DaffBreakpoints, DaffPrefixDirective, DaffArticleEncapsulatedDirective, DaffStatusableDirective, DaffPrefixSuffixModule } from '@daffodil/design';
6
6
  import * as i1$2 from '@angular/cdk/overlay';
7
7
  import { OverlayModule, GlobalPositionStrategy } from '@angular/cdk/overlay';
8
8
  import { PortalModule, ComponentPortal } from '@angular/cdk/portal';
@@ -79,31 +79,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
79
79
  args: ['class.daff-toast__actions']
80
80
  }] } });
81
81
 
82
- /**
83
- * An _elementRef is needed for the core mixins
84
- */
85
- class DaffToastBase {
86
- constructor(_elementRef, _renderer) {
87
- this._elementRef = _elementRef;
88
- this._renderer = _renderer;
89
- }
90
- }
91
- const _daffToastBase = daffArticleEncapsulatedMixin(daffStatusMixin(DaffToastBase));
92
82
  /**
93
83
  * DaffToastComponent provides a way to display and
94
84
  * communicate information for user actions or system updates.
95
85
  */
96
- class DaffToastComponent extends _daffToastBase {
86
+ class DaffToastComponent {
97
87
  /**
98
88
  * @docs-private
99
89
  */
100
90
  onEscape() {
101
91
  this.toast.dismiss();
102
92
  }
103
- constructor(elementRef, renderer, _focusTrapFactory, _focusStack) {
104
- super(elementRef, renderer);
105
- this.elementRef = elementRef;
106
- this.renderer = renderer;
93
+ constructor(_elementRef, _focusTrapFactory, _focusStack) {
94
+ this._elementRef = _elementRef;
107
95
  this._focusTrapFactory = _focusTrapFactory;
108
96
  this._focusStack = _focusStack;
109
97
  /** @docs-private */
@@ -127,13 +115,19 @@ class DaffToastComponent extends _daffToastBase {
127
115
  this._focusTrap.destroy();
128
116
  }
129
117
  }
130
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffToastComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$1.ConfigurableFocusTrapFactory }, { token: i2.DaffFocusStackService }], target: i0.ɵɵFactoryTarget.Component }); }
131
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffToastComponent, selector: "daff-toast", inputs: { status: "status", toast: "toast" }, host: { listeners: { "keydown.escape": "onEscape()" }, properties: { "class.daff-toast": "this.class", "attr.role": "this.role" } }, queries: [{ propertyName: "_actions", first: true, predicate: DaffToastActionsDirective, descendants: true }, { propertyName: "_prefix", first: true, predicate: DaffPrefixDirective, 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-toast__details\">\n <div class=\"daff-toast__content\">\n <ng-content select=\"[daffToastTitle]\"></ng-content>\n <ng-content select=\"[daffToastMessage]\"></ng-content>\n </div>\n <ng-content select=\"[daffToastActions]\"></ng-content>\n</div>\n<ng-content></ng-content>\n", styles: [".daff-toast{display:flex;border-radius:.25rem;font-size:1rem;line-height:1.5rem;position:relative;min-width:15rem;max-width:90vw}@media (min-width: 480px){.daff-toast{max-width:22rem}}.daff-toast+div+.daff-toast,.daff-toast+div+div+.daff-toast,.daff-toast+.daff-toast{margin-top:.75rem}.daff-toast:before{content:\"\";border-radius:.25rem 0 0 .25rem;position:absolute;height:100%;left:0;top:0;width:.25rem}.daff-toast .daff-prefix{padding:1rem 0 1rem 1rem}.daff-toast__close-button{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-toast__details{display:block;font-size:1rem;line-height:1.5rem;width:100%}.daff-toast__content{display:flex;flex-direction:column;gap:.25rem;padding:1rem}.daff-toast__title{font-weight:600}.daff-toast__message{font-weight:400;line-height:1.25rem}.daff-toast__actions{display:flex;align-items:center;gap:.5rem;min-height:3rem;padding:0 1rem 1rem}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
118
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffToastComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.ConfigurableFocusTrapFactory }, { token: i2.DaffFocusStackService }], target: i0.ɵɵFactoryTarget.Component }); }
119
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffToastComponent, selector: "daff-toast", inputs: { toast: "toast" }, host: { listeners: { "keydown.escape": "onEscape()" }, properties: { "class.daff-toast": "this.class", "attr.role": "this.role" } }, queries: [{ propertyName: "_actions", first: true, predicate: DaffToastActionsDirective, descendants: true }, { propertyName: "_prefix", first: true, predicate: DaffPrefixDirective, descendants: true }], hostDirectives: [{ directive: i2.DaffArticleEncapsulatedDirective }, { directive: i2.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-toast__details\">\n <div class=\"daff-toast__content\">\n <ng-content select=\"[daffToastTitle]\"></ng-content>\n <ng-content select=\"[daffToastMessage]\"></ng-content>\n </div>\n <ng-content select=\"[daffToastActions]\"></ng-content>\n</div>\n<ng-content></ng-content>\n", styles: [".daff-toast{display:flex;border-radius:.25rem;font-size:1rem;line-height:1.5rem;position:relative;min-width:15rem;max-width:90vw}@media (min-width: 480px){.daff-toast{max-width:22rem}}.daff-toast+div+.daff-toast,.daff-toast+div+div+.daff-toast,.daff-toast+.daff-toast{margin-top:.75rem}.daff-toast:before{content:\"\";border-radius:.25rem 0 0 .25rem;position:absolute;height:100%;left:0;top:0;width:.25rem}.daff-toast .daff-prefix{padding:1rem 0 1rem 1rem}.daff-toast__close-button{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-toast__details{display:block;font-size:1rem;line-height:1.5rem;width:100%}.daff-toast__content{display:flex;flex-direction:column;gap:.25rem;padding:1rem}.daff-toast__title{font-weight:600}.daff-toast__message{font-weight:400;line-height:1.25rem}.daff-toast__actions{display:flex;align-items:center;gap:.5rem;min-height:3rem;padding:0 1rem 1rem}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
132
120
  }
133
121
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffToastComponent, decorators: [{
134
122
  type: Component,
135
- args: [{ selector: 'daff-toast', 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-toast__details\">\n <div class=\"daff-toast__content\">\n <ng-content select=\"[daffToastTitle]\"></ng-content>\n <ng-content select=\"[daffToastMessage]\"></ng-content>\n </div>\n <ng-content select=\"[daffToastActions]\"></ng-content>\n</div>\n<ng-content></ng-content>\n", styles: [".daff-toast{display:flex;border-radius:.25rem;font-size:1rem;line-height:1.5rem;position:relative;min-width:15rem;max-width:90vw}@media (min-width: 480px){.daff-toast{max-width:22rem}}.daff-toast+div+.daff-toast,.daff-toast+div+div+.daff-toast,.daff-toast+.daff-toast{margin-top:.75rem}.daff-toast:before{content:\"\";border-radius:.25rem 0 0 .25rem;position:absolute;height:100%;left:0;top:0;width:.25rem}.daff-toast .daff-prefix{padding:1rem 0 1rem 1rem}.daff-toast__close-button{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-toast__details{display:block;font-size:1rem;line-height:1.5rem;width:100%}.daff-toast__content{display:flex;flex-direction:column;gap:.25rem;padding:1rem}.daff-toast__title{font-weight:600}.daff-toast__message{font-weight:400;line-height:1.25rem}.daff-toast__actions{display:flex;align-items:center;gap:.5rem;min-height:3rem;padding:0 1rem 1rem}\n"] }]
136
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1$1.ConfigurableFocusTrapFactory }, { type: i2.DaffFocusStackService }], propDecorators: { class: [{
123
+ args: [{ selector: 'daff-toast', hostDirectives: [
124
+ { directive: DaffArticleEncapsulatedDirective },
125
+ {
126
+ directive: DaffStatusableDirective,
127
+ inputs: ['status'],
128
+ },
129
+ ], 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-toast__details\">\n <div class=\"daff-toast__content\">\n <ng-content select=\"[daffToastTitle]\"></ng-content>\n <ng-content select=\"[daffToastMessage]\"></ng-content>\n </div>\n <ng-content select=\"[daffToastActions]\"></ng-content>\n</div>\n<ng-content></ng-content>\n", styles: [".daff-toast{display:flex;border-radius:.25rem;font-size:1rem;line-height:1.5rem;position:relative;min-width:15rem;max-width:90vw}@media (min-width: 480px){.daff-toast{max-width:22rem}}.daff-toast+div+.daff-toast,.daff-toast+div+div+.daff-toast,.daff-toast+.daff-toast{margin-top:.75rem}.daff-toast:before{content:\"\";border-radius:.25rem 0 0 .25rem;position:absolute;height:100%;left:0;top:0;width:.25rem}.daff-toast .daff-prefix{padding:1rem 0 1rem 1rem}.daff-toast__close-button{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-toast__details{display:block;font-size:1rem;line-height:1.5rem;width:100%}.daff-toast__content{display:flex;flex-direction:column;gap:.25rem;padding:1rem}.daff-toast__title{font-weight:600}.daff-toast__message{font-weight:400;line-height:1.25rem}.daff-toast__actions{display:flex;align-items:center;gap:.5rem;min-height:3rem;padding:0 1rem 1rem}\n"] }]
130
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1$1.ConfigurableFocusTrapFactory }, { type: i2.DaffFocusStackService }], propDecorators: { class: [{
137
131
  type: HostBinding,
138
132
  args: ['class.daff-toast']
139
133
  }], role: [{
@@ -322,7 +316,7 @@ class DaffToastTemplateComponent {
322
316
  </button>
323
317
  </ng-container>
324
318
  </ng-template>
325
- `, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i3.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"] }, { 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: DaffToastComponent, selector: "daff-toast", inputs: ["status", "toast"] }, { kind: "directive", type: DaffToastActionsDirective, selector: "[daffToastActions]" }, { kind: "directive", type: DaffToastTitleDirective, selector: "[daffToastTitle]" }, { kind: "directive", type: DaffToastMessageDirective, selector: "[daffToastMessage]" }, { kind: "pipe", type: i2$1.SlicePipe, name: "slice" }], animations: [
319
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i3.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"] }, { 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: DaffToastComponent, selector: "daff-toast", inputs: ["toast"] }, { kind: "directive", type: DaffToastActionsDirective, selector: "[daffToastActions]" }, { kind: "directive", type: DaffToastTitleDirective, selector: "[daffToastTitle]" }, { kind: "directive", type: DaffToastMessageDirective, selector: "[daffToastMessage]" }, { kind: "pipe", type: i2$1.SlicePipe, name: "slice" }], animations: [
326
320
  trigger('slideIn', [
327
321
  transition(':enter', [
328
322
  style({ opacity: '0', transform: 'translate({{startX}}, {{startY}})' }),