@atlaskit/avatar
Advanced tools
Comparing version 21.3.0 to 21.3.1
@@ -9,5 +9,5 @@ { | ||
"typesVersions": { | ||
">=4.0 <4.5": { | ||
">=4.5 <4.9": { | ||
"*": [ | ||
"../dist/types-ts4.0/entry-points/avatar.d.ts" | ||
"../dist/types-ts4.5/entry-points/avatar.d.ts" | ||
] | ||
@@ -14,0 +14,0 @@ } |
@@ -9,5 +9,5 @@ { | ||
"typesVersions": { | ||
">=4.0 <4.5": { | ||
">=4.5 <4.9": { | ||
"*": [ | ||
"../dist/types-ts4.0/entry-points/avatar-item.d.ts" | ||
"../dist/types-ts4.5/entry-points/avatar-item.d.ts" | ||
] | ||
@@ -14,0 +14,0 @@ } |
# @atlaskit/avatar | ||
## 21.3.1 | ||
### Patch Changes | ||
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5` | ||
## 21.3.0 | ||
@@ -4,0 +10,0 @@ |
@@ -25,3 +25,3 @@ "use strict"; | ||
var packageName = "@atlaskit/avatar"; | ||
var packageVersion = "21.3.0"; | ||
var packageVersion = "21.3.1"; | ||
@@ -28,0 +28,0 @@ // eslint-disable-next-line @repo/internal/react/consistent-types-definitions |
{ | ||
"name": "@atlaskit/avatar", | ||
"version": "21.3.0", | ||
"version": "21.3.1", | ||
"sideEffects": false | ||
} |
@@ -13,3 +13,3 @@ /** @jsx jsx */ | ||
const packageName = "@atlaskit/avatar"; | ||
const packageVersion = "21.3.0"; | ||
const packageVersion = "21.3.1"; | ||
@@ -16,0 +16,0 @@ // eslint-disable-next-line @repo/internal/react/consistent-types-definitions |
{ | ||
"name": "@atlaskit/avatar", | ||
"version": "21.3.0", | ||
"version": "21.3.1", | ||
"sideEffects": false | ||
} |
@@ -18,3 +18,3 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
var packageName = "@atlaskit/avatar"; | ||
var packageVersion = "21.3.0"; | ||
var packageVersion = "21.3.1"; | ||
@@ -21,0 +21,0 @@ // eslint-disable-next-line @repo/internal/react/consistent-types-definitions |
{ | ||
"name": "@atlaskit/avatar", | ||
"version": "21.3.0", | ||
"version": "21.3.1", | ||
"sideEffects": false | ||
} |
import { FC, ReactNode } from 'react'; | ||
import { AppearanceType, IndicatorSizeType } from './types'; | ||
export declare type PresenceType = 'busy' | 'focus' | 'offline' | 'online' | ReactNode; | ||
export type PresenceType = 'busy' | 'focus' | 'offline' | 'online' | ReactNode; | ||
export interface PresenceProps { | ||
@@ -5,0 +5,0 @@ /** |
import { FC, ReactNode } from 'react'; | ||
import { AppearanceType, IndicatorSizeType } from './types'; | ||
export declare type StatusType = ('approved' | 'declined' | 'locked') | ReactNode; | ||
export type StatusType = ('approved' | 'declined' | 'locked') | ReactNode; | ||
export interface StatusProps { | ||
@@ -5,0 +5,0 @@ /** |
/// <reference types="react" /> | ||
import { UIAnalyticsEvent } from '@atlaskit/analytics-next'; | ||
export declare type AvatarSizeMap = Record<SizeType, number>; | ||
export declare type AppearanceType = 'circle' | 'square'; | ||
export declare type SizeType = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge'; | ||
export declare type IndicatorSizeType = 'small' | 'medium' | 'large' | 'xlarge'; | ||
export declare type AvatarClickEventHandler = (event: React.MouseEvent, analyticsEvent?: UIAnalyticsEvent) => void; | ||
export type AvatarSizeMap = Record<SizeType, number>; | ||
export type AppearanceType = 'circle' | 'square'; | ||
export type SizeType = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge'; | ||
export type IndicatorSizeType = 'small' | 'medium' | 'large' | 'xlarge'; | ||
export type AvatarClickEventHandler = (event: React.MouseEvent, analyticsEvent?: UIAnalyticsEvent) => void; |
import { MouseEventHandler } from 'react'; | ||
export declare const getLinkProps: (href: string, target?: string | undefined) => { | ||
export declare const getLinkProps: (href: string, target?: string) => { | ||
href: string; | ||
@@ -11,2 +11,2 @@ rel: string | null; | ||
}; | ||
export declare const getCustomElement: (isDisabled?: boolean | undefined, href?: string | undefined, onClick?: MouseEventHandler<Element> | undefined) => "button" | "a" | "span"; | ||
export declare const getCustomElement: (isDisabled?: boolean, href?: string, onClick?: MouseEventHandler) => "button" | "a" | "span"; |
{ | ||
"name": "@atlaskit/avatar", | ||
"version": "21.3.0", | ||
"version": "21.3.1", | ||
"description": "An avatar is a visual representation of a user or entity.", | ||
@@ -15,2 +15,10 @@ "publishConfig": { | ||
"types": "dist/types/index.d.ts", | ||
"typesVersions": { | ||
">=4.5 <4.9": { | ||
"*": [ | ||
"dist/types-ts4.5/*", | ||
"dist/types-ts4.5/index.d.ts" | ||
] | ||
} | ||
}, | ||
"sideEffects": false, | ||
@@ -39,3 +47,3 @@ "atlaskit:src": "src/index.ts", | ||
"@atlaskit/theme": "^12.5.0", | ||
"@atlaskit/tokens": "^1.3.0", | ||
"@atlaskit/tokens": "^1.4.0", | ||
"@babel/runtime": "^7.0.0", | ||
@@ -67,3 +75,3 @@ "@emotion/react": "^11.7.1", | ||
"react-dom": "^16.8.0", | ||
"typescript": "4.5.5", | ||
"typescript": "~4.9.5", | ||
"wait-for-expect": "^1.2.0" | ||
@@ -70,0 +78,0 @@ }, |
@@ -9,5 +9,5 @@ { | ||
"typesVersions": { | ||
">=4.0 <4.5": { | ||
">=4.5 <4.9": { | ||
"*": [ | ||
"../dist/types-ts4.0/entry-points/presence.d.ts" | ||
"../dist/types-ts4.5/entry-points/presence.d.ts" | ||
] | ||
@@ -14,0 +14,0 @@ } |
@@ -9,5 +9,5 @@ { | ||
"typesVersions": { | ||
">=4.0 <4.5": { | ||
">=4.5 <4.9": { | ||
"*": [ | ||
"../dist/types-ts4.0/entry-points/skeleton.d.ts" | ||
"../dist/types-ts4.5/entry-points/skeleton.d.ts" | ||
] | ||
@@ -14,0 +14,0 @@ } |
@@ -9,5 +9,5 @@ { | ||
"typesVersions": { | ||
">=4.0 <4.5": { | ||
">=4.5 <4.9": { | ||
"*": [ | ||
"../dist/types-ts4.0/entry-points/status.d.ts" | ||
"../dist/types-ts4.5/entry-points/status.d.ts" | ||
] | ||
@@ -14,0 +14,0 @@ } |
@@ -9,5 +9,5 @@ { | ||
"typesVersions": { | ||
">=4.0 <4.5": { | ||
">=4.5 <4.9": { | ||
"*": [ | ||
"../dist/types-ts4.0/entry-points/types.d.ts" | ||
"../dist/types-ts4.5/entry-points/types.d.ts" | ||
] | ||
@@ -14,0 +14,0 @@ } |
215620
Updated@atlaskit/tokens@^1.4.0