@umkmall/proto 0.1.0-hb91c1d853ca4 → 0.1.0-hd56bc2ef2302
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/package.json +1 -1
- package/umkmall-components.md +15 -0
- package/umkmall-prototype-starter.html +20 -5
- package/umkmall-rules.md +5 -5
- package/umkmall-starter-app.md +2 -2
- package/umkmall-starter.md +9 -9
- package/umkmall-ui.js +18 -18
package/package.json
CHANGED
package/umkmall-components.md
CHANGED
|
@@ -21,24 +21,29 @@ Alert (Feedback)
|
|
|
21
21
|
function: success | info | warning | danger
|
|
22
22
|
size: large | medium | small
|
|
23
23
|
treatment: full | accent | coach | banner
|
|
24
|
+
appearance: default | a2ui
|
|
24
25
|
|
|
25
26
|
Badge (Content)
|
|
26
27
|
color: primary | warning | success | danger | light | bestseller | gradient
|
|
27
28
|
size: xlarge | medium | small | micro
|
|
29
|
+
appearance: default | a2ui
|
|
28
30
|
booleans: showIconLeft, showIconRight
|
|
29
31
|
|
|
30
32
|
Chip (Content)
|
|
31
33
|
state: default | active
|
|
32
34
|
size: huge | xlarge | large | medium | small | micro
|
|
35
|
+
appearance: default | a2ui
|
|
33
36
|
booleans: showIconLeft, showIconRight
|
|
34
37
|
|
|
35
38
|
TextField (Form)
|
|
36
39
|
size: large | small
|
|
40
|
+
appearance: default | a2ui
|
|
37
41
|
booleans: error, disabled
|
|
38
42
|
REQUIRED props (not axes): label
|
|
39
43
|
|
|
40
44
|
CheckBox (Form)
|
|
41
45
|
size: xlarge | large | medium | small
|
|
46
|
+
appearance: default | native
|
|
42
47
|
booleans: error, disabled, indeterminate
|
|
43
48
|
REQUIRED props (not axes): label
|
|
44
49
|
|
|
@@ -59,6 +64,7 @@ Slider (Form)
|
|
|
59
64
|
DateTimeInput (Form)
|
|
60
65
|
size: large | small
|
|
61
66
|
selection: single | range
|
|
67
|
+
appearance: default | a2ui
|
|
62
68
|
booleans: error, disabled, withTime, portal
|
|
63
69
|
|
|
64
70
|
OtpInput (Form)
|
|
@@ -69,6 +75,7 @@ OtpInput (Form)
|
|
|
69
75
|
Tabs (Navigation)
|
|
70
76
|
size: large | small
|
|
71
77
|
state: default | active
|
|
78
|
+
appearance: default | a2ui
|
|
72
79
|
booleans: showIconLeft, showNotif, showTitle
|
|
73
80
|
|
|
74
81
|
Tooltip (Feedback)
|
|
@@ -190,30 +197,37 @@ Popover (Overlays)
|
|
|
190
197
|
Card (Content)
|
|
191
198
|
variant: elevated | outlined | plain
|
|
192
199
|
padding: none | small | medium | large
|
|
200
|
+
appearance: default | a2ui | a2ui-hero
|
|
193
201
|
|
|
194
202
|
Divider (Content)
|
|
195
203
|
variant: default | dashed
|
|
196
204
|
orientation: horizontal | vertical
|
|
205
|
+
appearance: default | a2ui
|
|
197
206
|
|
|
198
207
|
List (Content)
|
|
199
208
|
|
|
200
209
|
Disclosure (Content)
|
|
210
|
+
appearance: default | a2ui
|
|
201
211
|
REQUIRED props (not axes): title
|
|
202
212
|
|
|
203
213
|
Image (Content)
|
|
204
214
|
type: thumbnail | banner | natural | avatar
|
|
205
215
|
size: regular | small | blog
|
|
216
|
+
appearance: default | a2ui
|
|
206
217
|
booleans: hover
|
|
207
218
|
|
|
208
219
|
SelectionCard (Form)
|
|
209
220
|
size: large | small
|
|
210
221
|
state: default | selected | disabled
|
|
222
|
+
layout: row | tile
|
|
223
|
+
appearance: default | choice
|
|
211
224
|
REQUIRED props (not axes): options
|
|
212
225
|
|
|
213
226
|
Upload (Form)
|
|
214
227
|
size: large | small
|
|
215
228
|
status: default | filled | error | disabled | busy
|
|
216
229
|
border: solid | dashed
|
|
230
|
+
appearance: default | a2ui
|
|
217
231
|
|
|
218
232
|
Select (Form)
|
|
219
233
|
size: large | small
|
|
@@ -223,6 +237,7 @@ Select (Form)
|
|
|
223
237
|
|
|
224
238
|
CodeBlock (Content)
|
|
225
239
|
size: large | small
|
|
240
|
+
appearance: default | a2ui
|
|
226
241
|
|
|
227
242
|
Stepper (Navigation)
|
|
228
243
|
position: first | middle | last
|
|
@@ -18,8 +18,8 @@ HOW TO USE THIS FILE
|
|
|
18
18
|
WHAT THIS FILE NEEDS FROM THE NETWORK
|
|
19
19
|
Four hosts, every time it is opened — not just the first time:
|
|
20
20
|
|
|
21
|
-
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
22
|
-
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
21
|
+
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-tailwind.js
|
|
22
|
+
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-ui.js
|
|
23
23
|
https://cdn.jsdelivr.net/npm/@babel/standalone@7.26.4/babel.min.js
|
|
24
24
|
— all on jsDelivr: the design system's assets (pinned) and the JSX compiler.
|
|
25
25
|
The token CSS is NOT fetched: it is inlined in the <style> below, because a claude.ai
|
|
@@ -33,7 +33,7 @@ WHAT THIS FILE NEEDS FROM THE NETWORK
|
|
|
33
33
|
|
|
34
34
|
YOU DO NOT HAVE TO START FROM THIS FILE
|
|
35
35
|
Four tags add UMKMall styling to a page you already have: the token CSS as a <link> to
|
|
36
|
-
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
36
|
+
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-tokens.css
|
|
37
37
|
then the Play CDN, the config and the bundle below. Keep the order — the config must come after
|
|
38
38
|
the Play CDN script, or the theme arrives too late and every class resolves to nothing.
|
|
39
39
|
|
|
@@ -52,24 +52,29 @@ Alert (Feedback)
|
|
|
52
52
|
function: success | info | warning | danger
|
|
53
53
|
size: large | medium | small
|
|
54
54
|
treatment: full | accent | coach | banner
|
|
55
|
+
appearance: default | a2ui
|
|
55
56
|
|
|
56
57
|
Badge (Content)
|
|
57
58
|
color: primary | warning | success | danger | light | bestseller | gradient
|
|
58
59
|
size: xlarge | medium | small | micro
|
|
60
|
+
appearance: default | a2ui
|
|
59
61
|
booleans: showIconLeft, showIconRight
|
|
60
62
|
|
|
61
63
|
Chip (Content)
|
|
62
64
|
state: default | active
|
|
63
65
|
size: huge | xlarge | large | medium | small | micro
|
|
66
|
+
appearance: default | a2ui
|
|
64
67
|
booleans: showIconLeft, showIconRight
|
|
65
68
|
|
|
66
69
|
TextField (Form)
|
|
67
70
|
size: large | small
|
|
71
|
+
appearance: default | a2ui
|
|
68
72
|
booleans: error, disabled
|
|
69
73
|
REQUIRED props (not axes): label
|
|
70
74
|
|
|
71
75
|
CheckBox (Form)
|
|
72
76
|
size: xlarge | large | medium | small
|
|
77
|
+
appearance: default | native
|
|
73
78
|
booleans: error, disabled, indeterminate
|
|
74
79
|
REQUIRED props (not axes): label
|
|
75
80
|
|
|
@@ -90,6 +95,7 @@ Slider (Form)
|
|
|
90
95
|
DateTimeInput (Form)
|
|
91
96
|
size: large | small
|
|
92
97
|
selection: single | range
|
|
98
|
+
appearance: default | a2ui
|
|
93
99
|
booleans: error, disabled, withTime, portal
|
|
94
100
|
|
|
95
101
|
OtpInput (Form)
|
|
@@ -100,6 +106,7 @@ OtpInput (Form)
|
|
|
100
106
|
Tabs (Navigation)
|
|
101
107
|
size: large | small
|
|
102
108
|
state: default | active
|
|
109
|
+
appearance: default | a2ui
|
|
103
110
|
booleans: showIconLeft, showNotif, showTitle
|
|
104
111
|
|
|
105
112
|
Tooltip (Feedback)
|
|
@@ -221,30 +228,37 @@ Popover (Overlays)
|
|
|
221
228
|
Card (Content)
|
|
222
229
|
variant: elevated | outlined | plain
|
|
223
230
|
padding: none | small | medium | large
|
|
231
|
+
appearance: default | a2ui | a2ui-hero
|
|
224
232
|
|
|
225
233
|
Divider (Content)
|
|
226
234
|
variant: default | dashed
|
|
227
235
|
orientation: horizontal | vertical
|
|
236
|
+
appearance: default | a2ui
|
|
228
237
|
|
|
229
238
|
List (Content)
|
|
230
239
|
|
|
231
240
|
Disclosure (Content)
|
|
241
|
+
appearance: default | a2ui
|
|
232
242
|
REQUIRED props (not axes): title
|
|
233
243
|
|
|
234
244
|
Image (Content)
|
|
235
245
|
type: thumbnail | banner | natural | avatar
|
|
236
246
|
size: regular | small | blog
|
|
247
|
+
appearance: default | a2ui
|
|
237
248
|
booleans: hover
|
|
238
249
|
|
|
239
250
|
SelectionCard (Form)
|
|
240
251
|
size: large | small
|
|
241
252
|
state: default | selected | disabled
|
|
253
|
+
layout: row | tile
|
|
254
|
+
appearance: default | choice
|
|
242
255
|
REQUIRED props (not axes): options
|
|
243
256
|
|
|
244
257
|
Upload (Form)
|
|
245
258
|
size: large | small
|
|
246
259
|
status: default | filled | error | disabled | busy
|
|
247
260
|
border: solid | dashed
|
|
261
|
+
appearance: default | a2ui
|
|
248
262
|
|
|
249
263
|
Select (Form)
|
|
250
264
|
size: large | small
|
|
@@ -254,6 +268,7 @@ Select (Form)
|
|
|
254
268
|
|
|
255
269
|
CodeBlock (Content)
|
|
256
270
|
size: large | small
|
|
271
|
+
appearance: default | a2ui
|
|
257
272
|
|
|
258
273
|
Stepper (Navigation)
|
|
259
274
|
position: first | middle | last
|
|
@@ -713,8 +728,8 @@ TRAPS — each of these renders or ignores silently, with no error:
|
|
|
713
728
|
body { color: rgb(var(--text-default-primary)); }
|
|
714
729
|
</style>
|
|
715
730
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
716
|
-
<script src="https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
717
|
-
<script src="https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
731
|
+
<script src="https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-tailwind.js"></script>
|
|
732
|
+
<script src="https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-ui.js"></script>
|
|
718
733
|
<script src="https://cdn.jsdelivr.net/npm/@babel/standalone@7.26.4/babel.min.js"></script>
|
|
719
734
|
</head>
|
|
720
735
|
<body class="bg-default-primary text-default-primary">
|
package/umkmall-rules.md
CHANGED
|
@@ -29,10 +29,10 @@ When I answer, build the whole thing in one file and hand it back.
|
|
|
29
29
|
Each of these is plain markdown, published for you rather than for a person.
|
|
30
30
|
Fetch them if you have web access; they are always current.
|
|
31
31
|
|
|
32
|
-
the whole starter, in a code block https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
33
|
-
the demo block on its own https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
34
|
-
the component vocabulary https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
35
|
-
the starter as a raw .html file https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
32
|
+
the whole starter, in a code block https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-starter.md
|
|
33
|
+
the demo block on its own https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-starter-app.md
|
|
34
|
+
the component vocabulary https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-components.md
|
|
35
|
+
the starter as a raw .html file https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-prototype-starter.html
|
|
36
36
|
|
|
37
37
|
TAKE THE FIRST ONE. It is the entire working file — <head>, mount node and a
|
|
38
38
|
demo that already renders a chat room — inside a single fenced block, so you
|
|
@@ -150,7 +150,7 @@ THE COMPONENT LIST
|
|
|
150
150
|
Not written here. It is a published file, always current, and it carries each
|
|
151
151
|
component's axes AND the props it will not render without:
|
|
152
152
|
|
|
153
|
-
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
153
|
+
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-components.md
|
|
154
154
|
|
|
155
155
|
Fetch it, or ask me to paste it. Do not work from memory of another design
|
|
156
156
|
system — an invented axis value renders unstyled with no error, and a missing
|
package/umkmall-starter-app.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# UMKMall prototyping starter — the editable block
|
|
2
2
|
|
|
3
|
-
This is the `<script type="text/babel">` block from [the starter](https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
3
|
+
This is the `<script type="text/babel">` block from [the starter](https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-prototype-starter.html), on its own
|
|
4
4
|
so it can be read or pasted without the surrounding HTML.
|
|
5
5
|
|
|
6
6
|
It renders a working chat room: a header, the journey's progress rail and quota meters, a
|
|
7
7
|
scrolling transcript and a pinned composer. Edit the part between the `REPLACE THIS` and
|
|
8
8
|
`end of the part you replace` markers; keep the shell around it.
|
|
9
9
|
|
|
10
|
-
The `<head>` it needs is in the starter, or in section 3 of [the prompt](https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
10
|
+
The `<head>` it needs is in the starter, or in section 3 of [the prompt](https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-rules.md).
|
|
11
11
|
|
|
12
12
|
```jsx
|
|
13
13
|
/*
|
package/umkmall-starter.md
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
The starter in a code block, so it can be read without fetching HTML. Save it as `.html` and
|
|
4
4
|
open it; there is no build step and no install.
|
|
5
5
|
|
|
6
|
-
It is the same file as [the raw starter](https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
6
|
+
It is the same file as [the raw starter](https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-prototype-starter.html) with one deliberate difference: the
|
|
7
7
|
`.html` carries the whole component list inside a comment in its `<head>`, and here that is
|
|
8
|
-
replaced by a link to [the same list](https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
8
|
+
replaced by a link to [the same list](https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-components.md). Nothing else differs, and nothing the
|
|
9
9
|
page needs to run is in the part that was swapped.
|
|
10
10
|
|
|
11
11
|
**Take the `<head>` exactly as it is.** Its tags load in one order that works: the config
|
|
@@ -14,7 +14,7 @@ CDN the global does not exist and after it the theme arrives too late — every
|
|
|
14
14
|
class then resolves to nothing, with no error. Edit only the `<script type="text/babel">`
|
|
15
15
|
block at the bottom.
|
|
16
16
|
|
|
17
|
-
The component list is not inline here; it is [its own file](https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
17
|
+
The component list is not inline here; it is [its own file](https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-components.md).
|
|
18
18
|
|
|
19
19
|
````html
|
|
20
20
|
<!doctype html>
|
|
@@ -37,8 +37,8 @@ HOW TO USE THIS FILE
|
|
|
37
37
|
WHAT THIS FILE NEEDS FROM THE NETWORK
|
|
38
38
|
Four hosts, every time it is opened — not just the first time:
|
|
39
39
|
|
|
40
|
-
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
41
|
-
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
40
|
+
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-tailwind.js
|
|
41
|
+
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-ui.js
|
|
42
42
|
https://cdn.jsdelivr.net/npm/@babel/standalone@7.26.4/babel.min.js
|
|
43
43
|
— all on jsDelivr: the design system's assets (pinned) and the JSX compiler.
|
|
44
44
|
The token CSS is NOT fetched: it is inlined in the <style> below, because a claude.ai
|
|
@@ -52,14 +52,14 @@ WHAT THIS FILE NEEDS FROM THE NETWORK
|
|
|
52
52
|
|
|
53
53
|
YOU DO NOT HAVE TO START FROM THIS FILE
|
|
54
54
|
Four tags add UMKMall styling to a page you already have: the token CSS as a <link> to
|
|
55
|
-
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
55
|
+
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-tokens.css
|
|
56
56
|
then the Play CDN, the config and the bundle below. Keep the order — the config must come after
|
|
57
57
|
the Play CDN script, or the theme arrives too late and every class resolves to nothing.
|
|
58
58
|
|
|
59
59
|
THE COMPONENT LIST IS NOT IN THIS FILE.
|
|
60
60
|
It is published separately, and it is always current:
|
|
61
61
|
|
|
62
|
-
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
62
|
+
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-components.md
|
|
63
63
|
|
|
64
64
|
It carries every component, its axes, and the props it will not render without.
|
|
65
65
|
-->
|
|
@@ -480,8 +480,8 @@ It carries every component, its axes, and the props it will not render without.
|
|
|
480
480
|
body { color: rgb(var(--text-default-primary)); }
|
|
481
481
|
</style>
|
|
482
482
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
483
|
-
<script src="https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
484
|
-
<script src="https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
483
|
+
<script src="https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-tailwind.js"></script>
|
|
484
|
+
<script src="https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-hd56bc2ef2302/umkmall-ui.js"></script>
|
|
485
485
|
<script src="https://cdn.jsdelivr.net/npm/@babel/standalone@7.26.4/babel.min.js"></script>
|
|
486
486
|
</head>
|
|
487
487
|
<body class="bg-default-primary text-default-primary">
|