@datawheel/data-explorer 0.3.8 → 0.3.9

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.
Files changed (2) hide show
  1. package/dist/main.mjs +2 -2
  2. package/package.json +1 -1
package/dist/main.mjs CHANGED
@@ -8185,6 +8185,7 @@ function _buildTooltipTbody(columns, measure, measureFormatter, locale) {
8185
8185
  if (column.type === "measure") return null;
8186
8186
  if (column.type === "level" && column.hasID && column.isID) return null;
8187
8187
  const { caption, name: name4 } = getColumnEntity(column);
8188
+ if (Array.isArray(d[name4])) return null;
8188
8189
  return [caption, d[name4]];
8189
8190
  }).concat([[meaCaption, measureFormatter(d[meaName], locale)]]);
8190
8191
  };
@@ -8387,8 +8388,7 @@ function ChartCard(props) {
8387
8388
  setTimeout(() => setIsShared(false), 1500);
8388
8389
  },
8389
8390
  size: "sm",
8390
- variant: isShared ? "filled" : "light",
8391
- color: isShared ? "green" : "blue"
8391
+ variant: isShared ? "filled" : "light"
8392
8392
  },
8393
8393
  isShared ? translate("vizbuilder.share_copied") : translate("vizbuilder.action_share")
8394
8394
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datawheel/data-explorer",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "main": "./dist/main.mjs",
5
5
  "types": "./dist/main.d.mts",
6
6
  "files": [