@veeqo/ui 4.4.1 → 4.4.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.
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { TooltipPopoverProps } from './types';
3
+ export declare const TooltipPopover: ({ content, text, hoverableElement, config, reversed, withTriangle, classNames, }: TooltipPopoverProps) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { TriangleProps, TipProps, WrapProps } from './types';
2
2
  declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
3
3
  declare const Hoverable: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- declare const TooltipText: import("styled-components").StyledComponent<"span", any, {} & import("../Text/types").TextProps, never>;
4
+ declare const TooltipText: import("styled-components").StyledComponent<"span", any, {} & import("../../Text/types").TextProps, never>;
5
5
  declare const Triangle: import("styled-components").StyledComponent<"div", any, {}, never>;
6
6
  declare const Tip: import("styled-components").StyledComponent<"div", any, TipProps & TriangleProps, never>;
7
7
  declare const Wrap: import("styled-components").StyledComponent<"div", any, WrapProps, never>;
@@ -0,0 +1,21 @@
1
+ import { IConfig, TooltipProps } from '../types';
2
+ export type TooltipPopoverProps = {
3
+ hoverableElement: HTMLElement | null;
4
+ classNames: {
5
+ container: string | undefined;
6
+ tip: string | undefined;
7
+ wrap: string | undefined;
8
+ triangle: string | undefined;
9
+ hoverable: string | undefined;
10
+ };
11
+ } & Pick<TooltipProps, 'config' | 'withTriangle' | 'reversed' | 'content' | 'text'>;
12
+ export declare enum Position {
13
+ end = "end",
14
+ start = "start"
15
+ }
16
+ export interface TriangleProps {
17
+ triangleOffsetSize: number;
18
+ }
19
+ export type TipProps = Pick<IConfig, 'duration'>;
20
+ export type WrapProps = Pick<IConfig, 'tipMinWidth' | 'tipMaxWidth'>;
21
+ export type Placement = 'top-start' | 'bottom-start' | 'top-end' | 'bottom-end';
@@ -1,4 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
+ export declare enum Sides {
3
+ BOTTOM = "bottom",
4
+ TOP = "top"
5
+ }
2
6
  export interface IConfig {
3
7
  duration: number;
4
8
  side: Sides.TOP | Sides.BOTTOM;
@@ -20,17 +24,3 @@ export interface TooltipProps {
20
24
  initialShouldShow?: boolean;
21
25
  useReactPortal?: boolean;
22
26
  }
23
- export declare enum Position {
24
- end = "end",
25
- start = "start"
26
- }
27
- export declare enum Sides {
28
- BOTTOM = "bottom",
29
- TOP = "top"
30
- }
31
- export interface TriangleProps {
32
- triangleOffsetSize: number;
33
- }
34
- export type TipProps = Pick<IConfig, 'duration'>;
35
- export type WrapProps = Pick<IConfig, 'tipMinWidth' | 'tipMaxWidth'>;
36
- export type Placement = 'top-start' | 'bottom-start' | 'top-end' | 'bottom-end';