(BETA) LC-173: Migrate LambdaCurry/forms to ShadCN tailwind V4#37
(BETA) LC-173: Migrate LambdaCurry/forms to ShadCN tailwind V4#37
Conversation
|
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
LC-177: Migrate LambdaCurry/forms to latest React Router and React version
…uter; adjust Storybook configurations accordingly
…er for improved alignment with labels
…zation and PR previews - Added `noNamespaceImport` option to `biome.json` for better TypeScript handling. - Enhanced README with detailed instructions for PR previews and GitHub environment setup. - Updated `yarn.lock` to reflect dependency changes, including `react-day-picker` and `remix-hook-form`. - Introduced new GitHub Actions workflow for automatic PR previews. - Added custom components documentation for form elements, ensuring type safety and flexibility. - Refactored checkbox and radio group components to support custom component injection.
…r integration - Upgraded from version 18 to 19 in and . - Replaced with in multiple story files to support React Router. - Adjusted import paths for components in CSS and story files for consistency. - Enhanced checkbox and radio group components with additional data attributes for better accessibility.
|
📝 Storybook Preview: View Storybook This preview will be updated automatically when you push new changes to this PR.
|
…tack types, improving code clarity and consistency. Clean up JSX formatting for better readability across data table files.
…omponents and cmdk package. Refactor form components for improved readability and consistency, including type imports for React. Enhance DataTableRouterForm with auto-submit functionality on filter changes.
…sed submitHandlers and update route path. Delete unused data table story files for improved project clarity.
…andling. Introduce sleep helper for delays, ensuring robust interaction testing. Commented out dropdown menu play function for future implementation.
…ps from GitHub Actions workflow
…ld process in both root and docs apps.
…iddleware directly
…rm-v7 Update remix-hook-form to v7.0.0 for React Router 7 compatibility
…hook for URL state management
…r for data fetching
…n handling. Added skeleton row IDs for loading state and optimized filter logic in the toolbar. Updated imports for better type usage.
…and refactor storybook example. Updated to use DropdownMenuSelectItem for rendering options and improved play function for better interaction testing.
…act-router Replace nuqs with React Router 7 features in data table component
Implement Data Table Component with ShadCN and TanStack (LC-187)
- Migrate to latest React Router and React version - Upgrade to ShadCN tailwind V4 - Optimize dependencies (move remix-router to dev dependencies) - Update Storybook configurations and documentation - Improve component customization support - Enhanced radio group component styling
- Migrate to latest React Router and React version - Upgrade to ShadCN tailwind V4 - Optimize dependencies (move remix-router to dev dependencies) - Update Storybook configurations and documentation - Improve component customization support - Enhanced radio group component styling
- Migrate to latest React Router and React version - Upgrade to ShadCN tailwind V4 - Optimize dependencies (move remix-router to dev dependencies) - Update Storybook configurations and documentation - Improve component customization support - Enhanced radio group component styling
- Migrate to latest React Router and React version - Upgrade to ShadCN tailwind V4 - Optimize dependencies (move remix-router to dev dependencies) - Update Storybook configurations and documentation - Improve component customization support - Enhanced radio group component styling
… story assertions - Changed date validation in form schema to use z.coerce.date for better handling of date inputs. - Added assertion to check for the presence of submission confirmation text in the story.
Description
This PR migrates the LambdaCurry/forms repository to ShadCN tailwind V4 as specified in LC-173.
Changes Made
Updated Tailwind CSS to V4
darkMode: ['class']todarkMode: 'class'in tailwind configUpdated CSS variables to use the new
@themedirective@themedirective:rootto@layer base { @theme { ... } }Removed
forwardRefusage and addeddata-slotattributesdata-slotattributes to components for better styling controlUpdated component styling
Components Updated
Testing
All components should maintain their existing functionality while being compatible with Tailwind CSS V4.
Related Issues
Resolves LC-173