@daffodil/design 0.39.9 → 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 (77) hide show
  1. package/atoms/button/button.component.d.ts +5 -0
  2. package/bundles/daffodil-design-card-examples.umd.js +2 -2
  3. package/bundles/daffodil-design-card-examples.umd.js.map +1 -1
  4. package/bundles/daffodil-design-card-examples.umd.min.js +1 -1
  5. package/bundles/daffodil-design-card-examples.umd.min.js.map +1 -1
  6. package/bundles/daffodil-design-navbar-examples.umd.js +177 -0
  7. package/bundles/daffodil-design-navbar-examples.umd.js.map +1 -0
  8. package/bundles/daffodil-design-navbar-examples.umd.min.js +2 -0
  9. package/bundles/daffodil-design-navbar-examples.umd.min.js.map +1 -0
  10. package/bundles/daffodil-design.umd.js +132 -32
  11. package/bundles/daffodil-design.umd.js.map +1 -1
  12. package/bundles/daffodil-design.umd.min.js +1 -1
  13. package/bundles/daffodil-design.umd.min.js.map +1 -1
  14. package/card/examples/daffodil-design-card-examples.metadata.json +1 -1
  15. package/core/article-encapsulated/article-encapsulated-mixin.d.ts +15 -0
  16. package/core/article-encapsulated/public_api.d.ts +1 -0
  17. package/core/public_api.d.ts +1 -0
  18. package/daff-theme.scss +113 -111
  19. package/daffodil-design.metadata.json +1 -1
  20. package/esm2015/atoms/button/button.component.js +3 -2
  21. package/esm2015/card/examples/basic-card/basic-card.component.js +2 -2
  22. package/esm2015/card/examples/linkable-card/linkable-card.component.js +1 -1
  23. package/esm2015/core/article-encapsulated/article-encapsulated-mixin.js +12 -0
  24. package/esm2015/core/article-encapsulated/public_api.js +2 -0
  25. package/esm2015/core/public_api.js +2 -1
  26. package/esm2015/molecules/accordion/accordion/accordion.component.js +24 -3
  27. package/esm2015/molecules/article/article/article.component.js +1 -1
  28. package/esm2015/molecules/callout/callout/callout.component.js +3 -2
  29. package/esm2015/molecules/card/card/card.component.js +4 -3
  30. package/esm2015/molecules/feature/feature/feature.component.js +4 -1
  31. package/esm2015/molecules/hero/hero/hero.component.js +4 -3
  32. package/esm2015/molecules/link-set/link-set/link-set.component.js +23 -4
  33. package/esm2015/molecules/list/list/list.component.js +19 -5
  34. package/esm2015/molecules/media-gallery/media-gallery.component.js +20 -4
  35. package/esm2015/molecules/navbar/navbar.component.js +9 -8
  36. package/esm2015/navbar/examples/basic-navbar/basic-navbar.component.js +13 -0
  37. package/esm2015/navbar/examples/basic-navbar/basic-navbar.module.js +20 -0
  38. package/esm2015/navbar/examples/contained-navbar/contained-navbar.component.js +13 -0
  39. package/esm2015/navbar/examples/contained-navbar/contained-navbar.module.js +20 -0
  40. package/esm2015/navbar/examples/daffodil-design-navbar-examples.js +5 -0
  41. package/esm2015/navbar/examples/examples.js +11 -0
  42. package/esm2015/navbar/examples/index.js +2 -0
  43. package/esm2015/navbar/examples/navbar-theming/navbar-theming.component.js +27 -0
  44. package/esm2015/navbar/examples/navbar-theming/navbar-theming.module.js +21 -0
  45. package/esm2015/navbar/examples/public_api.js +10 -0
  46. package/esm2015/navbar/examples/raised-navbar/raised-navbar.component.js +13 -0
  47. package/esm2015/navbar/examples/raised-navbar/raised-navbar.module.js +19 -0
  48. package/fesm2015/daffodil-design-card-examples.js +2 -2
  49. package/fesm2015/daffodil-design-card-examples.js.map +1 -1
  50. package/fesm2015/daffodil-design-navbar-examples.js +142 -0
  51. package/fesm2015/daffodil-design-navbar-examples.js.map +1 -0
  52. package/fesm2015/daffodil-design.js +105 -23
  53. package/fesm2015/daffodil-design.js.map +1 -1
  54. package/molecules/accordion/accordion/accordion.component.d.ts +20 -1
  55. package/molecules/callout/callout/callout.component.d.ts +5 -0
  56. package/molecules/card/card/card.component.d.ts +5 -0
  57. package/molecules/feature/feature/feature.component.d.ts +3 -0
  58. package/molecules/hero/hero/hero.component.d.ts +6 -1
  59. package/molecules/link-set/link-set/link-set.component.d.ts +20 -1
  60. package/molecules/list/list/list.component.d.ts +19 -3
  61. package/molecules/media-gallery/media-gallery.component.d.ts +20 -3
  62. package/molecules/navbar/navbar.component.d.ts +5 -5
  63. package/navbar/examples/basic-navbar/basic-navbar.component.d.ts +2 -0
  64. package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +2 -0
  65. package/navbar/examples/contained-navbar/contained-navbar.component.d.ts +2 -0
  66. package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +2 -0
  67. package/navbar/examples/daffodil-design-navbar-examples.d.ts +4 -0
  68. package/navbar/examples/daffodil-design-navbar-examples.metadata.json +1 -0
  69. package/navbar/examples/examples.d.ts +2 -0
  70. package/navbar/examples/index.d.ts +1 -0
  71. package/navbar/examples/navbar-theming/navbar-theming.component.d.ts +8 -0
  72. package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +2 -0
  73. package/navbar/examples/package.json +11 -0
  74. package/navbar/examples/public_api.d.ts +9 -0
  75. package/navbar/examples/raised-navbar/raised-navbar.component.d.ts +2 -0
  76. package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +2 -0
  77. package/package.json +2 -2
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"CARD_EXAMPLES":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵf"}],"BasicCardModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":17,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffCardModule","line":18,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffImageModule","line":19,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffButtonModule","line":20,"character":4},{"__symbolic":"reference","module":"@fortawesome/angular-fontawesome","name":"FontAwesomeModule","line":22,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"CardOrientationModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":13,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵf"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":18,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":19,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffCardModule","line":20,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffImageModule","line":21,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffButtonModule","line":22,"character":4},{"__symbolic":"reference","module":"@fortawesome/angular-fontawesome","name":"FontAwesomeModule","line":23,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵf"}]}]}],"members":{}},"CardThemingModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵb"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":16,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":17,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffCardModule","line":18,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffImageModule","line":19,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵb"}]}]}],"members":{}},"LinkableCardModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":13,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵc"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":18,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":19,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":20,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffCardModule","line":21,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffImageModule","line":22,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffButtonModule","line":23,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵc"}]}]}],"members":{}},"RaisedCardModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵd"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":17,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":18,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffCardModule","line":20,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffImageModule","line":21,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffButtonModule","line":22,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵd"}]}]}],"members":{}},"StrokedCardModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":13,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵe"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":18,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":19,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":20,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffCardModule","line":22,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffImageModule","line":23,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffButtonModule","line":24,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵe"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"basic-card","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":11,"character":19},"member":"OnPush"},"template":"<daff-card>\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n <fa-icon daffCardIcon [icon]=\"faMapMarked\"></fa-icon>\n <div daffCardTagline>Basel, Switzerland</div>\n <h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n <p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n </div>\n <div daffCardActions>\n <button daff-button color=\"theme-contrast\">Learn More</button>\n </div>\n</daff-card>\n","styles":["daff-card{max-width:480px}"]}]}],"members":{}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"card-theming","styles":["\n daff-card {\n max-width: 480px;\n }\n "],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":15,"character":19},"member":"OnPush"},"template":"<daff-card [color]=\"colorControl.value\">\n <div daffCardTagline>Card Tagline</div>\n <div daffCardTitle>Title</div>\n <div daffCardContent>\n <p>Cards are themable.</p>\n </div>\n</daff-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>"}]}],"members":{}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"linkable-card","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":11,"character":19},"member":"OnPush"},"template":"<a daff-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"basicColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"basicColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>\n\n<a daff-raised-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"raisedColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"strokedColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>\n\n<a daff-stroked-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"strokedColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"strokedColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>","styles":["a daff-card,a daff-raised-card,a daff-stroked-card{max-width:480px}"]}]}],"members":{}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"raised-card","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":11,"character":19},"member":"OnPush"},"template":"<daff-raised-card [color]=\"colorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</daff-raised-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>","styles":["daff-raised-card{max-width:480px}"]}]}],"members":{}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"stroked-card","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":11,"character":19},"member":"OnPush"},"template":"<daff-stroked-card [color]=\"colorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</daff-stroked-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>","styles":[":host{display:block;max-width:340px}"]}]}],"members":{}},"ɵf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"card-orientation","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":12,"character":19},"member":"OnPush"},"template":"<daff-card [orientation]=\"orientationControl.value\">\n <daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n <fa-icon daffCardIcon [icon]=\"faMapMarked\"></fa-icon>\n <div daffCardTagline>Basel, Switzerland</div>\n <h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n <p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n </div>\n\t<div daffCardActions>\n <button daff-button color=\"theme-contrast\">Learn More</button>\n </div>\n</daff-card>\n\n<select [formControl]=\"orientationControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>","styles":[".daff-card--vertical{max-width:560px}"]}]}],"members":{}}},"origins":{"CARD_EXAMPLES":"./public_api","BasicCardModule":"./basic-card/basic-card.module","CardOrientationModule":"./card-orientation/card-orientation.module","CardThemingModule":"./card-theming/card-theming.module","LinkableCardModule":"./linkable-card/linkable-card.module","RaisedCardModule":"./raised-card/raised-card.module","StrokedCardModule":"./stroked-card/stroked-card.module","ɵa":"./basic-card/basic-card.component","ɵb":"./card-theming/card-theming.component","ɵc":"./linkable-card/linkable-card.component","ɵd":"./raised-card/raised-card.component","ɵe":"./stroked-card/stroked-card.component","ɵf":"./card-orientation/card-orientation.component"},"importAs":"@daffodil/design/card/examples"}
1
+ {"__symbolic":"module","version":4,"metadata":{"CARD_EXAMPLES":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵf"}],"BasicCardModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":17,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffCardModule","line":18,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffImageModule","line":19,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffButtonModule","line":20,"character":4},{"__symbolic":"reference","module":"@fortawesome/angular-fontawesome","name":"FontAwesomeModule","line":22,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"CardOrientationModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":13,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵf"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":18,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":19,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffCardModule","line":20,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffImageModule","line":21,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffButtonModule","line":22,"character":4},{"__symbolic":"reference","module":"@fortawesome/angular-fontawesome","name":"FontAwesomeModule","line":23,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵf"}]}]}],"members":{}},"CardThemingModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵb"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":16,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":17,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffCardModule","line":18,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffImageModule","line":19,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵb"}]}]}],"members":{}},"LinkableCardModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":13,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵc"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":18,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":19,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":20,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffCardModule","line":21,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffImageModule","line":22,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffButtonModule","line":23,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵc"}]}]}],"members":{}},"RaisedCardModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵd"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":17,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":18,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffCardModule","line":20,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffImageModule","line":21,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffButtonModule","line":22,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵd"}]}]}],"members":{}},"StrokedCardModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":13,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵe"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":18,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":19,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":20,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffCardModule","line":22,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffImageModule","line":23,"character":4},{"__symbolic":"reference","module":"@daffodil/design","name":"DaffButtonModule","line":24,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵe"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"basic-card","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":11,"character":19},"member":"OnPush"},"template":"<daff-card>\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n <fa-icon daffCardIcon [icon]=\"faMapMarked\"></fa-icon>\n <div daffCardTagline>Basel, Switzerland</div>\n <h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n <p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors.</p>\n <p>The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n </div>\n <div daffCardActions>\n <button daff-button color=\"theme-contrast\">Learn More</button>\n </div>\n</daff-card>\n","styles":["daff-card{max-width:480px}"]}]}],"members":{}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"card-theming","styles":["\n daff-card {\n max-width: 480px;\n }\n "],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":15,"character":19},"member":"OnPush"},"template":"<daff-card [color]=\"colorControl.value\">\n <div daffCardTagline>Card Tagline</div>\n <div daffCardTitle>Title</div>\n <div daffCardContent>\n <p>Cards are themable.</p>\n </div>\n</daff-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>"}]}],"members":{}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"linkable-card","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":11,"character":19},"member":"OnPush"},"template":"<a daff-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"basicColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"basicColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>\n\n<a daff-raised-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"raisedColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"strokedColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>\n\n<a daff-stroked-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"strokedColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"strokedColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>","styles":["a.daff-card,a.daff-raised-card,a.daff-stroked-card{max-width:480px}"]}]}],"members":{}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"raised-card","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":11,"character":19},"member":"OnPush"},"template":"<daff-raised-card [color]=\"colorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</daff-raised-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>","styles":["daff-raised-card{max-width:480px}"]}]}],"members":{}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"stroked-card","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":11,"character":19},"member":"OnPush"},"template":"<daff-stroked-card [color]=\"colorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</daff-stroked-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>","styles":[":host{display:block;max-width:340px}"]}]}],"members":{}},"ɵf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"card-orientation","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":12,"character":19},"member":"OnPush"},"template":"<daff-card [orientation]=\"orientationControl.value\">\n <daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n <fa-icon daffCardIcon [icon]=\"faMapMarked\"></fa-icon>\n <div daffCardTagline>Basel, Switzerland</div>\n <h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n <p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n </div>\n\t<div daffCardActions>\n <button daff-button color=\"theme-contrast\">Learn More</button>\n </div>\n</daff-card>\n\n<select [formControl]=\"orientationControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>","styles":[".daff-card--vertical{max-width:560px}"]}]}],"members":{}}},"origins":{"CARD_EXAMPLES":"./public_api","BasicCardModule":"./basic-card/basic-card.module","CardOrientationModule":"./card-orientation/card-orientation.module","CardThemingModule":"./card-theming/card-theming.module","LinkableCardModule":"./linkable-card/linkable-card.module","RaisedCardModule":"./raised-card/raised-card.module","StrokedCardModule":"./stroked-card/stroked-card.module","ɵa":"./basic-card/basic-card.component","ɵb":"./card-theming/card-theming.component","ɵc":"./linkable-card/linkable-card.component","ɵd":"./raised-card/raised-card.component","ɵe":"./stroked-card/stroked-card.component","ɵf":"./card-orientation/card-orientation.component"},"importAs":"@daffodil/design/card/examples"}
@@ -0,0 +1,15 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import { Constructor } from '../constructor/constructor';
3
+ export interface HasElementRef {
4
+ _elementRef: ElementRef;
5
+ _renderer: Renderer2;
6
+ }
7
+ /**
8
+ * A mixin for giving a component the ability to prevent article styles from cascading down.
9
+ */
10
+ export declare function daffArticleEncapsulatedMixin<T extends Constructor<HasElementRef>>(Base: T): {
11
+ new (...args: any[]): {
12
+ _elementRef: ElementRef<any>;
13
+ _renderer: Renderer2;
14
+ };
15
+ } & T;
@@ -0,0 +1 @@
1
+ export { daffArticleEncapsulatedMixin } from './article-encapsulated-mixin';
@@ -8,3 +8,4 @@ export * from './mutable/mutable';
8
8
  export * from './text-alignable/text-alignable';
9
9
  export * from './compactable/public_api';
10
10
  export * from './manage-container-layout/public_api';
11
+ export * from './article-encapsulated/public_api';
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);
@@ -2999,22 +3008,15 @@ $supported-theme-types: (
2999
3008
  color: daff-illuminate($base-contrast, $gray, 3);
3000
3009
  }
3001
3010
 
3002
- a {
3011
+ @include stopsArticleCascade(a) {
3003
3012
  color: daff-color($primary);
3004
3013
  }
3005
3014
 
3006
- > {
3007
- h1,
3008
- h2,
3009
- h3,
3010
- h4,
3011
- h5,
3012
- h6 {
3013
- color: $text-color;
3014
- }
3015
+ @include stopsArticleCascade(h1, h2, h3, h4, h5, h6) {
3016
+ color: $text-color;
3015
3017
  }
3016
3018
 
3017
- > p {
3019
+ @include stopsArticleCascade(p) {
3018
3020
  color: $text-color;
3019
3021
  }
3020
3022
 
@@ -3448,44 +3450,44 @@ $supported-theme-types: (
3448
3450
  $secondary: map-get($theme, secondary);
3449
3451
  $tertiary: map-get($theme, tertiary);
3450
3452
  $base: daff-map-deep-get($theme, 'core.base');
3453
+ $base-contrast: daff-map-deep-get($theme, 'core.base-contrast');
3451
3454
  $white: daff-map-deep-get($theme, 'core.white');
3452
3455
  $black: daff-map-deep-get($theme, 'core.black');
3456
+ $gray: daff-configure-palette($daff-gray, 60);
3453
3457
 
3454
3458
  .daff-navbar {
3455
- @include daff-navbar-theme-variant($base);
3459
+ @include daff-navbar-theme-variant(daff-illuminate($base, $daff-gray, 1));
3456
3460
 
3457
- &--shadowed {
3458
- box-shadow: 0 3px 10px rgba($black, 0.08);
3461
+ &--raised {
3462
+ box-shadow: 0 4px 10px rgba($black, 0.08);
3459
3463
  }
3460
3464
 
3461
3465
  &.daff-primary {
3462
- @include daff-navbar-theme-variant(
3463
- daff-color($primary)
3464
- );
3466
+ @include daff-navbar-theme-variant(daff-color($primary));
3465
3467
  }
3466
3468
 
3467
3469
  &.daff-secondary {
3468
- @include daff-navbar-theme-variant(
3469
- daff-color($secondary)
3470
- );
3470
+ @include daff-navbar-theme-variant(daff-color($secondary));
3471
3471
  }
3472
3472
 
3473
3473
  &.daff-tertiary {
3474
- @include daff-navbar-theme-variant(
3475
- daff-color($tertiary)
3476
- );
3474
+ @include daff-navbar-theme-variant(daff-color($tertiary));
3477
3475
  }
3478
3476
 
3479
3477
  &.daff-black {
3480
- @include daff-navbar-theme-variant(
3481
- $black
3482
- );
3478
+ @include daff-navbar-theme-variant($black);
3483
3479
  }
3484
3480
 
3485
3481
  &.daff-white {
3486
- @include daff-navbar-theme-variant(
3487
- $white
3488
- );
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);
3489
3491
  }
3490
3492
  }
3491
3493
  }