gd-bs 5.5.4 → 5.5.7
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/form/control.js +6 -0
- package/build/components/nav/index.js +10 -3
- package/build/components/navbar/index.js +2 -0
- package/dist/gd-bs-icons.js +15 -4
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +4 -0
- package/dist/gd-bs.js +4 -4
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/bs.scss +4 -0
- package/src/components/form/control.ts +6 -0
- package/src/components/form/controlTypes.d.ts +2 -0
- package/src/components/nav/index.ts +12 -3
- package/src/components/nav/types.d.ts +1 -0
- package/src/components/navbar/index.ts +3 -0
- package/src/components/navbar/types.d.ts +1 -0
|
@@ -104,6 +104,7 @@ var FormControl = /** @class */ (function () {
|
|
|
104
104
|
// Add the checkbox group
|
|
105
105
|
this._cb = checkboxGroup_1.CheckboxGroup({
|
|
106
106
|
className: className,
|
|
107
|
+
colSize: cbProps.colSize,
|
|
107
108
|
hideLabel: true,
|
|
108
109
|
isInline: cbProps.isInline,
|
|
109
110
|
isReadonly: this._props.isReadonly,
|
|
@@ -204,6 +205,7 @@ var FormControl = /** @class */ (function () {
|
|
|
204
205
|
// Add the checkbox group
|
|
205
206
|
this._cb = checkboxGroup_1.CheckboxGroup({
|
|
206
207
|
className: className,
|
|
208
|
+
colSize: cbProps.colSize,
|
|
207
209
|
hideLabel: true,
|
|
208
210
|
isInline: cbMultiProps.isInline,
|
|
209
211
|
isReadonly: this._props.isReadonly,
|
|
@@ -249,6 +251,7 @@ var FormControl = /** @class */ (function () {
|
|
|
249
251
|
// Add the checkbox group
|
|
250
252
|
this._cb = checkboxGroup_1.CheckboxGroup({
|
|
251
253
|
className: className,
|
|
254
|
+
colSize: cbProps.colSize,
|
|
252
255
|
hideLabel: true,
|
|
253
256
|
isReadonly: this._props.isReadonly,
|
|
254
257
|
items: this._props.items,
|
|
@@ -264,6 +267,7 @@ var FormControl = /** @class */ (function () {
|
|
|
264
267
|
// Add the checkbox group
|
|
265
268
|
this._cb = checkboxGroup_1.CheckboxGroup({
|
|
266
269
|
className: className,
|
|
270
|
+
colSize: cbProps.colSize,
|
|
267
271
|
hideLabel: true,
|
|
268
272
|
isReadonly: this._props.isReadonly,
|
|
269
273
|
items: this._props.items,
|
|
@@ -293,6 +297,7 @@ var FormControl = /** @class */ (function () {
|
|
|
293
297
|
// Add the checkbox group
|
|
294
298
|
this._cb = checkboxGroup_1.CheckboxGroup({
|
|
295
299
|
className: className,
|
|
300
|
+
colSize: cbProps.colSize,
|
|
296
301
|
hideLabel: true,
|
|
297
302
|
isReadonly: this._props.isReadonly,
|
|
298
303
|
items: this._props.items,
|
|
@@ -338,6 +343,7 @@ var FormControl = /** @class */ (function () {
|
|
|
338
343
|
// Add the checkbox group
|
|
339
344
|
this._cb = checkboxGroup_1.CheckboxGroup({
|
|
340
345
|
className: className,
|
|
346
|
+
colSize: cbProps.colSize,
|
|
341
347
|
hideLabel: true,
|
|
342
348
|
isReadonly: this._props.isReadonly,
|
|
343
349
|
items: this._props.items,
|
|
@@ -30,6 +30,8 @@ var _Nav = /** @class */ (function (_super) {
|
|
|
30
30
|
_this._links = null;
|
|
31
31
|
// Configure the collapse
|
|
32
32
|
_this.configure(itemTemplate);
|
|
33
|
+
// Configure the events
|
|
34
|
+
_this.configureEvents();
|
|
33
35
|
// Configure the parent
|
|
34
36
|
_this.configureParent();
|
|
35
37
|
return _this;
|
|
@@ -49,8 +51,13 @@ var _Nav = /** @class */ (function (_super) {
|
|
|
49
51
|
// Render the nav links
|
|
50
52
|
this.renderItems(itemTemplate);
|
|
51
53
|
};
|
|
52
|
-
//
|
|
53
|
-
_Nav.prototype.configureEvents = function (
|
|
54
|
+
// Configure the events
|
|
55
|
+
_Nav.prototype.configureEvents = function () {
|
|
56
|
+
// Execute the event(s)
|
|
57
|
+
this.props.onRendered ? this.props.onRendered(this.el) : null;
|
|
58
|
+
};
|
|
59
|
+
// Configures the tab link event
|
|
60
|
+
_Nav.prototype.configureTabEvents = function (tab) {
|
|
54
61
|
var _this = this;
|
|
55
62
|
// Add a click event
|
|
56
63
|
tab.el.addEventListener("click", function () {
|
|
@@ -91,7 +98,7 @@ var _Nav = /** @class */ (function (_super) {
|
|
|
91
98
|
// See if we are rendering tabs
|
|
92
99
|
if (tabs) {
|
|
93
100
|
// Configure the events
|
|
94
|
-
this.
|
|
101
|
+
this.configureTabEvents(link);
|
|
95
102
|
// Add the tab content
|
|
96
103
|
tabs.appendChild(link.elTabContent);
|
|
97
104
|
// See if the fade option is enabled
|