@carbon/charts-svelte 1.7.6 → 1.8.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,19 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.8.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.7.6...v1.8.0) (2023-06-03)
7
+
8
+ ### Features
9
+
10
+ - **core:** Add choropleth chart
11
+ ([#1487](https://github.com/carbon-design-system/carbon-charts/issues/1487))
12
+ ([62caeb1](https://github.com/carbon-design-system/carbon-charts/commit/62caeb1fd6fab9e2a39d85b024f2d9b97f8bd1fa))
13
+
14
+ # Change Log
15
+
16
+ All notable changes to this project will be documented in this file. See
17
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
18
+
6
19
  ## [1.7.6](https://github.com/carbon-design-system/carbon-charts/compare/v1.7.5...v1.7.6) (2023-05-01)
7
20
 
8
21
  **Note:** Version bump only for package @carbon/charts-svelte
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon/charts-svelte",
3
- "version": "1.7.6",
3
+ "version": "1.8.0",
4
4
  "description": "Carbon charting components for Svelte",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "homepage": "https://github.com/carbon-design-system/carbon-charts#readme",
52
52
  "dependencies": {
53
- "@carbon/charts": "^1.7.6",
53
+ "@carbon/charts": "^1.8.0",
54
54
  "@carbon/telemetry": "0.1.0"
55
55
  },
56
56
  "peerDependencies": {
@@ -0,0 +1,16 @@
1
+ <script>
2
+ export let chart = null;
3
+ export let ref = null;
4
+
5
+ import { EXPERIMENTAL_ChoroplethChart } from "@carbon/charts";
6
+ import BaseChart from "./BaseChart.svelte";
7
+ </script>
8
+
9
+ <BaseChart
10
+ {...$$restProps}
11
+ Chart={EXPERIMENTAL_ChoroplethChart}
12
+ bind:ref
13
+ bind:chart
14
+ on:load
15
+ on:update
16
+ on:destroy />
package/src/index.js CHANGED
@@ -22,6 +22,7 @@ import CirclePackChart from './CirclePackChart.svelte';
22
22
  import WordCloudChart from './WordCloudChart.svelte';
23
23
  import AlluvialChart from './AlluvialChart.svelte';
24
24
  import HeatmapChart from './HeatmapChart.svelte';
25
+ import EXPERIMENTAL_ChoroplethChart from './ChoroplethChart.svelte';
25
26
 
26
27
  export {
27
28
  AreaChart,
@@ -48,4 +49,5 @@ export {
48
49
  WordCloudChart,
49
50
  AlluvialChart,
50
51
  HeatmapChart,
52
+ EXPERIMENTAL_ChoroplethChart
51
53
  };