@daffodil/design 0.39.8 → 0.39.12

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 (131) hide show
  1. package/atoms/button/button.component.d.ts +5 -0
  2. package/bundles/daffodil-design-card-examples.umd.js +152 -14
  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-container-examples.umd.js +65 -0
  7. package/bundles/daffodil-design-container-examples.umd.js.map +1 -0
  8. package/bundles/daffodil-design-container-examples.umd.min.js +2 -0
  9. package/bundles/daffodil-design-container-examples.umd.min.js.map +1 -0
  10. package/bundles/daffodil-design-navbar-examples.umd.js +177 -0
  11. package/bundles/daffodil-design-navbar-examples.umd.js.map +1 -0
  12. package/bundles/daffodil-design-navbar-examples.umd.min.js +2 -0
  13. package/bundles/daffodil-design-navbar-examples.umd.min.js.map +1 -0
  14. package/bundles/daffodil-design.umd.js +300 -51
  15. package/bundles/daffodil-design.umd.js.map +1 -1
  16. package/bundles/daffodil-design.umd.min.js +2 -2
  17. package/bundles/daffodil-design.umd.min.js.map +1 -1
  18. package/card/examples/basic-card/basic-card.component.d.ts +1 -0
  19. package/card/examples/card-orientation/card-orientation.component.d.ts +9 -0
  20. package/card/examples/card-orientation/card-orientation.module.d.ts +2 -0
  21. package/card/examples/card-theming/card-theming.component.d.ts +4 -2
  22. package/card/examples/daffodil-design-card-examples.d.ts +2 -0
  23. package/card/examples/daffodil-design-card-examples.metadata.json +1 -1
  24. package/card/examples/linkable-card/linkable-card.component.d.ts +8 -0
  25. package/card/examples/public_api.d.ts +5 -1
  26. package/card/examples/raised-card/raised-card.component.d.ts +6 -0
  27. package/card/examples/stroked-card/stroked-card.component.d.ts +8 -0
  28. package/card/examples/stroked-card/stroked-card.module.d.ts +2 -0
  29. package/container/examples/container-sizes/container-sizes.component.d.ts +8 -0
  30. package/container/examples/container-sizes/container-sizes.module.d.ts +2 -0
  31. package/container/examples/daffodil-design-container-examples.d.ts +4 -0
  32. package/container/examples/daffodil-design-container-examples.metadata.json +1 -0
  33. package/container/examples/examples.d.ts +2 -0
  34. package/container/examples/index.d.ts +1 -0
  35. package/container/examples/package.json +11 -0
  36. package/container/examples/public_api.d.ts +3 -0
  37. package/core/article-encapsulated/article-encapsulated-mixin.d.ts +15 -0
  38. package/core/article-encapsulated/public_api.d.ts +1 -0
  39. package/core/manage-container-layout/manage-container-layout-mixin.d.ts +17 -0
  40. package/core/manage-container-layout/public_api.d.ts +1 -0
  41. package/core/public_api.d.ts +2 -0
  42. package/daff-theme.scss +278 -129
  43. package/daffodil-design.metadata.json +1 -1
  44. package/esm2015/atoms/button/button.component.js +3 -2
  45. package/esm2015/atoms/container/container.component.js +1 -1
  46. package/esm2015/atoms/image/image.component.js +2 -2
  47. package/esm2015/card/examples/basic-card/basic-card.component.js +7 -3
  48. package/esm2015/card/examples/basic-card/basic-card.module.js +3 -1
  49. package/esm2015/card/examples/card-orientation/card-orientation.component.js +24 -0
  50. package/esm2015/card/examples/card-orientation/card-orientation.module.js +27 -0
  51. package/esm2015/card/examples/card-theming/card-theming.component.js +13 -4
  52. package/esm2015/card/examples/daffodil-design-card-examples.js +3 -1
  53. package/esm2015/card/examples/linkable-card/linkable-card.component.js +19 -3
  54. package/esm2015/card/examples/linkable-card/linkable-card.module.js +3 -1
  55. package/esm2015/card/examples/public_api.js +7 -1
  56. package/esm2015/card/examples/raised-card/raised-card.component.js +17 -3
  57. package/esm2015/card/examples/raised-card/raised-card.module.js +3 -3
  58. package/esm2015/card/examples/stroked-card/stroked-card.component.js +27 -0
  59. package/esm2015/card/examples/stroked-card/stroked-card.module.js +27 -0
  60. package/esm2015/container/examples/container-sizes/container-sizes.component.js +23 -0
  61. package/esm2015/container/examples/container-sizes/container-sizes.module.js +23 -0
  62. package/esm2015/container/examples/daffodil-design-container-examples.js +5 -0
  63. package/esm2015/container/examples/examples.js +5 -0
  64. package/esm2015/container/examples/index.js +2 -0
  65. package/esm2015/container/examples/public_api.js +4 -0
  66. package/esm2015/core/article-encapsulated/article-encapsulated-mixin.js +12 -0
  67. package/esm2015/core/article-encapsulated/public_api.js +2 -0
  68. package/esm2015/core/manage-container-layout/manage-container-layout-mixin.js +14 -0
  69. package/esm2015/core/manage-container-layout/public_api.js +2 -0
  70. package/esm2015/core/public_api.js +3 -1
  71. package/esm2015/molecules/accordion/accordion/accordion.component.js +24 -3
  72. package/esm2015/molecules/article/article/article.component.js +1 -1
  73. package/esm2015/molecules/callout/callout/callout.component.js +5 -3
  74. package/esm2015/molecules/card/card/card.component.js +78 -15
  75. package/esm2015/molecules/card/card-content/card-content.directive.js +18 -0
  76. package/esm2015/molecules/card/card-icon/card-icon.directive.js +18 -0
  77. package/esm2015/molecules/card/card.module.js +9 -3
  78. package/esm2015/molecules/card/public_api.js +4 -2
  79. package/esm2015/molecules/feature/feature/feature.component.js +4 -1
  80. package/esm2015/molecules/hero/hero/hero.component.js +6 -4
  81. package/esm2015/molecules/link-set/link-set/link-set.component.js +23 -4
  82. package/esm2015/molecules/list/list/list.component.js +19 -5
  83. package/esm2015/molecules/media-gallery/media-gallery.component.js +20 -4
  84. package/esm2015/molecules/navbar/navbar.component.js +11 -9
  85. package/esm2015/navbar/examples/basic-navbar/basic-navbar.component.js +13 -0
  86. package/esm2015/navbar/examples/basic-navbar/basic-navbar.module.js +20 -0
  87. package/esm2015/navbar/examples/contained-navbar/contained-navbar.component.js +13 -0
  88. package/esm2015/navbar/examples/contained-navbar/contained-navbar.module.js +20 -0
  89. package/esm2015/navbar/examples/daffodil-design-navbar-examples.js +5 -0
  90. package/esm2015/navbar/examples/examples.js +11 -0
  91. package/esm2015/navbar/examples/index.js +2 -0
  92. package/esm2015/navbar/examples/navbar-theming/navbar-theming.component.js +27 -0
  93. package/esm2015/navbar/examples/navbar-theming/navbar-theming.module.js +21 -0
  94. package/esm2015/navbar/examples/public_api.js +10 -0
  95. package/esm2015/navbar/examples/raised-navbar/raised-navbar.component.js +13 -0
  96. package/esm2015/navbar/examples/raised-navbar/raised-navbar.module.js +19 -0
  97. package/fesm2015/daffodil-design-card-examples.js +145 -11
  98. package/fesm2015/daffodil-design-card-examples.js.map +1 -1
  99. package/fesm2015/daffodil-design-container-examples.js +54 -0
  100. package/fesm2015/daffodil-design-container-examples.js.map +1 -0
  101. package/fesm2015/daffodil-design-navbar-examples.js +142 -0
  102. package/fesm2015/daffodil-design-navbar-examples.js.map +1 -0
  103. package/fesm2015/daffodil-design.js +238 -42
  104. package/fesm2015/daffodil-design.js.map +1 -1
  105. package/molecules/accordion/accordion/accordion.component.d.ts +20 -1
  106. package/molecules/callout/callout/callout.component.d.ts +10 -0
  107. package/molecules/card/card/card.component.d.ts +42 -11
  108. package/molecules/card/card-content/card-content.directive.d.ts +6 -0
  109. package/molecules/card/card-icon/card-icon.directive.d.ts +6 -0
  110. package/molecules/card/public_api.d.ts +3 -1
  111. package/molecules/feature/feature/feature.component.d.ts +3 -0
  112. package/molecules/hero/hero/hero.component.d.ts +11 -1
  113. package/molecules/link-set/link-set/link-set.component.d.ts +20 -1
  114. package/molecules/list/list/list.component.d.ts +19 -3
  115. package/molecules/media-gallery/media-gallery.component.d.ts +20 -3
  116. package/molecules/navbar/navbar.component.d.ts +10 -5
  117. package/navbar/examples/basic-navbar/basic-navbar.component.d.ts +2 -0
  118. package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +2 -0
  119. package/navbar/examples/contained-navbar/contained-navbar.component.d.ts +2 -0
  120. package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +2 -0
  121. package/navbar/examples/daffodil-design-navbar-examples.d.ts +4 -0
  122. package/navbar/examples/daffodil-design-navbar-examples.metadata.json +1 -0
  123. package/navbar/examples/examples.d.ts +2 -0
  124. package/navbar/examples/index.d.ts +1 -0
  125. package/navbar/examples/navbar-theming/navbar-theming.component.d.ts +8 -0
  126. package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +2 -0
  127. package/navbar/examples/package.json +11 -0
  128. package/navbar/examples/public_api.d.ts +9 -0
  129. package/navbar/examples/raised-navbar/raised-navbar.component.d.ts +2 -0
  130. package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +2 -0
  131. package/package.json +2 -2
@@ -12,6 +12,18 @@ import { CdkPortalOutlet, PortalModule, ComponentPortal } from '@angular/cdk/por
12
12
  import { OverlayModule, GlobalPositionStrategy, Overlay } from '@angular/cdk/overlay';
13
13
  import { A11yModule } from '@angular/cdk/a11y';
14
14
 
15
+ /**
16
+ * A mixin for giving a component the ability to prevent article styles from cascading down.
17
+ */
18
+ function daffArticleEncapsulatedMixin(Base) {
19
+ return class extends Base {
20
+ constructor(...args) {
21
+ super(...args);
22
+ this._renderer.addClass(this._elementRef.nativeElement, `daff-ae`);
23
+ }
24
+ };
25
+ }
26
+
15
27
  var DaffPaletteEnum;
16
28
  (function (DaffPaletteEnum) {
17
29
  DaffPaletteEnum["PRIMARY"] = "primary";
@@ -249,7 +261,7 @@ class DaffButtonBase {
249
261
  this._renderer = _renderer;
250
262
  }
251
263
  }
252
- const _daffButtonBase = daffPrefixableMixin(daffSuffixableMixin(daffColorMixin(daffStatusMixin(daffSizeMixin(DaffButtonBase, 'md')))));
264
+ const _daffButtonBase = daffArticleEncapsulatedMixin(daffPrefixableMixin(daffSuffixableMixin(daffColorMixin(daffStatusMixin(daffSizeMixin(DaffButtonBase, 'md'))))));
253
265
  var DaffButtonTypeEnum;
254
266
  (function (DaffButtonTypeEnum) {
255
267
  DaffButtonTypeEnum["Default"] = "daff-button";
@@ -624,8 +636,21 @@ DaffMediaGalleryRegistry.decorators = [
624
636
  ];
625
637
 
626
638
  let uniqueGalleryId = 0;
627
- class DaffMediaGalleryComponent {
628
- constructor(registry) {
639
+ /**
640
+ * An _elementRef and an instance of renderer2 are needed for the link set mixins
641
+ */
642
+ class DaffMediaGalleryBase {
643
+ constructor(_elementRef, _renderer) {
644
+ this._elementRef = _elementRef;
645
+ this._renderer = _renderer;
646
+ }
647
+ }
648
+ const _daffMediaGalleryBase = daffArticleEncapsulatedMixin((DaffMediaGalleryBase));
649
+ class DaffMediaGalleryComponent extends _daffMediaGalleryBase {
650
+ constructor(elementRef, renderer, registry) {
651
+ super(elementRef, renderer);
652
+ this.elementRef = elementRef;
653
+ this.renderer = renderer;
629
654
  this.registry = registry;
630
655
  /**
631
656
  * Adds a class for styling the media gallery
@@ -658,6 +683,8 @@ DaffMediaGalleryComponent.decorators = [
658
683
  ];
659
684
  /** @nocollapse */
660
685
  DaffMediaGalleryComponent.ctorParameters = () => [
686
+ { type: ElementRef },
687
+ { type: Renderer2 },
661
688
  { type: DaffMediaGalleryRegistry }
662
689
  ];
663
690
  DaffMediaGalleryComponent.propDecorators = {
@@ -918,7 +945,7 @@ class DaffImageComponent {
918
945
  DaffImageComponent.decorators = [
919
946
  { type: Component, args: [{
920
947
  selector: 'daff-image',
921
- template: "<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" />\n</div>",
948
+ template: "<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>",
922
949
  changeDetection: ChangeDetectionStrategy.OnPush,
923
950
  providers: [
924
951
  {
@@ -1713,7 +1740,7 @@ DaffContainerComponent.decorators = [
1713
1740
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1714
1741
  inputs: ['size'],
1715
1742
  changeDetection: ChangeDetectionStrategy.OnPush,
1716
- styles: [":host{display:block;margin:0 auto;padding:0;width:100%}:host.daff-xs{max-width:640px}:host.daff-sm{max-width:800px}:host.daff-md{max-width:1040px}:host.daff-lg{max-width:1340px}:host.daff-xl{max-width:1920px}"]
1743
+ styles: [":host-context(.daff-manage-container-layout){display:inherit;flex:inherit;flex-direction:inherit;flex-flow:inherit;flex-wrap:inherit;justify-content:inherit;justify-items:inherit;align-items:inherit;align-content:inherit;gap:inherit;grid-template-columns:inherit;grid-template-rows:inherit;grid-template-areas:inherit;grid-template:inherit;grid-auto-columns:inherit;grid-auto-rows:inherit;grid-auto-flow:inherit;grid:inherit;-moz-column-gap:inherit;column-gap:inherit;row-gap:inherit;grid-gap:inherit;grid-column-gap:inherit;grid-row-gap:inherit;place-items:inherit;place-content:inherit}:host{display:block;margin:0 auto;padding:0;width:100%}:host.daff-xs{max-width:640px}:host.daff-sm{max-width:800px}:host.daff-md{max-width:1040px}:host.daff-lg{max-width:1340px}:host.daff-xl{max-width:1920px}"]
1717
1744
  },] }
1718
1745
  ];
1719
1746
  /** @nocollapse */
@@ -2318,7 +2345,22 @@ DaffAccordionItemComponent.propDecorators = {
2318
2345
  initiallyActive: [{ type: Input }]
2319
2346
  };
2320
2347
 
2321
- class DaffAccordionComponent {
2348
+ /**
2349
+ * An _elementRef and an instance of renderer2 are needed for the link set mixins
2350
+ */
2351
+ class DaffAccordionBase {
2352
+ constructor(_elementRef, _renderer) {
2353
+ this._elementRef = _elementRef;
2354
+ this._renderer = _renderer;
2355
+ }
2356
+ }
2357
+ const _daffAccordionBase = daffArticleEncapsulatedMixin((DaffAccordionBase));
2358
+ class DaffAccordionComponent extends _daffAccordionBase {
2359
+ constructor(elementRef, renderer) {
2360
+ super(elementRef, renderer);
2361
+ this.elementRef = elementRef;
2362
+ this.renderer = renderer;
2363
+ }
2322
2364
  }
2323
2365
  DaffAccordionComponent.decorators = [
2324
2366
  { type: Component, args: [{
@@ -2328,6 +2370,11 @@ DaffAccordionComponent.decorators = [
2328
2370
  styles: [":host{display:block;width:100%}"]
2329
2371
  },] }
2330
2372
  ];
2373
+ /** @nocollapse */
2374
+ DaffAccordionComponent.ctorParameters = () => [
2375
+ { type: ElementRef },
2376
+ { type: Renderer2 }
2377
+ ];
2331
2378
 
2332
2379
  class DaffNavAccordionItemComponent {
2333
2380
  constructor(accordion, navAccordionItemParent) {
@@ -2443,7 +2490,7 @@ DaffArticleComponent.decorators = [
2443
2490
  template: '<ng-content></ng-content>',
2444
2491
  encapsulation: ViewEncapsulation.None,
2445
2492
  changeDetection: ChangeDetectionStrategy.OnPush,
2446
- styles: [".daff-article{display:block}.daff-article>h1,.daff-article>h2,.daff-article>h3,.daff-article>h4,.daff-article>h5,.daff-article>h6{margin-bottom:.5rem}.daff-article>h2,.daff-article>h3,.daff-article>h4,.daff-article>h5,.daff-article>h6{margin-top:2rem}.daff-article>h1{font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width:768px){.daff-article>h1{font-size:3rem;line-height:3.5rem}}.daff-article>h2{font-size:2rem;line-height:2.5rem}.daff-article>h3{font-size:1.5rem;line-height:2rem}.daff-article>h4{font-size:1.25rem;line-height:1.5rem}.daff-article>h5{font-size:1.125rem;line-height:1.5rem}.daff-article>h6{font-size:1rem;line-height:1.5rem}.daff-article>p{margin:0 0 1rem}.daff-article>strong{font-weight:700}.daff-article a{font-weight:500}.daff-article pre{display:block;border-radius:4px;font-size:.875rem;line-height:1.5rem;margin:0;padding:1.5rem;overflow:auto;white-space:pre-wrap}.daff-article pre code{display:block;padding:0}.daff-article code{display:inline-block;border-radius:4px;font-size:.875rem;line-height:1rem;padding:.25rem}.daff-article__title{font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width:768px){.daff-article__title{font-size:3rem;line-height:3.5rem}}.daff-article__lead{font-size:1.25rem;line-height:1.75rem;font-weight:400;margin:0}.daff-article__lead code{font-size:1.25rem;line-height:1.5rem;font-weight:400}.daff-article__meta{font-size:.875rem}.daff-article hr{border:0;height:1px;margin:2rem 0}.daff-article blockquote{border-radius:4px;margin:0;padding:1rem 1.5rem}.daff-article blockquote cite{font-size:.875rem;font-weight:400;line-height:1.25rem;display:block;margin-top:1rem}.daff-article table{display:block;border-collapse:collapse;margin:1.5rem 0;overflow:auto;width:100%}.daff-article table th{font-weight:600;outline:0;padding:1rem;text-align:left;vertical-align:bottom;box-sizing:border-box}.daff-article table td{padding:8px 16px;vertical-align:top;box-sizing:border-box}"]
2493
+ styles: [".daff-article{display:block}.daff-article a:not(.daff-ae *,.daff-ae){font-weight:600;text-decoration:none}.daff-article a:not(.daff-ae *,.daff-ae):hover{text-decoration:underline}.daff-article h1:not(.daff-ae *,.daff-ae),.daff-article h2:not(.daff-ae *,.daff-ae),.daff-article h3:not(.daff-ae *,.daff-ae),.daff-article h4:not(.daff-ae *,.daff-ae),.daff-article h5:not(.daff-ae *,.daff-ae),.daff-article h6:not(.daff-ae *,.daff-ae){margin-bottom:.5rem}.daff-article h2:not(.daff-ae *,.daff-ae),.daff-article h3:not(.daff-ae *,.daff-ae),.daff-article h4:not(.daff-ae *,.daff-ae),.daff-article h5:not(.daff-ae *,.daff-ae),.daff-article h6:not(.daff-ae *,.daff-ae){margin-top:2rem}.daff-article h1:not(.daff-ae *,.daff-ae){font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width:768px){.daff-article h1:not(.daff-ae *,.daff-ae){font-size:3rem;line-height:3.5rem}}.daff-article h2:not(.daff-ae *,.daff-ae){font-size:2rem;line-height:2.5rem}.daff-article h3:not(.daff-ae *,.daff-ae){font-size:1.5rem;line-height:2rem}.daff-article h4:not(.daff-ae *,.daff-ae){font-size:1.25rem;line-height:1.5rem}.daff-article h5:not(.daff-ae *,.daff-ae){font-size:1.125rem;line-height:1.5rem}.daff-article h6:not(.daff-ae *,.daff-ae){font-size:1rem;line-height:1.5rem}.daff-article p:not(.daff-ae *,.daff-ae){margin:0 0 1rem}.daff-article strong{font-weight:700}.daff-article pre{display:block;border-radius:4px;font-size:.875rem;line-height:1.5rem;margin:0;padding:1.5rem;overflow:auto;white-space:pre-wrap}.daff-article pre code{display:block;padding:0}.daff-article code{display:inline-block;border-radius:4px;font-size:.875rem;line-height:1rem;padding:.25rem}.daff-article__title{font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width:768px){.daff-article__title{font-size:3rem;line-height:3.5rem}}.daff-article__lead{font-size:1.25rem;line-height:1.75rem;font-weight:400;margin:0}.daff-article__lead code{font-size:1.25rem;line-height:1.5rem;font-weight:400}.daff-article__meta{font-size:.875rem}.daff-article hr{border:0;height:1px;margin:2rem 0}.daff-article blockquote{border-radius:4px;margin:0;padding:1rem 1.5rem}.daff-article blockquote cite{font-size:.875rem;font-weight:400;line-height:1.25rem;display:block;margin-top:1rem}.daff-article table{display:block;border-collapse:collapse;margin:1.5rem 0;overflow:auto;width:100%}.daff-article table th{font-weight:600;outline:0;padding:1rem;text-align:left;vertical-align:bottom;box-sizing:border-box}.daff-article table td{padding:.5rem 1rem;vertical-align:top;box-sizing:border-box}"]
2447
2494
  },] }
2448
2495
  ];
2449
2496
  DaffArticleComponent.propDecorators = {
@@ -2727,11 +2774,24 @@ DaffImageGalleryModule.decorators = [
2727
2774
  },] }
2728
2775
  ];
2729
2776
 
2777
+ /**
2778
+ * An _elementRef and an instance of renderer2 are needed for the link set mixins
2779
+ */
2780
+ class DaffLinkSetBase {
2781
+ constructor(_elementRef, _renderer) {
2782
+ this._elementRef = _elementRef;
2783
+ this._renderer = _renderer;
2784
+ }
2785
+ }
2786
+ const _daffLinkSetBase = daffArticleEncapsulatedMixin((DaffLinkSetBase));
2730
2787
  /**
2731
2788
  * DaffLinkSetComponent is a component for displaying a two or more links.
2732
2789
  */
2733
- class DaffLinkSetComponent {
2734
- constructor() {
2790
+ class DaffLinkSetComponent extends _daffLinkSetBase {
2791
+ constructor(elementRef, renderer) {
2792
+ super(elementRef, renderer);
2793
+ this.elementRef = elementRef;
2794
+ this.renderer = renderer;
2735
2795
  /**
2736
2796
  * @docs-private
2737
2797
  */
@@ -2747,6 +2807,11 @@ DaffLinkSetComponent.decorators = [
2747
2807
  styles: [".daff-link-set{display:block;margin:0;padding:0}.daff-link-set__heading{font-weight:700;display:block;font-size:1rem;line-height:1em;margin-bottom:15px;text-transform:uppercase}.daff-link-set__subheading{display:block;font-size:1rem;line-height:1.5em}.daff-link-set__item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:currentColor;display:block;font-size:1em;line-height:1.5em;text-decoration:none;transition:color .15s ease}.daff-link-set__item:hover{text-decoration:underline}.daff-link-set__item[disabled]{cursor:not-allowed}.daff-link-set .daff-link-set{margin-left:10px}"]
2748
2808
  },] }
2749
2809
  ];
2810
+ /** @nocollapse */
2811
+ DaffLinkSetComponent.ctorParameters = () => [
2812
+ { type: ElementRef },
2813
+ { type: Renderer2 }
2814
+ ];
2750
2815
  DaffLinkSetComponent.propDecorators = {
2751
2816
  class: [{ type: HostBinding, args: ['class.daff-link-set',] }]
2752
2817
  };
@@ -2909,9 +2974,21 @@ var DaffListTypeEnum;
2909
2974
  DaffListTypeEnum["Default"] = "daff-list";
2910
2975
  DaffListTypeEnum["Nav"] = "daff-nav-list";
2911
2976
  })(DaffListTypeEnum || (DaffListTypeEnum = {}));
2912
- class DaffListComponent {
2913
- constructor(elementRef) {
2977
+ /**
2978
+ * An _elementRef and an instance of renderer2 are needed for the list mixins
2979
+ */
2980
+ class DaffListBase {
2981
+ constructor(_elementRef, _renderer) {
2982
+ this._elementRef = _elementRef;
2983
+ this._renderer = _renderer;
2984
+ }
2985
+ }
2986
+ const _daffListBase = daffArticleEncapsulatedMixin((DaffListBase));
2987
+ class DaffListComponent extends _daffListBase {
2988
+ constructor(elementRef, renderer) {
2989
+ super(elementRef, renderer);
2914
2990
  this.elementRef = elementRef;
2991
+ this.renderer = renderer;
2915
2992
  }
2916
2993
  /**
2917
2994
  * @docs-private
@@ -2977,7 +3054,8 @@ DaffListComponent.decorators = [
2977
3054
  ];
2978
3055
  /** @nocollapse */
2979
3056
  DaffListComponent.ctorParameters = () => [
2980
- { type: ElementRef }
3057
+ { type: ElementRef },
3058
+ { type: Renderer2 }
2981
3059
  ];
2982
3060
  DaffListComponent.propDecorators = {
2983
3061
  mode: [{ type: Input }],
@@ -3240,6 +3318,20 @@ DaffModalService.ctorParameters = () => [
3240
3318
  { type: Overlay }
3241
3319
  ];
3242
3320
 
3321
+ /**
3322
+ * A mixin for giving a component the ability to manage a DaffContainerComponent's layout.
3323
+ * It passes predetermined layout styles down to the container. In order for a component to
3324
+ * do this, it must implement this mixin.
3325
+ */
3326
+ function daffManageContainerLayoutMixin(Base) {
3327
+ return class extends Base {
3328
+ constructor(...args) {
3329
+ super(...args);
3330
+ this._renderer.addClass(this._elementRef.nativeElement, `daff-manage-container-layout`);
3331
+ }
3332
+ };
3333
+ }
3334
+
3243
3335
  /**
3244
3336
  * An _elementRef is needed for the Colorable mixin
3245
3337
  */
@@ -3249,7 +3341,7 @@ class DaffNavbarBase {
3249
3341
  this._renderer = _renderer;
3250
3342
  }
3251
3343
  }
3252
- const _daffNavbarBase = daffColorMixin(DaffNavbarBase);
3344
+ const _daffNavbarBase = daffManageContainerLayoutMixin(daffColorMixin(DaffNavbarBase));
3253
3345
  /**
3254
3346
  * @inheritdoc
3255
3347
  */
@@ -3258,7 +3350,7 @@ class DaffNavbarComponent extends _daffNavbarBase {
3258
3350
  super(elementRef, renderer);
3259
3351
  this.elementRef = elementRef;
3260
3352
  this.renderer = renderer;
3261
- this.shadowed = false;
3353
+ this.raised = false;
3262
3354
  /**
3263
3355
  * @docs-private
3264
3356
  */
@@ -3267,20 +3359,21 @@ class DaffNavbarComponent extends _daffNavbarBase {
3267
3359
  /**
3268
3360
  * @docs-private
3269
3361
  */
3270
- get shadowClass() {
3271
- return this.shadowed;
3362
+ get raisedClass() {
3363
+ return this.raised;
3272
3364
  }
3273
3365
  ;
3274
3366
  }
3275
3367
  DaffNavbarComponent.decorators = [
3276
3368
  { type: Component, args: [{
3277
- selector: 'daff-navbar',
3369
+ // eslint-disable-next-line @angular-eslint/component-selector
3370
+ selector: 'nav[daff-navbar]',
3278
3371
  template: '<ng-content></ng-content>',
3279
3372
  //todo(damienwebdev): remove once decorators hit stage 3 - https://github.com/microsoft/TypeScript/issues/7342
3280
3373
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
3281
3374
  inputs: ['color'],
3282
3375
  changeDetection: ChangeDetectionStrategy.OnPush,
3283
- styles: [":host{align-items:center;display:flex;height:70px;padding:0 15px;width:100%}"]
3376
+ styles: [":host{display:flex;align-items:center;height:64px;width:100%;padding:0 16px}"]
3284
3377
  },] }
3285
3378
  ];
3286
3379
  /** @nocollapse */
@@ -3289,8 +3382,8 @@ DaffNavbarComponent.ctorParameters = () => [
3289
3382
  { type: Renderer2 }
3290
3383
  ];
3291
3384
  DaffNavbarComponent.propDecorators = {
3292
- shadowed: [{ type: Input }],
3293
- shadowClass: [{ type: HostBinding, args: ['class.daff-navbar--shadowed',] }],
3385
+ raised: [{ type: Input }],
3386
+ raisedClass: [{ type: HostBinding, args: ['class.daff-navbar--raised',] }],
3294
3387
  hostClass: [{ type: HostBinding, args: ['class.daff-navbar',] }]
3295
3388
  };
3296
3389
 
@@ -3991,7 +4084,7 @@ var DaffHeroSizeEnum;
3991
4084
  DaffHeroSizeEnum["Small"] = "small";
3992
4085
  })(DaffHeroSizeEnum || (DaffHeroSizeEnum = {}));
3993
4086
  /**
3994
- * An _elementRef and an instance of renderer2 are needed for the Colorable mixin
4087
+ * An _elementRef and an instance of renderer2 are needed for the hero mixins
3995
4088
  */
3996
4089
  class DaffHeroBase {
3997
4090
  constructor(_elementRef, _renderer) {
@@ -3999,7 +4092,7 @@ class DaffHeroBase {
3999
4092
  this._renderer = _renderer;
4000
4093
  }
4001
4094
  }
4002
- const _daffHeroBase = daffColorMixin(daffCompactableMixin(daffTextAlignmentMixin(DaffHeroBase, 'left')));
4095
+ const _daffHeroBase = daffArticleEncapsulatedMixin(daffManageContainerLayoutMixin(daffColorMixin(daffCompactableMixin(daffTextAlignmentMixin(DaffHeroBase, 'left')))));
4003
4096
  /**
4004
4097
  * @inheritdoc
4005
4098
  */
@@ -4035,7 +4128,7 @@ DaffHeroComponent.decorators = [
4035
4128
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
4036
4129
  inputs: ['color', 'compact', 'textAlignment'],
4037
4130
  changeDetection: ChangeDetectionStrategy.OnPush,
4038
- styles: [".daff-hero{display:block;padding:64px 24px}@media (min-width:480px){.daff-hero{padding:96px 48px}}.daff-hero__icon{margin:0 0 16px}.daff-hero__tagline{text-transform:uppercase;font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;margin:0 0 8px;padding:0}.daff-hero__title{font-weight:700;font-size:2.5rem;line-height:2.75rem;margin:0;max-width:1040px;overflow-wrap:break-word;width:100%}@media (min-width:768px){.daff-hero__title{font-size:3.5rem;line-height:4rem}}.daff-hero__subtitle{font-size:1.5rem;line-height:2rem;font-weight:400;margin:16px 0 0;max-width:672px;width:100%}.daff-hero__body:not(:last-child){margin-bottom:48px}.daff-hero__body:not(:first-child){margin-top:48px}.daff-hero--centered .daff-hero__title{margin:0 auto;text-align:center}.daff-hero--centered .daff-hero__subtitle{margin:24px auto 0;text-align:center}.daff-hero--compact,.daff-hero--small{padding:50px 25px}@media (min-width:480px){.daff-hero--compact,.daff-hero--small{padding:50px}}.daff-hero.daff-compact{padding:48px 24px}@media (min-width:480px){.daff-hero.daff-compact{padding:48px}}.daff-hero.daff-left .daff-hero__icon,.daff-hero.daff-left .daff-hero__subtitle,.daff-hero.daff-left .daff-hero__tagline,.daff-hero.daff-left .daff-hero__title{text-align:left}.daff-hero.daff-center .daff-hero__icon,.daff-hero.daff-center .daff-hero__subtitle,.daff-hero.daff-center .daff-hero__tagline,.daff-hero.daff-center .daff-hero__title{margin-left:auto;margin-right:auto;text-align:center}.daff-hero.daff-right .daff-hero__icon,.daff-hero.daff-right .daff-hero__subtitle,.daff-hero.daff-right .daff-hero__tagline,.daff-hero.daff-right .daff-hero__title{margin-left:auto;text-align:right}"]
4131
+ styles: [".daff-hero{display:block;padding:64px 24px}@media (min-width:480px){.daff-hero{padding:96px 48px}}.daff-hero__icon{margin:0 0 16px}.daff-hero__tagline{text-transform:uppercase;font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;margin:0 0 8px;padding:0}.daff-hero__title{font-weight:700;font-size:2.5rem;line-height:2.5rem;margin:0;max-width:1040px;width:100%}@media (min-width:768px){.daff-hero__title{font-size:4.5rem;line-height:4.5rem}}.daff-hero__subtitle{font-size:1.25rem;font-weight:400;line-height:1.75rem;margin:16px 0 0;max-width:672px;width:100%}@media (min-width:768px){.daff-hero__subtitle{font-size:1.5rem;font-weight:400;line-height:2rem}}.daff-hero__subtitle p:first-of-type{margin-top:0}.daff-hero__subtitle p:last-of-type{margin-bottom:0}.daff-hero__body:not(:last-child){margin-bottom:48px}.daff-hero__body:not(:first-child){margin-top:48px}.daff-hero--centered .daff-hero__title{margin:0 auto;text-align:center}.daff-hero--centered .daff-hero__subtitle{margin:24px auto 0;text-align:center}.daff-hero--compact,.daff-hero--small{padding:50px 25px}@media (min-width:480px){.daff-hero--compact,.daff-hero--small{padding:50px}}.daff-hero.daff-compact{padding:48px 24px}@media (min-width:480px){.daff-hero.daff-compact{padding:48px}}.daff-hero.daff-left .daff-hero__icon,.daff-hero.daff-left .daff-hero__subtitle,.daff-hero.daff-left .daff-hero__tagline,.daff-hero.daff-left .daff-hero__title{text-align:left}.daff-hero.daff-center .daff-hero__icon,.daff-hero.daff-center .daff-hero__subtitle,.daff-hero.daff-center .daff-hero__tagline,.daff-hero.daff-center .daff-hero__title{margin-left:auto;margin-right:auto;text-align:center}.daff-hero.daff-right .daff-hero__icon,.daff-hero.daff-right .daff-hero__subtitle,.daff-hero.daff-right .daff-hero__tagline,.daff-hero.daff-right .daff-hero__title{margin-left:auto;text-align:right}"]
4039
4132
  },] }
4040
4133
  ];
4041
4134
  /** @nocollapse */
@@ -4179,7 +4272,7 @@ class DaffCalloutBase {
4179
4272
  this._renderer = _renderer;
4180
4273
  }
4181
4274
  }
4182
- const _daffCalloutBase = daffColorMixin(daffCompactableMixin(daffTextAlignmentMixin(DaffCalloutBase, 'left')));
4275
+ const _daffCalloutBase = daffArticleEncapsulatedMixin(daffManageContainerLayoutMixin(daffColorMixin(daffCompactableMixin(daffTextAlignmentMixin(DaffCalloutBase, 'left')))));
4183
4276
  /**
4184
4277
  * @inheritdoc
4185
4278
  */
@@ -4215,7 +4308,7 @@ DaffCalloutComponent.decorators = [
4215
4308
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
4216
4309
  inputs: ['color', 'compact', 'textAlignment'],
4217
4310
  changeDetection: ChangeDetectionStrategy.OnPush,
4218
- styles: [".daff-callout{display:block;padding:64px 24px}@media (min-width:480px){.daff-callout{padding:96px 48px}}.daff-callout__icon{margin:0 0 16px}.daff-callout__tagline{text-transform:uppercase;font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;margin:0 0 8px;padding:0}.daff-callout__title{font-weight:700;font-size:1.75rem;line-height:2rem;margin:0;max-width:1040px;overflow-wrap:break-word;padding:0;width:100%}@media (min-width:480px){.daff-callout__title{font-weight:700;font-size:2rem;line-height:2.25rem}}@media (min-width:480px) and (min-width:768px){.daff-callout__title{font-size:3rem;line-height:3.5rem}}.daff-callout__subtitle{font-size:1.25rem;margin:16px 0 0;max-width:592px;padding:0;width:100%}.daff-callout__body:not(:last-child){margin-bottom:48px}.daff-callout__body:not(:first-child){margin-top:48px}.daff-callout--centered .daff-callout__title{margin:0 auto;text-align:center}.daff-callout--centered .daff-callout__subtitle{margin:10px auto 0;text-align:center}@media (min-width:480px){.daff-callout--centered .daff-callout__subtitle{margin:25px auto 0}}.daff-callout--compact{padding:25px}@media (min-width:480px){.daff-callout--compact{padding:25px 50px}}.daff-callout.daff-compact{padding:48px 24px}@media (min-width:480px){.daff-callout.daff-compact{padding:48px}}.daff-callout.daff-left .daff-callout__icon,.daff-callout.daff-left .daff-callout__subtitle,.daff-callout.daff-left .daff-callout__tagline,.daff-callout.daff-left .daff-callout__title{text-align:left}.daff-callout.daff-center .daff-callout__icon,.daff-callout.daff-center .daff-callout__subtitle,.daff-callout.daff-center .daff-callout__tagline,.daff-callout.daff-center .daff-callout__title{margin-left:auto;margin-right:auto;text-align:center}.daff-callout.daff-right .daff-callout__icon,.daff-callout.daff-right .daff-callout__subtitle,.daff-callout.daff-right .daff-callout__tagline,.daff-callout.daff-right .daff-callout__title{margin-left:auto;text-align:right}"]
4311
+ styles: [".daff-callout{display:block;padding:64px 24px}@media (min-width:480px){.daff-callout{padding:96px 48px}}.daff-callout__icon{margin:0 0 16px}.daff-callout__tagline{text-transform:uppercase;font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;margin:0 0 8px;padding:0}.daff-callout__title{font-weight:700;font-size:1.75rem;line-height:2rem;margin:0;max-width:1040px;overflow-wrap:break-word;padding:0;width:100%}@media (min-width:480px){.daff-callout__title{font-weight:700;font-size:2rem;line-height:2.25rem}}@media (min-width:480px) and (min-width:768px){.daff-callout__title{font-size:3rem;line-height:3.5rem}}.daff-callout__subtitle{font-size:1.25rem;margin:16px 0 0;max-width:592px;padding:0;width:100%}.daff-callout__body:not(:last-child){margin-bottom:48px}.daff-callout__body:not(:first-child){margin-top:48px}.daff-callout__body p:first-of-type{margin-top:0}.daff-callout__body p:last-of-type{margin-bottom:0}.daff-callout--centered .daff-callout__title{margin:0 auto;text-align:center}.daff-callout--centered .daff-callout__subtitle{margin:10px auto 0;text-align:center}@media (min-width:480px){.daff-callout--centered .daff-callout__subtitle{margin:25px auto 0}}.daff-callout--compact{padding:25px}@media (min-width:480px){.daff-callout--compact{padding:25px 50px}}.daff-callout.daff-compact{padding:48px 24px}@media (min-width:480px){.daff-callout.daff-compact{padding:48px}}.daff-callout.daff-left .daff-callout__icon,.daff-callout.daff-left .daff-callout__subtitle,.daff-callout.daff-left .daff-callout__tagline,.daff-callout.daff-left .daff-callout__title{text-align:left}.daff-callout.daff-center .daff-callout__icon,.daff-callout.daff-center .daff-callout__subtitle,.daff-callout.daff-center .daff-callout__tagline,.daff-callout.daff-center .daff-callout__title{margin-left:auto;margin-right:auto;text-align:center}.daff-callout.daff-right .daff-callout__icon,.daff-callout.daff-right .daff-callout__subtitle,.daff-callout.daff-right .daff-callout__tagline,.daff-callout.daff-right .daff-callout__title{margin-left:auto;text-align:right}"]
4219
4312
  },] }
4220
4313
  ];
4221
4314
  /** @nocollapse */
@@ -4330,6 +4423,9 @@ var DaffFeatureModeEnum;
4330
4423
  DaffFeatureModeEnum["Compact"] = "compact";
4331
4424
  DaffFeatureModeEnum["Normal"] = "normal";
4332
4425
  })(DaffFeatureModeEnum || (DaffFeatureModeEnum = {}));
4426
+ /**
4427
+ * @deprecated See {@link DaffCardComponent}
4428
+ */
4333
4429
  class DaffFeatureComponent {
4334
4430
  constructor() {
4335
4431
  /**
@@ -4408,6 +4504,40 @@ DaffCardActionsDirective.propDecorators = {
4408
4504
  class: [{ type: HostBinding, args: ['class.daff-card__actions',] }]
4409
4505
  };
4410
4506
 
4507
+ class DaffCardContentDirective {
4508
+ constructor() {
4509
+ /**
4510
+ * @docs-private
4511
+ */
4512
+ this.class = true;
4513
+ }
4514
+ }
4515
+ DaffCardContentDirective.decorators = [
4516
+ { type: Directive, args: [{
4517
+ selector: '[daffCardContent]',
4518
+ },] }
4519
+ ];
4520
+ DaffCardContentDirective.propDecorators = {
4521
+ class: [{ type: HostBinding, args: ['class.daff-card__content',] }]
4522
+ };
4523
+
4524
+ class DaffCardIconDirective {
4525
+ constructor() {
4526
+ /**
4527
+ * @docs-private
4528
+ */
4529
+ this.class = true;
4530
+ }
4531
+ }
4532
+ DaffCardIconDirective.decorators = [
4533
+ { type: Directive, args: [{
4534
+ selector: '[daffCardIcon]',
4535
+ },] }
4536
+ ];
4537
+ DaffCardIconDirective.propDecorators = {
4538
+ class: [{ type: HostBinding, args: ['class.daff-card__icon',] }]
4539
+ };
4540
+
4411
4541
  class DaffCardImageDirective {
4412
4542
  constructor() {
4413
4543
  /**
@@ -4459,6 +4589,16 @@ DaffCardTitleDirective.propDecorators = {
4459
4589
  class: [{ type: HostBinding, args: ['class.daff-card__title',] }]
4460
4590
  };
4461
4591
 
4592
+ var DaffCardTypeEnum;
4593
+ (function (DaffCardTypeEnum) {
4594
+ DaffCardTypeEnum["Raised"] = "daff-raised-card";
4595
+ DaffCardTypeEnum["Stroked"] = "daff-stroked-card";
4596
+ })(DaffCardTypeEnum || (DaffCardTypeEnum = {}));
4597
+ var DaffCardOrientationEnum;
4598
+ (function (DaffCardOrientationEnum) {
4599
+ DaffCardOrientationEnum["Vertical"] = "vertical";
4600
+ DaffCardOrientationEnum["Horizontal"] = "horizontal";
4601
+ })(DaffCardOrientationEnum || (DaffCardOrientationEnum = {}));
4462
4602
  /**
4463
4603
  * An _elementRef and an instance of renderer2 are needed for the Colorable mixin
4464
4604
  */
@@ -4468,7 +4608,7 @@ class DaffCardBase {
4468
4608
  this._renderer = _renderer;
4469
4609
  }
4470
4610
  }
4471
- const _daffCardBase = daffColorMixin(DaffCardBase);
4611
+ const _daffCardBase = daffArticleEncapsulatedMixin(daffColorMixin(DaffCardBase));
4472
4612
  /**
4473
4613
  * @inheritdoc
4474
4614
  */
@@ -4477,28 +4617,79 @@ class DaffCardComponent extends _daffCardBase {
4477
4617
  super(elementRef, renderer);
4478
4618
  this.elementRef = elementRef;
4479
4619
  this.renderer = renderer;
4480
- this.raised = false;
4481
- /**
4482
- * @docs-private
4483
- */
4620
+ this._orientation = DaffCardOrientationEnum.Vertical;
4484
4621
  this.class = true;
4622
+ this.cardType = this.initCardType();
4485
4623
  }
4486
- get raisedClass() {
4487
- return this.raised;
4624
+ get orientation() {
4625
+ return this._orientation;
4626
+ }
4627
+ set orientation(value) {
4628
+ if (value === null || value === undefined || value === '') {
4629
+ this._orientation = DaffCardOrientationEnum.Vertical;
4630
+ }
4631
+ else {
4632
+ this._orientation = value;
4633
+ }
4634
+ }
4635
+ ;
4636
+ initCardType() {
4637
+ const values = Object.keys(DaffCardTypeEnum).map((k) => DaffCardTypeEnum[k]);
4638
+ if (values.indexOf(this._getHostElement().localName) >= 0) {
4639
+ return this._getHostElement().localName;
4640
+ }
4641
+ for (const attr of values) {
4642
+ if (this._hasHostAttributes(attr)) {
4643
+ return attr;
4644
+ }
4645
+ }
4646
+ return null;
4647
+ }
4648
+ /**
4649
+ * @docs-private
4650
+ */
4651
+ ngOnInit() {
4652
+ if (this.cardType) {
4653
+ this.elementRef.nativeElement.classList.add(this.cardType);
4654
+ }
4655
+ }
4656
+ /**
4657
+ * @docs-private
4658
+ */
4659
+ get verticalClass() {
4660
+ return this.orientation === DaffCardOrientationEnum.Vertical;
4661
+ }
4662
+ /**
4663
+ * @docs-private
4664
+ */
4665
+ get horizontalClass() {
4666
+ return this.orientation === DaffCardOrientationEnum.Horizontal;
4667
+ }
4668
+ _getHostElement() {
4669
+ return this.elementRef.nativeElement;
4670
+ }
4671
+ /**
4672
+ * Gets whether the button has one of the given attributes.
4673
+ * */
4674
+ _hasHostAttributes(...attributes) {
4675
+ return attributes.some(attribute => this._getHostElement().hasAttribute(attribute));
4488
4676
  }
4489
4677
  }
4490
4678
  DaffCardComponent.decorators = [
4491
4679
  { type: Component, args: [{
4492
- selector: '' +
4493
- 'daff-card' + ',' +
4494
- 'a[daff-card]',
4495
- template: "<ng-content select=\"[daffCardImage]\"></ng-content>\n<div class=\"daff-card__content\">\n\t<ng-content select=\"[daffCardTagline]\"></ng-content>\n\t<ng-content select=\"[daffCardTitle]\"></ng-content>\n\t<ng-content></ng-content>\n</div>\n<ng-content select=\"[daffCardActions]\"></ng-content>",
4680
+ selector: 'daff-card' + ',' +
4681
+ 'daff-raised-card' + ',' +
4682
+ 'daff-stroked-card' + ',' +
4683
+ 'a[daff-card]' + ',' +
4684
+ 'a[daff-raised-card]' + ',' +
4685
+ 'a[daff-stroked-card]',
4686
+ template: "<ng-content select=\"[daffCardImage]\"></ng-content>\n<div class=\"daff-card__wrapper\">\n\t<div class=\"daff-card__body\">\n\t\t<ng-content select=\"[daffCardIcon]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTagline]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTitle]\"></ng-content>\n\t\t<ng-content select=\"[daffCardContent]\"></ng-content>\n\t</div>\n\t<ng-content select=\"[daffCardActions]\"></ng-content>\n</div>",
4496
4687
  encapsulation: ViewEncapsulation.None,
4497
4688
  //todo(damienwebdev): remove once decorators hit stage 3 - https://github.com/microsoft/TypeScript/issues/7342
4498
4689
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
4499
4690
  inputs: ['color'],
4500
4691
  changeDetection: ChangeDetectionStrategy.OnPush,
4501
- styles: [".daff-card{display:flex;flex-direction:column;border-radius:8px}.daff-card__image{display:inline-block;width:100%}.daff-card__image,.daff-card__image img{border-top-left-radius:inherit;border-top-right-radius:inherit}.daff-card__tagline{text-transform:uppercase;font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;margin:0 0 4px;padding:0}.daff-card__title{font-weight:700;font-size:1.5rem;line-height:2rem;margin-bottom:16px}.daff-card__content{padding:24px}.daff-card__content p{margin:0;padding:0}.daff-card__actions{padding:0 24px 24px}a.daff-card{text-decoration:none}"]
4692
+ styles: [".daff-card{display:flex;border-radius:8px}.daff-card__image{display:inline-block;width:100%}.daff-card--vertical{flex-direction:column}.daff-card--vertical .daff-card__image,.daff-card--vertical .daff-card__image img{border-top-left-radius:calc(8px - 1px);border-top-right-radius:calc(8px - 1px)}.daff-card--horizontal{flex-wrap:wrap}@media (min-width:480px){.daff-card--horizontal{flex-direction:row;flex-wrap:nowrap}}.daff-card--horizontal .daff-card__image,.daff-card--horizontal .daff-card__image img{border-top-left-radius:calc(8px - 1px);border-bottom-left-radius:calc(8px - 1px)}.daff-card--horizontal .daff-card__image img{-o-object-fit:cover;object-fit:cover;-o-object-position:center center;object-position:center center;height:100%!important;width:100%}.daff-card__icon{display:block;margin:0 0 .5rem}.daff-card__tagline{text-transform:uppercase;font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;padding:0;margin:0 0 .25rem}.daff-card__title{font-weight:700;font-size:1.375rem;line-height:1.5rem;margin:0 0 1rem}@media (min-width:480px){.daff-card__title{font-size:1.5rem;line-height:1.75rem}}.daff-card__body{padding:1.5rem}.daff-card__content p:first-of-type{margin-top:0}.daff-card__content p:last-of-type{margin-bottom:0}.daff-card__actions{padding:0 1.5rem 1.5rem}a.daff-card,a.daff-raised-card,a.daff-stroked-card{text-decoration:none;transition:background-color .3s,box-shadow .3s}"]
4502
4693
  },] }
4503
4694
  ];
4504
4695
  /** @nocollapse */
@@ -4507,9 +4698,10 @@ DaffCardComponent.ctorParameters = () => [
4507
4698
  { type: Renderer2 }
4508
4699
  ];
4509
4700
  DaffCardComponent.propDecorators = {
4510
- raised: [{ type: Input }],
4701
+ orientation: [{ type: Input }],
4511
4702
  class: [{ type: HostBinding, args: ['class.daff-card',] }],
4512
- raisedClass: [{ type: HostBinding, args: ['class.daff-card--raised',] }]
4703
+ verticalClass: [{ type: HostBinding, args: ['class.daff-card--vertical',] }],
4704
+ horizontalClass: [{ type: HostBinding, args: ['class.daff-card--horizontal',] }]
4513
4705
  };
4514
4706
 
4515
4707
  class DaffCardModule {
@@ -4521,16 +4713,20 @@ DaffCardModule.decorators = [
4521
4713
  ],
4522
4714
  declarations: [
4523
4715
  DaffCardComponent,
4716
+ DaffCardIconDirective,
4717
+ DaffCardImageDirective,
4524
4718
  DaffCardTaglineDirective,
4525
4719
  DaffCardTitleDirective,
4526
- DaffCardImageDirective,
4720
+ DaffCardContentDirective,
4527
4721
  DaffCardActionsDirective,
4528
4722
  ],
4529
4723
  exports: [
4530
4724
  DaffCardComponent,
4725
+ DaffCardIconDirective,
4726
+ DaffCardImageDirective,
4531
4727
  DaffCardTaglineDirective,
4532
4728
  DaffCardTitleDirective,
4533
- DaffCardImageDirective,
4729
+ DaffCardContentDirective,
4534
4730
  DaffCardActionsDirective,
4535
4731
  ],
4536
4732
  },] }
@@ -4576,5 +4772,5 @@ var DaffTextAlignmentEnum;
4576
4772
  * Generated bundle index. Do not edit.
4577
4773
  */
4578
4774
 
4579
- export { DaffAccordionComponent, DaffAccordionItemComponent, DaffAccordionItemContentDirective, DaffAccordionItemTitleDirective, DaffAccordionModule, DaffArticleComponent, DaffArticleLeadDirective, DaffArticleMetaDirective, DaffArticleModule, DaffArticleTitleDirective, DaffBackdropComponent, DaffBackdropModule, DaffBreakpoints, DaffButtonComponent, DaffButtonModule, DaffButtonSetComponent, DaffButtonSetModule, DaffCalloutBodyDirective, DaffCalloutComponent, DaffCalloutIconDirective, DaffCalloutLayoutEnum, DaffCalloutModule, DaffCalloutSizeEnum, DaffCalloutSubtitleDirective, DaffCalloutTaglineDirective, DaffCalloutTitleDirective, DaffCardActionsDirective, DaffCardComponent, DaffCardImageDirective, DaffCardModule, DaffCardTaglineDirective, DaffCardTitleDirective, DaffCheckboxComponent, DaffCheckboxControlValueAccessorDirective, DaffCheckboxModule, DaffCheckboxSetComponent, DaffContainerComponent, DaffContainerModule, DaffErrorMessageComponent, DaffErrorMessageModule, DaffErrorStateMatcher, DaffFeatureComponent, DaffFeatureIconDirective, DaffFeatureModeEnum, DaffFeatureModule, DaffFeatureSubheaderDirective, DaffFeatureSubtitleDirective, DaffFeatureTitleDirective, DaffFormFieldComponent, DaffFormFieldControl, DaffFormFieldModule, DaffGalleryImageComponent, DaffHeroBodyDirective, DaffHeroComponent, DaffHeroIconDirective, DaffHeroLayoutEnum, DaffHeroModule, DaffHeroSizeEnum, DaffHeroSubtitleDirective, DaffHeroTaglineDirective, DaffHeroTitleDirective, DaffImageComponent, DaffImageGalleryComponent, DaffImageGalleryModule, DaffImageListComponent, DaffImageListModule, DaffImageModule, DaffInputComponent, DaffInputModule, DaffLinkSetComponent, DaffLinkSetHeadingDirective, DaffLinkSetItemComponent, DaffLinkSetModule, DaffLinkSetSubheadingDirective, DaffListComponent, DaffListItemComponent, DaffListModeEnum, DaffListModule, DaffListSubheaderDirective, DaffLoadingIconComponent, DaffLoadingIconModule, DaffMediaGalleryComponent, DaffMediaGalleryModule, DaffModalActionsComponent, DaffModalComponent, DaffModalContentComponent, DaffModalHeaderComponent, DaffModalModule, DaffModalService, DaffModalTitleDirective, DaffNativeSelectComponent, DaffNativeSelectModule, DaffNavbarComponent, DaffNavbarModule, DaffPaginatorComponent, DaffPaginatorModule, DaffPrefixDirective, DaffPrefixSuffixModule, DaffProgressIndicatorComponent, DaffProgressIndicatorModule, DaffQtyDropdownComponent, DaffQtyDropdownModule, DaffQuantityFieldComponent, DaffQuantityFieldModule, DaffQuantityInputComponent, DaffQuantitySelectComponent, DaffRadioComponent, DaffRadioControlValueAccessorDirective, DaffRadioModule, DaffRadioSetComponent, DaffSidebarComponent, DaffSidebarModule, DaffSidebarViewportComponent, DaffStatusEnum, DaffSuffixDirective, DaffTextAlignmentEnum, DaffThumbnailDirective, daffCompactableMixin, daffPrefixableMixin, daffSuffixableMixin, daffThumbnailCompatToken, daffProgressIndicatorAnimation as ɵa, DaffRadioRegistry as ɵb, daffAccordionAnimations as ɵc, DaffNavAccordionItemComponent as ɵd, daffBackdropAnimations as ɵe, DAFF_MEDIA_GALLERY_TOKEN as ɵf, DaffMediaGalleryRegistry as ɵg, DaffMediaRendererComponent as ɵi, daffFadeAnimations as ɵj, daffSidebarAnimations as ɵk };
4775
+ export { DaffAccordionComponent, DaffAccordionItemComponent, DaffAccordionItemContentDirective, DaffAccordionItemTitleDirective, DaffAccordionModule, DaffArticleComponent, DaffArticleLeadDirective, DaffArticleMetaDirective, DaffArticleModule, DaffArticleTitleDirective, DaffBackdropComponent, DaffBackdropModule, DaffBreakpoints, DaffButtonComponent, DaffButtonModule, DaffButtonSetComponent, DaffButtonSetModule, DaffCalloutBodyDirective, DaffCalloutComponent, DaffCalloutIconDirective, DaffCalloutLayoutEnum, DaffCalloutModule, DaffCalloutSizeEnum, DaffCalloutSubtitleDirective, DaffCalloutTaglineDirective, DaffCalloutTitleDirective, DaffCardActionsDirective, DaffCardComponent, DaffCardContentDirective, DaffCardIconDirective, DaffCardImageDirective, DaffCardModule, DaffCardOrientationEnum, DaffCardTaglineDirective, DaffCardTitleDirective, DaffCheckboxComponent, DaffCheckboxControlValueAccessorDirective, DaffCheckboxModule, DaffCheckboxSetComponent, DaffContainerComponent, DaffContainerModule, DaffErrorMessageComponent, DaffErrorMessageModule, DaffErrorStateMatcher, DaffFeatureComponent, DaffFeatureIconDirective, DaffFeatureModeEnum, DaffFeatureModule, DaffFeatureSubheaderDirective, DaffFeatureSubtitleDirective, DaffFeatureTitleDirective, DaffFormFieldComponent, DaffFormFieldControl, DaffFormFieldModule, DaffGalleryImageComponent, DaffHeroBodyDirective, DaffHeroComponent, DaffHeroIconDirective, DaffHeroLayoutEnum, DaffHeroModule, DaffHeroSizeEnum, DaffHeroSubtitleDirective, DaffHeroTaglineDirective, DaffHeroTitleDirective, DaffImageComponent, DaffImageGalleryComponent, DaffImageGalleryModule, DaffImageListComponent, DaffImageListModule, DaffImageModule, DaffInputComponent, DaffInputModule, DaffLinkSetComponent, DaffLinkSetHeadingDirective, DaffLinkSetItemComponent, DaffLinkSetModule, DaffLinkSetSubheadingDirective, DaffListComponent, DaffListItemComponent, DaffListModeEnum, DaffListModule, DaffListSubheaderDirective, DaffLoadingIconComponent, DaffLoadingIconModule, DaffMediaGalleryComponent, DaffMediaGalleryModule, DaffModalActionsComponent, DaffModalComponent, DaffModalContentComponent, DaffModalHeaderComponent, DaffModalModule, DaffModalService, DaffModalTitleDirective, DaffNativeSelectComponent, DaffNativeSelectModule, DaffNavbarComponent, DaffNavbarModule, DaffPaginatorComponent, DaffPaginatorModule, DaffPrefixDirective, DaffPrefixSuffixModule, DaffProgressIndicatorComponent, DaffProgressIndicatorModule, DaffQtyDropdownComponent, DaffQtyDropdownModule, DaffQuantityFieldComponent, DaffQuantityFieldModule, DaffQuantityInputComponent, DaffQuantitySelectComponent, DaffRadioComponent, DaffRadioControlValueAccessorDirective, DaffRadioModule, DaffRadioSetComponent, DaffSidebarComponent, DaffSidebarModule, DaffSidebarViewportComponent, DaffStatusEnum, DaffSuffixDirective, DaffTextAlignmentEnum, DaffThumbnailDirective, daffArticleEncapsulatedMixin, daffCompactableMixin, daffManageContainerLayoutMixin, daffPrefixableMixin, daffSuffixableMixin, daffThumbnailCompatToken, daffProgressIndicatorAnimation as ɵa, DaffRadioRegistry as ɵb, daffAccordionAnimations as ɵc, DaffNavAccordionItemComponent as ɵd, daffBackdropAnimations as ɵe, DAFF_MEDIA_GALLERY_TOKEN as ɵf, DaffMediaGalleryRegistry as ɵg, DaffMediaRendererComponent as ɵi, daffFadeAnimations as ɵj, daffSidebarAnimations as ɵk };
4580
4776
  //# sourceMappingURL=daffodil-design.js.map