Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
0a67272a
A
ant-design
项目概览
wanjj_1210
/
ant-design
与 Fork 源项目一致
从无法访问的项目Fork
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
ant-design
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0a67272a
编写于
1月 10, 2019
作者:
Z
zombiej
提交者:
偏右
1月 10, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add locale update
上级
12af9a9d
变更
69
展开全部
隐藏空白更改
内联
并排
Showing
69 changed file
with
1988 addition
and
1939 deletion
+1988
-1939
components/alert/__tests__/__snapshots__/demo.test.js.snap
components/alert/__tests__/__snapshots__/demo.test.js.snap
+23
-23
components/auto-complete/__tests__/__snapshots__/demo.test.js.snap
...s/auto-complete/__tests__/__snapshots__/demo.test.js.snap
+8
-8
components/avatar/__tests__/__snapshots__/demo.test.js.snap
components/avatar/__tests__/__snapshots__/demo.test.js.snap
+12
-12
components/badge/__tests__/__snapshots__/demo.test.js.snap
components/badge/__tests__/__snapshots__/demo.test.js.snap
+5
-5
components/breadcrumb/__tests__/__snapshots__/demo.test.js.snap
...ents/breadcrumb/__tests__/__snapshots__/demo.test.js.snap
+2
-2
components/button/__tests__/__snapshots__/demo.test.js.snap
components/button/__tests__/__snapshots__/demo.test.js.snap
+22
-22
components/button/__tests__/__snapshots__/index.test.js.snap
components/button/__tests__/__snapshots__/index.test.js.snap
+5
-5
components/calendar/__tests__/__snapshots__/demo.test.js.snap
...onents/calendar/__tests__/__snapshots__/demo.test.js.snap
+8
-8
components/calendar/__tests__/__snapshots__/index.test.js.snap
...nents/calendar/__tests__/__snapshots__/index.test.js.snap
+2
-2
components/card/__tests__/__snapshots__/demo.test.js.snap
components/card/__tests__/__snapshots__/demo.test.js.snap
+10
-10
components/cascader/__tests__/__snapshots__/demo.test.js.snap
...onents/cascader/__tests__/__snapshots__/demo.test.js.snap
+15
-15
components/cascader/__tests__/__snapshots__/index.test.js.snap
...nents/cascader/__tests__/__snapshots__/index.test.js.snap
+16
-16
components/collapse/__tests__/__snapshots__/demo.test.js.snap
...onents/collapse/__tests__/__snapshots__/demo.test.js.snap
+16
-16
components/comment/__tests__/__snapshots__/demo.test.js.snap
components/comment/__tests__/__snapshots__/demo.test.js.snap
+2
-2
components/config-provider/__tests__/__snapshots__/components.test.js.snap
...-provider/__tests__/__snapshots__/components.test.js.snap
+141
-141
components/date-picker/__tests__/__snapshots__/DatePicker.test.js.snap
...te-picker/__tests__/__snapshots__/DatePicker.test.js.snap
+3
-3
components/date-picker/__tests__/__snapshots__/WeekPicker.test.js.snap
...te-picker/__tests__/__snapshots__/WeekPicker.test.js.snap
+1
-1
components/date-picker/__tests__/__snapshots__/demo.test.js.snap
...nts/date-picker/__tests__/__snapshots__/demo.test.js.snap
+39
-39
components/drawer/__tests__/__snapshots__/Drawer.test.js.snap
...onents/drawer/__tests__/__snapshots__/Drawer.test.js.snap
+5
-5
components/drawer/__tests__/__snapshots__/DrawerEvent.test.js.snap
...s/drawer/__tests__/__snapshots__/DrawerEvent.test.js.snap
+1
-1
components/drawer/__tests__/__snapshots__/demo.test.js.snap
components/drawer/__tests__/__snapshots__/demo.test.js.snap
+1
-1
components/dropdown/__tests__/__snapshots__/demo.test.js.snap
...onents/dropdown/__tests__/__snapshots__/demo.test.js.snap
+9
-9
components/dropdown/__tests__/__snapshots__/dropdown-button.test.js.snap
...down/__tests__/__snapshots__/dropdown-button.test.js.snap
+1
-1
components/empty/__tests__/__snapshots__/demo.test.js.snap
components/empty/__tests__/__snapshots__/demo.test.js.snap
+5
-5
components/form/__tests__/__snapshots__/demo.test.js.snap
components/form/__tests__/__snapshots__/demo.test.js.snap
+52
-52
components/icon/__tests__/__snapshots__/index.test.js.snap
components/icon/__tests__/__snapshots__/index.test.js.snap
+19
-12
components/icon/index.tsx
components/icon/index.tsx
+18
-10
components/input-number/__tests__/__snapshots__/demo.test.js.snap
...ts/input-number/__tests__/__snapshots__/demo.test.js.snap
+16
-16
components/input/__tests__/__snapshots__/demo.test.js.snap
components/input/__tests__/__snapshots__/demo.test.js.snap
+19
-19
components/input/__tests__/__snapshots__/index.test.js.snap
components/input/__tests__/__snapshots__/index.test.js.snap
+140
-120
components/layout/__tests__/__snapshots__/demo.test.js.snap
components/layout/__tests__/__snapshots__/demo.test.js.snap
+28
-28
components/list/__tests__/__snapshots__/demo.test.js.snap
components/list/__tests__/__snapshots__/demo.test.js.snap
+11
-11
components/list/__tests__/__snapshots__/pagination.test.js.snap
...ents/list/__tests__/__snapshots__/pagination.test.js.snap
+2
-2
components/locale-provider/__tests__/__snapshots__/demo.test.js.snap
...locale-provider/__tests__/__snapshots__/demo.test.js.snap
+17
-17
components/locale-provider/__tests__/__snapshots__/index.test.js.snap
...ocale-provider/__tests__/__snapshots__/index.test.js.snap
+754
-754
components/locale-provider/default.tsx
components/locale-provider/default.tsx
+3
-0
components/locale-provider/zh_CN.tsx
components/locale-provider/zh_CN.tsx
+3
-0
components/menu/__tests__/__snapshots__/demo.test.js.snap
components/menu/__tests__/__snapshots__/demo.test.js.snap
+25
-25
components/modal/__tests__/__snapshots__/Modal.test.js.snap
components/modal/__tests__/__snapshots__/Modal.test.js.snap
+2
-2
components/notification/__tests__/__snapshots__/demo.test.js.snap
...ts/notification/__tests__/__snapshots__/demo.test.js.snap
+1
-1
components/pagination/__tests__/__snapshots__/demo.test.js.snap
...ents/pagination/__tests__/__snapshots__/demo.test.js.snap
+29
-29
components/popconfirm/__tests__/__snapshots__/index.test.js.snap
...nts/popconfirm/__tests__/__snapshots__/index.test.js.snap
+2
-2
components/progress/__tests__/__snapshots__/demo.test.js.snap
...onents/progress/__tests__/__snapshots__/demo.test.js.snap
+12
-12
components/progress/__tests__/__snapshots__/index.test.js.snap
...nents/progress/__tests__/__snapshots__/index.test.js.snap
+2
-2
components/rate/__tests__/__snapshots__/demo.test.js.snap
components/rate/__tests__/__snapshots__/demo.test.js.snap
+70
-70
components/select/__tests__/__snapshots__/demo.test.js.snap
components/select/__tests__/__snapshots__/demo.test.js.snap
+18
-18
components/select/__tests__/__snapshots__/index.test.js.snap
components/select/__tests__/__snapshots__/index.test.js.snap
+1
-1
components/slider/__tests__/__snapshots__/demo.test.js.snap
components/slider/__tests__/__snapshots__/demo.test.js.snap
+6
-6
components/spin/__tests__/__snapshots__/demo.test.js.snap
components/spin/__tests__/__snapshots__/demo.test.js.snap
+1
-1
components/steps/__tests__/__snapshots__/demo.test.js.snap
components/steps/__tests__/__snapshots__/demo.test.js.snap
+10
-10
components/switch/__tests__/__snapshots__/demo.test.js.snap
components/switch/__tests__/__snapshots__/demo.test.js.snap
+3
-3
components/table/__tests__/__snapshots__/Table.filter.test.js.snap
...s/table/__tests__/__snapshots__/Table.filter.test.js.snap
+1
-1
components/table/__tests__/__snapshots__/Table.pagination.test.js.snap
...ble/__tests__/__snapshots__/Table.pagination.test.js.snap
+2
-2
components/table/__tests__/__snapshots__/Table.rowSelection.test.js.snap
...e/__tests__/__snapshots__/Table.rowSelection.test.js.snap
+2
-2
components/table/__tests__/__snapshots__/Table.sorter.test.js.snap
...s/table/__tests__/__snapshots__/Table.sorter.test.js.snap
+2
-2
components/table/__tests__/__snapshots__/demo.test.js.snap
components/table/__tests__/__snapshots__/demo.test.js.snap
+87
-87
components/tabs/__tests__/__snapshots__/demo.test.js.snap
components/tabs/__tests__/__snapshots__/demo.test.js.snap
+40
-40
components/tabs/__tests__/__snapshots__/index.test.js.snap
components/tabs/__tests__/__snapshots__/index.test.js.snap
+2
-2
components/tag/__tests__/__snapshots__/demo.test.js.snap
components/tag/__tests__/__snapshots__/demo.test.js.snap
+6
-6
components/time-picker/__tests__/__snapshots__/demo.test.js.snap
...nts/time-picker/__tests__/__snapshots__/demo.test.js.snap
+13
-13
components/timeline/__tests__/__snapshots__/demo.test.js.snap
...onents/timeline/__tests__/__snapshots__/demo.test.js.snap
+5
-5
components/transfer/__tests__/__snapshots__/demo.test.js.snap
...onents/transfer/__tests__/__snapshots__/demo.test.js.snap
+14
-14
components/transfer/__tests__/__snapshots__/index.test.js.snap
...nents/transfer/__tests__/__snapshots__/index.test.js.snap
+4
-4
components/transfer/__tests__/__snapshots__/search.test.js.snap
...ents/transfer/__tests__/__snapshots__/search.test.js.snap
+50
-42
components/tree-select/__tests__/__snapshots__/demo.test.js.snap
...nts/tree-select/__tests__/__snapshots__/demo.test.js.snap
+4
-4
components/tree/__tests__/__snapshots__/demo.test.js.snap
components/tree/__tests__/__snapshots__/demo.test.js.snap
+35
-35
components/tree/__tests__/__snapshots__/directory.test.js.snap
...nents/tree/__tests__/__snapshots__/directory.test.js.snap
+72
-72
components/upload/__tests__/__snapshots__/demo.test.js.snap
components/upload/__tests__/__snapshots__/demo.test.js.snap
+14
-14
components/upload/__tests__/__snapshots__/uploadlist.test.js.snap
...ts/upload/__tests__/__snapshots__/uploadlist.test.js.snap
+19
-19
未找到文件。
components/alert/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -7,7 +7,7 @@ exports[`renders ./components/alert/demo/banner.md correctly 1`] = `
data-show="true"
>
<i
aria-label="exclamation-circle"
aria-label="
icon:
exclamation-circle"
class="anticon anticon-exclamation-circle ant-alert-icon"
>
<svg
...
...
@@ -39,7 +39,7 @@ exports[`renders ./components/alert/demo/banner.md correctly 1`] = `
data-show="true"
>
<i
aria-label="exclamation-circle"
aria-label="
icon:
exclamation-circle"
class="anticon anticon-exclamation-circle ant-alert-icon"
>
<svg
...
...
@@ -68,7 +68,7 @@ exports[`renders ./components/alert/demo/banner.md correctly 1`] = `
class="ant-alert-close-icon"
>
<i
aria-label="close"
aria-label="
icon:
close"
class="anticon anticon-close"
>
<svg
...
...
@@ -107,7 +107,7 @@ exports[`renders ./components/alert/demo/banner.md correctly 1`] = `
data-show="true"
>
<i
aria-label="close-circle"
aria-label="
icon:
close-circle"
class="anticon anticon-close-circle ant-alert-icon"
>
<svg
...
...
@@ -170,7 +170,7 @@ exports[`renders ./components/alert/demo/closable.md correctly 1`] = `
class="ant-alert-close-icon"
>
<i
aria-label="close"
aria-label="
icon:
close"
class="anticon anticon-close"
>
<svg
...
...
@@ -207,7 +207,7 @@ exports[`renders ./components/alert/demo/closable.md correctly 1`] = `
class="ant-alert-close-icon"
>
<i
aria-label="close"
aria-label="
icon:
close"
class="anticon anticon-close"
>
<svg
...
...
@@ -270,7 +270,7 @@ exports[`renders ./components/alert/demo/custom-icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="smile"
aria-label="
icon:
smile"
class="anticon anticon-smile ant-alert-icon"
>
<svg
...
...
@@ -301,7 +301,7 @@ exports[`renders ./components/alert/demo/custom-icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="smile"
aria-label="
icon:
smile"
class="anticon anticon-smile ant-alert-icon"
>
<svg
...
...
@@ -332,7 +332,7 @@ exports[`renders ./components/alert/demo/custom-icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="smile"
aria-label="
icon:
smile"
class="anticon anticon-smile ant-alert-icon"
>
<svg
...
...
@@ -363,7 +363,7 @@ exports[`renders ./components/alert/demo/custom-icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="smile"
aria-label="
icon:
smile"
class="anticon anticon-smile ant-alert-icon"
>
<svg
...
...
@@ -394,7 +394,7 @@ exports[`renders ./components/alert/demo/custom-icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="smile"
aria-label="
icon:
smile"
class="anticon anticon-smile ant-alert-icon"
>
<svg
...
...
@@ -427,7 +427,7 @@ exports[`renders ./components/alert/demo/custom-icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="smile"
aria-label="
icon:
smile"
class="anticon anticon-smile ant-alert-icon"
>
<svg
...
...
@@ -460,7 +460,7 @@ exports[`renders ./components/alert/demo/custom-icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="smile"
aria-label="
icon:
smile"
class="anticon anticon-smile ant-alert-icon"
>
<svg
...
...
@@ -493,7 +493,7 @@ exports[`renders ./components/alert/demo/custom-icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="smile"
aria-label="
icon:
smile"
class="anticon anticon-smile ant-alert-icon"
>
<svg
...
...
@@ -596,7 +596,7 @@ exports[`renders ./components/alert/demo/icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="check-circle"
aria-label="
icon:
check-circle"
class="anticon anticon-check-circle ant-alert-icon"
>
<svg
...
...
@@ -627,7 +627,7 @@ exports[`renders ./components/alert/demo/icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="info-circle"
aria-label="i
con: i
nfo-circle"
class="anticon anticon-info-circle ant-alert-icon"
>
<svg
...
...
@@ -658,7 +658,7 @@ exports[`renders ./components/alert/demo/icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="exclamation-circle"
aria-label="
icon:
exclamation-circle"
class="anticon anticon-exclamation-circle ant-alert-icon"
>
<svg
...
...
@@ -689,7 +689,7 @@ exports[`renders ./components/alert/demo/icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="close-circle"
aria-label="
icon:
close-circle"
class="anticon anticon-close-circle ant-alert-icon"
>
<svg
...
...
@@ -720,7 +720,7 @@ exports[`renders ./components/alert/demo/icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="check-circle"
aria-label="
icon:
check-circle"
class="anticon anticon-check-circle ant-alert-icon"
>
<svg
...
...
@@ -756,7 +756,7 @@ exports[`renders ./components/alert/demo/icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="info-circle"
aria-label="i
con: i
nfo-circle"
class="anticon anticon-info-circle ant-alert-icon"
>
<svg
...
...
@@ -792,7 +792,7 @@ exports[`renders ./components/alert/demo/icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="exclamation-circle"
aria-label="
icon:
exclamation-circle"
class="anticon anticon-exclamation-circle ant-alert-icon"
>
<svg
...
...
@@ -828,7 +828,7 @@ exports[`renders ./components/alert/demo/icon.md correctly 1`] = `
data-show="true"
>
<i
aria-label="close-circle"
aria-label="
icon:
close-circle"
class="anticon anticon-close-circle ant-alert-icon"
>
<svg
...
...
@@ -880,7 +880,7 @@ exports[`renders ./components/alert/demo/smooth-closed.md correctly 1`] = `
class="ant-alert-close-icon"
>
<i
aria-label="close"
aria-label="
icon:
close"
class="anticon anticon-close"
>
<svg
...
...
components/auto-complete/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -51,7 +51,7 @@ exports[`renders ./components/auto-complete/demo/basic.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -120,7 +120,7 @@ exports[`renders ./components/auto-complete/demo/certain-category.md correctly 1
class="ant-input-suffix"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search certain-category-icon"
>
<svg
...
...
@@ -154,7 +154,7 @@ exports[`renders ./components/auto-complete/demo/certain-category.md correctly 1
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -221,7 +221,7 @@ exports[`renders ./components/auto-complete/demo/custom.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -294,7 +294,7 @@ exports[`renders ./components/auto-complete/demo/non-case-sensitive.md correctly
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -367,7 +367,7 @@ exports[`renders ./components/auto-complete/demo/options.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -440,7 +440,7 @@ exports[`renders ./components/auto-complete/demo/uncertain-category.md correctly
type="button"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
@@ -475,7 +475,7 @@ exports[`renders ./components/auto-complete/demo/uncertain-category.md correctly
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
components/avatar/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -12,7 +12,7 @@ exports[`renders ./components/avatar/demo/badge.md correctly 1`] = `
class="ant-avatar ant-avatar-square ant-avatar-icon"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -201,7 +201,7 @@ exports[`renders ./components/avatar/demo/badge.md correctly 1`] = `
class="ant-avatar ant-avatar-square ant-avatar-icon"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -236,7 +236,7 @@ exports[`renders ./components/avatar/demo/basic.md correctly 1`] = `
style="width:64px;height:64px;line-height:64px;font-size:32px"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -258,7 +258,7 @@ exports[`renders ./components/avatar/demo/basic.md correctly 1`] = `
class="ant-avatar ant-avatar-lg ant-avatar-circle ant-avatar-icon"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -280,7 +280,7 @@ exports[`renders ./components/avatar/demo/basic.md correctly 1`] = `
class="ant-avatar ant-avatar-circle ant-avatar-icon"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -302,7 +302,7 @@ exports[`renders ./components/avatar/demo/basic.md correctly 1`] = `
class="ant-avatar ant-avatar-sm ant-avatar-circle ant-avatar-icon"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -327,7 +327,7 @@ exports[`renders ./components/avatar/demo/basic.md correctly 1`] = `
style="width:64px;height:64px;line-height:64px;font-size:32px"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -349,7 +349,7 @@ exports[`renders ./components/avatar/demo/basic.md correctly 1`] = `
class="ant-avatar ant-avatar-lg ant-avatar-square ant-avatar-icon"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -371,7 +371,7 @@ exports[`renders ./components/avatar/demo/basic.md correctly 1`] = `
class="ant-avatar ant-avatar-square ant-avatar-icon"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -393,7 +393,7 @@ exports[`renders ./components/avatar/demo/basic.md correctly 1`] = `
class="ant-avatar ant-avatar-sm ant-avatar-square ant-avatar-icon"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -445,7 +445,7 @@ exports[`renders ./components/avatar/demo/type.md correctly 1`] = `
class="ant-avatar ant-avatar-circle ant-avatar-icon"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -503,7 +503,7 @@ exports[`renders ./components/avatar/demo/type.md correctly 1`] = `
style="background-color:#87d068"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
components/badge/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -194,7 +194,7 @@ exports[`renders ./components/badge/demo/basic.md correctly 1`] = `
href="#"
/>
<i
aria-label="clock-circle"
aria-label="
icon:
clock-circle"
class="anticon anticon-clock-circle ant-scroll-number-custom-component"
style="color:#f5222d"
>
...
...
@@ -399,7 +399,7 @@ exports[`renders ./components/badge/demo/change.md correctly 1`] = `
type="button"
>
<i
aria-label="minus"
aria-label="
icon:
minus"
class="anticon anticon-minus"
>
<svg
...
...
@@ -422,7 +422,7 @@ exports[`renders ./components/badge/demo/change.md correctly 1`] = `
type="button"
>
<i
aria-label="plus"
aria-label="
icon:
plus"
class="anticon anticon-plus"
>
<svg
...
...
@@ -478,7 +478,7 @@ exports[`renders ./components/badge/demo/dot.md correctly 1`] = `
class="ant-badge"
>
<i
aria-label="notification"
aria-label="
icon:
notification"
class="anticon anticon-notification"
>
<svg
...
...
@@ -504,7 +504,7 @@ exports[`renders ./components/badge/demo/dot.md correctly 1`] = `
class="ant-badge"
>
<i
aria-label="notification"
aria-label="
icon:
notification"
class="anticon anticon-notification"
>
<svg
...
...
components/breadcrumb/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -223,7 +223,7 @@ exports[`renders ./components/breadcrumb/demo/withIcon.md correctly 1`] = `
href=""
>
<i
aria-label="home"
aria-label="
icon:
home"
class="anticon anticon-home"
>
<svg
...
...
@@ -253,7 +253,7 @@ exports[`renders ./components/breadcrumb/demo/withIcon.md correctly 1`] = `
href=""
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
components/button/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -169,7 +169,7 @@ exports[`renders ./components/button/demo/button-group.md correctly 1`] = `
type="button"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -198,7 +198,7 @@ exports[`renders ./components/button/demo/button-group.md correctly 1`] = `
Go forward
</span>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -225,7 +225,7 @@ exports[`renders ./components/button/demo/button-group.md correctly 1`] = `
type="button"
>
<i
aria-label="cloud"
aria-label="
icon:
cloud"
class="anticon anticon-cloud"
>
<svg
...
...
@@ -248,7 +248,7 @@ exports[`renders ./components/button/demo/button-group.md correctly 1`] = `
type="button"
>
<i
aria-label="cloud-download"
aria-label="
icon:
cloud-download"
class="anticon anticon-cloud-download"
>
<svg
...
...
@@ -398,7 +398,7 @@ exports[`renders ./components/button/demo/icon.md correctly 1`] = `
type="button"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
@@ -421,7 +421,7 @@ exports[`renders ./components/button/demo/icon.md correctly 1`] = `
type="button"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
@@ -447,7 +447,7 @@ exports[`renders ./components/button/demo/icon.md correctly 1`] = `
type="button"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
@@ -470,7 +470,7 @@ exports[`renders ./components/button/demo/icon.md correctly 1`] = `
type="button"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
@@ -497,7 +497,7 @@ exports[`renders ./components/button/demo/icon.md correctly 1`] = `
type="button"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
@@ -520,7 +520,7 @@ exports[`renders ./components/button/demo/icon.md correctly 1`] = `
type="button"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
@@ -546,7 +546,7 @@ exports[`renders ./components/button/demo/icon.md correctly 1`] = `
type="button"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
@@ -569,7 +569,7 @@ exports[`renders ./components/button/demo/icon.md correctly 1`] = `
type="button"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
@@ -600,7 +600,7 @@ exports[`renders ./components/button/demo/loading.md correctly 1`] = `
type="button"
>
<i
aria-label="loading"
aria-label="
icon:
loading"
class="anticon anticon-loading"
>
<svg
...
...
@@ -626,7 +626,7 @@ exports[`renders ./components/button/demo/loading.md correctly 1`] = `
type="button"
>
<i
aria-label="loading"
aria-label="
icon:
loading"
class="anticon anticon-loading"
>
<svg
...
...
@@ -661,7 +661,7 @@ exports[`renders ./components/button/demo/loading.md correctly 1`] = `
type="button"
>
<i
aria-label="poweroff"
aria-label="
icon:
poweroff"
class="anticon anticon-poweroff"
>
<svg
...
...
@@ -688,7 +688,7 @@ exports[`renders ./components/button/demo/loading.md correctly 1`] = `
type="button"
>
<i
aria-label="loading"
aria-label="
icon:
loading"
class="anticon anticon-loading"
>
<svg
...
...
@@ -711,7 +711,7 @@ exports[`renders ./components/button/demo/loading.md correctly 1`] = `
type="button"
>
<i
aria-label="loading"
aria-label="
icon:
loading"
class="anticon anticon-loading"
>
<svg
...
...
@@ -758,7 +758,7 @@ exports[`renders ./components/button/demo/multiple.md correctly 1`] = `
Actions
</span>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down"
>
<svg
...
...
@@ -883,7 +883,7 @@ exports[`renders ./components/button/demo/size.md correctly 1`] = `
type="button"
>
<i
aria-label="download"
aria-label="
icon:
download"
class="anticon anticon-download"
>
<svg
...
...
@@ -931,7 +931,7 @@ exports[`renders ./components/button/demo/size.md correctly 1`] = `
type="button"
>
<i
aria-label="download"
aria-label="
icon:
download"
class="anticon anticon-download"
>
<svg
...
...
@@ -961,7 +961,7 @@ exports[`renders ./components/button/demo/size.md correctly 1`] = `
type="button"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -990,7 +990,7 @@ exports[`renders ./components/button/demo/size.md correctly 1`] = `
Forward
</span>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
components/button/__tests__/__snapshots__/index.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -44,7 +44,7 @@ exports[`Button renders Chinese characters correctly 2`] = `
type="button"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
@@ -73,7 +73,7 @@ exports[`Button renders Chinese characters correctly 3`] = `
type="button"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
@@ -102,7 +102,7 @@ exports[`Button renders Chinese characters correctly 4`] = `
type="button"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
@@ -131,7 +131,7 @@ exports[`Button renders Chinese characters correctly 5`] = `
type="button"
>
<i
aria-label="loading"
aria-label="
icon:
loading"
class="anticon anticon-loading"
>
<svg
...
...
@@ -160,7 +160,7 @@ exports[`Button renders Chinese characters correctly 6`] = `
type="button"
>
<i
aria-label="loading"
aria-label="
icon:
loading"
class="anticon anticon-loading"
>
<svg
...
...
components/calendar/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -37,7 +37,7 @@ exports[`renders ./components/calendar/demo/basic.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -87,7 +87,7 @@ exports[`renders ./components/calendar/demo/basic.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -1082,7 +1082,7 @@ exports[`renders ./components/calendar/demo/card.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -1132,7 +1132,7 @@ exports[`renders ./components/calendar/demo/card.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -2125,7 +2125,7 @@ exports[`renders ./components/calendar/demo/notice-calendar.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -2175,7 +2175,7 @@ exports[`renders ./components/calendar/demo/notice-calendar.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -3578,7 +3578,7 @@ exports[`renders ./components/calendar/demo/select.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -3628,7 +3628,7 @@ exports[`renders ./components/calendar/demo/select.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
components/calendar/__tests__/__snapshots__/index.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -36,7 +36,7 @@ exports[`Calendar Calendar should support locale 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -85,7 +85,7 @@ exports[`Calendar Calendar should support locale 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
components/card/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -612,7 +612,7 @@ exports[`renders ./components/card/demo/loading.md correctly 1`] = `
>
<span>
<i
aria-label="setting"
aria-label="
icon:
setting"
class="anticon anticon-setting"
>
<svg
...
...
@@ -636,7 +636,7 @@ exports[`renders ./components/card/demo/loading.md correctly 1`] = `
>
<span>
<i
aria-label="edit"
aria-label="
icon:
edit"
class="anticon anticon-edit"
>
<svg
...
...
@@ -660,7 +660,7 @@ exports[`renders ./components/card/demo/loading.md correctly 1`] = `
>
<span>
<i
aria-label="ellipsis"
aria-label="
icon:
ellipsis"
class="anticon anticon-ellipsis"
>
<svg
...
...
@@ -738,7 +738,7 @@ exports[`renders ./components/card/demo/meta.md correctly 1`] = `
>
<span>
<i
aria-label="setting"
aria-label="
icon:
setting"
class="anticon anticon-setting"
>
<svg
...
...
@@ -762,7 +762,7 @@ exports[`renders ./components/card/demo/meta.md correctly 1`] = `
>
<span>
<i
aria-label="edit"
aria-label="
icon:
edit"
class="anticon anticon-edit"
>
<svg
...
...
@@ -786,7 +786,7 @@ exports[`renders ./components/card/demo/meta.md correctly 1`] = `
>
<span>
<i
aria-label="ellipsis"
aria-label="
icon:
ellipsis"
class="anticon anticon-ellipsis"
>
<svg
...
...
@@ -876,7 +876,7 @@ exports[`renders ./components/card/demo/tabs.md correctly 1`] = `
class="ant-tabs-tab-prev-icon"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left ant-tabs-tab-prev-icon-target"
>
<svg
...
...
@@ -903,7 +903,7 @@ exports[`renders ./components/card/demo/tabs.md correctly 1`] = `
class="ant-tabs-tab-next-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right ant-tabs-tab-next-icon-target"
>
<svg
...
...
@@ -1034,7 +1034,7 @@ exports[`renders ./components/card/demo/tabs.md correctly 1`] = `
class="ant-tabs-tab-prev-icon"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left ant-tabs-tab-prev-icon-target"
>
<svg
...
...
@@ -1061,7 +1061,7 @@ exports[`renders ./components/card/demo/tabs.md correctly 1`] = `
class="ant-tabs-tab-next-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right ant-tabs-tab-next-icon-target"
>
<svg
...
...
components/cascader/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -17,7 +17,7 @@ exports[`renders ./components/cascader/demo/basic.md correctly 1`] = `
value=""
/>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -54,7 +54,7 @@ exports[`renders ./components/cascader/demo/change-on-select.md correctly 1`] =
value=""
/>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -105,7 +105,7 @@ exports[`renders ./components/cascader/demo/custom-render.md correctly 1`] = `
value=""
/>
<i
aria-label="close-circle"
aria-label="
icon:
close-circle"
class="anticon anticon-close-circle ant-cascader-picker-clear"
tabindex="-1"
>
...
...
@@ -124,7 +124,7 @@ exports[`renders ./components/cascader/demo/custom-render.md correctly 1`] = `
</svg>
</i>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -174,7 +174,7 @@ exports[`renders ./components/cascader/demo/default-value.md correctly 1`] = `
value=""
/>
<i
aria-label="close-circle"
aria-label="
icon:
close-circle"
class="anticon anticon-close-circle ant-cascader-picker-clear"
tabindex="-1"
>
...
...
@@ -193,7 +193,7 @@ exports[`renders ./components/cascader/demo/default-value.md correctly 1`] = `
</svg>
</i>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -230,7 +230,7 @@ exports[`renders ./components/cascader/demo/disabled-option.md correctly 1`] = `
value=""
/>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -267,7 +267,7 @@ exports[`renders ./components/cascader/demo/fields-name.md correctly 1`] = `
value=""
/>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -304,7 +304,7 @@ exports[`renders ./components/cascader/demo/hover.md correctly 1`] = `
value=""
/>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -341,7 +341,7 @@ exports[`renders ./components/cascader/demo/lazy.md correctly 1`] = `
value=""
/>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -377,7 +377,7 @@ exports[`renders ./components/cascader/demo/search.md correctly 1`] = `
value=""
/>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -415,7 +415,7 @@ exports[`renders ./components/cascader/demo/size.md correctly 1`] = `
value=""
/>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -451,7 +451,7 @@ exports[`renders ./components/cascader/demo/size.md correctly 1`] = `
value=""
/>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -487,7 +487,7 @@ exports[`renders ./components/cascader/demo/size.md correctly 1`] = `
value=""
/>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -528,7 +528,7 @@ exports[`renders ./components/cascader/demo/suffix.md correctly 1`] = `
value=""
/>
<i
aria-label="smile"
aria-label="
icon:
smile"
class="anticon anticon-smile ant-cascader-picker-arrow"
>
<svg
...
...
components/cascader/__tests__/__snapshots__/index.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -18,7 +18,7 @@ exports[`Cascader can be selected 1`] = `
class="ant-cascader-menu-item-expand-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -46,7 +46,7 @@ exports[`Cascader can be selected 1`] = `
class="ant-cascader-menu-item-expand-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -78,7 +78,7 @@ exports[`Cascader can be selected 1`] = `
class="ant-cascader-menu-item-expand-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -121,7 +121,7 @@ exports[`Cascader can be selected 2`] = `
class="ant-cascader-menu-item-expand-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -149,7 +149,7 @@ exports[`Cascader can be selected 2`] = `
class="ant-cascader-menu-item-expand-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -181,7 +181,7 @@ exports[`Cascader can be selected 2`] = `
class="ant-cascader-menu-item-expand-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -234,7 +234,7 @@ exports[`Cascader can be selected 3`] = `
class="ant-cascader-menu-item-expand-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -262,7 +262,7 @@ exports[`Cascader can be selected 3`] = `
class="ant-cascader-menu-item-expand-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -294,7 +294,7 @@ exports[`Cascader can be selected 3`] = `
class="ant-cascader-menu-item-expand-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -357,7 +357,7 @@ exports[`Cascader popup correctly when panel is open 1`] = `
class="ant-cascader-menu-item-expand-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -385,7 +385,7 @@ exports[`Cascader popup correctly when panel is open 1`] = `
class="ant-cascader-menu-item-expand-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -428,7 +428,7 @@ exports[`Cascader popup correctly with defaultValue 1`] = `
class="ant-cascader-menu-item-expand-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -456,7 +456,7 @@ exports[`Cascader popup correctly with defaultValue 1`] = `
class="ant-cascader-menu-item-expand-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -488,7 +488,7 @@ exports[`Cascader popup correctly with defaultValue 1`] = `
class="ant-cascader-menu-item-expand-icon"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -1241,7 +1241,7 @@ exports[`Cascader support controlled mode 1`] = `
value=""
/>
<i
aria-label="close-circle"
aria-label="
icon:
close-circle"
class="anticon anticon-close-circle ant-cascader-picker-clear"
tabindex="-1"
>
...
...
@@ -1260,7 +1260,7 @@ exports[`Cascader support controlled mode 1`] = `
</svg>
</i>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
components/collapse/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -15,7 +15,7 @@ exports[`renders ./components/collapse/demo/accordion.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -45,7 +45,7 @@ exports[`renders ./components/collapse/demo/accordion.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -75,7 +75,7 @@ exports[`renders ./components/collapse/demo/accordion.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -112,7 +112,7 @@ exports[`renders ./components/collapse/demo/basic.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -157,7 +157,7 @@ exports[`renders ./components/collapse/demo/basic.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -187,7 +187,7 @@ exports[`renders ./components/collapse/demo/basic.md correctly 1`] = `
tabindex="-1"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -224,7 +224,7 @@ exports[`renders ./components/collapse/demo/borderless.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -267,7 +267,7 @@ exports[`renders ./components/collapse/demo/borderless.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -297,7 +297,7 @@ exports[`renders ./components/collapse/demo/borderless.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -335,7 +335,7 @@ exports[`renders ./components/collapse/demo/custom.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -381,7 +381,7 @@ exports[`renders ./components/collapse/demo/custom.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -412,7 +412,7 @@ exports[`renders ./components/collapse/demo/custom.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -449,7 +449,7 @@ exports[`renders ./components/collapse/demo/mix.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -479,7 +479,7 @@ exports[`renders ./components/collapse/demo/mix.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -509,7 +509,7 @@ exports[`renders ./components/collapse/demo/mix.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
@@ -546,7 +546,7 @@ exports[`renders ./components/collapse/demo/noarrow.md correctly 1`] = `
tabindex="0"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right arrow"
>
<svg
...
...
components/comment/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -53,7 +53,7 @@ exports[`renders ./components/comment/demo/basic.md correctly 1`] = `
<li>
<span>
<i
aria-label="like"
aria-label="
icon:
like"
class="anticon anticon-like"
tabindex="-1"
>
...
...
@@ -81,7 +81,7 @@ exports[`renders ./components/comment/demo/basic.md correctly 1`] = `
<li>
<span>
<i
aria-label="dislike"
aria-label="
icon:
dislike"
class="anticon anticon-dislike"
tabindex="-1"
>
...
...
components/config-provider/__tests__/__snapshots__/components.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/date-picker/__tests__/__snapshots__/DatePicker.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -12,7 +12,7 @@ exports[`DatePicker disabled date 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -47,7 +47,7 @@ exports[`DatePicker prop locale should works 1`] = `
value="2000-01-01"
/>
<i
aria-label="close-circle"
aria-label="
icon:
close-circle"
class="anticon anticon-close-circle ant-calendar-picker-clear"
tabindex="-1"
>
...
...
@@ -66,7 +66,7 @@ exports[`DatePicker prop locale should works 1`] = `
</svg>
</i>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
components/date-picker/__tests__/__snapshots__/WeekPicker.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -801,7 +801,7 @@ exports[`WeekPicker should support style prop 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
components/date-picker/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -13,7 +13,7 @@ exports[`renders ./components/date-picker/demo/basic.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -44,7 +44,7 @@ exports[`renders ./components/date-picker/demo/basic.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -91,7 +91,7 @@ exports[`renders ./components/date-picker/demo/basic.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -124,7 +124,7 @@ exports[`renders ./components/date-picker/demo/basic.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -159,7 +159,7 @@ exports[`renders ./components/date-picker/demo/date-render.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -205,7 +205,7 @@ exports[`renders ./components/date-picker/demo/date-render.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -241,7 +241,7 @@ exports[`renders ./components/date-picker/demo/disabled.md correctly 1`] = `
value="2015-06-06"
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -273,7 +273,7 @@ exports[`renders ./components/date-picker/demo/disabled.md correctly 1`] = `
value="2015-06"
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -322,7 +322,7 @@ exports[`renders ./components/date-picker/demo/disabled.md correctly 1`] = `
value="2015-06-06"
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -358,7 +358,7 @@ exports[`renders ./components/date-picker/demo/disabled-date.md correctly 1`] =
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -389,7 +389,7 @@ exports[`renders ./components/date-picker/demo/disabled-date.md correctly 1`] =
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -437,7 +437,7 @@ exports[`renders ./components/date-picker/demo/disabled-date.md correctly 1`] =
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -472,7 +472,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -503,7 +503,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -549,7 +549,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -596,7 +596,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -626,7 +626,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -661,7 +661,7 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = `
value="2015/01/01"
/>
<i
aria-label="close-circle"
aria-label="
icon:
close-circle"
class="anticon anticon-close-circle ant-calendar-picker-clear"
tabindex="-1"
>
...
...
@@ -680,7 +680,7 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = `
</svg>
</i>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -711,7 +711,7 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = `
value="2015/01"
/>
<i
aria-label="close-circle"
aria-label="
icon:
close-circle"
class="anticon anticon-close-circle ant-calendar-picker-clear"
tabindex="-1"
>
...
...
@@ -730,7 +730,7 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = `
</svg>
</i>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -777,7 +777,7 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = `
value="2015/01/01"
/>
<i
aria-label="close-circle"
aria-label="
icon:
close-circle"
class="anticon anticon-close-circle ant-calendar-picker-clear"
tabindex="-1"
>
...
...
@@ -796,7 +796,7 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = `
</svg>
</i>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -832,7 +832,7 @@ exports[`renders ./components/date-picker/demo/mode.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -879,7 +879,7 @@ exports[`renders ./components/date-picker/demo/mode.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -930,7 +930,7 @@ exports[`renders ./components/date-picker/demo/presetted-ranges.md correctly 1`]
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -978,7 +978,7 @@ exports[`renders ./components/date-picker/demo/presetted-ranges.md correctly 1`]
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -1077,7 +1077,7 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -1108,7 +1108,7 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -1155,7 +1155,7 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -1188,7 +1188,7 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -1224,7 +1224,7 @@ exports[`renders ./components/date-picker/demo/start-end.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -1255,7 +1255,7 @@ exports[`renders ./components/date-picker/demo/start-end.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -1290,7 +1290,7 @@ exports[`renders ./components/date-picker/demo/suffix.md correctly 1`] = `
value=""
/>
<i
aria-label="smile"
aria-label="
icon:
smile"
class="anticon anticon-smile ant-calendar-picker-icon"
>
<svg
...
...
@@ -1321,7 +1321,7 @@ exports[`renders ./components/date-picker/demo/suffix.md correctly 1`] = `
value=""
/>
<i
aria-label="smile"
aria-label="
icon:
smile"
class="anticon anticon-smile ant-calendar-picker-icon"
>
<svg
...
...
@@ -1368,7 +1368,7 @@ exports[`renders ./components/date-picker/demo/suffix.md correctly 1`] = `
value=""
/>
<i
aria-label="smile"
aria-label="
icon:
smile"
class="anticon anticon-smile ant-calendar-picker-icon"
>
<svg
...
...
@@ -1401,7 +1401,7 @@ exports[`renders ./components/date-picker/demo/suffix.md correctly 1`] = `
value=""
/>
<i
aria-label="smile"
aria-label="
icon:
smile"
class="anticon anticon-smile ant-calendar-picker-icon"
>
<svg
...
...
@@ -1527,7 +1527,7 @@ exports[`renders ./components/date-picker/demo/time.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -1575,7 +1575,7 @@ exports[`renders ./components/date-picker/demo/time.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
components/drawer/__tests__/__snapshots__/Drawer.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -29,7 +29,7 @@ exports[`Drawer className is test_drawer 1`] = `
class="ant-drawer-close"
>
<i
aria-label="close"
aria-label="
icon:
close"
class="anticon anticon-close"
>
<svg
...
...
@@ -122,7 +122,7 @@ exports[`Drawer destroyOnClose is true 1`] = `
class="ant-drawer-close"
>
<i
aria-label="close"
aria-label="
icon:
close"
class="anticon anticon-close"
>
<svg
...
...
@@ -187,7 +187,7 @@ exports[`Drawer have a title 1`] = `
class="ant-drawer-close"
>
<i
aria-label="close"
aria-label="
icon:
close"
class="anticon anticon-close"
>
<svg
...
...
@@ -247,7 +247,7 @@ exports[`Drawer render correctly 1`] = `
class="ant-drawer-close"
>
<i
aria-label="close"
aria-label="
icon:
close"
class="anticon anticon-close"
>
<svg
...
...
@@ -306,7 +306,7 @@ exports[`Drawer render top drawer 1`] = `
class="ant-drawer-close"
>
<i
aria-label="close"
aria-label="
icon:
close"
class="anticon anticon-close"
>
<svg
...
...
components/drawer/__tests__/__snapshots__/DrawerEvent.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -38,7 +38,7 @@ exports[`Drawer render correctly 1`] = `
class="ant-drawer-close"
>
<i
aria-label="close"
aria-label="
icon:
close"
class="anticon anticon-close"
>
<svg
...
...
components/drawer/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -20,7 +20,7 @@ exports[`renders ./components/drawer/demo/form-in-drawer.md correctly 1`] = `
type="button"
>
<i
aria-label="plus"
aria-label="
icon:
plus"
class="anticon anticon-plus"
>
<svg
...
...
components/dropdown/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -7,7 +7,7 @@ exports[`renders ./components/dropdown/demo/basic.md correctly 1`] = `
>
Hover me
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down"
>
<svg
...
...
@@ -54,7 +54,7 @@ exports[`renders ./components/dropdown/demo/dropdown-button.md correctly 1`] = `
type="button"
>
<i
aria-label="ellipsis"
aria-label="
icon:
ellipsis"
class="anticon anticon-ellipsis"
>
<svg
...
...
@@ -92,7 +92,7 @@ exports[`renders ./components/dropdown/demo/dropdown-button.md correctly 1`] = `
type="button"
>
<i
aria-label="ellipsis"
aria-label="
icon:
ellipsis"
class="anticon anticon-ellipsis"
>
<svg
...
...
@@ -120,7 +120,7 @@ exports[`renders ./components/dropdown/demo/dropdown-button.md correctly 1`] = `
Button
</span>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down"
>
<svg
...
...
@@ -148,7 +148,7 @@ exports[`renders ./components/dropdown/demo/event.md correctly 1`] = `
>
Hover me, Click menu item
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down"
>
<svg
...
...
@@ -175,7 +175,7 @@ exports[`renders ./components/dropdown/demo/item.md correctly 1`] = `
>
Hover me
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down"
>
<svg
...
...
@@ -202,7 +202,7 @@ exports[`renders ./components/dropdown/demo/overlay-visible.md correctly 1`] = `
>
Hover me
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down"
>
<svg
...
...
@@ -283,7 +283,7 @@ exports[`renders ./components/dropdown/demo/sub-menu.md correctly 1`] = `
>
Cascading menu
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down"
>
<svg
...
...
@@ -310,7 +310,7 @@ exports[`renders ./components/dropdown/demo/trigger.md correctly 1`] = `
>
Click me
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down"
>
<svg
...
...
components/dropdown/__tests__/__snapshots__/dropdown-button.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -13,7 +13,7 @@ exports[`DropdownButton should support href like Button 1`] = `
type="button"
>
<i
aria-label="ellipsis"
aria-label="
icon:
ellipsis"
class="anticon anticon-ellipsis"
>
<svg
...
...
components/empty/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -66,7 +66,7 @@ exports[`renders ./components/empty/demo/config-provider.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -111,7 +111,7 @@ exports[`renders ./components/empty/demo/config-provider.md correctly 1`] = `
style="outline:none"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -150,7 +150,7 @@ exports[`renders ./components/empty/demo/config-provider.md correctly 1`] = `
value=""
/>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -244,7 +244,7 @@ exports[`renders ./components/empty/demo/config-provider.md correctly 1`] = `
type="button"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -268,7 +268,7 @@ exports[`renders ./components/empty/demo/config-provider.md correctly 1`] = `
type="button"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
components/form/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -449,7 +449,7 @@ exports[`renders ./components/form/demo/advanced-search.md correctly 1`] = `
>
Collapse
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down"
>
<svg
...
...
@@ -573,7 +573,7 @@ exports[`renders ./components/form/demo/coordinated.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -689,7 +689,7 @@ exports[`renders ./components/form/demo/customized-form-controls.md correctly 1`
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -763,7 +763,7 @@ exports[`renders ./components/form/demo/dynamic-form-item.md correctly 1`] = `
type="button"
>
<i
aria-label="plus"
aria-label="
icon:
plus"
class="anticon anticon-plus"
>
<svg
...
...
@@ -1039,7 +1039,7 @@ exports[`renders ./components/form/demo/horizontal-login.md correctly 1`] = `
class="ant-input-prefix"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
style="color:rgba(0,0,0,.25)"
>
...
...
@@ -1091,7 +1091,7 @@ exports[`renders ./components/form/demo/horizontal-login.md correctly 1`] = `
class="ant-input-prefix"
>
<i
aria-label="lock"
aria-label="
icon:
lock"
class="anticon anticon-lock"
style="color:rgba(0,0,0,.25)"
>
...
...
@@ -1359,7 +1359,7 @@ exports[`renders ./components/form/demo/normal-login.md correctly 1`] = `
class="ant-input-prefix"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
style="color:rgba(0,0,0,.25)"
>
...
...
@@ -1411,7 +1411,7 @@ exports[`renders ./components/form/demo/normal-login.md correctly 1`] = `
class="ant-input-prefix"
>
<i
aria-label="lock"
aria-label="
icon:
lock"
class="anticon anticon-lock"
style="color:rgba(0,0,0,.25)"
>
...
...
@@ -1628,7 +1628,7 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
<span>
Nickname
<i
aria-label="question-circle-o"
aria-label="
icon:
question-circle-o"
class="anticon anticon-question-circle-o"
>
<svg
...
...
@@ -1715,7 +1715,7 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
value=""
/>
<i
aria-label="close-circle"
aria-label="
icon:
close-circle"
class="anticon anticon-close-circle ant-cascader-picker-clear"
tabindex="-1"
>
...
...
@@ -1734,7 +1734,7 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
</svg>
</i>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -1823,7 +1823,7 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -1933,7 +1933,7 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -2128,7 +2128,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -2187,7 +2187,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -2245,7 +2245,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -2319,7 +2319,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -2394,7 +2394,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -2454,7 +2454,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
class="ant-time-picker-icon"
>
<i
aria-label="clock-circle"
aria-label="
icon:
clock-circle"
class="anticon anticon-clock-circle ant-time-picker-clock-icon"
>
<svg
...
...
@@ -2598,7 +2598,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -2735,7 +2735,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="up"
aria-label="
icon:
up"
class="anticon anticon-up ant-input-number-handler-up-inner"
>
<svg
...
...
@@ -2761,7 +2761,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-input-number-handler-down-inner"
>
<svg
...
...
@@ -3342,7 +3342,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-rate-star-first"
>
<i
aria-label="star"
aria-label="
icon:
star"
class="anticon anticon-star"
>
<svg
...
...
@@ -3364,7 +3364,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-rate-star-second"
>
<i
aria-label="star"
aria-label="
icon:
star"
class="anticon anticon-star"
>
<svg
...
...
@@ -3398,7 +3398,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-rate-star-first"
>
<i
aria-label="star"
aria-label="
icon:
star"
class="anticon anticon-star"
>
<svg
...
...
@@ -3420,7 +3420,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-rate-star-second"
>
<i
aria-label="star"
aria-label="
icon:
star"
class="anticon anticon-star"
>
<svg
...
...
@@ -3454,7 +3454,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-rate-star-first"
>
<i
aria-label="star"
aria-label="
icon:
star"
class="anticon anticon-star"
>
<svg
...
...
@@ -3476,7 +3476,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-rate-star-second"
>
<i
aria-label="star"
aria-label="
icon:
star"
class="anticon anticon-star"
>
<svg
...
...
@@ -3510,7 +3510,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-rate-star-first"
>
<i
aria-label="star"
aria-label="
icon:
star"
class="anticon anticon-star"
>
<svg
...
...
@@ -3532,7 +3532,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-rate-star-second"
>
<i
aria-label="star"
aria-label="
icon:
star"
class="anticon anticon-star"
>
<svg
...
...
@@ -3566,7 +3566,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-rate-star-first"
>
<i
aria-label="star"
aria-label="
icon:
star"
class="anticon anticon-star"
>
<svg
...
...
@@ -3588,7 +3588,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-rate-star-second"
>
<i
aria-label="star"
aria-label="
icon:
star"
class="anticon anticon-star"
>
<svg
...
...
@@ -3832,7 +3832,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
class="ant-form-item-children-icon"
>
<i
aria-label="loading"
aria-label="
icon:
loading"
class="anticon anticon-loading"
>
<svg
...
...
@@ -3892,7 +3892,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
class="ant-form-item-children-icon"
>
<i
aria-label="check-circle"
aria-label="
icon:
check-circle"
class="anticon anticon-check-circle"
>
<svg
...
...
@@ -3947,7 +3947,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
class="ant-form-item-children-icon"
>
<i
aria-label="exclamation-circle"
aria-label="
icon:
exclamation-circle"
class="anticon anticon-exclamation-circle"
>
<svg
...
...
@@ -4002,7 +4002,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
class="ant-form-item-children-icon"
>
<i
aria-label="close-circle"
aria-label="
icon:
close-circle"
class="anticon anticon-close-circle"
>
<svg
...
...
@@ -4063,7 +4063,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -4086,7 +4086,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
class="ant-form-item-children-icon"
>
<i
aria-label="check-circle"
aria-label="
icon:
check-circle"
class="anticon anticon-check-circle"
>
<svg
...
...
@@ -4145,7 +4145,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
class="ant-time-picker-icon"
>
<i
aria-label="clock-circle"
aria-label="
icon:
clock-circle"
class="anticon anticon-clock-circle ant-time-picker-clock-icon"
>
<svg
...
...
@@ -4171,7 +4171,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
class="ant-form-item-children-icon"
>
<i
aria-label="exclamation-circle"
aria-label="
icon:
exclamation-circle"
class="anticon anticon-exclamation-circle"
>
<svg
...
...
@@ -4245,7 +4245,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -4269,7 +4269,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
class="ant-form-item-children-icon"
>
<i
aria-label="close-circle"
aria-label="
icon:
close-circle"
class="anticon anticon-close-circle"
>
<svg
...
...
@@ -4328,7 +4328,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
value=""
/>
<i
aria-label="close-circle"
aria-label="
icon:
close-circle"
class="anticon anticon-close-circle ant-cascader-picker-clear"
tabindex="-1"
>
...
...
@@ -4347,7 +4347,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
</svg>
</i>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -4369,7 +4369,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
class="ant-form-item-children-icon"
>
<i
aria-label="loading"
aria-label="
icon:
loading"
class="anticon anticon-loading"
>
<svg
...
...
@@ -4443,7 +4443,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -4500,7 +4500,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -4564,7 +4564,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="up"
aria-label="
icon:
up"
class="anticon anticon-up ant-input-number-handler-up-inner"
>
<svg
...
...
@@ -4590,7 +4590,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-input-number-handler-down-inner"
>
<svg
...
...
@@ -4627,7 +4627,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
class="ant-form-item-children-icon"
>
<i
aria-label="check-circle"
aria-label="
icon:
check-circle"
class="anticon anticon-check-circle"
>
<svg
...
...
@@ -4692,7 +4692,7 @@ exports[`renders ./components/form/demo/without-form-create.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="up"
aria-label="
icon:
up"
class="anticon anticon-up ant-input-number-handler-up-inner"
>
<svg
...
...
@@ -4718,7 +4718,7 @@ exports[`renders ./components/form/demo/without-form-create.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-input-number-handler-down-inner"
>
<svg
...
...
components/icon/__tests__/__snapshots__/index.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -2,6 +2,7 @@
exports[`Icon \`component\` prop can access to svg defs if has children 1`] = `
<i
aria-label="icon: undefined"
class="anticon my-home-icon"
>
<svg
...
...
@@ -24,13 +25,14 @@ exports[`Icon \`component\` prop can access to svg defs if has children 1`] = `
exports[`Icon should give warning and render <i>{null}</i> 1`] = `
<i
aria-label="icon: undefined"
class="anticon"
/>
`;
exports[`Icon should render to a <i class="xxx"><svg>...</svg></i> 1`] = `
<i
aria-label="message"
aria-label="
icon:
message"
class="anticon anticon-message my-icon-classname"
>
<svg
...
...
@@ -52,7 +54,7 @@ exports[`Icon should render to a <i class="xxx"><svg>...</svg></i> 1`] = `
exports[`Icon should support basic usage 1`] = `
<div>
<i
aria-label="home"
aria-label="
icon:
home"
class="anticon anticon-home"
>
<svg
...
...
@@ -70,7 +72,7 @@ exports[`Icon should support basic usage 1`] = `
</svg>
</i>
<i
aria-label="setting"
aria-label="
icon:
setting"
class="anticon anticon-setting"
>
<svg
...
...
@@ -88,7 +90,7 @@ exports[`Icon should support basic usage 1`] = `
</svg>
</i>
<i
aria-label="smile"
aria-label="
icon:
smile"
class="anticon anticon-smile"
>
<svg
...
...
@@ -106,7 +108,7 @@ exports[`Icon should support basic usage 1`] = `
</svg>
</i>
<i
aria-label="sync"
aria-label="
icon:
sync"
class="anticon anticon-sync"
>
<svg
...
...
@@ -124,7 +126,7 @@ exports[`Icon should support basic usage 1`] = `
</svg>
</i>
<i
aria-label="loading"
aria-label="
icon:
loading"
class="anticon anticon-loading"
>
<svg
...
...
@@ -146,7 +148,7 @@ exports[`Icon should support basic usage 1`] = `
exports[`Icon should support config global two-tone primary color 1`] = `
<i
aria-label="check-circle"
aria-label="
icon:
check-circle"
class="anticon anticon-check-circle"
>
<svg
...
...
@@ -177,7 +179,7 @@ exports[`Icon should support config global two-tone primary color 1`] = `
exports[`Icon should support older usage 1`] = `
<div>
<i
aria-label="home-o"
aria-label="
icon:
home-o"
class="anticon anticon-home-o"
>
<svg
...
...
@@ -195,7 +197,7 @@ exports[`Icon should support older usage 1`] = `
</svg>
</i>
<i
aria-label="setting-fill"
aria-label="
icon:
setting-fill"
class="anticon anticon-setting-fill"
>
<svg
...
...
@@ -213,7 +215,7 @@ exports[`Icon should support older usage 1`] = `
</svg>
</i>
<i
aria-label="smile-o"
aria-label="
icon:
smile-o"
class="anticon anticon-smile-o"
>
<svg
...
...
@@ -231,7 +233,7 @@ exports[`Icon should support older usage 1`] = `
</svg>
</i>
<i
aria-label="check-circle-twotone"
aria-label="
icon:
check-circle-twotone"
class="anticon anticon-check-circle-twotone"
>
<svg
...
...
@@ -256,6 +258,7 @@ exports[`Icon should support older usage 1`] = `
exports[`Icon should support pass svg paths as children 1`] = `
<i
aria-label="icon: undefined"
class="anticon"
>
<svg
...
...
@@ -279,6 +282,7 @@ exports[`Icon should support pass svg paths as children 1`] = `
exports[`Icon should support svg react component 1`] = `
<i
aria-label="icon: undefined"
class="anticon my-home-icon"
>
<svg
...
...
@@ -301,7 +305,7 @@ exports[`Icon should support svg react component 1`] = `
exports[`Icon should support two-tone icon 1`] = `
<i
aria-label="check-circle"
aria-label="
icon:
check-circle"
class="anticon anticon-check-circle"
>
<svg
...
...
@@ -334,6 +338,7 @@ exports[`Icon.createFromIconfontCN() should support iconfont.cn 1`] = `
class="icons-list"
>
<i
aria-label="icon: undefined"
class="anticon"
>
<svg
...
...
@@ -350,6 +355,7 @@ exports[`Icon.createFromIconfontCN() should support iconfont.cn 1`] = `
</svg>
</i>
<i
aria-label="icon: undefined"
class="anticon"
>
<svg
...
...
@@ -366,6 +372,7 @@ exports[`Icon.createFromIconfontCN() should support iconfont.cn 1`] = `
</svg>
</i>
<i
aria-label="icon: undefined"
class="anticon"
>
<svg
...
...
components/icon/index.tsx
浏览文件 @
0a67272a
...
...
@@ -11,6 +11,7 @@ import {
alias
,
}
from
'
./utils
'
;
import
warning
from
'
../_util/warning
'
;
import
LocaleReceiver
from
'
../locale-provider/LocaleReceiver
'
;
import
{
getTwoToneColor
,
setTwoToneColor
}
from
'
./twoTonePrimaryColor
'
;
// Initial setting
...
...
@@ -19,6 +20,9 @@ setTwoToneColor('#1890ff');
let
defaultTheme
:
ThemeType
=
'
outlined
'
;
let
dangerousTheme
:
ThemeType
|
undefined
=
undefined
;
export
interface
TransferLocale
{
icon
:
string
;
}
export
interface
CustomIconComponentProps
{
width
:
string
|
number
;
height
:
string
|
number
;
...
...
@@ -96,7 +100,7 @@ const Icon: IconComponent<IconProps> = props => {
[
`anticon-spin`
]:
!!
spin
||
type
===
'
loading
'
,
});
let
innerNode
;
let
innerNode
:
React
.
ReactNode
;
// component > children > type
if
(
Component
)
{
...
...
@@ -157,15 +161,19 @@ const Icon: IconComponent<IconProps> = props => {
}
return
(
<
i
aria
-
label
=
{
type
}
{
...
restProps
}
tabIndex
=
{
iconTabIndex
}
onClick
=
{
onClick
}
className
=
{
classString
}
>
{
innerNode
}
</
i
>
<
LocaleReceiver
componentName
=
"Icon"
>
{
(
locale
:
TransferLocale
)
=>
(
<
i
aria
-
label
=
{
`
${
locale
.
icon
}
:
${
type
}
`
}
{
...
restProps
}
tabIndex
=
{
iconTabIndex
}
onClick
=
{
onClick
}
className
=
{
classString
}
>
{
innerNode
}
</
i
>
)
}
</
LocaleReceiver
>
);
};
...
...
components/input-number/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -15,7 +15,7 @@ exports[`renders ./components/input-number/demo/basic.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="up"
aria-label="
icon:
up"
class="anticon anticon-up ant-input-number-handler-up-inner"
>
<svg
...
...
@@ -41,7 +41,7 @@ exports[`renders ./components/input-number/demo/basic.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-input-number-handler-down-inner"
>
<svg
...
...
@@ -94,7 +94,7 @@ exports[`renders ./components/input-number/demo/digit.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="up"
aria-label="
icon:
up"
class="anticon anticon-up ant-input-number-handler-up-inner"
>
<svg
...
...
@@ -120,7 +120,7 @@ exports[`renders ./components/input-number/demo/digit.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-input-number-handler-down-inner"
>
<svg
...
...
@@ -173,7 +173,7 @@ exports[`renders ./components/input-number/demo/disabled.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="up"
aria-label="
icon:
up"
class="anticon anticon-up ant-input-number-handler-up-inner"
>
<svg
...
...
@@ -199,7 +199,7 @@ exports[`renders ./components/input-number/demo/disabled.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-input-number-handler-down-inner"
>
<svg
...
...
@@ -267,7 +267,7 @@ exports[`renders ./components/input-number/demo/formatter.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="up"
aria-label="
icon:
up"
class="anticon anticon-up ant-input-number-handler-up-inner"
>
<svg
...
...
@@ -293,7 +293,7 @@ exports[`renders ./components/input-number/demo/formatter.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-input-number-handler-down-inner"
>
<svg
...
...
@@ -341,7 +341,7 @@ exports[`renders ./components/input-number/demo/formatter.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="up"
aria-label="
icon:
up"
class="anticon anticon-up ant-input-number-handler-up-inner"
>
<svg
...
...
@@ -367,7 +367,7 @@ exports[`renders ./components/input-number/demo/formatter.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-input-number-handler-down-inner"
>
<svg
...
...
@@ -422,7 +422,7 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="up"
aria-label="
icon:
up"
class="anticon anticon-up ant-input-number-handler-up-inner"
>
<svg
...
...
@@ -448,7 +448,7 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-input-number-handler-down-inner"
>
<svg
...
...
@@ -498,7 +498,7 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="up"
aria-label="
icon:
up"
class="anticon anticon-up ant-input-number-handler-up-inner"
>
<svg
...
...
@@ -524,7 +524,7 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-input-number-handler-down-inner"
>
<svg
...
...
@@ -574,7 +574,7 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="up"
aria-label="
icon:
up"
class="anticon anticon-up ant-input-number-handler-up-inner"
>
<svg
...
...
@@ -600,7 +600,7 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-input-number-handler-down-inner"
>
<svg
...
...
components/input/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -72,7 +72,7 @@ exports[`renders ./components/input/demo/addon.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -132,7 +132,7 @@ exports[`renders ./components/input/demo/addon.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -174,7 +174,7 @@ exports[`renders ./components/input/demo/addon.md correctly 1`] = `
class="ant-input-group-addon"
>
<i
aria-label="setting"
aria-label="
icon:
setting"
class="anticon anticon-setting"
>
<svg
...
...
@@ -314,7 +314,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -375,7 +375,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -415,7 +415,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="up"
aria-label="
icon:
up"
class="anticon anticon-up ant-input-number-handler-up-inner"
>
<svg
...
...
@@ -441,7 +441,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
unselectable="unselectable"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-input-number-handler-down-inner"
>
<svg
...
...
@@ -496,7 +496,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -550,7 +550,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -600,7 +600,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -655,7 +655,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -732,7 +732,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -802,7 +802,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -858,7 +858,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -895,7 +895,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
value=""
/>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-cascader-picker-arrow"
>
<svg
...
...
@@ -932,7 +932,7 @@ exports[`renders ./components/input/demo/password-input.md correctly 1`] = `
class="ant-input-suffix"
>
<i
aria-label="eye"
aria-label="
icon:
eye"
class="anticon anticon-eye ant-input-password-icon"
tabindex="-1"
>
...
...
@@ -962,7 +962,7 @@ exports[`renders ./components/input/demo/presuffix.md correctly 1`] = `
class="ant-input-prefix"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
style="color:rgba(0,0,0,.25)"
>
...
...
@@ -1006,7 +1006,7 @@ exports[`renders ./components/input/demo/search-input.md correctly 1`] = `
class="ant-input-suffix"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search ant-input-search-icon"
tabindex="-1"
>
...
...
@@ -1045,7 +1045,7 @@ exports[`renders ./components/input/demo/search-input.md correctly 1`] = `
type="button"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
components/input/__tests__/__snapshots__/index.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -29,34 +29,38 @@ exports[`Input allowClear should change type when click 1`] = `
theme="filled"
type="close-circle"
>
<i
aria-label="close-circle"
className="anticon anticon-close-circle ant-input-clear-icon"
onClick={[Function]}
role="button"
tabIndex={-1}
<LocaleReceiver
componentName="Icon"
>
<IconReact
className=""
type="close-circle-fill"
<i
aria-label="icon: close-circle"
className="anticon anticon-close-circle ant-input-clear-icon"
onClick={[Function]}
role="button"
tabIndex={-1}
>
<svg
aria-hidden="true"
<IconReact
className=""
data-icon="close-circle"
fill="currentColor"
height="1em"
key="svg-close-circle"
viewBox="64 64 896 896"
width="1em"
type="close-circle-fill"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"
key="svg-close-circle-svg-0"
/>
</svg>
</IconReact>
</i>
<svg
aria-hidden="true"
className=""
data-icon="close-circle"
fill="currentColor"
height="1em"
key="svg-close-circle"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"
key="svg-close-circle-svg-0"
/>
</svg>
</IconReact>
</i>
</LocaleReceiver>
</Icon>
</span>
</span>
...
...
@@ -155,33 +159,37 @@ exports[`Input.Password should change type when click 1`] = `
onClick={[Function]}
type="eye"
>
<i
aria-label="eye"
className="anticon anticon-eye ant-input-password-icon"
onClick={[Function]}
tabIndex={-1}
<LocaleReceiver
componentName="Icon"
>
<IconReact
className=""
type="eye-o"
<i
aria-label="icon: eye"
className="anticon anticon-eye ant-input-password-icon"
onClick={[Function]}
tabIndex={-1}
>
<svg
aria-hidden="true"
<IconReact
className=""
data-icon="eye"
fill="currentColor"
height="1em"
key="svg-eye"
viewBox="64 64 896 896"
width="1em"
type="eye-o"
>
<path
d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 0 0 0 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"
key="svg-eye-svg-0"
/>
</svg>
</IconReact>
</i>
<svg
aria-hidden="true"
className=""
data-icon="eye"
fill="currentColor"
height="1em"
key="svg-eye"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 0 0 0 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"
key="svg-eye-svg-0"
/>
</svg>
</IconReact>
</i>
</LocaleReceiver>
</Icon>
</span>
</span>
...
...
@@ -234,37 +242,41 @@ exports[`Input.Password should change type when click 2`] = `
onClick={[Function]}
type="eye-invisible"
>
<i
aria-label="eye-invisible"
className="anticon anticon-eye-invisible ant-input-password-icon"
onClick={[Function]}
tabIndex={-1}
<LocaleReceiver
componentName="Icon"
>
<IconReact
className=""
type="eye-invisible-o"
<i
aria-label="icon: eye-invisible"
className="anticon anticon-eye-invisible ant-input-password-icon"
onClick={[Function]}
tabIndex={-1}
>
<svg
aria-hidden="true"
<IconReact
className=""
data-icon="eye-invisible"
fill="currentColor"
height="1em"
key="svg-eye-invisible"
viewBox="64 64 896 896"
width="1em"
type="eye-invisible-o"
>
<path
d="M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 0 0 0-51.5zm-63.57-320.64L836 122.88a8 8 0 0 0-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 0 0 0 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 0 0 0 11.31L155.17 889a8 8 0 0 0 11.31 0l712.15-712.12a8 8 0 0 0 0-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 0 0-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 0 1 146.2-106.69L401.31 546.2A112 112 0 0 1 396 512z"
key="svg-eye-invisible-svg-0"
/>
<path
d="M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 0 0 227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 0 1-112 112z"
key="svg-eye-invisible-svg-1"
/>
</svg>
</IconReact>
</i>
<svg
aria-hidden="true"
className=""
data-icon="eye-invisible"
fill="currentColor"
height="1em"
key="svg-eye-invisible"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 0 0 0-51.5zm-63.57-320.64L836 122.88a8 8 0 0 0-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 0 0 0 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 0 0 0 11.31L155.17 889a8 8 0 0 0 11.31 0l712.15-712.12a8 8 0 0 0 0-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 0 0-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 0 1 146.2-106.69L401.31 546.2A112 112 0 0 1 396 512z"
key="svg-eye-invisible-svg-0"
/>
<path
d="M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 0 0 227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 0 1-112 112z"
key="svg-eye-invisible-svg-1"
/>
</svg>
</IconReact>
</i>
</LocaleReceiver>
</Icon>
</span>
</span>
...
...
@@ -317,33 +329,37 @@ exports[`Input.Password should change type when click 3`] = `
onClick={[Function]}
type="eye"
>
<i
aria-label="eye"
className="anticon anticon-eye ant-input-password-icon"
onClick={[Function]}
tabIndex={-1}
<LocaleReceiver
componentName="Icon"
>
<IconReact
className=""
type="eye-o"
<i
aria-label="icon: eye"
className="anticon anticon-eye ant-input-password-icon"
onClick={[Function]}
tabIndex={-1}
>
<svg
aria-hidden="true"
<IconReact
className=""
data-icon="eye"
fill="currentColor"
height="1em"
key="svg-eye"
viewBox="64 64 896 896"
width="1em"
type="eye-o"
>
<path
d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 0 0 0 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"
key="svg-eye-svg-0"
/>
</svg>
</IconReact>
</i>
<svg
aria-hidden="true"
className=""
data-icon="eye"
fill="currentColor"
height="1em"
key="svg-eye"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 0 0 0 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"
key="svg-eye-svg-0"
/>
</svg>
</IconReact>
</i>
</LocaleReceiver>
</Icon>
</span>
</span>
...
...
@@ -398,33 +414,37 @@ exports[`Input.Search should support suffix 1`] = `
onClick={[Function]}
type="search"
>
<i
aria-label="search"
className="anticon anticon-search ant-input-search-icon"
onClick={[Function]}
tabIndex={-1}
<LocaleReceiver
componentName="Icon"
>
<IconReact
className=""
type="search-o"
<i
aria-label="icon: search"
className="anticon anticon-search ant-input-search-icon"
onClick={[Function]}
tabIndex={-1}
>
<svg
aria-hidden="true"
<IconReact
className=""
data-icon="search"
fill="currentColor"
height="1em"
key="svg-search"
viewBox="64 64 896 896"
width="1em"
type="search-o"
>
<path
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
key="svg-search-svg-0"
/>
</svg>
</IconReact>
</i>
<svg
aria-hidden="true"
className=""
data-icon="search"
fill="currentColor"
height="1em"
key="svg-search"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
key="svg-search-svg-0"
/>
</svg>
</IconReact>
</i>
</LocaleReceiver>
</Icon>
</span>
</span>
...
...
components/layout/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -147,7 +147,7 @@ exports[`renders ./components/layout/demo/custom-trigger.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -174,7 +174,7 @@ exports[`renders ./components/layout/demo/custom-trigger.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="video-camera"
aria-label="
icon:
video-camera"
class="anticon anticon-video-camera"
>
<svg
...
...
@@ -201,7 +201,7 @@ exports[`renders ./components/layout/demo/custom-trigger.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="upload"
aria-label="
icon:
upload"
class="anticon anticon-upload"
>
<svg
...
...
@@ -233,7 +233,7 @@ exports[`renders ./components/layout/demo/custom-trigger.md correctly 1`] = `
style="background:#fff;padding:0"
>
<i
aria-label="menu-fold"
aria-label="
icon:
menu-fold"
class="anticon anticon-menu-fold trigger"
tabindex="-1"
>
...
...
@@ -454,7 +454,7 @@ exports[`renders ./components/layout/demo/fixed-sider.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -483,7 +483,7 @@ exports[`renders ./components/layout/demo/fixed-sider.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="video-camera"
aria-label="
icon:
video-camera"
class="anticon anticon-video-camera"
>
<svg
...
...
@@ -512,7 +512,7 @@ exports[`renders ./components/layout/demo/fixed-sider.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="upload"
aria-label="
icon:
upload"
class="anticon anticon-upload"
>
<svg
...
...
@@ -541,7 +541,7 @@ exports[`renders ./components/layout/demo/fixed-sider.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="bar-chart"
aria-label="
icon:
bar-chart"
class="anticon anticon-bar-chart"
>
<svg
...
...
@@ -570,7 +570,7 @@ exports[`renders ./components/layout/demo/fixed-sider.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="cloud-o"
aria-label="
icon:
cloud-o"
class="anticon anticon-cloud-o"
>
<svg
...
...
@@ -599,7 +599,7 @@ exports[`renders ./components/layout/demo/fixed-sider.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="appstore-o"
aria-label="
icon:
appstore-o"
class="anticon anticon-appstore-o"
>
<svg
...
...
@@ -628,7 +628,7 @@ exports[`renders ./components/layout/demo/fixed-sider.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="team"
aria-label="
icon:
team"
class="anticon anticon-team"
>
<svg
...
...
@@ -657,7 +657,7 @@ exports[`renders ./components/layout/demo/fixed-sider.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="shop"
aria-label="
icon:
shop"
class="anticon anticon-shop"
>
<svg
...
...
@@ -829,7 +829,7 @@ exports[`renders ./components/layout/demo/responsive.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -858,7 +858,7 @@ exports[`renders ./components/layout/demo/responsive.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="video-camera"
aria-label="
icon:
video-camera"
class="anticon anticon-video-camera"
>
<svg
...
...
@@ -887,7 +887,7 @@ exports[`renders ./components/layout/demo/responsive.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="upload"
aria-label="
icon:
upload"
class="anticon anticon-upload"
>
<svg
...
...
@@ -916,7 +916,7 @@ exports[`renders ./components/layout/demo/responsive.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -994,7 +994,7 @@ exports[`renders ./components/layout/demo/side.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="pie-chart"
aria-label="
icon:
pie-chart"
class="anticon anticon-pie-chart"
>
<svg
...
...
@@ -1021,7 +1021,7 @@ exports[`renders ./components/layout/demo/side.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="desktop"
aria-label="
icon:
desktop"
class="anticon anticon-desktop"
>
<svg
...
...
@@ -1054,7 +1054,7 @@ exports[`renders ./components/layout/demo/side.md correctly 1`] = `
>
<span>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -1093,7 +1093,7 @@ exports[`renders ./components/layout/demo/side.md correctly 1`] = `
>
<span>
<i
aria-label="team"
aria-label="
icon:
team"
class="anticon anticon-team"
>
<svg
...
...
@@ -1126,7 +1126,7 @@ exports[`renders ./components/layout/demo/side.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="file"
aria-label="
icon:
file"
class="anticon anticon-file"
>
<svg
...
...
@@ -1154,7 +1154,7 @@ exports[`renders ./components/layout/demo/side.md correctly 1`] = `
style="width:200px"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -1577,7 +1577,7 @@ exports[`renders ./components/layout/demo/top-side.md correctly 1`] = `
>
<span>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -1647,7 +1647,7 @@ exports[`renders ./components/layout/demo/top-side.md correctly 1`] = `
>
<span>
<i
aria-label="laptop"
aria-label="
icon:
laptop"
class="anticon anticon-laptop"
>
<svg
...
...
@@ -1684,7 +1684,7 @@ exports[`renders ./components/layout/demo/top-side.md correctly 1`] = `
>
<span>
<i
aria-label="notification"
aria-label="
icon:
notification"
class="anticon anticon-notification"
>
<svg
...
...
@@ -1864,7 +1864,7 @@ exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = `
>
<span>
<i
aria-label="user"
aria-label="
icon:
user"
class="anticon anticon-user"
>
<svg
...
...
@@ -1934,7 +1934,7 @@ exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = `
>
<span>
<i
aria-label="laptop"
aria-label="
icon:
laptop"
class="anticon anticon-laptop"
>
<svg
...
...
@@ -1971,7 +1971,7 @@ exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = `
>
<span>
<i
aria-label="notification"
aria-label="
icon:
notification"
class="anticon anticon-notification"
>
<svg
...
...
components/list/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -937,7 +937,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<li>
<span>
<i
aria-label="star-o"
aria-label="
icon:
star-o"
class="anticon anticon-star-o"
style="margin-right:8px"
>
...
...
@@ -964,7 +964,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<li>
<span>
<i
aria-label="like-o"
aria-label="
icon:
like-o"
class="anticon anticon-like-o"
style="margin-right:8px"
>
...
...
@@ -991,7 +991,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<li>
<span>
<i
aria-label="message"
aria-label="
icon:
message"
class="anticon anticon-message"
style="margin-right:8px"
>
...
...
@@ -1078,7 +1078,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<li>
<span>
<i
aria-label="star-o"
aria-label="
icon:
star-o"
class="anticon anticon-star-o"
style="margin-right:8px"
>
...
...
@@ -1105,7 +1105,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<li>
<span>
<i
aria-label="like-o"
aria-label="
icon:
like-o"
class="anticon anticon-like-o"
style="margin-right:8px"
>
...
...
@@ -1132,7 +1132,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<li>
<span>
<i
aria-label="message"
aria-label="
icon:
message"
class="anticon anticon-message"
style="margin-right:8px"
>
...
...
@@ -1219,7 +1219,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<li>
<span>
<i
aria-label="star-o"
aria-label="
icon:
star-o"
class="anticon anticon-star-o"
style="margin-right:8px"
>
...
...
@@ -1246,7 +1246,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<li>
<span>
<i
aria-label="like-o"
aria-label="
icon:
like-o"
class="anticon anticon-like-o"
style="margin-right:8px"
>
...
...
@@ -1273,7 +1273,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<li>
<span>
<i
aria-label="message"
aria-label="
icon:
message"
class="anticon anticon-message"
style="margin-right:8px"
>
...
...
@@ -1335,7 +1335,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -1436,7 +1436,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
components/list/__tests__/__snapshots__/pagination.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -46,7 +46,7 @@ exports[`List.pagination renders pagination correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -93,7 +93,7 @@ exports[`List.pagination renders pagination correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
components/locale-provider/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -72,7 +72,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -146,7 +146,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -198,7 +198,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -267,7 +267,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -298,7 +298,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -331,7 +331,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
class="ant-time-picker-icon"
>
<i
aria-label="clock-circle"
aria-label="
icon:
clock-circle"
class="anticon anticon-clock-circle ant-time-picker-clock-icon"
>
<svg
...
...
@@ -381,7 +381,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
value=""
/>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar ant-calendar-picker-icon"
>
<svg
...
...
@@ -489,7 +489,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
class="ant-transfer-list-search-action"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
@@ -544,7 +544,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
type="button"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -568,7 +568,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
type="button"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -636,7 +636,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
class="ant-transfer-list-search-action"
>
<i
aria-label="search"
aria-label="
icon:
search"
class="anticon anticon-search"
>
<svg
...
...
@@ -723,7 +723,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -773,7 +773,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -1766,7 +1766,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
Name
</div>
<i
aria-label="filter"
aria-label="
icon:
filter"
class="anticon anticon-filter ant-dropdown-trigger"
tabindex="-1"
title="Filter menu"
...
...
@@ -1846,7 +1846,7 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
图标:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -1920,7 +1920,7 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
图标:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -1972,7 +1972,7 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
图标:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
components/locale-provider/__tests__/__snapshots__/index.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/locale-provider/default.tsx
浏览文件 @
0a67272a
...
...
@@ -44,4 +44,7 @@ export default {
Empty
:
{
description
:
'
No Data
'
,
},
Icon
:
{
icon
:
'
icon
'
,
},
};
components/locale-provider/zh_CN.tsx
浏览文件 @
0a67272a
...
...
@@ -44,4 +44,7 @@ export default {
Empty
:
{
description
:
'
暂无数据
'
,
},
Icon
:
{
icon
:
'
图标
'
,
},
};
components/menu/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -28,7 +28,7 @@ exports[`renders ./components/menu/demo/horizontal.md correctly 1`] = `
role="menuitem"
>
<i
aria-label="mail"
aria-label="
icon:
mail"
class="anticon anticon-mail"
>
<svg
...
...
@@ -71,7 +71,7 @@ exports[`renders ./components/menu/demo/horizontal.md correctly 1`] = `
role="menuitem"
>
<i
aria-label="appstore"
aria-label="
icon:
appstore"
class="anticon anticon-appstore"
>
<svg
...
...
@@ -121,7 +121,7 @@ exports[`renders ./components/menu/demo/horizontal.md correctly 1`] = `
class="submenu-title-wrapper"
>
<i
aria-label="setting"
aria-label="
icon:
setting"
class="anticon anticon-setting"
>
<svg
...
...
@@ -215,7 +215,7 @@ exports[`renders ./components/menu/demo/inline.md correctly 1`] = `
>
<span>
<i
aria-label="mail"
aria-label="
icon:
mail"
class="anticon anticon-mail"
>
<svg
...
...
@@ -315,7 +315,7 @@ exports[`renders ./components/menu/demo/inline.md correctly 1`] = `
>
<span>
<i
aria-label="appstore"
aria-label="
icon:
appstore"
class="anticon anticon-appstore"
>
<svg
...
...
@@ -354,7 +354,7 @@ exports[`renders ./components/menu/demo/inline.md correctly 1`] = `
>
<span>
<i
aria-label="setting"
aria-label="
icon:
setting"
class="anticon anticon-setting"
>
<svg
...
...
@@ -394,7 +394,7 @@ exports[`renders ./components/menu/demo/inline-collapsed.md correctly 1`] = `
type="button"
>
<i
aria-label="menu-fold"
aria-label="
icon:
menu-fold"
class="anticon anticon-menu-fold"
>
<svg
...
...
@@ -422,7 +422,7 @@ exports[`renders ./components/menu/demo/inline-collapsed.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="pie-chart"
aria-label="
icon:
pie-chart"
class="anticon anticon-pie-chart"
>
<svg
...
...
@@ -449,7 +449,7 @@ exports[`renders ./components/menu/demo/inline-collapsed.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="desktop"
aria-label="
icon:
desktop"
class="anticon anticon-desktop"
>
<svg
...
...
@@ -476,7 +476,7 @@ exports[`renders ./components/menu/demo/inline-collapsed.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="inbox"
aria-label="i
con: i
nbox"
class="anticon anticon-inbox"
>
<svg
...
...
@@ -510,7 +510,7 @@ exports[`renders ./components/menu/demo/inline-collapsed.md correctly 1`] = `
>
<span>
<i
aria-label="mail"
aria-label="
icon:
mail"
class="anticon anticon-mail"
>
<svg
...
...
@@ -582,7 +582,7 @@ exports[`renders ./components/menu/demo/inline-collapsed.md correctly 1`] = `
>
<span>
<i
aria-label="appstore"
aria-label="
icon:
appstore"
class="anticon anticon-appstore"
>
<svg
...
...
@@ -632,7 +632,7 @@ exports[`renders ./components/menu/demo/sider-current.md correctly 1`] = `
>
<span>
<i
aria-label="mail"
aria-label="
icon:
mail"
class="anticon anticon-mail"
>
<svg
...
...
@@ -704,7 +704,7 @@ exports[`renders ./components/menu/demo/sider-current.md correctly 1`] = `
>
<span>
<i
aria-label="appstore"
aria-label="
icon:
appstore"
class="anticon anticon-appstore"
>
<svg
...
...
@@ -743,7 +743,7 @@ exports[`renders ./components/menu/demo/sider-current.md correctly 1`] = `
>
<span>
<i
aria-label="setting"
aria-label="
icon:
setting"
class="anticon anticon-setting"
>
<svg
...
...
@@ -814,7 +814,7 @@ exports[`renders ./components/menu/demo/switch-mode.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="mail"
aria-label="
icon:
mail"
class="anticon anticon-mail"
>
<svg
...
...
@@ -839,7 +839,7 @@ exports[`renders ./components/menu/demo/switch-mode.md correctly 1`] = `
style="padding-left:24px"
>
<i
aria-label="calendar"
aria-label="
icon:
calendar"
class="anticon anticon-calendar"
>
<svg
...
...
@@ -871,7 +871,7 @@ exports[`renders ./components/menu/demo/switch-mode.md correctly 1`] = `
>
<span>
<i
aria-label="appstore"
aria-label="
icon:
appstore"
class="anticon anticon-appstore"
>
<svg
...
...
@@ -947,7 +947,7 @@ exports[`renders ./components/menu/demo/switch-mode.md correctly 1`] = `
>
<span>
<i
aria-label="setting"
aria-label="
icon:
setting"
class="anticon anticon-setting"
>
<svg
...
...
@@ -1013,7 +1013,7 @@ exports[`renders ./components/menu/demo/theme.md correctly 1`] = `
>
<span>
<i
aria-label="mail"
aria-label="
icon:
mail"
class="anticon anticon-mail"
>
<svg
...
...
@@ -1085,7 +1085,7 @@ exports[`renders ./components/menu/demo/theme.md correctly 1`] = `
>
<span>
<i
aria-label="appstore"
aria-label="
icon:
appstore"
class="anticon anticon-appstore"
>
<svg
...
...
@@ -1124,7 +1124,7 @@ exports[`renders ./components/menu/demo/theme.md correctly 1`] = `
>
<span>
<i
aria-label="setting"
aria-label="
icon:
setting"
class="anticon anticon-setting"
>
<svg
...
...
@@ -1172,7 +1172,7 @@ exports[`renders ./components/menu/demo/vertical.md correctly 1`] = `
>
<span>
<i
aria-label="mail"
aria-label="
icon:
mail"
class="anticon anticon-mail"
>
<svg
...
...
@@ -1209,7 +1209,7 @@ exports[`renders ./components/menu/demo/vertical.md correctly 1`] = `
>
<span>
<i
aria-label="appstore"
aria-label="
icon:
appstore"
class="anticon anticon-appstore"
>
<svg
...
...
@@ -1246,7 +1246,7 @@ exports[`renders ./components/menu/demo/vertical.md correctly 1`] = `
>
<span>
<i
aria-label="setting"
aria-label="
icon:
setting"
class="anticon anticon-setting"
>
<svg
...
...
components/modal/__tests__/__snapshots__/Modal.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -34,7 +34,7 @@ exports[`Modal render correctly 1`] = `
class="ant-modal-close-x"
>
<i
aria-label="close"
aria-label="
icon:
close"
class="anticon anticon-close ant-modal-close-icon"
>
<svg
...
...
@@ -127,7 +127,7 @@ exports[`Modal render without footer 1`] = `
class="ant-modal-close-x"
>
<i
aria-label="close"
aria-label="
icon:
close"
class="anticon anticon-close ant-modal-close-icon"
>
<svg
...
...
components/notification/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -77,7 +77,7 @@ exports[`renders ./components/notification/demo/placement.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
components/pagination/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -14,7 +14,7 @@ exports[`renders ./components/pagination/demo/basic.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -88,7 +88,7 @@ exports[`renders ./components/pagination/demo/basic.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -125,7 +125,7 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -201,7 +201,7 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
class="ant-pagination-item-container"
>
<i
aria-label="double-right"
aria-label="
icon:
double-right"
class="anticon anticon-double-right ant-pagination-item-link-icon"
>
<svg
...
...
@@ -245,7 +245,7 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -297,7 +297,7 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -336,7 +336,7 @@ exports[`renders ./components/pagination/demo/controlled.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -410,7 +410,7 @@ exports[`renders ./components/pagination/demo/controlled.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -503,7 +503,7 @@ exports[`renders ./components/pagination/demo/itemRender.md correctly 1`] = `
class="ant-pagination-item-container"
>
<i
aria-label="double-right"
aria-label="
icon:
double-right"
class="anticon anticon-double-right ant-pagination-item-link-icon"
>
<svg
...
...
@@ -565,7 +565,7 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -641,7 +641,7 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
class="ant-pagination-item-container"
>
<i
aria-label="double-right"
aria-label="
icon:
double-right"
class="anticon anticon-double-right ant-pagination-item-link-icon"
>
<svg
...
...
@@ -685,7 +685,7 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -735,7 +735,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -809,7 +809,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -842,7 +842,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -916,7 +916,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -968,7 +968,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
@@ -1017,7 +1017,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -1091,7 +1091,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -1129,7 +1129,7 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -1169,7 +1169,7 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
class="ant-pagination-item-container"
>
<i
aria-label="double-left"
aria-label="
icon:
double-left"
class="anticon anticon-double-left ant-pagination-item-link-icon"
>
<svg
...
...
@@ -1251,7 +1251,7 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
class="ant-pagination-item-container"
>
<i
aria-label="double-right"
aria-label="
icon:
double-right"
class="anticon anticon-double-right ant-pagination-item-link-icon"
>
<svg
...
...
@@ -1295,7 +1295,7 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -1331,7 +1331,7 @@ exports[`renders ./components/pagination/demo/simple.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -1376,7 +1376,7 @@ exports[`renders ./components/pagination/demo/simple.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -1418,7 +1418,7 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -1492,7 +1492,7 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
@@ -1531,7 +1531,7 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="left"
aria-label="
icon:
left"
class="anticon anticon-left"
>
<svg
...
...
@@ -1605,7 +1605,7 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
class="ant-pagination-item-link"
>
<i
aria-label="right"
aria-label="
icon:
right"
class="anticon anticon-right"
>
<svg
...
...
components/popconfirm/__tests__/__snapshots__/index.test.js.snap
浏览文件 @
0a67272a
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Popconfirm should show overlay when trigger is clicked 1`] = `"<div class=\\"ant-popover-content\\"><div class=\\"ant-popover-arrow\\"></div><div class=\\"ant-popover-inner\\" role=\\"tooltip\\"><div><div class=\\"ant-popover-inner-content\\"><div class=\\"ant-popover-message\\"><i aria-label=\\"exclamation-circle\\" class=\\"anticon anticon-exclamation-circle\\"><svg viewBox=\\"64 64 896 896\\" class=\\"\\" data-icon=\\"exclamation-circle\\" width=\\"1em\\" height=\\"1em\\" fill=\\"currentColor\\" aria-hidden=\\"true\\"><path d=\\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z\\"></path></svg></i><div class=\\"ant-popover-message-title\\">code</div></div><div class=\\"ant-popover-buttons\\"><button type=\\"button\\" class=\\"ant-btn ant-btn-sm\\"><span>Cancel</span></button><button type=\\"button\\" class=\\"ant-btn ant-btn-primary ant-btn-sm\\"><span>OK</span></button></div></div></div></div></div>"`;
exports[`Popconfirm should show overlay when trigger is clicked 1`] = `"<div class=\\"ant-popover-content\\"><div class=\\"ant-popover-arrow\\"></div><div class=\\"ant-popover-inner\\" role=\\"tooltip\\"><div><div class=\\"ant-popover-inner-content\\"><div class=\\"ant-popover-message\\"><i aria-label=\\"
icon:
exclamation-circle\\" class=\\"anticon anticon-exclamation-circle\\"><svg viewBox=\\"64 64 896 896\\" class=\\"\\" data-icon=\\"exclamation-circle\\" width=\\"1em\\" height=\\"1em\\" fill=\\"currentColor\\" aria-hidden=\\"true\\"><path d=\\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z\\"></path></svg></i><div class=\\"ant-popover-message-title\\">code</div></div><div class=\\"ant-popover-buttons\\"><button type=\\"button\\" class=\\"ant-btn ant-btn-sm\\"><span>Cancel</span></button><button type=\\"button\\" class=\\"ant-btn ant-btn-primary ant-btn-sm\\"><span>OK</span></button></div></div></div></div></div>"`;
exports[`Popconfirm should show overlay when trigger is clicked 2`] = `"<div class=\\"ant-popover-content\\"><div class=\\"ant-popover-arrow\\"></div><div class=\\"ant-popover-inner\\" role=\\"tooltip\\"><div><div class=\\"ant-popover-inner-content\\"><div class=\\"ant-popover-message\\"><i aria-label=\\"exclamation-circle\\" class=\\"anticon anticon-exclamation-circle\\"><svg viewBox=\\"64 64 896 896\\" class=\\"\\" data-icon=\\"exclamation-circle\\" width=\\"1em\\" height=\\"1em\\" fill=\\"currentColor\\" aria-hidden=\\"true\\"><path d=\\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z\\"></path></svg></i><div class=\\"ant-popover-message-title\\">code</div></div><div class=\\"ant-popover-buttons\\"><button type=\\"button\\" class=\\"ant-btn ant-btn-sm\\"><span>Cancel</span></button><button type=\\"button\\" class=\\"ant-btn ant-btn-primary ant-btn-sm\\"><span>OK</span></button></div></div></div></div></div>"`;
exports[`Popconfirm should show overlay when trigger is clicked 2`] = `"<div class=\\"ant-popover-content\\"><div class=\\"ant-popover-arrow\\"></div><div class=\\"ant-popover-inner\\" role=\\"tooltip\\"><div><div class=\\"ant-popover-inner-content\\"><div class=\\"ant-popover-message\\"><i aria-label=\\"
icon:
exclamation-circle\\" class=\\"anticon anticon-exclamation-circle\\"><svg viewBox=\\"64 64 896 896\\" class=\\"\\" data-icon=\\"exclamation-circle\\" width=\\"1em\\" height=\\"1em\\" fill=\\"currentColor\\" aria-hidden=\\"true\\"><path d=\\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z\\"></path></svg></i><div class=\\"ant-popover-message-title\\">code</div></div><div class=\\"ant-popover-buttons\\"><button type=\\"button\\" class=\\"ant-btn ant-btn-sm\\"><span>Cancel</span></button><button type=\\"button\\" class=\\"ant-btn ant-btn-primary ant-btn-sm\\"><span>OK</span></button></div></div></div></div></div>"`;
components/progress/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/progress/__tests__/__snapshots__/index.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -137,7 +137,7 @@ exports[`Progress render out-of-range progress 1`] = `
class="ant-progress-text"
>
<i
aria-label="check-circle"
aria-label="
icon:
check-circle"
class="anticon anticon-check-circle"
>
<svg
...
...
@@ -180,7 +180,7 @@ exports[`Progress render out-of-range progress with info 1`] = `
class="ant-progress-text"
>
<i
aria-label="check-circle"
aria-label="
icon:
check-circle"
class="anticon anticon-check-circle"
>
<svg
...
...
components/rate/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/select/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/select/__tests__/__snapshots__/index.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -22,7 +22,7 @@ exports[`Select Select Custom Icons should support customized icons 1`] = `
unselectable="on"
>
<i
aria-label="down"
aria-label="
icon:
down"
class="anticon anticon-down ant-select-arrow-icon"
>
<svg
...
...
components/slider/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/spin/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -20,7 +20,7 @@ exports[`renders ./components/spin/demo/custom-indicator.md correctly 1`] = `
class="ant-spin ant-spin-spinning"
>
<i
aria-label="loading"
aria-label="
icon:
loading"
class="anticon anticon-loading ant-spin-dot"
style="font-size:24px"
>
...
...
components/steps/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/switch/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/table/__tests__/__snapshots__/Table.filter.test.js.snap
浏览文件 @
0a67272a
...
...
@@ -98,7 +98,7 @@ exports[`Table.filter renders filter correctly 1`] = `
Name
</div>
<i
aria-label="filter"
aria-label="
icon:
filter"
class="anticon anticon-filter ant-dropdown-trigger"
tabindex="-1"
title="Filter menu"
...
...
components/table/__tests__/__snapshots__/Table.pagination.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/table/__tests__/__snapshots__/Table.rowSelection.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/table/__tests__/__snapshots__/Table.sorter.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/table/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/tabs/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/tabs/__tests__/__snapshots__/index.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/tag/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/time-picker/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/timeline/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/transfer/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/transfer/__tests__/__snapshots__/index.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/transfer/__tests__/__snapshots__/search.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/tree-select/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/tree/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/tree/__tests__/__snapshots__/directory.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/upload/__tests__/__snapshots__/demo.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
components/upload/__tests__/__snapshots__/uploadlist.test.js.snap
浏览文件 @
0a67272a
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录