@doujins/payments-ui 0.1.13 → 0.1.15
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 +31 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +31 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -531,7 +531,7 @@ var Label = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
531
531
|
}
|
|
532
532
|
));
|
|
533
533
|
Label.displayName = LabelPrimitive.Root.displayName;
|
|
534
|
-
var Select = SelectPrimitive.Root;
|
|
534
|
+
var Select = ({ children, ...props }) => /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsx(SelectPrimitive.Root, { ...props, children }) });
|
|
535
535
|
var SelectValue = SelectPrimitive.Value;
|
|
536
536
|
var SelectTrigger = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
537
537
|
SelectPrimitive.Trigger,
|
|
@@ -575,25 +575,37 @@ var SelectScrollDownButton = React15.forwardRef(({ className, ...props }, ref) =
|
|
|
575
575
|
}
|
|
576
576
|
));
|
|
577
577
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
578
|
-
var SelectContent = React15.forwardRef(
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
sideOffset:
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
578
|
+
var SelectContent = React15.forwardRef(
|
|
579
|
+
({
|
|
580
|
+
className,
|
|
581
|
+
children,
|
|
582
|
+
position = "popper",
|
|
583
|
+
side = "bottom",
|
|
584
|
+
sideOffset = 4,
|
|
585
|
+
align = "start",
|
|
586
|
+
...props
|
|
587
|
+
}, ref) => {
|
|
588
|
+
const popperProps = position === "popper" ? { side, sideOffset, align } : {};
|
|
589
|
+
return /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
|
|
590
|
+
SelectPrimitive.Content,
|
|
591
|
+
{
|
|
592
|
+
ref,
|
|
593
|
+
className: cn(
|
|
594
|
+
"z-[200] max-h-64 w-[var(--radix-select-trigger-width)] 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",
|
|
595
|
+
className
|
|
596
|
+
),
|
|
597
|
+
position,
|
|
598
|
+
...popperProps,
|
|
599
|
+
...props,
|
|
600
|
+
children: [
|
|
601
|
+
/* @__PURE__ */ jsx(SelectScrollUpButton, {}),
|
|
602
|
+
/* @__PURE__ */ jsx(SelectPrimitive.Viewport, { className: "p-1", children }),
|
|
603
|
+
/* @__PURE__ */ jsx(SelectScrollDownButton, {})
|
|
604
|
+
]
|
|
605
|
+
}
|
|
606
|
+
) });
|
|
595
607
|
}
|
|
596
|
-
)
|
|
608
|
+
);
|
|
597
609
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
598
610
|
var SelectLabel = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
599
611
|
SelectPrimitive.Label,
|