@open-dy/vibecoding-sdk-taro 0.0.1 → 0.1.0

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.
Files changed (286) hide show
  1. package/dist/adapters/interest-card/eslint/eslint-plugin-custom-navigation.mjs +2 -290
  2. package/dist/adapters/interest-card/eslint/taro.mjs +8 -42
  3. package/dist/build/plugins/inject-feed-card-meta.cjs +148 -0
  4. package/dist/build/taro.js +1 -0
  5. package/dist/build/taro.js.map +1 -1
  6. package/dist/components/miniapp-open-card.d.ts +46 -1
  7. package/dist/components/miniapp-open-card.js +14 -1
  8. package/dist/components/miniapp-open-card.js.map +1 -1
  9. package/dist/eslint/eslint-plugin-custom-navigation.mjs +290 -0
  10. package/dist/eslint/taro.mjs +35 -1
  11. package/dist/reference/llms.txt +72 -80
  12. package/dist/reference/sdk-api/build/taro/BuildContext.md +1 -1
  13. package/dist/reference/sdk-api/build/taro/CreateMicroappTaroConfigOptions.md +1 -1
  14. package/dist/reference/sdk-api/build/taro/createMicroappTaroConfig.md +1 -1
  15. package/dist/reference/sdk-api/components/miniapp-open-card/MiniappOpenCard.md +109 -0
  16. package/dist/reference/sdk-api/components/miniapp-open-card/MiniappOpenCardEnvVersion.md +38 -0
  17. package/dist/reference/sdk-api/components/miniapp-open-card/MiniappOpenCardErrorDetail.md +52 -0
  18. package/dist/reference/sdk-api/components/miniapp-open-card/MiniappOpenCardProps.md +76 -0
  19. package/dist/reference/sdk-api/components/miniapp-open-card/index.md +12 -0
  20. package/dist/reference/sdk-api/libraries/lucide-taro.md +151 -0
  21. package/dist/reference/sdk-api/runtime/CreateMicroappClientOptions.md +1 -1
  22. package/dist/reference/sdk-api/runtime/createMicroappClient.md +2 -2
  23. package/dist/reference/sdk-api/ui/accordion/Accordion.md +1 -1
  24. package/dist/reference/sdk-api/ui/accordion/AccordionContent.md +1 -1
  25. package/dist/reference/sdk-api/ui/accordion/AccordionItem.md +1 -1
  26. package/dist/reference/sdk-api/ui/accordion/AccordionTrigger.md +1 -1
  27. package/dist/reference/sdk-api/ui/alert/Alert.md +1 -1
  28. package/dist/reference/sdk-api/ui/alert/AlertAction.md +1 -1
  29. package/dist/reference/sdk-api/ui/alert/AlertDescription.md +1 -1
  30. package/dist/reference/sdk-api/ui/alert/AlertTitle.md +1 -1
  31. package/dist/reference/sdk-api/ui/alert-dialog/AlertDialog.md +1 -1
  32. package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogAction.md +2 -2
  33. package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogCancel.md +2 -2
  34. package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogContent.md +1 -1
  35. package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogDescription.md +1 -1
  36. package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogFooter.md +1 -1
  37. package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogHeader.md +1 -1
  38. package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogOverlay.md +1 -1
  39. package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogPortal.md +1 -1
  40. package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogTitle.md +1 -1
  41. package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogTrigger.md +22 -22
  42. package/dist/reference/sdk-api/ui/aspect-ratio/AspectRatio.md +1 -1
  43. package/dist/reference/sdk-api/ui/avatar/Avatar.md +1 -1
  44. package/dist/reference/sdk-api/ui/avatar/AvatarBadge.md +1 -1
  45. package/dist/reference/sdk-api/ui/avatar/AvatarFallback.md +1 -1
  46. package/dist/reference/sdk-api/ui/avatar/AvatarGroup.md +1 -1
  47. package/dist/reference/sdk-api/ui/avatar/AvatarGroupCount.md +1 -1
  48. package/dist/reference/sdk-api/ui/avatar/AvatarImage.md +19 -19
  49. package/dist/reference/sdk-api/ui/badge/Badge.md +2 -2
  50. package/dist/reference/sdk-api/ui/badge/badgeVariants.md +2 -2
  51. package/dist/reference/sdk-api/ui/button/Button.md +2 -2
  52. package/dist/reference/sdk-api/ui/button/ButtonProps.md +2 -2
  53. package/dist/reference/sdk-api/ui/button/buttonVariants.md +2 -2
  54. package/dist/reference/sdk-api/ui/button-group/ButtonGroup.md +1 -1
  55. package/dist/reference/sdk-api/ui/button-group/ButtonGroupSeparator.md +1 -1
  56. package/dist/reference/sdk-api/ui/button-group/ButtonGroupText.md +22 -22
  57. package/dist/reference/sdk-api/ui/button-group/buttonGroupVariants.md +1 -1
  58. package/dist/reference/sdk-api/ui/calendar/Calendar.md +1 -1
  59. package/dist/reference/sdk-api/ui/calendar/CalendarProps.md +1 -1
  60. package/dist/reference/sdk-api/ui/card/Card.md +1 -1
  61. package/dist/reference/sdk-api/ui/card/CardAction.md +1 -1
  62. package/dist/reference/sdk-api/ui/card/CardContent.md +1 -1
  63. package/dist/reference/sdk-api/ui/card/CardDescription.md +1 -1
  64. package/dist/reference/sdk-api/ui/card/CardFooter.md +1 -1
  65. package/dist/reference/sdk-api/ui/card/CardHeader.md +1 -1
  66. package/dist/reference/sdk-api/ui/card/CardTitle.md +1 -1
  67. package/dist/reference/sdk-api/ui/carousel/Carousel.md +1 -1
  68. package/dist/reference/sdk-api/ui/carousel/CarouselContent.md +1 -1
  69. package/dist/reference/sdk-api/ui/carousel/CarouselItem.md +1 -1
  70. package/dist/reference/sdk-api/ui/carousel/CarouselNext.md +2 -2
  71. package/dist/reference/sdk-api/ui/carousel/CarouselPrevious.md +2 -2
  72. package/dist/reference/sdk-api/ui/carousel/useCarousel.md +1 -1
  73. package/dist/reference/sdk-api/ui/checkbox/Checkbox.md +1 -1
  74. package/dist/reference/sdk-api/ui/collapsible/Collapsible.md +1 -1
  75. package/dist/reference/sdk-api/ui/collapsible/CollapsibleContent.md +1 -1
  76. package/dist/reference/sdk-api/ui/collapsible/CollapsibleTrigger.md +22 -22
  77. package/dist/reference/sdk-api/ui/combobox/Combobox.md +1 -1
  78. package/dist/reference/sdk-api/ui/combobox/ComboboxChip.md +1 -1
  79. package/dist/reference/sdk-api/ui/combobox/ComboboxChips.md +22 -22
  80. package/dist/reference/sdk-api/ui/combobox/ComboboxChipsInput.md +1 -1
  81. package/dist/reference/sdk-api/ui/combobox/ComboboxCollection.md +1 -1
  82. package/dist/reference/sdk-api/ui/combobox/ComboboxContent.md +1 -1
  83. package/dist/reference/sdk-api/ui/combobox/ComboboxEmpty.md +1 -1
  84. package/dist/reference/sdk-api/ui/combobox/ComboboxGroup.md +1 -1
  85. package/dist/reference/sdk-api/ui/combobox/ComboboxInput.md +22 -22
  86. package/dist/reference/sdk-api/ui/combobox/ComboboxItem.md +1 -1
  87. package/dist/reference/sdk-api/ui/combobox/ComboboxLabel.md +1 -1
  88. package/dist/reference/sdk-api/ui/combobox/ComboboxList.md +22 -22
  89. package/dist/reference/sdk-api/ui/combobox/ComboboxSeparator.md +1 -1
  90. package/dist/reference/sdk-api/ui/combobox/ComboboxTrigger.md +1 -1
  91. package/dist/reference/sdk-api/ui/combobox/ComboboxValue.md +22 -22
  92. package/dist/reference/sdk-api/ui/combobox/useComboboxAnchor.md +1 -1
  93. package/dist/reference/sdk-api/ui/dialog/Dialog.md +1 -1
  94. package/dist/reference/sdk-api/ui/dialog/DialogClose.md +1 -1
  95. package/dist/reference/sdk-api/ui/dialog/DialogContent.md +1 -1
  96. package/dist/reference/sdk-api/ui/dialog/DialogDescription.md +1 -1
  97. package/dist/reference/sdk-api/ui/dialog/DialogFooter.md +1 -1
  98. package/dist/reference/sdk-api/ui/dialog/DialogHeader.md +1 -1
  99. package/dist/reference/sdk-api/ui/dialog/DialogOverlay.md +1 -1
  100. package/dist/reference/sdk-api/ui/dialog/DialogPortal.md +1 -1
  101. package/dist/reference/sdk-api/ui/dialog/DialogTitle.md +1 -1
  102. package/dist/reference/sdk-api/ui/dialog/DialogTrigger.md +22 -22
  103. package/dist/reference/sdk-api/ui/drawer/Drawer.md +1 -1
  104. package/dist/reference/sdk-api/ui/drawer/DrawerClose.md +1 -1
  105. package/dist/reference/sdk-api/ui/drawer/DrawerContent.md +1 -1
  106. package/dist/reference/sdk-api/ui/drawer/DrawerDescription.md +1 -1
  107. package/dist/reference/sdk-api/ui/drawer/DrawerFooter.md +1 -1
  108. package/dist/reference/sdk-api/ui/drawer/DrawerHeader.md +1 -1
  109. package/dist/reference/sdk-api/ui/drawer/DrawerOverlay.md +1 -1
  110. package/dist/reference/sdk-api/ui/drawer/DrawerPortal.md +1 -1
  111. package/dist/reference/sdk-api/ui/drawer/DrawerTitle.md +1 -1
  112. package/dist/reference/sdk-api/ui/drawer/DrawerTrigger.md +1 -1
  113. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenu.md +1 -1
  114. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuCheckboxItem.md +1 -1
  115. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuContent.md +1 -1
  116. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuGroup.md +1 -1
  117. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuItem.md +1 -1
  118. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuLabel.md +1 -1
  119. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuPortal.md +1 -1
  120. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuRadioGroup.md +1 -1
  121. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuRadioItem.md +1 -1
  122. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuSeparator.md +1 -1
  123. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuShortcut.md +1 -1
  124. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuSub.md +1 -1
  125. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuSubContent.md +1 -1
  126. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuSubTrigger.md +1 -1
  127. package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuTrigger.md +22 -22
  128. package/dist/reference/sdk-api/ui/empty/Empty.md +1 -1
  129. package/dist/reference/sdk-api/ui/empty/EmptyContent.md +1 -1
  130. package/dist/reference/sdk-api/ui/empty/EmptyDescription.md +1 -1
  131. package/dist/reference/sdk-api/ui/empty/EmptyHeader.md +1 -1
  132. package/dist/reference/sdk-api/ui/empty/EmptyMedia.md +1 -1
  133. package/dist/reference/sdk-api/ui/empty/EmptyTitle.md +1 -1
  134. package/dist/reference/sdk-api/ui/field/Field.md +1 -1
  135. package/dist/reference/sdk-api/ui/field/FieldContent.md +1 -1
  136. package/dist/reference/sdk-api/ui/field/FieldDescription.md +1 -1
  137. package/dist/reference/sdk-api/ui/field/FieldError.md +1 -1
  138. package/dist/reference/sdk-api/ui/field/FieldGroup.md +1 -1
  139. package/dist/reference/sdk-api/ui/field/FieldLabel.md +13 -13
  140. package/dist/reference/sdk-api/ui/field/FieldLegend.md +1 -1
  141. package/dist/reference/sdk-api/ui/field/FieldSeparator.md +1 -1
  142. package/dist/reference/sdk-api/ui/field/FieldSet.md +1 -1
  143. package/dist/reference/sdk-api/ui/field/FieldTitle.md +1 -1
  144. package/dist/reference/sdk-api/ui/helpers/collectDataIconState.md +1 -1
  145. package/dist/reference/sdk-api/ui/input/Input.md +13 -13
  146. package/dist/reference/sdk-api/ui/input-group/InputGroup.md +1 -1
  147. package/dist/reference/sdk-api/ui/input-group/InputGroupAddon.md +1 -1
  148. package/dist/reference/sdk-api/ui/input-group/InputGroupButton.md +25 -25
  149. package/dist/reference/sdk-api/ui/input-group/InputGroupInput.md +13 -13
  150. package/dist/reference/sdk-api/ui/input-group/InputGroupText.md +1 -1
  151. package/dist/reference/sdk-api/ui/input-group/InputGroupTextarea.md +13 -13
  152. package/dist/reference/sdk-api/ui/input-otp/InputOTP.md +1 -1
  153. package/dist/reference/sdk-api/ui/input-otp/InputOTPGroup.md +1 -1
  154. package/dist/reference/sdk-api/ui/input-otp/InputOTPSeparator.md +1 -1
  155. package/dist/reference/sdk-api/ui/input-otp/InputOTPSlot.md +1 -1
  156. package/dist/reference/sdk-api/ui/item/Item.md +1 -1
  157. package/dist/reference/sdk-api/ui/item/ItemActions.md +1 -1
  158. package/dist/reference/sdk-api/ui/item/ItemContent.md +1 -1
  159. package/dist/reference/sdk-api/ui/item/ItemDescription.md +1 -1
  160. package/dist/reference/sdk-api/ui/item/ItemFooter.md +1 -1
  161. package/dist/reference/sdk-api/ui/item/ItemGroup.md +1 -1
  162. package/dist/reference/sdk-api/ui/item/ItemHeader.md +1 -1
  163. package/dist/reference/sdk-api/ui/item/ItemMedia.md +2 -2
  164. package/dist/reference/sdk-api/ui/item/ItemSeparator.md +1 -1
  165. package/dist/reference/sdk-api/ui/item/ItemTitle.md +1 -1
  166. package/dist/reference/sdk-api/ui/label/Label.md +13 -13
  167. package/dist/reference/sdk-api/ui/menubar/Menubar.md +1 -1
  168. package/dist/reference/sdk-api/ui/menubar/MenubarCheckboxItem.md +1 -1
  169. package/dist/reference/sdk-api/ui/menubar/MenubarContent.md +1 -1
  170. package/dist/reference/sdk-api/ui/menubar/MenubarGroup.md +1 -1
  171. package/dist/reference/sdk-api/ui/menubar/MenubarItem.md +1 -1
  172. package/dist/reference/sdk-api/ui/menubar/MenubarLabel.md +1 -1
  173. package/dist/reference/sdk-api/ui/menubar/MenubarMenu.md +1 -1
  174. package/dist/reference/sdk-api/ui/menubar/MenubarPortal.md +1 -1
  175. package/dist/reference/sdk-api/ui/menubar/MenubarRadioGroup.md +1 -1
  176. package/dist/reference/sdk-api/ui/menubar/MenubarRadioItem.md +1 -1
  177. package/dist/reference/sdk-api/ui/menubar/MenubarSeparator.md +1 -1
  178. package/dist/reference/sdk-api/ui/menubar/MenubarShortcut.md +1 -1
  179. package/dist/reference/sdk-api/ui/menubar/MenubarSub.md +1 -1
  180. package/dist/reference/sdk-api/ui/menubar/MenubarSubContent.md +1 -1
  181. package/dist/reference/sdk-api/ui/menubar/MenubarSubTrigger.md +1 -1
  182. package/dist/reference/sdk-api/ui/menubar/MenubarTrigger.md +1 -1
  183. package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenu.md +1 -1
  184. package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuContent.md +1 -1
  185. package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuIndicator.md +1 -1
  186. package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuItem.md +1 -1
  187. package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuLink.md +1 -1
  188. package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuList.md +1 -1
  189. package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuPositioner.md +1 -1
  190. package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuTrigger.md +22 -22
  191. package/dist/reference/sdk-api/ui/navigation-menu/navigationMenuTriggerStyle.md +1 -1
  192. package/dist/reference/sdk-api/ui/pagination/Pagination.md +1 -1
  193. package/dist/reference/sdk-api/ui/pagination/PaginationContent.md +1 -1
  194. package/dist/reference/sdk-api/ui/pagination/PaginationEllipsis.md +1 -1
  195. package/dist/reference/sdk-api/ui/pagination/PaginationItem.md +1 -1
  196. package/dist/reference/sdk-api/ui/pagination/PaginationLink.md +1 -1
  197. package/dist/reference/sdk-api/ui/pagination/PaginationNext.md +1 -1
  198. package/dist/reference/sdk-api/ui/pagination/PaginationPrevious.md +1 -1
  199. package/dist/reference/sdk-api/ui/popover/Popover.md +1 -1
  200. package/dist/reference/sdk-api/ui/popover/PopoverAnchor.md +1 -1
  201. package/dist/reference/sdk-api/ui/popover/PopoverContent.md +1 -1
  202. package/dist/reference/sdk-api/ui/popover/PopoverDescription.md +1 -1
  203. package/dist/reference/sdk-api/ui/popover/PopoverHeader.md +1 -1
  204. package/dist/reference/sdk-api/ui/popover/PopoverTitle.md +1 -1
  205. package/dist/reference/sdk-api/ui/popover/PopoverTrigger.md +22 -22
  206. package/dist/reference/sdk-api/ui/portal/Portal.md +1 -1
  207. package/dist/reference/sdk-api/ui/progress/Progress.md +1 -1
  208. package/dist/reference/sdk-api/ui/progress/ProgressIndicator.md +1 -1
  209. package/dist/reference/sdk-api/ui/progress/ProgressLabel.md +1 -1
  210. package/dist/reference/sdk-api/ui/progress/ProgressTrack.md +1 -1
  211. package/dist/reference/sdk-api/ui/progress/ProgressValue.md +22 -22
  212. package/dist/reference/sdk-api/ui/radio-group/RadioGroup.md +1 -1
  213. package/dist/reference/sdk-api/ui/radio-group/RadioGroupItem.md +1 -1
  214. package/dist/reference/sdk-api/ui/resizable/ResizableHandle.md +1 -1
  215. package/dist/reference/sdk-api/ui/resizable/ResizablePanel.md +1 -1
  216. package/dist/reference/sdk-api/ui/resizable/ResizablePanelGroup.md +1 -1
  217. package/dist/reference/sdk-api/ui/scroll-area/ScrollArea.md +13 -13
  218. package/dist/reference/sdk-api/ui/scroll-area/ScrollBar.md +1 -1
  219. package/dist/reference/sdk-api/ui/select/Select.md +1 -1
  220. package/dist/reference/sdk-api/ui/select/SelectContent.md +1 -1
  221. package/dist/reference/sdk-api/ui/select/SelectGroup.md +1 -1
  222. package/dist/reference/sdk-api/ui/select/SelectItem.md +1 -1
  223. package/dist/reference/sdk-api/ui/select/SelectLabel.md +1 -1
  224. package/dist/reference/sdk-api/ui/select/SelectScrollDownButton.md +1 -1
  225. package/dist/reference/sdk-api/ui/select/SelectScrollUpButton.md +1 -1
  226. package/dist/reference/sdk-api/ui/select/SelectSeparator.md +1 -1
  227. package/dist/reference/sdk-api/ui/select/SelectTrigger.md +1 -1
  228. package/dist/reference/sdk-api/ui/select/SelectValue.md +1 -1
  229. package/dist/reference/sdk-api/ui/separator/Separator.md +1 -1
  230. package/dist/reference/sdk-api/ui/sheet/Sheet.md +1 -1
  231. package/dist/reference/sdk-api/ui/sheet/SheetClose.md +1 -1
  232. package/dist/reference/sdk-api/ui/sheet/SheetContent.md +1 -1
  233. package/dist/reference/sdk-api/ui/sheet/SheetDescription.md +1 -1
  234. package/dist/reference/sdk-api/ui/sheet/SheetFooter.md +1 -1
  235. package/dist/reference/sdk-api/ui/sheet/SheetHeader.md +1 -1
  236. package/dist/reference/sdk-api/ui/sheet/SheetOverlay.md +1 -1
  237. package/dist/reference/sdk-api/ui/sheet/SheetPortal.md +1 -1
  238. package/dist/reference/sdk-api/ui/sheet/SheetTitle.md +1 -1
  239. package/dist/reference/sdk-api/ui/sheet/SheetTrigger.md +1 -1
  240. package/dist/reference/sdk-api/ui/skeleton/Skeleton.md +1 -1
  241. package/dist/reference/sdk-api/ui/slider/Slider.md +1 -1
  242. package/dist/reference/sdk-api/ui/sonner/Toaster.md +1 -1
  243. package/dist/reference/sdk-api/ui/sonner/toast.md +1 -1
  244. package/dist/reference/sdk-api/ui/spinner/Spinner.md +1 -1
  245. package/dist/reference/sdk-api/ui/switch/Switch.md +1 -1
  246. package/dist/reference/sdk-api/ui/table/Table.md +1 -1
  247. package/dist/reference/sdk-api/ui/table/TableBody.md +1 -1
  248. package/dist/reference/sdk-api/ui/table/TableCaption.md +1 -1
  249. package/dist/reference/sdk-api/ui/table/TableCell.md +1 -1
  250. package/dist/reference/sdk-api/ui/table/TableFooter.md +1 -1
  251. package/dist/reference/sdk-api/ui/table/TableHead.md +1 -1
  252. package/dist/reference/sdk-api/ui/table/TableHeader.md +1 -1
  253. package/dist/reference/sdk-api/ui/table/TableRow.md +1 -1
  254. package/dist/reference/sdk-api/ui/tabs/Tabs.md +1 -1
  255. package/dist/reference/sdk-api/ui/tabs/TabsContent.md +1 -1
  256. package/dist/reference/sdk-api/ui/tabs/TabsList.md +1 -1
  257. package/dist/reference/sdk-api/ui/tabs/TabsTrigger.md +1 -1
  258. package/dist/reference/sdk-api/ui/tabs/tabsListVariants.md +1 -1
  259. package/dist/reference/sdk-api/ui/textarea/Textarea.md +13 -13
  260. package/dist/reference/sdk-api/ui/toggle/Toggle.md +1 -1
  261. package/dist/reference/sdk-api/ui/toggle/toggleVariants.md +1 -1
  262. package/dist/reference/sdk-api/ui/toggle-group/ToggleGroup.md +1 -1
  263. package/dist/reference/sdk-api/ui/toggle-group/ToggleGroupItem.md +1 -1
  264. package/dist/reference/sdk-api.json +2811 -2295
  265. package/dist/reference/sdk-api.md +12 -1
  266. package/dist/runtime/client.js +0 -5
  267. package/dist/runtime/client.js.map +1 -1
  268. package/dist/runtime/douyin-container-request.js +0 -7
  269. package/dist/runtime/douyin-container-request.js.map +1 -1
  270. package/dist/runtime/network-url.js +0 -3
  271. package/dist/runtime/network-url.js.map +1 -1
  272. package/dist/ui/menubar.js +0 -1
  273. package/dist/ui/menubar.js.map +1 -1
  274. package/package.json +1 -1
  275. package/release-provenance.json +4 -4
  276. package/src/adapters/interest-card/eslint/eslint-plugin-custom-navigation.mjs +2 -290
  277. package/src/adapters/interest-card/eslint/taro.mjs +8 -42
  278. package/src/build/plugins/inject-feed-card-meta.ts +172 -0
  279. package/src/build/taro.ts +1 -0
  280. package/src/components/miniapp-open-card.ts +46 -1
  281. package/src/eslint/eslint-plugin-custom-navigation.mjs +290 -0
  282. package/src/eslint/taro.mjs +35 -1
  283. package/src/runtime/client.ts +0 -6
  284. package/src/runtime/douyin-container-request.ts +0 -7
  285. package/src/runtime/network-url.ts +0 -3
  286. package/src/ui/menubar.tsx +0 -1
@@ -0,0 +1,109 @@
1
+ # MiniappOpenCard
2
+
3
+ <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
+
5
+ 导入路径:`@open-dy/vibecoding-sdk-taro/components/miniapp-open-card`
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/components/miniapp-open-card.ts`(仅补缺或排错时读取)。
7
+
8
+ #### 说明
9
+
10
+ 承载同一 OpenCard;SDK 选择环境版本并为空初始化参数提供对象,错误类型直接报错。
11
+
12
+ 参数:
13
+
14
+ | 名称 | 说明 |
15
+ | --- | --- |
16
+ | `props` | 卡片标识、页面路径和生命周期回调。 |
17
+
18
+ 返回:注入环境版本与初始化对象的原生卡片组件。
19
+
20
+ 备注:development 使用 latest,preview 使用 preview,production、未知或无法读取的环境使用 current;业务不传 envVersion。
21
+ initData 省略时 SDK 传入空对象,传 null、数组、字符串或其他非普通对象会抛出 TypeError;业务示例显式传 {}。
22
+ 宿主只承载卡片。封闭域请求、数据处理与结果 UI 留在卡内,不通过 initData 或事件把私域结果交给宿主。
23
+
24
+ 示例:
25
+
26
+ ```tsx
27
+ import { MiniappOpenCard } from '@open-dy/vibecoding-sdk-taro/components/miniapp-open-card'
28
+ export function EmbeddedCard({ openCardId }: { openCardId: string }) {
29
+ return <MiniappOpenCard appId={openCardId} path="pages/index/index" initData={{}} onError={(event) => console.error(event.detail.errMsg)} />
30
+ }
31
+ ```
32
+
33
+ #### AI 使用约束
34
+
35
+ | 规则 | 内容 |
36
+ | --- | --- |
37
+ | 意图 | 在普通 Taro 宿主中渲染已确认的 OpenCard 页面。 |
38
+ | 适用时机 | 用户要求内嵌卡,或宿主需要通过同一封闭域卡片呈现其结果时。 |
39
+ | 避免 | 不要手写原生标签、传 envVersion 或把卡内私域结果转移到宿主。 |
40
+
41
+ 示例:
42
+
43
+ ```ts
44
+ createElement(MiniappOpenCard, { appId: OPEN_CARD_ID, path: 'pages/index/index', initData: {} })
45
+ ```
46
+
47
+ #### 声明
48
+
49
+ ```ts
50
+ function MiniappOpenCard(props: MiniappOpenCardProps);
51
+ ```
52
+
53
+ ### MiniappOpenCard 的类型契约
54
+
55
+ #### 工厂签名
56
+
57
+ ```ts
58
+ (props: MiniappOpenCardProps): React.ReactElement<MiniappOpenCardProps & { envVersion: MiniappOpenCardEnvVersion; }, string | React.JSXElementConstructor<any>>
59
+ ```
60
+
61
+ #### 参数
62
+
63
+ | 参数 | 类型 | 说明 |
64
+ | --- | --- | --- |
65
+ | props | `MiniappOpenCardProps` | 卡片标识、页面路径和生命周期回调。 |
66
+
67
+ ##### props 字段
68
+
69
+ | 字段 | 类型 | 说明 |
70
+ | --- | --- | --- |
71
+ | appId | `string` | 已确认的目标 OpenCard 标识;承载当前工程时使用非空 OPEN_CARD_ID,不使用小程序 APP_ID。 |
72
+ | path | `string` | 目标卡片的真实页面路径,例如 pages/index/index。 |
73
+ | initData? | `Record<string, unknown> \| undefined` | 卡片初始化对象;省略时传空对象。禁止传 null、数组或 JSON 字符串。 |
74
+ | onLoad? | `BaseEventOrigFunction<Record<string, never>> \| undefined` | 卡片加载成功时调用;event.detail 为空对象。 |
75
+ | onError? | `BaseEventOrigFunction<MiniappOpenCardErrorDetail> \| undefined` | 卡片加载失败时调用;读取 event.detail 中的错误消息与平台可选错误字段。 |
76
+ | style? | `string \| React.CSSProperties \| undefined` | 组件的内联样式, 可以动态设置的内联样式 |
77
+ | id? | `string \| undefined` | 组件的唯一标示, 保持整个页面唯一 |
78
+ | className? | `string \| undefined` | 同 `class`,在 React/Preact 里一般使用 `className` 作为 `class` 的代称 |
79
+ | key? | `string \| number \| undefined` | 如果列表中项目的位置会动态改变或者有新的项目添加到列表中, 需要使用 `wx:key` 来指定列表中项目的唯一的标识符。 |
80
+ | hidden? | `boolean \| undefined` | 组件是否显示, 所有组件默认显示 |
81
+ | animation? | `TaroGeneral.IAnyObject \| { actions: TaroGeneral.IAnyObject[]; } \| undefined` | 动画属性 |
82
+ | ref? | `React.LegacyRef<any> \| undefined` | 引用 |
83
+ | dangerouslySetInnerHTML? | `{ __html: string; } \| undefined` | 渲染 HTML |
84
+ | compileMode? | `string \| boolean \| undefined` | 是否开启编译模式 或者 是否是编译模式的子渲染函数 |
85
+ | harmonyDirection? | `"row" \| "column" \| "flex" \| undefined` | 自定义容器组件的方向 |
86
+ | onTouchStart? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸动作开始 |
87
+ | onTouchMove? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸后移动 |
88
+ | onTouchCancel? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸动作被打断,如来电提醒,弹窗 |
89
+ | onTouchEnd? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸动作结束 |
90
+ | onClick? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸后马上离开 |
91
+ | onLongPress? | `((event: CommonEvent) => void) \| undefined` | 手指触摸后,超过350ms再离开,如果指定了事件回调函数并触发了这个事件,tap事件将不被触发 |
92
+ | onLongClick? | `((event: CommonEvent) => void) \| undefined` | 手指触摸后,超过350ms再离开(推荐使用 longpress 事件代替) |
93
+ | onTransitionEnd? | `((event: CommonEvent) => void) \| undefined` | 会在 WXSS transition 或 Taro.createAnimation 动画结束后触发 |
94
+ | onAnimationStart? | `((event: CommonEvent) => void) \| undefined` | 会在一个 WXSS animation 动画开始时触发 |
95
+ | onAnimationIteration? | `((event: CommonEvent) => void) \| undefined` | 会在一个 WXSS animation 一次迭代结束时触发 |
96
+ | onAnimationEnd? | `((event: CommonEvent) => void) \| undefined` | 会在一个 WXSS animation 动画完成时触发 |
97
+ | onTouchForceChange? | `((event: CommonEvent) => void) \| undefined` | 在支持 3D Touch 的 iPhone 设备,重按时会触发 |
98
+
99
+ #### 返回值
100
+
101
+ - 类型:`React.ReactElement<MiniappOpenCardProps & { envVersion: MiniappOpenCardEnvVersion; }, string | React.JSXElementConstructor<any>>`
102
+
103
+ ##### 字段
104
+
105
+ | 字段 | 类型 | 说明 |
106
+ | --- | --- | --- |
107
+ | type | `string \| React.JSXElementConstructor<any>` | |
108
+ | props | `MiniappOpenCardProps & { envVersion: MiniappOpenCardEnvVersion; }` | |
109
+ | key | `string \| null` | |
@@ -0,0 +1,38 @@
1
+ # MiniappOpenCardEnvVersion
2
+
3
+ <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
+
5
+ 导入路径:`@open-dy/vibecoding-sdk-taro/components/miniapp-open-card`
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/components/miniapp-open-card.ts`(仅补缺或排错时读取)。
7
+
8
+ #### 说明
9
+
10
+ SDK 根据宿主环境选择的卡片版本;不是业务组件的可配置属性。
11
+
12
+ 示例:
13
+
14
+ ```ts
15
+ const version: MiniappOpenCardEnvVersion = 'current'
16
+ ```
17
+
18
+ #### AI 使用约束
19
+
20
+ | 规则 | 内容 |
21
+ | --- | --- |
22
+ | 意图 | 描述 SDK 自动选择的内嵌卡环境版本。 |
23
+ | 适用时机 | 需要理解宿主环境与卡片版本的对应关系时。 |
24
+ | 避免 | 不要向 MiniappOpenCard 传入 envVersion 覆盖环境选择。 |
25
+
26
+ #### 声明
27
+
28
+ ```ts
29
+ export type MiniappOpenCardEnvVersion = 'current' | 'latest' | 'preview';
30
+ ```
31
+
32
+ ### MiniappOpenCardEnvVersion 的类型契约
33
+
34
+ #### 类型
35
+
36
+ ```ts
37
+ MiniappOpenCardEnvVersion
38
+ ```
@@ -0,0 +1,52 @@
1
+ # MiniappOpenCardErrorDetail
2
+
3
+ <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
+
5
+ 导入路径:`@open-dy/vibecoding-sdk-taro/components/miniapp-open-card`
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/components/miniapp-open-card.ts`(仅补缺或排错时读取)。
7
+
8
+ #### 说明
9
+
10
+ 内嵌卡加载错误的事件 detail;可选错误字段由平台提供。
11
+
12
+ 示例:
13
+
14
+ ```ts
15
+ const detail: MiniappOpenCardErrorDetail = { errMsg: '卡片加载失败' }
16
+ ```
17
+
18
+ #### AI 使用约束
19
+
20
+ | 规则 | 内容 |
21
+ | --- | --- |
22
+ | 意图 | 识别内嵌卡加载失败的事件字段。 |
23
+ | 适用时机 | 宿主需要通过 onError 展示错误或记录诊断信息时。 |
24
+ | 避免 | 不要假设可选错误编号或类型一定存在。 |
25
+
26
+ #### 声明
27
+
28
+ ```ts
29
+ export interface MiniappOpenCardErrorDetail {
30
+ errMsg: string;
31
+ errNo?: number;
32
+ errorCode?: number;
33
+ errorType?: string;
34
+ }
35
+ ```
36
+
37
+ ### MiniappOpenCardErrorDetail 的类型契约
38
+
39
+ #### 类型
40
+
41
+ ```ts
42
+ MiniappOpenCardErrorDetail
43
+ ```
44
+
45
+ #### 字段
46
+
47
+ | 字段 | 类型 | 说明 |
48
+ | --- | --- | --- |
49
+ | errMsg | `string` | 平台返回的错误消息。 |
50
+ | errNo? | `number \| undefined` | 平台错误编号;平台未提供时省略。 |
51
+ | errorCode? | `number \| undefined` | 平台错误码;平台未提供时省略。 |
52
+ | errorType? | `string \| undefined` | 平台错误类型;平台未提供时省略。 |
@@ -0,0 +1,76 @@
1
+ # MiniappOpenCardProps
2
+
3
+ <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
+
5
+ 导入路径:`@open-dy/vibecoding-sdk-taro/components/miniapp-open-card`
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/components/miniapp-open-card.ts`(仅补缺或排错时读取)。
7
+
8
+ #### 说明
9
+
10
+ 普通 Taro 宿主的内嵌卡属性;沿用 StandardProps,但不接受 children 或 envVersion。
11
+
12
+ 示例:
13
+
14
+ ```ts
15
+ const props: MiniappOpenCardProps = { appId: OPEN_CARD_ID, path: 'pages/index/index', initData: {} }
16
+ ```
17
+
18
+ #### AI 使用约束
19
+
20
+ | 规则 | 内容 |
21
+ | --- | --- |
22
+ | 意图 | 配置宿主实际承载的 OpenCard 页面。 |
23
+ | 适用时机 | 普通小程序或兴趣卡落地页需要渲染内嵌卡时。 |
24
+ | 避免 | 不要传小程序 APP_ID、未确认的页面路径或私域结果作为 initData。 |
25
+
26
+ #### 声明
27
+
28
+ ```ts
29
+ export interface MiniappOpenCardProps extends Omit<StandardProps, 'children'> {
30
+ appId: string;
31
+ path: string;
32
+ initData?: Record<string, unknown>;
33
+ onLoad?: BaseEventOrigFunction<Record<string, never>>;
34
+ onError?: BaseEventOrigFunction<MiniappOpenCardErrorDetail>;
35
+ }
36
+ ```
37
+
38
+ ### MiniappOpenCardProps 的类型契约
39
+
40
+ #### 类型
41
+
42
+ ```ts
43
+ MiniappOpenCardProps
44
+ ```
45
+
46
+ #### 字段
47
+
48
+ | 字段 | 类型 | 说明 |
49
+ | --- | --- | --- |
50
+ | appId | `string` | 已确认的目标 OpenCard 标识;承载当前工程时使用非空 OPEN_CARD_ID,不使用小程序 APP_ID。 |
51
+ | path | `string` | 目标卡片的真实页面路径,例如 pages/index/index。 |
52
+ | initData? | `Record<string, unknown> \| undefined` | 卡片初始化对象;省略时传空对象。禁止传 null、数组或 JSON 字符串。 |
53
+ | onLoad? | `BaseEventOrigFunction<Record<string, never>> \| undefined` | 卡片加载成功时调用;event.detail 为空对象。 |
54
+ | onError? | `BaseEventOrigFunction<MiniappOpenCardErrorDetail> \| undefined` | 卡片加载失败时调用;读取 event.detail 中的错误消息与平台可选错误字段。 |
55
+ | style? | `string \| React.CSSProperties \| undefined` | 组件的内联样式, 可以动态设置的内联样式 |
56
+ | id? | `string \| undefined` | 组件的唯一标示, 保持整个页面唯一 |
57
+ | className? | `string \| undefined` | 同 `class`,在 React/Preact 里一般使用 `className` 作为 `class` 的代称 |
58
+ | key? | `string \| number \| undefined` | 如果列表中项目的位置会动态改变或者有新的项目添加到列表中, 需要使用 `wx:key` 来指定列表中项目的唯一的标识符。 |
59
+ | hidden? | `boolean \| undefined` | 组件是否显示, 所有组件默认显示 |
60
+ | animation? | `TaroGeneral.IAnyObject \| { actions: TaroGeneral.IAnyObject[]; } \| undefined` | 动画属性 |
61
+ | ref? | `React.LegacyRef<any> \| undefined` | 引用 |
62
+ | dangerouslySetInnerHTML? | `{ __html: string; } \| undefined` | 渲染 HTML |
63
+ | compileMode? | `string \| boolean \| undefined` | 是否开启编译模式 或者 是否是编译模式的子渲染函数 |
64
+ | harmonyDirection? | `"row" \| "column" \| "flex" \| undefined` | 自定义容器组件的方向 |
65
+ | onTouchStart? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸动作开始 |
66
+ | onTouchMove? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸后移动 |
67
+ | onTouchCancel? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸动作被打断,如来电提醒,弹窗 |
68
+ | onTouchEnd? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸动作结束 |
69
+ | onClick? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸后马上离开 |
70
+ | onLongPress? | `((event: CommonEvent) => void) \| undefined` | 手指触摸后,超过350ms再离开,如果指定了事件回调函数并触发了这个事件,tap事件将不被触发 |
71
+ | onLongClick? | `((event: CommonEvent) => void) \| undefined` | 手指触摸后,超过350ms再离开(推荐使用 longpress 事件代替) |
72
+ | onTransitionEnd? | `((event: CommonEvent) => void) \| undefined` | 会在 WXSS transition 或 Taro.createAnimation 动画结束后触发 |
73
+ | onAnimationStart? | `((event: CommonEvent) => void) \| undefined` | 会在一个 WXSS animation 动画开始时触发 |
74
+ | onAnimationIteration? | `((event: CommonEvent) => void) \| undefined` | 会在一个 WXSS animation 一次迭代结束时触发 |
75
+ | onAnimationEnd? | `((event: CommonEvent) => void) \| undefined` | 会在一个 WXSS animation 动画完成时触发 |
76
+ | onTouchForceChange? | `((event: CommonEvent) => void) \| undefined` | 在支持 3D Touch 的 iPhone 设备,重按时会触发 |
@@ -0,0 +1,12 @@
1
+ # components/miniapp-open-card
2
+
3
+ <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
+
5
+ 导入路径前缀:`@open-dy/vibecoding-sdk-taro/components/miniapp-open-card`
6
+
7
+ | API | 说明 | 文档 |
8
+ | --- | --- | --- |
9
+ | `MiniappOpenCard` | 承载同一 OpenCard;SDK 选择环境版本并为空初始化参数提供对象,错误类型直接报错。 | [查看](./MiniappOpenCard.md) |
10
+ | `MiniappOpenCardProps` | 普通 Taro 宿主的内嵌卡属性;沿用 StandardProps,但不接受 children 或 envVersion。 | [查看](./MiniappOpenCardProps.md) |
11
+ | `MiniappOpenCardErrorDetail` | 内嵌卡加载错误的事件 detail;可选错误字段由平台提供。 | [查看](./MiniappOpenCardErrorDetail.md) |
12
+ | `MiniappOpenCardEnvVersion` | SDK 根据宿主环境选择的卡片版本;不是业务组件的可配置属性。 | [查看](./MiniappOpenCardEnvVersion.md) |
@@ -0,0 +1,151 @@
1
+ <!-- Generated from packages/lucide-taro/README.md. Do not edit. -->
2
+
3
+ > 本文收录配套图标库的文档;图标包是工程的独立依赖,不由 SDK 重新导出。业务从 `@open-dy/lucide-taro` 导入,Feed OpenCard 不使用。实际版本和可用图标以当前工程安装的图标包及其公开导出为准。
4
+
5
+ # @open-dy/lucide-taro
6
+
7
+ 面向 Taro 小程序的 Lucide 图标组件库,并提供生成小程序 TabBar PNG 图标的命令行工具。
8
+
9
+ ## 安装
10
+
11
+ ```bash
12
+ pnpm add @open-dy/lucide-taro
13
+ ```
14
+
15
+ 项目需要同时安装兼容版本的 React 与 `@tarojs/components`。
16
+
17
+ ## 使用图标组件
18
+
19
+ 图标名和常用 API 与 `lucide-react` 保持一致,业务代码必须从 `@open-dy/lucide-taro` 导入:
20
+
21
+ ```tsx
22
+ import { House, Search, Settings } from '@open-dy/lucide-taro'
23
+ import { View } from '@tarojs/components'
24
+
25
+ export function Actions() {
26
+ return (
27
+ <View className="flex items-center gap-3">
28
+ <House size={24} color="#1677ff" strokeWidth={2} />
29
+ <Search size="20" color="#111827" />
30
+ <Settings size={20} color="#6b7280" />
31
+ </View>
32
+ )
33
+ }
34
+ ```
35
+
36
+ ### 图标属性
37
+
38
+ | 属性 | 类型 | 默认值 | 说明 |
39
+ | --- | --- | --- | --- |
40
+ | `size` | `string \| number` | `24` | 图标宽高 |
41
+ | `color` | `string` | `currentColor` | 描边颜色;小程序中建议始终显式传入 |
42
+ | `strokeWidth` | `string \| number` | `2` | 描边宽度 |
43
+ | `filled` | `boolean` | `false` | 使用 `color` 填充图标 |
44
+ | `absoluteStrokeWidth` | `boolean` | `false` | 缩放尺寸时保持视觉描边宽度 |
45
+ | `className` | `string` | - | 添加到外层 Taro `Image` |
46
+ | `style` | `CSSProperties` | - | 添加到外层 Taro `Image` |
47
+
48
+ 原生小程序不能直接渲染内联 SVG。本包会把图标序列化为 SVG data URI,并通过 Taro `Image` 组件显示。因此:
49
+
50
+ - `className` 和 `style` 只影响外层 `Image`,不会把 CSS `color` 传入 SVG。
51
+ - 不要依赖 `currentColor` 或 `text-*` class 改变图标笔画,始终显式传递 `color`。
52
+ - 图标所在的按钮或容器应提供明确宽高和居中布局。
53
+
54
+ ## 全局默认属性
55
+
56
+ 可以使用 `LucideProvider` 为子树设置默认值:
57
+
58
+ ```tsx
59
+ import {
60
+ Bell,
61
+ LucideProvider,
62
+ MessageCircle,
63
+ } from '@open-dy/lucide-taro'
64
+
65
+ export function IconGroup() {
66
+ return (
67
+ <LucideProvider size={20} color="#475569" strokeWidth={2}>
68
+ <Bell />
69
+ <MessageCircle color="#1677ff" />
70
+ </LucideProvider>
71
+ )
72
+ }
73
+ ```
74
+
75
+ 组件自身的属性会覆盖 Provider 默认值。`useLucideContext()` 可读取当前默认配置。
76
+
77
+ ## 查找可用图标
78
+
79
+ 包会导出 Lucide 的 PascalCase 图标名及常见兼容别名。不要猜测图标是否存在,使用前搜索类型声明:
80
+
81
+ ```bash
82
+ rg "declare const House" node_modules/@open-dy/lucide-taro/dist/lucide-taro.d.ts
83
+ ```
84
+
85
+ 常见命名形态包括 `House`、`HouseIcon` 和部分历史别名。准确导出列表以 `dist/lucide-taro.d.ts` 为准。
86
+
87
+ ## 生成 TabBar PNG
88
+
89
+ 小程序 TabBar 不支持 SVG 或 data URI,需要使用本地 PNG。安装 `sharp` 后,可使用包内命令生成普通态和选中态图标:
90
+
91
+ ```bash
92
+ pnpm add -D sharp
93
+
94
+ pnpm exec generate-tabbar-png House Search User \
95
+ -o ./src/assets/tabbar \
96
+ -c "#999999" \
97
+ -a "#1677ff"
98
+ ```
99
+
100
+ 生成结果:
101
+
102
+ ```text
103
+ src/assets/tabbar/
104
+ ├── House.png
105
+ ├── House-active.png
106
+ ├── Search.png
107
+ ├── Search-active.png
108
+ ├── User.png
109
+ └── User-active.png
110
+ ```
111
+
112
+ ### CLI 参数
113
+
114
+ | 参数 | 说明 |
115
+ | --- | --- |
116
+ | `<icon...>` | 一个或多个 PascalCase 图标名 |
117
+ | `-o, --out <dir>` | 输出目录,必填 |
118
+ | `--output <name>` | 单图模式的输出文件名前缀 |
119
+ | `-s, --size <n>` | PNG 尺寸,默认 `81` |
120
+ | `-c, --color <hex>` | 普通态颜色,默认 `#999999` |
121
+ | `-a, --active-color <hex>` | 选中态颜色;传入后额外生成 `-active.png` |
122
+ | `-w, --stroke-width <n>` | 描边宽度,默认 `2` |
123
+ | `-h, --help` | 显示帮助 |
124
+
125
+ 单图自定义文件名示例:
126
+
127
+ ```bash
128
+ pnpm exec generate-tabbar-png House \
129
+ -o ./src/assets/tabbar \
130
+ --output home \
131
+ -c "#999999" \
132
+ -a "#1677ff"
133
+ ```
134
+
135
+ ## 当前能力
136
+
137
+ - 以 Taro `Image` 渲染 Lucide 图标,支持 H5 与小程序构建。
138
+ - 提供完整 TypeScript 图标类型与常见 Lucide 命名别名。
139
+ - 支持单图属性和 `LucideProvider` 全局默认属性。
140
+ - 支持通过 CLI 批量生成 TabBar 普通态与选中态 PNG。
141
+ - 支持尺寸、颜色、描边宽度和单图输出文件名配置。
142
+
143
+ ## 开发与验证
144
+
145
+ ```bash
146
+ pnpm build
147
+ pnpm test
148
+ pnpm pack:local
149
+ ```
150
+
151
+ `dist/` 是该包直接发布的源码产物。修改图标导出或 TabBar 工具后,需要同步验证 `dist/lucide-taro.mjs`、`dist/lucide-taro.d.ts`、`dist/iconNodes.mjs` 与 `dist/generate-tabbar-png.mjs`。
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/runtime`
6
- 源码:[src/runtime/client.ts](../../../../src/runtime/client.ts)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/runtime/client.ts`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/runtime`
6
- 源码:[src/runtime/default-client.ts](../../../../src/runtime/default-client.ts)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/runtime/default-client.ts`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -61,7 +61,7 @@ function createMicroappClient(options?: CreateMicroappClientOptions);
61
61
 
62
62
  | 参数 | 类型 | 说明 |
63
63
  | --- | --- | --- |
64
- | options | `CreateMicroappClientOptions` | 平台渠道配置;默认使用内场渠道。 |
64
+ | options? | `CreateMicroappClientOptions` | 平台渠道配置;默认使用内场渠道。 |
65
65
 
66
66
  ##### options 字段
67
67
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/accordion`
6
- 源码:[src/ui/accordion.tsx](../../../../../src/ui/accordion.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/accordion.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/accordion`
6
- 源码:[src/ui/accordion.tsx](../../../../../src/ui/accordion.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/accordion.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/accordion`
6
- 源码:[src/ui/accordion.tsx](../../../../../src/ui/accordion.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/accordion.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/accordion`
6
- 源码:[src/ui/accordion.tsx](../../../../../src/ui/accordion.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/accordion.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/alert`
6
- 源码:[src/ui/alert.tsx](../../../../../src/ui/alert.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/alert.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/alert`
6
- 源码:[src/ui/alert.tsx](../../../../../src/ui/alert.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/alert.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/alert`
6
- 源码:[src/ui/alert.tsx](../../../../../src/ui/alert.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/alert.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/alert`
6
- 源码:[src/ui/alert.tsx](../../../../../src/ui/alert.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/alert.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/alert-dialog`
6
- 源码:[src/ui/alert-dialog.tsx](../../../../../src/ui/alert-dialog.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/alert-dialog.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/alert-dialog`
6
- 源码:[src/ui/alert-dialog.tsx](../../../../../src/ui/alert-dialog.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/alert-dialog.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -48,7 +48,7 @@ declare function AlertDialogAction(props: AlertDialogActionProps): React.JSX.Ele
48
48
 
49
49
  | 字段 | 类型 | 说明 |
50
50
  | --- | --- | --- |
51
- | variant? | `"default" \| "outline" \| "secondary" \| "ghost" \| "destructive" \| "link" \| null \| undefined` | 确认按钮外观,默认 default;其余变体同 Button.variant。 |
51
+ | variant? | `"default" \| "link" \| "outline" \| "secondary" \| "ghost" \| "destructive" \| null \| undefined` | 确认按钮外观,默认 default;其余变体同 Button.variant。 |
52
52
  | size? | `"default" \| "xs" \| "sm" \| "lg" \| "icon" \| "icon-xs" \| "icon-sm" \| "icon-lg" \| null \| undefined` | 尺寸,默认 default(h-8);xs/sm/lg 分别为 h-6/h-7/h-9;icon/icon-xs/icon-sm/icon-lg 为 size-8/6/7/9 正方形图标按钮。 |
53
53
 
54
54
  <details>
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/alert-dialog`
6
- 源码:[src/ui/alert-dialog.tsx](../../../../../src/ui/alert-dialog.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/alert-dialog.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -48,7 +48,7 @@ declare function AlertDialogCancel(props: AlertDialogActionProps): React.JSX.Ele
48
48
 
49
49
  | 字段 | 类型 | 说明 |
50
50
  | --- | --- | --- |
51
- | variant? | `"default" \| "outline" \| "secondary" \| "ghost" \| "destructive" \| "link" \| null \| undefined` | 取消按钮外观,默认 outline;其余变体同 Button.variant。 |
51
+ | variant? | `"default" \| "link" \| "outline" \| "secondary" \| "ghost" \| "destructive" \| null \| undefined` | 取消按钮外观,默认 outline;其余变体同 Button.variant。 |
52
52
  | size? | `"default" \| "xs" \| "sm" \| "lg" \| "icon" \| "icon-xs" \| "icon-sm" \| "icon-lg" \| null \| undefined` | 尺寸,默认 default(h-8);xs/sm/lg 分别为 h-6/h-7/h-9;icon/icon-xs/icon-sm/icon-lg 为 size-8/6/7/9 正方形图标按钮。 |
53
53
 
54
54
  <details>
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/alert-dialog`
6
- 源码:[src/ui/alert-dialog.tsx](../../../../../src/ui/alert-dialog.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/alert-dialog.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/alert-dialog`
6
- 源码:[src/ui/alert-dialog.tsx](../../../../../src/ui/alert-dialog.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/alert-dialog.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/alert-dialog`
6
- 源码:[src/ui/alert-dialog.tsx](../../../../../src/ui/alert-dialog.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/alert-dialog.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/alert-dialog`
6
- 源码:[src/ui/alert-dialog.tsx](../../../../../src/ui/alert-dialog.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/alert-dialog.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9
 
@@ -3,7 +3,7 @@
3
3
  <!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
4
4
 
5
5
  导入路径:`@open-dy/vibecoding-sdk-taro/ui/alert-dialog`
6
- 源码:[src/ui/alert-dialog.tsx](../../../../../src/ui/alert-dialog.tsx)(安装包内保留)
6
+ 源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/ui/alert-dialog.tsx`(仅补缺或排错时读取)。
7
7
 
8
8
  #### 说明
9
9