diff --git a/esm/plugins/caret_position/plugin.js b/esm/plugins/caret_position/plugin.js index 72a40d99..3843b1a0 100644 --- a/esm/plugins/caret_position/plugin.js +++ b/esm/plugins/caret_position/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/plugins/change_listener/plugin.js b/esm/plugins/change_listener/plugin.js index fcfaf5c7..e21d20d2 100644 --- a/esm/plugins/change_listener/plugin.js +++ b/esm/plugins/change_listener/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/plugins/checkbox_options/plugin.js b/esm/plugins/checkbox_options/plugin.js index 94c01c90..3ce241b4 100644 --- a/esm/plugins/checkbox_options/plugin.js +++ b/esm/plugins/checkbox_options/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/plugins/clear_button/plugin.js b/esm/plugins/clear_button/plugin.js index f83530d9..325a649e 100644 --- a/esm/plugins/clear_button/plugin.js +++ b/esm/plugins/clear_button/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/plugins/drag_drop/plugin.js b/esm/plugins/drag_drop/plugin.js index 4b7aed3a..877fc7b3 100644 --- a/esm/plugins/drag_drop/plugin.js +++ b/esm/plugins/drag_drop/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/plugins/dropdown_header/plugin.js b/esm/plugins/dropdown_header/plugin.js index d3feb9f2..5adcef1f 100644 --- a/esm/plugins/dropdown_header/plugin.js +++ b/esm/plugins/dropdown_header/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/plugins/dropdown_input/plugin.js b/esm/plugins/dropdown_input/plugin.js index 9b0465f7..77c2d401 100644 --- a/esm/plugins/dropdown_input/plugin.js +++ b/esm/plugins/dropdown_input/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/plugins/input_autogrow/plugin.js b/esm/plugins/input_autogrow/plugin.js index c310fa7d..a422d122 100644 --- a/esm/plugins/input_autogrow/plugin.js +++ b/esm/plugins/input_autogrow/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/plugins/no_active_items/plugin.js b/esm/plugins/no_active_items/plugin.js index e24ccd39..22a0e9a3 100644 --- a/esm/plugins/no_active_items/plugin.js +++ b/esm/plugins/no_active_items/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/plugins/no_backspace_delete/plugin.js b/esm/plugins/no_backspace_delete/plugin.js index 2816edaa..e4fc5972 100644 --- a/esm/plugins/no_backspace_delete/plugin.js +++ b/esm/plugins/no_backspace_delete/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/plugins/optgroup_columns/plugin.js b/esm/plugins/optgroup_columns/plugin.js index 4f0f232d..e4edb20a 100644 --- a/esm/plugins/optgroup_columns/plugin.js +++ b/esm/plugins/optgroup_columns/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/plugins/remove_button/plugin.js b/esm/plugins/remove_button/plugin.js index 64031f56..fcfa34e3 100644 --- a/esm/plugins/remove_button/plugin.js +++ b/esm/plugins/remove_button/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/plugins/restore_on_backspace/plugin.js b/esm/plugins/restore_on_backspace/plugin.js index 9f09f7b8..189d12d2 100644 --- a/esm/plugins/restore_on_backspace/plugin.js +++ b/esm/plugins/restore_on_backspace/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/plugins/virtual_scroll/plugin.js b/esm/plugins/virtual_scroll/plugin.js index 614e1279..fa789130 100644 --- a/esm/plugins/virtual_scroll/plugin.js +++ b/esm/plugins/virtual_scroll/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/tom-select.complete.js b/esm/tom-select.complete.js index d637ad6c..3b9d4f8a 100644 --- a/esm/tom-select.complete.js +++ b/esm/tom-select.complete.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/tom-select.js b/esm/tom-select.js index d28371fd..d1e32c9d 100644 --- a/esm/tom-select.js +++ b/esm/tom-select.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/tom-select.popular.js b/esm/tom-select.popular.js index 3c644939..fe383159 100644 --- a/esm/tom-select.popular.js +++ b/esm/tom-select.popular.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/utils.js b/esm/utils.js index 522d0c27..d5c43eb6 100644 --- a/esm/utils.js +++ b/esm/utils.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/index.html b/index.html index a58d2409..c70fe404 100644 --- a/index.html +++ b/index.html @@ -264,8 +264,8 @@

Installation

jsDelivr
The fastest way to add Tom Select into your project is to just include the js and css from jsDelivr. -
<link href="https://cdn.jsdelivr.net/npm/tom-select@2.3.0/dist/css/tom-select.css" rel="stylesheet">
-<script src="https://cdn.jsdelivr.net/npm/tom-select@2.3.0/dist/js/tom-select.complete.min.js"></script>
+
<link href="https://cdn.jsdelivr.net/npm/tom-select@2.3.1/dist/css/tom-select.css" rel="stylesheet">
+<script src="https://cdn.jsdelivr.net/npm/tom-select@2.3.1/dist/js/tom-select.complete.min.js"></script>
@@ -286,8 +286,8 @@

Installation

Files

diff --git a/js/index.bundle.js b/js/index.bundle.js index b0fdbc7e..afb0992c 100644 --- a/js/index.bundle.js +++ b/js/index.bundle.js @@ -256,9 +256,9 @@ var o=document.getElementById("main-container") document.querySelectorAll(".demo-mini").length||(o.insertBefore(r,o.firstChild),new TomSelect(r,{maxItems:1,controlInput:"",plugins:["no_backspace_delete"],options:e.map((n=>-1!=e.indexOf(n)&&{text:t[n],value:n})),items:[n],render:{item:(e,t)=>"
Theme: "+t(e.text)+"
"},onChange:e=>{i(e)}})),i(n),document.addEventListener("click",(e=>{var t=e.target.closest(".opensandbox") if(t){var n,r=t.closest(".demo") function l(e){var t=r.querySelector(e) -return t&&t.textContent||""}var o=`
${r.querySelector("textarea").value||""}
`,i=l("style"),s=l("script"),a=[`https://cdn.jsdelivr.net/npm/tom-select@2.3.0/dist/css/tom-select.${localStorage.getItem("theme")||"bootstrap4"}.min.css`,"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css"] +return t&&t.textContent||""}var o=`
${r.querySelector("textarea").value||""}
`,i=l("style"),s=l("script"),a=[`https://cdn.jsdelivr.net/npm/tom-select@2.3.1/dist/css/tom-select.${localStorage.getItem("theme")||"bootstrap4"}.min.css`,"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css"] "bootstrap4"==localStorage.getItem("theme")?a.push("https://cdn.jsdelivr.net/npm/bootstrap@4.5.2/dist/css/bootstrap.min.css"):a.push("https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css") -var c=["https://cdn.jsdelivr.net/npm/tom-select@2.3.0/dist/js/tom-select.complete.min.js"] +var c=["https://cdn.jsdelivr.net/npm/tom-select@2.3.1/dist/js/tom-select.complete.min.js"] n={html:o,js:s,css:i,js_external:c.join(";"),css_external:a.join(";")},r.querySelector(".codepen").value=JSON.stringify(n),r.querySelector(".jsfiddle-html").value=o,r.querySelector(".jsfiddle-js").value=s,r.querySelector(".jsfiddle-css").value=i,r.querySelector(".jsfiddle-resources").value=c.join(",")+","+a.join(","),setTimeout((()=>{t.nextElementSibling.submit()}),50)}}))}function i(t){if(-1!=e.indexOf(t)){localStorage.setItem("theme",t) var n=document.getElementById("select-theme") n&&n.parentNode.removeChild(n),(n=document.createElement("link")).id="select-theme",n.setAttribute("rel","stylesheet"),n.setAttribute("href","/css/tom-select."+t+".css"),document.getElementsByTagName("head")[0].appendChild(n)}}}))},"function"==typeof define&&define.amd?define(e):e() diff --git a/js/plugins/caret_position.js b/js/plugins/caret_position.js index c451a599..30f9f90d 100644 --- a/js/plugins/caret_position.js +++ b/js/plugins/caret_position.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/plugins/change_listener.js b/js/plugins/change_listener.js index 2130c19a..175c641d 100644 --- a/js/plugins/change_listener.js +++ b/js/plugins/change_listener.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/plugins/checkbox_options.js b/js/plugins/checkbox_options.js index 8b9aa5e7..9e825b4b 100644 --- a/js/plugins/checkbox_options.js +++ b/js/plugins/checkbox_options.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/plugins/clear_button.js b/js/plugins/clear_button.js index 85503723..15e5a6c7 100644 --- a/js/plugins/clear_button.js +++ b/js/plugins/clear_button.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/plugins/drag_drop.js b/js/plugins/drag_drop.js index 30f8a7ba..5beddaf1 100644 --- a/js/plugins/drag_drop.js +++ b/js/plugins/drag_drop.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/plugins/dropdown_header.js b/js/plugins/dropdown_header.js index 851eb8f0..67afb73c 100644 --- a/js/plugins/dropdown_header.js +++ b/js/plugins/dropdown_header.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/plugins/dropdown_input.js b/js/plugins/dropdown_input.js index 57ec4d7a..10bc4910 100644 --- a/js/plugins/dropdown_input.js +++ b/js/plugins/dropdown_input.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/plugins/input_autogrow.js b/js/plugins/input_autogrow.js index 2f0e4774..e6f975e3 100644 --- a/js/plugins/input_autogrow.js +++ b/js/plugins/input_autogrow.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/plugins/no_active_items.js b/js/plugins/no_active_items.js index e0614cd6..01dd20d6 100644 --- a/js/plugins/no_active_items.js +++ b/js/plugins/no_active_items.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/plugins/no_backspace_delete.js b/js/plugins/no_backspace_delete.js index 1e6658ce..5f9956cd 100644 --- a/js/plugins/no_backspace_delete.js +++ b/js/plugins/no_backspace_delete.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/plugins/optgroup_columns.js b/js/plugins/optgroup_columns.js index 2a4ebff9..1231f0cd 100644 --- a/js/plugins/optgroup_columns.js +++ b/js/plugins/optgroup_columns.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/plugins/remove_button.js b/js/plugins/remove_button.js index dedc5ce3..434fcb18 100644 --- a/js/plugins/remove_button.js +++ b/js/plugins/remove_button.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/plugins/restore_on_backspace.js b/js/plugins/restore_on_backspace.js index 86446dfc..1656a2a9 100644 --- a/js/plugins/restore_on_backspace.js +++ b/js/plugins/restore_on_backspace.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/plugins/virtual_scroll.js b/js/plugins/virtual_scroll.js index 3cc5b587..9db51f71 100644 --- a/js/plugins/virtual_scroll.js +++ b/js/plugins/virtual_scroll.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/tom-select.base.js b/js/tom-select.base.js index 993b8713..21cee37f 100644 --- a/js/tom-select.base.js +++ b/js/tom-select.base.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/tom-select.base.min.js b/js/tom-select.base.min.js index 4994976f..cd411961 100644 --- a/js/tom-select.base.min.js +++ b/js/tom-select.base.min.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).TomSelect=e()}(this,(function(){"use strict" diff --git a/js/tom-select.complete.js b/js/tom-select.complete.js index 8044a38d..59a5b10e 100644 --- a/js/tom-select.complete.js +++ b/js/tom-select.complete.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/tom-select.complete.min.js b/js/tom-select.complete.min.js index 1a5e1899..e59a2b70 100644 --- a/js/tom-select.complete.min.js +++ b/js/tom-select.complete.min.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).TomSelect=t()}(this,(function(){"use strict" diff --git a/js/tom-select.popular.js b/js/tom-select.popular.js index f57a0c1b..37c0acbd 100644 --- a/js/tom-select.popular.js +++ b/js/tom-select.popular.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/js/tom-select.popular.min.js b/js/tom-select.popular.min.js index 004e0886..b8a325e5 100644 --- a/js/tom-select.popular.min.js +++ b/js/tom-select.popular.min.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.3.0 +* Tom Select v2.3.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).TomSelect=e()}(this,(function(){"use strict" diff --git a/sitemap.xml b/sitemap.xml index dec15f0d..ba0a9a53 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -3,202 +3,202 @@ /docs/api/ - 2023-11-03T00:17:32.672Z + 2023-11-03T02:35:12.395Z /docs/contribute/ - 2023-11-03T00:17:32.672Z + 2023-11-03T02:35:12.395Z /docs/events/ - 2023-11-03T00:17:32.672Z + 2023-11-03T02:35:12.395Z /docs/ - 2023-11-03T00:17:32.672Z + 2023-11-03T02:35:12.395Z /docs/migration/ - 2023-11-03T00:17:32.672Z + 2023-11-03T02:35:12.395Z /docs/plugins/ - 2023-11-03T00:17:32.672Z + 2023-11-03T02:35:12.395Z /docs/selectize.js/ - 2023-11-03T00:17:32.672Z + 2023-11-03T02:35:12.395Z /examples/api/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/contacts/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/create-filter/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/customization/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/events/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/i18n/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/lock/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/optgroups/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/options/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/performance/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/plugins/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/remote/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/required/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/rtl/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/styling/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /examples/validation/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z / - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /plugins/caret-position/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /plugins/change-listener/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /plugins/checkbox-options/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /plugins/clear-button/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.395Z /plugins/drag-drop/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.399Z /plugins/dropdown-header/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.399Z /plugins/dropdown-input/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.399Z /plugins/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.399Z /plugins/input-autogrow/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.399Z /plugins/no-active-items/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.399Z /plugins/no-backspace-delete/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.399Z /plugins/optgroup-columns/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.399Z /plugins/remove-button/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.399Z /plugins/restore-on-backspace/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.399Z /plugins/virtual_scroll/ - 2023-11-03T00:17:32.676Z + 2023-11-03T02:35:12.399Z