Skip to content

Commit f8a812c

Browse files
chore: release
1 parent 6ed3d57 commit f8a812c

3 files changed

Lines changed: 18 additions & 17 deletions

File tree

.changeset/filterpicker-loading-items.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# @cube-dev/ui-kit
22

3+
## 0.128.0
4+
5+
### Minor Changes
6+
7+
- [#1124](https://github.com/cube-js/cube-ui-kit/pull/1124) [`9d3785c4`](https://github.com/cube-js/cube-ui-kit/commit/9d3785c48998437b1115305e4db162235887ad18) Thanks [@tenphi](https://github.com/tenphi)! - Simplify `isLoadingItems` in `FilterPicker` and `FilterListBox` — it now shows a loading spinner in the search input suffix inside the popover instead of a full disclaimer. The trigger no longer shows a loading icon for `isLoadingItems`. Remove `loadingItemsLabel` prop. Unify `emptyLabel` to cover all empty states: when provided, it overrides both the "No items" and "No results found" defaults.
8+
9+
During an in-flight server fetch (`filter={false}` + `isLoadingItems={true}`), stale items that do not text-match the current search are now hidden client-side via `contains`. This avoids confusing UI where unrelated stale items remain visible alongside the user's typed value. Once the fetch resolves and `isLoadingItems` flips back to `false`, the parent's items are shown as-is.
10+
11+
Locally-injected selected custom values (the ones that persist via `customKeys` in multi-select with `allowsCustomValue`) now also respect the search input regardless of `filter={false}`. Previously they remained visible while the parent's items were filtered, which created an inconsistent UI. `filter={false}` only governs how parent-provided items are filtered — it does not exempt FilterListBox's own injected items.
12+
13+
Improve virtual-focus behavior with `allowsCustomValue`:
14+
15+
- While the user is typing and the server fetch is in flight, non-matching stale items are hidden and focus moves to the new custom-value suggestion so the user can press Enter to add it immediately.
16+
- When the fetch resolves with no matches, focus stays on the custom value.
17+
- When the fetch resolves with matches, focus moves to the first real item.
18+
- With client-side filtering, when no items match the search, focus moves to the custom-value suggestion (same UX as the server-side path).
19+
320
## 0.127.3
421

522
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cube-dev/ui-kit",
3-
"version": "0.127.3",
3+
"version": "0.128.0",
44
"type": "module",
55
"description": "UIKit for Cube Projects",
66
"repository": {

0 commit comments

Comments
 (0)