@spartan-ng/cli 0.0.1-alpha.506 → 0.0.1-alpha.507

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 (183) hide show
  1. package/generators.json +20 -0
  2. package/package.json +1 -1
  3. package/src/generators/base/lib/build-dependency-array.d.ts +0 -1
  4. package/src/generators/base/lib/build-dependency-array.js +1 -1
  5. package/src/generators/base/lib/build-dependency-array.js.map +1 -1
  6. package/src/generators/healthcheck/generator.js +2 -0
  7. package/src/generators/healthcheck/generator.js.map +1 -1
  8. package/src/generators/healthcheck/healthchecks/hlm.d.ts +2 -0
  9. package/src/generators/healthcheck/healthchecks/hlm.js +32 -0
  10. package/src/generators/healthcheck/healthchecks/hlm.js.map +1 -0
  11. package/src/generators/healthcheck/healthchecks.d.ts +1 -1
  12. package/src/generators/healthcheck/healthchecks.js.map +1 -1
  13. package/src/generators/migrate-hlm/compat.d.ts +2 -0
  14. package/src/generators/migrate-hlm/compat.js +7 -0
  15. package/src/generators/migrate-hlm/compat.js.map +1 -0
  16. package/src/generators/migrate-hlm/generator.d.ts +4 -0
  17. package/src/generators/migrate-hlm/generator.js +102 -0
  18. package/src/generators/migrate-hlm/generator.js.map +1 -0
  19. package/src/generators/migrate-hlm/schema.d.ts +4 -0
  20. package/src/generators/migrate-hlm/schema.json +14 -0
  21. package/src/generators/theme/__snapshots__/generator.spec.ts.snap +40 -20
  22. package/src/generators/theme/libs/add-theme-to-application-styles.js +7 -7
  23. package/src/generators/theme/libs/add-theme-to-application-styles.js.map +1 -1
  24. package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-content.ts.template +1 -1
  25. package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-icon.ts.template +1 -1
  26. package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-item.ts.template +1 -1
  27. package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-trigger.ts.template +1 -1
  28. package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion.ts.template +1 -1
  29. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-content.ts.template +2 -1
  30. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-description.ts.template +1 -1
  31. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-footer.ts.template +1 -1
  32. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-header.ts.template +1 -1
  33. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-overlay.ts.template +2 -1
  34. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-title.ts.template +1 -1
  35. package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert-description.ts.template +1 -1
  36. package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert-title.ts.template +1 -1
  37. package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert.ts.template +1 -1
  38. package/src/generators/ui/libs/ui-aspect-ratio-helm/files/lib/helm-aspect-ratio.ts.template +1 -1
  39. package/src/generators/ui/libs/ui-avatar-helm/files/lib/fallback/hlm-avatar-fallback.ts.template +1 -1
  40. package/src/generators/ui/libs/ui-avatar-helm/files/lib/hlm-avatar.ts.template +1 -1
  41. package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/hlm-avatar-image.ts.template +1 -1
  42. package/src/generators/ui/libs/ui-badge-helm/files/lib/hlm-badge.ts.template +1 -1
  43. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb-ellipsis.ts.template +1 -1
  44. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb-item.ts.template +1 -1
  45. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb-link.ts.template +1 -1
  46. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb-list.ts.template +1 -1
  47. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb-page.ts.template +1 -1
  48. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb-separator.ts.template +1 -1
  49. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb.ts.template +1 -1
  50. package/src/generators/ui/libs/ui-button-helm/files/lib/hlm-button.ts.template +1 -1
  51. package/src/generators/ui/libs/ui-calendar-helm/files/lib/hlm-calendar-multi.ts.template +12 -10
  52. package/src/generators/ui/libs/ui-calendar-helm/files/lib/hlm-calendar-range.ts.template +12 -10
  53. package/src/generators/ui/libs/ui-calendar-helm/files/lib/hlm-calendar.ts.template +12 -10
  54. package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-action.ts.template +1 -1
  55. package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-content.ts.template +1 -1
  56. package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-description.ts.template +1 -1
  57. package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-footer.ts.template +1 -1
  58. package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-header.ts.template +1 -1
  59. package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-title.ts.template +1 -1
  60. package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card.ts.template +1 -1
  61. package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel-content.ts.template +1 -1
  62. package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel-item.ts.template +1 -1
  63. package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel-next.ts.template +1 -1
  64. package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel-previous.ts.template +1 -1
  65. package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel-slide-display.ts.template +1 -1
  66. package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel.ts.template +1 -1
  67. package/src/generators/ui/libs/ui-checkbox-helm/files/lib/hlm-checkbox.ts.template +1 -1
  68. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-dialog-close-button.ts.template +1 -1
  69. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-dialog.ts.template +2 -1
  70. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-empty.ts.template +1 -1
  71. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-group-label.ts.template +1 -1
  72. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-group.ts.template +1 -1
  73. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-icon.ts.template +1 -1
  74. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-item.ts.template +1 -1
  75. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-list.ts.template +1 -1
  76. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-search-input.ts.template +1 -1
  77. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-search.ts.template +1 -1
  78. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-separator.ts.template +1 -1
  79. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-shortcut.ts.template +1 -1
  80. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command.ts.template +1 -1
  81. package/src/generators/ui/libs/ui-date-picker-helm/files/lib/hlm-date-picker-multi.ts.template +1 -1
  82. package/src/generators/ui/libs/ui-date-picker-helm/files/lib/hlm-date-picker.ts.template +1 -1
  83. package/src/generators/ui/libs/ui-date-picker-helm/files/lib/hlm-date-range-picker.ts.template +1 -1
  84. package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-close.ts.template +1 -1
  85. package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-content.ts.template +1 -1
  86. package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-description.ts.template +1 -1
  87. package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-footer.ts.template +1 -1
  88. package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-header.ts.template +1 -1
  89. package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-overlay.ts.template +2 -1
  90. package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-title.ts.template +1 -1
  91. package/src/generators/ui/libs/ui-form-field-helm/files/lib/hlm-error.ts.template +1 -1
  92. package/src/generators/ui/libs/ui-form-field-helm/files/lib/hlm-form-field.ts.template +1 -1
  93. package/src/generators/ui/libs/ui-form-field-helm/files/lib/hlm-hint.ts.template +1 -1
  94. package/src/generators/ui/libs/ui-hover-card-helm/files/lib/hlm-hover-card-content.ts.template +2 -1
  95. package/src/generators/ui/libs/ui-input-helm/files/lib/hlm-input-error.ts.template +1 -1
  96. package/src/generators/ui/libs/ui-input-helm/files/lib/hlm-input.ts.template +1 -1
  97. package/src/generators/ui/libs/ui-input-otp-helm/files/lib/hlm-input-otp-group.ts.template +1 -1
  98. package/src/generators/ui/libs/ui-input-otp-helm/files/lib/hlm-input-otp-separator.ts.template +1 -1
  99. package/src/generators/ui/libs/ui-input-otp-helm/files/lib/hlm-input-otp-slot.ts.template +1 -1
  100. package/src/generators/ui/libs/ui-input-otp-helm/files/lib/hlm-input-otp.ts.template +1 -1
  101. package/src/generators/ui/libs/ui-label-helm/files/lib/hlm-label.ts.template +1 -1
  102. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-bar-item.ts.template +1 -1
  103. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-bar.ts.template +1 -1
  104. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-check.ts.template +1 -1
  105. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-checkbox.ts.template +1 -1
  106. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-icon.ts.template +1 -1
  107. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-radio-indicator.ts.template +1 -1
  108. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-radio.ts.template +1 -1
  109. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-sub-indicator.ts.template +1 -1
  110. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item.ts.template +1 -1
  111. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-label.ts.template +1 -1
  112. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-separator.ts.template +1 -1
  113. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-shortcut.ts.template +1 -1
  114. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu.ts.template +1 -1
  115. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-sub-menu.ts.template +1 -1
  116. package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-content.ts.template +1 -1
  117. package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-ellipsis.ts.template +1 -1
  118. package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-item.ts.template +1 -1
  119. package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-link.ts.template +1 -1
  120. package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-next.ts.template +1 -1
  121. package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-previous.ts.template +1 -1
  122. package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination.ts.template +1 -1
  123. package/src/generators/ui/libs/ui-popover-helm/files/lib/hlm-popover-close.ts.template +1 -1
  124. package/src/generators/ui/libs/ui-popover-helm/files/lib/hlm-popover-content.ts.template +2 -1
  125. package/src/generators/ui/libs/ui-progress-helm/files/lib/hlm-progress-indicator.ts.template +1 -1
  126. package/src/generators/ui/libs/ui-progress-helm/files/lib/hlm-progress.ts.template +1 -1
  127. package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio-group.ts.template +1 -1
  128. package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio-indicator.ts.template +1 -1
  129. package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio.ts.template +1 -1
  130. package/src/generators/ui/libs/ui-scroll-area-helm/files/lib/hlm-scroll-area.ts.template +1 -1
  131. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-content.ts.template +2 -1
  132. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-group.ts.template +1 -1
  133. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-label.ts.template +1 -1
  134. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-option.ts.template +2 -2
  135. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-scroll-down.ts.template +1 -1
  136. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-scroll-up.ts.template +1 -1
  137. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-trigger.ts.template +1 -1
  138. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-value.ts.template +1 -1
  139. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select.ts.template +1 -1
  140. package/src/generators/ui/libs/ui-separator-helm/files/lib/hlm-separator.ts.template +1 -1
  141. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-close.ts.template +1 -1
  142. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-content.ts.template +2 -1
  143. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-description.ts.template +1 -1
  144. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-footer.ts.template +1 -1
  145. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-header.ts.template +1 -1
  146. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-overlay.ts.template +2 -1
  147. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-title.ts.template +1 -1
  148. package/src/generators/ui/libs/ui-skeleton-helm/files/lib/hlm-skeleton.ts.template +1 -1
  149. package/src/generators/ui/libs/ui-slider-helm/files/lib/hlm-slider.ts.template +1 -1
  150. package/src/generators/ui/libs/ui-sonner-helm/files/lib/hlm-toaster.ts.template +1 -1
  151. package/src/generators/ui/libs/ui-spinner-helm/files/lib/hlm-spinner.ts.template +1 -1
  152. package/src/generators/ui/libs/ui-switch-helm/files/lib/hlm-switch-thumb.ts.template +1 -1
  153. package/src/generators/ui/libs/ui-switch-helm/files/lib/hlm-switch.ts.template +1 -1
  154. package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-table.ts.template +1 -1
  155. package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-content.ts.template +1 -1
  156. package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-list.ts.template +1 -1
  157. package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-paginated-list.ts.template +1 -1
  158. package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-trigger.ts.template +1 -1
  159. package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs.ts.template +1 -1
  160. package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/hlm-toggle-group.ts.template +1 -1
  161. package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/hlm-toggle-item.ts.template +1 -1
  162. package/src/generators/ui/libs/ui-toggle-helm/files/lib/hlm-toggle.ts.template +1 -1
  163. package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-blockquote.ts.template +1 -1
  164. package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-code.ts.template +1 -1
  165. package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h1.ts.template +1 -1
  166. package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h2.ts.template +1 -1
  167. package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h3.ts.template +1 -1
  168. package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h4.ts.template +1 -1
  169. package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-large.ts.template +1 -1
  170. package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-lead.ts.template +1 -1
  171. package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-muted.ts.template +1 -1
  172. package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-p.ts.template +1 -1
  173. package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-small.ts.template +1 -1
  174. package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-ul.ts.template +1 -1
  175. package/src/generators/ui/libs/ui-utils-helm/files/index.ts.template +1 -0
  176. package/src/generators/ui/libs/ui-utils-helm/files/lib/hlm.ts.template +6 -0
  177. package/src/generators/ui/libs/ui-utils-helm/generator.d.ts +3 -0
  178. package/src/generators/ui/libs/ui-utils-helm/generator.js +14 -0
  179. package/src/generators/ui/libs/ui-utils-helm/generator.js.map +1 -0
  180. package/src/generators/ui/primitive-deps.js +42 -41
  181. package/src/generators/ui/primitive-deps.js.map +1 -1
  182. package/src/generators/ui/primitives.d.ts +1 -1
  183. package/src/generators/ui/supported-ui-libraries.json +36 -44
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Component({
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Component({
@@ -1,5 +1,6 @@
1
1
  import { Directive, computed, effect, input, untracked } from '@angular/core';
2
- import { hlm, injectCustomClassSettable } from '@spartan-ng/brain/core';
2
+ import { injectCustomClassSettable } from '@spartan-ng/brain/core';
3
+ import { hlm } from '@spartan-ng/helm/utils';
3
4
  import type { ClassValue } from 'clsx';
4
5
 
5
6
  @Directive({
@@ -1,6 +1,6 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
2
  import { BrnAlertDialogTitle } from '@spartan-ng/brain/alert-dialog';
3
- import { hlm } from '@spartan-ng/brain/core';
3
+ import { hlm } from '@spartan-ng/helm/utils';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
6
6
  @Directive({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Directive({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Directive({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import { type VariantProps, cva } from 'class-variance-authority';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { type NumberInput, coerceNumberProperty } from '@angular/cdk/coercion';
2
2
  import { Directive, computed, input } from '@angular/core';
3
- import { hlm } from '@spartan-ng/brain/core';
3
+ import { hlm } from '@spartan-ng/helm/utils';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
6
6
  const parseDividedString = (value: NumberInput): NumberInput => {
@@ -1,6 +1,6 @@
1
1
  import { Directive, computed, inject } from '@angular/core';
2
2
  import { BrnAvatarFallback } from '@spartan-ng/brain/avatar';
3
- import { hlm } from '@spartan-ng/brain/core';
3
+ import { hlm } from '@spartan-ng/helm/utils';
4
4
 
5
5
  @Directive({
6
6
  selector: '[hlmAvatarFallback]',
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, input } from '@angular/core';
2
2
  import { BrnAvatar } from '@spartan-ng/brain/avatar';
3
- import { hlm } from '@spartan-ng/brain/core';
3
+ import { hlm } from '@spartan-ng/helm/utils';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
6
6
  @Component({
@@ -1,6 +1,6 @@
1
1
  import { Directive, computed, inject, input } from '@angular/core';
2
2
  import { BrnAvatarImage } from '@spartan-ng/brain/avatar';
3
- import { hlm } from '@spartan-ng/brain/core';
3
+ import { hlm } from '@spartan-ng/helm/utils';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
6
6
  @Directive({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import { type VariantProps, cva } from 'class-variance-authority';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
@@ -1,8 +1,8 @@
1
1
  import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
2
2
  import { NgIcon, provideIcons } from '@ng-icons/core';
3
3
  import { lucideEllipsis } from '@ng-icons/lucide';
4
- import { hlm } from '@spartan-ng/brain/core';
5
4
  import { HlmIcon } from '@spartan-ng/helm/icon';
5
+ import { hlm } from '@spartan-ng/helm/utils';
6
6
  import type { ClassValue } from 'clsx';
7
7
 
8
8
  @Component({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Directive({
@@ -1,6 +1,6 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
2
  import { RouterLink } from '@angular/router';
3
- import { hlm } from '@spartan-ng/brain/core';
3
+ import { hlm } from '@spartan-ng/helm/utils';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
6
6
  @Directive({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Directive({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Directive({
@@ -1,7 +1,7 @@
1
1
  import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
2
2
  import { NgIcon, provideIcons } from '@ng-icons/core';
3
3
  import { lucideChevronRight } from '@ng-icons/lucide';
4
- import { hlm } from '@spartan-ng/brain/core';
4
+ import { hlm } from '@spartan-ng/helm/utils';
5
5
  import type { ClassValue } from 'clsx';
6
6
 
7
7
  @Component({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Directive({
@@ -1,6 +1,6 @@
1
1
  import { Directive, computed, input, signal } from '@angular/core';
2
2
  import { BrnButton } from '@spartan-ng/brain/button';
3
- import { hlm } from '@spartan-ng/brain/core';
3
+ import { hlm } from '@spartan-ng/helm/utils';
4
4
  import { type VariantProps, cva } from 'class-variance-authority';
5
5
  import type { ClassValue } from 'clsx';
6
6
  import { injectBrnButtonConfig } from './hlm-button.token';
@@ -1,8 +1,8 @@
1
1
  import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
2
2
  import {
3
+ booleanAttribute,
3
4
  ChangeDetectionStrategy,
4
5
  Component,
5
- booleanAttribute,
6
6
  computed,
7
7
  input,
8
8
  model,
@@ -21,13 +21,13 @@ import {
21
21
  BrnCalendarPreviousButton,
22
22
  BrnCalendarWeek,
23
23
  BrnCalendarWeekday,
24
- Weekday,
25
24
  injectBrnCalendarI18n,
25
+ Weekday,
26
26
  } from '@spartan-ng/brain/calendar';
27
- import { hlm } from '@spartan-ng/brain/core';
28
27
  import { injectDateAdapter } from '@spartan-ng/brain/date-time';
29
28
  import { buttonVariants } from '@spartan-ng/helm/button';
30
29
  import { HlmIcon } from '@spartan-ng/helm/icon';
30
+ import { hlm } from '@spartan-ng/helm/utils';
31
31
  import type { ClassValue } from 'clsx';
32
32
 
33
33
  @Component({
@@ -93,9 +93,9 @@ import type { ClassValue } from 'clsx';
93
93
  *brnCalendarWeekday="let weekday"
94
94
  scope="col"
95
95
  class="text-muted-foreground w-8 rounded-md text-[0.8rem] font-normal"
96
- [attr.aria-label]="_i18n.labelWeekday(weekday)"
96
+ [attr.aria-label]="_i18n.config().labelWeekday(weekday)"
97
97
  >
98
- {{ _i18n.formatWeekdayName(weekday) }}
98
+ {{ _i18n.config().formatWeekdayName(weekday) }}
99
99
  </th>
100
100
  </tr>
101
101
  </thead>
@@ -159,7 +159,7 @@ export class HlmCalendarMulti<T> {
159
159
  public readonly dateDisabled = input<(date: T) => boolean>(() => false);
160
160
 
161
161
  /** The day the week starts on */
162
- public readonly weekStartsOn = input<Weekday, NumberInput>(0, {
162
+ public readonly weekStartsOn = input<Weekday, NumberInput>(undefined, {
163
163
  transform: (v: unknown) => numberAttribute(v) as Weekday,
164
164
  });
165
165
 
@@ -171,10 +171,12 @@ export class HlmCalendarMulti<T> {
171
171
 
172
172
  /** Get the heading for the current month and year */
173
173
  protected readonly _heading = computed(() =>
174
- this._i18n.formatHeader(
175
- this._dateAdapter.getMonth(this._calendar().focusedDate()),
176
- this._dateAdapter.getYear(this._calendar().focusedDate()),
177
- ),
174
+ this._i18n
175
+ .config()
176
+ .formatHeader(
177
+ this._dateAdapter.getMonth(this._calendar().focusedDate()),
178
+ this._dateAdapter.getYear(this._calendar().focusedDate()),
179
+ ),
178
180
  );
179
181
 
180
182
  protected readonly _btnClass = hlm(
@@ -1,8 +1,8 @@
1
1
  import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
2
2
  import {
3
+ booleanAttribute,
3
4
  ChangeDetectionStrategy,
4
5
  Component,
5
- booleanAttribute,
6
6
  computed,
7
7
  input,
8
8
  model,
@@ -21,13 +21,13 @@ import {
21
21
  BrnCalendarRange,
22
22
  BrnCalendarWeek,
23
23
  BrnCalendarWeekday,
24
- Weekday,
25
24
  injectBrnCalendarI18n,
25
+ Weekday,
26
26
  } from '@spartan-ng/brain/calendar';
27
- import { hlm } from '@spartan-ng/brain/core';
28
27
  import { injectDateAdapter } from '@spartan-ng/brain/date-time';
29
28
  import { buttonVariants } from '@spartan-ng/helm/button';
30
29
  import { HlmIcon } from '@spartan-ng/helm/icon';
30
+ import { hlm } from '@spartan-ng/helm/utils';
31
31
  import type { ClassValue } from 'clsx';
32
32
 
33
33
  @Component({
@@ -92,9 +92,9 @@ import type { ClassValue } from 'clsx';
92
92
  *brnCalendarWeekday="let weekday"
93
93
  scope="col"
94
94
  class="text-muted-foreground w-8 rounded-md text-[0.8rem] font-normal"
95
- [attr.aria-label]="_i18n.labelWeekday(weekday)"
95
+ [attr.aria-label]="_i18n.config().labelWeekday(weekday)"
96
96
  >
97
- {{ _i18n.formatWeekdayName(weekday) }}
97
+ {{ _i18n.config().formatWeekdayName(weekday) }}
98
98
  </th>
99
99
  </tr>
100
100
  </thead>
@@ -151,7 +151,7 @@ export class HlmCalendarRange<T> {
151
151
  public readonly dateDisabled = input<(date: T) => boolean>(() => false);
152
152
 
153
153
  /** The day the week starts on */
154
- public readonly weekStartsOn = input<Weekday, NumberInput>(0, {
154
+ public readonly weekStartsOn = input<Weekday, NumberInput>(undefined, {
155
155
  transform: (v: unknown) => numberAttribute(v) as Weekday,
156
156
  });
157
157
 
@@ -163,10 +163,12 @@ export class HlmCalendarRange<T> {
163
163
 
164
164
  /** Get the heading for the current month and year */
165
165
  protected readonly _heading = computed(() =>
166
- this._i18n.formatHeader(
167
- this._dateAdapter.getMonth(this._calendar().focusedDate()),
168
- this._dateAdapter.getYear(this._calendar().focusedDate()),
169
- ),
166
+ this._i18n
167
+ .config()
168
+ .formatHeader(
169
+ this._dateAdapter.getMonth(this._calendar().focusedDate()),
170
+ this._dateAdapter.getYear(this._calendar().focusedDate()),
171
+ ),
170
172
  );
171
173
 
172
174
  protected readonly _btnClass = hlm(
@@ -1,8 +1,8 @@
1
1
  import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
2
2
  import {
3
+ booleanAttribute,
3
4
  ChangeDetectionStrategy,
4
5
  Component,
5
- booleanAttribute,
6
6
  computed,
7
7
  input,
8
8
  model,
@@ -21,13 +21,13 @@ import {
21
21
  BrnCalendarPreviousButton,
22
22
  BrnCalendarWeek,
23
23
  BrnCalendarWeekday,
24
- Weekday,
25
24
  injectBrnCalendarI18n,
25
+ Weekday,
26
26
  } from '@spartan-ng/brain/calendar';
27
- import { hlm } from '@spartan-ng/brain/core';
28
27
  import { injectDateAdapter } from '@spartan-ng/brain/date-time';
29
28
  import { buttonVariants } from '@spartan-ng/helm/button';
30
29
  import { HlmIcon } from '@spartan-ng/helm/icon';
30
+ import { hlm } from '@spartan-ng/helm/utils';
31
31
  import type { ClassValue } from 'clsx';
32
32
 
33
33
  @Component({
@@ -91,9 +91,9 @@ import type { ClassValue } from 'clsx';
91
91
  *brnCalendarWeekday="let weekday"
92
92
  scope="col"
93
93
  class="text-muted-foreground w-8 rounded-md text-[0.8rem] font-normal"
94
- [attr.aria-label]="_i18n.labelWeekday(weekday)"
94
+ [attr.aria-label]="_i18n.config().labelWeekday(weekday)"
95
95
  >
96
- {{ _i18n.formatWeekdayName(weekday) }}
96
+ {{ _i18n.config().formatWeekdayName(weekday) }}
97
97
  </th>
98
98
  </tr>
99
99
  </thead>
@@ -147,7 +147,7 @@ export class HlmCalendar<T> {
147
147
  public readonly dateDisabled = input<(date: T) => boolean>(() => false);
148
148
 
149
149
  /** The day the week starts on */
150
- public readonly weekStartsOn = input<Weekday, NumberInput>(0, {
150
+ public readonly weekStartsOn = input<Weekday, NumberInput>(undefined, {
151
151
  transform: (v: unknown) => numberAttribute(v) as Weekday,
152
152
  });
153
153
 
@@ -159,10 +159,12 @@ export class HlmCalendar<T> {
159
159
 
160
160
  /** Get the heading for the current month and year */
161
161
  protected readonly _heading = computed(() =>
162
- this._i18n.formatHeader(
163
- this._dateAdapter.getMonth(this._calendar().focusedDate()),
164
- this._dateAdapter.getYear(this._calendar().focusedDate()),
165
- ),
162
+ this._i18n
163
+ .config()
164
+ .formatHeader(
165
+ this._dateAdapter.getMonth(this._calendar().focusedDate()),
166
+ this._dateAdapter.getYear(this._calendar().focusedDate()),
167
+ ),
166
168
  );
167
169
 
168
170
  protected readonly _btnClass = hlm(
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Directive({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Directive({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Directive({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Directive({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Directive({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Directive({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import { type VariantProps, cva } from 'class-variance-authority';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, inject, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
  import { HlmCarousel } from './hlm-carousel';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, inject, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
  import { HlmCarousel } from './hlm-carousel';
5
5
 
@@ -10,9 +10,9 @@ import {
10
10
  } from '@angular/core';
11
11
  import { NgIcon, provideIcons } from '@ng-icons/core';
12
12
  import { lucideArrowRight } from '@ng-icons/lucide';
13
- import { hlm } from '@spartan-ng/brain/core';
14
13
  import { HlmButton, provideBrnButtonConfig } from '@spartan-ng/helm/button';
15
14
  import { HlmIcon } from '@spartan-ng/helm/icon';
15
+ import { hlm } from '@spartan-ng/helm/utils';
16
16
  import type { ClassValue } from 'clsx';
17
17
  import { HlmCarousel } from './hlm-carousel';
18
18
 
@@ -10,9 +10,9 @@ import {
10
10
  } from '@angular/core';
11
11
  import { NgIcon, provideIcons } from '@ng-icons/core';
12
12
  import { lucideArrowLeft } from '@ng-icons/lucide';
13
- import { hlm } from '@spartan-ng/brain/core';
14
13
  import { HlmButton, provideBrnButtonConfig } from '@spartan-ng/helm/button';
15
14
  import { HlmIcon } from '@spartan-ng/helm/icon';
15
+ import { hlm } from '@spartan-ng/helm/utils';
16
16
  import type { ClassValue } from 'clsx';
17
17
  import { HlmCarousel } from './hlm-carousel';
18
18
 
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import { ClassValue } from 'clsx';
4
4
  import { HlmCarousel } from './hlm-carousel';
5
5
 
@@ -9,7 +9,7 @@ import {
9
9
  signal,
10
10
  viewChild,
11
11
  } from '@angular/core';
12
- import { hlm } from '@spartan-ng/brain/core';
12
+ import { hlm } from '@spartan-ng/helm/utils';
13
13
  import type { ClassValue } from 'clsx';
14
14
  import {
15
15
  EmblaCarouselDirective,
@@ -14,9 +14,9 @@ import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
14
14
  import { NgIcon, provideIcons } from '@ng-icons/core';
15
15
  import { lucideCheck } from '@ng-icons/lucide';
16
16
  import { BrnCheckbox } from '@spartan-ng/brain/checkbox';
17
- import { hlm } from '@spartan-ng/brain/core';
18
17
  import type { ChangeFn, TouchFn } from '@spartan-ng/brain/forms';
19
18
  import { HlmIcon } from '@spartan-ng/helm/icon';
19
+ import { hlm } from '@spartan-ng/helm/utils';
20
20
  import type { ClassValue } from 'clsx';
21
21
 
22
22
  export const HLM_CHECKBOX_VALUE_ACCESSOR = {
@@ -1,8 +1,8 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
3
2
  import { BrnDialogClose } from '@spartan-ng/brain/dialog';
4
3
  import { HlmButton, provideBrnButtonConfig } from '@spartan-ng/helm/button';
5
4
  import { provideHlmIconConfig } from '@spartan-ng/helm/icon';
5
+ import { hlm } from '@spartan-ng/helm/utils';
6
6
  import type { ClassValue } from 'clsx';
7
7
 
8
8
  @Directive({
@@ -1,6 +1,7 @@
1
1
  import { Directive, ElementRef, Renderer2, computed, contentChild, effect, inject, input, signal } from '@angular/core';
2
2
  import { BrnCommandSearchInputToken } from '@spartan-ng/brain/command';
3
- import { hlm, injectExposesStateProvider } from '@spartan-ng/brain/core';
3
+ import { injectExposesStateProvider } from '@spartan-ng/brain/core';
4
+ import { hlm } from '@spartan-ng/helm/utils';
4
5
  import type { ClassValue } from 'clsx';
5
6
 
6
7
  @Directive({
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import type { ClassValue } from 'clsx';
4
4
 
5
5
  @Directive({
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
 
4
4
  @Component({
5
5
  selector: 'hlm-command-group-label',
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
2
2
  import { BrnCommandGroup } from '@spartan-ng/brain/command';
3
- import { hlm } from '@spartan-ng/brain/core';
3
+ import { hlm } from '@spartan-ng/helm/utils';
4
4
 
5
5
  @Component({
6
6
  selector: 'hlm-command-group',
@@ -1,6 +1,6 @@
1
1
  import { computed, Directive, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
3
2
  import { provideHlmIconConfig } from '@spartan-ng/helm/icon';
3
+ import { hlm } from '@spartan-ng/helm/utils';
4
4
  import { ClassValue } from 'clsx';
5
5
 
6
6
  @Directive({
@@ -1,7 +1,7 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
2
  import { booleanAttribute, ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';
3
3
  import { BrnCommandItem } from '@spartan-ng/brain/command';
4
- import { hlm } from '@spartan-ng/brain/core';
4
+ import { hlm } from '@spartan-ng/helm/utils';
5
5
 
6
6
  @Component({
7
7
  selector: 'button[hlm-command-item]',
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
2
2
  import { BrnCommandList } from '@spartan-ng/brain/command';
3
- import { hlm } from '@spartan-ng/brain/core';
3
+ import { hlm } from '@spartan-ng/helm/utils';
4
4
 
5
5
  @Component({
6
6
  selector: 'hlm-command-list',
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
2
2
  import { BrnCommandSearchInput } from '@spartan-ng/brain/command';
3
- import { hlm } from '@spartan-ng/brain/core';
3
+ import { hlm } from '@spartan-ng/helm/utils';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
6
6
  @Component({
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
3
2
  import { provideHlmIconConfig } from '@spartan-ng/helm/icon';
3
+ import { hlm } from '@spartan-ng/helm/utils';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
6
6
  @Component({
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
 
4
4
  @Component({
5
5
  selector: 'hlm-command-separator',
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
2
- import { hlm } from '@spartan-ng/brain/core';
2
+ import { hlm } from '@spartan-ng/helm/utils';
3
3
  import { ClassValue } from 'clsx';
4
4
 
5
5
  @Component({
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
2
2
  import { BrnCommand } from '@spartan-ng/brain/command';
3
- import { hlm } from '@spartan-ng/brain/core';
3
+ import { hlm } from '@spartan-ng/helm/utils';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
6
6
  @Component({