jaml-ui 6.0.2 → 8.0.0
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/chunks/{JimboSwipeDeck-DUwjKBbo.js → JimboSwipeDeck-BYXDxmy7.js} +890 -759
- package/dist/chunks/JimboSwipeDeck-BYXDxmy7.js.map +1 -0
- package/dist/components/DeckStakePicker.d.ts +1 -1
- package/dist/components/JamlCodeEditor.d.ts +1 -1
- package/dist/components/JamlIdeVisual.d.ts +0 -2
- package/dist/components/JamlyzerBulk.d.ts +2 -2
- package/dist/components/JamlyzerView.d.ts +1 -1
- package/dist/components/SeedCalculus.d.ts +1 -1
- package/dist/components/SeedLab.d.ts +7 -2
- package/dist/components/filterStory/FilterStory.d.ts +16 -0
- package/dist/components/jamlyzer/JamlyzerAnteDetails.d.ts +3 -3
- package/dist/components/jamlyzer/JamlyzerErraticDeck.d.ts +1 -1
- package/dist/components/jamlyzer/JamlyzerEvents.d.ts +1 -1
- package/dist/components/jamlyzer/JamlyzerItemCard.d.ts +1 -1
- package/dist/components/jamlyzer/JamlyzerPackSection.d.ts +1 -1
- package/dist/components/jamlyzer/JamlyzerPulls.d.ts +1 -1
- package/dist/components/jamlyzer/JamlyzerSeedCard.d.ts +0 -1
- package/dist/index.js +6846 -6631
- package/dist/index.js.map +1 -1
- package/dist/lib/jaml/jaml.d.ts +3 -0
- package/dist/motd/motd.d.ts +10 -0
- package/dist/motd/motdData.generated.d.ts +1 -0
- package/dist/motd.js +164 -0
- package/dist/motd.js.map +1 -0
- package/dist/motely.js +98 -92
- package/dist/motely.js.map +1 -1
- package/dist/ui/JimboApp.d.ts +1 -1
- package/dist/ui/JimboButton.d.ts +1 -1
- package/dist/ui/JimboCodeSurface.d.ts +1 -1
- package/dist/ui/JimboDivider.d.ts +1 -1
- package/dist/ui/JimboDock.d.ts +1 -2
- package/dist/ui/JimboErrorBlock.d.ts +1 -1
- package/dist/ui/JimboGrid.d.ts +1 -1
- package/dist/ui/JimboInset.d.ts +1 -1
- package/dist/ui/JimboLayout.d.ts +2 -2
- package/dist/ui/JimboListItem.d.ts +1 -1
- package/dist/ui/JimboMascot.d.ts +1 -1
- package/dist/ui/JimboOrbitalMenu.d.ts +1 -1
- package/dist/ui/JimboOuterTab.d.ts +1 -1
- package/dist/ui/JimboPanel.d.ts +1 -1
- package/dist/ui/JimboPanelSpinner.d.ts +1 -1
- package/dist/ui/JimboPicker.d.ts +8 -8
- package/dist/ui/JimboSectionHeader.d.ts +1 -1
- package/dist/ui/JimboSeedBatchInput.d.ts +29 -0
- package/dist/ui/JimboShopBelt.d.ts +1 -1
- package/dist/ui/JimboSpacer.d.ts +1 -1
- package/dist/ui/JimboStatusPill.d.ts +1 -1
- package/dist/ui/JimboTextArea.d.ts +1 -1
- package/dist/ui/JimboTextInput.d.ts +1 -1
- package/dist/ui/JimboWordmark.d.ts +1 -1
- package/dist/ui/jimbo.css +1 -1
- package/dist/ui/jimboTabs.d.ts +1 -1
- package/dist/ui/jimboText.d.ts +1 -1
- package/dist/ui/panel.d.ts +2 -2
- package/dist/ui/sprites.d.ts +1 -1
- package/dist/ui.d.ts +3 -1
- package/dist/ui.js +47 -46
- package/package.json +45 -45
- package/dist/chunks/JimboSwipeDeck-DUwjKBbo.js.map +0 -1
package/dist/ui/jimboTabs.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ export interface JimboTabsProps {
|
|
|
12
12
|
* chunky press, same red tone as the in-game shop buttons. The only thing
|
|
13
13
|
* that marks the selected tab is the red bouncing triangle above it.
|
|
14
14
|
*/
|
|
15
|
-
export declare function JimboTabs({ tabs, activeTab, onTabChange }: JimboTabsProps): import(
|
|
15
|
+
export declare function JimboTabs({ tabs, activeTab, onTabChange }: JimboTabsProps): import('react').JSX.Element;
|
package/dist/ui/jimboText.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export interface JimboTextProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
5
5
|
size?: JimboTextSize;
|
|
6
6
|
tone?: JimboTextTone;
|
|
7
7
|
}
|
|
8
|
-
export declare function JimboText({ size, tone, className, children, ...rest }: JimboTextProps): import(
|
|
8
|
+
export declare function JimboText({ size, tone, className, children, ...rest }: JimboTextProps): import('react').JSX.Element;
|
package/dist/ui/panel.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { HTMLAttributes, ReactNode } from 'react';
|
|
|
2
2
|
export type JimboTone = "red" | "blue" | "green" | "orange" | "purple" | "grey" | "gold" | "tarot" | "planet" | "spectral";
|
|
3
3
|
export { JimboButton } from './JimboButton.js';
|
|
4
4
|
export type JimboInnerPanelProps = HTMLAttributes<HTMLDivElement>;
|
|
5
|
-
export declare function JimboInnerPanel({ className, children, ...rest }: JimboInnerPanelProps): import(
|
|
5
|
+
export declare function JimboInnerPanel({ className, children, ...rest }: JimboInnerPanelProps): import('react').JSX.Element;
|
|
6
6
|
export interface JimboModalProps {
|
|
7
7
|
open: boolean;
|
|
8
8
|
onClose?: () => void;
|
|
@@ -10,4 +10,4 @@ export interface JimboModalProps {
|
|
|
10
10
|
className?: string;
|
|
11
11
|
children?: ReactNode;
|
|
12
12
|
}
|
|
13
|
-
export declare function JimboModal({ open, onClose, title, className, children }: JimboModalProps): import(
|
|
13
|
+
export declare function JimboModal({ open, onClose, title, className, children }: JimboModalProps): import('react').JSX.Element | null;
|
package/dist/ui/sprites.d.ts
CHANGED
|
@@ -7,4 +7,4 @@ export interface JimboSpriteProps {
|
|
|
7
7
|
className?: string;
|
|
8
8
|
style?: CSSProperties;
|
|
9
9
|
}
|
|
10
|
-
export declare function JimboSprite({ name, sheet, width, className, style }: JimboSpriteProps): import(
|
|
10
|
+
export declare function JimboSprite({ name, sheet, width, className, style }: JimboSpriteProps): import('react').JSX.Element;
|
package/dist/ui.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './ui/tokens.js';
|
|
2
2
|
export { useMotionPreference, type JimboMotionSetting } from './ui/useMotionPreference.js';
|
|
3
3
|
export { JimboButton, type JimboButtonProps } from './ui/JimboButton.js';
|
|
4
|
+
export { JimboSeedBatchInput, type JimboSeedBatchInputProps } from './ui/JimboSeedBatchInput.js';
|
|
4
5
|
export { JimboTextArea, type JimboTextAreaProps } from './ui/JimboTextArea.js';
|
|
5
6
|
export { JimboPanel, type JimboPanelProps } from './ui/JimboPanel.js';
|
|
6
7
|
export { JimboBackground, type JimboBackgroundConfig } from './ui/JimboBackground.js';
|
|
@@ -27,7 +28,8 @@ export { JimboPanelSpinner, type JimboPanelSpinnerProps } from './ui/JimboPanelS
|
|
|
27
28
|
export { JimboTextInput, type JimboTextInputProps } from './ui/JimboTextInput.js';
|
|
28
29
|
export { JimboInnerPanel, type JimboInnerPanelProps, JimboModal, type JimboModalProps } from './ui/panel.js';
|
|
29
30
|
export { JimboOuterTab, type JimboOuterTabProps, type JimboOuterTabTone } from './ui/JimboOuterTab.js';
|
|
30
|
-
export { JimboDock, type JimboDockProps, type JimboDockPane
|
|
31
|
+
export { JimboDock, type JimboDockProps, type JimboDockPane } from './ui/JimboDock.js';
|
|
32
|
+
export { defaultPyramidDock, dockActivate, type DockNode } from './ui/dockTree.js';
|
|
31
33
|
export { JimboBox, type JimboBoxProps } from './ui/JimboBox.js';
|
|
32
34
|
export { JimboInline, type JimboInlineProps } from './ui/JimboInline.js';
|
|
33
35
|
export { JimboCanvas, type JimboCanvasProps } from './ui/JimboCanvas.js';
|
package/dist/ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as s, F as o, J as e, a as b, b as m, c as t, d as
|
|
2
|
+
import { A as s, F as o, J as e, a as b, b as m, c as t, d as J, e as r, f as n, g as c, h as l, i as S, j as O, k as _, l as d, m as u, n as I, o as P, p as A, q as k, r as p, s as T, t as C, u as L, v as E, w as B, x as M, y as R, z as h, B as D, C as F, D as H, E as N, G as x, H as G, I as y, K as f, L as U, M as g, N as v, O as W, P as w, Q as j, R as K, S as q, T as z, U as Q, V, W as X, X as Y, Y as Z, Z as $, _ as aa, $ as ia, a0 as sa, a1 as oa, a2 as ea, a3 as ba, a4 as ma, a5 as ta, a6 as Ja, a7 as ra, a8 as na, a9 as ca, aa as la, ab as Sa, ac as Oa, ad as _a, ae as da, af as ua, ag as Ia, ah as Pa, ai as Aa, aj as ka, ak as pa, al as Ta, am as Ca, an as La, ao as Ea } from "./chunks/JimboSwipeDeck-BYXDxmy7.js";
|
|
3
3
|
export {
|
|
4
4
|
s as ARC_STACK_GAP,
|
|
5
5
|
o as FULL_CIRCLE_RAD,
|
|
@@ -7,22 +7,22 @@ export {
|
|
|
7
7
|
b as JimboApp,
|
|
8
8
|
m as JimboBackground,
|
|
9
9
|
t as JimboBadge,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
J as JimboBox,
|
|
11
|
+
r as JimboButton,
|
|
12
12
|
n as JimboCanvas,
|
|
13
13
|
c as JimboCodeSurface,
|
|
14
14
|
l as JimboColorOption,
|
|
15
15
|
S as JimboDivider,
|
|
16
16
|
O as JimboDock,
|
|
17
17
|
_ as JimboErrorBlock,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
d as JimboFlankNav,
|
|
19
|
+
u as JimboGrid,
|
|
20
|
+
I as JimboIconButton,
|
|
21
|
+
P as JimboInline,
|
|
22
|
+
A as JimboInlineEdit,
|
|
23
23
|
k as JimboInnerPanel,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
p as JimboInset,
|
|
25
|
+
T as JimboLink,
|
|
26
26
|
C as JimboListItem,
|
|
27
27
|
L as JimboMascot,
|
|
28
28
|
E as JimboModal,
|
|
@@ -40,44 +40,45 @@ export {
|
|
|
40
40
|
f as JimboPickerSection,
|
|
41
41
|
U as JimboRow,
|
|
42
42
|
g as JimboSectionHeader,
|
|
43
|
-
v as
|
|
44
|
-
W as
|
|
45
|
-
w as
|
|
46
|
-
j as
|
|
47
|
-
K as
|
|
48
|
-
q as
|
|
49
|
-
z as
|
|
50
|
-
Q as
|
|
51
|
-
V as
|
|
52
|
-
X as
|
|
53
|
-
Y as
|
|
54
|
-
Z as
|
|
55
|
-
$ as
|
|
56
|
-
aa as
|
|
57
|
-
ia as
|
|
58
|
-
sa as
|
|
59
|
-
oa as
|
|
60
|
-
ea as
|
|
61
|
-
ba as
|
|
62
|
-
ma as
|
|
63
|
-
ta as
|
|
43
|
+
v as JimboSeedBatchInput,
|
|
44
|
+
W as JimboSeedCopyChip,
|
|
45
|
+
w as JimboShopBelt,
|
|
46
|
+
j as JimboSlider,
|
|
47
|
+
K as JimboSpacer,
|
|
48
|
+
q as JimboSpinner,
|
|
49
|
+
z as JimboSprite,
|
|
50
|
+
Q as JimboStack,
|
|
51
|
+
V as JimboStatusPill,
|
|
52
|
+
X as JimboSwipeDeck,
|
|
53
|
+
Y as JimboTabs,
|
|
54
|
+
Z as JimboText,
|
|
55
|
+
$ as JimboTextArea,
|
|
56
|
+
aa as JimboTextInput,
|
|
57
|
+
ia as JimboWordmark,
|
|
58
|
+
sa as MASCOT_CLEARANCE_GAP,
|
|
59
|
+
oa as MIN_SOUTH_WIDTH,
|
|
60
|
+
ea as ORBITAL_CLOSE_MS,
|
|
61
|
+
ba as ORBITAL_SINK_MS,
|
|
62
|
+
ma as PAGE_CONTROL_LIFT,
|
|
63
|
+
ta as PILL_HALF_H,
|
|
64
|
+
Ja as SOUTH_ANGLE_RAD,
|
|
64
65
|
ra as SOUTH_EDGE_INSET,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
66
|
+
na as SOUTH_PILL_OFFSET,
|
|
67
|
+
ca as arcPageCapacity,
|
|
68
|
+
la as clampOrbitRadius,
|
|
69
|
+
Sa as createJimboOrbitalStore,
|
|
70
|
+
Oa as defaultPyramidDock,
|
|
71
|
+
_a as dockActivate,
|
|
72
|
+
da as estimatePillWidth,
|
|
73
|
+
ua as jimboOrbitalStore,
|
|
74
|
+
Ia as layoutOrbitalArc,
|
|
75
|
+
Pa as layoutOrbitalEllipse,
|
|
75
76
|
Aa as maxOrbitRadiusForBox,
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
ka as minDistanceFromMascotCenter,
|
|
78
|
+
pa as orbitRadiusForCount,
|
|
78
79
|
Ta as southButtonWidth,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
Ca as useJimboOrbitalMenu,
|
|
81
|
+
La as useMotionPreference,
|
|
82
|
+
Ea as withAlpha
|
|
82
83
|
};
|
|
83
84
|
//# sourceMappingURL=ui.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jaml-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Balatro card sprites and the Jimbo design system for MCP Apps, with a @json-render (Vercel Labs) catalog.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
"types": "./dist/decode/motelyItemDecoder.d.ts",
|
|
27
27
|
"default": "./dist/motely.js"
|
|
28
28
|
},
|
|
29
|
+
"./motd": {
|
|
30
|
+
"types": "./dist/motd/motd.d.ts",
|
|
31
|
+
"default": "./dist/motd.js"
|
|
32
|
+
},
|
|
29
33
|
"./jimbo.css": "./dist/ui/jimbo.css",
|
|
30
34
|
"./fonts.css": "./fonts.css",
|
|
31
35
|
"./assets/*": "./assets/*"
|
|
@@ -43,30 +47,9 @@
|
|
|
43
47
|
"README.md",
|
|
44
48
|
"LICENSE"
|
|
45
49
|
],
|
|
46
|
-
"scripts": {
|
|
47
|
-
"build": "vite build",
|
|
48
|
-
"dev": "storybook dev",
|
|
49
|
-
"dev:watch": "vite build --watch",
|
|
50
|
-
"jaml:mcp": "node scripts/jaml-mcp-server.mjs",
|
|
51
|
-
"typecheck": "tsc --noEmit --pretty false",
|
|
52
|
-
"vocab:check": "node --experimental-strip-types scripts/check-vocab-drift.mjs",
|
|
53
|
-
"lut:emit": "node scripts/emit-motely-sprite-lut.mjs",
|
|
54
|
-
"typecheck:all": "pnpm typecheck && pnpm -r --if-present run typecheck",
|
|
55
|
-
"prepack": "npm run build",
|
|
56
|
-
"storybook": "pnpm run build && storybook dev -p 3141",
|
|
57
|
-
"build-storybook": "pnpm run build && storybook build",
|
|
58
|
-
"lint": "eslint .",
|
|
59
|
-
"design:detect": "node .agents/skills/impeccable/scripts/detect.mjs --json src",
|
|
60
|
-
"design:doctor": "node .agents/skills/impeccable/scripts/doctor.mjs"
|
|
61
|
-
},
|
|
62
50
|
"engines": {
|
|
63
51
|
"node": ">=18"
|
|
64
52
|
},
|
|
65
|
-
"pnpm": {
|
|
66
|
-
"onlyBuiltDependencies": [
|
|
67
|
-
"esbuild"
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
53
|
"publishConfig": {
|
|
71
54
|
"access": "public"
|
|
72
55
|
},
|
|
@@ -96,41 +79,58 @@
|
|
|
96
79
|
"@json-render/react": "^0.20.0",
|
|
97
80
|
"jaml-lang": "^3.14.2",
|
|
98
81
|
"react-icons": "^5.7.0",
|
|
99
|
-
"zod": "^4.5
|
|
82
|
+
"zod": "^4.6.5"
|
|
100
83
|
},
|
|
101
84
|
"peerDependencies": {
|
|
102
|
-
"motely-wasm": "^
|
|
85
|
+
"motely-wasm": "^28.0.0",
|
|
103
86
|
"react": "^18.2.0 || ^19.0.0",
|
|
104
87
|
"react-dom": "^18.2.0 || ^19.0.0"
|
|
105
88
|
},
|
|
106
89
|
"devDependencies": {
|
|
107
90
|
"@codemirror/autocomplete": "^6.20.3",
|
|
108
|
-
"@codemirror/commands": "^6.11.
|
|
91
|
+
"@codemirror/commands": "^6.11.1",
|
|
109
92
|
"@codemirror/language": "^6.12.4",
|
|
110
93
|
"@codemirror/lint": "^6.9.7",
|
|
111
|
-
"@codemirror/state": "^6.7.
|
|
112
|
-
"@codemirror/view": "^6.43.
|
|
94
|
+
"@codemirror/state": "^6.7.6",
|
|
95
|
+
"@codemirror/view": "^6.43.13",
|
|
113
96
|
"@eslint/js": "^10.0.1",
|
|
114
|
-
"@lezer/highlight": "^1.2.
|
|
115
|
-
"@storybook/addon-docs": "^10.
|
|
116
|
-
"@storybook/react": "^10.
|
|
117
|
-
"@storybook/react-vite": "^10.
|
|
118
|
-
"@types/node": "^25.9.
|
|
119
|
-
"@types/react": "^19.
|
|
120
|
-
"@types/react-dom": "^19.
|
|
97
|
+
"@lezer/highlight": "^1.2.5",
|
|
98
|
+
"@storybook/addon-docs": "^10.6.1",
|
|
99
|
+
"@storybook/react": "^10.6.1",
|
|
100
|
+
"@storybook/react-vite": "^10.6.1",
|
|
101
|
+
"@types/node": "^25.9.9",
|
|
102
|
+
"@types/react": "^19.3.0",
|
|
103
|
+
"@types/react-dom": "^19.3.0",
|
|
121
104
|
"@vitejs/plugin-react": "^5.2.0",
|
|
122
|
-
"eslint": "^10.
|
|
105
|
+
"eslint": "^10.12.0",
|
|
123
106
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
124
|
-
"eslint-plugin-react-refresh": "^0.5.
|
|
107
|
+
"eslint-plugin-react-refresh": "^0.5.7",
|
|
125
108
|
"eslint-plugin-storybook": "10.4.6",
|
|
126
|
-
"globals": "^17.
|
|
127
|
-
"motely-wasm": "^
|
|
128
|
-
"react": "^19.
|
|
129
|
-
"react-dom": "^19.
|
|
130
|
-
"storybook": "^10.
|
|
109
|
+
"globals": "^17.13.0",
|
|
110
|
+
"motely-wasm": "^28.0.0",
|
|
111
|
+
"react": "^19.3.0",
|
|
112
|
+
"react-dom": "^19.3.0",
|
|
113
|
+
"storybook": "^10.6.1",
|
|
131
114
|
"typescript": "^5.9.3",
|
|
132
|
-
"typescript-eslint": "^8.
|
|
133
|
-
"vite": "^6.4.
|
|
134
|
-
"vite-plugin-dts": "^5.
|
|
115
|
+
"typescript-eslint": "^8.71.1",
|
|
116
|
+
"vite": "^6.4.4",
|
|
117
|
+
"vite-plugin-dts": "^5.1.2"
|
|
118
|
+
},
|
|
119
|
+
"scripts": {
|
|
120
|
+
"build": "vite build",
|
|
121
|
+
"dev": "storybook dev",
|
|
122
|
+
"dev:watch": "vite build --watch",
|
|
123
|
+
"jaml:mcp": "node scripts/jaml-mcp-server.mjs",
|
|
124
|
+
"typecheck": "tsc --noEmit --pretty false",
|
|
125
|
+
"vocab:check": "node --experimental-strip-types scripts/check-vocab-drift.mjs",
|
|
126
|
+
"decode:check": "node scripts/check-decoder.mjs",
|
|
127
|
+
"lut:emit": "node scripts/emit-motely-sprite-lut.mjs",
|
|
128
|
+
"motd:emit": "node scripts/emit-motds.mjs",
|
|
129
|
+
"typecheck:all": "pnpm typecheck && pnpm -r --if-present run typecheck",
|
|
130
|
+
"storybook": "pnpm run build && storybook dev -p 3141",
|
|
131
|
+
"build-storybook": "pnpm run build && storybook build",
|
|
132
|
+
"lint": "eslint .",
|
|
133
|
+
"design:detect": "node .agents/skills/impeccable/scripts/detect.mjs --json src",
|
|
134
|
+
"design:doctor": "node .agents/skills/impeccable/scripts/doctor.mjs"
|
|
135
135
|
}
|
|
136
|
-
}
|
|
136
|
+
}
|