Skip to content

Commit

Permalink
chore(release): 5.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Germanovskii committed Dec 5, 2020
1 parent 97a5a50 commit d5ddfef
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 14 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="5.1.1"></a>
## [5.1.1](https://github.com/JetBrains/svg-sprite-loader/compare/v5.1.0...v5.1.1) (2020-12-05)



<a name="5.1.0"></a>
# [5.1.0](https://github.com/JetBrains/svg-sprite-loader/compare/v5.0.0...v5.1.0) (2020-12-05)

Expand Down
14 changes: 10 additions & 4 deletions examples/browser-sprite-with-dll/build/dll.js
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,8 @@ var xlink$1 = namespaces_1.xlink;

var defaultConfig = {
attrs: ( obj = {
style: ['position: absolute', 'width: 0', 'height: 0'].join('; ')
style: ['position: absolute', 'width: 0', 'height: 0'].join('; '),
'aria-hidden': 'true'
}, obj[svg$1.name] = svg$1.uri, obj[xlink$1.name] = xlink$1.uri, obj )
};
var obj;
Expand Down Expand Up @@ -958,7 +959,7 @@ var locationChangeAngularEmitter = function (eventName) {
}]);
};

var defaultSelector = 'linearGradient, radialGradient, pattern';
var defaultSelector = 'linearGradient, radialGradient, pattern, mask, clipPath';

/**
* @param {Element} svg
Expand Down Expand Up @@ -1180,7 +1181,7 @@ var BrowserSprite = (function (Sprite$$1) {
}

if (typeof cfg.locationChangeAngularEmitter === 'undefined') {
config.locationChangeAngularEmitter = 'angular' in window;
config.locationChangeAngularEmitter = typeof window.angular !== 'undefined';
}

if (typeof cfg.moveGradientsOutsideSymbol === 'undefined') {
Expand Down Expand Up @@ -1388,7 +1389,12 @@ var sprite;
if (isSpriteExists) {
sprite = window[spriteGlobalVarName];
} else {
sprite = new BrowserSprite({ attrs: { id: spriteNodeId } });
sprite = new BrowserSprite({
attrs: {
id: spriteNodeId,
'aria-hidden': 'true'
}
});
window[spriteGlobalVarName] = sprite;
}

Expand Down
14 changes: 10 additions & 4 deletions examples/browser-sprite/build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,8 @@ var xlink$1 = namespaces_1.xlink;

var defaultConfig = {
attrs: ( obj = {
style: ['position: absolute', 'width: 0', 'height: 0'].join('; ')
style: ['position: absolute', 'width: 0', 'height: 0'].join('; '),
'aria-hidden': 'true'
}, obj[svg$1.name] = svg$1.uri, obj[xlink$1.name] = xlink$1.uri, obj )
};
var obj;
Expand Down Expand Up @@ -945,7 +946,7 @@ var locationChangeAngularEmitter = function (eventName) {
}]);
};

var defaultSelector = 'linearGradient, radialGradient, pattern';
var defaultSelector = 'linearGradient, radialGradient, pattern, mask, clipPath';

/**
* @param {Element} svg
Expand Down Expand Up @@ -1167,7 +1168,7 @@ var BrowserSprite = (function (Sprite$$1) {
}

if (typeof cfg.locationChangeAngularEmitter === 'undefined') {
config.locationChangeAngularEmitter = 'angular' in window;
config.locationChangeAngularEmitter = typeof window.angular !== 'undefined';
}

if (typeof cfg.moveGradientsOutsideSymbol === 'undefined') {
Expand Down Expand Up @@ -1375,7 +1376,12 @@ var sprite;
if (isSpriteExists) {
sprite = window[spriteGlobalVarName];
} else {
sprite = new BrowserSprite({ attrs: { id: spriteNodeId } });
sprite = new BrowserSprite({
attrs: {
id: spriteNodeId,
'aria-hidden': 'true'
}
});
window[spriteGlobalVarName] = sprite;
}

Expand Down
14 changes: 10 additions & 4 deletions examples/custom-runtime-generator/build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9993,7 +9993,8 @@ var xlink$1 = namespaces_1.xlink;

var defaultConfig = {
attrs: ( obj = {
style: ['position: absolute', 'width: 0', 'height: 0'].join('; ')
style: ['position: absolute', 'width: 0', 'height: 0'].join('; '),
'aria-hidden': 'true'
}, obj[svg$1.name] = svg$1.uri, obj[xlink$1.name] = xlink$1.uri, obj )
};
var obj;
Expand Down Expand Up @@ -10326,7 +10327,7 @@ var locationChangeAngularEmitter = function (eventName) {
}]);
};

var defaultSelector = 'linearGradient, radialGradient, pattern';
var defaultSelector = 'linearGradient, radialGradient, pattern, mask, clipPath';

/**
* @param {Element} svg
Expand Down Expand Up @@ -10548,7 +10549,7 @@ var BrowserSprite = (function (Sprite$$1) {
}

if (typeof cfg.locationChangeAngularEmitter === 'undefined') {
config.locationChangeAngularEmitter = 'angular' in window;
config.locationChangeAngularEmitter = typeof window.angular !== 'undefined';
}

if (typeof cfg.moveGradientsOutsideSymbol === 'undefined') {
Expand Down Expand Up @@ -10756,7 +10757,12 @@ var sprite;
if (isSpriteExists) {
sprite = window[spriteGlobalVarName];
} else {
sprite = new BrowserSprite({ attrs: { id: spriteNodeId } });
sprite = new BrowserSprite({
attrs: {
id: spriteNodeId,
'aria-hidden': 'true'
}
});
window[spriteGlobalVarName] = sprite;
}

Expand Down
3 changes: 2 additions & 1 deletion examples/server-side-rendering/build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ var xlink$1 = namespaces_1.xlink;

var defaultConfig = {
attrs: ( obj = {
style: ['position: absolute', 'width: 0', 'height: 0'].join('; ')
style: ['position: absolute', 'width: 0', 'height: 0'].join('; '),
'aria-hidden': 'true'
}, obj[svg$1.name] = svg$1.uri, obj[xlink$1.name] = xlink$1.uri, obj )
};
var obj;
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": "svg-sprite-loader",
"version": "5.1.0",
"version": "5.1.1",
"description": "Webpack loader for creating SVG sprites",
"keywords": [
"svg",
Expand Down

0 comments on commit d5ddfef

Please sign in to comment.