@arcgis/portal-components-react 5.0.0-next.13 → 5.0.0-next.130

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.
@@ -1,25 +1,45 @@
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 ArcgisPortalFieldDelete: import('@lit/react').ReactWebComponent<HTMLArcgisPortalFieldDeleteElement & {
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
  }, {
27
+ onArcgisExtentPickerChange: EventName<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerChange"]>;
28
+ onArcgisExtentPickerClose: EventName<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerClose"]>;
29
+ onArcgisExtentPickerSave: EventName<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerSave"]>;
30
+ }>;
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 & {
33
+ class?: string;
34
+ }, {
35
+ onArcgisBeforeDelete: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeDelete"]>;
22
36
  onArcgisBeforeModalClose: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
23
37
  onArcgisClose: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
24
38
  onArcgisFieldsDeleted: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
25
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,44 +1,63 @@
1
- import i from "react";
2
- import { createComponent as e } from "@lit/react";
3
- import { makeReactWrapperFactory as o, getReactWrapperOptions as r } from "@arcgis/lumina";
4
- const a = /* @__PURE__ */ o(i, e), l = /* @__PURE__ */ a(
5
- r(
1
+ import t from "react";
2
+ import { createComponent as i } from "@lit/react";
3
+ import { makeReactWrapperFactory as a, getReactWrapperOptions as e } from "@arcgis/lumina";
4
+ const r = /* @__PURE__ */ a(t, i), n = /* @__PURE__ */ r(
5
+ e(
6
6
  "arcgis-portal-classification-banner",
7
7
  {}
8
8
  )
9
- ), n = /* @__PURE__ */ a(
10
- r(
9
+ ), l = /* @__PURE__ */ r(
10
+ e(
11
11
  "arcgis-portal-classification-config",
12
12
  {
13
13
  onArcgisPropertyChange: "arcgisPropertyChange"
14
14
  }
15
15
  )
16
- ), g = /* @__PURE__ */ a(
17
- r(
16
+ ), g = /* @__PURE__ */ r(
17
+ e(
18
18
  "arcgis-portal-classification-favorite",
19
19
  {}
20
20
  )
21
- ), p = /* @__PURE__ */ a(
22
- r(
21
+ ), p = /* @__PURE__ */ r(
22
+ e(
23
23
  "arcgis-portal-classification-form-element",
24
24
  {
25
25
  onArcgisAttributeValueChange: "arcgisAttributeValueChange"
26
26
  }
27
27
  )
28
- ), f = /* @__PURE__ */ a(
29
- r(
28
+ ), f = /* @__PURE__ */ r(
29
+ e(
30
+ "arcgis-portal-extent-picker",
31
+ {
32
+ onArcgisExtentPickerChange: "arcgisExtentPickerChange",
33
+ onArcgisExtentPickerClose: "arcgisExtentPickerClose",
34
+ onArcgisExtentPickerSave: "arcgisExtentPickerSave"
35
+ }
36
+ )
37
+ ), m = /* @__PURE__ */ r(
38
+ e(
30
39
  "arcgis-portal-field-delete",
31
40
  {
41
+ onArcgisBeforeDelete: "arcgisBeforeDelete",
32
42
  onArcgisBeforeModalClose: "arcgisBeforeModalClose",
33
43
  onArcgisClose: "arcgisClose",
34
44
  onArcgisFieldsDeleted: "arcgisFieldsDeleted"
35
45
  }
36
46
  )
47
+ ), A = /* @__PURE__ */ r(
48
+ e(
49
+ "arcgis-portal-replacement-item-redirect",
50
+ {
51
+ onArcgisPortalReplacementItemFetch: "arcgisPortalReplacementItemFetch"
52
+ }
53
+ )
37
54
  );
38
55
  export {
39
- l as ArcgisPortalClassificationBanner,
40
- n as ArcgisPortalClassificationConfig,
56
+ n as ArcgisPortalClassificationBanner,
57
+ l as ArcgisPortalClassificationConfig,
41
58
  g as ArcgisPortalClassificationFavorite,
42
59
  p as ArcgisPortalClassificationFormElement,
43
- f as ArcgisPortalFieldDelete
60
+ f as ArcgisPortalExtentPicker,
61
+ m as ArcgisPortalFieldDelete,
62
+ A as ArcgisPortalReplacementItemRedirect
44
63
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/portal-components-react",
3
- "version": "5.0.0-next.13",
3
+ "version": "5.0.0-next.130",
4
4
  "description": "A set of React components that wrap ArcGIS portal components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -29,14 +29,14 @@
29
29
  ],
30
30
  "license": "SEE LICENSE.md",
31
31
  "dependencies": {
32
- "@arcgis/lumina": "5.0.0-next.13",
33
- "@arcgis/portal-components": "5.0.0-next.13",
34
- "@lit/react": "^1.0.7",
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-next.130",
36
+ "@arcgis/portal-components": "5.0.0-next.130"
37
37
  },
38
38
  "peerDependencies": {
39
- "@arcgis/core": ">=5.0.0-next.1 <5.1",
39
+ "@arcgis/core": ">=5.0.0-next.62 <5.1",
40
40
  "react": ">=18.0.0 <20.0.0",
41
41
  "react-dom": ">=18.0.0 <20.0.0"
42
42
  }