@atlaskit/tooltip
Advanced tools
Comparing version 15.0.8 to 15.0.9
# @atlaskit/tooltip | ||
## 15.0.9 | ||
### Patch Changes | ||
- [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b): | ||
Analytics-next has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No behavioural changes. | ||
**Breaking changes** | ||
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents` | ||
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext` | ||
**Breaking changes to TypeScript annotations** | ||
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide props as a generic type. | ||
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide props as a generic type. | ||
- Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match source code | ||
- Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match source code | ||
- Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to match source code | ||
- Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload` | ||
- Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any` | ||
- Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent` | ||
- Type `AnalyticsEventInterface` has been removed, please use `AnalyticsEvent` | ||
- Type `CreateAndFireEventFunction` removed and should now be inferred by TypeScript | ||
- Type `AnalyticsEventUpdater` removed and should now be inferred by TypeScript | ||
## 15.0.8 | ||
@@ -4,0 +31,0 @@ |
@@ -1,6 +0,6 @@ | ||
/// <reference path="../../../../analytics-next/index.d.ts" /> | ||
import React from 'react'; | ||
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next'; | ||
import { PositionType, PositionTypeBase, FakeMouseElement } from '../types'; | ||
import { StyledComponentClass } from 'styled-components'; | ||
export interface TooltipProps { | ||
export interface TooltipProps extends WithAnalyticsEventsProps { | ||
/** The content of the tooltip */ | ||
@@ -87,3 +87,3 @@ content: React.ReactNode; | ||
export declare type TooltipType = Tooltip; | ||
declare const _default: React.ComponentType<Pick<TooltipProps, "content" | "component" | "delay" | "hideTooltipOnClick" | "hideTooltipOnMouseDown" | "mousePosition" | "onShow" | "onHide" | "position" | "tag" | "truncate"> & import("@atlaskit/analytics-next").WithAnalyticsContextProps>; | ||
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Pick<TooltipProps, "content" | "component" | "delay" | "hideTooltipOnClick" | "hideTooltipOnMouseDown" | "mousePosition" | "onShow" | "onHide" | "position" | "tag" | "truncate">, "content" | "hideTooltipOnClick" | "hideTooltipOnMouseDown" | "onShow" | "onHide" | "truncate"> & Partial<Pick<Pick<TooltipProps, "content" | "component" | "delay" | "hideTooltipOnClick" | "hideTooltipOnMouseDown" | "mousePosition" | "onShow" | "onHide" | "position" | "tag" | "truncate">, "component" | "delay" | "mousePosition" | "position" | "tag">> & Partial<Pick<Pick<TooltipProps, "component" | "delay" | "mousePosition" | "position" | "tag">, never>> & React.RefAttributes<any> & import("../../../analytics-next/dist/cjs/withAnalyticsContext.js").WithContextProps, "content" | "component" | "delay" | "hideTooltipOnClick" | "hideTooltipOnMouseDown" | "mousePosition" | "onShow" | "onHide" | "position" | "tag" | "truncate" | "key" | "analyticsContext"> & React.RefAttributes<any>>; | ||
export default _default; |
{ | ||
"name": "@atlaskit/tooltip", | ||
"version": "15.0.8", | ||
"version": "15.0.9", | ||
"sideEffects": false | ||
} |
@@ -1,6 +0,6 @@ | ||
/// <reference path="../../../../analytics-next/index.d.ts" /> | ||
import React from 'react'; | ||
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next'; | ||
import { PositionType, PositionTypeBase, FakeMouseElement } from '../types'; | ||
import { StyledComponentClass } from 'styled-components'; | ||
export interface TooltipProps { | ||
export interface TooltipProps extends WithAnalyticsEventsProps { | ||
/** The content of the tooltip */ | ||
@@ -87,3 +87,3 @@ content: React.ReactNode; | ||
export declare type TooltipType = Tooltip; | ||
declare const _default: React.ComponentType<Pick<TooltipProps, "content" | "component" | "delay" | "hideTooltipOnClick" | "hideTooltipOnMouseDown" | "mousePosition" | "onShow" | "onHide" | "position" | "tag" | "truncate"> & import("@atlaskit/analytics-next").WithAnalyticsContextProps>; | ||
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Pick<TooltipProps, "content" | "component" | "delay" | "hideTooltipOnClick" | "hideTooltipOnMouseDown" | "mousePosition" | "onShow" | "onHide" | "position" | "tag" | "truncate">, "content" | "hideTooltipOnClick" | "hideTooltipOnMouseDown" | "onShow" | "onHide" | "truncate"> & Partial<Pick<Pick<TooltipProps, "content" | "component" | "delay" | "hideTooltipOnClick" | "hideTooltipOnMouseDown" | "mousePosition" | "onShow" | "onHide" | "position" | "tag" | "truncate">, "component" | "delay" | "mousePosition" | "position" | "tag">> & Partial<Pick<Pick<TooltipProps, "component" | "delay" | "mousePosition" | "position" | "tag">, never>> & React.RefAttributes<any> & import("../../../analytics-next/dist/cjs/withAnalyticsContext.js").WithContextProps, "content" | "component" | "delay" | "hideTooltipOnClick" | "hideTooltipOnMouseDown" | "mousePosition" | "onShow" | "onHide" | "position" | "tag" | "truncate" | "key" | "analyticsContext"> & React.RefAttributes<any>>; | ||
export default _default; |
{ | ||
"name": "@atlaskit/tooltip", | ||
"version": "15.0.8", | ||
"version": "15.0.9", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/tooltip", | ||
"version": "15.0.8", | ||
"version": "15.0.9", | ||
"description": "A React Component for displaying Tooltips", | ||
@@ -25,3 +25,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@atlaskit/analytics-next": "^5.1.2", | ||
"@atlaskit/analytics-next": "^6.0.0", | ||
"@atlaskit/popper": "^3.0.1", | ||
@@ -43,3 +43,3 @@ "@atlaskit/portal": "^3.0.7", | ||
"@atlaskit/build-utils": "^2.0.0", | ||
"@atlaskit/button": "^13.1.1", | ||
"@atlaskit/button": "^13.1.2", | ||
"@atlaskit/docs": "^8.1.3", | ||
@@ -46,0 +46,0 @@ "@atlaskit/icon": "^19.0.0", |
{ | ||
"name": "@atlaskit/tooltip", | ||
"version": "15.0.8", | ||
"version": "15.0.9", | ||
"sideEffects": false | ||
} |
Sorry, the diff of this file is not supported yet
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
99575
1016
+ Added@atlaskit/analytics-next@6.3.8(transitive)
+ Added@atlaskit/analytics-next-stable-react-context@1.0.1(transitive)
+ Addedtslib@2.8.1(transitive)
+ Addeduse-memo-one@1.1.3(transitive)
- Removed@atlaskit/analytics-next@5.4.1(transitive)