yukit-web 0.0.1

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 (196) hide show
  1. package/.npm/_logs/2026-08-20T08_40_55_706Z-debug-0.log +38 -0
  2. package/.npm/_logs/2026-08-20T08_40_56_280Z-debug-0.log +14 -0
  3. package/README.md +1465 -0
  4. package/fesm2022/yukit-web-helm-accordion.mjs +141 -0
  5. package/fesm2022/yukit-web-helm-accordion.mjs.map +1 -0
  6. package/fesm2022/yukit-web-helm-alert-dialog.mjs +250 -0
  7. package/fesm2022/yukit-web-helm-alert-dialog.mjs.map +1 -0
  8. package/fesm2022/yukit-web-helm-alert.mjs +94 -0
  9. package/fesm2022/yukit-web-helm-alert.mjs.map +1 -0
  10. package/fesm2022/yukit-web-helm-aspect-ratio.mjs +47 -0
  11. package/fesm2022/yukit-web-helm-aspect-ratio.mjs.map +1 -0
  12. package/fesm2022/yukit-web-helm-attachment.mjs +211 -0
  13. package/fesm2022/yukit-web-helm-attachment.mjs.map +1 -0
  14. package/fesm2022/yukit-web-helm-autocomplete.mjs +361 -0
  15. package/fesm2022/yukit-web-helm-autocomplete.mjs.map +1 -0
  16. package/fesm2022/yukit-web-helm-avatar.mjs +152 -0
  17. package/fesm2022/yukit-web-helm-avatar.mjs.map +1 -0
  18. package/fesm2022/yukit-web-helm-badge.mjs +47 -0
  19. package/fesm2022/yukit-web-helm-badge.mjs.map +1 -0
  20. package/fesm2022/yukit-web-helm-breadcrumb.mjs +196 -0
  21. package/fesm2022/yukit-web-helm-breadcrumb.mjs.map +1 -0
  22. package/fesm2022/yukit-web-helm-bubble.mjs +121 -0
  23. package/fesm2022/yukit-web-helm-bubble.mjs.map +1 -0
  24. package/fesm2022/yukit-web-helm-button-group.mjs +86 -0
  25. package/fesm2022/yukit-web-helm-button-group.mjs.map +1 -0
  26. package/fesm2022/yukit-web-helm-button.mjs +77 -0
  27. package/fesm2022/yukit-web-helm-button.mjs.map +1 -0
  28. package/fesm2022/yukit-web-helm-calendar.mjs +937 -0
  29. package/fesm2022/yukit-web-helm-calendar.mjs.map +1 -0
  30. package/fesm2022/yukit-web-helm-card.mjs +141 -0
  31. package/fesm2022/yukit-web-helm-card.mjs.map +1 -0
  32. package/fesm2022/yukit-web-helm-carousel.mjs +270 -0
  33. package/fesm2022/yukit-web-helm-carousel.mjs.map +1 -0
  34. package/fesm2022/yukit-web-helm-checkbox.mjs +147 -0
  35. package/fesm2022/yukit-web-helm-checkbox.mjs.map +1 -0
  36. package/fesm2022/yukit-web-helm-collapsible.mjs +62 -0
  37. package/fesm2022/yukit-web-helm-collapsible.mjs.map +1 -0
  38. package/fesm2022/yukit-web-helm-combobox.mjs +624 -0
  39. package/fesm2022/yukit-web-helm-combobox.mjs.map +1 -0
  40. package/fesm2022/yukit-web-helm-command.mjs +315 -0
  41. package/fesm2022/yukit-web-helm-command.mjs.map +1 -0
  42. package/fesm2022/yukit-web-helm-context-menu.mjs +71 -0
  43. package/fesm2022/yukit-web-helm-context-menu.mjs.map +1 -0
  44. package/fesm2022/yukit-web-helm-date-picker.mjs +1517 -0
  45. package/fesm2022/yukit-web-helm-date-picker.mjs.map +1 -0
  46. package/fesm2022/yukit-web-helm-dialog.mjs +271 -0
  47. package/fesm2022/yukit-web-helm-dialog.mjs.map +1 -0
  48. package/fesm2022/yukit-web-helm-drawer.mjs +233 -0
  49. package/fesm2022/yukit-web-helm-drawer.mjs.map +1 -0
  50. package/fesm2022/yukit-web-helm-dropdown-menu.mjs +508 -0
  51. package/fesm2022/yukit-web-helm-dropdown-menu.mjs.map +1 -0
  52. package/fesm2022/yukit-web-helm-empty.mjs +125 -0
  53. package/fesm2022/yukit-web-helm-empty.mjs.map +1 -0
  54. package/fesm2022/yukit-web-helm-field.mjs +325 -0
  55. package/fesm2022/yukit-web-helm-field.mjs.map +1 -0
  56. package/fesm2022/yukit-web-helm-hover-card.mjs +102 -0
  57. package/fesm2022/yukit-web-helm-hover-card.mjs.map +1 -0
  58. package/fesm2022/yukit-web-helm-input-group.mjs +171 -0
  59. package/fesm2022/yukit-web-helm-input-group.mjs.map +1 -0
  60. package/fesm2022/yukit-web-helm-input-otp.mjs +127 -0
  61. package/fesm2022/yukit-web-helm-input-otp.mjs.map +1 -0
  62. package/fesm2022/yukit-web-helm-input.mjs +32 -0
  63. package/fesm2022/yukit-web-helm-input.mjs.map +1 -0
  64. package/fesm2022/yukit-web-helm-item.mjs +242 -0
  65. package/fesm2022/yukit-web-helm-item.mjs.map +1 -0
  66. package/fesm2022/yukit-web-helm-kbd.mjs +46 -0
  67. package/fesm2022/yukit-web-helm-kbd.mjs.map +1 -0
  68. package/fesm2022/yukit-web-helm-label.mjs +30 -0
  69. package/fesm2022/yukit-web-helm-label.mjs.map +1 -0
  70. package/fesm2022/yukit-web-helm-marker.mjs +77 -0
  71. package/fesm2022/yukit-web-helm-marker.mjs.map +1 -0
  72. package/fesm2022/yukit-web-helm-menubar.mjs +90 -0
  73. package/fesm2022/yukit-web-helm-menubar.mjs.map +1 -0
  74. package/fesm2022/yukit-web-helm-message.mjs +115 -0
  75. package/fesm2022/yukit-web-helm-message.mjs.map +1 -0
  76. package/fesm2022/yukit-web-helm-native-select.mjs +180 -0
  77. package/fesm2022/yukit-web-helm-native-select.mjs.map +1 -0
  78. package/fesm2022/yukit-web-helm-navigation-menu.mjs +173 -0
  79. package/fesm2022/yukit-web-helm-navigation-menu.mjs.map +1 -0
  80. package/fesm2022/yukit-web-helm-pagination.mjs +745 -0
  81. package/fesm2022/yukit-web-helm-pagination.mjs.map +1 -0
  82. package/fesm2022/yukit-web-helm-popover.mjs +136 -0
  83. package/fesm2022/yukit-web-helm-popover.mjs.map +1 -0
  84. package/fesm2022/yukit-web-helm-progress.mjs +60 -0
  85. package/fesm2022/yukit-web-helm-progress.mjs.map +1 -0
  86. package/fesm2022/yukit-web-helm-radio-group.mjs +185 -0
  87. package/fesm2022/yukit-web-helm-radio-group.mjs.map +1 -0
  88. package/fesm2022/yukit-web-helm-resizable.mjs +98 -0
  89. package/fesm2022/yukit-web-helm-resizable.mjs.map +1 -0
  90. package/fesm2022/yukit-web-helm-scroll-area.mjs +36 -0
  91. package/fesm2022/yukit-web-helm-scroll-area.mjs.map +1 -0
  92. package/fesm2022/yukit-web-helm-select.mjs +412 -0
  93. package/fesm2022/yukit-web-helm-select.mjs.map +1 -0
  94. package/fesm2022/yukit-web-helm-separator.mjs +33 -0
  95. package/fesm2022/yukit-web-helm-separator.mjs.map +1 -0
  96. package/fesm2022/yukit-web-helm-sheet.mjs +254 -0
  97. package/fesm2022/yukit-web-helm-sheet.mjs.map +1 -0
  98. package/fesm2022/yukit-web-helm-sidebar.mjs +857 -0
  99. package/fesm2022/yukit-web-helm-sidebar.mjs.map +1 -0
  100. package/fesm2022/yukit-web-helm-skeleton.mjs +29 -0
  101. package/fesm2022/yukit-web-helm-skeleton.mjs.map +1 -0
  102. package/fesm2022/yukit-web-helm-slider.mjs +123 -0
  103. package/fesm2022/yukit-web-helm-slider.mjs.map +1 -0
  104. package/fesm2022/yukit-web-helm-sonner.mjs +126 -0
  105. package/fesm2022/yukit-web-helm-sonner.mjs.map +1 -0
  106. package/fesm2022/yukit-web-helm-spinner.mjs +48 -0
  107. package/fesm2022/yukit-web-helm-spinner.mjs.map +1 -0
  108. package/fesm2022/yukit-web-helm-switch.mjs +126 -0
  109. package/fesm2022/yukit-web-helm-switch.mjs.map +1 -0
  110. package/fesm2022/yukit-web-helm-table.mjs +180 -0
  111. package/fesm2022/yukit-web-helm-table.mjs.map +1 -0
  112. package/fesm2022/yukit-web-helm-tabs.mjs +251 -0
  113. package/fesm2022/yukit-web-helm-tabs.mjs.map +1 -0
  114. package/fesm2022/yukit-web-helm-textarea.mjs +32 -0
  115. package/fesm2022/yukit-web-helm-textarea.mjs.map +1 -0
  116. package/fesm2022/yukit-web-helm-toggle-group.mjs +95 -0
  117. package/fesm2022/yukit-web-helm-toggle-group.mjs.map +1 -0
  118. package/fesm2022/yukit-web-helm-toggle.mjs +61 -0
  119. package/fesm2022/yukit-web-helm-toggle.mjs.map +1 -0
  120. package/fesm2022/yukit-web-helm-tooltip.mjs +57 -0
  121. package/fesm2022/yukit-web-helm-tooltip.mjs.map +1 -0
  122. package/fesm2022/yukit-web-helm-typography.mjs +205 -0
  123. package/fesm2022/yukit-web-helm-typography.mjs.map +1 -0
  124. package/fesm2022/yukit-web-helm-utils.mjs +272 -0
  125. package/fesm2022/yukit-web-helm-utils.mjs.map +1 -0
  126. package/fesm2022/yukit-web.mjs +3592 -0
  127. package/fesm2022/yukit-web.mjs.map +1 -0
  128. package/package.json +291 -0
  129. package/src/lib/theme/spartan-overwrites/accordion.css +4 -0
  130. package/src/lib/theme/theme.css +161 -0
  131. package/src/lib/theme/tokens/color.css +356 -0
  132. package/src/lib/theme/tokens/component-colors.css +167 -0
  133. package/src/lib/theme/tokens/radius.css +18 -0
  134. package/src/lib/theme/tokens/typography.css +201 -0
  135. package/types/yukit-web-helm-accordion.d.ts +32 -0
  136. package/types/yukit-web-helm-alert-dialog.d.ts +85 -0
  137. package/types/yukit-web-helm-alert.d.ts +37 -0
  138. package/types/yukit-web-helm-aspect-ratio.d.ts +16 -0
  139. package/types/yukit-web-helm-attachment.d.ts +80 -0
  140. package/types/yukit-web-helm-autocomplete.d.ts +91 -0
  141. package/types/yukit-web-helm-avatar.d.ts +45 -0
  142. package/types/yukit-web-helm-badge.d.ts +19 -0
  143. package/types/yukit-web-helm-breadcrumb.d.ts +52 -0
  144. package/types/yukit-web-helm-bubble.d.ts +46 -0
  145. package/types/yukit-web-helm-button-group.d.ts +25 -0
  146. package/types/yukit-web-helm-button.d.ts +33 -0
  147. package/types/yukit-web-helm-calendar.d.ts +89 -0
  148. package/types/yukit-web-helm-card.d.ts +49 -0
  149. package/types/yukit-web-helm-carousel.d.ts +79 -0
  150. package/types/yukit-web-helm-checkbox.d.ts +60 -0
  151. package/types/yukit-web-helm-collapsible.d.ts +22 -0
  152. package/types/yukit-web-helm-combobox.d.ts +150 -0
  153. package/types/yukit-web-helm-command.d.ts +84 -0
  154. package/types/yukit-web-helm-context-menu.d.ts +29 -0
  155. package/types/yukit-web-helm-date-picker.d.ts +574 -0
  156. package/types/yukit-web-helm-dialog.d.ts +90 -0
  157. package/types/yukit-web-helm-drawer.d.ts +71 -0
  158. package/types/yukit-web-helm-dropdown-menu.d.ts +171 -0
  159. package/types/yukit-web-helm-empty.d.ts +49 -0
  160. package/types/yukit-web-helm-field.d.ts +102 -0
  161. package/types/yukit-web-helm-hover-card.d.ts +31 -0
  162. package/types/yukit-web-helm-input-group.d.ts +47 -0
  163. package/types/yukit-web-helm-input-otp.d.ts +40 -0
  164. package/types/yukit-web-helm-input.d.ts +13 -0
  165. package/types/yukit-web-helm-item.d.ts +96 -0
  166. package/types/yukit-web-helm-kbd.d.ts +17 -0
  167. package/types/yukit-web-helm-label.d.ts +12 -0
  168. package/types/yukit-web-helm-marker.d.ts +31 -0
  169. package/types/yukit-web-helm-menubar.d.ts +35 -0
  170. package/types/yukit-web-helm-message.d.ts +44 -0
  171. package/types/yukit-web-helm-native-select.d.ts +65 -0
  172. package/types/yukit-web-helm-navigation-menu.d.ts +49 -0
  173. package/types/yukit-web-helm-pagination.d.ts +187 -0
  174. package/types/yukit-web-helm-popover.d.ts +49 -0
  175. package/types/yukit-web-helm-progress.d.ts +22 -0
  176. package/types/yukit-web-helm-radio-group.d.ts +66 -0
  177. package/types/yukit-web-helm-resizable.d.ts +27 -0
  178. package/types/yukit-web-helm-scroll-area.d.ts +11 -0
  179. package/types/yukit-web-helm-select.d.ts +114 -0
  180. package/types/yukit-web-helm-separator.d.ts +13 -0
  181. package/types/yukit-web-helm-sheet.d.ts +75 -0
  182. package/types/yukit-web-helm-sidebar.d.ts +232 -0
  183. package/types/yukit-web-helm-skeleton.d.ts +11 -0
  184. package/types/yukit-web-helm-slider.d.ts +14 -0
  185. package/types/yukit-web-helm-sonner.d.ts +52 -0
  186. package/types/yukit-web-helm-spinner.d.ts +18 -0
  187. package/types/yukit-web-helm-switch.d.ts +54 -0
  188. package/types/yukit-web-helm-table.d.ts +82 -0
  189. package/types/yukit-web-helm-tabs.d.ts +66 -0
  190. package/types/yukit-web-helm-textarea.d.ts +13 -0
  191. package/types/yukit-web-helm-toggle-group.d.ts +34 -0
  192. package/types/yukit-web-helm-toggle.d.ts +22 -0
  193. package/types/yukit-web-helm-tooltip.d.ts +17 -0
  194. package/types/yukit-web-helm-typography.d.ts +89 -0
  195. package/types/yukit-web-helm-utils.d.ts +44 -0
  196. package/types/yukit-web.d.ts +2426 -0
@@ -0,0 +1,18 @@
1
+ import * as _angular_core from '@angular/core';
2
+
3
+ declare class HlmSpinner {
4
+ /**
5
+ * The name of the icon to be used as the spinner.
6
+ * Use provideIcons({ ... }) to register custom icons.
7
+ */
8
+ readonly icon: _angular_core.InputSignal<string>;
9
+ /** Aria label for the spinner for accessibility. */
10
+ readonly ariaLabel: _angular_core.InputSignal<string>;
11
+ constructor();
12
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmSpinner, never>;
13
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmSpinner, "hlm-spinner", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
14
+ }
15
+
16
+ declare const HlmSpinnerImports: readonly [typeof HlmSpinner];
17
+
18
+ export { HlmSpinner, HlmSpinnerImports };
@@ -0,0 +1,54 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { BooleanInput } from '@angular/cdk/coercion';
3
+ import { ControlValueAccessor } from '@angular/forms';
4
+ import { ChangeFn, TouchFn } from '@spartan-ng/brain/forms';
5
+ import { BrnSwitchSize } from '@spartan-ng/brain/switch';
6
+ import { ClassValue } from 'clsx';
7
+
8
+ declare const HLM_SWITCH_VALUE_ACCESSOR: {
9
+ provide: _angular_core.InjectionToken<readonly ControlValueAccessor[]>;
10
+ useExisting: _angular_core.Type<any>;
11
+ multi: boolean;
12
+ };
13
+ declare class HlmSwitch implements ControlValueAccessor {
14
+ readonly userClass: _angular_core.InputSignal<ClassValue>;
15
+ protected readonly _computedClass: _angular_core.Signal<string>;
16
+ /** The checked state of the switch. */
17
+ readonly checkedInput: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
18
+ readonly checked: _angular_core.WritableSignal<boolean>;
19
+ /** Emits when the checked state of the switch changes. */
20
+ readonly checkedChange: _angular_core.OutputEmitterRef<boolean>;
21
+ /** The disabled state of the switch. */
22
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
23
+ /** The size of the switch. */
24
+ readonly size: _angular_core.InputSignal<BrnSwitchSize>;
25
+ /** Used to set the id on the underlying brn element. */
26
+ readonly inputId: _angular_core.InputSignal<string | null>;
27
+ /** Used to set the aria-label attribute on the underlying brn element. */
28
+ readonly ariaLabel: _angular_core.InputSignal<string | null>;
29
+ /** Used to set the aria-labelledby attribute on the underlying brn element. */
30
+ readonly ariaLabelledby: _angular_core.InputSignal<string | null>;
31
+ /** Used to set the aria-describedby attribute on the underlying brn element. */
32
+ readonly ariaDescribedby: _angular_core.InputSignal<string | null>;
33
+ protected readonly _disabled: _angular_core.WritableSignal<boolean>;
34
+ protected _onChange?: ChangeFn<boolean>;
35
+ protected _onTouched?: TouchFn;
36
+ protected handleChange(value: boolean): void;
37
+ /** CONTROL VALUE ACCESSOR */
38
+ writeValue(value: boolean): void;
39
+ registerOnChange(fn: ChangeFn<boolean>): void;
40
+ registerOnTouched(fn: TouchFn): void;
41
+ setDisabledState(isDisabled: boolean): void;
42
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmSwitch, never>;
43
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmSwitch, "hlm-switch", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "checkedInput": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; }, { "checkedChange": "checkedChange"; }, never, never, true, never>;
44
+ }
45
+
46
+ declare class HlmSwitchThumb {
47
+ constructor();
48
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmSwitchThumb, never>;
49
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmSwitchThumb, "brn-switch-thumb[hlm],[hlmSwitchThumb]", never, {}, {}, never, never, true, never>;
50
+ }
51
+
52
+ declare const HlmSwitchImports: readonly [typeof HlmSwitch, typeof HlmSwitchThumb];
53
+
54
+ export { HLM_SWITCH_VALUE_ACCESSOR, HlmSwitch, HlmSwitchImports, HlmSwitchThumb };
@@ -0,0 +1,82 @@
1
+ import * as i0 from '@angular/core';
2
+
3
+ declare class HlmTableContainer {
4
+ constructor();
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmTableContainer, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTableContainer, "div[hlmTableContainer]", never, {}, {}, never, never, true, never>;
7
+ }
8
+ /**
9
+ * Directive to apply Shadcn-like styling to a <table> element.
10
+ */
11
+ declare class HlmTable {
12
+ constructor();
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmTable, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTable, "table[hlmTable]", never, {}, {}, never, never, true, never>;
15
+ }
16
+ /**
17
+ * Directive to apply Shadcn-like styling to a <thead> element
18
+ * within an HlmTable context.
19
+ */
20
+ declare class HlmTHead {
21
+ constructor();
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmTHead, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTHead, "thead[hlmTHead],thead[hlmTableHeader]", never, {}, {}, never, never, true, never>;
24
+ }
25
+ /**
26
+ * Directive to apply Shadcn-like styling to a <tbody> element
27
+ * within an HlmTable context.
28
+ */
29
+ declare class HlmTBody {
30
+ constructor();
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmTBody, never>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTBody, "tbody[hlmTBody],tbody[hlmTableBody]", never, {}, {}, never, never, true, never>;
33
+ }
34
+ /**
35
+ * Directive to apply Shadcn-like styling to a <tfoot> element
36
+ * within an HlmTable context.
37
+ */
38
+ declare class HlmTFoot {
39
+ constructor();
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmTFoot, never>;
41
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTFoot, "tfoot[hlmTFoot],tfoot[hlmTableFooter]", never, {}, {}, never, never, true, never>;
42
+ }
43
+ /**
44
+ * Directive to apply Shadcn-like styling to a <tr> element
45
+ * within an HlmTable context.
46
+ */
47
+ declare class HlmTr {
48
+ constructor();
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmTr, never>;
50
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTr, "tr[hlmTr],tr[hlmTableRow]", never, {}, {}, never, never, true, never>;
51
+ }
52
+ /**
53
+ * Directive to apply Shadcn-like styling to a <th> element
54
+ * within an HlmTable context.
55
+ */
56
+ declare class HlmTh {
57
+ constructor();
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmTh, never>;
59
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTh, "th[hlmTh],th[hlmTableHead]", never, {}, {}, never, never, true, never>;
60
+ }
61
+ /**
62
+ * Directive to apply Shadcn-like styling to a <td> element
63
+ * within an HlmTable context.
64
+ */
65
+ declare class HlmTd {
66
+ constructor();
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmTd, never>;
68
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTd, "td[hlmTd],td[hlmTableCell]", never, {}, {}, never, never, true, never>;
69
+ }
70
+ /**
71
+ * Directive to apply Shadcn-like styling to a <caption> element
72
+ * within an HlmTable context.
73
+ */
74
+ declare class HlmCaption {
75
+ constructor();
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCaption, never>;
77
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCaption, "caption[hlmCaption],caption[hlmTableCaption]", never, {}, {}, never, never, true, never>;
78
+ }
79
+
80
+ declare const HlmTableImports: readonly [typeof HlmCaption, typeof HlmTableContainer, typeof HlmTable, typeof HlmTBody, typeof HlmTd, typeof HlmTFoot, typeof HlmTh, typeof HlmTHead, typeof HlmTr];
81
+
82
+ export { HlmCaption, HlmTBody, HlmTFoot, HlmTHead, HlmTable, HlmTableContainer, HlmTableImports, HlmTd, HlmTh, HlmTr };
@@ -0,0 +1,66 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { ElementRef } from '@angular/core';
3
+ import * as i1 from '@spartan-ng/brain/tabs';
4
+ import { BrnTabsPaginatedList, BrnTabsTrigger, BrnPaginatedTabHeaderItem } from '@spartan-ng/brain/tabs';
5
+ import * as class_variance_authority_types from 'class-variance-authority/types';
6
+ import { ClassValue } from 'clsx';
7
+ import { Observable } from 'rxjs';
8
+
9
+ declare class HlmTabs {
10
+ readonly tab: _angular_core.InputSignal<string>;
11
+ constructor();
12
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmTabs, never>;
13
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmTabs, "[hlmTabs],hlm-tabs", never, { "tab": { "alias": "tab"; "required": true; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BrnTabs; inputs: { "orientation": "orientation"; "activationMode": "activationMode"; "brnTabs": "tab"; }; outputs: { "tabActivated": "tabActivated"; }; }]>;
14
+ }
15
+
16
+ declare class HlmTabsContent {
17
+ readonly contentFor: _angular_core.InputSignal<string>;
18
+ constructor();
19
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmTabsContent, never>;
20
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmTabsContent, "[hlmTabsContent]", never, { "contentFor": { "alias": "hlmTabsContent"; "required": true; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BrnTabsContent; inputs: { "brnTabsContent": "hlmTabsContent"; }; outputs: {}; }]>;
21
+ }
22
+
23
+ declare class HlmTabsContentLazy {
24
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmTabsContentLazy, never>;
25
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmTabsContentLazy, "ng-template[hlmTabsContentLazy]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnTabsContentLazy; inputs: {}; outputs: {}; }]>;
26
+ }
27
+
28
+ declare const listVariants: (props?: ({
29
+ variant?: "default" | "line" | null | undefined;
30
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
31
+ declare class HlmTabsList {
32
+ readonly variant: _angular_core.InputSignal<"default" | "line" | null | undefined>;
33
+ constructor();
34
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmTabsList, never>;
35
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmTabsList, "[hlmTabsList],hlm-tabs-list", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BrnTabsList; inputs: {}; outputs: {}; }]>;
36
+ }
37
+
38
+ declare class HlmTabsPaginatedList extends BrnTabsPaginatedList {
39
+ constructor();
40
+ readonly items: _angular_core.Signal<readonly BrnTabsTrigger[]>;
41
+ /** Explicitly annotating type to avoid non-portable inferred type */
42
+ readonly itemsChanges: Observable<ReadonlyArray<BrnPaginatedTabHeaderItem>>;
43
+ readonly tabListContainer: _angular_core.Signal<ElementRef<HTMLElement>>;
44
+ readonly tabList: _angular_core.Signal<ElementRef<HTMLElement>>;
45
+ readonly tabListInner: _angular_core.Signal<ElementRef<HTMLElement>>;
46
+ readonly nextPaginator: _angular_core.Signal<ElementRef<HTMLElement>>;
47
+ readonly previousPaginator: _angular_core.Signal<ElementRef<HTMLElement>>;
48
+ readonly tabListClass: _angular_core.InputSignal<ClassValue>;
49
+ protected readonly _tabListClass: _angular_core.Signal<string>;
50
+ readonly paginationButtonClass: _angular_core.InputSignal<ClassValue>;
51
+ protected readonly _paginationButtonClass: _angular_core.Signal<string>;
52
+ protected _itemSelected(event: KeyboardEvent): void;
53
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmTabsPaginatedList, never>;
54
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmTabsPaginatedList, "hlm-paginated-tabs-list", never, { "tabListClass": { "alias": "tabListClass"; "required": false; "isSignal": true; }; "paginationButtonClass": { "alias": "paginationButtonClass"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
55
+ }
56
+
57
+ declare class HlmTabsTrigger {
58
+ readonly triggerFor: _angular_core.InputSignal<string>;
59
+ constructor();
60
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmTabsTrigger, never>;
61
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmTabsTrigger, "[hlmTabsTrigger]", never, { "triggerFor": { "alias": "hlmTabsTrigger"; "required": true; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BrnTabsTrigger; inputs: { "brnTabsTrigger": "hlmTabsTrigger"; "disabled": "disabled"; }; outputs: {}; }]>;
62
+ }
63
+
64
+ declare const HlmTabsImports: readonly [typeof HlmTabs, typeof HlmTabsList, typeof HlmTabsTrigger, typeof HlmTabsContent, typeof HlmTabsContentLazy, typeof HlmTabsPaginatedList];
65
+
66
+ export { HlmTabs, HlmTabsContent, HlmTabsContentLazy, HlmTabsImports, HlmTabsList, HlmTabsPaginatedList, HlmTabsTrigger, listVariants };
@@ -0,0 +1,13 @@
1
+ import * as i0 from '@angular/core';
2
+ import * as i1 from '@spartan-ng/brain/textarea';
3
+ import * as i2 from '@spartan-ng/brain/field';
4
+
5
+ declare class HlmTextarea {
6
+ constructor();
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmTextarea, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTextarea, "[hlmTextarea]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnTextarea; inputs: { "id": "id"; "forceInvalid": "forceInvalid"; }; outputs: {}; }, { directive: typeof i2.BrnFieldControlDescribedBy; inputs: {}; outputs: {}; }]>;
9
+ }
10
+
11
+ declare const HlmTextareaImports: readonly [typeof HlmTextarea];
12
+
13
+ export { HlmTextarea, HlmTextareaImports };
@@ -0,0 +1,34 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { InjectionToken, Type, ExistingProvider } from '@angular/core';
3
+ import { NumberInput } from '@angular/cdk/coercion';
4
+ import * as i1 from '@spartan-ng/brain/toggle-group';
5
+ import * as yukit_web_helm_toggle_group from 'yukit-web/helm/toggle-group';
6
+
7
+ declare class HlmToggleGroup {
8
+ readonly variant: _angular_core.InputSignal<"default" | "outline" | null | undefined>;
9
+ readonly size: _angular_core.InputSignal<"default" | "sm" | "lg" | null | undefined>;
10
+ readonly spacing: _angular_core.InputSignalWithTransform<number, NumberInput>;
11
+ readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
12
+ constructor();
13
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmToggleGroup, never>;
14
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmToggleGroup, "[hlmToggleGroup],hlm-toggle-group", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "spacing": { "alias": "spacing"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BrnToggleGroup; inputs: { "type": "type"; "value": "value"; "nullable": "nullable"; "disabled": "disabled"; }; outputs: { "valueChange": "valueChange"; }; }]>;
15
+ }
16
+
17
+ declare class HlmToggleGroupItem {
18
+ protected readonly _toggleGroup: yukit_web_helm_toggle_group.HlmToggleGroup;
19
+ readonly variant: _angular_core.InputSignal<"default" | "outline" | null | undefined>;
20
+ readonly size: _angular_core.InputSignal<"default" | "sm" | "lg" | null | undefined>;
21
+ protected readonly _variant: _angular_core.Signal<"default" | "outline" | null | undefined>;
22
+ protected readonly _size: _angular_core.Signal<"default" | "sm" | "lg" | null | undefined>;
23
+ constructor();
24
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmToggleGroupItem, never>;
25
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmToggleGroupItem, "button[hlmToggleGroupItem]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BrnToggleGroupItem; inputs: { "id": "id"; "value": "value"; "disabled": "disabled"; "state": "state"; "aria-label": "aria-label"; "type": "type"; }; outputs: { "stateChange": "stateChange"; }; }]>;
26
+ }
27
+
28
+ declare const HlmToggleGroupToken: InjectionToken<HlmToggleGroup>;
29
+ declare function injectHlmToggleGroup(): HlmToggleGroup;
30
+ declare function provideHlmToggleGroup(toggleGroup: Type<HlmToggleGroup>): ExistingProvider;
31
+
32
+ declare const HlmToggleGroupImports: readonly [typeof HlmToggleGroup, typeof HlmToggleGroupItem];
33
+
34
+ export { HlmToggleGroup, HlmToggleGroupImports, HlmToggleGroupItem, HlmToggleGroupToken, injectHlmToggleGroup, provideHlmToggleGroup };
@@ -0,0 +1,22 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import * as i1 from '@spartan-ng/brain/toggle';
5
+
6
+ declare const toggleVariants: (props?: ({
7
+ variant?: "default" | "outline" | null | undefined;
8
+ size?: "default" | "sm" | "lg" | null | undefined;
9
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
10
+ type ToggleVariants = VariantProps<typeof toggleVariants>;
11
+ declare class HlmToggle {
12
+ readonly variant: _angular_core.InputSignal<"default" | "outline" | null | undefined>;
13
+ readonly size: _angular_core.InputSignal<"default" | "sm" | "lg" | null | undefined>;
14
+ constructor();
15
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmToggle, never>;
16
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmToggle, "button[hlmToggle]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BrnToggle; inputs: { "id": "id"; "value": "value"; "disabled": "disabled"; "state": "state"; "aria-label": "aria-label"; "type": "type"; }; outputs: { "stateChange": "stateChange"; }; }]>;
17
+ }
18
+
19
+ declare const HlmToggleImports: readonly [typeof HlmToggle];
20
+
21
+ export { HlmToggle, HlmToggleImports, toggleVariants };
22
+ export type { ToggleVariants };
@@ -0,0 +1,17 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as i0 from '@angular/core';
3
+ import * as i1 from '@spartan-ng/brain/tooltip';
4
+
5
+ declare const DEFAULT_TOOLTIP_SVG_CLASS = "bg-foreground fill-foreground z-50 block size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px]";
6
+ declare const DEFAULT_TOOLTIP_CONTENT_CLASSES: string;
7
+ declare const tooltipPositionVariants: (props?: ({
8
+ position?: "top" | "bottom" | "left" | "right" | null | undefined;
9
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
10
+ declare class HlmTooltip {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmTooltip, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTooltip, "[hlmTooltip]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnTooltip; inputs: { "brnTooltip": "hlmTooltip"; "position": "position"; "hideDelay": "hideDelay"; "showDelay": "showDelay"; "tooltipDisabled": "tooltipDisabled"; }; outputs: {}; }]>;
13
+ }
14
+
15
+ declare const HlmTooltipImports: readonly [typeof HlmTooltip];
16
+
17
+ export { DEFAULT_TOOLTIP_CONTENT_CLASSES, DEFAULT_TOOLTIP_SVG_CLASS, HlmTooltip, HlmTooltipImports, tooltipPositionVariants };
@@ -0,0 +1,89 @@
1
+ import * as i0 from '@angular/core';
2
+
3
+ declare const hlmBlockquote = "mt-6 border-border border-l-2 pl-6 italic";
4
+ declare class HlmBlockquote {
5
+ constructor();
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmBlockquote, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmBlockquote, "[hlmBlockquote]", never, {}, {}, never, never, true, never>;
8
+ }
9
+
10
+ declare const hlmCode = "relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold";
11
+ declare class HlmCode {
12
+ constructor();
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmCode, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCode, "[hlmCode]", never, {}, {}, never, never, true, never>;
15
+ }
16
+
17
+ declare const hlmH1 = "scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl";
18
+ declare class HlmH1 {
19
+ constructor();
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmH1, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmH1, "[hlmH1]", never, {}, {}, never, never, true, never>;
22
+ }
23
+
24
+ declare const hlmH2 = "scroll-m-20 border-border border-b pb-2 text-3xl font-semibold tracking-tight transition-colors first:mt-0";
25
+ declare class HlmH2 {
26
+ constructor();
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmH2, never>;
28
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmH2, "[hlmH2]", never, {}, {}, never, never, true, never>;
29
+ }
30
+
31
+ declare const hlmH3 = "scroll-m-20 text-2xl font-semibold tracking-tight";
32
+ declare class HlmH3 {
33
+ constructor();
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmH3, never>;
35
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmH3, "[hlmH3]", never, {}, {}, never, never, true, never>;
36
+ }
37
+
38
+ declare const hlmH4 = "scroll-m-20 text-xl font-semibold tracking-tight";
39
+ declare class HlmH4 {
40
+ constructor();
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmH4, never>;
42
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmH4, "[hlmH4]", never, {}, {}, never, never, true, never>;
43
+ }
44
+
45
+ declare const hlmLarge = "text-lg font-semibold";
46
+ declare class HlmLarge {
47
+ constructor();
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmLarge, never>;
49
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmLarge, "[hlmLarge]", never, {}, {}, never, never, true, never>;
50
+ }
51
+
52
+ declare const hlmLead = "text-xl text-muted-foreground";
53
+ declare class HlmLead {
54
+ constructor();
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmLead, never>;
56
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmLead, "[hlmLead]", never, {}, {}, never, never, true, never>;
57
+ }
58
+
59
+ declare const hlmMuted = "text-sm text-muted-foreground";
60
+ declare class HlmMuted {
61
+ constructor();
62
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmMuted, never>;
63
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmMuted, "[hlmMuted]", never, {}, {}, never, never, true, never>;
64
+ }
65
+
66
+ declare const hlmP = "leading-7 [&:not(:first-child)]:mt-6";
67
+ declare class HlmP {
68
+ constructor();
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmP, never>;
70
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmP, "[hlmP]", never, {}, {}, never, never, true, never>;
71
+ }
72
+
73
+ declare const hlmSmall = "text-sm font-medium leading-none";
74
+ declare class HlmSmall {
75
+ constructor();
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmSmall, never>;
77
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSmall, "[hlmSmall]", never, {}, {}, never, never, true, never>;
78
+ }
79
+
80
+ declare const hlmUl = "my-6 ml-6 list-disc [&>li]:mt-2";
81
+ declare class HlmUl {
82
+ constructor();
83
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmUl, never>;
84
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmUl, "[hlmUl]", never, {}, {}, never, never, true, never>;
85
+ }
86
+
87
+ declare const HlmTypographyImports: (typeof HlmBlockquote)[];
88
+
89
+ export { HlmBlockquote, HlmCode, HlmH1, HlmH2, HlmH3, HlmH4, HlmLarge, HlmLead, HlmMuted, HlmP, HlmSmall, HlmTypographyImports, HlmUl, hlmBlockquote, hlmCode, hlmH1, hlmH2, hlmH3, hlmH4, hlmLarge, hlmLead, hlmMuted, hlmP, hlmSmall, hlmUl };
@@ -0,0 +1,44 @@
1
+ import { ElementRef, Injector, EnvironmentProviders } from '@angular/core';
2
+ import { ClassValue } from 'clsx';
3
+
4
+ declare function hlm(...inputs: ClassValue[]): string;
5
+ /**
6
+ * This function dynamically adds and removes classes for a given element without requiring
7
+ * the a class binding (e.g. `[class]="..."`) which may interfere with other class bindings.
8
+ *
9
+ * 1. This will merge the existing classes on the element with the new classes.
10
+ * 2. It will also remove any classes that were previously added by this function but are no longer present in the new classes.
11
+ * 3. Multiple calls to this function on the same element will be merged efficiently.
12
+ */
13
+ declare function classes(computed: () => ClassValue[] | string, options?: ClassesOptions): void;
14
+ interface ClassesOptions {
15
+ elementRef?: ElementRef<HTMLElement>;
16
+ injector?: Injector;
17
+ }
18
+
19
+ /**
20
+ * Provides default configuration for Spartan Helm components.
21
+ *
22
+ * This utility configures the Angular CDK overlay to disable the `usePopover`
23
+ * behavior introduced in Angular 21, which causes CDK overlay-based components
24
+ * (sheets, dialogs, tooltips, etc.) to render above `position: fixed` elements
25
+ * like `<hlm-toaster>`.
26
+ *
27
+ * @returns {EnvironmentProviders} Environment providers to be added to the application config.
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * // app.config.ts
32
+ * import { provideSpartanHlm } from 'yukit-web/helm/utils';
33
+ *
34
+ * export const appConfig: ApplicationConfig = {
35
+ * providers: [
36
+ * provideSpartanHlm(),
37
+ * // ... other providers
38
+ * ],
39
+ * };
40
+ * ```
41
+ */
42
+ declare function provideSpartanHlm(): EnvironmentProviders;
43
+
44
+ export { classes, hlm, provideSpartanHlm };