gd-bs 6.1.0 → 6.1.2
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/checkboxGroup/index.js +1 -1
- package/build/components/checkboxGroup/item.js +8 -3
- package/build/components/dropdown/index.js +1 -0
- package/build/components/form/control.js +19 -6
- package/build/components/inputGroup/index.js +2 -0
- package/build/components/listBox/index.js +2 -0
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +5 -3
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/index.html +46 -8
- package/package.json +1 -1
- package/src/components/checkboxGroup/index.ts +1 -1
- package/src/components/checkboxGroup/item.ts +9 -3
- package/src/components/checkboxGroup/types.d.ts +1 -1
- package/src/components/dropdown/index.ts +1 -0
- package/src/components/dropdown/types.d.ts +1 -0
- package/src/components/form/control.ts +19 -6
- package/src/components/form/controlTypes.d.ts +0 -1
- package/src/components/inputGroup/index.ts +2 -0
- package/src/components/inputGroup/types.d.ts +1 -0
- package/src/components/listBox/index.ts +3 -0
- package/src/components/listBox/types.d.ts +2 -1
package/dist/gd-bs.d.ts
CHANGED
|
@@ -884,7 +884,7 @@ declare module 'gd-bs/components/checkboxGroup/types' {
|
|
|
884
884
|
multi?: boolean;
|
|
885
885
|
onRender?: (el?: HTMLElement, item?: ICheckboxGroupItem) => void;
|
|
886
886
|
onChange?: (items: ICheckboxGroupItem | Array<ICheckboxGroupItem>, ev?: Event) => void;
|
|
887
|
-
|
|
887
|
+
required?: boolean;
|
|
888
888
|
title?: string;
|
|
889
889
|
type?: number;
|
|
890
890
|
value?: any;
|
|
@@ -1095,6 +1095,7 @@ declare module 'gd-bs/components/dropdown/types' {
|
|
|
1095
1095
|
navFl?: boolean;
|
|
1096
1096
|
onChange?: (item?: IDropdownItem | Array<IDropdownItem>, ev?: Event) => void;
|
|
1097
1097
|
onMenuRendering?: (props: IPopoverProps) => IPopoverProps;
|
|
1098
|
+
required?: boolean;
|
|
1098
1099
|
setLabelToValue?: boolean;
|
|
1099
1100
|
title?: string;
|
|
1100
1101
|
type?: number;
|
|
@@ -1194,7 +1195,6 @@ declare module 'gd-bs/components/form/controlTypes' {
|
|
|
1194
1195
|
onControlRendering?: (control: IFormControlPropsCheckbox) => void | PromiseLike<IFormControlPropsCheckbox>;
|
|
1195
1196
|
onGetValue?: (control: IFormControlPropsCheckbox) => any;
|
|
1196
1197
|
onValidate?: (control: IFormControlPropsCheckbox, value: IFormControlValidationResult) => boolean | IFormControlValidationResult;
|
|
1197
|
-
renderRow?: boolean;
|
|
1198
1198
|
}
|
|
1199
1199
|
|
|
1200
1200
|
/**
|
|
@@ -1556,6 +1556,7 @@ declare module 'gd-bs/components/inputGroup/types' {
|
|
|
1556
1556
|
placeholder?: string;
|
|
1557
1557
|
prependedButtons?: Array<IButtonProps>;
|
|
1558
1558
|
prependedLabel?: string;
|
|
1559
|
+
required?: boolean;
|
|
1559
1560
|
rows?: number;
|
|
1560
1561
|
step?: number;
|
|
1561
1562
|
title?: string;
|
|
@@ -1682,9 +1683,10 @@ declare module 'gd-bs/components/listBox/types' {
|
|
|
1682
1683
|
isReadonly?: boolean;
|
|
1683
1684
|
items: Array<IDropdownItem>;
|
|
1684
1685
|
multi?: boolean;
|
|
1685
|
-
placeholder?: string;
|
|
1686
1686
|
onLoadData?: () => Array<IDropdownItem> | PromiseLike<Array<IDropdownItem>>;
|
|
1687
1687
|
onChange?: (items: IDropdownItem | Array<IDropdownItem>, ev?: Event) => void;
|
|
1688
|
+
placeholder?: string;
|
|
1689
|
+
required?: boolean;
|
|
1688
1690
|
value?: string | Array<string>;
|
|
1689
1691
|
}
|
|
1690
1692
|
}
|