@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
@@ -2,12 +2,18 @@ import * as i2 from '@angular/cdk/a11y';
2
2
  import * as i3 from '@angular/cdk/portal';
3
3
  import { ComponentPortal, CdkPortalOutlet, PortalModule } from '@angular/cdk/portal';
4
4
  import * as i0 from '@angular/core';
5
- import { Injector, Injectable, EventEmitter, Component, ChangeDetectionStrategy, HostBinding, Input, ViewChild, HostListener, ViewEncapsulation, Directive, NgModule } from '@angular/core';
5
+ import { Injector, Injectable, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, HostBinding, Input, ViewChild, HostListener, Directive, Optional, NgModule } from '@angular/core';
6
6
  import { daffFocusableElementsSelector } from '@daffodil/design';
7
7
  import { trigger, state, style, transition, animate } from '@angular/animations';
8
8
  import * as i1 from '@angular/cdk/overlay';
9
9
  import { GlobalPositionStrategy, OverlayModule } from '@angular/cdk/overlay';
10
+ import * as i1$1 from '@angular/common';
10
11
  import { CommonModule } from '@angular/common';
12
+ import * as i3$1 from '@fortawesome/angular-fontawesome';
13
+ import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
14
+ import * as i2$1 from '@daffodil/design/button';
15
+ import { DaffButtonModule } from '@daffodil/design/button';
16
+ import { faXmark } from '@fortawesome/free-solid-svg-icons';
11
17
 
12
18
  const daffFadeAnimations = {
13
19
  fade: trigger('fade', [
@@ -40,7 +46,8 @@ class DaffModalService {
40
46
  return this.overlay.create({
41
47
  hasBackdrop: true,
42
48
  positionStrategy: new GlobalPositionStrategy()
43
- .centerHorizontally(),
49
+ .centerHorizontally()
50
+ .centerVertically(),
44
51
  scrollStrategy: this.overlay.scrollStrategies.block(),
45
52
  });
46
53
  }
@@ -82,6 +89,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
82
89
  }], ctorParameters: () => [{ type: i1.Overlay }] });
83
90
 
84
91
  class DaffModalComponent {
92
+ /**
93
+ * The aria-labelledby for the modal. This is set by the id of
94
+ * {@link DaffModalTitleDirective} when it is used.
95
+ *
96
+ */
97
+ get ariaLabelledBy() {
98
+ return this._ariaLabelledBy;
99
+ }
100
+ set ariaLabelledBy(value) {
101
+ this._ariaLabelledBy = value;
102
+ }
85
103
  /**
86
104
  * @docs-private
87
105
  */
@@ -93,9 +111,18 @@ class DaffModalComponent {
93
111
  this._focusTrapFactory = _focusTrapFactory;
94
112
  this._elementRef = _elementRef;
95
113
  /**
96
- * HostBinding to set the default modal class on the host element.
114
+ * Sets a class of .daff-modal to the host element.
97
115
  */
98
116
  this.modalClass = true;
117
+ /**
118
+ * Sets the role to dialog.
119
+ */
120
+ this.role = 'dialog';
121
+ /**
122
+ * Sets aria-modal to true.
123
+ */
124
+ this.ariaModal = true;
125
+ this._ariaLabelledBy = null;
99
126
  /**
100
127
  * Dictates whether or not a modal is open or closed.
101
128
  */
@@ -128,7 +155,14 @@ class DaffModalComponent {
128
155
  * Helper method to attach portable content to modal.
129
156
  */
130
157
  attachContent(portal) {
131
- this._portalOutlet.attachComponentPortal(portal);
158
+ const attachContent = this._portalOutlet.attachComponentPortal(portal);
159
+ // When a component is created to inject content into the modal, it can
160
+ // interfere with the display styles applied to the modal's header, content,
161
+ // and action sections. By setting `display: contents;` on the custom
162
+ // component, it is visually removed from the UI, allowing the content
163
+ // within it to inherit the modal's styles.
164
+ attachContent.location.nativeElement.style.display = 'contents';
165
+ return attachContent;
132
166
  }
133
167
  /** Animation hook that controls the entrance and exit animations of the modal. */
134
168
  get fadeState() {
@@ -147,14 +181,23 @@ class DaffModalComponent {
147
181
  }
148
182
  }
149
183
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalComponent, deps: [{ token: DaffModalService }, { token: i2.ConfigurableFocusTrapFactory }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
150
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffModalComponent, selector: "daff-modal", inputs: { open: "open" }, host: { listeners: { "keydown.escape": "onEscape()", "@fade.done": "animationDone($event)" }, properties: { "class.daff-modal": "this.modalClass", "@fade": "this.fadeState" } }, viewQueries: [{ propertyName: "_portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }], ngImport: i0, template: "<ng-template cdkPortalOutlet></ng-template>\n", styles: [":host{display:block;border-radius:4px;height:100%;max-width:80vw;overflow:hidden;padding:24px;z-index:3}@media (min-width: 480px){:host{height:auto}}\n"], dependencies: [{ kind: "directive", type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [daffFadeAnimations.fade], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
184
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffModalComponent, selector: "daff-modal", inputs: { open: "open" }, host: { listeners: { "keydown.escape": "onEscape()", "@fade.done": "animationDone($event)" }, properties: { "class.daff-modal": "this.modalClass", "attr.role": "this.role", "attr.aria-modal": "this.ariaModal", "attr.aria-labelledby": "this.ariaLabelledBy", "@fade": "this.fadeState" } }, viewQueries: [{ propertyName: "_portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }], ngImport: i0, template: "<ng-template cdkPortalOutlet></ng-template>\n", styles: [".daff-modal{display:flex;flex-direction:column;justify-content:space-between;border-radius:4px;max-height:90vh;max-width:90vw;overflow:hidden;z-index:3}@media (min-width: 480px){.daff-modal{max-height:80vh;max-width:80vw}}.daff-modal-header{display:flex;align-items:center;justify-content:space-between;padding:24px;position:relative}.daff-modal-header .daff-modal-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.25rem;font-weight:500;line-height:1.5rem;margin:0;padding:0 32px 0 0}.daff-modal-header__dismiss-button{position:absolute;right:7px;top:12px}.daff-modal-content{display:block;flex-grow:1;max-height:60vh;overflow-y:auto;padding:24px}.daff-modal-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:24px}.daff-modal-content+.daff-modal-actions{padding:0 24px 24px}.daff-modal-header+.daff-modal-content{padding-top:0}\n"], dependencies: [{ kind: "directive", type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [daffFadeAnimations.fade], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
151
185
  }
152
186
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalComponent, decorators: [{
153
187
  type: Component,
154
- args: [{ selector: 'daff-modal', animations: [daffFadeAnimations.fade], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template cdkPortalOutlet></ng-template>\n", styles: [":host{display:block;border-radius:4px;height:100%;max-width:80vw;overflow:hidden;padding:24px;z-index:3}@media (min-width: 480px){:host{height:auto}}\n"] }]
188
+ args: [{ selector: 'daff-modal', animations: [daffFadeAnimations.fade], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-template cdkPortalOutlet></ng-template>\n", styles: [".daff-modal{display:flex;flex-direction:column;justify-content:space-between;border-radius:4px;max-height:90vh;max-width:90vw;overflow:hidden;z-index:3}@media (min-width: 480px){.daff-modal{max-height:80vh;max-width:80vw}}.daff-modal-header{display:flex;align-items:center;justify-content:space-between;padding:24px;position:relative}.daff-modal-header .daff-modal-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.25rem;font-weight:500;line-height:1.5rem;margin:0;padding:0 32px 0 0}.daff-modal-header__dismiss-button{position:absolute;right:7px;top:12px}.daff-modal-content{display:block;flex-grow:1;max-height:60vh;overflow-y:auto;padding:24px}.daff-modal-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:24px}.daff-modal-content+.daff-modal-actions{padding:0 24px 24px}.daff-modal-header+.daff-modal-content{padding-top:0}\n"] }]
155
189
  }], ctorParameters: () => [{ type: DaffModalService }, { type: i2.ConfigurableFocusTrapFactory }, { type: i0.ElementRef }], propDecorators: { modalClass: [{
156
190
  type: HostBinding,
157
191
  args: ['class.daff-modal']
192
+ }], role: [{
193
+ type: HostBinding,
194
+ args: ['attr.role']
195
+ }], ariaModal: [{
196
+ type: HostBinding,
197
+ args: ['attr.aria-modal']
198
+ }], ariaLabelledBy: [{
199
+ type: HostBinding,
200
+ args: ['attr.aria-labelledby']
158
201
  }], open: [{
159
202
  type: Input
160
203
  }], _portalOutlet: [{
@@ -172,59 +215,152 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
172
215
  }] } });
173
216
 
174
217
  class DaffModalActionsComponent {
218
+ constructor() {
219
+ this.class = true;
220
+ }
175
221
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
176
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffModalActionsComponent, selector: "daff-modal-actions", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block;padding-top:24px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
222
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffModalActionsComponent, selector: "daff-modal-actions", host: { properties: { "class.daff-modal-actions": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
177
223
  }
178
224
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalActionsComponent, decorators: [{
179
225
  type: Component,
180
- args: [{ selector: 'daff-modal-actions', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;padding-top:24px}\n"] }]
181
- }] });
226
+ args: [{
227
+ selector: 'daff-modal-actions',
228
+ template: '<ng-content></ng-content>',
229
+ changeDetection: ChangeDetectionStrategy.OnPush,
230
+ }]
231
+ }], propDecorators: { class: [{
232
+ type: HostBinding,
233
+ args: ['class.daff-modal-actions']
234
+ }] } });
235
+
236
+ /**
237
+ * The DaffModalCloseDirective is a helper directive that passes a click
238
+ * event to the button it's used with to close a modal. It needs to be
239
+ * implemented with the `<button>` HTML element to work. This helps to
240
+ * reduce code duplication.
241
+ */
242
+ class DaffModalCloseDirective {
243
+ constructor(modalService, modal) {
244
+ this.modalService = modalService;
245
+ this.modal = modal;
246
+ /**
247
+ * Sets the button type attribute to button.
248
+ */
249
+ this.typeAttribute = 'button';
250
+ }
251
+ /**
252
+ * Event fired when the button the directive is attached to is clicked. This is used to close a modal.
253
+ */
254
+ _onCloseModal(event) {
255
+ if (this.modal) {
256
+ this.modalService.close(this.modal);
257
+ }
258
+ }
259
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalCloseDirective, deps: [{ token: DaffModalService }, { token: DaffModalComponent, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
260
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: DaffModalCloseDirective, selector: "button[daffModalClose]", host: { listeners: { "click": "_onCloseModal()" }, properties: { "attr.type": "this.typeAttribute" } }, ngImport: i0 }); }
261
+ }
262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalCloseDirective, decorators: [{
263
+ type: Directive,
264
+ args: [{
265
+ selector: 'button[daffModalClose]',
266
+ }]
267
+ }], ctorParameters: () => [{ type: DaffModalService }, { type: DaffModalComponent, decorators: [{
268
+ type: Optional
269
+ }] }], propDecorators: { _onCloseModal: [{
270
+ type: HostListener,
271
+ args: ['click']
272
+ }], typeAttribute: [{
273
+ type: HostBinding,
274
+ args: ['attr.type']
275
+ }] } });
182
276
 
183
277
  class DaffModalContentComponent {
278
+ constructor() {
279
+ this.class = true;
280
+ }
184
281
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
185
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffModalContentComponent, selector: "daff-modal-content", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block;margin:0 -24px;max-height:60vh;overflow:auto;padding:0 24px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
282
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffModalContentComponent, selector: "daff-modal-content", host: { properties: { "class.daff-modal-content": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
186
283
  }
187
284
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalContentComponent, decorators: [{
188
285
  type: Component,
189
- args: [{ selector: 'daff-modal-content', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;margin:0 -24px;max-height:60vh;overflow:auto;padding:0 24px}\n"] }]
190
- }] });
286
+ args: [{
287
+ selector: 'daff-modal-content',
288
+ template: '<ng-content></ng-content>',
289
+ changeDetection: ChangeDetectionStrategy.OnPush,
290
+ }]
291
+ }], propDecorators: { class: [{
292
+ type: HostBinding,
293
+ args: ['class.daff-modal-content']
294
+ }] } });
191
295
 
192
296
  class DaffModalHeaderComponent {
193
297
  constructor() {
298
+ this.faXmark = faXmark;
194
299
  /**
195
300
  * @docs-private
196
301
  */
197
302
  this.class = true;
303
+ /**
304
+ * Whether or not a modal is dismissible.
305
+ */
306
+ this.dismissible = true;
198
307
  }
199
308
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
200
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffModalHeaderComponent, selector: "daff-modal-header", host: { properties: { "class.daff-modal-header": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block}.daff-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.daff-modal-header .daff-modal-title{font-weight:700;font-size:1.25rem;margin:0;padding:0}@media (min-width: 480px){.daff-modal-header .daff-modal-title{font-size:1.5rem}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
309
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffModalHeaderComponent, selector: "daff-modal-header", inputs: { dismissible: "dismissible" }, host: { properties: { "class.daff-modal-header": "this.class" } }, ngImport: i0, template: "<ng-content select=\"[daffModalTitle]\"></ng-content>\n<ng-container *ngIf=\"dismissible\">\n\t<button daff-icon-button color=\"theme-contrast\"\n\t\tdaffModalClose\n\t\tclass=\"daff-modal-header__dismiss-button\"\n\t\taria-label=\"Close modal\">\n\t\t\t<fa-icon [icon]=\"faXmark\" size=\"lg\"></fa-icon>\n\t</button>\n</ng-container>", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.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: i3$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "directive", type: DaffModalCloseDirective, selector: "button[daffModalClose]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
201
310
  }
202
311
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalHeaderComponent, decorators: [{
203
312
  type: Component,
204
- args: [{ selector: 'daff-modal-header', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}.daff-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.daff-modal-header .daff-modal-title{font-weight:700;font-size:1.25rem;margin:0;padding:0}@media (min-width: 480px){.daff-modal-header .daff-modal-title{font-size:1.5rem}}\n"] }]
313
+ args: [{ selector: 'daff-modal-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"[daffModalTitle]\"></ng-content>\n<ng-container *ngIf=\"dismissible\">\n\t<button daff-icon-button color=\"theme-contrast\"\n\t\tdaffModalClose\n\t\tclass=\"daff-modal-header__dismiss-button\"\n\t\taria-label=\"Close modal\">\n\t\t\t<fa-icon [icon]=\"faXmark\" size=\"lg\"></fa-icon>\n\t</button>\n</ng-container>" }]
205
314
  }], propDecorators: { class: [{
206
315
  type: HostBinding,
207
316
  args: ['class.daff-modal-header']
317
+ }], dismissible: [{
318
+ type: Input
208
319
  }] } });
209
320
 
321
+ let modalTitleId = 0;
322
+ /**
323
+ * Title of a modal.
324
+ */
210
325
  class DaffModalTitleDirective {
211
- constructor() {
326
+ /**
327
+ * The html `id` of the modal title.
328
+ */
329
+ get uniqueId() {
330
+ return this._id;
331
+ }
332
+ constructor(modal) {
333
+ this.modal = modal;
212
334
  /**
213
335
  * @docs-private
214
336
  */
215
337
  this.class = true;
338
+ this._id = '';
339
+ modalTitleId++;
340
+ this._id = 'daff-modal-title-' + modalTitleId;
341
+ /**
342
+ * Sets the ariaLabelledBy of the modal to the id of the modal title.
343
+ */
344
+ if (this.modal) {
345
+ this.modal.ariaLabelledBy = this.uniqueId;
346
+ }
216
347
  }
217
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
218
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: DaffModalTitleDirective, selector: "[daffModalTitle]", host: { properties: { "class.daff-modal-title": "this.class" } }, ngImport: i0 }); }
348
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalTitleDirective, deps: [{ token: DaffModalComponent, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
349
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: DaffModalTitleDirective, selector: "[daffModalTitle]", host: { properties: { "class.daff-modal-title": "this.class", "attr.id": "this.uniqueId" } }, ngImport: i0 }); }
219
350
  }
220
351
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalTitleDirective, decorators: [{
221
352
  type: Directive,
222
353
  args: [{
223
354
  selector: '[daffModalTitle]',
224
355
  }]
225
- }], propDecorators: { class: [{
356
+ }], ctorParameters: () => [{ type: DaffModalComponent, decorators: [{
357
+ type: Optional
358
+ }] }], propDecorators: { class: [{
226
359
  type: HostBinding,
227
360
  args: ['class.daff-modal-title']
361
+ }], uniqueId: [{
362
+ type: HostBinding,
363
+ args: ['attr.id']
228
364
  }] } });
229
365
 
230
366
  class DaffModalModule {
@@ -233,17 +369,23 @@ class DaffModalModule {
233
369
  DaffModalHeaderComponent,
234
370
  DaffModalTitleDirective,
235
371
  DaffModalContentComponent,
236
- DaffModalActionsComponent], imports: [CommonModule,
372
+ DaffModalActionsComponent,
373
+ DaffModalCloseDirective], imports: [CommonModule,
237
374
  PortalModule,
238
- OverlayModule], exports: [DaffModalHeaderComponent,
375
+ OverlayModule,
376
+ DaffButtonModule,
377
+ FontAwesomeModule], exports: [DaffModalHeaderComponent,
239
378
  DaffModalTitleDirective,
240
379
  DaffModalContentComponent,
241
- DaffModalActionsComponent] }); }
380
+ DaffModalActionsComponent,
381
+ DaffModalCloseDirective] }); }
242
382
  /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalModule, providers: [
243
383
  DaffModalService,
244
384
  ], imports: [CommonModule,
245
385
  PortalModule,
246
- OverlayModule] }); }
386
+ OverlayModule,
387
+ DaffButtonModule,
388
+ FontAwesomeModule] }); }
247
389
  }
248
390
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffModalModule, decorators: [{
249
391
  type: NgModule,
@@ -252,12 +394,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
252
394
  CommonModule,
253
395
  PortalModule,
254
396
  OverlayModule,
397
+ DaffButtonModule,
398
+ FontAwesomeModule,
255
399
  ],
256
400
  exports: [
257
401
  DaffModalHeaderComponent,
258
402
  DaffModalTitleDirective,
259
403
  DaffModalContentComponent,
260
404
  DaffModalActionsComponent,
405
+ DaffModalCloseDirective,
261
406
  ],
262
407
  declarations: [
263
408
  DaffModalComponent,
@@ -265,6 +410,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
265
410
  DaffModalTitleDirective,
266
411
  DaffModalContentComponent,
267
412
  DaffModalActionsComponent,
413
+ DaffModalCloseDirective,
268
414
  ],
269
415
  providers: [
270
416
  DaffModalService,
@@ -276,5 +422,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
276
422
  * Generated bundle index. Do not edit.
277
423
  */
278
424
 
279
- export { DaffModalActionsComponent, DaffModalComponent, DaffModalContentComponent, DaffModalHeaderComponent, DaffModalModule, DaffModalService, DaffModalTitleDirective };
425
+ export { DaffModalActionsComponent, DaffModalCloseDirective, DaffModalComponent, DaffModalContentComponent, DaffModalHeaderComponent, DaffModalModule, DaffModalService, DaffModalTitleDirective };
280
426
  //# sourceMappingURL=daffodil-design-modal.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-modal.mjs","sources":["../../../libs/design/modal/src/animations/modal-animation.ts","../../../libs/design/modal/src/animations/modal-animation-state.ts","../../../libs/design/modal/src/service/modal.service.ts","../../../libs/design/modal/src/modal/modal.component.ts","../../../libs/design/modal/src/modal/modal.component.html","../../../libs/design/modal/src/modal-actions/modal-actions.component.ts","../../../libs/design/modal/src/modal-content/modal-content.component.ts","../../../libs/design/modal/src/modal-header/modal-header.component.ts","../../../libs/design/modal/src/modal-title/modal-title.directive.ts","../../../libs/design/modal/src/modal.module.ts","../../../libs/design/modal/src/daffodil-design-modal.ts"],"sourcesContent":["import {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nexport const daffFadeAnimations: {\n readonly fade: AnimationTriggerMetadata;\n} = {\n fade: trigger('fade', [\n state('open', style({ opacity: 1 })),\n state('closed', style({ opacity: 0 })),\n transition('open <=> closed', animate('400ms cubic-bezier(0.25, 0.8, 0.25, 1)')),\n ]),\n};\n","export const getAnimationState = (open: boolean) => open ? 'open' : 'closed';\n","import { AnimationEvent } from '@angular/animations';\nimport {\n OverlayRef,\n Overlay,\n GlobalPositionStrategy,\n} from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n Injectable,\n Type,\n ComponentRef,\n Injector,\n} from '@angular/core';\n\nimport { DaffModal } from '../modal/modal';\nimport { DaffModalConfiguration } from '../modal/modal-config';\nimport { DaffModalComponent } from '../modal/modal.component';\n\n@Injectable()\nexport class DaffModalService {\n private _modals: Map<DaffModalComponent, DaffModal> = new Map();\n\n constructor(private overlay: Overlay) {}\n\n private defaultConfiguration: DaffModalConfiguration = {};\n\n private _attachModal(\n\t overlayRef: OverlayRef,\n ): ComponentRef<DaffModalComponent> {\n\t const modal = overlayRef.attach(\n new ComponentPortal(\n DaffModalComponent,\n undefined,\n Injector.create({ providers: [{\n provide: DaffModalService,\n useValue: this,\n }]}),\n ),\n );\n\t modal.instance.open = true;\n\t return modal;\n }\n\n private _attachModalContent(\n\t component: Type<any>,\n\t modal: ComponentRef<DaffModalComponent>,\n ): void {\n\t modal.instance.attachContent(new ComponentPortal(component));\n }\n\n private _createOverlayRef(): OverlayRef {\n\t return this.overlay.create({\n\t hasBackdrop: true,\n\t positionStrategy: new GlobalPositionStrategy()\n\t .centerHorizontally(),\n\t scrollStrategy: this.overlay.scrollStrategies.block(),\n\t });\n }\n\n private _removeModal(modal: DaffModal) {\n if (!this._modals.has(modal.modal.instance)) {\n throw new Error(\n\t 'The Modal that you are trying to remove does not exist.',\n\t );\n }\n\n\t this._modals.delete(modal.modal.instance);\n\n\t modal.overlay.dispose();\n }\n\n open(\n\t component: Type<any>,\n\t configuration?: Partial<DaffModalConfiguration>,\n ): DaffModalComponent {\n\t const config = { ...this.defaultConfiguration, ...configuration };\n\t const _ref = this._createOverlayRef();\n\t const _modal = this._attachModal(_ref);\n\t const _attachedModal = this._attachModalContent(component, _modal);\n\n\t const modal: DaffModal = {\n\t modal: _modal,\n\t overlay: _ref,\n\t };\n\n\t this._modals.set(modal.modal.instance, modal);\n\n\t _ref\n\t .backdropClick()\n\t .subscribe(() =>\n\t config.onBackdropClicked\n\t ? config.onBackdropClicked()\n\t : this.close(modal.modal.instance),\n\t );\n\t return modal.modal.instance;\n }\n\n close(component: DaffModalComponent): void {\n\t component.open = false;\n const modal = this._modals.get(component);\n\n\t modal.overlay.detachBackdrop();\n\t component.closedAnimationCompleted.subscribe(\n\t (e: AnimationEvent) => this._removeModal(modal),\n\t );\n }\n}\n","import { AnimationEvent } from '@angular/animations';\nimport {\n ConfigurableFocusTrap,\n ConfigurableFocusTrapFactory,\n} from '@angular/cdk/a11y';\nimport {\n CdkPortalOutlet,\n ComponentPortal,\n} from '@angular/cdk/portal';\nimport {\n Component,\n EventEmitter,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n ViewChild,\n HostListener,\n ElementRef,\n AfterContentInit,\n AfterViewInit,\n Self,\n} from '@angular/core';\n\nimport { daffFocusableElementsSelector } from '@daffodil/design';\n\nimport { daffFadeAnimations } from '../animations/modal-animation';\nimport { getAnimationState } from '../animations/modal-animation-state';\nimport { DaffModalService } from '../service/modal.service';\n\n@Component({\n selector: 'daff-modal',\n templateUrl: './modal.component.html',\n styleUrls: ['./modal.component.scss'],\n animations: [daffFadeAnimations.fade],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffModalComponent implements AfterContentInit, AfterViewInit {\n /**\n * HostBinding to set the default modal class on the host element.\n */\n @HostBinding('class.daff-modal') modalClass = true;\n\n /**\n * Dictates whether or not a modal is open or closed.\n */\n @Input() open = false;\n\n /**\n * The CDK Portal outlet used to portal content into the modal.\n */\n @ViewChild(CdkPortalOutlet, { static: true }) private _portalOutlet: CdkPortalOutlet;\n\n /**\n * Event fired when the close animation is completed.\n */\n animationCompleted: EventEmitter<any> = new EventEmitter<any>();\n\n /**\n * Event fired when the close animation is completed.\n */\n closedAnimationCompleted: EventEmitter<any> = new EventEmitter<\n any\n >();\n\n /**\n * @docs-private\n */\n @HostListener('keydown.escape')\n onEscape() {\n this.modalService.close(this);\n }\n\n private _focusTrap: ConfigurableFocusTrap;\n\n constructor(\n private modalService: DaffModalService,\n private _focusTrapFactory: ConfigurableFocusTrapFactory,\n private _elementRef: ElementRef<HTMLElement>,\n ) {\n }\n\n ngAfterContentInit() {\n this._focusTrap = this._focusTrapFactory.create(\n\t this._elementRef.nativeElement,\n\t );\n }\n\n ngAfterViewInit() {\n const focusableChild = (<HTMLElement>this._elementRef.nativeElement.querySelector(\n daffFocusableElementsSelector)\n );\n\n if(focusableChild) {\n focusableChild.focus();\n } else {\n // There's a timing condition when computing HostBindings afterContentInit\n // so to allow the menu to be focused, we manually set the tabindex.\n this._elementRef.nativeElement.tabIndex = 0;\n (<HTMLElement>this._elementRef.nativeElement).focus();\n }\n }\n\n /**\n * Helper method to attach portable content to modal.\n */\n attachContent(portal: ComponentPortal<any>): any {\n\t this._portalOutlet.attachComponentPortal(portal);\n }\n\n /** Animation hook that controls the entrance and exit animations of the modal. */\n @HostBinding('@fade') get fadeState(): string {\n\t return getAnimationState(this.open);\n }\n\n /**\n * Animation event that can used to hook into when\n * animations are fully completed. We use this in the DaffModalService\n * to determine when to actually remove the dynamically rendered element from the DOM\n * so that the animation does not clip as the element is removed.\n */\n @HostListener('@fade.done', ['$event'])\n animationDone(e: AnimationEvent) {\n\t this.animationCompleted.emit(e);\n\t if (e.toState === 'closed') {\n\t this.closedAnimationCompleted.emit(e);\n\t }\n }\n}\n","<ng-template cdkPortalOutlet></ng-template>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-modal-actions',\n template: '<ng-content></ng-content>',\n styleUrls: ['./modal-actions.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffModalActionsComponent { }\n","import {\n Component,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-modal-content',\n template: '<ng-content></ng-content>',\n styleUrls: ['./modal-content.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffModalContentComponent {}\n","import {\n Component,\n ViewEncapsulation,\n HostBinding,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-modal-header',\n template: '<ng-content></ng-content>',\n styleUrls: ['./modal-header.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffModalHeaderComponent {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-modal-header') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffModalTitle]',\n})\nexport class DaffModalTitleDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-modal-title') class = true;\n}\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffModalComponent } from './modal/modal.component';\nimport { DaffModalActionsComponent } from './modal-actions/modal-actions.component';\nimport { DaffModalContentComponent } from './modal-content/modal-content.component';\nimport { DaffModalHeaderComponent } from './modal-header/modal-header.component';\nimport { DaffModalTitleDirective } from './modal-title/modal-title.directive';\nimport { DaffModalService } from './service/modal.service';\n\n@NgModule({\n imports: [\n CommonModule,\n PortalModule,\n OverlayModule,\n ],\n exports: [\n DaffModalHeaderComponent,\n DaffModalTitleDirective,\n DaffModalContentComponent,\n DaffModalActionsComponent,\n ],\n declarations: [\n DaffModalComponent,\n DaffModalHeaderComponent,\n DaffModalTitleDirective,\n DaffModalContentComponent,\n DaffModalActionsComponent,\n ],\n providers: [\n DaffModalService,\n ],\n})\nexport class DaffModalModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.DaffModalService"],"mappings":";;;;;;;;;;;AASO,MAAM,kBAAkB,GAE3B;AACF,IAAA,IAAI,EAAE,OAAO,CAAC,MAAM,EAAE;QACpB,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;QACpC,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;AACtC,QAAA,UAAU,CAAC,iBAAiB,EAAE,OAAO,CAAC,wCAAwC,CAAC,CAAC;KACjF,CAAC;CACH;;ACjBM,MAAM,iBAAiB,GAAG,CAAC,IAAa,KAAK,IAAI,GAAG,MAAM,GAAG,QAAQ;;MCmB/D,gBAAgB,CAAA;AAG3B,IAAA,WAAA,CAAoB,OAAgB,EAAA;QAAhB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAS;AAF5B,QAAA,IAAA,CAAA,OAAO,GAAuC,IAAI,GAAG,EAAE,CAAC;QAIxD,IAAoB,CAAA,oBAAA,GAA2B,EAAE,CAAC;KAFlB;AAIhC,IAAA,YAAY,CACnB,UAAsB,EAAA;QAEtB,MAAM,KAAK,GAAG,UAAU,CAAC,MAAM,CAC5B,IAAI,eAAe,CACjB,kBAAkB,EAClB,SAAS,EACT,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;AAC5B,oBAAA,OAAO,EAAE,gBAAgB;AACzB,oBAAA,QAAQ,EAAE,IAAI;AACf,iBAAA,CAAC,EAAC,CAAC,CACL,CACF,CAAC;AACH,QAAA,KAAK,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC;AAC3B,QAAA,OAAO,KAAK,C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A,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAJf,SAAA,EAAA;YACT,gBAAgB;AACjB,SAAA,EAAA,OAAA,EAAA,CAnBC,YAAY;YACZ,YAAY;YACZ,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAmBJ,eAAe,EAAA,UAAA,EAAA,CAAA;kBAvB3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBACZ,aAAa;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,wBAAwB;wBACxB,uBAAuB;wBACvB,yBAAyB;wBACzB,yBAAyB;AAC1B,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,kBAAkB;wBAClB,wBAAwB;wBACxB,uBAAuB;wBACvB,yBAAyB;wBACzB,yBAAyB;AAC1B,qBAAA;AACD,oBAAA,SAAS,EAAE;wBACT,gBAAgB;AACjB,qBAAA;AACF,iBAAA,CAAA;;;AClCD;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-modal.mjs","sources":["../../../libs/design/modal/src/animations/modal-animation.ts","../../../libs/design/modal/src/animations/modal-animation-state.ts","../../../libs/design/modal/src/service/modal.service.ts","../../../libs/design/modal/src/modal/modal.component.ts","../../../libs/design/modal/src/modal/modal.component.html","../../../libs/design/modal/src/modal-actions/modal-actions.component.ts","../../../libs/design/modal/src/modal-close/modal-close.directive.ts","../../../libs/design/modal/src/modal-content/modal-content.component.ts","../../../libs/design/modal/src/modal-header/modal-header.component.ts","../../../libs/design/modal/src/modal-header/modal-header.component.html","../../../libs/design/modal/src/modal-title/modal-title.directive.ts","../../../libs/design/modal/src/modal.module.ts","../../../libs/design/modal/src/daffodil-design-modal.ts"],"sourcesContent":["import {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nexport const daffFadeAnimations: {\n readonly fade: AnimationTriggerMetadata;\n} = {\n fade: trigger('fade', [\n state('open', style({ opacity: 1 })),\n state('closed', style({ opacity: 0 })),\n transition('open <=> closed', animate('400ms cubic-bezier(0.25, 0.8, 0.25, 1)')),\n ]),\n};\n","export const getAnimationState = (open: boolean) => open ? 'open' : 'closed';\n","import { AnimationEvent } from '@angular/animations';\nimport {\n OverlayRef,\n Overlay,\n GlobalPositionStrategy,\n} from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n Injectable,\n Type,\n ComponentRef,\n Injector,\n} from '@angular/core';\n\nimport { DaffModal } from '../modal/modal';\nimport { DaffModalConfiguration } from '../modal/modal-config';\nimport { DaffModalComponent } from '../modal/modal.component';\n\n@Injectable()\nexport class DaffModalService {\n private _modals: Map<DaffModalComponent, DaffModal> = new Map();\n\n constructor(private overlay: Overlay) {}\n\n private defaultConfiguration: DaffModalConfiguration = {};\n\n private _attachModal(\n\t overlayRef: OverlayRef,\n ): ComponentRef<DaffModalComponent> {\n\t const modal = overlayRef.attach(\n new ComponentPortal(\n DaffModalComponent,\n undefined,\n Injector.create({ providers: [{\n provide: DaffModalService,\n useValue: this,\n }]}),\n ),\n );\n\t modal.instance.open = true;\n\t return modal;\n }\n\n private _attachModalContent(\n\t component: Type<any>,\n\t modal: ComponentRef<DaffModalComponent>,\n ): void {\n\t modal.instance.attachContent(new ComponentPortal(component));\n }\n\n private _createOverlayRef(): OverlayRef {\n\t return this.overlay.create({\n\t hasBackdrop: true,\n\t positionStrategy: new GlobalPositionStrategy()\n\t .centerHorizontally()\n .centerVertically(),\n\t scrollStrategy: this.overlay.scrollStrategies.block(),\n\t });\n }\n\n private _removeModal(modal: DaffModal) {\n if (!this._modals.has(modal.modal.instance)) {\n throw new Error(\n\t 'The Modal that you are trying to remove does not exist.',\n\t );\n }\n\n\t this._modals.delete(modal.modal.instance);\n\n\t modal.overlay.dispose();\n }\n\n open(\n\t component: Type<any>,\n\t configuration?: Partial<DaffModalConfiguration>,\n ): DaffModalComponent {\n\t const config = { ...this.defaultConfiguration, ...configuration };\n\t const _ref = this._createOverlayRef();\n\t const _modal = this._attachModal(_ref);\n\t const _attachedModal = this._attachModalContent(component, _modal);\n\n\t const modal: DaffModal = {\n\t modal: _modal,\n\t overlay: _ref,\n\t };\n\n\t this._modals.set(modal.modal.instance, modal);\n\n\t _ref\n\t .backdropClick()\n\t .subscribe(() =>\n\t config.onBackdropClicked\n\t ? config.onBackdropClicked()\n\t : this.close(modal.modal.instance),\n\t );\n\t return modal.modal.instance;\n }\n\n close(component: DaffModalComponent): void {\n\t component.open = false;\n const modal = this._modals.get(component);\n\n\t modal.overlay.detachBackdrop();\n\t component.closedAnimationCompleted.subscribe(\n\t (e: AnimationEvent) => this._removeModal(modal),\n\t );\n }\n}\n","import { AnimationEvent } from '@angular/animations';\nimport {\n ConfigurableFocusTrap,\n ConfigurableFocusTrapFactory,\n} from '@angular/cdk/a11y';\nimport {\n CdkPortalOutlet,\n ComponentPortal,\n} from '@angular/cdk/portal';\nimport {\n Component,\n EventEmitter,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n ViewChild,\n HostListener,\n ElementRef,\n AfterContentInit,\n AfterViewInit,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { daffFocusableElementsSelector } from '@daffodil/design';\n\nimport { daffFadeAnimations } from '../animations/modal-animation';\nimport { getAnimationState } from '../animations/modal-animation-state';\nimport { DaffModalService } from '../service/modal.service';\n\n@Component({\n selector: 'daff-modal',\n templateUrl: './modal.component.html',\n styleUrls: ['./modal.component.scss'],\n animations: [daffFadeAnimations.fade],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class DaffModalComponent implements AfterContentInit, AfterViewInit {\n /**\n * Sets a class of .daff-modal to the host element.\n */\n @HostBinding('class.daff-modal') modalClass = true;\n\n /**\n * Sets the role to dialog.\n */\n @HostBinding('attr.role') role = 'dialog';\n\n /**\n * Sets aria-modal to true.\n */\n @HostBinding('attr.aria-modal') ariaModal = true;\n\n private _ariaLabelledBy = null;\n\n /**\n * The aria-labelledby for the modal. This is set by the id of\n * {@link DaffModalTitleDirective} when it is used.\n *\n */\n @HostBinding('attr.aria-labelledby') get ariaLabelledBy() {\n return this._ariaLabelledBy;\n } set ariaLabelledBy(value: string) {\n this._ariaLabelledBy = value;\n }\n\n /**\n * Dictates whether or not a modal is open or closed.\n */\n @Input() open = false;\n\n /**\n * The CDK Portal outlet used to portal content into the modal.\n */\n @ViewChild(CdkPortalOutlet, { static: true }) private _portalOutlet: CdkPortalOutlet;\n\n /**\n * Event fired when the close animation is completed.\n */\n animationCompleted: EventEmitter<any> = new EventEmitter<any>();\n\n /**\n * Event fired when the close animation is completed.\n */\n closedAnimationCompleted: EventEmitter<any> = new EventEmitter<\n any\n >();\n\n /**\n * @docs-private\n */\n @HostListener('keydown.escape')\n onEscape() {\n this.modalService.close(this);\n }\n\n private _focusTrap: ConfigurableFocusTrap;\n\n constructor(\n private modalService: DaffModalService,\n private _focusTrapFactory: ConfigurableFocusTrapFactory,\n private _elementRef: ElementRef<HTMLElement>,\n ) {\n }\n\n ngAfterContentInit() {\n this._focusTrap = this._focusTrapFactory.create(\n\t this._elementRef.nativeElement,\n\t );\n }\n\n ngAfterViewInit() {\n const focusableChild = (<HTMLElement>this._elementRef.nativeElement.querySelector(\n daffFocusableElementsSelector)\n );\n\n if(focusableChild) {\n focusableChild.focus();\n } else {\n // There's a timing condition when computing HostBindings afterContentInit\n // so to allow the menu to be focused, we manually set the tabindex.\n this._elementRef.nativeElement.tabIndex = 0;\n (<HTMLElement>this._elementRef.nativeElement).focus();\n }\n }\n\n /**\n * Helper method to attach portable content to modal.\n */\n attachContent(portal: ComponentPortal<any>): any {\n const attachContent = this._portalOutlet.attachComponentPortal(portal);\n\n // When a component is created to inject content into the modal, it can\n // interfere with the display styles applied to the modal's header, content,\n // and action sections. By setting `display: contents;` on the custom\n // component, it is visually removed from the UI, allowing the content\n // within it to inherit the modal's styles.\n attachContent.location.nativeElement.style.display = 'contents';\n\n return attachContent;\n }\n\n /** Animation hook that controls the entrance and exit animations of the modal. */\n @HostBinding('@fade') get fadeState(): string {\n\t return getAnimationState(this.open);\n }\n\n /**\n * Animation event that can used to hook into when\n * animations are fully completed. We use this in the DaffModalService\n * to determine when to actually remove the dynamically rendered element from the DOM\n * so that the animation does not clip as the element is removed.\n */\n @HostListener('@fade.done', ['$event'])\n animationDone(e: AnimationEvent) {\n\t this.animationCompleted.emit(e);\n\t if (e.toState === 'closed') {\n\t this.closedAnimationCompleted.emit(e);\n\t }\n }\n}\n","<ng-template cdkPortalOutlet></ng-template>\n","import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-modal-actions',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffModalActionsComponent {\n @HostBinding('class.daff-modal-actions') class = true;\n}\n","import {\n Directive,\n HostBinding,\n HostListener,\n Optional,\n} from '@angular/core';\n\nimport { DaffModalComponent } from '../modal/modal.component';\nimport { DaffModalService } from '../service/modal.service';\n\n/**\n * The DaffModalCloseDirective is a helper directive that passes a click\n * event to the button it's used with to close a modal. It needs to be\n * implemented with the `<button>` HTML element to work. This helps to\n * reduce code duplication.\n */\n@Directive({\n selector: 'button[daffModalClose]',\n})\n\nexport class DaffModalCloseDirective {\n constructor(\n private modalService: DaffModalService,\n @Optional() private modal: DaffModalComponent,\n ) {}\n\n /**\n * Event fired when the button the directive is attached to is clicked. This is used to close a modal.\n */\n @HostListener('click')\n _onCloseModal(event: MouseEvent) {\n\t if(this.modal) {\n this.modalService.close(this.modal);\n }\n }\n\n /**\n * Sets the button type attribute to button.\n */\n @HostBinding('attr.type') typeAttribute = 'button';\n}\n","import {\n Component,\n ChangeDetectionStrategy,\n HostBinding,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-modal-content',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffModalContentComponent {\n @HostBinding('class.daff-modal-content') class = true;\n}\n","import {\n Component,\n ViewEncapsulation,\n HostBinding,\n ChangeDetectionStrategy,\n Input,\n} from '@angular/core';\nimport { faXmark } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n selector: 'daff-modal-header',\n templateUrl: './modal-header.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffModalHeaderComponent {\n faXmark = faXmark;\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-modal-header') class = true;\n\n /**\n * Whether or not a modal is dismissible.\n */\n @Input() dismissible = true;\n}\n","<ng-content select=\"[daffModalTitle]\"></ng-content>\n<ng-container *ngIf=\"dismissible\">\n\t<button daff-icon-button color=\"theme-contrast\"\n\t\tdaffModalClose\n\t\tclass=\"daff-modal-header__dismiss-button\"\n\t\taria-label=\"Close modal\">\n\t\t\t<fa-icon [icon]=\"faXmark\" size=\"lg\"></fa-icon>\n\t</button>\n</ng-container>","import {\n Directive,\n HostBinding,\n Optional,\n} from '@angular/core';\n\nimport { DaffModalComponent } from '../modal/modal.component';\n\nlet modalTitleId = 0;\n\n/**\n * Title of a modal.\n */\n@Directive({\n selector: '[daffModalTitle]',\n})\n\nexport class DaffModalTitleDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-modal-title') class = true;\n\n private _id = '';\n\n /**\n * The html `id` of the modal title.\n */\n @HostBinding('attr.id') get uniqueId() {\n return this._id;\n }\n\n constructor(@Optional() private modal: DaffModalComponent) {\n modalTitleId++;\n\n this._id = 'daff-modal-title-' + modalTitleId;\n\n /**\n * Sets the ariaLabelledBy of the modal to the id of the modal title.\n */\n if(this.modal) {\n this.modal.ariaLabelledBy = this.uniqueId;\n }\n }\n}\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\n\nimport { DaffModalComponent } from './modal/modal.component';\nimport { DaffModalActionsComponent } from './modal-actions/modal-actions.component';\nimport { DaffModalCloseDirective } from './modal-close/modal-close.directive';\nimport { DaffModalContentComponent } from './modal-content/modal-content.component';\nimport { DaffModalHeaderComponent } from './modal-header/modal-header.component';\nimport { DaffModalTitleDirective } from './modal-title/modal-title.directive';\nimport { DaffModalService } from './service/modal.service';\n\n@NgModule({\n imports: [\n CommonModule,\n PortalModule,\n OverlayModule,\n DaffButtonModule,\n FontAwesomeModule,\n ],\n exports: [\n DaffModalHeaderComponent,\n DaffModalTitleDirective,\n DaffModalContentComponent,\n DaffModalActionsComponent,\n DaffModalCloseDirective,\n ],\n declarations: [\n DaffModalComponent,\n DaffModalHeaderComponent,\n DaffModalTitleDirective,\n DaffModalContentComponent,\n DaffModalActionsComponent,\n DaffModalCloseDirective,\n ],\n providers: [\n DaffModalService,\n ],\n})\nexport class DaffModalModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.DaffModalService","i2.DaffModalComponent","i1","i2","i3","i4.DaffModalCloseDirective","i1.DaffModalComponent"],"mappings":";;;;;;;;;;;;;;;;;AASO,MAAM,kBAAkB,GAE3B;AACF,IAAA,IAAI,EAAE,OAAO,CAAC,MAAM,EAAE;QACpB,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;QACpC,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;AACtC,QAAA,UAAU,CAAC,iBAAiB,EAAE,OAAO,CAAC,wCAAwC,CAAC,CAAC;KACjF,CAAC;CACH;;ACjBM,MAAM,iBAAiB,GAAG,CAAC,IAAa,KAAK,IAAI,GAAG,MAAM,GAA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