@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,10 +1,9 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import * as i1 from
|
|
4
|
-
import { DaffDisableable, DaffDisableableDirective, DaffPrefixDirective,
|
|
5
|
-
import { Location } from
|
|
6
|
-
import { Params } from
|
|
7
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef, OnInit, TemplateRef } from "@angular/core";
|
|
3
|
+
import * as i1 from "@daffodil/design";
|
|
4
|
+
import { DaffDisableable, DaffDisableableDirective, DaffPrefixDirective, DaffSelectableDirective, DaffSuffixDirective } from "@daffodil/design";
|
|
5
|
+
import { Location } from "@angular/common";
|
|
6
|
+
import { Params } from "@angular/router";
|
|
8
7
|
/**
|
|
9
8
|
* Tab is a single tab in the tablist that is used to group the label of a tab panel and the tab panel together.
|
|
10
9
|
*
|
|
@@ -23,36 +22,47 @@ import { Params } from '@angular/router';
|
|
|
23
22
|
* </daff-tab>
|
|
24
23
|
* ```
|
|
25
24
|
*/
|
|
26
|
-
declare class DaffTabComponent implements DaffDisableable {
|
|
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
|
-
|
|
25
|
+
export declare class DaffTabComponent implements DaffDisableable {
|
|
26
|
+
private disabledDirective;
|
|
27
|
+
/**
|
|
28
|
+
* @docs-private
|
|
29
|
+
*
|
|
30
|
+
* Whether the tab is disabled.
|
|
31
|
+
*/
|
|
32
|
+
get disabled(): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @docs-private
|
|
35
|
+
*/
|
|
36
|
+
contentRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
37
|
+
/**
|
|
38
|
+
* @docs-private
|
|
39
|
+
*/
|
|
40
|
+
labelRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
41
|
+
/**
|
|
42
|
+
* A unique id for the tab component. Defaults to an autogenerated value. When using this,
|
|
43
|
+
* it's your responsibility to ensure that the id for each tab is unique.
|
|
44
|
+
*/
|
|
45
|
+
id: import("@angular/core").InputSignal<string>;
|
|
46
|
+
/**
|
|
47
|
+
* @docs-private
|
|
48
|
+
*/
|
|
49
|
+
panelId: string;
|
|
50
|
+
constructor(disabledDirective: DaffDisableableDirective);
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffTabComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffTabComponent, "daff-tab", never, {
|
|
53
|
+
"id": {
|
|
54
|
+
"alias": "id";
|
|
55
|
+
"required": false;
|
|
56
|
+
"isSignal": true;
|
|
57
|
+
};
|
|
58
|
+
}, {}, never, ["daff-tab-label", "daff-tab-panel"], true, [{
|
|
59
|
+
directive: typeof i1.DaffDisableableDirective;
|
|
60
|
+
inputs: {
|
|
61
|
+
"disabled": "disabled";
|
|
62
|
+
};
|
|
63
|
+
outputs: {};
|
|
64
|
+
}]>;
|
|
54
65
|
}
|
|
55
|
-
|
|
56
66
|
/**
|
|
57
67
|
* Tab label is the clicakble label that activates its corresponding tab panel. Labels can contain text, icons, or both.
|
|
58
68
|
*
|
|
@@ -65,19 +75,18 @@ declare class DaffTabComponent implements DaffDisableable {
|
|
|
65
75
|
* </daff-tab-Label>
|
|
66
76
|
* ```
|
|
67
77
|
*/
|
|
68
|
-
declare class DaffTabLabelComponent {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
78
|
+
export declare class DaffTabLabelComponent {
|
|
79
|
+
/**
|
|
80
|
+
* @docs-private
|
|
81
|
+
*/
|
|
82
|
+
_prefix: import("@angular/core").Signal<DaffPrefixDirective>;
|
|
83
|
+
/**
|
|
84
|
+
* @docs-private
|
|
85
|
+
*/
|
|
86
|
+
_suffix: import("@angular/core").Signal<DaffSuffixDirective>;
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffTabLabelComponent, never>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffTabLabelComponent, "daff-tab-label", never, {}, {}, ["_prefix", "_suffix"], ["[daffPrefix]", "*", "[daffSuffix]"], true, never>;
|
|
79
89
|
}
|
|
80
|
-
|
|
81
90
|
/**
|
|
82
91
|
* Tab panel is the content area displayed when a tab is active.
|
|
83
92
|
*
|
|
@@ -88,54 +97,69 @@ declare class DaffTabLabelComponent {
|
|
|
88
97
|
* </daff-tab-panel>
|
|
89
98
|
* ```
|
|
90
99
|
*/
|
|
91
|
-
declare class DaffTabPanelComponent {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
100
|
+
export declare class DaffTabPanelComponent {
|
|
101
|
+
private tab;
|
|
102
|
+
private _id;
|
|
103
|
+
/**
|
|
104
|
+
* @docs-private
|
|
105
|
+
*
|
|
106
|
+
* Dynamically binds the tab panel's id to a unique value generated from the associated tab's panelId.
|
|
107
|
+
*/
|
|
108
|
+
get tabPanelId(): string;
|
|
109
|
+
private _ariaLabelledBy;
|
|
110
|
+
/**
|
|
111
|
+
* @docs-private
|
|
112
|
+
*/
|
|
113
|
+
get ariaLabelledBy(): string;
|
|
114
|
+
constructor(tab: DaffTabComponent);
|
|
115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffTabPanelComponent, never>;
|
|
116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffTabPanelComponent, "daff-tab-panel", never, {}, {}, never, ["*"], true, never>;
|
|
108
117
|
}
|
|
109
|
-
|
|
110
118
|
declare class DaffTabActivatorComponent {
|
|
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
|
-
|
|
119
|
+
private el;
|
|
120
|
+
private selectableDirective;
|
|
121
|
+
/**
|
|
122
|
+
* @docs-private
|
|
123
|
+
*
|
|
124
|
+
* Sets `aria-selected` to true if the component is selected and false if it's not selected.
|
|
125
|
+
*/
|
|
126
|
+
get ariaSelected(): boolean;
|
|
127
|
+
/**
|
|
128
|
+
* @docs-private
|
|
129
|
+
*
|
|
130
|
+
* Sets `tabindex` to `0` if the component is selected and `-1` if it's not selected.
|
|
131
|
+
*/
|
|
132
|
+
get tabIndex(): "0" | "-1";
|
|
133
|
+
constructor(el: ElementRef, selectableDirective: DaffSelectableDirective);
|
|
134
|
+
/**
|
|
135
|
+
* The html id of the tab activator component
|
|
136
|
+
*/
|
|
137
|
+
tabActivatorId: import("@angular/core").InputSignal<string>;
|
|
138
|
+
panelId: import("@angular/core").InputSignal<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Sets focus to the native element of the component.
|
|
141
|
+
*/
|
|
142
|
+
focus(): void;
|
|
143
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffTabActivatorComponent, never>;
|
|
144
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffTabActivatorComponent, "button[daff-tab-activator],a[daff-tab-activator]", never, {
|
|
145
|
+
"tabActivatorId": {
|
|
146
|
+
"alias": "tabActivatorId";
|
|
147
|
+
"required": false;
|
|
148
|
+
"isSignal": true;
|
|
149
|
+
};
|
|
150
|
+
"panelId": {
|
|
151
|
+
"alias": "panelId";
|
|
152
|
+
"required": false;
|
|
153
|
+
"isSignal": true;
|
|
154
|
+
};
|
|
155
|
+
}, {}, never, ["*"], true, [{
|
|
156
|
+
directive: typeof i1.DaffSelectableDirective;
|
|
157
|
+
inputs: {
|
|
158
|
+
"selected": "selected";
|
|
159
|
+
};
|
|
160
|
+
outputs: {};
|
|
161
|
+
}]>;
|
|
137
162
|
}
|
|
138
|
-
|
|
139
163
|
/**
|
|
140
164
|
* Tabs provide a way to navigate between panels that display related content without leaving the page.
|
|
141
165
|
*
|
|
@@ -163,109 +187,136 @@ declare class DaffTabActivatorComponent {
|
|
|
163
187
|
* </daff-tabs>
|
|
164
188
|
* ```
|
|
165
189
|
*/
|
|
166
|
-
declare class DaffTabsComponent implements AfterContentInit, OnInit {
|
|
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
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
190
|
+
export declare class DaffTabsComponent implements AfterContentInit, OnInit {
|
|
191
|
+
private cdRef;
|
|
192
|
+
private location;
|
|
193
|
+
/**
|
|
194
|
+
* @docs-private
|
|
195
|
+
*
|
|
196
|
+
* The currently selected tab. This property is dynamically updated when a user selects a tab.
|
|
197
|
+
*/
|
|
198
|
+
selectedTab: import("@angular/core").WritableSignal<string>;
|
|
199
|
+
/**
|
|
200
|
+
* The tab that is selected on initial load. If it's not used, the first tab in the tablist will be selected by default.
|
|
201
|
+
*/
|
|
202
|
+
initiallySelected: import("@angular/core").InputSignal<string>;
|
|
203
|
+
/**
|
|
204
|
+
* `aria-label` to label the tablist.
|
|
205
|
+
*/
|
|
206
|
+
ariaLabel: import("@angular/core").InputSignal<string>;
|
|
207
|
+
/**
|
|
208
|
+
* Replace the tab buttons as links.
|
|
209
|
+
*/
|
|
210
|
+
linkMode: import("@angular/core").InputSignal<boolean>;
|
|
211
|
+
/**
|
|
212
|
+
* The URL to navigate to when the component is in link mode.
|
|
213
|
+
* This component will set the specified query param.
|
|
214
|
+
*/
|
|
215
|
+
url: import("@angular/core").InputSignal<string>;
|
|
216
|
+
/**
|
|
217
|
+
* The query parameter that the tabs component will use to set the tab value in link mode.
|
|
218
|
+
*/
|
|
219
|
+
queryParam: import("@angular/core").InputSignal<string>;
|
|
220
|
+
/**
|
|
221
|
+
* Event emitted when tab selection changes.
|
|
222
|
+
*/
|
|
223
|
+
tabChange: import("@angular/core").OutputEmitterRef<string>;
|
|
224
|
+
/**
|
|
225
|
+
* @docs-private
|
|
226
|
+
*/
|
|
227
|
+
_labels: import("@angular/core").Signal<readonly DaffTabLabelComponent[]>;
|
|
228
|
+
/**
|
|
229
|
+
* @docs-private
|
|
230
|
+
*/
|
|
231
|
+
_tabs: import("@angular/core").Signal<readonly DaffTabComponent[]>;
|
|
232
|
+
/**
|
|
233
|
+
* @docs-private
|
|
234
|
+
*/
|
|
235
|
+
_tabActivators: import("@angular/core").Signal<readonly DaffTabActivatorComponent[]>;
|
|
236
|
+
/**
|
|
237
|
+
* @docs-private
|
|
238
|
+
*/
|
|
239
|
+
get currentPath(): string;
|
|
240
|
+
constructor(cdRef: ChangeDetectorRef, location: Location);
|
|
241
|
+
private reset;
|
|
242
|
+
/**
|
|
243
|
+
* @docs-private
|
|
244
|
+
*/
|
|
245
|
+
ngOnInit(): void;
|
|
246
|
+
/**
|
|
247
|
+
* @docs-private
|
|
248
|
+
*/
|
|
249
|
+
ngAfterContentInit(): void;
|
|
250
|
+
/**
|
|
251
|
+
* @docs-private
|
|
252
|
+
*
|
|
253
|
+
* Selects a tab and sets focus on the selected tab.
|
|
254
|
+
*/
|
|
255
|
+
select(tabId: string): void;
|
|
256
|
+
/**
|
|
257
|
+
* Navigates through the tabs based on the given offset.
|
|
258
|
+
* Moves forward or backward in the tab array, wrapping around when necessary.
|
|
259
|
+
*/
|
|
260
|
+
private navigateTabs;
|
|
261
|
+
/**
|
|
262
|
+
* @docs-private
|
|
263
|
+
*/
|
|
264
|
+
_buildQueryParams(tab: string): Params;
|
|
265
|
+
/**
|
|
266
|
+
* @docs-private
|
|
267
|
+
*
|
|
268
|
+
* Selects the previous tab and wraps around to the last tab if the first tab is currently selected.
|
|
269
|
+
*/
|
|
270
|
+
previous(): void;
|
|
271
|
+
/**
|
|
272
|
+
* @docs-private
|
|
273
|
+
*
|
|
274
|
+
* Selects the next tab and wraps around to the first tab if the last tab is currently selected.
|
|
275
|
+
*/
|
|
276
|
+
next(): void;
|
|
277
|
+
/**
|
|
278
|
+
* @docs-private
|
|
279
|
+
*
|
|
280
|
+
* Selects the first tab.
|
|
281
|
+
*/
|
|
282
|
+
selectFirst(event: KeyboardEvent | null): void;
|
|
283
|
+
/**
|
|
284
|
+
* @docs-private
|
|
285
|
+
*
|
|
286
|
+
* Selects the last tab.
|
|
287
|
+
*/
|
|
288
|
+
selectLast(event: KeyboardEvent | null): void;
|
|
289
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffTabsComponent, never>;
|
|
290
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffTabsComponent, "daff-tabs", never, {
|
|
291
|
+
"initiallySelected": {
|
|
292
|
+
"alias": "initiallySelected";
|
|
293
|
+
"required": false;
|
|
294
|
+
"isSignal": true;
|
|
295
|
+
};
|
|
296
|
+
"ariaLabel": {
|
|
297
|
+
"alias": "aria-label";
|
|
298
|
+
"required": false;
|
|
299
|
+
"isSignal": true;
|
|
300
|
+
};
|
|
301
|
+
"linkMode": {
|
|
302
|
+
"alias": "linkMode";
|
|
303
|
+
"required": false;
|
|
304
|
+
"isSignal": true;
|
|
305
|
+
};
|
|
306
|
+
"url": {
|
|
307
|
+
"alias": "url";
|
|
308
|
+
"required": false;
|
|
309
|
+
"isSignal": true;
|
|
310
|
+
};
|
|
311
|
+
"queryParam": {
|
|
312
|
+
"alias": "queryParam";
|
|
313
|
+
"required": false;
|
|
314
|
+
"isSignal": true;
|
|
315
|
+
};
|
|
316
|
+
}, {
|
|
317
|
+
"tabChange": "tabChange";
|
|
318
|
+
}, ["_labels", "_tabs"], never, true, never>;
|
|
267
319
|
}
|
|
268
|
-
|
|
269
320
|
/**
|
|
270
321
|
* @docs-private
|
|
271
322
|
*
|
|
@@ -273,6 +324,5 @@ declare class DaffTabsComponent implements AfterContentInit, OnInit {
|
|
|
273
324
|
* import { DAFF_TABS_COMPONENTS } from '@daffodil/design/tabs';
|
|
274
325
|
* ```
|
|
275
326
|
*/
|
|
276
|
-
declare const DAFF_TABS_COMPONENTS: readonly [typeof DaffTabsComponent, typeof DaffTabLabelComponent, typeof DaffTabPanelComponent, typeof DaffTabComponent];
|
|
277
|
-
|
|
278
|
-
export { DAFF_TABS_COMPONENTS, DaffTabComponent, DaffTabLabelComponent, DaffTabPanelComponent, DaffTabsComponent };
|
|
327
|
+
export declare const DAFF_TABS_COMPONENTS: readonly [typeof DaffTabsComponent, typeof DaffTabLabelComponent, typeof DaffTabPanelComponent, typeof DaffTabComponent];
|
|
328
|
+
export {};
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
import * as
|
|
4
|
-
import { DaffSizableDirective, DaffSizeSmallType, DaffSizeMediumType, DaffSizeLargeType, DaffDisableable, DaffPrefixDirective, DaffStatus, DaffDisableableDirective, DaffStatusableDirective } from '@daffodil/design';
|
|
5
|
-
|
|
1
|
+
import * as i1 from "@daffodil/design";
|
|
2
|
+
import { DaffDisableable, DaffDisableableDirective, DaffPrefixDirective, DaffSizableDirective, DaffSizeLargeType, DaffSizeMediumType, DaffSizeSmallType, DaffStatus, DaffStatusableDirective } from "@daffodil/design";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
6
4
|
/**
|
|
7
5
|
* The size types that the DaffTagComponent can implement.
|
|
8
6
|
*/
|
|
9
7
|
type DaffTagSize = DaffSizeSmallType | DaffSizeMediumType | DaffSizeLargeType;
|
|
10
|
-
declare class DaffTagSizableDirective extends DaffSizableDirective<DaffTagSize> {
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
export declare class DaffTagSizableDirective extends DaffSizableDirective<DaffTagSize> {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffTagSizableDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffTagSizableDirective, never, never, {}, {}, never, never, true, never>;
|
|
13
11
|
}
|
|
14
|
-
|
|
15
12
|
/**
|
|
16
13
|
* DaffTagComponent is an interactive indicator and filter that can be edited or removed, used to represent selections, categories, or applied filters.
|
|
17
14
|
*
|
|
@@ -23,56 +20,94 @@ declare class DaffTagSizableDirective extends DaffSizableDirective<DaffTagSize>
|
|
|
23
20
|
* </daff-tag>
|
|
24
21
|
* ```
|
|
25
22
|
*/
|
|
26
|
-
declare class DaffTagComponent implements DaffDisableable {
|
|
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
|
-
|
|
23
|
+
export declare class DaffTagComponent implements DaffDisableable {
|
|
24
|
+
private size;
|
|
25
|
+
private disabledDirective;
|
|
26
|
+
private statusable;
|
|
27
|
+
/**
|
|
28
|
+
* @docs-private
|
|
29
|
+
*/
|
|
30
|
+
faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
31
|
+
/**
|
|
32
|
+
* @docs-private
|
|
33
|
+
*/
|
|
34
|
+
_prefix: import("@angular/core").Signal<DaffPrefixDirective>;
|
|
35
|
+
/**
|
|
36
|
+
* @docs-private
|
|
37
|
+
*
|
|
38
|
+
* Internal function to access the disabled property of the DaffDisableableDirective.
|
|
39
|
+
*/
|
|
40
|
+
get disabled(): boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated Deprecated in version 0.93.0. Deprecated in version 0.93.1. Will be removed in version 0.96.0.
|
|
43
|
+
*
|
|
44
|
+
* Sets the status on the tag.
|
|
45
|
+
*/
|
|
46
|
+
get status(): DaffStatus;
|
|
47
|
+
set status(value: DaffStatus);
|
|
48
|
+
/**
|
|
49
|
+
* Whether the tag can be dismissed by the user.
|
|
50
|
+
* Displays a close icon if `true`.
|
|
51
|
+
*/
|
|
52
|
+
dismissible: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
53
|
+
/**
|
|
54
|
+
* Emits when the tag is closed.
|
|
55
|
+
*/
|
|
56
|
+
closeTag: import("@angular/core").OutputEmitterRef<void>;
|
|
57
|
+
/**
|
|
58
|
+
* @docs-private
|
|
59
|
+
*
|
|
60
|
+
* Internal handler for the close icon click.
|
|
61
|
+
*/
|
|
62
|
+
onCloseTag(event: Event): void;
|
|
63
|
+
constructor(size: DaffTagSizableDirective, disabledDirective: DaffDisableableDirective, statusable: DaffStatusableDirective);
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffTagComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffTagComponent, "daff-tag", never, {
|
|
66
|
+
"status": {
|
|
67
|
+
"alias": "status";
|
|
68
|
+
"required": false;
|
|
69
|
+
};
|
|
70
|
+
"dismissible": {
|
|
71
|
+
"alias": "dismissible";
|
|
72
|
+
"required": false;
|
|
73
|
+
"isSignal": true;
|
|
74
|
+
};
|
|
75
|
+
}, {
|
|
76
|
+
"closeTag": "closeTag";
|
|
77
|
+
}, ["_prefix"], ["[daffPrefix]", "*"], true, [{
|
|
78
|
+
directive: typeof i1.DaffArticleEncapsulatedDirective;
|
|
79
|
+
inputs: {};
|
|
80
|
+
outputs: {};
|
|
81
|
+
}, {
|
|
82
|
+
directive: typeof DaffTagSizableDirective;
|
|
83
|
+
inputs: {
|
|
84
|
+
"size": "size";
|
|
85
|
+
};
|
|
86
|
+
outputs: {};
|
|
87
|
+
}, {
|
|
88
|
+
directive: typeof i1.DaffColorableDirective;
|
|
89
|
+
inputs: {
|
|
90
|
+
"color": "color";
|
|
91
|
+
};
|
|
92
|
+
outputs: {};
|
|
93
|
+
}, {
|
|
94
|
+
directive: typeof i1.DaffStatusableDirective;
|
|
95
|
+
inputs: {
|
|
96
|
+
"status": "status";
|
|
97
|
+
};
|
|
98
|
+
outputs: {};
|
|
99
|
+
}, {
|
|
100
|
+
directive: typeof i1.DaffDisableableDirective;
|
|
101
|
+
inputs: {
|
|
102
|
+
"disabled": "disabled";
|
|
103
|
+
};
|
|
104
|
+
outputs: {};
|
|
105
|
+
}]>;
|
|
69
106
|
}
|
|
70
|
-
|
|
71
107
|
/**
|
|
72
108
|
* @docs-private
|
|
73
109
|
*
|
|
74
110
|
* `DAFF_TAG_COMPONENTS` imports all the available components and directives.
|
|
75
111
|
*/
|
|
76
|
-
declare const DAFF_TAG_COMPONENTS: readonly [typeof DaffTagComponent, typeof DaffTagSizableDirective, typeof DaffPrefixDirective];
|
|
77
|
-
|
|
78
|
-
export { DAFF_TAG_COMPONENTS, DaffTagComponent, DaffTagSizableDirective };
|
|
112
|
+
export declare const DAFF_TAG_COMPONENTS: readonly [typeof DaffTagComponent, typeof DaffTagSizableDirective, typeof DaffPrefixDirective];
|
|
113
|
+
export {};
|