Skip to content

Commit

Permalink
Merge branch 'main' into implement-treemap
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelSzmarowski committed Sep 27, 2023
2 parents 834d999 + a123107 commit b4debc1
Show file tree
Hide file tree
Showing 46 changed files with 8,628 additions and 8,190 deletions.
12 changes: 12 additions & 0 deletions packages/api-client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.1.1](https://github.com/opendatasoft/ods-dataviz-sdk/compare/@opendatasoft/[email protected]...@opendatasoft/[email protected]) (2023-09-22)


### Bug Fixes

* add MVT dataset export format ([0b0a746](https://github.com/opendatasoft/ods-dataviz-sdk/commit/0b0a746121195eb0f5b9837b8459a431f9ef5fa0))
* add typing for API export ([511bb8b](https://github.com/opendatasoft/ods-dataviz-sdk/commit/511bb8ba4f7d305c0d1f6979e897b268b5f94d1f))





# [21.1.0](https://github.com/opendatasoft/ods-dataviz-sdk/compare/@opendatasoft/[email protected]...@opendatasoft/[email protected]) (2023-08-31)


Expand Down
4 changes: 2 additions & 2 deletions packages/api-client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/api-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opendatasoft/api-client",
"version": "21.1.0",
"version": "21.1.1",
"license": "MIT",
"author": "opendatasoft",
"homepage": "https://github.com/opendatasoft/ods-dataviz-sdk",
Expand Down
4 changes: 4 additions & 0 deletions packages/api-client/src/client/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ export interface ApiQuery<T> {
results: T[];
}

export interface ApiExport<T> {
[key: string]: T;
}
export const EnumExportCatalogFormat = {
CSV: 'csv',
JSON: 'json',
Expand Down Expand Up @@ -92,6 +95,7 @@ export const EnumExportDatasetFormat = {
RDFXML: 'rdfxml',
TURTLE: 'turtle',
N3: 'n3',
MVT: 'mvt',
} as const;

export type ExportDatasetFormat =
Expand Down
34 changes: 34 additions & 0 deletions packages/visualizations-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,40 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.16.1](https://github.com/opendatasoft/ods-dataviz-sdk/compare/@opendatasoft/[email protected]...@opendatasoft/[email protected]) (2023-09-25)


### Bug Fixes

* Use same typing for `indexAxis` as other charts series ([#193](https://github.com/opendatasoft/ods-dataviz-sdk/issues/193)) ([78a9cd4](https://github.com/opendatasoft/ods-dataviz-sdk/commit/78a9cd45fa20c53ae01de9fa8198b980059095ba))





# [0.16.0](https://github.com/opendatasoft/ods-dataviz-sdk/compare/@opendatasoft/[email protected]...@opendatasoft/[email protected]) (2023-09-22)


### Features

* add PoiMap component ([023eb28](https://github.com/opendatasoft/ods-dataviz-sdk/commit/023eb288c27570addd2efb3bfc82dbabf25fb169))
* new variant ('circle') for category legend ([f7b6dc9](https://github.com/opendatasoft/ods-dataviz-sdk/commit/f7b6dc9d7ef0ea0d4bf28affddb4bcca37ad5c0c))





## [0.15.3](https://github.com/opendatasoft/ods-dataviz-sdk/compare/@opendatasoft/[email protected]...@opendatasoft/[email protected]) (2023-09-18)


### Bug Fixes

* **Chart:** expose `stack` property ([049672e](https://github.com/opendatasoft/ods-dataviz-sdk/commit/049672eb8a721070f957fca22866cbb6b74a7920))





## [0.15.2](https://github.com/opendatasoft/ods-dataviz-sdk/compare/@opendatasoft/[email protected]...@opendatasoft/[email protected]) (2023-09-07)


Expand Down
4 changes: 2 additions & 2 deletions packages/visualizations-react/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/visualizations-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opendatasoft/visualizations-react",
"version": "0.15.2",
"version": "0.16.1",
"license": "MIT",
"author": "opendatasoft",
"homepage": "https://github.com/opendatasoft/ods-dataviz-sdk",
Expand Down Expand Up @@ -53,7 +53,7 @@
"trailingComma": "es5"
},
"dependencies": {
"@opendatasoft/visualizations": "0.15.2",
"@opendatasoft/visualizations": "0.16.1",
"use-callback-ref": "^1.2.4"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions packages/visualizations-react/src/components/PoiMap.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { PoiMap as _PoiMap, PoiMapOptions, PoiMapData, Async } from '@opendatasoft/visualizations';
import { FC } from 'react';
import wrap from './ReactImpl';

// Explicit name and type are needed for Storybook
const PoiMap: FC<{ data: Async<PoiMapData>; options: PoiMapOptions }> = wrap(_PoiMap);
export default PoiMap;
1 change: 1 addition & 0 deletions packages/visualizations-react/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ export { default as KpiCard } from './components/KpiCard';
export { default as ChoroplethGeoJson } from './components/ChoroplethGeoJson';
export { default as ChoroplethVectorTiles } from './components/ChoroplethVectorTiles';
export { default as ChoroplethSvg } from './components/ChoroplethSvg';
export { default as PoiMap } from './components/PoiMap';
Loading

0 comments on commit b4debc1

Please sign in to comment.