@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,7 +1,9 @@
1
- import * as _angular_core from '@angular/core';
2
- import { UiIconType } from '@4sh/ui-kit/base/ui-icon';
3
-
4
- type EmptyStateSize = 'default' | 'small';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import { UiIconType } from "@4sh/ui-kit/base/ui-icon";
5
+ import * as i0 from "@angular/core";
6
+ export type EmptyStateSize = 'default' | 'small';
5
7
  /**
6
8
  * Slot markers — apply them (attribute or element form) on the content you project
7
9
  * into a `<ui-empty-state>` to route it to the matching region. They carry no
@@ -15,14 +17,14 @@ type EmptyStateSize = 'default' | 'small';
15
17
  * </ui-empty-state>
16
18
  */
17
19
  /** Visual region (illustration, image, custom SVG…). Overrides the `icon` shortcut. */
18
- declare class UiEmptyStateMedia {
19
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiEmptyStateMedia, never>;
20
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UiEmptyStateMedia, "[uiEmptyStateMedia], ui-empty-state-media", never, {}, {}, never, never, true, never>;
20
+ export declare class UiEmptyStateMedia {
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiEmptyStateMedia, never>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UiEmptyStateMedia, "[uiEmptyStateMedia], ui-empty-state-media", never, {}, {}, never, never, true, never>;
21
23
  }
22
24
  /** Actions region (buttons, links…), rendered below the text. */
23
- declare class UiEmptyStateActions {
24
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiEmptyStateActions, never>;
25
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UiEmptyStateActions, "[uiEmptyStateActions], ui-empty-state-actions", never, {}, {}, never, never, true, never>;
25
+ export declare class UiEmptyStateActions {
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiEmptyStateActions, never>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UiEmptyStateActions, "[uiEmptyStateActions], ui-empty-state-actions", never, {}, {}, never, never, true, never>;
26
28
  }
27
29
  /**
28
30
  * ui-empty-state — communicates the absence of content (empty list, no search
@@ -36,58 +38,96 @@ declare class UiEmptyStateActions {
36
38
  * The most common case needs no imports — pass `title`/`description`/`icon` and drop
37
39
  * actions into the default flow via the `uiEmptyStateActions` marker.
38
40
  */
39
- declare class UiEmptyState {
40
- /** Main line — what is empty / why (recommended). */
41
- title: _angular_core.InputSignal<string | undefined>;
42
- /** Supporting line under the title (guidance, next step). */
43
- description: _angular_core.InputSignal<string | undefined>;
44
- /** FontAwesome icon name — shortcut for the visual (ignored if a media slot is projected). */
45
- icon: _angular_core.InputSignal<string | undefined>;
46
- /** Icon variant, forwarded to `ui-icon`. */
47
- iconType: _angular_core.InputSignal<UiIconType>;
48
- /** Density. */
49
- size: _angular_core.InputSignal<EmptyStateSize>;
50
- /**
51
- * Whether the visual region is shown. `true` by default; set `false` to keep a
52
- * text-only empty state without removing the projected media / `icon` from markup.
53
- */
54
- showMedia: _angular_core.InputSignalWithTransform<boolean, unknown>;
55
- /** Accessible name for the region landmark (adds `role="region"`). */
56
- ariaLabel: _angular_core.InputSignal<string | undefined>;
57
- /** Id of the element labelling the region landmark (adds `role="region"`). */
58
- ariaLabelledBy: _angular_core.InputSignal<string | undefined>;
59
- /** @ignore */
60
- protected readonly mediaSlot: _angular_core.Signal<UiEmptyStateMedia | undefined>;
61
- /** @ignore */
62
- protected readonly actionsSlot: _angular_core.Signal<UiEmptyStateActions | undefined>;
63
- /** @ignore */
64
- private readonly bodyWrap;
65
- /** @ignore Default (body) content actually projected (detected after rendering). */
66
- private readonly hasProjectedBody;
67
- constructor();
68
- /** @ignore An icon shortcut is provided. */
69
- protected readonly hasIcon: _angular_core.Signal<boolean>;
70
- /** @ignore A media slot is projected. */
71
- protected readonly hasMedia: _angular_core.Signal<boolean>;
72
- /** @ignore The visual region is shown and has something to render. */
73
- protected readonly showVisual: _angular_core.Signal<boolean>;
74
- /** @ignore */
75
- protected readonly hasTitle: _angular_core.Signal<boolean>;
76
- /** @ignore */
77
- protected readonly hasDescription: _angular_core.Signal<boolean>;
78
- /** @ignore Free body content projected between the description and the actions. */
79
- protected readonly hasBody: _angular_core.Signal<boolean>;
80
- /** @ignore The text region (title / description / body) has content. */
81
- protected readonly hasText: _angular_core.Signal<boolean>;
82
- /** @ignore An actions slot is projected. */
83
- protected readonly hasActions: _angular_core.Signal<boolean>;
84
- /** @ignore Landmark role only when the region carries an accessible name. */
85
- protected readonly role: _angular_core.Signal<"region" | null>;
86
- /** @ignore */
87
- protected readonly classes: _angular_core.Signal<string>;
88
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiEmptyState, never>;
89
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiEmptyState, "ui-empty-state", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconType": { "alias": "iconType"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showMedia": { "alias": "showMedia"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; }, {}, ["mediaSlot", "actionsSlot"], ["[uiEmptyStateMedia], ui-empty-state-media", "*", "[uiEmptyStateActions], ui-empty-state-actions"], true, never>;
90
- }
91
-
92
- export { UiEmptyState, UiEmptyStateActions, UiEmptyStateMedia };
93
- export type { EmptyStateSize };
41
+ export declare class UiEmptyState {
42
+ /** Main line — what is empty / why (recommended). */
43
+ title: import("@angular/core").InputSignal<string | undefined>;
44
+ /** Supporting line under the title (guidance, next step). */
45
+ description: import("@angular/core").InputSignal<string | undefined>;
46
+ /** FontAwesome icon name — shortcut for the visual (ignored if a media slot is projected). */
47
+ icon: import("@angular/core").InputSignal<string | undefined>;
48
+ /** Icon variant, forwarded to `ui-icon`. */
49
+ iconType: import("@angular/core").InputSignal<UiIconType>;
50
+ /** Density. */
51
+ size: import("@angular/core").InputSignal<EmptyStateSize>;
52
+ /**
53
+ * Whether the visual region is shown. `true` by default; set `false` to keep a
54
+ * text-only empty state without removing the projected media / `icon` from markup.
55
+ */
56
+ showMedia: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
57
+ /** Accessible name for the region landmark (adds `role="region"`). */
58
+ ariaLabel: import("@angular/core").InputSignal<string | undefined>;
59
+ /** Id of the element labelling the region landmark (adds `role="region"`). */
60
+ ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
61
+ /** @ignore */
62
+ protected readonly mediaSlot: import("@angular/core").Signal<UiEmptyStateMedia | undefined>;
63
+ /** @ignore */
64
+ protected readonly actionsSlot: import("@angular/core").Signal<UiEmptyStateActions | undefined>;
65
+ /** @ignore */
66
+ private readonly bodyWrap;
67
+ /** @ignore Default (body) content actually projected (detected after rendering). */
68
+ private readonly hasProjectedBody;
69
+ constructor();
70
+ /** @ignore An icon shortcut is provided. */
71
+ protected readonly hasIcon: import("@angular/core").Signal<boolean>;
72
+ /** @ignore A media slot is projected. */
73
+ protected readonly hasMedia: import("@angular/core").Signal<boolean>;
74
+ /** @ignore The visual region is shown and has something to render. */
75
+ protected readonly showVisual: import("@angular/core").Signal<boolean>;
76
+ /** @ignore */
77
+ protected readonly hasTitle: import("@angular/core").Signal<boolean>;
78
+ /** @ignore */
79
+ protected readonly hasDescription: import("@angular/core").Signal<boolean>;
80
+ /** @ignore Free body content projected between the description and the actions. */
81
+ protected readonly hasBody: import("@angular/core").Signal<boolean>;
82
+ /** @ignore The text region (title / description / body) has content. */
83
+ protected readonly hasText: import("@angular/core").Signal<boolean>;
84
+ /** @ignore An actions slot is projected. */
85
+ protected readonly hasActions: import("@angular/core").Signal<boolean>;
86
+ /** @ignore Landmark role only when the region carries an accessible name. */
87
+ protected readonly role: import("@angular/core").Signal<"region" | null>;
88
+ /** @ignore */
89
+ protected readonly classes: import("@angular/core").Signal<string>;
90
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiEmptyState, never>;
91
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiEmptyState, "ui-empty-state", never, {
92
+ "title": {
93
+ "alias": "title";
94
+ "required": false;
95
+ "isSignal": true;
96
+ };
97
+ "description": {
98
+ "alias": "description";
99
+ "required": false;
100
+ "isSignal": true;
101
+ };
102
+ "icon": {
103
+ "alias": "icon";
104
+ "required": false;
105
+ "isSignal": true;
106
+ };
107
+ "iconType": {
108
+ "alias": "iconType";
109
+ "required": false;
110
+ "isSignal": true;
111
+ };
112
+ "size": {
113
+ "alias": "size";
114
+ "required": false;
115
+ "isSignal": true;
116
+ };
117
+ "showMedia": {
118
+ "alias": "showMedia";
119
+ "required": false;
120
+ "isSignal": true;
121
+ };
122
+ "ariaLabel": {
123
+ "alias": "ariaLabel";
124
+ "required": false;
125
+ "isSignal": true;
126
+ };
127
+ "ariaLabelledBy": {
128
+ "alias": "ariaLabelledBy";
129
+ "required": false;
130
+ "isSignal": true;
131
+ };
132
+ }, {}, ["mediaSlot", "actionsSlot"], ["[uiEmptyStateMedia], ui-empty-state-media", "*", "[uiEmptyStateActions], ui-empty-state-actions"], true, never>;
133
+ }
@@ -1,8 +1,10 @@
1
- import * as _angular_core from '@angular/core';
2
- import { UiFeedbackLevel } from '@4sh/ui-kit/types';
3
-
4
- type HelperSize = 'default' | 'small';
5
- type HelperAriaLive = 'off' | 'polite' | 'assertive';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import { UiFeedbackLevel } from "@4sh/ui-kit/types";
5
+ import * as i0 from "@angular/core";
6
+ export type HelperSize = 'default' | 'small';
7
+ export type HelperAriaLive = 'off' | 'polite' | 'assertive';
6
8
  /**
7
9
  * ui-helper — contextual help/feedback text.
8
10
  *
@@ -15,32 +17,60 @@ type HelperAriaLive = 'off' | 'polite' | 'assertive';
15
17
  *), set `ariaLive=“polite”` (or `“assertive”` for an error) so
16
18
  * that screen readers announce the change.
17
19
  */
18
- declare class UiHelper {
19
- /** Help message displayed. */
20
- message: _angular_core.InputSignal<string>;
21
- /** Feedback level (controls the default color and icon). */
22
- level: _angular_core.InputSignal<UiFeedbackLevel>;
23
- /** Text and icon size. */
24
- size: _angular_core.InputSignal<HelperSize>;
25
- /** Displays the level icon. */
26
- showIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
27
- /** Overrides the icon name derived from `level`. */
28
- icon: _angular_core.InputSignal<string | undefined>;
29
- /** Live region for dynamic feedback (default: `off`). */
30
- ariaLive: _angular_core.InputSignal<HelperAriaLive>;
31
- /** @ignore Actual icon: explicit overlay, otherwise the icon for that level. */
32
- protected readonly resolvedIcon: _angular_core.Signal<string>;
33
- /** @ignore An icon is displayed. */
34
- protected readonly hasIcon: _angular_core.Signal<boolean>;
35
- /** @ignore Icon size aligned with text size. */
36
- protected readonly iconSize: _angular_core.Signal<"default" | "sm">;
37
- /** @ignore native aria-live (null when `off` to avoid polluting the DOM). */
38
- protected readonly liveRegion: _angular_core.Signal<"polite" | "assertive" | null>;
39
- /** @ignore */
40
- protected readonly classes: _angular_core.Signal<string>;
41
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiHelper, never>;
42
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiHelper, "ui-helper", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "ariaLive": { "alias": "ariaLive"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
43
- }
44
-
45
- export { UiHelper };
46
- export type { HelperAriaLive, HelperSize };
20
+ export declare class UiHelper {
21
+ /** Help message displayed. */
22
+ message: import("@angular/core").InputSignal<string>;
23
+ /** Feedback level (controls the default color and icon). */
24
+ level: import("@angular/core").InputSignal<UiFeedbackLevel>;
25
+ /** Text and icon size. */
26
+ size: import("@angular/core").InputSignal<HelperSize>;
27
+ /** Displays the level icon. */
28
+ showIcon: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
29
+ /** Overrides the icon name derived from `level`. */
30
+ icon: import("@angular/core").InputSignal<string | undefined>;
31
+ /** Live region for dynamic feedback (default: `off`). */
32
+ ariaLive: import("@angular/core").InputSignal<HelperAriaLive>;
33
+ /** @ignore Actual icon: explicit overlay, otherwise the icon for that level. */
34
+ protected readonly resolvedIcon: import("@angular/core").Signal<string>;
35
+ /** @ignore An icon is displayed. */
36
+ protected readonly hasIcon: import("@angular/core").Signal<boolean>;
37
+ /** @ignore Icon size aligned with text size. */
38
+ protected readonly iconSize: import("@angular/core").Signal<"default" | "sm">;
39
+ /** @ignore native aria-live (null when `off` to avoid polluting the DOM). */
40
+ protected readonly liveRegion: import("@angular/core").Signal<"polite" | "assertive" | null>;
41
+ /** @ignore */
42
+ protected readonly classes: import("@angular/core").Signal<string>;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiHelper, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiHelper, "ui-helper", never, {
45
+ "message": {
46
+ "alias": "message";
47
+ "required": true;
48
+ "isSignal": true;
49
+ };
50
+ "level": {
51
+ "alias": "level";
52
+ "required": false;
53
+ "isSignal": true;
54
+ };
55
+ "size": {
56
+ "alias": "size";
57
+ "required": false;
58
+ "isSignal": true;
59
+ };
60
+ "showIcon": {
61
+ "alias": "showIcon";
62
+ "required": false;
63
+ "isSignal": true;
64
+ };
65
+ "icon": {
66
+ "alias": "icon";
67
+ "required": false;
68
+ "isSignal": true;
69
+ };
70
+ "ariaLive": {
71
+ "alias": "ariaLive";
72
+ "required": false;
73
+ "isSignal": true;
74
+ };
75
+ }, {}, never, never, true, never>;
76
+ }
@@ -1,12 +1,14 @@
1
- import * as _angular_core from '@angular/core';
2
- import { TemplateRef } from '@angular/core';
3
-
4
- type UiProgressBarSize = 'default' | 'small';
5
- type UiProgressBarMode = 'determinate' | 'indeterminate';
6
- type UiProgressBarValuePosition = 'right' | 'bottom' | 'inside';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import * as i0 from "@angular/core";
5
+ import { TemplateRef } from "@angular/core";
6
+ export type UiProgressBarSize = 'default' | 'small';
7
+ export type UiProgressBarMode = 'determinate' | 'indeterminate';
8
+ export type UiProgressBarValuePosition = 'right' | 'bottom' | 'inside';
7
9
  /** Context passed to a custom value template. */
8
- interface UiProgressBarValueContext {
9
- $implicit: number;
10
+ export interface UiProgressBarValueContext {
11
+ $implicit: number;
10
12
  }
11
13
  /**
12
14
  * ui-progress-bar — process status indicator (headless).
@@ -23,60 +25,113 @@ interface UiProgressBarValueContext {
23
25
  * `ariaLabel` / `ariaLabelledBy`. Motion honours the OS reduced-motion
24
26
  * preference and the kit-wide `data-motion="off"` switch.
25
27
  */
26
- declare class UiProgressBar {
27
- /** Current progress, 0–100 (clamped). Ignored when `mode="indeterminate"`. */
28
- value: _angular_core.InputSignalWithTransform<number, unknown>;
29
- /** `determinate` tracks a value; `indeterminate` loops with no value. */
30
- mode: _angular_core.InputSignal<UiProgressBarMode>;
31
- /** Show the completion value beside/below the bar (determinate, non-steps). */
32
- showValue: _angular_core.InputSignalWithTransform<boolean, unknown>;
33
- /** Unit appended to the numeric value (e.g. "%"). */
34
- unit: _angular_core.InputSignal<string>;
35
- /** Size preset. */
36
- size: _angular_core.InputSignal<UiProgressBarSize>;
37
- /**
38
- * Where the value label sits: beside (`right`), below (`bottom`), or centered
39
- * within the filled portion of the bar itself (`inside`).
40
- */
41
- valuePosition: _angular_core.InputSignal<UiProgressBarValuePosition>;
42
- /**
43
- * When > 0, render the bar as this many discrete segments; the number of
44
- * filled segments is derived from `value`. Hides the numeric label.
45
- */
46
- steps: _angular_core.InputSignalWithTransform<number, unknown>;
47
- /** Fill colour override (any CSS colour). Sets `--ui-progress-bar-color`. */
48
- color: _angular_core.InputSignal<string | undefined>;
49
- /** Custom label content; context `{ $implicit: value }`. */
50
- valueTemplate: _angular_core.InputSignal<TemplateRef<UiProgressBarValueContext> | undefined>;
51
- /** Accessible name of the progress bar. */
52
- ariaLabel: _angular_core.InputSignal<string | undefined>;
53
- /** Id of the element labelling the progress bar. */
54
- ariaLabelledBy: _angular_core.InputSignal<string | undefined>;
55
- /** @ignore Value clamped to the 0–100 range. */
56
- protected readonly clampedValue: _angular_core.Signal<number>;
57
- /** @ignore */
58
- protected readonly isIndeterminate: _angular_core.Signal<boolean>;
59
- /** @ignore Whole number of segments requested (0 = continuous bar). */
60
- protected readonly stepCount: _angular_core.Signal<number>;
61
- /** @ignore Steps mode is active. */
62
- protected readonly isSteps: _angular_core.Signal<boolean>;
63
- /** @ignore Number of filled segments, derived from the value. */
64
- protected readonly filledSteps: _angular_core.Signal<number>;
65
- /** @ignore One boolean (active?) per segment. */
66
- protected readonly segments: _angular_core.Signal<boolean[]>;
67
- /** @ignore The numeric label is rendered (not indeterminate, not steps). */
68
- protected readonly showLabel: _angular_core.Signal<boolean>;
69
- /** @ignore Label sits inside the filled portion of the bar. */
70
- protected readonly labelInside: _angular_core.Signal<boolean>;
71
- /** @ignore `aria-valuenow`: the value when tracked, otherwise omitted. */
72
- protected readonly ariaValueNow: _angular_core.Signal<number | null>;
73
- /** @ignore Human-readable value for steps ("3 / 5"); omitted otherwise. */
74
- protected readonly ariaValueText: _angular_core.Signal<string | null>;
75
- /** @ignore */
76
- protected readonly classes: _angular_core.Signal<string>;
77
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiProgressBar, never>;
78
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiProgressBar, "ui-progress-bar", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "valuePosition": { "alias": "valuePosition"; "required": false; "isSignal": true; }; "steps": { "alias": "steps"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "valueTemplate": { "alias": "valueTemplate"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
79
- }
80
-
81
- export { UiProgressBar };
82
- export type { UiProgressBarMode, UiProgressBarSize, UiProgressBarValueContext, UiProgressBarValuePosition };
28
+ export declare class UiProgressBar {
29
+ /** Current progress, 0–100 (clamped). Ignored when `mode="indeterminate"`. */
30
+ value: import("@angular/core").InputSignalWithTransform<number, unknown>;
31
+ /** `determinate` tracks a value; `indeterminate` loops with no value. */
32
+ mode: import("@angular/core").InputSignal<UiProgressBarMode>;
33
+ /** Show the completion value beside/below the bar (determinate, non-steps). */
34
+ showValue: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
35
+ /** Unit appended to the numeric value (e.g. "%"). */
36
+ unit: import("@angular/core").InputSignal<string>;
37
+ /** Size preset. */
38
+ size: import("@angular/core").InputSignal<UiProgressBarSize>;
39
+ /**
40
+ * Where the value label sits: beside (`right`), below (`bottom`), or centered
41
+ * within the filled portion of the bar itself (`inside`).
42
+ */
43
+ valuePosition: import("@angular/core").InputSignal<UiProgressBarValuePosition>;
44
+ /**
45
+ * When > 0, render the bar as this many discrete segments; the number of
46
+ * filled segments is derived from `value`. Hides the numeric label.
47
+ */
48
+ steps: import("@angular/core").InputSignalWithTransform<number, unknown>;
49
+ /** Fill colour override (any CSS colour). Sets `--ui-progress-bar-color`. */
50
+ color: import("@angular/core").InputSignal<string | undefined>;
51
+ /** Custom label content; context `{ $implicit: value }`. */
52
+ valueTemplate: import("@angular/core").InputSignal<TemplateRef<UiProgressBarValueContext> | undefined>;
53
+ /** Accessible name of the progress bar. */
54
+ ariaLabel: import("@angular/core").InputSignal<string | undefined>;
55
+ /** Id of the element labelling the progress bar. */
56
+ ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
57
+ /** @ignore Value clamped to the 0–100 range. */
58
+ protected readonly clampedValue: import("@angular/core").Signal<number>;
59
+ /** @ignore */
60
+ protected readonly isIndeterminate: import("@angular/core").Signal<boolean>;
61
+ /** @ignore Whole number of segments requested (0 = continuous bar). */
62
+ protected readonly stepCount: import("@angular/core").Signal<number>;
63
+ /** @ignore Steps mode is active. */
64
+ protected readonly isSteps: import("@angular/core").Signal<boolean>;
65
+ /** @ignore Number of filled segments, derived from the value. */
66
+ protected readonly filledSteps: import("@angular/core").Signal<number>;
67
+ /** @ignore One boolean (active?) per segment. */
68
+ protected readonly segments: import("@angular/core").Signal<boolean[]>;
69
+ /** @ignore The numeric label is rendered (not indeterminate, not steps). */
70
+ protected readonly showLabel: import("@angular/core").Signal<boolean>;
71
+ /** @ignore Label sits inside the filled portion of the bar. */
72
+ protected readonly labelInside: import("@angular/core").Signal<boolean>;
73
+ /** @ignore `aria-valuenow`: the value when tracked, otherwise omitted. */
74
+ protected readonly ariaValueNow: import("@angular/core").Signal<number | null>;
75
+ /** @ignore Human-readable value for steps ("3 / 5"); omitted otherwise. */
76
+ protected readonly ariaValueText: import("@angular/core").Signal<string | null>;
77
+ /** @ignore */
78
+ protected readonly classes: import("@angular/core").Signal<string>;
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiProgressBar, never>;
80
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiProgressBar, "ui-progress-bar", never, {
81
+ "value": {
82
+ "alias": "value";
83
+ "required": false;
84
+ "isSignal": true;
85
+ };
86
+ "mode": {
87
+ "alias": "mode";
88
+ "required": false;
89
+ "isSignal": true;
90
+ };
91
+ "showValue": {
92
+ "alias": "showValue";
93
+ "required": false;
94
+ "isSignal": true;
95
+ };
96
+ "unit": {
97
+ "alias": "unit";
98
+ "required": false;
99
+ "isSignal": true;
100
+ };
101
+ "size": {
102
+ "alias": "size";
103
+ "required": false;
104
+ "isSignal": true;
105
+ };
106
+ "valuePosition": {
107
+ "alias": "valuePosition";
108
+ "required": false;
109
+ "isSignal": true;
110
+ };
111
+ "steps": {
112
+ "alias": "steps";
113
+ "required": false;
114
+ "isSignal": true;
115
+ };
116
+ "color": {
117
+ "alias": "color";
118
+ "required": false;
119
+ "isSignal": true;
120
+ };
121
+ "valueTemplate": {
122
+ "alias": "valueTemplate";
123
+ "required": false;
124
+ "isSignal": true;
125
+ };
126
+ "ariaLabel": {
127
+ "alias": "ariaLabel";
128
+ "required": false;
129
+ "isSignal": true;
130
+ };
131
+ "ariaLabelledBy": {
132
+ "alias": "ariaLabelledBy";
133
+ "required": false;
134
+ "isSignal": true;
135
+ };
136
+ }, {}, never, never, true, never>;
137
+ }