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

Column: Add support for hide above/below breakpoint #1553

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

michaeltaranto
Copy link
Contributor

Introduce new hideAbove and hideBelow props on column for responsively hiding columns across breakpoint.

These props can be used either separately or in combination to optimise content display across different screen sizes.

EXAMPLE USAGE:

<Columns space="small">
  <Column>
    <Placeholder height={60} label="Always visible" />
  </Column>
  <Column hideBelow="tablet">
    <Placeholder height={60} label="Tablet and above" />
  </Column>
  <Column hideAbove="mobile">
    <Placeholder height={60} label="Mobile Only" />
  </Column>
</Columns>

@michaeltaranto michaeltaranto requested a review from a team as a code owner August 5, 2024 23:31
Copy link

changeset-bot bot commented Aug 5, 2024

🦋 Changeset detected

Latest commit: 3ecf5c5

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

This PR includes changesets to release 1 package
Name Type
braid-design-system Minor

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

@michaeltaranto michaeltaranto merged commit b40fdd3 into master Aug 6, 2024
6 checks passed
@michaeltaranto michaeltaranto deleted the column-hiding branch August 6, 2024 04:01
@seek-oss-ci seek-oss-ci mentioned this pull request Aug 6, 2024
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.

2 participants