@elementor/editor-app-bar 4.4.0-1141 → 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 +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +13 -13
- package/src/components/app-bar.tsx +2 -1
- package/src/extensions/documents-save/components/primary-action.tsx +1 -1
- package/src/extensions/site-settings/components/primary-action.tsx +1 -0
package/dist/index.mjs
CHANGED
|
@@ -192,7 +192,8 @@ import { injectIntoTop as injectIntoTop2 } from "@elementor/editor";
|
|
|
192
192
|
import * as React23 from "react";
|
|
193
193
|
import { useRef } from "react";
|
|
194
194
|
import { __useActiveDocument as useActiveDocument } from "@elementor/editor-documents";
|
|
195
|
-
import {
|
|
195
|
+
import { ThemeProvider as ThemeProvider3 } from "@elementor/editor-ui";
|
|
196
|
+
import { AppBar as BaseAppBar, Box as Box4, Divider as Divider2, Grid, Toolbar } from "@elementor/ui";
|
|
196
197
|
|
|
197
198
|
// src/constants.ts
|
|
198
199
|
var MIN_APP_BAR_WIDTH = 800;
|
|
@@ -1064,7 +1065,7 @@ function PrimaryAction() {
|
|
|
1064
1065
|
const isPublishDisabled = !isEditMode || !isPublishEnabled(document2);
|
|
1065
1066
|
const isSaveOptionsDisabled = !isEditMode || document2.type.value === "kit";
|
|
1066
1067
|
const shouldShowSpinner = document2.isSaving && !isPublishDisabled;
|
|
1067
|
-
return /* @__PURE__ */ React25.createElement(React25.Fragment, null, /* @__PURE__ */ React25.createElement(ButtonGroup, { size: "large", variant: "contained" }, /* @__PURE__ */ React25.createElement(
|
|
1068
|
+
return /* @__PURE__ */ React25.createElement(React25.Fragment, null, /* @__PURE__ */ React25.createElement(ButtonGroup, { size: "large", variant: "contained", color: "accent" }, /* @__PURE__ */ React25.createElement(
|
|
1068
1069
|
Button3,
|
|
1069
1070
|
{
|
|
1070
1071
|
onClick: () => {
|
|
@@ -1775,6 +1776,7 @@ function PrimaryAction2() {
|
|
|
1775
1776
|
Button4,
|
|
1776
1777
|
{
|
|
1777
1778
|
variant: "contained",
|
|
1779
|
+
color: "accent",
|
|
1778
1780
|
disabled: !document2 || !document2.isDirty,
|
|
1779
1781
|
size: "medium",
|
|
1780
1782
|
sx: { width: "100%" },
|