vmware-clarity / core

Clarity is a scalable, accessible, customizable, open-source design system built with web components. Works with any JavaScript framework, created for enterprises, and designed to be inclusive.
https://clarity.design
MIT License
164 stars 42 forks source link

feat: remove `@clr/ui` shim (moving it to the `@clr/ui` package) #210

Closed kevinbuhmann closed 1 year ago

kevinbuhmann commented 1 year ago

This commit removes the shim from @cds/core.

We are moving the shim to the @clr/ui package to allow both to be evolved together. Otherwise, changes to the custom property API exposed by @clr/ui will require changes in a separate package (and separate repo). This would cause version synchronization difficulties.

This change is technically a breaking one, but we are making an exception to semver for this change.

How to update:

The file path in applications should be updated as follows: '@cds/core/styles/shim.clr-ui.min.css' -> '@clr/ui/shim.cds-core.min.css'

That's it, just a simple find and replace.

github-actions[bot] commented 1 year ago

👋 @kevinbuhmann,

Thank you,

🤖 Clarity Release Bot

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 6.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 1 year ago

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed PRs after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.