PromucFlow_constructor/app/client/packages/design-system
Pawan Kumar bc52865548
chore: fix the WDS button widget click bug (#39874)
/ok-to-test tags="@tag.Anvil"

The WDS Button widget was firing onClick twice. This was because we were
sending onClick + onPress to the widget. And it was firing both. We
don't need onClick prop.

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

## Summary by CodeRabbit

- **New Features**
- Improved button click event handling for better integration with
verification features.
- Added styling changes to enhance text rendering within code blocks in
markdown content.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14036976365>
> Commit: 5343c7e3c9d721a2d4b0d0282ecff514855823ab
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14036976365&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Anvil`
> Spec:
> <hr>Mon, 24 Mar 2025 14:14:21 UTC
<!-- end of auto-generated comment: Cypress test results  -->
2025-03-25 10:18:20 +05:30
..
ads chore: git tag - add chevron menu to package editor (#39870) 2025-03-24 14:12:05 +05:30
ads-old chore: Eject CRA (#39264) 2025-02-14 14:24:41 +05:30
headless chore: Upgrade packages to resolve Dependabot issues (#39710) 2025-03-20 17:39:13 +05:30
theming chore: Adjust WDS icon stroke (#39881) 2025-03-24 14:19:59 +01:00
widgets chore: fix the WDS button widget click bug (#39874) 2025-03-25 10:18:20 +05:30
widgets-old fix: stop tooltip from overflowing out of view in preview and deployed mode. (#39159) 2025-02-24 12:36:54 +01:00