diff --git a/apps/mailtools/src/components/ui/card/card-header.svelte b/apps/mailtools/src/components/ui/card/card-header.svelte
index e866c53..781ca3c 100644
--- a/apps/mailtools/src/components/ui/card/card-header.svelte
+++ b/apps/mailtools/src/components/ui/card/card-header.svelte
@@ -1,13 +1,15 @@
-
-
+
+
diff --git a/apps/mailtools/src/components/ui/card/card-title.svelte b/apps/mailtools/src/components/ui/card/card-title.svelte
index a4776ca..2aaaad8 100644
--- a/apps/mailtools/src/components/ui/card/card-title.svelte
+++ b/apps/mailtools/src/components/ui/card/card-title.svelte
@@ -1,21 +1,20 @@
-
+ this={tag}
+ class={cn('text-lg font-semibold leading-none tracking-tight', className)}
+ {...$$restProps}>
+
diff --git a/apps/mailtools/src/components/ui/card/card.svelte b/apps/mailtools/src/components/ui/card/card.svelte
index e676acb..c91894a 100644
--- a/apps/mailtools/src/components/ui/card/card.svelte
+++ b/apps/mailtools/src/components/ui/card/card.svelte
@@ -1,16 +1,18 @@
-
+ class={cn(
+ 'bg-card text-card-foreground rounded-lg border shadow-sm',
+ className
+ )}
+ {...$$restProps}>
+
diff --git a/apps/mailtools/src/components/ui/card/index.ts b/apps/mailtools/src/components/ui/card/index.ts
index bcc031d..691e6d1 100644
--- a/apps/mailtools/src/components/ui/card/index.ts
+++ b/apps/mailtools/src/components/ui/card/index.ts
@@ -1,24 +1,24 @@
-import Root from "./card.svelte";
-import Content from "./card-content.svelte";
-import Description from "./card-description.svelte";
-import Footer from "./card-footer.svelte";
-import Header from "./card-header.svelte";
-import Title from "./card-title.svelte";
+import Root from './card.svelte';
+import Content from './card-content.svelte';
+import Description from './card-description.svelte';
+import Footer from './card-footer.svelte';
+import Header from './card-header.svelte';
+import Title from './card-title.svelte';
export {
- Root,
- Content,
- Description,
- Footer,
- Header,
- Title,
- //
- Root as Card,
- Content as CardContent,
- Description as CardDescription,
- Footer as CardFooter,
- Header as CardHeader,
- Title as CardTitle,
+ Root,
+ Content,
+ Description,
+ Footer,
+ Header,
+ Title,
+ //
+ Root as Card,
+ Content as CardContent,
+ Description as CardDescription,
+ Footer as CardFooter,
+ Header as CardHeader,
+ Title as CardTitle
};
-export type HeadingLevel = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
+export type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
diff --git a/apps/mailtools/src/components/ui/dialog/dialog-content.svelte b/apps/mailtools/src/components/ui/dialog/dialog-content.svelte
index 807f61e..507fd09 100644
--- a/apps/mailtools/src/components/ui/dialog/dialog-content.svelte
+++ b/apps/mailtools/src/components/ui/dialog/dialog-content.svelte
@@ -1,36 +1,34 @@
-
-
-
-
-
- Close
-
-
+
+
+
+
+
+ Close
+
+
diff --git a/apps/mailtools/src/components/ui/dialog/dialog-description.svelte b/apps/mailtools/src/components/ui/dialog/dialog-description.svelte
index 6135349..2abd798 100644
--- a/apps/mailtools/src/components/ui/dialog/dialog-description.svelte
+++ b/apps/mailtools/src/components/ui/dialog/dialog-description.svelte
@@ -1,16 +1,15 @@
-
+ class={cn('text-muted-foreground text-sm', className)}
+ {...$$restProps}>
+
diff --git a/apps/mailtools/src/components/ui/dialog/dialog-footer.svelte b/apps/mailtools/src/components/ui/dialog/dialog-footer.svelte
index 93953fc..9fa7923 100644
--- a/apps/mailtools/src/components/ui/dialog/dialog-footer.svelte
+++ b/apps/mailtools/src/components/ui/dialog/dialog-footer.svelte
@@ -1,16 +1,18 @@
-
+ class={cn(
+ 'flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2',
+ className
+ )}
+ {...$$restProps}>
+
diff --git a/apps/mailtools/src/components/ui/dialog/dialog-header.svelte b/apps/mailtools/src/components/ui/dialog/dialog-header.svelte
index 75150ba..6051bf8 100644
--- a/apps/mailtools/src/components/ui/dialog/dialog-header.svelte
+++ b/apps/mailtools/src/components/ui/dialog/dialog-header.svelte
@@ -1,13 +1,15 @@
-
-
+
+
diff --git a/apps/mailtools/src/components/ui/dialog/dialog-overlay.svelte b/apps/mailtools/src/components/ui/dialog/dialog-overlay.svelte
index 6618455..f564454 100644
--- a/apps/mailtools/src/components/ui/dialog/dialog-overlay.svelte
+++ b/apps/mailtools/src/components/ui/dialog/dialog-overlay.svelte
@@ -1,21 +1,20 @@
+ {transition}
+ {transitionConfig}
+ class={cn('bg-background/80 fixed inset-0 z-50 backdrop-blur-sm', className)}
+ {...$$restProps} />
diff --git a/apps/mailtools/src/components/ui/dialog/dialog-portal.svelte b/apps/mailtools/src/components/ui/dialog/dialog-portal.svelte
index eb5d0a5..45112b7 100644
--- a/apps/mailtools/src/components/ui/dialog/dialog-portal.svelte
+++ b/apps/mailtools/src/components/ui/dialog/dialog-portal.svelte
@@ -1,8 +1,8 @@
-
+
diff --git a/apps/mailtools/src/components/ui/dialog/dialog-title.svelte b/apps/mailtools/src/components/ui/dialog/dialog-title.svelte
index aa17f42..613376f 100644
--- a/apps/mailtools/src/components/ui/dialog/dialog-title.svelte
+++ b/apps/mailtools/src/components/ui/dialog/dialog-title.svelte
@@ -1,16 +1,15 @@
-
+ class={cn('text-lg font-semibold leading-none tracking-tight', className)}
+ {...$$restProps}>
+
diff --git a/apps/mailtools/src/components/ui/dialog/index.ts b/apps/mailtools/src/components/ui/dialog/index.ts
index 639b50d..676a771 100644
--- a/apps/mailtools/src/components/ui/dialog/index.ts
+++ b/apps/mailtools/src/components/ui/dialog/index.ts
@@ -1,34 +1,34 @@
-import { Dialog as DialogPrimitive } from "bits-ui";
+import { Dialog as DialogPrimitive } from 'bits-ui';
const Root = DialogPrimitive.Root;
const Trigger = DialogPrimitive.Trigger;
-import Title from "./dialog-title.svelte";
-import Portal from "./dialog-portal.svelte";
-import Footer from "./dialog-footer.svelte";
-import Header from "./dialog-header.svelte";
-import Overlay from "./dialog-overlay.svelte";
-import Content from "./dialog-content.svelte";
-import Description from "./dialog-description.svelte";
+import Title from './dialog-title.svelte';
+import Portal from './dialog-portal.svelte';
+import Footer from './dialog-footer.svelte';
+import Header from './dialog-header.svelte';
+import Overlay from './dialog-overlay.svelte';
+import Content from './dialog-content.svelte';
+import Description from './dialog-description.svelte';
export {
- Root,
- Title,
- Portal,
- Footer,
- Header,
- Trigger,
- Overlay,
- Content,
- Description,
- //
- Root as Dialog,
- Title as DialogTitle,
- Portal as DialogPortal,
- Footer as DialogFooter,
- Header as DialogHeader,
- Trigger as DialogTrigger,
- Overlay as DialogOverlay,
- Content as DialogContent,
- Description as DialogDescription,
+ Root,
+ Title,
+ Portal,
+ Footer,
+ Header,
+ Trigger,
+ Overlay,
+ Content,
+ Description,
+ //
+ Root as Dialog,
+ Title as DialogTitle,
+ Portal as DialogPortal,
+ Footer as DialogFooter,
+ Header as DialogHeader,
+ Trigger as DialogTrigger,
+ Overlay as DialogOverlay,
+ Content as DialogContent,
+ Description as DialogDescription
};
diff --git a/apps/mailtools/src/components/ui/input/index.ts b/apps/mailtools/src/components/ui/input/index.ts
index 859f3b0..c717527 100644
--- a/apps/mailtools/src/components/ui/input/index.ts
+++ b/apps/mailtools/src/components/ui/input/index.ts
@@ -1,27 +1,27 @@
-import Root from "./input.svelte";
+import Root from './input.svelte';
export type FormInputEvent
= T & {
- currentTarget: EventTarget & HTMLInputElement;
+ currentTarget: EventTarget & HTMLInputElement;
};
export type InputEvents = {
- blur: FormInputEvent;
- change: FormInputEvent;
- click: FormInputEvent;
- focus: FormInputEvent;
- focusin: FormInputEvent;
- focusout: FormInputEvent;
- keydown: FormInputEvent;
- keypress: FormInputEvent;
- keyup: FormInputEvent;
- mouseover: FormInputEvent;
- mouseenter: FormInputEvent;
- mouseleave: FormInputEvent;
- paste: FormInputEvent;
- input: FormInputEvent;
+ blur: FormInputEvent;
+ change: FormInputEvent;
+ click: FormInputEvent;
+ focus: FormInputEvent;
+ focusin: FormInputEvent;
+ focusout: FormInputEvent;
+ keydown: FormInputEvent;
+ keypress: FormInputEvent;
+ keyup: FormInputEvent;
+ mouseover: FormInputEvent;
+ mouseenter: FormInputEvent;
+ mouseleave: FormInputEvent;
+ paste: FormInputEvent;
+ input: FormInputEvent;
};
export {
- Root,
- //
- Root as Input,
+ Root,
+ //
+ Root as Input
};
diff --git a/apps/mailtools/src/components/ui/input/input.svelte b/apps/mailtools/src/components/ui/input/input.svelte
index a769224..ab35b38 100644
--- a/apps/mailtools/src/components/ui/input/input.svelte
+++ b/apps/mailtools/src/components/ui/input/input.svelte
@@ -1,35 +1,34 @@
+ class={cn(
+ 'border-input bg-background ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex h-10 w-full rounded-md border px-3 py-2 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
+ className
+ )}
+ bind:value
+ on:blur
+ on:change
+ on:click
+ on:focus
+ on:focusin
+ on:focusout
+ on:keydown
+ on:keypress
+ on:keyup
+ on:mouseover
+ on:mouseenter
+ on:mouseleave
+ on:paste
+ on:input
+ {...$$restProps} />
diff --git a/apps/mailtools/src/components/ui/label/index.ts b/apps/mailtools/src/components/ui/label/index.ts
index 8bfca0b..d190775 100644
--- a/apps/mailtools/src/components/ui/label/index.ts
+++ b/apps/mailtools/src/components/ui/label/index.ts
@@ -1,7 +1,7 @@
-import Root from "./label.svelte";
+import Root from './label.svelte';
export {
- Root,
- //
- Root as Label,
+ Root,
+ //
+ Root as Label
};
diff --git a/apps/mailtools/src/components/ui/label/label.svelte b/apps/mailtools/src/components/ui/label/label.svelte
index 3c7a947..7425f5c 100644
--- a/apps/mailtools/src/components/ui/label/label.svelte
+++ b/apps/mailtools/src/components/ui/label/label.svelte
@@ -1,21 +1,20 @@
-
+ class={cn(
+ 'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70',
+ className
+ )}
+ {...$$restProps}
+ on:mousedown>
+
diff --git a/apps/mailtools/src/components/ui/scroll-area/index.ts b/apps/mailtools/src/components/ui/scroll-area/index.ts
index e86a25b..7a85ac4 100644
--- a/apps/mailtools/src/components/ui/scroll-area/index.ts
+++ b/apps/mailtools/src/components/ui/scroll-area/index.ts
@@ -1,10 +1,10 @@
-import Scrollbar from "./scroll-area-scrollbar.svelte";
-import Root from "./scroll-area.svelte";
+import Scrollbar from './scroll-area-scrollbar.svelte';
+import Root from './scroll-area.svelte';
export {
- Root,
- Scrollbar,
- //,
- Root as ScrollArea,
- Scrollbar as ScrollAreaScrollbar,
+ Root,
+ Scrollbar,
+ //,
+ Root as ScrollArea,
+ Scrollbar as ScrollAreaScrollbar
};
diff --git a/apps/mailtools/src/components/ui/scroll-area/scroll-area-scrollbar.svelte b/apps/mailtools/src/components/ui/scroll-area/scroll-area-scrollbar.svelte
index 79e48bf..59e08b7 100644
--- a/apps/mailtools/src/components/ui/scroll-area/scroll-area-scrollbar.svelte
+++ b/apps/mailtools/src/components/ui/scroll-area/scroll-area-scrollbar.svelte
@@ -1,27 +1,30 @@
-
-
+ {orientation}
+ class={cn(
+ 'flex touch-none select-none transition-colors',
+ orientation === 'vertical' &&
+ 'h-full w-2.5 border-l border-l-transparent p-px',
+ orientation === 'horizontal' &&
+ 'h-2.5 w-full border-t border-t-transparent p-px',
+ className
+ )}>
+
+
diff --git a/apps/mailtools/src/components/ui/scroll-area/scroll-area.svelte b/apps/mailtools/src/components/ui/scroll-area/scroll-area.svelte
index 793cf0e..47f01a0 100644
--- a/apps/mailtools/src/components/ui/scroll-area/scroll-area.svelte
+++ b/apps/mailtools/src/components/ui/scroll-area/scroll-area.svelte
@@ -1,32 +1,38 @@
-
-
-
-
-
-
- {#if orientation === "vertical" || orientation === "both"}
-
- {/if}
- {#if orientation === "horizontal" || orientation === "both"}
-
- {/if}
-
+
+
+
+
+
+
+ {#if orientation === 'vertical' || orientation === 'both'}
+
+ {/if}
+ {#if orientation === 'horizontal' || orientation === 'both'}
+
+ {/if}
+
diff --git a/apps/mailtools/src/components/ui/skeleton/index.ts b/apps/mailtools/src/components/ui/skeleton/index.ts
index 186db21..df169ce 100644
--- a/apps/mailtools/src/components/ui/skeleton/index.ts
+++ b/apps/mailtools/src/components/ui/skeleton/index.ts
@@ -1,7 +1,7 @@
-import Root from "./skeleton.svelte";
+import Root from './skeleton.svelte';
export {
- Root,
- //
- Root as Skeleton,
+ Root,
+ //
+ Root as Skeleton
};
diff --git a/apps/mailtools/src/components/ui/skeleton/skeleton.svelte b/apps/mailtools/src/components/ui/skeleton/skeleton.svelte
index e56459f..47e6958 100644
--- a/apps/mailtools/src/components/ui/skeleton/skeleton.svelte
+++ b/apps/mailtools/src/components/ui/skeleton/skeleton.svelte
@@ -1,11 +1,13 @@
-
+
diff --git a/apps/mailtools/src/components/ui/sonner/index.ts b/apps/mailtools/src/components/ui/sonner/index.ts
index 1ad9f4a..fcaf06b 100644
--- a/apps/mailtools/src/components/ui/sonner/index.ts
+++ b/apps/mailtools/src/components/ui/sonner/index.ts
@@ -1 +1 @@
-export { default as Toaster } from "./sonner.svelte";
+export { default as Toaster } from './sonner.svelte';
diff --git a/apps/mailtools/src/components/ui/sonner/sonner.svelte b/apps/mailtools/src/components/ui/sonner/sonner.svelte
index 7d5b2f1..62c7228 100644
--- a/apps/mailtools/src/components/ui/sonner/sonner.svelte
+++ b/apps/mailtools/src/components/ui/sonner/sonner.svelte
@@ -1,20 +1,25 @@
+ theme={$mode}
+ class="toaster group"
+ toastOptions={{
+ classes: {
+ toast:
+ 'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',
+ description: 'group-[.toast]:text-muted-foreground',
+ actionButton:
+ 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',
+ cancelButton:
+ 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground'
+ }
+ }}
+ {...$$restProps} />
diff --git a/apps/mailtools/src/components/ui/switch/index.ts b/apps/mailtools/src/components/ui/switch/index.ts
index f5533db..7fdb93a 100644
--- a/apps/mailtools/src/components/ui/switch/index.ts
+++ b/apps/mailtools/src/components/ui/switch/index.ts
@@ -1,7 +1,7 @@
-import Root from "./switch.svelte";
+import Root from './switch.svelte';
export {
- Root,
- //
- Root as Switch,
+ Root,
+ //
+ Root as Switch
};
diff --git a/apps/mailtools/src/components/ui/switch/switch.svelte b/apps/mailtools/src/components/ui/switch/switch.svelte
index 2d09e28..cabce21 100644
--- a/apps/mailtools/src/components/ui/switch/switch.svelte
+++ b/apps/mailtools/src/components/ui/switch/switch.svelte
@@ -1,28 +1,26 @@
-
+ bind:checked
+ class={cn(
+ 'focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
+ className
+ )}
+ {...$$restProps}
+ on:click
+ on:keydown>
+
diff --git a/apps/mailtools/src/components/ui/tabs/index.ts b/apps/mailtools/src/components/ui/tabs/index.ts
index f1ab372..dfafad2 100644
--- a/apps/mailtools/src/components/ui/tabs/index.ts
+++ b/apps/mailtools/src/components/ui/tabs/index.ts
@@ -1,18 +1,18 @@
-import { Tabs as TabsPrimitive } from "bits-ui";
-import Content from "./tabs-content.svelte";
-import List from "./tabs-list.svelte";
-import Trigger from "./tabs-trigger.svelte";
+import { Tabs as TabsPrimitive } from 'bits-ui';
+import Content from './tabs-content.svelte';
+import List from './tabs-list.svelte';
+import Trigger from './tabs-trigger.svelte';
const Root = TabsPrimitive.Root;
export {
- Root,
- Content,
- List,
- Trigger,
- //
- Root as Tabs,
- Content as TabsContent,
- List as TabsList,
- Trigger as TabsTrigger,
+ Root,
+ Content,
+ List,
+ Trigger,
+ //
+ Root as Tabs,
+ Content as TabsContent,
+ List as TabsList,
+ Trigger as TabsTrigger
};
diff --git a/apps/mailtools/src/components/ui/tabs/tabs-content.svelte b/apps/mailtools/src/components/ui/tabs/tabs-content.svelte
index 2533b14..fe6ba3e 100644
--- a/apps/mailtools/src/components/ui/tabs/tabs-content.svelte
+++ b/apps/mailtools/src/components/ui/tabs/tabs-content.svelte
@@ -1,21 +1,20 @@
-
+ class={cn(
+ 'ring-offset-background focus-visible:ring-ring mt-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2',
+ className
+ )}
+ {value}
+ {...$$restProps}>
+
diff --git a/apps/mailtools/src/components/ui/tabs/tabs-list.svelte b/apps/mailtools/src/components/ui/tabs/tabs-list.svelte
index 1968004..1c13ec6 100644
--- a/apps/mailtools/src/components/ui/tabs/tabs-list.svelte
+++ b/apps/mailtools/src/components/ui/tabs/tabs-list.svelte
@@ -1,19 +1,18 @@
-
+ class={cn(
+ 'bg-muted text-muted-foreground inline-flex h-10 items-center justify-center rounded-md p-1',
+ className
+ )}
+ {...$$restProps}>
+
diff --git a/apps/mailtools/src/components/ui/tabs/tabs-trigger.svelte b/apps/mailtools/src/components/ui/tabs/tabs-trigger.svelte
index 0689d11..ae966d8 100644
--- a/apps/mailtools/src/components/ui/tabs/tabs-trigger.svelte
+++ b/apps/mailtools/src/components/ui/tabs/tabs-trigger.svelte
@@ -1,23 +1,22 @@
-
+ class={cn(
+ 'ring-offset-background focus-visible:ring-ring data-[state=active]:bg-background data-[state=active]:text-foreground inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm',
+ className
+ )}
+ {value}
+ {...$$restProps}
+ on:click>
+
diff --git a/apps/mailtools/src/components/ui/textarea/index.ts b/apps/mailtools/src/components/ui/textarea/index.ts
index 6eb6ba3..96a081d 100644
--- a/apps/mailtools/src/components/ui/textarea/index.ts
+++ b/apps/mailtools/src/components/ui/textarea/index.ts
@@ -1,28 +1,28 @@
-import Root from "./textarea.svelte";
+import Root from './textarea.svelte';
type FormTextareaEvent = T & {
- currentTarget: EventTarget & HTMLTextAreaElement;
+ currentTarget: EventTarget & HTMLTextAreaElement;
};
type TextareaEvents = {
- blur: FormTextareaEvent;
- change: FormTextareaEvent;
- click: FormTextareaEvent;
- focus: FormTextareaEvent;
- keydown: FormTextareaEvent;
- keypress: FormTextareaEvent;
- keyup: FormTextareaEvent;
- mouseover: FormTextareaEvent;
- mouseenter: FormTextareaEvent;
- mouseleave: FormTextareaEvent;
- paste: FormTextareaEvent;
- input: FormTextareaEvent;
+ blur: FormTextareaEvent;
+ change: FormTextareaEvent;
+ click: FormTextareaEvent;
+ focus: FormTextareaEvent;
+ keydown: FormTextareaEvent;
+ keypress: FormTextareaEvent;
+ keyup: FormTextareaEvent;
+ mouseover: FormTextareaEvent;
+ mouseenter: FormTextareaEvent;
+ mouseleave: FormTextareaEvent;
+ paste: FormTextareaEvent;
+ input: FormTextareaEvent;
};
export {
- Root,
- //
- Root as Textarea,
- type TextareaEvents,
- type FormTextareaEvent,
+ Root,
+ //
+ Root as Textarea,
+ type TextareaEvents,
+ type FormTextareaEvent
};
diff --git a/apps/mailtools/src/components/ui/textarea/textarea.svelte b/apps/mailtools/src/components/ui/textarea/textarea.svelte
index 9f1410f..ffd18fa 100644
--- a/apps/mailtools/src/components/ui/textarea/textarea.svelte
+++ b/apps/mailtools/src/components/ui/textarea/textarea.svelte
@@ -1,31 +1,30 @@
+ class={cn(
+ 'border-input bg-background ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex min-h-[80px] w-full rounded-md border px-3 py-2 text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
+ className
+ )}
+ bind:value
+ on:blur
+ on:change
+ on:click
+ on:focus
+ on:keydown
+ on:keypress
+ on:keyup
+ on:mouseover
+ on:mouseenter
+ on:mouseleave
+ on:paste
+ on:input
+ {...$$restProps} />
diff --git a/apps/mailtools/src/components/ui/tooltip/index.ts b/apps/mailtools/src/components/ui/tooltip/index.ts
index 7d0444d..30adbb7 100644
--- a/apps/mailtools/src/components/ui/tooltip/index.ts
+++ b/apps/mailtools/src/components/ui/tooltip/index.ts
@@ -1,15 +1,15 @@
-import { Tooltip as TooltipPrimitive } from "bits-ui";
-import Content from "./tooltip-content.svelte";
+import { Tooltip as TooltipPrimitive } from 'bits-ui';
+import Content from './tooltip-content.svelte';
const Root = TooltipPrimitive.Root;
const Trigger = TooltipPrimitive.Trigger;
export {
- Root,
- Trigger,
- Content,
- //
- Root as Tooltip,
- Content as TooltipContent,
- Trigger as TooltipTrigger,
+ Root,
+ Trigger,
+ Content,
+ //
+ Root as Tooltip,
+ Content as TooltipContent,
+ Trigger as TooltipTrigger
};
diff --git a/apps/mailtools/src/components/ui/tooltip/tooltip-content.svelte b/apps/mailtools/src/components/ui/tooltip/tooltip-content.svelte
index 687600f..9d05c94 100644
--- a/apps/mailtools/src/components/ui/tooltip/tooltip-content.svelte
+++ b/apps/mailtools/src/components/ui/tooltip/tooltip-content.svelte
@@ -1,28 +1,27 @@
-
+ {transition}
+ {transitionConfig}
+ {sideOffset}
+ class={cn(
+ 'bg-popover text-popover-foreground z-50 overflow-hidden rounded-md border px-3 py-1.5 text-sm shadow-md',
+ className
+ )}
+ {...$$restProps}>
+