Skip to content

Releases: orchidjs/tom-select

2.0.0 Release Candidate 2

25 Aug 00:03
Compare
Choose a tag to compare
  • #184 Preload once
  • #186 Fixed browser halt when searching with longer queries
  • #185 Display loading spinner when preload=focus

2.0.0 Release Candidate 1

21 Aug 17:11
Compare
Choose a tag to compare

JavaScript

  • #168 Correct types for TomSettings.plugins
  • #180 dropdown_input plugin: don't focus before close if not open

Migrating to v2

1.7.7

17 Jul 19:01
Compare
Choose a tag to compare

JavaScript

  • Focus on tab with dropdown_input plugin. Fixes #138
  • setAttr() can accept number arguments
  • Fix Safari issue with submitting selected options #122
  • Generate *.d.ts in dist/types for #66

Docs

  • Add ids for better search navigation
  • Add description for constructor
  • Remove inline CSS

Tests

  • Safari 14
  • tab should change document.activeElement

2.0.0 Beta 1

15 Jul 23:57
Compare
Choose a tag to compare
2.0.0 Beta 1 Pre-release
Pre-release
  • Caret position functionality moved to Caret Position plugin
  • user_created parameter added to addOptions() #145
  • Hidden controlInput with controlInput=null instead of controlInput=''
  • Consistent keyboard navigation across control input configurations
  • close() shouldn't prevent further keyboard input
  • Add sync() method
  • Deprecate isInvalid, use isValid instead
  • input validation on original input

1.7.6

04 Jul 14:12
Compare
Choose a tag to compare

JavaScript

  • Fix TomSelect in shadow root #132
  • Add doc_mousedown listener so that it can be removed in _destory()
  • Use on(initialize) instad of hook(after setup) in plugins
  • TypeScript
    • noUnusedParameters: true
    • strictBindCallApply: true
    • noImplicitAny: true

CSS

  • Remove unnecessary clearfix hack

Tests

  • [escape] should clear the control_input
  • Use before() to setup tests
  • Fewer uses of jQuery
  • Update browserstack launchers
  • Combine focus and blur tests
  • Ability to create tests istance outside of setup_test()
  • More async tests

Docs:

  • Fix search input positioning
  • Update Render Template
  • Bootstrap 5.0.2, fix striped tables

1.7.5

08 Jun 02:32
Compare
Choose a tag to compare

JavaScript

  • Fix change_listener plugin causing loss of focus and not respecting delimiter
  • Fix conflict between change_listener plugin and removeItem()
  • Fix incorrect loading count
  • allowEmptyOption not working #119
  • Fix "no implicit any" in utils.ts #117
  • Type assertion for keypress in dropdown_input plugin
  • Add husky to run test:typescript before commits
  • Initialize duplicate options. Buffer offers zero performance improvement
  • Arrow functions in utils.ts and vanilla.ts
  • Fix updateOriginalInput() for duplicate items
  • Add item_select event

CSS

  • Add min-width for input_autogrow to make sure cursor is visible

Docs

  • "Render Templates" instead of "Rendering". Lead paragraph for Remote Data
  • Remove esm example
  • Updates to customizing.njk
  • flex-column for offcanvas content

Tests

  • async for optgroup_columns
  • Check for tests that should be async

1.7.4

03 Jun 01:39
Compare
Choose a tag to compare

JavaScript

  • onBlur() not called properly for #111
  • Remove correct item with backspace for #106
  • highlight.js to highlight.ts

Docs

  • Update hidePlaceholder description
  • Docsearch css
  • load(query) instead of load(fn) for #105
  • Faster site rebuild during dev
  • Update icon-blender
  • Update contribute.md and add pull_request_template.md

1.7.3

28 May 21:52
Compare
Choose a tag to compare

JavaScript

  • #102 clicking options or items should prevent click evts on parent nodes
  • Better TypeScript typing
  • Correct types entry in package.json
  • contrib/microplugin.js changed to TypeScript

CSS

  • Fix dropdown-active border radius

Docs

  • Add Algolia search
  • Fix CSP conflict with no-backspace-delete example
  • Dropdown template does not have display:none

Tests

  • Add test for allowEmptyOption
  • use scroll(..'auto') for virtual scroll tests

1.7.2

21 May 14:43
Compare
Choose a tag to compare

JavaScript

  • #97 Placeholder showed after focus out of selectbox when clear button clicked
  • #98 Removing all items from tom-select mode=single doesn't update underlying select
  • add scroll() method, add behavior option to scrollToOption()
  • revert portions of 1bf49e5 to fix duplicate item deletion
  • #88 Dropdown doesn't scroll to active option
  • don't change activeOption when hideSelected = false for #88
  • #93 Select box smooth scrolls to current item when opening
  • close() dropdown on load to make sure it is hidden

CSS

  • #95 make spinner scss vars overwritable
  • #91 bootstrap 5 styles doesn't apply to input-group
  • #92 fix placement of clear-button with single mode caret

Other

  • Added robots.txt and sitemap.xml to documentation site
  • #94 Updated docs for clearOptions()
  • More tests

1.7.1

18 May 21:54
Compare
Choose a tag to compare

CSS

  • #90 Fix form-control-sm and form-control-lg
  • #91 Fix input-group, input-group-sm, and input-group-lg for Bootstrap 4 and 5
  • #85 Hidden input shouldn't make select area taller on narrow screens
  • #86 disabled select should be grayed out
  • Prevent overlapping caret

JavaScript

  • #88 setActiveOption() should be after open() to ensure scrolling
  • #87 clearCache(), clearCache('option'), updateOption(), and removeOption() should remove option from DOM
  • Accurately keep track of active option in refreshOptions() with duplicates
  • Add rendered() to consolidate duplicate code for accessing option and item DOM nodes
  • UpdateOption() replaces option node without calling refreshOptions()
  • Move dropdown scrolling to scrollToOption()

Docs