@dub/ui 0.0.38 → 0.0.39

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/button.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a}from"./chunk-OPHZGINY.mjs";import"./chunk-ZJTZUZXR.mjs";import"./chunk-KONPNG2A.mjs";import"./chunk-NECAZ5WT.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-7X376OXT.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-OYEGFR5W.mjs";import"./chunk-5EWSH7PD.mjs";import"./chunk-FH5PD4MQ.mjs";import"./chunk-QA2KCGIR.mjs";import"./chunk-26HQNNG5.mjs";import"./chunk-VD2EFOCP.mjs";import"./chunk-Z5P2KHPP.mjs";import"./chunk-KZA6ZEYV.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-CVOKYRYH.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Button};
2
+ import{a}from"./chunk-6RFRSYSI.mjs";import"./chunk-4TBGGJRE.mjs";import"./chunk-KONPNG2A.mjs";import"./chunk-NECAZ5WT.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-7X376OXT.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-OYEGFR5W.mjs";import"./chunk-5EWSH7PD.mjs";import"./chunk-FH5PD4MQ.mjs";import"./chunk-QA2KCGIR.mjs";import"./chunk-26HQNNG5.mjs";import"./chunk-VD2EFOCP.mjs";import"./chunk-Z5P2KHPP.mjs";import"./chunk-KZA6ZEYV.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-CVOKYRYH.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Button};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as s,g as m}from"./chunk-CVOKYRYH.mjs";import*as r from"@radix-ui/react-tooltip";import{HelpCircle as c}from"lucide-react";import x from"next/link";import{useState as d}from"react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function p({children:e,content:o,side:i="top"}){let[n,l]=d(!1);return t(r.Provider,{delayDuration:100,children:a(r.Root,{children:[t(r.Trigger,{className:"md:inline-flex",asChild:!0,onMouseEnter:()=>{l(!0)},onMouseLeave:()=>{l(!1)},onFocus:()=>{l(!0)},onBlur:()=>{l(!1)},children:e}),t(r.Portal,{children:t(r.Content,{sideOffset:8,side:i,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md md:block",children:typeof o=="string"?t("span",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:o}):o})})]})})}function h({title:e,cta:o,href:i,target:n,onClick:l}){return a("div",{className:"flex flex-col items-center space-y-3 p-4 text-center md:max-w-xs",children:[t("p",{className:"text-sm text-gray-700",children:e}),o&&(i?t(x,{href:i,...n?{target:n}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):l?t("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:l,children:o}):null)]})}function y({title:e,cta:o,href:i}){return a("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[e," ",t("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function T({content:e}){return t(p,{content:e,children:t(c,{className:"h-4 w-4 text-gray-500"})})}function N({value:e,unit:o="total clicks",children:i,lastClicked:n}){return(!e||e<1e3)&&!n?i:t(p,{content:a("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[a("p",{className:"text-sm font-semibold text-gray-700",children:[s(e||0,{full:!0})," ",o]}),n&&a("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",m(n,{withAgo:!0})]})]}),children:i})}export{p as a,h as b,y as c,T as d,N as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as d}from"./chunk-4TBGGJRE.mjs";import{a as b}from"./chunk-26HQNNG5.mjs";import{d as a}from"./chunk-CVOKYRYH.mjs";import{jsx as t,jsxs as l}from"react/jsx-runtime";function g({text:n,variant:r="primary",loading:o,icon:i,disabledTooltip:s,...e}){return s?t(d,{content:s,children:t("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:t("p",{children:n})})}):l("button",{type:e.onClick?"button":"submit",className:a("flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all focus:outline-none",e.disabled||o?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":r==="primary","border-gray-200 bg-white text-gray-500 hover:border-black hover:text-black":r==="secondary","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":r==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":r==="danger"},e.className),disabled:e.disabled||o,...e,children:[o?t(b,{}):i||null,t("p",{children:n})]})}export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as i}from"./chunk-6RFRSYSI.mjs";import{d}from"./chunk-CVOKYRYH.mjs";import{useMemo as x,useState as u}from"react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function T({title:m,description:g,inputData:t,helpText:f,buttonText:c="Save Changes",disabledTooltip:s,handleSubmit:p}){let[r,y]=u(t.defaultValue),[l,n]=u(!1),b=x(()=>l||!r||r===t.defaultValue,[l,r,t.defaultValue]);return a("form",{onSubmit:async o=>{o.preventDefault(),n(!0),await p({[t.name]:r}),n(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[a("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[a("div",{className:"flex flex-col space-y-3",children:[e("h2",{className:"text-xl font-medium",children:m}),e("p",{className:"text-sm text-gray-500",children:g})]}),typeof t.defaultValue=="string"?e("input",{...t,type:"text",required:!0,disabled:!!s,onChange:o=>y(o.target.value),className:d("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-300 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":s})}):e("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),a("div",{className:"flex items-center justify-between rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[e("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:f||""}}),e("div",{children:e(i,{text:c,loading:l,disabled:b,disabledTooltip:s})})]})]})}export{T as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a}from"./chunk-4TBGGJRE.mjs";import{d as i}from"./chunk-CVOKYRYH.mjs";import*as t from"@radix-ui/react-switch";import{jsx as e}from"react/jsx-runtime";function f({fn:s,trackDimensions:c,thumbDimensions:l,thumbTranslate:r,checked:d=!0,disabled:o=!1,disabledTooltip:n}){return n?e(a,{content:n,children:e("div",{className:"radix-state-checked:bg-gray-300 relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200",children:e("div",{className:"h-3 w-3 transform rounded-full bg-white shadow-lg"})})}):e(t.Root,{checked:d,name:"switch",onCheckedChange:u=>s(u),disabled:o,className:i(o?"cursor-not-allowed bg-gray-300":"radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 cursor-pointer focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","relative inline-flex h-4 w-8 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",c),children:e(t.Thumb,{className:i(`radix-state-checked:${r}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",l,r)})})}export{f as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-ZWEN5DP4.mjs";import{a as h}from"./chunk-HCI4NXL2.mjs";import{a as g}from"./chunk-7X376OXT.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{a as n}from"./chunk-NECAZ5WT.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{c as i}from"./chunk-CVOKYRYH.mjs";import o from"@vercel/analytics";import m from"next/link";import{useParams as f}from"next/navigation";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:p.map(({shortTitle:t,slug:s})=>({name:t,href:`/${s}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Help Center",href:"/help"},{name:"Pricing",href:"/pricing"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:s})=>({name:t,href:`/tools/${s}`}))};function L(){let{domain:t="dub.co"}=f(),s=a=>t==="dub.co"?a:`https://dub.co${a}`;return e("footer",{className:"z-10 border-t border-gray-200 bg-white/50 py-8 backdrop-blur-lg",children:r(h,{className:"pt-10",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-8",children:[r(m,{href:s("/"),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("div",{className:"flex items-center space-x-2",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://www.linkedin.com/company/dubhq/",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-5 w-5",fill:"#52525B"})]})]})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]})]})]}),e("div",{className:"mt-16 border-t border-gray-900/10 pt-8 sm:mt-20 lg:mt-24",children:r("p",{className:"text-sm leading-5 text-gray-500",children:["\xA9 ",new Date().getFullYear()," ",process.env.NEXT_PUBLIC_APP_NAME]})})]})})}export{L as a};
package/dist/form.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a}from"./chunk-JPMUKCOR.mjs";import"./chunk-OPHZGINY.mjs";import"./chunk-ZJTZUZXR.mjs";import"./chunk-KONPNG2A.mjs";import"./chunk-NECAZ5WT.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-7X376OXT.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-OYEGFR5W.mjs";import"./chunk-5EWSH7PD.mjs";import"./chunk-FH5PD4MQ.mjs";import"./chunk-QA2KCGIR.mjs";import"./chunk-26HQNNG5.mjs";import"./chunk-VD2EFOCP.mjs";import"./chunk-Z5P2KHPP.mjs";import"./chunk-KZA6ZEYV.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-CVOKYRYH.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Form};
2
+ import{a}from"./chunk-DD4VDDJ7.mjs";import"./chunk-6RFRSYSI.mjs";import"./chunk-4TBGGJRE.mjs";import"./chunk-KONPNG2A.mjs";import"./chunk-NECAZ5WT.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-7X376OXT.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-OYEGFR5W.mjs";import"./chunk-5EWSH7PD.mjs";import"./chunk-FH5PD4MQ.mjs";import"./chunk-QA2KCGIR.mjs";import"./chunk-26HQNNG5.mjs";import"./chunk-VD2EFOCP.mjs";import"./chunk-Z5P2KHPP.mjs";import"./chunk-KZA6ZEYV.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-CVOKYRYH.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Form};
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a as V}from"./chunk-XMVROX4C.mjs";import{a as W}from"./chunk-VBS7C56P.mjs";import{a as ro}from"./chunk-W5YDWGPP.mjs";import{a as L}from"./chunk-Z4MSMGYC.mjs";import{a as _}from"./chunk-O5BHK57C.mjs";import{a as $,b as oo}from"./chunk-3NL4SDQV.mjs";import{a as U}from"./chunk-GHK7HX35.mjs";import{a as Z}from"./chunk-JA4WRBK6.mjs";import{a as X,b as Y}from"./chunk-MTPTS4RB.mjs";import{a as M,b as N,c as O,d as P,e as Q,f as R,g as S}from"./chunk-UJKRGIPQ.mjs";import{a as T}from"./chunk-XDXOOSPE.mjs";import{a as o,b as r,c as m,d as p}from"./chunk-Z7HK5S6D.mjs";import{a as t,b as e}from"./chunk-TROULESB.mjs";import{a as f}from"./chunk-QDF6KFCS.mjs";import{a as x,b as i}from"./chunk-DIGHHPHP.mjs";import{a as G}from"./chunk-TUGGWHN2.mjs";import{a as J}from"./chunk-KMFFOM5M.mjs";import{a as H}from"./chunk-ZWEN5DP4.mjs";import{a as I}from"./chunk-HCI4NXL2.mjs";import{a as K}from"./chunk-JPMUKCOR.mjs";import{a as F}from"./chunk-OPHZGINY.mjs";import{a as A,b as B,c as C,d as D,e as E}from"./chunk-ZJTZUZXR.mjs";import"./chunk-KONPNG2A.mjs";import{a as q}from"./chunk-NECAZ5WT.mjs";import{a as c}from"./chunk-YURUGH4S.mjs";import{a as d}from"./chunk-2TGXECZQ.mjs";import{a as h}from"./chunk-EHYVEIOL.mjs";import{a as y}from"./chunk-7X376OXT.mjs";import{a as z}from"./chunk-GSQUGPJ2.mjs";import{a as u}from"./chunk-T4YFARK5.mjs";import{a as v}from"./chunk-OYEGFR5W.mjs";import{a as w}from"./chunk-5EWSH7PD.mjs";import{a as j}from"./chunk-FH5PD4MQ.mjs";import{a as k}from"./chunk-QA2KCGIR.mjs";import{a as l}from"./chunk-26HQNNG5.mjs";import{a as n}from"./chunk-VD2EFOCP.mjs";import{a}from"./chunk-Z5P2KHPP.mjs";import{a as b}from"./chunk-KZA6ZEYV.mjs";import{a as s}from"./chunk-MURAUI3W.mjs";import{a as g}from"./chunk-XSZV33MB.mjs";import"./chunk-CVOKYRYH.mjs";import"./chunk-AUBFB4SI.mjs";export{o as Accordion,p as AccordionContent,r as AccordionItem,m as AccordionTrigger,t as Avatar,f as Background,i as Badge,F as Button,a as Copy,G as CopyButton,b as ExpandingArrow,H as FEATURES_LIST,s as Facebook,J as Footer,K as Form,u as Github,v as Google,L as IconMenu,D as InfoTooltip,_ as InlineSnippet,$ as LinkPreview,oo as LinkPreviewPlaceholder,w as LinkedIn,j as LoadingCircle,k as LoadingDots,l as LoadingSpinner,n as Logo,q as LogoType,c as Magic,I as MaxWidthWrapper,U as Modal,Y as Nav,Z as NavMobile,E as NumberTooltip,d as Photo,V as Popover,C as SimpleTooltipContent,g as Success,W as Switch,ro as TabSelect,h as Tick,e as TokenAvatar,A as Tooltip,B as TooltipContent,y as Twitter,z as Unsplash,x as badgeVariants,X as navItems,M as useCookies,N as useCurrentAnchor,O as useIntersectionObserver,P as useLocalStorage,Q as useMediaQuery,R as useRouterStuff,S as useScroll,T as useToastWithUndo};
2
+ import{a as V}from"./chunk-XMVROX4C.mjs";import{a as W}from"./chunk-TL2LTBEN.mjs";import{a as ro}from"./chunk-W5YDWGPP.mjs";import{a as L}from"./chunk-Z4MSMGYC.mjs";import{a as _}from"./chunk-O5BHK57C.mjs";import{a as $,b as oo}from"./chunk-3NL4SDQV.mjs";import{a as U}from"./chunk-GHK7HX35.mjs";import{a as Z}from"./chunk-JA4WRBK6.mjs";import{a as X,b as Y}from"./chunk-MTPTS4RB.mjs";import{a as M,b as N,c as O,d as P,e as Q,f as R,g as S}from"./chunk-UJKRGIPQ.mjs";import{a as T}from"./chunk-XDXOOSPE.mjs";import{a as o,b as r,c as m,d as p}from"./chunk-Z7HK5S6D.mjs";import{a as t,b as e}from"./chunk-TROULESB.mjs";import{a as f}from"./chunk-QDF6KFCS.mjs";import{a as x,b as i}from"./chunk-DIGHHPHP.mjs";import{a as G}from"./chunk-TUGGWHN2.mjs";import{a as J}from"./chunk-KMFFOM5M.mjs";import{a as H}from"./chunk-ZWEN5DP4.mjs";import{a as I}from"./chunk-HCI4NXL2.mjs";import{a as K}from"./chunk-DD4VDDJ7.mjs";import{a as F}from"./chunk-6RFRSYSI.mjs";import{a as A,b as B,c as C,d as D,e as E}from"./chunk-4TBGGJRE.mjs";import"./chunk-KONPNG2A.mjs";import{a as q}from"./chunk-NECAZ5WT.mjs";import{a as c}from"./chunk-YURUGH4S.mjs";import{a as d}from"./chunk-2TGXECZQ.mjs";import{a as h}from"./chunk-EHYVEIOL.mjs";import{a as y}from"./chunk-7X376OXT.mjs";import{a as z}from"./chunk-GSQUGPJ2.mjs";import{a as u}from"./chunk-T4YFARK5.mjs";import{a as v}from"./chunk-OYEGFR5W.mjs";import{a as w}from"./chunk-5EWSH7PD.mjs";import{a as j}from"./chunk-FH5PD4MQ.mjs";import{a as k}from"./chunk-QA2KCGIR.mjs";import{a as l}from"./chunk-26HQNNG5.mjs";import{a as n}from"./chunk-VD2EFOCP.mjs";import{a}from"./chunk-Z5P2KHPP.mjs";import{a as b}from"./chunk-KZA6ZEYV.mjs";import{a as s}from"./chunk-MURAUI3W.mjs";import{a as g}from"./chunk-XSZV33MB.mjs";import"./chunk-CVOKYRYH.mjs";import"./chunk-AUBFB4SI.mjs";export{o as Accordion,p as AccordionContent,r as AccordionItem,m as AccordionTrigger,t as Avatar,f as Background,i as Badge,F as Button,a as Copy,G as CopyButton,b as ExpandingArrow,H as FEATURES_LIST,s as Facebook,J as Footer,K as Form,u as Github,v as Google,L as IconMenu,D as InfoTooltip,_ as InlineSnippet,$ as LinkPreview,oo as LinkPreviewPlaceholder,w as LinkedIn,j as LoadingCircle,k as LoadingDots,l as LoadingSpinner,n as Logo,q as LogoType,c as Magic,I as MaxWidthWrapper,U as Modal,Y as Nav,Z as NavMobile,E as NumberTooltip,d as Photo,V as Popover,C as SimpleTooltipContent,g as Success,W as Switch,ro as TabSelect,h as Tick,e as TokenAvatar,A as Tooltip,B as TooltipContent,y as Twitter,z as Unsplash,x as badgeVariants,X as navItems,M as useCookies,N as useCurrentAnchor,O as useIntersectionObserver,P as useLocalStorage,Q as useMediaQuery,R as useRouterStuff,S as useScroll,T as useToastWithUndo};
package/dist/switch.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a}from"./chunk-VBS7C56P.mjs";import"./chunk-ZJTZUZXR.mjs";import"./chunk-CVOKYRYH.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Switch};
2
+ import{a}from"./chunk-TL2LTBEN.mjs";import"./chunk-4TBGGJRE.mjs";import"./chunk-CVOKYRYH.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Switch};
package/dist/tooltip.d.ts CHANGED
@@ -27,6 +27,6 @@ declare function NumberTooltip({ value, unit, children, lastClicked, }: {
27
27
  unit?: string;
28
28
  children: ReactNode;
29
29
  lastClicked?: Date | null;
30
- }): string | number | boolean | Iterable<ReactNode> | React.PromiseLikeOfReactNode | react_jsx_runtime.JSX.Element | null | undefined;
30
+ }): string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<ReactNode> | React.PromiseLikeOfReactNode | null | undefined;
31
31
 
32
32
  export { InfoTooltip, NumberTooltip, SimpleTooltipContent, Tooltip, TooltipContent };
package/dist/tooltip.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a,b,c,d,e}from"./chunk-ZJTZUZXR.mjs";import"./chunk-CVOKYRYH.mjs";import"./chunk-AUBFB4SI.mjs";export{d as InfoTooltip,e as NumberTooltip,c as SimpleTooltipContent,a as Tooltip,b as TooltipContent};
2
+ import{a,b,c,d,e}from"./chunk-4TBGGJRE.mjs";import"./chunk-CVOKYRYH.mjs";import"./chunk-AUBFB4SI.mjs";export{d as InfoTooltip,e as NumberTooltip,c as SimpleTooltipContent,a as Tooltip,b as TooltipContent};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dub/ui",
3
3
  "description": "UI components for Dub.co",
4
- "version": "0.0.38",
4
+ "version": "0.0.39",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",