@arcgis/lumina 4.34.0-next.73 → 4.34.0-next.75
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 +3 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -393,7 +393,9 @@ class LitElement extends LitElement$1 {
|
|
|
393
393
|
const options = Class.shadowRootOptions;
|
|
394
394
|
const useLightDom = options === noShadowRoot;
|
|
395
395
|
const renderRoot = existingShadowRoot ?? (useLightDom ? this.el : this.el.attachShadow(options));
|
|
396
|
-
if (existingShadowRoot
|
|
396
|
+
if (existingShadowRoot && // The shadow root may already exist if we are doing HMR - such case is not
|
|
397
|
+
// SSR so ignore it
|
|
398
|
+
process.env.NODE_ENV !== "production" && (this.el.constructor.devOnly$hmrIndex ?? 0) === 0) {
|
|
397
399
|
LitElement$1.prototype.createRenderRoot.call(this);
|
|
398
400
|
return existingShadowRoot;
|
|
399
401
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina",
|
|
3
|
-
"version": "4.34.0-next.
|
|
3
|
+
"version": "4.34.0-next.75",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@arcgis/toolkit": "4.34.0-next.
|
|
25
|
+
"@arcgis/toolkit": "4.34.0-next.75",
|
|
26
26
|
"csstype": "^3.1.3",
|
|
27
27
|
"tslib": "^2.8.1"
|
|
28
28
|
},
|