gd-bs 5.4.2 → 5.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/bs.js +1 -1
- package/build/components/dropdown/item.js +3 -2
- package/dist/gd-bs-icons.js +179 -179
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.js +174 -174
- package/dist/gd-bs.min.js +1 -1
- package/package.json +7 -7
- package/pnpm-lock.yaml +477 -1641
- package/src/bs.scss +37 -6
- package/src/components/dropdown/item.ts +3 -2
|
@@ -115,8 +115,9 @@ var DropdownItem = /** @class */ (function () {
|
|
|
115
115
|
this._el.addEventListener("click", function (ev) {
|
|
116
116
|
// Prevent the page from moving to the top
|
|
117
117
|
ev.preventDefault();
|
|
118
|
-
// See if we are selecting items
|
|
119
|
-
|
|
118
|
+
// See if we are automatically selecting items
|
|
119
|
+
var autoSelect = typeof (_this._parent.autoSelect) === "boolean" ? _this._parent.autoSelect : true;
|
|
120
|
+
if (autoSelect) {
|
|
120
121
|
// Toggle the item
|
|
121
122
|
_this.toggle();
|
|
122
123
|
}
|