Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into update-dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mayako21126 committed Dec 10, 2020
2 parents d93c5cf + d5ddfef commit 14786dd
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 6 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@

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-11-06)
# [5.1.0](https://github.com/JetBrains/svg-sprite-loader/compare/v5.0.0...v5.1.0) (2020-12-05)


### Features
Expand Down
7 changes: 6 additions & 1 deletion examples/browser-sprite-with-dll/build/dll.js
Original file line number Diff line number Diff line change
Expand Up @@ -1389,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
7 changes: 6 additions & 1 deletion examples/browser-sprite/build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1376,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
7 changes: 6 additions & 1 deletion examples/custom-runtime-generator/build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10757,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
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
7 changes: 6 additions & 1 deletion runtime/browser-sprite.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ let 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

0 comments on commit 14786dd

Please sign in to comment.