PromucFlow_constructor/app/client/packages
Valera Melnikov 351acde961
fix: add break-word rule for text widgets (#35046)
## Description
Fix text wrapping into paragraph and heading widgets

## Automation

/ok-to-test tags="@tag.Anvil"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10047055173>
> Commit: d0f7b27b1f329f3293ea20dc548f076e967874b4
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10047055173&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Anvil`
> Spec:
> <hr>Mon, 22 Jul 2024 19:49:10 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **New Features**
- Introduced a new `wordBreak` property to the text component for
improved control over text wrapping and overflow.
- Enhanced the `WDSParagraphWidget` to utilize the new `wordBreak`
property, improving text layout and readability.

- **Bug Fixes**
- Corrected a typo in documentation for the `TextProps` interface to
enhance clarity.

- **Style**
- Modified CSS styles affecting text overflow behavior, enabling better
customization and responsive design.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-22 22:50:02 +03:00
..
ast chore: Compute default value for jsaction params (#34708) 2024-07-15 21:01:42 +05:30
design-system fix: add break-word rule for text widgets (#35046) 2024-07-22 22:50:02 +03:00
dsl fix: Updated the label for the "Auto play" property in the Audio Widget to "Autoplay" (#31668) 2024-03-19 11:56:45 +05:30
icons fix: Anvil drag preview for section widget (#33198) 2024-05-07 16:35:38 +05:30
rts chore: bump socket.io from 4.6.1 to 4.6.2 in /app/client (#34350) 2024-06-20 16:25:38 +05:30
storybook chore: remove headless radio and use react-aria component instead (#34312) 2024-06-19 11:08:42 +03:00