@akcelik/strct 5.27.0 → 5.28.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": "5.
|
|
3
|
+
"version": "5.28.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",
|
package/types/akcelik-strct.d.ts
CHANGED
|
@@ -5914,6 +5914,8 @@ interface StrctFlowNode {
|
|
|
5914
5914
|
role?: string;
|
|
5915
5915
|
/** Optional status dot tone for this terminal. */
|
|
5916
5916
|
status?: StrctStatus;
|
|
5917
|
+
/** A leading icon, for a node whose kind is part of the answer. */
|
|
5918
|
+
icon?: string;
|
|
5917
5919
|
/** Which column this node sits in (`fan-out`). Derived from depth in `tree`. */
|
|
5918
5920
|
column?: number;
|
|
5919
5921
|
/**
|
|
@@ -5984,6 +5986,23 @@ declare class StrctFlow {
|
|
|
5984
5986
|
emptyText: string;
|
|
5985
5987
|
nodes: StrctFlowNode[];
|
|
5986
5988
|
}[]>;
|
|
5989
|
+
/**
|
|
5990
|
+
* One tab stop for the whole diagram, with the arrow keys walking it:
|
|
5991
|
+
* ← / → follow the edges (or the columns, where a node has none), ↑ / ↓ move
|
|
5992
|
+
* within a column, Home / End jump to its ends. Off by default, so a
|
|
5993
|
+
* decorative pipeline keeps no tab stop at all.
|
|
5994
|
+
*/
|
|
5995
|
+
readonly navigable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5996
|
+
/** Emitted when a node is clicked, or Enter / Space is pressed on it. */
|
|
5997
|
+
readonly nodeActivate: _angular_core.OutputEmitterRef<StrctFlowNode>;
|
|
5998
|
+
/** The node the tab stop is on (its id). */
|
|
5999
|
+
protected readonly cursor: _angular_core.WritableSignal<string | null>;
|
|
6000
|
+
protected isCursor(node: StrctFlowNode): boolean;
|
|
6001
|
+
protected activate(node: StrctFlowNode): void;
|
|
6002
|
+
protected onNodeKeydown(event: KeyboardEvent, node: StrctFlowNode): void;
|
|
6003
|
+
/** Where a key leads from `node`: along an edge, or within the column. */
|
|
6004
|
+
private neighbour;
|
|
6005
|
+
private focusNode;
|
|
5987
6006
|
/** What a node says to assistive tech: itself, then where it leads. */
|
|
5988
6007
|
protected nodeSummary(node: StrctFlowNode): string;
|
|
5989
6008
|
/** Measured edge geometry — recomputed whenever the boxes move or resize. */
|
|
@@ -6012,7 +6031,7 @@ declare class StrctFlow {
|
|
|
6012
6031
|
/** Human-readable summary for assistive tech. */
|
|
6013
6032
|
protected readonly ariaLabel: _angular_core.Signal<string>;
|
|
6014
6033
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctFlow, never>;
|
|
6015
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctFlow, "strct-flow", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "live": { "alias": "live"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "edges": { "alias": "edges"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; }, {}, ["nodeTpl"], never, true, never>;
|
|
6034
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctFlow, "strct-flow", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "live": { "alias": "live"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "edges": { "alias": "edges"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "navigable": { "alias": "navigable"; "required": false; "isSignal": true; }; }, { "nodeActivate": "nodeActivate"; }, ["nodeTpl"], never, true, never>;
|
|
6016
6035
|
}
|
|
6017
6036
|
|
|
6018
6037
|
/** Accent colour for a metric tile. */
|