@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/css/scaffold.css +5 -35
- package/dist/{core-D0uN-4lt.cjs → core-Cs-VWZ5H.cjs} +1 -1
- package/dist/{core-oOQWnSRW.js → core-DBjFFC_n.js} +83 -83
- package/dist/core.cjs.js +1 -1
- package/dist/core.esm.js +1 -1
- package/dist/css/scaffold.css +5 -35
- package/dist/kupola.cjs.js +1 -1
- package/dist/kupola.css +5 -35
- package/dist/kupola.esm.js +2 -2
- package/dist/kupola.min.css +1 -1
- package/dist/plugins/vite-plugin-kupola.js +13 -2
- package/dist/plugins/webpack-plugin-kupola.js +13 -2
- package/dist/theme-preload.js +72 -4
- package/dist/theme-standalone.js +161 -104
- package/js/theme-preload.js +72 -4
- package/js/theme-standalone.js +161 -104
- package/js/theme.js +371 -371
- package/package.json +1 -1
- package/plugins/vite-plugin-kupola.js +15 -4
- package/plugins/webpack-plugin-kupola.js +14 -3
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)
|
|
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
|
-
|
|
1359
|
+
transition: opacity 0.15s ease-out;
|
|
1376
1360
|
}
|
|
1377
1361
|
|
|
1378
|
-
.
|
|
1379
|
-
|
|
1380
|
-
|
|
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 {
|
package/dist/kupola.esm.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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;
|