🛠️ Update `WithoutChild` type import + format scroll-area.ts file
🚀 Deploy / ☁️ API (push) Has been cancelled
📦 Build / 🛠️ Build app (push) Has been cancelled
🧑‍🚀 Check / ⚙️ Linting (push) Has been cancelled
🧑‍🚀 Check / 📦 SVGs Size (push) Has been cancelled

This commit is contained in:
pheralb
2025-09-26 16:10:15 +01:00
parent 0eaf2ab125
commit 2af89d3578
4 changed files with 18 additions and 25 deletions
+7 -8
View File
@@ -1,13 +1,12 @@
import Scrollbar from "./scroll-area-scrollbar.svelte";
import Root from "./scroll-area.svelte";
import Mask from "./scroll-area-mask.svelte";
import Scrollbar from "./scroll-area-scrollbar.svelte";
export {
Root,
Scrollbar,
Mask,
//
Root as ScrollArea,
Scrollbar as ScrollAreaScrollbar,
Mask as ScrollAreaMask,
Root,
Scrollbar,
Mask,
Root as ScrollArea,
Scrollbar as ScrollAreaScrollbar,
Mask as ScrollAreaMask,
};
@@ -1,6 +1,8 @@
<script lang="ts">
import type { WithoutChild } from "@/types/components";
import { cn } from "@/utils/cn";
import { ScrollArea as ScrollAreaPrimitive } from "bits-ui";
import { cn, type WithoutChild } from "@/utils/cn";
import { useHasPrimaryTouch } from "@/hooks/use-has-primary-touch";
let {
@@ -1,9 +1,12 @@
<script lang="ts">
import { cn, type WithoutChild } from "@/utils/cn";
import { ScrollArea as ScrollAreaPrimitive } from "bits-ui";
import type { WithoutChild } from "@/types/components";
import { cn } from "@/utils/cn";
import { useHasPrimaryTouch } from "@/hooks/use-has-primary-touch";
import { Scrollbar } from "./index.js";
import ScrollAreaMask from "./scroll-area-mask.svelte";
import { useHasPrimaryTouch } from "@/hooks/use-has-primary-touch";
import { ScrollArea as ScrollAreaPrimitive } from "bits-ui";
type Mask = {
top: boolean;