widenarrow-ui 1.1.89 → 1.1.91

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,6 @@
1
+ import { FC } from 'react';
2
+ interface Props {
3
+ className?: string;
4
+ }
5
+ declare const Icon: FC<Props>;
6
+ export default Icon;
@@ -13,7 +13,6 @@ export interface ButtonProps {
13
13
  withIconRight?: boolean;
14
14
  disabled?: boolean;
15
15
  className?: string;
16
- toolTip?: string;
17
16
  style?: CSSProperties;
18
17
  withEllipsis?: boolean;
19
18
  buttonRef?: RefObject<HTMLButtonElement>;
@@ -23,5 +22,7 @@ export interface ButtonProps {
23
22
  autoFocus?: boolean;
24
23
  ariaLabel?: string;
25
24
  children?: ReactNode;
25
+ toolTip?: string;
26
+ toolTipComponent?: ReactNode;
26
27
  tabIndex?: number;
27
28
  }
@@ -1,4 +1,4 @@
1
- import { MouseEvent, CSSProperties, RefObject } from 'react';
1
+ import { MouseEvent, CSSProperties, RefObject, ReactNode } from 'react';
2
2
  import { IconStyleInterface } from '../../types/styling.types';
3
3
  import { ColorTypes, HierarchyTypes, SizeTypes } from '../../constants';
4
4
  export interface IconButtonProps extends IconStyleInterface {
@@ -20,5 +20,6 @@ export interface IconButtonProps extends IconStyleInterface {
20
20
  autoFocus?: boolean;
21
21
  tabIndex?: number;
22
22
  toolTip?: string;
23
+ toolTipComponent?: ReactNode;
23
24
  ariaLabel?: string;
24
25
  }
@@ -30,4 +30,5 @@ export interface InlineButtonProps {
30
30
  tabIndex?: number;
31
31
  autoFocus?: boolean;
32
32
  toolTip?: string;
33
+ toolTipComponent?: ReactNode;
33
34
  }
@@ -1,4 +1,4 @@
1
- import { MouseEvent } from 'react';
1
+ import { MouseEvent, ReactNode } from 'react';
2
2
  import { HierarchyTypes, IconTypes, SizeTypes } from '../../constants';
3
3
  export interface MultiActionButtonProps {
4
4
  text?: string;
@@ -21,6 +21,7 @@ export interface MultiActionButtonProps {
21
21
  innerClassName?: string;
22
22
  iconClassName?: string;
23
23
  toolTip?: string;
24
+ toolTipComponent?: ReactNode;
24
25
  id?: string | number;
25
26
  loading?: boolean;
26
27
  withEllipsis?: boolean;
@@ -10,6 +10,7 @@ export interface ToolTipProps {
10
10
  toolTipClassName?: string;
11
11
  id?: string;
12
12
  offset?: number;
13
+ delayShow?: number;
13
14
  variant?: 'dark' | 'light';
14
15
  placement?: 'top' | 'right' | 'bottom' | 'left';
15
16
  }
@@ -67,6 +67,7 @@ export declare enum IconTypes {
67
67
  DYNAMIC_DATE = "iconDynamicDate",
68
68
  EDIT = "iconEdit",
69
69
  EMBED = "iconEmbed",
70
+ EMERGING = "iconEmerging",
70
71
  ERROR = "iconError",
71
72
  EXIT_TO_APP = "iconExitToApp",
72
73
  EXPAND = "iconExpand",
package/lib/index.d.ts CHANGED
@@ -71,6 +71,7 @@ declare enum IconTypes {
71
71
  DYNAMIC_DATE = "iconDynamicDate",
72
72
  EDIT = "iconEdit",
73
73
  EMBED = "iconEmbed",
74
+ EMERGING = "iconEmerging",
74
75
  ERROR = "iconError",
75
76
  EXIT_TO_APP = "iconExitToApp",
76
77
  EXPAND = "iconExpand",
@@ -429,7 +430,6 @@ interface ButtonProps {
429
430
  withIconRight?: boolean;
430
431
  disabled?: boolean;
431
432
  className?: string;
432
- toolTip?: string;
433
433
  style?: CSSProperties;
434
434
  withEllipsis?: boolean;
435
435
  buttonRef?: RefObject<HTMLButtonElement>;
@@ -439,6 +439,8 @@ interface ButtonProps {
439
439
  autoFocus?: boolean;
440
440
  ariaLabel?: string;
441
441
  children?: ReactNode;
442
+ toolTip?: string;
443
+ toolTipComponent?: ReactNode;
442
444
  tabIndex?: number;
443
445
  }
444
446
 
@@ -716,6 +718,7 @@ interface IconButtonProps extends IconStyleInterface {
716
718
  autoFocus?: boolean;
717
719
  tabIndex?: number;
718
720
  toolTip?: string;
721
+ toolTipComponent?: ReactNode;
719
722
  ariaLabel?: string;
720
723
  }
721
724
 
@@ -813,6 +816,7 @@ interface InlineButtonProps {
813
816
  tabIndex?: number;
814
817
  autoFocus?: boolean;
815
818
  toolTip?: string;
819
+ toolTipComponent?: ReactNode;
816
820
  }
817
821
 
818
822
  declare const InlineButton: FC<InlineButtonProps>;
@@ -913,6 +917,7 @@ interface MultiActionButtonProps {
913
917
  innerClassName?: string;
914
918
  iconClassName?: string;
915
919
  toolTip?: string;
920
+ toolTipComponent?: ReactNode;
916
921
  id?: string | number;
917
922
  loading?: boolean;
918
923
  withEllipsis?: boolean;
@@ -1053,6 +1058,7 @@ interface ToolTipProps {
1053
1058
  toolTipClassName?: string;
1054
1059
  id?: string;
1055
1060
  offset?: number;
1061
+ delayShow?: number;
1056
1062
  variant?: 'dark' | 'light';
1057
1063
  placement?: 'top' | 'right' | 'bottom' | 'left';
1058
1064
  }