-
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)
-
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)
- Fix: checkbox hiddenInput not calling change events (
caae3c01
)
- Add support for sibling portals (closes #1077, #1153) (#1080)
- Fixed a bug where a floating element would not close on outside interaction that opens a new floating element. (closes #1167) (#1080)
-
Fixed escape keydown behavior by using stacks to correctly handle nested floating elements (#1142)
-
Changed
closeOnEscape
builder prop toescapeBehavior
to provide even further fine-grained control over escape behavior in builders (closes #1142) (#1142)
-
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
)
- Added new
preventTextSelectionOverflow
prop to builders to prevent text selection overflowing the floating element. (closes #1168) (#1170)
-
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)
-
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)
- Fixed a bug on touch devices where an outside interaction leaked click events to other dom elements (closes #1115) (#1118)
-
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)
- fix: datepicker not syncing with calendar + add defaults from calendar to datepicker (#1076)
-
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)
-
fix(Tooltip, Link Preview, Menu, Popover, Listbox) fixed bug where content jumps to top left of page during external unmounting when using out transition on the content and else if block to render the content (closes #1058, #1039) (#1059)
-
Portalled Elements: fixed a bug where clicking inside a nested 'portalled' element would cause the parent to close (#1066)
-
Scroll Area: fixed bug with
type: 'hover'
scrollbars always showing on hover even if content not overflowing (#1046) -
Scroll Area: fixed bug with
scrollbarX
styles (#1046)
- Scroll Area: export types (#1044)
-
Popover: add optional
overlay
element builder for simplified modal behavior (part of #1018) (#1025) -
Menus: add
overlay
element (#1035) -
New Builder: Scroll Area (#908)
-
Range Calendar/Picker: fixed bug preventing a range with the same start and end date (Closes #898) (#1037)
-
Tooltip: fixed bug where tooltip content style gets reset when forceVisible is true and $open gets updated #1010 (#1011)
-
Calendars: ensure dates use the same calendar as the reference value (#1026)
-
Listbox: fixed bug preventing programmatic opening (Closes #1014) (#1020)
-
fix(Calendar/Range Calendar): use
'button'
for button elements'type
(#1003) -
fixed issues with portals and outside interactions (Closes #992) (#1018)
-
Listbox: fixed bug causing
multiple
change functioncurr
andnext
always being equal (Closes #1019) (#1021) -
Fixed bug where on outside interaction in several components (popover, menu, link preview, tooltip, listbox), on component unmount, the content jumps during out transition if content was mounted in an else if block (closes #1005) (#1006)
-
Revert regressions caused by PRs #977 and #995 (#1016)
-
Toolbar: set correct tabindex for buttons and links (#1004)
-
Fix custom portal issues (#995)
-
Dialog: fixed interact outside pointerup/mouseup issue where the dialog would close if you clicked and dragged outside of the dialog before releasing the press (Closes: #750) (#994)
-
Toggle Group: fixed bug where
single
groups wouldn't focus (Closes #810) (#990)
-
Date Picker/Date Range Picker: disable trigger when picker is disabled (Closes #815) (#989)
-
Toast: return close element
type
attribute type as"button"
instead ofstring
(#993) -
ToggleGroup: Fixes curr & next always bbeing the same value (#983)
- Dialog: change data-state conditions (
0c7bf6df
)
- Combobox: autocomplete off (
db53236b
)
- Add element type & emptyMeltElement (closes #855) (#966)
- Hidden Input: Dispatch change events (closes #690) (#962)
- Standardize hidden inputs (closes #249) (#962)
- Tooltip: fixed a bug where the content would remain open when scrolling outside (Closed: #945) (#955)
-
fix: improve dialog outside clicks/interactions (#883)
-
Menus: fix performance issues when many menus are used on the same page (closes: #919) (#923)
-
Update internal import references to be compatible with ESM (#910)
- fix: type of type in tabs builder (#937)
- Internal: withGet helper, increasing performance (
51ce34d5
)
-
Table of Contents: fix smooth scroll and scroll offset (fixes #920) (#860)
-
Select: add
type="button"
to listbox trigger (closes: #710) (#900) -
Slider: Fix
thumbs
Array Type (#911) -
Date/Range Field: fix: bug preventing
00
as value for minute and second segments (closes: #854) (#893)
-
Slider: Refactor thumb and tick (#849)
-
Combobox: add
group
andgroupLabel
elements (closes: #831) (#891)
- Feature:
createSync
utility (f018010f
)
- Menubar: Add
preventScroll
prop. Removes it from the returnedcreateMenu
builders (closes #821) (#882)
-
Radio Group: fix keyboard navigation when disabled (closes #820) (#884)
-
fix: missing tooltip data-attrs (#889)
-
DateField & DateRangeField: add
readonlySegments
prop (#846) -
chore: upgrade nanoid to v5 (#851)
-
Fix(calendar): extraDays array should add days starting from 1 (#869)
-
fix(menu): focus on the trigger when rootActiveTrigger is defined (#871)
-
Progress: allow
null
value for indeterminate state (#870)
- feat: expose
onOutsideClick
handler (#863)
-
Toast: return
aria-live
type as'assertive' | 'polite'
(#859) -
Tags Input: Fix addOnPaste (closes #830) (#847)
-
Combobox: change default Value props type (
835c285a
)
- Menu: fix default active subtrigger (
84270042
)
-
Datepicker: fix types (closes #838) (#839)
-
Collapsible: remove leftover log (
31119cce
) -
Types: fix wrong builder return type for functions (#844)
-
Slider: remove
aria-disabled
from root (#825) -
Select & Combobox: Fix focus preventing parents to close on escape (fixes #739) (
c401f6ff
)
- Slider: RTL support (#791)
- Checkbox: add
disabled
prop to button that wraps input (#819)
-
Listbox: ignore certain keys in typeahead (fixes #803) (#804)
-
PIN Input: fix
value
store not updating in delete keydown event (#811) -
Combobox: remove trigger element (
18b2440c
)
- Select & Combobox: Fix
removeScroll
bugs (closes #733 & #808) (#809)
- Menu:
closeOnItemClick
prop (ff6169ef
)
- enhancement: return
startValue
&endValue
from range calendar (#801)
- Calendar/Range Calendar: apply
data-selected
attribute tooutside-month
days if selected (#799)
- Dropdown Menu, Context Menu, Menubar: export the
createMenuCheckboxItem
return type (#796)
-
fix: Date Range Picker - bug causing
onValueChange
to fire twice (#795) -
fix: Date Picker - bug causing
onValueChange
to fire twice (#795) -
fix: Range Field - bug causing
onValueChange
to not fire after init (#795) -
- Dialog: fix
aria-modal
attribute type (#788)
- Dialog: fix
- fix: bug with range calendar
onValueChange
(#792)
-
- Calendars & Date Pickers: rename
daysOfWeek
toweekdays
and addweekdayFormat
prop (closes #782) (#784)
- Calendars & Date Pickers: rename
-
Calendar: Fix bug where keyboard navigation would allow navigating to disabled months (closes #745) (#748)
-
fix:
ids
prop is notPartial
(#757) -
fix: bug causing custom ids to not always be applied (#786)
-
Date Picker & Date Range Picker: Fix
weekdayFormat
option reactivity (#785)
-
Calendars: remove unnecessary cell attributes in favor of
melt
attribute (#778) -
Dialog: remove
aria-controls
and addaria-modal
(closes #752) (#769) -
Fix: Date Pickers option store reactivity (#776)
-
Combobox/Select: Fix undefined values not selecting (#770)
-
fix: label click selects first segment (#773)
-
fix: Toggle when items inside of popover trigger (like SVGs) are clicked (#775)
- Slider: Add
data-value
attribute to thumb and tick (60312ee9
)
-
Popover: Fix trigger not toggling the
open
state (closes #763) (#765) -
Fix:
aria-disabled
attr types (closes #764) (#766)
- TOC: Add hash to URl when clicking item (closes #592) (
7d6f4e84
)
-
Dialog: closes #452 (
f2e4fdbf
) -
Slider: improve scroll handling (closes #74) (
6a23b0a1
) -
Popover: fix page jump in Safari (closes #198) (
5e30e42f
)
-
Fix: Key events in Select don't work in Safari (#741)
-
fix: space to select select options (#730)
-
fix: Select - toggle when elements within trigger are clicked (#735)
- Fix: Days of week not updating with locale (#722)
-
- New Builders: (#527)
- Calendar - build customizable, accessible, and powerful calendar components
- Date Field - an enhanced alternative to the native with an emphasis on localization & accessibility
- Date Picker - a combination of the Calendar, Date Field, & Popover builders
- Range Calendar - build a calendar with range selection. Extends the power & functionality of the Calendar
- Date Range Field - an enhanced alternative to using two native inputs for selecting start and end dates, with an emphasis on localization & accessibility
- Date Range Picker - a combination of the Range Calendar, Date Range Field, & Popover builders
- New Builders: (#527)
- Fix: Menubar Menu bring your own id (#716)
- Fix: Dialog layout shift when using svelte transitions (#706)
- TOC: isActive helper (
c7618563
)
- TOC: 'all-parents' type (
67307b2a
)
- fix: timing issue with
handleFocus
(#693)
- Feat: ability to override internal ids via a prop (#683)
- Dialog: improve trigger focus' (
257deb36
)
- Menu: add controlled submenu props (#676)
Listbox: Respect
closeOnEscape
- Menus: Return Ids (#674)
- Combobox & Select:
highlightOnHover
option (#671)
- Add
openFocus
&closeFocus
props for controlled focus (#663)
-
Fix bug where context menu wasn't treating elements within the trigger as part of the trigger (#654)
-
fix: loop prop in menus (#643)
-
DropdownMenu: Implement
disableTriggerRefocus
prop (#647) -
Tooltip: Avoid calling openTooltip on every mousemove, fixing a couple of bugs: (#660)
- onOpenChange was being called for every mouse move within the tooltip.
- Overlapping grace areas were fighting over the group.
-
- Apply correct aria attributes depending on
type
of toolbar group (#644)
- Apply correct aria attributes depending on
-
- Apply correct aria attribute depending on
type
of toggle group (#645)
- Apply correct aria attribute depending on
- Combobox: allow contenteditable (#633)
- Dialog: Fix touch event passing through overlay (
9bf81b3b
)
- The
melt
action now throws a helpful error if it's used without our preprocessor (#616)
-
Select: use listbox builder (#613)
-
Combobox: Use listbox builder (#613)
-
Add new internal builder
listbox
(#613)
- Combobox: fix highlightedItem behaviour (
36d7526c
)
- Combobox: add hiddenInput element; refactor behaviours (
a73b82c6
)
- Select: rename
input
tohiddenInput
(4c53736c
)
- Feat: Allow opting-out of floating UI (
1614f12c
)
- return an
ids
object from builders which contains theid
s Melt applies to certain elements internally (#591)
-
Tooltip: Fix bug with
group
parameter (#590) -
Link Preview: Fix bug where content would not close (
c882dfa5
) -
Slider: Add
aria-disabled
to root (#584) -
Tooltip: fix esc handler (
178ef63e
)
-
Select: Fix defaultSelected clash when
multiple
is true (d0a1d4c8
) -
Combobox: Fix defaultSelected clash when
multiple
is true (633bacf0
)
- Tooltip: Add
group
prop (#575)
-
Combobox: Fixed focus management (#569) (#570)
-
fix: change JSDoc example for
melt
action (#576) -
Tooltip: rework open & close behaviours (
21bcf3d0
) -
fix: add generics to exported types (#579)
-
Select: Fix
selected
prop type (#539) -
Pin Input: bind
$valueStr
store tohiddenInput
ofpin-input
builder (#557) -
Combobox: Fix exported types (
9e4c6a26
) -
Dropdown Menu: Up key focuses last menu item if there is no selection (#550)
-
Pin Input: Change
type
prop's types (that's confusing!) (#545)
- Select: fix deep equality on isSelected (
ad02e18f
)
- ca04a433: Combobox: Pressing enter no longer submits form
- 4da1aa73: Combobox: Refactor API, allowing for a more general use case.
- Discarded
isEmpty
,filterFunction
&debounce
. - Added
touchedInput
state
- Discarded
- 82d37a43: Tooltip: Add
disableHoverableContent
prop
- c472cf1d: chore(package.json): add 'repository' property to
package.json
- 244aae3f: refactor: ensure type safety for
disabled
&data-disabled
props
- f30c4d17: improve accordion types
- 952396b2: Tree: remove stopPropagation
- da5eed08: Tree: improve arrow key performance
- bb3349ec: Tree: fix initial tabindex
- e5f48244: Tree: refactor tabindex behaviour
- 1e3bb94d: Tree: fix arrow key nav
- ae88900e: Tree: invert logic from collapsed to expanded
- 4dcacd19: Tree: mark args as optional
- 38fd632f: Tree: remove value prop
- e8ca932a: Refactor: remove leftover logs
- 5ef61385: Tree: remove label
- 2c07edcb: ✨ [New builder] Tree View
- 0f00ca50: Adds highlighted store and isHighlighted helper to combobox
- 5a35ad18: add mutation observer to ToC to make it update when headings change and also return the original heading node within the headings list
- 9e15ccd4: Select: fix isSelected function for single option.
- 4991c06d: - Improve handling of custom labels/IDs for select & combo
- 4aa5ee70: Toasts: updateToast helper fn && null closeDelay option
- 113776fa: internal refactors
- a53aa213: Fix: bug preventing menubar triggers from toggling
- 5d41f209: Popover: fix edge-case where multiple menus were appearing on click
- d92db5aa: fix derivedWithUnsubscribe not properly unsubscribing
- 37afdfc8: set package json entry point
- e6fbcbce: Combobox: change inputValue to Writable
- f74ec13d: fix context-menu and menubar typeahead
- 0528b0e1: Dropdown Menu: Add option to enable or disable typeahead
- 6f2063e6: fix slider overrideable
- 2c9ef167: fix: Combobox isSelected function
- 350246dd: Fix: Bug where selecitng an item in a
Select
would close it's parent popover or dialog
- aae6d6e2: Expose isInputValid, addTag, etc to helpers in tags-input
- ff0e0316: Select: fix isSelected
- d15008fd: Combobox: combine value and label into single selected state
- 85254927: Select: combine value and label into single selected state
- b3637384: fix tooltip timers
- 25118ed8: - Fix bug in
Select
where it would intercept form submissions - ede9de82: Internal: Swap custom deepEqual fn with
deep-equal
package - d790d32c: Tag Input: Add JSDoc to
add
,update
andremove
functions
- eedcbb92: Change radio-group item-inputs to single hidden-input
- 0de31f18: remove slider default aria lavel
- 7f4aa574: fix dialog content click closing
- eedcbb92: Fix required attribute in radio-group
- f56e9309: fix(#419) preserve body padding in removeScroll
- 8355263b: fix: bug where dialog would call
handleClose
twice on click outside events
- 8a6cdd76: fix accordion defaultValue
- 41db52bf: fix missing tabindex on radio-group
- afe293bd: fix popover click outside & nested popovers
- 2579257b: fix combobox arrow keys
- b10b2906: refactor menubar internals
- c560cd5b: [Menubar] Hotfix: menubar race conditions
- 77a39a59: fix pin input controlled value
- 908f68ef: Rename Hover Card to Link Preview
- 4d9212fc: Keep Select menu open on select when
multiple
prop istrue
- abcae57d: fix: context menu not closing when clicking on svg element
- 698a22d6: fix combobox controlled reset
- 886ea40b: improve event canceling; replace e.detail.cancel() with e.preventDefault()
- 7ab57673: fix accordion defaultValue
- a5270d8d: Combobox: refactor API to be more declarative
- 9fe1832f: Select: improve valueLabel behaviour
- 13d4cd85: [Context Menu] Fix bug preventing forms from being submitted within the menus
- 0be3520a: [Select] Prevent trigger refocus when using mouse
- 19942427: [Menubar] Fix lag when switching between menus
- 69858eaf: Resolves a bug in select builder when multi-select is active where data-selected and aria-selected were not being set properly
- aba59d25: fix: tag being created/updated even if not valid
- c0c66f0d: [Types] Expose ComponentEvent types
- adcf8853: Improved pin-input backspace behaviour
- b3756704: remove TOC logs
- dbf938bd: change checkbox default value
- 8a673d15: remove preventDefault from radio button item
- 822a0a55: Add TOC
- e46d57c8: feature: Add trim option to input-tags
- 7fd917c1: change tabs autoSet behaviour
- 2ca365c0: - Add
group
andgroupLabel
elements to the Menu builders
- 5ba01f80: feat: Added support for
NodeNext
andBundler
fortsconfig.json
'smoduleResolution
config option
- fbfef15b: Slider: defaultValue no longer required
- 8cc15888: refactor: standardize portal prop
- 270c98e5: fix: outside click not being allowed on dialog
- b1bfc1a3: - Toast
- Change pointerenter behaviour from reset timer to pause timer
- Add getPercentage function to calculate percentage of time remaining
- 6e4b44e7: refactor: menu types
- 2e29832f: [Combobox] Fix type generation issue
- 14bbbef4: Fix portalling issues
- f5bd0768: fix various slider bugs
- 21d19c31: [Dialog] fix: no longer require trigger to open dialog
- b2d33548: refactor: internal menu types
- cba5bb7c: convert controllable returned states from readables to writables
- 714f4b3c: Combobox: add controlled support
- 98e05474: fix: Select & Menu keydowns leaking
- 8218662d: [Select]: Add multiple prop
- c2bca81c: [Slider] - Fix vertical slider arrow behavior
- 3b86f0eb: change accordion type prop to multiple
- f44c54eb: Dialog: Add portalled element
- d2d7c98f: Fix: vertical slider inversion
- 8400a4e5: Replaced the
melt
attribute for theuse:melt
action - ab1ec0bd: New Feature: Controlled Props
- Controlled props give you more control over the state & behavior of the builder components.
- 8e5414c8: [New Feature] Custom Melt Events
- ab1ec0bd: New Feature: Controlled Props
- Controlled props give you more control over the state & behavior of the builder components.
- 8e5414c8: [New Feature] Custom Melt Events
- a3781f7c: fix: Remove
@melt-ui/svelte
alias, add text transform
- 6f521b22: [Hover Card]
- Fix bug where the link/button is unclickable on mobile
- 467a8ff3: Select: fix bug where quick sliding would not set the values to min/max
- 1afcc4b2: Select: add label el store
- 60067d43: Select: fix value controlled usage not setting valueLabel
- 548258cd: Select: rename label to valueLabel
- f94c61ec: Combobox: include for attribute in label
- 714d8e18: fix: tooltip behaviour
- 75ba9c3b: fix: tooltip pointerover now only works with mouse inputs
- 61123724: tooltip: change defaults; improve behaviour consistency
- 7a8c0f05: Tooltip: Change default options; Add trigger/content gap handling; Behaviour changes
- d055b2a5: [Tooltip] Fix a11y attributes & behavior
- c5945220: [Avatar] Fixes bug where the fallback is hidden
- a71ac941: fix: dialog focus-trap
- 2f803ea8: [Combobox]
- Fix Open/Close Flickering
- Returns a
label
element builder
- fix: avatar fallback overriding styles
- 2d1936b0: feat: tooltip touch support
- 902cb5dc: refactor: Internal type-safety & performance changes
- 6f620f0a: fix: clicks misfiring
- 9c81f47e: refactor: rename createToasts to createToaster
- 0f100296: [Checkbox] Unsub checkbox click event
- afa02ae9: use nanonid/non-secure to support more environments
- ef32b32a: [New Builder] Toast
- f25ed135: [Dialog]: Dialog no longer closes on right-click
- 3c7725c3: [Tabs] Force focus on click for buttons in safari
- 55815f04: Slider: invert vertical direction
- 7639d712: Tooltip: prevent focus on mousedown
- b7cfbf13: Select: add a11y roles
- f1e7c64c: Slider: metaKeys to jump to values
- 7d7b18e8: refactor: improved accordion types
- 893535af: [Accordion]
- Add missing aria attributes
- Add
heading
builder to apply aria attributes to non-heading elements used as headings
- c987225b: [Combobox]
- Fix a bug where tabbing from would open it
- Close the menu when tab/shift+tab is pressed
- de855112: Fix: Type issue with
melt
attribute on certain elements
- 151fcc35: [Multiple] Fix radio focus & other left click issues
- b731d118: fix: builders not exposing actions
- 00043ed4: Fixed the
melt
attribute's documentation
- 434cc977: feat: Adds the PP
- 053ea4d5: [Select] Support Page Up and Page Down keyboard navigation. [Combobox] Support Page Up and Page Down keyboard navigation.
- 94861927: [Menus]
- Fix lag between submenus and menubar menus
- Fix the non-chromium browser issue where
data-highlight
would persist after the menu closes and reopens.
- 87612adb: feat: allow focus trap disabling popover
- 1386ff64: feat: popover controlled usage
- ad43dedd: [Menus] fix: dropdown submenu not closing
- 8be65692: [Refactor] Args -> Props
- 476abfc: feat(dialog): support nested dialogs
- 9a28950: fix(combobox): input blur strange behaviour
- 7accc8b: fix(slider): disabled slider no longer prevents scroll
- 7accc8b: refactor(combobox): improve combobox reset behaviour
- 1966f82: fix(slider): only left-click triggers slider
- 8f98478: [Dropdown Menu] Fix dropdown trigger tabindex issue
- bc8a6da: fix collapsible disabled attribute
- 8df24e5: refactor: disable middle & right clicks on Tabs and Radio Group
- 9f78da5: [Menus]: Close Menus on Tab press within submenus
- deb46a9: fix(collapsible): disabled state
- 5c80008: [Menus] Fix submenu typeahead logic
- 4170fc5: Fix tag-input focus
- 0c7008c: fix incomplete builders
- 068b84a: add action to function builders return
- 2fda798: feat: pin-input builder
- dbadcbe: export return types for all builders
- 439ab89: Add Combobox builder
- f54f4a5: label as const
- d11eaab: tags input: edit support
- 973672e: export builder types
- ec1abfe: Use builder wrapper
- 973672e: export data-melt-[part] on builders
- 1266ef6: New Feature: Menubar
- 100eb14: [New Builder] Hover Card
- d108259: fix(toggle-group): focus selected first
-
d031b34: fix/refactor [toolbar]
createToolbarGroup
is no longer a separate import, it is returned from thecreateToolbar
builder function. This is not only a cleaner approach, but also enables us to scope the context of the groups to a given toolbar.<script lang="ts"> import { createToolbar, - createToolbarGroup } from '@melt-ui/svelte'; import { Bold, Italic, Strikethrough, AlignLeft, AlignCenter, AlignRight } from 'icons'; const { root, options, button, link, separator } = createToolbar(); const { root: fontGroup, item: fontItem } = createToolbarGroup({ - toolbarOptions: options, type: 'multiple', }); const { root: alignGroup, item: alignItem } = createToolbarGroup( - { toolbarOptions: options } ); </script>
-
b7c9930: feat: Context Menu
-
d01a759: Select improvements:
- Improved Typeahead support for repeated characters to cycle through elements with that same character.
- Shared typeahead with DropdownMenu & Select
- Added createGroup builder returned from createSelect to assist with creating accessible option groups.
- Updated preview/example
- Add loop option to loop through items
- fbb67de: Rework tags-input
- 379e413: [Dropdown/Context Menus] Update tab & scroll behaviors
- 45ac2b1: [Toggle Group]: Fix tab behavior
- 18c36cb: fix[select]: tab navigation
- 690ad4d: feat: tags input
- 0aa94da: feat: Dropdown Menu
- ae6ecfe: Feat: Avatar builder
- 0dd1ab0: feat: Separator builder
- 2a88d9d: Feat: Label builder
- 7a6e9b4: fix isSelected fn
- 03d1cde: revert id change back to nanoid
- 86a9b3a: feat(select): allow disabling individual options
- 09bb891: refactor: use action builders
- 4a5b1a1: fix(select): changing select value store now automatically changes select label store
- 0b4fe38: feat(toggle): allow disabled state to be changed
- dc17ef5: feat(select): option to set default label; rename selected to value & selectedText to label
- a5d6d37: fix: pagination edge cases
- dc17ef5: fix(select): disabled select trigger no longer opens menu
- 7b07c53: fix: focus trap not working in certain components
- 3df8740: expose options store in tabs
- fb9e489: fix(select): selectedText not being set onMount
- 3df8740: refactor: improve dir detection
- 4d3ab1d: feat: support RTL directions
- 517b1c1: fix: slider not working properly with low values
- 5ff87f6: fix: focusTrap not unsubbing
- bc51681: fix: Adjusts
typeVerisons
map to fix incorrect auto-imported path
- 1cf6fb8: fix toolbar exports
- c0616cc: remove onChange from collapsible
- 600a530: fix slider dragging screen on mobile
- 55754c1: refactor(select): label attr & unknown value
- cefa91e: fix(select): prevent focus on mousedown
- d3aeed2: add toolbar
- eb2afe5: fix slider intercepting document clicks
- 897a45d: feat: add slider
- 9c960cb: refactor: update selectedText to support numbers
- ad4436b: feat: export input el from select refactor: change pagination default perPage to 1
- 2d224d1: fix(slider): correct slider value return; steps functionality on mouse drag
- f63cf06: fix: export pagination
- 6a370c6: fix dialog scroll lock
- 63d6c02: add selected arg to select; add number support to select
- 63d6c02: improve select focus management
- 12c9700: fix: prevent default pagination keydown handler
- 4c481ee: feat: pagination
- c824aa4: improve scroll lock
- f9ec447: add tooltip
- 62f7413: dialog improvements
- 4e27f95: close tooltip on pointer down functionality
- f7dc717: change select trigger to be single derived
- 6f98aa5: add dialog
- fc18981: add select features (typeahead) & refactor internals
- 0f1a1f6: Select: add isSelected and options to returned object; Add HOME and END kbd listeners
- cb1b21c: Adjust browser detection function
- 444f570: feat: popover
- 6fd8efe: update accordion return
- 7971876: use popper action on select
- 1ba6b49: add radio group
- 5c4ed8c: add progress
- 2377592: add switch
- b685910: add toggle group
- c4583cb: add toggle builder
- 2d34b85: Chore: add builder docs