Skip to content
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

Bug fixing for Calendar components and some new features #214

Merged
merged 10 commits into from
Dec 18, 2023

Conversation

travor20814
Copy link
Collaborator

影響範圍:使用到 Calendar 的元件(DatePicker, DateTimePicker, DateRangePicker)

  • 增加 disabledMonthSwitch, disabledYearSwitch,現在可以控制要不要將月份/年份按鈕 disabled
  • 修正 isWeekDisabled 沒有正確傳入的 bug 及其 typings
  • 現在傳入 isYearDisabled, isMonthDisabled 會同步套用到他的子集,修正 issue [Bug] DateRangePicker should apply isYearDisabled (only work for mode="year" currently) #213
    • 在 mode="month" 下,會同步受到 isYearDisabled 影響
    • 在 mode="week" 下,會同步受到 isYearDisabled, isMonthDisabled 影響
    • 在 mode="day" 下,會同步受到 isYearDisabled, isMonthDisabled 影響
  • 修正 storybook examples

@travor20814 travor20814 merged commit 1d94f1f into main Dec 18, 2023
2 checks passed
@travor20814 travor20814 deleted the refactor/date-picker branch December 18, 2023 06:54
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