@squadbase/vantage 0.6.2-dev1.d594c56 → 0.6.2-dev1.e85faec

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 (168) hide show
  1. package/dist/chunk-2IAPIOPS.js +152 -0
  2. package/dist/chunk-2IAPIOPS.js.map +1 -0
  3. package/dist/chunk-57GHR5LN.js +163 -0
  4. package/dist/chunk-57GHR5LN.js.map +1 -0
  5. package/dist/chunk-6OTTGAPO.js +44 -0
  6. package/dist/chunk-6OTTGAPO.js.map +1 -0
  7. package/dist/{chunk-XPQSTZUU.js → chunk-7S52M2SL.js} +4 -3
  8. package/dist/chunk-7S52M2SL.js.map +1 -0
  9. package/dist/chunk-JXFCSF3K.js +673 -0
  10. package/dist/chunk-JXFCSF3K.js.map +1 -0
  11. package/dist/{chunk-HKSVYMYJ.js → chunk-QOXXOFGL.js} +61 -929
  12. package/dist/chunk-QOXXOFGL.js.map +1 -0
  13. package/dist/components/index.d.ts +11 -247
  14. package/dist/components/index.js +5 -2
  15. package/dist/delta-text-CvwBGJ95.d.ts +15 -0
  16. package/dist/doc/index.d.ts +215 -2
  17. package/dist/doc/index.js +300 -3
  18. package/dist/doc/index.js.map +1 -1
  19. package/dist/format-U0cQl069.d.ts +243 -0
  20. package/dist/slide/index.d.ts +272 -1
  21. package/dist/slide/index.js +966 -1
  22. package/dist/slide/index.js.map +1 -1
  23. package/dist/table/index.js +5 -2
  24. package/dist/table/index.js.map +1 -1
  25. package/dist/ui/index.d.ts +4 -1
  26. package/dist/ui/index.js +3 -3
  27. package/dist/ui/index.js.map +1 -1
  28. package/docs/en/components.md +13 -2
  29. package/docs/en/doc/delta-text.md +40 -0
  30. package/docs/en/doc/doc-action-items.md +49 -0
  31. package/docs/en/doc/doc-callout.md +38 -0
  32. package/docs/en/doc/doc-data-table.md +60 -0
  33. package/docs/en/doc/doc-executive-summary.md +64 -0
  34. package/docs/en/doc/doc-figure.md +56 -0
  35. package/docs/en/doc/doc-key-findings.md +61 -0
  36. package/docs/en/doc/doc-kpi-scorecard.md +80 -0
  37. package/docs/en/doc/doc-notes-and-sources.md +43 -0
  38. package/docs/en/doc/doc-report-header.md +46 -0
  39. package/docs/en/parts/area-chart.md +99 -0
  40. package/docs/en/parts/bar-chart.md +91 -0
  41. package/docs/en/parts/bar-list.md +50 -0
  42. package/docs/en/parts/category-bar.md +37 -0
  43. package/docs/en/parts/chart-frame.md +39 -0
  44. package/docs/en/parts/delta.md +4 -3
  45. package/docs/en/parts/donut-chart.md +72 -0
  46. package/docs/en/parts/funnel-steps.md +2 -1
  47. package/docs/en/parts/heatmap.md +53 -0
  48. package/docs/en/parts/kpi-card.md +2 -1
  49. package/docs/en/parts/legend.md +35 -0
  50. package/docs/en/parts/line-chart.md +94 -0
  51. package/docs/en/parts/progress-circle.md +33 -0
  52. package/docs/en/parts/sample-data.md +39 -0
  53. package/docs/en/parts/scatter-chart.md +56 -0
  54. package/docs/en/parts/tracker.md +36 -0
  55. package/docs/en/parts/updated-at.md +30 -0
  56. package/docs/en/parts/waterfall-chart.md +56 -0
  57. package/docs/en/slide/slide-chart-full.md +48 -0
  58. package/docs/en/slide/slide-chart-insight.md +52 -0
  59. package/docs/en/slide/slide-columns.md +46 -0
  60. package/docs/en/slide/slide-comparison.md +68 -0
  61. package/docs/en/slide/slide-cover.md +39 -0
  62. package/docs/en/slide/slide-exec-summary.md +47 -0
  63. package/docs/en/slide/slide-heading.md +38 -0
  64. package/docs/en/slide/slide-kpi-grid.md +55 -0
  65. package/docs/en/slide/slide-kpi-hero.md +58 -0
  66. package/docs/en/slide/slide-next-actions.md +49 -0
  67. package/docs/en/slide/slide-scorecard-table.md +54 -0
  68. package/docs/en/slide/slide-section.md +44 -0
  69. package/docs/en/slide/slide-source-line.md +34 -0
  70. package/docs/en/ui/alert-dialog.md +42 -0
  71. package/docs/en/ui/avatar.md +31 -0
  72. package/docs/en/ui/combobox.md +74 -0
  73. package/docs/en/ui/drawer.md +41 -0
  74. package/docs/en/ui/empty.md +1 -1
  75. package/docs/en/ui/error-state.md +4 -3
  76. package/docs/en/ui/field.md +42 -0
  77. package/docs/en/ui/hover-card.md +21 -0
  78. package/docs/en/ui/kbd.md +17 -0
  79. package/docs/en/ui/loading.md +1 -1
  80. package/docs/en/ui/pagination.md +36 -0
  81. package/docs/en/ui/radio-group.md +21 -0
  82. package/docs/en/ui/toast.md +44 -0
  83. package/docs/en/ui/toggle-group.md +4 -3
  84. package/docs/index.json +857 -77
  85. package/docs/ja/components.md +12 -1
  86. package/docs/ja/doc/delta-text.md +40 -0
  87. package/docs/ja/doc/doc-action-items.md +49 -0
  88. package/docs/ja/doc/doc-callout.md +38 -0
  89. package/docs/ja/doc/doc-data-table.md +60 -0
  90. package/docs/ja/doc/doc-executive-summary.md +64 -0
  91. package/docs/ja/doc/doc-figure.md +56 -0
  92. package/docs/ja/doc/doc-key-findings.md +61 -0
  93. package/docs/ja/doc/doc-kpi-scorecard.md +80 -0
  94. package/docs/ja/doc/doc-notes-and-sources.md +43 -0
  95. package/docs/ja/doc/doc-report-header.md +46 -0
  96. package/docs/ja/parts/area-chart.md +49 -25
  97. package/docs/ja/parts/bar-chart.md +50 -24
  98. package/docs/ja/parts/bar-list.md +31 -8
  99. package/docs/ja/parts/chart-frame.md +36 -0
  100. package/docs/ja/parts/delta.md +5 -4
  101. package/docs/ja/parts/donut-chart.md +45 -26
  102. package/docs/ja/parts/funnel-steps.md +27 -8
  103. package/docs/ja/parts/heatmap.md +45 -0
  104. package/docs/ja/parts/kpi-card.md +2 -1
  105. package/docs/ja/parts/legend.md +36 -0
  106. package/docs/ja/parts/line-chart.md +48 -22
  107. package/docs/ja/parts/sample-data.md +61 -0
  108. package/docs/ja/parts/scatter-chart.md +69 -0
  109. package/docs/ja/parts/updated-at.md +27 -0
  110. package/docs/ja/parts/waterfall-chart.md +61 -0
  111. package/docs/ja/slide/slide-chart-full.md +48 -0
  112. package/docs/ja/slide/slide-chart-insight.md +52 -0
  113. package/docs/ja/slide/slide-columns.md +46 -0
  114. package/docs/ja/slide/slide-comparison.md +68 -0
  115. package/docs/ja/slide/slide-cover.md +39 -0
  116. package/docs/ja/slide/slide-exec-summary.md +47 -0
  117. package/docs/ja/slide/slide-heading.md +38 -0
  118. package/docs/ja/slide/slide-kpi-grid.md +55 -0
  119. package/docs/ja/slide/slide-kpi-hero.md +58 -0
  120. package/docs/ja/slide/slide-next-actions.md +49 -0
  121. package/docs/ja/slide/slide-scorecard-table.md +54 -0
  122. package/docs/ja/slide/slide-section.md +44 -0
  123. package/docs/ja/slide/slide-source-line.md +34 -0
  124. package/docs/ja/ui/empty.md +1 -1
  125. package/docs/ja/ui/error-state.md +4 -3
  126. package/docs/ja/ui/loading.md +1 -1
  127. package/docs/ja/ui/toggle-group.md +4 -3
  128. package/package.json +2 -2
  129. package/registry/ui/area-chart.tsx +88 -26
  130. package/registry/ui/attention-list.tsx +303 -0
  131. package/registry/ui/bar-chart.tsx +88 -26
  132. package/registry/ui/bar-list.tsx +87 -24
  133. package/registry/ui/box-plot-chart.tsx +3906 -0
  134. package/registry/ui/category-bar.tsx +54 -19
  135. package/registry/ui/chart-frame.tsx +56 -21
  136. package/registry/ui/dashboard-card.tsx +2 -2
  137. package/registry/ui/delta.tsx +11 -8
  138. package/registry/ui/donut-chart.tsx +89 -26
  139. package/registry/ui/echart.tsx +194 -44
  140. package/registry/ui/funnel-steps.tsx +33 -5
  141. package/registry/ui/heatmap.tsx +55 -21
  142. package/registry/ui/histogram-chart.tsx +3986 -0
  143. package/registry/ui/kpi-card.tsx +41 -14
  144. package/registry/ui/legend.tsx +87 -24
  145. package/registry/ui/line-chart.tsx +88 -26
  146. package/registry/ui/page-shell.tsx +9 -9
  147. package/registry/ui/paired-chart.tsx +3827 -0
  148. package/registry/ui/sample-data.tsx +1 -1
  149. package/registry/ui/scatter-chart.tsx +88 -26
  150. package/registry/ui/section-header.tsx +2 -2
  151. package/registry/ui/slider.tsx +1 -1
  152. package/registry/ui/status-badge.tsx +8 -8
  153. package/registry/ui/tooltip.tsx +6 -2
  154. package/registry/ui/tracker.tsx +9 -3
  155. package/registry/ui/trend-indicator.tsx +2 -2
  156. package/registry/ui/waterfall-chart.tsx +88 -26
  157. package/skills/vantage-design/SKILL.md +27 -25
  158. package/skills/vantage-design/references/extract.md +16 -14
  159. package/skills/vantage-design/references/format.md +6 -5
  160. package/skills/vantage-design/references/presets.md +60 -110
  161. package/skills/vantage-slide/SKILL.md +54 -36
  162. package/templates/AGENTS.md +2 -2
  163. package/templates/agents/doc.md +48 -0
  164. package/templates/agents/page.md +22 -1
  165. package/templates/agents/slide.md +70 -2
  166. package/theme.css +16 -15
  167. package/dist/chunk-HKSVYMYJ.js.map +0 -1
  168. package/dist/chunk-XPQSTZUU.js.map +0 -1
package/theme.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /* GENERATED by scripts/gen-theme.mjs — do not edit. Sources:
2
2
  * packages/squadkit/registry/theme/theme.css (UI part tokens)
3
- * packages/vantage/src/theme/framework.css (slide / document styles) */
3
+ * packages/squadkit/theme/slide-doc.css (slide / document styles) */
4
4
 
5
5
  /**
6
6
  * Vantage design tokens. Imported after `@import "tailwindcss"` by the
@@ -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.
@@ -359,8 +360,8 @@
359
360
  /**
360
361
  * Vantage framework styles: the slide / document tokens and the document
361
362
  * typesetting. The UI parts' tokens live in SquadKit
362
- * (packages/squadkit/registry/theme/theme.css); scripts/gen-theme.mjs appends
363
- * this file to them to produce packages/vantage/theme.css.
363
+ * (packages/squadkit/registry/theme/theme.css); packages/vantage/scripts/gen-theme.mjs
364
+ * appends this file to them to produce packages/vantage/theme.css.
364
365
  */
365
366
 
366
367
  :root {