@kouji-ui/core 0.13.0 → 0.13.2
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": "@kouji-ui/core",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"description": "Headless Angular UI primitives — signal-driven directives with WCAG 2.1 AAA semantics, no CDK, and a handful of opt-in global stylesheets.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
package/types/kouji-ui-core.d.ts
CHANGED
|
@@ -499,6 +499,12 @@ interface KjOverlayRegistration {
|
|
|
499
499
|
/** Returned by `KjOverlayStack.register()` — the overlay's live stack position and its unregister hook. */
|
|
500
500
|
interface KjOverlayStackHandle {
|
|
501
501
|
unregister: () => void;
|
|
502
|
+
/**
|
|
503
|
+
* Stop owning gestures but keep the stack level: called when the overlay
|
|
504
|
+
* starts closing. Its close animation still paints at its level, while an
|
|
505
|
+
* Escape or outside press made during it goes to what is beneath.
|
|
506
|
+
*/
|
|
507
|
+
release: () => void;
|
|
502
508
|
/** Whether this overlay owns gestures right now: no non-passive overlay is open above it. Always `false` for a passive entry. */
|
|
503
509
|
isTopmost: Signal<boolean>;
|
|
504
510
|
/**
|
|
@@ -14751,6 +14757,14 @@ declare class KjCombobox implements KjListNavigatorConfig {
|
|
|
14751
14757
|
readonly items: Signal<readonly KjListItem<unknown>[]>;
|
|
14752
14758
|
/** Filter-aware visible items, exposed for KjListNavigatorConfig. */
|
|
14753
14759
|
readonly visibleItems: Signal<readonly KjListItem<unknown>[]>;
|
|
14760
|
+
/**
|
|
14761
|
+
* Text the user typed since the list last closed or a value was picked —
|
|
14762
|
+
* the only text that filters the list. `kjQuery` also carries the picked
|
|
14763
|
+
* row's name (so the field reads as a picker), and filtering by it would
|
|
14764
|
+
* list nothing but the picked row on every later open.
|
|
14765
|
+
*/
|
|
14766
|
+
private readonly _typed;
|
|
14767
|
+
readonly filterQuery: Signal<string>;
|
|
14754
14768
|
/** Public surface read by children. */
|
|
14755
14769
|
readonly query: Signal<string>;
|
|
14756
14770
|
readonly open: Signal<boolean>;
|
|
@@ -14790,6 +14804,8 @@ declare class KjCombobox implements KjListNavigatorConfig {
|
|
|
14790
14804
|
/** @internal Point `aria-activedescendant` at a rendered row, for a wrapper that owns the cursor. */
|
|
14791
14805
|
_setActiveId(id: string | null): void;
|
|
14792
14806
|
constructor();
|
|
14807
|
+
private isPicked;
|
|
14808
|
+
/** Text typed into the input: sets the query, filters the list by it and opens it. */
|
|
14793
14809
|
setQuery(value: string): void;
|
|
14794
14810
|
/**
|
|
14795
14811
|
* Programmatic select used by `commitActive()` (Enter on the input
|