@spartan-ng/cli 0.0.1-alpha.471 → 0.0.1-alpha.473
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/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-content.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-icon.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-item.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-trigger.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-action-button.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-cancel-button.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-content.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-description.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-footer.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-header.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-overlay.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-title.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert-description.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert-icon.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert-title.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-aspect-ratio-helm/files/lib/helm-aspect-ratio.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/fallback/hlm-avatar-fallback.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/hlm-avatar.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/hlm-avatar-image.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-badge-helm/files/lib/hlm-badge.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb-item.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb-link.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb-list.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb-page.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-button-helm/files/lib/hlm-button.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-content.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-description.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-footer.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-header.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-title.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel-content.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/hlm-carousel-item.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-dialog-close-button.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-dialog.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-empty.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-group-label.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-group.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-icon.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-item.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-list.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-search-input.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-search.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-separator.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-shortcut.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-close.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-description.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-footer.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-header.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-overlay.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-title.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-form-field-helm/files/lib/hlm-error.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-form-field-helm/files/lib/hlm-form-field.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-form-field-helm/files/lib/hlm-hint.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-hover-card-helm/files/lib/hlm-hover-card-content.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-icon-helm/files/lib/hlm-icon.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-input-helm/files/lib/hlm-input-error.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-input-helm/files/lib/hlm-input.directive.ts.template +3 -2
- package/src/generators/ui/libs/ui-input-otp-helm/files/lib/hlm-input-otp-fake-caret.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-input-otp-helm/files/lib/hlm-input-otp-group.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-input-otp-helm/files/lib/hlm-input-otp.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-label-helm/files/lib/hlm-label.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-bar-item.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-bar.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-group.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-checkbox.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-icon.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-radio.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-label.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-separator.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-shortcut.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-sub-menu.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-content.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-item.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination-link.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/hlm-pagination.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-popover-helm/files/lib/hlm-popover-close.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-popover-helm/files/lib/hlm-popover-content.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-progress-helm/files/lib/hlm-progress-indicator.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-progress-helm/files/lib/hlm-progress.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio-group.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio-indicator.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-scroll-area-helm/files/lib/hlm-scroll-area.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-content.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-group.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-label.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-value.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-separator-helm/files/lib/hlm-separator.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-close.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-description.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-footer.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-header.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-overlay.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-title.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-skeleton-helm/files/lib/hlm-skeleton.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-spinner-helm/files/lib/hlm-spinner.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-switch-helm/files/lib/hlm-switch-thumb.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-caption.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-table.component.ts.template +0 -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-trow.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-content.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-list.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-trigger.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs.component.ts.template +0 -1
- package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/hlm-toggle-group.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/hlm-toggle-item.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-toggle-helm/files/lib/hlm-toggle.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-tooltip-helm/files/lib/hlm-tooltip-trigger.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-blockquote.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-code.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h1.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h2.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h3.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h4.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-large.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-lead.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-muted.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-p.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-small.directive.ts.template +0 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-ul.directive.ts.template +0 -1
- package/src/generators/ui/supported-ui-libraries.json +40 -40
package/package.json
CHANGED
package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-icon.directive.ts.template
CHANGED
|
@@ -7,7 +7,6 @@ import type { ClassValue } from 'clsx';
|
|
|
7
7
|
|
|
8
8
|
@Directive({
|
|
9
9
|
selector: 'ng-icon[hlmAccordionIcon], ng-icon[hlmAccIcon]',
|
|
10
|
-
standalone: true,
|
|
11
10
|
providers: [provideIcons({ lucideChevronDown }), provideHlmIconConfig({ size: 'sm' })],
|
|
12
11
|
host: {
|
|
13
12
|
'[class]': '_computedClass()',
|
|
@@ -4,7 +4,6 @@ import type { ClassValue } from 'clsx';
|
|
|
4
4
|
|
|
5
5
|
@Directive({
|
|
6
6
|
selector: '[hlmAlertDialogOverlay],brn-alert-dialog-overlay[hlm]',
|
|
7
|
-
standalone: true,
|
|
8
7
|
})
|
|
9
8
|
export class HlmAlertDialogOverlayDirective {
|
|
10
9
|
private readonly _classSettable = injectCustomClassSettable({ optional: true, host: true });
|
|
@@ -7,7 +7,6 @@ import type { ClassValue } from 'clsx';
|
|
|
7
7
|
|
|
8
8
|
@Directive({
|
|
9
9
|
selector: '[hlmCommandDialogCloseBtn]',
|
|
10
|
-
standalone: true,
|
|
11
10
|
hostDirectives: [HlmButtonDirective, BrnDialogCloseDirective],
|
|
12
11
|
providers: [provideBrnButtonConfig({ variant: 'ghost' }), provideHlmIconConfig({ size: 'xs' })],
|
|
13
12
|
host: {
|
|
@@ -3,7 +3,6 @@ import { BrnCommandSearchInputDirective } from '@spartan-ng/brain/command';
|
|
|
3
3
|
import { hlm } from '@spartan-ng/brain/core';
|
|
4
4
|
|
|
5
5
|
@Component({
|
|
6
|
-
standalone: true,
|
|
7
6
|
selector: 'input[hlm-command-search-input]',
|
|
8
7
|
template: '',
|
|
9
8
|
hostDirectives: [{ directive: BrnCommandSearchInputDirective, inputs: ['value'] }],
|
package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-overlay.directive.ts.template
CHANGED
|
@@ -7,7 +7,6 @@ export const hlmDialogOverlayClass =
|
|
|
7
7
|
|
|
8
8
|
@Directive({
|
|
9
9
|
selector: '[hlmDialogOverlay],brn-dialog-overlay[hlm]',
|
|
10
|
-
standalone: true,
|
|
11
10
|
})
|
|
12
11
|
export class HlmDialogOverlayDirective {
|
|
13
12
|
private readonly _classSettable = injectCustomClassSettable({ optional: true, host: true });
|
|
@@ -31,7 +31,6 @@ type InputVariants = VariantProps<typeof inputVariants>;
|
|
|
31
31
|
|
|
32
32
|
@Directive({
|
|
33
33
|
selector: '[hlmInput]',
|
|
34
|
-
standalone: true,
|
|
35
34
|
host: {
|
|
36
35
|
'[class]': '_computedClass()',
|
|
37
36
|
},
|
|
@@ -80,7 +79,9 @@ export class HlmInputDirective implements BrnFormFieldControl, DoCheck {
|
|
|
80
79
|
const error = this._errorStateTracker.errorState();
|
|
81
80
|
untracked(() => {
|
|
82
81
|
if (this.ngControl) {
|
|
83
|
-
this.
|
|
82
|
+
const shouldShowError = error && this.ngControl.invalid && (this.ngControl.touched || this.ngControl.dirty);
|
|
83
|
+
this._errorStateTracker.errorState.set(shouldShowError ? true : false);
|
|
84
|
+
this.setError(shouldShowError ? true : 'auto');
|
|
84
85
|
}
|
|
85
86
|
});
|
|
86
87
|
});
|
|
@@ -2,7 +2,6 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
|
2
2
|
|
|
3
3
|
@Component({
|
|
4
4
|
selector: 'hlm-input-otp-fake-caret',
|
|
5
|
-
standalone: true,
|
|
6
5
|
template: `
|
|
7
6
|
<div class="pointer-events-none absolute inset-0 flex items-center justify-center">
|
|
8
7
|
<div class="animate-caret-blink bg-foreground h-4 w-px duration-1000"></div>
|