@producteca/producteca-ui-kit 1.39.1 → 1.40.0

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.
@@ -1,6 +1,11 @@
1
1
  import { default as React } from 'react';
2
2
  import { ButtonProps } from '../../button/button';
3
+ import { BaseTooltipProps } from '../../tooltip/tooltip';
3
4
 
5
+ export interface MenuItemTooltipProps extends Omit<BaseTooltipProps, 'trigger'> {
6
+ content: string | React.ReactNode;
7
+ shouldShowTooltip: boolean;
8
+ }
4
9
  export interface MenuItemProps {
5
10
  label: React.ReactNode;
6
11
  icon?: React.ReactElement;
@@ -9,6 +14,7 @@ export interface MenuItemProps {
9
14
  selected?: boolean;
10
15
  size?: ButtonProps['size'];
11
16
  onClose?: () => void;
17
+ tooltipProps?: MenuItemTooltipProps;
12
18
  }
13
19
  export interface MenuItemWithId extends MenuItemProps {
14
20
  id: string;
@@ -240,6 +240,8 @@ declare const _default: {
240
240
  edit: string;
241
241
  delete: string;
242
242
  duplicate: string;
243
+ retry: string;
244
+ retryTooltip: string;
243
245
  itemsDescription: string;
244
246
  id: string;
245
247
  maxItems: string;