@elementor/editor-app-bar 4.4.0-1140 → 4.4.0-1142

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.4.0-1140",
4
+ "version": "4.4.0-1142",
5
5
  "private": false,
6
6
  "author": "Elementor Team",
7
7
  "homepage": "https://elementor.com/",
@@ -40,19 +40,19 @@
40
40
  "dev": "tsup --config=../../tsup.dev.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@elementor/editor-current-user": "4.4.0-1140",
44
- "@elementor/editor-ui": "4.4.0-1140",
45
- "@elementor/http-client": "4.4.0-1140",
46
- "@elementor/editor": "4.4.0-1140",
47
- "@elementor/editor-documents": "4.4.0-1140",
48
- "@elementor/editor-mcp": "4.4.0-1140",
49
- "@elementor/editor-responsive": "4.4.0-1140",
50
- "@elementor/editor-v1-adapters": "4.4.0-1140",
43
+ "@elementor/editor-current-user": "4.4.0-1142",
44
+ "@elementor/editor-ui": "4.4.0-1142",
45
+ "@elementor/http-client": "4.4.0-1142",
46
+ "@elementor/editor": "4.4.0-1142",
47
+ "@elementor/editor-documents": "4.4.0-1142",
48
+ "@elementor/editor-mcp": "4.4.0-1142",
49
+ "@elementor/editor-responsive": "4.4.0-1142",
50
+ "@elementor/editor-v1-adapters": "4.4.0-1142",
51
51
  "@elementor/icons": "~1.78.1",
52
- "@elementor/locations": "4.4.0-1140",
53
- "@elementor/menus": "4.4.0-1140",
54
- "@elementor/events": "4.4.0-1140",
55
- "@elementor/ui": "1.41.3",
52
+ "@elementor/locations": "4.4.0-1142",
53
+ "@elementor/menus": "4.4.0-1142",
54
+ "@elementor/events": "4.4.0-1142",
55
+ "@elementor/ui": "1.41.4",
56
56
  "@wordpress/i18n": "^5.13.0"
57
57
  },
58
58
  "devDependencies": {
@@ -1,7 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { useRef } from 'react';
3
3
  import { __useActiveDocument as useActiveDocument } from '@elementor/editor-documents';
4
- import { AppBar as BaseAppBar, Box, Divider, Grid, ThemeProvider, Toolbar } from '@elementor/ui';
4
+ import { ThemeProvider } from '@elementor/editor-ui';
5
+ import { AppBar as BaseAppBar, Box, Divider, Grid, Toolbar } from '@elementor/ui';
5
6
 
6
7
  import { MIN_APP_BAR_WIDTH } from '../constants';
7
8
  import { AppBarSizeProvider } from '../contexts/app-bar-size-context';
@@ -46,7 +46,7 @@ export default function PrimaryAction() {
46
46
 
47
47
  return (
48
48
  <>
49
- <ButtonGroup size="large" variant="contained">
49
+ <ButtonGroup size="large" variant="contained" color="accent">
50
50
  <Button
51
51
  onClick={ () => {
52
52
  const extendedWindow = window as unknown as ExtendedWindow;
@@ -21,6 +21,7 @@ export default function PrimaryAction() {
21
21
  >
22
22
  <Button
23
23
  variant="contained"
24
+ color="accent"
24
25
  disabled={ ! document || ! document.isDirty }
25
26
  size="medium"
26
27
  sx={ { width: '100%' } }