carbon-design-system / carbon-components-vue

Vue implementation of the Carbon Design System
http://vue.carbondesignsystem.com
Apache License 2.0
597 stars 176 forks source link

Improve date picker story #1566

Open davidnixon opened 5 months ago

davidnixon commented 5 months ago

Add stories to illustrate how to the the flatpickr options The date picker derives from flatpickr so any of the options there can be added to the component via the calOptions param.

### Tasks
- [x] Add story illustrating the max/min date
- [ ] Add a second story related to calOptions. Any of `showMonths`, `monthSelectorType`, or `hourIncrement` (time picker) would be great.
- [x] Add to docs area of data picker and time picker a link to the flatpickr options. Include a hint of what options may not be applicable. For example, I'm not sure if the events like `onReady` work with Carbon. Maybe `position` and `prevArrow` work? Not sure.
github-actions[bot] commented 2 weeks ago

This issue has been marked as stale because it has required additional info or a response from the author for over 14 days. When you get the chance, please comment with the additional info requested. Otherwise, this issue will be closed in 14 days.