@lionad/cx-comps-tanstack-charts 0.1.0-alpha.21 → 0.1.0-alpha.22

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/dist/index.mjs CHANGED
@@ -1308,7 +1308,8 @@ function translateTooltip(tooltip$1) {
1308
1308
  "visibility",
1309
1309
  "anchor",
1310
1310
  "sort",
1311
- "items"
1311
+ "items",
1312
+ "className"
1312
1313
  ]) if (tooltip$1[key] !== void 0) options[key] = tooltip$1[key];
1313
1314
  return {
1314
1315
  use: tooltip,
@@ -538,6 +538,9 @@ export interface CxChartSpec {
538
538
  y?: 'point' | 'pointer' | 'value' | 'group-center' | 'plot-top' | 'plot-center' | 'plot-bottom';
539
539
  };
540
540
  sort?: 'visual' | 'color-domain' | 'focus';
541
+ /** 追加到 tooltip 根元素的自定义类名(`ts-chart-tooltip <className>`),
542
+ * 供物料/宿主用 CSS 分化指示器等外壳样式 */
543
+ className?: string;
541
544
  items?: ('x' | 'y' | 'group' | {
542
545
  channel: 'x' | 'y' | 'group';
543
546
  label?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lionad/cx-comps-tanstack-charts",
3
- "version": "0.1.0-alpha.21",
3
+ "version": "0.1.0-alpha.22",
4
4
  "description": "cx material components wrapping TanStack Charts (@tanstack/charts/vue)",
5
5
  "keywords": [
6
6
  "charts",