@kupola/kupola 1.9.11 → 1.9.13

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/kupola.css CHANGED
@@ -1354,44 +1354,14 @@
1354
1354
  * { box-sizing: border-box; margin: 0; padding: 0; }
1355
1355
 
1356
1356
  /* ===== Theme Loading ===== */
1357
- body:not(.theme-initialized) > :not(.ds-theme-loader) {
1358
- opacity: 0 !important;
1359
- }
1360
-
1361
- .ds-theme-loader {
1362
- position: fixed;
1363
- inset: 0;
1364
- display: flex;
1365
- flex-direction: column;
1366
- align-items: center;
1367
- justify-content: center;
1368
- background: var(--bg-base-default);
1369
- z-index: 9999;
1370
- transition: opacity 0.3s ease;
1371
- }
1372
-
1373
- body.theme-initialized .ds-theme-loader {
1357
+ body:not(.theme-initialized):not([data-kupola-theme-preloaded]) {
1374
1358
  opacity: 0;
1375
- pointer-events: none;
1359
+ transition: opacity 0.15s ease-out;
1376
1360
  }
1377
1361
 
1378
- .ds-theme-loader__spinner {
1379
- width: 32px;
1380
- height: 32px;
1381
- border: 2px solid var(--border-neutral-l2);
1382
- border-top-color: var(--bg-brand);
1383
- border-radius: 50%;
1384
- animation: ds-spin 0.8s linear infinite;
1385
- }
1386
-
1387
- .ds-theme-loader__text {
1388
- margin-top: 16px;
1389
- color: var(--text-secondary);
1390
- font-size: 14px;
1391
- }
1392
-
1393
- @keyframes ds-spin {
1394
- to { transform: rotate(360deg); }
1362
+ body.theme-initialized,
1363
+ body[data-kupola-theme-preloaded] {
1364
+ opacity: 1;
1395
1365
  }
1396
1366
 
1397
1367
  html, body {
@@ -1,5 +1,5 @@
1
- import { g as getUiConfig, a as globalEvents, b as getZIndexConfig, k as kupolaInitializer, c as getNotificationConfig, d as getMessageConfig, e as getValidationConfig, f as getPerformanceConfig, r as ref } from "./core-oOQWnSRW.js";
2
- import { B, C, h, i, D, j, F, l, G, K, m, n, o, p, q, s, t, u, R, S, v, w, W, x, y, z, A, E, H, I, J, L, M, N, O, P, Q, T, U, V, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN } from "./core-oOQWnSRW.js";
1
+ import { g as getUiConfig, a as globalEvents, b as getZIndexConfig, k as kupolaInitializer, c as getNotificationConfig, d as getMessageConfig, e as getValidationConfig, f as getPerformanceConfig, r as ref } from "./core-DBjFFC_n.js";
2
+ import { B, C, h, i, D, j, F, l, G, K, m, n, o, p, q, s, t, u, R, S, v, w, W, x, y, z, A, E, H, I, J, L, M, N, O, P, Q, T, U, V, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN } from "./core-DBjFFC_n.js";
3
3
  class Dropdown {
4
4
  constructor(element, options = {}) {
5
5
  this.element = element;