diff --git a/.gitignore b/.gitignore index 188401d..cf04a78 100644 --- a/.gitignore +++ b/.gitignore @@ -86,6 +86,7 @@ web_modules/ # Next.js build output .next +.turbo out # Nuxt.js build / generate output diff --git a/README.md b/README.md index c0cb5ef..e47d938 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Desing System -Open Land logo +Open Land logo This is the source code for https://desing-system.dev by Open Land @@ -15,7 +15,7 @@ This is the source code for https://desing-system.dev by Open Land ## Getting Started -Open Land logo +Open Land logo This design system is totally easy to use with the aim of facilitating upcoming new projects. The design system is a challenge for our team. You can gladly contribute and guide us with ideas to improve... We would be keen to hear any feedback on this project.
@@ -75,7 +75,7 @@ _Navigation_ _Overlay_ -- [ ] Modal +- [x] Dialog - [ ] Context Menu - [ ] Drawer / SidePanel - [ ] Toast messages / Notification diff --git a/doc/OpenLand.jpeg b/docs/OpenLand.jpeg similarity index 100% rename from doc/OpenLand.jpeg rename to docs/OpenLand.jpeg diff --git a/doc/preview.png b/docs/preview.png similarity index 100% rename from doc/preview.png rename to docs/preview.png diff --git a/docs/workspace.md b/docs/workspace.md new file mode 100644 index 0000000..a890aaf --- /dev/null +++ b/docs/workspace.md @@ -0,0 +1,27 @@ +# Configure workspaces + +## Install turbo + +Install turbo globally. + +```shell +pnpm install turbo --global +``` + +For more details about installation, see Installing Turborepo + +## Scripts + +1. Run mode dev. + +```shell +turbo dev +``` + +2. Run build packages + +```shell +turbo build +``` + +Your ready for worker and add components 🎉 diff --git a/test/with-nextjs/.eslintrc.json b/examples/with-nextjs/.eslintrc.json similarity index 100% rename from test/with-nextjs/.eslintrc.json rename to examples/with-nextjs/.eslintrc.json diff --git a/test/with-nextjs/.gitignore b/examples/with-nextjs/.gitignore similarity index 100% rename from test/with-nextjs/.gitignore rename to examples/with-nextjs/.gitignore diff --git a/test/with-nextjs/README.md b/examples/with-nextjs/README.md similarity index 100% rename from test/with-nextjs/README.md rename to examples/with-nextjs/README.md diff --git a/test/with-nextjs/app/favicon.ico b/examples/with-nextjs/app/favicon.ico similarity index 100% rename from test/with-nextjs/app/favicon.ico rename to examples/with-nextjs/app/favicon.ico diff --git a/test/with-nextjs/app/globals.css b/examples/with-nextjs/app/globals.css similarity index 100% rename from test/with-nextjs/app/globals.css rename to examples/with-nextjs/app/globals.css diff --git a/test/with-nextjs/app/layout.tsx b/examples/with-nextjs/app/layout.tsx similarity index 100% rename from test/with-nextjs/app/layout.tsx rename to examples/with-nextjs/app/layout.tsx diff --git a/test/with-nextjs/app/page.tsx b/examples/with-nextjs/app/page.tsx similarity index 99% rename from test/with-nextjs/app/page.tsx rename to examples/with-nextjs/app/page.tsx index 2466372..1e330eb 100644 --- a/test/with-nextjs/app/page.tsx +++ b/examples/with-nextjs/app/page.tsx @@ -1,5 +1,6 @@ import Image from 'next/image' import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Button, Input, Label, Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow } from '@design-system/react' +import { DialogDemo } from '@/components/test-dialog' export default function Home() { return ( @@ -9,6 +10,7 @@ export default function Home() { Get started by editing  app/page.tsx

+ diff --git a/test/with-nextjs/components/button.tsx b/examples/with-nextjs/components/button.tsx similarity index 100% rename from test/with-nextjs/components/button.tsx rename to examples/with-nextjs/components/button.tsx diff --git a/examples/with-nextjs/components/test-dialog.tsx b/examples/with-nextjs/components/test-dialog.tsx new file mode 100644 index 0000000..fc0913a --- /dev/null +++ b/examples/with-nextjs/components/test-dialog.tsx @@ -0,0 +1,57 @@ +'use client' + +import { + Button, + Dialog, + DialogContent, + DialogDescription, + DialogFooter, + DialogHeader, + DialogTitle, + DialogTrigger, + Input, + Label, +} from '@design-system/react' + +export function DialogDemo() { + return ( + + + + + + + Edit profile + + Make changes to your profile here. Click save when you're done. + + +
+
+ + +
+
+ + +
+
+ + + +
+
+ ) +} diff --git a/test/with-nextjs/next.config.mjs b/examples/with-nextjs/next.config.mjs similarity index 100% rename from test/with-nextjs/next.config.mjs rename to examples/with-nextjs/next.config.mjs diff --git a/test/with-nextjs/package.json b/examples/with-nextjs/package.json similarity index 100% rename from test/with-nextjs/package.json rename to examples/with-nextjs/package.json diff --git a/test/with-nextjs/postcss.config.js b/examples/with-nextjs/postcss.config.js similarity index 100% rename from test/with-nextjs/postcss.config.js rename to examples/with-nextjs/postcss.config.js diff --git a/test/with-nextjs/public/next.svg b/examples/with-nextjs/public/next.svg similarity index 100% rename from test/with-nextjs/public/next.svg rename to examples/with-nextjs/public/next.svg diff --git a/test/with-nextjs/public/vercel.svg b/examples/with-nextjs/public/vercel.svg similarity index 100% rename from test/with-nextjs/public/vercel.svg rename to examples/with-nextjs/public/vercel.svg diff --git a/test/with-nextjs/tailwind.config.ts b/examples/with-nextjs/tailwind.config.ts similarity index 100% rename from test/with-nextjs/tailwind.config.ts rename to examples/with-nextjs/tailwind.config.ts diff --git a/test/with-nextjs/tsconfig.json b/examples/with-nextjs/tsconfig.json similarity index 100% rename from test/with-nextjs/tsconfig.json rename to examples/with-nextjs/tsconfig.json diff --git a/test/with-vitejs/.eslintrc.cjs b/examples/with-vitejs/.eslintrc.cjs similarity index 100% rename from test/with-vitejs/.eslintrc.cjs rename to examples/with-vitejs/.eslintrc.cjs diff --git a/test/with-vitejs/.gitignore b/examples/with-vitejs/.gitignore similarity index 100% rename from test/with-vitejs/.gitignore rename to examples/with-vitejs/.gitignore diff --git a/test/with-vitejs/README.md b/examples/with-vitejs/README.md similarity index 100% rename from test/with-vitejs/README.md rename to examples/with-vitejs/README.md diff --git a/test/with-vitejs/index.html b/examples/with-vitejs/index.html similarity index 100% rename from test/with-vitejs/index.html rename to examples/with-vitejs/index.html diff --git a/test/with-vitejs/package.json b/examples/with-vitejs/package.json similarity index 100% rename from test/with-vitejs/package.json rename to examples/with-vitejs/package.json diff --git a/test/with-vitejs/postcss.config.js b/examples/with-vitejs/postcss.config.js similarity index 100% rename from test/with-vitejs/postcss.config.js rename to examples/with-vitejs/postcss.config.js diff --git a/test/with-vitejs/public/vite.svg b/examples/with-vitejs/public/vite.svg similarity index 100% rename from test/with-vitejs/public/vite.svg rename to examples/with-vitejs/public/vite.svg diff --git a/test/with-vitejs/src/App.tsx b/examples/with-vitejs/src/App.tsx similarity index 97% rename from test/with-vitejs/src/App.tsx rename to examples/with-vitejs/src/App.tsx index 7e44f89..40e46cf 100644 --- a/test/with-vitejs/src/App.tsx +++ b/examples/with-vitejs/src/App.tsx @@ -2,6 +2,7 @@ import { useState } from 'react' import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, Badge, Button, Input, Label, Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow } from '@design-system/react' import reactLogo from './assets/react.svg' import viteLogo from '/vite.svg' +import { DialogCloseButton } from './test-dialog' function App() { const [count, setCount] = useState(0) @@ -11,6 +12,7 @@ function App() { + Open diff --git a/test/with-vitejs/src/assets/react.svg b/examples/with-vitejs/src/assets/react.svg similarity index 100% rename from test/with-vitejs/src/assets/react.svg rename to examples/with-vitejs/src/assets/react.svg diff --git a/test/with-vitejs/src/index.css b/examples/with-vitejs/src/index.css similarity index 100% rename from test/with-vitejs/src/index.css rename to examples/with-vitejs/src/index.css diff --git a/test/with-vitejs/src/main.tsx b/examples/with-vitejs/src/main.tsx similarity index 100% rename from test/with-vitejs/src/main.tsx rename to examples/with-vitejs/src/main.tsx diff --git a/examples/with-vitejs/src/test-dialog.tsx b/examples/with-vitejs/src/test-dialog.tsx new file mode 100644 index 0000000..05ec287 --- /dev/null +++ b/examples/with-vitejs/src/test-dialog.tsx @@ -0,0 +1,56 @@ +import { Copy } from 'lucide-react' + +import { + Button, + Dialog, + DialogClose, + DialogContent, + DialogDescription, + DialogFooter, + DialogHeader, + DialogTitle, + DialogTrigger, + Input, + Label, +} from '@design-system/react' + +export function DialogCloseButton() { + return ( + + + + + + + Share link + + Anyone who has this link will be able to view this. + + +
+
+ + +
+ +
+ + + + + +
+
+ ) +} diff --git a/test/with-vitejs/src/vite-env.d.ts b/examples/with-vitejs/src/vite-env.d.ts similarity index 100% rename from test/with-vitejs/src/vite-env.d.ts rename to examples/with-vitejs/src/vite-env.d.ts diff --git a/test/with-vitejs/tailwind.config.js b/examples/with-vitejs/tailwind.config.js similarity index 100% rename from test/with-vitejs/tailwind.config.js rename to examples/with-vitejs/tailwind.config.js diff --git a/test/with-vitejs/tsconfig.json b/examples/with-vitejs/tsconfig.json similarity index 100% rename from test/with-vitejs/tsconfig.json rename to examples/with-vitejs/tsconfig.json diff --git a/test/with-vitejs/tsconfig.node.json b/examples/with-vitejs/tsconfig.node.json similarity index 100% rename from test/with-vitejs/tsconfig.node.json rename to examples/with-vitejs/tsconfig.node.json diff --git a/test/with-vitejs/vite.config.ts b/examples/with-vitejs/vite.config.ts similarity index 100% rename from test/with-vitejs/vite.config.ts rename to examples/with-vitejs/vite.config.ts diff --git a/package.json b/package.json index f58d784..442b87d 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,6 @@ "types": "./dist/index.d.ts", "scripts": { "lint": "eslint .", - "test-dev": "pnpm -r --filter=./test/* dev", - "build": "pnpm -r --filter=./lib/* build", "prepare": "husky" }, "devDependencies": { diff --git a/lib/react/.npmignore b/packages/react/.npmignore similarity index 100% rename from lib/react/.npmignore rename to packages/react/.npmignore diff --git a/lib/react/package.json b/packages/react/package.json similarity index 96% rename from lib/react/package.json rename to packages/react/package.json index 27d579b..099aad5 100644 --- a/lib/react/package.json +++ b/packages/react/package.json @@ -24,6 +24,7 @@ "@radix-ui/react-alert-dialog": "1.0.5", "@radix-ui/react-aspect-ratio": "1.0.3", "@radix-ui/react-avatar": "1.0.4", + "@radix-ui/react-dialog": "1.0.5", "@radix-ui/react-label": "2.0.2", "@radix-ui/react-slot": "1.0.2", "class-variance-authority": "0.7.0", diff --git a/lib/react/src/components/alert-dialog.tsx b/packages/react/src/components/alert-dialog.tsx similarity index 100% rename from lib/react/src/components/alert-dialog.tsx rename to packages/react/src/components/alert-dialog.tsx diff --git a/lib/react/src/components/alert.tsx b/packages/react/src/components/alert.tsx similarity index 100% rename from lib/react/src/components/alert.tsx rename to packages/react/src/components/alert.tsx diff --git a/lib/react/src/components/aspect-ratio.tsx b/packages/react/src/components/aspect-ratio.tsx similarity index 100% rename from lib/react/src/components/aspect-ratio.tsx rename to packages/react/src/components/aspect-ratio.tsx diff --git a/lib/react/src/components/avatar.tsx b/packages/react/src/components/avatar.tsx similarity index 100% rename from lib/react/src/components/avatar.tsx rename to packages/react/src/components/avatar.tsx diff --git a/lib/react/src/components/badge.tsx b/packages/react/src/components/badge.tsx similarity index 100% rename from lib/react/src/components/badge.tsx rename to packages/react/src/components/badge.tsx diff --git a/lib/react/src/components/button.tsx b/packages/react/src/components/button.tsx similarity index 100% rename from lib/react/src/components/button.tsx rename to packages/react/src/components/button.tsx diff --git a/lib/react/src/components/carousel.tsx b/packages/react/src/components/carousel.tsx similarity index 100% rename from lib/react/src/components/carousel.tsx rename to packages/react/src/components/carousel.tsx diff --git a/packages/react/src/components/dialog.tsx b/packages/react/src/components/dialog.tsx new file mode 100644 index 0000000..4c771c0 --- /dev/null +++ b/packages/react/src/components/dialog.tsx @@ -0,0 +1,114 @@ +import * as React from 'react' +import * as DialogPrimitive from '@radix-ui/react-dialog' + +import { cn } from '../lib/cn' + +const Dialog = DialogPrimitive.Root + +const DialogTrigger = DialogPrimitive.Trigger + +const DialogPortal = DialogPrimitive.Portal + +const DialogClose = DialogPrimitive.Close + +const DialogOverlay = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)) + +DialogOverlay.displayName = DialogPrimitive.Overlay.displayName + +const DialogContent = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, children, ...props }, ref) => ( + + + + {children} + + + + + + Close + + + +)) + +DialogContent.displayName = DialogPrimitive.Content.displayName + +function DialogHeader({ className, ...props }: React.HTMLAttributes) { + return ( +
+ ) +} + +DialogHeader.displayName = 'DialogHeader' + +function DialogFooter({ className, ...props }: React.HTMLAttributes) { + return ( +
+ ) +} + +DialogFooter.displayName = 'DialogFooter' + +const DialogTitle = React.forwardRef, React.ComponentPropsWithoutRef>(({ className, ...props }, ref) => ( + +)) + +DialogTitle.displayName = DialogPrimitive.Title.displayName + +const DialogDescription = React.forwardRef, React.ComponentPropsWithoutRef>(({ className, ...props }, ref) => ( + +)) + +DialogDescription.displayName = DialogPrimitive.Description.displayName + +export { + Dialog, + DialogPortal, + DialogOverlay, + DialogClose, + DialogTrigger, + DialogContent, + DialogHeader, + DialogFooter, + DialogTitle, + DialogDescription, +} diff --git a/lib/react/src/components/input.tsx b/packages/react/src/components/input.tsx similarity index 100% rename from lib/react/src/components/input.tsx rename to packages/react/src/components/input.tsx diff --git a/lib/react/src/components/label.tsx b/packages/react/src/components/label.tsx similarity index 100% rename from lib/react/src/components/label.tsx rename to packages/react/src/components/label.tsx diff --git a/lib/react/src/components/table.tsx b/packages/react/src/components/table.tsx similarity index 100% rename from lib/react/src/components/table.tsx rename to packages/react/src/components/table.tsx diff --git a/lib/react/src/index.ts b/packages/react/src/index.ts similarity index 92% rename from lib/react/src/index.ts rename to packages/react/src/index.ts index bf04be1..c490799 100644 --- a/lib/react/src/index.ts +++ b/packages/react/src/index.ts @@ -13,3 +13,4 @@ export * from './components/table' export * from './components/avatar' export * from './components/input' export * from './components/label' +export * from './components/dialog' diff --git a/lib/react/src/lib/cn.ts b/packages/react/src/lib/cn.ts similarity index 100% rename from lib/react/src/lib/cn.ts rename to packages/react/src/lib/cn.ts diff --git a/lib/react/src/plugin.ts b/packages/react/src/plugin.ts similarity index 100% rename from lib/react/src/plugin.ts rename to packages/react/src/plugin.ts diff --git a/lib/react/tsconfig.json b/packages/react/tsconfig.json similarity index 100% rename from lib/react/tsconfig.json rename to packages/react/tsconfig.json diff --git a/lib/react/tsup.config.ts b/packages/react/tsup.config.ts similarity index 100% rename from lib/react/tsup.config.ts rename to packages/react/tsup.config.ts diff --git a/lib/theme/package.json b/packages/theme/package.json similarity index 100% rename from lib/theme/package.json rename to packages/theme/package.json diff --git a/lib/theme/src/box-shadows.ts b/packages/theme/src/box-shadows.ts similarity index 100% rename from lib/theme/src/box-shadows.ts rename to packages/theme/src/box-shadows.ts diff --git a/lib/theme/src/colors/dark.ts b/packages/theme/src/colors/dark.ts similarity index 100% rename from lib/theme/src/colors/dark.ts rename to packages/theme/src/colors/dark.ts diff --git a/lib/theme/src/colors/error.ts b/packages/theme/src/colors/error.ts similarity index 100% rename from lib/theme/src/colors/error.ts rename to packages/theme/src/colors/error.ts diff --git a/lib/theme/src/colors/index.ts b/packages/theme/src/colors/index.ts similarity index 100% rename from lib/theme/src/colors/index.ts rename to packages/theme/src/colors/index.ts diff --git a/lib/theme/src/colors/primary.ts b/packages/theme/src/colors/primary.ts similarity index 100% rename from lib/theme/src/colors/primary.ts rename to packages/theme/src/colors/primary.ts diff --git a/lib/theme/src/colors/secondary.ts b/packages/theme/src/colors/secondary.ts similarity index 100% rename from lib/theme/src/colors/secondary.ts rename to packages/theme/src/colors/secondary.ts diff --git a/lib/theme/src/colors/success.ts b/packages/theme/src/colors/success.ts similarity index 100% rename from lib/theme/src/colors/success.ts rename to packages/theme/src/colors/success.ts diff --git a/lib/theme/src/colors/warn.ts b/packages/theme/src/colors/warn.ts similarity index 100% rename from lib/theme/src/colors/warn.ts rename to packages/theme/src/colors/warn.ts diff --git a/lib/theme/src/index.ts b/packages/theme/src/index.ts similarity index 100% rename from lib/theme/src/index.ts rename to packages/theme/src/index.ts diff --git a/lib/theme/src/radius.ts b/packages/theme/src/radius.ts similarity index 100% rename from lib/theme/src/radius.ts rename to packages/theme/src/radius.ts diff --git a/lib/theme/src/screens.ts b/packages/theme/src/screens.ts similarity index 100% rename from lib/theme/src/screens.ts rename to packages/theme/src/screens.ts diff --git a/lib/theme/src/shadcn-ui.ts b/packages/theme/src/shadcn-ui.ts similarity index 100% rename from lib/theme/src/shadcn-ui.ts rename to packages/theme/src/shadcn-ui.ts diff --git a/lib/theme/src/tailwindcss.ts b/packages/theme/src/tailwindcss.ts similarity index 100% rename from lib/theme/src/tailwindcss.ts rename to packages/theme/src/tailwindcss.ts diff --git a/lib/theme/tsup.config.ts b/packages/theme/tsup.config.ts similarity index 100% rename from lib/theme/tsup.config.ts rename to packages/theme/tsup.config.ts diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2844710..c3a9e90 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,81 +33,11 @@ importers: specifier: 15.2.2 version: 15.2.2 - lib/react: - dependencies: - '@desing-system/theme': - specifier: workspace:* - version: link:../theme - '@radix-ui/react-alert-dialog': - specifier: 1.0.5 - version: 1.0.5(@types/react-dom@18.2.22)(@types/react@18.2.69)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-aspect-ratio': - specifier: 1.0.3 - version: 1.0.3(@types/react-dom@18.2.22)(@types/react@18.2.69)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-avatar': - specifier: 1.0.4 - version: 1.0.4(@types/react-dom@18.2.22)(@types/react@18.2.69)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-label': - specifier: 2.0.2 - version: 2.0.2(@types/react-dom@18.2.22)(@types/react@18.2.69)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-slot': - specifier: 1.0.2 - version: 1.0.2(@types/react@18.2.69)(react@18.2.0) - class-variance-authority: - specifier: 0.7.0 - version: 0.7.0 - clsx: - specifier: 2.1.0 - version: 2.1.0 - embla-carousel-react: - specifier: 8.0.0 - version: 8.0.0(react@18.2.0) - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) - tailwind-merge: - specifier: 2.2.2 - version: 2.2.2 - tailwindcss-animate: - specifier: 1.0.7 - version: 1.0.7(tailwindcss@3.4.1) - devDependencies: - '@types/react': - specifier: 18.2.69 - version: 18.2.69 - '@types/react-dom': - specifier: 18.2.22 - version: 18.2.22 - tailwindcss: - specifier: 3.4.1 - version: 3.4.1 - tsup: - specifier: 8.0.2 - version: 8.0.2(postcss@8.4.38)(typescript@5.4.2) - typescript: - specifier: 5.4.2 - version: 5.4.2 - - lib/theme: - devDependencies: - tailwindcss: - specifier: 3.4.1 - version: 3.4.1 - tsup: - specifier: 8.0.2 - version: 8.0.2(postcss@8.4.38)(typescript@5.4.2) - typescript: - specifier: 5.4.2 - version: 5.4.2 - - test/with-nextjs: + examples/with-nextjs: dependencies: '@design-system/react': specifier: workspace:* - version: link:../../lib/react + version: link:../../packages/react next: specifier: 14.1.4 version: 14.1.4(react-dom@18.2.0)(react@18.2.0) @@ -146,11 +76,11 @@ importers: specifier: ^5 version: 5.4.2 - test/with-vitejs: + examples/with-vitejs: dependencies: '@design-system/react': specifier: workspace:* - version: link:../../lib/react + version: link:../../packages/react lucide-react: specifier: 0.363.0 version: 0.363.0(react@18.2.0) @@ -201,6 +131,79 @@ importers: specifier: ^5.2.0 version: 5.2.2(@types/node@20.11.28) + packages/react: + dependencies: + '@desing-system/theme': + specifier: workspace:* + version: link:../theme + '@radix-ui/react-alert-dialog': + specifier: 1.0.5 + version: 1.0.5(@types/react-dom@18.2.22)(@types/react@18.2.69)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-aspect-ratio': + specifier: 1.0.3 + version: 1.0.3(@types/react-dom@18.2.22)(@types/react@18.2.69)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-avatar': + specifier: 1.0.4 + version: 1.0.4(@types/react-dom@18.2.22)(@types/react@18.2.69)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-dialog': + specifier: 1.0.5 + version: 1.0.5(@types/react-dom@18.2.22)(@types/react@18.2.69)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-label': + specifier: 2.0.2 + version: 2.0.2(@types/react-dom@18.2.22)(@types/react@18.2.69)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-slot': + specifier: 1.0.2 + version: 1.0.2(@types/react@18.2.69)(react@18.2.0) + class-variance-authority: + specifier: 0.7.0 + version: 0.7.0 + clsx: + specifier: 2.1.0 + version: 2.1.0 + embla-carousel-react: + specifier: 8.0.0 + version: 8.0.0(react@18.2.0) + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + tailwind-merge: + specifier: 2.2.2 + version: 2.2.2 + tailwindcss-animate: + specifier: 1.0.7 + version: 1.0.7(tailwindcss@3.4.1) + devDependencies: + '@types/react': + specifier: 18.2.69 + version: 18.2.69 + '@types/react-dom': + specifier: 18.2.22 + version: 18.2.22 + tailwindcss: + specifier: 3.4.1 + version: 3.4.1 + tsup: + specifier: 8.0.2 + version: 8.0.2(postcss@8.4.38)(typescript@5.4.2) + typescript: + specifier: 5.4.2 + version: 5.4.2 + + packages/theme: + devDependencies: + tailwindcss: + specifier: 3.4.1 + version: 3.4.1 + tsup: + specifier: 8.0.2 + version: 8.0.2(postcss@8.4.38)(typescript@5.4.2) + typescript: + specifier: 5.4.2 + version: 5.4.2 + packages: /@aashutoshrathi/word-wrap@1.2.6: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index c34418d..eea3e47 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,3 @@ packages: - - './lib/*' - - './test/*' + - './packages/*' + - './examples/*' diff --git a/turbo.json b/turbo.json new file mode 100644 index 0000000..7e76ef9 --- /dev/null +++ b/turbo.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://turbo.build/schema.json", + "pipeline": { + "build": { + "dependsOn": ["^build"] + }, + "dev": { + "cache": false, + "persistent": true + } + } +}