@4sh/ui-kit 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/README.fr.md +10 -10
  2. package/README.md +10 -10
  3. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +542 -150
  4. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
  5. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +622 -248
  6. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
  7. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +385 -152
  8. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
  9. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +748 -433
  10. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs.map +1 -1
  11. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +227 -135
  12. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
  13. package/fesm2022/4sh-ui-kit-base-ui-image.mjs +1200 -633
  14. package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
  15. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +1675 -1000
  16. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
  17. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +243 -117
  18. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
  19. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +2294 -2048
  20. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
  21. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +1058 -1113
  22. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
  23. package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs +1108 -0
  24. package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs.map +1 -0
  25. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +397 -141
  26. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
  27. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +1529 -583
  28. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
  29. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +383 -224
  30. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -1
  31. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +345 -177
  32. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
  33. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +280 -138
  34. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
  35. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +507 -257
  36. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
  37. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +401 -312
  38. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
  39. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +1277 -697
  40. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
  41. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +467 -199
  42. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
  43. package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +394 -270
  44. package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs.map +1 -1
  45. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +140 -60
  46. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -1
  47. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +386 -167
  48. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
  49. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +150 -87
  50. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
  51. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +345 -180
  52. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
  53. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +582 -392
  54. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
  55. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +1552 -888
  56. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
  57. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +485 -338
  58. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
  59. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +503 -311
  60. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -1
  61. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +271 -137
  62. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
  63. package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +457 -214
  64. package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs.map +1 -1
  65. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +711 -371
  66. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -1
  67. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +235 -121
  68. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
  69. package/fesm2022/4sh-ui-kit-forms.mjs +721 -638
  70. package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
  71. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +546 -242
  72. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
  73. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +335 -157
  74. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
  75. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +53 -33
  76. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -1
  77. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +218 -121
  78. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -1
  79. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +192 -100
  80. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
  81. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +456 -204
  82. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
  83. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +314 -147
  84. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -1
  85. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +179 -82
  86. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -1
  87. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +268 -123
  88. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
  89. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +391 -146
  90. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
  91. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +158 -76
  92. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -1
  93. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +159 -80
  94. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -1
  95. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +295 -131
  96. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
  97. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +211 -83
  98. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
  99. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +784 -414
  100. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
  101. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +822 -476
  102. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
  103. package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +1014 -599
  104. package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs.map +1 -1
  105. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +403 -189
  106. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -1
  107. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +707 -272
  108. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
  109. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +1146 -568
  110. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
  111. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +519 -308
  112. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
  113. package/fesm2022/4sh-ui-kit-motion.mjs +252 -150
  114. package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
  115. package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +793 -341
  116. package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map +1 -1
  117. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +351 -194
  118. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
  119. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +511 -220
  120. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
  121. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +910 -548
  122. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
  123. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +1128 -555
  124. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
  125. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +915 -470
  126. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
  127. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +931 -474
  128. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
  129. package/fesm2022/4sh-ui-kit-overlay.mjs +26 -109
  130. package/fesm2022/4sh-ui-kit-overlay.mjs.map +1 -1
  131. package/fesm2022/4sh-ui-kit-ripple.mjs +329 -290
  132. package/fesm2022/4sh-ui-kit-ripple.mjs.map +1 -1
  133. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +709 -248
  134. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
  135. package/fesm2022/4sh-ui-kit-table-ui-table.mjs +2633 -1370
  136. package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
  137. package/fesm2022/4sh-ui-kit-theming.mjs +112 -113
  138. package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
  139. package/fesm2022/4sh-ui-kit-types.mjs +0 -12
  140. package/fesm2022/4sh-ui-kit.mjs +3 -15
  141. package/fesm2022/4sh-ui-kit.mjs.map +1 -1
  142. package/mcp/data/component-api.json +299 -2
  143. package/mcp/data/text-search-docs.json +149 -9
  144. package/mcp/data/ui-config.json +378 -1
  145. package/mcp/index.js +8190 -2876
  146. package/mcp/package.json +1 -1
  147. package/package.json +5 -1
  148. package/styles/component-vars.scss +22 -1
  149. package/types/4sh-ui-kit-actions-ui-button-split.d.ts +198 -87
  150. package/types/4sh-ui-kit-actions-ui-button.d.ts +240 -116
  151. package/types/4sh-ui-kit-actions-ui-link.d.ts +136 -67
  152. package/types/4sh-ui-kit-actions-ui-speed-dial.d.ts +287 -180
  153. package/types/4sh-ui-kit-base-ui-icon.d.ts +92 -58
  154. package/types/4sh-ui-kit-base-ui-image.d.ts +406 -205
  155. package/types/4sh-ui-kit-forms-ui-autocomplete.d.ts +573 -376
  156. package/types/4sh-ui-kit-forms-ui-checkbox.d.ts +77 -42
  157. package/types/4sh-ui-kit-forms-ui-datepicker.d.ts +953 -700
  158. package/types/4sh-ui-kit-forms-ui-editor.d.ts +374 -340
  159. package/types/4sh-ui-kit-forms-ui-field-sign.d.ts +325 -0
  160. package/types/4sh-ui-kit-forms-ui-field.d.ts +150 -64
  161. package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +583 -241
  162. package/types/4sh-ui-kit-forms-ui-input-date.d.ts +152 -103
  163. package/types/4sh-ui-kit-forms-ui-input-group.d.ts +109 -63
  164. package/types/4sh-ui-kit-forms-ui-input-mask.d.ts +93 -59
  165. package/types/4sh-ui-kit-forms-ui-input-number.d.ts +171 -96
  166. package/types/4sh-ui-kit-forms-ui-input-otp.d.ts +137 -104
  167. package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +469 -309
  168. package/types/4sh-ui-kit-forms-ui-input.d.ts +198 -118
  169. package/types/4sh-ui-kit-forms-ui-knob.d.ts +132 -80
  170. package/types/4sh-ui-kit-forms-ui-label.d.ts +47 -22
  171. package/types/4sh-ui-kit-forms-ui-nudger.d.ts +134 -67
  172. package/types/4sh-ui-kit-forms-ui-radio.d.ts +48 -33
  173. package/types/4sh-ui-kit-forms-ui-rating.d.ts +120 -86
  174. package/types/4sh-ui-kit-forms-ui-segment-control.d.ts +221 -147
  175. package/types/4sh-ui-kit-forms-ui-select.d.ts +561 -357
  176. package/types/4sh-ui-kit-forms-ui-slider.d.ts +156 -105
  177. package/types/4sh-ui-kit-forms-ui-swatch-picker.d.ts +133 -97
  178. package/types/4sh-ui-kit-forms-ui-textarea.d.ts +90 -56
  179. package/types/4sh-ui-kit-forms-ui-toggle-block.d.ts +158 -94
  180. package/types/4sh-ui-kit-forms-ui-toggle-button.d.ts +314 -178
  181. package/types/4sh-ui-kit-forms-ui-toggle.d.ts +88 -54
  182. package/types/4sh-ui-kit-forms.d.ts +275 -194
  183. package/types/4sh-ui-kit-informative-ui-accordion.d.ts +162 -92
  184. package/types/4sh-ui-kit-informative-ui-alert.d.ts +128 -62
  185. package/types/4sh-ui-kit-informative-ui-avatar-group.d.ts +8 -8
  186. package/types/4sh-ui-kit-informative-ui-avatar.d.ts +81 -44
  187. package/types/4sh-ui-kit-informative-ui-badge.d.ts +71 -41
  188. package/types/4sh-ui-kit-informative-ui-chip.d.ts +194 -99
  189. package/types/4sh-ui-kit-informative-ui-empty-state.d.ts +105 -65
  190. package/types/4sh-ui-kit-informative-ui-helper.d.ts +64 -34
  191. package/types/4sh-ui-kit-informative-ui-progress-bar.d.ts +120 -65
  192. package/types/4sh-ui-kit-informative-ui-read-only.d.ts +147 -67
  193. package/types/4sh-ui-kit-informative-ui-separator.d.ts +65 -35
  194. package/types/4sh-ui-kit-informative-ui-skeleton.d.ts +62 -32
  195. package/types/4sh-ui-kit-informative-ui-spinner.d.ts +111 -50
  196. package/types/4sh-ui-kit-informative-ui-tag.d.ts +77 -37
  197. package/types/4sh-ui-kit-informative-ui-toast.d.ts +300 -180
  198. package/types/4sh-ui-kit-informative-ui-tooltip.d.ts +269 -141
  199. package/types/4sh-ui-kit-layout-ui-bottom-sheet.d.ts +360 -221
  200. package/types/4sh-ui-kit-layout-ui-card.d.ts +119 -79
  201. package/types/4sh-ui-kit-layout-ui-drawer.d.ts +244 -120
  202. package/types/4sh-ui-kit-layout-ui-modal.d.ts +409 -222
  203. package/types/4sh-ui-kit-layout-ui-popover.d.ts +149 -91
  204. package/types/4sh-ui-kit-motion.d.ts +117 -67
  205. package/types/4sh-ui-kit-navigation-ui-bottom-tab-bar.d.ts +279 -145
  206. package/types/4sh-ui-kit-navigation-ui-breadcrumb.d.ts +134 -96
  207. package/types/4sh-ui-kit-navigation-ui-context-menu.d.ts +148 -89
  208. package/types/4sh-ui-kit-navigation-ui-menu.d.ts +282 -201
  209. package/types/4sh-ui-kit-navigation-ui-sidebar.d.ts +425 -261
  210. package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +279 -183
  211. package/types/4sh-ui-kit-navigation-ui-tabs.d.ts +275 -173
  212. package/types/4sh-ui-kit-overlay.d.ts +6 -6
  213. package/types/4sh-ui-kit-ripple.d.ts +99 -74
  214. package/types/4sh-ui-kit-table-ui-paginator.d.ts +237 -133
  215. package/types/4sh-ui-kit-table-ui-table.d.ts +769 -470
  216. package/types/4sh-ui-kit-theming.d.ts +27 -29
  217. package/types/4sh-ui-kit-types.d.ts +6 -5
  218. package/types/4sh-ui-kit.d.ts +4 -3
  219. package/fesm2022/4sh-ui-kit-types.mjs.map +0 -1
@@ -1,18 +1,20 @@
1
- import * as _angular_core from '@angular/core';
2
- import { TemplateRef } from '@angular/core';
3
- import { BaseFormField } from '@4sh/ui-kit/forms';
4
- import { UiIconSize } from '@4sh/ui-kit/base/ui-icon';
5
-
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import * as i0 from "@angular/core";
5
+ import { TemplateRef } from "@angular/core";
6
+ import { BaseFormField } from "@4sh/ui-kit/forms";
7
+ import { UiIconSize } from "@4sh/ui-kit/base/ui-icon";
6
8
  /** Supported text types (numeric has its dedicated `ui-input-number` component). */
7
- type InputType = 'text' | 'password' | 'email' | 'tel' | 'url' | 'search';
9
+ export type InputType = 'text' | 'password' | 'email' | 'tel' | 'url' | 'search';
8
10
  /** Context handed to the `#iconLeft` / `#iconRight` templates. */
9
- interface UiInputIconContext {
10
- /** Icon name configured on that side (`iconLeft` / `iconRight`), if any. */
11
- $implicit: string | undefined;
12
- /** Icon size matching the field size. */
13
- size: UiIconSize;
14
- /** Whether the field is disabled. */
15
- disabled: boolean;
11
+ export interface UiInputIconContext {
12
+ /** Icon name configured on that side (`iconLeft` / `iconRight`), if any. */
13
+ $implicit: string | undefined;
14
+ /** Icon size matching the field size. */
15
+ size: UiIconSize;
16
+ /** Whether the field is disabled. */
17
+ disabled: boolean;
16
18
  }
17
19
  /**
18
20
  * ui-input — headless composed text field, built on the `ui-field` shell
@@ -30,108 +32,186 @@ interface UiInputIconContext {
30
32
  * Standalone, `[(ngModel)]` or reactive forms (ControlValueAccessor via BaseFormField).
31
33
  * For numbers → `ui-input-number`, for masks → `ui-input-mask`.
32
34
  */
33
- declare class UiInput extends BaseFormField<string> {
34
- /** Native input type. */
35
- type: _angular_core.InputSignal<InputType>;
36
- /**
37
- * Display-only value (bypasses the CVA model). For composite hosts
38
- * (e.g. `ui-datepicker`) that own the visible text and read it back via
39
- * `valueChange` — leave unset when using `[(ngModel)]`/reactive forms.
40
- */
41
- value: _angular_core.InputSignal<string | undefined>;
42
- /** `aria-haspopup` forwarded to the native input (popup trigger hosts). */
43
- ariaHasPopup: _angular_core.InputSignal<"menu" | "listbox" | "tree" | "grid" | "dialog" | undefined>;
44
- /**
45
- * `aria-expanded` forwarded to the native input (popup trigger hosts).
46
- * Setting it also promotes the input to `role="combobox"`: `aria-expanded`
47
- * is not allowed on the implicit `textbox` role, so screen readers would
48
- * silently drop the popup state without it.
49
- */
50
- ariaExpanded: _angular_core.InputSignal<boolean | undefined>;
51
- /** `aria-controls` forwarded to the native input (popup trigger hosts). */
52
- ariaControls: _angular_core.InputSignal<string | undefined>;
53
- /** Native placeholder. */
54
- placeholder: _angular_core.InputSignal<string | undefined>;
55
- /**
56
- * id of an external element describing this control further (e.g. a composite host's own
57
- * format hint), chained onto `aria-describedby` alongside the helper/error message rather than
58
- * replacing it — a plain `[attr.aria-describedby]` override on the host would clobber whichever
59
- * of the two lands last.
60
- */
61
- ariaDescribedBy: _angular_core.InputSignal<string | undefined>;
62
- /** Suffix unit (e.g. "%", "@domain"). Shown when provided. */
63
- unit: _angular_core.InputSignal<string | undefined>;
64
- /** Left FontAwesome icon name (decorative). */
65
- iconLeft: _angular_core.InputSignal<string | undefined>;
66
- /** Right FontAwesome icon name. */
67
- iconRight: _angular_core.InputSignal<string | undefined>;
68
- /**
69
- * Accessible name of the right icon. **When provided, the right icon becomes a
70
- * clickable action zone** (square, full-height button) that emits `iconRightClick`.
71
- */
72
- iconRightAriaLabel: _angular_core.InputSignal<string | undefined>;
73
- /** Native autocomplete. */
74
- autocomplete: _angular_core.InputSignal<string | undefined>;
75
- /** Native maxlength. */
76
- maxlength: _angular_core.InputSignal<number | undefined>;
77
- /** Left-icon template, provided programmatically (composite hosts like `ui-datepicker`). */
78
- iconLeftTemplate: _angular_core.InputSignal<TemplateRef<UiInputIconContext> | undefined>;
79
- /** Right-icon template, provided programmatically (composite hosts like `ui-datepicker`). */
80
- iconRightTemplate: _angular_core.InputSignal<TemplateRef<UiInputIconContext> | undefined>;
81
- /** Custom left icon: `<ng-template #iconLeft let-name let-size="size">`. */
82
- private readonly iconLeftTemplateContent;
83
- /** Custom right icon: `<ng-template #iconRight let-name let-size="size">`. */
84
- private readonly iconRightTemplateContent;
85
- /** Emitted on each input with the new value. */
86
- valueChange: _angular_core.OutputEmitterRef<string>;
87
- /** Emitted on click of the right action zone (active when `iconRightAriaLabel` is set). */
88
- iconRightClick: _angular_core.OutputEmitterRef<MouseEvent>;
89
- /** Emitted when the input receives focus. */
90
- inputFocus: _angular_core.OutputEmitterRef<FocusEvent>;
91
- /** Emitted when the input loses focus. */
92
- inputBlur: _angular_core.OutputEmitterRef<FocusEvent>;
93
- /** @ignore */
94
- private readonly inputEl;
95
- /** @ignore Icon size aligned with the field size. */
96
- protected readonly iconSize: _angular_core.Signal<UiIconSize>;
97
- /** @ignore Text rendered in the input: display-only `value` wins over the model. */
98
- protected readonly renderedValue: _angular_core.Signal<string>;
99
- /** @ignore Keeps a floating label raised once focus leaves. */
100
- protected readonly isFilled: _angular_core.Signal<boolean>;
101
- /** @ignore At rest the floating label already holds that spot. */
102
- protected readonly effectivePlaceholder: _angular_core.Signal<string>;
103
- /** @ignore Input wins over the projected `#iconLeft` template. */
104
- protected readonly resolvedIconLeftTemplate: _angular_core.Signal<TemplateRef<UiInputIconContext> | undefined>;
105
- /** @ignore Input wins over the projected `#iconRight` template. */
106
- protected readonly resolvedIconRightTemplate: _angular_core.Signal<TemplateRef<UiInputIconContext> | undefined>;
107
- /** @ignore */
108
- protected readonly leftIconContext: _angular_core.Signal<UiInputIconContext>;
109
- /** @ignore */
110
- protected readonly rightIconContext: _angular_core.Signal<UiInputIconContext>;
111
- /** @ignore The right icon is an action zone (has an accessible name). */
112
- protected readonly hasRightAction: _angular_core.Signal<boolean>;
113
- /** @ignore Full `aria-describedby`: the helper/error message id (only when a message is
114
- * actually rendered) plus the externally supplied `ariaDescribedBy`, space-joined — `null`
115
- * when neither applies (native attribute is then omitted, not left dangling). */
116
- protected readonly resolvedAriaDescribedBy: _angular_core.Signal<string | null>;
117
- /** @ignore ARIA 1.2: only `combobox` (not the implicit `textbox`) accepts
118
- * `aria-expanded`. Stays null for plain text fields so their announcement
119
- * ("edit text") is untouched. */
120
- protected readonly nativeRole: _angular_core.Signal<"combobox" | null>;
121
- /** Focuses the input. */
122
- focus(options?: FocusOptions): void;
123
- /** Native `<input>` element — composite hosts that own `value` (e.g. `ui-datepicker`)
124
- * need direct DOM access to control the caret while reformatting text as typed. */
125
- nativeInputElement(): HTMLInputElement;
126
- /** @ignore Input: single source of the value (view → form). */
127
- protected onInput(): void;
128
- /** @ignore Value written by the browser without an `input` event. */
129
- protected onBrowserFill(): void;
130
- /** @ignore */
131
- protected onBlur(event: FocusEvent): void;
132
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiInput, never>;
133
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiInput, "ui-input", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; "isSignal": true; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "ariaControls"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "iconLeft": { "alias": "iconLeft"; "required": false; "isSignal": true; }; "iconRight": { "alias": "iconRight"; "required": false; "isSignal": true; }; "iconRightAriaLabel": { "alias": "iconRightAriaLabel"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "iconLeftTemplate": { "alias": "iconLeftTemplate"; "required": false; "isSignal": true; }; "iconRightTemplate": { "alias": "iconRightTemplate"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "iconRightClick": "iconRightClick"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; }, ["iconLeftTemplateContent", "iconRightTemplateContent"], never, true, never>;
134
- }
135
-
136
- export { UiInput };
137
- export type { InputType, UiInputIconContext };
35
+ export declare class UiInput extends BaseFormField<string> {
36
+ /** Native input type. */
37
+ type: import("@angular/core").InputSignal<InputType>;
38
+ /**
39
+ * Display-only value (bypasses the CVA model). For composite hosts
40
+ * (e.g. `ui-datepicker`) that own the visible text and read it back via
41
+ * `valueChange` — leave unset when using `[(ngModel)]`/reactive forms.
42
+ */
43
+ value: import("@angular/core").InputSignal<string | undefined>;
44
+ /** `aria-haspopup` forwarded to the native input (popup trigger hosts). */
45
+ ariaHasPopup: import("@angular/core").InputSignal<"menu" | "listbox" | "tree" | "grid" | "dialog" | undefined>;
46
+ /**
47
+ * `aria-expanded` forwarded to the native input (popup trigger hosts).
48
+ * Setting it also promotes the input to `role="combobox"`: `aria-expanded`
49
+ * is not allowed on the implicit `textbox` role, so screen readers would
50
+ * silently drop the popup state without it.
51
+ */
52
+ ariaExpanded: import("@angular/core").InputSignal<boolean | undefined>;
53
+ /** `aria-controls` forwarded to the native input (popup trigger hosts). */
54
+ ariaControls: import("@angular/core").InputSignal<string | undefined>;
55
+ /** Native placeholder. */
56
+ placeholder: import("@angular/core").InputSignal<string | undefined>;
57
+ /**
58
+ * id of an external element describing this control further (e.g. a composite host's own
59
+ * format hint), chained onto `aria-describedby` alongside the helper/error message rather than
60
+ * replacing it — a plain `[attr.aria-describedby]` override on the host would clobber whichever
61
+ * of the two lands last.
62
+ */
63
+ ariaDescribedBy: import("@angular/core").InputSignal<string | undefined>;
64
+ /** Suffix unit (e.g. "%", "@domain"). Shown when provided. */
65
+ unit: import("@angular/core").InputSignal<string | undefined>;
66
+ /** Left FontAwesome icon name (decorative). */
67
+ iconLeft: import("@angular/core").InputSignal<string | undefined>;
68
+ /** Right FontAwesome icon name. */
69
+ iconRight: import("@angular/core").InputSignal<string | undefined>;
70
+ /**
71
+ * Accessible name of the right icon. **When provided, the right icon becomes a
72
+ * clickable action zone** (square, full-height button) that emits `iconRightClick`.
73
+ */
74
+ iconRightAriaLabel: import("@angular/core").InputSignal<string | undefined>;
75
+ /** Native autocomplete. */
76
+ autocomplete: import("@angular/core").InputSignal<string | undefined>;
77
+ /** Native maxlength. */
78
+ maxlength: import("@angular/core").InputSignal<number | undefined>;
79
+ /** Left-icon template, provided programmatically (composite hosts like `ui-datepicker`). */
80
+ iconLeftTemplate: import("@angular/core").InputSignal<TemplateRef<UiInputIconContext> | undefined>;
81
+ /** Right-icon template, provided programmatically (composite hosts like `ui-datepicker`). */
82
+ iconRightTemplate: import("@angular/core").InputSignal<TemplateRef<UiInputIconContext> | undefined>;
83
+ /** Custom left icon: `<ng-template #iconLeft let-name let-size="size">`. */
84
+ private readonly iconLeftTemplateContent;
85
+ /** Custom right icon: `<ng-template #iconRight let-name let-size="size">`. */
86
+ private readonly iconRightTemplateContent;
87
+ /** Emitted on each input with the new value. */
88
+ valueChange: import("@angular/core").OutputEmitterRef<string>;
89
+ /** Emitted on click of the right action zone (active when `iconRightAriaLabel` is set). */
90
+ iconRightClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
91
+ /** Emitted when the input receives focus. */
92
+ inputFocus: import("@angular/core").OutputEmitterRef<FocusEvent>;
93
+ /** Emitted when the input loses focus. */
94
+ inputBlur: import("@angular/core").OutputEmitterRef<FocusEvent>;
95
+ /** @ignore */
96
+ private readonly inputEl;
97
+ /** @ignore Icon size aligned with the field size. */
98
+ protected readonly iconSize: import("@angular/core").Signal<UiIconSize>;
99
+ /** @ignore Text rendered in the input: display-only `value` wins over the model. */
100
+ protected readonly renderedValue: import("@angular/core").Signal<string>;
101
+ /** @ignore Keeps a floating label raised once focus leaves. */
102
+ protected readonly isFilled: import("@angular/core").Signal<boolean>;
103
+ /** @ignore At rest the floating label already holds that spot. */
104
+ protected readonly effectivePlaceholder: import("@angular/core").Signal<string>;
105
+ /** @ignore Input wins over the projected `#iconLeft` template. */
106
+ protected readonly resolvedIconLeftTemplate: import("@angular/core").Signal<TemplateRef<UiInputIconContext> | undefined>;
107
+ /** @ignore Input wins over the projected `#iconRight` template. */
108
+ protected readonly resolvedIconRightTemplate: import("@angular/core").Signal<TemplateRef<UiInputIconContext> | undefined>;
109
+ /** @ignore */
110
+ protected readonly leftIconContext: import("@angular/core").Signal<UiInputIconContext>;
111
+ /** @ignore */
112
+ protected readonly rightIconContext: import("@angular/core").Signal<UiInputIconContext>;
113
+ /** @ignore The right icon is an action zone (has an accessible name). */
114
+ protected readonly hasRightAction: import("@angular/core").Signal<boolean>;
115
+ /** @ignore Full `aria-describedby`: the helper/error message id (only when a message is
116
+ * actually rendered) plus the externally supplied `ariaDescribedBy`, space-joined — `null`
117
+ * when neither applies (native attribute is then omitted, not left dangling). */
118
+ protected readonly resolvedAriaDescribedBy: import("@angular/core").Signal<string | null>;
119
+ /** @ignore ARIA 1.2: only `combobox` (not the implicit `textbox`) accepts
120
+ * `aria-expanded`. Stays null for plain text fields so their announcement
121
+ * ("edit text") is untouched. */
122
+ protected readonly nativeRole: import("@angular/core").Signal<"combobox" | null>;
123
+ /** Focuses the input. */
124
+ focus(options?: FocusOptions): void;
125
+ /** Native `<input>` element — composite hosts that own `value` (e.g. `ui-datepicker`)
126
+ * need direct DOM access to control the caret while reformatting text as typed. */
127
+ nativeInputElement(): HTMLInputElement;
128
+ /** @ignore Input: single source of the value (view → form). */
129
+ protected onInput(): void;
130
+ /** @ignore Value written by the browser without an `input` event. */
131
+ protected onBrowserFill(): void;
132
+ /** @ignore */
133
+ protected onBlur(event: FocusEvent): void;
134
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiInput, never>;
135
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiInput, "ui-input", never, {
136
+ "type": {
137
+ "alias": "type";
138
+ "required": false;
139
+ "isSignal": true;
140
+ };
141
+ "value": {
142
+ "alias": "value";
143
+ "required": false;
144
+ "isSignal": true;
145
+ };
146
+ "ariaHasPopup": {
147
+ "alias": "ariaHasPopup";
148
+ "required": false;
149
+ "isSignal": true;
150
+ };
151
+ "ariaExpanded": {
152
+ "alias": "ariaExpanded";
153
+ "required": false;
154
+ "isSignal": true;
155
+ };
156
+ "ariaControls": {
157
+ "alias": "ariaControls";
158
+ "required": false;
159
+ "isSignal": true;
160
+ };
161
+ "placeholder": {
162
+ "alias": "placeholder";
163
+ "required": false;
164
+ "isSignal": true;
165
+ };
166
+ "ariaDescribedBy": {
167
+ "alias": "ariaDescribedBy";
168
+ "required": false;
169
+ "isSignal": true;
170
+ };
171
+ "unit": {
172
+ "alias": "unit";
173
+ "required": false;
174
+ "isSignal": true;
175
+ };
176
+ "iconLeft": {
177
+ "alias": "iconLeft";
178
+ "required": false;
179
+ "isSignal": true;
180
+ };
181
+ "iconRight": {
182
+ "alias": "iconRight";
183
+ "required": false;
184
+ "isSignal": true;
185
+ };
186
+ "iconRightAriaLabel": {
187
+ "alias": "iconRightAriaLabel";
188
+ "required": false;
189
+ "isSignal": true;
190
+ };
191
+ "autocomplete": {
192
+ "alias": "autocomplete";
193
+ "required": false;
194
+ "isSignal": true;
195
+ };
196
+ "maxlength": {
197
+ "alias": "maxlength";
198
+ "required": false;
199
+ "isSignal": true;
200
+ };
201
+ "iconLeftTemplate": {
202
+ "alias": "iconLeftTemplate";
203
+ "required": false;
204
+ "isSignal": true;
205
+ };
206
+ "iconRightTemplate": {
207
+ "alias": "iconRightTemplate";
208
+ "required": false;
209
+ "isSignal": true;
210
+ };
211
+ }, {
212
+ "valueChange": "valueChange";
213
+ "iconRightClick": "iconRightClick";
214
+ "inputFocus": "inputFocus";
215
+ "inputBlur": "inputBlur";
216
+ }, ["iconLeftTemplateContent", "iconRightTemplateContent"], never, true, never>;
217
+ }
@@ -1,7 +1,9 @@
1
- import * as _angular_core from '@angular/core';
2
- import { BaseFieldControl } from '@4sh/ui-kit/forms';
3
-
4
- type UiKnobSize = 'small' | 'default' | 'large';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import { BaseFieldControl } from "@4sh/ui-kit/forms";
5
+ import * as i0 from "@angular/core";
6
+ export type UiKnobSize = 'small' | 'default' | 'large';
5
7
  /**
6
8
  * ui-knob — headless circular dial to pick a numeric value.
7
9
  *
@@ -15,79 +17,129 @@ type UiKnobSize = 'small' | 'default' | 'large';
15
17
  * Works standalone, with `[(ngModel)]`, Reactive Forms or Signal Forms
16
18
  * (`[formField]`) — it is a `ControlValueAccessor`.
17
19
  */
18
- declare class UiKnob extends BaseFieldControl<number> {
19
- /** Minimum boundary value. */
20
- min: _angular_core.InputSignalWithTransform<number, unknown>;
21
- /** Maximum boundary value. */
22
- max: _angular_core.InputSignalWithTransform<number, unknown>;
23
- /** Increment/decrement granularity (drag snapping + keyboard step). */
24
- step: _angular_core.InputSignalWithTransform<number, unknown>;
25
- /** Diameter preset (override any diameter with the `--ui-knob-size` hook). */
26
- size: _angular_core.InputSignal<UiKnobSize>;
27
- /** Arc thickness, in viewBox units (100 = the diameter), so it scales with the knob. */
28
- strokeWidth: _angular_core.InputSignalWithTransform<number, unknown>;
29
- /** Renders the value at the centre of the dial. */
30
- showValue: _angular_core.InputSignalWithTransform<boolean, unknown>;
31
- /** Template of the centre label, `{value}` being the placeholder. */
32
- valueTemplate: _angular_core.InputSignal<string>;
33
- /** Colour of the filled arc (any CSS colour). Sets `--ui-knob-value-color`. */
34
- valueColor: _angular_core.InputSignal<string | undefined>;
35
- /** Colour of the track behind it. Sets `--ui-knob-range-color`. */
36
- rangeColor: _angular_core.InputSignal<string | undefined>;
37
- /** Colour of the centre label. Sets `--ui-knob-text-color`. */
38
- textColor: _angular_core.InputSignal<string | undefined>;
39
- /** Emitted on every value change (drag, keyboard, click on the dial). */
40
- knobChange: _angular_core.OutputEmitterRef<number>;
41
- /** @ignore Pointer target, focus stop and % reference of the dial. */
42
- private readonly root;
43
- /** @ignore True while a drag is in progress. */
44
- private dragging;
45
- constructor();
46
- /** @ignore Current value, clamped to the boundaries (falls back to `min`). */
47
- protected readonly currentValue: _angular_core.Signal<number>;
48
- /** @ignore Centre label, with `{value}` substituted. */
49
- protected readonly displayValue: _angular_core.Signal<string>;
50
- /** @ignore Announced only when the label differs from the raw value. */
51
- protected readonly ariaValueText: _angular_core.Signal<string | null>;
52
- /** @ignore Radius of the arc centreline, inset so the stroke fits the box. */
53
- private readonly radius;
54
- /** @ignore The full track. */
55
- protected readonly rangePath: _angular_core.Signal<string>;
56
- /** @ignore Arc drawn from the origin (0, or the nearest boundary) to the value. */
57
- protected readonly valuePath: _angular_core.Signal<string>;
58
- /** @ignore */
59
- protected readonly classes: _angular_core.Signal<string>;
60
- /** @ignore */
61
- protected uidPrefix(): string;
62
- /** Focus the dial programmatically. */
63
- focus(options?: FocusOptions): void;
64
- /** @ignore */
65
- protected onPointerDown(event: PointerEvent): void;
66
- /** @ignore */
67
- protected onPointerMove(event: PointerEvent): void;
68
- /** @ignore */
69
- protected onPointerUp(event: PointerEvent): void;
70
- /** @ignore */
71
- protected onKeyDown(event: KeyboardEvent): void;
72
- /** @ignore */
73
- protected onBlur(): void;
74
- /** @ignore Effective step (never 0). */
75
- private stepSize;
76
- /** @ignore Angle of the value on the dial. */
77
- private valueRadians;
78
- /** @ignore Angle the filled arc starts from: zero when it is inside the boundaries. */
79
- private originRadians;
80
- /** @ignore Pointer position → value, or `null` inside the bottom gap. */
81
- private updateFromPointer;
82
- /** @ignore Round to the step's decimal precision (avoids float drift). */
83
- private round;
84
- /** @ignore Clamp to [min, max]. */
85
- private clamp;
86
- /** @ignore Snap to the step grid, clamp, then propagate if it moved. */
87
- private commit;
88
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiKnob, never>;
89
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiKnob, "ui-knob", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "valueTemplate": { "alias": "valueTemplate"; "required": false; "isSignal": true; }; "valueColor": { "alias": "valueColor"; "required": false; "isSignal": true; }; "rangeColor": { "alias": "rangeColor"; "required": false; "isSignal": true; }; "textColor": { "alias": "textColor"; "required": false; "isSignal": true; }; }, { "knobChange": "knobChange"; }, never, never, true, never>;
90
- }
91
-
92
- export { UiKnob };
93
- export type { UiKnobSize };
20
+ export declare class UiKnob extends BaseFieldControl<number> {
21
+ /** Minimum boundary value. */
22
+ min: import("@angular/core").InputSignalWithTransform<number, unknown>;
23
+ /** Maximum boundary value. */
24
+ max: import("@angular/core").InputSignalWithTransform<number, unknown>;
25
+ /** Increment/decrement granularity (drag snapping + keyboard step). */
26
+ step: import("@angular/core").InputSignalWithTransform<number, unknown>;
27
+ /** Diameter preset (override any diameter with the `--ui-knob-size` hook). */
28
+ size: import("@angular/core").InputSignal<UiKnobSize>;
29
+ /** Arc thickness, in viewBox units (100 = the diameter), so it scales with the knob. */
30
+ strokeWidth: import("@angular/core").InputSignalWithTransform<number, unknown>;
31
+ /** Renders the value at the centre of the dial. */
32
+ showValue: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
33
+ /** Template of the centre label, `{value}` being the placeholder. */
34
+ valueTemplate: import("@angular/core").InputSignal<string>;
35
+ /** Colour of the filled arc (any CSS colour). Sets `--ui-knob-value-color`. */
36
+ valueColor: import("@angular/core").InputSignal<string | undefined>;
37
+ /** Colour of the track behind it. Sets `--ui-knob-range-color`. */
38
+ rangeColor: import("@angular/core").InputSignal<string | undefined>;
39
+ /** Colour of the centre label. Sets `--ui-knob-text-color`. */
40
+ textColor: import("@angular/core").InputSignal<string | undefined>;
41
+ /** Emitted on every value change (drag, keyboard, click on the dial). */
42
+ knobChange: import("@angular/core").OutputEmitterRef<number>;
43
+ /** @ignore Pointer target, focus stop and % reference of the dial. */
44
+ private readonly root;
45
+ /** @ignore True while a drag is in progress. */
46
+ private dragging;
47
+ constructor();
48
+ /** @ignore Current value, clamped to the boundaries (falls back to `min`). */
49
+ protected readonly currentValue: import("@angular/core").Signal<number>;
50
+ /** @ignore Centre label, with `{value}` substituted. */
51
+ protected readonly displayValue: import("@angular/core").Signal<string>;
52
+ /** @ignore Announced only when the label differs from the raw value. */
53
+ protected readonly ariaValueText: import("@angular/core").Signal<string | null>;
54
+ /** @ignore Radius of the arc centreline, inset so the stroke fits the box. */
55
+ private readonly radius;
56
+ /** @ignore The full track. */
57
+ protected readonly rangePath: import("@angular/core").Signal<string>;
58
+ /** @ignore Arc drawn from the origin (0, or the nearest boundary) to the value. */
59
+ protected readonly valuePath: import("@angular/core").Signal<string>;
60
+ /** @ignore */
61
+ protected readonly classes: import("@angular/core").Signal<string>;
62
+ /** @ignore */
63
+ protected uidPrefix(): string;
64
+ /** Focus the dial programmatically. */
65
+ focus(options?: FocusOptions): void;
66
+ /** @ignore */
67
+ protected onPointerDown(event: PointerEvent): void;
68
+ /** @ignore */
69
+ protected onPointerMove(event: PointerEvent): void;
70
+ /** @ignore */
71
+ protected onPointerUp(event: PointerEvent): void;
72
+ /** @ignore */
73
+ protected onKeyDown(event: KeyboardEvent): void;
74
+ /** @ignore */
75
+ protected onBlur(): void;
76
+ /** @ignore Effective step (never 0). */
77
+ private stepSize;
78
+ /** @ignore Angle of the value on the dial. */
79
+ private valueRadians;
80
+ /** @ignore Angle the filled arc starts from: zero when it is inside the boundaries. */
81
+ private originRadians;
82
+ /** @ignore Pointer position → value, or `null` inside the bottom gap. */
83
+ private updateFromPointer;
84
+ /** @ignore Round to the step's decimal precision (avoids float drift). */
85
+ private round;
86
+ /** @ignore Clamp to [min, max]. */
87
+ private clamp;
88
+ /** @ignore Snap to the step grid, clamp, then propagate if it moved. */
89
+ private commit;
90
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiKnob, never>;
91
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiKnob, "ui-knob", never, {
92
+ "min": {
93
+ "alias": "min";
94
+ "required": false;
95
+ "isSignal": true;
96
+ };
97
+ "max": {
98
+ "alias": "max";
99
+ "required": false;
100
+ "isSignal": true;
101
+ };
102
+ "step": {
103
+ "alias": "step";
104
+ "required": false;
105
+ "isSignal": true;
106
+ };
107
+ "size": {
108
+ "alias": "size";
109
+ "required": false;
110
+ "isSignal": true;
111
+ };
112
+ "strokeWidth": {
113
+ "alias": "strokeWidth";
114
+ "required": false;
115
+ "isSignal": true;
116
+ };
117
+ "showValue": {
118
+ "alias": "showValue";
119
+ "required": false;
120
+ "isSignal": true;
121
+ };
122
+ "valueTemplate": {
123
+ "alias": "valueTemplate";
124
+ "required": false;
125
+ "isSignal": true;
126
+ };
127
+ "valueColor": {
128
+ "alias": "valueColor";
129
+ "required": false;
130
+ "isSignal": true;
131
+ };
132
+ "rangeColor": {
133
+ "alias": "rangeColor";
134
+ "required": false;
135
+ "isSignal": true;
136
+ };
137
+ "textColor": {
138
+ "alias": "textColor";
139
+ "required": false;
140
+ "isSignal": true;
141
+ };
142
+ }, {
143
+ "knobChange": "knobChange";
144
+ }, never, never, true, never>;
145
+ }
@@ -1,6 +1,8 @@
1
- import * as _angular_core from '@angular/core';
2
-
3
- type LabelSize = 'default' | 'small';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import * as i0 from "@angular/core";
5
+ export type LabelSize = 'default' | 'small';
4
6
  /**
5
7
  * ui-label — form field label (mirrors the Figma `ui-label` component).
6
8
  *
@@ -15,22 +17,45 @@ type LabelSize = 'default' | 'small';
15
17
  * .ui-checkbox:hover { --ui-label-color: var(--form-high-content-hover); }
16
18
  * ```
17
19
  */
18
- declare class UiLabel {
19
- /** Label text (or project content via <ng-content>). */
20
- label: _angular_core.InputSignal<string | undefined>;
21
- /** Shows the required marker (*). */
22
- required: _angular_core.InputSignalWithTransform<boolean, unknown>;
23
- /** Text size. */
24
- size: _angular_core.InputSignal<LabelSize>;
25
- /** `for` attribute — id of the labelled form element. */
26
- for: _angular_core.InputSignal<string | undefined>;
27
- /** Disabled styling (cascades from the parent form component). */
28
- disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
29
- /** @ignore */
30
- protected readonly classes: _angular_core.Signal<string>;
31
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiLabel, never>;
32
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiLabel, "ui-label", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "for": { "alias": "for"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
33
- }
34
-
35
- export { UiLabel };
36
- export type { LabelSize };
20
+ export declare class UiLabel {
21
+ /** Label text (or project content via <ng-content>). */
22
+ label: import("@angular/core").InputSignal<string | undefined>;
23
+ /** Shows the required marker (*). */
24
+ required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
25
+ /** Text size. */
26
+ size: import("@angular/core").InputSignal<LabelSize>;
27
+ /** `for` attribute — id of the labelled form element. */
28
+ for: import("@angular/core").InputSignal<string | undefined>;
29
+ /** Disabled styling (cascades from the parent form component). */
30
+ disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
31
+ /** @ignore */
32
+ protected readonly classes: import("@angular/core").Signal<string>;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiLabel, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiLabel, "ui-label", never, {
35
+ "label": {
36
+ "alias": "label";
37
+ "required": false;
38
+ "isSignal": true;
39
+ };
40
+ "required": {
41
+ "alias": "required";
42
+ "required": false;
43
+ "isSignal": true;
44
+ };
45
+ "size": {
46
+ "alias": "size";
47
+ "required": false;
48
+ "isSignal": true;
49
+ };
50
+ "for": {
51
+ "alias": "for";
52
+ "required": false;
53
+ "isSignal": true;
54
+ };
55
+ "disabled": {
56
+ "alias": "disabled";
57
+ "required": false;
58
+ "isSignal": true;
59
+ };
60
+ }, {}, never, ["*"], true, never>;
61
+ }