Compare commits

...

5 Commits

Author SHA1 Message Date
chenjiahan
ddecb3a2d0 docs(@vant/icons): changelog 1.7.1 2021-09-18 16:41:49 +08:00
chenjiahan
6aa3cd186b release: @vant/icons 1.7.1 2021-09-18 16:39:15 +08:00
chenjiahan
6ddf79a2ec chore(@vant/icons): using esmodule 2021-09-18 16:38:30 +08:00
chenjiahan
dd0be277b0 chore: add root level eslint config 2021-09-18 16:38:30 +08:00
chenjiahan
c5f45a5c13 feat(@vant/icons): add guide-o icon 2021-09-18 16:38:30 +08:00
10 changed files with 27 additions and 13 deletions

4
.eslintrc Normal file
View File

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

View File

@ -1,5 +1,10 @@
## 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.0",
"version": "1.7.1",
"description": "vant icons",
"main": "./src/config.js",
"types": "./src/config.d.ts",

View File

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

View File

@ -1,4 +1,4 @@
module.exports = {
export default {
name: 'vant-icon',
basic: [
'arrow',
@ -148,6 +148,7 @@ module.exports = {
'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_3bs9b5licix.woff2?t=1626956973644')
src: url('//at.alicdn.com/t/font_2553510_61agzg96wm8.woff2?t=1631948257467')
format('woff2'),
url('//at.alicdn.com/t/font_2553510_3bs9b5licix.woff?t=1626956973644')
url('//at.alicdn.com/t/font_2553510_61agzg96wm8.woff?t=1631948257467')
format('woff'),
url('//at.alicdn.com/t/font_2553510_3bs9b5licix.ttf?t=1626956973644')
url('//at.alicdn.com/t/font_2553510_61agzg96wm8.ttf?t=1631948257467')
format('truetype');
}

View File

@ -44,7 +44,7 @@
"author": "youzanfe",
"license": "MIT",
"dependencies": {
"@vant/icons": "^1.7.0",
"@vant/icons": "^1.7.1",
"@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.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/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/lazyload@^1.2.0":
version "1.2.0"