@danxbot/ui 4.1.9 → 4.1.11
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
|
@@ -13672,7 +13672,7 @@ const uO = [
|
|
|
13672
13672
|
"data-starting-style:scale-95 data-starting-style:opacity-0",
|
|
13673
13673
|
"data-ending-style:opacity-0 data-ending-style:duration-(--dur-exit) data-ending-style:ease-exit"
|
|
13674
13674
|
], T0 = "max-h-[min(var(--dx-popover-h,80vh),80vh,var(--available-height))]", dO = [
|
|
13675
|
-
"max-w-[min(var(--dx-popover-w,calc(20rem*var(--ui-scale))),
|
|
13675
|
+
"max-w-[min(var(--dx-popover-w,calc(20rem*var(--ui-scale))),90vw,var(--available-width))]",
|
|
13676
13676
|
T0,
|
|
13677
13677
|
"flex flex-col"
|
|
13678
13678
|
], P0 = "flex min-h-0 flex-col overflow-y-auto", O0 = [
|
|
@@ -13690,43 +13690,45 @@ const uO = [
|
|
|
13690
13690
|
];
|
|
13691
13691
|
function nr({
|
|
13692
13692
|
trigger: e,
|
|
13693
|
-
|
|
13694
|
-
|
|
13695
|
-
|
|
13696
|
-
|
|
13697
|
-
|
|
13698
|
-
|
|
13699
|
-
|
|
13700
|
-
|
|
13701
|
-
|
|
13702
|
-
|
|
13703
|
-
"aria-
|
|
13693
|
+
open: t,
|
|
13694
|
+
side: n = "bottom",
|
|
13695
|
+
align: r = "center",
|
|
13696
|
+
arrow: o = !1,
|
|
13697
|
+
width: s,
|
|
13698
|
+
className: i,
|
|
13699
|
+
children: a,
|
|
13700
|
+
ref: l,
|
|
13701
|
+
defaultOpen: c,
|
|
13702
|
+
onOpenChange: u,
|
|
13703
|
+
"aria-labelledby": m,
|
|
13704
|
+
"aria-label": d
|
|
13704
13705
|
}) {
|
|
13705
13706
|
return /* @__PURE__ */ T(
|
|
13706
13707
|
E2,
|
|
13707
13708
|
{
|
|
13708
|
-
|
|
13709
|
-
|
|
13709
|
+
open: t,
|
|
13710
|
+
defaultOpen: c,
|
|
13711
|
+
onOpenChange: u && ((h) => u(h)),
|
|
13710
13712
|
children: [
|
|
13711
13713
|
/* @__PURE__ */ f(l0, { render: e }),
|
|
13712
13714
|
/* @__PURE__ */ f(c0, { children: /* @__PURE__ */ f(
|
|
13713
13715
|
m0,
|
|
13714
13716
|
{
|
|
13715
|
-
side:
|
|
13716
|
-
align:
|
|
13717
|
+
side: n,
|
|
13718
|
+
align: r,
|
|
13717
13719
|
sideOffset: 8,
|
|
13718
13720
|
className: "z-(--z-popover) outline-none",
|
|
13719
13721
|
children: /* @__PURE__ */ T(
|
|
13720
13722
|
x0,
|
|
13721
13723
|
{
|
|
13722
|
-
ref:
|
|
13723
|
-
"aria-labelledby":
|
|
13724
|
-
"aria-label":
|
|
13725
|
-
style:
|
|
13726
|
-
className: W(uO, dO, "p-4",
|
|
13724
|
+
ref: l,
|
|
13725
|
+
"aria-labelledby": m,
|
|
13726
|
+
"aria-label": d,
|
|
13727
|
+
style: s ? { "--dx-popover-w": s } : void 0,
|
|
13728
|
+
className: W(uO, dO, "p-4", i),
|
|
13727
13729
|
children: [
|
|
13728
|
-
|
|
13729
|
-
/* @__PURE__ */ f("div", { className: P0, children:
|
|
13730
|
+
o && /* @__PURE__ */ f(y0, { className: W(O0), children: /* @__PURE__ */ f("span", { className: W(A0) }) }),
|
|
13731
|
+
/* @__PURE__ */ f("div", { className: P0, children: a })
|
|
13730
13732
|
]
|
|
13731
13733
|
}
|
|
13732
13734
|
)
|
|
@@ -45855,9 +45857,10 @@ function IU({
|
|
|
45855
45857
|
triggerContent: a,
|
|
45856
45858
|
valueContent: l,
|
|
45857
45859
|
onOpenChange: c,
|
|
45858
|
-
className: u
|
|
45860
|
+
className: u,
|
|
45861
|
+
width: m = "30rem"
|
|
45859
45862
|
}) {
|
|
45860
|
-
const
|
|
45863
|
+
const d = uk(e, { emptyLabel: n, redactedLabel: r }), p = `provenance-${Ut()}`, h = /* @__PURE__ */ T(
|
|
45861
45864
|
"button",
|
|
45862
45865
|
{
|
|
45863
45866
|
type: "button",
|
|
@@ -45891,7 +45894,7 @@ function IU({
|
|
|
45891
45894
|
single unbroken token that would otherwise push the column. */
|
|
45892
45895
|
i ? "whitespace-normal break-words" : "truncate"
|
|
45893
45896
|
),
|
|
45894
|
-
children:
|
|
45897
|
+
children: d
|
|
45895
45898
|
}
|
|
45896
45899
|
),
|
|
45897
45900
|
s !== "none" && /* @__PURE__ */ f(
|
|
@@ -45917,13 +45920,13 @@ function IU({
|
|
|
45917
45920
|
return /* @__PURE__ */ f(
|
|
45918
45921
|
nr,
|
|
45919
45922
|
{
|
|
45920
|
-
trigger:
|
|
45923
|
+
trigger: h,
|
|
45921
45924
|
side: "bottom",
|
|
45922
45925
|
align: "start",
|
|
45923
|
-
width:
|
|
45926
|
+
width: m,
|
|
45924
45927
|
className: "p-0",
|
|
45925
45928
|
onOpenChange: c,
|
|
45926
|
-
"aria-labelledby":
|
|
45929
|
+
"aria-labelledby": p,
|
|
45927
45930
|
children: /* @__PURE__ */ f(
|
|
45928
45931
|
l4,
|
|
45929
45932
|
{
|
|
@@ -45933,7 +45936,7 @@ function IU({
|
|
|
45933
45936
|
redactedLabel: r,
|
|
45934
45937
|
ratingLabel: o,
|
|
45935
45938
|
valueContent: l,
|
|
45936
|
-
titleId:
|
|
45939
|
+
titleId: p
|
|
45937
45940
|
}
|
|
45938
45941
|
)
|
|
45939
45942
|
}
|