jaml-ui 0.21.0 → 0.21.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.
package/DESIGN.md CHANGED
@@ -203,4 +203,4 @@ JAML-hit items get a GlowRing: `box-shadow: 0 0 0 2px [color], 0 0 10px [color]`
203
203
  - DON'T add visible scrollbars. Vertical magnetic snap-scroll + horizontal swipe only.
204
204
  - DON'T use rounded corners larger than 10px. Balatro is chunky, not bubbly.
205
205
  - DON'T use blur-based shadows for depth. Use solid colored box-shadows 80% opaque.
206
- - DON'T use redundant JS wrappers for `motely-wasm`. Import globally and `motely.boot()` once.
206
+ - DON'T use redundant JS wrappers for `motely-wasm`. Import globally and `motely.boot()` once. Use `?worker&inline` for search workers rather than blob strings, and do not prop-drill `motelyWasmUrl`.
package/dist/ui/jimbo.css CHANGED
@@ -182,6 +182,13 @@
182
182
  -webkit-user-select: none;
183
183
  user-select: none;
184
184
  }
185
+ /* Invisible stable hit target to prevent hover jitter when the child transforms */
186
+ .j-btn::after {
187
+ content: '';
188
+ position: absolute;
189
+ inset: -4px;
190
+ z-index: 10;
191
+ }
185
192
  .j-btn--full { width: 100%; }
186
193
  .j-btn--disabled {
187
194
  opacity: 0.55;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jaml-ui",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
4
4
  "description": "Balatro rendering components, sprite metadata, and optional Motely helpers for React apps.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",