diff --git a/src/action-bar-button/test/__snapshots__/index.spec.js.snap b/src/action-bar-button/test/__snapshots__/index.spec.js.snap index dc7f24e7a..0c8cbf3f8 100644 --- a/src/action-bar-button/test/__snapshots__/index.spec.js.snap +++ b/src/action-bar-button/test/__snapshots__/index.spec.js.snap @@ -1,10 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`should render default slot correctly 1`] = ` - `; diff --git a/src/action-bar-icon/test/__snapshots__/index.spec.js.snap b/src/action-bar-icon/test/__snapshots__/index.spec.js.snap index eb4287d27..b55e00cf4 100644 --- a/src/action-bar-icon/test/__snapshots__/index.spec.js.snap +++ b/src/action-bar-icon/test/__snapshots__/index.spec.js.snap @@ -1,35 +1,53 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`should render default slot correctly 1`] = ` -
+
- - - -
Content +
+ Content
`; exports[`should render icon slot correctly 1`] = ` -
-
Custom Icon - -
Content +
+
+ Custom Icon +
+ Content
`; exports[`should render icon slot with badge correctly 1`] = ` -
-
Custom Icon
1
-
Content +
+
+ Custom Icon +
+ 1 +
+
+ Content
`; exports[`should render icon slot with dot correctly 1`] = ` -
-
Custom Icon
- +
+
+ Custom Icon +
-
Content +
+ Content
`; diff --git a/src/action-bar/test/__snapshots__/demo.spec.js.snap b/src/action-bar/test/__snapshots__/demo.spec.js.snap index bd5fc6ec4..50de0d198 100644 --- a/src/action-bar/test/__snapshots__/demo.spec.js.snap +++ b/src/action-bar/test/__snapshots__/demo.spec.js.snap @@ -3,130 +3,181 @@ exports[`should render demo and match snapshot 1`] = `
-
+
- - - -
客服 +
+ 客服
-
+
- - - -
购物车 +
+ 购物车
-
+
- - - -
店铺 -
+ 店铺 +
+
-
+
- -
-
-
客服 +
+ 客服
-
+
- - -
5
-
购物车 +
+ 5 +
+
+ 购物车
-
+
- - -
12
-
店铺 -
+ +
-
-
- - - -
客服 +
+
+
+ 客服
-
+
- - - -
购物车 -
-
-
- - - -
已收藏 -
+
+
+
+ 已收藏 +
+ +
-
+
- - - -
客服 -
-
-
- - - -
购物车 -
+
+
+
+ 购物车 +
+ +
diff --git a/src/action-bar/test/__snapshots__/index.spec.js.snap b/src/action-bar/test/__snapshots__/index.spec.js.snap index 8db696ffd..21b1c1a98 100644 --- a/src/action-bar/test/__snapshots__/index.spec.js.snap +++ b/src/action-bar/test/__snapshots__/index.spec.js.snap @@ -2,6 +2,5 @@ exports[`should allow to disable safe-area-inset-bottom prop 1`] = `
-
`; diff --git a/src/action-sheet/test/__snapshots__/demo.spec.js.snap b/src/action-sheet/test/__snapshots__/demo.spec.js.snap index 831013eee..b2354af90 100644 --- a/src/action-sheet/test/__snapshots__/demo.spec.js.snap +++ b/src/action-sheet/test/__snapshots__/demo.spec.js.snap @@ -2,94 +2,89 @@ exports[`should render demo and match snapshot 1`] = `
-
- -
基础用法 - +
+
+ + 基础用法 +
- - - - - + +
-
- -
展示取消按钮 - +
+
+ + 展示取消按钮 +
- - - - - + +
-
- -
展示描述信息 - +
+
+ + 展示描述信息 +
- - - - - + +
-
- -
选项状态 - +
+
+ + 选项状态 +
- - - - - + +
-
- -
自定义面板 - +
+
+ + 自定义面板 +
- - - - - + +
- - - - - - - - - - `; diff --git a/src/action-sheet/test/__snapshots__/index.spec.js.snap b/src/action-sheet/test/__snapshots__/index.spec.js.snap index bec038fae..7cd31e986 100644 --- a/src/action-sheet/test/__snapshots__/index.spec.js.snap +++ b/src/action-sheet/test/__snapshots__/index.spec.js.snap @@ -2,37 +2,49 @@ exports[`should allow to custom close icon with closeIcon prop 1`] = ` - - - + `; exports[`should render default slot correctly 1`] = `
-
-
Title - - -
- +
+ Title + + +
- Default
- - + Default +
`; -exports[`should render description correctly 1`] = `
This is a description
`; +exports[`should render description correctly 1`] = ` +
+ This is a description +
+`; -exports[`should render description slot when match snapshot 1`] = `
Custom Description
`; +exports[`should render description slot when match snapshot 1`] = ` +
+ Custom Description +
+`; exports[`should render subname correctly 1`] = ` - + `; diff --git a/src/address-edit/test/__snapshots__/demo.spec.js.snap b/src/address-edit/test/__snapshots__/demo.spec.js.snap index 2ef83f6e2..2a6b302e7 100644 --- a/src/address-edit/test/__snapshots__/demo.spec.js.snap +++ b/src/address-edit/test/__snapshots__/demo.spec.js.snap @@ -5,122 +5,126 @@ exports[`should render demo and match snapshot 1`] = `
- -
姓名 - +
+ + 姓名 +
-
- - - +
+
- -
- -
- -
电话 - +
+ + 电话 +
-
- - - +
+
- -
- -
-
- -
地区 - +
+
+ + 地区 +
-
- -
- - -
- +
+ +
+ + +
- -
- -
- -
详细地址 - +
+ + 详细地址 +
-
- - - +
+
- -
- -
-
- -
邮政编码 - +
+ + 邮政编码 +
-
- - - +
+
- -
- -
-
- -
设为默认收货地址 - +
+ + 设为默认收货地址 +
- -
+
-
-
-
+
- - + +
`; diff --git a/src/address-list/test/__snapshots__/demo.spec.js.snap b/src/address-list/test/__snapshots__/demo.spec.js.snap index 435851403..0cdeacd99 100644 --- a/src/address-list/test/__snapshots__/demo.spec.js.snap +++ b/src/address-list/test/__snapshots__/demo.spec.js.snap @@ -3,74 +3,99 @@ exports[`should render demo and match snapshot 1`] = `
- -
+
- -
- - - - - -
- -
-
-
- - -
- -
- - - - -
- -
-
-
以下地址超出配送范围
-
-
- - -
-
王五 1320000000 - + +
-
浙江省杭州市滨江区江南大道 15 号
-
- - - - -
- -
- -
-
+
+
+
+ +
+ + +
+
+
+
+ 以下地址超出配送范围 +
+
+
+
+
+ 王五 1320000000 +
+
+ 浙江省杭州市滨江区江南大道 15 号 +
+
+ + +
+
+
+ +
+
`; diff --git a/src/area/test/__snapshots__/demo.spec.js.snap b/src/area/test/__snapshots__/demo.spec.js.snap index bbaf02dc8..23a49d863 100644 --- a/src/area/test/__snapshots__/demo.spec.js.snap +++ b/src/area/test/__snapshots__/demo.spec.js.snap @@ -3,647 +3,1821 @@ exports[`should render demo and match snapshot 1`] = `
-
-
标题
+
+ +
+ 标题 +
+
- - -
+
-
    -
  • -
    北京市
    +
      +
    • +
      + 北京市 +
    • -
    • -
      天津市
      +
    • +
      + 天津市 +
    • -
    • -
      河北省
      +
    • +
      + 河北省 +
    • -
    • -
      山西省
      +
    • +
      + 山西省 +
    • -
    • -
      内蒙古自治区
      +
    • +
      + 内蒙古自治区 +
    • -
    • -
      辽宁省
      +
    • +
      + 辽宁省 +
    • -
    • -
      吉林省
      +
    • +
      + 吉林省 +
    • -
    • -
      黑龙江省
      +
    • +
      + 黑龙江省 +
    • -
    • -
      上海市
      +
    • +
      + 上海市 +
    • -
    • -
      江苏省
      +
    • +
      + 江苏省 +
    • -
    • -
      浙江省
      +
    • +
      + 浙江省 +
    • -
    • -
      安徽省
      +
    • +
      + 安徽省 +
    • -
    • -
      福建省
      +
    • +
      + 福建省 +
    • -
    • -
      江西省
      +
    • +
      + 江西省 +
    • -
    • -
      山东省
      +
    • +
      + 山东省 +
    • -
    • -
      河南省
      +
    • +
      + 河南省 +
    • -
    • -
      湖北省
      +
    • +
      + 湖北省 +
    • -
    • -
      湖南省
      +
    • +
      + 湖南省 +
    • -
    • -
      广东省
      +
    • +
      + 广东省 +
    • -
    • -
      广西壮族自治区
      +
    • +
      + 广西壮族自治区 +
    • -
    • -
      海南省
      +
    • +
      + 海南省 +
    • -
    • -
      重庆市
      +
    • +
      + 重庆市 +
    • -
    • -
      四川省
      +
    • +
      + 四川省 +
    • -
    • -
      贵州省
      +
    • +
      + 贵州省 +
    • -
    • -
      云南省
      +
    • +
      + 云南省 +
    • -
    • -
      西藏自治区
      +
    • +
      + 西藏自治区 +
    • -
    • -
      陕西省
      +
    • +
      + 陕西省 +
    • -
    • -
      甘肃省
      +
    • +
      + 甘肃省 +
    • -
    • -
      青海省
      +
    • +
      + 青海省 +
    • -
    • -
      宁夏回族自治区
      +
    • +
      + 宁夏回族自治区 +
    • -
    • -
      新疆维吾尔自治区
      +
    • +
      + 新疆维吾尔自治区 +
    • -
    • -
      台湾省
      +
    • +
      + 台湾省 +
    • -
    • -
      香港特别行政区
      +
    • +
      + 香港特别行政区 +
    • -
    • -
      澳门特别行政区
      +
    • +
      + 澳门特别行政区 +
    • -
    • -
      海外
      +
    • +
      + 海外 +
-
    -
  • -
    北京市
    +
      +
    • +
      + 北京市 +
-
    -
  • -
    东城区
    +
      +
    • +
      + 东城区 +
    • -
    • -
      西城区
      +
    • +
      + 西城区 +
    • -
    • -
      朝阳区
      +
    • +
      + 朝阳区 +
    • -
    • -
      丰台区
      +
    • +
      + 丰台区 +
    • -
    • -
      石景山区
      +
    • +
      + 石景山区 +
    • -
    • -
      海淀区
      +
    • +
      + 海淀区 +
    • -
    • -
      门头沟区
      +
    • +
      + 门头沟区 +
    • -
    • -
      房山区
      +
    • +
      + 房山区 +
    • -
    • -
      通州区
      +
    • +
      + 通州区 +
    • -
    • -
      顺义区
      +
    • +
      + 顺义区 +
    • -
    • -
      昌平区
      +
    • +
      + 昌平区 +
    • -
    • -
      大兴区
      +
    • +
      + 大兴区 +
    • -
    • -
      怀柔区
      +
    • +
      + 怀柔区 +
    • -
    • -
      平谷区
      +
    • +
      + 平谷区 +
    • -
    • -
      密云区
      +
    • +
      + 密云区 +
    • -
    • -
      延庆区
      +
    • +
      + 延庆区 +
-
-
+
+
+
+
- -
-
-
标题
+
+ +
+ 标题 +
+
- - -
+
-
    -
  • -
    北京市
    +
      +
    • +
      + 北京市 +
    • -
    • -
      天津市
      +
    • +
      + 天津市 +
    • -
    • -
      河北省
      +
    • +
      + 河北省 +
    • -
    • -
      山西省
      +
    • +
      + 山西省 +
    • -
    • -
      内蒙古自治区
      +
    • +
      + 内蒙古自治区 +
    • -
    • -
      辽宁省
      +
    • +
      + 辽宁省 +
    • -
    • -
      吉林省
      +
    • +
      + 吉林省 +
    • -
    • -
      黑龙江省
      +
    • +
      + 黑龙江省 +
    • -
    • -
      上海市
      +
    • +
      + 上海市 +
    • -
    • -
      江苏省
      +
    • +
      + 江苏省 +
    • -
    • -
      浙江省
      +
    • +
      + 浙江省 +
    • -
    • -
      安徽省
      +
    • +
      + 安徽省 +
    • -
    • -
      福建省
      +
    • +
      + 福建省 +
    • -
    • -
      江西省
      +
    • +
      + 江西省 +
    • -
    • -
      山东省
      +
    • +
      + 山东省 +
    • -
    • -
      河南省
      +
    • +
      + 河南省 +
    • -
    • -
      湖北省
      +
    • +
      + 湖北省 +
    • -
    • -
      湖南省
      +
    • +
      + 湖南省 +
    • -
    • -
      广东省
      +
    • +
      + 广东省 +
    • -
    • -
      广西壮族自治区
      +
    • +
      + 广西壮族自治区 +
    • -
    • -
      海南省
      +
    • +
      + 海南省 +
    • -
    • -
      重庆市
      +
    • +
      + 重庆市 +
    • -
    • -
      四川省
      +
    • +
      + 四川省 +
    • -
    • -
      贵州省
      +
    • +
      + 贵州省 +
    • -
    • -
      云南省
      +
    • +
      + 云南省 +
    • -
    • -
      西藏自治区
      +
    • +
      + 西藏自治区 +
    • -
    • -
      陕西省
      +
    • +
      + 陕西省 +
    • -
    • -
      甘肃省
      +
    • +
      + 甘肃省 +
    • -
    • -
      青海省
      +
    • +
      + 青海省 +
    • -
    • -
      宁夏回族自治区
      +
    • +
      + 宁夏回族自治区 +
    • -
    • -
      新疆维吾尔自治区
      +
    • +
      + 新疆维吾尔自治区 +
    • -
    • -
      台湾省
      +
    • +
      + 台湾省 +
    • -
    • -
      香港特别行政区
      +
    • +
      + 香港特别行政区 +
    • -
    • -
      澳门特别行政区
      +
    • +
      + 澳门特别行政区 +
    • -
    • -
      海外
      +
    • +
      + 海外 +
-
    -
  • -
    杭州市
    +
      +
    • +
      + 杭州市 +
    • -
    • -
      宁波市
      +
    • +
      + 宁波市 +
    • -
    • -
      温州市
      +
    • +
      + 温州市 +
    • -
    • -
      嘉兴市
      +
    • +
      + 嘉兴市 +
    • -
    • -
      湖州市
      +
    • +
      + 湖州市 +
    • -
    • -
      绍兴市
      +
    • +
      + 绍兴市 +
    • -
    • -
      金华市
      +
    • +
      + 金华市 +
    • -
    • -
      衢州市
      +
    • +
      + 衢州市 +
    • -
    • -
      舟山市
      +
    • +
      + 舟山市 +
    • -
    • -
      台州市
      +
    • +
      + 台州市 +
    • -
    • -
      丽水市
      +
    • +
      + 丽水市 +
-
    -
  • -
    鹿城区
    +
      +
    • +
      + 鹿城区 +
    • -
    • -
      龙湾区
      +
    • +
      + 龙湾区 +
    • -
    • -
      瓯海区
      +
    • +
      + 瓯海区 +
    • -
    • -
      洞头区
      +
    • +
      + 洞头区 +
    • -
    • -
      永嘉县
      +
    • +
      + 永嘉县 +
    • -
    • -
      平阳县
      +
    • +
      + 平阳县 +
    • -
    • -
      苍南县
      +
    • +
      + 苍南县 +
    • -
    • -
      文成县
      +
    • +
      + 文成县 +
    • -
    • -
      泰顺县
      +
    • +
      + 泰顺县 +
    • -
    • -
      瑞安市
      +
    • +
      + 瑞安市 +
    • -
    • -
      乐清市
      +
    • +
      + 乐清市 +
-
-
+
+
+
+
- -
-
-
标题
+
+ +
+ 标题 +
+
- - -
+
-
    -
  • -
    北京市
    +
      +
    • +
      + 北京市 +
    • -
    • -
      天津市
      +
    • +
      + 天津市 +
    • -
    • -
      河北省
      +
    • +
      + 河北省 +
    • -
    • -
      山西省
      +
    • +
      + 山西省 +
    • -
    • -
      内蒙古自治区
      +
    • +
      + 内蒙古自治区 +
    • -
    • -
      辽宁省
      +
    • +
      + 辽宁省 +
    • -
    • -
      吉林省
      +
    • +
      + 吉林省 +
    • -
    • -
      黑龙江省
      +
    • +
      + 黑龙江省 +
    • -
    • -
      上海市
      +
    • +
      + 上海市 +
    • -
    • -
      江苏省
      +
    • +
      + 江苏省 +
    • -
    • -
      浙江省
      +
    • +
      + 浙江省 +
    • -
    • -
      安徽省
      +
    • +
      + 安徽省 +
    • -
    • -
      福建省
      +
    • +
      + 福建省 +
    • -
    • -
      江西省
      +
    • +
      + 江西省 +
    • -
    • -
      山东省
      +
    • +
      + 山东省 +
    • -
    • -
      河南省
      +
    • +
      + 河南省 +
    • -
    • -
      湖北省
      +
    • +
      + 湖北省 +
    • -
    • -
      湖南省
      +
    • +
      + 湖南省 +
    • -
    • -
      广东省
      +
    • +
      + 广东省 +
    • -
    • -
      广西壮族自治区
      +
    • +
      + 广西壮族自治区 +
    • -
    • -
      海南省
      +
    • +
      + 海南省 +
    • -
    • -
      重庆市
      +
    • +
      + 重庆市 +
    • -
    • -
      四川省
      +
    • +
      + 四川省 +
    • -
    • -
      贵州省
      +
    • +
      + 贵州省 +
    • -
    • -
      云南省
      +
    • +
      + 云南省 +
    • -
    • -
      西藏自治区
      +
    • +
      + 西藏自治区 +
    • -
    • -
      陕西省
      +
    • +
      + 陕西省 +
    • -
    • -
      甘肃省
      +
    • +
      + 甘肃省 +
    • -
    • -
      青海省
      +
    • +
      + 青海省 +
    • -
    • -
      宁夏回族自治区
      +
    • +
      + 宁夏回族自治区 +
    • -
    • -
      新疆维吾尔自治区
      +
    • +
      + 新疆维吾尔自治区 +
    • -
    • -
      台湾省
      +
    • +
      + 台湾省 +
    • -
    • -
      香港特别行政区
      +
    • +
      + 香港特别行政区 +
    • -
    • -
      澳门特别行政区
      +
    • +
      + 澳门特别行政区 +
    • -
    • -
      海外
      +
    • +
      + 海外 +
-
    -
  • -
    北京市
    +
      +
    • +
      + 北京市 +
-
-
+
+
+
+
- -
-
-
标题
+
+ +
+ 标题 +
+
- - -
+
-
    -
  • -
    请选择
    +
      +
    • +
      + 请选择 +
    • -
    • -
      北京市
      +
    • +
      + 北京市 +
    • -
    • -
      天津市
      +
    • +
      + 天津市 +
    • -
    • -
      河北省
      +
    • +
      + 河北省 +
    • -
    • -
      山西省
      +
    • +
      + 山西省 +
    • -
    • -
      内蒙古自治区
      +
    • +
      + 内蒙古自治区 +
    • -
    • -
      辽宁省
      +
    • +
      + 辽宁省 +
    • -
    • -
      吉林省
      +
    • +
      + 吉林省 +
    • -
    • -
      黑龙江省
      +
    • +
      + 黑龙江省 +
    • -
    • -
      上海市
      +
    • +
      + 上海市 +
    • -
    • -
      江苏省
      +
    • +
      + 江苏省 +
    • -
    • -
      浙江省
      +
    • +
      + 浙江省 +
    • -
    • -
      安徽省
      +
    • +
      + 安徽省 +
    • -
    • -
      福建省
      +
    • +
      + 福建省 +
    • -
    • -
      江西省
      +
    • +
      + 江西省 +
    • -
    • -
      山东省
      +
    • +
      + 山东省 +
    • -
    • -
      河南省
      +
    • +
      + 河南省 +
    • -
    • -
      湖北省
      +
    • +
      + 湖北省 +
    • -
    • -
      湖南省
      +
    • +
      + 湖南省 +
    • -
    • -
      广东省
      +
    • +
      + 广东省 +
    • -
    • -
      广西壮族自治区
      +
    • +
      + 广西壮族自治区 +
    • -
    • -
      海南省
      +
    • +
      + 海南省 +
    • -
    • -
      重庆市
      +
    • +
      + 重庆市 +
    • -
    • -
      四川省
      +
    • +
      + 四川省 +
    • -
    • -
      贵州省
      +
    • +
      + 贵州省 +
    • -
    • -
      云南省
      +
    • +
      + 云南省 +
    • -
    • -
      西藏自治区
      +
    • +
      + 西藏自治区 +
    • -
    • -
      陕西省
      +
    • +
      + 陕西省 +
    • -
    • -
      甘肃省
      +
    • +
      + 甘肃省 +
    • -
    • -
      青海省
      +
    • +
      + 青海省 +
    • -
    • -
      宁夏回族自治区
      +
    • +
      + 宁夏回族自治区 +
    • -
    • -
      新疆维吾尔自治区
      +
    • +
      + 新疆维吾尔自治区 +
    • -
    • -
      台湾省
      +
    • +
      + 台湾省 +
    • -
    • -
      香港特别行政区
      +
    • +
      + 香港特别行政区 +
    • -
    • -
      澳门特别行政区
      +
    • +
      + 澳门特别行政区 +
    • -
    • -
      海外
      +
    • +
      + 海外 +
-
    +
      +
    -
      +
        +
      +
      +
      +
      +
      -
      -
      - -
      `; diff --git a/src/badge/test/__snapshots__/demo.spec.js.snap b/src/badge/test/__snapshots__/demo.spec.js.snap index 36c20cfe3..108c54e9b 100644 --- a/src/badge/test/__snapshots__/demo.spec.js.snap +++ b/src/badge/test/__snapshots__/demo.spec.js.snap @@ -3,39 +3,59 @@ exports[`should render demo and match snapshot 1`] = `
      -
      -
      5
      +
      +
      +
      + 5 +
      -
      +
      +
      -
      -
      -
      9+
      +
      +
      +
      + 9+ +
      -
      -
      99+
      -
      -
      -
      -
      -
      -
      5
      -
      -
      -
      -
      - +
      +
      +
      + 99+
      -
      99+
      +
      +
      +
      +
      + 5 +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      + 99+ +
      `; diff --git a/src/badge/test/__snapshots__/index.spec.js.snap b/src/badge/test/__snapshots__/index.spec.js.snap index 15d29acc9..261e7f64e 100644 --- a/src/badge/test/__snapshots__/index.spec.js.snap +++ b/src/badge/test/__snapshots__/index.spec.js.snap @@ -1,9 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`should render content slot correctly 1`] = `
      Custom Content
      `; +exports[`should render content slot correctly 1`] = ` +
      + Custom Content +
      +`; -exports[`should render nothing when badge is empty string 1`] = ``; +exports[`should render nothing when badge is empty string 1`] = ``; -exports[`should render nothing when badge is undefined 1`] = ``; +exports[`should render nothing when badge is undefined 1`] = ``; -exports[`should render nothing when badge is zero 1`] = ``; +exports[`should render nothing when badge is zero 1`] = ``; diff --git a/src/button/test/__snapshots__/demo.spec.js.snap b/src/button/test/__snapshots__/demo.spec.js.snap index d847cc8f1..05a4dbe62 100644 --- a/src/button/test/__snapshots__/demo.spec.js.snap +++ b/src/button/test/__snapshots__/demo.spec.js.snap @@ -2,175 +2,355 @@ exports[`should render demo and match snapshot 1`] = `
      -
      + +
      +
      + +
      -
      +
      -
      +
      +
      + +
      -
      +
      +
      + +
      -
      +
      +
      + + +
      -
      +
      +
      + +
      -
      -
      +
      +
      + + + +
      +
      +
      -
      +
      -
      + +
      -
      +
      +
      + +
      +
      + +
      + +
      +
      + + + +
      `; diff --git a/src/button/test/__snapshots__/index.spec.js.snap b/src/button/test/__snapshots__/index.spec.js.snap index f22181a7c..4d753b0a4 100644 --- a/src/button/test/__snapshots__/index.spec.js.snap +++ b/src/button/test/__snapshots__/index.spec.js.snap @@ -1,33 +1,33 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`should change icon class prefix when using icon-prefix prop 1`] = ` - `; exports[`should render icon in the right side when setting icon-position to right 1`] = ` -
      `; exports[`should render loading slot correctly 1`] = ` - `; diff --git a/src/calendar/test/__snapshots__/demo.spec.js.snap b/src/calendar/test/__snapshots__/demo.spec.js.snap index 5eabd022c..5188619bd 100644 --- a/src/calendar/test/__snapshots__/demo.spec.js.snap +++ b/src/calendar/test/__snapshots__/demo.spec.js.snap @@ -2,254 +2,311 @@ exports[`should render demo and match snapshot 1`] = `
      -
      - -
      选择单个日期 - +
      +
      + + 选择单个日期 +
      - - - - - + +
      -
      - -
      选择多个日期 - +
      +
      + + 选择多个日期 +
      - - - - - + +
      -
      - -
      选择日期区间 - +
      +
      + + 选择日期区间 +
      - - - - - + +
      -
      - -
      选择单个日期 - +
      +
      + + 选择单个日期 +
      - - - - - + +
      -
      - -
      选择日期区间 - +
      +
      + + 选择日期区间 +
      - - - - - + +
      -
      - -
      自定义颜色 - +
      +
      + + 自定义颜色 +
      - - - - - + +
      -
      - -
      自定义日期范围 - +
      +
      + + 自定义日期范围 +
      - - - - - + +
      -
      - -
      自定义按钮文字 - +
      +
      + + 自定义按钮文字 +
      - - - - - + +
      -
      - -
      自定义日期文案 - +
      +
      + + 自定义日期文案 +
      - - - - - + +
      -
      - -
      自定义弹出位置 - +
      +
      + + 自定义弹出位置 +
      - - - - - + +
      -
      - -
      日期区间最大范围 - +
      +
      + + 日期区间最大范围 +
      - - - - - + +
      -
      - -
      自定义周起始日 - +
      +
      + + 自定义周起始日 +
      - - - - - + +
      -
      +
      -
      日历
      -
      -
      +
      + 日历 +
      +
      +
      +
      + + 日 + + + 一 + + + 二 + + + 三 + + + 四 + + + 五 + + + 六 + +
      - -
      - -
      - - - +
      +
      -
      - - - +
      -
      - - - +
      -
      - - - +
      -
      - - - +
      -
      2012年2月
      -
      - -
      - - - +
      + 2012年2月 +
      +
      +
      -
      - - - +
      -
      - - - +
      -
      - - - +
      -
      - - - +
      -
      2012年3月
      -
      - -
      - - - +
      + 2012年3月 +
      +
      +
      -
      - - - +
      -
      - - - +
      -
      - - - +
      -
      - - - +
      - - `; diff --git a/src/card/test/__snapshots__/demo.spec.js.snap b/src/card/test/__snapshots__/demo.spec.js.snap index 9e03c521f..e681024e1 100644 --- a/src/card/test/__snapshots__/demo.spec.js.snap +++ b/src/card/test/__snapshots__/demo.spec.js.snap @@ -3,114 +3,192 @@ exports[`should render demo and match snapshot 1`] = `
      -
      -
      -
      - - -
      - +
      + +
      + +
      + + +
      -
      -
      商品名称
      -
      描述信息
      - +
      + 商品名称 +
      +
      + 描述信息 +
      -
      -
      ¥2.00
      +
      + + ¥ + + + 2 + + . + + 00 + +
      +
      +
      + x2
      - -
      x2
      -
      -
      -
      -
      -
      - - -
      - +
      + +
      + +
      + + +
      - 标签 + + + 标签 + +
      -
      商品名称
      -
      描述信息
      - +
      + 商品名称 +
      +
      + 描述信息 +
      -
      -
      ¥2.00
      +
      + + ¥ + + + 2 + + . + + 00 + +
      +
      +
      + ¥ 10.00 +
      +
      + x2
      -
      ¥ 10.00
      -
      x2
      -
      -
      -
      -
      -
      - - -
      - +
      + +
      + +
      + + +
      -
      -
      商品名称
      -
      描述信息
      +
      + 商品名称 +
      +
      + 描述信息 +
      - 标签 - 标签 + + + 标签 + + + + + 标签 + +
      -
      -
      ¥2.00
      +
      + + ¥ + + + 2 + + . + + 00 + +
      +
      +
      + x2
      - -
      x2
      -
      diff --git a/src/card/test/__snapshots__/index.spec.js.snap b/src/card/test/__snapshots__/index.spec.js.snap index 7a91b2435..399eca13f 100644 --- a/src/card/test/__snapshots__/index.spec.js.snap +++ b/src/card/test/__snapshots__/index.spec.js.snap @@ -2,119 +2,95 @@ exports[`render thumb and tag slot correctly 1`] = `
      - `; exports[`should render bottom slot correctly 1`] = `
      -
      - - -
      - - - - Custom Bottom
      + Custom Bottom +
      -
      `; exports[`should render origin-price slot correctly 1`] = `
      -
      - - -
      - - -
      Custom Origin Price
      - - +
      + Custom Origin Price +
      -
      `; exports[`should render price and num slot correctly 1`] = `
      -
      - - -
      - -
      Custom Price
      - -
      Custom Num
      - +
      + Custom Price +
      +
      + Custom Num +
      -
      `; exports[`should render price and price-top slot correctly 1`] = `
      -
      - - -
      -
      Custom Price-top
      Custom Price
      - - - +
      + Custom Price-top +
      + Custom Price +
      -
      `; exports[`should render title and desc slot correctly 1`] = `
      -
      -
      Custom TitleCustom desc - +
      + Custom TitleCustom desc
      -
      -
      `; diff --git a/src/cell-group/test/__snapshots__/index.spec.js.snap b/src/cell-group/test/__snapshots__/index.spec.js.snap index e27c1aa9a..8bf050ceb 100644 --- a/src/cell-group/test/__snapshots__/index.spec.js.snap +++ b/src/cell-group/test/__snapshots__/index.spec.js.snap @@ -1,8 +1,9 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`should render title slot correctly 1`] = ` -
      Custom Title
      +
      + Custom Title +
      -
      `; diff --git a/src/cell/test/__snapshots__/demo.spec.js.snap b/src/cell/test/__snapshots__/demo.spec.js.snap index 49a94d16d..3a7b62c9b 100644 --- a/src/cell/test/__snapshots__/demo.spec.js.snap +++ b/src/cell/test/__snapshots__/demo.spec.js.snap @@ -4,188 +4,248 @@ exports[`should render demo and match snapshot 1`] = `
      - -
      单元格 - +
      + + 单元格 + +
      +
      + + 内容 +
      -
      内容
      - -
      - -
      单元格 -
      描述信息
      +
      + + 单元格 + +
      + 描述信息 +
      +
      +
      + + 内容 +
      -
      内容
      - -
      - -
      单元格 - +
      + + 单元格 + +
      +
      + + 内容 +
      -
      内容
      - -
      - -
      单元格 -
      描述信息
      +
      + + 单元格 + +
      + 描述信息 +
      -
      内容
      - - -
      -
      -
      -
      - - - -
      单元格 - +
      + + 内容 +
      -
      内容
      - -
      - - -
      内容
      - - + + +
      + + 单元格 + +
      +
      + + 内容 + +
      -
      - -
      单元格 - +
      +
      + + 内容 +
      - - - - - -
      -
      - -
      单元格 - -
      -
      内容
      - - - - -
      -
      - -
      单元格 - -
      -
      内容
      - - - -
      -
      - -
      URL 跳转 - +
      +
      + + 单元格 +
      - - - - - + +
      -
      - -
      路由跳转 - +
      +
      + + 单元格 +
      - - - - - +
      + + 内容 + +
      + + +
      +
      +
      + + 单元格 + +
      +
      + + 内容 + +
      + +
      -
      分组 1
      +
      +
      + + URL 跳转 + +
      + + +
      +
      +
      + + 路由跳转 + +
      + + +
      +
      +
      +
      + 分组 1 +
      - -
      单元格 - +
      + + 单元格 + +
      +
      + + 内容 +
      -
      内容
      - -
      -
      分组 2
      +
      + 分组 2 +
      - -
      单元格 - +
      + + 单元格 + +
      +
      + + 内容 +
      -
      内容
      - -
      -
      - -
      单元格 - 标签 - +
      +
      + + 单元格 + + + + 标签 + +
      -
      内容
      - - - - +
      + + 内容 + +
      + +
      -
      - - - -
      单元格 - +
      + + +
      + + 单元格 +
      - - - - - + +
      - -
      单元格 -
      描述信息
      +
      + + 单元格 + +
      + 描述信息 +
      +
      +
      + + 内容 +
      -
      内容
      - -
      `; diff --git a/src/cell/test/__snapshots__/index.spec.js.snap b/src/cell/test/__snapshots__/index.spec.js.snap index 66b492848..6e7aa44ee 100644 --- a/src/cell/test/__snapshots__/index.spec.js.snap +++ b/src/cell/test/__snapshots__/index.spec.js.snap @@ -2,70 +2,53 @@ exports[`should change arrow direction when using arrow-direction prop 1`] = ` - - - + `; exports[`should change icon class prefix when using icon-prefix prop 1`] = ` -
      - - - - - - - +
      + +
      `; exports[`should render default slot correctly 1`] = `
      - - -
      Custom Default
      - - +
      + Custom Default +
      `; exports[`should render extra slot correctly 1`] = `
      - - - - Custom Extra
      + Custom Extra +
      `; exports[`should render icon slot correctly 1`] = ` -
      Custom Icon - - - - +
      + Custom Icon
      `; exports[`should render label slot correctly 1`] = `
      - -
      Title -
      Custom Label
      +
      + + Title + +
      + Custom Label +
      - - -
      `; exports[`should render title slot correctly 1`] = `
      - -
      Custom Title - +
      + Custom Title
      - - -
      `; diff --git a/src/checkbox/test/__snapshots__/demo.spec.js.snap b/src/checkbox/test/__snapshots__/demo.spec.js.snap index 755ccbf91..fe91bfbde 100644 --- a/src/checkbox/test/__snapshots__/demo.spec.js.snap +++ b/src/checkbox/test/__snapshots__/demo.spec.js.snap @@ -2,183 +2,354 @@ exports[`should render demo and match snapshot 1`] = `
      -
      -