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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-skybridge",
3
- "version": "0.0.0-dev.da22f74",
3
+ "version": "0.0.0-dev.da45681",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Alpic",
@@ -17,7 +17,7 @@
17
17
  "lucide-react": "^1.14.0",
18
18
  "react": "^19.2.4",
19
19
  "react-dom": "^19.2.4",
20
- "skybridge": ">=0.0.0-dev.da22f74",
20
+ "skybridge": ">=0.0.0-dev.da45681",
21
21
  "sonner": "^2.0.7",
22
22
  "tw-animate-css": "^1.4.0",
23
23
  "vite": "^8.0.3",
@@ -1,5 +1,5 @@
1
1
  import { Button } from "@alpic-ai/ui/components/button";
2
- import { CheckCheck } from "lucide-react";
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
- <CheckCheck />
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 hydrates the view with tool input, output and metadata.
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-[34rem] md:min-h-95 flex flex-col items-center gap-6 p-6 bg-gradient-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-[length:200%_200%] animate-aurora md:flex-row md:items-stretch">
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 others = LABELS.filter((l) => l !== prev.hat);
55
- const next = others[Math.floor(Math.random() * others.length)];
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
  },