Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix(lab): rebrand internal SVG ids xds- -> astryx- (#2952)

EJ Hammonde7001f2fb306
diff --git a/packages/lab/src/Chart/XDSChart.tsx b/packages/lab/src/Chart/XDSChart.tsx
index 1b9ca25901..6068ced871 100644
--- a/packages/lab/src/Chart/XDSChart.tsx
+++ b/packages/lab/src/Chart/XDSChart.tsx
@@ -298,7 +298,7 @@ export function XDSChart({
height={height}
style={interactive ? {touchAction: 'none'} : undefined}>
<defs>
- <clipPath id="xds-chart-plot">
+ <clipPath id="astryx-chart-plot">
<rect x={0} y={0} width={innerWidth} height={innerHeight} />
</clipPath>
</defs>
diff --git a/packages/lab/src/Sankey/XDSSankeyLink.tsx b/packages/lab/src/Sankey/XDSSankeyLink.tsx
index e2b1ed4461..75e7c9d869 100644
--- a/packages/lab/src/Sankey/XDSSankeyLink.tsx
+++ b/packages/lab/src/Sankey/XDSSankeyLink.tsx
@@ -116,7 +116,7 @@ export function XDSSankeyLink({
} else if (mode.type === 'target') {
fill = oklch(link.target.color, opacity);
} else {
- fill = `url(#xds-sankey-grad-${i})`;
+ fill = `url(#astryx-sankey-grad-${i})`;
}
return <path key={i} d={d} fill={fill} opacity={pathOpacity} />;
@@ -144,7 +144,7 @@ function GradientDef({
return (
<linearGradient
- id={`xds-sankey-grad-${index}`}
+ id={`astryx-sankey-grad-${index}`}
x1={sx}
x2={tx}
y1={0}