Skip to content
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: added segment component #71

Merged
merged 3 commits into from
Oct 7, 2020
Merged

feat: added segment component #71

merged 3 commits into from
Oct 7, 2020

Conversation

anuraghazra
Copy link
Contributor

Extracted and isolated date segment component to make it more generic and reusable.

We will implement the Segment component to calendar component after merging #70

And this PR should be merged to datepicker-v2 branch #58

@anuraghazra anuraghazra changed the base branch from master to datepicker-v2 October 5, 2020 13:06
@netlify
Copy link

netlify bot commented Oct 5, 2020

Deploy preview for renderless-components ready!

Built with commit 0c8d022

https://deploy-preview-71--renderless-components.netlify.app

@navin-moorthy
Copy link
Collaborator

See my DatePicker V3 branch for all the fixes directly I did yesterday.
We can merge this branch after merging my branch my and branch and cross-reference it.

@anuraghazra anuraghazra merged commit e6802c7 into datepicker-v2 Oct 7, 2020
anuraghazra added a commit that referenced this pull request Oct 7, 2020
* chore: wip datepicker

* chore: wip style fixes

* feat: wip added datepicker

* chore: focus on current date on datepicker toggle

* chore: minor refactors

* fix: datepicker disclosure focus restore not working

* refactor: refactored duplicate calendar component

* feat: added Tab behaviour in datepicker spinbuttons composite

* fix: ensure tabIndex 0

* feat: alt arrowdown to open dropdown

* refactor: reorganized & refactored code

* fix: datepicker on open focus on selected date

* chore: fixed calendar types & dateSegment composite spread

* feat: datepicker v3 (#70)

* refactor(datepicker): ♻️  organize imports and improve code flow

* feat(datepicker): ✨  add controllable date picker

* refactor(date-picker): ♻️  bring popover close focus back

* fix(date-picker): 🐛  fix focus spin button on focus

* fix(date-picker): 🐛  fix outside click moving focus to button

* refactor(date-picker): ♻️  arrange imports

* refactor(date-picker): 🏷️  update types for Date Segment

* fix(date-picker): 🐛  fix focus movements

* fix(date-picker): 🐛  fix focus & date values

* fix: calendar day value lag & few css improvements

Co-authored-by: Anurag <[email protected]>

* fix: range calendar start date iso timing lag

* chore: datepicker stories improvements (#72)

* refactor(date-picker): ♻️  added more stories

* refactor(date-picker): ♻️  add disabled styles

* feat: added segment component (#71)

* feat: added Segment component

* refactor: review updates & segment aria label fix

* chore: event listener rename

* feat: added Segment component to DatePicker

* fix: datepicker propagation

* refactor: unified DateValue type import & removed extra composite in DatePickerState

* chore: fieldvalue fix

* chore: removed DOMProps

* test: css ignore tests

Co-authored-by: Navin Moorthy <[email protected]>
@navin-moorthy navin-moorthy deleted the segment-v1 branch October 8, 2020 07:04
@anuraghazra anuraghazra added the feature 🚀 Issue or PR that adds a feature or improvement label Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🚀 Issue or PR that adds a feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants