jaml-ui 1.0.1 → 1.0.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/assets/{searchPoolWorker-DWobBIhl.js → searchPoolWorker-DHh9a5GD.js} +2 -2
- package/dist/assets/searchPoolWorker-DHh9a5GD.js.map +1 -0
- package/dist/chunks/{jamlSeeds-3ILzc_rj.js → jamlSeeds-CKHvpjhC.js} +1 -1
- package/dist/chunks/{jamlSeeds-3ILzc_rj.js.map → jamlSeeds-CKHvpjhC.js.map} +1 -1
- package/dist/chunks/{motelyItemFormats-CNrFzcCI.js → motelyItemFormats-Dyq1BINO.js} +275 -267
- package/dist/chunks/motelyItemFormats-Dyq1BINO.js.map +1 -0
- package/dist/chunks/{searchPoolWorker-tBaSbLZu.js → searchPoolWorker-DgRqVj_q.js} +2 -2
- package/dist/chunks/searchPoolWorker-DgRqVj_q.js.map +1 -0
- package/dist/chunks/{assets-Bb6wV80_.js → spriteMapper-C2mqQHLj.js} +2417 -2
- package/dist/chunks/spriteMapper-C2mqQHLj.js.map +1 -0
- package/dist/chunks/{ui-B6Oq-jPj.js → ui-LfKBGL5-.js} +1028 -1015
- package/dist/chunks/ui-LfKBGL5-.js.map +1 -0
- package/dist/core.js +7 -8
- package/dist/core.js.map +1 -1
- package/dist/index.js +1632 -1677
- package/dist/index.js.map +1 -1
- package/dist/lib/motely/runtime.d.ts +7 -0
- package/dist/motely.js +10 -11
- package/dist/motely.js.map +1 -1
- package/dist/ui/jimbo.css +1 -1
- package/dist/ui/jimboApp.d.ts +3 -6
- package/dist/ui/jimboBackground.d.ts +4 -8
- package/dist/ui/sprites.d.ts +2 -1
- package/dist/ui.d.ts +0 -1
- package/dist/ui.js +2 -3
- package/package.json +15 -39
- package/dist/assets/searchPoolWorker-DWobBIhl.js.map +0 -1
- package/dist/chunks/assets-Bb6wV80_.js.map +0 -1
- package/dist/chunks/motelyItemFormats-CNrFzcCI.js.map +0 -1
- package/dist/chunks/searchPoolWorker-tBaSbLZu.js.map +0 -1
- package/dist/chunks/spriteMapper-CajFGgUU.js +0 -2419
- package/dist/chunks/spriteMapper-CajFGgUU.js.map +0 -1
- package/dist/chunks/tokens-Qrhlekc4.js +0 -57
- package/dist/chunks/tokens-Qrhlekc4.js.map +0 -1
- package/dist/chunks/ui-B6Oq-jPj.js.map +0 -1
- package/dist/r3f/Card3D.d.ts +0 -25
- package/dist/r3f/JimboBillboard.d.ts +0 -10
- package/dist/r3f/JimboText3D.d.ts +0 -9
- package/dist/r3f.d.ts +0 -3
- package/dist/r3f.js +0 -235
- package/dist/r3f.js.map +0 -1
- package/dist/ui/JimboPanelSplitter.d.ts +0 -8
package/dist/core.js
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as v, r as y, t as b } from "./chunks/jamlSeeds-3ILzc_rj.js";
|
|
1
|
+
import { _ as e, a as t, b as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, o as d, p as f, r as p, s as m, u as h, v as g, y as _ } from "./chunks/spriteMapper-C2mqQHLj.js";
|
|
2
|
+
import { n as v, r as y, t as b } from "./chunks/jamlSeeds-CKHvpjhC.js";
|
|
4
3
|
//#region src/utils/gameCardUtils.ts
|
|
5
4
|
function x(e, t) {
|
|
6
5
|
return {
|
|
7
|
-
x:
|
|
8
|
-
y:
|
|
6
|
+
x: i[e] ?? 0,
|
|
7
|
+
y: s[t] ?? 0
|
|
9
8
|
};
|
|
10
9
|
}
|
|
11
10
|
function S(e) {
|
|
12
|
-
return
|
|
11
|
+
return a[e];
|
|
13
12
|
}
|
|
14
13
|
function C(e) {
|
|
15
14
|
for (let t of e) {
|
|
16
|
-
let e =
|
|
15
|
+
let e = r[t];
|
|
17
16
|
if (e) return e;
|
|
18
17
|
}
|
|
19
18
|
return {
|
|
@@ -22,6 +21,6 @@ function C(e) {
|
|
|
22
21
|
};
|
|
23
22
|
}
|
|
24
23
|
//#endregion
|
|
25
|
-
export {
|
|
24
|
+
export { c as BOOSTER_PACKS, t as BOSSES, d as CONSUMABLE_FACES, m as EDITION_MAP, r as ENHANCER_MAP, _ as JAML_ASSET_FILES, l as JOKERS, h as JOKER_FACES, y as Layer, i as RANK_MAP, a as SEAL_MAP, f as SPRITE_SHEETS, u as STICKER_MAP, s as SUIT_MAP, o as TAGS, e as TAROTS_AND_PLANETS, g as VOUCHERS, C as getEnhancerPosition, S as getSealPosition, p as getSpriteData, x as getStandardCardPosition, b as mergeSeedsIntoJaml, v as parseJamlSeeds, n as resolveJamlAssetUrl };
|
|
26
25
|
|
|
27
26
|
//# sourceMappingURL=core.js.map
|
package/dist/core.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.js","names":[],"sources":["../src/utils/gameCardUtils.ts"],"sourcesContent":["import { RANK_MAP, SUIT_MAP, SEAL_MAP, ENHANCER_MAP, type SpritePos } from \"../sprites/spriteData.js\";\n\nexport function getStandardCardPosition(rank: string, suit: string): SpritePos {\n return { x: RANK_MAP[rank] ?? 0, y: SUIT_MAP[suit] ?? 0 };\n}\n\nexport function getSealPosition(seal: string): SpritePos | undefined {\n return SEAL_MAP[seal];\n}\n\nexport function getEnhancerPosition(modifiers: string[]): SpritePos {\n for (const m of modifiers) {\n const pos = ENHANCER_MAP[m];\n if (pos) return pos;\n }\n return { x: 1, y: 0 };\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"core.js","names":[],"sources":["../src/utils/gameCardUtils.ts"],"sourcesContent":["import { RANK_MAP, SUIT_MAP, SEAL_MAP, ENHANCER_MAP, type SpritePos } from \"../sprites/spriteData.js\";\n\nexport function getStandardCardPosition(rank: string, suit: string): SpritePos {\n return { x: RANK_MAP[rank] ?? 0, y: SUIT_MAP[suit] ?? 0 };\n}\n\nexport function getSealPosition(seal: string): SpritePos | undefined {\n return SEAL_MAP[seal];\n}\n\nexport function getEnhancerPosition(modifiers: string[]): SpritePos {\n for (const m of modifiers) {\n const pos = ENHANCER_MAP[m];\n if (pos) return pos;\n }\n return { x: 1, y: 0 };\n}\n"],"mappings":";;;AAEA,SAAgB,EAAwB,GAAc,GAAyB;CAC3E,OAAO;EAAE,GAAG,EAAS,MAAS;EAAG,GAAG,EAAS,MAAS;CAAE;AAC5D;AAEA,SAAgB,EAAgB,GAAqC;CACjE,OAAO,EAAS;AACpB;AAEA,SAAgB,EAAoB,GAAgC;CAChE,KAAK,IAAM,KAAK,GAAW;EACvB,IAAM,IAAM,EAAa;EACzB,IAAI,GAAK,OAAO;CACpB;CACA,OAAO;EAAE,GAAG;EAAG,GAAG;CAAE;AACxB"}
|