gd-bs 6.6.3 → 6.6.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/components/dropdown/index.js +5 -3
- package/build/components/form/control.js +8 -0
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +33 -1
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/components/dropdown/index.ts +4 -2
- package/src/components/dropdown/types.d.ts +7 -1
- package/src/components/form/control.ts +28 -17
- package/src/components/form/controlTypes.d.ts +26 -0
package/dist/gd-bs.d.ts
CHANGED
|
@@ -1011,7 +1011,12 @@ declare module 'gd-bs/components/dropdown/types' {
|
|
|
1011
1011
|
|
|
1012
1012
|
import { IBaseProps } from "gd-bs/components/types";
|
|
1013
1013
|
import { IButtonTypes } from "gd-bs/components/button/types";
|
|
1014
|
-
import { IPopover, IPopoverProps } from "gd-bs/components/popover/types";
|
|
1014
|
+
import { IPopover, IPopoverProps, IPopoverPlacements } from "gd-bs/components/popover/types";
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* Dropdown Placements
|
|
1018
|
+
*/
|
|
1019
|
+
export const DropdownPlacements: IPopoverPlacements;
|
|
1015
1020
|
|
|
1016
1021
|
/**
|
|
1017
1022
|
* Dropdown Types
|
|
@@ -1110,6 +1115,7 @@ declare module 'gd-bs/components/dropdown/types' {
|
|
|
1110
1115
|
navFl?: boolean;
|
|
1111
1116
|
onChange?: (item?: IDropdownItem | Array<IDropdownItem>, ev?: Event) => void;
|
|
1112
1117
|
onMenuRendering?: (props: IPopoverProps) => IPopoverProps;
|
|
1118
|
+
placement?: number;
|
|
1113
1119
|
required?: boolean;
|
|
1114
1120
|
title?: string;
|
|
1115
1121
|
type?: number;
|
|
@@ -1223,6 +1229,19 @@ declare module 'gd-bs/components/form/controlTypes' {
|
|
|
1223
1229
|
onValidate?: (control: IFormControlPropsDropdown, value: IFormControlValidationResult) => boolean | IFormControlValidationResult;
|
|
1224
1230
|
}
|
|
1225
1231
|
|
|
1232
|
+
/**
|
|
1233
|
+
* Form Control Properties - Dropdown Button
|
|
1234
|
+
*/
|
|
1235
|
+
export interface IFormControlPropsDropdownButton extends IFormControlPropsDropdown {
|
|
1236
|
+
placeholder?: string;
|
|
1237
|
+
placement?: number;
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* Form Control Properties - Dropdown Checkbox
|
|
1242
|
+
*/
|
|
1243
|
+
export interface IFormControlPropsDropdownCheckbox extends IFormControlPropsDropdownButton { }
|
|
1244
|
+
|
|
1226
1245
|
/**
|
|
1227
1246
|
* Form Control Properties - List Box
|
|
1228
1247
|
*/
|
|
@@ -1263,6 +1282,19 @@ declare module 'gd-bs/components/form/controlTypes' {
|
|
|
1263
1282
|
onValidate?: (control: IFormControlPropsDropdown, value: IFormControlValidationResult) => boolean | IFormControlValidationResult;
|
|
1264
1283
|
}
|
|
1265
1284
|
|
|
1285
|
+
/**
|
|
1286
|
+
* Form Control Properties - Multiple Dropdown Button
|
|
1287
|
+
*/
|
|
1288
|
+
export interface IFormControlPropsMultiDropdownButton extends IFormControlPropsMultiDropdown {
|
|
1289
|
+
placeholder?: string;
|
|
1290
|
+
placement?: number;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* Form Control Properties - Multiple Dropdown Checkbox
|
|
1295
|
+
*/
|
|
1296
|
+
export interface IFormControlPropsMultiDropdownCheckbox extends IFormControlPropsMultiDropdownButton { }
|
|
1297
|
+
|
|
1266
1298
|
/**
|
|
1267
1299
|
* Form Control Properties - Multiple List Box
|
|
1268
1300
|
*/
|