From c1725a8f5627144ce840462a9692b04a2ab1c2ed Mon Sep 17 00:00:00 2001 From: Craig Howell Date: Wed, 12 Oct 2022 09:21:30 -0400 Subject: [PATCH] fix(utils): encodeSearchParams are now exported fix(utils): renamed numberFormatter to formatNumber fix: updated imports for formatNumber and encodeSearchParams docs(Navigation): added actions section and placeholder for utilities --- .../components/navigation/Navigation.svelte | 27 +++++++++++++--- .../components/pagination/Pagination.svelte | 2 +- src/lib/components/slider/Slider.svelte | 4 +-- src/lib/utils/encodeSearchParams.ts | 2 +- .../{numberFormatter.ts => formatNumber.ts} | 0 src/lib/utils/index.ts | 5 +-- src/routes/statistic/+page.svelte | 32 +++++++++---------- 7 files changed, 46 insertions(+), 26 deletions(-) rename src/lib/utils/{numberFormatter.ts => formatNumber.ts} (100%) diff --git a/src/docs/components/navigation/Navigation.svelte b/src/docs/components/navigation/Navigation.svelte index 83db288d..79d3de06 100644 --- a/src/docs/components/navigation/Navigation.svelte +++ b/src/docs/components/navigation/Navigation.svelte @@ -169,10 +169,6 @@ { title: 'Toggle', href: '/toggle' - }, - { - title: 'Tooltip', - href: '/tooltip' } ]; @@ -231,6 +227,29 @@ {/if} {/each} +

+ ACTIONS +

+ + handleClick('/tooltip')} + /> + + + +

diff --git a/src/lib/components/pagination/Pagination.svelte b/src/lib/components/pagination/Pagination.svelte index 623054c7..36f5657d 100644 --- a/src/lib/components/pagination/Pagination.svelte +++ b/src/lib/components/pagination/Pagination.svelte @@ -1,7 +1,7 @@