gantri-components 2.73.0 → 2.73.1-beta.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.
@@ -3,7 +3,7 @@ export interface OverlayProps {
3
3
  /** Trigger event interactions with this component causes `content` to render, as appropriate. */
4
4
  children?: ReactNode;
5
5
  className?: string;
6
- /** Milliseconds to delay the closing actions. */
6
+ /** Milliseconds to delay the unhover behavior. */
7
7
  closeDelay?: number;
8
8
  /** Applied as inline styles to the `children` wrapper. */
9
9
  containerStyles?: CSSProperties;
@@ -11,6 +11,8 @@ export interface OverlayProps {
11
11
  content: ReactNode;
12
12
  contentStyles?: CSSProperties;
13
13
  disabled?: boolean;
14
+ /** Optional. If you provide a single key for multiple overlays, it will replace the last overlay with that key with the new one. */
15
+ key?: string;
14
16
  offsetBottom?: string;
15
17
  offsetLeft?: string;
16
18
  offsetRight?: string;
@@ -8,10 +8,12 @@ type TooltipBaseProps = Partial<TooltipDefaultProps> & {
8
8
  * */
9
9
  Component?: ReactNode;
10
10
  className?: string;
11
- /** Milliseconds to delay the closing actions. */
11
+ /** Milliseconds to delay the unhover behavior. */
12
12
  closeDelay?: number;
13
13
  description?: string;
14
14
  descriptionTx?: string;
15
+ /** Optional. If you provide a single key for multiple tooltips, it will replace the last tooltip with that key with the new one. */
16
+ key?: string;
15
17
  title?: string;
16
18
  titleTx?: string;
17
19
  };