@elementor/editor-controls 0.25.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elementor/editor-controls",
3
3
  "description": "This package contains the controls model and utils for the Elementor editor",
4
- "version": "0.25.0",
4
+ "version": "0.26.0",
5
5
  "private": false,
6
6
  "author": "Elementor Team",
7
7
  "homepage": "https://elementor.com/",
@@ -142,7 +142,13 @@ export const Repeater = < T, >( {
142
142
 
143
143
  return (
144
144
  <SectionContent>
145
- <Stack direction="row" justifyContent="start" alignItems="center" gap={ 1 }>
145
+ <Stack
146
+ direction="row"
147
+ justifyContent="start"
148
+ alignItems="center"
149
+ gap={ 1 }
150
+ sx={ { marginInlineEnd: -0.75 } }
151
+ >
146
152
  <Typography component="label" variant="caption" color="text.secondary">
147
153
  { label }
148
154
  </Typography>
@@ -149,6 +149,7 @@ export const LinkControl = createControl( ( props: Props ) => {
149
149
  sx={ {
150
150
  justifyContent: 'space-between',
151
151
  alignItems: 'center',
152
+ marginInlineEnd: -0.75,
152
153
  } }
153
154
  >
154
155
  <ControlFormLabel>{ __( 'Link', 'elementor' ) }</ControlFormLabel>
@@ -222,7 +223,7 @@ const SwitchControl = ( { disabled }: { disabled: boolean } ) => {
222
223
  <Grid item>
223
224
  <ControlFormLabel>{ __( 'Open in a new tab', 'elementor' ) }</ControlFormLabel>
224
225
  </Grid>
225
- <Grid item>
226
+ <Grid item sx={ { marginInlineEnd: -1 } }>
226
227
  <Switch checked={ value } onClick={ onClick } disabled={ disabled } inputProps={ inputProps } />
227
228
  </Grid>
228
229
  </Grid>