@arcgis/portal-components-react 5.1.0-next.99 → 5.1.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
@@ -10,5 +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
- 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.
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.1/LICENSE.txt.
14
+ For third party notices, see https://js.arcgis.com/5.1/third-party-notices.txt.
@@ -1,30 +1,39 @@
1
1
  /// <reference types="@arcgis/portal-components" preserve="true" />
2
2
  import { EventName } from '@lit/react';
3
- /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-ai-assistant /> directly. */
3
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-ai-assistant />` directly. */
4
4
  export declare const ArcgisPortalAiAssistant: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-ai-assistant/customElement').ArcgisPortalAiAssistant & {
5
5
  class?: string;
6
- }, {}>;
7
- /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-classification-banner /> directly. */
6
+ }, {
7
+ onArcgisPortalNavigationRequest: EventName<HTMLArcgisPortalAiAssistantElement["arcgisPortalNavigationRequest"]>;
8
+ }>;
9
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-ai-assistant-interrupt />` directly. */
10
+ export declare const ArcgisPortalAiAssistantInterrupt: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-ai-assistant-interrupt/customElement').ArcgisPortalAiAssistantInterrupt & {
11
+ class?: string;
12
+ }, {
13
+ onArcgisCancel: EventName<HTMLArcgisPortalAiAssistantInterruptElement["arcgisCancel"]>;
14
+ onArcgisSubmit: EventName<HTMLArcgisPortalAiAssistantInterruptElement["arcgisSubmit"]>;
15
+ }>;
16
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-classification-banner />` directly. */
8
17
  export declare const ArcgisPortalClassificationBanner: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-classification-banner/customElement').ArcgisPortalClassificationBanner & {
9
18
  class?: string;
10
19
  }, {}>;
11
- /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-classification-config /> directly. */
20
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-classification-config />` directly. */
12
21
  export declare const ArcgisPortalClassificationConfig: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-classification-config/customElement').ArcgisPortalClassificationConfig & {
13
22
  class?: string;
14
23
  }, {
15
24
  onArcgisPropertyChange: EventName<HTMLArcgisPortalClassificationConfigElement["arcgisPropertyChange"]>;
16
25
  }>;
17
- /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-classification-favorite /> directly. */
26
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-classification-favorite />` directly. */
18
27
  export declare const ArcgisPortalClassificationFavorite: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-classification-favorite/customElement').ArcgisPortalClassificationFavorite & {
19
28
  class?: string;
20
29
  }, {}>;
21
- /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-classification-form-element /> directly. */
30
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-classification-form-element />` directly. */
22
31
  export declare const ArcgisPortalClassificationFormElement: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-classification-form-element/customElement').ArcgisPortalClassificationFormElement & {
23
32
  class?: string;
24
33
  }, {
25
34
  onArcgisAttributeValueChange: EventName<HTMLArcgisPortalClassificationFormElementElement["arcgisAttributeValueChange"]>;
26
35
  }>;
27
- /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-extent-picker /> directly. */
36
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-extent-picker />` directly. */
28
37
  export declare const ArcgisPortalExtentPicker: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-extent-picker/customElement').ArcgisPortalExtentPicker & {
29
38
  class?: string;
30
39
  }, {
@@ -32,7 +41,7 @@ export declare const ArcgisPortalExtentPicker: import('@lit/react').ReactWebComp
32
41
  onArcgisExtentPickerClose: EventName<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerClose"]>;
33
42
  onArcgisExtentPickerSave: EventName<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerSave"]>;
34
43
  }>;
35
- /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-field-delete /> directly. */
44
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-field-delete />` directly. */
36
45
  export declare const ArcgisPortalFieldDelete: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-field-delete/customElement').ArcgisPortalFieldDelete & {
37
46
  class?: string;
38
47
  }, {
@@ -41,11 +50,11 @@ export declare const ArcgisPortalFieldDelete: import('@lit/react').ReactWebCompo
41
50
  onArcgisClose: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
42
51
  onArcgisFieldsDeleted: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
43
52
  }>;
44
- /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-item-type /> directly. */
53
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-item-type />` directly. */
45
54
  export declare const ArcgisPortalItemType: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-item-type/customElement').ArcgisPortalItemType & {
46
55
  class?: string;
47
56
  }, {}>;
48
- /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-mentionable-text-area /> directly. */
57
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-mentionable-text-area />` directly. */
49
58
  export declare const ArcgisPortalMentionableTextArea: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-mentionable-text-area/customElement').ArcgisPortalMentionableTextArea & {
50
59
  class?: string;
51
60
  }, {
@@ -55,17 +64,17 @@ export declare const ArcgisPortalMentionableTextArea: import('@lit/react').React
55
64
  onArcgisUserMentionableTextAreaChange: EventName<HTMLArcgisPortalMentionableTextAreaElement["arcgisUserMentionableTextAreaChange"]>;
56
65
  onArcgisUserMentionableTextAreaKeyDown: EventName<HTMLArcgisPortalMentionableTextAreaElement["arcgisUserMentionableTextAreaKeyDown"]>;
57
66
  }>;
58
- /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-replacement-item-redirect /> directly. */
67
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-replacement-item-redirect />` directly. */
59
68
  export declare const ArcgisPortalReplacementItemRedirect: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-replacement-item-redirect/customElement').ArcgisPortalReplacementItemRedirect & {
60
69
  class?: string;
61
70
  }, {
62
71
  onArcgisPortalReplacementItemFetch: EventName<HTMLArcgisPortalReplacementItemRedirectElement["arcgisPortalReplacementItemFetch"]>;
63
72
  }>;
64
- /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-user-avatar /> directly. */
73
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-user-avatar />` directly. */
65
74
  export declare const ArcgisPortalUserAvatar: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-user-avatar/customElement').ArcgisPortalUserAvatar & {
66
75
  class?: string;
67
76
  }, {}>;
68
- /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-voice-input /> directly. */
77
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-voice-input />` directly. */
69
78
  export declare const ArcgisPortalVoiceInput: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-voice-input/customElement').ArcgisPortalVoiceInput & {
70
79
  class?: string;
71
80
  }, {
package/dist/index.js CHANGED
@@ -4,33 +4,43 @@ import { getReactWrapperOptions as e, makeReactWrapperFactory as a } from "@arcg
4
4
  const r = /* @__PURE__ */ a(t, i), s = /* @__PURE__ */ r(
5
5
  e(
6
6
  "arcgis-portal-ai-assistant",
7
- {}
7
+ {
8
+ onArcgisPortalNavigationRequest: "arcgisPortalNavigationRequest"
9
+ }
8
10
  )
9
11
  ), g = /* @__PURE__ */ r(
12
+ e(
13
+ "arcgis-portal-ai-assistant-interrupt",
14
+ {
15
+ onArcgisCancel: "arcgisCancel",
16
+ onArcgisSubmit: "arcgisSubmit"
17
+ }
18
+ )
19
+ ), l = /* @__PURE__ */ r(
10
20
  e(
11
21
  "arcgis-portal-classification-banner",
12
22
  {}
13
23
  )
14
- ), l = /* @__PURE__ */ r(
24
+ ), p = /* @__PURE__ */ r(
15
25
  e(
16
26
  "arcgis-portal-classification-config",
17
27
  {
18
28
  onArcgisPropertyChange: "arcgisPropertyChange"
19
29
  }
20
30
  )
21
- ), p = /* @__PURE__ */ r(
31
+ ), A = /* @__PURE__ */ r(
22
32
  e(
23
33
  "arcgis-portal-classification-favorite",
24
34
  {}
25
35
  )
26
- ), A = /* @__PURE__ */ r(
36
+ ), m = /* @__PURE__ */ r(
27
37
  e(
28
38
  "arcgis-portal-classification-form-element",
29
39
  {
30
40
  onArcgisAttributeValueChange: "arcgisAttributeValueChange"
31
41
  }
32
42
  )
33
- ), m = /* @__PURE__ */ r(
43
+ ), C = /* @__PURE__ */ r(
34
44
  e(
35
45
  "arcgis-portal-extent-picker",
36
46
  {
@@ -39,7 +49,7 @@ const r = /* @__PURE__ */ a(t, i), s = /* @__PURE__ */ r(
39
49
  onArcgisExtentPickerSave: "arcgisExtentPickerSave"
40
50
  }
41
51
  )
42
- ), C = /* @__PURE__ */ r(
52
+ ), P = /* @__PURE__ */ r(
43
53
  e(
44
54
  "arcgis-portal-field-delete",
45
55
  {
@@ -49,7 +59,7 @@ const r = /* @__PURE__ */ a(t, i), s = /* @__PURE__ */ r(
49
59
  onArcgisFieldsDeleted: "arcgisFieldsDeleted"
50
60
  }
51
61
  )
52
- ), P = /* @__PURE__ */ r(
62
+ ), u = /* @__PURE__ */ r(
53
63
  e(
54
64
  "arcgis-portal-item-type",
55
65
  {}
@@ -77,7 +87,7 @@ const r = /* @__PURE__ */ a(t, i), s = /* @__PURE__ */ r(
77
87
  "arcgis-portal-user-avatar",
78
88
  {}
79
89
  )
80
- ), u = /* @__PURE__ */ r(
90
+ ), b = /* @__PURE__ */ r(
81
91
  e(
82
92
  "arcgis-portal-voice-input",
83
93
  {
@@ -91,15 +101,16 @@ const r = /* @__PURE__ */ a(t, i), s = /* @__PURE__ */ r(
91
101
  );
92
102
  export {
93
103
  s as ArcgisPortalAiAssistant,
94
- g as ArcgisPortalClassificationBanner,
95
- l as ArcgisPortalClassificationConfig,
96
- p as ArcgisPortalClassificationFavorite,
97
- A as ArcgisPortalClassificationFormElement,
98
- m as ArcgisPortalExtentPicker,
99
- C as ArcgisPortalFieldDelete,
100
- P as ArcgisPortalItemType,
104
+ g as ArcgisPortalAiAssistantInterrupt,
105
+ l as ArcgisPortalClassificationBanner,
106
+ p as ArcgisPortalClassificationConfig,
107
+ A as ArcgisPortalClassificationFavorite,
108
+ m as ArcgisPortalClassificationFormElement,
109
+ C as ArcgisPortalExtentPicker,
110
+ P as ArcgisPortalFieldDelete,
111
+ u as ArcgisPortalItemType,
101
112
  x as ArcgisPortalMentionableTextArea,
102
113
  f as ArcgisPortalReplacementItemRedirect,
103
114
  I as ArcgisPortalUserAvatar,
104
- u as ArcgisPortalVoiceInput
115
+ b as ArcgisPortalVoiceInput
105
116
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/portal-components-react",
3
- "version": "5.1.0-next.99",
3
+ "version": "5.1.0",
4
4
  "description": "A set of React components that wrap ArcGIS portal components",
5
5
  "keywords": [
6
6
  "2D",
@@ -21,9 +21,9 @@
21
21
  "homepage": "https://developers.arcgis.com/javascript/latest/",
22
22
  "sideEffects": false,
23
23
  "type": "module",
24
- "main": "dist/index.js",
25
- "module": "dist/index.js",
26
- "types": "dist/index.d.ts",
24
+ "main": "./dist/index.js",
25
+ "module": "./dist/index.js",
26
+ "types": "./dist/index.d.ts",
27
27
  "files": [
28
28
  "dist/"
29
29
  ],
@@ -32,11 +32,11 @@
32
32
  "@lit/react": "^1.0.8",
33
33
  "lit": "^3.3.0",
34
34
  "tslib": "^2.8.1",
35
- "@arcgis/lumina": "5.1.0-next.99",
36
- "@arcgis/portal-components": "5.1.0-next.99"
35
+ "@arcgis/lumina": "5.1.0",
36
+ "@arcgis/portal-components": "5.1.0"
37
37
  },
38
38
  "peerDependencies": {
39
- "@arcgis/core": "^5.1.0-next",
39
+ "@arcgis/core": "^5.1.0",
40
40
  "react": ">=18.0.0 <20.0.0"
41
41
  }
42
42
  }