@open-dy/vibecoding-sdk-taro 0.0.1-beta.5 → 0.0.1-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/interest-card/eslint/eslint-plugin-custom-navigation.mjs +2 -290
- package/dist/adapters/interest-card/eslint/taro.mjs +8 -42
- package/dist/components/miniapp-open-card.d.ts +46 -1
- package/dist/components/miniapp-open-card.js +14 -1
- package/dist/components/miniapp-open-card.js.map +1 -1
- package/dist/eslint/eslint-plugin-custom-navigation.mjs +290 -0
- package/dist/eslint/taro.mjs +35 -1
- package/dist/reference/llms.txt +76 -34
- package/dist/reference/sdk-api/build/taro/BuildContext.md +7 -2
- package/dist/reference/sdk-api/build/taro/CreateMicroappTaroConfigOptions.md +1 -2
- package/dist/reference/sdk-api/build/taro/createMicroappTaroConfig.md +1 -2
- package/dist/reference/sdk-api/components/miniapp-open-card/MiniappOpenCard.md +109 -0
- package/dist/reference/sdk-api/components/miniapp-open-card/MiniappOpenCardEnvVersion.md +38 -0
- package/dist/reference/sdk-api/components/miniapp-open-card/MiniappOpenCardErrorDetail.md +52 -0
- package/dist/reference/sdk-api/components/miniapp-open-card/MiniappOpenCardProps.md +76 -0
- package/dist/reference/sdk-api/components/miniapp-open-card/index.md +12 -0
- package/dist/reference/sdk-api/libraries/lucide-taro.md +151 -0
- package/dist/reference/sdk-api/runtime/CreateMicroappClientOptions.md +7 -2
- package/dist/reference/sdk-api/runtime/createMicroappClient.md +8 -3
- package/dist/reference/sdk-api/ui/accordion/Accordion.md +114 -0
- package/dist/reference/sdk-api/ui/accordion/AccordionContent.md +100 -0
- package/dist/reference/sdk-api/ui/accordion/AccordionItem.md +107 -0
- package/dist/reference/sdk-api/ui/accordion/AccordionTrigger.md +100 -0
- package/dist/reference/sdk-api/ui/accordion/index.md +12 -0
- package/dist/reference/sdk-api/ui/alert/Alert.md +106 -0
- package/dist/reference/sdk-api/ui/alert/AlertAction.md +100 -0
- package/dist/reference/sdk-api/ui/alert/AlertDescription.md +100 -0
- package/dist/reference/sdk-api/ui/alert/AlertTitle.md +100 -0
- package/dist/reference/sdk-api/ui/alert/index.md +12 -0
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialog.md +58 -0
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogAction.md +107 -0
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogCancel.md +107 -0
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogContent.md +106 -0
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogDescription.md +100 -0
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogFooter.md +100 -0
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogHeader.md +100 -0
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogOverlay.md +100 -0
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogPortal.md +55 -0
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogTitle.md +100 -0
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogTrigger.md +118 -0
- package/dist/reference/sdk-api/ui/alert-dialog/index.md +19 -0
- package/dist/reference/sdk-api/ui/aspect-ratio/AspectRatio.md +106 -0
- package/dist/reference/sdk-api/ui/aspect-ratio/index.md +9 -0
- package/dist/reference/sdk-api/ui/avatar/Avatar.md +106 -0
- package/dist/reference/sdk-api/ui/avatar/AvatarBadge.md +100 -0
- package/dist/reference/sdk-api/ui/avatar/AvatarFallback.md +100 -0
- package/dist/reference/sdk-api/ui/avatar/AvatarGroup.md +100 -0
- package/dist/reference/sdk-api/ui/avatar/AvatarGroupCount.md +100 -0
- package/dist/reference/sdk-api/ui/avatar/AvatarImage.md +108 -0
- package/dist/reference/sdk-api/ui/avatar/index.md +14 -0
- package/dist/reference/sdk-api/ui/badge/Badge.md +114 -0
- package/dist/reference/sdk-api/ui/badge/badgeVariants.md +70 -0
- package/dist/reference/sdk-api/ui/badge/index.md +10 -0
- package/dist/reference/sdk-api/ui/button/Button.md +210 -0
- package/dist/reference/sdk-api/ui/button/ButtonProps.md +188 -0
- package/dist/reference/sdk-api/ui/button/buttonVariants.md +84 -0
- package/dist/reference/sdk-api/ui/button/index.md +11 -0
- package/dist/reference/sdk-api/ui/button-group/ButtonGroup.md +106 -0
- package/dist/reference/sdk-api/ui/button-group/ButtonGroupSeparator.md +106 -0
- package/dist/reference/sdk-api/ui/button-group/ButtonGroupText.md +106 -0
- package/dist/reference/sdk-api/ui/button-group/buttonGroupVariants.md +70 -0
- package/dist/reference/sdk-api/ui/button-group/index.md +12 -0
- package/dist/reference/sdk-api/ui/calendar/Calendar.md +144 -0
- package/dist/reference/sdk-api/ui/calendar/CalendarProps.md +118 -0
- package/dist/reference/sdk-api/ui/calendar/index.md +10 -0
- package/dist/reference/sdk-api/ui/card/Card.md +106 -0
- package/dist/reference/sdk-api/ui/card/CardAction.md +100 -0
- package/dist/reference/sdk-api/ui/card/CardContent.md +100 -0
- package/dist/reference/sdk-api/ui/card/CardDescription.md +100 -0
- package/dist/reference/sdk-api/ui/card/CardFooter.md +100 -0
- package/dist/reference/sdk-api/ui/card/CardHeader.md +100 -0
- package/dist/reference/sdk-api/ui/card/CardTitle.md +100 -0
- package/dist/reference/sdk-api/ui/card/index.md +15 -0
- package/dist/reference/sdk-api/ui/carousel/Carousel.md +108 -0
- package/dist/reference/sdk-api/ui/carousel/CarouselContent.md +100 -0
- package/dist/reference/sdk-api/ui/carousel/CarouselItem.md +100 -0
- package/dist/reference/sdk-api/ui/carousel/CarouselNext.md +219 -0
- package/dist/reference/sdk-api/ui/carousel/CarouselPrevious.md +219 -0
- package/dist/reference/sdk-api/ui/carousel/index.md +14 -0
- package/dist/reference/sdk-api/ui/carousel/useCarousel.md +46 -0
- package/dist/reference/sdk-api/ui/checkbox/Checkbox.md +109 -0
- package/dist/reference/sdk-api/ui/checkbox/index.md +9 -0
- package/dist/reference/sdk-api/ui/collapsible/Collapsible.md +108 -0
- package/dist/reference/sdk-api/ui/collapsible/CollapsibleContent.md +100 -0
- package/dist/reference/sdk-api/ui/collapsible/CollapsibleTrigger.md +119 -0
- package/dist/reference/sdk-api/ui/collapsible/index.md +11 -0
- package/dist/reference/sdk-api/ui/combobox/Combobox.md +124 -0
- package/dist/reference/sdk-api/ui/combobox/ComboboxChip.md +107 -0
- package/dist/reference/sdk-api/ui/combobox/ComboboxChips.md +100 -0
- package/dist/reference/sdk-api/ui/combobox/ComboboxChipsInput.md +107 -0
- package/dist/reference/sdk-api/ui/combobox/ComboboxCollection.md +100 -0
- package/dist/reference/sdk-api/ui/combobox/ComboboxContent.md +106 -0
- package/dist/reference/sdk-api/ui/combobox/ComboboxEmpty.md +100 -0
- package/dist/reference/sdk-api/ui/combobox/ComboboxGroup.md +100 -0
- package/dist/reference/sdk-api/ui/combobox/ComboboxInput.md +113 -0
- package/dist/reference/sdk-api/ui/combobox/ComboboxItem.md +106 -0
- package/dist/reference/sdk-api/ui/combobox/ComboboxLabel.md +100 -0
- package/dist/reference/sdk-api/ui/combobox/ComboboxList.md +105 -0
- package/dist/reference/sdk-api/ui/combobox/ComboboxSeparator.md +100 -0
- package/dist/reference/sdk-api/ui/combobox/ComboboxTrigger.md +100 -0
- package/dist/reference/sdk-api/ui/combobox/ComboboxValue.md +105 -0
- package/dist/reference/sdk-api/ui/combobox/index.md +24 -0
- package/dist/reference/sdk-api/ui/combobox/useComboboxAnchor.md +43 -0
- package/dist/reference/sdk-api/ui/dialog/Dialog.md +58 -0
- package/dist/reference/sdk-api/ui/dialog/DialogClose.md +100 -0
- package/dist/reference/sdk-api/ui/dialog/DialogContent.md +107 -0
- package/dist/reference/sdk-api/ui/dialog/DialogDescription.md +100 -0
- package/dist/reference/sdk-api/ui/dialog/DialogFooter.md +100 -0
- package/dist/reference/sdk-api/ui/dialog/DialogHeader.md +100 -0
- package/dist/reference/sdk-api/ui/dialog/DialogOverlay.md +100 -0
- package/dist/reference/sdk-api/ui/dialog/DialogPortal.md +55 -0
- package/dist/reference/sdk-api/ui/dialog/DialogTitle.md +100 -0
- package/dist/reference/sdk-api/ui/dialog/DialogTrigger.md +106 -0
- package/dist/reference/sdk-api/ui/dialog/index.md +18 -0
- package/dist/reference/sdk-api/ui/drawer/Drawer.md +59 -0
- package/dist/reference/sdk-api/ui/drawer/DrawerClose.md +100 -0
- package/dist/reference/sdk-api/ui/drawer/DrawerContent.md +100 -0
- package/dist/reference/sdk-api/ui/drawer/DrawerDescription.md +100 -0
- package/dist/reference/sdk-api/ui/drawer/DrawerFooter.md +100 -0
- package/dist/reference/sdk-api/ui/drawer/DrawerHeader.md +100 -0
- package/dist/reference/sdk-api/ui/drawer/DrawerOverlay.md +100 -0
- package/dist/reference/sdk-api/ui/drawer/DrawerPortal.md +55 -0
- package/dist/reference/sdk-api/ui/drawer/DrawerTitle.md +100 -0
- package/dist/reference/sdk-api/ui/drawer/DrawerTrigger.md +100 -0
- package/dist/reference/sdk-api/ui/drawer/index.md +18 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenu.md +58 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuCheckboxItem.md +107 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuContent.md +106 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuGroup.md +100 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuItem.md +107 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuLabel.md +106 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuPortal.md +55 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuRadioGroup.md +100 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuRadioItem.md +106 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuSeparator.md +100 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuShortcut.md +100 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuSub.md +58 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuSubContent.md +100 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuSubTrigger.md +106 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuTrigger.md +119 -0
- package/dist/reference/sdk-api/ui/dropdown-menu/index.md +23 -0
- package/dist/reference/sdk-api/ui/empty/Empty.md +100 -0
- package/dist/reference/sdk-api/ui/empty/EmptyContent.md +100 -0
- package/dist/reference/sdk-api/ui/empty/EmptyDescription.md +100 -0
- package/dist/reference/sdk-api/ui/empty/EmptyHeader.md +100 -0
- package/dist/reference/sdk-api/ui/empty/EmptyMedia.md +106 -0
- package/dist/reference/sdk-api/ui/empty/EmptyTitle.md +100 -0
- package/dist/reference/sdk-api/ui/empty/index.md +14 -0
- package/dist/reference/sdk-api/ui/field/Field.md +106 -0
- package/dist/reference/sdk-api/ui/field/FieldContent.md +100 -0
- package/dist/reference/sdk-api/ui/field/FieldDescription.md +100 -0
- package/dist/reference/sdk-api/ui/field/FieldError.md +112 -0
- package/dist/reference/sdk-api/ui/field/FieldGroup.md +100 -0
- package/dist/reference/sdk-api/ui/field/FieldLabel.md +85 -0
- package/dist/reference/sdk-api/ui/field/FieldLegend.md +106 -0
- package/dist/reference/sdk-api/ui/field/FieldSeparator.md +105 -0
- package/dist/reference/sdk-api/ui/field/FieldSet.md +100 -0
- package/dist/reference/sdk-api/ui/field/FieldTitle.md +100 -0
- package/dist/reference/sdk-api/ui/field/index.md +18 -0
- package/dist/reference/sdk-api/ui/helpers/collectDataIconState.md +66 -0
- package/dist/reference/sdk-api/ui/helpers/index.md +9 -0
- package/dist/reference/sdk-api/ui/index.md +57 -0
- package/dist/reference/sdk-api/ui/input/Input.md +141 -0
- package/dist/reference/sdk-api/ui/input/index.md +9 -0
- package/dist/reference/sdk-api/ui/input-group/InputGroup.md +100 -0
- package/dist/reference/sdk-api/ui/input-group/InputGroupAddon.md +109 -0
- package/dist/reference/sdk-api/ui/input-group/InputGroupButton.md +220 -0
- package/dist/reference/sdk-api/ui/input-group/InputGroupInput.md +135 -0
- package/dist/reference/sdk-api/ui/input-group/InputGroupText.md +100 -0
- package/dist/reference/sdk-api/ui/input-group/InputGroupTextarea.md +126 -0
- package/dist/reference/sdk-api/ui/input-group/index.md +14 -0
- package/dist/reference/sdk-api/ui/input-otp/InputOTP.md +111 -0
- package/dist/reference/sdk-api/ui/input-otp/InputOTPGroup.md +100 -0
- package/dist/reference/sdk-api/ui/input-otp/InputOTPSeparator.md +100 -0
- package/dist/reference/sdk-api/ui/input-otp/InputOTPSlot.md +107 -0
- package/dist/reference/sdk-api/ui/input-otp/index.md +12 -0
- package/dist/reference/sdk-api/ui/item/Item.md +115 -0
- package/dist/reference/sdk-api/ui/item/ItemActions.md +100 -0
- package/dist/reference/sdk-api/ui/item/ItemContent.md +100 -0
- package/dist/reference/sdk-api/ui/item/ItemDescription.md +100 -0
- package/dist/reference/sdk-api/ui/item/ItemFooter.md +100 -0
- package/dist/reference/sdk-api/ui/item/ItemGroup.md +100 -0
- package/dist/reference/sdk-api/ui/item/ItemHeader.md +100 -0
- package/dist/reference/sdk-api/ui/item/ItemMedia.md +106 -0
- package/dist/reference/sdk-api/ui/item/ItemSeparator.md +106 -0
- package/dist/reference/sdk-api/ui/item/ItemTitle.md +100 -0
- package/dist/reference/sdk-api/ui/item/index.md +18 -0
- package/dist/reference/sdk-api/ui/label/Label.md +85 -0
- package/dist/reference/sdk-api/ui/label/index.md +9 -0
- package/dist/reference/sdk-api/ui/menubar/Menubar.md +100 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarCheckboxItem.md +111 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarContent.md +108 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarGroup.md +100 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarItem.md +109 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarLabel.md +106 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarMenu.md +55 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarPortal.md +55 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarRadioGroup.md +108 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarRadioItem.md +110 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarSeparator.md +100 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarShortcut.md +100 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarSub.md +58 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarSubContent.md +108 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarSubTrigger.md +107 -0
- package/dist/reference/sdk-api/ui/menubar/MenubarTrigger.md +100 -0
- package/dist/reference/sdk-api/ui/menubar/index.md +24 -0
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenu.md +100 -0
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuContent.md +106 -0
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuIndicator.md +100 -0
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuItem.md +106 -0
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuLink.md +106 -0
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuList.md +100 -0
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuPositioner.md +100 -0
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuTrigger.md +120 -0
- package/dist/reference/sdk-api/ui/navigation-menu/index.md +17 -0
- package/dist/reference/sdk-api/ui/navigation-menu/navigationMenuTriggerStyle.md +64 -0
- package/dist/reference/sdk-api/ui/pagination/Pagination.md +100 -0
- package/dist/reference/sdk-api/ui/pagination/PaginationContent.md +100 -0
- package/dist/reference/sdk-api/ui/pagination/PaginationEllipsis.md +100 -0
- package/dist/reference/sdk-api/ui/pagination/PaginationItem.md +100 -0
- package/dist/reference/sdk-api/ui/pagination/PaginationLink.md +107 -0
- package/dist/reference/sdk-api/ui/pagination/PaginationNext.md +121 -0
- package/dist/reference/sdk-api/ui/pagination/PaginationPrevious.md +121 -0
- package/dist/reference/sdk-api/ui/pagination/index.md +15 -0
- package/dist/reference/sdk-api/ui/popover/Popover.md +58 -0
- package/dist/reference/sdk-api/ui/popover/PopoverAnchor.md +100 -0
- package/dist/reference/sdk-api/ui/popover/PopoverContent.md +108 -0
- package/dist/reference/sdk-api/ui/popover/PopoverDescription.md +100 -0
- package/dist/reference/sdk-api/ui/popover/PopoverHeader.md +100 -0
- package/dist/reference/sdk-api/ui/popover/PopoverTitle.md +100 -0
- package/dist/reference/sdk-api/ui/popover/PopoverTrigger.md +119 -0
- package/dist/reference/sdk-api/ui/popover/index.md +15 -0
- package/dist/reference/sdk-api/ui/portal/Portal.md +55 -0
- package/dist/reference/sdk-api/ui/portal/index.md +9 -0
- package/dist/reference/sdk-api/ui/progress/Progress.md +109 -0
- package/dist/reference/sdk-api/ui/progress/ProgressIndicator.md +107 -0
- package/dist/reference/sdk-api/ui/progress/ProgressLabel.md +100 -0
- package/dist/reference/sdk-api/ui/progress/ProgressTrack.md +100 -0
- package/dist/reference/sdk-api/ui/progress/ProgressValue.md +105 -0
- package/dist/reference/sdk-api/ui/progress/index.md +13 -0
- package/dist/reference/sdk-api/ui/radio-group/RadioGroup.md +108 -0
- package/dist/reference/sdk-api/ui/radio-group/RadioGroupItem.md +107 -0
- package/dist/reference/sdk-api/ui/radio-group/index.md +10 -0
- package/dist/reference/sdk-api/ui/resizable/ResizableHandle.md +107 -0
- package/dist/reference/sdk-api/ui/resizable/ResizablePanel.md +108 -0
- package/dist/reference/sdk-api/ui/resizable/ResizablePanelGroup.md +107 -0
- package/dist/reference/sdk-api/ui/resizable/index.md +11 -0
- package/dist/reference/sdk-api/ui/scroll-area/ScrollArea.md +159 -0
- package/dist/reference/sdk-api/ui/scroll-area/ScrollBar.md +106 -0
- package/dist/reference/sdk-api/ui/scroll-area/index.md +10 -0
- package/dist/reference/sdk-api/ui/select/Select.md +80 -0
- package/dist/reference/sdk-api/ui/select/SelectContent.md +106 -0
- package/dist/reference/sdk-api/ui/select/SelectGroup.md +100 -0
- package/dist/reference/sdk-api/ui/select/SelectItem.md +106 -0
- package/dist/reference/sdk-api/ui/select/SelectLabel.md +100 -0
- package/dist/reference/sdk-api/ui/select/SelectScrollDownButton.md +100 -0
- package/dist/reference/sdk-api/ui/select/SelectScrollUpButton.md +100 -0
- package/dist/reference/sdk-api/ui/select/SelectSeparator.md +100 -0
- package/dist/reference/sdk-api/ui/select/SelectTrigger.md +106 -0
- package/dist/reference/sdk-api/ui/select/SelectValue.md +106 -0
- package/dist/reference/sdk-api/ui/select/index.md +18 -0
- package/dist/reference/sdk-api/ui/separator/Separator.md +106 -0
- package/dist/reference/sdk-api/ui/separator/index.md +9 -0
- package/dist/reference/sdk-api/ui/sheet/Sheet.md +58 -0
- package/dist/reference/sdk-api/ui/sheet/SheetClose.md +100 -0
- package/dist/reference/sdk-api/ui/sheet/SheetContent.md +113 -0
- package/dist/reference/sdk-api/ui/sheet/SheetDescription.md +100 -0
- package/dist/reference/sdk-api/ui/sheet/SheetFooter.md +100 -0
- package/dist/reference/sdk-api/ui/sheet/SheetHeader.md +100 -0
- package/dist/reference/sdk-api/ui/sheet/SheetOverlay.md +100 -0
- package/dist/reference/sdk-api/ui/sheet/SheetPortal.md +55 -0
- package/dist/reference/sdk-api/ui/sheet/SheetTitle.md +100 -0
- package/dist/reference/sdk-api/ui/sheet/SheetTrigger.md +100 -0
- package/dist/reference/sdk-api/ui/sheet/index.md +18 -0
- package/dist/reference/sdk-api/ui/skeleton/Skeleton.md +100 -0
- package/dist/reference/sdk-api/ui/skeleton/index.md +9 -0
- package/dist/reference/sdk-api/ui/slider/Slider.md +116 -0
- package/dist/reference/sdk-api/ui/slider/index.md +9 -0
- package/dist/reference/sdk-api/ui/sonner/Toaster.md +43 -0
- package/dist/reference/sdk-api/ui/sonner/index.md +10 -0
- package/dist/reference/sdk-api/ui/sonner/toast.md +58 -0
- package/dist/reference/sdk-api/ui/spinner/Spinner.md +100 -0
- package/dist/reference/sdk-api/ui/spinner/index.md +9 -0
- package/dist/reference/sdk-api/ui/switch/Switch.md +110 -0
- package/dist/reference/sdk-api/ui/switch/index.md +9 -0
- package/dist/reference/sdk-api/ui/table/Table.md +100 -0
- package/dist/reference/sdk-api/ui/table/TableBody.md +100 -0
- package/dist/reference/sdk-api/ui/table/TableCaption.md +100 -0
- package/dist/reference/sdk-api/ui/table/TableCell.md +106 -0
- package/dist/reference/sdk-api/ui/table/TableFooter.md +100 -0
- package/dist/reference/sdk-api/ui/table/TableHead.md +106 -0
- package/dist/reference/sdk-api/ui/table/TableHeader.md +100 -0
- package/dist/reference/sdk-api/ui/table/TableRow.md +100 -0
- package/dist/reference/sdk-api/ui/table/index.md +16 -0
- package/dist/reference/sdk-api/ui/tabs/Tabs.md +109 -0
- package/dist/reference/sdk-api/ui/tabs/TabsContent.md +106 -0
- package/dist/reference/sdk-api/ui/tabs/TabsList.md +106 -0
- package/dist/reference/sdk-api/ui/tabs/TabsTrigger.md +107 -0
- package/dist/reference/sdk-api/ui/tabs/index.md +13 -0
- package/dist/reference/sdk-api/ui/tabs/tabsListVariants.md +70 -0
- package/dist/reference/sdk-api/ui/textarea/Textarea.md +126 -0
- package/dist/reference/sdk-api/ui/textarea/index.md +9 -0
- package/dist/reference/sdk-api/ui/toggle/Toggle.md +118 -0
- package/dist/reference/sdk-api/ui/toggle/index.md +10 -0
- package/dist/reference/sdk-api/ui/toggle/toggleVariants.md +71 -0
- package/dist/reference/sdk-api/ui/toggle-group/ToggleGroup.md +122 -0
- package/dist/reference/sdk-api/ui/toggle-group/ToggleGroupItem.md +116 -0
- package/dist/reference/sdk-api/ui/toggle-group/index.md +10 -0
- package/dist/reference/sdk-api.json +74470 -146
- package/dist/reference/sdk-api.md +62 -3
- package/dist/ui/accordion.d.ts +48 -0
- package/dist/ui/accordion.js +40 -0
- package/dist/ui/accordion.js.map +1 -1
- package/dist/ui/alert-dialog.d.ts +123 -0
- package/dist/ui/alert-dialog.js +114 -0
- package/dist/ui/alert-dialog.js.map +1 -1
- package/dist/ui/alert.d.ts +41 -0
- package/dist/ui/alert.js +41 -0
- package/dist/ui/alert.js.map +1 -1
- package/dist/ui/aspect-ratio.d.ts +11 -0
- package/dist/ui/aspect-ratio.js +10 -0
- package/dist/ui/aspect-ratio.js.map +1 -1
- package/dist/ui/avatar.d.ts +65 -0
- package/dist/ui/avatar.js +63 -0
- package/dist/ui/avatar.js.map +1 -1
- package/dist/ui/badge.d.ts +22 -0
- package/dist/ui/badge.js +22 -0
- package/dist/ui/badge.js.map +1 -1
- package/dist/ui/button-group.d.ts +45 -0
- package/dist/ui/button-group.js +43 -0
- package/dist/ui/button-group.js.map +1 -1
- package/dist/ui/button.d.ts +52 -0
- package/dist/ui/button.js +30 -0
- package/dist/ui/button.js.map +1 -1
- package/dist/ui/calendar.d.ts +44 -0
- package/dist/ui/calendar.js +19 -0
- package/dist/ui/calendar.js.map +1 -1
- package/dist/ui/card.d.ts +71 -0
- package/dist/ui/card.js +70 -0
- package/dist/ui/card.js.map +1 -1
- package/dist/ui/carousel.d.ts +71 -0
- package/dist/ui/carousel.js +66 -0
- package/dist/ui/carousel.js.map +1 -1
- package/dist/ui/checkbox.d.ts +14 -0
- package/dist/ui/checkbox.js +10 -0
- package/dist/ui/checkbox.js.map +1 -1
- package/dist/ui/collapsible.d.ts +37 -0
- package/dist/ui/collapsible.js +30 -0
- package/dist/ui/collapsible.js.map +1 -1
- package/dist/ui/combobox.d.ts +190 -0
- package/dist/ui/combobox.js +167 -0
- package/dist/ui/combobox.js.map +1 -1
- package/dist/ui/dialog.d.ts +109 -0
- package/dist/ui/dialog.js +100 -0
- package/dist/ui/dialog.js.map +1 -1
- package/dist/ui/drawer.d.ts +106 -0
- package/dist/ui/drawer.js +100 -0
- package/dist/ui/drawer.js.map +1 -1
- package/dist/ui/dropdown-menu.d.ts +171 -0
- package/dist/ui/dropdown-menu.js +150 -0
- package/dist/ui/dropdown-menu.js.map +1 -1
- package/dist/ui/empty.d.ts +61 -0
- package/dist/ui/empty.js +61 -0
- package/dist/ui/empty.js.map +1 -1
- package/dist/ui/field.d.ts +105 -0
- package/dist/ui/field.js +101 -0
- package/dist/ui/field.js.map +1 -1
- package/dist/ui/helpers.d.ts +11 -0
- package/dist/ui/helpers.js +11 -0
- package/dist/ui/helpers.js.map +1 -1
- package/dist/ui/input-group.d.ts +65 -0
- package/dist/ui/input-group.js +65 -0
- package/dist/ui/input-group.js.map +1 -1
- package/dist/ui/input-otp.d.ts +48 -0
- package/dist/ui/input-otp.js +40 -0
- package/dist/ui/input-otp.js.map +1 -1
- package/dist/ui/input.d.ts +24 -2
- package/dist/ui/input.js +20 -0
- package/dist/ui/input.js.map +1 -1
- package/dist/ui/item.d.ts +103 -0
- package/dist/ui/item.js +103 -0
- package/dist/ui/item.js.map +1 -1
- package/dist/ui/label.d.ts +10 -0
- package/dist/ui/label.js +10 -0
- package/dist/ui/label.js.map +1 -1
- package/dist/ui/menubar.d.ts +193 -0
- package/dist/ui/menubar.js +160 -0
- package/dist/ui/menubar.js.map +1 -1
- package/dist/ui/navigation-menu.d.ts +98 -0
- package/dist/ui/navigation-menu.js +90 -0
- package/dist/ui/navigation-menu.js.map +1 -1
- package/dist/ui/pagination.d.ts +76 -0
- package/dist/ui/pagination.js +73 -0
- package/dist/ui/pagination.js.map +1 -1
- package/dist/ui/popover.d.ts +81 -0
- package/dist/ui/popover.js +70 -0
- package/dist/ui/popover.js.map +1 -1
- package/dist/ui/portal.d.ts +11 -0
- package/dist/ui/portal.js +10 -0
- package/dist/ui/portal.js.map +1 -1
- package/dist/ui/progress.d.ts +53 -26
- package/dist/ui/progress.js +50 -26
- package/dist/ui/progress.js.map +1 -1
- package/dist/ui/radio-group.d.ts +25 -0
- package/dist/ui/radio-group.js +20 -0
- package/dist/ui/radio-group.js.map +1 -1
- package/dist/ui/resizable.d.ts +37 -0
- package/dist/ui/resizable.js +30 -0
- package/dist/ui/resizable.js.map +1 -1
- package/dist/ui/scroll-area.d.ts +22 -0
- package/dist/ui/scroll-area.js +21 -0
- package/dist/ui/scroll-area.js.map +1 -1
- package/dist/ui/select.d.ts +122 -0
- package/dist/ui/select.js +108 -0
- package/dist/ui/select.js.map +1 -1
- package/dist/ui/separator.d.ts +11 -0
- package/dist/ui/separator.js +10 -0
- package/dist/ui/separator.js.map +1 -1
- package/dist/ui/sheet.d.ts +107 -0
- package/dist/ui/sheet.js +101 -0
- package/dist/ui/sheet.js.map +1 -1
- package/dist/ui/skeleton.d.ts +10 -0
- package/dist/ui/skeleton.js +10 -0
- package/dist/ui/skeleton.js.map +1 -1
- package/dist/ui/slider.d.ts +21 -0
- package/dist/ui/slider.js +14 -0
- package/dist/ui/slider.js.map +1 -1
- package/dist/ui/sonner.d.ts +23 -0
- package/dist/ui/sonner.js +21 -0
- package/dist/ui/sonner.js.map +1 -1
- package/dist/ui/spinner.d.ts +10 -0
- package/dist/ui/spinner.js +10 -0
- package/dist/ui/spinner.js.map +1 -1
- package/dist/ui/switch.d.ts +15 -0
- package/dist/ui/switch.js +10 -0
- package/dist/ui/switch.js.map +1 -1
- package/dist/ui/table.d.ts +81 -0
- package/dist/ui/table.js +80 -0
- package/dist/ui/table.js.map +1 -1
- package/dist/ui/tabs.d.ts +59 -0
- package/dist/ui/tabs.js +51 -0
- package/dist/ui/tabs.js.map +1 -1
- package/dist/ui/textarea.d.ts +13 -0
- package/dist/ui/textarea.js +13 -0
- package/dist/ui/textarea.js.map +1 -1
- package/dist/ui/toggle-group.d.ts +34 -0
- package/dist/ui/toggle-group.js +24 -0
- package/dist/ui/toggle-group.js.map +1 -1
- package/dist/ui/toggle.d.ts +28 -0
- package/dist/ui/toggle.js +24 -0
- package/dist/ui/toggle.js.map +1 -1
- package/package.json +4 -2
- package/release-provenance.json +15 -0
- package/src/adapters/interest-card/eslint/eslint-plugin-custom-navigation.mjs +2 -0
- package/src/adapters/interest-card/eslint/taro.mjs +21 -0
- package/src/adapters/interest-card/runtime/microapp.ts +11 -0
- package/src/adapters/interest-card/types/taro.d.ts +28 -0
- package/src/build/config-overrides.ts +39 -0
- package/src/build/index.ts +5 -0
- package/src/build/plugins/app-config.ts +47 -0
- package/src/build/plugins/depend-card/analyze.ts +122 -0
- package/src/build/plugins/depend-card/source.ts +97 -0
- package/src/build/plugins/vite-depend-card.ts +168 -0
- package/src/build/plugins/vite-image-asset-import.ts +178 -0
- package/src/build/plugins/vite-inline-json.ts +149 -0
- package/src/build/plugins/vite-taro-source-location.ts +224 -0
- package/src/build/plugins/vite-tt-components-entry.ts +33 -0
- package/src/build/taro.ts +830 -0
- package/src/components/miniapp-open-card.ts +94 -0
- package/src/components/native-miniapp-open-card.ts +7 -0
- package/src/eslint/eslint-plugin-custom-navigation.mjs +290 -0
- package/src/eslint/eslint-plugin-microapp-pages.mjs +659 -0
- package/src/eslint/server.mjs +69 -0
- package/src/eslint/taro.mjs +587 -0
- package/src/index.ts +2 -0
- package/src/internal/runtime/douyin-open-button.d.ts +29 -0
- package/src/internal/runtime/iframe-auth/identity.ts +236 -0
- package/src/internal/runtime/iframe-auth/index.ts +2 -0
- package/src/internal/runtime/iframe-auth/sync.ts +37 -0
- package/src/internal/vendor-modules.d.ts +8 -0
- package/src/lib/measure.ts +115 -0
- package/src/lib/platform.ts +11 -0
- package/src/lib/utils.ts +6 -0
- package/src/runtime/client.ts +246 -0
- package/src/runtime/default-client.ts +26 -0
- package/src/runtime/default-iframe-auth.ts +13 -0
- package/src/runtime/douyin-container-request.ts +367 -0
- package/src/runtime/douyin-login-request.ts +514 -0
- package/src/runtime/globals.d.ts +342 -0
- package/src/runtime/index.ts +4 -0
- package/src/runtime/network-url.ts +63 -0
- package/src/ui/accordion.tsx +226 -0
- package/src/ui/alert-dialog.tsx +407 -0
- package/src/ui/alert.tsx +149 -0
- package/src/ui/aspect-ratio.tsx +37 -0
- package/src/ui/avatar.tsx +238 -0
- package/src/ui/badge.tsx +77 -0
- package/src/ui/button-group.tsx +173 -0
- package/src/ui/button.tsx +215 -0
- package/src/ui/calendar.tsx +353 -0
- package/src/ui/card.tsx +217 -0
- package/src/ui/carousel.tsx +259 -0
- package/src/ui/checkbox.tsx +62 -0
- package/src/ui/collapsible.tsx +148 -0
- package/src/ui/combobox.tsx +650 -0
- package/src/ui/dialog.tsx +290 -0
- package/src/ui/drawer.tsx +272 -0
- package/src/ui/dropdown-menu.tsx +547 -0
- package/src/ui/empty.tsx +166 -0
- package/src/ui/field.tsx +427 -0
- package/src/ui/helpers.tsx +39 -0
- package/src/ui/index.ts +47 -0
- package/src/ui/input-group.tsx +320 -0
- package/src/ui/input-otp.tsx +189 -0
- package/src/ui/input.tsx +60 -0
- package/src/ui/item.tsx +338 -0
- package/src/ui/label.tsx +31 -0
- package/src/ui/menubar.tsx +835 -0
- package/src/ui/navigation-menu.tsx +341 -0
- package/src/ui/pagination.tsx +195 -0
- package/src/ui/popover.tsx +363 -0
- package/src/ui/portal.tsx +31 -0
- package/src/ui/progress.tsx +182 -0
- package/src/ui/radio-group.tsx +111 -0
- package/src/ui/resizable.tsx +410 -0
- package/src/ui/scroll-area.tsx +102 -0
- package/src/ui/select.tsx +471 -0
- package/src/ui/separator.tsx +37 -0
- package/src/ui/sheet.tsx +289 -0
- package/src/ui/skeleton.tsx +25 -0
- package/src/ui/slider.tsx +176 -0
- package/src/ui/sonner.tsx +40 -0
- package/src/ui/spinner.tsx +23 -0
- package/src/ui/switch.tsx +94 -0
- package/src/ui/table.tsx +240 -0
- package/src/ui/tabs.tsx +233 -0
- package/src/ui/tailwind.css +2 -0
- package/src/ui/textarea.tsx +49 -0
- package/src/ui/theme.css +234 -0
- package/src/ui/toggle-group.tsx +215 -0
- package/src/ui/toggle.tsx +113 -0
package/src/ui/empty.tsx
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { View, type ViewProps } from "@tarojs/components"
|
|
2
|
+
import { cva, type VariantProps } from "class-variance-authority"
|
|
3
|
+
|
|
4
|
+
import { cn } from "../lib/utils"
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @desc 空状态组件。
|
|
8
|
+
* @param {Parameters<typeof Empty>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
9
|
+
* @return {ReturnType<typeof Empty>} 组件渲染结果;类型见返回值契约。
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* import { Empty } from '@open-dy/vibecoding-sdk-taro/ui/empty'
|
|
13
|
+
* <Empty />
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
function Empty({ className, ...props }: ViewProps) {
|
|
17
|
+
return (
|
|
18
|
+
<View
|
|
19
|
+
data-slot="empty"
|
|
20
|
+
className={cn(
|
|
21
|
+
"flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6",
|
|
22
|
+
className
|
|
23
|
+
)}
|
|
24
|
+
{...props}
|
|
25
|
+
/>
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @desc 空状态头部布局。
|
|
31
|
+
* @param {Parameters<typeof EmptyHeader>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
32
|
+
* @return {ReturnType<typeof EmptyHeader>} 组件渲染结果;类型见返回值契约。
|
|
33
|
+
* @example
|
|
34
|
+
* ```tsx
|
|
35
|
+
* import { Empty, EmptyHeader } from '@open-dy/vibecoding-sdk-taro/ui/empty'
|
|
36
|
+
* <Empty><EmptyHeader /></Empty>
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
function EmptyHeader({ className, ...props }: ViewProps) {
|
|
40
|
+
return (
|
|
41
|
+
<View
|
|
42
|
+
data-slot="empty-header"
|
|
43
|
+
className={cn("flex max-w-sm flex-col items-center gap-2", className)}
|
|
44
|
+
{...props}
|
|
45
|
+
/>
|
|
46
|
+
)
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
const emptyMediaVariants = cva(
|
|
50
|
+
"mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
51
|
+
{
|
|
52
|
+
variants: {
|
|
53
|
+
variant: {
|
|
54
|
+
default: "bg-transparent",
|
|
55
|
+
icon: "flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4",
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
defaultVariants: {
|
|
59
|
+
variant: "default",
|
|
60
|
+
},
|
|
61
|
+
}
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @desc 空状态媒体区域。
|
|
66
|
+
* @param {Parameters<typeof EmptyMedia>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
67
|
+
* @param {Parameters<typeof EmptyMedia>[0]["variant"]} props.variant 媒体区外观,默认 default(透明背景);icon 为带底色的 size-8 图标容器。
|
|
68
|
+
* @return {ReturnType<typeof EmptyMedia>} 组件渲染结果;类型见返回值契约。
|
|
69
|
+
* @example
|
|
70
|
+
* ```tsx
|
|
71
|
+
* import { Empty, EmptyMedia } from '@open-dy/vibecoding-sdk-taro/ui/empty'
|
|
72
|
+
* <Empty><EmptyMedia /></Empty>
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
function EmptyMedia({
|
|
76
|
+
className,
|
|
77
|
+
variant = "default",
|
|
78
|
+
...props
|
|
79
|
+
}: ViewProps & VariantProps<typeof emptyMediaVariants>) {
|
|
80
|
+
return (
|
|
81
|
+
<View
|
|
82
|
+
data-slot="empty-icon"
|
|
83
|
+
data-variant={variant}
|
|
84
|
+
className={cn(emptyMediaVariants({ variant, className }))}
|
|
85
|
+
{...props}
|
|
86
|
+
/>
|
|
87
|
+
)
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @desc 空状态标题。
|
|
92
|
+
* @param {Parameters<typeof EmptyTitle>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
93
|
+
* @return {ReturnType<typeof EmptyTitle>} 组件渲染结果;类型见返回值契约。
|
|
94
|
+
* @example
|
|
95
|
+
* ```tsx
|
|
96
|
+
* import { Empty, EmptyTitle } from '@open-dy/vibecoding-sdk-taro/ui/empty'
|
|
97
|
+
* <Empty><EmptyTitle /></Empty>
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
function EmptyTitle({ className, ...props }: ViewProps) {
|
|
101
|
+
return (
|
|
102
|
+
<View
|
|
103
|
+
data-slot="empty-title"
|
|
104
|
+
className={cn(
|
|
105
|
+
"font-heading text-sm font-medium tracking-tight",
|
|
106
|
+
className
|
|
107
|
+
)}
|
|
108
|
+
{...props}
|
|
109
|
+
/>
|
|
110
|
+
)
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @desc 空状态说明文本。
|
|
115
|
+
* @param {Parameters<typeof EmptyDescription>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
116
|
+
* @return {ReturnType<typeof EmptyDescription>} 组件渲染结果;类型见返回值契约。
|
|
117
|
+
* @example
|
|
118
|
+
* ```tsx
|
|
119
|
+
* import { Empty, EmptyDescription } from '@open-dy/vibecoding-sdk-taro/ui/empty'
|
|
120
|
+
* <Empty><EmptyDescription /></Empty>
|
|
121
|
+
* ```
|
|
122
|
+
*/
|
|
123
|
+
function EmptyDescription({ className, ...props }: ViewProps) {
|
|
124
|
+
return (
|
|
125
|
+
<View
|
|
126
|
+
data-slot="empty-description"
|
|
127
|
+
className={cn(
|
|
128
|
+
"text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
|
|
129
|
+
className
|
|
130
|
+
)}
|
|
131
|
+
{...props}
|
|
132
|
+
/>
|
|
133
|
+
)
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* @desc 空状态内容容器。
|
|
138
|
+
* @param {Parameters<typeof EmptyContent>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
139
|
+
* @return {ReturnType<typeof EmptyContent>} 组件渲染结果;类型见返回值契约。
|
|
140
|
+
* @example
|
|
141
|
+
* ```tsx
|
|
142
|
+
* import { Empty, EmptyContent } from '@open-dy/vibecoding-sdk-taro/ui/empty'
|
|
143
|
+
* <Empty><EmptyContent /></Empty>
|
|
144
|
+
* ```
|
|
145
|
+
*/
|
|
146
|
+
function EmptyContent({ className, ...props }: ViewProps) {
|
|
147
|
+
return (
|
|
148
|
+
<View
|
|
149
|
+
data-slot="empty-content"
|
|
150
|
+
className={cn(
|
|
151
|
+
"flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-sm text-balance",
|
|
152
|
+
className
|
|
153
|
+
)}
|
|
154
|
+
{...props}
|
|
155
|
+
/>
|
|
156
|
+
)
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export {
|
|
160
|
+
Empty,
|
|
161
|
+
EmptyHeader,
|
|
162
|
+
EmptyTitle,
|
|
163
|
+
EmptyDescription,
|
|
164
|
+
EmptyContent,
|
|
165
|
+
EmptyMedia,
|
|
166
|
+
}
|
package/src/ui/field.tsx
ADDED
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
import { View, type ViewProps } from "@tarojs/components"
|
|
3
|
+
import { cva, type VariantProps } from "class-variance-authority"
|
|
4
|
+
|
|
5
|
+
import { cn } from "../lib/utils"
|
|
6
|
+
import { Label } from "./label"
|
|
7
|
+
import { Separator } from "./separator"
|
|
8
|
+
|
|
9
|
+
const FieldContext = React.createContext({
|
|
10
|
+
disabled: false,
|
|
11
|
+
invalid: false,
|
|
12
|
+
orientation: "vertical" as "vertical" | "horizontal" | "responsive",
|
|
13
|
+
hasContent: false,
|
|
14
|
+
})
|
|
15
|
+
|
|
16
|
+
function isTruthyAriaState(value: unknown) {
|
|
17
|
+
return value !== undefined && value !== false && value !== "false"
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function hasCheckedControl(node: React.ReactNode): boolean {
|
|
21
|
+
let found = false
|
|
22
|
+
|
|
23
|
+
const visit = (children: React.ReactNode) => {
|
|
24
|
+
React.Children.forEach(children, (child) => {
|
|
25
|
+
if (!React.isValidElement(child) || found) return
|
|
26
|
+
|
|
27
|
+
const props = child.props as {
|
|
28
|
+
checked?: boolean
|
|
29
|
+
"aria-checked"?: boolean | "true" | "false"
|
|
30
|
+
children?: React.ReactNode
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
if (props.checked || isTruthyAriaState(props["aria-checked"])) {
|
|
34
|
+
found = true
|
|
35
|
+
return
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (props.children) {
|
|
39
|
+
visit(props.children)
|
|
40
|
+
}
|
|
41
|
+
})
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
visit(node)
|
|
45
|
+
return found
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @desc 表单字段字段组容器。
|
|
50
|
+
* @param {Parameters<typeof FieldSet>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
51
|
+
* @return {ReturnType<typeof FieldSet>} 组件渲染结果;类型见返回值契约。
|
|
52
|
+
* @example
|
|
53
|
+
* ```tsx
|
|
54
|
+
* import { FieldSet } from '@open-dy/vibecoding-sdk-taro/ui/field'
|
|
55
|
+
* <FieldSet />
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
function FieldSet({ className, ...props }: ViewProps) {
|
|
59
|
+
return (
|
|
60
|
+
<View
|
|
61
|
+
data-slot="field-set"
|
|
62
|
+
className={cn("flex flex-col gap-4", className)}
|
|
63
|
+
{...props}
|
|
64
|
+
/>
|
|
65
|
+
)
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @desc 表单字段字段组标题。
|
|
70
|
+
* @param {Parameters<typeof FieldLegend>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
71
|
+
* @return {ReturnType<typeof FieldLegend>} 组件渲染结果;类型见返回值契约。
|
|
72
|
+
* @example
|
|
73
|
+
* ```tsx
|
|
74
|
+
* import { FieldSet, FieldLegend } from '@open-dy/vibecoding-sdk-taro/ui/field'
|
|
75
|
+
* <FieldSet><FieldLegend /></FieldSet>
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
function FieldLegend({
|
|
79
|
+
className,
|
|
80
|
+
variant = "legend",
|
|
81
|
+
...props
|
|
82
|
+
}: ViewProps & {
|
|
83
|
+
/** @desc 标题字号,默认 legend(text-base),label 使用较小的 text-sm;仅改变视觉样式。 */
|
|
84
|
+
variant?: "legend" | "label" }) {
|
|
85
|
+
return (
|
|
86
|
+
<View
|
|
87
|
+
data-slot="field-legend"
|
|
88
|
+
data-variant={variant}
|
|
89
|
+
className={cn(
|
|
90
|
+
"mb-1.5 font-medium",
|
|
91
|
+
variant === "label" ? "text-sm" : "text-base",
|
|
92
|
+
className
|
|
93
|
+
)}
|
|
94
|
+
{...props}
|
|
95
|
+
/>
|
|
96
|
+
)
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @desc 表单字段分组容器。
|
|
101
|
+
* @param {Parameters<typeof FieldGroup>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
102
|
+
* @return {ReturnType<typeof FieldGroup>} 组件渲染结果;类型见返回值契约。
|
|
103
|
+
* @example
|
|
104
|
+
* ```tsx
|
|
105
|
+
* import { FieldSet, FieldGroup } from '@open-dy/vibecoding-sdk-taro/ui/field'
|
|
106
|
+
* <FieldSet><FieldGroup /></FieldSet>
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
109
|
+
function FieldGroup({ className, ...props }: ViewProps) {
|
|
110
|
+
return (
|
|
111
|
+
<View
|
|
112
|
+
data-slot="field-group"
|
|
113
|
+
className={cn(
|
|
114
|
+
"group/field-group @container/field-group flex w-full flex-col gap-5",
|
|
115
|
+
className
|
|
116
|
+
)}
|
|
117
|
+
{...props}
|
|
118
|
+
/>
|
|
119
|
+
)
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
const fieldVariants = cva(
|
|
123
|
+
"group/field flex w-full gap-2",
|
|
124
|
+
{
|
|
125
|
+
variants: {
|
|
126
|
+
orientation: {
|
|
127
|
+
vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
|
|
128
|
+
horizontal: "flex-row items-center",
|
|
129
|
+
responsive: "flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center [&>.sr-only]:w-auto",
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
defaultVariants: {
|
|
133
|
+
orientation: "vertical",
|
|
134
|
+
},
|
|
135
|
+
}
|
|
136
|
+
)
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @desc 表单字段组件。
|
|
140
|
+
* @param {Parameters<typeof Field>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
141
|
+
* @param {Parameters<typeof Field>[0]["orientation"]} props.orientation 布局方向,默认 vertical;horizontal 横排,responsive 在 FieldGroup 容器较宽时切换为横排。不会改变输入控件本身的值或禁用状态。
|
|
142
|
+
* @return {ReturnType<typeof Field>} 组件渲染结果;类型见返回值契约。
|
|
143
|
+
* @example
|
|
144
|
+
* ```tsx
|
|
145
|
+
* import { FieldSet, Field } from '@open-dy/vibecoding-sdk-taro/ui/field'
|
|
146
|
+
* <FieldSet><Field /></FieldSet>
|
|
147
|
+
* ```
|
|
148
|
+
*/
|
|
149
|
+
function Field({
|
|
150
|
+
className,
|
|
151
|
+
orientation,
|
|
152
|
+
children,
|
|
153
|
+
...props
|
|
154
|
+
}: ViewProps & VariantProps<typeof fieldVariants>) {
|
|
155
|
+
const resolvedOrientation = orientation ?? "vertical"
|
|
156
|
+
const hasContent = React.useMemo(
|
|
157
|
+
() =>
|
|
158
|
+
React.Children.toArray(children).some(
|
|
159
|
+
(child) => React.isValidElement(child) && child.type === FieldContent
|
|
160
|
+
),
|
|
161
|
+
[children]
|
|
162
|
+
)
|
|
163
|
+
const disabled = isTruthyAriaState((props as { "aria-disabled"?: unknown })["aria-disabled"])
|
|
164
|
+
const invalid = isTruthyAriaState((props as { "aria-invalid"?: unknown })["aria-invalid"])
|
|
165
|
+
|
|
166
|
+
return (
|
|
167
|
+
<FieldContext.Provider
|
|
168
|
+
value={{
|
|
169
|
+
disabled,
|
|
170
|
+
invalid,
|
|
171
|
+
orientation: resolvedOrientation,
|
|
172
|
+
hasContent,
|
|
173
|
+
}}
|
|
174
|
+
>
|
|
175
|
+
<View
|
|
176
|
+
data-slot="field"
|
|
177
|
+
data-orientation={resolvedOrientation}
|
|
178
|
+
className={cn(
|
|
179
|
+
fieldVariants({ orientation: resolvedOrientation }),
|
|
180
|
+
invalid && "text-destructive",
|
|
181
|
+
hasContent &&
|
|
182
|
+
resolvedOrientation === "horizontal" &&
|
|
183
|
+
"items-start [&>[role=checkbox],[role=radio]]:mt-px",
|
|
184
|
+
hasContent &&
|
|
185
|
+
resolvedOrientation === "responsive" &&
|
|
186
|
+
"@md/field-group:items-start @md/field-group:[&>[role=checkbox],[role=radio]]:mt-px",
|
|
187
|
+
className
|
|
188
|
+
)}
|
|
189
|
+
{...props}
|
|
190
|
+
>
|
|
191
|
+
{children}
|
|
192
|
+
</View>
|
|
193
|
+
</FieldContext.Provider>
|
|
194
|
+
)
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* @desc 表单字段内容容器。
|
|
199
|
+
* @param {Parameters<typeof FieldContent>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
200
|
+
* @return {ReturnType<typeof FieldContent>} 组件渲染结果;类型见返回值契约。
|
|
201
|
+
* @example
|
|
202
|
+
* ```tsx
|
|
203
|
+
* import { FieldSet, FieldContent } from '@open-dy/vibecoding-sdk-taro/ui/field'
|
|
204
|
+
* <FieldSet><FieldContent /></FieldSet>
|
|
205
|
+
* ```
|
|
206
|
+
*/
|
|
207
|
+
function FieldContent({ className, ...props }: ViewProps) {
|
|
208
|
+
return (
|
|
209
|
+
<View
|
|
210
|
+
data-slot="field-content"
|
|
211
|
+
className={cn(
|
|
212
|
+
"group/field-content flex flex-1 flex-col gap-0.5 leading-snug",
|
|
213
|
+
className
|
|
214
|
+
)}
|
|
215
|
+
{...props}
|
|
216
|
+
/>
|
|
217
|
+
)
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* @desc 表单字段标签文本。
|
|
222
|
+
* @param {Parameters<typeof FieldLabel>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
223
|
+
* @return {ReturnType<typeof FieldLabel>} 组件渲染结果;类型见返回值契约。
|
|
224
|
+
* @example
|
|
225
|
+
* ```tsx
|
|
226
|
+
* import { FieldSet, FieldLabel } from '@open-dy/vibecoding-sdk-taro/ui/field'
|
|
227
|
+
* <FieldSet><FieldLabel /></FieldSet>
|
|
228
|
+
* ```
|
|
229
|
+
*/
|
|
230
|
+
function FieldLabel({
|
|
231
|
+
className,
|
|
232
|
+
children,
|
|
233
|
+
...props
|
|
234
|
+
}: React.ComponentProps<typeof Label>) {
|
|
235
|
+
const { disabled } = React.useContext(FieldContext)
|
|
236
|
+
const childArray = React.Children.toArray(children)
|
|
237
|
+
const hasNestedField = childArray.some(
|
|
238
|
+
(child) => React.isValidElement(child) && child.type === Field
|
|
239
|
+
)
|
|
240
|
+
const hasCheckedChild = hasCheckedControl(children)
|
|
241
|
+
|
|
242
|
+
return (
|
|
243
|
+
<Label
|
|
244
|
+
data-slot="field-label"
|
|
245
|
+
className={cn(
|
|
246
|
+
"group/field-label peer/field-label flex w-fit gap-2 leading-snug",
|
|
247
|
+
disabled && "opacity-50",
|
|
248
|
+
hasCheckedChild &&
|
|
249
|
+
"border-primary/30 bg-primary/5 dark:border-primary/20 dark:bg-primary/10",
|
|
250
|
+
hasNestedField && "w-full flex-col rounded-lg border",
|
|
251
|
+
hasNestedField && "*:p-2.5",
|
|
252
|
+
className
|
|
253
|
+
)}
|
|
254
|
+
{...props}
|
|
255
|
+
>
|
|
256
|
+
{children}
|
|
257
|
+
</Label>
|
|
258
|
+
)
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* @desc 表单字段标题。
|
|
263
|
+
* @param {Parameters<typeof FieldTitle>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
264
|
+
* @return {ReturnType<typeof FieldTitle>} 组件渲染结果;类型见返回值契约。
|
|
265
|
+
* @example
|
|
266
|
+
* ```tsx
|
|
267
|
+
* import { FieldSet, FieldTitle } from '@open-dy/vibecoding-sdk-taro/ui/field'
|
|
268
|
+
* <FieldSet><FieldTitle /></FieldSet>
|
|
269
|
+
* ```
|
|
270
|
+
*/
|
|
271
|
+
function FieldTitle({ className, ...props }: ViewProps) {
|
|
272
|
+
const { disabled, orientation } = React.useContext(FieldContext)
|
|
273
|
+
return (
|
|
274
|
+
<View
|
|
275
|
+
data-slot="field-label"
|
|
276
|
+
className={cn(
|
|
277
|
+
"flex w-fit items-center gap-2 text-sm font-medium",
|
|
278
|
+
disabled && "opacity-50",
|
|
279
|
+
orientation !== "vertical" && "flex-auto",
|
|
280
|
+
className
|
|
281
|
+
)}
|
|
282
|
+
{...props}
|
|
283
|
+
/>
|
|
284
|
+
)
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @desc 表单字段说明文本。
|
|
289
|
+
* @param {Parameters<typeof FieldDescription>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
290
|
+
* @return {ReturnType<typeof FieldDescription>} 组件渲染结果;类型见返回值契约。
|
|
291
|
+
* @example
|
|
292
|
+
* ```tsx
|
|
293
|
+
* import { FieldSet, FieldDescription } from '@open-dy/vibecoding-sdk-taro/ui/field'
|
|
294
|
+
* <FieldSet><FieldDescription /></FieldSet>
|
|
295
|
+
* ```
|
|
296
|
+
*/
|
|
297
|
+
function FieldDescription({ className, ...props }: ViewProps) {
|
|
298
|
+
const { orientation } = React.useContext(FieldContext)
|
|
299
|
+
return (
|
|
300
|
+
<View
|
|
301
|
+
data-slot="field-description"
|
|
302
|
+
className={cn(
|
|
303
|
+
"text-left text-sm leading-normal font-normal text-muted-foreground",
|
|
304
|
+
orientation === "horizontal" && "text-balance",
|
|
305
|
+
"last:mt-0 nth-last-2:-mt-1",
|
|
306
|
+
"[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
|
|
307
|
+
className
|
|
308
|
+
)}
|
|
309
|
+
{...props}
|
|
310
|
+
/>
|
|
311
|
+
)
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* @desc 表单字段分隔线。
|
|
316
|
+
* @param {Parameters<typeof FieldSeparator>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
317
|
+
* @return {ReturnType<typeof FieldSeparator>} 组件渲染结果;类型见返回值契约。
|
|
318
|
+
* @example
|
|
319
|
+
* ```tsx
|
|
320
|
+
* import { FieldSet, FieldSeparator } from '@open-dy/vibecoding-sdk-taro/ui/field'
|
|
321
|
+
* <FieldSet><FieldSeparator /></FieldSet>
|
|
322
|
+
* ```
|
|
323
|
+
*/
|
|
324
|
+
function FieldSeparator({
|
|
325
|
+
children,
|
|
326
|
+
className,
|
|
327
|
+
...props
|
|
328
|
+
}: ViewProps & {
|
|
329
|
+
/** @desc 分隔线中心的可选文字或节点;内容为假值时只显示横线。 */
|
|
330
|
+
children?: React.ReactNode
|
|
331
|
+
}) {
|
|
332
|
+
return (
|
|
333
|
+
<View
|
|
334
|
+
data-slot="field-separator"
|
|
335
|
+
data-content={!!children}
|
|
336
|
+
className={cn(
|
|
337
|
+
"relative -my-2 h-5 text-sm",
|
|
338
|
+
className
|
|
339
|
+
)}
|
|
340
|
+
{...props}
|
|
341
|
+
>
|
|
342
|
+
<Separator className="absolute inset-0 top-1/2" />
|
|
343
|
+
{children ? <View
|
|
344
|
+
className="relative mx-auto block w-fit bg-background px-2 text-muted-foreground"
|
|
345
|
+
data-slot="field-separator-content"
|
|
346
|
+
>
|
|
347
|
+
{children}
|
|
348
|
+
</View> : null}
|
|
349
|
+
</View>
|
|
350
|
+
)
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* @desc 表单字段错误信息。
|
|
355
|
+
* @param {Parameters<typeof FieldError>[0]} props 组件属性;自有字段的用途及默认行为见下表,继承属性另列。
|
|
356
|
+
* @return {ReturnType<typeof FieldError>} 组件渲染结果;类型见返回值契约。
|
|
357
|
+
* @example
|
|
358
|
+
* ```tsx
|
|
359
|
+
* import { FieldSet, FieldError } from '@open-dy/vibecoding-sdk-taro/ui/field'
|
|
360
|
+
* <FieldSet><FieldError /></FieldSet>
|
|
361
|
+
* ```
|
|
362
|
+
*/
|
|
363
|
+
function FieldError({
|
|
364
|
+
className,
|
|
365
|
+
children,
|
|
366
|
+
errors,
|
|
367
|
+
...props
|
|
368
|
+
}: ViewProps & {
|
|
369
|
+
/** @desc 错误列表;按 message 去重后显示,children 非空时优先显示 children;省略或无可显示内容时不渲染。 */
|
|
370
|
+
errors?: Array<{
|
|
371
|
+
/** @desc 单条错误的展示文本;省略时无对应文字,重复文本只显示一次。 */
|
|
372
|
+
message?: string } | undefined>
|
|
373
|
+
}) {
|
|
374
|
+
const content = React.useMemo(() => {
|
|
375
|
+
if (children) {
|
|
376
|
+
return children
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
if (!errors?.length) {
|
|
380
|
+
return null
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
const uniqueErrors = [
|
|
384
|
+
...new Map(errors.map((error) => [error?.message, error])).values(),
|
|
385
|
+
]
|
|
386
|
+
|
|
387
|
+
if (uniqueErrors?.length == 1) {
|
|
388
|
+
return uniqueErrors[0]?.message
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
return (
|
|
392
|
+
<View className="ml-4 flex list-disc flex-col gap-1">
|
|
393
|
+
{uniqueErrors.map(
|
|
394
|
+
(error, index) =>
|
|
395
|
+
error?.message && <View key={index}>{error.message}</View>
|
|
396
|
+
)}
|
|
397
|
+
</View>
|
|
398
|
+
)
|
|
399
|
+
}, [children, errors])
|
|
400
|
+
|
|
401
|
+
if (!content) {
|
|
402
|
+
return null
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
return (
|
|
406
|
+
<View
|
|
407
|
+
data-slot="field-error"
|
|
408
|
+
className={cn("text-sm font-normal text-destructive", className)}
|
|
409
|
+
{...props}
|
|
410
|
+
>
|
|
411
|
+
{content}
|
|
412
|
+
</View>
|
|
413
|
+
)
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export {
|
|
417
|
+
Field,
|
|
418
|
+
FieldLabel,
|
|
419
|
+
FieldDescription,
|
|
420
|
+
FieldError,
|
|
421
|
+
FieldGroup,
|
|
422
|
+
FieldLegend,
|
|
423
|
+
FieldSeparator,
|
|
424
|
+
FieldSet,
|
|
425
|
+
FieldContent,
|
|
426
|
+
FieldTitle,
|
|
427
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
|
|
3
|
+
type DataIconAlign = "inline-start" | "inline-end"
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @desc 扫描 React 子节点的 data-icon 标记,返回行首和行尾图标是否存在。
|
|
7
|
+
* @param {Parameters<typeof collectDataIconState>[0]} children 要检查的 React 子节点。
|
|
8
|
+
* @return {ReturnType<typeof collectDataIconState>} 包含 hasInlineStartIcon 和 hasInlineEndIcon 的对象。
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* import { View } from '@tarojs/components'
|
|
12
|
+
* import { collectDataIconState } from '@open-dy/vibecoding-sdk-taro/ui/helpers'
|
|
13
|
+
* collectDataIconState(<View data-icon="inline-start" />)
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
function collectDataIconState(children: React.ReactNode) {
|
|
17
|
+
let hasInlineStartIcon = false
|
|
18
|
+
let hasInlineEndIcon = false
|
|
19
|
+
|
|
20
|
+
const visit = (node: React.ReactNode) => {
|
|
21
|
+
React.Children.forEach(node, (child) => {
|
|
22
|
+
if (!React.isValidElement(child)) return
|
|
23
|
+
|
|
24
|
+
const iconAlign = (child.props as { "data-icon"?: DataIconAlign })["data-icon"]
|
|
25
|
+
if (iconAlign === "inline-start") hasInlineStartIcon = true
|
|
26
|
+
if (iconAlign === "inline-end") hasInlineEndIcon = true
|
|
27
|
+
|
|
28
|
+
if (child.props?.children) {
|
|
29
|
+
visit(child.props.children)
|
|
30
|
+
}
|
|
31
|
+
})
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
visit(children)
|
|
35
|
+
|
|
36
|
+
return { hasInlineStartIcon, hasInlineEndIcon }
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { collectDataIconState }
|
package/src/ui/index.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export * from './accordion'
|
|
2
|
+
export * from './alert-dialog'
|
|
3
|
+
export * from './alert'
|
|
4
|
+
export * from './aspect-ratio'
|
|
5
|
+
export * from './avatar'
|
|
6
|
+
export * from './badge'
|
|
7
|
+
export * from './button-group'
|
|
8
|
+
export * from './button'
|
|
9
|
+
export * from './calendar'
|
|
10
|
+
export * from './card'
|
|
11
|
+
export * from './carousel'
|
|
12
|
+
export * from './checkbox'
|
|
13
|
+
export * from './collapsible'
|
|
14
|
+
export * from './combobox'
|
|
15
|
+
export * from './dialog'
|
|
16
|
+
export * from './drawer'
|
|
17
|
+
export * from './dropdown-menu'
|
|
18
|
+
export * from './empty'
|
|
19
|
+
export * from './field'
|
|
20
|
+
export * from './helpers'
|
|
21
|
+
export * from './input-group'
|
|
22
|
+
export * from './input-otp'
|
|
23
|
+
export * from './input'
|
|
24
|
+
export * from './item'
|
|
25
|
+
export * from './label'
|
|
26
|
+
export * from './menubar'
|
|
27
|
+
export * from './navigation-menu'
|
|
28
|
+
export * from './pagination'
|
|
29
|
+
export * from './popover'
|
|
30
|
+
export * from './portal'
|
|
31
|
+
export * from './progress'
|
|
32
|
+
export * from './radio-group'
|
|
33
|
+
export * from './resizable'
|
|
34
|
+
export * from './scroll-area'
|
|
35
|
+
export * from './select'
|
|
36
|
+
export * from './separator'
|
|
37
|
+
export * from './sheet'
|
|
38
|
+
export * from './skeleton'
|
|
39
|
+
export * from './slider'
|
|
40
|
+
export * from './sonner'
|
|
41
|
+
export * from './spinner'
|
|
42
|
+
export * from './switch'
|
|
43
|
+
export * from './table'
|
|
44
|
+
export * from './tabs'
|
|
45
|
+
export * from './textarea'
|
|
46
|
+
export * from './toggle-group'
|
|
47
|
+
export * from './toggle'
|