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 +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +3 -3
- data/lib/wabi/generators/theme_generator.rb +1 -1
- data/lib/wabi/lockfile.rb +1 -1
- data/lib/wabi/registry_client.rb +1 -1
- data/lib/wabi/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 052b831bdd26bdf076afad2141e5e8cab268ce5f324f15f2ae6cddaeec8c06a3
|
|
4
|
+
data.tar.gz: bac0db866d98df75214c0695f89c8ddc7d2457441c281cb400aa45bf99a63d0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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://
|
|
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
|
|
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://
|
|
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://
|
|
10
|
+
DEFAULT_REGISTRY = "https://wabikit.dev/r"
|
|
11
11
|
|
|
12
12
|
attr_reader :path, :registry, :components
|
|
13
13
|
|
data/lib/wabi/registry_client.rb
CHANGED
data/lib/wabi/version.rb
CHANGED
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.
|
|
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://
|
|
153
|
+
homepage: https://wabikit.dev
|
|
154
154
|
licenses:
|
|
155
155
|
- MIT
|
|
156
156
|
metadata:
|
|
157
|
-
homepage_uri: https://
|
|
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
|