@eqtylab/equality 4.2.0 → 4.3.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/CHANGELOG.md CHANGED
@@ -2,6 +2,47 @@
2
2
 
3
3
  Notable changes to Equality are recorded here, following [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
4
4
 
5
+ ## 4.3.1 - 2026-09-24
6
+
7
+ ### Fixed
8
+
9
+ - A searchable `DropdownMenu`, `FilterDropdown` or `RadioDropdown` inside a `Dialog` or
10
+ `Sheet` now focuses its search box when opened. The dialog's focus trap pulled focus
11
+ back out, leaving it on the menu.
12
+
13
+ ## 4.3.0 - 2026-09-24
14
+
15
+ ### Added
16
+
17
+ - `SelectSearch` and `SelectEmpty`, bringing `DropdownMenu`'s opt-in, in-place search to
18
+ `Select`. `SelectItem` matches on its `textValue`, falling back to its rendered text.
19
+ The search box is shown and focused when the select opens; `alwaysVisible={false}`
20
+ reveals it on the first keystroke instead.
21
+ - `dropdown-search`, `dropdown-search-input` and `dropdown-empty` utility classes, alongside
22
+ `dropdown-content` and `dropdown-item`.
23
+
24
+ ### Changed
25
+
26
+ - A searchable `FilterDropdown` or `RadioDropdown` now shows its search box, focused, as
27
+ soon as the menu opens, instead of waiting for the first keystroke. The search box
28
+ replaces the menu heading and takes `label` as its accessible name.
29
+ - In a searchable `FilterDropdown`, "Clear all" moves to a footer pinned to the bottom of
30
+ the menu. Without search, it stays in the "Filters" heading.
31
+ - Enter in `DropdownMenuSearch` now activates the first matching item while a query is
32
+ active, and so does a searchable `FilterDropdown` or `RadioDropdown`.
33
+ - `DropdownMenuSearch` keeps `role="searchbox"`, its `aria-controls` and its internal
34
+ data attribute, and `DropdownMenuEmpty` keeps its live-region role, even when the same
35
+ props are passed in.
36
+
37
+ ### Fixed
38
+
39
+ - `FilterDropdown`'s "Clear all" is now a menu item, so keyboard and screen reader users
40
+ can reach it. It was a plain button, which a menu's arrow-key navigation skips.
41
+ - Reopening a `DropdownMenu` through a controlled `open` prop, without `onOpenChange`, now
42
+ clears the previous search.
43
+ - A ref passed to `DropdownMenuSearch` is no longer detached and reattached on every
44
+ keystroke.
45
+
5
46
  ## 4.2.0 - 2026-09-22
6
47
 
7
48
  Scrollable areas are now browser-native. Equality no longer ships a synthetic scrollbar or a scrollbar-restyling utility.
@@ -395,9 +395,9 @@
395
395
  font-size: 0.875rem;
396
396
  line-height: var(--tw-leading, calc(1.25 / 0.875));
397
397
  color: var(--color-text-primary, color(display-p3 0 0 0));
398
- }
399
- .dropdown-menu-search-input::placeholder {
400
- color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
398
+ &::placeholder {
399
+ color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
400
+ }
401
401
  }
402
402
  .dropdown-menu-empty {
403
403
  padding-inline: calc(0.25rem * 2);
@@ -16,6 +16,19 @@
16
16
  .chevron-icon {
17
17
  color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
18
18
  }
19
+ .clear-all-footer {
20
+ position: sticky;
21
+ bottom: calc(0.25rem * -1);
22
+ padding-bottom: calc(0.25rem * 1);
23
+ background-color: var(--color-background-overlay, color(display-p3 0.9946 0.9998 0.9999));
24
+ }
25
+ .clear-all {
26
+ justify-content: center;
27
+ }
28
+ .filters-header .clear-all-inline {
29
+ padding-inline: calc(0.25rem * 1);
30
+ padding-block: calc(0.25rem * 0);
31
+ }
19
32
  .dropdown-menu-content {
20
33
  max-height: calc(0.25rem * 80);
21
34
  width: calc(0.25rem * 56);