Skip to content

Commit

Permalink
Bumped version to 1.0.47 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
fragsalat committed Jul 26, 2018
1 parent e884e40 commit 5ae95ed
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 6 deletions.
3 changes: 2 additions & 1 deletion dist/amd/ws-header/ws-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,10 @@ define(['exports', '../imports', './storage/cookie-storage', './storage/local-st
}, {
key: 'renderLink',
value: function renderLink(link) {
if (!link.target) link.target = '_self';
return _imports.React.createElement(
'a',
{ href: link.href, onClick: function onClick(event) {
{ target: link.target, href: link.href, onClick: function onClick(event) {
if (link.onClick) link.onClick(event);
} },
link.label
Expand Down
3 changes: 2 additions & 1 deletion dist/commonjs/ws-header/ws-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,10 @@ var WSHeader = exports.WSHeader = function (_Component) {
}, {
key: 'renderLink',
value: function renderLink(link) {
if (!link.target) link.target = '_self';
return _imports.React.createElement(
'a',
{ href: link.href, onClick: function onClick(event) {
{ target: link.target, href: link.href, onClick: function onClick(event) {
if (link.onClick) link.onClick(event);
} },
link.label
Expand Down
3 changes: 2 additions & 1 deletion dist/es2015/ws-header/ws-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,10 @@ export var WSHeader = function (_Component) {
}, {
key: 'renderLink',
value: function renderLink(link) {
if (!link.target) link.target = '_self';
return React.createElement(
'a',
{ href: link.href, onClick: function onClick(event) {
{ target: link.target, href: link.href, onClick: function onClick(event) {
if (link.onClick) link.onClick(event);
} },
link.label
Expand Down
2 changes: 1 addition & 1 deletion dist/fabricComponents.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/system/ws-header/ws-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,10 @@ System.register(['../imports', './storage/cookie-storage', './storage/local-stor
}, {
key: 'renderLink',
value: function renderLink(link) {
if (!link.target) link.target = '_self';
return React.createElement(
'a',
{ href: link.href, onClick: function onClick(event) {
{ target: link.target, href: link.href, onClick: function onClick(event) {
if (link.onClick) link.onClick(event);
} },
link.label
Expand Down
10 changes: 10 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="1.0.47"></a>
## [1.0.47](https://github.bus.zalan.do/fabric-design/components/compare/1.0.46...1.0.47) (2018-07-26)


### Features

* **header:** Added target option for nav links ([#190](https://github.bus.zalan.do/fabric-design/components/issues/190)) ([e884e40](https://github.bus.zalan.do/fabric-design/components/commit/e884e40))



<a name="1.0.46"></a>
## [1.0.46](https://github.bus.zalan.do/fabric-design/components/compare/1.0.45...1.0.46) (2018-07-12)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabric-components",
"version": "1.0.46",
"version": "1.0.47",
"description": "",
"scripts": {
"build": "gulp build && npm run package",
Expand Down

0 comments on commit 5ae95ed

Please sign in to comment.