@trops/dash-core 0.1.768 → 0.1.770
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.esm.js +8 -20
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -20
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -2707,28 +2707,16 @@ var ThemeWrapper = function ThemeWrapper(_ref) {
|
|
|
2707
2707
|
}, [chosenTheme, themeVariant]);
|
|
2708
2708
|
|
|
2709
2709
|
// Don't render children until theme is loaded AND splash screen minimum time has passed
|
|
2710
|
+
// The splash has no background of its own: the app's (body) shows
|
|
2711
|
+
// through, so the screen is one colour while it loads — a fill of its
|
|
2712
|
+
// own showed as a mismatched block whenever part of it repainted late.
|
|
2713
|
+
// Just the wordmark — no progress bar.
|
|
2710
2714
|
if (!chosenTheme || !splashDone) {
|
|
2711
2715
|
return /*#__PURE__*/jsx("div", {
|
|
2712
|
-
className: "flex items-center justify-center w-screen h-screen
|
|
2713
|
-
children: /*#__PURE__*/
|
|
2714
|
-
className: "
|
|
2715
|
-
children:
|
|
2716
|
-
className: "text-white text-2xl font-bold tracking-tight opacity-80",
|
|
2717
|
-
children: "Dash."
|
|
2718
|
-
}), /*#__PURE__*/jsx("div", {
|
|
2719
|
-
className: "w-16 h-0.5 bg-gray-700 rounded-full overflow-hidden",
|
|
2720
|
-
children: /*#__PURE__*/jsx("div", {
|
|
2721
|
-
className: "h-full bg-gray-500 rounded-full",
|
|
2722
|
-
style: {
|
|
2723
|
-
width: "100%",
|
|
2724
|
-
transform: "scaleX(0)",
|
|
2725
|
-
transformOrigin: "left",
|
|
2726
|
-
animation: "splashProgress 1.5s ease-out forwards"
|
|
2727
|
-
}
|
|
2728
|
-
})
|
|
2729
|
-
}), /*#__PURE__*/jsx("style", {
|
|
2730
|
-
children: "\n @keyframes splashProgress {\n 0% { transform: scaleX(0); }\n 100% { transform: scaleX(1); }\n }\n "
|
|
2731
|
-
})]
|
|
2716
|
+
className: "flex items-center justify-center w-screen h-screen",
|
|
2717
|
+
children: /*#__PURE__*/jsx("span", {
|
|
2718
|
+
className: "text-white text-2xl font-bold tracking-tight opacity-80",
|
|
2719
|
+
children: "Dash."
|
|
2732
2720
|
})
|
|
2733
2721
|
});
|
|
2734
2722
|
}
|