@aiaiai-pt/design-system 0.46.3 → 0.47.0

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.
@@ -167,11 +167,12 @@
167
167
 
168
168
  (async () => {
169
169
  try {
170
- const [core, charts, components, renderers] = await Promise.all([
170
+ const [core, charts, components, renderers, features] = await Promise.all([
171
171
  import("echarts/core"),
172
172
  import("echarts/charts"),
173
173
  import("echarts/components"),
174
174
  import("echarts/renderers"),
175
+ import("echarts/features"),
175
176
  ]);
176
177
  if (disposed || !container) return;
177
178
 
@@ -184,6 +185,11 @@
184
185
  components.TooltipComponent,
185
186
  components.LegendComponent,
186
187
  renderers.CanvasRenderer,
188
+ // echarts 6 (#773): `grid.containLabel` moved behind this opt-in
189
+ // feature. Registering it preserves the v5 layout (labels contained
190
+ // inside the grid) our `buildChartOption` relies on — without it
191
+ // echarts 6 silently ignores `containLabel` and clips axis labels.
192
+ features.LegacyGridContainLabel,
187
193
  ]);
188
194
 
189
195
  chart = core.init(container, null, { renderer: "canvas" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiaiai-pt/design-system",
3
- "version": "0.46.3",
3
+ "version": "0.47.0",
4
4
  "description": "Design system tokens and Svelte components for aiaiai products",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -83,14 +83,14 @@
83
83
  "@codemirror/view": "^6.40.0",
84
84
  "@lezer/highlight": "^1.0.0",
85
85
  "date-fns": "^4.1.0",
86
- "echarts": "^5.5.0",
86
+ "echarts": "^6.1.0",
87
87
  "ol": "^10.0.0",
88
88
  "svelte": "^5.0.0"
89
89
  },
90
90
  "devDependencies": {
91
91
  "@sveltejs/package": "^2.5.7",
92
92
  "date-fns": "^4.1.0",
93
- "echarts": "^5.6.0",
93
+ "echarts": "^6.1.0",
94
94
  "jsdom": "^29.1.1",
95
95
  "ol": "^10.8.0",
96
96
  "svelte": "^5.55.3",