@arcgis/lumina 4.32.0-next.113 → 4.32.0-next.115

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -231,6 +231,9 @@ var LitElement = class _LitElement extends OriginalLitElement {
231
231
  }
232
232
  if (this.isConnected) {
233
233
  const domRoot = renderRoot.getRootNode();
234
+ if (process.env.NODE_ENV === "test") {
235
+ domRoot.adoptedStyleSheets ??= [];
236
+ }
234
237
  domRoot.adoptedStyleSheets = [
235
238
  ...domRoot.adoptedStyleSheets,
236
239
  ...Class.elementStyles.map((stylesheet) => "styleSheet" in stylesheet ? stylesheet.styleSheet : stylesheet)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/lumina",
3
- "version": "4.32.0-next.113",
3
+ "version": "4.32.0-next.115",
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.32.0-next.113",
24
- "@arcgis/components-utils": "4.32.0-next.113",
23
+ "@arcgis/components-controllers": "4.32.0-next.115",
24
+ "@arcgis/components-utils": "4.32.0-next.115",
25
25
  "@lit-labs/ssr": "^3.2.2",
26
26
  "@lit-labs/ssr-client": "^1.1.7",
27
27
  "@lit/context": "^1.1.3",