diff --git a/.changeset/pink-maps-joke.md b/.changeset/pink-maps-joke.md new file mode 100644 index 000000000..df7032cad --- /dev/null +++ b/.changeset/pink-maps-joke.md @@ -0,0 +1,5 @@ +--- +"create-llama": patch +--- + +chore: bump react19 rc diff --git a/templates/types/streaming/nextjs/app/components/ui/drawer.tsx b/templates/types/streaming/nextjs/app/components/ui/drawer.tsx deleted file mode 100644 index bf733c885..000000000 --- a/templates/types/streaming/nextjs/app/components/ui/drawer.tsx +++ /dev/null @@ -1,118 +0,0 @@ -"use client"; - -import * as React from "react"; -import { Drawer as DrawerPrimitive } from "vaul"; - -import { cn } from "./lib/utils"; - -const Drawer = ({ - shouldScaleBackground = true, - ...props -}: React.ComponentProps) => ( - -); -Drawer.displayName = "Drawer"; - -const DrawerTrigger = DrawerPrimitive.Trigger; - -const DrawerPortal = DrawerPrimitive.Portal; - -const DrawerClose = DrawerPrimitive.Close; - -const DrawerOverlay = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName; - -const DrawerContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - - - -
- {children} - - -)); -DrawerContent.displayName = "DrawerContent"; - -const DrawerHeader = ({ - className, - ...props -}: React.HTMLAttributes) => ( -
-); -DrawerHeader.displayName = "DrawerHeader"; - -const DrawerFooter = ({ - className, - ...props -}: React.HTMLAttributes) => ( -
-); -DrawerFooter.displayName = "DrawerFooter"; - -const DrawerTitle = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -DrawerTitle.displayName = DrawerPrimitive.Title.displayName; - -const DrawerDescription = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -DrawerDescription.displayName = DrawerPrimitive.Description.displayName; - -export { - Drawer, - DrawerClose, - DrawerContent, - DrawerDescription, - DrawerFooter, - DrawerHeader, - DrawerOverlay, - DrawerPortal, - DrawerTitle, - DrawerTrigger, -}; diff --git a/templates/types/streaming/nextjs/app/components/ui/hover-card.tsx b/templates/types/streaming/nextjs/app/components/ui/hover-card.tsx deleted file mode 100644 index e88623592..000000000 --- a/templates/types/streaming/nextjs/app/components/ui/hover-card.tsx +++ /dev/null @@ -1,29 +0,0 @@ -"use client"; - -import * as HoverCardPrimitive from "@radix-ui/react-hover-card"; -import * as React from "react"; - -import { cn } from "./lib/utils"; - -const HoverCard = HoverCardPrimitive.Root; - -const HoverCardTrigger = HoverCardPrimitive.Trigger; - -const HoverCardContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, align = "center", sideOffset = 4, ...props }, ref) => ( - -)); -HoverCardContent.displayName = HoverCardPrimitive.Content.displayName; - -export { HoverCard, HoverCardContent, HoverCardTrigger }; diff --git a/templates/types/streaming/nextjs/app/components/ui/progress.tsx b/templates/types/streaming/nextjs/app/components/ui/progress.tsx deleted file mode 100644 index d286f0f39..000000000 --- a/templates/types/streaming/nextjs/app/components/ui/progress.tsx +++ /dev/null @@ -1,27 +0,0 @@ -"use client"; - -import * as ProgressPrimitive from "@radix-ui/react-progress"; -import * as React from "react"; -import { cn } from "./lib/utils"; - -const Progress = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, value, ...props }, ref) => ( - - - -)); -Progress.displayName = ProgressPrimitive.Root.displayName; - -export { Progress }; diff --git a/templates/types/streaming/nextjs/package.json b/templates/types/streaming/nextjs/package.json index ebb77ba41..ccdbb8d86 100644 --- a/templates/types/streaming/nextjs/package.json +++ b/templates/types/streaming/nextjs/package.json @@ -13,13 +13,11 @@ "@apidevtools/swagger-parser": "^10.1.0", "@e2b/code-interpreter": "0.0.9-beta.3", "@radix-ui/react-collapsible": "^1.0.3", - "@radix-ui/react-hover-card": "^1.0.7", - "@radix-ui/react-progress": "^1.1.0", "@radix-ui/react-select": "^2.1.1", "@radix-ui/react-slot": "^1.0.2", "@radix-ui/react-tabs": "^1.1.0", - "@llamaindex/chat-ui": "0.0.7", - "ai": "3.3.42", + "@llamaindex/chat-ui": "0.0.9", + "ai": "3.4.33", "ajv": "^8.12.0", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", @@ -28,16 +26,15 @@ "formdata-node": "^6.0.3", "got": "^14.4.1", "llamaindex": "0.8.2", - "lucide-react": "^0.294.0", + "lucide-react": "^0.460.0", "next": "^15.0.3", - "react": "19.0.0-rc-5c56b873-20241107", - "react-dom": "19.0.0-rc-5c56b873-20241107", + "react": "19.0.0-rc-66855b96-20241106", + "react-dom": "19.0.0-rc-66855b96-20241106", "papaparse": "^5.4.1", "supports-color": "^8.1.1", "tailwind-merge": "^2.1.0", "tiktoken": "^1.0.15", "uuid": "^9.0.1", - "vaul": "^0.9.1", "marked": "^14.1.2" }, "devDependencies": {