@daffodil/design 0.94.1 → 0.95.0
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/README.md +1 -2
- package/accordion/src/accordion-theme.scss +4 -4
- package/article/README.md +4 -27
- package/article/src/article-theme.scss +14 -14
- package/badge/src/badge-theme.scss +0 -6
- package/button/README.md +0 -4
- package/button/src/button/basic/button-theme.scss +17 -42
- package/button/src/button/button-base.scss +12 -3
- package/button/src/button/flat/flat-theme.scss +14 -12
- package/button/src/button/icon/icon-theme.scss +19 -40
- package/button/src/button/stroked/stroked-theme.scss +22 -36
- package/card/src/card/stroked/stroked-theme.scss +1 -1
- package/card/src/card-base.scss +0 -1
- package/fesm2022/daffodil-design-accordion.mjs +285 -188
- package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
- package/fesm2022/daffodil-design-article.mjs +578 -340
- package/fesm2022/daffodil-design-article.mjs.map +1 -1
- package/fesm2022/daffodil-design-badge.mjs +166 -84
- package/fesm2022/daffodil-design-badge.mjs.map +1 -1
- package/fesm2022/daffodil-design-beacon.mjs +109 -47
- package/fesm2022/daffodil-design-beacon.mjs.map +1 -1
- package/fesm2022/daffodil-design-breadcrumb.mjs +384 -277
- package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
- package/fesm2022/daffodil-design-button.mjs +541 -408
- package/fesm2022/daffodil-design-button.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout.mjs +349 -224
- package/fesm2022/daffodil-design-callout.mjs.map +1 -1
- package/fesm2022/daffodil-design-card.mjs +496 -327
- package/fesm2022/daffodil-design-card.mjs.map +1 -1
- package/fesm2022/daffodil-design-checkbox.mjs +373 -313
- package/fesm2022/daffodil-design-checkbox.mjs.map +1 -1
- package/fesm2022/daffodil-design-container.mjs +103 -60
- package/fesm2022/daffodil-design-container.mjs.map +1 -1
- package/fesm2022/daffodil-design-form-field.mjs +441 -352
- package/fesm2022/daffodil-design-form-field.mjs.map +1 -1
- package/fesm2022/daffodil-design-form.mjs +155 -57
- package/fesm2022/daffodil-design-form.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero.mjs +349 -234
- package/fesm2022/daffodil-design-hero.mjs.map +1 -1
- package/fesm2022/daffodil-design-image-lite.mjs +60 -0
- package/fesm2022/daffodil-design-image-lite.mjs.map +1 -0
- package/fesm2022/daffodil-design-image.mjs +245 -107
- package/fesm2022/daffodil-design-image.mjs.map +1 -1
- package/fesm2022/daffodil-design-input.mjs +217 -164
- package/fesm2022/daffodil-design-input.mjs.map +1 -1
- package/fesm2022/daffodil-design-list.mjs +308 -170
- package/fesm2022/daffodil-design-list.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery.mjs +351 -278
- package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu.mjs +525 -417
- package/fesm2022/daffodil-design-menu.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal.mjs +680 -450
- package/fesm2022/daffodil-design-modal.mjs.map +1 -1
- package/fesm2022/daffodil-design-native-select.mjs +175 -166
- package/fesm2022/daffodil-design-native-select.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar.mjs +145 -68
- package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification.mjs +376 -226
- package/fesm2022/daffodil-design-notification.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator.mjs +296 -192
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar.mjs +243 -157
- package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
- package/fesm2022/daffodil-design-radio.mjs +382 -300
- package/fesm2022/daffodil-design-radio.mjs.map +1 -1
- package/fesm2022/daffodil-design-select.mjs +424 -364
- package/fesm2022/daffodil-design-select.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar.mjs +874 -887
- package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
- package/fesm2022/daffodil-design-spinner.mjs +156 -99
- package/fesm2022/daffodil-design-spinner.mjs.map +1 -1
- package/fesm2022/daffodil-design-switch.mjs +176 -106
- package/fesm2022/daffodil-design-switch.mjs.map +1 -1
- package/fesm2022/daffodil-design-tabs.mjs +685 -427
- package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
- package/fesm2022/daffodil-design-tag.mjs +251 -133
- package/fesm2022/daffodil-design-tag.mjs.map +1 -1
- package/fesm2022/daffodil-design-testing.mjs +4 -16
- package/fesm2022/daffodil-design-testing.mjs.map +1 -1
- package/fesm2022/daffodil-design-text-snippet.mjs +140 -54
- package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -1
- package/fesm2022/daffodil-design-textarea.mjs +170 -150
- package/fesm2022/daffodil-design-textarea.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast.mjs +658 -481
- package/fesm2022/daffodil-design-toast.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree.mjs +456 -469
- package/fesm2022/daffodil-design-tree.mjs.map +1 -1
- package/fesm2022/daffodil-design-youtube-player.mjs +168 -115
- package/fesm2022/daffodil-design-youtube-player.mjs.map +1 -1
- package/fesm2022/daffodil-design.mjs +1628 -1650
- package/fesm2022/daffodil-design.mjs.map +1 -1
- package/form-field/README.md +0 -4
- package/form-field/src/form-field-theme.scss +12 -4
- package/image/README.md +4 -0
- package/image-lite/README.md +58 -0
- package/image-lite/src/image-theme.scss +18 -0
- package/list/src/list-base.scss +3 -4
- package/list/src/list-theme.scss +6 -5
- package/media-gallery/README.md +1 -1
- package/media-gallery/src/media-gallery-theme.scss +3 -3
- package/menu/src/menu-theme.scss +6 -2
- package/notification/src/notification-theme.scss +10 -10
- package/package.json +1 -1
- package/scss/global.scss +17 -11
- package/scss/theme.scss +2 -18
- package/scss/theming/_get-palette.scss +0 -3
- package/scss/theming/_index.scss +0 -1
- package/scss/theming/_light-dark.scss +2 -2
- package/scss/theming/_theme-css-variables.scss +1 -1
- package/scss/theming/create-theme/_create-theme.scss +2 -2
- package/scss/theming/get-font-colors/_get-font-colors.scss +7 -25
- package/scss/theming/get-font-colors/_get-font-colors.spec.scss +0 -12
- package/scss/typography/_classes.scss +0 -6
- package/scss/typography/_index.scss +0 -1
- package/scss/typography/mixins/_sizes.scss +0 -1
- package/scss/typography/utilities/_variables.scss +3 -0
- package/select/src/select-theme.scss +10 -14
- package/switch/src/switch-theme.scss +2 -2
- package/tabs/src/tabs-theme.scss +4 -4
- package/types/daffodil-design-accordion.d.ts +92 -67
- package/types/daffodil-design-article.d.ts +49 -56
- package/types/daffodil-design-badge.d.ts +56 -33
- package/types/daffodil-design-beacon.d.ts +35 -14
- package/types/daffodil-design-breadcrumb.d.ts +89 -85
- package/types/daffodil-design-button.d.ts +128 -146
- package/types/daffodil-design-callout.d.ts +55 -39
- package/types/daffodil-design-card.d.ts +66 -56
- package/types/daffodil-design-checkbox.d.ts +211 -167
- package/types/daffodil-design-container.d.ts +17 -16
- package/types/daffodil-design-form-field.d.ts +273 -240
- package/types/daffodil-design-form.d.ts +21 -21
- package/types/daffodil-design-hero.d.ts +55 -39
- package/types/daffodil-design-image-lite.d.ts +17 -0
- package/types/daffodil-design-image.d.ts +89 -55
- package/types/daffodil-design-input.d.ts +86 -72
- package/types/daffodil-design-list.d.ts +49 -43
- package/types/daffodil-design-media-gallery.d.ts +176 -148
- package/types/daffodil-design-menu.d.ts +177 -169
- package/types/daffodil-design-modal.d.ts +205 -205
- package/types/daffodil-design-native-select.d.ts +94 -84
- package/types/daffodil-design-navbar.d.ts +34 -24
- package/types/daffodil-design-notification.d.ts +82 -67
- package/types/daffodil-design-paginator.d.ts +140 -118
- package/types/daffodil-design-progress-bar.d.ts +92 -74
- package/types/daffodil-design-radio.d.ts +183 -144
- package/types/daffodil-design-select.d.ts +207 -178
- package/types/daffodil-design-sidebar.d.ts +270 -253
- package/types/daffodil-design-spinner.d.ts +49 -36
- package/types/daffodil-design-switch.d.ts +77 -46
- package/types/daffodil-design-tabs.d.ts +248 -198
- package/types/daffodil-design-tag.d.ts +91 -56
- package/types/daffodil-design-testing.d.ts +1 -3
- package/types/daffodil-design-text-snippet.d.ts +48 -37
- package/types/daffodil-design-textarea.d.ts +88 -79
- package/types/daffodil-design-toast.d.ts +175 -183
- package/types/daffodil-design-tree.d.ts +186 -169
- package/types/daffodil-design-youtube-player.d.ts +56 -52
- package/types/daffodil-design.d.ts +614 -695
- package/button/src/button/raised/raised-theme.scss +0 -92
- package/button/src/button/underline/underline-theme.scss +0 -141
- package/fesm2022/daffodil-design-link-set.mjs +0 -160
- package/fesm2022/daffodil-design-link-set.mjs.map +0 -1
- package/fesm2022/daffodil-design-quantity-field.mjs +0 -364
- package/fesm2022/daffodil-design-quantity-field.mjs.map +0 -1
- package/link-set/README.md +0 -86
- package/quantity-field/README.md +0 -63
- package/scss/theming/_configure-theme.scss +0 -120
- package/scss/typography/mixins/_font-weight.scss +0 -14
- package/types/daffodil-design-link-set.d.ts +0 -72
- package/types/daffodil-design-quantity-field.d.ts +0 -171
|
@@ -1,227 +1,352 @@
|
|
|
1
|
-
import { CommonModule } from
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
import * as i1 from
|
|
5
|
-
import { DaffArticleEncapsulatedDirective,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
i0.ɵɵ
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
1
|
+
import { CommonModule } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { ChangeDetectionStrategy, Component, Directive, NgModule, ViewEncapsulation } from "@angular/core";
|
|
4
|
+
import * as i1 from "@daffodil/design";
|
|
5
|
+
import { DaffArticleEncapsulatedDirective, DaffColorableDirective, DaffCompactableDirective, DaffManageContainerLayoutDirective, DaffTextAlignableDirective } from "@daffodil/design";
|
|
6
|
+
var DaffCalloutComponent = class DaffCalloutComponent {
|
|
7
|
+
constructor(textAlignable) {
|
|
8
|
+
this.textAlignable = textAlignable;
|
|
9
|
+
this.textAlignable.defaultAlignment = "left";
|
|
10
|
+
}
|
|
11
|
+
static {
|
|
12
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
13
|
+
minVersion: "12.0.0",
|
|
14
|
+
version: "22.2.4",
|
|
15
|
+
ngImport: i0,
|
|
16
|
+
type: DaffCalloutComponent,
|
|
17
|
+
deps: [{ token: i1.DaffTextAlignableDirective }],
|
|
18
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
static {
|
|
22
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
23
|
+
minVersion: "14.0.0",
|
|
24
|
+
version: "22.2.4",
|
|
25
|
+
type: DaffCalloutComponent,
|
|
26
|
+
isStandalone: true,
|
|
27
|
+
selector: "daff-callout",
|
|
28
|
+
host: { classAttribute: "daff-callout" },
|
|
29
|
+
hostDirectives: [
|
|
30
|
+
{ directive: i1.DaffArticleEncapsulatedDirective },
|
|
31
|
+
{ directive: i1.DaffManageContainerLayoutDirective },
|
|
32
|
+
{
|
|
33
|
+
directive: i1.DaffTextAlignableDirective,
|
|
34
|
+
inputs: ["textAlignment", "textAlignment"]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
directive: i1.DaffCompactableDirective,
|
|
38
|
+
inputs: ["compact", "compact"]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
directive: i1.DaffColorableDirective,
|
|
42
|
+
inputs: ["color", "color"]
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
ngImport: i0,
|
|
46
|
+
template: "<ng-content></ng-content>",
|
|
47
|
+
isInline: true,
|
|
48
|
+
styles: [".daff-callout{display:block;padding:4rem 1.5rem}@media(min-width:480px){.daff-callout{padding:6rem 3rem}}.daff-callout__icon{margin:0 0 1rem}.daff-callout__tagline{font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;text-transform:uppercase;margin:0 0 .5rem;padding:0}.daff-callout__title{font-size:1.75rem;font-weight:700;line-height:2rem;margin:0;max-width:65rem;overflow-wrap:break-word;padding:0;width:100%}@media(min-width:480px){.daff-callout__title{font-size:2rem;font-weight:600;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:var(--daff-font-size-md);margin:1rem 0 0;max-width:37rem;padding:0;width:100%}.daff-callout__body:not(:last-child){margin-bottom:3rem}.daff-callout__body:not(:first-child){margin-top:3rem}.daff-callout__body>p:first-of-type{margin-top:0}.daff-callout__body>p:last-of-type{margin-bottom:0}.daff-callout.daff-compact{padding:3rem 1.5rem}@media(min-width:480px){.daff-callout.daff-compact{padding:3rem}}.daff-callout.daff-left .daff-callout__icon,.daff-callout.daff-left .daff-callout__tagline,.daff-callout.daff-left .daff-callout__title,.daff-callout.daff-left .daff-callout__subtitle{text-align:left}.daff-callout.daff-center .daff-callout__icon,.daff-callout.daff-center .daff-callout__tagline,.daff-callout.daff-center .daff-callout__title,.daff-callout.daff-center .daff-callout__subtitle{margin-left:auto;margin-right:auto;text-align:center}.daff-callout.daff-right .daff-callout__icon,.daff-callout.daff-right .daff-callout__tagline,.daff-callout.daff-right .daff-callout__title,.daff-callout.daff-right .daff-callout__subtitle{margin-left:auto;text-align:right}\n"],
|
|
49
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
50
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
55
|
+
minVersion: "12.0.0",
|
|
56
|
+
version: "22.2.4",
|
|
57
|
+
ngImport: i0,
|
|
58
|
+
type: DaffCalloutComponent,
|
|
59
|
+
decorators: [{
|
|
60
|
+
type: Component,
|
|
61
|
+
args: [{
|
|
62
|
+
selector: "daff-callout",
|
|
63
|
+
template: "<ng-content></ng-content>",
|
|
64
|
+
hostDirectives: [
|
|
65
|
+
{ directive: DaffArticleEncapsulatedDirective },
|
|
66
|
+
{ directive: DaffManageContainerLayoutDirective },
|
|
67
|
+
{
|
|
68
|
+
directive: DaffTextAlignableDirective,
|
|
69
|
+
inputs: ["textAlignment"]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
directive: DaffCompactableDirective,
|
|
73
|
+
inputs: ["compact"]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
directive: DaffColorableDirective,
|
|
77
|
+
inputs: ["color"]
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
host: { "class": "daff-callout" },
|
|
81
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
82
|
+
encapsulation: ViewEncapsulation.None,
|
|
83
|
+
styles: [".daff-callout{display:block;padding:4rem 1.5rem}@media(min-width:480px){.daff-callout{padding:6rem 3rem}}.daff-callout__icon{margin:0 0 1rem}.daff-callout__tagline{font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;text-transform:uppercase;margin:0 0 .5rem;padding:0}.daff-callout__title{font-size:1.75rem;font-weight:700;line-height:2rem;margin:0;max-width:65rem;overflow-wrap:break-word;padding:0;width:100%}@media(min-width:480px){.daff-callout__title{font-size:2rem;font-weight:600;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:var(--daff-font-size-md);margin:1rem 0 0;max-width:37rem;padding:0;width:100%}.daff-callout__body:not(:last-child){margin-bottom:3rem}.daff-callout__body:not(:first-child){margin-top:3rem}.daff-callout__body>p:first-of-type{margin-top:0}.daff-callout__body>p:last-of-type{margin-bottom:0}.daff-callout.daff-compact{padding:3rem 1.5rem}@media(min-width:480px){.daff-callout.daff-compact{padding:3rem}}.daff-callout.daff-left .daff-callout__icon,.daff-callout.daff-left .daff-callout__tagline,.daff-callout.daff-left .daff-callout__title,.daff-callout.daff-left .daff-callout__subtitle{text-align:left}.daff-callout.daff-center .daff-callout__icon,.daff-callout.daff-center .daff-callout__tagline,.daff-callout.daff-center .daff-callout__title,.daff-callout.daff-center .daff-callout__subtitle{margin-left:auto;margin-right:auto;text-align:center}.daff-callout.daff-right .daff-callout__icon,.daff-callout.daff-right .daff-callout__tagline,.daff-callout.daff-right .daff-callout__title,.daff-callout.daff-right .daff-callout__subtitle{margin-left:auto;text-align:right}\n"]
|
|
84
|
+
}]
|
|
85
|
+
}],
|
|
86
|
+
ctorParameters: () => [{ type: i1.DaffTextAlignableDirective }]
|
|
87
|
+
});
|
|
88
|
+
var DaffCalloutBodyDirective = class DaffCalloutBodyDirective {
|
|
89
|
+
static {
|
|
90
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
91
|
+
minVersion: "12.0.0",
|
|
92
|
+
version: "22.2.4",
|
|
93
|
+
ngImport: i0,
|
|
94
|
+
type: DaffCalloutBodyDirective,
|
|
95
|
+
deps: [],
|
|
96
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
static {
|
|
100
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
101
|
+
minVersion: "14.0.0",
|
|
102
|
+
version: "22.2.4",
|
|
103
|
+
type: DaffCalloutBodyDirective,
|
|
104
|
+
isStandalone: true,
|
|
105
|
+
selector: "[daffCalloutBody]",
|
|
106
|
+
host: { classAttribute: "daff-callout__body" },
|
|
107
|
+
ngImport: i0
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
112
|
+
minVersion: "12.0.0",
|
|
113
|
+
version: "22.2.4",
|
|
114
|
+
ngImport: i0,
|
|
115
|
+
type: DaffCalloutBodyDirective,
|
|
116
|
+
decorators: [{
|
|
117
|
+
type: Directive,
|
|
118
|
+
args: [{
|
|
119
|
+
selector: "[daffCalloutBody]",
|
|
120
|
+
host: { "class": "daff-callout__body" }
|
|
121
|
+
}]
|
|
122
|
+
}]
|
|
123
|
+
});
|
|
124
|
+
var DaffCalloutIconDirective = class DaffCalloutIconDirective {
|
|
125
|
+
static {
|
|
126
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
127
|
+
minVersion: "12.0.0",
|
|
128
|
+
version: "22.2.4",
|
|
129
|
+
ngImport: i0,
|
|
130
|
+
type: DaffCalloutIconDirective,
|
|
131
|
+
deps: [],
|
|
132
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
static {
|
|
136
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
137
|
+
minVersion: "14.0.0",
|
|
138
|
+
version: "22.2.4",
|
|
139
|
+
type: DaffCalloutIconDirective,
|
|
140
|
+
isStandalone: true,
|
|
141
|
+
selector: "[daffCalloutIcon]",
|
|
142
|
+
host: { classAttribute: "daff-callout__icon" },
|
|
143
|
+
ngImport: i0
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
148
|
+
minVersion: "12.0.0",
|
|
149
|
+
version: "22.2.4",
|
|
150
|
+
ngImport: i0,
|
|
151
|
+
type: DaffCalloutIconDirective,
|
|
152
|
+
decorators: [{
|
|
153
|
+
type: Directive,
|
|
154
|
+
args: [{
|
|
155
|
+
selector: "[daffCalloutIcon]",
|
|
156
|
+
host: { "class": "daff-callout__icon" }
|
|
157
|
+
}]
|
|
158
|
+
}]
|
|
159
|
+
});
|
|
160
|
+
var DaffCalloutSubtitleDirective = class DaffCalloutSubtitleDirective {
|
|
161
|
+
static {
|
|
162
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
163
|
+
minVersion: "12.0.0",
|
|
164
|
+
version: "22.2.4",
|
|
165
|
+
ngImport: i0,
|
|
166
|
+
type: DaffCalloutSubtitleDirective,
|
|
167
|
+
deps: [],
|
|
168
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
static {
|
|
172
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
173
|
+
minVersion: "14.0.0",
|
|
174
|
+
version: "22.2.4",
|
|
175
|
+
type: DaffCalloutSubtitleDirective,
|
|
176
|
+
isStandalone: true,
|
|
177
|
+
selector: "[daffCalloutSubtitle]",
|
|
178
|
+
host: { classAttribute: "daff-callout__subtitle" },
|
|
179
|
+
ngImport: i0
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
184
|
+
minVersion: "12.0.0",
|
|
185
|
+
version: "22.2.4",
|
|
186
|
+
ngImport: i0,
|
|
187
|
+
type: DaffCalloutSubtitleDirective,
|
|
188
|
+
decorators: [{
|
|
189
|
+
type: Directive,
|
|
190
|
+
args: [{
|
|
191
|
+
selector: "[daffCalloutSubtitle]",
|
|
192
|
+
host: { class: "daff-callout__subtitle" }
|
|
193
|
+
}]
|
|
194
|
+
}]
|
|
195
|
+
});
|
|
196
|
+
var DaffCalloutTaglineDirective = class DaffCalloutTaglineDirective {
|
|
197
|
+
static {
|
|
198
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
199
|
+
minVersion: "12.0.0",
|
|
200
|
+
version: "22.2.4",
|
|
201
|
+
ngImport: i0,
|
|
202
|
+
type: DaffCalloutTaglineDirective,
|
|
203
|
+
deps: [],
|
|
204
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
static {
|
|
208
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
209
|
+
minVersion: "14.0.0",
|
|
210
|
+
version: "22.2.4",
|
|
211
|
+
type: DaffCalloutTaglineDirective,
|
|
212
|
+
isStandalone: true,
|
|
213
|
+
selector: "[daffCalloutTagline]",
|
|
214
|
+
host: { classAttribute: "daff-callout__tagline" },
|
|
215
|
+
ngImport: i0
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
220
|
+
minVersion: "12.0.0",
|
|
221
|
+
version: "22.2.4",
|
|
222
|
+
ngImport: i0,
|
|
223
|
+
type: DaffCalloutTaglineDirective,
|
|
224
|
+
decorators: [{
|
|
225
|
+
type: Directive,
|
|
226
|
+
args: [{
|
|
227
|
+
selector: "[daffCalloutTagline]",
|
|
228
|
+
host: { "class": "daff-callout__tagline" }
|
|
229
|
+
}]
|
|
230
|
+
}]
|
|
231
|
+
});
|
|
232
|
+
var DaffCalloutTitleDirective = class DaffCalloutTitleDirective {
|
|
233
|
+
static {
|
|
234
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
235
|
+
minVersion: "12.0.0",
|
|
236
|
+
version: "22.2.4",
|
|
237
|
+
ngImport: i0,
|
|
238
|
+
type: DaffCalloutTitleDirective,
|
|
239
|
+
deps: [],
|
|
240
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
static {
|
|
244
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
245
|
+
minVersion: "14.0.0",
|
|
246
|
+
version: "22.2.4",
|
|
247
|
+
type: DaffCalloutTitleDirective,
|
|
248
|
+
isStandalone: true,
|
|
249
|
+
selector: "[daffCalloutTitle]",
|
|
250
|
+
host: { classAttribute: "daff-callout__title" },
|
|
251
|
+
ngImport: i0
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
256
|
+
minVersion: "12.0.0",
|
|
257
|
+
version: "22.2.4",
|
|
258
|
+
ngImport: i0,
|
|
259
|
+
type: DaffCalloutTitleDirective,
|
|
260
|
+
decorators: [{
|
|
261
|
+
type: Directive,
|
|
262
|
+
args: [{
|
|
263
|
+
selector: "[daffCalloutTitle]",
|
|
264
|
+
host: { class: "daff-callout__title" }
|
|
265
|
+
}]
|
|
266
|
+
}]
|
|
267
|
+
});
|
|
268
|
+
var DaffCalloutModule = class DaffCalloutModule {
|
|
269
|
+
static {
|
|
270
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
271
|
+
minVersion: "12.0.0",
|
|
272
|
+
version: "22.2.4",
|
|
273
|
+
ngImport: i0,
|
|
274
|
+
type: DaffCalloutModule,
|
|
275
|
+
deps: [],
|
|
276
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
static {
|
|
280
|
+
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
281
|
+
minVersion: "14.0.0",
|
|
282
|
+
version: "22.2.4",
|
|
283
|
+
ngImport: i0,
|
|
284
|
+
type: DaffCalloutModule,
|
|
285
|
+
imports: [
|
|
286
|
+
CommonModule,
|
|
287
|
+
DaffCalloutComponent,
|
|
288
|
+
DaffCalloutIconDirective,
|
|
289
|
+
DaffCalloutTitleDirective,
|
|
290
|
+
DaffCalloutSubtitleDirective,
|
|
291
|
+
DaffCalloutTaglineDirective,
|
|
292
|
+
DaffCalloutBodyDirective
|
|
293
|
+
],
|
|
294
|
+
exports: [
|
|
295
|
+
DaffCalloutComponent,
|
|
296
|
+
DaffCalloutIconDirective,
|
|
297
|
+
DaffCalloutSubtitleDirective,
|
|
298
|
+
DaffCalloutTitleDirective,
|
|
299
|
+
DaffCalloutTaglineDirective,
|
|
300
|
+
DaffCalloutBodyDirective
|
|
301
|
+
]
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
static {
|
|
305
|
+
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
306
|
+
minVersion: "12.0.0",
|
|
307
|
+
version: "22.2.4",
|
|
308
|
+
ngImport: i0,
|
|
309
|
+
type: DaffCalloutModule,
|
|
310
|
+
imports: [CommonModule]
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
};
|
|
314
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
315
|
+
minVersion: "12.0.0",
|
|
316
|
+
version: "22.2.4",
|
|
317
|
+
ngImport: i0,
|
|
318
|
+
type: DaffCalloutModule,
|
|
319
|
+
decorators: [{
|
|
320
|
+
type: NgModule,
|
|
321
|
+
args: [{
|
|
322
|
+
imports: [
|
|
323
|
+
CommonModule,
|
|
324
|
+
DaffCalloutComponent,
|
|
325
|
+
DaffCalloutIconDirective,
|
|
326
|
+
DaffCalloutTitleDirective,
|
|
327
|
+
DaffCalloutSubtitleDirective,
|
|
328
|
+
DaffCalloutTaglineDirective,
|
|
329
|
+
DaffCalloutBodyDirective
|
|
330
|
+
],
|
|
331
|
+
exports: [
|
|
332
|
+
DaffCalloutComponent,
|
|
333
|
+
DaffCalloutIconDirective,
|
|
334
|
+
DaffCalloutSubtitleDirective,
|
|
335
|
+
DaffCalloutTitleDirective,
|
|
336
|
+
DaffCalloutTaglineDirective,
|
|
337
|
+
DaffCalloutBodyDirective
|
|
338
|
+
]
|
|
339
|
+
}]
|
|
340
|
+
}]
|
|
341
|
+
});
|
|
213
342
|
const DAFF_CALLOUT_COMPONENTS = [
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
343
|
+
DaffCalloutComponent,
|
|
344
|
+
DaffCalloutIconDirective,
|
|
345
|
+
DaffCalloutTitleDirective,
|
|
346
|
+
DaffCalloutSubtitleDirective,
|
|
347
|
+
DaffCalloutTaglineDirective,
|
|
348
|
+
DaffCalloutBodyDirective
|
|
220
349
|
];
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Generated bundle index. Do not edit.
|
|
224
|
-
*/
|
|
225
|
-
|
|
226
350
|
export { DAFF_CALLOUT_COMPONENTS, DaffCalloutBodyDirective, DaffCalloutComponent, DaffCalloutIconDirective, DaffCalloutModule, DaffCalloutSubtitleDirective, DaffCalloutTaglineDirective, DaffCalloutTitleDirective };
|
|
227
|
-
|
|
351
|
+
|
|
352
|
+
//# sourceMappingURL=daffodil-design-callout.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daffodil-design-callout.mjs","sources":["../../../libs/design/callout/src/callout/callout.component.ts","../../../libs/design/callout/src/callout-body/callout-body.directive.ts","../../../libs/design/callout/src/callout-icon/callout-icon.directive.ts","../../../libs/design/callout/src/callout-subtitle/callout-subtitle.directive.ts","../../../libs/design/callout/src/callout-tagline/callout-tagline.directive.ts","../../../libs/design/callout/src/callout-title/callout-title.directive.ts","../../../libs/design/callout/src/callout.module.ts","../../../libs/design/callout/src/callout.ts","../../../libs/design/callout/src/daffodil-design-callout.ts"],"sourcesContent":["/* eslint-disable quote-props */\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\nimport {\n DaffColorableDirective,\n DaffCompactableDirective,\n DaffArticleEncapsulatedDirective,\n DaffManageContainerLayoutDirective,\n DaffTextAlignableDirective,\n} from '@daffodil/design';\n\n/**\n * Callout is a versatile, pre-styled container used to highlight\n * key pieces of content in a visually distinct way.\n *\n * @example\n * ```html\n * <daff-callout>\n * <div daffCalloutIcon></div>\n * <div daffCalloutTagline></div>\n * <h2 daffCalloutTitle></h2>\n * <p daffCalloutSubtitle></p>\n * <div daffCalloutBody></div>\n * </daff-callout>\n * ```\n */\n@Component({\n selector: 'daff-callout',\n template: '<ng-content></ng-content>',\n styleUrls: ['./callout.component.scss'],\n hostDirectives: [\n { directive: DaffArticleEncapsulatedDirective },\n { directive: DaffManageContainerLayoutDirective },\n {\n directive: DaffTextAlignableDirective,\n inputs: ['textAlignment'],\n },\n {\n directive: DaffCompactableDirective,\n inputs: ['compact'],\n },\n {\n directive: DaffColorableDirective,\n inputs: ['color'],\n },\n ],\n host: {\n 'class': 'daff-callout',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class DaffCalloutComponent {\n constructor(private textAlignable: DaffTextAlignableDirective) {\n this.textAlignable.defaultAlignment = 'left';\n }\n}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * A flexible wrapper for custom or additional components within the callout.\n * It should only be used once per callout.\n *\n * @example\n * ```html\n * <div daffCalloutBody></div>\n * ```\n */\n@Directive({\n selector: '[daffCalloutBody]',\n host: {\n 'class': 'daff-callout__body',\n },\n})\n\nexport class DaffCalloutBodyDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * Used to display a visual or branding element.\n * Avoid using this for interactive or actionable icons.\n *\n * @example\n * ```html\n * <div daffCalloutIcon></div>\n * ```\n */\n@Directive({\n selector: '[daffCalloutIcon]',\n host: {\n 'class': 'daff-callout__icon',\n },\n})\n\nexport class DaffCalloutIconDirective {}\n","import { Directive } from '@angular/core';\n\n/**\n * Secondary text that provides additional descriptive information beneath the title.\n *\n * @example\n * ```html\n * <p daffCalloutSubtitle></p>\n * ```\n */\n@Directive({\n selector: '[daffCalloutSubtitle]',\n host: {\n class: 'daff-callout__subtitle',\n },\n})\n\nexport class DaffCalloutSubtitleDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * A short, memorable phrase that complements the title and provides quick context.\n *\n * @example\n * ```html\n * <div daffCalloutTagline></div>\n * ```\n */\n@Directive({\n selector: '[daffCalloutTagline]',\n host: {\n 'class': 'daff-callout__tagline',\n },\n})\n\nexport class DaffCalloutTaglineDirective {}\n","import { Directive } from '@angular/core';\n\n/**\n * Applied to a heading tag (`<h*>`) to define the primary title of the callout.\n *\n * @example\n * ```html\n * <h2 daffCalloutTitle></h2>\n * ```\n */\n@Directive({\n selector: '[daffCalloutTitle]',\n host: {\n class: 'daff-callout__title',\n },\n})\n\nexport class DaffCalloutTitleDirective {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffCalloutComponent } from './callout/callout.component';\nimport { DaffCalloutBodyDirective } from './callout-body/callout-body.directive';\nimport { DaffCalloutIconDirective } from './callout-icon/callout-icon.directive';\nimport { DaffCalloutSubtitleDirective } from './callout-subtitle/callout-subtitle.directive';\nimport { DaffCalloutTaglineDirective } from './callout-tagline/callout-tagline.directive';\nimport { DaffCalloutTitleDirective } from './callout-title/callout-title.directive';\n\n/**\n * @deprecated in favor of {@link DAFF_CALLOUT_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n imports: [\n CommonModule,\n DaffCalloutComponent,\n DaffCalloutIconDirective,\n DaffCalloutTitleDirective,\n DaffCalloutSubtitleDirective,\n DaffCalloutTaglineDirective,\n DaffCalloutBodyDirective,\n ],\n exports: [\n DaffCalloutComponent,\n DaffCalloutIconDirective,\n DaffCalloutSubtitleDirective,\n DaffCalloutTitleDirective,\n DaffCalloutTaglineDirective,\n DaffCalloutBodyDirective,\n ],\n})\n\nexport class DaffCalloutModule { }\n","import { DaffCalloutComponent } from './callout/callout.component';\nimport { DaffCalloutBodyDirective } from './callout-body/callout-body.directive';\nimport { DaffCalloutIconDirective } from './callout-icon/callout-icon.directive';\nimport { DaffCalloutSubtitleDirective } from './callout-subtitle/callout-subtitle.directive';\nimport { DaffCalloutTaglineDirective } from './callout-tagline/callout-tagline.directive';\nimport { DaffCalloutTitleDirective } from './callout-title/callout-title.directive';\n\n/**\n * @docs-private\n */\nexport const DAFF_CALLOUT_COMPONENTS = <const> [\n DaffCalloutComponent,\n DaffCalloutIconDirective,\n DaffCalloutTitleDirective,\n DaffCalloutSubtitleDirective,\n DaffCalloutTaglineDirective,\n DaffCalloutBodyDirective,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AAeA;;;;;;;;;;;;;;AAcG;MA2BU,oBAAoB,CAAA;AAC/B,IAAA,WAAA,CAAoB,aAAyC,EAAA;QAAzC,IAAA,CAAA,aAAa,GAAb,aAAa;AAC/B,QAAA,IAAI,CAAC,aAAa,CAAC,gBAAgB,GAAG,MAAM;IAC9C;iIAHW,oBAAoB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA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design-callout.mjs","names":[],"sources":["../../../libs/design/callout/src/callout/callout.component.ts","../../../libs/design/callout/src/callout-body/callout-body.directive.ts","../../../libs/design/callout/src/callout-icon/callout-icon.directive.ts","../../../libs/design/callout/src/callout-subtitle/callout-subtitle.directive.ts","../../../libs/design/callout/src/callout-tagline/callout-tagline.directive.ts","../../../libs/design/callout/src/callout-title/callout-title.directive.ts","../../../libs/design/callout/src/callout.module.ts","../../../libs/design/callout/src/callout.ts"],"sourcesContent":["/* eslint-disable quote-props */\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\nimport {\n DaffColorableDirective,\n DaffCompactableDirective,\n DaffArticleEncapsulatedDirective,\n DaffManageContainerLayoutDirective,\n DaffTextAlignableDirective,\n} from '@daffodil/design';\n\n/**\n * Callout is a versatile, pre-styled container used to highlight\n * key pieces of content in a visually distinct way.\n *\n * @example\n * ```html\n * <daff-callout>\n * <div daffCalloutIcon></div>\n * <div daffCalloutTagline></div>\n * <h2 daffCalloutTitle></h2>\n * <p daffCalloutSubtitle></p>\n * <div daffCalloutBody></div>\n * </daff-callout>\n * ```\n */\n@Component({\n selector: 'daff-callout',\n template: '<ng-content></ng-content>',\n styleUrls: ['./callout.component.scss'],\n hostDirectives: [\n { directive: DaffArticleEncapsulatedDirective },\n { directive: DaffManageContainerLayoutDirective },\n {\n directive: DaffTextAlignableDirective,\n inputs: ['textAlignment'],\n },\n {\n directive: DaffCompactableDirective,\n inputs: ['compact'],\n },\n {\n directive: DaffColorableDirective,\n inputs: ['color'],\n },\n ],\n host: {\n 'class': 'daff-callout',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class DaffCalloutComponent {\n constructor(private textAlignable: DaffTextAlignableDirective) {\n this.textAlignable.defaultAlignment = 'left';\n }\n}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * A flexible wrapper for custom or additional components within the callout.\n * It should only be used once per callout.\n *\n * @example\n * ```html\n * <div daffCalloutBody></div>\n * ```\n */\n@Directive({\n selector: '[daffCalloutBody]',\n host: {\n 'class': 'daff-callout__body',\n },\n})\n\nexport class DaffCalloutBodyDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * Used to display a visual or branding element.\n * Avoid using this for interactive or actionable icons.\n *\n * @example\n * ```html\n * <div daffCalloutIcon></div>\n * ```\n */\n@Directive({\n selector: '[daffCalloutIcon]',\n host: {\n 'class': 'daff-callout__icon',\n },\n})\n\nexport class DaffCalloutIconDirective {}\n","import { Directive } from '@angular/core';\n\n/**\n * Secondary text that provides additional descriptive information beneath the title.\n *\n * @example\n * ```html\n * <p daffCalloutSubtitle></p>\n * ```\n */\n@Directive({\n selector: '[daffCalloutSubtitle]',\n host: {\n class: 'daff-callout__subtitle',\n },\n})\n\nexport class DaffCalloutSubtitleDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * A short, memorable phrase that complements the title and provides quick context.\n *\n * @example\n * ```html\n * <div daffCalloutTagline></div>\n * ```\n */\n@Directive({\n selector: '[daffCalloutTagline]',\n host: {\n 'class': 'daff-callout__tagline',\n },\n})\n\nexport class DaffCalloutTaglineDirective {}\n","import { Directive } from '@angular/core';\n\n/**\n * Applied to a heading tag (`<h*>`) to define the primary title of the callout.\n *\n * @example\n * ```html\n * <h2 daffCalloutTitle></h2>\n * ```\n */\n@Directive({\n selector: '[daffCalloutTitle]',\n host: {\n class: 'daff-callout__title',\n },\n})\n\nexport class DaffCalloutTitleDirective {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffCalloutComponent } from './callout/callout.component';\nimport { DaffCalloutBodyDirective } from './callout-body/callout-body.directive';\nimport { DaffCalloutIconDirective } from './callout-icon/callout-icon.directive';\nimport { DaffCalloutSubtitleDirective } from './callout-subtitle/callout-subtitle.directive';\nimport { DaffCalloutTaglineDirective } from './callout-tagline/callout-tagline.directive';\nimport { DaffCalloutTitleDirective } from './callout-title/callout-title.directive';\n\n/**\n * @deprecated in favor of {@link DAFF_CALLOUT_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n imports: [\n CommonModule,\n DaffCalloutComponent,\n DaffCalloutIconDirective,\n DaffCalloutTitleDirective,\n DaffCalloutSubtitleDirective,\n DaffCalloutTaglineDirective,\n DaffCalloutBodyDirective,\n ],\n exports: [\n DaffCalloutComponent,\n DaffCalloutIconDirective,\n DaffCalloutSubtitleDirective,\n DaffCalloutTitleDirective,\n DaffCalloutTaglineDirective,\n DaffCalloutBodyDirective,\n ],\n})\n\nexport class DaffCalloutModule { }\n","import { DaffCalloutComponent } from './callout/callout.component';\nimport { DaffCalloutBodyDirective } from './callout-body/callout-body.directive';\nimport { DaffCalloutIconDirective } from './callout-icon/callout-icon.directive';\nimport { DaffCalloutSubtitleDirective } from './callout-subtitle/callout-subtitle.directive';\nimport { DaffCalloutTaglineDirective } from './callout-tagline/callout-tagline.directive';\nimport { DaffCalloutTitleDirective } from './callout-title/callout-title.directive';\n\n/**\n * @docs-private\n */\nexport const DAFF_CALLOUT_COMPONENTS = <const> [\n DaffCalloutComponent,\n DaffCalloutIconDirective,\n DaffCalloutTitleDirective,\n DaffCalloutSubtitleDirective,\n DaffCalloutTaglineDirective,\n DaffCalloutBodyDirective,\n];\n"],"mappings":";;;;;AAwDA,IAAa,uBAAb,MAAa,qBAAoB;CAC/B,YAAoB,eAAyC;EAAzC,KAAA,gBAAA;EAClB,KAAK,cAAc,mBAAmB;CACxC;CAHW;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAoB,MAAA,CAAA,EAAA,OAAA,GAAA,2BAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAApB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;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