@zuplo/editor 1.0.28255650372 → 1.0.28257168054
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/client/index.html
CHANGED
|
@@ -9,8 +9,6 @@
|
|
|
9
9
|
try {
|
|
10
10
|
var root = document.documentElement;
|
|
11
11
|
var pref = localStorage.getItem("zuplo-color-scheme");
|
|
12
|
-
// Default to light until the user explicitly opts into dark (or picks
|
|
13
|
-
// "system"). Only those stored values are honoured; anything else → light.
|
|
14
12
|
if (pref !== "light" && pref !== "dark" && pref !== "system") {
|
|
15
13
|
pref = "light";
|
|
16
14
|
}
|
|
@@ -26,10 +24,6 @@
|
|
|
26
24
|
})();
|
|
27
25
|
</script>
|
|
28
26
|
<style>
|
|
29
|
-
/* Pre-paint document backdrop. Black in dark mode so a refresh / heavy route
|
|
30
|
-
change never flashes white before the app CSS bundle paints. Matches on the
|
|
31
|
-
first frame because the script above sets `.dark` pre-paint; app surfaces
|
|
32
|
-
(body/cards) paint on top via --background / --card. */
|
|
33
27
|
html.dark {
|
|
34
28
|
background-color: #000000;
|
|
35
29
|
}
|
|
@@ -43,12 +37,6 @@
|
|
|
43
37
|
align-items: center;
|
|
44
38
|
justify-content: center;
|
|
45
39
|
}
|
|
46
|
-
/* The loader is a single DOM element outside the React root (see index.html);
|
|
47
|
-
the app only flips data-active to show/hide it. It is never re-created, so
|
|
48
|
-
the pulse animation below runs continuously and never restarts from React
|
|
49
|
-
re-renders or Suspense churn. Hidden instantly (no fade) so it can't ghost
|
|
50
|
-
over freshly-revealed content. No data-active attribute => visible (the
|
|
51
|
-
pre-paint default while the bundle loads). */
|
|
52
40
|
.zuplo-app-loader-screen[data-active="false"] {
|
|
53
41
|
visibility: hidden;
|
|
54
42
|
pointer-events: none;
|
|
@@ -61,8 +49,6 @@
|
|
|
61
49
|
align-items: center;
|
|
62
50
|
justify-content: center;
|
|
63
51
|
}
|
|
64
|
-
/* Pulsing halo: a brand-colour disc expanding + fading behind the solid disc,
|
|
65
|
-
so only the growing fringe shows as a ring (matches Tailwind animate-ping). */
|
|
66
52
|
.zuplo-app-loader-halo {
|
|
67
53
|
position: absolute;
|
|
68
54
|
width: 3.5rem;
|
|
@@ -83,9 +69,12 @@
|
|
|
83
69
|
background-color: #ff00bd;
|
|
84
70
|
}
|
|
85
71
|
.zuplo-app-loader-mark {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
72
|
+
/* Sized just larger than the 40px nav logo (h-10) so the loader's mark —
|
|
73
|
+
painted at HTML parse, before React/auth — stays the LCP candidate and
|
|
74
|
+
isn't superseded once the real nav logo renders late in the boot chain. */
|
|
75
|
+
width: 3rem;
|
|
76
|
+
height: 3rem;
|
|
77
|
+
object-fit: contain;
|
|
89
78
|
}
|
|
90
79
|
.zuplo-app-loader-mark--akamai {
|
|
91
80
|
display: none;
|
|
@@ -143,13 +132,7 @@
|
|
|
143
132
|
<div class="zuplo-app-loader-disc-wrap">
|
|
144
133
|
<span class="zuplo-app-loader-halo"></span>
|
|
145
134
|
<span class="zuplo-app-loader-disc">
|
|
146
|
-
<
|
|
147
|
-
<g fill-rule="nonzero" fill="none">
|
|
148
|
-
<path d="M0 0h308v308H0z" />
|
|
149
|
-
<path d="M214.523 182.007h-74.088l78.939-79.076a5.34 5.34 0 0 0-.807-8.204 5.314 5.314 0 0 0-2.957-.899H90.239V41.364h137.515a53.31 53.31 0 0 1 28.617 7.922 53.444 53.444 0 0 1 19.967 22.011 52.117 52.117 0 0 1 4.221 31.194 52.062 52.062 0 0 1-14.508 27.924l-51.528 51.592Z" fill="currentColor" />
|
|
150
|
-
<path d="M90.24 119.097h74.092l-78.781 78.917a5.431 5.431 0 0 0-1.172 5.912 5.423 5.423 0 0 0 5.001 3.351h125.017v52.464H77.016a53.322 53.322 0 0 1-28.616-7.923 53.453 53.453 0 0 1-19.968-22.011 52.109 52.109 0 0 1-4.219-31.194 52.059 52.059 0 0 1 14.51-27.924l51.517-51.592Z" fill="currentColor" />
|
|
151
|
-
</g>
|
|
152
|
-
</svg>
|
|
135
|
+
<img class="zuplo-app-loader-mark zuplo-app-loader-mark--zuplo" src="/zuplo_white.svg" alt="" fetchpriority="high" />
|
|
153
136
|
<svg class="zuplo-app-loader-mark zuplo-app-loader-mark--akamai" viewBox="344.42 285.18 451 489.75" xmlns="http://www.w3.org/2000/svg" fill="currentColor" aria-hidden="true">
|
|
154
137
|
<path d="M592.85,764.11c-100.8-30.77-174.12-123.92-174.12-234.05s74.88-205.29,177.4-235.02c10.48-3.06,7.73-9.86-4.91-9.86-136.28,0-246.8,109.69-246.8,244.89s110.51,244.86,246.8,244.86c12.63,0,13.14-7.3,1.63-10.81Z" />
|
|
155
138
|
<path d="M465.48,587.42c-.68-6.58-1.01-13.23-1.01-19.94,0-107.36,87.05-194.39,194.43-194.39,101.52,0,132,45.31,135.78,42.35,4.12-3.26-36.84-93.07-156.05-93.07-107.39,0-194.44,87.03-194.44,194.39,0,24.84,4.65,48.52,13.13,70.31,3.58,9.14,9.08,9.22,8.17.35Z" />
|