@atlaskit/menu 1.5.6 → 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 +12 -0
- package/dist/cjs/internal/components/menu-item-primitive.js +2 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/internal/components/menu-item-primitive.js +2 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/internal/components/menu-item-primitive.js +2 -2
- package/dist/esm/version.json +1 -1
- package/package.json +3 -3
- package/report.api.md +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
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
|
+
|
|
9
|
+
## 1.5.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 1.5.6
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/menu",
|
|
3
|
-
"version": "1.5.
|
|
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/"
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"@atlaskit/ds-explorations": "^2.0.0",
|
|
40
40
|
"@atlaskit/ds-lib": "^2.1.0",
|
|
41
41
|
"@atlaskit/focus-ring": "^1.2.0",
|
|
42
|
-
"@atlaskit/primitives": "^0.
|
|
43
|
-
"@atlaskit/theme": "^12.
|
|
42
|
+
"@atlaskit/primitives": "^0.8.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
|
|