@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,15 +1,17 @@
1
- import * as _angular_core from '@angular/core';
2
- import { UiIconType } from '@4sh/ui-kit/base/ui-icon';
3
- import { UiLevel } from '@4sh/ui-kit/types';
4
-
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import { UiIconType } from "@4sh/ui-kit/base/ui-icon";
5
+ import { UiLevel } from "@4sh/ui-kit/types";
6
+ import * as i0 from "@angular/core";
5
7
  /** Identifier of a bottom tab (matched against the bar `value`). */
6
- type UiBottomTabValue = string | number;
8
+ export type UiBottomTabValue = string | number;
7
9
  /** Payload emitted when the active tab changes. */
8
- interface UiBottomTabBarChangeEvent {
9
- /** Value of the tab that became active. */
10
- value: UiBottomTabValue;
11
- /** Originating DOM event (click / keyboard). */
12
- originalEvent: Event;
10
+ export interface UiBottomTabBarChangeEvent {
11
+ /** Value of the tab that became active. */
12
+ value: UiBottomTabValue;
13
+ /** Originating DOM event (click / keyboard). */
14
+ originalEvent: Event;
13
15
  }
14
16
  /**
15
17
  * ui-bottom-tab , a single destination inside a {@link UiBottomTabBar}.
@@ -25,76 +27,144 @@ interface UiBottomTabBarChangeEvent {
25
27
  * Declared before {@link UiBottomTabBar} so its `inject()` reference resolves
26
28
  * at construction time without a temporal-dead-zone error.
27
29
  */
28
- declare class UiBottomTab {
29
- /** Identifier of this tab (matched against the bar `value`). */
30
- value: _angular_core.InputSignal<UiBottomTabValue>;
31
- /** Visible label under the icon. Omit it for an icon-only tab (then `ariaLabel` names it). */
32
- label: _angular_core.InputSignal<string | undefined>;
33
- /** Icon name in the resting state. */
34
- icon: _angular_core.InputSignal<string | undefined>;
35
- /** Icon name once active (falls back to `icon`). */
36
- activeIcon: _angular_core.InputSignal<string | undefined>;
37
- /**
38
- * Icon variant in the resting state. Set it to `outline` to get the classic
39
- * outline → filled swap on activation, `activeIconType` already being `solid`
40
- * , but check the icon exists in the family's outline set first (FontAwesome
41
- * Free only ships a handful).
42
- */
43
- iconType: _angular_core.InputSignal<UiIconType>;
44
- /** Icon variant once active. */
45
- activeIconType: _angular_core.InputSignal<UiIconType>;
46
- /** Disable the tab (not activable, skipped by the arrow keys). */
47
- disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
48
- /** Accessible name override (mandatory when no label is visible). */
49
- ariaLabel: _angular_core.InputSignal<string | undefined>;
50
- /** Press wave on this tab. `false` opts it out, global activation included. */
51
- ripple: _angular_core.InputSignalWithTransform<boolean, unknown>;
52
- /** External / plain URL. Presence switches the control to an `<a>`. */
53
- href: _angular_core.InputSignal<string | undefined>;
54
- /** Angular router target. Presence switches the control to an `<a>` (RouterLink). */
55
- routerLink: _angular_core.InputSignal<string | unknown[] | undefined>;
56
- /** Anchor target (e.g. "_blank"). Link mode only. */
57
- target: _angular_core.InputSignal<string | undefined>;
58
- /** Anchor rel. Defaults to "noopener noreferrer" when target="_blank". */
59
- rel: _angular_core.InputSignal<string | undefined>;
60
- /** Fired on activation (click, Enter/Space), even when already active. */
61
- tabClick: _angular_core.OutputEmitterRef<MouseEvent>;
62
- /** @ignore Parent bar (owns the active value + the shared options). */
63
- protected readonly bar: UiBottomTabBar;
64
- /** @ignore The native control, for programmatic focus. */
65
- private readonly controlEl;
66
- /** @ignore Whether this tab is the active one. */
67
- readonly active: _angular_core.Signal<boolean>;
68
- /** @ignore Label rendered only when provided AND the bar shows labels. */
69
- protected readonly labelVisible: _angular_core.Signal<boolean>;
70
- /** @ignore Icon swapped on activation (filled once selected, outlined otherwise). */
71
- protected readonly resolvedIcon: _angular_core.Signal<string | undefined>;
72
- /** @ignore */
73
- protected readonly resolvedIconType: _angular_core.Signal<UiIconType>;
74
- /**
75
- * @ignore Accessible name: explicit, otherwise the hidden label. Left `null`
76
- * when the label is visible , the control's own text names it.
77
- */
78
- protected readonly accessibleLabel: _angular_core.Signal<string | null>;
79
- /** @ignore Press wave: opted out on the tab, or on the whole bar. */
80
- protected readonly rippleOn: _angular_core.Signal<boolean>;
81
- /** @ignore Control renders an `<a>` (a URL or a router target was provided). */
82
- protected readonly isLink: _angular_core.Signal<boolean>;
83
- /** @ignore */
84
- protected readonly useRouterLink: _angular_core.Signal<boolean>;
85
- /** @ignore Anchor rel: explicit, or a safe default for target="_blank". */
86
- protected readonly computedRel: _angular_core.Signal<string | null>;
87
- /** @ignore An `<a>` has no native `disabled`: take it out of the tab order. */
88
- protected readonly linkTabindex: _angular_core.Signal<-1 | null>;
89
- /** @ignore */
90
- protected readonly classes: _angular_core.Signal<string>;
91
- constructor();
92
- /** Move focus to this tab's control. */
93
- focus(options?: FocusOptions): void;
94
- /** @ignore */
95
- protected onClick(event: MouseEvent): void;
96
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiBottomTab, never>;
97
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiBottomTab, "ui-bottom-tab", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "activeIcon": { "alias": "activeIcon"; "required": false; "isSignal": true; }; "iconType": { "alias": "iconType"; "required": false; "isSignal": true; }; "activeIconType": { "alias": "activeIconType"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ripple": { "alias": "ripple"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "rel": { "alias": "rel"; "required": false; "isSignal": true; }; }, { "tabClick": "tabClick"; }, never, ["*"], true, never>;
30
+ export declare class UiBottomTab {
31
+ /** Identifier of this tab (matched against the bar `value`). */
32
+ value: import("@angular/core").InputSignal<UiBottomTabValue>;
33
+ /** Visible label under the icon. Omit it for an icon-only tab (then `ariaLabel` names it). */
34
+ label: import("@angular/core").InputSignal<string | undefined>;
35
+ /** Icon name in the resting state. */
36
+ icon: import("@angular/core").InputSignal<string | undefined>;
37
+ /** Icon name once active (falls back to `icon`). */
38
+ activeIcon: import("@angular/core").InputSignal<string | undefined>;
39
+ /**
40
+ * Icon variant in the resting state. Set it to `outline` to get the classic
41
+ * outline → filled swap on activation, `activeIconType` already being `solid`
42
+ * , but check the icon exists in the family's outline set first (FontAwesome
43
+ * Free only ships a handful).
44
+ */
45
+ iconType: import("@angular/core").InputSignal<UiIconType>;
46
+ /** Icon variant once active. */
47
+ activeIconType: import("@angular/core").InputSignal<UiIconType>;
48
+ /** Disable the tab (not activable, skipped by the arrow keys). */
49
+ disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
50
+ /** Accessible name override (mandatory when no label is visible). */
51
+ ariaLabel: import("@angular/core").InputSignal<string | undefined>;
52
+ /** Press wave on this tab. `false` opts it out, global activation included. */
53
+ ripple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
54
+ /** External / plain URL. Presence switches the control to an `<a>`. */
55
+ href: import("@angular/core").InputSignal<string | undefined>;
56
+ /** Angular router target. Presence switches the control to an `<a>` (RouterLink). */
57
+ routerLink: import("@angular/core").InputSignal<string | unknown[] | undefined>;
58
+ /** Anchor target (e.g. "_blank"). Link mode only. */
59
+ target: import("@angular/core").InputSignal<string | undefined>;
60
+ /** Anchor rel. Defaults to "noopener noreferrer" when target="_blank". */
61
+ rel: import("@angular/core").InputSignal<string | undefined>;
62
+ /** Fired on activation (click, Enter/Space), even when already active. */
63
+ tabClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
64
+ /** @ignore Parent bar (owns the active value + the shared options). */
65
+ protected readonly bar: UiBottomTabBar;
66
+ /** @ignore The native control, for programmatic focus. */
67
+ private readonly controlEl;
68
+ /** @ignore Whether this tab is the active one. */
69
+ readonly active: import("@angular/core").Signal<boolean>;
70
+ /** @ignore Label rendered only when provided AND the bar shows labels. */
71
+ protected readonly labelVisible: import("@angular/core").Signal<boolean>;
72
+ /** @ignore Icon swapped on activation (filled once selected, outlined otherwise). */
73
+ protected readonly resolvedIcon: import("@angular/core").Signal<string | undefined>;
74
+ /** @ignore */
75
+ protected readonly resolvedIconType: import("@angular/core").Signal<UiIconType>;
76
+ /**
77
+ * @ignore Accessible name: explicit, otherwise the hidden label. Left `null`
78
+ * when the label is visible , the control's own text names it.
79
+ */
80
+ protected readonly accessibleLabel: import("@angular/core").Signal<string | null>;
81
+ /** @ignore Press wave: opted out on the tab, or on the whole bar. */
82
+ protected readonly rippleOn: import("@angular/core").Signal<boolean>;
83
+ /** @ignore Control renders an `<a>` (a URL or a router target was provided). */
84
+ protected readonly isLink: import("@angular/core").Signal<boolean>;
85
+ /** @ignore */
86
+ protected readonly useRouterLink: import("@angular/core").Signal<boolean>;
87
+ /** @ignore Anchor rel: explicit, or a safe default for target="_blank". */
88
+ protected readonly computedRel: import("@angular/core").Signal<string | null>;
89
+ /** @ignore An `<a>` has no native `disabled`: take it out of the tab order. */
90
+ protected readonly linkTabindex: import("@angular/core").Signal<-1 | null>;
91
+ /** @ignore */
92
+ protected readonly classes: import("@angular/core").Signal<string>;
93
+ constructor();
94
+ /** Move focus to this tab's control. */
95
+ focus(options?: FocusOptions): void;
96
+ /** @ignore */
97
+ protected onClick(event: MouseEvent): void;
98
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiBottomTab, never>;
99
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiBottomTab, "ui-bottom-tab", never, {
100
+ "value": {
101
+ "alias": "value";
102
+ "required": true;
103
+ "isSignal": true;
104
+ };
105
+ "label": {
106
+ "alias": "label";
107
+ "required": false;
108
+ "isSignal": true;
109
+ };
110
+ "icon": {
111
+ "alias": "icon";
112
+ "required": false;
113
+ "isSignal": true;
114
+ };
115
+ "activeIcon": {
116
+ "alias": "activeIcon";
117
+ "required": false;
118
+ "isSignal": true;
119
+ };
120
+ "iconType": {
121
+ "alias": "iconType";
122
+ "required": false;
123
+ "isSignal": true;
124
+ };
125
+ "activeIconType": {
126
+ "alias": "activeIconType";
127
+ "required": false;
128
+ "isSignal": true;
129
+ };
130
+ "disabled": {
131
+ "alias": "disabled";
132
+ "required": false;
133
+ "isSignal": true;
134
+ };
135
+ "ariaLabel": {
136
+ "alias": "ariaLabel";
137
+ "required": false;
138
+ "isSignal": true;
139
+ };
140
+ "ripple": {
141
+ "alias": "ripple";
142
+ "required": false;
143
+ "isSignal": true;
144
+ };
145
+ "href": {
146
+ "alias": "href";
147
+ "required": false;
148
+ "isSignal": true;
149
+ };
150
+ "routerLink": {
151
+ "alias": "routerLink";
152
+ "required": false;
153
+ "isSignal": true;
154
+ };
155
+ "target": {
156
+ "alias": "target";
157
+ "required": false;
158
+ "isSignal": true;
159
+ };
160
+ "rel": {
161
+ "alias": "rel";
162
+ "required": false;
163
+ "isSignal": true;
164
+ };
165
+ }, {
166
+ "tabClick": "tabClick";
167
+ }, never, ["*"], true, never>;
98
168
  }
99
169
  /**
100
170
  * ui-bottom-tab-action , the circular action raised above a
@@ -104,32 +174,65 @@ declare class UiBottomTab {
104
174
  * it anywhere among the tabs , between the second and the third for the classic
105
175
  * centred layout. Always icon-only, so `ariaLabel` is mandatory.
106
176
  */
107
- declare class UiBottomTabAction {
108
- /** Icon name. */
109
- icon: _angular_core.InputSignal<string>;
110
- /** Icon variant. */
111
- iconType: _angular_core.InputSignal<UiIconType>;
112
- /** Colour family, mapped onto the `actions.{level}` tokens. */
113
- level: _angular_core.InputSignal<UiLevel>;
114
- /** Accessible name , mandatory, the button carries no visible text. */
115
- ariaLabel: _angular_core.InputSignal<string | undefined>;
116
- /** Disable the action (native attribute). */
117
- disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
118
- /** Press wave on this action. `false` opts it out, global activation included. */
119
- ripple: _angular_core.InputSignalWithTransform<boolean, unknown>;
120
- /** Fired on click (never when disabled). */
121
- actionClick: _angular_core.OutputEmitterRef<MouseEvent>;
122
- /** @ignore */
123
- private readonly controlEl;
124
- /** @ignore */
125
- protected readonly classes: _angular_core.Signal<string>;
126
- constructor();
127
- /** Move focus to the action button. */
128
- focus(options?: FocusOptions): void;
129
- /** @ignore */
130
- protected onClick(event: MouseEvent): void;
131
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiBottomTabAction, never>;
132
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiBottomTabAction, "ui-bottom-tab-action", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconType": { "alias": "iconType"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ripple": { "alias": "ripple"; "required": false; "isSignal": true; }; }, { "actionClick": "actionClick"; }, never, never, true, never>;
177
+ export declare class UiBottomTabAction {
178
+ /** Icon name. */
179
+ icon: import("@angular/core").InputSignal<string>;
180
+ /** Icon variant. */
181
+ iconType: import("@angular/core").InputSignal<UiIconType>;
182
+ /** Colour family, mapped onto the `actions.{level}` tokens. */
183
+ level: import("@angular/core").InputSignal<UiLevel>;
184
+ /** Accessible name , mandatory, the button carries no visible text. */
185
+ ariaLabel: import("@angular/core").InputSignal<string | undefined>;
186
+ /** Disable the action (native attribute). */
187
+ disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
188
+ /** Press wave on this action. `false` opts it out, global activation included. */
189
+ ripple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
190
+ /** Fired on click (never when disabled). */
191
+ actionClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
192
+ /** @ignore */
193
+ private readonly controlEl;
194
+ /** @ignore */
195
+ protected readonly classes: import("@angular/core").Signal<string>;
196
+ constructor();
197
+ /** Move focus to the action button. */
198
+ focus(options?: FocusOptions): void;
199
+ /** @ignore */
200
+ protected onClick(event: MouseEvent): void;
201
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiBottomTabAction, never>;
202
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiBottomTabAction, "ui-bottom-tab-action", never, {
203
+ "icon": {
204
+ "alias": "icon";
205
+ "required": false;
206
+ "isSignal": true;
207
+ };
208
+ "iconType": {
209
+ "alias": "iconType";
210
+ "required": false;
211
+ "isSignal": true;
212
+ };
213
+ "level": {
214
+ "alias": "level";
215
+ "required": false;
216
+ "isSignal": true;
217
+ };
218
+ "ariaLabel": {
219
+ "alias": "ariaLabel";
220
+ "required": false;
221
+ "isSignal": true;
222
+ };
223
+ "disabled": {
224
+ "alias": "disabled";
225
+ "required": false;
226
+ "isSignal": true;
227
+ };
228
+ "ripple": {
229
+ "alias": "ripple";
230
+ "required": false;
231
+ "isSignal": true;
232
+ };
233
+ }, {
234
+ "actionClick": "actionClick";
235
+ }, never, never, true, never>;
133
236
  }
134
237
  /**
135
238
  * ui-bottom-tab-bar , bottom navigation bar for touch devices (mobile, tablet).
@@ -160,42 +263,73 @@ declare class UiBottomTabAction {
160
263
  * </ui-bottom-tab-bar>
161
264
  * ```
162
265
  */
163
- declare class UiBottomTabBar {
164
- /** Value of the active tab (two-way). `undefined` = no active tab. */
165
- value: _angular_core.ModelSignal<UiBottomTabValue | undefined>;
166
- /** Accessible name of the navigation landmark. */
167
- ariaLabel: _angular_core.InputSignal<string>;
168
- /** Show the tabs' labels. `false` renders an icon-only bar. */
169
- showLabels: _angular_core.InputSignalWithTransform<boolean, unknown>;
170
- /** Reserve the system inset under the bar (iOS home indicator, Android gesture bar). */
171
- safeArea: _angular_core.InputSignalWithTransform<boolean, unknown>;
172
- /** Lay the bar out inside its positioned ancestor instead of the viewport. */
173
- contained: _angular_core.InputSignalWithTransform<boolean, unknown>;
174
- /** Press wave on the tabs. `false` cuts it on this bar, global activation included. */
175
- ripple: _angular_core.InputSignalWithTransform<boolean, unknown>;
176
- /** Fired whenever the active tab changes (click / keyboard). */
177
- tabChange: _angular_core.OutputEmitterRef<UiBottomTabBarChangeEvent>;
178
- /** @ignore The `<nav>` landmark (arrow-key walking happens inside it). */
179
- private readonly navEl;
180
- /** @ignore */
181
- protected readonly classes: _angular_core.Signal<string>;
182
- /** @ignore Whether the given value is the active tab. */
183
- isActive(value: UiBottomTabValue): boolean;
184
- /** @ignore Activate a tab (no-op if already active); emits `tabChange`. */
185
- updateValue(value: UiBottomTabValue, event: Event): void;
186
- /**
187
- * @ignore Arrow keys / Home / End walk the bar's controls. This is additive:
188
- * unlike the roving tabindex of the tabs pattern, every control keeps its
189
- * place in the tab order , which is what a navigation landmark owes its users.
190
- *
191
- * The controls are read from the DOM rather than through a content query: the
192
- * bar mixes two projected component types (tabs and the raised action), and a
193
- * single query cannot see both.
194
- */
195
- protected onKeydown(event: KeyboardEvent): void;
196
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiBottomTabBar, never>;
197
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiBottomTabBar, "ui-bottom-tab-bar", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "safeArea": { "alias": "safeArea"; "required": false; "isSignal": true; }; "contained": { "alias": "contained"; "required": false; "isSignal": true; }; "ripple": { "alias": "ripple"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "tabChange": "tabChange"; }, never, ["*"], true, never>;
198
- }
199
-
200
- export { UiBottomTab, UiBottomTabAction, UiBottomTabBar };
201
- export type { UiBottomTabBarChangeEvent, UiBottomTabValue };
266
+ export declare class UiBottomTabBar {
267
+ /** Value of the active tab (two-way). `undefined` = no active tab. */
268
+ value: import("@angular/core").ModelSignal<UiBottomTabValue | undefined>;
269
+ /** Accessible name of the navigation landmark. */
270
+ ariaLabel: import("@angular/core").InputSignal<string>;
271
+ /** Show the tabs' labels. `false` renders an icon-only bar. */
272
+ showLabels: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
273
+ /** Reserve the system inset under the bar (iOS home indicator, Android gesture bar). */
274
+ safeArea: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
275
+ /** Lay the bar out inside its positioned ancestor instead of the viewport. */
276
+ contained: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
277
+ /** Press wave on the tabs. `false` cuts it on this bar, global activation included. */
278
+ ripple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
279
+ /** Fired whenever the active tab changes (click / keyboard). */
280
+ tabChange: import("@angular/core").OutputEmitterRef<UiBottomTabBarChangeEvent>;
281
+ /** @ignore The `<nav>` landmark (arrow-key walking happens inside it). */
282
+ private readonly navEl;
283
+ /** @ignore */
284
+ protected readonly classes: import("@angular/core").Signal<string>;
285
+ /** @ignore Whether the given value is the active tab. */
286
+ isActive(value: UiBottomTabValue): boolean;
287
+ /** @ignore Activate a tab (no-op if already active); emits `tabChange`. */
288
+ updateValue(value: UiBottomTabValue, event: Event): void;
289
+ /**
290
+ * @ignore Arrow keys / Home / End walk the bar's controls. This is additive:
291
+ * unlike the roving tabindex of the tabs pattern, every control keeps its
292
+ * place in the tab order , which is what a navigation landmark owes its users.
293
+ *
294
+ * The controls are read from the DOM rather than through a content query: the
295
+ * bar mixes two projected component types (tabs and the raised action), and a
296
+ * single query cannot see both.
297
+ */
298
+ protected onKeydown(event: KeyboardEvent): void;
299
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiBottomTabBar, never>;
300
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiBottomTabBar, "ui-bottom-tab-bar", never, {
301
+ "value": {
302
+ "alias": "value";
303
+ "required": false;
304
+ "isSignal": true;
305
+ };
306
+ "ariaLabel": {
307
+ "alias": "ariaLabel";
308
+ "required": false;
309
+ "isSignal": true;
310
+ };
311
+ "showLabels": {
312
+ "alias": "showLabels";
313
+ "required": false;
314
+ "isSignal": true;
315
+ };
316
+ "safeArea": {
317
+ "alias": "safeArea";
318
+ "required": false;
319
+ "isSignal": true;
320
+ };
321
+ "contained": {
322
+ "alias": "contained";
323
+ "required": false;
324
+ "isSignal": true;
325
+ };
326
+ "ripple": {
327
+ "alias": "ripple";
328
+ "required": false;
329
+ "isSignal": true;
330
+ };
331
+ }, {
332
+ "value": "valueChange";
333
+ "tabChange": "tabChange";
334
+ }, never, ["*"], true, never>;
335
+ }