@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.
- package/generators.json +10 -0
- package/package.json +1 -1
- package/src/generators/healthcheck/generator.js +2 -0
- package/src/generators/healthcheck/generator.js.map +1 -1
- package/src/generators/healthcheck/healthchecks/brn-radio.js +1 -1
- package/src/generators/healthcheck/healthchecks/brn-radio.js.map +1 -1
- package/src/generators/healthcheck/healthchecks/naming-conventions.d.ts +2 -0
- package/src/generators/healthcheck/healthchecks/naming-conventions.js +39 -0
- package/src/generators/healthcheck/healthchecks/naming-conventions.js.map +1 -0
- package/src/generators/migrate-naming-convention/__snapshots__/generator.spec.ts.snap +213 -0
- package/src/generators/migrate-naming-convention/compat.d.ts +2 -0
- package/src/generators/migrate-naming-convention/compat.js +7 -0
- package/src/generators/migrate-naming-convention/compat.js.map +1 -0
- package/src/generators/migrate-naming-convention/generator.d.ts +4 -0
- package/src/generators/migrate-naming-convention/generator.js +97 -0
- package/src/generators/migrate-naming-convention/generator.js.map +1 -0
- package/src/generators/migrate-naming-convention/schema.d.ts +3 -0
- package/src/generators/migrate-naming-convention/schema.json +14 -0
- package/src/generators/ui/libs/ui-accordion-helm/files/index.ts.template +15 -15
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion-content.component.ts.template → hlm-accordion-content.ts.template} +2 -2
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion-icon.directive.ts.template → hlm-accordion-icon.ts.template} +1 -1
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion-item.directive.ts.template → hlm-accordion-item.ts.template} +3 -3
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion-trigger.directive.ts.template → hlm-accordion-trigger.ts.template} +3 -3
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion.directive.ts.template → hlm-accordion.ts.template} +4 -4
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/index.ts.template +27 -27
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-action-button.ts.template +8 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog.component.ts.template → hlm-alert-dialog.ts.template} +8 -8
- package/src/generators/ui/libs/ui-alert-helm/files/index.ts.template +9 -14
- package/src/generators/ui/libs/ui-alert-helm/files/lib/{hlm-alert-description.directive.ts.template → hlm-alert-description.ts.template} +1 -1
- package/src/generators/ui/libs/ui-alert-helm/files/lib/{hlm-alert-icon.directive.ts.template → hlm-alert-icon.ts.template} +1 -1
- package/src/generators/ui/libs/ui-alert-helm/files/lib/{hlm-alert-title.directive.ts.template → hlm-alert-title.ts.template} +1 -1
- package/src/generators/ui/libs/ui-alert-helm/files/lib/{hlm-alert.directive.ts.template → hlm-alert.ts.template} +1 -1
- package/src/generators/ui/libs/ui-aspect-ratio-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-aspect-ratio-helm/files/lib/{helm-aspect-ratio.directive.ts.template → helm-aspect-ratio.ts.template} +1 -1
- package/src/generators/ui/libs/ui-avatar-helm/files/index.ts.template +5 -5
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/fallback/{hlm-avatar-fallback.directive.ts.template → hlm-avatar-fallback.ts.template} +4 -4
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/fallback/index.ts.template +1 -1
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/{hlm-avatar.component.ts.template → hlm-avatar.ts.template} +2 -2
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/{hlm-avatar-image.directive.ts.template → hlm-avatar-image.ts.template} +4 -4
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/index.ts.template +1 -1
- package/src/generators/ui/libs/ui-badge-helm/files/index.ts.template +3 -3
- package/src/generators/ui/libs/ui-badge-helm/files/lib/{hlm-badge.directive.ts.template → hlm-badge.ts.template} +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/index.ts.template +21 -21
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-ellipsis.component.ts.template → hlm-breadcrumb-ellipsis.ts.template} +3 -3
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-item.directive.ts.template → hlm-breadcrumb-item.ts.template} +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-link.directive.ts.template → hlm-breadcrumb-link.ts.template} +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-list.directive.ts.template → hlm-breadcrumb-list.ts.template} +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-page.directive.ts.template → hlm-breadcrumb-page.ts.template} +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-separator.component.ts.template → hlm-breadcrumb-separator.ts.template} +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb.directive.ts.template → hlm-breadcrumb.ts.template} +1 -1
- package/src/generators/ui/libs/ui-button-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-button-helm/files/lib/hlm-button.token.ts.template +1 -1
- package/src/generators/ui/libs/ui-button-helm/files/lib/{hlm-button.directive.ts.template → hlm-button.ts.template} +1 -1
- package/src/generators/ui/libs/ui-calendar-helm/files/index.ts.template +5 -5
- package/src/generators/ui/libs/ui-calendar-helm/files/lib/{hlm-calendar-multi.component.ts.template → hlm-calendar-multi.ts.template} +22 -22
- package/src/generators/ui/libs/ui-calendar-helm/files/lib/{hlm-calendar.component.ts.template → hlm-calendar.ts.template} +22 -22
- package/src/generators/ui/libs/ui-card-helm/files/index.ts.template +21 -21
- package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-action.directive.ts.template → hlm-card-action.ts.template} +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-content.directive.ts.template → hlm-card-content.ts.template} +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-description.directive.ts.template → hlm-card-description.ts.template} +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-footer.directive.ts.template → hlm-card-footer.ts.template} +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-header.directive.ts.template → hlm-card-header.ts.template} +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-title.directive.ts.template → hlm-card-title.ts.template} +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card.directive.ts.template → hlm-card.ts.template} +1 -1
- package/src/generators/ui/libs/ui-carousel-helm/files/index.ts.template +18 -18
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel-content.component.ts.template → hlm-carousel-content.ts.template} +3 -3
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel-item.component.ts.template → hlm-carousel-item.ts.template} +3 -3
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel-next.component.ts.template → hlm-carousel-next.ts.template} +8 -8
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel-previous.component.ts.template → hlm-carousel-previous.ts.template} +8 -8
- 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
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel.component.ts.template → hlm-carousel.ts.template} +1 -1
- package/src/generators/ui/libs/ui-checkbox-helm/files/index.ts.template +3 -3
- package/src/generators/ui/libs/ui-checkbox-helm/files/lib/{hlm-checkbox.component.ts.template → hlm-checkbox.ts.template} +5 -5
- package/src/generators/ui/libs/ui-command-helm/files/index.ts.template +39 -39
- 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
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-dialog.directive.ts.template → hlm-command-dialog.ts.template} +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-empty.directive.ts.template → hlm-command-empty.ts.template} +1 -1
- 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
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-group.component.ts.template → hlm-command-group.ts.template} +3 -3
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-icon.directive.ts.template → hlm-command-icon.ts.template} +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-item.component.ts.template → hlm-command-item.ts.template} +3 -3
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-list.component.ts.template → hlm-command-list.ts.template} +3 -3
- 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
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-search.component.ts.template → hlm-command-search.ts.template} +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-separator.component.ts.template → hlm-command-separator.ts.template} +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-shortcut.component.ts.template → hlm-command-shortcut.ts.template} +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command.component.ts.template → hlm-command.ts.template} +3 -3
- package/src/generators/ui/libs/ui-date-picker-helm/files/index.ts.template +5 -5
- 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
- package/src/generators/ui/libs/ui-date-picker-helm/files/lib/{hlm-date-picker.component.ts.template → hlm-date-picker.ts.template} +7 -15
- package/src/generators/ui/libs/ui-dialog-helm/files/index.ts.template +24 -24
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-close.directive.ts.template → hlm-dialog-close.ts.template} +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-content.component.ts.template → hlm-dialog-content.ts.template} +5 -5
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-description.directive.ts.template → hlm-dialog-description.ts.template} +3 -3
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-footer.component.ts.template → hlm-dialog-footer.ts.template} +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-header.component.ts.template → hlm-dialog-header.ts.template} +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-overlay.directive.ts.template → hlm-dialog-overlay.ts.template} +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-title.directive.ts.template → hlm-dialog-title.ts.template} +3 -3
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog.service.ts.template +3 -3
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog.component.ts.template → hlm-dialog.ts.template} +6 -10
- package/src/generators/ui/libs/ui-form-field-helm/files/index.ts.template +8 -8
- package/src/generators/ui/libs/ui-form-field-helm/files/lib/{hlm-error.directive.ts.template → hlm-error.ts.template} +1 -1
- package/src/generators/ui/libs/ui-form-field-helm/files/lib/{hlm-form-field.component.ts.template → hlm-form-field.ts.template} +3 -3
- package/src/generators/ui/libs/ui-form-field-helm/files/lib/{hlm-hint.directive.ts.template → hlm-hint.ts.template} +1 -1
- package/src/generators/ui/libs/ui-hover-card-helm/files/index.ts.template +3 -3
- 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
- package/src/generators/ui/libs/ui-icon-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-icon-helm/files/lib/hlm-icon.token.ts.template +1 -1
- package/src/generators/ui/libs/ui-icon-helm/files/lib/{hlm-icon.directive.ts.template → hlm-icon.ts.template} +1 -1
- package/src/generators/ui/libs/ui-input-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-input-helm/files/lib/{hlm-input-error.directive.ts.template → hlm-input-error.ts.template} +1 -1
- package/src/generators/ui/libs/ui-input-helm/files/lib/{hlm-input.directive.ts.template → hlm-input.ts.template} +2 -2
- package/src/generators/ui/libs/ui-input-otp-helm/files/index.ts.template +15 -15
- 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
- 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
- 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
- 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
- package/src/generators/ui/libs/ui-input-otp-helm/files/lib/{hlm-input-otp.directive.ts.template → hlm-input-otp.ts.template} +1 -1
- package/src/generators/ui/libs/ui-label-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-label-helm/files/lib/{hlm-label.directive.ts.template → hlm-label.ts.template} +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/index.ts.template +42 -47
- 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
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-bar.component.ts.template → hlm-menu-bar.ts.template} +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-group.component.ts.template → hlm-menu-group.ts.template} +3 -3
- 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
- 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
- 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
- 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
- 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
- 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
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item.directive.ts.template → hlm-menu-item.ts.template} +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-label.component.ts.template → hlm-menu-label.ts.template} +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-separator.component.ts.template → hlm-menu-separator.ts.template} +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-shortcut.component.ts.template → hlm-menu-shortcut.ts.template} +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu.component.ts.template → hlm-menu.ts.template} +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-sub-menu.component.ts.template → hlm-sub-menu.ts.template} +3 -3
- package/src/generators/ui/libs/ui-pagination-helm/files/index.ts.template +27 -27
- 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
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-numbered-pagination.component.ts.template → hlm-numbered-pagination.ts.template} +15 -15
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-content.directive.ts.template → hlm-pagination-content.ts.template} +1 -1
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-ellipsis.component.ts.template → hlm-pagination-ellipsis.ts.template} +3 -3
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-item.directive.ts.template → hlm-pagination-item.ts.template} +1 -1
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-link.directive.ts.template → hlm-pagination-link.ts.template} +1 -1
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-next.component.ts.template → hlm-pagination-next.ts.template} +6 -6
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-previous.component.ts.template → hlm-pagination-previous.ts.template} +6 -6
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination.directive.ts.template → hlm-pagination.ts.template} +1 -1
- package/src/generators/ui/libs/ui-popover-helm/files/index.ts.template +5 -5
- package/src/generators/ui/libs/ui-popover-helm/files/lib/{hlm-popover-close.directive.ts.template → hlm-popover-close.ts.template} +1 -1
- package/src/generators/ui/libs/ui-popover-helm/files/lib/{hlm-popover-content.directive.ts.template → hlm-popover-content.ts.template} +1 -1
- package/src/generators/ui/libs/ui-progress-helm/files/index.ts.template +5 -5
- package/src/generators/ui/libs/ui-progress-helm/files/lib/{hlm-progress-indicator.directive.ts.template → hlm-progress-indicator.ts.template} +1 -1
- package/src/generators/ui/libs/ui-progress-helm/files/lib/{hlm-progress.directive.ts.template → hlm-progress.ts.template} +1 -1
- package/src/generators/ui/libs/ui-radio-group-helm/files/index.ts.template +7 -7
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/{hlm-radio-group.component.ts.template → hlm-radio-group.ts.template} +3 -3
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/{hlm-radio-indicator.component.ts.template → hlm-radio-indicator.ts.template} +1 -1
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/{hlm-radio.component.ts.template → hlm-radio.ts.template} +3 -3
- package/src/generators/ui/libs/ui-scroll-area-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-scroll-area-helm/files/lib/{hlm-scroll-area.directive.ts.template → hlm-scroll-area.ts.template} +1 -1
- package/src/generators/ui/libs/ui-select-helm/files/index.ts.template +27 -27
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-content.directive.ts.template → hlm-select-content.ts.template} +1 -1
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-group.directive.ts.template → hlm-select-group.ts.template} +3 -3
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-label.directive.ts.template → hlm-select-label.ts.template} +5 -5
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-option.component.ts.template → hlm-select-option.ts.template} +6 -6
- 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
- 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
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-trigger.component.ts.template → hlm-select-trigger.ts.template} +6 -6
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-value.directive.ts.template → hlm-select-value.ts.template} +1 -1
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select.directive.ts.template → hlm-select.ts.template} +1 -1
- package/src/generators/ui/libs/ui-separator-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-separator-helm/files/lib/{hlm-separator.directive.ts.template → hlm-separator.ts.template} +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/index.ts.template +24 -24
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-close.directive.ts.template → hlm-sheet-close.ts.template} +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-content.component.ts.template → hlm-sheet-content.ts.template} +5 -5
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-description.directive.ts.template → hlm-sheet-description.ts.template} +3 -3
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-footer.component.ts.template → hlm-sheet-footer.ts.template} +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-header.component.ts.template → hlm-sheet-header.ts.template} +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-overlay.directive.ts.template → hlm-sheet-overlay.ts.template} +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-title.directive.ts.template → hlm-sheet-title.ts.template} +3 -3
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet.ts.template +30 -0
- package/src/generators/ui/libs/ui-skeleton-helm/files/index.ts.template +3 -3
- package/src/generators/ui/libs/ui-skeleton-helm/files/lib/{hlm-skeleton.component.ts.template → hlm-skeleton.ts.template} +1 -1
- package/src/generators/ui/libs/ui-slider-helm/files/index.ts.template +3 -3
- package/src/generators/ui/libs/ui-slider-helm/files/lib/{hlm-slider.component.ts.template → hlm-slider.ts.template} +8 -8
- package/src/generators/ui/libs/ui-sonner-helm/files/index.ts.template +3 -3
- package/src/generators/ui/libs/ui-sonner-helm/files/lib/{hlm-toaster.component.ts.template → hlm-toaster.ts.template} +1 -1
- package/src/generators/ui/libs/ui-spinner-helm/files/index.ts.template +3 -3
- package/src/generators/ui/libs/ui-spinner-helm/files/lib/{hlm-spinner.component.ts.template → hlm-spinner.ts.template} +1 -1
- package/src/generators/ui/libs/ui-switch-helm/files/index.ts.template +5 -5
- package/src/generators/ui/libs/ui-switch-helm/files/lib/{hlm-switch-thumb.directive.ts.template → hlm-switch-thumb.ts.template} +1 -1
- package/src/generators/ui/libs/ui-switch-helm/files/lib/{hlm-switch.component.ts.template → hlm-switch.ts.template} +5 -5
- package/src/generators/ui/libs/ui-table-helm/files/index.ts.template +3 -21
- package/src/generators/ui/libs/ui-table-helm/files/lib/{hlm-table.directive.ts.template → hlm-table.ts.template} +8 -8
- package/src/generators/ui/libs/ui-tabs-helm/files/index.ts.template +11 -17
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/{hlm-tabs-content.directive.ts.template → hlm-tabs-content.ts.template} +3 -3
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/{hlm-tabs-list.component.ts.template → hlm-tabs-list.ts.template} +3 -3
- 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
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/{hlm-tabs-trigger.directive.ts.template → hlm-tabs-trigger.ts.template} +3 -3
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/{hlm-tabs.component.ts.template → hlm-tabs.ts.template} +3 -3
- package/src/generators/ui/libs/ui-toggle-group-helm/files/index.ts.template +6 -6
- package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/hlm-toggle-group.token.ts.template +5 -5
- package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/{hlm-toggle-group.directive.ts.template → hlm-toggle-group.ts.template} +3 -3
- package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/{hlm-toggle-item.directive.ts.template → hlm-toggle-item.ts.template} +1 -1
- package/src/generators/ui/libs/ui-toggle-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-toggle-helm/files/lib/{hlm-toggle.directive.ts.template → hlm-toggle.ts.template} +1 -1
- package/src/generators/ui/libs/ui-tooltip-helm/files/index.ts.template +5 -5
- package/src/generators/ui/libs/ui-tooltip-helm/files/lib/{hlm-tooltip-trigger.directive.ts.template → hlm-tooltip-trigger.ts.template} +3 -3
- package/src/generators/ui/libs/ui-tooltip-helm/files/lib/{hlm-tooltip.component.ts.template → hlm-tooltip.ts.template} +3 -3
- package/src/generators/ui/libs/ui-typography-helm/files/index.ts.template +12 -12
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-blockquote.directive.ts.template → hlm-blockquote.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-code.directive.ts.template → hlm-code.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-h1.directive.ts.template → hlm-h1.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-h2.directive.ts.template → hlm-h2.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-h3.directive.ts.template → hlm-h3.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-h4.directive.ts.template → hlm-h4.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-large.directive.ts.template → hlm-large.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-lead.directive.ts.template → hlm-lead.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-muted.directive.ts.template → hlm-muted.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-p.directive.ts.template → hlm-p.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-small.directive.ts.template → hlm-small.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-ul.directive.ts.template → hlm-ul.ts.template} +1 -1
- package/src/generators/ui/supported-ui-libraries.json +40 -40
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-action-button.directive.ts.template +0 -8
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet.component.ts.template +0 -30
|
@@ -51,7 +51,7 @@ export function injectHlmTableConfig(): HlmTableVariant {
|
|
|
51
51
|
'[class]': '_computedClass()',
|
|
52
52
|
},
|
|
53
53
|
})
|
|
54
|
-
export class
|
|
54
|
+
export class HlmTable {
|
|
55
55
|
/** Input to configure the variant of the table, this input has the highest priority. */
|
|
56
56
|
public readonly userVariant = input<Partial<HlmTableVariant> | string>({}, { alias: 'hlmTable' });
|
|
57
57
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
@@ -90,7 +90,7 @@ export class HlmTableDirective {
|
|
|
90
90
|
'[class]': '_computedClass()',
|
|
91
91
|
},
|
|
92
92
|
})
|
|
93
|
-
export class
|
|
93
|
+
export class HlmTHead {
|
|
94
94
|
private readonly _globalOrDefaultConfig = injectHlmTableConfig();
|
|
95
95
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
96
96
|
|
|
@@ -110,7 +110,7 @@ export class HlmTHeadDirective {
|
|
|
110
110
|
'[class]': '_computedClass()',
|
|
111
111
|
},
|
|
112
112
|
})
|
|
113
|
-
export class
|
|
113
|
+
export class HlmTBody {
|
|
114
114
|
private readonly _globalOrDefaultConfig = injectHlmTableConfig();
|
|
115
115
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
116
116
|
|
|
@@ -130,7 +130,7 @@ export class HlmTBodyDirective {
|
|
|
130
130
|
'[class]': '_computedClass()',
|
|
131
131
|
},
|
|
132
132
|
})
|
|
133
|
-
export class
|
|
133
|
+
export class HlmTFoot {
|
|
134
134
|
private readonly _globalOrDefaultConfig = injectHlmTableConfig();
|
|
135
135
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
136
136
|
|
|
@@ -150,7 +150,7 @@ export class HlmTFootDirective {
|
|
|
150
150
|
'[class]': '_computedClass()',
|
|
151
151
|
},
|
|
152
152
|
})
|
|
153
|
-
export class
|
|
153
|
+
export class HlmTr {
|
|
154
154
|
private readonly _globalOrDefaultConfig = injectHlmTableConfig();
|
|
155
155
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
156
156
|
|
|
@@ -170,7 +170,7 @@ export class HlmTrDirective {
|
|
|
170
170
|
'[class]': '_computedClass()',
|
|
171
171
|
},
|
|
172
172
|
})
|
|
173
|
-
export class
|
|
173
|
+
export class HlmTh {
|
|
174
174
|
private readonly _globalOrDefaultConfig = injectHlmTableConfig();
|
|
175
175
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
176
176
|
|
|
@@ -190,7 +190,7 @@ export class HlmThDirective {
|
|
|
190
190
|
'[class]': '_computedClass()',
|
|
191
191
|
},
|
|
192
192
|
})
|
|
193
|
-
export class
|
|
193
|
+
export class HlmTd {
|
|
194
194
|
private readonly _globalOrDefaultConfig = injectHlmTableConfig();
|
|
195
195
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
196
196
|
|
|
@@ -210,7 +210,7 @@ export class HlmTdDirective {
|
|
|
210
210
|
'[class]': '_computedClass()',
|
|
211
211
|
},
|
|
212
212
|
})
|
|
213
|
-
export class
|
|
213
|
+
export class HlmCaption {
|
|
214
214
|
private readonly _globalOrDefaultConfig = injectHlmTableConfig();
|
|
215
215
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
216
216
|
|
|
@@ -1,24 +1,18 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { HlmTabs } from './lib/hlm-tabs';
|
|
4
|
+
import { HlmTabsContent } from './lib/hlm-tabs-content';
|
|
5
|
+
import { HlmTabsList } from './lib/hlm-tabs-list';
|
|
6
|
+
import { HlmTabsPaginatedList } from './lib/hlm-tabs-paginated-list';
|
|
7
|
+
import { HlmTabsTrigger } from './lib/hlm-tabs-trigger';
|
|
8
8
|
|
|
9
|
-
export * from './lib/hlm-tabs
|
|
10
|
-
export * from './lib/hlm-tabs-
|
|
11
|
-
export * from './lib/hlm-tabs-
|
|
12
|
-
export * from './lib/hlm-tabs-
|
|
13
|
-
export * from './lib/hlm-tabs
|
|
9
|
+
export * from './lib/hlm-tabs';
|
|
10
|
+
export * from './lib/hlm-tabs-content';
|
|
11
|
+
export * from './lib/hlm-tabs-list';
|
|
12
|
+
export * from './lib/hlm-tabs-paginated-list';
|
|
13
|
+
export * from './lib/hlm-tabs-trigger';
|
|
14
14
|
|
|
15
|
-
export const HlmTabsImports = [
|
|
16
|
-
HlmTabsComponent,
|
|
17
|
-
HlmTabsListComponent,
|
|
18
|
-
HlmTabsTriggerDirective,
|
|
19
|
-
HlmTabsContentDirective,
|
|
20
|
-
HlmTabsPaginatedListComponent,
|
|
21
|
-
] as const;
|
|
15
|
+
export const HlmTabsImports = [HlmTabs, HlmTabsList, HlmTabsTrigger, HlmTabsContent, HlmTabsPaginatedList] as const;
|
|
22
16
|
|
|
23
17
|
@NgModule({
|
|
24
18
|
imports: [...HlmTabsImports],
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/brain/core';
|
|
3
|
-
import {
|
|
3
|
+
import { BrnTabsContent } from '@spartan-ng/brain/tabs';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
|
7
7
|
selector: '[hlmTabsContent]',
|
|
8
|
-
hostDirectives: [{ directive:
|
|
8
|
+
hostDirectives: [{ directive: BrnTabsContent, inputs: ['brnTabsContent: hlmTabsContent'] }],
|
|
9
9
|
host: {
|
|
10
10
|
'[class]': '_computedClass()',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
|
-
export class
|
|
13
|
+
export class HlmTabsContent {
|
|
14
14
|
public readonly contentFor = input.required<string>({ alias: 'hlmTabsContent' });
|
|
15
15
|
|
|
16
16
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/brain/core';
|
|
3
|
-
import {
|
|
3
|
+
import { BrnTabsList } from '@spartan-ng/brain/tabs';
|
|
4
4
|
import { type VariantProps, cva } from 'class-variance-authority';
|
|
5
5
|
import type { ClassValue } from 'clsx';
|
|
6
6
|
|
|
@@ -22,14 +22,14 @@ type ListVariants = VariantProps<typeof listVariants>;
|
|
|
22
22
|
|
|
23
23
|
@Component({
|
|
24
24
|
selector: 'hlm-tabs-list',
|
|
25
|
-
hostDirectives: [
|
|
25
|
+
hostDirectives: [BrnTabsList],
|
|
26
26
|
template: '<ng-content/>',
|
|
27
27
|
host: {
|
|
28
28
|
'[class]': '_computedClass()',
|
|
29
29
|
},
|
|
30
30
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
31
31
|
})
|
|
32
|
-
export class
|
|
32
|
+
export class HlmTabsList {
|
|
33
33
|
public readonly orientation = input<ListVariants['orientation']>('horizontal');
|
|
34
34
|
|
|
35
35
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
@@ -12,20 +12,16 @@ import { toObservable } from '@angular/core/rxjs-interop';
|
|
|
12
12
|
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
13
13
|
import { lucideChevronLeft, lucideChevronRight } from '@ng-icons/lucide';
|
|
14
14
|
import { hlm } from '@spartan-ng/brain/core';
|
|
15
|
-
import {
|
|
16
|
-
type BrnPaginatedTabHeaderItem,
|
|
17
|
-
BrnTabsPaginatedListDirective,
|
|
18
|
-
BrnTabsTriggerDirective,
|
|
19
|
-
} from '@spartan-ng/brain/tabs';
|
|
15
|
+
import { type BrnPaginatedTabHeaderItem, BrnTabsPaginatedList, BrnTabsTrigger } from '@spartan-ng/brain/tabs';
|
|
20
16
|
import { buttonVariants } from '@spartan-ng/helm/button';
|
|
21
|
-
import {
|
|
17
|
+
import { HlmIcon } from '@spartan-ng/helm/icon';
|
|
22
18
|
import type { ClassValue } from 'clsx';
|
|
23
19
|
import type { Observable } from 'rxjs';
|
|
24
|
-
import { listVariants } from './hlm-tabs-list
|
|
20
|
+
import { listVariants } from './hlm-tabs-list';
|
|
25
21
|
|
|
26
22
|
@Component({
|
|
27
23
|
selector: 'hlm-paginated-tabs-list',
|
|
28
|
-
imports: [CdkObserveContent, NgIcon,
|
|
24
|
+
imports: [CdkObserveContent, NgIcon, HlmIcon],
|
|
29
25
|
providers: [provideIcons({ lucideChevronRight, lucideChevronLeft })],
|
|
30
26
|
template: `
|
|
31
27
|
<button
|
|
@@ -75,8 +71,8 @@ import { listVariants } from './hlm-tabs-list.component';
|
|
|
75
71
|
},
|
|
76
72
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
77
73
|
})
|
|
78
|
-
export class
|
|
79
|
-
public readonly items = contentChildren(
|
|
74
|
+
export class HlmTabsPaginatedList extends BrnTabsPaginatedList {
|
|
75
|
+
public readonly items = contentChildren(BrnTabsTrigger, { descendants: false });
|
|
80
76
|
/** Explicitly annotating type to avoid non-portable inferred type */
|
|
81
77
|
public readonly itemsChanges: Observable<ReadonlyArray<BrnPaginatedTabHeaderItem>> = toObservable(this.items);
|
|
82
78
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/brain/core';
|
|
3
|
-
import {
|
|
3
|
+
import { BrnTabsTrigger } from '@spartan-ng/brain/tabs';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
|
7
7
|
selector: '[hlmTabsTrigger]',
|
|
8
|
-
hostDirectives: [{ directive:
|
|
8
|
+
hostDirectives: [{ directive: BrnTabsTrigger, inputs: ['brnTabsTrigger: hlmTabsTrigger', 'disabled'] }],
|
|
9
9
|
host: {
|
|
10
10
|
'[class]': '_computedClass()',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
|
-
export class
|
|
13
|
+
export class HlmTabsTrigger {
|
|
14
14
|
public readonly triggerFor = input.required<string>({ alias: 'hlmTabsTrigger' });
|
|
15
15
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
16
16
|
protected readonly _computedClass = computed(() =>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/brain/core';
|
|
3
|
-
import {
|
|
3
|
+
import { BrnTabs } from '@spartan-ng/brain/tabs';
|
|
4
4
|
import { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Component({
|
|
7
7
|
selector: 'hlm-tabs',
|
|
8
8
|
hostDirectives: [
|
|
9
9
|
{
|
|
10
|
-
directive:
|
|
10
|
+
directive: BrnTabs,
|
|
11
11
|
inputs: ['orientation', 'direction', 'activationMode', 'brnTabs: tab'],
|
|
12
12
|
outputs: ['tabActivated'],
|
|
13
13
|
},
|
|
@@ -18,7 +18,7 @@ import { ClassValue } from 'clsx';
|
|
|
18
18
|
'[class]': '_computedClass()',
|
|
19
19
|
},
|
|
20
20
|
})
|
|
21
|
-
export class
|
|
21
|
+
export class HlmTabs {
|
|
22
22
|
public readonly tab = input.required<string>();
|
|
23
23
|
|
|
24
24
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { HlmToggleGroup } from './lib/hlm-toggle-group';
|
|
3
|
+
import { HlmToggleGroupItem } from './lib/hlm-toggle-item';
|
|
4
4
|
|
|
5
|
-
export * from './lib/hlm-toggle-group
|
|
6
|
-
export * from './lib/hlm-toggle-item
|
|
5
|
+
export * from './lib/hlm-toggle-group';
|
|
6
|
+
export * from './lib/hlm-toggle-item';
|
|
7
7
|
|
|
8
8
|
@NgModule({
|
|
9
|
-
imports: [
|
|
10
|
-
exports: [
|
|
9
|
+
imports: [HlmToggleGroupItem, HlmToggleGroup],
|
|
10
|
+
exports: [HlmToggleGroupItem, HlmToggleGroup],
|
|
11
11
|
})
|
|
12
12
|
export class HlmToggleGroupModule {}
|
package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/hlm-toggle-group.token.ts.template
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ExistingProvider, InjectionToken, Type, inject } from '@angular/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { HlmToggleGroup } from './hlm-toggle-group';
|
|
3
3
|
|
|
4
|
-
const HlmToggleGroupToken = new InjectionToken<
|
|
4
|
+
const HlmToggleGroupToken = new InjectionToken<HlmToggleGroup>('HlmToggleGroupToken');
|
|
5
5
|
|
|
6
|
-
export function provideHlmToggleGroup(config: Type<
|
|
6
|
+
export function provideHlmToggleGroup(config: Type<HlmToggleGroup>): ExistingProvider {
|
|
7
7
|
return { provide: HlmToggleGroupToken, useExisting: config };
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export function injectHlmToggleGroup():
|
|
11
|
-
return inject(HlmToggleGroupToken, { optional: true }) as
|
|
10
|
+
export function injectHlmToggleGroup(): HlmToggleGroup {
|
|
11
|
+
return inject(HlmToggleGroupToken, { optional: true }) as HlmToggleGroup;
|
|
12
12
|
}
|
|
@@ -3,7 +3,7 @@ import { hlm } from '@spartan-ng/brain/core';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
import { provideHlmToggleGroup } from './hlm-toggle-group.token';
|
|
6
|
-
import { toggleGroupItemVariants } from './hlm-toggle-item
|
|
6
|
+
import { toggleGroupItemVariants } from './hlm-toggle-item';
|
|
7
7
|
|
|
8
8
|
type ToggleGroupItemVariants = VariantProps<typeof toggleGroupItemVariants>;
|
|
9
9
|
|
|
@@ -13,9 +13,9 @@ type ToggleGroupItemVariants = VariantProps<typeof toggleGroupItemVariants>;
|
|
|
13
13
|
'[class]': '_computedClass()',
|
|
14
14
|
'[attr.data-variant]': 'variant()',
|
|
15
15
|
},
|
|
16
|
-
providers: [provideHlmToggleGroup(
|
|
16
|
+
providers: [provideHlmToggleGroup(HlmToggleGroup)],
|
|
17
17
|
})
|
|
18
|
-
export class
|
|
18
|
+
export class HlmToggleGroup {
|
|
19
19
|
public readonly variant = input<ToggleGroupItemVariants['variant']>('outline');
|
|
20
20
|
public readonly size = input<ToggleGroupItemVariants['size']>('sm');
|
|
21
21
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
@@ -34,7 +34,7 @@ type ToggleGroupItemVariants = VariantProps<typeof toggleGroupItemVariants>;
|
|
|
34
34
|
'[attr.data-variant]': 'variant()',
|
|
35
35
|
},
|
|
36
36
|
})
|
|
37
|
-
export class
|
|
37
|
+
export class HlmToggleGroupItem {
|
|
38
38
|
private readonly _parentGroup = injectHlmToggleGroup();
|
|
39
39
|
public readonly variant = input<ToggleGroupItemVariants['variant']>('outline');
|
|
40
40
|
public readonly size = input<ToggleGroupItemVariants['size']>('sm');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { HlmToggle } from './lib/hlm-toggle';
|
|
3
3
|
|
|
4
|
-
export * from './lib/hlm-toggle
|
|
4
|
+
export * from './lib/hlm-toggle';
|
|
5
5
|
@NgModule({
|
|
6
|
-
imports: [
|
|
7
|
-
exports: [
|
|
6
|
+
imports: [HlmToggle],
|
|
7
|
+
exports: [HlmToggle],
|
|
8
8
|
})
|
|
9
9
|
export class HlmToggleModule {}
|
|
@@ -31,7 +31,7 @@ export type ToggleVariants = VariantProps<typeof toggleVariants>;
|
|
|
31
31
|
'[class]': '_computedClass()',
|
|
32
32
|
},
|
|
33
33
|
})
|
|
34
|
-
export class
|
|
34
|
+
export class HlmToggle {
|
|
35
35
|
public readonly variant = input<ToggleVariants['variant']>('default');
|
|
36
36
|
public readonly size = input<ToggleVariants['size']>('default');
|
|
37
37
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { HlmTooltip } from './lib/hlm-tooltip';
|
|
3
|
+
import { HlmTooltipTrigger } from './lib/hlm-tooltip-trigger';
|
|
4
4
|
|
|
5
|
-
export * from './lib/hlm-tooltip
|
|
6
|
-
export * from './lib/hlm-tooltip
|
|
5
|
+
export * from './lib/hlm-tooltip';
|
|
6
|
+
export * from './lib/hlm-tooltip-trigger';
|
|
7
7
|
|
|
8
|
-
export const HlmTooltipImports = [
|
|
8
|
+
export const HlmTooltipImports = [HlmTooltip, HlmTooltipTrigger] as const;
|
|
9
9
|
|
|
10
10
|
@NgModule({
|
|
11
11
|
imports: [...HlmTooltipImports],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Directive } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { BrnTooltipTrigger, provideBrnTooltipDefaultOptions } from '@spartan-ng/brain/tooltip';
|
|
3
3
|
|
|
4
4
|
const DEFAULT_TOOLTIP_CONTENT_CLASSES =
|
|
5
5
|
'bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 z-50 w-fit rounded-md px-3 py-1.5 text-xs text-balance';
|
|
@@ -20,7 +20,7 @@ const DEFAULT_TOOLTIP_CONTENT_CLASSES =
|
|
|
20
20
|
],
|
|
21
21
|
hostDirectives: [
|
|
22
22
|
{
|
|
23
|
-
directive:
|
|
23
|
+
directive: BrnTooltipTrigger,
|
|
24
24
|
inputs: [
|
|
25
25
|
'brnTooltipDisabled: hlmTooltipDisabled',
|
|
26
26
|
'brnTooltipTrigger: hlmTooltipTrigger',
|
|
@@ -35,4 +35,4 @@ const DEFAULT_TOOLTIP_CONTENT_CLASSES =
|
|
|
35
35
|
},
|
|
36
36
|
],
|
|
37
37
|
})
|
|
38
|
-
export class
|
|
38
|
+
export class HlmTooltipTrigger {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { BrnTooltip } from '@spartan-ng/brain/tooltip';
|
|
3
3
|
|
|
4
4
|
@Component({
|
|
5
5
|
selector: 'hlm-tooltip',
|
|
@@ -8,9 +8,9 @@ import { BrnTooltipDirective } from '@spartan-ng/brain/tooltip';
|
|
|
8
8
|
host: {
|
|
9
9
|
'[style]': '{display: "contents"}',
|
|
10
10
|
},
|
|
11
|
-
hostDirectives: [
|
|
11
|
+
hostDirectives: [BrnTooltip],
|
|
12
12
|
template: `
|
|
13
13
|
<ng-content />
|
|
14
14
|
`,
|
|
15
15
|
})
|
|
16
|
-
export class
|
|
16
|
+
export class HlmTooltip {}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from './lib/hlm-blockquote
|
|
2
|
-
export * from './lib/hlm-code
|
|
3
|
-
export * from './lib/hlm-h1
|
|
4
|
-
export * from './lib/hlm-h2
|
|
5
|
-
export * from './lib/hlm-h3
|
|
6
|
-
export * from './lib/hlm-h4
|
|
7
|
-
export * from './lib/hlm-large
|
|
8
|
-
export * from './lib/hlm-lead
|
|
9
|
-
export * from './lib/hlm-muted
|
|
10
|
-
export * from './lib/hlm-p
|
|
11
|
-
export * from './lib/hlm-small
|
|
12
|
-
export * from './lib/hlm-ul
|
|
1
|
+
export * from './lib/hlm-blockquote';
|
|
2
|
+
export * from './lib/hlm-code';
|
|
3
|
+
export * from './lib/hlm-h1';
|
|
4
|
+
export * from './lib/hlm-h2';
|
|
5
|
+
export * from './lib/hlm-h3';
|
|
6
|
+
export * from './lib/hlm-h4';
|
|
7
|
+
export * from './lib/hlm-large';
|
|
8
|
+
export * from './lib/hlm-lead';
|
|
9
|
+
export * from './lib/hlm-muted';
|
|
10
|
+
export * from './lib/hlm-p';
|
|
11
|
+
export * from './lib/hlm-small';
|
|
12
|
+
export * from './lib/hlm-ul';
|
|
@@ -10,7 +10,7 @@ export const hlmBlockquote = 'mt-6 border-border border-l-2 pl-6 italic';
|
|
|
10
10
|
'[class]': '_computedClass()',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
|
-
export class
|
|
13
|
+
export class HlmBlockquote {
|
|
14
14
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
15
15
|
protected _computedClass = computed(() => hlm(hlmBlockquote, this.userClass()));
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ export const hlmCode = 'relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-m
|
|
|
10
10
|
'[class]': '_computedClass()',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
|
-
export class
|
|
13
|
+
export class HlmCode {
|
|
14
14
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
15
15
|
protected _computedClass = computed(() => hlm(hlmCode, this.userClass()));
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ export const hlmH1 = 'scroll-m-20 text-4xl font-extrabold tracking-tight lg:text
|
|
|
10
10
|
'[class]': '_computedClass()',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
|
-
export class
|
|
13
|
+
export class HlmH1 {
|
|
14
14
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
15
15
|
protected _computedClass = computed(() => hlm(hlmH1, this.userClass()));
|
|
16
16
|
}
|
|
@@ -11,7 +11,7 @@ export const hlmH2 =
|
|
|
11
11
|
'[class]': '_computedClass()',
|
|
12
12
|
},
|
|
13
13
|
})
|
|
14
|
-
export class
|
|
14
|
+
export class HlmH2 {
|
|
15
15
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
16
16
|
protected _computedClass = computed(() => hlm(hlmH2, this.userClass()));
|
|
17
17
|
}
|
|
@@ -10,7 +10,7 @@ export const hlmH3 = 'scroll-m-20 text-2xl font-semibold tracking-tight';
|
|
|
10
10
|
'[class]': '_computedClass()',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
|
-
export class
|
|
13
|
+
export class HlmH3 {
|
|
14
14
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
15
15
|
protected _computedClass = computed(() => hlm(hlmH3, this.userClass()));
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ export const hlmH4 = 'scroll-m-20 text-xl font-semibold tracking-tight';
|
|
|
10
10
|
'[class]': '_computedClass()',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
|
-
export class
|
|
13
|
+
export class HlmH4 {
|
|
14
14
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
15
15
|
protected readonly _computedClass = computed(() => hlm(hlmH4, this.userClass()));
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ export const hlmLarge = 'text-lg font-semibold';
|
|
|
10
10
|
'[class]': '_computedClass()',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
|
-
export class
|
|
13
|
+
export class HlmLarge {
|
|
14
14
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
15
15
|
protected _computedClass = computed(() => hlm(hlmLarge, this.userClass()));
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ export const hlmLead = 'text-xl text-muted-foreground';
|
|
|
10
10
|
'[class]': '_computedClass()',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
|
-
export class
|
|
13
|
+
export class HlmLead {
|
|
14
14
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
15
15
|
protected _computedClass = computed(() => hlm(hlmLead, this.userClass()));
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ export const hlmMuted = 'text-sm text-muted-foreground';
|
|
|
10
10
|
'[class]': '_computedClass()',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
|
-
export class
|
|
13
|
+
export class HlmMuted {
|
|
14
14
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
15
15
|
protected _computedClass = computed(() => hlm(hlmMuted, this.userClass()));
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ export const hlmP = 'leading-7 [&:not(:first-child)]:mt-6';
|
|
|
10
10
|
'[class]': '_computedClass()',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
|
-
export class
|
|
13
|
+
export class HlmP {
|
|
14
14
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
15
15
|
protected _computedClass = computed(() => hlm(hlmP, this.userClass()));
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ export const hlmSmall = 'text-sm font-medium leading-none';
|
|
|
10
10
|
'[class]': '_computedClass()',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
|
-
export class
|
|
13
|
+
export class HlmSmall {
|
|
14
14
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
15
15
|
protected _computedClass = computed(() => hlm(hlmSmall, this.userClass()));
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ export const hlmUl = 'my-6 ml-6 list-disc [&>li]:mt-2';
|
|
|
10
10
|
'[class]': '_computedClass()',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
|
-
export class
|
|
13
|
+
export class HlmUl {
|
|
14
14
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
15
15
|
protected _computedClass = computed(() => hlm(hlmUl, this.userClass()));
|
|
16
16
|
}
|