Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@atlaskit/link

atlassian20kApache-2.02.0.2TypeScript support: included

A link takes people to a new location in the product or another website.

readme

Link

A link is an inline text element that navigates to a new location when clicked.

Installation

yarn add @atlaskit/link

Usage

Detailed docs and example usage can be found here.

changelog

@atlaskit/link

2.0.2

Patch Changes

2.0.1

Patch Changes

  • Updated dependencies

2.0.0

Major Changes

  • #181101 b7ebb0f06c1a5 - Migrated from @emotion/react to @compiled/react in order to improve performance, align with the rest of the Atlaskit techstack, and support React 18 Streaming SSR. Please note, in order to use this version of @atlaskit/link, you will need to ensure that your bundler is configured to handle .css imports correctly. Most bundlers come with built-in support for .css imports, so you may not need to do anything. If you are using a different bundler, please refer to the documentation for that bundler to understand how to handle .css imports. For more information on the migration, please refer to RFC-73 Migrating our components to Compiled CSS-in-JS.

1.2.7

Patch Changes

  • #165531 57f451bda8919 - Adds side-effect config to support Compiled css extraction in third-party apps

1.2.6

Patch Changes

  • Updated dependencies

1.2.5

Patch Changes

1.2.4

Patch Changes

1.2.3

Patch Changes

  • #137980 1125392e09989 - Updated the icon, which displays when links open in new windows to use new iconography behind a feature flag. Also adjusted the alignment and size of the icon.

1.2.2

Patch Changes

  • #137759 6baf3b623943c - Updated the icon, which displays when links open in new windows to use new iconography. Also adjusted the alignment and size of the icon.

1.2.1

Patch Changes

  • #126471 072422c87cc97 - [ux] Visited inverse links no longer support visited styles due to color contrast limitations.

1.2.0

Minor Changes

  • #127511 db30e29344013 - Widening range of react and react-dom peer dependencies from ^16.8.0 || ^17.0.0 || ~18.2.0 to the wider range of ^16.8.0 || ^17.0.0 || ^18.0.0` (where applicable).

    This change has been done to enable usage of `react@18.3as well as to have a consistent peer dependency range forreactandreact-domfor/platform` packages.

1.1.1

Patch Changes

  • Updated dependencies

1.1.0

Minor Changes

  • #127699 b2f6eae3ec0b0 - Add new "inverse" appearance option, which can be used to make links easier to see on bolder backgrounds.

1.0.3

Patch Changes

  • #120336 62381baf0d2e1 - Update 'opens new window' for anchor and link with a nicer AT announcement

1.0.2

Patch Changes

  • Updated dependencies

1.0.1

Patch Changes

1.0.0

Major Changes

Patch Changes

  • Updated dependencies

0.5.3

Patch Changes

  • Updated dependencies

0.5.2

Patch Changes

  • #114203 fb57afa892329 - [ux] The isUnderlined prop has been removed and replaced with appearance="subtle" which provides a link with no underline and subtle color.
  • Updated dependencies

0.5.1

Patch Changes

  • Updated dependencies

0.5.0

Minor Changes

  • #110670 c733254a2dd6e - Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime is implicitly set to automatic.

Patch Changes

  • Updated dependencies

0.4.1

Patch Changes

  • #110867 dc7e72da70ef7 - Migrating instances of UNSAFE_ANCHOR primitive imports to the new safe import Anchor, in preparation of Anchor open beta and removal of the unsafe export from @atlaskit/primitives

0.4.0

Minor Changes

0.3.2

Patch Changes

  • Updated dependencies

0.3.1

Patch Changes

0.3.0

Minor Changes

  • #100782 af80293d3647 - Fixes bug with types that allowed link to pass XCSS props to the underlying anchor primitive.

0.2.1

Patch Changes

  • Updated dependencies

0.2.0

Minor Changes

0.1.0

Minor Changes

Patch Changes

  • Updated dependencies