Skip to content

feat(react): calendar enhancements and date-picker range mode#87

Merged
wangdicoder merged 7 commits intomasterfrom
feat/calendar-datepicker-enhancements
Apr 4, 2026
Merged

feat(react): calendar enhancements and date-picker range mode#87
wangdicoder merged 7 commits intomasterfrom
feat/calendar-datepicker-enhancements

Conversation

@wangdicoder
Copy link
Copy Markdown
Owner

Summary

  • Calendar: Add range selection, multiple selection, keyboard navigation (arrow keys, Enter, Escape), week numbers, valid range restriction, dot indicators, decade panel, card mode, and cellClassName/cellStyle customization
  • DatePicker: Add range mode with two-click date range selection, hover preview highlighting, and range display in input

Release

  • Bump type: minor
  • Affected packages: @tiny-design/react (tokens and icons will version together via fixed group)

Test plan

  • Verify Calendar basic date selection still works
  • Test range selection: click two dates to form a range, verify highlight
  • Test multiple selection: toggle dates on/off
  • Test keyboard navigation: arrow keys move focus, Enter selects, Escape clears
  • Test week numbers with showWeekNumber and weekStartsOn={1}
  • Test valid range: dates outside range are disabled, nav buttons disabled at boundaries
  • Test dot indicators with dotRender
  • Test decade panel: click title twice to navigate month → year → decade
  • Test card mode with fullscreen={false}
  • Test DatePicker range mode: select start and end dates
  • Test DatePicker range with disabledDate
  • Run pnpm test — all tests pass

🤖 Generated with Claude Code

Calendar: range selection, multiple selection, keyboard navigation,
week numbers, valid range, dot indicators, decade panel, card mode.
DatePicker: range mode with date range selection and preview highlighting.
@wangdicoder wangdicoder merged commit a0b3e45 into master Apr 4, 2026
1 check passed
@wangdicoder wangdicoder deleted the feat/calendar-datepicker-enhancements branch April 4, 2026 05:18
@github-actions github-actions bot mentioned this pull request Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant