@spartan-ng/cli 0.0.1-alpha.346 → 0.0.1-alpha.349
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/package.json +1 -1
- package/src/generators/base/generator.d.ts +2 -2
- package/src/generators/base/generator.js +1 -1
- package/src/generators/base/generator.js.map +1 -1
- package/src/generators/base/lib/build-dependency-array.d.ts +1 -1
- package/src/generators/base/lib/get-target-library-directory.d.ts +2 -2
- package/src/generators/base/lib/get-target-library-directory.js.map +1 -1
- package/src/generators/base/lib/initialize-angular-library.d.ts +2 -2
- package/src/generators/base/versions.d.ts +20 -20
- package/src/generators/base/versions.js +20 -20
- package/src/generators/theme/generator.d.ts +1 -1
- package/src/generators/theme/generator.js +1 -1
- package/src/generators/theme/generator.js.map +1 -1
- package/src/generators/theme/libs/add-theme-to-application-styles.d.ts +2 -2
- package/src/generators/theme/libs/add-theme-to-application-styles.js.map +1 -1
- package/src/generators/ui/compat.d.ts +1 -1
- package/src/generators/ui/generator.d.ts +2 -2
- package/src/generators/ui/generator.js +1 -1
- package/src/generators/ui/generator.js.map +1 -1
- package/src/generators/ui/libs/helm/files/lib/hlm-toaster.component.ts.template +2 -2
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-content.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-icon.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-item.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-trigger.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-cancel-button.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-content.component.ts.template +2 -2
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-description.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-footer.component.ts.template +2 -2
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-header.component.ts.template +2 -2
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-overlay.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-title.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert-description.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert-title.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-aspect-ratio-helm/files/lib/helm-aspect-ratio.directive.spec.ts.template +1 -1
- package/src/generators/ui/libs/ui-aspect-ratio-helm/files/lib/helm-aspect-ratio.directive.ts.template +4 -4
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/fallback/hlm-avatar-fallback.directive.spec.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.spec.ts.template +1 -1
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/hlm-avatar.component.ts.template +3 -3
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/hlm-avatar-image.directive.spec.ts.template +1 -1
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/hlm-avatar-image.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-badge-helm/files/lib/hlm-badge.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-button-helm/files/.DS_Store.template +0 -0
- package/src/generators/ui/libs/ui-button-helm/files/lib/hlm-button.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-content.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-description.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-footer.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-header.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-title.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card.directive.ts.template +3 -3
- 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 +1 -1
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel-previous.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel.component.ts.template +9 -4
- package/src/generators/ui/libs/ui-checkbox-helm/files/lib/hlm-checkbox-checkicon.component.ts.template +1 -1
- 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 +1 -1
- 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 +2 -2
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-item.directive.ts.template +2 -2
- 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/.DS_Store.template +0 -0
- 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 +2 -2
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-description.directive.ts.template +2 -2
- 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 +2 -2
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-title.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog.service.ts.template +4 -4
- package/src/generators/ui/libs/ui-hover-card-helm/files/lib/hlm-hover-card-content.component.ts.template +2 -2
- package/src/generators/ui/libs/ui-icon-helm/files/lib/hlm-icon.component.spec.ts.template +1 -1
- package/src/generators/ui/libs/ui-icon-helm/files/lib/hlm-icon.component.ts.template +8 -7
- package/src/generators/ui/libs/ui-input-helm/files/lib/hlm-input-error.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-input-helm/files/lib/hlm-input.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-label-helm/files/lib/hlm-label.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-bar-item.directive.ts.template +2 -2
- 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 +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-checkbox.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-icon.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-radio.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-radio.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-sub-indicator.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item.directive.ts.template +2 -2
- 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 +2 -2
- 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 +2 -2
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-item.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-link.directive.ts.template +3 -3
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination.directive.ts.template +3 -3
- 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 +2 -2
- 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/lib/hlm-radio-group.directive.ts.template +1 -1
- 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 +1 -1
- package/src/generators/ui/libs/ui-scroll-area-helm/files/lib/hlm-scroll-area.component.ts.template +4 -4
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-content.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-group.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-label.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-option.component.ts.template +2 -2
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-trigger.component.ts.template +2 -2
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-value.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select.directive.ts.template +2 -2
- 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 +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-description.directive.ts.template +2 -2
- 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 +2 -2
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet.component.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-sonner-helm/generator.d.ts +2 -2
- package/src/generators/ui/libs/ui-spinner-helm/files/lib/hlm-spinner.component.ts.template +2 -2
- 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 +3 -3
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-table.component.ts.template +2 -2
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-td.component.ts.template +3 -3
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-th.component.ts.template +3 -3
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-trow.component.ts.template +2 -2
- 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 +2 -2
- 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 +3 -3
- package/src/generators/ui/libs/ui-tooltip-helm/files/lib/hlm-tooltip-trigger.directive.ts.template +1 -1
- 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/supported-ui-libraries.json +47 -47
- package/src/utils/get-project-names.d.ts +1 -1
- package/src/utils/get-project-names.js.map +1 -1
- package/src/utils/version-utils.d.ts +1 -1
- package/src/utils/version-utils.js.map +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { booleanAttribute, computed,
|
|
1
|
+
import { Directive, booleanAttribute, computed, input } from '@angular/core';
|
|
2
2
|
import { RouterLink } from '@angular/router';
|
|
3
|
-
import { buttonVariants, ButtonVariants } from '@spartan-ng/ui-button-helm';
|
|
3
|
+
import { buttonVariants, type ButtonVariants } from '@spartan-ng/ui-button-helm';
|
|
4
4
|
import { hlm } from '@spartan-ng/ui-core';
|
|
5
|
-
import { cva, VariantProps } from 'class-variance-authority';
|
|
5
|
+
import { cva, type VariantProps } from 'class-variance-authority';
|
|
6
6
|
|
|
7
7
|
export const paginationLinkVariants = cva('', {
|
|
8
8
|
variants: {},
|
package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination.directive.ts.template
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
-
import { cva, VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import { cva, type VariantProps } from 'class-variance-authority';
|
|
4
|
+
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
export const paginationVariants = cva('mx-auto flex w-full justify-center', {
|
|
7
7
|
variants: {},
|
package/src/generators/ui/libs/ui-popover-helm/files/lib/hlm-popover-content.directive.ts.template
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, ElementRef, Renderer2, computed, effect, inject, input, signal } from '@angular/core';
|
|
2
2
|
import { hlm, injectExposesStateProvider } from '@spartan-ng/ui-core';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
@Directive({
|
|
6
6
|
selector: '[hlmPopoverContent],[brnPopoverContent][hlm]',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Directive,
|
|
1
|
+
import { Directive, ElementRef, Renderer2, computed, effect, inject, input, signal, type DoCheck } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
@Directive({
|
|
6
6
|
selector: '[hlmProgressIndicator],brn-progress-indicator[hlm]',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Component, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
const btnLike =
|
|
6
6
|
'aspect-square rounded-full ring-offset-background group-[.cdk-keyboard-focused]:ring-2 group-[.cdk-keyboard-focused]:ring-ring group-[.cdk-keyboard-focused]:ring-offset-2 group-[.brn-radio-disabled]:cursor-not-allowed group-[.brn-radio-disabled]:opacity-50';
|
package/src/generators/ui/libs/ui-scroll-area-helm/files/lib/hlm-scroll-area.component.ts.template
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
booleanAttribute,
|
|
3
2
|
ChangeDetectionStrategy,
|
|
4
3
|
Component,
|
|
5
|
-
computed,
|
|
6
4
|
Input,
|
|
7
|
-
signal,
|
|
8
5
|
ViewEncapsulation,
|
|
6
|
+
booleanAttribute,
|
|
7
|
+
computed,
|
|
8
|
+
signal,
|
|
9
9
|
} from '@angular/core';
|
|
10
10
|
import { hlm } from '@spartan-ng/ui-core';
|
|
11
|
-
import { ClassValue } from 'clsx';
|
|
11
|
+
import type { ClassValue } from 'clsx';
|
|
12
12
|
import { NgScrollbarModule } from 'ngx-scrollbar';
|
|
13
13
|
|
|
14
14
|
@Component({
|
package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-content.directive.ts.template
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Directive, Input, computed, input, signal } from '@angular/core';
|
|
2
2
|
import { hlm, injectExposedSideProvider, injectExposesStateProvider } from '@spartan-ng/ui-core';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
@Directive({
|
|
6
6
|
selector: '[hlmSelectContent], hlm-select-content',
|
package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-group.directive.ts.template
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
3
|
import { BrnSelectGroupDirective } from '@spartan-ng/ui-select-brain';
|
|
4
|
-
import { ClassValue } from 'clsx';
|
|
4
|
+
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
|
7
7
|
selector: '[hlmSelectGroup], hlm-select-group',
|
package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-label.directive.ts.template
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Directive, computed, inject, input, signal, type OnInit } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
3
|
import { BrnSelectLabelDirective } from '@spartan-ng/ui-select-brain';
|
|
4
|
-
import { ClassValue } from 'clsx';
|
|
4
|
+
import type { ClassValue } from 'clsx';
|
|
5
5
|
import { HlmSelectContentDirective } from './hlm-select-content.directive';
|
|
6
6
|
|
|
7
7
|
@Directive({
|
package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-option.component.ts.template
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, computed, inject, input
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, computed, inject, input } from '@angular/core';
|
|
2
2
|
import { lucideCheck } from '@ng-icons/lucide';
|
|
3
3
|
import { hlm } from '@spartan-ng/ui-core';
|
|
4
4
|
import { HlmIconComponent, provideIcons } from '@spartan-ng/ui-icon-helm';
|
|
5
5
|
import { BrnSelectOptionDirective } from '@spartan-ng/ui-select-brain';
|
|
6
|
-
import { ClassValue } from 'clsx';
|
|
6
|
+
import type { ClassValue } from 'clsx';
|
|
7
7
|
|
|
8
8
|
@Component({
|
|
9
9
|
selector: 'hlm-option',
|
package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-trigger.component.ts.template
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Component,
|
|
1
|
+
import { Component, ContentChild, ViewChild, computed, input, type ElementRef } from '@angular/core';
|
|
2
2
|
import { provideIcons } from '@ng-icons/core';
|
|
3
3
|
import { lucideChevronDown } from '@ng-icons/lucide';
|
|
4
4
|
import { hlm } from '@spartan-ng/ui-core';
|
|
5
5
|
import { HlmIconComponent } from '@spartan-ng/ui-icon-helm';
|
|
6
6
|
import { BrnSelectTriggerDirective } from '@spartan-ng/ui-select-brain';
|
|
7
|
-
import { ClassValue } from 'clsx';
|
|
7
|
+
import type { ClassValue } from 'clsx';
|
|
8
8
|
|
|
9
9
|
@Component({
|
|
10
10
|
selector: 'hlm-select-trigger',
|
package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-value.directive.ts.template
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
@Directive({
|
|
6
6
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
@Directive({
|
|
6
6
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-content.component.ts.template
CHANGED
|
@@ -4,7 +4,7 @@ import { hlm, injectExposedSideProvider, injectExposesStateProvider } from '@spa
|
|
|
4
4
|
import { HlmIconComponent, provideIcons } from '@spartan-ng/ui-icon-helm';
|
|
5
5
|
import { BrnSheetCloseDirective } from '@spartan-ng/ui-sheet-brain';
|
|
6
6
|
import { cva } from 'class-variance-authority';
|
|
7
|
-
import { ClassValue } from 'clsx';
|
|
7
|
+
import type { ClassValue } from 'clsx';
|
|
8
8
|
import { HlmSheetCloseDirective } from './hlm-sheet-close.directive';
|
|
9
9
|
|
|
10
10
|
export const sheetVariants = cva(
|
package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-description.directive.ts.template
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
3
|
import { BrnSheetDescriptionDirective } from '@spartan-ng/ui-sheet-brain';
|
|
4
|
-
import { ClassValue } from 'clsx';
|
|
4
|
+
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
|
7
7
|
selector: '[hlmSheetDescription]',
|
package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-overlay.directive.ts.template
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, computed, effect, input } from '@angular/core';
|
|
2
2
|
import { hlm, injectCustomClassSettable } from '@spartan-ng/ui-core';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
@Directive({
|
|
6
6
|
selector: '[hlmSheetOverlay],brn-sheet-overlay[hlm]',
|
package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-title.directive.ts.template
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
3
|
import { BrnSheetTitleDirective } from '@spartan-ng/ui-sheet-brain';
|
|
4
|
-
import { ClassValue } from 'clsx';
|
|
4
|
+
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
|
7
7
|
selector: '[hlmSheetTitle]',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component,
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation, forwardRef } from '@angular/core';
|
|
2
2
|
import { BrnDialogComponent } from '@spartan-ng/ui-dialog-brain';
|
|
3
3
|
import { BrnSheetComponent, BrnSheetOverlayComponent } from '@spartan-ng/ui-sheet-brain';
|
|
4
4
|
import { HlmSheetOverlayDirective } from './hlm-sheet-overlay.directive';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Tree } from '@nx/devkit';
|
|
2
|
-
import { HlmBaseGeneratorSchema } from '../../../base/schema';
|
|
1
|
+
import type { Tree } from '@nx/devkit';
|
|
2
|
+
import type { HlmBaseGeneratorSchema } from '../../../base/schema';
|
|
3
3
|
export declare function generator(tree: Tree, options: HlmBaseGeneratorSchema): Promise<import("@nx/devkit").GeneratorCallback>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Component, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
-
import {
|
|
4
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import { cva, type VariantProps } from 'class-variance-authority';
|
|
4
|
+
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
export const spinnerVariants = cva('inline-block', {
|
|
7
7
|
variants: {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
13
13
|
import { hlm } from '@spartan-ng/ui-core';
|
|
14
14
|
import { BrnSwitchComponent, BrnSwitchThumbComponent } from '@spartan-ng/ui-switch-brain';
|
|
15
|
-
import { ClassValue } from 'clsx';
|
|
15
|
+
import type { ClassValue } from 'clsx';
|
|
16
16
|
import { HlmSwitchThumbDirective } from './hlm-switch-thumb.directive';
|
|
17
17
|
|
|
18
18
|
export const HLM_SWITCH_VALUE_ACCESSOR = {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
booleanAttribute,
|
|
3
2
|
ChangeDetectionStrategy,
|
|
4
3
|
Component,
|
|
4
|
+
ViewEncapsulation,
|
|
5
|
+
booleanAttribute,
|
|
5
6
|
computed,
|
|
6
7
|
effect,
|
|
7
8
|
inject,
|
|
8
9
|
input,
|
|
9
|
-
ViewEncapsulation,
|
|
10
10
|
} from '@angular/core';
|
|
11
11
|
import { hlm } from '@spartan-ng/ui-core';
|
|
12
|
-
import { ClassValue } from 'clsx';
|
|
12
|
+
import type { ClassValue } from 'clsx';
|
|
13
13
|
import { HlmTableComponent } from '../index';
|
|
14
14
|
|
|
15
15
|
let captionIdSequence = 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, computed, effect, input, signal
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, effect, input, signal } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
@Component({
|
|
6
6
|
selector: 'hlm-table',
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { NgTemplateOutlet } from '@angular/common';
|
|
2
2
|
import {
|
|
3
|
-
booleanAttribute,
|
|
4
3
|
ChangeDetectionStrategy,
|
|
5
4
|
Component,
|
|
5
|
+
ViewEncapsulation,
|
|
6
|
+
booleanAttribute,
|
|
6
7
|
computed,
|
|
7
8
|
inject,
|
|
8
9
|
input,
|
|
9
|
-
ViewEncapsulation,
|
|
10
10
|
} from '@angular/core';
|
|
11
11
|
import { hlm } from '@spartan-ng/ui-core';
|
|
12
12
|
import { BrnColumnDefComponent } from '@spartan-ng/ui-table-brain';
|
|
13
|
-
import { ClassValue } from 'clsx';
|
|
13
|
+
import type { ClassValue } from 'clsx';
|
|
14
14
|
|
|
15
15
|
@Component({
|
|
16
16
|
selector: 'hlm-td',
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { NgTemplateOutlet } from '@angular/common';
|
|
2
2
|
import {
|
|
3
|
-
booleanAttribute,
|
|
4
3
|
ChangeDetectionStrategy,
|
|
5
4
|
Component,
|
|
5
|
+
ViewEncapsulation,
|
|
6
|
+
booleanAttribute,
|
|
6
7
|
computed,
|
|
7
8
|
inject,
|
|
8
9
|
input,
|
|
9
|
-
ViewEncapsulation,
|
|
10
10
|
} from '@angular/core';
|
|
11
11
|
import { hlm } from '@spartan-ng/ui-core';
|
|
12
12
|
import { BrnColumnDefComponent } from '@spartan-ng/ui-table-brain';
|
|
13
|
-
import { ClassValue } from 'clsx';
|
|
13
|
+
import type { ClassValue } from 'clsx';
|
|
14
14
|
|
|
15
15
|
@Component({
|
|
16
16
|
selector: 'hlm-th',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, computed, input
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
@Component({
|
|
6
6
|
selector: 'hlm-trow',
|
package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-content.directive.ts.template
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
3
|
import { BrnTabsContentDirective } from '@spartan-ng/ui-tabs-brain';
|
|
4
|
-
import { ClassValue } from 'clsx';
|
|
4
|
+
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
|
7
7
|
selector: '[hlmTabsContent]',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Component, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
3
|
import { BrnTabsListDirective } from '@spartan-ng/ui-tabs-brain';
|
|
4
|
-
import {
|
|
5
|
-
import { ClassValue } from 'clsx';
|
|
4
|
+
import { cva, type VariantProps } from 'class-variance-authority';
|
|
5
|
+
import type { ClassValue } from 'clsx';
|
|
6
6
|
|
|
7
7
|
export const listVariants = cva(
|
|
8
8
|
'inline-flex items-center justify-center rounded-md bg-muted p-1 text-muted-foreground',
|
package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-trigger.directive.ts.template
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
3
|
import { BrnTabsTriggerDirective } from '@spartan-ng/ui-tabs-brain';
|
|
4
|
-
import { ClassValue } from 'clsx';
|
|
4
|
+
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
@Directive({
|
|
7
7
|
selector: '[hlmTabsTrigger]',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
-
import { cva, VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import { cva, type VariantProps } from 'class-variance-authority';
|
|
4
|
+
import type { ClassValue } from 'clsx';
|
|
5
5
|
|
|
6
6
|
export const toggleVariants = cva(
|
|
7
7
|
'inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
export const hlmCode = 'relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
export const hlmH1 = 'scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
3
|
+
import type { ClassValue } from 'clsx';
|
|
4
4
|
|
|
5
5
|
export const hlmH2 =
|
|
6
6
|
'scroll-m-20 border-border border-b pb-2 text-3xl font-semibold tracking-tight transition-colors first:mt-0';
|