jaml-ui 0.25.3 → 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/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.25.3",
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",
@@ -1,7 +0,0 @@
1
- export interface JimbolateProps {
2
- jaml: string;
3
- onTest: (seed: string) => void;
4
- result: "idle" | "match" | "nomatch" | "running" | "error";
5
- error?: string | null;
6
- }
7
- export declare function Jimbolate({ jaml, onTest, result, error }: JimbolateProps): import("react/jsx-runtime").JSX.Element;