Compare commits

..

No commits in common. "ddecb3a2d047037a18f6cf666389b5edcec51141" and "b73dc9cf4fa765ca87b9b30fb93f08475cb67350" have entirely different histories.

10 changed files with 13 additions and 27 deletions

View File

@ -1,4 +0,0 @@
{
"root": true,
"extends": ["@vant"]
}

View File

@ -1,10 +1,5 @@
## Changelog
## 1.7.1
- add guide-o icon
- config.js now is esmodule
## 1.7.0
- add shield-o icon

View File

@ -1,6 +1,6 @@
{
"name": "@vant/icons",
"version": "1.7.1",
"version": "1.7.0",
"description": "vant icons",
"main": "./src/config.js",
"types": "./src/config.d.ts",

View File

@ -969,7 +969,3 @@
.van-icon-shield-o:before {
content: '\e74b';
}
.van-icon-guide-o:before {
content: '\e74c';
}

View File

@ -1,4 +1,4 @@
export default {
module.exports = {
name: 'vant-icon',
basic: [
'arrow',
@ -148,7 +148,6 @@ export default {
'replay',
'shrink',
'shield-o',
'guide-o',
],
filled: [
// has corresponding outline icon

File diff suppressed because one or more lines are too long

View File

@ -5,10 +5,10 @@
font-style: normal;
font-display: auto;
font-family: 'vant-icon';
src: url('//at.alicdn.com/t/font_2553510_61agzg96wm8.woff2?t=1631948257467')
src: url('//at.alicdn.com/t/font_2553510_3bs9b5licix.woff2?t=1626956973644')
format('woff2'),
url('//at.alicdn.com/t/font_2553510_61agzg96wm8.woff?t=1631948257467')
url('//at.alicdn.com/t/font_2553510_3bs9b5licix.woff?t=1626956973644')
format('woff'),
url('//at.alicdn.com/t/font_2553510_61agzg96wm8.ttf?t=1631948257467')
url('//at.alicdn.com/t/font_2553510_3bs9b5licix.ttf?t=1626956973644')
format('truetype');
}

View File

@ -44,7 +44,7 @@
"author": "youzanfe",
"license": "MIT",
"dependencies": {
"@vant/icons": "^1.7.1",
"@vant/icons": "^1.7.0",
"@vant/lazyload": "^1.2.0",
"@vant/popperjs": "^1.1.0",
"@vant/use": "^1.3.0"

View File

@ -1762,10 +1762,10 @@
resolved "https://registry.nlark.com/@vant/area-data/download/@vant/area-data-1.1.1.tgz#b9acf8a804c0d60f721b6900680299422b006b1a"
integrity sha1-uaz4qATA1g9yG2kAaAKZQisAaxo=
"@vant/icons@^1.7.1":
version "1.7.1"
resolved "https://registry.npmjs.org/@vant/icons/-/icons-1.7.1.tgz#49ae420302b5581e54e6894891e5a05bc76e9f87"
integrity sha512-66LPEq89w4kl258nALZcRNd14eUJC8VajvTJwvZKOaZawz6CUeVZ6ybhedTUhQhRjeA8SyWD7dFt4ALf33Sabw==
"@vant/icons@^1.7.0":
version "1.7.0"
resolved "https://registry.nlark.com/@vant/icons/download/@vant/icons-1.7.0.tgz?cache=0&sync_timestamp=1626958553251&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vant%2Ficons%2Fdownload%2F%40vant%2Ficons-1.7.0.tgz#02d427532a8142c35db159da9c364fe6890c3ac9"
integrity sha1-AtQnUyqBQsNdsVnanDZP5okMOsk=
"@vant/lazyload@^1.2.0":
version "1.2.0"