@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,70 +1,150 @@
1
- import * as _angular_core from '@angular/core';
2
- import { TemplateRef } from '@angular/core';
3
-
4
- type ReadOnlySize = 'default' | 'small';
5
- type ReadOnlyLayout = 'vertical' | 'horizontal' | 'grid';
6
- type ReadOnlyAlign = 'left' | 'right';
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 ReadOnlySize = 'default' | 'small';
7
+ export type ReadOnlyLayout = 'vertical' | 'horizontal' | 'grid';
8
+ export type ReadOnlyAlign = 'left' | 'right';
7
9
  /**
8
10
  * ui-read-only — displays a labelled value in read-only mode.
9
11
  */
10
- declare class UiReadOnly {
11
- /** Field label (plain string — i18n is the caller's responsibility). Rendered via `ui-label`. */
12
- label: _angular_core.InputSignal<string | undefined>;
13
- /** Shows the required marker (*) on the label — for parity with a required field. */
14
- required: _angular_core.InputSignalWithTransform<boolean, unknown>;
15
- /** Fully custom label markup, replacing the default `ui-label` (escape hatch). */
16
- labelTemplate: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
17
- /** Displayed value. Ignored when content is projected. */
18
- value: _angular_core.InputSignal<string | number | null | undefined>;
19
- /** Shown (muted) when the value is null / undefined / empty. */
20
- fallback: _angular_core.InputSignal<string>;
21
- /**
22
- * Accessible text announced in place of the `fallback` symbol when the value
23
- * is empty (e.g. "Non renseigné"). The visual `fallback` stays decorative.
24
- */
25
- emptyLabel: _angular_core.InputSignal<string | undefined>;
26
- /** Stacked (`vertical`), side-by-side (`horizontal`), or grid-driven (`grid`). */
27
- layout: _angular_core.InputSignal<ReadOnlyLayout>;
28
- /** Text/label size. */
29
- size: _angular_core.InputSignal<ReadOnlySize>;
30
- /** Label text alignment (horizontal layout only). */
31
- labelAlign: _angular_core.InputSignal<ReadOnlyAlign>;
32
- /** Label column width in horizontal layout (any CSS length, e.g. `160px`, `30%`). Unset = hug content. */
33
- labelWidth: _angular_core.InputSignal<string | undefined>;
34
- /** Preserve line breaks in the value (`white-space: pre-line`). */
35
- multiline: _angular_core.InputSignalWithTransform<boolean, unknown>;
36
- /** Hug content and flow inline instead of filling the container. */
37
- inline: _angular_core.InputSignalWithTransform<boolean, unknown>;
38
- /**
39
- * Adapt the layout to sit alongside form fields
40
- */
41
- matchField: _angular_core.InputSignalWithTransform<boolean, unknown>;
42
- /** Extra classes on the row (`<dl>`), e.g. a grid row class like `flex-x`. */
43
- rowClass: _angular_core.InputSignal<string | undefined>;
44
- /** Extra classes on the label cell (`<dt>`), e.g. `cell phone-24 desktop-auto`. */
45
- labelClass: _angular_core.InputSignal<string | undefined>;
46
- /** Extra classes on the value cell (`<dd>`), e.g. `cell phone-24 desktop-auto`. */
47
- valueClass: _angular_core.InputSignal<string | undefined>;
48
- /** @ignore Wrapper around <ng-content>, used to detect projected content. */
49
- private readonly projectedWrap;
50
- /** @ignore Rich value was projected via <ng-content>. */
51
- protected readonly hasProjectedContent: _angular_core.WritableSignal<boolean>;
52
- constructor();
53
- /** @ignore A label is provided (drives the <dl>/<dt>/<dd> vs plain markup). */
54
- protected readonly hasLabel: _angular_core.Signal<boolean>;
55
- /** @ignore Displayed value, or the fallback when empty. */
56
- protected readonly displayValue: _angular_core.Signal<string>;
57
- /** @ignore The displayed value is the fallback placeholder (styled muted). */
58
- protected readonly isFallback: _angular_core.Signal<boolean>;
59
- /** @ignore Root (row) classes: base + modifiers + passthrough `rowClass`. */
60
- protected readonly rootClasses: _angular_core.Signal<string>;
61
- /** @ignore Label-cell classes: base + passthrough `labelClass`. */
62
- protected readonly labelClasses: _angular_core.Signal<string>;
63
- /** @ignore Value-cell classes: base + passthrough `valueClass`. */
64
- protected readonly valueCellClasses: _angular_core.Signal<string>;
65
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiReadOnly, never>;
66
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiReadOnly, "ui-read-only", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "labelTemplate": { "alias": "labelTemplate"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "fallback": { "alias": "fallback"; "required": false; "isSignal": true; }; "emptyLabel": { "alias": "emptyLabel"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "labelAlign": { "alias": "labelAlign"; "required": false; "isSignal": true; }; "labelWidth": { "alias": "labelWidth"; "required": false; "isSignal": true; }; "multiline": { "alias": "multiline"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "matchField": { "alias": "matchField"; "required": false; "isSignal": true; }; "rowClass": { "alias": "rowClass"; "required": false; "isSignal": true; }; "labelClass": { "alias": "labelClass"; "required": false; "isSignal": true; }; "valueClass": { "alias": "valueClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
67
- }
68
-
69
- export { UiReadOnly };
70
- export type { ReadOnlyAlign, ReadOnlyLayout, ReadOnlySize };
12
+ export declare class UiReadOnly {
13
+ /** Field label (plain string — i18n is the caller's responsibility). Rendered via `ui-label`. */
14
+ label: import("@angular/core").InputSignal<string | undefined>;
15
+ /** Shows the required marker (*) on the label — for parity with a required field. */
16
+ required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
17
+ /** Fully custom label markup, replacing the default `ui-label` (escape hatch). */
18
+ labelTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
19
+ /** Displayed value. Ignored when content is projected. */
20
+ value: import("@angular/core").InputSignal<string | number | null | undefined>;
21
+ /** Shown (muted) when the value is null / undefined / empty. */
22
+ fallback: import("@angular/core").InputSignal<string>;
23
+ /**
24
+ * Accessible text announced in place of the `fallback` symbol when the value
25
+ * is empty (e.g. "Non renseigné"). The visual `fallback` stays decorative.
26
+ */
27
+ emptyLabel: import("@angular/core").InputSignal<string | undefined>;
28
+ /** Stacked (`vertical`), side-by-side (`horizontal`), or grid-driven (`grid`). */
29
+ layout: import("@angular/core").InputSignal<ReadOnlyLayout>;
30
+ /** Text/label size. */
31
+ size: import("@angular/core").InputSignal<ReadOnlySize>;
32
+ /** Label text alignment (horizontal layout only). */
33
+ labelAlign: import("@angular/core").InputSignal<ReadOnlyAlign>;
34
+ /** Label column width in horizontal layout (any CSS length, e.g. `160px`, `30%`). Unset = hug content. */
35
+ labelWidth: import("@angular/core").InputSignal<string | undefined>;
36
+ /** Preserve line breaks in the value (`white-space: pre-line`). */
37
+ multiline: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
38
+ /** Hug content and flow inline instead of filling the container. */
39
+ inline: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
40
+ /**
41
+ * Adapt the layout to sit alongside form fields
42
+ */
43
+ matchField: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
44
+ /** Extra classes on the row (`<dl>`), e.g. a grid row class like `flex-x`. */
45
+ rowClass: import("@angular/core").InputSignal<string | undefined>;
46
+ /** Extra classes on the label cell (`<dt>`), e.g. `cell phone-24 desktop-auto`. */
47
+ labelClass: import("@angular/core").InputSignal<string | undefined>;
48
+ /** Extra classes on the value cell (`<dd>`), e.g. `cell phone-24 desktop-auto`. */
49
+ valueClass: import("@angular/core").InputSignal<string | undefined>;
50
+ /** @ignore Wrapper around <ng-content>, used to detect projected content. */
51
+ private readonly projectedWrap;
52
+ /** @ignore Rich value was projected via <ng-content>. */
53
+ protected readonly hasProjectedContent: import("@angular/core").WritableSignal<boolean>;
54
+ constructor();
55
+ /** @ignore A label is provided (drives the <dl>/<dt>/<dd> vs plain markup). */
56
+ protected readonly hasLabel: import("@angular/core").Signal<boolean>;
57
+ /** @ignore Displayed value, or the fallback when empty. */
58
+ protected readonly displayValue: import("@angular/core").Signal<string>;
59
+ /** @ignore The displayed value is the fallback placeholder (styled muted). */
60
+ protected readonly isFallback: import("@angular/core").Signal<boolean>;
61
+ /** @ignore Root (row) classes: base + modifiers + passthrough `rowClass`. */
62
+ protected readonly rootClasses: import("@angular/core").Signal<string>;
63
+ /** @ignore Label-cell classes: base + passthrough `labelClass`. */
64
+ protected readonly labelClasses: import("@angular/core").Signal<string>;
65
+ /** @ignore Value-cell classes: base + passthrough `valueClass`. */
66
+ protected readonly valueCellClasses: import("@angular/core").Signal<string>;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiReadOnly, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiReadOnly, "ui-read-only", never, {
69
+ "label": {
70
+ "alias": "label";
71
+ "required": false;
72
+ "isSignal": true;
73
+ };
74
+ "required": {
75
+ "alias": "required";
76
+ "required": false;
77
+ "isSignal": true;
78
+ };
79
+ "labelTemplate": {
80
+ "alias": "labelTemplate";
81
+ "required": false;
82
+ "isSignal": true;
83
+ };
84
+ "value": {
85
+ "alias": "value";
86
+ "required": false;
87
+ "isSignal": true;
88
+ };
89
+ "fallback": {
90
+ "alias": "fallback";
91
+ "required": false;
92
+ "isSignal": true;
93
+ };
94
+ "emptyLabel": {
95
+ "alias": "emptyLabel";
96
+ "required": false;
97
+ "isSignal": true;
98
+ };
99
+ "layout": {
100
+ "alias": "layout";
101
+ "required": false;
102
+ "isSignal": true;
103
+ };
104
+ "size": {
105
+ "alias": "size";
106
+ "required": false;
107
+ "isSignal": true;
108
+ };
109
+ "labelAlign": {
110
+ "alias": "labelAlign";
111
+ "required": false;
112
+ "isSignal": true;
113
+ };
114
+ "labelWidth": {
115
+ "alias": "labelWidth";
116
+ "required": false;
117
+ "isSignal": true;
118
+ };
119
+ "multiline": {
120
+ "alias": "multiline";
121
+ "required": false;
122
+ "isSignal": true;
123
+ };
124
+ "inline": {
125
+ "alias": "inline";
126
+ "required": false;
127
+ "isSignal": true;
128
+ };
129
+ "matchField": {
130
+ "alias": "matchField";
131
+ "required": false;
132
+ "isSignal": true;
133
+ };
134
+ "rowClass": {
135
+ "alias": "rowClass";
136
+ "required": false;
137
+ "isSignal": true;
138
+ };
139
+ "labelClass": {
140
+ "alias": "labelClass";
141
+ "required": false;
142
+ "isSignal": true;
143
+ };
144
+ "valueClass": {
145
+ "alias": "valueClass";
146
+ "required": false;
147
+ "isSignal": true;
148
+ };
149
+ }, {}, never, ["*"], true, never>;
150
+ }
@@ -1,9 +1,11 @@
1
- import * as _angular_core from '@angular/core';
2
-
3
- type SeparatorOrientation = 'horizontal' | 'vertical';
4
- type SeparatorVariant = 'solid' | 'dashed';
5
- type SeparatorSize = 'default' | 'small';
6
- type SeparatorLabelAlign = 'start' | 'center' | 'end';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import * as i0 from "@angular/core";
5
+ export type SeparatorOrientation = 'horizontal' | 'vertical';
6
+ export type SeparatorVariant = 'solid' | 'dashed';
7
+ export type SeparatorSize = 'default' | 'small';
8
+ export type SeparatorLabelAlign = 'start' | 'center' | 'end';
7
9
  /**
8
10
  * ui-separator — visual + semantic divider between content.
9
11
  *
@@ -12,32 +14,60 @@ type SeparatorLabelAlign = 'start' | 'center' | 'end';
12
14
  * the start, center or end of the line. The line style is driven by `variant` (solid/dashed)
13
15
  * and its thickness by `size` (default 2px / small 1px).
14
16
  */
15
- declare class UiSeparator {
16
- /** Optional text label (turns the rule into a labelled divider). */
17
- label: _angular_core.InputSignal<string | undefined>;
18
- /** Orientation of the rule (maps to the Figma `Axe` property). */
19
- orientation: _angular_core.InputSignal<SeparatorOrientation>;
20
- /** Line style (maps to the Figma `Type`: Default → solid, Dashed → dashed). */
21
- variant: _angular_core.InputSignal<SeparatorVariant>;
22
- /** Line thickness (default 2px, small 1px). */
23
- size: _angular_core.InputSignal<SeparatorSize>;
24
- /** Label placement along the line (maps to Figma `Label Align`: Default/Middle/End). */
25
- labelAlign: _angular_core.InputSignal<SeparatorLabelAlign>;
26
- /** Accessible name override (defaults to `label` when present). */
27
- ariaLabel: _angular_core.InputSignal<string | undefined>;
28
- /** @ignore A label is provided. */
29
- protected readonly hasLabel: _angular_core.Signal<boolean>;
30
- /** @ignore A line segment precedes the label (center/end alignment). */
31
- protected readonly lineBeforeLabel: _angular_core.Signal<boolean>;
32
- /** @ignore A line segment follows the label (center/start alignment). */
33
- protected readonly lineAfterLabel: _angular_core.Signal<boolean>;
34
- /** @ignore Accessible name: explicit override, else the visible label. */
35
- protected readonly accessibleName: _angular_core.Signal<string | null>;
36
- /** @ignore */
37
- protected readonly classes: _angular_core.Signal<string>;
38
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiSeparator, never>;
39
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiSeparator, "ui-separator", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "labelAlign": { "alias": "labelAlign"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
40
- }
41
-
42
- export { UiSeparator };
43
- export type { SeparatorLabelAlign, SeparatorOrientation, SeparatorSize, SeparatorVariant };
17
+ export declare class UiSeparator {
18
+ /** Optional text label (turns the rule into a labelled divider). */
19
+ label: import("@angular/core").InputSignal<string | undefined>;
20
+ /** Orientation of the rule (maps to the Figma `Axe` property). */
21
+ orientation: import("@angular/core").InputSignal<SeparatorOrientation>;
22
+ /** Line style (maps to the Figma `Type`: Default → solid, Dashed → dashed). */
23
+ variant: import("@angular/core").InputSignal<SeparatorVariant>;
24
+ /** Line thickness (default 2px, small 1px). */
25
+ size: import("@angular/core").InputSignal<SeparatorSize>;
26
+ /** Label placement along the line (maps to Figma `Label Align`: Default/Middle/End). */
27
+ labelAlign: import("@angular/core").InputSignal<SeparatorLabelAlign>;
28
+ /** Accessible name override (defaults to `label` when present). */
29
+ ariaLabel: import("@angular/core").InputSignal<string | undefined>;
30
+ /** @ignore A label is provided. */
31
+ protected readonly hasLabel: import("@angular/core").Signal<boolean>;
32
+ /** @ignore A line segment precedes the label (center/end alignment). */
33
+ protected readonly lineBeforeLabel: import("@angular/core").Signal<boolean>;
34
+ /** @ignore A line segment follows the label (center/start alignment). */
35
+ protected readonly lineAfterLabel: import("@angular/core").Signal<boolean>;
36
+ /** @ignore Accessible name: explicit override, else the visible label. */
37
+ protected readonly accessibleName: import("@angular/core").Signal<string | null>;
38
+ /** @ignore */
39
+ protected readonly classes: import("@angular/core").Signal<string>;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiSeparator, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiSeparator, "ui-separator", never, {
42
+ "label": {
43
+ "alias": "label";
44
+ "required": false;
45
+ "isSignal": true;
46
+ };
47
+ "orientation": {
48
+ "alias": "orientation";
49
+ "required": false;
50
+ "isSignal": true;
51
+ };
52
+ "variant": {
53
+ "alias": "variant";
54
+ "required": false;
55
+ "isSignal": true;
56
+ };
57
+ "size": {
58
+ "alias": "size";
59
+ "required": false;
60
+ "isSignal": true;
61
+ };
62
+ "labelAlign": {
63
+ "alias": "labelAlign";
64
+ "required": false;
65
+ "isSignal": true;
66
+ };
67
+ "ariaLabel": {
68
+ "alias": "ariaLabel";
69
+ "required": false;
70
+ "isSignal": true;
71
+ };
72
+ }, {}, never, never, true, never>;
73
+ }
@@ -1,11 +1,13 @@
1
- import * as _angular_core from '@angular/core';
2
-
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import * as i0 from "@angular/core";
3
5
  /** Visual shape of the placeholder. */
4
- type UiSkeletonShape = 'text' | 'circle' | 'rectangle';
6
+ export type UiSkeletonShape = 'text' | 'circle' | 'rectangle';
5
7
  /** Size preset (per-shape default dimensions). */
6
- type UiSkeletonSize = 'default' | 'small';
8
+ export type UiSkeletonSize = 'default' | 'small';
7
9
  /** Loading animation style. */
8
- type UiSkeletonAnimation = 'wave' | 'pulse' | 'none';
10
+ export type UiSkeletonAnimation = 'wave' | 'pulse' | 'none';
9
11
  /**
10
12
  * ui-skeleton — a placeholder shown in place of content while it loads.
11
13
  *
@@ -23,30 +25,58 @@ type UiSkeletonAnimation = 'wave' | 'pulse' | 'none';
23
25
  * `aria-busy="true"` to announce the loading region. Motion honours the OS
24
26
  * reduced-motion preference and the kit-wide `data-motion="off"` switch.
25
27
  */
26
- declare class UiSkeleton {
27
- /** Shape of the placeholder. */
28
- shape: _angular_core.InputSignal<UiSkeletonShape>;
29
- /** Size preset (per-shape default dimensions). */
30
- size: _angular_core.InputSignal<UiSkeletonSize>;
31
- /** Raw CSS width, overriding the shape default (e.g. "100%", "10rem"). */
32
- width: _angular_core.InputSignal<string | undefined>;
33
- /** Raw CSS height, overriding the shape default (e.g. "1rem", "50px"). */
34
- height: _angular_core.InputSignal<string | undefined>;
35
- /** Raw CSS border-radius, overriding the shape default. */
36
- borderRadius: _angular_core.InputSignal<string | undefined>;
37
- /** Loading animation (base is `wave` — a reflection sweeping across the box). */
38
- animation: _angular_core.InputSignal<UiSkeletonAnimation>;
39
- /** @ignore Inline style overrides (win over the token-driven defaults). */
40
- protected readonly boxStyle: _angular_core.Signal<{
41
- width: string | null;
42
- height: string | null;
43
- 'border-radius': string | null;
44
- }>;
45
- /** @ignore */
46
- protected readonly classes: _angular_core.Signal<string>;
47
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiSkeleton, never>;
48
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiSkeleton, "ui-skeleton", never, { "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "borderRadius"; "required": false; "isSignal": true; }; "animation": { "alias": "animation"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
49
- }
50
-
51
- export { UiSkeleton };
52
- export type { UiSkeletonAnimation, UiSkeletonShape, UiSkeletonSize };
28
+ export declare class UiSkeleton {
29
+ /** Shape of the placeholder. */
30
+ shape: import("@angular/core").InputSignal<UiSkeletonShape>;
31
+ /** Size preset (per-shape default dimensions). */
32
+ size: import("@angular/core").InputSignal<UiSkeletonSize>;
33
+ /** Raw CSS width, overriding the shape default (e.g. "100%", "10rem"). */
34
+ width: import("@angular/core").InputSignal<string | undefined>;
35
+ /** Raw CSS height, overriding the shape default (e.g. "1rem", "50px"). */
36
+ height: import("@angular/core").InputSignal<string | undefined>;
37
+ /** Raw CSS border-radius, overriding the shape default. */
38
+ borderRadius: import("@angular/core").InputSignal<string | undefined>;
39
+ /** Loading animation (base is `wave` — a reflection sweeping across the box). */
40
+ animation: import("@angular/core").InputSignal<UiSkeletonAnimation>;
41
+ /** @ignore Inline style overrides (win over the token-driven defaults). */
42
+ protected readonly boxStyle: import("@angular/core").Signal<{
43
+ width: string | null;
44
+ height: string | null;
45
+ 'border-radius': string | null;
46
+ }>;
47
+ /** @ignore */
48
+ protected readonly classes: import("@angular/core").Signal<string>;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiSkeleton, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiSkeleton, "ui-skeleton", never, {
51
+ "shape": {
52
+ "alias": "shape";
53
+ "required": false;
54
+ "isSignal": true;
55
+ };
56
+ "size": {
57
+ "alias": "size";
58
+ "required": false;
59
+ "isSignal": true;
60
+ };
61
+ "width": {
62
+ "alias": "width";
63
+ "required": false;
64
+ "isSignal": true;
65
+ };
66
+ "height": {
67
+ "alias": "height";
68
+ "required": false;
69
+ "isSignal": true;
70
+ };
71
+ "borderRadius": {
72
+ "alias": "borderRadius";
73
+ "required": false;
74
+ "isSignal": true;
75
+ };
76
+ "animation": {
77
+ "alias": "animation";
78
+ "required": false;
79
+ "isSignal": true;
80
+ };
81
+ }, {}, never, never, true, never>;
82
+ }
@@ -1,9 +1,11 @@
1
- import * as _angular_core from '@angular/core';
2
- import { TemplateRef } from '@angular/core';
3
- import { UiIconSize } from '@4sh/ui-kit/base/ui-icon';
4
-
5
- type UiSpinnerSize = 'default' | 'small';
6
- type UiSpinnerOrientation = 'vertical' | 'horizontal';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import * as i0 from "@angular/core";
5
+ import { TemplateRef } from "@angular/core";
6
+ import { UiIconSize } from "@4sh/ui-kit/base/ui-icon";
7
+ export type UiSpinnerSize = 'default' | 'small';
8
+ export type UiSpinnerOrientation = 'vertical' | 'horizontal';
7
9
  /** How the animated mark is rendered (derived from which input is set). */
8
10
  type SpinnerMark = 'template' | 'image' | 'icon' | 'svg';
9
11
  /**
@@ -20,48 +22,107 @@ type SpinnerMark = 'template' | 'image' | 'icon' | 'svg';
20
22
  * name; the mark is decorative (`aria-hidden`). Motion honours the OS
21
23
  * reduced-motion preference and the kit-wide `data-motion="off"` switch.
22
24
  */
23
- declare class UiSpinner {
24
- /** Size preset (also override the raw box via the `--ui-spinner-size` CSS var). */
25
- size: _angular_core.InputSignal<UiSpinnerSize>;
26
- /** Layout of the mark relative to the label (only relevant when `label` is set). */
27
- orientation: _angular_core.InputSignal<UiSpinnerOrientation>;
28
- /** Optional visible loading text, rendered inside the live region. */
29
- label: _angular_core.InputSignal<string | undefined>;
30
- /** Accessible name. Falls back to the visible `label`, then to "Chargement". */
31
- ariaLabel: _angular_core.InputSignal<string | undefined>;
32
- /** Custom mark content; takes precedence over every other mark source. */
33
- spinnerTemplate: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
34
- /** Image URL used as the mark (shown as-is — carries its own motion). */
35
- image: _angular_core.InputSignal<string | undefined>;
36
- /** Alt text for the image mark (empty = decorative, the default). */
37
- imageAlt: _angular_core.InputSignal<string>;
38
- /** FontAwesome icon name used as the mark (rotated by the component). */
39
- icon: _angular_core.InputSignal<string | undefined>;
40
- /** Stroke width of the default circle, in the 0–50 viewBox scale. */
41
- strokeWidth: _angular_core.InputSignal<string | number>;
42
- /** Fill of the default circle (`none` = ring only). */
43
- fill: _angular_core.InputSignal<string>;
44
- /** Duration of one rotation (any CSS time), shared with the icon mark. */
45
- animationDuration: _angular_core.InputSignal<string>;
46
- /**
47
- * Grace delay before the spinner appears, in ms. Prevents a flash of the
48
- * loader for waits shorter than the delay (a common loading UX best practice).
49
- */
50
- delay: _angular_core.InputSignal<number>;
51
- /** @ignore Visible once the grace delay (if any) has elapsed. */
52
- protected readonly visible: _angular_core.WritableSignal<boolean>;
53
- constructor();
54
- /** @ignore Which mark to render. */
55
- protected readonly markKind: _angular_core.Signal<SpinnerMark>;
56
- /** @ignore Icon size matching the spinner box (default → xl, small → default). */
57
- protected readonly iconSize: _angular_core.Signal<UiIconSize>;
58
- /** @ignore Accessible name: explicit, else the visible label reads on its own, else a default. */
59
- protected readonly rootAriaLabel: _angular_core.Signal<string | null>;
60
- /** @ignore */
61
- protected readonly classes: _angular_core.Signal<string>;
62
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiSpinner, never>;
63
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiSpinner, "ui-spinner", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "spinnerTemplate": { "alias": "spinnerTemplate"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "imageAlt": { "alias": "imageAlt"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; "isSignal": true; }; "fill": { "alias": "fill"; "required": false; "isSignal": true; }; "animationDuration": { "alias": "animationDuration"; "required": false; "isSignal": true; }; "delay": { "alias": "delay"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
25
+ export declare class UiSpinner {
26
+ /** Size preset (also override the raw box via the `--ui-spinner-size` CSS var). */
27
+ size: import("@angular/core").InputSignal<UiSpinnerSize>;
28
+ /** Layout of the mark relative to the label (only relevant when `label` is set). */
29
+ orientation: import("@angular/core").InputSignal<UiSpinnerOrientation>;
30
+ /** Optional visible loading text, rendered inside the live region. */
31
+ label: import("@angular/core").InputSignal<string | undefined>;
32
+ /** Accessible name. Falls back to the visible `label`, then to "Chargement". */
33
+ ariaLabel: import("@angular/core").InputSignal<string | undefined>;
34
+ /** Custom mark content; takes precedence over every other mark source. */
35
+ spinnerTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
36
+ /** Image URL used as the mark (shown as-is — carries its own motion). */
37
+ image: import("@angular/core").InputSignal<string | undefined>;
38
+ /** Alt text for the image mark (empty = decorative, the default). */
39
+ imageAlt: import("@angular/core").InputSignal<string>;
40
+ /** FontAwesome icon name used as the mark (rotated by the component). */
41
+ icon: import("@angular/core").InputSignal<string | undefined>;
42
+ /** Stroke width of the default circle, in the 0–50 viewBox scale. */
43
+ strokeWidth: import("@angular/core").InputSignal<string | number>;
44
+ /** Fill of the default circle (`none` = ring only). */
45
+ fill: import("@angular/core").InputSignal<string>;
46
+ /** Duration of one rotation (any CSS time), shared with the icon mark. */
47
+ animationDuration: import("@angular/core").InputSignal<string>;
48
+ /**
49
+ * Grace delay before the spinner appears, in ms. Prevents a flash of the
50
+ * loader for waits shorter than the delay (a common loading UX best practice).
51
+ */
52
+ delay: import("@angular/core").InputSignal<number>;
53
+ /** @ignore Visible once the grace delay (if any) has elapsed. */
54
+ protected readonly visible: import("@angular/core").WritableSignal<boolean>;
55
+ constructor();
56
+ /** @ignore Which mark to render. */
57
+ protected readonly markKind: import("@angular/core").Signal<SpinnerMark>;
58
+ /** @ignore Icon size matching the spinner box (default → xl, small → default). */
59
+ protected readonly iconSize: import("@angular/core").Signal<UiIconSize>;
60
+ /** @ignore Accessible name: explicit, else the visible label reads on its own, else a default. */
61
+ protected readonly rootAriaLabel: import("@angular/core").Signal<string | null>;
62
+ /** @ignore */
63
+ protected readonly classes: import("@angular/core").Signal<string>;
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiSpinner, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiSpinner, "ui-spinner", never, {
66
+ "size": {
67
+ "alias": "size";
68
+ "required": false;
69
+ "isSignal": true;
70
+ };
71
+ "orientation": {
72
+ "alias": "orientation";
73
+ "required": false;
74
+ "isSignal": true;
75
+ };
76
+ "label": {
77
+ "alias": "label";
78
+ "required": false;
79
+ "isSignal": true;
80
+ };
81
+ "ariaLabel": {
82
+ "alias": "ariaLabel";
83
+ "required": false;
84
+ "isSignal": true;
85
+ };
86
+ "spinnerTemplate": {
87
+ "alias": "spinnerTemplate";
88
+ "required": false;
89
+ "isSignal": true;
90
+ };
91
+ "image": {
92
+ "alias": "image";
93
+ "required": false;
94
+ "isSignal": true;
95
+ };
96
+ "imageAlt": {
97
+ "alias": "imageAlt";
98
+ "required": false;
99
+ "isSignal": true;
100
+ };
101
+ "icon": {
102
+ "alias": "icon";
103
+ "required": false;
104
+ "isSignal": true;
105
+ };
106
+ "strokeWidth": {
107
+ "alias": "strokeWidth";
108
+ "required": false;
109
+ "isSignal": true;
110
+ };
111
+ "fill": {
112
+ "alias": "fill";
113
+ "required": false;
114
+ "isSignal": true;
115
+ };
116
+ "animationDuration": {
117
+ "alias": "animationDuration";
118
+ "required": false;
119
+ "isSignal": true;
120
+ };
121
+ "delay": {
122
+ "alias": "delay";
123
+ "required": false;
124
+ "isSignal": true;
125
+ };
126
+ }, {}, never, never, true, never>;
64
127
  }
65
-
66
- export { UiSpinner };
67
- export type { UiSpinnerOrientation, UiSpinnerSize };
128
+ export {};