@daffodil/design 0.39.7 → 0.39.11

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 (281) hide show
  1. package/accordion/examples/daffodil-design-accordion-examples.metadata.json +1 -1
  2. package/article/examples/daffodil-design-article-examples.metadata.json +1 -1
  3. package/atoms/button/button.component.d.ts +5 -0
  4. package/bundles/daffodil-design-accordion-examples.umd.js +4 -2
  5. package/bundles/daffodil-design-accordion-examples.umd.js.map +1 -1
  6. package/bundles/daffodil-design-accordion-examples.umd.min.js +1 -1
  7. package/bundles/daffodil-design-accordion-examples.umd.min.js.map +1 -1
  8. package/bundles/daffodil-design-article-examples.umd.js +22 -11
  9. package/bundles/daffodil-design-article-examples.umd.js.map +1 -1
  10. package/bundles/daffodil-design-article-examples.umd.min.js +1 -1
  11. package/bundles/daffodil-design-article-examples.umd.min.js.map +1 -1
  12. package/bundles/daffodil-design-button-examples.umd.js +7 -0
  13. package/bundles/daffodil-design-button-examples.umd.js.map +1 -1
  14. package/bundles/daffodil-design-button-examples.umd.min.js +1 -1
  15. package/bundles/daffodil-design-button-examples.umd.min.js.map +1 -1
  16. package/bundles/daffodil-design-callout-examples.umd.js +4 -0
  17. package/bundles/daffodil-design-callout-examples.umd.js.map +1 -1
  18. package/bundles/daffodil-design-callout-examples.umd.min.js +1 -1
  19. package/bundles/daffodil-design-callout-examples.umd.min.js.map +1 -1
  20. package/bundles/daffodil-design-card-examples.umd.js +156 -14
  21. package/bundles/daffodil-design-card-examples.umd.js.map +1 -1
  22. package/bundles/daffodil-design-card-examples.umd.min.js +1 -1
  23. package/bundles/daffodil-design-card-examples.umd.min.js.map +1 -1
  24. package/bundles/daffodil-design-checkbox-examples.umd.js +4 -2
  25. package/bundles/daffodil-design-checkbox-examples.umd.js.map +1 -1
  26. package/bundles/daffodil-design-checkbox-examples.umd.min.js +1 -1
  27. package/bundles/daffodil-design-checkbox-examples.umd.min.js.map +1 -1
  28. package/bundles/daffodil-design-container-examples.umd.js +65 -0
  29. package/bundles/daffodil-design-container-examples.umd.js.map +1 -0
  30. package/bundles/daffodil-design-container-examples.umd.min.js +2 -0
  31. package/bundles/daffodil-design-container-examples.umd.min.js.map +1 -0
  32. package/bundles/daffodil-design-hero-examples.umd.js +4 -0
  33. package/bundles/daffodil-design-hero-examples.umd.js.map +1 -1
  34. package/bundles/daffodil-design-hero-examples.umd.min.js +1 -1
  35. package/bundles/daffodil-design-hero-examples.umd.min.js.map +1 -1
  36. package/bundles/daffodil-design-list-examples.umd.js +8 -4
  37. package/bundles/daffodil-design-list-examples.umd.js.map +1 -1
  38. package/bundles/daffodil-design-list-examples.umd.min.js +1 -1
  39. package/bundles/daffodil-design-list-examples.umd.min.js.map +1 -1
  40. package/bundles/daffodil-design-loading-icon-examples.umd.js +4 -2
  41. package/bundles/daffodil-design-loading-icon-examples.umd.js.map +1 -1
  42. package/bundles/daffodil-design-loading-icon-examples.umd.min.js +1 -1
  43. package/bundles/daffodil-design-loading-icon-examples.umd.min.js.map +1 -1
  44. package/bundles/daffodil-design-media-gallery-examples.umd.js +4 -2
  45. package/bundles/daffodil-design-media-gallery-examples.umd.js.map +1 -1
  46. package/bundles/daffodil-design-media-gallery-examples.umd.min.js +1 -1
  47. package/bundles/daffodil-design-media-gallery-examples.umd.min.js.map +1 -1
  48. package/bundles/daffodil-design-modal-examples.umd.js +4 -2
  49. package/bundles/daffodil-design-modal-examples.umd.js.map +1 -1
  50. package/bundles/daffodil-design-modal-examples.umd.min.js +1 -1
  51. package/bundles/daffodil-design-modal-examples.umd.min.js.map +1 -1
  52. package/bundles/daffodil-design-navbar-examples.umd.js +177 -0
  53. package/bundles/daffodil-design-navbar-examples.umd.js.map +1 -0
  54. package/bundles/daffodil-design-navbar-examples.umd.min.js +2 -0
  55. package/bundles/daffodil-design-navbar-examples.umd.min.js.map +1 -0
  56. package/bundles/daffodil-design-quantity-field-examples.umd.js +4 -0
  57. package/bundles/daffodil-design-quantity-field-examples.umd.js.map +1 -1
  58. package/bundles/daffodil-design-quantity-field-examples.umd.min.js +1 -1
  59. package/bundles/daffodil-design-quantity-field-examples.umd.min.js.map +1 -1
  60. package/bundles/daffodil-design-radio-examples.umd.js +2 -1
  61. package/bundles/daffodil-design-radio-examples.umd.js.map +1 -1
  62. package/bundles/daffodil-design-radio-examples.umd.min.js +1 -1
  63. package/bundles/daffodil-design-radio-examples.umd.min.js.map +1 -1
  64. package/bundles/daffodil-design.umd.js +384 -87
  65. package/bundles/daffodil-design.umd.js.map +1 -1
  66. package/bundles/daffodil-design.umd.min.js +2 -2
  67. package/bundles/daffodil-design.umd.min.js.map +1 -1
  68. package/button/examples/daffodil-design-button-examples.metadata.json +1 -1
  69. package/callout/examples/daffodil-design-callout-examples.metadata.json +1 -1
  70. package/card/examples/basic-card/basic-card.component.d.ts +1 -0
  71. package/card/examples/card-orientation/card-orientation.component.d.ts +9 -0
  72. package/card/examples/card-orientation/card-orientation.module.d.ts +2 -0
  73. package/card/examples/card-theming/card-theming.component.d.ts +4 -2
  74. package/card/examples/daffodil-design-card-examples.d.ts +2 -0
  75. package/card/examples/daffodil-design-card-examples.metadata.json +1 -1
  76. package/card/examples/linkable-card/linkable-card.component.d.ts +8 -0
  77. package/card/examples/public_api.d.ts +5 -1
  78. package/card/examples/raised-card/raised-card.component.d.ts +6 -0
  79. package/card/examples/stroked-card/stroked-card.component.d.ts +8 -0
  80. package/card/examples/stroked-card/stroked-card.module.d.ts +2 -0
  81. package/checkbox/examples/daffodil-design-checkbox-examples.metadata.json +1 -1
  82. package/container/examples/container-sizes/container-sizes.component.d.ts +8 -0
  83. package/container/examples/container-sizes/container-sizes.module.d.ts +2 -0
  84. package/container/examples/daffodil-design-container-examples.d.ts +4 -0
  85. package/container/examples/daffodil-design-container-examples.metadata.json +1 -0
  86. package/container/examples/examples.d.ts +2 -0
  87. package/container/examples/index.d.ts +1 -0
  88. package/container/examples/package.json +11 -0
  89. package/container/examples/public_api.d.ts +3 -0
  90. package/core/article-encapsulated/article-encapsulated-mixin.d.ts +15 -0
  91. package/core/article-encapsulated/public_api.d.ts +1 -0
  92. package/core/manage-container-layout/manage-container-layout-mixin.d.ts +17 -0
  93. package/core/manage-container-layout/public_api.d.ts +1 -0
  94. package/core/public_api.d.ts +2 -0
  95. package/daff-theme.scss +293 -128
  96. package/daff-typography.scss +5 -4
  97. package/daff-util.scss +5 -4
  98. package/daffodil-design.metadata.json +1 -1
  99. package/esm2015/accordion/examples/basic-accordion/basic-accordion.component.js +4 -3
  100. package/esm2015/accordion/examples/nav-accordion/nav-accordion.component.js +4 -3
  101. package/esm2015/article/examples/article-blockquote/article-blockquote.component.js +4 -3
  102. package/esm2015/article/examples/article-code-block/article-code-block.component.js +4 -3
  103. package/esm2015/article/examples/article-code-inline/article-code-inline.component.js +4 -3
  104. package/esm2015/article/examples/article-headings/article-headings.component.js +4 -3
  105. package/esm2015/article/examples/article-hr/article-hr.component.js +4 -3
  106. package/esm2015/article/examples/article-lead/article-lead.component.js +4 -3
  107. package/esm2015/article/examples/article-link/article-link.component.js +4 -3
  108. package/esm2015/article/examples/article-meta/article-meta.component.js +4 -3
  109. package/esm2015/article/examples/article-ol/article-ol.component.js +4 -3
  110. package/esm2015/article/examples/article-table/article-table.component.js +4 -3
  111. package/esm2015/article/examples/article-ul/article-ul.component.js +4 -3
  112. package/esm2015/atoms/button/button.component.js +3 -2
  113. package/esm2015/atoms/container/container.component.js +1 -1
  114. package/esm2015/atoms/form/form-field/form-field/form-field.component.js +3 -1
  115. package/esm2015/atoms/form/input/input.component.js +3 -2
  116. package/esm2015/atoms/form/select/select/select.component.js +3 -2
  117. package/esm2015/atoms/image/image.component.js +2 -2
  118. package/esm2015/button/examples/basic-button/basic-button.component.js +3 -2
  119. package/esm2015/button/examples/icon-button/icon-button.component.js +3 -2
  120. package/esm2015/button/examples/raised-button/raised-button.component.js +3 -2
  121. package/esm2015/button/examples/sizeable-button/sizeable-button.component.js +3 -2
  122. package/esm2015/button/examples/statusable-button/statusable-button.component.js +3 -2
  123. package/esm2015/button/examples/stroked-button/stroked-button.component.js +3 -2
  124. package/esm2015/button/examples/underline-button/underline-button.component.js +3 -2
  125. package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.component.js +3 -2
  126. package/esm2015/callout/examples/callout-theming/callout-theming.component.js +3 -2
  127. package/esm2015/callout/examples/callout-with-grid/callout-with-grid.component.js +3 -2
  128. package/esm2015/callout/examples/compact-callout/compact-callout.component.js +3 -2
  129. package/esm2015/card/examples/basic-card/basic-card.component.js +9 -4
  130. package/esm2015/card/examples/basic-card/basic-card.module.js +3 -1
  131. package/esm2015/card/examples/card-orientation/card-orientation.component.js +24 -0
  132. package/esm2015/card/examples/card-orientation/card-orientation.module.js +27 -0
  133. package/esm2015/card/examples/card-theming/card-theming.component.js +15 -5
  134. package/esm2015/card/examples/daffodil-design-card-examples.js +3 -1
  135. package/esm2015/card/examples/linkable-card/linkable-card.component.js +21 -4
  136. package/esm2015/card/examples/linkable-card/linkable-card.module.js +3 -1
  137. package/esm2015/card/examples/public_api.js +7 -1
  138. package/esm2015/card/examples/raised-card/raised-card.component.js +19 -4
  139. package/esm2015/card/examples/raised-card/raised-card.module.js +3 -3
  140. package/esm2015/card/examples/stroked-card/stroked-card.component.js +27 -0
  141. package/esm2015/card/examples/stroked-card/stroked-card.module.js +27 -0
  142. package/esm2015/checkbox/examples/basic-checkbox/basic-checkbox.component.js +4 -3
  143. package/esm2015/checkbox/examples/checkbox-set/checkbox-set.component.js +4 -3
  144. package/esm2015/container/examples/container-sizes/container-sizes.component.js +23 -0
  145. package/esm2015/container/examples/container-sizes/container-sizes.module.js +23 -0
  146. package/esm2015/container/examples/daffodil-design-container-examples.js +5 -0
  147. package/esm2015/container/examples/examples.js +5 -0
  148. package/esm2015/container/examples/index.js +2 -0
  149. package/esm2015/container/examples/public_api.js +4 -0
  150. package/esm2015/core/article-encapsulated/article-encapsulated-mixin.js +12 -0
  151. package/esm2015/core/article-encapsulated/public_api.js +2 -0
  152. package/esm2015/core/manage-container-layout/manage-container-layout-mixin.js +14 -0
  153. package/esm2015/core/manage-container-layout/public_api.js +2 -0
  154. package/esm2015/core/public_api.js +3 -1
  155. package/esm2015/hero/examples/compact-hero/compact-hero.component.js +3 -2
  156. package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.component.js +3 -2
  157. package/esm2015/hero/examples/hero-theming/hero-theming.component.js +3 -2
  158. package/esm2015/hero/examples/hero-with-grid/hero-with-grid.component.js +3 -2
  159. package/esm2015/list/examples/basic-list/basic-list.component.js +4 -3
  160. package/esm2015/list/examples/icon-list/icon-list.component.js +4 -3
  161. package/esm2015/list/examples/multiline-list/multiline-list.component.js +4 -3
  162. package/esm2015/list/examples/nav-list/nav-list.component.js +4 -3
  163. package/esm2015/loading-icon/examples/loading-icon-color/loading-icon-color.component.js +4 -3
  164. package/esm2015/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.js +4 -3
  165. package/esm2015/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.js +4 -3
  166. package/esm2015/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.js +4 -3
  167. package/esm2015/modal/examples/basic-modal/basic-modal.component.js +4 -3
  168. package/esm2015/modal/examples/basic-modal/modal-content.component.js +4 -3
  169. package/esm2015/molecules/accordion/accordion/accordion.component.js +25 -3
  170. package/esm2015/molecules/accordion/accordion-item/accordion-item.component.js +3 -2
  171. package/esm2015/molecules/accordion/nav-accordion-item/nav-accordion-item.component.js +3 -2
  172. package/esm2015/molecules/article/article/article.component.js +4 -3
  173. package/esm2015/molecules/button-set/button-set.component.js +3 -2
  174. package/esm2015/molecules/callout/callout/callout.component.js +5 -3
  175. package/esm2015/molecules/card/card/card.component.js +78 -15
  176. package/esm2015/molecules/card/card-content/card-content.directive.js +18 -0
  177. package/esm2015/molecules/card/card-icon/card-icon.directive.js +18 -0
  178. package/esm2015/molecules/card/card.module.js +9 -3
  179. package/esm2015/molecules/card/public_api.js +4 -2
  180. package/esm2015/molecules/feature/feature/feature.component.js +4 -1
  181. package/esm2015/molecules/hero/hero/hero.component.js +6 -4
  182. package/esm2015/molecules/image-gallery/gallery-image/gallery-image.component.js +7 -3
  183. package/esm2015/molecules/image-gallery/image-gallery/image-gallery.component.js +6 -2
  184. package/esm2015/molecules/image-list/image-list.component.js +3 -2
  185. package/esm2015/molecules/link-set/link-set/link-set.component.js +23 -4
  186. package/esm2015/molecules/list/list/list.component.js +19 -5
  187. package/esm2015/molecules/media-gallery/media-gallery.component.js +31 -5
  188. package/esm2015/molecules/media-gallery/registry/media-gallery.registry.js +22 -8
  189. package/esm2015/molecules/media-gallery/thumbnail/thumbnail.directive.js +2 -2
  190. package/esm2015/molecules/modal/modal-actions/modal-actions.component.js +3 -2
  191. package/esm2015/molecules/navbar/navbar.component.js +11 -9
  192. package/esm2015/molecules/qty-dropdown/qty-dropdown.component.js +6 -1
  193. package/esm2015/molecules/sidebar/sidebar/sidebar.component.js +3 -2
  194. package/esm2015/navbar/examples/basic-navbar/basic-navbar.component.js +13 -0
  195. package/esm2015/navbar/examples/basic-navbar/basic-navbar.module.js +20 -0
  196. package/esm2015/navbar/examples/contained-navbar/contained-navbar.component.js +13 -0
  197. package/esm2015/navbar/examples/contained-navbar/contained-navbar.module.js +20 -0
  198. package/esm2015/navbar/examples/daffodil-design-navbar-examples.js +5 -0
  199. package/esm2015/navbar/examples/examples.js +11 -0
  200. package/esm2015/navbar/examples/index.js +2 -0
  201. package/esm2015/navbar/examples/navbar-theming/navbar-theming.component.js +27 -0
  202. package/esm2015/navbar/examples/navbar-theming/navbar-theming.module.js +21 -0
  203. package/esm2015/navbar/examples/public_api.js +10 -0
  204. package/esm2015/navbar/examples/raised-navbar/raised-navbar.component.js +13 -0
  205. package/esm2015/navbar/examples/raised-navbar/raised-navbar.module.js +19 -0
  206. package/esm2015/quantity-field/examples/basic/basic-quantity-field.component.js +3 -2
  207. package/esm2015/quantity-field/examples/customRange/custom-range-quantity-field.component.js +3 -2
  208. package/esm2015/quantity-field/examples/disabled/disabled-quantity-field.component.js +3 -2
  209. package/esm2015/quantity-field/examples/selectMax/select-max-quantity-field.component.js +3 -2
  210. package/esm2015/radio/examples/basic-radio/basic-radio.component.js +4 -3
  211. package/fesm2015/daffodil-design-accordion-examples.js +5 -3
  212. package/fesm2015/daffodil-design-accordion-examples.js.map +1 -1
  213. package/fesm2015/daffodil-design-article-examples.js +23 -12
  214. package/fesm2015/daffodil-design-article-examples.js.map +1 -1
  215. package/fesm2015/daffodil-design-button-examples.js +8 -1
  216. package/fesm2015/daffodil-design-button-examples.js.map +1 -1
  217. package/fesm2015/daffodil-design-callout-examples.js +5 -1
  218. package/fesm2015/daffodil-design-callout-examples.js.map +1 -1
  219. package/fesm2015/daffodil-design-card-examples.js +150 -12
  220. package/fesm2015/daffodil-design-card-examples.js.map +1 -1
  221. package/fesm2015/daffodil-design-checkbox-examples.js +5 -3
  222. package/fesm2015/daffodil-design-checkbox-examples.js.map +1 -1
  223. package/fesm2015/daffodil-design-container-examples.js +54 -0
  224. package/fesm2015/daffodil-design-container-examples.js.map +1 -0
  225. package/fesm2015/daffodil-design-hero-examples.js +5 -1
  226. package/fesm2015/daffodil-design-hero-examples.js.map +1 -1
  227. package/fesm2015/daffodil-design-list-examples.js +9 -5
  228. package/fesm2015/daffodil-design-list-examples.js.map +1 -1
  229. package/fesm2015/daffodil-design-loading-icon-examples.js +5 -3
  230. package/fesm2015/daffodil-design-loading-icon-examples.js.map +1 -1
  231. package/fesm2015/daffodil-design-media-gallery-examples.js +5 -3
  232. package/fesm2015/daffodil-design-media-gallery-examples.js.map +1 -1
  233. package/fesm2015/daffodil-design-modal-examples.js +5 -3
  234. package/fesm2015/daffodil-design-modal-examples.js.map +1 -1
  235. package/fesm2015/daffodil-design-navbar-examples.js +142 -0
  236. package/fesm2015/daffodil-design-navbar-examples.js.map +1 -0
  237. package/fesm2015/daffodil-design-quantity-field-examples.js +5 -1
  238. package/fesm2015/daffodil-design-quantity-field-examples.js.map +1 -1
  239. package/fesm2015/daffodil-design-radio-examples.js +3 -2
  240. package/fesm2015/daffodil-design-radio-examples.js.map +1 -1
  241. package/fesm2015/daffodil-design.js +326 -82
  242. package/fesm2015/daffodil-design.js.map +1 -1
  243. package/hero/examples/daffodil-design-hero-examples.metadata.json +1 -1
  244. package/list/examples/daffodil-design-list-examples.metadata.json +1 -1
  245. package/loading-icon/examples/daffodil-design-loading-icon-examples.metadata.json +1 -1
  246. package/media-gallery/examples/daffodil-design-media-gallery-examples.metadata.json +1 -1
  247. package/modal/examples/daffodil-design-modal-examples.metadata.json +1 -1
  248. package/molecules/accordion/accordion/accordion.component.d.ts +20 -1
  249. package/molecules/callout/callout/callout.component.d.ts +10 -0
  250. package/molecules/card/card/card.component.d.ts +42 -11
  251. package/molecules/card/card-content/card-content.directive.d.ts +6 -0
  252. package/molecules/card/card-icon/card-icon.directive.d.ts +6 -0
  253. package/molecules/card/public_api.d.ts +3 -1
  254. package/molecules/feature/feature/feature.component.d.ts +3 -0
  255. package/molecules/hero/hero/hero.component.d.ts +11 -1
  256. package/molecules/image-gallery/gallery-image/gallery-image.component.d.ts +3 -0
  257. package/molecules/image-gallery/image-gallery/image-gallery.component.d.ts +3 -0
  258. package/molecules/link-set/link-set/link-set.component.d.ts +20 -1
  259. package/molecules/list/list/list.component.d.ts +19 -3
  260. package/molecules/media-gallery/media-gallery.component.d.ts +24 -2
  261. package/molecules/media-gallery/registry/media-gallery.registry.d.ts +6 -3
  262. package/molecules/media-gallery/thumbnail/thumbnail.directive.d.ts +1 -1
  263. package/molecules/navbar/navbar.component.d.ts +10 -5
  264. package/molecules/qty-dropdown/qty-dropdown.component.d.ts +3 -0
  265. package/navbar/examples/basic-navbar/basic-navbar.component.d.ts +2 -0
  266. package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +2 -0
  267. package/navbar/examples/contained-navbar/contained-navbar.component.d.ts +2 -0
  268. package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +2 -0
  269. package/navbar/examples/daffodil-design-navbar-examples.d.ts +4 -0
  270. package/navbar/examples/daffodil-design-navbar-examples.metadata.json +1 -0
  271. package/navbar/examples/examples.d.ts +2 -0
  272. package/navbar/examples/index.d.ts +1 -0
  273. package/navbar/examples/navbar-theming/navbar-theming.component.d.ts +8 -0
  274. package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +2 -0
  275. package/navbar/examples/package.json +11 -0
  276. package/navbar/examples/public_api.d.ts +9 -0
  277. package/navbar/examples/raised-navbar/raised-navbar.component.d.ts +2 -0
  278. package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +2 -0
  279. package/package.json +2 -2
  280. package/quantity-field/examples/daffodil-design-quantity-field-examples.metadata.json +1 -1
  281. package/radio/examples/daffodil-design-radio-examples.metadata.json +1 -1
package/daff-theme.scss CHANGED
@@ -178,31 +178,31 @@ $error: #dd0000;
178
178
  // 50 apart passes AA level for any size text (except for 10/60)
179
179
 
180
180
  $daff-blue: (
181
- 10: #f1f3fc,
182
- 20: #e4e7fa,
183
- 30: #bec7f7,
184
- 40: #95a6f7,
185
- 50: #6e89fa,
181
+ 10: #ebf1ff,
182
+ 20: #c4d8ff,
183
+ 30: #9dbeff,
184
+ 40: #79a7ff,
185
+ 50: #548fff,
186
186
  60: #1f66ff,
187
- 70: #174fc9,
188
- 80: #183b93,
189
- 90: #132a68,
190
- 100: #0d1b45
187
+ 70: #093cf3,
188
+ 80: #001bcb,
189
+ 90: #00098a,
190
+ 100: #000033
191
191
  );
192
192
 
193
193
  $daff-primary: $daff-blue;
194
194
 
195
195
  $daff-purple: (
196
- 10: #f3f2fc,
197
- 20: #e7e6fa,
198
- 30: #c7c4f7,
199
- 40: #a7a1f7,
200
- 50: #8e84fa,
196
+ 10: #ebebff,
197
+ 20: #d4d3ff,
198
+ 30: #b7b4ff,
199
+ 40: #a19bff,
200
+ 50: #8b82ff,
201
201
  60: #6a57ff,
202
- 70: #4d2df3,
203
- 80: #391dbe,
204
- 90: #281885,
205
- 100: #191057
202
+ 70: #5631f3,
203
+ 80: #3c13bd,
204
+ 90: #2c068a,
205
+ 100: #110033
206
206
  );
207
207
 
208
208
  $daff-accent: $daff-purple;
@@ -247,8 +247,8 @@ $daff-red: (
247
247
  );
248
248
 
249
249
  $daff-bronze: (
250
- 10: #fbf2ec,
251
- 20: #f7e1d3,
250
+ 10: #fcf2eb,
251
+ 20: #f7dac6,
252
252
  30: #f2c093,
253
253
  40: #e49d40,
254
254
  50: #d2801a,
@@ -260,14 +260,14 @@ $daff-bronze: (
260
260
  );
261
261
 
262
262
  $daff-green: (
263
- 10: #dafcde,
264
- 20: #a9fbb5,
265
- 30: #4ee56e,
266
- 40: #35c457,
267
- 50: #1da943,
263
+ 10: #c4ffcc,
264
+ 20: #6aff86,
265
+ 30: #00db57,
266
+ 40: #13c049,
267
+ 50: #00aa3c,
268
268
  60: #00852e,
269
- 70: #0e6726,
270
- 80: #0f4c1e,
269
+ 70: #006b23,
270
+ 80: #004b17,
271
271
  90: #0c3515,
272
272
  100: #07230d,
273
273
  );
@@ -1215,31 +1215,31 @@ $error: #dd0000;
1215
1215
  // 50 apart passes AA level for any size text (except for 10/60)
1216
1216
 
1217
1217
  $daff-blue: (
1218
- 10: #f1f3fc,
1219
- 20: #e4e7fa,
1220
- 30: #bec7f7,
1221
- 40: #95a6f7,
1222
- 50: #6e89fa,
1218
+ 10: #ebf1ff,
1219
+ 20: #c4d8ff,
1220
+ 30: #9dbeff,
1221
+ 40: #79a7ff,
1222
+ 50: #548fff,
1223
1223
  60: #1f66ff,
1224
- 70: #174fc9,
1225
- 80: #183b93,
1226
- 90: #132a68,
1227
- 100: #0d1b45
1224
+ 70: #093cf3,
1225
+ 80: #001bcb,
1226
+ 90: #00098a,
1227
+ 100: #000033
1228
1228
  );
1229
1229
 
1230
1230
  $daff-primary: $daff-blue;
1231
1231
 
1232
1232
  $daff-purple: (
1233
- 10: #f3f2fc,
1234
- 20: #e7e6fa,
1235
- 30: #c7c4f7,
1236
- 40: #a7a1f7,
1237
- 50: #8e84fa,
1233
+ 10: #ebebff,
1234
+ 20: #d4d3ff,
1235
+ 30: #b7b4ff,
1236
+ 40: #a19bff,
1237
+ 50: #8b82ff,
1238
1238
  60: #6a57ff,
1239
- 70: #4d2df3,
1240
- 80: #391dbe,
1241
- 90: #281885,
1242
- 100: #191057
1239
+ 70: #5631f3,
1240
+ 80: #3c13bd,
1241
+ 90: #2c068a,
1242
+ 100: #110033
1243
1243
  );
1244
1244
 
1245
1245
  $daff-accent: $daff-purple;
@@ -1284,8 +1284,8 @@ $daff-red: (
1284
1284
  );
1285
1285
 
1286
1286
  $daff-bronze: (
1287
- 10: #fbf2ec,
1288
- 20: #f7e1d3,
1287
+ 10: #fcf2eb,
1288
+ 20: #f7dac6,
1289
1289
  30: #f2c093,
1290
1290
  40: #e49d40,
1291
1291
  50: #d2801a,
@@ -1297,14 +1297,14 @@ $daff-bronze: (
1297
1297
  );
1298
1298
 
1299
1299
  $daff-green: (
1300
- 10: #dafcde,
1301
- 20: #a9fbb5,
1302
- 30: #4ee56e,
1303
- 40: #35c457,
1304
- 50: #1da943,
1300
+ 10: #c4ffcc,
1301
+ 20: #6aff86,
1302
+ 30: #00db57,
1303
+ 40: #13c049,
1304
+ 50: #00aa3c,
1305
1305
  60: #00852e,
1306
- 70: #0e6726,
1307
- 80: #0f4c1e,
1306
+ 70: #006b23,
1307
+ 80: #004b17,
1308
1308
  90: #0c3515,
1309
1309
  100: #07230d,
1310
1310
  );
@@ -1850,31 +1850,31 @@ $error: #dd0000;
1850
1850
  // 50 apart passes AA level for any size text (except for 10/60)
1851
1851
 
1852
1852
  $daff-blue: (
1853
- 10: #f1f3fc,
1854
- 20: #e4e7fa,
1855
- 30: #bec7f7,
1856
- 40: #95a6f7,
1857
- 50: #6e89fa,
1853
+ 10: #ebf1ff,
1854
+ 20: #c4d8ff,
1855
+ 30: #9dbeff,
1856
+ 40: #79a7ff,
1857
+ 50: #548fff,
1858
1858
  60: #1f66ff,
1859
- 70: #174fc9,
1860
- 80: #183b93,
1861
- 90: #132a68,
1862
- 100: #0d1b45
1859
+ 70: #093cf3,
1860
+ 80: #001bcb,
1861
+ 90: #00098a,
1862
+ 100: #000033
1863
1863
  );
1864
1864
 
1865
1865
  $daff-primary: $daff-blue;
1866
1866
 
1867
1867
  $daff-purple: (
1868
- 10: #f3f2fc,
1869
- 20: #e7e6fa,
1870
- 30: #c7c4f7,
1871
- 40: #a7a1f7,
1872
- 50: #8e84fa,
1868
+ 10: #ebebff,
1869
+ 20: #d4d3ff,
1870
+ 30: #b7b4ff,
1871
+ 40: #a19bff,
1872
+ 50: #8b82ff,
1873
1873
  60: #6a57ff,
1874
- 70: #4d2df3,
1875
- 80: #391dbe,
1876
- 90: #281885,
1877
- 100: #191057
1874
+ 70: #5631f3,
1875
+ 80: #3c13bd,
1876
+ 90: #2c068a,
1877
+ 100: #110033
1878
1878
  );
1879
1879
 
1880
1880
  $daff-accent: $daff-purple;
@@ -1919,8 +1919,8 @@ $daff-red: (
1919
1919
  );
1920
1920
 
1921
1921
  $daff-bronze: (
1922
- 10: #fbf2ec,
1923
- 20: #f7e1d3,
1922
+ 10: #fcf2eb,
1923
+ 20: #f7dac6,
1924
1924
  30: #f2c093,
1925
1925
  40: #e49d40,
1926
1926
  50: #d2801a,
@@ -1932,14 +1932,14 @@ $daff-bronze: (
1932
1932
  );
1933
1933
 
1934
1934
  $daff-green: (
1935
- 10: #dafcde,
1936
- 20: #a9fbb5,
1937
- 30: #4ee56e,
1938
- 40: #35c457,
1939
- 50: #1da943,
1935
+ 10: #c4ffcc,
1936
+ 20: #6aff86,
1937
+ 30: #00db57,
1938
+ 40: #13c049,
1939
+ 50: #00aa3c,
1940
1940
  60: #00852e,
1941
- 70: #0e6726,
1942
- 80: #0f4c1e,
1941
+ 70: #006b23,
1942
+ 80: #004b17,
1943
1943
  90: #0c3515,
1944
1944
  100: #07230d,
1945
1945
  );
@@ -2537,7 +2537,7 @@ $supported-theme-types: (
2537
2537
  &.daff-theme-contrast {
2538
2538
  @include daff-icon-button-theme-variant(
2539
2539
  $base-contrast,
2540
- daff-illuminate($base-contrast, $daff-gray, 1)
2540
+ daff-illuminate($base-contrast, $daff-gray, 1),
2541
2541
  daff-illuminate($base-contrast, $daff-gray, 2)
2542
2542
  );
2543
2543
  }
@@ -2981,6 +2981,15 @@ $supported-theme-types: (
2981
2981
  }
2982
2982
  }
2983
2983
 
2984
+ @mixin stopsArticleCascade($selector...) {
2985
+ #{$selector} {
2986
+ &:not(.daff-ae *, .daff-ae) {
2987
+ @content;
2988
+ }
2989
+ }
2990
+ }
2991
+
2992
+
2984
2993
  @mixin daff-article-theme($theme) {
2985
2994
  $primary: map-get($theme, primary);
2986
2995
  $secondary: map-get($theme, secondary);
@@ -2991,45 +3000,54 @@ $supported-theme-types: (
2991
3000
  $black: daff-map-deep-get($theme, 'core.black');
2992
3001
  $gray: daff-configure-palette($daff-gray, 60);
2993
3002
 
2994
- $text-color: daff-illuminate($base-contrast, $daff-gray, 2);
2995
- $table-border-color: daff-illuminate($base, $daff-gray, 2);
3003
+ $text-color: daff-illuminate($base-contrast, $gray, 2);
3004
+ $table-border-color: daff-illuminate($base, $gray, 2);
2996
3005
 
2997
3006
  .daff-article {
2998
3007
  &__meta {
2999
- color: daff-illuminate($base-contrast, $daff-gray, 3);
3008
+ color: daff-illuminate($base-contrast, $gray, 3);
3009
+ }
3010
+
3011
+ @include stopsArticleCascade(a) {
3012
+ color: daff-color($primary);
3013
+ }
3014
+
3015
+ @include stopsArticleCascade(h1, h2, h3, h4, h5, h6) {
3016
+ color: $text-color;
3000
3017
  }
3001
3018
 
3002
- > p {
3019
+ @include stopsArticleCascade(p) {
3003
3020
  color: $text-color;
3004
3021
  }
3005
3022
 
3006
3023
  pre {
3007
- background: daff-illuminate($base, $daff-gray, 1);
3024
+ background: daff-illuminate($base, $gray, 1);
3008
3025
  color: $text-color;
3009
3026
 
3010
3027
  code {
3011
- background: daff-illuminate($base, $daff-gray, 1);
3028
+ background: daff-illuminate($base, $gray, 1);
3012
3029
  color: $text-color;
3013
3030
  }
3014
3031
  }
3015
3032
 
3016
3033
  code {
3017
- background: daff-illuminate($base, $daff-gray, 1);
3034
+ background: daff-illuminate($base, $gray, 1);
3018
3035
  color: $text-color;
3019
3036
  }
3020
3037
 
3021
3038
  hr {
3022
- background: daff-illuminate($base, $daff-gray, 2);
3039
+ background: daff-illuminate($base, $gray, 2);
3023
3040
  }
3024
3041
 
3025
3042
  blockquote {
3026
- border-left: 4px solid $base-contrast;
3043
+ background: daff-illuminate($base, $primary, 1);
3044
+ border-left: 4px solid daff-illuminate($base, $primary, 5);
3027
3045
  color: $text-color;
3028
3046
  }
3029
3047
 
3030
3048
  table {
3031
3049
  th {
3032
- background: daff-illuminate($base, $daff-gray, 1);
3050
+ background: daff-illuminate($base, $gray, 1);
3033
3051
  border: 1px solid $table-border-color;
3034
3052
  }
3035
3053
 
@@ -3087,6 +3105,38 @@ $supported-theme-types: (
3087
3105
  }
3088
3106
  }
3089
3107
 
3108
+ @mixin daff-basic-card-theme-variant($color) {
3109
+ background: $color;
3110
+ color: daff-text-contrast($color);
3111
+ }
3112
+
3113
+ @mixin daff-linkable-basic-card-theme-variant(
3114
+ $hover-color,
3115
+ $active-color,
3116
+ $shadow-color
3117
+ ) {
3118
+ &:hover,
3119
+ &:focus {
3120
+ background: $hover-color;
3121
+ color: daff-text-contrast($hover-color);
3122
+ }
3123
+
3124
+ &:focus {
3125
+ outline: none;
3126
+ box-shadow: 0 0 0 4px rgba($shadow-color, 0.3);
3127
+ }
3128
+
3129
+ &:active {
3130
+ background: $active-color;
3131
+ color: daff-text-contrast($active-color);
3132
+ }
3133
+ }
3134
+
3135
+ @mixin daff-stroked-card-theme-variant($color) {
3136
+ border: 1px solid $color;
3137
+ }
3138
+
3139
+
3090
3140
  @mixin daff-card-theme($theme) {
3091
3141
  $primary: map-get($theme, primary);
3092
3142
  $secondary: map-get($theme, secondary);
@@ -3095,49 +3145,164 @@ $supported-theme-types: (
3095
3145
  $base-contrast: daff-map-deep-get($theme, 'core.base-contrast');
3096
3146
  $white: daff-map-deep-get($theme, 'core.white');
3097
3147
  $black: daff-map-deep-get($theme, 'core.black');
3148
+ $gray: daff-configure-palette($daff-gray, 60);
3098
3149
 
3099
3150
  .daff-card {
3100
3151
  $root: &;
3101
- background: daff-illuminate($base, $daff-gray, 1);
3102
- color: daff-text-contrast(daff-illuminate($base, $daff-gray, 1));
3152
+ @include daff-basic-card-theme-variant(
3153
+ daff-illuminate($base, $daff-gray, 1)
3154
+ );
3103
3155
 
3104
- &--raised {
3105
- box-shadow: 0 14px 28px 0 rgba($black, 0.12), 0 4px 12px rgba($black, 0.06);
3156
+ &.daff-primary {
3157
+ @include daff-basic-card-theme-variant(daff-color($primary));
3158
+ }
3159
+
3160
+ &.daff-secondary {
3161
+ @include daff-basic-card-theme-variant(daff-color($secondary));
3162
+ }
3163
+
3164
+ &.daff-tertiary {
3165
+ @include daff-basic-card-theme-variant(daff-color($tertiary));
3166
+ }
3167
+
3168
+ &.daff-theme {
3169
+ @include daff-basic-card-theme-variant($base);
3170
+ }
3171
+
3172
+ &.daff-theme-contrast {
3173
+ @include daff-basic-card-theme-variant($base-contrast);
3174
+ }
3175
+
3176
+ &.daff-black {
3177
+ @include daff-basic-card-theme-variant($black);
3106
3178
  }
3107
3179
 
3180
+ &.daff-white {
3181
+ @include daff-basic-card-theme-variant($white);
3182
+ }
3183
+ }
3184
+
3185
+ .daff-raised-card {
3186
+ box-shadow: 0 6px 12px -4px rgba($black, 0.12),
3187
+ 0 4px 8px -2px rgba($black, 0.06);
3188
+ }
3189
+
3190
+ .daff-stroked-card {
3191
+ @include daff-stroked-card-theme-variant(
3192
+ daff-illuminate($base, $daff-gray, 2)
3193
+ );
3194
+
3108
3195
  &.daff-primary {
3109
- background: daff-color($primary);
3110
- color: daff-text-contrast(daff-color($primary));
3196
+ @include daff-stroked-card-theme-variant(
3197
+ daff-illuminate($base-contrast, $primary, 3)
3198
+ );
3111
3199
  }
3112
3200
 
3113
3201
  &.daff-secondary {
3114
- background: daff-color($secondary);
3115
- color: daff-text-contrast(daff-color($secondary));
3202
+ @include daff-stroked-card-theme-variant(
3203
+ daff-illuminate($base-contrast, $secondary, 3)
3204
+ );
3116
3205
  }
3117
3206
 
3118
3207
  &.daff-tertiary {
3119
- background: daff-color($tertiary);
3120
- color: daff-text-contrast(daff-color($tertiary));
3208
+ @include daff-stroked-card-theme-variant(
3209
+ daff-illuminate($base-contrast, $tertiary, 3)
3210
+ );
3121
3211
  }
3122
3212
 
3123
3213
  &.daff-theme {
3124
- background: $base;
3125
- color: daff-text-contrast($base);
3214
+ @include daff-stroked-card-theme-variant(
3215
+ daff-illuminate($base, $daff-gray, 2)
3216
+ );
3126
3217
  }
3127
3218
 
3128
3219
  &.daff-theme-contrast {
3129
- background: $base-contrast;
3130
- color: daff-text-contrast($base-contrast);
3220
+ @include daff-stroked-card-theme-variant(
3221
+ daff-illuminate($base-contrast, $daff-gray, 2)
3222
+ );
3131
3223
  }
3132
3224
 
3133
3225
  &.daff-black {
3134
- background: $black;
3135
- color: daff-text-contrast($black);
3226
+ @include daff-stroked-card-theme-variant(daff-color($gray, 90));
3136
3227
  }
3137
3228
 
3138
3229
  &.daff-white {
3139
- background: $white;
3140
- color: daff-text-contrast($white);
3230
+ @include daff-stroked-card-theme-variant(daff-color($gray, 20));
3231
+ }
3232
+ }
3233
+
3234
+ a {
3235
+ &.daff-card {
3236
+ @include daff-linkable-basic-card-theme-variant(
3237
+ daff-illuminate($base, $daff-gray, 2),
3238
+ daff-illuminate($base, $daff-gray, 3),
3239
+ daff-color($gray)
3240
+ );
3241
+
3242
+ &.daff-primary {
3243
+ @include daff-linkable-basic-card-theme-variant(
3244
+ daff-color($primary, 70),
3245
+ daff-color($primary, 80),
3246
+ daff-color($primary)
3247
+ );
3248
+ }
3249
+
3250
+ &.daff-secondary {
3251
+ @include daff-linkable-basic-card-theme-variant(
3252
+ daff-color($secondary, 70),
3253
+ daff-color($secondary, 80),
3254
+ daff-color($secondary)
3255
+ );
3256
+ }
3257
+
3258
+ &.daff-tertiary {
3259
+ @include daff-linkable-basic-card-theme-variant(
3260
+ daff-color($tertiary, 70),
3261
+ daff-color($tertiary, 80),
3262
+ daff-color($tertiary)
3263
+ );
3264
+ }
3265
+
3266
+ &.daff-theme {
3267
+ @include daff-linkable-basic-card-theme-variant(
3268
+ daff-illuminate($base, $daff-gray, 1),
3269
+ daff-illuminate($base, $daff-gray, 2),
3270
+ daff-color($gray)
3271
+ );
3272
+ }
3273
+
3274
+ &.daff-theme-contrast {
3275
+ @include daff-linkable-basic-card-theme-variant(
3276
+ daff-illuminate($base-contrast, $daff-gray, 1),
3277
+ daff-illuminate($base-contrast, $daff-gray, 2),
3278
+ daff-color($gray)
3279
+ );
3280
+ }
3281
+
3282
+ &.daff-black {
3283
+ @include daff-linkable-basic-card-theme-variant(
3284
+ daff-color($gray, 100),
3285
+ daff-color($gray, 90),
3286
+ daff-color($gray)
3287
+ );
3288
+ }
3289
+
3290
+ &.daff-white {
3291
+ @include daff-linkable-basic-card-theme-variant(
3292
+ daff-color($gray, 10),
3293
+ daff-color($gray, 20),
3294
+ daff-color($gray)
3295
+ );
3296
+ }
3297
+ }
3298
+
3299
+ &.daff-raised-card {
3300
+ &:hover,
3301
+ &:focus,
3302
+ &:active {
3303
+ box-shadow: 0 16px 32px -4px rgba($black, 0.12),
3304
+ 0 8px 12px -2px rgba($black, 0.06);
3305
+ }
3141
3306
  }
3142
3307
  }
3143
3308
  }
@@ -3285,44 +3450,44 @@ $supported-theme-types: (
3285
3450
  $secondary: map-get($theme, secondary);
3286
3451
  $tertiary: map-get($theme, tertiary);
3287
3452
  $base: daff-map-deep-get($theme, 'core.base');
3453
+ $base-contrast: daff-map-deep-get($theme, 'core.base-contrast');
3288
3454
  $white: daff-map-deep-get($theme, 'core.white');
3289
3455
  $black: daff-map-deep-get($theme, 'core.black');
3456
+ $gray: daff-configure-palette($daff-gray, 60);
3290
3457
 
3291
3458
  .daff-navbar {
3292
- @include daff-navbar-theme-variant($base);
3459
+ @include daff-navbar-theme-variant(daff-illuminate($base, $daff-gray, 1));
3293
3460
 
3294
- &--shadowed {
3295
- box-shadow: 0 3px 10px rgba($black, 0.08);
3461
+ &--raised {
3462
+ box-shadow: 0 4px 10px rgba($black, 0.08);
3296
3463
  }
3297
3464
 
3298
3465
  &.daff-primary {
3299
- @include daff-navbar-theme-variant(
3300
- daff-color($primary)
3301
- );
3466
+ @include daff-navbar-theme-variant(daff-color($primary));
3302
3467
  }
3303
3468
 
3304
3469
  &.daff-secondary {
3305
- @include daff-navbar-theme-variant(
3306
- daff-color($secondary)
3307
- );
3470
+ @include daff-navbar-theme-variant(daff-color($secondary));
3308
3471
  }
3309
3472
 
3310
3473
  &.daff-tertiary {
3311
- @include daff-navbar-theme-variant(
3312
- daff-color($tertiary)
3313
- );
3474
+ @include daff-navbar-theme-variant(daff-color($tertiary));
3314
3475
  }
3315
3476
 
3316
3477
  &.daff-black {
3317
- @include daff-navbar-theme-variant(
3318
- $black
3319
- );
3478
+ @include daff-navbar-theme-variant($black);
3320
3479
  }
3321
3480
 
3322
3481
  &.daff-white {
3323
- @include daff-navbar-theme-variant(
3324
- $white
3325
- );
3482
+ @include daff-navbar-theme-variant($white);
3483
+ }
3484
+
3485
+ &.daff-theme {
3486
+ @include daff-navbar-theme-variant($base);
3487
+ }
3488
+
3489
+ &.daff-theme-contrast {
3490
+ @include daff-navbar-theme-variant($base-contrast);
3326
3491
  }
3327
3492
  }
3328
3493
  }
@@ -168,21 +168,22 @@ $small-font-size: 0.875rem;
168
168
 
169
169
  @mixin body-xs() {
170
170
  font-size: 0.875rem;
171
+ font-weight: 400;
171
172
  line-height: 1.25rem;
172
173
  }
173
174
 
174
175
  @mixin subheading() {
175
- @include embolden();
176
176
  @include uppercase();
177
- font-size: 0.75rem;
177
+ font-size: 0.875rem;
178
+ font-weight: 600;
179
+ letter-spacing: 0.03125rem;
178
180
  line-height: 1rem;
179
- letter-spacing: 1px;
180
181
  }
181
182
 
182
183
  @mixin caption() {
183
184
  font-size: 0.75rem;
184
185
  line-height: 1rem;
185
- font-weight: normal;
186
+ font-weight: 400;
186
187
  }
187
188
 
188
189
 
package/daff-util.scss CHANGED
@@ -341,21 +341,22 @@ $breakpoints: (
341
341
 
342
342
  @mixin body-xs() {
343
343
  font-size: 0.875rem;
344
+ font-weight: 400;
344
345
  line-height: 1.25rem;
345
346
  }
346
347
 
347
348
  @mixin subheading() {
348
- @include embolden();
349
349
  @include uppercase();
350
- font-size: 0.75rem;
350
+ font-size: 0.875rem;
351
+ font-weight: 600;
352
+ letter-spacing: 0.03125rem;
351
353
  line-height: 1rem;
352
- letter-spacing: 1px;
353
354
  }
354
355
 
355
356
  @mixin caption() {
356
357
  font-size: 0.75rem;
357
358
  line-height: 1rem;
358
- font-weight: normal;
359
+ font-weight: 400;
359
360
  }
360
361
 
361
362