@dub/ui 0.0.1 → 0.0.3
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/.turbo/turbo-build.log +65 -62
- package/dist/accordion.mjs +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/button.mjs +1 -1
- package/dist/chunk-5O4OBNYJ.mjs +2 -0
- package/dist/chunk-CJLSWYVX.mjs +2 -0
- package/dist/chunk-DZBC27CZ.mjs +2 -0
- package/dist/chunk-FV4B2NDA.mjs +2 -0
- package/dist/chunk-JESSRQ5J.mjs +2 -0
- package/dist/chunk-MBHBXZRO.mjs +2 -0
- package/dist/chunk-PHU6NRSR.mjs +1 -0
- package/dist/chunk-PJ73TQBC.mjs +2 -0
- package/dist/chunk-SUMICSDA.mjs +2 -0
- package/dist/chunk-UKAF5WRD.mjs +2 -0
- package/dist/chunk-WBE6IBQV.mjs +2 -0
- package/dist/chunk-XCUSS3YO.mjs +2 -0
- package/dist/chunk-YURUGH4S.mjs +2 -0
- package/dist/copy-button.mjs +1 -1
- package/dist/footer.mjs +1 -1
- package/dist/form.mjs +1 -1
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.mjs +1 -1
- package/dist/icons/magic.d.ts +7 -0
- package/dist/icons/magic.mjs +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +1 -1
- package/dist/link-preview.mjs +1 -1
- package/dist/modal.mjs +1 -1
- package/dist/nav-mobile.mjs +1 -1
- package/dist/nav.mjs +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/tooltip.mjs +1 -1
- package/package.json +1 -1
- package/src/accordion.tsx +1 -1
- package/src/badge.tsx +1 -1
- package/src/footer.tsx +1 -1
- package/src/icons/index.tsx +1 -0
- package/src/icons/magic.tsx +30 -0
- package/src/modal.tsx +1 -1
- package/src/nav.tsx +1 -1
- package/src/switch.tsx +1 -1
- package/src/tooltip.tsx +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,96 +1,98 @@
|
|
|
1
1
|
|
|
2
|
-
> @dub/ui@0.0.
|
|
2
|
+
> @dub/ui@0.0.3 build /Users/steventey/Desktop/dub/packages/ui
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
|
-
CLI Building entry: src/accordion.tsx, src/avatar.tsx, src/background.tsx, src/badge.tsx, src/button.tsx, src/copy-button.tsx, src/footer.tsx, src/form.tsx, src/icon-menu.tsx, src/index.tsx, src/link-preview.tsx, src/max-width-wrapper.tsx, src/modal.tsx, src/nav-mobile.tsx, src/nav.tsx, src/popover.tsx, src/switch.tsx, src/tab-select.tsx, src/tooltip.tsx, src/icons/copy.tsx, src/icons/expanding-arrow.tsx, src/icons/facebook.tsx, src/icons/github.tsx, src/icons/google.tsx, src/icons/index.tsx, src/icons/linkedin.tsx, src/icons/loading-circle.tsx, src/icons/loading-dots.tsx, src/icons/loading-spinner.tsx, src/icons/logo.tsx, src/icons/logotype.tsx, src/icons/photo.tsx, src/icons/tick.tsx, src/icons/twitter.tsx, src/icons/unsplash.tsx
|
|
5
|
+
CLI Building entry: src/accordion.tsx, src/avatar.tsx, src/background.tsx, src/badge.tsx, src/button.tsx, src/copy-button.tsx, src/footer.tsx, src/form.tsx, src/icon-menu.tsx, src/index.tsx, src/link-preview.tsx, src/max-width-wrapper.tsx, src/modal.tsx, src/nav-mobile.tsx, src/nav.tsx, src/popover.tsx, src/switch.tsx, src/tab-select.tsx, src/tooltip.tsx, src/icons/copy.tsx, src/icons/expanding-arrow.tsx, src/icons/facebook.tsx, src/icons/github.tsx, src/icons/google.tsx, src/icons/index.tsx, src/icons/linkedin.tsx, src/icons/loading-circle.tsx, src/icons/loading-dots.tsx, src/icons/loading-spinner.tsx, src/icons/logo.tsx, src/icons/logotype.tsx, src/icons/magic.tsx, src/icons/photo.tsx, src/icons/tick.tsx, src/icons/twitter.tsx, src/icons/unsplash.tsx
|
|
6
6
|
CLI Using tsconfig: tsconfig.json
|
|
7
7
|
CLI tsup v6.1.3
|
|
8
8
|
CLI Using tsup config: /Users/steventey/Desktop/dub/packages/ui/tsup.config.ts
|
|
9
9
|
CLI Target: node14
|
|
10
10
|
ESM Build start
|
|
11
11
|
DTS Build start
|
|
12
|
-
ESM ⚡️ Build success in
|
|
12
|
+
ESM ⚡️ Build success in 699ms
|
|
13
|
+
ESM dist/icons/photo.mjs 72.00 B
|
|
14
|
+
ESM dist/icons/twitter.mjs 72.00 B
|
|
15
|
+
ESM dist/icons/loading-dots.mjs 72.00 B
|
|
16
|
+
ESM dist/icons/linkedin.mjs 72.00 B
|
|
13
17
|
ESM dist/icons/loading-circle.mjs 72.00 B
|
|
14
|
-
ESM dist/icons/index.mjs 887.00 B
|
|
15
|
-
ESM dist/icons/unsplash.mjs 72.00 B
|
|
16
18
|
ESM dist/icons/logo.mjs 72.00 B
|
|
17
|
-
ESM dist/icons/loading-spinner.mjs 72.00 B
|
|
18
19
|
ESM dist/icons/logotype.mjs 72.00 B
|
|
19
|
-
ESM dist/icons/photo.mjs 72.00 B
|
|
20
20
|
ESM dist/switch.mjs 128.00 B
|
|
21
|
-
ESM dist/icons/twitter.mjs 72.00 B
|
|
22
|
-
ESM dist/tab-select.mjs 73.00 B
|
|
23
|
-
ESM dist/tooltip.mjs 190.00 B
|
|
24
21
|
ESM dist/icons/tick.mjs 72.00 B
|
|
25
|
-
ESM dist/
|
|
22
|
+
ESM dist/tooltip.mjs 190.00 B
|
|
23
|
+
ESM dist/icons/unsplash.mjs 72.00 B
|
|
24
|
+
ESM dist/icons/copy.mjs 72.00 B
|
|
26
25
|
ESM dist/icons/expanding-arrow.mjs 72.00 B
|
|
27
|
-
ESM dist/
|
|
28
|
-
ESM dist/index.mjs 2.
|
|
26
|
+
ESM dist/icons/magic.mjs 72.00 B
|
|
27
|
+
ESM dist/index.mjs 2.35 KB
|
|
28
|
+
ESM dist/icons/google.mjs 72.00 B
|
|
29
|
+
ESM dist/chunk-PJ73TQBC.mjs 1.22 KB
|
|
30
|
+
ESM dist/icons/loading-spinner.mjs 72.00 B
|
|
29
31
|
ESM dist/icons/github.mjs 72.00 B
|
|
30
|
-
ESM dist/
|
|
31
|
-
ESM dist/
|
|
32
|
-
ESM dist/
|
|
33
|
-
ESM dist/
|
|
32
|
+
ESM dist/icons/facebook.mjs 72.00 B
|
|
33
|
+
ESM dist/icon-menu.mjs 72.00 B
|
|
34
|
+
ESM dist/icons/index.mjs 940.00 B
|
|
35
|
+
ESM dist/chunk-SUMICSDA.mjs 2.49 KB
|
|
36
|
+
ESM dist/link-preview.mjs 568.00 B
|
|
37
|
+
ESM dist/chunk-WBE6IBQV.mjs 2.07 KB
|
|
34
38
|
ESM dist/chunk-Z4MSMGYC.mjs 232.00 B
|
|
35
|
-
ESM dist/
|
|
36
|
-
ESM dist/
|
|
37
|
-
ESM dist/chunk-B4HABAR3.mjs 1.43 KB
|
|
38
|
-
ESM dist/link-preview.mjs 539.00 B
|
|
39
|
-
ESM dist/nav.mjs 634.00 B
|
|
39
|
+
ESM dist/nav-mobile.mjs 682.00 B
|
|
40
|
+
ESM dist/chunk-UKAF5WRD.mjs 3.96 KB
|
|
40
41
|
ESM dist/max-width-wrapper.mjs 79.00 B
|
|
41
|
-
ESM dist/
|
|
42
|
-
ESM dist/
|
|
43
|
-
ESM dist/
|
|
44
|
-
ESM dist/
|
|
45
|
-
ESM dist/chunk-
|
|
46
|
-
ESM dist/chunk-
|
|
47
|
-
ESM dist/background.mjs 74.00 B
|
|
42
|
+
ESM dist/tab-select.mjs 73.00 B
|
|
43
|
+
ESM dist/nav.mjs 663.00 B
|
|
44
|
+
ESM dist/chunk-SN3ZPBNA.mjs 453.00 B
|
|
45
|
+
ESM dist/modal.mjs 98.00 B
|
|
46
|
+
ESM dist/chunk-FMUX4F5B.mjs 1.25 KB
|
|
47
|
+
ESM dist/chunk-UVSGUIBW.mjs 1.74 KB
|
|
48
48
|
ESM dist/chunk-YBWQTHOI.mjs 665.00 B
|
|
49
|
+
ESM dist/background.mjs 74.00 B
|
|
50
|
+
ESM dist/chunk-JESSRQ5J.mjs 657.00 B
|
|
49
51
|
ESM dist/badge.mjs 90.00 B
|
|
50
|
-
ESM dist/
|
|
51
|
-
ESM dist/
|
|
52
|
-
ESM dist/chunk-
|
|
53
|
-
ESM dist/chunk-UVSGUIBW.mjs 1.74 KB
|
|
54
|
-
ESM dist/footer.mjs 592.00 B
|
|
52
|
+
ESM dist/button.mjs 621.00 B
|
|
53
|
+
ESM dist/copy-button.mjs 567.00 B
|
|
54
|
+
ESM dist/chunk-5O4OBNYJ.mjs 4.58 KB
|
|
55
55
|
ESM dist/avatar.mjs 89.00 B
|
|
56
|
-
ESM dist/
|
|
57
|
-
ESM dist/
|
|
58
|
-
ESM dist/chunk-
|
|
59
|
-
ESM dist/
|
|
60
|
-
ESM dist/chunk-
|
|
61
|
-
ESM dist/chunk-
|
|
62
|
-
ESM dist/chunk-
|
|
63
|
-
ESM dist/
|
|
56
|
+
ESM dist/footer.mjs 621.00 B
|
|
57
|
+
ESM dist/chunk-C4PESNHJ.mjs 806.00 B
|
|
58
|
+
ESM dist/chunk-DZBC27CZ.mjs 2.98 KB
|
|
59
|
+
ESM dist/chunk-FV4B2NDA.mjs 1.46 KB
|
|
60
|
+
ESM dist/chunk-CJLSWYVX.mjs 1.21 KB
|
|
61
|
+
ESM dist/chunk-MBHBXZRO.mjs 1.05 KB
|
|
62
|
+
ESM dist/chunk-NHHVF35L.mjs 2.31 KB
|
|
63
|
+
ESM dist/popover.mjs 100.00 B
|
|
64
|
+
ESM dist/chunk-PHU6NRSR.mjs 13.00 B
|
|
64
65
|
ESM dist/chunk-EHYVEIOL.mjs 342.00 B
|
|
65
|
-
ESM dist/chunk-
|
|
66
|
-
ESM dist/chunk-
|
|
66
|
+
ESM dist/chunk-XCUSS3YO.mjs 1.43 KB
|
|
67
|
+
ESM dist/chunk-2TGXECZQ.mjs 456.00 B
|
|
68
|
+
ESM dist/chunk-573R3EDL.mjs 595.00 B
|
|
67
69
|
ESM dist/chunk-JLET4OCX.mjs 1.32 KB
|
|
70
|
+
ESM dist/chunk-GSQUGPJ2.mjs 312.00 B
|
|
68
71
|
ESM dist/chunk-5EWSH7PD.mjs 576.00 B
|
|
69
72
|
ESM dist/chunk-6DKNMNDW.mjs 1.32 KB
|
|
70
|
-
ESM dist/chunk-
|
|
71
|
-
ESM dist/
|
|
73
|
+
ESM dist/chunk-YURUGH4S.mjs 3.62 KB
|
|
74
|
+
ESM dist/accordion.mjs 142.00 B
|
|
75
|
+
ESM dist/chunk-PPNWHWNQ.mjs 231.00 B
|
|
72
76
|
ESM dist/chunk-QP2EHAF7.mjs 970.00 B
|
|
73
|
-
ESM dist/chunk-XZSQWDME.mjs 180.00 B
|
|
74
|
-
ESM dist/chunk-2TGXECZQ.mjs 456.00 B
|
|
75
77
|
ESM dist/chunk-Z5P2KHPP.mjs 541.00 B
|
|
76
|
-
ESM dist/chunk-MURAUI3W.mjs 512.00 B
|
|
77
78
|
ESM dist/chunk-WURMVTJP.mjs 3.47 KB
|
|
78
|
-
ESM dist/
|
|
79
|
+
ESM dist/chunk-EY55E5DB.mjs 1008.00 B
|
|
79
80
|
ESM dist/chunk-OYEGFR5W.mjs 475.00 B
|
|
80
81
|
ESM dist/chunk-T4YFARK5.mjs 962.00 B
|
|
81
|
-
ESM dist/chunk-
|
|
82
|
-
ESM dist/icons/index.css 458.00 B
|
|
83
|
-
ESM dist/nav-mobile.css 458.00 B
|
|
84
|
-
ESM dist/nav.css 458.00 B
|
|
85
|
-
ESM dist/copy-button.css 458.00 B
|
|
86
|
-
ESM dist/link-preview.css 458.00 B
|
|
82
|
+
ESM dist/chunk-PPR7AQWS.mjs 549.00 B
|
|
87
83
|
ESM dist/index.css 32.31 KB
|
|
88
84
|
ESM dist/button.css 458.00 B
|
|
89
|
-
ESM dist/
|
|
90
|
-
ESM dist/
|
|
85
|
+
ESM dist/link-preview.css 458.00 B
|
|
86
|
+
ESM dist/copy-button.css 458.00 B
|
|
87
|
+
ESM dist/icons/index.css 458.00 B
|
|
88
|
+
ESM dist/chunk-XZSQWDME.mjs 180.00 B
|
|
89
|
+
ESM dist/icons/loading-dots.css 458.00 B
|
|
91
90
|
ESM dist/form.css 458.00 B
|
|
92
|
-
ESM dist/
|
|
93
|
-
ESM dist/
|
|
91
|
+
ESM dist/chunk-MURAUI3W.mjs 512.00 B
|
|
92
|
+
ESM dist/footer.css 458.00 B
|
|
93
|
+
ESM dist/form.mjs 648.00 B
|
|
94
|
+
ESM dist/nav-mobile.css 458.00 B
|
|
95
|
+
ESM dist/nav.css 458.00 B
|
|
94
96
|
DTS ⚡️ Build success in 2546ms
|
|
95
97
|
DTS dist/accordion.d.ts 943.00 B
|
|
96
98
|
DTS dist/avatar.d.ts 435.00 B
|
|
@@ -101,13 +103,14 @@ DTS dist/copy-button.d.ts 212.00 B
|
|
|
101
103
|
DTS dist/footer.d.ts 135.00 B
|
|
102
104
|
DTS dist/form.d.ts 514.00 B
|
|
103
105
|
DTS dist/icon-menu.d.ts 270.00 B
|
|
104
|
-
DTS dist/index.d.ts 2.
|
|
106
|
+
DTS dist/index.d.ts 2.94 KB
|
|
105
107
|
DTS dist/modal.d.ts 500.00 B
|
|
106
108
|
DTS dist/popover.d.ts 478.00 B
|
|
107
109
|
DTS dist/switch.d.ts 530.00 B
|
|
108
110
|
DTS dist/tooltip.d.ts 1.15 KB
|
|
109
111
|
DTS dist/icons/copy.d.ts 184.00 B
|
|
110
112
|
DTS dist/icons/expanding-arrow.d.ts 204.00 B
|
|
113
|
+
DTS dist/icons/magic.d.ts 185.00 B
|
|
111
114
|
DTS dist/icons/photo.d.ts 186.00 B
|
|
112
115
|
DTS dist/icons/tick.d.ts 183.00 B
|
|
113
116
|
DTS dist/icons/loading-circle.d.ts 202.00 B
|
|
@@ -126,4 +129,4 @@ DTS dist/nav.d.ts 206.00 B
|
|
|
126
129
|
DTS dist/nav-mobile.d.ts 141.00 B
|
|
127
130
|
DTS dist/link-preview.d.ts 189.00 B
|
|
128
131
|
DTS dist/tab-select.d.ts 271.00 B
|
|
129
|
-
DTS dist/icons/index.d.ts
|
|
132
|
+
DTS dist/icons/index.d.ts 874.00 B
|
package/dist/accordion.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b,c,d}from"./chunk-
|
|
2
|
+
import{a,b,c,d}from"./chunk-MBHBXZRO.mjs";export{a as Accordion,d as AccordionContent,b as AccordionItem,c as AccordionTrigger};
|
package/dist/badge.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"./chunk-
|
|
2
|
+
import{a,b}from"./chunk-JESSRQ5J.mjs";export{b as Badge,a as badgeVariants};
|
package/dist/button.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-CJLSWYVX.mjs";import"./chunk-DZBC27CZ.mjs";import"./chunk-NHHVF35L.mjs";import"./chunk-PHU6NRSR.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-JLET4OCX.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-5EWSH7PD.mjs";import"./chunk-6DKNMNDW.mjs";import"./chunk-XZSQWDME.mjs";import"./chunk-PPR7AQWS.mjs";import"./chunk-QP2EHAF7.mjs";import"./chunk-WURMVTJP.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-Z5P2KHPP.mjs";import"./chunk-EY55E5DB.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-OYEGFR5W.mjs";export{a as Button};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as g}from"./chunk-573R3EDL.mjs";import{a as p}from"./chunk-PPNWHWNQ.mjs";import{a as d}from"./chunk-JLET4OCX.mjs";import{a as c}from"./chunk-5EWSH7PD.mjs";import{a as i}from"./chunk-WURMVTJP.mjs";import{a as n}from"./chunk-T4YFARK5.mjs";import{ALL_TOOLS as f}from"@dub/utils";import o from"@vercel/analytics";import m from"next/link";import{useParams as h}from"next/navigation";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:g.map(({shortTitle:t,slug:s})=>({name:t,href:`/features/${s}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Help Center",href:"/help"},{name:"Pricing",href:"/pricing"}],tools:f.map(({name:t,slug:s})=>({name:t,href:`/tools/${s}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}]};function L(){let{domain:t="dub.co"}=h(),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(p,{className:"pt-10",children:[r("div",{className:"xl:grid xl:grid-cols-5 xl:gap-8",children:[r("div",{className:"space-y-8 xl:col-span-2",children:[r(m,{href:s("/"),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[e("span",{className:"sr-only",children:"Dub.co Logo"}),e(i,{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(d,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://github.com/steven-tey/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(n,{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(c,{className:"h-5 w-5",fill:"#52525B"})]})]})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-8 xl:col-span-3 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2 md:gap-8",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 md:gap-8",children:[r("div",{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))})]}),r("div",{className:"mt-10 md:mt-0",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))})]})]})]})]}),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()," Dub.co"]})})]})})}export{L as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as l}from"./chunk-DZBC27CZ.mjs";import{a}from"./chunk-PPR7AQWS.mjs";import{cn as d}from"@dub/utils";import{jsx as t,jsxs as b}from"react/jsx-runtime";function g({text:n,variant:r="primary",loading:o,icon:i,disabledTooltip:s,...e}){return s?t(l,{content:s,fullWidth:!0,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})})}):b("button",{type:e.onClick?"button":"submit",className:d("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(a,{}):i||null,t("p",{children:n})]})}export{g as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{d as m}from"./chunk-NHHVF35L.mjs";import{nFormatter as c,timeAgo as p}from"@dub/utils";import*as a from"@radix-ui/react-tooltip";import{HelpCircle as x}from"lucide-react";import g from"next/link";import{Drawer as n}from"vaul";import{jsx as t,jsxs as o}from"react/jsx-runtime";function d({children:r,content:e,fullWidth:i}){let{isMobile:l}=m();return l?o(n.Root,{children:[t(n.Trigger,{className:`${i?"w-full":"inline-flex"} md:hidden`,onClick:s=>{s.stopPropagation()},children:r}),t(n.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),o(n.Portal,{children:[o(n.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",children:[t("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:t("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),t("div",{className:"flex min-h-[150px] w-full items-center justify-center overflow-hidden bg-white align-middle shadow-xl",children:typeof e=="string"?t("span",{className:"block text-center text-sm text-gray-700",children:e}):e})]}),t(n.Overlay,{})]})]}):t(a.Provider,{delayDuration:0,children:o(a.Root,{children:[t(a.Trigger,{className:"md:inline-flex",asChild:!0,children:r}),t(a.Content,{sideOffset:8,side:"top",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 e=="string"?t("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:e}):e})]})})}function h({title:r,cta:e,href:i,target:l,onClick:s}){return o("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:r}),e&&(i?t(g,{href:i,...l?{target:l}:{},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:e}):s?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:s,children:e}):null)]})}function w({title:r,cta:e,href:i}){return o("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[r," ",t("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:e})]})}function N({content:r}){return t(d,{content:r,children:t(x,{className:"h-4 w-4 text-gray-500"})})}function T({value:r,unit:e="total clicks",children:i,lastClicked:l}){return(!r||r<1e3)&&!l?i:t(d,{content:o("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[o("p",{className:"text-sm font-semibold text-gray-700",children:[c(r||0,{full:!0})," ",e]}),l&&o("p",{className:"mt-1 text-xs text-gray-500",children:["Last clicked ",p(l,{withAgo:!0})]})]}),children:i})}export{d as a,h as b,w as c,N as d,T as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as n}from"./chunk-CJLSWYVX.mjs";import{cn as x}from"@dub/utils";import{useMemo as y,useState as i}from"react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function T({title:m,description:u,inputData:t,helpText:g,buttonText:c="Save Changes",disabledTooltip:s,handleSubmit:f}){let[a,b]=i(t.defaultValue),[l,d]=i(!1),p=y(()=>l||!a||a===t.defaultValue,[l,a,t.defaultValue]);return r("form",{onSubmit:async o=>{o.preventDefault(),d(!0),await f({[t.name]:a}),d(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[r("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[r("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:u})]}),typeof t.defaultValue=="string"?e("input",{...t,type:"text",required:!0,disabled:!!s,onChange:o=>b(o.target.value),className:x("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"})]}),r("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:"text-sm text-gray-500",children:g}),e("div",{children:e(n,{text:c,loading:l,disabled:p,disabledTooltip:s})})]})]})}export{T as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{cn as r}from"@dub/utils";import{cva as o}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var i=o("max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize",{variants:{variant:{default:"border-gray-400 text-gray-500",violet:"border-violet-600 bg-violet-600 text-white",blue:"border-blue-500 bg-blue-500 text-white",black:"border-black bg-black text-white",gray:"border-gray-400 bg-gray-400 text-white",neutral:"border-gray-400 text-gray-500"}},defaultVariants:{variant:"neutral"}});function l({className:t,variant:e,...a}){return n("span",{className:r(i({variant:e}),t),...a})}export{i as a,l as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{cn as a}from"@dub/utils";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as n from"react";import{jsx as r,jsxs as p}from"react/jsx-runtime";var v=e.Root,d=n.forwardRef(({className:o,...t},i)=>r(e.Item,{ref:i,className:a("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=n.forwardRef(({className:o,children:t,...i},c)=>r(e.Header,{className:"flex",children:p(e.Trigger,{ref:c,className:a("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,r(m,{className:"h-5 w-5 transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=n.forwardRef(({className:o,children:t,...i},c)=>r(e.Content,{ref:c,className:a("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client"
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as n}from"./chunk-DZBC27CZ.mjs";import{cn as a}from"@dub/utils";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:i,checked:d=!0,disabled:r=!1,disabledTooltip:o}){return o?e(n,{content:o,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:r,className:a(r?"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:a(`radix-state-checked:${i}`,"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,i)})})}export{f as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as c}from"./chunk-2TGXECZQ.mjs";import{a as g}from"./chunk-6DKNMNDW.mjs";import{fetcher as v,getDomainWithoutWWW as y,getUrlFromString as h}from"@dub/utils";import{Link2 as x}from"lucide-react";import{useRouter as N,useSearchParams as w}from"next/navigation";import{useEffect as L,useMemo as R,useRef as W}from"react";import k from"swr";import{useDebounce as E}from"use-debounce";import{Fragment as F,jsx as e,jsxs as t}from"react/jsx-runtime";function V({defaultUrl:r}){let f=N(),l=w(),o=r||(l==null?void 0:l.get("url"))||"https://github.com/steven-tey/dub",[a]=E(h(o),500),i=R(()=>y(a||""),[a]),{data:p,isValidating:b}=k(a&&`/api/edge/metatags?url=${a}`,v,{revalidateOnFocus:!1}),{title:n,description:m,image:d}=p||{},s=W(null);return L(()=>{!r&&s.current&&s.current.select()},[r]),t(F,{children:[!r&&t("div",{className:"relative flex items-center",children:[e(x,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:s,name:"url",id:"url",type:"url",autoFocus:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:o,onChange:u=>f.replace(`/tools/metatags${u.target.value.length>0?`?url=${u.target.value}`:""}`),"aria-invalid":"true"})]}),t("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[b&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(g,{})}),d?e("img",{src:d,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):t("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(c,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),t("div",{className:"grid gap-1 bg-white p-3 text-left",children:[i?e("p",{className:"text-sm text-[#536471]",children:i}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),m?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:m}):t("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}export{V as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as g}from"./chunk-573R3EDL.mjs";import{a as p}from"./chunk-PPNWHWNQ.mjs";import{e as u}from"./chunk-NHHVF35L.mjs";import{a as d}from"./chunk-WURMVTJP.mjs";import{APP_DOMAIN as v,SHOW_BACKGROUND_SEGMENTS as N,cn as c}from"@dub/utils";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{ChevronDown as h}from"lucide-react";import n from"next/link";import{useParams as k,useSelectedLayoutSegment as y}from"next/navigation";import{jsx as e,jsxs as a}from"react/jsx-runtime";var w=[{name:"Customers",slug:"customers"},{name:"Changelog",slug:"changelog"},{name:"Help",slug:"help"},{name:"Pricing",slug:"pricing"}];function W(){let{domain:t="dub.co"}=k(),f=u(80),m=y(),l=m==="help";return e("div",{className:c("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":f,"border-b border-gray-200 bg-white":m&&!N.includes(m)}),children:e(p,{...l&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(n,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(d,{})}),l?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(n,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(i.Trigger,{className:"group flex items-center space-x-2 rounded-md px-3 py-2 text-sm font-medium hover:bg-gray-100 focus:outline-none",children:[e("p",{className:c("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(h,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:g.map(({slug:r,icon:o,title:b,shortTitle:x})=>a(n,{href:t==="dub.co"?`/features/${r}`:`https://dub.co/features/${r}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (features/${r})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:x})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:b})]},r))})})]}),w.map(({name:r,slug:o})=>e(i.Item,{asChild:!0,children:e(n,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:c("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:r},o)},o))]}),e(i.Viewport,{className:"data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content absolute left-0 top-full flex w-[var(--radix-navigation-menu-viewport-width)] origin-[top_center] justify-start rounded-lg border border-gray-200 bg-white shadow-lg"})]})]}),a("div",{className:"hidden lg:block",children:[e(n,{href:`${v}/login`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",children:"Log in"}),e(n,{href:`${v}/register`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Sign Up"})]})]})})})}export{w as a,W as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as u}from"./chunk-UKAF5WRD.mjs";import{a as c}from"./chunk-573R3EDL.mjs";import{APP_DOMAIN as f,cn as r}from"@dub/utils";import{ChevronDown as g,Menu as N,X as y}from"lucide-react";import l from"next/link";import{useParams as h}from"next/navigation";import{useState as p}from"react";import{Fragment as v,jsx as e,jsxs as s}from"react/jsx-runtime";function C(){let{domain:i="dub.co"}=h(),[o,n]=p(!1),[m,d]=p(!1);return s(v,{children:[e("button",{onClick:()=>n(!o),className:r("absolute right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden",o&&"hover:bg-gray-100 active:bg-gray-200"),children:o?e(y,{className:"h-5 w-5 text-gray-600"}):e(N,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:r("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16",o&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200",children:[s("li",{className:"py-3",children:[s("button",{className:"flex w-full justify-between",onClick:()=>d(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(g,{className:r("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:c.map(({slug:a,icon:t,shortTitle:b})=>s(l,{href:i==="dub.co"?`/features/${a}`:`https://dub.co/features/${a}?utm_source=${i}&utm_medium=referral&utm_campaign=custom-domain`,onClick:()=>n(!1),className:"flex w-full space-x-2",children:[e(t,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:b})]},a))})]}),u.map(({name:a,slug:t})=>e("li",{className:"py-3",children:e(l,{href:i==="dub.co"?`/${t}`:`https://dub.co/${t}?utm_source=${i}&utm_medium=referral&utm_campaign=custom-domain`,onClick:()=>n(!1),className:"flex w-full font-semibold capitalize",children:a})},t)),e("li",{className:"py-3",children:e(l,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(l,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})})]})}export{C as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{d as g}from"./chunk-NHHVF35L.mjs";import{cn as m}from"@dub/utils";import*as o from"@radix-ui/react-dialog";import{useRouter as D}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as t,jsxs as i}from"react/jsx-runtime";function x({children:n,className:l,dialogOnly:f,showModal:d,setShowModal:r,onClose:s,preventDefaultClose:u}){let p=D(),c=({dragged:e}={})=>{u&&!e||(s&&s(),r?r(!1):p.back())},{isMobile:b}=g();return b&&!f?i(a.Root,{open:r?d:!0,onOpenChange:e=>{e||c({dragged:!0})},children:[t(a.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),i(a.Portal,{children:[i(a.Content,{className:m("fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",l),children:[t("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:t("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),n]}),t(a.Overlay,{})]})]}):t(o.Root,{open:r?d:!0,onOpenChange:e=>{e||c()},children:i(o.Portal,{children:[t(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),t(o.Content,{onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),className:m("animate-scale-in fixed inset-0 z-40 m-auto max-h-fit w-full max-w-md overflow-hidden border border-gray-200 bg-white p-0 shadow-xl md:rounded-2xl",l),children:n})]})})}export{x as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{jsx as C,jsxs as o}from"react/jsx-runtime";function e({className:r}){return o("svg",{width:"469",height:"469",viewBox:"0 0 469 469",fill:"none",xmlns:"http://www.w3.org/2000/svg",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",className:r,children:[C("path",{d:"M237.092 62.3004L266.754 71.4198C267.156 71.5285 267.51 71.765 267.765 72.0934C268.02 72.4218 268.161 72.8243 268.166 73.2399C268.172 73.6555 268.042 74.0616 267.796 74.3967C267.55 74.7318 267.201 74.9777 266.803 75.097L237.141 84.3145C236.84 84.4058 236.566 84.5699 236.344 84.7922C236.121 85.0146 235.957 85.2883 235.866 85.5893L226.747 115.252C226.638 115.653 226.401 116.008 226.073 116.263C225.745 116.517 225.342 116.658 224.926 116.664C224.511 116.669 224.105 116.539 223.77 116.293C223.435 116.047 223.189 115.699 223.069 115.301L213.852 85.6383C213.761 85.3374 213.597 85.0636 213.374 84.8412C213.152 84.6189 212.878 84.4548 212.577 84.3635L182.914 75.2441C182.513 75.1354 182.158 74.8989 181.904 74.5705C181.649 74.2421 181.508 73.8396 181.503 73.424C181.497 73.0084 181.627 72.6023 181.873 72.2672C182.119 71.9321 182.467 71.6863 182.865 71.5669L212.528 62.3494C212.829 62.2582 213.103 62.0941 213.325 61.8717C213.547 61.6494 213.712 61.3756 213.803 61.0747L222.922 31.4121C223.031 31.0109 223.267 30.656 223.596 30.4013C223.924 30.1465 224.327 30.0057 224.742 30.0002C225.158 29.9946 225.564 30.1247 225.899 30.3706C226.234 30.6165 226.48 30.9649 226.599 31.363L235.817 61.0257C235.908 61.3266 236.072 61.6003 236.295 61.8227C236.517 62.0451 236.791 62.2091 237.092 62.3004Z",fill:"currentColor"}),C("path",{d:"M155.948 155.848L202.771 168.939C203.449 169.131 204.045 169.539 204.47 170.101C204.895 170.663 205.125 171.348 205.125 172.052C205.125 172.757 204.895 173.442 204.47 174.004C204.045 174.566 203.449 174.974 202.771 175.166L155.899 188.06C155.361 188.209 154.87 188.496 154.475 188.891C154.079 189.286 153.793 189.777 153.644 190.316L140.553 237.138C140.361 237.816 139.953 238.413 139.391 238.838C138.829 239.262 138.144 239.492 137.44 239.492C136.735 239.492 136.05 239.262 135.488 238.838C134.927 238.413 134.519 237.816 134.327 237.138L121.432 190.267C121.283 189.728 120.997 189.237 120.601 188.842C120.206 188.446 119.715 188.16 119.177 188.011L72.3537 174.92C71.676 174.728 71.0795 174.32 70.6547 173.759C70.2299 173.197 70 172.512 70 171.807C70 171.103 70.2299 170.418 70.6547 169.856C71.0795 169.294 71.676 168.886 72.3537 168.694L119.226 155.799C119.764 155.65 120.255 155.364 120.65 154.969C121.046 154.573 121.332 154.082 121.481 153.544L134.572 106.721C134.764 106.043 135.172 105.447 135.734 105.022C136.295 104.597 136.981 104.367 137.685 104.367C138.389 104.367 139.075 104.597 139.637 105.022C140.198 105.447 140.606 106.043 140.798 106.721L153.693 153.593C153.842 154.131 154.128 154.622 154.524 155.018C154.919 155.413 155.41 155.699 155.948 155.848Z",fill:"currentColor"}),C("path",{d:"M386.827 289.992C404.33 292.149 403.84 305.828 386.876 307.299C346.623 310.829 298.869 316.271 282.199 360.005C274.844 379.192 269.942 403.2 267.49 432.029C267.427 432.846 267.211 433.626 266.856 434.319C266.501 435.012 266.015 435.602 265.431 436.05C254.988 444.041 251.212 434.186 250.183 425.606C239.2 332.353 214.588 316.909 124.668 306.122C123.892 306.031 123.151 305.767 122.504 305.35C121.857 304.933 121.322 304.375 120.942 303.72C116.399 295.679 119.324 291.038 129.718 289.796C224.688 278.47 236.062 262.83 250.183 169.331C252.177 156.355 257.259 154.083 265.431 162.516C266.51 163.593 267.202 165.099 267.392 166.782C279.257 258.564 293.328 278.617 386.827 289.992Z",fill:"currentColor"})]})}export{e as a};
|
package/dist/copy-button.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-C4PESNHJ.mjs";import"./chunk-
|
|
2
|
+
import{a}from"./chunk-C4PESNHJ.mjs";import"./chunk-PHU6NRSR.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-JLET4OCX.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-5EWSH7PD.mjs";import"./chunk-6DKNMNDW.mjs";import"./chunk-XZSQWDME.mjs";import"./chunk-PPR7AQWS.mjs";import"./chunk-QP2EHAF7.mjs";import"./chunk-WURMVTJP.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-Z5P2KHPP.mjs";import"./chunk-EY55E5DB.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-OYEGFR5W.mjs";export{a as CopyButton};
|
package/dist/footer.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-5O4OBNYJ.mjs";import"./chunk-573R3EDL.mjs";import"./chunk-PPNWHWNQ.mjs";import"./chunk-PHU6NRSR.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-JLET4OCX.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-5EWSH7PD.mjs";import"./chunk-6DKNMNDW.mjs";import"./chunk-XZSQWDME.mjs";import"./chunk-PPR7AQWS.mjs";import"./chunk-QP2EHAF7.mjs";import"./chunk-WURMVTJP.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-Z5P2KHPP.mjs";import"./chunk-EY55E5DB.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-OYEGFR5W.mjs";export{a as Footer};
|
package/dist/form.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-FV4B2NDA.mjs";import"./chunk-CJLSWYVX.mjs";import"./chunk-DZBC27CZ.mjs";import"./chunk-NHHVF35L.mjs";import"./chunk-PHU6NRSR.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-JLET4OCX.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-5EWSH7PD.mjs";import"./chunk-6DKNMNDW.mjs";import"./chunk-XZSQWDME.mjs";import"./chunk-PPR7AQWS.mjs";import"./chunk-QP2EHAF7.mjs";import"./chunk-WURMVTJP.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-Z5P2KHPP.mjs";import"./chunk-EY55E5DB.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-OYEGFR5W.mjs";export{a as Form};
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as Copy } from './copy.js';
|
|
2
2
|
export { default as ExpandingArrow } from './expanding-arrow.js';
|
|
3
|
+
export { default as Magic } from './magic.js';
|
|
3
4
|
export { default as Photo } from './photo.js';
|
|
4
5
|
export { default as Tick } from './tick.js';
|
|
5
6
|
export { default as LoadingCircle } from './loading-circle.js';
|
package/dist/icons/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import"../chunk-
|
|
2
|
+
import"../chunk-PHU6NRSR.mjs";import{a as d}from"../chunk-2TGXECZQ.mjs";import{a as e}from"../chunk-EHYVEIOL.mjs";import{a as o}from"../chunk-JLET4OCX.mjs";import{a as p}from"../chunk-GSQUGPJ2.mjs";import{a as n}from"../chunk-5EWSH7PD.mjs";import{a as f}from"../chunk-6DKNMNDW.mjs";import{a as g}from"../chunk-XZSQWDME.mjs";import{a as h}from"../chunk-PPR7AQWS.mjs";import{a as i}from"../chunk-QP2EHAF7.mjs";import{a as j}from"../chunk-WURMVTJP.mjs";import{a as c}from"../chunk-YURUGH4S.mjs";import{a}from"../chunk-Z5P2KHPP.mjs";import{a as b}from"../chunk-EY55E5DB.mjs";import{a as k}from"../chunk-MURAUI3W.mjs";import{a as l}from"../chunk-T4YFARK5.mjs";import{a as m}from"../chunk-OYEGFR5W.mjs";export{a as Copy,b as ExpandingArrow,k as Facebook,l as Github,m as Google,n as LinkedIn,f as LoadingCircle,g as LoadingDots,h as LoadingSpinner,i as Logo,j as LogoType,c as Magic,d as Photo,e as Tick,o as Twitter,p as Unsplash};
|
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { InfoTooltip, NumberTooltip, SimpleTooltipContent, Tooltip, TooltipConte
|
|
|
10
10
|
import { RefObject } from 'react';
|
|
11
11
|
export { default as Copy } from './icons/copy.js';
|
|
12
12
|
export { default as ExpandingArrow } from './icons/expanding-arrow.js';
|
|
13
|
+
export { default as Magic } from './icons/magic.js';
|
|
13
14
|
export { default as Photo } from './icons/photo.js';
|
|
14
15
|
export { default as Tick } from './icons/tick.js';
|
|
15
16
|
export { default as LoadingCircle } from './icons/loading-circle.js';
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a as
|
|
2
|
+
import{a as S}from"./chunk-PJ73TQBC.mjs";import{a as X}from"./chunk-SN3ZPBNA.mjs";import{a as P}from"./chunk-Z4MSMGYC.mjs";import{a as W}from"./chunk-SUMICSDA.mjs";import{a as Q}from"./chunk-XCUSS3YO.mjs";import{a as V}from"./chunk-WBE6IBQV.mjs";import{a as T,b as U}from"./chunk-UKAF5WRD.mjs";import{a as R}from"./chunk-FMUX4F5B.mjs";import{a as o,b as r,c as m,d as p}from"./chunk-MBHBXZRO.mjs";import{a as t,b as e}from"./chunk-YBWQTHOI.mjs";import{a as f}from"./chunk-UVSGUIBW.mjs";import{a as x,b as i}from"./chunk-JESSRQ5J.mjs";import{a as K}from"./chunk-C4PESNHJ.mjs";import{a as N}from"./chunk-5O4OBNYJ.mjs";import{a as L}from"./chunk-573R3EDL.mjs";import{a as M}from"./chunk-PPNWHWNQ.mjs";import{a as O}from"./chunk-FV4B2NDA.mjs";import{a as J}from"./chunk-CJLSWYVX.mjs";import{a as E,b as F,c as G,d as H,e as I}from"./chunk-DZBC27CZ.mjs";import{a as z,b as A,c as B,d as C,e as D}from"./chunk-NHHVF35L.mjs";import"./chunk-PHU6NRSR.mjs";import{a as d}from"./chunk-2TGXECZQ.mjs";import{a as g}from"./chunk-EHYVEIOL.mjs";import{a as w}from"./chunk-JLET4OCX.mjs";import{a as y}from"./chunk-GSQUGPJ2.mjs";import{a as v}from"./chunk-5EWSH7PD.mjs";import{a as h}from"./chunk-6DKNMNDW.mjs";import{a as j}from"./chunk-XZSQWDME.mjs";import{a as k}from"./chunk-PPR7AQWS.mjs";import{a as l}from"./chunk-QP2EHAF7.mjs";import{a as n}from"./chunk-WURMVTJP.mjs";import{a as c}from"./chunk-YURUGH4S.mjs";import{a}from"./chunk-Z5P2KHPP.mjs";import{a as b}from"./chunk-EY55E5DB.mjs";import{a as q}from"./chunk-MURAUI3W.mjs";import{a as s}from"./chunk-T4YFARK5.mjs";import{a as u}from"./chunk-OYEGFR5W.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 Button,a as Copy,K as CopyButton,b as ExpandingArrow,L as FEATURES_LIST,q as Facebook,N as Footer,O as Form,s as Github,u as Google,P as IconMenu,H as InfoTooltip,W as LinkPreview,v as LinkedIn,h as LoadingCircle,j as LoadingDots,k as LoadingSpinner,l as Logo,n as LogoType,c as Magic,M as MaxWidthWrapper,Q as Modal,U as Nav,V as NavMobile,I as NumberTooltip,d as Photo,R as Popover,G as SimpleTooltipContent,S as Switch,X as TabSelect,g as Tick,e as TokenAvatar,E as Tooltip,F as TooltipContent,w as Twitter,y as Unsplash,x as badgeVariants,T as navItems,z as useCurrentAnchor,A as useIntersectionObserver,B as useLocalStorage,C as useMediaQuery,D as useScroll};
|
package/dist/link-preview.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-SUMICSDA.mjs";import"./chunk-PHU6NRSR.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-JLET4OCX.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-5EWSH7PD.mjs";import"./chunk-6DKNMNDW.mjs";import"./chunk-XZSQWDME.mjs";import"./chunk-PPR7AQWS.mjs";import"./chunk-QP2EHAF7.mjs";import"./chunk-WURMVTJP.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-Z5P2KHPP.mjs";import"./chunk-EY55E5DB.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-OYEGFR5W.mjs";export{a as LinkPreview};
|
package/dist/modal.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-XCUSS3YO.mjs";import"./chunk-NHHVF35L.mjs";export{a as Modal};
|
package/dist/nav-mobile.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-WBE6IBQV.mjs";import"./chunk-UKAF5WRD.mjs";import"./chunk-573R3EDL.mjs";import"./chunk-PPNWHWNQ.mjs";import"./chunk-NHHVF35L.mjs";import"./chunk-PHU6NRSR.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-JLET4OCX.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-5EWSH7PD.mjs";import"./chunk-6DKNMNDW.mjs";import"./chunk-XZSQWDME.mjs";import"./chunk-PPR7AQWS.mjs";import"./chunk-QP2EHAF7.mjs";import"./chunk-WURMVTJP.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-Z5P2KHPP.mjs";import"./chunk-EY55E5DB.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-OYEGFR5W.mjs";export{a as NavMobile};
|
package/dist/nav.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"./chunk-
|
|
2
|
+
import{a,b}from"./chunk-UKAF5WRD.mjs";import"./chunk-573R3EDL.mjs";import"./chunk-PPNWHWNQ.mjs";import"./chunk-NHHVF35L.mjs";import"./chunk-PHU6NRSR.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-JLET4OCX.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-5EWSH7PD.mjs";import"./chunk-6DKNMNDW.mjs";import"./chunk-XZSQWDME.mjs";import"./chunk-PPR7AQWS.mjs";import"./chunk-QP2EHAF7.mjs";import"./chunk-WURMVTJP.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-Z5P2KHPP.mjs";import"./chunk-EY55E5DB.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-OYEGFR5W.mjs";export{b as Nav,a as navItems};
|
package/dist/switch.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-PJ73TQBC.mjs";import"./chunk-DZBC27CZ.mjs";import"./chunk-NHHVF35L.mjs";export{a as Switch};
|
package/dist/tooltip.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b,c,d,e}from"./chunk-
|
|
2
|
+
import{a,b,c,d,e}from"./chunk-DZBC27CZ.mjs";import"./chunk-NHHVF35L.mjs";export{d as InfoTooltip,e as NumberTooltip,c as SimpleTooltipContent,a as Tooltip,b as TooltipContent};
|
package/package.json
CHANGED
package/src/accordion.tsx
CHANGED
package/src/badge.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { cva, type VariantProps } from "class-variance-authority";
|
|
2
1
|
import { cn } from "@dub/utils";
|
|
2
|
+
import { cva, type VariantProps } from "class-variance-authority";
|
|
3
3
|
|
|
4
4
|
const badgeVariants = cva(
|
|
5
5
|
"max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize",
|
package/src/footer.tsx
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
+
import { ALL_TOOLS } from "@dub/utils";
|
|
3
4
|
import va from "@vercel/analytics";
|
|
4
5
|
import Link from "next/link";
|
|
5
6
|
import { useParams } from "next/navigation";
|
|
6
7
|
import { FEATURES_LIST } from "./content";
|
|
7
8
|
import { Github, LinkedIn, LogoType, Twitter } from "./icons";
|
|
8
9
|
import { MaxWidthWrapper } from "./max-width-wrapper";
|
|
9
|
-
import { ALL_TOOLS } from "@dub/utils";
|
|
10
10
|
|
|
11
11
|
const navigation = {
|
|
12
12
|
features: FEATURES_LIST.map(({ shortTitle, slug }) => ({
|
package/src/icons/index.tsx
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export default function Magic({ className }: { className: string }) {
|
|
2
|
+
return (
|
|
3
|
+
<svg
|
|
4
|
+
width="469"
|
|
5
|
+
height="469"
|
|
6
|
+
viewBox="0 0 469 469"
|
|
7
|
+
fill="none"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
shapeRendering="geometricPrecision"
|
|
10
|
+
stroke="currentColor"
|
|
11
|
+
strokeLinecap="round"
|
|
12
|
+
strokeLinejoin="round"
|
|
13
|
+
strokeWidth="1.5"
|
|
14
|
+
className={className}
|
|
15
|
+
>
|
|
16
|
+
<path
|
|
17
|
+
d="M237.092 62.3004L266.754 71.4198C267.156 71.5285 267.51 71.765 267.765 72.0934C268.02 72.4218 268.161 72.8243 268.166 73.2399C268.172 73.6555 268.042 74.0616 267.796 74.3967C267.55 74.7318 267.201 74.9777 266.803 75.097L237.141 84.3145C236.84 84.4058 236.566 84.5699 236.344 84.7922C236.121 85.0146 235.957 85.2883 235.866 85.5893L226.747 115.252C226.638 115.653 226.401 116.008 226.073 116.263C225.745 116.517 225.342 116.658 224.926 116.664C224.511 116.669 224.105 116.539 223.77 116.293C223.435 116.047 223.189 115.699 223.069 115.301L213.852 85.6383C213.761 85.3374 213.597 85.0636 213.374 84.8412C213.152 84.6189 212.878 84.4548 212.577 84.3635L182.914 75.2441C182.513 75.1354 182.158 74.8989 181.904 74.5705C181.649 74.2421 181.508 73.8396 181.503 73.424C181.497 73.0084 181.627 72.6023 181.873 72.2672C182.119 71.9321 182.467 71.6863 182.865 71.5669L212.528 62.3494C212.829 62.2582 213.103 62.0941 213.325 61.8717C213.547 61.6494 213.712 61.3756 213.803 61.0747L222.922 31.4121C223.031 31.0109 223.267 30.656 223.596 30.4013C223.924 30.1465 224.327 30.0057 224.742 30.0002C225.158 29.9946 225.564 30.1247 225.899 30.3706C226.234 30.6165 226.48 30.9649 226.599 31.363L235.817 61.0257C235.908 61.3266 236.072 61.6003 236.295 61.8227C236.517 62.0451 236.791 62.2091 237.092 62.3004Z"
|
|
18
|
+
fill="currentColor"
|
|
19
|
+
/>
|
|
20
|
+
<path
|
|
21
|
+
d="M155.948 155.848L202.771 168.939C203.449 169.131 204.045 169.539 204.47 170.101C204.895 170.663 205.125 171.348 205.125 172.052C205.125 172.757 204.895 173.442 204.47 174.004C204.045 174.566 203.449 174.974 202.771 175.166L155.899 188.06C155.361 188.209 154.87 188.496 154.475 188.891C154.079 189.286 153.793 189.777 153.644 190.316L140.553 237.138C140.361 237.816 139.953 238.413 139.391 238.838C138.829 239.262 138.144 239.492 137.44 239.492C136.735 239.492 136.05 239.262 135.488 238.838C134.927 238.413 134.519 237.816 134.327 237.138L121.432 190.267C121.283 189.728 120.997 189.237 120.601 188.842C120.206 188.446 119.715 188.16 119.177 188.011L72.3537 174.92C71.676 174.728 71.0795 174.32 70.6547 173.759C70.2299 173.197 70 172.512 70 171.807C70 171.103 70.2299 170.418 70.6547 169.856C71.0795 169.294 71.676 168.886 72.3537 168.694L119.226 155.799C119.764 155.65 120.255 155.364 120.65 154.969C121.046 154.573 121.332 154.082 121.481 153.544L134.572 106.721C134.764 106.043 135.172 105.447 135.734 105.022C136.295 104.597 136.981 104.367 137.685 104.367C138.389 104.367 139.075 104.597 139.637 105.022C140.198 105.447 140.606 106.043 140.798 106.721L153.693 153.593C153.842 154.131 154.128 154.622 154.524 155.018C154.919 155.413 155.41 155.699 155.948 155.848Z"
|
|
22
|
+
fill="currentColor"
|
|
23
|
+
/>
|
|
24
|
+
<path
|
|
25
|
+
d="M386.827 289.992C404.33 292.149 403.84 305.828 386.876 307.299C346.623 310.829 298.869 316.271 282.199 360.005C274.844 379.192 269.942 403.2 267.49 432.029C267.427 432.846 267.211 433.626 266.856 434.319C266.501 435.012 266.015 435.602 265.431 436.05C254.988 444.041 251.212 434.186 250.183 425.606C239.2 332.353 214.588 316.909 124.668 306.122C123.892 306.031 123.151 305.767 122.504 305.35C121.857 304.933 121.322 304.375 120.942 303.72C116.399 295.679 119.324 291.038 129.718 289.796C224.688 278.47 236.062 262.83 250.183 169.331C252.177 156.355 257.259 154.083 265.431 162.516C266.51 163.593 267.202 165.099 267.392 166.782C279.257 258.564 293.328 278.617 386.827 289.992Z"
|
|
26
|
+
fill="currentColor"
|
|
27
|
+
/>
|
|
28
|
+
</svg>
|
|
29
|
+
);
|
|
30
|
+
}
|
package/src/modal.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import * as Dialog from "@radix-ui/react-dialog";
|
|
4
3
|
import { cn } from "@dub/utils";
|
|
4
|
+
import * as Dialog from "@radix-ui/react-dialog";
|
|
5
5
|
import { useRouter } from "next/navigation";
|
|
6
6
|
import { Dispatch, SetStateAction } from "react";
|
|
7
7
|
import { Drawer } from "vaul";
|
package/src/nav.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
+
import { APP_DOMAIN, SHOW_BACKGROUND_SEGMENTS, cn } from "@dub/utils";
|
|
3
4
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
4
5
|
import va from "@vercel/analytics";
|
|
5
|
-
import { APP_DOMAIN, SHOW_BACKGROUND_SEGMENTS, cn } from "@dub/utils";
|
|
6
6
|
import { ChevronDown } from "lucide-react";
|
|
7
7
|
import Link from "next/link";
|
|
8
8
|
import { useParams, useSelectedLayoutSegment } from "next/navigation";
|
package/src/switch.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
4
3
|
import { cn } from "@dub/utils";
|
|
4
|
+
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
5
5
|
import { Dispatch, ReactNode, SetStateAction } from "react";
|
|
6
6
|
import { Tooltip } from "./tooltip";
|
|
7
7
|
|
package/src/tooltip.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
4
3
|
import { nFormatter, timeAgo } from "@dub/utils";
|
|
4
|
+
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
5
5
|
import { HelpCircle } from "lucide-react";
|
|
6
6
|
import Link from "next/link";
|
|
7
7
|
import { ReactNode } from "react";
|