@daffodil/design 0.94.1 → 0.95.1
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,9 +1,8 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { OnInit } from
|
|
3
|
-
import * as i1
|
|
4
|
-
import * as i1 from
|
|
5
|
-
import {
|
|
6
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { OnInit } from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i1$1 from "@daffodil/design";
|
|
5
|
+
import { DaffDisableable, DaffDisableableDirective, DaffOpenable, DaffOpenableDirective } from "@daffodil/design";
|
|
7
6
|
/**
|
|
8
7
|
* Groups accordion items.
|
|
9
8
|
*
|
|
@@ -21,11 +20,14 @@ import { DaffOpenable, DaffDisableable, DaffOpenableDirective, DaffDisableableDi
|
|
|
21
20
|
* </daff-accordion>
|
|
22
21
|
* ```
|
|
23
22
|
*/
|
|
24
|
-
declare class DaffAccordionComponent {
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
export declare class DaffAccordionComponent {
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffAccordionComponent, "daff-accordion", never, {}, {}, never, ["*"], true, [{
|
|
26
|
+
directive: typeof i1$1.DaffArticleEncapsulatedDirective;
|
|
27
|
+
inputs: {};
|
|
28
|
+
outputs: {};
|
|
29
|
+
}]>;
|
|
27
30
|
}
|
|
28
|
-
|
|
29
31
|
/**
|
|
30
32
|
* Contains the title and collapsible content. Handles expansion and collapse on user interaction. All `<daff-accordion-item>`s should be grouped inside a `<daff-accordion>`.
|
|
31
33
|
*
|
|
@@ -37,52 +39,79 @@ declare class DaffAccordionComponent {
|
|
|
37
39
|
* </daff-accordion-item>
|
|
38
40
|
* ```
|
|
39
41
|
*/
|
|
40
|
-
declare class DaffAccordionItemComponent implements OnInit, DaffOpenable, DaffDisableable {
|
|
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
|
-
|
|
42
|
+
export declare class DaffAccordionItemComponent implements OnInit, DaffOpenable, DaffDisableable {
|
|
43
|
+
private openDirective;
|
|
44
|
+
private disabledDirective;
|
|
45
|
+
/**
|
|
46
|
+
* The unique id of an accordion item. Defaults to an autogenerated value.
|
|
47
|
+
*/
|
|
48
|
+
itemId: import("@angular/core").InputSignal<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The unique id of an accordion item content. Defaults to an autogenerated value.
|
|
51
|
+
*/
|
|
52
|
+
contentId: import("@angular/core").InputSignal<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Whether or not an accordion item is initially expanded by default.
|
|
55
|
+
*/
|
|
56
|
+
initiallyExpanded: import("@angular/core").InputSignal<boolean>;
|
|
57
|
+
/**
|
|
58
|
+
* @docs-private
|
|
59
|
+
*
|
|
60
|
+
* Internal function to access the disabled property of the DaffDisableableDirective
|
|
61
|
+
*/
|
|
62
|
+
get disabled(): boolean;
|
|
63
|
+
constructor(openDirective: DaffOpenableDirective, disabledDirective: DaffDisableableDirective);
|
|
64
|
+
/**
|
|
65
|
+
* @docs-private
|
|
66
|
+
*/
|
|
67
|
+
ngOnInit(): void;
|
|
68
|
+
/**
|
|
69
|
+
* @docs-private
|
|
70
|
+
*/
|
|
71
|
+
get open(): import("@angular/core").ModelSignal<boolean>;
|
|
72
|
+
/**
|
|
73
|
+
* Reveals the contents of the accordion item.
|
|
74
|
+
*/
|
|
75
|
+
reveal(): void;
|
|
76
|
+
/**
|
|
77
|
+
* Hides the contents of the accordion item.
|
|
78
|
+
*/
|
|
79
|
+
hide(): void;
|
|
80
|
+
/**
|
|
81
|
+
* Toggles the visibility of the contents of the accordion item.
|
|
82
|
+
*/
|
|
83
|
+
toggle(): void;
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionItemComponent, never>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffAccordionItemComponent, "daff-accordion-item", never, {
|
|
86
|
+
"itemId": {
|
|
87
|
+
"alias": "itemId";
|
|
88
|
+
"required": false;
|
|
89
|
+
"isSignal": true;
|
|
90
|
+
};
|
|
91
|
+
"contentId": {
|
|
92
|
+
"alias": "contentId";
|
|
93
|
+
"required": false;
|
|
94
|
+
"isSignal": true;
|
|
95
|
+
};
|
|
96
|
+
"initiallyExpanded": {
|
|
97
|
+
"alias": "initiallyExpanded";
|
|
98
|
+
"required": false;
|
|
99
|
+
"isSignal": true;
|
|
100
|
+
};
|
|
101
|
+
}, {}, never, ["[daffAccordionItemTitle]", "*"], true, [{
|
|
102
|
+
directive: typeof i1$1.DaffOpenableDirective;
|
|
103
|
+
inputs: {};
|
|
104
|
+
outputs: {
|
|
105
|
+
"toggled": "toggled";
|
|
106
|
+
};
|
|
107
|
+
}, {
|
|
108
|
+
directive: typeof i1$1.DaffDisableableDirective;
|
|
109
|
+
inputs: {
|
|
110
|
+
"disabled": "disabled";
|
|
111
|
+
};
|
|
112
|
+
outputs: {};
|
|
113
|
+
}]>;
|
|
84
114
|
}
|
|
85
|
-
|
|
86
115
|
/**
|
|
87
116
|
* Used to provide a high level overview of the panel content. It should be wrapped by a `<daff-accordion-item>`.
|
|
88
117
|
*
|
|
@@ -91,25 +120,21 @@ declare class DaffAccordionItemComponent implements OnInit, DaffOpenable, DaffDi
|
|
|
91
120
|
* <div daffAccordionItemTitle>Title</div>
|
|
92
121
|
* ```
|
|
93
122
|
*/
|
|
94
|
-
declare class DaffAccordionItemTitleDirective {
|
|
95
|
-
|
|
96
|
-
|
|
123
|
+
export declare class DaffAccordionItemTitleDirective {
|
|
124
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionItemTitleDirective, never>;
|
|
125
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffAccordionItemTitleDirective, "[daffAccordionItemTitle]", never, {}, {}, never, never, true, never>;
|
|
97
126
|
}
|
|
98
|
-
|
|
99
127
|
/**
|
|
100
128
|
* @deprecated in favor of {@link DAFF_ACCORDION_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
|
101
129
|
*/
|
|
102
|
-
declare class DaffAccordionModule {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
130
|
+
export declare class DaffAccordionModule {
|
|
131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionModule, never>;
|
|
132
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffAccordionModule, never, [typeof i1.CommonModule, typeof DaffAccordionComponent, typeof DaffAccordionItemComponent, typeof DaffAccordionItemTitleDirective], [typeof DaffAccordionComponent, typeof DaffAccordionItemComponent, typeof DaffAccordionItemTitleDirective]>;
|
|
133
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DaffAccordionModule>;
|
|
106
134
|
}
|
|
107
|
-
|
|
108
135
|
/**
|
|
109
136
|
* @docs-private
|
|
110
137
|
*
|
|
111
138
|
* `DAFF_ACCORDION_COMPONENTS` imports all the available components and directives related to the component.
|
|
112
139
|
*/
|
|
113
|
-
declare const DAFF_ACCORDION_COMPONENTS: readonly [typeof DaffAccordionComponent, typeof DaffAccordionItemComponent, typeof DaffAccordionItemTitleDirective];
|
|
114
|
-
|
|
115
|
-
export { DAFF_ACCORDION_COMPONENTS, DaffAccordionComponent, DaffAccordionItemComponent, DaffAccordionItemTitleDirective, DaffAccordionModule };
|
|
140
|
+
export declare const DAFF_ACCORDION_COMPONENTS: readonly [typeof DaffAccordionComponent, typeof DaffAccordionItemComponent, typeof DaffAccordionItemTitleDirective];
|
|
@@ -1,72 +1,65 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { ViewContainerRef } from
|
|
3
|
-
import * as i1 from
|
|
4
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ViewContainerRef } from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
5
4
|
declare class DaffArticleCopyButtonService {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
5
|
+
private buttons;
|
|
6
|
+
/**
|
|
7
|
+
* Finds all code blocks and adds copy buttons to them.
|
|
8
|
+
* Skips code blocks with the `nocopy` attribute.
|
|
9
|
+
* @param hostElement - The host element to search for code blocks.
|
|
10
|
+
* @param viewContainerRef - The view container to create the copy button components.
|
|
11
|
+
*/
|
|
12
|
+
addCopyButtonsToCodeBlocks(hostElement: HTMLElement, viewContainerRef: ViewContainerRef): void;
|
|
13
|
+
/**
|
|
14
|
+
* Cleanup copy button references
|
|
15
|
+
*/
|
|
16
|
+
cleanup(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleCopyButtonService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
20
19
|
}
|
|
21
|
-
|
|
22
20
|
declare class DaffArticleHeadingLinkService {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
21
|
+
private links;
|
|
22
|
+
/**
|
|
23
|
+
* Finds all h2, h3, and h4 elements and wraps their text content with heading link components.
|
|
24
|
+
* @param hostElement - The host element to search for heading elements.
|
|
25
|
+
* @param viewContainerRef - The view container to create the heading link components.
|
|
26
|
+
*/
|
|
27
|
+
addLinksToHeadings(hostElement: HTMLElement, viewContainerRef: ViewContainerRef): void;
|
|
28
|
+
/**
|
|
29
|
+
* Cleanup heading link references
|
|
30
|
+
*/
|
|
31
|
+
cleanup(): void;
|
|
32
|
+
/**
|
|
33
|
+
* Generates a URL-friendly fragment from heading text
|
|
34
|
+
*/
|
|
35
|
+
private generateFragment;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleHeadingLinkService, never>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
40
38
|
}
|
|
41
|
-
|
|
42
39
|
/**
|
|
43
40
|
* A component for creating articles within your page.
|
|
44
41
|
*/
|
|
45
|
-
declare class DaffArticleComponent {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
export declare class DaffArticleComponent {
|
|
43
|
+
private copyButtonService;
|
|
44
|
+
private headingLinkService;
|
|
45
|
+
constructor(copyButtonService: DaffArticleCopyButtonService, headingLinkService: DaffArticleHeadingLinkService);
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffArticleComponent, "daff-article", never, {}, {}, never, ["*"], true, never>;
|
|
51
48
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffArticleMetaDirective, "[daffArticleMeta]", never, {}, {}, never, never, true, never>;
|
|
49
|
+
export declare class DaffArticleMetaDirective {
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleMetaDirective, never>;
|
|
51
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffArticleMetaDirective, "[daffArticleMeta]", never, {}, {}, never, never, true, never>;
|
|
56
52
|
}
|
|
57
|
-
|
|
58
53
|
/**
|
|
59
54
|
* @deprecated in favor of {@link DAFF_ARTICLE_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
|
60
55
|
*/
|
|
61
|
-
declare class DaffArticleModule {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
56
|
+
export declare class DaffArticleModule {
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleModule, never>;
|
|
58
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffArticleModule, never, [typeof i1.CommonModule, typeof DaffArticleComponent, typeof DaffArticleMetaDirective], [typeof DaffArticleComponent, typeof DaffArticleMetaDirective]>;
|
|
59
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DaffArticleModule>;
|
|
65
60
|
}
|
|
66
|
-
|
|
67
61
|
/**
|
|
68
62
|
* @docs-private
|
|
69
63
|
*/
|
|
70
|
-
declare const DAFF_ARTICLE_COMPONENTS: readonly [typeof DaffArticleComponent, typeof DaffArticleMetaDirective];
|
|
71
|
-
|
|
72
|
-
export { DAFF_ARTICLE_COMPONENTS, DaffArticleComponent, DaffArticleMetaDirective, DaffArticleModule };
|
|
64
|
+
export declare const DAFF_ARTICLE_COMPONENTS: readonly [typeof DaffArticleComponent, typeof DaffArticleMetaDirective];
|
|
65
|
+
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import * as i1 from "@daffodil/design";
|
|
2
|
+
import { DaffColorableDirective, DaffPrefixDirective, DaffSizableDirective, DaffSizeLargeType, DaffSizeMediumType, DaffSizeSmallType } from "@daffodil/design";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
6
5
|
* The visual style of a badge.
|
|
7
6
|
*
|
|
@@ -10,23 +9,21 @@ import { DaffSizableDirective, DaffSizeSmallType, DaffSizeMediumType, DaffSizeLa
|
|
|
10
9
|
*/
|
|
11
10
|
type DaffBadgeAppearance = 'filled' | 'outlined';
|
|
12
11
|
declare enum DaffBadgeAppearanceEnum {
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
Filled = "filled",
|
|
13
|
+
Outlined = "outlined"
|
|
15
14
|
}
|
|
16
|
-
|
|
17
15
|
/**
|
|
18
16
|
* The size types that the DaffBadgeComponent can implement.
|
|
19
17
|
*/
|
|
20
18
|
type DaffBadgeSize = DaffSizeSmallType | DaffSizeMediumType | DaffSizeLargeType;
|
|
21
|
-
declare class DaffBadgeSizableDirective extends DaffSizableDirective<DaffBadgeSize> {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
19
|
+
export declare class DaffBadgeSizableDirective extends DaffSizableDirective<DaffBadgeSize> {
|
|
20
|
+
/**
|
|
21
|
+
* @docs-private
|
|
22
|
+
*/
|
|
23
|
+
defaultSize: DaffBadgeSize;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffBadgeSizableDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffBadgeSizableDirective, never, never, {}, {}, never, never, true, never>;
|
|
28
26
|
}
|
|
29
|
-
|
|
30
27
|
/**
|
|
31
28
|
* DaffBadgeComponent is a compact visual label or indicator used to
|
|
32
29
|
* convey status or display short pieces of information.
|
|
@@ -39,25 +36,51 @@ declare class DaffBadgeSizableDirective extends DaffSizableDirective<DaffBadgeSi
|
|
|
39
36
|
* </daff-badge>
|
|
40
37
|
* ```
|
|
41
38
|
*/
|
|
42
|
-
declare class DaffBadgeComponent {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
39
|
+
export declare class DaffBadgeComponent {
|
|
40
|
+
private sizableDirective;
|
|
41
|
+
private colorableDirective;
|
|
42
|
+
/**
|
|
43
|
+
* @docs-private
|
|
44
|
+
*/
|
|
45
|
+
_prefix: import("@angular/core").Signal<DaffPrefixDirective>;
|
|
46
|
+
/**
|
|
47
|
+
* The visual style of the badge. Defaults to `filled`.
|
|
48
|
+
*/
|
|
49
|
+
appearance: import("@angular/core").InputSignalWithTransform<DaffBadgeAppearance | DaffBadgeAppearanceEnum.Filled, "" | DaffBadgeAppearance>;
|
|
50
|
+
constructor(sizableDirective: DaffBadgeSizableDirective, colorableDirective: DaffColorableDirective);
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffBadgeComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffBadgeComponent, "daff-badge", never, {
|
|
53
|
+
"appearance": {
|
|
54
|
+
"alias": "appearance";
|
|
55
|
+
"required": false;
|
|
56
|
+
"isSignal": true;
|
|
57
|
+
};
|
|
58
|
+
}, {}, ["_prefix"], ["[daffPrefix]", "*"], true, [{
|
|
59
|
+
directive: typeof i1.DaffArticleEncapsulatedDirective;
|
|
60
|
+
inputs: {};
|
|
61
|
+
outputs: {};
|
|
62
|
+
}, {
|
|
63
|
+
directive: typeof i1.DaffColorableDirective;
|
|
64
|
+
inputs: {
|
|
65
|
+
"color": "color";
|
|
66
|
+
};
|
|
67
|
+
outputs: {};
|
|
68
|
+
}, {
|
|
69
|
+
directive: typeof i1.DaffStatusableDirective;
|
|
70
|
+
inputs: {
|
|
71
|
+
"status": "status";
|
|
72
|
+
};
|
|
73
|
+
outputs: {};
|
|
74
|
+
}, {
|
|
75
|
+
directive: typeof DaffBadgeSizableDirective;
|
|
76
|
+
inputs: {
|
|
77
|
+
"size": "size";
|
|
78
|
+
};
|
|
79
|
+
outputs: {};
|
|
80
|
+
}]>;
|
|
56
81
|
}
|
|
57
|
-
|
|
58
82
|
/**
|
|
59
83
|
* @docs-private
|
|
60
84
|
*/
|
|
61
|
-
declare const DAFF_BADGE_COMPONENTS: readonly [typeof DaffBadgeComponent, typeof DaffPrefixDirective];
|
|
62
|
-
|
|
63
|
-
export { DAFF_BADGE_COMPONENTS, DaffBadgeComponent, DaffBadgeSizableDirective };
|
|
85
|
+
export declare const DAFF_BADGE_COMPONENTS: readonly [typeof DaffBadgeComponent, typeof DaffPrefixDirective];
|
|
86
|
+
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import * as i1 from
|
|
3
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@daffodil/design";
|
|
4
3
|
/**
|
|
5
4
|
* The cadence of the beacon ring, e.g. how long one expand-and-fade cycle takes.
|
|
6
5
|
*
|
|
@@ -9,18 +8,40 @@ import * as i1 from '@daffodil/design';
|
|
|
9
8
|
* - `fast` - an urgent 1.2s cycle.
|
|
10
9
|
*/
|
|
11
10
|
type DaffBeaconSpeed = 'slow' | 'normal' | 'fast';
|
|
12
|
-
|
|
13
11
|
/**
|
|
14
12
|
* DaffBeaconComponent is a small indicator that draws visual attention to a specific location or element.
|
|
15
13
|
*/
|
|
16
|
-
declare class DaffBeaconComponent {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
export declare class DaffBeaconComponent {
|
|
15
|
+
/**
|
|
16
|
+
* How fast the beacon pulses.
|
|
17
|
+
*/
|
|
18
|
+
speed: import("@angular/core").InputSignal<DaffBeaconSpeed>;
|
|
19
|
+
constructor();
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffBeaconComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffBeaconComponent, "daff-beacon", never, {
|
|
22
|
+
"speed": {
|
|
23
|
+
"alias": "speed";
|
|
24
|
+
"required": false;
|
|
25
|
+
"isSignal": true;
|
|
26
|
+
};
|
|
27
|
+
}, {}, never, ["*"], true, [{
|
|
28
|
+
directive: typeof i1.DaffColorableDirective;
|
|
29
|
+
inputs: {
|
|
30
|
+
"color": "color";
|
|
31
|
+
};
|
|
32
|
+
outputs: {};
|
|
33
|
+
}, {
|
|
34
|
+
directive: typeof i1.DaffStatusableDirective;
|
|
35
|
+
inputs: {
|
|
36
|
+
"status": "status";
|
|
37
|
+
};
|
|
38
|
+
outputs: {};
|
|
39
|
+
}, {
|
|
40
|
+
directive: typeof i1.DaffSizableDirective;
|
|
41
|
+
inputs: {
|
|
42
|
+
"size": "size";
|
|
43
|
+
};
|
|
44
|
+
outputs: {};
|
|
45
|
+
}]>;
|
|
24
46
|
}
|
|
25
|
-
|
|
26
|
-
export { DaffBeaconComponent };
|
|
47
|
+
export {};
|