flowbite-svelte
Advanced tools
Changelog
1.10.12
Changelog
1.10.11
Changelog
1.10.10
fix(datepicker): Add a guard to avoid re-calling handleDaySelect() if the range is already complete.
problem: Pressing the return/enter key after selecting datepicker range by using mouse doesn't close the calender and selecting today's date.
Changelog
1.10.9
Changelog
1.10.8
fix: #1684
feat(datepicker): Allow translationLocale
prop to be reactive
Ensures the calendar's locale updates correctly when translationLocale
(or locale
when translationLocale
isn't explicitly set) changes. This provides independent control over date formatting and calendar translations.
Changelog
1.10.7
Changelog
1.10.6
Changelog
1.10.4
feat(sidebar, drawer): #1664 Fix content visibility and breakpoint conflicts (10d9aef
)
Resolves an issue where Sidebar content disappeared on mobile when nested within Drawer. The sidebar tv variant's isOpen: false setting was applying display: hidden, conflicting with Drawer's visibility control.
Changes:
theme.ts: Removed isOpen variant from sidebar tv definition.
Sidebar.svelte: Simplified rendering logic when disableBreakpoints is true, ensuring content always renders.
Usage: Ensures isOpen={!isDrawerHidden} is passed to Sidebar to sync with Drawer's state.
The Drawer now solely controls Sidebar's visibility, eliminating display conflicts.
fix(sidebar): Resolve dynamic resize responsiveness (c2a5445
)
Corrects an issue where the standalone Sidebar failed to show/hide responsively on dynamic screen size changes (e.g., dev tools). Modified Sidebar.svelte to ensure the element is always in the DOM and its display is controlled by Tailwind's responsive classes via tailwind-variants in theme.ts.
fix: #1678, #1679
Changelog
1.10.3
fix: #1677 Handle nullish values in Input component's defaultHandleInput
Ensures robust handling of value in defaultHandleInput by safely converting it to a string, preventing TypeError when input is cleared or null/undefined.