@atlaskit/tooltip
Advanced tools
Comparing version 15.0.3 to 15.0.4
# @atlaskit/tooltip | ||
## 15.0.4 | ||
### Patch Changes | ||
- [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410): | ||
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps of the returned component. | ||
Before: | ||
```typescript | ||
withAnalyticsEvents()(Button) as ComponentClass<Props>; | ||
``` | ||
After: | ||
```typescript | ||
withAnalyticsEvents<Props>()(Button); | ||
``` | ||
## 15.0.3 | ||
@@ -4,0 +24,0 @@ |
@@ -86,3 +86,3 @@ import React from 'react'; | ||
export declare type TooltipType = Tooltip; | ||
declare const _default: React.ComponentType<Pick<Pick<Props, "content" | "component" | "delay" | "hideTooltipOnClick" | "hideTooltipOnMouseDown" | "mousePosition" | "onShow" | "onHide" | "position" | "tag" | "truncate"> | React.PropsWithChildren<Pick<Props, "content" | "component" | "delay" | "hideTooltipOnClick" | "hideTooltipOnMouseDown" | "mousePosition" | "onShow" | "onHide" | "position" | "tag" | "truncate">>, "content" | "component" | "delay" | "hideTooltipOnClick" | "hideTooltipOnMouseDown" | "mousePosition" | "onShow" | "onHide" | "position" | "tag" | "truncate">>; | ||
declare const _default: React.ComponentType<Props & import("../../../analytics-next/index.js").WithAnalyticsContextProps>; | ||
export default _default; |
{ | ||
"name": "@atlaskit/tooltip", | ||
"version": "15.0.3", | ||
"version": "15.0.4", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/tooltip", | ||
"version": "15.0.3", | ||
"version": "15.0.4", | ||
"description": "A React Component for displaying Tooltips", | ||
@@ -24,3 +24,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@atlaskit/analytics-next": "^5.0.0", | ||
"@atlaskit/analytics-next": "^5.1.0", | ||
"@atlaskit/popper": "^2.0.0", | ||
@@ -42,3 +42,3 @@ "@atlaskit/portal": "^3.0.7", | ||
"@atlaskit/build-utils": "^2.0.0", | ||
"@atlaskit/button": "^13.0.12", | ||
"@atlaskit/button": "^13.0.13", | ||
"@atlaskit/docs": "^8.1.3", | ||
@@ -45,0 +45,0 @@ "@atlaskit/icon": "^19.0.0", |
{ | ||
"name": "@atlaskit/tooltip", | ||
"version": "15.0.3", | ||
"version": "15.0.4", | ||
"sideEffects": false | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65322
605