255919254a
chore(hooks): Consolidate hooks library to root /hooks directory
...
- Moved 104 production-ready hooks from frontends/nextjs and redux packages to root /hooks
- Removed duplicate hooks from frontends/nextjs/src/hooks directory
- Updated frontends/nextjs to import from @metabuilder/hooks instead of local hooks
- Added comprehensive documentation: EXPORT_GUIDE.md, FORM_VALIDATION_HOOKS.md, QUICK_REFERENCE.md
- Removed stale index.d.ts from hooks root (TypeScript auto-generates declarations)
- All 104 hooks now consolidated as single source of truth at root /hooks
- Package @metabuilder/hooks v2.0.0 ready for use across all MetaBuilder projects
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-01-23 19:59:13 +00:00
5aabff44cd
refactor(fakemui): flatten QML components directory structure and update documentation
...
Directory Restructuring:
- qml/qml-components/qml-components/* → qml/components/ (flattens nesting)
- All 104 QML files moved with git history preserved
- Eliminates redundant qml-components nesting
Documentation Updates:
- ARCHITECTURE.md: Updated qml/components references (2 locations)
- GETTING_STARTED.md: Updated qml/components path (1 location, end of file)
- README.md: Updated qml/components references (3 locations)
- CODE_REVIEW.md: Updated qml/components file paths (4 locations)
- docs/ARCHITECTURE.md: Complete refactor with qml/components paths
Verification:
- ✅ No remaining qml-components/ references in documentation
- ✅ All 104 QML files present in flattened structure
- ✅ Directory structure verified (12 component categories)
- ✅ First-class directory naming convention
Structure Post-Refactor:
qml/
├── components/
│ ├── atoms/ (16 files)
│ ├── core/ (11 files)
│ ├── data-display/ (10 files)
│ ├── feedback/ (11 files)
│ ├── form/ (19 files)
│ ├── lab/ (11 files)
│ ├── layout/ (12 files)
│ ├── navigation/ (12 files)
│ ├── surfaces/ (7 files)
│ ├── theming/ (4 files)
│ └── utils/ (13 files)
├── hybrid/
└── widgets/
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-01-23 19:54:21 +00:00
78a54228df
feat(hooks): Create centralized hooks npm package
...
- Added @metabuilder/hooks workspace package at root
- Consolidated 30 React hooks from across codebase into single module
- Implemented conditional exports for tree-shaking support
- Added comprehensive package.json with build/lint/typecheck scripts
- Created README.md documenting hook categories and usage patterns
- Updated root package.json workspaces array to include hooks
- Supports multi-version peer dependencies (React 18/19, Redux 8/9)
Usage:
import { useDashboardLogic } from '@metabuilder/hooks'
import { useLoginLogic } from '@metabuilder/hooks/useLoginLogic'
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-01-23 19:17:17 +00:00