From d2b3a8783c7a4529a2e8730b048fe1c6c34609f6 Mon Sep 17 00:00:00 2001 From: zernonia Date: Mon, 4 Nov 2024 18:19:28 +0800 Subject: [PATCH 01/39] refactor: radix-vue to reka-ui --- .github/ISSUE_TEMPLATE/bug-report.yml | 4 +-- .github/ISSUE_TEMPLATE/config.yml | 4 +-- .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- CONTRIBUTING.md | 4 +-- LICENSE | 2 +- README.md | 4 +-- apps/www/.vitepress/config.mts | 4 +-- .../.vitepress/theme/components/Blocks.vue | 2 +- .../theme/components/ExamplesNav.vue | 16 ++++----- .../theme/components/LandingPage.vue | 2 +- .../theme/components/StyleSwitcher.vue | 2 +- .../theme/components/theming/Theming.vue | 2 +- apps/www/.vitepress/theme/config/docs.ts | 18 +++++----- .../.vitepress/theme/layout/DocsLayout.vue | 2 +- .../.vitepress/theme/layout/MainLayout.vue | 2 +- apps/www/.vitepress/theme/utils/codeeditor.ts | 4 +-- apps/www/package.json | 2 +- apps/www/src/content/docs/about.md | 6 ++-- apps/www/src/content/docs/changelog.md | 4 +-- apps/www/src/content/docs/charts.md | 2 +- .../src/content/docs/components/accordion.md | 2 +- .../content/docs/components/alert-dialog.md | 2 +- .../content/docs/components/aspect-ratio.md | 4 +-- .../www/src/content/docs/components/avatar.md | 4 +-- .../src/content/docs/components/calendar.md | 6 ++-- .../src/content/docs/components/checkbox.md | 2 +- .../content/docs/components/collapsible.md | 2 +- .../src/content/docs/components/combobox.md | 5 --- .../src/content/docs/components/command.md | 2 +- .../content/docs/components/context-menu.md | 2 +- .../content/docs/components/date-picker.md | 2 +- .../www/src/content/docs/components/dialog.md | 2 +- .../www/src/content/docs/components/drawer.md | 4 +-- .../content/docs/components/dropdown-menu.md | 2 +- apps/www/src/content/docs/components/form.md | 2 +- .../src/content/docs/components/hover-card.md | 2 +- apps/www/src/content/docs/components/label.md | 4 +-- .../src/content/docs/components/menubar.md | 2 +- .../docs/components/navigation-menu.md | 2 +- .../content/docs/components/number-field.md | 2 +- .../src/content/docs/components/pagination.md | 2 +- .../src/content/docs/components/pin-input.md | 2 +- .../src/content/docs/components/popover.md | 2 +- .../src/content/docs/components/progress.md | 4 +-- .../content/docs/components/radio-group.md | 2 +- .../content/docs/components/range-calendar.md | 4 +-- .../src/content/docs/components/resizable.md | 4 +-- .../content/docs/components/scroll-area.md | 2 +- .../www/src/content/docs/components/select.md | 2 +- .../src/content/docs/components/separator.md | 4 +-- apps/www/src/content/docs/components/sheet.md | 2 +- .../www/src/content/docs/components/slider.md | 2 +- .../www/src/content/docs/components/sonner.md | 2 +- .../src/content/docs/components/stepper.md | 2 +- .../www/src/content/docs/components/switch.md | 4 +-- apps/www/src/content/docs/components/tabs.md | 2 +- .../src/content/docs/components/tags-input.md | 2 +- .../src/content/docs/components/textarea.md | 2 +- apps/www/src/content/docs/components/toast.md | 2 +- .../content/docs/components/toggle-group.md | 4 +-- .../www/src/content/docs/components/toggle.md | 4 +-- .../src/content/docs/components/tooltip.md | 2 +- apps/www/src/content/docs/contribution.md | 36 +++++++++---------- .../src/content/docs/installation/astro.md | 2 +- .../www/src/content/docs/installation/nuxt.md | 6 ++-- .../dashboard/components/DateRangePicker.vue | 2 +- .../examples/forms/components/AccountForm.vue | 2 +- .../components/MaxLengthSelector.vue | 2 +- .../components/TemperatureSelector.vue | 2 +- .../playground/components/TopPSelector.vue | 2 +- .../registry/default/example/AvatarDemo.vue | 2 +- .../registry/default/example/CalendarForm.vue | 2 +- .../default/example/CalendarWithSelect.vue | 4 +-- .../default/example/DatePickerForm.vue | 2 +- .../DatePickerWithIndependentMonths.vue | 4 +-- .../default/example/DatePickerWithRange.vue | 2 +- .../example/DropdownMenuCheckboxes.vue | 2 +- .../default/example/NavigationMenuDemo.vue | 2 +- .../default/example/RangeCalendarDemo.vue | 2 +- .../default/example/TagsInputComboboxDemo.vue | 2 +- .../default/example/TypographyInlineCode.vue | 2 +- .../default/ui/accordion/Accordion.vue | 2 +- .../default/ui/accordion/AccordionContent.vue | 2 +- .../default/ui/accordion/AccordionItem.vue | 2 +- .../default/ui/accordion/AccordionTrigger.vue | 2 +- .../default/ui/alert-dialog/AlertDialog.vue | 2 +- .../ui/alert-dialog/AlertDialogAction.vue | 2 +- .../ui/alert-dialog/AlertDialogCancel.vue | 2 +- .../ui/alert-dialog/AlertDialogContent.vue | 2 +- .../alert-dialog/AlertDialogDescription.vue | 2 +- .../ui/alert-dialog/AlertDialogTitle.vue | 2 +- .../ui/alert-dialog/AlertDialogTrigger.vue | 2 +- .../default/ui/aspect-ratio/AspectRatio.vue | 2 +- .../default/ui/auto-form/dependencies.ts | 2 +- .../lib/registry/default/ui/avatar/Avatar.vue | 2 +- .../default/ui/avatar/AvatarFallback.vue | 2 +- .../default/ui/avatar/AvatarImage.vue | 2 +- .../default/ui/breadcrumb/BreadcrumbLink.vue | 2 +- .../lib/registry/default/ui/button/Button.vue | 2 +- .../registry/default/ui/calendar/Calendar.vue | 2 +- .../default/ui/calendar/CalendarCell.vue | 2 +- .../ui/calendar/CalendarCellTrigger.vue | 2 +- .../default/ui/calendar/CalendarGrid.vue | 2 +- .../default/ui/calendar/CalendarGridBody.vue | 2 +- .../default/ui/calendar/CalendarGridHead.vue | 2 +- .../default/ui/calendar/CalendarGridRow.vue | 2 +- .../default/ui/calendar/CalendarHeadCell.vue | 2 +- .../default/ui/calendar/CalendarHeader.vue | 2 +- .../default/ui/calendar/CalendarHeading.vue | 2 +- .../ui/calendar/CalendarNextButton.vue | 2 +- .../ui/calendar/CalendarPrevButton.vue | 2 +- .../default/ui/chart-area/AreaChart.vue | 2 +- .../registry/default/ui/checkbox/Checkbox.vue | 4 +-- .../default/ui/collapsible/Collapsible.vue | 4 +-- .../ui/collapsible/CollapsibleContent.vue | 2 +- .../ui/collapsible/CollapsibleTrigger.vue | 2 +- .../registry/default/ui/command/Command.vue | 4 +-- .../default/ui/command/CommandDialog.vue | 4 +-- .../default/ui/command/CommandEmpty.vue | 4 +-- .../default/ui/command/CommandGroup.vue | 4 +-- .../default/ui/command/CommandInput.vue | 2 +- .../default/ui/command/CommandItem.vue | 4 +-- .../default/ui/command/CommandList.vue | 4 +-- .../default/ui/command/CommandSeparator.vue | 4 +-- .../default/ui/context-menu/ContextMenu.vue | 4 +-- .../context-menu/ContextMenuCheckboxItem.vue | 2 +- .../ui/context-menu/ContextMenuContent.vue | 2 +- .../ui/context-menu/ContextMenuGroup.vue | 2 +- .../ui/context-menu/ContextMenuItem.vue | 2 +- .../ui/context-menu/ContextMenuLabel.vue | 2 +- .../ui/context-menu/ContextMenuPortal.vue | 2 +- .../ui/context-menu/ContextMenuRadioGroup.vue | 2 +- .../ui/context-menu/ContextMenuRadioItem.vue | 2 +- .../ui/context-menu/ContextMenuSeparator.vue | 2 +- .../ui/context-menu/ContextMenuSub.vue | 2 +- .../ui/context-menu/ContextMenuSubContent.vue | 2 +- .../ui/context-menu/ContextMenuSubTrigger.vue | 2 +- .../ui/context-menu/ContextMenuTrigger.vue | 2 +- .../lib/registry/default/ui/dialog/Dialog.vue | 2 +- .../default/ui/dialog/DialogClose.vue | 2 +- .../default/ui/dialog/DialogContent.vue | 2 +- .../default/ui/dialog/DialogDescription.vue | 2 +- .../default/ui/dialog/DialogScrollContent.vue | 2 +- .../default/ui/dialog/DialogTitle.vue | 2 +- .../default/ui/dialog/DialogTrigger.vue | 2 +- .../lib/registry/default/ui/drawer/Drawer.vue | 2 +- .../default/ui/drawer/DrawerContent.vue | 4 +-- .../default/ui/drawer/DrawerOverlay.vue | 2 +- .../default/ui/dropdown-menu/DropdownMenu.vue | 2 +- .../DropdownMenuCheckboxItem.vue | 2 +- .../ui/dropdown-menu/DropdownMenuContent.vue | 2 +- .../ui/dropdown-menu/DropdownMenuGroup.vue | 2 +- .../ui/dropdown-menu/DropdownMenuItem.vue | 2 +- .../ui/dropdown-menu/DropdownMenuLabel.vue | 2 +- .../dropdown-menu/DropdownMenuRadioGroup.vue | 2 +- .../dropdown-menu/DropdownMenuRadioItem.vue | 2 +- .../dropdown-menu/DropdownMenuSeparator.vue | 2 +- .../ui/dropdown-menu/DropdownMenuSub.vue | 2 +- .../dropdown-menu/DropdownMenuSubContent.vue | 2 +- .../dropdown-menu/DropdownMenuSubTrigger.vue | 2 +- .../ui/dropdown-menu/DropdownMenuTrigger.vue | 2 +- .../default/ui/dropdown-menu/index.ts | 2 +- .../registry/default/ui/form/FormControl.vue | 2 +- .../lib/registry/default/ui/form/FormItem.vue | 2 +- .../registry/default/ui/form/FormLabel.vue | 2 +- .../default/ui/hover-card/HoverCard.vue | 2 +- .../ui/hover-card/HoverCardContent.vue | 2 +- .../ui/hover-card/HoverCardTrigger.vue | 2 +- .../lib/registry/default/ui/label/Label.vue | 2 +- .../registry/default/ui/menubar/Menubar.vue | 2 +- .../ui/menubar/MenubarCheckboxItem.vue | 2 +- .../default/ui/menubar/MenubarContent.vue | 2 +- .../default/ui/menubar/MenubarGroup.vue | 2 +- .../default/ui/menubar/MenubarItem.vue | 2 +- .../default/ui/menubar/MenubarLabel.vue | 2 +- .../default/ui/menubar/MenubarMenu.vue | 2 +- .../default/ui/menubar/MenubarRadioGroup.vue | 2 +- .../default/ui/menubar/MenubarRadioItem.vue | 2 +- .../default/ui/menubar/MenubarSeparator.vue | 2 +- .../default/ui/menubar/MenubarSub.vue | 2 +- .../default/ui/menubar/MenubarSubContent.vue | 2 +- .../default/ui/menubar/MenubarSubTrigger.vue | 2 +- .../default/ui/menubar/MenubarTrigger.vue | 2 +- .../ui/navigation-menu/NavigationMenu.vue | 2 +- .../navigation-menu/NavigationMenuContent.vue | 2 +- .../NavigationMenuIndicator.vue | 2 +- .../ui/navigation-menu/NavigationMenuItem.vue | 2 +- .../ui/navigation-menu/NavigationMenuLink.vue | 2 +- .../ui/navigation-menu/NavigationMenuList.vue | 2 +- .../navigation-menu/NavigationMenuTrigger.vue | 2 +- .../NavigationMenuViewport.vue | 2 +- .../default/ui/number-field/NumberField.vue | 4 +-- .../ui/number-field/NumberFieldDecrement.vue | 4 +-- .../ui/number-field/NumberFieldIncrement.vue | 4 +-- .../ui/number-field/NumberFieldInput.vue | 2 +- .../ui/pagination/PaginationEllipsis.vue | 2 +- .../default/ui/pagination/PaginationFirst.vue | 2 +- .../default/ui/pagination/PaginationLast.vue | 2 +- .../default/ui/pagination/PaginationNext.vue | 2 +- .../default/ui/pagination/PaginationPrev.vue | 2 +- .../registry/default/ui/pagination/index.ts | 2 +- .../default/ui/pin-input/PinInput.vue | 2 +- .../default/ui/pin-input/PinInputGroup.vue | 2 +- .../default/ui/pin-input/PinInputInput.vue | 2 +- .../ui/pin-input/PinInputSeparator.vue | 2 +- .../registry/default/ui/popover/Popover.vue | 4 +-- .../default/ui/popover/PopoverContent.vue | 2 +- .../default/ui/popover/PopoverTrigger.vue | 2 +- .../registry/default/ui/progress/Progress.vue | 2 +- .../default/ui/radio-group/RadioGroup.vue | 2 +- .../default/ui/radio-group/RadioGroupItem.vue | 2 +- .../ui/range-calendar/RangeCalendar.vue | 2 +- .../ui/range-calendar/RangeCalendarCell.vue | 2 +- .../RangeCalendarCellTrigger.vue | 2 +- .../ui/range-calendar/RangeCalendarGrid.vue | 2 +- .../range-calendar/RangeCalendarGridBody.vue | 2 +- .../range-calendar/RangeCalendarGridHead.vue | 2 +- .../range-calendar/RangeCalendarGridRow.vue | 2 +- .../range-calendar/RangeCalendarHeadCell.vue | 2 +- .../ui/range-calendar/RangeCalendarHeader.vue | 2 +- .../range-calendar/RangeCalendarHeading.vue | 2 +- .../RangeCalendarNextButton.vue | 2 +- .../RangeCalendarPrevButton.vue | 2 +- .../default/ui/resizable/ResizableHandle.vue | 2 +- .../ui/resizable/ResizablePanelGroup.vue | 2 +- .../registry/default/ui/resizable/index.ts | 2 +- .../default/ui/scroll-area/ScrollArea.vue | 2 +- .../default/ui/scroll-area/ScrollBar.vue | 2 +- .../lib/registry/default/ui/select/Select.vue | 4 +-- .../default/ui/select/SelectContent.vue | 2 +- .../default/ui/select/SelectGroup.vue | 2 +- .../registry/default/ui/select/SelectItem.vue | 2 +- .../default/ui/select/SelectItemText.vue | 2 +- .../default/ui/select/SelectLabel.vue | 2 +- .../ui/select/SelectScrollDownButton.vue | 2 +- .../ui/select/SelectScrollUpButton.vue | 2 +- .../default/ui/select/SelectSeparator.vue | 2 +- .../default/ui/select/SelectTrigger.vue | 2 +- .../default/ui/select/SelectValue.vue | 2 +- .../default/ui/separator/Separator.vue | 2 +- .../lib/registry/default/ui/sheet/Sheet.vue | 2 +- .../registry/default/ui/sheet/SheetClose.vue | 2 +- .../default/ui/sheet/SheetContent.vue | 2 +- .../default/ui/sheet/SheetDescription.vue | 2 +- .../registry/default/ui/sheet/SheetTitle.vue | 2 +- .../default/ui/sheet/SheetTrigger.vue | 2 +- .../default/ui/sidebar/SidebarGroupAction.vue | 4 +-- .../default/ui/sidebar/SidebarGroupLabel.vue | 4 +-- .../default/ui/sidebar/SidebarMenuAction.vue | 2 +- .../ui/sidebar/SidebarMenuButtonChild.vue | 2 +- .../ui/sidebar/SidebarMenuSubButton.vue | 4 +-- .../default/ui/sidebar/SidebarProvider.vue | 2 +- .../lib/registry/default/ui/sidebar/utils.ts | 2 +- .../lib/registry/default/ui/slider/Slider.vue | 4 +-- .../registry/default/ui/stepper/Stepper.vue | 4 +-- .../default/ui/stepper/StepperDescription.vue | 4 +-- .../default/ui/stepper/StepperIndicator.vue | 4 +-- .../default/ui/stepper/StepperItem.vue | 4 +-- .../default/ui/stepper/StepperSeparator.vue | 4 +-- .../default/ui/stepper/StepperTitle.vue | 4 +-- .../default/ui/stepper/StepperTrigger.vue | 4 +-- .../lib/registry/default/ui/switch/Switch.vue | 2 +- .../src/lib/registry/default/ui/tabs/Tabs.vue | 4 +-- .../registry/default/ui/tabs/TabsContent.vue | 2 +- .../lib/registry/default/ui/tabs/TabsList.vue | 2 +- .../registry/default/ui/tabs/TabsTrigger.vue | 2 +- .../default/ui/tags-input/TagsInput.vue | 2 +- .../default/ui/tags-input/TagsInputInput.vue | 2 +- .../default/ui/tags-input/TagsInputItem.vue | 2 +- .../ui/tags-input/TagsInputItemDelete.vue | 2 +- .../ui/tags-input/TagsInputItemText.vue | 2 +- .../lib/registry/default/ui/toast/Toast.vue | 2 +- .../registry/default/ui/toast/ToastAction.vue | 2 +- .../registry/default/ui/toast/ToastClose.vue | 2 +- .../default/ui/toast/ToastDescription.vue | 2 +- .../default/ui/toast/ToastProvider.vue | 2 +- .../registry/default/ui/toast/ToastTitle.vue | 2 +- .../default/ui/toast/ToastViewport.vue | 2 +- .../lib/registry/default/ui/toast/index.ts | 2 +- .../default/ui/toggle-group/ToggleGroup.vue | 2 +- .../ui/toggle-group/ToggleGroupItem.vue | 2 +- .../lib/registry/default/ui/toggle/Toggle.vue | 2 +- .../registry/default/ui/tooltip/Tooltip.vue | 2 +- .../default/ui/tooltip/TooltipContent.vue | 2 +- .../default/ui/tooltip/TooltipProvider.vue | 2 +- .../default/ui/tooltip/TooltipTrigger.vue | 2 +- .../registry/new-york/example/AvatarDemo.vue | 2 +- .../new-york/example/CalendarForm.vue | 2 +- .../new-york/example/CalendarWithSelect.vue | 4 +-- .../new-york/example/DatePickerForm.vue | 2 +- .../DatePickerWithIndependentMonths.vue | 4 +-- .../new-york/example/DatePickerWithRange.vue | 2 +- .../example/DropdownMenuCheckboxes.vue | 2 +- .../new-york/example/NavigationMenuDemo.vue | 2 +- .../new-york/example/RangeCalendarDemo.vue | 2 +- .../example/TagsInputComboboxDemo.vue | 2 +- .../new-york/example/TypographyInlineCode.vue | 2 +- .../new-york/ui/accordion/Accordion.vue | 2 +- .../ui/accordion/AccordionContent.vue | 2 +- .../new-york/ui/accordion/AccordionItem.vue | 2 +- .../ui/accordion/AccordionTrigger.vue | 2 +- .../new-york/ui/alert-dialog/AlertDialog.vue | 2 +- .../ui/alert-dialog/AlertDialogAction.vue | 2 +- .../ui/alert-dialog/AlertDialogCancel.vue | 2 +- .../ui/alert-dialog/AlertDialogContent.vue | 2 +- .../alert-dialog/AlertDialogDescription.vue | 2 +- .../ui/alert-dialog/AlertDialogTitle.vue | 2 +- .../ui/alert-dialog/AlertDialogTrigger.vue | 2 +- .../new-york/ui/aspect-ratio/AspectRatio.vue | 2 +- .../new-york/ui/auto-form/dependencies.ts | 2 +- .../registry/new-york/ui/avatar/Avatar.vue | 2 +- .../new-york/ui/avatar/AvatarFallback.vue | 2 +- .../new-york/ui/avatar/AvatarImage.vue | 2 +- .../new-york/ui/breadcrumb/BreadcrumbLink.vue | 2 +- .../registry/new-york/ui/button/Button.vue | 2 +- .../new-york/ui/calendar/Calendar.vue | 2 +- .../new-york/ui/calendar/CalendarCell.vue | 2 +- .../ui/calendar/CalendarCellTrigger.vue | 2 +- .../new-york/ui/calendar/CalendarGrid.vue | 2 +- .../new-york/ui/calendar/CalendarGridBody.vue | 2 +- .../new-york/ui/calendar/CalendarGridHead.vue | 2 +- .../new-york/ui/calendar/CalendarGridRow.vue | 2 +- .../new-york/ui/calendar/CalendarHeadCell.vue | 2 +- .../new-york/ui/calendar/CalendarHeader.vue | 2 +- .../new-york/ui/calendar/CalendarHeading.vue | 2 +- .../ui/calendar/CalendarNextButton.vue | 2 +- .../ui/calendar/CalendarPrevButton.vue | 2 +- .../new-york/ui/chart-area/AreaChart.vue | 2 +- .../new-york/ui/checkbox/Checkbox.vue | 4 +-- .../new-york/ui/collapsible/Collapsible.vue | 4 +-- .../ui/collapsible/CollapsibleContent.vue | 2 +- .../ui/collapsible/CollapsibleTrigger.vue | 2 +- .../registry/new-york/ui/command/Command.vue | 4 +-- .../new-york/ui/command/CommandDialog.vue | 4 +-- .../new-york/ui/command/CommandEmpty.vue | 4 +-- .../new-york/ui/command/CommandGroup.vue | 4 +-- .../new-york/ui/command/CommandInput.vue | 2 +- .../new-york/ui/command/CommandItem.vue | 4 +-- .../new-york/ui/command/CommandList.vue | 4 +-- .../new-york/ui/command/CommandSeparator.vue | 4 +-- .../new-york/ui/context-menu/ContextMenu.vue | 4 +-- .../context-menu/ContextMenuCheckboxItem.vue | 2 +- .../ui/context-menu/ContextMenuContent.vue | 2 +- .../ui/context-menu/ContextMenuGroup.vue | 2 +- .../ui/context-menu/ContextMenuItem.vue | 2 +- .../ui/context-menu/ContextMenuLabel.vue | 2 +- .../ui/context-menu/ContextMenuPortal.vue | 2 +- .../ui/context-menu/ContextMenuRadioGroup.vue | 2 +- .../ui/context-menu/ContextMenuRadioItem.vue | 2 +- .../ui/context-menu/ContextMenuSeparator.vue | 2 +- .../ui/context-menu/ContextMenuSub.vue | 2 +- .../ui/context-menu/ContextMenuSubContent.vue | 2 +- .../ui/context-menu/ContextMenuSubTrigger.vue | 2 +- .../ui/context-menu/ContextMenuTrigger.vue | 2 +- .../registry/new-york/ui/dialog/Dialog.vue | 2 +- .../new-york/ui/dialog/DialogClose.vue | 2 +- .../new-york/ui/dialog/DialogContent.vue | 2 +- .../new-york/ui/dialog/DialogDescription.vue | 2 +- .../ui/dialog/DialogScrollContent.vue | 2 +- .../new-york/ui/dialog/DialogTitle.vue | 2 +- .../new-york/ui/dialog/DialogTrigger.vue | 2 +- .../registry/new-york/ui/drawer/Drawer.vue | 2 +- .../new-york/ui/drawer/DrawerContent.vue | 4 +-- .../new-york/ui/drawer/DrawerOverlay.vue | 2 +- .../ui/dropdown-menu/DropdownMenu.vue | 2 +- .../DropdownMenuCheckboxItem.vue | 2 +- .../ui/dropdown-menu/DropdownMenuContent.vue | 2 +- .../ui/dropdown-menu/DropdownMenuGroup.vue | 2 +- .../ui/dropdown-menu/DropdownMenuItem.vue | 2 +- .../ui/dropdown-menu/DropdownMenuLabel.vue | 2 +- .../dropdown-menu/DropdownMenuRadioGroup.vue | 2 +- .../dropdown-menu/DropdownMenuRadioItem.vue | 2 +- .../dropdown-menu/DropdownMenuSeparator.vue | 2 +- .../ui/dropdown-menu/DropdownMenuSub.vue | 2 +- .../dropdown-menu/DropdownMenuSubContent.vue | 2 +- .../dropdown-menu/DropdownMenuSubTrigger.vue | 2 +- .../ui/dropdown-menu/DropdownMenuTrigger.vue | 2 +- .../new-york/ui/dropdown-menu/index.ts | 2 +- .../registry/new-york/ui/form/FormControl.vue | 2 +- .../registry/new-york/ui/form/FormItem.vue | 2 +- .../registry/new-york/ui/form/FormLabel.vue | 2 +- .../new-york/ui/hover-card/HoverCard.vue | 2 +- .../ui/hover-card/HoverCardContent.vue | 2 +- .../ui/hover-card/HoverCardTrigger.vue | 2 +- .../lib/registry/new-york/ui/label/Label.vue | 2 +- .../registry/new-york/ui/menubar/Menubar.vue | 2 +- .../ui/menubar/MenubarCheckboxItem.vue | 2 +- .../new-york/ui/menubar/MenubarContent.vue | 2 +- .../new-york/ui/menubar/MenubarGroup.vue | 2 +- .../new-york/ui/menubar/MenubarItem.vue | 2 +- .../new-york/ui/menubar/MenubarLabel.vue | 2 +- .../new-york/ui/menubar/MenubarMenu.vue | 2 +- .../new-york/ui/menubar/MenubarRadioGroup.vue | 2 +- .../new-york/ui/menubar/MenubarRadioItem.vue | 2 +- .../new-york/ui/menubar/MenubarSeparator.vue | 2 +- .../new-york/ui/menubar/MenubarSub.vue | 2 +- .../new-york/ui/menubar/MenubarSubContent.vue | 2 +- .../new-york/ui/menubar/MenubarSubTrigger.vue | 2 +- .../new-york/ui/menubar/MenubarTrigger.vue | 2 +- .../ui/navigation-menu/NavigationMenu.vue | 2 +- .../navigation-menu/NavigationMenuContent.vue | 2 +- .../NavigationMenuIndicator.vue | 2 +- .../ui/navigation-menu/NavigationMenuItem.vue | 2 +- .../ui/navigation-menu/NavigationMenuLink.vue | 2 +- .../ui/navigation-menu/NavigationMenuList.vue | 2 +- .../navigation-menu/NavigationMenuTrigger.vue | 2 +- .../NavigationMenuViewport.vue | 2 +- .../new-york/ui/number-field/NumberField.vue | 4 +-- .../ui/number-field/NumberFieldDecrement.vue | 4 +-- .../ui/number-field/NumberFieldIncrement.vue | 4 +-- .../ui/number-field/NumberFieldInput.vue | 2 +- .../ui/pagination/PaginationEllipsis.vue | 2 +- .../ui/pagination/PaginationFirst.vue | 2 +- .../new-york/ui/pagination/PaginationLast.vue | 2 +- .../new-york/ui/pagination/PaginationNext.vue | 2 +- .../new-york/ui/pagination/PaginationPrev.vue | 2 +- .../registry/new-york/ui/pagination/index.ts | 2 +- .../new-york/ui/pin-input/PinInput.vue | 2 +- .../new-york/ui/pin-input/PinInputGroup.vue | 2 +- .../new-york/ui/pin-input/PinInputInput.vue | 2 +- .../ui/pin-input/PinInputSeparator.vue | 2 +- .../registry/new-york/ui/popover/Popover.vue | 4 +-- .../new-york/ui/popover/PopoverContent.vue | 2 +- .../new-york/ui/popover/PopoverTrigger.vue | 2 +- .../lib/registry/new-york/ui/popover/index.ts | 2 +- .../new-york/ui/progress/Progress.vue | 2 +- .../new-york/ui/radio-group/RadioGroup.vue | 2 +- .../ui/radio-group/RadioGroupItem.vue | 2 +- .../ui/range-calendar/RangeCalendar.vue | 2 +- .../ui/range-calendar/RangeCalendarCell.vue | 2 +- .../RangeCalendarCellTrigger.vue | 2 +- .../ui/range-calendar/RangeCalendarGrid.vue | 2 +- .../range-calendar/RangeCalendarGridBody.vue | 2 +- .../range-calendar/RangeCalendarGridHead.vue | 2 +- .../range-calendar/RangeCalendarGridRow.vue | 2 +- .../range-calendar/RangeCalendarHeadCell.vue | 2 +- .../ui/range-calendar/RangeCalendarHeader.vue | 2 +- .../range-calendar/RangeCalendarHeading.vue | 2 +- .../RangeCalendarNextButton.vue | 2 +- .../RangeCalendarPrevButton.vue | 2 +- .../new-york/ui/resizable/ResizableHandle.vue | 2 +- .../ui/resizable/ResizablePanelGroup.vue | 2 +- .../registry/new-york/ui/resizable/index.ts | 2 +- .../new-york/ui/scroll-area/ScrollArea.vue | 2 +- .../new-york/ui/scroll-area/ScrollBar.vue | 2 +- .../registry/new-york/ui/select/Select.vue | 4 +-- .../new-york/ui/select/SelectContent.vue | 2 +- .../new-york/ui/select/SelectGroup.vue | 2 +- .../new-york/ui/select/SelectItem.vue | 2 +- .../new-york/ui/select/SelectItemText.vue | 2 +- .../new-york/ui/select/SelectLabel.vue | 2 +- .../ui/select/SelectScrollDownButton.vue | 2 +- .../ui/select/SelectScrollUpButton.vue | 2 +- .../new-york/ui/select/SelectSeparator.vue | 2 +- .../new-york/ui/select/SelectTrigger.vue | 2 +- .../new-york/ui/select/SelectValue.vue | 2 +- .../new-york/ui/separator/Separator.vue | 2 +- .../lib/registry/new-york/ui/sheet/Sheet.vue | 2 +- .../registry/new-york/ui/sheet/SheetClose.vue | 2 +- .../new-york/ui/sheet/SheetContent.vue | 2 +- .../new-york/ui/sheet/SheetDescription.vue | 2 +- .../registry/new-york/ui/sheet/SheetTitle.vue | 2 +- .../new-york/ui/sheet/SheetTrigger.vue | 2 +- .../ui/sidebar/SidebarGroupAction.vue | 4 +-- .../new-york/ui/sidebar/SidebarGroupLabel.vue | 4 +-- .../new-york/ui/sidebar/SidebarMenuAction.vue | 2 +- .../ui/sidebar/SidebarMenuButtonChild.vue | 2 +- .../ui/sidebar/SidebarMenuSubButton.vue | 4 +-- .../new-york/ui/sidebar/SidebarProvider.vue | 2 +- .../lib/registry/new-york/ui/sidebar/utils.ts | 2 +- .../registry/new-york/ui/slider/Slider.vue | 4 +-- .../registry/new-york/ui/stepper/Stepper.vue | 4 +-- .../ui/stepper/StepperDescription.vue | 4 +-- .../new-york/ui/stepper/StepperIndicator.vue | 4 +-- .../new-york/ui/stepper/StepperItem.vue | 4 +-- .../new-york/ui/stepper/StepperSeparator.vue | 4 +-- .../new-york/ui/stepper/StepperTitle.vue | 4 +-- .../new-york/ui/stepper/StepperTrigger.vue | 4 +-- .../registry/new-york/ui/switch/Switch.vue | 2 +- .../lib/registry/new-york/ui/tabs/Tabs.vue | 4 +-- .../registry/new-york/ui/tabs/TabsContent.vue | 2 +- .../registry/new-york/ui/tabs/TabsList.vue | 2 +- .../registry/new-york/ui/tabs/TabsTrigger.vue | 2 +- .../new-york/ui/tags-input/TagsInput.vue | 2 +- .../new-york/ui/tags-input/TagsInputInput.vue | 2 +- .../new-york/ui/tags-input/TagsInputItem.vue | 2 +- .../ui/tags-input/TagsInputItemDelete.vue | 2 +- .../ui/tags-input/TagsInputItemText.vue | 2 +- .../lib/registry/new-york/ui/toast/Toast.vue | 2 +- .../new-york/ui/toast/ToastAction.vue | 2 +- .../registry/new-york/ui/toast/ToastClose.vue | 2 +- .../new-york/ui/toast/ToastDescription.vue | 2 +- .../new-york/ui/toast/ToastProvider.vue | 2 +- .../registry/new-york/ui/toast/ToastTitle.vue | 2 +- .../new-york/ui/toast/ToastViewport.vue | 2 +- .../lib/registry/new-york/ui/toast/index.ts | 2 +- .../new-york/ui/toggle-group/ToggleGroup.vue | 2 +- .../ui/toggle-group/ToggleGroupItem.vue | 2 +- .../registry/new-york/ui/toggle/Toggle.vue | 2 +- .../registry/new-york/ui/tooltip/Tooltip.vue | 2 +- .../new-york/ui/tooltip/TooltipContent.vue | 2 +- .../new-york/ui/tooltip/TooltipProvider.vue | 2 +- .../new-york/ui/tooltip/TooltipTrigger.vue | 2 +- .../registry/styles/default/accordion.json | 8 ++--- .../registry/styles/default/alert-dialog.json | 14 ++++---- .../registry/styles/default/aspect-ratio.json | 2 +- .../registry/styles/default/auto-form.json | 2 +- .../registry/styles/default/avatar.json | 6 ++-- .../registry/styles/default/breadcrumb.json | 2 +- .../registry/styles/default/button.json | 2 +- .../registry/styles/default/calendar.json | 24 ++++++------- .../registry/styles/default/chart-area.json | 2 +- .../registry/styles/default/checkbox.json | 2 +- .../registry/styles/default/collapsible.json | 6 ++-- .../registry/styles/default/command.json | 16 ++++----- .../registry/styles/default/context-menu.json | 28 +++++++-------- .../registry/styles/default/dialog.json | 14 ++++---- .../registry/styles/default/drawer.json | 6 ++-- .../styles/default/dropdown-menu.json | 28 +++++++-------- .../public/registry/styles/default/form.json | 6 ++-- .../registry/styles/default/hover-card.json | 6 ++-- .../public/registry/styles/default/label.json | 2 +- .../registry/styles/default/menubar.json | 28 +++++++-------- .../styles/default/navigation-menu.json | 16 ++++----- .../registry/styles/default/number-field.json | 8 ++--- .../registry/styles/default/pagination.json | 12 +++---- .../registry/styles/default/pin-input.json | 8 ++--- .../registry/styles/default/popover.json | 6 ++-- .../registry/styles/default/progress.json | 2 +- .../registry/styles/default/radio-group.json | 4 +-- .../styles/default/range-calendar.json | 24 ++++++------- .../registry/styles/default/resizable.json | 6 ++-- .../registry/styles/default/scroll-area.json | 4 +-- .../registry/styles/default/select.json | 22 ++++++------ .../registry/styles/default/separator.json | 2 +- .../public/registry/styles/default/sheet.json | 12 +++---- .../registry/styles/default/sidebar.json | 14 ++++---- .../registry/styles/default/slider.json | 2 +- .../registry/styles/default/stepper.json | 14 ++++---- .../registry/styles/default/switch.json | 2 +- .../public/registry/styles/default/tabs.json | 8 ++--- .../registry/styles/default/tags-input.json | 10 +++--- .../public/registry/styles/default/toast.json | 16 ++++----- .../registry/styles/default/toggle-group.json | 4 +-- .../registry/styles/default/toggle.json | 2 +- .../registry/styles/default/tooltip.json | 8 ++--- .../registry/styles/new-york/accordion.json | 8 ++--- .../styles/new-york/alert-dialog.json | 14 ++++---- .../styles/new-york/aspect-ratio.json | 2 +- .../registry/styles/new-york/auto-form.json | 2 +- .../registry/styles/new-york/avatar.json | 6 ++-- .../registry/styles/new-york/breadcrumb.json | 2 +- .../registry/styles/new-york/button.json | 2 +- .../registry/styles/new-york/calendar.json | 24 ++++++------- .../registry/styles/new-york/chart-area.json | 2 +- .../registry/styles/new-york/checkbox.json | 2 +- .../registry/styles/new-york/collapsible.json | 6 ++-- .../registry/styles/new-york/command.json | 16 ++++----- .../styles/new-york/context-menu.json | 28 +++++++-------- .../registry/styles/new-york/dialog.json | 14 ++++---- .../registry/styles/new-york/drawer.json | 6 ++-- .../styles/new-york/dropdown-menu.json | 28 +++++++-------- .../public/registry/styles/new-york/form.json | 6 ++-- .../registry/styles/new-york/hover-card.json | 6 ++-- .../registry/styles/new-york/label.json | 2 +- .../registry/styles/new-york/menubar.json | 28 +++++++-------- .../styles/new-york/navigation-menu.json | 16 ++++----- .../styles/new-york/number-field.json | 8 ++--- .../registry/styles/new-york/pagination.json | 12 +++---- .../registry/styles/new-york/pin-input.json | 8 ++--- .../registry/styles/new-york/popover.json | 8 ++--- .../registry/styles/new-york/progress.json | 2 +- .../registry/styles/new-york/radio-group.json | 4 +-- .../styles/new-york/range-calendar.json | 24 ++++++------- .../registry/styles/new-york/resizable.json | 6 ++-- .../registry/styles/new-york/scroll-area.json | 4 +-- .../registry/styles/new-york/select.json | 22 ++++++------ .../registry/styles/new-york/separator.json | 2 +- .../registry/styles/new-york/sheet.json | 12 +++---- .../registry/styles/new-york/sidebar.json | 14 ++++---- .../registry/styles/new-york/slider.json | 2 +- .../registry/styles/new-york/stepper.json | 14 ++++---- .../registry/styles/new-york/switch.json | 2 +- .../public/registry/styles/new-york/tabs.json | 8 ++--- .../registry/styles/new-york/tags-input.json | 10 +++--- .../registry/styles/new-york/toast.json | 16 ++++----- .../styles/new-york/toggle-group.json | 4 +-- .../registry/styles/new-york/toggle.json | 2 +- .../registry/styles/new-york/tooltip.json | 8 ++--- package.json | 2 +- packages/cli/package.json | 5 +-- packages/cli/src/commands/init.ts | 2 +- packages/cli/test/commands/init.test.ts | 4 +-- .../ui/alert-dialog/AlertDialog.vue | 2 +- .../ui/alert-dialog/AlertDialogAction.vue | 2 +- .../ui/alert-dialog/AlertDialogCancel.vue | 2 +- .../ui/alert-dialog/AlertDialogContent.vue | 2 +- .../alert-dialog/AlertDialogDescription.vue | 2 +- .../ui/alert-dialog/AlertDialogTitle.vue | 2 +- .../ui/alert-dialog/AlertDialogTrigger.vue | 2 +- packages/cli/test/fixtures/nuxt/package.json | 2 +- packages/cli/test/utils/registry.test.ts | 6 ++-- packages/cli/test/utils/transform-sfc.test.ts | 16 ++++----- packages/module/README.md | 2 +- packages/module/package.json | 2 +- .../components/ui/button/Button.vue | 2 +- .../ui/dropdown-menu/DropdownMenu.vue | 2 +- .../DropdownMenuCheckboxItem.vue | 2 +- .../components/ui/dropdown-menu/index.ts | 2 +- packages/module/playground/package.json | 2 +- packages/module/src/module.ts | 2 +- pnpm-lock.yaml | 36 +++++++++++++++---- pnpm-workspace.yaml | 2 +- 613 files changed, 1093 insertions(+), 1075 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 54005550f..d15763699 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -10,8 +10,8 @@ body: This form is only for submitting bug reports. If you have a usage question or are unsure if this is really a bug, make sure to: - - Read the [docs](https://radix-vue.com/) - - Ask on [Discord Chat](https://chat.radix-vue.com/) + - Read the [docs](https://reka-ui.com/) + - Ask on [Discord Chat](https://chat.unovue.com/) - Ask on [GitHub Discussions](https://github.com/shadcn-vue/shadcn-vue/discussions) - type: input id: reproduction diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 1598db7c4..f95bc6135 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,8 +1,8 @@ blank_issues_enabled: true contact_links: # - name: 📚 Documentation - # url: https://www.radix-vue.com/ + # url: https://www.reka-ui.com/ # about: Check the documentation for usage of Radix Vue. - name: 🗨️ Discord - url: https://chat.radix-vue.com/ + url: https://chat.unovue.com/ about: Join the Radix Vue Discord server. diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 8ce3b8e36..08532c181 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -11,7 +11,7 @@ body: id: feature-description attributes: label: Describe the feature - description: A clear and concise description of what you think would be a helpful addition to radix-vue, including the possible use cases and alternatives you have considered. If you have a working prototype or module that implements it, please include a link. + description: A clear and concise description of what you think would be a helpful addition to shadcn-vue, including the possible use cases and alternatives you have considered. If you have a working prototype or module that implements it, please include a link. placeholder: Feature description validations: required: true diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8970fe1cc..565a11742 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ Thanks for your interest in contributing to shadcn-vue.com. We're happy to have Please take a moment to review this document before submitting your first pull request. We also strongly recommend that you check for open issues and pull requests to see if someone else is working on something similar. -If you need any help, feel free to reach out to the core team on [Discord](https://chat.radix-vue.com/). +If you need any help, feel free to reach out to the core team on [Discord](https://chat.unovue.com/). ## About this repository @@ -44,7 +44,7 @@ packages ### Start by cloning the repository: ``` -git clone git@github.com:radix-vue/shadcn-vue.git +git clone git@github.com:unovue/shadcn-vue.git ``` ### Install dependencies diff --git a/LICENSE b/LICENSE index 9100080f6..978951912 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 radix-vue +Copyright (c) 2023 unovue Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index e8ee038ea..8108ae4c8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- +

shadcn-vue

@@ -23,7 +23,7 @@ All credits go to these open-source works and resources - [Shadcn UI](https://ui.shadcn.com) for creating this beautiful project. - [Shadcn Svelte](https://shadcn-svelte.com) for some inspiration for registry. -- [Radix Vue](https://radix-vue.com) for doing all the hard work to make sure components are accessible. +- [Radix Vue](https://reka-ui.com) for doing all the hard work to make sure components are accessible. - [VueUse](https://vueuse.org) for providing many useful utilities. - [ahmedmayara](https://github.com/ahmedmayara/shadcn-vue) for populating many components diff --git a/apps/www/.vitepress/config.mts b/apps/www/.vitepress/config.mts index df4c7e92c..1a1f7abad 100644 --- a/apps/www/.vitepress/config.mts +++ b/apps/www/.vitepress/config.mts @@ -23,7 +23,7 @@ export default defineConfig({ ['meta', { name: 'theme-color', media: '(prefers-color-scheme: light)', content: 'white' }], ['meta', { name: 'theme-color', media: '(prefers-color-scheme: dark)', content: 'black' }], - ['meta', { name: 'creator', content: 'radix-vue' }], + ['meta', { name: 'creator', content: 'reka-ui' }], ['meta', { name: 'theme-color', content: '#41b883' }], ['meta', { name: 'og:type', content: 'website' }], ['meta', { name: 'og:locale', content: 'en' }], @@ -45,7 +45,7 @@ export default defineConfig({ provider: 'local', }, editLink: { - pattern: 'https://github.com/radix-vue/shadcn-vue/tree/dev/apps/www/src/:path', + pattern: 'https://github.com/unovue/shadcn-vue/tree/dev/apps/www/src/:path', text: 'Edit this page on GitHub', }, carbonAds: { diff --git a/apps/www/.vitepress/theme/components/Blocks.vue b/apps/www/.vitepress/theme/components/Blocks.vue index f78a7e74c..33490a8a1 100644 --- a/apps/www/.vitepress/theme/components/Blocks.vue +++ b/apps/www/.vitepress/theme/components/Blocks.vue @@ -34,7 +34,7 @@ import('../../../__registry__/index').then((res) => { Browse -import type { SelectTriggerProps } from 'radix-vue' +import type { SelectTriggerProps } from 'reka-ui' import { Select, SelectContent, diff --git a/apps/www/.vitepress/theme/components/theming/Theming.vue b/apps/www/.vitepress/theme/components/theming/Theming.vue index 4f55163ed..66a53d581 100644 --- a/apps/www/.vitepress/theme/components/theming/Theming.vue +++ b/apps/www/.vitepress/theme/components/theming/Theming.vue @@ -1,5 +1,5 @@