@kouji-ui/core 0.6.0 → 0.6.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.
package/package.json
CHANGED
package/types/kouji-ui-core.d.ts
CHANGED
|
@@ -1432,6 +1432,7 @@ declare class KjRovingTabindexItemDirective {
|
|
|
1432
1432
|
readonly el: ElementRef<any>;
|
|
1433
1433
|
/** @internal */
|
|
1434
1434
|
readonly active: _angular_core.WritableSignal<boolean>;
|
|
1435
|
+
constructor();
|
|
1435
1436
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KjRovingTabindexItemDirective, never>;
|
|
1436
1437
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<KjRovingTabindexItemDirective, "[kjRovingTabindexItem]", never, {}, {}, never, never, true, never>;
|
|
1437
1438
|
}
|
|
@@ -1452,8 +1453,15 @@ declare class KjRovingTabindexItemDirective {
|
|
|
1452
1453
|
*/
|
|
1453
1454
|
declare class KjRovingTabindex {
|
|
1454
1455
|
private readonly host;
|
|
1456
|
+
private readonly registered;
|
|
1457
|
+
/** Items in DOM order — registration order follows creation, which a
|
|
1458
|
+
* re-order (`@for` with a changing track) does not preserve. */
|
|
1455
1459
|
private readonly items;
|
|
1456
1460
|
private readonly activeIndex;
|
|
1461
|
+
/** @internal */
|
|
1462
|
+
register(item: KjRovingTabindexItemDirective): void;
|
|
1463
|
+
/** @internal */
|
|
1464
|
+
unregister(item: KjRovingTabindexItemDirective): void;
|
|
1457
1465
|
/**
|
|
1458
1466
|
* Restricts arrow-key navigation to a single axis.
|
|
1459
1467
|
* - `'horizontal'`: only ArrowLeft / ArrowRight move focus.
|
|
@@ -1471,7 +1479,7 @@ declare class KjRovingTabindex {
|
|
|
1471
1479
|
/** @internal */
|
|
1472
1480
|
onKeydown(event: KeyboardEvent): void;
|
|
1473
1481
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KjRovingTabindex, never>;
|
|
1474
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<KjRovingTabindex, "[kjRovingTabindex]", never, { "kjRovingOrientation": { "alias": "kjRovingOrientation"; "required": false; "isSignal": true; }; }, {},
|
|
1482
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<KjRovingTabindex, "[kjRovingTabindex]", never, { "kjRovingOrientation": { "alias": "kjRovingOrientation"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1475
1483
|
}
|
|
1476
1484
|
|
|
1477
1485
|
/**
|