@aeris-ui/core 22.0.0-alpha.10 → 22.0.0-alpha.11

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 (259) hide show
  1. package/README.md +35 -3
  2. package/THIRD_PARTY_LICENSES.md +48 -0
  3. package/fesm2022/aeris-ui-core-accordion.mjs +34 -32
  4. package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
  5. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +3 -3
  6. package/fesm2022/aeris-ui-core-auto-complete.mjs +119 -50
  7. package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
  8. package/fesm2022/aeris-ui-core-auto-focus.mjs +3 -3
  9. package/fesm2022/aeris-ui-core-avatar.mjs +6 -6
  10. package/fesm2022/aeris-ui-core-badge.mjs +6 -6
  11. package/fesm2022/aeris-ui-core-block-ui.mjs +18 -6
  12. package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
  13. package/fesm2022/aeris-ui-core-breadcrumb.mjs +42 -24
  14. package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
  15. package/fesm2022/aeris-ui-core-button-forms.mjs +78 -0
  16. package/fesm2022/aeris-ui-core-button-forms.mjs.map +1 -0
  17. package/fesm2022/aeris-ui-core-button-group.mjs +417 -14
  18. package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
  19. package/fesm2022/aeris-ui-core-button.mjs +191 -19
  20. package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
  21. package/fesm2022/aeris-ui-core-card.mjs +18 -18
  22. package/fesm2022/aeris-ui-core-carousel.mjs +81 -19
  23. package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
  24. package/fesm2022/aeris-ui-core-cascade-select.mjs +165 -46
  25. package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
  26. package/fesm2022/aeris-ui-core-chart.mjs +171 -36
  27. package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
  28. package/fesm2022/aeris-ui-core-checkbox.mjs +191 -22
  29. package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
  30. package/fesm2022/aeris-ui-core-chip.mjs +702 -27
  31. package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
  32. package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
  33. package/fesm2022/aeris-ui-core-code-block.mjs +57 -7
  34. package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -1
  35. package/fesm2022/aeris-ui-core-color-picker.mjs +1223 -503
  36. package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
  37. package/fesm2022/aeris-ui-core-command-palette.mjs +996 -0
  38. package/fesm2022/aeris-ui-core-command-palette.mjs.map +1 -0
  39. package/fesm2022/aeris-ui-core-compare.mjs +61 -34
  40. package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
  41. package/fesm2022/aeris-ui-core-confirm-dialog.mjs +68 -38
  42. package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
  43. package/fesm2022/aeris-ui-core-confirm-popup.mjs +46 -38
  44. package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
  45. package/fesm2022/aeris-ui-core-context-menu.mjs +94 -43
  46. package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
  47. package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs +946 -0
  48. package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map +1 -0
  49. package/fesm2022/aeris-ui-core-date-picker.mjs +1186 -650
  50. package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
  51. package/fesm2022/aeris-ui-core-dialog.mjs +157 -71
  52. package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
  53. package/fesm2022/aeris-ui-core-divider.mjs +3 -3
  54. package/fesm2022/aeris-ui-core-drawer.mjs +751 -77
  55. package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
  56. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +14 -6
  57. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
  58. package/fesm2022/aeris-ui-core-editor.mjs +847 -202
  59. package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
  60. package/fesm2022/aeris-ui-core-file-upload.mjs +204 -68
  61. package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
  62. package/fesm2022/aeris-ui-core-filter-service.mjs +3 -3
  63. package/fesm2022/aeris-ui-core-fluid.mjs +5 -5
  64. package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
  65. package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
  66. package/fesm2022/aeris-ui-core-form-field.mjs +15 -15
  67. package/fesm2022/aeris-ui-core-galleria.mjs +472 -123
  68. package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
  69. package/fesm2022/aeris-ui-core-glass.mjs +3 -3
  70. package/fesm2022/aeris-ui-core-icon-field.mjs +12 -12
  71. package/fesm2022/aeris-ui-core-inplace.mjs +56 -14
  72. package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
  73. package/fesm2022/aeris-ui-core-input-group.mjs +17 -17
  74. package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
  75. package/fesm2022/aeris-ui-core-input-mask.mjs +61 -8
  76. package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
  77. package/fesm2022/aeris-ui-core-input-number.mjs +191 -28
  78. package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
  79. package/fesm2022/aeris-ui-core-input-otp.mjs +6 -6
  80. package/fesm2022/aeris-ui-core-input-text.mjs +102 -26
  81. package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
  82. package/fesm2022/aeris-ui-core-kbd.mjs +243 -0
  83. package/fesm2022/aeris-ui-core-kbd.mjs.map +1 -0
  84. package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
  85. package/fesm2022/aeris-ui-core-listbox.mjs +789 -0
  86. package/fesm2022/aeris-ui-core-listbox.mjs.map +1 -0
  87. package/fesm2022/aeris-ui-core-mega-menu.mjs +59 -16
  88. package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
  89. package/fesm2022/aeris-ui-core-menu.mjs +95 -52
  90. package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
  91. package/fesm2022/aeris-ui-core-menubar.mjs +103 -34
  92. package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
  93. package/fesm2022/aeris-ui-core-message.mjs +48 -14
  94. package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
  95. package/fesm2022/aeris-ui-core-meter-group.mjs +33 -15
  96. package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
  97. package/fesm2022/aeris-ui-core-multi-select.mjs +283 -65
  98. package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
  99. package/fesm2022/aeris-ui-core-navbar.mjs +1407 -0
  100. package/fesm2022/aeris-ui-core-navbar.mjs.map +1 -0
  101. package/fesm2022/aeris-ui-core-order-list.mjs +191 -35
  102. package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
  103. package/fesm2022/aeris-ui-core-organization-chart.mjs +48 -14
  104. package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
  105. package/fesm2022/aeris-ui-core-paginator.mjs +300 -61
  106. package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
  107. package/fesm2022/aeris-ui-core-panel.mjs +21 -29
  108. package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
  109. package/fesm2022/aeris-ui-core-password.mjs +166 -65
  110. package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
  111. package/fesm2022/aeris-ui-core-pick-list.mjs +528 -56
  112. package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
  113. package/fesm2022/aeris-ui-core-popover.mjs +504 -72
  114. package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
  115. package/fesm2022/aeris-ui-core-progress-bar.mjs +75 -21
  116. package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
  117. package/fesm2022/aeris-ui-core-progress-spinner.mjs +24 -6
  118. package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
  119. package/fesm2022/aeris-ui-core-radio-button.mjs +119 -19
  120. package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
  121. package/fesm2022/aeris-ui-core-rating.mjs +6 -6
  122. package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
  123. package/fesm2022/aeris-ui-core-scroll-panel.mjs +3 -3
  124. package/fesm2022/aeris-ui-core-scroll-top.mjs +59 -12
  125. package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
  126. package/fesm2022/aeris-ui-core-select-native.mjs +145 -0
  127. package/fesm2022/aeris-ui-core-select-native.mjs.map +1 -0
  128. package/fesm2022/aeris-ui-core-select.mjs +206 -87
  129. package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
  130. package/fesm2022/aeris-ui-core-sidebar.mjs +1293 -0
  131. package/fesm2022/aeris-ui-core-sidebar.mjs.map +1 -0
  132. package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
  133. package/fesm2022/aeris-ui-core-slider.mjs +3 -3
  134. package/fesm2022/aeris-ui-core-speed-dial.mjs +34 -13
  135. package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
  136. package/fesm2022/aeris-ui-core-split-button.mjs +26 -11
  137. package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
  138. package/fesm2022/aeris-ui-core-splitter.mjs +35 -20
  139. package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
  140. package/fesm2022/aeris-ui-core-stepper.mjs +23 -17
  141. package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
  142. package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
  143. package/fesm2022/aeris-ui-core-table.mjs +945 -106
  144. package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
  145. package/fesm2022/aeris-ui-core-tabs.mjs +81 -19
  146. package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
  147. package/fesm2022/aeris-ui-core-textarea.mjs +89 -28
  148. package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
  149. package/fesm2022/aeris-ui-core-theme-builder.mjs +202 -126
  150. package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
  151. package/fesm2022/aeris-ui-core-theming.mjs +8 -8
  152. package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
  153. package/fesm2022/aeris-ui-core-tiered-menu.mjs +94 -43
  154. package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
  155. package/fesm2022/aeris-ui-core-timeline.mjs +17 -17
  156. package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
  157. package/fesm2022/aeris-ui-core-toast.mjs +51 -18
  158. package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
  159. package/fesm2022/aeris-ui-core-toggle-switch.mjs +3 -3
  160. package/fesm2022/aeris-ui-core-toolbar.mjs +916 -44
  161. package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
  162. package/fesm2022/aeris-ui-core-tooltip.mjs +6 -6
  163. package/fesm2022/aeris-ui-core-tree-select.mjs +252 -61
  164. package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
  165. package/fesm2022/aeris-ui-core-tree-table.mjs +493 -124
  166. package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
  167. package/fesm2022/aeris-ui-core-tree.mjs +165 -27
  168. package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
  169. package/fesm2022/aeris-ui-core.mjs +632 -12
  170. package/fesm2022/aeris-ui-core.mjs.map +1 -1
  171. package/package.json +29 -1
  172. package/schematics/runtime/theme-builder/aeris-color-derivation.js +1 -1
  173. package/schematics/runtime/theme-builder/aeris-contrast.js +32 -0
  174. package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
  175. package/schematics/runtime/theme-builder/aeris-foundation.js +8 -9
  176. package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
  177. package/schematics/runtime/theme-builder/aeris-semantic-tones.js +8 -21
  178. package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
  179. package/schematics/runtime/theme-builder/aeris-theme-generator.js +6 -0
  180. package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
  181. package/schematics/runtime/theme-builder/aeris-theme-resolver.js +64 -91
  182. package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
  183. package/schematics/runtime/theme-builder/aeris-theme-tokens.js +7 -5
  184. package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
  185. package/schematics/runtime/theme-builder/aeris-theme-validation.js +11 -1
  186. package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
  187. package/schematics/runtime/theme-builder/aeris-theme.js +81 -10
  188. package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
  189. package/styles/_choice-card.scss +93 -0
  190. package/styles/_icon-artwork.scss +14 -0
  191. package/styles/_icon-template.scss +42 -0
  192. package/styles/_selection-icons.scss +12 -0
  193. package/styles/_table-pinning.scss +119 -0
  194. package/styles/aeris.css +35 -12
  195. package/styles/controls.css +149 -11
  196. package/tools/aeris-theme.mjs +3 -3
  197. package/tools/aeris-theme.schema.json +13 -11
  198. package/types/aeris-ui-core-auto-complete.d.ts +12 -0
  199. package/types/aeris-ui-core-block-ui.d.ts +1 -0
  200. package/types/aeris-ui-core-button-forms.d.ts +18 -0
  201. package/types/aeris-ui-core-button-group.d.ts +116 -3
  202. package/types/aeris-ui-core-button.d.ts +52 -4
  203. package/types/aeris-ui-core-carousel.d.ts +12 -0
  204. package/types/aeris-ui-core-cascade-select.d.ts +18 -0
  205. package/types/aeris-ui-core-chart.d.ts +26 -10
  206. package/types/aeris-ui-core-checkbox.d.ts +36 -2
  207. package/types/aeris-ui-core-chip.d.ts +196 -1
  208. package/types/aeris-ui-core-code-block.d.ts +13 -0
  209. package/types/aeris-ui-core-color-picker.d.ts +117 -15
  210. package/types/aeris-ui-core-command-palette.d.ts +267 -0
  211. package/types/aeris-ui-core-compare.d.ts +6 -0
  212. package/types/aeris-ui-core-confirm-dialog.d.ts +9 -1
  213. package/types/aeris-ui-core-context-menu.d.ts +6 -0
  214. package/types/aeris-ui-core-date-picker.d.ts +123 -20
  215. package/types/aeris-ui-core-dialog.d.ts +15 -2
  216. package/types/aeris-ui-core-drawer.d.ts +111 -4
  217. package/types/aeris-ui-core-dynamic-dialog.d.ts +6 -2
  218. package/types/aeris-ui-core-editor.d.ts +8 -1
  219. package/types/aeris-ui-core-file-upload.d.ts +18 -0
  220. package/types/aeris-ui-core-galleria.d.ts +48 -0
  221. package/types/aeris-ui-core-inplace.d.ts +6 -0
  222. package/types/aeris-ui-core-input-mask.d.ts +8 -1
  223. package/types/aeris-ui-core-input-number.d.ts +20 -1
  224. package/types/aeris-ui-core-input-text.d.ts +11 -1
  225. package/types/aeris-ui-core-kbd.d.ts +74 -0
  226. package/types/aeris-ui-core-listbox.d.ts +222 -0
  227. package/types/aeris-ui-core-mega-menu.d.ts +6 -0
  228. package/types/aeris-ui-core-menu.d.ts +6 -0
  229. package/types/aeris-ui-core-menubar.d.ts +16 -0
  230. package/types/aeris-ui-core-message.d.ts +6 -0
  231. package/types/aeris-ui-core-meter-group.d.ts +6 -0
  232. package/types/aeris-ui-core-multi-select.d.ts +30 -0
  233. package/types/aeris-ui-core-navbar.d.ts +208 -0
  234. package/types/aeris-ui-core-order-list.d.ts +24 -0
  235. package/types/aeris-ui-core-organization-chart.d.ts +6 -0
  236. package/types/aeris-ui-core-paginator.d.ts +37 -1
  237. package/types/aeris-ui-core-password.d.ts +18 -0
  238. package/types/aeris-ui-core-pick-list.d.ts +54 -0
  239. package/types/aeris-ui-core-popover.d.ts +80 -5
  240. package/types/aeris-ui-core-progress-bar.d.ts +6 -0
  241. package/types/aeris-ui-core-progress-spinner.d.ts +6 -0
  242. package/types/aeris-ui-core-radio-button.d.ts +24 -2
  243. package/types/aeris-ui-core-rating.d.ts +1 -1
  244. package/types/aeris-ui-core-scroll-top.d.ts +7 -0
  245. package/types/aeris-ui-core-select-native.d.ts +40 -0
  246. package/types/aeris-ui-core-select.d.ts +12 -0
  247. package/types/aeris-ui-core-sidebar.d.ts +220 -0
  248. package/types/aeris-ui-core-splitter.d.ts +3 -4
  249. package/types/aeris-ui-core-table.d.ts +144 -11
  250. package/types/aeris-ui-core-tabs.d.ts +12 -0
  251. package/types/aeris-ui-core-textarea.d.ts +11 -1
  252. package/types/aeris-ui-core-theme-builder.d.ts +31 -296
  253. package/types/aeris-ui-core-tiered-menu.d.ts +6 -0
  254. package/types/aeris-ui-core-toast.d.ts +6 -0
  255. package/types/aeris-ui-core-toolbar.d.ts +213 -3
  256. package/types/aeris-ui-core-tree-select.d.ts +30 -0
  257. package/types/aeris-ui-core-tree-table.d.ts +75 -14
  258. package/types/aeris-ui-core-tree.d.ts +24 -0
  259. package/types/aeris-ui-core.d.ts +142 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aeris-ui-core-sidebar.mjs","names":[],"sources":["../../../projects/aeris-ui/sidebar/aeris-sidebar.ts"],"sourcesContent":["import { DOCUMENT, NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n DestroyRef,\n Directive,\n ElementRef,\n InjectionToken,\n Renderer2,\n ViewEncapsulation,\n afterRenderEffect,\n booleanAttribute,\n computed,\n effect,\n forwardRef,\n inject,\n input,\n linkedSignal,\n model,\n signal,\n viewChild,\n} from '@angular/core';\nimport { ɵAerisIcon, aerisInternalFocusableElements } from '@aeris-ui/core';\nimport { AerisDrawerModule } from '@aeris-ui/core/drawer';\nimport { AerisTooltip } from '@aeris-ui/core/tooltip';\n\nexport type AerisSidebarMode = 'auto' | 'desktop' | 'mobile';\nexport type AerisSidebarSide = 'start' | 'end';\n\nconst sidebarContext = new InjectionToken<AerisSidebar>('AerisSidebar context');\nconst toggleElements = new WeakMap<AerisSidebar, Set<HTMLElement>>();\nlet nextSidebarId = 0;\nlet nextGroupId = 0;\n\n@Directive({ selector: '[aerisSidebarHeader]', host: { class: 'aeris-sidebar__brand' } })\nexport class AerisSidebarHeader {}\n\n@Directive({ selector: '[aerisSidebarFooter]', host: { class: 'aeris-sidebar__footer' } })\nexport class AerisSidebarFooter {}\n\n@Directive({\n selector: '[aerisSidebarIcon]',\n host: { class: 'aeris-sidebar__icon', 'aria-hidden': 'true' },\n})\nexport class AerisSidebarIcon {}\n\n@Directive({ selector: '[aerisSidebarBadge]', host: { class: 'aeris-sidebar__badge' } })\nexport class AerisSidebarBadge {}\n\n@Component({\n selector: 'aeris-sidebar',\n imports: [NgTemplateOutlet, ɵAerisIcon, AerisDrawerModule],\n providers: [{ provide: sidebarContext, useExisting: forwardRef(() => AerisSidebar) }],\n encapsulation: ViewEncapsulation.None,\n template: `\n <ng-template #navigation>\n <nav\n #navigationElement\n class=\"aeris-sidebar__navigation\"\n [id]=\"navigationId\"\n [attr.aria-label]=\"ariaLabelledBy() ? null : ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.data-icon-only]=\"iconOnly() || null\"\n [attr.data-side]=\"side()\"\n [attr.dir]=\"inheritedDirection()\"\n [attr.data-mobile]=\"mobile() || null\"\n >\n <header class=\"aeris-sidebar__header\">\n <ng-content select=\"[aerisSidebarHeader]\" />\n @if (mobile() || collapsible()) {\n <button\n class=\"aeris-sidebar__collapse\"\n type=\"button\"\n [attr.aria-label]=\"\n mobile() ? closeAriaLabel() : collapsed() ? expandAriaLabel() : collapseAriaLabel()\n \"\n [attr.aria-expanded]=\"mobile() ? open() : !collapsed()\"\n [attr.aria-controls]=\"navigationId\"\n (click)=\"toggle()\"\n >\n @if (mobile()) {\n <span\n aerisInternalIcon=\"close\"\n class=\"aeris-sidebar__close-icon\"\n aria-hidden=\"true\"\n ></span>\n } @else {\n <span\n aerisInternalIcon=\"chevronRight\"\n class=\"aeris-sidebar__collapse-icon\"\n aria-hidden=\"true\"\n ></span>\n }\n </button>\n }\n </header>\n <div class=\"aeris-sidebar__body\"><ng-content /></div>\n <ng-content select=\"[aerisSidebarFooter]\" />\n </nav>\n </ng-template>\n @if (mobile()) {\n <aeris-drawer\n [visible]=\"open()\"\n (visibleChange)=\"open.set($event)\"\n [position]=\"drawerPosition()\"\n [ariaLabel]=\"ariaLabel()\"\n [ariaLabelledBy]=\"ariaLabelledBy()\"\n [width]=\"mobileWidth()\"\n [mobileFullScreen]=\"false\"\n [swipeToClose]=\"swipeToClose()\"\n >\n <ng-template aerisDrawerHeadless\n ><ng-container [ngTemplateOutlet]=\"navigation\"\n /></ng-template>\n </aeris-drawer>\n } @else {\n <ng-container [ngTemplateOutlet]=\"navigation\" />\n }\n `,\n styleUrl: './aeris-sidebar.scss',\n host: {\n class: 'aeris-sidebar',\n '[attr.data-mobile]': 'mobile() || null',\n '[attr.data-icon-only]': 'iconOnly() || null',\n '[attr.data-reveal-labels]': '(hasCollapsed() && !iconOnly() && !mobile()) || null',\n '[style.--aeris-sidebar-width]': 'width() || null',\n '[style.--aeris-sidebar-collapsed-width]': 'collapsedWidth() || null',\n },\n})\nexport class AerisSidebar {\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n private readonly document = inject(DOCUMENT);\n private readonly navigation = viewChild<ElementRef<HTMLElement>>('navigationElement');\n private readonly responsiveMobile = signal(false);\n protected readonly inheritedDirection = signal<'ltr' | 'rtl' | null>(null);\n readonly direction = computed(\n () =>\n this.inheritedDirection() ??\n (this.document.documentElement.getAttribute('dir') === 'rtl' ? 'rtl' : 'ltr'),\n );\n private readonly pendingFocus = signal<'toggle' | 'navigation' | null>(null);\n\n readonly collapsed = model(false);\n readonly open = model(false);\n readonly mode = input<AerisSidebarMode>('auto');\n readonly breakpoint = input(768);\n readonly side = input<AerisSidebarSide>('start');\n readonly width = input('');\n readonly collapsedWidth = input('');\n readonly mobileWidth = input('min(20rem, calc(100vw - 2rem))');\n readonly collapsible = input(true, { transform: booleanAttribute });\n readonly closeOnNavigate = input(true, { transform: booleanAttribute });\n readonly swipeToClose = input(true, { transform: booleanAttribute });\n readonly ariaLabel = input('Navigation');\n readonly ariaLabelledBy = input('');\n readonly collapseAriaLabel = input('Collapse navigation');\n readonly expandAriaLabel = input('Expand navigation');\n readonly closeAriaLabel = input('Close navigation');\n readonly navigationId = `aeris-sidebar-${nextSidebarId++}`;\n readonly mobile = computed(\n () => this.mode() === 'mobile' || (this.mode() === 'auto' && this.responsiveMobile()),\n );\n readonly iconOnly = computed(() => !this.mobile() && this.collapsed());\n // Initial expanded navigation renders immediately; only expansion reveals labels.\n protected readonly hasCollapsed = linkedSignal<boolean, boolean>({\n source: this.iconOnly,\n computation: (iconOnly, previous) => iconOnly || previous?.value === true,\n });\n protected readonly drawerPosition = computed(() =>\n (this.side() === 'start') === (this.direction() === 'ltr') ? 'left' : 'right',\n );\n\n constructor() {\n // Match after render so the initial server and hydration markup agree.\n afterRenderEffect((onCleanup) => {\n const breakpoint = this.breakpoint();\n if (this.mode() !== 'auto') return;\n const view = this.document.defaultView;\n if (!view?.matchMedia) return;\n const pixels = Number.isFinite(breakpoint) ? Math.max(0, breakpoint) : 768;\n const query = view.matchMedia(`(max-width: ${pixels}px)`);\n const update = () => {\n if (query.matches && this.host.contains(this.document.activeElement))\n this.pendingFocus.set('toggle');\n this.responsiveMobile.set(query.matches);\n };\n update();\n query.addEventListener('change', update);\n onCleanup(() => query.removeEventListener('change', update));\n });\n afterRenderEffect((onCleanup) => {\n const view = this.document.defaultView;\n if (!view) return;\n const update = () =>\n this.inheritedDirection.set(\n view.getComputedStyle(this.host).direction === 'rtl' ? 'rtl' : 'ltr',\n );\n update();\n const observer = new MutationObserver(update);\n for (let node: HTMLElement | null = this.host; node; node = node.parentElement)\n observer.observe(node, { attributes: true, attributeFilter: ['dir'] });\n onCleanup(() => observer.disconnect());\n });\n let previousMobile = false;\n effect(() => {\n const mobile = this.mobile();\n if (mobile === previousMobile) return;\n const focused = this.navigation()?.nativeElement.contains(this.document.activeElement);\n if (!mobile && this.open()) {\n this.pendingFocus.set('navigation');\n this.open.set(false);\n }\n if (focused) this.pendingFocus.set(mobile ? 'toggle' : 'navigation');\n previousMobile = mobile;\n });\n afterRenderEffect(() => {\n const destination = this.pendingFocus();\n if (!destination) return;\n const navigation = this.navigation()?.nativeElement;\n if (destination === 'navigation' && navigation) {\n const active = navigation.querySelector<HTMLElement>('[aria-current=\"page\"]');\n (active ?? aerisInternalFocusableElements(navigation)[0])?.focus();\n } else {\n const toggles = toggleElements.get(this);\n if (toggles)\n for (const toggle of toggles) {\n if (toggle.isConnected && toggle.getClientRects().length) {\n toggle.focus();\n break;\n }\n }\n }\n this.pendingFocus.set(null);\n });\n }\n\n toggle(): void {\n if (this.mobile()) this.open.update((open) => !open);\n else if (this.collapsible()) this.collapsed.update((collapsed) => !collapsed);\n }\n}\n\n@Directive({\n selector: 'button[aerisSidebarToggle]',\n host: {\n type: 'button',\n '[attr.aria-controls]': 'sidebar().navigationId',\n '[attr.aria-expanded]': 'sidebar().mobile() ? sidebar().open() : !sidebar().collapsed()',\n '[attr.aria-label]':\n 'label() || (sidebar().mobile() ? (sidebar().open() ? sidebar().closeAriaLabel() : sidebar().expandAriaLabel()) : (sidebar().collapsed() ? sidebar().expandAriaLabel() : sidebar().collapseAriaLabel()))',\n '(click)': 'handleClick()',\n },\n})\nexport class AerisSidebarToggle {\n private readonly element = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n readonly sidebar = input.required<AerisSidebar>({ alias: 'aerisSidebarToggle' });\n readonly label = input('', { alias: 'aerisSidebarToggleLabel' });\n constructor() {\n const element = this.element;\n effect((onCleanup) => {\n const sidebar = this.sidebar();\n const toggles = toggleElements.get(sidebar) ?? new Set<HTMLElement>();\n toggles.add(element);\n toggleElements.set(sidebar, toggles);\n onCleanup(() => {\n toggles.delete(element);\n });\n });\n }\n protected handleClick(): void {\n const sidebar = this.sidebar();\n // Safari does not focus buttons on pointer activation; give Drawer a reliable return target.\n if (sidebar.mobile() && !sidebar.open()) this.element.focus({ preventScroll: true });\n sidebar.toggle();\n }\n}\n\n@Component({\n selector: 'a[aerisSidebarItem], button[aerisSidebarItem]',\n imports: [AerisTooltip],\n template: `\n <span\n class=\"aeris-sidebar__item-content\"\n [aerisTooltip]=\"iconOnly() ? label() : ''\"\n aerisTooltipEvent=\"hover\"\n [aerisTooltipPosition]=\"tooltipPosition()\"\n >\n <ng-content select=\"[aerisSidebarIcon]\" />\n <span class=\"aeris-sidebar__label\">{{ label() }}</span>\n <ng-content select=\"[aerisSidebarBadge]\" />\n </span>\n `,\n host: {\n class: 'aeris-sidebar__item',\n '[attr.data-active]': 'active() || null',\n '[attr.data-disabled]': 'disabled() || null',\n '[attr.data-icon-only]': 'iconOnly() || null',\n '[attr.aria-label]': 'iconOnly() ? label() : null',\n '[attr.aria-current]': 'active() ? \"page\" : null',\n '[attr.aria-disabled]': 'disabled() || null',\n '[attr.disabled]': 'isButton && disabled() ? \"\" : null',\n '[attr.type]': 'isButton ? \"button\" : null',\n '(click)': 'handleClick($event)',\n '(focusin)': 'showTooltip()',\n '(focusout)': 'hideTooltip()',\n },\n})\nexport class AerisSidebarItem {\n protected readonly sidebar = inject(sidebarContext, { optional: true });\n private readonly element = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n private readonly tooltip = viewChild(AerisTooltip);\n protected readonly isButton = this.element.tagName === 'BUTTON';\n readonly label = input.required<string>();\n readonly active = input(false, { transform: booleanAttribute });\n readonly disabled = input(false, { transform: booleanAttribute });\n protected readonly iconOnly = computed(() => this.sidebar?.iconOnly() ?? false);\n protected readonly tooltipPosition = computed(() =>\n (this.sidebar?.side() === 'end') !== (this.sidebar?.direction() === 'rtl') ? 'left' : 'right',\n );\n constructor() {\n const renderer = inject(Renderer2);\n const stop = renderer.listen(\n this.element,\n 'click',\n (event: MouseEvent) => {\n if (this.disabled()) {\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n },\n { capture: true },\n );\n inject(DestroyRef).onDestroy(stop);\n effect((onCleanup) => {\n if (!this.disabled() || this.isButton) return;\n const previous = this.element.getAttribute('tabindex');\n renderer.setAttribute(this.element, 'tabindex', '-1');\n onCleanup(() => {\n if (previous === null) renderer.removeAttribute(this.element, 'tabindex');\n else renderer.setAttribute(this.element, 'tabindex', previous);\n });\n });\n effect(() => {\n if (!this.iconOnly()) this.tooltip()?.hide();\n });\n }\n protected handleClick(event: Event): void {\n if (!(event instanceof MouseEvent)) return;\n if (\n this.disabled() ||\n event.button !== 0 ||\n event.metaKey ||\n event.ctrlKey ||\n event.altKey ||\n event.shiftKey ||\n (this.element instanceof HTMLAnchorElement &&\n this.element.target &&\n this.element.target !== '_self')\n )\n return;\n if (this.sidebar?.mobile() && this.sidebar.closeOnNavigate()) this.sidebar.open.set(false);\n }\n protected showTooltip(): void {\n if (this.iconOnly()) this.tooltip()?.show();\n }\n protected hideTooltip(): void {\n this.tooltip()?.hide();\n }\n}\n\n@Component({\n selector: 'aeris-sidebar-group',\n imports: [ɵAerisIcon],\n template: `\n @if (!iconOnly()) {\n @if (collapsible()) {\n <button\n class=\"aeris-sidebar__group-toggle\"\n type=\"button\"\n [attr.aria-expanded]=\"expanded()\"\n [attr.aria-controls]=\"contentId\"\n (click)=\"expanded.update(toggleExpanded)\"\n >\n <span class=\"aeris-sidebar__group-label\">{{ label() }}</span>\n <span\n aerisInternalIcon=\"chevronRight\"\n class=\"aeris-sidebar__group-chevron\"\n [attr.data-expanded]=\"expanded() || null\"\n aria-hidden=\"true\"\n ></span>\n </button>\n } @else {\n <div class=\"aeris-sidebar__group-label aeris-sidebar__group-heading\">{{ label() }}</div>\n }\n }\n <div\n class=\"aeris-sidebar__group-content\"\n [id]=\"contentId\"\n [hidden]=\"!iconOnly() && !expanded() && collapsible()\"\n >\n <ng-content />\n </div>\n `,\n host: { class: 'aeris-sidebar__group', '[attr.data-icon-only]': 'iconOnly() || null' },\n})\nexport class AerisSidebarGroup {\n private readonly sidebar = inject(sidebarContext, { optional: true });\n readonly label = input.required<string>();\n readonly expanded = model(true);\n readonly collapsible = input(true, { transform: booleanAttribute });\n protected readonly iconOnly = computed(() => this.sidebar?.iconOnly() ?? false);\n protected readonly contentId = `aeris-sidebar-group-${nextGroupId++}`;\n protected readonly toggleExpanded = (expanded: boolean) => !expanded;\n}\n\nexport const AerisSidebarModule = [\n AerisSidebar,\n AerisSidebarItem,\n AerisSidebarGroup,\n AerisSidebarToggle,\n AerisSidebarHeader,\n AerisSidebarFooter,\n AerisSidebarIcon,\n AerisSidebarBadge,\n] as const;\n"],"mappings":";;;;;;;AA4BA,MAAM,iBAAiB,IAAI,eAA6B,sBAAsB;AAC9E,MAAM,iCAAiB,IAAI,QAAO;AAClC,IAAI,gBAAgB;AACpB,IAAI,cAAc;AAGlB,IAAa,qBAAb,MAAa,mBAAkB;CAAlB,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAkB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAlB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAkB,cAAA;EAAA,UAAA;EAAA,MAAA,EAAA,gBAAA,uBAAA;EAAA,UAAA;CAAA,CAAA;;AAAlB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAkB,YAAA,CAAA;EAD9B,MAAA;EAAU,MAAA,CAAA;GAAE,UAAU;GAAwB,MAAM,EAAE,OAAO,uBAAsB;EAAE,CAAE;;;AAIxF,IAAa,qBAAb,MAAa,mBAAkB;CAAlB,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAkB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAlB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAkB,cAAA;EAAA,UAAA;EAAA,MAAA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A,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,aAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;EAAA;EAAA,SAAA,EAAA,UAAA,iBAAA;EAAA,MAAA;GAAA,YAAA,EAAA,uBAAA,qBAAA;GAAA,gBAAA;EAAA;EAAA,UAAA;EAAA,UAhClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BT,UAAA;EAAA,cAAA,CAAA;GAAA,MAAA;GAAA,MA9BS;GAAU,UAAA;GAAA,QAAA,CAAA,qBAAA,2BAAA;EAAA,CAAA;CAAA,CAAA;;AAiCT,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAiB,YAAA,CAAA;EAnC7B,MAAA;EAAU,MAAA,CAAA;GACT,UAAU;GACV,SAAS,CAAC,UAAU;GACpB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BV,MAAM;IAAE,OAAO;IAAwB,yBAAyB;GAAoB;EACrF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWD,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACQ"}
@@ -14,7 +14,7 @@ var AerisSkeleton = class AerisSkeleton {
14
14
  }, ...ngDevMode ? [{ debugName: "resolvedHeight" }] : /* istanbul ignore next */ []);
15
15
  static ɵfac = i0.ɵɵngDeclareFactory({
16
16
  minVersion: "12.0.0",
17
- version: "22.2.2",
17
+ version: "22.2.3",
18
18
  ngImport: i0,
19
19
  type: AerisSkeleton,
20
20
  deps: [],
@@ -22,7 +22,7 @@ var AerisSkeleton = class AerisSkeleton {
22
22
  });
23
23
  static ɵcmp = i0.ɵɵngDeclareComponent({
24
24
  minVersion: "17.1.0",
25
- version: "22.2.2",
25
+ version: "22.2.3",
26
26
  type: AerisSkeleton,
27
27
  isStandalone: true,
28
28
  selector: "aeris-skeleton",
@@ -82,7 +82,7 @@ var AerisSkeleton = class AerisSkeleton {
82
82
  };
83
83
  i0.ɵɵngDeclareClassMetadata({
84
84
  minVersion: "12.0.0",
85
- version: "22.2.2",
85
+ version: "22.2.3",
86
86
  ngImport: i0,
87
87
  type: AerisSkeleton,
88
88
  decorators: [{
@@ -321,7 +321,7 @@ var AerisSlider = class AerisSlider {
321
321
  }
322
322
  static ɵfac = i0.ɵɵngDeclareFactory({
323
323
  minVersion: "12.0.0",
324
- version: "22.2.2",
324
+ version: "22.2.3",
325
325
  ngImport: i0,
326
326
  type: AerisSlider,
327
327
  deps: [],
@@ -329,7 +329,7 @@ var AerisSlider = class AerisSlider {
329
329
  });
330
330
  static ɵcmp = i0.ɵɵngDeclareComponent({
331
331
  minVersion: "17.0.0",
332
- version: "22.2.2",
332
+ version: "22.2.3",
333
333
  type: AerisSlider,
334
334
  isStandalone: true,
335
335
  selector: "aeris-slider",
@@ -725,7 +725,7 @@ var AerisSlider = class AerisSlider {
725
725
  };
726
726
  i0.ɵɵngDeclareClassMetadata({
727
727
  minVersion: "12.0.0",
728
- version: "22.2.2",
728
+ version: "22.2.3",
729
729
  ngImport: i0,
730
730
  type: AerisSlider,
731
731
  decorators: [{
@@ -1,7 +1,7 @@
1
1
  import { NgTemplateOutlet } from "@angular/common";
2
2
  import * as i0 from "@angular/core";
3
3
  import { Component, ElementRef, booleanAttribute, computed, contentChild, effect, inject, input, linkedSignal, model, output, viewChildren } from "@angular/core";
4
- import { ɵregisterAerisOverlay, ɵunregisterAerisOverlay } from "@aeris-ui/core";
4
+ import { ɵAerisIcon, ɵregisterAerisOverlay, ɵunregisterAerisOverlay } from "@aeris-ui/core";
5
5
  const AERIS_SPEED_DIAL_ITEM_LIMITS = {
6
6
  linear: 5,
7
7
  circle: 8,
@@ -289,7 +289,7 @@ var AerisSpeedDial = class AerisSpeedDial {
289
289
  }
290
290
  static ɵfac = i0.ɵɵngDeclareFactory({
291
291
  minVersion: "12.0.0",
292
- version: "22.2.2",
292
+ version: "22.2.3",
293
293
  ngImport: i0,
294
294
  type: AerisSpeedDial,
295
295
  deps: [],
@@ -297,7 +297,7 @@ var AerisSpeedDial = class AerisSpeedDial {
297
297
  });
298
298
  static ɵcmp = i0.ɵɵngDeclareComponent({
299
299
  minVersion: "17.0.0",
300
- version: "22.2.2",
300
+ version: "22.2.3",
301
301
  type: AerisSpeedDial,
302
302
  isStandalone: true,
303
303
  selector: "aeris-speed-dial",
@@ -668,9 +668,17 @@ var AerisSpeedDial = class AerisSpeedDial {
668
668
  >
669
669
  @let icon = visible() && hideIcon() ? hideIcon() : showIcon();
670
670
  @if (icon === '+') {
671
- <svg viewBox="0 0 24 24" focusable="false" aria-hidden="true">
672
- <path d="M12 5v14M5 12h14" />
673
- </svg>
671
+ <ng-template #plusArtwork>
672
+ <svg viewBox="0 0 24 24" focusable="false" aria-hidden="true">
673
+ <path d="M5 12h14" />
674
+ <path d="M12 5v14" />
675
+ </svg>
676
+ </ng-template>
677
+ <span
678
+ aerisInternalIcon="plus"
679
+ [aerisInternalIconFallback]="plusArtwork"
680
+ class="aeris-speed-dial__plus"
681
+ ></span>
674
682
  } @else {
675
683
  {{ icon }}
676
684
  }
@@ -681,7 +689,7 @@ var AerisSpeedDial = class AerisSpeedDial {
681
689
  </div>
682
690
  `,
683
691
  isInline: true,
684
- styles: [":host{--aeris-speed-dial-size: 3rem;--aeris-speed-dial-item-size: 2rem;--aeris-speed-dial-gap: .375rem;position:relative;z-index:20;display:inline-block;width:var(--aeris-speed-dial-size);height:var(--aeris-speed-dial-size)}@media(pointer:coarse){:host{--aeris-speed-dial-item-size: var(--aeris-touch-target-size, 2.75rem)}}:host([data-open]){z-index:1000}.aeris-speed-dial__mask{position:fixed;z-index:1;inset:0;width:100vw;height:100vh;height:100dvh;padding:0;border:0;background:#11151070;cursor:default}.aeris-speed-dial__mask[data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-speed-dial-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-speed-dial-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-speed-dial__container{position:relative;z-index:2;width:100%;height:100%}.aeris-speed-dial__trigger,.aeris-speed-dial__action{border:0;font:inherit}.aeris-speed-dial__trigger{position:relative;z-index:3;width:var(--aeris-speed-dial-size);height:var(--aeris-speed-dial-size);display:grid;place-items:center;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-primary, #111111);box-shadow:0 .5rem 1.5rem color-mix(in srgb,var(--aeris-primary, #111111) 28%,transparent);color:var(--aeris-on-primary, #ffffff);cursor:pointer;transition:transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-speed-dial__trigger[data-size=sm]{--aeris-speed-dial-size: 2.5rem}.aeris-speed-dial__trigger[data-size=lg]{--aeris-speed-dial-size: 3.5rem}@media(hover:hover){.aeris-speed-dial__trigger:hover:not(:disabled){background:var(--aeris-primary-hover, #242424);transform:translateY(-1px)}}.aeris-speed-dial__trigger:focus-visible,.aeris-speed-dial__action:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 48%,transparent);outline-offset:3px}.aeris-speed-dial__trigger:disabled{opacity:.48;cursor:not-allowed}.aeris-speed-dial__trigger-icon{display:grid;place-items:center;font-size:1.5rem;line-height:1;transform-origin:center;transition:transform var(--aeris-motion-slow, .22s) var(--aeris-ease-enter, ease-out)}.aeris-speed-dial__trigger-icon svg{display:block;width:1.5rem;height:1.5rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}:host([data-open]) .aeris-speed-dial__trigger-icon[data-rotate]{transform:rotate(135deg)}.aeris-speed-dial__list{position:absolute;inset:50% auto auto 50%;z-index:2;width:0;height:0;margin:0;padding:0;list-style:none}.aeris-speed-dial__item{position:absolute;width:var(--aeris-speed-dial-item-size);height:var(--aeris-speed-dial-item-size);opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(.55);transition:opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease) var(--aeris-speed-dial-delay),transform .26s cubic-bezier(.2,.9,.2,1.18) var(--aeris-speed-dial-delay)}.aeris-speed-dial__item[data-visible]{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}.aeris-speed-dial__action{width:100%;height:100%;display:grid;place-items:center;border:1px solid var(--aeris-border, #efefef);border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-surface, #fff);box-shadow:0 .4rem 1.1rem #14181224;color:var(--aeris-text, #111111);text-decoration:none;cursor:pointer;transition:transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}@media(hover:hover){.aeris-speed-dial__action:hover:not(:disabled):not(.aeris-speed-dial__action--disabled){border-color:var(--aeris-primary, #111111);background:color-mix(in srgb,var(--aeris-primary, #111111) 10%,var(--aeris-surface, #fff));transform:scale(1.08)}}.aeris-speed-dial__action:disabled,.aeris-speed-dial__action--disabled{opacity:.45;cursor:not-allowed}.aeris-speed-dial__action-icon{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);display:inline-grid;place-items:center;font-size:var(--aeris-icon-size, 1rem);font-weight:var(--aeris-font-weight-bold, 700);line-height:1}@media(prefers-reduced-motion:reduce){.aeris-speed-dial__trigger,.aeris-speed-dial__trigger-icon,.aeris-speed-dial__item,.aeris-speed-dial__action{animation-duration:1ms;transition-duration:1ms;transition-delay:0ms}}\n"],
692
+ styles: [":host{--aeris-speed-dial-size: 3rem;--aeris-speed-dial-item-size: 2rem;--aeris-speed-dial-gap: .375rem;position:relative;z-index:20;display:inline-block;width:var(--aeris-speed-dial-size);height:var(--aeris-speed-dial-size)}@media(pointer:coarse){:host{--aeris-speed-dial-item-size: var(--aeris-touch-target-size, 2.75rem)}}:host([data-open]){z-index:1000}.aeris-speed-dial__mask{position:fixed;z-index:1;inset:0;width:100vw;height:100vh;height:100dvh;padding:0;border:0;background:#11151070;cursor:default}.aeris-speed-dial__mask[data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-speed-dial-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-speed-dial-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-speed-dial__container{position:relative;z-index:2;width:100%;height:100%}.aeris-speed-dial__trigger,.aeris-speed-dial__action{border:0;font:inherit}.aeris-speed-dial__trigger{position:relative;z-index:3;width:var(--aeris-speed-dial-size);height:var(--aeris-speed-dial-size);display:grid;place-items:center;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-primary, #111111);box-shadow:0 .5rem 1.5rem color-mix(in srgb,var(--aeris-primary, #111111) 28%,transparent);color:var(--aeris-on-primary, #ffffff);cursor:pointer;transition:transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-speed-dial__trigger[data-size=sm]{--aeris-speed-dial-size: 2.5rem}.aeris-speed-dial__trigger[data-size=lg]{--aeris-speed-dial-size: 3.5rem}@media(hover:hover){.aeris-speed-dial__trigger:hover:not(:disabled){background:var(--aeris-primary-hover, #242424);transform:translateY(-1px)}}.aeris-speed-dial__trigger:focus-visible,.aeris-speed-dial__action:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 48%,transparent);outline-offset:3px}.aeris-speed-dial__trigger:disabled{opacity:.48;cursor:not-allowed}.aeris-speed-dial__trigger-icon{display:grid;place-items:center;font-size:1.5rem;line-height:1;transform-origin:center;transition:transform var(--aeris-motion-slow, .22s) var(--aeris-ease-enter, ease-out)}.aeris-speed-dial__plus,.aeris-speed-dial__trigger-icon svg{display:block;width:1.5rem;height:1.5rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}:host([data-open]) .aeris-speed-dial__trigger-icon[data-rotate]{transform:rotate(135deg)}.aeris-speed-dial__list{position:absolute;inset:50% auto auto 50%;z-index:2;width:0;height:0;margin:0;padding:0;list-style:none}.aeris-speed-dial__item{position:absolute;width:var(--aeris-speed-dial-item-size);height:var(--aeris-speed-dial-item-size);opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(.55);transition:opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease) var(--aeris-speed-dial-delay),transform .26s cubic-bezier(.2,.9,.2,1.18) var(--aeris-speed-dial-delay)}.aeris-speed-dial__item[data-visible]{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}.aeris-speed-dial__action{width:100%;height:100%;display:grid;place-items:center;border:1px solid var(--aeris-border, #efefef);border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-surface, #fff);box-shadow:0 .4rem 1.1rem #14181224;color:var(--aeris-text, #111111);text-decoration:none;cursor:pointer;transition:transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}@media(hover:hover){.aeris-speed-dial__action:hover:not(:disabled):not(.aeris-speed-dial__action--disabled){border-color:var(--aeris-primary, #111111);background:color-mix(in srgb,var(--aeris-primary, #111111) 10%,var(--aeris-surface, #fff));transform:scale(1.08)}}.aeris-speed-dial__action:disabled,.aeris-speed-dial__action--disabled{opacity:.45;cursor:not-allowed}.aeris-speed-dial__action-icon{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);display:inline-grid;place-items:center;font-size:var(--aeris-icon-size, 1rem);font-weight:var(--aeris-font-weight-bold, 700);line-height:1}@media(prefers-reduced-motion:reduce){.aeris-speed-dial__trigger,.aeris-speed-dial__trigger-icon,.aeris-speed-dial__item,.aeris-speed-dial__action{animation-duration:1ms;transition-duration:1ms;transition-delay:0ms}}\n"],
685
693
  dependencies: [{
686
694
  kind: "directive",
687
695
  type: NgTemplateOutlet,
@@ -691,19 +699,24 @@ var AerisSpeedDial = class AerisSpeedDial {
691
699
  "ngTemplateOutlet",
692
700
  "ngTemplateOutletInjector"
693
701
  ]
702
+ }, {
703
+ kind: "component",
704
+ type: ɵAerisIcon,
705
+ selector: "span[aerisInternalIcon]",
706
+ inputs: ["aerisInternalIcon", "aerisInternalIconFallback"]
694
707
  }]
695
708
  });
696
709
  };
697
710
  i0.ɵɵngDeclareClassMetadata({
698
711
  minVersion: "12.0.0",
699
- version: "22.2.2",
712
+ version: "22.2.3",
700
713
  ngImport: i0,
701
714
  type: AerisSpeedDial,
702
715
  decorators: [{
703
716
  type: Component,
704
717
  args: [{
705
718
  selector: "aeris-speed-dial",
706
- imports: [NgTemplateOutlet],
719
+ imports: [NgTemplateOutlet, ɵAerisIcon],
707
720
  template: `
708
721
  @if (mask() && visible()) {
709
722
  <button
@@ -840,9 +853,17 @@ i0.ɵɵngDeclareClassMetadata({
840
853
  >
841
854
  @let icon = visible() && hideIcon() ? hideIcon() : showIcon();
842
855
  @if (icon === '+') {
843
- <svg viewBox="0 0 24 24" focusable="false" aria-hidden="true">
844
- <path d="M12 5v14M5 12h14" />
845
- </svg>
856
+ <ng-template #plusArtwork>
857
+ <svg viewBox="0 0 24 24" focusable="false" aria-hidden="true">
858
+ <path d="M5 12h14" />
859
+ <path d="M12 5v14" />
860
+ </svg>
861
+ </ng-template>
862
+ <span
863
+ aerisInternalIcon="plus"
864
+ [aerisInternalIconFallback]="plusArtwork"
865
+ class="aeris-speed-dial__plus"
866
+ ></span>
846
867
  } @else {
847
868
  {{ icon }}
848
869
  }
@@ -862,7 +883,7 @@ i0.ɵɵngDeclareClassMetadata({
862
883
  "[style.--aeris-speed-dial-radius]": "radius() + \"px\"",
863
884
  "(document:click)": "onDocumentClick($event)"
864
885
  },
865
- styles: [":host{--aeris-speed-dial-size: 3rem;--aeris-speed-dial-item-size: 2rem;--aeris-speed-dial-gap: .375rem;position:relative;z-index:20;display:inline-block;width:var(--aeris-speed-dial-size);height:var(--aeris-speed-dial-size)}@media(pointer:coarse){:host{--aeris-speed-dial-item-size: var(--aeris-touch-target-size, 2.75rem)}}:host([data-open]){z-index:1000}.aeris-speed-dial__mask{position:fixed;z-index:1;inset:0;width:100vw;height:100vh;height:100dvh;padding:0;border:0;background:#11151070;cursor:default}.aeris-speed-dial__mask[data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-speed-dial-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-speed-dial-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-speed-dial__container{position:relative;z-index:2;width:100%;height:100%}.aeris-speed-dial__trigger,.aeris-speed-dial__action{border:0;font:inherit}.aeris-speed-dial__trigger{position:relative;z-index:3;width:var(--aeris-speed-dial-size);height:var(--aeris-speed-dial-size);display:grid;place-items:center;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-primary, #111111);box-shadow:0 .5rem 1.5rem color-mix(in srgb,var(--aeris-primary, #111111) 28%,transparent);color:var(--aeris-on-primary, #ffffff);cursor:pointer;transition:transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-speed-dial__trigger[data-size=sm]{--aeris-speed-dial-size: 2.5rem}.aeris-speed-dial__trigger[data-size=lg]{--aeris-speed-dial-size: 3.5rem}@media(hover:hover){.aeris-speed-dial__trigger:hover:not(:disabled){background:var(--aeris-primary-hover, #242424);transform:translateY(-1px)}}.aeris-speed-dial__trigger:focus-visible,.aeris-speed-dial__action:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 48%,transparent);outline-offset:3px}.aeris-speed-dial__trigger:disabled{opacity:.48;cursor:not-allowed}.aeris-speed-dial__trigger-icon{display:grid;place-items:center;font-size:1.5rem;line-height:1;transform-origin:center;transition:transform var(--aeris-motion-slow, .22s) var(--aeris-ease-enter, ease-out)}.aeris-speed-dial__trigger-icon svg{display:block;width:1.5rem;height:1.5rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}:host([data-open]) .aeris-speed-dial__trigger-icon[data-rotate]{transform:rotate(135deg)}.aeris-speed-dial__list{position:absolute;inset:50% auto auto 50%;z-index:2;width:0;height:0;margin:0;padding:0;list-style:none}.aeris-speed-dial__item{position:absolute;width:var(--aeris-speed-dial-item-size);height:var(--aeris-speed-dial-item-size);opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(.55);transition:opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease) var(--aeris-speed-dial-delay),transform .26s cubic-bezier(.2,.9,.2,1.18) var(--aeris-speed-dial-delay)}.aeris-speed-dial__item[data-visible]{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}.aeris-speed-dial__action{width:100%;height:100%;display:grid;place-items:center;border:1px solid var(--aeris-border, #efefef);border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-surface, #fff);box-shadow:0 .4rem 1.1rem #14181224;color:var(--aeris-text, #111111);text-decoration:none;cursor:pointer;transition:transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}@media(hover:hover){.aeris-speed-dial__action:hover:not(:disabled):not(.aeris-speed-dial__action--disabled){border-color:var(--aeris-primary, #111111);background:color-mix(in srgb,var(--aeris-primary, #111111) 10%,var(--aeris-surface, #fff));transform:scale(1.08)}}.aeris-speed-dial__action:disabled,.aeris-speed-dial__action--disabled{opacity:.45;cursor:not-allowed}.aeris-speed-dial__action-icon{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);display:inline-grid;place-items:center;font-size:var(--aeris-icon-size, 1rem);font-weight:var(--aeris-font-weight-bold, 700);line-height:1}@media(prefers-reduced-motion:reduce){.aeris-speed-dial__trigger,.aeris-speed-dial__trigger-icon,.aeris-speed-dial__item,.aeris-speed-dial__action{animation-duration:1ms;transition-duration:1ms;transition-delay:0ms}}\n"]
886
+ styles: [":host{--aeris-speed-dial-size: 3rem;--aeris-speed-dial-item-size: 2rem;--aeris-speed-dial-gap: .375rem;position:relative;z-index:20;display:inline-block;width:var(--aeris-speed-dial-size);height:var(--aeris-speed-dial-size)}@media(pointer:coarse){:host{--aeris-speed-dial-item-size: var(--aeris-touch-target-size, 2.75rem)}}:host([data-open]){z-index:1000}.aeris-speed-dial__mask{position:fixed;z-index:1;inset:0;width:100vw;height:100vh;height:100dvh;padding:0;border:0;background:#11151070;cursor:default}.aeris-speed-dial__mask[data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-speed-dial-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-speed-dial-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-speed-dial__container{position:relative;z-index:2;width:100%;height:100%}.aeris-speed-dial__trigger,.aeris-speed-dial__action{border:0;font:inherit}.aeris-speed-dial__trigger{position:relative;z-index:3;width:var(--aeris-speed-dial-size);height:var(--aeris-speed-dial-size);display:grid;place-items:center;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-primary, #111111);box-shadow:0 .5rem 1.5rem color-mix(in srgb,var(--aeris-primary, #111111) 28%,transparent);color:var(--aeris-on-primary, #ffffff);cursor:pointer;transition:transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-speed-dial__trigger[data-size=sm]{--aeris-speed-dial-size: 2.5rem}.aeris-speed-dial__trigger[data-size=lg]{--aeris-speed-dial-size: 3.5rem}@media(hover:hover){.aeris-speed-dial__trigger:hover:not(:disabled){background:var(--aeris-primary-hover, #242424);transform:translateY(-1px)}}.aeris-speed-dial__trigger:focus-visible,.aeris-speed-dial__action:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 48%,transparent);outline-offset:3px}.aeris-speed-dial__trigger:disabled{opacity:.48;cursor:not-allowed}.aeris-speed-dial__trigger-icon{display:grid;place-items:center;font-size:1.5rem;line-height:1;transform-origin:center;transition:transform var(--aeris-motion-slow, .22s) var(--aeris-ease-enter, ease-out)}.aeris-speed-dial__plus,.aeris-speed-dial__trigger-icon svg{display:block;width:1.5rem;height:1.5rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}:host([data-open]) .aeris-speed-dial__trigger-icon[data-rotate]{transform:rotate(135deg)}.aeris-speed-dial__list{position:absolute;inset:50% auto auto 50%;z-index:2;width:0;height:0;margin:0;padding:0;list-style:none}.aeris-speed-dial__item{position:absolute;width:var(--aeris-speed-dial-item-size);height:var(--aeris-speed-dial-item-size);opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(.55);transition:opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease) var(--aeris-speed-dial-delay),transform .26s cubic-bezier(.2,.9,.2,1.18) var(--aeris-speed-dial-delay)}.aeris-speed-dial__item[data-visible]{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}.aeris-speed-dial__action{width:100%;height:100%;display:grid;place-items:center;border:1px solid var(--aeris-border, #efefef);border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-surface, #fff);box-shadow:0 .4rem 1.1rem #14181224;color:var(--aeris-text, #111111);text-decoration:none;cursor:pointer;transition:transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}@media(hover:hover){.aeris-speed-dial__action:hover:not(:disabled):not(.aeris-speed-dial__action--disabled){border-color:var(--aeris-primary, #111111);background:color-mix(in srgb,var(--aeris-primary, #111111) 10%,var(--aeris-surface, #fff));transform:scale(1.08)}}.aeris-speed-dial__action:disabled,.aeris-speed-dial__action--disabled{opacity:.45;cursor:not-allowed}.aeris-speed-dial__action-icon{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);display:inline-grid;place-items:center;font-size:var(--aeris-icon-size, 1rem);font-weight:var(--aeris-font-weight-bold, 700);line-height:1}@media(prefers-reduced-motion:reduce){.aeris-speed-dial__trigger,.aeris-speed-dial__trigger-icon,.aeris-speed-dial__item,.aeris-speed-dial__action{animation-duration:1ms;transition-duration:1ms;transition-delay:0ms}}\n"]
866
887
  }]
867
888
  }],
868
889
  ctorParameters: () => [],
@@ -1 +1 @@
1
- {"version":3,"file":"aeris-ui-core-speed-dial.mjs","names":[],"sources":["../../../projects/aeris-ui/speed-dial/aeris-speed-dial.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n linkedSignal,\n model,\n output,\n viewChildren,\n} from '@angular/core';\nimport { ɵregisterAerisOverlay, ɵunregisterAerisOverlay } from '@aeris-ui/core';\n\nexport type AerisSpeedDialDirection =\n 'up' | 'down' | 'left' | 'right' | 'up-left' | 'up-right' | 'down-left' | 'down-right';\n\nexport type AerisSpeedDialType = 'linear' | 'circle' | 'semi-circle' | 'quarter-circle';\n\nexport const AERIS_SPEED_DIAL_ITEM_LIMITS: Readonly<Record<AerisSpeedDialType, number>> = {\n linear: 5,\n circle: 8,\n 'semi-circle': 7,\n 'quarter-circle': 5,\n};\n\nexport interface AerisSpeedDialCommandEvent<T = unknown> {\n readonly originalEvent: MouseEvent | KeyboardEvent;\n readonly item: AerisSpeedDialItem<T>;\n}\n\nexport interface AerisSpeedDialItem<T = unknown> {\n readonly id?: string;\n readonly label: string;\n readonly ariaLabel?: string;\n readonly icon?: string;\n readonly disabled?: boolean;\n readonly visible?: boolean;\n readonly url?: string;\n readonly routerLink?: string | readonly (string | number)[];\n readonly target?: '_blank' | '_self' | '_parent' | '_top';\n readonly rel?: string;\n readonly data?: T;\n readonly command?: (event: AerisSpeedDialCommandEvent<T>) => void;\n}\n\nexport interface AerisSpeedDialButtonProps {\n readonly title?: string;\n readonly size?: 'sm' | 'md' | 'lg';\n}\n\nexport type AerisSpeedDialNavigationHandler = (\n link: string | readonly (string | number)[],\n event: MouseEvent | KeyboardEvent,\n) => void;\n\nexport interface AerisSpeedDialItemTemplateContext<T = unknown> {\n readonly $implicit: AerisSpeedDialItem<T>;\n readonly item: AerisSpeedDialItem<T>;\n readonly index: number;\n}\n\nexport interface AerisSpeedDialIconTemplateContext {\n readonly open: boolean;\n readonly toggle: (event: MouseEvent) => void;\n}\n\ninterface PositionedSpeedDialItem<T> {\n readonly item: AerisSpeedDialItem<T>;\n readonly index: number;\n readonly id: string;\n readonly delay: string;\n readonly left: string | null;\n readonly right: string | null;\n readonly top: string | null;\n readonly bottom: string | null;\n readonly href: string | null;\n}\n\nlet speedDialId = 0;\n\n@Component({\n selector: 'aeris-speed-dial',\n imports: [NgTemplateOutlet],\n template: `\n @if (mask() && visible()) {\n <button\n type=\"button\"\n class=\"aeris-speed-dial__mask\"\n [class]=\"maskClass()\"\n [attr.data-backdrop-blur]=\"backdropBlur() || null\"\n [style.--aeris-speed-dial-backdrop-blur]=\"backdropBlurAmount() || null\"\n tabindex=\"-1\"\n aria-label=\"Close action menu\"\n (click)=\"hide($event)\"\n ></button>\n }\n\n <div class=\"aeris-speed-dial__container\">\n <ul\n class=\"aeris-speed-dial__list\"\n [id]=\"menuId()\"\n role=\"menu\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-hidden]=\"!visible()\"\n [attr.inert]=\"visible() ? null : ''\"\n (keydown)=\"onMenuKeydown($event)\"\n >\n @for (positioned of positionedItems(); track positioned.id) {\n <li\n class=\"aeris-speed-dial__item\"\n [attr.data-visible]=\"visible() || null\"\n [style.--aeris-speed-dial-delay]=\"positioned.delay\"\n [style.--aeris-speed-dial-index]=\"positioned.index\"\n [style.left]=\"positioned.left\"\n [style.right]=\"positioned.right\"\n [style.top]=\"positioned.top\"\n [style.bottom]=\"positioned.bottom\"\n >\n @if (positioned.item.url || positioned.item.routerLink) {\n <a\n #action\n class=\"aeris-speed-dial__action\"\n [class.aeris-speed-dial__action--disabled]=\"positioned.item.disabled\"\n role=\"menuitem\"\n [attr.id]=\"positioned.id\"\n [attr.href]=\"positioned.item.disabled ? null : positioned.href\"\n [attr.target]=\"positioned.item.target\"\n [attr.rel]=\"\n positioned.item.rel ||\n (positioned.item.target === '_blank' ? 'noopener noreferrer' : null)\n \"\n [attr.aria-label]=\"positioned.item.ariaLabel ?? positioned.item.label\"\n [attr.aria-disabled]=\"positioned.item.disabled || null\"\n [attr.tabindex]=\"\n visible() && focusedIndex() === positioned.index && !positioned.item.disabled\n ? 0\n : -1\n \"\n (click)=\"activate($event, positioned)\"\n (focus)=\"focusedIndex.set(positioned.index)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"itemContentTemplate()\"\n [ngTemplateOutletContext]=\"itemContext(positioned)\"\n />\n @if (!itemContentTemplate()) {\n <span class=\"aeris-speed-dial__action-icon\" aria-hidden=\"true\">\n {{ positioned.item.icon ?? positioned.item.label.slice(0, 1) }}\n </span>\n }\n </a>\n } @else {\n <button\n #action\n type=\"button\"\n class=\"aeris-speed-dial__action\"\n role=\"menuitem\"\n [attr.id]=\"positioned.id\"\n [attr.aria-label]=\"positioned.item.ariaLabel ?? positioned.item.label\"\n [disabled]=\"positioned.item.disabled\"\n [attr.tabindex]=\"\n visible() && focusedIndex() === positioned.index && !positioned.item.disabled\n ? 0\n : -1\n \"\n (click)=\"activate($event, positioned)\"\n (focus)=\"focusedIndex.set(positioned.index)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"itemContentTemplate()\"\n [ngTemplateOutletContext]=\"itemContext(positioned)\"\n />\n @if (!itemContentTemplate()) {\n <span class=\"aeris-speed-dial__action-icon\" aria-hidden=\"true\">\n {{ positioned.item.icon ?? positioned.item.label.slice(0, 1) }}\n </span>\n }\n </button>\n }\n </li>\n }\n </ul>\n\n @if (buttonContentTemplate(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template\"\n [ngTemplateOutletContext]=\"{ open: visible(), toggle: toggleCallback }\"\n />\n } @else {\n <button\n #trigger\n type=\"button\"\n class=\"aeris-speed-dial__trigger\"\n [class]=\"buttonClass()\"\n [attr.data-size]=\"buttonProps()?.size ?? 'md'\"\n [attr.title]=\"buttonProps()?.title\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-controls]=\"menuId()\"\n [attr.aria-expanded]=\"visible()\"\n aria-haspopup=\"menu\"\n [disabled]=\"disabled()\"\n (click)=\"toggle($event)\"\n (keydown)=\"onTriggerKeydown($event)\"\n >\n @if (iconContentTemplate(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template\"\n [ngTemplateOutletContext]=\"{ open: visible(), toggle: toggleCallback }\"\n />\n } @else {\n <span\n class=\"aeris-speed-dial__trigger-icon\"\n [attr.data-rotate]=\"rotateAnimation() && !hideIcon() ? true : null\"\n aria-hidden=\"true\"\n >\n @let icon = visible() && hideIcon() ? hideIcon() : showIcon();\n @if (icon === '+') {\n <svg viewBox=\"0 0 24 24\" focusable=\"false\" aria-hidden=\"true\">\n <path d=\"M12 5v14M5 12h14\" />\n </svg>\n } @else {\n {{ icon }}\n }\n </span>\n }\n </button>\n }\n </div>\n `,\n styleUrl: './aeris-speed-dial.scss',\n host: {\n class: 'aeris-speed-dial',\n '[attr.data-type]': 'type()',\n '[attr.data-direction]': 'direction()',\n '[attr.data-open]': 'visible() || null',\n '[attr.data-disabled]': 'disabled() || null',\n '[attr.data-truncated]': 'hasOverflowItems() || null',\n '[style.--aeris-speed-dial-radius]': 'radius() + \"px\"',\n '(document:click)': 'onDocumentClick($event)',\n },\n})\nexport class AerisSpeedDial<T = unknown> {\n constructor() {\n effect((onCleanup) => {\n if (!this.visible()) return;\n const element = this.host.nativeElement;\n ɵregisterAerisOverlay(element.ownerDocument, element, () => {\n this.hide(new Event('aeris-dismiss'), true);\n return true;\n });\n onCleanup(() => ɵunregisterAerisOverlay(element.ownerDocument, element));\n });\n }\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly generatedId = `aeris-speed-dial-${++speedDialId}`;\n private readonly actions = viewChildren<ElementRef<HTMLElement>>('action');\n private readonly trigger = viewChildren<ElementRef<HTMLButtonElement>>('trigger');\n\n readonly id = input(this.generatedId);\n readonly model = input<readonly AerisSpeedDialItem<T>[]>([]);\n readonly visible = model(false);\n readonly direction = input<AerisSpeedDialDirection>('up');\n readonly transitionDelay = input(30);\n readonly type = input<AerisSpeedDialType>('linear');\n readonly maxItems = input<number>();\n readonly radius = input(0);\n readonly mask = input(false, { transform: booleanAttribute });\n readonly backdropBlur = input(true, { transform: booleanAttribute });\n readonly backdropBlurAmount = input('');\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly closeOnOutsideClick = input(true, { transform: booleanAttribute });\n readonly buttonClass = input('');\n readonly maskClass = input('');\n readonly showIcon = input('+');\n readonly hideIcon = input('');\n readonly rotateAnimation = input(true, { transform: booleanAttribute });\n readonly ariaLabel = input('Open actions');\n readonly ariaLabelledBy = input<string>();\n readonly buttonProps = input<AerisSpeedDialButtonProps>();\n readonly buttonTemplate = input<TemplateRef<AerisSpeedDialIconTemplateContext>>();\n readonly itemTemplate = input<TemplateRef<AerisSpeedDialItemTemplateContext<T>>>();\n readonly iconTemplate = input<TemplateRef<AerisSpeedDialIconTemplateContext>>();\n readonly navigationHandler = input<AerisSpeedDialNavigationHandler>();\n\n readonly clicked = output<MouseEvent>();\n readonly opened = output<Event>();\n readonly closed = output<Event>();\n readonly itemSelected = output<AerisSpeedDialCommandEvent<T>>();\n\n protected readonly projectedButtonTemplate =\n contentChild<TemplateRef<AerisSpeedDialIconTemplateContext>>('button');\n protected readonly projectedItemTemplate =\n contentChild<TemplateRef<AerisSpeedDialItemTemplateContext<T>>>('item');\n protected readonly projectedIconTemplate =\n contentChild<TemplateRef<AerisSpeedDialIconTemplateContext>>('icon');\n protected readonly toggleCallback = (event: MouseEvent): void => this.toggle(event);\n protected readonly menuId = computed(() => `${this.id()}-menu`);\n protected readonly buttonContentTemplate = computed(\n () => this.buttonTemplate() ?? this.projectedButtonTemplate(),\n );\n protected readonly itemContentTemplate = computed(\n () => this.itemTemplate() ?? this.projectedItemTemplate(),\n );\n protected readonly iconContentTemplate = computed(\n () => this.iconTemplate() ?? this.projectedIconTemplate(),\n );\n protected readonly layoutItemLimit = computed(() => {\n const layoutLimit = AERIS_SPEED_DIAL_ITEM_LIMITS[this.type()];\n const requestedLimit = this.maxItems();\n if (requestedLimit === undefined || !Number.isFinite(requestedLimit)) {\n return layoutLimit;\n }\n return Math.max(0, Math.min(Math.floor(requestedLimit), layoutLimit));\n });\n protected readonly availableItems = computed(() =>\n this.model().filter((item) => item.visible !== false),\n );\n protected readonly visibleItems = computed(() =>\n this.availableItems().slice(0, this.layoutItemLimit()),\n );\n protected readonly hasOverflowItems = computed(\n () => this.availableItems().length > this.layoutItemLimit(),\n );\n protected readonly focusedIndex = linkedSignal(() =>\n this.visible() ? this.firstEnabledIndex() : -1,\n );\n protected readonly positionedItems = computed<readonly PositionedSpeedDialItem<T>[]>(() => {\n const items = this.visibleItems();\n return items.map((item, index) => {\n const point = this.calculatePoint(index, items.length);\n const delayIndex = this.visible() ? index : items.length - index - 1;\n return {\n item,\n index,\n id: item.id ?? `${this.id()}-item-${index}`,\n delay: `${Math.max(0, delayIndex * this.transitionDelay())}ms`,\n href: this.resolveHref(item),\n ...point,\n };\n });\n });\n\n protected itemContext(\n positioned: PositionedSpeedDialItem<T>,\n ): AerisSpeedDialItemTemplateContext<T> {\n return {\n $implicit: positioned.item,\n item: positioned.item,\n index: positioned.index,\n };\n }\n\n protected toggle(event: MouseEvent): void {\n this.clicked.emit(event);\n this.visible() ? this.hide(event) : this.show(event);\n }\n\n protected show(event: Event): void {\n if (this.disabled() || this.visible()) return;\n this.visible.set(true);\n const index = this.firstEnabledIndex();\n this.focusedIndex.set(index);\n this.opened.emit(event);\n }\n\n protected hide(event: Event, restoreFocus = false): void {\n if (!this.visible()) return;\n this.visible.set(false);\n this.focusedIndex.set(-1);\n this.closed.emit(event);\n if (restoreFocus) {\n queueMicrotask(() => this.trigger().at(0)?.nativeElement.focus());\n }\n }\n\n protected activate(\n event: MouseEvent | KeyboardEvent,\n positioned: PositionedSpeedDialItem<T>,\n ): void {\n if (positioned.item.disabled) {\n event.preventDefault();\n return;\n }\n const commandEvent = { originalEvent: event, item: positioned.item };\n positioned.item.command?.(commandEvent);\n this.itemSelected.emit(commandEvent);\n if (positioned.item.routerLink && this.navigationHandler()) {\n event.preventDefault();\n this.navigationHandler()?.(positioned.item.routerLink, event);\n }\n this.hide(event, true);\n }\n\n protected onTriggerKeydown(event: KeyboardEvent): void {\n if (!['ArrowDown', 'ArrowUp', 'ArrowLeft', 'ArrowRight'].includes(event.key)) {\n return;\n }\n event.preventDefault();\n this.show(event);\n const useLast = event.key === 'ArrowUp' || event.key === 'ArrowLeft';\n this.focusedIndex.set(useLast ? this.lastEnabledIndex() : this.firstEnabledIndex());\n this.focusActiveItem();\n }\n\n protected onMenuKeydown(event: KeyboardEvent): void {\n switch (event.key) {\n case 'ArrowDown':\n case 'ArrowRight':\n event.preventDefault();\n this.moveFocus(1);\n break;\n case 'ArrowUp':\n case 'ArrowLeft':\n event.preventDefault();\n this.moveFocus(-1);\n break;\n case 'Home':\n event.preventDefault();\n this.focusedIndex.set(this.firstEnabledIndex());\n this.focusActiveItem();\n break;\n case 'End':\n event.preventDefault();\n this.focusedIndex.set(this.lastEnabledIndex());\n this.focusActiveItem();\n break;\n case 'Escape':\n event.preventDefault();\n this.hide(event, true);\n break;\n }\n }\n\n protected onDocumentClick(event: Event): void {\n const target = event.target;\n const host = this.host.nativeElement;\n if (\n this.visible() &&\n this.closeOnOutsideClick() &&\n target instanceof Node &&\n host &&\n !host.contains(target)\n ) {\n this.hide(event);\n }\n }\n\n private moveFocus(step: 1 | -1): void {\n const enabled = this.enabledIndexes();\n if (!enabled.length) return;\n const current = enabled.indexOf(this.focusedIndex());\n const next =\n current < 0\n ? step === 1\n ? 0\n : enabled.length - 1\n : (current + step + enabled.length) % enabled.length;\n this.focusedIndex.set(enabled[next]);\n this.focusActiveItem();\n }\n\n private focusActiveItem(): void {\n queueMicrotask(() => this.actions().at(this.focusedIndex())?.nativeElement.focus());\n }\n\n private enabledIndexes(): number[] {\n return this.visibleItems().flatMap((item, index) => (item.disabled ? [] : [index]));\n }\n\n private firstEnabledIndex(): number {\n return this.enabledIndexes().at(0) ?? -1;\n }\n\n private lastEnabledIndex(): number {\n return this.enabledIndexes().at(-1) ?? -1;\n }\n\n private calculatePoint(\n index: number,\n length: number,\n ): Pick<PositionedSpeedDialItem<T>, 'left' | 'right' | 'top' | 'bottom'> {\n if (this.type() === 'linear') {\n const offset = `calc(\n (var(--aeris-speed-dial-size) + var(--aeris-speed-dial-item-size)) / 2\n + var(--aeris-speed-dial-gap)\n + (var(--aeris-speed-dial-item-size) + var(--aeris-speed-dial-gap)) * ${index}\n )`;\n if (this.direction() === 'up') {\n return { left: '0px', top: `calc(-1 * ${offset})`, right: null, bottom: null };\n }\n if (this.direction() === 'down') {\n return { left: '0px', top: offset, right: null, bottom: null };\n }\n if (this.direction() === 'left') {\n return { left: `calc(-1 * ${offset})`, top: '0px', right: null, bottom: null };\n }\n return { left: offset, top: '0px', right: null, bottom: null };\n }\n\n const radius = this.radius() || length * 24;\n const safeLength = Math.max(length - 1, 1);\n let x = 0;\n let y = 0;\n\n if (this.type() === 'circle') {\n const angle = (2 * Math.PI * index) / Math.max(length, 1);\n x = radius * Math.cos(angle);\n y = radius * Math.sin(angle);\n } else if (this.type() === 'semi-circle') {\n const angle = (Math.PI * index) / safeLength;\n x = radius * Math.cos(angle);\n y = radius * Math.sin(angle);\n } else {\n const angle = (Math.PI * index) / (2 * safeLength);\n x = radius * Math.cos(angle);\n y = radius * Math.sin(angle);\n }\n\n return this.orientPoint(x, y);\n }\n\n private resolveHref(item: AerisSpeedDialItem<T>): string | null {\n if (item.url) return item.url;\n if (!item.routerLink) return null;\n if (typeof item.routerLink === 'string') return item.routerLink;\n return `/${item.routerLink\n .map((segment) => String(segment).replace(/^\\/+|\\/+$/g, ''))\n .filter(Boolean)\n .join('/')}`;\n }\n\n private orientPoint(\n x: number,\n y: number,\n ): Pick<PositionedSpeedDialItem<T>, 'left' | 'right' | 'top' | 'bottom'> {\n const px = (value: number) => `${Math.round(value * 100) / 100}px`;\n const direction = this.direction();\n const point = (left: number, top: number) => ({\n left: px(left),\n top: px(top),\n right: null,\n bottom: null,\n });\n\n if (this.type() === 'circle') {\n return point(x, y);\n }\n if (this.type() === 'semi-circle') {\n if (direction === 'down') return point(x, y);\n if (direction === 'left') return point(-y, x);\n if (direction === 'right') return point(y, x);\n return point(x, -y);\n }\n if (direction === 'up-left') return point(-x, -y);\n if (direction === 'up-right') return point(x, -y);\n if (direction === 'down-left') return point(-x, y);\n return point(x, y);\n }\n}\n"],"mappings":";;;;AAuBA,MAAa,+BAA6E;CACxF,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,kBAAkB;AACnB;AAuDD,IAAI,cAAc;AAqKlB,IAAa,iBAAb,MAAa,eAAc;CACzB,cAAA;EACE,QAAQ,cAAa;GACnB,IAAI,CAAC,KAAK,QAAO,GAAI;GACrB,MAAM,UAAU,KAAK,KAAK;GAC1B,sBAAsB,QAAQ,eAAe,eAAc;IACzD,KAAK,KAAK,IAAI,MAAM,eAAe,GAAG,IAAI;IAC1C,OAAO;GACT,CAAC;GACD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IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,gBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,mBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAA;EAAA,CAAA;EAAA,QAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,QAAA;EAAA,CAAA;EAAA,QAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,QAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,cAAA;EAAA,CAAA;EAAA,yBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAkCjB,UAAQ,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,uBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAEL,QAAM,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,uBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAET,QAAM,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
1
+ {"version":3,"file":"aeris-ui-core-speed-dial.mjs","names":[],"sources":["../../../projects/aeris-ui/speed-dial/aeris-speed-dial.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n linkedSignal,\n model,\n output,\n viewChildren,\n} from '@angular/core';\nimport { ɵAerisIcon, ɵregisterAerisOverlay, ɵunregisterAerisOverlay } from '@aeris-ui/core';\n\nexport type AerisSpeedDialDirection =\n 'up' | 'down' | 'left' | 'right' | 'up-left' | 'up-right' | 'down-left' | 'down-right';\n\nexport type AerisSpeedDialType = 'linear' | 'circle' | 'semi-circle' | 'quarter-circle';\n\nexport const AERIS_SPEED_DIAL_ITEM_LIMITS: Readonly<Record<AerisSpeedDialType, number>> = {\n linear: 5,\n circle: 8,\n 'semi-circle': 7,\n 'quarter-circle': 5,\n};\n\nexport interface AerisSpeedDialCommandEvent<T = unknown> {\n readonly originalEvent: MouseEvent | KeyboardEvent;\n readonly item: AerisSpeedDialItem<T>;\n}\n\nexport interface AerisSpeedDialItem<T = unknown> {\n readonly id?: string;\n readonly label: string;\n readonly ariaLabel?: string;\n readonly icon?: string;\n readonly disabled?: boolean;\n readonly visible?: boolean;\n readonly url?: string;\n readonly routerLink?: string | readonly (string | number)[];\n readonly target?: '_blank' | '_self' | '_parent' | '_top';\n readonly rel?: string;\n readonly data?: T;\n readonly command?: (event: AerisSpeedDialCommandEvent<T>) => void;\n}\n\nexport interface AerisSpeedDialButtonProps {\n readonly title?: string;\n readonly size?: 'sm' | 'md' | 'lg';\n}\n\nexport type AerisSpeedDialNavigationHandler = (\n link: string | readonly (string | number)[],\n event: MouseEvent | KeyboardEvent,\n) => void;\n\nexport interface AerisSpeedDialItemTemplateContext<T = unknown> {\n readonly $implicit: AerisSpeedDialItem<T>;\n readonly item: AerisSpeedDialItem<T>;\n readonly index: number;\n}\n\nexport interface AerisSpeedDialIconTemplateContext {\n readonly open: boolean;\n readonly toggle: (event: MouseEvent) => void;\n}\n\ninterface PositionedSpeedDialItem<T> {\n readonly item: AerisSpeedDialItem<T>;\n readonly index: number;\n readonly id: string;\n readonly delay: string;\n readonly left: string | null;\n readonly right: string | null;\n readonly top: string | null;\n readonly bottom: string | null;\n readonly href: string | null;\n}\n\nlet speedDialId = 0;\n\n@Component({\n selector: 'aeris-speed-dial',\n imports: [NgTemplateOutlet, ɵAerisIcon],\n template: `\n @if (mask() && visible()) {\n <button\n type=\"button\"\n class=\"aeris-speed-dial__mask\"\n [class]=\"maskClass()\"\n [attr.data-backdrop-blur]=\"backdropBlur() || null\"\n [style.--aeris-speed-dial-backdrop-blur]=\"backdropBlurAmount() || null\"\n tabindex=\"-1\"\n aria-label=\"Close action menu\"\n (click)=\"hide($event)\"\n ></button>\n }\n\n <div class=\"aeris-speed-dial__container\">\n <ul\n class=\"aeris-speed-dial__list\"\n [id]=\"menuId()\"\n role=\"menu\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-hidden]=\"!visible()\"\n [attr.inert]=\"visible() ? null : ''\"\n (keydown)=\"onMenuKeydown($event)\"\n >\n @for (positioned of positionedItems(); track positioned.id) {\n <li\n class=\"aeris-speed-dial__item\"\n [attr.data-visible]=\"visible() || null\"\n [style.--aeris-speed-dial-delay]=\"positioned.delay\"\n [style.--aeris-speed-dial-index]=\"positioned.index\"\n [style.left]=\"positioned.left\"\n [style.right]=\"positioned.right\"\n [style.top]=\"positioned.top\"\n [style.bottom]=\"positioned.bottom\"\n >\n @if (positioned.item.url || positioned.item.routerLink) {\n <a\n #action\n class=\"aeris-speed-dial__action\"\n [class.aeris-speed-dial__action--disabled]=\"positioned.item.disabled\"\n role=\"menuitem\"\n [attr.id]=\"positioned.id\"\n [attr.href]=\"positioned.item.disabled ? null : positioned.href\"\n [attr.target]=\"positioned.item.target\"\n [attr.rel]=\"\n positioned.item.rel ||\n (positioned.item.target === '_blank' ? 'noopener noreferrer' : null)\n \"\n [attr.aria-label]=\"positioned.item.ariaLabel ?? positioned.item.label\"\n [attr.aria-disabled]=\"positioned.item.disabled || null\"\n [attr.tabindex]=\"\n visible() && focusedIndex() === positioned.index && !positioned.item.disabled\n ? 0\n : -1\n \"\n (click)=\"activate($event, positioned)\"\n (focus)=\"focusedIndex.set(positioned.index)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"itemContentTemplate()\"\n [ngTemplateOutletContext]=\"itemContext(positioned)\"\n />\n @if (!itemContentTemplate()) {\n <span class=\"aeris-speed-dial__action-icon\" aria-hidden=\"true\">\n {{ positioned.item.icon ?? positioned.item.label.slice(0, 1) }}\n </span>\n }\n </a>\n } @else {\n <button\n #action\n type=\"button\"\n class=\"aeris-speed-dial__action\"\n role=\"menuitem\"\n [attr.id]=\"positioned.id\"\n [attr.aria-label]=\"positioned.item.ariaLabel ?? positioned.item.label\"\n [disabled]=\"positioned.item.disabled\"\n [attr.tabindex]=\"\n visible() && focusedIndex() === positioned.index && !positioned.item.disabled\n ? 0\n : -1\n \"\n (click)=\"activate($event, positioned)\"\n (focus)=\"focusedIndex.set(positioned.index)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"itemContentTemplate()\"\n [ngTemplateOutletContext]=\"itemContext(positioned)\"\n />\n @if (!itemContentTemplate()) {\n <span class=\"aeris-speed-dial__action-icon\" aria-hidden=\"true\">\n {{ positioned.item.icon ?? positioned.item.label.slice(0, 1) }}\n </span>\n }\n </button>\n }\n </li>\n }\n </ul>\n\n @if (buttonContentTemplate(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template\"\n [ngTemplateOutletContext]=\"{ open: visible(), toggle: toggleCallback }\"\n />\n } @else {\n <button\n #trigger\n type=\"button\"\n class=\"aeris-speed-dial__trigger\"\n [class]=\"buttonClass()\"\n [attr.data-size]=\"buttonProps()?.size ?? 'md'\"\n [attr.title]=\"buttonProps()?.title\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-controls]=\"menuId()\"\n [attr.aria-expanded]=\"visible()\"\n aria-haspopup=\"menu\"\n [disabled]=\"disabled()\"\n (click)=\"toggle($event)\"\n (keydown)=\"onTriggerKeydown($event)\"\n >\n @if (iconContentTemplate(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template\"\n [ngTemplateOutletContext]=\"{ open: visible(), toggle: toggleCallback }\"\n />\n } @else {\n <span\n class=\"aeris-speed-dial__trigger-icon\"\n [attr.data-rotate]=\"rotateAnimation() && !hideIcon() ? true : null\"\n aria-hidden=\"true\"\n >\n @let icon = visible() && hideIcon() ? hideIcon() : showIcon();\n @if (icon === '+') {\n <ng-template #plusArtwork>\n <svg viewBox=\"0 0 24 24\" focusable=\"false\" aria-hidden=\"true\">\n <path d=\"M5 12h14\" />\n <path d=\"M12 5v14\" />\n </svg>\n </ng-template>\n <span\n aerisInternalIcon=\"plus\"\n [aerisInternalIconFallback]=\"plusArtwork\"\n class=\"aeris-speed-dial__plus\"\n ></span>\n } @else {\n {{ icon }}\n }\n </span>\n }\n </button>\n }\n </div>\n `,\n styleUrl: './aeris-speed-dial.scss',\n host: {\n class: 'aeris-speed-dial',\n '[attr.data-type]': 'type()',\n '[attr.data-direction]': 'direction()',\n '[attr.data-open]': 'visible() || null',\n '[attr.data-disabled]': 'disabled() || null',\n '[attr.data-truncated]': 'hasOverflowItems() || null',\n '[style.--aeris-speed-dial-radius]': 'radius() + \"px\"',\n '(document:click)': 'onDocumentClick($event)',\n },\n})\nexport class AerisSpeedDial<T = unknown> {\n constructor() {\n effect((onCleanup) => {\n if (!this.visible()) return;\n const element = this.host.nativeElement;\n ɵregisterAerisOverlay(element.ownerDocument, element, () => {\n this.hide(new Event('aeris-dismiss'), true);\n return true;\n });\n onCleanup(() => ɵunregisterAerisOverlay(element.ownerDocument, element));\n });\n }\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly generatedId = `aeris-speed-dial-${++speedDialId}`;\n private readonly actions = viewChildren<ElementRef<HTMLElement>>('action');\n private readonly trigger = viewChildren<ElementRef<HTMLButtonElement>>('trigger');\n\n readonly id = input(this.generatedId);\n readonly model = input<readonly AerisSpeedDialItem<T>[]>([]);\n readonly visible = model(false);\n readonly direction = input<AerisSpeedDialDirection>('up');\n readonly transitionDelay = input(30);\n readonly type = input<AerisSpeedDialType>('linear');\n readonly maxItems = input<number>();\n readonly radius = input(0);\n readonly mask = input(false, { transform: booleanAttribute });\n readonly backdropBlur = input(true, { transform: booleanAttribute });\n readonly backdropBlurAmount = input('');\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly closeOnOutsideClick = input(true, { transform: booleanAttribute });\n readonly buttonClass = input('');\n readonly maskClass = input('');\n readonly showIcon = input('+');\n readonly hideIcon = input('');\n readonly rotateAnimation = input(true, { transform: booleanAttribute });\n readonly ariaLabel = input('Open actions');\n readonly ariaLabelledBy = input<string>();\n readonly buttonProps = input<AerisSpeedDialButtonProps>();\n readonly buttonTemplate = input<TemplateRef<AerisSpeedDialIconTemplateContext>>();\n readonly itemTemplate = input<TemplateRef<AerisSpeedDialItemTemplateContext<T>>>();\n readonly iconTemplate = input<TemplateRef<AerisSpeedDialIconTemplateContext>>();\n readonly navigationHandler = input<AerisSpeedDialNavigationHandler>();\n\n readonly clicked = output<MouseEvent>();\n readonly opened = output<Event>();\n readonly closed = output<Event>();\n readonly itemSelected = output<AerisSpeedDialCommandEvent<T>>();\n\n protected readonly projectedButtonTemplate =\n contentChild<TemplateRef<AerisSpeedDialIconTemplateContext>>('button');\n protected readonly projectedItemTemplate =\n contentChild<TemplateRef<AerisSpeedDialItemTemplateContext<T>>>('item');\n protected readonly projectedIconTemplate =\n contentChild<TemplateRef<AerisSpeedDialIconTemplateContext>>('icon');\n protected readonly toggleCallback = (event: MouseEvent): void => this.toggle(event);\n protected readonly menuId = computed(() => `${this.id()}-menu`);\n protected readonly buttonContentTemplate = computed(\n () => this.buttonTemplate() ?? this.projectedButtonTemplate(),\n );\n protected readonly itemContentTemplate = computed(\n () => this.itemTemplate() ?? this.projectedItemTemplate(),\n );\n protected readonly iconContentTemplate = computed(\n () => this.iconTemplate() ?? this.projectedIconTemplate(),\n );\n protected readonly layoutItemLimit = computed(() => {\n const layoutLimit = AERIS_SPEED_DIAL_ITEM_LIMITS[this.type()];\n const requestedLimit = this.maxItems();\n if (requestedLimit === undefined || !Number.isFinite(requestedLimit)) {\n return layoutLimit;\n }\n return Math.max(0, Math.min(Math.floor(requestedLimit), layoutLimit));\n });\n protected readonly availableItems = computed(() =>\n this.model().filter((item) => item.visible !== false),\n );\n protected readonly visibleItems = computed(() =>\n this.availableItems().slice(0, this.layoutItemLimit()),\n );\n protected readonly hasOverflowItems = computed(\n () => this.availableItems().length > this.layoutItemLimit(),\n );\n protected readonly focusedIndex = linkedSignal(() =>\n this.visible() ? this.firstEnabledIndex() : -1,\n );\n protected readonly positionedItems = computed<readonly PositionedSpeedDialItem<T>[]>(() => {\n const items = this.visibleItems();\n return items.map((item, index) => {\n const point = this.calculatePoint(index, items.length);\n const delayIndex = this.visible() ? index : items.length - index - 1;\n return {\n item,\n index,\n id: item.id ?? `${this.id()}-item-${index}`,\n delay: `${Math.max(0, delayIndex * this.transitionDelay())}ms`,\n href: this.resolveHref(item),\n ...point,\n };\n });\n });\n\n protected itemContext(\n positioned: PositionedSpeedDialItem<T>,\n ): AerisSpeedDialItemTemplateContext<T> {\n return {\n $implicit: positioned.item,\n item: positioned.item,\n index: positioned.index,\n };\n }\n\n protected toggle(event: MouseEvent): void {\n this.clicked.emit(event);\n this.visible() ? this.hide(event) : this.show(event);\n }\n\n protected show(event: Event): void {\n if (this.disabled() || this.visible()) return;\n this.visible.set(true);\n const index = this.firstEnabledIndex();\n this.focusedIndex.set(index);\n this.opened.emit(event);\n }\n\n protected hide(event: Event, restoreFocus = false): void {\n if (!this.visible()) return;\n this.visible.set(false);\n this.focusedIndex.set(-1);\n this.closed.emit(event);\n if (restoreFocus) {\n queueMicrotask(() => this.trigger().at(0)?.nativeElement.focus());\n }\n }\n\n protected activate(\n event: MouseEvent | KeyboardEvent,\n positioned: PositionedSpeedDialItem<T>,\n ): void {\n if (positioned.item.disabled) {\n event.preventDefault();\n return;\n }\n const commandEvent = { originalEvent: event, item: positioned.item };\n positioned.item.command?.(commandEvent);\n this.itemSelected.emit(commandEvent);\n if (positioned.item.routerLink && this.navigationHandler()) {\n event.preventDefault();\n this.navigationHandler()?.(positioned.item.routerLink, event);\n }\n this.hide(event, true);\n }\n\n protected onTriggerKeydown(event: KeyboardEvent): void {\n if (!['ArrowDown', 'ArrowUp', 'ArrowLeft', 'ArrowRight'].includes(event.key)) {\n return;\n }\n event.preventDefault();\n this.show(event);\n const useLast = event.key === 'ArrowUp' || event.key === 'ArrowLeft';\n this.focusedIndex.set(useLast ? this.lastEnabledIndex() : this.firstEnabledIndex());\n this.focusActiveItem();\n }\n\n protected onMenuKeydown(event: KeyboardEvent): void {\n switch (event.key) {\n case 'ArrowDown':\n case 'ArrowRight':\n event.preventDefault();\n this.moveFocus(1);\n break;\n case 'ArrowUp':\n case 'ArrowLeft':\n event.preventDefault();\n this.moveFocus(-1);\n break;\n case 'Home':\n event.preventDefault();\n this.focusedIndex.set(this.firstEnabledIndex());\n this.focusActiveItem();\n break;\n case 'End':\n event.preventDefault();\n this.focusedIndex.set(this.lastEnabledIndex());\n this.focusActiveItem();\n break;\n case 'Escape':\n event.preventDefault();\n this.hide(event, true);\n break;\n }\n }\n\n protected onDocumentClick(event: Event): void {\n const target = event.target;\n const host = this.host.nativeElement;\n if (\n this.visible() &&\n this.closeOnOutsideClick() &&\n target instanceof Node &&\n host &&\n !host.contains(target)\n ) {\n this.hide(event);\n }\n }\n\n private moveFocus(step: 1 | -1): void {\n const enabled = this.enabledIndexes();\n if (!enabled.length) return;\n const current = enabled.indexOf(this.focusedIndex());\n const next =\n current < 0\n ? step === 1\n ? 0\n : enabled.length - 1\n : (current + step + enabled.length) % enabled.length;\n this.focusedIndex.set(enabled[next]);\n this.focusActiveItem();\n }\n\n private focusActiveItem(): void {\n queueMicrotask(() => this.actions().at(this.focusedIndex())?.nativeElement.focus());\n }\n\n private enabledIndexes(): number[] {\n return this.visibleItems().flatMap((item, index) => (item.disabled ? [] : [index]));\n }\n\n private firstEnabledIndex(): number {\n return this.enabledIndexes().at(0) ?? -1;\n }\n\n private lastEnabledIndex(): number {\n return this.enabledIndexes().at(-1) ?? -1;\n }\n\n private calculatePoint(\n index: number,\n length: number,\n ): Pick<PositionedSpeedDialItem<T>, 'left' | 'right' | 'top' | 'bottom'> {\n if (this.type() === 'linear') {\n const offset = `calc(\n (var(--aeris-speed-dial-size) + var(--aeris-speed-dial-item-size)) / 2\n + var(--aeris-speed-dial-gap)\n + (var(--aeris-speed-dial-item-size) + var(--aeris-speed-dial-gap)) * ${index}\n )`;\n if (this.direction() === 'up') {\n return { left: '0px', top: `calc(-1 * ${offset})`, right: null, bottom: null };\n }\n if (this.direction() === 'down') {\n return { left: '0px', top: offset, right: null, bottom: null };\n }\n if (this.direction() === 'left') {\n return { left: `calc(-1 * ${offset})`, top: '0px', right: null, bottom: null };\n }\n return { left: offset, top: '0px', right: null, bottom: null };\n }\n\n const radius = this.radius() || length * 24;\n const safeLength = Math.max(length - 1, 1);\n let x = 0;\n let y = 0;\n\n if (this.type() === 'circle') {\n const angle = (2 * Math.PI * index) / Math.max(length, 1);\n x = radius * Math.cos(angle);\n y = radius * Math.sin(angle);\n } else if (this.type() === 'semi-circle') {\n const angle = (Math.PI * index) / safeLength;\n x = radius * Math.cos(angle);\n y = radius * Math.sin(angle);\n } else {\n const angle = (Math.PI * index) / (2 * safeLength);\n x = radius * Math.cos(angle);\n y = radius * Math.sin(angle);\n }\n\n return this.orientPoint(x, y);\n }\n\n private resolveHref(item: AerisSpeedDialItem<T>): string | null {\n if (item.url) return item.url;\n if (!item.routerLink) return null;\n if (typeof item.routerLink === 'string') return item.routerLink;\n return `/${item.routerLink\n .map((segment) => String(segment).replace(/^\\/+|\\/+$/g, ''))\n .filter(Boolean)\n .join('/')}`;\n }\n\n private orientPoint(\n x: number,\n y: number,\n ): Pick<PositionedSpeedDialItem<T>, 'left' | 'right' | 'top' | 'bottom'> {\n const px = (value: number) => `${Math.round(value * 100) / 100}px`;\n const direction = this.direction();\n const point = (left: number, top: number) => ({\n left: px(left),\n top: px(top),\n right: null,\n bottom: null,\n });\n\n if (this.type() === 'circle') {\n return point(x, y);\n }\n if (this.type() === 'semi-circle') {\n if (direction === 'down') return point(x, y);\n if (direction === 'left') return point(-y, x);\n if (direction === 'right') return point(y, x);\n return point(x, -y);\n }\n if (direction === 'up-left') return point(-x, -y);\n if (direction === 'up-right') return point(x, -y);\n if (direction === 'down-left') return point(-x, y);\n return point(x, y);\n }\n}\n"],"mappings":";;;;AAuBA,MAAa,+BAA6E;CACxF,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,kBAAkB;AACnB;AAuDD,IAAI,cAAc;AA6KlB,IAAa,iBAAb,MAAa,eAAc;CACzB,cAAA;EACE,QAAQ,cAAa;GACnB,IAAI,CAAC,KAAK,QAAO,GAAI;GACrB,MAAM,UAAU,KAAK,KAAK;GAC1B,sBAAsB,QAAQ,eAAe,eAAc;IACzD,KAAK,KAAK,IAAI,MAAM,eAAe,GAAG,IAAI;IAC1C,OAAO;GACT,CAAC;GACD,gBAAgB,wBAAwB,QAAQ,eAAe,OAAO,CAAC;EACzE,CAAC;CACH;CACiB,OAAO,OAAgC,UAAU;CACjD,cAAc,oBAAoB,EAAE;CACpC,UAAU,aAAsC,UAAS,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CACzD,UAAU,aAA4C,WAAU,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAExE,KAAK,MAAM,KAAK,aAAY,GAAA,YAAA,CAAA,EAAA,WAAA,KAAA,CAAA,+BAAA,CAAA,CAAA;CAC5B,QAAQ,MAAwC,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CACnD,UAAU,MAAM,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAA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