@atlaskit/dropdown-menu 16.3.14 → 16.3.15
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 -14
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/dropdown-menu
|
|
2
2
|
|
|
3
|
+
## 16.3.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 16.3.14
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -678,7 +684,6 @@
|
|
|
678
684
|
|
|
679
685
|
**Usage:** The `strategy` prop can be set to either `'absolute'` or `'fixed'`, with the default
|
|
680
686
|
being `'fixed'`.
|
|
681
|
-
|
|
682
687
|
- **`'fixed'`:** Positions the dropdown relative to the browser's viewport. This ensures that the
|
|
683
688
|
dropdown remains in the same position regardless of page scrolling, making it ideal for
|
|
684
689
|
dropdowns that need to maintain a consistent position on the screen.
|
|
@@ -705,7 +710,6 @@
|
|
|
705
710
|
```
|
|
706
711
|
|
|
707
712
|
**Important Considerations:**
|
|
708
|
-
|
|
709
713
|
- When using the `shouldFitContainer` prop, the `strategy` cannot be set to `'fixed'`. In such
|
|
710
714
|
cases, the dropdown defaults to the `'absolute'` strategy to ensure proper rendering within the
|
|
711
715
|
container.
|
|
@@ -1912,7 +1916,6 @@
|
|
|
1912
1916
|
documentation for more details on the codemod CLI.
|
|
1913
1917
|
|
|
1914
1918
|
## Behaviour changes
|
|
1915
|
-
|
|
1916
1919
|
- _Portaling_ – The dropdown menu is now rendered in a React Portal and is appended at the bottom
|
|
1917
1920
|
of the `<body>`. In most cases, this shouldn't make much of a difference. But if you have any
|
|
1918
1921
|
tests that assert on DOM/React tree like snapshot tests, those will need to be updated.
|
|
@@ -1929,7 +1932,6 @@
|
|
|
1929
1932
|
override the default behaviour by setting shouldTitleWrap and shouldDescriptionWrap to false.
|
|
1930
1933
|
|
|
1931
1934
|
## Visual changes
|
|
1932
|
-
|
|
1933
1935
|
- _Menu item padding_ – Dropdown menu items have 16px more padding horizontally.
|
|
1934
1936
|
- _Removed elemAfter in group title_ – Icon after the group title has been removed.
|
|
1935
1937
|
|
|
@@ -1938,7 +1940,6 @@
|
|
|
1938
1940
|
Dropdown menu items no longer `@atlaskit/item` as the underlying component, they use
|
|
1939
1941
|
`@atlaskit/menu` instead. This mean that some of the props that used to be spread over an Item are
|
|
1940
1942
|
no longer supported. In addition to that, the following API changes have been made:
|
|
1941
|
-
|
|
1942
1943
|
- `shouldFitContainer` – Deprecated. This prop has been deprecated and the codemod will remove it.
|
|
1943
1944
|
- `shouldAllowMultiline` – This prop has been split up into two: shouldTitleWrap and
|
|
1944
1945
|
shouldDescriptionWrap. The codemod replaces its occurance with the two new ones.
|
|
@@ -1970,7 +1971,6 @@
|
|
|
1970
1971
|
directly applied to the first menu item.
|
|
1971
1972
|
|
|
1972
1973
|
## Entrypoint changes
|
|
1973
|
-
|
|
1974
1974
|
- `DropdownMenuStateless` – DropdownMenuStateless has been deprecated. The default export
|
|
1975
1975
|
DropdownMenu handles both stateless and stateful logic. The API for DropdownMenuStateless has
|
|
1976
1976
|
been retained and works as expected with DropdownMenu.The codemod converts the named import into
|
|
@@ -2324,7 +2324,6 @@
|
|
|
2324
2324
|
|
|
2325
2325
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
2326
2326
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
2327
|
-
|
|
2328
2327
|
- @atlaskit/docs@8.3.2
|
|
2329
2328
|
- @atlaskit/analytics-next@6.3.5
|
|
2330
2329
|
- @atlaskit/avatar@17.1.7
|
|
@@ -2569,13 +2568,11 @@
|
|
|
2569
2568
|
## 8.0.1
|
|
2570
2569
|
|
|
2571
2570
|
- [patch][ee788e6434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ee788e6434):
|
|
2572
|
-
|
|
2573
2571
|
- Fix analytics for the toggle dropdownMenu event
|
|
2574
2572
|
|
|
2575
2573
|
## 8.0.0
|
|
2576
2574
|
|
|
2577
2575
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
2578
|
-
|
|
2579
2576
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
2580
2577
|
this package, please ensure you use at least this version of react and react-dom.
|
|
2581
2578
|
|
|
@@ -2602,7 +2599,6 @@
|
|
|
2602
2599
|
## 7.0.5
|
|
2603
2600
|
|
|
2604
2601
|
- [patch][6fd20256f3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6fd20256f3):
|
|
2605
|
-
|
|
2606
2602
|
- Add positionFixed property to Popper
|
|
2607
2603
|
|
|
2608
2604
|
## 7.0.4
|
|
@@ -2631,7 +2627,6 @@
|
|
|
2631
2627
|
## 7.0.2
|
|
2632
2628
|
|
|
2633
2629
|
- [patch][dc114c4ce6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dc114c4ce6):
|
|
2634
|
-
|
|
2635
2630
|
- Internal changes only. DropdownMenu is now compatible with SSR.
|
|
2636
2631
|
|
|
2637
2632
|
## 7.0.1
|
|
@@ -2650,7 +2645,6 @@
|
|
|
2650
2645
|
## 7.0.0
|
|
2651
2646
|
|
|
2652
2647
|
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
2653
|
-
|
|
2654
2648
|
- Drop ES5 from all the flow modules
|
|
2655
2649
|
|
|
2656
2650
|
### Dropping CJS support in all @atlaskit packages
|
|
@@ -2757,13 +2751,11 @@
|
|
|
2757
2751
|
## 6.1.21
|
|
2758
2752
|
|
|
2759
2753
|
- [patch][1fb2c2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1fb2c2a):
|
|
2760
|
-
|
|
2761
2754
|
- Fixed issue where tooltips and modals would initially render in the wrong location
|
|
2762
2755
|
|
|
2763
2756
|
## 6.1.20
|
|
2764
2757
|
|
|
2765
2758
|
- [patch][fe943bb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fe943bb" d):
|
|
2766
|
-
|
|
2767
2759
|
- Make sure we check userAgent only if we have a DOM
|
|
2768
2760
|
|
|
2769
2761
|
## 6.1.19
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dropdown-menu",
|
|
3
|
-
"version": "16.3.
|
|
3
|
+
"version": "16.3.15",
|
|
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/"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@atlaskit/primitives": "^15.0.0",
|
|
36
36
|
"@atlaskit/spinner": "^19.0.0",
|
|
37
37
|
"@atlaskit/theme": "^21.0.0",
|
|
38
|
-
"@atlaskit/tokens": "^
|
|
38
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
39
39
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
40
40
|
"@babel/runtime": "^7.0.0",
|
|
41
41
|
"bind-event-listener": "^3.0.0"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atlaskit/atlassian-navigation": "^5.3.0",
|
|
53
53
|
"@atlaskit/avatar": "^25.4.0",
|
|
54
54
|
"@atlaskit/checkbox": "^17.1.0",
|
|
55
|
-
"@atlaskit/docs": "^11.
|
|
55
|
+
"@atlaskit/docs": "^11.2.0",
|
|
56
56
|
"@atlaskit/form": "^14.2.0",
|
|
57
57
|
"@atlaskit/heading": "^5.2.0",
|
|
58
58
|
"@atlaskit/link": "^3.2.0",
|