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

[DatePicker] Component #331

Closed
MichalPaszowski opened this issue Jun 24, 2022 · 1 comment · Fixed by #300
Closed

[DatePicker] Component #331

MichalPaszowski opened this issue Jun 24, 2022 · 1 comment · Fixed by #300
Assignees
Labels
feature New feature or request

Comments

@MichalPaszowski
Copy link
Contributor

MichalPaszowski commented Jun 24, 2022

Description

The DatePicker component under the hood uses the react-day-picker library. It has some LiveChat custom styles. You can check it out in official docs: http://react-day-picker.js.org.

Continuation of open contribution by Kamil Mateusiak [Move Date picker to a new repository DS-165 · Issue #284 · livechat/design-system](#284)

Design

https://www.figma.com/file/2pFu80PXO5A2tfyrAGnx91/Product-Components?node-id=4462%3A36608

@MichalPaszowski MichalPaszowski moved this to Selected for Development in LiveChat Design System Jun 24, 2022
@MichalPaszowski MichalPaszowski added the feature New feature or request label Jun 24, 2022
@MichalPaszowski MichalPaszowski self-assigned this Jun 24, 2022
@MichalPaszowski MichalPaszowski added this to the v1.0.0 milestone Jun 24, 2022
@sgraczyk sgraczyk changed the title Date picker Date picker component Jun 27, 2022
@MichalPaszowski MichalPaszowski moved this from Selected for Development to In Progress in LiveChat Design System Jun 27, 2022
@sgraczyk sgraczyk changed the title Date picker component [DatePicker] Component Jul 1, 2022
@sgraczyk sgraczyk linked a pull request Jul 20, 2022 that will close this issue
MichalPaszowski added a commit that referenced this issue Aug 26, 2022
* feat(Datepicker): component setup

* docs(Datepicker): adding more stories

* feat(Datepicker): using color tokens, improving styles

* feat(DatePicker): adding RangeDatePicker

* style(DatePicker): removing leftovers, fixing border-radius styles

* fix(DatePicker): handle initial dates in props change

* fix(DatePicker): fixing types in DatePicker stories

* fix(DatePicker): fix state update on props change in DatePicker component

* fix(DatePicker): fix import in story

* refactor(DatePicker): removing props that are injected by datepicker itself

* refactor(DatePicker): fixing injected props

* test(DatePicker): adding basic tests for DatePicker

* fix(DatePicker): using css variables in styles

* Link + Button as a Link & Link as a Button (#295)

* Popover (#298)

* accomodate datepicker for vite

* styles are no more

* moved stories

* lockfile conflicts

* misplaced file

* styles

* misplaced file

* package lock

* package-lock

* Update test to avoid timezone issues.

* target first and last cell

* range picker start end modifiers

* pr fixes

* rangedatepicker test

* simplifying helpers

* folder rename step 1

* folder rename step 2

* messed up year change

* removed classnames

* importing only whats necesary

* navbar buttons wrap

* move css to common namespace

* package lock update

* component export

Co-authored-by: kamilmateusiak <kamil.mateusiak@swing.dev>
Co-authored-by: Michal Paszowski <m.paszowski@livechatinc.com>
Co-authored-by: Michal Paszowski <michal.paszowski@gmail.com>
Co-authored-by: Szymon Graczyk <s.graczyk@livechat.com>
@MichalPaszowski MichalPaszowski moved this from In Progress to Done in LiveChat Design System Aug 26, 2022
@sgraczyk
Copy link

Released in v1.0.0-alpha.21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants