From f78a4aaa28923a363bf17e6a5aad4b7b80a692bd Mon Sep 17 00:00:00 2001 From: shadcn Date: Tue, 4 Jul 2023 17:04:22 +0400 Subject: [PATCH] chore(www): site updates (#829) * chore(www): update to latest Next.js * feat(www): replace lucide icons --- apps/www/app/docs/[[...slug]]/page.tsx | 5 +- apps/www/app/examples/authentication/page.tsx | 15 +- .../examples/cards/components/github-card.tsx | 21 ++- .../cards/components/notifications.tsx | 8 +- .../cards/components/payment-method.tsx | 16 +- .../cards/components/report-an-issue.tsx | 5 +- .../cards/components/team-members.tsx | 6 +- apps/www/app/examples/cards/page.tsx | 3 +- apps/www/app/examples/cards/styles.css | 63 ------- .../components/date-range-picker.tsx | 2 +- .../dashboard/components/team-switcher.tsx | 13 +- .../dashboard/components/user-nav.tsx | 19 +- apps/www/app/examples/dashboard/page.tsx | 61 ++++++- .../examples/forms/account/account-form.tsx | 6 +- .../forms/appearance/appearance-form.tsx | 4 +- .../app/examples/forms/notifications/page.tsx | 1 - apps/www/app/examples/layout.tsx | 4 +- .../music/components/album-artwork.tsx | 19 +- .../app/examples/music/components/menu.tsx | 30 +++- .../components/podcast-empty-placeholder.tsx | 19 +- .../app/examples/music/components/sidebar.tsx | 151 +++++++++++++--- apps/www/app/examples/music/page.tsx | 10 +- apps/www/app/examples/music/styles.css | 65 ------- .../examples/playground/components/icons.tsx | 153 ---------------- .../playground/components/model-selector.tsx | 6 +- .../playground/components/preset-actions.tsx | 6 +- .../playground/components/preset-selector.tsx | 6 +- .../playground/components/preset-share.tsx | 4 +- apps/www/app/examples/playground/page.tsx | 166 ++++++++++++++++-- apps/www/app/examples/playground/styles.css | 65 ------- .../components/data-table-column-header.tsx | 19 +- .../components/data-table-faceted-filter.tsx | 8 +- .../components/data-table-pagination.tsx | 20 +-- .../components/data-table-row-actions.tsx | 25 +-- .../tasks/components/data-table-toolbar.tsx | 4 +- .../components/data-table-view-options.tsx | 4 +- .../examples/tasks/components/user-nav.tsx | 19 +- apps/www/app/examples/tasks/data/data.tsx | 34 ++-- apps/www/app/page.tsx | 4 +- apps/www/components/callout.tsx | 1 - apps/www/components/command-menu.tsx | 18 +- apps/www/components/component-preview.tsx | 4 +- apps/www/components/copy-button.tsx | 20 +-- apps/www/components/examples-nav.tsx | 4 +- apps/www/components/icons.tsx | 100 ++++------- apps/www/components/mobile-nav.tsx | 4 +- apps/www/components/mode-toggle.tsx | 15 +- apps/www/components/pager.tsx | 6 +- apps/www/package.json | 3 +- pnpm-lock.yaml | 126 ++++++------- 50 files changed, 681 insertions(+), 709 deletions(-) delete mode 100644 apps/www/app/examples/cards/styles.css delete mode 100644 apps/www/app/examples/music/styles.css delete mode 100644 apps/www/app/examples/playground/components/icons.tsx delete mode 100644 apps/www/app/examples/playground/styles.css diff --git a/apps/www/app/docs/[[...slug]]/page.tsx b/apps/www/app/docs/[[...slug]]/page.tsx index a7806347bc..11443efd0c 100644 --- a/apps/www/app/docs/[[...slug]]/page.tsx +++ b/apps/www/app/docs/[[...slug]]/page.tsx @@ -4,7 +4,7 @@ import { allDocs } from "contentlayer/generated" import "@/styles/mdx.css" import type { Metadata } from "next" import Link from "next/link" -import { ChevronRight } from "lucide-react" +import { ChevronRightIcon } from "@radix-ui/react-icons" import Balancer from "react-wrap-balancer" import { siteConfig } from "@/config/site" @@ -16,7 +16,6 @@ import { DocsPager } from "@/components/pager" import { DashboardTableOfContents } from "@/components/toc" import { badgeVariants } from "@/registry/new-york/ui/badge" import { ScrollArea } from "@/registry/new-york/ui/scroll-area" -import { Separator } from "@/registry/new-york/ui/separator" interface DocPageProps { params: { @@ -95,7 +94,7 @@ export default async function DocPage({ params }: DocPageProps) {
Docs
- +
{doc.title}
diff --git a/apps/www/app/examples/authentication/page.tsx b/apps/www/app/examples/authentication/page.tsx index 3207e14c6b..b838f102b8 100644 --- a/apps/www/app/examples/authentication/page.tsx +++ b/apps/www/app/examples/authentication/page.tsx @@ -1,7 +1,6 @@ import { Metadata } from "next" import Image from "next/image" import Link from "next/link" -import { Command } from "lucide-react" import { cn } from "@/lib/utils" import { buttonVariants } from "@/registry/new-york/ui/button" @@ -44,7 +43,19 @@ export default function AuthenticationPage() {
- Acme Inc + + + + Acme Inc
diff --git a/apps/www/app/examples/cards/components/github-card.tsx b/apps/www/app/examples/cards/components/github-card.tsx index b8f464fa95..cc9fc668f4 100644 --- a/apps/www/app/examples/cards/components/github-card.tsx +++ b/apps/www/app/examples/cards/components/github-card.tsx @@ -1,4 +1,9 @@ -import { ChevronDown, Circle, Plus, Star } from "lucide-react" +import { + ChevronDownIcon, + CircleIcon, + PlusIcon, + StarIcon, +} from "@radix-ui/react-icons" import { Button } from "@/registry/new-york/ui/button" import { @@ -31,15 +36,15 @@ export function DemoGithub() {
- - Inspiration - Create List + Create List @@ -66,11 +71,11 @@ export function DemoGithub() {
- + TypeScript
- + 20k
Updated April 2023
diff --git a/apps/www/app/examples/cards/components/notifications.tsx b/apps/www/app/examples/cards/components/notifications.tsx index c2204c0694..c0a2cec57c 100644 --- a/apps/www/app/examples/cards/components/notifications.tsx +++ b/apps/www/app/examples/cards/components/notifications.tsx @@ -1,4 +1,4 @@ -import { AtSign, Bell, BellOff } from "lucide-react" +import { BellIcon, EyeNoneIcon, PersonIcon } from "@radix-ui/react-icons" import { Card, @@ -19,7 +19,7 @@ export function DemoNotifications() {
- +

Everything

@@ -28,7 +28,7 @@ export function DemoNotifications() {

- +

Available

@@ -37,7 +37,7 @@ export function DemoNotifications() {

- +

Ignoring

diff --git a/apps/www/app/examples/cards/components/payment-method.tsx b/apps/www/app/examples/cards/components/payment-method.tsx index 1a2522234e..08f7420c93 100644 --- a/apps/www/app/examples/cards/components/payment-method.tsx +++ b/apps/www/app/examples/cards/components/payment-method.tsx @@ -1,5 +1,3 @@ -import { CreditCard } from "lucide-react" - import { Icons } from "@/components/icons" import { Button } from "@/registry/new-york/ui/button" import { @@ -37,7 +35,19 @@ export function DemoPaymentMethod() { className="flex flex-col items-center justify-between rounded-md border-2 border-muted bg-popover p-4 hover:bg-accent hover:text-accent-foreground [&:has([data-state=checked])]:border-primary" > - + + + + Card

Set the font you want to use in the dashboard. diff --git a/apps/www/app/examples/forms/notifications/page.tsx b/apps/www/app/examples/forms/notifications/page.tsx index 7def678c72..4e0c2547f1 100644 --- a/apps/www/app/examples/forms/notifications/page.tsx +++ b/apps/www/app/examples/forms/notifications/page.tsx @@ -1,5 +1,4 @@ import { Separator } from "@/registry/new-york/ui/separator" -import { AccountForm } from "@/app/examples/forms/account/account-form" import { NotificationsForm } from "@/app/examples/forms/notifications/notifications-form" export default function SettingsNotificationsPage() { diff --git a/apps/www/app/examples/layout.tsx b/apps/www/app/examples/layout.tsx index ff0db74239..2a2a672e4c 100644 --- a/apps/www/app/examples/layout.tsx +++ b/apps/www/app/examples/layout.tsx @@ -1,6 +1,6 @@ import { Metadata } from "next" import Link from "next/link" -import { ChevronRight } from "lucide-react" +import { ArrowRightIcon } from "@radix-ui/react-icons" import { cn } from "@/lib/utils" import { ExamplesNav } from "@/components/examples-nav" @@ -35,7 +35,7 @@ export default function ExamplesLayout({ children }: ExamplesLayoutProps) { Introducing Style, a new CLI and more. - + Check out some examples. diff --git a/apps/www/app/examples/music/components/album-artwork.tsx b/apps/www/app/examples/music/components/album-artwork.tsx index ae9529dfc5..a226c83bcc 100644 --- a/apps/www/app/examples/music/components/album-artwork.tsx +++ b/apps/www/app/examples/music/components/album-artwork.tsx @@ -1,8 +1,7 @@ import Image from "next/image" -import { ListMusic, PlusCircle } from "lucide-react" +import { PlusCircledIcon } from "@radix-ui/react-icons" import { cn } from "@/lib/utils" -import { AspectRatio } from "@/registry/new-york/ui/aspect-ratio" import { ContextMenu, ContextMenuContent, @@ -55,13 +54,25 @@ export function AlbumArtwork({ Add to Playlist - + New Playlist {playlists.map((playlist) => ( - {playlist} + + + + {playlist} ))} diff --git a/apps/www/app/examples/music/components/menu.tsx b/apps/www/app/examples/music/components/menu.tsx index 46b9576df9..b85f16f966 100644 --- a/apps/www/app/examples/music/components/menu.tsx +++ b/apps/www/app/examples/music/components/menu.tsx @@ -1,5 +1,3 @@ -import { Globe, Mic } from "lucide-react" - import { Menubar, MenubarCheckboxItem, @@ -130,13 +128,37 @@ export function Menu() { Smart Dictation...{" "} - + + + + Emoji & Symbols{" "} - + + + + diff --git a/apps/www/app/examples/music/components/podcast-empty-placeholder.tsx b/apps/www/app/examples/music/components/podcast-empty-placeholder.tsx index 0445d9e446..d160cc4a95 100644 --- a/apps/www/app/examples/music/components/podcast-empty-placeholder.tsx +++ b/apps/www/app/examples/music/components/podcast-empty-placeholder.tsx @@ -1,5 +1,3 @@ -import { Plus, Podcast } from "lucide-react" - import { Button } from "@/registry/new-york/ui/button" import { Dialog, @@ -17,7 +15,21 @@ export function PodcastEmptyPlaceholder() { return (
- + + + + + +

No episodes added

You have not added any podcasts. Add one below. @@ -25,7 +37,6 @@ export function PodcastEmptyPlaceholder() {

diff --git a/apps/www/app/examples/music/components/sidebar.tsx b/apps/www/app/examples/music/components/sidebar.tsx index bf71200972..9d197309b4 100644 --- a/apps/www/app/examples/music/components/sidebar.tsx +++ b/apps/www/app/examples/music/components/sidebar.tsx @@ -1,15 +1,3 @@ -import { - LayoutGrid, - Library, - ListMusic, - Mic2, - Music, - Music2, - PlayCircle, - Radio, - User, -} from "lucide-react" - import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york/ui/button" import { ScrollArea } from "@/registry/new-york/ui/scroll-area" @@ -30,15 +18,56 @@ export function Sidebar({ className, playlists }: SidebarProps) {
@@ -49,23 +78,88 @@ export function Sidebar({ className, playlists }: SidebarProps) {
@@ -82,7 +176,22 @@ export function Sidebar({ className, playlists }: SidebarProps) { variant="ghost" className="w-full justify-start font-normal" > - + + + + + + + {playlist} ))} diff --git a/apps/www/app/examples/music/page.tsx b/apps/www/app/examples/music/page.tsx index 6bd227ae8c..40960c6b18 100644 --- a/apps/www/app/examples/music/page.tsx +++ b/apps/www/app/examples/music/page.tsx @@ -1,5 +1,8 @@ import { Metadata } from "next" +import Image from "next/image" +import { PlusCircledIcon } from "@radix-ui/react-icons" +import { Button } from "@/registry/new-york/ui/button" import { ScrollArea, ScrollBar } from "@/registry/new-york/ui/scroll-area" import { Separator } from "@/registry/new-york/ui/separator" import { @@ -15,11 +18,6 @@ import { PodcastEmptyPlaceholder } from "./components/podcast-empty-placeholder" import { Sidebar } from "./components/sidebar" import { listenNowAlbums, madeForYouAlbums } from "./data/albums" import { playlists } from "./data/playlists" -import "./styles.css" -import Image from "next/image" -import { PlusCircle } from "lucide-react" - -import { Button } from "@/registry/new-york/ui/button" export const metadata: Metadata = { title: "Music App", @@ -66,7 +64,7 @@ export default function MusicPage() {
diff --git a/apps/www/app/examples/music/styles.css b/apps/www/app/examples/music/styles.css deleted file mode 100644 index c6ce384e5d..0000000000 --- a/apps/www/app/examples/music/styles.css +++ /dev/null @@ -1,65 +0,0 @@ -[data-section="music"] { - --background: 0 0% 100%; - --foreground: 222.2 47.4% 11.2%; - - --muted: 243 5% 96%; - --muted-foreground: 215.4 16.3% 46.9%; - - --popover: 0 0% 100%; - --popover-foreground: 222.2 47.4% 11.2%; - - --border: 214.3 31.8% 91.4%; - --input: 214.3 31.8% 91.4%; - - --card: 0 0% 100%; - --card-foreground: 222.2 47.4% 11.2%; - - --primary: 349 89% 60%; - --primary-foreground: 0 0% 100%; - - --secondary: 243 11% 4%; - --secondary-foreground: 0 0% 98%; - - --accent: 243 11% 4%; - --accent-foreground: 0 0% 100%; - - --destructive: 0 100% 50%; - --destructive-foreground: 210 40% 98%; - - --ring: 349 89% 60%; - - --radius: 0.5rem; -} - -.dark [data-section="music"] { - --background: 224 71% 4%; - --foreground: 213 31% 91%; - - --muted: 223 47% 11%; - --muted-foreground: 215.4 16.3% 56.9%; - - --accent: 216 34% 17%; - --accent-foreground: 210 40% 98%; - - --popover: 224 71% 4%; - --popover-foreground: 215 20.2% 65.1%; - - --border: 216 34% 17%; - --input: 216 34% 17%; - - --card: 224 71% 4%; - --card-foreground: 213 31% 91%; - - --primary: 349 89% 60%; - --primary-foreground: 0 0% 100%; - - --secondary: 222.2 47.4% 11.2%; - --secondary-foreground: 210 40% 98%; - - --destructive: 0 63% 31%; - --destructive-foreground: 210 40% 98%; - - --ring: 216 34% 17%; - - --radius: 0.5rem; -} diff --git a/apps/www/app/examples/playground/components/icons.tsx b/apps/www/app/examples/playground/components/icons.tsx deleted file mode 100644 index 537f6854be..0000000000 --- a/apps/www/app/examples/playground/components/icons.tsx +++ /dev/null @@ -1,153 +0,0 @@ -import { - AlertTriangle, - ArrowRight, - Check, - ChevronLeft, - ChevronRight, - ClipboardCheck, - Copy, - CreditCard, - Fingerprint, - HelpCircle, - Laptop, - Loader2, - LucideProps, - Moon, - MoreVertical, - Plus, - Settings, - SunMedium, - Trash, - Twitter, - User, - X, - type Icon as LucideIcon, -} from "lucide-react" - -export type Icon = LucideIcon - -export const Icons = { - logo: Fingerprint, - close: X, - spinner: Loader2, - chevronLeft: ChevronLeft, - chevronRight: ChevronRight, - trash: Trash, - settings: Settings, - billing: CreditCard, - ellipsis: MoreVertical, - add: Plus, - warning: AlertTriangle, - user: User, - arrowRight: ArrowRight, - help: HelpCircle, - twitter: Twitter, - check: Check, - copy: Copy, - copyDone: ClipboardCheck, - sun: SunMedium, - moon: Moon, - laptop: Laptop, - gitHub: (props: LucideProps) => ( - - - - ), - completeMode: ({ ...props }: LucideProps) => ( - - - - - - - - - - ), - insertMode: ({ ...props }: LucideProps) => ( - - - - - - - ), - editMode: ({ ...props }: LucideProps) => ( - - - - - - - - - ), -} diff --git a/apps/www/app/examples/playground/components/model-selector.tsx b/apps/www/app/examples/playground/components/model-selector.tsx index 2f09bb84ac..6eefef4945 100644 --- a/apps/www/app/examples/playground/components/model-selector.tsx +++ b/apps/www/app/examples/playground/components/model-selector.tsx @@ -1,8 +1,8 @@ "use client" import * as React from "react" +import { CaretSortIcon, CheckIcon } from "@radix-ui/react-icons" import { PopoverProps } from "@radix-ui/react-popover" -import { Check, ChevronsUpDown } from "lucide-react" import { cn } from "@/lib/utils" import { useMutationObserver } from "@/hooks/use-mutation-observer" @@ -64,7 +64,7 @@ export function ModelSelector({ models, types, ...props }: ModelSelectorProps) { className="w-full justify-between" > {selectedModel ? selectedModel.name : "Select a model..."} - + @@ -152,7 +152,7 @@ function ModelItem({ model, isSelected, onSelect, onPeek }: ModelItemProps) { className="aria-selected:bg-primary aria-selected:text-primary-foreground" > {model.name} - setIsOpen(true)}> - Content filter preferences @@ -55,7 +54,6 @@ export function PresetActions() { onSelect={() => setShowDeleteDialog(true)} className="text-red-600" > - Delete preset diff --git a/apps/www/app/examples/playground/components/preset-selector.tsx b/apps/www/app/examples/playground/components/preset-selector.tsx index fa7d796f8e..e8d6595df4 100644 --- a/apps/www/app/examples/playground/components/preset-selector.tsx +++ b/apps/www/app/examples/playground/components/preset-selector.tsx @@ -2,8 +2,8 @@ import * as React from "react" import { useRouter } from "next/navigation" +import { CaretSortIcon, CheckIcon } from "@radix-ui/react-icons" import { PopoverProps } from "@radix-ui/react-popover" -import { Check, ChevronsUpDown } from "lucide-react" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york/ui/button" @@ -42,7 +42,7 @@ export function PresetSelector({ presets, ...props }: PresetSelectorProps) { className="flex-1 justify-between md:max-w-[200px] lg:max-w-[300px]" > {selectedPreset ? selectedPreset.name : "Load a preset..."} - + @@ -59,7 +59,7 @@ export function PresetSelector({ presets, ...props }: PresetSelectorProps) { }} > {preset.name} -
diff --git a/apps/www/app/examples/playground/page.tsx b/apps/www/app/examples/playground/page.tsx index 57071e54c4..0ab59665ae 100644 --- a/apps/www/app/examples/playground/page.tsx +++ b/apps/www/app/examples/playground/page.tsx @@ -1,5 +1,6 @@ import { Metadata } from "next" -import { History } from "lucide-react" +import Image from "next/image" +import { CounterClockwiseClockIcon } from "@radix-ui/react-icons" import { Button } from "@/registry/new-york/ui/button" import { @@ -18,7 +19,6 @@ import { import { Textarea } from "@/registry/new-york/ui/textarea" import { CodeViewer } from "./components/code-viewer" -import { Icons } from "./components/icons" import { MaxLengthSelector } from "./components/maxlength-selector" import { ModelSelector } from "./components/model-selector" import { PresetActions } from "./components/preset-actions" @@ -29,8 +29,6 @@ import { TemperatureSelector } from "./components/temperature-selector" import { TopPSelector } from "./components/top-p-selector" import { models, types } from "./data/models" import { presets } from "./data/presets" -import "./styles.css" -import Image from "next/image" export const metadata: Metadata = { title: "Playground", @@ -91,15 +89,163 @@ export default function PlaygroundPage() { Complete - + + + + + + + + + Insert - + + + + + + Edit - + + + + + + + +
@@ -119,7 +265,7 @@ export default function PlaygroundPage() {
@@ -137,7 +283,7 @@ export default function PlaygroundPage() {
@@ -168,7 +314,7 @@ export default function PlaygroundPage() {
diff --git a/apps/www/app/examples/playground/styles.css b/apps/www/app/examples/playground/styles.css deleted file mode 100644 index 282038de98..0000000000 --- a/apps/www/app/examples/playground/styles.css +++ /dev/null @@ -1,65 +0,0 @@ -[data-section="playground"] { - --background: 0 0% 100%; - --foreground: 222.2 47.4% 11.2%; - - --muted: 154 79% 96%; - --muted-foreground: 215.4 16.3% 46.9%; - - --popover: 0 0% 100%; - --popover-foreground: 222.2 47.4% 11.2%; - - --border: 214.3 31.8% 91.4%; - --input: 214.3 31.8% 91.4%; - - --card: 0 0% 100%; - --card-foreground: 222.2 47.4% 11.2%; - - --primary: 143 72% 29%; - --primary-foreground: 141 75% 97%; - - --secondary: 145 80% 10%; - --secondary-foreground: 141 75% 97%; - - --accent: 154 79% 96%; - --accent-foreground: 222.2 47.4% 11.2%; - - --destructive: 0 100% 50%; - --destructive-foreground: 210 40% 98%; - - --ring: 158 64% 52%; - - --radius: 0rem; -} - -.dark [data-section="playground"] { - --background: 224 71% 4%; - --foreground: 213 31% 91%; - - --muted: 223 47% 11%; - --muted-foreground: 215.4 16.3% 56.9%; - - --popover: 224 71% 4%; - --popover-foreground: 215 20.2% 65.1%; - - --border: 216 34% 17%; - --input: 216 34% 17%; - - --card: 224 71% 4%; - --card-foreground: 213 31% 91%; - - --primary: 143 72% 29%; - --primary-foreground: 141 75% 97%; - - --secondary: 145 80% 10%; - --secondary-foreground: 141 75% 97%; - - --accent: 154 79% 96%; - --accent-foreground: 222.2 47.4% 11.2%; - - --destructive: 0 100% 50%; - --destructive-foreground: 210 40% 98%; - - --ring: 158 64% 52%; - - --radius: 0rem; -} diff --git a/apps/www/app/examples/tasks/components/data-table-column-header.tsx b/apps/www/app/examples/tasks/components/data-table-column-header.tsx index 2437da4af2..7df71bb4a1 100644 --- a/apps/www/app/examples/tasks/components/data-table-column-header.tsx +++ b/apps/www/app/examples/tasks/components/data-table-column-header.tsx @@ -1,5 +1,10 @@ +import { + ArrowDownIcon, + ArrowUpIcon, + CaretSortIcon, + EyeNoneIcon, +} from "@radix-ui/react-icons" import { Column } from "@tanstack/react-table" -import { ChevronsUpDown, EyeOff, SortAsc, SortDesc } from "lucide-react" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york/ui/button" @@ -37,26 +42,26 @@ export function DataTableColumnHeader({ > {title} {column.getIsSorted() === "desc" ? ( - + ) : column.getIsSorted() === "asc" ? ( - + ) : ( - + )} column.toggleSorting(false)}> - + Asc column.toggleSorting(true)}> - + Desc column.toggleVisibility(false)}> - + Hide diff --git a/apps/www/app/examples/tasks/components/data-table-faceted-filter.tsx b/apps/www/app/examples/tasks/components/data-table-faceted-filter.tsx index 2d1707a814..105ca00497 100644 --- a/apps/www/app/examples/tasks/components/data-table-faceted-filter.tsx +++ b/apps/www/app/examples/tasks/components/data-table-faceted-filter.tsx @@ -1,6 +1,6 @@ import * as React from "react" +import { CheckIcon, PlusCircledIcon } from "@radix-ui/react-icons" import { Column } from "@tanstack/react-table" -import { Check, LucideIcon, PlusCircle } from "lucide-react" import { cn } from "@/lib/utils" import { Badge } from "@/registry/new-york/ui/badge" @@ -27,7 +27,7 @@ interface DataTableFacetedFilter { options: { label: string value: string - icon?: LucideIcon + icon?: React.ComponentType<{ className?: string }> }[] } @@ -43,7 +43,7 @@ export function DataTableFacetedFilter({ diff --git a/apps/www/app/examples/tasks/components/data-table-row-actions.tsx b/apps/www/app/examples/tasks/components/data-table-row-actions.tsx index dd8517781b..2dfa8cd206 100644 --- a/apps/www/app/examples/tasks/components/data-table-row-actions.tsx +++ b/apps/www/app/examples/tasks/components/data-table-row-actions.tsx @@ -1,7 +1,7 @@ "use client" +import { DotsHorizontalIcon } from "@radix-ui/react-icons" import { Row } from "@tanstack/react-table" -import { Copy, MoreHorizontal, Pen, Star, Tags, Trash } from "lucide-react" import { Button } from "@/registry/new-york/ui/button" import { @@ -37,29 +37,17 @@ export function DataTableRowActions({ variant="ghost" className="flex h-8 w-8 p-0 data-[state=open]:bg-muted" > - + Open menu - - - Edit - - - - Make a copy - - - - Favorite - + Edit + Make a copy + Favorite - - - Labels - + Labels {labels.map((label) => ( @@ -72,7 +60,6 @@ export function DataTableRowActions({ - Delete ⌘⌫ diff --git a/apps/www/app/examples/tasks/components/data-table-toolbar.tsx b/apps/www/app/examples/tasks/components/data-table-toolbar.tsx index 4f3fc61e9d..b396f6c001 100644 --- a/apps/www/app/examples/tasks/components/data-table-toolbar.tsx +++ b/apps/www/app/examples/tasks/components/data-table-toolbar.tsx @@ -1,7 +1,7 @@ "use client" +import { Cross2Icon } from "@radix-ui/react-icons" import { Table } from "@tanstack/react-table" -import { X } from "lucide-react" import { Button } from "@/registry/new-york/ui/button" import { Input } from "@/registry/new-york/ui/input" @@ -51,7 +51,7 @@ export function DataTableToolbar({ className="h-8 px-2 lg:px-3" > Reset - + )} diff --git a/apps/www/app/examples/tasks/components/data-table-view-options.tsx b/apps/www/app/examples/tasks/components/data-table-view-options.tsx index c9f2c9988c..270bd8edf1 100644 --- a/apps/www/app/examples/tasks/components/data-table-view-options.tsx +++ b/apps/www/app/examples/tasks/components/data-table-view-options.tsx @@ -1,8 +1,8 @@ "use client" import { DropdownMenuTrigger } from "@radix-ui/react-dropdown-menu" +import { MixerHorizontalIcon } from "@radix-ui/react-icons" import { Table } from "@tanstack/react-table" -import { SlidersHorizontal } from "lucide-react" import { Button } from "@/registry/new-york/ui/button" import { @@ -28,7 +28,7 @@ export function DataTableViewOptions({ size="sm" className="ml-auto hidden h-8 lg:flex" > - + View diff --git a/apps/www/app/examples/tasks/components/user-nav.tsx b/apps/www/app/examples/tasks/components/user-nav.tsx index edfa2dec9f..3d64ca71e8 100644 --- a/apps/www/app/examples/tasks/components/user-nav.tsx +++ b/apps/www/app/examples/tasks/components/user-nav.tsx @@ -1,5 +1,3 @@ -import { CreditCard, LogOut, PlusCircle, Settings, User } from "lucide-react" - import { Avatar, AvatarFallback, @@ -40,29 +38,22 @@ export function UserNav() { - - Profile + Profile ⇧⌘P - - Billing + Billing ⌘B - - Settings + Settings ⌘S - - - New Team - + New Team - - Log out + Log out ⇧⌘Q diff --git a/apps/www/app/examples/tasks/data/data.tsx b/apps/www/app/examples/tasks/data/data.tsx index 1d1e768445..a507982f62 100644 --- a/apps/www/app/examples/tasks/data/data.tsx +++ b/apps/www/app/examples/tasks/data/data.tsx @@ -1,13 +1,13 @@ import { - ArrowDownToLine, - ArrowRightToLine, - ArrowUpCircle, - ArrowUpToLine, - CheckCircle2, - Circle, - HelpCircle, - XCircle, -} from "lucide-react" + ArrowDownIcon, + ArrowRightIcon, + ArrowUpIcon, + CheckCircledIcon, + CircleIcon, + CrossCircledIcon, + QuestionMarkCircledIcon, + StopwatchIcon, +} from "@radix-ui/react-icons" export const labels = [ { @@ -28,27 +28,27 @@ export const statuses = [ { value: "backlog", label: "Backlog", - icon: HelpCircle, + icon: QuestionMarkCircledIcon, }, { value: "todo", label: "Todo", - icon: Circle, + icon: CircleIcon, }, { value: "in progress", label: "In Progress", - icon: ArrowUpCircle, + icon: StopwatchIcon, }, { value: "done", label: "Done", - icon: CheckCircle2, + icon: CheckCircledIcon, }, { value: "canceled", label: "Canceled", - icon: XCircle, + icon: CrossCircledIcon, }, ] @@ -56,16 +56,16 @@ export const priorities = [ { label: "Low", value: "low", - icon: ArrowDownToLine, + icon: ArrowDownIcon, }, { label: "Medium", value: "medium", - icon: ArrowRightToLine, + icon: ArrowRightIcon, }, { label: "High", value: "high", - icon: ArrowUpToLine, + icon: ArrowUpIcon, }, ] diff --git a/apps/www/app/page.tsx b/apps/www/app/page.tsx index ced96c8758..8670b4f168 100644 --- a/apps/www/app/page.tsx +++ b/apps/www/app/page.tsx @@ -1,6 +1,6 @@ import Image from "next/image" import Link from "next/link" -import { ChevronRight } from "lucide-react" +import { ArrowRightIcon } from "@radix-ui/react-icons" import { siteConfig } from "@/config/site" import { cn } from "@/lib/utils" @@ -28,7 +28,7 @@ export default function IndexPage() { Introducing Style, a new CLI and more. - + Build your component library. diff --git a/apps/www/components/callout.tsx b/apps/www/components/callout.tsx index 6c07ffa158..848d8717b2 100644 --- a/apps/www/components/callout.tsx +++ b/apps/www/components/callout.tsx @@ -1,4 +1,3 @@ -import { cn } from "@/lib/utils" import { Alert, AlertDescription, diff --git a/apps/www/components/command-menu.tsx b/apps/www/components/command-menu.tsx index 41c6aecb48..1dd9af1940 100644 --- a/apps/www/components/command-menu.tsx +++ b/apps/www/components/command-menu.tsx @@ -3,7 +3,13 @@ import * as React from "react" import { useRouter } from "next/navigation" import { DialogProps } from "@radix-ui/react-alert-dialog" -import { Circle, File, Laptop, Moon, SunMedium } from "lucide-react" +import { + CircleIcon, + FileIcon, + LaptopIcon, + MoonIcon, + SunIcon, +} from "@radix-ui/react-icons" import { useTheme } from "next-themes" import { docsConfig } from "@/config/docs" @@ -72,7 +78,7 @@ export function CommandMenu({ ...props }: DialogProps) { runCommand(() => router.push(navItem.href as string)) }} > - + {navItem.title} ))} @@ -88,7 +94,7 @@ export function CommandMenu({ ...props }: DialogProps) { }} >
- +
{navItem.title} @@ -98,15 +104,15 @@ export function CommandMenu({ ...props }: DialogProps) { runCommand(() => setTheme("light"))}> - + Light runCommand(() => setTheme("dark"))}> - + Dark runCommand(() => setTheme("system"))}> - + System diff --git a/apps/www/components/component-preview.tsx b/apps/www/components/component-preview.tsx index a1c5bd6c8b..6efa2216b0 100644 --- a/apps/www/components/component-preview.tsx +++ b/apps/www/components/component-preview.tsx @@ -2,11 +2,11 @@ import * as React from "react" import { Index } from "@/__registry__" -import { Loader2 } from "lucide-react" import { cn } from "@/lib/utils" import { useConfig } from "@/hooks/use-config" import { CopyButton, CopyWithClassNames } from "@/components/copy-button" +import { Icons } from "@/components/icons" import { StyleSwitcher } from "@/components/style-switcher" import { ThemeWrapper } from "@/components/theme-wrapper" import { @@ -116,7 +116,7 @@ export function ComponentPreview({ - + Loading... } diff --git a/apps/www/components/copy-button.tsx b/apps/www/components/copy-button.tsx index 97489753d6..97a0e87a01 100644 --- a/apps/www/components/copy-button.tsx +++ b/apps/www/components/copy-button.tsx @@ -2,11 +2,11 @@ import * as React from "react" import { DropdownMenuTriggerProps } from "@radix-ui/react-dropdown-menu" +import { CheckIcon, CopyIcon } from "@radix-ui/react-icons" import { NpmCommands } from "types/unist" import { Event, trackEvent } from "@/lib/events" import { cn } from "@/lib/utils" -import { Icons } from "@/components/icons" import { Button } from "@/registry/new-york/ui/button" import { DropdownMenu, @@ -69,9 +69,9 @@ export function CopyButton({ > Copy {hasCopied ? ( - + ) : ( - + )} ) @@ -114,21 +114,19 @@ export function CopyWithClassNames({ )} > {hasCopied ? ( - + ) : ( - + )} Copy copyToClipboard(value)}> - - Component + Component copyToClipboard(classNames)}> - - Classname + Classname @@ -178,9 +176,9 @@ export function CopyNpmCommandButton({ )} > {hasCopied ? ( - + ) : ( - + )} Copy diff --git a/apps/www/components/examples-nav.tsx b/apps/www/components/examples-nav.tsx index 636eeec3bb..4cd2521f35 100644 --- a/apps/www/components/examples-nav.tsx +++ b/apps/www/components/examples-nav.tsx @@ -2,7 +2,7 @@ import Link from "next/link" import { usePathname } from "next/navigation" -import { ArrowRight } from "lucide-react" +import { ArrowRightIcon } from "@radix-ui/react-icons" import { cn } from "@/lib/utils" import { ScrollArea, ScrollBar } from "@/registry/new-york/ui/scroll-area" @@ -97,7 +97,7 @@ export function ExampleCodeLink({ pathname }: ExampleCodeLinkProps) { className="absolute right-0 top-0 hidden items-center rounded-[0.5rem] text-sm font-medium md:flex" > View code - + ) } diff --git a/apps/www/components/icons.tsx b/apps/www/components/icons.tsx index 5f14a60d3f..58f873d7be 100644 --- a/apps/www/components/icons.tsx +++ b/apps/www/components/icons.tsx @@ -1,36 +1,7 @@ -import { - AlertTriangle, - ArrowRight, - Check, - ChevronLeft, - ChevronRight, - ClipboardCheck, - Copy, - CreditCard, - File, - FileText, - HelpCircle, - Image, - Laptop, - Loader2, - LucideProps, - Moon, - MoreVertical, - Pizza, - Plus, - Settings, - SunMedium, - Trash, - Twitter, - User, - X, - type Icon as LucideIcon, -} from "lucide-react" - -export type Icon = LucideIcon +type IconProps = React.HTMLAttributes export const Icons = { - logo: (props: LucideProps) => ( + logo: (props: IconProps) => ( ), - close: X, - spinner: Loader2, - chevronLeft: ChevronLeft, - chevronRight: ChevronRight, - trash: Trash, - post: FileText, - page: File, - media: Image, - settings: Settings, - billing: CreditCard, - ellipsis: MoreVertical, - add: Plus, - warning: AlertTriangle, - user: User, - arrowRight: ArrowRight, - help: HelpCircle, - pizza: Pizza, - twitter: Twitter, - check: Check, - copy: Copy, - copyDone: ClipboardCheck, - sun: SunMedium, - moon: Moon, - laptop: Laptop, - gitHub: (props: LucideProps) => ( + twitter: (props: IconProps) => ( + + + + ), + gitHub: (props: IconProps) => ( ), - radix: (props: LucideProps) => ( + radix: (props: IconProps) => ( ), - aria: (props: LucideProps) => ( + aria: (props: IconProps) => ( ), - npm: (props: LucideProps) => ( + npm: (props: IconProps) => ( ), - yarn: (props: LucideProps) => ( + yarn: (props: IconProps) => ( ), - pnpm: (props: LucideProps) => ( + pnpm: (props: IconProps) => ( ), - react: (props: LucideProps) => ( + react: (props: IconProps) => ( ), - tailwind: (props: LucideProps) => ( + tailwind: (props: IconProps) => ( ), - google: (props: LucideProps) => ( + google: (props: IconProps) => ( ), - apple: (props: LucideProps) => ( + apple: (props: IconProps) => ( ), - paypal: (props: LucideProps) => ( + paypal: (props: IconProps) => ( ), + spinner: (props: IconProps) => ( + + + + ), } diff --git a/apps/www/components/mobile-nav.tsx b/apps/www/components/mobile-nav.tsx index 96c9657d15..b2e24f5a3d 100644 --- a/apps/www/components/mobile-nav.tsx +++ b/apps/www/components/mobile-nav.tsx @@ -3,7 +3,7 @@ import * as React from "react" import Link, { LinkProps } from "next/link" import { useRouter } from "next/navigation" -import { SidebarOpen } from "lucide-react" +import { ViewVerticalIcon } from "@radix-ui/react-icons" import { docsConfig } from "@/config/docs" import { siteConfig } from "@/config/site" @@ -23,7 +23,7 @@ export function MobileNav() { variant="ghost" className="mr-2 px-0 text-base hover:bg-transparent focus-visible:bg-transparent focus-visible:ring-0 focus-visible:ring-offset-0 md:hidden" > - + Toggle Menu diff --git a/apps/www/components/mode-toggle.tsx b/apps/www/components/mode-toggle.tsx index 25bbbb8ec6..fbbee37417 100644 --- a/apps/www/components/mode-toggle.tsx +++ b/apps/www/components/mode-toggle.tsx @@ -1,9 +1,9 @@ "use client" import * as React from "react" +import { MoonIcon, SunIcon } from "@radix-ui/react-icons" import { useTheme } from "next-themes" -import { Icons } from "@/components/icons" import { Button } from "@/registry/new-york/ui/button" import { DropdownMenu, @@ -19,23 +19,20 @@ export function ModeToggle() { setTheme("light")}> - - Light + Light setTheme("dark")}> - - Dark + Dark setTheme("system")}> - - System + System diff --git a/apps/www/components/pager.tsx b/apps/www/components/pager.tsx index 8904a3473f..ec9e37c1b0 100644 --- a/apps/www/components/pager.tsx +++ b/apps/www/components/pager.tsx @@ -1,10 +1,10 @@ import Link from "next/link" +import { ChevronLeftIcon, ChevronRightIcon } from "@radix-ui/react-icons" import { Doc } from "contentlayer/generated" import { NavItem, NavItemWithChildren } from "types/nav" import { docsConfig } from "@/config/docs" import { cn } from "@/lib/utils" -import { Icons } from "@/components/icons" import { buttonVariants } from "@/registry/new-york/ui/button" interface DocsPagerProps { @@ -25,7 +25,7 @@ export function DocsPager({ doc }: DocsPagerProps) { href={pager.prev.href} className={buttonVariants({ variant: "outline" })} > - + {pager.prev.title} )} @@ -35,7 +35,7 @@ export function DocsPager({ doc }: DocsPagerProps) { className={cn(buttonVariants({ variant: "outline" }), "ml-auto")} > {pager.next.title} - + )} diff --git a/apps/www/package.json b/apps/www/package.json index dee32ae792..5b5b3ff9e6 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -58,7 +58,8 @@ "jotai": "^2.1.0", "lodash.template": "^4.5.0", "lucide-react": "0.214.0", - "next": "13.4.8-canary.13", + "markdown-wasm": "^1.2.0", + "next": "13.4.8", "next-contentlayer": "0.3.4", "next-themes": "^0.2.1", "react": "^18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dd1e39ea02..3755a62547 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -217,7 +217,7 @@ importers: version: 0.2.0(@types/react@18.2.7)(react-dom@18.2.0)(react@18.2.0) contentlayer: specifier: 0.3.4 - version: 0.3.4(esbuild@0.17.19) + version: 0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0) date-fns: specifier: ^2.30.0 version: 2.30.0 @@ -230,15 +230,18 @@ importers: lucide-react: specifier: 0.214.0 version: 0.214.0(react@18.2.0) + markdown-wasm: + specifier: ^1.2.0 + version: 1.2.0 next: - specifier: 13.4.8-canary.13 - version: 13.4.8-canary.13(@babel/core@7.22.1)(@opentelemetry/api@1.4.1)(react-dom@18.2.0)(react@18.2.0) + specifier: 13.4.8 + version: 13.4.8(@babel/core@7.22.1)(@opentelemetry/api@1.4.1)(react-dom@18.2.0)(react@18.2.0) next-contentlayer: specifier: 0.3.4 - version: 0.3.4(contentlayer@0.3.4)(esbuild@0.17.19)(next@13.4.8-canary.13)(react-dom@18.2.0)(react@18.2.0) + version: 0.3.4(contentlayer@0.3.4)(esbuild@0.17.19)(markdown-wasm@1.2.0)(next@13.4.8)(react-dom@18.2.0)(react@18.2.0) next-themes: specifier: ^0.2.1 - version: 0.2.1(next@13.4.8-canary.13)(react-dom@18.2.0)(react@18.2.0) + version: 0.2.1(next@13.4.8)(react-dom@18.2.0)(react@18.2.0) react: specifier: ^18.2.0 version: 18.2.0 @@ -1052,10 +1055,10 @@ packages: chalk: 4.1.2 dev: false - /@contentlayer/cli@0.3.4(esbuild@0.17.19): + /@contentlayer/cli@0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0): resolution: {integrity: sha512-vNDwgLuhYNu+m70NZ3XK9kexKNguuxPXg7Yvzj3B34cEilQjjzSrcTY/i+AIQm9V7uT5GGshx9ukzPf+SmoszQ==} dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.17.19) + '@contentlayer/core': 0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0) '@contentlayer/utils': 0.3.4 clipanion: 3.2.1(typanion@3.12.1) typanion: 3.12.1 @@ -1066,10 +1069,10 @@ packages: - supports-color dev: false - /@contentlayer/client@0.3.4(esbuild@0.17.19): + /@contentlayer/client@0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0): resolution: {integrity: sha512-QSlLyc3y4PtdC5lFw0L4wTZUH8BQnv2nk37hNCsPAqGf+dRO7TLAzdc+2/mVIRgK+vSH+pSOzjLsQpFxxXRTZA==} dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.17.19) + '@contentlayer/core': 0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0) transitivePeerDependencies: - '@effect-ts/otel-node' - esbuild @@ -1077,7 +1080,7 @@ packages: - supports-color dev: false - /@contentlayer/core@0.3.4(esbuild@0.17.19): + /@contentlayer/core@0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0): resolution: {integrity: sha512-o68oBLwfYZ+2vtgfk1lgHxOl3LoxvRNiUfeQ8IWFWy/L4wnIkKIqLZX01zlRE5IzYM+ZMMN5V0cKQlO7DsyR9g==} peerDependencies: esbuild: 0.17.x || 0.18.x @@ -1093,6 +1096,7 @@ packages: comment-json: 4.2.3 esbuild: 0.17.19 gray-matter: 4.0.3 + markdown-wasm: 1.2.0 mdx-bundler: 9.2.1(esbuild@0.17.19) rehype-stringify: 9.0.3 remark-frontmatter: 4.0.1 @@ -1106,10 +1110,10 @@ packages: - supports-color dev: false - /@contentlayer/source-files@0.3.4(esbuild@0.17.19): + /@contentlayer/source-files@0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0): resolution: {integrity: sha512-4njyn0OFPu7WY4tAjMxiJgWOKeiHuBOGdQ36EYE03iij/pPPRbiWbL+cmLccYXUFEW58mDwpqROZZm6pnxjRDQ==} dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.17.19) + '@contentlayer/core': 0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0) '@contentlayer/utils': 0.3.4 chokidar: 3.5.3 fast-glob: 3.2.12 @@ -1127,11 +1131,11 @@ packages: - supports-color dev: false - /@contentlayer/source-remote-files@0.3.4(esbuild@0.17.19): + /@contentlayer/source-remote-files@0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0): resolution: {integrity: sha512-cyiv4sNUySZvR0uAKlM+kSAELzNd2h2QT1R2e41dRKbwOUVxeLfmGiLugr0aVac6Q3xYcD99dbHyR1xWPV+w9w==} dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.17.19) - '@contentlayer/source-files': 0.3.4(esbuild@0.17.19) + '@contentlayer/core': 0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0) + '@contentlayer/source-files': 0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0) '@contentlayer/utils': 0.3.4 transitivePeerDependencies: - '@effect-ts/otel-node' @@ -1711,8 +1715,8 @@ packages: resolution: {integrity: sha512-q/y7VZj/9YpgzDe64Zi6rY1xPizx80JjlU2BTevlajtaE3w1LqweH1gGgxou2N7hdFosXHjGrI4OUvtFXXhGLg==} dev: false - /@next/env@13.4.8-canary.13: - resolution: {integrity: sha512-udCBFvXLUnm5C0MdMW3K7swu8TXPE/utgHh4gjLT42gm0rSdML5BYMmeSP4WGkYfifP26FQTGnKiU9YYQOwBeg==} + /@next/env@13.4.8: + resolution: {integrity: sha512-twuSf1klb3k9wXI7IZhbZGtFCWvGD4wXTY2rmvzIgVhXhs7ISThrbNyutBx3jWIL8Y/Hk9+woytFz5QsgtcRKQ==} dev: false /@next/eslint-plugin-next@13.0.0: @@ -1736,8 +1740,8 @@ packages: dev: false optional: true - /@next/swc-darwin-arm64@13.4.8-canary.13: - resolution: {integrity: sha512-bGKzCa8UBfpigSnND3GNiswJO7JZqBh/1m3FLLQJzTMOsdWwKcIbk3QP3Xk10cgHP4qLe3W+BikaOjdOZO0NRQ==} + /@next/swc-darwin-arm64@13.4.8: + resolution: {integrity: sha512-MSFplVM4dTWOuKAUv0XR9gY7AWtMSBu9os9f+kp+s5rWhM1I2CdR3obFttd6366nS/W/VZxbPM5oEIdlIa46zA==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -1754,8 +1758,8 @@ packages: dev: false optional: true - /@next/swc-darwin-x64@13.4.8-canary.13: - resolution: {integrity: sha512-IvEqoqYR+DEHmjFOtSM7ne+go+9Lf11QwejdLi64VEt7QxJTQNak6AC8UBJDY+CiYbPy/y+sLBhjkf6BZE6g/w==} + /@next/swc-darwin-x64@13.4.8: + resolution: {integrity: sha512-Reox+UXgonon9P0WNDE6w85DGtyBqGitl/ryznOvn6TvfxEaZIpTgeu3ZrJLU9dHSMhiK7YAM793mE/Zii2/Qw==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -1772,8 +1776,8 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-gnu@13.4.8-canary.13: - resolution: {integrity: sha512-fVX4vrveaAqVgvmiWx5deza+KenrwKD4z+ckz9oTbIxjVcouV3u4ur7UUB8jR9Z6ZYN5X2tW95imA4SgzH0jWA==} + /@next/swc-linux-arm64-gnu@13.4.8: + resolution: {integrity: sha512-kdyzYvAYtqQVgzIKNN7e1rLU8aZv86FDSRqPlOkKZlvqudvTO0iohuTPmnEEDlECeBM6qRPShNffotDcU/R2KA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -1790,8 +1794,8 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-musl@13.4.8-canary.13: - resolution: {integrity: sha512-qEfBWp3IsbC5+yKXmC5r1ZI2wT8G28u6plW6E5twR1CBnQud9bOc980E8WMZDnp3V5iTNB0UK0Ja8l/yw/9lwA==} + /@next/swc-linux-arm64-musl@13.4.8: + resolution: {integrity: sha512-oWxx4yRkUGcR81XwbI+T0zhZ3bDF6V1aVLpG+C7hSG50ULpV8gC39UxVO22/bv93ZlcfMY4zl8xkz9Klct6dpQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -1808,8 +1812,8 @@ packages: dev: false optional: true - /@next/swc-linux-x64-gnu@13.4.8-canary.13: - resolution: {integrity: sha512-qVst+PTEuySR8RJ246auKADnZVygK6EwnjRysCuRmuRCFFGWkqoZcqLY/wNmjqFNSOsXGUjIMoL2Ey3ZstQ5kw==} + /@next/swc-linux-x64-gnu@13.4.8: + resolution: {integrity: sha512-anhtvuO6eE9YRhYnaEGTfbpH3L5gT/9qPFcNoi6xS432r/4DAtpJY8kNktqkTVevVIC/pVumqO8tV59PR3zbNg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -1826,8 +1830,8 @@ packages: dev: false optional: true - /@next/swc-linux-x64-musl@13.4.8-canary.13: - resolution: {integrity: sha512-ts7/ILlQCsVWlNfYhgElnXKmKDYkE91uHV7asbdkfLOUCUAFDdwMTBMHMM0lsCM6iBmj/gVfW3s5BUTdG/VlVQ==} + /@next/swc-linux-x64-musl@13.4.8: + resolution: {integrity: sha512-aR+J4wWfNgH1DwCCBNjan7Iumx0lLtn+2/rEYuhIrYLY4vnxqSVGz9u3fXcgUwo6Q9LT8NFkaqK1vPprdq+BXg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -1844,8 +1848,8 @@ packages: dev: false optional: true - /@next/swc-win32-arm64-msvc@13.4.8-canary.13: - resolution: {integrity: sha512-X9zay3u/PwGvrEg8E6hLC5iNhOVf8ZTQ4BtovFwsoMg87/8bIptXKI2acLo+YTmCJiwdj1j0xJQAG50Zb5Hq/Q==} + /@next/swc-win32-arm64-msvc@13.4.8: + resolution: {integrity: sha512-OWBKIrJwQBTqrat0xhxEB/jcsjJR3+diD9nc/Y8F1mRdQzsn4bPsomgJyuqPVZs6Lz3K18qdIkvywmfSq75SsQ==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -1862,8 +1866,8 @@ packages: dev: false optional: true - /@next/swc-win32-ia32-msvc@13.4.8-canary.13: - resolution: {integrity: sha512-qmsWtLaFJIUHqBe3S3wg+DBbwFmvGe2kWJP/Ij7zr5Rv/6IxIPy7WLfBnxzlEUEUC58sy+dvCfdkj+jLOfqKTQ==} + /@next/swc-win32-ia32-msvc@13.4.8: + resolution: {integrity: sha512-agiPWGjUndXGTOn4ChbKipQXRA6/UPkywAWIkx7BhgGv48TiJfHTK6MGfBoL9tS6B4mtW39++uy0wFPnfD0JWg==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] @@ -1880,8 +1884,8 @@ packages: dev: false optional: true - /@next/swc-win32-x64-msvc@13.4.8-canary.13: - resolution: {integrity: sha512-WkVbvoDgpRR0x40Yrxhvv94ZgDPxfi7bVGkY+BbugWrJK2VRePyD6Tjuo6dfm7iDBMABqDOmwixpOxxzpLSbHA==} + /@next/swc-win32-x64-msvc@13.4.8: + resolution: {integrity: sha512-UIRKoByVKbuR6SnFG4JM8EMFlJrfEGuUQ1ihxzEleWcNwRMMiVaCj1KyqfTOW8VTQhJ0u8P1Ngg6q1RwnIBTtw==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -4668,17 +4672,17 @@ packages: yargs: 17.7.2 dev: false - /contentlayer@0.3.4(esbuild@0.17.19): + /contentlayer@0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0): resolution: {integrity: sha512-FYDdTUFaN4yqep0waswrhcXjmMJnPD5iXDTtxcUCGdklfuIrXM2xLx51xl748cHmGA6IsC+27YZFxU6Ym13QIA==} engines: {node: '>=14.18'} hasBin: true requiresBuild: true dependencies: - '@contentlayer/cli': 0.3.4(esbuild@0.17.19) - '@contentlayer/client': 0.3.4(esbuild@0.17.19) - '@contentlayer/core': 0.3.4(esbuild@0.17.19) - '@contentlayer/source-files': 0.3.4(esbuild@0.17.19) - '@contentlayer/source-remote-files': 0.3.4(esbuild@0.17.19) + '@contentlayer/cli': 0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0) + '@contentlayer/client': 0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0) + '@contentlayer/core': 0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0) + '@contentlayer/source-files': 0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0) + '@contentlayer/source-remote-files': 0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0) '@contentlayer/utils': 0.3.4 transitivePeerDependencies: - '@effect-ts/otel-node' @@ -7167,6 +7171,10 @@ packages: resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==} dev: true + /markdown-wasm@1.2.0: + resolution: {integrity: sha512-S12OTkyXCkOgI1n1rZY9cg4bK/PGu80Emjpvwp8BEjwCxhPV3yddF0U6+QhCitdBsI1tzWcoeahmW7k0Pq81OA==} + dev: false + /md5-hex@3.0.1: resolution: {integrity: sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw==} engines: {node: '>=8'} @@ -7888,7 +7896,7 @@ packages: /natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} - /next-contentlayer@0.3.4(contentlayer@0.3.4)(esbuild@0.17.19)(next@13.4.8-canary.13)(react-dom@18.2.0)(react@18.2.0): + /next-contentlayer@0.3.4(contentlayer@0.3.4)(esbuild@0.17.19)(markdown-wasm@1.2.0)(next@13.4.8)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-UtUCwgAl159KwfhNaOwyiI7Lg6sdioyKMeh+E7jxx0CJ29JuXGxBEYmCI6+72NxFGIFZKx8lvttbbQhbnYWYSw==} peerDependencies: contentlayer: 0.3.4 @@ -7896,10 +7904,10 @@ packages: react: '*' react-dom: '*' dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.17.19) + '@contentlayer/core': 0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0) '@contentlayer/utils': 0.3.4 - contentlayer: 0.3.4(esbuild@0.17.19) - next: 13.4.8-canary.13(@babel/core@7.22.1)(@opentelemetry/api@1.4.1)(react-dom@18.2.0)(react@18.2.0) + contentlayer: 0.3.4(esbuild@0.17.19)(markdown-wasm@1.2.0) + next: 13.4.8(@babel/core@7.22.1)(@opentelemetry/api@1.4.1)(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) transitivePeerDependencies: @@ -7921,14 +7929,14 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: false - /next-themes@0.2.1(next@13.4.8-canary.13)(react-dom@18.2.0)(react@18.2.0): + /next-themes@0.2.1(next@13.4.8)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==} peerDependencies: next: '*' react: '*' react-dom: '*' dependencies: - next: 13.4.8-canary.13(@babel/core@7.22.1)(@opentelemetry/api@1.4.1)(react-dom@18.2.0)(react@18.2.0) + next: 13.4.8(@babel/core@7.22.1)(@opentelemetry/api@1.4.1)(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false @@ -7975,8 +7983,8 @@ packages: - babel-plugin-macros dev: false - /next@13.4.8-canary.13(@babel/core@7.22.1)(@opentelemetry/api@1.4.1)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-bm4WMe4R6GGoPCsDFhLywPethVfg+ZKqMaesC9xYuLvylxasOFLRYb5o7zAfcsaCXx//kqnsxOkn6meZQmNAZg==} + /next@13.4.8(@babel/core@7.22.1)(@opentelemetry/api@1.4.1)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-lxUjndYKjZHGK3CWeN2RI+/6ni6EUvjiqGWXAYPxUfGIdFGQ5XoisrqAJ/dF74aP27buAfs8MKIbIMMdxjqSBg==} engines: {node: '>=16.8.0'} hasBin: true peerDependencies: @@ -7993,7 +8001,7 @@ packages: sass: optional: true dependencies: - '@next/env': 13.4.8-canary.13 + '@next/env': 13.4.8 '@opentelemetry/api': 1.4.1 '@swc/helpers': 0.5.1 busboy: 1.6.0 @@ -8005,15 +8013,15 @@ packages: watchpack: 2.4.0 zod: 3.21.4 optionalDependencies: - '@next/swc-darwin-arm64': 13.4.8-canary.13 - '@next/swc-darwin-x64': 13.4.8-canary.13 - '@next/swc-linux-arm64-gnu': 13.4.8-canary.13 - '@next/swc-linux-arm64-musl': 13.4.8-canary.13 - '@next/swc-linux-x64-gnu': 13.4.8-canary.13 - '@next/swc-linux-x64-musl': 13.4.8-canary.13 - '@next/swc-win32-arm64-msvc': 13.4.8-canary.13 - '@next/swc-win32-ia32-msvc': 13.4.8-canary.13 - '@next/swc-win32-x64-msvc': 13.4.8-canary.13 + '@next/swc-darwin-arm64': 13.4.8 + '@next/swc-darwin-x64': 13.4.8 + '@next/swc-linux-arm64-gnu': 13.4.8 + '@next/swc-linux-arm64-musl': 13.4.8 + '@next/swc-linux-x64-gnu': 13.4.8 + '@next/swc-linux-x64-musl': 13.4.8 + '@next/swc-win32-arm64-msvc': 13.4.8 + '@next/swc-win32-ia32-msvc': 13.4.8 + '@next/swc-win32-x64-msvc': 13.4.8 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros