gd-bs 5.9.1 → 5.9.4
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/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +2 -2
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/components/listBox/types.d.ts +2 -2
- package/src/styles/_custom.scss +20 -3
package/package.json
CHANGED
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
*/
|
|
71
71
|
export const ListBox: (props: IListBoxProps, template?: string) => IListBox;
|
|
72
72
|
|
|
73
|
-
import { IBase } from "../types";
|
|
73
|
+
import { IBase, IBaseProps } from "../types";
|
|
74
74
|
import { IDropdownItem } from "../dropdown/types";
|
|
75
75
|
|
|
76
76
|
/**
|
|
@@ -93,7 +93,7 @@ export interface IListBox extends IBase<IListBoxProps> {
|
|
|
93
93
|
/**
|
|
94
94
|
* List Box Properties
|
|
95
95
|
*/
|
|
96
|
-
export interface IListBoxProps {
|
|
96
|
+
export interface IListBoxProps extends IBaseProps<IListBox> {
|
|
97
97
|
label?: string;
|
|
98
98
|
id?: string;
|
|
99
99
|
isReadonly?: boolean;
|
package/src/styles/_custom.scss
CHANGED
|
@@ -164,9 +164,18 @@
|
|
|
164
164
|
display: inherit;
|
|
165
165
|
}
|
|
166
166
|
/* Show the toggles as buttons */
|
|
167
|
-
.form-check-input {
|
|
167
|
+
.form-check .form-check-input {
|
|
168
168
|
cursor: pointer;
|
|
169
|
-
|
|
169
|
+
margin-left: -0.5rem;
|
|
170
|
+
}
|
|
171
|
+
/* Adjust checkbox size */
|
|
172
|
+
.form-check .form-check-input[type=checkbox] {
|
|
173
|
+
height: 1.25rem;
|
|
174
|
+
width: 1.25rem;
|
|
175
|
+
}
|
|
176
|
+
/* Fix label alignment */
|
|
177
|
+
.form-check .form-check-label {
|
|
178
|
+
margin-left: 0.5rem;
|
|
170
179
|
}
|
|
171
180
|
/** Color match the toggle background color to 'SharePoint Blue' */
|
|
172
181
|
.form-check-input:checked {
|
|
@@ -202,6 +211,9 @@
|
|
|
202
211
|
.form-select-sm {
|
|
203
212
|
padding-right: 1.65rem;
|
|
204
213
|
}
|
|
214
|
+
.form-switch .form-check-input {
|
|
215
|
+
height: 1.25em;
|
|
216
|
+
}
|
|
205
217
|
/* Color match the toggle on focus */
|
|
206
218
|
.form-switch .form-check-input:focus {
|
|
207
219
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%232d8ad6'/%3e%3c/svg%3e");
|
|
@@ -320,16 +332,21 @@
|
|
|
320
332
|
.page-link {
|
|
321
333
|
border-color: #6c757d;
|
|
322
334
|
color: #0078d4;
|
|
335
|
+
font-size: 13px;
|
|
323
336
|
}
|
|
324
337
|
/* Color match the pagination active link colors */
|
|
325
338
|
.page-item.active .page-link {
|
|
326
339
|
background-color: #6c757d;
|
|
327
340
|
border-color: #6c757d;
|
|
341
|
+
color: #fff;
|
|
328
342
|
z-index: inherit;
|
|
329
343
|
}
|
|
330
344
|
/* Color match the pagination disabled border colors */
|
|
331
345
|
.page-item.disabled .page-link {
|
|
346
|
+
background-color: #fff;
|
|
332
347
|
border-color: #6c757d;
|
|
348
|
+
color: #6c757d;
|
|
349
|
+
pointer-events: none;
|
|
333
350
|
}
|
|
334
351
|
/* Color match for SharePoint */
|
|
335
352
|
.page-link:focus {
|
|
@@ -441,4 +458,4 @@
|
|
|
441
458
|
&.show {
|
|
442
459
|
opacity: $offcanvas-backdrop-opacity;
|
|
443
460
|
}
|
|
444
|
-
}
|
|
461
|
+
}
|