@empoweredvote/ev-ui 0.9.2 → 0.9.3
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.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -45,7 +45,8 @@ function RadarChartCore({
|
|
|
45
45
|
labelOffset = 20,
|
|
46
46
|
tightFit = false,
|
|
47
47
|
maxLabelLines = 2,
|
|
48
|
-
showLabels = true
|
|
48
|
+
showLabels = true,
|
|
49
|
+
dotRadius = 5
|
|
49
50
|
}) {
|
|
50
51
|
const { isDark } = useTheme();
|
|
51
52
|
const radius = size / 2 - 40;
|
|
@@ -276,7 +277,7 @@ function RadarChartCore({
|
|
|
276
277
|
key: `user-dot-${i}`,
|
|
277
278
|
cx,
|
|
278
279
|
cy,
|
|
279
|
-
r: matches ? 8 :
|
|
280
|
+
r: matches ? dotRadius * (8 / 7) : dotRadius,
|
|
280
281
|
fill: matches ? "#fed12e" : "#7C6B9E",
|
|
281
282
|
stroke: "#FFFFFF",
|
|
282
283
|
strokeWidth: 3
|
|
@@ -318,7 +319,7 @@ function RadarChartCore({
|
|
|
318
319
|
key: `compare-dot-${i}`,
|
|
319
320
|
cx,
|
|
320
321
|
cy,
|
|
321
|
-
r: matches ? 8 :
|
|
322
|
+
r: matches ? dotRadius * (8 / 7) : dotRadius,
|
|
322
323
|
fill: matches ? "#fed12e" : "#5A9A6E",
|
|
323
324
|
stroke: "#FFFFFF",
|
|
324
325
|
strokeWidth: 3
|