@kouji-ui/core 0.13.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.13.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": {
@@ -14751,6 +14751,14 @@ declare class KjCombobox implements KjListNavigatorConfig {
14751
14751
  readonly items: Signal<readonly KjListItem<unknown>[]>;
14752
14752
  /** Filter-aware visible items, exposed for KjListNavigatorConfig. */
14753
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>;
14754
14762
  /** Public surface read by children. */
14755
14763
  readonly query: Signal<string>;
14756
14764
  readonly open: Signal<boolean>;
@@ -14790,6 +14798,8 @@ declare class KjCombobox implements KjListNavigatorConfig {
14790
14798
  /** @internal Point `aria-activedescendant` at a rendered row, for a wrapper that owns the cursor. */
14791
14799
  _setActiveId(id: string | null): void;
14792
14800
  constructor();
14801
+ private isPicked;
14802
+ /** Text typed into the input: sets the query, filters the list by it and opens it. */
14793
14803
  setQuery(value: string): void;
14794
14804
  /**
14795
14805
  * Programmatic select used by `commitActive()` (Enter on the input