gd-bs 6.6.13 → 6.6.15
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/formItem.js +1 -0
- 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/index.html +7 -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/formItem.ts +1 -0
- package/src/components/dropdown/item.ts +3 -0
- package/src/components/dropdown/types.d.ts +1 -0
|
@@ -35,7 +35,7 @@ var CheckboxItem = /** @class */ (function () {
|
|
|
35
35
|
this._elCheckbox.readOnly = this._parent.isReadonly ? true : false;
|
|
36
36
|
this._elCheckbox.required = this._parent.required ? true : false;
|
|
37
37
|
// Default the title property for the checkbox
|
|
38
|
-
this._elCheckbox.title = this.props.label || this._parent.title || "";
|
|
38
|
+
this._elCheckbox.title = this.props.title || this.props.label || this._parent.title || "";
|
|
39
39
|
}
|
|
40
40
|
// See if we are rendering a row
|
|
41
41
|
var renderRow = typeof (this._parent.colSize) === "number" ? this._parent.colSize > 0 : false;
|
|
@@ -40,6 +40,7 @@ var DropdownFormItem = /** @class */ (function () {
|
|
|
40
40
|
this._el.className = this._props.className || "";
|
|
41
41
|
this._el.disabled = this._props.isDisabled ? true : false;
|
|
42
42
|
this._el.innerText = this._props.text == null ? "" : this._props.text;
|
|
43
|
+
this._props.title ? this._el.title = this._props.title : null;
|
|
43
44
|
// See if the item is selected
|
|
44
45
|
if (this._props.isSelected) {
|
|
45
46
|
// Select the option
|
|
@@ -38,6 +38,7 @@ var DropdownItem = /** @class */ (function () {
|
|
|
38
38
|
this._el.classList.add("dropdown-header");
|
|
39
39
|
this._props.isDisabled ? this._el.classList.add("disabled") : null;
|
|
40
40
|
this._el.innerText = this._props.text == null ? "" : this._props.text;
|
|
41
|
+
this._props.title ? this._el.title = this._props.title : null;
|
|
41
42
|
}
|
|
42
43
|
else {
|
|
43
44
|
// See if we are rendering this in a nav bar
|
|
@@ -48,6 +49,7 @@ var DropdownItem = /** @class */ (function () {
|
|
|
48
49
|
this._elLink.classList.add("dropdown-item");
|
|
49
50
|
this._props.isDisabled ? this._elLink.classList.add("disabled") : null;
|
|
50
51
|
this._props.target ? this._elLink.setAttribute("data-bs-target", this._props.target) : null;
|
|
52
|
+
this._props.title ? this._elLink.title = this._props.title : null;
|
|
51
53
|
this._props.toggle ? this._elLink.setAttribute("data-bs-toggle", this._props.toggle) : null;
|
|
52
54
|
this._elLink.href = this._props.href || "#";
|
|
53
55
|
this._elLink.innerText = this._props.text == null ? "" : this._props.text;
|
|
@@ -62,6 +64,7 @@ var DropdownItem = /** @class */ (function () {
|
|
|
62
64
|
this._elLink.classList.add("dropdown-item");
|
|
63
65
|
this._props.isDisabled ? this._elLink.classList.add("disabled") : null;
|
|
64
66
|
this._props.target ? this._elLink.setAttribute("data-bs-target", this._props.target) : null;
|
|
67
|
+
this._props.title ? this._elLink.title = this._props.title : null;
|
|
65
68
|
this._props.toggle ? this._elLink.setAttribute("data-bs-toggle", this._props.toggle) : null;
|
|
66
69
|
this._elLink.href = this._props.href || "#";
|
|
67
70
|
this._elLink.innerText = this._props.text == null ? "" : this._props.text;
|