gd-bs 5.7.1 → 5.7.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/bs.js +1 -1
- package/build/components/popover/index.js +3 -3
- package/build/components/tippy.js +10 -0
- package/build/components/tooltip/index.js +3 -3
- package/build/index-icons.js +3 -3
- package/build/index.js +3 -3
- package/dist/gd-bs-icons.js +1363 -1352
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +51 -55
- package/dist/gd-bs.js +1028 -1017
- package/dist/gd-bs.min.js +1 -1
- package/package.json +2 -1
- package/pnpm-lock.yaml +3324 -0
- package/src/components/popover/index.ts +3 -3
- package/src/components/popover/types.d.ts +4 -5
- package/src/components/tippy.ts +12 -0
- package/src/components/tooltip/index.ts +3 -3
- package/src/components/tooltip/types.d.ts +1 -2
- package/src/components/tooltipGroup/types.d.ts +1 -2
- package/src/components/types.d.ts +47 -0
- package/src/index-icons.ts +1 -1
- package/src/index.ts +1 -1
- package/src/types.d.ts +0 -45
package/dist/gd-bs.d.ts
CHANGED
|
@@ -2373,15 +2373,14 @@ declare module 'gd-bs/components/popover/types' {
|
|
|
2373
2373
|
/**
|
|
2374
2374
|
* Popover Placements
|
|
2375
2375
|
*/
|
|
2376
|
-
|
|
2376
|
+
export const PopoverPlacements: IPopoverPlacements;
|
|
2377
2377
|
|
|
2378
2378
|
/**
|
|
2379
2379
|
* Popover Types
|
|
2380
2380
|
*/
|
|
2381
2381
|
export const PopoverTypes: IPopoverTypes;
|
|
2382
2382
|
|
|
2383
|
-
import { IBaseProps } from "gd-bs/components/types";
|
|
2384
|
-
import { ITippyProps } from "gd-bs/types";
|
|
2383
|
+
import { IBaseProps, ITippyProps } from "gd-bs/components/types";
|
|
2385
2384
|
import { IButtonProps } from "gd-bs/components/button/types";
|
|
2386
2385
|
|
|
2387
2386
|
/**
|
|
@@ -2426,7 +2425,7 @@ declare module 'gd-bs/components/popover/types' {
|
|
|
2426
2425
|
/**
|
|
2427
2426
|
* Popover Types
|
|
2428
2427
|
*/
|
|
2429
|
-
|
|
2428
|
+
export type IPopoverTypes = {
|
|
2430
2429
|
Danger: number;
|
|
2431
2430
|
Dark: number;
|
|
2432
2431
|
Info: number;
|
|
@@ -2443,7 +2442,7 @@ declare module 'gd-bs/components/popover/types' {
|
|
|
2443
2442
|
/**
|
|
2444
2443
|
* Popover Placements
|
|
2445
2444
|
*/
|
|
2446
|
-
|
|
2445
|
+
export type IPopoverPlacements = {
|
|
2447
2446
|
Auto: number;
|
|
2448
2447
|
AutoStart: number;
|
|
2449
2448
|
AutoEnd: number;
|
|
@@ -2876,8 +2875,7 @@ declare module 'gd-bs/components/tooltip/types' {
|
|
|
2876
2875
|
*/
|
|
2877
2876
|
export const TooltipTypes: ITooltipTypes;
|
|
2878
2877
|
|
|
2879
|
-
import { IBaseProps } from "gd-bs/components/types";
|
|
2880
|
-
import { ITippyProps } from "gd-bs/types";
|
|
2878
|
+
import { IBaseProps, ITippyProps } from "gd-bs/components/types";
|
|
2881
2879
|
import { IButtonProps, IButton } from "gd-bs/components/button/types";
|
|
2882
2880
|
|
|
2883
2881
|
/**
|
|
@@ -2983,8 +2981,7 @@ declare module 'gd-bs/components/tooltipGroup/types' {
|
|
|
2983
2981
|
*/
|
|
2984
2982
|
export const TooltipGroup: (props: ITooltipGroupProps, template?: string, btnTemplate?: string) => ITooltipGroup;
|
|
2985
2983
|
|
|
2986
|
-
import { ITippyProps } from "gd-bs/types";
|
|
2987
|
-
import { IBaseProps } from "gd-bs/components/types";
|
|
2984
|
+
import { IBaseProps, ITippyProps } from "gd-bs/components/types";
|
|
2988
2985
|
import { ITooltip, ITooltipProps } from "gd-bs/components/tooltip/types";
|
|
2989
2986
|
|
|
2990
2987
|
/**
|
|
@@ -3058,53 +3055,52 @@ declare module 'gd-bs/components/types' {
|
|
|
3058
3055
|
/** The element to render the component to. */
|
|
3059
3056
|
el?: Element | HTMLElement;
|
|
3060
3057
|
}
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
declare module 'gd-bs/types' {
|
|
3058
|
+
|
|
3059
|
+
/** Tippy Options */
|
|
3064
3060
|
export interface ITippyProps {
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3061
|
+
allowHTML?: boolean;
|
|
3062
|
+
animateFill?: boolean;
|
|
3063
|
+
animation?: string | boolean;
|
|
3064
|
+
appendTo?: Element;
|
|
3065
|
+
aria?: object;
|
|
3066
|
+
arrow?: boolean | string | SVGElement | DocumentFragment;
|
|
3067
|
+
content?: string | Element;
|
|
3068
|
+
delay?: number | [number | null, number | null];
|
|
3069
|
+
duration?: number | [number | null, number | null];
|
|
3070
|
+
followCursor?: boolean | 'horizontal' | 'vertical' | 'initial';
|
|
3071
|
+
hideOnClick?: boolean | 'toggle';
|
|
3072
|
+
ignoreAttributes?: boolean;
|
|
3073
|
+
inertia?: boolean;
|
|
3074
|
+
inlinePositioning?: boolean;
|
|
3075
|
+
interactive?: boolean;
|
|
3076
|
+
interactiveBorder?: number;
|
|
3077
|
+
interactiveDebounce?: number;
|
|
3078
|
+
maxWidth?: number | string;
|
|
3079
|
+
moveTransition?: string;
|
|
3080
|
+
offset?: number[];
|
|
3081
|
+
onAfterUpdate?: (tippyObj?, props?) => void;
|
|
3082
|
+
onBeforeUpdate?: (tippyObj?, props?) => void;
|
|
3083
|
+
onClickOutside?: (tippyObj?, ev?) => void;
|
|
3084
|
+
onCreate?: (tippyObj?) => void;
|
|
3085
|
+
onDestroy?: (tippyObj?) => void;
|
|
3086
|
+
onHidden?: (tippyObj?) => void;
|
|
3087
|
+
onHide?: (tippyObj?) => void;
|
|
3088
|
+
onMount?: (tippyObj?) => void;
|
|
3089
|
+
onShow?: (tippyObj?) => void;
|
|
3090
|
+
onShown?: (tippyObj?) => void;
|
|
3091
|
+
onTrigger?: (tippyObj?, ev?) => void;
|
|
3092
|
+
onUntrigger?: (tippyObj?, ev?) => void;
|
|
3093
|
+
placement?: string;
|
|
3094
|
+
plugins?: any[];
|
|
3095
|
+
popperOptions?: object;
|
|
3096
|
+
role?: string;
|
|
3097
|
+
showOnCreate?: boolean;
|
|
3098
|
+
sticky?: boolean | 'reference' | 'popper';
|
|
3099
|
+
theme?: string;
|
|
3100
|
+
touch?: boolean | 'hold' | ['hold', number];
|
|
3101
|
+
trigger?: string;
|
|
3102
|
+
triggerTarget?: Element | Element[] | null;
|
|
3103
|
+
zIndex?: number;
|
|
3108
3104
|
}
|
|
3109
3105
|
}
|
|
3110
3106
|
|