acl-services / paprika

🌶 A robust + accessible UI component library for React applications by Galvanize.
MIT License
54 stars 9 forks source link

feat(Input): FS-3082 Reset global CSS #1266

Closed DanilAgafonov closed 2 years ago

DanilAgafonov commented 2 years ago

Purpose 🚀

There is global styles on consumer side. These styles conflict with internal Input styles. To workaround it, we decided to introduce hasCSSReset prop. If consumer pass true then all: unset; will be applied.

Notes ✏️

Discussion: https://external-wegalvanize.slack.com/archives/CB3QRPDJ4/p1650379251374059

Updates 📦

If you have changed a component's source code (not stories, specs, or docs), before merging your branch run yarn changeset. This will prompt you to:

Storybook 📕

http://storybooks.highbond-s3.com/paprika/your-branch-name

Screenshots 📸

optional but highly recommended

References 🔗

relevant Jira ticket / GitHub issues

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: ad15a9320ed3b4191f334fb03bc74a3986a4408d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 13 packages | Name | Type | | --------------------------- | ----- | | @paprika/input | Minor | | @paprika/action-bar | Patch | | @paprika/copy-input | Patch | | @paprika/date-input | Patch | | @paprika/filter | Patch | | @paprika/inline-editors | Patch | | @paprika/list-box | Patch | | @paprika/search | Patch | | @paprika/time-picker | Patch | | @paprika/date-picker | Patch | | @paprika/date-range-picker | Patch | | @paprika/list-box-browser | Patch | | @paprika/list-box-with-tags | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR