maquina-components 0.6.0 → 0.6.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: a849035735227db855acba5bb371ba284e6b1e8887b10c7072e1bcf007601944
4
- data.tar.gz: 00a1f783571ac6ad7dffdc722256eb8a6c42831dd1a716786af3639775fef05a
3
+ metadata.gz: 0a445c4fe008c07069fd7d0e9fd4249c9a169410e9a53fa6cdaa6c2455351b92
4
+ data.tar.gz: c0964a27ecfdbd92797ee8c03a24d7c9e6db2b5e41147d2d81bf18ff2e38540d
5
5
  SHA512:
6
- metadata.gz: d9e8e0d25d4d228d673ece1ab3c215f51c6ec8b05125b27952951922ce2ea4acbb3b399cb54efdbcaad90b6ab6357c58c24bb3330e47804ff647a8f8fa347961
7
- data.tar.gz: b57bb6e7179f1c97a0c4a25f84e22fc9defa09c0f73b97b150df29f733c9fb56ddc5e3a950da816c92d661bdfa6ffd62b676240c4a83f70feafa7ffe554a595c
6
+ metadata.gz: 7c59d1819376a7242cbac12758ceffdb6e221184a29150b6f70364b275545f84d8da7c3235a5d9bdc3a1044e08622dba5b379615e2bc7053e8647506f83b6b7c
7
+ data.tar.gz: 340d7fcd15e476d17e2244cb7e7b29563b27e7fff360c09f9427d2ccc0491379b4dc5c412e4b8be9447159bbb75fd9d47bade573fbfb9497284d3d9ada629931
data/README.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  UI components for Ruby on Rails, built with ERB, TailwindCSS 4.0, and Stimulus.
4
4
 
5
+ > [!IMPORTANT]
6
+ > **0.6.0 has breaking changes.** Engine CSS moved into `@layer components`,
7
+ > which changes what wins in your app. Most notably, the `* { border-color }`
8
+ > shim in the `theme.css` you already installed must be wrapped in
9
+ > `@layer base` — unlayered, it now outranks every engine rule and flattens
10
+ > the tinted alert, toast and badge borders. That one affects every existing
11
+ > app and fails silently.
12
+ >
13
+ > Before upgrading, read [docs/upgrading.md](docs/upgrading.md). After
14
+ > upgrading, run `bin/rails maquina:doctor` — it prints file:line for every
15
+ > pattern the release changes and never edits anything. An appendix in the
16
+ > upgrading guide restores the 0.5.1 look with one token block.
17
+
5
18
  ---
6
19
 
7
20
  ## Why This Exists
@@ -135,7 +148,14 @@ generates views built with maquina_components. Customize the templates as needed
135
148
 
136
149
  **Prerequisite:** [tailwindcss-rails](https://github.com/rails/tailwindcss-rails) must be installed first.
137
150
 
138
- ### Upgrading
151
+ ---
152
+
153
+ ## Upgrading
154
+
155
+ **0.5.1 → 0.6.0 is a breaking upgrade** — see the note at the top of this
156
+ README and [docs/upgrading.md](docs/upgrading.md) for the seven changes, each
157
+ with measurements, plus an appendix that reverts every visual change with one
158
+ token block.
139
159
 
140
160
  Re-running the install generator is safe — it is idempotent and never rewrites
141
161
  your palette. After upgrading, run the doctor:
@@ -115,7 +115,7 @@ module MaquinaComponents
115
115
  def each_file(globs)
116
116
  globs.flat_map { |glob| Dir.glob(File.join(root, glob)) }
117
117
  .uniq
118
- .reject { |path| path =~ EXCLUDED }
118
+ .reject { |path| "/#{relative(path)}" =~ EXCLUDED }
119
119
  .select { |path| File.file?(path) }
120
120
  .sort
121
121
  .each do |path|
@@ -1,3 +1,3 @@
1
1
  module MaquinaComponents
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maquina-components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Alberto Chávez