@arcgis/coding-components-react 4.34.0-next.8 → 4.34.0-next.80

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,18 +1,18 @@
1
1
  /// <reference types="@arcgis/coding-components" preserve="true" />
2
- import type { EventName } from "@lit/react";
3
- export declare const ArcgisArcadeEditor: import("@lit/react").ReactWebComponent<HTMLArcgisArcadeEditorElement & {
2
+ import { EventName } from '@lit/react';
3
+ export declare const ArcgisArcadeEditor: import('@lit/react').ReactWebComponent<HTMLArcgisArcadeEditorElement & {
4
4
  class?: string;
5
5
  }, {
6
6
  onArcgisDiagnosticsChange: EventName<HTMLArcgisArcadeEditorElement["arcgisDiagnosticsChange"]>;
7
7
  onArcgisScriptChange: EventName<HTMLArcgisArcadeEditorElement["arcgisScriptChange"]>;
8
8
  }>;
9
- export declare const ArcgisCodeEditor: import("@lit/react").ReactWebComponent<HTMLArcgisCodeEditorElement & {
9
+ export declare const ArcgisCodeEditor: import('@lit/react').ReactWebComponent<HTMLArcgisCodeEditorElement & {
10
10
  class?: string;
11
11
  }, {
12
12
  onArcgisSelectionChange: EventName<HTMLArcgisCodeEditorElement["arcgisSelectionChange"]>;
13
13
  onArcgisValueChange: EventName<HTMLArcgisCodeEditorElement["arcgisValueChange"]>;
14
14
  }>;
15
- export declare const ArcgisSqlExpressionEditor: import("@lit/react").ReactWebComponent<HTMLArcgisSqlExpressionEditorElement & {
15
+ export declare const ArcgisSqlExpressionEditor: import('@lit/react').ReactWebComponent<HTMLArcgisSqlExpressionEditorElement & {
16
16
  class?: string;
17
17
  }, {
18
18
  onArcgisScriptChange: EventName<HTMLArcgisSqlExpressionEditorElement["arcgisScriptChange"]>;
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./components";
1
+ export * from './components';
package/dist/index.js CHANGED
@@ -1 +1,32 @@
1
- export * from "./components";
1
+ import i from "react";
2
+ import { createComponent as c } from "@lit/react";
3
+ import { makeReactWrapperFactory as a, getReactWrapperOptions as r } from "@arcgis/lumina";
4
+ const e = /* @__PURE__ */ a(i, c), g = /* @__PURE__ */ e(
5
+ r(
6
+ "arcgis-arcade-editor",
7
+ {
8
+ onArcgisDiagnosticsChange: "arcgisDiagnosticsChange",
9
+ onArcgisScriptChange: "arcgisScriptChange"
10
+ }
11
+ )
12
+ ), n = /* @__PURE__ */ e(
13
+ r(
14
+ "arcgis-code-editor",
15
+ {
16
+ onArcgisSelectionChange: "arcgisSelectionChange",
17
+ onArcgisValueChange: "arcgisValueChange"
18
+ }
19
+ )
20
+ ), p = /* @__PURE__ */ e(
21
+ r(
22
+ "arcgis-sql-expression-editor",
23
+ {
24
+ onArcgisScriptChange: "arcgisScriptChange"
25
+ }
26
+ )
27
+ );
28
+ export {
29
+ g as ArcgisArcadeEditor,
30
+ n as ArcgisCodeEditor,
31
+ p as ArcgisSqlExpressionEditor
32
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/coding-components-react",
3
- "version": "4.34.0-next.8",
3
+ "version": "4.34.0-next.80",
4
4
  "description": "A set of React components that wrap ArcGIS coding components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -29,12 +29,14 @@
29
29
  ],
30
30
  "license": "SEE LICENSE.md",
31
31
  "dependencies": {
32
- "@arcgis/coding-components": "4.34.0-next.8",
32
+ "@arcgis/coding-components": "4.34.0-next.80",
33
+ "@arcgis/lumina": "4.34.0-next.80",
33
34
  "@lit/react": "^1.0.7",
35
+ "lit": "^3.3.0",
34
36
  "tslib": "^2.8.1"
35
37
  },
36
38
  "peerDependencies": {
37
- "@arcgis/core": ">=4.34.0-next <4.35",
39
+ "@arcgis/core": ">=4.34.0-next.43 <4.35",
38
40
  "react": ">=18.0.0 <20.0.0",
39
41
  "react-dom": ">=18.0.0 <20.0.0"
40
42
  }
@@ -1,16 +0,0 @@
1
- /// <reference types="@arcgis/coding-components" preserve="true" />
2
- import React from "react";
3
- import { createComponent } from "@lit/react";
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
- }));