@arcgis/lumina 6.0.0-next.12 → 6.0.0-next.13
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/render.d.ts +11 -2
- package/package.json +2 -2
package/dist/render.d.ts
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import type { JsxNode } from "./jsx/types.js";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Render JSX into a new HTML element for manual insertion.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* Each call creates a new element rather than updating the previous one. Do not
|
|
7
|
+
* repeatedly call this helper to replace the same content, as this can cause flicker.
|
|
8
|
+
* Prefer the component's declarative `render()` method. Limit this helper to
|
|
9
|
+
* rendering outside the shadow DOM or into containers the component does not own.
|
|
10
|
+
* To update existing content, use the component's `render()` method or Lit's
|
|
11
|
+
* `render()` function with the same container.
|
|
12
|
+
*
|
|
13
|
+
* @param element - The JSX content to render.
|
|
14
|
+
* @returns The rendered HTML element.
|
|
15
|
+
* @see [Documentation](https://webgis.esri.com/references/lumina/jsx#rendering-jsx-outside-the-component)
|
|
7
16
|
* @example
|
|
8
17
|
* ```ts
|
|
9
18
|
* const fullScreen = renderElement(<arcgis-fullscreen />);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.13",
|
|
4
4
|
"description": "Runtime for WebGIS SDK web components",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
],
|
|
37
37
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@arcgis/toolkit": "~6.0.0-next.
|
|
39
|
+
"@arcgis/toolkit": "~6.0.0-next.13",
|
|
40
40
|
"csstype": "^3.1.3",
|
|
41
41
|
"tslib": "^2.8.1"
|
|
42
42
|
},
|