gd-bs 6.6.14 → 6.6.16
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/formItem.js +1 -0
- package/build/components/tooltip/index.js +39 -16
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +6 -1
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/index.html +7 -1
- package/package.json +1 -1
- package/src/components/dropdown/formItem.ts +1 -0
- package/src/components/tooltip/index.ts +41 -19
- package/src/components/tooltip/types.d.ts +6 -1
package/dist/gd-bs.d.ts
CHANGED
|
@@ -2995,13 +2995,14 @@ declare module 'gd-bs/components/tooltip/types' {
|
|
|
2995
2995
|
|
|
2996
2996
|
import { IBaseProps, ITippyProps } from "gd-bs/components/types";
|
|
2997
2997
|
import { IButtonProps, IButton } from "gd-bs/components/button/types";
|
|
2998
|
+
import { IDropdownProps, IDropdown } from "gd-bs/components/dropdown/types";
|
|
2998
2999
|
|
|
2999
3000
|
/**
|
|
3000
3001
|
* Tooltip
|
|
3001
3002
|
*/
|
|
3002
3003
|
export interface ITooltip {
|
|
3003
3004
|
/** Reference to the button. */
|
|
3004
|
-
button
|
|
3005
|
+
button?: IButton;
|
|
3005
3006
|
|
|
3006
3007
|
/** The element. */
|
|
3007
3008
|
el: HTMLButtonElement;
|
|
@@ -3012,6 +3013,9 @@ declare module 'gd-bs/components/tooltip/types' {
|
|
|
3012
3013
|
/** Hides an element’s tooltip. */
|
|
3013
3014
|
hide: () => void;
|
|
3014
3015
|
|
|
3016
|
+
/** Reference to the dropdown. */
|
|
3017
|
+
ddl?: IDropdown;
|
|
3018
|
+
|
|
3015
3019
|
/** The tippy instance. */
|
|
3016
3020
|
tippy: any;
|
|
3017
3021
|
|
|
@@ -3030,6 +3034,7 @@ declare module 'gd-bs/components/tooltip/types' {
|
|
|
3030
3034
|
*/
|
|
3031
3035
|
export interface ITooltipProps extends IBaseProps<ITooltip> {
|
|
3032
3036
|
btnProps?: IButtonProps;
|
|
3037
|
+
ddlProps?: IDropdownProps;
|
|
3033
3038
|
content?: string | Element;
|
|
3034
3039
|
options?: ITippyProps;
|
|
3035
3040
|
placement?: number;
|