@arcgis/lumina 5.1.0-next.78 → 5.1.0-next.79

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.
@@ -7,7 +7,7 @@ import { isServer } from "lit";
7
7
  import { isEsriInternalEnv } from "@arcgis/toolkit/error";
8
8
  import { observeAncestorsMutation, getElementAttribute } from "@arcgis/toolkit/dom";
9
9
  import { getElementLocale, startLocaleObserver } from "@arcgis/toolkit/intl";
10
- import { s as setAutoDestroyOnDisconnectTimeout, b as autoDestroyOnDisconnectTimeout } from "../ControllerManager-S03KWzF3.js";
10
+ import { s as setAutoDestroyOnDisconnectTimeout, b as autoDestroyOnDisconnectTimeout } from "../ControllerManager-DFn8sm5s.js";
11
11
  const makeController = (constructor) => proxy(void 0, constructor);
12
12
  const makeGenericController = (constructor) => (component) => proxy(
13
13
  component,
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import { camelToKebab } from "@arcgis/toolkit/string";
9
9
  import { Deferred } from "@arcgis/toolkit/promise";
10
10
  import { LitElement as LitElement$1, isServer, notEqual, noChange as noChange$1, nothing as nothing$1, render } from "lit";
11
11
  import { c as controllerSymbol, s as shouldBypassReadOnly } from "./ControllerInternals-D2JYGiUO.js";
12
- import { C as ControllerManager, a as autoDestroyDisabledPropName } from "./ControllerManager-S03KWzF3.js";
12
+ import { C as ControllerManager, a as autoDestroyDisabledPropName } from "./ControllerManager-DFn8sm5s.js";
13
13
  import { propertyFlagAttribute, propertyFlagUseDefault, propertyFlagNoAccessor, propertyFlagReadOnly, propertyFlagState, propertyFlagBoolean, propertyFlagNumber, propertyFlagReflect } from "./config.js";
14
14
  import { classMap } from "lit/directives/class-map.js";
15
15
  import { styleMap } from "lit/directives/style-map.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/lumina",
3
- "version": "5.1.0-next.78",
3
+ "version": "5.1.0-next.79",
4
4
  "description": "Runtime for WebGIS SDK web components",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -32,7 +32,7 @@
32
32
  "dependencies": {
33
33
  "csstype": "^3.1.3",
34
34
  "tslib": "^2.8.1",
35
- "@arcgis/toolkit": "~5.1.0-next.78"
35
+ "@arcgis/toolkit": "~5.1.0-next.79"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@lit/context": "^1.1.6",
@@ -83,12 +83,12 @@ class ControllerManager extends GenericController {
83
83
  // would need to make it async in the future
84
84
  // eslint-disable-next-line @typescript-eslint/require-await
85
85
  async destroy() {
86
- if (process.env.NODE_ENV !== "production" && isEsriInternalEnv()) {
87
- this.devOnly$ensureHasDestroy?.();
88
- }
89
86
  if (this.destroyed) {
90
87
  return;
91
88
  }
89
+ if (process.env.NODE_ENV !== "production" && isEsriInternalEnv()) {
90
+ this.devOnly$ensureHasDestroy?.();
91
+ }
92
92
  if (this.#component.el.isConnected) {
93
93
  this.hasDestroy = false;
94
94
  this.#component.el.remove();