diff --git a/packages/skeleton/src/lib/utilities/Modal/Modal.svelte b/packages/skeleton/src/lib/utilities/Modal/Modal.svelte index ecad9256b..ff67c456c 100644 --- a/packages/skeleton/src/lib/utilities/Modal/Modal.svelte +++ b/packages/skeleton/src/lib/utilities/Modal/Modal.svelte @@ -1,16 +1,23 @@ - diff --git a/sites/skeleton.dev/src/routes/+layout.svelte b/sites/skeleton.dev/src/routes/+layout.svelte index 9301c7395..f4b5fc5d8 100644 --- a/sites/skeleton.dev/src/routes/+layout.svelte +++ b/sites/skeleton.dev/src/routes/+layout.svelte @@ -28,9 +28,6 @@ import { page } from '$app/stores'; import { afterNavigate } from '$app/navigation'; - // Types - import type { ModalComponent } from '@skeletonlabs/skeleton'; - // Stores import { storePreview } from '$lib/layouts/DocsThemer/stores'; @@ -90,14 +87,6 @@ }; let isBlogArticle = false; - // Registered list of Components for Modals - const modalComponentRegistry: Record = { - modalSearch: { ref: DocsSearch }, - exampleList: { ref: ModalExampleList }, - exampleEmbed: { ref: ModalExampleEmbed }, - exampleImage: { ref: ModalExampleImage } - }; - function matchPathWhitelist(pageUrlPath: string): boolean { // If homepage route if (pageUrlPath === '/') return true; @@ -203,7 +192,14 @@ - +