@doujins/payments-ui 0.1.12 → 0.1.13

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 CHANGED
@@ -608,33 +608,25 @@ 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.jsx(SelectPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxs(
611
+ var SelectContent = React15__namespace.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
612
612
  SelectPrimitive__namespace.Content,
613
613
  {
614
614
  ref,
615
615
  className: cn(
616
- "relative z-[200] max-h-64 min-w-[8rem] 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 origin-[--radix-select-content-transform-origin]",
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
+ "relative z-[200] max-h-64 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",
617
+ position === "popper" && "w-[var(--radix-select-trigger-width)]",
618
618
  className
619
619
  ),
620
620
  position,
621
+ sideOffset: 4,
621
622
  ...props,
622
623
  children: [
623
624
  /* @__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
- ),
625
+ /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Viewport, { className: "p-1", children }),
634
626
  /* @__PURE__ */ jsxRuntime.jsx(SelectScrollDownButton, {})
635
627
  ]
636
628
  }
637
- ) }));
629
+ ));
638
630
  SelectContent.displayName = SelectPrimitive__namespace.Content.displayName;
639
631
  var SelectLabel = React15__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
640
632
  SelectPrimitive__namespace.Label,