update design

This commit is contained in:
Arnaud 2024-11-06 02:30:33 +01:00
parent a63caca49d
commit 29d7fb924e
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
4 changed files with 8 additions and 8 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@codex-storage/marketplace-ui-components", "name": "@codex-storage/marketplace-ui-components",
"version": "0.0.35", "version": "0.0.36",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@codex-storage/marketplace-ui-components", "name": "@codex-storage/marketplace-ui-components",
"version": "0.0.35", "version": "0.0.36",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"lucide-react": "^0.453.0" "lucide-react": "^0.453.0"

View File

@ -5,7 +5,7 @@
"type": "git", "type": "git",
"url": "https://github.com/codex-storage/codex-marketplace-ui-components" "url": "https://github.com/codex-storage/codex-marketplace-ui-components"
}, },
"version": "0.0.35", "version": "0.0.36",
"type": "module", "type": "module",
"scripts": { "scripts": {
"prepack": "npm run build", "prepack": "npm run build",

View File

@ -138,9 +138,9 @@ export type RowProps = {
className?: string; className?: string;
}; };
export function Row({ cells, className = "" }: RowProps) { export function Row({ cells, className = "", ...rest }: RowProps) {
return ( return (
<tr className={className}> <tr {...rest} className={className}>
{cells.map((Cell, index) => ( {cells.map((Cell, index) => (
<Fragment key={index}>{Cell}</Fragment> <Fragment key={index}>{Cell}</Fragment>
))} ))}

View File

@ -14,7 +14,7 @@
th { th {
color: var(--codex-color-light); color: var(--codex-color-light);
font-weight: normal; font-weight: normal;
text-transform: uppercase; text-transform: capitalize;
font-size: 0.9rem; font-size: 0.9rem;
text-align: left; text-align: left;
height: 36px; height: 36px;
@ -78,11 +78,11 @@
height: 64px; height: 64px;
box-sizing: border-box; box-sizing: border-box;
background-color: #232323; background-color: #232323;
padding: 0 16px; padding: 0 12px;
font-family: Inter; font-family: Inter;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
line-height: 20px; line-height: 16px;
letter-spacing: -0.006em; letter-spacing: -0.006em;
&:first-child { &:first-child {