@konomi-app/ui 5.8.0 → 5.8.1

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 CHANGED
@@ -673,7 +673,7 @@ updateItemStatus_fn = function(key, itemKey, status) {
673
673
 
674
674
  // src/overlay-dialog.ts
675
675
  import { LitElement, html, nothing } from "lit";
676
- import { customElement, property, state } from "lit/decorators.js";
676
+ import { property, state } from "lit/decorators.js";
677
677
  import { keyed } from "lit/directives/keyed.js";
678
678
  import { unsafeHTML } from "lit/directives/unsafe-html.js";
679
679
 
@@ -2166,9 +2166,9 @@ __decorateClass([
2166
2166
  __decorateClass([
2167
2167
  state()
2168
2168
  ], OverlayDialog.prototype, "_isClosing", 2);
2169
- OverlayDialog = __decorateClass([
2170
- customElement("overlay-dialog")
2171
- ], OverlayDialog);
2169
+ if (!customElements.get("overlay-dialog")) {
2170
+ customElements.define("overlay-dialog", OverlayDialog);
2171
+ }
2172
2172
 
2173
2173
  // src/dialog.ts
2174
2174
  var _controller, _element, _DialogSingleton_instances, ensureElement_fn;
@@ -2517,7 +2517,7 @@ enforceMaxVisible_fn = function() {
2517
2517
 
2518
2518
  // src/toast/toast-container.ts
2519
2519
  import { LitElement as LitElement2, html as html2, nothing as nothing2 } from "lit";
2520
- import { customElement as customElement2, property as property2, state as state2 } from "lit/decorators.js";
2520
+ import { property as property2, state as state2 } from "lit/decorators.js";
2521
2521
  import { repeat } from "lit/directives/repeat.js";
2522
2522
 
2523
2523
  // src/toast/styles.ts
@@ -3172,9 +3172,9 @@ __decorateClass([
3172
3172
  __decorateClass([
3173
3173
  state2()
3174
3174
  ], ToastContainer.prototype, "_state", 2);
3175
- ToastContainer = __decorateClass([
3176
- customElement2("toast-container")
3177
- ], ToastContainer);
3175
+ if (!customElements.get("toast-container")) {
3176
+ customElements.define("toast-container", ToastContainer);
3177
+ }
3178
3178
 
3179
3179
  // src/toast/toast.ts
3180
3180
  var _controller2, _element2, _ToastSingleton_instances, ensureElement_fn2;