@arcgis/lumina 4.32.0-next.7 → 4.32.0-next.8
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/LitElement.d.ts +3 -0
- package/dist/createEvent.d.ts +2 -2
- package/dist/index.js +4 -1
- package/dist/lazyLoad.d.ts +5 -2
- package/dist/runtime.d.ts +3 -3
- package/package.json +3 -3
package/dist/LitElement.d.ts
CHANGED
|
@@ -36,6 +36,9 @@ export declare class LitElement extends OriginalLitElement implements ComponentL
|
|
|
36
36
|
/** @internal */
|
|
37
37
|
static runtime: Runtime;
|
|
38
38
|
static tagName: string;
|
|
39
|
+
/**
|
|
40
|
+
* Customize Lit's default style handling to support non-shadow-root styles
|
|
41
|
+
*/
|
|
39
42
|
static finalizeStyles(styles?: CSSResultGroup): CSSResultOrNative[];
|
|
40
43
|
static createProperty(name: PropertyKey,
|
|
41
44
|
/**
|
package/dist/createEvent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EventEmitter } from "@arcgis/components-controllers";
|
|
1
|
+
import type { BaseComponent, EventEmitter } from "@arcgis/components-controllers";
|
|
2
2
|
export type EventOptions = {
|
|
3
3
|
/**
|
|
4
4
|
* A Boolean indicating whether the event bubbles up through the DOM or not.
|
|
@@ -22,7 +22,7 @@ export type EventOptions = {
|
|
|
22
22
|
*/
|
|
23
23
|
composed?: boolean;
|
|
24
24
|
};
|
|
25
|
-
export declare const createEventFactory: <T = undefined>(eventName?: string, options?: EventOptions, component?:
|
|
25
|
+
export declare const createEventFactory: <T = undefined>(eventName?: string, options?: EventOptions, component?: BaseComponent) => EventEmitter<T>;
|
|
26
26
|
/**
|
|
27
27
|
* Creates an event emitter.
|
|
28
28
|
* Events emitted by your component will be included in the documentation.
|
package/dist/index.js
CHANGED
|
@@ -349,7 +349,7 @@ var ProxyComponent = class extends HtmlElement {
|
|
|
349
349
|
*/
|
|
350
350
|
async componentOnReady() {
|
|
351
351
|
await this._postLoaded.promise;
|
|
352
|
-
return this
|
|
352
|
+
return this;
|
|
353
353
|
}
|
|
354
354
|
/** @internal */
|
|
355
355
|
_initializeComponent(module) {
|
|
@@ -600,6 +600,9 @@ var LitElement = class _LitElement extends OriginalLitElement {
|
|
|
600
600
|
this.el.setAttribute(this.constructor.runtime.hydratedAttribute, "");
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
+
/**
|
|
604
|
+
* Customize Lit's default style handling to support non-shadow-root styles
|
|
605
|
+
*/
|
|
603
606
|
static finalizeStyles(styles) {
|
|
604
607
|
if (process.env.NODE_ENV === "test" && Array.isArray(styles)) {
|
|
605
608
|
styles = styles.filter(Boolean);
|
package/dist/lazyLoad.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { Deferred } from "@arcgis/components-utils";
|
|
|
2
2
|
import type { LitElement } from "./LitElement";
|
|
3
3
|
import type { Runtime } from "./runtime";
|
|
4
4
|
import type { ControllerManager } from "@arcgis/components-controllers";
|
|
5
|
+
import type { PublicLitElement } from "./PublicLitElement";
|
|
5
6
|
/**
|
|
6
7
|
* Defines lazy-loading proxy components for all web components in this package.
|
|
7
8
|
*
|
|
@@ -105,7 +106,9 @@ export declare abstract class ProxyComponent extends HtmlElement {
|
|
|
105
106
|
/**
|
|
106
107
|
* Direct offspring that should be awaited before loaded() is emitted
|
|
107
108
|
*/
|
|
108
|
-
_offspring: (
|
|
109
|
+
_offspring: (PublicLitElement & {
|
|
110
|
+
manager?: LitElement["manager"];
|
|
111
|
+
})[];
|
|
109
112
|
/**
|
|
110
113
|
* Promise that resolves once parent's load() completed. False if there is no
|
|
111
114
|
* parent
|
|
@@ -147,7 +150,7 @@ export declare abstract class ProxyComponent extends HtmlElement {
|
|
|
147
150
|
/**
|
|
148
151
|
* Create a promise that resolves once component is fully loaded
|
|
149
152
|
*/
|
|
150
|
-
componentOnReady(): Promise<
|
|
153
|
+
componentOnReady(): Promise<this>;
|
|
151
154
|
/** @internal */
|
|
152
155
|
_initializeComponent(module: Record<string, typeof LitElement>): void;
|
|
153
156
|
}
|
package/dist/runtime.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import type { LitElement } from "./LitElement";
|
|
|
8
8
|
export type Runtime = RuntimeOptions & {
|
|
9
9
|
/**
|
|
10
10
|
* Get the base path to where the package assets can be found.
|
|
11
|
-
* By default, the package asset path is set to
|
|
11
|
+
* By default, the package asset path is set to `https://js.arcgis.com/<simplified-package-name>/<released-verion>/`.
|
|
12
12
|
* We are hosting our assets on a CDN (Content Delivery Network) to ensure fast and reliable access.
|
|
13
13
|
* It is CORS-enabled, so you can load the assets from any domain.
|
|
14
14
|
* Use "setAssetPath(path)" if the path needs to be customized.
|
|
@@ -18,8 +18,8 @@ export type Runtime = RuntimeOptions & {
|
|
|
18
18
|
* Used to manually set the base path where package assets (like localization
|
|
19
19
|
* and icons) can be found.
|
|
20
20
|
*
|
|
21
|
-
* By default, the package asset path is set to
|
|
22
|
-
* For example,
|
|
21
|
+
* By default, the package asset path is set to `https://js.arcgis.com/<simplified-package-name>/<released-verion>/`.
|
|
22
|
+
* For example, `https://js.arcgis.com/map-components/4.30/`.
|
|
23
23
|
* We are hosting our assets on a CDN (Content Delivery Network) to ensure fast and reliable access.
|
|
24
24
|
* It is CORS-enabled, so you can load the assets from any domain.
|
|
25
25
|
* This is the recommended way to load the assets and avoid bundling them with your application.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina",
|
|
3
|
-
"version": "4.32.0-next.
|
|
3
|
+
"version": "4.32.0-next.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
],
|
|
20
20
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@arcgis/components-controllers": "4.32.0-next.
|
|
23
|
-
"@arcgis/components-utils": "4.32.0-next.
|
|
22
|
+
"@arcgis/components-controllers": "4.32.0-next.8",
|
|
23
|
+
"@arcgis/components-utils": "4.32.0-next.8",
|
|
24
24
|
"@lit-labs/ssr": "^3.2.2",
|
|
25
25
|
"@lit-labs/ssr-client": "^1.1.7",
|
|
26
26
|
"csstype": "^3.1.3",
|