@elementor/editor-components 3.35.0-466 → 3.35.0-467

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.mjs CHANGED
@@ -357,7 +357,7 @@ import { useSuppressedMessage } from "@elementor/editor-current-user";
357
357
  import { getV1DocumentsManager as getV1DocumentsManager3 } from "@elementor/editor-documents";
358
358
  import { ArrowLeftIcon, ComponentsFilledIcon } from "@elementor/icons";
359
359
  import { __getState as getState11 } from "@elementor/store";
360
- import { Box as Box7, Divider as Divider2, IconButton as IconButton4, Stack as Stack6, Tooltip as Tooltip3, Typography as Typography6 } from "@elementor/ui";
360
+ import { Box as Box7, Divider as Divider2, IconButton as IconButton4, Stack as Stack6, Tooltip as Tooltip4, Typography as Typography6 } from "@elementor/ui";
361
361
  import { __ as __13 } from "@wordpress/i18n";
362
362
 
363
363
  // src/hooks/use-navigate-back.ts
@@ -1983,7 +1983,7 @@ var ErrorBoundaryFallback = () => /* @__PURE__ */ React8.createElement(Box5, { r
1983
1983
  import * as React9 from "react";
1984
1984
  import { useEffect, useRef as useRef2 } from "react";
1985
1985
  import { ComponentPropListIcon as ComponentPropListIcon3 } from "@elementor/icons";
1986
- import { Badge, Box as Box6, keyframes, styled as styled2, ToggleButton } from "@elementor/ui";
1986
+ import { Badge, Box as Box6, keyframes, styled as styled2, ToggleButton, Tooltip as Tooltip3 } from "@elementor/ui";
1987
1987
  import { __ as __12 } from "@wordpress/i18n";
1988
1988
  var ComponentsBadge = React9.forwardRef(({ overridablePropsCount, onClick }, ref) => {
1989
1989
  const prevCount = usePrevious(overridablePropsCount);
@@ -1999,16 +1999,16 @@ var ComponentsBadge = React9.forwardRef(({ overridablePropsCount, onClick }, ref
1999
1999
  anchorOrigin: { vertical: "top", horizontal: "right" },
2000
2000
  badgeContent: /* @__PURE__ */ React9.createElement(Box6, { sx: { animation: !isFirstExposedProperty ? `${slideUp} 300ms ease-out` : "none" } }, overridablePropsCount)
2001
2001
  },
2002
- /* @__PURE__ */ React9.createElement(
2002
+ /* @__PURE__ */ React9.createElement(Tooltip3, { title: __12("Component properties", "elementor") }, /* @__PURE__ */ React9.createElement(
2003
2003
  ToggleButton,
2004
2004
  {
2005
2005
  value: "exposed properties",
2006
2006
  size: "tiny",
2007
2007
  onClick,
2008
- "aria-label": __12("View exposed properties", "elementor")
2008
+ "aria-label": __12("Component properties", "elementor")
2009
2009
  },
2010
2010
  /* @__PURE__ */ React9.createElement(ComponentPropListIcon3, { fontSize: "tiny" })
2011
- )
2011
+ ))
2012
2012
  );
2013
2013
  });
2014
2014
  var StyledBadge = styled2(Badge, { shouldForwardProp: (prop) => prop !== "animate" })(
@@ -2076,7 +2076,7 @@ var ComponentPanelHeader = () => {
2076
2076
  justifyContent: "space-between",
2077
2077
  sx: { height: 48, pl: 1.5, pr: 2, py: 1 }
2078
2078
  },
2079
- /* @__PURE__ */ React10.createElement(Stack6, { direction: "row", alignItems: "center" }, /* @__PURE__ */ React10.createElement(Tooltip3, { title: __13("Back", "elementor") }, /* @__PURE__ */ React10.createElement(IconButton4, { size: "tiny", onClick: onBack, "aria-label": __13("Back", "elementor") }, /* @__PURE__ */ React10.createElement(ArrowLeftIcon, { fontSize: "tiny" }))), /* @__PURE__ */ React10.createElement(Stack6, { direction: "row", alignItems: "center", gap: 0.5 }, /* @__PURE__ */ React10.createElement(ComponentsFilledIcon, { fontSize: "tiny", stroke: "currentColor" }), /* @__PURE__ */ React10.createElement(Typography6, { variant: "caption", sx: { fontWeight: 500 } }, componentName))),
2079
+ /* @__PURE__ */ React10.createElement(Stack6, { direction: "row", alignItems: "center" }, /* @__PURE__ */ React10.createElement(Tooltip4, { title: __13("Back", "elementor") }, /* @__PURE__ */ React10.createElement(IconButton4, { size: "tiny", onClick: onBack, "aria-label": __13("Back", "elementor") }, /* @__PURE__ */ React10.createElement(ArrowLeftIcon, { fontSize: "tiny" }))), /* @__PURE__ */ React10.createElement(Stack6, { direction: "row", alignItems: "center", gap: 0.5 }, /* @__PURE__ */ React10.createElement(ComponentsFilledIcon, { fontSize: "tiny", stroke: "currentColor" }), /* @__PURE__ */ React10.createElement(Typography6, { variant: "caption", sx: { fontWeight: 500 } }, componentName))),
2080
2080
  /* @__PURE__ */ React10.createElement(
2081
2081
  ComponentsBadge,
2082
2082
  {
@@ -3653,7 +3653,7 @@ import { useSelectedElement as useSelectedElement2 } from "@elementor/editor-ele
3653
3653
  import { PanelBody as PanelBody2, PanelHeader as PanelHeader2, PanelHeaderTitle as PanelHeaderTitle2 } from "@elementor/editor-panels";
3654
3654
  import { EllipsisWithTooltip as EllipsisWithTooltip2 } from "@elementor/editor-ui";
3655
3655
  import { ComponentsIcon as ComponentsIcon4, PencilIcon as PencilIcon2 } from "@elementor/icons";
3656
- import { Divider as Divider4, IconButton as IconButton6, Stack as Stack17, Tooltip as Tooltip4 } from "@elementor/ui";
3656
+ import { Divider as Divider4, IconButton as IconButton6, Stack as Stack17, Tooltip as Tooltip5 } from "@elementor/ui";
3657
3657
  import { __ as __27 } from "@wordpress/i18n";
3658
3658
 
3659
3659
  // src/hooks/use-component-instance-settings.ts
@@ -4092,7 +4092,7 @@ function InstanceEditingPanel() {
4092
4092
  const isNonEmptyGroup = (group) => group !== null && group.props.length > 0;
4093
4093
  const groups = overridableProps.groups.order.map((groupId) => overridableProps.groups.items[groupId] ?? null).filter(isNonEmptyGroup);
4094
4094
  const isEmpty = groups.length === 0 || Object.keys(overridableProps.props).length === 0;
4095
- return /* @__PURE__ */ React29.createElement(React29.Fragment, null, /* @__PURE__ */ React29.createElement(PanelHeader2, { sx: { justifyContent: "start", px: 2 } }, /* @__PURE__ */ React29.createElement(Stack17, { direction: "row", alignItems: "center", flexGrow: 1, gap: 1, maxWidth: "100%" }, /* @__PURE__ */ React29.createElement(ComponentsIcon4, { fontSize: "small", sx: { color: "text.tertiary" } }), /* @__PURE__ */ React29.createElement(EllipsisWithTooltip2, { title: component.name, as: PanelHeaderTitle2 }), canEdit && /* @__PURE__ */ React29.createElement(Tooltip4, { title: panelTitle }, /* @__PURE__ */ React29.createElement(IconButton6, { size: "tiny", onClick: handleEditComponent, "aria-label": panelTitle }, /* @__PURE__ */ React29.createElement(PencilIcon2, { fontSize: "tiny" }))))), /* @__PURE__ */ React29.createElement(PanelBody2, null, /* @__PURE__ */ React29.createElement(ControlAdornmentsProvider, { items: getFieldIndicators("settings") }, isEmpty ? /* @__PURE__ */ React29.createElement(EmptyState2, { onEditComponent: handleEditComponent }) : /* @__PURE__ */ React29.createElement(Stack17, { direction: "column", alignItems: "stretch" }, groups.map((group) => /* @__PURE__ */ React29.createElement(React29.Fragment, { key: group.id }, /* @__PURE__ */ React29.createElement(
4095
+ return /* @__PURE__ */ React29.createElement(React29.Fragment, null, /* @__PURE__ */ React29.createElement(PanelHeader2, { sx: { justifyContent: "start", px: 2 } }, /* @__PURE__ */ React29.createElement(Stack17, { direction: "row", alignItems: "center", flexGrow: 1, gap: 1, maxWidth: "100%" }, /* @__PURE__ */ React29.createElement(ComponentsIcon4, { fontSize: "small", sx: { color: "text.tertiary" } }), /* @__PURE__ */ React29.createElement(EllipsisWithTooltip2, { title: component.name, as: PanelHeaderTitle2 }), canEdit && /* @__PURE__ */ React29.createElement(Tooltip5, { title: panelTitle }, /* @__PURE__ */ React29.createElement(IconButton6, { size: "tiny", onClick: handleEditComponent, "aria-label": panelTitle }, /* @__PURE__ */ React29.createElement(PencilIcon2, { fontSize: "tiny" }))))), /* @__PURE__ */ React29.createElement(PanelBody2, null, /* @__PURE__ */ React29.createElement(ControlAdornmentsProvider, { items: getFieldIndicators("settings") }, isEmpty ? /* @__PURE__ */ React29.createElement(EmptyState2, { onEditComponent: handleEditComponent }) : /* @__PURE__ */ React29.createElement(Stack17, { direction: "column", alignItems: "stretch" }, groups.map((group) => /* @__PURE__ */ React29.createElement(React29.Fragment, { key: group.id }, /* @__PURE__ */ React29.createElement(
4096
4096
  OverridePropsGroup,
4097
4097
  {
4098
4098
  group,
@@ -4185,7 +4185,7 @@ import * as React32 from "react";
4185
4185
  import { useBoundProp as useBoundProp3 } from "@elementor/editor-controls";
4186
4186
  import { useElement as useElement4 } from "@elementor/editor-editing-panel";
4187
4187
  import { getWidgetsCache as getWidgetsCache3 } from "@elementor/editor-elements";
4188
- import { bindPopover as bindPopover2, bindTrigger as bindTrigger4, Popover as Popover4, Tooltip as Tooltip5, usePopupState as usePopupState4 } from "@elementor/ui";
4188
+ import { bindPopover as bindPopover2, bindTrigger as bindTrigger4, Popover as Popover4, Tooltip as Tooltip6, usePopupState as usePopupState4 } from "@elementor/ui";
4189
4189
  import { __ as __29 } from "@wordpress/i18n";
4190
4190
 
4191
4191
  // src/store/actions/set-overridable-prop.ts
@@ -4403,7 +4403,7 @@ function Content2({ componentId, overridableProps }) {
4403
4403
  popupState.close();
4404
4404
  };
4405
4405
  const overridableConfig = overridableValue ? getOverridableProp({ componentId, overrideKey: overridableValue.override_key }) : void 0;
4406
- return /* @__PURE__ */ React32.createElement(React32.Fragment, null, /* @__PURE__ */ React32.createElement(Tooltip5, { placement: "top", title: __29("Override Property", "elementor") }, /* @__PURE__ */ React32.createElement(Indicator2, { ...triggerProps, isOpen: !!popoverProps.open, isOverridable: !!overridableValue })), /* @__PURE__ */ React32.createElement(
4406
+ return /* @__PURE__ */ React32.createElement(React32.Fragment, null, /* @__PURE__ */ React32.createElement(Tooltip6, { placement: "top", title: __29("Override Property", "elementor") }, /* @__PURE__ */ React32.createElement(Indicator2, { ...triggerProps, isOpen: !!popoverProps.open, isOverridable: !!overridableValue })), /* @__PURE__ */ React32.createElement(
4407
4407
  Popover4,
4408
4408
  {
4409
4409
  disableScrollLock: true,