@4sh/ui-kit 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/README.fr.md +10 -10
  2. package/README.md +10 -10
  3. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +542 -150
  4. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
  5. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +622 -248
  6. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
  7. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +385 -152
  8. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
  9. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +748 -433
  10. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs.map +1 -1
  11. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +227 -135
  12. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
  13. package/fesm2022/4sh-ui-kit-base-ui-image.mjs +1200 -633
  14. package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
  15. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +1675 -1000
  16. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
  17. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +243 -117
  18. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
  19. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +2294 -2048
  20. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
  21. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +1058 -1113
  22. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
  23. package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs +1108 -0
  24. package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs.map +1 -0
  25. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +397 -141
  26. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
  27. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +1529 -583
  28. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
  29. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +383 -224
  30. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -1
  31. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +345 -177
  32. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
  33. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +280 -138
  34. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
  35. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +507 -257
  36. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
  37. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +401 -312
  38. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
  39. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +1277 -697
  40. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
  41. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +467 -199
  42. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
  43. package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +394 -270
  44. package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs.map +1 -1
  45. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +140 -60
  46. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -1
  47. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +386 -167
  48. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
  49. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +150 -87
  50. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
  51. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +345 -180
  52. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
  53. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +582 -392
  54. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
  55. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +1552 -888
  56. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
  57. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +485 -338
  58. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
  59. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +503 -311
  60. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -1
  61. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +271 -137
  62. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
  63. package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +457 -214
  64. package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs.map +1 -1
  65. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +711 -371
  66. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -1
  67. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +235 -121
  68. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
  69. package/fesm2022/4sh-ui-kit-forms.mjs +721 -638
  70. package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
  71. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +546 -242
  72. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
  73. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +335 -157
  74. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
  75. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +53 -33
  76. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -1
  77. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +218 -121
  78. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -1
  79. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +192 -100
  80. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
  81. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +456 -204
  82. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
  83. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +314 -147
  84. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -1
  85. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +179 -82
  86. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -1
  87. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +268 -123
  88. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
  89. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +391 -146
  90. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
  91. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +158 -76
  92. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -1
  93. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +159 -80
  94. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -1
  95. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +295 -131
  96. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
  97. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +211 -83
  98. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
  99. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +784 -414
  100. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
  101. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +822 -476
  102. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
  103. package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +1014 -599
  104. package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs.map +1 -1
  105. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +403 -189
  106. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -1
  107. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +707 -272
  108. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
  109. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +1146 -568
  110. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
  111. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +519 -308
  112. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
  113. package/fesm2022/4sh-ui-kit-motion.mjs +252 -150
  114. package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
  115. package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +793 -341
  116. package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map +1 -1
  117. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +351 -194
  118. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
  119. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +511 -220
  120. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
  121. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +910 -548
  122. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
  123. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +1128 -555
  124. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
  125. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +915 -470
  126. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
  127. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +931 -474
  128. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
  129. package/fesm2022/4sh-ui-kit-overlay.mjs +26 -109
  130. package/fesm2022/4sh-ui-kit-overlay.mjs.map +1 -1
  131. package/fesm2022/4sh-ui-kit-ripple.mjs +329 -290
  132. package/fesm2022/4sh-ui-kit-ripple.mjs.map +1 -1
  133. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +709 -248
  134. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
  135. package/fesm2022/4sh-ui-kit-table-ui-table.mjs +2633 -1370
  136. package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
  137. package/fesm2022/4sh-ui-kit-theming.mjs +112 -113
  138. package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
  139. package/fesm2022/4sh-ui-kit-types.mjs +0 -12
  140. package/fesm2022/4sh-ui-kit.mjs +3 -15
  141. package/fesm2022/4sh-ui-kit.mjs.map +1 -1
  142. package/mcp/data/component-api.json +299 -2
  143. package/mcp/data/text-search-docs.json +149 -9
  144. package/mcp/data/ui-config.json +378 -1
  145. package/mcp/index.js +8190 -2876
  146. package/mcp/package.json +1 -1
  147. package/package.json +5 -1
  148. package/styles/component-vars.scss +22 -1
  149. package/types/4sh-ui-kit-actions-ui-button-split.d.ts +198 -87
  150. package/types/4sh-ui-kit-actions-ui-button.d.ts +240 -116
  151. package/types/4sh-ui-kit-actions-ui-link.d.ts +136 -67
  152. package/types/4sh-ui-kit-actions-ui-speed-dial.d.ts +287 -180
  153. package/types/4sh-ui-kit-base-ui-icon.d.ts +92 -58
  154. package/types/4sh-ui-kit-base-ui-image.d.ts +406 -205
  155. package/types/4sh-ui-kit-forms-ui-autocomplete.d.ts +573 -376
  156. package/types/4sh-ui-kit-forms-ui-checkbox.d.ts +77 -42
  157. package/types/4sh-ui-kit-forms-ui-datepicker.d.ts +953 -700
  158. package/types/4sh-ui-kit-forms-ui-editor.d.ts +374 -340
  159. package/types/4sh-ui-kit-forms-ui-field-sign.d.ts +325 -0
  160. package/types/4sh-ui-kit-forms-ui-field.d.ts +150 -64
  161. package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +583 -241
  162. package/types/4sh-ui-kit-forms-ui-input-date.d.ts +152 -103
  163. package/types/4sh-ui-kit-forms-ui-input-group.d.ts +109 -63
  164. package/types/4sh-ui-kit-forms-ui-input-mask.d.ts +93 -59
  165. package/types/4sh-ui-kit-forms-ui-input-number.d.ts +171 -96
  166. package/types/4sh-ui-kit-forms-ui-input-otp.d.ts +137 -104
  167. package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +469 -309
  168. package/types/4sh-ui-kit-forms-ui-input.d.ts +198 -118
  169. package/types/4sh-ui-kit-forms-ui-knob.d.ts +132 -80
  170. package/types/4sh-ui-kit-forms-ui-label.d.ts +47 -22
  171. package/types/4sh-ui-kit-forms-ui-nudger.d.ts +134 -67
  172. package/types/4sh-ui-kit-forms-ui-radio.d.ts +48 -33
  173. package/types/4sh-ui-kit-forms-ui-rating.d.ts +120 -86
  174. package/types/4sh-ui-kit-forms-ui-segment-control.d.ts +221 -147
  175. package/types/4sh-ui-kit-forms-ui-select.d.ts +561 -357
  176. package/types/4sh-ui-kit-forms-ui-slider.d.ts +156 -105
  177. package/types/4sh-ui-kit-forms-ui-swatch-picker.d.ts +133 -97
  178. package/types/4sh-ui-kit-forms-ui-textarea.d.ts +90 -56
  179. package/types/4sh-ui-kit-forms-ui-toggle-block.d.ts +158 -94
  180. package/types/4sh-ui-kit-forms-ui-toggle-button.d.ts +314 -178
  181. package/types/4sh-ui-kit-forms-ui-toggle.d.ts +88 -54
  182. package/types/4sh-ui-kit-forms.d.ts +275 -194
  183. package/types/4sh-ui-kit-informative-ui-accordion.d.ts +162 -92
  184. package/types/4sh-ui-kit-informative-ui-alert.d.ts +128 -62
  185. package/types/4sh-ui-kit-informative-ui-avatar-group.d.ts +8 -8
  186. package/types/4sh-ui-kit-informative-ui-avatar.d.ts +81 -44
  187. package/types/4sh-ui-kit-informative-ui-badge.d.ts +71 -41
  188. package/types/4sh-ui-kit-informative-ui-chip.d.ts +194 -99
  189. package/types/4sh-ui-kit-informative-ui-empty-state.d.ts +105 -65
  190. package/types/4sh-ui-kit-informative-ui-helper.d.ts +64 -34
  191. package/types/4sh-ui-kit-informative-ui-progress-bar.d.ts +120 -65
  192. package/types/4sh-ui-kit-informative-ui-read-only.d.ts +147 -67
  193. package/types/4sh-ui-kit-informative-ui-separator.d.ts +65 -35
  194. package/types/4sh-ui-kit-informative-ui-skeleton.d.ts +62 -32
  195. package/types/4sh-ui-kit-informative-ui-spinner.d.ts +111 -50
  196. package/types/4sh-ui-kit-informative-ui-tag.d.ts +77 -37
  197. package/types/4sh-ui-kit-informative-ui-toast.d.ts +300 -180
  198. package/types/4sh-ui-kit-informative-ui-tooltip.d.ts +269 -141
  199. package/types/4sh-ui-kit-layout-ui-bottom-sheet.d.ts +360 -221
  200. package/types/4sh-ui-kit-layout-ui-card.d.ts +119 -79
  201. package/types/4sh-ui-kit-layout-ui-drawer.d.ts +244 -120
  202. package/types/4sh-ui-kit-layout-ui-modal.d.ts +409 -222
  203. package/types/4sh-ui-kit-layout-ui-popover.d.ts +149 -91
  204. package/types/4sh-ui-kit-motion.d.ts +117 -67
  205. package/types/4sh-ui-kit-navigation-ui-bottom-tab-bar.d.ts +279 -145
  206. package/types/4sh-ui-kit-navigation-ui-breadcrumb.d.ts +134 -96
  207. package/types/4sh-ui-kit-navigation-ui-context-menu.d.ts +148 -89
  208. package/types/4sh-ui-kit-navigation-ui-menu.d.ts +282 -201
  209. package/types/4sh-ui-kit-navigation-ui-sidebar.d.ts +425 -261
  210. package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +279 -183
  211. package/types/4sh-ui-kit-navigation-ui-tabs.d.ts +275 -173
  212. package/types/4sh-ui-kit-overlay.d.ts +6 -6
  213. package/types/4sh-ui-kit-ripple.d.ts +99 -74
  214. package/types/4sh-ui-kit-table-ui-paginator.d.ts +237 -133
  215. package/types/4sh-ui-kit-table-ui-table.d.ts +769 -470
  216. package/types/4sh-ui-kit-theming.d.ts +27 -29
  217. package/types/4sh-ui-kit-types.d.ts +6 -5
  218. package/types/4sh-ui-kit.d.ts +4 -3
  219. package/fesm2022/4sh-ui-kit-types.mjs.map +0 -1
@@ -1,10 +1,12 @@
1
- import * as _angular_core from '@angular/core';
2
- import { UiLevel } from '@4sh/ui-kit/types';
3
- import { ButtonVariant, ButtonSize, ButtonNativeProps } from '@4sh/ui-kit/actions/ui-button';
4
- import { UiMenuItem } from '@4sh/ui-kit/navigation/ui-menu';
5
- import { TooltipPosition } from '@4sh/ui-kit/informative/ui-tooltip';
6
- import { UiMotionPreset } from '@4sh/ui-kit/motion';
7
-
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import { UiLevel } from "@4sh/ui-kit/types";
5
+ import { ButtonNativeProps, ButtonSize, ButtonVariant } from "@4sh/ui-kit/actions/ui-button";
6
+ import { UiMenuItem } from "@4sh/ui-kit/navigation/ui-menu";
7
+ import { TooltipPosition } from "@4sh/ui-kit/informative/ui-tooltip";
8
+ import { UiMotionPreset } from "@4sh/ui-kit/motion";
9
+ import * as i0 from "@angular/core";
8
10
  /**
9
11
  * Axis the actions fan out along.
10
12
  *
@@ -12,31 +14,31 @@ import { UiMotionPreset } from '@4sh/ui-kit/motion';
12
14
  * reads the four corners — a cardinal value falls back to `'up-right'` there
13
15
  * (see `arcSpan`).
14
16
  */
15
- type SpeedDialDirection = 'up' | 'down' | 'left' | 'right' | 'up-left' | 'up-right' | 'down-left' | 'down-right';
17
+ export type SpeedDialDirection = 'up' | 'down' | 'left' | 'right' | 'up-left' | 'up-right' | 'down-left' | 'down-right';
16
18
  /**
17
19
  * `linear` stacks the actions along `direction`. The other three arrange them
18
20
  * on an arc around the trigger (`radius`): `circle` the full ring,
19
21
  * `semi-circle` a 180° half centred on `direction`, `quarter-circle` a 90°
20
22
  * quadrant in the `direction` corner.
21
23
  */
22
- type SpeedDialType = 'linear' | 'circle' | 'semi-circle' | 'quarter-circle';
24
+ export type SpeedDialType = 'linear' | 'circle' | 'semi-circle' | 'quarter-circle';
23
25
  /**
24
26
  * One action revealed by the dial — the leaf subset of {@link UiMenuItem}
25
27
  * `ui-button` can actually render (no groups/separators, and no
26
28
  * `queryParams`/`routerLinkActiveExact`: `ui-button`'s link mode does not
27
29
  * carry them).
28
30
  */
29
- type UiSpeedDialItem = Pick<UiMenuItem, 'id' | 'label' | 'icon' | 'command' | 'disabled' | 'routerLink' | 'url' | 'target' | 'ariaLabel'>;
31
+ export type UiSpeedDialItem = Pick<UiMenuItem, 'id' | 'label' | 'icon' | 'command' | 'disabled' | 'routerLink' | 'url' | 'target' | 'ariaLabel'>;
30
32
  /** Payload of `itemClick` / an item's own `command`. */
31
- interface UiSpeedDialItemClickEvent {
32
- originalEvent: Event;
33
- item: UiSpeedDialItem;
33
+ export interface UiSpeedDialItemClickEvent {
34
+ originalEvent: Event;
35
+ item: UiSpeedDialItem;
34
36
  }
35
37
  /** @ignore Render node: item + its stable key + its index among enabled actions. */
36
38
  interface UiSpeedDialNode {
37
- item: UiSpeedDialItem;
38
- key: string;
39
- index: number;
39
+ item: UiSpeedDialItem;
40
+ key: string;
41
+ index: number;
40
42
  }
41
43
  /**
42
44
  * ui-speed-dial — a floating trigger button that fans a set of actions out
@@ -67,168 +69,273 @@ interface UiSpeedDialNode {
67
69
  * corner. Wrap it in a `position: fixed` host (see the MDX "Bouton flottant"
68
70
  * recipe) to reproduce the classic floating-action-button placement.
69
71
  */
70
- declare class UiSpeedDial {
71
- /** Actions revealed by the dial (see {@link UiSpeedDialItem}). */
72
- items: _angular_core.InputSignal<UiSpeedDialItem[]>;
73
- /** Open state (two-way). */
74
- visible: _angular_core.ModelSignal<boolean>;
75
- /** Layout: `linear` (stacked), `circle` (ring), `semi-circle` or `quarter-circle` (arc). */
76
- type: _angular_core.InputSignal<SpeedDialType>;
77
- /**
78
- * Axis the actions fan along. `linear`/`semi-circle` read the four
79
- * cardinal values; `quarter-circle` reads the four corners. Unused by
80
- * `circle`, which always goes full ring.
81
- */
82
- direction: _angular_core.InputSignal<SpeedDialDirection>;
83
- /** Ring/arc radius in px — every type but `linear`. Falls back to a size-derived default. */
84
- radius: _angular_core.InputSignal<number | undefined>;
85
- /** Semantic level of the trigger. */
86
- level: _angular_core.InputSignal<UiLevel>;
87
- /**
88
- * Semantic level of the actions. Defaults to `low`, deliberately different
89
- * from the trigger's own `level`: a `high`-styled action would read as a
90
- * second primary button rather than a revealed option.
91
- */
92
- itemLevel: _angular_core.InputSignal<UiLevel>;
93
- /** Apparence of the trigger and the actions. */
94
- variant: _angular_core.InputSignal<ButtonVariant>;
95
- /** Size of the trigger and the actions. */
96
- size: _angular_core.InputSignal<ButtonSize>;
97
- /** Icon of the trigger while closed. */
98
- showIcon: _angular_core.InputSignal<string>;
99
- /**
100
- * Icon of the trigger while open. Left unset, `showIcon` rotates 45° in
101
- * place instead of being swapped for a second icon.
102
- */
103
- hideIcon: _angular_core.InputSignal<string | undefined>;
104
- /** Animates the trigger icon's rotation (`hideIcon` unset only). */
105
- rotateAnimation: _angular_core.InputSignalWithTransform<boolean, unknown>;
106
- /** Dims the page behind the dial while open. */
107
- mask: _angular_core.InputSignalWithTransform<boolean, unknown>;
108
- /** Closes the dial on an outside click. */
109
- hideOnClickOutside: _angular_core.InputSignalWithTransform<boolean, unknown>;
110
- /** Disables the trigger and every action. */
111
- disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
112
- /** Shows each action's label as a tooltip (icon-only actions). */
113
- showTooltips: _angular_core.InputSignalWithTransform<boolean, unknown>;
114
- /** Animates the trigger and the actions (reduced-motion always wins). */
115
- motion: _angular_core.InputSignalWithTransform<boolean, unknown>;
116
- /** Accessible name of the trigger. */
117
- ariaLabel: _angular_core.InputSignal<string | undefined>;
118
- /** id of an external element naming the trigger. */
119
- ariaLabelledBy: _angular_core.InputSignal<string | undefined>;
120
- /** Native tabindex of the trigger. */
121
- tabindex: _angular_core.InputSignalWithTransform<number, unknown>;
122
- /** Fired when the trigger is clicked (never when disabled). */
123
- triggerClick: _angular_core.OutputEmitterRef<MouseEvent>;
124
- /** Fired when the dial opens. */
125
- opened: _angular_core.OutputEmitterRef<void>;
126
- /** Fired when the dial closes. */
127
- closed: _angular_core.OutputEmitterRef<void>;
128
- /** Fired when an action is activated (click / keyboard), never when disabled. */
129
- itemClick: _angular_core.OutputEmitterRef<UiSpeedDialItemClickEvent>;
130
- /** @ignore */
131
- private readonly document;
132
- /** @ignore Host element — outside-click detection. */
133
- private readonly hostEl;
134
- /** @ignore Trigger button (programmatic focus). */
135
- private readonly triggerEl;
136
- /** @ignore Rendered action buttons, in DOM order — the roving tabindex ring.
137
- * Matched by their own `#actionBtn` ref so the trigger (`#trigger`) is excluded. */
138
- private readonly actionEls;
139
- /** Unique id of the actions list (wired to the trigger's `aria-controls`). */
140
- readonly uid: string;
141
- /** @ignore Key of the action currently holding the roving tab stop. */
142
- protected readonly focusedKey: _angular_core.WritableSignal<string | null>;
143
- constructor();
144
- /** @ignore Enabled actions, keyed for the roving tabindex + trigonometry. */
145
- protected readonly nodes: _angular_core.Signal<UiSpeedDialNode[]>;
146
- /** @ignore Keys of the enabled entries, in order (roving focus path). */
147
- private readonly focusableKeys;
148
- /** @ignore Node owning the tab stop: last focused, else the first enabled one. */
149
- protected readonly tabStopKey: _angular_core.Signal<string | null>;
150
- /**
151
- * @ignore Explicit ring radius, in px — set as the `--_radius` override.
152
- * Left unset (`null`, no inline style), the SCSS default takes over.
153
- */
154
- protected readonly radiusOverride: _angular_core.Signal<string | null>;
155
- /**
156
- * @ignore Per-item position on an arc (`circle`/`semi-circle`/
157
- * `quarter-circle`): self-centred on the trigger, `--_radius` out at its
158
- * angular slot (see `radiusOverride` for the explicit/default split).
159
- *
160
- * `circle` steps evenly around the FULL span (`span / total`, wrapping);
161
- * the other two divide by `total - 1` so the first and last actions land
162
- * exactly on the arc's own ends, not short of them.
163
- */
164
- protected readonly arcTransform: _angular_core.Signal<(() => null) | ((index: number) => string)>;
165
- /**
166
- * @ignore Enter/leave preset.
167
- *
168
- * Arc items (`circle`/`semi-circle`/`quarter-circle`) already carry their
169
- * own `[style.transform]` (angular position, `arcTransform`) —
170
- * `zoom`/`slide-*` animate `transform` too, and a CSS animation on a
171
- * property wins over an inline style for it, wiping the position out for
172
- * the animation's duration. `fade` (opacity only) is the one preset that
173
- * cannot collide with it.
174
- *
175
- * `linear` items carry no such transform, so they get the more expressive
176
- * `slide-${direction}` — "enter moving toward `direction`".
177
- */
178
- protected readonly itemMotionPreset: _angular_core.Signal<UiMotionPreset>;
179
- /** @ignore Trigger icon while open: `hideIcon`, or `showIcon` rotated in place. */
180
- protected readonly triggerIcon: _angular_core.Signal<string>;
181
- /** @ignore The trigger icon rotates only when there is no dedicated `hideIcon`. */
182
- protected readonly triggerIconRotates: _angular_core.Signal<boolean>;
183
- /** @ignore Tooltip side: opposite the fan-out direction, so it never overlaps an action. */
184
- protected readonly tooltipPosition: _angular_core.Signal<TooltipPosition>;
185
- /**
186
- * @ignore Attributes forwarded onto the trigger's real `<button>`/`<a>`
187
- * (`ui-button`'s `#host`, not the `<ui-speed-dial>` wrapper): `role`,
188
- * `ariaLabel` and `tabindex` already have dedicated `ui-button` inputs, the
189
- * rest goes through `buttonProps` (see `ui-button`'s own forwarding).
190
- */
191
- protected readonly triggerProps: _angular_core.Signal<ButtonNativeProps>;
192
- /** @ignore Static: every action is a `menuitem`, whatever it renders as (button/link). */
193
- protected readonly itemProps: ButtonNativeProps;
194
- /** @ignore */
195
- protected readonly hostClasses: _angular_core.Signal<string>;
196
- /** Opens the dial. */
197
- show(): void;
198
- /** Closes the dial. */
199
- hide(focusTrigger?: boolean): void;
200
- /** Toggles the dial open/closed. */
201
- toggle(): void;
202
- /** Moves focus onto the trigger. */
203
- focus(options?: FocusOptions): void;
204
- /** @ignore */
205
- protected onTriggerClick(event: MouseEvent): void;
206
- /** @ignore Arrow key on the (closed) trigger opens the dial onto its first action. */
207
- protected onTriggerKeydown(event: KeyboardEvent): void;
208
- /** @ignore Activation: command + itemClick, then close (never on a disabled entry). */
209
- protected onItemClick(event: Event, node: UiSpeedDialNode): void;
210
- /**
211
- * @ignore Roving keyboard navigation among the open actions.
212
- *
213
- * Both arrow pairs move the same way regardless of `direction`/`type`: it
214
- * keeps the mapping simple and predictable rather than re-deriving which
215
- * pair means "forward" for eight possible linear/circular layouts.
216
- */
217
- protected onListKeydown(event: KeyboardEvent): void;
218
- /** @ignore */
219
- protected onEntryFocus(key: string): void;
220
- /** @ignore Outside pointerdown closes the dial (mousedown mirrors ui-menu's own outside-click). */
221
- protected onDocumentPointerdown(event: PointerEvent): void;
222
- /** @ignore Clicking the mask itself closes the dial. */
223
- protected onMaskClick(): void;
224
- /** @ignore */
225
- private focusByKey;
226
- /** @ignore Focus the roving tab stop once the actions are rendered (macrotask: rAF
227
- * never fires in throttled/background tabs). */
228
- private queueFocusTabStop;
229
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiSpeedDial, never>;
230
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiSpeedDial, "ui-speed-dial", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "itemLevel": { "alias": "itemLevel"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "hideIcon": { "alias": "hideIcon"; "required": false; "isSignal": true; }; "rotateAnimation": { "alias": "rotateAnimation"; "required": false; "isSignal": true; }; "mask": { "alias": "mask"; "required": false; "isSignal": true; }; "hideOnClickOutside": { "alias": "hideOnClickOutside"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "showTooltips": { "alias": "showTooltips"; "required": false; "isSignal": true; }; "motion": { "alias": "motion"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, { "visible": "visibleChange"; "triggerClick": "triggerClick"; "opened": "opened"; "closed": "closed"; "itemClick": "itemClick"; }, never, never, true, never>;
72
+ export declare class UiSpeedDial {
73
+ /** Actions revealed by the dial (see {@link UiSpeedDialItem}). */
74
+ items: import("@angular/core").InputSignal<UiSpeedDialItem[]>;
75
+ /** Open state (two-way). */
76
+ visible: import("@angular/core").ModelSignal<boolean>;
77
+ /** Layout: `linear` (stacked), `circle` (ring), `semi-circle` or `quarter-circle` (arc). */
78
+ type: import("@angular/core").InputSignal<SpeedDialType>;
79
+ /**
80
+ * Axis the actions fan along. `linear`/`semi-circle` read the four
81
+ * cardinal values; `quarter-circle` reads the four corners. Unused by
82
+ * `circle`, which always goes full ring.
83
+ */
84
+ direction: import("@angular/core").InputSignal<SpeedDialDirection>;
85
+ /** Ring/arc radius in px — every type but `linear`. Falls back to a size-derived default. */
86
+ radius: import("@angular/core").InputSignal<number | undefined>;
87
+ /** Semantic level of the trigger. */
88
+ level: import("@angular/core").InputSignal<UiLevel>;
89
+ /**
90
+ * Semantic level of the actions. Defaults to `low`, deliberately different
91
+ * from the trigger's own `level`: a `high`-styled action would read as a
92
+ * second primary button rather than a revealed option.
93
+ */
94
+ itemLevel: import("@angular/core").InputSignal<UiLevel>;
95
+ /** Apparence of the trigger and the actions. */
96
+ variant: import("@angular/core").InputSignal<ButtonVariant>;
97
+ /** Size of the trigger and the actions. */
98
+ size: import("@angular/core").InputSignal<ButtonSize>;
99
+ /** Icon of the trigger while closed. */
100
+ showIcon: import("@angular/core").InputSignal<string>;
101
+ /**
102
+ * Icon of the trigger while open. Left unset, `showIcon` rotates 45° in
103
+ * place instead of being swapped for a second icon.
104
+ */
105
+ hideIcon: import("@angular/core").InputSignal<string | undefined>;
106
+ /** Animates the trigger icon's rotation (`hideIcon` unset only). */
107
+ rotateAnimation: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
108
+ /** Dims the page behind the dial while open. */
109
+ mask: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
110
+ /** Closes the dial on an outside click. */
111
+ hideOnClickOutside: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
112
+ /** Disables the trigger and every action. */
113
+ disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
114
+ /** Shows each action's label as a tooltip (icon-only actions). */
115
+ showTooltips: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
116
+ /** Animates the trigger and the actions (reduced-motion always wins). */
117
+ motion: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
118
+ /** Accessible name of the trigger. */
119
+ ariaLabel: import("@angular/core").InputSignal<string | undefined>;
120
+ /** id of an external element naming the trigger. */
121
+ ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
122
+ /** Native tabindex of the trigger. */
123
+ tabindex: import("@angular/core").InputSignalWithTransform<number, unknown>;
124
+ /** Fired when the trigger is clicked (never when disabled). */
125
+ triggerClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
126
+ /** Fired when the dial opens. */
127
+ opened: import("@angular/core").OutputEmitterRef<void>;
128
+ /** Fired when the dial closes. */
129
+ closed: import("@angular/core").OutputEmitterRef<void>;
130
+ /** Fired when an action is activated (click / keyboard), never when disabled. */
131
+ itemClick: import("@angular/core").OutputEmitterRef<UiSpeedDialItemClickEvent>;
132
+ /** @ignore */
133
+ private readonly document;
134
+ /** @ignore Host element — outside-click detection. */
135
+ private readonly hostEl;
136
+ /** @ignore Trigger button (programmatic focus). */
137
+ private readonly triggerEl;
138
+ /** @ignore Rendered action buttons, in DOM order — the roving tabindex ring.
139
+ * Matched by their own `#actionBtn` ref so the trigger (`#trigger`) is excluded. */
140
+ private readonly actionEls;
141
+ /** Unique id of the actions list (wired to the trigger's `aria-controls`). */
142
+ readonly uid: string;
143
+ /** @ignore Key of the action currently holding the roving tab stop. */
144
+ protected readonly focusedKey: import("@angular/core").WritableSignal<string | null>;
145
+ constructor();
146
+ /** @ignore Enabled actions, keyed for the roving tabindex + trigonometry. */
147
+ protected readonly nodes: import("@angular/core").Signal<UiSpeedDialNode[]>;
148
+ /** @ignore Keys of the enabled entries, in order (roving focus path). */
149
+ private readonly focusableKeys;
150
+ /** @ignore Node owning the tab stop: last focused, else the first enabled one. */
151
+ protected readonly tabStopKey: import("@angular/core").Signal<string | null>;
152
+ /**
153
+ * @ignore Explicit ring radius, in px — set as the `--_radius` override.
154
+ * Left unset (`null`, no inline style), the SCSS default takes over.
155
+ */
156
+ protected readonly radiusOverride: import("@angular/core").Signal<string | null>;
157
+ /**
158
+ * @ignore Per-item position on an arc (`circle`/`semi-circle`/
159
+ * `quarter-circle`): self-centred on the trigger, `--_radius` out at its
160
+ * angular slot (see `radiusOverride` for the explicit/default split).
161
+ *
162
+ * `circle` steps evenly around the FULL span (`span / total`, wrapping);
163
+ * the other two divide by `total - 1` so the first and last actions land
164
+ * exactly on the arc's own ends, not short of them.
165
+ */
166
+ protected readonly arcTransform: import("@angular/core").Signal<(() => null) | ((index: number) => string)>;
167
+ /**
168
+ * @ignore Enter/leave preset.
169
+ *
170
+ * Arc items (`circle`/`semi-circle`/`quarter-circle`) already carry their
171
+ * own `[style.transform]` (angular position, `arcTransform`) —
172
+ * `zoom`/`slide-*` animate `transform` too, and a CSS animation on a
173
+ * property wins over an inline style for it, wiping the position out for
174
+ * the animation's duration. `fade` (opacity only) is the one preset that
175
+ * cannot collide with it.
176
+ *
177
+ * `linear` items carry no such transform, so they get the more expressive
178
+ * `slide-${direction}` — "enter moving toward `direction`".
179
+ */
180
+ protected readonly itemMotionPreset: import("@angular/core").Signal<UiMotionPreset>;
181
+ /** @ignore Trigger icon while open: `hideIcon`, or `showIcon` rotated in place. */
182
+ protected readonly triggerIcon: import("@angular/core").Signal<string>;
183
+ /** @ignore The trigger icon rotates only when there is no dedicated `hideIcon`. */
184
+ protected readonly triggerIconRotates: import("@angular/core").Signal<boolean>;
185
+ /** @ignore Tooltip side: opposite the fan-out direction, so it never overlaps an action. */
186
+ protected readonly tooltipPosition: import("@angular/core").Signal<TooltipPosition>;
187
+ /**
188
+ * @ignore Attributes forwarded onto the trigger's real `<button>`/`<a>`
189
+ * (`ui-button`'s `#host`, not the `<ui-speed-dial>` wrapper): `role`,
190
+ * `ariaLabel` and `tabindex` already have dedicated `ui-button` inputs, the
191
+ * rest goes through `buttonProps` (see `ui-button`'s own forwarding).
192
+ */
193
+ protected readonly triggerProps: import("@angular/core").Signal<ButtonNativeProps>;
194
+ /** @ignore Static: every action is a `menuitem`, whatever it renders as (button/link). */
195
+ protected readonly itemProps: ButtonNativeProps;
196
+ /** @ignore */
197
+ protected readonly hostClasses: import("@angular/core").Signal<string>;
198
+ /** Opens the dial. */
199
+ show(): void;
200
+ /** Closes the dial. */
201
+ hide(focusTrigger?: boolean): void;
202
+ /** Toggles the dial open/closed. */
203
+ toggle(): void;
204
+ /** Moves focus onto the trigger. */
205
+ focus(options?: FocusOptions): void;
206
+ /** @ignore */
207
+ protected onTriggerClick(event: MouseEvent): void;
208
+ /** @ignore Arrow key on the (closed) trigger opens the dial onto its first action. */
209
+ protected onTriggerKeydown(event: KeyboardEvent): void;
210
+ /** @ignore Activation: command + itemClick, then close (never on a disabled entry). */
211
+ protected onItemClick(event: Event, node: UiSpeedDialNode): void;
212
+ /**
213
+ * @ignore Roving keyboard navigation among the open actions.
214
+ *
215
+ * Both arrow pairs move the same way regardless of `direction`/`type`: it
216
+ * keeps the mapping simple and predictable rather than re-deriving which
217
+ * pair means "forward" for eight possible linear/circular layouts.
218
+ */
219
+ protected onListKeydown(event: KeyboardEvent): void;
220
+ /** @ignore */
221
+ protected onEntryFocus(key: string): void;
222
+ /** @ignore Outside pointerdown closes the dial (mousedown mirrors ui-menu's own outside-click). */
223
+ protected onDocumentPointerdown(event: PointerEvent): void;
224
+ /** @ignore Clicking the mask itself closes the dial. */
225
+ protected onMaskClick(): void;
226
+ /** @ignore */
227
+ private focusByKey;
228
+ /** @ignore Focus the roving tab stop once the actions are rendered (macrotask: rAF
229
+ * never fires in throttled/background tabs). */
230
+ private queueFocusTabStop;
231
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiSpeedDial, never>;
232
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiSpeedDial, "ui-speed-dial", never, {
233
+ "items": {
234
+ "alias": "items";
235
+ "required": true;
236
+ "isSignal": true;
237
+ };
238
+ "visible": {
239
+ "alias": "visible";
240
+ "required": false;
241
+ "isSignal": true;
242
+ };
243
+ "type": {
244
+ "alias": "type";
245
+ "required": false;
246
+ "isSignal": true;
247
+ };
248
+ "direction": {
249
+ "alias": "direction";
250
+ "required": false;
251
+ "isSignal": true;
252
+ };
253
+ "radius": {
254
+ "alias": "radius";
255
+ "required": false;
256
+ "isSignal": true;
257
+ };
258
+ "level": {
259
+ "alias": "level";
260
+ "required": false;
261
+ "isSignal": true;
262
+ };
263
+ "itemLevel": {
264
+ "alias": "itemLevel";
265
+ "required": false;
266
+ "isSignal": true;
267
+ };
268
+ "variant": {
269
+ "alias": "variant";
270
+ "required": false;
271
+ "isSignal": true;
272
+ };
273
+ "size": {
274
+ "alias": "size";
275
+ "required": false;
276
+ "isSignal": true;
277
+ };
278
+ "showIcon": {
279
+ "alias": "showIcon";
280
+ "required": false;
281
+ "isSignal": true;
282
+ };
283
+ "hideIcon": {
284
+ "alias": "hideIcon";
285
+ "required": false;
286
+ "isSignal": true;
287
+ };
288
+ "rotateAnimation": {
289
+ "alias": "rotateAnimation";
290
+ "required": false;
291
+ "isSignal": true;
292
+ };
293
+ "mask": {
294
+ "alias": "mask";
295
+ "required": false;
296
+ "isSignal": true;
297
+ };
298
+ "hideOnClickOutside": {
299
+ "alias": "hideOnClickOutside";
300
+ "required": false;
301
+ "isSignal": true;
302
+ };
303
+ "disabled": {
304
+ "alias": "disabled";
305
+ "required": false;
306
+ "isSignal": true;
307
+ };
308
+ "showTooltips": {
309
+ "alias": "showTooltips";
310
+ "required": false;
311
+ "isSignal": true;
312
+ };
313
+ "motion": {
314
+ "alias": "motion";
315
+ "required": false;
316
+ "isSignal": true;
317
+ };
318
+ "ariaLabel": {
319
+ "alias": "ariaLabel";
320
+ "required": false;
321
+ "isSignal": true;
322
+ };
323
+ "ariaLabelledBy": {
324
+ "alias": "ariaLabelledBy";
325
+ "required": false;
326
+ "isSignal": true;
327
+ };
328
+ "tabindex": {
329
+ "alias": "tabindex";
330
+ "required": false;
331
+ "isSignal": true;
332
+ };
333
+ }, {
334
+ "visible": "visibleChange";
335
+ "triggerClick": "triggerClick";
336
+ "opened": "opened";
337
+ "closed": "closed";
338
+ "itemClick": "itemClick";
339
+ }, never, never, true, never>;
231
340
  }
232
-
233
- export { UiSpeedDial };
234
- export type { SpeedDialDirection, SpeedDialType, UiSpeedDialItem, UiSpeedDialItemClickEvent };
341
+ export {};