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
bd2c5b0112185, (opens new window) - Remove stale API report artifacts from published Platform packages.
Patch Changes
- Updated dependencies
7.1.1
Patch Changes
85a3e1ec4b6ff, (opens new window) - Experimental React 19 peer dependency support. This patch widens the peer range; CI coverage is partial.
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.jsonexportssubpaths 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 asrcsegment (e.g.@atlaskit/select"./src/select"), which are forbidden byno-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-groupkey (duplicate of the existing./flag-groupexport)
The underlying source targets are unchanged.
7.0.0
Major Changes
-
7170acd7feb77, (opens new window) - Apply Volt entry-point and multi-export standards viavolt-migrate-package. This is a major change to@atlaskit/heading: the packageexportsmap 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 thatjest.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
exportsmap"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
2f56c78f969b8, (opens new window) - Update i18n NPM package versions for teamwork-graph (Group 16)
Patch Changes
- Updated dependencies
6.1.0
Minor Changes
-
cd097a2111788, (opens new window) - Republish packages depending on@atlaskit/react-compiler-gatingso their published dependency reference is updated to the renamed@atlaskit/react-compiler-gatingscope.The earlier rename of
@atlassian/react-compiler-gatingto@atlaskit/react-compiler-gatingonly bumped the renamed package itself, so dependent packages were never republished and their published versions still referenced the old@atlassian/react-compiler-gatingname, 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
ee28cf33718b0, (opens new window) - Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform gating.- Updated dependencies
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
typesVersionsproperty anddist/types-ts4.5directory 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
8fdea38bd31f8, (opens new window) - Autofix: add explicit package exports (barrel removal)
5.3.1
Patch Changes
02483200273ec, (opens new window) - Enrol all Design System UI packages into the React Compiler with platform gating via isReactCompilerActivePlatform.- Updated dependencies
5.3.0
Minor Changes
2751faf4f808f, (opens new window) - Increased specificity for font styles previously introduced behind a feature flag are now the default.
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
39e543109ec09, (opens new window) - add type info to forwardRef components- Updated dependencies
5.2.7
Patch Changes
- Updated dependencies
5.2.6
Patch Changes
74c2f420ee49b, (opens new window) - Internal changes to how border radius is applied.- Updated dependencies
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
- #138526, (opens new window)
1c66b8e32f30a, (opens new window) - [ux] Removed feature flagplatform-typography-improved-color-controlresulting in automatic color inversion based on bold surfaces will only affect the default color.
Patch Changes
- Updated dependencies
5.1.1
Patch Changes
- #129972, (opens new window)
b2d69a39e6687, (opens new window) - Update@compiled/reactdependency for improved type checking support. - Updated dependencies
5.1.0
Minor Changes
- #118121, (opens new window)
4850fa1a503ba, (opens new window) - [ux] Automatic color inversion based on bold surfaces will only affect the default color behind a feature flag. If testing successful, this change will be made available in a later release.
Patch Changes
- Updated dependencies
5.0.0
Major Changes
-
#117363, (opens new window)
10a0f7f6c2027, (opens new window) - This package'speerDependencieshave been adjusted forreactand/orreact-domto reflect the status of only supporting React 18 going forward. No explicit breaking change to React support has been made in this release, but this is to signify going forward, breaking changes for React 16 or React 17 may come via non-major semver releases.Please refer this community post for more details: https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026, (opens new window)
Patch Changes
- Updated dependencies
4.3.1
Patch Changes
- #114791, (opens new window)
084765a9c326c, (opens new window) - Remove old codemods and update dependencies.
4.3.0
Minor Changes
- #116138, (opens new window)
b50c5d5d65ae2, (opens new window) - Bump to the latest version of @compiled/react
Patch Changes
- Updated dependencies
4.2.0
Minor Changes
- #116022, (opens new window)
49d35008263f7, (opens new window) - Added ref forwarding support.
4.1.0
Minor Changes
- #109060, (opens new window)
4660ec858a305, (opens new window) - UpdateReactfrom v16 to v18
Patch Changes
- Updated dependencies
4.0.2
Patch Changes
- #108122, (opens new window)
cbc1d5f5bf950, (opens new window) - Update dev depdencies and remove unused internal exports.
4.0.1
Patch Changes
- Updated dependencies
4.0.0
Major Changes
-
#171160, (opens new window)
0d474a7c26c0d, (opens new window) - Migrated from@emotion/reactto@compiled/reactin 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.cssimports correctly. Most bundlers come with built-in support for.cssimports, 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.cssimports.
3.1.0
Minor Changes
- #166220, (opens new window)
c02bd4e1ce076, (opens new window) - Removed unused types related to the old Heading API. Exported types for the Heading component are nowHeadingPropsandHeadingColor. Removed circular type references.
3.0.0
Major Changes
- #165728, (opens new window)
061d0c77948b7, (opens new window) - Breaking change: The deprecatedlevelprop has been removed. Use thesizeprop instead. See https://atlassian.design/components/heading/migration-to-size-prop, (opens new window) for migration details.
Patch Changes
- #166026, (opens new window)
962b5e77810fb, (opens new window) - Adds side-effect config to support Compiled css extraction in third-party apps
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
- #110670, (opens new window)
c733254a2dd6e, (opens new window) - Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime is implicitly set to automatic.
Patch Changes
- Updated dependencies
2.3.2
Patch Changes
- #110191, (opens new window)
c3dc02298f8aa, (opens new window) - [ux] Change heading xsmall lineheight from 16 to 20 for minor third theme. - Updated dependencies
2.3.1
Patch Changes
- Updated dependencies
2.3.0
Minor Changes
- #97580, (opens new window)
3e6f291ec2d5, (opens new window) - Color prop to take color tokens when using heading with size prop.
2.2.0
Minor Changes
- #91625, (opens new window)
d7770083ff25, (opens new window) - Add support for React 18 in non-strict mode.
2.1.2
Patch Changes
- #83130, (opens new window)
4efd62cdc533, (opens new window) - SHPLVIII-481: Assign name to default export components to fix quick-fix imports
2.1.1
Patch Changes
- #83116, (opens new window)
8d4e99057fe0, (opens new window) - Upgrade Typescript from4.9.5to5.4.2
2.1.0
Minor Changes
- #78900, (opens new window)
2e05dc3106e3, (opens new window) - Run codegen for Heading font family changes.
Patch Changes
- Updated dependencies
2.0.1
Patch Changes
- #80571, (opens new window)
c193ae1d1163, (opens new window) - Fix heading typography styles to for apple OS edge cases.
2.0.0
Major Changes
- #81744, (opens new window)
bc7085853ea2, (opens new window) - Renamedvariantprop tosize. The prop values remain unchanged.
1.8.1
Patch Changes
- #81644, (opens new window)
8ab7a816dca7, (opens new window) - Revert input border change from the previous version
1.8.0
Minor Changes
- #80528, (opens new window)
8877e9b57d55, (opens new window) - Addedsizeprop which will replacevariantprop in the next major version.
1.7.1
Patch Changes
- #80805, (opens new window)
427c2dd9e0d6, (opens new window) - Update input border color token and width to meet 3:1 color contrast - Updated dependencies
1.7.0
Minor Changes
- #79770, (opens new window)
32e4d951a5ae, (opens new window) - Run the codegen and update heading.partial.tsx
Patch Changes
- Updated dependencies
1.6.0
Minor Changes
- #68604, (opens new window)
fdf7f6635426, (opens new window) - Modified mapping ofvariantto the HTML element that gets rendered. Previouslyxlargewould render ah2,largewould render ah3etc... Nowxlargerenders ah1and so on...
1.5.1
Patch Changes
- #70023, (opens new window)
e2d35320717b, (opens new window) - Fix types to set either level or variant to be required props to prevent exceptions being thrown.
1.5.0
Minor Changes
- #67463, (opens new window)
caac5b953575, (opens new window) - Fixed an issue where typography tokens referenced font family tokens that may not exist on a page, causing fallbacks to break.
Patch Changes
- Updated dependencies
1.4.4
Patch Changes
- #63526, (opens new window)
cae958047771, (opens new window) - Internal change to how typography tokens are imported. There is no expected behaviour change. - Updated dependencies
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 noHeadingContextin the tree the heading would not produce accessibly correct markup in some cases. This is now resolved.
1.4.2
Patch Changes
- #41124, (opens new window)
40cd7f0c882, (opens new window) - Fix to prevent heading getting into possible invalid state.
1.4.1
Patch Changes
- #41032, (opens new window)
8d9dad6b977, (opens new window) - Heading will apply an aria level if rendered as a div. This is an accessibility fix for an incomplete feature shipped in the previous minor version. - #40299, (opens new window)
b1882fdd842, (opens new window) - Change typography token naming to be more verbose.
1.4.0
Minor Changes
- #40254, (opens new window)
9cc7e23c65b, (opens new window) - [ux] Adds additional heading types via thevariantprop. This prop has been added to aid deprecation of the previouslevelprop. Thelevelprop will be removed in a future release.
1.3.8
Patch Changes
- #40040, (opens new window)
ff79902b24c, (opens new window) - This package is now onboarded onto the product push model.
1.3.7
Patch Changes
- #36754, (opens new window)
4ae083a7e66, (opens new window) - Use@af/accessibility-testingfor default jest-axe config and jest-axe import in accessibility testing.
1.3.6
Patch Changes
- #35337, (opens new window)
529814693a1, (opens new window) - Pin version of @atlaskit/primitives so it resolves to correct version
1.3.5
Patch Changes
- #33833, (opens new window)
b8b41649492, (opens new window) - Update how certain background colors are referenced by name. Internal changes only.
1.3.4
Patch Changes
- #34922, (opens new window)
779727e307a, (opens new window) - Internal change only. Replace all instances of Box with stable @atlaskit/primitives version.
1.3.3
Patch Changes
- #34443, (opens new window)
61cb5313358, (opens new window) - Removing unused dependencies and dev dependencies
1.3.2
Patch Changes
- #33793, (opens new window)
9d00501a414, (opens new window) - Ensure legacy types are published for TS 4.5-4.8
1.3.1
Patch Changes
- #33649, (opens new window)
41fae2c6f68, (opens new window) - Upgrade Typescript from4.5.5to4.9.5
1.3.0
Minor Changes
- #33258, (opens new window)
56507598609, (opens new window) - Skip minor dependency bump
Patch Changes
- Updated dependencies
1.2.1
Patch Changes
- #32294, (opens new window)
e0460d5d989, (opens new window) - Usages ofprocessare now guarded by atypeofcheck.
1.2.0
Minor Changes
- #31206, (opens new window)
261420360ec, (opens new window) - Upgrades component types to support React 18.
1.1.4
Patch Changes
- #31242, (opens new window)
cfe48bb7ece, (opens new window) - Internal change only. Replace usages of Inline/Stack with stable version from@atlaskit/primitives.
1.1.3
Patch Changes
- #31185, (opens new window)
b6c5779d358, (opens new window) - Internal changes only to restrict usage ofBoxfrom the primitives package.
1.1.2
Patch Changes
- Updated dependencies
1.1.1
Patch Changes
- #29390, (opens new window)
18aeca8c199, (opens new window) - Internal change to update token references. There is no expected behaviour or visual change.
1.1.0
Minor Changes
- #28493, (opens new window)
fce52a022f5, (opens new window) - Adds typography tokens to @atlaskit/heading.
1.0.4
Patch Changes
- Updated dependencies
1.0.3
Patch Changes
- Updated dependencies
1.0.2
Patch Changes
- #27341, (opens new window)
95fdae34c94, (opens new window) - Revert experimental change to@compiled/reactfrom@emotion/react.
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
HeadingContextprovider to aid with creating the right semantic structure for headings. - Migrated internals to use
@compiled/reactfrom@emotion/react.
- Introduction of a
0.1.18
Patch Changes
- #26488, (opens new window)
bc989043572, (opens new window) - Internal changes to apply spacing tokens. This should be a no-op change.
0.1.17
Patch Changes
- #24874, (opens new window)
8cc2f888c83, (opens new window) - Upgrade Typescript from4.3.5to4.5.5
0.1.16
Patch Changes
- #24004, (opens new window)
30b11aab9fb, (opens new window) - Updates@emotion/coreto@emotion/react; v10 to v11. There is no expected behavior change. - Updated dependencies
0.1.15
Patch Changes
- #24492, (opens new window)
8d4228767b0, (opens new window) - Upgrade Typescript from4.2.4to4.3.5.
0.1.14
Patch Changes
- #23381, (opens new window)
47b01007f27, (opens new window) - Introduces color prop with values default and inverse.
0.1.13
Patch Changes
- #22642, (opens new window)
354050b68da, (opens new window) - Revert font size calculations to raw pixels.
0.1.12
Patch Changes
- Updated dependencies
0.1.11
Patch Changes
- #20650, (opens new window)
cb2392f6d33, (opens new window) - Upgrade to TypeScript 4.2.4
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
- #16752, (opens new window)
19d72473dfb, (opens new window) - Updates usage of deprecated token names so they're aligned with the latest naming conventions. No UI or visual changes - Updated dependencies
0.1.6
Patch Changes
- Updated dependencies
0.1.5
Patch Changes
- #15998, (opens new window)
f460cc7c411, (opens new window) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size. - Updated dependencies
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
- #12837, (opens new window)
ee15e59ba60, (opens new window) - This is the initial release of the Heading package. Typography styles have been duplicated from the@atlaskit/themepackage as standalone components.
Patch Changes
46816ee8526, (opens new window) - Changes heading element mappings to match '@atlaskit/css-reset'.f9cd2065648, (opens new window) - Removed redundant styles for text-transform, moved font-size toreminsteda ofem.- Updated dependencies