@akcelik/strct 1.16.0 → 1.18.0

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": "@akcelik/strct",
3
- "version": "1.16.0",
3
+ "version": "1.18.0",
4
4
  "description": "UIStruct — a standalone Angular component library with a tokenised, multi-palette theme system, built for datacenter / infrastructure management UIs.",
5
5
  "author": "Serkan Akcelik <serkan.akcelik@gmail.com>",
6
6
  "license": "MIT",
@@ -1358,7 +1358,7 @@ declare function provideStrctWizardDefaults(defaults: StrctWizardDefaults): Prov
1358
1358
  * rail — dashed-ring states (idle ⊙ / active ●⊙ / done ✓), a progress bar
1359
1359
  * with an “n/N” counter, and click-back navigation to visited steps — plus an
1360
1360
  * optional right column projected via `strctWizardAside` (live summaries).
1361
- * The rail never flips horizontal: under ~720px of component width it
1361
+ * The rail never flips horizontal: under ~700px of component width it
1362
1362
  * collapses to a compact vertical ring column (container query).
1363
1363
  *
1364
1364
  * <strct-wizard vertical title="Create virtual machine">
@@ -1396,6 +1396,13 @@ declare class StrctWizard {
1396
1396
  readonly flush: _angular_core.InputSignalWithTransform<boolean, unknown>;
1397
1397
  /** Rail heading shown above the progress bar (vertical mode). */
1398
1398
  readonly title: _angular_core.InputSignal<string>;
1399
+ /**
1400
+ * Name the content pane after the active step (vertical mode): the step's
1401
+ * `label` as a heading, its `description` as the lede. In the compact
1402
+ * narrow rail this is the only visible step name. On by default;
1403
+ * `[contentHeader]="false"` opts out.
1404
+ */
1405
+ readonly contentHeader: _angular_core.InputSignalWithTransform<boolean, unknown>;
1399
1406
  /** Label for the final-step button (default "Finish"). */
1400
1407
  readonly finishLabel: _angular_core.InputSignal<string>;
1401
1408
  /** Labels for the Back / Next / Cancel buttons (localizable). */
@@ -1421,6 +1428,7 @@ declare class StrctWizard {
1421
1428
  /** Furthest step reached — drives the progress bar and rail clickability. */
1422
1429
  protected readonly maxVisited: _angular_core.WritableSignal<number>;
1423
1430
  protected readonly progressPct: _angular_core.Signal<number>;
1431
+ protected readonly activeStep: _angular_core.Signal<StrctStep>;
1424
1432
  protected readonly isLast: _angular_core.Signal<boolean>;
1425
1433
  /** Whether the current step permits advancing (its `canAdvance`). */
1426
1434
  protected readonly canAdvance: _angular_core.Signal<boolean>;
@@ -1431,7 +1439,7 @@ declare class StrctWizard {
1431
1439
  goTo(index: number): void;
1432
1440
  finish(): void;
1433
1441
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctWizard, never>;
1434
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctWizard, "strct-wizard", never, { "current": { "alias": "current"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "flush": { "alias": "flush"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "finishLabel": { "alias": "finishLabel"; "required": false; "isSignal": true; }; "backLabel": { "alias": "backLabel"; "required": false; "isSignal": true; }; "nextLabel": { "alias": "nextLabel"; "required": false; "isSignal": true; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; "isSignal": true; }; "submittingLabel": { "alias": "submittingLabel"; "required": false; "isSignal": true; }; "progressLabel": { "alias": "progressLabel"; "required": false; "isSignal": true; }; "stepsLabel": { "alias": "stepsLabel"; "required": false; "isSignal": true; }; "submitting": { "alias": "submitting"; "required": false; "isSignal": true; }; "cancelable": { "alias": "cancelable"; "required": false; "isSignal": true; }; }, { "current": "currentChange"; "finished": "finished"; "cancelled": "cancelled"; "stepChange": "stepChange"; }, ["steps", "asideDef"], ["*", "[strctWizardAside]"], true, never>;
1442
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctWizard, "strct-wizard", never, { "current": { "alias": "current"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "flush": { "alias": "flush"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "contentHeader": { "alias": "contentHeader"; "required": false; "isSignal": true; }; "finishLabel": { "alias": "finishLabel"; "required": false; "isSignal": true; }; "backLabel": { "alias": "backLabel"; "required": false; "isSignal": true; }; "nextLabel": { "alias": "nextLabel"; "required": false; "isSignal": true; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; "isSignal": true; }; "submittingLabel": { "alias": "submittingLabel"; "required": false; "isSignal": true; }; "progressLabel": { "alias": "progressLabel"; "required": false; "isSignal": true; }; "stepsLabel": { "alias": "stepsLabel"; "required": false; "isSignal": true; }; "submitting": { "alias": "submitting"; "required": false; "isSignal": true; }; "cancelable": { "alias": "cancelable"; "required": false; "isSignal": true; }; }, { "current": "currentChange"; "finished": "finished"; "cancelled": "cancelled"; "stepChange": "stepChange"; }, ["steps", "asideDef"], ["*", "[strctWizardAside]"], true, never>;
1435
1443
  }
1436
1444
 
1437
1445
  /**