Major feature migration from dt-shopify-storefront into the design system: - Card system: per-card color modes (normal/emphasis/warning/success/other), progress bars, full-bleed card body (card-body-flush), image bevel clip-paths, and visible structural borders at bevel corners - Badge system: dt-card-badge with position-aware offsets for cards vs media frames - Media frames: dt-bevel-media with inner surface fill, image clipping, and "MISSING MEDIA" placeholder for empty containers - Interactive bevel buttons: dt-btn with hover/selected states and pulse animation - Menu items: dt-menu-item with active states and level indentation - Animations: scale-in, fade-in, slide-up, pulse, ping, spin keyframes - Feature legend: CSS grid for product feature icons with state colors - Scrollbar styling for DT brand - New @dangerousthings/react package wrapping web CSS components - New @dangerousthings/tailwind-preset package - New @dangerousthings/hex-background package - Desktop showcase rewritten in React with Tailwind CSS - Mobile showcase updated with new screens (animations, filters, advanced cards) - Tokens: added mode color tokens, RGB variants, and selected-state tokens Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"name": "@dangerousthings/hex-background",
|
|
"version": "0.1.0",
|
|
"description": "3D hexagon grid background for the Dangerous Things design system",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./native": {
|
|
"types": "./dist/native.d.ts",
|
|
"import": "./dist/native.js",
|
|
"default": "./dist/native.js"
|
|
}
|
|
},
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"react-native": "dist/native.js",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"clean": "rm -rf dist",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18",
|
|
"@react-three/fiber": ">=8",
|
|
"three": ">=0.150"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"expo-gl": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@react-three/fiber": "^8.18.0",
|
|
"@types/react": "^18.2.0",
|
|
"@types/three": "^0.160.0",
|
|
"react": "^18.0.0",
|
|
"three": "^0.160.0",
|
|
"typescript": "^5.7.0"
|
|
}
|
|
}
|