@daffodil/design 0.73.0 → 0.75.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (597) hide show
  1. package/README.md +20 -22
  2. package/accordion/accordion/accordion/accordion.component.d.ts +3 -19
  3. package/article/README.md +19 -13
  4. package/article/examples/article-blockquote/article-blockquote.component.d.ts +1 -1
  5. package/article/examples/article-code-block/article-code-block.component.d.ts +1 -1
  6. package/article/examples/article-code-inline/article-code-inline.component.d.ts +1 -1
  7. package/article/examples/article-headings/article-headings.component.d.ts +1 -1
  8. package/article/examples/article-hr/article-hr.component.d.ts +1 -1
  9. package/article/examples/article-link/article-link.component.d.ts +1 -1
  10. package/article/examples/article-meta/article-meta.component.d.ts +1 -1
  11. package/article/examples/article-ol/article-ol.component.d.ts +1 -1
  12. package/article/examples/article-table/article-table.component.d.ts +1 -1
  13. package/article/examples/article-ul/article-ul.component.d.ts +1 -1
  14. package/article/examples/public_api.d.ts +0 -1
  15. package/button/button/button-sizable.directive.d.ts +10 -0
  16. package/button/button/button.component.d.ts +17 -27
  17. package/button/examples/basic-button/basic-button.component.d.ts +1 -1
  18. package/button/examples/flat-button/flat-button.component.d.ts +1 -1
  19. package/button/examples/icon-button/icon-button.component.d.ts +1 -1
  20. package/button/examples/public_api.d.ts +0 -8
  21. package/button/examples/raised-button/raised-button.component.d.ts +1 -1
  22. package/button/examples/sizeable-button/sizeable-button.component.d.ts +1 -1
  23. package/button/examples/statusable-button/statusable-button.component.d.ts +1 -1
  24. package/button/examples/stroked-button/stroked-button.component.d.ts +1 -1
  25. package/button/examples/underline-button/underline-button.component.d.ts +1 -1
  26. package/button/public_api.d.ts +1 -0
  27. package/callout/callout/callout.component.d.ts +6 -38
  28. package/callout/examples/callout-text-alignment/callout-text-alignment.component.d.ts +1 -1
  29. package/callout/examples/callout-theming/callout-theming.component.d.ts +1 -1
  30. package/callout/examples/callout-with-grid/callout-with-grid.component.d.ts +1 -1
  31. package/callout/examples/compact-callout/compact-callout.component.d.ts +1 -1
  32. package/callout/examples/public_api.d.ts +0 -4
  33. package/card/card/card.component.d.ts +3 -21
  34. package/card/examples/basic-card/basic-card.component.d.ts +1 -1
  35. package/card/examples/card-orientation/card-orientation.component.d.ts +1 -1
  36. package/card/examples/card-theming/card-theming.component.d.ts +1 -1
  37. package/card/examples/linkable-card/linkable-card.component.d.ts +1 -1
  38. package/card/examples/public_api.d.ts +0 -6
  39. package/card/examples/raised-card/raised-card.component.d.ts +1 -1
  40. package/card/examples/stroked-card/stroked-card.component.d.ts +1 -1
  41. package/checkbox/examples/basic-checkbox/basic-checkbox.component.d.ts +1 -1
  42. package/checkbox/examples/checkbox-set/checkbox-set.component.d.ts +1 -1
  43. package/checkbox/examples/examples.d.ts +0 -2
  44. package/checkbox/examples/public_api.d.ts +0 -1
  45. package/container/README.md +11 -8
  46. package/container/container/container.component.d.ts +3 -22
  47. package/container/examples/container-sizes/container-sizes.component.d.ts +1 -1
  48. package/container/examples/public_api.d.ts +0 -1
  49. package/core/article-encapsulated/article-encapsulated.directive.d.ts +19 -0
  50. package/core/article-encapsulated/public_api.d.ts +1 -1
  51. package/core/breakpoints/noop.service.d.ts +13 -0
  52. package/core/breakpoints/provider.d.ts +6 -0
  53. package/core/breakpoints/public_api.d.ts +3 -0
  54. package/core/colorable/colorable.d.ts +36 -2
  55. package/core/colorable/colorable.directive.d.ts +55 -0
  56. package/core/colorable/public_api.d.ts +1 -1
  57. package/core/compactable/compactable.directive.d.ts +25 -0
  58. package/core/compactable/public_api.d.ts +1 -1
  59. package/core/manage-container-layout/manage-container-layout.directive.d.ts +29 -0
  60. package/core/manage-container-layout/public_api.d.ts +1 -1
  61. package/core/public_api.d.ts +1 -1
  62. package/core/sizable/public_api.d.ts +1 -1
  63. package/core/sizable/sizable.d.ts +4 -2
  64. package/core/sizable/sizable.directive.d.ts +38 -0
  65. package/core/skeletonable/public_api.d.ts +1 -1
  66. package/core/skeletonable/skeletonable.d.ts +0 -1
  67. package/core/skeletonable/skeletonable.directive.d.ts +17 -0
  68. package/core/statusable/public_api.d.ts +1 -1
  69. package/core/statusable/statusable.d.ts +16 -0
  70. package/core/statusable/statusable.directive.d.ts +38 -0
  71. package/core/text-alignable/public_api.d.ts +1 -1
  72. package/core/text-alignable/text-alignable.d.ts +1 -2
  73. package/core/text-alignable/text-alignable.directive.d.ts +42 -0
  74. package/esm2022/accordion/accordion/accordion/accordion.component.mjs +11 -23
  75. package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +4 -3
  76. package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +4 -3
  77. package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +4 -3
  78. package/esm2022/article/examples/article-headings/article-headings.component.mjs +3 -3
  79. package/esm2022/article/examples/article-hr/article-hr.component.mjs +4 -3
  80. package/esm2022/article/examples/article-link/article-link.component.mjs +4 -3
  81. package/esm2022/article/examples/article-meta/article-meta.component.mjs +4 -3
  82. package/esm2022/article/examples/article-ol/article-ol.component.mjs +4 -3
  83. package/esm2022/article/examples/article-table/article-table.component.mjs +4 -3
  84. package/esm2022/article/examples/article-ul/article-ul.component.mjs +4 -3
  85. package/esm2022/article/examples/public_api.mjs +1 -2
  86. package/esm2022/button/button/button-sizable.directive.mjs +14 -0
  87. package/esm2022/button/button/button.component.mjs +32 -10
  88. package/esm2022/button/examples/basic-button/basic-button.component.mjs +10 -4
  89. package/esm2022/button/examples/flat-button/flat-button.component.mjs +10 -4
  90. package/esm2022/button/examples/icon-button/icon-button.component.mjs +5 -4
  91. package/esm2022/button/examples/public_api.mjs +1 -9
  92. package/esm2022/button/examples/raised-button/raised-button.component.mjs +10 -4
  93. package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +5 -4
  94. package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +5 -4
  95. package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +10 -4
  96. package/esm2022/button/examples/underline-button/underline-button.component.mjs +10 -4
  97. package/esm2022/button/public_api.mjs +2 -1
  98. package/esm2022/callout/callout/callout.component.mjs +28 -22
  99. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +20 -10
  100. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +17 -9
  101. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +12 -4
  102. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +12 -4
  103. package/esm2022/callout/examples/public_api.mjs +1 -5
  104. package/esm2022/card/card/card.component.mjs +12 -16
  105. package/esm2022/card/examples/basic-card/basic-card.component.mjs +12 -4
  106. package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +20 -10
  107. package/esm2022/card/examples/card-theming/card-theming.component.mjs +11 -6
  108. package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +15 -8
  109. package/esm2022/card/examples/public_api.mjs +1 -7
  110. package/esm2022/card/examples/raised-card/raised-card.component.mjs +15 -8
  111. package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +15 -8
  112. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +12 -6
  113. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +12 -7
  114. package/esm2022/checkbox/examples/examples.mjs +1 -7
  115. package/esm2022/checkbox/examples/public_api.mjs +1 -2
  116. package/esm2022/container/container/container.component.mjs +15 -22
  117. package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +11 -6
  118. package/esm2022/container/examples/public_api.mjs +1 -2
  119. package/esm2022/core/article-encapsulated/article-encapsulated.directive.mjs +33 -0
  120. package/esm2022/core/article-encapsulated/public_api.mjs +2 -2
  121. package/esm2022/core/breakpoints/noop.service.mjs +25 -0
  122. package/esm2022/core/breakpoints/provider.mjs +13 -0
  123. package/esm2022/core/breakpoints/public_api.mjs +4 -0
  124. package/esm2022/core/colorable/colorable.directive.mjs +77 -0
  125. package/esm2022/core/colorable/colorable.mjs +37 -2
  126. package/esm2022/core/colorable/public_api.mjs +2 -2
  127. package/esm2022/core/compactable/compactable.directive.mjs +41 -0
  128. package/esm2022/core/compactable/public_api.mjs +2 -2
  129. package/esm2022/core/manage-container-layout/manage-container-layout.directive.mjs +43 -0
  130. package/esm2022/core/manage-container-layout/public_api.mjs +2 -2
  131. package/esm2022/core/public_api.mjs +2 -2
  132. package/esm2022/core/sizable/public_api.mjs +2 -2
  133. package/esm2022/core/sizable/sizable.directive.mjs +53 -0
  134. package/esm2022/core/sizable/sizable.mjs +2 -3
  135. package/esm2022/core/skeletonable/public_api.mjs +2 -2
  136. package/esm2022/core/skeletonable/skeletonable.directive.mjs +33 -0
  137. package/esm2022/core/skeletonable/skeletonable.mjs +1 -1
  138. package/esm2022/core/statusable/public_api.mjs +2 -2
  139. package/esm2022/core/statusable/statusable.directive.mjs +50 -0
  140. package/esm2022/core/statusable/statusable.mjs +4 -1
  141. package/esm2022/core/text-alignable/public_api.mjs +2 -2
  142. package/esm2022/core/text-alignable/text-alignable.directive.mjs +53 -0
  143. package/esm2022/core/text-alignable/text-alignable.mjs +1 -1
  144. package/esm2022/daffodil-design.mjs +2 -2
  145. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +10 -4
  146. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +20 -10
  147. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +15 -8
  148. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +12 -4
  149. package/esm2022/hero/examples/public_api.mjs +1 -5
  150. package/esm2022/hero/hero/hero.component.mjs +28 -22
  151. package/esm2022/image/examples/basic-image/basic-image.component.mjs +4 -3
  152. package/esm2022/image/examples/load-image/load-image.component.mjs +6 -5
  153. package/esm2022/image/examples/public_api.mjs +4 -7
  154. package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +4 -3
  155. package/esm2022/image/image/image.component.mjs +14 -23
  156. package/esm2022/index.mjs +6 -0
  157. package/esm2022/input/examples/basic-input/basic-input.component.mjs +4 -3
  158. package/esm2022/input/examples/examples.mjs +5 -9
  159. package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +4 -3
  160. package/esm2022/input/examples/input-error/input-error.component.mjs +9 -4
  161. package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +4 -3
  162. package/esm2022/link-set/link-set/link-set.component.mjs +12 -22
  163. package/esm2022/list/examples/basic-list/basic-list.component.mjs +4 -3
  164. package/esm2022/list/examples/icon-list/icon-list.component.mjs +10 -4
  165. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +4 -3
  166. package/esm2022/list/examples/nav-list/nav-list.component.mjs +10 -4
  167. package/esm2022/list/examples/public_api.mjs +1 -2
  168. package/esm2022/list/list/list.component.mjs +12 -21
  169. package/esm2022/loading-icon/examples/examples.mjs +1 -3
  170. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +12 -7
  171. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +4 -3
  172. package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +21 -28
  173. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +7 -5
  174. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +7 -5
  175. package/esm2022/media-gallery/examples/public_api.mjs +1 -4
  176. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +7 -5
  177. package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +17 -23
  178. package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +5 -3
  179. package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +5 -4
  180. package/esm2022/menu/examples/public_api.mjs +2 -3
  181. package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +5 -4
  182. package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +5 -3
  183. package/esm2022/modal/examples/public_api.mjs +2 -3
  184. package/esm2022/modal/modal/modal.component.mjs +42 -6
  185. package/esm2022/modal/modal-actions/modal-actions.component.mjs +15 -5
  186. package/esm2022/modal/modal-close/modal-close.directive.mjs +47 -0
  187. package/esm2022/modal/modal-content/modal-content.component.mjs +15 -5
  188. package/esm2022/modal/modal-header/modal-header.component.mjs +16 -4
  189. package/esm2022/modal/modal-title/modal-title.directive.mjs +33 -6
  190. package/esm2022/modal/modal.module.mjs +18 -5
  191. package/esm2022/modal/public_api.mjs +2 -1
  192. package/esm2022/modal/service/modal.service.mjs +3 -2
  193. package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +5 -3
  194. package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +12 -5
  195. package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +15 -8
  196. package/esm2022/navbar/examples/public_api.mjs +1 -5
  197. package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +5 -3
  198. package/esm2022/navbar/navbar/navbar.component.mjs +22 -28
  199. package/esm2022/notification/daffodil-design-notification.mjs +2 -2
  200. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +18 -5
  201. package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +16 -4
  202. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +15 -7
  203. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +19 -10
  204. package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +30 -0
  205. package/esm2022/notification/examples/public_api.mjs +7 -9
  206. package/esm2022/notification/index.mjs +2 -0
  207. package/esm2022/notification/notification/notification.component.mjs +51 -42
  208. package/esm2022/paginator/daffodil-design-paginator.mjs +2 -2
  209. package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +6 -3
  210. package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +8 -4
  211. package/esm2022/paginator/examples/public_api.mjs +1 -2
  212. package/esm2022/paginator/index.mjs +2 -0
  213. package/esm2022/paginator/paginator/paginator.component.mjs +1 -1
  214. package/esm2022/progress-bar/daffodil-design-progress-bar.mjs +2 -2
  215. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +4 -3
  216. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +4 -3
  217. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +5 -4
  218. package/esm2022/progress-bar/examples/public_api.mjs +4 -7
  219. package/esm2022/progress-bar/index.mjs +2 -0
  220. package/esm2022/progress-bar/progress-bar.component.mjs +18 -23
  221. package/esm2022/public_api.mjs +1 -3
  222. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +11 -6
  223. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +11 -6
  224. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +11 -6
  225. package/esm2022/quantity-field/examples/public_api.mjs +1 -5
  226. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +11 -6
  227. package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +5 -4
  228. package/esm2022/radio/examples/examples.mjs +1 -5
  229. package/esm2022/radio/examples/public_api.mjs +1 -2
  230. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +4 -3
  231. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +15 -8
  232. package/esm2022/sidebar/examples/public_api.mjs +5 -9
  233. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +5 -3
  234. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +4 -3
  235. package/esm2022/toast/examples/default-toast/default-toast.component.mjs +4 -3
  236. package/esm2022/toast/examples/public_api.mjs +5 -9
  237. package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +22 -5
  238. package/esm2022/toast/examples/toast-status/toast-status.component.mjs +5 -4
  239. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +4 -3
  240. package/esm2022/toast/toast/toast-template.component.mjs +2 -2
  241. package/esm2022/toast/toast/toast.component.mjs +16 -22
  242. package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +6 -5
  243. package/esm2022/tree/examples/public_api.mjs +1 -2
  244. package/esm2022/tree/tree/tree.component.mjs +13 -23
  245. package/fesm2022/daffodil-design-accordion.mjs +9 -21
  246. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  247. package/fesm2022/daffodil-design-article-examples.mjs +22 -43
  248. package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
  249. package/fesm2022/daffodil-design-button-examples.mjs +41 -205
  250. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
  251. package/fesm2022/daffodil-design-button.mjs +42 -11
  252. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  253. package/fesm2022/daffodil-design-callout-examples.mjs +29 -130
  254. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  255. package/fesm2022/daffodil-design-callout.mjs +25 -20
  256. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  257. package/fesm2022/daffodil-design-card-examples.mjs +39 -209
  258. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
  259. package/fesm2022/daffodil-design-card.mjs +11 -15
  260. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  261. package/fesm2022/daffodil-design-checkbox-examples.mjs +14 -64
  262. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
  263. package/fesm2022/daffodil-design-container-examples.mjs +9 -32
  264. package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
  265. package/fesm2022/daffodil-design-container.mjs +13 -20
  266. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  267. package/fesm2022/daffodil-design-hero-examples.mjs +27 -136
  268. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  269. package/fesm2022/daffodil-design-hero.mjs +25 -20
  270. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  271. package/fesm2022/daffodil-design-image-examples.mjs +11 -75
  272. package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
  273. package/fesm2022/daffodil-design-image.mjs +12 -21
  274. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  275. package/fesm2022/daffodil-design-input-examples.mjs +15 -94
  276. package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
  277. package/fesm2022/daffodil-design-link-set.mjs +10 -20
  278. package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
  279. package/fesm2022/daffodil-design-list-examples.mjs +20 -140
  280. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
  281. package/fesm2022/daffodil-design-list.mjs +12 -21
  282. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  283. package/fesm2022/daffodil-design-loading-icon-examples.mjs +10 -53
  284. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
  285. package/fesm2022/daffodil-design-loading-icon.mjs +19 -26
  286. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
  287. package/fesm2022/daffodil-design-media-gallery-examples.mjs +10 -82
  288. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
  289. package/fesm2022/daffodil-design-media-gallery.mjs +14 -20
  290. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  291. package/fesm2022/daffodil-design-menu-examples.mjs +10 -39
  292. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
  293. package/fesm2022/daffodil-design-modal-examples.mjs +8 -33
  294. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
  295. package/fesm2022/daffodil-design-modal.mjs +169 -23
  296. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  297. package/fesm2022/daffodil-design-navbar-examples.mjs +20 -113
  298. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
  299. package/fesm2022/daffodil-design-navbar.mjs +20 -26
  300. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  301. package/fesm2022/daffodil-design-notification-examples.mjs +63 -132
  302. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  303. package/fesm2022/daffodil-design-notification.mjs +64 -56
  304. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  305. package/fesm2022/daffodil-design-paginator-examples.mjs +12 -28
  306. package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
  307. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  308. package/fesm2022/daffodil-design-progress-bar-examples.mjs +10 -73
  309. package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
  310. package/fesm2022/daffodil-design-progress-bar.mjs +16 -21
  311. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  312. package/fesm2022/daffodil-design-quantity-field-examples.mjs +25 -126
  313. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
  314. package/fesm2022/daffodil-design-radio-examples.mjs +4 -31
  315. package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -1
  316. package/fesm2022/daffodil-design-sidebar-examples.mjs +22 -130
  317. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
  318. package/fesm2022/daffodil-design-toast-examples.mjs +20 -142
  319. package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
  320. package/fesm2022/daffodil-design-toast.mjs +15 -21
  321. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  322. package/fesm2022/daffodil-design-tree-examples.mjs +6 -34
  323. package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
  324. package/fesm2022/daffodil-design-tree.mjs +11 -21
  325. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  326. package/fesm2022/daffodil-design.mjs +409 -199
  327. package/fesm2022/daffodil-design.mjs.map +1 -1
  328. package/hero/examples/compact-hero/compact-hero.component.d.ts +1 -1
  329. package/hero/examples/hero-text-alignment/hero-text-alignment.component.d.ts +1 -1
  330. package/hero/examples/hero-theming/hero-theming.component.d.ts +1 -1
  331. package/hero/examples/hero-with-grid/hero-with-grid.component.d.ts +1 -1
  332. package/hero/examples/public_api.d.ts +0 -4
  333. package/hero/hero/hero.component.d.ts +6 -38
  334. package/image/examples/basic-image/basic-image.component.d.ts +1 -1
  335. package/image/examples/load-image/load-image.component.d.ts +1 -1
  336. package/image/examples/public_api.d.ts +2 -2
  337. package/image/examples/skeleton-image/skeleton-image.component.d.ts +1 -1
  338. package/image/image/image.component.d.ts +5 -22
  339. package/index.d.ts +2 -2
  340. package/input/examples/basic-input/basic-input.component.d.ts +1 -1
  341. package/input/examples/examples.d.ts +2 -2
  342. package/input/examples/input-disabled/input-disabled.component.d.ts +1 -1
  343. package/input/examples/input-error/input-error.component.d.ts +1 -1
  344. package/input/examples/input-with-form-field/input-with-form-field.component.d.ts +1 -1
  345. package/link-set/link-set/link-set.component.d.ts +3 -22
  346. package/list/examples/basic-list/basic-list.component.d.ts +1 -1
  347. package/list/examples/icon-list/icon-list.component.d.ts +1 -1
  348. package/list/examples/multiline-list/multiline-list.component.d.ts +1 -1
  349. package/list/examples/nav-list/nav-list.component.d.ts +1 -1
  350. package/list/examples/public_api.d.ts +0 -1
  351. package/list/list/list.component.d.ts +5 -18
  352. package/loading-icon/README.md +1 -1
  353. package/loading-icon/examples/examples.d.ts +0 -2
  354. package/loading-icon/examples/loading-icon-color/loading-icon-color.component.d.ts +1 -1
  355. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.d.ts +1 -1
  356. package/loading-icon/loading-icon/loading-icon.component.d.ts +3 -22
  357. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.d.ts +1 -1
  358. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.d.ts +1 -1
  359. package/media-gallery/examples/public_api.d.ts +0 -3
  360. package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.d.ts +1 -1
  361. package/media-gallery/media-gallery/media-gallery.component.d.ts +5 -25
  362. package/menu/examples/basic-menu/basic-menu.component.d.ts +1 -1
  363. package/menu/examples/basic-menu/menu-content/menu-content.component.d.ts +1 -1
  364. package/menu/examples/public_api.d.ts +2 -2
  365. package/modal/README.md +22 -37
  366. package/modal/examples/basic-modal/basic-modal.component.d.ts +1 -1
  367. package/modal/examples/basic-modal/modal-content.component.d.ts +1 -1
  368. package/modal/examples/public_api.d.ts +2 -2
  369. package/modal/modal/modal.component.d.ts +17 -1
  370. package/modal/modal-actions/modal-actions.component.d.ts +1 -0
  371. package/modal/modal-close/modal-close.directive.d.ts +24 -0
  372. package/modal/modal-content/modal-content.component.d.ts +1 -0
  373. package/modal/modal-header/modal-header.component.d.ts +6 -1
  374. package/modal/modal-title/modal-title.directive.d.ts +12 -1
  375. package/modal/modal.module.d.ts +7 -4
  376. package/modal/public_api.d.ts +1 -0
  377. package/navbar/examples/basic-navbar/basic-navbar.component.d.ts +1 -1
  378. package/navbar/examples/contained-navbar/contained-navbar.component.d.ts +1 -1
  379. package/navbar/examples/navbar-theming/navbar-theming.component.d.ts +1 -1
  380. package/navbar/examples/public_api.d.ts +0 -4
  381. package/navbar/examples/raised-navbar/raised-navbar.component.d.ts +1 -1
  382. package/navbar/navbar/navbar.component.d.ts +3 -25
  383. package/notification/README.md +49 -23
  384. package/notification/examples/default-notification/default-notification.component.d.ts +3 -1
  385. package/notification/examples/dismissible-notification/dismissible-notification.component.d.ts +3 -1
  386. package/notification/examples/notification-orientations/notification-orientations.component.d.ts +1 -1
  387. package/notification/examples/notification-status/notification-status.component.d.ts +1 -1
  388. package/notification/examples/notification-with-actions/notification-with-actions.component.d.ts +8 -0
  389. package/notification/examples/public_api.d.ts +6 -2
  390. package/notification/index.d.ts +0 -4
  391. package/notification/notification/notification.component.d.ts +21 -30
  392. package/notification/src/notification-theme.scss +1 -1
  393. package/package.json +1 -1
  394. package/paginator/examples/basic-paginator/basic-paginator.component.d.ts +1 -1
  395. package/paginator/examples/link-paginator/link-paginator.component.d.ts +1 -1
  396. package/paginator/examples/public_api.d.ts +0 -1
  397. package/paginator/index.d.ts +0 -4
  398. package/progress-bar/examples/progress-bar-default/progress-bar-default.component.d.ts +1 -1
  399. package/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.d.ts +1 -1
  400. package/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.d.ts +1 -1
  401. package/progress-bar/examples/public_api.d.ts +2 -2
  402. package/progress-bar/index.d.ts +0 -4
  403. package/progress-bar/progress-bar.component.d.ts +7 -22
  404. package/public_api.d.ts +0 -1
  405. package/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.d.ts +1 -1
  406. package/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.d.ts +1 -1
  407. package/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.d.ts +1 -1
  408. package/quantity-field/examples/public_api.d.ts +0 -4
  409. package/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.d.ts +1 -1
  410. package/radio/examples/basic-radio/basic-radio.component.d.ts +1 -1
  411. package/radio/examples/examples.d.ts +0 -2
  412. package/radio/examples/public_api.d.ts +0 -1
  413. package/scss/state/skeleton/_mixins.scss +1 -1
  414. package/scss/typography/_index.scss +1 -1
  415. package/scss/typography/utilities/_variables.scss +14 -4
  416. package/sidebar/README.md +1 -1
  417. package/sidebar/examples/basic-sidebar/basic-sidebar.component.d.ts +1 -1
  418. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.d.ts +1 -1
  419. package/sidebar/examples/public_api.d.ts +2 -2
  420. package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.d.ts +1 -1
  421. package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.d.ts +1 -1
  422. package/toast/README.md +2 -2
  423. package/toast/examples/default-toast/default-toast.component.d.ts +1 -1
  424. package/toast/examples/public_api.d.ts +5 -2
  425. package/toast/examples/toast-positions/toast-positions.component.d.ts +1 -1
  426. package/toast/examples/toast-status/toast-status.component.d.ts +1 -1
  427. package/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.d.ts +1 -1
  428. package/toast/toast/toast.component.d.ts +7 -25
  429. package/tree/examples/basic-tree/basic-tree.component.d.ts +1 -1
  430. package/tree/examples/public_api.d.ts +0 -1
  431. package/tree/tree/tree.component.d.ts +5 -19
  432. package/article/examples/article-examples.module.d.ts +0 -18
  433. package/button/examples/basic-button/basic-button.module.d.ts +0 -9
  434. package/button/examples/flat-button/flat-button.module.d.ts +0 -9
  435. package/button/examples/icon-button/icon-button.module.d.ts +0 -9
  436. package/button/examples/raised-button/raised-button.module.d.ts +0 -9
  437. package/button/examples/sizeable-button/sizeable-button.module.d.ts +0 -9
  438. package/button/examples/statusable-button/statusable-button.module.d.ts +0 -9
  439. package/button/examples/stroked-button/stroked-button.module.d.ts +0 -9
  440. package/button/examples/underline-button/underline-button.module.d.ts +0 -9
  441. package/callout/examples/callout-text-alignment/callout-text-alignment.module.d.ts +0 -13
  442. package/callout/examples/callout-theming/callout-theming.module.d.ts +0 -12
  443. package/callout/examples/callout-with-grid/callout-with-grid.module.d.ts +0 -13
  444. package/callout/examples/compact-callout/compact-callout.module.d.ts +0 -12
  445. package/card/examples/basic-card/basic-card.module.d.ts +0 -12
  446. package/card/examples/card-orientation/card-orientation.module.d.ts +0 -13
  447. package/card/examples/card-theming/card-theming.module.d.ts +0 -11
  448. package/card/examples/linkable-card/linkable-card.module.d.ts +0 -13
  449. package/card/examples/raised-card/raised-card.module.d.ts +0 -12
  450. package/card/examples/stroked-card/stroked-card.module.d.ts +0 -13
  451. package/checkbox/examples/basic-checkbox/basic-checkbox.module.d.ts +0 -10
  452. package/checkbox/examples/checkbox-set/checkbox-set.module.d.ts +0 -10
  453. package/container/examples/container-sizes/container-sizes.module.d.ts +0 -10
  454. package/core/article-encapsulated/article-encapsulated-mixin.d.ts +0 -15
  455. package/core/colorable/color-in-palette.d.ts +0 -1
  456. package/core/colorable/colorable-enum.d.ts +0 -10
  457. package/core/colorable/colorable-mixin.d.ts +0 -23
  458. package/core/compactable/compactable-mixin.d.ts +0 -14
  459. package/core/manage-container-layout/manage-container-layout-mixin.d.ts +0 -17
  460. package/core/sizable/sizable-mixin.d.ts +0 -15
  461. package/core/skeletonable/skeletonable-mixin.d.ts +0 -15
  462. package/core/statusable/statusable-mixin.d.ts +0 -16
  463. package/core/text-alignable/text-alignable-mixin.d.ts +0 -19
  464. package/esm2022/article/examples/article-examples.module.mjs +0 -35
  465. package/esm2022/button/examples/basic-button/basic-button.module.mjs +0 -28
  466. package/esm2022/button/examples/flat-button/flat-button.module.mjs +0 -28
  467. package/esm2022/button/examples/icon-button/icon-button.module.mjs +0 -28
  468. package/esm2022/button/examples/raised-button/raised-button.module.mjs +0 -28
  469. package/esm2022/button/examples/sizeable-button/sizeable-button.module.mjs +0 -28
  470. package/esm2022/button/examples/statusable-button/statusable-button.module.mjs +0 -28
  471. package/esm2022/button/examples/stroked-button/stroked-button.module.mjs +0 -28
  472. package/esm2022/button/examples/underline-button/underline-button.module.mjs +0 -28
  473. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +0 -41
  474. package/esm2022/callout/examples/callout-theming/callout-theming.module.mjs +0 -37
  475. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.module.mjs +0 -41
  476. package/esm2022/callout/examples/compact-callout/compact-callout.module.mjs +0 -37
  477. package/esm2022/card/examples/basic-card/basic-card.module.mjs +0 -40
  478. package/esm2022/card/examples/card-orientation/card-orientation.module.mjs +0 -44
  479. package/esm2022/card/examples/card-theming/card-theming.module.mjs +0 -36
  480. package/esm2022/card/examples/linkable-card/linkable-card.module.mjs +0 -44
  481. package/esm2022/card/examples/raised-card/raised-card.module.mjs +0 -40
  482. package/esm2022/card/examples/stroked-card/stroked-card.module.mjs +0 -44
  483. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +0 -33
  484. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.module.mjs +0 -33
  485. package/esm2022/container/examples/container-sizes/container-sizes.module.mjs +0 -32
  486. package/esm2022/core/article-encapsulated/article-encapsulated-mixin.mjs +0 -12
  487. package/esm2022/core/colorable/color-in-palette.mjs +0 -5
  488. package/esm2022/core/colorable/colorable-enum.mjs +0 -12
  489. package/esm2022/core/colorable/colorable-mixin.mjs +0 -42
  490. package/esm2022/core/compactable/compactable-mixin.mjs +0 -26
  491. package/esm2022/core/manage-container-layout/manage-container-layout-mixin.mjs +0 -14
  492. package/esm2022/core/sizable/sizable-mixin.mjs +0 -31
  493. package/esm2022/core/skeletonable/skeletonable-mixin.mjs +0 -26
  494. package/esm2022/core/statusable/statusable-mixin.mjs +0 -32
  495. package/esm2022/core/text-alignable/text-alignable-mixin.mjs +0 -35
  496. package/esm2022/examples/examples.mjs +0 -2
  497. package/esm2022/examples/public_api.mjs +0 -2
  498. package/esm2022/hero/examples/compact-hero/compact-hero.module.mjs +0 -40
  499. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +0 -41
  500. package/esm2022/hero/examples/hero-theming/hero-theming.module.mjs +0 -40
  501. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.module.mjs +0 -41
  502. package/esm2022/image/examples/basic-image/basic-image.module.mjs +0 -24
  503. package/esm2022/image/examples/load-image/load-image.module.mjs +0 -28
  504. package/esm2022/image/examples/skeleton-image/skeleton-image.module.mjs +0 -24
  505. package/esm2022/input/examples/basic-input/basic-input.module.mjs +0 -24
  506. package/esm2022/input/examples/input-disabled/input-disabled.module.mjs +0 -24
  507. package/esm2022/input/examples/input-error/input-error.module.mjs +0 -28
  508. package/esm2022/input/examples/input-with-form-field/input-with-form-field.module.mjs +0 -24
  509. package/esm2022/list/examples/basic-list/basic-list.module.mjs +0 -28
  510. package/esm2022/list/examples/icon-list/icon-list.module.mjs +0 -32
  511. package/esm2022/list/examples/list-examples.module.mjs +0 -33
  512. package/esm2022/list/examples/multiline-list/multiline-list.module.mjs +0 -32
  513. package/esm2022/list/examples/nav-list/nav-list.module.mjs +0 -32
  514. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +0 -32
  515. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +0 -24
  516. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +0 -29
  517. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +0 -29
  518. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +0 -29
  519. package/esm2022/menu/examples/basic-menu/basic-menu.module.mjs +0 -35
  520. package/esm2022/modal/examples/basic-modal/basic-modal.module.mjs +0 -31
  521. package/esm2022/navbar/examples/basic-navbar/basic-navbar.module.mjs +0 -33
  522. package/esm2022/navbar/examples/contained-navbar/contained-navbar.module.mjs +0 -33
  523. package/esm2022/navbar/examples/navbar-theming/navbar-theming.module.mjs +0 -33
  524. package/esm2022/navbar/examples/raised-navbar/raised-navbar.module.mjs +0 -29
  525. package/esm2022/notification/examples/default-notification/default-notification.module.mjs +0 -36
  526. package/esm2022/notification/examples/dismissible-notification/dismissible-notification.module.mjs +0 -36
  527. package/esm2022/notification/examples/notification-orientations/notification-orientations.module.mjs +0 -40
  528. package/esm2022/notification/examples/notification-status/notification-status.module.mjs +0 -40
  529. package/esm2022/paginator/examples/paginator-examples.module.mjs +0 -27
  530. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.module.mjs +0 -24
  531. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.module.mjs +0 -24
  532. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.module.mjs +0 -28
  533. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +0 -35
  534. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +0 -35
  535. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +0 -35
  536. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +0 -35
  537. package/esm2022/radio/examples/basic-radio/basic-radio.module.mjs +0 -29
  538. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +0 -32
  539. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.mjs +0 -44
  540. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.mjs +0 -32
  541. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.mjs +0 -28
  542. package/esm2022/toast/examples/default-toast/default-toast.module.mjs +0 -36
  543. package/esm2022/toast/examples/toast-positions/toast-positions.module.mjs +0 -57
  544. package/esm2022/toast/examples/toast-status/toast-status.module.mjs +0 -40
  545. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.module.mjs +0 -32
  546. package/esm2022/tree/examples/basic-tree/basic-tree.module.mjs +0 -32
  547. package/examples/examples.d.ts +0 -12
  548. package/examples/public_api.d.ts +0 -1
  549. package/hero/examples/compact-hero/compact-hero.module.d.ts +0 -12
  550. package/hero/examples/hero-text-alignment/hero-text-alignment.module.d.ts +0 -13
  551. package/hero/examples/hero-theming/hero-theming.module.d.ts +0 -12
  552. package/hero/examples/hero-with-grid/hero-with-grid.module.d.ts +0 -13
  553. package/image/examples/basic-image/basic-image.module.d.ts +0 -8
  554. package/image/examples/load-image/load-image.module.d.ts +0 -9
  555. package/image/examples/skeleton-image/skeleton-image.module.d.ts +0 -8
  556. package/input/examples/basic-input/basic-input.module.d.ts +0 -8
  557. package/input/examples/input-disabled/input-disabled.module.d.ts +0 -8
  558. package/input/examples/input-error/input-error.module.d.ts +0 -9
  559. package/input/examples/input-with-form-field/input-with-form-field.module.d.ts +0 -8
  560. package/list/examples/basic-list/basic-list.module.d.ts +0 -9
  561. package/list/examples/icon-list/icon-list.module.d.ts +0 -10
  562. package/list/examples/list-examples.module.d.ts +0 -11
  563. package/list/examples/multiline-list/multiline-list.module.d.ts +0 -10
  564. package/list/examples/nav-list/nav-list.module.d.ts +0 -10
  565. package/loading-icon/examples/loading-icon-color/loading-icon-color.module.d.ts +0 -10
  566. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.d.ts +0 -8
  567. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.d.ts +0 -9
  568. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.d.ts +0 -9
  569. package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.d.ts +0 -9
  570. package/menu/examples/basic-menu/basic-menu.module.d.ts +0 -11
  571. package/modal/examples/basic-modal/basic-modal.module.d.ts +0 -10
  572. package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +0 -11
  573. package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +0 -11
  574. package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +0 -11
  575. package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +0 -10
  576. package/notification/examples/default-notification/default-notification.module.d.ts +0 -11
  577. package/notification/examples/dismissible-notification/dismissible-notification.module.d.ts +0 -11
  578. package/notification/examples/notification-orientations/notification-orientations.module.d.ts +0 -12
  579. package/notification/examples/notification-status/notification-status.module.d.ts +0 -12
  580. package/paginator/examples/paginator-examples.module.d.ts +0 -10
  581. package/progress-bar/examples/progress-bar-default/progress-bar-default.module.d.ts +0 -8
  582. package/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.module.d.ts +0 -8
  583. package/progress-bar/examples/progress-bar-themes/progress-bar-themes.module.d.ts +0 -9
  584. package/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.d.ts +0 -10
  585. package/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.d.ts +0 -10
  586. package/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.d.ts +0 -10
  587. package/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.d.ts +0 -10
  588. package/radio/examples/basic-radio/basic-radio.module.d.ts +0 -9
  589. package/sidebar/examples/basic-sidebar/basic-sidebar.module.d.ts +0 -10
  590. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.d.ts +0 -13
  591. package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.d.ts +0 -10
  592. package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.d.ts +0 -9
  593. package/toast/examples/default-toast/default-toast.module.d.ts +0 -11
  594. package/toast/examples/toast-positions/toast-positions.module.d.ts +0 -12
  595. package/toast/examples/toast-status/toast-status.module.d.ts +0 -12
  596. package/toast/examples/toast-with-custom-duration/toast-with-custom-duration.module.d.ts +0 -10
  597. package/tree/examples/basic-tree/basic-tree.module.d.ts +0 -10
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class CompactHeroComponent {
3
3
  faMobile: import("@fortawesome/fontawesome-common-types").IconDefinition;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<CompactHeroComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<CompactHeroComponent, "compact-hero", never, {}, {}, never, never, false, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<CompactHeroComponent, "compact-hero", never, {}, {}, never, never, true, never>;
6
6
  }
@@ -8,5 +8,5 @@ export declare class HeroTextAlignmentComponent {
8
8
  label: string;
9
9
  }[];
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<HeroTextAlignmentComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<HeroTextAlignmentComponent, "hero-text-alignment", never, {}, {}, never, never, false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeroTextAlignmentComponent, "hero-text-alignment", never, {}, {}, never, never, true, never>;
12
12
  }
@@ -6,5 +6,5 @@ export declare class HeroThemingComponent {
6
6
  color: DaffPalette;
7
7
  colorControl: UntypedFormControl;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<HeroThemingComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<HeroThemingComponent, "hero-theming", never, {}, {}, never, never, false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeroThemingComponent, "hero-theming", never, {}, {}, never, never, true, never>;
10
10
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class HeroWithGridComponent {
3
3
  faMobile: import("@fortawesome/fontawesome-common-types").IconDefinition;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<HeroWithGridComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<HeroWithGridComponent, "hero-with-grid", never, {}, {}, never, never, false, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeroWithGridComponent, "hero-with-grid", never, {}, {}, never, never, true, never>;
6
6
  }
@@ -1,9 +1,5 @@
1
1
  export { HeroThemingComponent } from './hero-theming/hero-theming.component';
2
- export { HeroThemingModule } from './hero-theming/hero-theming.module';
3
2
  export { HeroTextAlignmentComponent } from './hero-text-alignment/hero-text-alignment.component';
4
- export { HeroTextAlignmentModule } from './hero-text-alignment/hero-text-alignment.module';
5
3
  export { HeroWithGridComponent } from './hero-with-grid/hero-with-grid.component';
6
- export { HeroWithGridModule } from './hero-with-grid/hero-with-grid.module';
7
4
  export { CompactHeroComponent } from './compact-hero/compact-hero.component';
8
- export { CompactHeroModule } from './compact-hero/compact-hero.module';
9
5
  export { HERO_EXAMPLES } from './examples';
@@ -1,48 +1,16 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import { DaffColorable, DaffCompactable, DaffTextAlignable } from '@daffodil/design';
1
+ import { DaffTextAlignableDirective } from '@daffodil/design';
3
2
  import * as i0 from "@angular/core";
4
- /**
5
- * An _elementRef and an instance of renderer2 are needed for the hero mixins
6
- */
7
- declare class DaffHeroBase {
8
- _elementRef: ElementRef;
9
- _renderer: Renderer2;
10
- constructor(_elementRef: ElementRef, _renderer: Renderer2);
11
- }
12
- declare const _daffHeroBase: (new (...args: any[]) => {
13
- _elementRef: ElementRef<any>;
14
- _renderer: Renderer2;
15
- }) & (new (...args: any[]) => {
16
- _elementRef: ElementRef<any>;
17
- _renderer: Renderer2;
18
- }) & (new (...args: any[]) => {
19
- _color: import("@daffodil/design").DaffPalette;
20
- color: import("@daffodil/design").DaffPalette;
21
- _elementRef: ElementRef<any>;
22
- _renderer: Renderer2;
23
- }) & (new (...args: any[]) => {
24
- _compact: boolean;
25
- compact: boolean;
26
- _elementRef: ElementRef<any>;
27
- _renderer: Renderer2;
28
- }) & (new (...args: any[]) => {
29
- _textAlignment: import("@daffodil/design").DaffTextAlignment;
30
- textAlignment: import("@daffodil/design").DaffTextAlignment;
31
- _elementRef: ElementRef<any>;
32
- _renderer: Renderer2;
33
- }) & typeof DaffHeroBase;
3
+ import * as i1 from "@daffodil/design";
34
4
  /**
35
5
  * @inheritdoc
36
6
  */
37
- export declare class DaffHeroComponent extends _daffHeroBase implements DaffColorable, DaffTextAlignable, DaffCompactable {
38
- private elementRef;
39
- private renderer;
40
- constructor(elementRef: ElementRef, renderer: Renderer2);
7
+ export declare class DaffHeroComponent {
8
+ private textAlignable;
9
+ constructor(textAlignable: DaffTextAlignableDirective);
41
10
  /**
42
11
  * @docs-private
43
12
  */
44
13
  class: boolean;
45
14
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffHeroComponent, "daff-hero", never, { "color": { "alias": "color"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "textAlignment": { "alias": "textAlignment"; "required": false; }; }, {}, never, ["*"], false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffHeroComponent, "daff-hero", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffManageContainerLayoutDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffTextAlignableDirective; inputs: { "textAlignment": "textAlignment"; }; outputs: {}; }, { directive: typeof i1.DaffCompactableDirective; inputs: { "compact": "compact"; }; outputs: {}; }, { directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }]>;
47
16
  }
48
- export {};
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BasicImageComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<BasicImageComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BasicImageComponent, "basic-image", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<BasicImageComponent, "basic-image", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -3,5 +3,5 @@ export declare class LoadImageComponent {
3
3
  loaded: boolean;
4
4
  load(): void;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<LoadImageComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<LoadImageComponent, "load-image", never, {}, {}, never, never, false, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoadImageComponent, "load-image", never, {}, {}, never, never, true, never>;
7
7
  }
@@ -1,2 +1,2 @@
1
- import { ComponentExample } from '@daffodil/design';
2
- export declare const IMAGE_EXAMPLES: ComponentExample[];
1
+ import { BasicImageComponent } from './basic-image/basic-image.component';
2
+ export declare const IMAGE_EXAMPLES: (typeof BasicImageComponent)[];
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class SkeletonImageComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonImageComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonImageComponent, "skeleton-image", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonImageComponent, "skeleton-image", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -1,25 +1,9 @@
1
- import { EventEmitter, OnInit, ElementRef, Renderer2 } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { DomSanitizer } from '@angular/platform-browser';
3
- import { DaffSkeletonable } from '@daffodil/design';
4
3
  import * as i0 from "@angular/core";
5
- /**
6
- * An _elementRef is needed for the GolfGhostable mixin
7
- */
8
- declare class DaffImageBase {
9
- _elementRef: ElementRef;
10
- _renderer: Renderer2;
11
- constructor(_elementRef: ElementRef, _renderer: Renderer2);
12
- }
13
- declare const _daffImageBase: (new (...args: any[]) => {
14
- _skeleton: boolean;
15
- skeleton: boolean;
16
- _elementRef: ElementRef<any>;
17
- _renderer: Renderer2;
18
- }) & typeof DaffImageBase;
19
- export declare class DaffImageComponent extends _daffImageBase implements OnInit, DaffSkeletonable {
4
+ import * as i1 from "@daffodil/design";
5
+ export declare class DaffImageComponent implements OnInit {
20
6
  private sanitizer;
21
- private elementRef;
22
- private renderer;
23
7
  private _src;
24
8
  get src(): string;
25
9
  set src(value: string);
@@ -37,7 +21,7 @@ export declare class DaffImageComponent extends _daffImageBase implements OnInit
37
21
  * @docs-private
38
22
  */
39
23
  ngOnInit(): void;
40
- constructor(sanitizer: DomSanitizer, elementRef: ElementRef, renderer: Renderer2);
24
+ constructor(sanitizer: DomSanitizer);
41
25
  /**
42
26
  * @docs-private
43
27
  */
@@ -47,6 +31,5 @@ export declare class DaffImageComponent extends _daffImageBase implements OnInit
47
31
  */
48
32
  get maxWidth(): string;
49
33
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffImageComponent, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffImageComponent, "daff-image", never, { "skeleton": { "alias": "skeleton"; "required": false; }; "src": { "alias": "src"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, { "load": "load"; }, never, never, false, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffImageComponent, "daff-image", never, { "src": { "alias": "src"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, { "load": "load"; }, never, never, false, [{ directive: typeof i1.DaffSkeletonableDirective; inputs: { "skeleton": "skeleton"; }; outputs: {}; }]>;
51
35
  }
52
- export {};
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated bundle index. Do not edit.
2
+ * This is a filler file for making the
3
+ * demo work in dev mode.
3
4
  */
4
- /// <amd-module name="@daffodil/design" />
5
5
  export * from './public_api';
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BasicInputComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<BasicInputComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BasicInputComponent, "basic-input", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<BasicInputComponent, "basic-input", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -1,2 +1,2 @@
1
- import { ComponentExampleWithModule } from '@daffodil/design';
2
- export declare const INPUT_EXAMPLES: ComponentExampleWithModule[];
1
+ import { BasicInputComponent } from './basic-input/basic-input.component';
2
+ export declare const INPUT_EXAMPLES: (typeof BasicInputComponent)[];
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class InputDisabledComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<InputDisabledComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<InputDisabledComponent, "input-disabled", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputDisabledComponent, "input-disabled", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class InputErrorComponent {
4
4
  control: UntypedFormControl;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<InputErrorComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<InputErrorComponent, "input-error", never, {}, {}, never, never, false, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputErrorComponent, "input-error", never, {}, {}, never, never, true, never>;
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class InputWithFormFieldComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<InputWithFormFieldComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<InputWithFormFieldComponent, "input-with-form-field", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputWithFormFieldComponent, "input-with-form-field", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -1,32 +1,13 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
- /**
4
- * An _elementRef and an instance of renderer2 are needed for the link set mixins
5
- */
6
- declare class DaffLinkSetBase {
7
- _elementRef: ElementRef;
8
- _renderer: Renderer2;
9
- constructor(_elementRef: ElementRef, _renderer: Renderer2);
10
- }
11
- declare const _daffLinkSetBase: (new (...args: any[]) => {
12
- _elementRef: ElementRef<any>;
13
- /**
14
- * DaffLinkSetComponent is a component for displaying a two or more links.
15
- */
16
- _renderer: Renderer2;
17
- }) & typeof DaffLinkSetBase;
2
+ import * as i1 from "@daffodil/design";
18
3
  /**
19
4
  * DaffLinkSetComponent is a component for displaying a two or more links.
20
5
  */
21
- export declare class DaffLinkSetComponent extends _daffLinkSetBase {
22
- private elementRef;
23
- private renderer;
6
+ export declare class DaffLinkSetComponent {
24
7
  /**
25
8
  * @docs-private
26
9
  */
27
10
  class: boolean;
28
- constructor(elementRef: ElementRef, renderer: Renderer2);
29
11
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffLinkSetComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffLinkSetComponent, "daff-link-set", never, {}, {}, never, ["*"], false, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffLinkSetComponent, "daff-link-set", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }]>;
31
13
  }
32
- export {};
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BasicListComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<BasicListComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BasicListComponent, "basic-list", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<BasicListComponent, "basic-list", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class IconListComponent {
3
3
  faInfoCircle: import("@fortawesome/fontawesome-common-types").IconDefinition;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<IconListComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<IconListComponent, "icon-list", never, {}, {}, never, never, false, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconListComponent, "icon-list", never, {}, {}, never, never, true, never>;
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class MultilineListComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<MultilineListComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<MultilineListComponent, "multiline-list", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultilineListComponent, "multiline-list", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class NavListComponent {
3
3
  faChevronRight: import("@fortawesome/fontawesome-common-types").IconDefinition;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<NavListComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<NavListComponent, "nav-list", never, {}, {}, never, never, false, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavListComponent, "nav-list", never, {}, {}, never, never, true, never>;
6
6
  }
@@ -2,5 +2,4 @@ export { BasicListComponent } from './basic-list/basic-list.component';
2
2
  export { NavListComponent } from './nav-list/nav-list.component';
3
3
  export { IconListComponent } from './icon-list/icon-list.component';
4
4
  export { MultilineListComponent } from './multiline-list/multiline-list.component';
5
- export { ListExamplesModule } from './list-examples.module';
6
5
  export { LIST_EXAMPLES } from './examples';
@@ -1,21 +1,9 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
1
+ import { ElementRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
+ import * as i1 from "@daffodil/design";
3
4
  export type DaffListType = 'daff-list' | 'daff-nav-list';
4
- /**
5
- * An _elementRef and an instance of renderer2 are needed for the list mixins
6
- */
7
- declare class DaffListBase {
8
- _elementRef: ElementRef;
9
- _renderer: Renderer2;
10
- constructor(_elementRef: ElementRef, _renderer: Renderer2);
11
- }
12
- declare const _daffListBase: (new (...args: any[]) => {
13
- _elementRef: ElementRef<any>;
14
- _renderer: Renderer2;
15
- }) & typeof DaffListBase;
16
- export declare class DaffListComponent extends _daffListBase {
5
+ export declare class DaffListComponent {
17
6
  private elementRef;
18
- private renderer;
19
7
  /**
20
8
  * @docs-private
21
9
  */
@@ -24,7 +12,7 @@ export declare class DaffListComponent extends _daffListBase {
24
12
  * @docs-private
25
13
  */
26
14
  get listType(): DaffListType;
27
- constructor(elementRef: ElementRef, renderer: Renderer2);
15
+ constructor(elementRef: ElementRef);
28
16
  /**
29
17
  * @docs-private
30
18
  */
@@ -37,6 +25,5 @@ export declare class DaffListComponent extends _daffListBase {
37
25
  get role(): "list" | "navigation";
38
26
  private _getHostElement;
39
27
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffListComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffListComponent, "daff-list,daff-nav-list", never, {}, {}, never, ["*"], false, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffListComponent, "daff-list,daff-nav-list", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }]>;
41
29
  }
42
- export {};
@@ -2,7 +2,7 @@
2
2
  Loading icons are used as an indicator of an event in progress.
3
3
 
4
4
  ## Overview
5
- Loading icons are used to indicate to users that an event is ocurring and is still in progress. They should only be used for short loading processes. For events that can take a considerable amount of time, use the [Progress Bar](../progress-bar/README.md) component instead.
5
+ Loading icons are used to indicate to users that an event is ocurring and is still in progress. They should only be used for short loading processes. For events that can take a considerable amount of time, use the [Progress Bar](/libs/design/progress-bar/README.md) component instead.
6
6
 
7
7
  ## Diameter
8
8
  The diameter of a loading icon can be defined by using the `diameter` property. By default, the diameter is set to `60`.
@@ -1,4 +1,2 @@
1
- export { LoadingIconColorModule } from './loading-icon-color/loading-icon-color.module';
2
1
  import { LoadingIconDiameterComponent } from './loading-icon-diameter/loading-icon-diameter.component';
3
- export { LoadingIconDiameterModule } from './loading-icon-diameter/loading-icon-diameter.module';
4
2
  export declare const LOADING_ICON_EXAMPLES: (typeof LoadingIconDiameterComponent)[];
@@ -7,5 +7,5 @@ export declare class LoadingIconColorComponent {
7
7
  label: string;
8
8
  }[];
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<LoadingIconColorComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<LoadingIconColorComponent, "loading-icon-color", never, {}, {}, never, never, false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoadingIconColorComponent, "loading-icon-color", never, {}, {}, never, never, true, never>;
11
11
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class LoadingIconDiameterComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<LoadingIconDiameterComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<LoadingIconDiameterComponent, "loading-icon-diameter", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoadingIconDiameterComponent, "loading-icon-diameter", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -1,26 +1,9 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import { DaffColorable } from '@daffodil/design';
3
1
  import * as i0 from "@angular/core";
4
- /**
5
- * An _elementRef and an instance of renderer2 are needed for the Colorable mixin
6
- */
7
- declare class DaffLoadingIconBase {
8
- _elementRef: ElementRef;
9
- _renderer: Renderer2;
10
- constructor(_elementRef: ElementRef, _renderer: Renderer2);
11
- }
12
- declare const _daffLoadingIconBase: (new (...args: any[]) => {
13
- _color: import("@daffodil/design").DaffPalette;
14
- color: import("@daffodil/design").DaffPalette;
15
- _elementRef: ElementRef<any>;
16
- _renderer: Renderer2;
17
- }) & typeof DaffLoadingIconBase;
2
+ import * as i1 from "@daffodil/design";
18
3
  /**
19
4
  * @inheritdoc
20
5
  */
21
- export declare class DaffLoadingIconComponent extends _daffLoadingIconBase implements DaffColorable {
22
- private elementRef;
23
- private renderer;
6
+ export declare class DaffLoadingIconComponent {
24
7
  /**
25
8
  * The (pixel) diameter of the animation
26
9
  */
@@ -33,8 +16,6 @@ export declare class DaffLoadingIconComponent extends _daffLoadingIconBase imple
33
16
  * @docs-private
34
17
  */
35
18
  get maxWidth(): string;
36
- constructor(elementRef: ElementRef, renderer: Renderer2);
37
19
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffLoadingIconComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffLoadingIconComponent, "daff-loading-icon", never, { "color": { "alias": "color"; "required": false; }; "diameter": { "alias": "diameter"; "required": false; }; }, {}, never, never, false, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffLoadingIconComponent, "daff-loading-icon", never, { "diameter": { "alias": "diameter"; "required": false; }; }, {}, never, never, false, [{ directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }]>;
39
21
  }
40
- export {};
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BasicMediaGalleryComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<BasicMediaGalleryComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BasicMediaGalleryComponent, "basic-media-gallery", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<BasicMediaGalleryComponent, "basic-media-gallery", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class MismatchedSizesMediaGalleryComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<MismatchedSizesMediaGalleryComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<MismatchedSizesMediaGalleryComponent, "mismatched-sizes-media-gallery", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<MismatchedSizesMediaGalleryComponent, "mismatched-sizes-media-gallery", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -1,7 +1,4 @@
1
1
  export { MEDIA_GALLERY_EXAMPLES } from './examples';
2
- export { BasicMediaGalleryModule } from './basic-media-gallery/basic-media-gallery.module';
3
2
  export { BasicMediaGalleryComponent } from './basic-media-gallery/basic-media-gallery.component';
4
- export { MismatchedSizesMediaGalleryModule } from './mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module';
5
3
  export { MismatchedSizesMediaGalleryComponent } from './mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component';
6
4
  export { SkeletonMediaGalleryComponent } from './skeleton-media-gallery/skeleton-media-gallery.component';
7
- export { SkeletonMediaGalleryModule } from './skeleton-media-gallery/skeleton-media-gallery.module';
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class SkeletonMediaGalleryComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonMediaGalleryComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonMediaGalleryComponent, "skeleton-media-gallery", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonMediaGalleryComponent, "skeleton-media-gallery", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -1,28 +1,9 @@
1
- import { OnInit, OnDestroy, ElementRef, Renderer2 } from '@angular/core';
2
- import { DaffSkeletonable } from '@daffodil/design';
1
+ import { OnInit, OnDestroy } from '@angular/core';
3
2
  import { DaffMediaGalleryRegistration } from '../helpers/media-gallery-registration.interface';
4
3
  import { DaffMediaGalleryRegistry } from '../registry/media-gallery.registry';
5
4
  import * as i0 from "@angular/core";
6
- /**
7
- * An _elementRef and an instance of renderer2 are needed for the link set mixins
8
- */
9
- declare class DaffMediaGalleryBase {
10
- _elementRef: ElementRef;
11
- _renderer: Renderer2;
12
- constructor(_elementRef: ElementRef, _renderer: Renderer2);
13
- }
14
- declare const _daffMediaGalleryBase: (new (...args: any[]) => {
15
- _skeleton: boolean;
16
- skeleton: boolean;
17
- _elementRef: ElementRef<any>;
18
- _renderer: Renderer2;
19
- }) & (new (...args: any[]) => {
20
- _elementRef: ElementRef<any>;
21
- _renderer: Renderer2;
22
- }) & typeof DaffMediaGalleryBase;
23
- export declare class DaffMediaGalleryComponent extends _daffMediaGalleryBase implements DaffMediaGalleryRegistration, DaffSkeletonable, OnInit, OnDestroy {
24
- private elementRef;
25
- private renderer;
5
+ import * as i1 from "@daffodil/design";
6
+ export declare class DaffMediaGalleryComponent implements DaffMediaGalleryRegistration, OnInit, OnDestroy {
26
7
  private registry;
27
8
  /**
28
9
  * Adds a class for styling the media gallery
@@ -32,10 +13,9 @@ export declare class DaffMediaGalleryComponent extends _daffMediaGalleryBase imp
32
13
  * The name of the gallery
33
14
  */
34
15
  name: string;
35
- constructor(elementRef: ElementRef, renderer: Renderer2, registry: DaffMediaGalleryRegistry);
16
+ constructor(registry: DaffMediaGalleryRegistry);
36
17
  ngOnInit(): void;
37
18
  ngOnDestroy(): void;
38
19
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffMediaGalleryComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffMediaGalleryComponent, "daff-media-gallery", never, { "skeleton": { "alias": "skeleton"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, ["[daffThumbnail]"], false, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffMediaGalleryComponent, "daff-media-gallery", never, { "skeleton": { "alias": "skeleton"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, ["[daffThumbnail]"], false, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffSkeletonableDirective; inputs: { "skeleton": "skeleton"; }; outputs: {}; }]>;
40
21
  }
41
- export {};
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class BasicMenuComponent {
4
4
  menu: typeof MenuContentComponent;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<BasicMenuComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<BasicMenuComponent, "basic-menu", never, {}, {}, never, never, false, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<BasicMenuComponent, "basic-menu", never, {}, {}, never, never, true, never>;
7
7
  }
@@ -4,5 +4,5 @@ export declare class MenuContentComponent {
4
4
  faInfo: import("@fortawesome/fontawesome-common-types").IconDefinition;
5
5
  faEnvelope: import("@fortawesome/fontawesome-common-types").IconDefinition;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<MenuContentComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<MenuContentComponent, "menu-content", never, {}, {}, never, never, false, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<MenuContentComponent, "menu-content", never, {}, {}, never, never, true, never>;
8
8
  }
@@ -1,2 +1,2 @@
1
- import { ComponentExample } from '@daffodil/design';
2
- export declare const MENU_EXAMPLES: ComponentExample[];
1
+ import { BasicMenuComponent } from './basic-menu/basic-menu.component';
2
+ export declare const MENU_EXAMPLES: (typeof BasicMenuComponent)[];
package/modal/README.md CHANGED
@@ -1,47 +1,32 @@
1
- # Modal Component
1
+ # Modal
2
+ Modal is a dynamically rendered element that floats above the rest of a page's content. It can be especially useful for interstitials that require additional user feedback.
2
3
 
3
- The `DaffModalComponent` is a dynamically rendered component that floats above the rest of a page's content. It can be especially useful for interstitials that require additional user feedback.
4
+ ## Basic Modal
5
+ <design-land-example-viewer-container example="basic-modal"></design-land-example-viewer-container>
4
6
 
5
- ## Usage
7
+ ## Supported Content Types
8
+ A modal includes minimally pre-styled components and directives to help structure the content in your modal.
6
9
 
7
- `DaffModalComponent` relies on using the `entryComponents` of the particular Angular `@NgModule`. To use the features of the `DaffModalComponent`:
10
+ ### Header
11
+ Header can be added to a modal by using `<daff-modal-header>`. The header includes a title and an optional close button.
8
12
 
9
- * Import the `DaffModalModule` as you would with any other `@daffodil/design` component
10
- * Add the component that you want rendered inside the modal to your `@NgModule`'s `entryComponents`
13
+ #### Title
14
+ Title can be added to the header by using the `[daffModalTitle]` directive.
11
15
 
12
- ```ts
13
- my.module.ts
16
+ #### Close Button
17
+ The close button in the header is shown by default but can be hidden by setting the `dismissible` property to `false` on the header.
14
18
 
15
- @NgModule({
16
- declarations: [
17
- MyModalContentComponent,
18
- ],
19
- imports: [
20
- DaffModalModule,
21
- ],
22
- entryComponents: [
23
- MyModalContentComponent
24
- ]
25
- })
26
- export class ModalModule {
27
- }
28
- ```
19
+ ### Content
20
+ Content can be added to a modal by using `<daff-modal-content>`. It should only be used once. It's a wrapper container that can be used to place all additional components and text content within a modal. The content container allows for a ton of control and customization because it's minimally pre-styled and serves as a wrapping and spacing container that is scrollable.
29
21
 
30
- Once your `@NgModule` has been configured, you can take advantage of the `DaffModalService` that is provided by the `DaffModalModule` to `open` and `close` the instance of the `DaffModalComponent`.
22
+ ### Actions
23
+ Buttons can be added to a modal by using `<daff-modal-actions>`. This container will always be positioned at the bottom of a modal. The horizontal alignment of the actions is set to `end`.
31
24
 
32
- ```ts
33
- my-other.component.ts
25
+ ## Dismissing a Modal
26
+ A modal can be dismissed via the close button or the `ESC` key. The close button is shown by default but can be hidden by setting the `dismissible` property to `false` on `<daff-modal-header>`. Additionally, the `[daffModalClose]` directive can be added to a `<button>` HTML element.
34
27
 
35
- @Component({
36
- template: '<button (click)="showModal()"></button>'
37
- })
38
- export class MyOtherComponent {
39
- constructor(private modalService: DaffModalService) {}
28
+ ## Accessibility
29
+ Modal works with the ARIA `role="dialog"` and `aria-modal="true"` attributes to provide an accessible experience. `aria-labelledby` is assigned the `[daffModalTitle]` string. When a modal is opened, the first tabbable element within it will receive focus.
40
30
 
41
- showModal() {
42
- this.modalService.open(MyModalContentComponent);
43
- }
44
- }
45
- ```
46
-
47
- > You will likely never render the `DaffModalComponent` directly like you would with other components due to its dynamic nature.
31
+ ### Keyboard Interactions
32
+ A modal can be closed by choosing one of the actions buttons, the close button in the header, or it can be dismissed by pressing the `ESC` key.
@@ -6,5 +6,5 @@ export declare class BasicModalComponent {
6
6
  constructor(modalService: DaffModalService);
7
7
  showModal(): void;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<BasicModalComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<BasicModalComponent, "basic-modal", never, {}, {}, never, never, false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<BasicModalComponent, "basic-modal", never, {}, {}, never, never, true, never>;
10
10
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BasicModalContentComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<BasicModalContentComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BasicModalContentComponent, "basic-modal-content", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<BasicModalContentComponent, "basic-modal-content", never, {}, {}, never, never, true, never>;
5
5
  }