gd-bs 6.6.13 → 6.6.14
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/components/checkboxGroup/item.js +1 -1
- package/build/components/dropdown/item.js +3 -0
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +2 -0
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/components/checkboxGroup/item.ts +1 -1
- package/src/components/checkboxGroup/types.d.ts +1 -0
- package/src/components/dropdown/item.ts +3 -0
- package/src/components/dropdown/types.d.ts +1 -0
package/package.json
CHANGED
|
@@ -40,7 +40,7 @@ export class CheckboxItem {
|
|
|
40
40
|
this._elCheckbox.required = this._parent.required ? true : false;
|
|
41
41
|
|
|
42
42
|
// Default the title property for the checkbox
|
|
43
|
-
this._elCheckbox.title = this.props.label || this._parent.title || "";
|
|
43
|
+
this._elCheckbox.title = this.props.title || this.props.label || this._parent.title || "";
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
// See if we are rendering a row
|
|
@@ -41,6 +41,7 @@ export class DropdownItem {
|
|
|
41
41
|
this._el.classList.add("dropdown-header");
|
|
42
42
|
this._props.isDisabled ? this._el.classList.add("disabled") : null;
|
|
43
43
|
this._el.innerText = this._props.text == null ? "" : this._props.text;
|
|
44
|
+
this._props.title ? this._el.title = this._props.title : null;
|
|
44
45
|
} else {
|
|
45
46
|
// See if we are rendering this in a nav bar
|
|
46
47
|
if (this._parent.navFl) {
|
|
@@ -50,6 +51,7 @@ export class DropdownItem {
|
|
|
50
51
|
this._elLink.classList.add("dropdown-item");
|
|
51
52
|
this._props.isDisabled ? this._elLink.classList.add("disabled") : null;
|
|
52
53
|
this._props.target ? this._elLink.setAttribute("data-bs-target", this._props.target) : null;
|
|
54
|
+
this._props.title ? this._elLink.title = this._props.title : null;
|
|
53
55
|
this._props.toggle ? this._elLink.setAttribute("data-bs-toggle", this._props.toggle) : null;
|
|
54
56
|
this._elLink.href = this._props.href || "#";
|
|
55
57
|
this._elLink.innerText = this._props.text == null ? "" : this._props.text;
|
|
@@ -64,6 +66,7 @@ export class DropdownItem {
|
|
|
64
66
|
this._elLink.classList.add("dropdown-item");
|
|
65
67
|
this._props.isDisabled ? this._elLink.classList.add("disabled") : null;
|
|
66
68
|
this._props.target ? this._elLink.setAttribute("data-bs-target", this._props.target) : null;
|
|
69
|
+
this._props.title ? this._elLink.title = this._props.title : null;
|
|
67
70
|
this._props.toggle ? this._elLink.setAttribute("data-bs-toggle", this._props.toggle) : null;
|
|
68
71
|
this._elLink.href = this._props.href || "#";
|
|
69
72
|
this._elLink.innerText = this._props.text == null ? "" : this._props.text;
|