wabi 0.22.0 → 0.23.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 +28 -0
  3. data/README.md +5 -5
  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: aa63829705ff18ed6da1a4660d01d2792512970909a398e0f6149349edf653d7
4
- data.tar.gz: 78fff47da0345750763544c33826377e50cdbbe3029cc4ffbb8221d6cae54448
3
+ metadata.gz: 70b095ae2929edf14e3fa20d3de0cbe998bda4727cc23dd3e11109889edfe180
4
+ data.tar.gz: 1f99f7f34b8353bc1ac35b00ec4a330816da134249ff5adfbf0a34b39eab080c
5
5
  SHA512:
6
- metadata.gz: 0173a3c1b910b76c02c3d12c9f9d2d1b72fc1f82df3e24d1758dfa07509660eee1a50b65c10e7ff6079e914c16e7f8bb37375cd73fc64f308b4b52eba28e4fd5
7
- data.tar.gz: 9f0cbb4aeb4f0e79fff40c07dbe8cc2816a03a01ff6191d25c64ced171aa2fb7a5f5174d3b46fd0538cef1653636c3c86601ddd20f5f61df67af9f60868ddcda
6
+ metadata.gz: ef59f8d97343278ab03eca8f8ff5711dd24ef6af870e9bb308204bfbcf26daf115bd22724fc4a009a965adfe11f8c75968318ec6fe828d5dceab25c68cf56a25
7
+ data.tar.gz: a0043697480bf0340cfb2a2e203b609f8630497cc902cdb34006402c6fcddea9a02d858186cef1f17c39de16a9b3671fac531f3dc64dbf0bb54a0402e19fa3fc
data/CHANGELOG.md CHANGED
@@ -2,6 +2,34 @@
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.23.0 - 2026-06-06
6
+
7
+ Three new components (40 → 43), all backed by Zag.js 1.41 via `@zag-js/vanilla`.
8
+
9
+ ### Added
10
+
11
+ - **Rating Group** (`rating_group`, `@zag-js/rating-group`). Star rating input with
12
+ half-star precision (`allow_half`), a read-only display mode (`read_only`), and a
13
+ configurable star `count` (default 5). Each star is two layered SVGs — an always-visible
14
+ outline plus a filled overlay revealed via `group-data-[highlighted]` and clipped to the
15
+ left half via `group-data-[half]` — so half-stars render in pure CSS. Submits the value
16
+ through Zag's hidden input (`name`).
17
+ - **Hover Card** (`hover_card`, `@zag-js/hover-card`). Rich preview card shown on pointer
18
+ hover and keyboard focus of a trigger, rendered through a portal (reusing the shared
19
+ `_shared/overlay_portal` helper). Configurable `open_delay` / `close_delay`; content is
20
+ inert while closed and fades in (respecting `prefers-reduced-motion`). Non-modal — no
21
+ focus trap. The trigger is keyboard-focusable before hydration (`tabindex="0"`).
22
+ - **Tags Input** (`tags_input`, `@zag-js/tags-input`). Multi-value text entry that collects
23
+ free-form tags, with edit-in-place (`editable`), an optional `max`, and a placeholder.
24
+ Tag nodes are rendered by the controller at runtime from the machine's value collection.
25
+ Submits as a Rails array via per-tag `name[]` hidden inputs, re-synced on every change
26
+ with no leaked inputs.
27
+
28
+ ### Fixed
29
+
30
+ - **README component table** brought current — it still listed 36 components and omitted the
31
+ v0.22.0 additions (DatePicker, InputOTP, FileUpload, ContextMenu). Now reflects all 43.
32
+
5
33
  ## 0.22.0 - 2026-06-05
6
34
 
7
35
  Four new components (36 → 40), all backed by Zag.js 1.41 via `@zag-js/vanilla`.
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.22.0 alpha — [available on RubyGems](https://rubygems.org/gems/wabi). 40 components, 8 theme palettes, WCAG-AA targeted, live docs + registry at [wabi-docs.onrender.com](https://wabi-docs.onrender.com).
7
+ 🎉 **Status:** v0.23.0 alpha — [available on RubyGems](https://rubygems.org/gems/wabi). 43 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
 
@@ -31,14 +31,14 @@ Then add `@import "./wabi/tokens.css";` AFTER `@import "tailwindcss";` in your `
31
31
 
32
32
  ## What's in the box
33
33
 
34
- ### 36 components
34
+ ### 43 components
35
35
 
36
36
  | Group | Components |
37
37
  |---|---|
38
- | **Forms** (14) | Button, Input, NumberInput, Textarea, Label, Checkbox, Switch, Select, RadioGroup, Slider, Toggle, ToggleGroup, Combobox, Form |
38
+ | **Forms** (19) | Button, Input, NumberInput, Textarea, Label, Checkbox, Switch, Select, RadioGroup, Slider, Toggle, ToggleGroup, Combobox, Form, DatePicker, InputOTP, FileUpload, RatingGroup, TagsInput |
39
39
  | **Layout & Display** (9) | Card, Badge, Separator, Alert, Avatar, Table, DataTable, Skeleton, Sidebar |
40
- | **Overlays** (6) | Dialog, AlertDialog, Drawer (4 sides), Tooltip, Popover, Command |
41
- | **Menus** (1) | DropdownMenu (nested submenus, checkbox + radio items) |
40
+ | **Overlays** (7) | Dialog, AlertDialog, Drawer (4 sides), Tooltip, Popover, Command, HoverCard |
41
+ | **Menus** (2) | DropdownMenu (nested submenus, checkbox + radio items), ContextMenu |
42
42
  | **Navigation** (4) | Accordion, Tabs, Breadcrumb, Pagination |
43
43
  | **Feedback** (2) | Toast + Toaster, Progress |
44
44
 
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.22.0"
4
+ VERSION = "0.23.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.22.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Ortega