@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.js CHANGED
@@ -575,33 +575,25 @@ var SelectScrollDownButton = React15.forwardRef(({ className, ...props }, ref) =
575
575
  }
576
576
  ));
577
577
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
578
- var SelectContent = React15.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
578
+ var SelectContent = React15.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsxs(
579
579
  SelectPrimitive.Content,
580
580
  {
581
581
  ref,
582
582
  className: cn(
583
- "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]",
584
- 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",
583
+ "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",
584
+ position === "popper" && "w-[var(--radix-select-trigger-width)]",
585
585
  className
586
586
  ),
587
587
  position,
588
+ sideOffset: 4,
588
589
  ...props,
589
590
  children: [
590
591
  /* @__PURE__ */ jsx(SelectScrollUpButton, {}),
591
- /* @__PURE__ */ jsx(
592
- SelectPrimitive.Viewport,
593
- {
594
- className: cn(
595
- "p-1",
596
- position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
597
- ),
598
- children
599
- }
600
- ),
592
+ /* @__PURE__ */ jsx(SelectPrimitive.Viewport, { className: "p-1", children }),
601
593
  /* @__PURE__ */ jsx(SelectScrollDownButton, {})
602
594
  ]
603
595
  }
604
- ) }));
596
+ ));
605
597
  SelectContent.displayName = SelectPrimitive.Content.displayName;
606
598
  var SelectLabel = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
607
599
  SelectPrimitive.Label,