@daffodil/design 0.74.0 → 0.76.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 (627) hide show
  1. package/accordion/accordion/accordion/accordion.component.d.ts +3 -19
  2. package/article/README.md +19 -13
  3. package/article/examples/article-blockquote/article-blockquote.component.d.ts +1 -1
  4. package/article/examples/article-code-block/article-code-block.component.d.ts +1 -1
  5. package/article/examples/article-code-inline/article-code-inline.component.d.ts +1 -1
  6. package/article/examples/article-headings/article-headings.component.d.ts +1 -1
  7. package/article/examples/article-hr/article-hr.component.d.ts +1 -1
  8. package/article/examples/article-link/article-link.component.d.ts +1 -1
  9. package/article/examples/article-meta/article-meta.component.d.ts +1 -1
  10. package/article/examples/article-ol/article-ol.component.d.ts +1 -1
  11. package/article/examples/article-table/article-table.component.d.ts +1 -1
  12. package/article/examples/article-ul/article-ul.component.d.ts +1 -1
  13. package/article/examples/public_api.d.ts +0 -1
  14. package/article/src/article-theme.scss +18 -8
  15. package/breadcrumb/README.md +52 -0
  16. package/breadcrumb/breadcrumb/breadcrumb.component.d.ts +7 -0
  17. package/breadcrumb/breadcrumb-item/breadcrumb-item.directive.d.ts +9 -0
  18. package/breadcrumb/breadcrumb.d.ts +3 -0
  19. package/breadcrumb/breadcrumb.module.d.ts +9 -0
  20. package/breadcrumb/examples/basic-breadcrumb/basic-breadcrumb.component.d.ts +5 -0
  21. package/breadcrumb/examples/index.d.ts +1 -0
  22. package/breadcrumb/examples/public_api.d.ts +2 -0
  23. package/breadcrumb/index.d.ts +1 -0
  24. package/breadcrumb/public_api.d.ts +4 -0
  25. package/breadcrumb/src/breadcrumb-theme.scss +13 -0
  26. package/button/button/button-sizable.directive.d.ts +10 -0
  27. package/button/button/button.component.d.ts +17 -27
  28. package/button/examples/basic-button/basic-button.component.d.ts +1 -1
  29. package/button/examples/flat-button/flat-button.component.d.ts +1 -1
  30. package/button/examples/icon-button/icon-button.component.d.ts +1 -1
  31. package/button/examples/public_api.d.ts +0 -8
  32. package/button/examples/raised-button/raised-button.component.d.ts +1 -1
  33. package/button/examples/sizeable-button/sizeable-button.component.d.ts +1 -1
  34. package/button/examples/statusable-button/statusable-button.component.d.ts +1 -1
  35. package/button/examples/stroked-button/stroked-button.component.d.ts +1 -1
  36. package/button/examples/underline-button/underline-button.component.d.ts +1 -1
  37. package/button/public_api.d.ts +1 -0
  38. package/callout/callout/callout.component.d.ts +6 -38
  39. package/callout/examples/callout-text-alignment/callout-text-alignment.component.d.ts +1 -1
  40. package/callout/examples/callout-theming/callout-theming.component.d.ts +1 -1
  41. package/callout/examples/callout-with-grid/callout-with-grid.component.d.ts +1 -1
  42. package/callout/examples/compact-callout/compact-callout.component.d.ts +1 -1
  43. package/callout/examples/public_api.d.ts +0 -4
  44. package/card/card/card.component.d.ts +3 -21
  45. package/card/examples/basic-card/basic-card.component.d.ts +1 -1
  46. package/card/examples/card-orientation/card-orientation.component.d.ts +1 -1
  47. package/card/examples/card-theming/card-theming.component.d.ts +1 -1
  48. package/card/examples/linkable-card/linkable-card.component.d.ts +1 -1
  49. package/card/examples/public_api.d.ts +0 -6
  50. package/card/examples/raised-card/raised-card.component.d.ts +1 -1
  51. package/card/examples/stroked-card/stroked-card.component.d.ts +1 -1
  52. package/checkbox/examples/basic-checkbox/basic-checkbox.component.d.ts +1 -1
  53. package/checkbox/examples/checkbox-set/checkbox-set.component.d.ts +1 -1
  54. package/checkbox/examples/examples.d.ts +0 -2
  55. package/checkbox/examples/public_api.d.ts +0 -1
  56. package/container/container/container.component.d.ts +3 -22
  57. package/container/examples/container-sizes/container-sizes.component.d.ts +1 -1
  58. package/container/examples/public_api.d.ts +0 -1
  59. package/core/article-encapsulated/article-encapsulated.directive.d.ts +31 -0
  60. package/core/article-encapsulated/public_api.d.ts +1 -1
  61. package/core/breakpoints/noop.service.d.ts +13 -0
  62. package/core/breakpoints/provider.d.ts +6 -0
  63. package/core/breakpoints/public_api.d.ts +3 -0
  64. package/core/colorable/colorable.d.ts +36 -2
  65. package/core/colorable/colorable.directive.d.ts +82 -0
  66. package/core/colorable/public_api.d.ts +1 -1
  67. package/core/compactable/compactable.directive.d.ts +54 -0
  68. package/core/compactable/public_api.d.ts +1 -1
  69. package/core/manage-container-layout/manage-container-layout.directive.d.ts +66 -0
  70. package/core/manage-container-layout/public_api.d.ts +1 -1
  71. package/core/public_api.d.ts +1 -1
  72. package/core/sizable/public_api.d.ts +1 -1
  73. package/core/sizable/sizable.d.ts +4 -2
  74. package/core/sizable/sizable.directive.d.ts +81 -0
  75. package/core/skeletonable/public_api.d.ts +1 -1
  76. package/core/skeletonable/skeletonable.d.ts +0 -1
  77. package/core/skeletonable/skeletonable.directive.d.ts +50 -0
  78. package/core/statusable/public_api.d.ts +1 -1
  79. package/core/statusable/statusable.d.ts +16 -0
  80. package/core/statusable/statusable.directive.d.ts +65 -0
  81. package/core/text-alignable/public_api.d.ts +1 -1
  82. package/core/text-alignable/text-alignable.d.ts +1 -2
  83. package/core/text-alignable/text-alignable.directive.d.ts +73 -0
  84. package/esm2022/accordion/accordion/accordion/accordion.component.mjs +11 -23
  85. package/esm2022/article/article/article.component.mjs +2 -2
  86. package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +4 -3
  87. package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +4 -3
  88. package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +4 -3
  89. package/esm2022/article/examples/article-headings/article-headings.component.mjs +3 -3
  90. package/esm2022/article/examples/article-hr/article-hr.component.mjs +4 -3
  91. package/esm2022/article/examples/article-link/article-link.component.mjs +4 -3
  92. package/esm2022/article/examples/article-meta/article-meta.component.mjs +4 -3
  93. package/esm2022/article/examples/article-ol/article-ol.component.mjs +4 -3
  94. package/esm2022/article/examples/article-table/article-table.component.mjs +4 -3
  95. package/esm2022/article/examples/article-ul/article-ul.component.mjs +4 -3
  96. package/esm2022/article/examples/public_api.mjs +1 -2
  97. package/esm2022/breadcrumb/breadcrumb/breadcrumb.component.mjs +25 -0
  98. package/esm2022/breadcrumb/breadcrumb-item/breadcrumb-item.directive.mjs +33 -0
  99. package/esm2022/breadcrumb/breadcrumb.mjs +7 -0
  100. package/esm2022/breadcrumb/breadcrumb.module.mjs +26 -0
  101. package/esm2022/breadcrumb/daffodil-design-breadcrumb.mjs +5 -0
  102. package/esm2022/breadcrumb/examples/basic-breadcrumb/basic-breadcrumb.component.mjs +15 -0
  103. package/esm2022/breadcrumb/examples/daffodil-design-breadcrumb-examples.mjs +5 -0
  104. package/esm2022/breadcrumb/examples/index.mjs +2 -0
  105. package/esm2022/breadcrumb/examples/public_api.mjs +5 -0
  106. package/esm2022/breadcrumb/index.mjs +2 -0
  107. package/esm2022/breadcrumb/public_api.mjs +5 -0
  108. package/esm2022/button/button/button-sizable.directive.mjs +14 -0
  109. package/esm2022/button/button/button.component.mjs +32 -10
  110. package/esm2022/button/examples/basic-button/basic-button.component.mjs +10 -4
  111. package/esm2022/button/examples/flat-button/flat-button.component.mjs +10 -4
  112. package/esm2022/button/examples/icon-button/icon-button.component.mjs +5 -4
  113. package/esm2022/button/examples/public_api.mjs +1 -9
  114. package/esm2022/button/examples/raised-button/raised-button.component.mjs +10 -4
  115. package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +5 -4
  116. package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +5 -4
  117. package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +10 -4
  118. package/esm2022/button/examples/underline-button/underline-button.component.mjs +10 -4
  119. package/esm2022/button/public_api.mjs +2 -1
  120. package/esm2022/callout/callout/callout.component.mjs +28 -22
  121. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +20 -10
  122. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +17 -9
  123. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +12 -4
  124. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +12 -4
  125. package/esm2022/callout/examples/public_api.mjs +1 -5
  126. package/esm2022/card/card/card.component.mjs +12 -16
  127. package/esm2022/card/examples/basic-card/basic-card.component.mjs +12 -4
  128. package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +20 -10
  129. package/esm2022/card/examples/card-theming/card-theming.component.mjs +11 -6
  130. package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +15 -8
  131. package/esm2022/card/examples/public_api.mjs +1 -7
  132. package/esm2022/card/examples/raised-card/raised-card.component.mjs +15 -8
  133. package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +15 -8
  134. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +12 -6
  135. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +12 -7
  136. package/esm2022/checkbox/examples/examples.mjs +1 -7
  137. package/esm2022/checkbox/examples/public_api.mjs +1 -2
  138. package/esm2022/container/container/container.component.mjs +15 -22
  139. package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +11 -6
  140. package/esm2022/container/examples/public_api.mjs +1 -2
  141. package/esm2022/core/article-encapsulated/article-encapsulated.directive.mjs +45 -0
  142. package/esm2022/core/article-encapsulated/public_api.mjs +2 -2
  143. package/esm2022/core/breakpoints/noop.service.mjs +25 -0
  144. package/esm2022/core/breakpoints/provider.mjs +13 -0
  145. package/esm2022/core/breakpoints/public_api.mjs +4 -0
  146. package/esm2022/core/colorable/colorable.directive.mjs +104 -0
  147. package/esm2022/core/colorable/colorable.mjs +37 -2
  148. package/esm2022/core/colorable/public_api.mjs +2 -2
  149. package/esm2022/core/compactable/compactable.directive.mjs +70 -0
  150. package/esm2022/core/compactable/public_api.mjs +2 -2
  151. package/esm2022/core/manage-container-layout/manage-container-layout.directive.mjs +80 -0
  152. package/esm2022/core/manage-container-layout/public_api.mjs +2 -2
  153. package/esm2022/core/public_api.mjs +2 -2
  154. package/esm2022/core/sizable/public_api.mjs +2 -2
  155. package/esm2022/core/sizable/sizable.directive.mjs +96 -0
  156. package/esm2022/core/sizable/sizable.mjs +2 -3
  157. package/esm2022/core/skeletonable/public_api.mjs +2 -2
  158. package/esm2022/core/skeletonable/skeletonable.directive.mjs +66 -0
  159. package/esm2022/core/skeletonable/skeletonable.mjs +1 -1
  160. package/esm2022/core/statusable/public_api.mjs +2 -2
  161. package/esm2022/core/statusable/statusable.directive.mjs +77 -0
  162. package/esm2022/core/statusable/statusable.mjs +4 -1
  163. package/esm2022/core/text-alignable/public_api.mjs +2 -2
  164. package/esm2022/core/text-alignable/text-alignable.directive.mjs +84 -0
  165. package/esm2022/core/text-alignable/text-alignable.mjs +1 -1
  166. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +10 -4
  167. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +20 -10
  168. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +15 -8
  169. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +12 -4
  170. package/esm2022/hero/examples/public_api.mjs +1 -5
  171. package/esm2022/hero/hero/hero.component.mjs +28 -22
  172. package/esm2022/image/examples/basic-image/basic-image.component.mjs +4 -3
  173. package/esm2022/image/examples/load-image/load-image.component.mjs +6 -5
  174. package/esm2022/image/examples/public_api.mjs +4 -7
  175. package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +4 -3
  176. package/esm2022/image/image/image.component.mjs +14 -23
  177. package/esm2022/input/examples/basic-input/basic-input.component.mjs +4 -3
  178. package/esm2022/input/examples/examples.mjs +5 -9
  179. package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +4 -3
  180. package/esm2022/input/examples/input-error/input-error.component.mjs +9 -4
  181. package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +4 -3
  182. package/esm2022/link-set/link-set/link-set.component.mjs +12 -22
  183. package/esm2022/list/examples/basic-list/basic-list.component.mjs +4 -3
  184. package/esm2022/list/examples/icon-list/icon-list.component.mjs +10 -4
  185. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +4 -3
  186. package/esm2022/list/examples/nav-list/nav-list.component.mjs +10 -4
  187. package/esm2022/list/examples/public_api.mjs +1 -2
  188. package/esm2022/list/list/list.component.mjs +12 -21
  189. package/esm2022/loading-icon/examples/examples.mjs +1 -3
  190. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +12 -7
  191. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +4 -3
  192. package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +21 -28
  193. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +7 -5
  194. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +7 -5
  195. package/esm2022/media-gallery/examples/public_api.mjs +1 -4
  196. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +7 -5
  197. package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +17 -23
  198. package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +5 -3
  199. package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +5 -4
  200. package/esm2022/menu/examples/public_api.mjs +2 -3
  201. package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +6 -5
  202. package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +5 -3
  203. package/esm2022/modal/examples/public_api.mjs +2 -3
  204. package/esm2022/modal/modal/modal-config.mjs +1 -1
  205. package/esm2022/modal/modal/modal.component.mjs +42 -6
  206. package/esm2022/modal/modal-actions/modal-actions.component.mjs +15 -5
  207. package/esm2022/modal/modal-close/modal-close.directive.mjs +47 -0
  208. package/esm2022/modal/modal-content/modal-content.component.mjs +15 -5
  209. package/esm2022/modal/modal-header/modal-header.component.mjs +16 -4
  210. package/esm2022/modal/modal-title/modal-title.directive.mjs +33 -6
  211. package/esm2022/modal/modal.module.mjs +18 -5
  212. package/esm2022/modal/public_api.mjs +2 -1
  213. package/esm2022/modal/service/modal.service.mjs +6 -2
  214. package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +5 -3
  215. package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +12 -5
  216. package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +15 -8
  217. package/esm2022/navbar/examples/public_api.mjs +1 -5
  218. package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +5 -3
  219. package/esm2022/navbar/navbar/navbar.component.mjs +22 -28
  220. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +16 -8
  221. package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +14 -7
  222. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +15 -6
  223. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +19 -9
  224. package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +14 -8
  225. package/esm2022/notification/examples/public_api.mjs +6 -11
  226. package/esm2022/notification/notification/notification.component.mjs +31 -36
  227. package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +6 -3
  228. package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +8 -4
  229. package/esm2022/paginator/examples/public_api.mjs +1 -2
  230. package/esm2022/paginator/paginator/paginator.component.mjs +1 -1
  231. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +4 -3
  232. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +4 -3
  233. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +5 -4
  234. package/esm2022/progress-bar/examples/public_api.mjs +4 -7
  235. package/esm2022/progress-bar/progress-bar.component.mjs +18 -23
  236. package/esm2022/public_api.mjs +1 -3
  237. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +11 -6
  238. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +11 -6
  239. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +11 -6
  240. package/esm2022/quantity-field/examples/public_api.mjs +1 -5
  241. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +11 -6
  242. package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +5 -4
  243. package/esm2022/radio/examples/examples.mjs +1 -5
  244. package/esm2022/radio/examples/public_api.mjs +1 -2
  245. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +4 -3
  246. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +15 -8
  247. package/esm2022/sidebar/examples/public_api.mjs +5 -9
  248. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +5 -3
  249. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +4 -3
  250. package/esm2022/sidebar/helper/is-docked-mode.mjs +9 -0
  251. package/esm2022/sidebar/helper/is-floating-mode.mjs +9 -0
  252. package/esm2022/sidebar/public_api.mjs +5 -1
  253. package/esm2022/sidebar/service/registration.type.mjs +2 -0
  254. package/esm2022/sidebar/service/sidebar.service.mjs +36 -0
  255. package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +3 -3
  256. package/esm2022/toast/examples/default-toast/default-toast.component.mjs +4 -3
  257. package/esm2022/toast/examples/public_api.mjs +5 -9
  258. package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +22 -5
  259. package/esm2022/toast/examples/toast-status/toast-status.component.mjs +5 -4
  260. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +4 -3
  261. package/esm2022/toast/toast/toast-template.component.mjs +2 -2
  262. package/esm2022/toast/toast/toast.component.mjs +16 -22
  263. package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +6 -5
  264. package/esm2022/tree/examples/public_api.mjs +1 -2
  265. package/esm2022/tree/tree/tree.component.mjs +13 -23
  266. package/esm2022/tree/tree-item/tree-item.directive.mjs +3 -3
  267. package/fesm2022/daffodil-design-accordion.mjs +9 -21
  268. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  269. package/fesm2022/daffodil-design-article-examples.mjs +22 -43
  270. package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
  271. package/fesm2022/daffodil-design-article.mjs +2 -2
  272. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  273. package/fesm2022/daffodil-design-breadcrumb-examples.mjs +26 -0
  274. package/fesm2022/daffodil-design-breadcrumb-examples.mjs.map +1 -0
  275. package/fesm2022/daffodil-design-breadcrumb.mjs +90 -0
  276. package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -0
  277. package/fesm2022/daffodil-design-button-examples.mjs +41 -205
  278. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
  279. package/fesm2022/daffodil-design-button.mjs +42 -11
  280. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  281. package/fesm2022/daffodil-design-callout-examples.mjs +29 -130
  282. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  283. package/fesm2022/daffodil-design-callout.mjs +25 -20
  284. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  285. package/fesm2022/daffodil-design-card-examples.mjs +39 -209
  286. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
  287. package/fesm2022/daffodil-design-card.mjs +11 -15
  288. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  289. package/fesm2022/daffodil-design-checkbox-examples.mjs +14 -64
  290. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
  291. package/fesm2022/daffodil-design-container-examples.mjs +9 -32
  292. package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
  293. package/fesm2022/daffodil-design-container.mjs +13 -20
  294. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  295. package/fesm2022/daffodil-design-hero-examples.mjs +27 -136
  296. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  297. package/fesm2022/daffodil-design-hero.mjs +25 -20
  298. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  299. package/fesm2022/daffodil-design-image-examples.mjs +11 -75
  300. package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
  301. package/fesm2022/daffodil-design-image.mjs +12 -21
  302. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  303. package/fesm2022/daffodil-design-input-examples.mjs +15 -94
  304. package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
  305. package/fesm2022/daffodil-design-link-set.mjs +10 -20
  306. package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
  307. package/fesm2022/daffodil-design-list-examples.mjs +20 -140
  308. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
  309. package/fesm2022/daffodil-design-list.mjs +12 -21
  310. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  311. package/fesm2022/daffodil-design-loading-icon-examples.mjs +10 -53
  312. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
  313. package/fesm2022/daffodil-design-loading-icon.mjs +19 -26
  314. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
  315. package/fesm2022/daffodil-design-media-gallery-examples.mjs +10 -82
  316. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
  317. package/fesm2022/daffodil-design-media-gallery.mjs +14 -20
  318. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  319. package/fesm2022/daffodil-design-menu-examples.mjs +10 -39
  320. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
  321. package/fesm2022/daffodil-design-modal-examples.mjs +9 -34
  322. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
  323. package/fesm2022/daffodil-design-modal.mjs +172 -23
  324. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  325. package/fesm2022/daffodil-design-navbar-examples.mjs +20 -113
  326. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
  327. package/fesm2022/daffodil-design-navbar.mjs +20 -26
  328. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  329. package/fesm2022/daffodil-design-notification-examples.mjs +41 -164
  330. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  331. package/fesm2022/daffodil-design-notification.mjs +29 -34
  332. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  333. package/fesm2022/daffodil-design-paginator-examples.mjs +12 -28
  334. package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
  335. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  336. package/fesm2022/daffodil-design-progress-bar-examples.mjs +10 -73
  337. package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
  338. package/fesm2022/daffodil-design-progress-bar.mjs +16 -21
  339. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  340. package/fesm2022/daffodil-design-quantity-field-examples.mjs +25 -126
  341. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
  342. package/fesm2022/daffodil-design-radio-examples.mjs +4 -31
  343. package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -1
  344. package/fesm2022/daffodil-design-sidebar-examples.mjs +22 -130
  345. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
  346. package/fesm2022/daffodil-design-sidebar.mjs +57 -5
  347. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  348. package/fesm2022/daffodil-design-toast-examples.mjs +20 -142
  349. package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
  350. package/fesm2022/daffodil-design-toast.mjs +15 -21
  351. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  352. package/fesm2022/daffodil-design-tree-examples.mjs +6 -34
  353. package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
  354. package/fesm2022/daffodil-design-tree.mjs +13 -23
  355. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  356. package/fesm2022/daffodil-design.mjs +643 -199
  357. package/fesm2022/daffodil-design.mjs.map +1 -1
  358. package/hero/examples/compact-hero/compact-hero.component.d.ts +1 -1
  359. package/hero/examples/hero-text-alignment/hero-text-alignment.component.d.ts +1 -1
  360. package/hero/examples/hero-theming/hero-theming.component.d.ts +1 -1
  361. package/hero/examples/hero-with-grid/hero-with-grid.component.d.ts +1 -1
  362. package/hero/examples/public_api.d.ts +0 -4
  363. package/hero/hero/hero.component.d.ts +6 -38
  364. package/image/examples/basic-image/basic-image.component.d.ts +1 -1
  365. package/image/examples/load-image/load-image.component.d.ts +1 -1
  366. package/image/examples/public_api.d.ts +2 -2
  367. package/image/examples/skeleton-image/skeleton-image.component.d.ts +1 -1
  368. package/image/image/image.component.d.ts +5 -22
  369. package/input/examples/basic-input/basic-input.component.d.ts +1 -1
  370. package/input/examples/examples.d.ts +2 -2
  371. package/input/examples/input-disabled/input-disabled.component.d.ts +1 -1
  372. package/input/examples/input-error/input-error.component.d.ts +1 -1
  373. package/input/examples/input-with-form-field/input-with-form-field.component.d.ts +1 -1
  374. package/link-set/link-set/link-set.component.d.ts +3 -22
  375. package/list/examples/basic-list/basic-list.component.d.ts +1 -1
  376. package/list/examples/icon-list/icon-list.component.d.ts +1 -1
  377. package/list/examples/multiline-list/multiline-list.component.d.ts +1 -1
  378. package/list/examples/nav-list/nav-list.component.d.ts +1 -1
  379. package/list/examples/public_api.d.ts +0 -1
  380. package/list/list/list.component.d.ts +5 -18
  381. package/loading-icon/examples/examples.d.ts +0 -2
  382. package/loading-icon/examples/loading-icon-color/loading-icon-color.component.d.ts +1 -1
  383. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.d.ts +1 -1
  384. package/loading-icon/loading-icon/loading-icon.component.d.ts +3 -22
  385. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.d.ts +1 -1
  386. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.d.ts +1 -1
  387. package/media-gallery/examples/public_api.d.ts +0 -3
  388. package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.d.ts +1 -1
  389. package/media-gallery/media-gallery/media-gallery.component.d.ts +5 -25
  390. package/menu/examples/basic-menu/basic-menu.component.d.ts +1 -1
  391. package/menu/examples/basic-menu/menu-content/menu-content.component.d.ts +1 -1
  392. package/menu/examples/public_api.d.ts +2 -2
  393. package/modal/README.md +33 -35
  394. package/modal/examples/basic-modal/basic-modal.component.d.ts +1 -1
  395. package/modal/examples/basic-modal/modal-content.component.d.ts +1 -1
  396. package/modal/examples/public_api.d.ts +2 -2
  397. package/modal/modal/modal-config.d.ts +2 -0
  398. package/modal/modal/modal.component.d.ts +17 -1
  399. package/modal/modal-actions/modal-actions.component.d.ts +1 -0
  400. package/modal/modal-close/modal-close.directive.d.ts +24 -0
  401. package/modal/modal-content/modal-content.component.d.ts +1 -0
  402. package/modal/modal-header/modal-header.component.d.ts +6 -1
  403. package/modal/modal-title/modal-title.directive.d.ts +12 -1
  404. package/modal/modal.module.d.ts +7 -4
  405. package/modal/public_api.d.ts +1 -0
  406. package/navbar/examples/basic-navbar/basic-navbar.component.d.ts +1 -1
  407. package/navbar/examples/contained-navbar/contained-navbar.component.d.ts +1 -1
  408. package/navbar/examples/navbar-theming/navbar-theming.component.d.ts +1 -1
  409. package/navbar/examples/public_api.d.ts +0 -4
  410. package/navbar/examples/raised-navbar/raised-navbar.component.d.ts +1 -1
  411. package/navbar/navbar/navbar.component.d.ts +3 -25
  412. package/notification/examples/default-notification/default-notification.component.d.ts +1 -1
  413. package/notification/examples/dismissible-notification/dismissible-notification.component.d.ts +1 -1
  414. package/notification/examples/notification-orientations/notification-orientations.component.d.ts +1 -1
  415. package/notification/examples/notification-status/notification-status.component.d.ts +1 -1
  416. package/notification/examples/notification-with-actions/notification-with-actions.component.d.ts +1 -1
  417. package/notification/examples/public_api.d.ts +6 -2
  418. package/notification/notification/notification.component.d.ts +7 -25
  419. package/notification/src/notification-theme.scss +1 -1
  420. package/package.json +1 -1
  421. package/paginator/examples/basic-paginator/basic-paginator.component.d.ts +1 -1
  422. package/paginator/examples/link-paginator/link-paginator.component.d.ts +1 -1
  423. package/paginator/examples/public_api.d.ts +0 -1
  424. package/progress-bar/examples/progress-bar-default/progress-bar-default.component.d.ts +1 -1
  425. package/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.d.ts +1 -1
  426. package/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.d.ts +1 -1
  427. package/progress-bar/examples/public_api.d.ts +2 -2
  428. package/progress-bar/progress-bar.component.d.ts +7 -22
  429. package/public_api.d.ts +0 -1
  430. package/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.d.ts +1 -1
  431. package/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.d.ts +1 -1
  432. package/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.d.ts +1 -1
  433. package/quantity-field/examples/public_api.d.ts +0 -4
  434. package/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.d.ts +1 -1
  435. package/radio/examples/basic-radio/basic-radio.component.d.ts +1 -1
  436. package/radio/examples/examples.d.ts +0 -2
  437. package/radio/examples/public_api.d.ts +0 -1
  438. package/scss/state/skeleton/_mixins.scss +1 -1
  439. package/scss/theme.scss +2 -0
  440. package/scss/theming/_theme-css-variables.scss +1 -1
  441. package/sidebar/examples/basic-sidebar/basic-sidebar.component.d.ts +1 -1
  442. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.d.ts +1 -1
  443. package/sidebar/examples/public_api.d.ts +2 -2
  444. package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.d.ts +1 -1
  445. package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.d.ts +1 -1
  446. package/sidebar/helper/is-docked-mode.d.ts +5 -0
  447. package/sidebar/helper/is-floating-mode.d.ts +5 -0
  448. package/sidebar/public_api.d.ts +4 -0
  449. package/sidebar/service/registration.type.d.ts +11 -0
  450. package/sidebar/service/sidebar.service.d.ts +25 -0
  451. package/toast/examples/default-toast/default-toast.component.d.ts +1 -1
  452. package/toast/examples/public_api.d.ts +5 -2
  453. package/toast/examples/toast-positions/toast-positions.component.d.ts +1 -1
  454. package/toast/examples/toast-status/toast-status.component.d.ts +1 -1
  455. package/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.d.ts +1 -1
  456. package/toast/toast/toast.component.d.ts +7 -25
  457. package/tree/examples/basic-tree/basic-tree.component.d.ts +1 -1
  458. package/tree/examples/public_api.d.ts +0 -1
  459. package/tree/tree/tree.component.d.ts +5 -19
  460. package/article/examples/article-examples.module.d.ts +0 -18
  461. package/button/examples/basic-button/basic-button.module.d.ts +0 -9
  462. package/button/examples/flat-button/flat-button.module.d.ts +0 -9
  463. package/button/examples/icon-button/icon-button.module.d.ts +0 -9
  464. package/button/examples/raised-button/raised-button.module.d.ts +0 -9
  465. package/button/examples/sizeable-button/sizeable-button.module.d.ts +0 -9
  466. package/button/examples/statusable-button/statusable-button.module.d.ts +0 -9
  467. package/button/examples/stroked-button/stroked-button.module.d.ts +0 -9
  468. package/button/examples/underline-button/underline-button.module.d.ts +0 -9
  469. package/callout/examples/callout-text-alignment/callout-text-alignment.module.d.ts +0 -13
  470. package/callout/examples/callout-theming/callout-theming.module.d.ts +0 -12
  471. package/callout/examples/callout-with-grid/callout-with-grid.module.d.ts +0 -13
  472. package/callout/examples/compact-callout/compact-callout.module.d.ts +0 -12
  473. package/card/examples/basic-card/basic-card.module.d.ts +0 -12
  474. package/card/examples/card-orientation/card-orientation.module.d.ts +0 -13
  475. package/card/examples/card-theming/card-theming.module.d.ts +0 -11
  476. package/card/examples/linkable-card/linkable-card.module.d.ts +0 -13
  477. package/card/examples/raised-card/raised-card.module.d.ts +0 -12
  478. package/card/examples/stroked-card/stroked-card.module.d.ts +0 -13
  479. package/checkbox/examples/basic-checkbox/basic-checkbox.module.d.ts +0 -10
  480. package/checkbox/examples/checkbox-set/checkbox-set.module.d.ts +0 -10
  481. package/container/examples/container-sizes/container-sizes.module.d.ts +0 -10
  482. package/core/article-encapsulated/article-encapsulated-mixin.d.ts +0 -15
  483. package/core/colorable/color-in-palette.d.ts +0 -1
  484. package/core/colorable/colorable-enum.d.ts +0 -10
  485. package/core/colorable/colorable-mixin.d.ts +0 -23
  486. package/core/compactable/compactable-mixin.d.ts +0 -14
  487. package/core/manage-container-layout/manage-container-layout-mixin.d.ts +0 -17
  488. package/core/sizable/sizable-mixin.d.ts +0 -15
  489. package/core/skeletonable/skeletonable-mixin.d.ts +0 -15
  490. package/core/statusable/statusable-mixin.d.ts +0 -16
  491. package/core/text-alignable/text-alignable-mixin.d.ts +0 -19
  492. package/esm2022/article/examples/article-examples.module.mjs +0 -35
  493. package/esm2022/button/examples/basic-button/basic-button.module.mjs +0 -28
  494. package/esm2022/button/examples/flat-button/flat-button.module.mjs +0 -28
  495. package/esm2022/button/examples/icon-button/icon-button.module.mjs +0 -28
  496. package/esm2022/button/examples/raised-button/raised-button.module.mjs +0 -28
  497. package/esm2022/button/examples/sizeable-button/sizeable-button.module.mjs +0 -28
  498. package/esm2022/button/examples/statusable-button/statusable-button.module.mjs +0 -28
  499. package/esm2022/button/examples/stroked-button/stroked-button.module.mjs +0 -28
  500. package/esm2022/button/examples/underline-button/underline-button.module.mjs +0 -28
  501. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +0 -41
  502. package/esm2022/callout/examples/callout-theming/callout-theming.module.mjs +0 -37
  503. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.module.mjs +0 -41
  504. package/esm2022/callout/examples/compact-callout/compact-callout.module.mjs +0 -37
  505. package/esm2022/card/examples/basic-card/basic-card.module.mjs +0 -40
  506. package/esm2022/card/examples/card-orientation/card-orientation.module.mjs +0 -44
  507. package/esm2022/card/examples/card-theming/card-theming.module.mjs +0 -36
  508. package/esm2022/card/examples/linkable-card/linkable-card.module.mjs +0 -44
  509. package/esm2022/card/examples/raised-card/raised-card.module.mjs +0 -40
  510. package/esm2022/card/examples/stroked-card/stroked-card.module.mjs +0 -44
  511. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +0 -33
  512. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.module.mjs +0 -33
  513. package/esm2022/container/examples/container-sizes/container-sizes.module.mjs +0 -32
  514. package/esm2022/core/article-encapsulated/article-encapsulated-mixin.mjs +0 -12
  515. package/esm2022/core/colorable/color-in-palette.mjs +0 -5
  516. package/esm2022/core/colorable/colorable-enum.mjs +0 -12
  517. package/esm2022/core/colorable/colorable-mixin.mjs +0 -42
  518. package/esm2022/core/compactable/compactable-mixin.mjs +0 -26
  519. package/esm2022/core/manage-container-layout/manage-container-layout-mixin.mjs +0 -14
  520. package/esm2022/core/sizable/sizable-mixin.mjs +0 -31
  521. package/esm2022/core/skeletonable/skeletonable-mixin.mjs +0 -26
  522. package/esm2022/core/statusable/statusable-mixin.mjs +0 -32
  523. package/esm2022/core/text-alignable/text-alignable-mixin.mjs +0 -35
  524. package/esm2022/examples/examples.mjs +0 -2
  525. package/esm2022/examples/public_api.mjs +0 -2
  526. package/esm2022/hero/examples/compact-hero/compact-hero.module.mjs +0 -40
  527. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +0 -41
  528. package/esm2022/hero/examples/hero-theming/hero-theming.module.mjs +0 -40
  529. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.module.mjs +0 -41
  530. package/esm2022/image/examples/basic-image/basic-image.module.mjs +0 -24
  531. package/esm2022/image/examples/load-image/load-image.module.mjs +0 -28
  532. package/esm2022/image/examples/skeleton-image/skeleton-image.module.mjs +0 -24
  533. package/esm2022/input/examples/basic-input/basic-input.module.mjs +0 -24
  534. package/esm2022/input/examples/input-disabled/input-disabled.module.mjs +0 -24
  535. package/esm2022/input/examples/input-error/input-error.module.mjs +0 -28
  536. package/esm2022/input/examples/input-with-form-field/input-with-form-field.module.mjs +0 -24
  537. package/esm2022/list/examples/basic-list/basic-list.module.mjs +0 -28
  538. package/esm2022/list/examples/icon-list/icon-list.module.mjs +0 -32
  539. package/esm2022/list/examples/list-examples.module.mjs +0 -33
  540. package/esm2022/list/examples/multiline-list/multiline-list.module.mjs +0 -32
  541. package/esm2022/list/examples/nav-list/nav-list.module.mjs +0 -32
  542. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +0 -32
  543. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +0 -24
  544. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +0 -29
  545. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +0 -29
  546. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +0 -29
  547. package/esm2022/menu/examples/basic-menu/basic-menu.module.mjs +0 -35
  548. package/esm2022/modal/examples/basic-modal/basic-modal.module.mjs +0 -31
  549. package/esm2022/navbar/examples/basic-navbar/basic-navbar.module.mjs +0 -33
  550. package/esm2022/navbar/examples/contained-navbar/contained-navbar.module.mjs +0 -33
  551. package/esm2022/navbar/examples/navbar-theming/navbar-theming.module.mjs +0 -33
  552. package/esm2022/navbar/examples/raised-navbar/raised-navbar.module.mjs +0 -29
  553. package/esm2022/notification/examples/default-notification/default-notification.module.mjs +0 -36
  554. package/esm2022/notification/examples/dismissible-notification/dismissible-notification.module.mjs +0 -36
  555. package/esm2022/notification/examples/notification-orientations/notification-orientations.module.mjs +0 -40
  556. package/esm2022/notification/examples/notification-status/notification-status.module.mjs +0 -40
  557. package/esm2022/notification/examples/notification-with-actions/notification-with-actions.module.mjs +0 -36
  558. package/esm2022/paginator/examples/paginator-examples.module.mjs +0 -27
  559. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.module.mjs +0 -24
  560. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.module.mjs +0 -24
  561. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.module.mjs +0 -28
  562. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +0 -35
  563. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +0 -35
  564. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +0 -35
  565. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +0 -35
  566. package/esm2022/radio/examples/basic-radio/basic-radio.module.mjs +0 -29
  567. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +0 -32
  568. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.mjs +0 -44
  569. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.mjs +0 -32
  570. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.mjs +0 -28
  571. package/esm2022/toast/examples/default-toast/default-toast.module.mjs +0 -36
  572. package/esm2022/toast/examples/toast-positions/toast-positions.module.mjs +0 -57
  573. package/esm2022/toast/examples/toast-status/toast-status.module.mjs +0 -40
  574. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.module.mjs +0 -32
  575. package/esm2022/tree/examples/basic-tree/basic-tree.module.mjs +0 -32
  576. package/examples/examples.d.ts +0 -12
  577. package/examples/public_api.d.ts +0 -1
  578. package/hero/examples/compact-hero/compact-hero.module.d.ts +0 -12
  579. package/hero/examples/hero-text-alignment/hero-text-alignment.module.d.ts +0 -13
  580. package/hero/examples/hero-theming/hero-theming.module.d.ts +0 -12
  581. package/hero/examples/hero-with-grid/hero-with-grid.module.d.ts +0 -13
  582. package/image/examples/basic-image/basic-image.module.d.ts +0 -8
  583. package/image/examples/load-image/load-image.module.d.ts +0 -9
  584. package/image/examples/skeleton-image/skeleton-image.module.d.ts +0 -8
  585. package/input/examples/basic-input/basic-input.module.d.ts +0 -8
  586. package/input/examples/input-disabled/input-disabled.module.d.ts +0 -8
  587. package/input/examples/input-error/input-error.module.d.ts +0 -9
  588. package/input/examples/input-with-form-field/input-with-form-field.module.d.ts +0 -8
  589. package/list/examples/basic-list/basic-list.module.d.ts +0 -9
  590. package/list/examples/icon-list/icon-list.module.d.ts +0 -10
  591. package/list/examples/list-examples.module.d.ts +0 -11
  592. package/list/examples/multiline-list/multiline-list.module.d.ts +0 -10
  593. package/list/examples/nav-list/nav-list.module.d.ts +0 -10
  594. package/loading-icon/examples/loading-icon-color/loading-icon-color.module.d.ts +0 -10
  595. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.d.ts +0 -8
  596. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.d.ts +0 -9
  597. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.d.ts +0 -9
  598. package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.d.ts +0 -9
  599. package/menu/examples/basic-menu/basic-menu.module.d.ts +0 -11
  600. package/modal/examples/basic-modal/basic-modal.module.d.ts +0 -10
  601. package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +0 -11
  602. package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +0 -11
  603. package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +0 -11
  604. package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +0 -10
  605. package/notification/examples/default-notification/default-notification.module.d.ts +0 -11
  606. package/notification/examples/dismissible-notification/dismissible-notification.module.d.ts +0 -11
  607. package/notification/examples/notification-orientations/notification-orientations.module.d.ts +0 -12
  608. package/notification/examples/notification-status/notification-status.module.d.ts +0 -12
  609. package/notification/examples/notification-with-actions/notification-with-actions.module.d.ts +0 -11
  610. package/paginator/examples/paginator-examples.module.d.ts +0 -10
  611. package/progress-bar/examples/progress-bar-default/progress-bar-default.module.d.ts +0 -8
  612. package/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.module.d.ts +0 -8
  613. package/progress-bar/examples/progress-bar-themes/progress-bar-themes.module.d.ts +0 -9
  614. package/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.d.ts +0 -10
  615. package/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.d.ts +0 -10
  616. package/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.d.ts +0 -10
  617. package/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.d.ts +0 -10
  618. package/radio/examples/basic-radio/basic-radio.module.d.ts +0 -9
  619. package/sidebar/examples/basic-sidebar/basic-sidebar.module.d.ts +0 -10
  620. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.d.ts +0 -13
  621. package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.d.ts +0 -10
  622. package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.d.ts +0 -9
  623. package/toast/examples/default-toast/default-toast.module.d.ts +0 -11
  624. package/toast/examples/toast-positions/toast-positions.module.d.ts +0 -12
  625. package/toast/examples/toast-status/toast-status.module.d.ts +0 -12
  626. package/toast/examples/toast-with-custom-duration/toast-with-custom-duration.module.d.ts +0 -10
  627. package/tree/examples/basic-tree/basic-tree.module.d.ts +0 -10
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-sidebar.mjs","sources":["../../../libs/design/sidebar/src/sidebar/is-opening.ts","../../../libs/design/sidebar/src/animation/sidebar-animation.ts","../../../libs/design/sidebar/src/animation/sidebar-animation-state.ts","../../../libs/design/sidebar/src/animation/sidebar-animation-width.ts","../../../libs/design/sidebar/src/sidebar/sidebar.component.ts","../../../libs/design/sidebar/src/sidebar/sidebar.component.html","../../../libs/design/sidebar/src/sidebar-footer/sidebar-footer.component.ts","../../../libs/design/sidebar/src/sidebar-header/sidebar-header-action/sidebar-header-action.directive.ts","../../../libs/design/sidebar/src/sidebar-header/sidebar-header-title/sidebar-header-title.directive.ts","../../../libs/design/sidebar/src/sidebar-header/sidebar-header.component.ts","../../../libs/design/sidebar/src/sidebar-header/sidebar-header.component.html","../../../libs/design/sidebar/src/sidebar-viewport/helper/has-parent-viewport.ts","../../../libs/design/sidebar/src/sidebar-viewport/nav-placement.ts","../../../libs/design/sidebar/src/sidebar-viewport/scroll-token/scroll.token.ts","../../../libs/design/sidebar/src/sidebar-viewport/utils/backdrop-interactable.ts","../../../libs/design/sidebar/src/sidebar-viewport/utils/content-pad.ts","../../../libs/design/sidebar/src/sidebar-viewport/utils/content-shift.ts","../../../libs/design/sidebar/src/animation/sidebar-viewport-animation-state.ts","../../../libs/design/sidebar/src/sidebar-viewport-backdrop/animation/backdrop-animation.ts","../../../libs/design/sidebar/src/sidebar-viewport-backdrop/animation/backdrop-animation-state.ts","../../../libs/design/sidebar/src/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.ts","../../../libs/design/sidebar/src/sidebar-viewport/sidebar-viewport.component.ts","../../../libs/design/sidebar/src/sidebar-viewport/sidebar-viewport.component.html","../../../libs/design/sidebar/src/sidebar.module.ts","../../../libs/design/sidebar/src/daffodil-design-sidebar.ts"],"sourcesContent":["import { DaffSidebarAnimationState } from '../animation/sidebar-animation-state';\n\n/**\n * Determine whether or animation states are going to an open state from a non-open state.\n */\nexport const isOpening = (fromState: DaffSidebarAnimationState, toState: DaffSidebarAnimationState): boolean => {\n if(fromState === 'under-open' && toState === 'open' || fromState === 'open' && toState === 'under-open') {\n return false;\n }\n\n if(toState === 'under-open' || toState === 'open') {\n return true;\n }\n return false;\n};\n","import {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nconst duration = '200ms';\nconst sidebarAnimateInTransition = 'cubic-bezier(0.0, 0.0, 0.2, 1)';\nconst sidebarAnimateOutTransition = 'cubic-bezier(0.4, 0.0, 1, 1)';\n\nexport const daffSidebarAnimations: {\n readonly transformSidebar: AnimationTriggerMetadata;\n readonly transformContent: AnimationTriggerMetadata;\n readonly backdropTrigger: AnimationTriggerMetadata;\n} = {\n transformSidebar: trigger('transformSidebar', [\n // We remove the `transform` here completely, rather than setting it to zero, because\n // 3d transforms causes text to appear blurry on IE and Edge.\n state('open', style({\n transform: 'none',\n })),\n state('closed', style({\n transform: 'translateX({{width}})',\n }), { params: { width: '-240px' }}),\n transition('open => closed', animate(duration + ' ' + sidebarAnimateOutTransition)),\n transition('closed => open', animate(duration + ' ' + sidebarAnimateInTransition)),\n ]),\n transformContent: trigger('transformContent', [\n // We remove the `transform` here completely, rather than setting it to zero, because\n // 3d transforms causes text to appear blurry on IE and Edge.\n state('closed', style({\n transform: 'none',\n })),\n state('open', style({\n transform: 'translateX({{shift}})',\n }), { params: { shift: '-240px' }}),\n transition('open => closed', animate(duration + ' ' + sidebarAnimateInTransition)),\n transition('closed => open', animate(duration + ' ' + sidebarAnimateOutTransition)),\n ]),\n backdropTrigger: trigger('backdropTrigger', [\n state('open', style({\n opacity: 1,\n })),\n state('closed', style({\n opacity: 0,\n })),\n transition('open => closed', animate(duration + ' ' + sidebarAnimateOutTransition)),\n transition('closed => open', animate(duration + ' ' + sidebarAnimateInTransition)),\n ]),\n};\n\nexport enum DaffSidebarAnimationStates {\n OPEN = 'open',\n CLOSED = 'closed',\n UNDEROPEN = 'under-open',\n UNDERCLOSED = 'under-closed',\n SIDEFIXEDOPEN = 'side-fixed-open',\n SIDEFIXEDCLOSED = 'side-fixed-closed',\n NONE = 'none'\n}\n","import { DaffSidebarMode } from '../helper/sidebar-mode';\n\nexport type DaffSidebarAnimationState =\n'open' | 'closed' | 'under-open' | 'under-closed' | 'side-fixed-open' | 'side-fixed-closed' | 'none';\n\nexport const getAnimationState = (open: boolean, mode: DaffSidebarMode): DaffSidebarAnimationState => {\n if(mode === 'side') {\n return 'none';\n }\n\n if(mode === 'side-fixed' && open) {\n return 'side-fixed-open';\n }\n\n if(mode === 'side-fixed' && !open) {\n return 'side-fixed-closed';\n }\n\n if(open && mode === 'under') {\n return 'under-open';\n }\n\n if(!open && mode === 'under') {\n return 'under-closed';\n }\n\n if(open) {\n return 'open';\n } else {\n return 'closed';\n }\n};\n","import { DaffSidebarSide } from '../helper/sidebar-side';\n\nexport const getSidebarAnimationWidth =\n (side: DaffSidebarSide, width: number): string => side === 'left' ? -1 * width + 'px' : width + 'px';\n","import { AnimationEvent } from '@angular/animations';\nimport {\n ConfigurableFocusTrap,\n ConfigurableFocusTrapFactory,\n} from '@angular/cdk/a11y';\nimport { DOCUMENT } from '@angular/common';\nimport {\n Component,\n NgZone,\n ElementRef,\n Output,\n EventEmitter,\n HostBinding,\n ChangeDetectionStrategy,\n Input,\n HostListener,\n Inject,\n} from '@angular/core';\nimport { fromEvent } from 'rxjs';\nimport { filter } from 'rxjs/operators';\n\nimport {\n daffFocusableElementsSelector,\n DaffFocusStackService,\n} from '@daffodil/design';\n\nimport { isOpening } from './is-opening';\nimport { daffSidebarAnimations } from '../animation/sidebar-animation';\nimport {\n DaffSidebarAnimationState,\n getAnimationState,\n} from '../animation/sidebar-animation-state';\nimport { getSidebarAnimationWidth } from '../animation/sidebar-animation-width';\nimport { DaffSidebarMode } from '../helper/sidebar-mode';\nimport { DaffSidebarSide } from '../helper/sidebar-side';\n\n/**\n * DaffSidebarComponent is heavily based upon the work done by the @angular/components\n * team on `mat-drawer` and `mat-sidenav`. `daff-sidebar` is intended to be\n * a simplified version (with a different design) of `mat-drawer`.\n */\n@Component({\n selector: 'daff-sidebar',\n templateUrl: './sidebar.component.html',\n styleUrls: ['./sidebar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [\n daffSidebarAnimations.transformSidebar,\n ],\n})\nexport class DaffSidebarComponent {\n /**\n * @docs-private\n *\n * The CSS classes set.\n */\n @HostBinding('class') get classes() {\n return {\n 'daff-sidebar': true,\n [this.side]: true,\n [this.mode]: true,\n };\n };\n\n /**\n * The animation state of the sidebar.\n */\n @HostBinding('@transformSidebar') get transformSidebar() {\n return {\n value: getAnimationState(this.open, this.mode),\n params: { width: getSidebarAnimationWidth(this.side, this.width) },\n };\n }\n\n /**\n * Event fired when `ESC` key is pressed when the sidebar has focus\n */\n @Output() escapePressed: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * What side of the viewport to show the sidebar on.\n */\n @Input() side: DaffSidebarSide = 'left';\n\n /**\n * The mode of the sidebar.\n */\n @Input() mode: DaffSidebarMode = 'side';\n\n /**\n * Whether or not the sidebar is open.\n */\n @Input() open = false;\n\n /**\n * The width of the sidebar.\n */\n get width() {\n return this._elementRef.nativeElement.offsetWidth;\n }\n\n constructor(\n private _elementRef: ElementRef<HTMLElement>,\n private _ngZone: NgZone,\n private _focusTrapFactory: ConfigurableFocusTrapFactory,\n private _focusStack: DaffFocusStackService,\n @Inject(DOCUMENT) private _doc: any,\n ) {\n\n /**\n * Listen to `keydown` events outside the zone so that change detection is not run every\n * time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed.\n *\n */\n this._ngZone.runOutsideAngular(() => {\n fromEvent<KeyboardEvent>(this._elementRef.nativeElement, 'keydown').pipe(\n filter(event => event.key === 'Escape'),\n ).subscribe(event => this._ngZone.run(() => {\n this.escapePressed.emit();\n event.stopPropagation();\n }));\n });\n }\n\n private _focusTrap: ConfigurableFocusTrap;\n\n /**\n * Animation event that can be used to hook into when the transformSidebar\n * animation begins. This is used in sidebar to determine when to show the\n * visibility of the sidebar so that the animation does not jump as the element is shown.\n */\n @HostListener('@transformSidebar.start', ['$event']) onAnimationStart(e: AnimationEvent) {\n if (e.toState === 'open' || e.toState === 'under-open' || e.toState === 'side-fixed-open') {\n this._elementRef.nativeElement.style.visibility = 'visible';\n }\n }\n\n /**\n * Animation event that can be used to hook into when the\n * transformSidebar animation is complete.\n */\n @HostListener('@transformSidebar.done', ['$event']) onAnimationComplete(e: AnimationEvent) {\n if(isOpening(<DaffSidebarAnimationState>e.fromState, <DaffSidebarAnimationState>e.toState)) {\n this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement);\n\n const focusableChild = (<HTMLElement>this._elementRef.nativeElement.querySelector(daffFocusableElementsSelector));\n\n this._focusStack.push(this._doc.activeElement);\n\n if(focusableChild) {\n focusableChild.focus();\n } else {\n this._elementRef.nativeElement.tabIndex = 0;\n (<HTMLElement>this._elementRef.nativeElement).focus();\n }\n } else {\n if(this._focusTrap) {\n this._focusTrap.destroy();\n this._focusTrap = undefined;\n this._focusStack.pop();\n }\n }\n\n /**\n * This is used in sidebar to determine when to hide the visibility\n * of the sidebar so that the animation does not jump as the element is hidden.\n */\n if (e.toState === 'closed' || e.toState === 'under-closed' || e.toState === 'side-fixed-closed') {\n this._elementRef.nativeElement.style.visibility = 'hidden';\n }\n }\n}\n","<ng-content select=\"daff-sidebar-header\"></ng-content>\n<div class=\"daff-sidebar__body\">\n\t<ng-content></ng-content>\n</div>\n<ng-content select=\"daff-sidebar-footer\"></ng-content>","import {\n Component,\n HostBinding,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-sidebar-footer',\n template: '<ng-content></ng-content>',\n styleUrls: ['./sidebar-footer.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffSidebarFooterComponent {\n @HostBinding('class.daff-sidebar-footer') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffSidebarHeaderAction]',\n})\nexport class DaffSidebarHeaderActionDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-sidebar-header__action') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffSidebarHeaderTitle]',\n})\nexport class DaffSidebarHeaderTitleDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-sidebar-header__title') class = true;\n}\n","import {\n Component,\n HostBinding,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-sidebar-header',\n templateUrl: './sidebar-header.component.html',\n styleUrls: ['./sidebar-header.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n\n})\nexport class DaffSidebarHeaderComponent {\n @HostBinding('class.daff-sidebar-header') class = true;\n}\n","<ng-content select=\"[daffSidebarHeaderAction]\"></ng-content>\n<ng-content select=\"[daffSidebarHeaderTitle]\"></ng-content>\n<ng-content></ng-content>","/**\n * Fallback function for determining whether or not a viewport has a parent viewport.\n * This is really only used in the Daffodil docs when the injector heirarchy\n * doesn't act as anticipated as a result of custom elements.\n */\nexport const hasParentViewport = (element: HTMLElement) => {\n let currentElement = element.parentElement;\n\n while (currentElement !== null) {\n if (currentElement.tagName === 'DAFF-SIDEBAR-VIEWPORT') {\n return true;\n }\n currentElement = currentElement.parentElement;\n }\n\n return false;\n};\n","/**\n * The placement of the nav in relation to the sidebar.\n * See {@link DaffNavPlacementEnum }\n */\nexport type DaffNavPlacement = 'above' | 'beside';\n\n/**\n * The placement of the nav in relation to the sidebar.\n * See {@link DaffNavPlacement }\n */\nexport enum DaffNavPlacementEnum {\n ABOVE = 'above',\n BESIDE = 'beside',\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n ElementRef,\n InjectionToken,\n inject,\n} from '@angular/core';\n\n/**\n * An interface that enables a user to enable or disable scrolling on sidebars.\n *\n * See {@link DAFF_SIDEBAR_SCROLL_TOKEN}\n */\nexport interface DaffSidebarScroll {\n enable(): void;\n disable(): void;\n}\n\n/**\n * An injection token that can be used within a sidebar to determine\n * what to do enabling and disabling scrolling. By default, the body\n * is the element where scrolling is controlled.\n */\nexport const DAFF_SIDEBAR_SCROLL_TOKEN = new InjectionToken<DaffSidebarScroll>('DAFF_SIDEBAR_SCROLL_TOKEN', {\n providedIn: 'root',\n factory: () => {\n const document = inject(DOCUMENT);\n return {\n enable: () => {\n document.body.style.overflow = null;\n },\n disable: () => {\n document.body.style.overflow = 'hidden';\n },\n };\n },\n});\n\n\n/**\n * A factory function that return a DaffSidebarScroll\n * for the current sidebar viewport.\n *\n * See the providers of {@link DaffSidebarViewportComponent}\n */\nexport const daffSidebarViewportScrollFactory = (): DaffSidebarScroll => {\n const element = inject(ElementRef).nativeElement;\n return {\n enable: () => {\n element.style.overflow = null;\n },\n disable: () => {\n element.style.overflow = 'hidden';\n },\n };\n};\n","import { QueryList } from '@angular/core';\n\nimport { DaffSidebarComponent } from '../../sidebar/sidebar.component';\n\n/**\n * Determines, given a list of sidebars, whether or not the backdrop is interactable (typically clickable).\n */\nexport const sidebarViewportBackdropInteractable = (sidebars: QueryList<DaffSidebarComponent>): boolean => sidebars.reduce(\n (acc: boolean, sidebar) => ((sidebar.mode === 'over' || sidebar.mode === 'under') && sidebar.open) || acc,\n false);\n","import { QueryList } from '@angular/core';\n\nimport { DaffSidebarModeEnum } from '../../helper/sidebar-mode';\nimport { DaffSidebarSide } from '../../helper/sidebar-side';\nimport { DaffSidebarComponent } from '../../sidebar/sidebar.component';\n\n/**\n * Given a list of sidebars, compute the associated content shift.\n */\nexport const sidebarViewportContentPadding = (sidebars: QueryList<DaffSidebarComponent>, side: DaffSidebarSide): number =>\n sidebars.reduce((acc: number, sidebar) => {\n if(!(sidebar.mode === DaffSidebarModeEnum.SideFixed && sidebar.open)) {\n return acc;\n }\n\n if(sidebar.side === side){\n return sidebar.width;\n } else {\n // This component is \"stateless\", its possible to have two open \"under\" sidebars.\n // As such, we defer to \"left\" being open by default.\n return acc;\n }\n }, 0);\n","import { QueryList } from '@angular/core';\n\nimport { DaffSidebarMode } from '../../helper/sidebar-mode';\nimport { DaffSidebarComponent } from '../../sidebar/sidebar.component';\n\nexport const isViewportContentShifted = (mode: DaffSidebarMode, open: boolean): boolean => (mode === 'under' && open);\n\n/**\n * Given a list of sidebars, compute the associated content shift.\n */\nexport const sidebarViewportContentShift = (sidebars: QueryList<DaffSidebarComponent>): number =>\n sidebars.reduce((acc: number, sidebar) => {\n if(!isViewportContentShifted(sidebar.mode, sidebar.open)) {\n return acc;\n }\n\n if(sidebar.side === 'left'){\n return sidebar.width;\n } else if (sidebar.side === 'right' && acc === 0) {\n return -1 * sidebar.width;\n } else {\n // This component is \"stateless\", its possible to have two open \"under\" sidebars.\n // As such, we defer to \"left\" being open by default.\n return acc;\n }\n }, 0);\n\n\n","import { AnimationStateWithParams } from '@daffodil/design';\n\nimport { DaffSidebarAnimationStates } from './sidebar-animation';\n\nexport type DaffSidebarViewportAnimationState = DaffSidebarAnimationStates.OPEN | DaffSidebarAnimationStates.CLOSED;\n\n\nexport interface DaffSidebarAnimationStateParams {\n shift: string;\n};\n\nexport type DaffSidebarViewportAnimationStateWithParams = AnimationStateWithParams<DaffSidebarViewportAnimationState, DaffSidebarAnimationStateParams>;\n\n\nexport const getSidebarViewportAnimationState = (open: boolean): DaffSidebarViewportAnimationState =>\n open ? DaffSidebarAnimationStates.OPEN : DaffSidebarAnimationStates.CLOSED;\n","import {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nconst animationDuration = '350ms';\nconst backdropTransitionOut = 'cubic-bezier(0.4, 0.0, 1, 1)';\nconst backdropTransitionIn = 'cubic-bezier(0.0, 0.0, 0.2, 1)';\n\nexport const daffSidebarViewportBackdropAnimations: {\n readonly fadeBackdrop: AnimationTriggerMetadata;\n} = {\n fadeBackdrop: trigger('fadeBackdrop', [\n state('interactable', style({ opacity: 1 })),\n state('non-interactable', style({ opacity: 0 })),\n transition('interactable => non-interactable', animate(animationDuration + ' ' + backdropTransitionOut)),\n transition('non-interactable => interactable', animate(animationDuration + ' ' + backdropTransitionIn)),\n transition(':enter', [\n style({ opacity: 0 }),\n animate(animationDuration + ' ' + backdropTransitionIn, style({ opacity: 1 })),\n ]),\n transition(':leave', [\n animate(animationDuration + ' ' + backdropTransitionOut, style({ opacity: 0 })),\n ]),\n ]),\n};\n","export type DaffSidebarViewportBackdropAnimationState = 'interactable' | 'non-interactable';\nexport const getAnimationState = (interactable: boolean): DaffSidebarViewportBackdropAnimationState=> interactable ? 'interactable' : 'non-interactable';\n","import { AnimationEvent } from '@angular/animations';\nimport {\n Component,\n Output,\n EventEmitter,\n Input,\n ChangeDetectionStrategy,\n HostListener,\n HostBinding,\n OnInit,\n} from '@angular/core';\n\nimport { daffSidebarViewportBackdropAnimations } from './animation/backdrop-animation';\nimport { getAnimationState } from './animation/backdrop-animation-state';\n\n@Component({\n selector: 'daff-sidebar-viewport-backdrop',\n template: '<ng-content></ng-content>',\n styleUrls: ['./sidebar-viewport-backdrop.component.scss'],\n animations: [\n daffSidebarViewportBackdropAnimations.fadeBackdrop,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffSidebarViewportBackdropComponent implements OnInit {\n\n @HostBinding('class.interactable') interactableClass = true;\n\n /**\n * Determines whether or not the backdrop is transparent.\n */\n @Input() @HostBinding('class.transparent') transparent = false;\n\n /**\n * Determines whether or not the backdrop is interactable.\n */\n @Input() interactable = true;\n\n /**\n * Boolean property that determines whether or not the\n * backdrop should fill up its containing window.\n */\n @Input() @HostBinding('class.fullscreen') fullscreen = false;\n\n /**\n * Output event triggered when the backdrop is clicked.\n */\n @Output() backdropClicked: EventEmitter<void> = new EventEmitter<void>();\n\n ngOnInit(): void {\n this.interactableClass = this.interactable;\n }\n\n /**\n * Animation hook for that controls the backdrops\n * entrance and fade animations.\n */\n @HostBinding('@fadeBackdrop') get fadeBackdropTrigger() {\n return getAnimationState(this.interactable);\n }\n\n @HostListener('@fadeBackdrop.done', ['$event'])\n animationDone(e: AnimationEvent) {\n\t this.interactableClass = !(e.toState === ':leave' || e.toState === 'non-interactable');\n }\n\n @HostListener('@fadeBackdrop.start', ['$event'])\n animationStart(e: AnimationEvent) {\n\t if(e.toState === ':enter' || e.toState === 'interactable'){\n\t this.interactableClass = true;\n\t }\n }\n\n @HostListener('click')\n onBackdropClicked(): void {\n\t this.backdropClicked.emit();\n }\n}\n","import { AnimationEvent } from '@angular/animations';\nimport {\n Component,\n Output,\n EventEmitter,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n ContentChildren,\n QueryList,\n AfterContentChecked,\n ElementRef,\n Input,\n HostBinding,\n Inject,\n SkipSelf,\n Optional,\n OnDestroy,\n} from '@angular/core';\n\nimport { hasParentViewport } from './helper/has-parent-viewport';\nimport {\n DaffNavPlacement,\n DaffNavPlacementEnum,\n} from './nav-placement';\nimport {\n DAFF_SIDEBAR_SCROLL_TOKEN,\n DaffSidebarScroll,\n daffSidebarViewportScrollFactory,\n} from './scroll-token/scroll.token';\nimport { sidebarViewportBackdropInteractable } from './utils/backdrop-interactable';\nimport { sidebarViewportContentPadding } from './utils/content-pad';\nimport {\n isViewportContentShifted,\n sidebarViewportContentShift,\n} from './utils/content-shift';\nimport {\n DaffSidebarAnimationStates,\n daffSidebarAnimations,\n} from '../animation/sidebar-animation';\nimport {\n DaffSidebarViewportAnimationStateWithParams,\n getSidebarViewportAnimationState,\n} from '../animation/sidebar-viewport-animation-state';\nimport { DaffSidebarMode } from '../helper/sidebar-mode';\nimport { DaffSidebarComponent } from '../sidebar/sidebar.component';\n\n/**\n * The DaffSidebarViewport is the \"holder\" of sidebars throughout an entire application.\n * It's generally only used once, like\n *\n * ```html\n * <daff-sidebar-viewport>\n * <daff-sidebar></daff-sidebar>\n * <p>Some Content</p>\n * </daff-sidebar-viewport>\n * ```\n *\n * Importantly, its possible for there to be multiple sidebars of many modes\n * at the same time. @see {@link DaffSidebarMode }\n *\n * Since this is a functional component, it's possible to have multiple \"open\" sidebars\n * at the same time. As a result, this component attempts to gracefully handle these situations.\n * However, importantly, there can only be one sidebar of each mode, on each side, at any given time.\n * If this is violated, this component will throw an exception.\n */\n@Component({\n selector: 'daff-sidebar-viewport',\n templateUrl: './sidebar-viewport.component.html',\n styleUrls: ['./sidebar-viewport.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [\n daffSidebarAnimations.transformContent,\n ],\n providers: [\n { provide: DAFF_SIDEBAR_SCROLL_TOKEN, useFactory: daffSidebarViewportScrollFactory },\n ],\n})\nexport class DaffSidebarViewportComponent implements AfterContentChecked, OnDestroy {\n @HostBinding('class.daff-sidebar-viewport') hostClass = true;\n\n @HostBinding('class') get classes() {\n return {\n 'daff-sidebar-viewport': true,\n [this.navPlacement]: true,\n };\n };\n\n get isNavOnSide() {\n return this.navPlacement === DaffNavPlacementEnum.BESIDE;\n }\n\n onContentAnimationStart(e: AnimationEvent) {\n if(e.toState === 'open') {\n this._elementRef.nativeElement.style.overflow = 'hidden';\n }\n }\n\n onContentAnimationDone(e: AnimationEvent) {\n if(e.toState === 'closed') {\n this._elementRef.nativeElement.style.overflow = null;\n }\n }\n\n /**\n * The placement of the nav in relation to the sidebar. The default is set to `top`.\n * Note that this is really only available when there is a `side-fixed` sidebar.\n */\n @Input() navPlacement: DaffNavPlacement = DaffNavPlacementEnum.ABOVE;\n\n constructor(\n private cdRef: ChangeDetectorRef,\n private _elementRef: ElementRef<HTMLElement>,\n @Inject(DAFF_SIDEBAR_SCROLL_TOKEN) @SkipSelf() private bodyScroll: DaffSidebarScroll,\n @Inject(DaffSidebarViewportComponent) @SkipSelf() @Optional() private parentViewport,\n @Inject(DAFF_SIDEBAR_SCROLL_TOKEN) private scroll: DaffSidebarScroll,\n ) { }\n\n /**\n * The list of sidebars in the viewport.\n *\n * @docs-private\n */\n @ContentChildren(DaffSidebarComponent, { descendants: false }) private sidebars: QueryList<DaffSidebarComponent>;\n\n /**\n * The number of pixels that the main content of the page should be shifted to\n * right when there are child sidebars.\n */\n private _shift = '0px';\n\n /**\n * The left padding on the content when left side-fixed sidebars are open.\n */\n public _contentPadLeft = 0;\n\n /**\n * The left padding on the nav when left side-fixed sidebars are open.\n */\n public _navPadLeft = 0;\n\n /**\n * The right padding on the content when right side-fixed sidebars are open.\n */\n public _contentPadRight = 0;\n\n /**\n * The right padding on the content when right side-fixed sidebars are open.\n */\n public _navPadRight = 0;\n\n /**\n * Whether or not the backdrop is interactable\n */\n _backdropInteractable = false;\n\n /**\n * The animation state\n */\n _animationState: DaffSidebarViewportAnimationStateWithParams = { value: DaffSidebarAnimationStates.CLOSED, params: { shift: '0px' }};\n\n /**\n * Event fired when the backdrop is clicked. This is often used to close the sidebar.\n */\n @Output() backdropClicked: EventEmitter<void> = new EventEmitter<void>();\n\n ngAfterContentChecked() {\n const nextShift = sidebarViewportContentShift(this.sidebars) + 'px';\n if (this._shift !== nextShift) {\n this._shift = nextShift;\n\n this.updateAnimationState();\n this.cdRef.markForCheck();\n }\n\n const nextBackdropInteractable = sidebarViewportBackdropInteractable(this.sidebars);\n if (this._backdropInteractable !== nextBackdropInteractable) {\n this._backdropInteractable = nextBackdropInteractable;\n this.updateAnimationState();\n this.cdRef.markForCheck();\n if(nextBackdropInteractable) {\n if(!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {\n this.bodyScroll.disable();\n } else {\n this.scroll.disable();\n }\n } else { //if we are hiding the sidebars\n if(!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {\n this.bodyScroll.enable();\n } else {\n this.scroll.enable();\n }\n }\n };\n\n const nextLeftPadding = sidebarViewportContentPadding(this.sidebars, 'left');\n if(this._contentPadLeft !== nextLeftPadding) {\n this._contentPadLeft = nextLeftPadding;\n this._navPadLeft = this.isNavOnSide ? this._contentPadLeft : null;\n this.updateAnimationState();\n this.cdRef.markForCheck();\n }\n\n const nextRightPadding = sidebarViewportContentPadding(this.sidebars, 'right');\n if(this._contentPadRight !== nextRightPadding) {\n this._contentPadRight = nextRightPadding;\n this._navPadRight = this.isNavOnSide ? this._contentPadRight : null;\n this.updateAnimationState();\n this.cdRef.markForCheck();\n }\n }\n\n ngOnDestroy() {\n if(!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {\n this.bodyScroll.enable();\n } else {\n this.scroll.enable();\n }\n }\n\n /**\n * @docs-private\n *\n * Updates the animation state of the viewport depending upon the state\n * of all sidebars within the viewport.\n */\n private updateAnimationState() {\n this._animationState = {\n value: getSidebarViewportAnimationState(\n this.sidebars.reduce((acc: boolean, sidebar) => acc || isViewportContentShifted(sidebar.mode, sidebar.open), false),\n ),\n params: { shift: this._shift },\n };\n }\n\n /**\n * @docs-private\n * The called when the backdrop of the viewport is clicked upon.\n */\n _backdropClicked(): void {\n this.backdropClicked.emit();\n }\n}\n","<ng-content select=\"daff-sidebar:not([side=right])\"></ng-content>\n\n<daff-sidebar-viewport-backdrop\n [@transformContent]=\"_animationState\"\n [interactable]=\"_backdropInteractable\"\n (backdropClicked)=\"_backdropClicked()\">\n</daff-sidebar-viewport-backdrop>\n\n<div class=\"daff-sidebar-viewport__nav\"\n [@transformContent]=\"_animationState\"\n [style.padding-left.px]=\"_navPadLeft\"\n [style.padding-right.px]=\"_navPadRight\">\n <ng-content select=\"[daff-sidebar-viewport-nav]\"></ng-content>\n</div>\n\n<div class=\"daff-sidebar-viewport__content\"\n [@transformContent]=\"_animationState\"\n (@transformContent.start)=\"onContentAnimationStart($event)\"\n (@transformContent.done)=\"onContentAnimationDone($event)\">\n <div class=\"daff-sidebar-viewport__inner\"\n [style.padding-left.px]=\"_contentPadLeft\"\n [style.padding-right.px]=\"_contentPadRight\">\n <ng-content></ng-content>\n </div>\n</div>\n\n<ng-content select=\"daff-sidebar[side=right]\"></ng-content>\n","import { A11yModule } from '@angular/cdk/a11y';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffSidebarComponent } from './sidebar/sidebar.component';\nimport { DaffSidebarFooterComponent } from './sidebar-footer/sidebar-footer.component';\nimport { DaffSidebarHeaderActionDirective } from './sidebar-header/sidebar-header-action/sidebar-header-action.directive';\nimport { DaffSidebarHeaderTitleDirective } from './sidebar-header/sidebar-header-title/sidebar-header-title.directive';\nimport { DaffSidebarHeaderComponent } from './sidebar-header/sidebar-header.component';\nimport { DaffSidebarViewportComponent } from './sidebar-viewport/sidebar-viewport.component';\nimport { DaffSidebarViewportBackdropComponent } from './sidebar-viewport-backdrop/sidebar-viewport-backdrop.component';\n\n@NgModule({\n imports: [\n CommonModule,\n A11yModule,\n ],\n declarations: [\n DaffSidebarComponent,\n DaffSidebarViewportComponent,\n DaffSidebarHeaderComponent,\n DaffSidebarFooterComponent,\n DaffSidebarHeaderTitleDirective,\n DaffSidebarHeaderActionDirective,\n DaffSidebarViewportBackdropComponent,\n ],\n exports: [\n DaffSidebarComponent,\n DaffSidebarViewportComponent,\n DaffSidebarHeaderComponent,\n DaffSidebarFooterComponent,\n DaffSidebarHeaderTitleDirective,\n DaffSidebarHeaderActionDirective,\n DaffSidebarViewportBackdropComponent,\n ],\n})\nexport class DaffSidebarModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["getAnimationState","i1.DaffSidebarViewportBackdropComponent"],"mappings":";;;;;;;;;;;AAEA;;AAEG;AACI,MAAM,SAAS,GAAG,CAAC,SAAoC,EAAE,OAAkC,KAAa;AAC7G,IAAA,IAAG,SAAS,KAAK,YAAY,IAAI,OAAO,KAAK,MAAM,IAAI,SAAS,KAAK,MAAM,IAAI,OAAO,KAAK,YAAY,EAAE;AACvG,QAAA,OAAO,KAAK,CAAC;AACd,KAAA;AAED,IAAA,IAAG,OAAO,KAAK,YAAY,IAAI,OAAO,KAAK,MAAM,EAAE;AACjD,QAAA,OAAO,IAAI,CAAC;AACb,KAAA;AACD,IAAA,OAAO,KAAK,CAAC;AACf,CAAC;;ACLD,MAAM,QAAQ,GAAG,OAAO,CAAC;AACzB,MAAM,0BAA0B,GAAG,gCAAgC,CAAC;AACpE,MAAM,2BAA2B,GAAG,8BAA8B,CAAC;AAE5D,MAAM,qBAAqB,GAI9B;AACF,IAAA,gBAAgB,EAAE,OAAO,CAAC,kBAAkB,EAAE;;;AAG5C,QAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;AAClB,YAAA,SAAS,EAAE,MAAM;AAClB,SAAA,CAAC,CAAC;AACH,QAAA,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC;AACpB,YAAA,SAAS,EAAE,uBAAuB;SACnC,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAC,CAAC;QACnC,UAAU,CAAC,gBAAgB,EAAE,OAAO,CAAC,QAAQ,GAAG,GAAG,GAAG,2BAA2B,CAAC,CAAC;QACnF,UAAU,CAAC,gBAAgB,EAAE,OAAO,CAAC,QAAQ,GAAG,GAAG,GAAG,0BAA0B,CAAC,CAAC;KACnF,CAAC;AACF,IAAA,gBAAgB,EAAE,OAAO,CAAC,kBAAkB,EAAE;;;AAG5C,QAAA,KAAK,CAAC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B;YAC5B,0BAA0B;YAC1B,0BAA0B;YAC1B,+BAA+B;YAC/B,gCAAgC;AAChC,YAAA,oCAAoC,aAVpC,YAAY;AACZ,YAAA,UAAU,aAYV,oBAAoB;YACpB,4BAA4B;YAC5B,0BAA0B;YAC1B,0BAA0B;YAC1B,+BAA+B;YAC/B,gCAAgC;YAChC,oCAAoC,CAAA,EAAA,CAAA,CAAA,EAAA;AAG3B,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAtB1B,YAAY;YACZ,UAAU,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAqBD,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAxB7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,UAAU;AACX,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;wBACpB,4BAA4B;wBAC5B,0BAA0B;wBAC1B,0BAA0B;wBAC1B,+BAA+B;wBAC/B,gCAAgC;wBAChC,oCAAoC;AACrC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;wBACpB,4BAA4B;wBAC5B,0BAA0B;wBAC1B,0BAA0B;wBAC1B,+BAA+B;wBAC/B,gCAAgC;wBAChC,oCAAoC;AACrC,qBAAA;AACF,iBAAA,CAAA;;;ACnCD;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-sidebar.mjs","sources":["../../../libs/design/sidebar/src/sidebar/is-opening.ts","../../../libs/design/sidebar/src/animation/sidebar-animation.ts","../../../libs/design/sidebar/src/animation/sidebar-animation-state.ts","../../../libs/design/sidebar/src/animation/sidebar-animation-width.ts","../../../libs/design/sidebar/src/sidebar/sidebar.component.ts","../../../libs/design/sidebar/src/sidebar/sidebar.component.html","../../../libs/design/sidebar/src/sidebar-footer/sidebar-footer.component.ts","../../../libs/design/sidebar/src/sidebar-header/sidebar-header-action/sidebar-header-action.directive.ts","../../../libs/design/sidebar/src/sidebar-header/sidebar-header-title/sidebar-header-title.directive.ts","../../../libs/design/sidebar/src/sidebar-header/sidebar-header.component.ts","../../../libs/design/sidebar/src/sidebar-header/sidebar-header.component.html","../../../libs/design/sidebar/src/sidebar-viewport/helper/has-parent-viewport.ts","../../../libs/design/sidebar/src/sidebar-viewport/nav-placement.ts","../../../libs/design/sidebar/src/sidebar-viewport/scroll-token/scroll.token.ts","../../../libs/design/sidebar/src/sidebar-viewport/utils/backdrop-interactable.ts","../../../libs/design/sidebar/src/sidebar-viewport/utils/content-pad.ts","../../../libs/design/sidebar/src/sidebar-viewport/utils/content-shift.ts","../../../libs/design/sidebar/src/animation/sidebar-viewport-animation-state.ts","../../../libs/design/sidebar/src/sidebar-viewport-backdrop/animation/backdrop-animation.ts","../../../libs/design/sidebar/src/sidebar-viewport-backdrop/animation/backdrop-animation-state.ts","../../../libs/design/sidebar/src/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.ts","../../../libs/design/sidebar/src/sidebar-viewport/sidebar-viewport.component.ts","../../../libs/design/sidebar/src/sidebar-viewport/sidebar-viewport.component.html","../../../libs/design/sidebar/src/sidebar.module.ts","../../../libs/design/sidebar/src/service/sidebar.service.ts","../../../libs/design/sidebar/src/helper/is-docked-mode.ts","../../../libs/design/sidebar/src/helper/is-floating-mode.ts","../../../libs/design/sidebar/src/daffodil-design-sidebar.ts"],"sourcesContent":["import { DaffSidebarAnimationState } from '../animation/sidebar-animation-state';\n\n/**\n * Determine whether or animation states are going to an open state from a non-open state.\n */\nexport const isOpening = (fromState: DaffSidebarAnimationState, toState: DaffSidebarAnimationState): boolean => {\n if(fromState === 'under-open' && toState === 'open' || fromState === 'open' && toState === 'under-open') {\n return false;\n }\n\n if(toState === 'under-open' || toState === 'open') {\n return true;\n }\n return false;\n};\n","import {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nconst duration = '200ms';\nconst sidebarAnimateInTransition = 'cubic-bezier(0.0, 0.0, 0.2, 1)';\nconst sidebarAnimateOutTransition = 'cubic-bezier(0.4, 0.0, 1, 1)';\n\nexport const daffSidebarAnimations: {\n readonly transformSidebar: AnimationTriggerMetadata;\n readonly transformContent: AnimationTriggerMetadata;\n readonly backdropTrigger: AnimationTriggerMetadata;\n} = {\n transformSidebar: trigger('transformSidebar', [\n // We remove the `transform` here completely, rather than setting it to zero, because\n // 3d transforms causes text to appear blurry on IE and Edge.\n state('open', style({\n transform: 'none',\n })),\n state('closed', style({\n transform: 'translateX({{width}})',\n }), { params: { width: '-240px' }}),\n transition('open => closed', animate(duration + ' ' + sidebarAnimateOutTransition)),\n transition('closed => open', animate(duration + ' ' + sidebarAnimateInTransition)),\n ]),\n transformContent: trigger('transformContent', [\n // We remove the `transform` here completely, rather than setting it to zero, because\n // 3d transforms causes text to appear blurry on IE and Edge.\n state('closed', style({\n transform: 'none',\n })),\n state('open', style({\n transform: 'translateX({{shift}})',\n }), { params: { shift: '-240px' }}),\n transition('open => closed', animate(duration + ' ' + sidebarAnimateInTransition)),\n transition('closed => open', animate(duration + ' ' + sidebarAnimateOutTransition)),\n ]),\n backdropTrigger: trigger('backdropTrigger', [\n state('open', style({\n opacity: 1,\n })),\n state('closed', style({\n opacity: 0,\n })),\n transition('open => closed', animate(duration + ' ' + sidebarAnimateOutTransition)),\n transition('closed => open', animate(duration + ' ' + sidebarAnimateInTransition)),\n ]),\n};\n\nexport enum DaffSidebarAnimationStates {\n OPEN = 'open',\n CLOSED = 'closed',\n UNDEROPEN = 'under-open',\n UNDERCLOSED = 'under-closed',\n SIDEFIXEDOPEN = 'side-fixed-open',\n SIDEFIXEDCLOSED = 'side-fixed-closed',\n NONE = 'none'\n}\n","import { DaffSidebarMode } from '../helper/sidebar-mode';\n\nexport type DaffSidebarAnimationState =\n'open' | 'closed' | 'under-open' | 'under-closed' | 'side-fixed-open' | 'side-fixed-closed' | 'none';\n\nexport const getAnimationState = (open: boolean, mode: DaffSidebarMode): DaffSidebarAnimationState => {\n if(mode === 'side') {\n return 'none';\n }\n\n if(mode === 'side-fixed' && open) {\n return 'side-fixed-open';\n }\n\n if(mode === 'side-fixed' && !open) {\n return 'side-fixed-closed';\n }\n\n if(open && mode === 'under') {\n return 'under-open';\n }\n\n if(!open && mode === 'under') {\n return 'under-closed';\n }\n\n if(open) {\n return 'open';\n } else {\n return 'closed';\n }\n};\n","import { DaffSidebarSide } from '../helper/sidebar-side';\n\nexport const getSidebarAnimationWidth =\n (side: DaffSidebarSide, width: number): string => side === 'left' ? -1 * width + 'px' : width + 'px';\n","import { AnimationEvent } from '@angular/animations';\nimport {\n ConfigurableFocusTrap,\n ConfigurableFocusTrapFactory,\n} from '@angular/cdk/a11y';\nimport { DOCUMENT } from '@angular/common';\nimport {\n Component,\n NgZone,\n ElementRef,\n Output,\n EventEmitter,\n HostBinding,\n ChangeDetectionStrategy,\n Input,\n HostListener,\n Inject,\n} from '@angular/core';\nimport { fromEvent } from 'rxjs';\nimport { filter } from 'rxjs/operators';\n\nimport {\n daffFocusableElementsSelector,\n DaffFocusStackService,\n} from '@daffodil/design';\n\nimport { isOpening } from './is-opening';\nimport { daffSidebarAnimations } from '../animation/sidebar-animation';\nimport {\n DaffSidebarAnimationState,\n getAnimationState,\n} from '../animation/sidebar-animation-state';\nimport { getSidebarAnimationWidth } from '../animation/sidebar-animation-width';\nimport { DaffSidebarMode } from '../helper/sidebar-mode';\nimport { DaffSidebarSide } from '../helper/sidebar-side';\n\n/**\n * DaffSidebarComponent is heavily based upon the work done by the @angular/components\n * team on `mat-drawer` and `mat-sidenav`. `daff-sidebar` is intended to be\n * a simplified version (with a different design) of `mat-drawer`.\n */\n@Component({\n selector: 'daff-sidebar',\n templateUrl: './sidebar.component.html',\n styleUrls: ['./sidebar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [\n daffSidebarAnimations.transformSidebar,\n ],\n})\nexport class DaffSidebarComponent {\n /**\n * @docs-private\n *\n * The CSS classes set.\n */\n @HostBinding('class') get classes() {\n return {\n 'daff-sidebar': true,\n [this.side]: true,\n [this.mode]: true,\n };\n };\n\n /**\n * The animation state of the sidebar.\n */\n @HostBinding('@transformSidebar') get transformSidebar() {\n return {\n value: getAnimationState(this.open, this.mode),\n params: { width: getSidebarAnimationWidth(this.side, this.width) },\n };\n }\n\n /**\n * Event fired when `ESC` key is pressed when the sidebar has focus\n */\n @Output() escapePressed: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * What side of the viewport to show the sidebar on.\n */\n @Input() side: DaffSidebarSide = 'left';\n\n /**\n * The mode of the sidebar.\n */\n @Input() mode: DaffSidebarMode = 'side';\n\n /**\n * Whether or not the sidebar is open.\n */\n @Input() open = false;\n\n /**\n * The width of the sidebar.\n */\n get width() {\n return this._elementRef.nativeElement.offsetWidth;\n }\n\n constructor(\n private _elementRef: ElementRef<HTMLElement>,\n private _ngZone: NgZone,\n private _focusTrapFactory: ConfigurableFocusTrapFactory,\n private _focusStack: DaffFocusStackService,\n @Inject(DOCUMENT) private _doc: any,\n ) {\n\n /**\n * Listen to `keydown` events outside the zone so that change detection is not run every\n * time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed.\n *\n */\n this._ngZone.runOutsideAngular(() => {\n fromEvent<KeyboardEvent>(this._elementRef.nativeElement, 'keydown').pipe(\n filter(event => event.key === 'Escape'),\n ).subscribe(event => this._ngZone.run(() => {\n this.escapePressed.emit();\n event.stopPropagation();\n }));\n });\n }\n\n private _focusTrap: ConfigurableFocusTrap;\n\n /**\n * Animation event that can be used to hook into when the transformSidebar\n * animation begins. This is used in sidebar to determine when to show the\n * visibility of the sidebar so that the animation does not jump as the element is shown.\n */\n @HostListener('@transformSidebar.start', ['$event']) onAnimationStart(e: AnimationEvent) {\n if (e.toState === 'open' || e.toState === 'under-open' || e.toState === 'side-fixed-open') {\n this._elementRef.nativeElement.style.visibility = 'visible';\n }\n }\n\n /**\n * Animation event that can be used to hook into when the\n * transformSidebar animation is complete.\n */\n @HostListener('@transformSidebar.done', ['$event']) onAnimationComplete(e: AnimationEvent) {\n if(isOpening(<DaffSidebarAnimationState>e.fromState, <DaffSidebarAnimationState>e.toState)) {\n this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement);\n\n const focusableChild = (<HTMLElement>this._elementRef.nativeElement.querySelector(daffFocusableElementsSelector));\n\n this._focusStack.push(this._doc.activeElement);\n\n if(focusableChild) {\n focusableChild.focus();\n } else {\n this._elementRef.nativeElement.tabIndex = 0;\n (<HTMLElement>this._elementRef.nativeElement).focus();\n }\n } else {\n if(this._focusTrap) {\n this._focusTrap.destroy();\n this._focusTrap = undefined;\n this._focusStack.pop();\n }\n }\n\n /**\n * This is used in sidebar to determine when to hide the visibility\n * of the sidebar so that the animation does not jump as the element is hidden.\n */\n if (e.toState === 'closed' || e.toState === 'under-closed' || e.toState === 'side-fixed-closed') {\n this._elementRef.nativeElement.style.visibility = 'hidden';\n }\n }\n}\n","<ng-content select=\"daff-sidebar-header\"></ng-content>\n<div class=\"daff-sidebar__body\">\n\t<ng-content></ng-content>\n</div>\n<ng-content select=\"daff-sidebar-footer\"></ng-content>","import {\n Component,\n HostBinding,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-sidebar-footer',\n template: '<ng-content></ng-content>',\n styleUrls: ['./sidebar-footer.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffSidebarFooterComponent {\n @HostBinding('class.daff-sidebar-footer') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffSidebarHeaderAction]',\n})\nexport class DaffSidebarHeaderActionDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-sidebar-header__action') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffSidebarHeaderTitle]',\n})\nexport class DaffSidebarHeaderTitleDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-sidebar-header__title') class = true;\n}\n","import {\n Component,\n HostBinding,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-sidebar-header',\n templateUrl: './sidebar-header.component.html',\n styleUrls: ['./sidebar-header.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n\n})\nexport class DaffSidebarHeaderComponent {\n @HostBinding('class.daff-sidebar-header') class = true;\n}\n","<ng-content select=\"[daffSidebarHeaderAction]\"></ng-content>\n<ng-content select=\"[daffSidebarHeaderTitle]\"></ng-content>\n<ng-content></ng-content>","/**\n * Fallback function for determining whether or not a viewport has a parent viewport.\n * This is really only used in the Daffodil docs when the injector heirarchy\n * doesn't act as anticipated as a result of custom elements.\n */\nexport const hasParentViewport = (element: HTMLElement) => {\n let currentElement = element.parentElement;\n\n while (currentElement !== null) {\n if (currentElement.tagName === 'DAFF-SIDEBAR-VIEWPORT') {\n return true;\n }\n currentElement = currentElement.parentElement;\n }\n\n return false;\n};\n","/**\n * The placement of the nav in relation to the sidebar.\n * See {@link DaffNavPlacementEnum }\n */\nexport type DaffNavPlacement = 'above' | 'beside';\n\n/**\n * The placement of the nav in relation to the sidebar.\n * See {@link DaffNavPlacement }\n */\nexport enum DaffNavPlacementEnum {\n ABOVE = 'above',\n BESIDE = 'beside',\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n ElementRef,\n InjectionToken,\n inject,\n} from '@angular/core';\n\n/**\n * An interface that enables a user to enable or disable scrolling on sidebars.\n *\n * See {@link DAFF_SIDEBAR_SCROLL_TOKEN}\n */\nexport interface DaffSidebarScroll {\n enable(): void;\n disable(): void;\n}\n\n/**\n * An injection token that can be used within a sidebar to determine\n * what to do enabling and disabling scrolling. By default, the body\n * is the element where scrolling is controlled.\n */\nexport const DAFF_SIDEBAR_SCROLL_TOKEN = new InjectionToken<DaffSidebarScroll>('DAFF_SIDEBAR_SCROLL_TOKEN', {\n providedIn: 'root',\n factory: () => {\n const document = inject(DOCUMENT);\n return {\n enable: () => {\n document.body.style.overflow = null;\n },\n disable: () => {\n document.body.style.overflow = 'hidden';\n },\n };\n },\n});\n\n\n/**\n * A factory function that return a DaffSidebarScroll\n * for the current sidebar viewport.\n *\n * See the providers of {@link DaffSidebarViewportComponent}\n */\nexport const daffSidebarViewportScrollFactory = (): DaffSidebarScroll => {\n const element = inject(ElementRef).nativeElement;\n return {\n enable: () => {\n element.style.overflow = null;\n },\n disable: () => {\n element.style.overflow = 'hidden';\n },\n };\n};\n","import { QueryList } from '@angular/core';\n\nimport { DaffSidebarComponent } from '../../sidebar/sidebar.component';\n\n/**\n * Determines, given a list of sidebars, whether or not the backdrop is interactable (typically clickable).\n */\nexport const sidebarViewportBackdropInteractable = (sidebars: QueryList<DaffSidebarComponent>): boolean => sidebars.reduce(\n (acc: boolean, sidebar) => ((sidebar.mode === 'over' || sidebar.mode === 'under') && sidebar.open) || acc,\n false);\n","import { QueryList } from '@angular/core';\n\nimport { DaffSidebarModeEnum } from '../../helper/sidebar-mode';\nimport { DaffSidebarSide } from '../../helper/sidebar-side';\nimport { DaffSidebarComponent } from '../../sidebar/sidebar.component';\n\n/**\n * Given a list of sidebars, compute the associated content shift.\n */\nexport const sidebarViewportContentPadding = (sidebars: QueryList<DaffSidebarComponent>, side: DaffSidebarSide): number =>\n sidebars.reduce((acc: number, sidebar) => {\n if(!(sidebar.mode === DaffSidebarModeEnum.SideFixed && sidebar.open)) {\n return acc;\n }\n\n if(sidebar.side === side){\n return sidebar.width;\n } else {\n // This component is \"stateless\", its possible to have two open \"under\" sidebars.\n // As such, we defer to \"left\" being open by default.\n return acc;\n }\n }, 0);\n","import { QueryList } from '@angular/core';\n\nimport { DaffSidebarMode } from '../../helper/sidebar-mode';\nimport { DaffSidebarComponent } from '../../sidebar/sidebar.component';\n\nexport const isViewportContentShifted = (mode: DaffSidebarMode, open: boolean): boolean => (mode === 'under' && open);\n\n/**\n * Given a list of sidebars, compute the associated content shift.\n */\nexport const sidebarViewportContentShift = (sidebars: QueryList<DaffSidebarComponent>): number =>\n sidebars.reduce((acc: number, sidebar) => {\n if(!isViewportContentShifted(sidebar.mode, sidebar.open)) {\n return acc;\n }\n\n if(sidebar.side === 'left'){\n return sidebar.width;\n } else if (sidebar.side === 'right' && acc === 0) {\n return -1 * sidebar.width;\n } else {\n // This component is \"stateless\", its possible to have two open \"under\" sidebars.\n // As such, we defer to \"left\" being open by default.\n return acc;\n }\n }, 0);\n\n\n","import { AnimationStateWithParams } from '@daffodil/design';\n\nimport { DaffSidebarAnimationStates } from './sidebar-animation';\n\nexport type DaffSidebarViewportAnimationState = DaffSidebarAnimationStates.OPEN | DaffSidebarAnimationStates.CLOSED;\n\n\nexport interface DaffSidebarAnimationStateParams {\n shift: string;\n};\n\nexport type DaffSidebarViewportAnimationStateWithParams = AnimationStateWithParams<DaffSidebarViewportAnimationState, DaffSidebarAnimationStateParams>;\n\n\nexport const getSidebarViewportAnimationState = (open: boolean): DaffSidebarViewportAnimationState =>\n open ? DaffSidebarAnimationStates.OPEN : DaffSidebarAnimationStates.CLOSED;\n","import {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nconst animationDuration = '350ms';\nconst backdropTransitionOut = 'cubic-bezier(0.4, 0.0, 1, 1)';\nconst backdropTransitionIn = 'cubic-bezier(0.0, 0.0, 0.2, 1)';\n\nexport const daffSidebarViewportBackdropAnimations: {\n readonly fadeBackdrop: AnimationTriggerMetadata;\n} = {\n fadeBackdrop: trigger('fadeBackdrop', [\n state('interactable', style({ opacity: 1 })),\n state('non-interactable', style({ opacity: 0 })),\n transition('interactable => non-interactable', animate(animationDuration + ' ' + backdropTransitionOut)),\n transition('non-interactable => interactable', animate(animationDuration + ' ' + backdropTransitionIn)),\n transition(':enter', [\n style({ opacity: 0 }),\n animate(animationDuration + ' ' + backdropTransitionIn, style({ opacity: 1 })),\n ]),\n transition(':leave', [\n animate(animationDuration + ' ' + backdropTransitionOut, style({ opacity: 0 })),\n ]),\n ]),\n};\n","export type DaffSidebarViewportBackdropAnimationState = 'interactable' | 'non-interactable';\nexport const getAnimationState = (interactable: boolean): DaffSidebarViewportBackdropAnimationState=> interactable ? 'interactable' : 'non-interactable';\n","import { AnimationEvent } from '@angular/animations';\nimport {\n Component,\n Output,\n EventEmitter,\n Input,\n ChangeDetectionStrategy,\n HostListener,\n HostBinding,\n OnInit,\n} from '@angular/core';\n\nimport { daffSidebarViewportBackdropAnimations } from './animation/backdrop-animation';\nimport { getAnimationState } from './animation/backdrop-animation-state';\n\n@Component({\n selector: 'daff-sidebar-viewport-backdrop',\n template: '<ng-content></ng-content>',\n styleUrls: ['./sidebar-viewport-backdrop.component.scss'],\n animations: [\n daffSidebarViewportBackdropAnimations.fadeBackdrop,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffSidebarViewportBackdropComponent implements OnInit {\n\n @HostBinding('class.interactable') interactableClass = true;\n\n /**\n * Determines whether or not the backdrop is transparent.\n */\n @Input() @HostBinding('class.transparent') transparent = false;\n\n /**\n * Determines whether or not the backdrop is interactable.\n */\n @Input() interactable = true;\n\n /**\n * Boolean property that determines whether or not the\n * backdrop should fill up its containing window.\n */\n @Input() @HostBinding('class.fullscreen') fullscreen = false;\n\n /**\n * Output event triggered when the backdrop is clicked.\n */\n @Output() backdropClicked: EventEmitter<void> = new EventEmitter<void>();\n\n ngOnInit(): void {\n this.interactableClass = this.interactable;\n }\n\n /**\n * Animation hook for that controls the backdrops\n * entrance and fade animations.\n */\n @HostBinding('@fadeBackdrop') get fadeBackdropTrigger() {\n return getAnimationState(this.interactable);\n }\n\n @HostListener('@fadeBackdrop.done', ['$event'])\n animationDone(e: AnimationEvent) {\n\t this.interactableClass = !(e.toState === ':leave' || e.toState === 'non-interactable');\n }\n\n @HostListener('@fadeBackdrop.start', ['$event'])\n animationStart(e: AnimationEvent) {\n\t if(e.toState === ':enter' || e.toState === 'interactable'){\n\t this.interactableClass = true;\n\t }\n }\n\n @HostListener('click')\n onBackdropClicked(): void {\n\t this.backdropClicked.emit();\n }\n}\n","import { AnimationEvent } from '@angular/animations';\nimport {\n Component,\n Output,\n EventEmitter,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n ContentChildren,\n QueryList,\n AfterContentChecked,\n ElementRef,\n Input,\n HostBinding,\n Inject,\n SkipSelf,\n Optional,\n OnDestroy,\n} from '@angular/core';\n\nimport { hasParentViewport } from './helper/has-parent-viewport';\nimport {\n DaffNavPlacement,\n DaffNavPlacementEnum,\n} from './nav-placement';\nimport {\n DAFF_SIDEBAR_SCROLL_TOKEN,\n DaffSidebarScroll,\n daffSidebarViewportScrollFactory,\n} from './scroll-token/scroll.token';\nimport { sidebarViewportBackdropInteractable } from './utils/backdrop-interactable';\nimport { sidebarViewportContentPadding } from './utils/content-pad';\nimport {\n isViewportContentShifted,\n sidebarViewportContentShift,\n} from './utils/content-shift';\nimport {\n DaffSidebarAnimationStates,\n daffSidebarAnimations,\n} from '../animation/sidebar-animation';\nimport {\n DaffSidebarViewportAnimationStateWithParams,\n getSidebarViewportAnimationState,\n} from '../animation/sidebar-viewport-animation-state';\nimport { DaffSidebarMode } from '../helper/sidebar-mode';\nimport { DaffSidebarComponent } from '../sidebar/sidebar.component';\n\n/**\n * The DaffSidebarViewport is the \"holder\" of sidebars throughout an entire application.\n * It's generally only used once, like\n *\n * ```html\n * <daff-sidebar-viewport>\n * <daff-sidebar></daff-sidebar>\n * <p>Some Content</p>\n * </daff-sidebar-viewport>\n * ```\n *\n * Importantly, its possible for there to be multiple sidebars of many modes\n * at the same time. @see {@link DaffSidebarMode }\n *\n * Since this is a functional component, it's possible to have multiple \"open\" sidebars\n * at the same time. As a result, this component attempts to gracefully handle these situations.\n * However, importantly, there can only be one sidebar of each mode, on each side, at any given time.\n * If this is violated, this component will throw an exception.\n */\n@Component({\n selector: 'daff-sidebar-viewport',\n templateUrl: './sidebar-viewport.component.html',\n styleUrls: ['./sidebar-viewport.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [\n daffSidebarAnimations.transformContent,\n ],\n providers: [\n { provide: DAFF_SIDEBAR_SCROLL_TOKEN, useFactory: daffSidebarViewportScrollFactory },\n ],\n})\nexport class DaffSidebarViewportComponent implements AfterContentChecked, OnDestroy {\n @HostBinding('class.daff-sidebar-viewport') hostClass = true;\n\n @HostBinding('class') get classes() {\n return {\n 'daff-sidebar-viewport': true,\n [this.navPlacement]: true,\n };\n };\n\n get isNavOnSide() {\n return this.navPlacement === DaffNavPlacementEnum.BESIDE;\n }\n\n onContentAnimationStart(e: AnimationEvent) {\n if(e.toState === 'open') {\n this._elementRef.nativeElement.style.overflow = 'hidden';\n }\n }\n\n onContentAnimationDone(e: AnimationEvent) {\n if(e.toState === 'closed') {\n this._elementRef.nativeElement.style.overflow = null;\n }\n }\n\n /**\n * The placement of the nav in relation to the sidebar. The default is set to `top`.\n * Note that this is really only available when there is a `side-fixed` sidebar.\n */\n @Input() navPlacement: DaffNavPlacement = DaffNavPlacementEnum.ABOVE;\n\n constructor(\n private cdRef: ChangeDetectorRef,\n private _elementRef: ElementRef<HTMLElement>,\n @Inject(DAFF_SIDEBAR_SCROLL_TOKEN) @SkipSelf() private bodyScroll: DaffSidebarScroll,\n @Inject(DaffSidebarViewportComponent) @SkipSelf() @Optional() private parentViewport,\n @Inject(DAFF_SIDEBAR_SCROLL_TOKEN) private scroll: DaffSidebarScroll,\n ) { }\n\n /**\n * The list of sidebars in the viewport.\n *\n * @docs-private\n */\n @ContentChildren(DaffSidebarComponent, { descendants: false }) private sidebars: QueryList<DaffSidebarComponent>;\n\n /**\n * The number of pixels that the main content of the page should be shifted to\n * right when there are child sidebars.\n */\n private _shift = '0px';\n\n /**\n * The left padding on the content when left side-fixed sidebars are open.\n */\n public _contentPadLeft = 0;\n\n /**\n * The left padding on the nav when left side-fixed sidebars are open.\n */\n public _navPadLeft = 0;\n\n /**\n * The right padding on the content when right side-fixed sidebars are open.\n */\n public _contentPadRight = 0;\n\n /**\n * The right padding on the content when right side-fixed sidebars are open.\n */\n public _navPadRight = 0;\n\n /**\n * Whether or not the backdrop is interactable\n */\n _backdropInteractable = false;\n\n /**\n * The animation state\n */\n _animationState: DaffSidebarViewportAnimationStateWithParams = { value: DaffSidebarAnimationStates.CLOSED, params: { shift: '0px' }};\n\n /**\n * Event fired when the backdrop is clicked. This is often used to close the sidebar.\n */\n @Output() backdropClicked: EventEmitter<void> = new EventEmitter<void>();\n\n ngAfterContentChecked() {\n const nextShift = sidebarViewportContentShift(this.sidebars) + 'px';\n if (this._shift !== nextShift) {\n this._shift = nextShift;\n\n this.updateAnimationState();\n this.cdRef.markForCheck();\n }\n\n const nextBackdropInteractable = sidebarViewportBackdropInteractable(this.sidebars);\n if (this._backdropInteractable !== nextBackdropInteractable) {\n this._backdropInteractable = nextBackdropInteractable;\n this.updateAnimationState();\n this.cdRef.markForCheck();\n if(nextBackdropInteractable) {\n if(!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {\n this.bodyScroll.disable();\n } else {\n this.scroll.disable();\n }\n } else { //if we are hiding the sidebars\n if(!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {\n this.bodyScroll.enable();\n } else {\n this.scroll.enable();\n }\n }\n };\n\n const nextLeftPadding = sidebarViewportContentPadding(this.sidebars, 'left');\n if(this._contentPadLeft !== nextLeftPadding) {\n this._contentPadLeft = nextLeftPadding;\n this._navPadLeft = this.isNavOnSide ? this._contentPadLeft : null;\n this.updateAnimationState();\n this.cdRef.markForCheck();\n }\n\n const nextRightPadding = sidebarViewportContentPadding(this.sidebars, 'right');\n if(this._contentPadRight !== nextRightPadding) {\n this._contentPadRight = nextRightPadding;\n this._navPadRight = this.isNavOnSide ? this._contentPadRight : null;\n this.updateAnimationState();\n this.cdRef.markForCheck();\n }\n }\n\n ngOnDestroy() {\n if(!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {\n this.bodyScroll.enable();\n } else {\n this.scroll.enable();\n }\n }\n\n /**\n * @docs-private\n *\n * Updates the animation state of the viewport depending upon the state\n * of all sidebars within the viewport.\n */\n private updateAnimationState() {\n this._animationState = {\n value: getSidebarViewportAnimationState(\n this.sidebars.reduce((acc: boolean, sidebar) => acc || isViewportContentShifted(sidebar.mode, sidebar.open), false),\n ),\n params: { shift: this._shift },\n };\n }\n\n /**\n * @docs-private\n * The called when the backdrop of the viewport is clicked upon.\n */\n _backdropClicked(): void {\n this.backdropClicked.emit();\n }\n}\n","<ng-content select=\"daff-sidebar:not([side=right])\"></ng-content>\n\n<daff-sidebar-viewport-backdrop\n [@transformContent]=\"_animationState\"\n [interactable]=\"_backdropInteractable\"\n (backdropClicked)=\"_backdropClicked()\">\n</daff-sidebar-viewport-backdrop>\n\n<div class=\"daff-sidebar-viewport__nav\"\n [@transformContent]=\"_animationState\"\n [style.padding-left.px]=\"_navPadLeft\"\n [style.padding-right.px]=\"_navPadRight\">\n <ng-content select=\"[daff-sidebar-viewport-nav]\"></ng-content>\n</div>\n\n<div class=\"daff-sidebar-viewport__content\"\n [@transformContent]=\"_animationState\"\n (@transformContent.start)=\"onContentAnimationStart($event)\"\n (@transformContent.done)=\"onContentAnimationDone($event)\">\n <div class=\"daff-sidebar-viewport__inner\"\n [style.padding-left.px]=\"_contentPadLeft\"\n [style.padding-right.px]=\"_contentPadRight\">\n <ng-content></ng-content>\n </div>\n</div>\n\n<ng-content select=\"daff-sidebar[side=right]\"></ng-content>\n","import { A11yModule } from '@angular/cdk/a11y';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffSidebarComponent } from './sidebar/sidebar.component';\nimport { DaffSidebarFooterComponent } from './sidebar-footer/sidebar-footer.component';\nimport { DaffSidebarHeaderActionDirective } from './sidebar-header/sidebar-header-action/sidebar-header-action.directive';\nimport { DaffSidebarHeaderTitleDirective } from './sidebar-header/sidebar-header-title/sidebar-header-title.directive';\nimport { DaffSidebarHeaderComponent } from './sidebar-header/sidebar-header.component';\nimport { DaffSidebarViewportComponent } from './sidebar-viewport/sidebar-viewport.component';\nimport { DaffSidebarViewportBackdropComponent } from './sidebar-viewport-backdrop/sidebar-viewport-backdrop.component';\n\n@NgModule({\n imports: [\n CommonModule,\n A11yModule,\n ],\n declarations: [\n DaffSidebarComponent,\n DaffSidebarViewportComponent,\n DaffSidebarHeaderComponent,\n DaffSidebarFooterComponent,\n DaffSidebarHeaderTitleDirective,\n DaffSidebarHeaderActionDirective,\n DaffSidebarViewportBackdropComponent,\n ],\n exports: [\n DaffSidebarComponent,\n DaffSidebarViewportComponent,\n DaffSidebarHeaderComponent,\n DaffSidebarFooterComponent,\n DaffSidebarHeaderTitleDirective,\n DaffSidebarHeaderActionDirective,\n DaffSidebarViewportBackdropComponent,\n ],\n})\nexport class DaffSidebarModule { }\n","import {\n Signal,\n signal,\n} from '@angular/core';\nimport {\n BehaviorSubject,\n Observable,\n} from 'rxjs';\n\nimport { DaffSidebarRegistration } from './registration.type';\n\n/**\n * A service that stores the open state and ID of the currently opened sidebar.\n *\n * A default sidebar ID can be passed to the constructor that will be the initial value of `$id`.\n */\nexport abstract class DaffSidebarService {\n protected _id$: BehaviorSubject<DaffSidebarRegistration['id']>;\n protected _open = signal(false);\n\n readonly id$: Observable<DaffSidebarRegistration['id']>;\n\n get isOpen(): Signal<boolean> {\n return this._open.asReadonly();\n }\n\n constructor(\n defaultId: DaffSidebarRegistration['id'] = null,\n ) {\n this._id$ = new BehaviorSubject<DaffSidebarRegistration['id']>(defaultId);\n\n this.id$ = this._id$.asObservable();\n }\n\n /**\n * Opens the specified sidebar.\n *\n * @param id The optional sidebar ID. If omitted the most recently passed opened sidebar ID will persist (or the default if none was passed).\n */\n open(id?: DaffSidebarRegistration['id']) {\n if (id) {\n this._id$.next(id);\n }\n this._open.set(true);\n };\n\n /**\n * Closes the sidebar. Does not clear the ID.\n */\n close() {\n this._open.set(false);\n }\n}\n","import { DaffSidebarModeEnum } from './sidebar-mode';\n\nconst DOCKED_MODES = [\n DaffSidebarModeEnum.Side,\n DaffSidebarModeEnum.SideFixed,\n];\n\n/**\n * Returns whether the passed mode is a docked mode, i.e. side or side-fixed.\n */\nexport const daffSidebarIsDockedMode = (mode: DaffSidebarModeEnum): boolean => DOCKED_MODES.includes(mode);\n","import { DaffSidebarModeEnum } from './sidebar-mode';\n\nconst FLOATING_MODES = [\n DaffSidebarModeEnum.Under,\n DaffSidebarModeEnum.Over,\n];\n\n/**\n * Returns whether the passed mode is a floating mode, i.e. under or over.\n */\nexport const daffSidebarIsFloatingMode = (mode: DaffSidebarModeEnum): boolean => FLOATING_MODES.includes(mode);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["getAnimationState","i1.DaffSidebarViewportBackdropComponent"],"mappings":";;;;;;;;;;;AAEA;;AAEG;AACI,MAAM,SAAS,GAAG,CAAC,SAAoC,EAAE,OAAkC,KAAa;AAC7G,IAAA,IAAG,SAAS,KAAK,YAAY,IAAI,OAAO,KAAK,MAAM,IAAI,SAAS,KAAK,MAAM,IAAI,OAAO,KAAK,YAAY,EAAE;AACvG,QAAA,OAAO,KAAK,CAAC;AACd,KAAA;AAED,IAAA,IAAG,OAAO,KAAK,YAAY,IAAI,OAAO,KAAK,MAAM,EAAE;AACjD,QAAA,OAAO,IAAI,CAAC;AACb,KAAA;AACD,IAAA,OAAO,KAAK,CAAC;AACf,CAAC;;ACLD,MAAM,QAAQ,GAAG,OAAO,CAAC;AACzB,MAAM,0BAA0B,GAAG,gCAAgC,CAAC;AACpE,MAAM,2BAA2B,GAAG,8BAA8B,CAAC;AAE5D,MAAM,qBAAqB,GAI9B;AACF,IAAA,gBAAgB,EAAE,OAAO,CAAC,kBAAkB,EAAE;;;AAG5C,QAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;AAClB,YAAA,SAAS,EAAE,MAAM;AAClB,SAAA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eDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i1 from '@daffodil/design/toast';
4
- import { DaffToastModule, provideDaffToastOptions } from '@daffodil/design/toast';
2
+ import { EventEmitter, Component, ChangeDetectionStrategy } from '@angular/core';
5
3
  import * as i2 from '@daffodil/design/button';
6
4
  import { DaffButtonModule } from '@daffodil/design/button';
7
- import { CommonModule } from '@angular/common';
8
- import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
5
+ import * as i1 from '@daffodil/design/toast';
6
+ import { provideDaffToastOptions } from '@daffodil/design/toast';
9
7
  import * as i2$1 from '@angular/forms';
10
8
  import { FormControl, ReactiveFormsModule } from '@angular/forms';
11
9
  import { combineLatest } from 'rxjs';
@@ -37,42 +35,13 @@ class DefaultToastComponent {
37
35
  });
38
36
  }
39
37
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultToastComponent, deps: [{ token: i1.DaffToastService }], target: i0.ɵɵFactoryTarget.Component }); }
40
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DefaultToastComponent, selector: "default-toast", ngImport: i0, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>", dependencies: [{ kind: "component", type: i2.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
38
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DefaultToastComponent, isStandalone: true, selector: "default-toast", ngImport: i0, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>", dependencies: [{ kind: "ngmodule", type: DaffButtonModule }, { kind: "component", type: i2.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
41
39
  }
42
40
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultToastComponent, decorators: [{
43
41
  type: Component,
44
- args: [{ selector: 'default-toast', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>" }]
42
+ args: [{ selector: 'default-toast', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffButtonModule], template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>" }]
45
43
  }], ctorParameters: () => [{ type: i1.DaffToastService }] });
46
44
 
47
- class DefaultToastModule {
48
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
49
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DefaultToastModule, declarations: [DefaultToastComponent], imports: [CommonModule,
50
- DaffToastModule,
51
- FontAwesomeModule,
52
- DaffButtonModule], exports: [DefaultToastComponent] }); }
53
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultToastModule, imports: [CommonModule,
54
- DaffToastModule,
55
- FontAwesomeModule,
56
- DaffButtonModule] }); }
57
- }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DefaultToastModule, decorators: [{
59
- type: NgModule,
60
- args: [{
61
- declarations: [
62
- DefaultToastComponent,
63
- ],
64
- imports: [
65
- CommonModule,
66
- DaffToastModule,
67
- FontAwesomeModule,
68
- DaffButtonModule,
69
- ],
70
- exports: [
71
- DefaultToastComponent,
72
- ],
73
- }]
74
- }] });
75
-
76
45
  class ToastPositionsComponent {
77
46
  constructor(toastService, toastPositionService) {
78
47
  this.toastService = toastService;
@@ -100,21 +69,7 @@ class ToastPositionsComponent {
100
69
  });
101
70
  }
102
71
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastPositionsComponent, deps: [{ token: i1.DaffToastService }, { token: i1.DaffToastPositionService }], target: i0.ɵɵFactoryTarget.Component }); }
103
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ToastPositionsComponent, selector: "toast-positions", ngImport: i0, template: "<div class=\"toast-positions__options\">\n\t<select [formControl]=\"verticalControl\">\n\t\t<option value=\"top\">Top</option>\n\t\t<option value=\"bottom\">Bottom</option>\n\t</select>\n\t\n\t<select [formControl]=\"horizontalControl\">\n\t\t<option value=\"left\">Left</option>\n\t\t<option value=\"center\">Center</option>\n\t\t<option value=\"right\">Right</option>\n\t</select>\n</div>\n\n<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\n", styles: [".toast-positions__options{display:flex;gap:8px;margin:0 0 16px}\n"], dependencies: [{ kind: "directive", type: i2$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
104
- }
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastPositionsComponent, decorators: [{
106
- type: Component,
107
- args: [{ selector: 'toast-positions', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"toast-positions__options\">\n\t<select [formControl]=\"verticalControl\">\n\t\t<option value=\"top\">Top</option>\n\t\t<option value=\"bottom\">Bottom</option>\n\t</select>\n\t\n\t<select [formControl]=\"horizontalControl\">\n\t\t<option value=\"left\">Left</option>\n\t\t<option value=\"center\">Center</option>\n\t\t<option value=\"right\">Right</option>\n\t</select>\n</div>\n\n<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\n", styles: [".toast-positions__options{display:flex;gap:8px;margin:0 0 16px}\n"] }]
108
- }], ctorParameters: () => [{ type: i1.DaffToastService }, { type: i1.DaffToastPositionService }] });
109
-
110
- class ToastPositionsModule {
111
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastPositionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
112
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: ToastPositionsModule, declarations: [ToastPositionsComponent], imports: [CommonModule,
113
- ReactiveFormsModule,
114
- DaffToastModule,
115
- FontAwesomeModule,
116
- DaffButtonModule], exports: [ToastPositionsComponent] }); }
117
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastPositionsModule, providers: [
72
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ToastPositionsComponent, isStandalone: true, selector: "toast-positions", providers: [
118
73
  provideDaffToastOptions({
119
74
  position: {
120
75
  vertical: 'top',
@@ -122,29 +77,11 @@ class ToastPositionsModule {
122
77
  },
123
78
  useParent: false,
124
79
  }),
125
- ], imports: [CommonModule,
126
- ReactiveFormsModule,
127
- DaffToastModule,
128
- FontAwesomeModule,
129
- DaffButtonModule] }); }
80
+ ], ngImport: i0, template: "<div class=\"toast-positions__options\">\n\t<select [formControl]=\"verticalControl\">\n\t\t<option value=\"top\">Top</option>\n\t\t<option value=\"bottom\">Bottom</option>\n\t</select>\n\t\n\t<select [formControl]=\"horizontalControl\">\n\t\t<option value=\"left\">Left</option>\n\t\t<option value=\"center\">Center</option>\n\t\t<option value=\"right\">Right</option>\n\t</select>\n</div>\n\n<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\n", styles: [".toast-positions__options{display:flex;gap:8px;margin:0 0 16px}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: DaffButtonModule }, { kind: "component", type: i2.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
130
81
  }
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastPositionsModule, decorators: [{
132
- type: NgModule,
133
- args: [{
134
- declarations: [
135
- ToastPositionsComponent,
136
- ],
137
- imports: [
138
- CommonModule,
139
- ReactiveFormsModule,
140
- DaffToastModule,
141
- FontAwesomeModule,
142
- DaffButtonModule,
143
- ],
144
- exports: [
145
- ToastPositionsComponent,
146
- ],
147
- providers: [
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastPositionsComponent, decorators: [{
83
+ type: Component,
84
+ args: [{ selector: 'toast-positions', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ReactiveFormsModule, DaffButtonModule], providers: [
148
85
  provideDaffToastOptions({
149
86
  position: {
150
87
  vertical: 'top',
@@ -152,9 +89,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
152
89
  },
153
90
  useParent: false,
154
91
  }),
155
- ],
156
- }]
157
- }] });
92
+ ], template: "<div class=\"toast-positions__options\">\n\t<select [formControl]=\"verticalControl\">\n\t\t<option value=\"top\">Top</option>\n\t\t<option value=\"bottom\">Bottom</option>\n\t</select>\n\t\n\t<select [formControl]=\"horizontalControl\">\n\t\t<option value=\"left\">Left</option>\n\t\t<option value=\"center\">Center</option>\n\t\t<option value=\"right\">Right</option>\n\t</select>\n</div>\n\n<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\n", styles: [".toast-positions__options{display:flex;gap:8px;margin:0 0 16px}\n"] }]
93
+ }], ctorParameters: () => [{ type: i1.DaffToastService }, { type: i1.DaffToastPositionService }] });
158
94
 
159
95
  const status = {
160
96
  error: {
@@ -186,45 +122,13 @@ class ToastStatusComponent {
186
122
  });
187
123
  }
188
124
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastStatusComponent, deps: [{ token: i1.DaffToastService }], target: i0.ɵɵFactoryTarget.Component }); }
189
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ToastStatusComponent, selector: "toast-status", ngImport: i0, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\n\n<select [formControl]=\"statusControl\">\n\t<option value=\"success\">Success</option>\n\t<option value=\"warn\">Warn</option>\n\t<option value=\"error\">Error</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:flex-start;gap:16px}\n"], dependencies: [{ kind: "component", type: i2.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }, { kind: "directive", type: i2$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
125
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ToastStatusComponent, isStandalone: true, selector: "toast-status", ngImport: i0, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\n\n<select [formControl]=\"statusControl\">\n\t<option value=\"success\">Success</option>\n\t<option value=\"warn\">Warn</option>\n\t<option value=\"error\">Error</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:flex-start;gap:16px}\n"], dependencies: [{ kind: "ngmodule", type: DaffButtonModule }, { kind: "component", type: i2.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["loading", "tabindex", "disabled"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
190
126
  }
191
127
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastStatusComponent, decorators: [{
192
128
  type: Component,
193
- args: [{ selector: 'toast-status', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\n\n<select [formControl]=\"statusControl\">\n\t<option value=\"success\">Success</option>\n\t<option value=\"warn\">Warn</option>\n\t<option value=\"error\">Error</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:flex-start;gap:16px}\n"] }]
129
+ args: [{ selector: 'toast-status', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffButtonModule, ReactiveFormsModule], template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>\n\n<select [formControl]=\"statusControl\">\n\t<option value=\"success\">Success</option>\n\t<option value=\"warn\">Warn</option>\n\t<option value=\"error\">Error</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:flex-start;gap:16px}\n"] }]
194
130
  }], ctorParameters: () => [{ type: i1.DaffToastService }] });
195
131
 
196
- class ToastStatusModule {
197
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastStatusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
198
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: ToastStatusModule, declarations: [ToastStatusComponent], imports: [CommonModule,
199
- DaffToastModule,
200
- DaffButtonModule,
201
- FontAwesomeModule,
202
- ReactiveFormsModule], exports: [ToastStatusComponent] }); }
203
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastStatusModule, imports: [CommonModule,
204
- DaffToastModule,
205
- DaffButtonModule,
206
- FontAwesomeModule,
207
- ReactiveFormsModule] }); }
208
- }
209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastStatusModule, decorators: [{
210
- type: NgModule,
211
- args: [{
212
- declarations: [
213
- ToastStatusComponent,
214
- ],
215
- imports: [
216
- CommonModule,
217
- DaffToastModule,
218
- DaffButtonModule,
219
- FontAwesomeModule,
220
- ReactiveFormsModule,
221
- ],
222
- exports: [
223
- ToastStatusComponent,
224
- ],
225
- }]
226
- }] });
227
-
228
132
  class ToastWithCustomDurationComponent {
229
133
  constructor(toastService) {
230
134
  this.toastService = toastService;
@@ -239,44 +143,18 @@ class ToastWithCustomDurationComponent {
239
143
  });
240
144
  }
241
145
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastWithCustomDurationComponent, deps: [{ token: i1.DaffToastService }], target: i0.ɵɵFactoryTarget.Component }); }
242
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ToastWithCustomDurationComponent, selector: "toast-with-custom-duration", ngImport: i0, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>", dependencies: [{ kind: "component", type: i2.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
146
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ToastWithCustomDurationComponent, isStandalone: true, selector: "toast-with-custom-duration", ngImport: i0, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>", dependencies: [{ kind: "ngmodule", type: DaffButtonModule }, { kind: "component", type: i2.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
243
147
  }
244
148
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastWithCustomDurationComponent, decorators: [{
245
149
  type: Component,
246
- args: [{ selector: 'toast-with-custom-duration', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>" }]
150
+ args: [{ selector: 'toast-with-custom-duration', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffButtonModule], template: "<button daff-button size=\"sm\" (click)=\"open()\">Show toast</button>" }]
247
151
  }], ctorParameters: () => [{ type: i1.DaffToastService }] });
248
152
 
249
- class ToastWithCustomDurationModule {
250
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastWithCustomDurationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
251
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: ToastWithCustomDurationModule, declarations: [ToastWithCustomDurationComponent], imports: [CommonModule,
252
- DaffToastModule,
253
- DaffButtonModule], exports: [ToastWithCustomDurationComponent] }); }
254
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastWithCustomDurationModule, imports: [CommonModule,
255
- DaffToastModule,
256
- DaffButtonModule] }); }
257
- }
258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ToastWithCustomDurationModule, decorators: [{
259
- type: NgModule,
260
- args: [{
261
- declarations: [
262
- ToastWithCustomDurationComponent,
263
- ],
264
- imports: [
265
- CommonModule,
266
- DaffToastModule,
267
- DaffButtonModule,
268
- ],
269
- exports: [
270
- ToastWithCustomDurationComponent,
271
- ],
272
- }]
273
- }] });
274
-
275
153
  const TOAST_EXAMPLES = [
276
- { component: DefaultToastComponent, module: DefaultToastModule },
277
- { component: ToastStatusComponent, module: ToastStatusModule },
278
- { component: ToastPositionsComponent, module: ToastPositionsModule },
279
- { component: ToastWithCustomDurationComponent, module: ToastWithCustomDurationModule },
154
+ DefaultToastComponent,
155
+ ToastPositionsComponent,
156
+ ToastStatusComponent,
157
+ ToastWithCustomDurationComponent,
280
158
  ];
281
159
 
282
160
  /**