big-design icon indicating copy to clipboard operation
big-design copied to clipboard

chore: expose the controls label for localization within Table

Open leeBigCommerce opened this issue 11 months ago • 1 comments
trafficstars

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

leeBigCommerce avatar Dec 09 '24 23:12 leeBigCommerce

🦋 Changeset detected

Latest commit: 9676518daefeb975d4d5ececd2807ed591b00ef3

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

changeset-bot[bot] avatar Dec 09 '24 23:12 changeset-bot[bot]