@elementor/editor-components 3.35.0-329 → 3.35.0-331
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +21 -21
- package/src/components/component-panel-header/component-badge.tsx +2 -2
- package/src/components/component-panel-header/component-panel-header.tsx +4 -4
package/dist/index.mjs
CHANGED
|
@@ -276,7 +276,7 @@ async function transformOriginValue(value, options) {
|
|
|
276
276
|
// src/components/component-panel-header/component-panel-header.tsx
|
|
277
277
|
import * as React2 from "react";
|
|
278
278
|
import { getV1DocumentsManager as getV1DocumentsManager3 } from "@elementor/editor-documents";
|
|
279
|
-
import { ArrowLeftIcon,
|
|
279
|
+
import { ArrowLeftIcon, ComponentsFilledIcon } from "@elementor/icons";
|
|
280
280
|
import { __useSelector as useSelector3 } from "@elementor/store";
|
|
281
281
|
import { Box as Box2, Divider, IconButton, Stack, Tooltip, Typography } from "@elementor/ui";
|
|
282
282
|
import { __ as __2 } from "@wordpress/i18n";
|
|
@@ -311,7 +311,7 @@ function useNavigateBack() {
|
|
|
311
311
|
// src/components/component-panel-header/component-badge.tsx
|
|
312
312
|
import * as React from "react";
|
|
313
313
|
import { useEffect, useRef } from "react";
|
|
314
|
-
import {
|
|
314
|
+
import { ComponentPropListIcon } from "@elementor/icons";
|
|
315
315
|
import { Badge, Box, keyframes, styled, ToggleButton } from "@elementor/ui";
|
|
316
316
|
import { __ } from "@wordpress/i18n";
|
|
317
317
|
var ComponentsBadge = ({ overridesCount }) => {
|
|
@@ -327,7 +327,7 @@ var ComponentsBadge = ({ overridesCount }) => {
|
|
|
327
327
|
anchorOrigin: { vertical: "top", horizontal: "right" },
|
|
328
328
|
badgeContent: /* @__PURE__ */ React.createElement(Box, { sx: { animation: !isFirstOverride ? `${slideUp} 300ms ease-out` : "none" } }, overridesCount)
|
|
329
329
|
},
|
|
330
|
-
/* @__PURE__ */ React.createElement(ToggleButton, { value: "overrides", size: "tiny", "aria-label": __("View overrides", "elementor") }, /* @__PURE__ */ React.createElement(
|
|
330
|
+
/* @__PURE__ */ React.createElement(ToggleButton, { value: "overrides", size: "tiny", "aria-label": __("View overrides", "elementor") }, /* @__PURE__ */ React.createElement(ComponentPropListIcon, { fontSize: "tiny" }))
|
|
331
331
|
);
|
|
332
332
|
};
|
|
333
333
|
var StyledBadge = styled(Badge, { shouldForwardProp: (prop) => prop !== "animate" })(
|
|
@@ -388,7 +388,7 @@ var ComponentPanelHeader = () => {
|
|
|
388
388
|
justifyContent: "space-between",
|
|
389
389
|
sx: { height: 48, pl: 1.5, pr: 2, py: 1 }
|
|
390
390
|
},
|
|
391
|
-
/* @__PURE__ */ React2.createElement(Stack, { direction: "row", alignItems: "center"
|
|
391
|
+
/* @__PURE__ */ React2.createElement(Stack, { direction: "row", alignItems: "center" }, /* @__PURE__ */ React2.createElement(Tooltip, { title: __2("Back", "elementor") }, /* @__PURE__ */ React2.createElement(IconButton, { size: "tiny", onClick: onBack, "aria-label": __2("Back", "elementor") }, /* @__PURE__ */ React2.createElement(ArrowLeftIcon, { fontSize: "tiny" }))), /* @__PURE__ */ React2.createElement(Stack, { direction: "row", alignItems: "center", gap: 0.5 }, /* @__PURE__ */ React2.createElement(ComponentsFilledIcon, { fontSize: "tiny", stroke: "currentColor" }), /* @__PURE__ */ React2.createElement(Typography, { variant: "caption", sx: { fontWeight: 500 } }, componentName))),
|
|
392
392
|
/* @__PURE__ */ React2.createElement(ComponentsBadge, { overridesCount })
|
|
393
393
|
), /* @__PURE__ */ React2.createElement(Divider, null));
|
|
394
394
|
};
|
|
@@ -452,7 +452,7 @@ var ComponentSearch = () => {
|
|
|
452
452
|
|
|
453
453
|
// src/components/components-tab/components-list.tsx
|
|
454
454
|
import * as React7 from "react";
|
|
455
|
-
import { ComponentsIcon as
|
|
455
|
+
import { ComponentsIcon as ComponentsIcon2, EyeIcon } from "@elementor/icons";
|
|
456
456
|
import { Box as Box6, Divider as Divider2, Icon, Link, List, Stack as Stack4, Typography as Typography3 } from "@elementor/ui";
|
|
457
457
|
import { __ as __6 } from "@wordpress/i18n";
|
|
458
458
|
|
|
@@ -469,7 +469,7 @@ import * as React5 from "react";
|
|
|
469
469
|
import { endDragElementFromPanel, startDragElementFromPanel } from "@elementor/editor-canvas";
|
|
470
470
|
import { dropElement } from "@elementor/editor-elements";
|
|
471
471
|
import { MenuListItem } from "@elementor/editor-ui";
|
|
472
|
-
import { ComponentsIcon
|
|
472
|
+
import { ComponentsIcon, DotsVerticalIcon } from "@elementor/icons";
|
|
473
473
|
import {
|
|
474
474
|
bindMenu,
|
|
475
475
|
bindTrigger,
|
|
@@ -873,7 +873,7 @@ var ComponentItem = ({ component }) => {
|
|
|
873
873
|
shape: "rounded",
|
|
874
874
|
sx: { border: "solid 1px", borderColor: "divider", py: 0.5, px: 1 }
|
|
875
875
|
},
|
|
876
|
-
/* @__PURE__ */ React5.createElement(Box4, { sx: { display: "flex", width: "100%", alignItems: "center", gap: 1 }, onClick: handleClick }, /* @__PURE__ */ React5.createElement(ListItemIcon, { size: "tiny" }, /* @__PURE__ */ React5.createElement(
|
|
876
|
+
/* @__PURE__ */ React5.createElement(Box4, { sx: { display: "flex", width: "100%", alignItems: "center", gap: 1 }, onClick: handleClick }, /* @__PURE__ */ React5.createElement(ListItemIcon, { size: "tiny" }, /* @__PURE__ */ React5.createElement(ComponentsIcon, { fontSize: "tiny" })), /* @__PURE__ */ React5.createElement(
|
|
877
877
|
ListItemText,
|
|
878
878
|
{
|
|
879
879
|
primary: /* @__PURE__ */ React5.createElement(Typography2, { variant: "caption", sx: { color: "text.primary" } }, component.name)
|
|
@@ -1009,7 +1009,7 @@ var EmptySearchResult = () => {
|
|
|
1009
1009
|
overflow: "hidden",
|
|
1010
1010
|
justifySelf: "center"
|
|
1011
1011
|
},
|
|
1012
|
-
/* @__PURE__ */ React7.createElement(
|
|
1012
|
+
/* @__PURE__ */ React7.createElement(ComponentsIcon2, null),
|
|
1013
1013
|
/* @__PURE__ */ React7.createElement(
|
|
1014
1014
|
Box6,
|
|
1015
1015
|
{
|