Skip to content

Commit

Permalink
feat: 100 storybook react card
Browse files Browse the repository at this point in the history
  • Loading branch information
alifzeroone committed Jan 26, 2025
1 parent eaf81b8 commit 29bbc8c
Show file tree
Hide file tree
Showing 6 changed files with 722 additions and 722 deletions.
4 changes: 2 additions & 2 deletions apps/docs-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"dependencies": {
"@repo/ui-solid": "workspace:*",
"lucide-solid": "^0.473.0",
"lucide-solid": "^0.474.0",
"pathe": "^2.0.2",
"solid-js": "^1.9.4",
"std-env": "^3.8.0"
Expand All @@ -34,7 +34,7 @@
"@storybook/test": "^8.5.1",
"@storybook/theming": "^8.5.1",
"@tailwindcss/vite": "^4.0.0",
"@types/node": "^22.10.8",
"@types/node": "^22.10.10",
"storybook": "^8.5.1",
"storybook-solidjs": "^1.0.0-beta.6",
"storybook-solidjs-vite": "^1.0.0-beta.6",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"devDependencies": {
"@biomejs/biome": "catalog:",
"npm-check-updates": "^17.1.14",
"turbo": "^2.3.3"
"turbo": "^2.3.4"
},
"packageManager": "[email protected]"
}
8 changes: 4 additions & 4 deletions packages/core-ui/src/styles/card.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import { type VariantProps, tv } from 'tailwind-variants'

export const cardStyles = tv({
slots: {
base: 'rounded-lg border bg-card text-card-foreground shadow-sm',
header: 'flex flex-col space-y-1.5 p-6',
base: 'rounded-lg border bg-card text-card-foreground shadow-sm max-w-sm',
header: 'flex flex-col space-y-1.5 p-6 pb-0',
title: 'font-semibold leading-none tracking-tight',
description: 'text-muted-foreground text-sm',
content: 'p-6 pt-0',
footer: 'flex items-center p-6 pt-0',
content: 'p-6 space-y-2',
footer: 'flex items-center p-6 pt-0 gap-x-2',
},
})

Expand Down
6 changes: 3 additions & 3 deletions packages/ui-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@
"react": "^19.0.0"
},
"devDependencies": {
"@ark-ui/react": "^4.9.0",
"@ark-ui/react": "^4.9.1",
"@biomejs/biome": "catalog:",
"@repo/config-typescript": "workspace:*",
"@repo/core-ui": "workspace:*",
"@types/react": "^19.0.7",
"lucide-react": "^0.473.0",
"@types/react": "^19.0.8",
"lucide-react": "^0.474.0",
"tailwind-variants": "^0.3.1",
"tailwindcss": "4.0.0-beta.8",
"typescript": "catalog:"
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"solid-js": "^1.9.4"
},
"devDependencies": {
"@ark-ui/solid": "^4.10.0",
"@ark-ui/solid": "^4.10.1",
"@biomejs/biome": "catalog:",
"@repo/config-typescript": "workspace:*",
"@repo/core-ui": "workspace:*",
"lucide-solid": "^0.473.0",
"lucide-solid": "^0.474.0",
"tailwind-variants": "^0.3.1",
"tailwindcss": "4.0.0-beta.8",
"typescript": "catalog:"
Expand Down
Loading

0 comments on commit 29bbc8c

Please sign in to comment.