UNPKG

@atlaskit/heading

Version:

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

1,089 lines (669 loc) 32.5 kB
# @atlaskit/heading ## 7.2.2 ### Patch Changes - Updated dependencies ## 7.2.1 ### Patch Changes - Updated dependencies ## 7.2.0 ### Minor Changes - [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) - Remove stale API report artifacts from published Platform packages. ### Patch Changes - Updated dependencies ## 7.1.1 ### Patch Changes - [`85a3e1ec4b6ff`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/85a3e1ec4b6ff) - Experimental React 19 peer dependency support. This patch widens the peer range; CI coverage is partial. ## 7.1.0 ### Minor Changes - [`d82e6f76528ab`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d82e6f76528ab) - 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`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9356675edac18) - 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`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7170acd7feb77) - 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: ```ts // 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: ```diff -import Heading from '@atlaskit/heading/entry-points/heading'; +import Heading from '@atlaskit/heading/heading'; ``` ### Before / after `exports` map ```diff "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`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2f56c78f969b8) - Update i18n NPM package versions for teamwork-graph (Group 16) ### Patch Changes - Updated dependencies ## 6.1.0 ### Minor Changes - [`cd097a2111788`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd097a2111788) - 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 - [`ee28cf33718b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee28cf33718b0) - Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform gating. - Updated dependencies ## 6.0.0 ### Major Changes - [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ### 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. ```diff - "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`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8fdea38bd31f8) - Autofix: add explicit package exports (barrel removal) ## 5.3.1 ### Patch Changes - [`02483200273ec`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/02483200273ec) - Enrol all Design System UI packages into the React Compiler with platform gating via isReactCompilerActivePlatform. - Updated dependencies ## 5.3.0 ### Minor Changes - [`2751faf4f808f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2751faf4f808f) - 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`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1791263fbda89) - 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`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6832ded6661b2) - 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`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39e543109ec09) - add type info to forwardRef components - Updated dependencies ## 5.2.7 ### Patch Changes - Updated dependencies ## 5.2.6 ### Patch Changes - [`74c2f420ee49b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/74c2f420ee49b) - 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](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/138526) [`1c66b8e32f30a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1c66b8e32f30a) - [ux] Removed feature flag `platform-typography-improved-color-control` resulting in automatic color inversion based on bold surfaces will only affect the default color. ### Patch Changes - Updated dependencies ## 5.1.1 ### Patch Changes - [#129972](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/129972) [`b2d69a39e6687`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b2d69a39e6687) - Update `@compiled/react` dependency for improved type checking support. - Updated dependencies ## 5.1.0 ### Minor Changes - [#118121](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/118121) [`4850fa1a503ba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4850fa1a503ba) - [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](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363) [`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) - This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to 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 ### Patch Changes - Updated dependencies ## 4.3.1 ### Patch Changes - [#114791](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114791) [`084765a9c326c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/084765a9c326c) - Remove old codemods and update dependencies. ## 4.3.0 ### Minor Changes - [#116138](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116138) [`b50c5d5d65ae2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b50c5d5d65ae2) - Bump to the latest version of @compiled/react ### Patch Changes - Updated dependencies ## 4.2.0 ### Minor Changes - [#116022](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116022) [`49d35008263f7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/49d35008263f7) - Added ref forwarding support. ## 4.1.0 ### Minor Changes - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060) [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) - Update `React` from v16 to v18 ### Patch Changes - Updated dependencies ## 4.0.2 ### Patch Changes - [#108122](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/108122) [`cbc1d5f5bf950`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cbc1d5f5bf950) - Update dev depdencies and remove unused internal exports. ## 4.0.1 ### Patch Changes - Updated dependencies ## 4.0.0 ### Major Changes - [#171160](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171160) [`0d474a7c26c0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0d474a7c26c0d) - 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 - [#166220](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/166220) [`c02bd4e1ce076`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c02bd4e1ce076) - Removed unused types related to the old Heading API. Exported types for the Heading component are now `HeadingProps` and `HeadingColor`. Removed circular type references. ## 3.0.0 ### Major Changes - [#165728](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165728) [`061d0c77948b7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/061d0c77948b7) - **Breaking change:** The deprecated `level` prop has been removed. Use the `size` prop instead. See https://atlassian.design/components/heading/migration-to-size-prop for migration details. ### Patch Changes - [#166026](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/166026) [`962b5e77810fb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/962b5e77810fb) - 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](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110670) [`c733254a2dd6e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/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 ## 2.3.2 ### Patch Changes - [#110191](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110191) [`c3dc02298f8aa`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c3dc02298f8aa) - [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](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97580) [`3e6f291ec2d5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3e6f291ec2d5) - Color prop to take color tokens when using heading with size prop. ## 2.2.0 ### Minor Changes - [#91625](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91625) [`d7770083ff25`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d7770083ff25) - Add support for React 18 in non-strict mode. ## 2.1.2 ### Patch Changes - [#83130](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83130) [`4efd62cdc533`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4efd62cdc533) - SHPLVIII-481: Assign name to default export components to fix quick-fix imports ## 2.1.1 ### Patch Changes - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2` ## 2.1.0 ### Minor Changes - [#78900](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78900) [`2e05dc3106e3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2e05dc3106e3) - Run codegen for Heading font family changes. ### Patch Changes - Updated dependencies ## 2.0.1 ### Patch Changes - [#80571](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80571) [`c193ae1d1163`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c193ae1d1163) - Fix heading typography styles to for apple OS edge cases. ## 2.0.0 ### Major Changes - [#81744](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81744) [`bc7085853ea2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bc7085853ea2) - Renamed `variant` prop to `size`. The prop values remain unchanged. ## 1.8.1 ### Patch Changes - [#81644](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81644) [`8ab7a816dca7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ab7a816dca7) - Revert input border change from the previous version ## 1.8.0 ### Minor Changes - [#80528](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80528) [`8877e9b57d55`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8877e9b57d55) - Added `size` prop which will replace `variant` prop in the next major version. ## 1.7.1 ### Patch Changes - [#80805](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80805) [`427c2dd9e0d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/427c2dd9e0d6) - Update input border color token and width to meet 3:1 color contrast - Updated dependencies ## 1.7.0 ### Minor Changes - [#79770](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79770) [`32e4d951a5ae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32e4d951a5ae) - Run the codegen and update heading.partial.tsx ### Patch Changes - Updated dependencies ## 1.6.0 ### Minor Changes - [#68604](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68604) [`fdf7f6635426`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fdf7f6635426) - Modified mapping of `variant` to the HTML element that gets rendered. Previously `xlarge` would render a `h2`, `large` would render a `h3` etc... Now `xlarge` renders a `h1` and so on... ## 1.5.1 ### Patch Changes - [#70023](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70023) [`e2d35320717b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e2d35320717b) - Fix types to set either level or variant to be required props to prevent exceptions being thrown. ## 1.5.0 ### Minor Changes - [#67463](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67463) [`caac5b953575`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/caac5b953575) - 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](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63526) [`cae958047771`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cae958047771) - Internal change to how typography tokens are imported. There is no expected behaviour change. - Updated dependencies ## 1.4.3 ### Patch Changes - [#41226](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41226) [`fc7aba3cbae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc7aba3cbae) - [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 - [#41124](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41124) [`40cd7f0c882`](https://bitbucket.org/atlassian/atlassian-frontend/commits/40cd7f0c882) - Fix to prevent heading getting into possible invalid state. ## 1.4.1 ### Patch Changes - [#41032](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41032) [`8d9dad6b977`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d9dad6b977) - 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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40299) [`b1882fdd842`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1882fdd842) - Change typography token naming to be more verbose. ## 1.4.0 ### Minor Changes - [#40254](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40254) [`9cc7e23c65b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9cc7e23c65b) - [ux] Adds additional heading types via the `variant` prop. This prop has been added to aid deprecation of the previous `level` prop. The `level` prop will be removed in a future release. ## 1.3.8 ### Patch Changes - [#40040](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40040) [`ff79902b24c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff79902b24c) - This package is now onboarded onto the product push model. ## 1.3.7 ### Patch Changes - [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754) [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing. ## 1.3.6 ### Patch Changes - [#35337](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35337) [`529814693a1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/529814693a1) - Pin version of @atlaskit/primitives so it resolves to correct version ## 1.3.5 ### Patch Changes - [#33833](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33833) [`b8b41649492`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8b41649492) - Update how certain background colors are referenced by name. Internal changes only. ## 1.3.4 ### Patch Changes - [#34922](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34922) [`779727e307a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/779727e307a) - Internal change only. Replace all instances of Box with stable @atlaskit/primitives version. ## 1.3.3 ### Patch Changes - [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443) [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies ## 1.3.2 ### Patch Changes - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8 ## 1.3.1 ### Patch Changes - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5` ## 1.3.0 ### Minor Changes - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump ### Patch Changes - Updated dependencies ## 1.2.1 ### Patch Changes - [#32294](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32294) [`e0460d5d989`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e0460d5d989) - Usages of `process` are now guarded by a `typeof` check. ## 1.2.0 ### Minor Changes - [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206) [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18. ## 1.1.4 ### Patch Changes - [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242) [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`. ## 1.1.3 ### Patch Changes - [#31185](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31185) [`b6c5779d358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6c5779d358) - Internal changes only to restrict usage of `Box` from the primitives package. ## 1.1.2 ### Patch Changes - Updated dependencies ## 1.1.1 ### Patch Changes - [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390) [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change. ## 1.1.0 ### Minor Changes - [#28493](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28493) [`fce52a022f5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fce52a022f5) - 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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27341) [`95fdae34c94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95fdae34c94) - Revert experimental change to `@compiled/react` from `@emotion/react`. ## 1.0.1 ### Patch Changes - Updated dependencies ## 1.0.0 ### Major Changes - [#27238](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27238) [`7d92ed50264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d92ed50264) - [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 - [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488) [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change. ## 0.1.17 ### Patch Changes - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5` ## 0.1.16 ### Patch Changes - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`30b11aab9fb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30b11aab9fb) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change. - Updated dependencies ## 0.1.15 ### Patch Changes - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`. ## 0.1.14 ### Patch Changes - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`47b01007f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47b01007f27) - Introduces color prop with values default and inverse. ## 0.1.13 ### Patch Changes - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`354050b68da`](https://bitbucket.org/atlassian/atlassian-frontend/commits/354050b68da) - Revert font size calculations to raw pixels. ## 0.1.12 ### Patch Changes - Updated dependencies ## 0.1.11 ### Patch Changes - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - 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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - 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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - 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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`d7a9a4ff7ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7a9a4ff7ec) - 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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`ee15e59ba60`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee15e59ba60) - This is the initial release of the Heading package. Typography styles have been duplicated from the `@atlaskit/theme` package as standalone components. ### Patch Changes - [`46816ee8526`](https://bitbucket.org/atlassian/atlassian-frontend/commits/46816ee8526) - Changes heading element mappings to match '@atlaskit/css-reset'. - [`f9cd2065648`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9cd2065648) - Removed redundant styles for text-transform, moved font-size to `rem` insteda of `em`. - Updated dependencies