@selfdecode/sd-component-library 4.0.20 → 4.0.21

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.
@@ -5,7 +5,7 @@ export interface TooltipWithPointerProps {
5
5
  tooltipText: string | React.ReactNode;
6
6
  mobileTitle?: string | React.ReactNode;
7
7
  tooltipWidth?: string | string[];
8
- placement?: "left" | "right";
8
+ placement?: "left" | "right" | "top" | "bottom";
9
9
  tooltipOffset?: number;
10
10
  pointerSize?: number;
11
11
  tooltipPx?: string | string[];
@@ -0,0 +1,3 @@
1
+ export * from "./tooltip-with-pointer-mobile";
2
+ export * from "./tooltip-with-pointer-horizontal";
3
+ export * from "./tooltip-with-pointer-vertical";
@@ -0,0 +1,6 @@
1
+ import { TransitionStatus } from "react-transition-group";
2
+ import { TooltipWithPointerProps } from "../interfaces";
3
+ export interface TooltipWithPointerPartialProps extends Omit<TooltipWithPointerProps, "mobileTitle" | "showMobileVersion" | "stopPropagation" | "tooltipVisible" | "zIndex" | "children"> {
4
+ animationDuration: number;
5
+ state: TransitionStatus;
6
+ }
@@ -0,0 +1 @@
1
+ export { TooltipWithPointerHorizontal } from "./tooltip-with-pointer-horizontal";
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { TooltipWithPointerPartialProps as Props } from "../interfaces";
3
+ export declare const TooltipWithPointerHorizontal: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export { TooltipWithPointerMobile } from "./tooltip-with-pointer-mobile";
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { TooltipWithPointerProps } from "../../interfaces";
3
+ declare type Props = Pick<TooltipWithPointerProps, "mobileTitle" | "tooltipText" | "tooltipWidth" | "zIndex">;
4
+ export declare const TooltipWithPointerMobile: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
5
+ export {};
@@ -0,0 +1 @@
1
+ export { TooltipWithPointerVertical } from "./tooltip-with-pointer-vertical";
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { TooltipWithPointerPartialProps as Props } from "../interfaces";
3
+ export declare const TooltipWithPointerVertical: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;