PromucFlow_constructor/app/client/packages/design-system/widgets/src
Pawan Kumar f41cf1232a
chore: fix onStateChange prop bug in sidebar (#37710)
/ok-to-test tags="@tag.Anvil"

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

## Summary by CodeRabbit

- **New Features**
- Introduced a new `ControlledStateSidebar` component for better
management of sidebar state.
- Added a new story, `WithControlledState`, to demonstrate the
`ControlledStateSidebar` functionality.

- **Bug Fixes**
- Improved the state update flow in the `SidebarProvider` for more
reliable state management.

- **Documentation**
- Enhanced organization of import statements in the sidebar stories for
better readability.
<!-- 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/12030926462>
> Commit: 20a4c3d9872aaf47a4344a25b1ef62d4b35695d0
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12030926462&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Anvil`
> Spec:
> <hr>Tue, 26 Nov 2024 13:11:30 UTC
<!-- end of auto-generated comment: Cypress test results  -->
2024-11-26 18:45:30 +05:30
..
components chore: fix onStateChange prop bug in sidebar (#37710) 2024-11-26 18:45:30 +05:30
hooks chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
scripts chore: remove filled icon style setting (#36300) 2024-09-13 15:02:14 +05:30
shared chore: refactor wds combobox component (#36286) 2024-09-17 10:59:01 +03:00
testing chore: add datepicker component (#37563) 2024-11-22 15:50:43 +05:30
utils chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
index.ts chore: add datepicker component (#37563) 2024-11-22 15:50:43 +05:30