@atlaskit/menu 1.7.6 → 1.7.7
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 +6 -0
- package/dist/cjs/menu-item/button-item.js +1 -1
- package/dist/cjs/menu-item/custom-item.js +1 -1
- package/dist/cjs/menu-item/heading-item.js +1 -1
- package/dist/cjs/menu-item/link-item.js +1 -1
- package/dist/cjs/menu-item/skeleton-heading-item.js +1 -1
- package/dist/cjs/menu-item/skeleton-item.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/menu-item/button-item.js +1 -1
- package/dist/es2019/menu-item/custom-item.js +1 -1
- package/dist/es2019/menu-item/heading-item.js +1 -1
- package/dist/es2019/menu-item/link-item.js +1 -1
- package/dist/es2019/menu-item/skeleton-heading-item.js +1 -1
- package/dist/es2019/menu-item/skeleton-item.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/menu-item/button-item.js +1 -1
- package/dist/esm/menu-item/custom-item.js +1 -1
- package/dist/esm/menu-item/heading-item.js +1 -1
- package/dist/esm/menu-item/link-item.js +1 -1
- package/dist/esm/menu-item/skeleton-heading-item.js +1 -1
- package/dist/esm/menu-item/skeleton-item.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -61,7 +61,7 @@ function (props, ref) {
|
|
|
61
61
|
shouldTitleWrap: shouldTitleWrap,
|
|
62
62
|
shouldDescriptionWrap: shouldDescriptionWrap,
|
|
63
63
|
css:
|
|
64
|
-
// eslint-disable-next-line @
|
|
64
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
65
65
|
cssFn({
|
|
66
66
|
isSelected: isSelected,
|
|
67
67
|
isDisabled: isDisabled
|
|
@@ -65,7 +65,7 @@ var CustomItem = /*#__PURE__*/(0, _react.memo)( /*#__PURE__*/(0, _react.forwardR
|
|
|
65
65
|
isDisabled: isDisabled,
|
|
66
66
|
shouldTitleWrap: shouldTitleWrap,
|
|
67
67
|
shouldDescriptionWrap: shouldDescriptionWrap
|
|
68
|
-
// eslint-disable-next-line @
|
|
68
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
69
69
|
,
|
|
70
70
|
css: (0, _react2.css)(cssFn({
|
|
71
71
|
isDisabled: isDisabled,
|
|
@@ -47,7 +47,7 @@ var HeadingItem = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
|
47
47
|
|
|
48
48
|
return (0, _react2.jsx)("div", (0, _extends2.default)({
|
|
49
49
|
css: [headingStyles,
|
|
50
|
-
// eslint-disable-next-line @
|
|
50
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
51
51
|
(0, _react2.css)(cssFn(undefined))],
|
|
52
52
|
"data-testid": testId,
|
|
53
53
|
"data-ds--menu--heading-item": true,
|
|
@@ -65,7 +65,7 @@ function (props, ref) {
|
|
|
65
65
|
shouldTitleWrap: shouldTitleWrap,
|
|
66
66
|
shouldDescriptionWrap: shouldDescriptionWrap,
|
|
67
67
|
css:
|
|
68
|
-
// eslint-disable-next-line @
|
|
68
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
69
69
|
cssFn({
|
|
70
70
|
isSelected: isSelected,
|
|
71
71
|
isDisabled: isDisabled
|
|
@@ -63,7 +63,7 @@ var SkeletonHeadingItem = function SkeletonHeadingItem(_ref) {
|
|
|
63
63
|
'--width': width
|
|
64
64
|
},
|
|
65
65
|
css: [skeletonStyles, width ? customWidthStyles : defaultWidthStyles,
|
|
66
|
-
// eslint-disable-next-line @
|
|
66
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
67
67
|
(0, _react.css)(cssFn(undefined))],
|
|
68
68
|
"data-ds--menu--skeleton-heading-item": true,
|
|
69
69
|
"data-testid": testId
|
|
@@ -120,7 +120,7 @@ var SkeletonItem = function SkeletonItem(_ref) {
|
|
|
120
120
|
'--width': width
|
|
121
121
|
},
|
|
122
122
|
css: [skeletonStyles, (hasAvatar || hasIcon) && beforeElementStyles, hasAvatar && avatarStyles, hasIcon && iconStyles, width ? customWidthStyles : defaultWidthStyles,
|
|
123
|
-
// eslint-disable-next-line @
|
|
123
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
124
124
|
(0, _react.css)(cssFn())],
|
|
125
125
|
"data-testid": testId
|
|
126
126
|
});
|
package/dist/cjs/version.json
CHANGED
|
@@ -51,7 +51,7 @@ const ButtonItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(
|
|
|
51
51
|
shouldTitleWrap: shouldTitleWrap,
|
|
52
52
|
shouldDescriptionWrap: shouldDescriptionWrap,
|
|
53
53
|
css:
|
|
54
|
-
// eslint-disable-next-line @
|
|
54
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
55
55
|
cssFn({
|
|
56
56
|
isSelected,
|
|
57
57
|
isDisabled
|
|
@@ -55,7 +55,7 @@ const CustomItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
|
55
55
|
isDisabled: isDisabled,
|
|
56
56
|
shouldTitleWrap: shouldTitleWrap,
|
|
57
57
|
shouldDescriptionWrap: shouldDescriptionWrap
|
|
58
|
-
// eslint-disable-next-line @
|
|
58
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
59
59
|
,
|
|
60
60
|
css: css(cssFn({
|
|
61
61
|
isDisabled,
|
|
@@ -38,7 +38,7 @@ const HeadingItem = /*#__PURE__*/memo(({
|
|
|
38
38
|
|
|
39
39
|
return jsx("div", _extends({
|
|
40
40
|
css: [headingStyles,
|
|
41
|
-
// eslint-disable-next-line @
|
|
41
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
42
42
|
css(cssFn(undefined))],
|
|
43
43
|
"data-testid": testId,
|
|
44
44
|
"data-ds--menu--heading-item": true,
|
|
@@ -55,7 +55,7 @@ const LinkItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(
|
|
|
55
55
|
shouldTitleWrap: shouldTitleWrap,
|
|
56
56
|
shouldDescriptionWrap: shouldDescriptionWrap,
|
|
57
57
|
css:
|
|
58
|
-
// eslint-disable-next-line @
|
|
58
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
59
59
|
cssFn({
|
|
60
60
|
isSelected,
|
|
61
61
|
isDisabled
|
|
@@ -55,7 +55,7 @@ const SkeletonHeadingItem = ({
|
|
|
55
55
|
'--width': width
|
|
56
56
|
},
|
|
57
57
|
css: [skeletonStyles, width ? customWidthStyles : defaultWidthStyles,
|
|
58
|
-
// eslint-disable-next-line @
|
|
58
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
59
59
|
css(cssFn(undefined))],
|
|
60
60
|
"data-ds--menu--skeleton-heading-item": true,
|
|
61
61
|
"data-testid": testId
|
|
@@ -114,7 +114,7 @@ const SkeletonItem = ({
|
|
|
114
114
|
'--width': width
|
|
115
115
|
},
|
|
116
116
|
css: [skeletonStyles, (hasAvatar || hasIcon) && beforeElementStyles, hasAvatar && avatarStyles, hasIcon && iconStyles, width ? customWidthStyles : defaultWidthStyles,
|
|
117
|
-
// eslint-disable-next-line @
|
|
117
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
118
118
|
css(cssFn())],
|
|
119
119
|
"data-testid": testId
|
|
120
120
|
}));
|
package/dist/es2019/version.json
CHANGED
|
@@ -54,7 +54,7 @@ function (props, ref) {
|
|
|
54
54
|
shouldTitleWrap: shouldTitleWrap,
|
|
55
55
|
shouldDescriptionWrap: shouldDescriptionWrap,
|
|
56
56
|
css:
|
|
57
|
-
// eslint-disable-next-line @
|
|
57
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
58
58
|
cssFn({
|
|
59
59
|
isSelected: isSelected,
|
|
60
60
|
isDisabled: isDisabled
|
|
@@ -59,7 +59,7 @@ var CustomItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function (_ref, ref)
|
|
|
59
59
|
isDisabled: isDisabled,
|
|
60
60
|
shouldTitleWrap: shouldTitleWrap,
|
|
61
61
|
shouldDescriptionWrap: shouldDescriptionWrap
|
|
62
|
-
// eslint-disable-next-line @
|
|
62
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
63
63
|
,
|
|
64
64
|
css: css(cssFn({
|
|
65
65
|
isDisabled: isDisabled,
|
|
@@ -40,7 +40,7 @@ var HeadingItem = /*#__PURE__*/memo(function (_ref) {
|
|
|
40
40
|
|
|
41
41
|
return jsx("div", _extends({
|
|
42
42
|
css: [headingStyles,
|
|
43
|
-
// eslint-disable-next-line @
|
|
43
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
44
44
|
css(cssFn(undefined))],
|
|
45
45
|
"data-testid": testId,
|
|
46
46
|
"data-ds--menu--heading-item": true,
|
|
@@ -58,7 +58,7 @@ function (props, ref) {
|
|
|
58
58
|
shouldTitleWrap: shouldTitleWrap,
|
|
59
59
|
shouldDescriptionWrap: shouldDescriptionWrap,
|
|
60
60
|
css:
|
|
61
|
-
// eslint-disable-next-line @
|
|
61
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
62
62
|
cssFn({
|
|
63
63
|
isSelected: isSelected,
|
|
64
64
|
isDisabled: isDisabled
|
|
@@ -56,7 +56,7 @@ var SkeletonHeadingItem = function SkeletonHeadingItem(_ref) {
|
|
|
56
56
|
'--width': width
|
|
57
57
|
},
|
|
58
58
|
css: [skeletonStyles, width ? customWidthStyles : defaultWidthStyles,
|
|
59
|
-
// eslint-disable-next-line @
|
|
59
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
60
60
|
css(cssFn(undefined))],
|
|
61
61
|
"data-ds--menu--skeleton-heading-item": true,
|
|
62
62
|
"data-testid": testId
|
|
@@ -115,7 +115,7 @@ var SkeletonItem = function SkeletonItem(_ref) {
|
|
|
115
115
|
'--width': width
|
|
116
116
|
},
|
|
117
117
|
css: [skeletonStyles, (hasAvatar || hasIcon) && beforeElementStyles, hasAvatar && avatarStyles, hasIcon && iconStyles, width ? customWidthStyles : defaultWidthStyles,
|
|
118
|
-
// eslint-disable-next-line @
|
|
118
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
119
119
|
css(cssFn())],
|
|
120
120
|
"data-testid": testId
|
|
121
121
|
});
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/menu",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.7",
|
|
4
4
|
"description": "A collection of composable menu components that can be used anywhere.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
52
52
|
"@atlaskit/focus-ring": "^1.3.0",
|
|
53
53
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
54
|
-
"@atlaskit/primitives": "^0.
|
|
54
|
+
"@atlaskit/primitives": "^0.10.0",
|
|
55
55
|
"@atlaskit/theme": "^12.5.0",
|
|
56
56
|
"@atlaskit/tokens": "^1.5.0",
|
|
57
57
|
"@babel/runtime": "^7.0.0",
|