Skip to content

Commit 83bb3f3

Browse files
committed
feat(lightbox): add alt to image and bump dependencies
1 parent 9dea11c commit 83bb3f3

File tree

7 files changed

+1283
-850
lines changed

7 files changed

+1283
-850
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,3 +286,5 @@ Most of the CSS belongs to [react-images](https://github.com/jossmac/react-image
286286
- [@PedroBatista333](https://github.com/PedroBatista333)
287287
- [@vtalbot](https://github.com/vtalbot)
288288
- [@hasangilak](https://github.com/hasangilak)
289+
- [@neobutter](https://github.com/neobutter)
290+
- [@mudin](https://github.com/mudin)

build/webpack.base.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ module.exports = {
6767
{ from: 'src/vetur', to: 'vetur' }
6868
])
6969
],
70-
}
70+
}

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,32 +31,32 @@
3131
},
3232
"homepage": "https://github.com/pexea12/vue-image-lightbox",
3333
"dependencies": {
34-
"@babel/runtime": "^7.4.3",
35-
"babel-loader": "^8.0.5",
34+
"@babel/runtime": "^7.5.5",
35+
"babel-loader": "^8.0.6",
3636
"hammerjs": "^2.0.8",
37-
"vue-lazyload": "^1.2.6"
37+
"vue-lazyload": "^1.3.2"
3838
},
3939
"devDependencies": {
40-
"@babel/core": "^7.4.3",
41-
"@babel/plugin-transform-runtime": "^7.4.3",
42-
"@babel/preset-env": "^7.4.3",
40+
"@babel/core": "^7.5.5",
41+
"@babel/plugin-transform-runtime": "^7.5.5",
42+
"@babel/preset-env": "^7.5.5",
4343
"copy-webpack-plugin": "^5.0.4",
44-
"css-loader": "2.1.1",
45-
"eslint": "5.16.0",
46-
"file-loader": "^1.1.11",
44+
"css-loader": "3.2.0",
45+
"eslint": "6.3.0",
46+
"file-loader": "^4.2.0",
4747
"html-webpack-plugin": "^3.2.0",
48-
"mini-css-extract-plugin": "^0.4.0",
49-
"optimize-css-assets-webpack-plugin": "5.0.1",
50-
"rimraf": "^2.6.2",
51-
"style-loader": "^0.21.0",
52-
"uglifyjs-webpack-plugin": "^1.2.5",
53-
"url-loader": "^1.0.1",
54-
"vue": "^2.5.22",
55-
"vue-loader": "^15.3.0",
56-
"vue-template-compiler": "^2.5.22",
57-
"webpack": "^4.16.5",
58-
"webpack-cli": "^3.0.8",
59-
"webpack-dev-server": "^3.1.11"
48+
"mini-css-extract-plugin": "^0.8.0",
49+
"optimize-css-assets-webpack-plugin": "5.0.3",
50+
"rimraf": "^3.0.0",
51+
"style-loader": "^1.0.0",
52+
"uglifyjs-webpack-plugin": "^2.2.0",
53+
"url-loader": "^2.1.0",
54+
"vue": "^2.6.10",
55+
"vue-loader": "^15.7.1",
56+
"vue-template-compiler": "^2.6.10",
57+
"webpack": "^4.39.3",
58+
"webpack-cli": "^3.3.7",
59+
"webpack-dev-server": "^3.8.0"
6060
},
6161
"vetur": {
6262
"tags": "dist/vetur/tags.json",

src/components/template.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
:src="images[select].src"
3737
:srcset="images[select].srcset || ''"
3838
class="vue-lb-modal-image"
39+
:alt="images[select].caption"
3940
>
4041
</transition>
4142

src/vetur/attributes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@
6363
"description": "Text for the next thumb image button",
6464
"type": "string"
6565
}
66-
}
66+
}

src/vetur/tags.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
"subtags": [],
2222
"description": "LightBox component"
2323
}
24-
}
24+
}

0 commit comments

Comments
 (0)