@daffodil/design 0.39.6 → 0.39.10

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 (326) hide show
  1. package/README.md +62 -34
  2. package/accordion/examples/daffodil-design-accordion-examples.metadata.json +1 -1
  3. package/article/examples/daffodil-design-article-examples.metadata.json +1 -1
  4. package/atoms/button/button.component.d.ts +5 -0
  5. package/bundles/daffodil-design-accordion-examples.umd.js +4 -2
  6. package/bundles/daffodil-design-accordion-examples.umd.js.map +1 -1
  7. package/bundles/daffodil-design-accordion-examples.umd.min.js +1 -1
  8. package/bundles/daffodil-design-accordion-examples.umd.min.js.map +1 -1
  9. package/bundles/daffodil-design-article-examples.umd.js +22 -11
  10. package/bundles/daffodil-design-article-examples.umd.js.map +1 -1
  11. package/bundles/daffodil-design-article-examples.umd.min.js +1 -1
  12. package/bundles/daffodil-design-article-examples.umd.min.js.map +1 -1
  13. package/bundles/daffodil-design-button-examples.umd.js +7 -0
  14. package/bundles/daffodil-design-button-examples.umd.js.map +1 -1
  15. package/bundles/daffodil-design-button-examples.umd.min.js +1 -1
  16. package/bundles/daffodil-design-button-examples.umd.min.js.map +1 -1
  17. package/bundles/daffodil-design-callout-examples.umd.js +60 -9
  18. package/bundles/daffodil-design-callout-examples.umd.js.map +1 -1
  19. package/bundles/daffodil-design-callout-examples.umd.min.js +1 -1
  20. package/bundles/daffodil-design-callout-examples.umd.min.js.map +1 -1
  21. package/bundles/daffodil-design-card-examples.umd.js +156 -14
  22. package/bundles/daffodil-design-card-examples.umd.js.map +1 -1
  23. package/bundles/daffodil-design-card-examples.umd.min.js +1 -1
  24. package/bundles/daffodil-design-card-examples.umd.min.js.map +1 -1
  25. package/bundles/daffodil-design-checkbox-examples.umd.js +4 -2
  26. package/bundles/daffodil-design-checkbox-examples.umd.js.map +1 -1
  27. package/bundles/daffodil-design-checkbox-examples.umd.min.js +1 -1
  28. package/bundles/daffodil-design-checkbox-examples.umd.min.js.map +1 -1
  29. package/bundles/daffodil-design-container-examples.umd.js +65 -0
  30. package/bundles/daffodil-design-container-examples.umd.js.map +1 -0
  31. package/bundles/daffodil-design-container-examples.umd.min.js +2 -0
  32. package/bundles/daffodil-design-container-examples.umd.min.js.map +1 -0
  33. package/bundles/daffodil-design-hero-examples.umd.js +63 -8
  34. package/bundles/daffodil-design-hero-examples.umd.js.map +1 -1
  35. package/bundles/daffodil-design-hero-examples.umd.min.js +1 -1
  36. package/bundles/daffodil-design-hero-examples.umd.min.js.map +1 -1
  37. package/bundles/daffodil-design-list-examples.umd.js +8 -4
  38. package/bundles/daffodil-design-list-examples.umd.js.map +1 -1
  39. package/bundles/daffodil-design-list-examples.umd.min.js +1 -1
  40. package/bundles/daffodil-design-list-examples.umd.min.js.map +1 -1
  41. package/bundles/daffodil-design-loading-icon-examples.umd.js +4 -2
  42. package/bundles/daffodil-design-loading-icon-examples.umd.js.map +1 -1
  43. package/bundles/daffodil-design-loading-icon-examples.umd.min.js +1 -1
  44. package/bundles/daffodil-design-loading-icon-examples.umd.min.js.map +1 -1
  45. package/bundles/daffodil-design-media-gallery-examples.umd.js +4 -2
  46. package/bundles/daffodil-design-media-gallery-examples.umd.js.map +1 -1
  47. package/bundles/daffodil-design-media-gallery-examples.umd.min.js +1 -1
  48. package/bundles/daffodil-design-media-gallery-examples.umd.min.js.map +1 -1
  49. package/bundles/daffodil-design-modal-examples.umd.js +4 -2
  50. package/bundles/daffodil-design-modal-examples.umd.js.map +1 -1
  51. package/bundles/daffodil-design-modal-examples.umd.min.js +1 -1
  52. package/bundles/daffodil-design-modal-examples.umd.min.js.map +1 -1
  53. package/bundles/daffodil-design-navbar-examples.umd.js +177 -0
  54. package/bundles/daffodil-design-navbar-examples.umd.js.map +1 -0
  55. package/bundles/daffodil-design-navbar-examples.umd.min.js +2 -0
  56. package/bundles/daffodil-design-navbar-examples.umd.min.js.map +1 -0
  57. package/bundles/daffodil-design-quantity-field-examples.umd.js +4 -0
  58. package/bundles/daffodil-design-quantity-field-examples.umd.js.map +1 -1
  59. package/bundles/daffodil-design-quantity-field-examples.umd.min.js +1 -1
  60. package/bundles/daffodil-design-quantity-field-examples.umd.min.js.map +1 -1
  61. package/bundles/daffodil-design-radio-examples.umd.js +2 -1
  62. package/bundles/daffodil-design-radio-examples.umd.js.map +1 -1
  63. package/bundles/daffodil-design-radio-examples.umd.min.js +1 -1
  64. package/bundles/daffodil-design-radio-examples.umd.min.js.map +1 -1
  65. package/bundles/daffodil-design.umd.js +519 -120
  66. package/bundles/daffodil-design.umd.js.map +1 -1
  67. package/bundles/daffodil-design.umd.min.js +2 -2
  68. package/bundles/daffodil-design.umd.min.js.map +1 -1
  69. package/button/examples/daffodil-design-button-examples.metadata.json +1 -1
  70. package/callout/examples/callout-text-alignment/callout-text-alignment.component.d.ts +1 -0
  71. package/callout/examples/callout-theming/callout-theming.component.d.ts +1 -0
  72. package/callout/examples/callout-with-grid/callout-with-grid.component.d.ts +1 -0
  73. package/callout/examples/compact-callout/compact-callout.component.d.ts +3 -0
  74. package/callout/examples/compact-callout/compact-callout.module.d.ts +2 -0
  75. package/callout/examples/daffodil-design-callout-examples.metadata.json +1 -1
  76. package/callout/examples/public_api.d.ts +2 -0
  77. package/card/examples/basic-card/basic-card.component.d.ts +1 -0
  78. package/card/examples/card-orientation/card-orientation.component.d.ts +9 -0
  79. package/card/examples/card-orientation/card-orientation.module.d.ts +2 -0
  80. package/card/examples/card-theming/card-theming.component.d.ts +4 -2
  81. package/card/examples/daffodil-design-card-examples.d.ts +2 -0
  82. package/card/examples/daffodil-design-card-examples.metadata.json +1 -1
  83. package/card/examples/linkable-card/linkable-card.component.d.ts +8 -0
  84. package/card/examples/public_api.d.ts +5 -1
  85. package/card/examples/raised-card/raised-card.component.d.ts +6 -0
  86. package/card/examples/stroked-card/stroked-card.component.d.ts +8 -0
  87. package/card/examples/stroked-card/stroked-card.module.d.ts +2 -0
  88. package/checkbox/examples/daffodil-design-checkbox-examples.metadata.json +1 -1
  89. package/container/examples/container-sizes/container-sizes.component.d.ts +8 -0
  90. package/container/examples/container-sizes/container-sizes.module.d.ts +2 -0
  91. package/container/examples/daffodil-design-container-examples.d.ts +4 -0
  92. package/container/examples/daffodil-design-container-examples.metadata.json +1 -0
  93. package/container/examples/examples.d.ts +2 -0
  94. package/container/examples/index.d.ts +1 -0
  95. package/container/examples/package.json +11 -0
  96. package/container/examples/public_api.d.ts +3 -0
  97. package/core/article-encapsulated/article-encapsulated-mixin.d.ts +15 -0
  98. package/core/article-encapsulated/public_api.d.ts +1 -0
  99. package/core/compactable/compactable-mixin.d.ts +14 -0
  100. package/core/compactable/compactable.d.ts +7 -0
  101. package/core/compactable/public_api.d.ts +2 -0
  102. package/core/manage-container-layout/manage-container-layout-mixin.d.ts +17 -0
  103. package/core/manage-container-layout/public_api.d.ts +1 -0
  104. package/core/public_api.d.ts +3 -0
  105. package/daff-theme.scss +293 -128
  106. package/daff-typography.scss +5 -4
  107. package/daff-util.scss +5 -4
  108. package/daffodil-design.metadata.json +1 -1
  109. package/esm2015/accordion/examples/basic-accordion/basic-accordion.component.js +4 -3
  110. package/esm2015/accordion/examples/nav-accordion/nav-accordion.component.js +4 -3
  111. package/esm2015/article/examples/article-blockquote/article-blockquote.component.js +4 -3
  112. package/esm2015/article/examples/article-code-block/article-code-block.component.js +4 -3
  113. package/esm2015/article/examples/article-code-inline/article-code-inline.component.js +4 -3
  114. package/esm2015/article/examples/article-headings/article-headings.component.js +4 -3
  115. package/esm2015/article/examples/article-hr/article-hr.component.js +4 -3
  116. package/esm2015/article/examples/article-lead/article-lead.component.js +4 -3
  117. package/esm2015/article/examples/article-link/article-link.component.js +4 -3
  118. package/esm2015/article/examples/article-meta/article-meta.component.js +4 -3
  119. package/esm2015/article/examples/article-ol/article-ol.component.js +4 -3
  120. package/esm2015/article/examples/article-table/article-table.component.js +4 -3
  121. package/esm2015/article/examples/article-ul/article-ul.component.js +4 -3
  122. package/esm2015/atoms/button/button.component.js +3 -2
  123. package/esm2015/atoms/container/container.component.js +1 -1
  124. package/esm2015/atoms/form/form-field/form-field/form-field.component.js +3 -1
  125. package/esm2015/atoms/form/input/input.component.js +3 -2
  126. package/esm2015/atoms/form/select/select/select.component.js +3 -2
  127. package/esm2015/atoms/image/image.component.js +2 -2
  128. package/esm2015/button/examples/basic-button/basic-button.component.js +3 -2
  129. package/esm2015/button/examples/icon-button/icon-button.component.js +3 -2
  130. package/esm2015/button/examples/raised-button/raised-button.component.js +3 -2
  131. package/esm2015/button/examples/sizeable-button/sizeable-button.component.js +3 -2
  132. package/esm2015/button/examples/statusable-button/statusable-button.component.js +3 -2
  133. package/esm2015/button/examples/stroked-button/stroked-button.component.js +3 -2
  134. package/esm2015/button/examples/underline-button/underline-button.component.js +3 -2
  135. package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.component.js +7 -3
  136. package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.module.js +5 -3
  137. package/esm2015/callout/examples/callout-theming/callout-theming.component.js +7 -3
  138. package/esm2015/callout/examples/callout-theming/callout-theming.module.js +5 -2
  139. package/esm2015/callout/examples/callout-with-grid/callout-with-grid.component.js +9 -4
  140. package/esm2015/callout/examples/callout-with-grid/callout-with-grid.module.js +3 -1
  141. package/esm2015/callout/examples/compact-callout/compact-callout.component.js +17 -0
  142. package/esm2015/callout/examples/compact-callout/compact-callout.module.js +22 -0
  143. package/esm2015/callout/examples/examples.js +3 -1
  144. package/esm2015/callout/examples/public_api.js +3 -1
  145. package/esm2015/card/examples/basic-card/basic-card.component.js +9 -4
  146. package/esm2015/card/examples/basic-card/basic-card.module.js +3 -1
  147. package/esm2015/card/examples/card-orientation/card-orientation.component.js +24 -0
  148. package/esm2015/card/examples/card-orientation/card-orientation.module.js +27 -0
  149. package/esm2015/card/examples/card-theming/card-theming.component.js +15 -5
  150. package/esm2015/card/examples/daffodil-design-card-examples.js +3 -1
  151. package/esm2015/card/examples/linkable-card/linkable-card.component.js +21 -4
  152. package/esm2015/card/examples/linkable-card/linkable-card.module.js +3 -1
  153. package/esm2015/card/examples/public_api.js +7 -1
  154. package/esm2015/card/examples/raised-card/raised-card.component.js +19 -4
  155. package/esm2015/card/examples/raised-card/raised-card.module.js +3 -3
  156. package/esm2015/card/examples/stroked-card/stroked-card.component.js +27 -0
  157. package/esm2015/card/examples/stroked-card/stroked-card.module.js +27 -0
  158. package/esm2015/checkbox/examples/basic-checkbox/basic-checkbox.component.js +4 -3
  159. package/esm2015/checkbox/examples/checkbox-set/checkbox-set.component.js +4 -3
  160. package/esm2015/container/examples/container-sizes/container-sizes.component.js +23 -0
  161. package/esm2015/container/examples/container-sizes/container-sizes.module.js +23 -0
  162. package/esm2015/container/examples/daffodil-design-container-examples.js +5 -0
  163. package/esm2015/container/examples/examples.js +5 -0
  164. package/esm2015/container/examples/index.js +2 -0
  165. package/esm2015/container/examples/public_api.js +4 -0
  166. package/esm2015/core/article-encapsulated/article-encapsulated-mixin.js +12 -0
  167. package/esm2015/core/article-encapsulated/public_api.js +2 -0
  168. package/esm2015/core/compactable/compactable-mixin.js +26 -0
  169. package/esm2015/core/compactable/compactable.js +2 -0
  170. package/esm2015/core/compactable/public_api.js +2 -0
  171. package/esm2015/core/manage-container-layout/manage-container-layout-mixin.js +14 -0
  172. package/esm2015/core/manage-container-layout/public_api.js +2 -0
  173. package/esm2015/core/public_api.js +4 -1
  174. package/esm2015/hero/examples/compact-hero/compact-hero.component.js +17 -0
  175. package/esm2015/hero/examples/compact-hero/compact-hero.module.js +26 -0
  176. package/esm2015/hero/examples/examples.js +3 -1
  177. package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.component.js +7 -3
  178. package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.module.js +5 -2
  179. package/esm2015/hero/examples/hero-theming/hero-theming.component.js +7 -3
  180. package/esm2015/hero/examples/hero-theming/hero-theming.module.js +5 -2
  181. package/esm2015/hero/examples/hero-with-grid/hero-with-grid.component.js +9 -4
  182. package/esm2015/hero/examples/hero-with-grid/hero-with-grid.module.js +3 -1
  183. package/esm2015/hero/examples/public_api.js +3 -1
  184. package/esm2015/list/examples/basic-list/basic-list.component.js +4 -3
  185. package/esm2015/list/examples/icon-list/icon-list.component.js +4 -3
  186. package/esm2015/list/examples/multiline-list/multiline-list.component.js +4 -3
  187. package/esm2015/list/examples/nav-list/nav-list.component.js +4 -3
  188. package/esm2015/loading-icon/examples/loading-icon-color/loading-icon-color.component.js +4 -3
  189. package/esm2015/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.js +4 -3
  190. package/esm2015/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.js +4 -3
  191. package/esm2015/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.js +4 -3
  192. package/esm2015/modal/examples/basic-modal/basic-modal.component.js +4 -3
  193. package/esm2015/modal/examples/basic-modal/modal-content.component.js +4 -3
  194. package/esm2015/molecules/accordion/accordion/accordion.component.js +25 -3
  195. package/esm2015/molecules/accordion/accordion-item/accordion-item.component.js +3 -2
  196. package/esm2015/molecules/accordion/nav-accordion-item/nav-accordion-item.component.js +3 -2
  197. package/esm2015/molecules/article/article/article.component.js +4 -3
  198. package/esm2015/molecules/button-set/button-set.component.js +3 -2
  199. package/esm2015/molecules/callout/callout/callout.component.js +11 -12
  200. package/esm2015/molecules/callout/callout-body/callout-body.directive.js +18 -0
  201. package/esm2015/molecules/callout/callout-icon/callout-icon.directive.js +18 -0
  202. package/esm2015/molecules/callout/callout.module.js +7 -1
  203. package/esm2015/molecules/callout/public_api.js +4 -2
  204. package/esm2015/molecules/card/card/card.component.js +78 -15
  205. package/esm2015/molecules/card/card-content/card-content.directive.js +18 -0
  206. package/esm2015/molecules/card/card-icon/card-icon.directive.js +18 -0
  207. package/esm2015/molecules/card/card.module.js +9 -3
  208. package/esm2015/molecules/card/public_api.js +4 -2
  209. package/esm2015/molecules/feature/feature/feature.component.js +4 -1
  210. package/esm2015/molecules/hero/hero/hero.component.js +14 -24
  211. package/esm2015/molecules/hero/hero-body/hero-body.directive.js +18 -0
  212. package/esm2015/molecules/hero/hero-icon/hero-icon.directive.js +18 -0
  213. package/esm2015/molecules/hero/hero.module.js +7 -1
  214. package/esm2015/molecules/hero/public_api.js +3 -1
  215. package/esm2015/molecules/image-gallery/gallery-image/gallery-image.component.js +7 -3
  216. package/esm2015/molecules/image-gallery/image-gallery/image-gallery.component.js +6 -2
  217. package/esm2015/molecules/image-list/image-list.component.js +3 -2
  218. package/esm2015/molecules/link-set/link-set/link-set.component.js +23 -4
  219. package/esm2015/molecules/list/list/list.component.js +19 -5
  220. package/esm2015/molecules/media-gallery/media-gallery.component.js +31 -5
  221. package/esm2015/molecules/media-gallery/registry/media-gallery.registry.js +22 -8
  222. package/esm2015/molecules/media-gallery/thumbnail/thumbnail.directive.js +2 -2
  223. package/esm2015/molecules/modal/modal-actions/modal-actions.component.js +3 -2
  224. package/esm2015/molecules/navbar/navbar.component.js +11 -9
  225. package/esm2015/molecules/qty-dropdown/qty-dropdown.component.js +6 -1
  226. package/esm2015/molecules/sidebar/sidebar/sidebar.component.js +3 -2
  227. package/esm2015/navbar/examples/basic-navbar/basic-navbar.component.js +13 -0
  228. package/esm2015/navbar/examples/basic-navbar/basic-navbar.module.js +20 -0
  229. package/esm2015/navbar/examples/contained-navbar/contained-navbar.component.js +13 -0
  230. package/esm2015/navbar/examples/contained-navbar/contained-navbar.module.js +20 -0
  231. package/esm2015/navbar/examples/daffodil-design-navbar-examples.js +5 -0
  232. package/esm2015/navbar/examples/examples.js +11 -0
  233. package/esm2015/navbar/examples/index.js +2 -0
  234. package/esm2015/navbar/examples/navbar-theming/navbar-theming.component.js +27 -0
  235. package/esm2015/navbar/examples/navbar-theming/navbar-theming.module.js +21 -0
  236. package/esm2015/navbar/examples/public_api.js +10 -0
  237. package/esm2015/navbar/examples/raised-navbar/raised-navbar.component.js +13 -0
  238. package/esm2015/navbar/examples/raised-navbar/raised-navbar.module.js +19 -0
  239. package/esm2015/quantity-field/examples/basic/basic-quantity-field.component.js +3 -2
  240. package/esm2015/quantity-field/examples/customRange/custom-range-quantity-field.component.js +3 -2
  241. package/esm2015/quantity-field/examples/disabled/disabled-quantity-field.component.js +3 -2
  242. package/esm2015/quantity-field/examples/selectMax/select-max-quantity-field.component.js +3 -2
  243. package/esm2015/radio/examples/basic-radio/basic-radio.component.js +4 -3
  244. package/fesm2015/daffodil-design-accordion-examples.js +5 -3
  245. package/fesm2015/daffodil-design-accordion-examples.js.map +1 -1
  246. package/fesm2015/daffodil-design-article-examples.js +23 -12
  247. package/fesm2015/daffodil-design-article-examples.js.map +1 -1
  248. package/fesm2015/daffodil-design-button-examples.js +8 -1
  249. package/fesm2015/daffodil-design-button-examples.js.map +1 -1
  250. package/fesm2015/daffodil-design-callout-examples.js +57 -8
  251. package/fesm2015/daffodil-design-callout-examples.js.map +1 -1
  252. package/fesm2015/daffodil-design-card-examples.js +150 -12
  253. package/fesm2015/daffodil-design-card-examples.js.map +1 -1
  254. package/fesm2015/daffodil-design-checkbox-examples.js +5 -3
  255. package/fesm2015/daffodil-design-checkbox-examples.js.map +1 -1
  256. package/fesm2015/daffodil-design-container-examples.js +54 -0
  257. package/fesm2015/daffodil-design-container-examples.js.map +1 -0
  258. package/fesm2015/daffodil-design-hero-examples.js +60 -7
  259. package/fesm2015/daffodil-design-hero-examples.js.map +1 -1
  260. package/fesm2015/daffodil-design-list-examples.js +9 -5
  261. package/fesm2015/daffodil-design-list-examples.js.map +1 -1
  262. package/fesm2015/daffodil-design-loading-icon-examples.js +5 -3
  263. package/fesm2015/daffodil-design-loading-icon-examples.js.map +1 -1
  264. package/fesm2015/daffodil-design-media-gallery-examples.js +5 -3
  265. package/fesm2015/daffodil-design-media-gallery-examples.js.map +1 -1
  266. package/fesm2015/daffodil-design-modal-examples.js +5 -3
  267. package/fesm2015/daffodil-design-modal-examples.js.map +1 -1
  268. package/fesm2015/daffodil-design-navbar-examples.js +142 -0
  269. package/fesm2015/daffodil-design-navbar-examples.js.map +1 -0
  270. package/fesm2015/daffodil-design-quantity-field-examples.js +5 -1
  271. package/fesm2015/daffodil-design-quantity-field-examples.js.map +1 -1
  272. package/fesm2015/daffodil-design-radio-examples.js +3 -2
  273. package/fesm2015/daffodil-design-radio-examples.js.map +1 -1
  274. package/fesm2015/daffodil-design.js +440 -111
  275. package/fesm2015/daffodil-design.js.map +1 -1
  276. package/hero/examples/compact-hero/compact-hero.component.d.ts +3 -0
  277. package/hero/examples/compact-hero/compact-hero.module.d.ts +2 -0
  278. package/hero/examples/daffodil-design-hero-examples.metadata.json +1 -1
  279. package/hero/examples/hero-text-alignment/hero-text-alignment.component.d.ts +1 -0
  280. package/hero/examples/hero-theming/hero-theming.component.d.ts +1 -0
  281. package/hero/examples/hero-with-grid/hero-with-grid.component.d.ts +1 -0
  282. package/hero/examples/public_api.d.ts +2 -0
  283. package/list/examples/daffodil-design-list-examples.metadata.json +1 -1
  284. package/loading-icon/examples/daffodil-design-loading-icon-examples.metadata.json +1 -1
  285. package/media-gallery/examples/daffodil-design-media-gallery-examples.metadata.json +1 -1
  286. package/modal/examples/daffodil-design-modal-examples.metadata.json +1 -1
  287. package/molecules/accordion/accordion/accordion.component.d.ts +20 -1
  288. package/molecules/callout/callout/callout.component.d.ts +37 -11
  289. package/molecules/callout/callout-body/callout-body.directive.d.ts +6 -0
  290. package/molecules/callout/callout-icon/callout-icon.directive.d.ts +6 -0
  291. package/molecules/callout/public_api.d.ts +3 -1
  292. package/molecules/card/card/card.component.d.ts +42 -11
  293. package/molecules/card/card-content/card-content.directive.d.ts +6 -0
  294. package/molecules/card/card-icon/card-icon.directive.d.ts +6 -0
  295. package/molecules/card/public_api.d.ts +3 -1
  296. package/molecules/feature/feature/feature.component.d.ts +3 -0
  297. package/molecules/hero/hero/hero.component.d.ts +41 -21
  298. package/molecules/hero/hero-body/hero-body.directive.d.ts +6 -0
  299. package/molecules/hero/hero-icon/hero-icon.directive.d.ts +6 -0
  300. package/molecules/hero/public_api.d.ts +2 -0
  301. package/molecules/image-gallery/gallery-image/gallery-image.component.d.ts +3 -0
  302. package/molecules/image-gallery/image-gallery/image-gallery.component.d.ts +3 -0
  303. package/molecules/link-set/link-set/link-set.component.d.ts +20 -1
  304. package/molecules/list/list/list.component.d.ts +19 -3
  305. package/molecules/media-gallery/media-gallery.component.d.ts +24 -2
  306. package/molecules/media-gallery/registry/media-gallery.registry.d.ts +6 -3
  307. package/molecules/media-gallery/thumbnail/thumbnail.directive.d.ts +1 -1
  308. package/molecules/navbar/navbar.component.d.ts +10 -5
  309. package/molecules/qty-dropdown/qty-dropdown.component.d.ts +3 -0
  310. package/navbar/examples/basic-navbar/basic-navbar.component.d.ts +2 -0
  311. package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +2 -0
  312. package/navbar/examples/contained-navbar/contained-navbar.component.d.ts +2 -0
  313. package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +2 -0
  314. package/navbar/examples/daffodil-design-navbar-examples.d.ts +4 -0
  315. package/navbar/examples/daffodil-design-navbar-examples.metadata.json +1 -0
  316. package/navbar/examples/examples.d.ts +2 -0
  317. package/navbar/examples/index.d.ts +1 -0
  318. package/navbar/examples/navbar-theming/navbar-theming.component.d.ts +8 -0
  319. package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +2 -0
  320. package/navbar/examples/package.json +11 -0
  321. package/navbar/examples/public_api.d.ts +9 -0
  322. package/navbar/examples/raised-navbar/raised-navbar.component.d.ts +2 -0
  323. package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +2 -0
  324. package/package.json +2 -2
  325. package/quantity-field/examples/daffodil-design-quantity-field-examples.metadata.json +1 -1
  326. package/radio/examples/daffodil-design-radio-examples.metadata.json +1 -1
@@ -322,6 +322,25 @@
322
322
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
323
323
  }
324
324
 
325
+ /**
326
+ * A mixin for giving a component the ability to prevent article styles from cascading down.
327
+ */
328
+ function daffArticleEncapsulatedMixin(Base) {
329
+ return /** @class */ (function (_super) {
330
+ __extends(class_1, _super);
331
+ function class_1() {
332
+ var args = [];
333
+ for (var _i = 0; _i < arguments.length; _i++) {
334
+ args[_i] = arguments[_i];
335
+ }
336
+ var _this = _super.apply(this, __spread(args)) || this;
337
+ _this._renderer.addClass(_this._elementRef.nativeElement, "daff-ae");
338
+ return _this;
339
+ }
340
+ return class_1;
341
+ }(Base));
342
+ }
343
+
325
344
  var DaffPaletteEnum;
326
345
  (function (DaffPaletteEnum) {
327
346
  DaffPaletteEnum["PRIMARY"] = "primary";
@@ -610,7 +629,7 @@
610
629
  }
611
630
  return DaffButtonBase;
612
631
  }());
613
- var _daffButtonBase = daffPrefixableMixin(daffSuffixableMixin(daffColorMixin(daffStatusMixin(daffSizeMixin(DaffButtonBase, 'md')))));
632
+ var _daffButtonBase = daffArticleEncapsulatedMixin(daffPrefixableMixin(daffSuffixableMixin(daffColorMixin(daffStatusMixin(daffSizeMixin(DaffButtonBase, 'md'))))));
614
633
  var DaffButtonTypeEnum;
615
634
  (function (DaffButtonTypeEnum) {
616
635
  DaffButtonTypeEnum["Default"] = "daff-button";
@@ -849,6 +868,8 @@
849
868
 
850
869
  var DaffFormFieldMissingControlMessage = 'A DaffFormFieldComponent must contain a DaffFormFieldControl';
851
870
 
871
+ // ChangeDetection is ignored because this component needs to be refactored
872
+ // eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
852
873
  var DaffFormFieldComponent = /** @class */ (function () {
853
874
  function DaffFormFieldComponent() {
854
875
  /**
@@ -972,40 +993,7 @@
972
993
 
973
994
  var DAFF_MEDIA_GALLERY_TOKEN = new i0.InjectionToken('DAFF_MEDIA_GALLERY_TOKEN');
974
995
 
975
- var uniqueGalleryId = 0;
976
- var DaffMediaGalleryComponent = /** @class */ (function () {
977
- function DaffMediaGalleryComponent() {
978
- /**
979
- * Adds a class for styling the media gallery
980
- */
981
- this.class = true;
982
- /**
983
- * The name of the gallery
984
- */
985
- this.name = "" + uniqueGalleryId;
986
- uniqueGalleryId++;
987
- }
988
- return DaffMediaGalleryComponent;
989
- }());
990
- DaffMediaGalleryComponent.decorators = [
991
- { type: i0.Component, args: [{
992
- selector: 'daff-media-gallery',
993
- template: "<div class=\"daff-media-gallery__thumbnails\">\n\t<ng-content select=\"[daffThumbnail]\"></ng-content>\n</div>\n<div class=\"daff-media-gallery__selected-thumbnail\">\n\t<daff-media-renderer></daff-media-renderer>\n</div>",
994
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
995
- providers: [
996
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
997
- { provide: DAFF_MEDIA_GALLERY_TOKEN, useExisting: DaffMediaGalleryComponent },
998
- ],
999
- styles: [":host(.daff-media-gallery){display:flex;flex-direction:column}@media (min-width:1024px){:host(.daff-media-gallery){flex-direction:row}}:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;display:inline-block;height:64px;width:64px;margin:0 2px;max-width:100%;overflow:hidden;user-select:none}@media (min-width:480px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{height:72px;width:72px}}@media (min-width:1024px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{display:block;margin:0 0 4px;height:80px;width:80px}}.daff-media-gallery__thumbnails{margin:0 -2px;max-height:100%;order:2}@media (min-width:1024px){.daff-media-gallery__thumbnails{margin:0 8px 0 0;order:1}}.daff-media-gallery__selected-thumbnail{display:block;flex-grow:1;order:1}@media (min-width:1024px){.daff-media-gallery__selected-thumbnail{order:2}}"]
1000
- },] }
1001
- ];
1002
- /** @nocollapse */
1003
- DaffMediaGalleryComponent.ctorParameters = function () { return []; };
1004
- DaffMediaGalleryComponent.propDecorators = {
1005
- class: [{ type: i0.HostBinding, args: ['class.daff-media-gallery',] }],
1006
- name: [{ type: i0.Input }]
1007
- };
1008
-
996
+ var isGallery = function (element) { return !('gallery' in element); };
1009
997
  var DaffMediaGalleryRegistry = /** @class */ (function () {
1010
998
  function DaffMediaGalleryRegistry() {
1011
999
  this.galleries = {};
@@ -1017,15 +1005,17 @@
1017
1005
  DaffMediaGalleryRegistry.prototype.add = function (gallery, thumbnail) {
1018
1006
  if (this.galleries[gallery.name]) {
1019
1007
  var newGallery = this.galleries[gallery.name].getValue();
1020
- newGallery = Object.assign(Object.assign({}, newGallery), { thumbnails: __spread(newGallery.thumbnails.filter(function (t) { return t !== thumbnail; }), [
1021
- thumbnail,
1022
- ]) });
1008
+ if (thumbnail) {
1009
+ newGallery = Object.assign(Object.assign({}, newGallery), { thumbnails: __spread(newGallery.thumbnails.filter(function (t) { return t !== thumbnail; }), [
1010
+ thumbnail,
1011
+ ]) });
1012
+ }
1023
1013
  this.galleries[gallery.name].next(newGallery);
1024
1014
  }
1025
1015
  else {
1026
1016
  this.galleries[gallery.name] = new rxjs.BehaviorSubject({
1027
1017
  gallery: gallery,
1028
- thumbnails: [thumbnail],
1018
+ thumbnails: thumbnail ? [thumbnail] : [],
1029
1019
  });
1030
1020
  }
1031
1021
  if (this.galleries[gallery.name].getValue().thumbnails.length === 1) {
@@ -1034,9 +1024,17 @@
1034
1024
  };
1035
1025
  /**
1036
1026
  * @description
1037
- * Removes a media element from the internal registry.
1027
+ * Removes a thumbnail or gallery from the internal registry.
1038
1028
  */
1039
- DaffMediaGalleryRegistry.prototype.remove = function (thumbnail) {
1029
+ DaffMediaGalleryRegistry.prototype.remove = function (element) {
1030
+ if (isGallery(element)) {
1031
+ this.removeGallery(element);
1032
+ }
1033
+ else {
1034
+ this.removeThumbnail(element);
1035
+ }
1036
+ };
1037
+ DaffMediaGalleryRegistry.prototype.removeThumbnail = function (thumbnail) {
1040
1038
  if (!this.galleries[thumbnail.gallery.name]) {
1041
1039
  return;
1042
1040
  }
@@ -1047,6 +1045,9 @@
1047
1045
  }
1048
1046
  this.galleries[thumbnail.gallery.name].next(Object.assign(Object.assign({}, gallery), { thumbnails: __spread(gallery.thumbnails.slice(0, index), gallery.thumbnails.slice(index + 1)) }));
1049
1047
  };
1048
+ DaffMediaGalleryRegistry.prototype.removeGallery = function (gallery) {
1049
+ delete this.galleries[gallery.name];
1050
+ };
1050
1051
  /**
1051
1052
  * @description
1052
1053
  * Selects a media element for a given gallery.
@@ -1071,6 +1072,67 @@
1071
1072
  { type: i0.Injectable, args: [{ providedIn: 'root' },] }
1072
1073
  ];
1073
1074
 
1075
+ var uniqueGalleryId = 0;
1076
+ /**
1077
+ * An _elementRef and an instance of renderer2 are needed for the link set mixins
1078
+ */
1079
+ var DaffMediaGalleryBase = /** @class */ (function () {
1080
+ function DaffMediaGalleryBase(_elementRef, _renderer) {
1081
+ this._elementRef = _elementRef;
1082
+ this._renderer = _renderer;
1083
+ }
1084
+ return DaffMediaGalleryBase;
1085
+ }());
1086
+ var _daffMediaGalleryBase = daffArticleEncapsulatedMixin((DaffMediaGalleryBase));
1087
+ var DaffMediaGalleryComponent = /** @class */ (function (_super) {
1088
+ __extends(DaffMediaGalleryComponent, _super);
1089
+ function DaffMediaGalleryComponent(elementRef, renderer, registry) {
1090
+ var _this = _super.call(this, elementRef, renderer) || this;
1091
+ _this.elementRef = elementRef;
1092
+ _this.renderer = renderer;
1093
+ _this.registry = registry;
1094
+ /**
1095
+ * Adds a class for styling the media gallery
1096
+ */
1097
+ _this.class = true;
1098
+ /**
1099
+ * The name of the gallery
1100
+ */
1101
+ _this.name = "" + uniqueGalleryId;
1102
+ uniqueGalleryId++;
1103
+ return _this;
1104
+ }
1105
+ DaffMediaGalleryComponent.prototype.ngOnInit = function () {
1106
+ this.registry.add(this);
1107
+ };
1108
+ DaffMediaGalleryComponent.prototype.ngOnDestroy = function () {
1109
+ this.registry.remove(this);
1110
+ };
1111
+ return DaffMediaGalleryComponent;
1112
+ }(_daffMediaGalleryBase));
1113
+ DaffMediaGalleryComponent.decorators = [
1114
+ { type: i0.Component, args: [{
1115
+ selector: 'daff-media-gallery',
1116
+ template: "<div class=\"daff-media-gallery__thumbnails\">\n\t<ng-content select=\"[daffThumbnail]\"></ng-content>\n</div>\n<div class=\"daff-media-gallery__selected-thumbnail\">\n\t<daff-media-renderer></daff-media-renderer>\n</div>",
1117
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
1118
+ providers: [
1119
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
1120
+ { provide: DAFF_MEDIA_GALLERY_TOKEN, useExisting: DaffMediaGalleryComponent },
1121
+ ],
1122
+ styles: [":host(.daff-media-gallery){display:flex;flex-direction:column}@media (min-width:1024px){:host(.daff-media-gallery){flex-direction:row}}:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;display:inline-block;height:64px;width:64px;margin:0 2px;max-width:100%;overflow:hidden;user-select:none}@media (min-width:480px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{height:72px;width:72px}}@media (min-width:1024px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{display:block;margin:0 0 4px;height:80px;width:80px}}.daff-media-gallery__thumbnails{margin:0 -2px;max-height:100%;order:2}@media (min-width:1024px){.daff-media-gallery__thumbnails{margin:0 8px 0 0;order:1}}.daff-media-gallery__selected-thumbnail{display:block;flex-grow:1;order:1}@media (min-width:1024px){.daff-media-gallery__selected-thumbnail{order:2}}"]
1123
+ },] }
1124
+ ];
1125
+ /** @nocollapse */
1126
+ DaffMediaGalleryComponent.ctorParameters = function () { return [
1127
+ { type: i0.ElementRef },
1128
+ { type: i0.Renderer2 },
1129
+ { type: DaffMediaGalleryRegistry }
1130
+ ]; };
1131
+ DaffMediaGalleryComponent.propDecorators = {
1132
+ class: [{ type: i0.HostBinding, args: ['class.daff-media-gallery',] }],
1133
+ name: [{ type: i0.Input }]
1134
+ };
1135
+
1074
1136
  /**
1075
1137
  * Dynamically renders the selected `DaffThumbnailDirective` in a `daff-media-gallery` any time the selected thumbnail
1076
1138
  * changes.
@@ -1188,7 +1250,7 @@
1188
1250
  /**
1189
1251
  * Adds a click event to trigger selection of the media element.
1190
1252
  *
1191
- * @param $event
1253
+ * @param event: MouseEvent
1192
1254
  */
1193
1255
  DaffThumbnailDirective.prototype.onClick = function ($event) {
1194
1256
  this.registry.select(this);
@@ -1359,7 +1421,7 @@
1359
1421
  DaffImageComponent.decorators = [
1360
1422
  { type: i0.Component, args: [{
1361
1423
  selector: 'daff-image',
1362
- template: "<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" />\n</div>",
1424
+ template: "<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>",
1363
1425
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
1364
1426
  providers: [
1365
1427
  {
@@ -1440,6 +1502,7 @@
1440
1502
  // eslint-disable-next-line @angular-eslint/component-selector
1441
1503
  selector: 'input[daff-input]',
1442
1504
  template: '<ng-content></ng-content>',
1505
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
1443
1506
  providers: [
1444
1507
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
1445
1508
  { provide: DaffFormFieldControl, useExisting: DaffInputComponent },
@@ -1515,6 +1578,7 @@
1515
1578
  selector: 'select[daff-native-select]',
1516
1579
  template: '<ng-content></ng-content>',
1517
1580
  encapsulation: i0.ViewEncapsulation.None,
1581
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
1518
1582
  providers: [
1519
1583
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
1520
1584
  { provide: DaffFormFieldControl, useExisting: DaffNativeSelectComponent },
@@ -2233,7 +2297,7 @@
2233
2297
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2234
2298
  inputs: ['size'],
2235
2299
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2236
- styles: [":host{display:block;margin:0 auto;padding:0;width:100%}:host.daff-xs{max-width:640px}:host.daff-sm{max-width:800px}:host.daff-md{max-width:1040px}:host.daff-lg{max-width:1340px}:host.daff-xl{max-width:1920px}"]
2300
+ styles: [":host-context(.daff-manage-container-layout){display:inherit;flex:inherit;flex-direction:inherit;flex-flow:inherit;flex-wrap:inherit;justify-content:inherit;justify-items:inherit;align-items:inherit;align-content:inherit;gap:inherit;grid-template-columns:inherit;grid-template-rows:inherit;grid-template-areas:inherit;grid-template:inherit;grid-auto-columns:inherit;grid-auto-rows:inherit;grid-auto-flow:inherit;grid:inherit;-moz-column-gap:inherit;column-gap:inherit;row-gap:inherit;grid-gap:inherit;grid-column-gap:inherit;grid-row-gap:inherit;place-items:inherit;place-content:inherit}:host{display:block;margin:0 auto;padding:0;width:100%}:host.daff-xs{max-width:640px}:host.daff-sm{max-width:800px}:host.daff-md{max-width:1040px}:host.daff-lg{max-width:1340px}:host.daff-xl{max-width:1920px}"]
2237
2301
  },] }
2238
2302
  ];
2239
2303
  /** @nocollapse */
@@ -2876,6 +2940,7 @@
2876
2940
  selector: 'daff-accordion-item',
2877
2941
  template: "<div class=\"daff-accordion-item__header\" (click)=\"toggleActive()\">\n <ng-content select=\"[daffAccordionItemTitle]\"></ng-content>\n <span [hidden]=\"_open\" daffSuffix>\n <fa-icon [icon]=\"faChevronDown\"></fa-icon>\n </span>\n <span [hidden]=\"!_open\" daffSuffix>\n <fa-icon [icon]=\"faChevronUp\"></fa-icon>\n </span>\n</div>\n<div [@openAccordion]=\"_animationState\">\n <ng-content></ng-content>\n</div>",
2878
2942
  encapsulation: i0.ViewEncapsulation.None,
2943
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
2879
2944
  animations: [
2880
2945
  daffAccordionAnimations.openAccordion,
2881
2946
  ],
@@ -2887,18 +2952,40 @@
2887
2952
  initiallyActive: [{ type: i0.Input }]
2888
2953
  };
2889
2954
 
2890
- var DaffAccordionComponent = /** @class */ (function () {
2891
- function DaffAccordionComponent() {
2955
+ /**
2956
+ * An _elementRef and an instance of renderer2 are needed for the link set mixins
2957
+ */
2958
+ var DaffAccordionBase = /** @class */ (function () {
2959
+ function DaffAccordionBase(_elementRef, _renderer) {
2960
+ this._elementRef = _elementRef;
2961
+ this._renderer = _renderer;
2892
2962
  }
2893
- return DaffAccordionComponent;
2963
+ return DaffAccordionBase;
2894
2964
  }());
2965
+ var _daffAccordionBase = daffArticleEncapsulatedMixin((DaffAccordionBase));
2966
+ var DaffAccordionComponent = /** @class */ (function (_super) {
2967
+ __extends(DaffAccordionComponent, _super);
2968
+ function DaffAccordionComponent(elementRef, renderer) {
2969
+ var _this = _super.call(this, elementRef, renderer) || this;
2970
+ _this.elementRef = elementRef;
2971
+ _this.renderer = renderer;
2972
+ return _this;
2973
+ }
2974
+ return DaffAccordionComponent;
2975
+ }(_daffAccordionBase));
2895
2976
  DaffAccordionComponent.decorators = [
2896
2977
  { type: i0.Component, args: [{
2897
2978
  selector: 'daff-accordion',
2898
2979
  template: "<ng-content></ng-content>",
2980
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
2899
2981
  styles: [":host{display:block;width:100%}"]
2900
2982
  },] }
2901
2983
  ];
2984
+ /** @nocollapse */
2985
+ DaffAccordionComponent.ctorParameters = function () { return [
2986
+ { type: i0.ElementRef },
2987
+ { type: i0.Renderer2 }
2988
+ ]; };
2902
2989
 
2903
2990
  var DaffNavAccordionItemComponent = /** @class */ (function () {
2904
2991
  function DaffNavAccordionItemComponent(accordion, navAccordionItemParent) {
@@ -2954,6 +3041,7 @@
2954
3041
  { type: i0.Component, args: [{
2955
3042
  selector: 'daff-nav-accordion-item',
2956
3043
  template: "<div class=\"daff-nav-accordion-item__header\" (click)=\"toggleActive()\">\n <ng-content select=\"[daffAccordionItemTitle]\"></ng-content>\n <span [hidden]=\"_open\" daffSuffix *ngIf=\"_navAccordionItemChild.toArray().length\">\n <fa-icon [icon]=\"faChevronDown\"></fa-icon>\n </span>\n <span [hidden]=\"!_open\" daffSuffix *ngIf=\"_navAccordionItemChild.toArray().length\">\n <fa-icon [icon]=\"faChevronUp\"></fa-icon>\n </span>\n</div>\n<div [@openAccordion]=\"_animationState\">\n <ng-content></ng-content>\n</div>\n",
3044
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
2957
3045
  animations: [
2958
3046
  daffAccordionAnimations.openAccordion,
2959
3047
  ],
@@ -3021,7 +3109,8 @@
3021
3109
  selector: 'daff-article',
3022
3110
  template: '<ng-content></ng-content>',
3023
3111
  encapsulation: i0.ViewEncapsulation.None,
3024
- styles: [".daff-article{display:block}.daff-article__title{font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width:768px){.daff-article__title{font-size:3rem;line-height:3.5rem}}.daff-article__lead{margin:0}.daff-article__lead,.daff-article__lead code{font-size:1.25rem;line-height:1.75rem;font-weight:400}.daff-article__meta{font-size:.875rem}.daff-article>h1,.daff-article>h2,.daff-article>h3,.daff-article>h4,.daff-article>h5,.daff-article>h6{margin-bottom:.5rem}.daff-article>h2,.daff-article>h3,.daff-article>h4,.daff-article>h5,.daff-article>h6{margin-top:1.5rem}.daff-article>h1{font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width:768px){.daff-article>h1{font-size:3rem;line-height:3.5rem}}.daff-article>h2{font-weight:700;font-size:1.5rem;line-height:1.75rem}@media (min-width:768px){.daff-article>h2{font-size:2rem;line-height:2.5rem}}.daff-article>h3{font-weight:700;font-size:1.25rem;line-height:1.5rem}@media (min-width:768px){.daff-article>h3{font-size:1.5rem;line-height:2rem}}.daff-article>h4{font-size:1.25rem;line-height:1.5rem}@media (min-width:768px){.daff-article>h4{font-size:1.5rem;line-height:2rem}}.daff-article>h5{font-size:1.125rem;line-height:1.5rem}.daff-article>h6{font-size:1rem;line-height:1.5rem}.daff-article>ol,.daff-article>ul{padding-left:1rem}.daff-article>strong{font-weight:700}.daff-article pre{display:block;border-radius:4px;font-size:.875rem;line-height:1.5rem;margin:0;padding:1.5rem;overflow:auto;white-space:pre-wrap}.daff-article pre code{display:block;padding:0}.daff-article code{display:inline-block;border-radius:4px;font-size:.875rem;line-height:1rem;padding:4px}.daff-article hr{border:0;height:1px;margin:2rem 0}.daff-article blockquote{font-size:1.25rem;margin:0;padding:1rem 1.5rem}.daff-article blockquote cite{text-transform:uppercase;font-weight:700;display:block;font-size:.875rem;margin-top:1rem}.daff-article table{display:block;border-collapse:collapse;overflow:auto;width:100%}.daff-article table th{font-weight:600;outline:0;padding:16px;text-align:left;vertical-align:bottom;box-sizing:border-box}.daff-article table td{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;padding:8px 16px;word-break:break-word;vertical-align:top;box-sizing:border-box}"]
3112
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3113
+ styles: [".daff-article{display:block}.daff-article a:not(.daff-ae *,.daff-ae){font-weight:600;text-decoration:none}.daff-article a:not(.daff-ae *,.daff-ae):hover{text-decoration:underline}.daff-article h1:not(.daff-ae *,.daff-ae),.daff-article h2:not(.daff-ae *,.daff-ae),.daff-article h3:not(.daff-ae *,.daff-ae),.daff-article h4:not(.daff-ae *,.daff-ae),.daff-article h5:not(.daff-ae *,.daff-ae),.daff-article h6:not(.daff-ae *,.daff-ae){margin-bottom:.5rem}.daff-article h2:not(.daff-ae *,.daff-ae),.daff-article h3:not(.daff-ae *,.daff-ae),.daff-article h4:not(.daff-ae *,.daff-ae),.daff-article h5:not(.daff-ae *,.daff-ae),.daff-article h6:not(.daff-ae *,.daff-ae){margin-top:2rem}.daff-article h1:not(.daff-ae *,.daff-ae){font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width:768px){.daff-article h1:not(.daff-ae *,.daff-ae){font-size:3rem;line-height:3.5rem}}.daff-article h2:not(.daff-ae *,.daff-ae){font-size:2rem;line-height:2.5rem}.daff-article h3:not(.daff-ae *,.daff-ae){font-size:1.5rem;line-height:2rem}.daff-article h4:not(.daff-ae *,.daff-ae){font-size:1.25rem;line-height:1.5rem}.daff-article h5:not(.daff-ae *,.daff-ae){font-size:1.125rem;line-height:1.5rem}.daff-article h6:not(.daff-ae *,.daff-ae){font-size:1rem;line-height:1.5rem}.daff-article p:not(.daff-ae *,.daff-ae){margin:0 0 1rem}.daff-article strong{font-weight:700}.daff-article pre{display:block;border-radius:4px;font-size:.875rem;line-height:1.5rem;margin:0;padding:1.5rem;overflow:auto;white-space:pre-wrap}.daff-article pre code{display:block;padding:0}.daff-article code{display:inline-block;border-radius:4px;font-size:.875rem;line-height:1rem;padding:.25rem}.daff-article__title{font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width:768px){.daff-article__title{font-size:3rem;line-height:3.5rem}}.daff-article__lead{font-size:1.25rem;line-height:1.75rem;font-weight:400;margin:0}.daff-article__lead code{font-size:1.25rem;line-height:1.5rem;font-weight:400}.daff-article__meta{font-size:.875rem}.daff-article hr{border:0;height:1px;margin:2rem 0}.daff-article blockquote{border-radius:4px;margin:0;padding:1rem 1.5rem}.daff-article blockquote cite{font-size:.875rem;font-weight:400;line-height:1.25rem;display:block;margin-top:1rem}.daff-article table{display:block;border-collapse:collapse;margin:1.5rem 0;overflow:auto;width:100%}.daff-article table th{font-weight:600;outline:0;padding:1rem;text-align:left;vertical-align:bottom;box-sizing:border-box}.daff-article table td{padding:.5rem 1rem;vertical-align:top;box-sizing:border-box}"]
3025
3114
  },] }
3026
3115
  ];
3027
3116
  DaffArticleComponent.propDecorators = {
@@ -3204,6 +3293,7 @@
3204
3293
  selector: 'daff-button-set',
3205
3294
  template: '<ng-content></ng-content>',
3206
3295
  encapsulation: i0.ViewEncapsulation.None,
3296
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3207
3297
  styles: [".daff-button-set{display:flex;flex-direction:column;flex-wrap:wrap}@media (min-width:480px){.daff-button-set{flex-direction:row}}.daff-button-set>*{margin:0 0 5px}.daff-button-set>:last-child{margin:0}@media (min-width:480px){.daff-button-set>*{margin:0 5px 0 0}.daff-button-set>:last-child{margin:0}}"]
3208
3298
  },] }
3209
3299
  ];
@@ -3227,6 +3317,9 @@
3227
3317
  },] }
3228
3318
  ];
3229
3319
 
3320
+ /**
3321
+ * @deprecated See {@link DaffMediaGalleryComponent}
3322
+ */
3230
3323
  var DaffImageGalleryComponent = /** @class */ (function () {
3231
3324
  function DaffImageGalleryComponent() {
3232
3325
  }
@@ -3237,10 +3330,14 @@
3237
3330
  selector: 'daff-image-gallery',
3238
3331
  template: "<div class=\"daff-image-gallery\">\n <div class=\"daff-image-gallery__active-image\">\n <ng-content select=\"[daff-active-image]\"></ng-content>\n </div>\n\n <daff-image-list class=\"daff-image-gallery__image-list\">\n <ng-content select=\"daff-gallery-image\"></ng-content>\n </daff-image-list>\n</div>\n",
3239
3332
  encapsulation: i0.ViewEncapsulation.None,
3333
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3240
3334
  styles: [".daff-image-gallery{display:grid;flex-direction:column;grid-template-areas:\"active-image\" \"image-list\";max-height:100%}@media (min-width:1024px){.daff-image-gallery{grid-template-areas:\"image-list active-image\";max-height:-webkit-min-content;max-height:-moz-min-content;max-height:min-content}}.daff-image-gallery__active-image{grid-area:active-image}.daff-image-gallery__active-image img{display:block;max-width:100%}.daff-image-gallery__image-list{grid-area:image-list;margin:5px 0 0;max-height:100%}@media (min-width:1024px){.daff-image-gallery__image-list{margin:0 25px 0 0;max-height:-webkit-fill-available}}.daff-image-gallery__daff-gallery-image img{display:block;opacity:.6;width:90px}.daff-image-gallery__daff-gallery-image--selected img{opacity:1}"]
3241
3335
  },] }
3242
3336
  ];
3243
3337
 
3338
+ /**
3339
+ * @deprecated See {@link DaffThumbnailDirective}
3340
+ */
3244
3341
  var DaffGalleryImageComponent = /** @class */ (function () {
3245
3342
  function DaffGalleryImageComponent() {
3246
3343
  this.class = true;
@@ -3250,7 +3347,8 @@
3250
3347
  DaffGalleryImageComponent.decorators = [
3251
3348
  { type: i0.Component, args: [{
3252
3349
  selector: 'daff-gallery-image',
3253
- template: "<div class=\"gallery-image__wrapper\">\n <ng-content></ng-content>\n</div>"
3350
+ template: "<div class=\"gallery-image__wrapper\">\n <ng-content></ng-content>\n</div>",
3351
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
3254
3352
  },] }
3255
3353
  ];
3256
3354
  DaffGalleryImageComponent.propDecorators = {
@@ -3272,6 +3370,7 @@
3272
3370
  selector: 'daff-image-list',
3273
3371
  template: '<ng-content></ng-content>',
3274
3372
  encapsulation: i0.ViewEncapsulation.None,
3373
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3275
3374
  styles: [".daff-image-list{overflow:scroll;white-space:nowrap}.daff-image-list>*{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;margin:0 5px 0 0}@media (min-width:1024px){.daff-image-list>*{display:block;margin:0 0 5px}}.daff-image-list>:last-child{margin:0}::-webkit-scrollbar{height:2px;width:2px}::-webkit-scrollbar-thumb{box-shadow:inset 0 0 3px #b6b6b6;-webkit-box-shadow:inset 0 0 3px #b6b6b6}"]
3276
3375
  },] }
3277
3376
  ];
@@ -3320,18 +3419,34 @@
3320
3419
  },] }
3321
3420
  ];
3322
3421
 
3422
+ /**
3423
+ * An _elementRef and an instance of renderer2 are needed for the link set mixins
3424
+ */
3425
+ var DaffLinkSetBase = /** @class */ (function () {
3426
+ function DaffLinkSetBase(_elementRef, _renderer) {
3427
+ this._elementRef = _elementRef;
3428
+ this._renderer = _renderer;
3429
+ }
3430
+ return DaffLinkSetBase;
3431
+ }());
3432
+ var _daffLinkSetBase = daffArticleEncapsulatedMixin((DaffLinkSetBase));
3323
3433
  /**
3324
3434
  * DaffLinkSetComponent is a component for displaying a two or more links.
3325
3435
  */
3326
- var DaffLinkSetComponent = /** @class */ (function () {
3327
- function DaffLinkSetComponent() {
3436
+ var DaffLinkSetComponent = /** @class */ (function (_super) {
3437
+ __extends(DaffLinkSetComponent, _super);
3438
+ function DaffLinkSetComponent(elementRef, renderer) {
3439
+ var _this = _super.call(this, elementRef, renderer) || this;
3440
+ _this.elementRef = elementRef;
3441
+ _this.renderer = renderer;
3328
3442
  /**
3329
3443
  * @docs-private
3330
3444
  */
3331
- this.class = true;
3445
+ _this.class = true;
3446
+ return _this;
3332
3447
  }
3333
3448
  return DaffLinkSetComponent;
3334
- }());
3449
+ }(_daffLinkSetBase));
3335
3450
  DaffLinkSetComponent.decorators = [
3336
3451
  { type: i0.Component, args: [{
3337
3452
  selector: 'daff-link-set',
@@ -3341,6 +3456,11 @@
3341
3456
  styles: [".daff-link-set{display:block;margin:0;padding:0}.daff-link-set__heading{font-weight:700;display:block;font-size:1rem;line-height:1em;margin-bottom:15px;text-transform:uppercase}.daff-link-set__subheading{display:block;font-size:1rem;line-height:1.5em}.daff-link-set__item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:currentColor;display:block;font-size:1em;line-height:1.5em;text-decoration:none;transition:color .15s ease}.daff-link-set__item:hover{text-decoration:underline}.daff-link-set__item[disabled]{cursor:not-allowed}.daff-link-set .daff-link-set{margin-left:10px}"]
3342
3457
  },] }
3343
3458
  ];
3459
+ /** @nocollapse */
3460
+ DaffLinkSetComponent.ctorParameters = function () { return [
3461
+ { type: i0.ElementRef },
3462
+ { type: i0.Renderer2 }
3463
+ ]; };
3344
3464
  DaffLinkSetComponent.propDecorators = {
3345
3465
  class: [{ type: i0.HostBinding, args: ['class.daff-link-set',] }]
3346
3466
  };
@@ -3514,9 +3634,24 @@
3514
3634
  DaffListTypeEnum["Default"] = "daff-list";
3515
3635
  DaffListTypeEnum["Nav"] = "daff-nav-list";
3516
3636
  })(DaffListTypeEnum || (DaffListTypeEnum = {}));
3517
- var DaffListComponent = /** @class */ (function () {
3518
- function DaffListComponent(elementRef) {
3519
- this.elementRef = elementRef;
3637
+ /**
3638
+ * An _elementRef and an instance of renderer2 are needed for the list mixins
3639
+ */
3640
+ var DaffListBase = /** @class */ (function () {
3641
+ function DaffListBase(_elementRef, _renderer) {
3642
+ this._elementRef = _elementRef;
3643
+ this._renderer = _renderer;
3644
+ }
3645
+ return DaffListBase;
3646
+ }());
3647
+ var _daffListBase = daffArticleEncapsulatedMixin((DaffListBase));
3648
+ var DaffListComponent = /** @class */ (function (_super) {
3649
+ __extends(DaffListComponent, _super);
3650
+ function DaffListComponent(elementRef, renderer) {
3651
+ var _this = _super.call(this, elementRef, renderer) || this;
3652
+ _this.elementRef = elementRef;
3653
+ _this.renderer = renderer;
3654
+ return _this;
3520
3655
  }
3521
3656
  Object.defineProperty(DaffListComponent.prototype, "list", {
3522
3657
  /**
@@ -3598,7 +3733,7 @@
3598
3733
  return this.elementRef.nativeElement;
3599
3734
  };
3600
3735
  return DaffListComponent;
3601
- }());
3736
+ }(_daffListBase));
3602
3737
  DaffListComponent.decorators = [
3603
3738
  { type: i0.Component, args: [{
3604
3739
  selector: 'daff-list' + ',' +
@@ -3611,7 +3746,8 @@
3611
3746
  ];
3612
3747
  /** @nocollapse */
3613
3748
  DaffListComponent.ctorParameters = function () { return [
3614
- { type: i0.ElementRef }
3749
+ { type: i0.ElementRef },
3750
+ { type: i0.Renderer2 }
3615
3751
  ]; };
3616
3752
  DaffListComponent.propDecorators = {
3617
3753
  mode: [{ type: i0.Input }],
@@ -3741,6 +3877,7 @@
3741
3877
  { type: i0.Component, args: [{
3742
3878
  selector: 'daff-modal-actions',
3743
3879
  template: '<ng-content></ng-content>',
3880
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3744
3881
  styles: [":host{display:block;padding-top:24px}"]
3745
3882
  },] }
3746
3883
  ];
@@ -3895,6 +4032,27 @@
3895
4032
  { type: i1.Overlay }
3896
4033
  ]; };
3897
4034
 
4035
+ /**
4036
+ * A mixin for giving a component the ability to manage a DaffContainerComponent's layout.
4037
+ * It passes predetermined layout styles down to the container. In order for a component to
4038
+ * do this, it must implement this mixin.
4039
+ */
4040
+ function daffManageContainerLayoutMixin(Base) {
4041
+ return /** @class */ (function (_super) {
4042
+ __extends(class_1, _super);
4043
+ function class_1() {
4044
+ var args = [];
4045
+ for (var _i = 0; _i < arguments.length; _i++) {
4046
+ args[_i] = arguments[_i];
4047
+ }
4048
+ var _this = _super.apply(this, __spread(args)) || this;
4049
+ _this._renderer.addClass(_this._elementRef.nativeElement, "daff-manage-container-layout");
4050
+ return _this;
4051
+ }
4052
+ return class_1;
4053
+ }(Base));
4054
+ }
4055
+
3898
4056
  /**
3899
4057
  * An _elementRef is needed for the Colorable mixin
3900
4058
  */
@@ -3905,7 +4063,7 @@
3905
4063
  }
3906
4064
  return DaffNavbarBase;
3907
4065
  }());
3908
- var _daffNavbarBase = daffColorMixin(DaffNavbarBase);
4066
+ var _daffNavbarBase = daffManageContainerLayoutMixin(daffColorMixin(DaffNavbarBase));
3909
4067
  /**
3910
4068
  * @inheritdoc
3911
4069
  */
@@ -3915,19 +4073,19 @@
3915
4073
  var _this = _super.call(this, elementRef, renderer) || this;
3916
4074
  _this.elementRef = elementRef;
3917
4075
  _this.renderer = renderer;
3918
- _this.shadowed = false;
4076
+ _this.raised = false;
3919
4077
  /**
3920
4078
  * @docs-private
3921
4079
  */
3922
4080
  _this.hostClass = true;
3923
4081
  return _this;
3924
4082
  }
3925
- Object.defineProperty(DaffNavbarComponent.prototype, "shadowClass", {
4083
+ Object.defineProperty(DaffNavbarComponent.prototype, "raisedClass", {
3926
4084
  /**
3927
4085
  * @docs-private
3928
4086
  */
3929
4087
  get: function () {
3930
- return this.shadowed;
4088
+ return this.raised;
3931
4089
  },
3932
4090
  enumerable: false,
3933
4091
  configurable: true
@@ -3937,13 +4095,14 @@
3937
4095
  }(_daffNavbarBase));
3938
4096
  DaffNavbarComponent.decorators = [
3939
4097
  { type: i0.Component, args: [{
3940
- selector: 'daff-navbar',
4098
+ // eslint-disable-next-line @angular-eslint/component-selector
4099
+ selector: 'nav[daff-navbar]',
3941
4100
  template: '<ng-content></ng-content>',
3942
4101
  //todo(damienwebdev): remove once decorators hit stage 3 - https://github.com/microsoft/TypeScript/issues/7342
3943
4102
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
3944
4103
  inputs: ['color'],
3945
4104
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
3946
- styles: [":host{align-items:center;display:flex;height:70px;padding:0 15px;width:100%}"]
4105
+ styles: [":host{display:flex;align-items:center;height:64px;width:100%;padding:0 16px}"]
3947
4106
  },] }
3948
4107
  ];
3949
4108
  /** @nocollapse */
@@ -3952,8 +4111,8 @@
3952
4111
  { type: i0.Renderer2 }
3953
4112
  ]; };
3954
4113
  DaffNavbarComponent.propDecorators = {
3955
- shadowed: [{ type: i0.Input }],
3956
- shadowClass: [{ type: i0.HostBinding, args: ['class.daff-navbar--shadowed',] }],
4114
+ raised: [{ type: i0.Input }],
4115
+ raisedClass: [{ type: i0.HostBinding, args: ['class.daff-navbar--raised',] }],
3957
4116
  hostClass: [{ type: i0.HostBinding, args: ['class.daff-navbar',] }]
3958
4117
  };
3959
4118
 
@@ -4158,6 +4317,11 @@
4158
4317
  },] }
4159
4318
  ];
4160
4319
 
4320
+ /**
4321
+ * @deprecated See {@link DaffQuantityFieldComponent}
4322
+ */
4323
+ // ChangeDetection is ignored because this component is deprecated and will be removed
4324
+ // eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
4161
4325
  var DaffQtyDropdownComponent = /** @class */ (function () {
4162
4326
  function DaffQtyDropdownComponent(renderer) {
4163
4327
  this.renderer = renderer;
@@ -4367,6 +4531,7 @@
4367
4531
  selector: 'daff-sidebar',
4368
4532
  template: '<ng-content></ng-content>',
4369
4533
  encapsulation: i0.ViewEncapsulation.None,
4534
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
4370
4535
  styles: [":host{display:block}.daff-sidebar{display:block;height:100%}"]
4371
4536
  },] }
4372
4537
  ];
@@ -4534,6 +4699,42 @@
4534
4699
  },] }
4535
4700
  ];
4536
4701
 
4702
+ var DaffHeroBodyDirective = /** @class */ (function () {
4703
+ function DaffHeroBodyDirective() {
4704
+ /**
4705
+ * @docs-private
4706
+ */
4707
+ this.class = true;
4708
+ }
4709
+ return DaffHeroBodyDirective;
4710
+ }());
4711
+ DaffHeroBodyDirective.decorators = [
4712
+ { type: i0.Directive, args: [{
4713
+ selector: '[daffHeroBody]',
4714
+ },] }
4715
+ ];
4716
+ DaffHeroBodyDirective.propDecorators = {
4717
+ class: [{ type: i0.HostBinding, args: ['class.daff-hero__body',] }]
4718
+ };
4719
+
4720
+ var DaffHeroIconDirective = /** @class */ (function () {
4721
+ function DaffHeroIconDirective() {
4722
+ /**
4723
+ * @docs-private
4724
+ */
4725
+ this.class = true;
4726
+ }
4727
+ return DaffHeroIconDirective;
4728
+ }());
4729
+ DaffHeroIconDirective.decorators = [
4730
+ { type: i0.Directive, args: [{
4731
+ selector: '[daffHeroIcon]',
4732
+ },] }
4733
+ ];
4734
+ DaffHeroIconDirective.propDecorators = {
4735
+ class: [{ type: i0.HostBinding, args: ['class.daff-hero__icon',] }]
4736
+ };
4737
+
4537
4738
  var DaffHeroSubtitleDirective = /** @class */ (function () {
4538
4739
  function DaffHeroSubtitleDirective() {
4539
4740
  /**
@@ -4588,6 +4789,44 @@
4588
4789
  class: [{ type: i0.HostBinding, args: ['class.daff-hero__title',] }]
4589
4790
  };
4590
4791
 
4792
+ function daffCompactableMixin(Base, defaultCompact) {
4793
+ if (defaultCompact === void 0) { defaultCompact = false; }
4794
+ return /** @class */ (function (_super) {
4795
+ __extends(class_1, _super);
4796
+ function class_1() {
4797
+ var args = [];
4798
+ for (var _i = 0; _i < arguments.length; _i++) {
4799
+ args[_i] = arguments[_i];
4800
+ }
4801
+ var _this = _super.apply(this, __spread(args)) || this;
4802
+ _this.compact = defaultCompact;
4803
+ return _this;
4804
+ }
4805
+ Object.defineProperty(class_1.prototype, "compact", {
4806
+ get: function () {
4807
+ return this._compact;
4808
+ },
4809
+ set: function (value) {
4810
+ // Handles the default compact
4811
+ var incomingCompact = value || defaultCompact;
4812
+ if (incomingCompact === this._compact) { // Only run the dom-render if a change occurs
4813
+ return;
4814
+ }
4815
+ if (incomingCompact) {
4816
+ this._renderer.addClass(this._elementRef.nativeElement, "daff-compact");
4817
+ }
4818
+ else {
4819
+ this._renderer.removeClass(this._elementRef.nativeElement, "daff-compact");
4820
+ }
4821
+ this._compact = incomingCompact;
4822
+ },
4823
+ enumerable: false,
4824
+ configurable: true
4825
+ });
4826
+ return class_1;
4827
+ }(Base));
4828
+ }
4829
+
4591
4830
  function daffTextAlignmentMixin(Base, defaultTextAlignment) {
4592
4831
  var DaffTextAlignableMixin = /** @class */ (function (_super) {
4593
4832
  __extends(DaffTextAlignableMixin, _super);
@@ -4639,10 +4878,10 @@
4639
4878
  })(exports.DaffHeroLayoutEnum || (exports.DaffHeroLayoutEnum = {}));
4640
4879
  (function (DaffHeroSizeEnum) {
4641
4880
  DaffHeroSizeEnum["Compact"] = "compact";
4642
- DaffHeroSizeEnum["Small"] = "small"; // Small will be deprecated in v1.0.0
4881
+ DaffHeroSizeEnum["Small"] = "small";
4643
4882
  })(exports.DaffHeroSizeEnum || (exports.DaffHeroSizeEnum = {}));
4644
4883
  /**
4645
- * An _elementRef and an instance of renderer2 are needed for the Colorable mixin
4884
+ * An _elementRef and an instance of renderer2 are needed for the hero mixins
4646
4885
  */
4647
4886
  var DaffHeroBase = /** @class */ (function () {
4648
4887
  function DaffHeroBase(_elementRef, _renderer) {
@@ -4651,7 +4890,7 @@
4651
4890
  }
4652
4891
  return DaffHeroBase;
4653
4892
  }());
4654
- var _daffHeroBase = daffColorMixin(daffTextAlignmentMixin(DaffHeroBase));
4893
+ var _daffHeroBase = daffArticleEncapsulatedMixin(daffManageContainerLayoutMixin(daffColorMixin(daffCompactableMixin(daffTextAlignmentMixin(DaffHeroBase, 'left')))));
4655
4894
  /**
4656
4895
  * @inheritdoc
4657
4896
  */
@@ -4669,9 +4908,7 @@
4669
4908
  }
4670
4909
  Object.defineProperty(DaffHeroComponent.prototype, "centered", {
4671
4910
  /**
4672
- * Will be deprecated in v1.0.0
4673
- *
4674
- * @docs-private
4911
+ * @deprecated See {@link DaffTextAlignable}
4675
4912
  */
4676
4913
  get: function () {
4677
4914
  return this.layout === exports.DaffHeroLayoutEnum.Centered;
@@ -4679,26 +4916,12 @@
4679
4916
  enumerable: false,
4680
4917
  configurable: true
4681
4918
  });
4682
- Object.defineProperty(DaffHeroComponent.prototype, "small", {
4683
- /**
4684
- * Will be deprecated in v1.0.0
4685
- *
4686
- * @docs-private
4687
- */
4688
- get: function () {
4689
- return this.size === exports.DaffHeroSizeEnum.Small;
4690
- },
4691
- enumerable: false,
4692
- configurable: true
4693
- });
4694
- Object.defineProperty(DaffHeroComponent.prototype, "compact", {
4919
+ Object.defineProperty(DaffHeroComponent.prototype, "compactClass", {
4695
4920
  /**
4696
- * Will be deprecated in v1.0.0
4697
- *
4698
- * @docs-private
4921
+ * @deprecated See {@link DaffCompactable}
4699
4922
  */
4700
4923
  get: function () {
4701
- return this.size === exports.DaffHeroSizeEnum.Compact;
4924
+ return this.size === exports.DaffHeroSizeEnum.Compact || this.compact === true || this.size === exports.DaffHeroSizeEnum.Small;
4702
4925
  },
4703
4926
  enumerable: false,
4704
4927
  configurable: true
@@ -4712,9 +4935,9 @@
4712
4935
  encapsulation: i0.ViewEncapsulation.None,
4713
4936
  //todo(damienwebdev): remove once decorators hit stage 3 - https://github.com/microsoft/TypeScript/issues/7342
4714
4937
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
4715
- inputs: ['color', 'textAlignment'],
4938
+ inputs: ['color', 'compact', 'textAlignment'],
4716
4939
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
4717
- styles: [".daff-hero{display:block;padding:64px 24px}@media (min-width:480px){.daff-hero{padding:96px 48px}}.daff-hero__tagline{font-weight:700;text-transform:uppercase;font-size:.75rem;line-height:1rem;letter-spacing:1px;margin:0 0 8px;padding:0}.daff-hero__title{font-weight:700;font-size:2.5rem;line-height:2.75rem;margin:0;max-width:1040px;overflow-wrap:break-word;width:100%}@media (min-width:768px){.daff-hero__title{font-size:3.5rem;line-height:4rem}}.daff-hero__subtitle{font-size:1.5rem;line-height:2rem;font-weight:400;margin:16px 0 0;max-width:672px;width:100%}.daff-hero--centered .daff-hero__title{margin:0 auto;text-align:center}.daff-hero--centered .daff-hero__subtitle{margin:24px auto 0;text-align:center}.daff-hero--compact,.daff-hero--small{padding:50px 25px}@media (min-width:480px){.daff-hero--compact,.daff-hero--small{padding:50px}}.daff-hero.daff-left .daff-hero__subtitle,.daff-hero.daff-left .daff-hero__tagline,.daff-hero.daff-left .daff-hero__title{text-align:left}.daff-hero.daff-center .daff-hero__subtitle,.daff-hero.daff-center .daff-hero__tagline,.daff-hero.daff-center .daff-hero__title{margin-left:auto;margin-right:auto;text-align:center}.daff-hero.daff-right .daff-hero__subtitle,.daff-hero.daff-right .daff-hero__tagline,.daff-hero.daff-right .daff-hero__title{margin-left:auto;text-align:right}"]
4940
+ styles: [".daff-hero{display:block;padding:64px 24px}@media (min-width:480px){.daff-hero{padding:96px 48px}}.daff-hero__icon{margin:0 0 16px}.daff-hero__tagline{text-transform:uppercase;font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;margin:0 0 8px;padding:0}.daff-hero__title{font-weight:700;font-size:2.5rem;line-height:2.5rem;margin:0;max-width:1040px;width:100%}@media (min-width:768px){.daff-hero__title{font-size:4.5rem;line-height:4.5rem}}.daff-hero__subtitle{font-size:1.25rem;font-weight:400;line-height:1.75rem;margin:16px 0 0;max-width:672px;width:100%}@media (min-width:768px){.daff-hero__subtitle{font-size:1.5rem;font-weight:400;line-height:2rem}}.daff-hero__subtitle p:first-of-type{margin-top:0}.daff-hero__subtitle p:last-of-type{margin-bottom:0}.daff-hero__body:not(:last-child){margin-bottom:48px}.daff-hero__body:not(:first-child){margin-top:48px}.daff-hero--centered .daff-hero__title{margin:0 auto;text-align:center}.daff-hero--centered .daff-hero__subtitle{margin:24px auto 0;text-align:center}.daff-hero--compact,.daff-hero--small{padding:50px 25px}@media (min-width:480px){.daff-hero--compact,.daff-hero--small{padding:50px}}.daff-hero.daff-compact{padding:48px 24px}@media (min-width:480px){.daff-hero.daff-compact{padding:48px}}.daff-hero.daff-left .daff-hero__icon,.daff-hero.daff-left .daff-hero__subtitle,.daff-hero.daff-left .daff-hero__tagline,.daff-hero.daff-left .daff-hero__title{text-align:left}.daff-hero.daff-center .daff-hero__icon,.daff-hero.daff-center .daff-hero__subtitle,.daff-hero.daff-center .daff-hero__tagline,.daff-hero.daff-center .daff-hero__title{margin-left:auto;margin-right:auto;text-align:center}.daff-hero.daff-right .daff-hero__icon,.daff-hero.daff-right .daff-hero__subtitle,.daff-hero.daff-right .daff-hero__tagline,.daff-hero.daff-right .daff-hero__title{margin-left:auto;text-align:right}"]
4718
4941
  },] }
4719
4942
  ];
4720
4943
  /** @nocollapse */
@@ -4727,8 +4950,7 @@
4727
4950
  size: [{ type: i0.Input }],
4728
4951
  class: [{ type: i0.HostBinding, args: ['class.daff-hero',] }],
4729
4952
  centered: [{ type: i0.HostBinding, args: ['class.daff-hero--centered',] }],
4730
- small: [{ type: i0.HostBinding, args: ['class.daff-hero--small',] }],
4731
- compact: [{ type: i0.HostBinding, args: ['class.daff-hero--compact',] }]
4953
+ compactClass: [{ type: i0.HostBinding, args: ['class.daff-hero--compact',] }]
4732
4954
  };
4733
4955
 
4734
4956
  var DaffHeroModule = /** @class */ (function () {
@@ -4743,19 +4965,59 @@
4743
4965
  ],
4744
4966
  declarations: [
4745
4967
  DaffHeroComponent,
4968
+ DaffHeroIconDirective,
4746
4969
  DaffHeroTaglineDirective,
4747
4970
  DaffHeroTitleDirective,
4748
4971
  DaffHeroSubtitleDirective,
4972
+ DaffHeroBodyDirective,
4749
4973
  ],
4750
4974
  exports: [
4751
4975
  DaffHeroComponent,
4976
+ DaffHeroIconDirective,
4752
4977
  DaffHeroTaglineDirective,
4753
4978
  DaffHeroTitleDirective,
4754
4979
  DaffHeroSubtitleDirective,
4980
+ DaffHeroBodyDirective,
4755
4981
  ],
4756
4982
  },] }
4757
4983
  ];
4758
4984
 
4985
+ var DaffCalloutBodyDirective = /** @class */ (function () {
4986
+ function DaffCalloutBodyDirective() {
4987
+ /**
4988
+ * @docs-private
4989
+ */
4990
+ this.class = true;
4991
+ }
4992
+ return DaffCalloutBodyDirective;
4993
+ }());
4994
+ DaffCalloutBodyDirective.decorators = [
4995
+ { type: i0.Directive, args: [{
4996
+ selector: '[daffCalloutBody]',
4997
+ },] }
4998
+ ];
4999
+ DaffCalloutBodyDirective.propDecorators = {
5000
+ class: [{ type: i0.HostBinding, args: ['class.daff-callout__body',] }]
5001
+ };
5002
+
5003
+ var DaffCalloutIconDirective = /** @class */ (function () {
5004
+ function DaffCalloutIconDirective() {
5005
+ /**
5006
+ * @docs-private
5007
+ */
5008
+ this.class = true;
5009
+ }
5010
+ return DaffCalloutIconDirective;
5011
+ }());
5012
+ DaffCalloutIconDirective.decorators = [
5013
+ { type: i0.Directive, args: [{
5014
+ selector: '[daffCalloutIcon]',
5015
+ },] }
5016
+ ];
5017
+ DaffCalloutIconDirective.propDecorators = {
5018
+ class: [{ type: i0.HostBinding, args: ['class.daff-callout__icon',] }]
5019
+ };
5020
+
4759
5021
  var DaffCalloutSubtitleDirective = /** @class */ (function () {
4760
5022
  function DaffCalloutSubtitleDirective() {
4761
5023
  /**
@@ -4826,7 +5088,7 @@
4826
5088
  }
4827
5089
  return DaffCalloutBase;
4828
5090
  }());
4829
- var _daffCalloutBase = daffColorMixin(daffTextAlignmentMixin(DaffCalloutBase));
5091
+ var _daffCalloutBase = daffArticleEncapsulatedMixin(daffManageContainerLayoutMixin(daffColorMixin(daffCompactableMixin(daffTextAlignmentMixin(DaffCalloutBase, 'left')))));
4830
5092
  /**
4831
5093
  * @inheritdoc
4832
5094
  */
@@ -4844,9 +5106,7 @@
4844
5106
  }
4845
5107
  Object.defineProperty(DaffCalloutComponent.prototype, "centered", {
4846
5108
  /**
4847
- * Will be deprecated in v1.0.0
4848
- *
4849
- * @docs-private
5109
+ * @deprecated See {@link DaffTextAlignable}
4850
5110
  */
4851
5111
  get: function () {
4852
5112
  return this.layout === exports.DaffCalloutLayoutEnum.Centered;
@@ -4854,11 +5114,9 @@
4854
5114
  enumerable: false,
4855
5115
  configurable: true
4856
5116
  });
4857
- Object.defineProperty(DaffCalloutComponent.prototype, "compact", {
5117
+ Object.defineProperty(DaffCalloutComponent.prototype, "compactClass", {
4858
5118
  /**
4859
- * Will be deprecated in v1.0.0
4860
- *
4861
- * @docs-private
5119
+ * @deprecated See {@link DaffCompactable}
4862
5120
  */
4863
5121
  get: function () {
4864
5122
  return this.size === exports.DaffCalloutSizeEnum.Compact;
@@ -4875,9 +5133,9 @@
4875
5133
  encapsulation: i0.ViewEncapsulation.None,
4876
5134
  //todo(damienwebdev): remove once decorators hit stage 3 - https://github.com/microsoft/TypeScript/issues/7342
4877
5135
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
4878
- inputs: ['color', 'textAlignment'],
5136
+ inputs: ['color', 'compact', 'textAlignment'],
4879
5137
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
4880
- styles: [".daff-callout{display:block;padding:64px 24px}@media (min-width:480px){.daff-callout{padding:96px 48px}}@media (min-width:1024px){.daff-callout{padding:96px 0}}.daff-callout__tagline{font-weight:700;text-transform:uppercase;font-size:.75rem;line-height:1rem;letter-spacing:1px;margin:0 0 8px;padding:0}.daff-callout__title{font-weight:700;font-size:1.75rem;line-height:2rem;margin:0;max-width:1040px;padding:0;width:100%}@media (min-width:480px){.daff-callout__title{font-weight:700;font-size:2rem;line-height:2.25rem}}@media (min-width:480px) and (min-width:768px){.daff-callout__title{font-size:3rem;line-height:3.5rem}}.daff-callout__subtitle{font-size:1.25rem;margin:16px 0 0;max-width:600px;padding:0;width:100%}.daff-callout--centered .daff-callout__title{margin:0 auto;text-align:center}.daff-callout--centered .daff-callout__subtitle{margin:10px auto 0;text-align:center}@media (min-width:480px){.daff-callout--centered .daff-callout__subtitle{margin:25px auto 0}}.daff-callout--compact{padding:25px}@media (min-width:480px){.daff-callout--compact{padding:25px 50px}}.daff-callout.daff-left .daff-callout__subtitle,.daff-callout.daff-left .daff-callout__tagline,.daff-callout.daff-left .daff-callout__title{text-align:left}.daff-callout.daff-center .daff-callout__subtitle,.daff-callout.daff-center .daff-callout__tagline,.daff-callout.daff-center .daff-callout__title{margin-left:auto;margin-right:auto;text-align:center}.daff-callout.daff-right .daff-callout__subtitle,.daff-callout.daff-right .daff-callout__tagline,.daff-callout.daff-right .daff-callout__title{margin-left:auto;text-align:right}"]
5138
+ styles: [".daff-callout{display:block;padding:64px 24px}@media (min-width:480px){.daff-callout{padding:96px 48px}}.daff-callout__icon{margin:0 0 16px}.daff-callout__tagline{text-transform:uppercase;font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;margin:0 0 8px;padding:0}.daff-callout__title{font-weight:700;font-size:1.75rem;line-height:2rem;margin:0;max-width:1040px;overflow-wrap:break-word;padding:0;width:100%}@media (min-width:480px){.daff-callout__title{font-weight:700;font-size:2rem;line-height:2.25rem}}@media (min-width:480px) and (min-width:768px){.daff-callout__title{font-size:3rem;line-height:3.5rem}}.daff-callout__subtitle{font-size:1.25rem;margin:16px 0 0;max-width:592px;padding:0;width:100%}.daff-callout__body:not(:last-child){margin-bottom:48px}.daff-callout__body:not(:first-child){margin-top:48px}.daff-callout__body p:first-of-type{margin-top:0}.daff-callout__body p:last-of-type{margin-bottom:0}.daff-callout--centered .daff-callout__title{margin:0 auto;text-align:center}.daff-callout--centered .daff-callout__subtitle{margin:10px auto 0;text-align:center}@media (min-width:480px){.daff-callout--centered .daff-callout__subtitle{margin:25px auto 0}}.daff-callout--compact{padding:25px}@media (min-width:480px){.daff-callout--compact{padding:25px 50px}}.daff-callout.daff-compact{padding:48px 24px}@media (min-width:480px){.daff-callout.daff-compact{padding:48px}}.daff-callout.daff-left .daff-callout__icon,.daff-callout.daff-left .daff-callout__subtitle,.daff-callout.daff-left .daff-callout__tagline,.daff-callout.daff-left .daff-callout__title{text-align:left}.daff-callout.daff-center .daff-callout__icon,.daff-callout.daff-center .daff-callout__subtitle,.daff-callout.daff-center .daff-callout__tagline,.daff-callout.daff-center .daff-callout__title{margin-left:auto;margin-right:auto;text-align:center}.daff-callout.daff-right .daff-callout__icon,.daff-callout.daff-right .daff-callout__subtitle,.daff-callout.daff-right .daff-callout__tagline,.daff-callout.daff-right .daff-callout__title{margin-left:auto;text-align:right}"]
4881
5139
  },] }
4882
5140
  ];
4883
5141
  /** @nocollapse */
@@ -4890,7 +5148,7 @@
4890
5148
  size: [{ type: i0.Input }],
4891
5149
  class: [{ type: i0.HostBinding, args: ['class.daff-callout',] }],
4892
5150
  centered: [{ type: i0.HostBinding, args: ['class.daff-callout--centered',] }],
4893
- compact: [{ type: i0.HostBinding, args: ['class.daff-callout--compact',] }]
5151
+ compactClass: [{ type: i0.HostBinding, args: ['class.daff-callout--compact',] }]
4894
5152
  };
4895
5153
 
4896
5154
  var DaffCalloutModule = /** @class */ (function () {
@@ -4905,15 +5163,19 @@
4905
5163
  ],
4906
5164
  declarations: [
4907
5165
  DaffCalloutComponent,
5166
+ DaffCalloutIconDirective,
4908
5167
  DaffCalloutTitleDirective,
4909
5168
  DaffCalloutSubtitleDirective,
4910
5169
  DaffCalloutTaglineDirective,
5170
+ DaffCalloutBodyDirective,
4911
5171
  ],
4912
5172
  exports: [
4913
5173
  DaffCalloutComponent,
5174
+ DaffCalloutIconDirective,
4914
5175
  DaffCalloutSubtitleDirective,
4915
5176
  DaffCalloutTitleDirective,
4916
5177
  DaffCalloutTaglineDirective,
5178
+ DaffCalloutBodyDirective,
4917
5179
  ],
4918
5180
  },] }
4919
5181
  ];
@@ -4994,6 +5256,9 @@
4994
5256
  DaffFeatureModeEnum["Compact"] = "compact";
4995
5257
  DaffFeatureModeEnum["Normal"] = "normal";
4996
5258
  })(exports.DaffFeatureModeEnum || (exports.DaffFeatureModeEnum = {}));
5259
+ /**
5260
+ * @deprecated See {@link DaffCardComponent}
5261
+ */
4997
5262
  var DaffFeatureComponent = /** @class */ (function () {
4998
5263
  function DaffFeatureComponent() {
4999
5264
  /**
@@ -5085,6 +5350,42 @@
5085
5350
  class: [{ type: i0.HostBinding, args: ['class.daff-card__actions',] }]
5086
5351
  };
5087
5352
 
5353
+ var DaffCardContentDirective = /** @class */ (function () {
5354
+ function DaffCardContentDirective() {
5355
+ /**
5356
+ * @docs-private
5357
+ */
5358
+ this.class = true;
5359
+ }
5360
+ return DaffCardContentDirective;
5361
+ }());
5362
+ DaffCardContentDirective.decorators = [
5363
+ { type: i0.Directive, args: [{
5364
+ selector: '[daffCardContent]',
5365
+ },] }
5366
+ ];
5367
+ DaffCardContentDirective.propDecorators = {
5368
+ class: [{ type: i0.HostBinding, args: ['class.daff-card__content',] }]
5369
+ };
5370
+
5371
+ var DaffCardIconDirective = /** @class */ (function () {
5372
+ function DaffCardIconDirective() {
5373
+ /**
5374
+ * @docs-private
5375
+ */
5376
+ this.class = true;
5377
+ }
5378
+ return DaffCardIconDirective;
5379
+ }());
5380
+ DaffCardIconDirective.decorators = [
5381
+ { type: i0.Directive, args: [{
5382
+ selector: '[daffCardIcon]',
5383
+ },] }
5384
+ ];
5385
+ DaffCardIconDirective.propDecorators = {
5386
+ class: [{ type: i0.HostBinding, args: ['class.daff-card__icon',] }]
5387
+ };
5388
+
5088
5389
  var DaffCardImageDirective = /** @class */ (function () {
5089
5390
  function DaffCardImageDirective() {
5090
5391
  /**
@@ -5139,6 +5440,15 @@
5139
5440
  class: [{ type: i0.HostBinding, args: ['class.daff-card__title',] }]
5140
5441
  };
5141
5442
 
5443
+ var DaffCardTypeEnum;
5444
+ (function (DaffCardTypeEnum) {
5445
+ DaffCardTypeEnum["Raised"] = "daff-raised-card";
5446
+ DaffCardTypeEnum["Stroked"] = "daff-stroked-card";
5447
+ })(DaffCardTypeEnum || (DaffCardTypeEnum = {}));
5448
+ (function (DaffCardOrientationEnum) {
5449
+ DaffCardOrientationEnum["Vertical"] = "vertical";
5450
+ DaffCardOrientationEnum["Horizontal"] = "horizontal";
5451
+ })(exports.DaffCardOrientationEnum || (exports.DaffCardOrientationEnum = {}));
5142
5452
  /**
5143
5453
  * An _elementRef and an instance of renderer2 are needed for the Colorable mixin
5144
5454
  */
@@ -5149,7 +5459,7 @@
5149
5459
  }
5150
5460
  return DaffCardBase;
5151
5461
  }());
5152
- var _daffCardBase = daffColorMixin(DaffCardBase);
5462
+ var _daffCardBase = daffArticleEncapsulatedMixin(daffColorMixin(DaffCardBase));
5153
5463
  /**
5154
5464
  * @inheritdoc
5155
5465
  */
@@ -5159,34 +5469,109 @@
5159
5469
  var _this = _super.call(this, elementRef, renderer) || this;
5160
5470
  _this.elementRef = elementRef;
5161
5471
  _this.renderer = renderer;
5162
- _this.raised = false;
5163
- /**
5164
- * @docs-private
5165
- */
5472
+ _this._orientation = exports.DaffCardOrientationEnum.Vertical;
5166
5473
  _this.class = true;
5474
+ _this.cardType = _this.initCardType();
5167
5475
  return _this;
5168
5476
  }
5169
- Object.defineProperty(DaffCardComponent.prototype, "raisedClass", {
5477
+ Object.defineProperty(DaffCardComponent.prototype, "orientation", {
5170
5478
  get: function () {
5171
- return this.raised;
5479
+ return this._orientation;
5480
+ },
5481
+ set: function (value) {
5482
+ if (value === null || value === undefined || value === '') {
5483
+ this._orientation = exports.DaffCardOrientationEnum.Vertical;
5484
+ }
5485
+ else {
5486
+ this._orientation = value;
5487
+ }
5488
+ },
5489
+ enumerable: false,
5490
+ configurable: true
5491
+ });
5492
+ ;
5493
+ DaffCardComponent.prototype.initCardType = function () {
5494
+ var e_1, _a;
5495
+ var values = Object.keys(DaffCardTypeEnum).map(function (k) { return DaffCardTypeEnum[k]; });
5496
+ if (values.indexOf(this._getHostElement().localName) >= 0) {
5497
+ return this._getHostElement().localName;
5498
+ }
5499
+ try {
5500
+ for (var values_1 = __values(values), values_1_1 = values_1.next(); !values_1_1.done; values_1_1 = values_1.next()) {
5501
+ var attr = values_1_1.value;
5502
+ if (this._hasHostAttributes(attr)) {
5503
+ return attr;
5504
+ }
5505
+ }
5506
+ }
5507
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
5508
+ finally {
5509
+ try {
5510
+ if (values_1_1 && !values_1_1.done && (_a = values_1.return)) _a.call(values_1);
5511
+ }
5512
+ finally { if (e_1) throw e_1.error; }
5513
+ }
5514
+ return null;
5515
+ };
5516
+ /**
5517
+ * @docs-private
5518
+ */
5519
+ DaffCardComponent.prototype.ngOnInit = function () {
5520
+ if (this.cardType) {
5521
+ this.elementRef.nativeElement.classList.add(this.cardType);
5522
+ }
5523
+ };
5524
+ Object.defineProperty(DaffCardComponent.prototype, "verticalClass", {
5525
+ /**
5526
+ * @docs-private
5527
+ */
5528
+ get: function () {
5529
+ return this.orientation === exports.DaffCardOrientationEnum.Vertical;
5172
5530
  },
5173
5531
  enumerable: false,
5174
5532
  configurable: true
5175
5533
  });
5534
+ Object.defineProperty(DaffCardComponent.prototype, "horizontalClass", {
5535
+ /**
5536
+ * @docs-private
5537
+ */
5538
+ get: function () {
5539
+ return this.orientation === exports.DaffCardOrientationEnum.Horizontal;
5540
+ },
5541
+ enumerable: false,
5542
+ configurable: true
5543
+ });
5544
+ DaffCardComponent.prototype._getHostElement = function () {
5545
+ return this.elementRef.nativeElement;
5546
+ };
5547
+ /**
5548
+ * Gets whether the button has one of the given attributes.
5549
+ * */
5550
+ DaffCardComponent.prototype._hasHostAttributes = function () {
5551
+ var _this = this;
5552
+ var attributes = [];
5553
+ for (var _i = 0; _i < arguments.length; _i++) {
5554
+ attributes[_i] = arguments[_i];
5555
+ }
5556
+ return attributes.some(function (attribute) { return _this._getHostElement().hasAttribute(attribute); });
5557
+ };
5176
5558
  return DaffCardComponent;
5177
5559
  }(_daffCardBase));
5178
5560
  DaffCardComponent.decorators = [
5179
5561
  { type: i0.Component, args: [{
5180
- selector: '' +
5181
- 'daff-card' + ',' +
5182
- 'a[daff-card]',
5183
- template: "<ng-content select=\"[daffCardImage]\"></ng-content>\n<div class=\"daff-card__content\">\n\t<ng-content select=\"[daffCardTagline]\"></ng-content>\n\t<ng-content select=\"[daffCardTitle]\"></ng-content>\n\t<ng-content></ng-content>\n</div>\n<ng-content select=\"[daffCardActions]\"></ng-content>",
5562
+ selector: 'daff-card' + ',' +
5563
+ 'daff-raised-card' + ',' +
5564
+ 'daff-stroked-card' + ',' +
5565
+ 'a[daff-card]' + ',' +
5566
+ 'a[daff-raised-card]' + ',' +
5567
+ 'a[daff-stroked-card]',
5568
+ template: "<ng-content select=\"[daffCardImage]\"></ng-content>\n<div class=\"daff-card__wrapper\">\n\t<div class=\"daff-card__body\">\n\t\t<ng-content select=\"[daffCardIcon]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTagline]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTitle]\"></ng-content>\n\t\t<ng-content select=\"[daffCardContent]\"></ng-content>\n\t</div>\n\t<ng-content select=\"[daffCardActions]\"></ng-content>\n</div>",
5184
5569
  encapsulation: i0.ViewEncapsulation.None,
5185
5570
  //todo(damienwebdev): remove once decorators hit stage 3 - https://github.com/microsoft/TypeScript/issues/7342
5186
5571
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
5187
5572
  inputs: ['color'],
5188
5573
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5189
- styles: [".daff-card{display:flex;flex-direction:column;border-radius:8px}.daff-card__image{display:inline-block;width:100%}.daff-card__image,.daff-card__image img{border-top-left-radius:inherit;border-top-right-radius:inherit}.daff-card__tagline{font-weight:700;text-transform:uppercase;font-size:.75rem;line-height:1rem;letter-spacing:1px;margin:0 0 4px;padding:0}.daff-card__title{font-weight:700;font-size:1.5rem;line-height:2rem;margin-bottom:16px}.daff-card__content{padding:24px}.daff-card__content p{margin:0;padding:0}.daff-card__actions{padding:0 24px 24px}a.daff-card{text-decoration:none}"]
5574
+ styles: [".daff-card{display:flex;border-radius:8px}.daff-card__image{display:inline-block;width:100%}.daff-card--vertical{flex-direction:column}.daff-card--vertical .daff-card__image,.daff-card--vertical .daff-card__image img{border-top-left-radius:calc(8px - 1px);border-top-right-radius:calc(8px - 1px)}.daff-card--horizontal{flex-wrap:wrap}@media (min-width:480px){.daff-card--horizontal{flex-direction:row;flex-wrap:nowrap}}.daff-card--horizontal .daff-card__image,.daff-card--horizontal .daff-card__image img{border-top-left-radius:calc(8px - 1px);border-bottom-left-radius:calc(8px - 1px)}.daff-card--horizontal .daff-card__image img{-o-object-fit:cover;object-fit:cover;-o-object-position:center center;object-position:center center;height:100%!important;width:100%}.daff-card__icon{display:block;margin:0 0 .5rem}.daff-card__tagline{text-transform:uppercase;font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;padding:0;margin:0 0 .25rem}.daff-card__title{font-weight:700;font-size:1.375rem;line-height:1.5rem;margin:0 0 1rem}@media (min-width:480px){.daff-card__title{font-size:1.5rem;line-height:1.75rem}}.daff-card__body{padding:1.5rem}.daff-card__content p:first-of-type{margin-top:0}.daff-card__content p:last-of-type{margin-bottom:0}.daff-card__actions{padding:0 1.5rem 1.5rem}a.daff-card,a.daff-raised-card,a.daff-stroked-card{text-decoration:none;transition:background-color .3s,box-shadow .3s}"]
5190
5575
  },] }
5191
5576
  ];
5192
5577
  /** @nocollapse */
@@ -5195,9 +5580,10 @@
5195
5580
  { type: i0.Renderer2 }
5196
5581
  ]; };
5197
5582
  DaffCardComponent.propDecorators = {
5198
- raised: [{ type: i0.Input }],
5583
+ orientation: [{ type: i0.Input }],
5199
5584
  class: [{ type: i0.HostBinding, args: ['class.daff-card',] }],
5200
- raisedClass: [{ type: i0.HostBinding, args: ['class.daff-card--raised',] }]
5585
+ verticalClass: [{ type: i0.HostBinding, args: ['class.daff-card--vertical',] }],
5586
+ horizontalClass: [{ type: i0.HostBinding, args: ['class.daff-card--horizontal',] }]
5201
5587
  };
5202
5588
 
5203
5589
  var DaffCardModule = /** @class */ (function () {
@@ -5212,16 +5598,20 @@
5212
5598
  ],
5213
5599
  declarations: [
5214
5600
  DaffCardComponent,
5601
+ DaffCardIconDirective,
5602
+ DaffCardImageDirective,
5215
5603
  DaffCardTaglineDirective,
5216
5604
  DaffCardTitleDirective,
5217
- DaffCardImageDirective,
5605
+ DaffCardContentDirective,
5218
5606
  DaffCardActionsDirective,
5219
5607
  ],
5220
5608
  exports: [
5221
5609
  DaffCardComponent,
5610
+ DaffCardIconDirective,
5611
+ DaffCardImageDirective,
5222
5612
  DaffCardTaglineDirective,
5223
5613
  DaffCardTitleDirective,
5224
- DaffCardImageDirective,
5614
+ DaffCardContentDirective,
5225
5615
  DaffCardActionsDirective,
5226
5616
  ],
5227
5617
  },] }
@@ -5274,13 +5664,17 @@
5274
5664
  exports.DaffButtonModule = DaffButtonModule;
5275
5665
  exports.DaffButtonSetComponent = DaffButtonSetComponent;
5276
5666
  exports.DaffButtonSetModule = DaffButtonSetModule;
5667
+ exports.DaffCalloutBodyDirective = DaffCalloutBodyDirective;
5277
5668
  exports.DaffCalloutComponent = DaffCalloutComponent;
5669
+ exports.DaffCalloutIconDirective = DaffCalloutIconDirective;
5278
5670
  exports.DaffCalloutModule = DaffCalloutModule;
5279
5671
  exports.DaffCalloutSubtitleDirective = DaffCalloutSubtitleDirective;
5280
5672
  exports.DaffCalloutTaglineDirective = DaffCalloutTaglineDirective;
5281
5673
  exports.DaffCalloutTitleDirective = DaffCalloutTitleDirective;
5282
5674
  exports.DaffCardActionsDirective = DaffCardActionsDirective;
5283
5675
  exports.DaffCardComponent = DaffCardComponent;
5676
+ exports.DaffCardContentDirective = DaffCardContentDirective;
5677
+ exports.DaffCardIconDirective = DaffCardIconDirective;
5284
5678
  exports.DaffCardImageDirective = DaffCardImageDirective;
5285
5679
  exports.DaffCardModule = DaffCardModule;
5286
5680
  exports.DaffCardTaglineDirective = DaffCardTaglineDirective;
@@ -5304,7 +5698,9 @@
5304
5698
  exports.DaffFormFieldControl = DaffFormFieldControl;
5305
5699
  exports.DaffFormFieldModule = DaffFormFieldModule;
5306
5700
  exports.DaffGalleryImageComponent = DaffGalleryImageComponent;
5701
+ exports.DaffHeroBodyDirective = DaffHeroBodyDirective;
5307
5702
  exports.DaffHeroComponent = DaffHeroComponent;
5703
+ exports.DaffHeroIconDirective = DaffHeroIconDirective;
5308
5704
  exports.DaffHeroModule = DaffHeroModule;
5309
5705
  exports.DaffHeroSubtitleDirective = DaffHeroSubtitleDirective;
5310
5706
  exports.DaffHeroTaglineDirective = DaffHeroTaglineDirective;
@@ -5362,6 +5758,9 @@
5362
5758
  exports.DaffSidebarViewportComponent = DaffSidebarViewportComponent;
5363
5759
  exports.DaffSuffixDirective = DaffSuffixDirective;
5364
5760
  exports.DaffThumbnailDirective = DaffThumbnailDirective;
5761
+ exports.daffArticleEncapsulatedMixin = daffArticleEncapsulatedMixin;
5762
+ exports.daffCompactableMixin = daffCompactableMixin;
5763
+ exports.daffManageContainerLayoutMixin = daffManageContainerLayoutMixin;
5365
5764
  exports.daffPrefixableMixin = daffPrefixableMixin;
5366
5765
  exports.daffSuffixableMixin = daffSuffixableMixin;
5367
5766
  exports.daffThumbnailCompatToken = daffThumbnailCompatToken;