UNPKG

@atlaskit/dropdown-menu

Version:

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

1,622 lines (996 loc) 106 kB
# @atlaskit/dropdown-menu ## 16.2.0 ### Minor Changes - [#187681](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/187681) [`64c917433bf89`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/64c917433bf89) - Cleans up `platform_dst_dropdown_radio_default_selected_fix` feature gate. Default selected items for radio group dropdowns are now correctly persisted. ## 16.1.4 ### Patch Changes - Updated dependencies ## 16.1.3 ### Patch Changes - Updated dependencies ## 16.1.2 ### Patch Changes - [#172917](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/172917) [`8a3d5265aaa3b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8a3d5265aaa3b) - Adds aria described by for better screen reader context ## 16.1.1 ### Patch Changes - Updated dependencies ## 16.1.0 ### Minor Changes - [#161732](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/161732) [`a3b57a07e1158`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a3b57a07e1158) - Fixes persistence of radio item `defaultSelected` state. This change is behind the `platform_dst_dropdown_radio_default_selected_fix` feature gate. ## 16.0.7 ### Patch Changes - Updated dependencies ## 16.0.6 ### Patch Changes - [#171641](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/171641) [`1d4741f638def`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1d4741f638def) - Removed UFO metric interactionName FG from platform - Updated dependencies ## 16.0.5 ### Patch Changes - [#171540](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/171540) [`ff686344ec2f4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ff686344ec2f4) - Removed FG that fixes dropdown menu keyboard nav with disabled options ## 16.0.4 ### Patch Changes - Updated dependencies ## 16.0.3 ### Patch Changes - Updated dependencies ## 16.0.2 ### 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. - Updated dependencies ## 16.0.1 ### Patch Changes - [#155802](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/155802) [`08019848e3eab`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/08019848e3eab) - Refreshed "issue" terminology. - Updated dependencies ## 16.0.0 ### Major Changes - [#158490](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/158490) [`71137cb330a17`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/71137cb330a17) - Migrated from @emotion/react to @compiled/react in order to improve performance, align with the rest of the Atlaskit techstack, and support React 18 Streaming SSR. ### Patch Changes - Updated dependencies ## 15.2.1 ### Patch Changes - Updated dependencies ## 15.2.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 ## 15.1.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 ## 15.0.1 ### Patch Changes - Updated dependencies ## 15.0.0 ### Major Changes - [#148607](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/148607) [`30eff9d58e797`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/30eff9d58e797) - Removed `overrides` prop from DropdownMenuItemGroup. ### Patch Changes - Updated dependencies ## 14.2.0 ### Minor Changes - [#154745](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/154745) [`7618d9837e247`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7618d9837e247) - Tidy up design-system-closed-all-when-click-outside and sibling-dropdown-close-issue to provide better keyboard navigation. ### Patch Changes - Updated dependencies ## 14.1.4 ### Patch Changes - Updated dependencies ## 14.1.3 ### Patch Changes - [#148964](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/148964) [`a07dc3da50fa9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a07dc3da50fa9) - "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 - [#142856](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142856) [`578fbeefd6128`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/578fbeefd6128) - Remove feature flag to allow new controls ### Patch Changes - Updated dependencies ## 14.0.3 ### Patch Changes - [#142008](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142008) [`aebe96bb58f46`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/aebe96bb58f46) - Improve semantics while loading for assistive technologies. ## 14.0.2 ### Patch Changes - Updated dependencies ## 14.0.1 ### Patch Changes - Updated dependencies ## 14.0.0 ### Major Changes - [#134856](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/134856) [`948a950e395ad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/948a950e395ad) - 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: ```ts onOpenChange?: (args: { isOpen: boolean; event: React.MouseEvent | React.KeyboardEvent; }) => void; ``` It is now: ```ts 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 - [#134128](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/134128) [`8255a77865aac`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8255a77865aac) - Added support for an optional role attribute on dropdown items to allow customization of ARIA roles. Defaults to menuitem. ## 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 - [#124030](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/124030) [`6b06882581bfa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6b06882581bfa) - Fix keyboard navigation bug with disabled options ## 13.0.2 ### Patch Changes - [#120592](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120592) [`1a5daeece05cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a5daeece05cf) - Fixes bugs with keyboard navigation in dropdown menu - Updated dependencies ## 13.0.1 ### Patch Changes - Updated dependencies ## 13.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 ## 12.26.5 ### Patch Changes - [#115543](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/115543) [`9d96558cbd534`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9d96558cbd534) - Updated types for DropdownMenu trigger props ## 12.26.4 ### Patch Changes - Updated dependencies ## 12.26.3 ### Patch Changes - [#114433](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114433) [`cf11baeb9088e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cf11baeb9088e) - Remove old codemods and update dependencies. ## 12.26.2 ### Patch Changes - Updated dependencies ## 12.26.1 ### Patch Changes - Updated dependencies ## 12.26.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 ## 12.25.2 ### Patch Changes - [#107064](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107064) [`1e639192c3c7f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1e639192c3c7f) - Update dev dependencies and remove unused files. ## 12.25.1 ### Patch Changes - Updated dependencies ## 12.25.0 ### Minor Changes - [#105222](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105222) [`f62a0d9ada12e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f62a0d9ada12e) - Fixes a bug with the Dropdown Menu not returning focus to the returnFocusRef element, when rendered in a portal. This change is no longer behind a feature flag. ### Patch Changes - Updated dependencies ## 12.24.1 ### Patch Changes - Updated dependencies ## 12.24.0 ### Minor Changes - [#101351](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101351) [`53e2c361fad77`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53e2c361fad77) - Fixes a bug with the Dropdown Menu not returning focus to the returnFocusRef element, when rendered in a portal. This fix is behind a feature flag. ## 12.23.4 ### Patch Changes - [#181817](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/181817) [`6876e5688ed14`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6876e5688ed14) - Dropdown open in iframe should be closed when clicking outside of the iframe ## 12.23.3 ### Patch Changes - [#179984](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/179984) [`08accf7fa1041`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/08accf7fa1041) - Fix keyboard navigation not working when using dropdown menu item as the nested trigger ## 12.23.2 ### Patch Changes - Updated dependencies ## 12.23.1 ### Patch Changes - Updated dependencies ## 12.23.0 ### Minor Changes - [#166959](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/166959) [`9b3927dbda348`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9b3927dbda348) - Update checkbox and radio to match new icon styles behind feature flag. ### Patch Changes - Updated dependencies ## 12.22.3 ### Patch Changes - [#166087](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/166087) [`3ab7d7da348ab`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3ab7d7da348ab) - Adds side-effect config to support Compiled css extraction in third-party apps ## 12.22.2 ### Patch Changes - Updated dependencies ## 12.22.1 ### Patch Changes - [#161638](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/161638) [`d2e5e5ce0053d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d2e5e5ce0053d) - Use new API of layering without UNSAFE prefix ## 12.22.0 ### Minor Changes - [`cfef14b7ec2bc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cfef14b7ec2bc) - 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 - [#157534](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157534) [`ca0824645f3a5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ca0824645f3a5) - Remove the use of Math.random for the generation of IDs ## 12.21.0 ### Minor Changes - [#155054](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/155054) [`5e7c49fc3d545`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5e7c49fc3d545) - Updated group title styles to use modernized typography. ### Patch Changes - Updated dependencies ## 12.20.4 ### Patch Changes - Updated dependencies ## 12.20.3 ### Patch Changes - Updated dependencies ## 12.20.2 ### Patch Changes - [#152984](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152984) [`9520c882dcf30`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9520c882dcf30) - Fix async dropdown item ordering ## 12.20.1 ### Patch Changes - Updated dependencies ## 12.20.0 ### Minor Changes - [#151581](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/151581) [`ce972f75db165`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ce972f75db165) - ## 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:** ```jsx 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 - [#149314](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/149314) [`a40e9adcd1646`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a40e9adcd1646) - Enable new icons behind a feature flag. ## 12.18.7 ### Patch Changes - Updated dependencies ## 12.18.6 ### Patch Changes - [`5ceb889d493ab`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ceb889d493ab) - Fix issue with Async loading of Dropdown Menu Items - [#148281](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/148281) [`3c4de48168ffe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3c4de48168ffe) - Update the import path of `useId*` from `@atlaskit/ds-lib` - Updated dependencies ## 12.18.5 ### Patch Changes - [#148720](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/148720) [`fcf151627c8de`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fcf151627c8de) - Added interactionName to components in menu and dropdownmenu ## 12.18.4 ### Patch Changes - Updated dependencies ## 12.18.3 ### Patch Changes - Updated dependencies ## 12.18.2 ### Patch Changes - [#139091](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/139091) [`142645f92833a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/142645f92833a) - 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 - [#138585](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138585) [`b72c2c7f9a2fd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b72c2c7f9a2fd) - Support to close sibling dropdown menu under feature flag - Updated dependencies ## 12.18.0 ### Minor Changes - [#133919](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/133919) [`8b25fdc44ca38`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8b25fdc44ca38) - Added return focus to trigger after item selection ## 12.17.3 ### Patch Changes - [#133182](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/133182) [`063ecc7968c68`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/063ecc7968c68) - We are testing an internal change to use an ID generator compatible with both React 16 and React 18. If these changes are successful, it will be rolled out in a later release. ## 12.17.2 ### Patch Changes - Updated dependencies ## 12.17.1 ### Patch Changes - Updated dependencies ## 12.17.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 ## 12.16.1 ### Patch Changes - Updated dependencies ## 12.16.0 ### Minor Changes - [`8b8090800a35d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8b8090800a35d) - Bump peer dependency for react-dom to include version 17 and 18. ### Patch Changes - Updated dependencies ## 12.15.0 ### Minor Changes - [#126129](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/126129) [`75d153a575b4d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/75d153a575b4d) - Accessibility changes. Add a new optional prop `returnFocusRef` for cases when we need to focus an interactive element after closing DropdownMenu. ### Patch Changes - Updated dependencies ## 12.14.2 ### Patch Changes - Updated dependencies ## 12.14.1 ### Patch Changes - Updated dependencies ## 12.14.0 ### Minor Changes - [#116502](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116502) [`9796cf77195b6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9796cf77195b6) - Adds a new optional `UNSAFE_shouldDisableRouterLink` prop to the `DropdownItem` component, which when set to `true`, will opt out of using a router link and instead use a regular anchor element when used alongside the `href` prop. ## 12.13.4 ### Patch Changes - Updated dependencies ## 12.13.3 ### Patch Changes - [#114987](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114987) [`8e9045b0b4ce2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e9045b0b4ce2) - Update DropdownMenu's default generic type for `triggerRef` from `HTMLElement` to `any`. - Updated dependencies ## 12.13.2 ### Patch Changes - Updated dependencies ## 12.13.1 ### Patch Changes - Updated dependencies ## 12.13.0 ### Minor Changes - [#111878](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111878) [`223959ef57c80`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/223959ef57c80) - Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime is implicitly set to automatic. ### Patch Changes - Updated dependencies ## 12.12.0 ### Minor Changes - [#111282](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111282) [`7b4ccf810b526`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7b4ccf810b526) - Adds a new optional `shouldFitContainer` prop, which when set to `true`, will fit the dropdown menu width to its parent's width. ## 12.11.1 ### Patch Changes - Updated dependencies ## 12.11.0 ### Minor Changes - [#99829](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99829) [`1e40876a2c40`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1e40876a2c40) - Accessibility improvements. Fix incorrect role for title when prop `title` passed for DropdownItemGroup, DropdownItemCheckboxGroup and DropdownItemRadioGroup. ### Patch Changes - Updated dependencies ## 12.10.2 ### Patch Changes - [#99952](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99952) [`1e7e09d75d5c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1e7e09d75d5c) - Support to close popup corrrectly when clicking iframe using layering under feature flag - Updated dependencies ## 12.10.1 ### Patch Changes - Updated dependencies ## 12.10.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 ## 12.9.3 ### Patch Changes - Updated dependencies ## 12.9.2 ### Patch Changes - [#94316](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94316) [`35fd5ed8e1d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/35fd5ed8e1d7) - Upgrading internal dependency `bind-event-listener` to `@^3.0.0` ## 12.9.1 ### Patch Changes - [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007) [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) - Migrated to the new button component - Updated dependencies ## 12.9.0 ### Minor Changes - [#91117](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91117) [`06ed35f020fb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/06ed35f020fb) - Add support for React 18 in non-strict mode. ### Patch Changes - Updated dependencies ## 12.8.5 ### Patch Changes - [#84970](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84970) [`ad0e069e2829`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ad0e069e2829) - This removes the `platform.design-system-team.disable-focus-lock-in-popup_7kb4d` feature flag. The dropdown menu can be closed by pressing Tab or Shift + Tab if `shouldRenderToParent` is true. ## 12.8.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` ## 12.8.3 ### Patch Changes - Updated dependencies ## 12.8.2 ### 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 ## 12.8.1 ### Patch Changes - [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085) [`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) - Update usage of `React.FC` to explicity include `children` ## 12.8.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 ## 12.7.0 ### Minor Changes - [#78803](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78803) [`b633dc3ea927`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b633dc3ea927) - Fixes an issue with an incorrect dependency version (`@atlaskit/ds-lib`). ## 12.6.1 ### Patch Changes - Updated dependencies ## 12.6.0 ### Minor Changes - [#70573](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70573) [`ee7c6dd6b8b2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ee7c6dd6b8b2) - [ux] Accessibility changes. We are testing the ability to close the dropdown menu by pressing the Tab key when `shouldRenderToParent` is `true` behind a feature flag. If this fix is successful it will be available in a later release. ### Patch Changes - Updated dependencies ## 12.5.3 ### Patch Changes - Updated dependencies ## 12.5.2 ### 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 ## 12.5.1 ### Patch Changes - [#72130](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72130) [`b037e5451037`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b037e5451037) - Update new button text color fallback for default theme (non-token) to match that of old button current text color - Updated dependencies ## 12.5.0 ### Minor Changes - [#65862](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65862) [`7e4f1a341224`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7e4f1a341224) - [ux] Updated dropdown-menu trigger to consume the new button. The new default button trigger (text + arrow icon) would be narrower than before. The fallback color on button trigger is now darker when no theme is applied. ## 12.4.0 ### Minor Changes - [#70664](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70664) [`776e5ba8fc41`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/776e5ba8fc41) - Enable layering in popup and dropdown to support nested navigation ### Patch Changes - Updated dependencies ## 12.3.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 ## 12.2.0 ### Minor Changes - [#69888](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69888) [`e710d215f768`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e710d215f768) - Add label prop to render aria-label on dropdown menu trigger. ### Patch Changes - Updated dependencies ## 12.1.10 ### Patch Changes - Updated dependencies ## 12.1.9 ### Patch Changes - [#59251](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59251) [`137c9cf6b36a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/137c9cf6b36a) - Fix incorrect focus control after closing DropdownMenu. ## 12.1.8 ### Patch Changes - [#43918](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43918) [`d100ca42f46`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d100ca42f46) - Push model consumption configuration done for these packages ## 12.1.7 ### Patch Changes - Updated dependencies ## 12.1.6 ### Patch Changes - Updated dependencies ## 12.1.5 ### Patch Changes - [#42645](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42645) [`df1c4868d29`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df1c4868d29) - Fix keyboard access for custom trigger. ## 12.1.4 ### Patch Changes - [#41898](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41898) [`b3c84e42159`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3c84e42159) - Fix loss of autofocus when opening with Enter and Space keys. ## 12.1.3 ### Patch Changes - [#41628](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41628) [`b05664f7aba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b05664f7aba) - Use feature flag to toggle if we enable UNSAFE_LAYERING ## 12.1.2 ### Patch Changes - [#41673](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41673) [`e0bc1e5b8bb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e0bc1e5b8bb) - fix: adds spread prop support back to DropdownMenu and sub-components after their removal in version `11.14.5`. These spread props will be removed instead in a future major version. ## 12.1.1 ### Patch 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 - [#41611](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41611) [`876d7943287`](https://bitbucket.org/atlassian/atlassian-frontend/commits/876d7943287) - Fix keyboard arrow controls for dropdown item custom component. ## 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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41586) [`ef0466f92d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ef0466f92d9) - 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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41355) [`cd1c813da18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd1c813da18) - 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. ```jsx <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 - Warning: This version is deprecated due to breaking behavioural change from the removal of spread props. Please downgrade to 11.14.4, or upgrade to 12.1.2 or later - [#41067](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41067) [`5a9ed67f8f5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a9ed67f8f5) - Expand rest props for more explicit function data flow. ## 11.14.4 ### Patch Changes - [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749) [`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) - Connect yarn changeset to packages, upgrade adf-schema ## 11.14.3 ### Patch Changes - [#40515](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40515) [`a54578d2ea9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a54578d2ea9) - This removes the feature flag for the `shouldRenderToParent` prop. The prop is available for use. ## 11.14.2 ### Patch Changes - [#40393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40393) [`9623c04c020`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9623c04c020) - [ux] Adds context to loading state for assistive technologies. - Updated dependencies ## 11.14.1 ### Patch Changes - [#40400](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40400) [`53444bfd55a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/53444bfd55a) - Use 0 timeout to delay clean up after layering unmounted ## 11.14.0 ### Minor Changes - [#39726](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39726) [`f355884a4aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f355884a4aa) - [ux] Support to press escape key and only close the top layer ### Patch Changes - Updated dependencies ## 11.13.0 ### Minor Changes - [#39579](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39579) [`4f211dbe626`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f211dbe626) - [ux] We are adopting a new Button component behind a feature flag. This is necessary for the implementation of the SplitButton component. If this adoption is successful, it will be available in a later release. ## 11.12.0 ### Minor Changes - [#39236](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39236) [`b66fdec7fd1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b66fdec7fd1) - Add a new prop `shouldRenderToParent` to allow render content into a DOM node within the parent DOM hierarchy instead of React portal. ## 11.11.6 ### Patch Changes - [#38177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38177) [`d420deeebe5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d420deeebe5) - Fix checkbox and radio item color contrast issue under feature flag ## 11.11.5 ### Patch Changes - [#37765](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37765) [`9e84eaacfbe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9e84eaacfbe) - Nested dropdown menus are now accessible using arrow key navigation. ## 11.11.4 ### Patch Changes - [#38011](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38011) [`303603a5525`](https://bitbucket.org/atlassian/atlassian-frontend/commits/303603a5525) - Internal changes. ## 11.11.3 ### Patch Changes - [#37941](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37941) [`1af7a3c5ab9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1af7a3c5ab9) - fix: support to skip disabled elements when autoFocus is on ## 11.11.2 ### Patch Changes - [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533) [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated dependencies ## 11.11.1 ### Patch Changes - [#36814](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36814) [`fd493dc2358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd493dc2358) - [ux] support nested dropdown menu ## 11.11.0 ### Minor Changes - [#34797](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34797) [`3920dcfd848`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3920dcfd848) - This removes the feature flag made for upgrading the `focus-trap` dependency and keeps `focus-trap` at it's original version. ### Patch Changes - Updated dependencies ## 11.10.7 ### Patch Changes - [#37265](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37265) [`4b99836860e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b99836860e) - Using arrow keys to move between items will no longer cause scrolling when at the top/bottom of the list. ## 11.10.6 ### Patch Changes - [#36646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36646) [`2e2ebbe71fc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e2ebbe71fc) - Fix keyboard arrow controls for dropdown item custom component. ## 11.10.5 ### Patch Changes - [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754) [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing. ## 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 - [#35947](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35947) [`a07c7d8af4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a07c7d8af4f) - Apply `box-sizing: border-box` to menu wrapper when loading spinner is visible. ## 11.10.0 ### Minor Changes - [#35038](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35038) [`6794b446742`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6794b446742) - [ux] We are testing a new selected state for radio and checkbox items under a feature flag. If successful this will be released in a later version. ### Patch Changes - Updated dependencies ## 11.9.5 ### Patch Changes - [#35092](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35092) [`6a13926a3d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a13926a3d4) - Internal code changes. - Updated dependencies ## 11.9.4 ### Patch Changes - [#34831](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34831) [`296683f5adc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/296683f5adc) - Update DropdownItemCheckbox and DropdownItemRadio icon color and add a border to these icons to be consistent within our design system. ## 11.9.3 ### Patch Changes - [#34331](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34331) [`f42d723da8c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f42d723da8c) - always render role="menuitemcheckbox" ## 11.9.2 ### 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. ## 11.9.1 ### 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 ## 11.9.0 ### Minor Changes - [#33349](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33349) [`d518f0e34b9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d518f0e34b9) - [ux] We are testing a selected indicator change to menu, dropdown-menu, and side-navigation packages behind an internal feature flag. If successful this will be released in a later minor release. ### Patch Changes - Updated dependencies ## 11.8.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` ## 11.8.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 ## 11.7.3 ### Patch Changes - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils ## 11.7.2 ### Patch Changes - [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206) [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18. - Updated dependencies ## 11.7.1 ### Patch Changes - [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242) [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`. ## 11.7.0 ### Minor Changes - [#30248](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30248) [`7d3e5393e87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d3e5393e87) - Enable forwardRef on DropdownItem ### Patch Changes - Updated dependencies ## 11.6.1 ### Patch Changes - [#31041](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31041) [`842bb999a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/842bb999a85) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`. ## 11.6.0 ### Minor Changes - [#30362](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30362) [`814e6ed4e14`](https://bitbucket.org/atlassian/atlassian-frontend/commits/814e6ed4e14) - [ux] Adds a new spacing prop on the `DropdownMenu` component to support information density. - New usage `<DropdownMenu spacing="compact" />` - The current default (can also be omitted) `<DropdownMenu spacing="cozy" />` ### Patch Changes - Updated dependencies ## 11.5.12 ### Patch Changes - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634) [`22b754d311f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22b754d311f) - Updates usage of removed design token `utilities.UNSAFE_util.transparent` in favour of its replacement `utilities.UNSAFE.transparent` - Updated dependencies ## 11.5.11 ### Patch Changes - [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390) [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change. ## 11.5.10 ### Patch Changes - [#28159](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28159) [`716af1d3387`](https://bitbucket.org/atlassian/atlassian-frontend/commits/716af1d3387) - Bump @atlaskit/heading from 1.0.0 to 1.0.1 to avoid resolving to poison dependency version ## 11.5.9 ### Patch Changes - [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`c9b09094bfe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c9b09094bfe) - Wrap DropdownMenu > MenuWrapper setInitialFocusRef call in useEffect to resolve React console error ## 11.5.8 ### Patch Changes - Updated dependencies ## 11.5.7 ### Patch Changes - Updated dependencies ## 11.5.6 ### Patch Changes - [#27898](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27898) [`6ae8910147b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ae8910147b) - [ux] Allow users to navigate past disabled menu items with arrow keys ## 11.5.5 ### Patch Changes - Updated dependencies ## 11.5.4 ### Patch Changes - [#26958](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26958) [`ab6ea02a97e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ab6ea02a97e) - Align internal implementation with current linting rules. There should be no change for consumers. ## 11.5.4 ### Patch Changes - [#26932](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26932) [`a5fa14318a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5fa14318a8) - Improve examples and visual regression test coverage. ## 11.5.3 ### Patch Changes - [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`625585b8db6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/625585b8db6) - Bug fix to re-position the menu after change in loading state. - Updated dependencies ## 11.5.2 ### Patch Changes - [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488) [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change. ## 11.5.1 ### 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` ## 11.5.0 ### Minor Changes - [#24733](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24733) [`7f7e4a0709b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f7e4a0709b) - Fixes the types of the CustomTrigger to be generic rather than set as HTMLElement. This allows improved type inference for custom triggers. ## 11.4.0 ### Minor Changes - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`00fc216bd94`](https://bitbucket.org/atlas