@squadbase/vantage 0.6.2-dev1.5aae04e → 0.6.2-dev1.83509f7

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.
Files changed (40) hide show
  1. package/dist/{chunk-XPQSTZUU.js → chunk-7S52M2SL.js} +4 -3
  2. package/dist/chunk-7S52M2SL.js.map +1 -0
  3. package/dist/{chunk-HKSVYMYJ.js → chunk-MYHFZYS4.js} +168 -82
  4. package/dist/chunk-MYHFZYS4.js.map +1 -0
  5. package/dist/components/index.js +2 -2
  6. package/dist/table/index.js +2 -2
  7. package/dist/ui/index.d.ts +4 -1
  8. package/dist/ui/index.js +3 -3
  9. package/dist/ui/index.js.map +1 -1
  10. package/package.json +2 -2
  11. package/registry/ui/area-chart.tsx +45 -19
  12. package/registry/ui/bar-chart.tsx +45 -19
  13. package/registry/ui/bar-list.tsx +44 -17
  14. package/registry/ui/box-plot-chart.tsx +45 -19
  15. package/registry/ui/category-bar.tsx +44 -17
  16. package/registry/ui/chart-frame.tsx +44 -17
  17. package/registry/ui/delta.tsx +4 -4
  18. package/registry/ui/donut-chart.tsx +46 -19
  19. package/registry/ui/echart.tsx +171 -54
  20. package/registry/ui/heatmap.tsx +45 -19
  21. package/registry/ui/histogram-chart.tsx +45 -19
  22. package/registry/ui/legend.tsx +44 -17
  23. package/registry/ui/line-chart.tsx +45 -19
  24. package/registry/ui/page-shell.tsx +7 -7
  25. package/registry/ui/paired-chart.tsx +45 -19
  26. package/registry/ui/sample-data.tsx +1 -1
  27. package/registry/ui/scatter-chart.tsx +45 -19
  28. package/registry/ui/slider.tsx +1 -1
  29. package/registry/ui/status-badge.tsx +8 -8
  30. package/registry/ui/tooltip.tsx +6 -2
  31. package/registry/ui/tracker.tsx +9 -3
  32. package/registry/ui/trend-indicator.tsx +2 -2
  33. package/registry/ui/waterfall-chart.tsx +45 -19
  34. package/skills/vantage-design/SKILL.md +27 -25
  35. package/skills/vantage-design/references/extract.md +16 -14
  36. package/skills/vantage-design/references/format.md +6 -5
  37. package/skills/vantage-design/references/presets.md +60 -110
  38. package/theme.css +13 -12
  39. package/dist/chunk-HKSVYMYJ.js.map +0 -1
  40. package/dist/chunk-XPQSTZUU.js.map +0 -1
package/theme.css CHANGED
@@ -62,10 +62,10 @@
62
62
  sans-serif;
63
63
 
64
64
  --chart-1: oklch(0.55 0.2 262);
65
- --chart-2: oklch(0.7 0.14 215);
66
- --chart-3: oklch(0.6 0.23 295);
67
- --chart-4: oklch(0.63 0.24 330);
68
- --chart-5: oklch(0.78 0.19 125);
65
+ --chart-2: oklch(0.62 0.17 118);
66
+ --chart-3: oklch(0.5 0.19 352);
67
+ --chart-4: oklch(0.62 0.1 195);
68
+ --chart-5: oklch(0.44 0.18 300);
69
69
 
70
70
  /* Semantic status tokens — see the contract above the `@theme inline` block. */
71
71
  --positive: oklch(0.52 0.14 150);
@@ -115,16 +115,16 @@
115
115
  --accent: oklch(0.3 0.02 262);
116
116
  --accent-foreground: oklch(0.96 0.005 255);
117
117
  --destructive: oklch(0.704 0.191 22.216);
118
- --destructive-foreground: oklch(0.985 0 0);
118
+ --destructive-foreground: oklch(0.145 0.02 262);
119
119
  --border: oklch(1 0 0 / 10%);
120
120
  --input: oklch(1 0 0 / 15%);
121
121
  --ring: oklch(0.6 0.15 262);
122
122
 
123
- --chart-1: oklch(0.55 0.2 262);
124
- --chart-2: oklch(0.76 0.14 215);
125
- --chart-3: oklch(0.68 0.2 295);
126
- --chart-4: oklch(0.7 0.22 330);
127
- --chart-5: oklch(0.82 0.18 125);
123
+ --chart-1: oklch(0.56 0.19 262);
124
+ --chart-2: oklch(0.75 0.17 118);
125
+ --chart-3: oklch(0.64 0.19 352);
126
+ --chart-4: oklch(0.78 0.105 195);
127
+ --chart-5: oklch(0.71 0.17 300);
128
128
 
129
129
  --positive: oklch(0.76 0.15 150);
130
130
  --positive-subtle: oklch(0.27 0.05 150);
@@ -145,7 +145,7 @@
145
145
  --sidebar: oklch(0.2 0.014 262);
146
146
  --sidebar-foreground: oklch(0.96 0.005 255);
147
147
  --sidebar-primary: oklch(0.68 0.19 262);
148
- --sidebar-primary-foreground: oklch(0.985 0 0);
148
+ --sidebar-primary-foreground: oklch(0.145 0.02 262);
149
149
  --sidebar-accent: oklch(0.3 0.02 262);
150
150
  --sidebar-accent-foreground: oklch(0.96 0.005 255);
151
151
  --sidebar-border: oklch(1 0 0 / 10%);
@@ -162,7 +162,8 @@
162
162
  text or icons — use --<tone>. Same lightness step from the page in both
163
163
  modes (light 0.62 / dark 0.56: ~0.36-0.40 OKLCH L away from --background,
164
164
  >= 3:1 against --background and --card), so a fill is never strong in one
165
- mode and faint in the other. Presets do not override it.
165
+ mode and faint in the other. Presets may tune hue and chroma within the
166
+ status bands while preserving contrast and fill strength (tests/theme-presets.test.ts).
166
167
  --warning-fill is the exception: amber (light 0.79 / dark 0.73, ~#f5b324 / ~#d99a1e) is
167
168
  a light colour by nature, so it is ~2:1 on the light page (still >= 0.18 L away)
168
169
  and ~7-8:1 on the dark one; dark text (--foreground in light, --background in dark) sits on it at >= 4.5:1.