@atlaskit/menu 1.5.7 → 1.5.8

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.5.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
8
+
3
9
  ## 1.5.7
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "description": "A collection of composable menu components that can be used anywhere.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,7 +40,7 @@
40
40
  "@atlaskit/ds-lib": "^2.1.0",
41
41
  "@atlaskit/focus-ring": "^1.2.0",
42
42
  "@atlaskit/primitives": "^0.8.0",
43
- "@atlaskit/theme": "^12.3.0",
43
+ "@atlaskit/theme": "^12.4.0",
44
44
  "@atlaskit/tokens": "^1.2.0",
45
45
  "@babel/runtime": "^7.0.0",
46
46
  "@emotion/react": "^11.7.1"
package/report.api.md CHANGED
@@ -18,6 +18,7 @@
18
18
  /// <reference types="react" />
19
19
 
20
20
  import { ComponentType } from 'react';
21
+ import { Context } from 'react';
21
22
  import { CSSObject } from '@emotion/react';
22
23
  import { ForwardRefExoticComponent } from 'react';
23
24
  import { jsx } from '@emotion/react';
@@ -146,6 +147,7 @@ export const MenuGroup: ({
146
147
  maxHeight,
147
148
  testId,
148
149
  role,
150
+ spacing,
149
151
  ...rest
150
152
  }: MenuGroupProps) => jsx.JSX.Element;
151
153
 
@@ -154,6 +156,7 @@ export interface MenuGroupProps extends MenuGroupSizing {
154
156
  children: React.ReactNode;
155
157
  onClick?: (event: React.KeyboardEvent | React.MouseEvent) => void;
156
158
  role?: string;
159
+ spacing?: SpacingMode;
157
160
  testId?: string;
158
161
  }
159
162
 
@@ -244,6 +247,12 @@ export interface SkeletonItemProps {
244
247
  width?: Dimension;
245
248
  }
246
249
 
250
+ // @internal
251
+ export const SpacingContext: Context<SpacingMode>;
252
+
253
+ // @public (undocumented)
254
+ type SpacingMode = 'compact' | 'cozy';
255
+
247
256
  // @public @deprecated (undocumented)
248
257
  export type StatelessCSSFn = CSSFn<void>;
249
258