@arcgis/coding-components-react 4.32.0-next.14 → 4.32.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/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Licensing
2
2
 
3
- COPYRIGHT © 2024 Esri
3
+ COPYRIGHT © 2025 Esri
4
4
 
5
5
  All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
6
6
 
package/README.md CHANGED
@@ -27,7 +27,7 @@ Samples for how to use this package are available on github in the [jsapi-resour
27
27
 
28
28
  ## License
29
29
 
30
- COPYRIGHT © 2024 Esri
30
+ COPYRIGHT © 2025 Esri
31
31
 
32
32
  All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
33
33
 
@@ -1,13 +1,19 @@
1
1
  /// <reference types="@arcgis/coding-components" preserve="true" />
2
2
  import type { EventName } from "@lit/react";
3
- export declare const ArcgisArcadeEditor: import("@lit/react").ReactWebComponent<HTMLArcgisArcadeEditorElement, {
4
- onarcgisDiagnosticsChange: EventName<HTMLArcgisArcadeEditorElement["arcgisDiagnosticsChange"]>;
5
- onarcgisScriptChange: EventName<HTMLArcgisArcadeEditorElement["arcgisScriptChange"]>;
3
+ export declare const ArcgisArcadeEditor: import("@lit/react").ReactWebComponent<HTMLArcgisArcadeEditorElement & {
4
+ class?: string;
5
+ }, {
6
+ onArcgisDiagnosticsChange: EventName<HTMLArcgisArcadeEditorElement["arcgisDiagnosticsChange"]>;
7
+ onArcgisScriptChange: EventName<HTMLArcgisArcadeEditorElement["arcgisScriptChange"]>;
6
8
  }>;
7
- export declare const ArcgisCodeEditor: import("@lit/react").ReactWebComponent<HTMLArcgisCodeEditorElement, {
8
- onarcgisSelectionChange: EventName<HTMLArcgisCodeEditorElement["arcgisSelectionChange"]>;
9
- onarcgisValueChange: EventName<HTMLArcgisCodeEditorElement["arcgisValueChange"]>;
9
+ export declare const ArcgisCodeEditor: import("@lit/react").ReactWebComponent<HTMLArcgisCodeEditorElement & {
10
+ class?: string;
11
+ }, {
12
+ onArcgisSelectionChange: EventName<HTMLArcgisCodeEditorElement["arcgisSelectionChange"]>;
13
+ onArcgisValueChange: EventName<HTMLArcgisCodeEditorElement["arcgisValueChange"]>;
10
14
  }>;
11
- export declare const ArcgisSqlExpressionEditor: import("@lit/react").ReactWebComponent<HTMLArcgisSqlExpressionEditorElement, {
12
- onarcgisScriptChange: EventName<HTMLArcgisSqlExpressionEditorElement["arcgisScriptChange"]>;
15
+ export declare const ArcgisSqlExpressionEditor: import("@lit/react").ReactWebComponent<HTMLArcgisSqlExpressionEditorElement & {
16
+ class?: string;
17
+ }, {
18
+ onArcgisScriptChange: EventName<HTMLArcgisSqlExpressionEditorElement["arcgisScriptChange"]>;
13
19
  }>;
@@ -1,30 +1,16 @@
1
1
  /// <reference types="@arcgis/coding-components" preserve="true" />
2
2
  import React from "react";
3
3
  import { createComponent } from "@lit/react";
4
- import { createPrototypeProxy } from "@arcgis/lumina";
5
- export const ArcgisArcadeEditor = /*@__PURE__*/ createComponent({
6
- react: React,
7
- tagName: "arcgis-arcade-editor",
8
- elementClass: createPrototypeProxy("arcgis-arcade-editor"),
9
- events: {
10
- onarcgisDiagnosticsChange: "arcgisDiagnosticsChange",
11
- onarcgisScriptChange: "arcgisScriptChange",
12
- },
13
- });
14
- export const ArcgisCodeEditor = /*@__PURE__*/ createComponent({
15
- react: React,
16
- tagName: "arcgis-code-editor",
17
- elementClass: createPrototypeProxy("arcgis-code-editor"),
18
- events: {
19
- onarcgisSelectionChange: "arcgisSelectionChange",
20
- onarcgisValueChange: "arcgisValueChange",
21
- },
22
- });
23
- export const ArcgisSqlExpressionEditor = /*@__PURE__*/ createComponent({
24
- react: React,
25
- tagName: "arcgis-sql-expression-editor",
26
- elementClass: createPrototypeProxy("arcgis-sql-expression-editor"),
27
- events: {
28
- onarcgisScriptChange: "arcgisScriptChange",
29
- },
30
- });
4
+ import { makeReactWrapperFactory, getReactWrapperOptions } from "@arcgis/lumina";
5
+ const createWrapper = /*@__PURE__*/ makeReactWrapperFactory(React, createComponent);
6
+ export const ArcgisArcadeEditor = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-arcade-editor", {
7
+ onArcgisDiagnosticsChange: "arcgisDiagnosticsChange",
8
+ onArcgisScriptChange: "arcgisScriptChange",
9
+ }));
10
+ export const ArcgisCodeEditor = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-code-editor", {
11
+ onArcgisSelectionChange: "arcgisSelectionChange",
12
+ onArcgisValueChange: "arcgisValueChange",
13
+ }));
14
+ export const ArcgisSqlExpressionEditor = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-sql-expression-editor", {
15
+ onArcgisScriptChange: "arcgisScriptChange",
16
+ }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/coding-components-react",
3
- "version": "4.32.0-next.14",
3
+ "version": "4.32.0-next.141",
4
4
  "description": "A set of React components that wrap ArcGIS coding components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -29,7 +29,8 @@
29
29
  ],
30
30
  "license": "SEE LICENSE.md",
31
31
  "dependencies": {
32
- "@arcgis/coding-components": "4.32.0-next.14",
32
+ "@arcgis/coding-components": "4.32.0-next.141",
33
+ "@lit/react": "^1.0.5",
33
34
  "tslib": "^2.7.0"
34
35
  },
35
36
  "peerDependencies": {