- add error handling (fcffb16)
- angular 17 upgrade along with demo app (7efa039)
- initialze app (e7b806b)
- got app (b3d7d82)
- minimal app (35f6542)
- docs (05c8a5d)
- docs (285577e)
- github actions (60d5a63)
- release please (403f2a6)
- script (ecd4dd9)
- script (2f9539d)
- script (9b2e092)
- demo app e2e (0596ea6)
- minimal app e2e (9ac54e0)
- app e2e (#190)
- empty paths (#180)
- release 10.0.2 (b8e64bc)
- ci (f65fdb1)
- ci (671d008)
- ci setup (#192)
- docs: Fix path parameter in the dynamic breadcrumbs example (#186)
- Glenn Latomme @cskiwi
- Lukáš Matta @lukasmatta
- Uday Vunnam @udayvunnam
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
9.0.0 (2022-11-21)
- angular 15, node 18 (#155)
- angular 15, node 18 (#155) (41b2788)
- contributor (3da9791)
- contributor (702b1e8)
- core: adds angular 15 support (#151) (02ad2a9)
8.0.2 (2022-06-20)
8.0.1 (2022-06-08)
8.0.0 (2022-06-08)
- angular upgrade (#137)
7.2.0 (2022-02-01)
7.1.4 (2022-02-01)
7.1.3 (2022-02-01)
7.1.2 (2022-02-01)
7.1.1 (2022-01-03)
7.1.0 (2022-01-03)
7.0.0 (2021-12-12)
6.8.2 (2021-11-15)
6.8.1 (2021-11-14)
- xng-breadcrumb inside ngIf needs a special check since router events are already finished (#97) (c7ce2d0)
6.8.0 (2021-11-14)
6.7.0 (2021-04-25)
6.6.1 (2021-02-25)
6.6.0 (2021-02-02)
- nx migrate and codeowners (#71) (a7c0377)
- nx upgrade (ebf2044)
- revert nx migrated version (3f7d0b8)
- update nx version (#73) (3c058e6)
6.5.0 (2020-12-09)
- angular material upgrade (0fd151d)
- angular version upgrade (f9388b5)
- nx version upgrade (#63) (50dbf89)
6.4.0 (2020-11-26)
6.3.4 (2020-11-17)
6.3.3 (2020-11-16)
6.3.2 (2020-11-16)
6.3.1 (2020-10-16)
- bug fix that handles the root breadcrumb same as remaining items, version upgrades (#52) (71316da)
- lint and material theme (#53) (2317fa5)
- remove styles (37fc12d)
6.3.0 (2020-10-14)
- provide breadcrumb route interceptor for conditional routing and access to routeLink (#51) (bc4a5bc)
6.2.1 (2020-09-08)
6.2.0 (2020-09-07)
- auto generation of label (9e40dfb)
- breadcrumb as a function, merge with child breadcrumbs properly (#45) (fee7608)
6.1.1 (2020-08-28)
- base CI (6bff025)
- env example (d52eb4c)
- examples with deep routes (c0f9e1b)
- got demo app to test breadcrumbs (5dc1acb)
- got demo app to test breadcrumbs (5d491d7)
- lib added with nx (2c7d3bc)
- star war demo (d284135)
- star wars demo app (5bd26cb)
- app: usecase for repeated query param (b364d02)
- xng-breadcrumb base library setup (37cdb35)
- xng-breadcrumb import (abb4948)
- fixes QueryParams being assigned to incorrect routes (37bf824)
- implement onDestroy (be01ebc)
- unit tests (f6350a4)
- verify if breadcrumb array is not empty (13f9151)
- app: update prefix (a3ccc32)
5.1.0 (2020-06-14)
- app: remove code block components and service as they are less useful (b7d647f)
- ability to disable a bredcurmb link in between the stack (fcb66cc)
- ability to disable a bredcurmb link in between the stack (5704fde)
- navigate with query params, disabled state, dynamic set method issue fix (90a5980)
- pointing the dashboard screen for demo (acdecb6)
- remove async pipe and use with subscrbe to have more control (abc07da)
- update node version (8e460e5)
- spelling correction (8cf78d9)
5.0.1 (2019-11-07)
- lock typescript to only patch updates (cd0e295)
5.0.0 (2019-11-05)
- Modified API for component and service.
- custom separator icon, custom template and i18n (f11980e)
- remove deprectaed methods and update demo app to work with latest syntax (6e6304e)
- app: update demo app to work with new API (0548981)
3.7.1 (2019-11-03)
- build fix remove cache (cec314e)
- build fix remove cache (59dcf01)
- build fixed that was pushing wrong tags (2b86748)
- app: adding icon (387e50f)
- remove @ from alias (de9b23e)
3.7.0 (2019-11-03)
- minor fixes (8d46872)
- missed module (6db5cc6)
- set verndorSourceMap true, to debug in local (65db615)
- better comments and code seperation (6257035)
- customization support for breadcrumb (b9aff64)
- types for internal breadcrumb list and route data for breadcrumb (58c4729)
3.6.1 (2019-09-28)
3.6.0 (2019-09-28)
- Angular8.x version upgrade. Angular 6.x and Angular 7.x are no longer supported. If you are using these versions, please, stick with version [email protected] (4f73ec3)
2.1.2 (2019-09-28)
- Compiling with v7 to support Angular 6 and 7. Closes udayvunnam#12 (89bf7d7)
3.5.2 (2019-09-26)
- build scripts update (8923e2e)
3.5.1 (2019-09-25)
- Base route Breadcrumb - Added the ability to add breadcrumb for a base route such as 'Home'. close #6
{ path: '', pathMatch: 'full', data: { breadcrumb: 'Home' } },
- Custom separator - Breadcrumb by default uses '/' as the separator. To use custom separator pass it as input to the component like below. closes #5
<xng-breadcrumb seperator=">"></xng-breadcrumb>
- Styling breadcrumbs: -
The library uses the least specific selectors possible in order to make it easy to override them.
you can override by changing the CSS for classes.
.breadcrumb, .current-path, .separator etc
with::ng-deep
. closes #5
::ng-deep .breadcrumb {
background-color: bisque;
border: 1px solid;
}
- Optional - default mapping of the route to breadcrumb label
To avoid breadcrumb labels showing by default even for routes that don't have breadcrumb configuration, set
defaultMapping=false
as input. closes #2
<xng-breadcrumb [defaultMapping]="false"></xng-breadcrumb>
- Quickstart with default mapping: Just by adding
<breadcrumb></breadcrumb>
show breadcrumbs anywhere in the App. Breadcrumbs defaults to route segments even without any configuration. - Declarative mapping: Map breadcrumb label for each route, while declaring App routes.
- Dynamic mapping: Resolve a breadcrumb label dynamically, by using BreadcrumbService.
- Skip Breadcrumb: Skip specific routes from displaying in breadcrumbs, conditionally.