Dropdown menu

A dropdown menu displays a list of actions or options to a user.

Neutral selected states

When the platform-dst-tokens-finesse feature flag is enabled, this component uses the new neutral treatment for selected states.

Motion in Early Access

Motion updates for this component are in Early Access and available behind the platform-dst-motion-uplift-popup feature flag.

18.3.2

Patch Changes

  • Updated dependencies

18.3.1

Patch Changes

  • a7ec100f7d560, (opens new window) - The top-layer code path now uses @atlaskit/top-layer's useAnchoredPopover, so these popovers are capped to the viewport and one too wide for the space beside its trigger moves to a roomier side rather than wrapping into it. No public API change. Behind the platform-dst-top-layer gate (platform-dst-top-layer-tooltip for @atlaskit/tooltip, platform-dst-top-layer-spotlight for @atlaskit/spotlight); legacy (flag-off) behaviour is unchanged.
  • Updated dependencies

18.3.0

Minor Changes

Patch Changes

  • Updated dependencies

18.2.2

Patch Changes

18.2.1

Patch Changes

18.2.0

Minor Changes

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

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

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

Patch Changes

  • Updated dependencies

18.1.0

Minor Changes

Patch Changes

  • Updated dependencies

18.0.5

Patch Changes

18.0.4

Patch Changes

18.0.3

Patch Changes

  • Updated dependencies

18.0.2

Patch Changes

  • 30d3abbf78178, (opens new window) - Fixed inappropriate aria-current on a DropdownItem when it is used as a nested submenu trigger. Previously an open submenu trigger rendered aria-current="true" (via ButtonItem's selected state), which is inaccurate for a popup trigger — its open state is already conveyed by aria-expanded. aria-current is now omitted for nested triggers, resolving misleading screen reader announcements (A11Y-29757).

    This change is behind the platform_dst_dropdown_nested_trigger_aria_current feature gate.

18.0.1

Patch Changes

  • Updated dependencies

18.0.0

Major Changes

  • f0bf5f838abd5, (opens new window) - Apply Volt entry-point and barrel-removal standards across these packages. Public exports now resolve directly to ./src/* implementations instead of intermediate ./src/entry-points/* re-exports.

    Migration

    Prefer published subpaths over the package root or internal entry-point paths:

    import Calendar from '@atlaskit/calendar/calendar'; import Drawer from '@atlaskit/drawer/drawer'; import { WidthObserver } from '@atlaskit/width-detector/width-observer'; import { DocumentViewer } from '@atlaskit/media-document-viewer/document-viewer';

    If you imported through internal entry-point modules, switch to the public subpath:

    -import Calendar from '@atlaskit/calendar/entry-points/calendar'; +import Calendar from '@atlaskit/calendar/calendar'; -import WidthObserver from '@atlaskit/width-detector/src/WidthObserver'; +import { WidthObserver } from '@atlaskit/width-detector/width-observer';

Patch Changes

  • Updated dependencies

17.2.4

Patch Changes

  • Updated dependencies

17.2.3

Patch Changes

  • Updated dependencies

17.2.2

Patch Changes

  • Updated dependencies

17.2.1

Patch Changes

  • Updated dependencies

17.2.0

Minor Changes

Patch Changes

  • Updated dependencies

17.1.7

Patch Changes

  • Updated dependencies

17.1.6

Patch Changes

  • Updated dependencies

17.1.5

Patch Changes

  • Updated dependencies

17.1.4

Patch Changes

  • Updated dependencies

17.1.3

Patch Changes

17.1.2

Patch Changes

  • Updated dependencies

17.1.1

Patch Changes

  • 820f00bd7db09, (opens new window) - Enable platform-dst-motion-uplift-button by default in constellation examples so button motion is previewed in component demos. Docs/examples-only; no change to shipped component behaviour.

17.1.0

Minor Changes

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

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

Patch Changes

  • Updated dependencies

17.0.1

Patch Changes

17.0.0

Major Changes

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

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

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

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

Patch Changes

  • Updated dependencies

16.10.6

Patch Changes

  • Updated dependencies

16.10.5

Patch Changes

  • Updated dependencies

16.10.4

Patch Changes

  • 6d0485dce81c4, (opens new window) - Internal: updated to the new @atlaskit/top-layer Popover/Dialog behaviour where the host element unmounts after the exit animation completes. No consumer action required.
  • Updated dependencies

16.10.3

Patch Changes

  • Updated dependencies

16.10.2

Patch Changes

16.10.1

Patch Changes

  • Updated dependencies

16.10.0

Minor Changes

  • f6ef9f1fc7454, (opens new window) - Add an optional close-event ignore predicate to popup and dropdown menu so consumers can treat external overlays as part of popup interactions.

Patch Changes

  • Updated dependencies

16.9.7

Patch Changes

  • Updated dependencies

16.9.6

Patch Changes

  • Updated dependencies

16.9.5

Patch Changes

  • Updated dependencies

16.9.4

Patch Changes

  • Updated dependencies

16.9.3

Patch Changes

  • Updated dependencies

16.9.2

Patch Changes

  • Updated dependencies

16.9.1

Patch Changes

  • Updated dependencies

16.9.0

Minor Changes

  • 43e486948865a, (opens new window) - When platform-dst-top-layer is enabled, the dropdown menu now uses the updated widthFromAnchor prop (with string values 'min-anchor' | 'none') on Popup.Content instead of the previous width prop, to control whether the dropdown matches the width of its trigger.

Patch Changes

  • Updated dependencies

16.8.12

Patch Changes

  • Updated dependencies

16.8.11

Patch Changes

  • 7250582895c0b, (opens new window) - Top-layer adoption work behind the platform-dst-top-layer feature flag. Public adopter APIs are intentionally kept narrow while the top-layer API surface settles, with one exception called out below.

    Highlights:

    • Pass the full [along, away] legacy popper offset through to the new top-layer placement.offset API (via fromLegacyPlacement). Previously only the away axis was forwarded, which dropped the along offset for consumers of Popup, PopupSelect, Spotlight, and Tooltip when platform-dst-top-layer is enabled.
    • Fix broken import of dialogHeight and dialogWidth from the removed utils module in @atlaskit/modal-dialog.

    Public API:

    • @atlaskit/tooltip (minor): add an optional testId?: string field to TriggerProps. This is additive (no existing prop changes shape). Required because @atlaskit/button/new (and other Pressable-backed primitives) overwrite data-testid from spread, so the legacy (triggerProps as any)['data-testid'] workaround is silently absorbed by those consumers. A typed testId field flows through their own testId destructure instead, restoring data-testid propagation onto the rendered trigger element.
    • @atlaskit/popup, @atlaskit/dropdown-menu (patch): no public type changes. Wider aria-haspopup unions that the FF-on path produces are bridged at the package boundary into @atlaskit/top-layer with localised FUDGE(top-layer-api) casts, documented in packages/design-system/top-layer/notes/decisions/migration-roadmap.md ("Open API decisions deferred to a follow-up PR"). They will be widened in a follow-up minor PR once the top-layer API is committed.
    • @atlaskit/modal-dialog, @atlaskit/select, @atlaskit/spotlight (patch/minor): no public type changes; bug fixes only.

    Merge-readiness fixes (FF-on test wiring + adopter behavior):

    • @atlaskit/popup (minor): wire the compositional PopupContent to delegate to PopupContentTopLayer when platform-dst-top-layer is enabled. Previously only the legacy Popup component had the FF branch, leaving consumers of the compositional API on the legacy popper path.
    • @atlaskit/select (minor): add an onClick handler to the PopupSelect top-layer trigger so clicks open/close the menu (mirrors the legacy global click handler in popup-select.tsx). Add explicit Escape handling on the menu's onKeyDown so the menu closes and focus returns to the trigger.
    • @atlaskit/top-layer (patch): the <dialog> rendered by the Dialog primitive now sets aria-modal="true" explicitly. Modern browsers infer modal semantics from .showModal() but some assistive tech still keys off the explicit attribute.
    • @atlaskit/top-layer (patch): guard use-anchor-positioning against environments where ResizeObserver is not defined (e.g. jest's node environment, used by the post-office test suite). The observer is used to wait for the popover's first valid layout before measuring; consumers in non-DOM jest environments now get a no-op observer and the scroll/resize listeners still apply if the host environment polyfills showPopover. Real browsers always have ResizeObserver.
    • @atlaskit/modal-dialog (patch): on the FF-on path, drop the tabIndex={-1} (and unused :focus-visible outline) from the modal content wrapper. The native <dialog>.showModal() focus-delegate algorithm picks the first focusable descendant (including tabindex=-1), and the wrapper was hijacking initial focus from the close button. Also honor shouldReturnFocus={ref} on the FF-on path (an unmount-cleanup focuses the ref after dialog.close() so it overrides the browser's automatic return-to-trigger). Boolean shouldReturnFocus={false} is not yet honored on the FF-on path — see top-layer/notes/merge-blockers.md.
    • @atlaskit/datetime-picker (patch): on the FF-on path, set mode="manual" on the Popup.Content rendered by both internal/menu-top-layer.tsx (date-picker calendar) and internal/fixed-layer-menu-top-layer.tsx (time-picker menu). With the default mode="auto", the same click event that opens the menu (which targets the react-select combobox input — outside the popover element) bubbles to the browser's native popover light-dismiss handler and immediately closes the menu. react-select / DateTimePicker already own outside-click and Esc dismissal via their own state, so opting out of the native auto-dismiss is the correct integration. Also extend the existing Esc → trigger-focus restoration in components/date-picker.tsx to the FF-on path (manual mode disables the browser's built-in focus return, and the legacy code path was already handling this for itself behind an FF negation).
    • @atlaskit/popup (no public API change): no source changes — only FF-on Playwright spec/example fixes drove the suite from 21/3/2 to 27/0/0. Notable: the two test.fixme'd nested-popover cases were not browser limitations; popover="auto" chains correctly via DOM ancestry (the original fixmes had the wrong testId selector). Added testId props to two examples (16-popup-with-a11y-props, 18-should-fit-container) so default-shape tests can reach the trigger.
    • Test alignment for FF-on Playwright suites across popup, select, datetime-picker, inline-dialog, inline-message, and modal-dialog: selector updates to match the new top-layer testId convention (${testId}--content, [role="dialog"][aria-label="calendar"]), per-spec skipAxeCheck() for example-level color-contrast violations unrelated to the migration, and focus assertions adjusted to match native <dialog> / Popup.Content auto-focus semantics (focus lands on the first focusable child, not the dialog container itself).
    • @atlassian/capacity-planning-capacity-graph, @atlaskit/color-picker, @atlassian/timeline-table, @atlassian/global-side-navigation (patch): scope fg mocks in unit tests so platform-dst-top-layer returns false. JSDOM does not implement the native Popover API (showPopover/hidePopover/toggle events), so leaving the gate ON in unit tests caused popover content to remain in the DOM after close and broke close-behaviour assertions. Browser coverage for the FF-on path is provided by the Playwright suites listed above.
    • @atlaskit/dropdown-menu (no public API change): test/example-only fixes for the FF-on Playwright suite. Added role="menuitem" to the nested-trigger ButtonItem in examples/93-testing-nested-keyboard-navigation-top-layer.tsx to satisfy axe's aria-required-children rule on the parent menu. Added a test.beforeEach(skipAxeCheck) to dropdown-menu.spec.tsx (FF-on suite) for example-level color-contrast violations on the pre-existing color.text.selected/color.background.selected token pair (3.91:1). Replaced a deadlocking await expect(moveItem).not.toBeFocused() pre-open assertion (Playwright's auto-wait blocks 5s on the absent element) with await expect(moveItem).not.toBeVisible(). Suite result: 22/22 passing.
  • Updated dependencies

16.8.10

Patch Changes

  • 1f9114700d351, (opens new window) - Moved new motion changes from platform-dst-motion-uplift feature gate to platform-dst-motion-uplift-popup

  • 2bed6255731de, (opens new window) - Top-layer adoption work behind the platform-dst-top-layer feature flag. Public adopter APIs are intentionally kept narrow while the top-layer API surface settles, with one exception called out below.

    Highlights:

    • Pass the full [along, away] legacy popper offset through to the new top-layer placement.offset API (via fromLegacyPlacement). Previously only the away axis was forwarded, which dropped the along offset for consumers of Popup, PopupSelect, Spotlight, and Tooltip when platform-dst-top-layer is enabled.
    • Fix broken import of dialogHeight and dialogWidth from the removed utils module in @atlaskit/modal-dialog.

    Public API:

    • @atlaskit/tooltip (minor): add an optional testId?: string field to TriggerProps. This is additive (no existing prop changes shape). Required because @atlaskit/button/new (and other Pressable-backed primitives) overwrite data-testid from spread, so the legacy (triggerProps as any)['data-testid'] workaround is silently absorbed by those consumers. A typed testId field flows through their own testId destructure instead, restoring data-testid propagation onto the rendered trigger element.
    • @atlaskit/popup, @atlaskit/dropdown-menu (patch): no public type changes. Wider aria-haspopup unions that the FF-on path produces are bridged at the package boundary into @atlaskit/top-layer with localised FUDGE(top-layer-api) casts, documented in packages/design-system/top-layer/notes/decisions/migration-roadmap.md ("Open API decisions deferred to a follow-up PR"). They will be widened in a follow-up minor PR once the top-layer API is committed.
    • @atlaskit/modal-dialog, @atlaskit/select, @atlaskit/spotlight (patch/minor): no public type changes; bug fixes only.

    Merge-readiness fixes (FF-on test wiring + adopter behavior):

    • @atlaskit/popup (minor): wire the compositional PopupContent to delegate to PopupContentTopLayer when platform-dst-top-layer is enabled. Previously only the legacy Popup component had the FF branch, leaving consumers of the compositional API on the legacy popper path.
    • @atlaskit/select (minor): add an onClick handler to the PopupSelect top-layer trigger so clicks open/close the menu (mirrors the legacy global click handler in popup-select.tsx). Add explicit Escape handling on the menu's onKeyDown so the menu closes and focus returns to the trigger.
    • @atlaskit/top-layer (patch): the <dialog> rendered by the Dialog primitive now sets aria-modal="true" explicitly. Modern browsers infer modal semantics from .showModal() but some assistive tech still keys off the explicit attribute.
    • @atlaskit/top-layer (patch): guard use-anchor-positioning against environments where ResizeObserver is not defined (e.g. jest's node environment, used by the post-office test suite). The observer is used to wait for the popover's first valid layout before measuring; consumers in non-DOM jest environments now get a no-op observer and the scroll/resize listeners still apply if the host environment polyfills showPopover. Real browsers always have ResizeObserver.
    • @atlaskit/modal-dialog (patch): on the FF-on path, drop the tabIndex={-1} (and unused :focus-visible outline) from the modal content wrapper. The native <dialog>.showModal() focus-delegate algorithm picks the first focusable descendant (including tabindex=-1), and the wrapper was hijacking initial focus from the close button. Also honor shouldReturnFocus={ref} on the FF-on path (an unmount-cleanup focuses the ref after dialog.close() so it overrides the browser's automatic return-to-trigger). Boolean shouldReturnFocus={false} is not yet honored on the FF-on path — see top-layer/notes/merge-blockers.md.
    • @atlaskit/datetime-picker (patch): on the FF-on path, set mode="manual" on the Popup.Content rendered by both internal/menu-top-layer.tsx (date-picker calendar) and internal/fixed-layer-menu-top-layer.tsx (time-picker menu). With the default mode="auto", the same click event that opens the menu (which targets the react-select combobox input — outside the popover element) bubbles to the browser's native popover light-dismiss handler and immediately closes the menu. react-select / DateTimePicker already own outside-click and Esc dismissal via their own state, so opting out of the native auto-dismiss is the correct integration. Also extend the existing Esc → trigger-focus restoration in components/date-picker.tsx to the FF-on path (manual mode disables the browser's built-in focus return, and the legacy code path was already handling this for itself behind an FF negation).
    • @atlaskit/popup (no public API change): no source changes — only FF-on Playwright spec/example fixes drove the suite from 21/3/2 to 27/0/0. Notable: the two test.fixme'd nested-popover cases were not browser limitations; popover="auto" chains correctly via DOM ancestry (the original fixmes had the wrong testId selector). Added testId props to two examples (16-popup-with-a11y-props, 18-should-fit-container) so default-shape tests can reach the trigger.
    • Test alignment for FF-on Playwright suites across popup, select, datetime-picker, inline-dialog, inline-message, and modal-dialog: selector updates to match the new top-layer testId convention (${testId}--content, [role="dialog"][aria-label="calendar"]), per-spec skipAxeCheck() for example-level color-contrast violations unrelated to the migration, and focus assertions adjusted to match native <dialog> / Popup.Content auto-focus semantics (focus lands on the first focusable child, not the dialog container itself).
    • @atlassian/capacity-planning-capacity-graph, @atlaskit/color-picker, @atlassian/timeline-table, @atlassian/global-side-navigation (patch): scope fg mocks in unit tests so platform-dst-top-layer returns false. JSDOM does not implement the native Popover API (showPopover/hidePopover/toggle events), so leaving the gate ON in unit tests caused popover content to remain in the DOM after close and broke close-behaviour assertions. Browser coverage for the FF-on path is provided by the Playwright suites listed above.
    • @atlaskit/dropdown-menu (no public API change): test/example-only fixes for the FF-on Playwright suite. Added role="menuitem" to the nested-trigger ButtonItem in examples/93-testing-nested-keyboard-navigation-top-layer.tsx to satisfy axe's aria-required-children rule on the parent menu. Added a test.beforeEach(skipAxeCheck) to dropdown-menu.spec.tsx (FF-on suite) for example-level color-contrast violations on the pre-existing color.text.selected/color.background.selected token pair (3.91:1). Replaced a deadlocking await expect(moveItem).not.toBeFocused() pre-open assertion (Playwright's auto-wait blocks 5s on the absent element) with await expect(moveItem).not.toBeVisible(). Suite result: 22/22 passing.
  • Updated dependencies

16.8.9

Patch Changes

  • Updated dependencies

16.8.8

Patch Changes

  • Updated dependencies

16.8.7

Patch Changes

  • Updated dependencies

16.8.6

Patch Changes

16.8.5

Patch Changes

16.8.4

Patch Changes

  • Updated dependencies

16.8.3

Patch Changes

16.8.2

Patch Changes

16.8.1

Patch Changes

16.8.0

Minor Changes

Patch Changes

  • Updated dependencies

16.7.2

Patch Changes

16.7.1

Patch Changes

  • Updated dependencies

16.7.0

Minor Changes

Patch Changes

  • Updated dependencies

16.6.1

Patch Changes

  • Updated dependencies

16.6.0

Minor Changes

Patch Changes

  • Updated dependencies

16.5.2

Patch Changes

  • 2c4cac9c7d714, (opens new window) - Removed inappropriate aria-current attribute from DropdownItemRadio. The aria-checked attribute already provides the correct semantics for radio-style menu items.

16.5.1

Patch Changes

  • Updated dependencies

16.5.0

Minor Changes

Patch Changes

  • Updated dependencies

16.4.7

Patch Changes

  • Updated dependencies

16.4.6

Patch Changes

  • Updated dependencies

16.4.5

Patch Changes

16.4.4

Patch Changes

  • Updated dependencies

16.4.3

Patch Changes

  • Updated dependencies

16.4.2

Patch Changes

  • Updated dependencies

16.4.1

Patch Changes

16.4.0

Minor Changes

16.3.27

Patch Changes

  • Updated dependencies

16.3.26

Patch Changes

16.3.25

Patch Changes

16.3.24

Patch Changes

  • Updated dependencies

16.3.23

Patch Changes

16.3.22

Patch Changes

16.3.21

Patch Changes

  • Updated dependencies

16.3.20

Patch Changes

  • Updated dependencies

16.3.19

Patch Changes

  • Updated dependencies

16.3.18

Patch Changes

  • Updated dependencies

16.3.17

Patch Changes

  • Updated dependencies

16.3.16

Patch Changes

16.3.15

Patch Changes

  • Updated dependencies

16.3.14

Patch Changes

  • Updated dependencies

16.3.13

Patch Changes

16.3.12

Patch Changes

16.3.11

Patch Changes

  • Updated dependencies

16.3.10

Patch Changes

  • Updated dependencies

16.3.9

Patch Changes

  • Updated dependencies

16.3.8

Patch Changes

16.3.7

Patch Changes

16.3.6

Patch Changes

16.3.5

Patch Changes

  • Updated dependencies

16.3.4

Patch Changes

  • Updated dependencies

16.3.3

Patch Changes

  • Updated dependencies

16.3.2

Patch Changes

  • Updated dependencies

16.3.1

Patch Changes

  • Updated dependencies

16.3.0

Minor Changes

Patch Changes

  • Updated dependencies

16.2.1

Patch Changes

16.2.0

Minor Changes

16.1.4

Patch Changes

  • Updated dependencies

16.1.3

Patch Changes

  • Updated dependencies

16.1.2

Patch Changes

16.1.1

Patch Changes

  • Updated dependencies

16.1.0

Minor Changes

16.0.7

Patch Changes

  • Updated dependencies

16.0.6

Patch Changes

16.0.5

Patch Changes

16.0.4

Patch Changes

  • Updated dependencies

16.0.3

Patch Changes

  • Updated dependencies

16.0.2

Patch Changes

16.0.1

Patch Changes

16.0.0

Major Changes

Patch Changes

  • Updated dependencies

15.2.1

Patch Changes

  • Updated dependencies

15.2.0

Minor Changes

Patch Changes

  • Updated dependencies

15.1.0

Minor Changes

Patch Changes

  • Updated dependencies

15.0.1

Patch Changes

  • Updated dependencies

15.0.0

Major Changes

Patch Changes

  • Updated dependencies

14.2.0

Minor Changes

Patch Changes

  • Updated dependencies

14.1.4

Patch Changes

  • Updated dependencies

14.1.3

Patch Changes

  • #148964, (opens new window) a07dc3da50fa9, (opens new window) - "We are testing keyboard focus improvement behind a feature flag. This change does not force focus to return to the Dropdown trigger if another interactive element is clicked outside of the menu. If this fix is successful it will be available in a later release."
  • Updated dependencies

14.1.2

Patch Changes

  • Updated dependencies

14.1.1

Patch Changes

  • Updated dependencies

14.1.0

Minor Changes

Patch Changes

  • Updated dependencies

14.0.3

Patch Changes

14.0.2

Patch Changes

  • Updated dependencies

14.0.1

Patch Changes

  • Updated dependencies

14.0.0

Major Changes

  • #134856, (opens new window) 948a950e395ad, (opens new window) - The onOpenChange prop type has been updated, to make the event parameter nullable. This property is for the corresponding event that led to the callback being called.

    This is to support programatically closing the dropdown menu.

    We are also adding the native Event type in the type union, to better align with the underlying Popup component that DropdownMenu is built on top of.

    Previously, the type of onOpenChange was:

    onOpenChange?: (args: { isOpen: boolean; event: React.MouseEvent | React.KeyboardEvent; }) => void;

    It is now:

    onOpenChange?: (args: { isOpen: boolean; event: Event | React.MouseEvent | React.KeyboardEvent | null; }) => void;

    When the dropdown is closed programatically, the event parameter will be null.

Patch Changes

  • Updated dependencies

13.1.0

Minor Changes

13.0.6

Patch Changes

  • Updated dependencies

13.0.5

Patch Changes

  • Updated dependencies

13.0.4

Patch Changes

  • Updated dependencies

13.0.3

Patch Changes

13.0.2

Patch Changes

13.0.1

Patch Changes

  • Updated dependencies

13.0.0

Major Changes

Patch Changes

  • Updated dependencies

12.26.5

Patch Changes

12.26.4

Patch Changes

  • Updated dependencies

12.26.3

Patch Changes

12.26.2

Patch Changes

  • Updated dependencies

12.26.1

Patch Changes

  • Updated dependencies

12.26.0

Minor Changes

Patch Changes

  • Updated dependencies

12.25.2

Patch Changes

12.25.1

Patch Changes

  • Updated dependencies

12.25.0

Minor Changes

Patch Changes

  • Updated dependencies

12.24.1

Patch Changes

  • Updated dependencies

12.24.0

Minor Changes

12.23.4

Patch Changes

12.23.3

Patch Changes

12.23.2

Patch Changes

  • Updated dependencies

12.23.1

Patch Changes

  • Updated dependencies

12.23.0

Minor Changes

Patch Changes

  • Updated dependencies

12.22.3

Patch Changes

12.22.2

Patch Changes

  • Updated dependencies

12.22.1

Patch Changes

12.22.0

Minor Changes

  • cfef14b7ec2bc, (opens new window) - Update Dropdown Menu internals so that menuItemRefs are always stored in order. In the case of a DropDownItem with async content then the ref may only be populated once the content has loaded.

Patch Changes

  • Updated dependencies

12.21.1

Patch Changes

12.21.0

Minor Changes

Patch Changes

  • Updated dependencies

12.20.4

Patch Changes

  • Updated dependencies

12.20.3

Patch Changes

  • Updated dependencies

12.20.2

Patch Changes

12.20.1

Patch Changes

  • Updated dependencies

12.20.0

Minor Changes

  • #151581, (opens new window) ce972f75db165, (opens new window) - ## New Feature: Configurable Popper Strategy

    Feature Overview: The @atlaskit/dropdown-menu component now includes a new strategy prop, providing developers with the ability to customize the positioning strategy of dropdowns. This enhancement offers more control over how dropdown menus are rendered and positioned, accommodating various layout needs.

    Usage: The strategy prop can be set to either 'absolute' or 'fixed', with the default being 'fixed'.

    • 'fixed': Positions the dropdown relative to the browser's viewport. This ensures that the dropdown remains in the same position regardless of page scrolling, making it ideal for dropdowns that need to maintain a consistent position on the screen.

    • 'absolute': Positions the dropdown relative to its closest positioned ancestor, which allows the dropdown to move with the content as the page is scrolled or resized. This is useful in scenarios where the dropdown should remain contextually attached to an element within a scrollable area.

    Example Usage:

    import DropdownMenu from '@atlaskit/dropdown-menu'; const MyDropdown = () => ( <DropdownMenu trigger="Options" strategy="absolute" // Options are 'absolute' or 'fixed' > <DropdownMenu.Item>First option</DropdownMenu.Item> <DropdownMenu.Item>Second option</DropdownMenu.Item> </DropdownMenu> );

    Important Considerations:

    • When using the shouldFitContainer prop, the strategy cannot be set to 'fixed'. In such cases, the dropdown defaults to the 'absolute' strategy to ensure proper rendering within the container.
    • The strategy prop provides additional flexibility, especially in complex layouts where precise control over dropdown positioning is required. It allows the dropdown to adapt based on the surrounding context or constraints, enhancing the component's versatility.
    • This feature addresses the need for more adaptable positioning strategies, allowing for better integration into varied UI designs and improving user experience by maintaining dropdown visibility and accessibility.

12.19.0

Minor Changes

12.18.7

Patch Changes

  • Updated dependencies

12.18.6

Patch Changes

12.18.5

Patch Changes

12.18.4

Patch Changes

  • Updated dependencies

12.18.3

Patch Changes

  • Updated dependencies

12.18.2

Patch Changes

  • #139091, (opens new window) 142645f92833a, (opens new window) - Fix a bug that caused the launch button to lose the ability to focus after closing a popup window by pressing the Tab key that opened from a dropdown menu. This problem was reproduced only when the platform_dst_popup-disable-focuslock feature flag was enabled.

12.18.1

Patch Changes

12.18.0

Minor Changes

12.17.3

Patch Changes

12.17.2

Patch Changes

  • Updated dependencies

12.17.1

Patch Changes

  • Updated dependencies

12.17.0

Minor Changes

  • #127511, (opens new window) db30e29344013, (opens new window) - 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

12.16.1

Patch Changes

  • Updated dependencies

12.16.0

Minor Changes

Patch Changes

  • Updated dependencies

12.15.0

Minor Changes

Patch Changes

  • Updated dependencies

12.14.2

Patch Changes

  • Updated dependencies

12.14.1

Patch Changes

  • Updated dependencies

12.14.0

Minor Changes

12.13.4

Patch Changes

  • Updated dependencies

12.13.3

Patch Changes

12.13.2

Patch Changes

  • Updated dependencies

12.13.1

Patch Changes

  • Updated dependencies

12.13.0

Minor Changes

Patch Changes

  • Updated dependencies

12.12.0

Minor Changes

12.11.1

Patch Changes

  • Updated dependencies

12.11.0

Minor Changes

Patch Changes

  • Updated dependencies

12.10.2

Patch Changes

12.10.1

Patch Changes

  • Updated dependencies

12.10.0

Minor Changes

Patch Changes

  • Updated dependencies

12.9.3

Patch Changes

  • Updated dependencies

12.9.2

Patch Changes

12.9.1

Patch Changes

12.9.0

Minor Changes

Patch Changes

  • Updated dependencies

12.8.5

Patch Changes

12.8.4

Patch Changes

12.8.3

Patch Changes

  • Updated dependencies

12.8.2

Patch Changes

12.8.1

Patch Changes

12.8.0

Minor Changes

Patch Changes

  • Updated dependencies

12.7.0

Minor Changes

12.6.1

Patch Changes

  • Updated dependencies

12.6.0

Minor Changes

Patch Changes

  • Updated dependencies

12.5.3

Patch Changes

  • Updated dependencies

12.5.2

Patch Changes

12.5.1

Patch Changes

12.5.0

Minor Changes

12.4.0

Minor Changes

Patch Changes

  • Updated dependencies

12.3.0

Minor Changes

  • #70040, (opens new window) d18ec4d7ce20, (opens new window) - [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

12.2.0

Minor Changes

Patch Changes

  • Updated dependencies

12.1.10

Patch Changes

  • Updated dependencies

12.1.9

Patch Changes

12.1.8

Patch Changes

12.1.7

Patch Changes

  • Updated dependencies

12.1.6

Patch Changes

  • Updated dependencies

12.1.5

Patch Changes

12.1.4

Patch Changes

12.1.3

Patch Changes

12.1.2

Patch Changes

12.1.1

Patch Changes

12.1.0

Minor Changes

  • Warning: This version is deprecated due to breaking behavioural change from removal of spread props in 11.14.5. Please upgrade to version 12.1.2 or later

  • #41586, (opens new window) ef0466f92d9, (opens new window) - We are removing previously added feature flag and unsafe entry point usage of the new Button inside DropdownMenu.

12.0.0

Major Changes

  • Warning: This version is deprecated due to breaking behavioural change from removal of spread props in 11.14.5. Please upgrade to version 12.1.2 or later

  • #41355, (opens new window) cd1c813da18, (opens new window) - Menu items now have a secondary selected state (border or notch), this was previously feature flagged for Atlassian experiences and is now available for everyone.

    This change makes all menu items are now relatively positioned, if you had any child elements that leaned on this behaviour your experiences will now be broken!

    For example the below code code previously the div would be positioned relatively to the menu group element. Now, it is positioned relatively to the button item element.

    <MenuGroup> <ButtonItem> <div style={{ position: 'absolute', top: '100%' }} /> </ButtonItem> </MenuGroup>

    As a path forward you should not be leaning on this behaviour. If you need a popup experience use @atlaskit/dropdown-menu or @atlaskit/popup.

Patch Changes

  • Updated dependencies

11.14.5

Patch Changes

11.14.4

Patch Changes

11.14.3

Patch Changes

11.14.2

Patch Changes

11.14.1

Patch Changes

11.14.0

Minor Changes

Patch Changes

  • Updated dependencies

11.13.0

Minor Changes

11.12.0

Minor Changes

11.11.6

Patch Changes

11.11.5

Patch Changes

11.11.4

Patch Changes

11.11.3

Patch Changes

11.11.2

Patch Changes

11.11.1

Patch Changes

11.11.0

Minor Changes

Patch Changes

  • Updated dependencies

11.10.7

Patch Changes

11.10.6

Patch Changes

11.10.5

Patch Changes

11.10.4

Patch Changes

  • Updated dependencies

11.10.3

Patch Changes

  • Updated dependencies

11.10.2

Patch Changes

  • Updated dependencies

11.10.1

Patch Changes

11.10.0

Minor Changes

Patch Changes

  • Updated dependencies

11.9.5

Patch Changes

11.9.4

Patch Changes

11.9.3

Patch Changes

11.9.2

Patch Changes

11.9.1

Patch Changes

11.9.0

Minor Changes

Patch Changes

  • Updated dependencies

11.8.1

Patch Changes

11.8.0

Minor Changes

Patch Changes

  • Updated dependencies

11.7.3

Patch Changes

11.7.2

Patch Changes

11.7.1

Patch Changes

11.7.0

Minor Changes

Patch Changes

  • Updated dependencies

11.6.1

Patch Changes

11.6.0

Minor Changes

Patch Changes

  • Updated dependencies

11.5.12

Patch Changes

11.5.11

Patch Changes

11.5.10

Patch Changes

11.5.9

Patch Changes

11.5.8

Patch Changes

  • Updated dependencies

11.5.7

Patch Changes

  • Updated dependencies

11.5.6

Patch Changes

11.5.5

Patch Changes

  • Updated dependencies

11.5.4

Patch Changes

11.5.4

Patch Changes

11.5.3

Patch Changes

11.5.2

Patch Changes

11.5.1

Patch Changes

11.5.0

Minor Changes

11.4.0

Minor Changes

Patch Changes

  • Updated dependencies

11.3.2

Patch Changes

11.3.1

Patch Changes

11.3.0

Minor Changes

Patch Changes

  • Updated dependencies

11.2.2

Patch Changes

11.2.1

Patch Changes

11.2.0

Minor Changes

Patch Changes

11.1.5

Patch Changes

  • Updated dependencies

11.1.4

Patch Changes

11.1.3

Patch Changes

  • Updated dependencies

11.1.2

Patch Changes

  • Updated dependencies

11.1.1

Patch Changes

11.1.0

Minor Changes

Patch Changes

11.0.3

Patch Changes

11.0.2

Patch Changes

  • Updated dependencies

11.0.1

Patch Changes

11.0.0

Major Changes

  • #15998, (opens new window) d65d8a545af, (opens new window) - [ux] In this version, we have significantly reduced the bundle size, improved the runtime performance and simplified the API for dropdown menu. We've also removed deprecated dependencies, which bring consistency to the spacing and padding of dropdown menu items, which may require updating VR snapshots. We've also provided codemods to help you upgrade to the latest API.

    Running the codemod cli

    To run the codemod: You first need to have the latest version installed

    yarn upgrade @atlaskit/dropdown-menu@^11.0.0

    Once upgraded, use @atlaskit/codemod-cli:

    npx @atlaskit/codemod-cli --parser {tsx|babylon} --extensions ts,tsx,js [relativePath]

    The CLI will show a list of components and versions so select @atlaskit/dropdown-menu@11.0.0 and you will automatically be upgraded. If your usage of @atlaskit/modal-dialog cannot be upgraded a comment will be left that a manual change is required.

    Run npx @atlaskit/codemod-cli -h for more details on usage. For Atlassians, refer to the documentation for more details on the codemod CLI.

    Behaviour changes

    • Portaling – The dropdown menu is now rendered in a React Portal and is appended at the bottom of the <body>. In most cases, this shouldn't make much of a difference. But if you have any tests that assert on DOM/React tree like snapshot tests, those will need to be updated.

    • Focus lock – As the menu is not rendered next to the trigger, the focus is trapped within the menu when the menu is open.

    • Layering – Another sideeffect of poratling the menu is that it is now part of the global stacking context, rather than a local stacking context. We've provided a new zIndex prop incase the layering is off.

    • Title and description wrapping behaviour – Menu items which have a long title and description now wrap into multiple line by default, instead of cutting it off and showing ellipsis. You can override the default behaviour by setting shouldTitleWrap and shouldDescriptionWrap to false.

    Visual changes

    • Menu item padding – Dropdown menu items have 16px more padding horizontally.
    • Removed elemAfter in group title – Icon after the group title has been removed.

    API Changes

    Dropdown menu items no longer @atlaskit/item as the underlying component, they use @atlaskit/menu instead. This mean that some of the props that used to be spread over an Item are no longer supported. In addition to that, the following API changes have been made:

    • shouldFitContainer – Deprecated. This prop has been deprecated and the codemod will remove it.
    • shouldAllowMultiline – This prop has been split up into two: shouldTitleWrap and shouldDescriptionWrap. The codemod replaces its occurance with the two new ones.
    • onItemActivated – The prop has been deprecated and the codemod will remove it. Use onClick instead.
    • onPositionEnd – The prop has been deprecated and the codemod will remove it. Use onOpenChange instead.
    • boundariesElement – The prop has been deprecated and the codemod will remove it. It is not relevant anymore as the Menu is portaled.
    • isMenuFixed – The prop has been deprecated and the codemod will remove it. It is not relevant anymore as the Menu is portaled.
    • position – The placement values are now consistent with Popup. They have a 1:1 mapping with the old values. The codemod maps the old values to the new.
    • zIndex – The zIndex prop will need to be applied as an escape hatch in case the menu runs into any layering clashes with other elements on the screen.
    • items – This prop has been deprecated because it is poor bad for performance. Pass MenuItems as children instead. The codemod removes the item prop. You’ll need to manually change it to children.
    • trigger, triggerProps and triggerType – This API has been simplified the most. triggerType and triggerProps have been deprecated. trigger now accepts either a string or custom react element. If a string is passed, it is rendered as an @atlaskit/button. If a react component is passed, it is used as a trigger. Make sure to spread the provided props onto the component, they are used to position the component and provide accessibility attributes. The codemod handles the simplest case where the the triggerType is a string. For every other case, the codemod leaves a comment. Look at the section below on how it can be fixed in most cases.
    • isCompact on MenuItem – The prop has been deprecated and the codemod will remove it.
    • isHidden on MenuItem – The prop has been deprecated and the codemod will remove it.
    • autoFocus on MenuItem – The prop has been deprecated and the codemod will remove it. Focus is directly applied to the first menu item.

    Entrypoint changes

    • DropdownMenuStateless – DropdownMenuStateless has been deprecated. The default export DropdownMenu handles both stateless and stateful logic. The API for DropdownMenuStateless has been retained and works as expected with DropdownMenu.The codemod converts the named import into a default import.
    • DropdownItemGroupCheckbox – Renamed to DropdownItemCheckboxGroup. Codemod updates the import declaration.
    • DropdownItemGroupRadio – Renamed to DropdownItemRadioGroup. Codemod updates the import declaration.

    Updating the trigger prop

    Before

    const DropdownMenuCustomTriggerButtonExample = () => { return ( <DropdownMenu triggerButtonProps={{ iconBefore: <MoreIcon label="more" /> }} triggerType="button" trigger="Click to open" > <DropdownItemGroup> <DropdownItem>Edit</DropdownItem> <DropdownItem>Share</DropdownItem> <DropdownItem>Move</DropdownItem> <DropdownItem>Clone</DropdownItem> <DropdownItem>Delete</DropdownItem> <DropdownItem>Report</DropdownItem> </DropdownItemGroup> </DropdownMenu> ); };

    After

    const DropdownMenuCustomTriggerButtonExample = () => { return ( <DropdownMenu trigger={({ triggerRef, ...props }) => ( // 1. use `@atlaskit/button` or any other custom component <Button // 2. Spread the provided props {...props} // 3. Apply `triggerButtonProps` directly to button iconBefore={<MoreIcon label="more" />} // 4. Make sure to pass the ref ref={triggerRef} > // 5. Move trigger label to be children Click to open </Button> )} > <DropdownItemGroup> <DropdownItem>Edit</DropdownItem> <DropdownItem>Share</DropdownItem> <DropdownItem>Move</DropdownItem> <DropdownItem>Clone</DropdownItem> <DropdownItem>Delete</DropdownItem> <DropdownItem>Report</DropdownItem> </DropdownItemGroup> </DropdownMenu> ); };

Minor Changes

Patch Changes

10.1.9

Patch Changes

  • Updated dependencies

10.1.8

Patch Changes

  • Updated dependencies

10.1.7

Patch Changes

10.1.6

Patch Changes

10.1.5

Patch Changes

10.1.4

Patch Changes

10.1.3

Patch Changes

10.1.2

Patch Changes

10.1.1

Patch Changes

10.1.0

Minor Changes

Patch Changes

  • Updated dependencies

10.0.6

Patch Changes

10.0.5

Patch Changes

  • Updated dependencies

10.0.4

Patch Changes

10.0.3

Patch Changes

10.0.2

Patch Changes

10.0.1

Patch Changes

10.0.0

Major Changes

Patch Changes

  • Updated dependencies

9.0.6

Patch Changes

9.0.5

Patch Changes

9.0.4

Patch Changes

  • Updated dependencies

9.0.3

Patch Changes

9.0.2

Patch Changes

9.0.1

Patch Changes

  • Updated dependencies e3f01787dd, (opens new window):
    • @atlaskit/webdriver-runner@0.2.0
    • @atlaskit/avatar@17.1.8
    • @atlaskit/button@13.3.8
    • @atlaskit/droplist@10.0.2
    • @atlaskit/lozenge@9.1.5
    • @atlaskit/tooltip@15.2.4

9.0.0

Major Changes

  • [major]9e87af4685, (opens new window):

    @atlaskit/dropdown-menu has been converted to TypeScript to provide static typing. Flow types are no longer provided. No API or behavioral changes.

Patch Changes

8.2.4

Patch Changes

  • [patch]6548261c9a, (opens new window):

    Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies 6548261c9a, (opens new window):

    • @atlaskit/docs@8.3.2
    • @atlaskit/analytics-next@6.3.5
    • @atlaskit/avatar@17.1.7
    • @atlaskit/button@13.3.7
    • @atlaskit/droplist@10.0.1
    • @atlaskit/icon@20.0.1
    • @atlaskit/item@11.0.1
    • @atlaskit/lozenge@9.1.4
    • @atlaskit/theme@9.5.1
    • @atlaskit/tooltip@15.2.3

8.2.3

Patch Changes

8.2.2

Patch Changes

8.2.1

Patch Changes

8.2.0

Minor Changes

  • [minor]0e2241e904, (opens new window):

    Adding an optional prop testId that will set the attribute value data-testid. It will help products to write better integration and end to end tests.

8.1.4

Patch Changes

8.1.3

8.1.2

Patch Changes

8.1.1

8.1.0

Minor Changes

8.0.17

Patch Changes

  • [patch]097b696613, (opens new window):

    Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports

8.0.16

Patch Changes

8.0.15

Patch Changes

8.0.14

Patch Changes

8.0.13

  • Updated dependencies 926b43142b, (opens new window):
    • @atlaskit/droplist@9.0.13
    • @atlaskit/analytics-next@6.0.0
    • @atlaskit/avatar@16.0.10
    • @atlaskit/button@13.1.2
    • @atlaskit/tooltip@15.0.9

8.0.12

Patch Changes

  • [patch]d905cbc0ac, (opens new window):

    Adding a condition to check if the component are referenced in tests running in CI. It reduces the noise and help reading the CI log.

8.0.11

Patch Changes

8.0.10

Patch Changes

8.0.9

8.0.8

  • Updated dependencies 06326ef3f7, (opens new window):
    • @atlaskit/docs@8.1.3
    • @atlaskit/avatar@16.0.6
    • @atlaskit/button@13.0.9
    • @atlaskit/droplist@9.0.8
    • @atlaskit/item@10.0.5
    • @atlaskit/tooltip@15.0.2
    • @atlaskit/icon@19.0.0

8.0.7

Patch Changes

8.0.6

Patch Changes

8.0.5

  • Updated dependencies 67f06f58dd, (opens new window):
    • @atlaskit/avatar@16.0.4
    • @atlaskit/droplist@9.0.5
    • @atlaskit/icon@18.0.1
    • @atlaskit/item@10.0.3
    • @atlaskit/tooltip@15.0.0

8.0.4

  • Updated dependencies cfc3c8adb3, (opens new window):
    • @atlaskit/docs@8.1.2
    • @atlaskit/avatar@16.0.3
    • @atlaskit/button@13.0.8
    • @atlaskit/droplist@9.0.4
    • @atlaskit/item@10.0.2
    • @atlaskit/tooltip@14.0.3
    • @atlaskit/icon@18.0.0

8.0.3

8.0.2

8.0.1

8.0.0

  • [major]7c17b35107, (opens new window):
    • Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use this package, please ensure you use at least this version of react and react-dom.

7.0.7

7.0.6

  • Updated dependencies 9c0b4744be, (opens new window):
    • @atlaskit/docs@7.0.3
    • @atlaskit/avatar@15.0.4
    • @atlaskit/button@12.0.3
    • @atlaskit/droplist@8.0.5
    • @atlaskit/icon@16.0.9
    • @atlaskit/item@9.0.1
    • @atlaskit/lozenge@7.0.2
    • @atlaskit/tooltip@13.0.4
    • @atlaskit/theme@8.1.7

7.0.5

7.0.4

  • Updated dependencies 1e826b2966, (opens new window):
    • @atlaskit/docs@7.0.2
    • @atlaskit/analytics-next@4.0.3
    • @atlaskit/avatar@15.0.3
    • @atlaskit/droplist@8.0.3
    • @atlaskit/icon@16.0.8
    • @atlaskit/theme@8.1.6
    • @atlaskit/tooltip@13.0.3
    • @atlaskit/button@12.0.0

7.0.3

  • Updated dependencies 98e11001ff, (opens new window):
    • @atlaskit/analytics-next@4.0.2
    • @atlaskit/button@11.0.5
    • @atlaskit/droplist@8.0.2
    • @atlaskit/icon@16.0.6
    • @atlaskit/lozenge@7.0.1

7.0.2

7.0.1

  • Updated dependencies 9d5cc39394, (opens new window):
    • @atlaskit/docs@7.0.1
    • @atlaskit/analytics-next@4.0.1
    • @atlaskit/avatar@15.0.1
    • @atlaskit/droplist@8.0.1
    • @atlaskit/icon@16.0.5
    • @atlaskit/theme@8.0.1
    • @atlaskit/tooltip@13.0.1
    • @atlaskit/button@11.0.0

7.0.0

  • [major]76299208e6, (opens new window):

    • Drop ES5 from all the flow modules

    Dropping CJS support in all @atlaskit packages

    As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only distribute esm. This means all distributed code will be transpiled, but will still contain import and export declarations.

    The major reason for doing this is to allow us to support multiple entry points in packages, e.g:

    import colors from `@atlaskit/theme/colors`;

    Previously this was sort of possible for consumers by doing something like:

    import colors from `@atlaskit/theme/dist/esm/colors`;

    This has a couple of issues. 1, it treats the file system as API making internal refactors harder, we have to worry about how consumers might be using things that aren't actually supposed to be used. 2. We are unable to do this internally in @atlaskit packages. This leads to lots of packages bundling all of theme, just to use a single color, especially in situations where tree shaking fails.

    To support being able to use multiple entrypoints internally, we unfortunately cannot have multiple distributions as they would need to have very different imports from of their own internal dependencies.

    ES Modules are widely supported by all modern bundlers and can be worked around in node environments.

    We may choose to revisit this solution in the future if we find any unintended condequences, but we see this as a pretty sane path forward which should lead to some major bundle size decreases, saner API's and simpler package architecture.

    Please reach out to #fabric-build (if in Atlassian) or create an issue in Design System Support, (opens new window) (for external) if you have any questions or queries about this.

6.1.26

  • Updated dependencies d7ef59d432, (opens new window):
    • @atlaskit/docs@6.0.1
    • @atlaskit/avatar@14.1.8
    • @atlaskit/button@10.1.2
    • @atlaskit/droplist@7.0.18
    • @atlaskit/item@8.0.15
    • @atlaskit/tooltip@12.1.15
    • @atlaskit/icon@16.0.0

6.1.25

  • Updated dependencies 58b84fa, (opens new window):
    • @atlaskit/analytics-next@3.1.2
    • @atlaskit/avatar@14.1.7
    • @atlaskit/button@10.1.1
    • @atlaskit/droplist@7.0.17
    • @atlaskit/icon@15.0.2
    • @atlaskit/item@8.0.14
    • @atlaskit/lozenge@6.2.4
    • @atlaskit/theme@7.0.1
    • @atlaskit/tooltip@12.1.13
    • @atlaskit/docs@6.0.0

6.1.24

  • Updated dependencies d13242d, (opens new window):
    • @atlaskit/docs@5.2.3
    • @atlaskit/button@10.0.4
    • @atlaskit/droplist@7.0.16
    • @atlaskit/icon@15.0.1
    • @atlaskit/item@8.0.13
    • @atlaskit/tooltip@12.1.12
    • @atlaskit/theme@7.0.0
    • @atlaskit/avatar@14.1.6
    • @atlaskit/lozenge@6.2.3

6.1.23

  • Updated dependencies ab9b69c, (opens new window):
    • @atlaskit/docs@5.2.2
    • @atlaskit/avatar@14.1.5
    • @atlaskit/button@10.0.1
    • @atlaskit/droplist@7.0.14
    • @atlaskit/item@8.0.12
    • @atlaskit/tooltip@12.1.11
    • @atlaskit/icon@15.0.0

6.1.22

  • Updated dependencies 6998f11, (opens new window):
    • @atlaskit/docs@5.2.1
    • @atlaskit/analytics-next@3.1.1
    • @atlaskit/avatar@14.1.4
    • @atlaskit/droplist@7.0.13
    • @atlaskit/icon@14.6.1
    • @atlaskit/theme@6.2.1
    • @atlaskit/tooltip@12.1.10
    • @atlaskit/button@10.0.0

6.1.21

6.1.20

6.1.19

6.1.18

6.1.17

  • [patch] Updated dependencies 65c6514, (opens new window)
    • @atlaskit/docs@5.0.8
    • @atlaskit/avatar@14.0.11
    • @atlaskit/button@9.0.13
    • @atlaskit/droplist@7.0.10
    • @atlaskit/item@8.0.8
    • @atlaskit/tooltip@12.1.1
    • @atlaskit/icon@14.0.0

6.1.16

6.1.15

6.1.14

6.1.13

6.1.12

6.1.11

6.1.9

6.1.8

  • [patch] Updated dependencies df22ad8, (opens new window)
    • @atlaskit/theme@6.0.0
    • @atlaskit/tooltip@12.0.9
    • @atlaskit/lozenge@6.1.5
    • @atlaskit/item@8.0.5
    • @atlaskit/icon@13.2.5
    • @atlaskit/droplist@7.0.7
    • @atlaskit/button@9.0.6
    • @atlaskit/avatar@14.0.8
    • @atlaskit/docs@5.0.6

6.1.7

6.1.6

6.1.5

6.1.4

  • [patch] Updated dependencies acd86a1, (opens new window)
    • @atlaskit/tooltip@12.0.4
    • @atlaskit/item@8.0.3
    • @atlaskit/icon@13.2.2
    • @atlaskit/button@9.0.4
    • @atlaskit/theme@5.1.2
    • @atlaskit/lozenge@6.1.3
    • @atlaskit/analytics-next@3.0.3
    • @atlaskit/docs@5.0.2
    • @atlaskit/droplist@7.0.4
    • @atlaskit/avatar@14.0.5

6.1.3

  • [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies 7e331b5, (opens new window)
  • [patch] Updated dependencies 7e331b5, (opens new window)
    • @atlaskit/tooltip@12.0.3
    • @atlaskit/analytics-next@3.0.2
    • @atlaskit/button@9.0.3
    • @atlaskit/theme@5.1.1
    • @atlaskit/lozenge@6.1.2
    • @atlaskit/item@8.0.2
    • @atlaskit/icon@13.2.1
    • @atlaskit/droplist@7.0.3
    • @atlaskit/avatar@14.0.4

6.1.2

  • [patch] Move analytics tests and replace elements to core 49d4ab4, (opens new window)
  • [patch] Updated dependencies 49d4ab4, (opens new window)
    • @atlaskit/tooltip@12.0.1
    • @atlaskit/analytics-next@3.0.1
    • @atlaskit/button@9.0.2
    • @atlaskit/lozenge@6.1.1
    • @atlaskit/docs@5.0.1
    • @atlaskit/droplist@7.0.2
    • @atlaskit/avatar@14.0.2

6.1.1

  • [patch] Updated dependencies e6b1985, (opens new window)
    • @atlaskit/tooltip@12.0.0
    • @atlaskit/item@8.0.1
    • @atlaskit/icon@13.1.1
    • @atlaskit/droplist@7.0.1
    • @atlaskit/avatar@14.0.1

6.1.0

6.0.0

5.2.3

5.2.2

5.2.1

5.2.0

5.1.0

5.0.4

  • [patch] Clean Changelogs - remove duplicates and empty entries e7756cd, (opens new window)
  • [patch] Updated dependencies e7756cd, (opens new window)
    • @atlaskit/tooltip@10.2.1
    • @atlaskit/button@8.1.2
    • @atlaskit/theme@4.0.4
    • @atlaskit/lozenge@5.0.4
    • @atlaskit/item@7.0.5
    • @atlaskit/icon@12.1.2
    • @atlaskit/droplist@6.1.2

5.0.3

  • [patch] Updated dependencies cc58e17, (opens new window)
    • @atlaskit/theme@4.0.3
    • @atlaskit/lozenge@5.0.3
    • @atlaskit/item@7.0.4
    • @atlaskit/icon@12.1.1
    • @atlaskit/droplist@6.1.1
    • @atlaskit/button@8.1.1
    • @atlaskit/avatar@11.1.1
    • @atlaskit/docs@4.1.1

5.0.2

  • [none] Updated dependencies 9d20f54, (opens new window)
    • @atlaskit/tooltip@10.2.0
    • @atlaskit/item@7.0.3
    • @atlaskit/avatar@11.1.0
    • @atlaskit/icon@12.1.0
    • @atlaskit/docs@4.1.0
    • @atlaskit/theme@4.0.2
    • @atlaskit/lozenge@5.0.2
    • @atlaskit/droplist@6.1.0
    • @atlaskit/button@8.1.0

5.0.0

  • [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to ^3.2.6 1e80619, (opens new window)
  • [patch] Updated dependencies 1e80619, (opens new window)
    • @atlaskit/tooltip@10.0.0
    • @atlaskit/item@7.0.0
    • @atlaskit/icon@12.0.0
    • @atlaskit/button@8.0.0
    • @atlaskit/theme@4.0.0
    • @atlaskit/lozenge@5.0.0
    • @atlaskit/docs@4.0.0
    • @atlaskit/droplist@6.0.0
    • @atlaskit/avatar@11.0.0

4.1.1

4.1.0

  • [minor] Add isMenuFixed prop to force menu to render with position fixed to allow it to break out of non-visible overflow containers at the cost of detachment from the trigger on scroll. e710cfa, (opens new window)
  • [none] Updated dependencies e710cfa, (opens new window)
    • @atlaskit/droplist@5.1.0

4.0.5

4.0.4

4.0.3

  • [patch] Updated dependencies d662caa, (opens new window)
    • @atlaskit/icon@11.3.0
    • @atlaskit/tooltip@9.2.1
    • @atlaskit/item@6.0.3
    • @atlaskit/droplist@5.0.3
    • @atlaskit/button@7.2.5
    • @atlaskit/theme@3.2.2
    • @atlaskit/avatar@10.0.6
    • @atlaskit/docs@3.0.4
    • @atlaskit/lozenge@4.0.1

4.0.1

4.0.0

3.12.3

3.12.2

3.12.1

3.12.0

3.11.10

3.11.8

3.11.7

3.11.6

3.11.5

3.11.4 (2017-11-30)

3.11.3 (2017-11-23)

3.11.2 (2017-11-16)

3.11.1 (2017-11-02)

3.11.0 (2017-10-27)

3.10.5 (2017-10-26)

3.10.4 (2017-10-22)

3.10.3 (2017-10-06)

3.10.2 (2017-09-21)

3.10.1 (2017-09-06)

3.10.0 (2017-09-01)

3.9.0 (2017-08-31)

3.8.0 (2017-08-25)

  • feature; added defaultSelected and isSelected props for DropdownItemRadio and DropdownItemCheckbox (issues closed: ak-3357) (00080f1, (opens new window))

3.7.3 (2017-08-24)

  • bug fix; dropdownItemRadio and DropdownItemCheckbox now work when custom onClick handler is s (issues closed: ak-3358) (16bee1b, (opens new window))

3.7.2 (2017-08-22)

3.7.1 (2017-08-21)

3.7.0 (2017-08-11)

3.6.0 (2017-08-11)

3.5.1 (2017-08-10)

3.4.2 (2017-07-27)

3.4.1 (2017-07-25)

3.1.0 (2017-07-17)

3.0.2 (2017-07-17)

3.0.1 (2017-06-14)

2.0.0 (2017-05-30)

1.10.1 (2017-05-26)

1.10.0 (2017-05-26)

1.9.0 (2017-05-24)

1.8.0 (2017-05-23)

1.7.0 (2017-05-10)

1.6.0 (2017-05-10)

1.5.0 (2017-05-02)

1.4.0 (2017-04-20)

1.2.0 (2017-04-18)

1.1.13 (2017-04-13)

1.1.11 (2017-03-23)

1.1.9 (2017-03-21)

1.1.8 (2017-03-21)

1.1.7 (2017-03-20)

1.1.6 (2017-03-08)

1.1.5 (2017-03-08)

1.1.3 (2017-02-14)

1.1.2 (2017-02-09)

1.1.1 (2017-02-07)

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