Skip to content

Commit

Permalink
Merge pull request #273 from sa-si-dev/prep-release-1.0.40
Browse files Browse the repository at this point in the history
 Increment version 1.0.40
  • Loading branch information
sa-si-dev authored Aug 23, 2023
2 parents 9ff8bd2 + 3ac8da3 commit dd6a0eb
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 16 deletions.
13 changes: 13 additions & 0 deletions dist-archive/virtual-select-1.0.40.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions dist-archive/virtual-select-1.0.40.min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/virtual-select.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Virtual Select v1.0.39
* Virtual Select v1.0.40
* https://sa-si-dev.github.io/virtual-select
* Licensed under MIT (https://github.com/sa-si-dev/virtual-select/blob/master/LICENSE)
*//******/ (function() { // webpackBootstrap
Expand Down Expand Up @@ -733,7 +733,7 @@ var VirtualSelect = /*#__PURE__*/function () {
} else if (markSearchResults && (!d.isGroupTitle || searchGroup)) {
optionLabel = optionLabel.replace(searchRegex, '<mark>$1</mark>');
}
html += "<div role=\"option\" aria-selected=\"".concat(isSelected, "\" id=\"vscomp-option-").concat(uniqueId, "-").concat(index, "\"\n class=\"").concat(optionClasses, "\" data-value=\"").concat(d.value, "\" data-index=\"").concat(index, "\" data-visible-index=\"").concat(d.visibleIndex, "\" tabindex=\"0\" ").concat(groupIndexText, " ").concat(ariaDisabledText, "\n >\n ").concat(leftSection, "\n <span class=\"vscomp-option-text\" ").concat(optionTooltip, ">\n ").concat(optionLabel, "\n </span>\n ").concat(description, "\n ").concat(rightSection, "\n </div>");
html += "<div role=\"option\" aria-selected=\"".concat(isSelected, "\" id=\"vscomp-option-").concat(uniqueId, "-").concat(index, "\"\n class=\"").concat(optionClasses, "\" data-value=\"").concat(d.value, "\" data-index=\"").concat(index, "\" data-visible-index=\"").concat(d.visibleIndex, "\"\n tabindex=\"0\" ").concat(groupIndexText, " ").concat(ariaDisabledText, "\n >\n ").concat(leftSection, "\n <span class=\"vscomp-option-text\" ").concat(optionTooltip, ">\n ").concat(optionLabel, "\n </span>\n ").concat(description, "\n ").concat(rightSection, "\n </div>");
});
this.$options.innerHTML = html;
this.$visibleOptions = this.$options.querySelectorAll('.vscomp-option');
Expand All @@ -751,7 +751,7 @@ var VirtualSelect = /*#__PURE__*/function () {
checkboxHtml = "<span class=\"vscomp-toggle-all-button\">\n <span class=\"checkbox-icon vscomp-toggle-all-checkbox\"></span>\n <span class=\"vscomp-toggle-all-label\">".concat(this.selectAllText, "</span>\n </span>");
}
if (this.hasSearch) {
searchInput = "<label for=\"vscomp-search-input-".concat(this.uniqueId, "\" class=\"vscomp-search-label\" id=\"vscomp-search-label-").concat(this.uniqueId, "\">").concat(this.searchFormLabel, "</label>\n <input type=\"text\" class=\"vscomp-search-input\" placeholder=\"").concat(this.searchPlaceholderText, "\" id=\"vscomp-search-input-").concat(this.uniqueId, "\">\n <span class=\"vscomp-search-clear\">&times;</span>");
searchInput = "<label for=\"vscomp-search-input-".concat(this.uniqueId, "\" class=\"vscomp-search-label\"\n id=\"vscomp-search-label-").concat(this.uniqueId, "\"\n >\n ").concat(this.searchFormLabel, "\n </label>\n <input type=\"text\" class=\"vscomp-search-input\" placeholder=\"").concat(this.searchPlaceholderText, "\"\n id=\"vscomp-search-input-").concat(this.uniqueId, "\">\n <span class=\"vscomp-search-clear\">&times;</span>");
}
var html = "<div class=\"vscomp-search-container\">\n ".concat(checkboxHtml, "\n ").concat(searchInput, "\n </div>");
this.$search.innerHTML = html;
Expand Down Expand Up @@ -1889,7 +1889,7 @@ var VirtualSelect = /*#__PURE__*/function () {
showOptionsOnlyOnSearch = this.showOptionsOnlyOnSearch,
searchByStartsWith = this.searchByStartsWith;

//If searchNormalize we'll normalize the searchValue
/** If searchNormalize we'll normalize the searchValue */
var searchValue = this.searchValue;
searchValue = this.searchNormalize ? Utils.normalizeString(searchValue) : searchValue;
var isOptionVisible = this.isOptionVisible.bind(this);
Expand Down Expand Up @@ -2508,8 +2508,8 @@ var VirtualSelect = /*#__PURE__*/function () {
DomUtils.addClass(this.$allWrappers, 'closed');
if (!isSilent) {
DomUtils.dispatchEvent(this.$ele, 'afterClose');
this.focus();
}
this.focus();
}
}, {
key: "moveSelectedOptionsFirst",
Expand Down
2 changes: 1 addition & 1 deletion dist/virtual-select.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/virtual-select.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit dd6a0eb

Please sign in to comment.