wabi 0.19.1 → 0.20.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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/README.md +1 -1
  4. data/lib/wabi/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6aef01aa58d7bbeec405a5fe78738d296ca768feadba9a7324f882508db7523a
4
- data.tar.gz: 861c25b6e38a6e0af1a72e2f3549c0500585cf8885f61351dfd6c7a6d8cc08f7
3
+ metadata.gz: 70f4a99e0d6276a0a783e01087028d7ffdf23619f36cf8a0fe9509f08d6d0aa4
4
+ data.tar.gz: 22e47f5142c86ebc963cad0baa8261fc6192d103b1babf29052bab300bbe4486
5
5
  SHA512:
6
- metadata.gz: eadd26f25642aef2d0ebb1c931fc89fcb1a3a2fe17bff0365c3d4125c590b608bbd25e0ee69abdd9e589f533abcfec9599cddb05604515e40a39cd0a7d8737ae
7
- data.tar.gz: ab2c3531a780efe9321348bcdd615234ed8981ee17e1c90d01dbe803ad9ca39f00355f044993c8e1dfacc907eab548d8ea0601ba7324ffadc24c7d6a697cc924
6
+ metadata.gz: 4a87300e83b0c443f7cf74e4eccb3bbd3335b69d4e36e2c5229bbd7a801790538c5549e43e9b1a78beb5e51ba13333a82ac24bd8c96f45e1af740a8fe5481cc9
7
+ data.tar.gz: 4216c28a21e782c7209674203a94ab546e5248edd6910be72d6058885c12f791b0c43196fba2d46a4a9d71c5f4acfd7b4f4f37b5a0a0829da9383830596af68c
data/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  All notable changes to Wabi land here. Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4
4
 
5
+ ## 0.20.0 - 2026-06-04
6
+
7
+ Sidebar v3 — richer menu items, shell variants, and polish. No breaking changes.
8
+
9
+ ### Added
10
+
11
+ - **Shell variants** on `SidebarProvider`: `variant: :floating` (the rail becomes a
12
+ detached, rounded, shadowed card) and `variant: :inset` (the main content, wrapped
13
+ in the new **`SidebarInset`**, floats as a rounded card over a sidebar-colored
14
+ background). Default stays `:sidebar`.
15
+ - **Collapsible groups** — `SidebarGroup.new(collapsible: true, label: "…", default_open: true)`
16
+ renders the group as a native `<details>` disclosure (label as summary, rotating
17
+ chevron, no JS).
18
+ - **`SidebarInput`** — a search field styled for the sidebar (hidden in collapsed mode).
19
+ - **`SidebarMenuSkeleton`** — a loading-row placeholder (icon + text pulse;
20
+ `show_icon:` toggles the icon).
21
+
22
+ ### Fixed
23
+
24
+ - **`SidebarMenuButton` / `SidebarMenuSubButton` now forward arbitrary attributes**
25
+ (`id`, `target`, `rel`, `aria-*`, `data-*`, `data-turbo-method`, …) to the rendered
26
+ `<a>`/`<button>` — they were previously dropped. For tooltip menu buttons, a
27
+ user-supplied `data:` is merged with the internal tooltip-trigger target so neither
28
+ is lost.
29
+
5
30
  ## 0.19.1 - 2026-06-03
6
31
 
7
32
  ### Fixed
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Wabi is an open-source UI component library for **Ruby on Rails 8**, built on **Phlex + Tailwind 4 + Stimulus + Hotwire**. Inspired by shadcn/ui, components are *copied* into your app — you own the code, customize freely, no upstream API to drift away from.
6
6
 
7
- 🎉 **Status:** v0.19.1 alpha — [available on RubyGems](https://rubygems.org/gems/wabi). 36 components, 8 theme palettes, WCAG-AA targeted, live docs + registry at [wabi-docs.onrender.com](https://wabi-docs.onrender.com).
7
+ 🎉 **Status:** v0.20.0 alpha — [available on RubyGems](https://rubygems.org/gems/wabi). 36 components, 8 theme palettes, WCAG-AA targeted, live docs + registry at [wabi-docs.onrender.com](https://wabi-docs.onrender.com).
8
8
 
9
9
  ---
10
10
 
data/lib/wabi/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wabi
4
- VERSION = "0.19.1"
4
+ VERSION = "0.20.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wabi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.1
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Ortega