@frontfamily/cli 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5587,7 +5587,7 @@ import type { FamilyNode, ThemeMode, DensityMode, PreviewState } from '@frontfam
5587
5587
  <p style="color: #757575;">Select a navigation item from the sidebar to view content.</p>
5588
5588
  <div *ngIf="data.length > 0" class="data-summary">
5589
5589
  <p><strong>{{ data.length }}</strong> family nodes loaded</p>
5590
- <p>Active: {{ data | activeCount }}</p>
5590
+ <p>Active: {{ getActiveCount() }}</p>
5591
5591
  </div>
5592
5592
  </mat-sidenav-content>
5593
5593
  </mat-sidenav-container>
@@ -5676,6 +5676,10 @@ export class SidebarLayoutComponent implements OnInit {
5676
5676
  this.reportMetrics();
5677
5677
  }
5678
5678
 
5679
+ getActiveCount(): number {
5680
+ return this.data.filter(n => n.status === 'active').length;
5681
+ }
5682
+
5679
5683
  private reportMetrics(): void {
5680
5684
  const start = performance.now();
5681
5685
  requestAnimationFrame(() => {
@@ -6420,7 +6424,7 @@ export class PricingTableComponent implements OnInit {
6420
6424
  "file": "stepper-wizard.component.ts",
6421
6425
  "source": `import { Component, Input, OnInit } from '@angular/core';
6422
6426
  import { CommonModule } from '@angular/common';
6423
- import { ReactiveFormsModule, FormGroup, FormControl, Validators } from '@angular/forms';
6427
+ import { ReactiveFormsModule, FormsModule, FormGroup, FormControl, Validators } from '@angular/forms';
6424
6428
  import { MatStepperModule } from '@angular/material/stepper';
6425
6429
  import { MatFormFieldModule } from '@angular/material/form-field';
6426
6430
  import { MatInputModule } from '@angular/material/input';
@@ -6437,6 +6441,7 @@ import type { ThemeMode, DensityMode, PreviewState } from '@frontfamily/shared-d
6437
6441
  imports: [
6438
6442
  CommonModule,
6439
6443
  ReactiveFormsModule,
6444
+ FormsModule,
6440
6445
  MatStepperModule,
6441
6446
  MatFormFieldModule,
6442
6447
  MatInputModule,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontfamily/cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Eject production-ready UI pattern components across React, Vue, and Angular frameworks",
5
5
  "author": "ch-bas",
6
6
  "license": "Apache-2.0",