-
Notifications
You must be signed in to change notification settings - Fork 0
feat: remove react-datepicker and add StackBlitz interactive examples #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Remove react-datepicker from optionalDependencies - Remove @types/react-datepicker from devDependencies - Delete unused AbsoluteDatePicker component - Remove react-datepicker CSS mock from vitest setup - Clean up 148 lines of unused datepicker CSS styles The project has already switched to text-based date inputs, making the React-DatePicker dependency unnecessary. This reduces bundle size and removes unused code. Closes #67
- Add main.tsx entry point for each example - Add vite.config.ts configuration - Add tsconfig.json and tsconfig.node.json - Add package.json to each example directory - Add index.html as the entry HTML file - Update example generator script to create all necessary files This ensures StackBlitz WebContainer can properly boot and run the examples. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Update StackBlitzExample component to use feat/remove-react-datepicker branch instead of main to ensure examples load correctly from the current branch. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
🚀 Demo Preview Ready! Preview URL: https://demo.rozich.net/ag-grid-react-components-pr-68/ This preview will be available for testing until the PR is merged or closed. |
- Add StackBlitzExample component to Examples section - Include examples for DateFilter, QuickFilterDropdown, and ActiveFilters - Add tips section for using StackBlitz examples - Each example opens a complete, working project in StackBlitz 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
🧹 Preview Deployment Cleaned Up The preview deployment for this PR has been removed. |
🧹 Preview Deployment Cleaned Up The preview deployment for this PR has been removed:
Thank you for your contribution! 🎉 |
Summary
This PR removes the unused React-DatePicker dependency and adds interactive StackBlitz examples to the documentation.
Changes
React-DatePicker Removal
react-datepicker
from optionalDependencies@types/react-datepicker
from devDependenciesAbsoluteDatePicker.tsx
componentStackBlitz Integration
scripts/create-stackblitz-examples.js
)Bundle Size Impact
Before:
After:
Result:
Interactive Examples
Users can now try components directly in their browser:
Testing
Closes #67