mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-11-03 03:18:52 +00:00
- Enable all 15 finance component docs (from .disabled → .mdx) - Create stock-market.mdx, 8 chart docs, 8 block docs, 2 framework docs - Add direction.tsx component (RTL/LTR support from upstream shadcn) - Add xs/icon-xs button sizes, data-variant/data-size attributes - Fix build-registry.mts to handle default exports in namespace re-exports - Add default props to order-entry, positions-list, orders-history, trading-panel - Fix 18 navigation stubs → re-export from root implementations - Add 44 orphaned MDX files to nav (installation, dark-mode, desktop, guides, etc) - Migrate 6 framer-motion imports → motion/react - Bump React 19.2.0→19.2.4, Next.js 16.0.1→16.1.6, motion→12.34.0 - Align lucide-react, sonner v2, tailwind-merge v3, postcss-selector-parser v7 - Remove framer-motion dep (superseded by motion) - Fix @types/react-dom, TypeScript versions across workspaces
13 lines
795 B
JSON
13 lines
795 B
JSON
{
|
|
"name": "direction",
|
|
"dependencies": [
|
|
"@radix-ui/react-direction"
|
|
],
|
|
"files": [
|
|
{
|
|
"name": "direction.tsx",
|
|
"content": "\"use client\"\n\nimport * as React from \"react\"\nimport {\n DirectionProvider as RadixDirectionProvider,\n useDirection as useRadixDirection,\n} from \"@radix-ui/react-direction\"\n\nfunction DirectionProvider({\n dir,\n direction,\n children,\n}: React.ComponentProps<typeof RadixDirectionProvider> & {\n direction?: React.ComponentProps<typeof RadixDirectionProvider>[\"dir\"]\n}) {\n return (\n <RadixDirectionProvider dir={direction ?? dir}>\n {children}\n </RadixDirectionProvider>\n )\n}\n\nconst useDirection = useRadixDirection\n\nexport { DirectionProvider, useDirection }\n"
|
|
}
|
|
],
|
|
"type": "components:ui"
|
|
} |