@elementor/editor-app-bar 4.3.0-1009 → 4.3.0-1011

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-app-bar",
3
3
  "description": "App Bar extension for @elementor/editor",
4
- "version": "4.3.0-1009",
4
+ "version": "4.3.0-1011",
5
5
  "private": false,
6
6
  "author": "Elementor Team",
7
7
  "homepage": "https://elementor.com/",
@@ -40,18 +40,18 @@
40
40
  "dev": "tsup --config=../../tsup.dev.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@elementor/editor-current-user": "4.3.0-1009",
44
- "@elementor/editor-ui": "4.3.0-1009",
45
- "@elementor/http-client": "4.3.0-1009",
46
- "@elementor/editor": "4.3.0-1009",
47
- "@elementor/editor-documents": "4.3.0-1009",
48
- "@elementor/editor-mcp": "4.3.0-1009",
49
- "@elementor/editor-responsive": "4.3.0-1009",
50
- "@elementor/editor-v1-adapters": "4.3.0-1009",
43
+ "@elementor/editor-current-user": "4.3.0-1011",
44
+ "@elementor/editor-ui": "4.3.0-1011",
45
+ "@elementor/http-client": "4.3.0-1011",
46
+ "@elementor/editor": "4.3.0-1011",
47
+ "@elementor/editor-documents": "4.3.0-1011",
48
+ "@elementor/editor-mcp": "4.3.0-1011",
49
+ "@elementor/editor-responsive": "4.3.0-1011",
50
+ "@elementor/editor-v1-adapters": "4.3.0-1011",
51
51
  "@elementor/icons": "~1.75.1",
52
- "@elementor/locations": "4.3.0-1009",
53
- "@elementor/menus": "4.3.0-1009",
54
- "@elementor/events": "4.3.0-1009",
52
+ "@elementor/locations": "4.3.0-1011",
53
+ "@elementor/menus": "4.3.0-1011",
54
+ "@elementor/events": "4.3.0-1011",
55
55
  "@elementor/ui": "1.37.5",
56
56
  "@wordpress/i18n": "^5.13.0"
57
57
  },
@@ -14,7 +14,7 @@ export default function UtilitiesMenuLocation() {
14
14
 
15
15
  // If there are more items than the allowed max, show the max inline and the rest in the popover.
16
16
  // Otherwise, display all items inline.
17
- const shouldUsePopover = menuItems.default.length > maxToolbarActions + 1;
17
+ const shouldUsePopover = menuItems.default.length > maxToolbarActions;
18
18
 
19
19
  const toolbarMenuItems = shouldUsePopover ? menuItems.default.slice( 0, maxToolbarActions ) : menuItems.default;
20
20
  const popoverMenuItems = shouldUsePopover ? menuItems.default.slice( maxToolbarActions ) : [];