strapi / design-system

Strapi.io's design system :rocket:
https://design-system.strapi.io
MIT License
472 stars 166 forks source link

enhancement: add xs size to status component #1801

Closed remidej closed 3 weeks ago

remidej commented 4 weeks ago

What does it do?

Adds a smaller XS variant to the Status component, in addition to the existing S and M versions

Why is it needed?

We need this size to apply the designs of the document status, for both history and preview features in the CMS

How to test it?

storybook link

changeset-bot[bot] commented 4 weeks ago

🦋 Changeset detected

Latest commit: 2dca53c4b781bdee0b36d8ffac41603debce9a94

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

This PR includes changesets to release 3 packages | Name | Type | | --------------------- | ----- | | @strapi/design-system | Patch | | @strapi/icons | Patch | | @strapi/ui-primitives | 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

vercel[bot] commented 4 weeks ago

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

Name Status Preview Comments Updated (UTC)
design-system ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 25, 2024 3:59pm
remidej commented 3 weeks ago

Couldn't this also just be a styled Status component in the CMS content-manager for the two current uses cases? I guess it doesn't hurt to do it here though 🎈

It seems a bit overkill but the Figma status does have 3 size variants so I don't think it hurts to align the 2