@spartan-ng/cli 0.0.1-alpha.665 → 0.0.1-alpha.667
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/accordion/files/index.ts.template +1 -9
- package/src/generators/ui/libs/accordion/files/lib/hlm-accordion-content.ts.template +8 -2
- package/src/generators/ui/libs/accordion/files/lib/hlm-accordion-item.ts.template +6 -3
- package/src/generators/ui/libs/accordion/files/lib/hlm-accordion-trigger.ts.template +36 -15
- package/src/generators/ui/libs/accordion/files/lib/hlm-accordion.ts.template +5 -2
- package/src/generators/ui/libs/aspect-ratio/files/index.ts.template +2 -2
- package/src/generators/ui/libs/aspect-ratio/files/lib/{helm-aspect-ratio.ts.template → hlm-aspect-ratio.ts.template} +5 -5
- package/src/generators/ui/libs/avatar/files/lib/hlm-avatar-badge.ts.template +3 -3
- package/src/generators/ui/libs/avatar/files/lib/hlm-avatar-fallback.ts.template +1 -1
- package/src/generators/ui/libs/avatar/files/lib/hlm-avatar-image.ts.template +1 -1
- package/src/generators/ui/libs/avatar/files/lib/hlm-avatar.ts.template +1 -1
- package/src/generators/ui/libs/breadcrumb/files/index.ts.template +6 -1
- package/src/generators/ui/libs/breadcrumb/files/lib/hlm-breadcrumb-ellipsis.ts.template +4 -2
- package/src/generators/ui/libs/breadcrumb/files/lib/hlm-breadcrumb-item.ts.template +4 -1
- package/src/generators/ui/libs/breadcrumb/files/lib/hlm-breadcrumb-link.ts.template +7 -4
- package/src/generators/ui/libs/breadcrumb/files/lib/hlm-breadcrumb-list.ts.template +4 -1
- package/src/generators/ui/libs/breadcrumb/files/lib/hlm-breadcrumb-page.ts.template +2 -1
- package/src/generators/ui/libs/breadcrumb/files/lib/hlm-breadcrumb-separator.ts.template +2 -1
- package/src/generators/ui/libs/breadcrumb/files/lib/hlm-breadcrumb.ts.template +1 -0
- package/src/generators/ui/style-luma.css +21 -21
- package/src/generators/ui/style-lyra.css +2 -2
- package/src/generators/ui/style-maia.css +2 -2
- package/src/generators/ui/style-mira.css +2 -2
- package/src/generators/ui/style-nova.css +2 -2
- package/src/generators/ui/style-vega.css +2 -2
- package/src/generators/ui/supported-ui-libraries.json +43 -42
- package/src/generators/ui/libs/accordion/files/lib/hlm-accordion-icon.ts.template +0 -18
package/package.json
CHANGED
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
import { HlmAccordion } from './lib/hlm-accordion';
|
|
2
2
|
import { HlmAccordionContent } from './lib/hlm-accordion-content';
|
|
3
|
-
import { HlmAccordionIcon } from './lib/hlm-accordion-icon';
|
|
4
3
|
import { HlmAccordionItem } from './lib/hlm-accordion-item';
|
|
5
4
|
import { HlmAccordionTrigger } from './lib/hlm-accordion-trigger';
|
|
6
5
|
|
|
7
6
|
export * from './lib/hlm-accordion';
|
|
8
7
|
export * from './lib/hlm-accordion-content';
|
|
9
|
-
export * from './lib/hlm-accordion-icon';
|
|
10
8
|
export * from './lib/hlm-accordion-item';
|
|
11
9
|
export * from './lib/hlm-accordion-trigger';
|
|
12
10
|
|
|
13
|
-
export const HlmAccordionImports = [
|
|
14
|
-
HlmAccordion,
|
|
15
|
-
HlmAccordionItem,
|
|
16
|
-
HlmAccordionTrigger,
|
|
17
|
-
HlmAccordionIcon,
|
|
18
|
-
HlmAccordionContent,
|
|
19
|
-
] as const;
|
|
11
|
+
export const HlmAccordionImports = [HlmAccordion, HlmAccordionItem, HlmAccordionContent, HlmAccordionTrigger] as const;
|
|
@@ -6,8 +6,13 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
6
6
|
selector: 'hlm-accordion-content',
|
|
7
7
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
8
8
|
hostDirectives: [{ directive: BrnAccordionContent, inputs: ['style'] }],
|
|
9
|
+
host: {
|
|
10
|
+
'data-slot': 'accordion-content',
|
|
11
|
+
},
|
|
9
12
|
template: `
|
|
10
|
-
<div
|
|
13
|
+
<div
|
|
14
|
+
class="spartan-accordion-content-inner [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3 [&_p:not(:last-child)]:mb-4"
|
|
15
|
+
>
|
|
11
16
|
<ng-content />
|
|
12
17
|
</div>
|
|
13
18
|
`,
|
|
@@ -15,7 +20,8 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
15
20
|
export class HlmAccordionContent {
|
|
16
21
|
constructor() {
|
|
17
22
|
classes(
|
|
18
|
-
() =>
|
|
23
|
+
() =>
|
|
24
|
+
'spartan-accordion-content transition-all data-[state=closed]:h-0 data-[state=open]:h-(--brn-accordion-content-height)',
|
|
19
25
|
);
|
|
20
26
|
}
|
|
21
27
|
}
|
|
@@ -3,17 +3,20 @@ import { BrnAccordionItem } from '@spartan-ng/brain/accordion';
|
|
|
3
3
|
import { classes } from '<%- importAlias %>/utils';
|
|
4
4
|
|
|
5
5
|
@Directive({
|
|
6
|
-
selector: '[hlmAccordionItem],
|
|
6
|
+
selector: '[hlmAccordionItem],hlm-accordion-item',
|
|
7
7
|
hostDirectives: [
|
|
8
8
|
{
|
|
9
9
|
directive: BrnAccordionItem,
|
|
10
|
-
inputs: ['isOpened'],
|
|
10
|
+
inputs: ['isOpened', 'disabled'],
|
|
11
11
|
outputs: ['openedChange'],
|
|
12
12
|
},
|
|
13
13
|
],
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'accordion-item',
|
|
16
|
+
},
|
|
14
17
|
})
|
|
15
18
|
export class HlmAccordionItem {
|
|
16
19
|
constructor() {
|
|
17
|
-
classes(() => '
|
|
20
|
+
classes(() => 'spartan-accordion-item flex flex-col');
|
|
18
21
|
}
|
|
19
22
|
}
|
|
@@ -1,19 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
|
|
2
|
+
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
3
|
+
import { lucideChevronDown, lucideChevronUp } from '@ng-icons/lucide';
|
|
4
|
+
import { BrnAccordionImports } from '@spartan-ng/brain/accordion';
|
|
5
|
+
import { hlm } from '<%- importAlias %>/utils';
|
|
6
|
+
import type { ClassValue } from 'clsx';
|
|
4
7
|
|
|
5
|
-
@
|
|
6
|
-
selector: '
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
@Component({
|
|
9
|
+
selector: 'hlm-accordion-trigger',
|
|
10
|
+
imports: [BrnAccordionImports, NgIcon],
|
|
11
|
+
providers: [provideIcons({ lucideChevronDown, lucideChevronUp })],
|
|
12
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13
|
+
template: `
|
|
14
|
+
<h3 brnAccordionHeader class="flex">
|
|
15
|
+
<button brnAccordionTrigger data-slot="accordion-trigger" [class]="_computedTriggerClass()">
|
|
16
|
+
<ng-content />
|
|
17
|
+
<ng-icon
|
|
18
|
+
name="lucideChevronDown"
|
|
19
|
+
data-slot="accordion-trigger-icon"
|
|
20
|
+
class="spartan-accordion-trigger-icon pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden"
|
|
21
|
+
/>
|
|
22
|
+
<ng-icon
|
|
23
|
+
name="lucideChevronUp"
|
|
24
|
+
data-slot="accordion-trigger-icon"
|
|
25
|
+
class="spartan-accordion-trigger-icon pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:inline group-aria-[expanded=false]/accordion-trigger:hidden"
|
|
26
|
+
/>
|
|
27
|
+
</button>
|
|
28
|
+
</h3>
|
|
29
|
+
`,
|
|
11
30
|
})
|
|
12
31
|
export class HlmAccordionTrigger {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
32
|
+
public readonly triggerClass = input<ClassValue>('');
|
|
33
|
+
|
|
34
|
+
protected readonly _computedTriggerClass = computed(() =>
|
|
35
|
+
hlm(
|
|
36
|
+
'spartan-accordion-trigger group/accordion-trigger relative flex flex-1 items-start justify-between border border-transparent transition-all outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50',
|
|
37
|
+
this.triggerClass(),
|
|
38
|
+
),
|
|
39
|
+
);
|
|
19
40
|
}
|
|
@@ -4,10 +4,13 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
4
4
|
|
|
5
5
|
@Directive({
|
|
6
6
|
selector: '[hlmAccordion], hlm-accordion',
|
|
7
|
-
hostDirectives: [{ directive: BrnAccordion, inputs: ['type', '
|
|
7
|
+
hostDirectives: [{ directive: BrnAccordion, inputs: ['type', 'orientation'] }],
|
|
8
|
+
host: {
|
|
9
|
+
'data-slot': 'accordion',
|
|
10
|
+
},
|
|
8
11
|
})
|
|
9
12
|
export class HlmAccordion {
|
|
10
13
|
constructor() {
|
|
11
|
-
classes(() => 'flex
|
|
14
|
+
classes(() => 'spartan-accordion flex w-full flex-col');
|
|
12
15
|
}
|
|
13
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HlmAspectRatio } from './lib/
|
|
1
|
+
import { HlmAspectRatio } from './lib/hlm-aspect-ratio';
|
|
2
2
|
|
|
3
|
-
export * from './lib/
|
|
3
|
+
export * from './lib/hlm-aspect-ratio';
|
|
4
4
|
|
|
5
5
|
export const HlmAspectRatioImports = [HlmAspectRatio] as const;
|
|
@@ -12,7 +12,10 @@ const parseDividedString = (value: NumberInput): NumberInput => {
|
|
|
12
12
|
|
|
13
13
|
@Directive({
|
|
14
14
|
selector: '[hlmAspectRatio]',
|
|
15
|
-
host: {
|
|
15
|
+
host: {
|
|
16
|
+
'data-slot': 'aspect-ratio',
|
|
17
|
+
'[style.--ratio]': 'ratio()',
|
|
18
|
+
},
|
|
16
19
|
})
|
|
17
20
|
export class HlmAspectRatio {
|
|
18
21
|
/**
|
|
@@ -27,9 +30,6 @@ export class HlmAspectRatio {
|
|
|
27
30
|
});
|
|
28
31
|
|
|
29
32
|
constructor() {
|
|
30
|
-
classes(
|
|
31
|
-
() =>
|
|
32
|
-
'relative w-full [&>*:first-child]:absolute [&>*:first-child]:h-full [&>*:first-child]:w-full [&>*:first-child]:object-cover',
|
|
33
|
-
);
|
|
33
|
+
classes(() => 'relative aspect-(--ratio)');
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -10,10 +10,10 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
10
10
|
export class HlmAvatarBadge {
|
|
11
11
|
constructor() {
|
|
12
12
|
classes(() => [
|
|
13
|
-
'
|
|
13
|
+
'spartan-avatar-badge absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-blend-color ring-2 select-none',
|
|
14
14
|
'group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>ng-icon]:hidden',
|
|
15
|
-
'group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>ng-icon]:text-[
|
|
16
|
-
'group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>ng-icon]:text-[
|
|
15
|
+
'group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>ng-icon]:text-[calc(var(--spacing)*2)]',
|
|
16
|
+
'group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>ng-icon]:text-[calc(var(--spacing)*2)]',
|
|
17
17
|
]);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -14,7 +14,7 @@ export class HlmAvatarFallback {
|
|
|
14
14
|
constructor() {
|
|
15
15
|
classes(
|
|
16
16
|
() =>
|
|
17
|
-
'
|
|
17
|
+
'spartan-avatar-fallback flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs',
|
|
18
18
|
);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -14,6 +14,6 @@ export class HlmAvatarImage {
|
|
|
14
14
|
public readonly canShow = inject(BrnAvatarImage).canShow;
|
|
15
15
|
|
|
16
16
|
constructor() {
|
|
17
|
-
classes(() => 'aspect-square size-full
|
|
17
|
+
classes(() => 'spartan-avatar-image aspect-square size-full object-cover');
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -25,7 +25,7 @@ export class HlmAvatar extends BrnAvatar {
|
|
|
25
25
|
super();
|
|
26
26
|
classes(
|
|
27
27
|
() =>
|
|
28
|
-
'after:border-border
|
|
28
|
+
'spartan-avatar group/avatar after:border-border relative flex shrink-0 select-none after:absolute after:inset-0 after:border after:mix-blend-darken dark:after:mix-blend-lighten',
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -14,7 +14,7 @@ export * from './lib/hlm-breadcrumb-list';
|
|
|
14
14
|
export * from './lib/hlm-breadcrumb-page';
|
|
15
15
|
export * from './lib/hlm-breadcrumb-separator';
|
|
16
16
|
|
|
17
|
-
export const
|
|
17
|
+
export const HlmBreadcrumbImports = [
|
|
18
18
|
HlmBreadcrumb,
|
|
19
19
|
HlmBreadcrumbEllipsis,
|
|
20
20
|
HlmBreadcrumbSeparator,
|
|
@@ -23,3 +23,8 @@ export const HlmBreadCrumbImports = [
|
|
|
23
23
|
HlmBreadcrumbPage,
|
|
24
24
|
HlmBreadcrumbList,
|
|
25
25
|
] as const;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated Use `HlmBreadcrumbImports` instead.
|
|
29
|
+
*/
|
|
30
|
+
export const HlmBreadCrumbImports = HlmBreadcrumbImports;
|
|
@@ -11,7 +11,7 @@ import type { ClassValue } from 'clsx';
|
|
|
11
11
|
providers: [provideIcons({ lucideEllipsis })],
|
|
12
12
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13
13
|
template: `
|
|
14
|
-
<span role="presentation" aria-hidden="true" [class]="_computedClass()">
|
|
14
|
+
<span data-slot="breadcrumb-ellipsis" role="presentation" aria-hidden="true" [class]="_computedClass()">
|
|
15
15
|
<ng-icon hlm size="sm" name="lucideEllipsis" />
|
|
16
16
|
<span class="sr-only">{{ srOnlyText() }}</span>
|
|
17
17
|
</span>
|
|
@@ -22,5 +22,7 @@ export class HlmBreadcrumbEllipsis {
|
|
|
22
22
|
/** Screen reader only text for the ellipsis */
|
|
23
23
|
public readonly srOnlyText = input<string>('More');
|
|
24
24
|
|
|
25
|
-
protected readonly _computedClass = computed(() =>
|
|
25
|
+
protected readonly _computedClass = computed(() =>
|
|
26
|
+
hlm('spartan-breadcrumb-ellipsis flex items-center justify-center', this.userClass()),
|
|
27
|
+
);
|
|
26
28
|
}
|
|
@@ -3,9 +3,12 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
3
3
|
|
|
4
4
|
@Directive({
|
|
5
5
|
selector: '[hlmBreadcrumbItem]',
|
|
6
|
+
host: {
|
|
7
|
+
'data-slot': 'breadcrumb-item',
|
|
8
|
+
},
|
|
6
9
|
})
|
|
7
10
|
export class HlmBreadcrumbItem {
|
|
8
11
|
constructor() {
|
|
9
|
-
classes(() => 'inline-flex items-center
|
|
12
|
+
classes(() => 'spartan-breadcrumb-item inline-flex items-center');
|
|
10
13
|
}
|
|
11
14
|
}
|
|
@@ -22,12 +22,15 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
22
22
|
],
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
|
+
host: {
|
|
26
|
+
'data-slot': 'breadcrumb-link',
|
|
27
|
+
},
|
|
25
28
|
})
|
|
26
29
|
export class HlmBreadcrumbLink {
|
|
27
|
-
constructor() {
|
|
28
|
-
classes(() => 'hover:text-foreground transition-colors');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
30
|
/** The link to navigate to the page. */
|
|
32
31
|
public readonly link = input<RouterLink['routerLink']>();
|
|
32
|
+
|
|
33
|
+
constructor() {
|
|
34
|
+
classes(() => 'spartan-breadcrumb-link');
|
|
35
|
+
}
|
|
33
36
|
}
|
|
@@ -3,9 +3,12 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
3
3
|
|
|
4
4
|
@Directive({
|
|
5
5
|
selector: '[hlmBreadcrumbList]',
|
|
6
|
+
host: {
|
|
7
|
+
'data-slot': 'breadcrumb-list',
|
|
8
|
+
},
|
|
6
9
|
})
|
|
7
10
|
export class HlmBreadcrumbList {
|
|
8
11
|
constructor() {
|
|
9
|
-
classes(() => '
|
|
12
|
+
classes(() => 'spartan-breadcrumb-list flex flex-wrap items-center wrap-break-word');
|
|
10
13
|
}
|
|
11
14
|
}
|
|
@@ -4,6 +4,7 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
4
4
|
@Directive({
|
|
5
5
|
selector: '[hlmBreadcrumbPage]',
|
|
6
6
|
host: {
|
|
7
|
+
'data-slot': 'breadcrumb-page',
|
|
7
8
|
role: 'link',
|
|
8
9
|
'aria-disabled': 'true',
|
|
9
10
|
'aria-current': 'page',
|
|
@@ -11,6 +12,6 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
11
12
|
})
|
|
12
13
|
export class HlmBreadcrumbPage {
|
|
13
14
|
constructor() {
|
|
14
|
-
classes(() => '
|
|
15
|
+
classes(() => 'spartan-breadcrumb-page');
|
|
15
16
|
}
|
|
16
17
|
}
|
|
@@ -10,6 +10,7 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
10
10
|
providers: [provideIcons({ lucideChevronRight })],
|
|
11
11
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
12
12
|
host: {
|
|
13
|
+
'data-slot': 'breadcrumb-separator',
|
|
13
14
|
role: 'presentation',
|
|
14
15
|
'aria-hidden': 'true',
|
|
15
16
|
},
|
|
@@ -21,6 +22,6 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
21
22
|
})
|
|
22
23
|
export class HlmBreadcrumbSeparator {
|
|
23
24
|
constructor() {
|
|
24
|
-
classes(() => '
|
|
25
|
+
classes(() => 'spartan-breadcrumb-separator [&>ng-icon]:flex');
|
|
25
26
|
}
|
|
26
27
|
}
|
|
@@ -1,4 +1,25 @@
|
|
|
1
1
|
.style-luma {
|
|
2
|
+
/* MARK: Accordion */
|
|
3
|
+
.spartan-accordion {
|
|
4
|
+
@apply overflow-hidden rounded-2xl border;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.spartan-accordion-item {
|
|
8
|
+
@apply data-open:bg-muted/50 not-last:border-b;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.spartan-accordion-trigger {
|
|
12
|
+
@apply **:data-[slot=accordion-trigger-icon]:text-muted-foreground! gap-6 p-4 text-start text-sm font-medium hover:underline **:data-[slot=accordion-trigger-icon]:ms-auto **:data-[slot=accordion-trigger-icon]:text-[calc(var(--spacing)*4)];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.spartan-accordion-content {
|
|
16
|
+
@apply px-4 text-sm;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.spartan-accordion-content-inner {
|
|
20
|
+
@apply pt-0 pb-4;
|
|
21
|
+
}
|
|
22
|
+
|
|
2
23
|
/* MARK: Slider */
|
|
3
24
|
.spartan-slider {
|
|
4
25
|
@apply data-vertical:min-h-40;
|
|
@@ -423,27 +444,6 @@
|
|
|
423
444
|
@apply rounded-b-4xl px-6 group-data-[size=sm]/card:px-4 [.border-t]:pt-6 group-data-[size=sm]/card:[.border-t]:pt-4;
|
|
424
445
|
}
|
|
425
446
|
|
|
426
|
-
/* MARK: Accordion */
|
|
427
|
-
.spartan-accordion {
|
|
428
|
-
@apply overflow-hidden rounded-2xl border;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
.spartan-accordion-item {
|
|
432
|
-
@apply data-open:bg-muted/50 not-last:border-b;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
.spartan-accordion-trigger {
|
|
436
|
-
@apply **:data-[slot=accordion-trigger-icon]:text-muted-foreground gap-6 p-4 text-start text-sm font-medium hover:underline **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
.spartan-accordion-content {
|
|
440
|
-
@apply data-open:animate-accordion-down data-closed:animate-accordion-up px-4 text-sm;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
.spartan-accordion-content-inner {
|
|
444
|
-
@apply pt-0 pb-4;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
447
|
/* MARK: Alert Dialog */
|
|
448
448
|
.spartan-alert-dialog-overlay {
|
|
449
449
|
@apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/30 duration-100 supports-backdrop-filter:backdrop-blur-sm;
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.spartan-accordion-trigger {
|
|
8
|
-
@apply focus-visible:ring-ring/50 focus-visible:border-ring focus-visible:after:border-ring **:data-[slot=accordion-trigger-icon]:text-muted-foreground rounded-none py-2.5 text-start text-xs font-medium hover:underline focus-visible:ring-1 **:data-[slot=accordion-trigger-icon]:
|
|
8
|
+
@apply focus-visible:ring-ring/50 focus-visible:border-ring focus-visible:after:border-ring **:data-[slot=accordion-trigger-icon]:text-muted-foreground! rounded-none py-2.5 text-start text-xs font-medium hover:underline focus-visible:ring-1 **:data-[slot=accordion-trigger-icon]:ms-auto **:data-[slot=accordion-trigger-icon]:text-[calc(var(--spacing)*4)];
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.spartan-accordion-content {
|
|
12
|
-
@apply
|
|
12
|
+
@apply text-xs;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.spartan-accordion-content-inner {
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.spartan-accordion-trigger {
|
|
12
|
-
@apply **:data-[slot=accordion-trigger-icon]:text-muted-foreground gap-6 p-4 text-start text-sm font-medium hover:underline **:data-[slot=accordion-trigger-icon]:
|
|
12
|
+
@apply **:data-[slot=accordion-trigger-icon]:text-muted-foreground! gap-6 p-4 text-start text-sm font-medium hover:underline **:data-[slot=accordion-trigger-icon]:ms-auto **:data-[slot=accordion-trigger-icon]:text-[calc(var(--spacing)*4)];
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.spartan-accordion-content {
|
|
16
|
-
@apply
|
|
16
|
+
@apply px-4 text-sm;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.spartan-accordion-content-inner {
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.spartan-accordion-trigger {
|
|
12
|
-
@apply **:data-[slot=accordion-trigger-icon]:text-muted-foreground gap-6 p-2 text-start text-xs/relaxed font-medium hover:underline **:data-[slot=accordion-trigger-icon]:
|
|
12
|
+
@apply **:data-[slot=accordion-trigger-icon]:text-muted-foreground! gap-6 p-2 text-start text-xs/relaxed font-medium hover:underline **:data-[slot=accordion-trigger-icon]:ms-auto **:data-[slot=accordion-trigger-icon]:text-[calc(var(--spacing)*4)];
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.spartan-accordion-content {
|
|
16
|
-
@apply
|
|
16
|
+
@apply px-2 text-xs/relaxed;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.spartan-accordion-content-inner {
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.spartan-accordion-trigger {
|
|
8
|
-
@apply focus-visible:ring-ring/50 focus-visible:border-ring focus-visible:after:border-ring **:data-[slot=accordion-trigger-icon]:text-muted-foreground rounded-lg py-2.5 text-start text-sm font-medium hover:underline focus-visible:ring-3 **:data-[slot=accordion-trigger-icon]:
|
|
8
|
+
@apply focus-visible:ring-ring/50 focus-visible:border-ring focus-visible:after:border-ring **:data-[slot=accordion-trigger-icon]:text-muted-foreground! rounded-lg py-2.5 text-start text-sm font-medium hover:underline focus-visible:ring-3 **:data-[slot=accordion-trigger-icon]:ms-auto **:data-[slot=accordion-trigger-icon]:text-[calc(var(--spacing)*4)];
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.spartan-accordion-content {
|
|
12
|
-
@apply
|
|
12
|
+
@apply text-sm;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.spartan-accordion-content-inner {
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.spartan-accordion-trigger {
|
|
8
|
-
@apply focus-visible:ring-ring/50 focus-visible:border-ring focus-visible:after:border-ring **:data-[slot=accordion-trigger-icon]:text-muted-foreground rounded-md py-4 text-start text-sm font-medium hover:underline focus-visible:ring-3 **:data-[slot=accordion-trigger-icon]:
|
|
8
|
+
@apply focus-visible:ring-ring/50 focus-visible:border-ring focus-visible:after:border-ring **:data-[slot=accordion-trigger-icon]:text-muted-foreground! rounded-md py-4 text-start text-sm font-medium hover:underline focus-visible:ring-3 **:data-[slot=accordion-trigger-icon]:ms-auto **:data-[slot=accordion-trigger-icon]:text-[calc(var(--spacing)*4)];
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.spartan-accordion-content {
|
|
12
|
-
@apply
|
|
12
|
+
@apply text-sm;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.spartan-accordion-content-inner {
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
"name": "accordion",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
6
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
6
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
7
7
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
8
|
-
"@ng-icons/lucide": ">=32.0.0 <34.0.0"
|
|
8
|
+
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
9
|
+
"clsx": "^2.1.1"
|
|
9
10
|
}
|
|
10
11
|
},
|
|
11
12
|
"alert": {
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
"name": "alert-dialog",
|
|
20
21
|
"peerDependencies": {
|
|
21
22
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
22
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
23
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
23
24
|
"clsx": "^2.1.1"
|
|
24
25
|
}
|
|
25
26
|
},
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
"peerDependencies": {
|
|
36
37
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
37
38
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
38
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
39
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
39
40
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
40
41
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
41
42
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0"
|
|
@@ -45,7 +46,7 @@
|
|
|
45
46
|
"name": "avatar",
|
|
46
47
|
"peerDependencies": {
|
|
47
48
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
48
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
49
|
+
"@spartan-ng/brain": "0.0.1-alpha.667"
|
|
49
50
|
}
|
|
50
51
|
},
|
|
51
52
|
"badge": {
|
|
@@ -69,7 +70,7 @@
|
|
|
69
70
|
"name": "button",
|
|
70
71
|
"peerDependencies": {
|
|
71
72
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
72
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
73
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
73
74
|
"class-variance-authority": "^0.7.0",
|
|
74
75
|
"clsx": "^2.1.1"
|
|
75
76
|
}
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
"name": "button-group",
|
|
79
80
|
"peerDependencies": {
|
|
80
81
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
81
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
82
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
82
83
|
"class-variance-authority": "^0.7.0"
|
|
83
84
|
}
|
|
84
85
|
},
|
|
@@ -90,7 +91,7 @@
|
|
|
90
91
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
91
92
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
92
93
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
93
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
94
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
94
95
|
"clsx": "^2.1.1"
|
|
95
96
|
}
|
|
96
97
|
},
|
|
@@ -118,7 +119,7 @@
|
|
|
118
119
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
119
120
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
120
121
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
121
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
122
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
122
123
|
"clsx": "^2.1.1"
|
|
123
124
|
}
|
|
124
125
|
},
|
|
@@ -126,7 +127,7 @@
|
|
|
126
127
|
"name": "collapsible",
|
|
127
128
|
"peerDependencies": {
|
|
128
129
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
129
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
130
|
+
"@spartan-ng/brain": "0.0.1-alpha.667"
|
|
130
131
|
}
|
|
131
132
|
},
|
|
132
133
|
"combobox": {
|
|
@@ -134,7 +135,7 @@
|
|
|
134
135
|
"peerDependencies": {
|
|
135
136
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
136
137
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
137
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
138
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
138
139
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
139
140
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
140
141
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
@@ -146,7 +147,7 @@
|
|
|
146
147
|
"peerDependencies": {
|
|
147
148
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
148
149
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
149
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
150
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
150
151
|
"clsx": "^2.1.1",
|
|
151
152
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
152
153
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0"
|
|
@@ -156,7 +157,7 @@
|
|
|
156
157
|
"name": "context-menu",
|
|
157
158
|
"peerDependencies": {
|
|
158
159
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
159
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
160
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
160
161
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
161
162
|
"rxjs": "^7.8.0"
|
|
162
163
|
}
|
|
@@ -169,7 +170,7 @@
|
|
|
169
170
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
170
171
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
171
172
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
172
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
173
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
173
174
|
"clsx": "^2.1.1"
|
|
174
175
|
}
|
|
175
176
|
},
|
|
@@ -177,7 +178,7 @@
|
|
|
177
178
|
"name": "dialog",
|
|
178
179
|
"peerDependencies": {
|
|
179
180
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
180
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
181
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
181
182
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
182
183
|
"@angular/common": ">=20.0.0 <22.0.0",
|
|
183
184
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
@@ -193,7 +194,7 @@
|
|
|
193
194
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
194
195
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
195
196
|
"rxjs": "^7.8.0",
|
|
196
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
197
|
+
"@spartan-ng/brain": "0.0.1-alpha.667"
|
|
197
198
|
}
|
|
198
199
|
},
|
|
199
200
|
"empty": {
|
|
@@ -207,7 +208,7 @@
|
|
|
207
208
|
"name": "field",
|
|
208
209
|
"peerDependencies": {
|
|
209
210
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
210
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
211
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
211
212
|
"clsx": "^2.1.1",
|
|
212
213
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
213
214
|
"class-variance-authority": "^0.7.0"
|
|
@@ -217,7 +218,7 @@
|
|
|
217
218
|
"name": "hover-card",
|
|
218
219
|
"peerDependencies": {
|
|
219
220
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
220
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
221
|
+
"@spartan-ng/brain": "0.0.1-alpha.667"
|
|
221
222
|
}
|
|
222
223
|
},
|
|
223
224
|
"icon": {
|
|
@@ -233,7 +234,7 @@
|
|
|
233
234
|
"peerDependencies": {
|
|
234
235
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
235
236
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
236
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
237
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
237
238
|
"class-variance-authority": "^0.7.0"
|
|
238
239
|
}
|
|
239
240
|
},
|
|
@@ -242,7 +243,7 @@
|
|
|
242
243
|
"peerDependencies": {
|
|
243
244
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
244
245
|
"class-variance-authority": "^0.7.0",
|
|
245
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
246
|
+
"@spartan-ng/brain": "0.0.1-alpha.667"
|
|
246
247
|
}
|
|
247
248
|
},
|
|
248
249
|
"input-otp": {
|
|
@@ -252,7 +253,7 @@
|
|
|
252
253
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
253
254
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
254
255
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
255
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
256
|
+
"@spartan-ng/brain": "0.0.1-alpha.667"
|
|
256
257
|
}
|
|
257
258
|
},
|
|
258
259
|
"item": {
|
|
@@ -260,7 +261,7 @@
|
|
|
260
261
|
"peerDependencies": {
|
|
261
262
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
262
263
|
"class-variance-authority": "^0.7.0",
|
|
263
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
264
|
+
"@spartan-ng/brain": "0.0.1-alpha.667"
|
|
264
265
|
}
|
|
265
266
|
},
|
|
266
267
|
"kbd": {
|
|
@@ -273,14 +274,14 @@
|
|
|
273
274
|
"name": "label",
|
|
274
275
|
"peerDependencies": {
|
|
275
276
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
276
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
277
|
+
"@spartan-ng/brain": "0.0.1-alpha.667"
|
|
277
278
|
}
|
|
278
279
|
},
|
|
279
280
|
"menubar": {
|
|
280
281
|
"name": "menubar",
|
|
281
282
|
"peerDependencies": {
|
|
282
283
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
283
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
284
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
284
285
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
285
286
|
"rxjs": "^7.8.0"
|
|
286
287
|
}
|
|
@@ -293,7 +294,7 @@
|
|
|
293
294
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
294
295
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
295
296
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
296
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
297
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
297
298
|
"clsx": "^2.1.1"
|
|
298
299
|
}
|
|
299
300
|
},
|
|
@@ -301,7 +302,7 @@
|
|
|
301
302
|
"name": "navigation-menu",
|
|
302
303
|
"peerDependencies": {
|
|
303
304
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
304
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
305
|
+
"@spartan-ng/brain": "0.0.1-alpha.667"
|
|
305
306
|
}
|
|
306
307
|
},
|
|
307
308
|
"pagination": {
|
|
@@ -319,14 +320,14 @@
|
|
|
319
320
|
"name": "popover",
|
|
320
321
|
"peerDependencies": {
|
|
321
322
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
322
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
323
|
+
"@spartan-ng/brain": "0.0.1-alpha.667"
|
|
323
324
|
}
|
|
324
325
|
},
|
|
325
326
|
"progress": {
|
|
326
327
|
"name": "progress",
|
|
327
328
|
"peerDependencies": {
|
|
328
329
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
329
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
330
|
+
"@spartan-ng/brain": "0.0.1-alpha.667"
|
|
330
331
|
}
|
|
331
332
|
},
|
|
332
333
|
"radio-group": {
|
|
@@ -334,7 +335,7 @@
|
|
|
334
335
|
"peerDependencies": {
|
|
335
336
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
336
337
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
337
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
338
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
338
339
|
"clsx": "^2.1.1",
|
|
339
340
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
340
341
|
"@angular/common": ">=20.0.0 <22.0.0"
|
|
@@ -344,7 +345,7 @@
|
|
|
344
345
|
"name": "resizable",
|
|
345
346
|
"peerDependencies": {
|
|
346
347
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
347
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
348
|
+
"@spartan-ng/brain": "0.0.1-alpha.667"
|
|
348
349
|
}
|
|
349
350
|
},
|
|
350
351
|
"scroll-area": {
|
|
@@ -359,7 +360,7 @@
|
|
|
359
360
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
360
361
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
361
362
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
362
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
363
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
363
364
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
364
365
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
365
366
|
"clsx": "^2.1.1"
|
|
@@ -369,14 +370,14 @@
|
|
|
369
370
|
"name": "separator",
|
|
370
371
|
"peerDependencies": {
|
|
371
372
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
372
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
373
|
+
"@spartan-ng/brain": "0.0.1-alpha.667"
|
|
373
374
|
}
|
|
374
375
|
},
|
|
375
376
|
"sheet": {
|
|
376
377
|
"name": "sheet",
|
|
377
378
|
"peerDependencies": {
|
|
378
379
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
379
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
380
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
380
381
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
381
382
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
382
383
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
@@ -389,7 +390,7 @@
|
|
|
389
390
|
"peerDependencies": {
|
|
390
391
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
391
392
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
392
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
393
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
393
394
|
"class-variance-authority": "^0.7.0",
|
|
394
395
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
395
396
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
@@ -408,7 +409,7 @@
|
|
|
408
409
|
"peerDependencies": {
|
|
409
410
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
410
411
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
411
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
412
|
+
"@spartan-ng/brain": "0.0.1-alpha.667"
|
|
412
413
|
}
|
|
413
414
|
},
|
|
414
415
|
"sonner": {
|
|
@@ -418,7 +419,7 @@
|
|
|
418
419
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
419
420
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
420
421
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
421
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
422
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
422
423
|
"clsx": "^2.1.1"
|
|
423
424
|
}
|
|
424
425
|
},
|
|
@@ -436,7 +437,7 @@
|
|
|
436
437
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
437
438
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
438
439
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
439
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
440
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
440
441
|
"clsx": "^2.1.1"
|
|
441
442
|
}
|
|
442
443
|
},
|
|
@@ -450,7 +451,7 @@
|
|
|
450
451
|
"name": "tabs",
|
|
451
452
|
"peerDependencies": {
|
|
452
453
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
453
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
454
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
454
455
|
"class-variance-authority": "^0.7.0",
|
|
455
456
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
456
457
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
@@ -464,7 +465,7 @@
|
|
|
464
465
|
"peerDependencies": {
|
|
465
466
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
466
467
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
467
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
468
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
468
469
|
"class-variance-authority": "^0.7.0"
|
|
469
470
|
}
|
|
470
471
|
},
|
|
@@ -472,7 +473,7 @@
|
|
|
472
473
|
"name": "toggle",
|
|
473
474
|
"peerDependencies": {
|
|
474
475
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
475
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
476
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
476
477
|
"class-variance-authority": "^0.7.0"
|
|
477
478
|
}
|
|
478
479
|
},
|
|
@@ -480,7 +481,7 @@
|
|
|
480
481
|
"name": "toggle-group",
|
|
481
482
|
"peerDependencies": {
|
|
482
483
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
483
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
484
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
484
485
|
"@angular/cdk": ">=20.0.0 <22.0.0"
|
|
485
486
|
}
|
|
486
487
|
},
|
|
@@ -488,7 +489,7 @@
|
|
|
488
489
|
"name": "tooltip",
|
|
489
490
|
"peerDependencies": {
|
|
490
491
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
491
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
492
|
+
"@spartan-ng/brain": "0.0.1-alpha.667",
|
|
492
493
|
"class-variance-authority": "^0.7.0"
|
|
493
494
|
}
|
|
494
495
|
},
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import { provideIcons } from '@ng-icons/core';
|
|
3
|
-
import { lucideChevronDown } from '@ng-icons/lucide';
|
|
4
|
-
import { provideHlmIconConfig } from '<%- importAlias %>/icon';
|
|
5
|
-
import { classes } from '<%- importAlias %>/utils';
|
|
6
|
-
|
|
7
|
-
@Directive({
|
|
8
|
-
selector: 'ng-icon[hlmAccordionIcon], ng-icon[hlmAccIcon]',
|
|
9
|
-
providers: [provideIcons({ lucideChevronDown }), provideHlmIconConfig({ size: 'sm' })],
|
|
10
|
-
})
|
|
11
|
-
export class HlmAccordionIcon {
|
|
12
|
-
constructor() {
|
|
13
|
-
classes(
|
|
14
|
-
() =>
|
|
15
|
-
'text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200 group-data-[state=open]:rotate-180',
|
|
16
|
-
);
|
|
17
|
-
}
|
|
18
|
-
}
|