@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,52 +1,23 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i3 from '@daffodil/design/sidebar';
2
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
3
+ import * as i1 from '@daffodil/design/sidebar';
4
4
  import { DaffSidebarModule } from '@daffodil/design/sidebar';
5
- import { DaffLinkSetModule } from '@daffodil/design/link-set';
6
- import * as i2$1 from '@daffodil/design/navbar';
7
- import { DaffNavbarModule } from '@daffodil/design/navbar';
8
- import * as i1 from '@angular/forms';
5
+ import * as i3 from '@angular/forms';
9
6
  import { FormControl, ReactiveFormsModule } from '@angular/forms';
7
+ import { FaIconComponent } from '@fortawesome/angular-fontawesome';
10
8
  import { faTimes } from '@fortawesome/free-solid-svg-icons';
11
- import * as i2 from '@fortawesome/angular-fontawesome';
12
- import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
13
- import * as i4 from '@daffodil/design/button';
9
+ import * as i2 from '@daffodil/design/button';
14
10
  import { DaffButtonModule } from '@daffodil/design/button';
15
- import { CommonModule } from '@angular/common';
11
+ import * as i2$1 from '@daffodil/design/navbar';
12
+ import { DaffNavbarModule } from '@daffodil/design/navbar';
16
13
 
17
14
  class BasicSidebarComponent {
18
15
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
19
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: BasicSidebarComponent, selector: "basic-sidebar", ngImport: i0, template: "<daff-sidebar-viewport>\n <daff-sidebar class=\"basic-sidebar\">\n Sidebar content\n </daff-sidebar>\n <div class=\"basic-sidebar__content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.basic-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}\n"], dependencies: [{ kind: "component", type: i3.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode", "open"], outputs: ["escapePressed"] }, { kind: "component", type: i3.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
16
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: BasicSidebarComponent, isStandalone: true, selector: "basic-sidebar", ngImport: i0, template: "<daff-sidebar-viewport>\n <daff-sidebar class=\"basic-sidebar\">\n Sidebar content\n </daff-sidebar>\n <div class=\"basic-sidebar__content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.basic-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}\n"], dependencies: [{ kind: "ngmodule", type: DaffSidebarModule }, { kind: "component", type: i1.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode", "open"], outputs: ["escapePressed"] }, { kind: "component", type: i1.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
20
17
  }
21
18
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicSidebarComponent, decorators: [{
22
19
  type: Component,
23
- args: [{ selector: 'basic-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-sidebar-viewport>\n <daff-sidebar class=\"basic-sidebar\">\n Sidebar content\n </daff-sidebar>\n <div class=\"basic-sidebar__content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.basic-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}\n"] }]
24
- }] });
25
-
26
- class BasicSidebarModule {
27
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicSidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
28
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: BasicSidebarModule, declarations: [BasicSidebarComponent], imports: [DaffSidebarModule,
29
- DaffNavbarModule,
30
- DaffLinkSetModule], exports: [BasicSidebarComponent] }); }
31
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicSidebarModule, imports: [DaffSidebarModule,
32
- DaffNavbarModule,
33
- DaffLinkSetModule] }); }
34
- }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicSidebarModule, decorators: [{
36
- type: NgModule,
37
- args: [{
38
- imports: [
39
- DaffSidebarModule,
40
- DaffNavbarModule,
41
- DaffLinkSetModule,
42
- ],
43
- declarations: [
44
- BasicSidebarComponent,
45
- ],
46
- exports: [
47
- BasicSidebarComponent,
48
- ],
49
- }]
20
+ args: [{ selector: 'basic-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffSidebarModule], template: "<daff-sidebar-viewport>\n <daff-sidebar class=\"basic-sidebar\">\n Sidebar content\n </daff-sidebar>\n <div class=\"basic-sidebar__content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.basic-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}\n"] }]
50
21
  }] });
51
22
 
52
23
  class OverandUnderSidebarsComponent {
@@ -63,120 +34,41 @@ class OverandUnderSidebarsComponent {
63
34
  this.open = false;
64
35
  }
65
36
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: OverandUnderSidebarsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
66
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: OverandUnderSidebarsComponent, selector: "over-and-under-sidebars", ngImport: i0, template: "<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" [mode]=\"modeControl.value\" [side]=\"sideControl.value\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header>\n <button daff-icon-button color=\"theme-contrast\" daffSidebarHeaderAction (click)=\"closeSidebar()\">\n <fa-icon [icon]=\"faTimes\" size=\"sm\"></fa-icon>\n </button>\n <div daffSidebarHeaderTitle>Title</div>\n </daff-sidebar-header>\n <div class=\"over-and-under-sidebars__sidebar-content\">\n Sidebar content\n </div>\n <daff-sidebar-footer>\n <div class=\"over-and-under-sidebars__footer\">\n Sidebar footer\n </div>\n </daff-sidebar-footer>\n </daff-sidebar>\n <div class=\"over-and-under-sidebars__body-content\">\n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Side:</div>\n <select [formControl]=\"sideControl\">\n <option value=\"left\">Left</option>\n <option value=\"right\">Right</option>\n </select>\n </div>\n \n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Mode:</div>\n <select [formControl]=\"modeControl\">\n <option value=\"over\">Over</option>\n <option value=\"under\">Under</option>\n </select>\n </div>\n\n <button daff-button (click)=\"openSidebar()\">\n Open\n </button>\n </div>\n</daff-sidebar-viewport>\n", styles: ["daff-sidebar-viewport{height:288px}.over-and-under-sidebars__options-container{display:flex;gap:8px;margin:0 0 16px}.over-and-under-sidebars__footer,.over-and-under-sidebars__sidebar-content{padding:16px}\n"], dependencies: [{ kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "component", type: i3.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode", "open"], outputs: ["escapePressed"] }, { kind: "component", type: i3.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }, { kind: "component", type: i3.DaffSidebarHeaderComponent, selector: "daff-sidebar-header" }, { kind: "component", type: i3.DaffSidebarFooterComponent, selector: "daff-sidebar-footer" }, { kind: "directive", type: i3.DaffSidebarHeaderTitleDirective, selector: "[daffSidebarHeaderTitle]" }, { kind: "directive", type: i3.DaffSidebarHeaderActionDirective, selector: "[daffSidebarHeaderAction]" }, { kind: "component", type: i4.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
37
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: OverandUnderSidebarsComponent, isStandalone: true, selector: "over-and-under-sidebars", ngImport: i0, template: "<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" [mode]=\"modeControl.value\" [side]=\"sideControl.value\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header>\n <button daff-icon-button color=\"theme-contrast\" daffSidebarHeaderAction (click)=\"closeSidebar()\">\n <fa-icon [icon]=\"faTimes\" size=\"sm\"></fa-icon>\n </button>\n <div daffSidebarHeaderTitle>Title</div>\n </daff-sidebar-header>\n <div class=\"over-and-under-sidebars__sidebar-content\">\n Sidebar content\n </div>\n <daff-sidebar-footer>\n <div class=\"over-and-under-sidebars__footer\">\n Sidebar footer\n </div>\n </daff-sidebar-footer>\n </daff-sidebar>\n <div class=\"over-and-under-sidebars__body-content\">\n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Side:</div>\n <select [formControl]=\"sideControl\">\n <option value=\"left\">Left</option>\n <option value=\"right\">Right</option>\n </select>\n </div>\n \n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Mode:</div>\n <select [formControl]=\"modeControl\">\n <option value=\"over\">Over</option>\n <option value=\"under\">Under</option>\n </select>\n </div>\n\n <button daff-button (click)=\"openSidebar()\">\n Open\n </button>\n </div>\n</daff-sidebar-viewport>\n", styles: ["daff-sidebar-viewport{height:288px}.over-and-under-sidebars__options-container{display:flex;gap:8px;margin:0 0 16px}.over-and-under-sidebars__footer,.over-and-under-sidebars__sidebar-content{padding:16px}\n"], dependencies: [{ kind: "ngmodule", type: DaffSidebarModule }, { kind: "component", type: i1.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode", "open"], outputs: ["escapePressed"] }, { kind: "component", type: i1.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }, { kind: "component", type: i1.DaffSidebarHeaderComponent, selector: "daff-sidebar-header" }, { kind: "component", type: i1.DaffSidebarFooterComponent, selector: "daff-sidebar-footer" }, { kind: "directive", type: i1.DaffSidebarHeaderTitleDirective, selector: "[daffSidebarHeaderTitle]" }, { kind: "directive", type: i1.DaffSidebarHeaderActionDirective, selector: "[daffSidebarHeaderAction]" }, { 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: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
67
38
  }
68
39
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: OverandUnderSidebarsComponent, decorators: [{
69
40
  type: Component,
70
- args: [{ selector: 'over-and-under-sidebars', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" [mode]=\"modeControl.value\" [side]=\"sideControl.value\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header>\n <button daff-icon-button color=\"theme-contrast\" daffSidebarHeaderAction (click)=\"closeSidebar()\">\n <fa-icon [icon]=\"faTimes\" size=\"sm\"></fa-icon>\n </button>\n <div daffSidebarHeaderTitle>Title</div>\n </daff-sidebar-header>\n <div class=\"over-and-under-sidebars__sidebar-content\">\n Sidebar content\n </div>\n <daff-sidebar-footer>\n <div class=\"over-and-under-sidebars__footer\">\n Sidebar footer\n </div>\n </daff-sidebar-footer>\n </daff-sidebar>\n <div class=\"over-and-under-sidebars__body-content\">\n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Side:</div>\n <select [formControl]=\"sideControl\">\n <option value=\"left\">Left</option>\n <option value=\"right\">Right</option>\n </select>\n </div>\n \n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Mode:</div>\n <select [formControl]=\"modeControl\">\n <option value=\"over\">Over</option>\n <option value=\"under\">Under</option>\n </select>\n </div>\n\n <button daff-button (click)=\"openSidebar()\">\n Open\n </button>\n </div>\n</daff-sidebar-viewport>\n", styles: ["daff-sidebar-viewport{height:288px}.over-and-under-sidebars__options-container{display:flex;gap:8px;margin:0 0 16px}.over-and-under-sidebars__footer,.over-and-under-sidebars__sidebar-content{padding:16px}\n"] }]
71
- }] });
72
-
73
- class OverandUnderSidebarsModule {
74
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: OverandUnderSidebarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
75
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: OverandUnderSidebarsModule, declarations: [OverandUnderSidebarsComponent], imports: [ReactiveFormsModule,
76
- FontAwesomeModule,
77
- DaffSidebarModule,
78
- DaffNavbarModule,
79
- DaffButtonModule,
80
- DaffLinkSetModule], exports: [OverandUnderSidebarsComponent] }); }
81
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: OverandUnderSidebarsModule, imports: [ReactiveFormsModule,
82
- FontAwesomeModule,
83
- DaffSidebarModule,
84
- DaffNavbarModule,
85
- DaffButtonModule,
86
- DaffLinkSetModule] }); }
87
- }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: OverandUnderSidebarsModule, decorators: [{
89
- type: NgModule,
90
- args: [{
91
- imports: [
92
- ReactiveFormsModule,
93
- FontAwesomeModule,
41
+ args: [{ selector: 'over-and-under-sidebars', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
94
42
  DaffSidebarModule,
95
- DaffNavbarModule,
96
43
  DaffButtonModule,
97
- DaffLinkSetModule,
98
- ],
99
- declarations: [
100
- OverandUnderSidebarsComponent,
101
- ],
102
- exports: [
103
- OverandUnderSidebarsComponent,
104
- ],
105
- }]
44
+ FaIconComponent,
45
+ ReactiveFormsModule,
46
+ ], template: "<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" [mode]=\"modeControl.value\" [side]=\"sideControl.value\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header>\n <button daff-icon-button color=\"theme-contrast\" daffSidebarHeaderAction (click)=\"closeSidebar()\">\n <fa-icon [icon]=\"faTimes\" size=\"sm\"></fa-icon>\n </button>\n <div daffSidebarHeaderTitle>Title</div>\n </daff-sidebar-header>\n <div class=\"over-and-under-sidebars__sidebar-content\">\n Sidebar content\n </div>\n <daff-sidebar-footer>\n <div class=\"over-and-under-sidebars__footer\">\n Sidebar footer\n </div>\n </daff-sidebar-footer>\n </daff-sidebar>\n <div class=\"over-and-under-sidebars__body-content\">\n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Side:</div>\n <select [formControl]=\"sideControl\">\n <option value=\"left\">Left</option>\n <option value=\"right\">Right</option>\n </select>\n </div>\n \n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Mode:</div>\n <select [formControl]=\"modeControl\">\n <option value=\"over\">Over</option>\n <option value=\"under\">Under</option>\n </select>\n </div>\n\n <button daff-button (click)=\"openSidebar()\">\n Open\n </button>\n </div>\n</daff-sidebar-viewport>\n", styles: ["daff-sidebar-viewport{height:288px}.over-and-under-sidebars__options-container{display:flex;gap:8px;margin:0 0 16px}.over-and-under-sidebars__footer,.over-and-under-sidebars__sidebar-content{padding:16px}\n"] }]
106
47
  }] });
107
48
 
108
49
  class SideFixedSidebarComponent {
109
50
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SideFixedSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
110
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: SideFixedSidebarComponent, selector: "side-fixed-sidebar", ngImport: i0, template: "<daff-sidebar-viewport navPlacement=\"beside\">\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"side-fixed-sidebar\">\n Fixed sidebar content\n </daff-sidebar>\n <nav daff-sidebar-viewport-nav daff-navbar>Navbar</nav>\n <div class=\"content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.side-fixed-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{padding:24px;height:480px}\n"], dependencies: [{ kind: "component", type: i3.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode", "open"], outputs: ["escapePressed"] }, { kind: "component", type: i3.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }, { kind: "component", type: i2$1.DaffNavbarComponent, selector: "nav[daff-navbar]", inputs: ["color", "raised"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
51
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: SideFixedSidebarComponent, isStandalone: true, selector: "side-fixed-sidebar", ngImport: i0, template: "<daff-sidebar-viewport navPlacement=\"beside\">\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"side-fixed-sidebar\">\n Fixed sidebar content\n </daff-sidebar>\n <nav daff-sidebar-viewport-nav daff-navbar>Navbar</nav>\n <div class=\"content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.side-fixed-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{padding:24px;height:480px}\n"], dependencies: [{ kind: "ngmodule", type: DaffSidebarModule }, { kind: "component", type: i1.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode", "open"], outputs: ["escapePressed"] }, { kind: "component", type: i1.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }, { kind: "ngmodule", type: DaffNavbarModule }, { kind: "component", type: i2$1.DaffNavbarComponent, selector: "nav[daff-navbar]", inputs: ["raised"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
111
52
  }
112
53
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SideFixedSidebarComponent, decorators: [{
113
54
  type: Component,
114
- args: [{ selector: 'side-fixed-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-sidebar-viewport navPlacement=\"beside\">\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"side-fixed-sidebar\">\n Fixed sidebar content\n </daff-sidebar>\n <nav daff-sidebar-viewport-nav daff-navbar>Navbar</nav>\n <div class=\"content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.side-fixed-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{padding:24px;height:480px}\n"] }]
115
- }] });
116
-
117
- class SideFixedSidebarModule {
118
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SideFixedSidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
119
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: SideFixedSidebarModule, declarations: [SideFixedSidebarComponent], imports: [CommonModule,
120
- DaffSidebarModule,
121
- DaffNavbarModule], exports: [SideFixedSidebarComponent] }); }
122
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SideFixedSidebarModule, imports: [CommonModule,
123
- DaffSidebarModule,
124
- DaffNavbarModule] }); }
125
- }
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SideFixedSidebarModule, decorators: [{
127
- type: NgModule,
128
- args: [{
129
- imports: [
130
- CommonModule,
131
- DaffSidebarModule,
132
- DaffNavbarModule,
133
- ],
134
- declarations: [
135
- SideFixedSidebarComponent,
136
- ],
137
- exports: [
138
- SideFixedSidebarComponent,
139
- ],
140
- }]
55
+ args: [{ selector: 'side-fixed-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffSidebarModule, DaffNavbarModule], template: "<daff-sidebar-viewport navPlacement=\"beside\">\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"side-fixed-sidebar\">\n Fixed sidebar content\n </daff-sidebar>\n <nav daff-sidebar-viewport-nav daff-navbar>Navbar</nav>\n <div class=\"content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.side-fixed-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{padding:24px;height:480px}\n"] }]
141
56
  }] });
142
57
 
143
58
  class SidebarWithStickyContentComponent {
144
59
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SidebarWithStickyContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
145
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: SidebarWithStickyContentComponent, selector: "sidebar-with-sticky-content", ngImport: i0, template: "<daff-sidebar-viewport>\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"sidebar-with-sticky-content\">\n Fixed sidebar content\n </daff-sidebar>\n <div class=\"content\">\n <div class=\"sticky\">\n <div>Sticky content</div>\n </div>\n <div class=\"inner-content\">Inner content</div>\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.sidebar-with-sticky-content{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{height:480px}.sticky{position:sticky;background:#fafafa;padding:16px;top:0}.inner-content{padding:16px}\n"], dependencies: [{ kind: "component", type: i3.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode", "open"], outputs: ["escapePressed"] }, { kind: "component", type: i3.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
60
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: SidebarWithStickyContentComponent, isStandalone: true, selector: "sidebar-with-sticky-content", ngImport: i0, template: "<daff-sidebar-viewport>\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"sidebar-with-sticky-content\">\n Fixed sidebar content\n </daff-sidebar>\n <div class=\"content\">\n <div class=\"sticky\">\n <div>Sticky content</div>\n </div>\n <div class=\"inner-content\">Inner content</div>\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.sidebar-with-sticky-content{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{height:480px}.sticky{position:sticky;background:#fafafa;padding:16px;top:0}.inner-content{padding:16px}\n"], dependencies: [{ kind: "ngmodule", type: DaffSidebarModule }, { kind: "component", type: i1.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode", "open"], outputs: ["escapePressed"] }, { kind: "component", type: i1.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
146
61
  }
147
62
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SidebarWithStickyContentComponent, decorators: [{
148
63
  type: Component,
149
- args: [{ selector: 'sidebar-with-sticky-content', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-sidebar-viewport>\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"sidebar-with-sticky-content\">\n Fixed sidebar content\n </daff-sidebar>\n <div class=\"content\">\n <div class=\"sticky\">\n <div>Sticky content</div>\n </div>\n <div class=\"inner-content\">Inner content</div>\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.sidebar-with-sticky-content{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{height:480px}.sticky{position:sticky;background:#fafafa;padding:16px;top:0}.inner-content{padding:16px}\n"] }]
150
- }] });
151
-
152
- class SidebarWithStickyContentModule {
153
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SidebarWithStickyContentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
154
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: SidebarWithStickyContentModule, declarations: [SidebarWithStickyContentComponent], imports: [DaffSidebarModule,
155
- DaffNavbarModule], exports: [SidebarWithStickyContentComponent] }); }
156
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SidebarWithStickyContentModule, imports: [DaffSidebarModule,
157
- DaffNavbarModule] }); }
158
- }
159
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SidebarWithStickyContentModule, decorators: [{
160
- type: NgModule,
161
- args: [{
162
- imports: [
163
- DaffSidebarModule,
164
- DaffNavbarModule,
165
- ],
166
- declarations: [
167
- SidebarWithStickyContentComponent,
168
- ],
169
- exports: [
170
- SidebarWithStickyContentComponent,
171
- ],
172
- }]
64
+ args: [{ selector: 'sidebar-with-sticky-content', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DaffSidebarModule], template: "<daff-sidebar-viewport>\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"sidebar-with-sticky-content\">\n Fixed sidebar content\n </daff-sidebar>\n <div class=\"content\">\n <div class=\"sticky\">\n <div>Sticky content</div>\n </div>\n <div class=\"inner-content\">Inner content</div>\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.sidebar-with-sticky-content{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{height:480px}.sticky{position:sticky;background:#fafafa;padding:16px;top:0}.inner-content{padding:16px}\n"] }]
173
65
  }] });
174
66
 
175
67
  const SIDEBAR_EXAMPLES = [
176
- { component: BasicSidebarComponent, module: BasicSidebarModule },
177
- { component: SideFixedSidebarComponent, module: SideFixedSidebarModule },
178
- { component: OverandUnderSidebarsComponent, module: OverandUnderSidebarsModule },
179
- { component: SidebarWithStickyContentComponent, module: SidebarWithStickyContentModule },
68
+ BasicSidebarComponent,
69
+ OverandUnderSidebarsComponent,
70
+ SideFixedSidebarComponent,
71
+ SidebarWithStickyContentComponent,
180
72
  ];
181
73
 
182
74
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-sidebar-examples.mjs","sources":["../../../libs/design/sidebar/examples/src/basic-sidebar/basic-sidebar.component.ts","../../../libs/design/sidebar/examples/src/basic-sidebar/basic-sidebar.component.html","../../../libs/design/sidebar/examples/src/basic-sidebar/basic-sidebar.module.ts","../../../libs/design/sidebar/examples/src/over-and-under-sidebars/over-and-under-sidebars.component.ts","../../../libs/design/sidebar/examples/src/over-and-under-sidebars/over-and-under-sidebars.component.html","../../../libs/design/sidebar/examples/src/over-and-under-sidebars/over-and-under-sidebars.module.ts","../../../libs/design/sidebar/examples/src/side-fixed-sidebar/side-fixed-sidebar.component.ts","../../../libs/design/sidebar/examples/src/side-fixed-sidebar/side-fixed-sidebar.component.html","../../../libs/design/sidebar/examples/src/side-fixed-sidebar/side-fixed-sidebar.module.ts","../../../libs/design/sidebar/examples/src/sidebar-with-sticky-content/sidebar-with-sticky-content.component.ts","../../../libs/design/sidebar/examples/src/sidebar-with-sticky-content/sidebar-with-sticky-content.component.html","../../../libs/design/sidebar/examples/src/sidebar-with-sticky-content/sidebar-with-sticky-content.module.ts","../../../libs/design/sidebar/examples/src/public_api.ts","../../../libs/design/sidebar/examples/src/daffodil-design-sidebar-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-sidebar',\n templateUrl: './basic-sidebar.component.html',\n styleUrls: ['./basic-sidebar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicSidebarComponent {\n\n}\n","<daff-sidebar-viewport>\n <daff-sidebar class=\"basic-sidebar\">\n Sidebar content\n </daff-sidebar>\n <div class=\"basic-sidebar__content\">\n Page content\n </div>\n</daff-sidebar-viewport>","import { NgModule } from '@angular/core';\n\nimport { DaffLinkSetModule } from '@daffodil/design/link-set';\nimport { DaffNavbarModule } from '@daffodil/design/navbar';\nimport { DaffSidebarModule } from '@daffodil/design/sidebar';\n\nimport { BasicSidebarComponent } from './basic-sidebar.component';\n\n@NgModule({\n imports: [\n DaffSidebarModule,\n DaffNavbarModule,\n DaffLinkSetModule,\n ],\n declarations: [\n BasicSidebarComponent,\n ],\n exports: [\n BasicSidebarComponent,\n ],\n})\nexport class BasicSidebarModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { faTimes } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'over-and-under-sidebars',\n templateUrl: './over-and-under-sidebars.component.html',\n styleUrls: ['over-and-under-sidebars.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class OverandUnderSidebarsComponent {\n faTimes = faTimes;\n\n open = false;\n\n sideControl: FormControl = new FormControl('left');\n modeControl: FormControl = new FormControl('over');\n\n openSidebar() {\n this.open = !this.open;\n }\n\n closeSidebar() {\n this.open = false;\n }\n}\n","<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" [mode]=\"modeControl.value\" [side]=\"sideControl.value\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header>\n <button daff-icon-button color=\"theme-contrast\" daffSidebarHeaderAction (click)=\"closeSidebar()\">\n <fa-icon [icon]=\"faTimes\" size=\"sm\"></fa-icon>\n </button>\n <div daffSidebarHeaderTitle>Title</div>\n </daff-sidebar-header>\n <div class=\"over-and-under-sidebars__sidebar-content\">\n Sidebar content\n </div>\n <daff-sidebar-footer>\n <div class=\"over-and-under-sidebars__footer\">\n Sidebar footer\n </div>\n </daff-sidebar-footer>\n </daff-sidebar>\n <div class=\"over-and-under-sidebars__body-content\">\n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Side:</div>\n <select [formControl]=\"sideControl\">\n <option value=\"left\">Left</option>\n <option value=\"right\">Right</option>\n </select>\n </div>\n \n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Mode:</div>\n <select [formControl]=\"modeControl\">\n <option value=\"over\">Over</option>\n <option value=\"under\">Under</option>\n </select>\n </div>\n\n <button daff-button (click)=\"openSidebar()\">\n Open\n </button>\n </div>\n</daff-sidebar-viewport>\n","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffLinkSetModule } from '@daffodil/design/link-set';\nimport { DaffNavbarModule } from '@daffodil/design/navbar';\nimport { DaffSidebarModule } from '@daffodil/design/sidebar';\n\nimport { OverandUnderSidebarsComponent } from './over-and-under-sidebars.component';\n\n@NgModule({\n imports: [\n ReactiveFormsModule,\n FontAwesomeModule,\n\n DaffSidebarModule,\n DaffNavbarModule,\n DaffButtonModule,\n DaffLinkSetModule,\n ],\n declarations: [\n OverandUnderSidebarsComponent,\n ],\n exports: [\n OverandUnderSidebarsComponent,\n ],\n})\nexport class OverandUnderSidebarsModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'side-fixed-sidebar',\n templateUrl: './side-fixed-sidebar.component.html',\n styleUrls: ['side-fixed-sidebar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SideFixedSidebarComponent {}\n","<daff-sidebar-viewport navPlacement=\"beside\">\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"side-fixed-sidebar\">\n Fixed sidebar content\n </daff-sidebar>\n <nav daff-sidebar-viewport-nav daff-navbar>Navbar</nav>\n <div class=\"content\">\n Page content\n </div>\n</daff-sidebar-viewport>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffNavbarModule } from '@daffodil/design/navbar';\nimport { DaffSidebarModule } from '@daffodil/design/sidebar';\n\nimport { SideFixedSidebarComponent } from './side-fixed-sidebar.component';\n\n@NgModule({\n imports: [\n CommonModule,\n\n DaffSidebarModule,\n DaffNavbarModule,\n ],\n declarations: [\n SideFixedSidebarComponent,\n ],\n exports: [\n SideFixedSidebarComponent,\n ],\n})\nexport class SideFixedSidebarModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'sidebar-with-sticky-content',\n templateUrl: './sidebar-with-sticky-content.component.html',\n styleUrls: ['sidebar-with-sticky-content.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SidebarWithStickyContentComponent {}\n","<daff-sidebar-viewport>\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"sidebar-with-sticky-content\">\n Fixed sidebar content\n </daff-sidebar>\n <div class=\"content\">\n <div class=\"sticky\">\n <div>Sticky content</div>\n </div>\n <div class=\"inner-content\">Inner content</div>\n </div>\n</daff-sidebar-viewport>","import { NgModule } from '@angular/core';\n\nimport { DaffNavbarModule } from '@daffodil/design/navbar';\nimport { DaffSidebarModule } from '@daffodil/design/sidebar';\n\nimport { SidebarWithStickyContentComponent } from './sidebar-with-sticky-content.component';\n\n@NgModule({\n imports: [\n DaffSidebarModule,\n DaffNavbarModule,\n ],\n declarations: [\n SidebarWithStickyContentComponent,\n ],\n exports: [\n SidebarWithStickyContentComponent,\n ],\n})\nexport class SidebarWithStickyContentModule { }\n","import { ComponentExample } from '@daffodil/design';\n\nimport { BasicSidebarComponent } from './basic-sidebar/basic-sidebar.component';\nimport { BasicSidebarModule } from './basic-sidebar/basic-sidebar.module';\nimport { OverandUnderSidebarsComponent } from './over-and-under-sidebars/over-and-under-sidebars.component';\nimport { OverandUnderSidebarsModule } from './over-and-under-sidebars/over-and-under-sidebars.module';\nimport { SideFixedSidebarComponent } from './side-fixed-sidebar/side-fixed-sidebar.component';\nimport { SideFixedSidebarModule } from './side-fixed-sidebar/side-fixed-sidebar.module';\nimport { SidebarWithStickyContentComponent } from './sidebar-with-sticky-content/sidebar-with-sticky-content.component';\nimport { SidebarWithStickyContentModule } from './sidebar-with-sticky-content/sidebar-with-sticky-content.module';\n\nexport const SIDEBAR_EXAMPLES: ComponentExample[] = [\n { component: BasicSidebarComponent, module: BasicSidebarModule },\n { component: SideFixedSidebarComponent, module: SideFixedSidebarModule },\n { component: OverandUnderSidebarsComponent, module: OverandUnderSidebarsModule },\n { component: SidebarWithStickyContentComponent, module: SidebarWithStickyContentModule },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;;;;;;MAYa,qBAAqB,CAAA;kIAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAArB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,qBAAqB,qDCZlC,2MAOwB,EAAA,MAAA,EAAA,CAAA,oHAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,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AAiC,CAAA,EAAA,OAAA,EAAA,CAJjC,iBAAiB;AACjB,YAAA,gBAAgB,aAMhB,iCAAiC,CAAA,EAAA,CAAA,CAAA,EAAA;AAGxB,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,8BAA8B,YAVvC,iBAAiB;YACjB,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;;4FASP,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAZ1C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,iBAAiB;wBACjB,gBAAgB;AACjB,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,iCAAiC;AAClC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,iCAAiC;AAClC,qBAAA;AACF,iBAAA,CAAA;;;ACPY,MAAA,gBAAgB,GAAuB;AAClD,IAAA,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,EAAE,kBAAkB,EAAE;AAChE,IAAA,EAAE,SAAS,EAAE,yBAAyB,EAAE,MAAM,EAAE,sBAAsB,EAAE;AACxE,IAAA,EAAE,SAAS,EAAE,6BAA6B,EAAE,MAAM,EAAE,0BAA0B,EAAE;AAChF,IAAA,EAAE,SAAS,EAAE,iCAAiC,EAAE,MAAM,EAAE,8BAA8B,EAAE;;;ACf1F;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-sidebar-examples.mjs","sources":["../../../libs/design/sidebar/examples/src/basic-sidebar/basic-sidebar.component.ts","../../../libs/design/sidebar/examples/src/basic-sidebar/basic-sidebar.component.html","../../../libs/design/sidebar/examples/src/over-and-under-sidebars/over-and-under-sidebars.component.ts","../../../libs/design/sidebar/examples/src/over-and-under-sidebars/over-and-under-sidebars.component.html","../../../libs/design/sidebar/examples/src/side-fixed-sidebar/side-fixed-sidebar.component.ts","../../../libs/design/sidebar/examples/src/side-fixed-sidebar/side-fixed-sidebar.component.html","../../../libs/design/sidebar/examples/src/sidebar-with-sticky-content/sidebar-with-sticky-content.component.ts","../../../libs/design/sidebar/examples/src/sidebar-with-sticky-content/sidebar-with-sticky-content.component.html","../../../libs/design/sidebar/examples/src/public_api.ts","../../../libs/design/sidebar/examples/src/daffodil-design-sidebar-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DaffSidebarModule } from '@daffodil/design/sidebar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-sidebar',\n templateUrl: './basic-sidebar.component.html',\n styleUrls: ['./basic-sidebar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffSidebarModule],\n})\nexport class BasicSidebarComponent {\n\n}\n","<daff-sidebar-viewport>\n <daff-sidebar class=\"basic-sidebar\">\n Sidebar content\n </daff-sidebar>\n <div class=\"basic-sidebar__content\">\n Page content\n </div>\n</daff-sidebar-viewport>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n FormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faTimes } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffSidebarModule } from '@daffodil/design/sidebar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'over-and-under-sidebars',\n templateUrl: './over-and-under-sidebars.component.html',\n styleUrls: ['over-and-under-sidebars.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n DaffSidebarModule,\n DaffButtonModule,\n FaIconComponent,\n ReactiveFormsModule,\n ],\n})\nexport class OverandUnderSidebarsComponent {\n faTimes = faTimes;\n\n open = false;\n\n sideControl: FormControl = new FormControl('left');\n modeControl: FormControl = new FormControl('over');\n\n openSidebar() {\n this.open = !this.open;\n }\n\n closeSidebar() {\n this.open = false;\n }\n}\n","<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" [mode]=\"modeControl.value\" [side]=\"sideControl.value\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header>\n <button daff-icon-button color=\"theme-contrast\" daffSidebarHeaderAction (click)=\"closeSidebar()\">\n <fa-icon [icon]=\"faTimes\" size=\"sm\"></fa-icon>\n </button>\n <div daffSidebarHeaderTitle>Title</div>\n </daff-sidebar-header>\n <div class=\"over-and-under-sidebars__sidebar-content\">\n Sidebar content\n </div>\n <daff-sidebar-footer>\n <div class=\"over-and-under-sidebars__footer\">\n Sidebar footer\n </div>\n </daff-sidebar-footer>\n </daff-sidebar>\n <div class=\"over-and-under-sidebars__body-content\">\n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Side:</div>\n <select [formControl]=\"sideControl\">\n <option value=\"left\">Left</option>\n <option value=\"right\">Right</option>\n </select>\n </div>\n \n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Mode:</div>\n <select [formControl]=\"modeControl\">\n <option value=\"over\">Over</option>\n <option value=\"under\">Under</option>\n </select>\n </div>\n\n <button daff-button (click)=\"openSidebar()\">\n Open\n </button>\n </div>\n</daff-sidebar-viewport>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DaffNavbarModule } from '@daffodil/design/navbar';\nimport { DaffSidebarModule } from '@daffodil/design/sidebar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'side-fixed-sidebar',\n templateUrl: './side-fixed-sidebar.component.html',\n styleUrls: ['side-fixed-sidebar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffSidebarModule, DaffNavbarModule],\n})\nexport class SideFixedSidebarComponent {}\n","<daff-sidebar-viewport navPlacement=\"beside\">\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"side-fixed-sidebar\">\n Fixed sidebar content\n </daff-sidebar>\n <nav daff-sidebar-viewport-nav daff-navbar>Navbar</nav>\n <div class=\"content\">\n Page content\n </div>\n</daff-sidebar-viewport>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DaffSidebarModule } from '@daffodil/design/sidebar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'sidebar-with-sticky-content',\n templateUrl: './sidebar-with-sticky-content.component.html',\n styleUrls: ['sidebar-with-sticky-content.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [DaffSidebarModule],\n})\nexport class SidebarWithStickyContentComponent {}\n","<daff-sidebar-viewport>\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"sidebar-with-sticky-content\">\n Fixed sidebar content\n </daff-sidebar>\n <div class=\"content\">\n <div class=\"sticky\">\n <div>Sticky content</div>\n </div>\n <div class=\"inner-content\">Inner content</div>\n </div>\n</daff-sidebar-viewport>","import { BasicSidebarComponent } from './basic-sidebar/basic-sidebar.component';\nimport { OverandUnderSidebarsComponent } from './over-and-under-sidebars/over-and-under-sidebars.component';\nimport { SideFixedSidebarComponent } from './side-fixed-sidebar/side-fixed-sidebar.component';\nimport { SidebarWithStickyContentComponent } from './sidebar-with-sticky-content/sidebar-with-sticky-content.component';\n\nexport const SIDEBAR_EXAMPLES = [\n BasicSidebarComponent,\n OverandUnderSidebarsComponent,\n SideFixedSidebarComponent,\n SidebarWithStickyContentComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2"],"mappings":";;;;;;;;;;;;;MAgBa,qBAAqB,CAAA;kIAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;sHAArB,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AAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,4BAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,CAAA,cAAA,CAAA,EAAA,OAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAEhB,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAT7C,SAAS;+BAEE,6BAA6B,EAAA,eAAA,EAGtB,uBAAuB,CAAC,MAAM,cACnC,IAAI,EAAA,OAAA,EACP,CAAC,iBAAiB,CAAC,EAAA,QAAA,EAAA,iWAAA,EAAA,MAAA,EAAA,CAAA,kPAAA,CAAA,EAAA,CAAA;;;AETjB,MAAA,gBAAgB,GAAG;IAC9B,qBAAqB;IACrB,6BAA6B;IAC7B,yBAAyB;IACzB,iCAAiC;;;ACTnC;;AAEG;;;;"}
@@ -2,8 +2,8 @@ import * as i1 from '@angular/cdk/a11y';
2
2
  import { A11yModule } from '@angular/cdk/a11y';
3
3
  import { DOCUMENT, CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { EventEmitter, Component, ChangeDetectionStrategy, Inject, HostBinding, Output, Input, HostListener, Directive, ViewEncapsulation, InjectionToken, inject, ElementRef, SkipSelf, Optional, ContentChildren, NgModule } from '@angular/core';
6
- import { fromEvent } from 'rxjs';
5
+ import { EventEmitter, Component, ChangeDetectionStrategy, Inject, HostBinding, Output, Input, HostListener, Directive, ViewEncapsulation, InjectionToken, inject, ElementRef, SkipSelf, Optional, ContentChildren, NgModule, signal } from '@angular/core';
6
+ import { fromEvent, BehaviorSubject } from 'rxjs';
7
7
  import { filter } from 'rxjs/operators';
8
8
  import * as i2 from '@daffodil/design';
9
9
  import { daffFocusableElementsSelector } from '@daffodil/design';
@@ -687,7 +687,7 @@ class DaffSidebarViewportComponent {
687
687
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffSidebarViewportComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: DAFF_SIDEBAR_SCROLL_TOKEN, skipSelf: true }, { token: DaffSidebarViewportComponent, optional: true, skipSelf: true }, { token: DAFF_SIDEBAR_SCROLL_TOKEN }], target: i0.ɵɵFactoryTarget.Component }); }
688
688
  /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: { navPlacement: "navPlacement" }, outputs: { backdropClicked: "backdropClicked" }, host: { properties: { "class.daff-sidebar-viewport": "this.hostClass", "class": "this.classes" } }, providers: [
689
689
  { provide: DAFF_SIDEBAR_SCROLL_TOKEN, useFactory: daffSidebarViewportScrollFactory },
690
- ], queries: [{ propertyName: "sidebars", predicate: DaffSidebarComponent }], ngImport: i0, template: "<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", styles: [":host{display:flex;min-height:100dvh;position:relative;width:100%;z-index:1}.daff-sidebar-viewport__content{flex:0 1 auto;width:100%;z-index:3;height:100%}.daff-sidebar-viewport__nav{position:fixed;top:0;width:100%;z-index:4}.daff-sidebar-viewport__nav:empty{display:none}.daff-sidebar-viewport__nav:not(:empty)+.daff-sidebar-viewport__content{margin-top:var(--daff-sidebar-side-fixed-top-shift)}:host-context(daff-sidebar-viewport daff-sidebar-viewport){transform:translate(0);min-height:auto}:host-context(daff-sidebar-viewport daff-sidebar-viewport) .daff-sidebar-viewport__inner{padding-left:0!important;padding-right:0!important}\n"], dependencies: [{ kind: "component", type: DaffSidebarViewportBackdropComponent, selector: "daff-sidebar-viewport-backdrop", inputs: ["transparent", "interactable", "fullscreen"], outputs: ["backdropClicked"] }], animations: [
690
+ ], queries: [{ propertyName: "sidebars", predicate: DaffSidebarComponent }], ngImport: i0, template: "<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", styles: [":host{display:flex;min-height:100dvh;position:relative;width:100%;z-index:1}.daff-sidebar-viewport__content{flex:0 1 auto;width:100%;z-index:3;min-height:100%}.daff-sidebar-viewport__nav{position:fixed;top:0;width:100%;z-index:4}.daff-sidebar-viewport__nav:empty{display:none}.daff-sidebar-viewport__nav:not(:empty)+.daff-sidebar-viewport__content{margin-top:var(--daff-sidebar-side-fixed-top-shift)}:host-context(daff-sidebar-viewport daff-sidebar-viewport){transform:translate(0);min-height:auto}:host-context(daff-sidebar-viewport daff-sidebar-viewport) .daff-sidebar-viewport__inner{padding-left:0!important;padding-right:0!important}\n"], dependencies: [{ kind: "component", type: DaffSidebarViewportBackdropComponent, selector: "daff-sidebar-viewport-backdrop", inputs: ["transparent", "interactable", "fullscreen"], outputs: ["backdropClicked"] }], animations: [
691
691
  daffSidebarAnimations.transformContent,
692
692
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
693
693
  }
@@ -697,7 +697,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
697
697
  daffSidebarAnimations.transformContent,
698
698
  ], providers: [
699
699
  { provide: DAFF_SIDEBAR_SCROLL_TOKEN, useFactory: daffSidebarViewportScrollFactory },
700
- ], template: "<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", styles: [":host{display:flex;min-height:100dvh;position:relative;width:100%;z-index:1}.daff-sidebar-viewport__content{flex:0 1 auto;width:100%;z-index:3;height:100%}.daff-sidebar-viewport__nav{position:fixed;top:0;width:100%;z-index:4}.daff-sidebar-viewport__nav:empty{display:none}.daff-sidebar-viewport__nav:not(:empty)+.daff-sidebar-viewport__content{margin-top:var(--daff-sidebar-side-fixed-top-shift)}:host-context(daff-sidebar-viewport daff-sidebar-viewport){transform:translate(0);min-height:auto}:host-context(daff-sidebar-viewport daff-sidebar-viewport) .daff-sidebar-viewport__inner{padding-left:0!important;padding-right:0!important}\n"] }]
700
+ ], template: "<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", styles: [":host{display:flex;min-height:100dvh;position:relative;width:100%;z-index:1}.daff-sidebar-viewport__content{flex:0 1 auto;width:100%;z-index:3;min-height:100%}.daff-sidebar-viewport__nav{position:fixed;top:0;width:100%;z-index:4}.daff-sidebar-viewport__nav:empty{display:none}.daff-sidebar-viewport__nav:not(:empty)+.daff-sidebar-viewport__content{margin-top:var(--daff-sidebar-side-fixed-top-shift)}:host-context(daff-sidebar-viewport daff-sidebar-viewport){transform:translate(0);min-height:auto}:host-context(daff-sidebar-viewport daff-sidebar-viewport) .daff-sidebar-viewport__inner{padding-left:0!important;padding-right:0!important}\n"] }]
701
701
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
702
702
  type: Inject,
703
703
  args: [DAFF_SIDEBAR_SCROLL_TOKEN]
@@ -775,9 +775,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
775
775
  }]
776
776
  }] });
777
777
 
778
+ /**
779
+ * A service that stores the open state and ID of the currently opened sidebar.
780
+ *
781
+ * A default sidebar ID can be passed to the constructor that will be the initial value of `$id`.
782
+ */
783
+ class DaffSidebarService {
784
+ get isOpen() {
785
+ return this._open.asReadonly();
786
+ }
787
+ constructor(defaultId = null) {
788
+ this._open = signal(false);
789
+ this._id$ = new BehaviorSubject(defaultId);
790
+ this.id$ = this._id$.asObservable();
791
+ }
792
+ /**
793
+ * Opens the specified sidebar.
794
+ *
795
+ * @param id The optional sidebar ID. If omitted the most recently passed opened sidebar ID will persist (or the default if none was passed).
796
+ */
797
+ open(id) {
798
+ if (id) {
799
+ this._id$.next(id);
800
+ }
801
+ this._open.set(true);
802
+ }
803
+ ;
804
+ /**
805
+ * Closes the sidebar. Does not clear the ID.
806
+ */
807
+ close() {
808
+ this._open.set(false);
809
+ }
810
+ }
811
+
812
+ const DOCKED_MODES = [
813
+ "side" /* DaffSidebarModeEnum.Side */,
814
+ "side-fixed" /* DaffSidebarModeEnum.SideFixed */,
815
+ ];
816
+ /**
817
+ * Returns whether the passed mode is a docked mode, i.e. side or side-fixed.
818
+ */
819
+ const daffSidebarIsDockedMode = (mode) => DOCKED_MODES.includes(mode);
820
+
821
+ const FLOATING_MODES = [
822
+ "under" /* DaffSidebarModeEnum.Under */,
823
+ "over" /* DaffSidebarModeEnum.Over */,
824
+ ];
825
+ /**
826
+ * Returns whether the passed mode is a floating mode, i.e. under or over.
827
+ */
828
+ const daffSidebarIsFloatingMode = (mode) => FLOATING_MODES.includes(mode);
829
+
778
830
  /**
779
831
  * Generated bundle index. Do not edit.
780
832
  */
781
833
 
782
- export { DaffSidebarComponent, DaffSidebarFooterComponent, DaffSidebarHeaderActionDirective, DaffSidebarHeaderComponent, DaffSidebarHeaderTitleDirective, DaffSidebarModule, DaffSidebarViewportBackdropComponent, DaffSidebarViewportComponent };
834
+ export { DaffSidebarComponent, DaffSidebarFooterComponent, DaffSidebarHeaderActionDirective, DaffSidebarHeaderComponent, DaffSidebarHeaderTitleDirective, DaffSidebarModule, DaffSidebarService, DaffSidebarViewportBackdropComponent, DaffSidebarViewportComponent, daffSidebarIsDockedMode, daffSidebarIsFloatingMode };
783
835
  //# sourceMappingURL=daffodil-design-sidebar.mjs.map