@purpurds/tooltip 6.12.1 → 6.12.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpurds/tooltip",
3
- "version": "6.12.1",
3
+ "version": "6.12.3",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/tooltip.cjs.js",
6
6
  "types": "./dist/tooltip.d.ts",
@@ -17,11 +17,11 @@
17
17
  "dependencies": {
18
18
  "@radix-ui/react-tooltip": "~1.1.8",
19
19
  "classnames": "~2.5.0",
20
- "@purpurds/button": "6.12.1",
21
- "@purpurds/action": "6.12.1",
22
- "@purpurds/paragraph": "6.12.1",
23
- "@purpurds/tokens": "6.12.1",
24
- "@purpurds/icon": "6.12.1"
20
+ "@purpurds/action": "6.12.3",
21
+ "@purpurds/tokens": "6.12.3",
22
+ "@purpurds/icon": "6.12.3",
23
+ "@purpurds/paragraph": "6.12.3",
24
+ "@purpurds/button": "6.12.3"
25
25
  },
26
26
  "devDependencies": {
27
27
  "eslint": "9.24.0",
package/src/tooltip.tsx CHANGED
@@ -26,7 +26,7 @@ export const TOOLTIP_ALIGN = {
26
26
  } as const;
27
27
  export type TooltipAlign = (typeof TOOLTIP_ALIGN)[keyof typeof TOOLTIP_ALIGN];
28
28
 
29
- export type TooltipProps = {
29
+ export type TooltipProps = React.HTMLAttributes<HTMLDivElement> & {
30
30
  align?: TooltipAlign;
31
31
  buttonSize?: Size;
32
32
  children: ReactNode;
@@ -35,7 +35,6 @@ export type TooltipProps = {
35
35
  ["data-testid"]?: string;
36
36
  triggerAriaLabel?: string;
37
37
  triggerElement?: ReactNode;
38
- className?: string;
39
38
  contentClassName?: string;
40
39
  };
41
40