@umkmall/proto 0.1.0-hd56bc2ef2302 → 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 +8 -1
- package/umkmall-prototype-starter.html +96 -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
|
|
@@ -247,10 +252,12 @@ Stepper (Navigation)
|
|
|
247
252
|
|
|
248
253
|
Pagination (Navigation)
|
|
249
254
|
size: large | small
|
|
255
|
+
density: compact | comfortable
|
|
250
256
|
booleans: disabled
|
|
251
257
|
REQUIRED props (not axes): page, onPageChange
|
|
252
258
|
|
|
253
259
|
Table (Content)
|
|
260
|
+
density: compact | comfortable
|
|
254
261
|
booleans: loading, serverSide, hidePagination, fixedLayout, noBorder, slimScrollbar
|
|
255
262
|
|
|
256
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
|
|
@@ -278,10 +283,12 @@ Stepper (Navigation)
|
|
|
278
283
|
|
|
279
284
|
Pagination (Navigation)
|
|
280
285
|
size: large | small
|
|
286
|
+
density: compact | comfortable
|
|
281
287
|
booleans: disabled
|
|
282
288
|
REQUIRED props (not axes): page, onPageChange
|
|
283
289
|
|
|
284
290
|
Table (Content)
|
|
291
|
+
density: compact | comfortable
|
|
285
292
|
booleans: loading, serverSide, hidePagination, fixedLayout, noBorder, slimScrollbar
|
|
286
293
|
|
|
287
294
|
Spinner (Feedback)
|
|
@@ -340,6 +347,7 @@ TRAPS — each of these renders or ignores silently, with no error:
|
|
|
340
347
|
--red-r600: 124 0 0;
|
|
341
348
|
--red-r500: 162 0 0;
|
|
342
349
|
--red-r400: 231 0 0;
|
|
350
|
+
--red-r450: 219 0 0;
|
|
343
351
|
--red-r300: 235 43 43;
|
|
344
352
|
--red-r200: 241 107 107;
|
|
345
353
|
--red-r100: 245 150 150;
|
|
@@ -432,7 +440,7 @@ TRAPS — each of these renders or ignores silently, with no error:
|
|
|
432
440
|
--text-default-invert: 255 255 255;
|
|
433
441
|
--text-default-brand: 0 116 231;
|
|
434
442
|
--text-default-success: 14 160 110;
|
|
435
|
-
--text-default-error:
|
|
443
|
+
--text-default-error: 219 0 0;
|
|
436
444
|
--text-default-warning: 245 158 11;
|
|
437
445
|
--text-hover-primary: 3 32 61;
|
|
438
446
|
--text-hover-secondary: 97 118 140;
|
|
@@ -465,7 +473,7 @@ TRAPS — each of these renders or ignores silently, with no error:
|
|
|
465
473
|
--icon-default-invert: 255 255 255;
|
|
466
474
|
--icon-default-brand: 0 116 231;
|
|
467
475
|
--icon-default-success: 14 160 110;
|
|
468
|
-
--icon-default-error:
|
|
476
|
+
--icon-default-error: 219 0 0;
|
|
469
477
|
--icon-default-warning: 245 158 11;
|
|
470
478
|
--icon-hover-primary: 3 32 61;
|
|
471
479
|
--icon-hover-secondary: 97 118 140;
|
|
@@ -634,86 +642,86 @@ TRAPS — each of these renders or ignores silently, with no error:
|
|
|
634
642
|
--callout-neg-border: 231 0 0;
|
|
635
643
|
--callout-neg-text: 4 38 72;
|
|
636
644
|
--focus-halo: 150 198 245;
|
|
637
|
-
--typography-mobile-display-bold: 700
|
|
638
|
-
--typography-mobile-display-semibold: 600
|
|
639
|
-
--typography-mobile-h1-bold: 700
|
|
640
|
-
--typography-mobile-h1-semibold: 600
|
|
641
|
-
--typography-mobile-h2-bold: 700
|
|
642
|
-
--typography-mobile-h2-semibold: 600
|
|
643
|
-
--typography-mobile-h2-medium: 500
|
|
644
|
-
--typography-mobile-h2-regular: 400
|
|
645
|
-
--typography-mobile-h3-bold: 700
|
|
646
|
-
--typography-mobile-h3-semibold: 600
|
|
647
|
-
--typography-mobile-h3-medium: 500
|
|
648
|
-
--typography-mobile-h3-regular: 400
|
|
649
|
-
--typography-mobile-h4-bold: 700
|
|
650
|
-
--typography-mobile-h4-semibold: 600
|
|
651
|
-
--typography-mobile-h4-medium: 500
|
|
652
|
-
--typography-mobile-h4-regular: 400
|
|
653
|
-
--typography-mobile-h5-bold: 700
|
|
654
|
-
--typography-mobile-h5-semibold: 600
|
|
655
|
-
--typography-mobile-h5-medium: 500
|
|
656
|
-
--typography-mobile-h5-regular: 400
|
|
657
|
-
--typography-mobile-h6-bold: 700
|
|
658
|
-
--typography-mobile-h6-semibold: 600
|
|
659
|
-
--typography-mobile-h6-medium: 500
|
|
660
|
-
--typography-mobile-h6-regular: 400
|
|
661
|
-
--typography-mobile-paragraph-bold: 700
|
|
662
|
-
--typography-mobile-paragraph-semibold: 600
|
|
663
|
-
--typography-mobile-paragraph-medium: 500
|
|
664
|
-
--typography-mobile-paragraph-regular: 400
|
|
665
|
-
--typography-mobile-body-lg-bold: 700
|
|
666
|
-
--typography-mobile-body-lg-semibold: 600
|
|
667
|
-
--typography-mobile-body-lg-medium: 500
|
|
668
|
-
--typography-mobile-body-lg-regular: 400
|
|
669
|
-
--typography-mobile-body-md-bold: 700
|
|
670
|
-
--typography-mobile-body-md-semibold: 600
|
|
671
|
-
--typography-mobile-body-md-medium: 500
|
|
672
|
-
--typography-mobile-body-md-regular: 400
|
|
673
|
-
--typography-mobile-body-sm-bold: 700
|
|
674
|
-
--typography-mobile-body-sm-semibold: 600
|
|
675
|
-
--typography-mobile-body-sm-medium: 500
|
|
676
|
-
--typography-mobile-body-sm-regular: 400
|
|
677
|
-
--typography-desktop-display-bold: 700
|
|
678
|
-
--typography-desktop-display-semibold: 600
|
|
679
|
-
--typography-desktop-h1-bold: 700
|
|
680
|
-
--typography-desktop-h1-semibold: 600
|
|
681
|
-
--typography-desktop-h2-bold: 700
|
|
682
|
-
--typography-desktop-h2-semibold: 600
|
|
683
|
-
--typography-desktop-h2-medium: 500
|
|
684
|
-
--typography-desktop-h2-regular: 400
|
|
685
|
-
--typography-desktop-h3-bold: 700
|
|
686
|
-
--typography-desktop-h3-semibold: 600
|
|
687
|
-
--typography-desktop-h3-medium: 500
|
|
688
|
-
--typography-desktop-h3-regular: 400
|
|
689
|
-
--typography-desktop-h4-bold: 700
|
|
690
|
-
--typography-desktop-h4-semibold: 600
|
|
691
|
-
--typography-desktop-h4-medium: 500
|
|
692
|
-
--typography-desktop-h4-regular: 400
|
|
693
|
-
--typography-desktop-h5-bold: 700
|
|
694
|
-
--typography-desktop-h5-semibold: 600
|
|
695
|
-
--typography-desktop-h5-medium: 500
|
|
696
|
-
--typography-desktop-h5-regular: 400
|
|
697
|
-
--typography-desktop-h6-bold: 700
|
|
698
|
-
--typography-desktop-h6-semibold: 600
|
|
699
|
-
--typography-desktop-h6-medium: 500
|
|
700
|
-
--typography-desktop-h6-regular: 400
|
|
701
|
-
--typography-desktop-paragraph-bold: 700
|
|
702
|
-
--typography-desktop-paragraph-semibold: 600
|
|
703
|
-
--typography-desktop-paragraph-medium: 500
|
|
704
|
-
--typography-desktop-paragraph-regular: 400
|
|
705
|
-
--typography-desktop-body-lg-bold: 700
|
|
706
|
-
--typography-desktop-body-lg-semibold: 600
|
|
707
|
-
--typography-desktop-body-lg-medium: 500
|
|
708
|
-
--typography-desktop-body-lg-regular: 400
|
|
709
|
-
--typography-desktop-body-md-bold: 700
|
|
710
|
-
--typography-desktop-body-md-semibold: 600
|
|
711
|
-
--typography-desktop-body-md-medium: 500
|
|
712
|
-
--typography-desktop-body-md-regular: 400
|
|
713
|
-
--typography-desktop-body-sm-bold: 700
|
|
714
|
-
--typography-desktop-body-sm-semibold: 600
|
|
715
|
-
--typography-desktop-body-sm-medium: 500
|
|
716
|
-
--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';
|
|
717
725
|
--elevation-overlay: 99999;
|
|
718
726
|
}
|
|
719
727
|
|
|
@@ -728,8 +736,8 @@ TRAPS — each of these renders or ignores silently, with no error:
|
|
|
728
736
|
body { color: rgb(var(--text-default-primary)); }
|
|
729
737
|
</style>
|
|
730
738
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
731
|
-
<script src="https://cdn.jsdelivr.net/npm/@umkmall/proto@0.1.0-
|
|
732
|
-
<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>
|
|
733
741
|
<script src="https://cdn.jsdelivr.net/npm/@babel/standalone@7.26.4/babel.min.js"></script>
|
|
734
742
|
</head>
|
|
735
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
|
/*
|