@lionad/cx-comps-tanstack-charts 0.1.0-alpha.20 → 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,
|
|
@@ -1520,7 +1521,7 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
|
|
|
1520
1521
|
className: props.className,
|
|
1521
1522
|
idPrefix,
|
|
1522
1523
|
renderer: motion({
|
|
1523
|
-
initial: props.motionOptions?.initial ??
|
|
1524
|
+
initial: props.motionOptions?.initial ?? "always",
|
|
1524
1525
|
resize: props.motionOptions?.resize
|
|
1525
1526
|
})
|
|
1526
1527
|
};
|
|
@@ -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;
|