-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAY-932] Remove Moment Packages and Update Date Picker's Quick Pick…
… Variants (#2707) **What does this PR do?** - [Runway](https://nitro.powerhrg.com/runway/backlog_items/PLAY-932) - Remove `moment` packages and usage within `quickPick.tsx` and `date_picker.test.js` - `ESLint`: Remove "moment" as restricted global variable - Create implementations of the date range functionality that `moment` used to provide: - ex. Yesterday, This Week, This Quarter, Last Week, ...and so on **How to test?** Steps to confirm the desired behavior: 1. Go to the docs page 2. Go to the Date Picker kit and test both Quick Pick variants #### Checklist: - [X] **LABELS** Add a label: `enhancement`, `bug`, `improvement`, `new kit`, `deprecated`, or `breaking`. See [Changelog & Labels](https://github.com/powerhome/playbook/wiki/Changelog-&-Labels) for details. - [X] **DEPLOY** I have added the `milano` label to show I'm ready for a review. - [X] **TESTS** I have added test coverage to my code. --------- Co-authored-by: Nida Ghuman <[email protected]>
- Loading branch information
Showing
6 changed files
with
268 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.