@daffodil/design 0.93.0 → 0.94.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 +0 -1
- package/accordion/src/accordion-theme.scss +2 -2
- package/article/src/article/_stops-article-cascade.scss +5 -1
- package/article/src/article-theme.scss +2 -2
- package/badge/README.md +85 -0
- package/badge/src/badge-theme.scss +197 -0
- package/beacon/README.md +61 -0
- package/beacon/src/beacon-theme.scss +61 -0
- package/breadcrumb/src/breadcrumb-theme.scss +2 -2
- package/button/src/button/basic/button-theme.scss +2 -2
- package/button/src/button/flat/flat-theme.scss +2 -2
- package/button/src/button/icon/icon-theme.scss +2 -2
- package/button/src/button/raised/raised-theme.scss +13 -13
- package/button/src/button/stroked/stroked-theme.scss +2 -2
- package/button/src/button/underline/underline-theme.scss +2 -2
- package/callout/src/callout-theme.scss +12 -2
- package/card/src/card/stroked/stroked-theme.scss +14 -22
- package/card/src/card-base-theme.scss +4 -4
- package/card/src/card-base.scss +13 -16
- package/fesm2022/daffodil-design-accordion.mjs +9 -15
- package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
- package/fesm2022/daffodil-design-article.mjs +2 -2
- package/fesm2022/daffodil-design-article.mjs.map +1 -1
- package/fesm2022/daffodil-design-badge.mjs +87 -0
- package/fesm2022/daffodil-design-badge.mjs.map +1 -0
- package/fesm2022/daffodil-design-beacon.mjs +48 -0
- package/fesm2022/daffodil-design-beacon.mjs.map +1 -0
- package/fesm2022/daffodil-design-breadcrumb.mjs +1 -1
- package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
- package/fesm2022/daffodil-design-button.mjs +1 -1
- package/fesm2022/daffodil-design-button.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout.mjs +2 -2
- package/fesm2022/daffodil-design-card.mjs +9 -11
- package/fesm2022/daffodil-design-card.mjs.map +1 -1
- package/fesm2022/daffodil-design-form-field.mjs +95 -115
- package/fesm2022/daffodil-design-form-field.mjs.map +1 -1
- package/fesm2022/daffodil-design-form.mjs +5 -7
- package/fesm2022/daffodil-design-form.mjs.map +1 -1
- package/fesm2022/daffodil-design-image.mjs +41 -98
- package/fesm2022/daffodil-design-image.mjs.map +1 -1
- package/fesm2022/daffodil-design-input.mjs +3 -3
- package/fesm2022/daffodil-design-input.mjs.map +1 -1
- package/fesm2022/daffodil-design-list.mjs +16 -21
- package/fesm2022/daffodil-design-list.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery.mjs +56 -61
- package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu.mjs +61 -38
- package/fesm2022/daffodil-design-menu.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal.mjs +2 -2
- package/fesm2022/daffodil-design-modal.mjs.map +1 -1
- package/fesm2022/daffodil-design-native-select.mjs +3 -3
- package/fesm2022/daffodil-design-native-select.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification.mjs +17 -20
- package/fesm2022/daffodil-design-notification.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator.mjs +71 -76
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar.mjs +33 -53
- package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
- package/fesm2022/daffodil-design-select.mjs +1 -1
- package/fesm2022/daffodil-design-select.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar.mjs +2 -2
- package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
- package/fesm2022/daffodil-design-spinner.mjs +17 -16
- package/fesm2022/daffodil-design-spinner.mjs.map +1 -1
- package/fesm2022/daffodil-design-switch.mjs +20 -29
- package/fesm2022/daffodil-design-switch.mjs.map +1 -1
- package/fesm2022/daffodil-design-tabs.mjs +86 -88
- package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
- package/fesm2022/daffodil-design-tag.mjs +33 -28
- package/fesm2022/daffodil-design-tag.mjs.map +1 -1
- package/fesm2022/daffodil-design-text-snippet.mjs +18 -23
- package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -1
- package/fesm2022/daffodil-design-textarea.mjs +3 -3
- package/fesm2022/daffodil-design-textarea.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast.mjs +19 -20
- package/fesm2022/daffodil-design-toast.mjs.map +1 -1
- package/fesm2022/daffodil-design.mjs +111 -80
- package/fesm2022/daffodil-design.mjs.map +1 -1
- package/form/src/hint/hint-theme.scss +2 -2
- package/form-field/src/form-field-theme.scss +2 -2
- package/hero/src/hero-theme.scss +12 -2
- package/list/README.md +10 -0
- package/list/src/list-theme.scss +2 -2
- package/media-gallery/README.md +0 -5
- package/media-gallery/src/media-gallery-theme.scss +2 -2
- package/menu/README.md +5 -0
- package/menu/src/menu-theme.scss +4 -4
- package/notification/src/notification-theme.scss +2 -2
- package/package.json +1 -1
- package/paginator/src/paginator-theme.scss +2 -2
- package/progress-bar/README.md +1 -1
- package/progress-bar/src/progress-bar-theme.scss +2 -2
- package/scss/global.scss +4 -0
- package/scss/state/skeleton/_mixins.scss +2 -2
- package/scss/theme/default.scss +15 -0
- package/scss/theme.scss +4 -8
- package/scss/theming/_configure-palette.scss +5 -1
- package/scss/theming/_get-theme-mode.scss +1 -1
- package/scss/theming/_index.scss +2 -3
- package/scss/theming/_light-dark.scss +37 -12
- package/scss/theming/color-shift/_color-shift.scss +56 -0
- package/scss/theming/color-shift/_color-shift.spec.scss +107 -0
- package/scss/theming/color-shift/_index.scss +1 -0
- package/scss/theming/{_daff-theme.scss → default/_daff-theme.scss} +4 -4
- package/scss/theming/default/_index.scss +1 -0
- package/select/src/select-theme.scss +5 -3
- package/switch/src/switch-theme.scss +2 -2
- package/tabs/src/tabs-theme.scss +2 -2
- package/tag/README.md +10 -6
- package/tag/src/tag-theme.scss +102 -5
- package/toast/src/toast-theme.scss +2 -2
- package/tree/src/tree-theme.scss +2 -2
- package/types/daffodil-design-accordion.d.ts +4 -4
- package/types/daffodil-design-badge.d.ts +63 -0
- package/types/daffodil-design-beacon.d.ts +26 -0
- package/types/daffodil-design-card.d.ts +2 -2
- package/types/daffodil-design-form-field.d.ts +34 -31
- package/types/daffodil-design-form.d.ts +2 -2
- package/types/daffodil-design-image.d.ts +15 -28
- package/types/daffodil-design-list.d.ts +3 -3
- package/types/daffodil-design-media-gallery.d.ts +31 -20
- package/types/daffodil-design-menu.d.ts +51 -20
- package/types/daffodil-design-notification.d.ts +5 -6
- package/types/daffodil-design-paginator.d.ts +20 -25
- package/types/daffodil-design-progress-bar.d.ts +16 -21
- package/types/daffodil-design-spinner.d.ts +2 -2
- package/types/daffodil-design-switch.d.ts +7 -8
- package/types/daffodil-design-tabs.d.ts +29 -29
- package/types/daffodil-design-tag.d.ts +22 -16
- package/types/daffodil-design-text-snippet.d.ts +9 -9
- package/types/daffodil-design.d.ts +61 -41
- package/fesm2022/daffodil-design-loading-icon.mjs +0 -67
- package/fesm2022/daffodil-design-loading-icon.mjs.map +0 -1
- package/loading-icon/README.md +0 -59
- package/loading-icon/src/loading-icon-theme.scss +0 -103
- package/scss/theming/illuminate/illuminate.scss +0 -149
- package/scss/theming/illuminate/illuminate.spec.scss +0 -15
- package/types/daffodil-design-loading-icon.d.ts +0 -31
|
@@ -24,7 +24,7 @@ declare class DaffSpinnerComponent {
|
|
|
24
24
|
/**
|
|
25
25
|
* @docs-private
|
|
26
26
|
*/
|
|
27
|
-
_label: DaffSpinnerLabelDirective
|
|
27
|
+
_label: i0.Signal<DaffSpinnerLabelDirective>;
|
|
28
28
|
private static readonly SIZE_MAP;
|
|
29
29
|
/**
|
|
30
30
|
* The `aria-label` for the spinner. Defaults to "loading".
|
|
@@ -33,7 +33,7 @@ declare class DaffSpinnerComponent {
|
|
|
33
33
|
/**
|
|
34
34
|
* @docs-private
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
_ariaLabel: i0.Signal<string>;
|
|
37
37
|
/**
|
|
38
38
|
* @docs-private
|
|
39
39
|
*
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
3
2
|
import * as i1 from '@daffodil/design';
|
|
4
3
|
import { DaffSizableDirective, DaffSizeSmallType, DaffDisableable, DaffDisableableDirective } from '@daffodil/design';
|
|
5
4
|
|
|
@@ -18,7 +17,7 @@ declare class DaffSwitchComponent extends DaffSizableDirective<DaffSwitchSize> i
|
|
|
18
17
|
/**
|
|
19
18
|
* The position of the label relative to the switch.
|
|
20
19
|
*/
|
|
21
|
-
labelPosition: DaffSwitchLabelPosition
|
|
20
|
+
labelPosition: _angular_core.InputSignal<DaffSwitchLabelPosition>;
|
|
22
21
|
constructor(disabledDirective: DaffDisableableDirective);
|
|
23
22
|
/**
|
|
24
23
|
* Whether the switch is disabled.
|
|
@@ -28,7 +27,7 @@ declare class DaffSwitchComponent extends DaffSizableDirective<DaffSwitchSize> i
|
|
|
28
27
|
/**
|
|
29
28
|
* Current state of switch (on/off).
|
|
30
29
|
*/
|
|
31
|
-
checked: boolean
|
|
30
|
+
checked: _angular_core.ModelSignal<boolean>;
|
|
32
31
|
/**
|
|
33
32
|
* @docs-private
|
|
34
33
|
*/
|
|
@@ -39,17 +38,17 @@ declare class DaffSwitchComponent extends DaffSizableDirective<DaffSwitchSize> i
|
|
|
39
38
|
*
|
|
40
39
|
* It gets assigned to the `for` attribute on the `<label>` inside of the switch.
|
|
41
40
|
*/
|
|
42
|
-
id: string
|
|
41
|
+
id: _angular_core.InputSignal<string>;
|
|
43
42
|
/**
|
|
44
43
|
* Output event triggered when the switch has been toggled.
|
|
45
44
|
*/
|
|
46
|
-
toggled:
|
|
45
|
+
toggled: _angular_core.OutputEmitterRef<boolean>;
|
|
47
46
|
/**
|
|
48
47
|
* @docs-private
|
|
49
48
|
*/
|
|
50
49
|
onToggle(): void;
|
|
51
|
-
static ɵfac:
|
|
52
|
-
static ɵcmp:
|
|
50
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffSwitchComponent, never>;
|
|
51
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffSwitchComponent, "daff-switch", never, { "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "toggled": "toggled"; }, never, ["*"], true, [{ directive: typeof i1.DaffSizableDirective; inputs: { "size": "size"; }; outputs: {}; }, { directive: typeof i1.DaffDisableableDirective; inputs: { "disabled": "disabled"; }; outputs: {}; }]>;
|
|
53
52
|
}
|
|
54
53
|
|
|
55
54
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { TemplateRef, ElementRef, AfterContentInit, OnInit,
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef, ElementRef, AfterContentInit, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import * as i1 from '@daffodil/design';
|
|
4
4
|
import { DaffDisableable, DaffDisableableDirective, DaffPrefixDirective, DaffSuffixDirective, DaffSelectableDirective } from '@daffodil/design';
|
|
5
5
|
import { Location } from '@angular/common';
|
|
@@ -34,23 +34,23 @@ declare class DaffTabComponent implements DaffDisableable {
|
|
|
34
34
|
/**
|
|
35
35
|
* @docs-private
|
|
36
36
|
*/
|
|
37
|
-
contentRef: TemplateRef<any
|
|
37
|
+
contentRef: _angular_core.Signal<TemplateRef<any>>;
|
|
38
38
|
/**
|
|
39
39
|
* @docs-private
|
|
40
40
|
*/
|
|
41
|
-
labelRef: TemplateRef<any
|
|
41
|
+
labelRef: _angular_core.Signal<TemplateRef<any>>;
|
|
42
42
|
/**
|
|
43
43
|
* A unique id for the tab component. Defaults to an autogenerated value. When using this,
|
|
44
44
|
* it's your responsibility to ensure that the id for each tab is unique.
|
|
45
45
|
*/
|
|
46
|
-
id: string
|
|
46
|
+
id: _angular_core.InputSignal<string>;
|
|
47
47
|
/**
|
|
48
48
|
* @docs-private
|
|
49
49
|
*/
|
|
50
50
|
panelId: string;
|
|
51
51
|
constructor(disabledDirective: DaffDisableableDirective);
|
|
52
|
-
static ɵfac:
|
|
53
|
-
static ɵcmp:
|
|
52
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffTabComponent, never>;
|
|
53
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffTabComponent, "daff-tab", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, ["daff-tab-label", "daff-tab-panel"], true, [{ directive: typeof i1.DaffDisableableDirective; inputs: { "disabled": "disabled"; }; outputs: {}; }]>;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
@@ -69,13 +69,13 @@ declare class DaffTabLabelComponent {
|
|
|
69
69
|
/**
|
|
70
70
|
* @docs-private
|
|
71
71
|
*/
|
|
72
|
-
_prefix: DaffPrefixDirective
|
|
72
|
+
_prefix: _angular_core.Signal<DaffPrefixDirective>;
|
|
73
73
|
/**
|
|
74
74
|
* @docs-private
|
|
75
75
|
*/
|
|
76
|
-
_suffix: DaffSuffixDirective
|
|
77
|
-
static ɵfac:
|
|
78
|
-
static ɵcmp:
|
|
76
|
+
_suffix: _angular_core.Signal<DaffSuffixDirective>;
|
|
77
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffTabLabelComponent, never>;
|
|
78
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffTabLabelComponent, "daff-tab-label", never, {}, {}, ["_prefix", "_suffix"], ["[daffPrefix]", "*", "[daffSuffix]"], true, never>;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/**
|
|
@@ -103,8 +103,8 @@ declare class DaffTabPanelComponent {
|
|
|
103
103
|
*/
|
|
104
104
|
get ariaLabelledBy(): string;
|
|
105
105
|
constructor(tab: DaffTabComponent);
|
|
106
|
-
static ɵfac:
|
|
107
|
-
static ɵcmp:
|
|
106
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffTabPanelComponent, never>;
|
|
107
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffTabPanelComponent, "daff-tab-panel", never, {}, {}, never, ["*"], true, never>;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
declare class DaffTabActivatorComponent {
|
|
@@ -126,14 +126,14 @@ declare class DaffTabActivatorComponent {
|
|
|
126
126
|
/**
|
|
127
127
|
* The html id of the tab activator component
|
|
128
128
|
*/
|
|
129
|
-
tabActivatorId: string
|
|
130
|
-
panelId: string
|
|
129
|
+
tabActivatorId: _angular_core.InputSignal<string>;
|
|
130
|
+
panelId: _angular_core.InputSignal<string>;
|
|
131
131
|
/**
|
|
132
132
|
* Sets focus to the native element of the component.
|
|
133
133
|
*/
|
|
134
134
|
focus(): void;
|
|
135
|
-
static ɵfac:
|
|
136
|
-
static ɵcmp:
|
|
135
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffTabActivatorComponent, never>;
|
|
136
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffTabActivatorComponent, "button[daff-tab-activator],a[daff-tab-activator]", never, { "tabActivatorId": { "alias": "tabActivatorId"; "required": false; "isSignal": true; }; "panelId": { "alias": "panelId"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.DaffSelectableDirective; inputs: { "selected": "selected"; }; outputs: {}; }]>;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
/**
|
|
@@ -171,44 +171,44 @@ declare class DaffTabsComponent implements AfterContentInit, OnInit {
|
|
|
171
171
|
*
|
|
172
172
|
* The currently selected tab. This property is dynamically updated when a user selects a tab.
|
|
173
173
|
*/
|
|
174
|
-
selectedTab: string
|
|
174
|
+
selectedTab: _angular_core.WritableSignal<string>;
|
|
175
175
|
/**
|
|
176
176
|
* The tab that is selected on initial load. If it's not used, the first tab in the tablist will be selected by default.
|
|
177
177
|
*/
|
|
178
|
-
initiallySelected: string
|
|
178
|
+
initiallySelected: _angular_core.InputSignal<string>;
|
|
179
179
|
/**
|
|
180
180
|
* `aria-label` to label the tablist.
|
|
181
181
|
*/
|
|
182
|
-
ariaLabel: string
|
|
182
|
+
ariaLabel: _angular_core.InputSignal<string>;
|
|
183
183
|
/**
|
|
184
184
|
* Replace the tab buttons as links.
|
|
185
185
|
*/
|
|
186
|
-
linkMode: boolean
|
|
186
|
+
linkMode: _angular_core.InputSignal<boolean>;
|
|
187
187
|
/**
|
|
188
188
|
* The URL to navigate to when the component is in link mode.
|
|
189
189
|
* This component will set the specified query param.
|
|
190
190
|
*/
|
|
191
|
-
url
|
|
191
|
+
url: _angular_core.InputSignal<string>;
|
|
192
192
|
/**
|
|
193
193
|
* The query parameter that the tabs component will use to set the tab value in link mode.
|
|
194
194
|
*/
|
|
195
|
-
queryParam: string
|
|
195
|
+
queryParam: _angular_core.InputSignal<string>;
|
|
196
196
|
/**
|
|
197
197
|
* Event emitted when tab selection changes.
|
|
198
198
|
*/
|
|
199
|
-
tabChange:
|
|
199
|
+
tabChange: _angular_core.OutputEmitterRef<string>;
|
|
200
200
|
/**
|
|
201
201
|
* @docs-private
|
|
202
202
|
*/
|
|
203
|
-
_labels:
|
|
203
|
+
_labels: _angular_core.Signal<readonly DaffTabLabelComponent[]>;
|
|
204
204
|
/**
|
|
205
205
|
* @docs-private
|
|
206
206
|
*/
|
|
207
|
-
_tabs:
|
|
207
|
+
_tabs: _angular_core.Signal<readonly DaffTabComponent[]>;
|
|
208
208
|
/**
|
|
209
209
|
* @docs-private
|
|
210
210
|
*/
|
|
211
|
-
_tabActivators:
|
|
211
|
+
_tabActivators: _angular_core.Signal<readonly DaffTabActivatorComponent[]>;
|
|
212
212
|
/**
|
|
213
213
|
* @docs-private
|
|
214
214
|
*/
|
|
@@ -262,8 +262,8 @@ declare class DaffTabsComponent implements AfterContentInit, OnInit {
|
|
|
262
262
|
* Selects the last tab.
|
|
263
263
|
*/
|
|
264
264
|
selectLast(event: KeyboardEvent | null): void;
|
|
265
|
-
static ɵfac:
|
|
266
|
-
static ɵcmp:
|
|
265
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffTabsComponent, never>;
|
|
266
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffTabsComponent, "daff-tabs", never, { "initiallySelected": { "alias": "initiallySelected"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "linkMode": { "alias": "linkMode"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "queryParam": { "alias": "queryParam"; "required": false; "isSignal": true; }; }, { "tabChange": "tabChange"; }, ["_labels", "_tabs"], never, true, never>;
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
/**
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
|
|
2
1
|
import * as i0 from '@angular/core';
|
|
3
|
-
import
|
|
2
|
+
import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
|
|
4
3
|
import * as i1 from '@daffodil/design';
|
|
5
|
-
import { DaffSizableDirective, DaffSizeSmallType, DaffSizeMediumType, DaffSizeLargeType, DaffDisableable, DaffPrefixDirective, DaffDisableableDirective } from '@daffodil/design';
|
|
4
|
+
import { DaffSizableDirective, DaffSizeSmallType, DaffSizeMediumType, DaffSizeLargeType, DaffDisableable, DaffPrefixDirective, DaffStatus, DaffDisableableDirective, DaffStatusableDirective } from '@daffodil/design';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* The size types that the DaffTagComponent can implement.
|
|
@@ -14,19 +13,20 @@ declare class DaffTagSizableDirective extends DaffSizableDirective<DaffTagSize>
|
|
|
14
13
|
}
|
|
15
14
|
|
|
16
15
|
/**
|
|
17
|
-
*
|
|
16
|
+
* DaffTagComponent is an interactive indicator and filter that can be edited or removed, used to represent selections, categories, or applied filters.
|
|
18
17
|
*
|
|
19
18
|
* @example
|
|
20
19
|
* ```html
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
20
|
+
* <daff-tag [dismissible]="true" (closeTag)="onCloseTag()">
|
|
21
|
+
* <fa-icon daffPrefix [icon]="faCircleCheck"></fa-icon>
|
|
22
|
+
* Label
|
|
23
|
+
* </daff-tag>
|
|
25
24
|
* ```
|
|
26
25
|
*/
|
|
27
26
|
declare class DaffTagComponent implements DaffDisableable {
|
|
28
27
|
private size;
|
|
29
28
|
private disabledDirective;
|
|
29
|
+
private statusable;
|
|
30
30
|
/**
|
|
31
31
|
* @docs-private
|
|
32
32
|
*/
|
|
@@ -34,32 +34,38 @@ declare class DaffTagComponent implements DaffDisableable {
|
|
|
34
34
|
/**
|
|
35
35
|
* @docs-private
|
|
36
36
|
*/
|
|
37
|
-
_prefix: DaffPrefixDirective
|
|
37
|
+
_prefix: i0.Signal<DaffPrefixDirective>;
|
|
38
38
|
/**
|
|
39
39
|
* @docs-private
|
|
40
40
|
*
|
|
41
41
|
* Internal function to access the disabled property of the DaffDisableableDirective.
|
|
42
42
|
*/
|
|
43
43
|
get disabled(): boolean;
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated Deprecated in version 0.93.0. Deprecated in version 0.93.1. Will be removed in version 0.96.0.
|
|
46
|
+
*
|
|
47
|
+
* Sets the status on the tag.
|
|
48
|
+
*/
|
|
49
|
+
get status(): DaffStatus;
|
|
50
|
+
set status(value: DaffStatus);
|
|
51
|
+
/**
|
|
52
|
+
* Whether the tag can be dismissed by the user.
|
|
46
53
|
* Displays a close icon if `true`.
|
|
47
54
|
*/
|
|
48
|
-
|
|
49
|
-
set dismissible(value: any);
|
|
55
|
+
dismissible: i0.InputSignalWithTransform<boolean, unknown>;
|
|
50
56
|
/**
|
|
51
57
|
* Emits when the tag is closed.
|
|
52
58
|
*/
|
|
53
|
-
closeTag:
|
|
59
|
+
closeTag: i0.OutputEmitterRef<void>;
|
|
54
60
|
/**
|
|
55
61
|
* @docs-private
|
|
56
62
|
*
|
|
57
63
|
* Internal handler for the close icon click.
|
|
58
64
|
*/
|
|
59
65
|
onCloseTag(event: Event): void;
|
|
60
|
-
constructor(size: DaffTagSizableDirective, disabledDirective: DaffDisableableDirective);
|
|
66
|
+
constructor(size: DaffTagSizableDirective, disabledDirective: DaffDisableableDirective, statusable: DaffStatusableDirective);
|
|
61
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffTagComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffTagComponent, "daff-tag", never, { "dismissible": { "alias": "dismissible"; "required": false; }; }, { "closeTag": "closeTag"; }, ["_prefix"], ["[daffPrefix]", "*"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof DaffTagSizableDirective; inputs: { "size": "size"; }; outputs: {}; }, { directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }, { directive: typeof i1.DaffStatusableDirective; inputs: { "status": "status"; }; outputs: {}; }, { directive: typeof i1.DaffDisableableDirective; inputs: { "disabled": "disabled"; }; outputs: {}; }]>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffTagComponent, "daff-tag", never, { "status": { "alias": "status"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; }, { "closeTag": "closeTag"; }, ["_prefix"], ["[daffPrefix]", "*"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof DaffTagSizableDirective; inputs: { "size": "size"; }; outputs: {}; }, { directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }, { directive: typeof i1.DaffStatusableDirective; inputs: { "status": "status"; }; outputs: {}; }, { directive: typeof i1.DaffDisableableDirective; inputs: { "disabled": "disabled"; }; outputs: {}; }]>;
|
|
63
69
|
}
|
|
64
70
|
|
|
65
71
|
/**
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ElementRef
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
declare class DaffTextSnippetComponent {
|
|
5
5
|
/**
|
|
6
6
|
* Whether or not the component should render a condensed version of the content.
|
|
7
7
|
*/
|
|
8
|
-
condensed: boolean
|
|
8
|
+
condensed: _angular_core.ModelSignal<boolean>;
|
|
9
9
|
/**
|
|
10
10
|
* The HTML content to render inside the snippet.
|
|
11
11
|
*/
|
|
12
|
-
html: string
|
|
12
|
+
html: _angular_core.InputSignal<string>;
|
|
13
13
|
/**
|
|
14
14
|
* @docs-private
|
|
15
15
|
*/
|
|
@@ -17,21 +17,21 @@ declare class DaffTextSnippetComponent {
|
|
|
17
17
|
/**
|
|
18
18
|
* @docs-private
|
|
19
19
|
*/
|
|
20
|
-
contentRef: ElementRef
|
|
20
|
+
contentRef: _angular_core.Signal<ElementRef<any>>;
|
|
21
21
|
/**
|
|
22
22
|
* @docs-private
|
|
23
23
|
*/
|
|
24
|
-
htmlRef: ElementRef
|
|
24
|
+
htmlRef: _angular_core.Signal<ElementRef<any>>;
|
|
25
25
|
/**
|
|
26
26
|
* An output event that can be used to track the state of the component externally.
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
toggled: _angular_core.OutputEmitterRef<boolean>;
|
|
29
29
|
/**
|
|
30
30
|
* @docs-private
|
|
31
31
|
*/
|
|
32
32
|
toggleSnippet(): void;
|
|
33
|
-
static ɵfac:
|
|
34
|
-
static ɵcmp:
|
|
33
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffTextSnippetComponent, never>;
|
|
34
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffTextSnippetComponent, "daff-text-snippet", never, { "condensed": { "alias": "condensed"; "required": false; "isSignal": true; }; "html": { "alias": "html"; "required": false; "isSignal": true; }; }, { "condensed": "condensedChange"; "toggled": "toggled"; }, never, ["*"], true, never>;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
export { DaffTextSnippetComponent };
|
|
@@ -445,7 +445,7 @@ declare class DaffArticleEncapsulatedDirective {
|
|
|
445
445
|
declare enum DaffTheme {
|
|
446
446
|
Light = "light",
|
|
447
447
|
Dark = "dark",
|
|
448
|
-
|
|
448
|
+
System = "system"
|
|
449
449
|
}
|
|
450
450
|
|
|
451
451
|
/**
|
|
@@ -498,6 +498,11 @@ declare class DaffThemingService {
|
|
|
498
498
|
* Get the current theme.
|
|
499
499
|
*/
|
|
500
500
|
getTheme(): Observable<DaffTheme>;
|
|
501
|
+
/**
|
|
502
|
+
* Get the user's stored theme preference. Emits `DaffTheme.System` when no
|
|
503
|
+
* preference is stored and the theme follows the operating system.
|
|
504
|
+
*/
|
|
505
|
+
getThemePreference(): Observable<DaffTheme>;
|
|
501
506
|
/**
|
|
502
507
|
* Set the theme to dark mode.
|
|
503
508
|
*/
|
|
@@ -507,9 +512,9 @@ declare class DaffThemingService {
|
|
|
507
512
|
*/
|
|
508
513
|
lightMode(): void;
|
|
509
514
|
/**
|
|
510
|
-
*
|
|
515
|
+
* Follow the operating system's theme preference by clearing any stored theme.
|
|
511
516
|
*/
|
|
512
|
-
|
|
517
|
+
systemMode(): void;
|
|
513
518
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffThemingService, never>;
|
|
514
519
|
static ɵprov: i0.ɵɵInjectableDeclaration<DaffThemingService>;
|
|
515
520
|
}
|
|
@@ -821,9 +826,9 @@ declare class DaffDisableableDirective {
|
|
|
821
826
|
/**
|
|
822
827
|
* Whether the component is disabled.
|
|
823
828
|
*/
|
|
824
|
-
disabled: boolean
|
|
829
|
+
disabled: i0.ModelSignal<boolean>;
|
|
825
830
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffDisableableDirective, never>;
|
|
826
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffDisableableDirective, "[daffDisableable]", never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
831
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffDisableableDirective, "[daffDisableable]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; }, never, never, true, never>;
|
|
827
832
|
}
|
|
828
833
|
|
|
829
834
|
/**
|
|
@@ -885,6 +890,21 @@ declare class DaffLoadableDirective {
|
|
|
885
890
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffLoadableDirective, "[daffLoadable]", never, { "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
|
|
886
891
|
}
|
|
887
892
|
|
|
893
|
+
/**
|
|
894
|
+
* The public shape of an RTI boundary, exposed to descendant RTI targets.
|
|
895
|
+
*/
|
|
896
|
+
interface DaffRovingTabIndexBoundary {
|
|
897
|
+
/**
|
|
898
|
+
* The name of the group defined by this boundary.
|
|
899
|
+
*/
|
|
900
|
+
readonly effectiveBoundary: Signal<string>;
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* Allows RTI targets to inject their nearest ancestor boundary without
|
|
904
|
+
* creating a circular import with the boundary directive.
|
|
905
|
+
*/
|
|
906
|
+
declare const DAFF_ROVING_TAB_INDEX_BOUNDARY: InjectionToken<DaffRovingTabIndexBoundary>;
|
|
907
|
+
|
|
888
908
|
declare class DaffRovingTabIndexService {
|
|
889
909
|
private document;
|
|
890
910
|
private readonly _hierarchy;
|
|
@@ -901,39 +921,6 @@ declare class DaffRovingTabIndexService {
|
|
|
901
921
|
static ɵprov: i0.ɵɵInjectableDeclaration<DaffRovingTabIndexService>;
|
|
902
922
|
}
|
|
903
923
|
|
|
904
|
-
/**
|
|
905
|
-
* Defines the boundary of an RTI group.
|
|
906
|
-
*/
|
|
907
|
-
declare class DaffRovingTabIndexBoundaryDirective {
|
|
908
|
-
private groupService;
|
|
909
|
-
private focusTrap;
|
|
910
|
-
/**
|
|
911
|
-
* Don't touch this directly. Use `_uniqueId`.
|
|
912
|
-
*/
|
|
913
|
-
private static _uniqueIdCounter;
|
|
914
|
-
/**
|
|
915
|
-
* Don't touch this directly. Use `_uniqueId`.
|
|
916
|
-
*/
|
|
917
|
-
private _cachedUniqueId;
|
|
918
|
-
private get _uniqueId();
|
|
919
|
-
/**
|
|
920
|
-
* The name of the group for which that this element will act as boundary.
|
|
921
|
-
* Optional, will be autogenerated to a unique name if omitted.
|
|
922
|
-
*/
|
|
923
|
-
readonly rtiBoundary: i0.InputSignal<string>;
|
|
924
|
-
/**
|
|
925
|
-
* The name of the group defined by this boundary.
|
|
926
|
-
*/
|
|
927
|
-
readonly effectiveBoundary: i0.Signal<string>;
|
|
928
|
-
constructor(groupService: DaffRovingTabIndexService, focusTrap: CdkTrapFocus);
|
|
929
|
-
/**
|
|
930
|
-
* @docs-private
|
|
931
|
-
*/
|
|
932
|
-
enterGroup(evt: Event): void;
|
|
933
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DaffRovingTabIndexBoundaryDirective, never>;
|
|
934
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffRovingTabIndexBoundaryDirective, "[rtiBoundary]", never, { "rtiBoundary": { "alias": "rtiBoundary"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.CdkTrapFocus; inputs: {}; outputs: {}; }, { directive: typeof DaffRovingTabIndexDirective; inputs: {}; outputs: {}; }]>;
|
|
935
|
-
}
|
|
936
|
-
|
|
937
924
|
/**
|
|
938
925
|
* Declares that an element is an RTI target.
|
|
939
926
|
* Automatically applied to `<a>` and `<button>` elements.
|
|
@@ -956,7 +943,7 @@ declare class DaffRovingTabIndexDirective {
|
|
|
956
943
|
* @docs-private
|
|
957
944
|
*/
|
|
958
945
|
readonly tabindex: i0.Signal<0 | -1>;
|
|
959
|
-
constructor(service: DaffRovingTabIndexService, parent:
|
|
946
|
+
constructor(service: DaffRovingTabIndexService, parent: DaffRovingTabIndexBoundary);
|
|
960
947
|
/**
|
|
961
948
|
* @docs-private
|
|
962
949
|
*/
|
|
@@ -973,5 +960,38 @@ declare class DaffRovingTabIndexDirective {
|
|
|
973
960
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffRovingTabIndexDirective, "[rti],a,button", never, { "rti": { "alias": "rti"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
974
961
|
}
|
|
975
962
|
|
|
976
|
-
|
|
977
|
-
|
|
963
|
+
/**
|
|
964
|
+
* Defines the boundary of an RTI group.
|
|
965
|
+
*/
|
|
966
|
+
declare class DaffRovingTabIndexBoundaryDirective implements DaffRovingTabIndexBoundary {
|
|
967
|
+
private groupService;
|
|
968
|
+
private focusTrap;
|
|
969
|
+
/**
|
|
970
|
+
* Don't touch this directly. Use `_uniqueId`.
|
|
971
|
+
*/
|
|
972
|
+
private static _uniqueIdCounter;
|
|
973
|
+
/**
|
|
974
|
+
* Don't touch this directly. Use `_uniqueId`.
|
|
975
|
+
*/
|
|
976
|
+
private _cachedUniqueId;
|
|
977
|
+
private get _uniqueId();
|
|
978
|
+
/**
|
|
979
|
+
* The name of the group for which that this element will act as boundary.
|
|
980
|
+
* Optional, will be autogenerated to a unique name if omitted.
|
|
981
|
+
*/
|
|
982
|
+
readonly rtiBoundary: i0.InputSignal<string>;
|
|
983
|
+
/**
|
|
984
|
+
* The name of the group defined by this boundary.
|
|
985
|
+
*/
|
|
986
|
+
readonly effectiveBoundary: i0.Signal<string>;
|
|
987
|
+
constructor(groupService: DaffRovingTabIndexService, focusTrap: CdkTrapFocus);
|
|
988
|
+
/**
|
|
989
|
+
* @docs-private
|
|
990
|
+
*/
|
|
991
|
+
enterGroup(evt: Event): void;
|
|
992
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffRovingTabIndexBoundaryDirective, never>;
|
|
993
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffRovingTabIndexBoundaryDirective, "[rtiBoundary]", never, { "rtiBoundary": { "alias": "rtiBoundary"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.CdkTrapFocus; inputs: {}; outputs: {}; }, { directive: typeof DaffRovingTabIndexDirective; inputs: {}; outputs: {}; }]>;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
export { DAFF_PREFIX_SUFFIX_DIRECTIVES, DAFF_ROVING_TAB_INDEX_BOUNDARY, DAFF_THEME_INITIALIZER, DaffArticleEncapsulatedDirective, DaffBreakpoints, DaffColorableDirective, DaffCompactableDirective, DaffDisableableDirective, DaffFocusStackService, DaffFormLabelDirective, DaffFormLabelModule, DaffLoadableDirective, DaffManageContainerLayoutDirective, DaffOpenableDirective, DaffOrientableDirective, DaffOrientationEnum, DaffPrefixDirective, DaffPrefixSuffixModule, DaffRovingTabIndexBoundaryDirective, DaffRovingTabIndexDirective, DaffSelectableDirective, DaffSizableDirective, DaffSizableEnum, DaffSkeletonableDirective, DaffStatusEnum, DaffStatusableDirective, DaffStickyTrackerDirective, DaffSuffixDirective, DaffTextAlignableDirective, DaffTextAlignmentEnum, DaffTheme, DaffThemingService, NoopBreakpointObserver, SERVER_SAFE_BREAKPOINT_OBSERVER, daffFocusableElementsSelector };
|
|
997
|
+
export type { AnimationStateWithParams, Constructor, DaffColor, DaffColorable, DaffCompactable, DaffDisableable, DaffLazyComponent, DaffOpenable, DaffOrientable, DaffOrientation, DaffPalette, DaffRovingTabIndexBoundary, DaffSelectable, DaffSizable, DaffSizeAllType, DaffSizeLargeType, DaffSizeMediumType, DaffSizeSmallType, DaffSizeXLargeType, DaffSizeXSmallType, DaffStatus, DaffStatusable, DaffTextAlignable, DaffTextAlignment };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { HostBinding, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
4
|
-
import * as i1 from '@daffodil/design';
|
|
5
|
-
import { DaffColorableDirective } from '@daffodil/design';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated in favor of `DaffSpinnerComponent`. Deprecated in version 0.91.1. Will be removed in version 0.94.0.
|
|
9
|
-
*/
|
|
10
|
-
class DaffLoadingIconComponent {
|
|
11
|
-
constructor() {
|
|
12
|
-
/**
|
|
13
|
-
* @docs-private
|
|
14
|
-
*/
|
|
15
|
-
this.class = true;
|
|
16
|
-
}
|
|
17
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffLoadingIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: DaffLoadingIconComponent, isStandalone: true, selector: "daff-loading-icon", host: { properties: { "class.daff-loading-icon": "this.class" } }, hostDirectives: [{ directive: i1.DaffColorableDirective, inputs: ["color", "color"] }], ngImport: i0, template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 100 100\">\n <circle cx=\"50%\" cy=\"50%\" r=\"46\" class=\"daff-loading-icon__bg\"></circle>\n <circle cx=\"50%\" cy=\"50%\" r=\"46\" class=\"daff-loading-icon__loader\"></circle>\n</svg>", styles: [":host{display:flex;width:100%;max-width:4rem}.daff-loading-icon__loader{animation:circle-rotation linear;animation-duration:1s;animation-iteration-count:infinite;fill:transparent;stroke-dasharray:57.8053048261 400;stroke-linecap:round;stroke-width:.25rem;transform-origin:center}.daff-loading-icon__bg{fill:transparent;stroke-linecap:round;stroke-width:.25rem}@keyframes circle-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
19
|
-
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffLoadingIconComponent, decorators: [{
|
|
21
|
-
type: Component,
|
|
22
|
-
args: [{ selector: 'daff-loading-icon', hostDirectives: [
|
|
23
|
-
{
|
|
24
|
-
directive: DaffColorableDirective,
|
|
25
|
-
inputs: ['color'],
|
|
26
|
-
},
|
|
27
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 100 100\">\n <circle cx=\"50%\" cy=\"50%\" r=\"46\" class=\"daff-loading-icon__bg\"></circle>\n <circle cx=\"50%\" cy=\"50%\" r=\"46\" class=\"daff-loading-icon__loader\"></circle>\n</svg>", styles: [":host{display:flex;width:100%;max-width:4rem}.daff-loading-icon__loader{animation:circle-rotation linear;animation-duration:1s;animation-iteration-count:infinite;fill:transparent;stroke-dasharray:57.8053048261 400;stroke-linecap:round;stroke-width:.25rem;transform-origin:center}.daff-loading-icon__bg{fill:transparent;stroke-linecap:round;stroke-width:.25rem}@keyframes circle-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
|
28
|
-
}], propDecorators: { class: [{
|
|
29
|
-
type: HostBinding,
|
|
30
|
-
args: ['class.daff-loading-icon']
|
|
31
|
-
}] } });
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated in favor of {@link DAFF_LOADING_ICON_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
|
35
|
-
*/
|
|
36
|
-
class DaffLoadingIconModule {
|
|
37
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffLoadingIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
38
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: DaffLoadingIconModule, imports: [CommonModule,
|
|
39
|
-
DaffLoadingIconComponent], exports: [DaffLoadingIconComponent] }); }
|
|
40
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffLoadingIconModule, imports: [CommonModule] }); }
|
|
41
|
-
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffLoadingIconModule, decorators: [{
|
|
43
|
-
type: NgModule,
|
|
44
|
-
args: [{
|
|
45
|
-
imports: [
|
|
46
|
-
CommonModule,
|
|
47
|
-
DaffLoadingIconComponent,
|
|
48
|
-
],
|
|
49
|
-
exports: [
|
|
50
|
-
DaffLoadingIconComponent,
|
|
51
|
-
],
|
|
52
|
-
}]
|
|
53
|
-
}] });
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @docs-private
|
|
57
|
-
*/
|
|
58
|
-
const DAFF_LOADING_ICON_COMPONENTS = [
|
|
59
|
-
DaffLoadingIconComponent,
|
|
60
|
-
];
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Generated bundle index. Do not edit.
|
|
64
|
-
*/
|
|
65
|
-
|
|
66
|
-
export { DAFF_LOADING_ICON_COMPONENTS, DaffLoadingIconComponent, DaffLoadingIconModule };
|
|
67
|
-
//# sourceMappingURL=daffodil-design-loading-icon.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"daffodil-design-loading-icon.mjs","sources":["../../../libs/design/loading-icon/src/loading-icon/loading-icon.component.ts","../../../libs/design/loading-icon/src/loading-icon/loading-icon.component.html","../../../libs/design/loading-icon/src/loading-icon.module.ts","../../../libs/design/loading-icon/src/loading-icon.ts","../../../libs/design/loading-icon/src/daffodil-design-loading-icon.ts"],"sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n HostBinding,\n} from '@angular/core';\n\nimport { DaffColorableDirective } from '@daffodil/design';\n\n/**\n * @deprecated in favor of `DaffSpinnerComponent`. Deprecated in version 0.91.1. Will be removed in version 0.94.0.\n */\n@Component({\n selector: 'daff-loading-icon',\n templateUrl: './loading-icon.component.html',\n styleUrls: ['./loading-icon.component.scss'],\n hostDirectives: [\n {\n directive: DaffColorableDirective,\n inputs: ['color'],\n },\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffLoadingIconComponent {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-loading-icon') class = true;\n}\n","<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 100 100\">\n <circle cx=\"50%\" cy=\"50%\" r=\"46\" class=\"daff-loading-icon__bg\"></circle>\n <circle cx=\"50%\" cy=\"50%\" r=\"46\" class=\"daff-loading-icon__loader\"></circle>\n</svg>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffLoadingIconComponent } from './loading-icon/loading-icon.component';\n\n/**\n * @deprecated in favor of {@link DAFF_LOADING_ICON_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n imports: [\n CommonModule,\n DaffLoadingIconComponent,\n ],\n exports: [\n DaffLoadingIconComponent,\n ],\n})\nexport class DaffLoadingIconModule { }\n","import { DaffLoadingIconComponent } from './loading-icon/loading-icon.component';\n\n/**\n * @docs-private\n */\nexport const DAFF_LOADING_ICON_COMPONENTS = <const> [\n DaffLoadingIconComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAQA;;AAEG;MAaU,wBAAwB,CAAA;AAZrC,IAAA,WAAA,GAAA;AAaE;;AAEG;QACqC,IAAA,CAAA,KAAK,GAAG,IAAI;AACrD,IAAA;iIALY,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAxB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,wBAAwB,wOCvBrC,6QAGM,EAAA,MAAA,EAAA,CAAA,2bAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDoBO,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAZpC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,mBAAmB,EAAA,cAAA,EAGb;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,sBAAsB;4BACjC,MAAM,EAAE,CAAC,OAAO,CAAC;AAClB,yBAAA;qBACF,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6QAAA,EAAA,MAAA,EAAA,CAAA,2bAAA,CAAA,EAAA;;sBAM9C,WAAW;uBAAC,yBAAyB;;;AEtBxC;;AAEG;MAUU,qBAAqB,CAAA;iIAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAArB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAP9B,YAAY;AACZ,YAAA,wBAAwB,aAGxB,wBAAwB,CAAA,EAAA,CAAA,CAAA;AAGf,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAP9B,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAOH,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBATjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,wBAAwB;AACzB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,wBAAwB;AACzB,qBAAA;AACF,iBAAA;;;ACdD;;AAEG;AACI,MAAM,4BAA4B,GAAW;IAClD,wBAAwB;;;ACN1B;;AAEG;;;;"}
|