@4sh/ui-kit 0.15.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 (220) hide show
  1. package/README.fr.md +18 -10
  2. package/README.md +18 -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 -953
  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 -2039
  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 -130
  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 -246
  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 -291
  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 -194
  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 -131
  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 +723 -596
  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 +313 -2
  143. package/mcp/data/text-search-docs.json +177 -17
  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/styles/utils/_mixins.scss +11 -0
  150. package/types/4sh-ui-kit-actions-ui-button-split.d.ts +198 -87
  151. package/types/4sh-ui-kit-actions-ui-button.d.ts +240 -116
  152. package/types/4sh-ui-kit-actions-ui-link.d.ts +136 -67
  153. package/types/4sh-ui-kit-actions-ui-speed-dial.d.ts +287 -180
  154. package/types/4sh-ui-kit-base-ui-icon.d.ts +92 -58
  155. package/types/4sh-ui-kit-base-ui-image.d.ts +406 -205
  156. package/types/4sh-ui-kit-forms-ui-autocomplete.d.ts +577 -367
  157. package/types/4sh-ui-kit-forms-ui-checkbox.d.ts +77 -42
  158. package/types/4sh-ui-kit-forms-ui-datepicker.d.ts +953 -700
  159. package/types/4sh-ui-kit-forms-ui-editor.d.ts +374 -340
  160. package/types/4sh-ui-kit-forms-ui-field-sign.d.ts +325 -0
  161. package/types/4sh-ui-kit-forms-ui-field.d.ts +150 -64
  162. package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +583 -241
  163. package/types/4sh-ui-kit-forms-ui-input-date.d.ts +152 -103
  164. package/types/4sh-ui-kit-forms-ui-input-group.d.ts +109 -63
  165. package/types/4sh-ui-kit-forms-ui-input-mask.d.ts +93 -57
  166. package/types/4sh-ui-kit-forms-ui-input-number.d.ts +171 -93
  167. package/types/4sh-ui-kit-forms-ui-input-otp.d.ts +137 -100
  168. package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +469 -309
  169. package/types/4sh-ui-kit-forms-ui-input.d.ts +198 -116
  170. package/types/4sh-ui-kit-forms-ui-knob.d.ts +132 -80
  171. package/types/4sh-ui-kit-forms-ui-label.d.ts +47 -22
  172. package/types/4sh-ui-kit-forms-ui-nudger.d.ts +134 -67
  173. package/types/4sh-ui-kit-forms-ui-radio.d.ts +48 -33
  174. package/types/4sh-ui-kit-forms-ui-rating.d.ts +120 -86
  175. package/types/4sh-ui-kit-forms-ui-segment-control.d.ts +221 -147
  176. package/types/4sh-ui-kit-forms-ui-select.d.ts +561 -357
  177. package/types/4sh-ui-kit-forms-ui-slider.d.ts +156 -105
  178. package/types/4sh-ui-kit-forms-ui-swatch-picker.d.ts +133 -97
  179. package/types/4sh-ui-kit-forms-ui-textarea.d.ts +90 -54
  180. package/types/4sh-ui-kit-forms-ui-toggle-block.d.ts +158 -94
  181. package/types/4sh-ui-kit-forms-ui-toggle-button.d.ts +314 -178
  182. package/types/4sh-ui-kit-forms-ui-toggle.d.ts +88 -54
  183. package/types/4sh-ui-kit-forms.d.ts +291 -186
  184. package/types/4sh-ui-kit-informative-ui-accordion.d.ts +162 -92
  185. package/types/4sh-ui-kit-informative-ui-alert.d.ts +128 -62
  186. package/types/4sh-ui-kit-informative-ui-avatar-group.d.ts +8 -8
  187. package/types/4sh-ui-kit-informative-ui-avatar.d.ts +81 -44
  188. package/types/4sh-ui-kit-informative-ui-badge.d.ts +71 -41
  189. package/types/4sh-ui-kit-informative-ui-chip.d.ts +194 -99
  190. package/types/4sh-ui-kit-informative-ui-empty-state.d.ts +105 -65
  191. package/types/4sh-ui-kit-informative-ui-helper.d.ts +64 -34
  192. package/types/4sh-ui-kit-informative-ui-progress-bar.d.ts +120 -65
  193. package/types/4sh-ui-kit-informative-ui-read-only.d.ts +147 -67
  194. package/types/4sh-ui-kit-informative-ui-separator.d.ts +65 -35
  195. package/types/4sh-ui-kit-informative-ui-skeleton.d.ts +62 -32
  196. package/types/4sh-ui-kit-informative-ui-spinner.d.ts +111 -50
  197. package/types/4sh-ui-kit-informative-ui-tag.d.ts +77 -37
  198. package/types/4sh-ui-kit-informative-ui-toast.d.ts +300 -180
  199. package/types/4sh-ui-kit-informative-ui-tooltip.d.ts +269 -141
  200. package/types/4sh-ui-kit-layout-ui-bottom-sheet.d.ts +360 -221
  201. package/types/4sh-ui-kit-layout-ui-card.d.ts +119 -79
  202. package/types/4sh-ui-kit-layout-ui-drawer.d.ts +244 -120
  203. package/types/4sh-ui-kit-layout-ui-modal.d.ts +409 -222
  204. package/types/4sh-ui-kit-layout-ui-popover.d.ts +149 -91
  205. package/types/4sh-ui-kit-motion.d.ts +117 -67
  206. package/types/4sh-ui-kit-navigation-ui-bottom-tab-bar.d.ts +279 -145
  207. package/types/4sh-ui-kit-navigation-ui-breadcrumb.d.ts +134 -96
  208. package/types/4sh-ui-kit-navigation-ui-context-menu.d.ts +148 -89
  209. package/types/4sh-ui-kit-navigation-ui-menu.d.ts +282 -201
  210. package/types/4sh-ui-kit-navigation-ui-sidebar.d.ts +425 -261
  211. package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +279 -183
  212. package/types/4sh-ui-kit-navigation-ui-tabs.d.ts +275 -173
  213. package/types/4sh-ui-kit-overlay.d.ts +6 -6
  214. package/types/4sh-ui-kit-ripple.d.ts +99 -74
  215. package/types/4sh-ui-kit-table-ui-paginator.d.ts +237 -133
  216. package/types/4sh-ui-kit-table-ui-table.d.ts +769 -470
  217. package/types/4sh-ui-kit-theming.d.ts +27 -29
  218. package/types/4sh-ui-kit-types.d.ts +6 -5
  219. package/types/4sh-ui-kit.d.ts +4 -3
  220. package/fesm2022/4sh-ui-kit-types.mjs.map +0 -1
@@ -1,76 +1,78 @@
1
- import * as _angular_core from '@angular/core';
2
- import { TemplateRef } from '@angular/core';
3
- import { UiFeedbackLevel, UiSubLevel } from '@4sh/ui-kit/types';
4
- import { UiMotionPreset } from '@4sh/ui-kit/motion';
5
-
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import { UiFeedbackLevel, UiSubLevel } from "@4sh/ui-kit/types";
5
+ import * as i0 from "@angular/core";
6
+ import { TemplateRef } from "@angular/core";
7
+ import { UiMotionPreset } from "@4sh/ui-kit/motion";
6
8
  /** Menu density. */
7
- type SidebarMenuSize = 'default' | 'small';
9
+ export type SidebarMenuSize = 'default' | 'small';
8
10
  /** Payload emitted by `itemClick` / passed to `command`. */
9
- interface UiSidebarMenuItemCommandEvent {
10
- originalEvent: Event;
11
- item: UiSidebarMenuItem;
11
+ export interface UiSidebarMenuItemCommandEvent {
12
+ originalEvent: Event;
13
+ item: UiSidebarMenuItem;
12
14
  }
13
15
  /**
14
16
  * Declarative sidebar navigation entry. An item is either a separator, a leaf
15
17
  * (command / router / external link), a plain **section** (a labelled group of
16
18
  * items) or a collapsible **group** (`toggleable`) revealing a nested sub-tree.
17
19
  */
18
- interface UiSidebarMenuItem {
19
- /** Stable identifier — drives expansion state and active tracking. */
20
- id?: string;
21
- /** Text of the item / group header. */
22
- label?: string;
23
- /** Leading FontAwesome icon name (also shown in the collapsed rail). */
24
- icon?: string;
25
- /** Child items: turns the entry into a section or collapsible group. */
26
- items?: UiSidebarMenuItem[];
27
- /** Render a separator rule instead of a regular entry. */
28
- separator?: boolean;
29
- /** Disable the entry (skipped by pointer / keyboard). */
30
- disabled?: boolean;
31
- /** Hide the entry entirely (default visible). */
32
- visible?: boolean;
33
- /** Callback invoked when the leaf is activated. */
34
- command?: (event: UiSidebarMenuItemCommandEvent) => void;
35
- /** Angular router target — the leaf renders a RouterLink anchor. */
36
- routerLink?: string | unknown[];
37
- /** Router query params (routerLink mode). */
38
- queryParams?: Record<string, unknown>;
39
- /** Exact matching for the active-link style (default false). */
40
- routerLinkActiveExact?: boolean;
41
- /** External URL — the leaf renders a plain anchor. */
42
- url?: string;
43
- /** Anchor target (e.g. `_blank`). */
44
- target?: string;
45
- /** Manual active state (for non-router navigation). */
46
- active?: boolean;
47
- /** Trailing badge text (count, status…), rendered as a `ui-badge`. */
48
- badge?: string;
49
- /** Level of the trailing badge (defaults to `default`). */
50
- badgeLevel?: UiFeedbackLevel;
51
- /** Force the trailing "opens elsewhere" icon (auto for `target="_blank"`). */
52
- external?: boolean;
53
- /**
54
- * Collapsible group header. Defaults to `false` at the top level (a plain
55
- * section header) and `true` for nested groups. Ignored on non-group items.
56
- */
57
- toggleable?: boolean;
58
- /** Initial expanded state of a collapsible group (`expandedKeys` wins). */
59
- expanded?: boolean;
60
- /** Accessible name override. */
61
- ariaLabel?: string;
62
- /** Extra class on the entry. */
63
- styleClass?: string;
20
+ export interface UiSidebarMenuItem {
21
+ /** Stable identifier — drives expansion state and active tracking. */
22
+ id?: string;
23
+ /** Text of the item / group header. */
24
+ label?: string;
25
+ /** Leading FontAwesome icon name (also shown in the collapsed rail). */
26
+ icon?: string;
27
+ /** Child items: turns the entry into a section or collapsible group. */
28
+ items?: UiSidebarMenuItem[];
29
+ /** Render a separator rule instead of a regular entry. */
30
+ separator?: boolean;
31
+ /** Disable the entry (skipped by pointer / keyboard). */
32
+ disabled?: boolean;
33
+ /** Hide the entry entirely (default visible). */
34
+ visible?: boolean;
35
+ /** Callback invoked when the leaf is activated. */
36
+ command?: (event: UiSidebarMenuItemCommandEvent) => void;
37
+ /** Angular router target — the leaf renders a RouterLink anchor. */
38
+ routerLink?: string | unknown[];
39
+ /** Router query params (routerLink mode). */
40
+ queryParams?: Record<string, unknown>;
41
+ /** Exact matching for the active-link style (default false). */
42
+ routerLinkActiveExact?: boolean;
43
+ /** External URL — the leaf renders a plain anchor. */
44
+ url?: string;
45
+ /** Anchor target (e.g. `_blank`). */
46
+ target?: string;
47
+ /** Manual active state (for non-router navigation). */
48
+ active?: boolean;
49
+ /** Trailing badge text (count, status…), rendered as a `ui-badge`. */
50
+ badge?: string;
51
+ /** Level of the trailing badge (defaults to `default`). */
52
+ badgeLevel?: UiFeedbackLevel;
53
+ /** Force the trailing "opens elsewhere" icon (auto for `target="_blank"`). */
54
+ external?: boolean;
55
+ /**
56
+ * Collapsible group header. Defaults to `false` at the top level (a plain
57
+ * section header) and `true` for nested groups. Ignored on non-group items.
58
+ */
59
+ toggleable?: boolean;
60
+ /** Initial expanded state of a collapsible group (`expandedKeys` wins). */
61
+ expanded?: boolean;
62
+ /** Accessible name override. */
63
+ ariaLabel?: string;
64
+ /** Extra class on the entry. */
65
+ styleClass?: string;
64
66
  }
65
67
  /** @ignore Resolved render node. */
66
68
  interface UiSidebarMenuNode {
67
- item: UiSidebarMenuItem;
68
- key: string;
69
- kind: 'separator' | 'section' | 'group' | 'item';
70
- children: UiSidebarMenuNode[];
71
- depth: number;
72
- /** A descendant is marked active (drives auto-expand + `_active-within`). */
73
- activeWithin: boolean;
69
+ item: UiSidebarMenuItem;
70
+ key: string;
71
+ kind: 'separator' | 'section' | 'group' | 'item';
72
+ children: UiSidebarMenuNode[];
73
+ depth: number;
74
+ /** A descendant is marked active (drives auto-expand + `_active-within`). */
75
+ activeWithin: boolean;
74
76
  }
75
77
  /**
76
78
  * ui-sidebar-menu — declarative navigation menu for `ui-sidebar`.
@@ -90,62 +92,115 @@ interface UiSidebarMenuNode {
90
92
  * Keyboard support is native: `Tab` / `Shift+Tab` move between the links,
91
93
  * toggles and rails; `Enter` / `Space` activate the focused control.
92
94
  */
93
- declare class UiSidebarMenu {
94
- /** Declarative menu model. */
95
- items: _angular_core.InputSignal<UiSidebarMenuItem[]>;
96
- /** Navigation token family. */
97
- level: _angular_core.InputSignal<UiSubLevel>;
98
- /** Menu density. */
99
- size: _angular_core.InputSignal<SidebarMenuSize>;
100
- /** Icon-rail state when used standalone (a parent `ui-sidebar` overrides it). */
101
- collapsed: _angular_core.InputSignalWithTransform<boolean, unknown>;
102
- /** Accessible name for the navigation landmark. */
103
- ariaLabel: _angular_core.InputSignal<string | undefined>;
104
- /** Id of an external element naming the landmark. */
105
- ariaLabelledBy: _angular_core.InputSignal<string | undefined>;
106
- /** Play the collapse animation on nested groups. */
107
- motion: _angular_core.InputSignalWithTransform<boolean, unknown>;
108
- /** Ripple Effect */
109
- ripple: _angular_core.InputSignalWithTransform<boolean, unknown>;
110
- /**
111
- * In the collapsed icon rail, reveal each item's label as a tooltip on hover /
112
- * focus (via the `[uiTooltip]` directive). No effect when expanded.
113
- */
114
- tooltips: _angular_core.InputSignalWithTransform<boolean, unknown>;
115
- /** Expanded group keys (two-way). Keyed by `id`, or a positional key. */
116
- expandedKeys: _angular_core.ModelSignal<string[] | undefined>;
117
- /** Emitted when a leaf item is activated. */
118
- itemClick: _angular_core.OutputEmitterRef<UiSidebarMenuItemCommandEvent>;
119
- /** @ignore Optional host sidebar — supplies the resolved collapsed state. */
120
- private readonly parent;
121
- /** @ignore Effective icon-rail state (parent sidebar wins). */
122
- protected readonly isCollapsed: _angular_core.Signal<boolean>;
123
- /** @ignore Show label tooltips (collapsed rail + `tooltips` enabled). */
124
- protected readonly showTooltips: _angular_core.Signal<boolean>;
125
- /** @ignore Leaf opens elsewhere → trailing external icon (expanded only). */
126
- protected isExternal(node: UiSidebarMenuNode): boolean;
127
- /** @ignore Resolved render tree. */
128
- protected readonly nodes: _angular_core.Signal<UiSidebarMenuNode[]>;
129
- /** @ignore Keys of groups seeded expanded (item.expanded or active descendant). */
130
- private readonly seedKeys;
131
- /** @ignore Currently expanded group keys. */
132
- protected readonly expandedSet: _angular_core.Signal<Set<string>>;
133
- /** @ignore */
134
- protected isExpanded(node: UiSidebarMenuNode): boolean;
135
- /** @ignore Toggle a collapsible group. */
136
- protected onToggle(node: UiSidebarMenuNode): void;
137
- /** @ignore Leaf activation (command items). */
138
- protected onItemClick(event: Event, node: UiSidebarMenuNode): void;
139
- /** @ignore Accessible name / tooltip target for the collapsed rail. */
140
- protected railTitle(node: UiSidebarMenuNode): string | null;
141
- /** @ignore Resolve the raw model into render nodes. */
142
- private resolve;
143
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiSidebarMenu, never>;
144
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiSidebarMenu, "ui-sidebar-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "motion": { "alias": "motion"; "required": false; "isSignal": true; }; "ripple": { "alias": "ripple"; "required": false; "isSignal": true; }; "tooltips": { "alias": "tooltips"; "required": false; "isSignal": true; }; "expandedKeys": { "alias": "expandedKeys"; "required": false; "isSignal": true; }; }, { "expandedKeys": "expandedKeysChange"; "itemClick": "itemClick"; }, never, never, true, never>;
95
+ export declare class UiSidebarMenu {
96
+ /** Declarative menu model. */
97
+ items: import("@angular/core").InputSignal<UiSidebarMenuItem[]>;
98
+ /** Navigation token family. */
99
+ level: import("@angular/core").InputSignal<UiSubLevel>;
100
+ /** Menu density. */
101
+ size: import("@angular/core").InputSignal<SidebarMenuSize>;
102
+ /** Icon-rail state when used standalone (a parent `ui-sidebar` overrides it). */
103
+ collapsed: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
104
+ /** Accessible name for the navigation landmark. */
105
+ ariaLabel: import("@angular/core").InputSignal<string | undefined>;
106
+ /** Id of an external element naming the landmark. */
107
+ ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
108
+ /** Play the collapse animation on nested groups. */
109
+ motion: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
110
+ /** Ripple Effect */
111
+ ripple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
112
+ /**
113
+ * In the collapsed icon rail, reveal each item's label as a tooltip on hover /
114
+ * focus (via the `[uiTooltip]` directive). No effect when expanded.
115
+ */
116
+ tooltips: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
117
+ /** Expanded group keys (two-way). Keyed by `id`, or a positional key. */
118
+ expandedKeys: import("@angular/core").ModelSignal<string[] | undefined>;
119
+ /** Emitted when a leaf item is activated. */
120
+ itemClick: import("@angular/core").OutputEmitterRef<UiSidebarMenuItemCommandEvent>;
121
+ /** @ignore Optional host sidebar — supplies the resolved collapsed state. */
122
+ private readonly parent;
123
+ /** @ignore Effective icon-rail state (parent sidebar wins). */
124
+ protected readonly isCollapsed: import("@angular/core").Signal<boolean>;
125
+ /** @ignore Show label tooltips (collapsed rail + `tooltips` enabled). */
126
+ protected readonly showTooltips: import("@angular/core").Signal<boolean>;
127
+ /** @ignore Leaf opens elsewhere → trailing external icon (expanded only). */
128
+ protected isExternal(node: UiSidebarMenuNode): boolean;
129
+ /** @ignore Resolved render tree. */
130
+ protected readonly nodes: import("@angular/core").Signal<UiSidebarMenuNode[]>;
131
+ /** @ignore Keys of groups seeded expanded (item.expanded or active descendant). */
132
+ private readonly seedKeys;
133
+ /** @ignore Currently expanded group keys. */
134
+ protected readonly expandedSet: import("@angular/core").Signal<Set<string>>;
135
+ /** @ignore */
136
+ protected isExpanded(node: UiSidebarMenuNode): boolean;
137
+ /** @ignore Toggle a collapsible group. */
138
+ protected onToggle(node: UiSidebarMenuNode): void;
139
+ /** @ignore Leaf activation (command items). */
140
+ protected onItemClick(event: Event, node: UiSidebarMenuNode): void;
141
+ /** @ignore Accessible name / tooltip target for the collapsed rail. */
142
+ protected railTitle(node: UiSidebarMenuNode): string | null;
143
+ /** @ignore Resolve the raw model into render nodes. */
144
+ private resolve;
145
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarMenu, never>;
146
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiSidebarMenu, "ui-sidebar-menu", never, {
147
+ "items": {
148
+ "alias": "items";
149
+ "required": false;
150
+ "isSignal": true;
151
+ };
152
+ "level": {
153
+ "alias": "level";
154
+ "required": false;
155
+ "isSignal": true;
156
+ };
157
+ "size": {
158
+ "alias": "size";
159
+ "required": false;
160
+ "isSignal": true;
161
+ };
162
+ "collapsed": {
163
+ "alias": "collapsed";
164
+ "required": false;
165
+ "isSignal": true;
166
+ };
167
+ "ariaLabel": {
168
+ "alias": "ariaLabel";
169
+ "required": false;
170
+ "isSignal": true;
171
+ };
172
+ "ariaLabelledBy": {
173
+ "alias": "ariaLabelledBy";
174
+ "required": false;
175
+ "isSignal": true;
176
+ };
177
+ "motion": {
178
+ "alias": "motion";
179
+ "required": false;
180
+ "isSignal": true;
181
+ };
182
+ "ripple": {
183
+ "alias": "ripple";
184
+ "required": false;
185
+ "isSignal": true;
186
+ };
187
+ "tooltips": {
188
+ "alias": "tooltips";
189
+ "required": false;
190
+ "isSignal": true;
191
+ };
192
+ "expandedKeys": {
193
+ "alias": "expandedKeys";
194
+ "required": false;
195
+ "isSignal": true;
196
+ };
197
+ }, {
198
+ "expandedKeys": "expandedKeysChange";
199
+ "itemClick": "itemClick";
200
+ }, never, never, true, never>;
145
201
  }
146
-
147
202
  /** Edge the sidebar is docked to. */
148
- type SidebarSide = 'left' | 'right';
203
+ export type SidebarSide = 'left' | 'right';
149
204
  /**
150
205
  * Layout strategy:
151
206
  * - `static` — the sidebar lives in the page flow and pushes the inset. It can
@@ -157,7 +212,7 @@ type SidebarSide = 'left' | 'right';
157
212
  * `overlay` below `breakpoint` (mobile offcanvas), and back to the static rail
158
213
  * above it.
159
214
  */
160
- type SidebarMode = 'static' | 'overlay';
215
+ export type SidebarMode = 'static' | 'overlay';
161
216
  /**
162
217
  * ui-sidebar — headless application sidebar (navigation chrome).
163
218
  *
@@ -192,136 +247,241 @@ type SidebarMode = 'static' | 'overlay';
192
247
  * </ui-sidebar>
193
248
  * ```
194
249
  */
195
- declare class UiSidebar {
196
- /** Edge the sidebar docks to. */
197
- side: _angular_core.InputSignal<SidebarSide>;
198
- /** Presentation strategy (see {@link SidebarMode}). */
199
- mode: _angular_core.InputSignal<SidebarMode>;
200
- /** Allow folding to the icon rail (static mode). */
201
- collapsible: _angular_core.InputSignalWithTransform<boolean, unknown>;
202
- /** Icon-rail state (two-way). Only meaningful in static mode. */
203
- collapsed: _angular_core.ModelSignal<boolean>;
204
- /** Offcanvas open state (two-way). Only meaningful in overlay mode. */
205
- visible: _angular_core.ModelSignal<boolean>;
206
- /** A collapsed rail floats open on hover / focus (static mode). */
207
- openOnHover: _angular_core.InputSignalWithTransform<boolean, unknown>;
208
- /** Show the backdrop (dim + capture) and block background scroll — overlay only. */
209
- backdrop: _angular_core.InputSignalWithTransform<boolean, unknown>;
210
- /** Close on backdrop click / `Escape` — overlay only. */
211
- dismissable: _angular_core.InputSignalWithTransform<boolean, unknown>;
212
- /** Close the overlay when `Escape` is pressed. */
213
- closeOnEscape: _angular_core.InputSignalWithTransform<boolean, unknown>;
214
- /** Render the built-in close button in the overlay presentation. */
215
- showCloseButton: _angular_core.InputSignalWithTransform<boolean, unknown>;
216
- /**
217
- * Auto-switch a static sidebar to an overlay below `breakpoint`. Aligns with
218
- * the design-system breakpoint scale (`$breakpoint-*`).
219
- */
220
- responsive: _angular_core.InputSignalWithTransform<boolean, unknown>;
221
- /**
222
- * Viewport width under which a responsive sidebar becomes an offcanvas
223
- * overlay. Any CSS length; prefer a value from the breakpoint scale
224
- * (`tabletLandscape` 900px / `desktop` 1200px).
225
- */
226
- breakpoint: _angular_core.InputSignal<string>;
227
- /** Accessible name for the landmark region. */
228
- ariaLabel: _angular_core.InputSignal<string | undefined>;
229
- /** Id of an external element naming the region. */
230
- ariaLabelledBy: _angular_core.InputSignal<string | undefined>;
231
- /** FontAwesome name of the close button icon. */
232
- closeIcon: _angular_core.InputSignal<string>;
233
- /** Accessible name of the close button. */
234
- closeAriaLabel: _angular_core.InputSignal<string>;
235
- /** Extra class(es) merged onto the panel surface. */
236
- styleClass: _angular_core.InputSignal<string | undefined>;
237
- /**
238
- * Scope the overlay presentation to the nearest positioned ancestor
239
- * (`position: absolute`) instead of the viewport, and skip the body scroll
240
- * lock. Useful to embed a sidebar inside a bounded region (docs previews,
241
- * split panels).
242
- */
243
- contained: _angular_core.InputSignalWithTransform<boolean, unknown>;
244
- /** Floor z-index for the overlay presentation. */
245
- baseZIndex: _angular_core.InputSignalWithTransform<number, unknown>;
246
- /** Disable the open/close animation for this sidebar. */
247
- motionDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
248
- /** Header region template (logo, workspace switcher…). */
249
- protected readonly headerTemplate: _angular_core.Signal<TemplateRef<unknown> | undefined>;
250
- /** Footer region template (user card, actions…). */
251
- protected readonly footerTemplate: _angular_core.Signal<TemplateRef<unknown> | undefined>;
252
- /** Emitted after the overlay becomes visible. */
253
- shown: _angular_core.OutputEmitterRef<void>;
254
- /** Emitted after the overlay is hidden. */
255
- hidden: _angular_core.OutputEmitterRef<void>;
256
- /** @ignore */
257
- private readonly panelRef;
258
- /** @ignore */
259
- private readonly document;
260
- /** @ignore */
261
- private readonly isBrowser;
262
- /** Stable id of the panel — referenced by `[uiSidebarTrigger]` (`aria-controls`). */
263
- readonly controlsId: string;
264
- /** @ignore */
265
- protected readonly titleId: string;
266
- /** @ignore This instance currently holds a body scroll lock. */
267
- private locked;
268
- /** @ignore Pointer is over the panel (drives `openOnHover`). */
269
- private readonly hovering;
270
- /** @ignore Viewport is below `breakpoint` (responsive switch). */
271
- private readonly belowBreakpoint;
272
- /** True when the sidebar is presented as a floating overlay. */
273
- readonly isOverlay: _angular_core.Signal<boolean>;
274
- /**
275
- * Resolved icon-rail state exposed to descendants (menus). Always expanded in
276
- * the overlay presentation, and temporarily expanded while an `openOnHover`
277
- * rail is hovered / focused.
278
- */
279
- readonly effectiveCollapsed: _angular_core.Signal<boolean>;
280
- /** Whether the trigger should report an expanded state (`aria-expanded`). */
281
- readonly expanded: _angular_core.Signal<boolean>;
282
- /** @ignore Layout footprint follows the toggled state, never the hover float. */
283
- protected readonly railCollapsed: _angular_core.Signal<boolean>;
284
- /** @ignore Panel is floating over the content (hover-expanded rail). */
285
- protected readonly floating: _angular_core.Signal<boolean>;
286
- /** @ignore Classes applied to the panel surface. */
287
- protected readonly panelClasses: _angular_core.Signal<string>;
288
- /** @ignore Directional slide preset for the overlay presentation. */
289
- protected readonly motionPreset: _angular_core.Signal<UiMotionPreset>;
290
- /** @ignore Effective overlay stacking level. */
291
- protected readonly zIndex: _angular_core.Signal<number>;
292
- /** @ignore Id naming the region (external id wins). */
293
- protected readonly labelledBy: _angular_core.Signal<string | null>;
294
- /** @ignore Fallback accessible name. */
295
- protected readonly resolvedAriaLabel: _angular_core.Signal<string | null>;
296
- constructor();
297
- /** @ignore Media query for the responsive switch (just under the breakpoint). */
298
- private readonly mediaQuery;
299
- /** Toggle the sidebar (visibility in overlay mode, collapse in static mode). */
300
- toggle(): void;
301
- /** Open / expand the sidebar. */
302
- open(): void;
303
- /** Close / collapse the sidebar. */
304
- close(): void;
305
- /** Move focus onto the panel surface. */
306
- focus(): void;
307
- /** @ignore Rail hover in/out (drives `openOnHover`). */
308
- protected onRailPointerEnter(): void;
309
- /** @ignore */
310
- protected onRailPointerLeave(): void;
311
- /** @ignore Keep the rail floating open while focus is inside it. */
312
- protected onRailFocusIn(): void;
313
- /** @ignore */
314
- protected onRailFocusOut(event: FocusEvent): void;
315
- /** @ignore Escape-to-close (overlay, bubbles from inside the panel). */
316
- protected onKeydown(event: KeyboardEvent): void;
317
- /** @ignore Backdrop click dismiss (overlay). */
318
- protected onBackdropPointerdown(event: PointerEvent): void;
319
- /** @ignore Release this instance's scroll lock, if held. */
320
- private releaseLock;
321
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiSidebar, never>;
322
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiSidebar, "ui-sidebar", never, { "side": { "alias": "side"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "openOnHover": { "alias": "openOnHover"; "required": false; "isSignal": true; }; "backdrop": { "alias": "backdrop"; "required": false; "isSignal": true; }; "dismissable": { "alias": "dismissable"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; "responsive": { "alias": "responsive"; "required": false; "isSignal": true; }; "breakpoint": { "alias": "breakpoint"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "closeIcon": { "alias": "closeIcon"; "required": false; "isSignal": true; }; "closeAriaLabel": { "alias": "closeAriaLabel"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "contained": { "alias": "contained"; "required": false; "isSignal": true; }; "baseZIndex": { "alias": "baseZIndex"; "required": false; "isSignal": true; }; "motionDisabled": { "alias": "motionDisabled"; "required": false; "isSignal": true; }; }, { "collapsed": "collapsedChange"; "visible": "visibleChange"; "shown": "shown"; "hidden": "hidden"; }, ["headerTemplate", "footerTemplate"], ["*"], true, never>;
250
+ export declare class UiSidebar {
251
+ /** Edge the sidebar docks to. */
252
+ side: import("@angular/core").InputSignal<SidebarSide>;
253
+ /** Presentation strategy (see {@link SidebarMode}). */
254
+ mode: import("@angular/core").InputSignal<SidebarMode>;
255
+ /** Allow folding to the icon rail (static mode). */
256
+ collapsible: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
257
+ /** Icon-rail state (two-way). Only meaningful in static mode. */
258
+ collapsed: import("@angular/core").ModelSignal<boolean>;
259
+ /** Offcanvas open state (two-way). Only meaningful in overlay mode. */
260
+ visible: import("@angular/core").ModelSignal<boolean>;
261
+ /** A collapsed rail floats open on hover / focus (static mode). */
262
+ openOnHover: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
263
+ /** Show the backdrop (dim + capture) and block background scroll — overlay only. */
264
+ backdrop: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
265
+ /** Close on backdrop click / `Escape` — overlay only. */
266
+ dismissable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
267
+ /** Close the overlay when `Escape` is pressed. */
268
+ closeOnEscape: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
269
+ /** Render the built-in close button in the overlay presentation. */
270
+ showCloseButton: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
271
+ /**
272
+ * Auto-switch a static sidebar to an overlay below `breakpoint`. Aligns with
273
+ * the design-system breakpoint scale (`$breakpoint-*`).
274
+ */
275
+ responsive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
276
+ /**
277
+ * Viewport width under which a responsive sidebar becomes an offcanvas
278
+ * overlay. Any CSS length; prefer a value from the breakpoint scale
279
+ * (`tabletLandscape` 900px / `desktop` 1200px).
280
+ */
281
+ breakpoint: import("@angular/core").InputSignal<string>;
282
+ /** Accessible name for the landmark region. */
283
+ ariaLabel: import("@angular/core").InputSignal<string | undefined>;
284
+ /** Id of an external element naming the region. */
285
+ ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
286
+ /** FontAwesome name of the close button icon. */
287
+ closeIcon: import("@angular/core").InputSignal<string>;
288
+ /** Accessible name of the close button. */
289
+ closeAriaLabel: import("@angular/core").InputSignal<string>;
290
+ /** Extra class(es) merged onto the panel surface. */
291
+ styleClass: import("@angular/core").InputSignal<string | undefined>;
292
+ /**
293
+ * Scope the overlay presentation to the nearest positioned ancestor
294
+ * (`position: absolute`) instead of the viewport, and skip the body scroll
295
+ * lock. Useful to embed a sidebar inside a bounded region (docs previews,
296
+ * split panels).
297
+ */
298
+ contained: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
299
+ /** Floor z-index for the overlay presentation. */
300
+ baseZIndex: import("@angular/core").InputSignalWithTransform<number, unknown>;
301
+ /** Disable the open/close animation for this sidebar. */
302
+ motionDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
303
+ /** Header region template (logo, workspace switcher…). */
304
+ protected readonly headerTemplate: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
305
+ /** Footer region template (user card, actions…). */
306
+ protected readonly footerTemplate: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
307
+ /** Emitted after the overlay becomes visible. */
308
+ shown: import("@angular/core").OutputEmitterRef<void>;
309
+ /** Emitted after the overlay is hidden. */
310
+ hidden: import("@angular/core").OutputEmitterRef<void>;
311
+ /** @ignore */
312
+ private readonly panelRef;
313
+ /** @ignore */
314
+ private readonly document;
315
+ /** @ignore */
316
+ private readonly isBrowser;
317
+ /** Stable id of the panel — referenced by `[uiSidebarTrigger]` (`aria-controls`). */
318
+ readonly controlsId: string;
319
+ /** @ignore */
320
+ protected readonly titleId: string;
321
+ /** @ignore This instance currently holds a body scroll lock. */
322
+ private locked;
323
+ /** @ignore Pointer is over the panel (drives `openOnHover`). */
324
+ private readonly hovering;
325
+ /** @ignore Viewport is below `breakpoint` (responsive switch). */
326
+ private readonly belowBreakpoint;
327
+ /** True when the sidebar is presented as a floating overlay. */
328
+ readonly isOverlay: import("@angular/core").Signal<boolean>;
329
+ /**
330
+ * Resolved icon-rail state exposed to descendants (menus). Always expanded in
331
+ * the overlay presentation, and temporarily expanded while an `openOnHover`
332
+ * rail is hovered / focused.
333
+ */
334
+ readonly effectiveCollapsed: import("@angular/core").Signal<boolean>;
335
+ /** Whether the trigger should report an expanded state (`aria-expanded`). */
336
+ readonly expanded: import("@angular/core").Signal<boolean>;
337
+ /** @ignore Layout footprint follows the toggled state, never the hover float. */
338
+ protected readonly railCollapsed: import("@angular/core").Signal<boolean>;
339
+ /** @ignore Panel is floating over the content (hover-expanded rail). */
340
+ protected readonly floating: import("@angular/core").Signal<boolean>;
341
+ /** @ignore Classes applied to the panel surface. */
342
+ protected readonly panelClasses: import("@angular/core").Signal<string>;
343
+ /** @ignore Directional slide preset for the overlay presentation. */
344
+ protected readonly motionPreset: import("@angular/core").Signal<UiMotionPreset>;
345
+ /** @ignore Effective overlay stacking level. */
346
+ protected readonly zIndex: import("@angular/core").Signal<number>;
347
+ /** @ignore Id naming the region (external id wins). */
348
+ protected readonly labelledBy: import("@angular/core").Signal<string | null>;
349
+ /** @ignore Fallback accessible name. */
350
+ protected readonly resolvedAriaLabel: import("@angular/core").Signal<string | null>;
351
+ constructor();
352
+ /** @ignore Media query for the responsive switch (just under the breakpoint). */
353
+ private readonly mediaQuery;
354
+ /** Toggle the sidebar (visibility in overlay mode, collapse in static mode). */
355
+ toggle(): void;
356
+ /** Open / expand the sidebar. */
357
+ open(): void;
358
+ /** Close / collapse the sidebar. */
359
+ close(): void;
360
+ /** Move focus onto the panel surface. */
361
+ focus(): void;
362
+ /** @ignore Rail hover in/out (drives `openOnHover`). */
363
+ protected onRailPointerEnter(): void;
364
+ /** @ignore */
365
+ protected onRailPointerLeave(): void;
366
+ /** @ignore Keep the rail floating open while focus is inside it. */
367
+ protected onRailFocusIn(): void;
368
+ /** @ignore */
369
+ protected onRailFocusOut(event: FocusEvent): void;
370
+ /** @ignore Escape-to-close (overlay, bubbles from inside the panel). */
371
+ protected onKeydown(event: KeyboardEvent): void;
372
+ /** @ignore Backdrop click dismiss (overlay). */
373
+ protected onBackdropPointerdown(event: PointerEvent): void;
374
+ /** @ignore Release this instance's scroll lock, if held. */
375
+ private releaseLock;
376
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebar, never>;
377
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiSidebar, "ui-sidebar", never, {
378
+ "side": {
379
+ "alias": "side";
380
+ "required": false;
381
+ "isSignal": true;
382
+ };
383
+ "mode": {
384
+ "alias": "mode";
385
+ "required": false;
386
+ "isSignal": true;
387
+ };
388
+ "collapsible": {
389
+ "alias": "collapsible";
390
+ "required": false;
391
+ "isSignal": true;
392
+ };
393
+ "collapsed": {
394
+ "alias": "collapsed";
395
+ "required": false;
396
+ "isSignal": true;
397
+ };
398
+ "visible": {
399
+ "alias": "visible";
400
+ "required": false;
401
+ "isSignal": true;
402
+ };
403
+ "openOnHover": {
404
+ "alias": "openOnHover";
405
+ "required": false;
406
+ "isSignal": true;
407
+ };
408
+ "backdrop": {
409
+ "alias": "backdrop";
410
+ "required": false;
411
+ "isSignal": true;
412
+ };
413
+ "dismissable": {
414
+ "alias": "dismissable";
415
+ "required": false;
416
+ "isSignal": true;
417
+ };
418
+ "closeOnEscape": {
419
+ "alias": "closeOnEscape";
420
+ "required": false;
421
+ "isSignal": true;
422
+ };
423
+ "showCloseButton": {
424
+ "alias": "showCloseButton";
425
+ "required": false;
426
+ "isSignal": true;
427
+ };
428
+ "responsive": {
429
+ "alias": "responsive";
430
+ "required": false;
431
+ "isSignal": true;
432
+ };
433
+ "breakpoint": {
434
+ "alias": "breakpoint";
435
+ "required": false;
436
+ "isSignal": true;
437
+ };
438
+ "ariaLabel": {
439
+ "alias": "ariaLabel";
440
+ "required": false;
441
+ "isSignal": true;
442
+ };
443
+ "ariaLabelledBy": {
444
+ "alias": "ariaLabelledBy";
445
+ "required": false;
446
+ "isSignal": true;
447
+ };
448
+ "closeIcon": {
449
+ "alias": "closeIcon";
450
+ "required": false;
451
+ "isSignal": true;
452
+ };
453
+ "closeAriaLabel": {
454
+ "alias": "closeAriaLabel";
455
+ "required": false;
456
+ "isSignal": true;
457
+ };
458
+ "styleClass": {
459
+ "alias": "styleClass";
460
+ "required": false;
461
+ "isSignal": true;
462
+ };
463
+ "contained": {
464
+ "alias": "contained";
465
+ "required": false;
466
+ "isSignal": true;
467
+ };
468
+ "baseZIndex": {
469
+ "alias": "baseZIndex";
470
+ "required": false;
471
+ "isSignal": true;
472
+ };
473
+ "motionDisabled": {
474
+ "alias": "motionDisabled";
475
+ "required": false;
476
+ "isSignal": true;
477
+ };
478
+ }, {
479
+ "collapsed": "collapsedChange";
480
+ "visible": "visibleChange";
481
+ "shown": "shown";
482
+ "hidden": "hidden";
483
+ }, ["headerTemplate", "footerTemplate"], ["*"], true, never>;
323
484
  }
324
-
325
485
  /**
326
486
  * uiSidebarTrigger — toggles a `ui-sidebar` from any element.
327
487
  *
@@ -342,19 +502,23 @@ declare class UiSidebar {
342
502
  * <ui-sidebar #sb>…</ui-sidebar>
343
503
  * ```
344
504
  */
345
- declare class UiSidebarTrigger {
346
- /** The sidebar this control toggles (e.g. `[uiSidebarTrigger]="sb"`). */
347
- sidebar: _angular_core.InputSignal<UiSidebar>;
348
- /** @ignore */
349
- private readonly hostEl;
350
- constructor();
351
- /** @ignore */
352
- protected onToggle(): void;
353
- /** @ignore The real interactive node when hosted on a component wrapper (e.g. `ui-button`). */
354
- private resolveInteractiveEl;
355
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiSidebarTrigger, never>;
356
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UiSidebarTrigger, "[uiSidebarTrigger]", never, { "sidebar": { "alias": "uiSidebarTrigger"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
505
+ export declare class UiSidebarTrigger {
506
+ /** The sidebar this control toggles (e.g. `[uiSidebarTrigger]="sb"`). */
507
+ sidebar: import("@angular/core").InputSignal<UiSidebar>;
508
+ /** @ignore */
509
+ private readonly hostEl;
510
+ constructor();
511
+ /** @ignore */
512
+ protected onToggle(): void;
513
+ /** @ignore The real interactive node when hosted on a component wrapper (e.g. `ui-button`). */
514
+ private resolveInteractiveEl;
515
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarTrigger, never>;
516
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarTrigger, "[uiSidebarTrigger]", never, {
517
+ "sidebar": {
518
+ "alias": "uiSidebarTrigger";
519
+ "required": true;
520
+ "isSignal": true;
521
+ };
522
+ }, {}, never, never, true, never>;
357
523
  }
358
-
359
- export { UiSidebar, UiSidebarMenu, UiSidebarTrigger };
360
- export type { SidebarMenuSize, SidebarMode, SidebarSide, UiSidebarMenuItem, UiSidebarMenuItemCommandEvent };
524
+ export {};