@arcgis/coding-components-react 5.0.0-next.14 → 5.0.0-next.141
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/dist/components.d.ts +13 -2
- package/dist/index.js +20 -8
- package/package.json +6 -6
package/dist/components.d.ts
CHANGED
|
@@ -1,18 +1,29 @@
|
|
|
1
1
|
/// <reference types="@arcgis/coding-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-arcade-editor /> directly. */
|
|
3
4
|
export declare const ArcgisArcadeEditor: import('@lit/react').ReactWebComponent<HTMLArcgisArcadeEditorElement & {
|
|
4
5
|
class?: string;
|
|
5
6
|
}, {
|
|
6
7
|
onArcgisDiagnosticsChange: EventName<HTMLArcgisArcadeEditorElement["arcgisDiagnosticsChange"]>;
|
|
7
8
|
onArcgisScriptChange: EventName<HTMLArcgisArcadeEditorElement["arcgisScriptChange"]>;
|
|
8
9
|
}>;
|
|
9
|
-
|
|
10
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-code-editor /> directly. */
|
|
11
|
+
export declare const ArcgisCodeEditor: import('@lit/react').ReactWebComponent<import('@arcgis/coding-components/components/arcgis-code-editor/customElement').ArcgisCodeEditor & {
|
|
10
12
|
class?: string;
|
|
11
13
|
}, {
|
|
12
14
|
onArcgisSelectionChange: EventName<HTMLArcgisCodeEditorElement["arcgisSelectionChange"]>;
|
|
13
15
|
onArcgisValueChange: EventName<HTMLArcgisCodeEditorElement["arcgisValueChange"]>;
|
|
14
16
|
}>;
|
|
15
|
-
|
|
17
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-code-editor-shell /> directly. */
|
|
18
|
+
export declare const ArcgisCodeEditorShell: import('@lit/react').ReactWebComponent<import('@arcgis/coding-components/components/arcgis-code-editor-shell/customElement').CodeEditorShell & {
|
|
19
|
+
class?: string;
|
|
20
|
+
}, {}>;
|
|
21
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-code-viewer /> directly. */
|
|
22
|
+
export declare const ArcgisCodeViewer: import('@lit/react').ReactWebComponent<import('@arcgis/coding-components/components/arcgis-code-viewer/customElement').ArcgisCodeViewer & {
|
|
23
|
+
class?: string;
|
|
24
|
+
}, {}>;
|
|
25
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-sql-expression-editor /> directly. */
|
|
26
|
+
export declare const ArcgisSqlExpressionEditor: import('@lit/react').ReactWebComponent<import('@arcgis/coding-components/components/arcgis-sql-expression-editor/customElement').ArcgisSqlExpressionEditor & {
|
|
16
27
|
class?: string;
|
|
17
28
|
}, {
|
|
18
29
|
onArcgisDiagnosticsChange: EventName<HTMLArcgisSqlExpressionEditorElement["arcgisDiagnosticsChange"]>;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import i from "react";
|
|
2
2
|
import { createComponent as c } from "@lit/react";
|
|
3
|
-
import { makeReactWrapperFactory as
|
|
4
|
-
const
|
|
3
|
+
import { makeReactWrapperFactory as o, getReactWrapperOptions as r } from "@arcgis/lumina";
|
|
4
|
+
const e = /* @__PURE__ */ o(i, c), t = /* @__PURE__ */ e(
|
|
5
5
|
r(
|
|
6
6
|
"arcgis-arcade-editor",
|
|
7
7
|
{
|
|
@@ -9,7 +9,7 @@ const i = /* @__PURE__ */ a(e, c), n = /* @__PURE__ */ i(
|
|
|
9
9
|
onArcgisScriptChange: "arcgisScriptChange"
|
|
10
10
|
}
|
|
11
11
|
)
|
|
12
|
-
),
|
|
12
|
+
), n = /* @__PURE__ */ e(
|
|
13
13
|
r(
|
|
14
14
|
"arcgis-code-editor",
|
|
15
15
|
{
|
|
@@ -17,7 +17,17 @@ const i = /* @__PURE__ */ a(e, c), n = /* @__PURE__ */ i(
|
|
|
17
17
|
onArcgisValueChange: "arcgisValueChange"
|
|
18
18
|
}
|
|
19
19
|
)
|
|
20
|
-
), p = /* @__PURE__ */
|
|
20
|
+
), p = /* @__PURE__ */ e(
|
|
21
|
+
r(
|
|
22
|
+
"arcgis-code-editor-shell",
|
|
23
|
+
{}
|
|
24
|
+
)
|
|
25
|
+
), d = /* @__PURE__ */ e(
|
|
26
|
+
r(
|
|
27
|
+
"arcgis-code-viewer",
|
|
28
|
+
{}
|
|
29
|
+
)
|
|
30
|
+
), C = /* @__PURE__ */ e(
|
|
21
31
|
r(
|
|
22
32
|
"arcgis-sql-expression-editor",
|
|
23
33
|
{
|
|
@@ -27,7 +37,9 @@ const i = /* @__PURE__ */ a(e, c), n = /* @__PURE__ */ i(
|
|
|
27
37
|
)
|
|
28
38
|
);
|
|
29
39
|
export {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
p as
|
|
40
|
+
t as ArcgisArcadeEditor,
|
|
41
|
+
n as ArcgisCodeEditor,
|
|
42
|
+
p as ArcgisCodeEditorShell,
|
|
43
|
+
d as ArcgisCodeViewer,
|
|
44
|
+
C as ArcgisSqlExpressionEditor
|
|
33
45
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/coding-components-react",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.141",
|
|
4
4
|
"description": "A set of React components that wrap ArcGIS coding components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
],
|
|
30
30
|
"license": "SEE LICENSE.md",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@
|
|
33
|
-
"@arcgis/lumina": "5.0.0-next.14",
|
|
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/coding-components": "5.0.0-next.141",
|
|
36
|
+
"@arcgis/lumina": "5.0.0-next.141"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@arcgis/core": ">=5.0.0-next.
|
|
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
|
}
|