@spartan-ng/cli 0.0.1-alpha.379 → 0.0.1-alpha.382
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 +30 -0
- package/package.json +4 -2
- package/src/generators/base/lib/build-dependency-array.js +1 -35
- package/src/generators/base/lib/build-dependency-array.js.map +1 -1
- package/src/generators/base/schema.d.ts +0 -1
- package/src/generators/base/versions.d.ts +1 -21
- package/src/generators/base/versions.js +2 -22
- package/src/generators/base/versions.js.map +1 -1
- package/src/generators/migrate-core/compat.d.ts +2 -0
- package/src/generators/migrate-core/compat.js +6 -0
- package/src/generators/migrate-core/compat.js.map +1 -0
- package/src/generators/migrate-core/generator.d.ts +4 -0
- package/src/generators/migrate-core/generator.js +52 -0
- package/src/generators/migrate-core/generator.js.map +1 -0
- package/src/generators/migrate-core/schema.d.ts +3 -0
- package/src/generators/migrate-core/schema.json +14 -0
- package/src/generators/migrate-icon/compat.d.ts +2 -0
- package/src/generators/migrate-icon/compat.js +6 -0
- package/src/generators/migrate-icon/compat.js.map +1 -0
- package/src/generators/migrate-icon/generator.d.ts +4 -0
- package/src/generators/migrate-icon/generator.js +286 -0
- package/src/generators/migrate-icon/generator.js.map +1 -0
- package/src/generators/migrate-icon/schema.d.ts +3 -0
- package/src/generators/migrate-icon/schema.json +14 -0
- package/src/generators/migrate-scroll-area/compat.d.ts +2 -0
- package/src/generators/migrate-scroll-area/compat.js +6 -0
- package/src/generators/migrate-scroll-area/compat.js.map +1 -0
- package/src/generators/migrate-scroll-area/generator.d.ts +4 -0
- package/src/generators/migrate-scroll-area/generator.js +112 -0
- package/src/generators/migrate-scroll-area/generator.js.map +1 -0
- package/src/generators/migrate-scroll-area/schema.d.ts +3 -0
- package/src/generators/migrate-scroll-area/schema.json +14 -0
- package/src/generators/ui/generator.js +0 -5
- package/src/generators/ui/generator.js.map +1 -1
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-content.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-icon.directive.ts.template +4 -3
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-item.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-trigger.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-cancel-button.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-content.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-description.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-footer.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-header.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-overlay.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-title.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert-description.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert-title.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-aspect-ratio-helm/files/lib/helm-aspect-ratio.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/fallback/hlm-avatar-fallback.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/hlm-avatar.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/hlm-avatar-image.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-badge-helm/files/lib/hlm-badge.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/breadcrumb-ellipsis.component.ts.template +5 -4
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/breadcrumb-item.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/breadcrumb-link.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/breadcrumb-list.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/breadcrumb-page.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/breadcrumb-separator.component.ts.template +5 -4
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/breadcrumb.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-button-helm/files/lib/hlm-button.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-calendar-helm/files/lib/hlm-calendar.component.ts.template +7 -5
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-content.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-description.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-footer.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-header.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-title.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel-content.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel-item.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel-next.component.ts.template +5 -4
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel-previous.component.ts.template +5 -4
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-checkbox-helm/files/lib/hlm-checkbox-checkicon.component.ts.template +5 -4
- package/src/generators/ui/libs/ui-checkbox-helm/files/lib/hlm-checkbox.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-dialog-close-button.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-dialog.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-empty.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-group.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-input-wrapper.component.ts.template +2 -2
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-input.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-item-icon.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-item.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-list.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-shortcut.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-close.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-content.component.ts.template +5 -4
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-description.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-footer.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-header.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-overlay.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-title.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-hover-card-helm/files/lib/hlm-hover-card-content.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-icon-helm/files/index.ts.template +4 -7
- package/src/generators/ui/libs/ui-icon-helm/files/lib/hlm-icon.directive.spec.ts.template +66 -0
- package/src/generators/ui/libs/ui-icon-helm/files/lib/hlm-icon.directive.ts.template +41 -0
- package/src/generators/ui/libs/ui-icon-helm/files/lib/hlm-icon.token.ts.template +1 -4
- package/src/generators/ui/libs/ui-input-helm/files/lib/hlm-input-error.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-input-helm/files/lib/hlm-input.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-label-helm/files/lib/hlm-label.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-bar-item.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-bar.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-check.component.ts.template +5 -4
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-checkbox.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-icon.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-radio.component.ts.template +5 -4
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-radio.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-sub-indicator.component.ts.template +5 -4
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-label.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-separator.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-shortcut.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-sub-menu.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-content.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-ellipsis.component.ts.template +5 -4
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-item.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-link.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-next.component.ts.template +5 -4
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-previous.component.ts.template +5 -4
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-popover-helm/files/lib/hlm-popover-close.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-popover-helm/files/lib/hlm-popover-content.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-progress-helm/files/lib/hlm-progress-indicator.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-progress-helm/files/lib/hlm-progress.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-radio-group-helm/files/index.ts.template +3 -3
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio-group.component.ts.template +23 -0
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio-indicator.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio.directive.ts.template +5 -2
- 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 +20 -0
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-content.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-group.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-label.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-option.component.ts.template +5 -4
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-scroll-down.component.ts.template +4 -3
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-scroll-up.component.ts.template +4 -3
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-trigger.component.ts.template +6 -6
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-value.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-separator-helm/files/lib/hlm-separator.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-close.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-content.component.ts.template +5 -4
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-description.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-footer.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-header.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-overlay.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-title.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-skeleton-helm/files/lib/hlm-skeleton.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-slider-helm/files/lib/hlm-slider-input.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-slider-helm/files/lib/hlm-slider-thumb.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-slider-helm/files/lib/hlm-slider-tick-mark.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-slider-helm/files/lib/hlm-slider-tick-marks.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-slider-helm/files/lib/hlm-slider-track-active-fill.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-slider-helm/files/lib/hlm-slider-track-active.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-slider-helm/files/lib/hlm-slider-track-inactive.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-slider-helm/files/lib/hlm-slider-track.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-slider-helm/files/lib/hlm-slider.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-sonner-helm/files/lib/hlm-toaster.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-spinner-helm/files/lib/hlm-spinner.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-switch-helm/files/lib/hlm-switch-thumb.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-switch-helm/files/lib/hlm-switch.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-caption.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-table.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-table.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-td.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-th.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-trow.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-content.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-list.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-paginated-list.component.ts.template +6 -5
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-trigger.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-toggle-helm/files/lib/hlm-toggle-group.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-toggle-helm/files/lib/hlm-toggle.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-tooltip-helm/files/lib/hlm-tooltip-trigger.directive.ts.template +19 -24
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-blockquote.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-code.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h1.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h2.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h3.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h4.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-large.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-lead.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-muted.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-p.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-small.directive.ts.template +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-ul.directive.ts.template +1 -1
- package/src/generators/ui/schema.d.ts +0 -1
- package/src/generators/ui/supported-ui-libraries.json +69 -82
- package/src/utils/visit-files.d.ts +2 -0
- package/src/utils/visit-files.js +14 -0
- package/src/utils/visit-files.js.map +1 -0
- package/src/generators/ui/libs/ui-icon-helm/files/lib/hlm-icon.component.spec.ts.template +0 -64
- package/src/generators/ui/libs/ui-icon-helm/files/lib/hlm-icon.component.ts.template +0 -118
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio-group.directive.ts.template +0 -15
- package/src/generators/ui/libs/ui-scroll-area-helm/files/lib/hlm-scroll-area.component.ts.template +0 -49
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Component, Input, computed, input, signal } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
2
3
|
import { BrnMenuDirective } from '@spartan-ng/brain/menu';
|
|
3
|
-
import { hlm } from '@spartan-ng/ui-core';
|
|
4
4
|
import { type VariantProps, cva } from 'class-variance-authority';
|
|
5
5
|
import type { ClassValue } from 'clsx';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Component, computed, input } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
2
3
|
import { BrnMenuDirective } from '@spartan-ng/brain/menu';
|
|
3
|
-
import { hlm } from '@spartan-ng/ui-core';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Component({
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { Component, computed, input } from '@angular/core';
|
|
2
|
+
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
2
3
|
import { lucideEllipsis } from '@ng-icons/lucide';
|
|
3
|
-
import { hlm } from '@spartan-ng/
|
|
4
|
-
import {
|
|
4
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
5
|
+
import { HlmIconDirective } from '@spartan-ng/ui-icon-helm';
|
|
5
6
|
import { ClassValue } from 'clsx';
|
|
6
7
|
|
|
7
8
|
@Component({
|
|
8
9
|
selector: 'hlm-pagination-ellipsis',
|
|
9
10
|
standalone: true,
|
|
10
|
-
imports: [
|
|
11
|
+
imports: [NgIcon, HlmIconDirective],
|
|
11
12
|
providers: [provideIcons({ lucideEllipsis })],
|
|
12
13
|
template: `
|
|
13
14
|
<span [class]="_computedClass()">
|
|
14
|
-
<
|
|
15
|
+
<ng-icon hlm size="sm" name="lucideEllipsis" />
|
|
15
16
|
<span class="sr-only">More pages</span>
|
|
16
17
|
</span>
|
|
17
18
|
`,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
2
|
import { Directive, booleanAttribute, computed, input } from '@angular/core';
|
|
3
3
|
import { RouterLink } from '@angular/router';
|
|
4
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
4
5
|
import { type ButtonVariants, buttonVariants } from '@spartan-ng/ui-button-helm';
|
|
5
|
-
import { hlm } from '@spartan-ng/ui-core';
|
|
6
6
|
import { type VariantProps, cva } from 'class-variance-authority';
|
|
7
7
|
import { ClassValue } from 'clsx';
|
|
8
8
|
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
2
|
import { booleanAttribute, Component, computed, input } from '@angular/core';
|
|
3
3
|
import { RouterLink } from '@angular/router';
|
|
4
|
+
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
4
5
|
import { lucideChevronRight } from '@ng-icons/lucide';
|
|
6
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
5
7
|
import { ButtonVariants } from '@spartan-ng/ui-button-helm';
|
|
6
|
-
import {
|
|
7
|
-
import { HlmIconComponent, provideIcons } from '@spartan-ng/ui-icon-helm';
|
|
8
|
+
import { HlmIconDirective } from '@spartan-ng/ui-icon-helm';
|
|
8
9
|
import { ClassValue } from 'clsx';
|
|
9
10
|
import { HlmPaginationLinkDirective } from './hlm-pagination-link.directive';
|
|
10
11
|
|
|
11
12
|
@Component({
|
|
12
13
|
selector: 'hlm-pagination-next',
|
|
13
14
|
standalone: true,
|
|
14
|
-
imports: [HlmPaginationLinkDirective,
|
|
15
|
+
imports: [HlmPaginationLinkDirective, NgIcon, HlmIconDirective],
|
|
15
16
|
providers: [provideIcons({ lucideChevronRight })],
|
|
16
17
|
template: `
|
|
17
18
|
<a
|
|
@@ -24,7 +25,7 @@ import { HlmPaginationLinkDirective } from './hlm-pagination-link.directive';
|
|
|
24
25
|
[attr.aria-label]="ariaLabel()"
|
|
25
26
|
>
|
|
26
27
|
<span [class.sr-only]="iconOnly()">{{ text() }}</span>
|
|
27
|
-
<
|
|
28
|
+
<ng-icon hlm size="sm" name="lucideChevronRight" />
|
|
28
29
|
</a>
|
|
29
30
|
`,
|
|
30
31
|
})
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
2
|
import { booleanAttribute, Component, computed, input } from '@angular/core';
|
|
3
3
|
import { RouterLink } from '@angular/router';
|
|
4
|
+
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
4
5
|
import { lucideChevronLeft } from '@ng-icons/lucide';
|
|
6
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
5
7
|
import { ButtonVariants } from '@spartan-ng/ui-button-helm';
|
|
6
|
-
import {
|
|
7
|
-
import { HlmIconComponent, provideIcons } from '@spartan-ng/ui-icon-helm';
|
|
8
|
+
import { HlmIconDirective } from '@spartan-ng/ui-icon-helm';
|
|
8
9
|
import { ClassValue } from 'clsx';
|
|
9
10
|
import { HlmPaginationLinkDirective } from './hlm-pagination-link.directive';
|
|
10
11
|
|
|
11
12
|
@Component({
|
|
12
13
|
selector: 'hlm-pagination-previous',
|
|
13
14
|
standalone: true,
|
|
14
|
-
imports: [HlmPaginationLinkDirective,
|
|
15
|
+
imports: [HlmPaginationLinkDirective, NgIcon, HlmIconDirective],
|
|
15
16
|
providers: [provideIcons({ lucideChevronLeft })],
|
|
16
17
|
template: `
|
|
17
18
|
<a
|
|
@@ -23,7 +24,7 @@ import { HlmPaginationLinkDirective } from './hlm-pagination-link.directive';
|
|
|
23
24
|
[size]="size()"
|
|
24
25
|
[attr.aria-label]="ariaLabel()"
|
|
25
26
|
>
|
|
26
|
-
<
|
|
27
|
+
<ng-icon hlm size="sm" name="lucideChevronLeft" />
|
|
27
28
|
<span [class.sr-only]="iconOnly()">{{ text() }}</span>
|
|
28
29
|
</a>
|
|
29
30
|
`,
|
package/src/generators/ui/libs/ui-popover-helm/files/lib/hlm-popover-content.directive.ts.template
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Directive, ElementRef, Renderer2, computed, effect, inject, input, signal } from '@angular/core';
|
|
2
|
-
import { hlm, injectExposesStateProvider } from '@spartan-ng/
|
|
2
|
+
import { hlm, injectExposesStateProvider } from '@spartan-ng/brain/core';
|
|
3
3
|
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
@Directive({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
2
3
|
import { injectBrnProgress } from '@spartan-ng/brain/progress';
|
|
3
|
-
import { hlm } from '@spartan-ng/ui-core';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { HlmRadioGroupComponent } from './lib/hlm-radio-group.component';
|
|
4
4
|
import { HlmRadioIndicatorComponent } from './lib/hlm-radio-indicator.component';
|
|
5
5
|
import { HlmRadioDirective } from './lib/hlm-radio.directive';
|
|
6
6
|
|
|
7
|
-
export * from './lib/hlm-radio-group.
|
|
7
|
+
export * from './lib/hlm-radio-group.component';
|
|
8
8
|
export * from './lib/hlm-radio-indicator.component';
|
|
9
9
|
export * from './lib/hlm-radio.directive';
|
|
10
10
|
|
|
11
|
-
export const HlmRadioGroupImports = [
|
|
11
|
+
export const HlmRadioGroupImports = [HlmRadioGroupComponent, HlmRadioDirective, HlmRadioIndicatorComponent];
|
|
12
12
|
|
|
13
13
|
@NgModule({
|
|
14
14
|
imports: [...HlmRadioGroupImports],
|
package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio-group.component.ts.template
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Component, computed, input } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
3
|
+
import { BrnRadioGroupDirective } from '@spartan-ng/brain/radio-group';
|
|
4
|
+
import type { ClassValue } from 'clsx';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'hlm-radio-group',
|
|
8
|
+
standalone: true,
|
|
9
|
+
hostDirectives: [
|
|
10
|
+
{
|
|
11
|
+
directive: BrnRadioGroupDirective,
|
|
12
|
+
inputs: ['name', 'value', 'disabled', 'required', 'direction'],
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
host: {
|
|
16
|
+
'[class]': '_computedClass()',
|
|
17
|
+
},
|
|
18
|
+
template: '<ng-content />',
|
|
19
|
+
})
|
|
20
|
+
export class HlmRadioGroupComponent {
|
|
21
|
+
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
22
|
+
protected _computedClass = computed(() => hlm('grid gap-2', this.userClass()));
|
|
23
|
+
}
|
package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio.directive.ts.template
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
|
-
import { hlm } from '@spartan-ng/
|
|
2
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
3
3
|
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
@Directive({
|
|
@@ -12,6 +12,9 @@ import type { ClassValue } from 'clsx';
|
|
|
12
12
|
export class HlmRadioDirective {
|
|
13
13
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
14
14
|
protected _computedClass = computed(() =>
|
|
15
|
-
hlm(
|
|
15
|
+
hlm(
|
|
16
|
+
'group [&.brn-radio-disabled]:text-muted-foreground flex items-center space-x-2 rtl:space-x-reverse',
|
|
17
|
+
this.userClass(),
|
|
18
|
+
),
|
|
16
19
|
);
|
|
17
20
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { HlmScrollAreaDirective } from './lib/hlm-scroll-area.directive';
|
|
3
3
|
|
|
4
|
-
export * from './lib/hlm-scroll-area.
|
|
4
|
+
export * from './lib/hlm-scroll-area.directive';
|
|
5
5
|
|
|
6
6
|
@NgModule({
|
|
7
|
-
imports: [
|
|
8
|
-
exports: [
|
|
7
|
+
imports: [HlmScrollAreaDirective],
|
|
8
|
+
exports: [HlmScrollAreaDirective],
|
|
9
9
|
})
|
|
10
10
|
export class HlmScrollAreaModule {}
|
package/src/generators/ui/libs/ui-scroll-area-helm/files/lib/hlm-scroll-area.directive.ts.template
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Directive, computed, input } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
3
|
+
import type { ClassValue } from 'clsx';
|
|
4
|
+
|
|
5
|
+
@Directive({
|
|
6
|
+
selector: 'ng-scrollbar[hlm]',
|
|
7
|
+
standalone: true,
|
|
8
|
+
host: {
|
|
9
|
+
'[class]': '_computedClass()',
|
|
10
|
+
'[style.--scrollbar-border-radius.px]': '100',
|
|
11
|
+
'[style.--scrollbar-offset]': '3',
|
|
12
|
+
'[style.--scrollbar-thumb-color]': '"hsl(var(--border))"',
|
|
13
|
+
'[style.--scrollbar-thumb-hover-color]': '"hsl(var(--border))"',
|
|
14
|
+
'[style.--scrollbar-thickness]': '7',
|
|
15
|
+
},
|
|
16
|
+
})
|
|
17
|
+
export class HlmScrollAreaDirective {
|
|
18
|
+
protected readonly _computedClass = computed(() => hlm('block', this.userClass()));
|
|
19
|
+
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
20
|
+
}
|
package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-content.directive.ts.template
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
|
-
import { hlm, injectExposedSideProvider, injectExposesStateProvider } from '@spartan-ng/
|
|
2
|
+
import { hlm, injectExposedSideProvider, injectExposesStateProvider } from '@spartan-ng/brain/core';
|
|
3
3
|
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
@Directive({
|
package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-group.directive.ts.template
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
2
3
|
import { BrnSelectGroupDirective } from '@spartan-ng/brain/select';
|
|
3
|
-
import { hlm } from '@spartan-ng/ui-core';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-label.directive.ts.template
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, computed, inject, input } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
2
3
|
import { BrnSelectLabelDirective } from '@spartan-ng/brain/select';
|
|
3
|
-
import { hlm } from '@spartan-ng/ui-core';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
import { HlmSelectContentDirective } from './hlm-select-content.directive';
|
|
6
6
|
|
package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-option.component.ts.template
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core';
|
|
2
|
+
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
2
3
|
import { lucideCheck } from '@ng-icons/lucide';
|
|
4
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
3
5
|
import { BrnSelectOptionDirective } from '@spartan-ng/brain/select';
|
|
4
|
-
import {
|
|
5
|
-
import { HlmIconComponent, provideIcons } from '@spartan-ng/ui-icon-helm';
|
|
6
|
+
import { HlmIconDirective } from '@spartan-ng/ui-icon-helm';
|
|
6
7
|
import type { ClassValue } from 'clsx';
|
|
7
8
|
|
|
8
9
|
@Component({
|
|
@@ -22,11 +23,11 @@ import type { ClassValue } from 'clsx';
|
|
|
22
23
|
[attr.data-state]="this._brnSelectOption.checkedState()"
|
|
23
24
|
>
|
|
24
25
|
@if (this._brnSelectOption.selected()) {
|
|
25
|
-
<
|
|
26
|
+
<ng-icon hlm aria-hidden="true" name="lucideCheck" />
|
|
26
27
|
}
|
|
27
28
|
</span>
|
|
28
29
|
`,
|
|
29
|
-
imports: [
|
|
30
|
+
imports: [NgIcon, HlmIconDirective],
|
|
30
31
|
})
|
|
31
32
|
export class HlmSelectOptionComponent {
|
|
32
33
|
protected readonly _brnSelectOption = inject(BrnSelectOptionDirective, { host: true });
|
package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-scroll-down.component.ts.template
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { Component } from '@angular/core';
|
|
2
|
+
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
2
3
|
import { lucideChevronDown } from '@ng-icons/lucide';
|
|
3
|
-
import {
|
|
4
|
+
import { HlmIconDirective } from '@spartan-ng/ui-icon-helm';
|
|
4
5
|
|
|
5
6
|
@Component({
|
|
6
7
|
selector: 'hlm-select-scroll-down',
|
|
7
8
|
standalone: true,
|
|
8
|
-
imports: [
|
|
9
|
+
imports: [NgIcon, HlmIconDirective],
|
|
9
10
|
providers: [provideIcons({ lucideChevronDown })],
|
|
10
11
|
host: {
|
|
11
12
|
class: 'flex cursor-default items-center justify-center py-1',
|
|
12
13
|
},
|
|
13
14
|
template: `
|
|
14
|
-
<
|
|
15
|
+
<ng-icon hlm size="sm" class="ml-2" name="lucideChevronDown" />
|
|
15
16
|
`,
|
|
16
17
|
})
|
|
17
18
|
export class HlmSelectScrollDownComponent {}
|
package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-scroll-up.component.ts.template
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { Component } from '@angular/core';
|
|
2
|
+
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
2
3
|
import { lucideChevronUp } from '@ng-icons/lucide';
|
|
3
|
-
import {
|
|
4
|
+
import { HlmIconDirective } from '@spartan-ng/ui-icon-helm';
|
|
4
5
|
|
|
5
6
|
@Component({
|
|
6
7
|
selector: 'hlm-select-scroll-up',
|
|
7
8
|
standalone: true,
|
|
8
|
-
imports: [
|
|
9
|
+
imports: [NgIcon, HlmIconDirective],
|
|
9
10
|
providers: [provideIcons({ lucideChevronUp })],
|
|
10
11
|
host: {
|
|
11
12
|
class: 'flex cursor-default items-center justify-center py-1',
|
|
12
13
|
},
|
|
13
14
|
template: `
|
|
14
|
-
<
|
|
15
|
+
<ng-icon hlm size="sm" class="ml-2" name="lucideChevronUp" />
|
|
15
16
|
`,
|
|
16
17
|
})
|
|
17
18
|
export class HlmSelectScrollUpComponent {}
|
package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-trigger.component.ts.template
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Component, computed, contentChild, inject, input } from '@angular/core';
|
|
2
|
-
import { provideIcons } from '@ng-icons/core';
|
|
2
|
+
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
3
3
|
import { lucideChevronDown } from '@ng-icons/lucide';
|
|
4
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
4
5
|
import { BrnSelectComponent, BrnSelectTriggerDirective } from '@spartan-ng/brain/select';
|
|
5
|
-
import {
|
|
6
|
-
import { HlmIconComponent } from '@spartan-ng/ui-icon-helm';
|
|
6
|
+
import { HlmIconDirective } from '@spartan-ng/ui-icon-helm';
|
|
7
7
|
import { type VariantProps, cva } from 'class-variance-authority';
|
|
8
8
|
import type { ClassValue } from 'clsx';
|
|
9
9
|
|
|
@@ -32,7 +32,7 @@ type SelectTriggerVariants = VariantProps<typeof selectTriggerVariants>;
|
|
|
32
32
|
@Component({
|
|
33
33
|
selector: 'hlm-select-trigger',
|
|
34
34
|
standalone: true,
|
|
35
|
-
imports: [BrnSelectTriggerDirective,
|
|
35
|
+
imports: [BrnSelectTriggerDirective, NgIcon, HlmIconDirective],
|
|
36
36
|
providers: [provideIcons({ lucideChevronDown })],
|
|
37
37
|
|
|
38
38
|
template: `
|
|
@@ -41,13 +41,13 @@ type SelectTriggerVariants = VariantProps<typeof selectTriggerVariants>;
|
|
|
41
41
|
@if (icon()) {
|
|
42
42
|
<ng-content select="hlm-icon" />
|
|
43
43
|
} @else {
|
|
44
|
-
<
|
|
44
|
+
<ng-icon hlm size="sm" class="ml-2 flex-none" name="lucideChevronDown" />
|
|
45
45
|
}
|
|
46
46
|
</button>
|
|
47
47
|
`,
|
|
48
48
|
})
|
|
49
49
|
export class HlmSelectTriggerComponent {
|
|
50
|
-
protected readonly icon = contentChild(
|
|
50
|
+
protected readonly icon = contentChild(HlmIconDirective);
|
|
51
51
|
|
|
52
52
|
protected readonly brnSelect = inject(BrnSelectComponent, { optional: true });
|
|
53
53
|
|
package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-content.component.ts.template
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Component, ElementRef, Renderer2, computed, effect, inject, input, signal } from '@angular/core';
|
|
2
|
+
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
2
3
|
import { lucideX } from '@ng-icons/lucide';
|
|
4
|
+
import { hlm, injectExposedSideProvider, injectExposesStateProvider } from '@spartan-ng/brain/core';
|
|
3
5
|
import { BrnSheetCloseDirective } from '@spartan-ng/brain/sheet';
|
|
4
|
-
import {
|
|
5
|
-
import { HlmIconComponent, provideIcons } from '@spartan-ng/ui-icon-helm';
|
|
6
|
+
import { HlmIconDirective } from '@spartan-ng/ui-icon-helm';
|
|
6
7
|
import { cva } from 'class-variance-authority';
|
|
7
8
|
import type { ClassValue } from 'clsx';
|
|
8
9
|
import { HlmSheetCloseDirective } from './hlm-sheet-close.directive';
|
|
@@ -29,7 +30,7 @@ export const sheetVariants = cva(
|
|
|
29
30
|
@Component({
|
|
30
31
|
selector: 'hlm-sheet-content',
|
|
31
32
|
standalone: true,
|
|
32
|
-
imports: [HlmSheetCloseDirective, BrnSheetCloseDirective,
|
|
33
|
+
imports: [HlmSheetCloseDirective, BrnSheetCloseDirective, NgIcon, HlmIconDirective],
|
|
33
34
|
providers: [provideIcons({ lucideX })],
|
|
34
35
|
host: {
|
|
35
36
|
'[class]': '_computedClass()',
|
|
@@ -39,7 +40,7 @@ export const sheetVariants = cva(
|
|
|
39
40
|
<ng-content />
|
|
40
41
|
<button brnSheetClose hlm>
|
|
41
42
|
<span class="sr-only">Close</span>
|
|
42
|
-
<
|
|
43
|
+
<ng-icon hlm class="flex h-4 w-4" size="100%" name="lucideX" />
|
|
43
44
|
</button>
|
|
44
45
|
`,
|
|
45
46
|
})
|
package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-description.directive.ts.template
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
2
3
|
import { BrnSheetDescriptionDirective } from '@spartan-ng/brain/sheet';
|
|
3
|
-
import { hlm } from '@spartan-ng/ui-core';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-overlay.directive.ts.template
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Directive, computed, effect, input } from '@angular/core';
|
|
2
|
-
import { hlm, injectCustomClassSettable } from '@spartan-ng/
|
|
2
|
+
import { hlm, injectCustomClassSettable } from '@spartan-ng/brain/core';
|
|
3
3
|
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
@Directive({
|
package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-title.directive.ts.template
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
2
3
|
import { BrnSheetTitleDirective } from '@spartan-ng/brain/sheet';
|
|
3
|
-
import { hlm } from '@spartan-ng/ui-core';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
package/src/generators/ui/libs/ui-slider-helm/files/lib/hlm-slider-input.directive.ts.template
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
2
3
|
import { BrnSliderInputDirective } from '@spartan-ng/brain/slider';
|
|
3
|
-
import { hlm } from '@spartan-ng/ui-core';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
package/src/generators/ui/libs/ui-slider-helm/files/lib/hlm-slider-thumb.directive.ts.template
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, computed, inject, input } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
2
3
|
import { BRN_SLIDER, BrnSliderThumbDirective } from '@spartan-ng/brain/slider';
|
|
3
|
-
import { hlm } from '@spartan-ng/ui-core';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
package/src/generators/ui/libs/ui-slider-helm/files/lib/hlm-slider-tick-mark.directive.ts.template
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, computed, inject, input } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
2
3
|
import { BRN_SLIDER, BrnSliderTickMarkDirective } from '@spartan-ng/brain/slider';
|
|
3
|
-
import { hlm } from '@spartan-ng/ui-core';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, computed, inject, input } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
2
3
|
import { BRN_SLIDER, BrnSliderTrackActiveFillDirective } from '@spartan-ng/brain/slider';
|
|
3
|
-
import { hlm } from '@spartan-ng/ui-core';
|
|
4
4
|
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|