Skip to content

Commit 465fc72

Browse files
feat(Icon): upgrade cdn-iconfont to 0.4.2 (#4395)
* feat(Icon): upgrade cdn-iconfont to 0.4.2 * chore: update snapshot * chore: resync cdnfont * chore: stash changelog [ci skip] --------- Co-authored-by: 黎伟杰 <674416404@qq.com>
1 parent 6c3f5be commit 465fc72

10 files changed

Lines changed: 3326 additions & 3257 deletions

File tree

packages/components/common/style/icons.less

Lines changed: 1626 additions & 1623 deletions
Large diffs are not rendered by default.

packages/components/icon/__test__/__snapshots__/demo.test.js.snap

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10865,6 +10865,21 @@ exports[`Icon Icon base demo works fine 1`] = `
1086510865
divide
1086610866
</wx-view>
1086710867
</wx-view>
10868+
<wx-view
10869+
class="demo__card"
10870+
>
10871+
<t-icon
10872+
data-name="divider-1"
10873+
name="divider-1"
10874+
size="48rpx"
10875+
bind:click="onIconTap"
10876+
/>
10877+
<wx-view
10878+
class="demo__card-name"
10879+
>
10880+
divider-1
10881+
</wx-view>
10882+
</wx-view>
1086810883
<wx-view
1086910884
class="demo__card"
1087010885
>
@@ -18110,6 +18125,21 @@ exports[`Icon Icon base demo works fine 1`] = `
1811018125
key
1811118126
</wx-view>
1811218127
</wx-view>
18128+
<wx-view
18129+
class="demo__card"
18130+
>
18131+
<t-icon
18132+
data-name="keyboard-1"
18133+
name="keyboard-1"
18134+
size="48rpx"
18135+
bind:click="onIconTap"
18136+
/>
18137+
<wx-view
18138+
class="demo__card-name"
18139+
>
18140+
keyboard-1
18141+
</wx-view>
18142+
</wx-view>
1811318143
<wx-view
1811418144
class="demo__card"
1811518145
>
@@ -34490,6 +34520,21 @@ exports[`Icon Icon base demo works fine 1`] = `
3449034520
visual-recognition
3449134521
</wx-view>
3449234522
</wx-view>
34523+
<wx-view
34524+
class="demo__card"
34525+
>
34526+
<t-icon
34527+
data-name="voice-wave"
34528+
name="voice-wave"
34529+
size="48rpx"
34530+
bind:click="onIconTap"
34531+
/>
34532+
<wx-view
34533+
class="demo__card-name"
34534+
>
34535+
voice-wave
34536+
</wx-view>
34537+
</wx-view>
3449334538
<wx-view
3449434539
class="demo__card"
3449534540
>

packages/components/icon/_example/data.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,7 @@ const icons = [
723723
'dissatisfaction-filled',
724724
'dissatisfaction',
725725
'divide',
726+
'divider-1',
726727
'dividers-1',
727728
'dividers',
728729
'document-location-filled',
@@ -1206,6 +1207,7 @@ const icons = [
12061207
'jump',
12071208
'key-filled',
12081209
'key',
1210+
'keyboard-1',
12091211
'keyboard-filled',
12101212
'keyboard',
12111213
'korean-rectangle-filled',
@@ -2298,6 +2300,7 @@ const icons = [
22982300
'view-organization',
22992301
'visual-recognition-filled',
23002302
'visual-recognition',
2303+
'voice-wave',
23012304
'wallet-filled',
23022305
'wallet',
23032306
'watch-filled',

packages/components/icon/icon.less

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
@font-face {
55
font-family: @prefix;
66
src:
7-
url('https://tdesign.gtimg.com/icon/0.4.1/fonts/t.eot'),
8-
url('https://tdesign.gtimg.com/icon/0.4.1/fonts/t.eot?#iefix') format('ded-opentype'),
9-
url('https://tdesign.gtimg.com/icon/0.4.1/fonts/t.woff') format('woff'),
10-
url('https://tdesign.gtimg.com/icon/0.4.1/fonts/t.ttf') format('truetype'),
11-
url('https://tdesign.gtimg.com/icon/0.4.1/fonts/t.svg') format('svg'); /* iOS 4.1- */
7+
url('https://tdesign.gtimg.com/icon/0.4.2/fonts/t.eot'),
8+
url('https://tdesign.gtimg.com/icon/0.4.2/fonts/t.eot?#iefix') format('ded-opentype'),
9+
url('https://tdesign.gtimg.com/icon/0.4.2/fonts/t.woff') format('woff'),
10+
url('https://tdesign.gtimg.com/icon/0.4.2/fonts/t.ttf') format('truetype'),
11+
url('https://tdesign.gtimg.com/icon/0.4.2/fonts/t.svg') format('svg'); /* iOS 4.1- */
1212
font-weight: normal;
1313
font-style: normal;
1414
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
pr_number: 4395
3+
contributor: tdesign-bot
4+
---
5+
6+
- feat(Icon): 新增 `divider-1`, `voice-wave``keyboard-1` 图标 @uyarn ([#4395](https://github.com/Tencent/tdesign-miniprogram/pull/4395))
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
pr_number: 4395
3+
contributor: tdesign-bot
4+
---
5+
6+
- feat(Icon): 新增 `divider-1`, `voice-wave``keyboard-1` 图标 @uyarn ([#4395](https://github.com/Tencent/tdesign-miniprogram/pull/4395))

0 commit comments

Comments
 (0)