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

feat(OnyxSelect, OnyxRadioGroup, OnyxCheckboxGroup): Implement truncation on higher level #1541

Merged
merged 7 commits into from
Jul 10, 2024

Conversation

MajaZarkova
Copy link
Contributor

@MajaZarkova MajaZarkova commented Jul 10, 2024

Relates to #1539

Up until now the truncation property was on option-level only for OnyxSelect, OnyxRadioGroup and OnyxCheckboxGroup. The user had to set the property for each option separately. In this PR, the truncation property is added to the grouped component too, so that the user can set the truncation only once for every option. This property is used only as a fallback if the truncation is not set on option-level.

Checklist

  • A changeset is added with npx changeset add if your changes should be released as npm package (because they affect the library usage)

@MajaZarkova MajaZarkova requested a review from a team as a code owner July 10, 2024 08:32
Copy link

changeset-bot bot commented Jul 10, 2024

🦋 Changeset detected

Latest commit: 261ccbe

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

This PR includes changesets to release 7 packages
Name Type
sit-onyx Minor
demo-app Patch
playground Patch
@sit-onyx/chartjs-plugin Major
@sit-onyx/nuxt Major
@sit-onyx/storybook-utils Major
@sit-onyx/vitepress-theme 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

@BoppLi BoppLi self-assigned this Jul 10, 2024
This is an auto-generated pull request. All Playwright screenshots have
been updated.

Co-authored-by: MajaZarkova <[email protected]>
BoppLi

This comment was marked as outdated.

@MajaZarkova MajaZarkova merged commit 67a5e50 into main Jul 10, 2024
19 checks passed
@MajaZarkova MajaZarkova deleted the feat/1539-Implement-truncation-on-higher-level branch July 10, 2024 12:55
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