@arcgis/portal-components-react 5.1.0-next.13 → 5.1.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.
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,5 +1,18 @@
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. */
4
+ export declare const ArcgisPortalAiAssistant: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-ai-assistant/customElement').ArcgisPortalAiAssistant & {
5
+ class?: string;
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
+ }>;
3
16
  /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-classification-banner /> directly. */
4
17
  export declare const ArcgisPortalClassificationBanner: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-classification-banner/customElement').ArcgisPortalClassificationBanner & {
5
18
  class?: string;
@@ -37,9 +50,37 @@ export declare const ArcgisPortalFieldDelete: import('@lit/react').ReactWebCompo
37
50
  onArcgisClose: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
38
51
  onArcgisFieldsDeleted: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
39
52
  }>;
53
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-item-type /> directly. */
54
+ export declare const ArcgisPortalItemType: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-item-type/customElement').ArcgisPortalItemType & {
55
+ class?: string;
56
+ }, {}>;
57
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-mentionable-text-area /> directly. */
58
+ export declare const ArcgisPortalMentionableTextArea: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-mentionable-text-area/customElement').ArcgisPortalMentionableTextArea & {
59
+ class?: string;
60
+ }, {
61
+ onArcgisMentionableSelectedIndexChange: EventName<HTMLArcgisPortalMentionableTextAreaElement["arcgisMentionableSelectedIndexChange"]>;
62
+ onArcgisMentionableTextAreaChange: EventName<HTMLArcgisPortalMentionableTextAreaElement["arcgisMentionableTextAreaChange"]>;
63
+ onArcgisMentionableTextAreaKeyDown: EventName<HTMLArcgisPortalMentionableTextAreaElement["arcgisMentionableTextAreaKeyDown"]>;
64
+ onArcgisUserMentionableTextAreaChange: EventName<HTMLArcgisPortalMentionableTextAreaElement["arcgisUserMentionableTextAreaChange"]>;
65
+ onArcgisUserMentionableTextAreaKeyDown: EventName<HTMLArcgisPortalMentionableTextAreaElement["arcgisUserMentionableTextAreaKeyDown"]>;
66
+ }>;
40
67
  /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-replacement-item-redirect /> directly. */
41
68
  export declare const ArcgisPortalReplacementItemRedirect: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-replacement-item-redirect/customElement').ArcgisPortalReplacementItemRedirect & {
42
69
  class?: string;
43
70
  }, {
44
71
  onArcgisPortalReplacementItemFetch: EventName<HTMLArcgisPortalReplacementItemRedirectElement["arcgisPortalReplacementItemFetch"]>;
45
72
  }>;
73
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-user-avatar /> directly. */
74
+ export declare const ArcgisPortalUserAvatar: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-user-avatar/customElement').ArcgisPortalUserAvatar & {
75
+ class?: string;
76
+ }, {}>;
77
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-voice-input /> directly. */
78
+ export declare const ArcgisPortalVoiceInput: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-voice-input/customElement').ArcgisPortalVoiceInput & {
79
+ class?: string;
80
+ }, {
81
+ onArcgisVoiceInputError: EventName<HTMLArcgisPortalVoiceInputElement["arcgisVoiceInputError"]>;
82
+ onArcgisVoiceInputInterimTranscription: EventName<HTMLArcgisPortalVoiceInputElement["arcgisVoiceInputInterimTranscription"]>;
83
+ onArcgisVoiceInputStart: EventName<HTMLArcgisPortalVoiceInputElement["arcgisVoiceInputStart"]>;
84
+ onArcgisVoiceInputStop: EventName<HTMLArcgisPortalVoiceInputElement["arcgisVoiceInputStop"]>;
85
+ onArcgisVoiceInputTranscription: EventName<HTMLArcgisPortalVoiceInputElement["arcgisVoiceInputTranscription"]>;
86
+ }>;
package/dist/index.js CHANGED
@@ -1,31 +1,46 @@
1
1
  import t from "react";
2
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(
3
+ import { getReactWrapperOptions as e, makeReactWrapperFactory as a } from "@arcgis/lumina";
4
+ const r = /* @__PURE__ */ a(t, i), s = /* @__PURE__ */ r(
5
+ e(
6
+ "arcgis-portal-ai-assistant",
7
+ {
8
+ onArcgisPortalNavigationRequest: "arcgisPortalNavigationRequest"
9
+ }
10
+ )
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(
5
20
  e(
6
21
  "arcgis-portal-classification-banner",
7
22
  {}
8
23
  )
9
- ), l = /* @__PURE__ */ r(
24
+ ), p = /* @__PURE__ */ r(
10
25
  e(
11
26
  "arcgis-portal-classification-config",
12
27
  {
13
28
  onArcgisPropertyChange: "arcgisPropertyChange"
14
29
  }
15
30
  )
16
- ), g = /* @__PURE__ */ r(
31
+ ), A = /* @__PURE__ */ r(
17
32
  e(
18
33
  "arcgis-portal-classification-favorite",
19
34
  {}
20
35
  )
21
- ), p = /* @__PURE__ */ r(
36
+ ), m = /* @__PURE__ */ r(
22
37
  e(
23
38
  "arcgis-portal-classification-form-element",
24
39
  {
25
40
  onArcgisAttributeValueChange: "arcgisAttributeValueChange"
26
41
  }
27
42
  )
28
- ), f = /* @__PURE__ */ r(
43
+ ), C = /* @__PURE__ */ r(
29
44
  e(
30
45
  "arcgis-portal-extent-picker",
31
46
  {
@@ -34,7 +49,7 @@ const r = /* @__PURE__ */ a(t, i), n = /* @__PURE__ */ r(
34
49
  onArcgisExtentPickerSave: "arcgisExtentPickerSave"
35
50
  }
36
51
  )
37
- ), m = /* @__PURE__ */ r(
52
+ ), P = /* @__PURE__ */ r(
38
53
  e(
39
54
  "arcgis-portal-field-delete",
40
55
  {
@@ -44,20 +59,58 @@ const r = /* @__PURE__ */ a(t, i), n = /* @__PURE__ */ r(
44
59
  onArcgisFieldsDeleted: "arcgisFieldsDeleted"
45
60
  }
46
61
  )
47
- ), A = /* @__PURE__ */ r(
62
+ ), u = /* @__PURE__ */ r(
63
+ e(
64
+ "arcgis-portal-item-type",
65
+ {}
66
+ )
67
+ ), x = /* @__PURE__ */ r(
68
+ e(
69
+ "arcgis-portal-mentionable-text-area",
70
+ {
71
+ onArcgisMentionableSelectedIndexChange: "arcgisMentionableSelectedIndexChange",
72
+ onArcgisMentionableTextAreaChange: "arcgisMentionableTextAreaChange",
73
+ onArcgisMentionableTextAreaKeyDown: "arcgisMentionableTextAreaKeyDown",
74
+ onArcgisUserMentionableTextAreaChange: "arcgisUserMentionableTextAreaChange",
75
+ onArcgisUserMentionableTextAreaKeyDown: "arcgisUserMentionableTextAreaKeyDown"
76
+ }
77
+ )
78
+ ), f = /* @__PURE__ */ r(
48
79
  e(
49
80
  "arcgis-portal-replacement-item-redirect",
50
81
  {
51
82
  onArcgisPortalReplacementItemFetch: "arcgisPortalReplacementItemFetch"
52
83
  }
53
84
  )
85
+ ), I = /* @__PURE__ */ r(
86
+ e(
87
+ "arcgis-portal-user-avatar",
88
+ {}
89
+ )
90
+ ), b = /* @__PURE__ */ r(
91
+ e(
92
+ "arcgis-portal-voice-input",
93
+ {
94
+ onArcgisVoiceInputError: "arcgisVoiceInputError",
95
+ onArcgisVoiceInputInterimTranscription: "arcgisVoiceInputInterimTranscription",
96
+ onArcgisVoiceInputStart: "arcgisVoiceInputStart",
97
+ onArcgisVoiceInputStop: "arcgisVoiceInputStop",
98
+ onArcgisVoiceInputTranscription: "arcgisVoiceInputTranscription"
99
+ }
100
+ )
54
101
  );
55
102
  export {
56
- n as ArcgisPortalClassificationBanner,
57
- l as ArcgisPortalClassificationConfig,
58
- g as ArcgisPortalClassificationFavorite,
59
- p as ArcgisPortalClassificationFormElement,
60
- f as ArcgisPortalExtentPicker,
61
- m as ArcgisPortalFieldDelete,
62
- A as ArcgisPortalReplacementItemRedirect
103
+ s as ArcgisPortalAiAssistant,
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,
112
+ x as ArcgisPortalMentionableTextArea,
113
+ f as ArcgisPortalReplacementItemRedirect,
114
+ I as ArcgisPortalUserAvatar,
115
+ b as ArcgisPortalVoiceInput
63
116
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/portal-components-react",
3
- "version": "5.1.0-next.13",
3
+ "version": "5.1.0-next.130",
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,12 +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.13",
36
- "@arcgis/portal-components": "5.1.0-next.13"
35
+ "@arcgis/portal-components": "5.1.0-next.130",
36
+ "@arcgis/lumina": "5.1.0-next.130"
37
37
  },
38
38
  "peerDependencies": {
39
- "@arcgis/core": "^5.0.0-next",
40
- "react": ">=18.0.0 <20.0.0",
41
- "react-dom": ">=18.0.0 <20.0.0"
39
+ "@arcgis/core": "^5.1.0-next",
40
+ "react": ">=18.0.0 <20.0.0"
42
41
  }
43
42
  }