Skip to content

Commit 874c277

Browse files
committed
wip
1 parent 5c95955 commit 874c277

File tree

8 files changed

+944
-884
lines changed

8 files changed

+944
-884
lines changed

pnpm-lock.yaml

+926-866
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

www/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"npm-to-yarn": "^3.0.0",
4949
"react": "19.0.0",
5050
"react-aria": "^3.33.0",
51-
"react-aria-components": "^1.6.0",
51+
"react-aria-components": "^1.7.0",
5252
"react-dom": "19.0.0",
5353
"react-hook-form": "^7.54.2",
5454
"react-resizable-panels": "^2.0.19",
@@ -58,7 +58,7 @@
5858
"sharp": "^0.33.2",
5959
"shiki": "^2.2.0",
6060
"tailwind-merge": "^2.2.0",
61-
"tailwind-variants": "^0.3.1",
61+
"tailwind-variants": "^1.0.0",
6262
"tsx": "^4.7.1",
6363
"unified": "^11.0.5",
6464
"unist-util-visit": "^5.0.0",
@@ -81,6 +81,7 @@
8181
"tailwindcss": "4.0.0",
8282
"tailwindcss-animate": "^1.0.7",
8383
"tailwindcss-rac": "workspace:*",
84+
"tailwindcss-react-aria-components": "^2.0.0",
8485
"typescript": "^5",
8586
"vfile": "^6.0.3"
8687
}

www/src/app/(home)/page.tsx

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"use client";
22

33
import React from "react";
4-
import { LayoutTemplateIcon } from "lucide-react";
54
import { Link } from "react-aria-components";
65
import { Announcement } from "@/components/announcement";
76
import { Button } from "@/components/core/button";
@@ -27,7 +26,7 @@ export default function HomePage() {
2726
<span className="font-bold italic">unique</span> look.
2827
</h1>
2928
<p className="text-fg-muted text-balace mt-2 text-lg">
30-
Over 40 components available in multiple variants ready to match
29+
Over 40 components available in differents styles ready to match
3130
your brand identity.
3231
</p>
3332
<div className="mt-4 flex flex-col gap-2 sm:flex-row sm:items-center sm:gap-4">
@@ -37,15 +36,15 @@ export default function HomePage() {
3736
size="lg"
3837
className="h-10"
3938
>
40-
Create your library
39+
Get started
4140
</Button>
4241
<Button
4342
href="/themes"
4443
variant="outline"
4544
size="lg"
4645
className="bg-bg-inverse/5 h-10"
4746
>
48-
Explore docs
47+
Explore themes
4948
</Button>
5049
</div>
5150
</section>

www/src/components/announcement.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import { Button } from "@/registry/core/button_basic";
44
export function Announcement() {
55
return (
66
<Button
7-
href="/themes"
7+
href="/docs/getting-started/introduction"
88
prefix={<LayoutTemplateIcon />}
99
variant="outline"
1010
className="bg-bg-inverse/5 text-fg-muted mb-3 h-7 rounded-lg text-xs [&_svvg]:size-4"
1111
>
12-
Introducing blocks
12+
Introducing dotUI beta
1313
</Button>
1414
);
1515
}

www/src/components/logo.tsx

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import Link from "next/link";
22
import { cn } from "@/lib/utils";
33
import { siteConfig } from "@/config";
4+
import { Badge } from "./core/badge";
45

56
export const Logo = ({
67
extanded = true,
@@ -49,9 +50,12 @@ export const Logo = ({
4950
</g>
5051
</svg>
5152
{extanded && (
52-
<div className="font-josefin group-data-collapsed/sidebar:opacity-0 mt-1.5 text-base font-bold leading-normal tracking-tighter transition-colors">
53-
{siteConfig.global.name}
54-
</div>
53+
<>
54+
<div className="font-josefin group-data-collapsed/sidebar:opacity-0 mt-1.5 text-base font-bold leading-normal tracking-tighter transition-colors">
55+
{siteConfig.global.name}
56+
</div>
57+
<Badge className="border mt-0.5 px-2 group-data-collapsed/sidebar:opacity-0">beta</Badge>
58+
</>
5559
)}
5660
</Link>
5761
);

www/src/modules/themes/components/font-selector.tsx

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
import React from "react";
44
import { ChevronDownIcon } from "lucide-react";
55
import { useInView } from "motion/react";
6-
import {
7-
UNSTABLE_Virtualizer as Virtualizer,
8-
UNSTABLE_ListLayout as ListLayout,
9-
useFilter,
10-
} from "react-aria-components";
6+
import { Virtualizer, ListLayout, useFilter } from "react-aria-components";
117
import { cn } from "@/lib/utils";
128
import { Button } from "@/components/core/button";
139
import { CommandRoot } from "@/components/core/command";

www/src/registry/core/command_basic.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use client";
22

33
import React from "react";
4-
import { UNSTABLE_Autocomplete as AriaAutocomplete } from "react-aria-components";
4+
import { Autocomplete as AriaAutocomplete } from "react-aria-components";
55
import { tv } from "tailwind-variants";
66

77
const commandStyles = tv({

www/src/styles/globals.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import "tailwindcss";
22
@plugin "tailwindcss-animate";
3-
@plugin "tailwindcss-rac";
3+
@plugin "tailwindcss-react-aria-components";
44
@import "./docs.css";
55
@import "./themes.css";
66

0 commit comments

Comments
 (0)