@arcgis/lumina-compiler 4.33.0-next.108 → 4.33.0-next.109
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/index.js +780 -764
- package/dist/publicTypes.d.ts +6 -3
- package/dist/testing/index.js +2 -1
- package/dist/testing/mount.d.ts +7 -0
- package/package.json +5 -5
package/dist/publicTypes.d.ts
CHANGED
|
@@ -132,9 +132,12 @@ export type BuildCdnOptions = {
|
|
|
132
132
|
*/
|
|
133
133
|
readonly namespace?: string;
|
|
134
134
|
/**
|
|
135
|
-
* To produce the CDN build, Lumina takes the
|
|
136
|
-
*
|
|
137
|
-
*
|
|
135
|
+
* To produce the CDN build, Lumina takes the dist/loader.js file and
|
|
136
|
+
* and post-processes it with ESBuild to make it ready for consumption in the
|
|
137
|
+
* browser.
|
|
138
|
+
*
|
|
139
|
+
* You can customize the options passed to ESBuild. Note, some options may
|
|
140
|
+
* conflict with the Lumina build process.
|
|
138
141
|
*
|
|
139
142
|
* @see https://esbuild.github.io/api/#overview
|
|
140
143
|
*/
|
package/dist/testing/index.js
CHANGED
|
@@ -40,7 +40,8 @@ async function W(e, { parent: t = document.body, afterConnect: n, dynamicCompone
|
|
|
40
40
|
component: f,
|
|
41
41
|
async reRender() {
|
|
42
42
|
return typeof e == "function" && !("tagName" in e) && y(e(), t), f.requestUpdate(), await f.updateComplete;
|
|
43
|
-
}
|
|
43
|
+
},
|
|
44
|
+
container: o
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
let h;
|
package/dist/testing/mount.d.ts
CHANGED
|
@@ -19,6 +19,13 @@ export type RenderResult<Component extends HTMLElement> = {
|
|
|
19
19
|
* All public and private members of your custom element are available here.
|
|
20
20
|
*/
|
|
21
21
|
readonly component: Component;
|
|
22
|
+
/**
|
|
23
|
+
* The container element that was used to render the component.
|
|
24
|
+
*
|
|
25
|
+
* This element is useful to inspect for functional components and components
|
|
26
|
+
* that do not use shadow DOM.
|
|
27
|
+
*/
|
|
28
|
+
readonly container: HTMLElement;
|
|
22
29
|
/**
|
|
23
30
|
* A callback for triggering component re-render. Optionally, if the first
|
|
24
31
|
* argument to `mount()` was a function, that function will be called
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina-compiler",
|
|
3
|
-
"version": "4.33.0-next.
|
|
3
|
+
"version": "4.33.0-next.109",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
],
|
|
19
19
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@arcgis/api-extractor": "4.33.0-next.
|
|
22
|
-
"@arcgis/components-build-utils": "4.33.0-next.
|
|
23
|
-
"@arcgis/components-utils": "4.33.0-next.
|
|
21
|
+
"@arcgis/api-extractor": "4.33.0-next.109",
|
|
22
|
+
"@arcgis/components-build-utils": "4.33.0-next.109",
|
|
23
|
+
"@arcgis/components-utils": "4.33.0-next.109",
|
|
24
24
|
"chalk": "^5.3.0",
|
|
25
25
|
"esbuild": "^0.24.0",
|
|
26
26
|
"glob": "^11.0.0",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
"vitest-fail-on-console": "^0.7.1"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@arcgis/lumina": "~4.33.0-next.
|
|
40
|
+
"@arcgis/lumina": "~4.33.0-next.109"
|
|
41
41
|
}
|
|
42
42
|
}
|