Skip to content

Commit

Permalink
fix: USMap and Column default colorScale is default
Browse files Browse the repository at this point in the history
  • Loading branch information
zachstence committed Dec 13, 2024
1 parent a942f83 commit 1a6a356
Show file tree
Hide file tree
Showing 5 changed files with 255 additions and 179 deletions.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-zebras-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@evidence-dev/core-components': patch
---

USMap and Column default colorScale is default
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
$: colorPalette = checkDeprecatedColor('USMap', 'colorPalette', colorPalette);
$: colorPaletteStore = resolveColorPalette(colorPalette);
export let colorScale = 'info';
export let colorScale = 'default';
$: colorScale = checkDeprecatedColor('USMap', 'colorScale', colorScale);
$: colorScaleStore = resolveColorScale(colorScale);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
}
$: colorScale = checkDeprecatedColor('Column', 'colorScale', colorScale);
export let colorScale = 'positive';
export let colorScale = 'default';
$: colorScaleStore = resolveColorScale(colorScale ?? colorScale);
export let scaleColumn = undefined;
Expand Down
Loading

0 comments on commit 1a6a356

Please sign in to comment.