@atlaskit/menu 1.4.1 → 1.4.2

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,11 @@
1
1
  # @atlaskit/menu
2
2
 
3
+ ## 1.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 1.4.1
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "A collection of composable menu components that can be used anywhere.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,11 +37,11 @@
37
37
  ".": "./src/index.tsx"
38
38
  },
39
39
  "dependencies": {
40
- "@atlaskit/ds-explorations": "^1.2.0",
40
+ "@atlaskit/ds-explorations": "^1.6.0",
41
41
  "@atlaskit/ds-lib": "^2.1.0",
42
42
  "@atlaskit/focus-ring": "^1.2.0",
43
43
  "@atlaskit/theme": "^12.2.0",
44
- "@atlaskit/tokens": "^0.11.0",
44
+ "@atlaskit/tokens": "^0.12.0",
45
45
  "@babel/runtime": "^7.0.0",
46
46
  "@emotion/react": "^11.7.1"
47
47
  },
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "devDependencies": {
53
53
  "@atlaskit/avatar": "^21.1.0",
54
- "@atlaskit/button": "^16.4.0",
54
+ "@atlaskit/button": "^16.5.0",
55
55
  "@atlaskit/docs": "*",
56
56
  "@atlaskit/icon": "^21.11.0",
57
57
  "@atlaskit/icon-file-type": "^6.0.0",
package/report.api.md CHANGED
@@ -1,12 +1,17 @@
1
+ <!-- API Report Version: 2.2 -->
2
+
1
3
  ## API Report File for "@atlaskit/menu"
2
4
 
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
6
+ > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
+
8
+ ### Table of contents
4
9
 
5
- <!--
6
- Generated API Report version: 2.0
7
- -->
10
+ - [Main Entry Types](#main-entry-types)
8
11
 
9
- [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
12
+ ### Main Entry Types
13
+
14
+ <!--SECTION START: Main Entry Types-->
10
15
 
11
16
  ```ts
12
17
  /// <reference types="react" />
@@ -25,12 +30,12 @@ export interface BaseItemProps {
25
30
  children?: React.ReactNode;
26
31
  // @deprecated
27
32
  cssFn?: CSSFn;
28
- description?: string | JSX.Element;
33
+ description?: JSX.Element | string;
29
34
  iconAfter?: React.ReactNode;
30
35
  iconBefore?: React.ReactNode;
31
36
  isDisabled?: boolean;
32
37
  isSelected?: boolean;
33
- onClick?: (event: React.MouseEvent | React.KeyboardEvent) => void;
38
+ onClick?: (event: React.KeyboardEvent | React.MouseEvent) => void;
34
39
  onMouseDown?: React.MouseEventHandler;
35
40
  // @deprecated
36
41
  overrides?: Overrides;
@@ -91,7 +96,7 @@ interface CustomItemTypeGenericHackProps {
91
96
  }
92
97
 
93
98
  // @public (undocumented)
94
- export type Dimension = string | number;
99
+ export type Dimension = number | string;
95
100
 
96
101
  // @public
97
102
  export const HeadingItem: MemoExoticComponent<
@@ -146,7 +151,7 @@ export const MenuGroup: ({
146
151
  // @public (undocumented)
147
152
  export interface MenuGroupProps extends MenuGroupSizing {
148
153
  children: React.ReactNode;
149
- onClick?: (event: React.MouseEvent | React.KeyboardEvent) => void;
154
+ onClick?: (event: React.KeyboardEvent | React.MouseEvent) => void;
150
155
  role?: string;
151
156
  testId?: string;
152
157
  }
@@ -253,3 +258,5 @@ export interface TitleOverrides {
253
258
 
254
259
  // (No @packageDocumentation comment for this package)
255
260
  ```
261
+
262
+ <!--SECTION END: Main Entry Types-->