@spartan-ng/cli 0.0.1-alpha.473 → 0.0.1-alpha.475

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.473",
3
+ "version": "0.0.1-alpha.475",
4
4
  "type": "commonjs",
5
5
  "dependencies": {
6
6
  "@nx/angular": ">=20.0.0",
@@ -11,20 +11,16 @@ export * from './lib/hlm-input-otp-separator.component';
11
11
  export * from './lib/hlm-input-otp-slot.component';
12
12
  export * from './lib/hlm-input-otp.directive';
13
13
 
14
+ export const HlmInputOtpImports = [
15
+ HlmInputOtpDirective,
16
+ HlmInputOtpGroupDirective,
17
+ HlmInputOtpSeparatorComponent,
18
+ HlmInputOtpSlotComponent,
19
+ HlmInputOtpFakeCaretComponent,
20
+ ] as const;
21
+
14
22
  @NgModule({
15
- imports: [
16
- HlmInputOtpDirective,
17
- HlmInputOtpGroupDirective,
18
- HlmInputOtpSeparatorComponent,
19
- HlmInputOtpSlotComponent,
20
- HlmInputOtpFakeCaretComponent,
21
- ],
22
- exports: [
23
- HlmInputOtpDirective,
24
- HlmInputOtpGroupDirective,
25
- HlmInputOtpSeparatorComponent,
26
- HlmInputOtpSlotComponent,
27
- HlmInputOtpFakeCaretComponent,
28
- ],
23
+ imports: [...HlmInputOtpImports],
24
+ exports: [...HlmInputOtpImports],
29
25
  })
30
26
  export class HlmInputOtpModule {}
@@ -21,6 +21,7 @@ import { HlmInputOtpFakeCaretComponent } from './hlm-input-otp-fake-caret.compon
21
21
  export class HlmInputOtpSlotComponent {
22
22
  public readonly userClass = input<ClassValue>('', { alias: 'class' });
23
23
 
24
+ /** The index of the slot to render the char or a fake caret */
24
25
  public readonly index = input.required<number, NumberInput>({ transform: numberAttribute });
25
26
 
26
27
  protected readonly _computedClass = computed(() =>
@@ -3,7 +3,7 @@ import { hlm } from '@spartan-ng/brain/core';
3
3
  import { type ClassValue } from 'clsx';
4
4
 
5
5
  @Directive({
6
- selector: 'brn-input-otp [hlm]',
6
+ selector: 'brn-input-otp[hlmInputOtp], brn-input-otp[hlm]',
7
7
  host: {
8
8
  '[class]': '_computedClass()',
9
9
  },
@@ -12,10 +12,15 @@ import { toObservable } from '@angular/core/rxjs-interop';
12
12
  import { NgIcon, provideIcons } from '@ng-icons/core';
13
13
  import { lucideChevronLeft, lucideChevronRight } from '@ng-icons/lucide';
14
14
  import { hlm } from '@spartan-ng/brain/core';
15
- import { BrnTabsPaginatedListDirective, BrnTabsTriggerDirective } from '@spartan-ng/brain/tabs';
15
+ import {
16
+ type BrnPaginatedTabHeaderItem,
17
+ BrnTabsPaginatedListDirective,
18
+ BrnTabsTriggerDirective,
19
+ } from '@spartan-ng/brain/tabs';
16
20
  import { buttonVariants } from '@spartan-ng/helm/button';
17
21
  import { HlmIconDirective } from '@spartan-ng/helm/icon';
18
22
  import type { ClassValue } from 'clsx';
23
+ import type { Observable } from 'rxjs';
19
24
  import { listVariants } from './hlm-tabs-list.component';
20
25
 
21
26
  @Component({
@@ -72,7 +77,8 @@ import { listVariants } from './hlm-tabs-list.component';
72
77
  })
73
78
  export class HlmTabsPaginatedListComponent extends BrnTabsPaginatedListDirective {
74
79
  public readonly _items = contentChildren(BrnTabsTriggerDirective, { descendants: false });
75
- public readonly _itemsChanges = toObservable(this._items);
80
+ /** Explicitly annotating type to avoid non-portable inferred type */
81
+ public readonly _itemsChanges: Observable<ReadonlyArray<BrnPaginatedTabHeaderItem>> = toObservable(this._items);
76
82
 
77
83
  public readonly _tabListContainer = viewChild.required<ElementRef<HTMLElement>>('tabListContainer');
78
84
  public readonly _tabList = viewChild.required<ElementRef<HTMLElement>>('tabList');
@@ -3,7 +3,7 @@
3
3
  "internalName": "ui-accordion-helm",
4
4
  "peerDependencies": {
5
5
  "@angular/core": ">=19.0.0",
6
- "@spartan-ng/brain": "0.0.1-alpha.473",
6
+ "@spartan-ng/brain": "0.0.1-alpha.475",
7
7
  "clsx": "^2.1.1",
8
8
  "@ng-icons/core": ">=29.0.0",
9
9
  "@ng-icons/lucide": ">=29.0.0"
@@ -13,7 +13,7 @@
13
13
  "internalName": "ui-alert-helm",
14
14
  "peerDependencies": {
15
15
  "@angular/core": ">=19.0.0",
16
- "@spartan-ng/brain": "0.0.1-alpha.473",
16
+ "@spartan-ng/brain": "0.0.1-alpha.475",
17
17
  "class-variance-authority": "^0.7.0",
18
18
  "clsx": "^2.1.1"
19
19
  }
@@ -22,7 +22,7 @@
22
22
  "internalName": "ui-alert-dialog-helm",
23
23
  "peerDependencies": {
24
24
  "@angular/core": ">=19.0.0",
25
- "@spartan-ng/brain": "0.0.1-alpha.473",
25
+ "@spartan-ng/brain": "0.0.1-alpha.475",
26
26
  "clsx": "^2.1.1"
27
27
  }
28
28
  },
@@ -31,7 +31,7 @@
31
31
  "peerDependencies": {
32
32
  "@angular/core": ">=19.0.0",
33
33
  "@angular/cdk": ">=19.0.0",
34
- "@spartan-ng/brain": "0.0.1-alpha.473",
34
+ "@spartan-ng/brain": "0.0.1-alpha.475",
35
35
  "clsx": "^2.1.1"
36
36
  }
37
37
  },
@@ -39,7 +39,7 @@
39
39
  "internalName": "ui-avatar-helm",
40
40
  "peerDependencies": {
41
41
  "@angular/core": ">=19.0.0",
42
- "@spartan-ng/brain": "0.0.1-alpha.473",
42
+ "@spartan-ng/brain": "0.0.1-alpha.475",
43
43
  "class-variance-authority": "^0.7.0",
44
44
  "clsx": "^2.1.1"
45
45
  }
@@ -49,7 +49,7 @@
49
49
  "peerDependencies": {
50
50
  "@angular/core": ">=19.0.0",
51
51
  "@angular/cdk": ">=19.0.0",
52
- "@spartan-ng/brain": "0.0.1-alpha.473",
52
+ "@spartan-ng/brain": "0.0.1-alpha.475",
53
53
  "class-variance-authority": "^0.7.0",
54
54
  "clsx": "^2.1.1"
55
55
  }
@@ -60,7 +60,7 @@
60
60
  "@angular/core": ">=19.0.0",
61
61
  "@ng-icons/core": ">=29.0.0",
62
62
  "@ng-icons/lucide": ">=29.0.0",
63
- "@spartan-ng/brain": "0.0.1-alpha.473",
63
+ "@spartan-ng/brain": "0.0.1-alpha.475",
64
64
  "clsx": "^2.1.1",
65
65
  "@angular/router": ">=19.0.0"
66
66
  }
@@ -69,7 +69,7 @@
69
69
  "internalName": "ui-button-helm",
70
70
  "peerDependencies": {
71
71
  "@angular/core": ">=19.0.0",
72
- "@spartan-ng/brain": "0.0.1-alpha.473",
72
+ "@spartan-ng/brain": "0.0.1-alpha.475",
73
73
  "class-variance-authority": "^0.7.0",
74
74
  "clsx": "^2.1.1"
75
75
  }
@@ -81,7 +81,7 @@
81
81
  "@angular/cdk": ">=19.0.0",
82
82
  "@ng-icons/core": ">=29.0.0",
83
83
  "@ng-icons/lucide": ">=29.0.0",
84
- "@spartan-ng/brain": "0.0.1-alpha.473",
84
+ "@spartan-ng/brain": "0.0.1-alpha.475",
85
85
  "clsx": "^2.1.1"
86
86
  }
87
87
  },
@@ -89,7 +89,7 @@
89
89
  "internalName": "ui-card-helm",
90
90
  "peerDependencies": {
91
91
  "@angular/core": ">=19.0.0",
92
- "@spartan-ng/brain": "0.0.1-alpha.473",
92
+ "@spartan-ng/brain": "0.0.1-alpha.475",
93
93
  "class-variance-authority": "^0.7.0",
94
94
  "clsx": "^2.1.1"
95
95
  }
@@ -98,7 +98,7 @@
98
98
  "internalName": "ui-carousel-helm",
99
99
  "peerDependencies": {
100
100
  "@angular/core": ">=19.0.0",
101
- "@spartan-ng/brain": "0.0.1-alpha.473",
101
+ "@spartan-ng/brain": "0.0.1-alpha.475",
102
102
  "clsx": "^2.1.1",
103
103
  "@ng-icons/core": ">=29.0.0",
104
104
  "@ng-icons/lucide": ">=29.0.0",
@@ -112,7 +112,7 @@
112
112
  "@angular/forms": ">=19.0.0",
113
113
  "@ng-icons/core": ">=29.0.0",
114
114
  "@ng-icons/lucide": ">=29.0.0",
115
- "@spartan-ng/brain": "0.0.1-alpha.473",
115
+ "@spartan-ng/brain": "0.0.1-alpha.475",
116
116
  "clsx": "^2.1.1"
117
117
  }
118
118
  },
@@ -120,7 +120,7 @@
120
120
  "internalName": "ui-command-helm",
121
121
  "peerDependencies": {
122
122
  "@angular/core": ">=19.0.0",
123
- "@spartan-ng/brain": "0.0.1-alpha.473",
123
+ "@spartan-ng/brain": "0.0.1-alpha.475",
124
124
  "clsx": "^2.1.1",
125
125
  "@angular/cdk": ">=19.0.0"
126
126
  }
@@ -133,7 +133,7 @@
133
133
  "@angular/forms": ">=19.0.0",
134
134
  "@ng-icons/core": ">=29.0.0",
135
135
  "@ng-icons/lucide": ">=29.0.0",
136
- "@spartan-ng/brain": "0.0.1-alpha.473",
136
+ "@spartan-ng/brain": "0.0.1-alpha.475",
137
137
  "clsx": "^2.1.1"
138
138
  }
139
139
  },
@@ -141,7 +141,7 @@
141
141
  "internalName": "ui-dialog-helm",
142
142
  "peerDependencies": {
143
143
  "@angular/core": ">=19.0.0",
144
- "@spartan-ng/brain": "0.0.1-alpha.473",
144
+ "@spartan-ng/brain": "0.0.1-alpha.475",
145
145
  "clsx": "^2.1.1",
146
146
  "@angular/common": ">=19.0.0",
147
147
  "@ng-icons/core": ">=29.0.0",
@@ -154,14 +154,14 @@
154
154
  "peerDependencies": {
155
155
  "@angular/core": ">=19.0.0",
156
156
  "@angular/forms": ">=19.0.0",
157
- "@spartan-ng/brain": "0.0.1-alpha.473"
157
+ "@spartan-ng/brain": "0.0.1-alpha.475"
158
158
  }
159
159
  },
160
160
  "hover-card": {
161
161
  "internalName": "ui-hover-card-helm",
162
162
  "peerDependencies": {
163
163
  "@angular/core": ">=19.0.0",
164
- "@spartan-ng/brain": "0.0.1-alpha.473",
164
+ "@spartan-ng/brain": "0.0.1-alpha.475",
165
165
  "clsx": "^2.1.1"
166
166
  }
167
167
  },
@@ -177,7 +177,7 @@
177
177
  "internalName": "ui-input-helm",
178
178
  "peerDependencies": {
179
179
  "@angular/core": ">=19.0.0",
180
- "@spartan-ng/brain": "0.0.1-alpha.473",
180
+ "@spartan-ng/brain": "0.0.1-alpha.475",
181
181
  "class-variance-authority": "^0.7.0",
182
182
  "clsx": "^2.1.1",
183
183
  "@angular/forms": ">=19.0.0"
@@ -187,7 +187,7 @@
187
187
  "internalName": "ui-input-otp-helm",
188
188
  "peerDependencies": {
189
189
  "@angular/core": ">=19.0.0",
190
- "@spartan-ng/brain": "0.0.1-alpha.473",
190
+ "@spartan-ng/brain": "0.0.1-alpha.475",
191
191
  "clsx": "^2.1.1",
192
192
  "@ng-icons/core": ">=29.0.0",
193
193
  "@ng-icons/lucide": ">=29.0.0",
@@ -198,7 +198,7 @@
198
198
  "internalName": "ui-label-helm",
199
199
  "peerDependencies": {
200
200
  "@angular/core": ">=19.0.0",
201
- "@spartan-ng/brain": "0.0.1-alpha.473",
201
+ "@spartan-ng/brain": "0.0.1-alpha.475",
202
202
  "class-variance-authority": "^0.7.0",
203
203
  "clsx": "^2.1.1"
204
204
  }
@@ -207,7 +207,7 @@
207
207
  "internalName": "ui-menu-helm",
208
208
  "peerDependencies": {
209
209
  "@angular/core": ">=19.0.0",
210
- "@spartan-ng/brain": "0.0.1-alpha.473",
210
+ "@spartan-ng/brain": "0.0.1-alpha.475",
211
211
  "clsx": "^2.1.1",
212
212
  "@ng-icons/core": ">=29.0.0",
213
213
  "@ng-icons/lucide": ">=29.0.0",
@@ -220,7 +220,7 @@
220
220
  "@angular/core": ">=19.0.0",
221
221
  "@angular/cdk": ">=19.0.0",
222
222
  "@angular/forms": ">=19.0.0",
223
- "@spartan-ng/brain": "0.0.1-alpha.473",
223
+ "@spartan-ng/brain": "0.0.1-alpha.475",
224
224
  "class-variance-authority": "^0.7.0",
225
225
  "clsx": "^2.1.1",
226
226
  "@ng-icons/core": ">=29.0.0",
@@ -232,7 +232,7 @@
232
232
  "internalName": "ui-popover-helm",
233
233
  "peerDependencies": {
234
234
  "@angular/core": ">=19.0.0",
235
- "@spartan-ng/brain": "0.0.1-alpha.473",
235
+ "@spartan-ng/brain": "0.0.1-alpha.475",
236
236
  "clsx": "^2.1.1"
237
237
  }
238
238
  },
@@ -240,7 +240,7 @@
240
240
  "internalName": "ui-progress-helm",
241
241
  "peerDependencies": {
242
242
  "@angular/core": ">=19.0.0",
243
- "@spartan-ng/brain": "0.0.1-alpha.473",
243
+ "@spartan-ng/brain": "0.0.1-alpha.475",
244
244
  "clsx": "^2.1.1"
245
245
  }
246
246
  },
@@ -248,7 +248,7 @@
248
248
  "internalName": "ui-radio-group-helm",
249
249
  "peerDependencies": {
250
250
  "@angular/core": ">=19.0.0",
251
- "@spartan-ng/brain": "0.0.1-alpha.473",
251
+ "@spartan-ng/brain": "0.0.1-alpha.475",
252
252
  "clsx": "^2.1.1",
253
253
  "@angular/common": ">=19.0.0"
254
254
  }
@@ -257,7 +257,7 @@
257
257
  "internalName": "ui-scroll-area-helm",
258
258
  "peerDependencies": {
259
259
  "@angular/core": ">=19.0.0",
260
- "@spartan-ng/brain": "0.0.1-alpha.473",
260
+ "@spartan-ng/brain": "0.0.1-alpha.475",
261
261
  "clsx": "^2.1.1"
262
262
  }
263
263
  },
@@ -265,7 +265,7 @@
265
265
  "internalName": "ui-select-helm",
266
266
  "peerDependencies": {
267
267
  "@angular/core": ">=19.0.0",
268
- "@spartan-ng/brain": "0.0.1-alpha.473",
268
+ "@spartan-ng/brain": "0.0.1-alpha.475",
269
269
  "clsx": "^2.1.1",
270
270
  "@ng-icons/core": ">=29.0.0",
271
271
  "@ng-icons/lucide": ">=29.0.0",
@@ -276,7 +276,7 @@
276
276
  "internalName": "ui-separator-helm",
277
277
  "peerDependencies": {
278
278
  "@angular/core": ">=19.0.0",
279
- "@spartan-ng/brain": "0.0.1-alpha.473",
279
+ "@spartan-ng/brain": "0.0.1-alpha.475",
280
280
  "clsx": "^2.1.1"
281
281
  }
282
282
  },
@@ -284,7 +284,7 @@
284
284
  "internalName": "ui-sheet-helm",
285
285
  "peerDependencies": {
286
286
  "@angular/core": ">=19.0.0",
287
- "@spartan-ng/brain": "0.0.1-alpha.473",
287
+ "@spartan-ng/brain": "0.0.1-alpha.475",
288
288
  "clsx": "^2.1.1",
289
289
  "@ng-icons/core": ">=29.0.0",
290
290
  "@ng-icons/lucide": ">=29.0.0",
@@ -295,7 +295,7 @@
295
295
  "internalName": "ui-skeleton-helm",
296
296
  "peerDependencies": {
297
297
  "@angular/core": ">=19.0.0",
298
- "@spartan-ng/brain": "0.0.1-alpha.473",
298
+ "@spartan-ng/brain": "0.0.1-alpha.475",
299
299
  "clsx": "^2.1.1"
300
300
  }
301
301
  },
@@ -303,7 +303,7 @@
303
303
  "internalName": "ui-slider-helm",
304
304
  "peerDependencies": {
305
305
  "@angular/core": ">=19.0.0",
306
- "@spartan-ng/brain": "0.0.1-alpha.473",
306
+ "@spartan-ng/brain": "0.0.1-alpha.475",
307
307
  "clsx": "^2.1.1"
308
308
  }
309
309
  },
@@ -311,7 +311,7 @@
311
311
  "internalName": "ui-sonner-helm",
312
312
  "peerDependencies": {
313
313
  "@angular/core": ">=19.0.0",
314
- "@spartan-ng/brain": "0.0.1-alpha.473",
314
+ "@spartan-ng/brain": "0.0.1-alpha.475",
315
315
  "clsx": "^2.1.1",
316
316
  "ngx-sonner": ">=3.0.0"
317
317
  }
@@ -320,7 +320,7 @@
320
320
  "internalName": "ui-spinner-helm",
321
321
  "peerDependencies": {
322
322
  "@angular/core": ">=19.0.0",
323
- "@spartan-ng/brain": "0.0.1-alpha.473",
323
+ "@spartan-ng/brain": "0.0.1-alpha.475",
324
324
  "class-variance-authority": "^0.7.0",
325
325
  "clsx": "^2.1.1"
326
326
  }
@@ -329,7 +329,7 @@
329
329
  "internalName": "ui-switch-helm",
330
330
  "peerDependencies": {
331
331
  "@angular/core": ">=19.0.0",
332
- "@spartan-ng/brain": "0.0.1-alpha.473",
332
+ "@spartan-ng/brain": "0.0.1-alpha.475",
333
333
  "clsx": "^2.1.1",
334
334
  "@angular/cdk": ">=19.0.0",
335
335
  "@angular/forms": ">=19.0.0"
@@ -339,7 +339,7 @@
339
339
  "internalName": "ui-table-helm",
340
340
  "peerDependencies": {
341
341
  "@angular/core": ">=19.0.0",
342
- "@spartan-ng/brain": "0.0.1-alpha.473",
342
+ "@spartan-ng/brain": "0.0.1-alpha.475",
343
343
  "clsx": "^2.1.1",
344
344
  "@angular/common": ">=19.0.0"
345
345
  }
@@ -348,19 +348,20 @@
348
348
  "internalName": "ui-tabs-helm",
349
349
  "peerDependencies": {
350
350
  "@angular/core": ">=19.0.0",
351
- "@spartan-ng/brain": "0.0.1-alpha.473",
351
+ "@spartan-ng/brain": "0.0.1-alpha.475",
352
352
  "clsx": "^2.1.1",
353
353
  "class-variance-authority": "^0.7.0",
354
354
  "@angular/cdk": ">=19.0.0",
355
355
  "@ng-icons/core": ">=29.0.0",
356
- "@ng-icons/lucide": ">=29.0.0"
356
+ "@ng-icons/lucide": ">=29.0.0",
357
+ "rxjs": "^7.8.0"
357
358
  }
358
359
  },
359
360
  "toggle": {
360
361
  "internalName": "ui-toggle-helm",
361
362
  "peerDependencies": {
362
363
  "@angular/core": ">=19.0.0",
363
- "@spartan-ng/brain": "0.0.1-alpha.473",
364
+ "@spartan-ng/brain": "0.0.1-alpha.475",
364
365
  "class-variance-authority": "^0.7.0",
365
366
  "clsx": "^2.1.1"
366
367
  }
@@ -369,7 +370,7 @@
369
370
  "internalName": "ui-toggle-group-helm",
370
371
  "peerDependencies": {
371
372
  "@angular/core": ">=19.0.0",
372
- "@spartan-ng/brain": "0.0.1-alpha.473",
373
+ "@spartan-ng/brain": "0.0.1-alpha.475",
373
374
  "class-variance-authority": "^0.7.0",
374
375
  "clsx": "^2.1.1"
375
376
  }
@@ -378,14 +379,14 @@
378
379
  "internalName": "ui-tooltip-helm",
379
380
  "peerDependencies": {
380
381
  "@angular/core": ">=19.0.0",
381
- "@spartan-ng/brain": "0.0.1-alpha.473"
382
+ "@spartan-ng/brain": "0.0.1-alpha.475"
382
383
  }
383
384
  },
384
385
  "typography": {
385
386
  "internalName": "ui-typography-helm",
386
387
  "peerDependencies": {
387
388
  "@angular/core": ">=19.0.0",
388
- "@spartan-ng/brain": "0.0.1-alpha.473",
389
+ "@spartan-ng/brain": "0.0.1-alpha.475",
389
390
  "clsx": "^2.1.1"
390
391
  }
391
392
  }