@betorigami/game-ui-shared 2.0.0 → 2.0.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.mjs +1 -24
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -14222,28 +14222,6 @@ const Xs = (e) => {
|
|
|
14222
14222
|
-webkit-overflow-scrolling: touch;
|
|
14223
14223
|
}
|
|
14224
14224
|
}
|
|
14225
|
-
|
|
14226
|
-
.loading-overlay {
|
|
14227
|
-
position: absolute;
|
|
14228
|
-
inset: 0;
|
|
14229
|
-
z-index: 9999;
|
|
14230
|
-
display: var(--loading-overlay-display);
|
|
14231
|
-
background: var(--loading-background, var(--background-tertiary));
|
|
14232
|
-
transition: transform 0.3s ease-out;
|
|
14233
|
-
will-change: transform;
|
|
14234
|
-
}
|
|
14235
|
-
|
|
14236
|
-
.loading-overlay.loaded {
|
|
14237
|
-
pointer-events: none;
|
|
14238
|
-
transform: translateY(-100%);
|
|
14239
|
-
}
|
|
14240
|
-
|
|
14241
|
-
@media (prefers-reduced-motion: reduce) {
|
|
14242
|
-
.loading-overlay {
|
|
14243
|
-
transition: none;
|
|
14244
|
-
}
|
|
14245
|
-
}
|
|
14246
|
-
|
|
14247
14225
|
`;
|
|
14248
14226
|
var Fh = Object.defineProperty, Nh = Object.getOwnPropertyDescriptor, b = (e, t, a, i) => {
|
|
14249
14227
|
for (var o = i > 1 ? void 0 : i ? Nh(t, a) : t, n = e.length - 1, r; n >= 0; n--)
|
|
@@ -14326,7 +14304,7 @@ let y = class extends T {
|
|
|
14326
14304
|
super.disconnectedCallback(), this.removeEventListener("lock-ui", this.handleLockUi), this.cleanupResizeObserver(), this._soundEffects.destroy(), this._haptics.destroy();
|
|
14327
14305
|
}
|
|
14328
14306
|
updated(e) {
|
|
14329
|
-
super.updated(e), e.has("baseUrl") && this.fetchPublicKey(), this.publish();
|
|
14307
|
+
super.updated(e), e.has("baseUrl") && this.fetchPublicKey(), this.toggleAttribute("loaded", this.hasLoadedBalance), this.publish();
|
|
14330
14308
|
}
|
|
14331
14309
|
get isDemoMode() {
|
|
14332
14310
|
return !this.authToken || !this.baseUrl;
|
|
@@ -14507,7 +14485,6 @@ let y = class extends T {
|
|
|
14507
14485
|
`;
|
|
14508
14486
|
return c`
|
|
14509
14487
|
<div style=${this.isDesktop ? t : ""}>${e}</div>
|
|
14510
|
-
<div class=${I({ "loading-overlay": !0, loaded: this.hasLoadedBalance })}></div>
|
|
14511
14488
|
`;
|
|
14512
14489
|
}
|
|
14513
14490
|
};
|
package/package.json
CHANGED