@atlaskit/dropdown-menu 12.22.2 → 12.22.3
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 +8 -0
- package/dist/cjs/dropdown-menu-item.js +3 -3
- package/dist/es2019/dropdown-menu-item.js +3 -3
- package/dist/esm/dropdown-menu-item.js +3 -3
- package/dist/types/dropdown-menu-item.d.ts +3 -3
- package/dist/types-ts4.5/dropdown-menu-item.d.ts +3 -3
- package/package.json +4 -2
- package/types/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/dropdown-menu
|
|
2
2
|
|
|
3
|
+
## 12.22.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#166087](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/166087)
|
|
8
|
+
[`3ab7d7da348ab`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3ab7d7da348ab) -
|
|
9
|
+
Adds side-effect config to support Compiled css extraction in third-party apps
|
|
10
|
+
|
|
3
11
|
## 12.22.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -23,9 +23,9 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
23
23
|
*
|
|
24
24
|
* A dropdown item populates the dropdown menu with items. Every item should be inside a dropdown item group.
|
|
25
25
|
*
|
|
26
|
-
* - [Examples](https://atlassian.design/components/dropdown-item/examples)
|
|
27
|
-
* - [Code](https://atlassian.design/components/dropdown-item/code)
|
|
28
|
-
* - [Usage](https://atlassian.design/components/dropdown-item/usage)
|
|
26
|
+
* - [Examples](https://atlassian.design/components/dropdown-menu/dropdown-item/examples)
|
|
27
|
+
* - [Code](https://atlassian.design/components/dropdown-menu/dropdown-item/code)
|
|
28
|
+
* - [Usage](https://atlassian.design/components/dropdown-menu/dropdown-item/usage)
|
|
29
29
|
*/
|
|
30
30
|
var DropdownMenuItem = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
31
31
|
var children = _ref.children,
|
|
@@ -11,9 +11,9 @@ import useRegisterItemWithFocusManager from './internal/hooks/use-register-item-
|
|
|
11
11
|
*
|
|
12
12
|
* A dropdown item populates the dropdown menu with items. Every item should be inside a dropdown item group.
|
|
13
13
|
*
|
|
14
|
-
* - [Examples](https://atlassian.design/components/dropdown-item/examples)
|
|
15
|
-
* - [Code](https://atlassian.design/components/dropdown-item/code)
|
|
16
|
-
* - [Usage](https://atlassian.design/components/dropdown-item/usage)
|
|
14
|
+
* - [Examples](https://atlassian.design/components/dropdown-menu/dropdown-item/examples)
|
|
15
|
+
* - [Code](https://atlassian.design/components/dropdown-menu/dropdown-item/code)
|
|
16
|
+
* - [Usage](https://atlassian.design/components/dropdown-menu/dropdown-item/usage)
|
|
17
17
|
*/
|
|
18
18
|
const DropdownMenuItem = /*#__PURE__*/forwardRef(({
|
|
19
19
|
children,
|
|
@@ -13,9 +13,9 @@ import useRegisterItemWithFocusManager from './internal/hooks/use-register-item-
|
|
|
13
13
|
*
|
|
14
14
|
* A dropdown item populates the dropdown menu with items. Every item should be inside a dropdown item group.
|
|
15
15
|
*
|
|
16
|
-
* - [Examples](https://atlassian.design/components/dropdown-item/examples)
|
|
17
|
-
* - [Code](https://atlassian.design/components/dropdown-item/code)
|
|
18
|
-
* - [Usage](https://atlassian.design/components/dropdown-item/usage)
|
|
16
|
+
* - [Examples](https://atlassian.design/components/dropdown-menu/dropdown-item/examples)
|
|
17
|
+
* - [Code](https://atlassian.design/components/dropdown-menu/dropdown-item/code)
|
|
18
|
+
* - [Usage](https://atlassian.design/components/dropdown-menu/dropdown-item/usage)
|
|
19
19
|
*/
|
|
20
20
|
var DropdownMenuItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
21
21
|
var children = _ref.children,
|
|
@@ -5,9 +5,9 @@ import { type DropdownItemProps } from './types';
|
|
|
5
5
|
*
|
|
6
6
|
* A dropdown item populates the dropdown menu with items. Every item should be inside a dropdown item group.
|
|
7
7
|
*
|
|
8
|
-
* - [Examples](https://atlassian.design/components/dropdown-item/examples)
|
|
9
|
-
* - [Code](https://atlassian.design/components/dropdown-item/code)
|
|
10
|
-
* - [Usage](https://atlassian.design/components/dropdown-item/usage)
|
|
8
|
+
* - [Examples](https://atlassian.design/components/dropdown-menu/dropdown-item/examples)
|
|
9
|
+
* - [Code](https://atlassian.design/components/dropdown-menu/dropdown-item/code)
|
|
10
|
+
* - [Usage](https://atlassian.design/components/dropdown-menu/dropdown-item/usage)
|
|
11
11
|
*/
|
|
12
12
|
declare const DropdownMenuItem: React.ForwardRefExoticComponent<DropdownItemProps & React.RefAttributes<HTMLElement>>;
|
|
13
13
|
export default DropdownMenuItem;
|
|
@@ -5,9 +5,9 @@ import { type DropdownItemProps } from './types';
|
|
|
5
5
|
*
|
|
6
6
|
* A dropdown item populates the dropdown menu with items. Every item should be inside a dropdown item group.
|
|
7
7
|
*
|
|
8
|
-
* - [Examples](https://atlassian.design/components/dropdown-item/examples)
|
|
9
|
-
* - [Code](https://atlassian.design/components/dropdown-item/code)
|
|
10
|
-
* - [Usage](https://atlassian.design/components/dropdown-item/usage)
|
|
8
|
+
* - [Examples](https://atlassian.design/components/dropdown-menu/dropdown-item/examples)
|
|
9
|
+
* - [Code](https://atlassian.design/components/dropdown-menu/dropdown-item/code)
|
|
10
|
+
* - [Usage](https://atlassian.design/components/dropdown-menu/dropdown-item/usage)
|
|
11
11
|
*/
|
|
12
12
|
declare const DropdownMenuItem: React.ForwardRefExoticComponent<DropdownItemProps & React.RefAttributes<HTMLElement>>;
|
|
13
13
|
export default DropdownMenuItem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dropdown-menu",
|
|
3
|
-
"version": "12.22.
|
|
3
|
+
"version": "12.22.3",
|
|
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/"
|
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
-
"sideEffects":
|
|
15
|
+
"sideEffects": [
|
|
16
|
+
"**/*.compiled.css"
|
|
17
|
+
],
|
|
16
18
|
"atlaskit:src": "src/index.tsx",
|
|
17
19
|
"atlassian": {
|
|
18
20
|
"team": "Design System Team",
|
package/types/package.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/types.js",
|
|
4
4
|
"module": "../dist/esm/types.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/types.js",
|
|
6
|
-
"sideEffects":
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
7
9
|
"types": "../dist/types/types.d.ts",
|
|
8
10
|
"typesVersions": {
|
|
9
11
|
">=4.5 <5.4": {
|