@douglasneuroinformatics/libui 2.0.7 → 2.0.8
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.
|
@@ -8,6 +8,7 @@ export type TooltipContentProps = {
|
|
|
8
8
|
className?: string;
|
|
9
9
|
/** The distance in pixels from the viewport edges where collision detection should occur */
|
|
10
10
|
collisionPadding?: number;
|
|
11
|
+
/** The preferred side of the trigger to render against when open. Will be reversed when collisions occur and avoidCollisions is enabled. */
|
|
11
12
|
side?: 'bottom' | 'left' | 'right' | 'top';
|
|
12
13
|
/** The distance in pixels from the trigger */
|
|
13
14
|
sideOffset?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooltipContent.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/TooltipContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,MAAM,mBAAmB,GAAG;IAChC,2FAA2F;IAC3F,KAAK,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,OAAO,CAAC;IACnC,2EAA2E;IAC3E,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,6FAA6F;IAC7F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4FAA4F;IAC5F,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;IAC3C,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,cAAc,4FAe1B,CAAC"}
|
|
1
|
+
{"version":3,"file":"TooltipContent.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/TooltipContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,MAAM,mBAAmB,GAAG;IAChC,2FAA2F;IAC3F,KAAK,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,OAAO,CAAC;IACnC,2EAA2E;IAC3E,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,6FAA6F;IAC7F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4FAA4F;IAC5F,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,4IAA4I;IAC5I,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;IAC3C,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,cAAc,4FAe1B,CAAC"}
|
package/package.json
CHANGED
|
@@ -13,6 +13,7 @@ export type TooltipContentProps = {
|
|
|
13
13
|
className?: string;
|
|
14
14
|
/** The distance in pixels from the viewport edges where collision detection should occur */
|
|
15
15
|
collisionPadding?: number;
|
|
16
|
+
/** The preferred side of the trigger to render against when open. Will be reversed when collisions occur and avoidCollisions is enabled. */
|
|
16
17
|
side?: 'bottom' | 'left' | 'right' | 'top';
|
|
17
18
|
/** The distance in pixels from the trigger */
|
|
18
19
|
sideOffset?: number;
|