@daffodil/design 0.94.1-rc.0 → 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,8 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import * as i1 from
|
|
5
|
-
|
|
1
|
+
import { BreakpointObserver } from "@angular/cdk/layout";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { AfterContentInit, ChangeDetectorRef, DestroyRef, QueryList, TemplateRef } from "@angular/core";
|
|
4
|
+
import * as i1 from "@daffodil/design";
|
|
6
5
|
/**
|
|
7
6
|
* Represents each individual breadcrumb item. Must be used on a `<li>` element.
|
|
8
7
|
*
|
|
@@ -13,33 +12,31 @@ import * as i1 from '@daffodil/design';
|
|
|
13
12
|
* </li>
|
|
14
13
|
* ```
|
|
15
14
|
*/
|
|
16
|
-
declare class DaffBreadcrumbItemComponent {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
15
|
+
export declare class DaffBreadcrumbItemComponent {
|
|
16
|
+
private cdRef;
|
|
17
|
+
/**
|
|
18
|
+
* @docs-private
|
|
19
|
+
*/
|
|
20
|
+
itemRef: TemplateRef<any>;
|
|
21
|
+
/**
|
|
22
|
+
* @docs-private
|
|
23
|
+
*/
|
|
24
|
+
_active: boolean;
|
|
25
|
+
constructor(cdRef: ChangeDetectorRef);
|
|
26
|
+
/** Called by the DaffBreadcrumbComponent to set the active state */
|
|
27
|
+
setActive(value: boolean): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffBreadcrumbItemComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffBreadcrumbItemComponent, "li[daffBreadcrumbItem]", never, {}, {}, never, ["*"], true, never>;
|
|
31
30
|
}
|
|
32
|
-
|
|
33
31
|
interface DaffBreadcrumbRenderItem {
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
item: DaffBreadcrumbItemComponent;
|
|
33
|
+
type: 'breadcrumb';
|
|
36
34
|
}
|
|
37
35
|
interface DaffBreadcrumbRenderMenu {
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
type: 'menu';
|
|
37
|
+
target: 'mobileMenu' | 'desktopMenu';
|
|
40
38
|
}
|
|
41
39
|
type DaffBreadcrumbRender = DaffBreadcrumbRenderItem | DaffBreadcrumbRenderMenu;
|
|
42
|
-
|
|
43
40
|
/**
|
|
44
41
|
* Groups breadcrumb items. Must be applied to a native `<ol>` element.
|
|
45
42
|
*
|
|
@@ -55,70 +52,77 @@ type DaffBreadcrumbRender = DaffBreadcrumbRenderItem | DaffBreadcrumbRenderMenu;
|
|
|
55
52
|
* </ol>
|
|
56
53
|
* ```
|
|
57
54
|
*/
|
|
58
|
-
declare class DaffBreadcrumbComponent implements AfterContentInit {
|
|
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
|
-
|
|
55
|
+
export declare class DaffBreadcrumbComponent implements AfterContentInit {
|
|
56
|
+
private destroyRef;
|
|
57
|
+
private breakpointObserver;
|
|
58
|
+
constructor(destroyRef: DestroyRef, breakpointObserver: BreakpointObserver);
|
|
59
|
+
/**
|
|
60
|
+
* @docs-private
|
|
61
|
+
*/
|
|
62
|
+
_isMobile: import("@angular/core").WritableSignal<boolean>;
|
|
63
|
+
/**
|
|
64
|
+
* @docs-private
|
|
65
|
+
*/
|
|
66
|
+
breadcrumbItems: QueryList<DaffBreadcrumbItemComponent>;
|
|
67
|
+
/**
|
|
68
|
+
* @docs-private
|
|
69
|
+
*/
|
|
70
|
+
fullMenu: TemplateRef<unknown>;
|
|
71
|
+
/**
|
|
72
|
+
* @docs-private
|
|
73
|
+
*/
|
|
74
|
+
partialMenu: TemplateRef<unknown>;
|
|
75
|
+
/**
|
|
76
|
+
* @docs-private
|
|
77
|
+
*/
|
|
78
|
+
_breadcrumbItems: import("@angular/core").Signal<readonly DaffBreadcrumbItemComponent[]>;
|
|
79
|
+
/**
|
|
80
|
+
* @docs-private
|
|
81
|
+
*/
|
|
82
|
+
_partition: import("@angular/core").Signal<{
|
|
83
|
+
visible: DaffBreadcrumbRender[];
|
|
84
|
+
menu: DaffBreadcrumbItemComponent[];
|
|
85
|
+
}>;
|
|
86
|
+
/**
|
|
87
|
+
* @docs-private
|
|
88
|
+
*/
|
|
89
|
+
_computedBreadcrumbItems: import("@angular/core").Signal<DaffBreadcrumbRender[]>;
|
|
90
|
+
/**
|
|
91
|
+
* @docs-private
|
|
92
|
+
*/
|
|
93
|
+
_desktopMenuItems: import("@angular/core").Signal<DaffBreadcrumbItemComponent[]>;
|
|
94
|
+
/**
|
|
95
|
+
* @docs-private
|
|
96
|
+
*/
|
|
97
|
+
_mobileMenuItems: import("@angular/core").Signal<DaffBreadcrumbItemComponent[]>;
|
|
98
|
+
/**
|
|
99
|
+
* @docs-private
|
|
100
|
+
*/
|
|
101
|
+
ngAfterContentInit(): void;
|
|
102
|
+
private updateActiveState;
|
|
103
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffBreadcrumbComponent, never>;
|
|
104
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffBreadcrumbComponent, "ol[daff-breadcrumb]", never, {}, {}, ["_breadcrumbItems", "breadcrumbItems"], never, true, [{
|
|
105
|
+
directive: typeof i1.DaffArticleEncapsulatedDirective;
|
|
106
|
+
inputs: {};
|
|
107
|
+
outputs: {};
|
|
108
|
+
}, {
|
|
109
|
+
directive: typeof i1.DaffSkeletonableDirective;
|
|
110
|
+
inputs: {
|
|
111
|
+
"skeleton": "skeleton";
|
|
112
|
+
};
|
|
113
|
+
outputs: {};
|
|
114
|
+
}]>;
|
|
108
115
|
}
|
|
109
|
-
|
|
110
116
|
/**
|
|
111
117
|
* @docs-private
|
|
112
118
|
*/
|
|
113
|
-
declare const DAFF_BREADCRUMB_COMPONENTS: readonly [typeof DaffBreadcrumbComponent, typeof DaffBreadcrumbItemComponent];
|
|
114
|
-
|
|
119
|
+
export declare const DAFF_BREADCRUMB_COMPONENTS: readonly [typeof DaffBreadcrumbComponent, typeof DaffBreadcrumbItemComponent];
|
|
115
120
|
/**
|
|
116
121
|
* @deprecated in favor of {@link DAFF_BREADCRUMB_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
|
117
122
|
*/
|
|
118
|
-
declare class DaffBreadcrumbModule {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
123
|
+
export declare class DaffBreadcrumbModule {
|
|
124
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffBreadcrumbModule, never>;
|
|
125
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffBreadcrumbModule, never, [typeof DaffBreadcrumbComponent, typeof DaffBreadcrumbItemComponent], [typeof DaffBreadcrumbComponent, typeof DaffBreadcrumbItemComponent]>;
|
|
126
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DaffBreadcrumbModule>;
|
|
122
127
|
}
|
|
123
|
-
|
|
124
|
-
export { DAFF_BREADCRUMB_COMPONENTS, DaffBreadcrumbComponent, DaffBreadcrumbItemComponent, DaffBreadcrumbModule };
|
|
128
|
+
export {};
|
|
@@ -1,59 +1,95 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import * as i1
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
import { DaffSizableDirective, DaffSizeSmallType, DaffSizeMediumType, DaffSizeLargeType, DaffDisableable, DaffPrefixDirective, DaffSuffixDirective, DaffDisableableDirective, DaffLoadableDirective } from '@daffodil/design';
|
|
6
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i1$1 from "@daffodil/design";
|
|
4
|
+
import { DaffDisableable, DaffDisableableDirective, DaffLoadableDirective, DaffPrefixDirective, DaffSizableDirective, DaffSizeLargeType, DaffSizeMediumType, DaffSizeSmallType, DaffSuffixDirective } from "@daffodil/design";
|
|
7
5
|
/**
|
|
8
6
|
* The size types that the DaffButtonComponent can implement.
|
|
9
7
|
*/
|
|
10
|
-
type DaffButtonSize = DaffSizeSmallType | DaffSizeMediumType | DaffSizeLargeType;
|
|
11
|
-
declare class DaffButtonSizableDirective extends DaffSizableDirective<DaffButtonSize> {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
export type DaffButtonSize = DaffSizeSmallType | DaffSizeMediumType | DaffSizeLargeType;
|
|
9
|
+
export declare class DaffButtonSizableDirective extends DaffSizableDirective<DaffButtonSize> {
|
|
10
|
+
/**
|
|
11
|
+
* @docs-private
|
|
12
|
+
*/
|
|
13
|
+
defaultSize: DaffButtonSize;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffButtonSizableDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffButtonSizableDirective, never, never, {}, {}, never, never, true, never>;
|
|
18
16
|
}
|
|
19
|
-
|
|
20
17
|
declare class DaffButtonBaseDirective implements DaffDisableable {
|
|
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
|
-
|
|
18
|
+
private buttonSizable;
|
|
19
|
+
private disabledDirective;
|
|
20
|
+
private loadingDirective;
|
|
21
|
+
/**
|
|
22
|
+
* @docs-private
|
|
23
|
+
*/
|
|
24
|
+
_prefix: DaffPrefixDirective;
|
|
25
|
+
/**
|
|
26
|
+
* @docs-private
|
|
27
|
+
*/
|
|
28
|
+
_suffix: DaffSuffixDirective;
|
|
29
|
+
constructor(buttonSizable: DaffButtonSizableDirective, disabledDirective: DaffDisableableDirective, loadingDirective: DaffLoadableDirective);
|
|
30
|
+
/**
|
|
31
|
+
* Sets the tabindex.
|
|
32
|
+
*/
|
|
33
|
+
tabindex: import("@angular/core").InputSignal<number>;
|
|
34
|
+
/**
|
|
35
|
+
* The disabled state of the button.
|
|
36
|
+
*/
|
|
37
|
+
get disabled(): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* @docs-private
|
|
40
|
+
*
|
|
41
|
+
* Internal function to access the loading property of the DaffLoadableDirective
|
|
42
|
+
*/
|
|
43
|
+
get loading(): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* @docs-private
|
|
46
|
+
*
|
|
47
|
+
* Internal function to access the size property of the DaffButtonSizableDirective
|
|
48
|
+
*/
|
|
49
|
+
get buttonSize(): import("@daffodil/design/button").DaffButtonSize;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffButtonBaseDirective, never>;
|
|
51
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffButtonBaseDirective, "[daffButtonBase]", never, {
|
|
52
|
+
"tabindex": {
|
|
53
|
+
"alias": "tabindex";
|
|
54
|
+
"required": false;
|
|
55
|
+
"isSignal": true;
|
|
56
|
+
};
|
|
57
|
+
}, {}, ["_prefix", "_suffix"], never, true, [{
|
|
58
|
+
directive: typeof i1$1.DaffArticleEncapsulatedDirective;
|
|
59
|
+
inputs: {};
|
|
60
|
+
outputs: {};
|
|
61
|
+
}, {
|
|
62
|
+
directive: typeof DaffButtonSizableDirective;
|
|
63
|
+
inputs: {
|
|
64
|
+
"size": "size";
|
|
65
|
+
};
|
|
66
|
+
outputs: {};
|
|
67
|
+
}, {
|
|
68
|
+
directive: typeof i1$1.DaffStatusableDirective;
|
|
69
|
+
inputs: {
|
|
70
|
+
"status": "status";
|
|
71
|
+
};
|
|
72
|
+
outputs: {};
|
|
73
|
+
}, {
|
|
74
|
+
directive: typeof i1$1.DaffColorableDirective;
|
|
75
|
+
inputs: {
|
|
76
|
+
"color": "color";
|
|
77
|
+
};
|
|
78
|
+
outputs: {};
|
|
79
|
+
}, {
|
|
80
|
+
directive: typeof i1$1.DaffDisableableDirective;
|
|
81
|
+
inputs: {
|
|
82
|
+
"disabled": "disabled";
|
|
83
|
+
};
|
|
84
|
+
outputs: {};
|
|
85
|
+
}, {
|
|
86
|
+
directive: typeof i1$1.DaffLoadableDirective;
|
|
87
|
+
inputs: {
|
|
88
|
+
"loading": "loading";
|
|
89
|
+
};
|
|
90
|
+
outputs: {};
|
|
91
|
+
}]>;
|
|
55
92
|
}
|
|
56
|
-
|
|
57
93
|
/**
|
|
58
94
|
* DaffButtonComponent is a rectangular contained button with background color.
|
|
59
95
|
*
|
|
@@ -72,15 +108,20 @@ declare class DaffButtonBaseDirective implements DaffDisableable {
|
|
|
72
108
|
* </a>
|
|
73
109
|
* ```
|
|
74
110
|
*/
|
|
75
|
-
declare class DaffButtonComponent extends DaffButtonBaseDirective {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
111
|
+
export declare class DaffButtonComponent extends DaffButtonBaseDirective {
|
|
112
|
+
/**
|
|
113
|
+
* Whether or not the button displays a shadow.
|
|
114
|
+
*/
|
|
115
|
+
elevated: import("@angular/core").InputSignal<boolean>;
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffButtonComponent, never>;
|
|
117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffButtonComponent, "button[daff-button],a[daff-button]", never, {
|
|
118
|
+
"elevated": {
|
|
119
|
+
"alias": "elevated";
|
|
120
|
+
"required": false;
|
|
121
|
+
"isSignal": true;
|
|
122
|
+
};
|
|
123
|
+
}, {}, never, ["[daffPrefix]", "*", "[daffSuffix]"], true, never>;
|
|
82
124
|
}
|
|
83
|
-
|
|
84
125
|
/**
|
|
85
126
|
* DaffFlatButtonComponent is a rectangular contained button no background.
|
|
86
127
|
*
|
|
@@ -99,11 +140,10 @@ declare class DaffButtonComponent extends DaffButtonBaseDirective {
|
|
|
99
140
|
* </a>
|
|
100
141
|
* ```
|
|
101
142
|
*/
|
|
102
|
-
declare class DaffFlatButtonComponent extends DaffButtonBaseDirective {
|
|
103
|
-
|
|
104
|
-
|
|
143
|
+
export declare class DaffFlatButtonComponent extends DaffButtonBaseDirective {
|
|
144
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffFlatButtonComponent, never>;
|
|
145
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffFlatButtonComponent, "button[daff-flat-button],a[daff-flat-button]", never, {}, {}, never, ["[daffPrefix]", "*", "[daffSuffix]"], true, never>;
|
|
105
146
|
}
|
|
106
|
-
|
|
107
147
|
/**
|
|
108
148
|
* DaffIconButtonComponent is an icon button used with icon fonts.
|
|
109
149
|
*
|
|
@@ -118,40 +158,10 @@ declare class DaffFlatButtonComponent extends DaffButtonBaseDirective {
|
|
|
118
158
|
* </a>
|
|
119
159
|
* ```
|
|
120
160
|
*/
|
|
121
|
-
declare class DaffIconButtonComponent extends DaffButtonBaseDirective {
|
|
122
|
-
|
|
123
|
-
|
|
161
|
+
export declare class DaffIconButtonComponent extends DaffButtonBaseDirective {
|
|
162
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffIconButtonComponent, never>;
|
|
163
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffIconButtonComponent, "button[daff-icon-button],a[daff-icon-button]", never, {}, {}, never, ["[daffPrefix]", "*", "[daffSuffix]"], true, never>;
|
|
124
164
|
}
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* @deprecated in favor of the `elevated` property. Deprecated in version 0.82.0. Will be removed in version 1.0.0.
|
|
128
|
-
*
|
|
129
|
-
* DaffRaisedButtonComponent is a rectangular contained button with background color and elevation.
|
|
130
|
-
*
|
|
131
|
-
* @example Raised button
|
|
132
|
-
* ```html
|
|
133
|
-
* <button daff-raised-button>
|
|
134
|
-
* <div daffPrefix></div>
|
|
135
|
-
* Raised Button
|
|
136
|
-
* <div daffSuffix></div>
|
|
137
|
-
* </button>
|
|
138
|
-
*
|
|
139
|
-
* <a href="/" daff-raised-button>
|
|
140
|
-
* <div daffPrefix></div>
|
|
141
|
-
* Linked raised button
|
|
142
|
-
* <div daffSuffix></div>
|
|
143
|
-
* </a>
|
|
144
|
-
* ```
|
|
145
|
-
*/
|
|
146
|
-
declare class DaffRaisedButtonComponent extends DaffButtonBaseDirective {
|
|
147
|
-
/**
|
|
148
|
-
* @docs-private
|
|
149
|
-
*/
|
|
150
|
-
class: boolean;
|
|
151
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DaffRaisedButtonComponent, never>;
|
|
152
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffRaisedButtonComponent, "button[daff-raised-button],a[daff-raised-button]", never, {}, {}, never, ["[daffPrefix]", "*", "[daffSuffix]"], true, never>;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
165
|
/**
|
|
156
166
|
* DaffStrokedButtonComponent is a rectangular outlined button with no background color.
|
|
157
167
|
*
|
|
@@ -170,74 +180,46 @@ declare class DaffRaisedButtonComponent extends DaffButtonBaseDirective {
|
|
|
170
180
|
* </a>
|
|
171
181
|
* ```
|
|
172
182
|
*/
|
|
173
|
-
declare class DaffStrokedButtonComponent extends DaffButtonBaseDirective {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
export declare class DaffStrokedButtonComponent extends DaffButtonBaseDirective {
|
|
184
|
+
/**
|
|
185
|
+
* Whether or not the button displays a shadow.
|
|
186
|
+
*/
|
|
187
|
+
elevated: import("@angular/core").InputSignal<boolean>;
|
|
188
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffStrokedButtonComponent, never>;
|
|
189
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffStrokedButtonComponent, "button[daff-stroked-button],a[daff-stroked-button]", never, {
|
|
190
|
+
"elevated": {
|
|
191
|
+
"alias": "elevated";
|
|
192
|
+
"required": false;
|
|
193
|
+
"isSignal": true;
|
|
194
|
+
};
|
|
195
|
+
}, {}, never, ["[daffPrefix]", "*", "[daffSuffix]"], true, never>;
|
|
180
196
|
}
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* @deprecated Deprecated in version 0.92.0. Will be removed in version 1.0.0.
|
|
184
|
-
*
|
|
185
|
-
* DaffUnderlineButtonComponent is a borderless button with a custom underline style.
|
|
186
|
-
*
|
|
187
|
-
* @example Underline button
|
|
188
|
-
* ```html
|
|
189
|
-
* <button daff-underline-button>
|
|
190
|
-
* <div daffPrefix></div>
|
|
191
|
-
* Underline Button
|
|
192
|
-
* <div daffSuffix></div>
|
|
193
|
-
* </button>
|
|
194
|
-
*
|
|
195
|
-
* <a href="/" daff-underline-button>
|
|
196
|
-
* <div daffPrefix></div>
|
|
197
|
-
* Linked underline button
|
|
198
|
-
* <div daffSuffix></div>
|
|
199
|
-
* </a>
|
|
200
|
-
* ```
|
|
201
|
-
*/
|
|
202
|
-
declare class DaffUnderlineButtonComponent extends DaffButtonBaseDirective {
|
|
203
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DaffUnderlineButtonComponent, never>;
|
|
204
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffUnderlineButtonComponent, "button[daff-underline-button],a[daff-underline-button]", never, {}, {}, never, ["[daffPrefix]", "*", "[daffSuffix]"], true, never>;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
197
|
/**
|
|
208
198
|
* @deprecated in favor of {@link DAFF_BUTTON_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
|
209
199
|
*/
|
|
210
|
-
declare class DaffButtonModule {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
200
|
+
export declare class DaffButtonModule {
|
|
201
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffButtonModule, never>;
|
|
202
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffButtonModule, never, [typeof i1.CommonModule, typeof DaffButtonComponent, typeof DaffFlatButtonComponent, typeof DaffIconButtonComponent, typeof DaffStrokedButtonComponent], [typeof DaffButtonComponent, typeof DaffFlatButtonComponent, typeof DaffIconButtonComponent, typeof DaffStrokedButtonComponent]>;
|
|
203
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DaffButtonModule>;
|
|
214
204
|
}
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* @docs-private
|
|
218
|
-
*/
|
|
219
|
-
declare const DAFF_BUTTON_COMPONENTS: readonly [typeof DaffButtonComponent, typeof DaffFlatButtonComponent, typeof DaffIconButtonComponent, typeof DaffRaisedButtonComponent, typeof DaffStrokedButtonComponent, typeof DaffUnderlineButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective];
|
|
220
205
|
/**
|
|
221
206
|
* @docs-private
|
|
222
207
|
*/
|
|
223
|
-
declare const
|
|
208
|
+
export declare const DAFF_BUTTON_COMPONENTS: readonly [typeof DaffButtonComponent, typeof DaffFlatButtonComponent, typeof DaffIconButtonComponent, typeof DaffStrokedButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective];
|
|
224
209
|
/**
|
|
225
210
|
* @docs-private
|
|
226
211
|
*/
|
|
227
|
-
declare const
|
|
212
|
+
export declare const DAFF_BASIC_BUTTON_COMPONENTS: readonly [typeof DaffButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective];
|
|
228
213
|
/**
|
|
229
214
|
* @docs-private
|
|
230
215
|
*/
|
|
231
|
-
declare const
|
|
216
|
+
export declare const DAFF_FLAT_BUTTON_COMPONENTS: readonly [typeof DaffFlatButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective];
|
|
232
217
|
/**
|
|
233
218
|
* @docs-private
|
|
234
219
|
*/
|
|
235
|
-
declare const
|
|
220
|
+
export declare const DAFF_ICON_BUTTON_COMPONENTS: readonly [typeof DaffIconButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective];
|
|
236
221
|
/**
|
|
237
222
|
* @docs-private
|
|
238
|
-
* @deprecated Deprecated in version 0.92.0. Will be removed in version 0.95.0.
|
|
239
223
|
*/
|
|
240
|
-
declare const
|
|
241
|
-
|
|
242
|
-
export { DAFF_BASIC_BUTTON_COMPONENTS, DAFF_BUTTON_COMPONENTS, DAFF_FLAT_BUTTON_COMPONENTS, DAFF_ICON_BUTTON_COMPONENTS, DAFF_STROKED_BUTTON_COMPONENTS, DAFF_UNDERLINE_BUTTON_COMPONENTS, DaffButtonComponent, DaffButtonModule, DaffButtonSizableDirective, DaffFlatButtonComponent, DaffIconButtonComponent, DaffRaisedButtonComponent, DaffStrokedButtonComponent, DaffUnderlineButtonComponent };
|
|
243
|
-
export type { DaffButtonSize };
|
|
224
|
+
export declare const DAFF_STROKED_BUTTON_COMPONENTS: readonly [typeof DaffStrokedButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective];
|
|
225
|
+
export {};
|