@atlaskit/dropdown-menu 12.5.0 → 12.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/dropdown-menu
2
2
 
3
+ ## 12.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+ - Updated dependencies
9
+
3
10
  ## 12.5.0
4
11
 
5
12
  ### Minor Changes
@@ -64,11 +64,13 @@ var getFallbackPlacements = function getFallbackPlacements(placement) {
64
64
  };
65
65
 
66
66
  /**
67
+ * __Dropdown menu__
68
+ *
67
69
  * A dropdown menu displays a list of actions or options to a user.
68
70
  *
69
71
  * - [Examples](https://atlassian.design/components/dropdown-menu/examples)
70
72
  * - [Code](https://atlassian.design/components/dropdown-menu/code)
71
- * - [Usage](https://atlassian.design/components/dropdown-menu/usage).
73
+ * - [Usage](https://atlassian.design/components/dropdown-menu/usage)
72
74
  */
73
75
  var DropdownMenu = function DropdownMenu(_ref) {
74
76
  var _ref$autoFocus = _ref.autoFocus,
@@ -49,11 +49,13 @@ const getFallbackPlacements = placement => {
49
49
  };
50
50
 
51
51
  /**
52
+ * __Dropdown menu__
53
+ *
52
54
  * A dropdown menu displays a list of actions or options to a user.
53
55
  *
54
56
  * - [Examples](https://atlassian.design/components/dropdown-menu/examples)
55
57
  * - [Code](https://atlassian.design/components/dropdown-menu/code)
56
- * - [Usage](https://atlassian.design/components/dropdown-menu/usage).
58
+ * - [Usage](https://atlassian.design/components/dropdown-menu/usage)
57
59
  */
58
60
  const DropdownMenu = ({
59
61
  autoFocus = false,
@@ -55,11 +55,13 @@ var getFallbackPlacements = function getFallbackPlacements(placement) {
55
55
  };
56
56
 
57
57
  /**
58
+ * __Dropdown menu__
59
+ *
58
60
  * A dropdown menu displays a list of actions or options to a user.
59
61
  *
60
62
  * - [Examples](https://atlassian.design/components/dropdown-menu/examples)
61
63
  * - [Code](https://atlassian.design/components/dropdown-menu/code)
62
- * - [Usage](https://atlassian.design/components/dropdown-menu/usage).
64
+ * - [Usage](https://atlassian.design/components/dropdown-menu/usage)
63
65
  */
64
66
  var DropdownMenu = function DropdownMenu(_ref) {
65
67
  var _ref$autoFocus = _ref.autoFocus,
@@ -3,11 +3,13 @@ import type { DropdownMenuProps } from './types';
3
3
  export declare const KEY_SPACE = " ";
4
4
  export declare const KEY_ENTER = "Enter";
5
5
  /**
6
+ * __Dropdown menu__
7
+ *
6
8
  * A dropdown menu displays a list of actions or options to a user.
7
9
  *
8
10
  * - [Examples](https://atlassian.design/components/dropdown-menu/examples)
9
11
  * - [Code](https://atlassian.design/components/dropdown-menu/code)
10
- * - [Usage](https://atlassian.design/components/dropdown-menu/usage).
12
+ * - [Usage](https://atlassian.design/components/dropdown-menu/usage)
11
13
  */
12
14
  declare const DropdownMenu: <T extends HTMLElement = HTMLElement>({ autoFocus, children, defaultOpen, isLoading, isOpen, onOpenChange, placement, shouldFlip, shouldRenderToParent, spacing, statusLabel, testId, trigger, zIndex, label, }: DropdownMenuProps<T>) => JSX.Element;
13
15
  export default DropdownMenu;
@@ -3,11 +3,13 @@ import type { DropdownMenuProps } from './types';
3
3
  export declare const KEY_SPACE = " ";
4
4
  export declare const KEY_ENTER = "Enter";
5
5
  /**
6
+ * __Dropdown menu__
7
+ *
6
8
  * A dropdown menu displays a list of actions or options to a user.
7
9
  *
8
10
  * - [Examples](https://atlassian.design/components/dropdown-menu/examples)
9
11
  * - [Code](https://atlassian.design/components/dropdown-menu/code)
10
- * - [Usage](https://atlassian.design/components/dropdown-menu/usage).
12
+ * - [Usage](https://atlassian.design/components/dropdown-menu/usage)
11
13
  */
12
14
  declare const DropdownMenu: <T extends HTMLElement = HTMLElement>({ autoFocus, children, defaultOpen, isLoading, isOpen, onOpenChange, placement, shouldFlip, shouldRenderToParent, spacing, statusLabel, testId, trigger, zIndex, label, }: DropdownMenuProps<T>) => JSX.Element;
13
15
  export default DropdownMenu;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dropdown-menu",
3
- "version": "12.5.0",
3
+ "version": "12.5.1",
4
4
  "description": "A dropdown menu displays a list of actions or options to a user.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -26,7 +26,7 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "@atlaskit/button": "^17.3.0",
29
+ "@atlaskit/button": "^17.4.0",
30
30
  "@atlaskit/codemod-utils": "^4.2.0",
31
31
  "@atlaskit/ds-lib": "^2.2.0",
32
32
  "@atlaskit/icon": "^22.0.0",
@@ -37,7 +37,7 @@
37
37
  "@atlaskit/primitives": "^2.0.0",
38
38
  "@atlaskit/spinner": "^16.0.0",
39
39
  "@atlaskit/theme": "^12.6.0",
40
- "@atlaskit/tokens": "^1.35.0",
40
+ "@atlaskit/tokens": "^1.37.0",
41
41
  "@babel/runtime": "^7.0.0",
42
42
  "@emotion/react": "^11.7.1",
43
43
  "bind-event-listener": "^2.1.1"