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

chore: expose the controls label for localization within Table #1603

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

leeBigCommerce
Copy link
Contributor

@leeBigCommerce leeBigCommerce commented Dec 9, 2024

What?

  • Exposes a controlsLabel within the localization options of Table
  • Loosens the localization definition

Why?

  • Table Control was previous hardcoded and uneditable
  • Loosening the localization definition is backwards compatible and allows clients to localize as much, or as little, of the texts as they wish

N.B. controlsLabel is a non-visible, accessibility only label which surrounds the pagination and limit actions

Screenshots/Screen Recordings

This is a component library so we love visually looking at changes! If this applies to your pull request, show us your hard work in action.

Testing/Proof

  • Passing existing tests

Copy link

changeset-bot bot commented Dec 9, 2024

🦋 Changeset detected

Latest commit: 141650b

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

This PR includes changesets to release 3 packages
Name Type
@bigcommerce/big-design Minor
@bigcommerce/docs Minor
@bigcommerce/big-design-patterns Major

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

@leeBigCommerce leeBigCommerce force-pushed the ORDERS-6678-table-controls-label branch from 86a64e2 to 58275c3 Compare December 10, 2024 00:03
@leeBigCommerce leeBigCommerce force-pushed the ORDERS-6678-table-controls-label branch from 58275c3 to 141650b Compare December 10, 2024 00:04
@leeBigCommerce leeBigCommerce marked this pull request as ready for review December 10, 2024 00:05
@leeBigCommerce leeBigCommerce requested review from a team as code owners December 10, 2024 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants