@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
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../libs/design/card/examples/src/basic-card/basic-card.component.ts","../../../libs/design/card/examples/src/basic-card/basic-card.module.ts","../../../libs/design/card/examples/src/card-theming/card-theming.component.ts","../../../libs/design/card/examples/src/card-theming/card-theming.module.ts","../../../libs/design/card/examples/src/linkable-card/linkable-card.component.ts","../../../libs/design/card/examples/src/linkable-card/linkable-card.module.ts","../../../libs/design/card/examples/src/raised-card/raised-card.component.ts","../../../libs/design/card/examples/src/raised-card/raised-card.module.ts","../../../libs/design/card/examples/src/public_api.ts"],"names":["Component","args","selector","template","NgModule","declarations","BasicCardComponent","imports","CommonModule","DaffCardModule","DaffImageModule","DaffButtonModule","exports","this","color","colorControl","FormControl","CardThemingComponent","ReactiveFormsModule","LinkableCardComponent","RouterModule","RaisedCardComponent","CARD_EXAMPLES"],"mappings":"wsBAQA,iCANCA,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,aACVC,SAAA,0lBCoBF,iCAdCC,EAAAA,SAAQH,KAAA,CAAC,CACRI,aAAc,CACZC,GAEFC,QAAS,CACPC,EAAAA,aACAC,EAAAA,eACAC,EAAAA,gBACAC,EAAAA,kBAEFC,QAAS,CACPN,aCjBJ,WAWEO,KAAAC,MAAqB,UAErBD,KAAAE,aAA4B,IAAIC,EAAAA,YAAY,yBAb7ChB,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,eACVC,SAAA,ikBACS,mECgBX,iCAdCC,EAAAA,SAAQH,KAAA,CAAC,CACRI,aAAc,CACZY,GAEFV,QAAS,CACPC,EAAAA,aACAU,EAAAA,oBACAT,EAAAA,eACAC,EAAAA,iBAEFE,QAAS,CACPK,aCdJ,iCANCjB,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,gBACVC,SAAA,iWCsBF,iCAfCC,EAAAA,SAAQH,KAAA,CAAC,CACRI,aAAc,CACZc,GAEFZ,QAAS,CACPC,EAAAA,aACAY,EAAAA,aACAX,EAAAA,eACAC,EAAAA,gBACAC,EAAAA,kBAEFC,QAAS,CACPO,aChBJ,iCANCnB,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,cACVC,SAAA,2WCsBF,iCAfCC,EAAAA,SAAQH,KAAA,CAAC,CACRI,aAAc,CACZgB,GAEFd,QAAS,CACPC,EAAAA,aACAY,EAAAA,aACAX,EAAAA,eACAC,EAAAA,gBACAC,EAAAA,kBAEFC,QAAS,CACPS,WCfSC,EAAgB,CAC3BhB,EACAW,EACAE,EACAE","sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-card',\n templateUrl: './basic-card.component.html',\n styleUrls: ['./basic-card.component.scss'],\n})\nexport class BasicCardComponent {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport {\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { BasicCardComponent } from './basic-card.component';\n\n@NgModule({\n declarations: [\n BasicCardComponent,\n ],\n imports: [\n CommonModule,\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n ],\n exports: [\n BasicCardComponent,\n ],\n})\nexport class BasicCardModule { }\n","import { Component } from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\nimport { DaffPalette } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'card-theming',\n templateUrl: './card-theming.component.html',\n styles: [`\n daff-card {\n max-width: 400px;\n }\n `],\n})\nexport class CardThemingComponent {\n color: DaffPalette = 'primary';\n\n colorControl: FormControl = new FormControl('');\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffCardModule,\n DaffImageModule,\n} from '@daffodil/design';\n\nimport { CardThemingComponent } from './card-theming.component';\n\n@NgModule({\n declarations: [\n CardThemingComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffCardModule,\n DaffImageModule,\n ],\n exports: [\n CardThemingComponent,\n ],\n})\nexport class CardThemingModule { }\n","import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'linkable-card',\n templateUrl: './linkable-card.component.html',\n styleUrls: ['./linkable-card.component.scss'],\n})\nexport class LinkableCardComponent {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { RouterModule } from '@angular/router';\n\nimport {\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { LinkableCardComponent } from './linkable-card.component';\n\n@NgModule({\n declarations: [\n LinkableCardComponent,\n ],\n imports: [\n CommonModule,\n RouterModule,\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n ],\n exports: [\n LinkableCardComponent,\n ],\n})\nexport class LinkableCardModule { }\n","import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'raised-card',\n templateUrl: './raised-card.component.html',\n styleUrls: ['./raised-card.component.scss'],\n})\nexport class RaisedCardComponent {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { RouterModule } from '@angular/router';\n\nimport {\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { RaisedCardComponent } from './raised-card.component';\n\n@NgModule({\n declarations: [\n RaisedCardComponent,\n ],\n imports: [\n CommonModule,\n RouterModule,\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n ],\n exports: [\n RaisedCardComponent,\n ],\n})\nexport class RaisedCardModule { }\n","import { BasicCardComponent } from './basic-card/basic-card.component';\nexport { BasicCardModule } from './basic-card/basic-card.module';\nimport { CardThemingComponent } from './card-theming/card-theming.component';\nexport { CardThemingModule } from './card-theming/card-theming.module';\nimport { LinkableCardComponent } from './linkable-card/linkable-card.component';\nexport { LinkableCardModule } from './linkable-card/linkable-card.module';\nimport { RaisedCardComponent } from './raised-card/raised-card.component';\nexport { RaisedCardModule } from './raised-card/raised-card.module';\n\nexport const CARD_EXAMPLES = [\n BasicCardComponent,\n CardThemingComponent,\n LinkableCardComponent,\n RaisedCardComponent,\n];\n"]}
1
+ {"version":3,"sources":["../../../libs/design/card/examples/src/basic-card/basic-card.component.ts","../../../libs/design/card/examples/src/basic-card/basic-card.module.ts","../../../libs/design/card/examples/src/card-orientation/card-orientation.component.ts","../../../libs/design/card/examples/src/card-orientation/card-orientation.module.ts","../../../libs/design/card/examples/src/card-theming/card-theming.component.ts","../../../libs/design/card/examples/src/card-theming/card-theming.module.ts","../../../libs/design/card/examples/src/linkable-card/linkable-card.component.ts","../../../libs/design/card/examples/src/linkable-card/linkable-card.module.ts","../../../libs/design/card/examples/src/raised-card/raised-card.component.ts","../../../libs/design/card/examples/src/raised-card/raised-card.module.ts","../../../libs/design/card/examples/src/stroked-card/stroked-card.component.ts","../../../libs/design/card/examples/src/stroked-card/stroked-card.module.ts","../../../libs/design/card/examples/src/public_api.ts"],"names":["this","faMapMarked","Component","args","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","NgModule","declarations","BasicCardComponent","imports","CommonModule","DaffCardModule","DaffImageModule","DaffButtonModule","FontAwesomeModule","exports","orientationControl","FormControl","options","value","label","CardOrientationComponent","ReactiveFormsModule","colorControl","CardThemingComponent","basicColorControl","raisedColorControl","strokedColorControl","LinkableCardComponent","RouterModule","RaisedCardComponent","StrokedCardComponent","CARD_EXAMPLES"],"mappings":"q5BAMA,WAQEA,KAAAC,YAAcA,EAAAA,iCARfC,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,aACVC,SAAA,83BAEAC,gBAAiBC,EAAAA,wBAAwBC,uDCiB3C,iCAhBCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZC,GAEFC,QAAS,CACPC,EAAAA,aACAC,EAAAA,eACAC,EAAAA,gBACAC,EAAAA,iBAEAC,EAAAA,mBAEFC,QAAS,CACPP,aClBJ,WAQEX,KAAAC,YAAcA,EAAAA,YAEdD,KAAAmB,mBAAkC,IAAIC,EAAAA,YAAY,IAElDpB,KAAAqB,QAAU,CACR,CAAEC,MAAO,GAAIC,MAAO,WACpB,CAAED,MAAO,WAAYC,MAAO,YAC5B,CAAED,MAAO,aAAcC,MAAO,oCAfjCrB,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,mBACVC,SAAA,gjCAEAC,gBAAiBC,EAAAA,wBAAwBC,kECiB3C,iCAhBCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZc,GAEFZ,QAAS,CACPC,EAAAA,aACAY,EAAAA,oBACAX,EAAAA,eACAC,EAAAA,gBACAC,EAAAA,iBACAC,EAAAA,mBAEFC,QAAS,CACPM,aCpBJ,WAYExB,KAAA0B,aAA4B,IAAIN,EAAAA,YAAY,IAE5CpB,KAAAqB,QAAU,CACR,CAAEC,MAAO,GAAIC,MAAO,WACpB,CAAED,MAAO,UAAWC,MAAO,WAC3B,CAAED,MAAO,YAAaC,MAAO,aAC7B,CAAED,MAAO,WAAYC,MAAO,YAC5B,CAAED,MAAO,QAASC,MAAO,SACzB,CAAED,MAAO,iBAAkBC,MAAO,kBAClC,CAAED,MAAO,QAASC,MAAO,SACzB,CAAED,MAAO,QAASC,MAAO,+BAtB5BrB,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,eACVC,SAAA,0VAMAC,gBAAiBC,EAAAA,wBAAwBC,eALhC,mECeX,iCAdCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZiB,GAEFf,QAAS,CACPC,EAAAA,aACAY,EAAAA,oBACAX,EAAAA,eACAC,EAAAA,iBAEFG,QAAS,CACPS,aChBJ,WAQE3B,KAAA4B,kBAAiC,IAAIR,EAAAA,YAAY,IACjDpB,KAAA6B,mBAAkC,IAAIT,EAAAA,YAAY,IAClDpB,KAAA8B,oBAAmC,IAAIV,EAAAA,YAAY,IAEnDpB,KAAAqB,QAAU,CACR,CAAEC,MAAO,GAAIC,MAAO,WACpB,CAAED,MAAO,UAAWC,MAAO,WAC3B,CAAED,MAAO,YAAaC,MAAO,aAC7B,CAAED,MAAO,WAAYC,MAAO,YAC5B,CAAED,MAAO,QAASC,MAAO,SACzB,CAAED,MAAO,iBAAkBC,MAAO,kBAClC,CAAED,MAAO,QAASC,MAAO,SACzB,CAAED,MAAO,QAASC,MAAO,+BApB5BrB,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,gBACVC,SAAA,27FAEAC,gBAAiBC,EAAAA,wBAAwBC,gGCkB3C,iCAhBCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZqB,GAEFnB,QAAS,CACPC,EAAAA,aACAmB,EAAAA,aACAP,EAAAA,oBACAX,EAAAA,eACAC,EAAAA,gBACAC,EAAAA,kBAEFE,QAAS,CACPa,aCpBJ,WAQE/B,KAAA0B,aAA4B,IAAIN,EAAAA,YAAY,IAE5CpB,KAAAqB,QAAU,CACR,CAAEC,MAAO,GAAIC,MAAO,WACpB,CAAED,MAAO,UAAWC,MAAO,WAC3B,CAAED,MAAO,YAAaC,MAAO,aAC7B,CAAED,MAAO,WAAYC,MAAO,YAC5B,CAAED,MAAO,QAASC,MAAO,SACzB,CAAED,MAAO,iBAAkBC,MAAO,kBAClC,CAAED,MAAO,QAASC,MAAO,SACzB,CAAED,MAAO,QAASC,MAAO,+BAlB5BrB,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,cACVC,SAAA,44BAEAC,gBAAiBC,EAAAA,wBAAwBC,8DCiB3C,iCAhBCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZuB,GAEFrB,QAAS,CACPC,EAAAA,aACAY,EAAAA,oBAEAX,EAAAA,eACAC,EAAAA,gBACAC,EAAAA,kBAEFE,QAAS,CACPe,aCnBJ,WAQEjC,KAAA0B,aAA4B,IAAIN,EAAAA,YAAY,IAE5CpB,KAAAqB,QAAU,CACR,CAAEC,MAAO,GAAIC,MAAO,WACpB,CAAED,MAAO,UAAWC,MAAO,WAC3B,CAAED,MAAO,YAAaC,MAAO,aAC7B,CAAED,MAAO,WAAYC,MAAO,YAC5B,CAAED,MAAO,QAASC,MAAO,SACzB,CAAED,MAAO,iBAAkBC,MAAO,kBAClC,CAAED,MAAO,QAASC,MAAO,SACzB,CAAED,MAAO,QAASC,MAAO,+BAlB5BrB,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,eACVC,SAAA,84BAEAC,gBAAiBC,EAAAA,wBAAwBC,iECmB3C,iCAjBCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZwB,GAEFtB,QAAS,CACPC,EAAAA,aACAmB,EAAAA,aACAP,EAAAA,oBAEAX,EAAAA,eACAC,EAAAA,gBACAC,EAAAA,kBAEFE,QAAS,CACPgB,WCdSC,EAAgB,CAC3BxB,EACAgB,EACAI,EACAE,EACAC,EACAV","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { faMapMarked } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-card',\n templateUrl: './basic-card.component.html',\n styleUrls: ['./basic-card.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicCardComponent {\n faMapMarked = faMapMarked;\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport {\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { BasicCardComponent } from './basic-card.component';\n\n@NgModule({\n declarations: [\n BasicCardComponent,\n ],\n imports: [\n CommonModule,\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n\n FontAwesomeModule,\n ],\n exports: [\n BasicCardComponent,\n ],\n})\nexport class BasicCardModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { faMapMarked } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'card-orientation',\n templateUrl: './card-orientation.component.html',\n styleUrls: ['./card-orientation.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardOrientationComponent {\n faMapMarked = faMapMarked;\n\n orientationControl: FormControl = new FormControl('');\n\n options = [\n { value: '', label: 'Default' },\n { value: 'vertical', label: 'Vertical' },\n { value: 'horizontal', label: 'Horizontal' },\n ];\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport {\n DaffButtonModule,\n DaffCardModule,\n DaffImageModule,\n} from '@daffodil/design';\n\nimport { CardOrientationComponent } from './card-orientation.component';\n\n@NgModule({\n declarations: [\n CardOrientationComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n FontAwesomeModule,\n ],\n exports: [\n CardOrientationComponent,\n ],\n})\nexport class CardOrientationModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'card-theming',\n templateUrl: './card-theming.component.html',\n styles: [`\n daff-card {\n max-width: 480px;\n }\n `],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardThemingComponent {\n colorControl: FormControl = new FormControl('');\n\n options = [\n { value: '', label: 'Default' },\n { value: 'primary', label: 'Primary' },\n { value: 'secondary', label: 'Secondary' },\n { value: 'tertiary', label: 'Tertiary' },\n { value: 'theme', label: 'Theme' },\n { value: 'theme-contrast', label: 'Theme Contrast' },\n { value: 'black', label: 'Black' },\n { value: 'white', label: 'White' },\n ];\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffCardModule,\n DaffImageModule,\n} from '@daffodil/design';\n\nimport { CardThemingComponent } from './card-theming.component';\n\n@NgModule({\n declarations: [\n CardThemingComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffCardModule,\n DaffImageModule,\n ],\n exports: [\n CardThemingComponent,\n ],\n})\nexport class CardThemingModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'linkable-card',\n templateUrl: './linkable-card.component.html',\n styleUrls: ['./linkable-card.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LinkableCardComponent {\n basicColorControl: FormControl = new FormControl('');\n raisedColorControl: FormControl = new FormControl('');\n strokedColorControl: FormControl = new FormControl('');\n\n options = [\n { value: '', label: 'Default' },\n { value: 'primary', label: 'Primary' },\n { value: 'secondary', label: 'Secondary' },\n { value: 'tertiary', label: 'Tertiary' },\n { value: 'theme', label: 'Theme' },\n { value: 'theme-contrast', label: 'Theme Contrast' },\n { value: 'black', label: 'Black' },\n { value: 'white', label: 'White' },\n ];\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { RouterModule } from '@angular/router';\n\nimport {\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { LinkableCardComponent } from './linkable-card.component';\n\n@NgModule({\n declarations: [\n LinkableCardComponent,\n ],\n imports: [\n CommonModule,\n RouterModule,\n ReactiveFormsModule,\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n ],\n exports: [\n LinkableCardComponent,\n ],\n})\nexport class LinkableCardModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'raised-card',\n templateUrl: './raised-card.component.html',\n styleUrls: ['./raised-card.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class RaisedCardComponent {\n colorControl: FormControl = new FormControl('');\n\n options = [\n { value: '', label: 'Default' },\n { value: 'primary', label: 'Primary' },\n { value: 'secondary', label: 'Secondary' },\n { value: 'tertiary', label: 'Tertiary' },\n { value: 'theme', label: 'Theme' },\n { value: 'theme-contrast', label: 'Theme Contrast' },\n { value: 'black', label: 'Black' },\n { value: 'white', label: 'White' },\n ];\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { RaisedCardComponent } from './raised-card.component';\n\n@NgModule({\n declarations: [\n RaisedCardComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n ],\n exports: [\n RaisedCardComponent,\n ],\n})\nexport class RaisedCardModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'stroked-card',\n templateUrl: './stroked-card.component.html',\n styleUrls: ['./stroked-card.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class StrokedCardComponent {\n colorControl: FormControl = new FormControl('');\n\n options = [\n { value: '', label: 'Default' },\n { value: 'primary', label: 'Primary' },\n { value: 'secondary', label: 'Secondary' },\n { value: 'tertiary', label: 'Tertiary' },\n { value: 'theme', label: 'Theme' },\n { value: 'theme-contrast', label: 'Theme Contrast' },\n { value: 'black', label: 'Black' },\n { value: 'white', label: 'White' },\n ];\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { RouterModule } from '@angular/router';\n\nimport {\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { StrokedCardComponent } from './stroked-card.component';\n\n@NgModule({\n declarations: [\n StrokedCardComponent,\n ],\n imports: [\n CommonModule,\n RouterModule,\n ReactiveFormsModule,\n\n DaffCardModule,\n DaffImageModule,\n DaffButtonModule,\n ],\n exports: [\n StrokedCardComponent,\n ],\n})\nexport class StrokedCardModule { }\n","import { BasicCardComponent } from './basic-card/basic-card.component';\nexport { BasicCardModule } from './basic-card/basic-card.module';\nimport { CardOrientationComponent } from './card-orientation/card-orientation.component';\nexport { CardOrientationModule } from './card-orientation/card-orientation.module';\nimport { CardThemingComponent } from './card-theming/card-theming.component';\nexport { CardThemingModule } from './card-theming/card-theming.module';\nimport { LinkableCardComponent } from './linkable-card/linkable-card.component';\nexport { LinkableCardModule } from './linkable-card/linkable-card.module';\nimport { RaisedCardComponent } from './raised-card/raised-card.component';\nexport { RaisedCardModule } from './raised-card/raised-card.module';\nimport { StrokedCardComponent } from './stroked-card/stroked-card.component';\nexport { StrokedCardModule } from './stroked-card/stroked-card.module';\n\nexport const CARD_EXAMPLES = [\n BasicCardComponent,\n CardThemingComponent,\n LinkableCardComponent,\n RaisedCardComponent,\n StrokedCardComponent,\n CardOrientationComponent,\n];\n"]}
@@ -23,7 +23,8 @@
23
23
  { type: core.Component, args: [{
24
24
  // eslint-disable-next-line @angular-eslint/component-selector
25
25
  selector: 'basic-checkbox',
26
- template: "<daff-checkbox [formControl]=\"checkboxExample\" value=\"checkboxExample\">Checkbox</daff-checkbox>\n<div>\n {{checkboxExample.value}}\n</div>\n<button daff-button color=\"primary\" (click)=\"setFalse()\">Set to false</button>\n<button daff-button (click)=\"setTrue()\">Set to true</button>"
26
+ template: "<daff-checkbox [formControl]=\"checkboxExample\" value=\"checkboxExample\">Checkbox</daff-checkbox>\n<div>\n {{checkboxExample.value}}\n</div>\n<button daff-button color=\"primary\" (click)=\"setFalse()\">Set to false</button>\n<button daff-button (click)=\"setTrue()\">Set to true</button>",
27
+ changeDetection: core.ChangeDetectionStrategy.OnPush
27
28
  },] }
28
29
  ];
29
30
 
@@ -66,7 +67,8 @@
66
67
  { type: core.Component, args: [{
67
68
  // eslint-disable-next-line @angular-eslint/component-selector
68
69
  selector: 'checkbox-set',
69
- template: "<daff-checkbox-set [formArray]=\"checkboxArray\">\n <daff-checkbox [formControl]=\"checkboxArray.at(0)\" value=\"option1\">Option 1 </daff-checkbox>\n <daff-checkbox [formControl]=\"checkboxArray.at(1)\" value=\"option2\">Option 2 </daff-checkbox>\n <daff-checkbox [formControl]=\"checkboxArray.at(2)\" value=\"option3\">Option 3 </daff-checkbox>\n</daff-checkbox-set>\n\n<div>\n {{checkboxArray.value}}\n</div>\n<button daff-button color=\"secondary\" (click)=\"displayList()\">Get List of Values</button>\n<div>\n List of selected values: {{selectedValues}}\n</div>"
70
+ template: "<daff-checkbox-set [formArray]=\"checkboxArray\">\n <daff-checkbox [formControl]=\"checkboxArray.at(0)\" value=\"option1\">Option 1 </daff-checkbox>\n <daff-checkbox [formControl]=\"checkboxArray.at(1)\" value=\"option2\">Option 2 </daff-checkbox>\n <daff-checkbox [formControl]=\"checkboxArray.at(2)\" value=\"option3\">Option 3 </daff-checkbox>\n</daff-checkbox-set>\n\n<div>\n {{checkboxArray.value}}\n</div>\n<button daff-button color=\"secondary\" (click)=\"displayList()\">Get List of Values</button>\n<div>\n List of selected values: {{selectedValues}}\n</div>",
71
+ changeDetection: core.ChangeDetectionStrategy.OnPush
70
72
  },] }
71
73
  ];
72
74
  CheckboxSetComponent.propDecorators = {
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-checkbox-examples.umd.js","sources":["../../../libs/design/checkbox/examples/src/basic-checkbox/basic-checkbox.component.ts","../../../libs/design/checkbox/examples/src/basic-checkbox/basic-checkbox.module.ts","../../../libs/design/checkbox/examples/src/checkbox-set/checkbox-set.component.ts","../../../libs/design/checkbox/examples/src/checkbox-set/checkbox-set.module.ts","../../../libs/design/checkbox/examples/src/examples.ts","../../../libs/design/checkbox/examples/src/daffodil-design-checkbox-examples.ts"],"sourcesContent":["import {\n Component,\n OnInit,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-checkbox',\n templateUrl: './basic-checkbox.component.html',\n})\nexport class BasicCheckboxComponent implements OnInit {\n checkboxExample = new FormControl();\n\n ngOnInit() {\n this.checkboxExample.setValue(true);\n }\n setFalse() {\n this.checkboxExample.setValue(false);\n }\n setTrue() {\n this.checkboxExample.setValue(true);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffButtonModule,\n DaffCheckboxModule,\n} from '@daffodil/design';\n\nimport { BasicCheckboxComponent } from './basic-checkbox.component';\n\n\n@NgModule({\n declarations: [\n BasicCheckboxComponent,\n ],\n exports: [\n BasicCheckboxComponent,\n ],\n imports: [\n DaffCheckboxModule,\n DaffButtonModule,\n ReactiveFormsModule,\n ],\n providers: [],\n})\nexport class BasicCheckboxModule { }\n","import {\n Component,\n OnInit,\n ViewChild,\n} from '@angular/core';\nimport {\n FormArray,\n FormControl,\n} from '@angular/forms';\n\nimport { DaffCheckboxSetComponent } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'checkbox-set',\n templateUrl: './checkbox-set.component.html',\n})\nexport class CheckboxSetComponent implements OnInit {\n\n @ViewChild(DaffCheckboxSetComponent)\n private checkboxSet: DaffCheckboxSetComponent;\n checkboxArray = new FormArray([new FormControl(), new FormControl(), new FormControl()]);\n selectedValues = [];\n\n ngOnInit() {\n this.checkboxArray.setValue([false, false, false]);\n }\n displayList() {\n this.selectedValues = this.checkboxSet.getValues();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffButtonModule,\n DaffCheckboxModule,\n} from '@daffodil/design';\n\nimport { CheckboxSetComponent } from './checkbox-set.component';\n\n@NgModule({\n\n declarations: [\n CheckboxSetComponent,\n ],\n exports: [\n CheckboxSetComponent,\n ],\n imports: [\n DaffCheckboxModule,\n DaffButtonModule,\n ReactiveFormsModule,\n ],\n providers: [],\n})\nexport class CheckboxSetModule { }\n","import { BasicCheckboxComponent } from './basic-checkbox/basic-checkbox.component';\nimport { BasicCheckboxModule } from './basic-checkbox/basic-checkbox.module';\nimport { CheckboxSetComponent } from './checkbox-set/checkbox-set.component';\nimport { CheckboxSetModule } from './checkbox-set/checkbox-set.module';\n\n\nexport const CHECKBOX_EXAMPLES = [\n CheckboxSetComponent,\n BasicCheckboxComponent,\n];\n\nexport const CHECKBOX_EXAMPLES_MODULES = [\n BasicCheckboxModule,\n CheckboxSetModule,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {BasicCheckboxComponent as ɵb} from './basic-checkbox/basic-checkbox.component';\nexport {BasicCheckboxModule as ɵc} from './basic-checkbox/basic-checkbox.module';\nexport {CheckboxSetComponent as ɵa} from './checkbox-set/checkbox-set.component';\nexport {CheckboxSetModule as ɵd} from './checkbox-set/checkbox-set.module';"],"names":["FormControl","Component","NgModule","DaffCheckboxModule","DaffButtonModule","ReactiveFormsModule","FormArray","ViewChild","DaffCheckboxSetComponent"],"mappings":";;;;;;;QAMA;YAMI,oBAAe,GAAG,IAAIA,iBAAW,EAAE,CAAC;SAWvC;QATG,yCAAQ,GAAR;YACE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;SACrC;QACD,yCAAQ,GAAR;YACE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;SACtC;QACD,wCAAO,GAAP;YACE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;SACrC;;;;gBAhBJC,cAAS,SAAC;;oBAET,QAAQ,EAAE,gBAAgB;oBAC1B,+SAA8C;iBAC/C;;;;QCeD;;;;;gBAdCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,sBAAsB;qBACvB;oBACD,OAAO,EAAE;wBACP,sBAAsB;qBACvB;oBACD,OAAO,EAAE;wBACPC,yBAAkB;wBAClBC,uBAAgB;wBAChBC,yBAAmB;qBACpB;oBACD,SAAS,EAAE,EAAE;iBACd;;;;QCZD;YASI,kBAAa,GAAG,IAAIC,eAAS,CAAC,CAAC,IAAIN,iBAAW,EAAE,EAAE,IAAIA,iBAAW,EAAE,EAAE,IAAIA,iBAAW,EAAE,CAAC,CAAC,CAAC;YACzF,mBAAc,GAAG,EAAE,CAAC;SAQvB;QANG,uCAAQ,GAAR;YACE,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;SACpD;QACD,0CAAW,GAAX;YACE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,CAAC;SACpD;;;;gBAjBJC,cAAS,SAAC;;oBAET,QAAQ,EAAE,cAAc;oBACxB,wkBAA4C;iBAC7C;;;8BAGIM,cAAS,SAACC,+BAAwB;;;;QCMvC;;;;;gBAfCN,aAAQ,SAAC;oBAER,YAAY,EAAE;wBACZ,oBAAoB;qBACrB;oBACD,OAAO,EAAE;wBACP,oBAAoB;qBACrB;oBACD,OAAO,EAAE;wBACPC,yBAAkB;wBAClBC,uBAAgB;wBAChBC,yBAAmB;qBACpB;oBACD,SAAS,EAAE,EAAE;iBACd;;;QClBY,iBAAiB,GAAG;QAC/B,oBAAoB;QACpB,sBAAsB;MACtB;QAEW,yBAAyB,GAAG;QACvC,mBAAmB;QACnB,iBAAiB;;;ICbnB;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"daffodil-design-checkbox-examples.umd.js","sources":["../../../libs/design/checkbox/examples/src/basic-checkbox/basic-checkbox.component.ts","../../../libs/design/checkbox/examples/src/basic-checkbox/basic-checkbox.module.ts","../../../libs/design/checkbox/examples/src/checkbox-set/checkbox-set.component.ts","../../../libs/design/checkbox/examples/src/checkbox-set/checkbox-set.module.ts","../../../libs/design/checkbox/examples/src/examples.ts","../../../libs/design/checkbox/examples/src/daffodil-design-checkbox-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-checkbox',\n templateUrl: './basic-checkbox.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicCheckboxComponent implements OnInit {\n checkboxExample = new FormControl();\n\n ngOnInit() {\n this.checkboxExample.setValue(true);\n }\n setFalse() {\n this.checkboxExample.setValue(false);\n }\n setTrue() {\n this.checkboxExample.setValue(true);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffButtonModule,\n DaffCheckboxModule,\n} from '@daffodil/design';\n\nimport { BasicCheckboxComponent } from './basic-checkbox.component';\n\n\n@NgModule({\n declarations: [\n BasicCheckboxComponent,\n ],\n exports: [\n BasicCheckboxComponent,\n ],\n imports: [\n DaffCheckboxModule,\n DaffButtonModule,\n ReactiveFormsModule,\n ],\n providers: [],\n})\nexport class BasicCheckboxModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n ViewChild,\n} from '@angular/core';\nimport {\n FormArray,\n FormControl,\n} from '@angular/forms';\n\nimport { DaffCheckboxSetComponent } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'checkbox-set',\n templateUrl: './checkbox-set.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CheckboxSetComponent implements OnInit {\n\n @ViewChild(DaffCheckboxSetComponent)\n private checkboxSet: DaffCheckboxSetComponent;\n checkboxArray = new FormArray([new FormControl(), new FormControl(), new FormControl()]);\n selectedValues = [];\n\n ngOnInit() {\n this.checkboxArray.setValue([false, false, false]);\n }\n displayList() {\n this.selectedValues = this.checkboxSet.getValues();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffButtonModule,\n DaffCheckboxModule,\n} from '@daffodil/design';\n\nimport { CheckboxSetComponent } from './checkbox-set.component';\n\n@NgModule({\n\n declarations: [\n CheckboxSetComponent,\n ],\n exports: [\n CheckboxSetComponent,\n ],\n imports: [\n DaffCheckboxModule,\n DaffButtonModule,\n ReactiveFormsModule,\n ],\n providers: [],\n})\nexport class CheckboxSetModule { }\n","import { BasicCheckboxComponent } from './basic-checkbox/basic-checkbox.component';\nimport { BasicCheckboxModule } from './basic-checkbox/basic-checkbox.module';\nimport { CheckboxSetComponent } from './checkbox-set/checkbox-set.component';\nimport { CheckboxSetModule } from './checkbox-set/checkbox-set.module';\n\n\nexport const CHECKBOX_EXAMPLES = [\n CheckboxSetComponent,\n BasicCheckboxComponent,\n];\n\nexport const CHECKBOX_EXAMPLES_MODULES = [\n BasicCheckboxModule,\n CheckboxSetModule,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {BasicCheckboxComponent as ɵb} from './basic-checkbox/basic-checkbox.component';\nexport {BasicCheckboxModule as ɵc} from './basic-checkbox/basic-checkbox.module';\nexport {CheckboxSetComponent as ɵa} from './checkbox-set/checkbox-set.component';\nexport {CheckboxSetModule as ɵd} from './checkbox-set/checkbox-set.module';"],"names":["FormControl","Component","ChangeDetectionStrategy","NgModule","DaffCheckboxModule","DaffButtonModule","ReactiveFormsModule","FormArray","ViewChild","DaffCheckboxSetComponent"],"mappings":";;;;;;;QAOA;YAOI,oBAAe,GAAG,IAAIA,iBAAW,EAAE,CAAC;SAWvC;QATG,yCAAQ,GAAR;YACE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;SACrC;QACD,yCAAQ,GAAR;YACE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;SACtC;QACD,wCAAO,GAAP;YACE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;SACrC;;;;gBAjBJC,cAAS,SAAC;;oBAET,QAAQ,EAAE,gBAAgB;oBAC1B,+SAA8C;oBAC9C,eAAe,EAAEC,4BAAuB,CAAC,MAAM;iBAChD;;;;QCaD;;;;;gBAdCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,sBAAsB;qBACvB;oBACD,OAAO,EAAE;wBACP,sBAAsB;qBACvB;oBACD,OAAO,EAAE;wBACPC,yBAAkB;wBAClBC,uBAAgB;wBAChBC,yBAAmB;qBACpB;oBACD,SAAS,EAAE,EAAE;iBACd;;;;QCXD;YAUI,kBAAa,GAAG,IAAIC,eAAS,CAAC,CAAC,IAAIP,iBAAW,EAAE,EAAE,IAAIA,iBAAW,EAAE,EAAE,IAAIA,iBAAW,EAAE,CAAC,CAAC,CAAC;YACzF,mBAAc,GAAG,EAAE,CAAC;SAQvB;QANG,uCAAQ,GAAR;YACE,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;SACpD;QACD,0CAAW,GAAX;YACE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,CAAC;SACpD;;;;gBAlBJC,cAAS,SAAC;;oBAET,QAAQ,EAAE,cAAc;oBACxB,wkBAA4C;oBAC5C,eAAe,EAAEC,4BAAuB,CAAC,MAAM;iBAChD;;;8BAGIM,cAAS,SAACC,+BAAwB;;;;QCIvC;;;;;gBAfCN,aAAQ,SAAC;oBAER,YAAY,EAAE;wBACZ,oBAAoB;qBACrB;oBACD,OAAO,EAAE;wBACP,oBAAoB;qBACrB;oBACD,OAAO,EAAE;wBACPC,yBAAkB;wBAClBC,uBAAgB;wBAChBC,yBAAmB;qBACpB;oBACD,SAAS,EAAE,EAAE;iBACd;;;QClBY,iBAAiB,GAAG;QAC/B,oBAAoB;QACpB,sBAAsB;MACtB;QAEW,yBAAyB,GAAG;QACvC,mBAAmB;QACnB,iBAAiB;;;ICbnB;;;;;;;;;;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("@angular/forms"),require("@daffodil/design")):"function"==typeof define&&define.amd?define("@daffodil/design/checkbox/examples",["exports","@angular/core","@angular/forms","@daffodil/design"],o):o(((e="undefined"!=typeof globalThis?globalThis:e||self).daffodil=e.daffodil||{},e.daffodil.design=e.daffodil.design||{},e.daffodil.design.checkbox=e.daffodil.design.checkbox||{},e.daffodil.design.checkbox.examples={}),e.ng.core,e.ng.forms,e.daffodil.design)}(this,(function(e,o,t,n){"use strict";var c=function(){function e(){this.checkboxExample=new t.FormControl}return e.prototype.ngOnInit=function(){this.checkboxExample.setValue(!0)},e.prototype.setFalse=function(){this.checkboxExample.setValue(!1)},e.prototype.setTrue=function(){this.checkboxExample.setValue(!0)},e}();c.decorators=[{type:o.Component,args:[{selector:"basic-checkbox",template:'<daff-checkbox [formControl]="checkboxExample" value="checkboxExample">Checkbox</daff-checkbox>\n<div>\n {{checkboxExample.value}}\n</div>\n<button daff-button color="primary" (click)="setFalse()">Set to false</button>\n<button daff-button (click)="setTrue()">Set to true</button>'}]}];var a=function(){};a.decorators=[{type:o.NgModule,args:[{declarations:[c],exports:[c],imports:[n.DaffCheckboxModule,n.DaffButtonModule,t.ReactiveFormsModule],providers:[]}]}];var r=function(){function e(){this.checkboxArray=new t.FormArray([new t.FormControl,new t.FormControl,new t.FormControl]),this.selectedValues=[]}return e.prototype.ngOnInit=function(){this.checkboxArray.setValue([!1,!1,!1])},e.prototype.displayList=function(){this.selectedValues=this.checkboxSet.getValues()},e}();r.decorators=[{type:o.Component,args:[{selector:"checkbox-set",template:'<daff-checkbox-set [formArray]="checkboxArray">\n <daff-checkbox [formControl]="checkboxArray.at(0)" value="option1">Option 1 </daff-checkbox>\n <daff-checkbox [formControl]="checkboxArray.at(1)" value="option2">Option 2 </daff-checkbox>\n <daff-checkbox [formControl]="checkboxArray.at(2)" value="option3">Option 3 </daff-checkbox>\n</daff-checkbox-set>\n\n<div>\n {{checkboxArray.value}}\n</div>\n<button daff-button color="secondary" (click)="displayList()">Get List of Values</button>\n<div>\n List of selected values: {{selectedValues}}\n</div>'}]}],r.propDecorators={checkboxSet:[{type:o.ViewChild,args:[n.DaffCheckboxSetComponent]}]};var f=function(){};f.decorators=[{type:o.NgModule,args:[{declarations:[r],exports:[r],imports:[n.DaffCheckboxModule,n.DaffButtonModule,t.ReactiveFormsModule],providers:[]}]}];var i=[r,c],s=[a,f];e.CHECKBOX_EXAMPLES=i,e.CHECKBOX_EXAMPLES_MODULES=s,e.ɵa=r,e.ɵb=c,e.ɵc=a,e.ɵd=f,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("@angular/forms"),require("@daffodil/design")):"function"==typeof define&&define.amd?define("@daffodil/design/checkbox/examples",["exports","@angular/core","@angular/forms","@daffodil/design"],o):o(((e="undefined"!=typeof globalThis?globalThis:e||self).daffodil=e.daffodil||{},e.daffodil.design=e.daffodil.design||{},e.daffodil.design.checkbox=e.daffodil.design.checkbox||{},e.daffodil.design.checkbox.examples={}),e.ng.core,e.ng.forms,e.daffodil.design)}(this,(function(e,o,t,n){"use strict";var c=function(){function e(){this.checkboxExample=new t.FormControl}return e.prototype.ngOnInit=function(){this.checkboxExample.setValue(!0)},e.prototype.setFalse=function(){this.checkboxExample.setValue(!1)},e.prototype.setTrue=function(){this.checkboxExample.setValue(!0)},e}();c.decorators=[{type:o.Component,args:[{selector:"basic-checkbox",template:'<daff-checkbox [formControl]="checkboxExample" value="checkboxExample">Checkbox</daff-checkbox>\n<div>\n {{checkboxExample.value}}\n</div>\n<button daff-button color="primary" (click)="setFalse()">Set to false</button>\n<button daff-button (click)="setTrue()">Set to true</button>',changeDetection:o.ChangeDetectionStrategy.OnPush}]}];var a=function(){};a.decorators=[{type:o.NgModule,args:[{declarations:[c],exports:[c],imports:[n.DaffCheckboxModule,n.DaffButtonModule,t.ReactiveFormsModule],providers:[]}]}];var r=function(){function e(){this.checkboxArray=new t.FormArray([new t.FormControl,new t.FormControl,new t.FormControl]),this.selectedValues=[]}return e.prototype.ngOnInit=function(){this.checkboxArray.setValue([!1,!1,!1])},e.prototype.displayList=function(){this.selectedValues=this.checkboxSet.getValues()},e}();r.decorators=[{type:o.Component,args:[{selector:"checkbox-set",template:'<daff-checkbox-set [formArray]="checkboxArray">\n <daff-checkbox [formControl]="checkboxArray.at(0)" value="option1">Option 1 </daff-checkbox>\n <daff-checkbox [formControl]="checkboxArray.at(1)" value="option2">Option 2 </daff-checkbox>\n <daff-checkbox [formControl]="checkboxArray.at(2)" value="option3">Option 3 </daff-checkbox>\n</daff-checkbox-set>\n\n<div>\n {{checkboxArray.value}}\n</div>\n<button daff-button color="secondary" (click)="displayList()">Get List of Values</button>\n<div>\n List of selected values: {{selectedValues}}\n</div>',changeDetection:o.ChangeDetectionStrategy.OnPush}]}],r.propDecorators={checkboxSet:[{type:o.ViewChild,args:[n.DaffCheckboxSetComponent]}]};var i=function(){};i.decorators=[{type:o.NgModule,args:[{declarations:[r],exports:[r],imports:[n.DaffCheckboxModule,n.DaffButtonModule,t.ReactiveFormsModule],providers:[]}]}];var f=[r,c],s=[a,i];e.CHECKBOX_EXAMPLES=f,e.CHECKBOX_EXAMPLES_MODULES=s,e.ɵa=r,e.ɵb=c,e.ɵc=a,e.ɵd=i,Object.defineProperty(e,"__esModule",{value:!0})}));
2
2
  //# sourceMappingURL=daffodil-design-checkbox-examples.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../libs/design/checkbox/examples/src/basic-checkbox/basic-checkbox.component.ts","../../../libs/design/checkbox/examples/src/basic-checkbox/basic-checkbox.module.ts","../../../libs/design/checkbox/examples/src/checkbox-set/checkbox-set.component.ts","../../../libs/design/checkbox/examples/src/checkbox-set/checkbox-set.module.ts","../../../libs/design/checkbox/examples/src/examples.ts"],"names":["BasicCheckboxComponent","this","checkboxExample","FormControl","prototype","ngOnInit","setValue","setFalse","setTrue","Component","args","selector","template","NgModule","declarations","exports","imports","DaffCheckboxModule","DaffButtonModule","ReactiveFormsModule","providers","CheckboxSetComponent","checkboxArray","FormArray","selectedValues","displayList","checkboxSet","getValues","ViewChild","DaffCheckboxSetComponent","CHECKBOX_EXAMPLES","CHECKBOX_EXAMPLES_MODULES","BasicCheckboxModule","CheckboxSetModule"],"mappings":"6mBAMA,SAAAA,IAMIC,KAAAC,gBAAkB,IAAIC,EAAAA,mBAEtBH,EAAAI,UAAAC,SAAA,WACEJ,KAAKC,gBAAgBI,UAAS,IAEhCN,EAAAI,UAAAG,SAAA,WACEN,KAAKC,gBAAgBI,UAAS,IAEhCN,EAAAI,UAAAI,QAAA,WACEP,KAAKC,gBAAgBI,UAAS,6BAfnCG,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,iBACVC,SAAA,sSCgBF,iCAdCC,EAAAA,SAAQH,KAAA,CAAC,CACRI,aAAc,CACZd,GAEFe,QAAS,CACPf,GAEFgB,QAAS,CACPC,EAAAA,mBACAC,EAAAA,iBACAC,EAAAA,qBAEFC,UAAW,wBCXb,SAAAC,IASIpB,KAAAqB,cAAgB,IAAIC,EAAAA,UAAU,CAAC,IAAIpB,EAAAA,YAAe,IAAIA,EAAAA,YAAe,IAAIA,EAAAA,cACzEF,KAAAuB,eAAiB,UAEjBH,EAAAjB,UAAAC,SAAA,WACEJ,KAAKqB,cAAchB,SAAS,EAAC,GAAO,GAAO,KAE7Ce,EAAAjB,UAAAqB,YAAA,WACExB,KAAKuB,eAAiBvB,KAAKyB,YAAYC,sCAhB5ClB,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,eACVC,SAAA,slBAIGgB,EAAAA,UAASlB,KAAA,CAACmB,EAAAA,mCCMf,iCAfChB,EAAAA,SAAQH,KAAA,CAAC,CAERI,aAAc,CACZO,GAEFN,QAAS,CACPM,GAEFL,QAAS,CACPC,EAAAA,mBACAC,EAAAA,iBACAC,EAAAA,qBAEFC,UAAW,WCjBAU,EAAoB,CAC/BT,EACArB,GAGW+B,EAA4B,CACvCC,EACAC","sourcesContent":["import {\n Component,\n OnInit,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-checkbox',\n templateUrl: './basic-checkbox.component.html',\n})\nexport class BasicCheckboxComponent implements OnInit {\n checkboxExample = new FormControl();\n\n ngOnInit() {\n this.checkboxExample.setValue(true);\n }\n setFalse() {\n this.checkboxExample.setValue(false);\n }\n setTrue() {\n this.checkboxExample.setValue(true);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffButtonModule,\n DaffCheckboxModule,\n} from '@daffodil/design';\n\nimport { BasicCheckboxComponent } from './basic-checkbox.component';\n\n\n@NgModule({\n declarations: [\n BasicCheckboxComponent,\n ],\n exports: [\n BasicCheckboxComponent,\n ],\n imports: [\n DaffCheckboxModule,\n DaffButtonModule,\n ReactiveFormsModule,\n ],\n providers: [],\n})\nexport class BasicCheckboxModule { }\n","import {\n Component,\n OnInit,\n ViewChild,\n} from '@angular/core';\nimport {\n FormArray,\n FormControl,\n} from '@angular/forms';\n\nimport { DaffCheckboxSetComponent } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'checkbox-set',\n templateUrl: './checkbox-set.component.html',\n})\nexport class CheckboxSetComponent implements OnInit {\n\n @ViewChild(DaffCheckboxSetComponent)\n private checkboxSet: DaffCheckboxSetComponent;\n checkboxArray = new FormArray([new FormControl(), new FormControl(), new FormControl()]);\n selectedValues = [];\n\n ngOnInit() {\n this.checkboxArray.setValue([false, false, false]);\n }\n displayList() {\n this.selectedValues = this.checkboxSet.getValues();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffButtonModule,\n DaffCheckboxModule,\n} from '@daffodil/design';\n\nimport { CheckboxSetComponent } from './checkbox-set.component';\n\n@NgModule({\n\n declarations: [\n CheckboxSetComponent,\n ],\n exports: [\n CheckboxSetComponent,\n ],\n imports: [\n DaffCheckboxModule,\n DaffButtonModule,\n ReactiveFormsModule,\n ],\n providers: [],\n})\nexport class CheckboxSetModule { }\n","import { BasicCheckboxComponent } from './basic-checkbox/basic-checkbox.component';\nimport { BasicCheckboxModule } from './basic-checkbox/basic-checkbox.module';\nimport { CheckboxSetComponent } from './checkbox-set/checkbox-set.component';\nimport { CheckboxSetModule } from './checkbox-set/checkbox-set.module';\n\n\nexport const CHECKBOX_EXAMPLES = [\n CheckboxSetComponent,\n BasicCheckboxComponent,\n];\n\nexport const CHECKBOX_EXAMPLES_MODULES = [\n BasicCheckboxModule,\n CheckboxSetModule,\n];\n"]}
1
+ {"version":3,"sources":["../../../libs/design/checkbox/examples/src/basic-checkbox/basic-checkbox.component.ts","../../../libs/design/checkbox/examples/src/basic-checkbox/basic-checkbox.module.ts","../../../libs/design/checkbox/examples/src/checkbox-set/checkbox-set.component.ts","../../../libs/design/checkbox/examples/src/checkbox-set/checkbox-set.module.ts","../../../libs/design/checkbox/examples/src/examples.ts"],"names":["BasicCheckboxComponent","this","checkboxExample","FormControl","prototype","ngOnInit","setValue","setFalse","setTrue","Component","args","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","NgModule","declarations","exports","imports","DaffCheckboxModule","DaffButtonModule","ReactiveFormsModule","providers","CheckboxSetComponent","checkboxArray","FormArray","selectedValues","displayList","checkboxSet","getValues","ViewChild","DaffCheckboxSetComponent","CHECKBOX_EXAMPLES","CHECKBOX_EXAMPLES_MODULES","BasicCheckboxModule","CheckboxSetModule"],"mappings":"6mBAOA,SAAAA,IAOIC,KAAAC,gBAAkB,IAAIC,EAAAA,mBAEtBH,EAAAI,UAAAC,SAAA,WACEJ,KAAKC,gBAAgBI,UAAS,IAEhCN,EAAAI,UAAAG,SAAA,WACEN,KAAKC,gBAAgBI,UAAS,IAEhCN,EAAAI,UAAAI,QAAA,WACEP,KAAKC,gBAAgBI,UAAS,6BAhBnCG,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,iBACVC,SAAA,4RACAC,gBAAiBC,EAAAA,wBAAwBC,iBCc3C,iCAdCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZjB,GAEFkB,QAAS,CACPlB,GAEFmB,QAAS,CACPC,EAAAA,mBACAC,EAAAA,iBACAC,EAAAA,qBAEFC,UAAW,wBCVb,SAAAC,IAUIvB,KAAAwB,cAAgB,IAAIC,EAAAA,UAAU,CAAC,IAAIvB,EAAAA,YAAe,IAAIA,EAAAA,YAAe,IAAIA,EAAAA,cACzEF,KAAA0B,eAAiB,UAEjBH,EAAApB,UAAAC,SAAA,WACEJ,KAAKwB,cAAcnB,SAAS,EAAC,GAAO,GAAO,KAE7CkB,EAAApB,UAAAwB,YAAA,WACE3B,KAAK0B,eAAiB1B,KAAK4B,YAAYC,sCAjB5CrB,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,eACVC,SAAA,6iBACAC,gBAAiBC,EAAAA,wBAAwBC,gDAItCgB,EAAAA,UAASrB,KAAA,CAACsB,EAAAA,mCCIf,iCAfChB,EAAAA,SAAQN,KAAA,CAAC,CAERO,aAAc,CACZO,GAEFN,QAAS,CACPM,GAEFL,QAAS,CACPC,EAAAA,mBACAC,EAAAA,iBACAC,EAAAA,qBAEFC,UAAW,WCjBAU,EAAoB,CAC/BT,EACAxB,GAGWkC,EAA4B,CACvCC,EACAC","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-checkbox',\n templateUrl: './basic-checkbox.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicCheckboxComponent implements OnInit {\n checkboxExample = new FormControl();\n\n ngOnInit() {\n this.checkboxExample.setValue(true);\n }\n setFalse() {\n this.checkboxExample.setValue(false);\n }\n setTrue() {\n this.checkboxExample.setValue(true);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffButtonModule,\n DaffCheckboxModule,\n} from '@daffodil/design';\n\nimport { BasicCheckboxComponent } from './basic-checkbox.component';\n\n\n@NgModule({\n declarations: [\n BasicCheckboxComponent,\n ],\n exports: [\n BasicCheckboxComponent,\n ],\n imports: [\n DaffCheckboxModule,\n DaffButtonModule,\n ReactiveFormsModule,\n ],\n providers: [],\n})\nexport class BasicCheckboxModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n ViewChild,\n} from '@angular/core';\nimport {\n FormArray,\n FormControl,\n} from '@angular/forms';\n\nimport { DaffCheckboxSetComponent } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'checkbox-set',\n templateUrl: './checkbox-set.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CheckboxSetComponent implements OnInit {\n\n @ViewChild(DaffCheckboxSetComponent)\n private checkboxSet: DaffCheckboxSetComponent;\n checkboxArray = new FormArray([new FormControl(), new FormControl(), new FormControl()]);\n selectedValues = [];\n\n ngOnInit() {\n this.checkboxArray.setValue([false, false, false]);\n }\n displayList() {\n this.selectedValues = this.checkboxSet.getValues();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffButtonModule,\n DaffCheckboxModule,\n} from '@daffodil/design';\n\nimport { CheckboxSetComponent } from './checkbox-set.component';\n\n@NgModule({\n\n declarations: [\n CheckboxSetComponent,\n ],\n exports: [\n CheckboxSetComponent,\n ],\n imports: [\n DaffCheckboxModule,\n DaffButtonModule,\n ReactiveFormsModule,\n ],\n providers: [],\n})\nexport class CheckboxSetModule { }\n","import { BasicCheckboxComponent } from './basic-checkbox/basic-checkbox.component';\nimport { BasicCheckboxModule } from './basic-checkbox/basic-checkbox.module';\nimport { CheckboxSetComponent } from './checkbox-set/checkbox-set.component';\nimport { CheckboxSetModule } from './checkbox-set/checkbox-set.module';\n\n\nexport const CHECKBOX_EXAMPLES = [\n CheckboxSetComponent,\n BasicCheckboxComponent,\n];\n\nexport const CHECKBOX_EXAMPLES_MODULES = [\n BasicCheckboxModule,\n CheckboxSetModule,\n];\n"]}
@@ -0,0 +1,65 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@angular/common'), require('@daffodil/design')) :
3
+ typeof define === 'function' && define.amd ? define('@daffodil/design/container/examples', ['exports', '@angular/core', '@angular/forms', '@angular/common', '@daffodil/design'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.daffodil = global.daffodil || {}, global.daffodil.design = global.daffodil.design || {}, global.daffodil.design.container = global.daffodil.design.container || {}, global.daffodil.design.container.examples = {}), global.ng.core, global.ng.forms, global.ng.common, global.daffodil.design));
5
+ }(this, (function (exports, core, forms, common, design) { 'use strict';
6
+
7
+ var ContainerSizesComponent = /** @class */ (function () {
8
+ function ContainerSizesComponent() {
9
+ this.sizeControl = new forms.FormControl('xs');
10
+ this.options = [
11
+ { value: 'xs', label: 'Extra Small' },
12
+ { value: 'sm', label: 'Small' },
13
+ { value: 'md', label: 'Medium' },
14
+ { value: 'lg', label: 'Large' },
15
+ { value: 'xl', label: 'Extra Large' },
16
+ ];
17
+ }
18
+ return ContainerSizesComponent;
19
+ }());
20
+ ContainerSizesComponent.decorators = [
21
+ { type: core.Component, args: [{
22
+ // eslint-disable-next-line @angular-eslint/component-selector
23
+ selector: 'container-sizes',
24
+ template: "<daff-container [size]=\"sizeControl.value\">\n\tLorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum in egestas ex, sed scelerisque neque. In ut vestibulum dui. Donec aliquet tortor pellentesque ex tincidunt faucibus. Vestibulum scelerisque dolor sit amet enim facilisis mattis. Pellentesque scelerisque vitae sapien sit amet dignissim. Aenean gravida facilisis ligula id vestibulum. Etiam viverra massa et nibh auctor molestie. Vestibulum rutrum pretium ex, vitae tempus mi. Nunc non arcu id ligula feugiat venenatis eu id urna. Vivamus fringilla, sapien ut molestie eleifend, ex arcu fringilla sapien, nec eleifend erat justo scelerisque metus. Integer eleifend, felis eget ultrices iaculis, sapien nibh pharetra enim, non malesuada mauris orci sed diam. Curabitur ultricies, enim in porta blandit, justo urna porta lacus, eu aliquet lectus est nec quam. Morbi condimentum auctor nisl, id convallis purus blandit laoreet. Nunc quis nulla mattis tellus feugiat laoreet. Curabitur in efficitur nisl. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.\n</daff-container>\n\n<select [formControl]=\"sizeControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>",
25
+ changeDetection: core.ChangeDetectionStrategy.OnPush
26
+ },] }
27
+ ];
28
+
29
+ var ContainerSizesModule = /** @class */ (function () {
30
+ function ContainerSizesModule() {
31
+ }
32
+ return ContainerSizesModule;
33
+ }());
34
+ ContainerSizesModule.decorators = [
35
+ { type: core.NgModule, args: [{
36
+ declarations: [
37
+ ContainerSizesComponent,
38
+ ],
39
+ exports: [
40
+ ContainerSizesComponent,
41
+ ],
42
+ imports: [
43
+ common.CommonModule,
44
+ forms.ReactiveFormsModule,
45
+ design.DaffContainerModule,
46
+ ],
47
+ },] }
48
+ ];
49
+
50
+ var CONTAINER_EXAMPLES = [
51
+ ContainerSizesComponent,
52
+ ];
53
+
54
+ /**
55
+ * Generated bundle index. Do not edit.
56
+ */
57
+
58
+ exports.CONTAINER_EXAMPLES = CONTAINER_EXAMPLES;
59
+ exports.ContainerSizesComponent = ContainerSizesComponent;
60
+ exports.ContainerSizesModule = ContainerSizesModule;
61
+
62
+ Object.defineProperty(exports, '__esModule', { value: true });
63
+
64
+ })));
65
+ //# sourceMappingURL=daffodil-design-container-examples.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"daffodil-design-container-examples.umd.js","sources":["../../../libs/design/container/examples/src/container-sizes/container-sizes.component.ts","../../../libs/design/container/examples/src/container-sizes/container-sizes.module.ts","../../../libs/design/container/examples/src/examples.ts","../../../libs/design/container/examples/src/daffodil-design-container-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'container-sizes',\n templateUrl: './container-sizes.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ContainerSizesComponent {\n sizeControl: FormControl = new FormControl('xs');\n\n options = [\n { value: 'xs', label: 'Extra Small' },\n { value: 'sm', label: 'Small' },\n { value: 'md', label: 'Medium' },\n { value: 'lg', label: 'Large' },\n { value: 'xl', label: 'Extra Large' },\n ];\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { DaffContainerModule } from '@daffodil/design';\n\nimport { ContainerSizesComponent } from './container-sizes.component';\n\n\n@NgModule({\n declarations: [\n ContainerSizesComponent,\n ],\n exports: [\n ContainerSizesComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n DaffContainerModule,\n ],\n})\nexport class ContainerSizesModule { }\n","import { ContainerSizesComponent } from './container-sizes/container-sizes.component';\n\nexport const CONTAINER_EXAMPLES = [\n ContainerSizesComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["FormControl","Component","ChangeDetectionStrategy","NgModule","CommonModule","ReactiveFormsModule","DaffContainerModule"],"mappings":";;;;;;;QAMA;YAOE,gBAAW,GAAgB,IAAIA,iBAAW,CAAC,IAAI,CAAC,CAAC;YAEjD,YAAO,GAAG;gBACR,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,aAAa,EAAE;gBACrC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE;gBAC/B,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE;gBAChC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE;gBAC/B,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,aAAa,EAAE;aACtC,CAAC;SACH;;;;gBAhBAC,cAAS,SAAC;;oBAET,QAAQ,EAAE,iBAAiB;oBAC3B,mwCAA+C;oBAC/C,eAAe,EAAEC,4BAAuB,CAAC,MAAM;iBAChD;;;;QCYD;;;;;gBAdCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,uBAAuB;qBACxB;oBACD,OAAO,EAAE;wBACP,uBAAuB;qBACxB;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,yBAAmB;wBAEnBC,0BAAmB;qBACpB;iBACF;;;QCpBY,kBAAkB,GAAG;QAChC,uBAAuB;;;ICHzB;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ !function(e,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports,require("@angular/core"),require("@angular/forms"),require("@angular/common"),require("@daffodil/design")):"function"==typeof define&&define.amd?define("@daffodil/design/container/examples",["exports","@angular/core","@angular/forms","@angular/common","@daffodil/design"],i):i(((e="undefined"!=typeof globalThis?globalThis:e||self).daffodil=e.daffodil||{},e.daffodil.design=e.daffodil.design||{},e.daffodil.design.container=e.daffodil.design.container||{},e.daffodil.design.container.examples={}),e.ng.core,e.ng.forms,e.ng.common,e.daffodil.design)}(this,(function(e,i,n,a,t){"use strict";var o=function(){this.sizeControl=new n.FormControl("xs"),this.options=[{value:"xs",label:"Extra Small"},{value:"sm",label:"Small"},{value:"md",label:"Medium"},{value:"lg",label:"Large"},{value:"xl",label:"Extra Large"}]};o.decorators=[{type:i.Component,args:[{selector:"container-sizes",template:'<daff-container [size]="sizeControl.value">\n\tLorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum in egestas ex, sed scelerisque neque. In ut vestibulum dui. Donec aliquet tortor pellentesque ex tincidunt faucibus. Vestibulum scelerisque dolor sit amet enim facilisis mattis. Pellentesque scelerisque vitae sapien sit amet dignissim. Aenean gravida facilisis ligula id vestibulum. Etiam viverra massa et nibh auctor molestie. Vestibulum rutrum pretium ex, vitae tempus mi. Nunc non arcu id ligula feugiat venenatis eu id urna. Vivamus fringilla, sapien ut molestie eleifend, ex arcu fringilla sapien, nec eleifend erat justo scelerisque metus. Integer eleifend, felis eget ultrices iaculis, sapien nibh pharetra enim, non malesuada mauris orci sed diam. Curabitur ultricies, enim in porta blandit, justo urna porta lacus, eu aliquet lectus est nec quam. Morbi condimentum auctor nisl, id convallis purus blandit laoreet. Nunc quis nulla mattis tellus feugiat laoreet. Curabitur in efficitur nisl. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.\n</daff-container>\n\n<select [formControl]="sizeControl">\n\t<option *ngFor="let option of options" [value]="option.value">{{ option.label }}</option>\n</select>',changeDetection:i.ChangeDetectionStrategy.OnPush}]}];var l=function(){};l.decorators=[{type:i.NgModule,args:[{declarations:[o],exports:[o],imports:[a.CommonModule,n.ReactiveFormsModule,t.DaffContainerModule]}]}];var s=[o];e.CONTAINER_EXAMPLES=s,e.ContainerSizesComponent=o,e.ContainerSizesModule=l,Object.defineProperty(e,"__esModule",{value:!0})}));
2
+ //# sourceMappingURL=daffodil-design-container-examples.umd.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../libs/design/container/examples/src/container-sizes/container-sizes.component.ts","../../../libs/design/container/examples/src/container-sizes/container-sizes.module.ts","../../../libs/design/container/examples/src/examples.ts"],"names":["this","sizeControl","FormControl","options","value","label","Component","args","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","NgModule","declarations","ContainerSizesComponent","exports","imports","CommonModule","ReactiveFormsModule","DaffContainerModule","CONTAINER_EXAMPLES"],"mappings":"iqBAMA,WAOEA,KAAAC,YAA2B,IAAIC,EAAAA,YAAY,MAE3CF,KAAAG,QAAU,CACR,CAAEC,MAAO,KAAMC,MAAO,eACtB,CAAED,MAAO,KAAMC,MAAO,SACtB,CAAED,MAAO,KAAMC,MAAO,UACtB,CAAED,MAAO,KAAMC,MAAO,SACtB,CAAED,MAAO,KAAMC,MAAO,qCAdzBC,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,kBACVC,SAAA,kvCACAC,gBAAiBC,EAAAA,wBAAwBC,iBCa3C,iCAdCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZC,GAEFC,QAAS,CACPD,GAEFE,QAAS,CACPC,EAAAA,aACAC,EAAAA,oBAEAC,EAAAA,6BClBSC,EAAqB,CAChCN","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'container-sizes',\n templateUrl: './container-sizes.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ContainerSizesComponent {\n sizeControl: FormControl = new FormControl('xs');\n\n options = [\n { value: 'xs', label: 'Extra Small' },\n { value: 'sm', label: 'Small' },\n { value: 'md', label: 'Medium' },\n { value: 'lg', label: 'Large' },\n { value: 'xl', label: 'Extra Large' },\n ];\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { DaffContainerModule } from '@daffodil/design';\n\nimport { ContainerSizesComponent } from './container-sizes.component';\n\n\n@NgModule({\n declarations: [\n ContainerSizesComponent,\n ],\n exports: [\n ContainerSizesComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n DaffContainerModule,\n ],\n})\nexport class ContainerSizesModule { }\n","import { ContainerSizesComponent } from './container-sizes/container-sizes.component';\n\nexport const CONTAINER_EXAMPLES = [\n ContainerSizesComponent,\n];\n"]}
@@ -1,11 +1,12 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@angular/common'), require('@daffodil/design')) :
3
- typeof define === 'function' && define.amd ? define('@daffodil/design/hero/examples', ['exports', '@angular/core', '@angular/forms', '@angular/common', '@daffodil/design'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.daffodil = global.daffodil || {}, global.daffodil.design = global.daffodil.design || {}, global.daffodil.design.hero = global.daffodil.design.hero || {}, global.daffodil.design.hero.examples = {}), global.ng.core, global.ng.forms, global.ng.common, global.daffodil.design));
5
- }(this, (function (exports, core, forms, common, design) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@fortawesome/free-solid-svg-icons'), require('@angular/common'), require('@fortawesome/angular-fontawesome'), require('@daffodil/design')) :
3
+ typeof define === 'function' && define.amd ? define('@daffodil/design/hero/examples', ['exports', '@angular/core', '@angular/forms', '@fortawesome/free-solid-svg-icons', '@angular/common', '@fortawesome/angular-fontawesome', '@daffodil/design'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.daffodil = global.daffodil || {}, global.daffodil.design = global.daffodil.design || {}, global.daffodil.design.hero = global.daffodil.design.hero || {}, global.daffodil.design.hero.examples = {}), global.ng.core, global.ng.forms, global.freeSolidSvgIcons, global.ng.common, global.angularFontawesome, global.daffodil.design));
5
+ }(this, (function (exports, core, forms, freeSolidSvgIcons, common, angularFontawesome, design) { 'use strict';
6
6
 
7
7
  var HeroThemingComponent = /** @class */ (function () {
8
8
  function HeroThemingComponent() {
9
+ this.faMobile = freeSolidSvgIcons.faMobile;
9
10
  this.color = 'primary';
10
11
  this.colorControl = new forms.FormControl('');
11
12
  }
@@ -15,7 +16,9 @@
15
16
  { type: core.Component, args: [{
16
17
  // eslint-disable-next-line @angular-eslint/component-selector
17
18
  selector: 'hero-theming',
18
- template: "<daff-hero [color]=\"colorControl.value\">\n\t<div daffHeroTagline>Hero Tagline</div>\n\t<h1 daffHeroTitle>Hero Title</h1>\n\t<h2 daffHeroSubtitle>Hero subtitle</h2>\n\t<div>Additional Content (i.e. buttons, images)</div>\n</daff-hero>\n\n<select [formControl]=\"colorControl\">\n\t<option value=\"\">Default</option>\n\t<option value=\"primary\">Primary</option>\n\t<option value=\"secondary\">Secondary</option>\n\t<option value=\"tertiary\">Tertiary</option>\n\t<option value=\"white\">White</option>\n\t<option value=\"black\">Black</option>\n\t<option value=\"theme\">Theme</option>\n\t<option value=\"theme-contrast\">Theme Contrast</option>\n</select>"
19
+ template: "<daff-hero [color]=\"colorControl.value\">\n\t<div class=\"daff-hero-theming__icon\" daffHeroIcon>\n\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t</div>\n\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t<h1 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h1>\n\t<h2 daffHeroSubtitle>\n\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t</h2>\n\t<div daffHeroBody>\n\t\t<a href=\"https://www.daff.io\" target=\"_blank\" daff-button>Get Started</a>\n\t</div>\n</daff-hero>\n\n<select [formControl]=\"colorControl\">\n\t<option value=\"\">Default</option>\n\t<option value=\"primary\">Primary</option>\n\t<option value=\"secondary\">Secondary</option>\n\t<option value=\"tertiary\">Tertiary</option>\n\t<option value=\"white\">White</option>\n\t<option value=\"black\">Black</option>\n\t<option value=\"theme\">Theme</option>\n\t<option value=\"theme-contrast\">Theme Contrast</option>\n</select>",
20
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
21
+ styles: [".daff-hero-theming__icon{display:flex;background:rgba(var(--daff-theme-rgb),.2);border-radius:50%;color:var(--daff-theme-contrast-rgb);width:48px;height:48px;justify-content:center;align-items:center;padding:12px 0}"]
19
22
  },] }
20
23
  ];
21
24
 
@@ -33,6 +36,8 @@
33
36
  common.CommonModule,
34
37
  forms.ReactiveFormsModule,
35
38
  design.DaffHeroModule,
39
+ design.DaffButtonModule,
40
+ angularFontawesome.FontAwesomeModule,
36
41
  ],
37
42
  exports: [
38
43
  HeroThemingComponent,
@@ -42,6 +47,7 @@
42
47
 
43
48
  var HeroTextAlignmentComponent = /** @class */ (function () {
44
49
  function HeroTextAlignmentComponent() {
50
+ this.faMobile = freeSolidSvgIcons.faMobile;
45
51
  this.textAlignControl = new forms.FormControl('');
46
52
  this.options = [
47
53
  { value: '', label: 'Default' },
@@ -56,7 +62,9 @@
56
62
  { type: core.Component, args: [{
57
63
  // eslint-disable-next-line @angular-eslint/component-selector
58
64
  selector: 'hero-text-alignment',
59
- template: "<daff-hero [textAlignment]=\"textAlignControl.value\">\n\t<daff-container size=\"md\">\n\t\t<div daffHeroTagline>Frontend framework for ecommerce PWAs</div>\n\t\t<h3 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t\t<div daffHeroSubtitle>\n\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t</div>\n\t</daff-container>\n</daff-hero>\n\n<select [formControl]=\"textAlignControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>"
65
+ template: "<daff-hero [textAlignment]=\"textAlignControl.value\">\n\t<daff-container size=\"md\">\n\t\t<div class=\"daff-hero-text-alignment__icon\" daffHeroIcon>\n\t\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t\t</div>\n\t\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t\t<h1 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h1>\n\t\t<h2 daffHeroSubtitle>\n\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t</h2>\n\t\t<div daffHeroBody>\n\t\t\t<a href=\"https://www.daff.io\" target=\"_blank\" daff-button>Get Started</a>\n\t\t</div>\n\t</daff-container>\n</daff-hero>\n\n<select [formControl]=\"textAlignControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>",
66
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
67
+ styles: [".daff-hero-text-alignment__icon{display:flex;background:rgba(var(--daff-theme-rgb),.2);border-radius:50%;color:var(--daff-theme-contrast-rgb);width:48px;height:48px;justify-content:center;align-items:center;padding:12px 0}"]
60
68
  },] }
61
69
  ];
62
70
 
@@ -75,12 +83,15 @@
75
83
  forms.ReactiveFormsModule,
76
84
  design.DaffHeroModule,
77
85
  design.DaffContainerModule,
86
+ design.DaffButtonModule,
87
+ angularFontawesome.FontAwesomeModule,
78
88
  ],
79
89
  },] }
80
90
  ];
81
91
 
82
92
  var HeroWithGridComponent = /** @class */ (function () {
83
93
  function HeroWithGridComponent() {
94
+ this.faMobile = freeSolidSvgIcons.faMobile;
84
95
  }
85
96
  return HeroWithGridComponent;
86
97
  }());
@@ -88,8 +99,9 @@
88
99
  { type: core.Component, args: [{
89
100
  // eslint-disable-next-line @angular-eslint/component-selector
90
101
  selector: 'hero-with-grid',
91
- template: "<daff-hero color=\"theme\">\n\t<daff-container class=\"daff-hero-with-grid__grid\">\n\t\t<div class=\"daff-hero-with-grid__image\">\n\t\t\t<img src=\"/assets/design/callout/pwa-illustration.svg\" alt=\"PWA Illustration\">\n\t\t</div>\n\t\t<div class=\"daff-hero-with-grid__content-wrapper\">\n\t\t\t<div daffHeroTagline>Frontend framework for ecommerce PWAs</div>\n\t\t\t<h3 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t\t\t<div daffHeroSubtitle>\n\t\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t\t</div>\n\t\t</div>\n\t</daff-container>\n</daff-hero>",
92
- styles: [".daff-hero-with-grid__grid{display:grid;grid-template:\"image\" \"content\"/1fr;grid-gap:24px}@media (min-width:768px){.daff-hero-with-grid__grid{grid-template:\"image content\"/1fr 1fr;grid-gap:48px;align-items:center}}.daff-hero-with-grid__image{grid-area:image}.daff-hero-with-grid__content-wrapper{grid-area:content}"]
102
+ template: "<daff-hero color=\"theme\">\n\t<daff-container class=\"daff-hero-with-grid__grid\">\n\t\t<div class=\"daff-hero-with-grid__image\">\n\t\t\t<img src=\"/assets/design/callout/pwa-illustration.svg\" alt=\"PWA Illustration\">\n\t\t</div>\n\t\t<div class=\"daff-hero-with-grid__content-wrapper\">\n\t\t\t<div class=\"daff-hero-with-grid__icon\" daffHeroIcon>\n\t\t\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t\t\t</div>\n\t\t\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t\t\t<h3 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t\t\t<div daffHeroSubtitle>\n\t\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t\t</div>\n\t\t\t<div daffHeroBody>\n\t\t\t\t<a href=\"https://www.daff.io\" target=\"_blank\" daff-button>Get Started</a>\n\t\t\t</div>\n\t\t</div>\n\t</daff-container>\n</daff-hero>",
103
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
104
+ styles: [".daff-hero-with-grid__grid{display:grid;grid-template:\"image\" \"content\"/1fr;grid-gap:24px}@media (min-width:768px){.daff-hero-with-grid__grid{grid-template:\"image content\"/1fr 1fr;grid-gap:48px;align-items:center}}.daff-hero-with-grid__image{grid-area:image}.daff-hero-with-grid__content-wrapper{grid-area:content}.daff-hero-with-grid__icon{display:flex;background:rgba(var(--daff-theme-rgb),.2);border-radius:50%;color:var(--daff-theme-contrast-rgb);width:48px;height:48px;justify-content:center;align-items:center;padding:12px 0}"]
93
105
  },] }
94
106
  ];
95
107
 
@@ -109,6 +121,46 @@
109
121
  design.DaffHeroModule,
110
122
  design.DaffContainerModule,
111
123
  design.DaffButtonModule,
124
+ angularFontawesome.FontAwesomeModule,
125
+ ],
126
+ },] }
127
+ ];
128
+
129
+ var CompactHeroComponent = /** @class */ (function () {
130
+ function CompactHeroComponent() {
131
+ this.faMobile = freeSolidSvgIcons.faMobile;
132
+ }
133
+ return CompactHeroComponent;
134
+ }());
135
+ CompactHeroComponent.decorators = [
136
+ { type: core.Component, args: [{
137
+ // eslint-disable-next-line @angular-eslint/component-selector
138
+ selector: 'compact-hero',
139
+ template: "<daff-hero [compact]=\"true\">\n\t<div class=\"daff-compact-hero__icon\" daffHeroIcon>\n\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t</div>\n\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t<h1 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h1>\n\t<h2 daffHeroSubtitle>\n\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t</h2>\n\t<div daffHeroBody>\n\t\t<a href=\"https://www.daff.io\" target=\"_blank\" daff-button>Get Started</a>\n\t</div>\n</daff-hero>",
140
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
141
+ styles: [".daff-compact-hero__icon{display:flex;background:rgba(var(--daff-theme-rgb),.2);border-radius:50%;color:var(--daff-theme-contrast-rgb);width:48px;height:48px;justify-content:center;align-items:center;padding:12px 0}"]
142
+ },] }
143
+ ];
144
+
145
+ var CompactHeroModule = /** @class */ (function () {
146
+ function CompactHeroModule() {
147
+ }
148
+ return CompactHeroModule;
149
+ }());
150
+ CompactHeroModule.decorators = [
151
+ { type: core.NgModule, args: [{
152
+ declarations: [
153
+ CompactHeroComponent,
154
+ ],
155
+ imports: [
156
+ common.CommonModule,
157
+ forms.ReactiveFormsModule,
158
+ design.DaffHeroModule,
159
+ design.DaffButtonModule,
160
+ angularFontawesome.FontAwesomeModule,
161
+ ],
162
+ exports: [
163
+ CompactHeroComponent,
112
164
  ],
113
165
  },] }
114
166
  ];
@@ -117,12 +169,15 @@
117
169
  HeroThemingComponent,
118
170
  HeroTextAlignmentComponent,
119
171
  HeroWithGridComponent,
172
+ CompactHeroComponent,
120
173
  ];
121
174
 
122
175
  /**
123
176
  * Generated bundle index. Do not edit.
124
177
  */
125
178
 
179
+ exports.CompactHeroComponent = CompactHeroComponent;
180
+ exports.CompactHeroModule = CompactHeroModule;
126
181
  exports.HERO_EXAMPLES = HERO_EXAMPLES;
127
182
  exports.HeroTextAlignmentComponent = HeroTextAlignmentComponent;
128
183
  exports.HeroTextAlignmentModule = HeroTextAlignmentModule;
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design-hero-examples.umd.js","sources":["../../../libs/design/hero/examples/src/hero-theming/hero-theming.component.ts","../../../libs/design/hero/examples/src/hero-theming/hero-theming.module.ts","../../../libs/design/hero/examples/src/hero-text-alignment/hero-text-alignment.component.ts","../../../libs/design/hero/examples/src/hero-text-alignment/hero-text-alignment.module.ts","../../../libs/design/hero/examples/src/hero-with-grid/hero-with-grid.component.ts","../../../libs/design/hero/examples/src/hero-with-grid/hero-with-grid.module.ts","../../../libs/design/hero/examples/src/examples.ts","../../../libs/design/hero/examples/src/daffodil-design-hero-examples.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\nimport { DaffPalette } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-theming',\n templateUrl: './hero-theming.component.html',\n})\nexport class HeroThemingComponent {\n color: DaffPalette = 'primary';\n\n colorControl: FormControl = new FormControl('');\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { DaffHeroModule } from '@daffodil/design';\n\nimport { HeroThemingComponent } from './hero-theming.component';\n\n\n@NgModule({\n declarations: [\n HeroThemingComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n ],\n exports: [\n HeroThemingComponent,\n ],\n})\nexport class HeroThemingModule { }\n","import { Component } from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-text-alignment',\n templateUrl: './hero-text-alignment.component.html',\n})\nexport class HeroTextAlignmentComponent {\n textAlignControl: FormControl = new FormControl('');\n\n options = [\n { value: '', label: 'Default' },\n { value: 'left', label: 'Left' },\n { value: 'center', label: 'Center' },\n { value: 'right', label: 'Right' },\n ];\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffHeroModule,\n DaffContainerModule,\n} from '@daffodil/design';\n\nimport { HeroTextAlignmentComponent } from './hero-text-alignment.component';\n\n@NgModule({\n declarations: [\n HeroTextAlignmentComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffContainerModule,\n ],\n})\nexport class HeroTextAlignmentModule { }\n","import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-with-grid',\n templateUrl: './hero-with-grid.component.html',\n styleUrls: ['./hero-with-grid.component.scss'],\n})\nexport class HeroWithGridComponent {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffHeroModule,\n DaffContainerModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { HeroWithGridComponent } from './hero-with-grid.component';\n\n@NgModule({\n declarations: [\n HeroWithGridComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffContainerModule,\n DaffButtonModule,\n ],\n})\nexport class HeroWithGridModule { }\n","import { HeroTextAlignmentComponent } from './hero-text-alignment/hero-text-alignment.component';\nimport { HeroThemingComponent } from './hero-theming/hero-theming.component';\nimport { HeroWithGridComponent } from './hero-with-grid/hero-with-grid.component';\n\nexport const HERO_EXAMPLES = [\n HeroThemingComponent,\n HeroTextAlignmentComponent,\n HeroWithGridComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["FormControl","Component","NgModule","CommonModule","ReactiveFormsModule","DaffHeroModule","DaffContainerModule","DaffButtonModule"],"mappings":";;;;;;;QAKA;YAME,UAAK,GAAgB,SAAS,CAAC;YAE/B,iBAAY,GAAgB,IAAIA,iBAAW,CAAC,EAAE,CAAC,CAAC;SACjD;;;;gBATAC,cAAS,SAAC;;oBAET,QAAQ,EAAE,cAAc;oBACxB,8pBAA4C;iBAC7C;;;;QCaD;;;;;gBAbCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,oBAAoB;qBACrB;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,yBAAmB;wBACnBC,qBAAc;qBACf;oBACD,OAAO,EAAE;wBACP,oBAAoB;qBACrB;iBACF;;;;QClBD;YAME,qBAAgB,GAAgB,IAAIL,iBAAW,CAAC,EAAE,CAAC,CAAC;YAEpD,YAAO,GAAG;gBACR,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE;gBAC/B,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;gBAChC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;gBACpC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;aACnC,CAAC;SACH;;;;gBAdAC,cAAS,SAAC;;oBAET,QAAQ,EAAE,qBAAqB;oBAC/B,gsBAAmD;iBACpD;;;;QCeD;;;;;gBAXCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,0BAA0B;qBAC3B;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,yBAAmB;wBACnBC,qBAAc;wBACdC,0BAAmB;qBACpB;iBACF;;;;QCbD;;;;;gBANCL,cAAS,SAAC;;oBAET,QAAQ,EAAE,gBAAgB;oBAC1B,0wBAA8C;;iBAE/C;;;;QCiBD;;;;;gBAZCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,qBAAqB;qBACtB;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,yBAAmB;wBACnBC,qBAAc;wBACdC,0BAAmB;wBACnBC,uBAAgB;qBACjB;iBACF;;;QCnBY,aAAa,GAAG;QAC3B,oBAAoB;QACpB,0BAA0B;QAC1B,qBAAqB;;;ICPvB;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"daffodil-design-hero-examples.umd.js","sources":["../../../libs/design/hero/examples/src/hero-theming/hero-theming.component.ts","../../../libs/design/hero/examples/src/hero-theming/hero-theming.module.ts","../../../libs/design/hero/examples/src/hero-text-alignment/hero-text-alignment.component.ts","../../../libs/design/hero/examples/src/hero-text-alignment/hero-text-alignment.module.ts","../../../libs/design/hero/examples/src/hero-with-grid/hero-with-grid.component.ts","../../../libs/design/hero/examples/src/hero-with-grid/hero-with-grid.module.ts","../../../libs/design/hero/examples/src/compact-hero/compact-hero.component.ts","../../../libs/design/hero/examples/src/compact-hero/compact-hero.module.ts","../../../libs/design/hero/examples/src/examples.ts","../../../libs/design/hero/examples/src/daffodil-design-hero-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffPalette } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-theming',\n templateUrl: './hero-theming.component.html',\n styleUrls: ['./hero-theming.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HeroThemingComponent {\n faMobile = faMobile;\n color: DaffPalette = 'primary';\n\n colorControl: FormControl = new FormControl('');\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport {\n DaffHeroModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { HeroThemingComponent } from './hero-theming.component';\n\n@NgModule({\n declarations: [\n HeroThemingComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffButtonModule,\n\n FontAwesomeModule,\n ],\n exports: [\n HeroThemingComponent,\n ],\n})\nexport class HeroThemingModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-text-alignment',\n templateUrl: './hero-text-alignment.component.html',\n styleUrls: ['./hero-text-alignment.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HeroTextAlignmentComponent {\n faMobile = faMobile;\n textAlignControl: FormControl = new FormControl('');\n\n options = [\n { value: '', label: 'Default' },\n { value: 'left', label: 'Left' },\n { value: 'center', label: 'Center' },\n { value: 'right', label: 'Right' },\n ];\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport {\n DaffHeroModule,\n DaffContainerModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { HeroTextAlignmentComponent } from './hero-text-alignment.component';\n\n@NgModule({\n declarations: [\n HeroTextAlignmentComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffContainerModule,\n DaffButtonModule,\n\n FontAwesomeModule,\n ],\n})\nexport class HeroTextAlignmentModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-with-grid',\n templateUrl: './hero-with-grid.component.html',\n styleUrls: ['./hero-with-grid.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HeroWithGridComponent {\n faMobile = faMobile;\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport {\n DaffHeroModule,\n DaffContainerModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { HeroWithGridComponent } from './hero-with-grid.component';\n\n@NgModule({\n declarations: [\n HeroWithGridComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffContainerModule,\n DaffButtonModule,\n\n FontAwesomeModule,\n ],\n})\nexport class HeroWithGridModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffPalette } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'compact-hero',\n templateUrl: './compact-hero.component.html',\n styleUrls: ['./compact-hero.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CompactHeroComponent {\n faMobile = faMobile;\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport {\n DaffHeroModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { CompactHeroComponent } from './compact-hero.component';\n\n@NgModule({\n declarations: [\n CompactHeroComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffButtonModule,\n\n FontAwesomeModule,\n ],\n exports: [\n CompactHeroComponent,\n ],\n})\nexport class CompactHeroModule { }\n","import { CompactHeroComponent } from './compact-hero/compact-hero.component';\nimport { HeroTextAlignmentComponent } from './hero-text-alignment/hero-text-alignment.component';\nimport { HeroThemingComponent } from './hero-theming/hero-theming.component';\nimport { HeroWithGridComponent } from './hero-with-grid/hero-with-grid.component';\n\nexport const HERO_EXAMPLES = [\n HeroThemingComponent,\n HeroTextAlignmentComponent,\n HeroWithGridComponent,\n CompactHeroComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["faMobile","FormControl","Component","ChangeDetectionStrategy","NgModule","CommonModule","ReactiveFormsModule","DaffHeroModule","DaffButtonModule","FontAwesomeModule","DaffContainerModule"],"mappings":";;;;;;;QASA;YAQE,aAAQ,GAAGA,0BAAQ,CAAC;YACpB,UAAK,GAAgB,SAAS,CAAC;YAE/B,iBAAY,GAAgB,IAAIC,iBAAW,CAAC,EAAE,CAAC,CAAC;SACjD;;;;gBAZAC,cAAS,SAAC;;oBAET,QAAQ,EAAE,cAAc;oBACxB,2lCAA4C;oBAE5C,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;iBAChD;;;;QCaD;;;;;gBAhBCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,oBAAoB;qBACrB;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,yBAAmB;wBACnBC,qBAAc;wBACdC,uBAAgB;wBAEhBC,oCAAiB;qBAClB;oBACD,OAAO,EAAE;wBACP,oBAAoB;qBACrB;iBACF;;;;QCpBD;YAQE,aAAQ,GAAGT,0BAAQ,CAAC;YACpB,qBAAgB,GAAgB,IAAIC,iBAAW,CAAC,EAAE,CAAC,CAAC;YAEpD,YAAO,GAAG;gBACR,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE;gBAC/B,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;gBAChC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;gBACpC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;aACnC,CAAC;SACH;;;;gBAjBAC,cAAS,SAAC;;oBAET,QAAQ,EAAE,qBAAqB;oBAC/B,+6BAAmD;oBAEnD,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;iBAChD;;;;QCcD;;;;;gBAdCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,0BAA0B;qBAC3B;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,yBAAmB;wBACnBC,qBAAc;wBACdG,0BAAmB;wBACnBF,uBAAgB;wBAEhBC,oCAAiB;qBAClB;iBACF;;;;QCpBD;YAQE,aAAQ,GAAGT,0BAAQ,CAAC;SACrB;;;;gBATAE,cAAS,SAAC;;oBAET,QAAQ,EAAE,gBAAgB;oBAC1B,kgCAA8C;oBAE9C,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;iBAChD;;;;QCeD;;;;;gBAdCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,qBAAqB;qBACtB;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,yBAAmB;wBACnBC,qBAAc;wBACdG,0BAAmB;wBACnBF,uBAAgB;wBAEhBC,oCAAiB;qBAClB;iBACF;;;;QCjBD;YAQE,aAAQ,GAAGT,0BAAQ,CAAC;SACrB;;;;gBATAE,cAAS,SAAC;;oBAET,QAAQ,EAAE,cAAc;oBACxB,wqBAA4C;oBAE5C,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;iBAChD;;;;QCaD;;;;;gBAhBCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,oBAAoB;qBACrB;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,yBAAmB;wBACnBC,qBAAc;wBACdC,uBAAgB;wBAEhBC,oCAAiB;qBAClB;oBACD,OAAO,EAAE;wBACP,oBAAoB;qBACrB;iBACF;;;QCtBY,aAAa,GAAG;QAC3B,oBAAoB;QACpB,0BAA0B;QAC1B,qBAAqB;QACrB,oBAAoB;;;ICTtB;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("@angular/forms"),require("@angular/common"),require("@daffodil/design")):"function"==typeof define&&define.amd?define("@daffodil/design/hero/examples",["exports","@angular/core","@angular/forms","@angular/common","@daffodil/design"],o):o(((e="undefined"!=typeof globalThis?globalThis:e||self).daffodil=e.daffodil||{},e.daffodil.design=e.daffodil.design||{},e.daffodil.design.hero=e.daffodil.design.hero||{},e.daffodil.design.hero.examples={}),e.ng.core,e.ng.forms,e.ng.common,e.daffodil.design)}(this,(function(e,o,t,n,i){"use strict";var r=function(){this.color="primary",this.colorControl=new t.FormControl("")};r.decorators=[{type:o.Component,args:[{selector:"hero-theming",template:'<daff-hero [color]="colorControl.value">\n\t<div daffHeroTagline>Hero Tagline</div>\n\t<h1 daffHeroTitle>Hero Title</h1>\n\t<h2 daffHeroSubtitle>Hero subtitle</h2>\n\t<div>Additional Content (i.e. buttons, images)</div>\n</daff-hero>\n\n<select [formControl]="colorControl">\n\t<option value="">Default</option>\n\t<option value="primary">Primary</option>\n\t<option value="secondary">Secondary</option>\n\t<option value="tertiary">Tertiary</option>\n\t<option value="white">White</option>\n\t<option value="black">Black</option>\n\t<option value="theme">Theme</option>\n\t<option value="theme-contrast">Theme Contrast</option>\n</select>'}]}];var a=function(){};a.decorators=[{type:o.NgModule,args:[{declarations:[r],imports:[n.CommonModule,t.ReactiveFormsModule,i.DaffHeroModule],exports:[r]}]}];var l=function(){this.textAlignControl=new t.FormControl(""),this.options=[{value:"",label:"Default"},{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}]};l.decorators=[{type:o.Component,args:[{selector:"hero-text-alignment",template:'<daff-hero [textAlignment]="textAlignControl.value">\n\t<daff-container size="md">\n\t\t<div daffHeroTagline>Frontend framework for ecommerce PWAs</div>\n\t\t<h3 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t\t<div daffHeroSubtitle>\n\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t</div>\n\t</daff-container>\n</daff-hero>\n\n<select [formControl]="textAlignControl">\n\t<option *ngFor="let option of options" [value]="option.value">{{ option.label }}</option>\n</select>'}]}];var d=function(){};d.decorators=[{type:o.NgModule,args:[{declarations:[l],imports:[n.CommonModule,t.ReactiveFormsModule,i.DaffHeroModule,i.DaffContainerModule]}]}];var f=function(){};f.decorators=[{type:o.Component,args:[{selector:"hero-with-grid",template:'<daff-hero color="theme">\n\t<daff-container class="daff-hero-with-grid__grid">\n\t\t<div class="daff-hero-with-grid__image">\n\t\t\t<img src="/assets/design/callout/pwa-illustration.svg" alt="PWA Illustration">\n\t\t</div>\n\t\t<div class="daff-hero-with-grid__content-wrapper">\n\t\t\t<div daffHeroTagline>Frontend framework for ecommerce PWAs</div>\n\t\t\t<h3 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t\t\t<div daffHeroSubtitle>\n\t\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t\t</div>\n\t\t</div>\n\t</daff-container>\n</daff-hero>',styles:['.daff-hero-with-grid__grid{display:grid;grid-template:"image" "content"/1fr;grid-gap:24px}@media (min-width:768px){.daff-hero-with-grid__grid{grid-template:"image content"/1fr 1fr;grid-gap:48px;align-items:center}}.daff-hero-with-grid__image{grid-area:image}.daff-hero-with-grid__content-wrapper{grid-area:content}']}]}];var s=function(){};s.decorators=[{type:o.NgModule,args:[{declarations:[f],imports:[n.CommonModule,t.ReactiveFormsModule,i.DaffHeroModule,i.DaffContainerModule,i.DaffButtonModule]}]}];var m=[r,l,f];e.HERO_EXAMPLES=m,e.HeroTextAlignmentComponent=l,e.HeroTextAlignmentModule=d,e.HeroThemingComponent=r,e.HeroThemingModule=a,e.HeroWithGridComponent=f,e.HeroWithGridModule=s,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@fortawesome/free-solid-svg-icons"),require("@angular/common"),require("@fortawesome/angular-fontawesome"),require("@daffodil/design")):"function"==typeof define&&define.amd?define("@daffodil/design/hero/examples",["exports","@angular/core","@angular/forms","@fortawesome/free-solid-svg-icons","@angular/common","@fortawesome/angular-fontawesome","@daffodil/design"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).daffodil=e.daffodil||{},e.daffodil.design=e.daffodil.design||{},e.daffodil.design.hero=e.daffodil.design.hero||{},e.daffodil.design.hero.examples={}),e.ng.core,e.ng.forms,e.freeSolidSvgIcons,e.ng.common,e.angularFontawesome,e.daffodil.design)}(this,(function(e,t,o,n,a,r,i){"use strict";var f=function(){this.faMobile=n.faMobile,this.color="primary",this.colorControl=new o.FormControl("")};f.decorators=[{type:t.Component,args:[{selector:"hero-theming",template:'<daff-hero [color]="colorControl.value">\n\t<div class="daff-hero-theming__icon" daffHeroIcon>\n\t\t<fa-icon [icon]="faMobile"></fa-icon>\n\t</div>\n\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t<h1 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h1>\n\t<h2 daffHeroSubtitle>\n\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t</h2>\n\t<div daffHeroBody>\n\t\t<a href="https://www.daff.io" target="_blank" daff-button>Get Started</a>\n\t</div>\n</daff-hero>\n\n<select [formControl]="colorControl">\n\t<option value="">Default</option>\n\t<option value="primary">Primary</option>\n\t<option value="secondary">Secondary</option>\n\t<option value="tertiary">Tertiary</option>\n\t<option value="white">White</option>\n\t<option value="black">Black</option>\n\t<option value="theme">Theme</option>\n\t<option value="theme-contrast">Theme Contrast</option>\n</select>',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-hero-theming__icon{display:flex;background:rgba(var(--daff-theme-rgb),.2);border-radius:50%;color:var(--daff-theme-contrast-rgb);width:48px;height:48px;justify-content:center;align-items:center;padding:12px 0}"]}]}];var d=function(){};d.decorators=[{type:t.NgModule,args:[{declarations:[f],imports:[a.CommonModule,o.ReactiveFormsModule,i.DaffHeroModule,i.DaffButtonModule,r.FontAwesomeModule],exports:[f]}]}];var l=function(){this.faMobile=n.faMobile,this.textAlignControl=new o.FormControl(""),this.options=[{value:"",label:"Default"},{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}]};l.decorators=[{type:t.Component,args:[{selector:"hero-text-alignment",template:'<daff-hero [textAlignment]="textAlignControl.value">\n\t<daff-container size="md">\n\t\t<div class="daff-hero-text-alignment__icon" daffHeroIcon>\n\t\t\t<fa-icon [icon]="faMobile"></fa-icon>\n\t\t</div>\n\t\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t\t<h1 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h1>\n\t\t<h2 daffHeroSubtitle>\n\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t</h2>\n\t\t<div daffHeroBody>\n\t\t\t<a href="https://www.daff.io" target="_blank" daff-button>Get Started</a>\n\t\t</div>\n\t</daff-container>\n</daff-hero>\n\n<select [formControl]="textAlignControl">\n\t<option *ngFor="let option of options" [value]="option.value">{{ option.label }}</option>\n</select>',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-hero-text-alignment__icon{display:flex;background:rgba(var(--daff-theme-rgb),.2);border-radius:50%;color:var(--daff-theme-contrast-rgb);width:48px;height:48px;justify-content:center;align-items:center;padding:12px 0}"]}]}];var s=function(){};s.decorators=[{type:t.NgModule,args:[{declarations:[l],imports:[a.CommonModule,o.ReactiveFormsModule,i.DaffHeroModule,i.DaffContainerModule,i.DaffButtonModule,r.FontAwesomeModule]}]}];var c=function(){this.faMobile=n.faMobile};c.decorators=[{type:t.Component,args:[{selector:"hero-with-grid",template:'<daff-hero color="theme">\n\t<daff-container class="daff-hero-with-grid__grid">\n\t\t<div class="daff-hero-with-grid__image">\n\t\t\t<img src="/assets/design/callout/pwa-illustration.svg" alt="PWA Illustration">\n\t\t</div>\n\t\t<div class="daff-hero-with-grid__content-wrapper">\n\t\t\t<div class="daff-hero-with-grid__icon" daffHeroIcon>\n\t\t\t\t<fa-icon [icon]="faMobile"></fa-icon>\n\t\t\t</div>\n\t\t\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t\t\t<h3 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t\t\t<div daffHeroSubtitle>\n\t\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t\t</div>\n\t\t\t<div daffHeroBody>\n\t\t\t\t<a href="https://www.daff.io" target="_blank" daff-button>Get Started</a>\n\t\t\t</div>\n\t\t</div>\n\t</daff-container>\n</daff-hero>',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:['.daff-hero-with-grid__grid{display:grid;grid-template:"image" "content"/1fr;grid-gap:24px}@media (min-width:768px){.daff-hero-with-grid__grid{grid-template:"image content"/1fr 1fr;grid-gap:48px;align-items:center}}.daff-hero-with-grid__image{grid-area:image}.daff-hero-with-grid__content-wrapper{grid-area:content}.daff-hero-with-grid__icon{display:flex;background:rgba(var(--daff-theme-rgb),.2);border-radius:50%;color:var(--daff-theme-contrast-rgb);width:48px;height:48px;justify-content:center;align-items:center;padding:12px 0}']}]}];var m=function(){};m.decorators=[{type:t.NgModule,args:[{declarations:[c],imports:[a.CommonModule,o.ReactiveFormsModule,i.DaffHeroModule,i.DaffContainerModule,i.DaffButtonModule,r.FontAwesomeModule]}]}];var p=function(){this.faMobile=n.faMobile};p.decorators=[{type:t.Component,args:[{selector:"compact-hero",template:'<daff-hero [compact]="true">\n\t<div class="daff-compact-hero__icon" daffHeroIcon>\n\t\t<fa-icon [icon]="faMobile"></fa-icon>\n\t</div>\n\t<p daffHeroTagline>Frontend framework for ecommerce PWAs</p>\n\t<h1 daffHeroTitle>Daffodil: The next great leap in ecommerce.</h1>\n\t<h2 daffHeroSubtitle>\n\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t</h2>\n\t<div daffHeroBody>\n\t\t<a href="https://www.daff.io" target="_blank" daff-button>Get Started</a>\n\t</div>\n</daff-hero>',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-compact-hero__icon{display:flex;background:rgba(var(--daff-theme-rgb),.2);border-radius:50%;color:var(--daff-theme-contrast-rgb);width:48px;height:48px;justify-content:center;align-items:center;padding:12px 0}"]}]}];var g=function(){};g.decorators=[{type:t.NgModule,args:[{declarations:[p],imports:[a.CommonModule,o.ReactiveFormsModule,i.DaffHeroModule,i.DaffButtonModule,r.FontAwesomeModule],exports:[p]}]}];var h=[f,l,c,p];e.CompactHeroComponent=p,e.CompactHeroModule=g,e.HERO_EXAMPLES=h,e.HeroTextAlignmentComponent=l,e.HeroTextAlignmentModule=s,e.HeroThemingComponent=f,e.HeroThemingModule=d,e.HeroWithGridComponent=c,e.HeroWithGridModule=m,Object.defineProperty(e,"__esModule",{value:!0})}));
2
2
  //# sourceMappingURL=daffodil-design-hero-examples.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../libs/design/hero/examples/src/hero-theming/hero-theming.component.ts","../../../libs/design/hero/examples/src/hero-theming/hero-theming.module.ts","../../../libs/design/hero/examples/src/hero-text-alignment/hero-text-alignment.component.ts","../../../libs/design/hero/examples/src/hero-text-alignment/hero-text-alignment.module.ts","../../../libs/design/hero/examples/src/hero-with-grid/hero-with-grid.component.ts","../../../libs/design/hero/examples/src/hero-with-grid/hero-with-grid.module.ts","../../../libs/design/hero/examples/src/examples.ts"],"names":["this","color","colorControl","FormControl","Component","args","selector","template","NgModule","declarations","HeroThemingComponent","imports","CommonModule","ReactiveFormsModule","DaffHeroModule","exports","textAlignControl","options","value","label","HeroTextAlignmentComponent","DaffContainerModule","HeroWithGridComponent","DaffButtonModule","HERO_EXAMPLES"],"mappings":"6oBAKA,WAMEA,KAAAC,MAAqB,UAErBD,KAAAE,aAA4B,IAAIC,EAAAA,YAAY,yBAR7CC,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,eACVC,SAAA,2oBCcF,iCAbCC,EAAAA,SAAQH,KAAA,CAAC,CACRI,aAAc,CACZC,GAEFC,QAAS,CACPC,EAAAA,aACAC,EAAAA,oBACAC,EAAAA,gBAEFC,QAAS,CACPL,aChBJ,WAMEV,KAAAgB,iBAAgC,IAAIb,EAAAA,YAAY,IAEhDH,KAAAiB,QAAU,CACR,CAAEC,MAAO,GAAIC,MAAO,WACpB,CAAED,MAAO,OAAQC,MAAO,QACxB,CAAED,MAAO,SAAUC,MAAO,UAC1B,CAAED,MAAO,QAASC,MAAO,+BAZ5Bf,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,sBACVC,SAAA,urBCgBF,iCAXCC,EAAAA,SAAQH,KAAA,CAAC,CACRI,aAAc,CACZW,GAEFT,QAAS,CACPC,EAAAA,aACAC,EAAAA,oBACAC,EAAAA,eACAO,EAAAA,+BCXJ,iCANCjB,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,iBACVC,SAAA,qkCCmBF,iCAZCC,EAAAA,SAAQH,KAAA,CAAC,CACRI,aAAc,CACZa,GAEFX,QAAS,CACPC,EAAAA,aACAC,EAAAA,oBACAC,EAAAA,eACAO,EAAAA,oBACAE,EAAAA,0BCjBSC,EAAgB,CAC3Bd,EACAU,EACAE","sourcesContent":["import { Component } from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\nimport { DaffPalette } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-theming',\n templateUrl: './hero-theming.component.html',\n})\nexport class HeroThemingComponent {\n color: DaffPalette = 'primary';\n\n colorControl: FormControl = new FormControl('');\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { DaffHeroModule } from '@daffodil/design';\n\nimport { HeroThemingComponent } from './hero-theming.component';\n\n\n@NgModule({\n declarations: [\n HeroThemingComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n ],\n exports: [\n HeroThemingComponent,\n ],\n})\nexport class HeroThemingModule { }\n","import { Component } from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-text-alignment',\n templateUrl: './hero-text-alignment.component.html',\n})\nexport class HeroTextAlignmentComponent {\n textAlignControl: FormControl = new FormControl('');\n\n options = [\n { value: '', label: 'Default' },\n { value: 'left', label: 'Left' },\n { value: 'center', label: 'Center' },\n { value: 'right', label: 'Right' },\n ];\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffHeroModule,\n DaffContainerModule,\n} from '@daffodil/design';\n\nimport { HeroTextAlignmentComponent } from './hero-text-alignment.component';\n\n@NgModule({\n declarations: [\n HeroTextAlignmentComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffContainerModule,\n ],\n})\nexport class HeroTextAlignmentModule { }\n","import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-with-grid',\n templateUrl: './hero-with-grid.component.html',\n styleUrls: ['./hero-with-grid.component.scss'],\n})\nexport class HeroWithGridComponent {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffHeroModule,\n DaffContainerModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { HeroWithGridComponent } from './hero-with-grid.component';\n\n@NgModule({\n declarations: [\n HeroWithGridComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffContainerModule,\n DaffButtonModule,\n ],\n})\nexport class HeroWithGridModule { }\n","import { HeroTextAlignmentComponent } from './hero-text-alignment/hero-text-alignment.component';\nimport { HeroThemingComponent } from './hero-theming/hero-theming.component';\nimport { HeroWithGridComponent } from './hero-with-grid/hero-with-grid.component';\n\nexport const HERO_EXAMPLES = [\n HeroThemingComponent,\n HeroTextAlignmentComponent,\n HeroWithGridComponent,\n];\n"]}
1
+ {"version":3,"sources":["../../../libs/design/hero/examples/src/hero-theming/hero-theming.component.ts","../../../libs/design/hero/examples/src/hero-theming/hero-theming.module.ts","../../../libs/design/hero/examples/src/hero-text-alignment/hero-text-alignment.component.ts","../../../libs/design/hero/examples/src/hero-text-alignment/hero-text-alignment.module.ts","../../../libs/design/hero/examples/src/hero-with-grid/hero-with-grid.component.ts","../../../libs/design/hero/examples/src/hero-with-grid/hero-with-grid.module.ts","../../../libs/design/hero/examples/src/compact-hero/compact-hero.component.ts","../../../libs/design/hero/examples/src/compact-hero/compact-hero.module.ts","../../../libs/design/hero/examples/src/examples.ts"],"names":["this","faMobile","color","colorControl","FormControl","Component","args","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","NgModule","declarations","HeroThemingComponent","imports","CommonModule","ReactiveFormsModule","DaffHeroModule","DaffButtonModule","FontAwesomeModule","exports","textAlignControl","options","value","label","HeroTextAlignmentComponent","DaffContainerModule","HeroWithGridComponent","CompactHeroComponent","HERO_EXAMPLES"],"mappings":"01BASA,WAQEA,KAAAC,SAAWA,EAAAA,SACXD,KAAAE,MAAqB,UAErBF,KAAAG,aAA4B,IAAIC,EAAAA,YAAY,yBAX7CC,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,eACVC,SAAA,sjCAEAC,gBAAiBC,EAAAA,wBAAwBC,oPCc3C,iCAhBCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZC,GAEFC,QAAS,CACPC,EAAAA,aACAC,EAAAA,oBACAC,EAAAA,eACAC,EAAAA,iBAEAC,EAAAA,mBAEFC,QAAS,CACPP,aClBJ,WAQEd,KAAAC,SAAWA,EAAAA,SACXD,KAAAsB,iBAAgC,IAAIlB,EAAAA,YAAY,IAEhDJ,KAAAuB,QAAU,CACR,CAAEC,MAAO,GAAIC,MAAO,WACpB,CAAED,MAAO,OAAQC,MAAO,QACxB,CAAED,MAAO,SAAUC,MAAO,UAC1B,CAAED,MAAO,QAASC,MAAO,+BAf5BpB,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,sBACVC,SAAA,o5BAEAC,gBAAiBC,EAAAA,wBAAwBC,2PCe3C,iCAdCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZa,GAEFX,QAAS,CACPC,EAAAA,aACAC,EAAAA,oBACAC,EAAAA,eACAS,EAAAA,oBACAR,EAAAA,iBAEAC,EAAAA,6BClBJ,WAQEpB,KAAAC,SAAWA,EAAAA,8BARZI,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,iBACVC,SAAA,q+BAEAC,gBAAiBC,EAAAA,wBAAwBC,gjBCgB3C,iCAdCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZe,GAEFb,QAAS,CACPC,EAAAA,aACAC,EAAAA,oBACAC,EAAAA,eACAS,EAAAA,oBACAR,EAAAA,iBAEAC,EAAAA,6BCfJ,WAQEpB,KAAAC,SAAWA,EAAAA,8BARZI,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,eACVC,SAAA,qpBAEAC,gBAAiBC,EAAAA,wBAAwBC,oPCc3C,iCAhBCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZgB,GAEFd,QAAS,CACPC,EAAAA,aACAC,EAAAA,oBACAC,EAAAA,eACAC,EAAAA,iBAEAC,EAAAA,mBAEFC,QAAS,CACPQ,WCpBSC,EAAgB,CAC3BhB,EACAY,EACAE,EACAC","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffPalette } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-theming',\n templateUrl: './hero-theming.component.html',\n styleUrls: ['./hero-theming.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HeroThemingComponent {\n faMobile = faMobile;\n color: DaffPalette = 'primary';\n\n colorControl: FormControl = new FormControl('');\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport {\n DaffHeroModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { HeroThemingComponent } from './hero-theming.component';\n\n@NgModule({\n declarations: [\n HeroThemingComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffButtonModule,\n\n FontAwesomeModule,\n ],\n exports: [\n HeroThemingComponent,\n ],\n})\nexport class HeroThemingModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-text-alignment',\n templateUrl: './hero-text-alignment.component.html',\n styleUrls: ['./hero-text-alignment.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HeroTextAlignmentComponent {\n faMobile = faMobile;\n textAlignControl: FormControl = new FormControl('');\n\n options = [\n { value: '', label: 'Default' },\n { value: 'left', label: 'Left' },\n { value: 'center', label: 'Center' },\n { value: 'right', label: 'Right' },\n ];\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport {\n DaffHeroModule,\n DaffContainerModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { HeroTextAlignmentComponent } from './hero-text-alignment.component';\n\n@NgModule({\n declarations: [\n HeroTextAlignmentComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffContainerModule,\n DaffButtonModule,\n\n FontAwesomeModule,\n ],\n})\nexport class HeroTextAlignmentModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'hero-with-grid',\n templateUrl: './hero-with-grid.component.html',\n styleUrls: ['./hero-with-grid.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HeroWithGridComponent {\n faMobile = faMobile;\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport {\n DaffHeroModule,\n DaffContainerModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { HeroWithGridComponent } from './hero-with-grid.component';\n\n@NgModule({\n declarations: [\n HeroWithGridComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffContainerModule,\n DaffButtonModule,\n\n FontAwesomeModule,\n ],\n})\nexport class HeroWithGridModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffPalette } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'compact-hero',\n templateUrl: './compact-hero.component.html',\n styleUrls: ['./compact-hero.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CompactHeroComponent {\n faMobile = faMobile;\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport {\n DaffHeroModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { CompactHeroComponent } from './compact-hero.component';\n\n@NgModule({\n declarations: [\n CompactHeroComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffHeroModule,\n DaffButtonModule,\n\n FontAwesomeModule,\n ],\n exports: [\n CompactHeroComponent,\n ],\n})\nexport class CompactHeroModule { }\n","import { CompactHeroComponent } from './compact-hero/compact-hero.component';\nimport { HeroTextAlignmentComponent } from './hero-text-alignment/hero-text-alignment.component';\nimport { HeroThemingComponent } from './hero-theming/hero-theming.component';\nimport { HeroWithGridComponent } from './hero-with-grid/hero-with-grid.component';\n\nexport const HERO_EXAMPLES = [\n HeroThemingComponent,\n HeroTextAlignmentComponent,\n HeroWithGridComponent,\n CompactHeroComponent,\n];\n"]}