@daffodil/design 0.43.1 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/esm2020/accordion/examples/basic-accordion/basic-accordion.component.mjs +3 -3
  2. package/esm2020/accordion/examples/basic-accordion/basic-accordion.module.mjs +4 -4
  3. package/esm2020/accordion/examples/nav-accordion/nav-accordion.component.mjs +3 -3
  4. package/esm2020/accordion/examples/nav-accordion/nav-accordion.module.mjs +4 -4
  5. package/esm2020/article/examples/article-blockquote/article-blockquote.component.mjs +3 -3
  6. package/esm2020/article/examples/article-code-block/article-code-block.component.mjs +3 -3
  7. package/esm2020/article/examples/article-code-inline/article-code-inline.component.mjs +3 -3
  8. package/esm2020/article/examples/article-examples.module.mjs +4 -4
  9. package/esm2020/article/examples/article-headings/article-headings.component.mjs +3 -3
  10. package/esm2020/article/examples/article-hr/article-hr.component.mjs +3 -3
  11. package/esm2020/article/examples/article-lead/article-lead.component.mjs +3 -3
  12. package/esm2020/article/examples/article-link/article-link.component.mjs +3 -3
  13. package/esm2020/article/examples/article-meta/article-meta.component.mjs +3 -3
  14. package/esm2020/article/examples/article-ol/article-ol.component.mjs +3 -3
  15. package/esm2020/article/examples/article-table/article-table.component.mjs +3 -3
  16. package/esm2020/article/examples/article-ul/article-ul.component.mjs +3 -3
  17. package/esm2020/atoms/button/button.component.mjs +3 -3
  18. package/esm2020/atoms/button/button.module.mjs +4 -4
  19. package/esm2020/atoms/container/container.component.mjs +3 -3
  20. package/esm2020/atoms/container/container.module.mjs +4 -4
  21. package/esm2020/atoms/form/checkbox/checkbox.component.mjs +3 -3
  22. package/esm2020/atoms/form/checkbox/checkbox.module.mjs +4 -4
  23. package/esm2020/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +3 -3
  24. package/esm2020/atoms/form/checkbox-set/checkbox-set.component.mjs +3 -3
  25. package/esm2020/atoms/form/error-message/error-message.component.mjs +3 -3
  26. package/esm2020/atoms/form/error-message/error-message.module.mjs +4 -4
  27. package/esm2020/atoms/form/form-field/form-field/form-field.component.mjs +3 -3
  28. package/esm2020/atoms/form/form-field/form-field.module.mjs +4 -4
  29. package/esm2020/atoms/form/input/input.component.mjs +3 -3
  30. package/esm2020/atoms/form/input/input.module.mjs +4 -4
  31. package/esm2020/atoms/form/quantity-field/quantity-field.component.mjs +3 -3
  32. package/esm2020/atoms/form/quantity-field/quantity-field.module.mjs +4 -4
  33. package/esm2020/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +3 -3
  34. package/esm2020/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +3 -3
  35. package/esm2020/atoms/form/radio/cva/radio-cva.directive.mjs +3 -3
  36. package/esm2020/atoms/form/radio/radio.component.mjs +3 -3
  37. package/esm2020/atoms/form/radio/radio.module.mjs +4 -4
  38. package/esm2020/atoms/form/radio/registry/radio-registry.mjs +3 -3
  39. package/esm2020/atoms/form/radio-set/radio-set.component.mjs +3 -3
  40. package/esm2020/atoms/form/select/select/select.component.mjs +3 -3
  41. package/esm2020/atoms/form/select/select.module.mjs +4 -4
  42. package/esm2020/atoms/image/image.component.mjs +3 -3
  43. package/esm2020/atoms/image/image.module.mjs +4 -4
  44. package/esm2020/atoms/loading-icon/loading-icon.component.mjs +3 -3
  45. package/esm2020/atoms/loading-icon/loading-icon.module.mjs +4 -4
  46. package/esm2020/atoms/progress-indicator/progress-indicator.component.mjs +3 -3
  47. package/esm2020/atoms/progress-indicator/progress-indicator.module.mjs +4 -4
  48. package/esm2020/button/examples/basic-button/basic-button.component.mjs +3 -3
  49. package/esm2020/button/examples/basic-button/basic-button.module.mjs +4 -4
  50. package/esm2020/button/examples/icon-button/icon-button.component.mjs +3 -3
  51. package/esm2020/button/examples/icon-button/icon-button.module.mjs +4 -4
  52. package/esm2020/button/examples/raised-button/raised-button.component.mjs +3 -3
  53. package/esm2020/button/examples/raised-button/raised-button.module.mjs +4 -4
  54. package/esm2020/button/examples/sizeable-button/sizeable-button.component.mjs +3 -3
  55. package/esm2020/button/examples/sizeable-button/sizeable-button.module.mjs +4 -4
  56. package/esm2020/button/examples/statusable-button/statusable-button.component.mjs +3 -3
  57. package/esm2020/button/examples/statusable-button/statusable-button.module.mjs +4 -4
  58. package/esm2020/button/examples/stroked-button/stroked-button.component.mjs +3 -3
  59. package/esm2020/button/examples/stroked-button/stroked-button.module.mjs +4 -4
  60. package/esm2020/button/examples/underline-button/underline-button.component.mjs +3 -3
  61. package/esm2020/button/examples/underline-button/underline-button.module.mjs +4 -4
  62. package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +3 -3
  63. package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +4 -4
  64. package/esm2020/callout/examples/callout-theming/callout-theming.component.mjs +3 -3
  65. package/esm2020/callout/examples/callout-theming/callout-theming.module.mjs +4 -4
  66. package/esm2020/callout/examples/callout-with-grid/callout-with-grid.component.mjs +3 -3
  67. package/esm2020/callout/examples/callout-with-grid/callout-with-grid.module.mjs +4 -4
  68. package/esm2020/callout/examples/compact-callout/compact-callout.component.mjs +3 -3
  69. package/esm2020/callout/examples/compact-callout/compact-callout.module.mjs +4 -4
  70. package/esm2020/card/examples/basic-card/basic-card.component.mjs +3 -3
  71. package/esm2020/card/examples/basic-card/basic-card.module.mjs +4 -4
  72. package/esm2020/card/examples/card-orientation/card-orientation.component.mjs +3 -3
  73. package/esm2020/card/examples/card-orientation/card-orientation.module.mjs +4 -4
  74. package/esm2020/card/examples/card-theming/card-theming.component.mjs +3 -3
  75. package/esm2020/card/examples/card-theming/card-theming.module.mjs +4 -4
  76. package/esm2020/card/examples/linkable-card/linkable-card.component.mjs +3 -3
  77. package/esm2020/card/examples/linkable-card/linkable-card.module.mjs +4 -4
  78. package/esm2020/card/examples/raised-card/raised-card.component.mjs +3 -3
  79. package/esm2020/card/examples/raised-card/raised-card.module.mjs +4 -4
  80. package/esm2020/card/examples/stroked-card/stroked-card.component.mjs +3 -3
  81. package/esm2020/card/examples/stroked-card/stroked-card.module.mjs +4 -4
  82. package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +3 -3
  83. package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +4 -4
  84. package/esm2020/checkbox/examples/checkbox-set/checkbox-set.component.mjs +3 -3
  85. package/esm2020/checkbox/examples/checkbox-set/checkbox-set.module.mjs +4 -4
  86. package/esm2020/container/examples/container-sizes/container-sizes.component.mjs +3 -3
  87. package/esm2020/container/examples/container-sizes/container-sizes.module.mjs +4 -4
  88. package/esm2020/core/prefix-suffix/prefix-suffix.module.mjs +4 -4
  89. package/esm2020/core/prefix-suffix/prefix.directive.mjs +3 -3
  90. package/esm2020/core/prefix-suffix/prefixable/prefixable.mjs +3 -3
  91. package/esm2020/core/prefix-suffix/suffix.directive.mjs +3 -3
  92. package/esm2020/core/prefix-suffix/suffixable/suffixable.mjs +3 -3
  93. package/esm2020/core/theming/services/class-setter/theme-class-setter.service.mjs +3 -3
  94. package/esm2020/core/theming/services/os-theme/ostheme.service.mjs +3 -3
  95. package/esm2020/core/theming/services/storage/theme-storage.service.mjs +3 -3
  96. package/esm2020/core/theming/services/theming.service.mjs +3 -3
  97. package/esm2020/hero/examples/compact-hero/compact-hero.component.mjs +3 -3
  98. package/esm2020/hero/examples/compact-hero/compact-hero.module.mjs +4 -4
  99. package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +3 -3
  100. package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +4 -4
  101. package/esm2020/hero/examples/hero-theming/hero-theming.component.mjs +3 -3
  102. package/esm2020/hero/examples/hero-theming/hero-theming.module.mjs +4 -4
  103. package/esm2020/hero/examples/hero-with-grid/hero-with-grid.component.mjs +3 -3
  104. package/esm2020/hero/examples/hero-with-grid/hero-with-grid.module.mjs +4 -4
  105. package/esm2020/image/examples/basic-image/basic-image.component.mjs +3 -3
  106. package/esm2020/image/examples/basic-image/basic-image.module.mjs +4 -4
  107. package/esm2020/image/examples/load-image/load-image.component.mjs +3 -3
  108. package/esm2020/image/examples/load-image/load-image.module.mjs +4 -4
  109. package/esm2020/list/examples/basic-list/basic-list.component.mjs +3 -3
  110. package/esm2020/list/examples/basic-list/basic-list.module.mjs +4 -4
  111. package/esm2020/list/examples/icon-list/icon-list.component.mjs +3 -3
  112. package/esm2020/list/examples/icon-list/icon-list.module.mjs +4 -4
  113. package/esm2020/list/examples/list-examples.module.mjs +4 -4
  114. package/esm2020/list/examples/multiline-list/multiline-list.component.mjs +3 -3
  115. package/esm2020/list/examples/multiline-list/multiline-list.module.mjs +4 -4
  116. package/esm2020/list/examples/nav-list/nav-list.component.mjs +3 -3
  117. package/esm2020/list/examples/nav-list/nav-list.module.mjs +4 -4
  118. package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +3 -3
  119. package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +4 -4
  120. package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +3 -3
  121. package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +4 -4
  122. package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +3 -3
  123. package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +4 -4
  124. package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +3 -3
  125. package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +4 -4
  126. package/esm2020/modal/examples/basic-modal/basic-modal.component.mjs +3 -3
  127. package/esm2020/modal/examples/basic-modal/basic-modal.module.mjs +4 -4
  128. package/esm2020/modal/examples/basic-modal/modal-content.component.mjs +3 -3
  129. package/esm2020/molecules/accordion/accordion/accordion.component.mjs +3 -3
  130. package/esm2020/molecules/accordion/accordion-item/accordion-item.component.mjs +3 -3
  131. package/esm2020/molecules/accordion/accordion-item-content/accordion-item-content.directive.mjs +3 -3
  132. package/esm2020/molecules/accordion/accordion-item-title/accordion-item-title.directive.mjs +3 -3
  133. package/esm2020/molecules/accordion/accordion.module.mjs +4 -4
  134. package/esm2020/molecules/accordion/nav-accordion-item/nav-accordion-item.component.mjs +3 -3
  135. package/esm2020/molecules/article/article/article.component.mjs +3 -3
  136. package/esm2020/molecules/article/article-lead/article-lead.directive.mjs +3 -3
  137. package/esm2020/molecules/article/article-meta/article-meta.directive.mjs +3 -3
  138. package/esm2020/molecules/article/article-title/article-title.directive.mjs +3 -3
  139. package/esm2020/molecules/article/article.module.mjs +4 -4
  140. package/esm2020/molecules/backdrop/backdrop/backdrop.component.mjs +3 -3
  141. package/esm2020/molecules/backdrop/backdrop.module.mjs +4 -4
  142. package/esm2020/molecules/button-set/button-set.component.mjs +3 -3
  143. package/esm2020/molecules/button-set/button-set.module.mjs +4 -4
  144. package/esm2020/molecules/callout/callout/callout.component.mjs +3 -3
  145. package/esm2020/molecules/callout/callout-body/callout-body.directive.mjs +3 -3
  146. package/esm2020/molecules/callout/callout-icon/callout-icon.directive.mjs +3 -3
  147. package/esm2020/molecules/callout/callout-subtitle/callout-subtitle.directive.mjs +3 -3
  148. package/esm2020/molecules/callout/callout-tagline/callout-tagline.directive.mjs +3 -3
  149. package/esm2020/molecules/callout/callout-title/callout-title.directive.mjs +3 -3
  150. package/esm2020/molecules/callout/callout.module.mjs +4 -4
  151. package/esm2020/molecules/card/card/card.component.mjs +3 -3
  152. package/esm2020/molecules/card/card-actions/card-actions.directive.mjs +3 -3
  153. package/esm2020/molecules/card/card-content/card-content.directive.mjs +3 -3
  154. package/esm2020/molecules/card/card-icon/card-icon.directive.mjs +3 -3
  155. package/esm2020/molecules/card/card-image/card-image.directive.mjs +3 -3
  156. package/esm2020/molecules/card/card-tagline/card-tagline.directive.mjs +3 -3
  157. package/esm2020/molecules/card/card-title/card-title.directive.mjs +3 -3
  158. package/esm2020/molecules/card/card.module.mjs +4 -4
  159. package/esm2020/molecules/feature/feature/feature.component.mjs +3 -3
  160. package/esm2020/molecules/feature/feature-icon/feature-icon.directive.mjs +3 -3
  161. package/esm2020/molecules/feature/feature-subheader/feature-subheader.directive.mjs +3 -3
  162. package/esm2020/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +3 -3
  163. package/esm2020/molecules/feature/feature-title/feature-title.directive.mjs +3 -3
  164. package/esm2020/molecules/feature/feature.module.mjs +4 -4
  165. package/esm2020/molecules/hero/hero/hero.component.mjs +3 -3
  166. package/esm2020/molecules/hero/hero-body/hero-body.directive.mjs +3 -3
  167. package/esm2020/molecules/hero/hero-icon/hero-icon.directive.mjs +3 -3
  168. package/esm2020/molecules/hero/hero-subtitle/hero-subtitle.directive.mjs +3 -3
  169. package/esm2020/molecules/hero/hero-tagline/hero-tagline.directive.mjs +3 -3
  170. package/esm2020/molecules/hero/hero-title/hero-title.directive.mjs +3 -3
  171. package/esm2020/molecules/hero/hero.module.mjs +4 -4
  172. package/esm2020/molecules/image-gallery/gallery-image/gallery-image.component.mjs +3 -3
  173. package/esm2020/molecules/image-gallery/image-gallery/image-gallery.component.mjs +3 -3
  174. package/esm2020/molecules/image-gallery/image-gallery.module.mjs +4 -4
  175. package/esm2020/molecules/image-list/image-list.component.mjs +3 -3
  176. package/esm2020/molecules/image-list/image-list.module.mjs +4 -4
  177. package/esm2020/molecules/link-set/link-set/link-set.component.mjs +3 -3
  178. package/esm2020/molecules/link-set/link-set-heading/link-set-heading.directive.mjs +3 -3
  179. package/esm2020/molecules/link-set/link-set-item/link-set-item.component.mjs +3 -3
  180. package/esm2020/molecules/link-set/link-set-subheading/link-set-subheading.directive.mjs +3 -3
  181. package/esm2020/molecules/link-set/link-set.module.mjs +4 -4
  182. package/esm2020/molecules/list/list/list.component.mjs +3 -3
  183. package/esm2020/molecules/list/list-item/list-item.component.mjs +3 -3
  184. package/esm2020/molecules/list/list-subheader/list-subheader.directive.mjs +3 -3
  185. package/esm2020/molecules/list/list.module.mjs +4 -4
  186. package/esm2020/molecules/media-gallery/media-gallery.component.mjs +3 -3
  187. package/esm2020/molecules/media-gallery/media-gallery.module.mjs +4 -4
  188. package/esm2020/molecules/media-gallery/media-renderer/media-renderer.component.mjs +3 -3
  189. package/esm2020/molecules/media-gallery/registry/media-gallery.registry.mjs +3 -3
  190. package/esm2020/molecules/media-gallery/thumbnail/thumbnail.directive.mjs +3 -3
  191. package/esm2020/molecules/modal/modal/modal.component.mjs +3 -3
  192. package/esm2020/molecules/modal/modal-actions/modal-actions.component.mjs +3 -3
  193. package/esm2020/molecules/modal/modal-content/modal-content.component.mjs +3 -3
  194. package/esm2020/molecules/modal/modal-header/modal-header.component.mjs +3 -3
  195. package/esm2020/molecules/modal/modal-title/modal-title.directive.mjs +3 -3
  196. package/esm2020/molecules/modal/modal.module.mjs +4 -4
  197. package/esm2020/molecules/modal/service/modal.service.mjs +3 -3
  198. package/esm2020/molecules/navbar/navbar.component.mjs +3 -3
  199. package/esm2020/molecules/navbar/navbar.module.mjs +4 -4
  200. package/esm2020/molecules/paginator/paginator.component.mjs +3 -3
  201. package/esm2020/molecules/paginator/paginator.module.mjs +4 -4
  202. package/esm2020/molecules/qty-dropdown/qty-dropdown.component.mjs +3 -3
  203. package/esm2020/molecules/qty-dropdown/qty-dropdown.module.mjs +4 -4
  204. package/esm2020/molecules/sidebar/sidebar/sidebar.component.mjs +3 -3
  205. package/esm2020/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +3 -3
  206. package/esm2020/molecules/sidebar/sidebar.module.mjs +4 -4
  207. package/esm2020/navbar/examples/basic-navbar/basic-navbar.component.mjs +3 -3
  208. package/esm2020/navbar/examples/basic-navbar/basic-navbar.module.mjs +4 -4
  209. package/esm2020/navbar/examples/contained-navbar/contained-navbar.component.mjs +3 -3
  210. package/esm2020/navbar/examples/contained-navbar/contained-navbar.module.mjs +4 -4
  211. package/esm2020/navbar/examples/navbar-theming/navbar-theming.component.mjs +3 -3
  212. package/esm2020/navbar/examples/navbar-theming/navbar-theming.module.mjs +4 -4
  213. package/esm2020/navbar/examples/raised-navbar/raised-navbar.component.mjs +3 -3
  214. package/esm2020/navbar/examples/raised-navbar/raised-navbar.module.mjs +4 -4
  215. package/esm2020/paginator/examples/basic-paginator/basic-paginator.component.mjs +3 -3
  216. package/esm2020/paginator/examples/paginator-examples.module.mjs +4 -4
  217. package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +3 -3
  218. package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +4 -4
  219. package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +3 -3
  220. package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +4 -4
  221. package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +3 -3
  222. package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +4 -4
  223. package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +3 -3
  224. package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +4 -4
  225. package/esm2020/radio/examples/basic-radio/basic-radio.component.mjs +3 -3
  226. package/esm2020/radio/examples/basic-radio/basic-radio.module.mjs +4 -4
  227. package/fesm2015/daffodil-design-accordion-examples.mjs +10 -10
  228. package/fesm2015/daffodil-design-accordion-examples.mjs.map +1 -1
  229. package/fesm2015/daffodil-design-article-examples.mjs +25 -25
  230. package/fesm2015/daffodil-design-article-examples.mjs.map +1 -1
  231. package/fesm2015/daffodil-design-button-examples.mjs +35 -35
  232. package/fesm2015/daffodil-design-button-examples.mjs.map +1 -1
  233. package/fesm2015/daffodil-design-callout-examples.mjs +20 -20
  234. package/fesm2015/daffodil-design-callout-examples.mjs.map +1 -1
  235. package/fesm2015/daffodil-design-card-examples.mjs +30 -30
  236. package/fesm2015/daffodil-design-card-examples.mjs.map +1 -1
  237. package/fesm2015/daffodil-design-checkbox-examples.mjs +10 -10
  238. package/fesm2015/daffodil-design-checkbox-examples.mjs.map +1 -1
  239. package/fesm2015/daffodil-design-container-examples.mjs +5 -5
  240. package/fesm2015/daffodil-design-container-examples.mjs.map +1 -1
  241. package/fesm2015/daffodil-design-hero-examples.mjs +20 -20
  242. package/fesm2015/daffodil-design-hero-examples.mjs.map +1 -1
  243. package/fesm2015/daffodil-design-image-examples.mjs +10 -10
  244. package/fesm2015/daffodil-design-image-examples.mjs.map +1 -1
  245. package/fesm2015/daffodil-design-list-examples.mjs +23 -23
  246. package/fesm2015/daffodil-design-list-examples.mjs.map +1 -1
  247. package/fesm2015/daffodil-design-loading-icon-examples.mjs +10 -10
  248. package/fesm2015/daffodil-design-loading-icon-examples.mjs.map +1 -1
  249. package/fesm2015/daffodil-design-media-gallery-examples.mjs +10 -10
  250. package/fesm2015/daffodil-design-media-gallery-examples.mjs.map +1 -1
  251. package/fesm2015/daffodil-design-modal-examples.mjs +7 -7
  252. package/fesm2015/daffodil-design-modal-examples.mjs.map +1 -1
  253. package/fesm2015/daffodil-design-navbar-examples.mjs +20 -20
  254. package/fesm2015/daffodil-design-navbar-examples.mjs.map +1 -1
  255. package/fesm2015/daffodil-design-paginator-examples.mjs +5 -5
  256. package/fesm2015/daffodil-design-paginator-examples.mjs.map +1 -1
  257. package/fesm2015/daffodil-design-quantity-field-examples.mjs +20 -20
  258. package/fesm2015/daffodil-design-quantity-field-examples.mjs.map +1 -1
  259. package/fesm2015/daffodil-design-radio-examples.mjs +5 -5
  260. package/fesm2015/daffodil-design-radio-examples.mjs.map +1 -1
  261. package/fesm2015/daffodil-design.mjs +267 -267
  262. package/fesm2015/daffodil-design.mjs.map +1 -1
  263. package/fesm2020/daffodil-design-accordion-examples.mjs +10 -10
  264. package/fesm2020/daffodil-design-accordion-examples.mjs.map +1 -1
  265. package/fesm2020/daffodil-design-article-examples.mjs +25 -25
  266. package/fesm2020/daffodil-design-article-examples.mjs.map +1 -1
  267. package/fesm2020/daffodil-design-button-examples.mjs +35 -35
  268. package/fesm2020/daffodil-design-button-examples.mjs.map +1 -1
  269. package/fesm2020/daffodil-design-callout-examples.mjs +20 -20
  270. package/fesm2020/daffodil-design-callout-examples.mjs.map +1 -1
  271. package/fesm2020/daffodil-design-card-examples.mjs +30 -30
  272. package/fesm2020/daffodil-design-card-examples.mjs.map +1 -1
  273. package/fesm2020/daffodil-design-checkbox-examples.mjs +10 -10
  274. package/fesm2020/daffodil-design-checkbox-examples.mjs.map +1 -1
  275. package/fesm2020/daffodil-design-container-examples.mjs +5 -5
  276. package/fesm2020/daffodil-design-container-examples.mjs.map +1 -1
  277. package/fesm2020/daffodil-design-hero-examples.mjs +20 -20
  278. package/fesm2020/daffodil-design-hero-examples.mjs.map +1 -1
  279. package/fesm2020/daffodil-design-image-examples.mjs +10 -10
  280. package/fesm2020/daffodil-design-image-examples.mjs.map +1 -1
  281. package/fesm2020/daffodil-design-list-examples.mjs +23 -23
  282. package/fesm2020/daffodil-design-list-examples.mjs.map +1 -1
  283. package/fesm2020/daffodil-design-loading-icon-examples.mjs +10 -10
  284. package/fesm2020/daffodil-design-loading-icon-examples.mjs.map +1 -1
  285. package/fesm2020/daffodil-design-media-gallery-examples.mjs +10 -10
  286. package/fesm2020/daffodil-design-media-gallery-examples.mjs.map +1 -1
  287. package/fesm2020/daffodil-design-modal-examples.mjs +7 -7
  288. package/fesm2020/daffodil-design-modal-examples.mjs.map +1 -1
  289. package/fesm2020/daffodil-design-navbar-examples.mjs +20 -20
  290. package/fesm2020/daffodil-design-navbar-examples.mjs.map +1 -1
  291. package/fesm2020/daffodil-design-paginator-examples.mjs +5 -5
  292. package/fesm2020/daffodil-design-paginator-examples.mjs.map +1 -1
  293. package/fesm2020/daffodil-design-quantity-field-examples.mjs +20 -20
  294. package/fesm2020/daffodil-design-quantity-field-examples.mjs.map +1 -1
  295. package/fesm2020/daffodil-design-radio-examples.mjs +5 -5
  296. package/fesm2020/daffodil-design-radio-examples.mjs.map +1 -1
  297. package/fesm2020/daffodil-design.mjs +267 -267
  298. package/fesm2020/daffodil-design.mjs.map +1 -1
  299. package/package.json +29 -7
  300. package/scss/README.md +3 -3
  301. package/scss/daff-global.scss +3 -47
  302. package/scss/daff-util.scss +3 -19
  303. package/scss/global.scss +49 -0
  304. package/scss/theme.scss +1 -2
  305. package/scss/theming/README.md +65 -20
  306. package/scss/theming/_daff-theme.scss +19 -0
  307. package/scss/theming/_index.scss +1 -0
  308. package/scss/theming/_theme-css-variables.scss +15 -12
  309. package/scss/utilities.scss +21 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daffodil/design",
3
- "version": "0.43.1",
3
+ "version": "0.45.0",
4
4
  "author": "Graycore LLC",
5
5
  "license": "MIT",
6
6
  "bugs": {
@@ -18,21 +18,37 @@
18
18
  "@angular/core": "^13.0.0",
19
19
  "@angular/forms": "^13.0.0",
20
20
  "@angular/cdk": "^13.0.0",
21
+ "@daffodil/core": "0.45.0",
21
22
  "@fortawesome/angular-fontawesome": "^0.10.0",
22
23
  "@fortawesome/fontawesome-svg-core": "^1.2.32",
23
24
  "@fortawesome/free-solid-svg-icons": "^5.10.0",
25
+ "@fortawesome/free-brands-svg-icons": "^5.10.0",
26
+ "@fortawesome/free-regular-svg-icons": "^5.10.0",
27
+ "modern-normalize": "^0.5.0",
24
28
  "rxjs": "7.5.5"
25
29
  },
26
30
  "optionalDependencies": {
27
31
  "@faker-js/faker": "^5.5.3"
28
32
  },
29
- "module": "fesm2015/daffodil-design.mjs",
30
- "es2020": "fesm2020/daffodil-design.mjs",
31
- "esm2020": "esm2020/daffodil-design.mjs",
32
- "fesm2020": "fesm2020/daffodil-design.mjs",
33
- "fesm2015": "fesm2015/daffodil-design.mjs",
34
- "typings": "daffodil-design.d.ts",
35
33
  "exports": {
34
+ "./scss/daff-global": {
35
+ "sass": "./scss/daff-global.scss"
36
+ },
37
+ "./scss/global": {
38
+ "sass": "./scss/global.scss"
39
+ },
40
+ "./scss/theme": {
41
+ "sass": "./scss/theme.scss"
42
+ },
43
+ "./scss/daff-util": {
44
+ "sass": "./scss/daff-util.scss"
45
+ },
46
+ "./scss/utilities": {
47
+ "sass": "./scss/utilities.scss"
48
+ },
49
+ "./scss/daff-typography": {
50
+ "sass": "./scss/daff-typography.scss"
51
+ },
36
52
  "./package.json": {
37
53
  "default": "./package.json"
38
54
  },
@@ -181,6 +197,12 @@
181
197
  "default": "./fesm2020/daffodil-design-radio-examples.mjs"
182
198
  }
183
199
  },
200
+ "module": "fesm2015/daffodil-design.mjs",
201
+ "es2020": "fesm2020/daffodil-design.mjs",
202
+ "esm2020": "esm2020/daffodil-design.mjs",
203
+ "fesm2020": "fesm2020/daffodil-design.mjs",
204
+ "fesm2015": "fesm2015/daffodil-design.mjs",
205
+ "typings": "daffodil-design.d.ts",
184
206
  "sideEffects": false,
185
207
  "dependencies": {
186
208
  "tslib": "^2.3.0"
package/scss/README.md CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  `@daffodil/design` provides several utility files for rapid application development.
4
4
 
5
- - `daff-util.scss` - A utility library containing things like breakpoints and sass language additions
6
- - `daff-typography.scss` - A typographic library
7
- - `daff-theme.scss` - A utility library that allows you to theme `@daffodil/design` components
5
+ - `utilities.scss` - A utility library containing things like breakpoints and sass language additions
6
+ - `daff-typography.scss` - A typographic library (deprecated)
7
+ - `theme.scss` - A utility library that allows you to theme `@daffodil/design` components
@@ -1,49 +1,5 @@
1
- // @docs
2
-
3
- // `daff-global` holds boilerplate code for the project. It includes
4
- // standard styles such as resets and typographic rules, which are
5
- // commonly used throughout your project.
6
- //
7
- // @note This should only be imported once in your `styles.scss` file.
1
+ // @deprecated
8
2
  //
9
- // @usage
10
- // ```scss
11
- // @use '@daffodil/design/scss/daff-global';
12
- // ```
13
-
14
- @use 'typography' as t;
15
- @use '~@angular/cdk/overlay-prebuilt';
16
- @use '~modern-normalize/modern-normalize';
17
- @forward './theming/theme-css-variables';
18
-
19
- body,
20
- html {
21
- font-family: t.$body-font-family;
22
- font-size: 16px;
23
- font-weight: 400;
24
- line-height: 1.5;
25
- -webkit-font-smoothing: antialiased;
26
- -moz-osx-font-smoothing: grayscale;
27
- }
28
-
29
- html {
30
- scroll-behavior: smooth;
31
- }
32
-
33
- a {
34
- color: currentColor;
35
-
36
- &:hover {
37
- text-decoration: none;
38
- }
39
- }
3
+ // `daff-global` will be deprecated in v1.0.0
40
4
 
41
- h1,
42
- h2,
43
- h3,
44
- h4,
45
- h5,
46
- h6 {
47
- margin: 0;
48
- padding: 0;
49
- }
5
+ @forward 'global';
@@ -1,21 +1,5 @@
1
- // @docs
1
+ // @deprecated
2
2
  //
3
- // `daff-util` is a utility library that contains common functions,
4
- // mixins and variables that make writing SCSS stylesheets a bit
5
- // easier.
6
- //
7
- //
8
- // @note You can import this as often as you like, as it only contains SCSS
9
- // variables, mixins, and functions; thus it won't effect your final
10
- // compiled stylesheet size.
11
- //
12
- // @usage
13
- // ```scss
14
- // @use '@daffodil/design/scss/daff-util';
15
- // ```
3
+ // `daff-util` will be deprecated in v1.0.0
16
4
 
17
- @forward 'core';
18
- @forward 'typography';
19
- @forward 'layout';
20
- @forward 'interactions';
21
- @forward 'accessibility';
5
+ @forward 'utilities';
@@ -0,0 +1,49 @@
1
+ // @docs
2
+
3
+ // `global` holds boilerplate code for the project. It includes
4
+ // standard styles such as resets and typographic rules, which are
5
+ // commonly used throughout your project.
6
+ //
7
+ // @note This should only be imported once in your `styles.scss` file.
8
+ //
9
+ // @usage
10
+ // ```scss
11
+ // @use '@daffodil/design/scss/global';
12
+ // ```
13
+
14
+ @use 'typography' as t;
15
+ @use '@angular/cdk/overlay-prebuilt';
16
+ @use 'modern-normalize/modern-normalize';
17
+ @forward './theming/theme-css-variables';
18
+
19
+ body,
20
+ html {
21
+ font-family: t.$body-font-family;
22
+ font-size: 16px;
23
+ font-weight: 400;
24
+ line-height: 1.5;
25
+ -webkit-font-smoothing: antialiased;
26
+ -moz-osx-font-smoothing: grayscale;
27
+ }
28
+
29
+ html {
30
+ scroll-behavior: smooth;
31
+ }
32
+
33
+ a {
34
+ color: currentColor;
35
+
36
+ &:hover {
37
+ text-decoration: none;
38
+ }
39
+ }
40
+
41
+ h1,
42
+ h2,
43
+ h3,
44
+ h4,
45
+ h5,
46
+ h6 {
47
+ margin: 0;
48
+ padding: 0;
49
+ }
package/scss/theme.scss CHANGED
@@ -9,12 +9,11 @@
9
9
  // compiled stylesheet size.
10
10
 
11
11
  // @usage
12
- // ```
12
+ // ```scss
13
13
  // @use '@daffodil/design/scss/theme';
14
14
  // ```
15
15
 
16
16
  @forward 'core';
17
- @forward 'accessibility';
18
17
  @forward 'theming';
19
18
 
20
19
  // @daffodil/design components
@@ -1,31 +1,54 @@
1
- # Theming
1
+ # Daffodil Theming
2
2
  Daffodil's theming capabilities enables you to customize `@daffodil/design` components to reflect your brand. A theme consists of custom color configurations that will work in dark and light themes.
3
3
 
4
4
  ## Custom Colors
5
- :stop: Before you begin, read the [accessibility guide on color in `@daffodil/design`](../../guides/color#accessibility.md).
6
-
7
- [validate palette function]
5
+ :stop: Before you begin, read the [accessibility guide on color in `@daffodil/design`](../../guides/color.md#accessibility).
8
6
 
9
7
  ## Themes
10
8
  Dark and light modes are supported in all `@daffodil/design` components. When a theme is not specified, Daffodil defaults to the `light` mode.
11
9
 
12
- ### Setting up the theme file
13
- Configure your application to support light and dark modes by adding the following to the `theme.scss` file:
10
+ ## Palettes
11
+ A palette is a collection of [perceptually uniform colors](https://programmingdesignsystems.com/color/perceptually-uniform-color-spaces/) with consistent contrast ratios. `@daffodil/design`'s color palettes are represented by a Sass map, with each value in a palette called a **hue**.
12
+
13
+ ## Predefined palettes
14
+ `@daffodil/design` offers predefined palettes based on our brand guidelines. You can choose to use our palettes or define your own. No further configuration is needed in your `app-theme.scss` file if you choose to use `@daffodil/design`'s palettes. Below is an example of the structure of a predefined `@daffodil/design` palette.
15
+
16
+ ```scss
17
+ $daff-blue: (
18
+ 10: #ebf1ff,
19
+ 20: #c4d8ff,
20
+ 30: #9dbeff,
21
+ 40: #79a7ff,
22
+ 50: #548fff,
23
+ 60: #1f66ff,
24
+ 70: #093cf3,
25
+ 80: #001bcb,
26
+ 90: #00098a,
27
+ 100: #000033
28
+ );
29
+ ```
30
+
31
+ ### Define your own palettes
32
+ You can define your own palettes by creating a Sass map that matches the example from above. Your Sass maps must have hues from 10 to 100, with a step increment of 10.
33
+
34
+ ### Setting up your custom theme file
35
+ Configure your application to support the custom palettes you created by adding the following to your `app-theme.scss` file:
14
36
 
15
37
  ```scss
16
38
  @use '@daffodil/design/scss/theme' as daff-theme;
39
+ @use 'app-color-palettes' as palette;
17
40
 
18
41
  // These palettes describe the colors that make up the "theme" of the components.
19
42
 
20
- $primary: daff-theme.daff-configure-palette(daff-theme.$daff-blue, 60);
21
- $secondary: daff-theme.daff-configure-palette(daff-theme.$daff-purple, 60);
22
- $tertiary: daff-theme.daff-configure-palette(daff-theme.$daff-turquoise, 60);
43
+ $primary: daff-theme.daff-configure-palette(palette.$app-green, 60);
44
+ $secondary: daff-theme.daff-configure-palette(palette.$app-blue, 60);
45
+ $tertiary: daff-theme.daff-configure-palette(palette.$app-purple, 60);
23
46
 
24
47
  $theme: daff-theme.daff-configure-theme($primary, $secondary, $tertiary, 'light');
25
48
 
26
- $primary-dark: daff-theme.daff-configure-palette(daff-theme.$daff-blue, 50);
27
- $secondary-dark: daff-theme.daff-configure-palette(daff-theme.$daff-purple, 50);
28
- $tertiary-dark: daff-theme.daff-configure-palette(daff-theme.$daff-green, 50);
49
+ $primary-dark: daff-theme.daff-configure-palette(palette.$app-green, 50);
50
+ $secondary-dark: daff-theme.daff-configure-palette(palette.$app-blue, 50);
51
+ $tertiary-dark: daff-theme.daff-configure-palette(palette.$app-purple, 50);
29
52
 
30
53
  $theme-dark: daff-theme.daff-configure-theme($primary-dark, $secondary-dark, $tertiary-dark, 'dark');
31
54
 
@@ -34,26 +57,48 @@ $white: daff-theme.daff-map-deep-get($theme, 'core.white');
34
57
  $gray: daff-theme.daff-map-deep-get($theme, 'core.gray');
35
58
  ```
36
59
 
37
- ### Setting up the styles file
38
- Add `theme.scss` to the `styles.scss` file.
60
+ ### Setting up the styles file with `@daffodil/design`'s theme
61
+ Use `@daffodil/design`'s theme module to the `styles.scss` file:
39
62
 
40
63
  ```scss
41
- @use 'theme' as app-theme;
64
+ @use '@daffodil/design/scss/theme' as daff-theme;
65
+ ```
66
+
67
+ Create classes in the `styles.scss` file to include the `theme` module for `$theme` and `$theme-dark` variables. This will allow you to set a click event on a button to switch between modes. [View this setup in Stackblitz](https://stackblitz.com/edit/daffodil-design-theming-angular-10)
68
+
69
+ ```scss
70
+ @use '@daffodil/design/scss/theme' as daff-theme;
71
+
72
+ .daff-theme-light {
73
+ @include daff-theme.daff-theme(daff-theme.$theme);
74
+ }
75
+
76
+ .daff-theme-dark {
77
+ @include daff-theme.daff-theme(daff-theme.$theme-dark);
78
+ }
79
+ ```
80
+
81
+ ### Setting up the styles file with your custom theme
82
+ Add `app-theme.scss` to the `styles.scss` file:
83
+
84
+ ```scss
85
+ @use '@daffodil/design/scss/theme' as daff-theme;
86
+ @use 'app-theme';
42
87
  ```
43
88
 
44
89
  > These lines include theme variables and functions that will generate the theme CSS and style the components.
45
90
 
46
- Create classes in the `styles.scss` file to include the `daff-theme` mixin for `$theme` and `$theme-dark` variables. This will allow you to set a click event on a button to switch between modes. [View this setup in Stackblitz](https://stackblitz.com/edit/daffodil-design-theming-angular-10)
91
+ Create classes in the `styles.scss` file to include the `theme` module for `$theme` and `$theme-dark` variables. This will allow you to set a click event on a button to switch between modes. [View this setup in Stackblitz](https://stackblitz.com/edit/daffodil-design-theming-angular-10)
47
92
 
48
93
  ```scss
49
94
  @use '@daffodil/design/scss/theme' as daff-theme;
50
- @use 'theme' as app-theme;
95
+ @use 'app-theme';
51
96
 
52
97
  .daff-theme-light {
53
- @include daff-theme.daff-theme(app-theme.$theme);
98
+ @include daff-theme.daff-theme(app-theme.$theme);
54
99
  }
55
100
 
56
101
  .daff-theme-dark {
57
- @include daff-theme.daff-theme(app-theme.$theme-dark);
102
+ @include daff-theme.daff-theme(app-theme.$theme-dark);
58
103
  }
59
- ```
104
+ ```
@@ -0,0 +1,19 @@
1
+ @use 'configure-palette';
2
+ @use 'configure-theme';
3
+ @use 'color-palettes' as palette;
4
+ @use '../core';
5
+
6
+ $primary: configure-palette.daff-configure-palette(palette.$daff-blue, 60);
7
+ $secondary: configure-palette.daff-configure-palette(palette.$daff-purple, 60);
8
+ $tertiary: configure-palette.daff-configure-palette(palette.$daff-turquoise, 60);
9
+
10
+ $theme: configure-theme.daff-configure-theme($primary, $secondary, $tertiary, 'light');
11
+
12
+ $primary-dark: configure-palette.daff-configure-palette(palette.$daff-blue, 50);
13
+ $secondary-dark: configure-palette.daff-configure-palette(palette.$daff-purple, 50);
14
+ $tertiary-dark: configure-palette.daff-configure-palette(palette.$daff-turquoise, 50);
15
+
16
+ $theme-dark: configure-theme.daff-configure-theme($primary-dark, $secondary-dark, $tertiary-dark, 'dark');
17
+
18
+ $black: core.daff-map-deep-get($theme, 'core.black');
19
+ $white: core.daff-map-deep-get($theme, 'core.white');
@@ -4,3 +4,4 @@
4
4
  @forward 'illuminate/illuminate';
5
5
  @forward 'configure-palette';
6
6
  @forward 'configure-theme';
7
+ @forward 'daff-theme';
@@ -1,8 +1,11 @@
1
1
  @use 'sass:map';
2
2
  @use '../core';
3
- @use 'theming';
3
+ @use '../theming';
4
4
 
5
- @mixin daff-root($theme) {
5
+ // @docs
6
+ //
7
+ // Global theme tokens
8
+ @mixin daff-root-theme-tokens($theme) {
6
9
  $base: core.daff-map-deep-get($theme, 'core.base');
7
10
  $base-contrast: core.daff-map-deep-get($theme, 'core.base-contrast');
8
11
  $primary: map.get($theme, primary);
@@ -26,18 +29,18 @@
26
29
  --daff-theme-white: #{$white};
27
30
  --daff-theme-black: #{$black};
28
31
  --daff-theme-gray: #{theming.daff-color($gray)};
32
+ --daff-base-background: #{$base};
33
+ --daff-base-text: #{theming.daff-text-contrast($base)};
29
34
  }
30
35
 
31
- @mixin daff-theme-css-variables($theme, $asRoot: true) {
32
- // @docs
33
- //
34
- // Global theming css variables
35
- @if ($asRoot) {
36
- :root {
37
- @include daff-root($theme);
38
- }
39
- else {
40
- @include daff-root($theme);
36
+ @mixin daff-theme-css-variables($theme) {
37
+ @each $selector in & {
38
+ @if ($selector == null) {
39
+ :root {
40
+ @include daff-root-theme-tokens($theme);
41
+ }
42
+ } @else {
43
+ @include daff-root-theme-tokens($theme);
41
44
  }
42
45
  }
43
46
  }
@@ -0,0 +1,21 @@
1
+ // @docs
2
+ //
3
+ // `utilities` is a utility library that contains common functions,
4
+ // mixins and variables that make writing SCSS stylesheets a bit
5
+ // easier.
6
+ //
7
+ //
8
+ // @note You can import this as often as you like, as it only contains SCSS
9
+ // variables, mixins, and functions; thus it won't effect your final
10
+ // compiled stylesheet size.
11
+ //
12
+ // @usage
13
+ // ```scss
14
+ // @use '@daffodil/design/scss/utilities';
15
+ // ```
16
+
17
+ @forward 'core';
18
+ @forward 'typography';
19
+ @forward 'layout';
20
+ @forward 'interactions';
21
+ @forward 'accessibility';