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

refa: improve <Container> and <Breakout> component #4330

Draft
wants to merge 37 commits into
base: main
Choose a base branch
from

Conversation

sebald
Copy link
Member

@sebald sebald commented Dec 5, 2024

Description

Warning

This PR includes breaking changes, because we removed and changed a lot ot the props API of <Container> and <Breakout>. The <Container> now only works with <Text> and <Headline> component. This allows for a smoother developer experience and prevents suprises.

Make the <Container> and <Breakout> component more usable for real world scenarios.

  • <Container> supporst space style prop
  • simplify <Container> usage by removing unnecessary props
  • simplify ´` and make it composable with other layout components
  • make <Text> and <Headline> adhere to a <Container> content length

Reviewers:

@marigold-ui/developer
@marigold-ui/designer

Copy link

changeset-bot bot commented Dec 5, 2024

🦋 Changeset detected

Latest commit: 8afb3ec

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

This PR includes changesets to release 9 packages
Name Type
@marigold/docs Major
@marigold/components Major
@marigold/storybook-config Patch
@marigold/theme-b2b Patch
@marigold/theme-core Patch
@marigold/theme-docs Patch
@marigold/system Major
@marigold/icons Patch
@marigold/theme-preset 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

Copy link

vercel bot commented Dec 5, 2024

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

Name Status Preview Comments Updated (UTC)
marigold-docs ✅ Ready (Inspect) Visit Preview 💬 1 unresolved
✅ 10 resolved
Jan 9, 2025 0:37am
marigold-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 9, 2025 0:37am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
marigold-production ⬜️ Ignored (Inspect) Visit Preview 💬 Add feedback Jan 9, 2025 0:37am

@github-actions github-actions bot added type:docs Improvements or additions to documentation type:feature New feature or component labels Dec 5, 2024
@sebald sebald marked this pull request as draft December 5, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 Breaking Change type:docs Improvements or additions to documentation type:feature New feature or component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants