The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
small ui tweaks, hide popup
Steven Tey36d549d12ccd
diff --git a/apps/web/app/app.dub.co/(dashboard)/layout.tsx b/apps/web/app/app.dub.co/(dashboard)/layout.tsxindex 6979c3a9d0..7091f05c04 100644--- a/apps/web/app/app.dub.co/(dashboard)/layout.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/layout.tsx@@ -1,4 +1,3 @@-import ChangelogPopup from "@/ui/layout/changelog-popup";import HelpPortal from "@/ui/layout/help";import NavTabs from "@/ui/layout/nav-tabs";import UpgradeBanner from "@/ui/layout/upgrade-banner";@@ -55,7 +54,7 @@ export default function Layout({ children }: { children: ReactNode }) {{children}</div>{/* <UserSurveyPopup /> */}- <ChangelogPopup />+ {/* <ChangelogPopup /> */}<HelpPortal /></Providers>);diff --git a/apps/web/ui/analytics/main.tsx b/apps/web/ui/analytics/main.tsxindex f9d662b1f0..05acec490c 100644--- a/apps/web/ui/analytics/main.tsx+++ b/apps/web/ui/analytics/main.tsx@@ -81,7 +81,7 @@ export default function Main() {)}<LinkclassName={cn(- "border-box relative block h-full min-w-[140px] flex-none px-4 py-3 sm:min-w-[240px] sm:px-8 sm:py-6",+ "border-box relative block h-full min-w-[110px] flex-none px-4 py-3 sm:min-w-[240px] sm:px-8 sm:py-6","transition-colors hover:bg-gray-50 focus:outline-none active:bg-gray-100","ring-inset ring-gray-500 focus-visible:ring-1 sm:first:rounded-tl-xl",)}@@ -125,7 +125,7 @@ export default function Main() {><CountingNumbersas="h1"- className="text-3xl font-medium"+ className="text-2xl font-medium sm:text-3xl"prefix={id === "sales" && "$"}{...(id === "sales" && { fullNumber: true })}>@@ -137,7 +137,7 @@ export default function Main() {<Lock className="h-4 w-4 text-gray-500" /></div>) : (- <div className="h-9 w-12 animate-pulse rounded-md bg-gray-200" />+ <div className="h-8 w-12 animate-pulse rounded-md bg-gray-200 sm:h-9" />)}</div></Link>diff --git a/packages/ui/src/date-picker/calendar.tsx b/packages/ui/src/date-picker/calendar.tsxindex b0522c1ddd..160d88a9bf 100644--- a/packages/ui/src/date-picker/calendar.tsx+++ b/packages/ui/src/date-picker/calendar.tsx@@ -95,8 +95,7 @@ function Calendar({month: "space-y-4 p-3 w-full",nav: "gap-1 flex items-center rounded-full w-full h-full justify-between p-4",table: "w-full border-separate border-spacing-y-1",- head_cell:- "w-9 font-medium text-sm sm:text-xs text-center text-gray-400 pb-2",+ head_cell: "w-9 font-medium text-xs text-center text-gray-400 pb-2",row: "w-full",cell: "relative p-0 text-center focus-within:relative text-gray-900",day: cn(diff --git a/packages/ui/src/date-picker/presets.tsx b/packages/ui/src/date-picker/presets.tsxindex d5bc8c6b37..fdccf775a4 100644--- a/packages/ui/src/date-picker/presets.tsx+++ b/packages/ui/src/date-picker/presets.tsx@@ -86,7 +86,7 @@ const Presets = <TPreset extends Preset, TValue>({value={preset.id}className={cn("relative flex cursor-pointer items-center justify-between overflow-hidden text-ellipsis whitespace-nowrap rounded border border-gray-200",- "px-2.5 py-1.5 text-left text-base text-gray-700 shadow-sm outline-none sm:w-full sm:border-none sm:py-2 sm:text-sm sm:shadow-none",+ "px-2.5 py-1.5 text-left text-sm text-gray-700 shadow-sm outline-none sm:w-full sm:border-none sm:py-2 sm:shadow-none","disabled:pointer-events-none disabled:opacity-50","sm:data-[selected=true]:bg-gray-100",matchesCurrent(preset) && "font-semibold text-gray-800",diff --git a/packages/ui/src/date-picker/trigger.tsx b/packages/ui/src/date-picker/trigger.tsxindex f20b452a9c..c29dd30632 100644--- a/packages/ui/src/date-picker/trigger.tsx+++ b/packages/ui/src/date-picker/trigger.tsx@@ -5,7 +5,7 @@ import { ComponentProps, forwardRef } from "react";const triggerStyles = cva([- "group peer flex cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 h-10 outline-none transition-all sm:text-sm",+ "group peer flex cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 h-10 outline-none transition-all text-sm","bg-white border-gray-200 text-gray-900 placeholder-gray-400 transition-all","disabled:pointer-events-none disabled:bg-gray-100 disabled:text-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",diff --git a/packages/ui/src/filter/filter-select.tsx b/packages/ui/src/filter/filter-select.tsxindex 86a84a664c..66756fad7b 100644--- a/packages/ui/src/filter/filter-select.tsx+++ b/packages/ui/src/filter/filter-select.tsx@@ -211,7 +211,7 @@ export function FilterSelect({<buttontype="button"className={cn(- "group flex h-10 cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 outline-none transition-all sm:text-sm",+ "group flex h-10 cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 text-sm outline-none transition-all","border-gray-200 bg-white text-gray-900 placeholder-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",className,