PromucFlow_constructor/app/client/src/widgets/wds
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
..
WDSBaseInputWidget chore: add snapshots for input type widgets (#34436) 2024-06-27 10:51:28 +05:30
WDSButtonWidget chore: exclude button from tab order (#34099) 2024-06-11 11:18:18 +03:00
WDSCheckboxGroupWidget chore: add excludeFromTabOrder for wds widgets (#34361) 2024-06-20 15:51:59 +03:00
WDSCheckboxWidget chore: add excludeFromTabOrder for wds widgets (#34361) 2024-06-20 15:51:59 +03:00
WDSCurrencyInputWidget chore: add snapshots for input type widgets (#34436) 2024-06-27 10:51:28 +05:30
WDSHeadingWidget chore: add appsmith icon package (#32927) 2024-04-26 15:37:09 +03:00
WDSIconButtonWidget chore: add excludeFromTabOrder for wds widgets (#34361) 2024-06-20 15:51:59 +03:00
WDSInlineButtonsWidget chore: add excludeFromTabOrder for wds widgets (#34361) 2024-06-20 15:51:59 +03:00
WDSInputWidget chore: add snapshots for input type widgets (#34436) 2024-06-27 10:51:28 +05:30
WDSKeyValueWidget chore: add appsmith icon package (#32927) 2024-04-26 15:37:09 +03:00
WDSMenuButtonWidget chore: add excludeFromTabOrder for wds widgets (#34361) 2024-06-20 15:51:59 +03:00
WDSModalWidget fix: don't call modal onClose method in edit mode (#34432) 2024-06-24 13:58:50 +03:00
WDSParagraphWidget fix: add break-word rule for text widgets (#35046) 2024-07-22 22:50:02 +03:00
WDSPhoneInputWidget chore: add snapshots for input type widgets (#34436) 2024-06-27 10:51:28 +05:30
WDSRadioGroupWidget chore: remove headless radio and use react-aria component instead (#34312) 2024-06-19 11:08:42 +03:00
WDSStatsWidget chore: update wds icon component (#34950) 2024-07-22 11:56:07 +03:00
WDSSwitchGroupWidget fix: wds widgets (#34387) 2024-06-24 13:58:16 +03:00
WDSSwitchWidget chore: cypress snapshot types (#34722) 2024-07-09 12:06:59 +03:00
WDSTableWidget chore: cypress snapshot types (#34722) 2024-07-09 12:06:59 +03:00
WDSToolbarButtonsWidget chore: add excludeFromTabOrder for wds widgets (#34361) 2024-06-20 15:51:59 +03:00
constants.ts chore: stat widget polish (#33696) 2024-05-27 16:54:03 +00:00