@arcgis/portal-components-react 4.33.24

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 ADDED
@@ -0,0 +1,13 @@
1
+ # Licensing
2
+
3
+ COPYRIGHT © 2025 Esri
4
+
5
+ All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
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.
8
+
9
+ See use restrictions at <http://www.esri.com/legal/pdfs/mla_e204_e300/english>
10
+
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
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # ArcGIS Maps SDK for JavaScript - React wrapper for Portal Components
2
+
3
+ > Note: `@arcgis/portal-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/portal-components` in React 19.
4
+
5
+ The ArcGIS Maps SDK for JavaScript provides a suite of ready-to-use UI components that simplify the process of creating GIS web applications.
6
+
7
+ **No Esri Technical Support included.**
8
+
9
+ Package that is part of the [ArcGIS Maps SDK for JavaScript](https://developers.arcgis.com/javascript).
10
+
11
+ It is not intended to be used directly, but rather used as a dependency by other packages in the SDK.
12
+
13
+ ## Documentation
14
+
15
+ - [Key Features](https://developers.arcgis.com/javascript/latest/key-features/)
16
+ - [Build with React](https://developers.arcgis.com/javascript/latest/get-started/#react)
17
+ - [API and component references](https://developers.arcgis.com/javascript/latest/references/)
18
+ - [Functionality samples](https://developers.arcgis.com/javascript/latest/sample-code/)
19
+
20
+ ## Resources
21
+
22
+ - [ArcGIS blog](https://blogs.esri.com/esri/arcgis/tag/javascript/)
23
+ - [twitter@EsriDevs](https://twitter.com/EsriDevs)
24
+ - [System Requirements](https://developers.arcgis.com/javascript/latest/system-requirements/)
25
+ - [Terms of Use](https://www.esri.com/en-us/legal/terms/product-specific-scope-of-use)
26
+ - [Licensing](https://developers.arcgis.com/javascript/latest/licensing/)
27
+ - [Working with `next` versions](https://github.com/Esri/feedback-js-api-next/blob/main/README.md)
28
+
29
+ ## Issues
30
+
31
+ - General questions about using this package or the ArcGIS Maps SDK for JavaScript? See the [Esri developer community](https://community.esri.com/t5/arcgis-api-for-javascript/ct-p/arcgis-api-for-javascript).
32
+ - [Technical support](https://support.esri.com/).
33
+
34
+ ## License
35
+
36
+ COPYRIGHT © 2025 Esri
37
+
38
+ All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
39
+
40
+ 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.
41
+
42
+ See use restrictions at <http://www.esri.com/legal/pdfs/mla_e204_e300/english>
43
+
44
+ For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal Services Department 380 New York Street Redlands, California, USA 92373 USA
45
+
46
+ email: contracts@esri.com
@@ -0,0 +1,25 @@
1
+ /// <reference types="@arcgis/portal-components" preserve="true" />
2
+ import type { EventName } from "@lit/react";
3
+ export declare const ArcgisPortalClassificationBanner: import("@lit/react").ReactWebComponent<HTMLArcgisPortalClassificationBannerElement & {
4
+ class?: string;
5
+ }, {}>;
6
+ export declare const ArcgisPortalClassificationConfig: import("@lit/react").ReactWebComponent<HTMLArcgisPortalClassificationConfigElement & {
7
+ class?: string;
8
+ }, {
9
+ onArcgisPropertyChange: EventName<HTMLArcgisPortalClassificationConfigElement["arcgisPropertyChange"]>;
10
+ }>;
11
+ export declare const ArcgisPortalClassificationFavorite: import("@lit/react").ReactWebComponent<HTMLArcgisPortalClassificationFavoriteElement & {
12
+ class?: string;
13
+ }, {}>;
14
+ export declare const ArcgisPortalClassificationFormElement: import("@lit/react").ReactWebComponent<HTMLArcgisPortalClassificationFormElementElement & {
15
+ class?: string;
16
+ }, {
17
+ onArcgisAttributeValueChange: EventName<HTMLArcgisPortalClassificationFormElementElement["arcgisAttributeValueChange"]>;
18
+ }>;
19
+ export declare const ArcgisPortalFieldDelete: import("@lit/react").ReactWebComponent<HTMLArcgisPortalFieldDeleteElement & {
20
+ class?: string;
21
+ }, {
22
+ onArcgisBeforeModalClose: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
23
+ onArcgisClose: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
24
+ onArcgisFieldsDeleted: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
25
+ }>;
@@ -0,0 +1,18 @@
1
+ /// <reference types="@arcgis/portal-components" preserve="true" />
2
+ import React from "react";
3
+ import { createComponent } from "@lit/react";
4
+ import { makeReactWrapperFactory, getReactWrapperOptions } from "@arcgis/lumina";
5
+ const createWrapper = /*@__PURE__*/ makeReactWrapperFactory(React, createComponent);
6
+ export const ArcgisPortalClassificationBanner = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-portal-classification-banner", {}));
7
+ export const ArcgisPortalClassificationConfig = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-portal-classification-config", {
8
+ onArcgisPropertyChange: "arcgisPropertyChange",
9
+ }));
10
+ export const ArcgisPortalClassificationFavorite = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-portal-classification-favorite", {}));
11
+ export const ArcgisPortalClassificationFormElement = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-portal-classification-form-element", {
12
+ onArcgisAttributeValueChange: "arcgisAttributeValueChange",
13
+ }));
14
+ export const ArcgisPortalFieldDelete = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-portal-field-delete", {
15
+ onArcgisBeforeModalClose: "arcgisBeforeModalClose",
16
+ onArcgisClose: "arcgisClose",
17
+ onArcgisFieldsDeleted: "arcgisFieldsDeleted",
18
+ }));
@@ -0,0 +1 @@
1
+ export * from "./components";
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from "./components";
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "@arcgis/portal-components-react",
3
+ "version": "4.33.24",
4
+ "description": "A set of React components that wrap ArcGIS portal components",
5
+ "keywords": [
6
+ "ArcGIS",
7
+ "javascript",
8
+ "react",
9
+ "map",
10
+ "3D",
11
+ "2D",
12
+ "visualization",
13
+ "analytics",
14
+ "spatial",
15
+ "data-driven",
16
+ "gis",
17
+ "components",
18
+ "web-components",
19
+ "Esri"
20
+ ],
21
+ "homepage": "https://developers.arcgis.com/javascript/latest/",
22
+ "sideEffects": false,
23
+ "type": "module",
24
+ "main": "dist/index.js",
25
+ "module": "dist/index.js",
26
+ "types": "dist/index.d.ts",
27
+ "files": [
28
+ "dist/"
29
+ ],
30
+ "license": "SEE LICENSE.md",
31
+ "dependencies": {
32
+ "@arcgis/portal-components": "4.33.24",
33
+ "@lit/react": "^1.0.7",
34
+ "tslib": "^2.8.1"
35
+ },
36
+ "peerDependencies": {
37
+ "@arcgis/core": "~4.33.0",
38
+ "react": ">=18.0.0 <20.0.0",
39
+ "react-dom": ">=18.0.0 <20.0.0"
40
+ }
41
+ }