@elementor/editor-controls 4.2.0-862 → 4.2.0-864
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/components/control-toggle-button-group.tsx +13 -11
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": "4.2.0-
|
|
4
|
+
"version": "4.2.0-864",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Elementor Team",
|
|
7
7
|
"homepage": "https://elementor.com/",
|
|
@@ -40,22 +40,22 @@
|
|
|
40
40
|
"dev": "tsup --config=../../tsup.dev.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@elementor/editor-current-user": "4.2.0-
|
|
44
|
-
"@elementor/editor-elements": "4.2.0-
|
|
45
|
-
"@elementor/editor-props": "4.2.0-
|
|
46
|
-
"@elementor/editor-responsive": "4.2.0-
|
|
47
|
-
"@elementor/editor-ui": "4.2.0-
|
|
48
|
-
"@elementor/editor-v1-adapters": "4.2.0-
|
|
49
|
-
"@elementor/env": "4.2.0-
|
|
50
|
-
"@elementor/events": "4.2.0-
|
|
51
|
-
"@elementor/http-client": "4.2.0-
|
|
43
|
+
"@elementor/editor-current-user": "4.2.0-864",
|
|
44
|
+
"@elementor/editor-elements": "4.2.0-864",
|
|
45
|
+
"@elementor/editor-props": "4.2.0-864",
|
|
46
|
+
"@elementor/editor-responsive": "4.2.0-864",
|
|
47
|
+
"@elementor/editor-ui": "4.2.0-864",
|
|
48
|
+
"@elementor/editor-v1-adapters": "4.2.0-864",
|
|
49
|
+
"@elementor/env": "4.2.0-864",
|
|
50
|
+
"@elementor/events": "4.2.0-864",
|
|
51
|
+
"@elementor/http-client": "4.2.0-864",
|
|
52
52
|
"@elementor/icons": "~1.75.1",
|
|
53
|
-
"@elementor/locations": "4.2.0-
|
|
54
|
-
"@elementor/query": "4.2.0-
|
|
55
|
-
"@elementor/session": "4.2.0-
|
|
53
|
+
"@elementor/locations": "4.2.0-864",
|
|
54
|
+
"@elementor/query": "4.2.0-864",
|
|
55
|
+
"@elementor/session": "4.2.0-864",
|
|
56
56
|
"@elementor/ui": "1.37.5",
|
|
57
|
-
"@elementor/utils": "4.2.0-
|
|
58
|
-
"@elementor/wp-media": "4.2.0-
|
|
57
|
+
"@elementor/utils": "4.2.0-864",
|
|
58
|
+
"@elementor/wp-media": "4.2.0-864",
|
|
59
59
|
"@monaco-editor/react": "^4.7.0",
|
|
60
60
|
"@tiptap/extension-bold": "^3.11.1",
|
|
61
61
|
"@tiptap/extension-document": "^3.11.1",
|
|
@@ -303,17 +303,19 @@ const SplitButtonGroup = < TValue, >( {
|
|
|
303
303
|
mt: 0.5,
|
|
304
304
|
} }
|
|
305
305
|
>
|
|
306
|
-
{ items
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
306
|
+
{ items
|
|
307
|
+
.filter( ( item ) => item.value !== previewButton.value )
|
|
308
|
+
.map( ( { label, value: buttonValue } ) => (
|
|
309
|
+
<MenuItem
|
|
310
|
+
key={ buttonValue }
|
|
311
|
+
selected={ buttonValue === value }
|
|
312
|
+
onClick={ () => onMenuItemClick( buttonValue ) }
|
|
313
|
+
>
|
|
314
|
+
<ListItemText>
|
|
315
|
+
<Typography sx={ { fontSize: '14px' } }>{ label }</Typography>
|
|
316
|
+
</ListItemText>
|
|
317
|
+
</MenuItem>
|
|
318
|
+
) ) }
|
|
317
319
|
</Menu>
|
|
318
320
|
</>
|
|
319
321
|
);
|