@firecms/ui 3.0.0-canary.54 → 3.0.0-canary.56

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.es.js CHANGED
@@ -22,7 +22,7 @@ import * as $n from "react-dom";
22
22
  import * as $ from "@radix-ui/react-tooltip";
23
23
  import * as ln from "@radix-ui/react-tabs";
24
24
  import * as Y from "@radix-ui/react-popover";
25
- const P = "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-opacity-75 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent", In = "focus:bg-opacity-70 focus:bg-slate-100 focus:dark:bg-gray-800 focus:dark:bg-opacity-60", hn = "z-30 outline-none ring-2 ring-primary ring-opacity-75 ring-offset-2 ring-offset-transparent ", V = "bg-opacity-50 bg-slate-200 dark:bg-gray-700 dark:bg-opacity-40 transition duration-100 ease-in-out", kn = "bg-opacity-0 bg-slate-100 dark:bg-gray-800 dark:bg-opacity-0 transition duration-100 ease-in-out", j = "dark:bg-gray-800 bg-opacity-80 dark:bg-opacity-90", q = "hover:bg-opacity-70 dark:hover:bg-opacity-60", U = "border-gray-100 dark:border-gray-800 dark:border-opacity-80", J = "bg-white rounded-md dark:bg-gray-950 border dark:border-gray-800 dark:border-opacity-80 border-gray-100", Yn = "bg-white border border-gray-100 dark:border-transparent rounded-md dark:bg-gray-950 dark:border-gray-800 dark:border-opacity-50 transition duration-100 ease-in-out m-1 -p-1", Zn = "hover:bg-primary-bg dark:hover:bg-primary-bg hover:bg-opacity-20 dark:hover:bg-opacity-20 hover:ring-2 hover:ring-primary cursor-pointer", ro = "bg-primary-bg dark:bg-primary-bg bg-opacity-30 dark:bg-opacity-10 ring-1 ring-primary ring-opacity-75";
25
+ const P = "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-opacity-75 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent", In = "focus:bg-opacity-70 focus:bg-slate-100 focus:dark:bg-gray-800 focus:dark:bg-opacity-60", hn = "z-30 outline-none ring-2 ring-primary ring-opacity-75 ring-offset-2 ring-offset-transparent ", V = "bg-opacity-50 bg-slate-200 dark:bg-gray-700 dark:bg-opacity-40", kn = "bg-opacity-0 bg-slate-100 dark:bg-gray-800 dark:bg-opacity-0", j = "dark:bg-gray-800 bg-opacity-80 dark:bg-opacity-90", q = "hover:bg-opacity-70 dark:hover:bg-opacity-60", U = "border-gray-100 dark:border-gray-800 dark:border-opacity-80", J = "bg-white rounded-md dark:bg-gray-950 border dark:border-gray-800 dark:border-opacity-80 border-gray-100", Yn = "bg-white border border-gray-100 dark:border-transparent rounded-md dark:bg-gray-950 dark:border-gray-800 dark:border-opacity-50 m-1 -p-1", Zn = "hover:bg-primary-bg dark:hover:bg-primary-bg hover:bg-opacity-20 dark:hover:bg-opacity-20 hover:ring-2 hover:ring-primary cursor-pointer", ro = "bg-primary-bg dark:bg-primary-bg bg-opacity-30 dark:bg-opacity-10 ring-1 ring-primary ring-opacity-75";
26
26
  function _(...n) {
27
27
  return zn(Wn(n));
28
28
  }
@@ -16485,7 +16485,7 @@ function Non({
16485
16485
  className: _(
16486
16486
  "relative",
16487
16487
  a ? "h-14" : "h-[42px]",
16488
- "bg-slate-50 dark:bg-gray-800 transition duration-150 ease-in-out border",
16488
+ "bg-slate-50 dark:bg-gray-800 border",
16489
16489
  U,
16490
16490
  "rounded",
16491
16491
  u
@@ -16494,7 +16494,7 @@ function Non({
16494
16494
  /* @__PURE__ */ e(
16495
16495
  "div",
16496
16496
  {
16497
- className: "absolute p-0 px-4 h-full absolute pointer-events-none flex items-center justify-center top-0",
16497
+ className: "absolute p-0 px-4 h-full pointer-events-none flex items-center justify-center top-0",
16498
16498
  children: f ? /* @__PURE__ */ e(Sn, { size: "small" }) : /* @__PURE__ */ e(Ie, { className: "text-slate-500 dark:text-gray-500" })
16499
16499
  }
16500
16500
  ),
@@ -17449,7 +17449,7 @@ const je = `
17449
17449
  color: n = "primary",
17450
17450
  invisible: t = !1,
17451
17451
  children: r
17452
- }) => /* @__PURE__ */ p("div", { className: "relative inline-block", children: [
17452
+ }) => /* @__PURE__ */ p("div", { className: "relative inline-block w-fit", children: [
17453
17453
  r,
17454
17454
  /* @__PURE__ */ e(
17455
17455
  "span",
@@ -17485,15 +17485,22 @@ function ntn({
17485
17485
  height: t,
17486
17486
  className: r
17487
17487
  }) {
17488
- return /* @__PURE__ */ e("span", { className: _(
17489
- "block",
17490
- "bg-slate-200 dark:bg-slate-800 rounded",
17491
- "animate-pulse",
17492
- n ? `w-[${n}px]` : "w-full",
17493
- t ? `h-[${t}px]` : "h-3",
17494
- "max-w-full max-h-full",
17495
- r
17496
- ) });
17488
+ return /* @__PURE__ */ e(
17489
+ "span",
17490
+ {
17491
+ style: {
17492
+ width: n ? `${n}px` : "100%",
17493
+ height: t ? `${t}px` : "12px"
17494
+ },
17495
+ className: _(
17496
+ "block",
17497
+ "bg-slate-200 dark:bg-slate-800 rounded",
17498
+ "animate-pulse",
17499
+ "max-w-full max-h-full",
17500
+ r
17501
+ )
17502
+ }
17503
+ );
17497
17504
  }
17498
17505
  export {
17499
17506
  Pt as AbcIcon,