@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
@@ -322,6 +322,25 @@
|
|
322
322
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
323
323
|
}
|
324
324
|
|
325
|
+
/**
|
326
|
+
* A mixin for giving a component the ability to prevent article styles from cascading down.
|
327
|
+
*/
|
328
|
+
function daffArticleEncapsulatedMixin(Base) {
|
329
|
+
return /** @class */ (function (_super) {
|
330
|
+
__extends(class_1, _super);
|
331
|
+
function class_1() {
|
332
|
+
var args = [];
|
333
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
334
|
+
args[_i] = arguments[_i];
|
335
|
+
}
|
336
|
+
var _this = _super.apply(this, __spread(args)) || this;
|
337
|
+
_this._renderer.addClass(_this._elementRef.nativeElement, "daff-ae");
|
338
|
+
return _this;
|
339
|
+
}
|
340
|
+
return class_1;
|
341
|
+
}(Base));
|
342
|
+
}
|
343
|
+
|
325
344
|
var DaffPaletteEnum;
|
326
345
|
(function (DaffPaletteEnum) {
|
327
346
|
DaffPaletteEnum["PRIMARY"] = "primary";
|
@@ -610,7 +629,7 @@
|
|
610
629
|
}
|
611
630
|
return DaffButtonBase;
|
612
631
|
}());
|
613
|
-
var _daffButtonBase = daffPrefixableMixin(daffSuffixableMixin(daffColorMixin(daffStatusMixin(daffSizeMixin(DaffButtonBase, 'md')))));
|
632
|
+
var _daffButtonBase = daffArticleEncapsulatedMixin(daffPrefixableMixin(daffSuffixableMixin(daffColorMixin(daffStatusMixin(daffSizeMixin(DaffButtonBase, 'md'))))));
|
614
633
|
var DaffButtonTypeEnum;
|
615
634
|
(function (DaffButtonTypeEnum) {
|
616
635
|
DaffButtonTypeEnum["Default"] = "daff-button";
|
@@ -1054,18 +1073,34 @@
|
|
1054
1073
|
];
|
1055
1074
|
|
1056
1075
|
var uniqueGalleryId = 0;
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1076
|
+
/**
|
1077
|
+
* An _elementRef and an instance of renderer2 are needed for the link set mixins
|
1078
|
+
*/
|
1079
|
+
var DaffMediaGalleryBase = /** @class */ (function () {
|
1080
|
+
function DaffMediaGalleryBase(_elementRef, _renderer) {
|
1081
|
+
this._elementRef = _elementRef;
|
1082
|
+
this._renderer = _renderer;
|
1083
|
+
}
|
1084
|
+
return DaffMediaGalleryBase;
|
1085
|
+
}());
|
1086
|
+
var _daffMediaGalleryBase = daffArticleEncapsulatedMixin((DaffMediaGalleryBase));
|
1087
|
+
var DaffMediaGalleryComponent = /** @class */ (function (_super) {
|
1088
|
+
__extends(DaffMediaGalleryComponent, _super);
|
1089
|
+
function DaffMediaGalleryComponent(elementRef, renderer, registry) {
|
1090
|
+
var _this = _super.call(this, elementRef, renderer) || this;
|
1091
|
+
_this.elementRef = elementRef;
|
1092
|
+
_this.renderer = renderer;
|
1093
|
+
_this.registry = registry;
|
1060
1094
|
/**
|
1061
1095
|
* Adds a class for styling the media gallery
|
1062
1096
|
*/
|
1063
|
-
|
1097
|
+
_this.class = true;
|
1064
1098
|
/**
|
1065
1099
|
* The name of the gallery
|
1066
1100
|
*/
|
1067
|
-
|
1101
|
+
_this.name = "" + uniqueGalleryId;
|
1068
1102
|
uniqueGalleryId++;
|
1103
|
+
return _this;
|
1069
1104
|
}
|
1070
1105
|
DaffMediaGalleryComponent.prototype.ngOnInit = function () {
|
1071
1106
|
this.registry.add(this);
|
@@ -1074,7 +1109,7 @@
|
|
1074
1109
|
this.registry.remove(this);
|
1075
1110
|
};
|
1076
1111
|
return DaffMediaGalleryComponent;
|
1077
|
-
}());
|
1112
|
+
}(_daffMediaGalleryBase));
|
1078
1113
|
DaffMediaGalleryComponent.decorators = [
|
1079
1114
|
{ type: i0.Component, args: [{
|
1080
1115
|
selector: 'daff-media-gallery',
|
@@ -1089,6 +1124,8 @@
|
|
1089
1124
|
];
|
1090
1125
|
/** @nocollapse */
|
1091
1126
|
DaffMediaGalleryComponent.ctorParameters = function () { return [
|
1127
|
+
{ type: i0.ElementRef },
|
1128
|
+
{ type: i0.Renderer2 },
|
1092
1129
|
{ type: DaffMediaGalleryRegistry }
|
1093
1130
|
]; };
|
1094
1131
|
DaffMediaGalleryComponent.propDecorators = {
|
@@ -2915,11 +2952,27 @@
|
|
2915
2952
|
initiallyActive: [{ type: i0.Input }]
|
2916
2953
|
};
|
2917
2954
|
|
2918
|
-
|
2919
|
-
|
2955
|
+
/**
|
2956
|
+
* An _elementRef and an instance of renderer2 are needed for the link set mixins
|
2957
|
+
*/
|
2958
|
+
var DaffAccordionBase = /** @class */ (function () {
|
2959
|
+
function DaffAccordionBase(_elementRef, _renderer) {
|
2960
|
+
this._elementRef = _elementRef;
|
2961
|
+
this._renderer = _renderer;
|
2920
2962
|
}
|
2921
|
-
return
|
2963
|
+
return DaffAccordionBase;
|
2922
2964
|
}());
|
2965
|
+
var _daffAccordionBase = daffArticleEncapsulatedMixin((DaffAccordionBase));
|
2966
|
+
var DaffAccordionComponent = /** @class */ (function (_super) {
|
2967
|
+
__extends(DaffAccordionComponent, _super);
|
2968
|
+
function DaffAccordionComponent(elementRef, renderer) {
|
2969
|
+
var _this = _super.call(this, elementRef, renderer) || this;
|
2970
|
+
_this.elementRef = elementRef;
|
2971
|
+
_this.renderer = renderer;
|
2972
|
+
return _this;
|
2973
|
+
}
|
2974
|
+
return DaffAccordionComponent;
|
2975
|
+
}(_daffAccordionBase));
|
2923
2976
|
DaffAccordionComponent.decorators = [
|
2924
2977
|
{ type: i0.Component, args: [{
|
2925
2978
|
selector: 'daff-accordion',
|
@@ -2928,6 +2981,11 @@
|
|
2928
2981
|
styles: [":host{display:block;width:100%}"]
|
2929
2982
|
},] }
|
2930
2983
|
];
|
2984
|
+
/** @nocollapse */
|
2985
|
+
DaffAccordionComponent.ctorParameters = function () { return [
|
2986
|
+
{ type: i0.ElementRef },
|
2987
|
+
{ type: i0.Renderer2 }
|
2988
|
+
]; };
|
2931
2989
|
|
2932
2990
|
var DaffNavAccordionItemComponent = /** @class */ (function () {
|
2933
2991
|
function DaffNavAccordionItemComponent(accordion, navAccordionItemParent) {
|
@@ -3052,7 +3110,7 @@
|
|
3052
3110
|
template: '<ng-content></ng-content>',
|
3053
3111
|
encapsulation: i0.ViewEncapsulation.None,
|
3054
3112
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
3055
|
-
styles: [".daff-article{display:block}.daff-article
|
3113
|
+
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}"]
|
3056
3114
|
},] }
|
3057
3115
|
];
|
3058
3116
|
DaffArticleComponent.propDecorators = {
|
@@ -3361,18 +3419,34 @@
|
|
3361
3419
|
},] }
|
3362
3420
|
];
|
3363
3421
|
|
3422
|
+
/**
|
3423
|
+
* An _elementRef and an instance of renderer2 are needed for the link set mixins
|
3424
|
+
*/
|
3425
|
+
var DaffLinkSetBase = /** @class */ (function () {
|
3426
|
+
function DaffLinkSetBase(_elementRef, _renderer) {
|
3427
|
+
this._elementRef = _elementRef;
|
3428
|
+
this._renderer = _renderer;
|
3429
|
+
}
|
3430
|
+
return DaffLinkSetBase;
|
3431
|
+
}());
|
3432
|
+
var _daffLinkSetBase = daffArticleEncapsulatedMixin((DaffLinkSetBase));
|
3364
3433
|
/**
|
3365
3434
|
* DaffLinkSetComponent is a component for displaying a two or more links.
|
3366
3435
|
*/
|
3367
|
-
var DaffLinkSetComponent = /** @class */ (function () {
|
3368
|
-
|
3436
|
+
var DaffLinkSetComponent = /** @class */ (function (_super) {
|
3437
|
+
__extends(DaffLinkSetComponent, _super);
|
3438
|
+
function DaffLinkSetComponent(elementRef, renderer) {
|
3439
|
+
var _this = _super.call(this, elementRef, renderer) || this;
|
3440
|
+
_this.elementRef = elementRef;
|
3441
|
+
_this.renderer = renderer;
|
3369
3442
|
/**
|
3370
3443
|
* @docs-private
|
3371
3444
|
*/
|
3372
|
-
|
3445
|
+
_this.class = true;
|
3446
|
+
return _this;
|
3373
3447
|
}
|
3374
3448
|
return DaffLinkSetComponent;
|
3375
|
-
}());
|
3449
|
+
}(_daffLinkSetBase));
|
3376
3450
|
DaffLinkSetComponent.decorators = [
|
3377
3451
|
{ type: i0.Component, args: [{
|
3378
3452
|
selector: 'daff-link-set',
|
@@ -3382,6 +3456,11 @@
|
|
3382
3456
|
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}"]
|
3383
3457
|
},] }
|
3384
3458
|
];
|
3459
|
+
/** @nocollapse */
|
3460
|
+
DaffLinkSetComponent.ctorParameters = function () { return [
|
3461
|
+
{ type: i0.ElementRef },
|
3462
|
+
{ type: i0.Renderer2 }
|
3463
|
+
]; };
|
3385
3464
|
DaffLinkSetComponent.propDecorators = {
|
3386
3465
|
class: [{ type: i0.HostBinding, args: ['class.daff-link-set',] }]
|
3387
3466
|
};
|
@@ -3555,9 +3634,24 @@
|
|
3555
3634
|
DaffListTypeEnum["Default"] = "daff-list";
|
3556
3635
|
DaffListTypeEnum["Nav"] = "daff-nav-list";
|
3557
3636
|
})(DaffListTypeEnum || (DaffListTypeEnum = {}));
|
3558
|
-
|
3559
|
-
|
3560
|
-
|
3637
|
+
/**
|
3638
|
+
* An _elementRef and an instance of renderer2 are needed for the list mixins
|
3639
|
+
*/
|
3640
|
+
var DaffListBase = /** @class */ (function () {
|
3641
|
+
function DaffListBase(_elementRef, _renderer) {
|
3642
|
+
this._elementRef = _elementRef;
|
3643
|
+
this._renderer = _renderer;
|
3644
|
+
}
|
3645
|
+
return DaffListBase;
|
3646
|
+
}());
|
3647
|
+
var _daffListBase = daffArticleEncapsulatedMixin((DaffListBase));
|
3648
|
+
var DaffListComponent = /** @class */ (function (_super) {
|
3649
|
+
__extends(DaffListComponent, _super);
|
3650
|
+
function DaffListComponent(elementRef, renderer) {
|
3651
|
+
var _this = _super.call(this, elementRef, renderer) || this;
|
3652
|
+
_this.elementRef = elementRef;
|
3653
|
+
_this.renderer = renderer;
|
3654
|
+
return _this;
|
3561
3655
|
}
|
3562
3656
|
Object.defineProperty(DaffListComponent.prototype, "list", {
|
3563
3657
|
/**
|
@@ -3639,7 +3733,7 @@
|
|
3639
3733
|
return this.elementRef.nativeElement;
|
3640
3734
|
};
|
3641
3735
|
return DaffListComponent;
|
3642
|
-
}());
|
3736
|
+
}(_daffListBase));
|
3643
3737
|
DaffListComponent.decorators = [
|
3644
3738
|
{ type: i0.Component, args: [{
|
3645
3739
|
selector: 'daff-list' + ',' +
|
@@ -3652,7 +3746,8 @@
|
|
3652
3746
|
];
|
3653
3747
|
/** @nocollapse */
|
3654
3748
|
DaffListComponent.ctorParameters = function () { return [
|
3655
|
-
{ type: i0.ElementRef }
|
3749
|
+
{ type: i0.ElementRef },
|
3750
|
+
{ type: i0.Renderer2 }
|
3656
3751
|
]; };
|
3657
3752
|
DaffListComponent.propDecorators = {
|
3658
3753
|
mode: [{ type: i0.Input }],
|
@@ -3978,19 +4073,19 @@
|
|
3978
4073
|
var _this = _super.call(this, elementRef, renderer) || this;
|
3979
4074
|
_this.elementRef = elementRef;
|
3980
4075
|
_this.renderer = renderer;
|
3981
|
-
_this.
|
4076
|
+
_this.raised = false;
|
3982
4077
|
/**
|
3983
4078
|
* @docs-private
|
3984
4079
|
*/
|
3985
4080
|
_this.hostClass = true;
|
3986
4081
|
return _this;
|
3987
4082
|
}
|
3988
|
-
Object.defineProperty(DaffNavbarComponent.prototype, "
|
4083
|
+
Object.defineProperty(DaffNavbarComponent.prototype, "raisedClass", {
|
3989
4084
|
/**
|
3990
4085
|
* @docs-private
|
3991
4086
|
*/
|
3992
4087
|
get: function () {
|
3993
|
-
return this.
|
4088
|
+
return this.raised;
|
3994
4089
|
},
|
3995
4090
|
enumerable: false,
|
3996
4091
|
configurable: true
|
@@ -4000,13 +4095,14 @@
|
|
4000
4095
|
}(_daffNavbarBase));
|
4001
4096
|
DaffNavbarComponent.decorators = [
|
4002
4097
|
{ type: i0.Component, args: [{
|
4003
|
-
|
4098
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
4099
|
+
selector: 'nav[daff-navbar]',
|
4004
4100
|
template: '<ng-content></ng-content>',
|
4005
4101
|
//todo(damienwebdev): remove once decorators hit stage 3 - https://github.com/microsoft/TypeScript/issues/7342
|
4006
4102
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
4007
4103
|
inputs: ['color'],
|
4008
4104
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
4009
|
-
styles: [":host{align-items:center;
|
4105
|
+
styles: [":host{display:flex;align-items:center;height:64px;width:100%;padding:0 16px}"]
|
4010
4106
|
},] }
|
4011
4107
|
];
|
4012
4108
|
/** @nocollapse */
|
@@ -4015,8 +4111,8 @@
|
|
4015
4111
|
{ type: i0.Renderer2 }
|
4016
4112
|
]; };
|
4017
4113
|
DaffNavbarComponent.propDecorators = {
|
4018
|
-
|
4019
|
-
|
4114
|
+
raised: [{ type: i0.Input }],
|
4115
|
+
raisedClass: [{ type: i0.HostBinding, args: ['class.daff-navbar--raised',] }],
|
4020
4116
|
hostClass: [{ type: i0.HostBinding, args: ['class.daff-navbar',] }]
|
4021
4117
|
};
|
4022
4118
|
|
@@ -4785,7 +4881,7 @@
|
|
4785
4881
|
DaffHeroSizeEnum["Small"] = "small";
|
4786
4882
|
})(exports.DaffHeroSizeEnum || (exports.DaffHeroSizeEnum = {}));
|
4787
4883
|
/**
|
4788
|
-
* An _elementRef and an instance of renderer2 are needed for the
|
4884
|
+
* An _elementRef and an instance of renderer2 are needed for the hero mixins
|
4789
4885
|
*/
|
4790
4886
|
var DaffHeroBase = /** @class */ (function () {
|
4791
4887
|
function DaffHeroBase(_elementRef, _renderer) {
|
@@ -4794,7 +4890,7 @@
|
|
4794
4890
|
}
|
4795
4891
|
return DaffHeroBase;
|
4796
4892
|
}());
|
4797
|
-
var _daffHeroBase = daffManageContainerLayoutMixin(daffColorMixin(daffCompactableMixin(daffTextAlignmentMixin(DaffHeroBase, 'left'))));
|
4893
|
+
var _daffHeroBase = daffArticleEncapsulatedMixin(daffManageContainerLayoutMixin(daffColorMixin(daffCompactableMixin(daffTextAlignmentMixin(DaffHeroBase, 'left')))));
|
4798
4894
|
/**
|
4799
4895
|
* @inheritdoc
|
4800
4896
|
*/
|
@@ -4992,7 +5088,7 @@
|
|
4992
5088
|
}
|
4993
5089
|
return DaffCalloutBase;
|
4994
5090
|
}());
|
4995
|
-
var _daffCalloutBase = daffManageContainerLayoutMixin(daffColorMixin(daffCompactableMixin(daffTextAlignmentMixin(DaffCalloutBase, 'left'))));
|
5091
|
+
var _daffCalloutBase = daffArticleEncapsulatedMixin(daffManageContainerLayoutMixin(daffColorMixin(daffCompactableMixin(daffTextAlignmentMixin(DaffCalloutBase, 'left')))));
|
4996
5092
|
/**
|
4997
5093
|
* @inheritdoc
|
4998
5094
|
*/
|
@@ -5160,6 +5256,9 @@
|
|
5160
5256
|
DaffFeatureModeEnum["Compact"] = "compact";
|
5161
5257
|
DaffFeatureModeEnum["Normal"] = "normal";
|
5162
5258
|
})(exports.DaffFeatureModeEnum || (exports.DaffFeatureModeEnum = {}));
|
5259
|
+
/**
|
5260
|
+
* @deprecated See {@link DaffCardComponent}
|
5261
|
+
*/
|
5163
5262
|
var DaffFeatureComponent = /** @class */ (function () {
|
5164
5263
|
function DaffFeatureComponent() {
|
5165
5264
|
/**
|
@@ -5360,7 +5459,7 @@
|
|
5360
5459
|
}
|
5361
5460
|
return DaffCardBase;
|
5362
5461
|
}());
|
5363
|
-
var _daffCardBase = daffColorMixin(DaffCardBase);
|
5462
|
+
var _daffCardBase = daffArticleEncapsulatedMixin(daffColorMixin(DaffCardBase));
|
5364
5463
|
/**
|
5365
5464
|
* @inheritdoc
|
5366
5465
|
*/
|
@@ -5472,7 +5571,7 @@
|
|
5472
5571
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
5473
5572
|
inputs: ['color'],
|
5474
5573
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
5475
|
-
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.
|
5574
|
+
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}"]
|
5476
5575
|
},] }
|
5477
5576
|
];
|
5478
5577
|
/** @nocollapse */
|
@@ -5659,6 +5758,7 @@
|
|
5659
5758
|
exports.DaffSidebarViewportComponent = DaffSidebarViewportComponent;
|
5660
5759
|
exports.DaffSuffixDirective = DaffSuffixDirective;
|
5661
5760
|
exports.DaffThumbnailDirective = DaffThumbnailDirective;
|
5761
|
+
exports.daffArticleEncapsulatedMixin = daffArticleEncapsulatedMixin;
|
5662
5762
|
exports.daffCompactableMixin = daffCompactableMixin;
|
5663
5763
|
exports.daffManageContainerLayoutMixin = daffManageContainerLayoutMixin;
|
5664
5764
|
exports.daffPrefixableMixin = daffPrefixableMixin;
|