@arcgis/charts-components-react 4.34.0-next.90 → 4.34.0-next.96

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/LICENSE.md CHANGED
@@ -4,10 +4,14 @@ COPYRIGHT © 2025 Esri
4
4
 
5
5
  All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
6
6
 
7
- This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of that agreement. You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
7
+ This material is licensed for use under the [Esri Master License Agreement (MLA)](https://www.esri.com/content/dam/esrisites/en-us/media/legal/ma-full/ma-full.pdf), and is bound by the terms of that agreement.
8
+ You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
8
9
 
9
- See use restrictions at <http://www.esri.com/legal/pdfs/mla_e204_e300/english>
10
+ For additional information, contact:
11
+ Environmental Systems Research Institute, Inc.
12
+ Attn: Contracts and Legal Services Department
13
+ 380 New York Street
14
+ Redlands, California, USA 92373
15
+ USA
10
16
 
11
- For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal Services Department 380 New York Street Redlands, California, USA 92373 USA
12
-
13
- email: contracts@esri.com
17
+ email: legal@esri.com
package/README.md CHANGED
@@ -2,16 +2,19 @@
2
2
 
3
3
  **No Esri Technical Support during beta.**
4
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.
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.
6
6
 
7
7
  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
8
 
9
+ 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
+
9
11
  ## Documentation
10
12
 
11
13
  - [Key Features](https://developers.arcgis.com/javascript/latest/key-features/)
12
- - [Build with React](https://developers.arcgis.com/javascript/latest/get-started-react/)
14
+ - [Build with React](https://developers.arcgis.com/javascript/latest/get-started/#react)
13
15
  - [API and component references](https://developers.arcgis.com/javascript/latest/references/)
14
16
  - [Functionality samples](https://developers.arcgis.com/javascript/latest/sample-code/)
17
+ - [TypeScript setup](https://developers.arcgis.com/javascript/latest/get-started/#typescript)
15
18
 
16
19
  ## Resources
17
20
 
@@ -29,39 +32,7 @@ The ArcGIS Maps SDK for JavaScript provides a suite of ready-to-use UI component
29
32
 
30
33
  ## Quick start guide
31
34
 
32
- - Get started by using the [react 18 sample](https://developers.arcgis.com/javascript/latest/get-started-react/#download-project).
33
- - Install the required packages: `@arcgis/charts-components-react`, `@arcgis/core`, `@esri/calcite-components-react`.
34
- - Import the necessary CSS files in your project and ensure CSS is configured for the charts components:
35
-
36
- ```js
37
- @import 'https://js.arcgis.com/4.33/@arcgis/core/assets/esri/themes/dark/main.css';
38
- @import url("https://js.arcgis.com/calcite-components/3.2.0/calcite.css");
39
-
40
- #root,
41
- html,
42
- body {
43
- margin: 0;
44
- }
45
- ```
46
-
47
- - Add chart component: In your main file (e.g., index.tsx), add the `ArcgisChart` component and configure it with either an existing chart model from a feature layer, or by creating a new model with `createModel()`.
48
-
49
- ```js
50
- import React from "react";
51
- import ReactDOM from "react-dom/client";
52
- import "@arcgis/charts-components/components/arcgis-chart";
53
- import "@arcgis/charts-components/components/arcgis-charts-action-bar";
54
- import { ArcgisChart, ArcgisChartsActionBar } from "@arcgis/charts-components-react";
55
-
56
- const root = ReactDOM.createRoot(document.getElementById("root"));
57
- root.render(
58
- <React.StrictMode>
59
- <ArcgisChart>
60
- <ArcgisChartsActionBar slot="action-bar"></ArcgisChartsActionBar>
61
- </ArcgisChart>
62
- </React.StrictMode>,
63
- );
64
- ```
35
+ An [example](https://github.com/Esri/jsapi-resources/tree/50579b9362b846e869a343b660c5a2415176a275/component-samples/charts-components/samples/react) is available from the 4.31 release in the jsapi-resources repo.
65
36
 
66
37
  ## License
67
38
 
@@ -69,10 +40,14 @@ COPYRIGHT © 2025 Esri
69
40
 
70
41
  All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
71
42
 
72
- This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of that agreement. You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
73
-
74
- See use restrictions at <http://www.esri.com/legal/pdfs/mla_e204_e300/english>
43
+ This material is licensed for use under the [Esri Master License Agreement (MLA)](https://www.esri.com/content/dam/esrisites/en-us/media/legal/ma-full/ma-full.pdf), and is bound by the terms of that agreement.
44
+ You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
75
45
 
76
- For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal Services Department 380 New York Street Redlands, California, USA 92373 USA
46
+ For additional information, contact:
47
+ Environmental Systems Research Institute, Inc.
48
+ Attn: Contracts and Legal Services Department
49
+ 380 New York Street
50
+ Redlands, California, USA 92373
51
+ USA
77
52
 
78
- email: contracts@esri.com
53
+ email: legal@esri.com
@@ -5,6 +5,7 @@ export declare const ArcgisChart: import('@lit/react').ReactWebComponent<HTMLArc
5
5
  }, {
6
6
  onArcgisAxesMinMaxChange: EventName<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
7
7
  onArcgisBadDataWarningRaise: EventName<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
8
+ onArcgisChartNotFoundWarning: EventName<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
8
9
  onArcgisConfigChange: EventName<HTMLArcgisChartElement["arcgisConfigChange"]>;
9
10
  onArcgisDataFetchComplete: EventName<HTMLArcgisChartElement["arcgisDataFetchComplete"]>;
10
11
  onArcgisDataProcessComplete: EventName<HTMLArcgisChartElement["arcgisDataProcessComplete"]>;
package/dist/index.js CHANGED
@@ -1,12 +1,13 @@
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), g = /* @__PURE__ */ e(
4
+ const e = /* @__PURE__ */ o(a, i), s = /* @__PURE__ */ e(
5
5
  r(
6
6
  "arcgis-chart",
7
7
  {
8
8
  onArcgisAxesMinMaxChange: "arcgisAxesMinMaxChange",
9
9
  onArcgisBadDataWarningRaise: "arcgisBadDataWarningRaise",
10
+ onArcgisChartNotFoundWarning: "arcgisChartNotFoundWarning",
10
11
  onArcgisConfigChange: "arcgisConfigChange",
11
12
  onArcgisDataFetchComplete: "arcgisDataFetchComplete",
12
13
  onArcgisDataProcessComplete: "arcgisDataProcessComplete",
@@ -20,7 +21,7 @@ const e = /* @__PURE__ */ o(a, i), g = /* @__PURE__ */ e(
20
21
  onArcgisUpdateComplete: "arcgisUpdateComplete"
21
22
  }
22
23
  )
23
- ), n = /* @__PURE__ */ e(
24
+ ), g = /* @__PURE__ */ e(
24
25
  r(
25
26
  "arcgis-charts-action-bar",
26
27
  {
@@ -30,6 +31,6 @@ const e = /* @__PURE__ */ o(a, i), g = /* @__PURE__ */ e(
30
31
  )
31
32
  );
32
33
  export {
33
- g as ArcgisChart,
34
- n as ArcgisChartsActionBar
34
+ s as ArcgisChart,
35
+ g as ArcgisChartsActionBar
35
36
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/charts-components-react",
3
- "version": "4.34.0-next.90",
3
+ "version": "4.34.0-next.96",
4
4
  "description": "A set of React components that wrap ArcGIS charts components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -27,8 +27,8 @@
27
27
  ],
28
28
  "license": "SEE LICENSE.md",
29
29
  "dependencies": {
30
- "@arcgis/charts-components": "4.34.0-next.90",
31
- "@arcgis/lumina": "4.34.0-next.90",
30
+ "@arcgis/charts-components": "4.34.0-next.96",
31
+ "@arcgis/lumina": "4.34.0-next.96",
32
32
  "@lit/react": "^1.0.7",
33
33
  "lit": "^3.3.0",
34
34
  "tslib": "^2.8.1"