@spartan-ng/cli 0.0.1-alpha.402 → 0.0.1-alpha.404

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spartan-ng/cli",
3
- "version": "0.0.1-alpha.402",
3
+ "version": "0.0.1-alpha.404",
4
4
  "type": "commonjs",
5
5
  "dependencies": {
6
6
  "@nx/angular": ">=20.0.0",
@@ -19,6 +19,7 @@ import { hlm } from '@spartan-ng/brain/core';
19
19
  import { injectDateAdapter } from '@spartan-ng/brain/date-time';
20
20
  import { buttonVariants } from '@spartan-ng/ui-button-helm';
21
21
  import { HlmIconDirective } from '@spartan-ng/ui-icon-helm';
22
+ import type { ClassValue } from 'clsx';
22
23
 
23
24
  @Component({
24
25
  standalone: true,
@@ -47,7 +48,7 @@ import { HlmIconDirective } from '@spartan-ng/ui-icon-helm';
47
48
  [dateDisabled]="dateDisabled()"
48
49
  [weekStartsOn]="weekStartsOn()"
49
50
  [defaultFocusedDate]="defaultFocusedDate()"
50
- class="rounded-md border p-3"
51
+ [class]="_computedCalenderClass()"
51
52
  >
52
53
  <div class="inline-flex flex-col space-y-4">
53
54
  <!-- Header -->
@@ -109,6 +110,10 @@ import { HlmIconDirective } from '@spartan-ng/ui-icon-helm';
109
110
  `,
110
111
  })
111
112
  export class HlmCalendarComponent<T> {
113
+ public readonly calendarClass = input<ClassValue>('');
114
+
115
+ protected readonly _computedCalenderClass = computed(() => hlm('rounded-md border p-3', this.calendarClass()));
116
+
112
117
  /** Access the calendar i18n */
113
118
  protected readonly i18n = injectBrnCalendarI18n();
114
119
 
@@ -8,7 +8,12 @@ import { hlm } from '@spartan-ng/brain/core';
8
8
  template: `
9
9
  <ng-content />
10
10
  `,
11
- hostDirectives: [BrnCommandDirective],
11
+ hostDirectives: [
12
+ {
13
+ directive: BrnCommandDirective,
14
+ outputs: ['valueChange'],
15
+ },
16
+ ],
12
17
  host: {
13
18
  '[class]': '_computedClass()',
14
19
  },
@@ -0,0 +1,12 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { HlmDatePickerComponent } from './lib/hlm-date-picker.component';
3
+
4
+ export * from './lib/hlm-date-picker.token';
5
+
6
+ export * from './lib/hlm-date-picker.component';
7
+
8
+ @NgModule({
9
+ imports: [HlmDatePickerComponent],
10
+ exports: [HlmDatePickerComponent],
11
+ })
12
+ export class HlmDatePickerModule {}
@@ -0,0 +1,139 @@
1
+ import { BooleanInput } from '@angular/cdk/coercion';
2
+ import { booleanAttribute, Component, computed, forwardRef, input, model, output, signal } from '@angular/core';
3
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
4
+ import { NgIcon, provideIcons } from '@ng-icons/core';
5
+ import { lucideCalendar } from '@ng-icons/lucide';
6
+ import { hlm } from '@spartan-ng/brain/core';
7
+ import { type ChangeFn, type TouchFn } from '@spartan-ng/brain/forms';
8
+ import { BrnPopoverComponent, BrnPopoverContentDirective, BrnPopoverTriggerDirective } from '@spartan-ng/brain/popover';
9
+ import { HlmCalendarComponent } from '@spartan-ng/ui-calendar-helm';
10
+ import { HlmIconDirective } from '@spartan-ng/ui-icon-helm';
11
+ import { HlmPopoverContentDirective } from '@spartan-ng/ui-popover-helm';
12
+ import type { ClassValue } from 'clsx';
13
+ import { injectHlmDatePickerConfig } from './hlm-date-picker.token';
14
+
15
+ export const HLM_DATE_PICKER_VALUE_ACCESSOR = {
16
+ provide: NG_VALUE_ACCESSOR,
17
+ useExisting: forwardRef(() => HlmDatePickerComponent),
18
+ multi: true,
19
+ };
20
+
21
+ @Component({
22
+ selector: 'hlm-date-picker',
23
+ standalone: true,
24
+ imports: [
25
+ NgIcon,
26
+ HlmIconDirective,
27
+ BrnPopoverComponent,
28
+ BrnPopoverTriggerDirective,
29
+ BrnPopoverContentDirective,
30
+ HlmPopoverContentDirective,
31
+ HlmCalendarComponent,
32
+ ],
33
+ providers: [HLM_DATE_PICKER_VALUE_ACCESSOR, provideIcons({ lucideCalendar })],
34
+ template: `
35
+ <brn-popover sideOffset="5" closeDelay="100">
36
+ <button type="button" [class]="_computedClass()" [disabled]="state().disabled()" brnPopoverTrigger>
37
+ <ng-icon hlm size="sm" name="lucideCalendar" />
38
+
39
+ @if (formattedDate(); as formattedDate) {
40
+ {{ formattedDate }}
41
+ } @else {
42
+ <ng-content />
43
+ }
44
+ </button>
45
+
46
+ <div hlmPopoverContent class="w-auto p-0" *brnPopoverContent="let ctx">
47
+ <hlm-calendar
48
+ calendarClass="border-0 rounded-none"
49
+ [date]="date()"
50
+ [min]="min()"
51
+ [max]="max()"
52
+ [disabled]="state().disabled()"
53
+ (dateChange)="_handleChange($event)"
54
+ />
55
+ </div>
56
+ </brn-popover>
57
+ `,
58
+ host: {
59
+ class: 'block',
60
+ },
61
+ })
62
+ export class HlmDatePickerComponent<T> {
63
+ private readonly _config = injectHlmDatePickerConfig<T>();
64
+
65
+ public readonly userClass = input<ClassValue>('', { alias: 'class' });
66
+ protected readonly _computedClass = computed(() =>
67
+ hlm(
68
+ 'inline-flex items-center gap-2 whitespace-nowrap rounded-md text-sm ring-offset-background transition-colors border border-input bg-background hover:bg-accent hover:text-accent-foreground h-10 px-4 py-2 w-[280px] justify-start text-left font-normal',
69
+ 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
70
+ 'disabled:pointer-events-none disabled:opacity-50',
71
+ '[&_ng-icon]:pointer-events-none [&_ng-icon]:shrink-0',
72
+ !this.date() ? 'text-muted-foreground' : '',
73
+ this.userClass(),
74
+ ),
75
+ );
76
+
77
+ /** The minimum date that can be selected.*/
78
+ public readonly min = input<T>();
79
+
80
+ /* * The maximum date that can be selected. */
81
+ public readonly max = input<T>();
82
+
83
+ /** Determine if the date picker is disabled. */
84
+ public readonly disabled = input<boolean, BooleanInput>(false, {
85
+ transform: booleanAttribute,
86
+ });
87
+
88
+ /** The selected value. */
89
+ public readonly date = model<T>();
90
+
91
+ protected readonly state = computed(() => ({
92
+ disabled: signal(this.disabled()),
93
+ }));
94
+
95
+ /** Defines how the date should be displayed in the UI. */
96
+ public readonly formatDate = input<(date: T) => string>(this._config.formatDate);
97
+
98
+ /** Defines how the date should be transformed before saving to model/form. */
99
+ public readonly transformDate = input<(date: T) => T>(this._config.transformDate);
100
+
101
+ protected readonly formattedDate = computed(() => {
102
+ const date = this.date();
103
+ return date ? this.formatDate()(date) : undefined;
104
+ });
105
+
106
+ public readonly changed = output<T>();
107
+
108
+ protected _onChange?: ChangeFn<T>;
109
+ protected _onTouched?: TouchFn;
110
+
111
+ protected _handleChange(value: T) {
112
+ if (this.state().disabled()) return;
113
+ const transformedDate = this.transformDate()(value);
114
+
115
+ this.date.set(transformedDate);
116
+ this._onChange?.(transformedDate);
117
+ this.changed.emit(transformedDate);
118
+ }
119
+
120
+ /** CONROL VALUE ACCESSOR */
121
+ writeValue(value: T | null): void {
122
+ // optional FormControl is initialized with null value
123
+ if (value === null) return;
124
+
125
+ this.date.set(this.transformDate()(value));
126
+ }
127
+
128
+ registerOnChange(fn: ChangeFn<T>): void {
129
+ this._onChange = fn;
130
+ }
131
+
132
+ registerOnTouched(fn: TouchFn): void {
133
+ this._onTouched = fn;
134
+ }
135
+
136
+ setDisabledState(isDisabled: boolean): void {
137
+ this.state().disabled.set(isDisabled);
138
+ }
139
+ }
@@ -0,0 +1,37 @@
1
+ import { inject, InjectionToken, ValueProvider } from '@angular/core';
2
+
3
+ export interface HlmDatePickerConfig<T> {
4
+ /**
5
+ * Defines how the date should be displayed in the UI.
6
+ *
7
+ * @param date
8
+ * @returns formatted date
9
+ */
10
+ formatDate: (date: T) => string;
11
+
12
+ /**
13
+ * Defines how the date should be transformed before saving to model/form.
14
+ *
15
+ * @param date
16
+ * @returns transformed date
17
+ */
18
+ transformDate: (date: T) => T;
19
+ }
20
+
21
+ function getDefaultConfig<T>(): HlmDatePickerConfig<T> {
22
+ return {
23
+ formatDate: (date) => (date instanceof Date ? date.toDateString() : `${date}`),
24
+ transformDate: (date) => date,
25
+ };
26
+ }
27
+
28
+ const HlmDatePickerConfigToken = new InjectionToken<HlmDatePickerConfig<unknown>>('HlmDatePickerConfig');
29
+
30
+ export function provideHlmDatePickerConfig<T>(config: Partial<HlmDatePickerConfig<T>>): ValueProvider {
31
+ return { provide: HlmDatePickerConfigToken, useValue: { ...getDefaultConfig(), ...config } };
32
+ }
33
+
34
+ export function injectHlmDatePickerConfig<T>(): HlmDatePickerConfig<T> {
35
+ const injectedConfig = inject(HlmDatePickerConfigToken, { optional: true });
36
+ return injectedConfig ? (injectedConfig as HlmDatePickerConfig<T>) : getDefaultConfig();
37
+ }
@@ -0,0 +1,3 @@
1
+ import { Tree } from '@nx/devkit';
2
+ import type { HlmBaseGeneratorSchema } from '../../../base/schema';
3
+ export declare function generator(tree: Tree, options: HlmBaseGeneratorSchema): Promise<import("@nx/devkit").GeneratorCallback>;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.generator = generator;
4
+ const tslib_1 = require("tslib");
5
+ const generator_1 = tslib_1.__importDefault(require("../../../base/generator"));
6
+ async function generator(tree, options) {
7
+ return await (0, generator_1.default)(tree, {
8
+ ...options,
9
+ primitiveName: 'datepicker',
10
+ internalName: 'ui-date-picker-helm',
11
+ publicName: 'ui-datepicker-helm',
12
+ });
13
+ }
14
+ //# sourceMappingURL=generator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../../../libs/cli/src/generators/ui/libs/ui-date-picker-helm/generator.ts"],"names":[],"mappings":";;AAIA,8BAOC;;AAVD,gFAAuD;AAGhD,KAAK,UAAU,SAAS,CAAC,IAAU,EAAE,OAA+B;IAC1E,OAAO,MAAM,IAAA,mBAAgB,EAAC,IAAI,EAAE;QACnC,GAAG,OAAO;QACV,aAAa,EAAE,YAAY;QAC3B,YAAY,EAAE,qBAAqB;QACnC,UAAU,EAAE,oBAAoB;KAChC,CAAC,CAAC;AACJ,CAAC"}
@@ -10,12 +10,14 @@ exports.primitiveDependencies = {
10
10
  badge: [],
11
11
  breadcrumb: ['icon'],
12
12
  button: [],
13
+ calendar: ['button', 'icon'],
13
14
  card: [],
14
15
  carousel: [],
15
16
  checkbox: ['icon'],
16
17
  collapsible: [],
17
18
  command: ['button', 'icon'],
18
19
  contextmenu: [],
20
+ datepicker: ['calendar', 'icon', 'popover'],
19
21
  dialog: [],
20
22
  formfield: [],
21
23
  hovercard: [],
@@ -1 +1 @@
1
- {"version":3,"file":"primivite-deps.js","sourceRoot":"","sources":["../../../../../../libs/cli/src/generators/ui/primivite-deps.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAmC;IACpE,SAAS,EAAE,CAAC,MAAM,CAAC;IACnB,KAAK,EAAE,CAAC,MAAM,CAAC;IACf,WAAW,EAAE,CAAC,QAAQ,CAAC;IACvB,WAAW,EAAE,EAAE;IACf,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,UAAU,EAAE,CAAC,MAAM,CAAC;IACpB,MAAM,EAAE,EAAE;IACV,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,EAAE;IACZ,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,WAAW,EAAE,EAAE;IACf,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,EAAE;IACf,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,CAAC,WAAW,CAAC;IACpB,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,CAAC,MAAM,CAAC;IACd,OAAO,EAAE,EAAE;IACX,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC9B,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,UAAU,EAAE,EAAE;IACd,MAAM,EAAE,CAAC,MAAM,EAAE,WAAW,CAAC;IAC7B,SAAS,EAAE,EAAE;IACb,KAAK,EAAE,EAAE;IACT,QAAQ,EAAE,EAAE;IACZ,MAAM,EAAE,CAAC,MAAM,CAAC;IAChB,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,EAAE;CACX,CAAC;AAEK,MAAM,sBAAsB,GAAG,CAAC,UAAuB,EAAe,EAAE;IAC9E,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAa,CAAC;IAEjD,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACpC,MAAM,IAAI,GAAG,6BAAqB,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;QACpD,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;YACxB,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC/B,2FAA2F;gBAC3F,mBAAmB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC9B,CAAC;QACF,CAAC;IACF,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AACxC,CAAC,CAAC;AAdW,QAAA,sBAAsB,0BAcjC"}
1
+ {"version":3,"file":"primivite-deps.js","sourceRoot":"","sources":["../../../../../../libs/cli/src/generators/ui/primivite-deps.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAmC;IACpE,SAAS,EAAE,CAAC,MAAM,CAAC;IACnB,KAAK,EAAE,CAAC,MAAM,CAAC;IACf,WAAW,EAAE,CAAC,QAAQ,CAAC;IACvB,WAAW,EAAE,EAAE;IACf,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,UAAU,EAAE,CAAC,MAAM,CAAC;IACpB,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC5B,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,EAAE;IACZ,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,WAAW,EAAE,EAAE;IACf,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,EAAE;IACf,UAAU,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,CAAC;IAC3C,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,CAAC,WAAW,CAAC;IACpB,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,CAAC,MAAM,CAAC;IACd,OAAO,EAAE,EAAE;IACX,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC9B,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,UAAU,EAAE,EAAE;IACd,MAAM,EAAE,CAAC,MAAM,EAAE,WAAW,CAAC;IAC7B,SAAS,EAAE,EAAE;IACb,KAAK,EAAE,EAAE;IACT,QAAQ,EAAE,EAAE;IACZ,MAAM,EAAE,CAAC,MAAM,CAAC;IAChB,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,EAAE;CACX,CAAC;AAEK,MAAM,sBAAsB,GAAG,CAAC,UAAuB,EAAe,EAAE;IAC9E,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAa,CAAC;IAEjD,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACpC,MAAM,IAAI,GAAG,6BAAqB,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;QACpD,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;YACxB,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC/B,2FAA2F;gBAC3F,mBAAmB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC9B,CAAC;QACF,CAAC;IACF,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AACxC,CAAC,CAAC;AAdW,QAAA,sBAAsB,0BAcjC"}
@@ -1 +1 @@
1
- export type Primitive = 'accordion' | 'alert' | 'alertdialog' | 'aspectratio' | 'avatar' | 'badge' | 'breadcrumb' | 'button' | 'card' | 'carousel' | 'checkbox' | 'collapsible' | 'command' | 'contextmenu' | 'dialog' | 'formfield' | 'hovercard' | 'icon' | 'input' | 'label' | 'menu' | 'menubar' | 'pagination' | 'popover' | 'progress' | 'radiogroup' | 'scrollarea' | 'select' | 'separator' | 'sheet' | 'skeleton' | 'sonner' | 'spinner' | 'switch' | 'table' | 'tabs' | 'toggle' | 'tooltip';
1
+ export type Primitive = 'accordion' | 'alert' | 'alertdialog' | 'aspectratio' | 'avatar' | 'badge' | 'breadcrumb' | 'button' | 'calendar' | 'card' | 'carousel' | 'checkbox' | 'collapsible' | 'command' | 'contextmenu' | 'datepicker' | 'dialog' | 'formfield' | 'hovercard' | 'icon' | 'input' | 'label' | 'menu' | 'menubar' | 'pagination' | 'popover' | 'progress' | 'radiogroup' | 'scrollarea' | 'select' | 'separator' | 'sheet' | 'skeleton' | 'sonner' | 'spinner' | 'switch' | 'table' | 'tabs' | 'toggle' | 'tooltip';
@@ -5,7 +5,7 @@
5
5
  "@angular/core": ">=18.0.0",
6
6
  "@ng-icons/core": ">=29.0.0",
7
7
  "@ng-icons/lucide": ">=29.0.0",
8
- "@spartan-ng/brain": "0.0.1-alpha.402",
8
+ "@spartan-ng/brain": "0.0.1-alpha.404",
9
9
  "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381",
10
10
  "clsx": "^2.1.1"
11
11
  }
@@ -14,7 +14,7 @@
14
14
  "internalName": "ui-alert-helm",
15
15
  "peerDependencies": {
16
16
  "@angular/core": ">=18.0.0",
17
- "@spartan-ng/brain": "0.0.1-alpha.402",
17
+ "@spartan-ng/brain": "0.0.1-alpha.404",
18
18
  "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381",
19
19
  "class-variance-authority": "^0.7.0",
20
20
  "clsx": "^2.1.1"
@@ -24,7 +24,7 @@
24
24
  "internalName": "ui-alert-dialog-helm",
25
25
  "peerDependencies": {
26
26
  "@angular/core": ">=18.0.0",
27
- "@spartan-ng/brain": "0.0.1-alpha.402",
27
+ "@spartan-ng/brain": "0.0.1-alpha.404",
28
28
  "@spartan-ng/ui-button-helm": "0.0.1-alpha.381",
29
29
  "clsx": "^2.1.1"
30
30
  }
@@ -34,7 +34,7 @@
34
34
  "peerDependencies": {
35
35
  "@angular/cdk": ">=18.0.0",
36
36
  "@angular/core": ">=18.0.0",
37
- "@spartan-ng/brain": "0.0.1-alpha.402",
37
+ "@spartan-ng/brain": "0.0.1-alpha.404",
38
38
  "clsx": "^2.1.1"
39
39
  }
40
40
  },
@@ -42,7 +42,7 @@
42
42
  "internalName": "ui-avatar-helm",
43
43
  "peerDependencies": {
44
44
  "@angular/core": ">=18.0.0",
45
- "@spartan-ng/brain": "0.0.1-alpha.402",
45
+ "@spartan-ng/brain": "0.0.1-alpha.404",
46
46
  "class-variance-authority": "^0.7.0",
47
47
  "clsx": "^2.1.1"
48
48
  }
@@ -52,7 +52,7 @@
52
52
  "peerDependencies": {
53
53
  "@angular/cdk": ">=18.0.0",
54
54
  "@angular/core": ">=18.0.0",
55
- "@spartan-ng/brain": "0.0.1-alpha.402",
55
+ "@spartan-ng/brain": "0.0.1-alpha.404",
56
56
  "class-variance-authority": "^0.7.0",
57
57
  "clsx": "^2.1.1"
58
58
  }
@@ -64,7 +64,7 @@
64
64
  "@angular/router": "18.2.5",
65
65
  "@ng-icons/core": ">=29.0.0",
66
66
  "@ng-icons/lucide": ">=29.0.0",
67
- "@spartan-ng/brain": "0.0.1-alpha.402",
67
+ "@spartan-ng/brain": "0.0.1-alpha.404",
68
68
  "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381",
69
69
  "clsx": "^2.1.1"
70
70
  }
@@ -73,7 +73,7 @@
73
73
  "internalName": "ui-button-helm",
74
74
  "peerDependencies": {
75
75
  "@angular/core": ">=18.0.0",
76
- "@spartan-ng/brain": "0.0.1-alpha.402",
76
+ "@spartan-ng/brain": "0.0.1-alpha.404",
77
77
  "class-variance-authority": "^0.7.0",
78
78
  "clsx": "^2.1.1"
79
79
  }
@@ -85,16 +85,17 @@
85
85
  "@angular/core": ">=18.0.0",
86
86
  "@ng-icons/core": ">=29.0.0",
87
87
  "@ng-icons/lucide": ">=29.0.0",
88
- "@spartan-ng/brain": "0.0.1-alpha.402",
88
+ "@spartan-ng/brain": "0.0.1-alpha.404",
89
89
  "@spartan-ng/ui-button-helm": "0.0.1-alpha.381",
90
- "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381"
90
+ "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381",
91
+ "clsx": "^2.1.1"
91
92
  }
92
93
  },
93
94
  "card": {
94
95
  "internalName": "ui-card-helm",
95
96
  "peerDependencies": {
96
97
  "@angular/core": ">=18.0.0",
97
- "@spartan-ng/brain": "0.0.1-alpha.402",
98
+ "@spartan-ng/brain": "0.0.1-alpha.404",
98
99
  "class-variance-authority": "^0.7.0",
99
100
  "clsx": "^2.1.1"
100
101
  }
@@ -104,12 +105,27 @@
104
105
  "peerDependencies": {
105
106
  "@angular/cdk": ">=18.0.0",
106
107
  "@angular/core": ">=18.0.0",
107
- "@spartan-ng/brain": "0.0.1-alpha.402",
108
+ "@spartan-ng/brain": "0.0.1-alpha.404",
108
109
  "@spartan-ng/ui-button-helm": "0.0.1-alpha.381",
109
110
  "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381",
110
111
  "clsx": "^2.1.1"
111
112
  }
112
113
  },
114
+ "datepicker": {
115
+ "internalName": "ui-date-picker-helm",
116
+ "peerDependencies": {
117
+ "@angular/cdk": ">=18.0.0",
118
+ "@angular/core": ">=18.0.0",
119
+ "@angular/forms": ">=18.0.0",
120
+ "@ng-icons/core": ">=29.0.0",
121
+ "@ng-icons/lucide": ">=29.0.0",
122
+ "@spartan-ng/brain": "0.0.1-alpha.404",
123
+ "@spartan-ng/ui-calendar-helm": "0.0.1-alpha.381",
124
+ "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381",
125
+ "@spartan-ng/ui-popover-helm": "0.0.1-alpha.381",
126
+ "clsx": "^2.1.1"
127
+ }
128
+ },
113
129
  "dialog": {
114
130
  "internalName": "ui-dialog-helm",
115
131
  "peerDependencies": {
@@ -118,7 +134,7 @@
118
134
  "@angular/core": ">=18.0.0",
119
135
  "@ng-icons/core": ">=29.0.0",
120
136
  "@ng-icons/lucide": ">=29.0.0",
121
- "@spartan-ng/brain": "0.0.1-alpha.402",
137
+ "@spartan-ng/brain": "0.0.1-alpha.404",
122
138
  "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381",
123
139
  "clsx": "^2.1.1"
124
140
  }
@@ -134,7 +150,7 @@
134
150
  "peerDependencies": {
135
151
  "@angular/core": ">=18.0.0",
136
152
  "@angular/forms": ">=18.0.0",
137
- "@spartan-ng/brain": "0.0.1-alpha.402",
153
+ "@spartan-ng/brain": "0.0.1-alpha.404",
138
154
  "class-variance-authority": "^0.7.0",
139
155
  "clsx": "^2.1.1"
140
156
  }
@@ -143,7 +159,7 @@
143
159
  "internalName": "ui-label-helm",
144
160
  "peerDependencies": {
145
161
  "@angular/core": ">=18.0.0",
146
- "@spartan-ng/brain": "0.0.1-alpha.402",
162
+ "@spartan-ng/brain": "0.0.1-alpha.404",
147
163
  "class-variance-authority": "^0.7.0",
148
164
  "clsx": "^2.1.1"
149
165
  }
@@ -154,7 +170,7 @@
154
170
  "@angular/core": ">=18.0.0",
155
171
  "@ng-icons/core": ">=29.0.0",
156
172
  "@ng-icons/lucide": ">=29.0.0",
157
- "@spartan-ng/brain": "0.0.1-alpha.402",
173
+ "@spartan-ng/brain": "0.0.1-alpha.404",
158
174
  "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381",
159
175
  "class-variance-authority": "^0.7.0",
160
176
  "clsx": "^2.1.1"
@@ -164,7 +180,7 @@
164
180
  "internalName": "ui-popover-helm",
165
181
  "peerDependencies": {
166
182
  "@angular/core": ">=18.0.0",
167
- "@spartan-ng/brain": "0.0.1-alpha.402",
183
+ "@spartan-ng/brain": "0.0.1-alpha.404",
168
184
  "clsx": "^2.1.1"
169
185
  }
170
186
  },
@@ -172,7 +188,7 @@
172
188
  "internalName": "ui-progress-helm",
173
189
  "peerDependencies": {
174
190
  "@angular/core": ">=18.0.0",
175
- "@spartan-ng/brain": "0.0.1-alpha.402",
191
+ "@spartan-ng/brain": "0.0.1-alpha.404",
176
192
  "clsx": "^2.1.1"
177
193
  }
178
194
  },
@@ -180,7 +196,7 @@
180
196
  "internalName": "ui-radio-group-helm",
181
197
  "peerDependencies": {
182
198
  "@angular/core": ">=18.0.0",
183
- "@spartan-ng/brain": "0.0.1-alpha.402",
199
+ "@spartan-ng/brain": "0.0.1-alpha.404",
184
200
  "clsx": "^2.1.1"
185
201
  }
186
202
  },
@@ -188,7 +204,7 @@
188
204
  "internalName": "ui-scroll-area-helm",
189
205
  "peerDependencies": {
190
206
  "@angular/core": ">=18.0.0",
191
- "@spartan-ng/brain": "0.0.1-alpha.402",
207
+ "@spartan-ng/brain": "0.0.1-alpha.404",
192
208
  "clsx": "^2.1.1",
193
209
  "ngx-scrollbar": ">=16.0.0"
194
210
  }
@@ -197,7 +213,7 @@
197
213
  "internalName": "ui-separator-helm",
198
214
  "peerDependencies": {
199
215
  "@angular/core": ">=18.0.0",
200
- "@spartan-ng/brain": "0.0.1-alpha.402",
216
+ "@spartan-ng/brain": "0.0.1-alpha.404",
201
217
  "clsx": "^2.1.1"
202
218
  }
203
219
  },
@@ -207,7 +223,7 @@
207
223
  "@angular/core": ">=18.0.0",
208
224
  "@ng-icons/core": ">=29.0.0",
209
225
  "@ng-icons/lucide": ">=29.0.0",
210
- "@spartan-ng/brain": "0.0.1-alpha.402",
226
+ "@spartan-ng/brain": "0.0.1-alpha.404",
211
227
  "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381",
212
228
  "class-variance-authority": "^0.7.0",
213
229
  "clsx": "^2.1.1"
@@ -217,7 +233,7 @@
217
233
  "internalName": "ui-skeleton-helm",
218
234
  "peerDependencies": {
219
235
  "@angular/core": ">=18.0.0",
220
- "@spartan-ng/brain": "0.0.1-alpha.402",
236
+ "@spartan-ng/brain": "0.0.1-alpha.404",
221
237
  "clsx": "^2.1.1"
222
238
  }
223
239
  },
@@ -225,7 +241,7 @@
225
241
  "internalName": "ui-spinner-helm",
226
242
  "peerDependencies": {
227
243
  "@angular/core": ">=18.0.0",
228
- "@spartan-ng/brain": "0.0.1-alpha.402",
244
+ "@spartan-ng/brain": "0.0.1-alpha.404",
229
245
  "class-variance-authority": "^0.7.0",
230
246
  "clsx": "^2.1.1"
231
247
  }
@@ -236,7 +252,7 @@
236
252
  "@angular/cdk": ">=18.0.0",
237
253
  "@angular/core": ">=18.0.0",
238
254
  "@angular/forms": ">=18.0.0",
239
- "@spartan-ng/brain": "0.0.1-alpha.402",
255
+ "@spartan-ng/brain": "0.0.1-alpha.404",
240
256
  "clsx": "^2.1.1"
241
257
  }
242
258
  },
@@ -247,7 +263,7 @@
247
263
  "@angular/core": ">=18.0.0",
248
264
  "@ng-icons/core": ">=29.0.0",
249
265
  "@ng-icons/lucide": ">=29.0.0",
250
- "@spartan-ng/brain": "0.0.1-alpha.402",
266
+ "@spartan-ng/brain": "0.0.1-alpha.404",
251
267
  "@spartan-ng/ui-button-helm": "0.0.1-alpha.381",
252
268
  "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381",
253
269
  "class-variance-authority": "^0.7.0",
@@ -258,7 +274,7 @@
258
274
  "internalName": "ui-toggle-helm",
259
275
  "peerDependencies": {
260
276
  "@angular/core": ">=18.0.0",
261
- "@spartan-ng/brain": "0.0.1-alpha.402",
277
+ "@spartan-ng/brain": "0.0.1-alpha.404",
262
278
  "class-variance-authority": "^0.7.0",
263
279
  "clsx": "^2.1.1"
264
280
  }
@@ -267,7 +283,7 @@
267
283
  "internalName": "ui-typography-helm",
268
284
  "peerDependencies": {
269
285
  "@angular/core": ">=18.0.0",
270
- "@spartan-ng/brain": "0.0.1-alpha.402",
286
+ "@spartan-ng/brain": "0.0.1-alpha.404",
271
287
  "clsx": "^2.1.1"
272
288
  }
273
289
  },
@@ -276,7 +292,7 @@
276
292
  "peerDependencies": {
277
293
  "@angular/common": ">=18.0.0",
278
294
  "@angular/core": ">=18.0.0",
279
- "@spartan-ng/brain": "0.0.1-alpha.402",
295
+ "@spartan-ng/brain": "0.0.1-alpha.404",
280
296
  "clsx": "^2.1.1"
281
297
  }
282
298
  },
@@ -284,7 +300,7 @@
284
300
  "internalName": "ui-hover-card-helm",
285
301
  "peerDependencies": {
286
302
  "@angular/core": ">=18.0.0",
287
- "@spartan-ng/brain": "0.0.1-alpha.402",
303
+ "@spartan-ng/brain": "0.0.1-alpha.404",
288
304
  "clsx": "^2.1.1"
289
305
  }
290
306
  },
@@ -295,7 +311,7 @@
295
311
  "@angular/forms": ">=18.0.0",
296
312
  "@ng-icons/core": ">=29.0.0",
297
313
  "@ng-icons/lucide": ">=29.0.0",
298
- "@spartan-ng/brain": "0.0.1-alpha.402",
314
+ "@spartan-ng/brain": "0.0.1-alpha.404",
299
315
  "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381",
300
316
  "clsx": "^2.1.1"
301
317
  }
@@ -304,7 +320,7 @@
304
320
  "internalName": "ui-tooltip-helm",
305
321
  "peerDependencies": {
306
322
  "@angular/core": ">=18.0.0",
307
- "@spartan-ng/brain": "0.0.1-alpha.402"
323
+ "@spartan-ng/brain": "0.0.1-alpha.404"
308
324
  }
309
325
  },
310
326
  "pagination": {
@@ -316,7 +332,7 @@
316
332
  "@angular/router": ">=18.0.0",
317
333
  "@ng-icons/core": ">=29.0.0",
318
334
  "@ng-icons/lucide": ">=29.0.0",
319
- "@spartan-ng/brain": "0.0.1-alpha.402",
335
+ "@spartan-ng/brain": "0.0.1-alpha.404",
320
336
  "@spartan-ng/ui-button-helm": "0.0.1-alpha.381",
321
337
  "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381",
322
338
  "@spartan-ng/ui-select-helm": "0.0.1-alpha.381",
@@ -330,7 +346,7 @@
330
346
  "@angular/core": ">=18.0.0",
331
347
  "@ng-icons/core": ">=29.0.0",
332
348
  "@ng-icons/lucide": ">=29.0.0",
333
- "@spartan-ng/brain": "0.0.1-alpha.402",
349
+ "@spartan-ng/brain": "0.0.1-alpha.404",
334
350
  "@spartan-ng/ui-button-helm": "0.0.1-alpha.381",
335
351
  "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381",
336
352
  "clsx": "^2.1.1",
@@ -343,7 +359,7 @@
343
359
  "@angular/core": ">=18.0.0",
344
360
  "@ng-icons/core": ">=29.0.0",
345
361
  "@ng-icons/lucide": ">=29.0.0",
346
- "@spartan-ng/brain": "0.0.1-alpha.402",
362
+ "@spartan-ng/brain": "0.0.1-alpha.404",
347
363
  "@spartan-ng/ui-icon-helm": "0.0.1-alpha.381",
348
364
  "class-variance-authority": "^0.7.0",
349
365
  "clsx": "^2.1.1"
@@ -364,14 +380,14 @@
364
380
  "internalName": "ui-form-field-helm",
365
381
  "peerDependencies": {
366
382
  "@angular/core": ">=18.0.0",
367
- "@spartan-ng/brain": "0.0.1-alpha.402"
383
+ "@spartan-ng/brain": "0.0.1-alpha.404"
368
384
  }
369
385
  },
370
386
  "slider": {
371
387
  "internalName": "ui-slider-helm",
372
388
  "peerDependencies": {
373
389
  "@angular/core": ">=18.0.0",
374
- "@spartan-ng/brain": "0.0.1-alpha.402",
390
+ "@spartan-ng/brain": "0.0.1-alpha.404",
375
391
  "clsx": "^2.1.1"
376
392
  }
377
393
  }