mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
FakeMUI Components (MUI API compatibility): - Add sx prop support to all components via sxToStyle utility - Add MUI-style variants to Button (contained, outlined) - Add component prop to Typography for polymorphic rendering - Add label prop to Chip (MUI uses label vs children) - Add edge/color/size props to IconButton - Add component prop to List for nav rendering - Add href support to ListItemButton - Add variant prop to Avatar - Add PaperProps to Drawer New @metabuilder/components package: - vanilla/loading - LoadingIndicator, InlineLoader, AsyncLoading - vanilla/error - ErrorBoundary, ErrorDisplay, withErrorBoundary - vanilla/empty-state - EmptyState + 7 specialized variants - vanilla/skeleton - Skeleton + 6 specialized variants - Organized by framework: vanilla/, radix/, fakemui/ Hooks consolidation (FakeMUI → root hooks/): - useAccessible (5 accessibility hooks) - useToast with ToastProvider - FakeMUI re-exports from hooks for backward compatibility WorkflowUI fixes: - Fix showNotification → useUI error/success methods - Fix Redux reducer setTimeout (Immer proxy issue) - Fix useRef type error - Update to Next.js 16.1.6 with webpack mode - Add @metabuilder/fakemui dependency Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
109 lines
3.0 KiB
JSON
109 lines
3.0 KiB
JSON
{
|
|
"name": "@metabuilder/components",
|
|
"version": "1.0.0",
|
|
"description": "Shared React components for MetaBuilder projects",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./vanilla": {
|
|
"import": "./dist/vanilla/index.mjs",
|
|
"require": "./dist/vanilla/index.js",
|
|
"types": "./dist/vanilla/index.d.ts"
|
|
},
|
|
"./vanilla/loading": {
|
|
"import": "./dist/vanilla/loading/index.mjs",
|
|
"require": "./dist/vanilla/loading/index.js",
|
|
"types": "./dist/vanilla/loading/index.d.ts"
|
|
},
|
|
"./vanilla/error": {
|
|
"import": "./dist/vanilla/error/index.mjs",
|
|
"require": "./dist/vanilla/error/index.js",
|
|
"types": "./dist/vanilla/error/index.d.ts"
|
|
},
|
|
"./vanilla/empty-state": {
|
|
"import": "./dist/vanilla/empty-state/index.mjs",
|
|
"require": "./dist/vanilla/empty-state/index.js",
|
|
"types": "./dist/vanilla/empty-state/index.d.ts"
|
|
},
|
|
"./vanilla/skeleton": {
|
|
"import": "./dist/vanilla/skeleton/index.mjs",
|
|
"require": "./dist/vanilla/skeleton/index.js",
|
|
"types": "./dist/vanilla/skeleton/index.d.ts"
|
|
},
|
|
"./radix": {
|
|
"import": "./dist/radix/index.mjs",
|
|
"require": "./dist/radix/index.js",
|
|
"types": "./dist/radix/index.d.ts"
|
|
},
|
|
"./fakemui": {
|
|
"import": "./dist/fakemui/index.mjs",
|
|
"require": "./dist/fakemui/index.js",
|
|
"types": "./dist/fakemui/index.d.ts"
|
|
},
|
|
"./loading": {
|
|
"import": "./dist/vanilla/loading/index.mjs",
|
|
"require": "./dist/vanilla/loading/index.js",
|
|
"types": "./dist/vanilla/loading/index.d.ts"
|
|
},
|
|
"./error": {
|
|
"import": "./dist/vanilla/error/index.mjs",
|
|
"require": "./dist/vanilla/error/index.js",
|
|
"types": "./dist/vanilla/error/index.d.ts"
|
|
},
|
|
"./empty-state": {
|
|
"import": "./dist/vanilla/empty-state/index.mjs",
|
|
"require": "./dist/vanilla/empty-state/index.js",
|
|
"types": "./dist/vanilla/empty-state/index.d.ts"
|
|
},
|
|
"./skeleton": {
|
|
"import": "./dist/vanilla/skeleton/index.mjs",
|
|
"require": "./dist/vanilla/skeleton/index.js",
|
|
"types": "./dist/vanilla/skeleton/index.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"vanilla",
|
|
"radix",
|
|
"fakemui"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint . --ext .ts,.tsx"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.0.0 || ^19.0.0",
|
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.2.0",
|
|
"@types/react-dom": "^18.2.0",
|
|
"tsup": "^8.0.0",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"components",
|
|
"loading",
|
|
"error-boundary",
|
|
"empty-state",
|
|
"skeleton",
|
|
"metabuilder"
|
|
],
|
|
"author": "MetaBuilder",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/metabuilder/metabuilder.git",
|
|
"directory": "components"
|
|
}
|
|
}
|