@arcgis/portal-components-react 5.0.0-next.98 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- # ArcGIS Maps SDK for JavaScript - React 18 wrapper for Portal Components
1
+ # ArcGIS Maps SDK for JavaScript - Portal Components React
2
2
 
3
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.
4
4
 
@@ -10,6 +10,5 @@ It is not intended to be used directly, but rather used as a dependency by other
10
10
 
11
11
  ## License
12
12
 
13
- COPYRIGHT © Esri
14
-
15
- This package is licensed under the terms described in the `LICENSE.md` file, located in the root of the package.
13
+ 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.
14
+ For third party notices, see https://js.arcgis.com/5.0/third-party-notices.txt.
@@ -1,29 +1,35 @@
1
1
  /// <reference types="@arcgis/portal-components" preserve="true" />
2
2
  import { EventName } from '@lit/react';
3
- export declare const ArcgisPortalClassificationBanner: import('@lit/react').ReactWebComponent<HTMLArcgisPortalClassificationBannerElement & {
3
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-classification-banner /> directly. */
4
+ export declare const ArcgisPortalClassificationBanner: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-classification-banner/customElement').ArcgisPortalClassificationBanner & {
4
5
  class?: string;
5
6
  }, {}>;
6
- export declare const ArcgisPortalClassificationConfig: import('@lit/react').ReactWebComponent<HTMLArcgisPortalClassificationConfigElement & {
7
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-classification-config /> directly. */
8
+ export declare const ArcgisPortalClassificationConfig: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-classification-config/customElement').ArcgisPortalClassificationConfig & {
7
9
  class?: string;
8
10
  }, {
9
11
  onArcgisPropertyChange: EventName<HTMLArcgisPortalClassificationConfigElement["arcgisPropertyChange"]>;
10
12
  }>;
11
- export declare const ArcgisPortalClassificationFavorite: import('@lit/react').ReactWebComponent<HTMLArcgisPortalClassificationFavoriteElement & {
13
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-classification-favorite /> directly. */
14
+ export declare const ArcgisPortalClassificationFavorite: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-classification-favorite/customElement').ArcgisPortalClassificationFavorite & {
12
15
  class?: string;
13
16
  }, {}>;
14
- export declare const ArcgisPortalClassificationFormElement: import('@lit/react').ReactWebComponent<HTMLArcgisPortalClassificationFormElementElement & {
17
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-classification-form-element /> directly. */
18
+ export declare const ArcgisPortalClassificationFormElement: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-classification-form-element/customElement').ArcgisPortalClassificationFormElement & {
15
19
  class?: string;
16
20
  }, {
17
21
  onArcgisAttributeValueChange: EventName<HTMLArcgisPortalClassificationFormElementElement["arcgisAttributeValueChange"]>;
18
22
  }>;
19
- export declare const ArcgisPortalExtentPicker: import('@lit/react').ReactWebComponent<HTMLArcgisPortalExtentPickerElement & {
23
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-extent-picker /> directly. */
24
+ export declare const ArcgisPortalExtentPicker: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-extent-picker/customElement').ArcgisPortalExtentPicker & {
20
25
  class?: string;
21
26
  }, {
22
27
  onArcgisExtentPickerChange: EventName<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerChange"]>;
23
28
  onArcgisExtentPickerClose: EventName<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerClose"]>;
24
29
  onArcgisExtentPickerSave: EventName<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerSave"]>;
25
30
  }>;
26
- export declare const ArcgisPortalFieldDelete: import('@lit/react').ReactWebComponent<HTMLArcgisPortalFieldDeleteElement & {
31
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-field-delete /> directly. */
32
+ export declare const ArcgisPortalFieldDelete: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-field-delete/customElement').ArcgisPortalFieldDelete & {
27
33
  class?: string;
28
34
  }, {
29
35
  onArcgisBeforeDelete: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeDelete"]>;
@@ -31,3 +37,9 @@ export declare const ArcgisPortalFieldDelete: import('@lit/react').ReactWebCompo
31
37
  onArcgisClose: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
32
38
  onArcgisFieldsDeleted: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
33
39
  }>;
40
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-replacement-item-redirect /> directly. */
41
+ export declare const ArcgisPortalReplacementItemRedirect: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-replacement-item-redirect/customElement').ArcgisPortalReplacementItemRedirect & {
42
+ class?: string;
43
+ }, {
44
+ onArcgisPortalReplacementItemFetch: EventName<HTMLArcgisPortalReplacementItemRedirectElement["arcgisPortalReplacementItemFetch"]>;
45
+ }>;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import i from "react";
2
- import { createComponent as t } from "@lit/react";
1
+ import t from "react";
2
+ import { createComponent as i } from "@lit/react";
3
3
  import { makeReactWrapperFactory as a, getReactWrapperOptions as e } from "@arcgis/lumina";
4
- const r = /* @__PURE__ */ a(i, t), n = /* @__PURE__ */ r(
4
+ const r = /* @__PURE__ */ a(t, i), n = /* @__PURE__ */ r(
5
5
  e(
6
6
  "arcgis-portal-classification-banner",
7
7
  {}
@@ -34,7 +34,7 @@ const r = /* @__PURE__ */ a(i, t), n = /* @__PURE__ */ r(
34
34
  onArcgisExtentPickerSave: "arcgisExtentPickerSave"
35
35
  }
36
36
  )
37
- ), C = /* @__PURE__ */ r(
37
+ ), m = /* @__PURE__ */ r(
38
38
  e(
39
39
  "arcgis-portal-field-delete",
40
40
  {
@@ -44,6 +44,13 @@ const r = /* @__PURE__ */ a(i, t), n = /* @__PURE__ */ r(
44
44
  onArcgisFieldsDeleted: "arcgisFieldsDeleted"
45
45
  }
46
46
  )
47
+ ), A = /* @__PURE__ */ r(
48
+ e(
49
+ "arcgis-portal-replacement-item-redirect",
50
+ {
51
+ onArcgisPortalReplacementItemFetch: "arcgisPortalReplacementItemFetch"
52
+ }
53
+ )
47
54
  );
48
55
  export {
49
56
  n as ArcgisPortalClassificationBanner,
@@ -51,5 +58,6 @@ export {
51
58
  g as ArcgisPortalClassificationFavorite,
52
59
  p as ArcgisPortalClassificationFormElement,
53
60
  f as ArcgisPortalExtentPicker,
54
- C as ArcgisPortalFieldDelete
61
+ m as ArcgisPortalFieldDelete,
62
+ A as ArcgisPortalReplacementItemRedirect
55
63
  };
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@arcgis/portal-components-react",
3
- "version": "5.0.0-next.98",
3
+ "version": "5.0.0",
4
4
  "description": "A set of React components that wrap ArcGIS portal components",
5
5
  "keywords": [
6
- "ArcGIS",
7
- "javascript",
8
- "react",
9
- "map",
10
- "3D",
11
6
  "2D",
12
- "visualization",
7
+ "3D",
13
8
  "analytics",
14
- "spatial",
9
+ "ArcGIS",
10
+ "components",
15
11
  "data-driven",
12
+ "Esri",
16
13
  "gis",
17
- "components",
18
- "web-components",
19
- "Esri"
14
+ "javascript",
15
+ "map",
16
+ "react",
17
+ "spatial",
18
+ "visualization",
19
+ "web-components"
20
20
  ],
21
21
  "homepage": "https://developers.arcgis.com/javascript/latest/",
22
22
  "sideEffects": false,
@@ -27,16 +27,16 @@
27
27
  "files": [
28
28
  "dist/"
29
29
  ],
30
- "license": "SEE LICENSE.md",
30
+ "license": "SEE LICENSE IN LICENSE.md",
31
31
  "dependencies": {
32
- "@arcgis/lumina": "5.0.0-next.98",
33
- "@arcgis/portal-components": "5.0.0-next.98",
34
32
  "@lit/react": "^1.0.8",
35
33
  "lit": "^3.3.0",
36
- "tslib": "^2.8.1"
34
+ "tslib": "^2.8.1",
35
+ "@arcgis/lumina": "5.0.0",
36
+ "@arcgis/portal-components": "5.0.0"
37
37
  },
38
38
  "peerDependencies": {
39
- "@arcgis/core": ">=5.0.0-next.62 <5.1",
39
+ "@arcgis/core": "^5.0.0",
40
40
  "react": ">=18.0.0 <20.0.0",
41
41
  "react-dom": ">=18.0.0 <20.0.0"
42
42
  }