Skip to content

Commit

Permalink
Updated the components library.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunjandatta committed Apr 28, 2021
1 parent 299f1b4 commit c28bae9
Show file tree
Hide file tree
Showing 10 changed files with 547 additions and 536 deletions.
6 changes: 2 additions & 4 deletions @types/gd-bs/components/popover.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,12 @@ export interface IPopover {
export interface IPopoverOptions {
animation?: boolean;
boundary?: string | Element;
container?: string | Element | Function;
container?: Element;
content?: string | Element | Function;
delay?: number | object;
fallbackPlacement?: string | Array<string>;
html?: boolean;
offset?: number | string;
onChange?: Function;
placement?: string | Function;
selector?: string;
template?: string;
title?: string | Element | Function;
trigger?: string;
Expand Down
10 changes: 4 additions & 6 deletions @types/gd-bs/components/tooltip.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,12 @@ export interface ITooltip {
export interface ITooltipOptions {
animation?: boolean;
boundary?: string | Element;
container?: string | Element | Function;
delay?: number | object;
container?: Element;
delay?: number;
fallbackPlacement?: string | Array<string>;
html?: boolean;
offset?: number | string | Function;
offset?: number | string;
onChange?: Function;
placement?: string | Function;
popperConfig?: object;
selector?: string;
template?: string;
title?: string | Element | Function;
trigger?: string;
Expand Down
517 changes: 264 additions & 253 deletions dist/gd-sprest-bs-icons.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/gd-sprest-bs-icons.min.js

Large diffs are not rendered by default.

16 changes: 6 additions & 10 deletions dist/gd-sprest-bs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3709,14 +3709,12 @@ declare module 'gd-sprest-bs/gd-bs/components/popover' {
export interface IPopoverOptions {
animation?: boolean;
boundary?: string | Element;
container?: string | Element | Function;
container?: Element;
content?: string | Element | Function;
delay?: number | object;
fallbackPlacement?: string | Array<string>;
html?: boolean;
offset?: number | string;
onChange?: Function;
placement?: string | Function;
selector?: string;
template?: string;
title?: string | Element | Function;
trigger?: string;
Expand Down Expand Up @@ -4187,14 +4185,12 @@ declare module 'gd-sprest-bs/gd-bs/components/tooltip' {
export interface ITooltipOptions {
animation?: boolean;
boundary?: string | Element;
container?: string | Element | Function;
delay?: number | object;
container?: Element;
delay?: number;
fallbackPlacement?: string | Array<string>;
html?: boolean;
offset?: number | string | Function;
offset?: number | string;
onChange?: Function;
placement?: string | Function;
popperConfig?: object;
selector?: string;
template?: string;
title?: string | Element | Function;
trigger?: string;
Expand Down
517 changes: 264 additions & 253 deletions dist/gd-sprest-bs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/gd-sprest-bs.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gd-sprest-bs",
"version": "7.3.4",
"version": "7.3.5",
"description": "SharePoint JavaScript, TypeScript and Web Components designed using the Bootstrap framework.",
"main": "build/index.js",
"typings": "@types/index.d.ts",
Expand Down Expand Up @@ -32,7 +32,7 @@
"homepage": "https://dattabase.com/extras/bs",
"dependencies": {
"flatpickr": "^4.6.9",
"gd-bs": "4.3.4",
"gd-bs": "4.3.5",
"gd-sprest": "^6.4.2",
"gd-sprest-def": "^0.9.8"
},
Expand Down
6 changes: 2 additions & 4 deletions src/components/listForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,6 @@ ListForm.renderEditForm = (props: IListFormEditProps): IListFormEdit => {
text: fileInfo.name
},
options: {
html: true,
content: Components.Button({
data: fileInfo,
isSmall: true,
Expand Down Expand Up @@ -470,7 +469,7 @@ ListForm.renderEditForm = (props: IListFormEditProps): IListFormEdit => {
}
}
}
}).el as any
}).el
}
}).el);
});
Expand All @@ -496,7 +495,6 @@ ListForm.renderEditForm = (props: IListFormEditProps): IListFormEdit => {
text: attachment.FileName,
},
options: {
html: true,
content: Components.Button({
data: attachment,
isSmall: true,
Expand All @@ -521,7 +519,7 @@ ListForm.renderEditForm = (props: IListFormEditProps): IListFormEdit => {
}
}
}
}).el as any
}).el
}
}).el);
}
Expand Down
3 changes: 1 addition & 2 deletions src/webparts/listFields/wpCfg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ export const WPListFieldsEditForm = (props: IWPListFieldsEditForm = {}): IWPList
target: _tbFilter.el,
type: Components.PopoverTypes.Auto,
options: {
html: true,
trigger: "manual",
trigger: "click",
content: () => {
// Return the dropdown menu
return _ddlFields.el;
Expand Down

0 comments on commit c28bae9

Please sign in to comment.