-
Notifications
You must be signed in to change notification settings - Fork 350
feat: add new DatePicker component #3139
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
base: master
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍(Review updated until commit b591816)Here are some key observations to aid the review process:
|
|
📦 Bundle Size Analysis ✅ No bundle size changes detected. Unchanged Components
📊 Summary:
|
CI Feedback 🧐A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
User description
https://monday.monday.com/boards/3532714909/pulses/4640584267
PR Type
Enhancement
Description
Add new DatePicker component using react-day-picker library
Support single date and date range selection modes
Include comprehensive styling with SCSS modules and range visualization
Add month/year dropdown selectors and navigation controls
Update bundle check scripts to include next components
Migrate legacy DatePicker stories to deprecated section
Diagram Walkthrough
File Walkthrough
14 files
Define DatePicker component prop typesExport DatePicker component and typesImplement date range manipulation utilitiesImplement main DatePicker component logicCreate header with month/year selectorsRender day content for range selection modeRender day content for single selection modeCreate context for hover state managementImplement hooks for months and years optionsStyle DatePicker with range and selection statesStyle header dropdowns and navigation buttonsExport DatePicker from next componentsAdd next components to bundle size trackingUpdate bundle comparison for next components2 files
Add module declarations for assetsFix path aliases for storybook configuration2 files
Test date range manipulation utilitiesTest DatePicker component functionality2 files
Add date-fns and react-day-picker dependenciesAdd date-fns dev dependency for documentation4 files
Update documentation for new DatePickerRewrite stories for new DatePicker componentCreate deprecated documentation for legacy DatePickerMove legacy DatePicker stories to deprecated section