@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.
Files changed (170) hide show
  1. package/README.md +1 -2
  2. package/accordion/src/accordion-theme.scss +4 -4
  3. package/article/README.md +4 -27
  4. package/article/src/article-theme.scss +14 -14
  5. package/badge/src/badge-theme.scss +0 -6
  6. package/button/README.md +0 -4
  7. package/button/src/button/basic/button-theme.scss +17 -42
  8. package/button/src/button/button-base.scss +12 -3
  9. package/button/src/button/flat/flat-theme.scss +14 -12
  10. package/button/src/button/icon/icon-theme.scss +19 -40
  11. package/button/src/button/stroked/stroked-theme.scss +22 -36
  12. package/card/src/card/stroked/stroked-theme.scss +1 -1
  13. package/card/src/card-base.scss +0 -1
  14. package/fesm2022/daffodil-design-accordion.mjs +285 -188
  15. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  16. package/fesm2022/daffodil-design-article.mjs +578 -340
  17. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  18. package/fesm2022/daffodil-design-badge.mjs +166 -84
  19. package/fesm2022/daffodil-design-badge.mjs.map +1 -1
  20. package/fesm2022/daffodil-design-beacon.mjs +109 -47
  21. package/fesm2022/daffodil-design-beacon.mjs.map +1 -1
  22. package/fesm2022/daffodil-design-breadcrumb.mjs +384 -277
  23. package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
  24. package/fesm2022/daffodil-design-button.mjs +541 -408
  25. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  26. package/fesm2022/daffodil-design-callout.mjs +349 -224
  27. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  28. package/fesm2022/daffodil-design-card.mjs +496 -327
  29. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  30. package/fesm2022/daffodil-design-checkbox.mjs +373 -313
  31. package/fesm2022/daffodil-design-checkbox.mjs.map +1 -1
  32. package/fesm2022/daffodil-design-container.mjs +103 -60
  33. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  34. package/fesm2022/daffodil-design-form-field.mjs +441 -352
  35. package/fesm2022/daffodil-design-form-field.mjs.map +1 -1
  36. package/fesm2022/daffodil-design-form.mjs +155 -57
  37. package/fesm2022/daffodil-design-form.mjs.map +1 -1
  38. package/fesm2022/daffodil-design-hero.mjs +349 -234
  39. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  40. package/fesm2022/daffodil-design-image-lite.mjs +60 -0
  41. package/fesm2022/daffodil-design-image-lite.mjs.map +1 -0
  42. package/fesm2022/daffodil-design-image.mjs +245 -107
  43. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  44. package/fesm2022/daffodil-design-input.mjs +217 -164
  45. package/fesm2022/daffodil-design-input.mjs.map +1 -1
  46. package/fesm2022/daffodil-design-list.mjs +308 -170
  47. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  48. package/fesm2022/daffodil-design-media-gallery.mjs +351 -278
  49. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  50. package/fesm2022/daffodil-design-menu.mjs +525 -417
  51. package/fesm2022/daffodil-design-menu.mjs.map +1 -1
  52. package/fesm2022/daffodil-design-modal.mjs +680 -450
  53. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  54. package/fesm2022/daffodil-design-native-select.mjs +175 -166
  55. package/fesm2022/daffodil-design-native-select.mjs.map +1 -1
  56. package/fesm2022/daffodil-design-navbar.mjs +145 -68
  57. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  58. package/fesm2022/daffodil-design-notification.mjs +376 -226
  59. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  60. package/fesm2022/daffodil-design-paginator.mjs +296 -192
  61. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  62. package/fesm2022/daffodil-design-progress-bar.mjs +243 -157
  63. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  64. package/fesm2022/daffodil-design-radio.mjs +382 -300
  65. package/fesm2022/daffodil-design-radio.mjs.map +1 -1
  66. package/fesm2022/daffodil-design-select.mjs +424 -364
  67. package/fesm2022/daffodil-design-select.mjs.map +1 -1
  68. package/fesm2022/daffodil-design-sidebar.mjs +874 -887
  69. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  70. package/fesm2022/daffodil-design-spinner.mjs +156 -99
  71. package/fesm2022/daffodil-design-spinner.mjs.map +1 -1
  72. package/fesm2022/daffodil-design-switch.mjs +176 -106
  73. package/fesm2022/daffodil-design-switch.mjs.map +1 -1
  74. package/fesm2022/daffodil-design-tabs.mjs +685 -427
  75. package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
  76. package/fesm2022/daffodil-design-tag.mjs +251 -133
  77. package/fesm2022/daffodil-design-tag.mjs.map +1 -1
  78. package/fesm2022/daffodil-design-testing.mjs +4 -16
  79. package/fesm2022/daffodil-design-testing.mjs.map +1 -1
  80. package/fesm2022/daffodil-design-text-snippet.mjs +140 -54
  81. package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -1
  82. package/fesm2022/daffodil-design-textarea.mjs +170 -150
  83. package/fesm2022/daffodil-design-textarea.mjs.map +1 -1
  84. package/fesm2022/daffodil-design-toast.mjs +658 -481
  85. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  86. package/fesm2022/daffodil-design-tree.mjs +456 -469
  87. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  88. package/fesm2022/daffodil-design-youtube-player.mjs +168 -115
  89. package/fesm2022/daffodil-design-youtube-player.mjs.map +1 -1
  90. package/fesm2022/daffodil-design.mjs +1628 -1650
  91. package/fesm2022/daffodil-design.mjs.map +1 -1
  92. package/form-field/README.md +0 -4
  93. package/form-field/src/form-field-theme.scss +12 -4
  94. package/image/README.md +4 -0
  95. package/image-lite/README.md +58 -0
  96. package/image-lite/src/image-theme.scss +18 -0
  97. package/list/src/list-base.scss +3 -4
  98. package/list/src/list-theme.scss +6 -5
  99. package/media-gallery/README.md +1 -1
  100. package/media-gallery/src/media-gallery-theme.scss +3 -3
  101. package/menu/src/menu-theme.scss +6 -2
  102. package/notification/src/notification-theme.scss +10 -10
  103. package/package.json +1 -1
  104. package/scss/global.scss +17 -11
  105. package/scss/theme.scss +2 -18
  106. package/scss/theming/_get-palette.scss +0 -3
  107. package/scss/theming/_index.scss +0 -1
  108. package/scss/theming/_light-dark.scss +2 -2
  109. package/scss/theming/_theme-css-variables.scss +1 -1
  110. package/scss/theming/create-theme/_create-theme.scss +2 -2
  111. package/scss/theming/get-font-colors/_get-font-colors.scss +7 -25
  112. package/scss/theming/get-font-colors/_get-font-colors.spec.scss +0 -12
  113. package/scss/typography/_classes.scss +0 -6
  114. package/scss/typography/_index.scss +0 -1
  115. package/scss/typography/mixins/_sizes.scss +0 -1
  116. package/scss/typography/utilities/_variables.scss +3 -0
  117. package/select/src/select-theme.scss +10 -14
  118. package/switch/src/switch-theme.scss +2 -2
  119. package/tabs/src/tabs-theme.scss +4 -4
  120. package/types/daffodil-design-accordion.d.ts +92 -67
  121. package/types/daffodil-design-article.d.ts +49 -56
  122. package/types/daffodil-design-badge.d.ts +56 -33
  123. package/types/daffodil-design-beacon.d.ts +35 -14
  124. package/types/daffodil-design-breadcrumb.d.ts +89 -85
  125. package/types/daffodil-design-button.d.ts +128 -146
  126. package/types/daffodil-design-callout.d.ts +55 -39
  127. package/types/daffodil-design-card.d.ts +66 -56
  128. package/types/daffodil-design-checkbox.d.ts +211 -167
  129. package/types/daffodil-design-container.d.ts +17 -16
  130. package/types/daffodil-design-form-field.d.ts +273 -240
  131. package/types/daffodil-design-form.d.ts +21 -21
  132. package/types/daffodil-design-hero.d.ts +55 -39
  133. package/types/daffodil-design-image-lite.d.ts +17 -0
  134. package/types/daffodil-design-image.d.ts +89 -55
  135. package/types/daffodil-design-input.d.ts +86 -72
  136. package/types/daffodil-design-list.d.ts +49 -43
  137. package/types/daffodil-design-media-gallery.d.ts +176 -148
  138. package/types/daffodil-design-menu.d.ts +177 -169
  139. package/types/daffodil-design-modal.d.ts +205 -205
  140. package/types/daffodil-design-native-select.d.ts +94 -84
  141. package/types/daffodil-design-navbar.d.ts +34 -24
  142. package/types/daffodil-design-notification.d.ts +82 -67
  143. package/types/daffodil-design-paginator.d.ts +140 -118
  144. package/types/daffodil-design-progress-bar.d.ts +92 -74
  145. package/types/daffodil-design-radio.d.ts +183 -144
  146. package/types/daffodil-design-select.d.ts +207 -178
  147. package/types/daffodil-design-sidebar.d.ts +270 -253
  148. package/types/daffodil-design-spinner.d.ts +49 -36
  149. package/types/daffodil-design-switch.d.ts +77 -46
  150. package/types/daffodil-design-tabs.d.ts +248 -198
  151. package/types/daffodil-design-tag.d.ts +91 -56
  152. package/types/daffodil-design-testing.d.ts +1 -3
  153. package/types/daffodil-design-text-snippet.d.ts +48 -37
  154. package/types/daffodil-design-textarea.d.ts +88 -79
  155. package/types/daffodil-design-toast.d.ts +175 -183
  156. package/types/daffodil-design-tree.d.ts +186 -169
  157. package/types/daffodil-design-youtube-player.d.ts +56 -52
  158. package/types/daffodil-design.d.ts +614 -695
  159. package/button/src/button/raised/raised-theme.scss +0 -92
  160. package/button/src/button/underline/underline-theme.scss +0 -141
  161. package/fesm2022/daffodil-design-link-set.mjs +0 -160
  162. package/fesm2022/daffodil-design-link-set.mjs.map +0 -1
  163. package/fesm2022/daffodil-design-quantity-field.mjs +0 -364
  164. package/fesm2022/daffodil-design-quantity-field.mjs.map +0 -1
  165. package/link-set/README.md +0 -86
  166. package/quantity-field/README.md +0 -63
  167. package/scss/theming/_configure-theme.scss +0 -120
  168. package/scss/typography/mixins/_font-weight.scss +0 -14
  169. package/types/daffodil-design-link-set.d.ts +0 -72
  170. package/types/daffodil-design-quantity-field.d.ts +0 -171
@@ -1,419 +1,552 @@
1
- import { CommonModule } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { Directive, input, ContentChild, ChangeDetectionStrategy, ViewEncapsulation, Component, HostBinding, NgModule } from '@angular/core';
4
- import { DaffSpinnerComponent } from '@daffodil/design/spinner';
5
- import * as i2 from '@daffodil/design';
6
- import { DaffSizableDirective, DaffPrefixDirective, DaffSuffixDirective, DaffArticleEncapsulatedDirective, DaffStatusableDirective, DaffColorableDirective, DaffDisableableDirective, DaffLoadableDirective } from '@daffodil/design';
7
-
8
- class DaffButtonSizableDirective extends DaffSizableDirective {
9
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffButtonSizableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
10
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: DaffButtonSizableDirective, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
11
- }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffButtonSizableDirective, decorators: [{
13
- type: Directive,
14
- args: [{}]
15
- }] });
16
-
17
- class DaffButtonBaseDirective {
18
- constructor(buttonSizable, disabledDirective, loadingDirective) {
19
- this.buttonSizable = buttonSizable;
20
- this.disabledDirective = disabledDirective;
21
- this.loadingDirective = loadingDirective;
22
- /**
23
- * Sets the tabindex.
24
- */
25
- this.tabindex = input(0, ...(ngDevMode ? [{ debugName: "tabindex" }] : /* istanbul ignore next */ []));
26
- /**
27
- * Sets the default size of a button to medium.
28
- */
29
- this.buttonSizable.defaultSize = 'md';
30
- }
31
- /**
32
- * The disabled state of the button.
33
- */
34
- get disabled() {
35
- return this.disabledDirective.disabled();
36
- }
37
- /**
38
- * @docs-private
39
- *
40
- * Internal function to access the loading property of the DaffLoadableDirective
41
- */
42
- get loading() {
43
- return this.loadingDirective.loading;
44
- }
45
- /**
46
- * @docs-private
47
- *
48
- * Internal function to access the size property of the DaffButtonSizableDirective
49
- */
50
- get buttonSize() {
51
- return this.buttonSizable.size;
52
- }
53
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffButtonBaseDirective, deps: [{ token: DaffButtonSizableDirective }, { token: i2.DaffDisableableDirective }, { token: i2.DaffLoadableDirective }], target: i0.ɵɵFactoryTarget.Directive }); }
54
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.9", type: DaffButtonBaseDirective, isStandalone: true, selector: "[daffButtonBase]", inputs: { tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.disabled": "disabled ? true : null", "attr.aria-disabled": "disabled ? true : null", "attr.tabindex": "disabled ? -1 : tabindex()" } }, queries: [{ propertyName: "_prefix", first: true, predicate: DaffPrefixDirective, descendants: true, static: true }, { propertyName: "_suffix", first: true, predicate: DaffSuffixDirective, descendants: true, static: true }], hostDirectives: [{ directive: i2.DaffArticleEncapsulatedDirective }, { directive: DaffButtonSizableDirective, inputs: ["size", "size"] }, { directive: i2.DaffStatusableDirective, inputs: ["status", "status"] }, { directive: i2.DaffColorableDirective, inputs: ["color", "color"] }, { directive: i2.DaffDisableableDirective, inputs: ["disabled", "disabled"] }, { directive: i2.DaffLoadableDirective, inputs: ["loading", "loading"] }], ngImport: i0 }); }
55
- }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffButtonBaseDirective, decorators: [{
57
- type: Directive,
58
- args: [{
59
- selector: '[daffButtonBase]',
60
- hostDirectives: [
61
- { directive: DaffArticleEncapsulatedDirective },
62
- {
63
- directive: DaffButtonSizableDirective,
64
- inputs: ['size'],
65
- },
66
- {
67
- directive: DaffStatusableDirective,
68
- inputs: ['status'],
69
- },
70
- {
71
- directive: DaffColorableDirective,
72
- inputs: ['color'],
73
- },
74
- {
75
- directive: DaffDisableableDirective,
76
- inputs: ['disabled'],
77
- },
78
- {
79
- directive: DaffLoadableDirective,
80
- inputs: ['loading'],
81
- },
82
- ],
83
- host: {
84
- '[attr.disabled]': 'disabled ? true : null',
85
- '[attr.aria-disabled]': 'disabled ? true : null',
86
- '[attr.tabindex]': 'disabled ? -1 : tabindex()',
87
- },
88
- }]
89
- }], ctorParameters: () => [{ type: DaffButtonSizableDirective }, { type: i2.DaffDisableableDirective }, { type: i2.DaffLoadableDirective }], propDecorators: { _prefix: [{
90
- type: ContentChild,
91
- args: [DaffPrefixDirective, { static: true }]
92
- }], _suffix: [{
93
- type: ContentChild,
94
- args: [DaffSuffixDirective, { static: true }]
95
- }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }] } });
96
-
97
- /**
98
- * DaffButtonComponent is a rectangular contained button with background color.
99
- *
100
- * @example Basic button
101
- * ```html
102
- * <button daff-button>
103
- * <div daffPrefix></div>
104
- * Button
105
- * <div daffSuffix></div>
106
- * </button>
107
- *
108
- * <a href="/" daff-button>
109
- * <div daffPrefix></div>
110
- * Linked button
111
- * <div daffSuffix></div>
112
- * </a>
113
- * ```
114
- */
115
- /* eslint-disable quote-props */
116
- class DaffButtonComponent extends DaffButtonBaseDirective {
117
- constructor() {
118
- super(...arguments);
119
- /**
120
- * Whether or not the button displays a shadow.
121
- */
122
- this.elevated = input(false, ...(ngDevMode ? [{ debugName: "elevated" }] : /* istanbul ignore next */ []));
123
- }
124
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
125
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DaffButtonComponent, isStandalone: true, selector: "button[daff-button],a[daff-button]", inputs: { elevated: { classPropertyName: "elevated", publicName: "elevated", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.elevated": "elevated()" }, classAttribute: "daff-button" }, usesInheritance: true, ngImport: i0, template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}", styles: [".daff-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none}.daff-button[disabled],.daff-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-button .daff-button__content,.daff-button .daff-prefix,.daff-button .daff-suffix{z-index:1}.daff-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-button.daff-loading .daff-button__content,.daff-button.daff-loading .daff-prefix,.daff-button.daff-loading .daff-suffix{opacity:0}.daff-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-button:not(.daff-button[disabled],.daff-button.daff-disabled):after{content:\"\";border-radius:4px;position:absolute;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .3s;z-index:0}.daff-button:not(.daff-button[disabled],.daff-button.daff-disabled):active:after{opacity:1}@media(hover:hover){.daff-button:not(.daff-button[disabled],.daff-button.daff-disabled):hover:after{opacity:1}}.daff-button.elevated{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}@media(hover:hover){.daff-button.elevated:hover{box-shadow:0 6px 12px #00000014,0 4px 6px #0000000a}}.daff-button.elevated[disabled]:hover,.daff-button.elevated.daff-disabled:hover{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}.daff-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;padding:0 1rem}.daff-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;padding:0 1.5rem}.daff-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;padding:0 1.5rem}\n"], dependencies: [{ kind: "component", type: DaffSpinnerComponent, selector: "daff-spinner", inputs: ["aria-label"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
126
- }
127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffButtonComponent, decorators: [{
128
- type: Component,
129
- args: [{ selector: 'button[daff-button]' + ',' + 'a[daff-button]', host: {
130
- 'class': 'daff-button',
131
- '[class.elevated]': 'elevated()',
132
- }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
133
- DaffSpinnerComponent,
134
- ], template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}", styles: [".daff-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none}.daff-button[disabled],.daff-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-button .daff-button__content,.daff-button .daff-prefix,.daff-button .daff-suffix{z-index:1}.daff-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-button.daff-loading .daff-button__content,.daff-button.daff-loading .daff-prefix,.daff-button.daff-loading .daff-suffix{opacity:0}.daff-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-button:not(.daff-button[disabled],.daff-button.daff-disabled):after{content:\"\";border-radius:4px;position:absolute;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .3s;z-index:0}.daff-button:not(.daff-button[disabled],.daff-button.daff-disabled):active:after{opacity:1}@media(hover:hover){.daff-button:not(.daff-button[disabled],.daff-button.daff-disabled):hover:after{opacity:1}}.daff-button.elevated{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}@media(hover:hover){.daff-button.elevated:hover{box-shadow:0 6px 12px #00000014,0 4px 6px #0000000a}}.daff-button.elevated[disabled]:hover,.daff-button.elevated.daff-disabled:hover{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}.daff-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;padding:0 1rem}.daff-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;padding:0 1.5rem}.daff-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;padding:0 1.5rem}\n"] }]
135
- }], propDecorators: { elevated: [{ type: i0.Input, args: [{ isSignal: true, alias: "elevated", required: false }] }] } });
136
-
137
- /**
138
- * DaffFlatButtonComponent is a rectangular contained button no background.
139
- *
140
- * @example Flat button
141
- * ```html
142
- * <button daff-flat-button>
143
- * <div daffPrefix></div>
144
- * Flat Button
145
- * <div daffSuffix></div>
146
- * </button>
147
- *
148
- * <a href="/" daff-flat-button>
149
- * <div daffPrefix></div>
150
- * Linked flat button
151
- * <div daffSuffix></div>
152
- * </a>
153
- * ```
154
- */
155
- class DaffFlatButtonComponent extends DaffButtonBaseDirective {
156
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffFlatButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
157
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DaffFlatButtonComponent, isStandalone: true, selector: "button[daff-flat-button],a[daff-flat-button]", host: { classAttribute: "daff-flat-button" }, usesInheritance: true, ngImport: i0, template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}", styles: [".daff-flat-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none;background:none;border:none}.daff-flat-button[disabled],.daff-flat-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-flat-button .daff-button__content,.daff-flat-button .daff-prefix,.daff-flat-button .daff-suffix{z-index:1}.daff-flat-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-flat-button.daff-loading .daff-button__content,.daff-flat-button.daff-loading .daff-prefix,.daff-flat-button.daff-loading .daff-suffix{opacity:0}.daff-flat-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-flat-button:not(.daff-flat-button[disabled],.daff-flat-button.daff-disabled):after{content:\"\";border-radius:4px;position:absolute;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .3s;z-index:0}.daff-flat-button:not(.daff-flat-button[disabled],.daff-flat-button.daff-disabled):active:after{opacity:1}@media(hover:hover){.daff-flat-button:not(.daff-flat-button[disabled],.daff-flat-button.daff-disabled):hover:after{opacity:1}}.daff-flat-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;padding:0 1rem}.daff-flat-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;padding:0 1.5rem}.daff-flat-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;padding:0 1.5rem}\n"], dependencies: [{ kind: "component", type: DaffSpinnerComponent, selector: "daff-spinner", inputs: ["aria-label"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
158
- }
159
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffFlatButtonComponent, decorators: [{
160
- type: Component,
161
- args: [{ selector: 'button[daff-flat-button]' + ',' + 'a[daff-flat-button]', host: {
162
- class: 'daff-flat-button',
163
- }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
164
- DaffSpinnerComponent,
165
- ], template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}", styles: [".daff-flat-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none;background:none;border:none}.daff-flat-button[disabled],.daff-flat-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-flat-button .daff-button__content,.daff-flat-button .daff-prefix,.daff-flat-button .daff-suffix{z-index:1}.daff-flat-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-flat-button.daff-loading .daff-button__content,.daff-flat-button.daff-loading .daff-prefix,.daff-flat-button.daff-loading .daff-suffix{opacity:0}.daff-flat-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-flat-button:not(.daff-flat-button[disabled],.daff-flat-button.daff-disabled):after{content:\"\";border-radius:4px;position:absolute;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .3s;z-index:0}.daff-flat-button:not(.daff-flat-button[disabled],.daff-flat-button.daff-disabled):active:after{opacity:1}@media(hover:hover){.daff-flat-button:not(.daff-flat-button[disabled],.daff-flat-button.daff-disabled):hover:after{opacity:1}}.daff-flat-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;padding:0 1rem}.daff-flat-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;padding:0 1.5rem}.daff-flat-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;padding:0 1.5rem}\n"] }]
166
- }] });
167
-
168
- /**
169
- * DaffIconButtonComponent is an icon button used with icon fonts.
170
- *
171
- * @example Icon button
172
- * ```html
173
- * <button daff-icon-button>
174
- * <fa-icon [icon]="faPlus"></fa-icon>
175
- * </button>
176
- *
177
- * <a href="/" daff-icon-button>
178
- * <fa-icon [icon]="faPlus"></fa-icon>
179
- * </a>
180
- * ```
181
- */
182
- /* eslint-disable quote-props */
183
- class DaffIconButtonComponent extends DaffButtonBaseDirective {
184
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffIconButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
185
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DaffIconButtonComponent, isStandalone: true, selector: "button[daff-icon-button],a[daff-icon-button]", host: { classAttribute: "daff-icon-button" }, usesInheritance: true, ngImport: i0, template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}", styles: [".daff-icon-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none;background:none;border:0;padding:0}.daff-icon-button[disabled],.daff-icon-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-icon-button .daff-button__content,.daff-icon-button .daff-prefix,.daff-icon-button .daff-suffix{z-index:1}.daff-icon-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-icon-button.daff-loading .daff-button__content,.daff-icon-button.daff-loading .daff-prefix,.daff-icon-button.daff-loading .daff-suffix{opacity:0}.daff-icon-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-icon-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;width:2rem}.daff-icon-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;width:3rem}.daff-icon-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;width:3.5rem}\n"], dependencies: [{ kind: "component", type: DaffSpinnerComponent, selector: "daff-spinner", inputs: ["aria-label"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
186
- }
187
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffIconButtonComponent, decorators: [{
188
- type: Component,
189
- args: [{ selector: 'button[daff-icon-button]' + ',' + 'a[daff-icon-button]', host: {
190
- 'class': 'daff-icon-button',
191
- }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
192
- DaffSpinnerComponent,
193
- ], template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}", styles: [".daff-icon-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none;background:none;border:0;padding:0}.daff-icon-button[disabled],.daff-icon-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-icon-button .daff-button__content,.daff-icon-button .daff-prefix,.daff-icon-button .daff-suffix{z-index:1}.daff-icon-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-icon-button.daff-loading .daff-button__content,.daff-icon-button.daff-loading .daff-prefix,.daff-icon-button.daff-loading .daff-suffix{opacity:0}.daff-icon-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-icon-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;width:2rem}.daff-icon-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;width:3rem}.daff-icon-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;width:3.5rem}\n"] }]
194
- }] });
195
-
196
- /**
197
- * @deprecated in favor of the `elevated` property. Deprecated in version 0.82.0. Will be removed in version 1.0.0.
198
- *
199
- * DaffRaisedButtonComponent is a rectangular contained button with background color and elevation.
200
- *
201
- * @example Raised button
202
- * ```html
203
- * <button daff-raised-button>
204
- * <div daffPrefix></div>
205
- * Raised Button
206
- * <div daffSuffix></div>
207
- * </button>
208
- *
209
- * <a href="/" daff-raised-button>
210
- * <div daffPrefix></div>
211
- * Linked raised button
212
- * <div daffSuffix></div>
213
- * </a>
214
- * ```
215
- */
216
- class DaffRaisedButtonComponent extends DaffButtonBaseDirective {
217
- constructor() {
218
- super(...arguments);
219
- /**
220
- * @docs-private
221
- */
222
- this.class = true;
223
- }
224
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffRaisedButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
225
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DaffRaisedButtonComponent, isStandalone: true, selector: "button[daff-raised-button],a[daff-raised-button]", host: { properties: { "class.daff-raised-button": "this.class" } }, usesInheritance: true, ngImport: i0, template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}", styles: [".daff-raised-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none}.daff-raised-button[disabled],.daff-raised-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-raised-button .daff-button__content,.daff-raised-button .daff-prefix,.daff-raised-button .daff-suffix{z-index:1}.daff-raised-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-raised-button.daff-loading .daff-button__content,.daff-raised-button.daff-loading .daff-prefix,.daff-raised-button.daff-loading .daff-suffix{opacity:0}.daff-raised-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-raised-button:not(.daff-raised-button[disabled],.daff-raised-button.daff-disabled):after{content:\"\";border-radius:0;position:absolute;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .3s;z-index:0}.daff-raised-button:not(.daff-raised-button[disabled],.daff-raised-button.daff-disabled):active:after{opacity:1}@media(hover:hover){.daff-raised-button:not(.daff-raised-button[disabled],.daff-raised-button.daff-disabled):hover:after{opacity:1}}.daff-raised-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;padding:0 1rem}.daff-raised-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;padding:0 1.5rem}.daff-raised-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;padding:0 1.5rem}\n"], dependencies: [{ kind: "component", type: DaffSpinnerComponent, selector: "daff-spinner", inputs: ["aria-label"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
226
- }
227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffRaisedButtonComponent, decorators: [{
228
- type: Component,
229
- args: [{ selector: 'button[daff-raised-button]' + ',' + 'a[daff-raised-button]', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
230
- DaffSpinnerComponent,
231
- ], template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}", styles: [".daff-raised-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none}.daff-raised-button[disabled],.daff-raised-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-raised-button .daff-button__content,.daff-raised-button .daff-prefix,.daff-raised-button .daff-suffix{z-index:1}.daff-raised-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-raised-button.daff-loading .daff-button__content,.daff-raised-button.daff-loading .daff-prefix,.daff-raised-button.daff-loading .daff-suffix{opacity:0}.daff-raised-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-raised-button:not(.daff-raised-button[disabled],.daff-raised-button.daff-disabled):after{content:\"\";border-radius:0;position:absolute;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .3s;z-index:0}.daff-raised-button:not(.daff-raised-button[disabled],.daff-raised-button.daff-disabled):active:after{opacity:1}@media(hover:hover){.daff-raised-button:not(.daff-raised-button[disabled],.daff-raised-button.daff-disabled):hover:after{opacity:1}}.daff-raised-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;padding:0 1rem}.daff-raised-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;padding:0 1.5rem}.daff-raised-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;padding:0 1.5rem}\n"] }]
232
- }], propDecorators: { class: [{
233
- type: HostBinding,
234
- args: ['class.daff-raised-button']
235
- }] } });
236
-
237
- /**
238
- * DaffStrokedButtonComponent is a rectangular outlined button with no background color.
239
- *
240
- * @example Stroked button
241
- * ```html
242
- * <button daff-stroked-button>
243
- * <div daffPrefix></div>
244
- * Stroked Button
245
- * <div daffSuffix></div>
246
- * </button>
247
- *
248
- * <a href="/" daff-stroked-button>
249
- * <div daffPrefix></div>
250
- * Linked stroked button
251
- * <div daffSuffix></div>
252
- * </a>
253
- * ```
254
- */
255
- /* eslint-disable quote-props */
256
- class DaffStrokedButtonComponent extends DaffButtonBaseDirective {
257
- constructor() {
258
- super(...arguments);
259
- /**
260
- * Whether or not the button displays a shadow.
261
- */
262
- this.elevated = input(false, ...(ngDevMode ? [{ debugName: "elevated" }] : /* istanbul ignore next */ []));
263
- }
264
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffStrokedButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
265
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DaffStrokedButtonComponent, isStandalone: true, selector: "button[daff-stroked-button],a[daff-stroked-button]", inputs: { elevated: { classPropertyName: "elevated", publicName: "elevated", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.elevated": "elevated" }, classAttribute: "daff-stroked-button" }, usesInheritance: true, ngImport: i0, template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}", styles: [".daff-stroked-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none}.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-stroked-button .daff-button__content,.daff-stroked-button .daff-prefix,.daff-stroked-button .daff-suffix{z-index:1}.daff-stroked-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-stroked-button.daff-loading .daff-button__content,.daff-stroked-button.daff-loading .daff-prefix,.daff-stroked-button.daff-loading .daff-suffix{opacity:0}.daff-stroked-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-stroked-button:not(.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled):after{content:\"\";border-radius:3px;position:absolute;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .3s;z-index:0}.daff-stroked-button:not(.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled):active:after{opacity:1}@media(hover:hover){.daff-stroked-button:not(.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled):hover:after{opacity:1}}.daff-stroked-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;padding:0 1rem}.daff-stroked-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;padding:0 1.5rem}.daff-stroked-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;padding:0 1.5rem}.daff-stroked-button.elevated{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}@media(hover:hover){.daff-stroked-button.elevated:hover{box-shadow:0 6px 12px #00000014,0 4px 6px #0000000a}}.daff-stroked-button.elevated[disabled]:hover,.daff-stroked-button.elevated.daff-disabled:hover{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}\n"], dependencies: [{ kind: "component", type: DaffSpinnerComponent, selector: "daff-spinner", inputs: ["aria-label"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
266
- }
267
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffStrokedButtonComponent, decorators: [{
268
- type: Component,
269
- args: [{ selector: 'button[daff-stroked-button]' + ',' + 'a[daff-stroked-button]', host: {
270
- 'class': 'daff-stroked-button',
271
- '[class.elevated]': 'elevated',
272
- }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
273
- DaffSpinnerComponent,
274
- ], template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}", styles: [".daff-stroked-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none}.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-stroked-button .daff-button__content,.daff-stroked-button .daff-prefix,.daff-stroked-button .daff-suffix{z-index:1}.daff-stroked-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-stroked-button.daff-loading .daff-button__content,.daff-stroked-button.daff-loading .daff-prefix,.daff-stroked-button.daff-loading .daff-suffix{opacity:0}.daff-stroked-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-stroked-button:not(.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled):after{content:\"\";border-radius:3px;position:absolute;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .3s;z-index:0}.daff-stroked-button:not(.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled):active:after{opacity:1}@media(hover:hover){.daff-stroked-button:not(.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled):hover:after{opacity:1}}.daff-stroked-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;padding:0 1rem}.daff-stroked-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;padding:0 1.5rem}.daff-stroked-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;padding:0 1.5rem}.daff-stroked-button.elevated{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}@media(hover:hover){.daff-stroked-button.elevated:hover{box-shadow:0 6px 12px #00000014,0 4px 6px #0000000a}}.daff-stroked-button.elevated[disabled]:hover,.daff-stroked-button.elevated.daff-disabled:hover{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}\n"] }]
275
- }], propDecorators: { elevated: [{ type: i0.Input, args: [{ isSignal: true, alias: "elevated", required: false }] }] } });
276
-
277
- /**
278
- * @deprecated Deprecated in version 0.92.0. Will be removed in version 1.0.0.
279
- *
280
- * DaffUnderlineButtonComponent is a borderless button with a custom underline style.
281
- *
282
- * @example Underline button
283
- * ```html
284
- * <button daff-underline-button>
285
- * <div daffPrefix></div>
286
- * Underline Button
287
- * <div daffSuffix></div>
288
- * </button>
289
- *
290
- * <a href="/" daff-underline-button>
291
- * <div daffPrefix></div>
292
- * Linked underline button
293
- * <div daffSuffix></div>
294
- * </a>
295
- * ```
296
- */
297
- /* eslint-disable quote-props */
298
- class DaffUnderlineButtonComponent extends DaffButtonBaseDirective {
299
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffUnderlineButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
300
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DaffUnderlineButtonComponent, isStandalone: true, selector: "button[daff-underline-button],a[daff-underline-button]", host: { classAttribute: "daff-underline-button" }, usesInheritance: true, ngImport: i0, template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}", styles: [".daff-underline-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;background:transparent;border:0;border-radius:0;line-height:1.25rem;overflow:hidden;text-decoration:none;vertical-align:middle}.daff-underline-button[disabled],.daff-underline-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-underline-button .daff-button__content,.daff-underline-button .daff-prefix,.daff-underline-button .daff-suffix{z-index:1}.daff-underline-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-underline-button.daff-loading .daff-button__content,.daff-underline-button.daff-loading .daff-prefix,.daff-underline-button.daff-loading .daff-suffix{opacity:0}.daff-underline-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-underline-button[disabled],.daff-underline-button.daff-disabled{cursor:not-allowed}.daff-underline-button[disabled]:hover:after,.daff-underline-button[disabled]:active:after,.daff-underline-button.daff-disabled:hover:after,.daff-underline-button.daff-disabled:active:after{animation:none}.daff-underline-button:after{bottom:0;content:\"\";height:2px;left:0;opacity:1;position:absolute;width:100%}.daff-underline-button:hover:after{animation:none}@media(min-width:1024px){.daff-underline-button:hover:after{animation:underline-button-hover .7s ease}}.daff-underline-button.daff-sm{font-size:.875rem;height:1.25rem;padding:0 0 .25rem}.daff-underline-button.daff-md{font-size:1rem;height:1.5rem;padding:0 0 .25rem}.daff-underline-button.daff-lg{font-size:1.25rem;height:1.75rem;padding:0 0 .5rem}@keyframes underline-button-hover{0%{transform:translate(0)}50%{transform:translate(100%)}51%{transform:translate(-100%)}to{transform:translate(0)}}\n"], dependencies: [{ kind: "component", type: DaffSpinnerComponent, selector: "daff-spinner", inputs: ["aria-label"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
301
- }
302
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffUnderlineButtonComponent, decorators: [{
303
- type: Component,
304
- args: [{ selector: 'button[daff-underline-button]' + ',' + 'a[daff-underline-button]', host: {
305
- 'class': 'daff-underline-button',
306
- }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
307
- DaffSpinnerComponent,
308
- ], template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}", styles: [".daff-underline-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;background:transparent;border:0;border-radius:0;line-height:1.25rem;overflow:hidden;text-decoration:none;vertical-align:middle}.daff-underline-button[disabled],.daff-underline-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-underline-button .daff-button__content,.daff-underline-button .daff-prefix,.daff-underline-button .daff-suffix{z-index:1}.daff-underline-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-underline-button.daff-loading .daff-button__content,.daff-underline-button.daff-loading .daff-prefix,.daff-underline-button.daff-loading .daff-suffix{opacity:0}.daff-underline-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-underline-button[disabled],.daff-underline-button.daff-disabled{cursor:not-allowed}.daff-underline-button[disabled]:hover:after,.daff-underline-button[disabled]:active:after,.daff-underline-button.daff-disabled:hover:after,.daff-underline-button.daff-disabled:active:after{animation:none}.daff-underline-button:after{bottom:0;content:\"\";height:2px;left:0;opacity:1;position:absolute;width:100%}.daff-underline-button:hover:after{animation:none}@media(min-width:1024px){.daff-underline-button:hover:after{animation:underline-button-hover .7s ease}}.daff-underline-button.daff-sm{font-size:.875rem;height:1.25rem;padding:0 0 .25rem}.daff-underline-button.daff-md{font-size:1rem;height:1.5rem;padding:0 0 .25rem}.daff-underline-button.daff-lg{font-size:1.25rem;height:1.75rem;padding:0 0 .5rem}@keyframes underline-button-hover{0%{transform:translate(0)}50%{transform:translate(100%)}51%{transform:translate(-100%)}to{transform:translate(0)}}\n"] }]
309
- }] });
310
-
311
- /**
312
- * @deprecated in favor of {@link DAFF_BUTTON_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
313
- */
314
- class DaffButtonModule {
315
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
316
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: DaffButtonModule, imports: [CommonModule,
317
- DaffButtonComponent,
318
- DaffFlatButtonComponent,
319
- DaffIconButtonComponent,
320
- DaffRaisedButtonComponent,
321
- DaffStrokedButtonComponent,
322
- DaffUnderlineButtonComponent], exports: [DaffButtonComponent,
323
- DaffFlatButtonComponent,
324
- DaffIconButtonComponent,
325
- DaffRaisedButtonComponent,
326
- DaffStrokedButtonComponent,
327
- DaffUnderlineButtonComponent] }); }
328
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffButtonModule, imports: [CommonModule,
329
- DaffButtonComponent,
330
- DaffFlatButtonComponent,
331
- DaffIconButtonComponent,
332
- DaffRaisedButtonComponent,
333
- DaffStrokedButtonComponent,
334
- DaffUnderlineButtonComponent] }); }
335
- }
336
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffButtonModule, decorators: [{
337
- type: NgModule,
338
- args: [{
339
- imports: [
340
- CommonModule,
341
- DaffButtonComponent,
342
- DaffFlatButtonComponent,
343
- DaffIconButtonComponent,
344
- DaffRaisedButtonComponent,
345
- DaffStrokedButtonComponent,
346
- DaffUnderlineButtonComponent,
347
- ],
348
- exports: [
349
- DaffButtonComponent,
350
- DaffFlatButtonComponent,
351
- DaffIconButtonComponent,
352
- DaffRaisedButtonComponent,
353
- DaffStrokedButtonComponent,
354
- DaffUnderlineButtonComponent,
355
- ],
356
- }]
357
- }] });
358
-
359
- /**
360
- * @docs-private
361
- */
1
+ import { CommonModule } from "@angular/common";
2
+ import * as i0 from "@angular/core";
3
+ import { ChangeDetectionStrategy, Component, ContentChild, Directive, NgModule, ViewEncapsulation, input } from "@angular/core";
4
+ import { DaffSpinnerComponent } from "@daffodil/design/spinner";
5
+ import * as i2 from "@daffodil/design";
6
+ import { DaffArticleEncapsulatedDirective, DaffColorableDirective, DaffDisableableDirective, DaffLoadableDirective, DaffPrefixDirective, DaffSizableDirective, DaffStatusableDirective, DaffSuffixDirective } from "@daffodil/design";
7
+ var DaffButtonSizableDirective = class DaffButtonSizableDirective extends DaffSizableDirective {
8
+ static {
9
+ this.ɵfac = i0.ɵɵngDeclareFactory({
10
+ minVersion: "12.0.0",
11
+ version: "22.2.4",
12
+ ngImport: i0,
13
+ type: DaffButtonSizableDirective,
14
+ deps: null,
15
+ target: i0.ɵɵFactoryTarget.Directive
16
+ });
17
+ }
18
+ static {
19
+ this.ɵdir = i0.ɵɵngDeclareDirective({
20
+ minVersion: "14.0.0",
21
+ version: "22.2.4",
22
+ type: DaffButtonSizableDirective,
23
+ isStandalone: true,
24
+ usesInheritance: true,
25
+ ngImport: i0
26
+ });
27
+ }
28
+ };
29
+ i0.ɵɵngDeclareClassMetadata({
30
+ minVersion: "12.0.0",
31
+ version: "22.2.4",
32
+ ngImport: i0,
33
+ type: DaffButtonSizableDirective,
34
+ decorators: [{
35
+ type: Directive,
36
+ args: [{}]
37
+ }]
38
+ });
39
+ var DaffButtonBaseDirective = class DaffButtonBaseDirective {
40
+ constructor(buttonSizable, disabledDirective, loadingDirective) {
41
+ this.buttonSizable = buttonSizable;
42
+ this.disabledDirective = disabledDirective;
43
+ this.loadingDirective = loadingDirective;
44
+ this.tabindex = input(0, ...ngDevMode ? [{ debugName: "tabindex" }] : /* istanbul ignore next */ []);
45
+ this.buttonSizable.defaultSize = "md";
46
+ }
47
+ get disabled() {
48
+ return this.disabledDirective.disabled();
49
+ }
50
+ get loading() {
51
+ return this.loadingDirective.loading;
52
+ }
53
+ get buttonSize() {
54
+ return this.buttonSizable.size;
55
+ }
56
+ static {
57
+ this.ɵfac = i0.ɵɵngDeclareFactory({
58
+ minVersion: "12.0.0",
59
+ version: "22.2.4",
60
+ ngImport: i0,
61
+ type: DaffButtonBaseDirective,
62
+ deps: [
63
+ { token: DaffButtonSizableDirective },
64
+ { token: i2.DaffDisableableDirective },
65
+ { token: i2.DaffLoadableDirective }
66
+ ],
67
+ target: i0.ɵɵFactoryTarget.Directive
68
+ });
69
+ }
70
+ static {
71
+ this.ɵdir = i0.ɵɵngDeclareDirective({
72
+ minVersion: "17.1.0",
73
+ version: "22.2.4",
74
+ type: DaffButtonBaseDirective,
75
+ isStandalone: true,
76
+ selector: "[daffButtonBase]",
77
+ inputs: { tabindex: {
78
+ classPropertyName: "tabindex",
79
+ publicName: "tabindex",
80
+ isSignal: true,
81
+ isRequired: false,
82
+ transformFunction: null
83
+ } },
84
+ host: { properties: {
85
+ "attr.disabled": "disabled ? true : null",
86
+ "attr.aria-disabled": "disabled ? true : null",
87
+ "attr.tabindex": "disabled ? -1 : tabindex()"
88
+ } },
89
+ queries: [{
90
+ propertyName: "_prefix",
91
+ first: true,
92
+ predicate: DaffPrefixDirective,
93
+ descendants: true,
94
+ static: true
95
+ }, {
96
+ propertyName: "_suffix",
97
+ first: true,
98
+ predicate: DaffSuffixDirective,
99
+ descendants: true,
100
+ static: true
101
+ }],
102
+ hostDirectives: [
103
+ { directive: i2.DaffArticleEncapsulatedDirective },
104
+ {
105
+ directive: DaffButtonSizableDirective,
106
+ inputs: ["size", "size"]
107
+ },
108
+ {
109
+ directive: i2.DaffStatusableDirective,
110
+ inputs: ["status", "status"]
111
+ },
112
+ {
113
+ directive: i2.DaffColorableDirective,
114
+ inputs: ["color", "color"]
115
+ },
116
+ {
117
+ directive: i2.DaffDisableableDirective,
118
+ inputs: ["disabled", "disabled"]
119
+ },
120
+ {
121
+ directive: i2.DaffLoadableDirective,
122
+ inputs: ["loading", "loading"]
123
+ }
124
+ ],
125
+ ngImport: i0
126
+ });
127
+ }
128
+ };
129
+ i0.ɵɵngDeclareClassMetadata({
130
+ minVersion: "12.0.0",
131
+ version: "22.2.4",
132
+ ngImport: i0,
133
+ type: DaffButtonBaseDirective,
134
+ decorators: [{
135
+ type: Directive,
136
+ args: [{
137
+ selector: "[daffButtonBase]",
138
+ hostDirectives: [
139
+ { directive: DaffArticleEncapsulatedDirective },
140
+ {
141
+ directive: DaffButtonSizableDirective,
142
+ inputs: ["size"]
143
+ },
144
+ {
145
+ directive: DaffStatusableDirective,
146
+ inputs: ["status"]
147
+ },
148
+ {
149
+ directive: DaffColorableDirective,
150
+ inputs: ["color"]
151
+ },
152
+ {
153
+ directive: DaffDisableableDirective,
154
+ inputs: ["disabled"]
155
+ },
156
+ {
157
+ directive: DaffLoadableDirective,
158
+ inputs: ["loading"]
159
+ }
160
+ ],
161
+ host: {
162
+ "[attr.disabled]": "disabled ? true : null",
163
+ "[attr.aria-disabled]": "disabled ? true : null",
164
+ "[attr.tabindex]": "disabled ? -1 : tabindex()"
165
+ }
166
+ }]
167
+ }],
168
+ ctorParameters: () => [
169
+ { type: DaffButtonSizableDirective },
170
+ { type: i2.DaffDisableableDirective },
171
+ { type: i2.DaffLoadableDirective }
172
+ ],
173
+ propDecorators: {
174
+ _prefix: [{
175
+ type: ContentChild,
176
+ args: [DaffPrefixDirective, { static: true }]
177
+ }],
178
+ _suffix: [{
179
+ type: ContentChild,
180
+ args: [DaffSuffixDirective, { static: true }]
181
+ }],
182
+ tabindex: [{
183
+ type: i0.Input,
184
+ args: [{
185
+ isSignal: true,
186
+ alias: "tabindex",
187
+ required: false
188
+ }]
189
+ }]
190
+ }
191
+ });
192
+ var DaffButtonComponent = class DaffButtonComponent extends DaffButtonBaseDirective {
193
+ constructor() {
194
+ super(...arguments);
195
+ this.elevated = input(false, ...ngDevMode ? [{ debugName: "elevated" }] : /* istanbul ignore next */ []);
196
+ }
197
+ static {
198
+ this.ɵfac = i0.ɵɵngDeclareFactory({
199
+ minVersion: "12.0.0",
200
+ version: "22.2.4",
201
+ ngImport: i0,
202
+ type: DaffButtonComponent,
203
+ deps: null,
204
+ target: i0.ɵɵFactoryTarget.Component
205
+ });
206
+ }
207
+ static {
208
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
209
+ minVersion: "17.0.0",
210
+ version: "22.2.4",
211
+ type: DaffButtonComponent,
212
+ isStandalone: true,
213
+ selector: "button[daff-button],a[daff-button]",
214
+ inputs: { elevated: {
215
+ classPropertyName: "elevated",
216
+ publicName: "elevated",
217
+ isSignal: true,
218
+ isRequired: false,
219
+ transformFunction: null
220
+ } },
221
+ host: {
222
+ properties: { "class.elevated": "elevated()" },
223
+ classAttribute: "daff-button"
224
+ },
225
+ usesInheritance: true,
226
+ ngImport: i0,
227
+ template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}",
228
+ styles: [".daff-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none}.daff-button[disabled],.daff-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-button .daff-button__content,.daff-button .daff-prefix,.daff-button .daff-suffix{z-index:1}.daff-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-button.daff-loading .daff-button__content,.daff-button.daff-loading .daff-prefix,.daff-button.daff-loading .daff-suffix{opacity:0}.daff-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-button:not(.daff-button[disabled],.daff-button.daff-disabled):after{content:\"\";border-radius:.25rem;position:absolute;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .3s;z-index:0}.daff-button:not(.daff-button[disabled],.daff-button.daff-disabled):active:after{opacity:1}@media(hover:hover){.daff-button:not(.daff-button[disabled],.daff-button.daff-disabled):hover:after{opacity:1}}.daff-button.elevated{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}@media(hover:hover){.daff-button.elevated:hover{box-shadow:0 6px 12px #00000014,0 4px 6px #0000000a}}.daff-button.elevated[disabled]:hover,.daff-button.elevated.daff-disabled:hover{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}.daff-button.daff-sm{font-size:var(--daff-font-size-sm);line-height:2rem;height:2rem;padding:0 1rem}.daff-button.daff-md{font-size:var(--daff-font-size-base);line-height:3rem;height:3rem;padding:0 1.5rem}.daff-button.daff-lg{font-size:var(--daff-font-size-md);line-height:3.5rem;height:3.5rem;padding:0 1.5rem}\n"],
229
+ dependencies: [{
230
+ kind: "component",
231
+ type: DaffSpinnerComponent,
232
+ selector: "daff-spinner",
233
+ inputs: ["aria-label"]
234
+ }],
235
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
236
+ encapsulation: i0.ViewEncapsulation.None
237
+ });
238
+ }
239
+ };
240
+ i0.ɵɵngDeclareClassMetadata({
241
+ minVersion: "12.0.0",
242
+ version: "22.2.4",
243
+ ngImport: i0,
244
+ type: DaffButtonComponent,
245
+ decorators: [{
246
+ type: Component,
247
+ args: [{
248
+ selector: "button[daff-button],a[daff-button]",
249
+ host: {
250
+ "class": "daff-button",
251
+ "[class.elevated]": "elevated()"
252
+ },
253
+ encapsulation: ViewEncapsulation.None,
254
+ changeDetection: ChangeDetectionStrategy.OnPush,
255
+ imports: [DaffSpinnerComponent],
256
+ template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}",
257
+ styles: [".daff-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none}.daff-button[disabled],.daff-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-button .daff-button__content,.daff-button .daff-prefix,.daff-button .daff-suffix{z-index:1}.daff-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-button.daff-loading .daff-button__content,.daff-button.daff-loading .daff-prefix,.daff-button.daff-loading .daff-suffix{opacity:0}.daff-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-button:not(.daff-button[disabled],.daff-button.daff-disabled):after{content:\"\";border-radius:.25rem;position:absolute;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .3s;z-index:0}.daff-button:not(.daff-button[disabled],.daff-button.daff-disabled):active:after{opacity:1}@media(hover:hover){.daff-button:not(.daff-button[disabled],.daff-button.daff-disabled):hover:after{opacity:1}}.daff-button.elevated{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}@media(hover:hover){.daff-button.elevated:hover{box-shadow:0 6px 12px #00000014,0 4px 6px #0000000a}}.daff-button.elevated[disabled]:hover,.daff-button.elevated.daff-disabled:hover{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}.daff-button.daff-sm{font-size:var(--daff-font-size-sm);line-height:2rem;height:2rem;padding:0 1rem}.daff-button.daff-md{font-size:var(--daff-font-size-base);line-height:3rem;height:3rem;padding:0 1.5rem}.daff-button.daff-lg{font-size:var(--daff-font-size-md);line-height:3.5rem;height:3.5rem;padding:0 1.5rem}\n"]
258
+ }]
259
+ }],
260
+ propDecorators: { elevated: [{
261
+ type: i0.Input,
262
+ args: [{
263
+ isSignal: true,
264
+ alias: "elevated",
265
+ required: false
266
+ }]
267
+ }] }
268
+ });
269
+ var DaffFlatButtonComponent = class DaffFlatButtonComponent extends DaffButtonBaseDirective {
270
+ static {
271
+ this.ɵfac = i0.ɵɵngDeclareFactory({
272
+ minVersion: "12.0.0",
273
+ version: "22.2.4",
274
+ ngImport: i0,
275
+ type: DaffFlatButtonComponent,
276
+ deps: null,
277
+ target: i0.ɵɵFactoryTarget.Component
278
+ });
279
+ }
280
+ static {
281
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
282
+ minVersion: "17.0.0",
283
+ version: "22.2.4",
284
+ type: DaffFlatButtonComponent,
285
+ isStandalone: true,
286
+ selector: "button[daff-flat-button],a[daff-flat-button]",
287
+ host: { classAttribute: "daff-flat-button" },
288
+ usesInheritance: true,
289
+ ngImport: i0,
290
+ template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}",
291
+ styles: [".daff-flat-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none}.daff-flat-button[disabled],.daff-flat-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-flat-button .daff-button__content,.daff-flat-button .daff-prefix,.daff-flat-button .daff-suffix{z-index:1}.daff-flat-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-flat-button.daff-loading .daff-button__content,.daff-flat-button.daff-loading .daff-prefix,.daff-flat-button.daff-loading .daff-suffix{opacity:0}.daff-flat-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-flat-button:not(.daff-flat-button[disabled],.daff-flat-button.daff-disabled):after{content:\"\";border-radius:.25rem;position:absolute;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .3s;z-index:0}.daff-flat-button:not(.daff-flat-button[disabled],.daff-flat-button.daff-disabled):active:after{opacity:1}@media(hover:hover){.daff-flat-button:not(.daff-flat-button[disabled],.daff-flat-button.daff-disabled):hover:after{opacity:1}}.daff-flat-button.daff-sm{font-size:var(--daff-font-size-sm);line-height:2rem;height:2rem;padding:0 1rem}.daff-flat-button.daff-md{font-size:var(--daff-font-size-base);line-height:3rem;height:3rem;padding:0 1.5rem}.daff-flat-button.daff-lg{font-size:var(--daff-font-size-md);line-height:3.5rem;height:3.5rem;padding:0 1.5rem}.daff-flat-button{background:none;border:none}\n"],
292
+ dependencies: [{
293
+ kind: "component",
294
+ type: DaffSpinnerComponent,
295
+ selector: "daff-spinner",
296
+ inputs: ["aria-label"]
297
+ }],
298
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
299
+ encapsulation: i0.ViewEncapsulation.None
300
+ });
301
+ }
302
+ };
303
+ i0.ɵɵngDeclareClassMetadata({
304
+ minVersion: "12.0.0",
305
+ version: "22.2.4",
306
+ ngImport: i0,
307
+ type: DaffFlatButtonComponent,
308
+ decorators: [{
309
+ type: Component,
310
+ args: [{
311
+ selector: "button[daff-flat-button],a[daff-flat-button]",
312
+ host: { class: "daff-flat-button" },
313
+ encapsulation: ViewEncapsulation.None,
314
+ changeDetection: ChangeDetectionStrategy.OnPush,
315
+ imports: [DaffSpinnerComponent],
316
+ template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}",
317
+ styles: [".daff-flat-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none}.daff-flat-button[disabled],.daff-flat-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-flat-button .daff-button__content,.daff-flat-button .daff-prefix,.daff-flat-button .daff-suffix{z-index:1}.daff-flat-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-flat-button.daff-loading .daff-button__content,.daff-flat-button.daff-loading .daff-prefix,.daff-flat-button.daff-loading .daff-suffix{opacity:0}.daff-flat-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-flat-button:not(.daff-flat-button[disabled],.daff-flat-button.daff-disabled):after{content:\"\";border-radius:.25rem;position:absolute;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .3s;z-index:0}.daff-flat-button:not(.daff-flat-button[disabled],.daff-flat-button.daff-disabled):active:after{opacity:1}@media(hover:hover){.daff-flat-button:not(.daff-flat-button[disabled],.daff-flat-button.daff-disabled):hover:after{opacity:1}}.daff-flat-button.daff-sm{font-size:var(--daff-font-size-sm);line-height:2rem;height:2rem;padding:0 1rem}.daff-flat-button.daff-md{font-size:var(--daff-font-size-base);line-height:3rem;height:3rem;padding:0 1.5rem}.daff-flat-button.daff-lg{font-size:var(--daff-font-size-md);line-height:3.5rem;height:3.5rem;padding:0 1.5rem}.daff-flat-button{background:none;border:none}\n"]
318
+ }]
319
+ }]
320
+ });
321
+ var DaffIconButtonComponent = class DaffIconButtonComponent extends DaffButtonBaseDirective {
322
+ static {
323
+ this.ɵfac = i0.ɵɵngDeclareFactory({
324
+ minVersion: "12.0.0",
325
+ version: "22.2.4",
326
+ ngImport: i0,
327
+ type: DaffIconButtonComponent,
328
+ deps: null,
329
+ target: i0.ɵɵFactoryTarget.Component
330
+ });
331
+ }
332
+ static {
333
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
334
+ minVersion: "17.0.0",
335
+ version: "22.2.4",
336
+ type: DaffIconButtonComponent,
337
+ isStandalone: true,
338
+ selector: "button[daff-icon-button],a[daff-icon-button]",
339
+ host: { classAttribute: "daff-icon-button" },
340
+ usesInheritance: true,
341
+ ngImport: i0,
342
+ template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}",
343
+ styles: [".daff-icon-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none}.daff-icon-button[disabled],.daff-icon-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-icon-button .daff-button__content,.daff-icon-button .daff-prefix,.daff-icon-button .daff-suffix{z-index:1}.daff-icon-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-icon-button.daff-loading .daff-button__content,.daff-icon-button.daff-loading .daff-prefix,.daff-icon-button.daff-loading .daff-suffix{opacity:0}.daff-icon-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-icon-button{background:none;border:0;padding:0}.daff-icon-button.daff-sm{font-size:var(--daff-font-size-sm);line-height:2rem;height:2rem;width:2rem}.daff-icon-button.daff-md{font-size:var(--daff-font-size-base);line-height:3rem;height:3rem;width:3rem}.daff-icon-button.daff-lg{font-size:var(--daff-font-size-md);line-height:3.5rem;height:3.5rem;width:3.5rem}\n"],
344
+ dependencies: [{
345
+ kind: "component",
346
+ type: DaffSpinnerComponent,
347
+ selector: "daff-spinner",
348
+ inputs: ["aria-label"]
349
+ }],
350
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
351
+ encapsulation: i0.ViewEncapsulation.None
352
+ });
353
+ }
354
+ };
355
+ i0.ɵɵngDeclareClassMetadata({
356
+ minVersion: "12.0.0",
357
+ version: "22.2.4",
358
+ ngImport: i0,
359
+ type: DaffIconButtonComponent,
360
+ decorators: [{
361
+ type: Component,
362
+ args: [{
363
+ selector: "button[daff-icon-button],a[daff-icon-button]",
364
+ host: { "class": "daff-icon-button" },
365
+ encapsulation: ViewEncapsulation.None,
366
+ changeDetection: ChangeDetectionStrategy.OnPush,
367
+ imports: [DaffSpinnerComponent],
368
+ template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}",
369
+ styles: [".daff-icon-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none}.daff-icon-button[disabled],.daff-icon-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-icon-button .daff-button__content,.daff-icon-button .daff-prefix,.daff-icon-button .daff-suffix{z-index:1}.daff-icon-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-icon-button.daff-loading .daff-button__content,.daff-icon-button.daff-loading .daff-prefix,.daff-icon-button.daff-loading .daff-suffix{opacity:0}.daff-icon-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-icon-button{background:none;border:0;padding:0}.daff-icon-button.daff-sm{font-size:var(--daff-font-size-sm);line-height:2rem;height:2rem;width:2rem}.daff-icon-button.daff-md{font-size:var(--daff-font-size-base);line-height:3rem;height:3rem;width:3rem}.daff-icon-button.daff-lg{font-size:var(--daff-font-size-md);line-height:3.5rem;height:3.5rem;width:3.5rem}\n"]
370
+ }]
371
+ }]
372
+ });
373
+ var DaffStrokedButtonComponent = class DaffStrokedButtonComponent extends DaffButtonBaseDirective {
374
+ constructor() {
375
+ super(...arguments);
376
+ this.elevated = input(false, ...ngDevMode ? [{ debugName: "elevated" }] : /* istanbul ignore next */ []);
377
+ }
378
+ static {
379
+ this.ɵfac = i0.ɵɵngDeclareFactory({
380
+ minVersion: "12.0.0",
381
+ version: "22.2.4",
382
+ ngImport: i0,
383
+ type: DaffStrokedButtonComponent,
384
+ deps: null,
385
+ target: i0.ɵɵFactoryTarget.Component
386
+ });
387
+ }
388
+ static {
389
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
390
+ minVersion: "17.0.0",
391
+ version: "22.2.4",
392
+ type: DaffStrokedButtonComponent,
393
+ isStandalone: true,
394
+ selector: "button[daff-stroked-button],a[daff-stroked-button]",
395
+ inputs: { elevated: {
396
+ classPropertyName: "elevated",
397
+ publicName: "elevated",
398
+ isSignal: true,
399
+ isRequired: false,
400
+ transformFunction: null
401
+ } },
402
+ host: {
403
+ properties: { "class.elevated": "elevated()" },
404
+ classAttribute: "daff-stroked-button"
405
+ },
406
+ usesInheritance: true,
407
+ ngImport: i0,
408
+ template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}",
409
+ styles: [".daff-stroked-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none}.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-stroked-button .daff-button__content,.daff-stroked-button .daff-prefix,.daff-stroked-button .daff-suffix{z-index:1}.daff-stroked-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-stroked-button.daff-loading .daff-button__content,.daff-stroked-button.daff-loading .daff-prefix,.daff-stroked-button.daff-loading .daff-suffix{opacity:0}.daff-stroked-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-stroked-button:not(.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled):after{content:\"\";border-radius:.25rem;position:absolute;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .3s;z-index:0}.daff-stroked-button:not(.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled):active:after{opacity:1}@media(hover:hover){.daff-stroked-button:not(.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled):hover:after{opacity:1}}.daff-stroked-button.daff-sm{font-size:var(--daff-font-size-sm);line-height:2rem;height:2rem;padding:0 1rem}.daff-stroked-button.daff-md{font-size:var(--daff-font-size-base);line-height:3rem;height:3rem;padding:0 1.5rem}.daff-stroked-button.daff-lg{font-size:var(--daff-font-size-md);line-height:3.5rem;height:3.5rem;padding:0 1.5rem}.daff-stroked-button.elevated{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}@media(hover:hover){.daff-stroked-button.elevated:hover{box-shadow:0 6px 12px #00000014,0 4px 6px #0000000a}}.daff-stroked-button.elevated[disabled]:hover,.daff-stroked-button.elevated.daff-disabled:hover{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}\n"],
410
+ dependencies: [{
411
+ kind: "component",
412
+ type: DaffSpinnerComponent,
413
+ selector: "daff-spinner",
414
+ inputs: ["aria-label"]
415
+ }],
416
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
417
+ encapsulation: i0.ViewEncapsulation.None
418
+ });
419
+ }
420
+ };
421
+ i0.ɵɵngDeclareClassMetadata({
422
+ minVersion: "12.0.0",
423
+ version: "22.2.4",
424
+ ngImport: i0,
425
+ type: DaffStrokedButtonComponent,
426
+ decorators: [{
427
+ type: Component,
428
+ args: [{
429
+ selector: "button[daff-stroked-button],a[daff-stroked-button]",
430
+ host: {
431
+ "class": "daff-stroked-button",
432
+ "[class.elevated]": "elevated()"
433
+ },
434
+ encapsulation: ViewEncapsulation.None,
435
+ changeDetection: ChangeDetectionStrategy.OnPush,
436
+ imports: [DaffSpinnerComponent],
437
+ template: "@if (_prefix) {\n <ng-content select=\"[daffPrefix]\"></ng-content>\n}\n@if (loading) {\n <daff-spinner class=\"daff-button__loading\" [size]=\"buttonSize\"></daff-spinner>\n}\n<span class=\"daff-button__content\">\n <ng-content></ng-content>\n</span>\n@if (_suffix) {\n <ng-content select=\"[daffSuffix]\"></ng-content>\n}",
438
+ styles: [".daff-stroked-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;appearance:none;border:none;border-radius:.25rem;position:relative;text-align:center;text-decoration:none}.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled{cursor:not-allowed;opacity:.5}.daff-stroked-button .daff-button__content,.daff-stroked-button .daff-prefix,.daff-stroked-button .daff-suffix{z-index:1}.daff-stroked-button .daff-button__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daff-stroked-button.daff-loading .daff-button__content,.daff-stroked-button.daff-loading .daff-prefix,.daff-stroked-button.daff-loading .daff-suffix{opacity:0}.daff-stroked-button.daff-loading .daff-button__loading{z-index:5;position:absolute}.daff-stroked-button:not(.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled):after{content:\"\";border-radius:.25rem;position:absolute;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .3s;z-index:0}.daff-stroked-button:not(.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled):active:after{opacity:1}@media(hover:hover){.daff-stroked-button:not(.daff-stroked-button[disabled],.daff-stroked-button.daff-disabled):hover:after{opacity:1}}.daff-stroked-button.daff-sm{font-size:var(--daff-font-size-sm);line-height:2rem;height:2rem;padding:0 1rem}.daff-stroked-button.daff-md{font-size:var(--daff-font-size-base);line-height:3rem;height:3rem;padding:0 1.5rem}.daff-stroked-button.daff-lg{font-size:var(--daff-font-size-md);line-height:3.5rem;height:3.5rem;padding:0 1.5rem}.daff-stroked-button.elevated{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}@media(hover:hover){.daff-stroked-button.elevated:hover{box-shadow:0 6px 12px #00000014,0 4px 6px #0000000a}}.daff-stroked-button.elevated[disabled]:hover,.daff-stroked-button.elevated.daff-disabled:hover{box-shadow:0 1px 5px -4px #00000080,0 4px 8px #0000000d}\n"]
439
+ }]
440
+ }],
441
+ propDecorators: { elevated: [{
442
+ type: i0.Input,
443
+ args: [{
444
+ isSignal: true,
445
+ alias: "elevated",
446
+ required: false
447
+ }]
448
+ }] }
449
+ });
450
+ var DaffButtonModule = class DaffButtonModule {
451
+ static {
452
+ this.ɵfac = i0.ɵɵngDeclareFactory({
453
+ minVersion: "12.0.0",
454
+ version: "22.2.4",
455
+ ngImport: i0,
456
+ type: DaffButtonModule,
457
+ deps: [],
458
+ target: i0.ɵɵFactoryTarget.NgModule
459
+ });
460
+ }
461
+ static {
462
+ this.ɵmod = i0.ɵɵngDeclareNgModule({
463
+ minVersion: "14.0.0",
464
+ version: "22.2.4",
465
+ ngImport: i0,
466
+ type: DaffButtonModule,
467
+ imports: [
468
+ CommonModule,
469
+ DaffButtonComponent,
470
+ DaffFlatButtonComponent,
471
+ DaffIconButtonComponent,
472
+ DaffStrokedButtonComponent
473
+ ],
474
+ exports: [
475
+ DaffButtonComponent,
476
+ DaffFlatButtonComponent,
477
+ DaffIconButtonComponent,
478
+ DaffStrokedButtonComponent
479
+ ]
480
+ });
481
+ }
482
+ static {
483
+ this.ɵinj = i0.ɵɵngDeclareInjector({
484
+ minVersion: "12.0.0",
485
+ version: "22.2.4",
486
+ ngImport: i0,
487
+ type: DaffButtonModule,
488
+ imports: [
489
+ CommonModule,
490
+ DaffButtonComponent,
491
+ DaffFlatButtonComponent,
492
+ DaffIconButtonComponent,
493
+ DaffStrokedButtonComponent
494
+ ]
495
+ });
496
+ }
497
+ };
498
+ i0.ɵɵngDeclareClassMetadata({
499
+ minVersion: "12.0.0",
500
+ version: "22.2.4",
501
+ ngImport: i0,
502
+ type: DaffButtonModule,
503
+ decorators: [{
504
+ type: NgModule,
505
+ args: [{
506
+ imports: [
507
+ CommonModule,
508
+ DaffButtonComponent,
509
+ DaffFlatButtonComponent,
510
+ DaffIconButtonComponent,
511
+ DaffStrokedButtonComponent
512
+ ],
513
+ exports: [
514
+ DaffButtonComponent,
515
+ DaffFlatButtonComponent,
516
+ DaffIconButtonComponent,
517
+ DaffStrokedButtonComponent
518
+ ]
519
+ }]
520
+ }]
521
+ });
362
522
  const DAFF_BUTTON_COMPONENTS = [
363
- DaffButtonComponent,
364
- DaffFlatButtonComponent,
365
- DaffIconButtonComponent,
366
- DaffRaisedButtonComponent,
367
- DaffStrokedButtonComponent,
368
- DaffUnderlineButtonComponent,
369
- DaffPrefixDirective,
370
- DaffSuffixDirective,
523
+ DaffButtonComponent,
524
+ DaffFlatButtonComponent,
525
+ DaffIconButtonComponent,
526
+ DaffStrokedButtonComponent,
527
+ DaffPrefixDirective,
528
+ DaffSuffixDirective
371
529
  ];
372
- /**
373
- * @docs-private
374
- */
375
530
  const DAFF_BASIC_BUTTON_COMPONENTS = [
376
- DaffButtonComponent,
377
- DaffPrefixDirective,
378
- DaffSuffixDirective,
531
+ DaffButtonComponent,
532
+ DaffPrefixDirective,
533
+ DaffSuffixDirective
379
534
  ];
380
- /**
381
- * @docs-private
382
- */
383
535
  const DAFF_FLAT_BUTTON_COMPONENTS = [
384
- DaffFlatButtonComponent,
385
- DaffPrefixDirective,
386
- DaffSuffixDirective,
536
+ DaffFlatButtonComponent,
537
+ DaffPrefixDirective,
538
+ DaffSuffixDirective
387
539
  ];
388
- /**
389
- * @docs-private
390
- */
391
540
  const DAFF_ICON_BUTTON_COMPONENTS = [
392
- DaffIconButtonComponent,
393
- DaffPrefixDirective,
394
- DaffSuffixDirective,
541
+ DaffIconButtonComponent,
542
+ DaffPrefixDirective,
543
+ DaffSuffixDirective
395
544
  ];
396
- /**
397
- * @docs-private
398
- */
399
545
  const DAFF_STROKED_BUTTON_COMPONENTS = [
400
- DaffStrokedButtonComponent,
401
- DaffPrefixDirective,
402
- DaffSuffixDirective,
403
- ];
404
- /**
405
- * @docs-private
406
- * @deprecated Deprecated in version 0.92.0. Will be removed in version 0.95.0.
407
- */
408
- const DAFF_UNDERLINE_BUTTON_COMPONENTS = [
409
- DaffUnderlineButtonComponent,
410
- DaffPrefixDirective,
411
- DaffSuffixDirective,
546
+ DaffStrokedButtonComponent,
547
+ DaffPrefixDirective,
548
+ DaffSuffixDirective
412
549
  ];
550
+ export { DAFF_BASIC_BUTTON_COMPONENTS, DAFF_BUTTON_COMPONENTS, DAFF_FLAT_BUTTON_COMPONENTS, DAFF_ICON_BUTTON_COMPONENTS, DAFF_STROKED_BUTTON_COMPONENTS, DaffButtonComponent, DaffButtonModule, DaffButtonSizableDirective, DaffFlatButtonComponent, DaffIconButtonComponent, DaffStrokedButtonComponent };
413
551
 
414
- /**
415
- * Generated bundle index. Do not edit.
416
- */
417
-
418
- 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 };
419
- //# sourceMappingURL=daffodil-design-button.mjs.map
552
+ //# sourceMappingURL=daffodil-design-button.mjs.map