@szum-tech/design-system
Version:
Szum-Tech design system with tailwindcss support
1 lines • 1.5 kB
JavaScript
import {a}from'./chunk-JUNHRB4B.js';import {Popover}from'radix-ui';import {jsx}from'react/jsx-runtime';function x(o){return jsx(Popover.Root,{"data-slot":"popover",...o})}function C(o){return jsx(Popover.Anchor,{"data-slot":"popover-anchor",...o})}function b({className:o,align:e="center",sideOffset:i=4,...a$1}){return jsx(Popover.Portal,{children:jsx(Popover.Content,{"data-slot":"popover-content",align:e,sideOffset:i,className:a("bg-popover text-popover-foreground ring-foreground/10 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100","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",o),...a$1})})}function w(o){return jsx(Popover.Trigger,{"data-slot":"popover-trigger",...o})}function B({className:o,...e}){return jsx("div",{"data-slot":"popover-header",className:a("flex flex-col gap-0.5 text-sm",o),...e})}function I({className:o,...e}){return jsx("h2",{"data-slot":"popover-title",className:a("font-medium",o),...e})}function M({className:o,...e}){return jsx("p",{"data-slot":"popover-description",className:a("text-muted-foreground",o),...e})}export{x as a,C as b,b as c,w as d,B as e,I as f,M as g};