@ -1,6 +1,6 @@
{
"name": "vue-share-buttons",
"version": "0.1.5",
"version": "0.1.6",
"private": false,
"license": "MIT",
"author": "Alexandr Shulaev <alexandrshy@gmail.com>",
@ -7,4 +7,4 @@
* @return {object} - Event.
*/
export const eventEmit = (vm, eventName = "", option = {}) =>
vm.$emit(eventName, { ...option });
vm.$emit(eventName, option);
@ -1,4 +1,8 @@
/* Base */
.share-button * {
box-sizing: border-box;
}
.button-social * {
@ -48,19 +52,19 @@
.share-button__icon {
display: inline-block;
padding: 0 7px;
margin: 0;
padding: 0;
margin: 0 7px;
font-size: 0;
vertical-align: middle;
.share-button__icon:last-child {
.share-button__text {
font-size: 16px;
@ -126,7 +130,7 @@
.share-button--painted .share-button__icon {
width: 30px;
height: 30px;
.share-button--painted .share-button__text {
@ -174,11 +178,11 @@
width: 18px;
height: 18px;
padding: 0 4px;
margin: 0 4px;
font-size: 14px;