Skip to content

Commit 9aee758

Browse files
0.20.0
1 parent 873f375 commit 9aee758

4 files changed

Lines changed: 16 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
All notable changes to this project will be documented in this file. This project follows [Semantic Versioning](https://semver.org/).
44

5+
## [0.20.0] - 2026-07-08
6+
7+
### Added
8+
9+
- Popovers: floating panels anchored to a trigger button, built on the native HTML `popover` attribute. Showing, hiding, light-dismiss (outside click), and Escape-to-close are all handled by the browser; the new `l-ui--popover` Stimulus controller only computes placement, flipping to the opposite side if the preferred side would overflow the viewport. Use the `l_ui_popover` helper (options: `id:`, `placement:` of `:top`/`:bottom`/`:left`/`:right`, `align:` of `:start`/`:end`, `container:`) with `p.trigger` for the button, or wire the `l-ui-popover` class and controller targets by hand for full control over markup.
10+
- Popover menus: `l-ui-popover__menu`, `l-ui-popover__menu-item`, `l-ui-popover__menu-item--danger`, and `l-ui-popover__menu-divider` style a list of actions inside a popover - e.g. a "more" menu on a table row via `l_ui_table`'s `actions:` proc. Give an icon-only trigger an `aria-label` so it has an accessible name.
11+
- `icon_more.svg` (vertical ellipsis) added to the bundled icon set, for "more actions" popover triggers.
12+
13+
### Changed
14+
15+
- Navigation items now show a `surface` background on hover, matching the hover treatment of other menu rows. The active item keeps its highlighted background on hover.
16+
- The overrides generator now stamps the gem version it was generated from into the overrides file's header comment.
17+
518
## [0.19.0] - 2026-06-15
619

720
### Added

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
layered-ui-rails (0.19.0)
4+
layered-ui-rails (0.20.0)
55
rails (~> 8.0)
66
tailwindcss-rails (~> 4.0)
77

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ An open source, Rails 8+ engine that provides WCAG 2.2 AA compliant design token
3636
- **Dark/light theme** - system preference detection with localStorage persistence and manual toggle
3737
- **Responsive layout** - header, sidebar navigation, main content area, and optional resizable panel
3838
- **WCAG 2.2 AA compliant** - skip links, focus indicators, ARIA attributes, and 4.5:1 contrast ratios
39-
- **Components** - buttons, forms, surfaces, tables, tabs, notices, badges, conversations, modals, and pagination
39+
- **Components** - buttons, forms, surfaces, tables, tabs, notices, badges, conversations, modals, popovers, and pagination
4040
- **Optional integrations** - Devise authentication and Pagy pagination with styled views
4141
- **Customisable branding** - Override the default logos and icons and colors
4242
- **Google Lighthouse** - `layered-ui-rails` scores a [perfect 100](https://github.com/layered-ai-public/layered-ui-rails/raw/refs/heads/main/test/dummy/app/assets/images/lighthouse.webp) across all four Google Lighthouse categories - performance, accessibility, best practices, and SEO

lib/layered/ui/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Layered
22
module Ui
3-
VERSION = "0.19.0"
3+
VERSION = "0.20.0"
44
end
55
end

0 commit comments

Comments
 (0)