Rename docs component files to remove underscores
No longer needed with modern Kit filename conventions
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<script lang="ts">
|
||||
import TableOfContents from "./_TableOfContents.svelte";
|
||||
import TableOfContents from "./TableOfContents.svelte";
|
||||
import { page } from "$app/stores";
|
||||
import Sidebar from "./_Sidebar.svelte";
|
||||
import MobileSidebar from "./_MobileSidebar.svelte";
|
||||
import Sidebar from "./Sidebar.svelte";
|
||||
import MobileSidebar from "./MobileSidebar.svelte";
|
||||
import { MenuAlt2Icon } from "@rgossiaux/svelte-heroicons/outline";
|
||||
|
||||
let sidebarOpen = false;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { Dialog, DialogOverlay, Transition, TransitionChild } from "$lib";
|
||||
import { XIcon } from "@rgossiaux/svelte-heroicons/outline";
|
||||
import Sidebar from "./_Sidebar.svelte";
|
||||
import Sidebar from "./Sidebar.svelte";
|
||||
export let sidebarOpen = false;
|
||||
</script>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { createRunWithCleanup } from "$lib/utils/run-with-cleanup";
|
||||
import { onMount } from "svelte";
|
||||
import TocItems, { type TocItem } from "./_TocItems.svelte";
|
||||
import TocItems, { type TocItem } from "./TocItems.svelte";
|
||||
|
||||
export let el: HTMLElement | null;
|
||||
export let rootMargin = "0% 0% -80% 0%";
|
||||
@@ -1,7 +1,7 @@
|
||||
# Dialog
|
||||
|
||||
<script>
|
||||
import Preview from "../_Preview.svelte";
|
||||
import Preview from "../Preview.svelte";
|
||||
</script>
|
||||
|
||||
<Preview url="examples/dialog" code="" class="h-[410px] bg-indigo-300"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Disclosure
|
||||
|
||||
<script>
|
||||
import Preview from "../_Preview.svelte";
|
||||
import Preview from "../Preview.svelte";
|
||||
</script>
|
||||
|
||||
<Preview url="examples/disclosure" code="" class="h-[370px] bg-fuchsia-300"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Listbox
|
||||
|
||||
<script>
|
||||
import Preview from "../_Preview.svelte";
|
||||
import Preview from "../Preview.svelte";
|
||||
</script>
|
||||
|
||||
<Preview url="examples/listbox" code="" class="h-[410px] bg-orange-300"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Menu
|
||||
|
||||
<script>
|
||||
import Preview from "../_Preview.svelte";
|
||||
import Preview from "../Preview.svelte";
|
||||
</script>
|
||||
|
||||
<Preview url="examples/menu" code="" class="h-[410px] bg-violet-300"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Popover
|
||||
|
||||
<script>
|
||||
import Preview from "../_Preview.svelte";
|
||||
import Preview from "../Preview.svelte";
|
||||
</script>
|
||||
|
||||
<Preview url="examples/popover" code="" class="h-[520px] bg-orange-500"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Radio Group
|
||||
|
||||
<script>
|
||||
import Preview from "../_Preview.svelte";
|
||||
import Preview from "../Preview.svelte";
|
||||
</script>
|
||||
|
||||
<Preview url="examples/radio-group" code="" class="h-[380px] bg-cyan-300"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Switch
|
||||
|
||||
<script>
|
||||
import Preview from "../_Preview.svelte";
|
||||
import Preview from "../Preview.svelte";
|
||||
</script>
|
||||
|
||||
<Preview url="examples/switch" code="" class="h-[180px] bg-teal-300"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Tabs
|
||||
|
||||
<script>
|
||||
import Preview from "../_Preview.svelte";
|
||||
import Preview from "../Preview.svelte";
|
||||
</script>
|
||||
|
||||
<Preview url="examples/tabs" code="" class="h-[340px] bg-blue-300"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Transition
|
||||
|
||||
<script>
|
||||
import Preview from "../_Preview.svelte";
|
||||
import Preview from "../Preview.svelte";
|
||||
</script>
|
||||
|
||||
<Preview url="examples/transition" code="" class="h-[340px] bg-rose-300"/>
|
||||
|
||||
Reference in New Issue
Block a user