-
Notifications
You must be signed in to change notification settings - Fork 0
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(custom-date-picker): updated custom date, time, date range pickers w flatpickr #242
Conversation
…s major v upgrade
❌ Deploy Preview for shidoka-applications failed.
|
LGTM! Once QA approves, you can squash merge and include the |
Hi William, |
fixed the following:
attn: @brian-patrick-3 -- please see item 2 above and let me know your thoughts great work and thanks for your help @srpriyankashetty !! |
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.
- Verified the new Date picker, Date range picker and Time picker changes and looks good
- Verified that Required error message is displayed for all the pickers
- Verified the min max range for all the pickers
- Verified the range selections
- Verified that Storybook >> Forms has all the above listed picker
- Verified the date pickers and time pickers in Chrome, Edge and Firefox browser and looks fine
- Verified the time for 12hrs and 24hrs format
- Verified setting the locale and language changes in the calendar accordingly
Verified bugs list
Reset/clear button when a value is selected in all the pickers - Fixed
Multi select date picker is missing in the form page - Fixed
The label to 'Date / Time' must be changed to 'Date + Time' in form - Fixed
AM and PM is not changing based on the Locale set - set the time to 24hrs format
When there is Min and Max date range set, the year is not showing in the calendar. Also shows some arrows beside the month - Fixed
🎉 This PR is included in version 2.0.0-next.10 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* feat(custom-date-picker): updated custom date, time, date range pickers w flatpickr (#242) * feat(form components): dark mode for all form-related components * feat: numberInput, radioButton, toggleButton first pass * fix: checkbox color tokens (check: invalid and error message) * feat: quick token adjustment on skeleton loader gradient using new color tokens * fix: textArea, textInput * feat: additional styles, instantiate kyn-checkbox in dropdown multiple selection * fix: broken error icon in numberInput, begin radioButton token updates * fix: handleChange for radioButton now working as expected * fix: revert skeleton.scss, will handle in separate PR * feat: checkbox and radioButton refactored to match figma * fix: update dropdown, numberInput, toggleButton to match recent figma updates * feat: bring checkbox and radioButton up to date with figma file * fix: checkbox and dropdown updates * fix: use secondary-state-default for now * fix: reflect pushed token * fix: playwright updates, fix tests * fix: robert 25.11.2024 ready for dev updates * feat: update with new foundation next version, more checks * feat: refactor checkmark in checkbox to use single base64 * fix: toggle hover on focus styling
* feat(custom-date-picker): updated custom date, time, date range pickers w flatpickr (#242) * feat(date-time-picker): dark mode date time picker * fix: build, tests * fix: progressBar and @swc/core build test errors * fix: remove unnecessary @swc/core install * fix: merge in next fix * feat(date-time-picker): update to next-14, update tokens in flatpickr-theme * feat: match updated styles, better calendar positioning * fix: trim down flatpickr scss variables, match timepicker dimensions * fix: timepicker width, run analyze * fix: code review minor changes * fix: bug where multiple datepicker selections where not resetting clear icon * fix: update figma links, fix disabled date/range/time picker disabled bug * chore: analyze and update foundation * fix: test errors * fix: credit flatpickr in styling, reignite build * fix: minor patterns/forms checkbox label slot correction
* feat(custom-date-picker): updated custom date, time, date range pickers w flatpickr (#242) * feat(side drawer): dark mode side drawer * fix: build * fix: update rgba values with light-dark() * fix: correct light-dark implementation * chore: update figma link * fix: checkbox label slot * fix: box-shadow * fix: update backdrop pseudo class values * fix: consistent box-shadow * fix: remove unnecessary, repetitive backdrop styling * fix: code review updates * fix: add ~ to scss use * fix: new background and blur tokens * fix: update foundation, merge * fix: opacity token * fix: code review comments addressed, need to add manual blur token * fix: accessibility * fix: classMap import * fix: update foundation, update token * feat: implement new close btn styles, new mixin * feat: close-icon-btn mixin args --------- Co-authored-by: tulasigudibanda <[email protected]>
* feat(custom-date-picker): updated custom date, time, date range pickers w flatpickr (#242) * feat(side drawer): dark mode side drawer * fix: build * fix: update rgba values with light-dark() * fix: correct light-dark implementation * chore: update figma link * fix: checkbox label slot * fix: box-shadow * feat(code-view): dark mode token implementation * fix: system vs. property theme setting * feat: inlineCodeBlock theme prioritization, icon fix * fix: comment out tokens that are throwing accessibility errors, re-organize, alert UX * fix: update to code-view tokens, needs foundation update * fix: update, interpolation class * chore: update foundation * chore: run analyze * fix: ensure code-view background color, needs ux adjustment * fix: inline code view correcitons * fix: token replacement block code view * fix: remove sideDrawer file changes * chore: restore untouched files * fix: dont rely on constructor in inlineCodeView.ts * fix: separate color-scheme, darkTheme setting, prioritizing * feat: refactor copy, expand chevron buttons * fix: system theme detection * fix: mirror logic in inlineCodeView.ts * chore: cleanup * chore: remove console.logs * fix: match ux updates * fix: theming relying on built-in css * chore: update foundation v * chore: update packages * fix: shidoka code view bg * fix: update to new tertiary button for copy + expand
Summary
Refactors datepicker, timepicker, date range picker components, utilizing
flatpickr
third-party library.ADO Story or GitHub Issue Link
UI: Datepicker User Story
UI: Date/time range picker User Story
UI: Timepicker User Story
UI: Flatpickr theme User Story
Figma Link
https://www.figma.com/design/dhPuQQrqxHqMvtmnMMuTry/Santorini---Global-Filters?node-id=518-47488&node-type=frame&m=dev
Notes
primary considerations:
invalidText
To Do
dateTimePicker
,Date Time Picker
)Checklist
analyze
command to update Storybook docs.test
locally to address any failures.Screenshots