Skip to content

feat(table): Add selection-display property #9355

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

Merged
merged 4 commits into from
May 17, 2024

Conversation

macandcheese
Copy link
Contributor

Related Issue: #9353

Summary

This adds a selectionDisplay property to Table. It defaults to "top" (the current behavior), and adds a "none" option. This will hide all selection chips and clearance affordances. It will also hide any slotted content in selection-actions slot, which is noted in the doc.

We've planned on adding further customization ability to this selection mode UI (make it sticky, floating on bottom, etc.), and that can still occur as planned #8914, by adding values to this new property.

@macandcheese macandcheese requested a review from a team as a code owner May 16, 2024 18:46
@macandcheese macandcheese added figma changes Issues that require additions or updates to the Figma UI Kit where no `design` label exists pr ready for visual snapshots Adding this label will run visual snapshot testing. labels May 16, 2024
@github-actions github-actions bot added the enhancement Issues tied to a new feature or request. label May 16, 2024
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨
✨🏓✨✨✨🏓✨✨🏓🏓✨✨🏓🏓🏓✨✨🏓🏓🏓✨🏓🏓🏓🏓✨
✨🏓🏓✨✨🏓✨🏓✨✨🏓✨✨🏓✨✨🏓✨✨✨✨🏓✨✨✨✨
✨🏓✨🏓✨🏓✨🏓✨✨🏓✨✨🏓✨✨🏓✨✨✨✨🏓🏓🏓✨✨
✨🏓✨✨🏓🏓✨🏓✨✨🏓✨✨🏓✨✨🏓✨✨✨✨🏓✨✨✨✨
✨🏓✨✨✨🏓✨✨🏓🏓✨✨🏓🏓🏓✨✨🏓🏓🏓✨🏓🏓🏓🏓✨
✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨

@macandcheese macandcheese merged commit 7b52870 into main May 17, 2024
9 checks passed
@macandcheese macandcheese deleted the macandcheese/9353-table-selection-display branch May 17, 2024 18:16
benelan added a commit that referenced this pull request May 17, 2024
…otfix-release

* origin/main:
  chore: release next
  feat(table): Add `selection-display` property (#9355)
  refactor(dropdown-item):  remove unused css classes (#9349)
  chore: release next
  feat(dropdown-item): update spacing of icons (#9330)
  chore: release next
  feat(flow-item): add content-top slot (#9344)
  chore: release next
  feat(flow-item): add content-bottom slot (#9346)
  chore: release next
  fix(input, input-number, input-text): ensure autofocus is available on HTMLElement (#9343) (#9347)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues tied to a new feature or request. figma changes Issues that require additions or updates to the Figma UI Kit where no `design` label exists pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants