widenarrow-ui 2.0.26 → 2.0.27

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.
package/lib/index.d.ts CHANGED
@@ -295,6 +295,7 @@ declare enum ColorTypes {
295
295
  GREY_4 = "grey4",
296
296
  GREY_5 = "grey5",
297
297
  GREY_6 = "grey6",
298
+ GREY_7 = "grey7",
298
299
  BLACK = "black",
299
300
  INHERIT = "inherit",
300
301
  CURRENT = "current",
@@ -352,6 +353,7 @@ declare enum AppColors {
352
353
  GREY_4 = "#6b6b6b",
353
354
  GREY_5 = "#464646",
354
355
  GREY_6 = "#242021",
356
+ GREY_7 = "#222",
355
357
  BLACK = "#000000",
356
358
  CUSTOM = "custom",
357
359
  PURPLE_1 = "#edf1fd",
@@ -1208,14 +1210,16 @@ interface ToolTipProps {
1208
1210
  delayShow?: number;
1209
1211
  variant?: 'dark' | 'light';
1210
1212
  placement?: 'top' | 'right' | 'bottom' | 'left';
1213
+ showArrow?: boolean;
1211
1214
  }
1212
1215
 
1213
1216
  /**
1214
- * @desc This components extends the react-tooltip library.
1215
- * Full api documentation here: https://github.com/wwayne/react-tooltip
1217
+ * @desc Tooltip component implemented with @floating-ui/react.
1218
+ * Same public API as ToolTip but without the react-tooltip dependency.
1219
+ * The arrow always points toward the trigger element (disable with showArrow={false}).
1216
1220
  */
1217
1221
  declare const ToolTip: {
1218
- ({ text, children, disabled, className, delayShow, toolTipClassName, component, withEllipsis, id, displayInPortal, placement, variant, offset }: ToolTipProps): JSX.Element | null;
1222
+ ({ text, children, disabled, className, delayShow, toolTipClassName, component, withEllipsis, displayInPortal, placement, variant, offset, showArrow }: ToolTipProps): JSX.Element | null;
1219
1223
  displayName: string;
1220
1224
  };
1221
1225