@hopara/react 0.2.2 → 0.2.3
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/README.md +5 -5
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @hopara/react
|
|
2
|
-
This package provides
|
|
2
|
+
This package provides a react component to add [Hopara](https://hopara.io) visualizations to your project.
|
|
3
3
|
|
|
4
4
|
## Requirements
|
|
5
|
-
The [Hopara](https://hopara.io) component is built on top of [React](https://react.dev/) and [React-Redux](https://react-redux.js.org/). It requires the following
|
|
5
|
+
The [Hopara](https://hopara.io) component is built on top of [React](https://react.dev/) and [React-Redux](https://react-redux.js.org/). It requires the following dependencies:
|
|
6
6
|
|
|
7
7
|
- react >= 18.2
|
|
8
8
|
- react-redux >= 8.0
|
|
@@ -20,13 +20,13 @@ Using yarn:
|
|
|
20
20
|
$ yarn add @hopara/react
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Once installed, you can import the library using import or require
|
|
23
|
+
Once installed, you can import the library using import or require:
|
|
24
24
|
```jsx
|
|
25
25
|
import {Hopara} from '@hopara/react';
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
## Authentication
|
|
29
|
-
The component requires a valid `accessToken`. Use the `Auth API` to fetch it, as explained in our [documentation website](https://docs.hopara.app/docs/
|
|
29
|
+
The component requires a valid `accessToken`. Use the `Auth API` to fetch it, as explained in our [documentation website](https://docs.hopara.app/docs/integration-guide/authentication-integration.html)
|
|
30
30
|
|
|
31
31
|
## Examples
|
|
32
32
|
### Basic usage
|
|
@@ -50,7 +50,7 @@ type HoparaProps = {
|
|
|
50
50
|
// The accessToken fetched from the auth API
|
|
51
51
|
accessToken: string
|
|
52
52
|
|
|
53
|
-
// Overwrites
|
|
53
|
+
// Overwrites data at rendering time
|
|
54
54
|
dataLoaders: DataLoader[] | undefined
|
|
55
55
|
|
|
56
56
|
// Provides a custom ways to update data
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hopara/react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Hopara React Component",
|
|
5
5
|
"author": "Hopara",
|
|
6
6
|
"homepage": "https://hopara.io",
|
|
@@ -29,21 +29,21 @@
|
|
|
29
29
|
"@babel/core": "^7.18.9",
|
|
30
30
|
"@babel/preset-env": "^7.16.4",
|
|
31
31
|
"@danmarshall/deckgl-typings": "^4.9.22",
|
|
32
|
-
"@hopara/auth-front": "^0.2.
|
|
33
|
-
"@hopara/config": "^0.2.
|
|
34
|
-
"@hopara/dataset": "^0.2.
|
|
35
|
-
"@hopara/design-system": "^0.2.
|
|
36
|
-
"@hopara/encoding": "^0.2.
|
|
37
|
-
"@hopara/http-client": "^0.2.
|
|
38
|
-
"@hopara/i18n": "^0.2.
|
|
39
|
-
"@hopara/image": "^0.2.
|
|
40
|
-
"@hopara/internals": "^0.2.
|
|
41
|
-
"@hopara/memoize": "^0.2.
|
|
42
|
-
"@hopara/object": "^0.2.
|
|
43
|
-
"@hopara/page": "^0.2.
|
|
44
|
-
"@hopara/projector": "^0.2.
|
|
32
|
+
"@hopara/auth-front": "^0.2.3",
|
|
33
|
+
"@hopara/config": "^0.2.3",
|
|
34
|
+
"@hopara/dataset": "^0.2.3",
|
|
35
|
+
"@hopara/design-system": "^0.2.3",
|
|
36
|
+
"@hopara/encoding": "^0.2.3",
|
|
37
|
+
"@hopara/http-client": "^0.2.3",
|
|
38
|
+
"@hopara/i18n": "^0.2.3",
|
|
39
|
+
"@hopara/image": "^0.2.3",
|
|
40
|
+
"@hopara/internals": "^0.2.3",
|
|
41
|
+
"@hopara/memoize": "^0.2.3",
|
|
42
|
+
"@hopara/object": "^0.2.3",
|
|
43
|
+
"@hopara/page": "^0.2.3",
|
|
44
|
+
"@hopara/projector": "^0.2.3",
|
|
45
45
|
"@hopara/region": "git+ssh://git@bitbucket.org:kyrix/region.git#release",
|
|
46
|
-
"@hopara/spatial": "^0.2.
|
|
46
|
+
"@hopara/spatial": "^0.2.3",
|
|
47
47
|
"babel-loader": "8.1.0",
|
|
48
48
|
"customize-cra": "^1.0.0",
|
|
49
49
|
"react-app-rewired": "^2.2.1",
|