@dub/ui 0.1.3 → 0.1.5
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.
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as i}from"./chunk-XC2US7XQ.mjs";import{AnimatePresence as s,motion as a}from"framer-motion";import r from"js-cookie";import{X as u}from"lucide-react";import l from"next/image";import d from"next/link";import{useState as m}from"react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function N(){let[o,n]=m(r.get("hideProductHuntBanner")==="1");return e(i,{children:e(s,{children:!o&&e(c,{handleClose:()=>{n(!0),r.set("hideProductHuntBanner","1")}})})})}function c({handleClose:o}){return t(a.div,{className:"xs:left-4 xs:mx-auto xs:max-w-xs group fixed bottom-4 z-40 mx-2 rounded-lg border border-gray-200 bg-white p-2 pb-4 pr-4 shadow-md",initial:{opacity:0,y:50},animate:{opacity:1,y:0},exit:{y:250},children:[t("div",{className:"invisible absolute right-4 top-4 h-3 w-3 group-hover:invisible sm:visible",children:[e("div",{className:"absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full bg-green-500"}),e("div",{className:"absolute inset-0 z-10 m-auto h-3 w-3 rounded-full bg-green-500"})]}),e("button",{className:"visible absolute right-2.5 top-2.5 rounded-full p-1 transition-colors hover:bg-gray-100 active:scale-90 group-hover:visible sm:invisible",onClick:o,children:e(u,{className:"h-4 w-4 text-gray-500"})}),t(d,{href:"https://d.to/ph?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-dub",target:"_blank",children:[e(l,{src:"https://assets.dub.co/misc/product-hunt.png",alt:"Product Hunt",width:100,height:100,className:"h-24"}),t("div",{className:"-mt-2 px-4",children:[e("p",{className:"mb-1 font-medium text-gray-800",children:"We're live on Product Hunt!"}),e("p",{className:"text-sm text-gray-500 underline-offset-4 transition-all group-hover:text-gray-800 group-hover:underline",children:"Join the conversation and help us get to #1 Product of the Month \u2197"})]})]})]},"product-hunt-banner")}export{N as a,c as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as i}from"./chunk-TFE67GSD.mjs";import{AnimatePresence as s,motion as a}from"framer-motion";import r from"js-cookie";import{X as u}from"lucide-react";import l from"next/image";import d from"next/link";import{useState as m}from"react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function N(){let[o,n]=m(r.get("hideProductHuntBanner")==="1");return e(i,{children:e(s,{children:!o&&e(c,{handleClose:()=>{n(!0),r.set("hideProductHuntBanner","1")}})})})}function c({handleClose:o}){return t(a.div,{className:"xs:left-4 xs:mx-auto xs:max-w-xs group fixed bottom-4 z-40 mx-2 rounded-lg border border-gray-200 bg-white p-2 pb-4 pr-4 shadow-md",initial:{opacity:0,y:50},animate:{opacity:1,y:0},exit:{y:250},children:[t("div",{className:"invisible absolute right-4 top-4 h-3 w-3 group-hover:invisible sm:visible",children:[e("div",{className:"absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full bg-green-500"}),e("div",{className:"absolute inset-0 z-10 m-auto h-3 w-3 rounded-full bg-green-500"})]}),e("button",{className:"visible absolute right-2.5 top-2.5 rounded-full p-1 transition-colors hover:bg-gray-100 active:scale-90 group-hover:visible sm:invisible",onClick:o,children:e(u,{className:"h-4 w-4 text-gray-500"})}),t(d,{href:"https://d.to/ph?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-dub",target:"_blank",children:[e(l,{src:"https://assets.dub.co/misc/product-hunt.png",alt:"Product Hunt",width:100,height:100,className:"h-24"}),t("div",{className:"-mt-2 px-4",children:[e("p",{className:"mb-1 font-medium text-gray-800",children:"We're live on Product Hunt!"}),e("p",{className:"text-sm text-gray-500 underline-offset-4 transition-all group-hover:text-gray-800 group-hover:underline",children:"Join the conversation and help us get to #1 Product of the Month \u2197"})]})]})]},"product-hunt-banner")}export{N as a,c as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as o}from"./chunk-YV33XVHD.mjs";import{useEffect as c,useState as i}from"react";import{jsx as d}from"react/jsx-runtime";var p=({children:a,fallback:l,fadeIn:e=!1})=>{let[t,n]=i(!1);return c(()=>{n(!0)},[]),t?d("div",{className:o({"opacity-0 transition-opacity duration-500":e,"opacity-100":e&&t}),children:a}):l||null};export{p as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as o}from"./chunk-YV33XVHD.mjs";import{useEffect as c,useState as i}from"react";import{jsx as d}from"react/jsx-runtime";var p=({children:a,fallback:l,fadeIn:t=!1})=>{let[e,n]=i(!1);return c(()=>{n(!0)},[]),e?d("div",{className:o("transition-opacity duration-500",{"opacity-0":t&&!e,"opacity-100":t&&e}),children:a}):l||null};export{p as a};
|
package/dist/client-only.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-XC2US7XQ.mjs";import"./chunk-YV33XVHD.mjs";import"./chunk-AUBFB4SI.mjs";export{a as ClientOnly};
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a as ko,b as lo}from"./chunk-
|
|
2
|
+
import{a as ko,b as lo}from"./chunk-O42GM4YH.mjs";import{a as no}from"./chunk-FSL5QJVE.mjs";import{a as eo,b as fo}from"./chunk-5ZJWTMMF.mjs";import{a as xo}from"./chunk-AXMF554B.mjs";import{a as qo}from"./chunk-H3RE23TU.mjs";import{a as mo}from"./chunk-BO47DHRE.mjs";import{a as go}from"./chunk-NY2Q4I4Y.mjs";import{a as ho,b as jo}from"./chunk-VGEZ3AWQ.mjs";import{a as po}from"./chunk-7DALL3JQ.mjs";import{a as bo}from"./chunk-TZ57DJAG.mjs";import{a as io,b as ao}from"./chunk-2PMONTPQ.mjs";import{a as to}from"./chunk-MZXIL6VD.mjs";import{a as N}from"./chunk-QNWPNJMA.mjs";import{a as O}from"./chunk-UAWQFYL2.mjs";import{a as R}from"./chunk-GK3K5AAP.mjs";import{a as P}from"./chunk-A75RGEGE.mjs";import{a as Q}from"./chunk-6MMCQDBH.mjs";import{a as S}from"./chunk-KZONJLRT.mjs";import{a as T}from"./chunk-QJ3GEUR3.mjs";import{a as co}from"./chunk-O5BHK57C.mjs";import{a as ro}from"./chunk-UHFHEIIC.mjs";import{a as U,b as V,c as W,d as X,e as Y,f as Z,g as _,h as $}from"./chunk-NJODFR67.mjs";import{a as oo}from"./chunk-XDXOOSPE.mjs";import{a as o,b as r,c as m,d as p}from"./chunk-YXHVKJBH.mjs";import{a as t,b as e}from"./chunk-CRGBHEKU.mjs";import{a as f}from"./chunk-DSCUUAKG.mjs";import{a}from"./chunk-4FIKBXJ3.mjs";import{a as K}from"./chunk-7A2SMMD7.mjs";import{a as C,b as D,c as E,d as F,e as G,f as H,g as I,h as J}from"./chunk-4EV2HAUC.mjs";import"./chunk-YPE32NUI.mjs";import{a as A}from"./chunk-GSQUGPJ2.mjs";import{a as B}from"./chunk-B5QYWKCW.mjs";import{a as n}from"./chunk-4PNIZP4D.mjs";import{a as q}from"./chunk-V73RCVXE.mjs";import{a as s}from"./chunk-BCKBQP6A.mjs";import{a as d}from"./chunk-YURUGH4S.mjs";import{a as g}from"./chunk-2TGXECZQ.mjs";import{a as j}from"./chunk-EHYVEIOL.mjs";import{a as z}from"./chunk-VWVFVW4E.mjs";import{a as c}from"./chunk-X2KOXIEQ.mjs";import{a as u}from"./chunk-MURAUI3W.mjs";import{a as v}from"./chunk-T4YFARK5.mjs";import{a as w}from"./chunk-QROG2QLI.mjs";import{a as y}from"./chunk-BDMXJXHH.mjs";import{a as k}from"./chunk-KNCBG7KZ.mjs";import{a as l}from"./chunk-QA2KCGIR.mjs";import{a as b}from"./chunk-BKZ6TNZC.mjs";import{a as h}from"./chunk-XSZV33MB.mjs";import{a as x,b as i}from"./chunk-3MGZP5EP.mjs";import{a as L}from"./chunk-LA2ZIBRJ.mjs";import{a as M}from"./chunk-XC2US7XQ.mjs";import"./chunk-YV33XVHD.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,J as BadgeTooltip,a as BlurImage,K as Button,L as Checkbox,M as ClientOnly,b as Copy,N as CopyButton,O as CountingNumbers,c as ExpandingArrow,P as FEATURES_LIST,u as Facebook,R as Footer,S as Form,v as Github,w as Google,T as IconMenu,H as InfoTooltip,co as InlineSnippet,ro as InputSelect,mo as Label,go as LinkLogo,ho as LinkPreview,jo as LinkPreviewPlaceholder,y as LinkedIn,G as LinkifyTooltipContent,k as LoadingCircle,l as LoadingDots,n as LoadingSpinner,q as Logo,s as LogoType,d as Magic,Q as MaxWidthWrapper,po as Modal,ao as Nav,bo as NavMobile,I as NumberTooltip,g as Photo,to as Popover,ko as ProductHunt,lo as ProductHuntPopup,no as ProgressBar,eo as RadioGroup,fo as RadioGroupItem,F as SimpleTooltipContent,h as Success,xo as Switch,qo as TabSelect,j as Tick,e as TokenAvatar,D as Tooltip,E as TooltipContent,C as TooltipProvider,z as Twitter,A as Unsplash,B as YouTube,x as badgeVariants,io as navItems,U as useCookies,V as useCurrentAnchor,W as useIntersectionObserver,X as useLocalStorage,Y as useMediaQuery,Z as useOptimisticUpdate,_ as useRouterStuff,$ as useScroll,oo as useToastWithUndo};
|
package/dist/product-hunt.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"./chunk-
|
|
2
|
+
import{a,b}from"./chunk-O42GM4YH.mjs";import"./chunk-XC2US7XQ.mjs";import"./chunk-YV33XVHD.mjs";import"./chunk-AUBFB4SI.mjs";export{a as ProductHunt,b as ProductHuntPopup};
|