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

refactor(ui5-checkbox): wrap text by default #9165

Merged
merged 5 commits into from
Jun 14, 2024
Merged

Conversation

yanaminkova
Copy link
Member

@yanaminkova yanaminkova commented Jun 10, 2024

The text of ui5-checkbox now wraps by default.

BREAKING CHANGE: wrapping-type property default value has changed from None to Normal.
Before:

<ui5-checkbox text=Some very very very very long text"></ui5-checkbox><!-- would truncate the text if there is not enough space -->

Now:

<ui5-checkbox text=Some very very very very long text"></ui5-checkbox> <!-- would let the text wrap if there is not enough space -->

Related to #8461, #7887

packages/main/src/themes/CheckBox.css Outdated Show resolved Hide resolved
@yanaminkova yanaminkova requested a review from kgogov June 14, 2024 06:02
@yanaminkova yanaminkova merged commit ba1c583 into main Jun 14, 2024
10 checks passed
@yanaminkova yanaminkova deleted the ui5-cb-wrappingtype branch June 14, 2024 11:13
ilhan007 pushed a commit that referenced this pull request Jun 14, 2024
The text of `ui5-checkbox` now wraps by default.

BREAKING CHANGE: `wrapping-type` property default value has changed from `None` to `Normal`.
Before: 
```html
<ui5-checkbox text=Some very very very very long text"></ui5-checkbox><!-- would truncate the text if there is not enough space -->
```

Now:
```html
<ui5-checkbox text=Some very very very very long text"></ui5-checkbox> <!-- would let the text wrap if there is not enough space -->
```

Related to #8461, #7887
kgogov pushed a commit that referenced this pull request Jun 17, 2024
The text of `ui5-checkbox` now wraps by default.

BREAKING CHANGE: `wrapping-type` property default value has changed from `None` to `Normal`.
Before: 
```html
<ui5-checkbox text=Some very very very very long text"></ui5-checkbox><!-- would truncate the text if there is not enough space -->
```

Now:
```html
<ui5-checkbox text=Some very very very very long text"></ui5-checkbox> <!-- would let the text wrap if there is not enough space -->
```

Related to #8461, #7887
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants