@ponchia/ui 0.6.3 → 0.6.4
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/CHANGELOG.md +18 -0
- package/behaviors/glyph.d.ts +7 -0
- package/behaviors/glyph.d.ts.map +1 -1
- package/behaviors/glyph.js +58 -4
- package/classes/classes.json +66 -4
- package/classes/index.d.ts +12 -1
- package/classes/index.js +15 -1
- package/css/dots.css +210 -3
- package/css/report.css +3 -4
- package/css/skins.css +9 -0
- package/css/spark.css +14 -0
- package/css/table.css +7 -1
- package/dist/bronto.css +1 -1
- package/dist/css/dots.css +1 -1
- package/dist/css/report.css +1 -1
- package/dist/css/skins.css +1 -1
- package/dist/css/spark.css +1 -1
- package/dist/css/table.css +1 -1
- package/docs/dots.md +146 -0
- package/docs/glyphs.md +114 -0
- package/docs/reference.md +42 -1
- package/docs/reporting.md +19 -8
- package/glyphs/glyphs.d.ts +61 -0
- package/glyphs/glyphs.js +593 -30
- package/llms.txt +11 -3
- package/package.json +5 -1
- package/tokens/skins.js +22 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ponchia/ui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CSS-first design system for interfaces that explain themselves — works in HTML, every framework, and PDF, no component runtime. A standard component set plus an opt-in analytical & report layer (annotations, legends, connectors, data-viz, report grammar). Monochrome with one rationed accent, re-skinnable from one --accent knob. Zero runtime dependencies.",
|
|
6
6
|
"keywords": [
|
|
@@ -65,6 +65,8 @@
|
|
|
65
65
|
"docs/stability.md",
|
|
66
66
|
"docs/usage.md",
|
|
67
67
|
"docs/reporting.md",
|
|
68
|
+
"docs/dots.md",
|
|
69
|
+
"docs/glyphs.md",
|
|
68
70
|
"docs/mermaid.md",
|
|
69
71
|
"docs/d2.md",
|
|
70
72
|
"docs/vega.md",
|
|
@@ -291,6 +293,8 @@
|
|
|
291
293
|
"./docs/stability.md": "./docs/stability.md",
|
|
292
294
|
"./docs/usage.md": "./docs/usage.md",
|
|
293
295
|
"./docs/reporting.md": "./docs/reporting.md",
|
|
296
|
+
"./docs/dots.md": "./docs/dots.md",
|
|
297
|
+
"./docs/glyphs.md": "./docs/glyphs.md",
|
|
294
298
|
"./docs/mermaid.md": "./docs/mermaid.md",
|
|
295
299
|
"./docs/d2.md": "./docs/d2.md",
|
|
296
300
|
"./docs/vega.md": "./docs/vega.md",
|
package/tokens/skins.js
CHANGED
|
@@ -38,22 +38,35 @@ export const skins = {
|
|
|
38
38
|
'amber-crt': {
|
|
39
39
|
label: 'Amber CRT',
|
|
40
40
|
// Phosphor amber. Dark+saturated in light theme (AA under a white label),
|
|
41
|
-
// bright with a warm bloom in dark theme (the classic CRT glow).
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
// bright with a warm bloom in dark theme (the classic CRT glow). The glow
|
|
42
|
+
// and a deeper --pulse breath (`--dotmatrix-pulse-min`) are the Tier-3
|
|
43
|
+
// "display expression" knobs the colorway is allowed to re-point.
|
|
44
|
+
light: { '--accent': 'oklch(52% 0.11 67deg)', '--dotmatrix-pulse-min': '0.35' },
|
|
45
|
+
dark: {
|
|
46
|
+
'--accent': 'oklch(82% 0.15 82deg)',
|
|
47
|
+
'--dotmatrix-glow': '0.4em',
|
|
48
|
+
'--dotmatrix-pulse-min': '0.3',
|
|
49
|
+
},
|
|
44
50
|
},
|
|
45
51
|
'phosphor-green': {
|
|
46
52
|
label: 'Phosphor Green',
|
|
47
|
-
// P1-phosphor green. Same light=dark-ink / dark=bright-glow split
|
|
48
|
-
|
|
49
|
-
|
|
53
|
+
// P1-phosphor green. Same light=dark-ink / dark=bright-glow split, with the
|
|
54
|
+
// same deeper phosphor breath as Amber CRT.
|
|
55
|
+
light: { '--accent': 'oklch(52% 0.13 150deg)', '--dotmatrix-pulse-min': '0.35' },
|
|
56
|
+
dark: {
|
|
57
|
+
'--accent': 'oklch(84% 0.19 150deg)',
|
|
58
|
+
'--dotmatrix-glow': '0.4em',
|
|
59
|
+
'--dotmatrix-pulse-min': '0.3',
|
|
60
|
+
},
|
|
50
61
|
},
|
|
51
62
|
'e-ink': {
|
|
52
63
|
label: 'E-ink',
|
|
53
64
|
// The opposite move: drop the hue almost entirely → a near-monochrome
|
|
54
|
-
// ink/paper accent, no glow. The most restrained look in the set
|
|
55
|
-
|
|
56
|
-
|
|
65
|
+
// ink/paper accent, no glow. The most restrained look in the set — and the
|
|
66
|
+
// --reveal scan snaps on instantly (`--dotmatrix-reveal-step: 0ms`), since
|
|
67
|
+
// e-ink panels don't sweep, they flip.
|
|
68
|
+
light: { '--accent': 'oklch(34% 0.012 250deg)', '--dotmatrix-reveal-step': '0ms' },
|
|
69
|
+
dark: { '--accent': 'oklch(84% 0.008 250deg)', '--dotmatrix-reveal-step': '0ms' },
|
|
57
70
|
},
|
|
58
71
|
};
|
|
59
72
|
|