@daffodil/design 0.89.0 → 0.91.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 (209) hide show
  1. package/README.md +1 -0
  2. package/accordion/index.d.ts +8 -5
  3. package/article/README.md +1 -1
  4. package/article/index.d.ts +20 -0
  5. package/article/src/article-theme.scss +10 -0
  6. package/button/index.d.ts +4 -4
  7. package/button/src/button/button-base.scss +3 -3
  8. package/button/src/button/raised/raised-theme.scss +6 -16
  9. package/card/README.md +0 -8
  10. package/card/index.d.ts +7 -41
  11. package/card/src/card-base-theme.scss +2 -5
  12. package/card/src/card-base.scss +2 -2
  13. package/checkbox/README.md +0 -0
  14. package/checkbox/index.d.ts +177 -0
  15. package/fesm2022/daffodil-design-accordion.mjs +23 -14
  16. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  17. package/fesm2022/daffodil-design-article.mjs +129 -5
  18. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  19. package/fesm2022/daffodil-design-button.mjs +24 -20
  20. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  21. package/fesm2022/daffodil-design-card.mjs +16 -63
  22. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  23. package/fesm2022/daffodil-design-checkbox.mjs +317 -0
  24. package/fesm2022/daffodil-design-checkbox.mjs.map +1 -0
  25. package/fesm2022/daffodil-design-form-field.mjs +55 -162
  26. package/fesm2022/daffodil-design-form-field.mjs.map +1 -1
  27. package/fesm2022/daffodil-design-form.mjs +62 -0
  28. package/fesm2022/daffodil-design-form.mjs.map +1 -0
  29. package/fesm2022/daffodil-design-image.mjs +12 -4
  30. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  31. package/fesm2022/daffodil-design-modal.mjs +55 -56
  32. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  33. package/fesm2022/daffodil-design-notification.mjs +14 -50
  34. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  35. package/fesm2022/daffodil-design-paginator.mjs +6 -11
  36. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  37. package/fesm2022/daffodil-design-quantity-field.mjs +3 -5
  38. package/fesm2022/daffodil-design-quantity-field.mjs.map +1 -1
  39. package/fesm2022/daffodil-design-radio.mjs +304 -0
  40. package/fesm2022/daffodil-design-radio.mjs.map +1 -0
  41. package/fesm2022/daffodil-design-select.mjs +2 -2
  42. package/fesm2022/daffodil-design-select.mjs.map +1 -1
  43. package/fesm2022/daffodil-design-sidebar.mjs +6 -36
  44. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  45. package/fesm2022/daffodil-design-switch.mjs +48 -105
  46. package/fesm2022/daffodil-design-switch.mjs.map +1 -1
  47. package/fesm2022/daffodil-design-tabs.mjs +22 -14
  48. package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
  49. package/fesm2022/daffodil-design-tag.mjs +131 -0
  50. package/fesm2022/daffodil-design-tag.mjs.map +1 -0
  51. package/fesm2022/daffodil-design-toast.mjs +56 -55
  52. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  53. package/fesm2022/daffodil-design-tree.mjs +4 -13
  54. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  55. package/fesm2022/daffodil-design.mjs +250 -774
  56. package/fesm2022/daffodil-design.mjs.map +1 -1
  57. package/form/README.md +75 -0
  58. package/form/index.d.ts +27 -0
  59. package/form-field/README.md +49 -39
  60. package/form-field/index.d.ts +58 -76
  61. package/image/README.md +27 -19
  62. package/image/index.d.ts +6 -1
  63. package/index.d.ts +180 -424
  64. package/input/README.md +32 -12
  65. package/modal/README.md +106 -16
  66. package/modal/index.d.ts +50 -21
  67. package/native-select/README.md +52 -15
  68. package/notification/index.d.ts +7 -38
  69. package/package.json +1 -1
  70. package/paginator/index.d.ts +1 -7
  71. package/radio/README.md +52 -0
  72. package/radio/index.d.ts +160 -0
  73. package/scss/core/error/error-to-string.scss +6 -6
  74. package/scss/core/map/map-get/map-get.scss +3 -3
  75. package/scss/layout/_breakpoint.scss +1 -1
  76. package/scss/theme.scss +4 -4
  77. package/scss/theming/_color-palettes.scss +21 -7
  78. package/scss/theming/_configure-theme.scss +11 -10
  79. package/scss/theming/_daff-theme.scss +5 -14
  80. package/scss/theming/_get-base-color.scss +2 -2
  81. package/scss/theming/_get-palette.scss +2 -2
  82. package/scss/theming/_get-theme-mode.scss +3 -3
  83. package/scss/theming/_index.scss +2 -1
  84. package/scss/theming/contrast/_index.scss +1 -0
  85. package/scss/theming/contrast/max-contrast/max-contrast.scss +47 -0
  86. package/scss/theming/contrast/max-contrast/max-contrast.spec.scss +57 -0
  87. package/scss/theming/contrast/text-contrast/text-contrast.scss +22 -16
  88. package/scss/theming/contrast/text-contrast/text-contrast.spec.scss +57 -0
  89. package/scss/theming/create-theme/_create-theme.scss +330 -0
  90. package/scss/theming/create-theme/_create-theme.spec.scss +122 -0
  91. package/scss/theming/create-theme/_index.scss +1 -0
  92. package/scss/theming/get-font-colors/_get-font-colors.scss +36 -0
  93. package/scss/theming/get-font-colors/_get-font-colors.spec.scss +72 -0
  94. package/scss/typography/mixins/_font-weight.scss +8 -14
  95. package/select/README.md +107 -4
  96. package/sidebar/README.md +0 -8
  97. package/sidebar/index.d.ts +3 -15
  98. package/switch/README.md +19 -27
  99. package/switch/index.d.ts +18 -48
  100. package/switch/src/switch-theme.scss +26 -18
  101. package/tabs/index.d.ts +7 -4
  102. package/tag/README.md +87 -0
  103. package/tag/index.d.ts +71 -0
  104. package/tag/src/tag-theme.scss +137 -0
  105. package/textarea/README.md +35 -5
  106. package/tree/index.d.ts +0 -6
  107. package/tree/src/tree-theme.scss +0 -4
  108. package/accordion/examples/index.d.ts +0 -20
  109. package/article/examples/index.d.ts +0 -50
  110. package/breadcrumb/examples/index.d.ts +0 -10
  111. package/button/examples/index.d.ts +0 -67
  112. package/callout/examples/index.d.ts +0 -41
  113. package/card/examples/index.d.ts +0 -62
  114. package/card/src/card/raised/raised-theme.scss +0 -28
  115. package/checkbox/examples/index.d.ts +0 -32
  116. package/container/examples/index.d.ts +0 -16
  117. package/fesm2022/daffodil-design-accordion-examples.mjs +0 -50
  118. package/fesm2022/daffodil-design-accordion-examples.mjs.map +0 -1
  119. package/fesm2022/daffodil-design-article-examples.mjs +0 -134
  120. package/fesm2022/daffodil-design-article-examples.mjs.map +0 -1
  121. package/fesm2022/daffodil-design-breadcrumb-examples.mjs +0 -46
  122. package/fesm2022/daffodil-design-breadcrumb-examples.mjs.map +0 -1
  123. package/fesm2022/daffodil-design-button-examples.mjs +0 -178
  124. package/fesm2022/daffodil-design-button-examples.mjs.map +0 -1
  125. package/fesm2022/daffodil-design-callout-examples.mjs +0 -116
  126. package/fesm2022/daffodil-design-callout-examples.mjs.map +0 -1
  127. package/fesm2022/daffodil-design-card-examples.mjs +0 -168
  128. package/fesm2022/daffodil-design-card-examples.mjs.map +0 -1
  129. package/fesm2022/daffodil-design-checkbox-examples.mjs +0 -76
  130. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +0 -1
  131. package/fesm2022/daffodil-design-container-examples.mjs +0 -41
  132. package/fesm2022/daffodil-design-container-examples.mjs.map +0 -1
  133. package/fesm2022/daffodil-design-form-field-examples.mjs +0 -96
  134. package/fesm2022/daffodil-design-form-field-examples.mjs.map +0 -1
  135. package/fesm2022/daffodil-design-hero-examples.mjs +0 -121
  136. package/fesm2022/daffodil-design-hero-examples.mjs.map +0 -1
  137. package/fesm2022/daffodil-design-image-examples.mjs +0 -58
  138. package/fesm2022/daffodil-design-image-examples.mjs.map +0 -1
  139. package/fesm2022/daffodil-design-input-examples.mjs +0 -108
  140. package/fesm2022/daffodil-design-input-examples.mjs.map +0 -1
  141. package/fesm2022/daffodil-design-list-examples.mjs +0 -77
  142. package/fesm2022/daffodil-design-list-examples.mjs.map +0 -1
  143. package/fesm2022/daffodil-design-loading-icon-examples.mjs +0 -44
  144. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +0 -1
  145. package/fesm2022/daffodil-design-media-gallery-examples.mjs +0 -104
  146. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +0 -1
  147. package/fesm2022/daffodil-design-menu-examples.mjs +0 -50
  148. package/fesm2022/daffodil-design-menu-examples.mjs.map +0 -1
  149. package/fesm2022/daffodil-design-modal-examples.mjs +0 -51
  150. package/fesm2022/daffodil-design-modal-examples.mjs.map +0 -1
  151. package/fesm2022/daffodil-design-native-select-examples.mjs +0 -71
  152. package/fesm2022/daffodil-design-native-select-examples.mjs.map +0 -1
  153. package/fesm2022/daffodil-design-navbar-examples.mjs +0 -88
  154. package/fesm2022/daffodil-design-navbar-examples.mjs.map +0 -1
  155. package/fesm2022/daffodil-design-notification-examples.mjs +0 -102
  156. package/fesm2022/daffodil-design-notification-examples.mjs.map +0 -1
  157. package/fesm2022/daffodil-design-paginator-examples.mjs +0 -59
  158. package/fesm2022/daffodil-design-paginator-examples.mjs.map +0 -1
  159. package/fesm2022/daffodil-design-progress-bar-examples.mjs +0 -57
  160. package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +0 -1
  161. package/fesm2022/daffodil-design-quantity-field-examples.mjs +0 -85
  162. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +0 -1
  163. package/fesm2022/daffodil-design-radio-examples.mjs +0 -31
  164. package/fesm2022/daffodil-design-radio-examples.mjs.map +0 -1
  165. package/fesm2022/daffodil-design-select-examples.mjs +0 -117
  166. package/fesm2022/daffodil-design-select-examples.mjs.map +0 -1
  167. package/fesm2022/daffodil-design-sidebar-examples.mjs +0 -109
  168. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +0 -1
  169. package/fesm2022/daffodil-design-sticky-examples.mjs +0 -25
  170. package/fesm2022/daffodil-design-sticky-examples.mjs.map +0 -1
  171. package/fesm2022/daffodil-design-switch-examples.mjs +0 -110
  172. package/fesm2022/daffodil-design-switch-examples.mjs.map +0 -1
  173. package/fesm2022/daffodil-design-tabs-examples.mjs +0 -115
  174. package/fesm2022/daffodil-design-tabs-examples.mjs.map +0 -1
  175. package/fesm2022/daffodil-design-text-snippet-examples.mjs +0 -25
  176. package/fesm2022/daffodil-design-text-snippet-examples.mjs.map +0 -1
  177. package/fesm2022/daffodil-design-textarea-examples.mjs +0 -66
  178. package/fesm2022/daffodil-design-textarea-examples.mjs.map +0 -1
  179. package/fesm2022/daffodil-design-toast-examples.mjs +0 -147
  180. package/fesm2022/daffodil-design-toast-examples.mjs.map +0 -1
  181. package/fesm2022/daffodil-design-tree-examples.mjs +0 -104
  182. package/fesm2022/daffodil-design-tree-examples.mjs.map +0 -1
  183. package/form-field/examples/index.d.ts +0 -18
  184. package/hero/examples/index.d.ts +0 -45
  185. package/image/examples/index.d.ts +0 -10
  186. package/input/examples/index.d.ts +0 -10
  187. package/list/examples/index.d.ts +0 -29
  188. package/loading-icon/examples/index.d.ts +0 -16
  189. package/media-gallery/examples/index.d.ts +0 -38
  190. package/menu/examples/index.d.ts +0 -20
  191. package/modal/examples/index.d.ts +0 -15
  192. package/native-select/examples/index.d.ts +0 -10
  193. package/navbar/examples/index.d.ts +0 -31
  194. package/notification/examples/index.d.ts +0 -12
  195. package/paginator/examples/index.d.ts +0 -26
  196. package/progress-bar/examples/index.d.ts +0 -10
  197. package/quantity-field/examples/index.d.ts +0 -30
  198. package/radio/examples/index.d.ts +0 -13
  199. package/select/examples/index.d.ts +0 -28
  200. package/sidebar/examples/index.d.ts +0 -10
  201. package/sticky/examples/index.d.ts +0 -10
  202. package/switch/examples/index.d.ts +0 -46
  203. package/tabs/examples/index.d.ts +0 -12
  204. package/text-snippet/examples/index.d.ts +0 -10
  205. package/textarea/examples/index.d.ts +0 -10
  206. package/toast/examples/index.d.ts +0 -56
  207. package/tree/examples/index.d.ts +0 -18
  208. /package/{form-field → form}/src/error-message/error-message-theme.scss +0 -0
  209. /package/{form-field → form}/src/hint/hint-theme.scss +0 -0
@@ -1,109 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { ChangeDetectionStrategy, Component } from '@angular/core';
3
- import * as i1 from '@daffodil/design/sidebar';
4
- import { DAFF_SIDEBAR_COMPONENTS } from '@daffodil/design/sidebar';
5
- import * as i2 from '@angular/forms';
6
- import { FormControl, ReactiveFormsModule } from '@angular/forms';
7
- import { FaIconComponent } from '@fortawesome/angular-fontawesome';
8
- import { faTimes } from '@fortawesome/free-solid-svg-icons';
9
- import { DaffButtonComponent, DaffIconButtonComponent } from '@daffodil/design/button';
10
- import * as i2$1 from '@daffodil/design/navbar';
11
- import { DAFF_NAVBAR_COMPONENTS } from '@daffodil/design/navbar';
12
-
13
- class BasicSidebarComponent {
14
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: BasicSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: BasicSidebarComponent, isStandalone: true, selector: "basic-sidebar", ngImport: i0, template: "<daff-sidebar-viewport>\n <daff-sidebar class=\"basic-sidebar\">\n <daff-sidebar-header>\n Sidebar Title\n </daff-sidebar-header>\n Sidebar content\n </daff-sidebar>\n <div class=\"basic-sidebar__content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.basic-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}\n"], dependencies: [{ kind: "component", type: i1.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode"], outputs: ["escapePressed"] }, { kind: "component", type: i1.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }, { kind: "component", type: i1.DaffSidebarHeaderComponent, selector: "daff-sidebar-header", inputs: ["dismissible"], outputs: ["closeSidebar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
16
- }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: BasicSidebarComponent, decorators: [{
18
- type: Component,
19
- args: [{ selector: 'basic-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
20
- DAFF_SIDEBAR_COMPONENTS,
21
- ], template: "<daff-sidebar-viewport>\n <daff-sidebar class=\"basic-sidebar\">\n <daff-sidebar-header>\n Sidebar Title\n </daff-sidebar-header>\n Sidebar content\n </daff-sidebar>\n <div class=\"basic-sidebar__content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.basic-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}\n"] }]
22
- }] });
23
-
24
- class OverandUnderSidebarsComponent {
25
- constructor() {
26
- this.faTimes = faTimes;
27
- this.open = false;
28
- this.modeControl = new FormControl('over');
29
- }
30
- openSidebar() {
31
- this.open = !this.open;
32
- }
33
- closeSidebar() {
34
- this.open = false;
35
- }
36
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: OverandUnderSidebarsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
37
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: OverandUnderSidebarsComponent, isStandalone: true, selector: "over-and-under-sidebars", ngImport: i0, template: "<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" [mode]=\"modeControl.value\" side=\"left\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header [dismissible]=\"true\" (closeSidebar)=\"closeSidebar()\">\n <div daffSidebarHeaderTitle>Title</div>\n </daff-sidebar-header>\n <div class=\"over-and-under-sidebars__sidebar-content\">\n Sidebar content\n </div>\n <daff-sidebar-footer>\n <div class=\"over-and-under-sidebars__footer\">\n Sidebar footer\n </div>\n </daff-sidebar-footer>\n </daff-sidebar>\n <div class=\"over-and-under-sidebars__body-content\">\n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Mode:</div>\n <select [formControl]=\"modeControl\">\n <option value=\"over\">Over</option>\n <option value=\"under\">Under</option>\n </select>\n </div>\n\n <button daff-button (click)=\"openSidebar()\">\n Open\n </button>\n </div>\n</daff-sidebar-viewport>\n", styles: ["daff-sidebar-viewport{height:288px}.over-and-under-sidebars__options-container{display:flex;gap:8px;margin:0 0 16px}.over-and-under-sidebars__footer,.over-and-under-sidebars__sidebar-content{padding:16px}\n"], dependencies: [{ kind: "component", type: i1.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode"], outputs: ["escapePressed"] }, { kind: "component", type: i1.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }, { kind: "component", type: i1.DaffSidebarHeaderComponent, selector: "daff-sidebar-header", inputs: ["dismissible"], outputs: ["closeSidebar"] }, { kind: "component", type: i1.DaffSidebarFooterComponent, selector: "daff-sidebar-footer" }, { kind: "directive", type: i1.DaffSidebarHeaderTitleDirective, selector: "[daffSidebarHeaderTitle]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: DaffButtonComponent, selector: "button[daff-button],a[daff-button]", inputs: ["elevated"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
38
- }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: OverandUnderSidebarsComponent, decorators: [{
40
- type: Component,
41
- args: [{ selector: 'over-and-under-sidebars', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
42
- DAFF_SIDEBAR_COMPONENTS,
43
- FaIconComponent,
44
- ReactiveFormsModule,
45
- DaffButtonComponent,
46
- DaffIconButtonComponent,
47
- ], template: "<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" [mode]=\"modeControl.value\" side=\"left\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header [dismissible]=\"true\" (closeSidebar)=\"closeSidebar()\">\n <div daffSidebarHeaderTitle>Title</div>\n </daff-sidebar-header>\n <div class=\"over-and-under-sidebars__sidebar-content\">\n Sidebar content\n </div>\n <daff-sidebar-footer>\n <div class=\"over-and-under-sidebars__footer\">\n Sidebar footer\n </div>\n </daff-sidebar-footer>\n </daff-sidebar>\n <div class=\"over-and-under-sidebars__body-content\">\n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Mode:</div>\n <select [formControl]=\"modeControl\">\n <option value=\"over\">Over</option>\n <option value=\"under\">Under</option>\n </select>\n </div>\n\n <button daff-button (click)=\"openSidebar()\">\n Open\n </button>\n </div>\n</daff-sidebar-viewport>\n", styles: ["daff-sidebar-viewport{height:288px}.over-and-under-sidebars__options-container{display:flex;gap:8px;margin:0 0 16px}.over-and-under-sidebars__footer,.over-and-under-sidebars__sidebar-content{padding:16px}\n"] }]
48
- }] });
49
-
50
- class SideFixedSidebarComponent {
51
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: SideFixedSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
52
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: SideFixedSidebarComponent, isStandalone: true, selector: "side-fixed-sidebar", ngImport: i0, template: "<daff-sidebar-viewport navPlacement=\"beside\">\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"side-fixed-sidebar\">\n Fixed sidebar content\n </daff-sidebar>\n <nav daff-sidebar-viewport-nav daff-navbar>Navbar</nav>\n <div class=\"content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.side-fixed-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{padding:24px;height:480px}\n"], dependencies: [{ kind: "component", type: i1.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode"], outputs: ["escapePressed"] }, { kind: "component", type: i1.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }, { kind: "component", type: i2$1.DaffNavbarComponent, selector: "nav[daff-navbar]", inputs: ["raised"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
53
- }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: SideFixedSidebarComponent, decorators: [{
55
- type: Component,
56
- args: [{ selector: 'side-fixed-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, imports: [DAFF_SIDEBAR_COMPONENTS, DAFF_NAVBAR_COMPONENTS], template: "<daff-sidebar-viewport navPlacement=\"beside\">\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"side-fixed-sidebar\">\n Fixed sidebar content\n </daff-sidebar>\n <nav daff-sidebar-viewport-nav daff-navbar>Navbar</nav>\n <div class=\"content\">\n Page content\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.side-fixed-sidebar{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{padding:24px;height:480px}\n"] }]
57
- }] });
58
-
59
- class SidebarSidesComponent {
60
- constructor() {
61
- this.faTimes = faTimes;
62
- this.open = false;
63
- this.sideControl = new FormControl('left');
64
- }
65
- openSidebar() {
66
- this.open = !this.open;
67
- }
68
- closeSidebar() {
69
- this.open = false;
70
- }
71
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: SidebarSidesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
72
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: SidebarSidesComponent, isStandalone: true, selector: "sidebar-sides", ngImport: i0, template: "<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" mode=\"over\" [side]=\"sideControl.value\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header [dismissible]=\"true\" (closeSidebar)=\"closeSidebar()\">\n <div daffSidebarHeaderTitle>Title</div>\n </daff-sidebar-header>\n <div class=\"over-and-under-sidebars__sidebar-content\">\n Sidebar content\n </div>\n <daff-sidebar-footer>\n <div class=\"over-and-under-sidebars__footer\">\n Sidebar footer\n </div>\n </daff-sidebar-footer>\n </daff-sidebar>\n <div class=\"over-and-under-sidebars__body-content\">\n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Side:</div>\n <select [formControl]=\"sideControl\">\n <option value=\"left\">Left</option>\n <option value=\"right\">Right</option>\n </select>\n </div>\n\n <button daff-button (click)=\"openSidebar()\">\n Open\n </button>\n </div>\n</daff-sidebar-viewport>\n", styles: ["daff-sidebar-viewport{height:288px}.over-and-under-sidebars__options-container{display:flex;gap:8px;margin:0 0 16px}.over-and-under-sidebars__footer,.over-and-under-sidebars__sidebar-content{padding:16px}\n"], dependencies: [{ kind: "component", type: i1.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode"], outputs: ["escapePressed"] }, { kind: "component", type: i1.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }, { kind: "component", type: i1.DaffSidebarHeaderComponent, selector: "daff-sidebar-header", inputs: ["dismissible"], outputs: ["closeSidebar"] }, { kind: "component", type: i1.DaffSidebarFooterComponent, selector: "daff-sidebar-footer" }, { kind: "directive", type: i1.DaffSidebarHeaderTitleDirective, selector: "[daffSidebarHeaderTitle]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: DaffButtonComponent, selector: "button[daff-button],a[daff-button]", inputs: ["elevated"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
73
- }
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: SidebarSidesComponent, decorators: [{
75
- type: Component,
76
- args: [{ selector: 'sidebar-sides', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
77
- DAFF_SIDEBAR_COMPONENTS,
78
- FaIconComponent,
79
- ReactiveFormsModule,
80
- DaffButtonComponent,
81
- DaffIconButtonComponent,
82
- ], template: "<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" mode=\"over\" [side]=\"sideControl.value\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header [dismissible]=\"true\" (closeSidebar)=\"closeSidebar()\">\n <div daffSidebarHeaderTitle>Title</div>\n </daff-sidebar-header>\n <div class=\"over-and-under-sidebars__sidebar-content\">\n Sidebar content\n </div>\n <daff-sidebar-footer>\n <div class=\"over-and-under-sidebars__footer\">\n Sidebar footer\n </div>\n </daff-sidebar-footer>\n </daff-sidebar>\n <div class=\"over-and-under-sidebars__body-content\">\n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Side:</div>\n <select [formControl]=\"sideControl\">\n <option value=\"left\">Left</option>\n <option value=\"right\">Right</option>\n </select>\n </div>\n\n <button daff-button (click)=\"openSidebar()\">\n Open\n </button>\n </div>\n</daff-sidebar-viewport>\n", styles: ["daff-sidebar-viewport{height:288px}.over-and-under-sidebars__options-container{display:flex;gap:8px;margin:0 0 16px}.over-and-under-sidebars__footer,.over-and-under-sidebars__sidebar-content{padding:16px}\n"] }]
83
- }] });
84
-
85
- class SidebarWithStickyContentComponent {
86
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: SidebarWithStickyContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
87
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: SidebarWithStickyContentComponent, isStandalone: true, selector: "sidebar-with-sticky-content", ngImport: i0, template: "<daff-sidebar-viewport>\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"sidebar-with-sticky-content\">\n Fixed sidebar content\n </daff-sidebar>\n <div class=\"content\">\n <div class=\"sticky\">\n <div>Sticky content</div>\n </div>\n <div class=\"inner-content\">Inner content</div>\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.sidebar-with-sticky-content{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{height:480px}.sticky{position:sticky;background:#fafafa;padding:16px;top:0}.inner-content{padding:16px}\n"], dependencies: [{ kind: "component", type: i1.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode"], outputs: ["escapePressed"] }, { kind: "component", type: i1.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: ["navPlacement"], outputs: ["backdropClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
88
- }
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: SidebarWithStickyContentComponent, decorators: [{
90
- type: Component,
91
- args: [{ selector: 'sidebar-with-sticky-content', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
92
- DAFF_SIDEBAR_COMPONENTS,
93
- ], template: "<daff-sidebar-viewport>\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"sidebar-with-sticky-content\">\n Fixed sidebar content\n </daff-sidebar>\n <div class=\"content\">\n <div class=\"sticky\">\n <div>Sticky content</div>\n </div>\n <div class=\"inner-content\">Inner content</div>\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:288px}.sidebar-with-sticky-content{border-right:1px solid rgb(var(--daff-theme-contrast-rgb),.1)}.content{height:480px}.sticky{position:sticky;background:#fafafa;padding:16px;top:0}.inner-content{padding:16px}\n"] }]
94
- }] });
95
-
96
- const SIDEBAR_EXAMPLES = [
97
- BasicSidebarComponent,
98
- OverandUnderSidebarsComponent,
99
- SideFixedSidebarComponent,
100
- SidebarWithStickyContentComponent,
101
- SidebarSidesComponent,
102
- ];
103
-
104
- /**
105
- * Generated bundle index. Do not edit.
106
- */
107
-
108
- export { SIDEBAR_EXAMPLES };
109
- //# sourceMappingURL=daffodil-design-sidebar-examples.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"daffodil-design-sidebar-examples.mjs","sources":["../../../libs/design/sidebar/examples/src/basic-sidebar/basic-sidebar.component.ts","../../../libs/design/sidebar/examples/src/basic-sidebar/basic-sidebar.component.html","../../../libs/design/sidebar/examples/src/over-and-under-sidebars/over-and-under-sidebars.component.ts","../../../libs/design/sidebar/examples/src/over-and-under-sidebars/over-and-under-sidebars.component.html","../../../libs/design/sidebar/examples/src/side-fixed-sidebar/side-fixed-sidebar.component.ts","../../../libs/design/sidebar/examples/src/side-fixed-sidebar/side-fixed-sidebar.component.html","../../../libs/design/sidebar/examples/src/sidebar-sides/sidebar-sides.component.ts","../../../libs/design/sidebar/examples/src/sidebar-sides/sidebar-sides.component.html","../../../libs/design/sidebar/examples/src/sidebar-with-sticky-content/sidebar-with-sticky-content.component.ts","../../../libs/design/sidebar/examples/src/sidebar-with-sticky-content/sidebar-with-sticky-content.component.html","../../../libs/design/sidebar/examples/src/public_api.ts","../../../libs/design/sidebar/examples/src/daffodil-design-sidebar-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DAFF_SIDEBAR_COMPONENTS } from '@daffodil/design/sidebar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-sidebar',\n templateUrl: './basic-sidebar.component.html',\n styleUrls: ['./basic-sidebar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DAFF_SIDEBAR_COMPONENTS,\n ],\n})\nexport class BasicSidebarComponent {}\n","<daff-sidebar-viewport>\n <daff-sidebar class=\"basic-sidebar\">\n <daff-sidebar-header>\n Sidebar Title\n </daff-sidebar-header>\n Sidebar content\n </daff-sidebar>\n <div class=\"basic-sidebar__content\">\n Page content\n </div>\n</daff-sidebar-viewport>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n FormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faTimes } from '@fortawesome/free-solid-svg-icons';\n\nimport {\n DaffButtonComponent,\n DaffIconButtonComponent,\n} from '@daffodil/design/button';\nimport { DAFF_SIDEBAR_COMPONENTS } from '@daffodil/design/sidebar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'over-and-under-sidebars',\n templateUrl: './over-and-under-sidebars.component.html',\n styleUrls: ['over-and-under-sidebars.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DAFF_SIDEBAR_COMPONENTS,\n FaIconComponent,\n ReactiveFormsModule,\n DaffButtonComponent,\n DaffIconButtonComponent,\n ],\n})\nexport class OverandUnderSidebarsComponent {\n faTimes = faTimes;\n\n open = false;\n\n modeControl: FormControl = new FormControl('over');\n\n openSidebar() {\n this.open = !this.open;\n }\n\n closeSidebar() {\n this.open = false;\n }\n}\n","<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" [mode]=\"modeControl.value\" side=\"left\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header [dismissible]=\"true\" (closeSidebar)=\"closeSidebar()\">\n <div daffSidebarHeaderTitle>Title</div>\n </daff-sidebar-header>\n <div class=\"over-and-under-sidebars__sidebar-content\">\n Sidebar content\n </div>\n <daff-sidebar-footer>\n <div class=\"over-and-under-sidebars__footer\">\n Sidebar footer\n </div>\n </daff-sidebar-footer>\n </daff-sidebar>\n <div class=\"over-and-under-sidebars__body-content\">\n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Mode:</div>\n <select [formControl]=\"modeControl\">\n <option value=\"over\">Over</option>\n <option value=\"under\">Under</option>\n </select>\n </div>\n\n <button daff-button (click)=\"openSidebar()\">\n Open\n </button>\n </div>\n</daff-sidebar-viewport>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DAFF_NAVBAR_COMPONENTS } from '@daffodil/design/navbar';\nimport { DAFF_SIDEBAR_COMPONENTS } from '@daffodil/design/sidebar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'side-fixed-sidebar',\n templateUrl: './side-fixed-sidebar.component.html',\n styleUrls: ['side-fixed-sidebar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [DAFF_SIDEBAR_COMPONENTS, DAFF_NAVBAR_COMPONENTS],\n})\nexport class SideFixedSidebarComponent {}\n","<daff-sidebar-viewport navPlacement=\"beside\">\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"side-fixed-sidebar\">\n Fixed sidebar content\n </daff-sidebar>\n <nav daff-sidebar-viewport-nav daff-navbar>Navbar</nav>\n <div class=\"content\">\n Page content\n </div>\n</daff-sidebar-viewport>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n FormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faTimes } from '@fortawesome/free-solid-svg-icons';\n\nimport {\n DaffButtonComponent,\n DaffIconButtonComponent,\n} from '@daffodil/design/button';\nimport { DAFF_SIDEBAR_COMPONENTS } from '@daffodil/design/sidebar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'sidebar-sides',\n templateUrl: './sidebar-sides.component.html',\n styleUrls: ['sidebar-sides.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DAFF_SIDEBAR_COMPONENTS,\n FaIconComponent,\n ReactiveFormsModule,\n DaffButtonComponent,\n DaffIconButtonComponent,\n ],\n})\nexport class SidebarSidesComponent {\n faTimes = faTimes;\n\n open = false;\n\n sideControl: FormControl = new FormControl('left');\n\n openSidebar() {\n this.open = !this.open;\n }\n\n closeSidebar() {\n this.open = false;\n }\n}\n","<daff-sidebar-viewport (backdropClicked)=\"closeSidebar()\">\n <daff-sidebar class=\"over-sidebar\" mode=\"over\" [side]=\"sideControl.value\" [open]=\"open\" (escapePressed)=\"closeSidebar()\">\n <daff-sidebar-header [dismissible]=\"true\" (closeSidebar)=\"closeSidebar()\">\n <div daffSidebarHeaderTitle>Title</div>\n </daff-sidebar-header>\n <div class=\"over-and-under-sidebars__sidebar-content\">\n Sidebar content\n </div>\n <daff-sidebar-footer>\n <div class=\"over-and-under-sidebars__footer\">\n Sidebar footer\n </div>\n </daff-sidebar-footer>\n </daff-sidebar>\n <div class=\"over-and-under-sidebars__body-content\">\n <div class=\"over-and-under-sidebars__options-container\">\n <div class=\"over-and-under-sidebars__option-text\">Side:</div>\n <select [formControl]=\"sideControl\">\n <option value=\"left\">Left</option>\n <option value=\"right\">Right</option>\n </select>\n </div>\n\n <button daff-button (click)=\"openSidebar()\">\n Open\n </button>\n </div>\n</daff-sidebar-viewport>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DAFF_SIDEBAR_COMPONENTS } from '@daffodil/design/sidebar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'sidebar-with-sticky-content',\n templateUrl: './sidebar-with-sticky-content.component.html',\n styleUrls: ['sidebar-with-sticky-content.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DAFF_SIDEBAR_COMPONENTS,\n ],\n})\nexport class SidebarWithStickyContentComponent {}\n","<daff-sidebar-viewport>\n <daff-sidebar mode=\"side-fixed\" [open]=\"true\" class=\"sidebar-with-sticky-content\">\n Fixed sidebar content\n </daff-sidebar>\n <div class=\"content\">\n <div class=\"sticky\">\n <div>Sticky content</div>\n </div>\n <div class=\"inner-content\">Inner content</div>\n </div>\n</daff-sidebar-viewport>","import { BasicSidebarComponent } from './basic-sidebar/basic-sidebar.component';\nimport { OverandUnderSidebarsComponent } from './over-and-under-sidebars/over-and-under-sidebars.component';\nimport { SideFixedSidebarComponent } from './side-fixed-sidebar/side-fixed-sidebar.component';\nimport { SidebarSidesComponent } from './sidebar-sides/sidebar-sides.component';\nimport { SidebarWithStickyContentComponent } from './sidebar-with-sticky-content/sidebar-with-sticky-content.component';\n\nexport const SIDEBAR_EXAMPLES = [\n BasicSidebarComponent,\n OverandUnderSidebarsComponent,\n SideFixedSidebarComponent,\n SidebarWithStickyContentComponent,\n SidebarSidesComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2"],"mappings":";;;;;;;;;;;;MAiBa,qBAAqB,CAAA;iIAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CA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CAAiC;IACjC,qBAAqB;;;ACXvB;;AAEG;;;;"}
@@ -1,25 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { DaffStickyTrackerDirective } from '@daffodil/design';
4
-
5
- class BasicStickyComponent {
6
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: BasicStickyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: BasicStickyComponent, isStandalone: true, selector: "basic-sticky", ngImport: i0, template: "<div class=\"basic-sticky\">\n <div class=\"basic-sticky__section\">\n <h3>Top Sticky Example</h3>\n <div class=\"basic-sticky__container\">\n <div class=\"basic-sticky__content-before\">\n <p>Scroll down to see the header stick to the top...</p>\n <p>The header below will stick to the top when you scroll past it.</p>\n <p>Notice how its appearance changes when it becomes \"pinned\".</p>\n </div>\n \n <div \n daffStickyTracker sticky=\"top\"\n class=\"basic-sticky__header\">\n <span class=\"basic-sticky__text\">Header - Sticks to Top</span>\n <span class=\"basic-sticky__indicator\">Pinned!</span>\n </div>\n \n <div class=\"basic-sticky__content-middle\">\n <p>Keep scrolling to see the sticky behavior...</p>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>\n <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>\n <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>\n <p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.</p>\n </div>\n </div>\n </div>\n\n <div class=\"basic-sticky__section\">\n <h3>Bottom Sticky Example</h3>\n <div class=\"basic-sticky__container basic-sticky__container--bottom\">\n <div class=\"basic-sticky__spacer\">\n <p>Scroll down to see the footer stick to the bottom...</p>\n <p>The footer is positioned naturally in the content below.</p>\n <p>Continue scrolling to see it enter the viewport and then stick!</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Keep scrolling down...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Almost there...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>You should see the footer appear below this text:</p>\n </div>\n \n <div \n daffStickyTracker sticky=\"bottom\"\n class=\"basic-sticky__footer\">\n <span class=\"basic-sticky__text\">Footer - Sticks to Bottom</span>\n <span class=\"basic-sticky__indicator\">Pinned!</span>\n </div>\n \n <div class=\"basic-sticky__spacer-after\">\n <p>This content appears after the footer.</p>\n <p>When you scroll past the footer, it should stick to the bottom.</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>The footer should remain pinned as you scroll through this content.</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Keep scrolling to test the sticky behavior...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>End of content.</p>\n </div>\n </div>\n </div> \n \n <div class=\"basic-sticky__section\">\n <h3>Top Sticky (First Element in Container)</h3>\n <div class=\"basic-sticky__container\">\n <div \n daffStickyTracker sticky=\"top\"\n class=\"basic-sticky__header\">\n <span class=\"basic-sticky__text\">Header - Sticks to Top</span>\n <span class=\"basic-sticky__indicator\">Pinned!</span>\n </div>\n <div class=\"basic-sticky__content-before\">\n <p>Scroll down to see the header stick to the top...</p>\n <p>The header below will stick to the top when you scroll past it.</p>\n <p>Notice how its appearance changes when it becomes \"pinned\".</p>\n </div>\n \n \n <div class=\"basic-sticky__content-middle\">\n <p>Keep scrolling to see the sticky behavior...</p>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>\n <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>\n <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>\n <p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.</p>\n </div>\n </div>\n </div> \n\n <div class=\"basic-sticky__section\">\n <h3>Bottom Sticky (Last Element in Container)</h3>\n <div class=\"basic-sticky__container basic-sticky__container--bottom\">\n <div class=\"basic-sticky__spacer\">\n <p>Scroll down to see the footer stick to the bottom...</p>\n <p>The footer is positioned naturally in the content below.</p>\n <p>Continue scrolling to see it enter the viewport and then stick!</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Keep scrolling down...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Almost there...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>You should see the footer appear below this text:</p>\n </div>\n \n \n <div class=\"basic-sticky__spacer-after\">\n <p>This content appears after the footer.</p>\n <p>When you scroll past the footer, it should stick to the bottom.</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>The footer should remain pinned as you scroll through this content.</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Keep scrolling to test the sticky behavior...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>End of content.</p>\n </div>\n <div \n daffStickyTracker sticky=\"bottom\"\n class=\"basic-sticky__footer\">\n <span class=\"basic-sticky__text\">Footer - Sticks to Bottom</span>\n <span class=\"basic-sticky__indicator\">Pinned!</span>\n </div>\n </div>\n </div> \n\n</div> ", styles: [".basic-sticky__section{margin-bottom:40px}.basic-sticky__section h3{margin-bottom:16px;font-size:1.2em;font-weight:600}.basic-sticky__container{height:300px;overflow-y:auto;border:1px solid #ddd;border-radius:8px;background:#fff}.basic-sticky__container--bottom{height:400px}.basic-sticky__content-before,.basic-sticky__content-middle,.basic-sticky__content-after,.basic-sticky__spacer,.basic-sticky__spacer-after{padding:20px}.basic-sticky__content-before p,.basic-sticky__content-middle p,.basic-sticky__content-after p,.basic-sticky__spacer p,.basic-sticky__spacer-after p{margin:8px 0;line-height:1.6;color:#666}.basic-sticky__content-before{background:#f8f9fa;min-height:120px}.basic-sticky__content-middle{background:#fff;min-height:400px}.basic-sticky__content-after{background:#f1f3f4;min-height:300px;padding-bottom:40px}.basic-sticky__spacer{background:#f8f9fa;padding:20px}.basic-sticky__spacer-after{background:#f1f3f4;padding:20px}.basic-sticky__header,.basic-sticky__element{position:sticky;top:0;padding:16px 20px;background:#2196f3;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:space-between;transition:all .3s ease;border-bottom:3px solid #1976d2;z-index:10}.basic-sticky__header .basic-sticky__indicator,.basic-sticky__element .basic-sticky__indicator{opacity:0;transform:translate(10px);transition:all .3s ease;font-size:.9em}.basic-sticky__header.is-pinned,.basic-sticky__element.is-pinned{background:#4caf50;border-bottom-color:#388e3c;box-shadow:0 4px 8px #00000026}.basic-sticky__header.is-pinned .basic-sticky__indicator,.basic-sticky__element.is-pinned .basic-sticky__indicator{opacity:1;transform:translate(0)}.basic-sticky__header.is-pinned .basic-sticky__text,.basic-sticky__element.is-pinned .basic-sticky__text{opacity:.95}.basic-sticky__footer{position:sticky;bottom:0;padding:16px 20px;background:#ff9800;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:space-between;transition:all .3s ease;border-top:3px solid #f57c00;z-index:10}.basic-sticky__footer .basic-sticky__indicator{opacity:0;transform:translate(-10px);transition:all .3s ease;font-size:.9em}.basic-sticky__footer.is-pinned{background:#e91e63;border-top-color:#c2185b;box-shadow:0 -4px 8px #00000026}.basic-sticky__footer.is-pinned .basic-sticky__indicator{opacity:1;transform:translate(0)}.basic-sticky__footer.is-pinned .basic-sticky__text{opacity:.95}.basic-sticky__text{font-size:1em;transition:opacity .3s ease}\n"], dependencies: [{ kind: "directive", type: DaffStickyTrackerDirective, selector: "[daffStickyTracker]", inputs: ["sticky"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8
- }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: BasicStickyComponent, decorators: [{
10
- type: Component,
11
- args: [{ selector: 'basic-sticky', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
12
- DaffStickyTrackerDirective,
13
- ], template: "<div class=\"basic-sticky\">\n <div class=\"basic-sticky__section\">\n <h3>Top Sticky Example</h3>\n <div class=\"basic-sticky__container\">\n <div class=\"basic-sticky__content-before\">\n <p>Scroll down to see the header stick to the top...</p>\n <p>The header below will stick to the top when you scroll past it.</p>\n <p>Notice how its appearance changes when it becomes \"pinned\".</p>\n </div>\n \n <div \n daffStickyTracker sticky=\"top\"\n class=\"basic-sticky__header\">\n <span class=\"basic-sticky__text\">Header - Sticks to Top</span>\n <span class=\"basic-sticky__indicator\">Pinned!</span>\n </div>\n \n <div class=\"basic-sticky__content-middle\">\n <p>Keep scrolling to see the sticky behavior...</p>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>\n <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>\n <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>\n <p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.</p>\n </div>\n </div>\n </div>\n\n <div class=\"basic-sticky__section\">\n <h3>Bottom Sticky Example</h3>\n <div class=\"basic-sticky__container basic-sticky__container--bottom\">\n <div class=\"basic-sticky__spacer\">\n <p>Scroll down to see the footer stick to the bottom...</p>\n <p>The footer is positioned naturally in the content below.</p>\n <p>Continue scrolling to see it enter the viewport and then stick!</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Keep scrolling down...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Almost there...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>You should see the footer appear below this text:</p>\n </div>\n \n <div \n daffStickyTracker sticky=\"bottom\"\n class=\"basic-sticky__footer\">\n <span class=\"basic-sticky__text\">Footer - Sticks to Bottom</span>\n <span class=\"basic-sticky__indicator\">Pinned!</span>\n </div>\n \n <div class=\"basic-sticky__spacer-after\">\n <p>This content appears after the footer.</p>\n <p>When you scroll past the footer, it should stick to the bottom.</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>The footer should remain pinned as you scroll through this content.</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Keep scrolling to test the sticky behavior...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>End of content.</p>\n </div>\n </div>\n </div> \n \n <div class=\"basic-sticky__section\">\n <h3>Top Sticky (First Element in Container)</h3>\n <div class=\"basic-sticky__container\">\n <div \n daffStickyTracker sticky=\"top\"\n class=\"basic-sticky__header\">\n <span class=\"basic-sticky__text\">Header - Sticks to Top</span>\n <span class=\"basic-sticky__indicator\">Pinned!</span>\n </div>\n <div class=\"basic-sticky__content-before\">\n <p>Scroll down to see the header stick to the top...</p>\n <p>The header below will stick to the top when you scroll past it.</p>\n <p>Notice how its appearance changes when it becomes \"pinned\".</p>\n </div>\n \n \n <div class=\"basic-sticky__content-middle\">\n <p>Keep scrolling to see the sticky behavior...</p>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>\n <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>\n <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>\n <p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.</p>\n </div>\n </div>\n </div> \n\n <div class=\"basic-sticky__section\">\n <h3>Bottom Sticky (Last Element in Container)</h3>\n <div class=\"basic-sticky__container basic-sticky__container--bottom\">\n <div class=\"basic-sticky__spacer\">\n <p>Scroll down to see the footer stick to the bottom...</p>\n <p>The footer is positioned naturally in the content below.</p>\n <p>Continue scrolling to see it enter the viewport and then stick!</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Keep scrolling down...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Almost there...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>You should see the footer appear below this text:</p>\n </div>\n \n \n <div class=\"basic-sticky__spacer-after\">\n <p>This content appears after the footer.</p>\n <p>When you scroll past the footer, it should stick to the bottom.</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>The footer should remain pinned as you scroll through this content.</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Keep scrolling to test the sticky behavior...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>End of content.</p>\n </div>\n <div \n daffStickyTracker sticky=\"bottom\"\n class=\"basic-sticky__footer\">\n <span class=\"basic-sticky__text\">Footer - Sticks to Bottom</span>\n <span class=\"basic-sticky__indicator\">Pinned!</span>\n </div>\n </div>\n </div> \n\n</div> ", styles: [".basic-sticky__section{margin-bottom:40px}.basic-sticky__section h3{margin-bottom:16px;font-size:1.2em;font-weight:600}.basic-sticky__container{height:300px;overflow-y:auto;border:1px solid #ddd;border-radius:8px;background:#fff}.basic-sticky__container--bottom{height:400px}.basic-sticky__content-before,.basic-sticky__content-middle,.basic-sticky__content-after,.basic-sticky__spacer,.basic-sticky__spacer-after{padding:20px}.basic-sticky__content-before p,.basic-sticky__content-middle p,.basic-sticky__content-after p,.basic-sticky__spacer p,.basic-sticky__spacer-after p{margin:8px 0;line-height:1.6;color:#666}.basic-sticky__content-before{background:#f8f9fa;min-height:120px}.basic-sticky__content-middle{background:#fff;min-height:400px}.basic-sticky__content-after{background:#f1f3f4;min-height:300px;padding-bottom:40px}.basic-sticky__spacer{background:#f8f9fa;padding:20px}.basic-sticky__spacer-after{background:#f1f3f4;padding:20px}.basic-sticky__header,.basic-sticky__element{position:sticky;top:0;padding:16px 20px;background:#2196f3;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:space-between;transition:all .3s ease;border-bottom:3px solid #1976d2;z-index:10}.basic-sticky__header .basic-sticky__indicator,.basic-sticky__element .basic-sticky__indicator{opacity:0;transform:translate(10px);transition:all .3s ease;font-size:.9em}.basic-sticky__header.is-pinned,.basic-sticky__element.is-pinned{background:#4caf50;border-bottom-color:#388e3c;box-shadow:0 4px 8px #00000026}.basic-sticky__header.is-pinned .basic-sticky__indicator,.basic-sticky__element.is-pinned .basic-sticky__indicator{opacity:1;transform:translate(0)}.basic-sticky__header.is-pinned .basic-sticky__text,.basic-sticky__element.is-pinned .basic-sticky__text{opacity:.95}.basic-sticky__footer{position:sticky;bottom:0;padding:16px 20px;background:#ff9800;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:space-between;transition:all .3s ease;border-top:3px solid #f57c00;z-index:10}.basic-sticky__footer .basic-sticky__indicator{opacity:0;transform:translate(-10px);transition:all .3s ease;font-size:.9em}.basic-sticky__footer.is-pinned{background:#e91e63;border-top-color:#c2185b;box-shadow:0 -4px 8px #00000026}.basic-sticky__footer.is-pinned .basic-sticky__indicator{opacity:1;transform:translate(0)}.basic-sticky__footer.is-pinned .basic-sticky__text{opacity:.95}.basic-sticky__text{font-size:1em;transition:opacity .3s ease}\n"] }]
14
- }] });
15
-
16
- const STICKY_EXAMPLES = [
17
- BasicStickyComponent,
18
- ];
19
-
20
- /**
21
- * Generated bundle index. Do not edit.
22
- */
23
-
24
- export { STICKY_EXAMPLES };
25
- //# sourceMappingURL=daffodil-design-sticky-examples.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"daffodil-design-sticky-examples.mjs","sources":["../../../libs/design/sticky/examples/src/basic-sticky/basic-sticky.component.ts","../../../libs/design/sticky/examples/src/basic-sticky/basic-sticky.component.html","../../../libs/design/sticky/examples/src/public_api.ts","../../../libs/design/sticky/examples/src/daffodil-design-sticky-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DaffStickyTrackerDirective } from '@daffodil/design';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-sticky',\n templateUrl: './basic-sticky.component.html',\n styleUrls: ['./basic-sticky.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DaffStickyTrackerDirective,\n ],\n})\nexport class BasicStickyComponent {}\n","<div class=\"basic-sticky\">\n <div class=\"basic-sticky__section\">\n <h3>Top Sticky Example</h3>\n <div class=\"basic-sticky__container\">\n <div class=\"basic-sticky__content-before\">\n <p>Scroll down to see the header stick to the top...</p>\n <p>The header below will stick to the top when you scroll past it.</p>\n <p>Notice how its appearance changes when it becomes \"pinned\".</p>\n </div>\n \n <div \n daffStickyTracker sticky=\"top\"\n class=\"basic-sticky__header\">\n <span class=\"basic-sticky__text\">Header - Sticks to Top</span>\n <span class=\"basic-sticky__indicator\">Pinned!</span>\n </div>\n \n <div class=\"basic-sticky__content-middle\">\n <p>Keep scrolling to see the sticky behavior...</p>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>\n <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>\n <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>\n <p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.</p>\n </div>\n </div>\n </div>\n\n <div class=\"basic-sticky__section\">\n <h3>Bottom Sticky Example</h3>\n <div class=\"basic-sticky__container basic-sticky__container--bottom\">\n <div class=\"basic-sticky__spacer\">\n <p>Scroll down to see the footer stick to the bottom...</p>\n <p>The footer is positioned naturally in the content below.</p>\n <p>Continue scrolling to see it enter the viewport and then stick!</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Keep scrolling down...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Almost there...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>You should see the footer appear below this text:</p>\n </div>\n \n <div \n daffStickyTracker sticky=\"bottom\"\n class=\"basic-sticky__footer\">\n <span class=\"basic-sticky__text\">Footer - Sticks to Bottom</span>\n <span class=\"basic-sticky__indicator\">Pinned!</span>\n </div>\n \n <div class=\"basic-sticky__spacer-after\">\n <p>This content appears after the footer.</p>\n <p>When you scroll past the footer, it should stick to the bottom.</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>The footer should remain pinned as you scroll through this content.</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Keep scrolling to test the sticky behavior...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>End of content.</p>\n </div>\n </div>\n </div> \n \n <div class=\"basic-sticky__section\">\n <h3>Top Sticky (First Element in Container)</h3>\n <div class=\"basic-sticky__container\">\n <div \n daffStickyTracker sticky=\"top\"\n class=\"basic-sticky__header\">\n <span class=\"basic-sticky__text\">Header - Sticks to Top</span>\n <span class=\"basic-sticky__indicator\">Pinned!</span>\n </div>\n <div class=\"basic-sticky__content-before\">\n <p>Scroll down to see the header stick to the top...</p>\n <p>The header below will stick to the top when you scroll past it.</p>\n <p>Notice how its appearance changes when it becomes \"pinned\".</p>\n </div>\n \n \n <div class=\"basic-sticky__content-middle\">\n <p>Keep scrolling to see the sticky behavior...</p>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>\n <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>\n <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>\n <p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.</p>\n </div>\n </div>\n </div> \n\n <div class=\"basic-sticky__section\">\n <h3>Bottom Sticky (Last Element in Container)</h3>\n <div class=\"basic-sticky__container basic-sticky__container--bottom\">\n <div class=\"basic-sticky__spacer\">\n <p>Scroll down to see the footer stick to the bottom...</p>\n <p>The footer is positioned naturally in the content below.</p>\n <p>Continue scrolling to see it enter the viewport and then stick!</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Keep scrolling down...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Almost there...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>You should see the footer appear below this text:</p>\n </div>\n \n \n <div class=\"basic-sticky__spacer-after\">\n <p>This content appears after the footer.</p>\n <p>When you scroll past the footer, it should stick to the bottom.</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>The footer should remain pinned as you scroll through this content.</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>Keep scrolling to test the sticky behavior...</p>\n <br><br><br><br><br><br><br><br><br><br>\n <p>End of content.</p>\n </div>\n <div \n daffStickyTracker sticky=\"bottom\"\n class=\"basic-sticky__footer\">\n <span class=\"basic-sticky__text\">Footer - Sticks to Bottom</span>\n <span class=\"basic-sticky__indicator\">Pinned!</span>\n </div>\n </div>\n </div> \n\n</div> ","import { BasicStickyComponent } from './basic-sticky/basic-sticky.component';\n\nexport const STICKY_EXAMPLES = [\n BasicStickyComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAiBa,oBAAoB,CAAA;iIAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;qHAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECjBjC,q7LA6HO,EAAA,MAAA,EAAA,CAAA,s6EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,ED/GH,0BAA0B,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGjB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAVhC,SAAS;AAEE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,cAAc,EAAA,eAAA,EAGP,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC;wBACP,0BAA0B;AAC3B,qBAAA,EAAA,QAAA,EAAA,q7LAAA,EAAA,MAAA,EAAA,CAAA,s6EAAA,CAAA,EAAA;;;AEbI,MAAM,eAAe,GAAG;IAC7B,oBAAoB;;;ACHtB;;AAEG;;;;"}
@@ -1,110 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { ChangeDetectionStrategy, Component } from '@angular/core';
3
- import * as i2 from '@angular/forms';
4
- import { ReactiveFormsModule, UntypedFormControl } from '@angular/forms';
5
- import * as i1 from '@daffodil/design/switch';
6
- import { DAFF_SWITCH_COMPONENTS } from '@daffodil/design/switch';
7
- import { DaffErrorMessageComponent } from '@daffodil/design/form-field';
8
- import { NgFor } from '@angular/common';
9
-
10
- class BasicSwitchComponent {
11
- constructor() {
12
- this.checked = false;
13
- this.disabled = false;
14
- this.loading = true;
15
- }
16
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: BasicSwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: BasicSwitchComponent, isStandalone: true, selector: "basic-switch", ngImport: i0, template: "<daff-switch [checked]=\"checked\">Default</daff-switch>", styles: [":host{display:flex;flex-wrap:wrap}\n"], dependencies: [{ kind: "component", type: i1.DaffSwitchComponent, selector: "daff-switch", inputs: ["disabled", "loading", "checked", "labelPosition", "error", "aria-label", "id"], outputs: ["toggled"] }, { kind: "ngmodule", type: ReactiveFormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
18
- }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: BasicSwitchComponent, decorators: [{
20
- type: Component,
21
- args: [{ selector: 'basic-switch', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
22
- DAFF_SWITCH_COMPONENTS,
23
- ReactiveFormsModule,
24
- ], template: "<daff-switch [checked]=\"checked\">Default</daff-switch>", styles: [":host{display:flex;flex-wrap:wrap}\n"] }]
25
- }] });
26
-
27
- class DisabledSwitchComponent {
28
- constructor() {
29
- this.checked = false;
30
- this.disabled = true;
31
- }
32
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: DisabledSwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
33
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: DisabledSwitchComponent, isStandalone: true, selector: "disabled-switch", ngImport: i0, template: "<daff-switch [checked]=\"checked\" disabled>Disabled</daff-switch>", styles: [":host{display:flex;flex-wrap:wrap}\n"], dependencies: [{ kind: "component", type: i1.DaffSwitchComponent, selector: "daff-switch", inputs: ["disabled", "loading", "checked", "labelPosition", "error", "aria-label", "id"], outputs: ["toggled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
34
- }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: DisabledSwitchComponent, decorators: [{
36
- type: Component,
37
- args: [{ selector: 'disabled-switch', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
38
- DAFF_SWITCH_COMPONENTS,
39
- ], template: "<daff-switch [checked]=\"checked\" disabled>Disabled</daff-switch>", styles: [":host{display:flex;flex-wrap:wrap}\n"] }]
40
- }] });
41
-
42
- class LoadingSwitchComponent {
43
- constructor() {
44
- this.checked = false;
45
- this.loading = true;
46
- }
47
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: LoadingSwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
48
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: LoadingSwitchComponent, isStandalone: true, selector: "loading-switch", ngImport: i0, template: "<daff-switch [checked]=\"checked\" loading=\"true\">Loading</daff-switch>", styles: [":host{display:flex;flex-wrap:wrap}\n"], dependencies: [{ kind: "component", type: i1.DaffSwitchComponent, selector: "daff-switch", inputs: ["disabled", "loading", "checked", "labelPosition", "error", "aria-label", "id"], outputs: ["toggled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
49
- }
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: LoadingSwitchComponent, decorators: [{
51
- type: Component,
52
- args: [{ selector: 'loading-switch', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
53
- DAFF_SWITCH_COMPONENTS,
54
- ], template: "<daff-switch [checked]=\"checked\" loading=\"true\">Loading</daff-switch>", styles: [":host{display:flex;flex-wrap:wrap}\n"] }]
55
- }] });
56
-
57
- class SwitchErrorComponent {
58
- constructor() {
59
- this.checked = false;
60
- this.error = false;
61
- }
62
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: SwitchErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
63
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: SwitchErrorComponent, isStandalone: true, selector: "switch-error", ngImport: i0, template: "<daff-switch [checked]=\"checked\" [error]=\"true\">\n\tNotifications\n\t<daff-error-message>Error message</daff-error-message>\n</daff-switch>\n", styles: [":host{display:flex;flex-wrap:wrap}\n"], dependencies: [{ kind: "component", type: i1.DaffSwitchComponent, selector: "daff-switch", inputs: ["disabled", "loading", "checked", "labelPosition", "error", "aria-label", "id"], outputs: ["toggled"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: DaffErrorMessageComponent, selector: "daff-error-message" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
64
- }
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: SwitchErrorComponent, decorators: [{
66
- type: Component,
67
- args: [{ selector: 'switch-error', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
68
- DAFF_SWITCH_COMPONENTS,
69
- ReactiveFormsModule,
70
- DaffErrorMessageComponent,
71
- ], template: "<daff-switch [checked]=\"checked\" [error]=\"true\">\n\tNotifications\n\t<daff-error-message>Error message</daff-error-message>\n</daff-switch>\n", styles: [":host{display:flex;flex-wrap:wrap}\n"] }]
72
- }] });
73
-
74
- class SwitchLabelPositionsComponent {
75
- constructor() {
76
- this.labelSwitchExample = new UntypedFormControl();
77
- this.labelPositionControl = new UntypedFormControl('daff-left');
78
- this.options = [
79
- { value: 'daff-left', label: 'Left' },
80
- { value: 'daff-right', label: 'Right' },
81
- { value: 'daff-top', label: 'Top' },
82
- { value: 'daff-bottom', label: 'Bottom' },
83
- ];
84
- }
85
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: SwitchLabelPositionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
86
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: SwitchLabelPositionsComponent, isStandalone: true, selector: "switch-label-positions", ngImport: i0, template: "<daff-switch [labelPosition]=\"labelPositionControl.value\" [formControl]=\"labelSwitchExample\" ngDefaultControl>Label</daff-switch>\n\n<select [formControl]=\"labelPositionControl\">\n <option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", dependencies: [{ kind: "component", type: i1.DaffSwitchComponent, selector: "daff-switch", inputs: ["disabled", "loading", "checked", "labelPosition", "error", "aria-label", "id"], outputs: ["toggled"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
87
- }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: SwitchLabelPositionsComponent, decorators: [{
89
- type: Component,
90
- args: [{ selector: 'switch-label-positions', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
91
- DAFF_SWITCH_COMPONENTS,
92
- ReactiveFormsModule,
93
- NgFor,
94
- ], template: "<daff-switch [labelPosition]=\"labelPositionControl.value\" [formControl]=\"labelSwitchExample\" ngDefaultControl>Label</daff-switch>\n\n<select [formControl]=\"labelPositionControl\">\n <option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>" }]
95
- }] });
96
-
97
- const SWITCH_EXAMPLES = [
98
- BasicSwitchComponent,
99
- DisabledSwitchComponent,
100
- LoadingSwitchComponent,
101
- SwitchErrorComponent,
102
- SwitchLabelPositionsComponent,
103
- ];
104
-
105
- /**
106
- * Generated bundle index. Do not edit.
107
- */
108
-
109
- export { BasicSwitchComponent, DisabledSwitchComponent, LoadingSwitchComponent, SWITCH_EXAMPLES, SwitchErrorComponent, SwitchLabelPositionsComponent };
110
- //# sourceMappingURL=daffodil-design-switch-examples.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"daffodil-design-switch-examples.mjs","sources":["../../../libs/design/switch/examples/src/basic-switch/basic-switch.component.ts","../../../libs/design/switch/examples/src/basic-switch/basic-switch.component.html","../../../libs/design/switch/examples/src/disabled-switch/disabled-switch.component.ts","../../../libs/design/switch/examples/src/disabled-switch/disabled-switch.component.html","../../../libs/design/switch/examples/src/loading-switch/loading-switch.component.ts","../../../libs/design/switch/examples/src/loading-switch/loading-switch.component.html","../../../libs/design/switch/examples/src/switch-error/switch-error.component.ts","../../../libs/design/switch/examples/src/switch-error/switch-error.component.html","../../../libs/design/switch/examples/src/switch-label-positions/switch-label-positions.component.ts","../../../libs/design/switch/examples/src/switch-label-positions/switch-label-positions.component.html","../../../libs/design/switch/examples/src/examples.ts","../../../libs/design/switch/examples/src/daffodil-design-switch-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { DAFF_SWITCH_COMPONENTS } from '@daffodil/design/switch';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-switch',\n templateUrl: './basic-switch.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DAFF_SWITCH_COMPONENTS,\n ReactiveFormsModule,\n ],\n styles: [`\n :host {\n display: flex;\n flex-wrap: wrap;\n }\n `],\n})\nexport class BasicSwitchComponent {\n checked = false;\n disabled = false;\n loading = true;\n}\n","<daff-switch [checked]=\"checked\">Default</daff-switch>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DAFF_SWITCH_COMPONENTS } from '@daffodil/design/switch';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'disabled-switch',\n templateUrl: './disabled-switch.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DAFF_SWITCH_COMPONENTS,\n ],\n styles: [`\n :host {\n display: flex;\n flex-wrap: wrap;\n }\n `],\n})\nexport class DisabledSwitchComponent {\n checked = false;\n disabled = true;\n}\n","<daff-switch [checked]=\"checked\" disabled>Disabled</daff-switch>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DAFF_SWITCH_COMPONENTS } from '@daffodil/design/switch';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'loading-switch',\n templateUrl: './loading-switch.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DAFF_SWITCH_COMPONENTS,\n ],\n styles: [`\n :host {\n display: flex;\n flex-wrap: wrap;\n }\n `],\n})\nexport class LoadingSwitchComponent {\n checked = false;\n loading = true;\n}\n","<daff-switch [checked]=\"checked\" loading=\"true\">Loading</daff-switch>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { DaffErrorMessageComponent } from '@daffodil/design/form-field';\nimport { DAFF_SWITCH_COMPONENTS } from '@daffodil/design/switch';\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'switch-error',\n templateUrl: './switch-error.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DAFF_SWITCH_COMPONENTS,\n ReactiveFormsModule,\n DaffErrorMessageComponent,\n ],\n styles: [`\n :host {\n display: flex;\n flex-wrap: wrap;\n }\n `],\n})\nexport class SwitchErrorComponent {\n checked = false;\n error = false;\n}\n","<daff-switch [checked]=\"checked\" [error]=\"true\">\n\tNotifications\n\t<daff-error-message>Error message</daff-error-message>\n</daff-switch>\n","import { NgFor } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n ReactiveFormsModule,\n} from '@angular/forms';\n\nimport { DAFF_SWITCH_COMPONENTS } from '@daffodil/design/switch';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'switch-label-positions',\n templateUrl: './switch-label-positions.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n DAFF_SWITCH_COMPONENTS,\n ReactiveFormsModule,\n NgFor,\n ],\n})\nexport class SwitchLabelPositionsComponent {\n labelSwitchExample = new UntypedFormControl();\n labelPositionControl: UntypedFormControl = new UntypedFormControl('daff-left');\n\n options = [\n { value: 'daff-left', label: 'Left' },\n { value: 'daff-right', label: 'Right' },\n { value: 'daff-top', label: 'Top' },\n { value: 'daff-bottom', label: 'Bottom' },\n ];\n}\n","<daff-switch [labelPosition]=\"labelPositionControl.value\" [formControl]=\"labelSwitchExample\" ngDefaultControl>Label</daff-switch>\n\n<select [formControl]=\"labelPositionControl\">\n <option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>","import { BasicSwitchComponent } from './basic-switch/basic-switch.component';\nimport { DisabledSwitchComponent } from './disabled-switch/disabled-switch.component';\nimport { LoadingSwitchComponent } from './loading-switch/loading-switch.component';\nimport { SwitchErrorComponent } from './switch-error/switch-error.component';\nimport { SwitchLabelPositionsComponent } from './switch-label-positions/switch-label-positions.component';\n\nexport const SWITCH_EXAMPLES = [\n BasicSwitchComponent,\n DisabledSwitchComponent,\n LoadingSwitchComponent,\n SwitchErrorComponent,\n SwitchLabelPositionsComponent,\n];\n","/**\n * Generated bund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tB,oBAAoB;IACpB,6BAA6B;;;ACX/B;;AAEG;;;;"}
@@ -1,115 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { ChangeDetectionStrategy, Component, ViewChild } from '@angular/core';
3
- import { FaIconComponent } from '@fortawesome/angular-fontawesome';
4
- import { faInfoCircle } from '@fortawesome/free-solid-svg-icons';
5
- import * as i2 from '@daffodil/design';
6
- import { DaffPrefixSuffixModule } from '@daffodil/design';
7
- import * as i1 from '@daffodil/design/tabs';
8
- import { DAFF_TABS_COMPONENTS, DaffTabsComponent } from '@daffodil/design/tabs';
9
- import { DaffButtonComponent } from '@daffodil/design/button';
10
-
11
- class BasicTabsComponent {
12
- constructor() {
13
- this.faInfoCircle = faInfoCircle;
14
- }
15
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: BasicTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
16
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: BasicTabsComponent, isStandalone: true, selector: "basic-tabs", ngImport: i0, template: "<daff-tabs aria-label=\"List of tabs\">\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 1\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 1 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 2\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 2 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 3\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 3 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 4\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 4 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 5\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 5 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n</daff-tabs>", dependencies: [{ kind: "component", type: i1.DaffTabsComponent, selector: "daff-tabs", inputs: ["initiallySelected", "aria-label", "linkMode", "url", "queryParam"], outputs: ["tabChange"] }, { kind: "component", type: i1.DaffTabLabelComponent, selector: "daff-tab-label" }, { kind: "component", type: i1.DaffTabPanelComponent, selector: "daff-tab-panel" }, { kind: "component", type: i1.DaffTabComponent, selector: "daff-tab", inputs: ["disabled", "id"] }, { kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"], outputs: ["iconChange", "titleChange", "animationChange", "maskChange", "flipChange", "sizeChange", "pullChange", "borderChange", "inverseChange", "symbolChange", "rotateChange", "fixedWidthChange", "transformChange", "a11yRoleChange"] }, { kind: "ngmodule", type: DaffPrefixSuffixModule }, { kind: "directive", type: i2.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "directive", type: i2.DaffSuffixDirective, selector: "[daffSuffix]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
17
- }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: BasicTabsComponent, decorators: [{
19
- type: Component,
20
- args: [{ selector: 'basic-tabs', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
21
- DAFF_TABS_COMPONENTS,
22
- FaIconComponent,
23
- DaffPrefixSuffixModule,
24
- ], template: "<daff-tabs aria-label=\"List of tabs\">\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 1\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 1 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 2\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 2 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 3\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 3 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 4\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 4 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 5\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 5 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n</daff-tabs>" }]
25
- }] });
26
-
27
- class CustomSelectTabsComponent {
28
- constructor() {
29
- this.faInfoCircle = faInfoCircle;
30
- this.selectedTab = 'tab-3';
31
- }
32
- selectTabThree() {
33
- this._tab.select('tab-3');
34
- }
35
- selectTabFive() {
36
- this._tab.select('tab-5');
37
- }
38
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: CustomSelectTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
39
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: CustomSelectTabsComponent, isStandalone: true, selector: "custom-select-tabs", viewQueries: [{ propertyName: "_tab", first: true, predicate: DaffTabsComponent, descendants: true }], ngImport: i0, template: "<div class=\"custom-select-tabs__buttons\">\n\t<button daff-button size=\"sm\" (click)=\"selectTabThree()\">\n\t\tSelect Tab 3\n\t</button>\n\t\n\t<button daff-button size=\"sm\" (click)=\"selectTabFive()\">\n\t\tSelect Tab 5\n\t</button>\n</div>\n\n<daff-tabs aria-label=\"List of tabs\">\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 1\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 1 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 2\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 2 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab id=\"tab-3\">\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 3\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 3 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 4\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 4 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab id=\"tab-5\">\n\t\t<daff-tab-label>\n\t\t\tTab 5\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 5 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\t\n</daff-tabs>", styles: [".custom-select-tabs__buttons{display:flex;gap:8px;margin:0 0 16px}\n"], dependencies: [{ kind: "component", type: i1.DaffTabsComponent, selector: "daff-tabs", inputs: ["initiallySelected", "aria-label", "linkMode", "url", "queryParam"], outputs: ["tabChange"] }, { kind: "component", type: i1.DaffTabLabelComponent, selector: "daff-tab-label" }, { kind: "component", type: i1.DaffTabPanelComponent, selector: "daff-tab-panel" }, { kind: "component", type: i1.DaffTabComponent, selector: "daff-tab", inputs: ["disabled", "id"] }, { kind: "component", type: DaffButtonComponent, selector: "button[daff-button],a[daff-button]", inputs: ["elevated"] }, { kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"], outputs: ["iconChange", "titleChange", "animationChange", "maskChange", "flipChange", "sizeChange", "pullChange", "borderChange", "inverseChange", "symbolChange", "rotateChange", "fixedWidthChange", "transformChange", "a11yRoleChange"] }, { kind: "ngmodule", type: DaffPrefixSuffixModule }, { kind: "directive", type: i2.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "directive", type: i2.DaffSuffixDirective, selector: "[daffSuffix]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
40
- }
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: CustomSelectTabsComponent, decorators: [{
42
- type: Component,
43
- args: [{ selector: 'custom-select-tabs', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
44
- DAFF_TABS_COMPONENTS,
45
- DaffButtonComponent,
46
- FaIconComponent,
47
- DaffPrefixSuffixModule,
48
- ], template: "<div class=\"custom-select-tabs__buttons\">\n\t<button daff-button size=\"sm\" (click)=\"selectTabThree()\">\n\t\tSelect Tab 3\n\t</button>\n\t\n\t<button daff-button size=\"sm\" (click)=\"selectTabFive()\">\n\t\tSelect Tab 5\n\t</button>\n</div>\n\n<daff-tabs aria-label=\"List of tabs\">\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 1\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 1 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 2\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 2 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab id=\"tab-3\">\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 3\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 3 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 4\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 4 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab id=\"tab-5\">\n\t\t<daff-tab-label>\n\t\t\tTab 5\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 5 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\t\n</daff-tabs>", styles: [".custom-select-tabs__buttons{display:flex;gap:8px;margin:0 0 16px}\n"] }]
49
- }], propDecorators: { _tab: [{
50
- type: ViewChild,
51
- args: [DaffTabsComponent]
52
- }] } });
53
-
54
- class DisabledTabsComponent {
55
- constructor() {
56
- this.faInfoCircle = faInfoCircle;
57
- }
58
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: DisabledTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
59
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: DisabledTabsComponent, isStandalone: true, selector: "disabled-tabs", ngImport: i0, template: "<daff-tabs aria-label=\"List of tabs\">\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 1\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 1 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 2\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 2 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 3\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 3 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 4\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 4 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab [disabled]=\"true\">\n\t\t<daff-tab-label>\n\t\t\tTab 5\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 5 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\t\n</daff-tabs>", dependencies: [{ kind: "component", type: i1.DaffTabsComponent, selector: "daff-tabs", inputs: ["initiallySelected", "aria-label", "linkMode", "url", "queryParam"], outputs: ["tabChange"] }, { kind: "component", type: i1.DaffTabLabelComponent, selector: "daff-tab-label" }, { kind: "component", type: i1.DaffTabPanelComponent, selector: "daff-tab-panel" }, { kind: "component", type: i1.DaffTabComponent, selector: "daff-tab", inputs: ["disabled", "id"] }, { kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"], outputs: ["iconChange", "titleChange", "animationChange", "maskChange", "flipChange", "sizeChange", "pullChange", "borderChange", "inverseChange", "symbolChange", "rotateChange", "fixedWidthChange", "transformChange", "a11yRoleChange"] }, { kind: "ngmodule", type: DaffPrefixSuffixModule }, { kind: "directive", type: i2.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "directive", type: i2.DaffSuffixDirective, selector: "[daffSuffix]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
60
- }
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: DisabledTabsComponent, decorators: [{
62
- type: Component,
63
- args: [{ selector: 'disabled-tabs', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
64
- DAFF_TABS_COMPONENTS,
65
- FaIconComponent,
66
- DaffPrefixSuffixModule,
67
- ], template: "<daff-tabs aria-label=\"List of tabs\">\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 1\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 1 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 2\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 2 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 3\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 3 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 4\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 4 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab [disabled]=\"true\">\n\t\t<daff-tab-label>\n\t\t\tTab 5\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 5 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\t\n</daff-tabs>" }]
68
- }] });
69
-
70
- class InitiallySelectTabComponent {
71
- constructor() {
72
- this.faInfoCircle = faInfoCircle;
73
- }
74
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: InitiallySelectTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
75
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: InitiallySelectTabComponent, isStandalone: true, selector: "initially-select-tab", ngImport: i0, template: "<daff-tabs aria-label=\"List of tabs\" [initiallySelected]=\"'tab-4'\">\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 1\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 1 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 2\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 2 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 3\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 3 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab id=\"tab-4\">\n\t\t<daff-tab-label>\n\t\t\tTab 4\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 4 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 5\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 5 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\t\n</daff-tabs>", dependencies: [{ kind: "component", type: i1.DaffTabsComponent, selector: "daff-tabs", inputs: ["initiallySelected", "aria-label", "linkMode", "url", "queryParam"], outputs: ["tabChange"] }, { kind: "component", type: i1.DaffTabLabelComponent, selector: "daff-tab-label" }, { kind: "component", type: i1.DaffTabPanelComponent, selector: "daff-tab-panel" }, { kind: "component", type: i1.DaffTabComponent, selector: "daff-tab", inputs: ["disabled", "id"] }, { kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"], outputs: ["iconChange", "titleChange", "animationChange", "maskChange", "flipChange", "sizeChange", "pullChange", "borderChange", "inverseChange", "symbolChange", "rotateChange", "fixedWidthChange", "transformChange", "a11yRoleChange"] }, { kind: "ngmodule", type: DaffPrefixSuffixModule }, { kind: "directive", type: i2.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "directive", type: i2.DaffSuffixDirective, selector: "[daffSuffix]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
76
- }
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: InitiallySelectTabComponent, decorators: [{
78
- type: Component,
79
- args: [{ selector: 'initially-select-tab', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
80
- DAFF_TABS_COMPONENTS,
81
- FaIconComponent,
82
- DaffPrefixSuffixModule,
83
- ], template: "<daff-tabs aria-label=\"List of tabs\" [initiallySelected]=\"'tab-4'\">\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 1\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 1 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 2\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 2 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 3\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 3 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab id=\"tab-4\">\n\t\t<daff-tab-label>\n\t\t\tTab 4\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 4 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 5\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 5 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\t\n</daff-tabs>" }]
84
- }] });
85
-
86
- class LinkTabsComponent {
87
- constructor() {
88
- this.faInfoCircle = faInfoCircle;
89
- }
90
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: LinkTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
91
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: LinkTabsComponent, isStandalone: true, selector: "link-tabs", ngImport: i0, template: "<daff-tabs\n\taria-label=\"List of tabs\"\n\t[linkMode]=\"true\">\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 1\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 1 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 2\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 2 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 3\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 3 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 4\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 4 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 5\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 5 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n</daff-tabs>", dependencies: [{ kind: "component", type: i1.DaffTabsComponent, selector: "daff-tabs", inputs: ["initiallySelected", "aria-label", "linkMode", "url", "queryParam"], outputs: ["tabChange"] }, { kind: "component", type: i1.DaffTabLabelComponent, selector: "daff-tab-label" }, { kind: "component", type: i1.DaffTabPanelComponent, selector: "daff-tab-panel" }, { kind: "component", type: i1.DaffTabComponent, selector: "daff-tab", inputs: ["disabled", "id"] }, { kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"], outputs: ["iconChange", "titleChange", "animationChange", "maskChange", "flipChange", "sizeChange", "pullChange", "borderChange", "inverseChange", "symbolChange", "rotateChange", "fixedWidthChange", "transformChange", "a11yRoleChange"] }, { kind: "ngmodule", type: DaffPrefixSuffixModule }, { kind: "directive", type: i2.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "directive", type: i2.DaffSuffixDirective, selector: "[daffSuffix]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
92
- }
93
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: LinkTabsComponent, decorators: [{
94
- type: Component,
95
- args: [{ selector: 'link-tabs', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
96
- DAFF_TABS_COMPONENTS,
97
- FaIconComponent,
98
- DaffPrefixSuffixModule,
99
- ], template: "<daff-tabs\n\taria-label=\"List of tabs\"\n\t[linkMode]=\"true\">\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 1\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 1 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 2\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 2 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffPrefix></fa-icon>\n\t\t\tTab 3\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 3 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 4\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 4 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n\n\t<daff-tab>\n\t\t<daff-tab-label>\n\t\t\tTab 5\n\t\t\t<fa-icon [icon]=\"faInfoCircle\" daffSuffix></fa-icon>\n\t\t</daff-tab-label>\n\t\t<daff-tab-panel>\n\t\t\tTab 5 Panel\n\t\t</daff-tab-panel>\n\t</daff-tab>\n</daff-tabs>" }]
100
- }] });
101
-
102
- const TABS_EXAMPLES = [
103
- BasicTabsComponent,
104
- DisabledTabsComponent,
105
- InitiallySelectTabComponent,
106
- CustomSelectTabsComponent,
107
- LinkTabsComponent,
108
- ];
109
-
110
- /**
111
- * Generated bundle index. Do not edit.
112
- */
113
-
114
- export { TABS_EXAMPLES };
115
- //# sourceMappingURL=daffodil-design-tabs-examples.mjs.map