diff --git a/src/lib/core/Pagination.svelte b/src/lib/core/Pagination.svelte deleted file mode 100644 index 0a2dc8c..0000000 --- a/src/lib/core/Pagination.svelte +++ /dev/null @@ -1,121 +0,0 @@ - - -{#snippet fallback(side)} - {@const disabled = side === 'left' ? page === 0 : page === limit} - - -{/snippet} - -
- {#if left}{@render left()}{:else}{@render fallback('left')}{/if} - -
- {#if children} - {@render children({ limit, page, jump })} - {:else} -
{curr} - {next} / {total}
- {/if} -
- - {#if right}{@render right()}{:else}{@render fallback('right')}{/if} -
- - diff --git a/src/lib/core/index.ts b/src/lib/core/index.ts index 20bba0f..0c03950 100644 --- a/src/lib/core/index.ts +++ b/src/lib/core/index.ts @@ -3,7 +3,6 @@ export { default as Image } from './Image.svelte'; export { default as LazyLoad } from './LazyLoad.svelte'; export { default as Observe } from './Observe.svelte'; export { default as Overlay } from './Overlay.svelte'; -export { default as Pagination } from './Pagination.svelte'; export { default as Periodical } from './Periodical.svelte'; export { default as ScrollTop } from './ScrollTop.svelte'; export { default as SearchBar } from './SearchBar.svelte';