PromucFlow_constructor/app/client/src/layoutSystems/common
Valera Melnikov ba6262ffe6
chore: widgets alignment (#31923)
## Description
Plenty changes related to widgets alignment 
1. Paragraph, button, inputs, single checkbox and switch widgets are
aligned along the baseline of the text content
2. The icons in the buttons and the single checkbox and switch are now
positioned absolutely so as not to affect the height of the components.
The height of the components now depends on text content.
3. All unnecessary paddings and borders in the layout have been removed:
- Canvas padding: `--outer-spacing-4`
- Gap between sections and zones: `--outer-spacing-4`
- Zone padding: `--outer-spacing-3`
- Gap between widgets: `--outer-spacing-3`
4. In widget selection styles replace `border` with `outline`, since the
`outline` one does not take space.
5. Add Changes to the flex-basis calculation method. Now the gap between
the zones is taken into account there.
6. Add a lot of small fixes related to the changes described above.


https://github.com/appsmithorg/appsmith/assets/11555074/b7c220eb-3e27-4039-9c15-6281bafe8008

Fixes #29364

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!IMPORTANT]  
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/8375537665>
> Commit: `f85b63c0a49f30b9762379c2f8c3bd38c7a8355f`
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8375537665&attempt=2"
target="_blank">Click here!</a>
> All cypress tests have passed 🎉🎉🎉

<!-- end of auto-generated comment: Cypress test results  -->




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

## Summary by CodeRabbit

- **New Features**
	- Improved handling of CSS variable values in Flex components.
- Enhanced styling and layout configurations for a better user
experience.
- **Bug Fixes**
- Fixed label positioning and styling issues in Checkbox and Switch
components.
	- Adjusted padding, margin, and sizing for consistency and alignment.
- **Refactor**
- Enhanced flex layout handling and space distribution logic for
improved layout flexibility.
- **Style**
	- Updated component styles for refined user interface aesthetics.
- **Chores**
- Updated feature flags and configurations for widgets and components to
enable new functionalities.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-03-22 16:53:29 +03:00
..
canvasArenas fix: Anvil Bug fixes for R1 (#31066) 2024-02-27 10:11:55 +05:30
canvasViewer chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
draggable chore: Block Selections when Canvas is in Side by Side mode (#31587) 2024-03-13 11:53:49 +05:30
dropTarget chore: Block Selections when Canvas is in Side by Side mode (#31587) 2024-03-13 11:53:49 +05:30
DSLConversions chore: Update DSL for Anvil (#27966) 2023-10-19 20:50:17 +05:30
mainContainerResizer fix: fixing canvas resizer jumps when a keydown event happens in preview mode. (#31578) 2024-03-07 16:02:10 +05:30
modalOverlay fix: Modal overlay crop issue (#31375) 2024-03-01 14:27:50 +05:30
resizer chore: Block Selections when Canvas is in Side by Side mode (#31587) 2024-03-13 11:53:49 +05:30
snipeable chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
utils feat: WDS - Anvil compatible Modal Widget (#30351) 2024-01-26 09:30:57 +05:30
widgetComponent chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
widgetName chore: Block Selections when Canvas is in Side by Side mode (#31587) 2024-03-13 11:53:49 +05:30
WidgetNamesCanvas chore: widgets alignment (#31923) 2024-03-22 16:53:29 +03:00
selectors.ts fix: Fix widget name canvas issues (#28314) 2023-10-25 11:10:43 +05:30
types.ts chore: register offset values as per parent drop target in Anvil (#28757) 2023-11-15 18:02:12 +05:30
useLayoutSystemFeatures.ts chore: clean up space distribution feature in Anvil (#31468) 2024-03-06 12:59:44 +05:30