2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-13 22:18:24 +00:00

Update Vue components

This commit is contained in:
Vjacheslav Trushkin 2022-01-11 12:37:20 +02:00
parent 3aaea9fc32
commit 4d1f1da47f
15 changed files with 5120 additions and 5077 deletions

View File

@ -8,22 +8,22 @@
"name": "@iconify/vue-demo", "name": "@iconify/vue-demo",
"version": "2.0.0", "version": "2.0.0",
"dependencies": { "dependencies": {
"vue": "^3.2.21" "vue": "^3.2.26"
}, },
"devDependencies": { "devDependencies": {
"@iconify-icons/bx": "^1.0.2", "@iconify-icons/bx": "^1.0.2",
"@iconify-icons/dashicons": "^1.0.0", "@iconify-icons/dashicons": "^1.0.0",
"@iconify/types": "^1.0.9", "@iconify/types": "^1.0.12",
"@iconify/vue": "^3.1.0", "@iconify/vue": "^3.1.2",
"@vitejs/plugin-vue": "^1.9.4", "@vitejs/plugin-vue": "^1.9.4",
"typescript": "^4.4.3", "typescript": "^4.5.4",
"vite": "^2.6.14" "vite": "^2.6.14"
} }
}, },
"node_modules/@babel/parser": { "node_modules/@babel/parser": {
"version": "7.16.3", "version": "7.16.8",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.3.tgz", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.8.tgz",
"integrity": "sha512-dcNwU1O4sx57ClvLBVFbEgx0UZWfd0JQX5X6fxFRCLHelFBGXFfSz6Y0FAq2PEwUqlqLkdVjVr4VASEOuUnLJw==", "integrity": "sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw==",
"bin": { "bin": {
"parser": "bin/babel-parser.js" "parser": "bin/babel-parser.js"
}, },
@ -44,15 +44,15 @@
"dev": true "dev": true
}, },
"node_modules/@iconify/types": { "node_modules/@iconify/types": {
"version": "1.0.10", "version": "1.0.12",
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.0.10.tgz", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.0.12.tgz",
"integrity": "sha512-SN3z6einVeUckDQiE8p4POF7X4hk4/y2+a7a4ogJOCxX5XT6z1zXNN8dwS5O1vloXpc6mkHizRZm2qPnhK6NnQ==", "integrity": "sha512-6er6wSGF3hgc1JEZqiGpg21CTCjHBYOUwqLmb2Idzkjiw6ogalGP0ZMLVutCzah+0WB4yP+Zd2oVPN8jvJ+Ftg==",
"dev": true "dev": true
}, },
"node_modules/@iconify/vue": { "node_modules/@iconify/vue": {
"version": "3.1.0", "version": "3.1.2",
"resolved": "https://registry.npmjs.org/@iconify/vue/-/vue-3.1.0.tgz", "resolved": "https://registry.npmjs.org/@iconify/vue/-/vue-3.1.2.tgz",
"integrity": "sha512-3vyIxu/Oq8VBoR9LRLMvPt/Ia6kdp9aydGRbTbvnHoREFp6B/RFLR1U64mtPVdOWNTj6DebjTun4yOx4vBkhsg==", "integrity": "sha512-c777kFKOaEpiJCwz5lOgETWZnq4lEermMQ0RBCzTyRaGC/lmvw2SLF7aJQGri1sGFt4Z5GuXpnlX4DNf3aN+qA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"cross-fetch": "^3.1.4" "cross-fetch": "^3.1.4"
@ -77,36 +77,36 @@
} }
}, },
"node_modules/@vue/compiler-core": { "node_modules/@vue/compiler-core": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.26.tgz",
"integrity": "sha512-NhhiQZNG71KNq1h5pMW/fAXdTF7lJRaSI7LDm2edhHXVz1ROMICo8SreUmQnSf4Fet0UPBVqJ988eF4+936iDQ==", "integrity": "sha512-N5XNBobZbaASdzY9Lga2D9Lul5vdCIOXvUMd6ThcN8zgqQhPKfCV+wfAJNNJKQkSHudnYRO2gEB+lp0iN3g2Tw==",
"dependencies": { "dependencies": {
"@babel/parser": "^7.15.0", "@babel/parser": "^7.16.4",
"@vue/shared": "3.2.21", "@vue/shared": "3.2.26",
"estree-walker": "^2.0.2", "estree-walker": "^2.0.2",
"source-map": "^0.6.1" "source-map": "^0.6.1"
} }
}, },
"node_modules/@vue/compiler-dom": { "node_modules/@vue/compiler-dom": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.26.tgz",
"integrity": "sha512-gsJD3DpYZSYquiA7UIPsMDSlAooYWDvHPq9VRsqzJEk2PZtFvLvHPb4aaMD8Ufd62xzYn32cnnkzsEOJhyGilA==", "integrity": "sha512-smBfaOW6mQDxcT3p9TKT6mE22vjxjJL50GFVJiI0chXYGU/xzC05QRGrW3HHVuJrmLTLx5zBhsZ2dIATERbarg==",
"dependencies": { "dependencies": {
"@vue/compiler-core": "3.2.21", "@vue/compiler-core": "3.2.26",
"@vue/shared": "3.2.21" "@vue/shared": "3.2.26"
} }
}, },
"node_modules/@vue/compiler-sfc": { "node_modules/@vue/compiler-sfc": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.26.tgz",
"integrity": "sha512-+yDlUSebKpz/ovxM2vLRRx7w/gVfY767pOfYTgbIhAs+ogvIV2BsIt4fpxlThnlCNChJ+yE0ERUNoROv2kEGEQ==", "integrity": "sha512-ePpnfktV90UcLdsDQUh2JdiTuhV0Skv2iYXxfNMOK/F3Q+2BO0AulcVcfoksOpTJGmhhfosWfMyEaEf0UaWpIw==",
"dependencies": { "dependencies": {
"@babel/parser": "^7.15.0", "@babel/parser": "^7.16.4",
"@vue/compiler-core": "3.2.21", "@vue/compiler-core": "3.2.26",
"@vue/compiler-dom": "3.2.21", "@vue/compiler-dom": "3.2.26",
"@vue/compiler-ssr": "3.2.21", "@vue/compiler-ssr": "3.2.26",
"@vue/ref-transform": "3.2.21", "@vue/reactivity-transform": "3.2.26",
"@vue/shared": "3.2.21", "@vue/shared": "3.2.26",
"estree-walker": "^2.0.2", "estree-walker": "^2.0.2",
"magic-string": "^0.25.7", "magic-string": "^0.25.7",
"postcss": "^8.1.10", "postcss": "^8.1.10",
@ -114,69 +114,69 @@
} }
}, },
"node_modules/@vue/compiler-ssr": { "node_modules/@vue/compiler-ssr": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.26.tgz",
"integrity": "sha512-eU+A0iWYy+1zAo2CRIJ0zSVlv1iuGAIbNRCnllSJ31pV1lX3jypJYzGbJlSRAbB7VP6E+tYveVT1Oq8JKewa3g==", "integrity": "sha512-2mywLX0ODc4Zn8qBoA2PDCsLEZfpUGZcyoFRLSOjyGGK6wDy2/5kyDOWtf0S0UvtoyVq95OTSGIALjZ4k2q/ag==",
"dependencies": { "dependencies": {
"@vue/compiler-dom": "3.2.21", "@vue/compiler-dom": "3.2.26",
"@vue/shared": "3.2.21" "@vue/shared": "3.2.26"
} }
}, },
"node_modules/@vue/reactivity": { "node_modules/@vue/reactivity": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.26.tgz",
"integrity": "sha512-7C57zFm/5E3SSTUhVuYj1InDwuJ+GIVQ/z+H43C9sST85gIThGXVhksl1yWTAadf8Yz4T5lSbqi5Ds8U/ueWcw==", "integrity": "sha512-h38bxCZLW6oFJVDlCcAiUKFnXI8xP8d+eO0pcDxx+7dQfSPje2AO6M9S9QO6MrxQB7fGP0DH0dYQ8ksf6hrXKQ==",
"dependencies": { "dependencies": {
"@vue/shared": "3.2.21" "@vue/shared": "3.2.26"
} }
}, },
"node_modules/@vue/ref-transform": { "node_modules/@vue/reactivity-transform": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/ref-transform/-/ref-transform-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.26.tgz",
"integrity": "sha512-uiEWWBsrGeun9O7dQExYWzXO3rHm/YdtFNXDVqCSoPypzOVxWxdiL+8hHeWzxMB58fVuV2sT80aUtIVyaBVZgQ==", "integrity": "sha512-XKMyuCmzNA7nvFlYhdKwD78rcnmPb7q46uoR00zkX6yZrUmcCQ5OikiwUEVbvNhL5hBJuvbSO95jB5zkUon+eQ==",
"dependencies": { "dependencies": {
"@babel/parser": "^7.15.0", "@babel/parser": "^7.16.4",
"@vue/compiler-core": "3.2.21", "@vue/compiler-core": "3.2.26",
"@vue/shared": "3.2.21", "@vue/shared": "3.2.26",
"estree-walker": "^2.0.2", "estree-walker": "^2.0.2",
"magic-string": "^0.25.7" "magic-string": "^0.25.7"
} }
}, },
"node_modules/@vue/runtime-core": { "node_modules/@vue/runtime-core": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.26.tgz",
"integrity": "sha512-7oOxKaU0D2IunOAMOOHZgJVrHg63xwng8BZx3fbgmakqEIMwHhQcp+5GV1sOg/sWW7R4UhaRDIUCukO2GRVK2Q==", "integrity": "sha512-BcYi7qZ9Nn+CJDJrHQ6Zsmxei2hDW0L6AB4vPvUQGBm2fZyC0GXd/4nVbyA2ubmuhctD5RbYY8L+5GUJszv9mQ==",
"dependencies": { "dependencies": {
"@vue/reactivity": "3.2.21", "@vue/reactivity": "3.2.26",
"@vue/shared": "3.2.21" "@vue/shared": "3.2.26"
} }
}, },
"node_modules/@vue/runtime-dom": { "node_modules/@vue/runtime-dom": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.26.tgz",
"integrity": "sha512-apBdriD6QsI4ywbllY8kjr9/0scGuStDuvLbJULPQkFPtHzntd51bP5PQTQVAEIc9kwnTozmj6x6ZdX/cwo7xA==", "integrity": "sha512-dY56UIiZI+gjc4e8JQBwAifljyexfVCkIAu/WX8snh8vSOt/gMSEGwPRcl2UpYpBYeyExV8WCbgvwWRNt9cHhQ==",
"dependencies": { "dependencies": {
"@vue/runtime-core": "3.2.21", "@vue/runtime-core": "3.2.26",
"@vue/shared": "3.2.21", "@vue/shared": "3.2.26",
"csstype": "^2.6.8" "csstype": "^2.6.8"
} }
}, },
"node_modules/@vue/server-renderer": { "node_modules/@vue/server-renderer": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.26.tgz",
"integrity": "sha512-QBgYqVgI7XCSBCqGa4LduV9vpfQFdZBOodFmq5Txk5W/v1KrJ1LoOh2Q0RHiRgtoK/UR9uyvRVcYqOmwHkZNEg==", "integrity": "sha512-Jp5SggDUvvUYSBIvYEhy76t4nr1vapY/FIFloWmQzn7UxqaHrrBpbxrqPcTrSgGrcaglj0VBp22BKJNre4aA1w==",
"dependencies": { "dependencies": {
"@vue/compiler-ssr": "3.2.21", "@vue/compiler-ssr": "3.2.26",
"@vue/shared": "3.2.21" "@vue/shared": "3.2.26"
}, },
"peerDependencies": { "peerDependencies": {
"vue": "3.2.21" "vue": "3.2.26"
} }
}, },
"node_modules/@vue/shared": { "node_modules/@vue/shared": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.26.tgz",
"integrity": "sha512-5EQmIPK6gw4UVYUbM959B0uPsJ58+xoMESCZs3N89XyvJ9e+fX4pqEPrOGV8OroIk3SbEvJcC+eYc8BH9JQrHA==" "integrity": "sha512-vPV6Cq+NIWbH5pZu+V+2QHE9y1qfuTq49uNWw4f7FDEeZaDU2H2cx5jcUZOAKW7qTrUS4k6qZPbMy1x4N96nbA=="
}, },
"node_modules/cross-fetch": { "node_modules/cross-fetch": {
"version": "3.1.4", "version": "3.1.4",
@ -188,9 +188,9 @@
} }
}, },
"node_modules/csstype": { "node_modules/csstype": {
"version": "2.6.18", "version": "2.6.19",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.18.tgz", "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.19.tgz",
"integrity": "sha512-RSU6Hyeg14am3Ah4VZEmeX8H7kLwEEirXe6aU2IPfKNvhXwTflK5HQRDNI0ypQXoqmm+QPyG2IaPuQE5zMwSIQ==" "integrity": "sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ=="
}, },
"node_modules/esbuild": { "node_modules/esbuild": {
"version": "0.13.13", "version": "0.13.13",
@ -531,13 +531,13 @@
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
}, },
"node_modules/postcss": { "node_modules/postcss": {
"version": "8.3.11", "version": "8.4.5",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.3.11.tgz", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.5.tgz",
"integrity": "sha512-hCmlUAIlUiav8Xdqw3Io4LcpA1DOt7h3LSTAC4G6JGHFFaWzI6qvFt9oilvl8BmkbBRX1IhM90ZAmpk68zccQA==", "integrity": "sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==",
"dependencies": { "dependencies": {
"nanoid": "^3.1.30", "nanoid": "^3.1.30",
"picocolors": "^1.0.0", "picocolors": "^1.0.0",
"source-map-js": "^0.6.2" "source-map-js": "^1.0.1"
}, },
"engines": { "engines": {
"node": "^10 || ^12 || >=14" "node": "^10 || ^12 || >=14"
@ -584,9 +584,9 @@
} }
}, },
"node_modules/source-map-js": { "node_modules/source-map-js": {
"version": "0.6.2", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-0.6.2.tgz", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.1.tgz",
"integrity": "sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug==", "integrity": "sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA==",
"engines": { "engines": {
"node": ">=0.10.0" "node": ">=0.10.0"
} }
@ -597,9 +597,9 @@
"integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==" "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA=="
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "4.4.4", "version": "4.5.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz",
"integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==", "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==",
"dev": true, "dev": true,
"bin": { "bin": {
"tsc": "bin/tsc", "tsc": "bin/tsc",
@ -647,23 +647,23 @@
} }
}, },
"node_modules/vue": { "node_modules/vue": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/vue/-/vue-3.2.21.tgz", "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.26.tgz",
"integrity": "sha512-jpy7ckXdyclfRzqLjL4mtq81AkzQleE54KjZsJg/9OorNVurAxdlU5XpD49GpjKdnftuffKUvx2C5jDOrgc/zg==", "integrity": "sha512-KD4lULmskL5cCsEkfhERVRIOEDrfEL9CwAsLYpzptOGjaGFNWo3BQ9g8MAb7RaIO71rmVOziZ/uEN/rHwcUIhg==",
"dependencies": { "dependencies": {
"@vue/compiler-dom": "3.2.21", "@vue/compiler-dom": "3.2.26",
"@vue/compiler-sfc": "3.2.21", "@vue/compiler-sfc": "3.2.26",
"@vue/runtime-dom": "3.2.21", "@vue/runtime-dom": "3.2.26",
"@vue/server-renderer": "3.2.21", "@vue/server-renderer": "3.2.26",
"@vue/shared": "3.2.21" "@vue/shared": "3.2.26"
} }
} }
}, },
"dependencies": { "dependencies": {
"@babel/parser": { "@babel/parser": {
"version": "7.16.3", "version": "7.16.8",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.3.tgz", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.8.tgz",
"integrity": "sha512-dcNwU1O4sx57ClvLBVFbEgx0UZWfd0JQX5X6fxFRCLHelFBGXFfSz6Y0FAq2PEwUqlqLkdVjVr4VASEOuUnLJw==" "integrity": "sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw=="
}, },
"@iconify-icons/bx": { "@iconify-icons/bx": {
"version": "1.1.2", "version": "1.1.2",
@ -678,15 +678,15 @@
"dev": true "dev": true
}, },
"@iconify/types": { "@iconify/types": {
"version": "1.0.10", "version": "1.0.12",
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.0.10.tgz", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.0.12.tgz",
"integrity": "sha512-SN3z6einVeUckDQiE8p4POF7X4hk4/y2+a7a4ogJOCxX5XT6z1zXNN8dwS5O1vloXpc6mkHizRZm2qPnhK6NnQ==", "integrity": "sha512-6er6wSGF3hgc1JEZqiGpg21CTCjHBYOUwqLmb2Idzkjiw6ogalGP0ZMLVutCzah+0WB4yP+Zd2oVPN8jvJ+Ftg==",
"dev": true "dev": true
}, },
"@iconify/vue": { "@iconify/vue": {
"version": "3.1.0", "version": "3.1.2",
"resolved": "https://registry.npmjs.org/@iconify/vue/-/vue-3.1.0.tgz", "resolved": "https://registry.npmjs.org/@iconify/vue/-/vue-3.1.2.tgz",
"integrity": "sha512-3vyIxu/Oq8VBoR9LRLMvPt/Ia6kdp9aydGRbTbvnHoREFp6B/RFLR1U64mtPVdOWNTj6DebjTun4yOx4vBkhsg==", "integrity": "sha512-c777kFKOaEpiJCwz5lOgETWZnq4lEermMQ0RBCzTyRaGC/lmvw2SLF7aJQGri1sGFt4Z5GuXpnlX4DNf3aN+qA==",
"dev": true, "dev": true,
"requires": { "requires": {
"cross-fetch": "^3.1.4" "cross-fetch": "^3.1.4"
@ -700,36 +700,36 @@
"requires": {} "requires": {}
}, },
"@vue/compiler-core": { "@vue/compiler-core": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.26.tgz",
"integrity": "sha512-NhhiQZNG71KNq1h5pMW/fAXdTF7lJRaSI7LDm2edhHXVz1ROMICo8SreUmQnSf4Fet0UPBVqJ988eF4+936iDQ==", "integrity": "sha512-N5XNBobZbaASdzY9Lga2D9Lul5vdCIOXvUMd6ThcN8zgqQhPKfCV+wfAJNNJKQkSHudnYRO2gEB+lp0iN3g2Tw==",
"requires": { "requires": {
"@babel/parser": "^7.15.0", "@babel/parser": "^7.16.4",
"@vue/shared": "3.2.21", "@vue/shared": "3.2.26",
"estree-walker": "^2.0.2", "estree-walker": "^2.0.2",
"source-map": "^0.6.1" "source-map": "^0.6.1"
} }
}, },
"@vue/compiler-dom": { "@vue/compiler-dom": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.26.tgz",
"integrity": "sha512-gsJD3DpYZSYquiA7UIPsMDSlAooYWDvHPq9VRsqzJEk2PZtFvLvHPb4aaMD8Ufd62xzYn32cnnkzsEOJhyGilA==", "integrity": "sha512-smBfaOW6mQDxcT3p9TKT6mE22vjxjJL50GFVJiI0chXYGU/xzC05QRGrW3HHVuJrmLTLx5zBhsZ2dIATERbarg==",
"requires": { "requires": {
"@vue/compiler-core": "3.2.21", "@vue/compiler-core": "3.2.26",
"@vue/shared": "3.2.21" "@vue/shared": "3.2.26"
} }
}, },
"@vue/compiler-sfc": { "@vue/compiler-sfc": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.26.tgz",
"integrity": "sha512-+yDlUSebKpz/ovxM2vLRRx7w/gVfY767pOfYTgbIhAs+ogvIV2BsIt4fpxlThnlCNChJ+yE0ERUNoROv2kEGEQ==", "integrity": "sha512-ePpnfktV90UcLdsDQUh2JdiTuhV0Skv2iYXxfNMOK/F3Q+2BO0AulcVcfoksOpTJGmhhfosWfMyEaEf0UaWpIw==",
"requires": { "requires": {
"@babel/parser": "^7.15.0", "@babel/parser": "^7.16.4",
"@vue/compiler-core": "3.2.21", "@vue/compiler-core": "3.2.26",
"@vue/compiler-dom": "3.2.21", "@vue/compiler-dom": "3.2.26",
"@vue/compiler-ssr": "3.2.21", "@vue/compiler-ssr": "3.2.26",
"@vue/ref-transform": "3.2.21", "@vue/reactivity-transform": "3.2.26",
"@vue/shared": "3.2.21", "@vue/shared": "3.2.26",
"estree-walker": "^2.0.2", "estree-walker": "^2.0.2",
"magic-string": "^0.25.7", "magic-string": "^0.25.7",
"postcss": "^8.1.10", "postcss": "^8.1.10",
@ -737,66 +737,66 @@
} }
}, },
"@vue/compiler-ssr": { "@vue/compiler-ssr": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.26.tgz",
"integrity": "sha512-eU+A0iWYy+1zAo2CRIJ0zSVlv1iuGAIbNRCnllSJ31pV1lX3jypJYzGbJlSRAbB7VP6E+tYveVT1Oq8JKewa3g==", "integrity": "sha512-2mywLX0ODc4Zn8qBoA2PDCsLEZfpUGZcyoFRLSOjyGGK6wDy2/5kyDOWtf0S0UvtoyVq95OTSGIALjZ4k2q/ag==",
"requires": { "requires": {
"@vue/compiler-dom": "3.2.21", "@vue/compiler-dom": "3.2.26",
"@vue/shared": "3.2.21" "@vue/shared": "3.2.26"
} }
}, },
"@vue/reactivity": { "@vue/reactivity": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.26.tgz",
"integrity": "sha512-7C57zFm/5E3SSTUhVuYj1InDwuJ+GIVQ/z+H43C9sST85gIThGXVhksl1yWTAadf8Yz4T5lSbqi5Ds8U/ueWcw==", "integrity": "sha512-h38bxCZLW6oFJVDlCcAiUKFnXI8xP8d+eO0pcDxx+7dQfSPje2AO6M9S9QO6MrxQB7fGP0DH0dYQ8ksf6hrXKQ==",
"requires": { "requires": {
"@vue/shared": "3.2.21" "@vue/shared": "3.2.26"
} }
}, },
"@vue/ref-transform": { "@vue/reactivity-transform": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/ref-transform/-/ref-transform-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.26.tgz",
"integrity": "sha512-uiEWWBsrGeun9O7dQExYWzXO3rHm/YdtFNXDVqCSoPypzOVxWxdiL+8hHeWzxMB58fVuV2sT80aUtIVyaBVZgQ==", "integrity": "sha512-XKMyuCmzNA7nvFlYhdKwD78rcnmPb7q46uoR00zkX6yZrUmcCQ5OikiwUEVbvNhL5hBJuvbSO95jB5zkUon+eQ==",
"requires": { "requires": {
"@babel/parser": "^7.15.0", "@babel/parser": "^7.16.4",
"@vue/compiler-core": "3.2.21", "@vue/compiler-core": "3.2.26",
"@vue/shared": "3.2.21", "@vue/shared": "3.2.26",
"estree-walker": "^2.0.2", "estree-walker": "^2.0.2",
"magic-string": "^0.25.7" "magic-string": "^0.25.7"
} }
}, },
"@vue/runtime-core": { "@vue/runtime-core": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.26.tgz",
"integrity": "sha512-7oOxKaU0D2IunOAMOOHZgJVrHg63xwng8BZx3fbgmakqEIMwHhQcp+5GV1sOg/sWW7R4UhaRDIUCukO2GRVK2Q==", "integrity": "sha512-BcYi7qZ9Nn+CJDJrHQ6Zsmxei2hDW0L6AB4vPvUQGBm2fZyC0GXd/4nVbyA2ubmuhctD5RbYY8L+5GUJszv9mQ==",
"requires": { "requires": {
"@vue/reactivity": "3.2.21", "@vue/reactivity": "3.2.26",
"@vue/shared": "3.2.21" "@vue/shared": "3.2.26"
} }
}, },
"@vue/runtime-dom": { "@vue/runtime-dom": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.26.tgz",
"integrity": "sha512-apBdriD6QsI4ywbllY8kjr9/0scGuStDuvLbJULPQkFPtHzntd51bP5PQTQVAEIc9kwnTozmj6x6ZdX/cwo7xA==", "integrity": "sha512-dY56UIiZI+gjc4e8JQBwAifljyexfVCkIAu/WX8snh8vSOt/gMSEGwPRcl2UpYpBYeyExV8WCbgvwWRNt9cHhQ==",
"requires": { "requires": {
"@vue/runtime-core": "3.2.21", "@vue/runtime-core": "3.2.26",
"@vue/shared": "3.2.21", "@vue/shared": "3.2.26",
"csstype": "^2.6.8" "csstype": "^2.6.8"
} }
}, },
"@vue/server-renderer": { "@vue/server-renderer": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.26.tgz",
"integrity": "sha512-QBgYqVgI7XCSBCqGa4LduV9vpfQFdZBOodFmq5Txk5W/v1KrJ1LoOh2Q0RHiRgtoK/UR9uyvRVcYqOmwHkZNEg==", "integrity": "sha512-Jp5SggDUvvUYSBIvYEhy76t4nr1vapY/FIFloWmQzn7UxqaHrrBpbxrqPcTrSgGrcaglj0VBp22BKJNre4aA1w==",
"requires": { "requires": {
"@vue/compiler-ssr": "3.2.21", "@vue/compiler-ssr": "3.2.26",
"@vue/shared": "3.2.21" "@vue/shared": "3.2.26"
} }
}, },
"@vue/shared": { "@vue/shared": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.21.tgz", "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.26.tgz",
"integrity": "sha512-5EQmIPK6gw4UVYUbM959B0uPsJ58+xoMESCZs3N89XyvJ9e+fX4pqEPrOGV8OroIk3SbEvJcC+eYc8BH9JQrHA==" "integrity": "sha512-vPV6Cq+NIWbH5pZu+V+2QHE9y1qfuTq49uNWw4f7FDEeZaDU2H2cx5jcUZOAKW7qTrUS4k6qZPbMy1x4N96nbA=="
}, },
"cross-fetch": { "cross-fetch": {
"version": "3.1.4", "version": "3.1.4",
@ -808,9 +808,9 @@
} }
}, },
"csstype": { "csstype": {
"version": "2.6.18", "version": "2.6.19",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.18.tgz", "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.19.tgz",
"integrity": "sha512-RSU6Hyeg14am3Ah4VZEmeX8H7kLwEEirXe6aU2IPfKNvhXwTflK5HQRDNI0ypQXoqmm+QPyG2IaPuQE5zMwSIQ==" "integrity": "sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ=="
}, },
"esbuild": { "esbuild": {
"version": "0.13.13", "version": "0.13.13",
@ -1023,13 +1023,13 @@
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
}, },
"postcss": { "postcss": {
"version": "8.3.11", "version": "8.4.5",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.3.11.tgz", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.5.tgz",
"integrity": "sha512-hCmlUAIlUiav8Xdqw3Io4LcpA1DOt7h3LSTAC4G6JGHFFaWzI6qvFt9oilvl8BmkbBRX1IhM90ZAmpk68zccQA==", "integrity": "sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==",
"requires": { "requires": {
"nanoid": "^3.1.30", "nanoid": "^3.1.30",
"picocolors": "^1.0.0", "picocolors": "^1.0.0",
"source-map-js": "^0.6.2" "source-map-js": "^1.0.1"
} }
}, },
"resolve": { "resolve": {
@ -1057,9 +1057,9 @@
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
}, },
"source-map-js": { "source-map-js": {
"version": "0.6.2", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-0.6.2.tgz", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.1.tgz",
"integrity": "sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug==" "integrity": "sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA=="
}, },
"sourcemap-codec": { "sourcemap-codec": {
"version": "1.4.8", "version": "1.4.8",
@ -1067,9 +1067,9 @@
"integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==" "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA=="
}, },
"typescript": { "typescript": {
"version": "4.4.4", "version": "4.5.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz",
"integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==", "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==",
"dev": true "dev": true
}, },
"vite": { "vite": {
@ -1086,15 +1086,15 @@
} }
}, },
"vue": { "vue": {
"version": "3.2.21", "version": "3.2.26",
"resolved": "https://registry.npmjs.org/vue/-/vue-3.2.21.tgz", "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.26.tgz",
"integrity": "sha512-jpy7ckXdyclfRzqLjL4mtq81AkzQleE54KjZsJg/9OorNVurAxdlU5XpD49GpjKdnftuffKUvx2C5jDOrgc/zg==", "integrity": "sha512-KD4lULmskL5cCsEkfhERVRIOEDrfEL9CwAsLYpzptOGjaGFNWo3BQ9g8MAb7RaIO71rmVOziZ/uEN/rHwcUIhg==",
"requires": { "requires": {
"@vue/compiler-dom": "3.2.21", "@vue/compiler-dom": "3.2.26",
"@vue/compiler-sfc": "3.2.21", "@vue/compiler-sfc": "3.2.26",
"@vue/runtime-dom": "3.2.21", "@vue/runtime-dom": "3.2.26",
"@vue/server-renderer": "3.2.21", "@vue/server-renderer": "3.2.26",
"@vue/shared": "3.2.21" "@vue/shared": "3.2.26"
} }
} }
} }

View File

@ -7,15 +7,15 @@
"build": "vite build" "build": "vite build"
}, },
"dependencies": { "dependencies": {
"vue": "^3.2.21" "vue": "^3.2.26"
}, },
"devDependencies": { "devDependencies": {
"@iconify-icons/bx": "^1.0.2", "@iconify-icons/bx": "^1.0.2",
"@iconify-icons/dashicons": "^1.0.0", "@iconify-icons/dashicons": "^1.0.0",
"@iconify/types": "^1.0.9", "@iconify/types": "^1.0.12",
"@iconify/vue": "^3.1.0", "@iconify/vue": "^3.1.2",
"@vitejs/plugin-vue": "^1.9.4", "@vitejs/plugin-vue": "^1.9.4",
"typescript": "^4.4.3", "typescript": "^4.5.4",
"vite": "^2.6.14" "vite": "^2.6.14"
} }
} }

View File

@ -60,12 +60,12 @@ addOnlineIcon('demo', bxShapes);
addOfflineIcon('experiment2', { addOfflineIcon('experiment2', {
width: 16, width: 16,
height: 16, height: 16,
body: '<circle fill-opacity="0.2" cx="8" cy="8" r="7" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15Z" fill="currentColor"/><path d="M7 9L5 7L3.5 8.5L7 12L13 6L11.5 4.5L7 9Z" fill="currentColor"/>', body: '<g fill="none" stroke-linecap="round" stroke-width="1" stroke="currentColor"><circle cx="8" cy="8" r="7.5" stroke-dasharray="48" stroke-dashoffset="48"><animate id="circle" attributeName="stroke-dashoffset" values="48;0" dur="0.5s" fill="freeze" /></circle><path d="M8 5v3" stroke-width="2" stroke-dasharray="5" stroke-dashoffset="5"><animate attributeName="stroke-dashoffset" values="5;0" dur="0.3s" begin="circle.end+0.1s" fill="freeze" /></path></g><circle cx="8" cy="11" r="1" fill="currentColor" opacity="0"><animate attributeName="opacity" values="0;1" dur="0.2s" begin="circle.end+0.5s" fill="freeze" /></circle>',
}); });
addOnlineIcon('experiment2', { addOnlineIcon('experiment2', {
width: 16, width: 16,
height: 16, height: 16,
body: '<g fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M13 8.9c.1.6.2 1.1.4 1.7l.6 1.7l-.5.7H10c0 .5-.2 1-.6 1.4c-.4.4-.9.6-1.4.6c-.5 0-1.1-.2-1.4-.6c-.4-.4-.6-.9-.6-1.4H2.5l-.5-.7l.6-1.7c.2-.8.4-1.6.4-2.4V6c0-.7.1-1.4.4-2c.3-.7.7-1.2 1.2-1.7s1.1-.8 1.8-1C6.9 1.1 7.5 1 8 1c-.2.3-.4.7-.6 1.1c-.2 0-.4 0-.7.2c-.5.1-1 .4-1.4.8c-.4.3-.8.8-1 1.3c-.2.5-.3 1-.3 1.6v2.2c0 .9-.2 1.8-.4 2.7L3.2 12h9.6l-.4-1.1c-.175-.526-.274-1.13-.363-1.674L12 9c.4 0 .7 0 1-.1zM8 14c.2 0 .5-.1.7-.3c.2-.2.3-.4.3-.7H7c0 .3.1.5.3.7c.2.2.5.3.7.3zm7-10a3 3 0 1 1-6 0a3 3 0 0 1 6 0z"></path></g>', body: '<mask id="coffee-mask" x="0" y="0" width="16" height="16"><g fill="white"><path d="M5-2c0 2-2 2-2 4s2 2 2 4-2 2-2 4 2 2 2 4M8.5-2c0 2-2 2-2 4s2 2 2 4-2 2-2 4 2 2 2 4M12-2c0 2-2 2-2 4s2 2 2 4-2 2-2 4 2 2 2 4" stroke="white" stroke-width="1" fill="none"><animateMotion path="M0 0v-8" calcMode="linear" dur="3s" repeatCount="indefinite" /></path></g><rect y="4" width="16" height="12" fill="black" /><path d="M2 5H13C14.1046 5 15 5.89543 15 7V8C15 9.10457 14.1046 10 13 10H12V14C12 15.1046 11.1046 16 10 16H4C2.89543 16 2 15.1046 2 14V5Z" fill="white" /><path d="M12 6H13C13.5523 6 14 6.44772 14 7V8C14 8.55228 13.5523 9 13 9H12V6Z" fill="black" /></mask><rect mask="url(#coffee-mask)" width="16" height="16" fill="currentColor" />',
}); });
// Add few mdi-light: icons // Add few mdi-light: icons

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
"name": "@iconify/vue", "name": "@iconify/vue",
"description": "Iconify icon component for Vue 3.", "description": "Iconify icon component for Vue 3.",
"author": "Vjacheslav Trushkin", "author": "Vjacheslav Trushkin",
"version": "3.1.1", "version": "3.1.2",
"license": "MIT", "license": "MIT",
"bugs": "https://github.com/iconify/iconify/issues", "bugs": "https://github.com/iconify/iconify/issues",
"homepage": "https://iconify.design/", "homepage": "https://iconify.design/",
@ -18,7 +18,7 @@
"build:dist": "rollup -c rollup.config.js", "build:dist": "rollup -c rollup.config.js",
"prebuild:api": "api-extractor run --local --verbose --config api-extractor.offline.json", "prebuild:api": "api-extractor run --local --verbose --config api-extractor.offline.json",
"build:api": "api-extractor run --local --verbose --config api-extractor.iconify.json", "build:api": "api-extractor run --local --verbose --config api-extractor.iconify.json",
"test": "jest" "test": "jest --runInBand"
}, },
"main": "dist/iconify.js", "main": "dist/iconify.js",
"module": "dist/iconify.mjs", "module": "dist/iconify.mjs",
@ -37,17 +37,17 @@
} }
}, },
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.15.6", "@babel/preset-env": "^7.16.8",
"@iconify/core": "^1.2.2", "@iconify/core": "^1.2.3",
"@microsoft/api-extractor": "^7.15.2", "@microsoft/api-extractor": "^7.19.4",
"@rollup/plugin-node-resolve": "^13.0.0", "@rollup/plugin-node-resolve": "^13.1.3",
"@types/jest": "^27.0.2", "@types/jest": "^27.0.2",
"@vue/test-utils": "^2.0.0-rc.6", "@vue/test-utils": "^2.0.0-rc.18",
"@vue/vue3-jest": "^27.0.0-alpha.1", "@vue/vue3-jest": "^27.0.0-alpha.4",
"babel-jest": "^27.2.2", "babel-jest": "^27.4.6",
"jest": "^27.2.2", "jest": "^27.4.7",
"rollup": "^2.57.0", "rollup": "^2.63.0",
"typescript": "^4.4.3", "typescript": "^4.5.4",
"vue": "3" "vue": "3"
}, },
"peerDependencies": { "peerDependencies": {

View File

@ -156,7 +156,7 @@ describe('Rendering icon', () => {
const wrapper = mount(Wrapper, {}); const wrapper = mount(Wrapper, {});
// Should render empty icon // Should render empty icon
expect(wrapper.html()).toEqual('<!---->'); expect(wrapper.html()).toEqual('');
// onLoad should not have been called yet // onLoad should not have been called yet
expect(onLoadCalled).toEqual(false); expect(onLoadCalled).toEqual(false);
@ -185,7 +185,7 @@ describe('Rendering icon', () => {
// Wrapped in double setTimeout() because re-render takes 2 ticks // Wrapped in double setTimeout() because re-render takes 2 ticks
setTimeout(() => { setTimeout(() => {
setTimeout(() => { setTimeout(() => {
expect(wrapper.html()).toEqual('<!---->'); expect(wrapper.html()).toEqual('');
done(); done();
}, 0); }, 0);
@ -209,6 +209,6 @@ describe('Rendering icon', () => {
const wrapper = mount(Wrapper, {}); const wrapper = mount(Wrapper, {});
// Should render empty icon // Should render empty icon
expect(wrapper.html()).toEqual('<!---->'); expect(wrapper.html()).toEqual('');
}); });
}); });

View File

@ -147,7 +147,7 @@ describe('Rendering icon', () => {
const wrapper = mount(Wrapper, {}); const wrapper = mount(Wrapper, {});
// Should render placeholder // Should render placeholder
expect(wrapper.html()).toEqual('<!---->'); expect(wrapper.html()).toEqual('');
// onLoad should not have been called yet // onLoad should not have been called yet
expect(onLoadCalled).toEqual(''); expect(onLoadCalled).toEqual('');
@ -232,7 +232,7 @@ describe('Rendering icon', () => {
const wrapper = mount(Wrapper, {}); const wrapper = mount(Wrapper, {});
// Should render placeholder // Should render placeholder
expect(wrapper.html()).toEqual('<!---->'); expect(wrapper.html()).toEqual('');
// Change icon name // Change icon name
wrapper.setProps({ wrapper.setProps({

View File

@ -10,7 +10,7 @@ describe('Empty icon', () => {
props: {}, props: {},
}); });
expect(wrapper.html().replace(/\s*\n\s*/g, '')).toBe('<!---->'); expect(wrapper.html().replace(/\s*\n\s*/g, '')).toBe('');
}); });
test('with child node', () => { test('with child node', () => {
@ -38,12 +38,12 @@ describe('Empty icon', () => {
test('with multiple childen', () => { test('with multiple childen', () => {
const Wrapper = { const Wrapper = {
components: { Icon }, components: { Icon },
template: `<Icon><i class="fa fa-home" /> Home icon</Icon>`, template: `<Icon><i class="fa fa-home" />Home icon</Icon>`,
}; };
const wrapper = mount(Wrapper, {}); const wrapper = mount(Wrapper, {});
expect(wrapper.html().replace(/\s*\n\s*/g, '')).toBe( expect(wrapper.html().replace(/\s*\n\s*/g, '')).toBe(
'<i class="fa fa-home"></i> Home icon' '<i class="fa fa-home"></i>Home icon'
); );
}); });
}); });

View File

@ -11,7 +11,7 @@ describe('Empty icon', () => {
props: {}, props: {},
}); });
expect(wrapper.html().replace(/\s*\n\s*/g, '')).toBe('<!---->'); expect(wrapper.html().replace(/\s*\n\s*/g, '')).toBe('');
}); });
test('with child node', () => { test('with child node', () => {
@ -39,12 +39,12 @@ describe('Empty icon', () => {
test('with multiple childen', () => { test('with multiple childen', () => {
const Wrapper = { const Wrapper = {
components: { Icon }, components: { Icon },
template: `<Icon><i class="fa fa-home" /> Home icon</Icon>`, template: `<Icon><i class="fa fa-home" />Home icon</Icon>`,
}; };
const wrapper = mount(Wrapper, {}); const wrapper = mount(Wrapper, {});
expect(wrapper.html().replace(/\s*\n\s*/g, '')).toBe( expect(wrapper.html().replace(/\s*\n\s*/g, '')).toBe(
'<i class="fa fa-home"></i> Home icon' '<i class="fa fa-home"></i>Home icon'
); );
}); });
}); });

View File

@ -93,6 +93,6 @@ describe('Using storage', () => {
}; };
const wrapper = mount(Wrapper, {}); const wrapper = mount(Wrapper, {});
expect(wrapper.html().replace(/\s*\n\s*/g, '')).toBe('<!---->'); expect(wrapper.html().replace(/\s*\n\s*/g, '')).toBe('');
}); });
}); });

File diff suppressed because it is too large Load Diff

View File

@ -7,20 +7,20 @@
"build": "vue-cli-service build" "build": "vue-cli-service build"
}, },
"dependencies": { "dependencies": {
"vue": "^2.6.12", "vue": "^2.6.14",
"vue-class-component": "^7.2.6", "vue-class-component": "^7.2.6",
"vue-property-decorator": "^9.1.2" "vue-property-decorator": "^9.1.2"
}, },
"devDependencies": { "devDependencies": {
"@iconify-icons/bx": "^1.1.0", "@iconify-icons/bx": "^1.1.0",
"@iconify-icons/dashicons": "^1.1.0", "@iconify-icons/dashicons": "^1.1.0",
"@iconify/vue2": "^1.1.0", "@iconify/vue2": "^1.1.2",
"@vue/cli-plugin-babel": "^4.5.15", "@vue/cli-plugin-babel": "^4.5.15",
"@vue/cli-plugin-typescript": "^4.5.15", "@vue/cli-plugin-typescript": "^4.5.15",
"@vue/cli-service": "^4.5.15", "@vue/cli-service": "^4.5.15",
"@vue/eslint-config-typescript": "^7.0.0", "@vue/eslint-config-typescript": "^10.0.0",
"core-js": "^3.12.0", "core-js": "^3.20.2",
"typescript": "^4.4.3", "typescript": "^4.5.4",
"vue-template-compiler": "^2.6.12" "vue-template-compiler": "^2.6.14"
} }
} }

View File

@ -59,14 +59,12 @@ addOnlineIcon('demo', bxShapes);
addOfflineIcon('experiment2', { addOfflineIcon('experiment2', {
width: 16, width: 16,
height: 16, height: 16,
body: body: '<g fill="none" stroke-linecap="round" stroke-width="1" stroke="currentColor"><circle cx="8" cy="8" r="7.5" stroke-dasharray="48" stroke-dashoffset="48"><animate id="circle" attributeName="stroke-dashoffset" values="48;0" dur="0.5s" fill="freeze" /></circle><path d="M8 5v3" stroke-width="2" stroke-dasharray="5" stroke-dashoffset="5"><animate attributeName="stroke-dashoffset" values="5;0" dur="0.3s" begin="circle.end+0.1s" fill="freeze" /></path></g><circle cx="8" cy="11" r="1" fill="currentColor" opacity="0"><animate attributeName="opacity" values="0;1" dur="0.2s" begin="circle.end+0.5s" fill="freeze" /></circle>',
'<circle fill-opacity="0.2" cx="8" cy="8" r="7" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15Z" fill="currentColor"/><path d="M7 9L5 7L3.5 8.5L7 12L13 6L11.5 4.5L7 9Z" fill="currentColor"/>',
}); });
addOnlineIcon('experiment2', { addOnlineIcon('experiment2', {
width: 16, width: 16,
height: 16, height: 16,
body: body: '<mask id="coffee-mask" x="0" y="0" width="16" height="16"><g fill="white"><path d="M5-2c0 2-2 2-2 4s2 2 2 4-2 2-2 4 2 2 2 4M8.5-2c0 2-2 2-2 4s2 2 2 4-2 2-2 4 2 2 2 4M12-2c0 2-2 2-2 4s2 2 2 4-2 2-2 4 2 2 2 4" stroke="white" stroke-width="1" fill="none"><animateMotion path="M0 0v-8" calcMode="linear" dur="3s" repeatCount="indefinite" /></path></g><rect y="4" width="16" height="12" fill="black" /><path d="M2 5H13C14.1046 5 15 5.89543 15 7V8C15 9.10457 14.1046 10 13 10H12V14C12 15.1046 11.1046 16 10 16H4C2.89543 16 2 15.1046 2 14V5Z" fill="white" /><path d="M12 6H13C13.5523 6 14 6.44772 14 7V8C14 8.55228 13.5523 9 13 9H12V6Z" fill="black" /></mask><rect mask="url(#coffee-mask)" width="16" height="16" fill="currentColor" />',
'<g fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M13 8.9c.1.6.2 1.1.4 1.7l.6 1.7l-.5.7H10c0 .5-.2 1-.6 1.4c-.4.4-.9.6-1.4.6c-.5 0-1.1-.2-1.4-.6c-.4-.4-.6-.9-.6-1.4H2.5l-.5-.7l.6-1.7c.2-.8.4-1.6.4-2.4V6c0-.7.1-1.4.4-2c.3-.7.7-1.2 1.2-1.7s1.1-.8 1.8-1C6.9 1.1 7.5 1 8 1c-.2.3-.4.7-.6 1.1c-.2 0-.4 0-.7.2c-.5.1-1 .4-1.4.8c-.4.3-.8.8-1 1.3c-.2.5-.3 1-.3 1.6v2.2c0 .9-.2 1.8-.4 2.7L3.2 12h9.6l-.4-1.1c-.175-.526-.274-1.13-.363-1.674L12 9c.4 0 .7 0 1-.1zM8 14c.2 0 .5-.1.7-.3c.2-.2.3-.4.3-.7H7c0 .3.1.5.3.7c.2.2.5.3.7.3zm7-10a3 3 0 1 1-6 0a3 3 0 0 1 6 0z"></path></g>',
}); });
// Add few mdi-light: icons // Add few mdi-light: icons
@ -74,12 +72,10 @@ addOfflineCollection({
prefix: 'offline-mdi-light', prefix: 'offline-mdi-light',
icons: { icons: {
'account-alert': { 'account-alert': {
body: body: '<path d="M10.5 14c4.142 0 7.5 1.567 7.5 3.5V20H3v-2.5c0-1.933 3.358-3.5 7.5-3.5zm6.5 3.5c0-1.38-2.91-2.5-6.5-2.5S4 16.12 4 17.5V19h13v-1.5zM10.5 5a3.5 3.5 0 1 1 0 7a3.5 3.5 0 0 1 0-7zm0 1a2.5 2.5 0 1 0 0 5a2.5 2.5 0 0 0 0-5zM20 16v-1h1v1h-1zm0-3V7h1v6h-1z" fill="currentColor"/>',
'<path d="M10.5 14c4.142 0 7.5 1.567 7.5 3.5V20H3v-2.5c0-1.933 3.358-3.5 7.5-3.5zm6.5 3.5c0-1.38-2.91-2.5-6.5-2.5S4 16.12 4 17.5V19h13v-1.5zM10.5 5a3.5 3.5 0 1 1 0 7a3.5 3.5 0 0 1 0-7zm0 1a2.5 2.5 0 1 0 0 5a2.5 2.5 0 0 0 0-5zM20 16v-1h1v1h-1zm0-3V7h1v6h-1z" fill="currentColor"/>',
}, },
'link': { 'link': {
body: body: '<path d="M8 13v-1h7v1H8zm7.5-6a5.5 5.5 0 1 1 0 11H13v-1h2.5a4.5 4.5 0 1 0 0-9H13V7h2.5zm-8 11a5.5 5.5 0 1 1 0-11H10v1H7.5a4.5 4.5 0 1 0 0 9H10v1H7.5z" fill="currentColor"/>',
'<path d="M8 13v-1h7v1H8zm7.5-6a5.5 5.5 0 1 1 0 11H13v-1h2.5a4.5 4.5 0 1 0 0-9H13V7h2.5zm-8 11a5.5 5.5 0 1 1 0-11H10v1H7.5a4.5 4.5 0 1 0 0 9H10v1H7.5z" fill="currentColor"/>',
}, },
}, },
width: 24, width: 24,
@ -89,12 +85,10 @@ addOnlineCollection({
prefix: '', prefix: '',
icons: { icons: {
alert1: { alert1: {
body: body: '<path d="M10.5 14c4.142 0 7.5 1.567 7.5 3.5V20H3v-2.5c0-1.933 3.358-3.5 7.5-3.5zm6.5 3.5c0-1.38-2.91-2.5-6.5-2.5S4 16.12 4 17.5V19h13v-1.5zM10.5 5a3.5 3.5 0 1 1 0 7a3.5 3.5 0 0 1 0-7zm0 1a2.5 2.5 0 1 0 0 5a2.5 2.5 0 0 0 0-5zM20 16v-1h1v1h-1zm0-3V7h1v6h-1z" fill="currentColor"/>',
'<path d="M10.5 14c4.142 0 7.5 1.567 7.5 3.5V20H3v-2.5c0-1.933 3.358-3.5 7.5-3.5zm6.5 3.5c0-1.38-2.91-2.5-6.5-2.5S4 16.12 4 17.5V19h13v-1.5zM10.5 5a3.5 3.5 0 1 1 0 7a3.5 3.5 0 0 1 0-7zm0 1a2.5 2.5 0 1 0 0 5a2.5 2.5 0 0 0 0-5zM20 16v-1h1v1h-1zm0-3V7h1v6h-1z" fill="currentColor"/>',
}, },
link1: { link1: {
body: body: '<path d="M8 13v-1h7v1H8zm7.5-6a5.5 5.5 0 1 1 0 11H13v-1h2.5a4.5 4.5 0 1 0 0-9H13V7h2.5zm-8 11a5.5 5.5 0 1 1 0-11H10v1H7.5a4.5 4.5 0 1 0 0 9H10v1H7.5z" fill="currentColor"/>',
'<path d="M8 13v-1h7v1H8zm7.5-6a5.5 5.5 0 1 1 0 11H13v-1h2.5a4.5 4.5 0 1 0 0-9H13V7h2.5zm-8 11a5.5 5.5 0 1 1 0-11H10v1H7.5a4.5 4.5 0 1 0 0 9H10v1H7.5z" fill="currentColor"/>',
}, },
}, },
width: 24, width: 24,

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
"name": "@iconify/vue2", "name": "@iconify/vue2",
"description": "Iconify icon component for Vue 2.", "description": "Iconify icon component for Vue 2.",
"author": "Vjacheslav Trushkin", "author": "Vjacheslav Trushkin",
"version": "1.1.1", "version": "1.1.2",
"license": "MIT", "license": "MIT",
"bugs": "https://github.com/iconify/iconify/issues", "bugs": "https://github.com/iconify/iconify/issues",
"homepage": "https://iconify.design/", "homepage": "https://iconify.design/",
@ -18,7 +18,7 @@
"build:dist": "rollup -c rollup.config.js", "build:dist": "rollup -c rollup.config.js",
"prebuild:api": "api-extractor run --local --verbose --config api-extractor.offline.json", "prebuild:api": "api-extractor run --local --verbose --config api-extractor.offline.json",
"build:api": "api-extractor run --local --verbose --config api-extractor.iconify.json", "build:api": "api-extractor run --local --verbose --config api-extractor.iconify.json",
"test": "jest" "test": "jest --runInBand"
}, },
"main": "dist/iconify.js", "main": "dist/iconify.js",
"module": "dist/iconify.mjs", "module": "dist/iconify.mjs",
@ -37,17 +37,17 @@
} }
}, },
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.16.0", "@babel/preset-env": "^7.16.8",
"@iconify/core": "^1.2.2", "@iconify/core": "^1.2.3",
"@microsoft/api-extractor": "^7.18.19", "@microsoft/api-extractor": "^7.19.4",
"@rollup/plugin-node-resolve": "^13.0.6", "@rollup/plugin-node-resolve": "^13.1.3",
"@types/jest": "^27.0.2", "@types/jest": "^27.0.2",
"@vue/test-utils": "^1.2.2", "@vue/test-utils": "^1.2.2",
"@vue/vue2-jest": "^27.0.0-alpha.2", "@vue/vue2-jest": "^27.0.0-alpha.4",
"babel-jest": "^27.2.2", "babel-jest": "^27.4.6",
"jest": "^27.2.2", "jest": "^27.4.7",
"rollup": "^2.57.0", "rollup": "^2.63.0",
"typescript": "^4.4.3", "typescript": "^4.5.4",
"vue": "^2.6.14" "vue": "^2.6.14"
}, },
"peerDependencies": { "peerDependencies": {