@elementor/editor-variables 3.35.0-407 → 3.35.0-409

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
@@ -1058,8 +1058,8 @@ var React6 = __toESM(require("react"));
1058
1058
  var import_react6 = require("react");
1059
1059
  var import_editor_ui = require("@elementor/editor-ui");
1060
1060
  var import_icons3 = require("@elementor/icons");
1061
- var import_menus = require("@elementor/menus");
1062
1061
  var import_ui6 = require("@elementor/ui");
1062
+ var import_utils = require("@elementor/utils");
1063
1063
  var import_i18n7 = require("@wordpress/i18n");
1064
1064
 
1065
1065
  // src/sync/license-info.ts
@@ -1153,7 +1153,7 @@ var MenuOption = ({
1153
1153
  }) => {
1154
1154
  const [isPopoverOpen, setIsPopoverOpen] = (0, import_react6.useState)(false);
1155
1155
  const userQuotaPermissions = useQuotaPermissions(config.propTypeKey);
1156
- const displayName = (0, import_menus.capitalize)(config.variableType);
1156
+ const displayName = (0, import_utils.capitalize)(config.variableType);
1157
1157
  const isDisabled = !userQuotaPermissions.canAdd();
1158
1158
  const handleClick = () => {
1159
1159
  if (isDisabled) {
@@ -1167,7 +1167,7 @@ var MenuOption = ({
1167
1167
  const title = (0, import_i18n7.sprintf)(
1168
1168
  /* translators: %s: Variable Type. */
1169
1169
  (0, import_i18n7.__)("%s variables", "elementor"),
1170
- (0, import_menus.capitalize)(config.variableType)
1170
+ (0, import_utils.capitalize)(config.variableType)
1171
1171
  );
1172
1172
  const content = (0, import_i18n7.sprintf)(
1173
1173
  /* translators: %s: Variable Type. */