-
Notifications
You must be signed in to change notification settings - Fork 75
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(input-date-picker, date-picker): improve date picking experience #8402
base: dev
Are you sure you want to change the base?
Conversation
Is the intention that these are separate public components? Or all housed within one public component? I know the native input can be |
Yeah, the idea is to have independent Concurrently, I am testing a different approach to use combobox for input-month-picker and input-year-picker (similar to input-time-zone) which seems promising but wouldn't work if we need to display two scroll bars one for month and one for year. I also dig the idea mentioned in the issue for input-month-picker which is more like a table with year at the top. It doesn't require two scroll bars. |
IMO, this approach is just an implementation of a Combobox, a user can already set something like that up. I'd think ours would be more custom picking experiences like the examples linked in the original issue / Material example (however the components are structured).
Agreed, I think that's more appropriate for a component offering. If it's just a Combobox, we're only setting up an existing component with a set of pre-configured options, not providing a unique selection experience. |
…picker when switching between input's
…vious month button when selecting endDate
Appreciate the feedback @macandcheese . Most of the design specs are updated regarding select menu width, spacing and chevron dimensions. Some of the items that might need discussion: Hover state for select menu. Current we do not have a hover state styles for
Regarding above, i agree this can be misleading. In the current build while using keyboard, we preserve the highlighted color for the day and add a border to indicate the current focused date. Does this sound like a good option to opt for mouse users as well?
I think this will help the user to understand the active date in a given month. Without the indication, it is hard to guess atleast for the keyboard users which day will be focused when tabbing. Alternate could be focusing first day of the month without the visual grey representation for month-year which are non-current. Thoughts? cc @SkyeSeitz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a11y-wise this is good to go - working great with JAWS and via keyboard. Nice work, @anveshmekala!! ✨
This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions. |
Related Issue: #3455
Summary
Update
calcite-date-picker
&calcite-input-date-picker
UI & UX.Key changes
Other issues resolved :
#9167
#6321
#6410
Wiki https://github.com/Esri/calcite-design-system/wiki/date%E2%80%90picker-enhancement-%238402