taro-ui 3.3.1 → 3.3.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 (413) hide show
  1. package/lib/common/component.d.ts +10 -0
  2. package/lib/common/component.js +27 -28
  3. package/lib/common/component.js.map +1 -1
  4. package/lib/common/utils.d.ts +41 -0
  5. package/lib/common/utils.js +169 -192
  6. package/lib/common/utils.js.map +1 -1
  7. package/lib/components/accordion/index.d.ts +14 -0
  8. package/lib/components/accordion/index.js +111 -106
  9. package/lib/components/accordion/index.js.map +1 -1
  10. package/lib/components/action-sheet/body/index.d.ts +5 -0
  11. package/lib/components/action-sheet/body/index.js +11 -8
  12. package/lib/components/action-sheet/body/index.js.map +1 -1
  13. package/lib/components/action-sheet/body/item/index.d.ts +9 -0
  14. package/lib/components/action-sheet/body/item/index.js +21 -18
  15. package/lib/components/action-sheet/body/item/index.js.map +1 -1
  16. package/lib/components/action-sheet/footer/index.d.ts +9 -0
  17. package/lib/components/action-sheet/footer/index.js +24 -18
  18. package/lib/components/action-sheet/footer/index.js.map +1 -1
  19. package/lib/components/action-sheet/header/index.d.ts +5 -0
  20. package/lib/components/action-sheet/header/index.js +14 -8
  21. package/lib/components/action-sheet/header/index.js.map +1 -1
  22. package/lib/components/action-sheet/index.d.ts +14 -0
  23. package/lib/components/action-sheet/index.js +69 -64
  24. package/lib/components/action-sheet/index.js.map +1 -1
  25. package/lib/components/activity-indicator/index.d.ts +8 -0
  26. package/lib/components/activity-indicator/index.js +33 -29
  27. package/lib/components/activity-indicator/index.js.map +1 -1
  28. package/lib/components/avatar/index.d.ts +9 -0
  29. package/lib/components/avatar/index.js +58 -55
  30. package/lib/components/avatar/index.js.map +1 -1
  31. package/lib/components/badge/index.d.ts +10 -0
  32. package/lib/components/badge/index.js +44 -35
  33. package/lib/components/badge/index.js.map +1 -1
  34. package/lib/components/button/index.d.ts +15 -0
  35. package/lib/components/button/index.js +165 -113
  36. package/lib/components/button/index.js.map +1 -1
  37. package/lib/components/calendar/body/index.d.ts +26 -0
  38. package/lib/components/calendar/body/index.js +279 -183
  39. package/lib/components/calendar/body/index.js.map +1 -1
  40. package/lib/components/calendar/common/constant.d.ts +3 -0
  41. package/lib/components/calendar/common/constant.js +8 -3
  42. package/lib/components/calendar/common/constant.js.map +1 -1
  43. package/lib/components/calendar/common/helper.d.ts +4 -0
  44. package/lib/components/calendar/common/helper.js +77 -76
  45. package/lib/components/calendar/common/helper.js.map +1 -1
  46. package/lib/components/calendar/common/plugins.d.ts +11 -0
  47. package/lib/components/calendar/common/plugins.js +50 -66
  48. package/lib/components/calendar/common/plugins.js.map +1 -1
  49. package/lib/components/calendar/controller/index.d.ts +5 -0
  50. package/lib/components/calendar/controller/index.js +49 -28
  51. package/lib/components/calendar/controller/index.js.map +1 -1
  52. package/lib/components/calendar/index.d.ts +20 -0
  53. package/lib/components/calendar/index.js +233 -196
  54. package/lib/components/calendar/index.js.map +1 -1
  55. package/lib/components/calendar/ui/date-list/index.d.ts +12 -0
  56. package/lib/components/calendar/ui/date-list/index.js +50 -39
  57. package/lib/components/calendar/ui/date-list/index.js.map +1 -1
  58. package/lib/components/calendar/ui/day-list/index.d.ts +4 -0
  59. package/lib/components/calendar/ui/day-list/index.js +9 -14
  60. package/lib/components/calendar/ui/day-list/index.js.map +1 -1
  61. package/lib/components/card/index.d.ts +9 -0
  62. package/lib/components/card/index.js +73 -52
  63. package/lib/components/card/index.js.map +1 -1
  64. package/lib/components/checkbox/index.d.ts +9 -0
  65. package/lib/components/checkbox/index.js +52 -48
  66. package/lib/components/checkbox/index.js.map +1 -1
  67. package/lib/components/countdown/index.d.ts +20 -0
  68. package/lib/components/countdown/index.js +140 -125
  69. package/lib/components/countdown/index.js.map +1 -1
  70. package/lib/components/countdown/item/index.d.ts +9 -0
  71. package/lib/components/countdown/item/index.js +18 -18
  72. package/lib/components/countdown/item/index.js.map +1 -1
  73. package/lib/components/curtain/index.d.ts +10 -0
  74. package/lib/components/curtain/index.js +56 -39
  75. package/lib/components/curtain/index.js.map +1 -1
  76. package/lib/components/divider/index.d.ts +8 -0
  77. package/lib/components/divider/index.js +51 -34
  78. package/lib/components/divider/index.js.map +1 -1
  79. package/lib/components/drawer/index.d.ts +16 -0
  80. package/lib/components/drawer/index.js +106 -85
  81. package/lib/components/drawer/index.js.map +1 -1
  82. package/lib/components/fab/index.d.ts +9 -0
  83. package/lib/components/fab/index.js +22 -19
  84. package/lib/components/fab/index.js.map +1 -1
  85. package/lib/components/flex/index.d.ts +7 -0
  86. package/lib/components/flex/index.js +37 -34
  87. package/lib/components/flex/index.js.map +1 -1
  88. package/lib/components/flex/item/index.d.ts +7 -0
  89. package/lib/components/flex/item/index.js +30 -27
  90. package/lib/components/flex/item/index.js.map +1 -1
  91. package/lib/components/float-layout/index.d.ts +13 -0
  92. package/lib/components/float-layout/index.js +96 -68
  93. package/lib/components/float-layout/index.js.map +1 -1
  94. package/lib/components/form/index.d.ts +10 -0
  95. package/lib/components/form/index.js +37 -24
  96. package/lib/components/form/index.js.map +1 -1
  97. package/lib/components/grid/index.d.ts +9 -0
  98. package/lib/components/grid/index.js +92 -62
  99. package/lib/components/grid/index.js.map +1 -1
  100. package/lib/components/icon/index.d.ts +9 -0
  101. package/lib/components/icon/index.js +48 -31
  102. package/lib/components/icon/index.js.map +1 -1
  103. package/lib/components/image-picker/index.d.ts +11 -0
  104. package/lib/components/image-picker/index.js +152 -126
  105. package/lib/components/image-picker/index.js.map +1 -1
  106. package/lib/components/indexes/index.d.ts +29 -0
  107. package/lib/components/indexes/index.js +255 -198
  108. package/lib/components/indexes/index.js.map +1 -1
  109. package/lib/components/input/index.d.ts +17 -0
  110. package/lib/components/input/index.js +224 -160
  111. package/lib/components/input/index.js.map +1 -1
  112. package/lib/components/input-number/index.d.ts +13 -0
  113. package/lib/components/input-number/index.js +180 -152
  114. package/lib/components/input-number/index.js.map +1 -1
  115. package/lib/components/list/index.d.ts +8 -0
  116. package/lib/components/list/index.js +20 -13
  117. package/lib/components/list/index.js.map +1 -1
  118. package/lib/components/list/item/index.d.ts +11 -0
  119. package/lib/components/list/item/index.js +146 -99
  120. package/lib/components/list/item/index.js.map +1 -1
  121. package/lib/components/load-more/index.d.ts +9 -0
  122. package/lib/components/load-more/index.js +65 -41
  123. package/lib/components/load-more/index.js.map +1 -1
  124. package/lib/components/loading/index.d.ts +12 -0
  125. package/lib/components/loading/index.js +26 -26
  126. package/lib/components/loading/index.js.map +1 -1
  127. package/lib/components/message/index.d.ts +15 -0
  128. package/lib/components/message/index.js +72 -63
  129. package/lib/components/message/index.js.map +1 -1
  130. package/lib/components/modal/action/index.d.ts +8 -0
  131. package/lib/components/modal/action/index.js +20 -14
  132. package/lib/components/modal/action/index.js.map +1 -1
  133. package/lib/components/modal/content/index.d.ts +5 -0
  134. package/lib/components/modal/content/index.js +11 -8
  135. package/lib/components/modal/content/index.js.map +1 -1
  136. package/lib/components/modal/header/index.d.ts +5 -0
  137. package/lib/components/modal/header/index.js +11 -8
  138. package/lib/components/modal/header/index.js.map +1 -1
  139. package/lib/components/modal/index.d.ts +15 -0
  140. package/lib/components/modal/index.js +96 -87
  141. package/lib/components/modal/index.js.map +1 -1
  142. package/lib/components/nav-bar/index.d.ts +12 -0
  143. package/lib/components/nav-bar/index.js +210 -98
  144. package/lib/components/nav-bar/index.js.map +1 -1
  145. package/lib/components/noticebar/index.d.ts +16 -0
  146. package/lib/components/noticebar/index.js +177 -154
  147. package/lib/components/noticebar/index.js.map +1 -1
  148. package/lib/components/pagination/index.d.ts +12 -0
  149. package/lib/components/pagination/index.js +133 -102
  150. package/lib/components/pagination/index.js.map +1 -1
  151. package/lib/components/progress/index.d.ts +7 -0
  152. package/lib/components/progress/index.js +48 -40
  153. package/lib/components/progress/index.js.map +1 -1
  154. package/lib/components/radio/index.d.ts +9 -0
  155. package/lib/components/radio/index.js +48 -37
  156. package/lib/components/radio/index.js.map +1 -1
  157. package/lib/components/range/index.d.ts +22 -0
  158. package/lib/components/range/index.js +197 -142
  159. package/lib/components/range/index.js.map +1 -1
  160. package/lib/components/rate/index.d.ts +9 -0
  161. package/lib/components/rate/index.js +74 -48
  162. package/lib/components/rate/index.js.map +1 -1
  163. package/lib/components/search-bar/index.d.ts +16 -0
  164. package/lib/components/search-bar/index.js +167 -112
  165. package/lib/components/search-bar/index.js.map +1 -1
  166. package/lib/components/segmented-control/index.d.ts +9 -0
  167. package/lib/components/segmented-control/index.js +78 -53
  168. package/lib/components/segmented-control/index.js.map +1 -1
  169. package/lib/components/slider/index.d.ts +13 -0
  170. package/lib/components/slider/index.js +107 -69
  171. package/lib/components/slider/index.js.map +1 -1
  172. package/lib/components/steps/index.d.ts +9 -0
  173. package/lib/components/steps/index.js +61 -44
  174. package/lib/components/steps/index.js.map +1 -1
  175. package/lib/components/swipe-action/index.d.ts +27 -0
  176. package/lib/components/swipe-action/index.js +206 -157
  177. package/lib/components/swipe-action/index.js.map +1 -1
  178. package/lib/components/swipe-action/options/index.d.ts +5 -0
  179. package/lib/components/swipe-action/options/index.js +22 -8
  180. package/lib/components/swipe-action/options/index.js.map +1 -1
  181. package/lib/components/switch/index.d.ts +9 -0
  182. package/lib/components/switch/index.js +53 -42
  183. package/lib/components/switch/index.js.map +1 -1
  184. package/lib/components/tab-bar/index.d.ts +9 -0
  185. package/lib/components/tab-bar/index.js +164 -90
  186. package/lib/components/tab-bar/index.js.map +1 -1
  187. package/lib/components/tabs/index.d.ts +24 -0
  188. package/lib/components/tabs/index.js +203 -174
  189. package/lib/components/tabs/index.js.map +1 -1
  190. package/lib/components/tabs-pane/index.d.ts +8 -0
  191. package/lib/components/tabs-pane/index.js +37 -24
  192. package/lib/components/tabs-pane/index.js.map +1 -1
  193. package/lib/components/tag/index.d.ts +9 -0
  194. package/lib/components/tag/index.js +64 -44
  195. package/lib/components/tag/index.js.map +1 -1
  196. package/lib/components/textarea/index.d.ts +13 -0
  197. package/lib/components/textarea/index.js +132 -86
  198. package/lib/components/textarea/index.js.map +1 -1
  199. package/lib/components/timeline/index.d.ts +8 -0
  200. package/lib/components/timeline/index.js +70 -47
  201. package/lib/components/timeline/index.js.map +1 -1
  202. package/lib/components/toast/img.json +6 -3
  203. package/lib/components/toast/index.d.ts +16 -0
  204. package/lib/components/toast/index.js +111 -104
  205. package/lib/components/toast/index.js.map +1 -1
  206. package/lib/index.d.ts +53 -0
  207. package/lib/index.js +108 -54
  208. package/lib/index.js.map +1 -1
  209. package/{dist → lib}/style/components/grid.scss +2 -2
  210. package/lib/style/components/index.scss +52 -0
  211. package/{dist → lib}/style/components/list.scss +2 -2
  212. package/lib/style/index.css +11754 -0
  213. package/lib/style/index.css.map +1 -0
  214. package/lib/style/mixins/index.scss +18 -0
  215. package/{dist → lib}/style/mixins/libs/shade.scss +4 -2
  216. package/{dist → lib}/style/mixins/libs/tint.scss +4 -2
  217. package/{dist → lib}/style/variables/default.scss +1 -1
  218. package/package.json +24 -32
  219. package/rn/components/action-sheet/index.tsx +8 -14
  220. package/rn/components/calendar/ui/date-list/index.tsx +1 -1
  221. package/rn/components/drawer/index.tsx +15 -15
  222. package/rn/components/float-layout/index.tsx +3 -2
  223. package/rn/components/input/index.tsx +14 -7
  224. package/rn/components/input-number/index.tsx +19 -19
  225. package/rn/components/message/index.tsx +1 -1
  226. package/rn/components/swipe-action/index.rn.tsx +4 -2
  227. package/rn/components/swipe-action/index.tsx +6 -5
  228. package/rn/components/tab-bar/index.tsx +1 -1
  229. package/rn/components/tabs/index.tsx +14 -14
  230. package/rn/components/textarea/index.tsx +2 -2
  231. package/dist/index.esm.js +0 -8506
  232. package/dist/index.esm.js.map +0 -1
  233. package/dist/index.js +0 -8567
  234. package/dist/index.js.map +0 -1
  235. package/dist/style/components/accordion.rn.scss +0 -79
  236. package/dist/style/components/action-sheet.rn.scss +0 -80
  237. package/dist/style/components/activity-indicator.rn.scss +0 -30
  238. package/dist/style/components/article.rn.scss +0 -59
  239. package/dist/style/components/avatar.rn.scss +0 -46
  240. package/dist/style/components/badge.rn.scss +0 -52
  241. package/dist/style/components/button.rn.scss +0 -80
  242. package/dist/style/components/calendar.rn.scss +0 -182
  243. package/dist/style/components/card.rn.scss +0 -88
  244. package/dist/style/components/checkbox.rn.scss +0 -108
  245. package/dist/style/components/countdown.rn.scss +0 -82
  246. package/dist/style/components/curtain.rn.scss +0 -129
  247. package/dist/style/components/divider.rn.scss +0 -33
  248. package/dist/style/components/drawer.rn.scss +0 -72
  249. package/dist/style/components/fab.rn.scss +0 -38
  250. package/dist/style/components/flex.rn.scss +0 -159
  251. package/dist/style/components/float-layout.rn.scss +0 -119
  252. package/dist/style/components/form.rn.scss +0 -12
  253. package/dist/style/components/grid.rn.scss +0 -104
  254. package/dist/style/components/icon.rn.scss +0 -221
  255. package/dist/style/components/image-picker.rn.scss +0 -108
  256. package/dist/style/components/index.rn.scss +0 -51
  257. package/dist/style/components/index.scss +0 -52
  258. package/dist/style/components/indexes.rn.scss +0 -53
  259. package/dist/style/components/input-number.rn.scss +0 -82
  260. package/dist/style/components/input.rn.scss +0 -149
  261. package/dist/style/components/list.rn.scss +0 -107
  262. package/dist/style/components/load-more.rn.scss +0 -28
  263. package/dist/style/components/loading.rn.scss +0 -45
  264. package/dist/style/components/message.rn.scss +0 -57
  265. package/dist/style/components/modal.rn.scss +0 -136
  266. package/dist/style/components/nav-bar.rn.scss +0 -123
  267. package/dist/style/components/noticebar.rn.scss +0 -111
  268. package/dist/style/components/pagination.rn.scss +0 -43
  269. package/dist/style/components/progress.rn.scss +0 -105
  270. package/dist/style/components/radio.rn.scss +0 -94
  271. package/dist/style/components/range.rn.scss +0 -52
  272. package/dist/style/components/rate.rn.scss +0 -48
  273. package/dist/style/components/search-bar.rn.scss +0 -134
  274. package/dist/style/components/segmented-control.rn.scss +0 -44
  275. package/dist/style/components/slider.rn.scss +0 -33
  276. package/dist/style/components/steps.rn.scss +0 -131
  277. package/dist/style/components/swipe-action.rn.scss +0 -53
  278. package/dist/style/components/switch.rn.scss +0 -61
  279. package/dist/style/components/tab-bar.rn.scss +0 -74
  280. package/dist/style/components/tabs.rn.scss +0 -205
  281. package/dist/style/components/tag.rn.scss +0 -74
  282. package/dist/style/components/textarea.rn.scss +0 -57
  283. package/dist/style/components/timeline.rn.scss +0 -89
  284. package/dist/style/components/toast.rn.scss +0 -112
  285. package/dist/style/index.rn.scss +0 -14
  286. package/dist/style/mixins/index.rn.scss +0 -18
  287. package/dist/style/mixins/index.scss +0 -18
  288. package/dist/style/mixins/libs/absolute-center.rn.scss +0 -9
  289. package/dist/style/mixins/libs/active.rn.scss +0 -10
  290. package/dist/style/mixins/libs/alignhack.rn.scss +0 -11
  291. package/dist/style/mixins/libs/border.rn.scss +0 -48
  292. package/dist/style/mixins/libs/clearfix.rn.scss +0 -21
  293. package/dist/style/mixins/libs/disabled.rn.scss +0 -6
  294. package/dist/style/mixins/libs/flex.rn.scss +0 -49
  295. package/dist/style/mixins/libs/hairline.rn.scss +0 -209
  296. package/dist/style/mixins/libs/line.rn.scss +0 -14
  297. package/dist/style/mixins/libs/overlay.rn.scss +0 -11
  298. package/dist/style/mixins/libs/placeholder.rn.scss +0 -12
  299. package/dist/style/mixins/libs/shade.rn.scss +0 -23
  300. package/dist/style/mixins/libs/tint.rn.scss +0 -23
  301. package/dist/style/themes/purple.rn.scss +0 -44
  302. package/dist/style/themes/red.rn.scss +0 -45
  303. package/dist/style/variables/default.rn.scss +0 -461
  304. package/types/accordion.d.ts +0 -49
  305. package/types/action-sheet.d.ts +0 -55
  306. package/types/activity-indicator.d.ts +0 -33
  307. package/types/avatar.d.ts +0 -39
  308. package/types/badge.d.ts +0 -24
  309. package/types/base.d.ts +0 -26
  310. package/types/button.d.ts +0 -70
  311. package/types/calendar.d.ts +0 -225
  312. package/types/card.d.ts +0 -48
  313. package/types/checkbox.d.ts +0 -24
  314. package/types/countdown.d.ts +0 -95
  315. package/types/curtain.d.ts +0 -26
  316. package/types/divider.d.ts +0 -33
  317. package/types/drawer.d.ts +0 -48
  318. package/types/fab.d.ts +0 -21
  319. package/types/flex.d.ts +0 -27
  320. package/types/float-button.d.ts +0 -26
  321. package/types/float-layout.d.ts +0 -73
  322. package/types/form.d.ts +0 -26
  323. package/types/grid.d.ts +0 -51
  324. package/types/icon.d.ts +0 -12
  325. package/types/image-picker.d.ts +0 -73
  326. package/types/index.d.ts +0 -55
  327. package/types/indexes.d.ts +0 -76
  328. package/types/input-number.d.ts +0 -89
  329. package/types/input.d.ts +0 -162
  330. package/types/list.d.ts +0 -84
  331. package/types/load-more.d.ts +0 -43
  332. package/types/message.d.ts +0 -43
  333. package/types/modal.d.ts +0 -62
  334. package/types/nav-bar.d.ts +0 -65
  335. package/types/noticebar.d.ts +0 -65
  336. package/types/pagination.d.ts +0 -51
  337. package/types/progress.d.ts +0 -30
  338. package/types/radio.d.ts +0 -47
  339. package/types/range.d.ts +0 -63
  340. package/types/rate.d.ts +0 -34
  341. package/types/search-bar.d.ts +0 -105
  342. package/types/segmented-control.d.ts +0 -44
  343. package/types/slider.d.ts +0 -73
  344. package/types/steps.d.ts +0 -69
  345. package/types/swipe-action.d.ts +0 -86
  346. package/types/switch.d.ts +0 -38
  347. package/types/tab-bar.d.ts +0 -98
  348. package/types/tabs-pane.d.ts +0 -25
  349. package/types/tabs.d.ts +0 -62
  350. package/types/tag.d.ts +0 -48
  351. package/types/textarea.d.ts +0 -113
  352. package/types/timeline.d.ts +0 -46
  353. package/types/toast.d.ts +0 -53
  354. /package/{dist → lib}/style/components/accordion.scss +0 -0
  355. /package/{dist → lib}/style/components/action-sheet.scss +0 -0
  356. /package/{dist → lib}/style/components/activity-indicator.scss +0 -0
  357. /package/{dist → lib}/style/components/article.scss +0 -0
  358. /package/{dist → lib}/style/components/avatar.scss +0 -0
  359. /package/{dist → lib}/style/components/badge.scss +0 -0
  360. /package/{dist → lib}/style/components/button.scss +0 -0
  361. /package/{dist → lib}/style/components/calendar.scss +0 -0
  362. /package/{dist → lib}/style/components/card.scss +0 -0
  363. /package/{dist → lib}/style/components/checkbox.scss +0 -0
  364. /package/{dist → lib}/style/components/countdown.scss +0 -0
  365. /package/{dist → lib}/style/components/curtain.scss +0 -0
  366. /package/{dist → lib}/style/components/divider.scss +0 -0
  367. /package/{dist → lib}/style/components/drawer.scss +0 -0
  368. /package/{dist → lib}/style/components/fab.scss +0 -0
  369. /package/{dist → lib}/style/components/flex.scss +0 -0
  370. /package/{dist → lib}/style/components/float-layout.scss +0 -0
  371. /package/{dist → lib}/style/components/form.scss +0 -0
  372. /package/{dist → lib}/style/components/icon.scss +0 -0
  373. /package/{dist → lib}/style/components/image-picker.scss +0 -0
  374. /package/{dist → lib}/style/components/indexes.scss +0 -0
  375. /package/{dist → lib}/style/components/input-number.scss +0 -0
  376. /package/{dist → lib}/style/components/input.scss +0 -0
  377. /package/{dist → lib}/style/components/load-more.scss +0 -0
  378. /package/{dist → lib}/style/components/loading.scss +0 -0
  379. /package/{dist → lib}/style/components/message.scss +0 -0
  380. /package/{dist → lib}/style/components/modal.scss +0 -0
  381. /package/{dist → lib}/style/components/nav-bar.scss +0 -0
  382. /package/{dist → lib}/style/components/noticebar.scss +0 -0
  383. /package/{dist → lib}/style/components/pagination.scss +0 -0
  384. /package/{dist → lib}/style/components/progress.scss +0 -0
  385. /package/{dist → lib}/style/components/radio.scss +0 -0
  386. /package/{dist → lib}/style/components/range.scss +0 -0
  387. /package/{dist → lib}/style/components/rate.scss +0 -0
  388. /package/{dist → lib}/style/components/search-bar.scss +0 -0
  389. /package/{dist → lib}/style/components/segmented-control.scss +0 -0
  390. /package/{dist → lib}/style/components/slider.scss +0 -0
  391. /package/{dist → lib}/style/components/steps.scss +0 -0
  392. /package/{dist → lib}/style/components/swipe-action.scss +0 -0
  393. /package/{dist → lib}/style/components/switch.scss +0 -0
  394. /package/{dist → lib}/style/components/tab-bar.scss +0 -0
  395. /package/{dist → lib}/style/components/tabs.scss +0 -0
  396. /package/{dist → lib}/style/components/tag.scss +0 -0
  397. /package/{dist → lib}/style/components/textarea.scss +0 -0
  398. /package/{dist → lib}/style/components/timeline.scss +0 -0
  399. /package/{dist → lib}/style/components/toast.scss +0 -0
  400. /package/{dist → lib}/style/index.scss +0 -0
  401. /package/{dist → lib}/style/mixins/libs/absolute-center.scss +0 -0
  402. /package/{dist → lib}/style/mixins/libs/active.scss +0 -0
  403. /package/{dist → lib}/style/mixins/libs/alignhack.scss +0 -0
  404. /package/{dist → lib}/style/mixins/libs/border.scss +0 -0
  405. /package/{dist → lib}/style/mixins/libs/clearfix.scss +0 -0
  406. /package/{dist → lib}/style/mixins/libs/disabled.scss +0 -0
  407. /package/{dist → lib}/style/mixins/libs/flex.scss +0 -0
  408. /package/{dist → lib}/style/mixins/libs/hairline.scss +0 -0
  409. /package/{dist → lib}/style/mixins/libs/line.scss +0 -0
  410. /package/{dist → lib}/style/mixins/libs/overlay.scss +0 -0
  411. /package/{dist → lib}/style/mixins/libs/placeholder.scss +0 -0
  412. /package/{dist → lib}/style/themes/purple.scss +0 -0
  413. /package/{dist → lib}/style/themes/red.scss +0 -0
@@ -1,123 +0,0 @@
1
- @import '../variables/default.scss';
2
- @import '../mixins/index.scss';
3
-
4
- $at-nav-bar-spacing-v: 9PX;
5
- $at-nav-bar-spacing-h: 5PX;
6
- $at-nav-bar-font-size: 18PX;
7
- $at-nav-bar-back-font-size: 16PX;
8
-
9
- .at-nav-bar {
10
- display: flex;
11
- flex-direction: row;
12
- align-items: center;
13
- justify-content: center;
14
- padding: $at-nav-bar-spacing-v $at-nav-bar-spacing-h;
15
- width: 100%;
16
- background-color: $color-bg;
17
- // box-sizing: border-box;
18
- // white-space: nowrap;
19
- overflow: hidden;
20
- border-bottom-width: 1px;
21
- border-bottom-color: $color-border-light;
22
- border-style: solid;
23
-
24
- /* elements */
25
- &__left-view {
26
- flex: 2;
27
- display: flex;
28
- flex-direction: row;
29
- justify-content: flex-start;
30
- align-items: center;
31
- padding: $at-nav-bar-spacing-v $at-nav-bar-spacing-h;
32
- height: 100%;
33
- color: $at-nav-bar-link-color;
34
- font-size: $at-nav-bar-font-size;
35
- // text-align: left;
36
- // text-overflow: ellipsis;
37
- overflow: hidden;
38
- // @include active;
39
-
40
- &__text {
41
- color: $at-nav-bar-link-color;
42
- }
43
-
44
- // .at-icon {
45
- // font-size: 48px;
46
- // }
47
- }
48
-
49
- &__right-view {
50
- flex: 2;
51
- height: 100%;
52
- color: $at-nav-bar-link-color;
53
- display: flex;
54
- flex-direction: row;
55
- align-items: center;
56
- overflow: hidden;
57
- }
58
-
59
- &__title {
60
- flex: 5;
61
- color: $at-nav-bar-title-color;
62
- font-size: $at-nav-bar-font-size;
63
- text-align: center;
64
- // vertical-align: middle;
65
- // line-height: $line-height-base;
66
- // @include line;
67
- }
68
-
69
- &__text {
70
- // display: flex;
71
- // align-items: center;
72
- padding-left: $at-nav-bar-spacing-h;
73
- // height: 100%;
74
- font-size: $at-nav-bar-back-font-size;
75
- // vertical-align: middle;
76
- // line-height: $line-height-base;
77
- // @include line;
78
- }
79
-
80
- &__container {
81
- display: flex;
82
- padding: $at-nav-bar-spacing-v $at-nav-bar-spacing-h;
83
- width: 50%;
84
- height: 100%;
85
- font-size: $at-nav-bar-font-size;
86
- text-align: center;
87
- // box-sizing: border-box;
88
- // @include active;
89
-
90
- // .at-icon {
91
- // font-size: 48px;
92
- // }
93
-
94
- &--hide {
95
- // visibility: hidden;
96
- opacity: 0;
97
- height: 0
98
- }
99
- }
100
-
101
- &__at-icon {
102
- // width: $at-fab-icon-size;
103
- // height: $at-fab-icon-size;
104
- font-size: 48px;
105
- color: $at-nav-bar-link-color;
106
- }
107
-
108
- /* modifiers */
109
- &--no-border {
110
- border-bottom-width: 0;
111
- // &::after {
112
- // border-bottom-width: 0;
113
- // }
114
- }
115
-
116
- // &--fixed {
117
- // // position: fixed;
118
- // top: 0;
119
- // left: 0;
120
- // right: 0;
121
- // z-index: $zindex-nav;
122
- // }
123
- }
@@ -1,111 +0,0 @@
1
- @import '../variables/default.scss';
2
- @import '../mixins/index.scss';
3
-
4
- .at-noticebar {
5
- position: relative;
6
- padding: $spacing-v-sm $spacing-h-lg;
7
- color: $at-noticebar-text-color;
8
- background: $at-noticebar-bg-color;
9
- overflow: hidden;
10
- z-index: 2;
11
- display: flex;
12
- align-items: center;
13
- flex-direction: row;
14
-
15
- /* elements */
16
- &__content {
17
- display: flex;
18
- align-items: center;
19
- flex-direction: row;
20
-
21
- &--hide {
22
- flex-direction: row;
23
- opacity: 0;
24
- z-index: -1;
25
- position: absolute;
26
- top: 0;
27
- }
28
-
29
- &--has-close {
30
- margin-left: 20px;
31
- }
32
-
33
- &-icon {
34
- // width: 30px;
35
- // height: 30px;
36
-
37
- &__at-icon {
38
- color: $at-noticebar-text-color;
39
- font-size: $at-noticebar-btn-close-size;
40
- }
41
- }
42
-
43
- &-text {
44
- display: flex;
45
- flex-wrap: nowrap;
46
- font-size: $at-noticebar-font-size;
47
- color: $at-noticebar-text-color;
48
-
49
- &-wrap {
50
- position: relative;
51
- z-index: 1;
52
- width: 100%;
53
- // padding: 0 20px;
54
- overflow: hidden;
55
- }
56
- }
57
-
58
- &-inner {
59
- display: flex;
60
- }
61
- }
62
-
63
- &__close {
64
- position: absolute;
65
- top: 42%;
66
- left: $spacing-h-lg;
67
- width: $at-noticebar-btn-close-size;
68
- height: $at-noticebar-btn-close-size;
69
-
70
- &-icon {
71
- // width: $at-noticebar-btn-close-size;
72
- // height: $at-noticebar-btn-close-size;
73
- color: $at-noticebar-btn-close-color;
74
- font-size: $at-noticebar-btn-close-size;
75
- }
76
-
77
- }
78
-
79
- &__more {
80
- display: flex;
81
- align-items: center;
82
- flex-direction: row;
83
- justify-content: center;
84
-
85
- &-text {
86
- font-size: $at-noticebar-font-size;
87
- color: $color-grey-2;
88
- }
89
-
90
-
91
- &-icon {
92
- display: inline-block;
93
- width: $at-noticebar-font-size;
94
- // vertical-align: middle;
95
- overflow: hidden;
96
-
97
- &__at-icon {
98
- color: $color-grey-2;
99
- font-size: $at-noticebar-font-size;
100
- }
101
- }
102
- }
103
-
104
-
105
- /* modifiers */
106
- &--single {
107
- display: flex;
108
- justify-content: space-between;
109
- }
110
-
111
- }
@@ -1,43 +0,0 @@
1
- @import '../variables/default.scss';
2
- @import '../mixins/index.scss';
3
-
4
- .at-pagination {
5
- position: relative;
6
- // width: 100%;
7
- display: flex;
8
- flex-direction: row;
9
- justify-content: space-between;
10
- align-items: center;
11
- flex-grow: 1;
12
- margin: 0 $at-pagination-margin;
13
-
14
- &__btn-prev,
15
- &__btn-next {
16
- font-size: 0;
17
-
18
- // .at-icon {
19
- // color: $at-pagination-icon-color;
20
- // font-size: $at-pagination-icon-font-size;
21
- // }
22
- }
23
-
24
- &__at-icon {
25
- color: $at-pagination-icon-color;
26
- font-size: $at-pagination-icon-font-size;
27
- }
28
-
29
- &__number {
30
- color: $at-pagination-num-color;
31
- font-size: $at-pagination-num-font-size;
32
- text-align: center;
33
- overflow: hidden;
34
-
35
- &-current {
36
- color: $at-pagination-current-num-color;
37
- }
38
-
39
- &-wrap {
40
- line-height: $at-button-height-sm;
41
- }
42
- }
43
- }
@@ -1,105 +0,0 @@
1
- @use "sass:math";
2
- @import '../variables/default.scss';
3
- @import '../mixins/index.scss';
4
-
5
- // @keyframes progress-active {
6
- // from {
7
- // opacity: 0.5;
8
- // // transform: translate(-100%);
9
- // }
10
-
11
- // to {
12
- // opacity: 0.1;
13
- // // transform: translate(0);
14
- // }
15
- // }
16
-
17
- .at-progress {
18
- display: flex;
19
- align-items: center;
20
- flex-direction: row;
21
- width: 100%;
22
-
23
- /* elements */
24
- &__outer {
25
- // flex: 1 1 100%;
26
- margin-right: 0;
27
- padding-right: 0;
28
- flex: 1;
29
-
30
- &-inner {
31
- width: 100%;
32
- background-color: $at-progress-inner-bg-color;
33
- border-radius: math.div($at-progress-height, 2);
34
- // vertical-align: middle;
35
-
36
- &-background {
37
- position: relative;
38
- height: $at-progress-height;
39
- border-radius: math.div($at-progress-height, 2);
40
- background-color: $at-progress-bar-bg-color;
41
- // transition: all 0.3s $ease-in-out-quad;
42
- overflow: hidden;
43
- }
44
- }
45
- }
46
-
47
- &__content {
48
- // flex: 1 1 70px;
49
- margin-left: 10px;
50
- font-size: $at-progress-text-size;
51
- text-align: center;
52
-
53
- // .at-icon {
54
- // font-size: $at-progress-icon-size;
55
- // }
56
- }
57
-
58
- &__at-icon {
59
- font-size: $at-progress-icon-size;
60
-
61
- &--error {
62
- color: $color-error;
63
- }
64
-
65
- &--success {
66
- color: $color-success;
67
- }
68
- }
69
-
70
- /* modifiers */
71
- // &--progress {
72
- // .at-progress__outer-inner-background::before {
73
- // content: "";
74
- // opacity: 0;
75
- // position: absolute;
76
- // top: 0;
77
- // left: 0;
78
- // right: 0;
79
- // bottom: 0;
80
- // background: $at-progress-bar-bg-color-active;
81
- // border-radius: $at-progress-height / 2;
82
- // // animation: progress-active 2s $ease-out-quad infinite;
83
- // }
84
- // }
85
-
86
- // &--error {
87
- // .at-progress__outer-inner-background {
88
- // background: $color-error;
89
- // }
90
-
91
- // .at-icon {
92
- // color: $color-error;
93
- // }
94
- // }
95
-
96
- // &--success {
97
- // .at-progress__outer-inner-background {
98
- // background: $color-success;
99
- // }
100
-
101
- // .at-icon {
102
- // color: $color-success;
103
- // }
104
- // }
105
- }
@@ -1,94 +0,0 @@
1
- @import '../variables/default.scss';
2
- @import '../mixins/index.scss';
3
-
4
- .at-radio {
5
- position: relative;
6
- background-color: $color-bg;
7
- @include hairline-top-relative(#d6e4ef);
8
- @include hairline-bottom-relative(#d6e4ef);
9
-
10
- /* elements */
11
- &__option-wrap {
12
- padding: $spacing-v-lg $spacing-h-xl $spacing-v-lg 0;
13
- @include border-thin-bottom(#d6e4ef);
14
-
15
- &--without-border {
16
- border-bottom-width: 0;
17
- }
18
- }
19
-
20
- &__option-container {
21
- display: flex;
22
- flex-direction: row;
23
- }
24
-
25
- &__title {
26
- flex: 6;
27
- color: $at-radio-title-color;
28
- font-size: $at-radio-title-size;
29
- text-align: left;
30
- line-height: $line-height-zh * $at-radio-title-size;
31
- // word-break: break-all;
32
-
33
- &--disabled {
34
- opacity: $opacity-disabled;
35
- }
36
- }
37
-
38
- &__icon {
39
- flex: 1;
40
- font-size: $at-radio-title-size;
41
- text-align: right;
42
- overflow: hidden;
43
- // visibility: hidden;
44
-
45
- &--checked {
46
- // visibility: visible;
47
- }
48
- }
49
-
50
- &__desc {
51
- // display: block;
52
- width: 86%;
53
- color: $at-radio-desc-color;
54
- font-size: $at-radio-desc-size;
55
- text-align: left;
56
- line-height: $line-height-zh * $at-radio-desc-size;
57
- letter-spacing: 0;
58
- // word-break: break-all;
59
-
60
- &--disabled {
61
- opacity: $opacity-disabled;
62
- }
63
- }
64
-
65
- &__option {
66
- padding-left: $spacing-h-xl;
67
- @include active;
68
-
69
- &--disabled {
70
- // .at-radio__option-container,
71
- // .at-radio__desc {
72
- // opacity: $opacity-disabled;
73
- // }
74
-
75
- // &:active {
76
- // background-color: inherit;
77
- // }
78
- }
79
- }
80
-
81
- // &__option + &__option {
82
- // .at-radio__option-wrap {
83
- // @include hairline-top();
84
- // }
85
- // }
86
-
87
- &__at-icon {
88
- color: $at-radio-check-color;
89
- }
90
- }
91
-
92
- // .at-icon {
93
- // color: $at-radio-check-color;
94
- // }
@@ -1,52 +0,0 @@
1
- @use "sass:math";
2
- @import '../variables/default.scss';
3
- @import '../mixins/index.scss';
4
-
5
- .at-range {
6
- position: relative;
7
- padding: 0 math.div($at-range-slider-size, 2) + 4PX;
8
- width: 100%;
9
- // box-sizing: border-box;
10
-
11
- /* elements */
12
- &__container {
13
- position: relative;
14
- display: flex;
15
- flex-direction: row;
16
- align-items: center;
17
- width: 100%;
18
- height: $at-range-slider-size;
19
- // box-sizing: border-box;
20
- }
21
-
22
- &__rail {
23
- width: 100%;
24
- height: $at-range-rail-height;
25
- background-color: $at-range-rail-bg-color;
26
- // box-sizing: border-box;
27
- overflow: hidden;
28
- }
29
-
30
- &__track {
31
- position: absolute;
32
- height: $at-range-rail-height;
33
- background-color: $at-range-track-bg-color;
34
- }
35
-
36
- &__slider {
37
- position: absolute;
38
- margin-left: math.div($at-range-slider-size, 2) * -1;
39
- width: $at-range-slider-size;
40
- height: $at-range-slider-size;
41
- border-radius: math.div($at-range-slider-size, 2);
42
- background-color: $at-range-slider-color;
43
- //box-shadow: $at-range-slider-shadow;
44
- // TODO: box-shadow 替代
45
- // box-sizing: border-box;
46
- }
47
-
48
- /* modifiers */
49
- &--disabled {
50
- opacity: $opacity-disabled;
51
- }
52
- }
@@ -1,48 +0,0 @@
1
- @import '../variables/default.scss';
2
- @import '../mixins/index.scss';
3
-
4
- .at-rate {
5
- font-size: 0;
6
- line-height: 0;
7
- flex-direction: row;
8
-
9
- /* elements */
10
- &__left {
11
- // display: inline-block;
12
- position: absolute;
13
- left: 0;
14
- top: 0;
15
- width: 50%;
16
- height: 100%;
17
- color: transparent;
18
- overflow: hidden;
19
- z-index: 10;
20
- }
21
-
22
- &__icon {
23
- position: relative;
24
- // display: inline-block;
25
- color: $at-rate-star-color;
26
- font-size: 0;
27
- line-height: 0;
28
- // transition:: all 0.2s;
29
-
30
- // .at-icon {
31
- // font-size: $at-rate-icon-size;
32
- // }
33
-
34
- &--on {
35
- color: $at-rate-star-color-on;
36
- }
37
-
38
- &--off {
39
- color: $at-rate-star-color;
40
- }
41
-
42
- &--half {
43
- // .at-rate__left {
44
- // color: $at-rate-star-color-on;
45
- // }
46
- }
47
- }
48
- }
@@ -1,134 +0,0 @@
1
- @use "sass:math";
2
- @import '../variables/default.scss';
3
- @import '../mixins/index.scss';
4
-
5
- $at-search-bar-font-size: 28px;
6
- $at-search-bar-input-height: 60px;
7
- $at-search-bar-input-padding: 50px;
8
- $at-search-bar-btn-padding: 20px;
9
- $at-search-bar-placeholder-padding: 24px;
10
- $at-search-bar-input-bg-color: $color-bg-grey;
11
- $at-search-bar-input-color: $color-black-0;
12
- $at-search-bar-placholder-color: $color-grey-2;
13
-
14
- .at-search-bar {
15
- display: flex;
16
- flex-direction: row;
17
- align-items: center;
18
- padding: $spacing-v-sm $spacing-v-md;
19
- background-color: $color-bg;
20
- overflow: hidden;
21
- // box-sizing: border-box;
22
- @include hairline-bottom();
23
-
24
- /* elements */
25
- &__input-cnt {
26
- position: relative;
27
- flex: 1;
28
- width: 100%;
29
- height: $at-search-bar-input-height;
30
- background-color: $at-search-bar-input-bg-color;
31
- border-radius: math.div($at-search-bar-input-height, 2);
32
- overflow: hidden;
33
- display: flex;
34
- flex-direction: row;
35
- }
36
-
37
- &__placeholder-wrap {
38
- // position: absolute;
39
- // top: 0;
40
- // left: 0;
41
-
42
- display: flex;
43
- flex-direction: row;
44
- align-self: center;
45
- align-items: center;
46
- justify-content: center;
47
- padding: 0 $at-search-bar-placeholder-padding;
48
- // width: 100%;
49
- height: $at-search-bar-input-height;
50
- line-height: 0;
51
- // vertical-align: middle;
52
- opacity: 1;
53
- // transition: flex 0.3s;
54
- // background: #0084ff;
55
- }
56
-
57
- &__placeholder {
58
- margin-left: $at-search-bar-placeholder-padding;
59
- color: $at-search-bar-placholder-color;
60
- font-size: $at-search-bar-font-size;
61
- flex-shrink: 0;
62
- }
63
-
64
- &__input {
65
- position: absolute;
66
- top: 0;
67
- left: 0;
68
- width: 100%;
69
- height: $at-search-bar-input-height;
70
- padding: 0 $at-search-bar-input-padding + $at-search-bar-placeholder-padding;
71
- color: $at-search-bar-input-color;
72
- font-size: $at-search-bar-font-size;
73
- text-align: left;
74
- background-color: transparent;
75
- // transition: width 0.3s;
76
- // box-sizing: border-box;
77
- }
78
-
79
- &__clear {
80
- position: absolute;
81
- display: flex;
82
- align-items: center;
83
- justify-content: center;
84
- top: 0;
85
- right: $at-search-bar-placeholder-padding;
86
- height: $at-search-bar-input-height;
87
- width: $at-search-bar-input-padding;
88
- color: $at-search-bar-placholder-color;
89
- font-size: $at-search-bar-font-size;
90
- line-height: 0;
91
- // vertical-align: middle;
92
- }
93
-
94
- &__action {
95
- flex: none;
96
- display: flex;
97
- flex-direction: row;
98
- justify-content: center;
99
- align-items: center;
100
- margin-left: 10PX;
101
- padding: 0 $at-search-bar-btn-padding;
102
- height: $at-search-bar-input-height;
103
- border-radius: 4px;
104
- background-color: $at-search-bar-btn-bg-color;
105
- // transition: margin-right 0.3s, opacity 0.3s;
106
- opacity: 0;
107
- &__text {
108
- color: $at-search-bar-btn-color;
109
- font-size: $at-search-bar-font-size;
110
- line-height: $at-search-bar-input-height;
111
- }
112
- }
113
-
114
- /* modifiers */
115
- &--fixed {
116
- position: fixed;
117
- top: 0;
118
- left: 0;
119
- right: 0;
120
- z-index: $zindex-search-bar;
121
- }
122
-
123
- &__at-icon {
124
- color: $at-search-bar-placholder-color;
125
- font-size: $at-search-bar-font-size;
126
- flex-shrink: 0;
127
- }
128
- }
129
-
130
- // .at-icon {
131
- // color: $at-search-bar-placholder-color;
132
- // font-size: $at-search-bar-font-size;
133
- // flex-shrink: 0;
134
- // }