gavaengine 0.1.0 → 0.1.2
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/{chunk-CE7E5MAB.js → chunk-3C3AAR3S.js} +6 -7
- package/dist/{chunk-CE7E5MAB.js.map → chunk-3C3AAR3S.js.map} +1 -1
- package/dist/{chunk-GGD7I4JO.js → chunk-BVLJYZ6T.js} +2 -3
- package/dist/chunk-BVLJYZ6T.js.map +1 -0
- package/dist/{chunk-KCQJHXZP.js → chunk-D5PTZWTT.js} +2 -2
- package/dist/cli/index.js +0 -1
- package/dist/components/index.js +2 -2
- package/dist/handlers/index.d.ts +0 -1
- package/dist/handlers/index.js +1 -2
- package/dist/handlers/index.js.map +1 -1
- package/dist/{index-CIX0MBHm.d.ts → index-B1ZYC5TP.d.ts} +0 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/providers/index.d.ts +1 -1
- package/dist/providers/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-GGD7I4JO.js.map +0 -1
- /package/dist/{chunk-KCQJHXZP.js.map → chunk-D5PTZWTT.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
useGavaActions,
|
|
4
4
|
useGavaConfig,
|
|
5
5
|
useSplash
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BVLJYZ6T.js";
|
|
7
7
|
|
|
8
8
|
// src/components/editor/ArticleEditor.tsx
|
|
9
9
|
import { useState as useState6, useEffect as useEffect4, useCallback as useCallback4, useRef as useRef3 } from "react";
|
|
@@ -2629,16 +2629,15 @@ function StatCard({
|
|
|
2629
2629
|
}
|
|
2630
2630
|
|
|
2631
2631
|
// src/components/splash/SplashScreen.tsx
|
|
2632
|
-
import { useMemo } from "react";
|
|
2633
2632
|
import { jsx as jsx16, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2634
|
-
|
|
2635
|
-
|
|
2633
|
+
var SPLASH_WORDS = ["Powerful", "Flexible", "Modular", "Secure", "Customizable"];
|
|
2634
|
+
function pickRandom3() {
|
|
2635
|
+
const shuffled = [...SPLASH_WORDS].sort(() => Math.random() - 0.5);
|
|
2636
2636
|
return shuffled.slice(0, 3);
|
|
2637
2637
|
}
|
|
2638
|
+
var words = pickRandom3();
|
|
2638
2639
|
function SplashScreen() {
|
|
2639
2640
|
const { phase } = useSplash();
|
|
2640
|
-
const { branding } = useGavaConfig();
|
|
2641
|
-
const words = useMemo(() => pickRandom3(branding.splashWords), [branding.splashWords]);
|
|
2642
2641
|
if (phase === "idle") return null;
|
|
2643
2642
|
const topClass = phase === "closing" ? "splash-enter-down" : phase === "opening" ? "splash-exit-up" : "";
|
|
2644
2643
|
const bottomClass = phase === "closing" ? "splash-enter-up" : phase === "opening" ? "splash-exit-down" : "";
|
|
@@ -2713,4 +2712,4 @@ export {
|
|
|
2713
2712
|
SplashScreen,
|
|
2714
2713
|
DashboardSplashTrigger
|
|
2715
2714
|
};
|
|
2716
|
-
//# sourceMappingURL=chunk-
|
|
2715
|
+
//# sourceMappingURL=chunk-3C3AAR3S.js.map
|