Skip to content

Releases: melt-ui/melt-ui

v0.81.0

31 May 09:29
42e2dd4
Compare
Choose a tag to compare

Minor Changes

  • Mount each floating element into their own portal by default now that stack handling has been improved (#1103)

  • Support all of Floating UI's FlipOptions at positioning.flip (#1203)

Patch Changes

v0.80.0

29 May 22:26
c4049a6
Compare
Choose a tag to compare

Minor Changes

  • feat(slider): add onValueCommitted callback (#1212)

  • fix: add data-state to select & combobox (closes #1199) (#1200)

  • chore: change peer deps to support svelte 5 (#1207)

v0.79.1

10 May 11:28
06dbab2
Compare
Choose a tag to compare

Patch Changes

  • Fix: checkbox hiddenInput not calling change events (caae3c01)

v0.79.0

04 May 14:56
40f6ddd
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • Fixed a bug where a floating element would not close on outside interaction that opens a new floating element. (closes #1167) (#1080)

v0.78.0

04 May 14:45
63db898
Compare
Choose a tag to compare

Minor Changes

  • Fixed escape keydown behavior by using stacks to correctly handle nested floating elements (#1142)

  • Changed closeOnEscape builder prop to escapeBehavior to provide even further fine-grained control over escape behavior in builders (closes #1142) (#1142)

Patch Changes

  • fix: Modal elements allow others to close again (closes #1177) (7ebc8202)

  • Fixed bug where tooltip would close while the pointer is still inside trigger (closes #886) (#1158)

  • fix: pagination pages when count = 0 (883b1598)

v0.77.0

21 Apr 06:33
e7d6eb1
Compare
Choose a tag to compare

Minor Changes

  • Added new preventTextSelectionOverflow prop to builders to prevent text selection overflowing the floating element. (closes #1168) (#1170)

Patch Changes

  • add as const return to more element builders (Date Field "segment", Menubar "menubar", Scroll Area) (#1172)

  • chore: internal popover refactors (#1055)

  • slider: add disable swapping option to avoid sorting of values array (#1124)

  • chore: refactor menu internals (#1056)

  • Refactor context menu internals (#1054)

v0.76.3

01 Apr 19:39
484d95c
Compare
Choose a tag to compare

Patch Changes

  • fix(link preview): Fixed bug where content shows up at top left of the page after remounting trigger (fixes #1060) (#1053)

  • Fixed bug where focus trap would deactivate on an intercepted outside interaction (closes #1134) (#1135)

  • Fixed bug where focus trap would deactivate on escape that was intercepted (closes #1132) (#1133)

  • Enhanced type accuracy by implementing as const for builder props, ensuring more precise type inference. (#1015)

  • fix data-state consistency to be based on $open and avoid overriding floating-ui styles #1041 (#1042)

  • Fix link preview: reset activeTrigger on trigger unmount (#1129)

  • Fixed a bug where manually closing a dialog or popover would not restore focus to the trigger (closes #1109) (#1110)

  • Refactor focus trap internals (#1136)

  • Fixed bug where outside interactions could not be intercepted (closes #917) (#1114)

v0.76.2

24 Mar 16:06
5e9b637
Compare
Choose a tag to compare

Patch Changes

  • Fixed a bug on touch devices where an outside interaction leaked click events to other dom elements (closes #1115) (#1118)

v0.76.1

23 Mar 19:03
5f3c3f9
Compare
Choose a tag to compare

Patch Changes

  • Fixed bug where focus trap deactivates in dialog and popover when clicking outside provided closeOnOutsideClick: false (closes #1084) (#1094)

  • Combobox: menu no longer closes when composing (Closes: #1106) (#1107)

  • Fixed bug where focus trap deactivates in dialog and popover when pressing escape provided closeOnEscape: false (closes #1091) (#1095)

  • Fixed memory leak caused by race conditions for various components (closes #1086) (#1087)

  • performance: avoid effect multiple runs (#1089)

  • Listbox: correct arrowSize JSDoc defaultValue (#1050)

  • Popover: fixed a bug that has the potential to introduce a memory leak via the overlay (#1112)

v0.76.0

10 Mar 19:24
2863c17
Compare
Choose a tag to compare

Minor Changes

  • fix: datepicker not syncing with calendar + add defaults from calendar to datepicker (#1076)

Patch Changes

  • Fix incorrect arrow position for Tooltip, Popover, Listbox, Link Preview provided forceVisible: false (closes #1048) (#1049)

  • fix: months not updating when changing options (#1070)

  • Floating: data-side & data-align for floating content (#1082)

  • fix: months not updating when changing options (range calendar) (#1072)