jaml-ui 0.26.0 → 0.26.2

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/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { n as ge, t as _e } from "./chunks/assets-RWUiFSTc.js";
4
4
  import { t as ve } from "./chunks/Layer-BBPJFHfs.js";
5
5
  import { n as w, r as ye, t as be } from "./chunks/tokens-B65Fzble.js";
6
6
  import { _ as xe, a as Se, c as Ce, d as we, f as Te, g as Ee, h as De, i as Oe, l as ke, m as Ae, o as je, p as T, s as Me, u as Ne, v as Pe } from "./chunks/spriteMapper-CFjN0_TV.js";
7
- import { E as Fe, l as Ie, x as Le } from "./chunks/motelyItemDecoder-CueyZ0XD.js";
7
+ import { E as Fe, l as Ie, x as Le } from "./chunks/motelyItemDecoder-DdhlU_Ko.js";
8
8
  import Re, { useCallback as E, useEffect as ze, useLayoutEffect as Be, useMemo as Ve, useRef as D, useState as O } from "react";
9
9
  import { Fragment as He, jsx as k, jsxs as A } from "react/jsx-runtime";
10
10
  //#region src/render/CanvasRenderer.tsx
package/dist/motely.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { n as e } from "./chunks/assets-RWUiFSTc.js";
3
3
  import { d as t, h as n, r, t as i } from "./chunks/spriteMapper-CFjN0_TV.js";
4
- import { C as a, E as o, S as s, T as c, _ as l, a as u, b as d, c as f, d as p, f as m, g as h, h as g, i as _, l as v, m as y, n as b, o as x, p as S, r as C, s as w, t as T, u as E, v as D, w as O, x as k, y as A } from "./chunks/motelyItemDecoder-CueyZ0XD.js";
4
+ import { C as a, E as o, S as s, T as c, _ as l, a as u, b as d, c as f, d as p, f as m, g as h, h as g, i as _, l as v, m as y, n as b, o as x, p as S, r as C, s as w, t as T, u as E, v as D, w as O, x as k, y as A } from "./chunks/motelyItemDecoder-DdhlU_Ko.js";
5
5
  //#region src/decode/motelySprite.ts
6
6
  function j(a) {
7
7
  let o = T(a);
package/fonts.css CHANGED
@@ -1,14 +1,11 @@
1
1
  /*
2
- * Coding font: JetBrains Mono via Google Fonts (woff2, variable axis).
3
- * Falls through to Cascadia Code / Fira Code / ui-monospace when offline.
4
- * Using @import instead of @font-face keeps this stylesheet bundler-safe
5
- * no absolute URLs to self-host, no extra asset copy step for consumers.
6
- * Must be the first rule in the file per CSS @import spec.
2
+ * m6x11plus Balatro's pixel font.
3
+ * Relative URL resolves via the package's `./assets/*` export so consumer
4
+ * bundlers (Vite, webpack, etc.) can pick up the OTF from node_modules.
5
+ * No external CDN keeps singlefile/iframe consumers CSP-safe.
7
6
  */
8
- @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,500;0,700;1,400&display=swap');
9
-
10
7
  @font-face {
11
8
  font-family: 'm6x11plus';
12
9
  src: local('m6x11plus'), local('m6x11plusplus'), url('./assets/fonts/m6x11plusplus.otf') format('opentype');
13
10
  font-display: swap;
14
- }
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jaml-ui",
3
- "version": "0.26.0",
3
+ "version": "0.26.2",
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",
@@ -27,7 +27,8 @@
27
27
  "default": "./dist/r3f.js"
28
28
  },
29
29
  "./jimbo.css": "./dist/ui/jimbo.css",
30
- "./fonts.css": "./fonts.css"
30
+ "./fonts.css": "./fonts.css",
31
+ "./assets/*": "./assets/*"
31
32
  },
32
33
  "sideEffects": [
33
34
  "./fonts.css",