gd-bs 5.6.3 → 5.6.6
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/inputGroup/index.js +2 -2
- package/dist/gd-bs-icons.js +2 -2
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +4 -1
- package/dist/gd-bs.js +2 -2
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/bs.scss +0 -13
- package/src/components/inputGroup/index.ts +2 -2
- package/src/components/inputGroup/types.d.ts +5 -2
package/package.json
CHANGED
package/src/bs.scss
CHANGED
|
@@ -426,19 +426,6 @@
|
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
|
|
429
|
-
/* Color match the selected flatpickr calendar control */
|
|
430
|
-
.flatpickr-day.selected {
|
|
431
|
-
background-color: #0078d4;
|
|
432
|
-
border-color: #0078d4;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
/* Fix styling for the flatpickr calendar control */
|
|
436
|
-
.flatpickr-input[readonly] {
|
|
437
|
-
color: #212529 !important;
|
|
438
|
-
background-color: #fff !important;
|
|
439
|
-
border-color: #6c757d !important;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
429
|
/** Modal background - Shouldn't be under the .bs class */
|
|
443
430
|
|
|
444
431
|
.modal-backdrop {
|
|
@@ -205,7 +205,7 @@ class _InputGroup extends Base<IInputGroupProps> implements IInputGroup {
|
|
|
205
205
|
// Update the textbox
|
|
206
206
|
this.props.id ? textarea.id = this.props.id : null;
|
|
207
207
|
this.props.placeholder ? textarea.placeholder = this.props.placeholder : null;
|
|
208
|
-
textarea.
|
|
208
|
+
textarea.disabled = this.props.isDisabled ? true : false;
|
|
209
209
|
textarea.readOnly = this.props.isReadonly ? true : false;
|
|
210
210
|
textarea.rows = this.props.rows;
|
|
211
211
|
this.props.title ? textarea.title = this.props.title : null;
|
|
@@ -219,7 +219,7 @@ class _InputGroup extends Base<IInputGroupProps> implements IInputGroup {
|
|
|
219
219
|
// Update the textbox
|
|
220
220
|
this.props.id ? input.id = this.props.id : null;
|
|
221
221
|
this.props.placeholder ? input.placeholder = this.props.placeholder : null;
|
|
222
|
-
input.
|
|
222
|
+
input.disabled = this.props.isDisabled ? true : false;
|
|
223
223
|
input.readOnly = this.props.isReadonly ? true : false;
|
|
224
224
|
this.props.title ? input.title = this.props.title : null;
|
|
225
225
|
typeof (this.props.min) === "number" ? input.min = this.props.min + "" : null;
|
|
@@ -43,7 +43,7 @@ import { IButtonProps } from "../button/types";
|
|
|
43
43
|
* Button Group
|
|
44
44
|
*/
|
|
45
45
|
export interface IInputGroup {
|
|
46
|
-
/** The element. */
|
|
46
|
+
/** The input group element. */
|
|
47
47
|
el: HTMLElement;
|
|
48
48
|
|
|
49
49
|
/** Method to get the value. */
|
|
@@ -51,12 +51,15 @@ export interface IInputGroup {
|
|
|
51
51
|
|
|
52
52
|
/** Hides the input group. */
|
|
53
53
|
hide: () => void;
|
|
54
|
-
|
|
54
|
+
|
|
55
55
|
/** Method to set the value. */
|
|
56
56
|
setValue: (value: string) => void;
|
|
57
57
|
|
|
58
58
|
/** Shows the input group. */
|
|
59
59
|
show: () => void;
|
|
60
|
+
|
|
61
|
+
/** Reference to the textbox input/textarea element. */
|
|
62
|
+
textbox: HTMLInputElement | HTMLTextAreaElement;
|
|
60
63
|
}
|
|
61
64
|
|
|
62
65
|
/**
|