@doujins/payments-ui 0.1.12 → 0.1.14
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.cjs +13 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -564,7 +564,7 @@ var Label = React15__namespace.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
564
564
|
}
|
|
565
565
|
));
|
|
566
566
|
Label.displayName = LabelPrimitive__namespace.Root.displayName;
|
|
567
|
-
var Select = SelectPrimitive__namespace.Root;
|
|
567
|
+
var Select = ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Root, { ...props, children }) });
|
|
568
568
|
var SelectValue = SelectPrimitive__namespace.Value;
|
|
569
569
|
var SelectTrigger = React15__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
570
570
|
SelectPrimitive__namespace.Trigger,
|
|
@@ -608,33 +608,31 @@ var SelectScrollDownButton = React15__namespace.forwardRef(({ className, ...prop
|
|
|
608
608
|
}
|
|
609
609
|
));
|
|
610
610
|
SelectScrollDownButton.displayName = SelectPrimitive__namespace.ScrollDownButton.displayName;
|
|
611
|
-
var SelectContent = React15__namespace.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsxRuntime.
|
|
611
|
+
var SelectContent = React15__namespace.forwardRef(({ className, children, position = "popper", style, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
612
612
|
SelectPrimitive__namespace.Content,
|
|
613
613
|
{
|
|
614
614
|
ref,
|
|
615
615
|
className: cn(
|
|
616
|
-
"
|
|
617
|
-
position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
616
|
+
"z-[200] max-h-64 w-full overflow-y-auto overflow-x-hidden rounded-md border border-white/20 bg-background-regular text-foreground shadow-lg backdrop-blur-xl data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
618
617
|
className
|
|
619
618
|
),
|
|
620
619
|
position,
|
|
620
|
+
style: {
|
|
621
|
+
// Override Floating UI positioning to work inside transformed modals
|
|
622
|
+
position: "absolute",
|
|
623
|
+
top: "100%",
|
|
624
|
+
left: 0,
|
|
625
|
+
marginTop: "4px",
|
|
626
|
+
...style
|
|
627
|
+
},
|
|
621
628
|
...props,
|
|
622
629
|
children: [
|
|
623
630
|
/* @__PURE__ */ jsxRuntime.jsx(SelectScrollUpButton, {}),
|
|
624
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
625
|
-
SelectPrimitive__namespace.Viewport,
|
|
626
|
-
{
|
|
627
|
-
className: cn(
|
|
628
|
-
"p-1",
|
|
629
|
-
position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
|
|
630
|
-
),
|
|
631
|
-
children
|
|
632
|
-
}
|
|
633
|
-
),
|
|
631
|
+
/* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Viewport, { className: "p-1", children }),
|
|
634
632
|
/* @__PURE__ */ jsxRuntime.jsx(SelectScrollDownButton, {})
|
|
635
633
|
]
|
|
636
634
|
}
|
|
637
|
-
)
|
|
635
|
+
));
|
|
638
636
|
SelectContent.displayName = SelectPrimitive__namespace.Content.displayName;
|
|
639
637
|
var SelectLabel = React15__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
640
638
|
SelectPrimitive__namespace.Label,
|