@atlaskit/side-navigation 11.0.21 → 11.0.23
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 +12 -13
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/side-navigation
|
|
2
2
|
|
|
3
|
+
## 11.0.23
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 11.0.22
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 11.0.21
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1056,7 +1068,6 @@
|
|
|
1056
1068
|
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
|
|
1057
1069
|
[`caa68aad0fd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/caa68aad0fd) - Internal
|
|
1058
1070
|
changes around styles:
|
|
1059
|
-
|
|
1060
1071
|
- Application of primitives for more declarative code
|
|
1061
1072
|
- Application of spacing tokens to internal styles
|
|
1062
1073
|
|
|
@@ -1329,7 +1340,6 @@
|
|
|
1329
1340
|
- [#10255](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10255)
|
|
1330
1341
|
[`4e72825fa89`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e72825fa89) -
|
|
1331
1342
|
JET-1156:
|
|
1332
|
-
|
|
1333
1343
|
- Export `VAR_SEPARATOR_COLOR` to override separator color when using custom backrounds in side
|
|
1334
1344
|
navigation.
|
|
1335
1345
|
- Export `VAR_SCROLL_INDICATOR_COLOR` to override menu scroll indicator color when using custom
|
|
@@ -1661,11 +1671,9 @@
|
|
|
1661
1671
|
- [minor][7ecbf8d0bd](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ecbf8d0bd):
|
|
1662
1672
|
|
|
1663
1673
|
**Breaking:**
|
|
1664
|
-
|
|
1665
1674
|
- SideNavigation now has a required `label` prop.
|
|
1666
1675
|
|
|
1667
1676
|
**Accessibility Changes**
|
|
1668
|
-
|
|
1669
1677
|
- SideNavigation now has a `navigation` landmark for use with screen readers; this landmark is
|
|
1670
1678
|
further described by the `label` prop to differentiate it from AtlassianNavigation-
|
|
1671
1679
|
[minor][1fea6757c4](https://bitbucket.org/atlassian/atlassian-frontend/commits/1fea6757c4):
|
|
@@ -1804,7 +1812,6 @@
|
|
|
1804
1812
|
- [minor][e1416630ed](https://bitbucket.org/atlassian/atlassian-frontend/commits/e1416630ed):
|
|
1805
1813
|
|
|
1806
1814
|
**BREAKING**: Renamed exported components
|
|
1807
|
-
|
|
1808
1815
|
- Renamed `MainSection` to `NavigationContent`
|
|
1809
1816
|
- Renamed `NestingTransitionProvider` to `NestableNavigationContent`
|
|
1810
1817
|
- `NestableNavigationContent` does not need to be wrapped by a `MainSection`
|
|
@@ -1812,7 +1819,6 @@
|
|
|
1812
1819
|
- Renamed `Footer` to `NavigationFooter`
|
|
1813
1820
|
|
|
1814
1821
|
Improve behaviour of scrollabe sections:
|
|
1815
|
-
|
|
1816
1822
|
- Fixes a bug where different views shared the same scrollable section causing unexpected jumps on
|
|
1817
1823
|
some unnesting interactions
|
|
1818
1824
|
- `ScrollableSection` now shows an overflow indicator when items are scrolled off the top border
|
|
@@ -1820,7 +1826,6 @@
|
|
|
1820
1826
|
[minor][d752f27427](https://bitbucket.org/atlassian/atlassian-frontend/commits/d752f27427):
|
|
1821
1827
|
|
|
1822
1828
|
API changes and design changes for side-navigation
|
|
1823
|
-
|
|
1824
1829
|
- **BREAKING**: `SectionHeader` has been renamed to `SectionHeading`
|
|
1825
1830
|
- `SIDEBAR_DEFAULT_WIDTH` has been exported
|
|
1826
1831
|
- `Item` has been removed and replaced with `CustomItem`, `ButtonItem`, `LinkItem` which are thin
|
|
@@ -1838,21 +1843,18 @@
|
|
|
1838
1843
|
**BREAKING**: `id` prop is now required on NestingItems
|
|
1839
1844
|
|
|
1840
1845
|
The back button in nested views can now be customised
|
|
1841
|
-
|
|
1842
1846
|
- By default an English `Go Back` button will be shown
|
|
1843
1847
|
- Use `renderDefaultBackButton` on the `NestableNavigationContent` to set a new default
|
|
1844
1848
|
- Use `renderBackButton` on each `NestingItem` to specifically set a back trigger for exiting the
|
|
1845
1849
|
view it controls
|
|
1846
1850
|
|
|
1847
1851
|
The link form of nested views can now be customised
|
|
1848
|
-
|
|
1849
1852
|
- Use `customItemComponent` to pass in a functional/class component that adds extra behaviour
|
|
1850
1853
|
around the link (see @atlaskit/menu for examples on how to configure CustomItems)
|
|
1851
1854
|
|
|
1852
1855
|
### Patch Changes
|
|
1853
1856
|
|
|
1854
1857
|
- [patch][babae63a7b](https://bitbucket.org/atlassian/atlassian-frontend/commits/babae63a7b):
|
|
1855
|
-
|
|
1856
1858
|
- Refactors nested navigation implementation
|
|
1857
1859
|
- Now selects `NestingItem` & `GoBackItem` when it is exiting
|
|
1858
1860
|
- Fixes double clicking a `NestingItem` and `GoBackItem` resulting in an unwanted double
|
|
@@ -1881,7 +1883,6 @@
|
|
|
1881
1883
|
|
|
1882
1884
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1883
1885
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1884
|
-
|
|
1885
1886
|
- @atlaskit/docs@8.3.2
|
|
1886
1887
|
- @atlaskit/icon@20.0.1
|
|
1887
1888
|
- @atlaskit/menu@0.2.6
|
|
@@ -1896,13 +1897,11 @@
|
|
|
1896
1897
|
|
|
1897
1898
|
`NestingItem` now has an extra prop `isInitiallyOpen` that allows the side-navigation to initially
|
|
1898
1899
|
render a particular nested view
|
|
1899
|
-
|
|
1900
1900
|
- To select a particular sidebar view to be rendered initially the `isInitiallyOpen` prop must be
|
|
1901
1901
|
set on all parent `NestingItem`s in the navigation tree-
|
|
1902
1902
|
[patch][a806cde423](https://bitbucket.org/atlassian/atlassian-frontend/commits/a806cde423):
|
|
1903
1903
|
|
|
1904
1904
|
Iterative updates to side-navigation:
|
|
1905
|
-
|
|
1906
1905
|
- Go Back link in nested views now sticks to the top of the scrollable area
|
|
1907
1906
|
- Removed broken css styles
|
|
1908
1907
|
- Implemented sliding transitions rather than fades- Updated dependencies
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/side-navigation",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.23",
|
|
4
4
|
"description": "A highly composable side navigation component that supports nested views.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"@atlaskit/menu": "^8.4.0",
|
|
35
35
|
"@atlaskit/motion": "^5.3.0",
|
|
36
36
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
37
|
-
"@atlaskit/primitives": "^
|
|
37
|
+
"@atlaskit/primitives": "^16.0.0",
|
|
38
38
|
"@atlaskit/theme": "^21.0.0",
|
|
39
|
-
"@atlaskit/tokens": "^
|
|
39
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
40
40
|
"@babel/runtime": "^7.0.0",
|
|
41
|
-
"@compiled/react": "^0.18.
|
|
41
|
+
"@compiled/react": "^0.18.6"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": "^18.2.0"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@af/visual-regression": "workspace:^",
|
|
50
50
|
"@atlaskit/atlassian-navigation": "^5.3.0",
|
|
51
51
|
"@atlaskit/button": "^23.5.0",
|
|
52
|
-
"@atlaskit/docs": "^11.
|
|
52
|
+
"@atlaskit/docs": "^11.2.0",
|
|
53
53
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
54
54
|
"@atlaskit/form": "^14.2.0",
|
|
55
55
|
"@atlaskit/image": "^3.0.0",
|