@arcgis/coding-components-react 5.1.0-next.7 → 5.1.0-next.70

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,7 +1,7 @@
1
1
  /// <reference types="@arcgis/coding-components" preserve="true" />
2
2
  import { EventName } from '@lit/react';
3
3
  /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-arcade-editor /> directly. */
4
- export declare const ArcgisArcadeEditor: import('@lit/react').ReactWebComponent<HTMLArcgisArcadeEditorElement & {
4
+ export declare const ArcgisArcadeEditor: import('@lit/react').ReactWebComponent<import('@arcgis/coding-components/components/arcgis-arcade-editor/customElement').ArcgisArcadeEditor & {
5
5
  class?: string;
6
6
  }, {
7
7
  onArcgisDiagnosticsChange: EventName<HTMLArcgisArcadeEditorElement["arcgisDiagnosticsChange"]>;
@@ -29,3 +29,10 @@ export declare const ArcgisSqlExpressionEditor: import('@lit/react').ReactWebCom
29
29
  onArcgisDiagnosticsChange: EventName<HTMLArcgisSqlExpressionEditorElement["arcgisDiagnosticsChange"]>;
30
30
  onArcgisScriptChange: EventName<HTMLArcgisSqlExpressionEditorElement["arcgisScriptChange"]>;
31
31
  }>;
32
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-sql-layer-editor /> directly. */
33
+ export declare const ArcgisSqlLayerEditor: import('@lit/react').ReactWebComponent<import('@arcgis/coding-components/components/arcgis-sql-layer-editor/customElement').ArcgisSqlLayerEditor & {
34
+ class?: string;
35
+ }, {
36
+ onArcgisDiagnosticsChange: EventName<HTMLArcgisSqlLayerEditorElement["arcgisDiagnosticsChange"]>;
37
+ onArcgisScriptChange: EventName<HTMLArcgisSqlLayerEditorElement["arcgisScriptChange"]>;
38
+ }>;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import i from "react";
2
- import { createComponent as c } from "@lit/react";
3
- import { makeReactWrapperFactory as o, getReactWrapperOptions as r } from "@arcgis/lumina";
4
- const e = /* @__PURE__ */ o(i, c), t = /* @__PURE__ */ e(
1
+ import c from "react";
2
+ import { createComponent as e } from "@lit/react";
3
+ import { getReactWrapperOptions as r, makeReactWrapperFactory as s } from "@arcgis/lumina";
4
+ const i = /* @__PURE__ */ s(c, e), n = /* @__PURE__ */ i(
5
5
  r(
6
6
  "arcgis-arcade-editor",
7
7
  {
@@ -9,7 +9,7 @@ const e = /* @__PURE__ */ o(i, c), t = /* @__PURE__ */ e(
9
9
  onArcgisScriptChange: "arcgisScriptChange"
10
10
  }
11
11
  )
12
- ), n = /* @__PURE__ */ e(
12
+ ), t = /* @__PURE__ */ i(
13
13
  r(
14
14
  "arcgis-code-editor",
15
15
  {
@@ -17,17 +17,17 @@ const e = /* @__PURE__ */ o(i, c), t = /* @__PURE__ */ e(
17
17
  onArcgisValueChange: "arcgisValueChange"
18
18
  }
19
19
  )
20
- ), p = /* @__PURE__ */ e(
20
+ ), p = /* @__PURE__ */ i(
21
21
  r(
22
22
  "arcgis-code-editor-shell",
23
23
  {}
24
24
  )
25
- ), d = /* @__PURE__ */ e(
25
+ ), C = /* @__PURE__ */ i(
26
26
  r(
27
27
  "arcgis-code-viewer",
28
28
  {}
29
29
  )
30
- ), C = /* @__PURE__ */ e(
30
+ ), d = /* @__PURE__ */ i(
31
31
  r(
32
32
  "arcgis-sql-expression-editor",
33
33
  {
@@ -35,11 +35,20 @@ const e = /* @__PURE__ */ o(i, c), t = /* @__PURE__ */ e(
35
35
  onArcgisScriptChange: "arcgisScriptChange"
36
36
  }
37
37
  )
38
+ ), h = /* @__PURE__ */ i(
39
+ r(
40
+ "arcgis-sql-layer-editor",
41
+ {
42
+ onArcgisDiagnosticsChange: "arcgisDiagnosticsChange",
43
+ onArcgisScriptChange: "arcgisScriptChange"
44
+ }
45
+ )
38
46
  );
39
47
  export {
40
- t as ArcgisArcadeEditor,
41
- n as ArcgisCodeEditor,
48
+ n as ArcgisArcadeEditor,
49
+ t as ArcgisCodeEditor,
42
50
  p as ArcgisCodeEditorShell,
43
- d as ArcgisCodeViewer,
44
- C as ArcgisSqlExpressionEditor
51
+ C as ArcgisCodeViewer,
52
+ d as ArcgisSqlExpressionEditor,
53
+ h as ArcgisSqlLayerEditor
45
54
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/coding-components-react",
3
- "version": "5.1.0-next.7",
3
+ "version": "5.1.0-next.70",
4
4
  "description": "A set of React components that wrap ArcGIS coding components",
5
5
  "keywords": [
6
6
  "2D",
@@ -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/coding-components": "5.1.0-next.7",
36
- "@arcgis/lumina": "5.1.0-next.7"
35
+ "@arcgis/lumina": "5.1.0-next.70",
36
+ "@arcgis/coding-components": "5.1.0-next.70"
37
37
  },
38
38
  "peerDependencies": {
39
- "@arcgis/core": "^5.0.0-next",
39
+ "@arcgis/core": "^5.1.0-next",
40
40
  "react": ">=18.0.0 <20.0.0",
41
41
  "react-dom": ">=18.0.0 <20.0.0"
42
42
  }