@arcgis/charts-components-react 5.0.0-next.99 → 5.0.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/README.md +11 -9
- package/dist/components.d.ts +5 -2
- package/dist/index.js +5 -4
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
# ArcGIS Maps SDK for JavaScript -
|
|
2
|
-
|
|
3
|
-
**No Esri Technical Support during beta.**
|
|
4
|
-
|
|
5
|
-
> Note: `@arcgis/charts-components-react` was developed for use in React 18. Consider updating to React 19 where the React wrapper is no longer necessary. Check out the [documentation](https://developers.arcgis.com/javascript/latest/get-started/#react) to get started with `@arcgis/charts-components` in React 19.
|
|
1
|
+
# ArcGIS Maps SDK for JavaScript - Charts Components React
|
|
6
2
|
|
|
7
3
|
The ArcGIS Maps SDK for JavaScript provides a suite of ready-to-use UI components that simplify the process of creating GIS web applications. This package offers a series of charting components that can be used to build custom applications.
|
|
8
4
|
|
|
9
5
|
Want to get started immediately? See [Get started](https://developers.arcgis.com/javascript/latest/get-started/) or try out the [sample applications](https://github.com/Esri/jsapi-resources/tree/main/component-samples) for a variety of popular frameworks, module bundlers, and TypeScript.
|
|
10
6
|
|
|
7
|
+
## Deprecation Notice
|
|
8
|
+
|
|
9
|
+
> WARNING: Charts Components React is deprecated in v5.0.0 and will be removed in v6.0.0.
|
|
10
|
+
|
|
11
|
+
The `@arcgis/charts-components-react` package was originally developed for use with React 18 where wrappers were necessary to use custom elements. With React 19's custom element support, these wrappers are no longer needed.
|
|
12
|
+
|
|
13
|
+
Consider upgrading to React 19+ and using `@arcgis/charts-components` directly. Check out the [documentation](https://developers.arcgis.com/javascript/latest/get-started/#react) to get started.
|
|
14
|
+
|
|
11
15
|
## Documentation
|
|
12
16
|
|
|
13
17
|
- [Key Features](https://developers.arcgis.com/javascript/latest/key-features/)
|
|
@@ -19,7 +23,6 @@ Want to get started immediately? See [Get started](https://developers.arcgis.com
|
|
|
19
23
|
## Resources
|
|
20
24
|
|
|
21
25
|
- [ArcGIS blog](https://blogs.esri.com/esri/arcgis/tag/javascript/)
|
|
22
|
-
- [twitter@EsriDevs](https://twitter.com/EsriDevs)
|
|
23
26
|
- [System Requirements](https://developers.arcgis.com/javascript/latest/system-requirements/)
|
|
24
27
|
- [Terms of Use](https://www.esri.com/en-us/legal/terms/product-specific-scope-of-use)
|
|
25
28
|
- [Licensing](https://developers.arcgis.com/javascript/latest/licensing/)
|
|
@@ -36,6 +39,5 @@ An [example](https://github.com/Esri/jsapi-resources/tree/50579b9362b846e869a343
|
|
|
36
39
|
|
|
37
40
|
## License
|
|
38
41
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
This package is licensed under the terms described in the `LICENSE.md` file, located in the root of the package.
|
|
42
|
+
This package is licensed under the terms described in the `LICENSE.md` file, located in the root of the package, and at https://js.arcgis.com/5.0/LICENSE.txt.
|
|
43
|
+
For third party notices, see https://js.arcgis.com/5.0/third-party-notices.txt.
|
package/dist/components.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="@arcgis/charts-components" preserve="true" />
|
|
2
2
|
import { EventName } from '@lit/react';
|
|
3
|
-
|
|
3
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-chart /> directly. */
|
|
4
|
+
export declare const ArcgisChart: import('@lit/react').ReactWebComponent<import('@arcgis/charts-components/components/arcgis-chart/customElement').ArcgisChart & {
|
|
4
5
|
class?: string;
|
|
5
6
|
}, {
|
|
6
7
|
onArcgisAxesMinMaxChange: EventName<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
|
|
@@ -10,6 +11,7 @@ export declare const ArcgisChart: import('@lit/react').ReactWebComponent<HTMLArc
|
|
|
10
11
|
onArcgisDataFetchComplete: EventName<HTMLArcgisChartElement["arcgisDataFetchComplete"]>;
|
|
11
12
|
onArcgisDataProcessComplete: EventName<HTMLArcgisChartElement["arcgisDataProcessComplete"]>;
|
|
12
13
|
onArcgisDataProcessError: EventName<HTMLArcgisChartElement["arcgisDataProcessError"]>;
|
|
14
|
+
onArcgisInvalidConfigWarningRaise: EventName<HTMLArcgisChartElement["arcgisInvalidConfigWarningRaise"]>;
|
|
13
15
|
onArcgisLegendItemVisibilityChange: EventName<HTMLArcgisChartElement["arcgisLegendItemVisibilityChange"]>;
|
|
14
16
|
onArcgisNoRenderPropChange: EventName<HTMLArcgisChartElement["arcgisNoRenderPropChange"]>;
|
|
15
17
|
onArcgisRenderingComplete: EventName<HTMLArcgisChartElement["arcgisRenderingComplete"]>;
|
|
@@ -19,7 +21,8 @@ export declare const ArcgisChart: import('@lit/react').ReactWebComponent<HTMLArc
|
|
|
19
21
|
onArcgisSeriesOrder: EventName<HTMLArcgisChartElement["arcgisSeriesOrder"]>;
|
|
20
22
|
onArcgisUpdateComplete: EventName<HTMLArcgisChartElement["arcgisUpdateComplete"]>;
|
|
21
23
|
}>;
|
|
22
|
-
|
|
24
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-charts-action-bar /> directly. */
|
|
25
|
+
export declare const ArcgisChartsActionBar: import('@lit/react').ReactWebComponent<import('@arcgis/charts-components/components/arcgis-charts-action-bar/customElement').ArcgisChartsActionBar & {
|
|
23
26
|
class?: string;
|
|
24
27
|
}, {
|
|
25
28
|
onArcgisActionBarToggle: EventName<HTMLArcgisChartsActionBarElement["arcgisActionBarToggle"]>;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import a from "react";
|
|
2
2
|
import { createComponent as i } from "@lit/react";
|
|
3
3
|
import { makeReactWrapperFactory as o, getReactWrapperOptions as r } from "@arcgis/lumina";
|
|
4
|
-
const e = /* @__PURE__ */ o(a, i),
|
|
4
|
+
const e = /* @__PURE__ */ o(a, i), s = /* @__PURE__ */ e(
|
|
5
5
|
r(
|
|
6
6
|
"arcgis-chart",
|
|
7
7
|
{
|
|
@@ -12,6 +12,7 @@ const e = /* @__PURE__ */ o(a, i), g = /* @__PURE__ */ e(
|
|
|
12
12
|
onArcgisDataFetchComplete: "arcgisDataFetchComplete",
|
|
13
13
|
onArcgisDataProcessComplete: "arcgisDataProcessComplete",
|
|
14
14
|
onArcgisDataProcessError: "arcgisDataProcessError",
|
|
15
|
+
onArcgisInvalidConfigWarningRaise: "arcgisInvalidConfigWarningRaise",
|
|
15
16
|
onArcgisLegendItemVisibilityChange: "arcgisLegendItemVisibilityChange",
|
|
16
17
|
onArcgisNoRenderPropChange: "arcgisNoRenderPropChange",
|
|
17
18
|
onArcgisRenderingComplete: "arcgisRenderingComplete",
|
|
@@ -22,7 +23,7 @@ const e = /* @__PURE__ */ o(a, i), g = /* @__PURE__ */ e(
|
|
|
22
23
|
onArcgisUpdateComplete: "arcgisUpdateComplete"
|
|
23
24
|
}
|
|
24
25
|
)
|
|
25
|
-
),
|
|
26
|
+
), t = /* @__PURE__ */ e(
|
|
26
27
|
r(
|
|
27
28
|
"arcgis-charts-action-bar",
|
|
28
29
|
{
|
|
@@ -32,6 +33,6 @@ const e = /* @__PURE__ */ o(a, i), g = /* @__PURE__ */ e(
|
|
|
32
33
|
)
|
|
33
34
|
);
|
|
34
35
|
export {
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
s as ArcgisChart,
|
|
37
|
+
t as ArcgisChartsActionBar
|
|
37
38
|
};
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components-react",
|
|
3
|
-
"version": "5.0.0
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "A set of React components that wrap ArcGIS charts components",
|
|
5
5
|
"keywords": [
|
|
6
|
+
"analytics",
|
|
6
7
|
"ArcGIS",
|
|
7
|
-
"javascript",
|
|
8
|
-
"react",
|
|
9
8
|
"charts",
|
|
10
|
-
"
|
|
11
|
-
"analytics",
|
|
12
|
-
"spatial",
|
|
9
|
+
"components",
|
|
13
10
|
"data-driven",
|
|
11
|
+
"Esri",
|
|
14
12
|
"gis",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
13
|
+
"javascript",
|
|
14
|
+
"react",
|
|
15
|
+
"spatial",
|
|
16
|
+
"visualization",
|
|
17
|
+
"web-components"
|
|
18
18
|
],
|
|
19
19
|
"homepage": "https://developers.arcgis.com/javascript/latest/",
|
|
20
20
|
"sideEffects": false,
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
"files": [
|
|
26
26
|
"dist/"
|
|
27
27
|
],
|
|
28
|
-
"license": "SEE LICENSE.md",
|
|
28
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@arcgis/charts-components": "5.0.0-next.99",
|
|
31
|
-
"@arcgis/lumina": "5.0.0-next.99",
|
|
32
30
|
"@lit/react": "^1.0.8",
|
|
33
31
|
"lit": "^3.3.0",
|
|
34
|
-
"tslib": "^2.8.1"
|
|
32
|
+
"tslib": "^2.8.1",
|
|
33
|
+
"@arcgis/charts-components": "5.0.0",
|
|
34
|
+
"@arcgis/lumina": "5.0.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@arcgis/core": "
|
|
37
|
+
"@arcgis/core": "^5.0.0",
|
|
38
38
|
"react": ">=18.0.0 <20.0.0",
|
|
39
39
|
"react-dom": ">=18.0.0 <20.0.0"
|
|
40
40
|
}
|