@eqtylab/equality 4.3.2 → 4.4.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 +38 -0
- package/dist/index.cjs +1177 -1105
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +142 -121
- package/dist/index.d.ts +142 -121
- package/dist/index.js +1138 -1068
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,44 @@
|
|
|
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.4.1 - 2026-09-25
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Toasts dismiss on their own again after a toast is closed while hovered. The hover pause
|
|
10
|
+
stuck on, so every later toast stayed until closed by hand.
|
|
11
|
+
- A toast shown before a `Sheet` or `Dialog` opened can now be closed while it is open.
|
|
12
|
+
- The toast close button has an accessible name.
|
|
13
|
+
|
|
14
|
+
## 4.4.0 - 2026-09-25
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- A `persistent` prop on `DropdownMenuItem`, `DropdownMenuCheckboxItem`, `DropdownMenuRadioItem`,
|
|
19
|
+
`DropdownMenuSeparator`, `SelectItem` and `SelectSeparator`. The item stays visible while
|
|
20
|
+
searching but is never a result: it doesn't count towards the empty state or the result count,
|
|
21
|
+
and <kbd>Enter</kbd> in the search box skips it.
|
|
22
|
+
- `useDropdownMenuSearchQuery` and `useSelectSearchQuery`, returning the `query`, `isSearching`
|
|
23
|
+
and a `matches` function for components inside a `DropdownMenu` or `Select` that act on what
|
|
24
|
+
the search shows.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- `DropdownMenuSearch` shows its search box on open by default, as `SelectSearch` does. Pass
|
|
29
|
+
`alwaysVisible={false}` to keep revealing it on the first keystroke.
|
|
30
|
+
- A searchable `FilterDropdown` keeps "Clear all" visible while a query is typed. It no longer
|
|
31
|
+
leaves an empty strip at the bottom of the menu.
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
|
|
35
|
+
- A searchable `DropdownMenu`, and so `FilterDropdown` and `RadioDropdown`, keeps the side it
|
|
36
|
+
opened on while searching, as `Select` does since 4.3.2.
|
|
37
|
+
- <kbd>Backspace</kbd> while a `DropdownMenu` item has focus keeps editing the search query, as
|
|
38
|
+
it does in `Select`.
|
|
39
|
+
- A searchable `DropdownMenu` inside a `Dialog` reliably focuses its search box when opened.
|
|
40
|
+
4.3.1 recovered focus only on the menu's first focus event, which the search input could
|
|
41
|
+
claim before the dialog's focus trap pulled focus back out.
|
|
42
|
+
|
|
5
43
|
## 4.3.2 - 2026-09-24
|
|
6
44
|
|
|
7
45
|
### Fixed
|