-
Notifications
You must be signed in to change notification settings - Fork 77
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
feat(input-date-picker, date-picker): improve date picking experience #8402
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
packages/calcite-components/src/components/date-picker/date-picker.scss
Outdated
Show resolved
Hide resolved
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. |
…orepo * origin/dev: build(deps): update typescript-eslint monorepo to v7.18.0 (#10593) feat(tile): add design tokens (#10476) deprecate: deprecate web-adaptor in favor of web-adapter (#10598) docs: update component READMEs (#10600) build(deps): update dependency @rollup/plugin-replace to v6 (#10604) chore: release main (#10597) ci(chromatic): build storybook even when skipping snapshots (#10589) build(deps): update dependency axe-core to v4.10.1 (#10566) ci: add calcite-ui-icons label to relevant package PRs (#10590) chore: release next feat: add buffer point, buffer polygon, buffer polyline, contour, offset (#10594) feat(input-date-picker, date-picker): improve date picking experience (#8402) chore: release next fix: updated web-adapter name (#10581) build(deps): update nrwl monorepo to v19.8.6 (#10575) build(deps): update dependency tsx to v4.19.1 (#10574) build(deps): update dependency @cspell/eslint-plugin to v8.15.4 (#10565)
…#8402) **Related Issue:** #3455, #10113 ## Summary Update `calcite-date-picker` & `calcite-input-date-picker` UI & UX.  ### Key changes - display two calendars for range irrespective of layout. - No longer switches focus from day to end input when startDate is selected initially. - Month selection is possible via select menu - No longer positions the date-picker component relative to endInput when endInput is focused in range. - Dates from previous months are not visible in range calendar. - Divider indicator icons are removed in horizontal layout for range in input-date-picker. - No longer uses chevron icon which indicate the open status of input-date-picker in startInput field. Other issues resolved : #6321 #6410 #10301 #10291 #10113 #10243 #10490 Blocked issues: #9167 Wiki https://github.com/Esri/calcite-design-system/wiki/date%E2%80%90picker-enhancement-%238402
Related Issue: #3455
Summary
Update
calcite-date-picker
&calcite-input-date-picker
UI & UX.Key changes
Other issues resolved :
#6321
#6410
#10301
#10291
#10113
#10243
#10490
#10069
#9167
Wiki https://github.com/Esri/calcite-design-system/wiki/date%E2%80%90picker-enhancement-%238402