create-skybridge 0.0.0-dev.da22f74 → 0.0.0-dev.da45681
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/package.json
CHANGED
package/template/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button } from "@alpic-ai/ui/components/button";
|
|
2
|
-
import {
|
|
2
|
+
import { Check } from "lucide-react";
|
|
3
3
|
|
|
4
4
|
export default function Nav({
|
|
5
5
|
current,
|
|
@@ -23,7 +23,7 @@ export default function Nav({
|
|
|
23
23
|
disabled={current === total - 1}
|
|
24
24
|
onClick={() => onChange(Math.min(current + 1, total - 1))}
|
|
25
25
|
>
|
|
26
|
-
<
|
|
26
|
+
<Check />
|
|
27
27
|
Next
|
|
28
28
|
</Button>
|
|
29
29
|
</div>
|
|
@@ -33,7 +33,7 @@ export default function ToolOutput() {
|
|
|
33
33
|
<DocLink href="https://docs.skybridge.tech/api-reference/use-tool-info">
|
|
34
34
|
useToolInfo
|
|
35
35
|
</DocLink>{" "}
|
|
36
|
-
to
|
|
36
|
+
to hydrate the view with tool input, output and metadata.
|
|
37
37
|
</Doc>
|
|
38
38
|
</>
|
|
39
39
|
);
|
|
@@ -28,7 +28,7 @@ export default function Onboarding() {
|
|
|
28
28
|
<div
|
|
29
29
|
className={`${theme === "dark" ? "dark" : ""} mx-auto w-full max-w-4xl rounded-xl border border-border overflow-hidden bg-background text-foreground`}
|
|
30
30
|
>
|
|
31
|
-
<div className="min-h-
|
|
31
|
+
<div className="min-h-136 md:min-h-95 flex flex-col items-center gap-6 p-6 bg-linear-to-br from-purple-50 via-white to-cyan-50 dark:from-purple-950/30 dark:via-zinc-950 dark:to-cyan-900/30 bg-size-[200%_200%] animate-aurora md:flex-row md:items-stretch">
|
|
32
32
|
<div className="shrink-0 self-center animate-float">
|
|
33
33
|
<img
|
|
34
34
|
src={img}
|
|
@@ -51,8 +51,8 @@ export function useMascot() {
|
|
|
51
51
|
hat,
|
|
52
52
|
changeHat: () => {
|
|
53
53
|
setState((prev) => {
|
|
54
|
-
const
|
|
55
|
-
const next =
|
|
54
|
+
const currentIndex = prev.hat ? LABELS.indexOf(prev.hat) : -1;
|
|
55
|
+
const next = LABELS[(currentIndex + 1) % LABELS.length];
|
|
56
56
|
return { ...prev, hat: next };
|
|
57
57
|
});
|
|
58
58
|
},
|