UNPKG

@atlaskit/atlassian-navigation

Version:

A horizontal navigation component for Atlassian apps.

1,717 lines (1,049 loc) 73.1 kB
# @atlaskit/atlassian-navigation ## 5.7.4 ### Patch Changes - Updated dependencies ## 5.7.3 ### Patch Changes - [`45ab8af062543`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/45ab8af062543) - Add deprecation notices to code exports ## 5.7.2 ### Patch Changes - Updated dependencies ## 5.7.1 ### Patch Changes - [`76faad1c8c7b5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/76faad1c8c7b5) - Removed `react-intl-next` alias and replaced all usages with `react-intl` directly. What changed: The `react-intl-next` devDependency alias (which resolved to `react-intl@^5`) has been renamed to `react-intl`. This is a development-only change with no impact on consumers. ## 5.7.0 ### Minor Changes - [`8b1c5f296653c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8b1c5f296653c) - Autofix: add explicit package exports (barrel removal) ### Patch Changes - Updated dependencies ## 5.6.18 ### Patch Changes - Updated dependencies ## 5.6.17 ### Patch Changes - [`ddd049a745d38`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ddd049a745d38) - Internal change to how legacy colors are applied. No visual changes. - Updated dependencies ## 5.6.16 ### Patch Changes - Updated dependencies ## 5.6.15 ### Patch Changes - Updated dependencies ## 5.6.14 ### 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.6.13 ### Patch Changes - [`8f1a80e10b1d7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8f1a80e10b1d7) - Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme` - Updated dependencies ## 5.6.12 ### Patch Changes - [`08170da1fbf62`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/08170da1fbf62) - Migrate spacing prop usages on icons to Flex wrapper - Updated dependencies ## 5.6.11 ### Patch Changes - [`7aef1e49e90ea`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7aef1e49e90ea) - Removes redundant fallback color values via @atlaskit/theme - Updated dependencies ## 5.6.10 ### Patch Changes - [`62281c5d82340`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/62281c5d82340) - Align examples and tests with the new `NotificationLogClient` object constructor API , updated for GraphQL support ## 5.6.9 ### Patch Changes - Updated dependencies ## 5.6.8 ### Patch Changes - Updated dependencies ## 5.6.7 ### Patch Changes - Updated dependencies ## 5.6.6 ### Patch Changes - Updated dependencies ## 5.6.5 ### Patch Changes - Updated dependencies ## 5.6.4 ### Patch Changes - Updated dependencies ## 5.6.3 ### Patch Changes - Updated dependencies ## 5.6.2 ### Patch Changes - Updated dependencies ## 5.6.1 ### Patch Changes - Updated dependencies ## 5.6.0 ### Minor Changes - [`87b12e64ff750`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87b12e64ff750) - Removed usages of LEGACY icon props ### Patch Changes - Updated dependencies ## 5.5.4 ### Patch Changes - [`036c3ee917e3c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/036c3ee917e3c) - Icon migration entry point update - Updated dependencies ## 5.5.3 ### Patch Changes - Updated dependencies ## 5.5.2 ### Patch Changes - [`d14ea5f60b689`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d14ea5f60b689) - chore: migrate platform UI & component libraries icon imports from migration paths to core - Updated dependencies ## 5.5.1 ### Patch Changes - [`a60a82196851a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a60a82196851a) - Internal refactors to remove unused variables. No functional or public changes. - Updated dependencies ## 5.5.0 ### Minor Changes - [`f089cdf7f6a28`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f089cdf7f6a28) - PrimaryButton now supports displaying a shortcut in the tooltip, through the new `shortcut` prop. It is passed through to the Tooltip's `shortcut` prop. ## 5.4.2 ### Patch Changes - Updated dependencies ## 5.4.1 ### Patch Changes - Updated dependencies ## 5.4.0 ### Minor Changes - [`211a83504b30b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/211a83504b30b) - [ux] GCKO-936 Add switcher support for same tab 1P links ## 5.3.23 ### Patch Changes - Updated dependencies ## 5.3.22 ### Patch Changes - Updated dependencies ## 5.3.21 ### Patch Changes - Updated dependencies ## 5.3.20 ### Patch Changes - [`437668dfbdec9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/437668dfbdec9) - Add explicit types to a number of DST components - Updated dependencies ## 5.3.19 ### Patch Changes - [`39e543109ec09`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39e543109ec09) - add type info to forwardRef components - Updated dependencies ## 5.3.18 ### Patch Changes - [`248faa32d4835`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/248faa32d4835) - Internal changes to how borders are applied. - Updated dependencies ## 5.3.17 ### Patch Changes - [`f0662cd7a143e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f0662cd7a143e) - Internal changes to how borders are applied. - Updated dependencies ## 5.3.16 ### Patch Changes - [`74c2f420ee49b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/74c2f420ee49b) - Internal changes to how border radius is applied. - Updated dependencies ## 5.3.15 ### Patch Changes - [`23bcc5bbc9cee`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/23bcc5bbc9cee) - Internal changes to how border radius is applied. - Updated dependencies ## 5.3.14 ### Patch Changes - [`3b5b4a919aaaf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3b5b4a919aaaf) - Internal changes to how border radius is applied. - Updated dependencies ## 5.3.13 ### Patch Changes - Updated dependencies ## 5.3.12 ### Patch Changes - Updated dependencies ## 5.3.11 ### Patch Changes - [`2af42ad93c3e0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2af42ad93c3e0) - Internal changes to use tokens for border radius. - Updated dependencies ## 5.3.10 ### Patch Changes - [`0c3ef91864885`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0c3ef91864885) - Fixes a bug where when no custom theming preferences are set, `iconColor` and `textColor` still had colors set, overriding default logo colors and causing bugs with some logos. This change was previously tested behind a feature flag. ## 5.3.9 ### Patch Changes - Updated dependencies ## 5.3.8 ### Patch Changes - [#185231](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/185231) [`8cd7b52d423d1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8cd7b52d423d1) - Internal changes resulting from update to `@atlaskit/navigation-system` - Updated dependencies ## 5.3.7 ### Patch Changes - Updated dependencies ## 5.3.6 ### Patch Changes - [#185731](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/185731) [`58822a702f803`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/58822a702f803) - [ux] Updated Atlassian navigation buttons to use subtle background states that match the default background token. Hovered state now uses `color.background.neutral.subtle.hovered` instead of `color.background.neutral.hovered`. Pressed state now uses `color.background.neutral.subtle.pressed` instead of `color.background.neutral.pressed`. ## 5.3.5 ### Patch Changes - Updated dependencies ## 5.3.4 ### Patch Changes - [#174616](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/174616) [`ee906c44a058e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee906c44a058e) - Internal refactors to accommodate for platform package rename. - Updated dependencies ## 5.3.3 ### Patch Changes - Updated dependencies ## 5.3.2 ### Patch Changes - Updated dependencies ## 5.3.1 ### Patch Changes - [#164146](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/164146) [`cb9fe0058ed87`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cb9fe0058ed87) - Updates package.json direct dependencies to align with actual usage. ## 5.3.0 ### Minor Changes - [#157071](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/157071) [`a149a0b1559ec`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a149a0b1559ec) - We are testing the migration to the ADS Link component behind a feature flag. If this fix is successful it will be available in a later release. ### Patch Changes - Updated dependencies ## 5.2.0 ### Minor Changes - [#149822](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149822) [`f9ab0e846ae21`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f9ab0e846ae21) - Updated to support `size` prop for new icons from `@atlaskit/icon`. ### Patch Changes - Updated dependencies ## 5.1.10 ### Patch Changes - [#148599](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/148599) [`6fdb42d9282af`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6fdb42d9282af) - Refreshed "issue" terminology. ## 5.1.9 ### Patch Changes - Updated dependencies ## 5.1.8 ### Patch Changes - Updated dependencies ## 5.1.7 ### Patch Changes - Updated dependencies ## 5.1.6 ### Patch Changes - [#142181](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142181) [`d6934885b334e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d6934885b334e) - Fixed some new icons that were enabled with the incorrect feature flag. ## 5.1.5 ### Patch Changes - Updated dependencies ## 5.1.4 ### Patch Changes - [#133393](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/133393) [`379be130e4891`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/379be130e4891) - Fixes bug with internal feature flagging logic ## 5.1.3 ### Patch Changes - Updated dependencies ## 5.1.2 ### Patch Changes - Updated dependencies ## 5.1.1 ### Patch Changes - Updated dependencies ## 5.1.0 ### Minor Changes - [#130720](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/130720) [`2b4555de9adf4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2b4555de9adf4) - Minor type adjustment to support different logo types ## 5.0.3 ### Patch Changes - [#127213](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/127213) [`73f69318be2bc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/73f69318be2bc) - Added isScreenReaderAnnouncementDisabled for iconButton tooltip to avoid duplicate announcements. ## 5.0.2 ### Patch Changes - Updated dependencies ## 5.0.1 ### 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.11.3 ### Patch Changes - Updated dependencies ## 4.11.2 ### Patch Changes - Updated dependencies ## 4.11.1 ### Patch Changes - Updated dependencies ## 4.11.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.10.4 ### Patch Changes - [#104068](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/104068) [`624d374b427b7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/624d374b427b7) - Cleans up and updates dependencies. Removes unused internal exports and deletes unused files. ## 4.10.3 ### Patch Changes - Updated dependencies ## 4.10.2 ### Patch Changes - [#98559](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98559) [`863b3f6a0adba`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/863b3f6a0adba) - - Remove `Appearance` from app switcher prop - Update a few example usages - Updated dependencies ## 4.10.1 ### Patch Changes - [#181731](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/181731) [`910a3ef2381d3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/910a3ef2381d3) - Add isSSRPlaceholderEnabled prop for side and top nav v3 ## 4.10.0 ### Minor Changes - [#178538](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/178538) [`883a3a2291949`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/883a3a2291949) - Make spread props explicit and clean up ESLint disables within components. ## 4.9.5 ### Patch Changes - Updated dependencies ## 4.9.4 ### Patch Changes - Updated dependencies ## 4.9.3 ### Patch Changes - [#168160](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168160) [`5c96046203b6f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5c96046203b6f) - Tag top and side navigation components for SSR placeholder replacement ## 4.9.2 ### Patch Changes - [#167483](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/167483) [`2dd22b00bedaa`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2dd22b00bedaa) - Add props for handling server rendered components and data-vc ## 4.9.1 ### Patch Changes - [#165531](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165531) [`57f451bda8919`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/57f451bda8919) - Adds side-effect config to support Compiled css extraction in third-party apps ## 4.9.0 ### Minor Changes - [#163994](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163994) [`93794f3c42f1e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93794f3c42f1e) - Add explicit support for `aria-label` to `ProductHome`. This already worked due to spread props, but is now typed and explicitly applied. ### Patch Changes - Updated dependencies ## 4.8.0 ### Minor Changes - [#157307](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157307) [`a1e80ec0a5e4a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a1e80ec0a5e4a) - Enable new icons behind a feature flag. ## 4.7.6 ### Patch Changes - Updated dependencies ## 4.7.5 ### Patch Changes - [`6ed7ccbb0bf44`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6ed7ccbb0bf44) - Remove experiment behind `platform.design-system-team.navigation-v2-no-jank_5yhbd` feature flag, keeping the old behaviour in place. ## 4.7.4 ### Patch Changes - Updated dependencies ## 4.7.3 ### Patch Changes - [#152429](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152429) [`5d414827c3394`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5d414827c3394) - Removes usages of deprecated CustomThemeButton in favor of the new Button ## 4.7.2 ### Patch Changes - Updated dependencies ## 4.7.1 ### Patch Changes - Updated dependencies ## 4.7.0 ### Minor Changes - [#138973](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138973) [`e1150e9523e1f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e1150e9523e1f) - Update AppSwitcher to support Nav4 ## 4.6.0 ### Minor Changes - [#134149](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/134149) [`9502975197692`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9502975197692) - [ux] Providing Nav4 skeleton components for SSR ### Patch Changes - Updated dependencies ## 4.5.2 ### Patch Changes - Updated dependencies ## 4.5.1 ### Patch Changes - Updated dependencies ## 4.5.0 ### Minor Changes - [#127511](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/127511) [`db30e29344013`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/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.3` as well as to have a consistent peer dependency range for `react` and `react-dom` for `/platform` packages. ### Patch Changes - Updated dependencies ## 4.4.1 ### Patch Changes - Updated dependencies ## 4.4.0 ### Minor Changes - [#125278](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/125278) [`f80ae8ed91fc9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f80ae8ed91fc9) - Adding data-vc attributes for tracking TTVC (go/ttvc). ## 4.3.2 ### Patch Changes - [#123065](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/123065) [`d85d7e47179c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d85d7e47179c1) - change default aria-label on AppSwitcherIcon ## 4.3.1 ### Patch Changes - Updated dependencies ## 4.3.0 ### Minor Changes - [#120020](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120020) [`0704ecd9a56c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0704ecd9a56c0) - Add exports for skeleton props. Removes extract react types remnants from documentation. ## 4.2.2 ### Patch Changes - Updated dependencies ## 4.2.1 ### Patch Changes - Updated dependencies ## 4.2.0 ### Minor Changes - [#114836](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114836) [`b18e778d0c7f4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b18e778d0c7f4) - Accessibility changes: improving skeleton semantics for better readability for screen readers. ## 4.1.4 ### Patch Changes - Updated dependencies ## 4.1.3 ### Patch Changes - Updated dependencies ## 4.1.2 ### Patch Changes - [#113632](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/113632) [`821abfcb39199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/821abfcb39199) - Strip empty style properties to reduce SSR hydration warnings ## 4.1.1 ### Patch Changes - Updated dependencies ## 4.1.0 ### Minor Changes - [#111696](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111696) [`20c2d58f6f8a9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/20c2d58f6f8a9) - Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime is implicitly set to automatic. ### Patch Changes - Updated dependencies ## 4.0.0 ### Major Changes - [#93481](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93481) [`01525ae5b7206`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/01525ae5b7206) - Remove `iconGradientStart` and `iconGradientStop` from ProductHomeCSS options in navigation themes ### Patch Changes - Updated dependencies ## 3.6.2 ### Patch Changes - Updated dependencies ## 3.6.1 ### Patch Changes - [#95006](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95006) [`26d9763b841d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/26d9763b841d) - Fix broken colors for "more" button items. ## 3.6.0 ### Minor Changes - [#96462](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96462) [`a21b8dc426e8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a21b8dc426e8) - Add support for React 18 in non-strict mode. ## 3.5.0 ### Minor Changes - [#94675](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94675) [`5d9e1dccacca`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5d9e1dccacca) - [ux] Update input border color token to meet 3:1 color contrast ratioLight theme: color.border.input: #091E4224 → #8590A2Dark mode: color.border.input: #A6C5E229 → #738496 ### Patch Changes - Updated dependencies ## 3.4.2 ### Patch Changes - [#94019](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94019) [`06ba9f16130d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/06ba9f16130d) - Internal changes to typography, no visual change. ## 3.4.1 ### Patch Changes - [#89713](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89713) [`a2541fb3baec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a2541fb3baec) - [ux] This release tests some default colour changes for ProductHome icons behind a feature flag. If successful, these changes will be enabled in a future release. ## 3.4.0 ### Minor Changes - [#85960](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/85960) [`529d60f091ea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/529d60f091ea) - Add aria label prop for Create button ## 3.3.6 ### Patch Changes - [#88354](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88354) [`4c87d9b4f0c2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4c87d9b4f0c2) - The internal composition of this component has changed. There is no expected change in behavior. - Updated dependencies ## 3.3.5 ### Patch Changes - [#83297](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83297) [`6b1707c169e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b1707c169e0) - The internal composition of this component has changed. There is no expected change in behaviour. ## 3.3.4 ### 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` ## 3.3.3 ### Patch Changes - [#82544](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/82544) [`c0002528c07e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c0002528c07e) - Refactor border width style to make it work in SSR ## 3.3.2 ### Patch Changes - Updated dependencies ## 3.3.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 ## 3.3.0 ### Minor 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) - [ux] Update input border width from 2px to 1px with darker color to meet 3:1 color contrast ### Patch Changes - Updated dependencies ## 3.2.4 ### Patch Changes - [#77467](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77467) [`8d01fc556d89`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d01fc556d89) - Add prop `shouldRenderToParent` to `PrimaryItemsContainer` and `PrimaryItemsContainerV2`. It makes the content visible in nested menu. ## 3.2.3 ### Patch Changes - Updated dependencies ## 3.2.2 ### Patch Changes - Updated dependencies ## 3.2.1 ### Patch Changes - [#74756](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74756) [`8e66f751df96`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e66f751df96) - Use feature flag to roll out border width update from 2px to 1px ## 3.2.0 ### Minor Changes - [#70040](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70040) [`d18ec4d7ce20`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d18ec4d7ce20) - [ux] Tidy up of the `platform.design-system-team.icon-button-spacing-fix_o1zc5` Platform Feature Flag which applies a small adjustment to icon spacing for buttons using `iconBefore` and `iconAfter` props. Small visual adjustment is to be expected — keep this in mind when reviewing any VR tests breaking. The spacing around the icons will be reduced. ### Patch Changes - Updated dependencies ## 3.1.2 ### Patch Changes - Updated dependencies ## 3.1.1 ### Patch Changes - [#69022](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69022) [`395c74147990`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/395c74147990) - Migrate packages to use declarative entry points ## 3.1.0 ### Minor Changes - [#65982](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65982) [`d36b4575ba4b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d36b4575ba4b) - Accessibility changes: improving semantics for better readability for screen readers. ## 3.0.3 ### Patch Changes - [#63677](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63677) [`f320c8ce5039`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f320c8ce5039) - This package has been added to the Jira push model. ## 3.0.2 ### Patch Changes - [#61177](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61177) [`c8b7446ec45b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c8b7446ec45b) - [ux] Removes opacity from dropdown chevrons to support better color contrast ## 3.0.1 ### Patch Changes - Updated dependencies ## 3.0.0 ### Major Changes - [#59797](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59797) [`ea972e5bd62f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ea972e5bd62f) - Removing PrimarySplitButton which relies on (about to be removed) UNSAFE exports from @atlaskit/button. See LDR https://hello.atlassian.net/l/cp/xNFyPqkm ## 2.10.0 ### Minor Changes - [#56868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56868) [`73ad379b73c6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73ad379b73c6) - [ux] Add proper labels to icon buttons. ## 2.9.2 ### Patch Changes - Updated dependencies ## 2.9.1 ### Patch Changes - Updated dependencies ## 2.9.0 ### Minor Changes - [#41859](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41859) [`abe039bab59`](https://bitbucket.org/atlassian/atlassian-frontend/commits/abe039bab59) - Including missing dropdown-menu dev dependency and introduce PrimarySplitButton (unsafe) ### Patch Changes - Updated dependencies ## 2.8.0 ### Minor Changes - [#40069](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40069) [`d84be9a0f39`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d84be9a0f39) - [ux] We are testing icon button intenal spacing fix. We had to make related changes in dropdown menu button behind a fetaure flag. There is no visual difference but external changes instead. If the spacing fix is successful it will be available in a later release. ## 2.7.0 ### Minor Changes - [#40112](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40112) [`f2eb005a30d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2eb005a30d) - [ux] Bottom border is now displayed when color tokens are not present, with a fallback color of N30 being used. The shadow styles that were previously visible when tokens were not present have been removed. ## 2.6.19 ### Patch Changes - [#39787](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39787) [`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) - Internal changes to use space tokens. There is no expected visual or behaviour change. ## 2.6.18 ### Patch Changes - [#38181](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38181) [`11114bf2063`](https://bitbucket.org/atlassian/atlassian-frontend/commits/11114bf2063) - [ux] Introduce new border of search input with 1px border and 2px on selected under feature flag ## 2.6.17 ### Patch Changes - [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533) [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated dependencies ## 2.6.16 ### Patch Changes - [#37065](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37065) [`aa737a93ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aa737a93ee3) - Bug fix for primary items container behind the "platform.design-system-team.navigation-v2-no-jank_5yhbd" feature flag. ## 2.6.15 ### Patch Changes - [#37278](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37278) [`3fadbb8bf73`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fadbb8bf73) - Internal changes. ## 2.6.14 ### Patch Changes - [#37114](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37114) [`9b8eb462cf4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9b8eb462cf4) - [ux] update color.border.focused fallback to B200 ## 2.6.13 ### Patch Changes - Updated dependencies ## 2.6.12 ### Patch Changes - Updated dependencies ## 2.6.11 ### Patch Changes - [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441) [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change. ## 2.6.10 ### Patch Changes - Updated dependencies ## 2.6.9 ### Patch Changes - Updated dependencies ## 2.6.8 ### Patch Changes - [#35149](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35149) [`37131e3a8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37131e3a8ea) - Uses the Alpha release of our responsive media helpers via either the public `media` export or the internal `UNSAFE_media` export. - Updated dependencies ## 2.6.7 ### Patch Changes - [#35385](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35385) [`967dd926bfc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/967dd926bfc) - Updates all navigation components to use border/shape tokens. This is a no-op as these tokens are not enabled in product. - Updated dependencies ## 2.6.6 ### Patch Changes - [#34580](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34580) [`fe65eb90595`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe65eb90595) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change. ## 2.6.5 ### Patch Changes - Updated dependencies ## 2.6.4 ### Patch Changes - Updated dependencies ## 2.6.3 ### Patch Changes - Updated dependencies ## 2.6.2 ### Patch Changes - [#34887](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34887) [`9eec8b31eaf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9eec8b31eaf) - [ux] Change reverts a previous change to the focus border highlight color on focus for quick search in confluence ## 2.6.1 ### Patch Changes - [#33652](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33652) [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers. ## 2.6.0 ### Minor Changes - [#33679](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33679) [`e40a555bd64`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e40a555bd64) - [ux] Adds a platform-feature-flagged update to the way the top nav renders primary nav items, moving it from unperformant JS-based calculations to a responsive CSS solution. PFF: "platform.design-system-team.navigation-v2-no-jank_5yhbd" ## 2.5.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 ## 2.5.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` ## 2.5.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 ## 2.4.1 ### Patch Changes - [#32173](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32173) [`f7f852b0a4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7f852b0a4f) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change. ## 2.4.0 ### Minor Changes - [#31299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31299) [`e3fa4437cf5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3fa4437cf5) - [ux] Updates focus appearance of components using buttons and custom buttons. These states now use an offset outline which is consistent with other applications of focus in Atlassian components. ### Patch Changes - Updated dependencies ## 2.3.5 ### Patch Changes - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634) [`718d5ad3044`](https://bitbucket.org/atlassian/atlassian-frontend/commits/718d5ad3044) - Updates to support the new `@atlaskit/tokens` theming API. - Updated dependencies ## 2.3.4 ### Patch Changes - [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`cdc1dd169be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cdc1dd169be) - [ux] When updating tokens for Search component of `atlassian-navigation` package we found that some styles don't apply. This is due to the fact that some dynamic styles for `hover` and `focus` states used to be passed via `style` attribute. `style` attribute doesn't allow usage of pseudo-classes hens styles were never applied. We fixed this and made tokens follow the spec. However, to prevent consumer's VR tests from breaking we decided to fallback on default styles so the UI on legacy theming unchanged. ## 2.3.3 ### Patch Changes - Updated dependencies ## 2.3.2 ### Patch Changes - Updated dependencies ## 2.3.1 ### Patch Changes - Updated dependencies ## 2.3.0 ### Minor Changes - [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`27fc68c8e36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27fc68c8e36) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change. ### Patch Changes - Updated dependencies ## 2.2.10 ### Patch Changes - [#26449](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26449) [`fc570a62923`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc570a62923) - [ux] Fixed a regression which could prevent items from collapsing. ## 2.2.9 ### 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` ## 2.2.8 ### Patch Changes - [#24632](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24632) [`eb77cae1ea4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb77cae1ea4) - [ux] Selected buttons that have menus in the atlassian-navigation component now show the correct background color when "selected" ## 2.2.7 ### 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`. ## 2.2.6 ### Patch Changes - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`95c1a5e91d1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95c1a5e91d1) - Internal code change turning on new linting rules. - Updated dependencies ## 2.2.5 ### Patch Changes - [#23676](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23676) [`deeaf03eb21`](https://bitbucket.org/atlassian/atlassian-frontend/commits/deeaf03eb21) - Fix an issue where ProductHome rendered incorrectly in Safari ## 2.2.4 ### Patch Changes - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`416570be6bf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/416570be6bf) - Small update to styles to account for change in `@atlaskit/logo`. - Updated dependencies ## 2.2.3 ### Patch Changes - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`5b7962fbceb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5b7962fbceb) - Fix visual bug with selected state of navigation iconButtons - [`dd991482e67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd991482e67) - [ux] Fixed a regression causing the `logoMaxWidth` prop to have no effect. VR tests may need regenerating, but in most cases will not. - Updated dependencies ## 2.2.2 ### Patch Changes - [#21553](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21553) [`d28c3b5078e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d28c3b5078e) - Updated type documentation ## 2.2.1 ### Patch Changes - Updated dependencies ## 2.2.0 ### Minor Changes - [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721) [`81addc0c144`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81addc0c144) - [ux] Pass boxShadow for the focus styling of search section in the theme generator. ### Patch Changes - Updated dependencies ## 2.1.6 ### Patch Changes - [#21440](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21440) [`3622df604ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3622df604ee) - Fixes bug where navigation items cannot be added after intial render if the initial item array was empty ## 2.1.5 ### 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 - Updated dependencies ## 2.1.4 ### Patch Changes - Updated dependencies ## 2.1.3 ### Patch Changes - [#20174](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20174) [`5772d2d059c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5772d2d059c) - update root babel config to correctly compile atlassian switcher ## 2.1.2 ### Patch Changes - [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618) [`ac9343c3ed4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac9343c3ed4) - Replaces usage of deprecated design tokens. No visual or functional changes - [`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - Migrates all usage of brand tokens to either selected or information tokens. This change is purely for semantic reasons, there are no visual or behavioural changes. - Updated dependencies ## 2.1.1 ### Patch Changes - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019) [`faee2b4ee52`](https://bitbucket.org/atlassian/atlassian-frontend/commits/faee2b4ee52) - Rewrite dynamic styles to be static to aid compiled migration. - Updated dependencies ## 2.1.0 ### Minor Changes - [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526) [`c4e94b64308`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c4e94b64308) - Added a new href prop to the Create button which causes it to be rendered as a link. This is suitable for when the Create action is handled as a full page rather than in a modal-dialog. ## 2.0.4 ### Patch Changes - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids. - Updated dependencies ## 2.0.3 ### Patch Changes - Updated dependencies ## 2.0.2 ### Patch Changes - [#17053](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17053) [`9dd6250db15`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9dd6250db15) - Updates token value for selected button text. Button text should now be "blue" when selected ## 2.0.1 ### Patch Changes - [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475) [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489 ## 2.0.0 ### Major Changes - [#14810](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14810) [`47f58da5946`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47f58da5946) - ED-13322, ED-13324, ED-13326, ED-13323, ED-13204: Upgrade and support react-intl@^5.18.1 including breaking API changes, types and tests in atlassian-frontend packages What changed: Upgraded our react-intl support from ^2.6.0 to ^5.18.1. This means editor packages now rely on consumers installing ^5.18.1, otherwise editor usage of react-intl will mismatch with actual installed react-intl APIs. Why change was made: As part of a coordinated upgrade effort across AF packages, as react-intl v2 is quite dated. How consumer should update their code: Ensure react-intl ^5.18.1 is installed in consuming applications. Upgrade guide: To consume atlassian-frontend packages that use react-intl5 setup a second provider for the new version, using an npm alias ```js "react-intl": "^2.6.0", "react-intl-next": "npm:react-intl@^5.18.1", ``` ```js import { IntlProvider } from 'react-intl'; import { IntlProvider as IntlNextProvider } from 'react-intl-next'; return ( <IntlProvider key={locale} data-test-language={locale} locale={locale} defaultLocale={DEFAULT_LOCALE} messages={messages} > <IntlNextProvider key={locale} data-test-language={locale} locale={locale} defaultLocale={DEFAULT_LOCALE} messages={messages} > {children} </IntlNextProvider> </IntlProvider> ); ``` ## 1.3.0 ### Minor Changes - [#16411](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16411) [`9d4ca6e23da`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d4ca6e23da) - [ux] New create-dropdown-menu package for Create dropdown button ## 1.2.2 ### Patch Changes - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`a2f953f3814`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2f953f3814) - Previously the `ensure-design-token-usage` eslint rule contained all checks relating to token use. This has now been split up into two separate rules: `ensure-design-token-usage` now covers: - `legacyElevation` — warns about old usages of the elevation mixins or styles, which instead should use the `card` or `overlay` tokens. - `hardCodedColor` — warns about use of hard-coded colors such as `color: colors.B100`, which instead should be wrapped in a `token()` call. This covers the majority of cases in existing codebases when first adopting tokens. `no-unsafe-design-token-usage` (new) covers the remaining rules: - `directTokenUsage` — warns against using the CSS Custom Property name that is output in the browser by the `token()` call. Eg. directly using `var(--ds-accent-subtleBlue)` is bad. - `staticToken` — warns when tokens aren't used inline. Inlining the token usages helps with static analysis, which unlocks future improvements. Eg. pulling the token out into a const like `css={ color: token(primaryButtonText) }` is bad. - `invalidToken` — warns when using a token that doesn't exist (not one that's been renamed, see the next point). - `tokenRenamed` — warns when using a token that's been renamed in a subsequent release. - `tokenFallbackEnforced` — warns if a fallback for the token call is not provided. Eg. call with the fallback like this `token('color.background.disabled', N10)` instead of `token('color.background.disabled')`. - `tokenFallbackRestricted` — the opposite of `tokenFallbackEnforced`. Eg. do not pass in a fallback like this `token('color.background.disabled', N10)` and instead only include the token `token('color.background.disabled')`. Upgrading — some instances of `\\eslint-disable` may need to be changed to the new rule. If you have failing lint rules after only bumping this package then switch those ignores to use `no-unsafe-design-token-usage` instead. - [`22fb31312eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22fb31312eb) - Fixes unmounted component state update warnings for AtlassianNavigation - [`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 ## 1.2.1 ### Patch Changes - [#16287](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16287) [`bb54a699e54`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bb54a699e54) - [ux] Fixes a bug where a previously removed gradient positioned ::after primary actions was still rendered. Also fixes a bug where this gradient rendered incorrectly on Safari. ## 1.2.0 ### Minor Changes - [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777) [`c9986657899`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c9986657899) - Instrumented atlassian-navigation 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. ### Patch Changes - [`f791fab1bfa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f791fab1bfa) - Added missing `components` and `onBlur` props to the props type used by secondary actions. These were already available but were not documented. - Updated dependencies ## 1.1.3 ### Patch Changes - [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319) [`4f9dd11a8eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f9dd11a8eb) - Fixes a visual bug which made the logo appear twice under very rare circumstances - Updated dependencies ## 1.1.2 ### Patch Changes - [#14381](https://bitbucket.org/atlassian/atlass