@arcgis/lumina 4.32.0-next.19 → 4.32.0-next.20

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 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -352,6 +352,7 @@ var ProxyComponent = class extends HtmlElement {
352
352
  _initializeComponent(module) {
353
353
  const ProxyClass = this.constructor;
354
354
  const tagName = ProxyClass._name;
355
+ const store = this._store;
355
356
  if (process.env.NODE_ENV !== "production") {
356
357
  Object.entries(module).forEach(([name, LitConstructor2]) => {
357
358
  if (name !== "exportsForTests" && typeof LitConstructor2 !== "function" || typeof LitConstructor2.tagName !== "string") {
@@ -405,6 +406,7 @@ var ProxyComponent = class extends HtmlElement {
405
406
  } else {
406
407
  this._litElement = litElement;
407
408
  }
409
+ this._store = litElement;
408
410
  this._pendingAttributes.forEach((name) => {
409
411
  const value = this.getAttribute(name);
410
412
  litElement.attributeChangedCallback(
@@ -414,8 +416,7 @@ var ProxyComponent = class extends HtmlElement {
414
416
  value
415
417
  );
416
418
  });
417
- Object.entries(this._store).forEach(syncLitElement, litElement);
418
- this._store = litElement;
419
+ Object.entries(store).forEach(syncLitElement, litElement);
419
420
  if (process.env.NODE_ENV !== "production") {
420
421
  const litObserved = LitConstructor.observedAttributes ?? [];
421
422
  const lazyObserved = ProxyClass.observedAttributes ?? [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/lumina",
3
- "version": "4.32.0-next.19",
3
+ "version": "4.32.0-next.20",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -19,8 +19,8 @@
19
19
  ],
20
20
  "license": "SEE LICENSE IN LICENSE.md",
21
21
  "dependencies": {
22
- "@arcgis/components-controllers": "4.32.0-next.19",
23
- "@arcgis/components-utils": "4.32.0-next.19",
22
+ "@arcgis/components-controllers": "4.32.0-next.20",
23
+ "@arcgis/components-utils": "4.32.0-next.20",
24
24
  "@lit-labs/ssr": "^3.2.2",
25
25
  "@lit-labs/ssr-client": "^1.1.7",
26
26
  "csstype": "^3.1.3",