# Changelog

All notable changes to the Platform Navigation will be documented in this file.

## [0.8.2](#pn/v0.8.2) (2020-12-11)

### Features

-   Add dependency on @episerver/design-tokens ([dfd26c5](https://stash.ep.se/projects/ui/repos/design-system/commits/dfd26c5e5b62a51a167e7920dc5586e2ad8a56be))

### [0.8.1](#pn/v0.8.1) (2020-12-01)

### Bug Fixes

-   Allow telemetry prop to be passed in async ([60515c2](https://stash.ep.se/projects/ui/repos/design-system/commits/60515c2c9615de410272262b905d02383d182aae))

## 0.8.0 (2020-11-25)

### ⚠ BREAKING CHANGES

-   All class names have been updated to use `epi-pn` as their prefix instead of `epi`.
    HTML usages of NavigationAdjust need to have their class updated.

### Bug Fixes

-   Add named export for focusTrap ([4464e5c](https://stash.ep.se/projects/ui/repos/design-system/commits/4464e5cc4753ad89b2d868ddbb4d371f123d90d2))
-   Add uif prefix to styles for uif components ([6824a5f](https://stash.ep.se/projects/ui/repos/design-system/commits/6824a5fed53cc28e5be8bcf7f2a170adbddf9889))
-   Only navigate when a different menu item is selected ([34a5738](https://stash.ep.se/projects/ui/repos/design-system/commits/34a5738b76fb1512b8f7e25b9fc05ebe1ef33683))

### [0.7.10](#v0.7.10) (2020-11-16)

### Features

-   **navigation:** Support telemetry for SPAs with isSPA field ([b77483e](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/b77483e))
-   Include JavaScript Source Maps ([d2b3ddb](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/d2b3ddb))
-   Upgrade UI Framework from v0.8.1 to v0.12.0 ([5d3e85e](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/5d3e85e))

### [0.7.9](#v0.7.9) (2020-11-02)

### Bug Fixes

-   **navigation:** Inject global window when building for static sites ([c2ef5ee](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/c2ef5ee))

### [0.7.8](#v0.7.8) (2020-10-27)

### Features

-   **navigation:** Add telemetry prop to enable telemetry ([c64a82f](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/c64a82f))

### [0.7.7](#v0.7.7) (2020-07-15)

### Bug Fixes

-   **navigation:** Explicitly set icon color to avoid being overwritten ([a7f337c](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/a7f337c))

### Features

-   Accept JSON type Action Items ([373ab0e](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/373ab0e))
-   **navigation:** Add tooltip to ActionItems ([151da69](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/151da69))
-   **navigation:** Support className ([67c9df0](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/67c9df0))
-   **navigation-level:** Disable indicator animation ([64d4f4d](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/64d4f4d))

### [0.7.6](#v0.7.6) (2020-02-12)

### Bug Fixes

-   **navigation** Increase contrast for tabs to meet WCAG standards ([bcdd4d4](https://stash.ep.se/projects//repos//commits/bcdd4d4))
-   **context-menu:** Break useCallback cache ([9ee6285](https://stash.ep.se/projects//repos//commits/9ee6285))

### [0.7.5](#v0.7.5) (2019-10-17)

### Bug Fixes

-   **navigation:** Make sure mdc-drawer-scrim is on top of app content ([d424eaa](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/d424eaa))

### Features

-   **navigation:** Don't render navigation items with children ([addf003](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/addf003))

### [0.7.4](#v0.7.4) (2019-10-07)

### Features

-   **navigation:** Add href and target support for navigation bar icon ([e26b180](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/e26b180))
-   **product switcher:** Style product list ([7491917](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/7491917))

### [0.7.3](#v0.7.3) (2019-09-19)

### Features

-   **navigation:** Add noopener and noreferrer to context menu items ([723fb8d](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/723fb8d))

### [0.7.2](#v0.7.2) (2019-09-11)

### Bug Fixes

-   **navigation:** Add width to epi logo ([678a0f1](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/678a0f1))
-   **navigation:** Remove top-bar-menu styling ([4a64a7a](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/4a64a7a))

### Features

-   **navigation:** Add navigation adjust component ([7c92464](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/7c92464))
-   **navigation:** Add target attribute to ContextMenu items ([1ab3001](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/1ab3001))

### [0.7.1](#v0.7.1) (2019-08-29)

### Features

-   **navigation:** Added context-menu to Platform Navigation ([5119089](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/5119089))
-   **navigation:** Restyle action items to be square ([92e8b2d](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/92e8b2d))

## [0.7.0](#v0.7.0) (2019-08-20)

### Bug Fixes

-   **navigation:** Add actionItem as default to TopAppBarIcon ([1f067bd](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/1f067bd))
-   **navigation:** Bundle component styles with platform navigation ([2d9fe01](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/2d9fe01))
-   **navigation:** Change action icons to be buttons ([ca18909](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/ca18909))
-   **navigation:** Introducing 700 as font-weight ([ea541d4](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/ea541d4))
-   **navigation:** Remove unnecessary <nav container ([fafdae3](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/fafdae3))
-   **navigation:** Replace direct usages of React classes with imports ([ded5d84](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/ded5d84))

### Features

-   **navigation:** Export NavigationBarIcon component ([8911094](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/8911094))
-   **navigation:** Render menu as anchors ([bb03e31](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/bb03e31))
-   **navigation:** Render product list as anchors ([f64edc6](https://stash.ep.se/projects/ui/repos/platform-navigation/commits/f64edc6))
