Heading

A heading is a typography component used to display text in different sizes and formats.

7.2.1

Patch Changes

  • Updated dependencies

7.2.0

Minor Changes

Patch Changes

  • Updated dependencies

7.1.1

Patch Changes

7.1.0

Minor Changes

  • d82e6f76528ab, (opens new window) - Add direct subpath package exports as part of the linking-platform, search, media, and design-system barrel-removal (de-barrel) migration.

    These packages now expose their individual modules via explicit package.json exports subpaths so that consumers can import directly from the leaf module (e.g. @atlaskit/pkg/thing) instead of the package barrel/index. This adds new public entry points without changing or removing any existing exports, so it is a backwards-compatible additive change.

    No runtime behaviour changes; this is an API-surface (entry-point) addition to support tree-shaking and to unblock removal of the barrel index files.

Patch Changes

  • Updated dependencies

7.0.1

Patch Changes

  • 9356675edac18, (opens new window) - Replace generated ./src/* subpath export keys with lint-safe equivalents. The de-barreling migration produced export keys containing a src segment (e.g. @atlaskit/select "./src/select"), which are forbidden by no-restricted-imports (@atlaskit/*/src/*) in downstream products.

    Renamed keys:

    • @atlaskit/select: ./src/select./default
    • @atlaskit/icon: ./src/constants./constants/default
    • @atlaskit/react-select: ./src/async./async/default, ./src/creatable./creatable/default
    • @atlaskit/heading: ./src/heading-context./heading-context/default
    • @atlaskit/flag: removed the redundant ./src/flag-group key (duplicate of the existing ./flag-group export)

    The underlying source targets are unchanged.

7.0.0

Major Changes

  • 7170acd7feb77, (opens new window) - Apply Volt entry-point and multi-export standards via volt-migrate-package. This is a major change to @atlaskit/heading: the package exports map has been restructured so every public subpath now resolves directly to its ./src/* implementation instead of going through an intermediate ./src/entry-points/* re-export. It also introduces new public subpaths: @atlaskit/heading/src/heading-context, @atlaskit/heading/use-heading.

    Why this is breaking

    Because each subpath now points straight at its implementation module, a subpath and the package root can resolve to the same module instance. Consumers that deep-import the internal entry-points/* files, or that jest.mock() a specific subpath, may observe changed resolution/behaviour and need updating.

    Migration — public imports are unchanged

    Importing the published subpaths (or the package root) continues to work as before:

    // Still valid — no change required import Heading from '@atlaskit/heading/heading';

    If you were reaching into the internal entry-point modules, switch to the public subpath:

    -import Heading from '@atlaskit/heading/entry-points/heading'; +import Heading from '@atlaskit/heading/heading';

    Before / after exports map

    "exports": { ".": "./src/index.tsx", - "./heading": "./src/entry-points/heading.tsx", + "./heading": "./src/heading.tsx", "./heading-context": "./src/entry-points/heading-context.tsx", + "./src/heading-context": "./src/heading-context.tsx", + "./use-heading": "./src/use-heading.tsx", }

Patch Changes

  • Updated dependencies

6.2.3

Patch Changes

  • Updated dependencies

6.2.2

Patch Changes

  • Updated dependencies

6.2.1

Patch Changes

  • Updated dependencies

6.2.0

Minor Changes

Patch Changes

  • Updated dependencies

6.1.0

Minor Changes

  • cd097a2111788, (opens new window) - Republish packages depending on @atlaskit/react-compiler-gating so their published dependency reference is updated to the renamed @atlaskit/react-compiler-gating scope.

    The earlier rename of @atlassian/react-compiler-gating to @atlaskit/react-compiler-gating only bumped the renamed package itself, so dependent packages were never republished and their published versions still referenced the old @atlassian/react-compiler-gating name, which is not available in the public npm registry. This minor bump republishes all affected packages with the corrected dependency.

Patch Changes

  • Updated dependencies

6.0.1

Patch Changes

6.0.0

Major Changes

  • f2dc9097319f0, (opens new window) - ### Dropped support for legacy Typescript 4 types. Typescript 5 is now the new minimum.

    Removes the typesVersions property and dist/types-ts4.5 directory from the dist.

    Types are now exclusively via the "types": "dist/types/index.d.ts" property.

    - "typesVersions": { - ">=4.5 <4.9": { - "*": [ - "dist/types-ts4.5/*", - "dist/types-ts4.5/index.d.ts" - ] - } - },

Patch Changes

  • Updated dependencies

5.4.2

Patch Changes

  • Updated dependencies

5.4.1

Patch Changes

  • Updated dependencies

5.4.0

Minor Changes

5.3.1

Patch Changes

5.3.0

Minor Changes

5.2.20

Patch Changes

  • Updated dependencies

5.2.19

Patch Changes

  • Updated dependencies

5.2.18

Patch Changes

  • 1791263fbda89, (opens new window) - Increased specificity for font styles to ensure Heading is not affected by unwanted classnameoverrides. This change is applied behind a feature gate and will soon become the default.

5.2.17

Patch Changes

  • 6832ded6661b2, (opens new window) - Increased specificity for font styles to ensure Heading is not affected by unwanted classname overrides. This change is applied behind a feature gate and will soon become the default.
  • Updated dependencies

5.2.16

Patch Changes

  • Updated dependencies

5.2.15

Patch Changes

  • Updated dependencies

5.2.14

Patch Changes

  • Updated dependencies

5.2.13

Patch Changes

  • Updated dependencies

5.2.12

Patch Changes

  • Updated dependencies

5.2.11

Patch Changes

  • Updated dependencies

5.2.10

Patch Changes

  • Updated dependencies

5.2.9

Patch Changes

  • Updated dependencies

5.2.8

Patch Changes

5.2.7

Patch Changes

  • Updated dependencies

5.2.6

Patch Changes

5.2.5

Patch Changes

  • Updated dependencies

5.2.4

Patch Changes

  • Updated dependencies

5.2.3

Patch Changes

  • Updated dependencies

5.2.2

Patch Changes

  • Updated dependencies

5.2.1

Patch Changes

  • Updated dependencies

5.2.0

Minor Changes

Patch Changes

  • Updated dependencies

5.1.1

Patch Changes

5.1.0

Minor Changes

Patch Changes

  • Updated dependencies

5.0.0

Major Changes

Patch Changes

  • Updated dependencies

4.3.1

Patch Changes

4.3.0

Minor Changes

Patch Changes

  • Updated dependencies

4.2.0

Minor Changes

4.1.0

Minor Changes

Patch Changes

  • Updated dependencies

4.0.2

Patch Changes

4.0.1

Patch Changes

  • Updated dependencies

4.0.0

Major Changes

  • #171160, (opens new window) 0d474a7c26c0d, (opens new window) - 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/heading, 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.

3.1.0

Minor Changes

3.0.0

Major Changes

Patch Changes

2.4.7

Patch Changes

  • Updated dependencies

2.4.6

Patch Changes

  • Updated dependencies

2.4.5

Patch Changes

  • Updated dependencies

2.4.4

Patch Changes

  • Updated dependencies

2.4.3

Patch Changes

  • Updated dependencies

2.4.2

Patch Changes

  • Updated dependencies

2.4.1

Patch Changes

  • Updated dependencies

2.4.0

Minor Changes

Patch Changes

  • Updated dependencies

2.3.2

Patch Changes

2.3.1

Patch Changes

  • Updated dependencies

2.3.0

Minor Changes

2.2.0

Minor Changes

2.1.2

Patch Changes

2.1.1

Patch Changes

2.1.0

Minor Changes

Patch Changes

  • Updated dependencies

2.0.1

Patch Changes

2.0.0

Major Changes

1.8.1

Patch Changes

1.8.0

Minor Changes

1.7.1

Patch Changes

1.7.0

Minor Changes

Patch Changes

  • Updated dependencies

1.6.0

Minor Changes

1.5.1

Patch Changes

1.5.0

Minor Changes

Patch Changes

  • Updated dependencies

1.4.4

Patch Changes

1.4.3

Patch Changes

  • #41226, (opens new window) fc7aba3cbae, (opens new window) - [ux] Further fixes related to heading getting into possible invalid state. Heading will now always produce valid markup / aria-attributes for any configuration. Previously if there was no HeadingContext in the tree the heading would not produce accessibly correct markup in some cases. This is now resolved.

1.4.2

Patch Changes

1.4.1

Patch Changes

1.4.0

Minor Changes

1.3.8

Patch Changes

1.3.7

Patch Changes

1.3.6

Patch Changes

1.3.5

Patch Changes

1.3.4

Patch Changes

1.3.3

Patch Changes

1.3.2

Patch Changes

1.3.1

Patch Changes

1.3.0

Minor Changes

Patch Changes

  • Updated dependencies

1.2.1

Patch Changes

1.2.0

Minor Changes

1.1.4

Patch Changes

1.1.3

Patch Changes

1.1.2

Patch Changes

  • Updated dependencies

1.1.1

Patch Changes

1.1.0

Minor Changes

1.0.4

Patch Changes

  • Updated dependencies

1.0.3

Patch Changes

  • Updated dependencies

1.0.2

Patch Changes

1.0.1

Patch Changes

  • Updated dependencies

1.0.0

Major Changes

  • #27238, (opens new window) 7d92ed50264, (opens new window) - [ux] This package is still considered to be in an experimental state and is discouraged for use in production. The major is to simplify consumption and versioning in product.

    Other changes:

    • Introduction of a HeadingContext provider to aid with creating the right semantic structure for headings.
    • Migrated internals to use @compiled/react from @emotion/react.

0.1.18

Patch Changes

0.1.17

Patch Changes

0.1.16

Patch Changes

0.1.15

Patch Changes

0.1.14

Patch Changes

0.1.13

Patch Changes

0.1.12

Patch Changes

  • Updated dependencies

0.1.11

Patch Changes

0.1.10

Patch Changes

  • Updated dependencies

0.1.9

Patch Changes

  • Updated dependencies

0.1.8

Patch Changes

  • Updated dependencies

0.1.7

Patch Changes

0.1.6

Patch Changes

  • Updated dependencies

0.1.5

Patch Changes

0.1.4

Patch Changes

  • Updated dependencies

0.1.3

Patch Changes

  • Updated dependencies

0.1.2

Patch Changes

  • Updated dependencies

0.1.1

Patch Changes

  • #13864, (opens new window) d7a9a4ff7ec, (opens new window) - Instrumented heading with the new theming package, @atlaskit/tokens. New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha). These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
  • Updated dependencies

0.1.0

Minor Changes

Patch Changes

Was this page helpful?
We use this feedback to improve our documentation.
© 2026 AtlassianTrademark, (opens new window)Privacy, (opens new window)License