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

Package detail

@atlaskit/atlassian-navigation

atlassian18.4kApache-2.05.5.3TypeScript support: included

A horizontal navigation component for Atlassian apps.

readme

Atlassian navigation

A horizontal navigation component for Atlassian products.

Installation

yarn add @atlaskit/atlassian-navigation

Usage

Detailed docs and example usage can be found here.

To add side navigation, use @atlaskit/side-navigation To control the layout of these navigation elements and add expand/collapse functionality to side-navigation, use @atlaskit/page-layout.

changelog

@atlaskit/atlassian-navigation

5.5.3

Patch Changes

  • Updated dependencies

5.5.2

Patch Changes

  • d14ea5f60b689 - chore: migrate platform UI & component libraries icon imports from migration paths to core
  • Updated dependencies

5.5.1

Patch Changes

  • a60a82196851a - Internal refactors to remove unused variables. No functional or public changes.
  • Updated dependencies

5.5.0

Minor Changes

  • 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 - [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 - Add explicit types to a number of DST components
  • Updated dependencies

5.3.19

Patch Changes

  • 39e543109ec09 - add type info to forwardRef components
  • Updated dependencies

5.3.18

Patch Changes

  • 248faa32d4835 - Internal changes to how borders are applied.
  • Updated dependencies

5.3.17

Patch Changes

  • f0662cd7a143e - Internal changes to how borders are applied.
  • Updated dependencies

5.3.16

Patch Changes

  • 74c2f420ee49b - Internal changes to how border radius is applied.
  • Updated dependencies

5.3.15

Patch Changes

  • 23bcc5bbc9cee - Internal changes to how border radius is applied.
  • Updated dependencies

5.3.14

Patch Changes

  • 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 - Internal changes to use tokens for border radius.
  • Updated dependencies

5.3.10

Patch Changes

  • 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 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 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 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

5.3.0

Minor Changes

  • #157071 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

Patch Changes

  • Updated dependencies

5.1.10

Patch Changes

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

5.1.5

Patch Changes

  • Updated dependencies

5.1.4

Patch Changes

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

5.0.3

Patch Changes

  • #127213 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

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

Patch Changes

  • Updated dependencies

4.10.4

Patch Changes

  • #104068 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 863b3f6a0adba - - Remove Appearance from app switcher prop
    • Update a few example usages
  • Updated dependencies

4.10.1

Patch Changes

4.10.0

Minor Changes

  • #178538 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

4.9.2

Patch Changes

4.9.1

Patch Changes

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

4.9.0

Minor Changes

  • #163994 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

4.7.6

Patch Changes

  • Updated dependencies

4.7.5

Patch Changes

  • 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

4.7.2

Patch Changes

  • Updated dependencies

4.7.1

Patch Changes

  • Updated dependencies

4.7.0

Minor Changes

4.6.0

Minor Changes

Patch Changes

  • Updated dependencies

4.5.2

Patch Changes

  • Updated dependencies

4.5.1

Patch Changes

  • Updated dependencies

4.5.0

Minor Changes

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

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

Patch Changes

  • Updated dependencies

4.4.1

Patch Changes

  • Updated dependencies

4.4.0

Minor Changes

4.3.2

Patch Changes

4.3.1

Patch Changes

  • Updated dependencies

4.3.0

Minor Changes

  • #120020 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 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

4.1.1

Patch Changes

  • Updated dependencies

4.1.0

Minor Changes

  • #111696 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 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

3.6.0

Minor Changes

3.5.0

Minor Changes

  • #94675 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

3.4.1

Patch Changes

  • #89713 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

3.3.6

Patch Changes

  • #88354 4c87d9b4f0c2 - The internal composition of this component has changed. There is no expected change in behavior.
  • Updated dependencies

3.3.5

Patch Changes

  • #83297 6b1707c169e0 - The internal composition of this component has changed. There is no expected change in behaviour.

3.3.4

Patch Changes

3.3.3

Patch Changes

3.3.2

Patch Changes

  • Updated dependencies

3.3.1

Patch Changes

3.3.0

Minor Changes

  • #80805 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 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

3.2.0

Minor Changes

  • #70040 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

3.1.0

Minor Changes

  • #65982 d36b4575ba4b - Accessibility changes: improving semantics for better readability for screen readers.

3.0.3

Patch Changes

3.0.2

Patch Changes

  • #61177 c8b7446ec45b - [ux] Removes opacity from dropdown chevrons to support better color contrast

3.0.1

Patch Changes

  • Updated dependencies

3.0.0

Major Changes

2.10.0

Minor Changes

2.9.2

Patch Changes

  • Updated dependencies

2.9.1

Patch Changes

  • Updated dependencies

2.9.0

Minor Changes

  • #41859 abe039bab59 - Including missing dropdown-menu dev dependency and introduce PrimarySplitButton (unsafe)

Patch Changes

  • Updated dependencies

2.8.0

Minor Changes

  • #40069 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 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 6900f89eb0e - Internal changes to use space tokens. There is no expected visual or behaviour change.

2.6.18

Patch Changes

  • #38181 11114bf2063 - [ux] Introduce new border of search input with 1px border and 2px on selected under feature flag

2.6.17

Patch Changes

2.6.16

Patch Changes

  • #37065 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

2.6.14

Patch Changes

2.6.13

Patch Changes

  • Updated dependencies

2.6.12

Patch Changes

  • Updated dependencies

2.6.11

Patch Changes

  • #35441 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 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 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 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 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 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 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

2.5.1

Patch Changes

2.5.0

Minor Changes

Patch Changes

  • Updated dependencies

2.4.1

Patch Changes

  • #32173 f7f852b0a4f - Migrated use of gridSize to space tokens where possible. There is no expected visual or behaviour change.

2.4.0

Minor Changes

  • #31299 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 718d5ad3044 - Updates to support the new @atlaskit/tokens theming API.
  • Updated dependencies

2.3.4

Patch Changes

  • #28090 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 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 fc570a62923 - [ux] Fixed a regression which could prevent items from collapsing.

2.2.9

Patch Changes

2.2.8

Patch Changes

  • #24632 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

2.2.6

Patch Changes

  • #23381 95c1a5e91d1 - Internal code change turning on new linting rules.
  • Updated dependencies

2.2.5

Patch Changes

2.2.4

Patch Changes

  • #22642 416570be6bf - Small update to styles to account for change in @atlaskit/logo.
  • Updated dependencies

2.2.3

Patch Changes

  • #21570 5b7962fbceb - Fix visual bug with selected state of navigation iconButtons
  • 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

2.2.1

Patch Changes

  • Updated dependencies

2.2.0

Minor Changes

  • #20721 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 3622df604ee - Fixes bug where navigation items cannot be added after intial render if the initial item array was empty

2.1.5

Patch Changes

2.1.4

Patch Changes

  • Updated dependencies

2.1.3

Patch Changes

  • #20174 5772d2d059c - update root babel config to correctly compile atlassian switcher

2.1.2

Patch Changes

  • #19618 ac9343c3ed4 - Replaces usage of deprecated design tokens. No visual or functional changes
  • 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 faee2b4ee52 - Rewrite dynamic styles to be static to aid compiled migration.
  • Updated dependencies

2.1.0

Minor Changes

  • #18526 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 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 9dd6250db15 - Updates token value for selected button text. Button text should now be "blue" when selected

2.0.1

Patch Changes

2.0.0

Major Changes

  • #14810 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

    "react-intl": "^2.6.0",
    "react-intl-next": "npm:react-intl@^5.18.1",
    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 9d4ca6e23da - [ux] New create-dropdown-menu package for Create dropdown button

1.2.2

Patch Changes

  • #15998 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 - Fixes unmounted component state update warnings for AtlassianNavigation

  • 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 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 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 - 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 4f9dd11a8eb - Fixes a visual bug which made the logo appear twice under very rare circumstances
  • Updated dependencies

1.1.2

Patch Changes

1.1.1

Patch Changes

  • #13965 1a68f990792 - ACT-2057 transition @atlaskit/atlassian-switcher-vanilla & @atlaskit/atlassian-switcher to private scope

1.1.0

Minor Changes

Patch Changes

  • 956eeeed790 - [ux] Styles for the product icon and logo have been slightly refactored.
  • 88a19402c24 - Updates to internal tests.
  • Updated dependencies

1.0.0

Major Changes

  • #10609 68c25f52345 - This 1.0.0 release denotes that the package API is now stable and is no longer in developer preview. There are NO API CHANGES in this release.

0.12.6

Patch Changes

  • Updated dependencies

0.12.5

Patch Changes

  • #6842 95771438ed - [ux] PrimaryItems will now overflow/resize correctly when the initial load screen size is narrower than the items it contains

0.12.4

Patch Changes

0.12.3

Patch Changes

  • #6228 cadfec2b52 - [ux] Introduced a new prop value in search field so that user can control it from outside and can change the value of search field.

0.12.2

Patch Changes

  • #5497 5f58283e1f - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started Also add typescript to devDependencies to denote version that the package was built with.

0.12.1

Patch Changes

  • #5344 9798ad1405 - Remove deep import paths of dependencies in TS declaration files
  • Updated dependencies

0.12.0

Minor Changes

  • #4749 ac92cbbca8 - Replaced WidthDetector with WidthObserver. We are doing this change because WidthDetector was causing some performance issue.

Patch Changes

  • Updated dependencies

0.11.5

Patch Changes

  • Updated dependencies

0.11.4

Patch Changes

  • #4547 9f54ca0cf1 - Adds maxwidth of 260px to logo in @atlaskit/atlassian-navigation and adds new prop logoMaxWidth to make maxWidth for logo user driven.

0.11.3

Patch Changes

  • #3885 6c525a8229 - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0

    Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade to prevent duplicates of tslib being bundled.

0.11.2

Patch Changes

  • #3823 6262f382de - Use the 'lodash' package instead of single-function 'lodash.*' packages
  • Updated dependencies

0.11.1

Patch Changes

  • #3428 2ae915c912 - Fixed incorrect create-button color issue when hex color shorthand notion is used

0.11.0

Minor Changes

Patch Changes

  • Updated dependencies

0.10.15

Patch Changes

  • #2763 2221a004ff - Fixed skeleton button not showing correct border color when selected
  • Updated dependencies

0.10.14

Patch Changes

  • Updated dependencies

0.10.13

Patch Changes

  • #3019 8783e413a8 - Export IconButton and IconButtonProps from atlassian-navigation

0.10.12

Patch Changes

  • #2996 73f23c649d - Fixed incorrect create-button color issue when hex color shorthand notion is used

0.10.11

Patch Changes

  • #2889 cc14956821 - Update all the theme imports to a path thats tree shakable

0.10.10

Patch Changes

  • #2751 739dc7c15c - Introduces shouldShowSearch prop on SkeletonNavigation to control search skeleton

0.10.9

Patch Changes

0.10.8

Patch Changes

  • #2430 649f69b6d7 - Patch all packages that are used by confluence that have a broken es2019 dist

0.10.7

Patch Changes

0.10.6

Patch Changes

  • #2152 ccdbfccfae - FIX: Double create buttons appear in all screens during lazy load

0.10.5

Patch Changes

  • Updated dependencies

0.10.4

Patch Changes

  • [patch]b788e3359a:

    Pass additional hover CSS to search

0.10.3

Patch Changes

  • [patch]4515d1bc47:

    Fix text color for selected item in custom theme

0.10.2

Patch Changes

  • [patch]37edda3e89:
    • Fixes isHighlighted styles for SkeletonPrimaryButton without a dropdown
    • Updates hover, active and focus styles for all the skeletons
    • Supports children prop for SkeletonPrimaryButton so it has the same API as PrimaryButton
    • Adds documentation for the new skeleton components

0.10.1

Patch Changes

  • [patch]42eb460a09:

    Adds lightweight non-interactive skeleton buttons which can be used in SSR mode.

    Updates isHighlighted styles to be according to the design spec

0.10.0

Minor Changes

  • [minor]6e2dda87f4:

    Breaking Change:

    • Search component::
      • Added a required label prop
      • Renamed text prop to placeholder for clarity
    • AtlassianNavigation:
      • Added a required label prop

    Accessibility Changes

    • Search now has a search landmark, further described by a label prop on the text field
    • AtlassianNavigation now has a navigation landmark for use with screen readers; this landmark is further described by the label prop to differentiate it from side-navigation
    • AtlassianNavigation is wrapped in a header component
    • BadgeContainer is now hidden from screen readers, as the notification button's label contains the number of unread notifications

Patch Changes

0.9.6

Patch Changes

0.9.5

Patch Changes

0.9.4

Patch Changes

0.9.3

Patch Changes

0.9.2

Patch Changes

  • [patch]6c8c859801:
    • Add openOverflowMenu and closeOverflowMenu to useOverflowStatus.
    • Add testIDs to the overflow menu and trigger.

0.9.1

Patch Changes

0.9.0

Minor Changes

  • [minor]24edf508bf:

    BREAKING CHANGE Removes _itemTheme from package. Replaces popup examples with @atlaskit/menu.

0.8.5

Patch Changes

0.8.4

Patch Changes

  • [patch]6c94b91976:

    Fixes avatar skeleton size.- [patch]64aefb016d:

    Fixes overflow menu popup placement.

0.8.3

Patch Changes

  • [patch]666ecab6c9:

    Improve styles for Atlassian Navigation when SSRd

0.8.2

Patch Changes

  • [patch]9af7977678:

    Fixing visual tweaks for top nav and menu spacing

0.8.1

Patch Changes

  • [patch]65e4e8a5ec:

    Removing left margin for ProductHome when there's no Switcher before it.

0.8.0

Minor Changes

  • [minor]df31cc4fb4:

    Changed the ProductHome theme to remove all the button styles. Instead us the PrimaryButton styles.

Patch Changes

0.7.1

Patch Changes

  • [patch]72ceb0c548:

    Fixes Skeleton for atlassian navigation, which had broken earlier due to the ProductHome re-write

0.7.0

Minor Changes

  • [minor]63b9f324df:

    Change the way ProductHome is rendered

0.6.7

Patch Changes

0.6.6

Patch Changes

  • [patch]c86f02bcb3:

    Added selected state to more menu

0.6.5

Patch Changes

  • [patch]e419c3c01f:

    Update color of skeleton in atlassian-navigation

0.6.4

Patch Changes

0.6.3

Patch Changes

  • [patch]8e8366be2c:

    Update IconButton types from string to React.ReactNode.

0.6.2

Patch Changes

  • [patch]02d05ff668:
    • Fix types for the tooltip prop to allow React components.
    • Introduce buttonTooltip and iconButtonTooltip to configure tooltip for create button.

0.6.1

Patch Changes

  • [patch]042a5d87ea:

    Reduced unnecessary deps for navigation, and added temp _itemTheme export to style dropdown-menu items

0.6.0

Minor Changes

  • [minor]355e7ca2ea:

    Breaking changes from previous version:

    • Rename siteName to siteTitle to match what it is called in the products
    • Rename isSelected prop to isHighlighted to avoid confusion with the CSS states of the button, which is also exposed as a prop to Button

    Other visual changes:

    • Primary buttons in the nav with dropdowns stay highlighted when the drop down is open.
    • Fix active state in FF
    • Gradients for Atlassian products works correctly

0.5.1

Patch Changes

  • [patch]5eb3d1fc75:

    Removed spinner from the notifications package (handled by the iframe content instead)

0.5.0

Minor Changes

  • [minor]48640192dc:

    Adds support for white nav. Repositions how the components are displayed. Changes to the theming API to support white nav. Add support for showing site name

0.4.9

0.4.8

Patch Changes

  • [patch]35d2229b2a:

    Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.

0.4.7

Patch Changes

  • [patch]a2d0043716:

    Updated version of analytics-next to fix potential incompatibilities with TS 3.6

0.4.6

Patch Changes

  • [patch]fcfd4db9c0:

    Fixing focus styles for IconButtons

0.4.5

Patch Changes

  • [patch]fda9024074:

    Add a fully instrumented example of atlassian-navigation using @atlaskit/analytics-next

0.4.4

Patch Changes

  • [patch]c24724add6:

    Update entry points and exports

0.4.3

Patch Changes

  • [patch]6a82fd06ab:

    Render tooltip only when supplied, and fix button focus background color

0.4.2

Patch Changes

0.4.1

Patch Changes

  • [patch]f7eb0a4886:

    Ensuring new horizontal nav allows for scrollbar width. Using 'vw' units prevents this.

0.4.0

Minor Changes

0.3.2

Patch Changes

  • [patch]9a59c6e93b:

    Fix badge and primary items container styles

0.3.1

Patch Changes

  • [patch]197aa4ed2c:

    Use context hooks in favour of emotion-theming

0.3.0

Minor Changes

0.2.2

Patch Changes

0.2.1

0.2.0

Minor Changes

0.1.3

0.1.2

Patch Changes

  • [patch]8e692b02f5:

    Add AppNavigationSkeleton as a named export.

0.1.1

Patch Changes

  • [patch]f0980913df:

    Add missing dependencies to package.json