@mediaradar/design-components 0.16.0 → 0.16.2
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.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -8
- package/dist/index.d.ts +11 -8
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1831,7 +1831,7 @@ function LineChartPlaceholder({ height = 280 }) {
|
|
|
1831
1831
|
{
|
|
1832
1832
|
points: toPath(pts, 0, LINE_FORECAST_FROM + 1),
|
|
1833
1833
|
fill: "none",
|
|
1834
|
-
stroke: "var(--mr-color-
|
|
1834
|
+
stroke: "var(--mr-color-subtle)",
|
|
1835
1835
|
strokeWidth: "2",
|
|
1836
1836
|
vectorEffect: "non-scaling-stroke",
|
|
1837
1837
|
strokeLinecap: "round",
|
|
@@ -1843,7 +1843,7 @@ function LineChartPlaceholder({ height = 280 }) {
|
|
|
1843
1843
|
{
|
|
1844
1844
|
points: toPath(pts, LINE_FORECAST_FROM, pts.length),
|
|
1845
1845
|
fill: "none",
|
|
1846
|
-
stroke: "var(--mr-color-
|
|
1846
|
+
stroke: "var(--mr-color-subtle)",
|
|
1847
1847
|
strokeWidth: "2",
|
|
1848
1848
|
strokeDasharray: "5 4",
|
|
1849
1849
|
vectorEffect: "non-scaling-stroke",
|
|
@@ -1860,7 +1860,7 @@ function LineChartPlaceholder({ height = 280 }) {
|
|
|
1860
1860
|
style: {
|
|
1861
1861
|
left: `${i / (pts.length - 1) * 100}%`,
|
|
1862
1862
|
top: `${y}%`,
|
|
1863
|
-
backgroundColor: "var(--mr-color-
|
|
1863
|
+
backgroundColor: "var(--mr-color-subtle)"
|
|
1864
1864
|
}
|
|
1865
1865
|
},
|
|
1866
1866
|
`${s}-${i}`
|
|
@@ -1886,7 +1886,7 @@ function PieChartPlaceholder({ height = 220, legendRows = 8 }) {
|
|
|
1886
1886
|
y1: "50",
|
|
1887
1887
|
x2: 50 + r * Math.cos(rad),
|
|
1888
1888
|
y2: 50 + r * Math.sin(rad),
|
|
1889
|
-
stroke: "var(--mr-color-
|
|
1889
|
+
stroke: "var(--mr-color-surface)",
|
|
1890
1890
|
strokeWidth: "1"
|
|
1891
1891
|
},
|
|
1892
1892
|
deg
|
|
@@ -1916,9 +1916,9 @@ function StackedColumnPlaceholder({
|
|
|
1916
1916
|
{
|
|
1917
1917
|
style: {
|
|
1918
1918
|
height: `${pct}%`,
|
|
1919
|
-
/*
|
|
1920
|
-
|
|
1921
|
-
borderTop: i === 0 ? void 0 : "1px solid var(--mr-color-
|
|
1919
|
+
/* A gap in the card's color, not a border tone: border-default
|
|
1920
|
+
disappears on the subtle fill, border-strong reads darker. */
|
|
1921
|
+
borderTop: i === 0 ? void 0 : "1px solid var(--mr-color-surface)"
|
|
1922
1922
|
}
|
|
1923
1923
|
},
|
|
1924
1924
|
i
|