@daffodil/design 0.90.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 (200) hide show
  1. package/accordion/index.d.ts +8 -5
  2. package/article/README.md +1 -1
  3. package/article/index.d.ts +20 -0
  4. package/article/src/article-theme.scss +10 -0
  5. package/button/index.d.ts +4 -4
  6. package/button/src/button/button-base.scss +3 -3
  7. package/button/src/button/raised/raised-theme.scss +2 -2
  8. package/card/README.md +0 -8
  9. package/card/index.d.ts +7 -41
  10. package/card/src/card-base-theme.scss +2 -5
  11. package/card/src/card-base.scss +2 -2
  12. package/checkbox/README.md +0 -0
  13. package/checkbox/index.d.ts +177 -0
  14. package/fesm2022/daffodil-design-accordion.mjs +23 -14
  15. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  16. package/fesm2022/daffodil-design-article.mjs +129 -5
  17. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  18. package/fesm2022/daffodil-design-button.mjs +24 -20
  19. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  20. package/fesm2022/daffodil-design-card.mjs +16 -63
  21. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  22. package/fesm2022/daffodil-design-checkbox.mjs +317 -0
  23. package/fesm2022/daffodil-design-checkbox.mjs.map +1 -0
  24. package/fesm2022/daffodil-design-form-field.mjs +35 -65
  25. package/fesm2022/daffodil-design-form-field.mjs.map +1 -1
  26. package/fesm2022/daffodil-design-form.mjs +62 -0
  27. package/fesm2022/daffodil-design-form.mjs.map +1 -0
  28. package/fesm2022/daffodil-design-image.mjs +12 -4
  29. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  30. package/fesm2022/daffodil-design-modal.mjs +55 -56
  31. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  32. package/fesm2022/daffodil-design-notification.mjs +14 -50
  33. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  34. package/fesm2022/daffodil-design-paginator.mjs +6 -11
  35. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  36. package/fesm2022/daffodil-design-quantity-field.mjs +3 -5
  37. package/fesm2022/daffodil-design-quantity-field.mjs.map +1 -1
  38. package/fesm2022/daffodil-design-radio.mjs +13 -42
  39. package/fesm2022/daffodil-design-radio.mjs.map +1 -1
  40. package/fesm2022/daffodil-design-sidebar.mjs +6 -36
  41. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  42. package/fesm2022/daffodil-design-switch.mjs +48 -105
  43. package/fesm2022/daffodil-design-switch.mjs.map +1 -1
  44. package/fesm2022/daffodil-design-tabs.mjs +22 -14
  45. package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
  46. package/fesm2022/daffodil-design-toast.mjs +56 -55
  47. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  48. package/fesm2022/daffodil-design-tree.mjs +4 -13
  49. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  50. package/fesm2022/daffodil-design.mjs +250 -461
  51. package/fesm2022/daffodil-design.mjs.map +1 -1
  52. package/form/README.md +75 -0
  53. package/form/index.d.ts +27 -0
  54. package/form-field/README.md +49 -39
  55. package/form-field/index.d.ts +56 -36
  56. package/image/README.md +27 -19
  57. package/image/index.d.ts +6 -1
  58. package/index.d.ts +180 -259
  59. package/input/README.md +32 -12
  60. package/modal/README.md +106 -16
  61. package/modal/index.d.ts +50 -21
  62. package/native-select/README.md +52 -15
  63. package/notification/index.d.ts +7 -38
  64. package/package.json +1 -1
  65. package/paginator/index.d.ts +1 -7
  66. package/radio/index.d.ts +0 -16
  67. package/scss/layout/_breakpoint.scss +1 -1
  68. package/scss/theme.scss +2 -4
  69. package/scss/theming/_color-palettes.scss +21 -7
  70. package/scss/theming/_configure-theme.scss +11 -10
  71. package/scss/theming/_daff-theme.scss +5 -14
  72. package/scss/theming/_get-base-color.scss +2 -2
  73. package/scss/theming/_get-palette.scss +2 -2
  74. package/scss/theming/_get-theme-mode.scss +3 -3
  75. package/scss/theming/_index.scss +2 -1
  76. package/scss/theming/contrast/max-contrast/max-contrast.scss +3 -3
  77. package/scss/theming/contrast/text-contrast/text-contrast.scss +22 -16
  78. package/scss/theming/contrast/text-contrast/text-contrast.spec.scss +57 -0
  79. package/scss/theming/create-theme/_create-theme.scss +330 -0
  80. package/scss/theming/create-theme/_create-theme.spec.scss +122 -0
  81. package/scss/theming/create-theme/_index.scss +1 -0
  82. package/scss/theming/get-font-colors/_get-font-colors.scss +36 -0
  83. package/scss/theming/get-font-colors/_get-font-colors.spec.scss +72 -0
  84. package/scss/typography/mixins/_font-weight.scss +8 -14
  85. package/select/README.md +107 -4
  86. package/sidebar/README.md +0 -8
  87. package/sidebar/index.d.ts +3 -15
  88. package/switch/README.md +19 -27
  89. package/switch/index.d.ts +18 -48
  90. package/switch/src/switch-theme.scss +26 -18
  91. package/tabs/index.d.ts +7 -4
  92. package/tag/src/tag-theme.scss +11 -9
  93. package/textarea/README.md +35 -5
  94. package/tree/index.d.ts +0 -6
  95. package/tree/src/tree-theme.scss +0 -4
  96. package/accordion/examples/index.d.ts +0 -20
  97. package/article/examples/index.d.ts +0 -50
  98. package/breadcrumb/examples/index.d.ts +0 -10
  99. package/button/examples/index.d.ts +0 -67
  100. package/callout/examples/index.d.ts +0 -41
  101. package/card/examples/index.d.ts +0 -62
  102. package/card/src/card/raised/raised-theme.scss +0 -28
  103. package/checkbox/examples/index.d.ts +0 -32
  104. package/container/examples/index.d.ts +0 -16
  105. package/fesm2022/daffodil-design-accordion-examples.mjs +0 -50
  106. package/fesm2022/daffodil-design-accordion-examples.mjs.map +0 -1
  107. package/fesm2022/daffodil-design-article-examples.mjs +0 -134
  108. package/fesm2022/daffodil-design-article-examples.mjs.map +0 -1
  109. package/fesm2022/daffodil-design-breadcrumb-examples.mjs +0 -46
  110. package/fesm2022/daffodil-design-breadcrumb-examples.mjs.map +0 -1
  111. package/fesm2022/daffodil-design-button-examples.mjs +0 -178
  112. package/fesm2022/daffodil-design-button-examples.mjs.map +0 -1
  113. package/fesm2022/daffodil-design-callout-examples.mjs +0 -116
  114. package/fesm2022/daffodil-design-callout-examples.mjs.map +0 -1
  115. package/fesm2022/daffodil-design-card-examples.mjs +0 -168
  116. package/fesm2022/daffodil-design-card-examples.mjs.map +0 -1
  117. package/fesm2022/daffodil-design-checkbox-examples.mjs +0 -76
  118. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +0 -1
  119. package/fesm2022/daffodil-design-container-examples.mjs +0 -41
  120. package/fesm2022/daffodil-design-container-examples.mjs.map +0 -1
  121. package/fesm2022/daffodil-design-form-field-examples.mjs +0 -96
  122. package/fesm2022/daffodil-design-form-field-examples.mjs.map +0 -1
  123. package/fesm2022/daffodil-design-hero-examples.mjs +0 -121
  124. package/fesm2022/daffodil-design-hero-examples.mjs.map +0 -1
  125. package/fesm2022/daffodil-design-image-examples.mjs +0 -58
  126. package/fesm2022/daffodil-design-image-examples.mjs.map +0 -1
  127. package/fesm2022/daffodil-design-input-examples.mjs +0 -108
  128. package/fesm2022/daffodil-design-input-examples.mjs.map +0 -1
  129. package/fesm2022/daffodil-design-list-examples.mjs +0 -77
  130. package/fesm2022/daffodil-design-list-examples.mjs.map +0 -1
  131. package/fesm2022/daffodil-design-loading-icon-examples.mjs +0 -44
  132. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +0 -1
  133. package/fesm2022/daffodil-design-media-gallery-examples.mjs +0 -104
  134. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +0 -1
  135. package/fesm2022/daffodil-design-menu-examples.mjs +0 -50
  136. package/fesm2022/daffodil-design-menu-examples.mjs.map +0 -1
  137. package/fesm2022/daffodil-design-modal-examples.mjs +0 -51
  138. package/fesm2022/daffodil-design-modal-examples.mjs.map +0 -1
  139. package/fesm2022/daffodil-design-native-select-examples.mjs +0 -71
  140. package/fesm2022/daffodil-design-native-select-examples.mjs.map +0 -1
  141. package/fesm2022/daffodil-design-navbar-examples.mjs +0 -88
  142. package/fesm2022/daffodil-design-navbar-examples.mjs.map +0 -1
  143. package/fesm2022/daffodil-design-notification-examples.mjs +0 -102
  144. package/fesm2022/daffodil-design-notification-examples.mjs.map +0 -1
  145. package/fesm2022/daffodil-design-paginator-examples.mjs +0 -59
  146. package/fesm2022/daffodil-design-paginator-examples.mjs.map +0 -1
  147. package/fesm2022/daffodil-design-progress-bar-examples.mjs +0 -57
  148. package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +0 -1
  149. package/fesm2022/daffodil-design-quantity-field-examples.mjs +0 -85
  150. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +0 -1
  151. package/fesm2022/daffodil-design-radio-examples.mjs +0 -34
  152. package/fesm2022/daffodil-design-radio-examples.mjs.map +0 -1
  153. package/fesm2022/daffodil-design-select-examples.mjs +0 -117
  154. package/fesm2022/daffodil-design-select-examples.mjs.map +0 -1
  155. package/fesm2022/daffodil-design-sidebar-examples.mjs +0 -109
  156. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +0 -1
  157. package/fesm2022/daffodil-design-sticky-examples.mjs +0 -25
  158. package/fesm2022/daffodil-design-sticky-examples.mjs.map +0 -1
  159. package/fesm2022/daffodil-design-switch-examples.mjs +0 -110
  160. package/fesm2022/daffodil-design-switch-examples.mjs.map +0 -1
  161. package/fesm2022/daffodil-design-tabs-examples.mjs +0 -115
  162. package/fesm2022/daffodil-design-tabs-examples.mjs.map +0 -1
  163. package/fesm2022/daffodil-design-tag-examples.mjs +0 -125
  164. package/fesm2022/daffodil-design-tag-examples.mjs.map +0 -1
  165. package/fesm2022/daffodil-design-text-snippet-examples.mjs +0 -25
  166. package/fesm2022/daffodil-design-text-snippet-examples.mjs.map +0 -1
  167. package/fesm2022/daffodil-design-textarea-examples.mjs +0 -66
  168. package/fesm2022/daffodil-design-textarea-examples.mjs.map +0 -1
  169. package/fesm2022/daffodil-design-toast-examples.mjs +0 -147
  170. package/fesm2022/daffodil-design-toast-examples.mjs.map +0 -1
  171. package/fesm2022/daffodil-design-tree-examples.mjs +0 -104
  172. package/fesm2022/daffodil-design-tree-examples.mjs.map +0 -1
  173. package/form-field/examples/index.d.ts +0 -18
  174. package/hero/examples/index.d.ts +0 -45
  175. package/image/examples/index.d.ts +0 -10
  176. package/input/examples/index.d.ts +0 -10
  177. package/list/examples/index.d.ts +0 -29
  178. package/loading-icon/examples/index.d.ts +0 -16
  179. package/media-gallery/examples/index.d.ts +0 -38
  180. package/menu/examples/index.d.ts +0 -20
  181. package/modal/examples/index.d.ts +0 -15
  182. package/native-select/examples/index.d.ts +0 -10
  183. package/navbar/examples/index.d.ts +0 -31
  184. package/notification/examples/index.d.ts +0 -12
  185. package/paginator/examples/index.d.ts +0 -26
  186. package/progress-bar/examples/index.d.ts +0 -10
  187. package/quantity-field/examples/index.d.ts +0 -30
  188. package/radio/examples/index.d.ts +0 -13
  189. package/select/examples/index.d.ts +0 -28
  190. package/sidebar/examples/index.d.ts +0 -10
  191. package/sticky/examples/index.d.ts +0 -10
  192. package/switch/examples/index.d.ts +0 -46
  193. package/tabs/examples/index.d.ts +0 -12
  194. package/tag/examples/index.d.ts +0 -50
  195. package/text-snippet/examples/index.d.ts +0 -10
  196. package/textarea/examples/index.d.ts +0 -10
  197. package/toast/examples/index.d.ts +0 -56
  198. package/tree/examples/index.d.ts +0 -18
  199. /package/{form-field → form}/src/error-message/error-message-theme.scss +0 -0
  200. /package/{form-field → form}/src/hint/hint-theme.scss +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design.mjs","sources":["../../../libs/design/src/atoms/form/core/error-state-matcher/error-state-matcher.ts","../../../libs/design/src/atoms/form/checkbox/checkbox.component.ts","../../../libs/design/src/atoms/form/checkbox/checkbox.component.html","../../../libs/design/src/atoms/form/checkbox/cva/checkbox-cva.directive.ts","../../../libs/design/src/atoms/form/checkbox-set/checkbox-set.component.ts","../../../libs/design/src/atoms/form/checkbox-set/checkbox-set.component.html","../../../libs/design/src/atoms/form/checkbox/checkbox.module.ts","../../../libs/design/src/atoms/form/form-label/form-label.directive.ts","../../../libs/design/src/atoms/form/form-label/form-label.module.ts","../../../libs/design/src/core/prefix-suffix/prefix.directive.ts","../../../libs/design/src/core/prefix-suffix/suffix.directive.ts","../../../libs/design/src/core/prefix-suffix/prefix-suffix.module.ts","../../../libs/design/src/core/colorable/colorable.ts","../../../libs/design/src/core/colorable/colorable.directive.ts","../../../libs/design/src/core/breakpoints/breakpoints.ts","../../../libs/design/src/core/breakpoints/noop.service.ts","../../../libs/design/src/core/breakpoints/provider.ts","../../../libs/design/src/core/constructor/constructor.ts","../../../libs/design/src/core/statusable/statusable.ts","../../../libs/design/src/core/statusable/statusable.directive.ts","../../../libs/design/src/core/skeletonable/skeletonable.directive.ts","../../../libs/design/src/core/text-alignable/text-alignable.ts","../../../libs/design/src/core/text-alignable/text-alignable.directive.ts","../../../libs/design/src/core/compactable/compactable.directive.ts","../../../libs/design/src/core/manage-container-layout/manage-container-layout.directive.ts","../../../libs/design/src/core/article-encapsulated/article-encapsulated.directive.ts","../../../libs/design/src/core/theming/types/theme.ts","../../../libs/design/src/core/theming/services/os-theme/ostheme.service.ts","../../../libs/design/src/core/theming/services/storage/theme-storage.service.ts","../../../libs/design/src/core/theming/functions/computer.ts","../../../libs/design/src/core/theming/services/theming.service.ts","../../../libs/design/src/core/theming/services/class-setter/theme-class-setter.service.ts","../../../libs/design/src/core/theming/initializer.ts","../../../libs/design/src/core/focus/focusable-elements.ts","../../../libs/design/src/core/focus/stack.service.ts","../../../libs/design/src/core/sizable/sizable.ts","../../../libs/design/src/core/sizable/sizable.directive.ts","../../../libs/design/src/core/openable/utils/state-error.ts","../../../libs/design/src/core/openable/openable.directive.ts","../../../libs/design/src/core/selectable/selectable.directive.ts","../../../libs/design/src/core/sticky/sticky-tracker.directive.ts","../../../libs/design/src/core/public_api.ts","../../../libs/design/src/public_api.ts","../../../libs/design/src/index.ts","../../../libs/design/src/daffodil-design.ts"],"sourcesContent":["import { UntypedFormControl } from '@angular/forms';\n\nexport class DaffErrorStateMatcher {\n\n isErrorState(control: UntypedFormControl, formSubmitted: boolean): boolean {\n return control.errors && (control.touched || formSubmitted);\n }\n}\n","import {\n Component,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n EventEmitter,\n Output,\n ChangeDetectorRef,\n ViewChild,\n ElementRef,\n} from '@angular/core';\n\nlet checkboxIdNum = 0;\n\n@Component({\n selector: 'daff-checkbox',\n templateUrl: './checkbox.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class DaffCheckboxComponent {\n /**\n * @docs-private\n */\n @ViewChild('inputElement', { static: true, read: ElementRef }) nativeCheckbox: ElementRef<HTMLInputElement>;\n /**\n * The name of the checkbox.\n */\n @Input() name: string;\n /**\n * The value of the checkbox.\n */\n @Input() value: any;\n /**\n * Boolean value to determine whether or not the checkbox is checked.\n */\n private _checked = false;\n\n @Input()\n get checked() {\n return this._checked;\n }\n set checked(value: boolean) {\n if (this._checked === value) {\n return;\n }\n if (value === true) {\n this.nativeCheckbox.nativeElement.checked = true;\n this.becameChecked.emit(this._checked);\n } else {\n this.nativeCheckbox.nativeElement.checked = false;\n this.becameUnchecked.emit();\n }\n\n this._checked = value;\n }\n /**\n * The id of the checkbox. Must be unique. If not entered by a user then it is generated.\n */\n @Input() id: string = 'daff-checkbox-' + checkboxIdNum;\n\n /**\n * The aria-label of the checkbox.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-label') label = '';\n\n /**\n * The aria-labeledby of the checkbox.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-labelledby') labeledBy: string;\n\n /**\n * Event on whether or not the selection has changed.\n */\n @Output() becameChecked: EventEmitter<boolean> = new EventEmitter();\n @Output() becameUnchecked: EventEmitter<void> = new EventEmitter();\n\n /**\n * Whether the checkbox is focused\n */\n focused: boolean;\n /**\n * Whether the checkbox is disabled.\n */\n disabled: boolean;\n\n /**\n * The role of the component. Set to \"checkbox\".\n *\n * @docs-private\n */\n @HostBinding('attr.role') role = 'checkbox';\n\n\n /**\n * @docs-private\n */\n _onChange(val: Event) {\n if ((<HTMLInputElement>val.target).checked) {\n this.select();\n } else {\n this.deselect();\n }\n };\n /**\n * @docs-private\n */\n @HostBinding('class.focused') get focusClass() {\n return this.focused === true;\n };\n /**\n * @docs-private\n */\n @HostBinding('class.disabled') get disabledClass() {\n return this.disabled === true;\n };\n /**\n * Sets focused to false.\n */\n onBlur() {\n this.focused = false;\n }\n /**\n * Sets focused to true.\n */\n onFocus() {\n this.focused = true;\n }\n\n constructor(private _cdRef: ChangeDetectorRef) {\n /**\n * Increments id number on new checkbox. Gurantees unique ID on generation.\n */\n checkboxIdNum++;\n }\n /**\n * Sets checked to true.\n */\n select() {\n this.checked = true;\n this._cdRef.markForCheck();\n }\n /**\n * Sets checked to false\n */\n deselect() {\n this.checked = false;\n this._cdRef.markForCheck();\n }\n}\n","<input #inputElement\ntype=\"checkbox\"\n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labeledBy\"\n[attr.checked]=\"checked ? '' : null\"\n[attr.id] = \"id\"\n[attr.value]=\"value\"\n[attr.name]=\"name\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"_onChange($event)\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"\n/>\n<label [attr.for]=\"id\"><ng-content></ng-content></label>","import {\n Directive,\n Input,\n OnInit,\n Self,\n Optional,\n} from '@angular/core';\nimport {\n NgControl,\n ControlValueAccessor,\n} from '@angular/forms';\n\nimport { DaffCheckboxComponent } from '../checkbox.component';\n\n/**\n * A directive for binding the DaffCheckboxComponent and the Control Value Accessor.\n */\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'daff-checkbox[ngModel], daff-checkbox[formControl], daff-checkbox[formControlName]',\n standalone: false,\n})\nexport class DaffCheckboxControlValueAccessorDirective implements OnInit, ControlValueAccessor {\n _onChange: (val: any) => void;\n _onTouched: () => void;\n\n /**\n * The value of the ControlValueAccessor\n */\n @Input() value: any;\n\n /**\n * The name of the ControlValueAccessor\n */\n @Input() name: string;\n\n constructor(\n @Optional() @Self() public _control: NgControl,\n private _checkbox: DaffCheckboxComponent,\n ) {\n if (this._control != null) {\n this._control.valueAccessor = this;\n }\n }\n\n\n /**\n * A lifecycle method called when the directive is initialized.\n */\n /**\n * @docs-private\n */\n ngOnInit(): void {\n // See the note about `writeValue` usage.\n this.writeValue(this._control.value);\n\n // Watch for user events on the component to update the state\n this._checkbox.becameChecked.subscribe(\n () => {\n this._onChange(true);\n },\n );\n this._checkbox.becameUnchecked.subscribe(\n () => {\n this._onChange(false);\n },\n );\n }\n\n /**\n * writes a new value down into the component.\n */\n writeValue(value: any): void {\n value = !!value;\n if (value === true) {\n this.fireSelect();\n } else {\n this.fireDeselect();\n }\n }\n\n /**\n * Registers the change handler\n */\n registerOnChange(fn: any): void {\n this._onChange = (val) => {\n fn(val);\n };\n }\n\n /**\n * Registers the touched handler\n */\n registerOnTouched(fn: any): void {\n this._onTouched = fn;\n }\n\n /**\n * Sets the disabled state.\n */\n setDisabledState?(isDisabled: boolean): void {\n this._checkbox.disabled = isDisabled;\n }\n\n /**\n * calls the child checkbox's select function\n */\n fireSelect() {\n this._checkbox.select();\n }\n\n /**\n * calls the child checkbox's deselect function\n */\n fireDeselect() {\n this._checkbox.deselect();\n }\n\n}\n","import {\n Component,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n ContentChildren,\n QueryList,\n Output,\n EventEmitter,\n} from '@angular/core';\nimport { UntypedFormArray } from '@angular/forms';\n\nimport { DaffCheckboxComponent } from '../checkbox/checkbox.component';\n\n@Component({\n selector: 'daff-checkbox-set',\n templateUrl: './checkbox-set.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class DaffCheckboxSetComponent {\n\n @Input() formArray: UntypedFormArray;\n /**\n * The name of the checkbox-set\n */\n @Input() name: string;\n\n /**\n * The role of the component. Set to \"checkbox\".\n *\n * @docs-private\n */\n @HostBinding('attr.role') role = 'group';\n\n /**\n * The list of checkboxes in the set.\n *\n * @docs-private\n */\n @ContentChildren(DaffCheckboxComponent) checkboxes: QueryList<DaffCheckboxComponent>;\n\n @Output() valueList = new EventEmitter<any[]>();\n\n getValues(): any[] {\n const checkboxes = this.checkboxes.toArray();\n return this.formArray.value.map((element, index) => element === true ? checkboxes[index].value : false).filter(element => element !== false);\n }\n}\n","<ng-content></ng-content>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffCheckboxComponent } from './checkbox.component';\nimport { DaffCheckboxControlValueAccessorDirective } from './cva/checkbox-cva.directive';\nimport { DaffCheckboxSetComponent } from '../checkbox-set/checkbox-set.component';\n\n@NgModule({\n exports: [\n DaffCheckboxComponent,\n DaffCheckboxSetComponent,\n DaffCheckboxControlValueAccessorDirective,\n ],\n declarations: [\n DaffCheckboxComponent,\n DaffCheckboxSetComponent,\n DaffCheckboxControlValueAccessorDirective,\n ],\n imports: [\n CommonModule,\n ],\n providers: [\n DaffCheckboxSetComponent,\n ],\n})\nexport class DaffCheckboxModule { }\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * @deprecated in favor of the {@link DaffFormFieldLabelDirective}. Deprecated in version 0.86.0. Will be removed in version 1.0.0.\n */\n@Directive({\n selector: '[daffFormLabel]',\n})\nexport class DaffFormLabelDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-form-label') class = true;\n}\n","import { NgModule } from '@angular/core';\n\nimport { DaffFormLabelDirective } from './form-label.directive';\n\n/**\n * @deprecated in favor of standalone components. Deprecated in version 0.84.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n exports: [\n DaffFormLabelDirective,\n ],\n imports: [\n DaffFormLabelDirective,\n ],\n})\n\nexport class DaffFormLabelModule {}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n *\n * Prefix can be used to place content before another piece of content in components like\n * `daff-form-field`, `daff-solo-field`, and `daff-list`.\n */\n@Directive({\n selector: '[daffPrefix]',\n})\nexport class DaffPrefixDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-prefix') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n *\n * Prefix can be used to place content after another piece of content in components like\n * `daff-form-field`, `daff-solo-field`, and `daff-list`.\n */\n@Directive({\n selector: '[daffSuffix]',\n})\nexport class DaffSuffixDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-suffix') class = true;\n}\n","import { NgModule } from '@angular/core';\n\nimport { DaffPrefixDirective } from './prefix.directive';\nimport { DaffSuffixDirective } from './suffix.directive';\n\n@NgModule({\n imports: [\n DaffPrefixDirective,\n DaffSuffixDirective,\n ],\n exports: [\n DaffPrefixDirective,\n DaffSuffixDirective,\n ],\n})\nexport class DaffPrefixSuffixModule {}\n","export interface DaffColorable {\n color: DaffPalette;\n}\n\n/**\n * These are the valid options that can be passed to a DaffColorable component.\n */\nexport type DaffPalette = 'primary' | 'secondary' | 'tertiary' | 'light' | 'dark' | 'theme' | 'theme-contrast' | 'black' | 'white' | undefined;\n\n/**\n * Enumerates the available color palette options for a component.\n * These values can be used to apply specific color styles to components within the application.\n */\nexport enum DaffPaletteEnum {\n /**\n * Your primary color.\n */\n Primary = 'primary',\n\n /**\n * Your secondary color.\n */\n Secondary = 'secondary',\n\n /**\n * Your tertiary color.\n */\n Tertiary = 'tertiary',\n\n /**\n * A light color that does not change based on the defined theme.\n */\n Light = 'light',\n\n /**\n * A dark color that does not change based on the defined theme.\n */\n Dark = 'dark',\n\n /**\n * A color that matches the defined theme.\n */\n Theme = 'theme',\n\n /**\n * A color that contrasts against the defined theme.\n */\n ThemeContrast = 'theme-contrast',\n\n /**\n * @deprecated Deprecated in version 0.82.0. Will be removed in version 1.0.0.\n * Black. It's dark.\n */\n Black = 'black',\n\n /**\n * @deprecated Deprecated in version 0.82.0. Will be removed in version 1.0.0.\n * White. It's bright.\n */\n White = 'white',\n}\n","import {\n Directive,\n HostBinding,\n Input,\n isDevMode,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffColorable,\n DaffPalette,\n DaffPaletteEnum,\n} from './colorable';\n\nconst colorInPalette = (color: string) => (<any>Object).values(DaffPaletteEnum).includes(color);\n\nconst validateColor = (color: string) => {\n if(isDevMode()) {\n if(color !== undefined && !colorInPalette(color)) {\n console.warn(color + ' is not a valid color in DaffPalette');\n }\n }\n};\n\n/**\n * `DaffColorableDirective` allows a component to conditionally apply color-specific\n * styles by setting CSS classes based on the specified color. This directive is useful\n * for applying different color palettes to a component in an Angular application.\n *\n * Supported colors: `primary | secondary | tertiary | light | dark | theme | theme-contrast`\n *\n * | Color | Class |\n * | -------- | ----- |\n * | `primary` | `.daff-primary`|\n * | `secondary` | `.daff-secondary`|\n * | `tertiary` | `.daff-tertiary`|\n * | `light` | `daff-light` |\n * | `dark` | `daff-dark` |\n * | `theme` | `daff-theme`|\n * | `theme-contrast` | `.daff-theme-contrast`|\n *\n * `white` and `black` have been deprecated in favor of `light` and `dark`.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffColorable [color]=\"primary\">Colored content</div>\n * ```\n *\n * ```scss\n * .div {\n * &.daff-primary {\n * color: daff-color($primary);\n * }\n * }\n * ```\n *\n * In this example, the `daff-primary` class is applied to the `div` element, allowing you to\n * use the color class to style the `div`.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffColorableDirective,\n * inputs: ['color'],\n * },\n * ],\n * })\n * export class CustomComponent {\n * @HostBinding('class.custom-component') class = true;\n * }\n * ```\n *\n * ```scss\n * .custom-component {\n * &.daff-primary {\n * background: daff-color($primary, 10);\n * color: daff-color($primary, 90);\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffColorable]',\n})\nexport class DaffColorableDirective implements DaffColorable, OnChanges, OnInit {\n\n /**\n * Dynamically sets the CSS classes based on the color.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-primary': this.color === DaffPaletteEnum.Primary,\n 'daff-secondary': this.color === DaffPaletteEnum.Secondary,\n 'daff-tertiary': this.color === DaffPaletteEnum.Tertiary,\n 'daff-light': this.color === DaffPaletteEnum.Light,\n 'daff-dark': this.color === DaffPaletteEnum.Dark,\n 'daff-theme': this.color === DaffPaletteEnum.Theme,\n 'daff-theme-contrast': this.color === DaffPaletteEnum.ThemeContrast,\n 'daff-black': this.color === DaffPaletteEnum.Black,\n 'daff-white': this.color === DaffPaletteEnum.White,\n };\n }\n\n /**\n * Sets the color on a component.\n *\n * Default options are: `primary`, `secondary`, `tertiary`, `light`, `dark`, `theme`, and `theme-contrast`.\n */\n @Input() color: DaffPalette;\n\n /**\n * Sets a default color.\n */\n defaultColor: DaffPalette;\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.color.currentValue) {\n this.color = this.defaultColor;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n validateColor(this.color);\n if (!this.color) {\n this.color = this.defaultColor;\n }\n }\n}\n\n","export enum DaffBreakpoints {\n DESKTOP = '(min-width: 1920px)',\n LAPTOP = '(min-width: 1440px)',\n SMALL_LAPTOP = '(min-width: 1200px)',\n BIG_TABLET = '(min-width: 1024px)',\n TABLET = '(min-width: 768px)',\n MOBILE = '(min-width: 480px)',\n}\n","import {\n BreakpointObserver,\n BreakpointState,\n} from '@angular/cdk/layout';\nimport { Injectable } from '@angular/core';\nimport {\n Observable,\n of,\n} from 'rxjs';\n\n/**\n * A stubbed out breakpoint observer service.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class NoopBreakpointObserver implements Omit<BreakpointObserver, never> {\n // eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method, @angular-eslint/use-lifecycle-interface\n ngOnDestroy(): void {}\n isMatched(value: string | readonly string[]): boolean {\n return false;\n }\n observe(value: string | readonly string[]): Observable<BreakpointState> {\n return of();\n }\n\n}\n","import { BreakpointObserver } from '@angular/cdk/layout';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n inject,\n InjectionToken,\n PLATFORM_ID,\n} from '@angular/core';\n\nimport { NoopBreakpointObserver } from './noop.service';\n\n/**\n * Provides a {@link NoopBreakpointObserver} if the platform is not browser.\n */\nexport const SERVER_SAFE_BREAKPOINT_OBSERVER = new InjectionToken<Omit<BreakpointObserver, never>>('SERVER_SAFE_BREAKPOINT_OBSERVER', {\n factory: () =>\n isPlatformBrowser(inject(PLATFORM_ID))\n ? inject(BreakpointObserver)\n : inject(NoopBreakpointObserver),\n});\n","/**\n * A basic constructor type useful for mixins\n * See https://blog.mariusschulz.com/2017/05/26/typescript-2-2-mixin-classes\n * for a really good explanation of why mixins are useful.\n */\n\nexport type Constructor<T = Record<string, any>> = new (...args: any[]) => T;\n","/**\n * The `DaffStatusable` interface defines a component that can have a status.\n * This status determines the styling or behavior of the component.\n */\nexport interface DaffStatusable {\n /**\n * The status of the component.\n */\n status: DaffStatus;\n}\n\n/**\n * The `DaffStatus` type defines the possible status values that a component can have.\n * - 'info': Indicatea an informational status.\n * - 'warn': Indicates a warning status.\n * - 'critical': Indicates a critical or error status.\n * - 'success': Indicates a success status.\n */\nexport type DaffStatus = 'info' | 'warn' | 'critical' | 'success';\n\n/**\n * The `DaffStatusEnum` enumerates the possible status values for a component.\n */\nexport enum DaffStatusEnum {\n Info = 'info',\n Warn = 'warn',\n Critical = 'critical',\n Success = 'success'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n isDevMode,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffStatus,\n DaffStatusEnum,\n DaffStatusable,\n} from './statusable';\n\nconst statusValues = (status: string) => (<any>Object).values(DaffStatusEnum).includes(status);\n\nconst validateStatus = (status: string) => {\n if(isDevMode()) {\n if (status !== undefined && !statusValues(status)) {\n console.warn(\n `'${status}' is not a valid value of the status property.\\n\\n` +\n `The available values are: info, warn, critical, or success.`,\n );\n }\n }\n};\n\n/**\n * `DaffStatusableDirective` allows a component to conditionally apply status-specific\n * styles by setting CSS classes based on the specified status. This directive is useful\n * for indicating different statuses such as info, warning, critical, or success states.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffStatusable [status]=\"componentStatus\">Status content</div>\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffStatusableDirective,\n * inputs: ['status'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n *\n * ```scss\n * :host {\n * &.daff-critical {\n * background: daff-color($red, 10);\n * color: daff-color($red, 90);\n * }\n * }\n * ```\n *\n * The directive applies the following CSS classes to the component based on the status:\n *\n * - `daff-info`: Applied when the status is `info`.\n * - `daff-warn`: Applied when the status is `warn`.\n * - `daff-critical`: Applied when the status is `critical`.\n * - `daff-success`: Applied when the status is `success`.\n */\n@Directive({\n selector: '[daffStatusable]',\n})\nexport class DaffStatusableDirective implements DaffStatusable, OnChanges, OnInit {\n\n /**\n * Dynamically sets the CSS classes based on the status.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-info': this.status === DaffStatusEnum.Info,\n 'daff-warn': this.status === DaffStatusEnum.Warn,\n 'daff-critical': this.status === DaffStatusEnum.Critical,\n 'daff-success': this.status === DaffStatusEnum.Success,\n };\n }\n\n /**\n * Sets the status on a component.\n *\n * Options are: `info`, `warn`, `critical`, and `success`.\n */\n @Input() status: DaffStatus;\n\n /**\n * Sets a default status.\n *\n * @example\n * ```ts\n * constructor(private statusDirective: DaffStatusableDirective) {\n * this.statusDirective.defaultStatus = 'info';\n * }\n * ```\n */\n defaultStatus: DaffStatus;\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.status.currentValue) {\n this.status = this.defaultStatus;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n validateStatus(this.status);\n\n if (this.status !== this.defaultStatus && this.defaultStatus) {\n this.status = this.defaultStatus;\n }\n }\n}\n\n","import {\n Directive,\n HostBinding,\n Input,\n} from '@angular/core';\n\n/**\n * `DaffSkeletonableDirective` allows a component to display a skeleton loading\n * state by conditionally applying a CSS class. This is useful for indicating to\n * users that content is loading or being processed. This directive can be used to\n * apply a skeleton loading state to any component by toggling the `skeleton`\n * input property. When `skeleton` is `true`, the `daff-skeleton` CSS class\n * is applied, which should style the component to look like a loading placeholder.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffSkeletonable [skeleton]=\"isLoading\">Content</div>\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffSkeletonableDirective,\n * inputs: ['skeleton'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * :host {\n * .daff-skeleton {\n * @include state.skeleton-screen(48px, 24px);\n * }\n * }\n * ```\n *\n * The directive applies the `daff-skeleton` class to the component should be defined in your styles to display the loading\n * state as desired. It can be used in conjuction with the `skeleton-screen` mixin, which provides predefined loading styles.\n */\n@Directive({\n selector: '[daffSkeletonable]',\n})\nexport class DaffSkeletonableDirective {\n /**\n * Controls whether the component displays a skeleton loading state.\n */\n @Input() @HostBinding('class.daff-skeleton') skeleton = false;\n}\n","/**\n * Interface for giving a component the ability to customize text alignment for component-specific UI.\n */\nexport interface DaffTextAlignable {\n textAlignment: DaffTextAlignment;\n}\n\n/**\n * The possible types that can be passed to a DaffTextAlignable component\n */\nexport type DaffTextAlignment = 'left' | 'center' | 'right';\nexport enum DaffTextAlignmentEnum {\n Left = 'left',\n Center = 'center',\n Right = 'right'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n isDevMode,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffTextAlignable,\n DaffTextAlignment,\n DaffTextAlignmentEnum,\n} from './text-alignable';\n\nconst textAlignmentValues = (textAlignment: string) => (<any>Object).values(DaffTextAlignmentEnum).includes(textAlignment);\n\nconst validateTextAlignment = (textAlignment: string) => {\n if(isDevMode()) {\n if(textAlignment !== undefined && !textAlignmentValues(textAlignment)) {\n console.warn(`'${textAlignment}' is not a valid value of the textAlignment property. The available values are: left, center, or right.`);\n }\n }\n};\n\n/**\n * `DaffTextAlignableDirective` allows for dynamic text alignment of a component by\n * setting CSS classes based on the specified text alignment. This directive is\n * useful when text alignment needs to be managed dynamically in an Angular component.\n *\n * ## Why not just use CSS?\n *\n * While the native CSS `text-align` property can be used for static text alignment,\n * the `DaffTextAlignableDirective` provides a structured and consistent way to handle\n * dynamic text alignment within Angular components in more complex use cases where the\n * application of `text-align: center;` would cause unexpected side effects.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffTextAlignable textAlignment=\"center\">Aligned text</div>\n * ```\n *\n * In this example, the `daff-center` class is added to the `div` element, allowing\n * you to style the `div` as you wish using the class.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffTextAlignableDirective,\n * inputs: ['textAlignment'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .custom-component {\n * &.daff-left {\n * text-align: left;\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffTextAlignable]',\n})\nexport class DaffTextAlignableDirective implements DaffTextAlignable, OnChanges, OnInit {\n\n /**\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-left': this.textAlignment === DaffTextAlignmentEnum.Left,\n 'daff-center': this.textAlignment === DaffTextAlignmentEnum.Center,\n 'daff-right': this.textAlignment === DaffTextAlignmentEnum.Right,\n };\n }\n\n /**\n * The text alignment of the component.\n *\n * Options are: `left`, `center`, and `right`.\n */\n @Input() textAlignment: DaffTextAlignment;\n\n /**\n * Sets a default alignment when no text alignment is provided.\n */\n public defaultAlignment: DaffTextAlignment;\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.textAlignment?.currentValue) {\n this.textAlignment = this.defaultAlignment;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n validateTextAlignment(this.textAlignment);\n\n if (!this.textAlignment) {\n this.textAlignment = this.defaultAlignment;\n }\n }\n}\n\n","import {\n Directive,\n HostBinding,\n Input,\n} from '@angular/core';\n\n/**\n * `DaffCompactableDirective` allows a component to conditionally apply a compact\n * style by toggling a CSS class. This is useful for creating components that can\n * switch between regular and compact styles based on the `compact` property.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffCompactable [compact]=\"isCompact\">Content goes here</div>\n * ```\n *\n * In this example, the `daff-compact` class is applied to the `div` element when\n * `isCompact` is `true`, making the `div` display its compact state.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffCompactableDirective,\n * inputs: ['compact'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * The directive applies the `daff-compact` class to the component and\n * should be defined in your styles to display the compact state as desired.\n *\n * ```scss\n * :host {\n * padding: 8px 16px;\n *\n * &.daff-compact {\n * padding: 4px 8px;\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffCompactable]',\n standalone: true,\n})\nexport class DaffCompactableDirective {\n /**\n * Controls whether the component is compact.\n */\n @Input() @HostBinding('class.daff-compact') compact = false;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * `DaffManageContainerLayoutDirective` gives a component the ability to manage a `DaffContainerComponent`'s layout.\n * By including this directive, predetermined layout styles are passed down to the container.\n *\n * To understand the motivation for this directive, consider:\n *\n * ```html\n * <daff-container>\n * <daff-hero></daff-hero>\n * </daff-container>\n * ```\n * vs.\n *\n * ```html\n * <daff-hero>\n * <daff-container></daff-container>\n * </daff-hero>\n * ```\n *\n * The former may inappropriately constrain the width of its child elements,\n * while the latter (without `DaffManageContainerLayoutDirective`) may unexpectedly\n * interfere in the layout features of its parent element (i.e. display: grid, display: flex).\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <my-custom-component daffManageContainerLayout>\n * <daff-container size=\"lg\"></daff-container>\n * </my-custom-component>\n * ```\n *\n * ```scss\n * :host {\n * display: grid;\n * grid-template-columns: 1fr 1fr;\n * }\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'my-custom-component',\n * template: 'my-custom-component.html',\n * hostDirectives: [{ directive: DaffManageContainerLayoutDirective }],\n * })\n * export class MyCustomComponent { }\n *\n * ```scss\n * :host {\n * display: grid;\n * grid-template-columns: 1fr 1fr;\n * }\n * ```\n *\n * This directive will apply the `daff-manage-container-layout` class to your component, ensuring that the styles set on `:host` are passed down to the container.\n */\n\n@Directive({\n selector: '[daffManageContainerLayout]',\n standalone: true,\n})\nexport class DaffManageContainerLayoutDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-manage-container-layout') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * `DaffArticleEncapsulatedDirective` is used to encapsulate custom components within an article,\n * preventing {@link DaffArticleComponent } styles from bleeding into the component.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <my-custom-component daffArticleEncapsulated></my-custom-component>\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [{ directive: DaffArticleEncapsulatedDirective }],\n * })\n * export class CustomComponent { }\n * ```\n *\n * This directive will apply the `daff-ae` class to the component, ensuring that it is encapsulated from the article's styles.\n */\n@Directive({\n selector: '[daffArticleEncapsulated]',\n standalone: true,\n})\nexport class DaffArticleEncapsulatedDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-ae') class = true;\n}\n","/**\n * The possible states of a theme.\n */\nexport enum DaffTheme {\n Light = 'light',\n Dark = 'dark',\n None = 'none'\n}\n","\nimport {\n Injectable,\n Inject,\n DOCUMENT,\n} from '@angular/core';\nimport {\n Observable,\n of,\n fromEventPattern,\n} from 'rxjs';\nimport {\n map,\n startWith,\n} from 'rxjs/operators';\n\nimport { DaffTheme } from '../../types/theme';\n\nexport const mediaQueryDarkPreference = '(prefers-color-scheme: dark)';\n\nexport const addHandlerFactory = (window: Window) => (handler: any) => {\n const query = window.matchMedia(mediaQueryDarkPreference);\n return 'addEventListener' in query\n ? query.addEventListener('change', handler)\n : (<MediaQueryList>query).addListener(handler);\n};\n\nexport const removeHandlerFactory = (window: Window) => (handler: any) => {\n const query = window.matchMedia(mediaQueryDarkPreference);\n return 'removeEventListener' in query\n ? query.removeEventListener('change', handler)\n : (<MediaQueryList>query).removeListener(handler);\n};\n\n/**\n * A service for retrieving the operating system's theme preference.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOsThemeService {\n\n preference$: Observable<DaffTheme>;\n\n private doc?: Document;\n\n constructor(@Inject(DOCUMENT) _doc: any) {\n this.doc = <Document>_doc;\n\n this.preference$ = this.doc.defaultView?.matchMedia\n ? fromEventPattern<MediaQueryListEvent>(\n addHandlerFactory(this.doc.defaultView),\n removeHandlerFactory(this.doc.defaultView),\n )\n .pipe(\n startWith(this.doc.defaultView?.matchMedia(mediaQueryDarkPreference)),\n map((e: MediaQueryListEvent) => e.matches),\n map((prefersDark) => prefersDark ? DaffTheme.Dark : DaffTheme.Light),\n )\n : of(DaffTheme.None);\n }\n\n /**\n * Get the operating system's theme preference.\n */\n public getThemePreference(): Observable<DaffTheme> {\n return this.preference$;\n }\n}\n","\nimport {\n Injectable,\n Inject,\n DOCUMENT,\n} from '@angular/core';\nimport {\n Observable,\n fromEvent,\n Subject,\n merge,\n EMPTY,\n of,\n} from 'rxjs';\nimport {\n map,\n filter,\n startWith,\n shareReplay,\n catchError,\n} from 'rxjs/operators';\n\nimport {\n DaffPersistenceService,\n DaffServerSafePersistenceServiceToken,\n} from '@daffodil/core';\n\nimport { DaffTheme } from '../../types/theme';\n\nexport type ThemeStorageEvent = Pick<StorageEvent, 'newValue' | 'key'>;\n\nexport const THEME_STORAGE_KEY = 'DAFF_THEME';\n\nexport const coerceValue = (val?: string): DaffTheme =>\n val === DaffTheme.Dark || val === DaffTheme.Light\n ? val\n : DaffTheme.None;\n\n/**\n * Generate a StorageEvent\n */\nconst storageEventBuilder = (\n value: DaffTheme,\n): ThemeStorageEvent => ({\n key: THEME_STORAGE_KEY,\n newValue: coerceValue(value) !== DaffTheme.None ? value : null,\n});\n\n/**\n * A service for retrieving and managing the application's stored theme.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffThemeStorageService {\n private theme$: Observable<DaffTheme>;\n private storage$: Subject<ThemeStorageEvent> = new Subject();\n private doc?: Document;\n\n constructor(\n @Inject(DaffServerSafePersistenceServiceToken)\n private storage: DaffPersistenceService,\n @Inject(DOCUMENT) _doc: any,\n ) {\n this.doc = <Document>_doc;\n this.theme$ = merge(\n this.storage$,\n this.doc.defaultView\n ? fromEvent<ThemeStorageEvent>(\n <Window & typeof globalThis>this.doc.defaultView,\n 'storage',\n ).pipe(\n startWith(\n storageEventBuilder(\n this.storage.getItem(THEME_STORAGE_KEY),\n ),\n ),\n catchError((e) => EMPTY),\n )\n : of(storageEventBuilder(\n this.storage.getItem(THEME_STORAGE_KEY),\n )),\n ).pipe(\n filter(\n (e: ThemeStorageEvent) => e.key === THEME_STORAGE_KEY,\n ),\n map((e) => coerceValue(e.newValue)),\n shareReplay(1),\n );\n }\n\n /**\n * Given that Safari doesn't respect in-tab storage events, we have to manually\n * fire storage events in the open tab on Webkit based browsers.\n */\n private progressStorageEvent(theme: DaffTheme) {\n this.storage$.next(storageEventBuilder(theme));\n }\n\n getThemeAsObservable(): Observable<DaffTheme> {\n return this.theme$;\n }\n\n getTheme(): DaffTheme {\n return coerceValue(this.storage.getItem(THEME_STORAGE_KEY));\n }\n\n setTheme(theme: DaffTheme): void {\n this.progressStorageEvent(theme);\n this.storage.setItem(THEME_STORAGE_KEY, theme);\n }\n\n removeThemeSetting(): void {\n this.progressStorageEvent(DaffTheme.None);\n this.storage.removeItem(THEME_STORAGE_KEY);\n }\n}\n","import { DaffTheme } from '../types/theme';\n\n/**\n * Computes the appropriate application theme from the specified values.\n * It cascades from `storedPreference` to `osPreference` to `defaultTheme`.\n */\nexport const daffComputeThemeSetting = (\n osPreference?: DaffTheme,\n storedPreference?: DaffTheme,\n defaultTheme: DaffTheme = DaffTheme.Dark,\n): DaffTheme => {\n if (storedPreference) {\n return storedPreference;\n }\n\n if (osPreference === 'dark') {\n return DaffTheme.Dark;\n }\n\n if (osPreference === 'light') {\n return DaffTheme.Light;\n }\n\n return defaultTheme;\n};\n","import { Injectable } from '@angular/core';\nimport {\n Observable,\n combineLatest,\n} from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { DaffOsThemeService } from './os-theme/ostheme.service';\nimport { DaffThemeStorageService } from './storage/theme-storage.service';\nimport { daffComputeThemeSetting } from '../functions/computer';\nimport { DaffTheme } from '../types/theme';\n\n/**\n * A service for controlling the application's theme.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffThemingService {\n private theme$: Observable<DaffTheme>;\n private theme: DaffTheme;\n\n constructor(\n private osTheme: DaffOsThemeService,\n private themeStorage: DaffThemeStorageService,\n ) {\n\n this.theme$ = combineLatest([\n this.osTheme.getThemePreference(),\n this.themeStorage.getThemeAsObservable(),\n ]).pipe(\n map(([osPreference, storedPreference]) => daffComputeThemeSetting(osPreference, storedPreference)),\n );\n\n this.theme$.subscribe((theme) => {\n this.theme = theme;\n });\n }\n\n /**\n * Get the current theme.\n */\n getTheme(): Observable<DaffTheme> {\n return this.theme$;\n }\n\n /**\n * Set the theme to dark mode.\n */\n darkMode() {\n this.themeStorage.setTheme(DaffTheme.Dark);\n }\n\n /**\n * Set the theme to light mode.\n */\n lightMode() {\n this.themeStorage.setTheme(DaffTheme.Light);\n }\n\n /**\n * Switch between themes.\n */\n switchTheme(): void {\n return this.theme === DaffTheme.Dark\n ? this.lightMode()\n : this.darkMode();\n }\n}\n","\nimport {\n Injectable,\n Inject,\n Renderer2,\n RendererFactory2,\n DOCUMENT,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\n\nimport { DaffTheme } from '../../types/theme';\nimport { DaffThemingService } from '../theming.service';\n\nexport const DAFF_THEME_DARK_CSS_CLASS = 'daff-theme-dark';\nexport const DAFF_THEME_LIGHT_CSS_CLASS = 'daff-theme-light';\n\n/**\n * This class updates the body of the application with the theme's appropriate class.\n * Note that this service is not provided tree-shakably by intention.\n * It is intended to be provided manually during setup.\n */\n@Injectable()\nexport class DaffThemeClassSetterService {\n private renderer: Renderer2;\n private subscription: Subscription;\n private doc?: Document;\n\n constructor(\n @Inject(DOCUMENT) _doc: any,\n private rendererFactory: RendererFactory2,\n private themingService: DaffThemingService,\n ) {\n this.doc = <Document>_doc;\n this.renderer = this.rendererFactory.createRenderer(null, null);\n }\n\n /**\n * This function is intended to only be called once when the service\n * is initialized for the very first time. This will mutate the class\n * on the body of the document for the appropriate theme as controlled\n * by the state of the application's theme.\n */\n beginThemeSync(): void {\n this.subscription = this.themingService.getTheme().subscribe((theme) => {\n // For simplicty, remove all previously applied themes.\n this.renderer.removeClass(this.doc.body, DAFF_THEME_LIGHT_CSS_CLASS);\n this.renderer.removeClass(this.doc.body, DAFF_THEME_DARK_CSS_CLASS);\n this.renderer.addClass(this.doc.body, theme === DaffTheme.Dark ? DAFF_THEME_DARK_CSS_CLASS : DAFF_THEME_LIGHT_CSS_CLASS);\n });\n }\n\n /**\n * This unsubscribes from the bodyClass subscription that exists.\n */\n destroy(): void {\n this.subscription?.unsubscribe();\n this.renderer.removeClass(this.doc.body, DAFF_THEME_LIGHT_CSS_CLASS);\n this.renderer.removeClass(this.doc.body, DAFF_THEME_DARK_CSS_CLASS);\n }\n}\n","import {\n inject,\n makeEnvironmentProviders,\n provideAppInitializer,\n} from '@angular/core';\n\nimport { DaffThemeClassSetterService } from './services/class-setter/theme-class-setter.service';\n\nexport const DAFF_THEME_INIT = (classSetter: DaffThemeClassSetterService) => () => classSetter.beginThemeSync();\n\n/**\n * The theme provider for the app.\n * This configures updating the body with the theme class.\n */\nexport const DAFF_THEME_INITIALIZER = makeEnvironmentProviders([\n DaffThemeClassSetterService,\n provideAppInitializer(() => {\n const initializerFn = (DAFF_THEME_INIT)(inject(DaffThemeClassSetterService));\n return initializerFn();\n }),\n]);\n","export const daffFocusableElementsSelector = 'a[href],a[routerlink], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])';\n","\nimport {\n Inject,\n Injectable,\n DOCUMENT,\n} from '@angular/core';\n\n@Injectable({ providedIn: 'root' })\nexport class DaffFocusStackService {\n private _stack: HTMLElement[] = [];\n\n constructor(@Inject(DOCUMENT) private document: any) {\n\n }\n\n /**\n * Return the current length of the stack.\n */\n length(): number {\n return this._stack.length;\n }\n\n /**\n * Adds a HTML element to a focus stack and returns the new length of the stack.\n *\n * Generally, you will probably want to call this before you transition focus\n * onto a new element.\n *\n * @example Using the push function\n * ```ts\n * this._focusStack.push(this._doc.activeElement);\n * ```\n */\n push(el: HTMLElement | undefined = undefined): number {\n this._stack.push(el ?? this.document.activeElement);\n return this._stack.length;\n }\n\n /**\n * Focuses on the HTML element at the top of a stack.\n *\n * @example Using the focus function\n * ```ts\n * this._focusStack.focus(this._doc.activeElement);\n * ```\n */\n focus() {\n if(this._stack.length >= 1) {\n this._stack.slice(-1)[0].focus();\n } else {\n (<HTMLElement>this.document.activeElement).blur();\n }\n }\n\n /**\n * Removes the HMTL element at the top of a stack and focuses on it.\n */\n pop(focus: boolean = true): HTMLElement {\n let el = this._stack.pop();\n while(el === undefined && this._stack.length > 0) {\n el = this._stack.pop();\n }\n\n if(el) {\n if(focus) {\n el.focus();\n }\n return el;\n }\n\n (<HTMLElement>this.document.activeElement).blur();\n return this.document.activeElement;\n }\n}\n","/**\n * Interfaces that gives a component the ability to customize sizing for component specific UI.\n */\n\nexport interface DaffSizable<T extends DaffSizeAllType> {\n size: T;\n}\n\n/**\n * The possible types that can be passed to a component that implements DaffSizable\n */\n\nexport type DaffSizeXSmallType = 'xs';\nexport type DaffSizeSmallType = 'sm';\nexport type DaffSizeMediumType = 'md';\nexport type DaffSizeLargeType = 'lg';\nexport type DaffSizeXLargeType = 'xl';\n\n/**\n * The a type representing all available sizes.\n */\nexport type DaffSizeAllType = DaffSizeXSmallType | DaffSizeSmallType | DaffSizeMediumType | DaffSizeLargeType | DaffSizeXLargeType;\n\nexport enum DaffSizableEnum {\n XSmall = 'xs',\n Small = 'sm',\n Medium = 'md',\n Large = 'lg',\n XLarge = 'xl'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffSizable,\n DaffSizableEnum,\n DaffSizeAllType,\n} from './sizable';\n\n/**\n * `DaffSizableDirective` allows for dynamic sizing of a component by setting\n * CSS classes based on the specified size.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffSizable [size]=\"small\">Sized content</div>\n * ```\n * In this example, the `daff-small` class is applied to the `div` element, allowing you to\n * use the class to style the `div`.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffSizableDirective,\n * inputs: ['size'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * :host {\n * &.daff-sm {\n * width: 24px;\n * }\n *\n * &.daff-md {\n * width: 32px;\n * }\n * }\n * ```\n *\n * The directive applies the following CSS classes to the component based on the size:\n *\n * - `daff-xs`: Applied when the size is `xs`.\n * - `daff-sm`: Applied when the size is `sm`.\n * - `daff-md`: Applied when the size is `md`.\n * - `daff-lg`: Applied when the size is `lg`.\n * - `daff-xl`: Applied when the size is `xl`.\n */\n@Directive({\n selector: '[daffSizable]',\n standalone: true,\n})\nexport class DaffSizableDirective<T extends DaffSizeAllType> implements DaffSizable<T>, OnChanges, OnInit {\n\n /**\n * Dynamically sets the CSS classes based on the size.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-xs': this.size === DaffSizableEnum.XSmall,\n 'daff-sm': this.size === DaffSizableEnum.Small,\n 'daff-md': this.size === DaffSizableEnum.Medium,\n 'daff-lg': this.size === DaffSizableEnum.Large,\n 'daff-xl': this.size === DaffSizableEnum.XLarge,\n };\n }\n\n /**\n * The size of the component.\n *\n * Options are: `xs`, `sm`, `md`, `lg`, and `xl`.\n */\n @Input() size: T;\n\n /**\n * Sets a default size when no size is provided.\n */\n public defaultSize: T;\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if(!changes.size?.currentValue) {\n this.size = this.defaultSize;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n if(!this.size) {\n this.size = this.defaultSize;\n }\n }\n}\n\n","export const DaffOpenableStateError = '`open` cannot be set as an input property on the DaffOpenableDirective if it is not stateless. Did you mean to call `reveal`, `hide`, or `toggle`?';\n","import {\n Directive,\n EventEmitter,\n HostBinding,\n Input,\n OnChanges,\n Output,\n SimpleChanges,\n isDevMode,\n} from '@angular/core';\n\nimport { DaffOpenable } from './openable';\nimport { DaffOpenableStateError } from './utils/state-error';\n\n/**\n * A directive that opens or closes a component. It should only be used as an [Angular Host Directive](https://angular.dev/guide/directives/directive-composition-api).\n * This directive is stateless by default, but it supports both a state and stateless implementation. Only one version should be used within a component.\n *\n * @example Using the DaffOpenableDirective\n * ```ts\n * import {\n * Component,\n * ChangeDetectionStrategy,\n * } from '@angular/core';\n *\n * import { DaffOpenableDirective } from '@daffodil/design';\n *\n * @Component({\n * selector: 'custom-component',\n * template: `\n * <button (click)=\"toggle()\">Click me!</button>\n * <div class=\"hidden-block\">This is a hidden block that can be shown by clicking the button.</div>\n * `,\n * styles: [`\n * :host {\n * .hidden-block {\n * display: none;\n * }\n *\n * &.daff-open {\n * .hidden-block {\n * display: block;\n * }\n * }\n * }`],\n * changeDetection: ChangeDetectionStrategy.OnPush,\n * hostDirectives: [{\n * directive: DaffOpenableDirective,\n * }],\n * })\n * export class CustomComponent {\n * constructor(private openDirective: DaffOpenableDirective) {}\n *\n * toggle() {\n * this.openDirective.toggle();\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffOpenable]',\n standalone: true,\n})\n\nexport class DaffOpenableDirective implements DaffOpenable, OnChanges {\n /** Controls whether the component is open. */\n @Input() @HostBinding('class.daff-open') open = false;\n\n private _setOpen(v: boolean) {\n if(!this.stateless) {\n this.open = v;\n }\n }\n\n /** Whether or not a component should handle state\n *\n * @example Setting the `stateless` property on a component\n * ```ts\n * constructor(private openDirective: DaffOpenableDirective) {\n * this.openDirective.stateless = false;\n * }\n * ```\n */\n stateless = true;\n\n /**\n * Event fired when a component is opened (true) or closed (false)\n */\n @Output() toggled: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n /**\n * Open the component\n */\n reveal() {\n this._setOpen(true);\n\n this.toggled.emit(true);\n }\n\n /**\n * Close the component\n */\n hide() {\n this._setOpen(false);\n\n this.toggled.emit(false);\n }\n\n /**\n * Open or close the component, depending on if it's currently open or not\n */\n toggle() {\n const state = !this.open;\n\n this._setOpen(state);\n\n this.toggled.emit(state);\n }\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n /**\n * Throw an error if open is set in a component that is not stateless\n */\n if(changes.open.currentValue && !this.stateless) {\n this.open = changes.open.previousValue;\n\n if(isDevMode()) {\n throw new Error(DaffOpenableStateError);\n }\n }\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n EventEmitter,\n HostBinding,\n Input,\n Output,\n} from '@angular/core';\n\nimport { DaffSelectable } from '../selectable/selectable';\n\n@Directive({\n selector: '[daffSelected]',\n standalone: true,\n})\n\nexport class DaffSelectableDirective implements DaffSelectable {\n /**\n * Controls whether the component is selected.\n */\n @Input() @HostBinding('class.daff-selected') selected = false;\n\n /**\n * An event that fires after the media element becomes selected.\n */\n @Output() becameSelected: EventEmitter<void> = new EventEmitter<void>();\n\n constructor(private cd: ChangeDetectorRef) {}\n\n select() {\n this.selected = true;\n this.becameSelected.emit();\n this.cd.markForCheck();\n return this;\n }\n\n deselect() {\n this.selected = false;\n this.cd.markForCheck();\n return this;\n }\n}\n","\nimport {\n Directive,\n ElementRef,\n OnDestroy,\n Renderer2,\n Inject,\n Input,\n afterNextRender,\n DOCUMENT,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffStickyTracker]',\n})\nexport class DaffStickyTrackerDirective implements OnDestroy {\n @Input() sticky: 'top' | 'bottom' | undefined = undefined;\n\n private sentinelObserver?: IntersectionObserver;\n private readonly className = 'is-pinned';\n private lastPinnedState: boolean | null = null;\n private debounceTimeout?: number;\n private sentinelElement?: HTMLElement;\n private idleCallbackId?: number;\n\n constructor(\n private readonly elementRef: ElementRef<HTMLElement>,\n private readonly renderer: Renderer2,\n @Inject(DOCUMENT) private readonly document: Document,\n ) {\n afterNextRender({\n write: () => {\n this.createSentinel();\n },\n });\n\n afterNextRender({\n read: () => {\n this.scheduleObserverCreation();\n },\n });\n }\n\n private get isBottomSticky(): boolean {\n return this.sticky === 'bottom';\n }\n\n private scheduleObserverCreation(): void {\n const defaultView = this.document.defaultView;\n\n if (defaultView?.requestIdleCallback) {\n this.idleCallbackId = defaultView.requestIdleCallback(() => {\n this.createSentinelObserver();\n });\n } else {\n this.idleCallbackId = defaultView?.setTimeout(() => {\n this.createSentinelObserver();\n }, 0);\n }\n }\n\n private findScrollableParent(): HTMLElement | null {\n let parent = this.elementRef.nativeElement.parentElement;\n\n while (parent && parent !== this.document.body) {\n const computedStyle = this.document.defaultView?.getComputedStyle(parent);\n const overflowY = computedStyle?.overflowY;\n\n if (overflowY === 'auto' || overflowY === 'scroll') {\n return parent;\n }\n parent = parent.parentElement;\n }\n\n return null;\n }\n\n private createSentinel(): void {\n const stickyElement = this.elementRef.nativeElement;\n const parentElement = stickyElement.parentElement;\n\n if (!parentElement) {\n throw new Error('DaffStickyTracker: Sticky element must have a parent element');\n }\n\n this.sentinelElement = this.renderer.createElement('div');\n\n this.renderer.setStyle(this.sentinelElement, 'width', '1px');\n this.renderer.setStyle(this.sentinelElement, 'height', '1px');\n this.renderer.setStyle(this.sentinelElement, 'opacity', '0');\n this.renderer.setStyle(this.sentinelElement, 'pointer-events', 'none');\n this.renderer.setStyle(this.sentinelElement, 'margin', '0');\n this.renderer.setStyle(this.sentinelElement, 'padding', '0');\n this.renderer.setStyle(this.sentinelElement, 'border', 'none');\n this.renderer.setStyle(this.sentinelElement, 'overflow', 'hidden');\n this.renderer.setStyle(this.sentinelElement, 'font-size', '0');\n this.renderer.setStyle(this.sentinelElement, 'line-height', '0');\n\n if (this.isBottomSticky) {\n this.renderer.insertBefore(\n parentElement,\n this.sentinelElement,\n stickyElement.nextSibling,\n );\n } else {\n this.renderer.insertBefore(\n parentElement,\n this.sentinelElement,\n stickyElement,\n );\n }\n }\n\n private createSentinelObserver(): void {\n const scrollableParent = this.findScrollableParent();\n const stickyElement = this.elementRef.nativeElement;\n\n this.sentinelObserver = new IntersectionObserver(\n ([entry]) => {\n const shouldBePinned = !entry.isIntersecting;\n\n if (this.lastPinnedState !== shouldBePinned) {\n if (this.debounceTimeout) {\n clearTimeout(this.debounceTimeout);\n }\n\n this.debounceTimeout = this.document.defaultView?.setTimeout(() => {\n if (shouldBePinned) {\n this.renderer.addClass(stickyElement, this.className);\n } else {\n this.renderer.removeClass(stickyElement, this.className);\n }\n this.lastPinnedState = shouldBePinned;\n }, 5);\n }\n },\n {\n root: scrollableParent,\n threshold: 0,\n rootMargin: '1px',\n },\n );\n\n if (this.sentinelElement) {\n this.sentinelObserver.observe(this.sentinelElement);\n }\n }\n\n ngOnDestroy(): void {\n if (this.idleCallbackId !== undefined) {\n const defaultView = this.document.defaultView;\n if (defaultView?.cancelIdleCallback) {\n defaultView.cancelIdleCallback(this.idleCallbackId);\n } else {\n defaultView?.clearTimeout(this.idleCallbackId);\n }\n }\n\n if (this.debounceTimeout) {\n clearTimeout(this.debounceTimeout);\n }\n\n if (this.sentinelObserver && this.sentinelElement) {\n this.sentinelObserver.unobserve(this.sentinelElement);\n }\n this.sentinelObserver?.disconnect();\n\n if (this.sentinelElement && this.sentinelElement.parentElement) {\n this.renderer.removeChild(this.sentinelElement.parentElement, this.sentinelElement);\n }\n }\n}\n","// Core\nexport * from './animation/animation-state-with-params';\nexport * from './prefix-suffix/public_api';\nexport * from './colorable/public_api';\nexport * from './breakpoints/public_api';\nexport * from './constructor/constructor';\nexport * from './statusable/public_api';\nexport * from './skeletonable/public_api';\nexport * from './mutable/mutable';\nexport * from './text-alignable/public_api';\nexport * from './compactable/public_api';\nexport * from './manage-container-layout/public_api';\nexport * from './article-encapsulated/public_api';\nexport * from './theming/public_api';\nexport * from './lazy/public_api';\nexport * from './focus/public_api';\nexport * from './sizable/public_api';\nexport * from './openable/public_api';\nexport * from './selectable/public_api';\nexport * from './sticky/public_api';\n","/*\n * Public API Surface of @daffodil/design\n */\n\n// Atoms\nexport * from './atoms/form/core/public_api';\nexport * from './atoms/form/checkbox/public_api';\nexport * from './atoms/form/form-label/public_api';\n\n// Core\nexport * from './core/public_api';\n","/**\n * This is a filler file for making the\n * demo work in dev mode.\n */\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2.DaffCheckboxComponent","i1.DaffOsThemeService","i2.DaffThemeStorageService","i1.DaffThemingService"],"mappings":";;;;;;;;;MAEa,qBAAqB,CAAA;IAEhC,YAAY,CAAC,OAA2B,EAAE,aAAsB,EAAA;QAC9D,OAAO,OAAO,CAAC,MAAM,KAAK,OAAO,CAAC,OAAO,IAAI,aAAa,CAAC;IAC7D;AACD;;ACKD,IAAI,aAAa,GAAG,CAAC;MAQR,qBAAqB,CAAA;AAkBhC,IAAA,IACI,OAAO,GAAA;QACT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QAEnC,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,CAAC,eAAe,CAAC,aAAa,EAAE;AAC9D,YAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,aAAa,EAAE,IAAI,CAAC,eAAe,CAAC;QACrF;IACF;AA3JW,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,qEAa3B,QAAQ,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;qHAbP,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAHtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,qBAAqB;AAChC,iBAAA;;0BAcI,MAAM;2BAAC,QAAQ;yCAZT,MAAM,EAAA,CAAA;sBAAd;;;AChBH;;ACAA;;AAEG;AAEH;;ACJA;;;AAGG;;ACHH;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design.mjs","sources":["../../../libs/design/src/atoms/form/form-label/form-label.directive.ts","../../../libs/design/src/atoms/form/form-label/form-label.module.ts","../../../libs/design/src/core/prefix-suffix/prefix.directive.ts","../../../libs/design/src/core/prefix-suffix/suffix.directive.ts","../../../libs/design/src/core/prefix-suffix/prefix-suffix.module.ts","../../../libs/design/src/core/prefix-suffix/prefix-suffix.ts","../../../libs/design/src/core/colorable/colorable.ts","../../../libs/design/src/core/colorable/colorable.directive.ts","../../../libs/design/src/core/breakpoints/breakpoints.ts","../../../libs/design/src/core/breakpoints/noop.service.ts","../../../libs/design/src/core/breakpoints/provider.ts","../../../libs/design/src/core/constructor/constructor.ts","../../../libs/design/src/core/statusable/statusable.ts","../../../libs/design/src/core/statusable/statusable.directive.ts","../../../libs/design/src/core/skeletonable/skeletonable.directive.ts","../../../libs/design/src/core/text-alignable/text-alignable.ts","../../../libs/design/src/core/text-alignable/text-alignable.directive.ts","../../../libs/design/src/core/compactable/compactable.directive.ts","../../../libs/design/src/core/manage-container-layout/manage-container-layout.directive.ts","../../../libs/design/src/core/article-encapsulated/article-encapsulated.directive.ts","../../../libs/design/src/core/theming/types/theme.ts","../../../libs/design/src/core/theming/services/os-theme/ostheme.service.ts","../../../libs/design/src/core/theming/services/storage/theme-storage.service.ts","../../../libs/design/src/core/theming/functions/computer.ts","../../../libs/design/src/core/theming/services/theming.service.ts","../../../libs/design/src/core/theming/services/class-setter/theme-class-setter.service.ts","../../../libs/design/src/core/theming/initializer.ts","../../../libs/design/src/core/focus/focusable-elements.ts","../../../libs/design/src/core/focus/stack.service.ts","../../../libs/design/src/core/sizable/sizable.ts","../../../libs/design/src/core/sizable/sizable.directive.ts","../../../libs/design/src/core/openable/utils/state-error.ts","../../../libs/design/src/core/openable/openable.directive.ts","../../../libs/design/src/core/orientable/orientable.ts","../../../libs/design/src/core/orientable/orientable.directive.ts","../../../libs/design/src/core/selectable/selectable.directive.ts","../../../libs/design/src/core/sticky/sticky-tracker.directive.ts","../../../libs/design/src/core/disableable/disableable.directive.ts","../../../libs/design/src/core/error-state-matcher/error-state-matcher.ts","../../../libs/design/src/core/public_api.ts","../../../libs/design/src/public_api.ts","../../../libs/design/src/index.ts","../../../libs/design/src/daffodil-design.ts"],"sourcesContent":["import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * @deprecated in favor of the {@link DaffFormFieldLabelDirective}. Deprecated in version 0.86.0. Will be removed in version 1.0.0.\n */\n@Directive({\n selector: '[daffFormLabel]',\n})\nexport class DaffFormLabelDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-form-label') class = true;\n}\n","import { NgModule } from '@angular/core';\n\nimport { DaffFormLabelDirective } from './form-label.directive';\n\n/**\n * @deprecated in favor of standalone components. Deprecated in version 0.84.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n exports: [\n DaffFormLabelDirective,\n ],\n imports: [\n DaffFormLabelDirective,\n ],\n})\n\nexport class DaffFormLabelModule {}\n","import { Directive } from '@angular/core';\n\n/**\n * DaffPrefixDirective can be used to place content before another piece of content\n * in components like `DaffFormFieldComponent` or `DaffListComponent`.\n */\n@Directive({\n selector: '[daffPrefix]',\n host: {\n class: 'daff-prefix',\n },\n})\nexport class DaffPrefixDirective {}\n","import { Directive } from '@angular/core';\n\n/**\n * DaffSuffixDirective can be used to place content after another piece of content\n * in components like `DaffFormFieldComponent` or `DaffListComponent`.\n */\n@Directive({\n selector: '[daffSuffix]',\n host: {\n class: 'daff-suffix',\n },\n})\nexport class DaffSuffixDirective { }\n","import { NgModule } from '@angular/core';\n\nimport { DaffPrefixDirective } from './prefix.directive';\nimport { DaffSuffixDirective } from './suffix.directive';\n\n/**\n * @deprecated in favor of standalone components. Deprecated in version 0.91.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n imports: [\n DaffPrefixDirective,\n DaffSuffixDirective,\n ],\n exports: [\n DaffPrefixDirective,\n DaffSuffixDirective,\n ],\n})\nexport class DaffPrefixSuffixModule {}\n","import { DaffPrefixDirective } from './prefix.directive';\nimport { DaffSuffixDirective } from './suffix.directive';\n\nexport const DAFF_PREFIX_SUFFIX_DIRECTIVES = <const> [\n DaffPrefixDirective,\n DaffSuffixDirective,\n];\n","export interface DaffColorable {\n color: DaffPalette;\n}\n\n/**\n * These are the valid options that can be passed to a DaffColorable component.\n */\nexport type DaffPalette = 'primary' | 'secondary' | 'tertiary' | 'light' | 'dark' | 'theme' | 'theme-contrast' | 'black' | 'white' | undefined;\n\n/**\n * Enumerates the available color palette options for a component.\n * These values can be used to apply specific color styles to components within the application.\n */\nexport enum DaffPaletteEnum {\n /**\n * Your primary color.\n */\n Primary = 'primary',\n\n /**\n * Your secondary color.\n */\n Secondary = 'secondary',\n\n /**\n * Your tertiary color.\n */\n Tertiary = 'tertiary',\n\n /**\n * A light color that does not change based on the defined theme.\n */\n Light = 'light',\n\n /**\n * A dark color that does not change based on the defined theme.\n */\n Dark = 'dark',\n\n /**\n * A color that matches the defined theme.\n */\n Theme = 'theme',\n\n /**\n * A color that contrasts against the defined theme.\n */\n ThemeContrast = 'theme-contrast',\n\n /**\n * @deprecated Deprecated in version 0.82.0. Will be removed in version 1.0.0.\n * Black. It's dark.\n */\n Black = 'black',\n\n /**\n * @deprecated Deprecated in version 0.82.0. Will be removed in version 1.0.0.\n * White. It's bright.\n */\n White = 'white',\n}\n","import {\n Directive,\n Input,\n isDevMode,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffColorable,\n DaffPalette,\n DaffPaletteEnum,\n} from './colorable';\n\nconst colorInPalette = (color: string) => (<any>Object).values(DaffPaletteEnum).includes(color);\n\nconst validateColor = (color: string) => {\n if(isDevMode()) {\n if(color !== undefined && !colorInPalette(color)) {\n console.warn(color + ' is not a valid color in DaffPalette');\n }\n }\n};\n\n/**\n * `DaffColorableDirective` allows a component to conditionally apply color-specific\n * styles by setting CSS classes based on the specified color. This directive is useful\n * for applying different color palettes to a component in an Angular application.\n *\n * Supported colors: `primary | secondary | tertiary | light | dark | theme | theme-contrast`\n *\n * | Color | Class |\n * | -------- | ----- |\n * | `primary` | `.daff-primary`|\n * | `secondary` | `.daff-secondary`|\n * | `tertiary` | `.daff-tertiary`|\n * | `light` | `daff-light` |\n * | `dark` | `daff-dark` |\n * | `theme` | `daff-theme`|\n * | `theme-contrast` | `.daff-theme-contrast`|\n *\n * `white` and `black` have been deprecated in favor of `light` and `dark`.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffColorable [color]=\"primary\">Colored content</div>\n * ```\n *\n * ```scss\n * .div {\n * &.daff-primary {\n * color: daff-color($primary);\n * }\n * }\n * ```\n *\n * In this example, the `daff-primary` class is applied to the `div` element, allowing you to\n * use the color class to style the `div`.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffColorableDirective,\n * inputs: ['color'],\n * },\n * ],\n * })\n * export class CustomComponent {\n * @HostBinding('class.custom-component') class = true;\n * }\n * ```\n *\n * ```scss\n * .custom-component {\n * &.daff-primary {\n * background: daff-color($primary, 10);\n * color: daff-color($primary, 90);\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffColorable]',\n host: {\n '[class.daff-primary]': 'color === \"primary\"',\n '[class.daff-secondary]': 'color === \"secondary\"',\n '[class.daff-tertiary]': 'color === \"tertiary\"',\n '[class.daff-light]': 'color === \"light\"',\n '[class.daff-dark]': 'color === \"dark\"',\n '[class.daff-theme]': 'color === \"theme\"',\n '[class.daff-theme-contrast]': 'color === \"theme-contrast\"',\n '[class.daff-black]': 'color === \"black\"',\n '[class.daff-white]': 'color === \"white\"',\n },\n})\nexport class DaffColorableDirective implements DaffColorable, OnChanges, OnInit {\n /**\n * Sets the color on a component.\n */\n @Input() color: DaffPalette;\n\n /**\n * Sets a default color.\n *\n * @example\n * ```ts\n * constructor(private colorableDirective: DaffColorableDirective) {\n * this.colorableDirective.defaultColor = 'theme';\n * }\n * ```\n */\n defaultColor: DaffPalette;\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.color.currentValue) {\n this.color = this.defaultColor;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n validateColor(this.color);\n if (!this.color) {\n this.color = this.defaultColor;\n }\n }\n}\n\n","export enum DaffBreakpoints {\n DESKTOP = '(min-width: 1920px)',\n LAPTOP = '(min-width: 1440px)',\n SMALL_LAPTOP = '(min-width: 1200px)',\n BIG_TABLET = '(min-width: 1024px)',\n TABLET = '(min-width: 768px)',\n MOBILE = '(min-width: 480px)',\n}\n","import {\n BreakpointObserver,\n BreakpointState,\n} from '@angular/cdk/layout';\nimport { Injectable } from '@angular/core';\nimport {\n Observable,\n of,\n} from 'rxjs';\n\n/**\n * A stubbed out breakpoint observer service.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class NoopBreakpointObserver implements Omit<BreakpointObserver, never> {\n // eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method, @angular-eslint/use-lifecycle-interface\n ngOnDestroy(): void {}\n isMatched(value: string | readonly string[]): boolean {\n return false;\n }\n observe(value: string | readonly string[]): Observable<BreakpointState> {\n return of();\n }\n\n}\n","import { BreakpointObserver } from '@angular/cdk/layout';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n inject,\n InjectionToken,\n PLATFORM_ID,\n} from '@angular/core';\n\nimport { NoopBreakpointObserver } from './noop.service';\n\n/**\n * Provides a {@link NoopBreakpointObserver} if the platform is not browser.\n */\nexport const SERVER_SAFE_BREAKPOINT_OBSERVER = new InjectionToken<Omit<BreakpointObserver, never>>('SERVER_SAFE_BREAKPOINT_OBSERVER', {\n factory: () =>\n isPlatformBrowser(inject(PLATFORM_ID))\n ? inject(BreakpointObserver)\n : inject(NoopBreakpointObserver),\n});\n","/**\n * A basic constructor type useful for mixins\n * See https://blog.mariusschulz.com/2017/05/26/typescript-2-2-mixin-classes\n * for a really good explanation of why mixins are useful.\n */\n\nexport type Constructor<T = Record<string, any>> = new (...args: any[]) => T;\n","/**\n * The `DaffStatusable` interface defines a component that can have a status.\n * This status determines the styling or behavior of the component.\n */\nexport interface DaffStatusable {\n /**\n * The status of the component.\n */\n status: DaffStatus;\n}\n\n/**\n * The `DaffStatus` type defines the possible status values that a component can have.\n * - 'info': Indicates an informational status.\n * - 'warn': Indicates a warning status.\n * - 'critical': Indicates a critical or error status.\n * - 'success': Indicates a success status.\n */\nexport type DaffStatus = 'info' | 'warn' | 'critical' | 'success';\n\n/**\n * The `DaffStatusEnum` enumerates the possible status values for a component.\n */\nexport enum DaffStatusEnum {\n Info = 'info',\n Warn = 'warn',\n Critical = 'critical',\n Success = 'success'\n}\n","import {\n Directive,\n Input,\n isDevMode,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffStatus,\n DaffStatusEnum,\n DaffStatusable,\n} from './statusable';\n\nconst statusValues = (status: string) => (<any>Object).values(DaffStatusEnum).includes(status);\n\nconst validateStatus = (status: string) => {\n if(isDevMode()) {\n if (status !== undefined && !statusValues(status)) {\n console.warn(\n `'${status}' is not a valid value of the status property.\\n\\n` +\n `The available values are: info, warn, critical, or success.`,\n );\n }\n }\n};\n\n/**\n * `DaffStatusableDirective` allows a component to conditionally apply status-specific\n * styles by setting CSS classes based on the specified status. This directive is useful\n * for indicating different statuses such as info, warning, critical, or success states.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffStatusable [status]=\"componentStatus\">Status content</div>\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffStatusableDirective,\n * inputs: ['status'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n *\n * ```scss\n * :host {\n * &.daff-critical {\n * background: daff-color($red, 10);\n * color: daff-color($red, 90);\n * }\n * }\n * ```\n *\n * The directive applies the following CSS classes to the component based on the status:\n *\n * - `daff-info`: Applied when the status is `info`.\n * - `daff-warn`: Applied when the status is `warn`.\n * - `daff-critical`: Applied when the status is `critical`.\n * - `daff-success`: Applied when the status is `success`.\n */\n@Directive({\n selector: '[daffStatusable]',\n host: {\n '[class.daff-info]': 'status === \"info\"',\n '[class.daff-warn]': 'status === \"warn\"',\n '[class.daff-critical]': 'status === \"critical\"',\n '[class.daff-success]': 'status === \"success\"',\n },\n})\nexport class DaffStatusableDirective implements DaffStatusable, OnChanges, OnInit {\n /**\n * Sets the status on a component.\n */\n @Input() status: DaffStatus;\n\n /**\n * Sets a default status.\n *\n * @example\n * ```ts\n * constructor(private statusDirective: DaffStatusableDirective) {\n * this.statusDirective.defaultStatus = 'info';\n * }\n * ```\n */\n defaultStatus: DaffStatus;\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.status.currentValue) {\n this.status = this.defaultStatus;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n validateStatus(this.status);\n\n if (this.defaultStatus && !this.status) {\n this.status = this.defaultStatus;\n }\n }\n}\n\n","import {\n Directive,\n Input,\n} from '@angular/core';\n\n/**\n * `DaffSkeletonableDirective` allows a component to display a skeleton loading\n * state by conditionally applying a CSS class. This is useful for indicating to\n * users that content is loading or being processed. This directive can be used to\n * apply a skeleton loading state to any component by toggling the `skeleton`\n * input property. When `skeleton` is `true`, the `daff-skeleton` CSS class\n * is applied, which should style the component to look like a loading placeholder.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffSkeletonable [skeleton]=\"isLoading\">Content</div>\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffSkeletonableDirective,\n * inputs: ['skeleton'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * :host {\n * .daff-skeleton {\n * @include state.skeleton-screen(48px, 24px);\n * }\n * }\n * ```\n *\n * The directive applies the `daff-skeleton` class to the component should be defined in your styles to display the loading\n * state as desired. It can be used in conjuction with the `skeleton-screen` mixin, which provides predefined loading styles.\n */\n@Directive({\n selector: '[daffSkeletonable]',\n host: {\n '[class.daff-skeleton]': 'skeleton',\n },\n})\nexport class DaffSkeletonableDirective {\n /**\n * Controls whether the component displays a skeleton loading state.\n */\n @Input() skeleton = false;\n}\n","/**\n * Interface for giving a component the ability to customize text alignment for component-specific UI.\n */\nexport interface DaffTextAlignable {\n textAlignment: DaffTextAlignment;\n}\n\n/**\n * The possible types that can be passed to a DaffTextAlignable component\n */\nexport type DaffTextAlignment = 'left' | 'center' | 'right';\nexport enum DaffTextAlignmentEnum {\n Left = 'left',\n Center = 'center',\n Right = 'right'\n}\n","import {\n Directive,\n Input,\n isDevMode,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffTextAlignable,\n DaffTextAlignment,\n DaffTextAlignmentEnum,\n} from './text-alignable';\n\nconst textAlignmentValues = (textAlignment: string) => (<any>Object).values(DaffTextAlignmentEnum).includes(textAlignment);\n\nconst validateTextAlignment = (textAlignment: string) => {\n if(isDevMode()) {\n if(textAlignment !== undefined && !textAlignmentValues(textAlignment)) {\n console.warn(`'${textAlignment}' is not a valid value of the textAlignment property. The available values are: left, center, or right.`);\n }\n }\n};\n\n/**\n * `DaffTextAlignableDirective` allows for dynamic text alignment of a component by\n * setting CSS classes based on the specified text alignment. This directive is\n * useful when text alignment needs to be managed dynamically in an Angular component.\n *\n * ## Why not just use CSS?\n *\n * While the native CSS `text-align` property can be used for static text alignment,\n * the `DaffTextAlignableDirective` provides a structured and consistent way to handle\n * dynamic text alignment within Angular components in more complex use cases where the\n * application of `text-align: center;` would cause unexpected side effects.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffTextAlignable textAlignment=\"center\">Aligned text</div>\n * ```\n *\n * In this example, the `daff-center` class is added to the `div` element, allowing\n * you to style the `div` as you wish using the class.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffTextAlignableDirective,\n * inputs: ['textAlignment'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .custom-component {\n * &.daff-left {\n * text-align: left;\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffTextAlignable]',\n host: {\n '[class.daff-left]': 'textAlignment === \"left\"',\n '[class.daff-center]': 'textAlignment === \"center\"',\n '[class.daff-right]': 'textAlignment === \"right\"',\n },\n})\nexport class DaffTextAlignableDirective implements DaffTextAlignable, OnChanges, OnInit {\n\n /**\n * The text alignment of the component.\n */\n @Input() textAlignment: DaffTextAlignment;\n\n /**\n * Sets a default alignment.\n *\n * @example\n * ```ts\n * constructor(private textAligmentDirective: DaffTextAlignableDirective) {\n * this.textAligmentDirective.defaultAlignent = 'left';\n * }\n * ```\n */\n public defaultAlignment: DaffTextAlignment;\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.textAlignment?.currentValue) {\n this.textAlignment = this.defaultAlignment;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n validateTextAlignment(this.textAlignment);\n\n if (!this.textAlignment) {\n this.textAlignment = this.defaultAlignment;\n }\n }\n}\n\n","import {\n Directive,\n Input,\n} from '@angular/core';\n\n/**\n * `DaffCompactableDirective` allows a component to conditionally apply a compact\n * style by toggling a CSS class. This is useful for creating components that can\n * switch between regular and compact styles based on the `compact` property.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffCompactable [compact]=\"isCompact\">Content goes here</div>\n * ```\n *\n * In this example, the `daff-compact` class is applied to the `div` element when\n * `isCompact` is `true`, making the `div` display its compact state.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffCompactableDirective,\n * inputs: ['compact'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * The directive applies the `daff-compact` class to the component and\n * should be defined in your styles to display the compact state as desired.\n *\n * ```scss\n * :host {\n * padding: 8px 16px;\n *\n * &.daff-compact {\n * padding: 4px 8px;\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffCompactable]',\n host: {\n '[class.daff-compact]': 'compact',\n },\n})\nexport class DaffCompactableDirective {\n /**\n * Controls whether the component is compact.\n */\n @Input() compact = false;\n}\n","import { Directive } from '@angular/core';\n\n/**\n * `DaffManageContainerLayoutDirective` gives a component the ability to manage a `DaffContainerComponent`'s layout.\n * By including this directive, predetermined layout styles are passed down to the container.\n *\n * To understand the motivation for this directive, consider:\n *\n * ```html\n * <daff-container>\n * <daff-hero></daff-hero>\n * </daff-container>\n * ```\n * vs.\n *\n * ```html\n * <daff-hero>\n * <daff-container></daff-container>\n * </daff-hero>\n * ```\n *\n * The former may inappropriately constrain the width of its child elements,\n * while the latter (without `DaffManageContainerLayoutDirective`) may unexpectedly\n * interfere in the layout features of its parent element (i.e. display: grid, display: flex).\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <my-custom-component daffManageContainerLayout>\n * <daff-container size=\"lg\"></daff-container>\n * </my-custom-component>\n * ```\n *\n * ```scss\n * :host {\n * display: grid;\n * grid-template-columns: 1fr 1fr;\n * }\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * selector: 'my-custom-component',\n * template: 'my-custom-component.html',\n * hostDirectives: [{ directive: DaffManageContainerLayoutDirective }],\n * })\n * export class MyCustomComponent { }\n *\n * ```scss\n * :host {\n * display: grid;\n * grid-template-columns: 1fr 1fr;\n * }\n * ```\n *\n * This directive will apply the `daff-manage-container-layout` class to your component, ensuring that the styles set on `:host` are passed down to the container.\n */\n\n@Directive({\n selector: '[daffManageContainerLayout]',\n host: {\n class: 'daff-manage-container-layout',\n },\n})\nexport class DaffManageContainerLayoutDirective {}\n","import { Directive } from '@angular/core';\n\n/**\n * `DaffArticleEncapsulatedDirective` is used to encapsulate custom components within an article,\n * preventing {@link DaffArticleComponent } styles from bleeding into the component.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <my-custom-component daffArticleEncapsulated></my-custom-component>\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [{ directive: DaffArticleEncapsulatedDirective }],\n * })\n * export class CustomComponent { }\n * ```\n *\n * This directive will apply the `daff-ae` class to the component, ensuring that it is encapsulated from the article's styles.\n */\n@Directive({\n selector: '[daffArticleEncapsulated]',\n host: {\n class: 'daff-ae',\n },\n})\nexport class DaffArticleEncapsulatedDirective {}\n","/**\n * The possible states of a theme.\n */\nexport enum DaffTheme {\n Light = 'light',\n Dark = 'dark',\n None = 'none'\n}\n","\nimport {\n Injectable,\n Inject,\n DOCUMENT,\n} from '@angular/core';\nimport {\n Observable,\n of,\n fromEventPattern,\n} from 'rxjs';\nimport {\n map,\n startWith,\n} from 'rxjs/operators';\n\nimport { DaffTheme } from '../../types/theme';\n\nexport const mediaQueryDarkPreference = '(prefers-color-scheme: dark)';\n\nexport const addHandlerFactory = (window: Window) => (handler: any) => {\n const query = window.matchMedia(mediaQueryDarkPreference);\n return 'addEventListener' in query\n ? query.addEventListener('change', handler)\n : (<MediaQueryList>query).addListener(handler);\n};\n\nexport const removeHandlerFactory = (window: Window) => (handler: any) => {\n const query = window.matchMedia(mediaQueryDarkPreference);\n return 'removeEventListener' in query\n ? query.removeEventListener('change', handler)\n : (<MediaQueryList>query).removeListener(handler);\n};\n\n/**\n * A service for retrieving the operating system's theme preference.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOsThemeService {\n\n preference$: Observable<DaffTheme>;\n\n private doc?: Document;\n\n constructor(@Inject(DOCUMENT) _doc: any) {\n this.doc = <Document>_doc;\n\n this.preference$ = this.doc.defaultView?.matchMedia\n ? fromEventPattern<MediaQueryListEvent>(\n addHandlerFactory(this.doc.defaultView),\n removeHandlerFactory(this.doc.defaultView),\n )\n .pipe(\n startWith(this.doc.defaultView?.matchMedia(mediaQueryDarkPreference)),\n map((e: MediaQueryListEvent) => e.matches),\n map((prefersDark) => prefersDark ? DaffTheme.Dark : DaffTheme.Light),\n )\n : of(DaffTheme.None);\n }\n\n /**\n * Get the operating system's theme preference.\n */\n public getThemePreference(): Observable<DaffTheme> {\n return this.preference$;\n }\n}\n","\nimport {\n Injectable,\n Inject,\n DOCUMENT,\n} from '@angular/core';\nimport {\n Observable,\n fromEvent,\n Subject,\n merge,\n EMPTY,\n of,\n} from 'rxjs';\nimport {\n map,\n filter,\n startWith,\n shareReplay,\n catchError,\n} from 'rxjs/operators';\n\nimport {\n DaffPersistenceService,\n DaffServerSafePersistenceServiceToken,\n} from '@daffodil/core';\n\nimport { DaffTheme } from '../../types/theme';\n\nexport type ThemeStorageEvent = Pick<StorageEvent, 'newValue' | 'key'>;\n\nexport const THEME_STORAGE_KEY = 'DAFF_THEME';\n\nexport const coerceValue = (val?: string): DaffTheme =>\n val === DaffTheme.Dark || val === DaffTheme.Light\n ? val\n : DaffTheme.None;\n\n/**\n * Generate a StorageEvent\n */\nconst storageEventBuilder = (\n value: DaffTheme,\n): ThemeStorageEvent => ({\n key: THEME_STORAGE_KEY,\n newValue: coerceValue(value) !== DaffTheme.None ? value : null,\n});\n\n/**\n * A service for retrieving and managing the application's stored theme.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffThemeStorageService {\n private theme$: Observable<DaffTheme>;\n private storage$: Subject<ThemeStorageEvent> = new Subject();\n private doc?: Document;\n\n constructor(\n @Inject(DaffServerSafePersistenceServiceToken)\n private storage: DaffPersistenceService,\n @Inject(DOCUMENT) _doc: any,\n ) {\n this.doc = <Document>_doc;\n this.theme$ = merge(\n this.storage$,\n this.doc.defaultView\n ? fromEvent<ThemeStorageEvent>(\n <Window & typeof globalThis>this.doc.defaultView,\n 'storage',\n ).pipe(\n startWith(\n storageEventBuilder(\n this.storage.getItem(THEME_STORAGE_KEY),\n ),\n ),\n catchError((e) => EMPTY),\n )\n : of(storageEventBuilder(\n this.storage.getItem(THEME_STORAGE_KEY),\n )),\n ).pipe(\n filter(\n (e: ThemeStorageEvent) => e.key === THEME_STORAGE_KEY,\n ),\n map((e) => coerceValue(e.newValue)),\n shareReplay(1),\n );\n }\n\n /**\n * Given that Safari doesn't respect in-tab storage events, we have to manually\n * fire storage events in the open tab on Webkit based browsers.\n */\n private progressStorageEvent(theme: DaffTheme) {\n this.storage$.next(storageEventBuilder(theme));\n }\n\n getThemeAsObservable(): Observable<DaffTheme> {\n return this.theme$;\n }\n\n getTheme(): DaffTheme {\n return coerceValue(this.storage.getItem(THEME_STORAGE_KEY));\n }\n\n setTheme(theme: DaffTheme): void {\n this.progressStorageEvent(theme);\n this.storage.setItem(THEME_STORAGE_KEY, theme);\n }\n\n removeThemeSetting(): void {\n this.progressStorageEvent(DaffTheme.None);\n this.storage.removeItem(THEME_STORAGE_KEY);\n }\n}\n","import { DaffTheme } from '../types/theme';\n\n/**\n * Computes the appropriate application theme from the specified values.\n * It cascades from `storedPreference` to `osPreference` to `defaultTheme`.\n */\nexport const daffComputeThemeSetting = (\n osPreference?: DaffTheme,\n storedPreference?: DaffTheme,\n defaultTheme: DaffTheme = DaffTheme.Dark,\n): DaffTheme => {\n if (storedPreference) {\n return storedPreference;\n }\n\n if (osPreference === 'dark') {\n return DaffTheme.Dark;\n }\n\n if (osPreference === 'light') {\n return DaffTheme.Light;\n }\n\n return defaultTheme;\n};\n","import { Injectable } from '@angular/core';\nimport {\n Observable,\n combineLatest,\n} from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { DaffOsThemeService } from './os-theme/ostheme.service';\nimport { DaffThemeStorageService } from './storage/theme-storage.service';\nimport { daffComputeThemeSetting } from '../functions/computer';\nimport { DaffTheme } from '../types/theme';\n\n/**\n * A service for controlling the application's theme.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffThemingService {\n private theme$: Observable<DaffTheme>;\n private theme: DaffTheme;\n\n constructor(\n private osTheme: DaffOsThemeService,\n private themeStorage: DaffThemeStorageService,\n ) {\n\n this.theme$ = combineLatest([\n this.osTheme.getThemePreference(),\n this.themeStorage.getThemeAsObservable(),\n ]).pipe(\n map(([osPreference, storedPreference]) => daffComputeThemeSetting(osPreference, storedPreference)),\n );\n\n this.theme$.subscribe((theme) => {\n this.theme = theme;\n });\n }\n\n /**\n * Get the current theme.\n */\n getTheme(): Observable<DaffTheme> {\n return this.theme$;\n }\n\n /**\n * Set the theme to dark mode.\n */\n darkMode() {\n this.themeStorage.setTheme(DaffTheme.Dark);\n }\n\n /**\n * Set the theme to light mode.\n */\n lightMode() {\n this.themeStorage.setTheme(DaffTheme.Light);\n }\n\n /**\n * Switch between themes.\n */\n switchTheme(): void {\n return this.theme === DaffTheme.Dark\n ? this.lightMode()\n : this.darkMode();\n }\n}\n","\nimport {\n Injectable,\n Inject,\n Renderer2,\n RendererFactory2,\n DOCUMENT,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\n\nimport { DaffTheme } from '../../types/theme';\nimport { DaffThemingService } from '../theming.service';\n\nexport const DAFF_THEME_DARK_CSS_CLASS = 'daff-theme-dark';\nexport const DAFF_THEME_LIGHT_CSS_CLASS = 'daff-theme-light';\n\n/**\n * This class updates the body of the application with the theme's appropriate class.\n * Note that this service is not provided tree-shakably by intention.\n * It is intended to be provided manually during setup.\n */\n@Injectable()\nexport class DaffThemeClassSetterService {\n private renderer: Renderer2;\n private subscription: Subscription;\n private doc?: Document;\n\n constructor(\n @Inject(DOCUMENT) _doc: any,\n private rendererFactory: RendererFactory2,\n private themingService: DaffThemingService,\n ) {\n this.doc = <Document>_doc;\n this.renderer = this.rendererFactory.createRenderer(null, null);\n }\n\n /**\n * This function is intended to only be called once when the service\n * is initialized for the very first time. This will mutate the class\n * on the body of the document for the appropriate theme as controlled\n * by the state of the application's theme.\n */\n beginThemeSync(): void {\n this.subscription = this.themingService.getTheme().subscribe((theme) => {\n // For simplicty, remove all previously applied themes.\n this.renderer.removeClass(this.doc.body, DAFF_THEME_LIGHT_CSS_CLASS);\n this.renderer.removeClass(this.doc.body, DAFF_THEME_DARK_CSS_CLASS);\n this.renderer.addClass(this.doc.body, theme === DaffTheme.Dark ? DAFF_THEME_DARK_CSS_CLASS : DAFF_THEME_LIGHT_CSS_CLASS);\n });\n }\n\n /**\n * This unsubscribes from the bodyClass subscription that exists.\n */\n destroy(): void {\n this.subscription?.unsubscribe();\n this.renderer.removeClass(this.doc.body, DAFF_THEME_LIGHT_CSS_CLASS);\n this.renderer.removeClass(this.doc.body, DAFF_THEME_DARK_CSS_CLASS);\n }\n}\n","import {\n inject,\n makeEnvironmentProviders,\n provideAppInitializer,\n} from '@angular/core';\n\nimport { DaffThemeClassSetterService } from './services/class-setter/theme-class-setter.service';\n\nexport const DAFF_THEME_INIT = (classSetter: DaffThemeClassSetterService) => () => classSetter.beginThemeSync();\n\n/**\n * The theme provider for the app.\n * This configures updating the body with the theme class.\n */\nexport const DAFF_THEME_INITIALIZER = makeEnvironmentProviders([\n DaffThemeClassSetterService,\n provideAppInitializer(() => {\n const initializerFn = (DAFF_THEME_INIT)(inject(DaffThemeClassSetterService));\n return initializerFn();\n }),\n]);\n","export const daffFocusableElementsSelector = 'a[href],a[routerlink], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])';\n","\nimport {\n Inject,\n Injectable,\n DOCUMENT,\n} from '@angular/core';\n\n@Injectable({ providedIn: 'root' })\nexport class DaffFocusStackService {\n private _stack: HTMLElement[] = [];\n\n constructor(@Inject(DOCUMENT) private document: any) {\n\n }\n\n /**\n * Return the current length of the stack.\n */\n length(): number {\n return this._stack.length;\n }\n\n /**\n * Adds a HTML element to a focus stack and returns the new length of the stack.\n *\n * Generally, you will probably want to call this before you transition focus\n * onto a new element.\n *\n * @example Using the push function\n * ```ts\n * this._focusStack.push(this._doc.activeElement);\n * ```\n */\n push(el: HTMLElement | undefined = undefined): number {\n this._stack.push(el ?? this.document.activeElement);\n return this._stack.length;\n }\n\n /**\n * Focuses on the HTML element at the top of a stack.\n *\n * @example Using the focus function\n * ```ts\n * this._focusStack.focus(this._doc.activeElement);\n * ```\n */\n focus() {\n if(this._stack.length >= 1) {\n this._stack.slice(-1)[0].focus();\n } else {\n (<HTMLElement>this.document.activeElement).blur();\n }\n }\n\n /**\n * Removes the HMTL element at the top of a stack and focuses on it.\n */\n pop(focus: boolean = true): HTMLElement {\n let el = this._stack.pop();\n while(el === undefined && this._stack.length > 0) {\n el = this._stack.pop();\n }\n\n if(el) {\n if(focus) {\n el.focus();\n }\n return el;\n }\n\n (<HTMLElement>this.document.activeElement).blur();\n return this.document.activeElement;\n }\n}\n","/**\n * Interfaces that gives a component the ability to customize sizing for component specific UI.\n */\n\nexport interface DaffSizable<T extends DaffSizeAllType> {\n size: T;\n}\n\n/**\n * The possible types that can be passed to a component that implements DaffSizable\n */\n\nexport type DaffSizeXSmallType = 'xs';\nexport type DaffSizeSmallType = 'sm';\nexport type DaffSizeMediumType = 'md';\nexport type DaffSizeLargeType = 'lg';\nexport type DaffSizeXLargeType = 'xl';\n\n/**\n * The a type representing all available sizes.\n */\nexport type DaffSizeAllType = DaffSizeXSmallType | DaffSizeSmallType | DaffSizeMediumType | DaffSizeLargeType | DaffSizeXLargeType;\n\nexport enum DaffSizableEnum {\n XSmall = 'xs',\n Small = 'sm',\n Medium = 'md',\n Large = 'lg',\n XLarge = 'xl'\n}\n","import {\n Directive,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffSizable,\n DaffSizeAllType,\n} from './sizable';\n\n/**\n * `DaffSizableDirective` allows for dynamic sizing of a component by setting\n * CSS classes based on the specified size.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffSizable [size]=\"small\">Sized content</div>\n * ```\n * In this example, the `daff-small` class is applied to the `div` element, allowing you to\n * use the class to style the `div`.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffSizableDirective,\n * inputs: ['size'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * :host {\n * &.daff-sm {\n * width: 24px;\n * }\n *\n * &.daff-md {\n * width: 32px;\n * }\n * }\n * ```\n *\n * The directive applies the following CSS classes to the component based on the size:\n *\n * - `daff-xs`: Applied when the size is `xs`.\n * - `daff-sm`: Applied when the size is `sm`.\n * - `daff-md`: Applied when the size is `md`.\n * - `daff-lg`: Applied when the size is `lg`.\n * - `daff-xl`: Applied when the size is `xl`.\n */\n@Directive({\n selector: '[daffSizable]',\n host: {\n '[class.daff-xs]': 'size === \"xs\"',\n '[class.daff-sm]': 'size === \"sm\"',\n '[class.daff-md]': 'size === \"md\"',\n '[class.daff-lg]': 'size === \"lg\"',\n '[class.daff-xl]': 'size === \"xl\"',\n },\n})\nexport class DaffSizableDirective<T extends DaffSizeAllType> implements DaffSizable<T>, OnChanges, OnInit {\n /**\n * The size of the component.\n */\n @Input() size: T;\n\n /**\n * Sets a default size.\n *\n * @example\n * ```ts\n * constructor(private sizableDirective: DaffSizableDirective) {\n * this.sizableDirective.defaultSize = 'md';\n * }\n * ```\n */\n public defaultSize: T;\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if(!changes.size?.currentValue) {\n this.size = this.defaultSize;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n if(!this.size) {\n this.size = this.defaultSize;\n }\n }\n}\n\n","export const DaffOpenableStateError = '`open` cannot be set as an input property on the DaffOpenableDirective if it is not stateless. Did you mean to call `reveal`, `hide`, or `toggle`?';\n","import {\n Directive,\n EventEmitter,\n Input,\n OnChanges,\n Output,\n SimpleChanges,\n isDevMode,\n} from '@angular/core';\n\nimport { DaffOpenable } from './openable';\nimport { DaffOpenableStateError } from './utils/state-error';\n\n/**\n * A directive that opens or closes a component. It should only be used as an [Angular Host Directive](https://angular.dev/guide/directives/directive-composition-api).\n * This directive is stateless by default, but it supports both a state and stateless implementation. Only one version should be used within a component.\n *\n * @example Using the DaffOpenableDirective\n * ```ts\n * import {\n * Component,\n * ChangeDetectionStrategy,\n * } from '@angular/core';\n *\n * import { DaffOpenableDirective } from '@daffodil/design';\n *\n * @Component({\n * selector: 'custom-component',\n * template: `\n * <button (click)=\"toggle()\">Click me!</button>\n * <div class=\"hidden-block\">This is a hidden block that can be shown by clicking the button.</div>\n * `,\n * styles: [`\n * :host {\n * .hidden-block {\n * display: none;\n * }\n *\n * &.daff-open {\n * .hidden-block {\n * display: block;\n * }\n * }\n * }`],\n * changeDetection: ChangeDetectionStrategy.OnPush,\n * hostDirectives: [{\n * directive: DaffOpenableDirective,\n * }],\n * })\n * export class CustomComponent {\n * constructor(private openDirective: DaffOpenableDirective) {}\n *\n * toggle() {\n * this.openDirective.toggle();\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffOpenable]',\n host: {\n '[class.daff-open]': 'open',\n },\n})\n\nexport class DaffOpenableDirective implements DaffOpenable, OnChanges {\n /** Controls whether the component is open. */\n @Input() open = false;\n\n private _setOpen(v: boolean) {\n if(!this.stateless) {\n this.open = v;\n }\n }\n\n /** Whether or not a component should handle state\n *\n * @example Setting the `stateless` property on a component\n * ```ts\n * constructor(private openDirective: DaffOpenableDirective) {\n * this.openDirective.stateless = false;\n * }\n * ```\n */\n stateless = true;\n\n /**\n * Event fired when a component is opened (true) or closed (false)\n */\n @Output() toggled: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n /**\n * Open the component\n */\n reveal() {\n this._setOpen(true);\n\n this.toggled.emit(true);\n }\n\n /**\n * Close the component\n */\n hide() {\n this._setOpen(false);\n\n this.toggled.emit(false);\n }\n\n /**\n * Open or close the component, depending on if it's currently open or not\n */\n toggle() {\n const state = !this.open;\n\n this._setOpen(state);\n\n this.toggled.emit(state);\n }\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n /**\n * Throw an error if open is set in a component that is not stateless\n */\n if(changes.open.currentValue && !this.stateless) {\n this.open = changes.open.previousValue;\n\n if(isDevMode()) {\n throw new Error(DaffOpenableStateError);\n }\n }\n }\n}\n","/**\n * Interface for giving a component the ability to customize text alignment for component-specific UI.\n */\nexport interface DaffOrientable {\n orientation: DaffOrientation;\n}\n\n/**\n * The possible types that can be passed to a DaffOrientable component\n */\nexport type DaffOrientation = 'horizontal' | 'vertical';\nexport enum DaffOrientationEnum {\n Horizontal = 'horizontal',\n Vertical = 'vertical',\n}\n","import {\n Directive,\n Input,\n isDevMode,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffOrientable,\n DaffOrientation,\n DaffOrientationEnum,\n} from './orientable';\n\nconst orientationValues = (orientation: string) => (<any>Object).values(DaffOrientationEnum).includes(orientation);\n\nconst validateOrientation = (orientation: string) => {\n if(isDevMode()) {\n if(orientation !== undefined && !orientationValues(orientation)) {\n console.warn(`'${orientation}' is not a valid value of the orientation property. The available values are: left, center, or right.`);\n }\n }\n};\n\n/**\n * `DaffOrientableDirective` allows for dynamic orientation of a component by\n * setting CSS classes based on the specified orientation. This directive is\n * useful when orientation needs to be managed dynamically in an Angular component.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffOrientable [orientation]=\"horizontal\"></div>\n * ```\n *\n * In this example, the `daff-horizontal` class is added to the `div` element, allowing\n * you to style the `div` as you wish using the class.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffOrientableDirective,\n * inputs: ['orientation'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .custom-component {\n * &.daff-vertical {\n * display: flex;\n * flex-direction: column;\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffOrientable]',\n host: {\n '[class.daff-horizontal]': 'orientation === \"horizontal\"',\n '[class.daff-vertical]': 'orientation === \"vertical\"',\n },\n})\nexport class DaffOrientableDirective implements DaffOrientable, OnChanges, OnInit {\n /**\n * The orientation of the component.\n *\n * Options are: `horizontal` and `vertical`.\n */\n @Input() orientation: DaffOrientation;\n\n /**\n * Sets a default orientation.\n *\n * @example\n * ```ts\n * constructor(private orientableDirective: DaffOrientableDirective) {\n * this.orientableDirective.defaultOrientation = 'horizontal';\n * }\n * ```\n */\n public defaultOrientation: DaffOrientation;\n\n /**\n * @docs-private\n */\n ngOnInit() {\n if (this.defaultOrientation && !this.orientation) {\n this.orientation = this.defaultOrientation;\n }\n\n validateOrientation(this.orientation);\n }\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.orientation?.currentValue) {\n this.orientation = this.defaultOrientation;\n }\n }\n}\n\n","import {\n ChangeDetectorRef,\n Directive,\n EventEmitter,\n Input,\n Output,\n} from '@angular/core';\n\nimport { DaffSelectable } from '../selectable/selectable';\n\n@Directive({\n selector: '[daffSelected]',\n host: {\n '[class.daff-selected]': 'selected',\n },\n})\n\nexport class DaffSelectableDirective implements DaffSelectable {\n /**\n * Controls whether the component is selected.\n */\n @Input() selected = false;\n\n /**\n * An event that fires after the component becomes selected.\n */\n @Output() becameSelected: EventEmitter<void> = new EventEmitter<void>();\n\n constructor(private cd: ChangeDetectorRef) {}\n\n /**\n * Selects the component and emits the `becameSelected` event.\n */\n select() {\n this.selected = true;\n this.becameSelected.emit();\n this.cd.markForCheck();\n return this;\n }\n\n /**\n * Deselects the component.\n */\n deselect() {\n this.selected = false;\n this.cd.markForCheck();\n return this;\n }\n}\n","\nimport {\n Directive,\n ElementRef,\n OnDestroy,\n Renderer2,\n Inject,\n Input,\n afterNextRender,\n DOCUMENT,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffStickyTracker]',\n})\nexport class DaffStickyTrackerDirective implements OnDestroy {\n @Input() sticky: 'top' | 'bottom' | undefined = undefined;\n\n private sentinelObserver?: IntersectionObserver;\n private readonly className = 'is-pinned';\n private lastPinnedState: boolean | null = null;\n private debounceTimeout?: number;\n private sentinelElement?: HTMLElement;\n private idleCallbackId?: number;\n\n constructor(\n private readonly elementRef: ElementRef<HTMLElement>,\n private readonly renderer: Renderer2,\n @Inject(DOCUMENT) private readonly document: Document,\n ) {\n afterNextRender({\n write: () => {\n this.createSentinel();\n },\n });\n\n afterNextRender({\n read: () => {\n this.scheduleObserverCreation();\n },\n });\n }\n\n private get isBottomSticky(): boolean {\n return this.sticky === 'bottom';\n }\n\n private scheduleObserverCreation(): void {\n const defaultView = this.document.defaultView;\n\n if (defaultView?.requestIdleCallback) {\n this.idleCallbackId = defaultView.requestIdleCallback(() => {\n this.createSentinelObserver();\n });\n } else {\n this.idleCallbackId = defaultView?.setTimeout(() => {\n this.createSentinelObserver();\n }, 0);\n }\n }\n\n private findScrollableParent(): HTMLElement | null {\n let parent = this.elementRef.nativeElement.parentElement;\n\n while (parent && parent !== this.document.body) {\n const computedStyle = this.document.defaultView?.getComputedStyle(parent);\n const overflowY = computedStyle?.overflowY;\n\n if (overflowY === 'auto' || overflowY === 'scroll') {\n return parent;\n }\n parent = parent.parentElement;\n }\n\n return null;\n }\n\n private createSentinel(): void {\n const stickyElement = this.elementRef.nativeElement;\n const parentElement = stickyElement.parentElement;\n\n if (!parentElement) {\n throw new Error('DaffStickyTracker: Sticky element must have a parent element');\n }\n\n this.sentinelElement = this.renderer.createElement('div');\n\n this.renderer.setStyle(this.sentinelElement, 'width', '1px');\n this.renderer.setStyle(this.sentinelElement, 'height', '1px');\n this.renderer.setStyle(this.sentinelElement, 'opacity', '0');\n this.renderer.setStyle(this.sentinelElement, 'pointer-events', 'none');\n this.renderer.setStyle(this.sentinelElement, 'margin', '0');\n this.renderer.setStyle(this.sentinelElement, 'padding', '0');\n this.renderer.setStyle(this.sentinelElement, 'border', 'none');\n this.renderer.setStyle(this.sentinelElement, 'overflow', 'hidden');\n this.renderer.setStyle(this.sentinelElement, 'font-size', '0');\n this.renderer.setStyle(this.sentinelElement, 'line-height', '0');\n\n if (this.isBottomSticky) {\n this.renderer.insertBefore(\n parentElement,\n this.sentinelElement,\n stickyElement.nextSibling,\n );\n } else {\n this.renderer.insertBefore(\n parentElement,\n this.sentinelElement,\n stickyElement,\n );\n }\n }\n\n private createSentinelObserver(): void {\n const scrollableParent = this.findScrollableParent();\n const stickyElement = this.elementRef.nativeElement;\n\n this.sentinelObserver = new IntersectionObserver(\n ([entry]) => {\n const shouldBePinned = !entry.isIntersecting;\n\n if (this.lastPinnedState !== shouldBePinned) {\n if (this.debounceTimeout) {\n clearTimeout(this.debounceTimeout);\n }\n\n this.debounceTimeout = this.document.defaultView?.setTimeout(() => {\n if (shouldBePinned) {\n this.renderer.addClass(stickyElement, this.className);\n } else {\n this.renderer.removeClass(stickyElement, this.className);\n }\n this.lastPinnedState = shouldBePinned;\n }, 5);\n }\n },\n {\n root: scrollableParent,\n threshold: 0,\n rootMargin: '1px',\n },\n );\n\n if (this.sentinelElement) {\n this.sentinelObserver.observe(this.sentinelElement);\n }\n }\n\n ngOnDestroy(): void {\n if (this.idleCallbackId !== undefined) {\n const defaultView = this.document.defaultView;\n if (defaultView?.cancelIdleCallback) {\n defaultView.cancelIdleCallback(this.idleCallbackId);\n } else {\n defaultView?.clearTimeout(this.idleCallbackId);\n }\n }\n\n if (this.debounceTimeout) {\n clearTimeout(this.debounceTimeout);\n }\n\n if (this.sentinelObserver && this.sentinelElement) {\n this.sentinelObserver.unobserve(this.sentinelElement);\n }\n this.sentinelObserver?.disconnect();\n\n if (this.sentinelElement && this.sentinelElement.parentElement) {\n this.renderer.removeChild(this.sentinelElement.parentElement, this.sentinelElement);\n }\n }\n}\n","import {\n Directive,\n Input,\n} from '@angular/core';\n\n/**\n * `DaffDisableableDirective` allows a component to display a disabled UI\n * by conditionally applying a CSS class. This is useful for indicating to\n * users that content is loading or being processed. This directive can be used to\n * apply a disabled UI to any component by toggling the `disabled`\n * input property. When `disabled` is `true`, the `daff-disabled` CSS class\n * is applied, which should style the component to look like it's not interactable.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffDisableable [disabled]=\"isDisabled\">Content</div>\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffDisableableDirective,\n * inputs: ['disabled'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * :host {\n * .daff-disabled {\n * cursor: not-allowed;\n * opacity: 0.5;\n * }\n * }\n * ```\n *\n * The directive applies the `daff-disabled` class to the component. The class should be\n * defined in your styles to display the loading state as desired.\n */\n@Directive({\n selector: '[daffDisableable]',\n host: {\n '[class.daff-disabled]': 'disabled',\n },\n})\nexport class DaffDisableableDirective {\n @Input() disabled = false;\n}\n","import { UntypedFormControl } from '@angular/forms';\n\nexport class DaffErrorStateMatcher {\n\n isErrorState(control: UntypedFormControl, formSubmitted: boolean): boolean {\n return control.errors && (control.touched || formSubmitted);\n }\n}\n","// Core\nexport * from './animation/animation-state-with-params';\nexport * from './prefix-suffix/public_api';\nexport * from './colorable/public_api';\nexport * from './breakpoints/public_api';\nexport * from './constructor/constructor';\nexport * from './statusable/public_api';\nexport * from './skeletonable/public_api';\nexport * from './mutable/mutable';\nexport * from './text-alignable/public_api';\nexport * from './compactable/public_api';\nexport * from './manage-container-layout/public_api';\nexport * from './article-encapsulated/public_api';\nexport * from './theming/public_api';\nexport * from './lazy/public_api';\nexport * from './focus/public_api';\nexport * from './sizable/public_api';\nexport * from './openable/public_api';\nexport * from './orientable/public_api';\nexport * from './selectable/public_api';\nexport * from './sticky/public_api';\nexport * from './disableable/public_api';\nexport * from './error-state-matcher/public_api';\n","/*\n * Public API Surface of @daffodil/design\n */\n\n// Atoms\nexport * from './atoms/form/form-label/public_api';\n\n// Core\nexport * from './core/public_api';\n","/**\n * This is a filler file for making the\n * demo work in dev mode.\n */\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.DaffOsThemeService","i2.DaffThemeStorageService","i1.DaffThemingService"],"mappings":";;;;;;;;AAKA;;AAEG;MAIU,sBAAsB,CAAA;AAHnC,IAAA,WAAA,GAAA;AAIE;;AAEG;QACmC,IAAA,CAAA,KAAK,GAAG,IAAI;AACnD,IAAA;iIALY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;qHAAtB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AAE,mBAAmB;AAC7B,oBAAA,IAAI,EAAE;AACJ,wBAAA,uBAAuB,EAAE,UAAU;AACpC,qBAAA;AACF,iBAAA;8BAEU,QAAQ,EAAA,CAAA;sBAAhB;;;MCpDU,qBAAqB,CAAA;IAEhC,YAAY,CAAC,OAA2B,EAAE,aAAsB,EAAA;QAC9D,OAAO,OAAO,CAAC,MAAM,KAAK,OAAO,CAAC,OAAO,IAAI,aAAa,CAAC;IAC7D;AACD;;ACPD;;ACAA;;AAEG;AAEH;;ACJA;;;AAGG;;ACHH;;AAEG;;;;"}
package/form/README.md ADDED
@@ -0,0 +1,75 @@
1
+ # Form
2
+ Form provides components for building accessible and well-structured forms, including error messages, hints, and labels for form-related content.
3
+
4
+ ## Overview
5
+ This package includes reusable form components that help create consistent and accessible form experiences:
6
+
7
+ - **Labels** (`<daff-form-label>`): Accessible labels for form controls
8
+ - **Hints** (`<daff-hint>`): Helpful information and validation hints
9
+ - **Error Messages** (`<daff-error-message>`): Validation error messages for form controls
10
+
11
+ These components can be used independently or within a [form field](/libs/design/form-field/README.md) to organize and style form-related content consistently.
12
+
13
+ ## Usage
14
+ To use form, import `DAFF_FORM_HELPER_COMPONENTS` directly into your custom component:
15
+
16
+ ```ts
17
+ import { DAFF_FORM_HELPER_COMPONENTS } from '@daffodil/design/form';
18
+
19
+ @Component({
20
+ selector: 'custom-component',
21
+ templateUrl: './custom-component.component.html',
22
+ imports: [
23
+ DAFF_FORM_HELPER_COMPONENTS,
24
+ ],
25
+ })
26
+ export class CustomComponent {}
27
+ ```
28
+
29
+ ### Labels
30
+ Labels help users understand what information to enter into a form control. Use `<daff-form-label>` to create accessible labels for form controls.
31
+
32
+ ```html
33
+ <daff-form-label>First Name</daff-form-label>
34
+ ```
35
+
36
+ When used within a [form field](/libs/design/form-field/README.md), the label is automatically associated with the form control for accessibility. If a form control is marked as required, an asterisk will be attached to the label to indicate that it's a required field.
37
+
38
+ ```html
39
+ <daff-form-field>
40
+ <daff-form-label>Email Address</daff-form-label>
41
+ <input daff-input type="email" name="email" required />
42
+ </daff-form-field>
43
+ ```
44
+
45
+ ### Hints
46
+ Hints can be used to provide helpful information that assists users in correctly completing a field.
47
+
48
+ ```html
49
+ <daff-hint>Password must have 8 characters.</daff-hint>
50
+ ```
51
+
52
+ Use the `validated` property to show hints with validation styling:
53
+
54
+ ```html
55
+ <daff-hint [validated]="isControlValid">Password must have 8 characters.</daff-hint>
56
+ ```
57
+
58
+ ### Errors
59
+ Error messages can be used to display validation errors.
60
+
61
+ ```html
62
+ @if (control.errors?.required) {
63
+ <daff-error-message>Email is a required field.</daff-error-message>
64
+ }
65
+ ```
66
+
67
+ ## Accessibility
68
+ These components include built-in accessibility features:
69
+ - `<daff-error-message>` is set to `aria-live="polite"` by default so assistive technology only announce errors when they appear
70
+
71
+ When used with a [form field](/libs/design/form-field/README.md):
72
+ - `<daff-form-label>` automatically associates with form controls
73
+ - `<daff-hint>` and `<daff-error-message>` are linked to form controls via `aria-describedby`
74
+
75
+ For complete accessibility information and best practices, refer to the [form field accessibility documentation](/libs/design/form-field/README.md#accessibility).
@@ -0,0 +1,27 @@
1
+ import * as i0 from '@angular/core';
2
+
3
+ declare class DaffErrorMessageComponent {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffErrorMessageComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffErrorMessageComponent, "daff-error-message", never, {}, {}, never, ["*"], true, never>;
6
+ }
7
+
8
+ declare class DaffHintComponent {
9
+ /**
10
+ * Displays a validated hint UI.
11
+ * */
12
+ validated: boolean;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffHintComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffHintComponent, "daff-hint", never, { "validated": { "alias": "validated"; "required": false; }; }, {}, never, ["*"], true, never>;
15
+ }
16
+
17
+ declare class DaffFormFieldLabelDirective {
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffFormFieldLabelDirective, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffFormFieldLabelDirective, "daff-form-label", never, {}, {}, never, never, true, never>;
20
+ }
21
+
22
+ /**
23
+ * @docs-private
24
+ */
25
+ declare const DAFF_FORM_HELPER_COMPONENTS: readonly [typeof DaffErrorMessageComponent, typeof DaffHintComponent, typeof DaffFormFieldLabelDirective];
26
+
27
+ export { DAFF_FORM_HELPER_COMPONENTS, DaffErrorMessageComponent, DaffFormFieldLabelDirective, DaffHintComponent };