@atlaskit/dropdown-menu 14.0.2 → 14.1.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 +20 -0
- package/dist/cjs/dropdown-menu-item-group.js +0 -1
- package/dist/cjs/internal/components/checkbox-icon.js +2 -2
- package/dist/cjs/internal/components/menu-wrapper.js +2 -1
- package/dist/cjs/internal/components/radio-icon.js +2 -2
- package/dist/es2019/dropdown-menu-item-group.js +0 -1
- package/dist/es2019/internal/components/checkbox-icon.js +2 -2
- package/dist/es2019/internal/components/menu-wrapper.js +2 -1
- package/dist/es2019/internal/components/radio-icon.js +2 -2
- package/dist/esm/dropdown-menu-item-group.js +0 -1
- package/dist/esm/internal/components/checkbox-icon.js +2 -2
- package/dist/esm/internal/components/menu-wrapper.js +2 -1
- package/dist/esm/internal/components/radio-icon.js +2 -2
- package/package.json +7 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/dropdown-menu
|
|
2
2
|
|
|
3
|
+
## 14.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#142856](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142856)
|
|
8
|
+
[`578fbeefd6128`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/578fbeefd6128) -
|
|
9
|
+
Remove feature flag to allow new controls
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 14.0.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#142008](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142008)
|
|
20
|
+
[`aebe96bb58f46`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/aebe96bb58f46) -
|
|
21
|
+
Improve semantics while loading for assistive technologies.
|
|
22
|
+
|
|
3
23
|
## 14.0.2
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -44,7 +44,6 @@ var DropdownMenuItemGroup = /*#__PURE__*/(0, _react.forwardRef)(function (_ref,
|
|
|
44
44
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-overrides, @atlaskit/design-system/no-deprecated-apis
|
|
45
45
|
,
|
|
46
46
|
overrides: overrides
|
|
47
|
-
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
48
47
|
}, rest), title && /*#__PURE__*/_react.default.createElement(_groupTitle.default, {
|
|
49
48
|
id: titleId,
|
|
50
49
|
title: title
|
|
@@ -26,8 +26,8 @@ var CheckboxIcon = function CheckboxIcon(_ref) {
|
|
|
26
26
|
}, /*#__PURE__*/_react.default.createElement("g", {
|
|
27
27
|
fillRule: "evenodd"
|
|
28
28
|
},
|
|
29
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
30
|
-
(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons')
|
|
29
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
30
|
+
(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("rect", {
|
|
31
31
|
stroke: checked ? "var(--ds-border-selected, ".concat(_colors.B400, ")") : "var(--ds-border-input, ".concat(_colors.N100, ")"),
|
|
32
32
|
x: "5.5",
|
|
33
33
|
y: "5.5",
|
|
@@ -31,7 +31,8 @@ var LoadingIndicator = function LoadingIndicator(_ref) {
|
|
|
31
31
|
statusLabel = _ref$statusLabel === void 0 ? 'Loading' : _ref$statusLabel,
|
|
32
32
|
testId = _ref.testId;
|
|
33
33
|
return (0, _react2.jsx)(_primitives.Box, {
|
|
34
|
-
xcss: spinnerContainerStyles
|
|
34
|
+
xcss: spinnerContainerStyles,
|
|
35
|
+
role: "menuitem"
|
|
35
36
|
}, (0, _react2.jsx)(_spinner.default, {
|
|
36
37
|
size: "small",
|
|
37
38
|
label: statusLabel,
|
|
@@ -26,8 +26,8 @@ var RadioIcon = function RadioIcon(_ref) {
|
|
|
26
26
|
}, /*#__PURE__*/_react.default.createElement("g", {
|
|
27
27
|
fillRule: "evenodd"
|
|
28
28
|
},
|
|
29
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
30
|
-
(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons')
|
|
29
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
30
|
+
(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("circle", {
|
|
31
31
|
cx: "12",
|
|
32
32
|
cy: "12",
|
|
33
33
|
r: "7.5",
|
|
@@ -34,7 +34,6 @@ const DropdownMenuItemGroup = /*#__PURE__*/forwardRef(({
|
|
|
34
34
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-overrides, @atlaskit/design-system/no-deprecated-apis
|
|
35
35
|
,
|
|
36
36
|
overrides: overrides
|
|
37
|
-
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
38
37
|
}, rest), title && /*#__PURE__*/React.createElement(GroupTitle, {
|
|
39
38
|
id: titleId,
|
|
40
39
|
title: title
|
|
@@ -20,8 +20,8 @@ const CheckboxIcon = ({
|
|
|
20
20
|
}, /*#__PURE__*/React.createElement("g", {
|
|
21
21
|
fillRule: "evenodd"
|
|
22
22
|
},
|
|
23
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
24
|
-
fg('platform-visual-refresh-icons')
|
|
23
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
24
|
+
fg('platform-visual-refresh-icons') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("rect", {
|
|
25
25
|
stroke: checked ? `var(--ds-border-selected, ${B400})` : `var(--ds-border-input, ${N100})`,
|
|
26
26
|
x: "5.5",
|
|
27
27
|
y: "5.5",
|
|
@@ -20,8 +20,8 @@ const RadioIcon = ({
|
|
|
20
20
|
}, /*#__PURE__*/React.createElement("g", {
|
|
21
21
|
fillRule: "evenodd"
|
|
22
22
|
},
|
|
23
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
24
|
-
fg('platform-visual-refresh-icons')
|
|
23
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
24
|
+
fg('platform-visual-refresh-icons') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("circle", {
|
|
25
25
|
cx: "12",
|
|
26
26
|
cy: "12",
|
|
27
27
|
r: "7.5",
|
|
@@ -35,7 +35,6 @@ var DropdownMenuItemGroup = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
35
35
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-overrides, @atlaskit/design-system/no-deprecated-apis
|
|
36
36
|
,
|
|
37
37
|
overrides: overrides
|
|
38
|
-
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
39
38
|
}, rest), title && /*#__PURE__*/React.createElement(GroupTitle, {
|
|
40
39
|
id: titleId,
|
|
41
40
|
title: title
|
|
@@ -19,8 +19,8 @@ var CheckboxIcon = function CheckboxIcon(_ref) {
|
|
|
19
19
|
}, /*#__PURE__*/React.createElement("g", {
|
|
20
20
|
fillRule: "evenodd"
|
|
21
21
|
},
|
|
22
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
23
|
-
fg('platform-visual-refresh-icons')
|
|
22
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
23
|
+
fg('platform-visual-refresh-icons') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("rect", {
|
|
24
24
|
stroke: checked ? "var(--ds-border-selected, ".concat(B400, ")") : "var(--ds-border-input, ".concat(N100, ")"),
|
|
25
25
|
x: "5.5",
|
|
26
26
|
y: "5.5",
|
|
@@ -23,7 +23,8 @@ var LoadingIndicator = function LoadingIndicator(_ref) {
|
|
|
23
23
|
statusLabel = _ref$statusLabel === void 0 ? 'Loading' : _ref$statusLabel,
|
|
24
24
|
testId = _ref.testId;
|
|
25
25
|
return jsx(Box, {
|
|
26
|
-
xcss: spinnerContainerStyles
|
|
26
|
+
xcss: spinnerContainerStyles,
|
|
27
|
+
role: "menuitem"
|
|
27
28
|
}, jsx(Spinner, {
|
|
28
29
|
size: "small",
|
|
29
30
|
label: statusLabel,
|
|
@@ -19,8 +19,8 @@ var RadioIcon = function RadioIcon(_ref) {
|
|
|
19
19
|
}, /*#__PURE__*/React.createElement("g", {
|
|
20
20
|
fillRule: "evenodd"
|
|
21
21
|
},
|
|
22
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
23
|
-
fg('platform-visual-refresh-icons')
|
|
22
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
23
|
+
fg('platform-visual-refresh-icons') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("circle", {
|
|
24
24
|
cx: "12",
|
|
25
25
|
cy: "12",
|
|
26
26
|
r: "7.5",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dropdown-menu",
|
|
3
|
-
"version": "14.0
|
|
3
|
+
"version": "14.1.0",
|
|
4
4
|
"description": "A dropdown menu displays a list of actions or options to a user.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"@atlaskit/button": "^23.0.0",
|
|
29
29
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
30
30
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
31
|
-
"@atlaskit/icon": "^25.
|
|
31
|
+
"@atlaskit/icon": "^25.6.0",
|
|
32
32
|
"@atlaskit/layering": "^2.1.0",
|
|
33
33
|
"@atlaskit/menu": "^3.2.0",
|
|
34
34
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
35
|
-
"@atlaskit/popup": "^4.
|
|
36
|
-
"@atlaskit/primitives": "^14.
|
|
35
|
+
"@atlaskit/popup": "^4.1.0",
|
|
36
|
+
"@atlaskit/primitives": "^14.4.0",
|
|
37
37
|
"@atlaskit/spinner": "^18.0.0",
|
|
38
38
|
"@atlaskit/theme": "^18.0.0",
|
|
39
|
-
"@atlaskit/tokens": "^4.
|
|
39
|
+
"@atlaskit/tokens": "^4.8.0",
|
|
40
40
|
"@babel/runtime": "^7.0.0",
|
|
41
41
|
"@emotion/react": "^11.7.1",
|
|
42
42
|
"bind-event-listener": "^3.0.0"
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"@atlaskit/app-provider": "^2.1.0",
|
|
53
53
|
"@atlaskit/atlassian-navigation": "^5.1.0",
|
|
54
54
|
"@atlaskit/avatar": "^25.0.0",
|
|
55
|
-
"@atlaskit/checkbox": "^17.
|
|
55
|
+
"@atlaskit/checkbox": "^17.1.0",
|
|
56
56
|
"@atlaskit/docs": "^10.0.0",
|
|
57
57
|
"@atlaskit/form": "^12.0.0",
|
|
58
|
-
"@atlaskit/heading": "^5.
|
|
58
|
+
"@atlaskit/heading": "^5.2.0",
|
|
59
59
|
"@atlaskit/link": "^3.1.0",
|
|
60
60
|
"@atlaskit/lozenge": "^12.2.0",
|
|
61
61
|
"@atlaskit/modal-dialog": "^14.1.0",
|
|
@@ -84,9 +84,6 @@
|
|
|
84
84
|
"platform-visual-refresh-icons": {
|
|
85
85
|
"type": "boolean"
|
|
86
86
|
},
|
|
87
|
-
"platform-icon-control-migration": {
|
|
88
|
-
"type": "boolean"
|
|
89
|
-
},
|
|
90
87
|
"select-avoid-duplicated-registered-ref": {
|
|
91
88
|
"type": "boolean"
|
|
92
89
|
},
|