diff --git a/.changeset/rare-pigs-bathe.md b/.changeset/rare-pigs-bathe.md new file mode 100644 index 000000000..bf5bed146 --- /dev/null +++ b/.changeset/rare-pigs-bathe.md @@ -0,0 +1,5 @@ +--- +'flowbite-svelte': patch +--- + +fix: remove flowbite-svelte-icons from Datepicker diff --git a/src/lib/datepicker/Datepicker.svelte b/src/lib/datepicker/Datepicker.svelte index 7863d27f2..503ea4400 100644 --- a/src/lib/datepicker/Datepicker.svelte +++ b/src/lib/datepicker/Datepicker.svelte @@ -2,9 +2,7 @@ import { createEventDispatcher, onMount } from 'svelte'; import { fade } from 'svelte/transition'; import { Button } from '$lib'; - import { ChevronLeftOutline, ChevronRightOutline, CalendarMonthSolid } from 'flowbite-svelte-icons'; - // Props export let value: Date | null = null; export let defaultDate: Date | null = null; export let range: boolean = false; @@ -252,7 +250,9 @@
(isOpen = true)} on:input={handleInputChange} on:keydown={handleInputKeydown} {disabled} {required} aria-haspopup="dialog" />
{/if} @@ -273,13 +273,13 @@ {/if}

{currentMonth.toLocaleString(locale, { month: 'long', year: 'numeric' })}