wabi 0.12.0 → 0.13.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 +16 -0
  3. data/README.md +5 -4
  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: a35b338300b4049fce7d6d604a749a03f2362d5347927ecaedfb22150b160698
4
- data.tar.gz: f99b546787aeaa2e4279f94c9cf740c3087d33fee12fbf36664488bc51d2cb66
3
+ metadata.gz: d8c7c49ffb8081c419e4f0289d0c83f953a9cf9e019db6da27a810a7e540add7
4
+ data.tar.gz: f16573c742b36a24a5fd8399bb73029226a638e16c249439343ab2bf94fd884d
5
5
  SHA512:
6
- metadata.gz: eb578f5bf136083cd0c13f8762ee105ec91d5ad493883b4ed732025604e23cced1386d9a7460df988fdd3d27da08610d1bf0400bf24f0cf92a0226b50c97fc73
7
- data.tar.gz: '09082d0e8ab2437761afc45af0e0fe1a030911086892c8e732ba4f513ebb43fd7c268a46f9502e47a9995a523883ab8e4be47fe762a251257cfa232d5d00ef72'
6
+ metadata.gz: 203c00cfe55ca98ae4f9403c35392dded295ccefe0b7f3ab98832a47b2965763e2f5fdac65a652aa8468be5d90d03c8f86a4d8e4688bcc7bf0669e17daf4837a
7
+ data.tar.gz: 25e7345a44042ba9c3e96d42a923727ea7daf455d514447f811c6ee7adf22d8357bda7c957e7ee422ae672848b47cb944bfcf8991d87067e81b071214e69abfb
data/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
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.13.0 - 2026-06-01
6
+
7
+ Server-driven DataTable. No breaking changes.
8
+
9
+ ### Features
10
+
11
+ - **DataTable** — composes the static `Table` + `Pagination` into a server-driven
12
+ data table. `DataTableColumnHeader` renders a sort link + asc/desc/neutral
13
+ indicator (the Rails controller orders the query and builds the toggle href —
14
+ no client-side data). `DataTableCheckbox` is a native, theme-styled checkbox
15
+ (no per-row Zag machine). The `wabi--data-table` Stimulus controller
16
+ coordinates select-all + indeterminate state, toggles each row's
17
+ `data-state="selected"`, and dispatches `wabi--data-table:change` with the
18
+ selected row values for app-side bulk actions. Install with
19
+ `bin/rails g wabi:add data_table`.
20
+
5
21
  ## 0.12.0 - 2026-06-01
6
22
 
7
23
  Five new components filling common shadcn gaps. No breaking changes.
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.12.0 alpha — [available on RubyGems](https://rubygems.org/gems/wabi). 33 components, 8 theme palettes, WCAG-AA targeted, full docs site at the GitHub repo's `docs/` Rails app.
7
+ 🎉 **Status:** v0.13.0 alpha — [available on RubyGems](https://rubygems.org/gems/wabi). 34 components, 8 theme palettes, WCAG-AA targeted, full docs site at the GitHub repo's `docs/` Rails app.
8
8
 
9
9
  ---
10
10
 
@@ -31,12 +31,12 @@ Then add `@import "./wabi/tokens.css";` AFTER `@import "tailwindcss";` in your `
31
31
 
32
32
  ## What's in the box
33
33
 
34
- ### 33 components
34
+ ### 34 components
35
35
 
36
36
  | Group | Components |
37
37
  |---|---|
38
38
  | **Forms** (13) | Button, Input, Textarea, Label, Checkbox, Switch, Select, RadioGroup, Slider, Toggle, ToggleGroup, Combobox, Form |
39
- | **Layout & Display** (7) | Card, Badge, Separator, Alert, Avatar, Table, Skeleton |
39
+ | **Layout & Display** (8) | Card, Badge, Separator, Alert, Avatar, Table, DataTable, Skeleton |
40
40
  | **Overlays** (6) | Dialog, AlertDialog, Drawer (4 sides), Tooltip, Popover, Command |
41
41
  | **Menus** (1) | DropdownMenu (nested submenus, checkbox + radio items) |
42
42
  | **Navigation** (4) | Accordion, Tabs, Breadcrumb, Pagination |
@@ -134,7 +134,7 @@ bin/dev # starts registry watcher + tailwind watcher + docs server on :3000
134
134
 
135
135
  Then visit:
136
136
  - `/` — marketing landing
137
- - `/docs/components` — index of all 33 components
137
+ - `/docs/components` — index of all 34 components
138
138
  - `/docs/components/{button,dropdown_menu,dialog,tabs}` — detailed pages with live preview + source
139
139
  - `/docs/themes` — all 8 palettes side-by-side
140
140
  - `/docs/getting-started`, `/docs/theming`, `/docs/philosophy` — prose docs
@@ -181,6 +181,7 @@ Requires Node 20+ in PATH (Pagefind is fetched via `npx` on demand).
181
181
  | v0.10 | Toast group coordination (Sonner-style stacking, swipe, group pause) | ✅ shipped 2026-06-01 |
182
182
  | v0.11 | Table component (shadcn parity); ClassMerge text-align fix | ✅ shipped 2026-06-01 |
183
183
  | v0.12 | Skeleton, Breadcrumb, Pagination, Progress, AlertDialog | ✅ shipped 2026-06-01 |
184
+ | v0.13 | DataTable (server-driven: sortable headers + row selection) | ✅ shipped 2026-06-01 |
184
185
  | v1.0 | API stability; external a11y audit | 2027-04 target |
185
186
 
186
187
  See [ROADMAP.md](./ROADMAP.md) for the long-term view and [CHANGELOG.md](./CHANGELOG.md) for the per-release detail.
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.12.0"
4
+ VERSION = "0.13.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.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Ortega