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

feat: WarekiPicker を追加 #5196

Merged
merged 3 commits into from
Dec 19, 2024
Merged

feat: WarekiPicker を追加 #5196

merged 3 commits into from
Dec 19, 2024

Conversation

uknmr
Copy link
Collaborator

@uknmr uknmr commented Dec 16, 2024

関連URL

https://smarthr.atlassian.net/browse/SHRUI-1000

概要

DatePicker を和暦に特化させた WarekiPicker を追加しました(厳密に言えば Wareki を pick するわけではない)。
合わせて DatePicker / DateTimeLocalPicker / MonthPicker / TimePicker などを非推奨とし、<Input type="{date | datetime-local | month | time" /> を使うように促します。

変更内容

  • DatePicker を deprecated
  • DatePicker の showAlternative で和暦を表示するコンポーネントを WarekiPicker として追加
  • DateTimeLocalPicker / MonthPicker / TimePicker を deprecated
  • Input の Story の type を拡充

確認方法

Storybook や Chromatic で確認してください。

@uknmr uknmr requested a review from a team as a code owner December 16, 2024 06:55
@uknmr uknmr requested review from yt-ymmt and nabeliwo and removed request for a team December 16, 2024 06:55
Copy link

pkg-pr-new bot commented Dec 16, 2024

Open in Stackblitz

npm i https://pkg.pr.new/kufu/smarthr-ui@5196

commit: 43afe74

Copy link
Contributor

@yt-ymmt yt-ymmt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

良さそうでした!

@uknmr uknmr merged commit 30ea4bf into master Dec 19, 2024
13 checks passed
@uknmr uknmr deleted the add-WarekiPicker branch December 19, 2024 11:45
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.

2 participants