@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/dist/index.js CHANGED
@@ -236,6 +236,7 @@ var import_editor2 = require("@elementor/editor");
236
236
  var React23 = __toESM(require("react"));
237
237
  var import_react9 = require("react");
238
238
  var import_editor_documents = require("@elementor/editor-documents");
239
+ var import_editor_ui3 = require("@elementor/editor-ui");
239
240
  var import_ui13 = require("@elementor/ui");
240
241
 
241
242
  // src/constants.ts
@@ -804,7 +805,7 @@ function AppBar() {
804
805
  const containerRef = (0, import_react9.useRef)(null);
805
806
  const containerWidth = useContainerWidth(containerRef);
806
807
  const maxToolbarActions = getMaxToolbarActions(containerWidth);
807
- return /* @__PURE__ */ React23.createElement(import_ui13.ThemeProvider, { colorScheme: "dark" }, /* @__PURE__ */ React23.createElement(import_ui13.AppBar, { position: "sticky" }, /* @__PURE__ */ React23.createElement(import_ui13.Toolbar, { disableGutters: true, variant: "dense", sx: { overflowX: "auto" } }, /* @__PURE__ */ React23.createElement(
808
+ return /* @__PURE__ */ React23.createElement(import_editor_ui3.ThemeProvider, { colorScheme: "dark" }, /* @__PURE__ */ React23.createElement(import_ui13.AppBar, { position: "sticky" }, /* @__PURE__ */ React23.createElement(import_ui13.Toolbar, { disableGutters: true, variant: "dense", sx: { overflowX: "auto" } }, /* @__PURE__ */ React23.createElement(
808
809
  import_ui13.Box,
809
810
  {
810
811
  ref: containerRef,
@@ -1084,7 +1085,7 @@ function PrimaryAction() {
1084
1085
  const isPublishDisabled = !isEditMode || !isPublishEnabled(document2);
1085
1086
  const isSaveOptionsDisabled = !isEditMode || document2.type.value === "kit";
1086
1087
  const shouldShowSpinner = document2.isSaving && !isPublishDisabled;
1087
- return /* @__PURE__ */ React25.createElement(React25.Fragment, null, /* @__PURE__ */ React25.createElement(import_ui15.ButtonGroup, { size: "large", variant: "contained" }, /* @__PURE__ */ React25.createElement(
1088
+ return /* @__PURE__ */ React25.createElement(React25.Fragment, null, /* @__PURE__ */ React25.createElement(import_ui15.ButtonGroup, { size: "large", variant: "contained", color: "accent" }, /* @__PURE__ */ React25.createElement(
1088
1089
  import_ui15.Button,
1089
1090
  {
1090
1091
  onClick: () => {
@@ -1752,6 +1753,7 @@ function PrimaryAction2() {
1752
1753
  import_ui18.Button,
1753
1754
  {
1754
1755
  variant: "contained",
1756
+ color: "accent",
1755
1757
  disabled: !document2 || !document2.isDirty,
1756
1758
  size: "medium",
1757
1759
  sx: { width: "100%" },