@daffodil/design 0.70.0 → 0.71.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 (407) hide show
  1. package/accordion/README.md +13 -16
  2. package/accordion/accordion/accordion-item/accordion-item.component.d.ts +7 -1
  3. package/accordion/accordion/accordion-item-content/accordion-item-content.directive.d.ts +3 -0
  4. package/accordion/src/accordion-theme.scss +11 -1
  5. package/esm2022/accordion/accordion/accordion/accordion.component.mjs +5 -5
  6. package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +21 -7
  7. package/esm2022/accordion/accordion/accordion-item-content/accordion-item-content.directive.mjs +7 -4
  8. package/esm2022/accordion/accordion/accordion-item-title/accordion-item-title.directive.mjs +4 -4
  9. package/esm2022/accordion/accordion.module.mjs +5 -5
  10. package/esm2022/accordion/examples/accordion-examples.module.mjs +5 -5
  11. package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +5 -5
  12. package/esm2022/article/article/article.component.mjs +4 -4
  13. package/esm2022/article/article-lead/article-lead.directive.mjs +4 -4
  14. package/esm2022/article/article-meta/article-meta.directive.mjs +4 -4
  15. package/esm2022/article/article-title/article-title.directive.mjs +4 -4
  16. package/esm2022/article/article.module.mjs +5 -5
  17. package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +4 -4
  18. package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +4 -4
  19. package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +4 -4
  20. package/esm2022/article/examples/article-examples.module.mjs +5 -5
  21. package/esm2022/article/examples/article-headings/article-headings.component.mjs +4 -4
  22. package/esm2022/article/examples/article-hr/article-hr.component.mjs +4 -4
  23. package/esm2022/article/examples/article-lead/article-lead.component.mjs +4 -4
  24. package/esm2022/article/examples/article-link/article-link.component.mjs +4 -4
  25. package/esm2022/article/examples/article-meta/article-meta.component.mjs +4 -4
  26. package/esm2022/article/examples/article-ol/article-ol.component.mjs +4 -4
  27. package/esm2022/article/examples/article-table/article-table.component.mjs +4 -4
  28. package/esm2022/article/examples/article-ul/article-ul.component.mjs +4 -4
  29. package/esm2022/atoms/form/checkbox/checkbox.component.mjs +4 -4
  30. package/esm2022/atoms/form/checkbox/checkbox.module.mjs +5 -5
  31. package/esm2022/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +4 -4
  32. package/esm2022/atoms/form/checkbox-set/checkbox-set.component.mjs +4 -4
  33. package/esm2022/atoms/form/error-message/error-message.component.mjs +4 -4
  34. package/esm2022/atoms/form/error-message/error-message.module.mjs +5 -5
  35. package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +4 -4
  36. package/esm2022/atoms/form/form-field/form-field.module.mjs +5 -5
  37. package/esm2022/atoms/form/form-label/form-label.directive.mjs +4 -4
  38. package/esm2022/atoms/form/form-label/form-label.module.mjs +5 -5
  39. package/esm2022/atoms/form/input/input.component.mjs +4 -4
  40. package/esm2022/atoms/form/input/input.module.mjs +5 -5
  41. package/esm2022/atoms/form/native-select/native-select.component.mjs +4 -4
  42. package/esm2022/atoms/form/native-select/native-select.module.mjs +5 -5
  43. package/esm2022/atoms/form/quantity-field/quantity-field.component.mjs +4 -4
  44. package/esm2022/atoms/form/quantity-field/quantity-field.module.mjs +5 -5
  45. package/esm2022/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +4 -4
  46. package/esm2022/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +4 -4
  47. package/esm2022/atoms/form/radio/cva/radio-cva.directive.mjs +4 -4
  48. package/esm2022/atoms/form/radio/radio.component.mjs +4 -4
  49. package/esm2022/atoms/form/radio/radio.module.mjs +5 -5
  50. package/esm2022/atoms/form/radio/registry/radio-registry.mjs +4 -4
  51. package/esm2022/atoms/form/radio-set/radio-set.component.mjs +4 -4
  52. package/esm2022/atoms/progress-indicator/progress-indicator.component.mjs +4 -4
  53. package/esm2022/atoms/progress-indicator/progress-indicator.module.mjs +5 -5
  54. package/esm2022/button/button/button.component.mjs +4 -4
  55. package/esm2022/button/button.module.mjs +5 -5
  56. package/esm2022/button/examples/basic-button/basic-button.component.mjs +4 -4
  57. package/esm2022/button/examples/basic-button/basic-button.module.mjs +5 -5
  58. package/esm2022/button/examples/flat-button/flat-button.component.mjs +4 -4
  59. package/esm2022/button/examples/flat-button/flat-button.module.mjs +5 -5
  60. package/esm2022/button/examples/icon-button/icon-button.component.mjs +4 -4
  61. package/esm2022/button/examples/icon-button/icon-button.module.mjs +5 -5
  62. package/esm2022/button/examples/raised-button/raised-button.component.mjs +4 -4
  63. package/esm2022/button/examples/raised-button/raised-button.module.mjs +5 -5
  64. package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +4 -4
  65. package/esm2022/button/examples/sizeable-button/sizeable-button.module.mjs +5 -5
  66. package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +4 -4
  67. package/esm2022/button/examples/statusable-button/statusable-button.module.mjs +5 -5
  68. package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +4 -4
  69. package/esm2022/button/examples/stroked-button/stroked-button.module.mjs +5 -5
  70. package/esm2022/button/examples/underline-button/underline-button.component.mjs +4 -4
  71. package/esm2022/button/examples/underline-button/underline-button.module.mjs +5 -5
  72. package/esm2022/callout/callout/callout.component.mjs +4 -4
  73. package/esm2022/callout/callout-body/callout-body.directive.mjs +4 -4
  74. package/esm2022/callout/callout-icon/callout-icon.directive.mjs +4 -4
  75. package/esm2022/callout/callout-subtitle/callout-subtitle.directive.mjs +4 -4
  76. package/esm2022/callout/callout-tagline/callout-tagline.directive.mjs +4 -4
  77. package/esm2022/callout/callout-title/callout-title.directive.mjs +4 -4
  78. package/esm2022/callout/callout.module.mjs +5 -5
  79. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +4 -4
  80. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +5 -5
  81. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +4 -4
  82. package/esm2022/callout/examples/callout-theming/callout-theming.module.mjs +5 -5
  83. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +4 -4
  84. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.module.mjs +5 -5
  85. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +4 -4
  86. package/esm2022/callout/examples/compact-callout/compact-callout.module.mjs +5 -5
  87. package/esm2022/card/card/card.component.mjs +4 -4
  88. package/esm2022/card/card-actions/card-actions.directive.mjs +4 -4
  89. package/esm2022/card/card-content/card-content.directive.mjs +4 -4
  90. package/esm2022/card/card-icon/card-icon.directive.mjs +4 -4
  91. package/esm2022/card/card-image/card-image.directive.mjs +4 -4
  92. package/esm2022/card/card-tagline/card-tagline.directive.mjs +4 -4
  93. package/esm2022/card/card-title/card-title.directive.mjs +4 -4
  94. package/esm2022/card/card.module.mjs +5 -5
  95. package/esm2022/card/examples/basic-card/basic-card.component.mjs +4 -4
  96. package/esm2022/card/examples/basic-card/basic-card.module.mjs +5 -5
  97. package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +4 -4
  98. package/esm2022/card/examples/card-orientation/card-orientation.module.mjs +5 -5
  99. package/esm2022/card/examples/card-theming/card-theming.component.mjs +4 -4
  100. package/esm2022/card/examples/card-theming/card-theming.module.mjs +5 -5
  101. package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +4 -4
  102. package/esm2022/card/examples/linkable-card/linkable-card.module.mjs +5 -5
  103. package/esm2022/card/examples/raised-card/raised-card.component.mjs +4 -4
  104. package/esm2022/card/examples/raised-card/raised-card.module.mjs +5 -5
  105. package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +4 -4
  106. package/esm2022/card/examples/stroked-card/stroked-card.module.mjs +5 -5
  107. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +4 -4
  108. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +5 -5
  109. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +4 -4
  110. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.module.mjs +5 -5
  111. package/esm2022/container/container/container.component.mjs +4 -4
  112. package/esm2022/container/container.module.mjs +5 -5
  113. package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +4 -4
  114. package/esm2022/container/examples/container-sizes/container-sizes.module.mjs +5 -5
  115. package/esm2022/core/focus/stack.service.mjs +4 -4
  116. package/esm2022/core/prefix-suffix/prefix-suffix.module.mjs +5 -5
  117. package/esm2022/core/prefix-suffix/prefix.directive.mjs +4 -4
  118. package/esm2022/core/prefix-suffix/prefixable/prefixable.mjs +4 -4
  119. package/esm2022/core/prefix-suffix/suffix.directive.mjs +4 -4
  120. package/esm2022/core/prefix-suffix/suffixable/suffixable.mjs +4 -4
  121. package/esm2022/core/theming/services/class-setter/theme-class-setter.service.mjs +4 -4
  122. package/esm2022/core/theming/services/os-theme/ostheme.service.mjs +4 -4
  123. package/esm2022/core/theming/services/storage/theme-storage.service.mjs +4 -4
  124. package/esm2022/core/theming/services/theming.service.mjs +4 -4
  125. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +4 -4
  126. package/esm2022/hero/examples/compact-hero/compact-hero.module.mjs +5 -5
  127. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +4 -4
  128. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +5 -5
  129. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +4 -4
  130. package/esm2022/hero/examples/hero-theming/hero-theming.module.mjs +5 -5
  131. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +4 -4
  132. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.module.mjs +5 -5
  133. package/esm2022/hero/hero/hero.component.mjs +4 -4
  134. package/esm2022/hero/hero-body/hero-body.directive.mjs +4 -4
  135. package/esm2022/hero/hero-icon/hero-icon.directive.mjs +4 -4
  136. package/esm2022/hero/hero-subtitle/hero-subtitle.directive.mjs +4 -4
  137. package/esm2022/hero/hero-tagline/hero-tagline.directive.mjs +4 -4
  138. package/esm2022/hero/hero-title/hero-title.directive.mjs +4 -4
  139. package/esm2022/hero/hero.module.mjs +5 -5
  140. package/esm2022/image/examples/basic-image/basic-image.component.mjs +4 -4
  141. package/esm2022/image/examples/basic-image/basic-image.module.mjs +5 -5
  142. package/esm2022/image/examples/load-image/load-image.component.mjs +4 -4
  143. package/esm2022/image/examples/load-image/load-image.module.mjs +5 -5
  144. package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +4 -4
  145. package/esm2022/image/examples/skeleton-image/skeleton-image.module.mjs +5 -5
  146. package/esm2022/image/image/image.component.mjs +4 -4
  147. package/esm2022/image/image.module.mjs +5 -5
  148. package/esm2022/input/examples/basic-input/basic-input.component.mjs +4 -4
  149. package/esm2022/input/examples/basic-input/basic-input.module.mjs +5 -5
  150. package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +4 -4
  151. package/esm2022/input/examples/input-disabled/input-disabled.module.mjs +5 -5
  152. package/esm2022/input/examples/input-error/input-error.component.mjs +4 -4
  153. package/esm2022/input/examples/input-error/input-error.module.mjs +5 -5
  154. package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +4 -4
  155. package/esm2022/input/examples/input-with-form-field/input-with-form-field.module.mjs +5 -5
  156. package/esm2022/link-set/link-set/link-set.component.mjs +4 -4
  157. package/esm2022/link-set/link-set-heading/link-set-heading.directive.mjs +4 -4
  158. package/esm2022/link-set/link-set-item/link-set-item.component.mjs +4 -4
  159. package/esm2022/link-set/link-set-subheading/link-set-subheading.directive.mjs +4 -4
  160. package/esm2022/link-set/link-set.module.mjs +5 -5
  161. package/esm2022/list/examples/basic-list/basic-list.component.mjs +4 -4
  162. package/esm2022/list/examples/basic-list/basic-list.module.mjs +5 -5
  163. package/esm2022/list/examples/icon-list/icon-list.component.mjs +4 -4
  164. package/esm2022/list/examples/icon-list/icon-list.module.mjs +5 -5
  165. package/esm2022/list/examples/list-examples.module.mjs +5 -5
  166. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +4 -4
  167. package/esm2022/list/examples/multiline-list/multiline-list.module.mjs +5 -5
  168. package/esm2022/list/examples/nav-list/nav-list.component.mjs +4 -4
  169. package/esm2022/list/examples/nav-list/nav-list.module.mjs +5 -5
  170. package/esm2022/list/list/list.component.mjs +4 -4
  171. package/esm2022/list/list-item/list-item.component.mjs +4 -4
  172. package/esm2022/list/list-subheader/list-subheader.directive.mjs +4 -4
  173. package/esm2022/list/list.module.mjs +5 -5
  174. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +19 -11
  175. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +9 -9
  176. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +4 -4
  177. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +5 -5
  178. package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +4 -4
  179. package/esm2022/loading-icon/loading-icon.module.mjs +5 -5
  180. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +4 -4
  181. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +5 -5
  182. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +4 -4
  183. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +5 -5
  184. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +4 -4
  185. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +5 -5
  186. package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +4 -4
  187. package/esm2022/media-gallery/media-gallery.module.mjs +5 -5
  188. package/esm2022/media-gallery/media-renderer/media-renderer.component.mjs +4 -4
  189. package/esm2022/media-gallery/registry/media-gallery.registry.mjs +4 -4
  190. package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +4 -4
  191. package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +4 -4
  192. package/esm2022/menu/examples/basic-menu/basic-menu.module.mjs +5 -5
  193. package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +4 -4
  194. package/esm2022/menu/menu/menu.component.mjs +4 -4
  195. package/esm2022/menu/menu-activator/menu-activator.component.mjs +4 -4
  196. package/esm2022/menu/menu-item/menu-item.component.mjs +4 -4
  197. package/esm2022/menu/menu.module.mjs +5 -5
  198. package/esm2022/menu/services/menu.service.mjs +4 -4
  199. package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +5 -5
  200. package/esm2022/modal/examples/basic-modal/basic-modal.module.mjs +5 -5
  201. package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +4 -4
  202. package/esm2022/modal/modal/modal.component.mjs +20 -12
  203. package/esm2022/modal/modal-actions/modal-actions.component.mjs +4 -4
  204. package/esm2022/modal/modal-content/modal-content.component.mjs +4 -4
  205. package/esm2022/modal/modal-header/modal-header.component.mjs +4 -4
  206. package/esm2022/modal/modal-title/modal-title.directive.mjs +4 -4
  207. package/esm2022/modal/modal.module.mjs +11 -5
  208. package/esm2022/modal/service/modal.service.mjs +20 -21
  209. package/esm2022/molecules/button-set/button-set.component.mjs +4 -4
  210. package/esm2022/molecules/button-set/button-set.module.mjs +5 -5
  211. package/esm2022/molecules/feature/feature/feature.component.mjs +4 -4
  212. package/esm2022/molecules/feature/feature-icon/feature-icon.directive.mjs +4 -4
  213. package/esm2022/molecules/feature/feature-subheader/feature-subheader.directive.mjs +4 -4
  214. package/esm2022/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +4 -4
  215. package/esm2022/molecules/feature/feature-title/feature-title.directive.mjs +4 -4
  216. package/esm2022/molecules/feature/feature.module.mjs +5 -5
  217. package/esm2022/molecules/image-gallery/gallery-image/gallery-image.component.mjs +4 -4
  218. package/esm2022/molecules/image-gallery/image-gallery/image-gallery.component.mjs +4 -4
  219. package/esm2022/molecules/image-gallery/image-gallery.module.mjs +5 -5
  220. package/esm2022/molecules/image-list/image-list.component.mjs +4 -4
  221. package/esm2022/molecules/image-list/image-list.module.mjs +5 -5
  222. package/esm2022/molecules/qty-dropdown/qty-dropdown.component.mjs +4 -4
  223. package/esm2022/molecules/qty-dropdown/qty-dropdown.module.mjs +5 -5
  224. package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +4 -4
  225. package/esm2022/navbar/examples/basic-navbar/basic-navbar.module.mjs +5 -5
  226. package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +4 -4
  227. package/esm2022/navbar/examples/contained-navbar/contained-navbar.module.mjs +5 -5
  228. package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +4 -4
  229. package/esm2022/navbar/examples/navbar-theming/navbar-theming.module.mjs +5 -5
  230. package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +4 -4
  231. package/esm2022/navbar/examples/raised-navbar/raised-navbar.module.mjs +5 -5
  232. package/esm2022/navbar/navbar/navbar.component.mjs +4 -4
  233. package/esm2022/navbar/navbar.module.mjs +5 -5
  234. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +4 -4
  235. package/esm2022/notification/examples/default-notification/default-notification.module.mjs +5 -5
  236. package/esm2022/notification/examples/dismissable-notification/dismissable-notification.component.mjs +4 -4
  237. package/esm2022/notification/examples/dismissable-notification/dismissable-notification.module.mjs +5 -5
  238. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +4 -4
  239. package/esm2022/notification/examples/notification-orientations/notification-orientations.module.mjs +5 -5
  240. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +4 -4
  241. package/esm2022/notification/examples/notification-status/notification-status.module.mjs +5 -5
  242. package/esm2022/notification/notification/notification.component.mjs +4 -4
  243. package/esm2022/notification/notification-actions/notification-actions.directive.mjs +4 -4
  244. package/esm2022/notification/notification-message/notification-message.directive.mjs +4 -4
  245. package/esm2022/notification/notification-subtitle/notification-subtitle.directive.mjs +4 -4
  246. package/esm2022/notification/notification-title/notification-title.directive.mjs +4 -4
  247. package/esm2022/notification/notification.module.mjs +5 -5
  248. package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +4 -4
  249. package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +4 -4
  250. package/esm2022/paginator/examples/paginator-examples.module.mjs +5 -5
  251. package/esm2022/paginator/paginator/paginator.component.mjs +4 -4
  252. package/esm2022/paginator/paginator.module.mjs +5 -5
  253. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +4 -4
  254. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.module.mjs +5 -5
  255. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +4 -4
  256. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.module.mjs +5 -5
  257. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +4 -4
  258. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.module.mjs +5 -5
  259. package/esm2022/progress-bar/progress-bar.component.mjs +4 -4
  260. package/esm2022/progress-bar/progress-bar.module.mjs +5 -5
  261. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +4 -4
  262. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +5 -5
  263. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +4 -4
  264. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +5 -5
  265. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +4 -4
  266. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +5 -5
  267. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +4 -4
  268. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +5 -5
  269. package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +4 -4
  270. package/esm2022/radio/examples/basic-radio/basic-radio.module.mjs +5 -5
  271. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +4 -4
  272. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +5 -5
  273. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +4 -4
  274. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.mjs +5 -5
  275. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +4 -4
  276. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.mjs +5 -5
  277. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +4 -4
  278. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.mjs +5 -5
  279. package/esm2022/sidebar/sidebar/sidebar.component.mjs +4 -4
  280. package/esm2022/sidebar/sidebar-footer/sidebar-footer.component.mjs +4 -4
  281. package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs +4 -4
  282. package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs +4 -4
  283. package/esm2022/sidebar/sidebar-header/sidebar-header.component.mjs +4 -4
  284. package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +4 -4
  285. package/esm2022/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.mjs +4 -4
  286. package/esm2022/sidebar/sidebar.module.mjs +5 -5
  287. package/esm2022/toast/examples/default-toast/default-toast.component.mjs +4 -4
  288. package/esm2022/toast/examples/default-toast/default-toast.module.mjs +5 -5
  289. package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +4 -4
  290. package/esm2022/toast/examples/toast-positions/toast-positions.module.mjs +5 -5
  291. package/esm2022/toast/examples/toast-status/toast-status.component.mjs +4 -4
  292. package/esm2022/toast/examples/toast-status/toast-status.module.mjs +5 -5
  293. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +4 -4
  294. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.module.mjs +5 -5
  295. package/esm2022/toast/service/position.service.mjs +4 -4
  296. package/esm2022/toast/service/toast.service.mjs +4 -4
  297. package/esm2022/toast/toast/toast-template.component.mjs +4 -4
  298. package/esm2022/toast/toast/toast.component.mjs +4 -4
  299. package/esm2022/toast/toast-actions/toast-actions.directive.mjs +4 -4
  300. package/esm2022/toast/toast-message/toast-message.directive.mjs +4 -4
  301. package/esm2022/toast/toast-title/toast-title.directive.mjs +4 -4
  302. package/esm2022/toast/toast.module.mjs +5 -5
  303. package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +4 -4
  304. package/esm2022/tree/examples/basic-tree/basic-tree.module.mjs +5 -5
  305. package/esm2022/tree/tree/tree.component.mjs +4 -4
  306. package/esm2022/tree/tree-item/tree-item.directive.mjs +4 -4
  307. package/esm2022/tree/tree.module.mjs +5 -5
  308. package/fesm2022/daffodil-design-accordion-examples.mjs +8 -8
  309. package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -1
  310. package/fesm2022/daffodil-design-accordion.mjs +37 -20
  311. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  312. package/fesm2022/daffodil-design-article-examples.mjs +37 -37
  313. package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
  314. package/fesm2022/daffodil-design-article.mjs +16 -16
  315. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  316. package/fesm2022/daffodil-design-button-examples.mjs +56 -56
  317. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
  318. package/fesm2022/daffodil-design-button.mjs +7 -7
  319. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  320. package/fesm2022/daffodil-design-callout-examples.mjs +28 -28
  321. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  322. package/fesm2022/daffodil-design-callout.mjs +22 -22
  323. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  324. package/fesm2022/daffodil-design-card-examples.mjs +42 -42
  325. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
  326. package/fesm2022/daffodil-design-card.mjs +25 -25
  327. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  328. package/fesm2022/daffodil-design-checkbox-examples.mjs +14 -14
  329. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
  330. package/fesm2022/daffodil-design-container-examples.mjs +7 -7
  331. package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
  332. package/fesm2022/daffodil-design-container.mjs +7 -7
  333. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  334. package/fesm2022/daffodil-design-hero-examples.mjs +28 -28
  335. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  336. package/fesm2022/daffodil-design-hero.mjs +22 -22
  337. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  338. package/fesm2022/daffodil-design-image-examples.mjs +21 -21
  339. package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
  340. package/fesm2022/daffodil-design-image.mjs +7 -7
  341. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  342. package/fesm2022/daffodil-design-input-examples.mjs +28 -28
  343. package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
  344. package/fesm2022/daffodil-design-link-set.mjs +16 -16
  345. package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
  346. package/fesm2022/daffodil-design-list-examples.mjs +32 -32
  347. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
  348. package/fesm2022/daffodil-design-list.mjs +13 -13
  349. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  350. package/fesm2022/daffodil-design-loading-icon-examples.mjs +33 -25
  351. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
  352. package/fesm2022/daffodil-design-loading-icon.mjs +7 -7
  353. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
  354. package/fesm2022/daffodil-design-media-gallery-examples.mjs +21 -21
  355. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
  356. package/fesm2022/daffodil-design-media-gallery.mjs +16 -16
  357. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  358. package/fesm2022/daffodil-design-menu-examples.mjs +10 -10
  359. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
  360. package/fesm2022/daffodil-design-menu.mjs +16 -16
  361. package/fesm2022/daffodil-design-menu.mjs.map +1 -1
  362. package/fesm2022/daffodil-design-modal-examples.mjs +10 -10
  363. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
  364. package/fesm2022/daffodil-design-modal.mjs +104 -93
  365. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  366. package/fesm2022/daffodil-design-navbar-examples.mjs +28 -28
  367. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
  368. package/fesm2022/daffodil-design-navbar.mjs +7 -7
  369. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  370. package/fesm2022/daffodil-design-notification-examples.mjs +28 -28
  371. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  372. package/fesm2022/daffodil-design-notification.mjs +19 -19
  373. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  374. package/fesm2022/daffodil-design-paginator-examples.mjs +10 -10
  375. package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
  376. package/fesm2022/daffodil-design-paginator.mjs +7 -7
  377. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  378. package/fesm2022/daffodil-design-progress-bar-examples.mjs +21 -21
  379. package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
  380. package/fesm2022/daffodil-design-progress-bar.mjs +7 -7
  381. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  382. package/fesm2022/daffodil-design-quantity-field-examples.mjs +28 -28
  383. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
  384. package/fesm2022/daffodil-design-radio-examples.mjs +7 -7
  385. package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -1
  386. package/fesm2022/daffodil-design-sidebar-examples.mjs +28 -28
  387. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
  388. package/fesm2022/daffodil-design-sidebar.mjs +25 -25
  389. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  390. package/fesm2022/daffodil-design-toast-examples.mjs +28 -28
  391. package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
  392. package/fesm2022/daffodil-design-toast.mjs +25 -25
  393. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  394. package/fesm2022/daffodil-design-tree-examples.mjs +7 -7
  395. package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
  396. package/fesm2022/daffodil-design-tree.mjs +10 -10
  397. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  398. package/fesm2022/daffodil-design.mjs +165 -165
  399. package/fesm2022/daffodil-design.mjs.map +1 -1
  400. package/list/README.md +18 -58
  401. package/loading-icon/README.md +18 -5
  402. package/loading-icon/examples/loading-icon-color/loading-icon-color.component.d.ts +6 -2
  403. package/loading-icon/examples/loading-icon-color/loading-icon-color.module.d.ts +3 -3
  404. package/modal/examples/basic-modal/basic-modal.component.d.ts +2 -2
  405. package/modal/modal/modal.component.d.ts +5 -3
  406. package/modal/service/modal.service.d.ts +3 -3
  407. package/package.json +1 -1
@@ -14,10 +14,10 @@ class MenuContentComponent {
14
14
  this.faInfo = faInfo;
15
15
  this.faEnvelope = faEnvelope;
16
16
  }
17
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: MenuContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: MenuContentComponent, selector: "menu-content", ngImport: i0, template: "<daff-menu>\n <a href=\"#\" daff-menu-item>\n <fa-icon [icon]=\"faUser\" [fixedWidth]=\"true\"></fa-icon> My Account\n </a>\n <a href=\"#\" daff-menu-item>\n <fa-icon [icon]=\"faInfo\" [fixedWidth]=\"true\"></fa-icon> Help\n </a>\n <button daff-menu-item>\n <fa-icon [icon]=\"faEnvelope\" [fixedWidth]=\"true\"></fa-icon> Contact Us\n </button>\n</daff-menu>", dependencies: [{ kind: "component", type: i1.DaffMenuComponent, selector: "daff-menu" }, { kind: "component", type: i1.DaffMenuItemComponent, selector: "a[daff-menu-item],button[daff-menu-item]" }, { kind: "component", type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
17
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: MenuContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: MenuContentComponent, selector: "menu-content", ngImport: i0, template: "<daff-menu>\n <a href=\"#\" daff-menu-item>\n <fa-icon [icon]=\"faUser\" [fixedWidth]=\"true\"></fa-icon> My Account\n </a>\n <a href=\"#\" daff-menu-item>\n <fa-icon [icon]=\"faInfo\" [fixedWidth]=\"true\"></fa-icon> Help\n </a>\n <button daff-menu-item>\n <fa-icon [icon]=\"faEnvelope\" [fixedWidth]=\"true\"></fa-icon> Contact Us\n </button>\n</daff-menu>", dependencies: [{ kind: "component", type: i1.DaffMenuComponent, selector: "daff-menu" }, { kind: "component", type: i1.DaffMenuItemComponent, selector: "a[daff-menu-item],button[daff-menu-item]" }, { kind: "component", type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
19
19
  }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: MenuContentComponent, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: MenuContentComponent, decorators: [{
21
21
  type: Component,
22
22
  args: [{ selector: 'menu-content', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-menu>\n <a href=\"#\" daff-menu-item>\n <fa-icon [icon]=\"faUser\" [fixedWidth]=\"true\"></fa-icon> My Account\n </a>\n <a href=\"#\" daff-menu-item>\n <fa-icon [icon]=\"faInfo\" [fixedWidth]=\"true\"></fa-icon> Help\n </a>\n <button daff-menu-item>\n <fa-icon [icon]=\"faEnvelope\" [fixedWidth]=\"true\"></fa-icon> Contact Us\n </button>\n</daff-menu>" }]
23
23
  }] });
@@ -26,25 +26,25 @@ class BasicMenuComponent {
26
26
  constructor() {
27
27
  this.menu = MenuContentComponent;
28
28
  }
29
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
30
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: BasicMenuComponent, selector: "basic-menu", ngImport: i0, template: "<button daff-button color=\"theme\" [daffMenuActivator]=\"menu\">\n\tMenu\n</button>", dependencies: [{ kind: "component", type: i1$1.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }, { kind: "directive", type: i1.DaffMenuActivatorDirective, selector: "[daffMenuActivator]", inputs: ["daffMenuActivator"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
29
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
30
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: BasicMenuComponent, selector: "basic-menu", ngImport: i0, template: "<button daff-button color=\"theme\" [daffMenuActivator]=\"menu\">\n\tMenu\n</button>", dependencies: [{ kind: "component", type: i1$1.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }, { kind: "directive", type: i1.DaffMenuActivatorDirective, selector: "[daffMenuActivator]", inputs: ["daffMenuActivator"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
31
31
  }
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicMenuComponent, decorators: [{
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicMenuComponent, decorators: [{
33
33
  type: Component,
34
34
  args: [{ selector: 'basic-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button daff-button color=\"theme\" [daffMenuActivator]=\"menu\">\n\tMenu\n</button>" }]
35
35
  }] });
36
36
 
37
37
  class BasicMenuComponentModule {
38
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicMenuComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
39
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: BasicMenuComponentModule, declarations: [BasicMenuComponent,
38
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicMenuComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
39
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: BasicMenuComponentModule, declarations: [BasicMenuComponent,
40
40
  MenuContentComponent], imports: [DaffButtonModule,
41
41
  DaffMenuModule,
42
42
  FontAwesomeModule], exports: [BasicMenuComponent] }); }
43
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicMenuComponentModule, imports: [DaffButtonModule,
43
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicMenuComponentModule, imports: [DaffButtonModule,
44
44
  DaffMenuModule,
45
45
  FontAwesomeModule] }); }
46
46
  }
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicMenuComponentModule, decorators: [{
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicMenuComponentModule, decorators: [{
48
48
  type: NgModule,
49
49
  args: [{
50
50
  declarations: [
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-menu-examples.mjs","sources":["../../../libs/design/menu/examples/src/basic-menu/menu-content/menu-content.component.ts","../../../libs/design/menu/examples/src/basic-menu/menu-content/menu-content.component.html","../../../libs/design/menu/examples/src/basic-menu/basic-menu.component.ts","../../../libs/design/menu/examples/src/basic-menu/basic-menu.component.html","../../../libs/design/menu/examples/src/basic-menu/basic-menu.module.ts","../../../libs/design/menu/examples/src/public_api.ts","../../../libs/design/menu/examples/src/daffodil-design-menu-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n faEnvelope,\n faInfo,\n faUser,\n} from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'menu-content',\n templateUrl: './menu-content.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MenuContentComponent {\n faUser = faUser;\n faInfo = faInfo;\n faEnvelope = faEnvelope;\n}\n","<daff-menu>\n <a href=\"#\" daff-menu-item>\n <fa-icon [icon]=\"faUser\" [fixedWidth]=\"true\"></fa-icon> My Account\n </a>\n <a href=\"#\" daff-menu-item>\n <fa-icon [icon]=\"faInfo\" [fixedWidth]=\"true\"></fa-icon> Help\n </a>\n <button daff-menu-item>\n <fa-icon [icon]=\"faEnvelope\" [fixedWidth]=\"true\"></fa-icon> Contact Us\n </button>\n</daff-menu>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { MenuContentComponent } from './menu-content/menu-content.component';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-menu',\n templateUrl: './basic-menu.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicMenuComponent {\n public menu = MenuContentComponent;\n}\n","<button daff-button color=\"theme\" [daffMenuActivator]=\"menu\">\n\tMenu\n</button>","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffMenuModule } from '@daffodil/design/menu';\n\nimport { BasicMenuComponent } from './basic-menu.component';\nimport { MenuContentComponent } from './menu-content/menu-content.component';\n\n@NgModule({\n declarations: [\n BasicMenuComponent,\n MenuContentComponent,\n ],\n exports: [\n BasicMenuComponent,\n ],\n imports: [\n DaffButtonModule,\n DaffMenuModule,\n FontAwesomeModule,\n ],\n})\nexport class BasicMenuComponentModule { }\n","import { ComponentExample } from '@daffodil/design';\n\nimport { BasicMenuComponent } from './basic-menu/basic-menu.component';\nimport { BasicMenuComponentModule } from './basic-menu/basic-menu.module';\n\nexport const MENU_EXAMPLES: ComponentExample[] = [\n { component: BasicMenuComponent, module: BasicMenuComponentModule },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;MAgBa,oBAAoB,CAAA;AANjC,IAAA,WAAA,GAAA;QAOE,IAAM,CAAA,MAAA,GAAG,MAAM,CAAC;QAChB,IAAM,CAAA,MAAA,GAAG,MAAM,CAAC;QAChB,IAAU,CAAA,UAAA,GAAG,UAAU,CAAC;AACzB,KAAA;iIAJY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAApB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,oDChBjC,uXAUY,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,QAAA,EAAA,WAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,qBAAA,EAAA,QAAA,EAAA,0CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,OAAA,EAAA,WAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,EAAA,QAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,QAAA,EAAA,SAAA,EAAA,QAAA,EAAA,QAAA,EAAA,YAAA,EAAA,SAAA,EAAA,WAAA,EAAA,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,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAxB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,iBAZjC,kBAAkB;AAClB,YAAA,oBAAoB,aAMpB,gBAAgB;YAChB,cAAc;AACd,YAAA,iBAAiB,aALjB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;AAQT,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YALjC,gBAAgB;YAChB,cAAc;YACd,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGR,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAdpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,kBAAkB;wBAClB,oBAAoB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,gBAAgB;wBAChB,cAAc;wBACd,iBAAiB;AAClB,qBAAA;AACF,iBAAA,CAAA;;;ACjBY,MAAA,aAAa,GAAuB;AAC/C,IAAA,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,EAAE,wBAAwB,EAAE;;;ACNrE;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-menu-examples.mjs","sources":["../../../libs/design/menu/examples/src/basic-menu/menu-content/menu-content.component.ts","../../../libs/design/menu/examples/src/basic-menu/menu-content/menu-content.component.html","../../../libs/design/menu/examples/src/basic-menu/basic-menu.component.ts","../../../libs/design/menu/examples/src/basic-menu/basic-menu.component.html","../../../libs/design/menu/examples/src/basic-menu/basic-menu.module.ts","../../../libs/design/menu/examples/src/public_api.ts","../../../libs/design/menu/examples/src/daffodil-design-menu-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n faEnvelope,\n faInfo,\n faUser,\n} from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'menu-content',\n templateUrl: './menu-content.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MenuContentComponent {\n faUser = faUser;\n faInfo = faInfo;\n faEnvelope = faEnvelope;\n}\n","<daff-menu>\n <a href=\"#\" daff-menu-item>\n <fa-icon [icon]=\"faUser\" [fixedWidth]=\"true\"></fa-icon> My Account\n </a>\n <a href=\"#\" daff-menu-item>\n <fa-icon [icon]=\"faInfo\" [fixedWidth]=\"true\"></fa-icon> Help\n </a>\n <button daff-menu-item>\n <fa-icon [icon]=\"faEnvelope\" [fixedWidth]=\"true\"></fa-icon> Contact Us\n </button>\n</daff-menu>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { MenuContentComponent } from './menu-content/menu-content.component';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-menu',\n templateUrl: './basic-menu.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicMenuComponent {\n public menu = MenuContentComponent;\n}\n","<button daff-button color=\"theme\" [daffMenuActivator]=\"menu\">\n\tMenu\n</button>","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffMenuModule } from '@daffodil/design/menu';\n\nimport { BasicMenuComponent } from './basic-menu.component';\nimport { MenuContentComponent } from './menu-content/menu-content.component';\n\n@NgModule({\n declarations: [\n BasicMenuComponent,\n MenuContentComponent,\n ],\n exports: [\n BasicMenuComponent,\n ],\n imports: [\n DaffButtonModule,\n DaffMenuModule,\n FontAwesomeModule,\n ],\n})\nexport class BasicMenuComponentModule { }\n","import { ComponentExample } from '@daffodil/design';\n\nimport { BasicMenuComponent } from './basic-menu/basic-menu.component';\nimport { BasicMenuComponentModule } from './basic-menu/basic-menu.module';\n\nexport const MENU_EXAMPLES: ComponentExample[] = [\n { component: BasicMenuComponent, module: BasicMenuComponentModule },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;MAgBa,oBAAoB,CAAA;AANjC,IAAA,WAAA,GAAA;QAOE,IAAM,CAAA,MAAA,GAAG,MAAM,CAAC;QAChB,IAAM,CAAA,MAAA,GAAG,MAAM,CAAC;QAChB,IAAU,CAAA,UAAA,GAAG,UAAU,CAAC;AACzB,KAAA;kIAJY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAApB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,oBAAoB,oDChBjC,uXAUY,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,QAAA,EAAA,WAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,qBAAA,EAAA,QAAA,EAAA,0CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,OAAA,EAAA,WAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,EAAA,QAAA,EAAA,MAAA,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$_open.next(true);
78
78
  }
79
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuService, deps: [{ token: i1.Overlay }], target: i0.ɵɵFactoryTarget.Injectable }); }
80
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuService }); }
79
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMenuService, deps: [{ token: i1.Overlay }], target: i0.ɵɵFactoryTarget.Injectable }); }
80
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMenuService }); }
81
81
  }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuService, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMenuService, decorators: [{
83
83
  type: Injectable
84
84
  }], ctorParameters: () => [{ type: i1.Overlay }] });
85
85
 
@@ -108,10 +108,10 @@ class DaffMenuActivatorDirective {
108
108
  event.preventDefault();
109
109
  this.service.open(this.viewContainerRef, this.daffMenuActivator);
110
110
  }
111
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuActivatorDirective, deps: [{ token: DaffMenuService }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
112
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffMenuActivatorDirective, selector: "[daffMenuActivator]", inputs: { daffMenuActivator: "daffMenuActivator" }, host: { listeners: { "click": "openMenu($event)" }, properties: { "class.open": "this.openClass" } }, ngImport: i0 }); }
111
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMenuActivatorDirective, deps: [{ token: DaffMenuService }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
112
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: DaffMenuActivatorDirective, selector: "[daffMenuActivator]", inputs: { daffMenuActivator: "daffMenuActivator" }, host: { listeners: { "click": "openMenu($event)" }, properties: { "class.open": "this.openClass" } }, ngImport: i0 }); }
113
113
  }
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuActivatorDirective, decorators: [{
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMenuActivatorDirective, decorators: [{
115
115
  type: Directive,
116
116
  args: [{
117
117
  selector: '[daffMenuActivator]',
@@ -164,10 +164,10 @@ class DaffMenuComponent {
164
164
  this._elementRef.nativeElement.focus();
165
165
  }
166
166
  }
167
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuComponent, deps: [{ token: i1$1.ConfigurableFocusTrapFactory }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: DaffMenuService }], target: i0.ɵɵFactoryTarget.Component }); }
168
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffMenuComponent, selector: "daff-menu", host: { properties: { "class.daff-menu": "this.class", "tabindex": "this.tabindex", "attr.role": "this.role" } }, ngImport: i0, template: '<ng-content select="[daff-menu-item]"></ng-content>', isInline: true, styles: [":host{display:block;min-width:112px;max-width:320px;border-radius:4px;padding:8px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
167
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMenuComponent, deps: [{ token: i1$1.ConfigurableFocusTrapFactory }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: DaffMenuService }], target: i0.ɵɵFactoryTarget.Component }); }
168
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffMenuComponent, selector: "daff-menu", host: { properties: { "class.daff-menu": "this.class", "tabindex": "this.tabindex", "attr.role": "this.role" } }, ngImport: i0, template: '<ng-content select="[daff-menu-item]"></ng-content>', isInline: true, styles: [":host{display:block;min-width:112px;max-width:320px;border-radius:4px;padding:8px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
169
169
  }
170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuComponent, decorators: [{
170
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMenuComponent, decorators: [{
171
171
  type: Component,
172
172
  args: [{ selector: 'daff-menu', template: '<ng-content select="[daff-menu-item]"></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;min-width:112px;max-width:320px;border-radius:4px;padding:8px}\n"] }]
173
173
  }], ctorParameters: () => [{ type: i1$1.ConfigurableFocusTrapFactory }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: DaffMenuService }], propDecorators: { class: [{
@@ -194,10 +194,10 @@ class DaffMenuItemComponent {
194
194
  */
195
195
  this.role = 'menuitem';
196
196
  }
197
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
198
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffMenuItemComponent, selector: "a[daff-menu-item],button[daff-menu-item]", host: { properties: { "class.daff-menu-item": "this.class", "attr.role": "this.role" } }, queries: [{ propertyName: "_prefix", first: true, predicate: DaffPrefixDirective, descendants: true }], ngImport: i0, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-menu-item__content\">\n <ng-content></ng-content>\n</div>", styles: [":host{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;border:none;border-radius:4px;margin:0;padding:12px 16px;text-decoration:none;width:100%}.daff-menu-item__content{display:flex;gap:8px;font-size:1rem;line-height:1.25rem;text-align:left}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
197
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
198
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffMenuItemComponent, selector: "a[daff-menu-item],button[daff-menu-item]", host: { properties: { "class.daff-menu-item": "this.class", "attr.role": "this.role" } }, queries: [{ propertyName: "_prefix", first: true, predicate: DaffPrefixDirective, descendants: true }], ngImport: i0, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-menu-item__content\">\n <ng-content></ng-content>\n</div>", styles: [":host{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;border:none;border-radius:4px;margin:0;padding:12px 16px;text-decoration:none;width:100%}.daff-menu-item__content{display:flex;gap:8px;font-size:1rem;line-height:1.25rem;text-align:left}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
199
199
  }
200
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuItemComponent, decorators: [{
200
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMenuItemComponent, decorators: [{
201
201
  type: Component,
202
202
  args: [{ selector: 'a[daff-menu-item]' + ',' +
203
203
  'button[daff-menu-item]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-menu-item__content\">\n <ng-content></ng-content>\n</div>", styles: [":host{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;border:none;border-radius:4px;margin:0;padding:12px 16px;text-decoration:none;width:100%}.daff-menu-item__content{display:flex;gap:8px;font-size:1rem;line-height:1.25rem;text-align:left}\n"] }]
@@ -213,19 +213,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
213
213
  }] } });
214
214
 
215
215
  class DaffMenuModule {
216
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
217
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuModule, declarations: [DaffMenuActivatorDirective,
216
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
217
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffMenuModule, declarations: [DaffMenuActivatorDirective,
218
218
  DaffMenuComponent,
219
219
  DaffMenuItemComponent], imports: [CommonModule,
220
220
  OverlayModule], exports: [DaffMenuActivatorDirective,
221
221
  DaffMenuComponent,
222
222
  DaffMenuItemComponent] }); }
223
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuModule, providers: [
223
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMenuModule, providers: [
224
224
  DaffMenuService,
225
225
  ], imports: [CommonModule,
226
226
  OverlayModule] }); }
227
227
  }
228
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffMenuModule, decorators: [{
228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMenuModule, decorators: [{
229
229
  type: NgModule,
230
230
  args: [{
231
231
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-menu.mjs","sources":["../../../libs/design/menu/src/helpers/create-overlay.ts","../../../libs/design/menu/src/services/menu.service.ts","../../../libs/design/menu/src/menu-activator/menu-activator.component.ts","../../../libs/design/menu/src/menu/menu.component.ts","../../../libs/design/menu/src/menu-item/menu-item.component.ts","../../../libs/design/menu/src/menu-item/menu-item.component.html","../../../libs/design/menu/src/menu.module.ts","../../../libs/design/menu/src/daffodil-design-menu.ts"],"sourcesContent":["import {\n Overlay,\n OverlayConfig,\n} from '@angular/cdk/overlay';\nimport { ElementRef } from '@angular/core';\n\nexport function daffMenuCreateOverlay(overlay: Overlay, element: ElementRef, config: OverlayConfig = {}) {\n return overlay.create({\n hasBackdrop: true,\n backdropClass: 'cdk-overlay-transparent-backdrop',\n scrollStrategy: overlay.scrollStrategies.block(),\n disposeOnNavigation: true,\n positionStrategy: overlay\n .position()\n .flexibleConnectedTo(element)\n .withPositions([\n {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top',\n offsetY: 0,\n },\n {\n originX: 'start',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'bottom',\n },\n ]),\n ...config,\n });\n};\n","import {\n Overlay,\n OverlayRef,\n} from '@angular/cdk/overlay';\nimport {\n ComponentPortal,\n TemplatePortal,\n} from '@angular/cdk/portal';\nimport {\n ElementRef,\n Injectable,\n TemplateRef,\n Type,\n ViewContainerRef,\n} from '@angular/core';\nimport {\n BehaviorSubject,\n map,\n Observable,\n} from 'rxjs';\n\nimport { DaffLazyComponent } from '@daffodil/design';\n\nimport { daffMenuCreateOverlay } from '../helpers/public_api';\n\nexport interface DaffActivatedMenu {\n el: ElementRef;\n component: Type<unknown>;\n}\n\nexport type DaffMenuSlot = TemplateRef<unknown> | DaffLazyComponent | Type<unknown>;\n\n@Injectable()\nexport class DaffMenuService {\n protected _overlay: OverlayRef | null;\n private _activator: ViewContainerRef;\n\n private $_open: BehaviorSubject<boolean> = new BehaviorSubject(false);\n public open$: Observable<boolean> = this.$_open.asObservable();\n\n constructor(protected overlay: Overlay) {}\n\n protected async _createOverlay(activatorElement: ViewContainerRef, component: DaffMenuSlot) {\n if (!this._overlay) {\n this._overlay = daffMenuCreateOverlay(this.overlay, activatorElement.element);\n if(typeof component === 'object' && (<DaffLazyComponent>component)?.import) {\n component = await (<DaffLazyComponent>component).import();\n }\n\n if(component instanceof Type) {\n this._overlay.attach(new ComponentPortal(<Type<unknown>>component));\n } else if (component instanceof TemplateRef) {\n this._overlay.attach(new TemplatePortal(component, activatorElement));\n }\n\n this._overlay.backdropClick().pipe(\n map(() => this._destroyOverlay()),\n ).subscribe();\n }\n }\n\n protected _destroyOverlay() {\n if (this._overlay) {\n this._overlay.detach();\n this._overlay.dispose();\n this._overlay = null;\n }\n }\n\n close() {\n this._destroyOverlay();\n\t this.$_open.next(false);\n this._activator.element.nativeElement.focus();\n }\n\n open(activator: ViewContainerRef, component: DaffMenuSlot) {\n\t this._createOverlay(activator, component);\n this._activator = activator;\n this.$_open.next(true);\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n HostBinding,\n HostListener,\n Input,\n OnDestroy,\n TemplateRef,\n Type,\n ViewContainerRef,\n} from '@angular/core';\nimport {\n Subject,\n takeUntil,\n} from 'rxjs';\n\nimport { DaffMenuService } from '../services/menu.service';\n\n@Directive({\n selector: '[daffMenuActivator]',\n})\nexport class DaffMenuActivatorDirective implements OnDestroy {\n\n\n private _destroyed$ = new Subject<boolean>();\n private _open: boolean;\n\n @HostBinding('class.open') get openClass() {\n\t return this._open;\n }\n\n @Input() daffMenuActivator: Type<unknown> | TemplateRef<unknown>;\n\n constructor(\n private service: DaffMenuService,\n private viewContainerRef: ViewContainerRef,\n private cdRef: ChangeDetectorRef,\n ) {\n this.service.open$.pipe(\n takeUntil(this._destroyed$),\n ).subscribe((val: boolean) => {\n\t this._open = val;\n\t this.cdRef.markForCheck();\n\t });\n }\n\n ngOnDestroy(): void {\n this._destroyed$.next(true);\n this._destroyed$.complete();\n }\n\n focus() {\n this.viewContainerRef.element.nativeElement.focus();\n }\n\n @HostListener('click', ['$event'])\n openMenu(event) {\n\t event.preventDefault();\n\t this.service.open(this.viewContainerRef, this.daffMenuActivator);\n }\n}\n","import {\n ConfigurableFocusTrapFactory,\n ConfigurableFocusTrap,\n} from '@angular/cdk/a11y';\nimport {\n AfterContentInit,\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n NgZone,\n} from '@angular/core';\nimport {\n filter,\n fromEvent,\n} from 'rxjs';\n\nimport { daffFocusableElementsSelector } from '@daffodil/design';\n\nimport { DaffMenuService } from '../services/menu.service';\n\n@Component({\n selector: 'daff-menu',\n template: '<ng-content select=\"[daff-menu-item]\"></ng-content>',\n styleUrls: ['./menu.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffMenuComponent implements AfterContentInit, AfterViewInit {\n @HostBinding('class.daff-menu') class = true;\n @HostBinding('tabindex') tabindex = 0;\n @HostBinding('attr.role') role = 'menu';\n\n private _focusTrap: ConfigurableFocusTrap;\n\n constructor(\n private _focusTrapFactory: ConfigurableFocusTrapFactory,\n private _ngZone: NgZone,\n private _elementRef: ElementRef<HTMLElement>,\n private menuService: DaffMenuService,\n ) {\n /**\n * Listen to `keydown` events outside the zone so that change detection is not run every\n * time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed.\n *\n */\n this._ngZone.runOutsideAngular(() => {\n fromEvent<KeyboardEvent>(this._elementRef.nativeElement, 'keyup')\n .pipe(\n filter((event) => event.key === 'Escape'),\n )\n .subscribe((event) =>\n this._ngZone.run(() => {\n this.menuService.close();\n event.stopPropagation();\n }),\n );\n });\n }\n\n ngAfterContentInit() {\n this._focusTrap = this._focusTrapFactory.create(\n\t this._elementRef.nativeElement,\n\t );\n }\n\n ngAfterViewInit() {\n const focusableChild = (<HTMLElement>this._elementRef.nativeElement.querySelector(\n daffFocusableElementsSelector)\n );\n\n if(focusableChild) {\n focusableChild.focus();\n } else {\n // There's a timing condition when computing HostBindings afterContentInit\n // so to allow the menu to be focused, we manually set the tabindex.\n this._elementRef.nativeElement.tabIndex = 0;\n (<HTMLElement>this._elementRef.nativeElement).focus();\n }\n }\n}\n","import {\n Component,\n ChangeDetectionStrategy,\n HostBinding,\n ContentChild,\n} from '@angular/core';\n\nimport { DaffPrefixDirective } from '@daffodil/design';\n\n@Component({\n selector:\n 'a[daff-menu-item]' + ',' +\n 'button[daff-menu-item]',\n templateUrl: './menu-item.component.html',\n styleUrls: ['./menu-item.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\n\nexport class DaffMenuItemComponent {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-menu-item') class = true;\n\n /**\n * Sets the role of the component to menuitem.\n *\n * @docs-private\n */\n @HostBinding('attr.role') role = 'menuitem';\n\n /**\n * @docs-private\n */\n @ContentChild(DaffPrefixDirective) _prefix: DaffPrefixDirective;\n}\n","<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-menu-item__content\">\n <ng-content></ng-content>\n</div>","import { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffMenuComponent } from './menu/menu.component';\nimport { DaffMenuActivatorDirective } from './menu-activator/menu-activator.component';\nimport { DaffMenuItemComponent } from './menu-item/menu-item.component';\nimport { DaffMenuService } from './services/menu.service';\n\n@NgModule({\n imports: [\n CommonModule,\n OverlayModule,\n ],\n declarations: [\n DaffMenuActivatorDirective,\n DaffMenuComponent,\n DaffMenuItemComponent,\n ],\n exports: [\n DaffMenuActivatorDirective,\n DaffMenuComponent,\n DaffMenuItemComponent,\n ],\n providers: [\n DaffMenuService,\n ],\n})\n\nexport class DaffMenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.DaffMenuService","i1","i2.DaffMenuService"],"mappings":";;;;;;;;;;;AAMM,SAAU,qBAAqB,CAAC,OAAgB,EAAE,OAAmB,EAAE,SAAwB,EAAE,EAAA;IACrG,OAAO,OAAO,CAAC,MAAM,CAAC;AACpB,QAAA,WAAW,EAAE,IAAI;AACjB,QAAA,aAAa,EAAE,kCAAkC;AACjD,QAAA,cAAc,EAAE,OAAO,CAAC,gBAAgB,CAAC,KAAK,EAAE;AAChD,QAAA,mBAAmB,EAAE,IAAI;AACzB,QAAA,gBAAgB,EAAE,OAAO;AACtB,aAAA,QAAQ,EAAE;aACV,mBAAmB,CAAC,OAAO,CAAC;AAC5B,aAAA,aAAa,CAAC;AACb,YAAA;AACE,gBAAA,OAAO,EAAE,OAAO;AAChB,gBAAA,OAAO,EAAE,QAAQ;AACjB,gBAAA,QAAQ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AAA,EAAA;;2FAiBJ,cAAc,EAAA,UAAA,EAAA,CAAA;kBApB1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,aAAa;AACd,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,0BAA0B;wBAC1B,iBAAiB;wBACjB,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,0BAA0B;wBAC1B,iBAAiB;wBACjB,qBAAqB;AACtB,qBAAA;AACD,oBAAA,SAAS,EAAE;wBACT,eAAe;AAChB,qBAAA;AACF,iBAAA,CAAA;;;AC3BD;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-menu.mjs","sources":["../../../libs/design/menu/src/helpers/create-overlay.ts","../../../libs/design/menu/src/services/menu.service.ts","../../../libs/design/menu/src/menu-activator/menu-activator.component.ts","../../../libs/design/menu/src/menu/menu.component.ts","../../../libs/design/menu/src/menu-item/menu-item.component.ts","../../../libs/design/menu/src/menu-item/menu-item.component.html","../../../libs/design/menu/src/menu.module.ts","../../../libs/design/menu/src/daffodil-design-menu.ts"],"sourcesContent":["import {\n Overlay,\n OverlayConfig,\n} from '@angular/cdk/overlay';\nimport { ElementRef } from '@angular/core';\n\nexport function daffMenuCreateOverlay(overlay: Overlay, element: ElementRef, config: OverlayConfig = {}) {\n return overlay.create({\n hasBackdrop: true,\n backdropClass: 'cdk-overlay-transparent-backdrop',\n scrollStrategy: overlay.scrollStrategies.block(),\n disposeOnNavigation: true,\n positionStrategy: overlay\n .position()\n .flexibleConnectedTo(element)\n .withPositions([\n {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top',\n offsetY: 0,\n },\n {\n originX: 'start',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'bottom',\n },\n ]),\n ...config,\n });\n};\n","import {\n Overlay,\n OverlayRef,\n} from '@angular/cdk/overlay';\nimport {\n ComponentPortal,\n TemplatePortal,\n} from '@angular/cdk/portal';\nimport {\n ElementRef,\n Injectable,\n TemplateRef,\n Type,\n ViewContainerRef,\n} from '@angular/core';\nimport {\n BehaviorSubject,\n map,\n Observable,\n} from 'rxjs';\n\nimport { DaffLazyComponent } from '@daffodil/design';\n\nimport { daffMenuCreateOverlay } from '../helpers/public_api';\n\nexport interface DaffActivatedMenu {\n el: ElementRef;\n component: Type<unknown>;\n}\n\nexport type DaffMenuSlot = TemplateRef<unknown> | DaffLazyComponent | Type<unknown>;\n\n@Injectable()\nexport class DaffMenuService {\n protected _overlay: OverlayRef | null;\n private _activator: ViewContainerRef;\n\n private $_open: BehaviorSubject<boolean> = new BehaviorSubject(false);\n public open$: Observable<boolean> = this.$_open.asObservable();\n\n constructor(protected overlay: Overlay) {}\n\n protected async _createOverlay(activatorElement: ViewContainerRef, component: DaffMenuSlot) {\n if (!this._overlay) {\n this._overlay = daffMenuCreateOverlay(this.overlay, activatorElement.element);\n if(typeof component === 'object' && (<DaffLazyComponent>component)?.import) {\n component = await (<DaffLazyComponent>component).import();\n }\n\n if(component instanceof Type) {\n this._overlay.attach(new ComponentPortal(<Type<unknown>>component));\n } else if (component instanceof TemplateRef) {\n this._overlay.attach(new TemplatePortal(component, activatorElement));\n }\n\n this._overlay.backdropClick().pipe(\n map(() => this._destroyOverlay()),\n ).subscribe();\n }\n }\n\n protected _destroyOverlay() {\n if (this._overlay) {\n this._overlay.detach();\n this._overlay.dispose();\n this._overlay = null;\n }\n }\n\n close() {\n this._destroyOverlay();\n\t this.$_open.next(false);\n this._activator.element.nativeElement.focus();\n }\n\n open(activator: ViewContainerRef, component: DaffMenuSlot) {\n\t this._createOverlay(activator, component);\n this._activator = activator;\n this.$_open.next(true);\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n HostBinding,\n HostListener,\n Input,\n OnDestroy,\n TemplateRef,\n Type,\n ViewContainerRef,\n} from '@angular/core';\nimport {\n Subject,\n takeUntil,\n} from 'rxjs';\n\nimport { DaffMenuService } from '../services/menu.service';\n\n@Directive({\n selector: '[daffMenuActivator]',\n})\nexport class DaffMenuActivatorDirective implements OnDestroy {\n\n\n private _destroyed$ = new Subject<boolean>();\n private _open: boolean;\n\n @HostBinding('class.open') get openClass() {\n\t return this._open;\n }\n\n @Input() daffMenuActivator: Type<unknown> | TemplateRef<unknown>;\n\n constructor(\n private service: DaffMenuService,\n private viewContainerRef: ViewContainerRef,\n private cdRef: ChangeDetectorRef,\n ) {\n this.service.open$.pipe(\n takeUntil(this._destroyed$),\n ).subscribe((val: boolean) => {\n\t this._open = val;\n\t this.cdRef.markForCheck();\n\t });\n }\n\n ngOnDestroy(): void {\n this._destroyed$.next(true);\n this._destroyed$.complete();\n }\n\n focus() {\n this.viewContainerRef.element.nativeElement.focus();\n }\n\n @HostListener('click', ['$event'])\n openMenu(event) {\n\t event.preventDefault();\n\t this.service.open(this.viewContainerRef, this.daffMenuActivator);\n }\n}\n","import {\n ConfigurableFocusTrapFactory,\n ConfigurableFocusTrap,\n} from '@angular/cdk/a11y';\nimport {\n AfterContentInit,\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n NgZone,\n} from '@angular/core';\nimport {\n filter,\n fromEvent,\n} from 'rxjs';\n\nimport { daffFocusableElementsSelector } from '@daffodil/design';\n\nimport { DaffMenuService } from '../services/menu.service';\n\n@Component({\n selector: 'daff-menu',\n template: '<ng-content select=\"[daff-menu-item]\"></ng-content>',\n styleUrls: ['./menu.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffMenuComponent implements AfterContentInit, AfterViewInit {\n @HostBinding('class.daff-menu') class = true;\n @HostBinding('tabindex') tabindex = 0;\n @HostBinding('attr.role') role = 'menu';\n\n private _focusTrap: ConfigurableFocusTrap;\n\n constructor(\n private _focusTrapFactory: ConfigurableFocusTrapFactory,\n private _ngZone: NgZone,\n private _elementRef: ElementRef<HTMLElement>,\n private menuService: DaffMenuService,\n ) {\n /**\n * Listen to `keydown` events outside the zone so that change detection is not run every\n * time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed.\n *\n */\n this._ngZone.runOutsideAngular(() => {\n fromEvent<KeyboardEvent>(this._elementRef.nativeElement, 'keyup')\n .pipe(\n filter((event) => event.key === 'Escape'),\n )\n .subscribe((event) =>\n this._ngZone.run(() => {\n this.menuService.close();\n event.stopPropagation();\n }),\n );\n });\n }\n\n ngAfterContentInit() {\n this._focusTrap = this._focusTrapFactory.create(\n\t this._elementRef.nativeElement,\n\t );\n }\n\n ngAfterViewInit() {\n const focusableChild = (<HTMLElement>this._elementRef.nativeElement.querySelector(\n daffFocusableElementsSelector)\n );\n\n if(focusableChild) {\n focusableChild.focus();\n } else {\n // There's a timing condition when computing HostBindings afterContentInit\n // so to allow the menu to be focused, we manually set the tabindex.\n this._elementRef.nativeElement.tabIndex = 0;\n (<HTMLElement>this._elementRef.nativeElement).focus();\n }\n }\n}\n","import {\n Component,\n ChangeDetectionStrategy,\n HostBinding,\n ContentChild,\n} from '@angular/core';\n\nimport { DaffPrefixDirective } from '@daffodil/design';\n\n@Component({\n selector:\n 'a[daff-menu-item]' + ',' +\n 'button[daff-menu-item]',\n templateUrl: './menu-item.component.html',\n styleUrls: ['./menu-item.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\n\nexport class DaffMenuItemComponent {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-menu-item') class = true;\n\n /**\n * Sets the role of the component to menuitem.\n *\n * @docs-private\n */\n @HostBinding('attr.role') role = 'menuitem';\n\n /**\n * @docs-private\n */\n @ContentChild(DaffPrefixDirective) _prefix: DaffPrefixDirective;\n}\n","<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-menu-item__content\">\n <ng-content></ng-content>\n</div>","import { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffMenuComponent } from './menu/menu.component';\nimport { DaffMenuActivatorDirective } from './menu-activator/menu-activator.component';\nimport { DaffMenuItemComponent } from './menu-item/menu-item.component';\nimport { DaffMenuService } from './services/menu.service';\n\n@NgModule({\n imports: [\n CommonModule,\n OverlayModule,\n ],\n declarations: [\n DaffMenuActivatorDirective,\n DaffMenuComponent,\n DaffMenuItemComponent,\n ],\n exports: [\n DaffMenuActivatorDirective,\n DaffMenuComponent,\n DaffMenuItemComponent,\n ],\n providers: [\n DaffMenuService,\n ],\n})\n\nexport class DaffMenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.DaffMenuService","i1","i2.DaffMenuService"],"mappings":";;;;;;;;;;;AAMM,SAAU,qBAAqB,CAAC,OAAgB,EAAE,OAAmB,EAAE,SAAwB,EAAE,EAAA;IACrG,OAAO,OAAO,CAAC,MAAM,CAAC;AACpB,QAAA,WAAW,EAAE,IAAI;AACjB,QAAA,aAAa,EAAE,kCAAkC;AACjD,QAAA,cAAc,EAAE,OAAO,CAAC,gBAAgB,CAAC,KAAK,EAAE;AAChD,QAAA,mBAAmB,EAAE,IAAI;AACzB,QAAA,gBAAgB,EAAE,OAAO;AACtB,aAAA,QAAQ,EAAE;aACV,mBAAmB,CAAC,OAAO,CAAC;AAC5B,aAAA,aAAa,CAAC;AACb,YAAA;AACE,gBAAA,OAAO,EAAE,OAAO;AAChB,gBAAA,OAAO,EAAE,QAAQ;AACjB,gBAAA,QAAQ,EAAE,OAAO;AACjB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,OAAO,EAAE,CAAC;AACX,aAAA;AACD,YAAA;AACE,gBAAA,OAAO,EAAE,OAAO;AAChB,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,QAAQ,EAAE,OAAO;AACjB,gBAAA,QAAQ,EAAE,QAAQ;AACnB,aAAA;SACF,CAAC;AACJ,QAAA,GAAG,MAAM;AACV,KAAA,CAAC,CAAC;AACL,CAAC;AAAA;;MCCY,eAAe,CAAA;AAO1B,I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,SAAS,EAAE;wBACT,eAAe;AAChB,qBAAA;AACF,iBAAA,CAAA;;;AC3BD;;AAEG;;;;"}
@@ -6,10 +6,10 @@ import * as i2 from '@daffodil/design/button';
6
6
  import { DaffButtonModule } from '@daffodil/design/button';
7
7
 
8
8
  class BasicModalContentComponent {
9
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicModalContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: BasicModalContentComponent, selector: "basic-modal-content", ngImport: i0, template: "<daff-modal-header>\n\t<h5 daffModalTitle>Modal Title</h5>\n</daff-modal-header>\n<daff-modal-content>\n\tModal content goes here. Components can be placed in here. The content is scrollable.\n</daff-modal-content>\n<daff-modal-actions>\n\t<button daff-button>Save Changes</button>\n</daff-modal-actions>", dependencies: [{ kind: "component", type: i1.DaffModalHeaderComponent, selector: "daff-modal-header" }, { kind: "directive", type: i1.DaffModalTitleDirective, selector: "[daffModalTitle]" }, { kind: "component", type: i1.DaffModalContentComponent, selector: "daff-modal-content" }, { kind: "component", type: i1.DaffModalActionsComponent, selector: "daff-modal-actions" }, { kind: "component", type: i2.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicModalContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: BasicModalContentComponent, selector: "basic-modal-content", ngImport: i0, template: "<daff-modal-header>\n\t<h5 daffModalTitle>Modal Title</h5>\n</daff-modal-header>\n<daff-modal-content>\n\tModal content goes here. Components can be placed in here. The content is scrollable.\n</daff-modal-content>\n<daff-modal-actions>\n\t<button daff-button>Save Changes</button>\n</daff-modal-actions>", dependencies: [{ kind: "component", type: i1.DaffModalHeaderComponent, selector: "daff-modal-header" }, { kind: "directive", type: i1.DaffModalTitleDirective, selector: "[daffModalTitle]" }, { kind: "component", type: i1.DaffModalContentComponent, selector: "daff-modal-content" }, { kind: "component", type: i1.DaffModalActionsComponent, selector: "daff-modal-actions" }, { kind: "component", type: i2.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
11
11
  }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicModalContentComponent, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicModalContentComponent, decorators: [{
13
13
  type: Component,
14
14
  args: [{ selector: 'basic-modal-content', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-modal-header>\n\t<h5 daffModalTitle>Modal Title</h5>\n</daff-modal-header>\n<daff-modal-content>\n\tModal content goes here. Components can be placed in here. The content is scrollable.\n</daff-modal-content>\n<daff-modal-actions>\n\t<button daff-button>Save Changes</button>\n</daff-modal-actions>" }]
15
15
  }] });
@@ -21,23 +21,23 @@ class BasicModalComponent {
21
21
  showModal() {
22
22
  this.modal = this.modalService.open(BasicModalContentComponent);
23
23
  }
24
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicModalComponent, deps: [{ token: i1.DaffModalService }], target: i0.ɵɵFactoryTarget.Component }); }
25
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: BasicModalComponent, selector: "basic-modal", ngImport: i0, template: "<button daff-button (click)=\"showModal()\">Open Modal</button>\n", dependencies: [{ kind: "component", type: i2.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
24
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicModalComponent, deps: [{ token: i1.DaffModalService }], target: i0.ɵɵFactoryTarget.Component }); }
25
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: BasicModalComponent, selector: "basic-modal", ngImport: i0, template: "<button daff-button (click)=\"showModal()\">Open Modal</button>\n", dependencies: [{ kind: "component", type: i2.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicModalComponent, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicModalComponent, decorators: [{
28
28
  type: Component,
29
29
  args: [{ selector: 'basic-modal', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button daff-button (click)=\"showModal()\">Open Modal</button>\n" }]
30
30
  }], ctorParameters: () => [{ type: i1.DaffModalService }] });
31
31
 
32
32
  class BasicModalModule {
33
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
34
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: BasicModalModule, declarations: [BasicModalComponent,
33
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
34
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: BasicModalModule, declarations: [BasicModalComponent,
35
35
  BasicModalContentComponent], imports: [DaffModalModule,
36
36
  DaffButtonModule], exports: [BasicModalComponent] }); }
37
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicModalModule, imports: [DaffModalModule,
37
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicModalModule, imports: [DaffModalModule,
38
38
  DaffButtonModule] }); }
39
39
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicModalModule, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BasicModalModule, decorators: [{
41
41
  type: NgModule,
42
42
  args: [{
43
43
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-modal-examples.mjs","sources":["../../../libs/design/modal/examples/src/basic-modal/modal-content.component.ts","../../../libs/design/modal/examples/src/basic-modal/modal-content.component.html","../../../libs/design/modal/examples/src/basic-modal/basic-modal.component.ts","../../../libs/design/modal/examples/src/basic-modal/basic-modal.component.html","../../../libs/design/modal/examples/src/basic-modal/basic-modal.module.ts","../../../libs/design/modal/examples/src/public_api.ts","../../../libs/design/modal/examples/src/daffodil-design-modal-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-modal-content',\n templateUrl: './modal-content.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicModalContentComponent {\n\n}\n","<daff-modal-header>\n\t<h5 daffModalTitle>Modal Title</h5>\n</daff-modal-header>\n<daff-modal-content>\n\tModal content goes here. Components can be placed in here. The content is scrollable.\n</daff-modal-content>\n<daff-modal-actions>\n\t<button daff-button>Save Changes</button>\n</daff-modal-actions>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DaffModalService } from '@daffodil/design/modal';\n\nimport { BasicModalContentComponent } from './modal-content.component';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-modal',\n templateUrl: './basic-modal.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicModalComponent {\n modal: any;\n\n constructor(private modalService: DaffModalService) {}\n\n showModal() {\n this.modal = this.modalService.open(BasicModalContentComponent);\n }\n}\n","<button daff-button (click)=\"showModal()\">Open Modal</button>\n","import { NgModule } from '@angular/core';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffModalModule } from '@daffodil/design/modal';\n\nimport { BasicModalComponent } from './basic-modal.component';\nimport { BasicModalContentComponent } from './modal-content.component';\n\n@NgModule({\n imports: [\n DaffModalModule,\n DaffButtonModule,\n ],\n declarations: [\n BasicModalComponent,\n BasicModalContentComponent,\n ],\n exports: [\n BasicModalComponent,\n ],\n})\nexport class BasicModalModule { }\n","import { ComponentExample } from '@daffodil/design';\n\nimport { BasicModalComponent } from './basic-modal/basic-modal.component';\nimport { BasicModalModule } from './basic-modal/basic-modal.module';\n\nexport const MODAL_EXAMPLES: ComponentExample[] = [\n { component: BasicModalComponent, module: BasicModalModule },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAWa,0BAA0B,CAAA;iIAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA1B,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0BAA0B,2DCXvC,kTAQqB,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,uBAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,yBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,yBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,mBAAA,EAAA,QAAA,EAAA,yRAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,QAAA,EAAA,SAAA,EAAA,UAAA,EAAA,UAAA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AAgB,CAAA;iIAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,iBAPzB,mBAAmB;AACnB,YAAA,0BAA0B,aAL1B,eAAe;AACf,YAAA,gBAAgB,aAOhB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGV,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAXzB,eAAe;YACf,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAUP,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAb5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,gBAAgB;AACjB,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,mBAAmB;wBACnB,0BAA0B;AAC3B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,mBAAmB;AACpB,qBAAA;AACF,iBAAA,CAAA;;;ACfY,MAAA,cAAc,GAAuB;AAChD,IAAA,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,EAAE,gBAAgB,EAAE;;;ACN9D;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design-modal-examples.mjs","sources":["../../../libs/design/modal/examples/src/basic-modal/modal-content.component.ts","../../../libs/design/modal/examples/src/basic-modal/modal-content.component.html","../../../libs/design/modal/examples/src/basic-modal/basic-modal.component.ts","../../../libs/design/modal/examples/src/basic-modal/basic-modal.component.html","../../../libs/design/modal/examples/src/basic-modal/basic-modal.module.ts","../../../libs/design/modal/examples/src/public_api.ts","../../../libs/design/modal/examples/src/daffodil-design-modal-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-modal-content',\n templateUrl: './modal-content.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicModalContentComponent {\n\n}\n","<daff-modal-header>\n\t<h5 daffModalTitle>Modal Title</h5>\n</daff-modal-header>\n<daff-modal-content>\n\tModal content goes here. Components can be placed in here. The content is scrollable.\n</daff-modal-content>\n<daff-modal-actions>\n\t<button daff-button>Save Changes</button>\n</daff-modal-actions>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport {\n DaffModalComponent,\n DaffModalService,\n} from '@daffodil/design/modal';\n\nimport { BasicModalContentComponent } from './modal-content.component';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-modal',\n templateUrl: './basic-modal.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicModalComponent {\n modal: DaffModalComponent;\n\n constructor(private modalService: DaffModalService) {}\n\n showModal() {\n this.modal = this.modalService.open(BasicModalContentComponent);\n }\n}\n","<button daff-button (click)=\"showModal()\">Open Modal</button>\n","import { NgModule } from '@angular/core';\n\nimport { DaffButtonModule } from '@daffodil/design/button';\nimport { DaffModalModule } from '@daffodil/design/modal';\n\nimport { BasicModalComponent } from './basic-modal.component';\nimport { BasicModalContentComponent } from './modal-content.component';\n\n@NgModule({\n imports: [\n DaffModalModule,\n DaffButtonModule,\n ],\n declarations: [\n BasicModalComponent,\n BasicModalContentComponent,\n ],\n exports: [\n BasicModalComponent,\n ],\n})\nexport class BasicModalModule { }\n","import { ComponentExample } from '@daffodil/design';\n\nimport { BasicModalComponent } from './basic-modal/basic-modal.component';\nimport { BasicModalModule } from './basic-modal/basic-modal.module';\n\nexport const MODAL_EXAMPLES: ComponentExample[] = [\n { component: BasicModalComponent, module: BasicModalModule },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAWa,0BAA0B,CAAA;kIAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA1B,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,0BAA0B,2DCXvC,kTAQqB,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,uBAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,yBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,yBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,mBAAA,EAAA,QAAA,EAAA,yRAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,QAAA,EAAA,SAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FDGR,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBANtC,SAAS;+BAEE,qBAAqB,EAAA,eAAA,EAEd,uBAAuB,CAAC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