jaml-ui 0.22.5 → 0.24.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/DESIGN.md +236 -236
- package/README.md +147 -147
- package/dist/components/JamlCodeEditor.d.ts +1 -1
- package/dist/components/JamlCodeEditor.js +112 -113
- package/dist/hooks/searchWorkerCode.js +84 -84
- package/dist/hooks/useSearch.js +86 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/ui/footer.js +5 -5
- package/dist/ui/hooks.js +55 -55
- package/package.json +147 -145
package/package.json
CHANGED
|
@@ -1,145 +1,147 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "jaml-ui",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Balatro rendering components, sprite metadata, and optional Motely helpers for React apps.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"import": "./dist/index.js",
|
|
11
|
-
"require": "./dist/index.js",
|
|
12
|
-
"types": "./dist/index.d.ts",
|
|
13
|
-
"default": "./dist/index.js"
|
|
14
|
-
},
|
|
15
|
-
"./motely": {
|
|
16
|
-
"import": "./dist/motely.js",
|
|
17
|
-
"require": "./dist/motely.js",
|
|
18
|
-
"types": "./dist/motely.d.ts",
|
|
19
|
-
"default": "./dist/motely.js"
|
|
20
|
-
},
|
|
21
|
-
"./fonts.css": "./fonts.css",
|
|
22
|
-
"./jaml.schema.json": "./jaml.schema.json"
|
|
23
|
-
},
|
|
24
|
-
"sideEffects": [
|
|
25
|
-
"./fonts.css"
|
|
26
|
-
],
|
|
27
|
-
"files": [
|
|
28
|
-
"dist",
|
|
29
|
-
"assets/*.png",
|
|
30
|
-
"assets/fonts",
|
|
31
|
-
"fonts.css",
|
|
32
|
-
"dist/ui/jimbo.css",
|
|
33
|
-
"jaml.schema.json",
|
|
34
|
-
"README.md",
|
|
35
|
-
"DESIGN.md",
|
|
36
|
-
"LICENSE"
|
|
37
|
-
],
|
|
38
|
-
"scripts": {
|
|
39
|
-
"build": "tsc --pretty false && node -e \"const fs=require('fs');fs.mkdirSync('dist/ui',{recursive:true});fs.copyFileSync('src/ui/jimbo.css','dist/ui/jimbo.css');fs.copyFileSync('node_modules/motely-wasm/jaml.schema.json','jaml.schema.json');\"",
|
|
40
|
-
"dev": "tsc --watch",
|
|
41
|
-
"demo": "vite --config demo/vite.config.ts",
|
|
42
|
-
"typecheck": "tsc --noEmit --pretty false",
|
|
43
|
-
"prepack": "npm run build",
|
|
44
|
-
"storybook": "storybook dev -p 6006",
|
|
45
|
-
"build-storybook": "storybook build",
|
|
46
|
-
"lint": "eslint ."
|
|
47
|
-
},
|
|
48
|
-
"engines": {
|
|
49
|
-
"node": ">=18"
|
|
50
|
-
},
|
|
51
|
-
"publishConfig": {
|
|
52
|
-
"access": "public"
|
|
53
|
-
},
|
|
54
|
-
"repository": {
|
|
55
|
-
"type": "git",
|
|
56
|
-
"url": "https://github.com/OptimusPi/jaml-ui"
|
|
57
|
-
},
|
|
58
|
-
"homepage": "https://github.com/OptimusPi/jaml-ui#readme",
|
|
59
|
-
"bugs": {
|
|
60
|
-
"url": "https://github.com/OptimusPi/jaml-ui/issues"
|
|
61
|
-
},
|
|
62
|
-
"keywords": [
|
|
63
|
-
"balatro",
|
|
64
|
-
"jaml",
|
|
65
|
-
"motely",
|
|
66
|
-
"seed",
|
|
67
|
-
"card",
|
|
68
|
-
"sprite",
|
|
69
|
-
"ui"
|
|
70
|
-
],
|
|
71
|
-
"author": "pifreak",
|
|
72
|
-
"license": "MIT",
|
|
73
|
-
"peerDependencies": {
|
|
74
|
-
"@
|
|
75
|
-
"@react-
|
|
76
|
-
"@react-three/
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"react": "
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
"@
|
|
107
|
-
"@
|
|
108
|
-
"@
|
|
109
|
-
"@
|
|
110
|
-
"@
|
|
111
|
-
"@storybook/addon-
|
|
112
|
-
"@storybook/addon-
|
|
113
|
-
"@storybook/
|
|
114
|
-
"@
|
|
115
|
-
"@
|
|
116
|
-
"@types/
|
|
117
|
-
"@types/
|
|
118
|
-
"@
|
|
119
|
-
"@
|
|
120
|
-
"@
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"motely-wasm": "^14.4.0",
|
|
125
|
-
"playwright": "^1.59.1",
|
|
126
|
-
"react": "^19.2.4",
|
|
127
|
-
"react-dom": "^19.2.4",
|
|
128
|
-
"react-icons": "^5.6.0",
|
|
129
|
-
"storybook": "^10.3.6",
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
"@
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
|
|
145
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "jaml-ui",
|
|
3
|
+
"version": "0.24.0",
|
|
4
|
+
"description": "Balatro rendering components, sprite metadata, and optional Motely helpers for React apps.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./motely": {
|
|
16
|
+
"import": "./dist/motely.js",
|
|
17
|
+
"require": "./dist/motely.js",
|
|
18
|
+
"types": "./dist/motely.d.ts",
|
|
19
|
+
"default": "./dist/motely.js"
|
|
20
|
+
},
|
|
21
|
+
"./fonts.css": "./fonts.css",
|
|
22
|
+
"./jaml.schema.json": "./jaml.schema.json"
|
|
23
|
+
},
|
|
24
|
+
"sideEffects": [
|
|
25
|
+
"./fonts.css"
|
|
26
|
+
],
|
|
27
|
+
"files": [
|
|
28
|
+
"dist",
|
|
29
|
+
"assets/*.png",
|
|
30
|
+
"assets/fonts",
|
|
31
|
+
"fonts.css",
|
|
32
|
+
"dist/ui/jimbo.css",
|
|
33
|
+
"jaml.schema.json",
|
|
34
|
+
"README.md",
|
|
35
|
+
"DESIGN.md",
|
|
36
|
+
"LICENSE"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "tsc --pretty false && node -e \"const fs=require('fs');fs.mkdirSync('dist/ui',{recursive:true});fs.copyFileSync('src/ui/jimbo.css','dist/ui/jimbo.css');fs.copyFileSync('node_modules/motely-wasm/jaml.schema.json','jaml.schema.json');\"",
|
|
40
|
+
"dev": "tsc --watch",
|
|
41
|
+
"demo": "vite --config demo/vite.config.ts",
|
|
42
|
+
"typecheck": "tsc --noEmit --pretty false",
|
|
43
|
+
"prepack": "npm run build",
|
|
44
|
+
"storybook": "storybook dev -p 6006",
|
|
45
|
+
"build-storybook": "storybook build",
|
|
46
|
+
"lint": "eslint ."
|
|
47
|
+
},
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=18"
|
|
50
|
+
},
|
|
51
|
+
"publishConfig": {
|
|
52
|
+
"access": "public"
|
|
53
|
+
},
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "https://github.com/OptimusPi/jaml-ui"
|
|
57
|
+
},
|
|
58
|
+
"homepage": "https://github.com/OptimusPi/jaml-ui#readme",
|
|
59
|
+
"bugs": {
|
|
60
|
+
"url": "https://github.com/OptimusPi/jaml-ui/issues"
|
|
61
|
+
},
|
|
62
|
+
"keywords": [
|
|
63
|
+
"balatro",
|
|
64
|
+
"jaml",
|
|
65
|
+
"motely",
|
|
66
|
+
"seed",
|
|
67
|
+
"card",
|
|
68
|
+
"sprite",
|
|
69
|
+
"ui"
|
|
70
|
+
],
|
|
71
|
+
"author": "pifreak",
|
|
72
|
+
"license": "MIT",
|
|
73
|
+
"peerDependencies": {
|
|
74
|
+
"@react-spring/three": ">=9.0.0",
|
|
75
|
+
"@react-three/drei": ">=9.0.0",
|
|
76
|
+
"@react-three/fiber": ">=8.0.0",
|
|
77
|
+
"motely-wasm": "^14.4.0",
|
|
78
|
+
"react": "^18.2.0 || ^19.0.0",
|
|
79
|
+
"react-dom": "^18.2.0 || ^19.0.0",
|
|
80
|
+
"react-icons": ">=5.0.0",
|
|
81
|
+
"three": ">=0.150.0"
|
|
82
|
+
},
|
|
83
|
+
"peerDependenciesMeta": {
|
|
84
|
+
"@react-spring/three": {
|
|
85
|
+
"optional": true
|
|
86
|
+
},
|
|
87
|
+
"@react-three/fiber": {
|
|
88
|
+
"optional": true
|
|
89
|
+
},
|
|
90
|
+
"motely-wasm": {
|
|
91
|
+
"optional": true
|
|
92
|
+
},
|
|
93
|
+
"react-icons": {
|
|
94
|
+
"optional": true
|
|
95
|
+
},
|
|
96
|
+
"three": {
|
|
97
|
+
"optional": true
|
|
98
|
+
},
|
|
99
|
+
"@react-three/drei": {
|
|
100
|
+
"optional": true
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"devDependencies": {
|
|
104
|
+
"@chromatic-com/storybook": "^5.1.2",
|
|
105
|
+
"@google/design.md": "^0.1.1",
|
|
106
|
+
"@react-spring/three": "^10.0.3",
|
|
107
|
+
"@react-three/drei": ">=9.0.0",
|
|
108
|
+
"@react-three/fiber": "^9.6.0",
|
|
109
|
+
"@storybook/addon-a11y": "^10.3.6",
|
|
110
|
+
"@storybook/addon-docs": "^10.3.6",
|
|
111
|
+
"@storybook/addon-onboarding": "^10.3.6",
|
|
112
|
+
"@storybook/addon-vitest": "^10.3.6",
|
|
113
|
+
"@storybook/react-vite": "^10.3.6",
|
|
114
|
+
"@types/node": "^25.6.0",
|
|
115
|
+
"@types/react": "^19.2.14",
|
|
116
|
+
"@types/react-dom": "^19.2.3",
|
|
117
|
+
"@types/three": "^0.184.0",
|
|
118
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
119
|
+
"@vitest/browser-playwright": "^4.1.5",
|
|
120
|
+
"@vitest/coverage-v8": "^4.1.5",
|
|
121
|
+
"clsx": "^2.1.1",
|
|
122
|
+
"js-yaml": "^4.1.1",
|
|
123
|
+
"lucide-react": "^1.14.0",
|
|
124
|
+
"motely-wasm": "^14.4.0",
|
|
125
|
+
"playwright": "^1.59.1",
|
|
126
|
+
"react": "^19.2.4",
|
|
127
|
+
"react-dom": "^19.2.4",
|
|
128
|
+
"react-icons": "^5.6.0",
|
|
129
|
+
"storybook": "^10.3.6",
|
|
130
|
+
"tailwind-merge": "^2.6.1",
|
|
131
|
+
"three": "^0.184.0",
|
|
132
|
+
"typescript": "^5.9.3",
|
|
133
|
+
"vite": "^8.0.9",
|
|
134
|
+
"vitest": "^4.1.5",
|
|
135
|
+
"zustand": "^5.0.0"
|
|
136
|
+
},
|
|
137
|
+
"dependencies": {
|
|
138
|
+
"@codemirror/commands": "^6.10.3",
|
|
139
|
+
"@codemirror/lang-yaml": "^6.1.3",
|
|
140
|
+
"@codemirror/language": "^6.12.3",
|
|
141
|
+
"@codemirror/state": "^6.6.0",
|
|
142
|
+
"@codemirror/view": "^6.41.1",
|
|
143
|
+
"@json-render/core": "^0.18.0",
|
|
144
|
+
"@lezer/highlight": "^1.2.3",
|
|
145
|
+
"@types/js-yaml": "^4.0.9"
|
|
146
|
+
}
|
|
147
|
+
}
|