@atlaskit/menu 3.2.0 → 5.0.0
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 +30 -0
- package/dist/cjs/internal/components/menu-item-primitive.compiled.css +81 -0
- package/dist/cjs/internal/components/menu-item-primitive.js +51 -181
- package/dist/cjs/menu-item/button-item.js +11 -25
- package/dist/cjs/menu-item/custom-item.js +14 -28
- package/dist/cjs/menu-item/link-item.js +12 -27
- package/dist/cjs/menu-item/skeleton-heading-item.js +1 -4
- package/dist/cjs/menu-item/skeleton-item.js +1 -4
- package/dist/cjs/menu-section/section.js +1 -4
- package/dist/es2019/internal/components/menu-item-primitive.compiled.css +81 -0
- package/dist/es2019/internal/components/menu-item-primitive.js +46 -179
- package/dist/es2019/menu-item/button-item.js +6 -23
- package/dist/es2019/menu-item/custom-item.js +8 -27
- package/dist/es2019/menu-item/link-item.js +7 -25
- package/dist/es2019/menu-item/skeleton-heading-item.js +1 -4
- package/dist/es2019/menu-item/skeleton-item.js +1 -4
- package/dist/es2019/menu-section/section.js +1 -4
- package/dist/esm/internal/components/menu-item-primitive.compiled.css +81 -0
- package/dist/esm/internal/components/menu-item-primitive.js +47 -178
- package/dist/esm/menu-item/button-item.js +7 -25
- package/dist/esm/menu-item/custom-item.js +10 -29
- package/dist/esm/menu-item/link-item.js +8 -27
- package/dist/esm/menu-item/skeleton-heading-item.js +1 -4
- package/dist/esm/menu-item/skeleton-item.js +1 -4
- package/dist/esm/menu-section/section.js +1 -4
- package/dist/types/internal/components/menu-item-primitive.d.ts +2 -2
- package/dist/types/types.d.ts +11 -19
- package/dist/types-ts4.5/internal/components/menu-item-primitive.d.ts +2 -2
- package/dist/types-ts4.5/types.d.ts +11 -19
- package/package.json +16 -12
|
@@ -1,17 +1,11 @@
|
|
|
1
|
+
/* link-item.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["children", "href", "
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* @jsx jsx
|
|
7
|
-
*/
|
|
4
|
+
var _excluded = ["children", "href", "description", "iconAfter", "iconBefore", "isDisabled", "isSelected", "onClick", "testId", "onMouseDown", "shouldTitleWrap", "shouldDescriptionWrap", "className", "UNSAFE_shouldDisableRouterLink", "UNSAFE_isDraggable", "interactionName"];
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
8
7
|
import { forwardRef, memo, useCallback, useContext } from 'react';
|
|
9
|
-
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
|
-
import { jsx } from '@emotion/react';
|
|
12
8
|
import { useRouterLink } from '@atlaskit/app-provider';
|
|
13
|
-
import { propDeprecationWarning } from '@atlaskit/ds-lib/deprecation-warning';
|
|
14
|
-
import noop from '@atlaskit/ds-lib/noop';
|
|
15
9
|
import InteractionContext from '@atlaskit/interaction-context';
|
|
16
10
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
11
|
import MenuItemPrimitive from '../internal/components/menu-item-primitive';
|
|
@@ -34,8 +28,6 @@ var LinkItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(
|
|
|
34
28
|
function (props, ref) {
|
|
35
29
|
var children = props.children,
|
|
36
30
|
href = props.href,
|
|
37
|
-
_props$cssFn = props.cssFn,
|
|
38
|
-
cssFn = _props$cssFn === void 0 ? noop : _props$cssFn,
|
|
39
31
|
description = props.description,
|
|
40
32
|
iconAfter = props.iconAfter,
|
|
41
33
|
iconBefore = props.iconBefore,
|
|
@@ -45,7 +37,6 @@ function (props, ref) {
|
|
|
45
37
|
isSelected = _props$isSelected === void 0 ? false : _props$isSelected,
|
|
46
38
|
onClick = props.onClick,
|
|
47
39
|
testId = props.testId,
|
|
48
|
-
overrides = props.overrides,
|
|
49
40
|
onMouseDown = props.onMouseDown,
|
|
50
41
|
shouldTitleWrap = props.shouldTitleWrap,
|
|
51
42
|
shouldDescriptionWrap = props.shouldDescriptionWrap,
|
|
@@ -78,33 +69,23 @@ function (props, ref) {
|
|
|
78
69
|
*/
|
|
79
70
|
var isRouterLink = !UNSAFE_shouldDisableRouterLink && RouterLink && !isExternal && !isNonHttpBased && !isEmptyHref;
|
|
80
71
|
var Component = isRouterLink ? RouterLink : 'a';
|
|
81
|
-
|
|
82
|
-
);
|
|
83
|
-
return jsx(MenuItemPrimitive, _extends({}, rest, {
|
|
72
|
+
return /*#__PURE__*/React.createElement(MenuItemPrimitive, _extends({}, rest, {
|
|
84
73
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
85
|
-
className: UNSAFE_className
|
|
86
|
-
// eslint-disable-next-line @repo/internal/react/no-unsafe-overrides
|
|
87
|
-
,
|
|
88
|
-
overrides: overrides,
|
|
74
|
+
className: UNSAFE_className,
|
|
89
75
|
iconBefore: iconBefore,
|
|
90
76
|
iconAfter: iconAfter,
|
|
91
77
|
isSelected: isSelected,
|
|
92
78
|
isDisabled: isDisabled,
|
|
79
|
+
isTitleHeading: false,
|
|
93
80
|
description: description,
|
|
94
81
|
shouldTitleWrap: shouldTitleWrap,
|
|
95
82
|
shouldDescriptionWrap: shouldDescriptionWrap,
|
|
96
|
-
css:
|
|
97
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
98
|
-
cssFn({
|
|
99
|
-
isSelected: isSelected,
|
|
100
|
-
isDisabled: isDisabled
|
|
101
|
-
}),
|
|
102
83
|
title: children,
|
|
103
84
|
testId: testId && "".concat(testId, "--primitive")
|
|
104
85
|
}), function (_ref) {
|
|
105
86
|
var children = _ref.children,
|
|
106
87
|
className = _ref.className;
|
|
107
|
-
return
|
|
88
|
+
return /*#__PURE__*/React.createElement(Component, _extends({
|
|
108
89
|
"data-testid": testId,
|
|
109
90
|
"data-is-router-link": testId ? isRouterLink ? 'true' : 'false' : undefined,
|
|
110
91
|
"data-vc": "link-item"
|
|
@@ -61,12 +61,9 @@ var SkeletonHeadingItem = function SkeletonHeadingItem(_ref) {
|
|
|
61
61
|
var className = _ref2.className;
|
|
62
62
|
return jsx("div", {
|
|
63
63
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
64
|
-
className: className
|
|
65
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
66
|
-
,
|
|
64
|
+
className: className,
|
|
67
65
|
style: {
|
|
68
66
|
'--width': width
|
|
69
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
70
67
|
},
|
|
71
68
|
css: [skeletonStyles, width ? customWidthStyles : defaultWidthStyles,
|
|
72
69
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
@@ -130,12 +130,9 @@ var SkeletonItem = function SkeletonItem(_ref) {
|
|
|
130
130
|
var className = _ref2.className;
|
|
131
131
|
return jsx("div", {
|
|
132
132
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
133
|
-
className: className
|
|
134
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
135
|
-
,
|
|
133
|
+
className: className,
|
|
136
134
|
style: {
|
|
137
135
|
'--width': width
|
|
138
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
139
136
|
},
|
|
140
137
|
css: [skeletonStyles, (hasAvatar || hasIcon) && beforeElementStyles, hasAvatar && avatarStyles, hasIcon && iconStyles, width ? customWidthStyles : defaultWidthStyles,
|
|
141
138
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["children", "overrides", "title", "titleId", "testId", "isScrollable", "hasSeparator", "id", "isList", "className"];
|
|
4
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
5
4
|
/**
|
|
6
5
|
* @jsxRuntime classic
|
|
7
6
|
* @jsx jsx
|
|
@@ -140,9 +139,7 @@ var Section = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
140
139
|
// NOTE: Firefox allows elements that have "overflow: auto" to gain focus (as if it had tab-index="0")
|
|
141
140
|
// We have made a deliberate choice to leave this behaviour as is.
|
|
142
141
|
,
|
|
143
|
-
css: [sectionStyles, isScrollable ? scrollableStyles : unscrollableStyles, hasSeparator ?
|
|
144
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
145
|
-
thinSeparatorStyles : noSeparatorStyles],
|
|
142
|
+
css: [sectionStyles, isScrollable ? scrollableStyles : unscrollableStyles, hasSeparator ? thinSeparatorStyles : noSeparatorStyles],
|
|
146
143
|
"aria-label": title,
|
|
147
144
|
"aria-labelledby": titleId,
|
|
148
145
|
"data-testid": testId,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import type { MenuItemPrimitiveProps } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* __Menu item primitive__
|
|
@@ -14,5 +14,5 @@ import type { MenuItemPrimitiveProps } from '../../types';
|
|
|
14
14
|
* </MenuItemPrimitive>
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
|
-
declare const MenuItemPrimitive: ({ children, title, description, iconAfter, iconBefore,
|
|
17
|
+
declare const MenuItemPrimitive: ({ children, title, description, iconAfter, iconBefore, className: UNSAFE_externalClassName, shouldTitleWrap, shouldDescriptionWrap, isDisabled, isSelected, isTitleHeading, testId, }: MenuItemPrimitiveProps) => JSX.Element;
|
|
18
18
|
export default MenuItemPrimitive;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -126,32 +126,25 @@ export interface SectionProps {
|
|
|
126
126
|
}
|
|
127
127
|
export interface MenuItemPrimitiveProps {
|
|
128
128
|
children: (props: {
|
|
129
|
-
className
|
|
129
|
+
className?: string;
|
|
130
130
|
children: React.ReactNode;
|
|
131
131
|
}) => JSX.Element;
|
|
132
132
|
title: React.ReactNode | undefined;
|
|
133
133
|
description: React.ReactNode | undefined;
|
|
134
134
|
iconAfter: React.ReactNode | undefined;
|
|
135
135
|
iconBefore: React.ReactNode | undefined;
|
|
136
|
-
/**
|
|
137
|
-
* @deprecated This API is deprecated and will be removed in a future release. See DSP-2676 for more information.
|
|
138
|
-
*/
|
|
139
|
-
overrides: Overrides | undefined;
|
|
140
136
|
shouldTitleWrap: boolean | undefined;
|
|
141
137
|
shouldDescriptionWrap: boolean | undefined;
|
|
142
138
|
isDisabled: boolean | undefined;
|
|
143
139
|
isSelected: boolean | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* @deprecated This API exists to support functionality in `@atlaskit/side-navigation` and should not be used. Once the new navigation is fully rolled out, this prop will be removed.
|
|
142
|
+
*/
|
|
143
|
+
isTitleHeading: boolean | undefined;
|
|
144
144
|
className?: string;
|
|
145
145
|
testId?: string;
|
|
146
146
|
}
|
|
147
147
|
export interface MenuItemProps {
|
|
148
|
-
/**
|
|
149
|
-
* A function that overrides the styles of the component.
|
|
150
|
-
* It receives the current styles and state and expects a styles object.
|
|
151
|
-
*
|
|
152
|
-
* @deprecated This API is deprecated and will be removed in a future release. See DSP-2676 for more information.
|
|
153
|
-
*/
|
|
154
|
-
cssFn?: CSSFn;
|
|
155
148
|
/**
|
|
156
149
|
* Not recommended for general use as it enables unsafe style overrides.
|
|
157
150
|
*/
|
|
@@ -197,12 +190,6 @@ export interface MenuItemProps {
|
|
|
197
190
|
* serving as a hook for automated tests.
|
|
198
191
|
*/
|
|
199
192
|
testId?: string;
|
|
200
|
-
/**
|
|
201
|
-
* Custom overrides for the composed components.
|
|
202
|
-
*
|
|
203
|
-
* @deprecated This API is deprecated and will be removed in a future release. See DSP-2676 for more information.
|
|
204
|
-
*/
|
|
205
|
-
overrides?: Overrides;
|
|
206
193
|
/**
|
|
207
194
|
* When `true`, the title of the item will wrap multiple lines if it's long enough.
|
|
208
195
|
*/
|
|
@@ -211,6 +198,11 @@ export interface MenuItemProps {
|
|
|
211
198
|
* When `true`, the description of the item will wrap multiple lines if it's long enough.
|
|
212
199
|
*/
|
|
213
200
|
shouldDescriptionWrap?: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* When `true`, the title of the item will render as a `h2` rather than a `span`
|
|
203
|
+
* @deprecated This API exists to support functionality in `@atlaskit/side-navigation` and should not be used. Once the new navigation is fully rolled out, this prop will be removed.
|
|
204
|
+
*/
|
|
205
|
+
isTitleHeading?: boolean;
|
|
214
206
|
/**
|
|
215
207
|
* An optional name used to identify events for [React UFO (Unified Frontend Observability) press interactions](https://developer.atlassian.com/platform/ufo/react-ufo/react-ufo/getting-started/#quick-start--press-interactions). For more information, see [React UFO integration into Design System components](https://go.atlassian.com/react-ufo-dst-integration).
|
|
216
208
|
*/
|
|
@@ -265,7 +257,7 @@ export interface CustomItemComponentProps {
|
|
|
265
257
|
* Class to apply to the root container of the custom component.
|
|
266
258
|
* Ensure this has been applied so the item styling is consistent.
|
|
267
259
|
*/
|
|
268
|
-
className
|
|
260
|
+
className?: string;
|
|
269
261
|
/**
|
|
270
262
|
* Test ID that's passed through to the custom component.
|
|
271
263
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import type { MenuItemPrimitiveProps } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* __Menu item primitive__
|
|
@@ -14,5 +14,5 @@ import type { MenuItemPrimitiveProps } from '../../types';
|
|
|
14
14
|
* </MenuItemPrimitive>
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
|
-
declare const MenuItemPrimitive: ({ children, title, description, iconAfter, iconBefore,
|
|
17
|
+
declare const MenuItemPrimitive: ({ children, title, description, iconAfter, iconBefore, className: UNSAFE_externalClassName, shouldTitleWrap, shouldDescriptionWrap, isDisabled, isSelected, isTitleHeading, testId, }: MenuItemPrimitiveProps) => JSX.Element;
|
|
18
18
|
export default MenuItemPrimitive;
|
|
@@ -126,32 +126,25 @@ export interface SectionProps {
|
|
|
126
126
|
}
|
|
127
127
|
export interface MenuItemPrimitiveProps {
|
|
128
128
|
children: (props: {
|
|
129
|
-
className
|
|
129
|
+
className?: string;
|
|
130
130
|
children: React.ReactNode;
|
|
131
131
|
}) => JSX.Element;
|
|
132
132
|
title: React.ReactNode | undefined;
|
|
133
133
|
description: React.ReactNode | undefined;
|
|
134
134
|
iconAfter: React.ReactNode | undefined;
|
|
135
135
|
iconBefore: React.ReactNode | undefined;
|
|
136
|
-
/**
|
|
137
|
-
* @deprecated This API is deprecated and will be removed in a future release. See DSP-2676 for more information.
|
|
138
|
-
*/
|
|
139
|
-
overrides: Overrides | undefined;
|
|
140
136
|
shouldTitleWrap: boolean | undefined;
|
|
141
137
|
shouldDescriptionWrap: boolean | undefined;
|
|
142
138
|
isDisabled: boolean | undefined;
|
|
143
139
|
isSelected: boolean | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* @deprecated This API exists to support functionality in `@atlaskit/side-navigation` and should not be used. Once the new navigation is fully rolled out, this prop will be removed.
|
|
142
|
+
*/
|
|
143
|
+
isTitleHeading: boolean | undefined;
|
|
144
144
|
className?: string;
|
|
145
145
|
testId?: string;
|
|
146
146
|
}
|
|
147
147
|
export interface MenuItemProps {
|
|
148
|
-
/**
|
|
149
|
-
* A function that overrides the styles of the component.
|
|
150
|
-
* It receives the current styles and state and expects a styles object.
|
|
151
|
-
*
|
|
152
|
-
* @deprecated This API is deprecated and will be removed in a future release. See DSP-2676 for more information.
|
|
153
|
-
*/
|
|
154
|
-
cssFn?: CSSFn;
|
|
155
148
|
/**
|
|
156
149
|
* Not recommended for general use as it enables unsafe style overrides.
|
|
157
150
|
*/
|
|
@@ -197,12 +190,6 @@ export interface MenuItemProps {
|
|
|
197
190
|
* serving as a hook for automated tests.
|
|
198
191
|
*/
|
|
199
192
|
testId?: string;
|
|
200
|
-
/**
|
|
201
|
-
* Custom overrides for the composed components.
|
|
202
|
-
*
|
|
203
|
-
* @deprecated This API is deprecated and will be removed in a future release. See DSP-2676 for more information.
|
|
204
|
-
*/
|
|
205
|
-
overrides?: Overrides;
|
|
206
193
|
/**
|
|
207
194
|
* When `true`, the title of the item will wrap multiple lines if it's long enough.
|
|
208
195
|
*/
|
|
@@ -211,6 +198,11 @@ export interface MenuItemProps {
|
|
|
211
198
|
* When `true`, the description of the item will wrap multiple lines if it's long enough.
|
|
212
199
|
*/
|
|
213
200
|
shouldDescriptionWrap?: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* When `true`, the title of the item will render as a `h2` rather than a `span`
|
|
203
|
+
* @deprecated This API exists to support functionality in `@atlaskit/side-navigation` and should not be used. Once the new navigation is fully rolled out, this prop will be removed.
|
|
204
|
+
*/
|
|
205
|
+
isTitleHeading?: boolean;
|
|
214
206
|
/**
|
|
215
207
|
* An optional name used to identify events for [React UFO (Unified Frontend Observability) press interactions](https://developer.atlassian.com/platform/ufo/react-ufo/react-ufo/getting-started/#quick-start--press-interactions). For more information, see [React UFO integration into Design System components](https://go.atlassian.com/react-ufo-dst-integration).
|
|
216
208
|
*/
|
|
@@ -265,7 +257,7 @@ export interface CustomItemComponentProps {
|
|
|
265
257
|
* Class to apply to the root container of the custom component.
|
|
266
258
|
* Ensure this has been applied so the item styling is consistent.
|
|
267
259
|
*/
|
|
268
|
-
className
|
|
260
|
+
className?: string;
|
|
269
261
|
/**
|
|
270
262
|
* Test ID that's passed through to the custom component.
|
|
271
263
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/menu",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "A list of options to help users navigate, or perform actions.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,15 +41,16 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@atlaskit/app-provider": "^2.
|
|
44
|
+
"@atlaskit/app-provider": "^2.1.0",
|
|
45
45
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
46
46
|
"@atlaskit/focus-ring": "^3.0.0",
|
|
47
47
|
"@atlaskit/interaction-context": "^3.0.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
|
-
"@atlaskit/primitives": "^14.
|
|
49
|
+
"@atlaskit/primitives": "^14.4.0",
|
|
50
50
|
"@atlaskit/theme": "^18.0.0",
|
|
51
|
-
"@atlaskit/tokens": "^4.
|
|
51
|
+
"@atlaskit/tokens": "^4.8.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
|
+
"@compiled/react": "^0.18.3",
|
|
53
54
|
"@emotion/react": "^11.7.1"
|
|
54
55
|
},
|
|
55
56
|
"peerDependencies": {
|
|
@@ -57,17 +58,17 @@
|
|
|
57
58
|
"react-dom": "^18.2.0"
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
|
60
|
-
"@af/accessibility-testing": "
|
|
61
|
-
"@af/integration-testing": "
|
|
62
|
-
"@af/visual-regression": "
|
|
63
|
-
"@atlaskit/button": "^
|
|
61
|
+
"@af/accessibility-testing": "workspace:^",
|
|
62
|
+
"@af/integration-testing": "workspace:^",
|
|
63
|
+
"@af/visual-regression": "workspace:^",
|
|
64
|
+
"@atlaskit/button": "^23.0.0",
|
|
64
65
|
"@atlaskit/docs": "^10.0.0",
|
|
65
|
-
"@atlaskit/icon": "^25.
|
|
66
|
+
"@atlaskit/icon": "^25.6.0",
|
|
66
67
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
67
|
-
"@atlaskit/icon-object": "^7.
|
|
68
|
-
"@atlaskit/link": "^3.
|
|
68
|
+
"@atlaskit/icon-object": "^7.1.0",
|
|
69
|
+
"@atlaskit/link": "^3.1.0",
|
|
69
70
|
"@atlaskit/section-message": "^8.2.0",
|
|
70
|
-
"@atlaskit/visual-regression": "
|
|
71
|
+
"@atlaskit/visual-regression": "workspace:^",
|
|
71
72
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
72
73
|
"@emotion/jest": "^11.8.0",
|
|
73
74
|
"@testing-library/react": "^13.4.0",
|
|
@@ -126,6 +127,9 @@
|
|
|
126
127
|
},
|
|
127
128
|
"platform_button_item-add-ufo-metrics": {
|
|
128
129
|
"type": "boolean"
|
|
130
|
+
},
|
|
131
|
+
"platform_fix_a11y_selected_and_hovered_state_color": {
|
|
132
|
+
"type": "boolean"
|
|
129
133
|
}
|
|
130
134
|
},
|
|
131
135
|
"homepage": "https://atlassian.design/components/menu/"
|