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: added TimePicker v1 #59

Merged
merged 9 commits into from
Oct 9, 2020
Merged

feat: added TimePicker v1 #59

merged 9 commits into from
Oct 9, 2020

Conversation

anuraghazra
Copy link
Contributor

Note: this is work in progress.

@netlify
Copy link

netlify bot commented Sep 28, 2020

Deploy preview for renderless-components ready!

Built with commit e741ec6

https://deploy-preview-59--renderless-components.netlify.app

anuraghazra and others added 5 commits September 29, 2020 16:22
* feat(time-picker): ✨  improve timepicker with segment

* fix(time-picker): 🐛  popover state usage & ts error with onchange

* refactor(time-picker): ♻️  add combobox aria with keyboard navigation

* refactor(time-picker): ♻️  move common types to utils

* refactor(time-picker): ♻️  rename segment-spinner to segment

* refactor(picker-base): ♻️  add picker base to date & time picker

* refactor(time-picker): ♻️  new timepicker state with much lesser code

* refactor(time-picker): ♻️  remove default value state & make utils

* refactor(types): 🏷️  update types for date,time & calendar

* refactor(types): 🏷️  arrange imports & update type comments

* refactor(time-picker): ♻️  add pickerbase trigger to datepicker

Also only accept string as value and return string in timepicker. Add storybook examples. Add
autofocus support.

* refactor(time-picker): ♻️  remove unused imports & useProps

* fix: picker base role to button

Co-authored-by: Anurag <[email protected]>
@navin-moorthy navin-moorthy self-requested a review October 9, 2020 13:10
@navin-moorthy navin-moorthy added the feature 🚀 Issue or PR that adds a feature or improvement label Oct 9, 2020
Copy link
Collaborator

@navin-moorthy navin-moorthy left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@anuraghazra anuraghazra changed the title feat: wip timepicker feat: added TimePicker v1 Oct 9, 2020
@anuraghazra anuraghazra merged commit 7295695 into master Oct 9, 2020
@navin-moorthy navin-moorthy deleted the timepicker branch October 12, 2020 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🚀 Issue or PR that adds a feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants