@arco-design/mobile-react 2.30.1 → 2.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.en-US.md +2 -2
  3. package/README.md +2 -2
  4. package/cjs/nav-bar/back-icon.js +20 -10
  5. package/cjs/picker-view/components/picker-cell.js +1 -1
  6. package/cjs/picker-view/index.js +1 -1
  7. package/dist/index.js +21 -12
  8. package/dist/index.min.js +3 -3
  9. package/dist/style.css +3 -0
  10. package/dist/style.min.css +1 -1
  11. package/esm/nav-bar/back-icon.js +18 -10
  12. package/esm/picker-view/components/picker-cell.js +1 -1
  13. package/esm/picker-view/index.js +1 -1
  14. package/package.json +3 -3
  15. package/style/css/public.css +2 -0
  16. package/umd/nav-bar/back-icon.js +20 -14
  17. package/umd/picker-view/components/picker-cell.js +1 -1
  18. package/umd/picker-view/index.js +1 -1
  19. package/cjs/action-sheet/demo/style/css/mobile.css +0 -523
  20. package/cjs/action-sheet/demo/style/mobile.less +0 -52
  21. package/cjs/avatar/demo/style/css/mobile.css +0 -578
  22. package/cjs/avatar/demo/style/mobile.less +0 -96
  23. package/cjs/badge/demo/style/css/mobile.css +0 -580
  24. package/cjs/badge/demo/style/mobile.less +0 -107
  25. package/cjs/button/demo/style/css/mobile.css +0 -530
  26. package/cjs/button/demo/style/mobile.less +0 -44
  27. package/cjs/carousel/demo/style/css/mobile.css +0 -553
  28. package/cjs/carousel/demo/style/mobile.less +0 -70
  29. package/cjs/cell/demo/style/css/mobile.css +0 -585
  30. package/cjs/cell/demo/style/mobile.less +0 -102
  31. package/cjs/checkbox/demo/style/css/mobile.css +0 -520
  32. package/cjs/checkbox/demo/style/mobile.less +0 -45
  33. package/cjs/circle-progress/demo/style/css/mobile.css +0 -516
  34. package/cjs/circle-progress/demo/style/mobile.less +0 -34
  35. package/cjs/collapse/demo/style/css/mobile.css +0 -516
  36. package/cjs/collapse/demo/style/mobile.less +0 -33
  37. package/cjs/context-provider/demo/style/css/mobile.css +0 -520
  38. package/cjs/context-provider/demo/style/mobile.less +0 -37
  39. package/cjs/count-down/demo/style/css/mobile.css +0 -575
  40. package/cjs/count-down/demo/style/mobile.less +0 -96
  41. package/cjs/date-picker/demo/style/css/mobile.css +0 -520
  42. package/cjs/date-picker/demo/style/mobile.less +0 -37
  43. package/cjs/dialog/demo/style/css/mobile.css +0 -548
  44. package/cjs/dialog/demo/style/mobile.less +0 -80
  45. package/cjs/divider/demo/style/css/mobile.css +0 -516
  46. package/cjs/divider/demo/style/mobile.less +0 -36
  47. package/cjs/dropdown/demo/style/css/mobile.css +0 -515
  48. package/cjs/dropdown/demo/style/mobile.less +0 -32
  49. package/cjs/dropdown-menu/demo/style/css/mobile.css +0 -516
  50. package/cjs/dropdown-menu/demo/style/mobile.less +0 -33
  51. package/cjs/ellipsis/demo/style/css/mobile.css +0 -528
  52. package/cjs/ellipsis/demo/style/mobile.less +0 -53
  53. package/cjs/grid/demo/style/css/mobile.css +0 -613
  54. package/cjs/grid/demo/style/mobile.less +0 -157
  55. package/cjs/image/demo/style/css/mobile.css +0 -580
  56. package/cjs/image/demo/style/mobile.less +0 -86
  57. package/cjs/image-picker/demo/style/css/mobile.css +0 -550
  58. package/cjs/image-picker/demo/style/mobile.less +0 -67
  59. package/cjs/image-preview/demo/style/css/mobile.css +0 -551
  60. package/cjs/image-preview/demo/style/mobile.less +0 -61
  61. package/cjs/index-bar/demo/style/css/mobile.css +0 -533
  62. package/cjs/index-bar/demo/style/mobile.less +0 -51
  63. package/cjs/input/demo/style/css/mobile.css +0 -602
  64. package/cjs/input/demo/style/mobile.less +0 -132
  65. package/cjs/keyboard/demo/style/css/mobile.css +0 -520
  66. package/cjs/keyboard/demo/style/mobile.less +0 -42
  67. package/cjs/load-more/demo/style/css/mobile.css +0 -520
  68. package/cjs/load-more/demo/style/mobile.less +0 -39
  69. package/cjs/loading/demo/style/css/mobile.css +0 -529
  70. package/cjs/loading/demo/style/mobile.less +0 -48
  71. package/cjs/masking/demo/style/css/mobile.css +0 -535
  72. package/cjs/masking/demo/style/mobile.less +0 -56
  73. package/cjs/nav-bar/demo/style/css/mobile.css +0 -523
  74. package/cjs/nav-bar/demo/style/mobile.less +0 -46
  75. package/cjs/notice-bar/demo/style/css/mobile.css +0 -4
  76. package/cjs/notice-bar/demo/style/mobile.less +0 -6
  77. package/cjs/notify/demo/style/css/mobile.css +0 -545
  78. package/cjs/notify/demo/style/mobile.less +0 -60
  79. package/cjs/pagination/demo/style/css/index.css +0 -516
  80. package/cjs/pagination/demo/style/index.less +0 -35
  81. package/cjs/picker/demo/style/css/mobile.css +0 -531
  82. package/cjs/picker/demo/style/mobile.less +0 -49
  83. package/cjs/picker-view/demo/style/css/mobile.css +0 -513
  84. package/cjs/picker-view/demo/style/mobile.less +0 -32
  85. package/cjs/popover/demo/style/css/mobile.css +0 -649
  86. package/cjs/popover/demo/style/mobile.less +0 -135
  87. package/cjs/popup/demo/style/css/mobile.css +0 -540
  88. package/cjs/popup/demo/style/mobile.less +0 -66
  89. package/cjs/popup-swiper/demo/style/css/mobile.css +0 -540
  90. package/cjs/popup-swiper/demo/style/mobile.less +0 -66
  91. package/cjs/portal/demo/style/css/mobile.css +0 -527
  92. package/cjs/portal/demo/style/mobile.less +0 -48
  93. package/cjs/progress/demo/style/css/mobile.css +0 -520
  94. package/cjs/progress/demo/style/mobile.less +0 -39
  95. package/cjs/pull-refresh/demo/style/css/mobile.css +0 -554
  96. package/cjs/pull-refresh/demo/style/mobile.less +0 -83
  97. package/cjs/radio/demo/style/css/mobile.css +0 -529
  98. package/cjs/radio/demo/style/mobile.less +0 -54
  99. package/cjs/rate/demo/style/css/mobile.css +0 -514
  100. package/cjs/rate/demo/style/mobile.less +0 -33
  101. package/cjs/search-bar/demo/style/css/mobile.css +0 -520
  102. package/cjs/search-bar/demo/style/mobile.less +0 -43
  103. package/cjs/show-monitor/demo/style/css/mobile.css +0 -569
  104. package/cjs/show-monitor/demo/style/mobile.less +0 -90
  105. package/cjs/skeleton/demo/style/css/mobile.css +0 -517
  106. package/cjs/skeleton/demo/style/mobile.less +0 -38
  107. package/cjs/slider/demo/style/css/mobile.css +0 -529
  108. package/cjs/slider/demo/style/mobile.less +0 -60
  109. package/cjs/stepper/demo/style/css/mobile.css +0 -514
  110. package/cjs/stepper/demo/style/mobile.less +0 -34
  111. package/cjs/steps/demo/style/css/mobile.css +0 -611
  112. package/cjs/steps/demo/style/mobile.less +0 -75
  113. package/cjs/sticky/demo/style/css/mobile.css +0 -527
  114. package/cjs/sticky/demo/style/mobile.less +0 -48
  115. package/cjs/swipe-action/demo/style/css/mobile.css +0 -515
  116. package/cjs/swipe-action/demo/style/mobile.less +0 -34
  117. package/cjs/swipe-load/demo/style/css/mobile.css +0 -580
  118. package/cjs/swipe-load/demo/style/mobile.less +0 -116
  119. package/cjs/switch/demo/style/css/mobile.css +0 -524
  120. package/cjs/switch/demo/style/mobile.less +0 -49
  121. package/cjs/tab-bar/demo/style/css/mobile.css +0 -553
  122. package/cjs/tab-bar/demo/style/mobile.less +0 -59
  123. package/cjs/tabs/demo/style/css/mobile.css +0 -633
  124. package/cjs/tabs/demo/style/mobile.less +0 -174
  125. package/cjs/tag/demo/style/css/mobile.css +0 -516
  126. package/cjs/tag/demo/style/mobile.less +0 -33
  127. package/cjs/textarea/demo/style/css/mobile.css +0 -523
  128. package/cjs/textarea/demo/style/mobile.less +0 -47
  129. package/cjs/toast/demo/style/css/mobile.css +0 -520
  130. package/cjs/toast/demo/style/mobile.less +0 -37
  131. package/cjs/transition/demo/style/css/mobile.css +0 -529
  132. package/cjs/transition/demo/style/mobile.less +0 -47
  133. package/esm/action-sheet/demo/style/css/mobile.css +0 -523
  134. package/esm/action-sheet/demo/style/mobile.less +0 -52
  135. package/esm/avatar/demo/style/css/mobile.css +0 -578
  136. package/esm/avatar/demo/style/mobile.less +0 -96
  137. package/esm/badge/demo/style/css/mobile.css +0 -580
  138. package/esm/badge/demo/style/mobile.less +0 -107
  139. package/esm/button/demo/style/css/mobile.css +0 -530
  140. package/esm/button/demo/style/mobile.less +0 -44
  141. package/esm/carousel/demo/style/css/mobile.css +0 -553
  142. package/esm/carousel/demo/style/mobile.less +0 -70
  143. package/esm/cell/demo/style/css/mobile.css +0 -585
  144. package/esm/cell/demo/style/mobile.less +0 -102
  145. package/esm/checkbox/demo/style/css/mobile.css +0 -520
  146. package/esm/checkbox/demo/style/mobile.less +0 -45
  147. package/esm/circle-progress/demo/style/css/mobile.css +0 -516
  148. package/esm/circle-progress/demo/style/mobile.less +0 -34
  149. package/esm/collapse/demo/style/css/mobile.css +0 -516
  150. package/esm/collapse/demo/style/mobile.less +0 -33
  151. package/esm/context-provider/demo/style/css/mobile.css +0 -520
  152. package/esm/context-provider/demo/style/mobile.less +0 -37
  153. package/esm/count-down/demo/style/css/mobile.css +0 -575
  154. package/esm/count-down/demo/style/mobile.less +0 -96
  155. package/esm/date-picker/demo/style/css/mobile.css +0 -520
  156. package/esm/date-picker/demo/style/mobile.less +0 -37
  157. package/esm/dialog/demo/style/css/mobile.css +0 -548
  158. package/esm/dialog/demo/style/mobile.less +0 -80
  159. package/esm/divider/demo/style/css/mobile.css +0 -516
  160. package/esm/divider/demo/style/mobile.less +0 -36
  161. package/esm/dropdown/demo/style/css/mobile.css +0 -515
  162. package/esm/dropdown/demo/style/mobile.less +0 -32
  163. package/esm/dropdown-menu/demo/style/css/mobile.css +0 -516
  164. package/esm/dropdown-menu/demo/style/mobile.less +0 -33
  165. package/esm/ellipsis/demo/style/css/mobile.css +0 -528
  166. package/esm/ellipsis/demo/style/mobile.less +0 -53
  167. package/esm/grid/demo/style/css/mobile.css +0 -613
  168. package/esm/grid/demo/style/mobile.less +0 -157
  169. package/esm/image/demo/style/css/mobile.css +0 -580
  170. package/esm/image/demo/style/mobile.less +0 -86
  171. package/esm/image-picker/demo/style/css/mobile.css +0 -550
  172. package/esm/image-picker/demo/style/mobile.less +0 -67
  173. package/esm/image-preview/demo/style/css/mobile.css +0 -551
  174. package/esm/image-preview/demo/style/mobile.less +0 -61
  175. package/esm/index-bar/demo/style/css/mobile.css +0 -533
  176. package/esm/index-bar/demo/style/mobile.less +0 -51
  177. package/esm/input/demo/style/css/mobile.css +0 -602
  178. package/esm/input/demo/style/mobile.less +0 -132
  179. package/esm/keyboard/demo/style/css/mobile.css +0 -520
  180. package/esm/keyboard/demo/style/mobile.less +0 -42
  181. package/esm/load-more/demo/style/css/mobile.css +0 -520
  182. package/esm/load-more/demo/style/mobile.less +0 -39
  183. package/esm/loading/demo/style/css/mobile.css +0 -529
  184. package/esm/loading/demo/style/mobile.less +0 -48
  185. package/esm/masking/demo/style/css/mobile.css +0 -535
  186. package/esm/masking/demo/style/mobile.less +0 -56
  187. package/esm/nav-bar/demo/style/css/mobile.css +0 -523
  188. package/esm/nav-bar/demo/style/mobile.less +0 -46
  189. package/esm/notice-bar/demo/style/css/mobile.css +0 -4
  190. package/esm/notice-bar/demo/style/mobile.less +0 -6
  191. package/esm/notify/demo/style/css/mobile.css +0 -545
  192. package/esm/notify/demo/style/mobile.less +0 -60
  193. package/esm/pagination/demo/style/css/index.css +0 -516
  194. package/esm/pagination/demo/style/index.less +0 -35
  195. package/esm/picker/demo/style/css/mobile.css +0 -531
  196. package/esm/picker/demo/style/mobile.less +0 -49
  197. package/esm/picker-view/demo/style/css/mobile.css +0 -513
  198. package/esm/picker-view/demo/style/mobile.less +0 -32
  199. package/esm/popover/demo/style/css/mobile.css +0 -649
  200. package/esm/popover/demo/style/mobile.less +0 -135
  201. package/esm/popup/demo/style/css/mobile.css +0 -540
  202. package/esm/popup/demo/style/mobile.less +0 -66
  203. package/esm/popup-swiper/demo/style/css/mobile.css +0 -540
  204. package/esm/popup-swiper/demo/style/mobile.less +0 -66
  205. package/esm/portal/demo/style/css/mobile.css +0 -527
  206. package/esm/portal/demo/style/mobile.less +0 -48
  207. package/esm/progress/demo/style/css/mobile.css +0 -520
  208. package/esm/progress/demo/style/mobile.less +0 -39
  209. package/esm/pull-refresh/demo/style/css/mobile.css +0 -554
  210. package/esm/pull-refresh/demo/style/mobile.less +0 -83
  211. package/esm/radio/demo/style/css/mobile.css +0 -529
  212. package/esm/radio/demo/style/mobile.less +0 -54
  213. package/esm/rate/demo/style/css/mobile.css +0 -514
  214. package/esm/rate/demo/style/mobile.less +0 -33
  215. package/esm/search-bar/demo/style/css/mobile.css +0 -520
  216. package/esm/search-bar/demo/style/mobile.less +0 -43
  217. package/esm/show-monitor/demo/style/css/mobile.css +0 -569
  218. package/esm/show-monitor/demo/style/mobile.less +0 -90
  219. package/esm/skeleton/demo/style/css/mobile.css +0 -517
  220. package/esm/skeleton/demo/style/mobile.less +0 -38
  221. package/esm/slider/demo/style/css/mobile.css +0 -529
  222. package/esm/slider/demo/style/mobile.less +0 -60
  223. package/esm/stepper/demo/style/css/mobile.css +0 -514
  224. package/esm/stepper/demo/style/mobile.less +0 -34
  225. package/esm/steps/demo/style/css/mobile.css +0 -611
  226. package/esm/steps/demo/style/mobile.less +0 -75
  227. package/esm/sticky/demo/style/css/mobile.css +0 -527
  228. package/esm/sticky/demo/style/mobile.less +0 -48
  229. package/esm/swipe-action/demo/style/css/mobile.css +0 -515
  230. package/esm/swipe-action/demo/style/mobile.less +0 -34
  231. package/esm/swipe-load/demo/style/css/mobile.css +0 -580
  232. package/esm/swipe-load/demo/style/mobile.less +0 -116
  233. package/esm/switch/demo/style/css/mobile.css +0 -524
  234. package/esm/switch/demo/style/mobile.less +0 -49
  235. package/esm/tab-bar/demo/style/css/mobile.css +0 -553
  236. package/esm/tab-bar/demo/style/mobile.less +0 -59
  237. package/esm/tabs/demo/style/css/mobile.css +0 -633
  238. package/esm/tabs/demo/style/mobile.less +0 -174
  239. package/esm/tag/demo/style/css/mobile.css +0 -516
  240. package/esm/tag/demo/style/mobile.less +0 -33
  241. package/esm/textarea/demo/style/css/mobile.css +0 -523
  242. package/esm/textarea/demo/style/mobile.less +0 -47
  243. package/esm/toast/demo/style/css/mobile.css +0 -520
  244. package/esm/toast/demo/style/mobile.less +0 -37
  245. package/esm/transition/demo/style/css/mobile.css +0 -529
  246. package/esm/transition/demo/style/mobile.less +0 -47
  247. package/umd/action-sheet/demo/style/css/mobile.css +0 -523
  248. package/umd/action-sheet/demo/style/mobile.less +0 -52
  249. package/umd/avatar/demo/style/css/mobile.css +0 -578
  250. package/umd/avatar/demo/style/mobile.less +0 -96
  251. package/umd/badge/demo/style/css/mobile.css +0 -580
  252. package/umd/badge/demo/style/mobile.less +0 -107
  253. package/umd/button/demo/style/css/mobile.css +0 -530
  254. package/umd/button/demo/style/mobile.less +0 -44
  255. package/umd/carousel/demo/style/css/mobile.css +0 -553
  256. package/umd/carousel/demo/style/mobile.less +0 -70
  257. package/umd/cell/demo/style/css/mobile.css +0 -585
  258. package/umd/cell/demo/style/mobile.less +0 -102
  259. package/umd/checkbox/demo/style/css/mobile.css +0 -520
  260. package/umd/checkbox/demo/style/mobile.less +0 -45
  261. package/umd/circle-progress/demo/style/css/mobile.css +0 -516
  262. package/umd/circle-progress/demo/style/mobile.less +0 -34
  263. package/umd/collapse/demo/style/css/mobile.css +0 -516
  264. package/umd/collapse/demo/style/mobile.less +0 -33
  265. package/umd/context-provider/demo/style/css/mobile.css +0 -520
  266. package/umd/context-provider/demo/style/mobile.less +0 -37
  267. package/umd/count-down/demo/style/css/mobile.css +0 -575
  268. package/umd/count-down/demo/style/mobile.less +0 -96
  269. package/umd/date-picker/demo/style/css/mobile.css +0 -520
  270. package/umd/date-picker/demo/style/mobile.less +0 -37
  271. package/umd/dialog/demo/style/css/mobile.css +0 -548
  272. package/umd/dialog/demo/style/mobile.less +0 -80
  273. package/umd/divider/demo/style/css/mobile.css +0 -516
  274. package/umd/divider/demo/style/mobile.less +0 -36
  275. package/umd/dropdown/demo/style/css/mobile.css +0 -515
  276. package/umd/dropdown/demo/style/mobile.less +0 -32
  277. package/umd/dropdown-menu/demo/style/css/mobile.css +0 -516
  278. package/umd/dropdown-menu/demo/style/mobile.less +0 -33
  279. package/umd/ellipsis/demo/style/css/mobile.css +0 -528
  280. package/umd/ellipsis/demo/style/mobile.less +0 -53
  281. package/umd/grid/demo/style/css/mobile.css +0 -613
  282. package/umd/grid/demo/style/mobile.less +0 -157
  283. package/umd/image/demo/style/css/mobile.css +0 -580
  284. package/umd/image/demo/style/mobile.less +0 -86
  285. package/umd/image-picker/demo/style/css/mobile.css +0 -550
  286. package/umd/image-picker/demo/style/mobile.less +0 -67
  287. package/umd/image-preview/demo/style/css/mobile.css +0 -551
  288. package/umd/image-preview/demo/style/mobile.less +0 -61
  289. package/umd/index-bar/demo/style/css/mobile.css +0 -533
  290. package/umd/index-bar/demo/style/mobile.less +0 -51
  291. package/umd/input/demo/style/css/mobile.css +0 -602
  292. package/umd/input/demo/style/mobile.less +0 -132
  293. package/umd/keyboard/demo/style/css/mobile.css +0 -520
  294. package/umd/keyboard/demo/style/mobile.less +0 -42
  295. package/umd/load-more/demo/style/css/mobile.css +0 -520
  296. package/umd/load-more/demo/style/mobile.less +0 -39
  297. package/umd/loading/demo/style/css/mobile.css +0 -529
  298. package/umd/loading/demo/style/mobile.less +0 -48
  299. package/umd/masking/demo/style/css/mobile.css +0 -535
  300. package/umd/masking/demo/style/mobile.less +0 -56
  301. package/umd/nav-bar/demo/style/css/mobile.css +0 -523
  302. package/umd/nav-bar/demo/style/mobile.less +0 -46
  303. package/umd/notice-bar/demo/style/css/mobile.css +0 -4
  304. package/umd/notice-bar/demo/style/mobile.less +0 -6
  305. package/umd/notify/demo/style/css/mobile.css +0 -545
  306. package/umd/notify/demo/style/mobile.less +0 -60
  307. package/umd/pagination/demo/style/css/index.css +0 -516
  308. package/umd/pagination/demo/style/index.less +0 -35
  309. package/umd/picker/demo/style/css/mobile.css +0 -531
  310. package/umd/picker/demo/style/mobile.less +0 -49
  311. package/umd/picker-view/demo/style/css/mobile.css +0 -513
  312. package/umd/picker-view/demo/style/mobile.less +0 -32
  313. package/umd/popover/demo/style/css/mobile.css +0 -649
  314. package/umd/popover/demo/style/mobile.less +0 -135
  315. package/umd/popup/demo/style/css/mobile.css +0 -540
  316. package/umd/popup/demo/style/mobile.less +0 -66
  317. package/umd/popup-swiper/demo/style/css/mobile.css +0 -540
  318. package/umd/popup-swiper/demo/style/mobile.less +0 -66
  319. package/umd/portal/demo/style/css/mobile.css +0 -527
  320. package/umd/portal/demo/style/mobile.less +0 -48
  321. package/umd/progress/demo/style/css/mobile.css +0 -520
  322. package/umd/progress/demo/style/mobile.less +0 -39
  323. package/umd/pull-refresh/demo/style/css/mobile.css +0 -554
  324. package/umd/pull-refresh/demo/style/mobile.less +0 -83
  325. package/umd/radio/demo/style/css/mobile.css +0 -529
  326. package/umd/radio/demo/style/mobile.less +0 -54
  327. package/umd/rate/demo/style/css/mobile.css +0 -514
  328. package/umd/rate/demo/style/mobile.less +0 -33
  329. package/umd/search-bar/demo/style/css/mobile.css +0 -520
  330. package/umd/search-bar/demo/style/mobile.less +0 -43
  331. package/umd/show-monitor/demo/style/css/mobile.css +0 -569
  332. package/umd/show-monitor/demo/style/mobile.less +0 -90
  333. package/umd/skeleton/demo/style/css/mobile.css +0 -517
  334. package/umd/skeleton/demo/style/mobile.less +0 -38
  335. package/umd/slider/demo/style/css/mobile.css +0 -529
  336. package/umd/slider/demo/style/mobile.less +0 -60
  337. package/umd/stepper/demo/style/css/mobile.css +0 -514
  338. package/umd/stepper/demo/style/mobile.less +0 -34
  339. package/umd/steps/demo/style/css/mobile.css +0 -611
  340. package/umd/steps/demo/style/mobile.less +0 -75
  341. package/umd/sticky/demo/style/css/mobile.css +0 -527
  342. package/umd/sticky/demo/style/mobile.less +0 -48
  343. package/umd/swipe-action/demo/style/css/mobile.css +0 -515
  344. package/umd/swipe-action/demo/style/mobile.less +0 -34
  345. package/umd/swipe-load/demo/style/css/mobile.css +0 -580
  346. package/umd/swipe-load/demo/style/mobile.less +0 -116
  347. package/umd/switch/demo/style/css/mobile.css +0 -524
  348. package/umd/switch/demo/style/mobile.less +0 -49
  349. package/umd/tab-bar/demo/style/css/mobile.css +0 -553
  350. package/umd/tab-bar/demo/style/mobile.less +0 -59
  351. package/umd/tabs/demo/style/css/mobile.css +0 -633
  352. package/umd/tabs/demo/style/mobile.less +0 -174
  353. package/umd/tag/demo/style/css/mobile.css +0 -516
  354. package/umd/tag/demo/style/mobile.less +0 -33
  355. package/umd/textarea/demo/style/css/mobile.css +0 -523
  356. package/umd/textarea/demo/style/mobile.less +0 -47
  357. package/umd/toast/demo/style/css/mobile.css +0 -520
  358. package/umd/toast/demo/style/mobile.less +0 -37
  359. package/umd/transition/demo/style/css/mobile.css +0 -529
  360. package/umd/transition/demo/style/mobile.less +0 -47
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.30.2](https://github.com/arco-design/arco-design-mobile/compare/@arco-design/mobile-react@2.30.1...@arco-design/mobile-react@2.30.2) (2023-11-09)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * `NavBar` add aria-label to back arrow ([#196](https://github.com/arco-design/arco-design-mobile/issues/196)) ([ad97b65](https://github.com/arco-design/arco-design-mobile/commit/ad97b652d142a4d2331fbc4699c7d15d61153e50))
12
+ * `Picker` fix the issue that value=0 cannot be selected ([#199](https://github.com/arco-design/arco-design-mobile/issues/199)) ([acb97ac](https://github.com/arco-design/arco-design-mobile/commit/acb97ac158995cea86f99755e6d0d60b166717fd))
13
+
14
+
15
+
16
+
17
+
6
18
  ## [2.30.1](https://github.com/arco-design/arco-design-mobile/compare/@arco-design/mobile-react@2.30.0...@arco-design/mobile-react@2.30.1) (2023-11-07)
7
19
 
8
20
 
package/README.en-US.md CHANGED
@@ -59,8 +59,8 @@ React & ReactDOM: **<a href="https://reactjs.org/docs/cdn-links.html" target="_b
59
59
  React Transition Group: **<a href="https://reactcommunity.org/react-transition-group/" target="_blank">Click here</a>**
60
60
 
61
61
  ```
62
- <link ref="stylesheet" href="https://unpkg.com/@arco-design/mobile-react@2.30.0/dist/style.min.css">
63
- <script src="https://unpkg.com/@arco-design/mobile-react@2.30.0/dist/index.min.js"></script>
62
+ <link ref="stylesheet" href="https://unpkg.com/@arco-design/mobile-react@2.30.1/dist/style.min.css">
63
+ <script src="https://unpkg.com/@arco-design/mobile-react@2.30.1/dist/index.min.js"></script>
64
64
  ```
65
65
 
66
66
  ## Full import
package/README.md CHANGED
@@ -59,8 +59,8 @@ React & ReactDOM: **<a href="https://reactjs.org/docs/cdn-links.html" target="
59
59
  React Transition Group: **<a href="https://reactcommunity.org/react-transition-group/" target="_blank">戳这里获取</a>**
60
60
 
61
61
  ```
62
- <link ref="stylesheet" href="https://unpkg.com/@arco-design/mobile-react@2.30.0/dist/style.min.css">
63
- <script src="https://unpkg.com/@arco-design/mobile-react@2.30.0/dist/index.min.js"></script>
62
+ <link ref="stylesheet" href="https://unpkg.com/@arco-design/mobile-react@2.30.1/dist/style.min.css">
63
+ <script src="https://unpkg.com/@arco-design/mobile-react@2.30.1/dist/index.min.js"></script>
64
64
  ```
65
65
 
66
66
  ## 引入全部
@@ -7,19 +7,29 @@ exports.default = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
+ var _mobileUtils = require("@arco-design/mobile-utils");
11
+
12
+ var _contextProvider = require("../context-provider");
13
+
10
14
  function BackArrow(_ref) {
11
15
  var _ref$color = _ref.color,
12
16
  color = _ref$color === void 0 ? 'currentColor' : _ref$color;
13
- return /*#__PURE__*/_react.default.createElement("div", {
14
- className: "c-svg-arrow nav-bar-back"
15
- }, /*#__PURE__*/_react.default.createElement("svg", {
16
- height: "100%",
17
- viewBox: "0 0 16 16"
18
- }, /*#__PURE__*/_react.default.createElement("path", {
19
- id: "path-1_1_",
20
- d: "M2.1,8l5.4,5.4c0.1,0.1,0.1,0.3,0,0.5L7,14.4c-0.1,0.1-0.3,0.1-0.5,0L0.7,8.5c-0.3-0.3-0.3-0.7,0-0.9 l5.9-5.9c0.1-0.1,0.3-0.1,0.5,0l0.5,0.5c0.1,0.1,0.1,0.3,0,0.5L2.1,8z",
21
- fill: color
22
- })));
17
+ return /*#__PURE__*/_react.default.createElement(_contextProvider.ContextLayout, null, function (_ref2) {
18
+ var _ref2$locale = _ref2.locale,
19
+ locale = _ref2$locale === void 0 ? _mobileUtils.defaultLocale : _ref2$locale;
20
+ return /*#__PURE__*/_react.default.createElement("div", {
21
+ role: "button",
22
+ className: "c-svg-arrow nav-bar-back",
23
+ "aria-label": locale.NavBar.backBtnAriaLabel
24
+ }, /*#__PURE__*/_react.default.createElement("svg", {
25
+ height: "100%",
26
+ viewBox: "0 0 16 16"
27
+ }, /*#__PURE__*/_react.default.createElement("path", {
28
+ id: "path-1_1_",
29
+ d: "M2.1,8l5.4,5.4c0.1,0.1,0.1,0.3,0,0.5L7,14.4c-0.1,0.1-0.3,0.1-0.5,0L0.7,8.5c-0.3-0.3-0.3-0.7,0-0.9 l5.9-5.9c0.1-0.1,0.3-0.1,0.5,0l0.5,0.5c0.1,0.1,0.1,0.3,0,0.5L2.1,8z",
30
+ fill: color
31
+ })));
32
+ });
23
33
  }
24
34
 
25
35
  var _default = BackArrow;
@@ -301,7 +301,7 @@ var PickerCell = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
301
301
  function getCurrentCellValue() {
302
302
  var _data$currentIndex;
303
303
 
304
- return currentValue || ((_data$currentIndex = data[currentIndex]) == null ? void 0 : _data$currentIndex.value);
304
+ return (_data$currentIndex = data[currentIndex]) == null ? void 0 : _data$currentIndex.value;
305
305
  }
306
306
 
307
307
  function _clearTimer() {
@@ -131,7 +131,7 @@ var PickerView = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
131
131
  // @en Remove empty values from cascader
132
132
 
133
133
  return curValues.filter(function (v) {
134
- return v;
134
+ return v !== undefined;
135
135
  });
136
136
  };
137
137
 
package/dist/index.js CHANGED
@@ -1715,6 +1715,9 @@
1715
1715
  boolean: {
1716
1716
  equal: '%s 不等于 `%s`'
1717
1717
  }
1718
+ },
1719
+ NavBar: {
1720
+ backBtnAriaLabel: '返回'
1718
1721
  }
1719
1722
  };
1720
1723
 
@@ -12457,7 +12460,7 @@
12457
12460
  function getCurrentCellValue() {
12458
12461
  var _a;
12459
12462
 
12460
- return currentValue || ((_a = data[currentIndex]) === null || _a === void 0 ? void 0 : _a.value);
12463
+ return (_a = data[currentIndex]) === null || _a === void 0 ? void 0 : _a.value;
12461
12464
  }
12462
12465
 
12463
12466
  function _clearTimer() {
@@ -12754,7 +12757,7 @@
12754
12757
  // @en Remove empty values from cascader
12755
12758
 
12756
12759
  return curValues.filter(function (v) {
12757
- return v;
12760
+ return v !== undefined;
12758
12761
  });
12759
12762
  };
12760
12763
 
@@ -22974,16 +22977,22 @@
22974
22977
  function BackArrow(_a) {
22975
22978
  var _b = _a.color,
22976
22979
  color = _b === void 0 ? 'currentColor' : _b;
22977
- return /*#__PURE__*/React__default["default"].createElement("div", {
22978
- className: "c-svg-arrow nav-bar-back"
22979
- }, /*#__PURE__*/React__default["default"].createElement("svg", {
22980
- height: "100%",
22981
- viewBox: "0 0 16 16"
22982
- }, /*#__PURE__*/React__default["default"].createElement("path", {
22983
- id: "path-1_1_",
22984
- d: "M2.1,8l5.4,5.4c0.1,0.1,0.1,0.3,0,0.5L7,14.4c-0.1,0.1-0.3,0.1-0.5,0L0.7,8.5c-0.3-0.3-0.3-0.7,0-0.9\n l5.9-5.9c0.1-0.1,0.3-0.1,0.5,0l0.5,0.5c0.1,0.1,0.1,0.3,0,0.5L2.1,8z",
22985
- fill: color
22986
- })));
22980
+ return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
22981
+ var _b = _a.locale,
22982
+ locale = _b === void 0 ? defaultLocale : _b;
22983
+ return /*#__PURE__*/React__default["default"].createElement("div", {
22984
+ role: "button",
22985
+ className: "c-svg-arrow nav-bar-back",
22986
+ "aria-label": locale.NavBar.backBtnAriaLabel
22987
+ }, /*#__PURE__*/React__default["default"].createElement("svg", {
22988
+ height: "100%",
22989
+ viewBox: "0 0 16 16"
22990
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
22991
+ id: "path-1_1_",
22992
+ d: "M2.1,8l5.4,5.4c0.1,0.1,0.1,0.3,0,0.5L7,14.4c-0.1,0.1-0.3,0.1-0.5,0L0.7,8.5c-0.3-0.3-0.3-0.7,0-0.9\n l5.9-5.9c0.1-0.1,0.3-0.1,0.5,0l0.5,0.5c0.1,0.1,0.1,0.3,0,0.5L2.1,8z",
22993
+ fill: color
22994
+ })));
22995
+ });
22987
22996
  }
22988
22997
 
22989
22998
  /**