- #651 Fixed: unknown extension .svelte (thanks to @happysalada)
- #658 Fixed ARIA + vite-plugin-svelte warnings (thanks to @stephenlrandall)
- #626 added clearFilterTextOnBlur prop (thanks to @mBoegvald)
- #644 Fixed input focus issue (thanks to @524c)
- #617 added custom group title border variable support (thanks to @lipe-dev)
- #610 resolved ARIA warnings by defining a role on interactive divs (thanks to @josdejong)
- #525 set clear button to
type="button"
(thanks to @CanRau)
- #525 set clear button to
type="button"
(thanks to @CanRau)
- #579 added named slot
input-hidden
(thanks to @Ennoriel)
- #578
required
tabindex
fix (thanks to @Ennoriel)
- #570
on:blur
bug fix (thanks to @cyaris)
- npm will be the death of me...
- #564 added named slots
list-prepend
andlist-append
(thanks to @sawyerclick)
- #561 added some needed CSS custom properties,
--max-height
,--value-container-overflow
,--value-container-padding
,--indicators-position
,--indicators-top
,--indicators-right
,--indicators-bottom
(thanks to @Edward-Heales)
- Reverted a dep bump for
@sveltejs/package
- has a breaking change for non-kit setups. Will bake into v6 instead.
- Added prop
closeListOnChange
- Fixes for #548, #549, #551 and #554
- #544 Fix for
--border-radius
and--border-radius-focused
fallbacks (thanks to @schibrikov) - Added example for style props
- #541 Added CSS custom property
--border-radius-focused
(thanks to @schibrikov) - Added example for create item when
multiple
istrue
- #534 fix for Select's TypeScript declaration file (thanks to @hughlaw)
- #535 fix for icons touch events (thanks to @miXwui)
- #523 fix for hoverItemIndex becoming -1 (thanks to @geminway92)
- #520 fix for autoUpdate and floating UI when list is above select (thanks to @aureleoules)
.list-item
and safari fix for tailwind (thanks to @sawyerclick)
- #513
on:clear
event now includes item data for single selects too (thanks to @libklein) floatingConfig
default now includesautoUpdate: true
- Added
--item-transition
- #509 Fix null error when using loadOptions and value (thanks to @dlebech)
- #459 Firefox pointerdown fix (thanks to @mikekok)
- Added hoverItemIndex and hoverItem event
- Default font-size set to
16px
, iOS will zoom the UI if set smaller (thanks to @rchrdnsh) - Added
--border-hover
,--border-focused
,--item-height
,--item-line-height
and--multi-item-color
- Removed
--borderFocusColor
and--borderHoverColor
- Remove
getSelectionLabel
use slots instead - Added
floatingConfig
- Removed
listPlacement
- Removed
computePlacement
- Removed CSS prop
--input-font-size
- Removed CSS prop
--multi-item-border
- Removed CSS prop
--multi-label-margin
- Added CSS props
--loading--margin , --loading-color, --loading-height, --loading-width
- Added CSS prop
--chevron-border
- Added CSS prop
--font-size
- Added CSS prop
--multi-item-gap
- Added named slot
multi-clear-icon
- Added named slot
list
- Added named slot
item
- Removed Virtual list
- noOptionsMessage removed
- optionIdentifier -> itemId
- getOptionLabel removed
- getGroupHeaderLabel removed
- itemCreated event removed
- labelIdentifier -> label
- creatable removed, use named slots and bake in your create own logic
- isGroupHeaderSelectable -> groupHeaderSelectable
- isSearchable -> searchable
- isFocused -> focused
- isCreatable -> creatable
- isClearable -> clearable
- isWaiting -> loading
- Added named slot
prepend
- Added named slot
chevron
- Added named slot
clear-icon
- Added named slot
loading-icon
- Removed iconProps
- Removed ClearIcon component
- Removed ChevronIcon component
- Removed MultiSelection component
- Added named slot
selection
- Removed Selection component
- isMulti -> multiple
- Other improvements (see docs)
- select-container -> svelte-select
- added justValue
- Placeholder default change from 'Select...' to 'Please select'
- added blur and focus events
- removed isOutOfViewport and clickOutside
- new debounce method
- filterMethod changed to filter
- added support for svelte-tiny-virtual-list
- removed virtual-list class and css props
- loadOptionsInterval -> debounceWait
- selectedValue removed
- MultiSelection removed
- added postcss to example, tests
- tailwind css option
- breaking: containerClasses -> class
- listGroupTitle -> list-group-title
- listContainer -> list
- selectContainer and other CSS class names updated, selectContainer -> svelte-select for example
- LoadingIcon prop added
- CSS props updates. Added .icons and removed some css vars
- Removed logic to show chevron if isSearchable is false
- indicator class renamed to chevron
- showIndicator renamed showChevron
- indicatorSvg removed, use ChevronIcon going forward
- removed playwright and puppeteer, tests now just run in the browser with sirv
- debounce method is now exported as a prop
- Convert repo to use SvelteKit
- Change licence from LIL to ISC
Temp fix for SvelteKit and scrollbar issues - thanks to @sethvincent
Bug fix for isOutOfViewport - thanks to @alexkuzmin
- NPM blunder (sorry!)
- Bug fix for #346 out of viewport - thanks to @nickyrferry
- listOffset was missing from typings - thanks to @blake-regalia
- Bug fix for #309 - thanks to @ABarnob
- Added missing prop 'placeholderAlwaysShow' to TypeScript declaration file (#305) - thanks to @paolotiu
- Added support for non-selectable items - thanks to @mpdaugherty
- TextFilter bug fix (#291)
- Added A11y support (#286) - thanks to @fedoskina
- Added id prop
- Bug fixes for #278, #279, #280, #285 - thanks to @davidfou
- TypeScript declaration in package.json (#277) - thanks to @davidfou
- multiple on:select fix (#276)
- CreateGroupHeaderItem fix (#275)
- Filtering refactor (#274)
- Bug fix for filtering items (#274)
- Bug fix to remove focus when an external field is focused programmatically - thanks to @davidfou
- Added listOffset prop
- Added CSS custom props '--listRight' and '--listLeft'
- Added labelIdentifier prop - thanks to @martgnz
- selectedValue deprecated please use value going forward
- Lots of bug fixes
- Internals reworked and (hopefully) improved
- File size reduced
- Added ClearIcon prop
- Added docs for filteredItems
- loadOptions res now checked for cancelled value
- Bug fix for loadOptions and list causing blur to not close list - thanks to @Ginfone for reporting
- New CSS custom props '--placeholderOpacity' and 'disabledPlaceholderOpacity' added - thanks to @tiaanduplessis
- Added new prop multiFullItemClearable for easier clearable items when multiple is true - thanks to @stephenlrandall
- Regression fix for 3.14.2 clearing selectedValue if not found in items - thanks to @frederikhors for reporting
- Fix so selectedValue updates on items change - thanks to @stephenlrandall
- Fix input attributes so the defaults can be overwritten
- Added event 'loaded' when loadOptions resolves - thanks to @singingwolfboy
- Added TypeScript declaration file - thanks to @singingwolfboy
- new event 'error' is dispatched on caught errors
- loadOptions now catches errors
- new CSS custom prop '--errorBackground' added
- CSS fix for long multi items wrapping text
- Fix to prevent multiple updates on focus events - thanks to @stephenlrandall
- README reformatted
- iconProps added for Icon component - thanks to @stephenlrandall
- Fix for noOptionsMessage not updating when changed - thanks to @frederikhors
- Added indicatorSvg prop - thanks to @oharsta (again!)
- Added showIndicator prop - thanks to @oharsta
- Fix for containerClasses repeating
- Added containerClasses prop - thanks to @0xCAP
- Fix for loadOptions with items opening list by default
- Fix for groupHeader selection on enter - thanks to @KiwiJuicer
- Added new CSS vars for groupTitleFontWeight, groupItemPaddingLeft and itemColor - thanks to @john-trieu-nguyen
- CSS vars padding default fix
- CSS vars typo fix
- Added CSS vars for input padding and left
- Added Icon and showChevron props
- Bumped version of Svelte to 3.19.1 and fixed up some tests
- Virtual list height fix
- Thanks for @jpz for this update... Fix input blurring issue when within shadow DOM
- MS Edge fix: Replaced object literal spreading
- Fix for fix for a fix for IE11 disable input fix 😿
- Fix for a fix for IE11 disable input fix (don't code tired!)
- IE11 disable input fix
- Thanks to @jackc for this update... Added itemFilter method
- List will now close if active item gets selected
- Thanks to @dimfeld for these updates...
- Removing unused properties from List.svelte
- Fix handling of console message type "warning"
- README updated for Sapper SSR
- added prop listAutoWidth - List width will grow wider than the Select container (depending on list item content length)
- README updated
- selectedValue that are strings now look-up and set correct value
- README / demo updates
- Item created bug fix
- Virtual list scroll fix
- Breaking change: isCreatable refactor
- getCreateLabel has been removed
- If using isCreatable and custom list or item components would need to implement filterText prop
- CSS vars for theme control
- Clear event improved for multi-select support
- Grouping improvements
- Svelte v3 upgrade bug fixes
- allow html content in multi selection
- CSS height bug fix
- Fix for Async loading (again)
- Nothing, just npm being weird!
- Upgrade to Svelte v3
- Added isCreatable
- Fix for Async loading
- Security patch
- Disabled colour values updated
- Fix for destroy method
- Fix for isOutOfViewport.js import typo
- Moved svelte-virtual-list into source
- Fix for svelte-virtual-list
- Multi-select bug fixes
- Added hasError prop and styles
- Added isVirtualList prop (Experimental)
- Added menuPlacement
- multiple on:select bug fix
- Set background default to #fff
- Only fire select event when a new item is selected
- Removed unused class causing warnings
- README typo
- Reset highlighted item index to 0 when list updates or filters
- Fix for npm publish missing a file
- Added events for select and clear
- Updated README
- Added tests
- Added hideEmptyState
- Updated README
- Added tests
- Updated README
- Updated filtering with loadOptions
- LeftArrow and RightArrow now remove highlight from list items
- Added tests
- Updated examples
- Updated README
- Added Async (loadOptions)
- Added noOptionsMessage
- Bug fixes
- Updated examples
- Updated README
- Added Multi-select
- Added Grouping
- IE11 support
- First release