@maily-to/core 0.0.19 → 0.0.20

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
@@ -1214,7 +1214,7 @@ function _ShowPopover(props) {
1214
1214
  const autoCompleteOptions = useMemo2(() => {
1215
1215
  return processVariables(variables, {
1216
1216
  query: showIfKey || "",
1217
- from: "variable",
1217
+ from: "bubble-variable",
1218
1218
  editor
1219
1219
  }).map((variable) => variable.name);
1220
1220
  }, [variables, showIfKey, editor]);
@@ -2026,7 +2026,7 @@ function ForBubbleMenu(props) {
2026
2026
  return processVariables(variables, {
2027
2027
  query: eachKey || "",
2028
2028
  editor,
2029
- from: "for"
2029
+ from: "for-variable"
2030
2030
  }).map((variable) => variable.name);
2031
2031
  }, [variables, eachKey, editor]);
2032
2032
  const isValidEachKey = eachKey || autoCompleteOptions.includes(eachKey);
@@ -2192,7 +2192,7 @@ function LinkInputPopover(props) {
2192
2192
  );
2193
2193
  return processVariables(variables, {
2194
2194
  query: withoutTrigger || "",
2195
- from: "variable",
2195
+ from: "bubble-variable",
2196
2196
  editor
2197
2197
  }).map((variable) => variable.name);
2198
2198
  }, [variables, defaultUrlWithoutProtocol, editor]);
@@ -4224,7 +4224,7 @@ function ButtonLabelInput(props) {
4224
4224
  );
4225
4225
  return processVariables(variables, {
4226
4226
  query: withoutTrigger || "",
4227
- from: "variable",
4227
+ from: "bubble-variable",
4228
4228
  editor
4229
4229
  }).map((variable) => variable.name);
4230
4230
  }, [variables, value, editor]);
@@ -5494,7 +5494,7 @@ function getVariableSuggestions(variables = DEFAULT_VARIABLES, char = DEFAULT_VA
5494
5494
  return processVariables(variables, {
5495
5495
  query,
5496
5496
  editor,
5497
- from: "variable"
5497
+ from: "content-variable"
5498
5498
  });
5499
5499
  },
5500
5500
  render: () => {