PromucFlow_constructor/app/client/packages/design-system/widgets
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
..
src chore: fix the WDS button widget click bug (#39874) 2025-03-25 10:18:20 +05:30
.eslintrc.json chore: move local dependency to packages (#23395) 2023-05-22 15:55:46 +03:00
jest.config.js chore: add rollup config for wds (#39397) 2025-02-27 16:05:52 +05:30
package.json chore: Upgrade packages to resolve Dependabot issues (#39710) 2025-03-20 17:39:13 +05:30
rollup.config.js chore: add rollup config for wds (#39397) 2025-02-27 16:05:52 +05:30
tsconfig.json