diff --git a/esm/plugins/caret_position/plugin.js b/esm/plugins/caret_position/plugin.js index a99f872a..72a40d99 100644 --- a/esm/plugins/caret_position/plugin.js +++ b/esm/plugins/caret_position/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 59651ff1..fcfaf5c7 100644 --- a/esm/plugins/change_listener/plugin.js +++ b/esm/plugins/change_listener/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 6ac155e4..94c01c90 100644 --- a/esm/plugins/checkbox_options/plugin.js +++ b/esm/plugins/checkbox_options/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 7ca42fe5..f83530d9 100644 --- a/esm/plugins/clear_button/plugin.js +++ b/esm/plugins/clear_button/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 3405d0f4..4b7aed3a 100644 --- a/esm/plugins/drag_drop/plugin.js +++ b/esm/plugins/drag_drop/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 58793ae3..d3feb9f2 100644 --- a/esm/plugins/dropdown_header/plugin.js +++ b/esm/plugins/dropdown_header/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 20c8762d..9b0465f7 100644 --- a/esm/plugins/dropdown_input/plugin.js +++ b/esm/plugins/dropdown_input/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 c5313efb..c310fa7d 100644 --- a/esm/plugins/input_autogrow/plugin.js +++ b/esm/plugins/input_autogrow/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 b8b0d6da..e24ccd39 100644 --- a/esm/plugins/no_active_items/plugin.js +++ b/esm/plugins/no_active_items/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 be4a09e9..2816edaa 100644 --- a/esm/plugins/no_backspace_delete/plugin.js +++ b/esm/plugins/no_backspace_delete/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 d3e82697..4f0f232d 100644 --- a/esm/plugins/optgroup_columns/plugin.js +++ b/esm/plugins/optgroup_columns/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 3f88dc8a..64031f56 100644 --- a/esm/plugins/remove_button/plugin.js +++ b/esm/plugins/remove_button/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 bf0bf262..9f09f7b8 100644 --- a/esm/plugins/restore_on_backspace/plugin.js +++ b/esm/plugins/restore_on_backspace/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 febbbbde..614e1279 100644 --- a/esm/plugins/virtual_scroll/plugin.js +++ b/esm/plugins/virtual_scroll/plugin.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 70e7e09c..d637ad6c 100644 --- a/esm/tom-select.complete.js +++ b/esm/tom-select.complete.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/tom-select.js b/esm/tom-select.js index ce0445c5..d28371fd 100644 --- a/esm/tom-select.js +++ b/esm/tom-select.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 d3c8c590..3c644939 100644 --- a/esm/tom-select.popular.js +++ b/esm/tom-select.popular.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/esm/utils.js b/esm/utils.js index 20ebbcc4..522d0c27 100644 --- a/esm/utils.js +++ b/esm/utils.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * Licensed under the Apache License, Version 2.0 (the "License"); */ diff --git a/index.html b/index.html index 76fac590..a58d2409 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.2.3/dist/css/tom-select.css" rel="stylesheet">
-<script src="https://cdn.jsdelivr.net/npm/tom-select@2.2.3/dist/js/tom-select.complete.min.js"></script>
+
<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>
@@ -286,8 +286,8 @@

Installation

Files

diff --git a/js/index.bundle.js b/js/index.bundle.js index 2756c546..b0fdbc7e 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.2.3/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.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"] "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.2.3/dist/js/tom-select.complete.min.js"] +var c=["https://cdn.jsdelivr.net/npm/tom-select@2.3.0/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 eecebb6a..c451a599 100644 --- a/js/plugins/caret_position.js +++ b/js/plugins/caret_position.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 e437dff4..2130c19a 100644 --- a/js/plugins/change_listener.js +++ b/js/plugins/change_listener.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 dd631fe1..8b9aa5e7 100644 --- a/js/plugins/checkbox_options.js +++ b/js/plugins/checkbox_options.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 a8cc04be..85503723 100644 --- a/js/plugins/clear_button.js +++ b/js/plugins/clear_button.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 4b12d3ac..30f8a7ba 100644 --- a/js/plugins/drag_drop.js +++ b/js/plugins/drag_drop.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 c6f8c8f2..851eb8f0 100644 --- a/js/plugins/dropdown_header.js +++ b/js/plugins/dropdown_header.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 67f6ee78..57ec4d7a 100644 --- a/js/plugins/dropdown_input.js +++ b/js/plugins/dropdown_input.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 25ef8e7a..2f0e4774 100644 --- a/js/plugins/input_autogrow.js +++ b/js/plugins/input_autogrow.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 00c6a551..e0614cd6 100644 --- a/js/plugins/no_active_items.js +++ b/js/plugins/no_active_items.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 606c82d7..1e6658ce 100644 --- a/js/plugins/no_backspace_delete.js +++ b/js/plugins/no_backspace_delete.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 7310a3f6..2a4ebff9 100644 --- a/js/plugins/optgroup_columns.js +++ b/js/plugins/optgroup_columns.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 8f5f8dcb..dedc5ce3 100644 --- a/js/plugins/remove_button.js +++ b/js/plugins/remove_button.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 a2b179c4..86446dfc 100644 --- a/js/plugins/restore_on_backspace.js +++ b/js/plugins/restore_on_backspace.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 899262d7..3cc5b587 100644 --- a/js/plugins/virtual_scroll.js +++ b/js/plugins/virtual_scroll.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 7f9077ba..993b8713 100644 --- a/js/tom-select.base.js +++ b/js/tom-select.base.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 30123f7c..4994976f 100644 --- a/js/tom-select.base.min.js +++ b/js/tom-select.base.min.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 6b5d87d2..8044a38d 100644 --- a/js/tom-select.complete.js +++ b/js/tom-select.complete.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 54ebae53..1a5e1899 100644 --- a/js/tom-select.complete.min.js +++ b/js/tom-select.complete.min.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 f27e37cd..f57a0c1b 100644 --- a/js/tom-select.popular.js +++ b/js/tom-select.popular.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 968670be..004e0886 100644 --- a/js/tom-select.popular.min.js +++ b/js/tom-select.popular.min.js @@ -1,5 +1,5 @@ /** -* Tom Select v2.2.3 +* Tom Select v2.3.0 * 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 4dfb59ce..92698a01 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -3,202 +3,202 @@ /docs/api/ - 2023-10-26T23:22:01.279Z + 2023-10-26T23:27:25.282Z /docs/contribute/ - 2023-10-26T23:22:01.279Z + 2023-10-26T23:27:25.282Z /docs/events/ - 2023-10-26T23:22:01.279Z + 2023-10-26T23:27:25.282Z /docs/ - 2023-10-26T23:22:01.279Z + 2023-10-26T23:27:25.282Z /docs/migration/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /docs/plugins/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /docs/selectize.js/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/api/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/contacts/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/create-filter/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/customization/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/events/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/i18n/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/lock/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/optgroups/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/options/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/performance/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/plugins/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/remote/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/required/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.282Z /examples/rtl/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /examples/styling/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /examples/validation/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z / - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/caret-position/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/change-listener/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/checkbox-options/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/clear-button/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/drag-drop/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/dropdown-header/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/dropdown-input/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/input-autogrow/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/no-active-items/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/no-backspace-delete/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/optgroup-columns/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/remove-button/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/restore-on-backspace/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z /plugins/virtual_scroll/ - 2023-10-26T23:22:01.283Z + 2023-10-26T23:27:25.286Z