@newtonedev/editor 0.1.2 → 0.1.4

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
@@ -2533,7 +2533,7 @@ function EditorHeader({
2533
2533
  children: STATUS_LABEL[saveStatus]
2534
2534
  }
2535
2535
  ),
2536
- saveStatus === "error" && /* @__PURE__ */ jsx(Button, { variant: "ghost", size: "sm", icon: "refresh", onPress: onRetry, children: "Retry" }),
2536
+ saveStatus === "error" && /* @__PURE__ */ jsx(Button, { variant: "tertiary", semantic: "neutral", size: "sm", icon: "refresh", onPress: onRetry, children: "Retry" }),
2537
2537
  /* @__PURE__ */ jsx(
2538
2538
  Button,
2539
2539
  {
@@ -3280,7 +3280,7 @@ function CopyButton({ text }) {
3280
3280
  setCopied(true);
3281
3281
  setTimeout(() => setCopied(false), 2e3);
3282
3282
  }, [text]);
3283
- return /* @__PURE__ */ jsx(Button, { variant: "ghost", size: "sm", icon: copied ? "check" : "content_copy", onPress: handleCopy, children: copied ? "Copied!" : "Copy" });
3283
+ return /* @__PURE__ */ jsx(Button, { variant: "tertiary", semantic: "neutral", size: "sm", icon: copied ? "check" : "content_copy", onPress: handleCopy, children: copied ? "Copied!" : "Copy" });
3284
3284
  }
3285
3285
  function CodeBlock({
3286
3286
  code