@atlaskit/menu 3.1.0 → 3.1.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 +15 -0
- package/dist/cjs/internal/components/menu-item-primitive.js +2 -2
- package/dist/cjs/menu-item/heading-item.js +1 -1
- package/dist/es2019/internal/components/menu-item-primitive.js +2 -2
- package/dist/es2019/menu-item/heading-item.js +1 -1
- package/dist/esm/internal/components/menu-item-primitive.js +2 -2
- package/dist/esm/menu-item/heading-item.js +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/menu
|
|
2
2
|
|
|
3
|
+
## 3.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#127093](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/127093)
|
|
8
|
+
[`1378ea7a99ce1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1378ea7a99ce1) -
|
|
9
|
+
Upgrades `jscodeshift` to handle generics properly.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 3.1.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 3.1.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -52,14 +52,14 @@ var truncateStyles = (0, _react2.css)({
|
|
|
52
52
|
whiteSpace: 'nowrap'
|
|
53
53
|
});
|
|
54
54
|
var titleStyles = (0, _react2.css)({
|
|
55
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
55
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
56
56
|
});
|
|
57
57
|
var wordBreakStyles = (0, _react2.css)({
|
|
58
58
|
wordBreak: 'break-word'
|
|
59
59
|
});
|
|
60
60
|
var descriptionStyles = (0, _react2.css)({
|
|
61
61
|
color: "var(--ds-text-subtlest, ".concat(_colors.N200, ")"),
|
|
62
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
62
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
63
63
|
});
|
|
64
64
|
var disabledDescriptionStyles = (0, _react2.css)({
|
|
65
65
|
color: "var(--ds-text-disabled, ".concat(_colors.N200, ")")
|
|
@@ -20,7 +20,7 @@ var _excluded = ["children", "testId", "headingLevel", "id", "cssFn", "className
|
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
21
|
var headingStyles = (0, _react2.css)({
|
|
22
22
|
color: "var(--ds-text-subtle, ".concat(_colors.N300, ")"),
|
|
23
|
-
font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
23
|
+
font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
24
24
|
paddingBlock: "var(--ds-space-0, 0px)",
|
|
25
25
|
paddingInline: "var(--ds-space-200, 16px)"
|
|
26
26
|
});
|
|
@@ -41,14 +41,14 @@ const truncateStyles = css({
|
|
|
41
41
|
whiteSpace: 'nowrap'
|
|
42
42
|
});
|
|
43
43
|
const titleStyles = css({
|
|
44
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
44
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
45
45
|
});
|
|
46
46
|
const wordBreakStyles = css({
|
|
47
47
|
wordBreak: 'break-word'
|
|
48
48
|
});
|
|
49
49
|
const descriptionStyles = css({
|
|
50
50
|
color: `var(--ds-text-subtlest, ${N200})`,
|
|
51
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
51
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
52
52
|
});
|
|
53
53
|
const disabledDescriptionStyles = css({
|
|
54
54
|
color: `var(--ds-text-disabled, ${N200})`
|
|
@@ -12,7 +12,7 @@ import noop from '@atlaskit/ds-lib/noop';
|
|
|
12
12
|
import { N300 } from '@atlaskit/theme/colors';
|
|
13
13
|
const headingStyles = css({
|
|
14
14
|
color: `var(--ds-text-subtle, ${N300})`,
|
|
15
|
-
font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
15
|
+
font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
16
16
|
paddingBlock: "var(--ds-space-0, 0px)",
|
|
17
17
|
paddingInline: "var(--ds-space-200, 16px)"
|
|
18
18
|
});
|
|
@@ -44,14 +44,14 @@ var truncateStyles = css({
|
|
|
44
44
|
whiteSpace: 'nowrap'
|
|
45
45
|
});
|
|
46
46
|
var titleStyles = css({
|
|
47
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
47
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
48
48
|
});
|
|
49
49
|
var wordBreakStyles = css({
|
|
50
50
|
wordBreak: 'break-word'
|
|
51
51
|
});
|
|
52
52
|
var descriptionStyles = css({
|
|
53
53
|
color: "var(--ds-text-subtlest, ".concat(N200, ")"),
|
|
54
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
54
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
55
55
|
});
|
|
56
56
|
var disabledDescriptionStyles = css({
|
|
57
57
|
color: "var(--ds-text-disabled, ".concat(N200, ")")
|
|
@@ -14,7 +14,7 @@ import noop from '@atlaskit/ds-lib/noop';
|
|
|
14
14
|
import { N300 } from '@atlaskit/theme/colors';
|
|
15
15
|
var headingStyles = css({
|
|
16
16
|
color: "var(--ds-text-subtle, ".concat(N300, ")"),
|
|
17
|
-
font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
17
|
+
font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
18
18
|
paddingBlock: "var(--ds-space-0, 0px)",
|
|
19
19
|
paddingInline: "var(--ds-space-200, 16px)"
|
|
20
20
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/menu",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "A list of options to help users navigate, or perform actions.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,9 +46,9 @@
|
|
|
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.
|
|
50
|
-
"@atlaskit/theme": "^
|
|
51
|
-
"@atlaskit/tokens": "^4.
|
|
49
|
+
"@atlaskit/primitives": "^14.2.0",
|
|
50
|
+
"@atlaskit/theme": "^18.0.0",
|
|
51
|
+
"@atlaskit/tokens": "^4.5.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
53
|
"@emotion/react": "^11.7.1"
|
|
54
54
|
},
|
|
@@ -57,22 +57,22 @@
|
|
|
57
57
|
"react-dom": "^18.2.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@af/accessibility-testing": "
|
|
61
|
-
"@af/integration-testing": "
|
|
62
|
-
"@af/visual-regression": "
|
|
60
|
+
"@af/accessibility-testing": "^2.0.0",
|
|
61
|
+
"@af/integration-testing": "^0.5.0",
|
|
62
|
+
"@af/visual-regression": "^1.3.0",
|
|
63
63
|
"@atlaskit/button": "^21.1.0",
|
|
64
|
-
"@atlaskit/docs": "
|
|
65
|
-
"@atlaskit/icon": "^
|
|
64
|
+
"@atlaskit/docs": "^10.0.0",
|
|
65
|
+
"@atlaskit/icon": "^25.0.0",
|
|
66
66
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
67
67
|
"@atlaskit/icon-object": "^7.0.0",
|
|
68
|
-
"@atlaskit/link": "
|
|
69
|
-
"@atlaskit/section-message": "
|
|
70
|
-
"@atlaskit/visual-regression": "
|
|
71
|
-
"@atlassian/feature-flags-test-utils": "
|
|
68
|
+
"@atlaskit/link": "^3.0.0",
|
|
69
|
+
"@atlaskit/section-message": "^8.2.0",
|
|
70
|
+
"@atlaskit/visual-regression": "^0.10.0",
|
|
71
|
+
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
72
72
|
"@emotion/jest": "^11.8.0",
|
|
73
73
|
"@testing-library/react": "^13.4.0",
|
|
74
74
|
"ast-types": "^0.13.3",
|
|
75
|
-
"jscodeshift": "^0.
|
|
75
|
+
"jscodeshift": "^0.16.1",
|
|
76
76
|
"typescript": "~5.4.2"
|
|
77
77
|
},
|
|
78
78
|
"keywords": [
|