@undp/data-viz 0.0.53 → 0.0.56
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/dist/index.cjs +69 -69
- package/dist/index.d.ts +11 -32
- package/dist/index.js +14358 -14321
- package/dist/index.umd.js +57 -57
- package/package.json +4 -4
- package/readme.md +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@undp/data-viz",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.56",
|
|
4
4
|
"main": "./dist/index.cjs",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"browser": "./dist/index.umd.js",
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"private": false,
|
|
31
31
|
"repository": {
|
|
32
32
|
"type": "git",
|
|
33
|
-
"url": "git+https://github.com/
|
|
33
|
+
"url": "git+https://github.com/undp/data-visualization.git"
|
|
34
34
|
},
|
|
35
35
|
"author": "United Nations Development Programme",
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"bugs": {
|
|
38
|
-
"url": "https://github.com/
|
|
38
|
+
"url": "https://github.com/undp/data-visualization/issues"
|
|
39
39
|
},
|
|
40
|
-
"homepage": "https://
|
|
40
|
+
"homepage": "https://dataviz.design.undp.org",
|
|
41
41
|
"scripts": {
|
|
42
42
|
"dev": "vite",
|
|
43
43
|
"build": "tsc && vite build",
|
package/readme.md
CHANGED
|
@@ -6,7 +6,9 @@ We also assumes that you have intermediate knowledge about HTML, CSS, and JavaSc
|
|
|
6
6
|
|
|
7
7
|
__Note: The library uses react v19__
|
|
8
8
|
|
|
9
|
-
Detailed documentation can be found [here](https://
|
|
9
|
+
Detailed documentation can be found [here](https://dataviz.design.undp.org).
|
|
10
|
+
|
|
11
|
+
NPM Package can be found [here](https://www.npmjs.com/package/@undp/data-viz)
|
|
10
12
|
|
|
11
13
|
### Installation
|
|
12
14
|
__Using npm__
|
|
@@ -60,6 +62,7 @@ The dependencies that are pre-installed wit the library:
|
|
|
60
62
|
* lodash.sum
|
|
61
63
|
* lodash.uniq
|
|
62
64
|
* lodash.uniqby
|
|
65
|
+
* @undp/design-system-react - For UI elements
|
|
63
66
|
* maplibre-gl - For Maplibre maps (Peer dependency)
|
|
64
67
|
* pmtiles - For adding pmtiles to Maplibre maps
|
|
65
68
|
* papaparse - For loading and parsing csv from links
|
|
@@ -69,7 +72,7 @@ The dependencies that are pre-installed wit the library:
|
|
|
69
72
|
* xss - For cleaning up cross scripting from user-submitted HTML
|
|
70
73
|
* ajv - For schema validation
|
|
71
74
|
* date-fns - For date formatting
|
|
72
|
-
*
|
|
75
|
+
* html-to-image - For downloading div as images
|
|
73
76
|
* dom-to-svg - For downloading div as svg
|
|
74
77
|
* file-saver - For downloading files
|
|
75
78
|
* react-csv - For generating a csv file
|