@eqtylab/equality 4.14.1 → 5.0.0
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 +48 -0
- package/dist/global-theme-config.css +1 -0
- package/dist/index.cjs +906 -531
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +233 -207
- package/dist/index.d.ts +233 -207
- package/dist/index.js +883 -502
- package/dist/index.js.map +1 -1
- package/dist/nav-list.module.module.css.module.css +193 -0
- package/dist/nav.module.module.css.module.css +262 -0
- package/dist/theme-base.css +5 -0
- package/dist/theme-decisions-scoped.css +42 -0
- package/dist/theme-decisions.css +40 -0
- package/dist/theme.module.css +1 -0
- package/dist/theme.module.module.css.module.css +49 -0
- package/package.json +4 -5
- package/dist/drawer.module.module.css.module.css +0 -165
- package/dist/list-or-grid-view-toggle.module.module.css.module.css +0 -52
- package/dist/scroll-area.module.module.css.module.css +0 -46
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,54 @@
|
|
|
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
|
+
## 5.0.0 - 2026-10-27
|
|
6
|
+
|
|
7
|
+
Removes components that were deprecated or never used. Code that imports any of them needs a
|
|
8
|
+
change before upgrading.
|
|
9
|
+
|
|
10
|
+
### Removed
|
|
11
|
+
|
|
12
|
+
- `ScrollArea` and `ScrollBar`. Set an overflow and a height on your own element instead; browsers
|
|
13
|
+
draw theme-aware scrollbars of their own.
|
|
14
|
+
- `ListOrGridViewToggle`. Use `SegmentedControls` instead.
|
|
15
|
+
- `Drawer` and its parts. Use `Sheet` instead.
|
|
16
|
+
- `Pagination` no longer scrolls a `ScrollArea` viewport to the top when the page changes. Pass
|
|
17
|
+
`scrollTargetRef` to choose what scrolls into view.
|
|
18
|
+
- The `vaul` and `@radix-ui/react-scroll-area` dependencies.
|
|
19
|
+
|
|
20
|
+
## 4.15.0 - 2026-10-27
|
|
21
|
+
|
|
22
|
+
Sidebar navigation comes to Equality as two sets of parts: `NavList` rows for going somewhere,
|
|
23
|
+
anywhere on screen, and a `Nav` sidebar frame. Menus stay for actions: use `DropdownMenu` for those.
|
|
24
|
+
Existing code needs no changes.
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- `NavList`, `NavListGroup`, `NavListItem` and `NavListSeparator`: rows of links or buttons in
|
|
29
|
+
groups. Rows are 36px, and 44px under a coarse pointer such as a touch screen. A row's `suffix`,
|
|
30
|
+
such as a badge or count, is read by screen readers; the › caret comes from `drill`.
|
|
31
|
+
- `NavDrill` and `NavDrillLevel`: levels that slide in and out, controlled or uncontrolled. A level
|
|
32
|
+
with a `parent` draws its own ‹ row. They slide only after a drill row or ‹ asked for them, and
|
|
33
|
+
move focus after the changes they asked for.
|
|
34
|
+
- `NavRail`, `NavRailItem`, `NavPanel` and `NavSwitcher` (with `loading`): the sidebar frame. Rail
|
|
35
|
+
items and the switcher also grow to 44px under a coarse pointer.
|
|
36
|
+
- `blockClosedTypeahead`: stops a typed letter from picking an option while a `Select` is closed,
|
|
37
|
+
for a select that navigates.
|
|
38
|
+
- `theme/theme-decisions.css`: the list, control and touch sizes the parts read, such as
|
|
39
|
+
`--eq-list-item-height` and `--eq-touch-target`, which is 44px under a coarse pointer.
|
|
40
|
+
- Two colours mixed from `--color-text-primary`, `--color-list-item-current` and
|
|
41
|
+
`--color-list-item-hover`, with the `bg-list-item-current` and `bg-list-item-hover` utilities.
|
|
42
|
+
They switch for dark mode on their own.
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
|
|
46
|
+
- `IconButton` forwards its ref to the button or link it renders.
|
|
47
|
+
|
|
48
|
+
### Fixed
|
|
49
|
+
|
|
50
|
+
- `IconButton` with `href` passes its other props to the link, so it works as a tooltip trigger and
|
|
51
|
+
keeps `onClick` and `data-*` attributes.
|
|
52
|
+
|
|
5
53
|
## 4.14.1 - 2026-10-20
|
|
6
54
|
|
|
7
55
|
### Fixed
|