@validationcloud/fractal-ui 1.22.1 → 1.22.2

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.
Files changed (2) hide show
  1. package/dist/fractal-ui.js +14 -14
  2. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { jsx as i, jsxs as p, Fragment as g } from "react/jsx-runtime";
3
- import { Slot as M, ScrollArea as L, Tooltip as h } from "radix-ui";
2
+ import { jsx as i, jsxs as h, Fragment as g } from "react/jsx-runtime";
3
+ import { Slot as M, ScrollArea as L, Tooltip as p } from "radix-ui";
4
4
  import { forwardRef as v } from "react";
5
5
  import { extendTailwindMerge as b } from "tailwind-merge";
6
6
  import { Slot as w } from "@radix-ui/react-slot";
@@ -88,7 +88,7 @@ const A = v(
88
88
  f
89
89
  ),
90
90
  ...u,
91
- children: l ? n : /* @__PURE__ */ p(g, { children: [
91
+ children: l ? n : /* @__PURE__ */ h(g, { children: [
92
92
  e && /* @__PURE__ */ i(_, { padding: r, children: e }),
93
93
  n
94
94
  ] })
@@ -261,7 +261,7 @@ function j({
261
261
  className: a,
262
262
  ...f
263
263
  }) {
264
- return /* @__PURE__ */ p("div", { className: t("relative", a), ...f, children: [
264
+ return /* @__PURE__ */ h("div", { className: t("relative", a), ...f, children: [
265
265
  /* @__PURE__ */ i("div", { className: "absolute inset-0", children: /* @__PURE__ */ i(s, { icon: l, className: t("size-full", e) }) }),
266
266
  /* @__PURE__ */ i(
267
267
  "div",
@@ -448,7 +448,7 @@ function W({ name: l, size: e = "md", className: d, ...o }) {
448
448
  );
449
449
  }
450
450
  function J({ className: l, ...e }) {
451
- return /* @__PURE__ */ p("span", { className: t("relative inline-block", l), ...e, children: [
451
+ return /* @__PURE__ */ h("span", { className: t("relative inline-block", l), ...e, children: [
452
452
  /* @__PURE__ */ i("div", { className: "inline-block" }),
453
453
  /* @__PURE__ */ i("div", { className: t("absolute inset-0 animate-pulse rounded bg-neutral-50") })
454
454
  ] });
@@ -468,7 +468,7 @@ const U = {
468
468
  ...a
469
469
  }) => {
470
470
  const f = l === "filled", n = o || a["aria-invalid"];
471
- return /* @__PURE__ */ p(
471
+ return /* @__PURE__ */ h(
472
472
  "div",
473
473
  {
474
474
  className: t(
@@ -520,17 +520,17 @@ function X({
520
520
  children: C,
521
521
  ...F
522
522
  }) {
523
- return /* @__PURE__ */ p(
524
- h.Root,
523
+ return /* @__PURE__ */ h(
524
+ p.Root,
525
525
  {
526
526
  open: r,
527
527
  defaultOpen: a,
528
528
  onOpenChange: f,
529
529
  delayDuration: n,
530
530
  children: [
531
- /* @__PURE__ */ i(h.Trigger, { className: "cursor-pointer", asChild: !0, children: C }),
532
- /* @__PURE__ */ p(
533
- h.Content,
531
+ /* @__PURE__ */ i(p.Trigger, { className: "cursor-pointer", asChild: !0, children: C }),
532
+ /* @__PURE__ */ i(p.Portal, { children: /* @__PURE__ */ h(
533
+ p.Content,
534
534
  {
535
535
  className: t(
536
536
  "tg-caption text-neutral-20 max-h-(--radix-tooltip-content-available-height) origin-(--radix-tooltip-content-transform-origin) rounded-lg p-3 text-center text-pretty shadow-md",
@@ -547,7 +547,7 @@ function X({
547
547
  children: [
548
548
  l,
549
549
  /* @__PURE__ */ i(
550
- h.Arrow,
550
+ p.Arrow,
551
551
  {
552
552
  className: t(
553
553
  e === "bg-neutral-60" && "fill-neutral-60",
@@ -560,7 +560,7 @@ function X({
560
560
  )
561
561
  ]
562
562
  }
563
- )
563
+ ) })
564
564
  ]
565
565
  }
566
566
  );
@@ -571,7 +571,7 @@ function Y({
571
571
  skipDelayDuration: d = 50,
572
572
  ...o
573
573
  }) {
574
- return /* @__PURE__ */ i(h.TooltipProvider, { delayDuration: e, skipDelayDuration: d, ...o, children: l });
574
+ return /* @__PURE__ */ i(p.TooltipProvider, { delayDuration: e, skipDelayDuration: d, ...o, children: l });
575
575
  }
576
576
  export {
577
577
  B as Badge,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@validationcloud/fractal-ui",
3
3
  "private": false,
4
- "version": "1.22.1",
4
+ "version": "1.22.2",
5
5
  "module": "./dist/fractal-ui.js",
6
6
  "type": "module",
7
7
  "files": [