Files
metabuilder/fakemui/package.json
johndoe6345789 d23f4a8be4 feat: FakeMUI MUI-compatibility + shared components library + hooks consolidation
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>
2026-02-01 22:05:47 +00:00

43 lines
1.4 KiB
JSON

{
"name": "@metabuilder/fakemui",
"version": "1.0.0",
"description": "Material Design 3 inspired component library - React components",
"main": "./index.ts",
"types": "./index.ts",
"exports": {
".": "./index.ts",
"./hooks": "./hooks.ts",
"./icons": "./icons/index.ts",
"./react/components/inputs": "./react/components/inputs/index.ts",
"./react/components/surfaces": "./react/components/surfaces/index.ts",
"./react/components/layout": "./react/components/layout/index.ts",
"./react/components/data-display": "./react/components/data-display/index.ts",
"./react/components/feedback": "./react/components/feedback/index.ts",
"./react/components/navigation": "./react/components/navigation/index.ts",
"./react/components/utils": "./react/components/utils/index.ts",
"./react/components/atoms": "./react/components/atoms/index.ts",
"./react/components/lab": "./react/components/lab/index.ts",
"./react/components/x": "./react/components/x/index.ts",
"./scss": "./scss/index.scss"
},
"sideEffects": [
"./scss/**/*.scss",
"./react/**/*.scss"
],
"keywords": [
"material-design",
"ui-components",
"react",
"component-library"
],
"author": "MetaBuilder",
"license": "MIT",
"peerDependencies": {
"react": "18.x || 19.x",
"react-dom": "18.x || 19.x"
},
"dependencies": {
"@metabuilder/hooks": "workspace:*"
}
}