@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
|
@@ -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 { BrnMenu } from '@spartan-ng/brain/menu';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Component({
|
|
@@ -8,13 +8,13 @@ import type { ClassValue } from 'clsx';
|
|
|
8
8
|
host: {
|
|
9
9
|
'[class]': '_computedClass()',
|
|
10
10
|
},
|
|
11
|
-
hostDirectives: [
|
|
11
|
+
hostDirectives: [BrnMenu],
|
|
12
12
|
template: `
|
|
13
13
|
<ng-content />
|
|
14
14
|
`,
|
|
15
15
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16
16
|
})
|
|
17
|
-
export class
|
|
17
|
+
export class HlmSubMenu {
|
|
18
18
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
19
19
|
protected readonly _computedClass = computed(() =>
|
|
20
20
|
hlm(
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
3
|
+
import { HlmNumberedPagination } from './lib/hlm-numbered-pagination';
|
|
4
|
+
import { HlmNumberedPaginationQueryParams } from './lib/hlm-numbered-pagination-query-params';
|
|
5
|
+
import { HlmPagination } from './lib/hlm-pagination';
|
|
6
|
+
import { HlmPaginationContent } from './lib/hlm-pagination-content';
|
|
7
|
+
import { HlmPaginationEllipsis } from './lib/hlm-pagination-ellipsis';
|
|
8
|
+
import { HlmPaginationItem } from './lib/hlm-pagination-item';
|
|
9
|
+
import { HlmPaginationLink } from './lib/hlm-pagination-link';
|
|
10
|
+
import { HlmPaginationNext } from './lib/hlm-pagination-next';
|
|
11
|
+
import { HlmPaginationPrevious } from './lib/hlm-pagination-previous';
|
|
12
12
|
|
|
13
|
-
export * from './lib/hlm-numbered-pagination
|
|
14
|
-
export * from './lib/hlm-numbered-pagination
|
|
15
|
-
export * from './lib/hlm-pagination
|
|
16
|
-
export * from './lib/hlm-pagination-
|
|
17
|
-
export * from './lib/hlm-pagination-
|
|
18
|
-
export * from './lib/hlm-pagination-
|
|
19
|
-
export * from './lib/hlm-pagination-
|
|
20
|
-
export * from './lib/hlm-pagination-
|
|
21
|
-
export * from './lib/hlm-pagination
|
|
13
|
+
export * from './lib/hlm-numbered-pagination';
|
|
14
|
+
export * from './lib/hlm-numbered-pagination-query-params';
|
|
15
|
+
export * from './lib/hlm-pagination';
|
|
16
|
+
export * from './lib/hlm-pagination-content';
|
|
17
|
+
export * from './lib/hlm-pagination-ellipsis';
|
|
18
|
+
export * from './lib/hlm-pagination-item';
|
|
19
|
+
export * from './lib/hlm-pagination-link';
|
|
20
|
+
export * from './lib/hlm-pagination-next';
|
|
21
|
+
export * from './lib/hlm-pagination-previous';
|
|
22
22
|
|
|
23
23
|
export const HlmPaginationImports = [
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
24
|
+
HlmPagination,
|
|
25
|
+
HlmPaginationContent,
|
|
26
|
+
HlmPaginationItem,
|
|
27
|
+
HlmPaginationLink,
|
|
28
|
+
HlmPaginationPrevious,
|
|
29
|
+
HlmPaginationNext,
|
|
30
|
+
HlmPaginationEllipsis,
|
|
31
|
+
HlmNumberedPagination,
|
|
32
|
+
HlmNumberedPaginationQueryParams,
|
|
33
33
|
] as const;
|
|
34
34
|
|
|
35
35
|
@NgModule({
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
import { FormsModule } from '@angular/forms';
|
|
13
13
|
import { BrnSelectImports } from '@spartan-ng/brain/select';
|
|
14
14
|
import { HlmSelectImports } from '@spartan-ng/helm/select';
|
|
15
|
-
import { createPageArray, outOfBoundCorrection } from './hlm-numbered-pagination
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
15
|
+
import { createPageArray, outOfBoundCorrection } from './hlm-numbered-pagination';
|
|
16
|
+
import { HlmPagination } from './hlm-pagination';
|
|
17
|
+
import { HlmPaginationContent } from './hlm-pagination-content';
|
|
18
|
+
import { HlmPaginationEllipsis } from './hlm-pagination-ellipsis';
|
|
19
|
+
import { HlmPaginationItem } from './hlm-pagination-item';
|
|
20
|
+
import { HlmPaginationLink } from './hlm-pagination-link';
|
|
21
|
+
import { HlmPaginationNext } from './hlm-pagination-next';
|
|
22
|
+
import { HlmPaginationPrevious } from './hlm-pagination-previous';
|
|
23
23
|
|
|
24
24
|
@Component({
|
|
25
25
|
selector: 'hlm-numbered-pagination-query-params',
|
|
@@ -89,19 +89,19 @@ import { HlmPaginationDirective } from './hlm-pagination.directive';
|
|
|
89
89
|
`,
|
|
90
90
|
imports: [
|
|
91
91
|
FormsModule,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
92
|
+
HlmPagination,
|
|
93
|
+
HlmPaginationContent,
|
|
94
|
+
HlmPaginationItem,
|
|
95
|
+
HlmPaginationPrevious,
|
|
96
|
+
HlmPaginationNext,
|
|
97
|
+
HlmPaginationLink,
|
|
98
|
+
HlmPaginationEllipsis,
|
|
99
99
|
BrnSelectImports,
|
|
100
100
|
HlmSelectImports,
|
|
101
101
|
],
|
|
102
102
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
103
103
|
})
|
|
104
|
-
export class
|
|
104
|
+
export class HlmNumberedPaginationQueryParams {
|
|
105
105
|
/**
|
|
106
106
|
* The current (active) page.
|
|
107
107
|
*/
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
import { FormsModule } from '@angular/forms';
|
|
13
13
|
import { BrnSelectImports } from '@spartan-ng/brain/select';
|
|
14
14
|
import { HlmSelectImports } from '@spartan-ng/helm/select';
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
15
|
+
import { HlmPagination } from './hlm-pagination';
|
|
16
|
+
import { HlmPaginationContent } from './hlm-pagination-content';
|
|
17
|
+
import { HlmPaginationEllipsis } from './hlm-pagination-ellipsis';
|
|
18
|
+
import { HlmPaginationItem } from './hlm-pagination-item';
|
|
19
|
+
import { HlmPaginationLink } from './hlm-pagination-link';
|
|
20
|
+
import { HlmPaginationNext } from './hlm-pagination-next';
|
|
21
|
+
import { HlmPaginationPrevious } from './hlm-pagination-previous';
|
|
22
22
|
|
|
23
23
|
@Component({
|
|
24
24
|
selector: 'hlm-numbered-pagination',
|
|
@@ -74,19 +74,19 @@ import { HlmPaginationDirective } from './hlm-pagination.directive';
|
|
|
74
74
|
`,
|
|
75
75
|
imports: [
|
|
76
76
|
FormsModule,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
77
|
+
HlmPagination,
|
|
78
|
+
HlmPaginationContent,
|
|
79
|
+
HlmPaginationItem,
|
|
80
|
+
HlmPaginationPrevious,
|
|
81
|
+
HlmPaginationNext,
|
|
82
|
+
HlmPaginationLink,
|
|
83
|
+
HlmPaginationEllipsis,
|
|
84
84
|
BrnSelectImports,
|
|
85
85
|
HlmSelectImports,
|
|
86
86
|
],
|
|
87
87
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
88
88
|
})
|
|
89
|
-
export class
|
|
89
|
+
export class HlmNumberedPagination {
|
|
90
90
|
/**
|
|
91
91
|
* The current (active) page.
|
|
92
92
|
*/
|
|
@@ -15,7 +15,7 @@ export type PaginationContentVariants = VariantProps<typeof paginationContentVar
|
|
|
15
15
|
'[class]': '_computedClass()',
|
|
16
16
|
},
|
|
17
17
|
})
|
|
18
|
-
export class
|
|
18
|
+
export class HlmPaginationContent {
|
|
19
19
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
20
20
|
protected readonly _computedClass = computed(() => hlm(paginationContentVariants(), this.userClass()));
|
|
21
21
|
}
|
|
@@ -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 {
|
|
5
|
+
import { HlmIcon } from '@spartan-ng/helm/icon';
|
|
6
6
|
import type { ClassValue } from 'clsx';
|
|
7
7
|
|
|
8
8
|
@Component({
|
|
9
9
|
selector: 'hlm-pagination-ellipsis',
|
|
10
|
-
imports: [NgIcon,
|
|
10
|
+
imports: [NgIcon, HlmIcon],
|
|
11
11
|
providers: [provideIcons({ lucideEllipsis })],
|
|
12
12
|
template: `
|
|
13
13
|
<span [class]="_computedClass()">
|
|
@@ -17,7 +17,7 @@ import type { ClassValue } from 'clsx';
|
|
|
17
17
|
`,
|
|
18
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
19
|
})
|
|
20
|
-
export class
|
|
20
|
+
export class HlmPaginationEllipsis {
|
|
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 pages');
|
|
@@ -16,7 +16,7 @@ export type PaginationItemVariants = VariantProps<typeof paginationItemVariants>
|
|
|
16
16
|
'[class]': '_computedClass()',
|
|
17
17
|
},
|
|
18
18
|
})
|
|
19
|
-
export class
|
|
19
|
+
export class HlmPaginationItem {
|
|
20
20
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
21
21
|
protected readonly _computedClass = computed(() => hlm(paginationItemVariants(), this.userClass()));
|
|
22
22
|
}
|
|
@@ -37,7 +37,7 @@ export type PaginationLinkVariants = VariantProps<typeof paginationLinkVariants>
|
|
|
37
37
|
'[attr.aria-current]': 'isActive() ? "page" : null',
|
|
38
38
|
},
|
|
39
39
|
})
|
|
40
|
-
export class
|
|
40
|
+
export class HlmPaginationLink {
|
|
41
41
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
42
42
|
/** Whether the link is active (i.e., the current page). */
|
|
43
43
|
public readonly isActive = input<boolean, BooleanInput>(false, { transform: booleanAttribute });
|
|
@@ -4,14 +4,14 @@ import { RouterLink } from '@angular/router';
|
|
|
4
4
|
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
5
5
|
import { lucideChevronRight } from '@ng-icons/lucide';
|
|
6
6
|
import { hlm } from '@spartan-ng/brain/core';
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
7
|
+
import { ButtonVariants } from '@spartan-ng/helm/button';
|
|
8
|
+
import { HlmIcon } from '@spartan-ng/helm/icon';
|
|
9
|
+
import { ClassValue } from 'clsx';
|
|
10
|
+
import { HlmPaginationLink } from './hlm-pagination-link';
|
|
11
11
|
|
|
12
12
|
@Component({
|
|
13
13
|
selector: 'hlm-pagination-next',
|
|
14
|
-
imports: [
|
|
14
|
+
imports: [HlmPaginationLink, NgIcon, HlmIcon],
|
|
15
15
|
providers: [provideIcons({ lucideChevronRight })],
|
|
16
16
|
template: `
|
|
17
17
|
<a
|
|
@@ -29,7 +29,7 @@ import { HlmPaginationLinkDirective } from './hlm-pagination-link.directive';
|
|
|
29
29
|
`,
|
|
30
30
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
31
31
|
})
|
|
32
|
-
export class
|
|
32
|
+
export class HlmPaginationNext {
|
|
33
33
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
34
34
|
/** The link to navigate to the next page. */
|
|
35
35
|
public readonly link = input<RouterLink['routerLink']>();
|
|
@@ -4,14 +4,14 @@ import { RouterLink } from '@angular/router';
|
|
|
4
4
|
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
5
5
|
import { lucideChevronLeft } from '@ng-icons/lucide';
|
|
6
6
|
import { hlm } from '@spartan-ng/brain/core';
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
7
|
+
import { ButtonVariants } from '@spartan-ng/helm/button';
|
|
8
|
+
import { HlmIcon } from '@spartan-ng/helm/icon';
|
|
9
|
+
import { ClassValue } from 'clsx';
|
|
10
|
+
import { HlmPaginationLink } from './hlm-pagination-link';
|
|
11
11
|
|
|
12
12
|
@Component({
|
|
13
13
|
selector: 'hlm-pagination-previous',
|
|
14
|
-
imports: [
|
|
14
|
+
imports: [HlmPaginationLink, NgIcon, HlmIcon],
|
|
15
15
|
providers: [provideIcons({ lucideChevronLeft })],
|
|
16
16
|
template: `
|
|
17
17
|
<a
|
|
@@ -29,7 +29,7 @@ import { HlmPaginationLinkDirective } from './hlm-pagination-link.directive';
|
|
|
29
29
|
`,
|
|
30
30
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
31
31
|
})
|
|
32
|
-
export class
|
|
32
|
+
export class HlmPaginationPrevious {
|
|
33
33
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
34
34
|
/** The link to navigate to the previous page. */
|
|
35
35
|
public readonly link = input<RouterLink['routerLink']>();
|
|
@@ -17,7 +17,7 @@ export type PaginationVariants = VariantProps<typeof paginationVariants>;
|
|
|
17
17
|
'[attr.aria-label]': 'ariaLabel()',
|
|
18
18
|
},
|
|
19
19
|
})
|
|
20
|
-
export class
|
|
20
|
+
export class HlmPagination {
|
|
21
21
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
22
22
|
|
|
23
23
|
/** The aria-label for the pagination component. */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { HlmPopoverClose } from './lib/hlm-popover-close';
|
|
4
|
+
import { HlmPopoverContent } from './lib/hlm-popover-content';
|
|
5
5
|
|
|
6
|
-
export * from './lib/hlm-popover-close
|
|
7
|
-
export * from './lib/hlm-popover-content
|
|
6
|
+
export * from './lib/hlm-popover-close';
|
|
7
|
+
export * from './lib/hlm-popover-content';
|
|
8
8
|
|
|
9
|
-
export const HlmPopoverImports = [
|
|
9
|
+
export const HlmPopoverImports = [HlmPopoverContent, HlmPopoverClose] as const;
|
|
10
10
|
|
|
11
11
|
@NgModule({
|
|
12
12
|
imports: [...HlmPopoverImports],
|
|
@@ -8,7 +8,7 @@ import type { ClassValue } from 'clsx';
|
|
|
8
8
|
'[class]': '_computedClass()',
|
|
9
9
|
},
|
|
10
10
|
})
|
|
11
|
-
export class
|
|
11
|
+
export class HlmPopoverClose {
|
|
12
12
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
13
13
|
protected readonly _computedClass = computed(() =>
|
|
14
14
|
hlm(
|
|
@@ -8,7 +8,7 @@ import type { ClassValue } from 'clsx';
|
|
|
8
8
|
'[class]': '_computedClass()',
|
|
9
9
|
},
|
|
10
10
|
})
|
|
11
|
-
export class
|
|
11
|
+
export class HlmPopoverContent {
|
|
12
12
|
private readonly _stateProvider = injectExposesStateProvider({ host: true });
|
|
13
13
|
public state = this._stateProvider.state ?? signal('closed');
|
|
14
14
|
private readonly _renderer = inject(Renderer2);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { HlmProgress } from './lib/hlm-progress';
|
|
4
|
+
import { HlmProgressIndicator } from './lib/hlm-progress-indicator';
|
|
5
5
|
|
|
6
|
-
export * from './lib/hlm-progress
|
|
7
|
-
export * from './lib/hlm-progress
|
|
6
|
+
export * from './lib/hlm-progress';
|
|
7
|
+
export * from './lib/hlm-progress-indicator';
|
|
8
8
|
|
|
9
|
-
export const HlmProgressImports = [
|
|
9
|
+
export const HlmProgressImports = [HlmProgress, HlmProgressIndicator] as const;
|
|
10
10
|
|
|
11
11
|
@NgModule({
|
|
12
12
|
imports: [...HlmProgressImports],
|
|
@@ -11,7 +11,7 @@ import type { ClassValue } from 'clsx';
|
|
|
11
11
|
'[style.transform]': '_transform()',
|
|
12
12
|
},
|
|
13
13
|
})
|
|
14
|
-
export class
|
|
14
|
+
export class HlmProgressIndicator {
|
|
15
15
|
private readonly _progress = injectBrnProgress();
|
|
16
16
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
17
17
|
|
|
@@ -8,7 +8,7 @@ import type { ClassValue } from 'clsx';
|
|
|
8
8
|
'[class]': '_computedClass()',
|
|
9
9
|
},
|
|
10
10
|
})
|
|
11
|
-
export class
|
|
11
|
+
export class HlmProgress {
|
|
12
12
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
13
13
|
protected readonly _computedClass = computed(() =>
|
|
14
14
|
hlm('inline-flex bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', this.userClass()),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { HlmRadio } from './lib/hlm-radio';
|
|
4
|
+
import { HlmRadioGroup } from './lib/hlm-radio-group';
|
|
5
|
+
import { HlmRadioIndicator } from './lib/hlm-radio-indicator';
|
|
6
6
|
|
|
7
|
-
export * from './lib/hlm-radio
|
|
8
|
-
export * from './lib/hlm-radio-
|
|
9
|
-
export * from './lib/hlm-radio
|
|
7
|
+
export * from './lib/hlm-radio';
|
|
8
|
+
export * from './lib/hlm-radio-group';
|
|
9
|
+
export * from './lib/hlm-radio-indicator';
|
|
10
10
|
|
|
11
|
-
export const HlmRadioGroupImports = [
|
|
11
|
+
export const HlmRadioGroupImports = [HlmRadioGroup, HlmRadio, HlmRadioIndicator];
|
|
12
12
|
|
|
13
13
|
@NgModule({
|
|
14
14
|
imports: [...HlmRadioGroupImports],
|
|
@@ -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 { BrnRadioGroup } from '@spartan-ng/brain/radio-group';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Component({
|
|
7
7
|
selector: 'hlm-radio-group',
|
|
8
8
|
hostDirectives: [
|
|
9
9
|
{
|
|
10
|
-
directive:
|
|
10
|
+
directive: BrnRadioGroup,
|
|
11
11
|
inputs: ['name', 'value', 'disabled', 'required', 'direction'],
|
|
12
12
|
outputs: ['valueChange'],
|
|
13
13
|
},
|
|
@@ -18,7 +18,7 @@ import type { ClassValue } from 'clsx';
|
|
|
18
18
|
template: '<ng-content />',
|
|
19
19
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20
20
|
})
|
|
21
|
-
export class
|
|
21
|
+
export class HlmRadioGroup {
|
|
22
22
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
23
23
|
protected readonly _computedClass = computed(() => hlm('grid gap-3', this.userClass()));
|
|
24
24
|
}
|
|
@@ -12,7 +12,7 @@ import type { ClassValue } from 'clsx';
|
|
|
12
12
|
`,
|
|
13
13
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
14
14
|
})
|
|
15
|
-
export class
|
|
15
|
+
export class HlmRadioIndicator {
|
|
16
16
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
17
17
|
protected readonly _computedClass = computed(() =>
|
|
18
18
|
hlm(
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
signal,
|
|
15
15
|
} from '@angular/core';
|
|
16
16
|
import { hlm } from '@spartan-ng/brain/core';
|
|
17
|
-
import {
|
|
17
|
+
import { BrnRadio, BrnRadioChange } from '@spartan-ng/brain/radio-group';
|
|
18
18
|
import { ClassValue } from 'clsx';
|
|
19
19
|
|
|
20
20
|
@Component({
|
|
21
21
|
selector: 'hlm-radio',
|
|
22
|
-
imports: [
|
|
22
|
+
imports: [BrnRadio],
|
|
23
23
|
template: `
|
|
24
24
|
<brn-radio
|
|
25
25
|
[id]="id()"
|
|
@@ -45,7 +45,7 @@ import { ClassValue } from 'clsx';
|
|
|
45
45
|
'[attr.data-disabled]': '_state().disabled() ? "" : null',
|
|
46
46
|
},
|
|
47
47
|
})
|
|
48
|
-
export class
|
|
48
|
+
export class HlmRadio<T = unknown> {
|
|
49
49
|
private readonly _document = inject(DOCUMENT);
|
|
50
50
|
private readonly _renderer = inject(Renderer2);
|
|
51
51
|
private readonly _elementRef = inject(ElementRef);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { HlmScrollArea } from './lib/hlm-scroll-area';
|
|
3
3
|
|
|
4
|
-
export * from './lib/hlm-scroll-area
|
|
4
|
+
export * from './lib/hlm-scroll-area';
|
|
5
5
|
|
|
6
6
|
@NgModule({
|
|
7
|
-
imports: [
|
|
8
|
-
exports: [
|
|
7
|
+
imports: [HlmScrollArea],
|
|
8
|
+
exports: [HlmScrollArea],
|
|
9
9
|
})
|
|
10
10
|
export class HlmScrollAreaModule {}
|
|
@@ -13,7 +13,7 @@ import type { ClassValue } from 'clsx';
|
|
|
13
13
|
'[style.--scrollbar-thickness]': '7',
|
|
14
14
|
},
|
|
15
15
|
})
|
|
16
|
-
export class
|
|
16
|
+
export class HlmScrollArea {
|
|
17
17
|
protected readonly _computedClass = computed(() => hlm('block', this.userClass()));
|
|
18
18
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
19
19
|
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
2
|
+
import { HlmSelect } from './lib/hlm-select';
|
|
3
|
+
import { HlmSelectContent } from './lib/hlm-select-content';
|
|
4
|
+
import { HlmSelectGroup } from './lib/hlm-select-group';
|
|
5
|
+
import { HlmSelectLabel } from './lib/hlm-select-label';
|
|
6
|
+
import { HlmSelectOption } from './lib/hlm-select-option';
|
|
7
|
+
import { HlmSelectScrollDown } from './lib/hlm-select-scroll-down';
|
|
8
|
+
import { HlmSelectScrollUp } from './lib/hlm-select-scroll-up';
|
|
9
|
+
import { HlmSelectTrigger } from './lib/hlm-select-trigger';
|
|
10
|
+
import { HlmSelectValue } from './lib/hlm-select-value';
|
|
11
11
|
|
|
12
|
-
export * from './lib/hlm-select
|
|
13
|
-
export * from './lib/hlm-select-
|
|
14
|
-
export * from './lib/hlm-select-
|
|
15
|
-
export * from './lib/hlm-select-
|
|
16
|
-
export * from './lib/hlm-select-
|
|
17
|
-
export * from './lib/hlm-select-scroll-
|
|
18
|
-
export * from './lib/hlm-select-
|
|
19
|
-
export * from './lib/hlm-select-
|
|
20
|
-
export * from './lib/hlm-select
|
|
12
|
+
export * from './lib/hlm-select';
|
|
13
|
+
export * from './lib/hlm-select-content';
|
|
14
|
+
export * from './lib/hlm-select-group';
|
|
15
|
+
export * from './lib/hlm-select-label';
|
|
16
|
+
export * from './lib/hlm-select-option';
|
|
17
|
+
export * from './lib/hlm-select-scroll-down';
|
|
18
|
+
export * from './lib/hlm-select-scroll-up';
|
|
19
|
+
export * from './lib/hlm-select-trigger';
|
|
20
|
+
export * from './lib/hlm-select-value';
|
|
21
21
|
|
|
22
22
|
export const HlmSelectImports = [
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
HlmSelectContent,
|
|
24
|
+
HlmSelectTrigger,
|
|
25
|
+
HlmSelectOption,
|
|
26
|
+
HlmSelectValue,
|
|
27
|
+
HlmSelect,
|
|
28
|
+
HlmSelectScrollUp,
|
|
29
|
+
HlmSelectScrollDown,
|
|
30
|
+
HlmSelectLabel,
|
|
31
|
+
HlmSelectGroup,
|
|
32
32
|
] as const;
|
|
33
33
|
|
|
34
34
|
@NgModule({
|
|
@@ -11,7 +11,7 @@ import type { ClassValue } from 'clsx';
|
|
|
11
11
|
'[attr.data-side]': '_sideProvider?.side() ?? "bottom"',
|
|
12
12
|
},
|
|
13
13
|
})
|
|
14
|
-
export class
|
|
14
|
+
export class HlmSelectContent {
|
|
15
15
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
16
16
|
public readonly stickyLabels = input<boolean, BooleanInput>(false, {
|
|
17
17
|
transform: booleanAttribute,
|
|
@@ -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 { BrnSelectGroup } from '@spartan-ng/brain/select';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
|
7
7
|
selector: '[hlmSelectGroup], hlm-select-group',
|
|
8
|
-
hostDirectives: [
|
|
8
|
+
hostDirectives: [BrnSelectGroup],
|
|
9
9
|
host: {
|
|
10
10
|
'[class]': '_computedClass()',
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
|
-
export class
|
|
13
|
+
export class HlmSelectGroup {
|
|
14
14
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
15
15
|
protected readonly _computedClass = computed(() => hlm(this.userClass()));
|
|
16
16
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Directive, computed, inject, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/brain/core';
|
|
3
|
-
import {
|
|
3
|
+
import { BrnSelectLabel } from '@spartan-ng/brain/select';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
|
-
import {
|
|
5
|
+
import { HlmSelectContent } from './hlm-select-content';
|
|
6
6
|
|
|
7
7
|
@Directive({
|
|
8
8
|
selector: '[hlmSelectLabel], hlm-select-label',
|
|
9
|
-
hostDirectives: [
|
|
9
|
+
hostDirectives: [BrnSelectLabel],
|
|
10
10
|
host: {
|
|
11
11
|
'[class]': '_computedClass()',
|
|
12
12
|
},
|
|
13
13
|
})
|
|
14
|
-
export class
|
|
15
|
-
private readonly _selectContent = inject(
|
|
14
|
+
export class HlmSelectLabel {
|
|
15
|
+
private readonly _selectContent = inject(HlmSelectContent);
|
|
16
16
|
private readonly _stickyLabels = computed(() => this._selectContent.stickyLabels());
|
|
17
17
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
18
18
|
protected readonly _computedClass = computed(() =>
|