@atlaskit/side-navigation 11.0.21 → 11.0.22
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 -13
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/side-navigation
|
|
2
2
|
|
|
3
|
+
## 11.0.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 11.0.21
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -1056,7 +1062,6 @@
|
|
|
1056
1062
|
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
|
|
1057
1063
|
[`caa68aad0fd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/caa68aad0fd) - Internal
|
|
1058
1064
|
changes around styles:
|
|
1059
|
-
|
|
1060
1065
|
- Application of primitives for more declarative code
|
|
1061
1066
|
- Application of spacing tokens to internal styles
|
|
1062
1067
|
|
|
@@ -1329,7 +1334,6 @@
|
|
|
1329
1334
|
- [#10255](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10255)
|
|
1330
1335
|
[`4e72825fa89`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e72825fa89) -
|
|
1331
1336
|
JET-1156:
|
|
1332
|
-
|
|
1333
1337
|
- Export `VAR_SEPARATOR_COLOR` to override separator color when using custom backrounds in side
|
|
1334
1338
|
navigation.
|
|
1335
1339
|
- Export `VAR_SCROLL_INDICATOR_COLOR` to override menu scroll indicator color when using custom
|
|
@@ -1661,11 +1665,9 @@
|
|
|
1661
1665
|
- [minor][7ecbf8d0bd](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ecbf8d0bd):
|
|
1662
1666
|
|
|
1663
1667
|
**Breaking:**
|
|
1664
|
-
|
|
1665
1668
|
- SideNavigation now has a required `label` prop.
|
|
1666
1669
|
|
|
1667
1670
|
**Accessibility Changes**
|
|
1668
|
-
|
|
1669
1671
|
- SideNavigation now has a `navigation` landmark for use with screen readers; this landmark is
|
|
1670
1672
|
further described by the `label` prop to differentiate it from AtlassianNavigation-
|
|
1671
1673
|
[minor][1fea6757c4](https://bitbucket.org/atlassian/atlassian-frontend/commits/1fea6757c4):
|
|
@@ -1804,7 +1806,6 @@
|
|
|
1804
1806
|
- [minor][e1416630ed](https://bitbucket.org/atlassian/atlassian-frontend/commits/e1416630ed):
|
|
1805
1807
|
|
|
1806
1808
|
**BREAKING**: Renamed exported components
|
|
1807
|
-
|
|
1808
1809
|
- Renamed `MainSection` to `NavigationContent`
|
|
1809
1810
|
- Renamed `NestingTransitionProvider` to `NestableNavigationContent`
|
|
1810
1811
|
- `NestableNavigationContent` does not need to be wrapped by a `MainSection`
|
|
@@ -1812,7 +1813,6 @@
|
|
|
1812
1813
|
- Renamed `Footer` to `NavigationFooter`
|
|
1813
1814
|
|
|
1814
1815
|
Improve behaviour of scrollabe sections:
|
|
1815
|
-
|
|
1816
1816
|
- Fixes a bug where different views shared the same scrollable section causing unexpected jumps on
|
|
1817
1817
|
some unnesting interactions
|
|
1818
1818
|
- `ScrollableSection` now shows an overflow indicator when items are scrolled off the top border
|
|
@@ -1820,7 +1820,6 @@
|
|
|
1820
1820
|
[minor][d752f27427](https://bitbucket.org/atlassian/atlassian-frontend/commits/d752f27427):
|
|
1821
1821
|
|
|
1822
1822
|
API changes and design changes for side-navigation
|
|
1823
|
-
|
|
1824
1823
|
- **BREAKING**: `SectionHeader` has been renamed to `SectionHeading`
|
|
1825
1824
|
- `SIDEBAR_DEFAULT_WIDTH` has been exported
|
|
1826
1825
|
- `Item` has been removed and replaced with `CustomItem`, `ButtonItem`, `LinkItem` which are thin
|
|
@@ -1838,21 +1837,18 @@
|
|
|
1838
1837
|
**BREAKING**: `id` prop is now required on NestingItems
|
|
1839
1838
|
|
|
1840
1839
|
The back button in nested views can now be customised
|
|
1841
|
-
|
|
1842
1840
|
- By default an English `Go Back` button will be shown
|
|
1843
1841
|
- Use `renderDefaultBackButton` on the `NestableNavigationContent` to set a new default
|
|
1844
1842
|
- Use `renderBackButton` on each `NestingItem` to specifically set a back trigger for exiting the
|
|
1845
1843
|
view it controls
|
|
1846
1844
|
|
|
1847
1845
|
The link form of nested views can now be customised
|
|
1848
|
-
|
|
1849
1846
|
- Use `customItemComponent` to pass in a functional/class component that adds extra behaviour
|
|
1850
1847
|
around the link (see @atlaskit/menu for examples on how to configure CustomItems)
|
|
1851
1848
|
|
|
1852
1849
|
### Patch Changes
|
|
1853
1850
|
|
|
1854
1851
|
- [patch][babae63a7b](https://bitbucket.org/atlassian/atlassian-frontend/commits/babae63a7b):
|
|
1855
|
-
|
|
1856
1852
|
- Refactors nested navigation implementation
|
|
1857
1853
|
- Now selects `NestingItem` & `GoBackItem` when it is exiting
|
|
1858
1854
|
- Fixes double clicking a `NestingItem` and `GoBackItem` resulting in an unwanted double
|
|
@@ -1881,7 +1877,6 @@
|
|
|
1881
1877
|
|
|
1882
1878
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1883
1879
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1884
|
-
|
|
1885
1880
|
- @atlaskit/docs@8.3.2
|
|
1886
1881
|
- @atlaskit/icon@20.0.1
|
|
1887
1882
|
- @atlaskit/menu@0.2.6
|
|
@@ -1896,13 +1891,11 @@
|
|
|
1896
1891
|
|
|
1897
1892
|
`NestingItem` now has an extra prop `isInitiallyOpen` that allows the side-navigation to initially
|
|
1898
1893
|
render a particular nested view
|
|
1899
|
-
|
|
1900
1894
|
- To select a particular sidebar view to be rendered initially the `isInitiallyOpen` prop must be
|
|
1901
1895
|
set on all parent `NestingItem`s in the navigation tree-
|
|
1902
1896
|
[patch][a806cde423](https://bitbucket.org/atlassian/atlassian-frontend/commits/a806cde423):
|
|
1903
1897
|
|
|
1904
1898
|
Iterative updates to side-navigation:
|
|
1905
|
-
|
|
1906
1899
|
- Go Back link in nested views now sticks to the top of the scrollable area
|
|
1907
1900
|
- Removed broken css styles
|
|
1908
1901
|
- 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.22",
|
|
4
4
|
"description": "A highly composable side navigation component that supports nested views.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
37
37
|
"@atlaskit/primitives": "^15.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",
|