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: New Dialog component and tickGap prop #902

Merged
merged 12 commits into from Jan 11, 2024
Merged

feat: New Dialog component and tickGap prop #902

merged 12 commits into from Jan 11, 2024

Conversation

severinlandolt
Copy link
Member

@severinlandolt severinlandolt commented Jan 11, 2024

Description

This PR adds:

  • A new Dialog component
  • A tickGap prop to all charts
  • Tracker now supports custom colors

This PR improves:

  • Removed the internal Tailwind CSS mapping
  • General Icon overhaul (Remix Icon)

Related issue(s)

Closes #830
Closes #811
Closes #84

What kind of change does this PR introduce? (check at least one)

  • Bug fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • New Feature (BREAKING CHANGE which adds functionality)
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

How has this been tested?

Storybook

Screenshots (if appropriate):

The PR fulfils these requirements:

  • It's submitted to the main branch
  • When resolving a specific issue, it's referenced in the related issue section above
  • My change requires a change to the documentation. (Managed by Tremor Team)
  • I have added tests to cover my changes
  • Check the "Allow edits from maintainers" option while creating your PR.
  • Add refs #XXX or fixes #XXX to the related issue section if your PR refers to or fixes an issue.
  • By contributing to Tremor, you confirm that you have read and agreed to Tremor's CONTRIBUTING.md guideline. You also agree that your contributions will be licensed under the Apache License 2.0 license.

mbauchet and others added 12 commits January 6, 2024 00:11
* add custom colors for tracker

---------

Co-authored-by: Maxime BAUCHET <maxime.bauchet@insystem.fr>
* Added min tick gap prop
* remove fontSize and fontWeight

* Update index.ts

* chore: remove lib style shape (#893)

* Remove lib style shape (border)

* chore: remove lib style sizing (#892)

* remove lib style sizing (height and width)

* remove lib style spacing (px and py) (#891)
* feat: Dialog Component (#886)

* basic dialog component

---------

Co-authored-by: severinlandolt <sev.landolt@gmail.com>
Co-authored-by: christopherkindl <53372002+christopherkindl@users.noreply.github.com>

* Update README.md

* Update dialog

* fix: dialog story

* fix: add max-w default to panel

* fix: classify background as theme token

---------

Co-authored-by: Touha Zohair <39002455+touha98@users.noreply.github.com>
Co-authored-by: christopherkindl <53372002+christopherkindl@users.noreply.github.com>
* update tailwind packages

* fix: <Dialog /> role prop for headlessui version 1.7.18 (#900)

* basic dialog component

* export dialog

* separate root element

* dialogpanel componenet

* export dialogpanel component

* Refactor DialogPanel styles

* Refactor dialog display class name

* Fix export  Dialog to DialogPanel

* Update Dialog and DialogPanel styles

* overlayClassName

* transition added

* refactot style

* Dialog panel default text color set

* dialog story added

* Panel ring added

* unit testing dialog component

* overlay bg updated

* dialog border removed

* export Dialog component from layout elements

* refactor imports

* Update import for Dialog components

* Story fixes

* add: styling

* Add role prop to Dialog component.

* lint

---------

Co-authored-by: severinlandolt <sev.landolt@gmail.com>
Co-authored-by: christopherkindl <53372002+christopherkindl@users.noreply.github.com>
Co-authored-by: Severin Landolt <41927988+severinlandolt@users.noreply.github.com>

---------

Co-authored-by: Touha Zohair <39002455+iamtouha@users.noreply.github.com>
Co-authored-by: christopherkindl <53372002+christopherkindl@users.noreply.github.com>
Copy link

vercel bot commented Jan 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
tremor-storybook ✅ Ready (Inspect) Visit Preview Jan 11, 2024 5:15pm

@severinlandolt severinlandolt requested review from mitrotasios and christopherkindl and removed request for mitrotasios January 11, 2024 17:16
@severinlandolt severinlandolt merged commit 24bfbcb into main Jan 11, 2024
7 checks passed
Copy link

🎉 This PR is included in version 3.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: <Dialog /> component [Feature]: Add Dialog Component Tracker colours not fully available
3 participants