gd-bs 6.3.3 → 6.3.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/button/index.js +1 -1
- package/build/components/dropdown/item.js +1 -1
- package/build/components/form/control.js +14 -0
- package/build/components/iconLink/index.js +1 -1
- package/build/components/navbar/item.js +1 -1
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.js.LICENSE.txt +293 -297
- 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.js.LICENSE.txt +266 -278
- package/dist/gd-bs.min.js +1 -1
- package/package.json +14 -14
- package/pnpm-lock.yaml +1046 -1055
- package/src/bs.scss +10 -6
- package/src/components/button/index.ts +1 -1
- package/src/components/dropdown/item.ts +1 -1
- package/src/components/form/control.ts +14 -0
- package/src/components/form/controlTypes.d.ts +2 -0
- package/src/components/iconLink/index.ts +1 -1
- package/src/components/navbar/item.ts +1 -1
- package/src/styles/_custom.scss +196 -146
- package/src/styles/_dataTables.scss +5 -5
- package/src/styles/_root.scss +47 -0
- package/src/styles/_tippy.scss +65 -50
|
@@ -130,7 +130,7 @@ var _Button = /** @class */ (function (_super) {
|
|
|
130
130
|
this.el.prepend(this.props.iconType(this.props.iconSize, this.props.iconSize, this.props.iconClassName));
|
|
131
131
|
}
|
|
132
132
|
// Else, it's an element
|
|
133
|
-
else if (typeof (this.props.iconType === "object")
|
|
133
|
+
else if (typeof (this.props.iconType) === "object") {
|
|
134
134
|
// Append the icon
|
|
135
135
|
this.el.prepend(this.props.iconType);
|
|
136
136
|
}
|
|
@@ -102,7 +102,7 @@ var DropdownItem = /** @class */ (function () {
|
|
|
102
102
|
elItem.prepend(this.props.iconType(iconSize, iconSize, this.props.iconClassName));
|
|
103
103
|
}
|
|
104
104
|
// Else, it's an element
|
|
105
|
-
else if (typeof (this.props.iconType === "object")
|
|
105
|
+
else if (typeof (this.props.iconType) === "object") {
|
|
106
106
|
// Append the icon
|
|
107
107
|
elItem.prepend(this.props.iconType);
|
|
108
108
|
}
|
|
@@ -124,12 +124,14 @@ var FormControl = /** @class */ (function () {
|
|
|
124
124
|
case _1.FormControlTypes.ColorPicker:
|
|
125
125
|
// Add the input
|
|
126
126
|
this._tb = (0, inputGroup_1.InputGroup)({
|
|
127
|
+
appendedLabel: this.props.appendedLabel,
|
|
127
128
|
className: className,
|
|
128
129
|
id: this._props.id,
|
|
129
130
|
isDisabled: this._props.isDisabled,
|
|
130
131
|
isReadonly: this._props.isReadonly,
|
|
131
132
|
onChange: this._props.onChange,
|
|
132
133
|
placeholder: this._props.placeholder,
|
|
134
|
+
prependedLabel: this.props.prependedLabel,
|
|
133
135
|
required: this._props.required,
|
|
134
136
|
title: this._props.title,
|
|
135
137
|
type: inputGroup_1.InputGroupTypes.ColorPicker,
|
|
@@ -172,12 +174,14 @@ var FormControl = /** @class */ (function () {
|
|
|
172
174
|
case _1.FormControlTypes.Email:
|
|
173
175
|
// Add the input
|
|
174
176
|
this._tb = (0, inputGroup_1.InputGroup)({
|
|
177
|
+
appendedLabel: this.props.appendedLabel,
|
|
175
178
|
className: className,
|
|
176
179
|
id: this._props.id,
|
|
177
180
|
isDisabled: this._props.isDisabled,
|
|
178
181
|
isReadonly: this._props.isReadonly,
|
|
179
182
|
onChange: this._props.onChange,
|
|
180
183
|
placeholder: this._props.placeholder,
|
|
184
|
+
prependedLabel: this.props.prependedLabel,
|
|
181
185
|
required: this._props.required,
|
|
182
186
|
title: this._props.title,
|
|
183
187
|
type: inputGroup_1.InputGroupTypes.Email,
|
|
@@ -188,12 +192,14 @@ var FormControl = /** @class */ (function () {
|
|
|
188
192
|
case _1.FormControlTypes.File:
|
|
189
193
|
// Add the input
|
|
190
194
|
this._tb = (0, inputGroup_1.InputGroup)({
|
|
195
|
+
appendedLabel: this.props.appendedLabel,
|
|
191
196
|
className: className,
|
|
192
197
|
id: this._props.id,
|
|
193
198
|
isDisabled: this._props.isDisabled,
|
|
194
199
|
isReadonly: this._props.isReadonly,
|
|
195
200
|
onChange: this._props.onChange,
|
|
196
201
|
placeholder: this._props.placeholder,
|
|
202
|
+
prependedLabel: this.props.prependedLabel,
|
|
197
203
|
required: this._props.required,
|
|
198
204
|
title: this._props.title,
|
|
199
205
|
type: inputGroup_1.InputGroupTypes.File,
|
|
@@ -304,12 +310,14 @@ var FormControl = /** @class */ (function () {
|
|
|
304
310
|
case _1.FormControlTypes.Password:
|
|
305
311
|
// Add the input
|
|
306
312
|
this._tb = (0, inputGroup_1.InputGroup)({
|
|
313
|
+
appendedLabel: this.props.appendedLabel,
|
|
307
314
|
className: className,
|
|
308
315
|
id: this._props.id,
|
|
309
316
|
isDisabled: this._props.isDisabled,
|
|
310
317
|
isReadonly: this._props.isReadonly,
|
|
311
318
|
onChange: this._props.onChange,
|
|
312
319
|
placeholder: this._props.placeholder,
|
|
320
|
+
prependedLabel: this.props.prependedLabel,
|
|
313
321
|
required: this._props.required,
|
|
314
322
|
title: this._props.title,
|
|
315
323
|
type: inputGroup_1.InputGroupTypes.Password,
|
|
@@ -356,11 +364,13 @@ var FormControl = /** @class */ (function () {
|
|
|
356
364
|
case _1.FormControlTypes.Readonly:
|
|
357
365
|
// Add the input
|
|
358
366
|
this._tb = (0, inputGroup_1.InputGroup)({
|
|
367
|
+
appendedLabel: this.props.appendedLabel,
|
|
359
368
|
className: className,
|
|
360
369
|
id: this._props.id,
|
|
361
370
|
isReadonly: true,
|
|
362
371
|
onChange: this._props.onChange,
|
|
363
372
|
placeholder: this._props.placeholder,
|
|
373
|
+
prependedLabel: this.props.prependedLabel,
|
|
364
374
|
required: this._props.required,
|
|
365
375
|
title: this._props.title,
|
|
366
376
|
type: inputGroup_1.InputGroupTypes.TextField,
|
|
@@ -388,12 +398,14 @@ var FormControl = /** @class */ (function () {
|
|
|
388
398
|
case _1.FormControlTypes.TextArea:
|
|
389
399
|
// Add the input
|
|
390
400
|
this._tb = (0, inputGroup_1.InputGroup)({
|
|
401
|
+
appendedLabel: this.props.appendedLabel,
|
|
391
402
|
className: className,
|
|
392
403
|
id: this._props.id,
|
|
393
404
|
isDisabled: this._props.isDisabled,
|
|
394
405
|
isReadonly: this._props.isReadonly,
|
|
395
406
|
onChange: this._props.onChange,
|
|
396
407
|
placeholder: this._props.placeholder,
|
|
408
|
+
prependedLabel: this.props.prependedLabel,
|
|
397
409
|
required: this._props.required,
|
|
398
410
|
rows: this._props.rows,
|
|
399
411
|
title: this._props.title,
|
|
@@ -405,12 +417,14 @@ var FormControl = /** @class */ (function () {
|
|
|
405
417
|
case _1.FormControlTypes.TextField:
|
|
406
418
|
// Add the input
|
|
407
419
|
this._tb = (0, inputGroup_1.InputGroup)({
|
|
420
|
+
appendedLabel: this.props.appendedLabel,
|
|
408
421
|
className: className,
|
|
409
422
|
id: this._props.id,
|
|
410
423
|
isDisabled: this._props.isDisabled,
|
|
411
424
|
isReadonly: this._props.isReadonly,
|
|
412
425
|
onChange: this._props.onChange,
|
|
413
426
|
placeholder: this._props.placeholder,
|
|
427
|
+
prependedLabel: this.props.prependedLabel,
|
|
414
428
|
required: this._props.required,
|
|
415
429
|
title: this._props.title,
|
|
416
430
|
type: inputGroup_1.InputGroupTypes.TextField,
|
|
@@ -57,7 +57,7 @@ var _IconLink = /** @class */ (function (_super) {
|
|
|
57
57
|
this._elIcon = this.props.iconType(this.props.iconSize, this.props.iconSize, this.props.iconClassName);
|
|
58
58
|
}
|
|
59
59
|
// Else, it's an element
|
|
60
|
-
else if (typeof (this.props.iconType === "object")
|
|
60
|
+
else if (typeof (this.props.iconType) === "object") {
|
|
61
61
|
// Set the icon
|
|
62
62
|
this._elIcon = this.props.iconType;
|
|
63
63
|
}
|
|
@@ -82,7 +82,7 @@ var NavbarItem = /** @class */ (function () {
|
|
|
82
82
|
link.prepend(this._props.iconType(iconSize, iconSize, this._props.iconClassName));
|
|
83
83
|
}
|
|
84
84
|
// Else, it's an element
|
|
85
|
-
else if (typeof (this._props.iconType === "object")
|
|
85
|
+
else if (typeof (this._props.iconType) === "object") {
|
|
86
86
|
// Append the icon
|
|
87
87
|
link.prepend(this._props.iconType);
|
|
88
88
|
}
|