Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/tooltip

Package Overview
Dependencies
Maintainers
1
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/tooltip - npm Package Compare versions

Comparing version 15.0.8 to 15.0.9

27

CHANGELOG.md
# @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 @@

6

dist/cjs/components/Tooltip.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc