@umkmall/proto 0.1.0-he666c0a31dc5 → 0.1.0-heea0e2dbdd10
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 +10 -1
- package/umkmall-prototype-starter.html +98 -88
- package/umkmall-rules.md +5 -5
- package/umkmall-starter-app.md +2 -2
- package/umkmall-starter.md +92 -91
- package/umkmall-tailwind.js +69 -50
- package/umkmall-tokens.css +83 -82
- package/umkmall-ui.js +17 -12
package/package.json
CHANGED
package/umkmall-components.md
CHANGED
|
@@ -6,7 +6,7 @@ Every component below is published on `window.UmkmallUI` by the browser bundle.
|
|
|
6
6
|
axis values listed, and pass every REQUIRED prop an entry names.
|
|
7
7
|
|
|
8
8
|
```
|
|
9
|
-
UMKMall UI —
|
|
9
|
+
UMKMall UI — 57 components, and the values each axis accepts.
|
|
10
10
|
Generated from packages/ui/src/contract/variants.ts. Do not hand-edit.
|
|
11
11
|
|
|
12
12
|
Button (Foundations)
|
|
@@ -52,6 +52,11 @@ Radio (Form)
|
|
|
52
52
|
booleans: error, disabled
|
|
53
53
|
REQUIRED props (not axes): label
|
|
54
54
|
|
|
55
|
+
SegmentedControl (Form)
|
|
56
|
+
size: medium | small
|
|
57
|
+
booleans: disabled
|
|
58
|
+
REQUIRED props (not axes): options, value, onChange
|
|
59
|
+
|
|
55
60
|
Switch (Form)
|
|
56
61
|
size: large | medium | small
|
|
57
62
|
booleans: disabled, loading
|
|
@@ -75,6 +80,7 @@ OtpInput (Form)
|
|
|
75
80
|
Tabs (Navigation)
|
|
76
81
|
size: large | small
|
|
77
82
|
state: default | active
|
|
83
|
+
appearance: default | a2ui
|
|
78
84
|
booleans: showIconLeft, showNotif, showTitle
|
|
79
85
|
|
|
80
86
|
Tooltip (Feedback)
|
|
@@ -196,6 +202,7 @@ Popover (Overlays)
|
|
|
196
202
|
Card (Content)
|
|
197
203
|
variant: elevated | outlined | plain
|
|
198
204
|
padding: none | small | medium | large
|
|
205
|
+
appearance: default | a2ui | a2ui-hero
|
|
199
206
|
|
|
200
207
|
Divider (Content)
|
|
201
208
|
variant: default | dashed
|
|
@@ -245,10 +252,12 @@ Stepper (Navigation)
|
|
|
245
252
|
|
|
246
253
|
Pagination (Navigation)
|
|
247
254
|
size: large | small
|
|
255
|
+
density: compact | comfortable
|
|
248
256
|
booleans: disabled
|
|
249
257
|
REQUIRED props (not axes): page, onPageChange
|
|
250
258
|
|
|
251
259
|
Table (Content)
|
|
260
|
+
density: compact | comfortable
|
|
252
261
|
booleans: loading, serverSide, hidePagination, fixedLayout, noBorder, slimScrollbar
|
|
253
262
|
|
|
254
263
|
Spinner (Feedback)
|
|
@@ -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-heea0e2dbdd10/umkmall-tailwind.js
|
|
22
|
+
https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-heea0e2dbdd10/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,11 +33,11 @@ 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-heea0e2dbdd10/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
|
|
|
40
|
-
UMKMall UI —
|
|
40
|
+
UMKMall UI — 57 components, and the values each axis accepts.
|
|
41
41
|
Generated from packages/ui/src/contract/variants.ts. Do not hand-edit.
|
|
42
42
|
|
|
43
43
|
Button (Foundations)
|
|
@@ -83,6 +83,11 @@ Radio (Form)
|
|
|
83
83
|
booleans: error, disabled
|
|
84
84
|
REQUIRED props (not axes): label
|
|
85
85
|
|
|
86
|
+
SegmentedControl (Form)
|
|
87
|
+
size: medium | small
|
|
88
|
+
booleans: disabled
|
|
89
|
+
REQUIRED props (not axes): options, value, onChange
|
|
90
|
+
|
|
86
91
|
Switch (Form)
|
|
87
92
|
size: large | medium | small
|
|
88
93
|
booleans: disabled, loading
|
|
@@ -106,6 +111,7 @@ OtpInput (Form)
|
|
|
106
111
|
Tabs (Navigation)
|
|
107
112
|
size: large | small
|
|
108
113
|
state: default | active
|
|
114
|
+
appearance: default | a2ui
|
|
109
115
|
booleans: showIconLeft, showNotif, showTitle
|
|
110
116
|
|
|
111
117
|
Tooltip (Feedback)
|
|
@@ -227,6 +233,7 @@ Popover (Overlays)
|
|
|
227
233
|
Card (Content)
|
|
228
234
|
variant: elevated | outlined | plain
|
|
229
235
|
padding: none | small | medium | large
|
|
236
|
+
appearance: default | a2ui | a2ui-hero
|
|
230
237
|
|
|
231
238
|
Divider (Content)
|
|
232
239
|
variant: default | dashed
|
|
@@ -276,10 +283,12 @@ Stepper (Navigation)
|
|
|
276
283
|
|
|
277
284
|
Pagination (Navigation)
|
|
278
285
|
size: large | small
|
|
286
|
+
density: compact | comfortable
|
|
279
287
|
booleans: disabled
|
|
280
288
|
REQUIRED props (not axes): page, onPageChange
|
|
281
289
|
|
|
282
290
|
Table (Content)
|
|
291
|
+
density: compact | comfortable
|
|
283
292
|
booleans: loading, serverSide, hidePagination, fixedLayout, noBorder, slimScrollbar
|
|
284
293
|
|
|
285
294
|
Spinner (Feedback)
|
|
@@ -338,6 +347,7 @@ TRAPS — each of these renders or ignores silently, with no error:
|
|
|
338
347
|
--red-r600: 124 0 0;
|
|
339
348
|
--red-r500: 162 0 0;
|
|
340
349
|
--red-r400: 231 0 0;
|
|
350
|
+
--red-r450: 219 0 0;
|
|
341
351
|
--red-r300: 235 43 43;
|
|
342
352
|
--red-r200: 241 107 107;
|
|
343
353
|
--red-r100: 245 150 150;
|
|
@@ -430,7 +440,7 @@ TRAPS — each of these renders or ignores silently, with no error:
|
|
|
430
440
|
--text-default-invert: 255 255 255;
|
|
431
441
|
--text-default-brand: 0 116 231;
|
|
432
442
|
--text-default-success: 14 160 110;
|
|
433
|
-
--text-default-error:
|
|
443
|
+
--text-default-error: 219 0 0;
|
|
434
444
|
--text-default-warning: 245 158 11;
|
|
435
445
|
--text-hover-primary: 3 32 61;
|
|
436
446
|
--text-hover-secondary: 97 118 140;
|
|
@@ -463,7 +473,7 @@ TRAPS — each of these renders or ignores silently, with no error:
|
|
|
463
473
|
--icon-default-invert: 255 255 255;
|
|
464
474
|
--icon-default-brand: 0 116 231;
|
|
465
475
|
--icon-default-success: 14 160 110;
|
|
466
|
-
--icon-default-error:
|
|
476
|
+
--icon-default-error: 219 0 0;
|
|
467
477
|
--icon-default-warning: 245 158 11;
|
|
468
478
|
--icon-hover-primary: 3 32 61;
|
|
469
479
|
--icon-hover-secondary: 97 118 140;
|
|
@@ -632,86 +642,86 @@ TRAPS — each of these renders or ignores silently, with no error:
|
|
|
632
642
|
--callout-neg-border: 231 0 0;
|
|
633
643
|
--callout-neg-text: 4 38 72;
|
|
634
644
|
--focus-halo: 150 198 245;
|
|
635
|
-
--typography-mobile-display-bold: 700
|
|
636
|
-
--typography-mobile-display-semibold: 600
|
|
637
|
-
--typography-mobile-h1-bold: 700
|
|
638
|
-
--typography-mobile-h1-semibold: 600
|
|
639
|
-
--typography-mobile-h2-bold: 700
|
|
640
|
-
--typography-mobile-h2-semibold: 600
|
|
641
|
-
--typography-mobile-h2-medium: 500
|
|
642
|
-
--typography-mobile-h2-regular: 400
|
|
643
|
-
--typography-mobile-h3-bold: 700
|
|
644
|
-
--typography-mobile-h3-semibold: 600
|
|
645
|
-
--typography-mobile-h3-medium: 500
|
|
646
|
-
--typography-mobile-h3-regular: 400
|
|
647
|
-
--typography-mobile-h4-bold: 700
|
|
648
|
-
--typography-mobile-h4-semibold: 600
|
|
649
|
-
--typography-mobile-h4-medium: 500
|
|
650
|
-
--typography-mobile-h4-regular: 400
|
|
651
|
-
--typography-mobile-h5-bold: 700
|
|
652
|
-
--typography-mobile-h5-semibold: 600
|
|
653
|
-
--typography-mobile-h5-medium: 500
|
|
654
|
-
--typography-mobile-h5-regular: 400
|
|
655
|
-
--typography-mobile-h6-bold: 700
|
|
656
|
-
--typography-mobile-h6-semibold: 600
|
|
657
|
-
--typography-mobile-h6-medium: 500
|
|
658
|
-
--typography-mobile-h6-regular: 400
|
|
659
|
-
--typography-mobile-paragraph-bold: 700
|
|
660
|
-
--typography-mobile-paragraph-semibold: 600
|
|
661
|
-
--typography-mobile-paragraph-medium: 500
|
|
662
|
-
--typography-mobile-paragraph-regular: 400
|
|
663
|
-
--typography-mobile-body-lg-bold: 700
|
|
664
|
-
--typography-mobile-body-lg-semibold: 600
|
|
665
|
-
--typography-mobile-body-lg-medium: 500
|
|
666
|
-
--typography-mobile-body-lg-regular: 400
|
|
667
|
-
--typography-mobile-body-md-bold: 700
|
|
668
|
-
--typography-mobile-body-md-semibold: 600
|
|
669
|
-
--typography-mobile-body-md-medium: 500
|
|
670
|
-
--typography-mobile-body-md-regular: 400
|
|
671
|
-
--typography-mobile-body-sm-bold: 700
|
|
672
|
-
--typography-mobile-body-sm-semibold: 600
|
|
673
|
-
--typography-mobile-body-sm-medium: 500
|
|
674
|
-
--typography-mobile-body-sm-regular: 400
|
|
675
|
-
--typography-desktop-display-bold: 700
|
|
676
|
-
--typography-desktop-display-semibold: 600
|
|
677
|
-
--typography-desktop-h1-bold: 700
|
|
678
|
-
--typography-desktop-h1-semibold: 600
|
|
679
|
-
--typography-desktop-h2-bold: 700
|
|
680
|
-
--typography-desktop-h2-semibold: 600
|
|
681
|
-
--typography-desktop-h2-medium: 500
|
|
682
|
-
--typography-desktop-h2-regular: 400
|
|
683
|
-
--typography-desktop-h3-bold: 700
|
|
684
|
-
--typography-desktop-h3-semibold: 600
|
|
685
|
-
--typography-desktop-h3-medium: 500
|
|
686
|
-
--typography-desktop-h3-regular: 400
|
|
687
|
-
--typography-desktop-h4-bold: 700
|
|
688
|
-
--typography-desktop-h4-semibold: 600
|
|
689
|
-
--typography-desktop-h4-medium: 500
|
|
690
|
-
--typography-desktop-h4-regular: 400
|
|
691
|
-
--typography-desktop-h5-bold: 700
|
|
692
|
-
--typography-desktop-h5-semibold: 600
|
|
693
|
-
--typography-desktop-h5-medium: 500
|
|
694
|
-
--typography-desktop-h5-regular: 400
|
|
695
|
-
--typography-desktop-h6-bold: 700
|
|
696
|
-
--typography-desktop-h6-semibold: 600
|
|
697
|
-
--typography-desktop-h6-medium: 500
|
|
698
|
-
--typography-desktop-h6-regular: 400
|
|
699
|
-
--typography-desktop-paragraph-bold: 700
|
|
700
|
-
--typography-desktop-paragraph-semibold: 600
|
|
701
|
-
--typography-desktop-paragraph-medium: 500
|
|
702
|
-
--typography-desktop-paragraph-regular: 400
|
|
703
|
-
--typography-desktop-body-lg-bold: 700
|
|
704
|
-
--typography-desktop-body-lg-semibold: 600
|
|
705
|
-
--typography-desktop-body-lg-medium: 500
|
|
706
|
-
--typography-desktop-body-lg-regular: 400
|
|
707
|
-
--typography-desktop-body-md-bold: 700
|
|
708
|
-
--typography-desktop-body-md-semibold: 600
|
|
709
|
-
--typography-desktop-body-md-medium: 500
|
|
710
|
-
--typography-desktop-body-md-regular: 400
|
|
711
|
-
--typography-desktop-body-sm-bold: 700
|
|
712
|
-
--typography-desktop-body-sm-semibold: 600
|
|
713
|
-
--typography-desktop-body-sm-medium: 500
|
|
714
|
-
--typography-desktop-body-sm-regular: 400
|
|
645
|
+
--typography-mobile-display-bold: 700 calc(2.25rem * var(--ds-text-scale, 1))/calc(2.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
646
|
+
--typography-mobile-display-semibold: 600 calc(2.25rem * var(--ds-text-scale, 1))/calc(2.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
647
|
+
--typography-mobile-h1-bold: 700 calc(1.75rem * var(--ds-text-scale, 1))/calc(2rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
648
|
+
--typography-mobile-h1-semibold: 600 calc(1.75rem * var(--ds-text-scale, 1))/calc(2rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
649
|
+
--typography-mobile-h2-bold: 700 calc(1.5rem * var(--ds-text-scale, 1))/calc(1.75rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
650
|
+
--typography-mobile-h2-semibold: 600 calc(1.5rem * var(--ds-text-scale, 1))/calc(1.75rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
651
|
+
--typography-mobile-h2-medium: 500 calc(1.5rem * var(--ds-text-scale, 1))/calc(1.75rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
652
|
+
--typography-mobile-h2-regular: 400 calc(1.5rem * var(--ds-text-scale, 1))/calc(1.75rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
653
|
+
--typography-mobile-h3-bold: 700 calc(1.25rem * var(--ds-text-scale, 1))/calc(1.625rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
654
|
+
--typography-mobile-h3-semibold: 600 calc(1.25rem * var(--ds-text-scale, 1))/calc(1.625rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
655
|
+
--typography-mobile-h3-medium: 500 calc(1.25rem * var(--ds-text-scale, 1))/calc(1.625rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
656
|
+
--typography-mobile-h3-regular: 400 calc(1.25rem * var(--ds-text-scale, 1))/calc(1.625rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
657
|
+
--typography-mobile-h4-bold: 700 calc(1.25rem * var(--ds-text-scale, 1))/calc(1.625rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
658
|
+
--typography-mobile-h4-semibold: 600 calc(1.25rem * var(--ds-text-scale, 1))/calc(1.625rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
659
|
+
--typography-mobile-h4-medium: 500 calc(1.25rem * var(--ds-text-scale, 1))/calc(1.625rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
660
|
+
--typography-mobile-h4-regular: 400 calc(1.25rem * var(--ds-text-scale, 1))/calc(1.625rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
661
|
+
--typography-mobile-h5-bold: 700 calc(1.125rem * var(--ds-text-scale, 1))/calc(1.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
662
|
+
--typography-mobile-h5-semibold: 600 calc(1.125rem * var(--ds-text-scale, 1))/calc(1.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
663
|
+
--typography-mobile-h5-medium: 500 calc(1.125rem * var(--ds-text-scale, 1))/calc(1.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
664
|
+
--typography-mobile-h5-regular: 400 calc(1.125rem * var(--ds-text-scale, 1))/calc(1.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
665
|
+
--typography-mobile-h6-bold: 700 calc(1rem * var(--ds-text-scale, 1))/calc(1.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
666
|
+
--typography-mobile-h6-semibold: 600 calc(1rem * var(--ds-text-scale, 1))/calc(1.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
667
|
+
--typography-mobile-h6-medium: 500 calc(1rem * var(--ds-text-scale, 1))/calc(1.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
668
|
+
--typography-mobile-h6-regular: 400 calc(1rem * var(--ds-text-scale, 1))/calc(1.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
669
|
+
--typography-mobile-paragraph-bold: 700 calc(0.875rem * var(--ds-text-scale, 1))/calc(1.25rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
670
|
+
--typography-mobile-paragraph-semibold: 600 calc(0.875rem * var(--ds-text-scale, 1))/calc(1.25rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
671
|
+
--typography-mobile-paragraph-medium: 500 calc(0.875rem * var(--ds-text-scale, 1))/calc(1.25rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
672
|
+
--typography-mobile-paragraph-regular: 400 calc(0.875rem * var(--ds-text-scale, 1))/calc(1.25rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
673
|
+
--typography-mobile-body-lg-bold: 700 calc(0.75rem * var(--ds-text-scale, 1))/calc(1.125rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
674
|
+
--typography-mobile-body-lg-semibold: 600 calc(0.75rem * var(--ds-text-scale, 1))/calc(1.125rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
675
|
+
--typography-mobile-body-lg-medium: 500 calc(0.75rem * var(--ds-text-scale, 1))/calc(1.125rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
676
|
+
--typography-mobile-body-lg-regular: 400 calc(0.75rem * var(--ds-text-scale, 1))/calc(1.125rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
677
|
+
--typography-mobile-body-md-bold: 700 calc(0.625rem * var(--ds-text-scale, 1))/calc(1rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
678
|
+
--typography-mobile-body-md-semibold: 600 calc(0.625rem * var(--ds-text-scale, 1))/calc(1rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
679
|
+
--typography-mobile-body-md-medium: 500 calc(0.625rem * var(--ds-text-scale, 1))/calc(1rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
680
|
+
--typography-mobile-body-md-regular: 400 calc(0.625rem * var(--ds-text-scale, 1))/calc(1rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
681
|
+
--typography-mobile-body-sm-bold: 700 calc(0.5rem * var(--ds-text-scale, 1))/calc(0.875rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
682
|
+
--typography-mobile-body-sm-semibold: 600 calc(0.5rem * var(--ds-text-scale, 1))/calc(0.875rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
683
|
+
--typography-mobile-body-sm-medium: 500 calc(0.5rem * var(--ds-text-scale, 1))/calc(0.875rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
684
|
+
--typography-mobile-body-sm-regular: 400 calc(0.5rem * var(--ds-text-scale, 1))/calc(0.875rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
685
|
+
--typography-desktop-display-bold: 700 calc(3.5rem * var(--ds-text-scale, 1))/calc(4rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
686
|
+
--typography-desktop-display-semibold: 600 calc(3.5rem * var(--ds-text-scale, 1))/calc(4rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
687
|
+
--typography-desktop-h1-bold: 700 calc(2.5rem * var(--ds-text-scale, 1))/calc(3rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
688
|
+
--typography-desktop-h1-semibold: 600 calc(2.5rem * var(--ds-text-scale, 1))/calc(3rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
689
|
+
--typography-desktop-h2-bold: 700 calc(2rem * var(--ds-text-scale, 1))/calc(2.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
690
|
+
--typography-desktop-h2-semibold: 600 calc(2rem * var(--ds-text-scale, 1))/calc(2.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
691
|
+
--typography-desktop-h2-medium: 500 calc(2rem * var(--ds-text-scale, 1))/calc(2.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
692
|
+
--typography-desktop-h2-regular: 400 calc(2rem * var(--ds-text-scale, 1))/calc(2.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
693
|
+
--typography-desktop-h3-bold: 700 calc(1.75rem * var(--ds-text-scale, 1))/calc(2.25rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
694
|
+
--typography-desktop-h3-semibold: 600 calc(1.75rem * var(--ds-text-scale, 1))/calc(2.25rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
695
|
+
--typography-desktop-h3-medium: 500 calc(1.75rem * var(--ds-text-scale, 1))/calc(2.25rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
696
|
+
--typography-desktop-h3-regular: 400 calc(1.75rem * var(--ds-text-scale, 1))/calc(2.25rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
697
|
+
--typography-desktop-h4-bold: 700 calc(1.5rem * var(--ds-text-scale, 1))/calc(2rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
698
|
+
--typography-desktop-h4-semibold: 600 calc(1.5rem * var(--ds-text-scale, 1))/calc(2rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
699
|
+
--typography-desktop-h4-medium: 500 calc(1.5rem * var(--ds-text-scale, 1))/calc(2rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
700
|
+
--typography-desktop-h4-regular: 400 calc(1.5rem * var(--ds-text-scale, 1))/calc(2rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
701
|
+
--typography-desktop-h5-bold: 700 calc(1.25rem * var(--ds-text-scale, 1))/calc(1.75rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
702
|
+
--typography-desktop-h5-semibold: 600 calc(1.25rem * var(--ds-text-scale, 1))/calc(1.75rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
703
|
+
--typography-desktop-h5-medium: 500 calc(1.25rem * var(--ds-text-scale, 1))/calc(1.75rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
704
|
+
--typography-desktop-h5-regular: 400 calc(1.25rem * var(--ds-text-scale, 1))/calc(1.75rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
705
|
+
--typography-desktop-h6-bold: 700 calc(1.125rem * var(--ds-text-scale, 1))/calc(1.75rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
706
|
+
--typography-desktop-h6-semibold: 600 calc(1.125rem * var(--ds-text-scale, 1))/calc(1.75rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
707
|
+
--typography-desktop-h6-medium: 500 calc(1.125rem * var(--ds-text-scale, 1))/calc(1.75rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
708
|
+
--typography-desktop-h6-regular: 400 calc(1.125rem * var(--ds-text-scale, 1))/calc(1.75rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
709
|
+
--typography-desktop-paragraph-bold: 700 calc(1rem * var(--ds-text-scale, 1))/calc(1.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
710
|
+
--typography-desktop-paragraph-semibold: 600 calc(1rem * var(--ds-text-scale, 1))/calc(1.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
711
|
+
--typography-desktop-paragraph-medium: 500 calc(1rem * var(--ds-text-scale, 1))/calc(1.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
712
|
+
--typography-desktop-paragraph-regular: 400 calc(1rem * var(--ds-text-scale, 1))/calc(1.5rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
713
|
+
--typography-desktop-body-lg-bold: 700 calc(0.875rem * var(--ds-text-scale, 1))/calc(1.25rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
714
|
+
--typography-desktop-body-lg-semibold: 600 calc(0.875rem * var(--ds-text-scale, 1))/calc(1.25rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
715
|
+
--typography-desktop-body-lg-medium: 500 calc(0.875rem * var(--ds-text-scale, 1))/calc(1.25rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
716
|
+
--typography-desktop-body-lg-regular: 400 calc(0.875rem * var(--ds-text-scale, 1))/calc(1.25rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
717
|
+
--typography-desktop-body-md-bold: 700 calc(0.75rem * var(--ds-text-scale, 1))/calc(1.125rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
718
|
+
--typography-desktop-body-md-semibold: 600 calc(0.75rem * var(--ds-text-scale, 1))/calc(1.125rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
719
|
+
--typography-desktop-body-md-medium: 500 calc(0.75rem * var(--ds-text-scale, 1))/calc(1.125rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
720
|
+
--typography-desktop-body-md-regular: 400 calc(0.75rem * var(--ds-text-scale, 1))/calc(1.125rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
721
|
+
--typography-desktop-body-sm-bold: 700 calc(0.625rem * var(--ds-text-scale, 1))/calc(1rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
722
|
+
--typography-desktop-body-sm-semibold: 600 calc(0.625rem * var(--ds-text-scale, 1))/calc(1rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
723
|
+
--typography-desktop-body-sm-medium: 500 calc(0.625rem * var(--ds-text-scale, 1))/calc(1rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
724
|
+
--typography-desktop-body-sm-regular: 400 calc(0.625rem * var(--ds-text-scale, 1))/calc(1rem * var(--ds-text-scale, 1)) 'Be Vietnam Pro';
|
|
715
725
|
--elevation-overlay: 99999;
|
|
716
726
|
}
|
|
717
727
|
|
|
@@ -726,8 +736,8 @@ TRAPS — each of these renders or ignores silently, with no error:
|
|
|
726
736
|
body { color: rgb(var(--text-default-primary)); }
|
|
727
737
|
</style>
|
|
728
738
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
729
|
-
<script src="https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
730
|
-
<script src="https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
739
|
+
<script src="https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-heea0e2dbdd10/umkmall-tailwind.js"></script>
|
|
740
|
+
<script src="https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-heea0e2dbdd10/umkmall-ui.js"></script>
|
|
731
741
|
<script src="https://cdn.jsdelivr.net/npm/@babel/standalone@7.26.4/babel.min.js"></script>
|
|
732
742
|
</head>
|
|
733
743
|
<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-heea0e2dbdd10/umkmall-starter.md
|
|
33
|
+
the demo block on its own https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-heea0e2dbdd10/umkmall-starter-app.md
|
|
34
|
+
the component vocabulary https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-heea0e2dbdd10/umkmall-components.md
|
|
35
|
+
the starter as a raw .html file https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-heea0e2dbdd10/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-heea0e2dbdd10/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-heea0e2dbdd10/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-heea0e2dbdd10/umkmall-rules.md).
|
|
11
11
|
|
|
12
12
|
```jsx
|
|
13
13
|
/*
|