@spartan-ng/cli 0.0.1-alpha.610 → 0.0.1-alpha.612
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/avatar/files/index.ts.template +18 -5
- package/src/generators/ui/libs/avatar/files/lib/hlm-avatar-badge.ts.template +19 -0
- package/src/generators/ui/libs/avatar/files/lib/{fallback/hlm-avatar-fallback.ts.template → hlm-avatar-fallback.ts.template} +8 -6
- package/src/generators/ui/libs/avatar/files/lib/hlm-avatar-group-count.ts.template +17 -0
- package/src/generators/ui/libs/avatar/files/lib/hlm-avatar-group.ts.template +16 -0
- package/src/generators/ui/libs/avatar/files/lib/{image/hlm-avatar-image.ts.template → hlm-avatar-image.ts.template} +4 -1
- package/src/generators/ui/libs/avatar/files/lib/hlm-avatar.ts.template +12 -2
- package/src/generators/ui/libs/badge/files/lib/hlm-badge.ts.template +9 -6
- package/src/generators/ui/libs/button/files/lib/hlm-button.ts.template +2 -1
- package/src/generators/ui/libs/card/files/index.ts.template +4 -4
- package/src/generators/ui/libs/card/files/lib/hlm-card-action.ts.template +3 -0
- package/src/generators/ui/libs/card/files/lib/hlm-card-content.ts.template +4 -1
- package/src/generators/ui/libs/card/files/lib/hlm-card-description.ts.template +3 -0
- package/src/generators/ui/libs/card/files/lib/hlm-card-footer.ts.template +8 -2
- package/src/generators/ui/libs/card/files/lib/hlm-card-header.ts.template +5 -2
- package/src/generators/ui/libs/card/files/lib/hlm-card-title.ts.template +4 -1
- package/src/generators/ui/libs/card/files/lib/hlm-card.ts.template +12 -10
- package/src/generators/ui/libs/radio-group/files/lib/hlm-radio.ts.template +1 -1
- package/src/generators/ui/libs/resizable/files/lib/hlm-resizable-panel.ts.template +9 -2
- package/src/generators/ui/supported-ui-libraries.json +40 -41
- package/src/generators/ui/libs/avatar/files/lib/fallback/index.ts.template +0 -1
- package/src/generators/ui/libs/avatar/files/lib/image/index.ts.template +0 -1
package/package.json
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
|
-
import { HlmAvatarFallback } from './lib/fallback';
|
|
2
1
|
import { HlmAvatar } from './lib/hlm-avatar';
|
|
3
|
-
import {
|
|
2
|
+
import { HlmAvatarBadge } from './lib/hlm-avatar-badge';
|
|
3
|
+
import { HlmAvatarFallback } from './lib/hlm-avatar-fallback';
|
|
4
|
+
import { HlmAvatarGroup } from './lib/hlm-avatar-group';
|
|
5
|
+
import { HlmAvatarGroupCount } from './lib/hlm-avatar-group-count';
|
|
6
|
+
import { HlmAvatarImage } from './lib/hlm-avatar-image';
|
|
4
7
|
|
|
5
|
-
export * from './lib/fallback';
|
|
6
8
|
export * from './lib/hlm-avatar';
|
|
7
|
-
export * from './lib/
|
|
9
|
+
export * from './lib/hlm-avatar-badge';
|
|
10
|
+
export * from './lib/hlm-avatar-fallback';
|
|
11
|
+
export * from './lib/hlm-avatar-group';
|
|
12
|
+
export * from './lib/hlm-avatar-group-count';
|
|
13
|
+
export * from './lib/hlm-avatar-image';
|
|
8
14
|
|
|
9
|
-
export const HlmAvatarImports = [
|
|
15
|
+
export const HlmAvatarImports = [
|
|
16
|
+
HlmAvatar,
|
|
17
|
+
HlmAvatarBadge,
|
|
18
|
+
HlmAvatarFallback,
|
|
19
|
+
HlmAvatarGroup,
|
|
20
|
+
HlmAvatarGroupCount,
|
|
21
|
+
HlmAvatarImage,
|
|
22
|
+
] as const;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { classes } from '<%- importAlias %>/utils';
|
|
3
|
+
|
|
4
|
+
@Directive({
|
|
5
|
+
selector: '[hlmAvatarBadge],hlm-avatar-badge',
|
|
6
|
+
host: {
|
|
7
|
+
'data-slot': 'avatar-badge',
|
|
8
|
+
},
|
|
9
|
+
})
|
|
10
|
+
export class HlmAvatarBadge {
|
|
11
|
+
constructor() {
|
|
12
|
+
classes(() => [
|
|
13
|
+
'bg-primary text-primary-foreground ring-background absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-blend-color ring-2 select-none',
|
|
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-[0.5rem]',
|
|
16
|
+
'group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>ng-icon]:text-[0.5rem]',
|
|
17
|
+
]);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -5,14 +5,16 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
5
5
|
@Directive({
|
|
6
6
|
selector: '[hlmAvatarFallback]',
|
|
7
7
|
exportAs: 'avatarFallback',
|
|
8
|
-
hostDirectives: [
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
],
|
|
8
|
+
hostDirectives: [BrnAvatarFallback],
|
|
9
|
+
host: {
|
|
10
|
+
'data-slot': 'avatar-fallback',
|
|
11
|
+
},
|
|
13
12
|
})
|
|
14
13
|
export class HlmAvatarFallback {
|
|
15
14
|
constructor() {
|
|
16
|
-
classes(
|
|
15
|
+
classes(
|
|
16
|
+
() =>
|
|
17
|
+
'bg-muted text-muted-foreground flex size-full items-center justify-center rounded-full text-sm group-data-[size=sm]/avatar:text-xs',
|
|
18
|
+
);
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { classes } from '<%- importAlias %>/utils';
|
|
3
|
+
|
|
4
|
+
@Directive({
|
|
5
|
+
selector: '[hlmAvatarGroupCount],hlm-avatar-group-count',
|
|
6
|
+
host: {
|
|
7
|
+
'data-slot': 'avatar-group-count',
|
|
8
|
+
},
|
|
9
|
+
})
|
|
10
|
+
export class HlmAvatarGroupCount {
|
|
11
|
+
constructor() {
|
|
12
|
+
classes(
|
|
13
|
+
() =>
|
|
14
|
+
'bg-muted text-muted-foreground ring-background relative flex size-8 shrink-0 items-center justify-center rounded-full text-sm ring-2 group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>ng-icon]:text-base group-has-data-[size=lg]/avatar-group:[&>ng-icon]:text-xl group-has-data-[size=sm]/avatar-group:[&>ng-icon]:text-xs',
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { classes } from '<%- importAlias %>/utils';
|
|
3
|
+
|
|
4
|
+
@Directive({
|
|
5
|
+
selector: '[hlmAvatarGroup],hlm-avatar-group',
|
|
6
|
+
host: {
|
|
7
|
+
'data-slot': 'avatar-group',
|
|
8
|
+
},
|
|
9
|
+
})
|
|
10
|
+
export class HlmAvatarGroup {
|
|
11
|
+
constructor() {
|
|
12
|
+
classes(
|
|
13
|
+
() => '*:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2',
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -6,11 +6,14 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
6
6
|
selector: 'img[hlmAvatarImage]',
|
|
7
7
|
exportAs: 'avatarImage',
|
|
8
8
|
hostDirectives: [BrnAvatarImage],
|
|
9
|
+
host: {
|
|
10
|
+
'data-slot': 'avatar-image',
|
|
11
|
+
},
|
|
9
12
|
})
|
|
10
13
|
export class HlmAvatarImage {
|
|
11
14
|
public readonly canShow = inject(BrnAvatarImage).canShow;
|
|
12
15
|
|
|
13
16
|
constructor() {
|
|
14
|
-
classes(() => 'aspect-square size-full');
|
|
17
|
+
classes(() => 'aspect-square size-full rounded-full object-cover');
|
|
15
18
|
}
|
|
16
19
|
}
|
|
@@ -1,21 +1,31 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
2
|
import { BrnAvatar } from '@spartan-ng/brain/avatar';
|
|
3
3
|
import { classes } from '<%- importAlias %>/utils';
|
|
4
4
|
|
|
5
5
|
@Component({
|
|
6
6
|
selector: 'hlm-avatar',
|
|
7
7
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
8
|
+
host: {
|
|
9
|
+
'data-slot': 'avatar',
|
|
10
|
+
'[attr.data-size]': 'size()',
|
|
11
|
+
},
|
|
8
12
|
template: `
|
|
9
13
|
@if (_image()?.canShow()) {
|
|
10
14
|
<ng-content select="[hlmAvatarImage],[brnAvatarImage]" />
|
|
11
15
|
} @else {
|
|
12
16
|
<ng-content select="[hlmAvatarFallback],[brnAvatarFallback]" />
|
|
13
17
|
}
|
|
18
|
+
<ng-content />
|
|
14
19
|
`,
|
|
15
20
|
})
|
|
16
21
|
export class HlmAvatar extends BrnAvatar {
|
|
22
|
+
public readonly size = input<'default' | 'sm' | 'lg'>('default');
|
|
23
|
+
|
|
17
24
|
constructor() {
|
|
18
25
|
super();
|
|
19
|
-
classes(
|
|
26
|
+
classes(
|
|
27
|
+
() =>
|
|
28
|
+
'after:border-border group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten',
|
|
29
|
+
);
|
|
20
30
|
}
|
|
21
31
|
}
|
|
@@ -3,15 +3,17 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
3
3
|
import { type VariantProps, cva } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
const badgeVariants = cva(
|
|
6
|
-
'focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-
|
|
6
|
+
'focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:ring-[3px] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&>ng-icon]:pointer-events-none [&>ng-icon]:text-xs',
|
|
7
7
|
{
|
|
8
8
|
variants: {
|
|
9
9
|
variant: {
|
|
10
|
-
default: 'bg-primary text-primary-foreground [a
|
|
11
|
-
secondary: 'bg-secondary text-secondary-foreground [a
|
|
10
|
+
default: 'bg-primary text-primary-foreground [a]:hover:bg-primary/80',
|
|
11
|
+
secondary: 'bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80',
|
|
12
12
|
destructive:
|
|
13
|
-
'bg-destructive [a
|
|
14
|
-
outline: 'text-foreground [a
|
|
13
|
+
'bg-destructive/10 [a]:hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 text-destructive dark:bg-destructive/20',
|
|
14
|
+
outline: 'border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground',
|
|
15
|
+
ghost: 'hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50',
|
|
16
|
+
link: 'text-primary underline-offset-4 hover:underline',
|
|
15
17
|
},
|
|
16
18
|
},
|
|
17
19
|
defaultVariants: {
|
|
@@ -23,9 +25,10 @@ const badgeVariants = cva(
|
|
|
23
25
|
export type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
24
26
|
|
|
25
27
|
@Directive({
|
|
26
|
-
selector: '[hlmBadge]',
|
|
28
|
+
selector: '[hlmBadge],hlm-badge',
|
|
27
29
|
host: {
|
|
28
30
|
'data-slot': 'badge',
|
|
31
|
+
'[attr.data-variant]': 'variant()',
|
|
29
32
|
},
|
|
30
33
|
})
|
|
31
34
|
export class HlmBadge {
|
|
@@ -21,10 +21,11 @@ export const buttonVariants = cva(
|
|
|
21
21
|
},
|
|
22
22
|
size: {
|
|
23
23
|
default: 'h-9 px-4 py-2 has-[>ng-icon]:px-3',
|
|
24
|
+
xs: `h-6 gap-1 rounded-md px-2 text-xs has-[>ng-icon]:px-1.5 [&_ng-icon:not([class*='text-'])]:text-xs`,
|
|
24
25
|
sm: 'h-8 gap-1.5 rounded-md px-3 has-[>ng-icon]:px-2.5',
|
|
25
26
|
lg: 'h-10 rounded-md px-6 has-[>ng-icon]:px-4',
|
|
26
27
|
icon: 'size-9',
|
|
27
|
-
'icon-xs': `size-6 [&_ng-icon:not([class*='text-'])]:text-xs`,
|
|
28
|
+
'icon-xs': `size-6 rounded-md [&_ng-icon:not([class*='text-'])]:text-xs`,
|
|
28
29
|
'icon-sm': 'size-8',
|
|
29
30
|
'icon-lg': 'size-10',
|
|
30
31
|
},
|
|
@@ -16,10 +16,10 @@ export * from './lib/hlm-card-title';
|
|
|
16
16
|
|
|
17
17
|
export const HlmCardImports = [
|
|
18
18
|
HlmCard,
|
|
19
|
-
|
|
19
|
+
HlmCardAction,
|
|
20
|
+
HlmCardContent,
|
|
21
|
+
HlmCardDescription,
|
|
20
22
|
HlmCardFooter,
|
|
23
|
+
HlmCardHeader,
|
|
21
24
|
HlmCardTitle,
|
|
22
|
-
HlmCardDescription,
|
|
23
|
-
HlmCardContent,
|
|
24
|
-
HlmCardAction,
|
|
25
25
|
] as const;
|
|
@@ -3,9 +3,12 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
3
3
|
|
|
4
4
|
@Directive({
|
|
5
5
|
selector: '[hlmCardContent]',
|
|
6
|
+
host: {
|
|
7
|
+
'data-slot': 'card-content',
|
|
8
|
+
},
|
|
6
9
|
})
|
|
7
10
|
export class HlmCardContent {
|
|
8
11
|
constructor() {
|
|
9
|
-
classes(() => 'px-6');
|
|
12
|
+
classes(() => 'px-6 group-data-[size=sm]/card:px-4');
|
|
10
13
|
}
|
|
11
14
|
}
|
|
@@ -2,10 +2,16 @@ import { Directive } from '@angular/core';
|
|
|
2
2
|
import { classes } from '<%- importAlias %>/utils';
|
|
3
3
|
|
|
4
4
|
@Directive({
|
|
5
|
-
selector: '[hlmCardFooter]',
|
|
5
|
+
selector: '[hlmCardFooter],hlm-card-footer',
|
|
6
|
+
host: {
|
|
7
|
+
'data-slot': 'card-footer',
|
|
8
|
+
},
|
|
6
9
|
})
|
|
7
10
|
export class HlmCardFooter {
|
|
8
11
|
constructor() {
|
|
9
|
-
classes(
|
|
12
|
+
classes(
|
|
13
|
+
() =>
|
|
14
|
+
'flex items-center rounded-b-xl px-6 group-data-[size=sm]/card:px-4 [.border-t]:pt-6 group-data-[size=sm]/card:[.border-t]:pt-4',
|
|
15
|
+
);
|
|
10
16
|
}
|
|
11
17
|
}
|
|
@@ -2,13 +2,16 @@ import { Directive } from '@angular/core';
|
|
|
2
2
|
import { classes } from '<%- importAlias %>/utils';
|
|
3
3
|
|
|
4
4
|
@Directive({
|
|
5
|
-
selector: '[hlmCardHeader]',
|
|
5
|
+
selector: '[hlmCardHeader],hlm-card-header',
|
|
6
|
+
host: {
|
|
7
|
+
'data-slot': 'card-header',
|
|
8
|
+
},
|
|
6
9
|
})
|
|
7
10
|
export class HlmCardHeader {
|
|
8
11
|
constructor() {
|
|
9
12
|
classes(
|
|
10
13
|
() =>
|
|
11
|
-
|
|
14
|
+
`group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-6 group-data-[size=sm]/card:px-4 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-6 group-data-[size=sm]/card:[.border-b]:pb-4`,
|
|
12
15
|
);
|
|
13
16
|
}
|
|
14
17
|
}
|
|
@@ -3,9 +3,12 @@ import { classes } from '<%- importAlias %>/utils';
|
|
|
3
3
|
|
|
4
4
|
@Directive({
|
|
5
5
|
selector: '[hlmCardTitle]',
|
|
6
|
+
host: {
|
|
7
|
+
'data-slot': 'card-title',
|
|
8
|
+
},
|
|
6
9
|
})
|
|
7
10
|
export class HlmCardTitle {
|
|
8
11
|
constructor() {
|
|
9
|
-
classes(() => 'leading-
|
|
12
|
+
classes(() => 'text-base leading-normal font-medium group-data-[size=sm]/card:text-sm');
|
|
10
13
|
}
|
|
11
14
|
}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
1
|
+
import { Directive, input } from '@angular/core';
|
|
2
2
|
import { classes } from '<%- importAlias %>/utils';
|
|
3
|
-
import { type VariantProps, cva } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
export const cardVariants = cva('bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm', {
|
|
6
|
-
variants: {},
|
|
7
|
-
defaultVariants: {},
|
|
8
|
-
});
|
|
9
|
-
export type CardVariants = VariantProps<typeof cardVariants>;
|
|
10
3
|
|
|
11
4
|
@Directive({
|
|
12
|
-
selector: '[hlmCard]',
|
|
5
|
+
selector: '[hlmCard],hlm-card',
|
|
6
|
+
host: {
|
|
7
|
+
'data-slot': 'card',
|
|
8
|
+
'[attr.data-size]': 'size()',
|
|
9
|
+
},
|
|
13
10
|
})
|
|
14
11
|
export class HlmCard {
|
|
12
|
+
public readonly size = input<'sm' | 'default'>('default');
|
|
13
|
+
|
|
15
14
|
constructor() {
|
|
16
|
-
classes(
|
|
15
|
+
classes(
|
|
16
|
+
() =>
|
|
17
|
+
'group/card ring-foreground/10 bg-card text-card-foreground flex flex-col gap-6 overflow-hidden rounded-xl py-6 text-sm shadow-xs ring-1 has-[>img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl',
|
|
18
|
+
);
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -56,7 +56,7 @@ export class HlmRadio<T = unknown> {
|
|
|
56
56
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
57
57
|
protected readonly _computedClass = computed(() =>
|
|
58
58
|
hlm(
|
|
59
|
-
'group flex items-center gap-x-3',
|
|
59
|
+
'group relative flex items-center gap-x-3',
|
|
60
60
|
'data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50',
|
|
61
61
|
this.userClass(),
|
|
62
62
|
),
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
1
|
+
import { Directive, inject } from '@angular/core';
|
|
2
2
|
import { BrnResizablePanel } from '@spartan-ng/brain/resizable';
|
|
3
3
|
|
|
4
4
|
@Directive({
|
|
5
5
|
selector: '[hlmResizablePanel],hlm-resizable-panel',
|
|
6
|
+
exportAs: 'hlmResizablePanel',
|
|
6
7
|
hostDirectives: [
|
|
7
8
|
{
|
|
8
9
|
directive: BrnResizablePanel,
|
|
@@ -13,4 +14,10 @@ import { BrnResizablePanel } from '@spartan-ng/brain/resizable';
|
|
|
13
14
|
'data-slot': 'resizable-panel',
|
|
14
15
|
},
|
|
15
16
|
})
|
|
16
|
-
export class HlmResizablePanel {
|
|
17
|
+
export class HlmResizablePanel {
|
|
18
|
+
private readonly _resizablePanel = inject(BrnResizablePanel);
|
|
19
|
+
|
|
20
|
+
public setSize(size: number) {
|
|
21
|
+
this._resizablePanel.setSize(size);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
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.612",
|
|
7
7
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
8
8
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0"
|
|
9
9
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"name": "alert-dialog",
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
22
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
22
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
23
23
|
"clsx": "^2.1.1"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"name": "autocomplete",
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
37
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
37
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
38
38
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
39
39
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
40
40
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"name": "avatar",
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
47
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
47
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"badge": {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"name": "button",
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
71
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
71
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
72
72
|
"class-variance-authority": "^0.7.0",
|
|
73
73
|
"clsx": "^2.1.1"
|
|
74
74
|
}
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"name": "button-group",
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
80
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
80
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
81
81
|
"class-variance-authority": "^0.7.0"
|
|
82
82
|
}
|
|
83
83
|
},
|
|
@@ -89,15 +89,14 @@
|
|
|
89
89
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
90
90
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
91
91
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
92
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
92
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
93
93
|
"clsx": "^2.1.1"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
"card": {
|
|
97
97
|
"name": "card",
|
|
98
98
|
"peerDependencies": {
|
|
99
|
-
"@angular/core": ">=20.0.0 <22.0.0"
|
|
100
|
-
"class-variance-authority": "^0.7.0"
|
|
99
|
+
"@angular/core": ">=20.0.0 <22.0.0"
|
|
101
100
|
}
|
|
102
101
|
},
|
|
103
102
|
"carousel": {
|
|
@@ -118,7 +117,7 @@
|
|
|
118
117
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
119
118
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
120
119
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
121
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
120
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
122
121
|
"clsx": "^2.1.1"
|
|
123
122
|
}
|
|
124
123
|
},
|
|
@@ -126,14 +125,14 @@
|
|
|
126
125
|
"name": "collapsible",
|
|
127
126
|
"peerDependencies": {
|
|
128
127
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
129
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
128
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
130
129
|
}
|
|
131
130
|
},
|
|
132
131
|
"combobox": {
|
|
133
132
|
"name": "combobox",
|
|
134
133
|
"peerDependencies": {
|
|
135
134
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
136
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
135
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
137
136
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
138
137
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
139
138
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
@@ -144,14 +143,14 @@
|
|
|
144
143
|
"name": "command",
|
|
145
144
|
"peerDependencies": {
|
|
146
145
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
147
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
146
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
148
147
|
}
|
|
149
148
|
},
|
|
150
149
|
"context-menu": {
|
|
151
150
|
"name": "context-menu",
|
|
152
151
|
"peerDependencies": {
|
|
153
152
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
154
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
153
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
155
154
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
156
155
|
"rxjs": "^7.8.0"
|
|
157
156
|
}
|
|
@@ -164,7 +163,7 @@
|
|
|
164
163
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
165
164
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
166
165
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
167
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
166
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
168
167
|
"clsx": "^2.1.1"
|
|
169
168
|
}
|
|
170
169
|
},
|
|
@@ -172,7 +171,7 @@
|
|
|
172
171
|
"name": "dialog",
|
|
173
172
|
"peerDependencies": {
|
|
174
173
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
175
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
174
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
176
175
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
177
176
|
"@angular/common": ">=20.0.0 <22.0.0",
|
|
178
177
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
@@ -188,7 +187,7 @@
|
|
|
188
187
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
189
188
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
190
189
|
"rxjs": "^7.8.0",
|
|
191
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
190
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
192
191
|
}
|
|
193
192
|
},
|
|
194
193
|
"empty": {
|
|
@@ -211,14 +210,14 @@
|
|
|
211
210
|
"peerDependencies": {
|
|
212
211
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
213
212
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
214
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
213
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
215
214
|
}
|
|
216
215
|
},
|
|
217
216
|
"hover-card": {
|
|
218
217
|
"name": "hover-card",
|
|
219
218
|
"peerDependencies": {
|
|
220
219
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
221
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
220
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
222
221
|
}
|
|
223
222
|
},
|
|
224
223
|
"icon": {
|
|
@@ -234,7 +233,7 @@
|
|
|
234
233
|
"peerDependencies": {
|
|
235
234
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
236
235
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
237
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
236
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
238
237
|
"class-variance-authority": "^0.7.0",
|
|
239
238
|
"clsx": "^2.1.1"
|
|
240
239
|
}
|
|
@@ -253,7 +252,7 @@
|
|
|
253
252
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
254
253
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
255
254
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
256
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
255
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
257
256
|
}
|
|
258
257
|
},
|
|
259
258
|
"item": {
|
|
@@ -261,7 +260,7 @@
|
|
|
261
260
|
"peerDependencies": {
|
|
262
261
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
263
262
|
"class-variance-authority": "^0.7.0",
|
|
264
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
263
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
265
264
|
}
|
|
266
265
|
},
|
|
267
266
|
"kbd": {
|
|
@@ -274,14 +273,14 @@
|
|
|
274
273
|
"name": "label",
|
|
275
274
|
"peerDependencies": {
|
|
276
275
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
277
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
276
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
278
277
|
}
|
|
279
278
|
},
|
|
280
279
|
"menubar": {
|
|
281
280
|
"name": "menubar",
|
|
282
281
|
"peerDependencies": {
|
|
283
282
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
284
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
283
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
285
284
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
286
285
|
"rxjs": "^7.8.0"
|
|
287
286
|
}
|
|
@@ -290,7 +289,7 @@
|
|
|
290
289
|
"name": "navigation-menu",
|
|
291
290
|
"peerDependencies": {
|
|
292
291
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
293
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
292
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
294
293
|
}
|
|
295
294
|
},
|
|
296
295
|
"pagination": {
|
|
@@ -299,7 +298,7 @@
|
|
|
299
298
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
300
299
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
301
300
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
302
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
301
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
303
302
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
304
303
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
305
304
|
"@angular/router": ">=20.0.0 <22.0.0"
|
|
@@ -309,21 +308,21 @@
|
|
|
309
308
|
"name": "popover",
|
|
310
309
|
"peerDependencies": {
|
|
311
310
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
312
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
311
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
313
312
|
}
|
|
314
313
|
},
|
|
315
314
|
"progress": {
|
|
316
315
|
"name": "progress",
|
|
317
316
|
"peerDependencies": {
|
|
318
317
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
319
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
318
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
320
319
|
}
|
|
321
320
|
},
|
|
322
321
|
"radio-group": {
|
|
323
322
|
"name": "radio-group",
|
|
324
323
|
"peerDependencies": {
|
|
325
324
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
326
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
325
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
327
326
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
328
327
|
"@angular/common": ">=20.0.0 <22.0.0",
|
|
329
328
|
"clsx": "^2.1.1"
|
|
@@ -333,7 +332,7 @@
|
|
|
333
332
|
"name": "resizable",
|
|
334
333
|
"peerDependencies": {
|
|
335
334
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
336
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
335
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
337
336
|
}
|
|
338
337
|
},
|
|
339
338
|
"scroll-area": {
|
|
@@ -347,7 +346,7 @@
|
|
|
347
346
|
"peerDependencies": {
|
|
348
347
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
349
348
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
350
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
349
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
351
350
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
352
351
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
353
352
|
"class-variance-authority": "^0.7.0",
|
|
@@ -358,14 +357,14 @@
|
|
|
358
357
|
"name": "separator",
|
|
359
358
|
"peerDependencies": {
|
|
360
359
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
361
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
360
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
362
361
|
}
|
|
363
362
|
},
|
|
364
363
|
"sheet": {
|
|
365
364
|
"name": "sheet",
|
|
366
365
|
"peerDependencies": {
|
|
367
366
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
368
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
367
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
369
368
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
370
369
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
371
370
|
"class-variance-authority": "^0.7.0",
|
|
@@ -377,7 +376,7 @@
|
|
|
377
376
|
"peerDependencies": {
|
|
378
377
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
379
378
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
380
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
379
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
381
380
|
"class-variance-authority": "^0.7.0",
|
|
382
381
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
383
382
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
@@ -395,7 +394,7 @@
|
|
|
395
394
|
"name": "slider",
|
|
396
395
|
"peerDependencies": {
|
|
397
396
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
398
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
397
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
399
398
|
}
|
|
400
399
|
},
|
|
401
400
|
"sonner": {
|
|
@@ -420,7 +419,7 @@
|
|
|
420
419
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
421
420
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
422
421
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
423
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
422
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
424
423
|
"clsx": "^2.1.1"
|
|
425
424
|
}
|
|
426
425
|
},
|
|
@@ -434,7 +433,7 @@
|
|
|
434
433
|
"name": "tabs",
|
|
435
434
|
"peerDependencies": {
|
|
436
435
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
437
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
436
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
438
437
|
"class-variance-authority": "^0.7.0",
|
|
439
438
|
"@angular/cdk": ">=20.0.0 <22.0.0",
|
|
440
439
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
@@ -448,7 +447,7 @@
|
|
|
448
447
|
"peerDependencies": {
|
|
449
448
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
450
449
|
"@angular/forms": ">=20.0.0 <22.0.0",
|
|
451
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
450
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
452
451
|
"class-variance-authority": "^0.7.0",
|
|
453
452
|
"clsx": "^2.1.1"
|
|
454
453
|
}
|
|
@@ -457,7 +456,7 @@
|
|
|
457
456
|
"name": "toggle",
|
|
458
457
|
"peerDependencies": {
|
|
459
458
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
460
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
459
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
461
460
|
"class-variance-authority": "^0.7.0"
|
|
462
461
|
}
|
|
463
462
|
},
|
|
@@ -465,7 +464,7 @@
|
|
|
465
464
|
"name": "toggle-group",
|
|
466
465
|
"peerDependencies": {
|
|
467
466
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
468
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
467
|
+
"@spartan-ng/brain": "0.0.1-alpha.612",
|
|
469
468
|
"@angular/cdk": ">=20.0.0 <22.0.0"
|
|
470
469
|
}
|
|
471
470
|
},
|
|
@@ -473,7 +472,7 @@
|
|
|
473
472
|
"name": "tooltip",
|
|
474
473
|
"peerDependencies": {
|
|
475
474
|
"@angular/core": ">=20.0.0 <22.0.0",
|
|
476
|
-
"@spartan-ng/brain": "0.0.1-alpha.
|
|
475
|
+
"@spartan-ng/brain": "0.0.1-alpha.612"
|
|
477
476
|
}
|
|
478
477
|
},
|
|
479
478
|
"typography": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hlm-avatar-fallback';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hlm-avatar-image';
|