@amplifyup/sdk 0.1.71 → 0.1.73

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/react.js CHANGED
@@ -4892,6 +4892,9 @@ var lastRichTextRequestAt = 0;
4892
4892
  function requestCanvasRichTextEdit(opts) {
4893
4893
  if (typeof window === "undefined" || window.parent === window) return;
4894
4894
  if (!opts.name) return;
4895
+ if (opts.el.classList.contains("au-rte-active") || opts.el.querySelector(".ProseMirror")) {
4896
+ return;
4897
+ }
4895
4898
  const now = Date.now();
4896
4899
  if (now - lastRichTextRequestAt < 400) return;
4897
4900
  lastRichTextRequestAt = now;
@@ -5036,7 +5039,7 @@ function ComposerInlineField({
5036
5039
  style: {
5037
5040
  cursor: "text",
5038
5041
  outline: "1px dashed color-mix(in srgb, currentColor 40%, transparent)",
5039
- outlineOffset: "2px",
5042
+ outlineOffset: "6px",
5040
5043
  minWidth: "1ch",
5041
5044
  minHeight: "1em",
5042
5045
  // Do not force `inline` — that overrides Tailwind `block` and parks
@@ -5093,7 +5096,7 @@ function ComposerInlineHtml({
5093
5096
  style: {
5094
5097
  cursor: "text",
5095
5098
  outline: "1px dashed color-mix(in srgb, currentColor 40%, transparent)",
5096
- outlineOffset: "2px"
5099
+ outlineOffset: "6px"
5097
5100
  }
5098
5101
  });
5099
5102
  }