eurostat-map 4.10.2 → 4.10.4

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eurostat-map",
3
- "version": "4.10.2",
3
+ "version": "4.10.4",
4
4
  "description": "Reusable library to quickly create and customise web maps showing Eurostat data directly retrieved from Eurostat database.",
5
5
  "keywords": [
6
6
  "eurostat",
@@ -213,7 +213,7 @@ export function map(type: 'bar' | 'barComposition', config?: BarMapConfig): BarM
213
213
  export function map(type: 'stripeComposition' | 'scomp' | 'stripe', config?: StripeMapConfig): StripeMap
214
214
  export function map(type: 'waffle', config?: WaffleMapConfig): WaffleMap
215
215
  export function map(type: 'mushroom', config?: MushroomMapConfig): MushroomMap
216
- export function map(type: 'pieChart' | 'pie', config?: PieMapConfig): PieMap
216
+ export function map(type: 'pieChart' | 'pie' | 'composition', config?: PieMapConfig): PieMap
217
217
  export function map(type: 'sparkline' | 'spark' | 'sparklines', config?: SparkMapConfig): SparkMap
218
218
  export function map(type: 'flow' | 'flowmap', config?: FlowMapConfig): FlowMap
219
219
  export function map(type: MapType, config?: MapConfig): MapInstance
@@ -19,6 +19,7 @@ export type MapType =
19
19
  | 'stripe'
20
20
  | 'pieChart'
21
21
  | 'pie'
22
+ | 'composition'
22
23
  | 'sparkline'
23
24
  | 'spark'
24
25
  | 'sparklines'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eurostat-map",
3
- "version": "4.10.2",
3
+ "version": "4.10.4",
4
4
  "description": "Reusable library to quickly create and customise web maps showing Eurostat data directly retrieved from Eurostat database.",
5
5
  "keywords": [
6
6
  "cartography",
@@ -37,7 +37,7 @@
37
37
  "build-prod": "npm run copy-types && webpack --config webpack/webpack.config.prod.js",
38
38
  "build-prod-debug": "webpack --config webpack/webpack.config.debug-size.js",
39
39
  "format": "prettier --write .",
40
- "copy-types": "copyfiles -u 2 \"src/types/**/*.d.ts\" build/types",
40
+ "copy-types": "node scripts/copy-types.js",
41
41
  "check:types:legend-config-sync": "node scripts/check-legend-config-sync.js",
42
42
  "type-check": "npm run check:types:legend-config-sync && tsc --noEmit --skipLibCheck && tsc --noEmit --skipLibCheck test/typescript-test.ts",
43
43
  "update-all": "npm run update-types && npm run update-docs && npm run update-examples",
@@ -78,7 +78,6 @@
78
78
  "@babel/preset-env": "^7.22.6",
79
79
  "@babel/runtime": "^7.12.1",
80
80
  "babel-loader": "^9.1.2",
81
- "copyfiles": "^2.4.1",
82
81
  "css-loader": "^7.1.2",
83
82
  "playwright": "^1.60.0",
84
83
  "prettier": "^3.4.1",