@arcgis/lumina 5.0.0-next.136 → 5.0.0-next.138

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.
@@ -3,6 +3,13 @@ import { TargetedEvent } from './jsx/types.ts';
3
3
  * The base public interface for all `@arcgis/lumina` components
4
4
  */
5
5
  export declare class PublicLitElement extends HTMLElement {
6
+ private el;
7
+ ["@eventTypes"]: Record<never, never>;
8
+ /**
9
+ * Web components are not constructable via the `new` operator.
10
+ * Instead use `document.createElement("some-tag-name")`.
11
+ */
12
+ protected constructor();
6
13
  /**
7
14
  * Create a promise that resolves once component is fully loaded.
8
15
  *
@@ -14,8 +21,6 @@ export declare class PublicLitElement extends HTMLElement {
14
21
  * });
15
22
  */
16
23
  componentOnReady(): Promise<this>;
17
- private el;
18
- ["@eventTypes"]: Record<never, never>;
19
24
  addEventListener<K extends keyof this["@eventTypes"]>(type: K, listener: (this: this, event: TargetedEvent<this, this["@eventTypes"][K]>) => unknown, options?: AddEventListenerOptions | boolean): void;
20
25
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: this, event: HTMLElementEventMap[K]) => unknown, options?: AddEventListenerOptions | boolean): void;
21
26
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: AddEventListenerOptions | boolean): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/lumina",
3
- "version": "5.0.0-next.136",
3
+ "version": "5.0.0-next.138",
4
4
  "sideEffects": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -14,6 +14,9 @@
14
14
  "./typings": {
15
15
  "types": "./dist/typings/index.d.ts"
16
16
  },
17
+ "./PublicLitElement": {
18
+ "types": "./dist/PublicLitElement.d.ts"
19
+ },
17
20
  "./controllers": "./dist/controllers/index.js",
18
21
  "./controllers/accessor": "./dist/controllers/accessor/index.js",
19
22
  "./package.json": "./package.json"
@@ -23,9 +26,9 @@
23
26
  ],
24
27
  "license": "https://js.arcgis.com/5.0/esri/LICENSE.txt",
25
28
  "dependencies": {
26
- "@arcgis/toolkit": "~5.0.0-next.136",
27
29
  "csstype": "^3.1.3",
28
- "tslib": "^2.8.1"
30
+ "tslib": "^2.8.1",
31
+ "@arcgis/toolkit": "~5.0.0-next.138"
29
32
  },
30
33
  "peerDependencies": {
31
34
  "@lit/context": "^1.1.6",