@star-ng/ui 0.0.0-stage → 0.2.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 (217) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +162 -2
  3. package/fesm2022/star-ng-ui-accordion.mjs +376 -0
  4. package/fesm2022/star-ng-ui-accordion.mjs.map +1 -0
  5. package/fesm2022/star-ng-ui-autocomplete.mjs +786 -0
  6. package/fesm2022/star-ng-ui-autocomplete.mjs.map +1 -0
  7. package/fesm2022/star-ng-ui-avatar.mjs +154 -0
  8. package/fesm2022/star-ng-ui-avatar.mjs.map +1 -0
  9. package/fesm2022/star-ng-ui-badge.mjs +153 -0
  10. package/fesm2022/star-ng-ui-badge.mjs.map +1 -0
  11. package/fesm2022/star-ng-ui-breadcrumb.mjs +199 -0
  12. package/fesm2022/star-ng-ui-breadcrumb.mjs.map +1 -0
  13. package/fesm2022/star-ng-ui-button.mjs +282 -0
  14. package/fesm2022/star-ng-ui-button.mjs.map +1 -0
  15. package/fesm2022/star-ng-ui-card.mjs +112 -0
  16. package/fesm2022/star-ng-ui-card.mjs.map +1 -0
  17. package/fesm2022/star-ng-ui-chart.mjs +1904 -0
  18. package/fesm2022/star-ng-ui-chart.mjs.map +1 -0
  19. package/fesm2022/star-ng-ui-checkbox.mjs +345 -0
  20. package/fesm2022/star-ng-ui-checkbox.mjs.map +1 -0
  21. package/fesm2022/star-ng-ui-core.mjs +484 -0
  22. package/fesm2022/star-ng-ui-core.mjs.map +1 -0
  23. package/fesm2022/star-ng-ui-data-display.mjs +1870 -0
  24. package/fesm2022/star-ng-ui-data-display.mjs.map +1 -0
  25. package/fesm2022/star-ng-ui-date-picker.mjs +2786 -0
  26. package/fesm2022/star-ng-ui-date-picker.mjs.map +1 -0
  27. package/fesm2022/star-ng-ui-dialog.mjs +948 -0
  28. package/fesm2022/star-ng-ui-dialog.mjs.map +1 -0
  29. package/fesm2022/star-ng-ui-drawer.mjs +158 -0
  30. package/fesm2022/star-ng-ui-drawer.mjs.map +1 -0
  31. package/fesm2022/star-ng-ui-editor.mjs +416 -0
  32. package/fesm2022/star-ng-ui-editor.mjs.map +1 -0
  33. package/fesm2022/star-ng-ui-field.mjs +378 -0
  34. package/fesm2022/star-ng-ui-field.mjs.map +1 -0
  35. package/fesm2022/star-ng-ui-file-upload.mjs +762 -0
  36. package/fesm2022/star-ng-ui-file-upload.mjs.map +1 -0
  37. package/fesm2022/star-ng-ui-i18n-de.mjs +179 -0
  38. package/fesm2022/star-ng-ui-i18n-de.mjs.map +1 -0
  39. package/fesm2022/star-ng-ui-i18n-es.mjs +179 -0
  40. package/fesm2022/star-ng-ui-i18n-es.mjs.map +1 -0
  41. package/fesm2022/star-ng-ui-input-group.mjs +188 -0
  42. package/fesm2022/star-ng-ui-input-group.mjs.map +1 -0
  43. package/fesm2022/star-ng-ui-input-mask.mjs +434 -0
  44. package/fesm2022/star-ng-ui-input-mask.mjs.map +1 -0
  45. package/fesm2022/star-ng-ui-input-number.mjs +691 -0
  46. package/fesm2022/star-ng-ui-input-number.mjs.map +1 -0
  47. package/fesm2022/star-ng-ui-input-otp.mjs +343 -0
  48. package/fesm2022/star-ng-ui-input-otp.mjs.map +1 -0
  49. package/fesm2022/star-ng-ui-input-tags.mjs +616 -0
  50. package/fesm2022/star-ng-ui-input-tags.mjs.map +1 -0
  51. package/fesm2022/star-ng-ui-knob.mjs +514 -0
  52. package/fesm2022/star-ng-ui-knob.mjs.map +1 -0
  53. package/fesm2022/star-ng-ui-layout.mjs +608 -0
  54. package/fesm2022/star-ng-ui-layout.mjs.map +1 -0
  55. package/fesm2022/star-ng-ui-listbox.mjs +886 -0
  56. package/fesm2022/star-ng-ui-listbox.mjs.map +1 -0
  57. package/fesm2022/star-ng-ui-media.mjs +833 -0
  58. package/fesm2022/star-ng-ui-media.mjs.map +1 -0
  59. package/fesm2022/star-ng-ui-menu.mjs +1840 -0
  60. package/fesm2022/star-ng-ui-menu.mjs.map +1 -0
  61. package/fesm2022/star-ng-ui-message.mjs +191 -0
  62. package/fesm2022/star-ng-ui-message.mjs.map +1 -0
  63. package/fesm2022/star-ng-ui-paginator.mjs +387 -0
  64. package/fesm2022/star-ng-ui-paginator.mjs.map +1 -0
  65. package/fesm2022/star-ng-ui-panel.mjs +324 -0
  66. package/fesm2022/star-ng-ui-panel.mjs.map +1 -0
  67. package/fesm2022/star-ng-ui-password.mjs +517 -0
  68. package/fesm2022/star-ng-ui-password.mjs.map +1 -0
  69. package/fesm2022/star-ng-ui-popover.mjs +241 -0
  70. package/fesm2022/star-ng-ui-popover.mjs.map +1 -0
  71. package/fesm2022/star-ng-ui-progress-bar.mjs +183 -0
  72. package/fesm2022/star-ng-ui-progress-bar.mjs.map +1 -0
  73. package/fesm2022/star-ng-ui-radio.mjs +411 -0
  74. package/fesm2022/star-ng-ui-radio.mjs.map +1 -0
  75. package/fesm2022/star-ng-ui-rating.mjs +211 -0
  76. package/fesm2022/star-ng-ui-rating.mjs.map +1 -0
  77. package/fesm2022/star-ng-ui-select-button.mjs +613 -0
  78. package/fesm2022/star-ng-ui-select-button.mjs.map +1 -0
  79. package/fesm2022/star-ng-ui-select.mjs +2547 -0
  80. package/fesm2022/star-ng-ui-select.mjs.map +1 -0
  81. package/fesm2022/star-ng-ui-skeleton.mjs +160 -0
  82. package/fesm2022/star-ng-ui-skeleton.mjs.map +1 -0
  83. package/fesm2022/star-ng-ui-slider.mjs +552 -0
  84. package/fesm2022/star-ng-ui-slider.mjs.map +1 -0
  85. package/fesm2022/star-ng-ui-spinner.mjs +148 -0
  86. package/fesm2022/star-ng-ui-spinner.mjs.map +1 -0
  87. package/fesm2022/star-ng-ui-stepper.mjs +360 -0
  88. package/fesm2022/star-ng-ui-stepper.mjs.map +1 -0
  89. package/fesm2022/star-ng-ui-table.mjs +3531 -0
  90. package/fesm2022/star-ng-ui-table.mjs.map +1 -0
  91. package/fesm2022/star-ng-ui-tabs.mjs +464 -0
  92. package/fesm2022/star-ng-ui-tabs.mjs.map +1 -0
  93. package/fesm2022/star-ng-ui-tag.mjs +129 -0
  94. package/fesm2022/star-ng-ui-tag.mjs.map +1 -0
  95. package/fesm2022/star-ng-ui-theme-switch.mjs +105 -0
  96. package/fesm2022/star-ng-ui-theme-switch.mjs.map +1 -0
  97. package/fesm2022/star-ng-ui-theme.mjs +98 -0
  98. package/fesm2022/star-ng-ui-theme.mjs.map +1 -0
  99. package/fesm2022/star-ng-ui-toast.mjs +298 -0
  100. package/fesm2022/star-ng-ui-toast.mjs.map +1 -0
  101. package/fesm2022/star-ng-ui-toggle-switch.mjs +316 -0
  102. package/fesm2022/star-ng-ui-toggle-switch.mjs.map +1 -0
  103. package/fesm2022/star-ng-ui-tooltip.mjs +297 -0
  104. package/fesm2022/star-ng-ui-tooltip.mjs.map +1 -0
  105. package/fesm2022/star-ng-ui-transloco.mjs +40 -0
  106. package/fesm2022/star-ng-ui-transloco.mjs.map +1 -0
  107. package/fesm2022/star-ng-ui-tree.mjs +1446 -0
  108. package/fesm2022/star-ng-ui-tree.mjs.map +1 -0
  109. package/fesm2022/star-ng-ui-utility.mjs +2134 -0
  110. package/fesm2022/star-ng-ui-utility.mjs.map +1 -0
  111. package/fesm2022/star-ng-ui.mjs +51 -0
  112. package/package.json +285 -3
  113. package/styles/_base.scss +70 -0
  114. package/styles/_shared.scss +2 -0
  115. package/styles/_tokens.scss +190 -0
  116. package/styles/controls/_accordion.scss +75 -0
  117. package/styles/controls/_autocomplete.scss +44 -0
  118. package/styles/controls/_avatar.scss +39 -0
  119. package/styles/controls/_breadcrumb.scss +45 -0
  120. package/styles/controls/_button.scss +137 -0
  121. package/styles/controls/_card.scss +38 -0
  122. package/styles/controls/_chart.scss +214 -0
  123. package/styles/controls/_chip.scss +51 -0
  124. package/styles/controls/_choice.scss +153 -0
  125. package/styles/controls/_data-display.scss +124 -0
  126. package/styles/controls/_date-picker.scss +300 -0
  127. package/styles/controls/_dialog.scss +123 -0
  128. package/styles/controls/_drawer.scss +118 -0
  129. package/styles/controls/_editor.scss +74 -0
  130. package/styles/controls/_field.scss +92 -0
  131. package/styles/controls/_file-upload.scss +136 -0
  132. package/styles/controls/_input-group.scss +104 -0
  133. package/styles/controls/_input-mask.scss +46 -0
  134. package/styles/controls/_input-number.scss +125 -0
  135. package/styles/controls/_knob.scss +76 -0
  136. package/styles/controls/_layout.scss +182 -0
  137. package/styles/controls/_listbox.scss +38 -0
  138. package/styles/controls/_media.scss +222 -0
  139. package/styles/controls/_menu.scss +254 -0
  140. package/styles/controls/_message.scss +48 -0
  141. package/styles/controls/_org-chart.scss +128 -0
  142. package/styles/controls/_paginator.scss +59 -0
  143. package/styles/controls/_panel.scss +83 -0
  144. package/styles/controls/_popover.scss +40 -0
  145. package/styles/controls/_progress-bar.scss +74 -0
  146. package/styles/controls/_select-button.scss +61 -0
  147. package/styles/controls/_select.scss +216 -0
  148. package/styles/controls/_skeleton.scss +43 -0
  149. package/styles/controls/_slider.scss +163 -0
  150. package/styles/controls/_spinner.scss +34 -0
  151. package/styles/controls/_stepper.scss +109 -0
  152. package/styles/controls/_table.scss +523 -0
  153. package/styles/controls/_tabs.scss +93 -0
  154. package/styles/controls/_tag.scss +84 -0
  155. package/styles/controls/_toast.scss +141 -0
  156. package/styles/controls/_tooltip.scss +14 -0
  157. package/styles/controls/_tree.scss +113 -0
  158. package/styles/controls/_utility.scss +654 -0
  159. package/styles/star-ng.css +5807 -0
  160. package/styles/star-ng.min.css +1 -0
  161. package/styles/star-ng.scss +50 -0
  162. package/theme/star-theme-first-paint.js +1 -0
  163. package/types/star-ng-ui-accordion.d.ts +82 -0
  164. package/types/star-ng-ui-autocomplete.d.ts +171 -0
  165. package/types/star-ng-ui-avatar.d.ts +43 -0
  166. package/types/star-ng-ui-badge.d.ts +46 -0
  167. package/types/star-ng-ui-breadcrumb.d.ts +39 -0
  168. package/types/star-ng-ui-button.d.ts +79 -0
  169. package/types/star-ng-ui-card.d.ts +29 -0
  170. package/types/star-ng-ui-chart.d.ts +337 -0
  171. package/types/star-ng-ui-checkbox.d.ts +92 -0
  172. package/types/star-ng-ui-core.d.ts +373 -0
  173. package/types/star-ng-ui-data-display.d.ts +438 -0
  174. package/types/star-ng-ui-date-picker.d.ts +701 -0
  175. package/types/star-ng-ui-dialog.d.ts +254 -0
  176. package/types/star-ng-ui-drawer.d.ts +29 -0
  177. package/types/star-ng-ui-editor.d.ts +96 -0
  178. package/types/star-ng-ui-field.d.ts +146 -0
  179. package/types/star-ng-ui-file-upload.d.ts +192 -0
  180. package/types/star-ng-ui-i18n-de.d.ts +7 -0
  181. package/types/star-ng-ui-i18n-es.d.ts +7 -0
  182. package/types/star-ng-ui-input-group.d.ts +58 -0
  183. package/types/star-ng-ui-input-mask.d.ts +126 -0
  184. package/types/star-ng-ui-input-number.d.ts +193 -0
  185. package/types/star-ng-ui-input-otp.d.ts +86 -0
  186. package/types/star-ng-ui-input-tags.d.ts +159 -0
  187. package/types/star-ng-ui-knob.d.ts +121 -0
  188. package/types/star-ng-ui-layout.d.ts +154 -0
  189. package/types/star-ng-ui-listbox.d.ts +170 -0
  190. package/types/star-ng-ui-media.d.ts +161 -0
  191. package/types/star-ng-ui-menu.d.ts +332 -0
  192. package/types/star-ng-ui-message.d.ts +52 -0
  193. package/types/star-ng-ui-paginator.d.ts +85 -0
  194. package/types/star-ng-ui-panel.d.ts +65 -0
  195. package/types/star-ng-ui-password.d.ts +129 -0
  196. package/types/star-ng-ui-popover.d.ts +57 -0
  197. package/types/star-ng-ui-progress-bar.d.ts +49 -0
  198. package/types/star-ng-ui-radio.d.ts +116 -0
  199. package/types/star-ng-ui-rating.d.ts +52 -0
  200. package/types/star-ng-ui-select-button.d.ts +169 -0
  201. package/types/star-ng-ui-select.d.ts +563 -0
  202. package/types/star-ng-ui-skeleton.d.ts +47 -0
  203. package/types/star-ng-ui-slider.d.ts +145 -0
  204. package/types/star-ng-ui-spinner.d.ts +29 -0
  205. package/types/star-ng-ui-stepper.d.ts +89 -0
  206. package/types/star-ng-ui-table.d.ts +885 -0
  207. package/types/star-ng-ui-tabs.d.ts +109 -0
  208. package/types/star-ng-ui-tag.d.ts +35 -0
  209. package/types/star-ng-ui-theme-switch.d.ts +36 -0
  210. package/types/star-ng-ui-theme.d.ts +95 -0
  211. package/types/star-ng-ui-toast.d.ts +84 -0
  212. package/types/star-ng-ui-toggle-switch.d.ts +81 -0
  213. package/types/star-ng-ui-tooltip.d.ts +66 -0
  214. package/types/star-ng-ui-transloco.d.ts +14 -0
  215. package/types/star-ng-ui-tree.d.ts +343 -0
  216. package/types/star-ng-ui-utility.d.ts +533 -0
  217. package/types/star-ng-ui.d.ts +51 -0
@@ -0,0 +1,533 @@
1
+ import * as i0 from "@angular/core";
2
+ import { TemplateRef } from "@angular/core";
3
+ import * as i1 from "@angular/cdk/a11y";
4
+ import { StarMenuItem } from "@star-ng/ui/menu";
5
+ /** Read view of `star-inplace`: `<ng-template starInplaceDisplay>…</ng-template>`. */
6
+ export declare class StarInplaceDisplay {
7
+ readonly template: TemplateRef<unknown>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarInplaceDisplay, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StarInplaceDisplay, "ng-template[starInplaceDisplay]", never, {}, {}, never, never, true, never>;
10
+ }
11
+ /** Edit view of `star-inplace`: `<ng-template starInplaceContent>…</ng-template>`. */
12
+ export declare class StarInplaceContent {
13
+ readonly template: TemplateRef<unknown>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarInplaceContent, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StarInplaceContent, "ng-template[starInplaceContent]", never, {}, {}, never, never, true, never>;
16
+ }
17
+ /**
18
+ * Inplace (PrimeNG `p-inplace`): shows a value as a button; a click replaces it with the
19
+ * edit content in the same place. Escape or the close button goes back to the value.
20
+ *
21
+ * ```html
22
+ * <star-inplace ariaLabel="Edit requester" closable>
23
+ * <ng-template starInplaceDisplay>{{ name() }}</ng-template>
24
+ * <ng-template starInplaceContent><input starInput [(value)]="name" /></ng-template>
25
+ * </star-inplace>
26
+ * ```
27
+ */
28
+ export declare class StarInplace {
29
+ protected readonly text: import("@star-ng/ui/core").StarUiText;
30
+ private readonly host;
31
+ private readonly injector;
32
+ /** The edit content shows. Two-way. */
33
+ readonly active: import("@angular/core").ModelSignal<boolean>;
34
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
35
+ /** Adds a button that goes back to the value. */
36
+ readonly closable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
37
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
38
+ protected readonly display: import("@angular/core").Signal<StarInplaceDisplay | undefined>;
39
+ protected readonly content: import("@angular/core").Signal<StarInplaceContent | undefined>;
40
+ activate(): void;
41
+ deactivate(): void;
42
+ protected onEscape(event: Event): void;
43
+ private focusAfterRender;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarInplace, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<StarInplace, "star-inplace", never, {
46
+ "active": {
47
+ "alias": "active";
48
+ "required": false;
49
+ "isSignal": true;
50
+ };
51
+ "disabled": {
52
+ "alias": "disabled";
53
+ "required": false;
54
+ "isSignal": true;
55
+ };
56
+ "closable": {
57
+ "alias": "closable";
58
+ "required": false;
59
+ "isSignal": true;
60
+ };
61
+ "ariaLabel": {
62
+ "alias": "ariaLabel";
63
+ "required": false;
64
+ "isSignal": true;
65
+ };
66
+ }, {
67
+ "active": "activeChange";
68
+ }, ["display", "content"], never, true, never>;
69
+ }
70
+ /**
71
+ * Scroll panel (PrimeNG `p-scrollpanel`): a region with a fixed height and a thin scrollbar
72
+ * in the StarNG colors. It can take keyboard focus, so a keyboard user can scroll it; give
73
+ * it a name with `ariaLabel`.
74
+ *
75
+ * `<star-scroll-panel height="12rem" ariaLabel="Case narrative">…</star-scroll-panel>`
76
+ */
77
+ export declare class StarScrollPanel {
78
+ readonly height: import("@angular/core").InputSignal<string | null>;
79
+ readonly maxHeight: import("@angular/core").InputSignal<string | null>;
80
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
81
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarScrollPanel, never>;
82
+ static ɵcmp: i0.ɵɵComponentDeclaration<StarScrollPanel, "star-scroll-panel", never, {
83
+ "height": {
84
+ "alias": "height";
85
+ "required": false;
86
+ "isSignal": true;
87
+ };
88
+ "maxHeight": {
89
+ "alias": "maxHeight";
90
+ "required": false;
91
+ "isSignal": true;
92
+ };
93
+ "ariaLabel": {
94
+ "alias": "ariaLabel";
95
+ "required": false;
96
+ "isSignal": true;
97
+ };
98
+ }, {}, never, ["*"], true, never>;
99
+ }
100
+ /**
101
+ * Keeps Tab and Shift+Tab inside an element (PrimeNG `pFocusTrap`), on the CDK focus trap.
102
+ * `star-dialog` and `star-drawer` already trap focus; use this for a custom overlay.
103
+ *
104
+ * `<div [starFocusTrap]="open()" autoCapture>…</div>`
105
+ */
106
+ export declare class StarFocusTrap {
107
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarFocusTrap, never>;
108
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StarFocusTrap, "[starFocusTrap]", never, {}, {}, never, never, true, [{
109
+ directive: typeof i1.CdkTrapFocus;
110
+ inputs: {
111
+ "cdkTrapFocus": "starFocusTrap";
112
+ "cdkTrapFocusAutoCapture": "autoCapture";
113
+ };
114
+ outputs: {};
115
+ }]>;
116
+ }
117
+ /**
118
+ * Floating label (PrimeNG `p-floatlabel`): the label sits inside the input and moves above
119
+ * it when the input has focus or a value. Wrap one text input, textarea or `star-select`.
120
+ *
121
+ * `<star-float-label label="Reporter name"><input starInput [(value)]="name" /></star-float-label>`
122
+ *
123
+ * The control gets an empty placeholder when it has none (the CSS needs one).
124
+ *
125
+ * The label is a real `<label>` around the control, so a click focuses the control and a
126
+ * screen reader reads the label.
127
+ */
128
+ export declare class StarFloatLabel {
129
+ readonly label: import("@angular/core").InputSignal<string>;
130
+ constructor();
131
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarFloatLabel, never>;
132
+ static ɵcmp: i0.ɵɵComponentDeclaration<StarFloatLabel, "star-float-label", never, {
133
+ "label": {
134
+ "alias": "label";
135
+ "required": true;
136
+ "isSignal": true;
137
+ };
138
+ }, {}, never, ["*"], true, never>;
139
+ }
140
+ /**
141
+ * Ripple (PrimeNG `pRipple`): a short ink circle from the point of a press. Decoration only;
142
+ * it does nothing when the user asks for reduced motion.
143
+ *
144
+ * `<button class="star-btn star-btn--secondary" starRipple>Save</button>`
145
+ */
146
+ export declare class StarRipple {
147
+ private readonly host;
148
+ protected show(event: PointerEvent): void;
149
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarRipple, never>;
150
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StarRipple, "[starRipple]", never, {}, {}, never, never, true, never>;
151
+ }
152
+ /**
153
+ * Animate on scroll (PrimeNG `pAnimateOnScroll`): the element fades and moves in the first
154
+ * time it comes into view. Content is visible at once when the user asks for reduced motion
155
+ * or the browser has no `IntersectionObserver`.
156
+ *
157
+ * `<star-card starAnimateOnScroll>…</star-card>`
158
+ */
159
+ export declare class StarAnimateOnScroll {
160
+ /** Part of the element that must be in view, 0 to 1. */
161
+ readonly threshold: import("@angular/core").InputSignal<number>;
162
+ protected readonly shown: import("@angular/core").WritableSignal<boolean>;
163
+ constructor();
164
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarAnimateOnScroll, never>;
165
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StarAnimateOnScroll, "[starAnimateOnScroll]", never, {
166
+ "threshold": {
167
+ "alias": "threshold";
168
+ "required": false;
169
+ "isSignal": true;
170
+ };
171
+ }, {}, never, never, true, never>;
172
+ }
173
+ /**
174
+ * Image compare (PrimeNG `p-imagecompare`): two images on top of each other with a divider
175
+ * that the user moves. The divider is a native range input, so arrow keys, Home and End work.
176
+ *
177
+ * `<star-image-compare leftSrc="before.png" rightSrc="after.png" leftAlt="Before" rightAlt="After" />`
178
+ */
179
+ export declare class StarImageCompare {
180
+ protected readonly text: import("@star-ng/ui/core").StarUiText;
181
+ protected readonly rangeId: string;
182
+ readonly leftSrc: import("@angular/core").InputSignal<string>;
183
+ readonly rightSrc: import("@angular/core").InputSignal<string>;
184
+ readonly leftAlt: import("@angular/core").InputSignal<string>;
185
+ readonly rightAlt: import("@angular/core").InputSignal<string>;
186
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
187
+ /** Divider position: percent of the width that shows the left image. Two-way. */
188
+ readonly value: import("@angular/core").ModelSignal<number>;
189
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarImageCompare, never>;
190
+ static ɵcmp: i0.ɵɵComponentDeclaration<StarImageCompare, "star-image-compare", never, {
191
+ "leftSrc": {
192
+ "alias": "leftSrc";
193
+ "required": true;
194
+ "isSignal": true;
195
+ };
196
+ "rightSrc": {
197
+ "alias": "rightSrc";
198
+ "required": true;
199
+ "isSignal": true;
200
+ };
201
+ "leftAlt": {
202
+ "alias": "leftAlt";
203
+ "required": false;
204
+ "isSignal": true;
205
+ };
206
+ "rightAlt": {
207
+ "alias": "rightAlt";
208
+ "required": false;
209
+ "isSignal": true;
210
+ };
211
+ "ariaLabel": {
212
+ "alias": "ariaLabel";
213
+ "required": false;
214
+ "isSignal": true;
215
+ };
216
+ "value": {
217
+ "alias": "value";
218
+ "required": false;
219
+ "isSignal": true;
220
+ };
221
+ }, {
222
+ "value": "valueChange";
223
+ }, never, never, true, never>;
224
+ }
225
+ export interface StarTerminalEntry {
226
+ readonly command: string;
227
+ /** Text printed under the command; `null` while the handler runs. */
228
+ readonly response: string | null;
229
+ readonly error?: boolean;
230
+ }
231
+ /** Runs a command and returns the text to print. A thrown error prints its message in red. */
232
+ export type StarTerminalHandler = (command: string) => string | Promise<string>;
233
+ /**
234
+ * Terminal (PrimeNG `p-terminal`): a text command line. The user types a command, the
235
+ * `handler` returns the text to print. Up / Down recall earlier commands. The output is a
236
+ * live log, so a screen reader announces each response.
237
+ *
238
+ * `<star-terminal ariaLabel="Diagnostics" prompt="mi $" [handler]="run" welcome="Type help." />`
239
+ *
240
+ * The control does not run anything itself and prints the response as plain text.
241
+ */
242
+ export declare class StarTerminal {
243
+ protected readonly text: import("@star-ng/ui/core").StarUiText;
244
+ private readonly injector;
245
+ protected readonly inputId: string;
246
+ readonly prompt: import("@angular/core").InputSignal<string>;
247
+ readonly welcome: import("@angular/core").InputSignal<string | null>;
248
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
249
+ /** Runs a command. Without a handler the terminal only emits `commandRun`. */
250
+ readonly handler: import("@angular/core").InputSignal<StarTerminalHandler | null>;
251
+ readonly commandRun: import("@angular/core").OutputEmitterRef<string>;
252
+ protected readonly entries: import("@angular/core").WritableSignal<readonly StarTerminalEntry[]>;
253
+ protected readonly busy: import("@angular/core").WritableSignal<boolean>;
254
+ private readonly input;
255
+ private readonly log;
256
+ /** Position in the command history while the user presses Up / Down (-1 = new line). */
257
+ private recall;
258
+ focus(): void;
259
+ /** Removes all printed lines. */
260
+ clear(): void;
261
+ /** Prints a command and its response, as if the user typed it. */
262
+ run(command: string): Promise<void>;
263
+ protected onKeydown(event: KeyboardEvent, input: HTMLInputElement): void;
264
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarTerminal, never>;
265
+ static ɵcmp: i0.ɵɵComponentDeclaration<StarTerminal, "star-terminal", never, {
266
+ "prompt": {
267
+ "alias": "prompt";
268
+ "required": false;
269
+ "isSignal": true;
270
+ };
271
+ "welcome": {
272
+ "alias": "welcome";
273
+ "required": false;
274
+ "isSignal": true;
275
+ };
276
+ "ariaLabel": {
277
+ "alias": "ariaLabel";
278
+ "required": false;
279
+ "isSignal": true;
280
+ };
281
+ "handler": {
282
+ "alias": "handler";
283
+ "required": false;
284
+ "isSignal": true;
285
+ };
286
+ }, {
287
+ "commandRun": "commandRun";
288
+ }, never, never, true, never>;
289
+ }
290
+ /**
291
+ * Splitter (PrimeNG `p-splitter`): two panes with a draggable gutter. The gutter is a
292
+ * `role="separator"` with `aria-valuenow`; Arrow keys resize by 2 %, Home / End by the limits.
293
+ * In right-to-left the first pane is on the right: Arrow left makes it larger (the gutter moves
294
+ * left), Arrow right makes it smaller, and a drag measures from the right edge.
295
+ *
296
+ * ```html
297
+ * <star-splitter [(size)]="split" ariaLabel="Resize panes">
298
+ * <div starSplitterStart>…</div>
299
+ * <div starSplitterEnd>…</div>
300
+ * </star-splitter>
301
+ * ```
302
+ */
303
+ export declare class StarSplitter {
304
+ protected readonly text: import("@star-ng/ui/core").StarUiText;
305
+ private readonly host;
306
+ readonly layout: import("@angular/core").InputSignal<"horizontal" | "vertical">;
307
+ /** Size of the first pane in percent. */
308
+ readonly size: import("@angular/core").ModelSignal<number>;
309
+ readonly minSize: import("@angular/core").InputSignal<number>;
310
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
311
+ private clamp;
312
+ protected startDrag(event: PointerEvent): void;
313
+ protected onKeydown(event: KeyboardEvent): void;
314
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarSplitter, never>;
315
+ static ɵcmp: i0.ɵɵComponentDeclaration<StarSplitter, "star-splitter", never, {
316
+ "layout": {
317
+ "alias": "layout";
318
+ "required": false;
319
+ "isSignal": true;
320
+ };
321
+ "size": {
322
+ "alias": "size";
323
+ "required": false;
324
+ "isSignal": true;
325
+ };
326
+ "minSize": {
327
+ "alias": "minSize";
328
+ "required": false;
329
+ "isSignal": true;
330
+ };
331
+ "ariaLabel": {
332
+ "alias": "ariaLabel";
333
+ "required": false;
334
+ "isSignal": true;
335
+ };
336
+ }, {
337
+ "size": "sizeChange";
338
+ }, never, ["[starSplitterStart]", "[starSplitterEnd]"], true, never>;
339
+ }
340
+ /**
341
+ * Speed dial (PrimeNG `p-speeddial`): floating action button that opens a short list of
342
+ * actions (up, down, left or right). `aria-expanded`, Escape closes, focus moves to the first action.
343
+ * `<star-speed-dial [items]="quickActions" direction="up" ariaLabel="Quick actions" />`
344
+ *
345
+ * `left` and `right` are the physical sides of the screen, as in CSS. `start` and `end` follow the
346
+ * writing direction (`start` is the left side in LTR and the right side in RTL). The arrow keys
347
+ * move along the visual direction of the list.
348
+ */
349
+ export declare class StarSpeedDial {
350
+ protected readonly text: import("@star-ng/ui/core").StarUiText;
351
+ protected readonly listId: string;
352
+ private readonly injector;
353
+ private readonly host;
354
+ readonly items: import("@angular/core").InputSignal<readonly StarMenuItem[]>;
355
+ readonly direction: import("@angular/core").InputSignal<"up" | "down" | "left" | "right" | "start" | "end">;
356
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
357
+ /** Icon of the main button. With another icon than the default, the button does not turn. */
358
+ readonly icon: import("@angular/core").InputSignal<string>;
359
+ readonly size: import("@angular/core").InputSignal<"sm" | "md">;
360
+ /** Index of the item that is the current choice (a set of options, for example a theme). */
361
+ readonly activeIndex: import("@angular/core").InputSignal<number | null>;
362
+ readonly itemClick: import("@angular/core").OutputEmitterRef<StarMenuItem>;
363
+ protected readonly defaultIcon = "ph-bold ph-plus";
364
+ protected readonly open: import("@angular/core").WritableSignal<boolean>;
365
+ protected toggle(list: HTMLElement): void;
366
+ close(restoreFocus?: boolean, fab?: HTMLElement): void;
367
+ /**
368
+ * Arrow keys along the direction of the list move the focus between the actions (added
369
+ * to the source control, which only used Tab). Home and End go to the first and last action.
370
+ */
371
+ protected onArrow(event: KeyboardEvent): void;
372
+ protected run(item: StarMenuItem): void;
373
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarSpeedDial, never>;
374
+ static ɵcmp: i0.ɵɵComponentDeclaration<StarSpeedDial, "star-speed-dial", never, {
375
+ "items": {
376
+ "alias": "items";
377
+ "required": false;
378
+ "isSignal": true;
379
+ };
380
+ "direction": {
381
+ "alias": "direction";
382
+ "required": false;
383
+ "isSignal": true;
384
+ };
385
+ "ariaLabel": {
386
+ "alias": "ariaLabel";
387
+ "required": false;
388
+ "isSignal": true;
389
+ };
390
+ "icon": {
391
+ "alias": "icon";
392
+ "required": false;
393
+ "isSignal": true;
394
+ };
395
+ "size": {
396
+ "alias": "size";
397
+ "required": false;
398
+ "isSignal": true;
399
+ };
400
+ "activeIndex": {
401
+ "alias": "activeIndex";
402
+ "required": false;
403
+ "isSignal": true;
404
+ };
405
+ }, {
406
+ "itemClick": "itemClick";
407
+ }, never, never, true, never>;
408
+ }
409
+ /**
410
+ * Dock (PrimeNG `p-dock`): a bar of app shortcuts that magnify on hover and focus.
411
+ * `<star-dock [items]="apps" ariaLabel="Apps" />`
412
+ */
413
+ export declare class StarDock {
414
+ protected readonly text: import("@star-ng/ui/core").StarUiText;
415
+ readonly items: import("@angular/core").InputSignal<readonly StarMenuItem[]>;
416
+ /** `left` and `right` are physical; `start` and `end` follow the writing direction. */
417
+ readonly position: import("@angular/core").InputSignal<"left" | "right" | "start" | "end" | "bottom" | "top">;
418
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
419
+ readonly itemClick: import("@angular/core").OutputEmitterRef<StarMenuItem>;
420
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarDock, never>;
421
+ static ɵcmp: i0.ɵɵComponentDeclaration<StarDock, "star-dock", never, {
422
+ "items": {
423
+ "alias": "items";
424
+ "required": false;
425
+ "isSignal": true;
426
+ };
427
+ "position": {
428
+ "alias": "position";
429
+ "required": false;
430
+ "isSignal": true;
431
+ };
432
+ "ariaLabel": {
433
+ "alias": "ariaLabel";
434
+ "required": false;
435
+ "isSignal": true;
436
+ };
437
+ }, {
438
+ "itemClick": "itemClick";
439
+ }, never, never, true, never>;
440
+ }
441
+ /**
442
+ * Scroll-to-top button (PrimeNG `p-scrolltop`): appears after `threshold` px of scroll on the
443
+ * window or a `target` element; smooth scroll unless the user prefers reduced motion.
444
+ * `<star-scroll-top [threshold]="400" />`
445
+ */
446
+ export declare class StarScrollTop {
447
+ protected readonly text: import("@star-ng/ui/core").StarUiText;
448
+ readonly threshold: import("@angular/core").InputSignal<number>;
449
+ /** Scroll container; default the window. */
450
+ readonly target: import("@angular/core").InputSignal<HTMLElement | null>;
451
+ protected readonly visible: import("@angular/core").WritableSignal<boolean>;
452
+ constructor();
453
+ protected toTop(): void;
454
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarScrollTop, never>;
455
+ static ɵcmp: i0.ɵɵComponentDeclaration<StarScrollTop, "star-scroll-top", never, {
456
+ "threshold": {
457
+ "alias": "threshold";
458
+ "required": false;
459
+ "isSignal": true;
460
+ };
461
+ "target": {
462
+ "alias": "target";
463
+ "required": false;
464
+ "isSignal": true;
465
+ };
466
+ }, {}, never, never, true, never>;
467
+ }
468
+ /**
469
+ * Block UI (PrimeNG `p-blockui`): while `blocked`, the content is `inert` (no focus, no clicks,
470
+ * hidden from assistive tech) and shows a busy overlay with a spinner.
471
+ * `<star-block-ui [blocked]="saving()">…form…</star-block-ui>`
472
+ */
473
+ export declare class StarBlockUi {
474
+ readonly blocked: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
475
+ readonly message: import("@angular/core").InputSignal<string>;
476
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarBlockUi, never>;
477
+ static ɵcmp: i0.ɵɵComponentDeclaration<StarBlockUi, "star-block-ui", never, {
478
+ "blocked": {
479
+ "alias": "blocked";
480
+ "required": false;
481
+ "isSignal": true;
482
+ };
483
+ "message": {
484
+ "alias": "message";
485
+ "required": false;
486
+ "isSignal": true;
487
+ };
488
+ }, {}, never, ["*"], true, never>;
489
+ }
490
+ export interface StarMeterItem {
491
+ readonly label: string;
492
+ readonly value: number;
493
+ /** Phosphor icon class shown in the legend. */
494
+ readonly icon?: string;
495
+ }
496
+ /**
497
+ * Meter group (PrimeNG `p-metergroup`): one bar split into parts (fixed series colors, 2px gaps)
498
+ * with a labelled legend. `role="meter"` per part, so each value is announced.
499
+ * `<star-meter-group [items]="storage" [max]="100" unit="GB" ariaLabel="Storage" />`
500
+ */
501
+ export declare class StarMeterGroup {
502
+ protected readonly text: import("@star-ng/ui/core").StarUiText;
503
+ readonly items: import("@angular/core").InputSignal<readonly StarMeterItem[]>;
504
+ /** Full scale; default: the sum of the items. */
505
+ readonly max: import("@angular/core").InputSignal<number | null>;
506
+ readonly unit: import("@angular/core").InputSignal<string>;
507
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
508
+ protected readonly total: import("@angular/core").Signal<number>;
509
+ protected color(index: number): string;
510
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarMeterGroup, never>;
511
+ static ɵcmp: i0.ɵɵComponentDeclaration<StarMeterGroup, "star-meter-group", never, {
512
+ "items": {
513
+ "alias": "items";
514
+ "required": false;
515
+ "isSignal": true;
516
+ };
517
+ "max": {
518
+ "alias": "max";
519
+ "required": false;
520
+ "isSignal": true;
521
+ };
522
+ "unit": {
523
+ "alias": "unit";
524
+ "required": false;
525
+ "isSignal": true;
526
+ };
527
+ "ariaLabel": {
528
+ "alias": "ariaLabel";
529
+ "required": false;
530
+ "isSignal": true;
531
+ };
532
+ }, {}, never, never, true, never>;
533
+ }
@@ -0,0 +1,51 @@
1
+ export * from "@star-ng/ui/accordion";
2
+ export * from "@star-ng/ui/autocomplete";
3
+ export * from "@star-ng/ui/avatar";
4
+ export * from "@star-ng/ui/badge";
5
+ export * from "@star-ng/ui/breadcrumb";
6
+ export * from "@star-ng/ui/button";
7
+ export * from "@star-ng/ui/card";
8
+ export * from "@star-ng/ui/chart";
9
+ export * from "@star-ng/ui/checkbox";
10
+ export * from "@star-ng/ui/core";
11
+ export * from "@star-ng/ui/data-display";
12
+ export * from "@star-ng/ui/date-picker";
13
+ export * from "@star-ng/ui/dialog";
14
+ export * from "@star-ng/ui/drawer";
15
+ export * from "@star-ng/ui/editor";
16
+ export * from "@star-ng/ui/field";
17
+ export * from "@star-ng/ui/file-upload";
18
+ export * from "@star-ng/ui/input-group";
19
+ export * from "@star-ng/ui/input-mask";
20
+ export * from "@star-ng/ui/input-number";
21
+ export * from "@star-ng/ui/input-otp";
22
+ export * from "@star-ng/ui/input-tags";
23
+ export * from "@star-ng/ui/knob";
24
+ export * from "@star-ng/ui/layout";
25
+ export * from "@star-ng/ui/listbox";
26
+ export * from "@star-ng/ui/media";
27
+ export * from "@star-ng/ui/menu";
28
+ export * from "@star-ng/ui/message";
29
+ export * from "@star-ng/ui/paginator";
30
+ export * from "@star-ng/ui/panel";
31
+ export * from "@star-ng/ui/password";
32
+ export * from "@star-ng/ui/popover";
33
+ export * from "@star-ng/ui/progress-bar";
34
+ export * from "@star-ng/ui/radio";
35
+ export * from "@star-ng/ui/rating";
36
+ export * from "@star-ng/ui/select";
37
+ export * from "@star-ng/ui/select-button";
38
+ export * from "@star-ng/ui/skeleton";
39
+ export * from "@star-ng/ui/slider";
40
+ export * from "@star-ng/ui/spinner";
41
+ export * from "@star-ng/ui/stepper";
42
+ export * from "@star-ng/ui/table";
43
+ export * from "@star-ng/ui/tabs";
44
+ export * from "@star-ng/ui/tag";
45
+ export * from "@star-ng/ui/theme";
46
+ export * from "@star-ng/ui/theme-switch";
47
+ export * from "@star-ng/ui/toast";
48
+ export * from "@star-ng/ui/toggle-switch";
49
+ export * from "@star-ng/ui/tooltip";
50
+ export * from "@star-ng/ui/tree";
51
+ export * from "@star-ng/ui/utility";