@spartan-ng/cli 0.0.1-alpha.511 → 0.0.1-alpha.512

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.511",
3
+ "version": "0.0.1-alpha.512",
4
4
  "type": "commonjs",
5
5
  "dependencies": {
6
6
  "@nx/angular": ">=20.0.0",
@@ -87,6 +87,9 @@ export class HlmCheckbox implements ControlValueAccessor {
87
87
  /** The checked state of the checkbox. */
88
88
  public readonly checked = model<CheckboxValue>(false);
89
89
 
90
+ /** Emits when checked state changes. */
91
+ public readonly checkedChange = output<CheckboxValue>();
92
+
90
93
  /** The name attribute of the checkbox. */
91
94
  public readonly name = input<string | null>(null);
92
95
 
@@ -112,6 +115,7 @@ export class HlmCheckbox implements ControlValueAccessor {
112
115
  this.checked.set(previousChecked === 'indeterminate' ? true : !previousChecked);
113
116
  this._onChange?.(!previousChecked);
114
117
  this.changed.emit(!previousChecked);
118
+ this.checkedChange.emit(!previousChecked);
115
119
  }
116
120
 
117
121
  /** CONTROL VALUE ACCESSOR */
@@ -62,6 +62,9 @@ export class HlmSwitch implements ControlValueAccessor {
62
62
  /** The checked state of the switch. */
63
63
  public readonly checked = model<boolean>(false);
64
64
 
65
+ /** Emits when the checked state of the switch changes. */
66
+ public readonly checkedChange = output<boolean>();
67
+
65
68
  /** The disabled state of the switch. */
66
69
  public readonly disabled = input<boolean, BooleanInput>(false, {
67
70
  transform: booleanAttribute,
@@ -91,6 +94,7 @@ export class HlmSwitch implements ControlValueAccessor {
91
94
  this.checked.set(value);
92
95
  this._onChange?.(value);
93
96
  this.changed.emit(value);
97
+ this.checkedChange.emit(value);
94
98
  }
95
99
 
96
100
  /** CONROL VALUE ACCESSOR */
@@ -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.511",
6
+ "@spartan-ng/brain": "0.0.1-alpha.512",
7
7
  "clsx": "^2.1.1",
8
8
  "@ng-icons/core": ">=29.0.0",
9
9
  "@ng-icons/lucide": ">=29.0.0"
@@ -21,7 +21,7 @@
21
21
  "internalName": "ui-alert-dialog-helm",
22
22
  "peerDependencies": {
23
23
  "@angular/core": ">=19.0.0",
24
- "@spartan-ng/brain": "0.0.1-alpha.511",
24
+ "@spartan-ng/brain": "0.0.1-alpha.512",
25
25
  "clsx": "^2.1.1"
26
26
  }
27
27
  },
@@ -38,7 +38,7 @@
38
38
  "peerDependencies": {
39
39
  "@angular/core": ">=19.0.0",
40
40
  "clsx": "^2.1.1",
41
- "@spartan-ng/brain": "0.0.1-alpha.511",
41
+ "@spartan-ng/brain": "0.0.1-alpha.512",
42
42
  "@angular/cdk": ">=19.0.0",
43
43
  "@angular/common": ">=19.0.0",
44
44
  "@angular/forms": ">=19.0.0",
@@ -50,7 +50,7 @@
50
50
  "internalName": "ui-avatar-helm",
51
51
  "peerDependencies": {
52
52
  "@angular/core": ">=19.0.0",
53
- "@spartan-ng/brain": "0.0.1-alpha.511",
53
+ "@spartan-ng/brain": "0.0.1-alpha.512",
54
54
  "clsx": "^2.1.1"
55
55
  }
56
56
  },
@@ -76,7 +76,7 @@
76
76
  "internalName": "ui-button-helm",
77
77
  "peerDependencies": {
78
78
  "@angular/core": ">=19.0.0",
79
- "@spartan-ng/brain": "0.0.1-alpha.511",
79
+ "@spartan-ng/brain": "0.0.1-alpha.512",
80
80
  "class-variance-authority": "^0.7.0",
81
81
  "clsx": "^2.1.1"
82
82
  }
@@ -88,7 +88,7 @@
88
88
  "@angular/cdk": ">=19.0.0",
89
89
  "@ng-icons/core": ">=29.0.0",
90
90
  "@ng-icons/lucide": ">=29.0.0",
91
- "@spartan-ng/brain": "0.0.1-alpha.511",
91
+ "@spartan-ng/brain": "0.0.1-alpha.512",
92
92
  "clsx": "^2.1.1"
93
93
  }
94
94
  },
@@ -118,7 +118,7 @@
118
118
  "@angular/forms": ">=19.0.0",
119
119
  "@ng-icons/core": ">=29.0.0",
120
120
  "@ng-icons/lucide": ">=29.0.0",
121
- "@spartan-ng/brain": "0.0.1-alpha.511",
121
+ "@spartan-ng/brain": "0.0.1-alpha.512",
122
122
  "clsx": "^2.1.1"
123
123
  }
124
124
  },
@@ -126,7 +126,7 @@
126
126
  "internalName": "ui-command-helm",
127
127
  "peerDependencies": {
128
128
  "@angular/core": ">=19.0.0",
129
- "@spartan-ng/brain": "0.0.1-alpha.511",
129
+ "@spartan-ng/brain": "0.0.1-alpha.512",
130
130
  "clsx": "^2.1.1"
131
131
  }
132
132
  },
@@ -138,7 +138,7 @@
138
138
  "@angular/forms": ">=19.0.0",
139
139
  "@ng-icons/core": ">=29.0.0",
140
140
  "@ng-icons/lucide": ">=29.0.0",
141
- "@spartan-ng/brain": "0.0.1-alpha.511",
141
+ "@spartan-ng/brain": "0.0.1-alpha.512",
142
142
  "clsx": "^2.1.1"
143
143
  }
144
144
  },
@@ -150,7 +150,7 @@
150
150
  "@angular/common": ">=19.0.0",
151
151
  "@ng-icons/core": ">=29.0.0",
152
152
  "@ng-icons/lucide": ">=29.0.0",
153
- "@spartan-ng/brain": "0.0.1-alpha.511",
153
+ "@spartan-ng/brain": "0.0.1-alpha.512",
154
154
  "@angular/cdk": ">=19.0.0"
155
155
  }
156
156
  },
@@ -159,7 +159,7 @@
159
159
  "peerDependencies": {
160
160
  "@angular/core": ">=19.0.0",
161
161
  "@angular/forms": ">=19.0.0",
162
- "@spartan-ng/brain": "0.0.1-alpha.511",
162
+ "@spartan-ng/brain": "0.0.1-alpha.512",
163
163
  "clsx": "^2.1.1"
164
164
  }
165
165
  },
@@ -167,7 +167,7 @@
167
167
  "internalName": "ui-hover-card-helm",
168
168
  "peerDependencies": {
169
169
  "@angular/core": ">=19.0.0",
170
- "@spartan-ng/brain": "0.0.1-alpha.511",
170
+ "@spartan-ng/brain": "0.0.1-alpha.512",
171
171
  "clsx": "^2.1.1"
172
172
  }
173
173
  },
@@ -186,7 +186,7 @@
186
186
  "class-variance-authority": "^0.7.0",
187
187
  "clsx": "^2.1.1",
188
188
  "@angular/forms": ">=19.0.0",
189
- "@spartan-ng/brain": "0.0.1-alpha.511"
189
+ "@spartan-ng/brain": "0.0.1-alpha.512"
190
190
  }
191
191
  },
192
192
  "input-otp": {
@@ -197,14 +197,14 @@
197
197
  "@ng-icons/core": ">=29.0.0",
198
198
  "@ng-icons/lucide": ">=29.0.0",
199
199
  "@angular/cdk": ">=19.0.0",
200
- "@spartan-ng/brain": "0.0.1-alpha.511"
200
+ "@spartan-ng/brain": "0.0.1-alpha.512"
201
201
  }
202
202
  },
203
203
  "label": {
204
204
  "internalName": "ui-label-helm",
205
205
  "peerDependencies": {
206
206
  "@angular/core": ">=19.0.0",
207
- "@spartan-ng/brain": "0.0.1-alpha.511",
207
+ "@spartan-ng/brain": "0.0.1-alpha.512",
208
208
  "clsx": "^2.1.1"
209
209
  }
210
210
  },
@@ -212,7 +212,7 @@
212
212
  "internalName": "ui-menu-helm",
213
213
  "peerDependencies": {
214
214
  "@angular/core": ">=19.0.0",
215
- "@spartan-ng/brain": "0.0.1-alpha.511",
215
+ "@spartan-ng/brain": "0.0.1-alpha.512",
216
216
  "clsx": "^2.1.1",
217
217
  "@ng-icons/core": ">=29.0.0",
218
218
  "@ng-icons/lucide": ">=29.0.0",
@@ -226,7 +226,7 @@
226
226
  "@angular/core": ">=19.0.0",
227
227
  "@angular/cdk": ">=19.0.0",
228
228
  "@angular/forms": ">=19.0.0",
229
- "@spartan-ng/brain": "0.0.1-alpha.511",
229
+ "@spartan-ng/brain": "0.0.1-alpha.512",
230
230
  "class-variance-authority": "^0.7.0",
231
231
  "clsx": "^2.1.1",
232
232
  "@ng-icons/core": ">=29.0.0",
@@ -239,14 +239,14 @@
239
239
  "peerDependencies": {
240
240
  "@angular/core": ">=19.0.0",
241
241
  "clsx": "^2.1.1",
242
- "@spartan-ng/brain": "0.0.1-alpha.511"
242
+ "@spartan-ng/brain": "0.0.1-alpha.512"
243
243
  }
244
244
  },
245
245
  "progress": {
246
246
  "internalName": "ui-progress-helm",
247
247
  "peerDependencies": {
248
248
  "@angular/core": ">=19.0.0",
249
- "@spartan-ng/brain": "0.0.1-alpha.511",
249
+ "@spartan-ng/brain": "0.0.1-alpha.512",
250
250
  "clsx": "^2.1.1"
251
251
  }
252
252
  },
@@ -254,7 +254,7 @@
254
254
  "internalName": "ui-radio-group-helm",
255
255
  "peerDependencies": {
256
256
  "@angular/core": ">=19.0.0",
257
- "@spartan-ng/brain": "0.0.1-alpha.511",
257
+ "@spartan-ng/brain": "0.0.1-alpha.512",
258
258
  "clsx": "^2.1.1",
259
259
  "@angular/common": ">=19.0.0"
260
260
  }
@@ -271,7 +271,7 @@
271
271
  "peerDependencies": {
272
272
  "@angular/core": ">=19.0.0",
273
273
  "@angular/cdk": ">=19.0.0",
274
- "@spartan-ng/brain": "0.0.1-alpha.511",
274
+ "@spartan-ng/brain": "0.0.1-alpha.512",
275
275
  "clsx": "^2.1.1",
276
276
  "@ng-icons/core": ">=29.0.0",
277
277
  "@ng-icons/lucide": ">=29.0.0",
@@ -282,7 +282,7 @@
282
282
  "internalName": "ui-separator-helm",
283
283
  "peerDependencies": {
284
284
  "@angular/core": ">=19.0.0",
285
- "@spartan-ng/brain": "0.0.1-alpha.511",
285
+ "@spartan-ng/brain": "0.0.1-alpha.512",
286
286
  "clsx": "^2.1.1"
287
287
  }
288
288
  },
@@ -293,7 +293,7 @@
293
293
  "clsx": "^2.1.1",
294
294
  "@ng-icons/core": ">=29.0.0",
295
295
  "@ng-icons/lucide": ">=29.0.0",
296
- "@spartan-ng/brain": "0.0.1-alpha.511",
296
+ "@spartan-ng/brain": "0.0.1-alpha.512",
297
297
  "class-variance-authority": "^0.7.0"
298
298
  }
299
299
  },
@@ -308,7 +308,7 @@
308
308
  "internalName": "ui-slider-helm",
309
309
  "peerDependencies": {
310
310
  "@angular/core": ">=19.0.0",
311
- "@spartan-ng/brain": "0.0.1-alpha.511",
311
+ "@spartan-ng/brain": "0.0.1-alpha.512",
312
312
  "clsx": "^2.1.1"
313
313
  }
314
314
  },
@@ -334,7 +334,7 @@
334
334
  "clsx": "^2.1.1",
335
335
  "@angular/cdk": ">=19.0.0",
336
336
  "@angular/forms": ">=19.0.0",
337
- "@spartan-ng/brain": "0.0.1-alpha.511"
337
+ "@spartan-ng/brain": "0.0.1-alpha.512"
338
338
  }
339
339
  },
340
340
  "table": {
@@ -348,7 +348,7 @@
348
348
  "internalName": "ui-tabs-helm",
349
349
  "peerDependencies": {
350
350
  "@angular/core": ">=19.0.0",
351
- "@spartan-ng/brain": "0.0.1-alpha.511",
351
+ "@spartan-ng/brain": "0.0.1-alpha.512",
352
352
  "clsx": "^2.1.1",
353
353
  "class-variance-authority": "^0.7.0",
354
354
  "@angular/cdk": ">=19.0.0",
@@ -377,7 +377,7 @@
377
377
  "internalName": "ui-tooltip-helm",
378
378
  "peerDependencies": {
379
379
  "@angular/core": ">=19.0.0",
380
- "@spartan-ng/brain": "0.0.1-alpha.511"
380
+ "@spartan-ng/brain": "0.0.1-alpha.512"
381
381
  }
382
382
  },
383
383
  "typography": {