wabi 1.0.0 → 1.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c9ba876d02f80ae3b759af8d84e08ced66f793cb323f15274774f71945aaa20
4
- data.tar.gz: f3f1c8dfbae9e2894ff8ad4f7937b7fbc076b23070b977c64c3f9fe3ed879147
3
+ metadata.gz: 052b831bdd26bdf076afad2141e5e8cab268ce5f324f15f2ae6cddaeec8c06a3
4
+ data.tar.gz: bac0db866d98df75214c0695f89c8ddc7d2457441c281cb400aa45bf99a63d0f
5
5
  SHA512:
6
- metadata.gz: 9ab8486703b0b7ceb16e4573ea1a0060cc66ea58952e39e375c3b44482680cf11d44c8569865f518f96668255238e940398652685e34afbfe4e1fe335fd98ca4
7
- data.tar.gz: 97135ede3e7f36801881a6f2793a4e9e520fd27ee3a011fbfa40305c1884ee89327b532f2d3f27b070cad289704c07ee76fb3f7e13921e57826ec2f13396eb2f
6
+ metadata.gz: 9b788c0c354ac7b77c481e31408edd3d3d9f9524f1f330252c46384c2d5c3ebfffb03210e6c9252145e0717385fa0df5b248efd49484ec358711e3a0ef502065
7
+ data.tar.gz: 6b47d49ecfbd3871f5f6462dd5d5c3b8c3f55596116fe754bdadae9fee76e9ef8dea8506a7e5229dd82dcb539bdb7fbe8eb30cee3a4ec869832599b6afb5bc1e
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
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
+ ## 1.0.1 - 2026-06-11
6
+
7
+ ### Changed
8
+ - **Custom domain live: docs + registry now at https://wabikit.dev.** The default registry URL used by `wabi:install`/`wabi:add` moved from the Render hostname to `https://wabikit.dev/r`, and the gem homepage + docs links point there. Apps that already have the old URL in `config/wabi.lock.json` keep working unchanged; to switch, run `bin/rails g wabi:registry https://wabikit.dev/r`.
9
+
5
10
  ## 1.0.0 - 2026-06-11
6
11
 
7
12
  First stable release. The public API is now frozen under [Semantic Versioning](https://semver.org/) — no more breaking changes without a major bump.
data/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  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.
10
10
 
11
- 🎉 **Status:** v1.0.0 — [available on RubyGems](https://rubygems.org/gems/wabi). Stable, frozen public API. 49 components, 8 theme palettes, internally audited for WCAG 2.1 AA, live docs + registry at [wabi-docs.onrender.com](https://wabi-docs.onrender.com).
11
+ 🎉 **Status:** v1.0.1 — [available on RubyGems](https://rubygems.org/gems/wabi). Stable, frozen public API. 49 components, 8 theme palettes, internally audited for WCAG 2.1 AA, live docs + registry at [wabikit.dev](https://wabikit.dev).
12
12
 
13
13
  ---
14
14
 
@@ -118,7 +118,7 @@ That's a fully-accessible modal with focus trap, scroll lock, backdrop click, Es
118
118
  | `wabi:add <name…>` | Copies one or more component source files from the registry into `app/components/ui/` and their controllers into `app/javascript/controllers/wabi/`. Updates the lockfile. |
119
119
  | `wabi:update <name…>` | Re-fetches installed components and 3-way merges registry changes with your local edits (conflict markers on overlap). |
120
120
  | `wabi:list` | Lists all available components in the configured registry. |
121
- | `wabi:registry <url>` | Switches the active registry origin (default: `https://wabi-docs.onrender.com/r`). |
121
+ | `wabi:registry <url>` | Switches the active registry origin (default: `https://wabikit.dev/r`). |
122
122
  | `wabi:theme <slug>` | Swaps `tokens.css` for the requested palette. Run `bin/rails tailwindcss:build` after. |
123
123
  | `wabi:vendor [pkg…]` | **Offline / strict-CSP.** Downloads the Zag `+esm` dependency graph for your jsDelivr-pinned packages into `vendor/javascript/` and repins `config/importmap.rb` at the local copies, so no controller loads from the CDN at runtime. Default: every jsDelivr `+esm` pin in the importmap. |
124
124
 
@@ -137,7 +137,7 @@ That's a fully-accessible modal with focus trap, scroll lock, backdrop click, Es
137
137
 
138
138
  ## Documentation
139
139
 
140
- The full docs site is at the GitHub repo's `docs/` Rails app (also planned to host at https://wabikit.dev when DNS is wired). Locally:
140
+ The full docs site is live at **[wabikit.dev](https://wabikit.dev)**. To run it locally:
141
141
 
142
142
  ```bash
143
143
  git clone https://github.com/wabikit/wabi
@@ -14,7 +14,7 @@ module Wabi
14
14
 
15
15
  def fetch_and_write
16
16
  lockfile = Wabi::Lockfile.load(File.join(destination_root, "config/wabi.lock.json"))
17
- base = lockfile.registry # e.g. https://wabi-docs.onrender.com/r OR file:///abs/path
17
+ base = lockfile.registry # e.g. https://wabikit.dev/r OR file:///abs/path
18
18
 
19
19
  shared = fetch("#{base}/themes/_shared.css", label: "_shared")
20
20
  body = fetch("#{base}/themes/#{slug}.css", label: slug)
data/lib/wabi/lockfile.rb CHANGED
@@ -7,7 +7,7 @@ module Wabi
7
7
  # Manages config/wabi.lock.json in a user's Rails app.
8
8
  # Tracks installed components, versions, hashes, and registry origin.
9
9
  class Lockfile
10
- DEFAULT_REGISTRY = "https://wabi-docs.onrender.com/r"
10
+ DEFAULT_REGISTRY = "https://wabikit.dev/r"
11
11
 
12
12
  attr_reader :path, :registry, :components
13
13
 
@@ -8,7 +8,7 @@ require_relative "version"
8
8
 
9
9
  module Wabi
10
10
  class RegistryClient
11
- DEFAULT_BASE_URL = "https://wabi-docs.onrender.com/r"
11
+ DEFAULT_BASE_URL = "https://wabikit.dev/r"
12
12
  DEFAULT_TTL = 24 * 60 * 60
13
13
 
14
14
  attr_reader :base_url
data/lib/wabi/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wabi
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
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: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Ortega
@@ -150,11 +150,11 @@ files:
150
150
  - lib/wabi/zag_vendor.rb
151
151
  - templates/controllers/wabi/theme_controller.js
152
152
  - templates/tokens.css
153
- homepage: https://wabi-docs.onrender.com
153
+ homepage: https://wabikit.dev
154
154
  licenses:
155
155
  - MIT
156
156
  metadata:
157
- homepage_uri: https://wabi-docs.onrender.com
157
+ homepage_uri: https://wabikit.dev
158
158
  source_code_uri: https://github.com/wabikit/wabi
159
159
  bug_tracker_uri: https://github.com/wabikit/wabi/issues
160
160
  changelog_uri: https://github.com/wabikit/wabi/blob/main/CHANGELOG.md