@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.
- package/atoms/button/button.component.d.ts +5 -0
- package/bundles/daffodil-design-card-examples.umd.js +2 -2
- package/bundles/daffodil-design-card-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-card-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-card-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design-navbar-examples.umd.js +177 -0
- package/bundles/daffodil-design-navbar-examples.umd.js.map +1 -0
- package/bundles/daffodil-design-navbar-examples.umd.min.js +2 -0
- package/bundles/daffodil-design-navbar-examples.umd.min.js.map +1 -0
- package/bundles/daffodil-design.umd.js +132 -32
- package/bundles/daffodil-design.umd.js.map +1 -1
- package/bundles/daffodil-design.umd.min.js +1 -1
- package/bundles/daffodil-design.umd.min.js.map +1 -1
- package/card/examples/daffodil-design-card-examples.metadata.json +1 -1
- package/core/article-encapsulated/article-encapsulated-mixin.d.ts +15 -0
- package/core/article-encapsulated/public_api.d.ts +1 -0
- package/core/public_api.d.ts +1 -0
- package/daff-theme.scss +113 -111
- package/daffodil-design.metadata.json +1 -1
- package/esm2015/atoms/button/button.component.js +3 -2
- package/esm2015/card/examples/basic-card/basic-card.component.js +2 -2
- package/esm2015/card/examples/linkable-card/linkable-card.component.js +1 -1
- package/esm2015/core/article-encapsulated/article-encapsulated-mixin.js +12 -0
- package/esm2015/core/article-encapsulated/public_api.js +2 -0
- package/esm2015/core/public_api.js +2 -1
- package/esm2015/molecules/accordion/accordion/accordion.component.js +24 -3
- package/esm2015/molecules/article/article/article.component.js +1 -1
- package/esm2015/molecules/callout/callout/callout.component.js +3 -2
- package/esm2015/molecules/card/card/card.component.js +4 -3
- package/esm2015/molecules/feature/feature/feature.component.js +4 -1
- package/esm2015/molecules/hero/hero/hero.component.js +4 -3
- package/esm2015/molecules/link-set/link-set/link-set.component.js +23 -4
- package/esm2015/molecules/list/list/list.component.js +19 -5
- package/esm2015/molecules/media-gallery/media-gallery.component.js +20 -4
- package/esm2015/molecules/navbar/navbar.component.js +9 -8
- package/esm2015/navbar/examples/basic-navbar/basic-navbar.component.js +13 -0
- package/esm2015/navbar/examples/basic-navbar/basic-navbar.module.js +20 -0
- package/esm2015/navbar/examples/contained-navbar/contained-navbar.component.js +13 -0
- package/esm2015/navbar/examples/contained-navbar/contained-navbar.module.js +20 -0
- package/esm2015/navbar/examples/daffodil-design-navbar-examples.js +5 -0
- package/esm2015/navbar/examples/examples.js +11 -0
- package/esm2015/navbar/examples/index.js +2 -0
- package/esm2015/navbar/examples/navbar-theming/navbar-theming.component.js +27 -0
- package/esm2015/navbar/examples/navbar-theming/navbar-theming.module.js +21 -0
- package/esm2015/navbar/examples/public_api.js +10 -0
- package/esm2015/navbar/examples/raised-navbar/raised-navbar.component.js +13 -0
- package/esm2015/navbar/examples/raised-navbar/raised-navbar.module.js +19 -0
- package/fesm2015/daffodil-design-card-examples.js +2 -2
- package/fesm2015/daffodil-design-card-examples.js.map +1 -1
- package/fesm2015/daffodil-design-navbar-examples.js +142 -0
- package/fesm2015/daffodil-design-navbar-examples.js.map +1 -0
- package/fesm2015/daffodil-design.js +105 -23
- package/fesm2015/daffodil-design.js.map +1 -1
- package/molecules/accordion/accordion/accordion.component.d.ts +20 -1
- package/molecules/callout/callout/callout.component.d.ts +5 -0
- package/molecules/card/card/card.component.d.ts +5 -0
- package/molecules/feature/feature/feature.component.d.ts +3 -0
- package/molecules/hero/hero/hero.component.d.ts +6 -1
- package/molecules/link-set/link-set/link-set.component.d.ts +20 -1
- package/molecules/list/list/list.component.d.ts +19 -3
- package/molecules/media-gallery/media-gallery.component.d.ts +20 -3
- package/molecules/navbar/navbar.component.d.ts +5 -5
- package/navbar/examples/basic-navbar/basic-navbar.component.d.ts +2 -0
- package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +2 -0
- package/navbar/examples/contained-navbar/contained-navbar.component.d.ts +2 -0
- package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +2 -0
- package/navbar/examples/daffodil-design-navbar-examples.d.ts +4 -0
- package/navbar/examples/daffodil-design-navbar-examples.metadata.json +1 -0
- package/navbar/examples/examples.d.ts +2 -0
- package/navbar/examples/index.d.ts +1 -0
- package/navbar/examples/navbar-theming/navbar-theming.component.d.ts +8 -0
- package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +2 -0
- package/navbar/examples/package.json +11 -0
- package/navbar/examples/public_api.d.ts +9 -0
- package/navbar/examples/raised-navbar/raised-navbar.component.d.ts +2 -0
- package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +2 -0
- 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';
|
package/core/public_api.d.ts
CHANGED
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: #
|
182
|
-
20: #
|
183
|
-
30: #
|
184
|
-
40: #
|
185
|
-
50: #
|
181
|
+
10: #ebf1ff,
|
182
|
+
20: #c4d8ff,
|
183
|
+
30: #9dbeff,
|
184
|
+
40: #79a7ff,
|
185
|
+
50: #548fff,
|
186
186
|
60: #1f66ff,
|
187
|
-
70: #
|
188
|
-
80: #
|
189
|
-
90: #
|
190
|
-
100: #
|
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: #
|
197
|
-
20: #
|
198
|
-
30: #
|
199
|
-
40: #
|
200
|
-
50: #
|
196
|
+
10: #ebebff,
|
197
|
+
20: #d4d3ff,
|
198
|
+
30: #b7b4ff,
|
199
|
+
40: #a19bff,
|
200
|
+
50: #8b82ff,
|
201
201
|
60: #6a57ff,
|
202
|
-
70: #
|
203
|
-
80: #
|
204
|
-
90: #
|
205
|
-
100: #
|
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: #
|
251
|
-
20: #
|
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: #
|
264
|
-
20: #
|
265
|
-
30: #
|
266
|
-
40: #
|
267
|
-
50: #
|
263
|
+
10: #c4ffcc,
|
264
|
+
20: #6aff86,
|
265
|
+
30: #00db57,
|
266
|
+
40: #13c049,
|
267
|
+
50: #00aa3c,
|
268
268
|
60: #00852e,
|
269
|
-
70: #
|
270
|
-
80: #
|
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: #
|
1219
|
-
20: #
|
1220
|
-
30: #
|
1221
|
-
40: #
|
1222
|
-
50: #
|
1218
|
+
10: #ebf1ff,
|
1219
|
+
20: #c4d8ff,
|
1220
|
+
30: #9dbeff,
|
1221
|
+
40: #79a7ff,
|
1222
|
+
50: #548fff,
|
1223
1223
|
60: #1f66ff,
|
1224
|
-
70: #
|
1225
|
-
80: #
|
1226
|
-
90: #
|
1227
|
-
100: #
|
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: #
|
1234
|
-
20: #
|
1235
|
-
30: #
|
1236
|
-
40: #
|
1237
|
-
50: #
|
1233
|
+
10: #ebebff,
|
1234
|
+
20: #d4d3ff,
|
1235
|
+
30: #b7b4ff,
|
1236
|
+
40: #a19bff,
|
1237
|
+
50: #8b82ff,
|
1238
1238
|
60: #6a57ff,
|
1239
|
-
70: #
|
1240
|
-
80: #
|
1241
|
-
90: #
|
1242
|
-
100: #
|
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: #
|
1288
|
-
20: #
|
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: #
|
1301
|
-
20: #
|
1302
|
-
30: #
|
1303
|
-
40: #
|
1304
|
-
50: #
|
1300
|
+
10: #c4ffcc,
|
1301
|
+
20: #6aff86,
|
1302
|
+
30: #00db57,
|
1303
|
+
40: #13c049,
|
1304
|
+
50: #00aa3c,
|
1305
1305
|
60: #00852e,
|
1306
|
-
70: #
|
1307
|
-
80: #
|
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: #
|
1854
|
-
20: #
|
1855
|
-
30: #
|
1856
|
-
40: #
|
1857
|
-
50: #
|
1853
|
+
10: #ebf1ff,
|
1854
|
+
20: #c4d8ff,
|
1855
|
+
30: #9dbeff,
|
1856
|
+
40: #79a7ff,
|
1857
|
+
50: #548fff,
|
1858
1858
|
60: #1f66ff,
|
1859
|
-
70: #
|
1860
|
-
80: #
|
1861
|
-
90: #
|
1862
|
-
100: #
|
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: #
|
1869
|
-
20: #
|
1870
|
-
30: #
|
1871
|
-
40: #
|
1872
|
-
50: #
|
1868
|
+
10: #ebebff,
|
1869
|
+
20: #d4d3ff,
|
1870
|
+
30: #b7b4ff,
|
1871
|
+
40: #a19bff,
|
1872
|
+
50: #8b82ff,
|
1873
1873
|
60: #6a57ff,
|
1874
|
-
70: #
|
1875
|
-
80: #
|
1876
|
-
90: #
|
1877
|
-
100: #
|
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: #
|
1923
|
-
20: #
|
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: #
|
1936
|
-
20: #
|
1937
|
-
30: #
|
1938
|
-
40: #
|
1939
|
-
50: #
|
1935
|
+
10: #c4ffcc,
|
1936
|
+
20: #6aff86,
|
1937
|
+
30: #00db57,
|
1938
|
+
40: #13c049,
|
1939
|
+
50: #00aa3c,
|
1940
1940
|
60: #00852e,
|
1941
|
-
70: #
|
1942
|
-
80: #
|
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
|
-
|
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
|
-
|
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
|
-
&--
|
3458
|
-
box-shadow: 0
|
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
|
-
|
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
|
}
|