@kouji-ui/core 0.12.0 → 0.13.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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kouji-ui/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.1",
|
|
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
|
@@ -14485,6 +14485,14 @@ declare class KjSelect implements KjListNavigatorConfig {
|
|
|
14485
14485
|
* inside a palette, a menu inside a select) answer to that composite,
|
|
14486
14486
|
* not to this one.
|
|
14487
14487
|
*/
|
|
14488
|
+
private readonly _viewItems;
|
|
14489
|
+
private readonly viewItems;
|
|
14490
|
+
/**
|
|
14491
|
+
* @internal Register rows a wrapper stamps in its OWN view
|
|
14492
|
+
* (`<kj-select [kjOptions]>`). A content query never crosses into a
|
|
14493
|
+
* component's view, so those rows join `items()` only through here.
|
|
14494
|
+
*/
|
|
14495
|
+
_setViewItems(items: Signal<readonly KjListItem<unknown>[]> | null): void;
|
|
14488
14496
|
readonly items: Signal<readonly KjListItem<unknown>[]>;
|
|
14489
14497
|
/**
|
|
14490
14498
|
* Implements `KjListNavigatorConfig.visibleItems`: the items a wrapper has
|
|
@@ -14743,6 +14751,14 @@ declare class KjCombobox implements KjListNavigatorConfig {
|
|
|
14743
14751
|
readonly items: Signal<readonly KjListItem<unknown>[]>;
|
|
14744
14752
|
/** Filter-aware visible items, exposed for KjListNavigatorConfig. */
|
|
14745
14753
|
readonly visibleItems: Signal<readonly KjListItem<unknown>[]>;
|
|
14754
|
+
/**
|
|
14755
|
+
* Text the user typed since the list last closed or a value was picked —
|
|
14756
|
+
* the only text that filters the list. `kjQuery` also carries the picked
|
|
14757
|
+
* row's name (so the field reads as a picker), and filtering by it would
|
|
14758
|
+
* list nothing but the picked row on every later open.
|
|
14759
|
+
*/
|
|
14760
|
+
private readonly _typed;
|
|
14761
|
+
readonly filterQuery: Signal<string>;
|
|
14746
14762
|
/** Public surface read by children. */
|
|
14747
14763
|
readonly query: Signal<string>;
|
|
14748
14764
|
readonly open: Signal<boolean>;
|
|
@@ -14782,6 +14798,8 @@ declare class KjCombobox implements KjListNavigatorConfig {
|
|
|
14782
14798
|
/** @internal Point `aria-activedescendant` at a rendered row, for a wrapper that owns the cursor. */
|
|
14783
14799
|
_setActiveId(id: string | null): void;
|
|
14784
14800
|
constructor();
|
|
14801
|
+
private isPicked;
|
|
14802
|
+
/** Text typed into the input: sets the query, filters the list by it and opens it. */
|
|
14785
14803
|
setQuery(value: string): void;
|
|
14786
14804
|
/**
|
|
14787
14805
|
* Programmatic select used by `commitActive()` (Enter on the input
|