@spartan-ng/cli 0.0.1-alpha.492 → 0.0.1-alpha.494

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 (230) hide show
  1. package/generators.json +10 -0
  2. package/package.json +1 -1
  3. package/src/generators/healthcheck/generator.js +2 -0
  4. package/src/generators/healthcheck/generator.js.map +1 -1
  5. package/src/generators/healthcheck/healthchecks/brn-radio.js +1 -1
  6. package/src/generators/healthcheck/healthchecks/brn-radio.js.map +1 -1
  7. package/src/generators/healthcheck/healthchecks/naming-conventions.d.ts +2 -0
  8. package/src/generators/healthcheck/healthchecks/naming-conventions.js +39 -0
  9. package/src/generators/healthcheck/healthchecks/naming-conventions.js.map +1 -0
  10. package/src/generators/migrate-naming-convention/__snapshots__/generator.spec.ts.snap +213 -0
  11. package/src/generators/migrate-naming-convention/compat.d.ts +2 -0
  12. package/src/generators/migrate-naming-convention/compat.js +7 -0
  13. package/src/generators/migrate-naming-convention/compat.js.map +1 -0
  14. package/src/generators/migrate-naming-convention/generator.d.ts +4 -0
  15. package/src/generators/migrate-naming-convention/generator.js +97 -0
  16. package/src/generators/migrate-naming-convention/generator.js.map +1 -0
  17. package/src/generators/migrate-naming-convention/schema.d.ts +3 -0
  18. package/src/generators/migrate-naming-convention/schema.json +14 -0
  19. package/src/generators/ui/libs/ui-accordion-helm/files/index.ts.template +15 -15
  20. package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion-content.component.ts.template → hlm-accordion-content.ts.template} +2 -2
  21. package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion-icon.directive.ts.template → hlm-accordion-icon.ts.template} +1 -1
  22. package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion-item.directive.ts.template → hlm-accordion-item.ts.template} +3 -3
  23. package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion-trigger.directive.ts.template → hlm-accordion-trigger.ts.template} +3 -3
  24. package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion.directive.ts.template → hlm-accordion.ts.template} +4 -4
  25. package/src/generators/ui/libs/ui-alert-dialog-helm/files/index.ts.template +27 -27
  26. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-action-button.ts.template +8 -0
  27. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog-cancel-button.directive.ts.template → hlm-alert-dialog-cancel-button.ts.template} +3 -3
  28. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog-content.component.ts.template → hlm-alert-dialog-content.ts.template} +1 -1
  29. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog-description.directive.ts.template → hlm-alert-dialog-description.ts.template} +3 -3
  30. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog-footer.component.ts.template → hlm-alert-dialog-footer.ts.template} +1 -1
  31. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog-header.component.ts.template → hlm-alert-dialog-header.ts.template} +1 -1
  32. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog-overlay.directive.ts.template → hlm-alert-dialog-overlay.ts.template} +1 -1
  33. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog-title.directive.ts.template → hlm-alert-dialog-title.ts.template} +3 -3
  34. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog.component.ts.template → hlm-alert-dialog.ts.template} +8 -8
  35. package/src/generators/ui/libs/ui-alert-helm/files/index.ts.template +9 -14
  36. package/src/generators/ui/libs/ui-alert-helm/files/lib/{hlm-alert-description.directive.ts.template → hlm-alert-description.ts.template} +1 -1
  37. package/src/generators/ui/libs/ui-alert-helm/files/lib/{hlm-alert-icon.directive.ts.template → hlm-alert-icon.ts.template} +1 -1
  38. package/src/generators/ui/libs/ui-alert-helm/files/lib/{hlm-alert-title.directive.ts.template → hlm-alert-title.ts.template} +1 -1
  39. package/src/generators/ui/libs/ui-alert-helm/files/lib/{hlm-alert.directive.ts.template → hlm-alert.ts.template} +1 -1
  40. package/src/generators/ui/libs/ui-aspect-ratio-helm/files/index.ts.template +4 -4
  41. package/src/generators/ui/libs/ui-aspect-ratio-helm/files/lib/{helm-aspect-ratio.directive.ts.template → helm-aspect-ratio.ts.template} +1 -1
  42. package/src/generators/ui/libs/ui-avatar-helm/files/index.ts.template +5 -5
  43. package/src/generators/ui/libs/ui-avatar-helm/files/lib/fallback/{hlm-avatar-fallback.directive.ts.template → hlm-avatar-fallback.ts.template} +4 -4
  44. package/src/generators/ui/libs/ui-avatar-helm/files/lib/fallback/index.ts.template +1 -1
  45. package/src/generators/ui/libs/ui-avatar-helm/files/lib/{hlm-avatar.component.ts.template → hlm-avatar.ts.template} +2 -2
  46. package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/{hlm-avatar-image.directive.ts.template → hlm-avatar-image.ts.template} +4 -4
  47. package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/index.ts.template +1 -1
  48. package/src/generators/ui/libs/ui-badge-helm/files/index.ts.template +3 -3
  49. package/src/generators/ui/libs/ui-badge-helm/files/lib/{hlm-badge.directive.ts.template → hlm-badge.ts.template} +1 -1
  50. package/src/generators/ui/libs/ui-breadcrumb-helm/files/index.ts.template +21 -21
  51. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-ellipsis.component.ts.template → hlm-breadcrumb-ellipsis.ts.template} +3 -3
  52. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-item.directive.ts.template → hlm-breadcrumb-item.ts.template} +1 -1
  53. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-link.directive.ts.template → hlm-breadcrumb-link.ts.template} +1 -1
  54. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-list.directive.ts.template → hlm-breadcrumb-list.ts.template} +1 -1
  55. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-page.directive.ts.template → hlm-breadcrumb-page.ts.template} +1 -1
  56. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-separator.component.ts.template → hlm-breadcrumb-separator.ts.template} +1 -1
  57. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb.directive.ts.template → hlm-breadcrumb.ts.template} +1 -1
  58. package/src/generators/ui/libs/ui-button-helm/files/index.ts.template +4 -4
  59. package/src/generators/ui/libs/ui-button-helm/files/lib/hlm-button.token.ts.template +1 -1
  60. package/src/generators/ui/libs/ui-button-helm/files/lib/{hlm-button.directive.ts.template → hlm-button.ts.template} +1 -1
  61. package/src/generators/ui/libs/ui-calendar-helm/files/index.ts.template +5 -5
  62. package/src/generators/ui/libs/ui-calendar-helm/files/lib/{hlm-calendar-multi.component.ts.template → hlm-calendar-multi.ts.template} +22 -22
  63. package/src/generators/ui/libs/ui-calendar-helm/files/lib/{hlm-calendar.component.ts.template → hlm-calendar.ts.template} +22 -22
  64. package/src/generators/ui/libs/ui-card-helm/files/index.ts.template +21 -21
  65. package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-action.directive.ts.template → hlm-card-action.ts.template} +1 -1
  66. package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-content.directive.ts.template → hlm-card-content.ts.template} +1 -1
  67. package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-description.directive.ts.template → hlm-card-description.ts.template} +1 -1
  68. package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-footer.directive.ts.template → hlm-card-footer.ts.template} +1 -1
  69. package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-header.directive.ts.template → hlm-card-header.ts.template} +1 -1
  70. package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-title.directive.ts.template → hlm-card-title.ts.template} +1 -1
  71. package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card.directive.ts.template → hlm-card.ts.template} +1 -1
  72. package/src/generators/ui/libs/ui-carousel-helm/files/index.ts.template +18 -18
  73. package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel-content.component.ts.template → hlm-carousel-content.ts.template} +3 -3
  74. package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel-item.component.ts.template → hlm-carousel-item.ts.template} +3 -3
  75. package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel-next.component.ts.template → hlm-carousel-next.ts.template} +8 -8
  76. package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel-previous.component.ts.template → hlm-carousel-previous.ts.template} +8 -8
  77. package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel-slide-display.component.ts.template → hlm-carousel-slide-display.ts.template} +3 -3
  78. package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel.component.ts.template → hlm-carousel.ts.template} +1 -1
  79. package/src/generators/ui/libs/ui-checkbox-helm/files/index.ts.template +3 -3
  80. package/src/generators/ui/libs/ui-checkbox-helm/files/lib/{hlm-checkbox.component.ts.template → hlm-checkbox.ts.template} +5 -5
  81. package/src/generators/ui/libs/ui-command-helm/files/index.ts.template +39 -39
  82. package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-dialog-close-button.directive.ts.template → hlm-command-dialog-close-button.ts.template} +4 -4
  83. package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-dialog.directive.ts.template → hlm-command-dialog.ts.template} +1 -1
  84. package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-empty.directive.ts.template → hlm-command-empty.ts.template} +1 -1
  85. package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-group-label.component.ts.template → hlm-command-group-label.ts.template} +1 -1
  86. package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-group.component.ts.template → hlm-command-group.ts.template} +3 -3
  87. package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-icon.directive.ts.template → hlm-command-icon.ts.template} +1 -1
  88. package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-item.component.ts.template → hlm-command-item.ts.template} +3 -3
  89. package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-list.component.ts.template → hlm-command-list.ts.template} +3 -3
  90. package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-search-input.component.ts.template → hlm-command-search-input.ts.template} +3 -3
  91. package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-search.component.ts.template → hlm-command-search.ts.template} +1 -1
  92. package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-separator.component.ts.template → hlm-command-separator.ts.template} +1 -1
  93. package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-shortcut.component.ts.template → hlm-command-shortcut.ts.template} +1 -1
  94. package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command.component.ts.template → hlm-command.ts.template} +3 -3
  95. package/src/generators/ui/libs/ui-date-picker-helm/files/index.ts.template +5 -5
  96. package/src/generators/ui/libs/ui-date-picker-helm/files/lib/{hlm-date-picker-multi.component.ts.template → hlm-date-picker-multi.ts.template} +7 -15
  97. package/src/generators/ui/libs/ui-date-picker-helm/files/lib/{hlm-date-picker.component.ts.template → hlm-date-picker.ts.template} +7 -15
  98. package/src/generators/ui/libs/ui-dialog-helm/files/index.ts.template +24 -24
  99. package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-close.directive.ts.template → hlm-dialog-close.ts.template} +1 -1
  100. package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-content.component.ts.template → hlm-dialog-content.ts.template} +5 -5
  101. package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-description.directive.ts.template → hlm-dialog-description.ts.template} +3 -3
  102. package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-footer.component.ts.template → hlm-dialog-footer.ts.template} +1 -1
  103. package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-header.component.ts.template → hlm-dialog-header.ts.template} +1 -1
  104. package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-overlay.directive.ts.template → hlm-dialog-overlay.ts.template} +1 -1
  105. package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-title.directive.ts.template → hlm-dialog-title.ts.template} +3 -3
  106. package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog.service.ts.template +3 -3
  107. package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog.component.ts.template → hlm-dialog.ts.template} +6 -10
  108. package/src/generators/ui/libs/ui-form-field-helm/files/index.ts.template +8 -8
  109. package/src/generators/ui/libs/ui-form-field-helm/files/lib/{hlm-error.directive.ts.template → hlm-error.ts.template} +1 -1
  110. package/src/generators/ui/libs/ui-form-field-helm/files/lib/{hlm-form-field.component.ts.template → hlm-form-field.ts.template} +3 -3
  111. package/src/generators/ui/libs/ui-form-field-helm/files/lib/{hlm-hint.directive.ts.template → hlm-hint.ts.template} +1 -1
  112. package/src/generators/ui/libs/ui-hover-card-helm/files/index.ts.template +3 -3
  113. package/src/generators/ui/libs/ui-hover-card-helm/files/lib/{hlm-hover-card-content.component.ts.template → hlm-hover-card-content.ts.template} +1 -1
  114. package/src/generators/ui/libs/ui-icon-helm/files/index.ts.template +4 -4
  115. package/src/generators/ui/libs/ui-icon-helm/files/lib/hlm-icon.token.ts.template +1 -1
  116. package/src/generators/ui/libs/ui-icon-helm/files/lib/{hlm-icon.directive.ts.template → hlm-icon.ts.template} +1 -1
  117. package/src/generators/ui/libs/ui-input-helm/files/index.ts.template +4 -4
  118. package/src/generators/ui/libs/ui-input-helm/files/lib/{hlm-input-error.directive.ts.template → hlm-input-error.ts.template} +1 -1
  119. package/src/generators/ui/libs/ui-input-helm/files/lib/{hlm-input.directive.ts.template → hlm-input.ts.template} +2 -2
  120. package/src/generators/ui/libs/ui-input-otp-helm/files/index.ts.template +15 -15
  121. package/src/generators/ui/libs/ui-input-otp-helm/files/lib/{hlm-input-otp-fake-caret.component.ts.template → hlm-input-otp-fake-caret.ts.template} +1 -1
  122. package/src/generators/ui/libs/ui-input-otp-helm/files/lib/{hlm-input-otp-group.directive.ts.template → hlm-input-otp-group.ts.template} +1 -1
  123. package/src/generators/ui/libs/ui-input-otp-helm/files/lib/{hlm-input-otp-separator.component.ts.template → hlm-input-otp-separator.ts.template} +3 -3
  124. package/src/generators/ui/libs/ui-input-otp-helm/files/lib/{hlm-input-otp-slot.component.ts.template → hlm-input-otp-slot.ts.template} +4 -4
  125. package/src/generators/ui/libs/ui-input-otp-helm/files/lib/{hlm-input-otp.directive.ts.template → hlm-input-otp.ts.template} +1 -1
  126. package/src/generators/ui/libs/ui-label-helm/files/index.ts.template +4 -4
  127. package/src/generators/ui/libs/ui-label-helm/files/lib/{hlm-label.directive.ts.template → hlm-label.ts.template} +3 -3
  128. package/src/generators/ui/libs/ui-menu-helm/files/index.ts.template +42 -47
  129. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-bar-item.directive.ts.template → hlm-menu-bar-item.ts.template} +3 -3
  130. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-bar.component.ts.template → hlm-menu-bar.ts.template} +3 -3
  131. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-group.component.ts.template → hlm-menu-group.ts.template} +3 -3
  132. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item-check.component.ts.template → hlm-menu-item-check.ts.template} +3 -3
  133. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item-checkbox.directive.ts.template → hlm-menu-item-checkbox.ts.template} +3 -3
  134. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item-icon.directive.ts.template → hlm-menu-item-icon.ts.template} +1 -1
  135. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item-radio.component.ts.template → hlm-menu-item-radio-indicator.ts.template} +4 -4
  136. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item-radio.directive.ts.template → hlm-menu-item-radio.ts.template} +3 -3
  137. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item-sub-indicator.component.ts.template → hlm-menu-item-sub-indicator.ts.template} +3 -3
  138. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item.directive.ts.template → hlm-menu-item.ts.template} +3 -3
  139. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-label.component.ts.template → hlm-menu-label.ts.template} +1 -1
  140. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-separator.component.ts.template → hlm-menu-separator.ts.template} +1 -1
  141. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-shortcut.component.ts.template → hlm-menu-shortcut.ts.template} +1 -1
  142. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu.component.ts.template → hlm-menu.ts.template} +3 -3
  143. package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-sub-menu.component.ts.template → hlm-sub-menu.ts.template} +3 -3
  144. package/src/generators/ui/libs/ui-pagination-helm/files/index.ts.template +27 -27
  145. package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-numbered-pagination-query-params.component.ts.template → hlm-numbered-pagination-query-params.ts.template} +16 -16
  146. package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-numbered-pagination.component.ts.template → hlm-numbered-pagination.ts.template} +15 -15
  147. package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-content.directive.ts.template → hlm-pagination-content.ts.template} +1 -1
  148. package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-ellipsis.component.ts.template → hlm-pagination-ellipsis.ts.template} +3 -3
  149. package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-item.directive.ts.template → hlm-pagination-item.ts.template} +1 -1
  150. package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-link.directive.ts.template → hlm-pagination-link.ts.template} +1 -1
  151. package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-next.component.ts.template → hlm-pagination-next.ts.template} +6 -6
  152. package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-previous.component.ts.template → hlm-pagination-previous.ts.template} +6 -6
  153. package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination.directive.ts.template → hlm-pagination.ts.template} +1 -1
  154. package/src/generators/ui/libs/ui-popover-helm/files/index.ts.template +5 -5
  155. package/src/generators/ui/libs/ui-popover-helm/files/lib/{hlm-popover-close.directive.ts.template → hlm-popover-close.ts.template} +1 -1
  156. package/src/generators/ui/libs/ui-popover-helm/files/lib/{hlm-popover-content.directive.ts.template → hlm-popover-content.ts.template} +1 -1
  157. package/src/generators/ui/libs/ui-progress-helm/files/index.ts.template +5 -5
  158. package/src/generators/ui/libs/ui-progress-helm/files/lib/{hlm-progress-indicator.directive.ts.template → hlm-progress-indicator.ts.template} +1 -1
  159. package/src/generators/ui/libs/ui-progress-helm/files/lib/{hlm-progress.directive.ts.template → hlm-progress.ts.template} +1 -1
  160. package/src/generators/ui/libs/ui-radio-group-helm/files/index.ts.template +7 -7
  161. package/src/generators/ui/libs/ui-radio-group-helm/files/lib/{hlm-radio-group.component.ts.template → hlm-radio-group.ts.template} +3 -3
  162. package/src/generators/ui/libs/ui-radio-group-helm/files/lib/{hlm-radio-indicator.component.ts.template → hlm-radio-indicator.ts.template} +1 -1
  163. package/src/generators/ui/libs/ui-radio-group-helm/files/lib/{hlm-radio.component.ts.template → hlm-radio.ts.template} +3 -3
  164. package/src/generators/ui/libs/ui-scroll-area-helm/files/index.ts.template +4 -4
  165. package/src/generators/ui/libs/ui-scroll-area-helm/files/lib/{hlm-scroll-area.directive.ts.template → hlm-scroll-area.ts.template} +1 -1
  166. package/src/generators/ui/libs/ui-select-helm/files/index.ts.template +27 -27
  167. package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-content.directive.ts.template → hlm-select-content.ts.template} +1 -1
  168. package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-group.directive.ts.template → hlm-select-group.ts.template} +3 -3
  169. package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-label.directive.ts.template → hlm-select-label.ts.template} +5 -5
  170. package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-option.component.ts.template → hlm-select-option.ts.template} +6 -6
  171. package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-scroll-down.component.ts.template → hlm-select-scroll-down.ts.template} +3 -3
  172. package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-scroll-up.component.ts.template → hlm-select-scroll-up.ts.template} +3 -3
  173. package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-trigger.component.ts.template → hlm-select-trigger.ts.template} +6 -6
  174. package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-value.directive.ts.template → hlm-select-value.ts.template} +1 -1
  175. package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select.directive.ts.template → hlm-select.ts.template} +1 -1
  176. package/src/generators/ui/libs/ui-separator-helm/files/index.ts.template +4 -4
  177. package/src/generators/ui/libs/ui-separator-helm/files/lib/{hlm-separator.directive.ts.template → hlm-separator.ts.template} +1 -1
  178. package/src/generators/ui/libs/ui-sheet-helm/files/index.ts.template +24 -24
  179. package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-close.directive.ts.template → hlm-sheet-close.ts.template} +1 -1
  180. package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-content.component.ts.template → hlm-sheet-content.ts.template} +5 -5
  181. package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-description.directive.ts.template → hlm-sheet-description.ts.template} +3 -3
  182. package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-footer.component.ts.template → hlm-sheet-footer.ts.template} +1 -1
  183. package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-header.component.ts.template → hlm-sheet-header.ts.template} +1 -1
  184. package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-overlay.directive.ts.template → hlm-sheet-overlay.ts.template} +1 -1
  185. package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-title.directive.ts.template → hlm-sheet-title.ts.template} +3 -3
  186. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet.ts.template +30 -0
  187. package/src/generators/ui/libs/ui-skeleton-helm/files/index.ts.template +3 -3
  188. package/src/generators/ui/libs/ui-skeleton-helm/files/lib/{hlm-skeleton.component.ts.template → hlm-skeleton.ts.template} +1 -1
  189. package/src/generators/ui/libs/ui-slider-helm/files/index.ts.template +3 -3
  190. package/src/generators/ui/libs/ui-slider-helm/files/lib/{hlm-slider.component.ts.template → hlm-slider.ts.template} +8 -8
  191. package/src/generators/ui/libs/ui-sonner-helm/files/index.ts.template +3 -3
  192. package/src/generators/ui/libs/ui-sonner-helm/files/lib/{hlm-toaster.component.ts.template → hlm-toaster.ts.template} +1 -1
  193. package/src/generators/ui/libs/ui-spinner-helm/files/index.ts.template +3 -3
  194. package/src/generators/ui/libs/ui-spinner-helm/files/lib/{hlm-spinner.component.ts.template → hlm-spinner.ts.template} +1 -1
  195. package/src/generators/ui/libs/ui-switch-helm/files/index.ts.template +5 -5
  196. package/src/generators/ui/libs/ui-switch-helm/files/lib/{hlm-switch-thumb.directive.ts.template → hlm-switch-thumb.ts.template} +1 -1
  197. package/src/generators/ui/libs/ui-switch-helm/files/lib/{hlm-switch.component.ts.template → hlm-switch.ts.template} +5 -5
  198. package/src/generators/ui/libs/ui-table-helm/files/index.ts.template +3 -21
  199. package/src/generators/ui/libs/ui-table-helm/files/lib/{hlm-table.directive.ts.template → hlm-table.ts.template} +8 -8
  200. package/src/generators/ui/libs/ui-tabs-helm/files/index.ts.template +11 -17
  201. package/src/generators/ui/libs/ui-tabs-helm/files/lib/{hlm-tabs-content.directive.ts.template → hlm-tabs-content.ts.template} +3 -3
  202. package/src/generators/ui/libs/ui-tabs-helm/files/lib/{hlm-tabs-list.component.ts.template → hlm-tabs-list.ts.template} +3 -3
  203. package/src/generators/ui/libs/ui-tabs-helm/files/lib/{hlm-tabs-paginated-list.component.ts.template → hlm-tabs-paginated-list.ts.template} +6 -10
  204. package/src/generators/ui/libs/ui-tabs-helm/files/lib/{hlm-tabs-trigger.directive.ts.template → hlm-tabs-trigger.ts.template} +3 -3
  205. package/src/generators/ui/libs/ui-tabs-helm/files/lib/{hlm-tabs.component.ts.template → hlm-tabs.ts.template} +3 -3
  206. package/src/generators/ui/libs/ui-toggle-group-helm/files/index.ts.template +6 -6
  207. package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/hlm-toggle-group.token.ts.template +5 -5
  208. package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/{hlm-toggle-group.directive.ts.template → hlm-toggle-group.ts.template} +3 -3
  209. package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/{hlm-toggle-item.directive.ts.template → hlm-toggle-item.ts.template} +1 -1
  210. package/src/generators/ui/libs/ui-toggle-helm/files/index.ts.template +4 -4
  211. package/src/generators/ui/libs/ui-toggle-helm/files/lib/{hlm-toggle.directive.ts.template → hlm-toggle.ts.template} +1 -1
  212. package/src/generators/ui/libs/ui-tooltip-helm/files/index.ts.template +5 -5
  213. package/src/generators/ui/libs/ui-tooltip-helm/files/lib/{hlm-tooltip-trigger.directive.ts.template → hlm-tooltip-trigger.ts.template} +3 -3
  214. package/src/generators/ui/libs/ui-tooltip-helm/files/lib/{hlm-tooltip.component.ts.template → hlm-tooltip.ts.template} +3 -3
  215. package/src/generators/ui/libs/ui-typography-helm/files/index.ts.template +12 -12
  216. package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-blockquote.directive.ts.template → hlm-blockquote.ts.template} +1 -1
  217. package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-code.directive.ts.template → hlm-code.ts.template} +1 -1
  218. package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-h1.directive.ts.template → hlm-h1.ts.template} +1 -1
  219. package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-h2.directive.ts.template → hlm-h2.ts.template} +1 -1
  220. package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-h3.directive.ts.template → hlm-h3.ts.template} +1 -1
  221. package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-h4.directive.ts.template → hlm-h4.ts.template} +1 -1
  222. package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-large.directive.ts.template → hlm-large.ts.template} +1 -1
  223. package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-lead.directive.ts.template → hlm-lead.ts.template} +1 -1
  224. package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-muted.directive.ts.template → hlm-muted.ts.template} +1 -1
  225. package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-p.directive.ts.template → hlm-p.ts.template} +1 -1
  226. package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-small.directive.ts.template → hlm-small.ts.template} +1 -1
  227. package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-ul.directive.ts.template → hlm-ul.ts.template} +1 -1
  228. package/src/generators/ui/supported-ui-libraries.json +40 -40
  229. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-action-button.directive.ts.template +0 -8
  230. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet.component.ts.template +0 -30
@@ -1,35 +1,35 @@
1
1
  import { NgModule } from '@angular/core';
2
2
 
3
- import { HlmAlertDialogActionButtonDirective } from './lib/hlm-alert-dialog-action-button.directive';
4
- import { HlmAlertDialogCancelButtonDirective } from './lib/hlm-alert-dialog-cancel-button.directive';
5
- import { HlmAlertDialogContentComponent } from './lib/hlm-alert-dialog-content.component';
6
- import { HlmAlertDialogDescriptionDirective } from './lib/hlm-alert-dialog-description.directive';
7
- import { HlmAlertDialogFooterComponent } from './lib/hlm-alert-dialog-footer.component';
8
- import { HlmAlertDialogHeaderComponent } from './lib/hlm-alert-dialog-header.component';
9
- import { HlmAlertDialogOverlayDirective } from './lib/hlm-alert-dialog-overlay.directive';
10
- import { HlmAlertDialogTitleDirective } from './lib/hlm-alert-dialog-title.directive';
11
- import { HlmAlertDialogComponent } from './lib/hlm-alert-dialog.component';
3
+ import { HlmAlertDialog } from './lib/hlm-alert-dialog';
4
+ import { HlmAlertDialogActionButton } from './lib/hlm-alert-dialog-action-button';
5
+ import { HlmAlertDialogCancelButton } from './lib/hlm-alert-dialog-cancel-button';
6
+ import { HlmAlertDialogContent } from './lib/hlm-alert-dialog-content';
7
+ import { HlmAlertDialogDescription } from './lib/hlm-alert-dialog-description';
8
+ import { HlmAlertDialogFooter } from './lib/hlm-alert-dialog-footer';
9
+ import { HlmAlertDialogHeader } from './lib/hlm-alert-dialog-header';
10
+ import { HlmAlertDialogOverlay } from './lib/hlm-alert-dialog-overlay';
11
+ import { HlmAlertDialogTitle } from './lib/hlm-alert-dialog-title';
12
12
 
13
- export * from './lib/hlm-alert-dialog-action-button.directive';
14
- export * from './lib/hlm-alert-dialog-cancel-button.directive';
15
- export * from './lib/hlm-alert-dialog-content.component';
16
- export * from './lib/hlm-alert-dialog-description.directive';
17
- export * from './lib/hlm-alert-dialog-footer.component';
18
- export * from './lib/hlm-alert-dialog-header.component';
19
- export * from './lib/hlm-alert-dialog-overlay.directive';
20
- export * from './lib/hlm-alert-dialog-title.directive';
21
- export * from './lib/hlm-alert-dialog.component';
13
+ export * from './lib/hlm-alert-dialog';
14
+ export * from './lib/hlm-alert-dialog-action-button';
15
+ export * from './lib/hlm-alert-dialog-cancel-button';
16
+ export * from './lib/hlm-alert-dialog-content';
17
+ export * from './lib/hlm-alert-dialog-description';
18
+ export * from './lib/hlm-alert-dialog-footer';
19
+ export * from './lib/hlm-alert-dialog-header';
20
+ export * from './lib/hlm-alert-dialog-overlay';
21
+ export * from './lib/hlm-alert-dialog-title';
22
22
 
23
23
  export const HlmAlertDialogImports = [
24
- HlmAlertDialogContentComponent,
25
- HlmAlertDialogDescriptionDirective,
26
- HlmAlertDialogFooterComponent,
27
- HlmAlertDialogHeaderComponent,
28
- HlmAlertDialogOverlayDirective,
29
- HlmAlertDialogTitleDirective,
30
- HlmAlertDialogActionButtonDirective,
31
- HlmAlertDialogCancelButtonDirective,
32
- HlmAlertDialogComponent,
24
+ HlmAlertDialogContent,
25
+ HlmAlertDialogDescription,
26
+ HlmAlertDialogFooter,
27
+ HlmAlertDialogHeader,
28
+ HlmAlertDialogOverlay,
29
+ HlmAlertDialogTitle,
30
+ HlmAlertDialogActionButton,
31
+ HlmAlertDialogCancelButton,
32
+ HlmAlertDialog,
33
33
  ] as const;
34
34
 
35
35
  @NgModule({
@@ -0,0 +1,8 @@
1
+ import { Directive } from '@angular/core';
2
+ import { HlmButton } from '@spartan-ng/helm/button';
3
+
4
+ @Directive({
5
+ selector: 'button[hlmAlertDialogAction]',
6
+ hostDirectives: [HlmButton],
7
+ })
8
+ export class HlmAlertDialogActionButton {}
@@ -1,17 +1,17 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
2
  import { hlm } from '@spartan-ng/brain/core';
3
- import { HlmButtonDirective, provideBrnButtonConfig } from '@spartan-ng/helm/button';
3
+ import { HlmButton, provideBrnButtonConfig } from '@spartan-ng/helm/button';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
6
6
  @Directive({
7
7
  selector: 'button[hlmAlertDialogCancel]',
8
- hostDirectives: [HlmButtonDirective],
8
+ hostDirectives: [HlmButton],
9
9
  providers: [provideBrnButtonConfig({ variant: 'outline' })],
10
10
  host: {
11
11
  '[class]': '_computedClass()',
12
12
  },
13
13
  })
14
- export class HlmAlertDialogCancelButtonDirective {
14
+ export class HlmAlertDialogCancelButton {
15
15
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
16
16
  protected readonly _computedClass = computed(() => hlm('mt-2 sm:mt-0', this.userClass()));
17
17
  }
@@ -14,7 +14,7 @@ import type { ClassValue } from 'clsx';
14
14
  changeDetection: ChangeDetectionStrategy.OnPush,
15
15
  encapsulation: ViewEncapsulation.None,
16
16
  })
17
- export class HlmAlertDialogContentComponent {
17
+ export class HlmAlertDialogContent {
18
18
  private readonly _stateProvider = injectExposesStateProvider({ optional: true, host: true });
19
19
  public readonly state = this._stateProvider?.state ?? signal('closed');
20
20
 
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { BrnAlertDialogDescriptionDirective } from '@spartan-ng/brain/alert-dialog';
2
+ import { BrnAlertDialogDescription } from '@spartan-ng/brain/alert-dialog';
3
3
  import { hlm } from '@spartan-ng/brain/core';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
@@ -8,9 +8,9 @@ import type { ClassValue } from 'clsx';
8
8
  host: {
9
9
  '[class]': '_computedClass()',
10
10
  },
11
- hostDirectives: [BrnAlertDialogDescriptionDirective],
11
+ hostDirectives: [BrnAlertDialogDescription],
12
12
  })
13
- export class HlmAlertDialogDescriptionDirective {
13
+ export class HlmAlertDialogDescription {
14
14
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
15
15
  protected readonly _computedClass = computed(() => hlm('text-muted-foreground text-sm', this.userClass()));
16
16
  }
@@ -13,7 +13,7 @@ import type { ClassValue } from 'clsx';
13
13
  changeDetection: ChangeDetectionStrategy.OnPush,
14
14
  encapsulation: ViewEncapsulation.None,
15
15
  })
16
- export class HlmAlertDialogFooterComponent {
16
+ export class HlmAlertDialogFooter {
17
17
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
18
18
  protected readonly _computedClass = computed(() =>
19
19
  hlm('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', this.userClass()),
@@ -13,7 +13,7 @@ import type { ClassValue } from 'clsx';
13
13
  changeDetection: ChangeDetectionStrategy.OnPush,
14
14
  encapsulation: ViewEncapsulation.None,
15
15
  })
16
- export class HlmAlertDialogHeaderComponent {
16
+ export class HlmAlertDialogHeader {
17
17
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
18
18
  protected readonly _computedClass = computed(() =>
19
19
  hlm('flex flex-col gap-2 text-center sm:text-left', this.userClass()),
@@ -5,7 +5,7 @@ import type { ClassValue } from 'clsx';
5
5
  @Directive({
6
6
  selector: '[hlmAlertDialogOverlay],brn-alert-dialog-overlay[hlm]',
7
7
  })
8
- export class HlmAlertDialogOverlayDirective {
8
+ export class HlmAlertDialogOverlay {
9
9
  private readonly _classSettable = injectCustomClassSettable({ optional: true, host: true });
10
10
 
11
11
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, input } from '@angular/core';
2
- import { BrnAlertDialogTitleDirective } from '@spartan-ng/brain/alert-dialog';
2
+ import { BrnAlertDialogTitle } from '@spartan-ng/brain/alert-dialog';
3
3
  import { hlm } from '@spartan-ng/brain/core';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
@@ -8,9 +8,9 @@ import type { ClassValue } from 'clsx';
8
8
  host: {
9
9
  '[class]': '_computedClass()',
10
10
  },
11
- hostDirectives: [BrnAlertDialogTitleDirective],
11
+ hostDirectives: [BrnAlertDialogTitle],
12
12
  })
13
- export class HlmAlertDialogTitleDirective {
13
+ export class HlmAlertDialogTitle {
14
14
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
15
15
  protected readonly _computedClass = computed(() => hlm('text-lg font-semibold', this.userClass()));
16
16
  }
@@ -1,11 +1,11 @@
1
1
  import { ChangeDetectionStrategy, Component, forwardRef, ViewEncapsulation } from '@angular/core';
2
2
  import {
3
3
  BRN_ALERT_DIALOG_DEFAULT_OPTIONS,
4
- BrnAlertDialogComponent,
5
- BrnAlertDialogOverlayComponent,
4
+ BrnAlertDialog,
5
+ BrnAlertDialogOverlay,
6
6
  } from '@spartan-ng/brain/alert-dialog';
7
- import { BrnDialogComponent, provideBrnDialogDefaultOptions } from '@spartan-ng/brain/dialog';
8
- import { HlmAlertDialogOverlayDirective } from './hlm-alert-dialog-overlay.directive';
7
+ import { BrnDialog, provideBrnDialogDefaultOptions } from '@spartan-ng/brain/dialog';
8
+ import { HlmAlertDialogOverlay } from './hlm-alert-dialog-overlay';
9
9
 
10
10
  @Component({
11
11
  selector: 'hlm-alert-dialog',
@@ -15,8 +15,8 @@ import { HlmAlertDialogOverlayDirective } from './hlm-alert-dialog-overlay.direc
15
15
  `,
16
16
  providers: [
17
17
  {
18
- provide: BrnDialogComponent,
19
- useExisting: forwardRef(() => HlmAlertDialogComponent),
18
+ provide: BrnDialog,
19
+ useExisting: forwardRef(() => HlmAlertDialog),
20
20
  },
21
21
  provideBrnDialogDefaultOptions({
22
22
  ...BRN_ALERT_DIALOG_DEFAULT_OPTIONS,
@@ -25,6 +25,6 @@ import { HlmAlertDialogOverlayDirective } from './hlm-alert-dialog-overlay.direc
25
25
  changeDetection: ChangeDetectionStrategy.OnPush,
26
26
  encapsulation: ViewEncapsulation.None,
27
27
  exportAs: 'hlmAlertDialog',
28
- imports: [BrnAlertDialogOverlayComponent, HlmAlertDialogOverlayDirective],
28
+ imports: [BrnAlertDialogOverlay, HlmAlertDialogOverlay],
29
29
  })
30
- export class HlmAlertDialogComponent extends BrnAlertDialogComponent {}
30
+ export class HlmAlertDialog extends BrnAlertDialog {}
@@ -1,21 +1,16 @@
1
1
  import { NgModule } from '@angular/core';
2
2
 
3
- import { HlmAlertDescriptionDirective } from './lib/hlm-alert-description.directive';
4
- import { HlmAlertIconDirective } from './lib/hlm-alert-icon.directive';
5
- import { HlmAlertTitleDirective } from './lib/hlm-alert-title.directive';
6
- import { HlmAlertDirective } from './lib/hlm-alert.directive';
3
+ import { HlmAlert } from './lib/hlm-alert';
4
+ import { HlmAlertDescription } from './lib/hlm-alert-description';
5
+ import { HlmAlertIcon } from './lib/hlm-alert-icon';
6
+ import { HlmAlertTitle } from './lib/hlm-alert-title';
7
7
 
8
- export * from './lib/hlm-alert-description.directive';
9
- export * from './lib/hlm-alert-icon.directive';
10
- export * from './lib/hlm-alert-title.directive';
11
- export * from './lib/hlm-alert.directive';
8
+ export * from './lib/hlm-alert';
9
+ export * from './lib/hlm-alert-description';
10
+ export * from './lib/hlm-alert-icon';
11
+ export * from './lib/hlm-alert-title';
12
12
 
13
- export const HlmAlertImports = [
14
- HlmAlertDirective,
15
- HlmAlertTitleDirective,
16
- HlmAlertDescriptionDirective,
17
- HlmAlertIconDirective,
18
- ] as const;
13
+ export const HlmAlertImports = [HlmAlert, HlmAlertTitle, HlmAlertDescription, HlmAlertIcon] as const;
19
14
 
20
15
  @NgModule({
21
16
  imports: [...HlmAlertImports],
@@ -8,7 +8,7 @@ import type { ClassValue } from 'clsx';
8
8
  '[class]': '_computedClass()',
9
9
  },
10
10
  })
11
- export class HlmAlertDescriptionDirective {
11
+ export class HlmAlertDescription {
12
12
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
13
13
  protected readonly _computedClass = computed(() =>
14
14
  hlm(
@@ -5,4 +5,4 @@ import { provideHlmIconConfig } from '@spartan-ng/helm/icon';
5
5
  selector: '[hlmAlertIcon]',
6
6
  providers: [provideHlmIconConfig({ size: 'sm' })],
7
7
  })
8
- export class HlmAlertIconDirective {}
8
+ export class HlmAlertIcon {}
@@ -8,7 +8,7 @@ import type { ClassValue } from 'clsx';
8
8
  '[class]': '_computedClass()',
9
9
  },
10
10
  })
11
- export class HlmAlertTitleDirective {
11
+ export class HlmAlertTitle {
12
12
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
13
13
  protected readonly _computedClass = computed(() =>
14
14
  hlm('col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight', this.userClass()),
@@ -28,7 +28,7 @@ export type AlertVariants = VariantProps<typeof alertVariants>;
28
28
  '[class]': '_computedClass()',
29
29
  },
30
30
  })
31
- export class HlmAlertDirective {
31
+ export class HlmAlert {
32
32
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
33
33
  protected readonly _computedClass = computed(() => hlm(alertVariants({ variant: this.variant() }), this.userClass()));
34
34
 
@@ -1,10 +1,10 @@
1
1
  import { NgModule } from '@angular/core';
2
- import { HlmAspectRatioDirective } from './lib/helm-aspect-ratio.directive';
2
+ import { HlmAspectRatio } from './lib/helm-aspect-ratio';
3
3
 
4
- export * from './lib/helm-aspect-ratio.directive';
4
+ export * from './lib/helm-aspect-ratio';
5
5
 
6
6
  @NgModule({
7
- imports: [HlmAspectRatioDirective],
8
- exports: [HlmAspectRatioDirective],
7
+ imports: [HlmAspectRatio],
8
+ exports: [HlmAspectRatio],
9
9
  })
10
10
  export class HlmAspectRatioModule {}
@@ -18,7 +18,7 @@ const parseDividedString = (value: NumberInput): NumberInput => {
18
18
  '[style.padding-bottom]': '_computedPaddingBottom()',
19
19
  },
20
20
  })
21
- export class HlmAspectRatioDirective implements AfterViewInit {
21
+ export class HlmAspectRatio implements AfterViewInit {
22
22
  private readonly _el = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;
23
23
 
24
24
  public readonly ratio = input(1, {
@@ -1,14 +1,14 @@
1
1
  import { NgModule } from '@angular/core';
2
2
 
3
- import { HlmAvatarFallbackDirective } from './lib/fallback';
4
- import { HlmAvatarComponent } from './lib/hlm-avatar.component';
5
- import { HlmAvatarImageDirective } from './lib/image';
3
+ import { HlmAvatarFallback } from './lib/fallback';
4
+ import { HlmAvatar } from './lib/hlm-avatar';
5
+ import { HlmAvatarImage } from './lib/image';
6
6
 
7
7
  export * from './lib/fallback';
8
- export * from './lib/hlm-avatar.component';
8
+ export * from './lib/hlm-avatar';
9
9
  export * from './lib/image';
10
10
 
11
- export const HlmAvatarImports = [HlmAvatarFallbackDirective, HlmAvatarImageDirective, HlmAvatarComponent] as const;
11
+ export const HlmAvatarImports = [HlmAvatarFallback, HlmAvatarImage, HlmAvatar] as const;
12
12
 
13
13
  @NgModule({
14
14
  imports: [...HlmAvatarImports],
@@ -1,5 +1,5 @@
1
1
  import { Directive, computed, inject } from '@angular/core';
2
- import { BrnAvatarFallbackDirective } from '@spartan-ng/brain/avatar';
2
+ import { BrnAvatarFallback } from '@spartan-ng/brain/avatar';
3
3
  import { hlm } from '@spartan-ng/brain/core';
4
4
 
5
5
  @Directive({
@@ -7,7 +7,7 @@ import { hlm } from '@spartan-ng/brain/core';
7
7
  exportAs: 'avatarFallback',
8
8
  hostDirectives: [
9
9
  {
10
- directive: BrnAvatarFallbackDirective,
10
+ directive: BrnAvatarFallback,
11
11
  inputs: ['class'],
12
12
  },
13
13
  ],
@@ -15,8 +15,8 @@ import { hlm } from '@spartan-ng/brain/core';
15
15
  '[class]': '_computedClass()',
16
16
  },
17
17
  })
18
- export class HlmAvatarFallbackDirective {
19
- private readonly _brn = inject(BrnAvatarFallbackDirective);
18
+ export class HlmAvatarFallback {
19
+ private readonly _brn = inject(BrnAvatarFallback);
20
20
 
21
21
  protected readonly _computedClass = computed(() => {
22
22
  return hlm('bg-muted flex size-full items-center justify-center rounded-full', this._brn?.userClass());
@@ -1 +1 @@
1
- export * from './hlm-avatar-fallback.directive';
1
+ export * from './hlm-avatar-fallback';
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, input } from '@angular/core';
2
- import { BrnAvatarComponent } from '@spartan-ng/brain/avatar';
2
+ import { BrnAvatar } from '@spartan-ng/brain/avatar';
3
3
  import { hlm } from '@spartan-ng/brain/core';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
@@ -18,7 +18,7 @@ import type { ClassValue } from 'clsx';
18
18
  }
19
19
  `,
20
20
  })
21
- export class HlmAvatarComponent extends BrnAvatarComponent {
21
+ export class HlmAvatar extends BrnAvatar {
22
22
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
23
23
 
24
24
  protected readonly _computedClass = computed(() =>
@@ -1,18 +1,18 @@
1
1
  import { Directive, computed, inject, input } from '@angular/core';
2
- import { BrnAvatarImageDirective } from '@spartan-ng/brain/avatar';
2
+ import { BrnAvatarImage } from '@spartan-ng/brain/avatar';
3
3
  import { hlm } from '@spartan-ng/brain/core';
4
4
  import type { ClassValue } from 'clsx';
5
5
 
6
6
  @Directive({
7
7
  selector: 'img[hlmAvatarImage]',
8
8
  exportAs: 'avatarImage',
9
- hostDirectives: [BrnAvatarImageDirective],
9
+ hostDirectives: [BrnAvatarImage],
10
10
  host: {
11
11
  '[class]': '_computedClass()',
12
12
  },
13
13
  })
14
- export class HlmAvatarImageDirective {
15
- public canShow = inject(BrnAvatarImageDirective).canShow;
14
+ export class HlmAvatarImage {
15
+ public canShow = inject(BrnAvatarImage).canShow;
16
16
 
17
17
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
18
18
  protected _computedClass = computed(() => hlm('aspect-square size-full', this.userClass()));
@@ -1 +1 @@
1
- export * from './hlm-avatar-image.directive';
1
+ export * from './hlm-avatar-image';
@@ -1,9 +1,9 @@
1
1
  import { NgModule } from '@angular/core';
2
- import { HlmBadgeDirective } from './lib/hlm-badge.directive';
2
+ import { HlmBadge } from './lib/hlm-badge';
3
3
 
4
- export * from './lib/hlm-badge.directive';
4
+ export * from './lib/hlm-badge';
5
5
 
6
- export const HlmBadgeImports = [HlmBadgeDirective] as const;
6
+ export const HlmBadgeImports = [HlmBadge] as const;
7
7
 
8
8
  @NgModule({
9
9
  imports: [...HlmBadgeImports],
@@ -29,7 +29,7 @@ export type BadgeVariants = VariantProps<typeof badgeVariants>;
29
29
  '[class]': '_computedClass()',
30
30
  },
31
31
  })
32
- export class HlmBadgeDirective {
32
+ export class HlmBadge {
33
33
  protected readonly _computedClass = computed(() => hlm(badgeVariants({ variant: this.variant() }), this.userClass()));
34
34
 
35
35
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
@@ -1,28 +1,28 @@
1
1
  import { NgModule } from '@angular/core';
2
- import { HlmBreadcrumbEllipsisComponent } from './lib/hlm-breadcrumb-ellipsis.component';
3
- import { HlmBreadcrumbItemDirective } from './lib/hlm-breadcrumb-item.directive';
4
- import { HlmBreadcrumbLinkDirective } from './lib/hlm-breadcrumb-link.directive';
5
- import { HlmBreadcrumbListDirective } from './lib/hlm-breadcrumb-list.directive';
6
- import { HlmBreadcrumbPageDirective } from './lib/hlm-breadcrumb-page.directive';
7
- import { HlmBreadcrumbSeparatorComponent } from './lib/hlm-breadcrumb-separator.component';
8
- import { HlmBreadcrumbDirective } from './lib/hlm-breadcrumb.directive';
2
+ import { HlmBreadcrumb } from './lib/hlm-breadcrumb';
3
+ import { HlmBreadcrumbEllipsis } from './lib/hlm-breadcrumb-ellipsis';
4
+ import { HlmBreadcrumbItem } from './lib/hlm-breadcrumb-item';
5
+ import { HlmBreadcrumbLink } from './lib/hlm-breadcrumb-link';
6
+ import { HlmBreadcrumbList } from './lib/hlm-breadcrumb-list';
7
+ import { HlmBreadcrumbPage } from './lib/hlm-breadcrumb-page';
8
+ import { HlmBreadcrumbSeparator } from './lib/hlm-breadcrumb-separator';
9
9
 
10
- export * from './lib/hlm-breadcrumb-ellipsis.component';
11
- export * from './lib/hlm-breadcrumb-item.directive';
12
- export * from './lib/hlm-breadcrumb-link.directive';
13
- export * from './lib/hlm-breadcrumb-list.directive';
14
- export * from './lib/hlm-breadcrumb-page.directive';
15
- export * from './lib/hlm-breadcrumb-separator.component';
16
- export * from './lib/hlm-breadcrumb.directive';
10
+ export * from './lib/hlm-breadcrumb';
11
+ export * from './lib/hlm-breadcrumb-ellipsis';
12
+ export * from './lib/hlm-breadcrumb-item';
13
+ export * from './lib/hlm-breadcrumb-link';
14
+ export * from './lib/hlm-breadcrumb-list';
15
+ export * from './lib/hlm-breadcrumb-page';
16
+ export * from './lib/hlm-breadcrumb-separator';
17
17
 
18
18
  export const HlmBreadCrumbImports = [
19
- HlmBreadcrumbDirective,
20
- HlmBreadcrumbEllipsisComponent,
21
- HlmBreadcrumbSeparatorComponent,
22
- HlmBreadcrumbItemDirective,
23
- HlmBreadcrumbLinkDirective,
24
- HlmBreadcrumbPageDirective,
25
- HlmBreadcrumbListDirective,
19
+ HlmBreadcrumb,
20
+ HlmBreadcrumbEllipsis,
21
+ HlmBreadcrumbSeparator,
22
+ HlmBreadcrumbItem,
23
+ HlmBreadcrumbLink,
24
+ HlmBreadcrumbPage,
25
+ HlmBreadcrumbList,
26
26
  ] as const;
27
27
 
28
28
  @NgModule({
@@ -2,12 +2,12 @@ import { ChangeDetectionStrategy, Component, computed, input } from '@angular/co
2
2
  import { NgIcon, provideIcons } from '@ng-icons/core';
3
3
  import { lucideEllipsis } from '@ng-icons/lucide';
4
4
  import { hlm } from '@spartan-ng/brain/core';
5
- import { HlmIconDirective } from '@spartan-ng/helm/icon';
5
+ import { HlmIcon } from '@spartan-ng/helm/icon';
6
6
  import type { ClassValue } from 'clsx';
7
7
 
8
8
  @Component({
9
9
  selector: 'hlm-breadcrumb-ellipsis',
10
- imports: [NgIcon, HlmIconDirective],
10
+ imports: [NgIcon, HlmIcon],
11
11
  providers: [provideIcons({ lucideEllipsis })],
12
12
  template: `
13
13
  <span role="presentation" aria-hidden="true" [class]="_computedClass()">
@@ -17,7 +17,7 @@ import type { ClassValue } from 'clsx';
17
17
  `,
18
18
  changeDetection: ChangeDetectionStrategy.OnPush,
19
19
  })
20
- export class HlmBreadcrumbEllipsisComponent {
20
+ export class HlmBreadcrumbEllipsis {
21
21
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
22
22
  /** Screen reader only text for the ellipsis */
23
23
  public readonly srOnlyText = input<string>('More');
@@ -8,7 +8,7 @@ import type { ClassValue } from 'clsx';
8
8
  '[class]': '_computedClass()',
9
9
  },
10
10
  })
11
- export class HlmBreadcrumbItemDirective {
11
+ export class HlmBreadcrumbItem {
12
12
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
13
13
 
14
14
  protected readonly _computedClass = computed(() => hlm('inline-flex items-center gap-1.5', this.userClass()));
@@ -27,7 +27,7 @@ import type { ClassValue } from 'clsx';
27
27
  '[class]': '_computedClass()',
28
28
  },
29
29
  })
30
- export class HlmBreadcrumbLinkDirective {
30
+ export class HlmBreadcrumbLink {
31
31
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
32
32
  /** The link to navigate to the page. */
33
33
  public readonly link = input<RouterLink['routerLink']>();
@@ -8,7 +8,7 @@ import type { ClassValue } from 'clsx';
8
8
  '[class]': '_computedClass()',
9
9
  },
10
10
  })
11
- export class HlmBreadcrumbListDirective {
11
+ export class HlmBreadcrumbList {
12
12
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
13
13
 
14
14
  protected readonly _computedClass = computed(() =>
@@ -11,7 +11,7 @@ import type { ClassValue } from 'clsx';
11
11
  '[class]': '_computedClass()',
12
12
  },
13
13
  })
14
- export class HlmBreadcrumbPageDirective {
14
+ export class HlmBreadcrumbPage {
15
15
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
16
16
 
17
17
  protected readonly _computedClass = computed(() => hlm('font-normal text-foreground', this.userClass()));
@@ -21,7 +21,7 @@ import type { ClassValue } from 'clsx';
21
21
  `,
22
22
  changeDetection: ChangeDetectionStrategy.OnPush,
23
23
  })
24
- export class HlmBreadcrumbSeparatorComponent {
24
+ export class HlmBreadcrumbSeparator {
25
25
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
26
26
 
27
27
  protected readonly _computedClass = computed(() => hlm('[&_ng-icon]:size-3.5 [&_ng-icon]:block', this.userClass()));
@@ -10,7 +10,7 @@ import type { ClassValue } from 'clsx';
10
10
  '[attr.aria-label]': 'ariaLabel()',
11
11
  },
12
12
  })
13
- export class HlmBreadcrumbDirective {
13
+ export class HlmBreadcrumb {
14
14
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
15
15
  public readonly ariaLabel = input<string>('breadcrumb', { alias: 'aria-label' });
16
16
 
@@ -1,10 +1,10 @@
1
1
  import { NgModule } from '@angular/core';
2
- import { HlmButtonDirective } from './lib/hlm-button.directive';
3
- export * from './lib/hlm-button.directive';
2
+ import { HlmButton } from './lib/hlm-button';
3
+ export * from './lib/hlm-button';
4
4
  export * from './lib/hlm-button.token';
5
5
 
6
6
  @NgModule({
7
- imports: [HlmButtonDirective],
8
- exports: [HlmButtonDirective],
7
+ imports: [HlmButton],
8
+ exports: [HlmButton],
9
9
  })
10
10
  export class HlmButtonModule {}
@@ -1,5 +1,5 @@
1
1
  import { InjectionToken, ValueProvider, inject } from '@angular/core';
2
- import type { ButtonVariants } from './hlm-button.directive';
2
+ import type { ButtonVariants } from './hlm-button';
3
3
 
4
4
  export interface BrnButtonConfig {
5
5
  variant: ButtonVariants['variant'];
@@ -41,7 +41,7 @@ export type ButtonVariants = VariantProps<typeof buttonVariants>;
41
41
  '[class]': '_computedClass()',
42
42
  },
43
43
  })
44
- export class HlmButtonDirective {
44
+ export class HlmButton {
45
45
  private readonly _config = injectBrnButtonConfig();
46
46
 
47
47
  private readonly _additionalClasses = signal<ClassValue>('');
@@ -1,11 +1,11 @@
1
1
  import { NgModule } from '@angular/core';
2
- import { HlmCalendarMultiComponent } from './lib/hlm-calendar-multi.component';
3
- import { HlmCalendarComponent } from './lib/hlm-calendar.component';
2
+ import { HlmCalendar } from './lib/hlm-calendar';
3
+ import { HlmCalendarMulti } from './lib/hlm-calendar-multi';
4
4
 
5
- export * from './lib/hlm-calendar-multi.component';
6
- export * from './lib/hlm-calendar.component';
5
+ export * from './lib/hlm-calendar';
6
+ export * from './lib/hlm-calendar-multi';
7
7
 
8
- export const HlmCalendarImports = [HlmCalendarComponent, HlmCalendarMultiComponent] as const;
8
+ export const HlmCalendarImports = [HlmCalendar, HlmCalendarMulti] as const;
9
9
 
10
10
  @NgModule({
11
11
  imports: [...HlmCalendarImports],