@arcgis/lumina 4.33.0-next.76 → 4.33.0-next.77
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.d.ts +1 -0
- package/dist/index.js +7 -1
- package/dist/render.d.ts +5 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -14,3 +14,4 @@ export { safeClassMap, safeStyleMap, deferLoad, deferredLoaders, directive, live
|
|
|
14
14
|
export { nothing, noChange, setAttribute, stringOrBoolean } from './jsx/utils';
|
|
15
15
|
export { noShadowRoot } from './utils';
|
|
16
16
|
export { makeReactWrapperFactory, getReactWrapperOptions } from './wrappersUtils';
|
|
17
|
+
export { renderElement } from './render';
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { classMap } from "lit-html/directives/class-map.js";
|
|
|
11
11
|
import { styleMap } from "lit/directives/style-map.js";
|
|
12
12
|
import { directive as directive$1, Directive } from "lit-html/directive.js";
|
|
13
13
|
import { live as live$1 } from "lit-html/directives/live.js";
|
|
14
|
-
import { nothing as nothing$1, noChange as noChange$2 } from "lit-html";
|
|
14
|
+
import { nothing as nothing$1, noChange as noChange$2, render } from "lit-html";
|
|
15
15
|
function useContextProvider(options) {
|
|
16
16
|
const component = retrieveComponent();
|
|
17
17
|
const controller = new ContextProvider(component.el, options);
|
|
@@ -378,6 +378,11 @@ const makeReactWrapperFactory = (react, createComponent) => (options) => {
|
|
|
378
378
|
return result;
|
|
379
379
|
};
|
|
380
380
|
const getReactWrapperOptions = (tagNameAndElement, events) => ({ tagName: tagNameAndElement, events });
|
|
381
|
+
function renderElement(element) {
|
|
382
|
+
const container = document.createElement("div");
|
|
383
|
+
render(element, container);
|
|
384
|
+
return container.firstElementChild;
|
|
385
|
+
}
|
|
381
386
|
export {
|
|
382
387
|
Fragment,
|
|
383
388
|
LitElement,
|
|
@@ -399,6 +404,7 @@ export {
|
|
|
399
404
|
noShadowRoot,
|
|
400
405
|
nothing,
|
|
401
406
|
property,
|
|
407
|
+
renderElement,
|
|
402
408
|
safeClassMap,
|
|
403
409
|
safeStyleMap,
|
|
404
410
|
setAttribute,
|
package/dist/render.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina",
|
|
3
|
-
"version": "4.33.0-next.
|
|
3
|
+
"version": "4.33.0-next.77",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
],
|
|
21
21
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@arcgis/components-controllers": "4.33.0-next.
|
|
24
|
-
"@arcgis/components-utils": "4.33.0-next.
|
|
23
|
+
"@arcgis/components-controllers": "4.33.0-next.77",
|
|
24
|
+
"@arcgis/components-utils": "4.33.0-next.77",
|
|
25
25
|
"@lit-labs/ssr": "^3.2.2",
|
|
26
26
|
"@lit-labs/ssr-client": "^1.1.7",
|
|
27
27
|
"@lit/context": "^1.1.3",
|