@fileverse-dev/ddoc 1.1.8 → 1.1.9

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -16370,7 +16370,7 @@ const ya = Oe.forwardRef(
16370
16370
  ...l
16371
16371
  }, a) => {
16372
16372
  const c = Ve(
16373
- "flex group items-center justify-center border border-transparent gap-2 text-sm font-semibold rounded-md disabled:opacity-50 whitespace-nowrap",
16373
+ "flex group items-center justify-center border border-transparent gap-2 text-sm font-semibold rounded disabled:opacity-50 whitespace-nowrap",
16374
16374
  i === "primary" && Ve(
16375
16375
  "text-white bg-black border-black dark:text-black dark:bg-white dark:border-white",
16376
16376
  !r && !n && "hover:bg-neutral-800 active:bg-neutral-900 dark:hover:bg-neutral-200 dark:active:bg-neutral-300",
@@ -36782,7 +36782,7 @@ const c4 = Je.create({
36782
36782
  }
36783
36783
  ) }),
36784
36784
  !n && /* @__PURE__ */ _.jsx("div", { className: "grow relative", children: /* @__PURE__ */ _.jsx(CA, { editor: l }) }),
36785
- /* @__PURE__ */ _.jsx("div", { children: /* @__PURE__ */ _.jsxs(ya, { onClick: () => r(n), children: [
36785
+ /* @__PURE__ */ _.jsx("div", { children: /* @__PURE__ */ _.jsxs(ya, { variant: "secondary", onClick: () => r(n), children: [
36786
36786
  n ? /* @__PURE__ */ _.jsx(PT, { size: 14 }) : /* @__PURE__ */ _.jsx($T, { size: 14 }),
36787
36787
  " ",
36788
36788
  n ? "Edit" : "Preview"