taro-ui 3.3.1 → 3.3.3

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 (487) hide show
  1. package/dist/common/component.d.ts +10 -0
  2. package/dist/common/component.js +32 -0
  3. package/dist/common/component.js.map +1 -0
  4. package/dist/common/utils.d.ts +41 -0
  5. package/dist/common/utils.js +203 -0
  6. package/dist/common/utils.js.map +1 -0
  7. package/dist/components/accordion/index.d.ts +14 -0
  8. package/dist/components/accordion/index.js +121 -0
  9. package/dist/components/accordion/index.js.map +1 -0
  10. package/dist/components/action-sheet/body/index.d.ts +5 -0
  11. package/dist/components/action-sheet/body/index.js +13 -0
  12. package/dist/components/action-sheet/body/index.js.map +1 -0
  13. package/dist/components/action-sheet/body/item/index.d.ts +9 -0
  14. package/dist/components/action-sheet/body/item/index.js +25 -0
  15. package/dist/components/action-sheet/body/item/index.js.map +1 -0
  16. package/dist/components/action-sheet/footer/index.d.ts +9 -0
  17. package/dist/components/action-sheet/footer/index.js +28 -0
  18. package/dist/components/action-sheet/footer/index.js.map +1 -0
  19. package/dist/components/action-sheet/header/index.d.ts +5 -0
  20. package/dist/components/action-sheet/header/index.js +16 -0
  21. package/dist/components/action-sheet/header/index.js.map +1 -0
  22. package/dist/components/action-sheet/index.d.ts +14 -0
  23. package/dist/components/action-sheet/index.js +76 -0
  24. package/dist/components/action-sheet/index.js.map +1 -0
  25. package/dist/components/activity-indicator/index.d.ts +8 -0
  26. package/dist/components/activity-indicator/index.js +39 -0
  27. package/dist/components/activity-indicator/index.js.map +1 -0
  28. package/dist/components/avatar/index.d.ts +9 -0
  29. package/dist/components/avatar/index.js +68 -0
  30. package/dist/components/avatar/index.js.map +1 -0
  31. package/dist/components/badge/index.d.ts +10 -0
  32. package/dist/components/badge/index.js +51 -0
  33. package/dist/components/badge/index.js.map +1 -0
  34. package/dist/components/button/index.d.ts +15 -0
  35. package/dist/components/button/index.js +177 -0
  36. package/dist/components/button/index.js.map +1 -0
  37. package/dist/components/calendar/body/index.d.ts +26 -0
  38. package/dist/components/calendar/body/index.js +289 -0
  39. package/dist/components/calendar/body/index.js.map +1 -0
  40. package/dist/components/calendar/common/constant.d.ts +3 -0
  41. package/dist/components/calendar/common/constant.js +9 -0
  42. package/dist/components/calendar/common/constant.js.map +1 -0
  43. package/dist/components/calendar/common/helper.d.ts +4 -0
  44. package/dist/components/calendar/common/helper.js +84 -0
  45. package/dist/components/calendar/common/helper.js.map +1 -0
  46. package/dist/components/calendar/common/plugins.d.ts +11 -0
  47. package/dist/components/calendar/common/plugins.js +55 -0
  48. package/dist/components/calendar/common/plugins.js.map +1 -0
  49. package/dist/components/calendar/controller/index.d.ts +5 -0
  50. package/dist/components/calendar/controller/index.js +51 -0
  51. package/dist/components/calendar/controller/index.js.map +1 -0
  52. package/dist/components/calendar/index.d.ts +20 -0
  53. package/dist/components/calendar/index.js +244 -0
  54. package/dist/components/calendar/index.js.map +1 -0
  55. package/dist/components/calendar/ui/date-list/index.d.ts +12 -0
  56. package/dist/components/calendar/ui/date-list/index.js +54 -0
  57. package/dist/components/calendar/ui/date-list/index.js.map +1 -0
  58. package/dist/components/calendar/ui/day-list/index.d.ts +4 -0
  59. package/dist/components/calendar/ui/day-list/index.js +11 -0
  60. package/dist/components/calendar/ui/day-list/index.js.map +1 -0
  61. package/dist/components/card/index.d.ts +9 -0
  62. package/dist/components/card/index.js +80 -0
  63. package/dist/components/card/index.js.map +1 -0
  64. package/dist/components/checkbox/index.d.ts +9 -0
  65. package/dist/components/checkbox/index.js +59 -0
  66. package/dist/components/checkbox/index.js.map +1 -0
  67. package/dist/components/countdown/index.d.ts +20 -0
  68. package/dist/components/countdown/index.js +152 -0
  69. package/dist/components/countdown/index.js.map +1 -0
  70. package/dist/components/countdown/item/index.d.ts +9 -0
  71. package/dist/components/countdown/item/index.js +24 -0
  72. package/dist/components/countdown/item/index.js.map +1 -0
  73. package/dist/components/curtain/index.d.ts +10 -0
  74. package/dist/components/curtain/index.js +62 -0
  75. package/dist/components/curtain/index.js.map +1 -0
  76. package/dist/components/divider/index.d.ts +8 -0
  77. package/dist/components/divider/index.js +57 -0
  78. package/dist/components/divider/index.js.map +1 -0
  79. package/dist/components/drawer/index.d.ts +16 -0
  80. package/dist/components/drawer/index.js +114 -0
  81. package/dist/components/drawer/index.js.map +1 -0
  82. package/dist/components/fab/index.d.ts +9 -0
  83. package/dist/components/fab/index.js +29 -0
  84. package/dist/components/fab/index.js.map +1 -0
  85. package/dist/components/flex/index.d.ts +7 -0
  86. package/dist/components/flex/index.js +41 -0
  87. package/dist/components/flex/index.js.map +1 -0
  88. package/dist/components/flex/item/index.d.ts +7 -0
  89. package/dist/components/flex/item/index.js +34 -0
  90. package/dist/components/flex/item/index.js.map +1 -0
  91. package/dist/components/float-layout/index.d.ts +13 -0
  92. package/dist/components/float-layout/index.js +104 -0
  93. package/dist/components/float-layout/index.js.map +1 -0
  94. package/dist/components/form/index.d.ts +10 -0
  95. package/dist/components/form/index.js +43 -0
  96. package/dist/components/form/index.js.map +1 -0
  97. package/dist/components/grid/index.d.ts +9 -0
  98. package/dist/components/grid/index.js +101 -0
  99. package/dist/components/grid/index.js.map +1 -0
  100. package/dist/components/icon/index.d.ts +9 -0
  101. package/dist/components/icon/index.js +54 -0
  102. package/dist/components/icon/index.js.map +1 -0
  103. package/dist/components/image-picker/index.d.ts +11 -0
  104. package/dist/components/image-picker/index.js +164 -0
  105. package/dist/components/image-picker/index.js.map +1 -0
  106. package/dist/components/indexes/index.d.ts +29 -0
  107. package/dist/components/indexes/index.js +272 -0
  108. package/dist/components/indexes/index.js.map +1 -0
  109. package/dist/components/input/index.d.ts +17 -0
  110. package/dist/components/input/index.js +232 -0
  111. package/dist/components/input/index.js.map +1 -0
  112. package/dist/components/input-number/index.d.ts +13 -0
  113. package/dist/components/input-number/index.js +193 -0
  114. package/dist/components/input-number/index.js.map +1 -0
  115. package/dist/components/list/index.d.ts +8 -0
  116. package/dist/components/list/index.js +26 -0
  117. package/dist/components/list/index.js.map +1 -0
  118. package/dist/components/list/item/index.d.ts +11 -0
  119. package/dist/components/list/item/index.js +152 -0
  120. package/dist/components/list/item/index.js.map +1 -0
  121. package/dist/components/load-more/index.d.ts +9 -0
  122. package/dist/components/load-more/index.js +72 -0
  123. package/dist/components/load-more/index.js.map +1 -0
  124. package/dist/components/loading/index.d.ts +12 -0
  125. package/dist/components/loading/index.js +32 -0
  126. package/dist/components/loading/index.js.map +1 -0
  127. package/dist/components/message/index.d.ts +15 -0
  128. package/dist/components/message/index.js +78 -0
  129. package/dist/components/message/index.js.map +1 -0
  130. package/dist/components/modal/action/index.d.ts +8 -0
  131. package/dist/components/modal/action/index.js +26 -0
  132. package/dist/components/modal/action/index.js.map +1 -0
  133. package/dist/components/modal/content/index.d.ts +5 -0
  134. package/dist/components/modal/content/index.js +13 -0
  135. package/dist/components/modal/content/index.js.map +1 -0
  136. package/dist/components/modal/header/index.d.ts +5 -0
  137. package/dist/components/modal/header/index.js +13 -0
  138. package/dist/components/modal/header/index.js.map +1 -0
  139. package/dist/components/modal/index.d.ts +15 -0
  140. package/dist/components/modal/index.js +106 -0
  141. package/dist/components/modal/index.js.map +1 -0
  142. package/dist/components/nav-bar/index.d.ts +12 -0
  143. package/dist/components/nav-bar/index.js +217 -0
  144. package/dist/components/nav-bar/index.js.map +1 -0
  145. package/dist/components/noticebar/index.d.ts +16 -0
  146. package/dist/components/noticebar/index.js +186 -0
  147. package/dist/components/noticebar/index.js.map +1 -0
  148. package/dist/components/pagination/index.d.ts +12 -0
  149. package/dist/components/pagination/index.js +146 -0
  150. package/dist/components/pagination/index.js.map +1 -0
  151. package/dist/components/progress/index.d.ts +7 -0
  152. package/dist/components/progress/index.js +53 -0
  153. package/dist/components/progress/index.js.map +1 -0
  154. package/dist/components/radio/index.d.ts +9 -0
  155. package/dist/components/radio/index.js +54 -0
  156. package/dist/components/radio/index.js.map +1 -0
  157. package/dist/components/range/index.d.ts +22 -0
  158. package/dist/components/range/index.js +207 -0
  159. package/dist/components/range/index.js.map +1 -0
  160. package/dist/components/rate/index.d.ts +9 -0
  161. package/dist/components/rate/index.js +82 -0
  162. package/dist/components/rate/index.js.map +1 -0
  163. package/dist/components/search-bar/index.d.ts +16 -0
  164. package/dist/components/search-bar/index.js +176 -0
  165. package/dist/components/search-bar/index.js.map +1 -0
  166. package/dist/components/segmented-control/index.d.ts +9 -0
  167. package/dist/components/segmented-control/index.js +84 -0
  168. package/dist/components/segmented-control/index.js.map +1 -0
  169. package/dist/components/slider/index.d.ts +13 -0
  170. package/dist/components/slider/index.js +115 -0
  171. package/dist/components/slider/index.js.map +1 -0
  172. package/dist/components/steps/index.d.ts +9 -0
  173. package/dist/components/steps/index.js +67 -0
  174. package/dist/components/steps/index.js.map +1 -0
  175. package/dist/components/swipe-action/index.d.ts +27 -0
  176. package/dist/components/swipe-action/index.js +220 -0
  177. package/dist/components/swipe-action/index.js.map +1 -0
  178. package/dist/components/swipe-action/options/index.d.ts +5 -0
  179. package/dist/components/swipe-action/options/index.js +24 -0
  180. package/dist/components/swipe-action/options/index.js.map +1 -0
  181. package/dist/components/switch/index.d.ts +9 -0
  182. package/dist/components/switch/index.js +59 -0
  183. package/dist/components/switch/index.js.map +1 -0
  184. package/dist/components/tab-bar/index.d.ts +9 -0
  185. package/dist/components/tab-bar/index.js +170 -0
  186. package/dist/components/tab-bar/index.js.map +1 -0
  187. package/dist/components/tabs/index.d.ts +24 -0
  188. package/dist/components/tabs/index.js +219 -0
  189. package/dist/components/tabs/index.js.map +1 -0
  190. package/dist/components/tabs-pane/index.d.ts +8 -0
  191. package/dist/components/tabs-pane/index.js +43 -0
  192. package/dist/components/tabs-pane/index.js.map +1 -0
  193. package/dist/components/tag/index.d.ts +9 -0
  194. package/dist/components/tag/index.js +75 -0
  195. package/dist/components/tag/index.js.map +1 -0
  196. package/dist/components/textarea/index.d.ts +13 -0
  197. package/dist/components/textarea/index.js +141 -0
  198. package/dist/components/textarea/index.js.map +1 -0
  199. package/dist/components/timeline/index.d.ts +8 -0
  200. package/dist/components/timeline/index.js +76 -0
  201. package/dist/components/timeline/index.js.map +1 -0
  202. package/dist/components/toast/img.json +8 -0
  203. package/dist/components/toast/index.d.ts +16 -0
  204. package/dist/components/toast/index.js +124 -0
  205. package/dist/components/toast/index.js.map +1 -0
  206. package/{lib/index.js → dist/index.d.ts} +0 -2
  207. package/dist/index.esm.js +6020 -8272
  208. package/dist/index.esm.js.map +1 -1
  209. package/dist/index.js +6104 -8332
  210. package/dist/index.js.map +1 -1
  211. package/dist/style/components/grid.scss +2 -2
  212. package/dist/style/components/index.scss +48 -48
  213. package/dist/style/components/list.scss +2 -2
  214. package/dist/style/index.css +11754 -0
  215. package/dist/style/index.css.map +1 -0
  216. package/dist/style/mixins/index.scss +13 -13
  217. package/dist/style/mixins/libs/shade.scss +4 -2
  218. package/dist/style/mixins/libs/tint.scss +4 -2
  219. package/dist/style/variables/default.scss +1 -1
  220. package/package.json +56 -33
  221. package/rn/components/action-sheet/index.tsx +8 -14
  222. package/rn/components/calendar/ui/date-list/index.tsx +1 -1
  223. package/rn/components/drawer/index.tsx +15 -15
  224. package/rn/components/float-layout/index.tsx +3 -2
  225. package/rn/components/input/index.tsx +14 -7
  226. package/rn/components/input-number/index.tsx +19 -19
  227. package/rn/components/message/index.tsx +1 -1
  228. package/rn/components/swipe-action/index.rn.tsx +4 -2
  229. package/rn/components/swipe-action/index.tsx +6 -5
  230. package/rn/components/tab-bar/index.tsx +1 -1
  231. package/rn/components/tabs/index.tsx +14 -14
  232. package/rn/components/textarea/index.tsx +2 -2
  233. package/dist/style/components/accordion.rn.scss +0 -79
  234. package/dist/style/components/action-sheet.rn.scss +0 -80
  235. package/dist/style/components/activity-indicator.rn.scss +0 -30
  236. package/dist/style/components/article.rn.scss +0 -59
  237. package/dist/style/components/avatar.rn.scss +0 -46
  238. package/dist/style/components/badge.rn.scss +0 -52
  239. package/dist/style/components/button.rn.scss +0 -80
  240. package/dist/style/components/calendar.rn.scss +0 -182
  241. package/dist/style/components/card.rn.scss +0 -88
  242. package/dist/style/components/checkbox.rn.scss +0 -108
  243. package/dist/style/components/countdown.rn.scss +0 -82
  244. package/dist/style/components/curtain.rn.scss +0 -129
  245. package/dist/style/components/divider.rn.scss +0 -33
  246. package/dist/style/components/drawer.rn.scss +0 -72
  247. package/dist/style/components/fab.rn.scss +0 -38
  248. package/dist/style/components/flex.rn.scss +0 -159
  249. package/dist/style/components/float-layout.rn.scss +0 -119
  250. package/dist/style/components/form.rn.scss +0 -12
  251. package/dist/style/components/grid.rn.scss +0 -104
  252. package/dist/style/components/icon.rn.scss +0 -221
  253. package/dist/style/components/image-picker.rn.scss +0 -108
  254. package/dist/style/components/index.rn.scss +0 -51
  255. package/dist/style/components/indexes.rn.scss +0 -53
  256. package/dist/style/components/input-number.rn.scss +0 -82
  257. package/dist/style/components/input.rn.scss +0 -149
  258. package/dist/style/components/list.rn.scss +0 -107
  259. package/dist/style/components/load-more.rn.scss +0 -28
  260. package/dist/style/components/loading.rn.scss +0 -45
  261. package/dist/style/components/message.rn.scss +0 -57
  262. package/dist/style/components/modal.rn.scss +0 -136
  263. package/dist/style/components/nav-bar.rn.scss +0 -123
  264. package/dist/style/components/noticebar.rn.scss +0 -111
  265. package/dist/style/components/pagination.rn.scss +0 -43
  266. package/dist/style/components/progress.rn.scss +0 -105
  267. package/dist/style/components/radio.rn.scss +0 -94
  268. package/dist/style/components/range.rn.scss +0 -52
  269. package/dist/style/components/rate.rn.scss +0 -48
  270. package/dist/style/components/search-bar.rn.scss +0 -134
  271. package/dist/style/components/segmented-control.rn.scss +0 -44
  272. package/dist/style/components/slider.rn.scss +0 -33
  273. package/dist/style/components/steps.rn.scss +0 -131
  274. package/dist/style/components/swipe-action.rn.scss +0 -53
  275. package/dist/style/components/switch.rn.scss +0 -61
  276. package/dist/style/components/tab-bar.rn.scss +0 -74
  277. package/dist/style/components/tabs.rn.scss +0 -205
  278. package/dist/style/components/tag.rn.scss +0 -74
  279. package/dist/style/components/textarea.rn.scss +0 -57
  280. package/dist/style/components/timeline.rn.scss +0 -89
  281. package/dist/style/components/toast.rn.scss +0 -112
  282. package/dist/style/index.rn.scss +0 -14
  283. package/dist/style/mixins/index.rn.scss +0 -18
  284. package/dist/style/mixins/libs/absolute-center.rn.scss +0 -9
  285. package/dist/style/mixins/libs/active.rn.scss +0 -10
  286. package/dist/style/mixins/libs/alignhack.rn.scss +0 -11
  287. package/dist/style/mixins/libs/border.rn.scss +0 -48
  288. package/dist/style/mixins/libs/clearfix.rn.scss +0 -21
  289. package/dist/style/mixins/libs/disabled.rn.scss +0 -6
  290. package/dist/style/mixins/libs/flex.rn.scss +0 -49
  291. package/dist/style/mixins/libs/hairline.rn.scss +0 -209
  292. package/dist/style/mixins/libs/line.rn.scss +0 -14
  293. package/dist/style/mixins/libs/overlay.rn.scss +0 -11
  294. package/dist/style/mixins/libs/placeholder.rn.scss +0 -12
  295. package/dist/style/mixins/libs/shade.rn.scss +0 -23
  296. package/dist/style/mixins/libs/tint.rn.scss +0 -23
  297. package/dist/style/themes/purple.rn.scss +0 -44
  298. package/dist/style/themes/red.rn.scss +0 -45
  299. package/dist/style/variables/default.rn.scss +0 -461
  300. package/lib/common/component.js +0 -33
  301. package/lib/common/component.js.map +0 -1
  302. package/lib/common/utils.js +0 -226
  303. package/lib/common/utils.js.map +0 -1
  304. package/lib/components/accordion/index.js +0 -116
  305. package/lib/components/accordion/index.js.map +0 -1
  306. package/lib/components/action-sheet/body/index.js +0 -10
  307. package/lib/components/action-sheet/body/index.js.map +0 -1
  308. package/lib/components/action-sheet/body/item/index.js +0 -22
  309. package/lib/components/action-sheet/body/item/index.js.map +0 -1
  310. package/lib/components/action-sheet/footer/index.js +0 -22
  311. package/lib/components/action-sheet/footer/index.js.map +0 -1
  312. package/lib/components/action-sheet/header/index.js +0 -10
  313. package/lib/components/action-sheet/header/index.js.map +0 -1
  314. package/lib/components/action-sheet/index.js +0 -71
  315. package/lib/components/action-sheet/index.js.map +0 -1
  316. package/lib/components/activity-indicator/index.js +0 -35
  317. package/lib/components/activity-indicator/index.js.map +0 -1
  318. package/lib/components/avatar/index.js +0 -64
  319. package/lib/components/avatar/index.js.map +0 -1
  320. package/lib/components/badge/index.js +0 -42
  321. package/lib/components/badge/index.js.map +0 -1
  322. package/lib/components/button/index.js +0 -125
  323. package/lib/components/button/index.js.map +0 -1
  324. package/lib/components/calendar/body/index.js +0 -193
  325. package/lib/components/calendar/body/index.js.map +0 -1
  326. package/lib/components/calendar/common/constant.js +0 -4
  327. package/lib/components/calendar/common/constant.js.map +0 -1
  328. package/lib/components/calendar/common/helper.js +0 -83
  329. package/lib/components/calendar/common/helper.js.map +0 -1
  330. package/lib/components/calendar/common/plugins.js +0 -71
  331. package/lib/components/calendar/common/plugins.js.map +0 -1
  332. package/lib/components/calendar/controller/index.js +0 -30
  333. package/lib/components/calendar/controller/index.js.map +0 -1
  334. package/lib/components/calendar/index.js +0 -207
  335. package/lib/components/calendar/index.js.map +0 -1
  336. package/lib/components/calendar/ui/date-list/index.js +0 -43
  337. package/lib/components/calendar/ui/date-list/index.js.map +0 -1
  338. package/lib/components/calendar/ui/day-list/index.js +0 -16
  339. package/lib/components/calendar/ui/day-list/index.js.map +0 -1
  340. package/lib/components/card/index.js +0 -59
  341. package/lib/components/card/index.js.map +0 -1
  342. package/lib/components/checkbox/index.js +0 -55
  343. package/lib/components/checkbox/index.js.map +0 -1
  344. package/lib/components/countdown/index.js +0 -137
  345. package/lib/components/countdown/index.js.map +0 -1
  346. package/lib/components/countdown/item/index.js +0 -24
  347. package/lib/components/countdown/item/index.js.map +0 -1
  348. package/lib/components/curtain/index.js +0 -45
  349. package/lib/components/curtain/index.js.map +0 -1
  350. package/lib/components/divider/index.js +0 -40
  351. package/lib/components/divider/index.js.map +0 -1
  352. package/lib/components/drawer/index.js +0 -93
  353. package/lib/components/drawer/index.js.map +0 -1
  354. package/lib/components/fab/index.js +0 -26
  355. package/lib/components/fab/index.js.map +0 -1
  356. package/lib/components/flex/index.js +0 -38
  357. package/lib/components/flex/index.js.map +0 -1
  358. package/lib/components/flex/item/index.js +0 -31
  359. package/lib/components/flex/item/index.js.map +0 -1
  360. package/lib/components/float-layout/index.js +0 -76
  361. package/lib/components/float-layout/index.js.map +0 -1
  362. package/lib/components/form/index.js +0 -30
  363. package/lib/components/form/index.js.map +0 -1
  364. package/lib/components/grid/index.js +0 -71
  365. package/lib/components/grid/index.js.map +0 -1
  366. package/lib/components/icon/index.js +0 -37
  367. package/lib/components/icon/index.js.map +0 -1
  368. package/lib/components/image-picker/index.js +0 -138
  369. package/lib/components/image-picker/index.js.map +0 -1
  370. package/lib/components/indexes/index.js +0 -215
  371. package/lib/components/indexes/index.js.map +0 -1
  372. package/lib/components/input/index.js +0 -168
  373. package/lib/components/input/index.js.map +0 -1
  374. package/lib/components/input-number/index.js +0 -165
  375. package/lib/components/input-number/index.js.map +0 -1
  376. package/lib/components/list/index.js +0 -19
  377. package/lib/components/list/index.js.map +0 -1
  378. package/lib/components/list/item/index.js +0 -105
  379. package/lib/components/list/item/index.js.map +0 -1
  380. package/lib/components/load-more/index.js +0 -48
  381. package/lib/components/load-more/index.js.map +0 -1
  382. package/lib/components/loading/index.js +0 -32
  383. package/lib/components/loading/index.js.map +0 -1
  384. package/lib/components/message/index.js +0 -69
  385. package/lib/components/message/index.js.map +0 -1
  386. package/lib/components/modal/action/index.js +0 -20
  387. package/lib/components/modal/action/index.js.map +0 -1
  388. package/lib/components/modal/content/index.js +0 -10
  389. package/lib/components/modal/content/index.js.map +0 -1
  390. package/lib/components/modal/header/index.js +0 -10
  391. package/lib/components/modal/header/index.js.map +0 -1
  392. package/lib/components/modal/index.js +0 -97
  393. package/lib/components/modal/index.js.map +0 -1
  394. package/lib/components/nav-bar/index.js +0 -105
  395. package/lib/components/nav-bar/index.js.map +0 -1
  396. package/lib/components/noticebar/index.js +0 -163
  397. package/lib/components/noticebar/index.js.map +0 -1
  398. package/lib/components/pagination/index.js +0 -115
  399. package/lib/components/pagination/index.js.map +0 -1
  400. package/lib/components/progress/index.js +0 -45
  401. package/lib/components/progress/index.js.map +0 -1
  402. package/lib/components/radio/index.js +0 -43
  403. package/lib/components/radio/index.js.map +0 -1
  404. package/lib/components/range/index.js +0 -152
  405. package/lib/components/range/index.js.map +0 -1
  406. package/lib/components/rate/index.js +0 -56
  407. package/lib/components/rate/index.js.map +0 -1
  408. package/lib/components/search-bar/index.js +0 -121
  409. package/lib/components/search-bar/index.js.map +0 -1
  410. package/lib/components/segmented-control/index.js +0 -59
  411. package/lib/components/segmented-control/index.js.map +0 -1
  412. package/lib/components/slider/index.js +0 -77
  413. package/lib/components/slider/index.js.map +0 -1
  414. package/lib/components/steps/index.js +0 -50
  415. package/lib/components/steps/index.js.map +0 -1
  416. package/lib/components/swipe-action/index.js +0 -171
  417. package/lib/components/swipe-action/index.js.map +0 -1
  418. package/lib/components/swipe-action/options/index.js +0 -10
  419. package/lib/components/swipe-action/options/index.js.map +0 -1
  420. package/lib/components/switch/index.js +0 -48
  421. package/lib/components/switch/index.js.map +0 -1
  422. package/lib/components/tab-bar/index.js +0 -96
  423. package/lib/components/tab-bar/index.js.map +0 -1
  424. package/lib/components/tabs/index.js +0 -190
  425. package/lib/components/tabs/index.js.map +0 -1
  426. package/lib/components/tabs-pane/index.js +0 -30
  427. package/lib/components/tabs-pane/index.js.map +0 -1
  428. package/lib/components/tag/index.js +0 -55
  429. package/lib/components/tag/index.js.map +0 -1
  430. package/lib/components/textarea/index.js +0 -95
  431. package/lib/components/textarea/index.js.map +0 -1
  432. package/lib/components/timeline/index.js +0 -53
  433. package/lib/components/timeline/index.js.map +0 -1
  434. package/lib/components/toast/img.json +0 -5
  435. package/lib/components/toast/index.js +0 -117
  436. package/lib/components/toast/index.js.map +0 -1
  437. package/lib/index.js.map +0 -1
  438. package/types/accordion.d.ts +0 -49
  439. package/types/action-sheet.d.ts +0 -55
  440. package/types/activity-indicator.d.ts +0 -33
  441. package/types/avatar.d.ts +0 -39
  442. package/types/badge.d.ts +0 -24
  443. package/types/base.d.ts +0 -26
  444. package/types/button.d.ts +0 -70
  445. package/types/calendar.d.ts +0 -225
  446. package/types/card.d.ts +0 -48
  447. package/types/checkbox.d.ts +0 -24
  448. package/types/countdown.d.ts +0 -95
  449. package/types/curtain.d.ts +0 -26
  450. package/types/divider.d.ts +0 -33
  451. package/types/drawer.d.ts +0 -48
  452. package/types/fab.d.ts +0 -21
  453. package/types/flex.d.ts +0 -27
  454. package/types/float-button.d.ts +0 -26
  455. package/types/float-layout.d.ts +0 -73
  456. package/types/form.d.ts +0 -26
  457. package/types/grid.d.ts +0 -51
  458. package/types/icon.d.ts +0 -12
  459. package/types/image-picker.d.ts +0 -73
  460. package/types/index.d.ts +0 -55
  461. package/types/indexes.d.ts +0 -76
  462. package/types/input-number.d.ts +0 -89
  463. package/types/input.d.ts +0 -162
  464. package/types/list.d.ts +0 -84
  465. package/types/load-more.d.ts +0 -43
  466. package/types/message.d.ts +0 -43
  467. package/types/modal.d.ts +0 -62
  468. package/types/nav-bar.d.ts +0 -65
  469. package/types/noticebar.d.ts +0 -65
  470. package/types/pagination.d.ts +0 -51
  471. package/types/progress.d.ts +0 -30
  472. package/types/radio.d.ts +0 -47
  473. package/types/range.d.ts +0 -63
  474. package/types/rate.d.ts +0 -34
  475. package/types/search-bar.d.ts +0 -105
  476. package/types/segmented-control.d.ts +0 -44
  477. package/types/slider.d.ts +0 -73
  478. package/types/steps.d.ts +0 -69
  479. package/types/swipe-action.d.ts +0 -86
  480. package/types/switch.d.ts +0 -38
  481. package/types/tab-bar.d.ts +0 -98
  482. package/types/tabs-pane.d.ts +0 -25
  483. package/types/tabs.d.ts +0 -62
  484. package/types/tag.d.ts +0 -48
  485. package/types/textarea.d.ts +0 -113
  486. package/types/timeline.d.ts +0 -46
  487. package/types/toast.d.ts +0 -53
@@ -1,80 +0,0 @@
1
- @use "sass:math";
2
- @import '../variables/default.scss';
3
- @import '../mixins/index.scss';
4
-
5
- .at-button {
6
- position: relative;
7
- display: flex;
8
- justify-content: center;
9
- height: $at-button-height;
10
- color: $color-text-base;
11
- font-size: $font-size-lg;
12
- line-height: $at-button-height - 2;
13
- text-align: center;
14
- border-radius: $border-radius-md;
15
- border: 1PX solid $color-border-base;
16
- margin: 0 $spacing-h-xl;
17
- // &:active {
18
- // opacity: $opacity-active;
19
- // }
20
-
21
- /* elements */
22
-
23
- &__icon {
24
- margin: 2PX 20px 0 20px;
25
- }
26
-
27
- /* modifiers */
28
- &--active {
29
- opacity: $opacity-active;
30
- }
31
-
32
- &--disabled {
33
- opacity: $opacity-disabled;
34
- }
35
-
36
- &--primary {
37
- color: $color-text-base-inverse;
38
- border: 1PX solid $at-button-border-color-primary;
39
- background: $at-button-bg;
40
- }
41
-
42
- &--secondary {
43
- border: 1PX solid $at-button-border-color-secondary;
44
- background-color: $color-white;
45
-
46
- &--text {
47
- color: $at-button-color;
48
- font-size: 36px;
49
- }
50
- }
51
-
52
- &--circle {
53
- border-radius: math.div($at-button-height, 2);
54
- overflow: hidden;
55
- }
56
-
57
- &--small {
58
- align-self: flex-start;
59
- margin: 0;
60
- width: auto;
61
- min-width: 100px;
62
- max-width: 710px;
63
- height: $at-button-height-sm;
64
-
65
- &--text {
66
- font-size: 26px;
67
- }
68
- }
69
-
70
- &--full {
71
- width: 100%;
72
- margin: 0;
73
- max-width: 100%;
74
- border-radius: 0;
75
- }
76
- }
77
-
78
- .at-button--circle {
79
- border-radius: math.div($at-button-height-sm, 2);
80
- }
@@ -1,182 +0,0 @@
1
- @import '../variables/default.scss';
2
- @import '../mixins/index.scss';
3
-
4
- .at-calendar {
5
- overflow: hidden;
6
-
7
- /* elements */
8
- &__header {
9
- .header__flex {
10
- @include display-flex;
11
- @include align-items(center);
12
-
13
- height: 72px;
14
- color: $at-calendar-header-color;
15
- text-align: center;
16
-
17
- &-item {
18
- @include flex(0 0 calc(100% / 7));
19
-
20
- font-size: 30px;
21
- }
22
- }
23
- }
24
-
25
- &__list {
26
- &.flex {
27
- @include display-flex;
28
- @include align-items();
29
- @include flex-wrap(wrap);
30
-
31
- color: $at-calendar-day-color;
32
-
33
- .flex__item {
34
- @include flex(0 0 calc(100% / 7));
35
-
36
- font-size: 30px;
37
- text-align: center;
38
- position: relative;
39
- margin: 5px 0;
40
-
41
- &-container {
42
- @include align-items(center);
43
- @include display-flex;
44
-
45
- width: $at-calendar-day-size;
46
- height: $at-calendar-day-size;
47
- margin-left: auto;
48
- margin-right: auto;
49
- border-radius: 50%;
50
-
51
- .container-text {
52
- @include flex;
53
- }
54
- }
55
-
56
- &-extra {
57
- .extra-marks {
58
- position: absolute;
59
- bottom: 5px;
60
- line-height: 0;
61
- left: 50%;
62
- // transform: translateX(-50%);
63
-
64
- .mark {
65
- width: $at-calendar-mark-size;
66
- height: $at-calendar-mark-size;
67
- margin-right: 4px;
68
- // display: inline-block;
69
- background-color: $at-calendar-main-color;
70
- border-radius: 50%;
71
- overflow: hidden;
72
-
73
- &:last-child {
74
- margin-right: 0;
75
- }
76
- }
77
- }
78
- }
79
-
80
- &--today {
81
- color: $at-calendar-main-color;
82
- font-weight: bolder;
83
- }
84
-
85
- &--blur {
86
- color: #e1e4e7;
87
- }
88
-
89
- &--selected {
90
- color: white;
91
- background-color: rgba($color: $at-calendar-main-color, $alpha: 0.7);
92
-
93
- &-head {
94
- border-top-left-radius: 40px;
95
- border-bottom-left-radius: 40px;
96
- }
97
-
98
- &-tail {
99
- border-top-right-radius: 40px;
100
- border-bottom-right-radius: 40px;
101
- }
102
-
103
- /* stylelint-disable-next-line */
104
- .extra-marks .mark {
105
- background-color: white;
106
- }
107
-
108
- &-head.flex__item--selected-tail {
109
- background-color: transparent;
110
-
111
- .flex__item-container {
112
- background-color: rgba(
113
- $color: $at-calendar-main-color,
114
- $alpha: 0.7
115
- );
116
- }
117
- }
118
- }
119
- }
120
- }
121
- }
122
-
123
- &__controller {
124
- @include display-flex;
125
- @include align-items(center);
126
- @include justify-content(center);
127
-
128
- margin-bottom: 20px;
129
-
130
- .controller__arrow {
131
- @include flex(0 0 40px);
132
-
133
- height: 40px;
134
- border-radius: 12px;
135
- // display: inline-block;
136
- background-size: 16px 24px;
137
- background-position: center;
138
- background-color: #f7f8fc;
139
- background-repeat: no-repeat;
140
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAYCAYAAADzoH0MAAAAAXNSR0IArs4c6QAAAnFJREFUOBGVVF1rE0EUnXt3tzFtWmqjKYKfqIhVa1L8FQVRWtwnXwRhidXGDwQf81oCUQMioZRCHwNSgiD4lD9QSYVKsA8KbaW1jbamX8adnWsmMnESbYz7cs6ee8/ZnZm7y9h/Xk/Gs70TE9lOZQNFWsGx1IvDJoozxNDttNpmHOfyTssBj59PHxceP6keREDlYPvBGUMJzTD5LHuKhHtC70EEQe72atMAIoLu0MWzRPxInZnEdxZib2I37L2XEI/HsSvYd44AQrqZIW5b3J8fHR0sS/2ve5DJZIzFFexnSD262QAs+c1js45zyVU6KqIwnU5bS58x0mhGhusbaz153Sw9dW+QSr3yCdwJe4wCKlCigbAWiw7PAYDQdclrAclkxk8+iDBifr3JMq3lO86VQsVMuq549RQSU687mOcNANE+VfiFxuLd6NX3e5llD8qjskqb54E8n24mk5Yf3B6ab2auBsgGC8Q7QOJ1AS6ExrSZ12s6r57CyIi99cNgswywtkkIzDB2eSSdftmuGxp57RgfOfY38HlvRWVNqgmYsDb57sDkZK5hb1RHZQ9+U8bu37S/MtOc0zUg8G2U1yOV4WrTdcXrAqT4MDq0yokXVINEwb32pS9WOJfLmboueW0OGgtP05mj3IXTum6iuXHogDtr27an9D/eQBVijr2AiB/VvUQuePenNXZBfmhKrxEl6Hjv1vAHA2lJ1wRBcH9vf5+cH6k3DZANsei1eWCwIrm6uOf1Jsenq8v7Z4ActFJxrsBMo6gC0GAebPHq/Z6bqJoVyn/EQpGFK08MmF2B/Oj1wZKqtYzxeM5MJKY6dMNPQnnePR8FubkAAAAASUVORK5CYII=");
141
-
142
- &--right {
143
- // transform: rotate(180deg);
144
- }
145
-
146
- &--disabled {
147
- opacity: 0.5;
148
- }
149
- }
150
-
151
- .controller__info {
152
- @include flex(0 0 auto);
153
-
154
- font-size: 30px;
155
- margin-left: 40px;
156
- margin-right: 40px;
157
- }
158
- }
159
- }
160
-
161
- .at-calendar-slider__main {
162
- .main__body {
163
- @include display-flex;
164
-
165
- width: 100%;
166
-
167
- &--animate {
168
- // transition:: transform 300ms cubic-bezier(0.36, 0.66, 0.04, 1);
169
- }
170
-
171
- .body__slider {
172
- @include flex(0 0 100%);
173
- }
174
- }
175
-
176
- &--weapp,
177
- &--swan {
178
- .main__body {
179
- height: 480px;
180
- }
181
- }
182
- }
@@ -1,88 +0,0 @@
1
- @import '../variables/default.scss';
2
- @import '../mixins/index.scss';
3
-
4
- .at-card {
5
- @include border-thin($color: $color-border-light, $width: 1PX);
6
- flex: 1;
7
- margin: 0 $spacing-h-lg;
8
- border-radius: $border-radius-lg;
9
- background-color: $color-bg;
10
-
11
- /* elements */
12
- &__header {
13
- @include display-flex;
14
- @include align-items(center);
15
- @include border-thin-bottom($width: 1PX);
16
-
17
- padding: $spacing-v-md $spacing-h-lg;
18
- position: relative;
19
-
20
- &-title,
21
- &-extra {
22
- // @include line;
23
-
24
- // line-height: $line-height-zh;
25
- }
26
-
27
- &-thumb {
28
- @include flex(0, 0, $at-card-thumb-size);
29
-
30
- height: $at-card-thumb-size;
31
- // display: block;
32
- line-height: 0;
33
- margin-right: $spacing-h-md;
34
-
35
- &-info {
36
- width: 100%;
37
- height: 100%;
38
- }
39
- }
40
-
41
- &-icon {
42
- margin-right: $spacing-h-md;
43
- font-size: $at-card-icon-size;
44
- }
45
-
46
- &-title {
47
- @include flex(auto);
48
-
49
- // display: block;
50
- color: $at-card-title-color;
51
- font-size: $font-size-lg;
52
- line-height: $line-height-zh * $font-size-lg;
53
- }
54
-
55
- &-extra {
56
- @include flex(0, 0, auto);
57
-
58
- max-width: 200px;
59
- margin-left: $spacing-h-lg;
60
- color: $at-card-extra-color;
61
- font-size: $font-size-base;
62
- line-height: $line-height-zh * $font-size-base;
63
- }
64
- }
65
-
66
- &__content {
67
- padding: $spacing-v-lg $spacing-h-lg;
68
-
69
- &-info {
70
- color: $at-card-info-color;
71
- font-size: $font-size-base;
72
- }
73
-
74
- &-note {
75
- margin-top: $spacing-v-md;
76
- color: $at-card-note-color;
77
- font-size: $font-size-sm;
78
- }
79
- }
80
-
81
- /* modifiers */
82
- &--full {
83
- margin: 0;
84
- border-radius: 0;
85
- border-left-width: 0;
86
- border-right-width: 0;
87
- }
88
- }
@@ -1,108 +0,0 @@
1
- @use "sass:math";
2
- @import '../variables/default.scss';
3
- @import '../mixins/index.scss';
4
-
5
- $component: '.at-checkbox';
6
-
7
- #{$component} {
8
- position: relative;
9
- background-color: $color-bg;
10
- @include hairline-top-relative();
11
- @include hairline-bottom-relative();
12
-
13
- /* elements */
14
- &__option-wrap {
15
- padding: $spacing-v-lg $spacing-h-xl $spacing-v-lg 0;
16
- }
17
-
18
- &__option-cnt {
19
- display: flex;
20
- flex-direction: row;
21
-
22
- &--disabled {
23
- opacity: $opacity-disabled;
24
- }
25
- }
26
-
27
- &__title {
28
- // display: inline-flex;
29
- color: $at-checkbox-title-color;
30
- font-size: $at-checkbox-title-font-size;
31
- line-height: $line-height-zh * $at-checkbox-title-font-size;
32
- text-align: left;
33
- }
34
-
35
- &__icon-cnt {
36
- // display: inline-flex;
37
- align-items: center;
38
- justify-content: center;
39
- margin-top: 4px;
40
- margin-right: $spacing-h-lg;
41
- width: $at-checkbox-circle-size;
42
- min-width: $at-checkbox-circle-size;
43
- height: $at-checkbox-circle-size;
44
- color: transparent;
45
- font-size: $at-checkbox-icon-size;
46
- line-height: $at-checkbox-icon-size;
47
- border: 2px solid rgba($color: $at-checkbox-icon-color, $alpha: 0.2);
48
- border-radius: math.div($at-checkbox-circle-size, 2);
49
- background-color: $color-bg;
50
- // box-sizing: border-box;
51
- // transition:: all 0.2s;
52
- &--check {
53
- background-color: $color-brand;
54
- font-size: $at-checkbox-icon-size;
55
- }
56
- }
57
-
58
- &__desc {
59
- // display: block;
60
- padding-left: $at-checkbox-circle-size + $spacing-h-lg;
61
- color: $at-checkbox-desc-color;
62
- font-size: $at-checkbox-desc-font-size;
63
- text-align: left;
64
- line-height: $line-height-zh * $at-checkbox-desc-font-size;
65
- letter-spacing: 0;
66
-
67
- &--disabled {
68
- opacity: $opacity-disabled;
69
- }
70
- }
71
-
72
- &__option {
73
- padding-left: $spacing-h-xl;
74
- @include active;
75
-
76
- &--disabled {
77
- // #{$component}__option-cnt,
78
- // #{$component}__desc {
79
- // opacity: $opacity-disabled;
80
- // }
81
-
82
- // &:active {
83
- // background-color: $color-bg;
84
- // }
85
- }
86
-
87
- &--selected {
88
- // #{$component}__icon-cnt {
89
- // color: $at-checkbox-icon-color-checked;
90
- // border: none;
91
- // background-color: $at-checkbox-icon-color;
92
- // }
93
- }
94
- }
95
- // &__option + &__option {
96
- // #{$component}__option-wrap {
97
- // @include hairline-top();
98
- // }
99
- // }
100
- }
101
-
102
- #{$component}__option-wrap {
103
- @include hairline-top();
104
-
105
- &--without-border {
106
- border-top-width: 0;
107
- }
108
- }
@@ -1,82 +0,0 @@
1
- @import '../variables/default.scss';
2
- @import '../mixins/index.scss';
3
-
4
- .at-countdown {
5
- // display: inline-block;
6
- display: flex;
7
- flex-direction: row;
8
- min-height: $at-countdown-font-size;
9
-
10
- /* elements */
11
- &__item {
12
- // display: inline-flex;
13
- display: flex;
14
- flex-direction: row;
15
- align-items: center;
16
- }
17
-
18
- &__time-box {
19
- // display: inline-block;
20
- min-width: $at-countdown-font-size;
21
- }
22
-
23
- &__time {
24
- font: {
25
- size: $at-countdown-font-size;
26
- style: normal;
27
- weight: 400;
28
- }
29
-
30
- color: $at-countdown-num-color;
31
- text-align: center;
32
- }
33
-
34
- &__separator {
35
- // display: inline-flex;
36
- display: flex;
37
- flex-direction: row;
38
- padding: 0 $spacing-v-xs;
39
- font-size: $font-size-base;
40
- text-align: justify;
41
- align-items: center;
42
- }
43
-
44
- /* modifiers */
45
- &--card {
46
- display: flex;
47
- flex-direction: row;
48
-
49
- &__time-box {
50
- // display: inline-block;
51
- min-width: $at-countdown-font-size;
52
- position: relative;
53
- padding: $spacing-v-xs 0;
54
- border: 1PX solid $color-border-grey;
55
- border-radius: $border-radius-md;
56
- background-color: $at-countdown-card-num-bg-color;
57
-
58
- &__crossbar {
59
- position: absolute;
60
- top: $spacing-v-xs;
61
- left: 0;
62
- width: 100%;
63
- height: 55%;
64
- border-bottom-width: 1PX;
65
- border-bottom-color: $color-grey-3;
66
- z-index: $zindex-divider;
67
- }
68
- }
69
-
70
- &__time {
71
- position: relative;
72
- color: $at-countdown-card-num-color;
73
- text-align: center;
74
- z-index: $zindex-divider + 1;
75
- font: {
76
- size: $at-countdown-font-size;
77
- style: normal;
78
- weight: 400;
79
- }
80
- }
81
- }
82
- }
@@ -1,129 +0,0 @@
1
- @use "sass:math";
2
- @import '../variables/default.scss';
3
- @import '../mixins/index.scss';
4
-
5
- $at-curtain-btn-size: 56px;
6
-
7
- .at-curtain {
8
- /* #ifndef rn */
9
- // display: block;
10
- // position: fixed;
11
- /* #endif */
12
- /* #ifdef rn */
13
- position: absolute;
14
- /* #endif */
15
- top: 0;
16
- bottom: 0;
17
- left: 0;
18
- right: 0;
19
- background-color: rgba($color: #000, $alpha: 0.3);
20
- z-index: $zindex-curtain;
21
-
22
- /* elements */
23
- &__container {
24
- display: flex;
25
- position: relative;
26
- margin: 0 auto;
27
- width: 80%;
28
- height: 100%;
29
- justify-content: center;
30
- align-items: center;
31
- /* #ifndef rn */
32
- // box-sizing: border-box;
33
- /* #endif */
34
- opacity: 1;
35
- }
36
-
37
- &__body {
38
- position: relative;
39
- width: 100%;
40
- }
41
-
42
- &__btn-close {
43
- display: flex;
44
- position: absolute;
45
- width: $at-curtain-btn-size;
46
- height: $at-curtain-btn-size;
47
- margin-left: -1 * math.div($at-curtain-btn-size, 2);
48
- left: 50%;
49
- bottom: -($at-curtain-btn-size + 24px);
50
- align-items: center;
51
- justify-content: center;
52
- border: 2PX solid $at-curtain-btn-color;
53
- border-radius: math.div($at-curtain-btn-size, 2);
54
- /* #ifndef rn */
55
- // box-sizing: border-box;
56
- /* #endif */
57
- z-index: $zindex-curtain;
58
-
59
- &__at-icon {
60
- color: $at-curtain-btn-color;
61
- }
62
-
63
- /* #ifndef rn */
64
- // &::before,
65
- // &::after {
66
- // content: '';
67
- // position: absolute;
68
- // top: 50%;
69
- // left: 50%;
70
- // display: inline-block;
71
- // width: 34px;
72
- // height: 2PX;
73
- // border-radius: 1PX;
74
- // background: $at-curtain-btn-color;
75
- // }
76
-
77
- // &::before {
78
- // transform: translate3d(-50%, -50%, 0) rotate(45deg);
79
- // }
80
-
81
- // &::after {
82
- // transform: translate3d(-50%, -50%, 0) rotate(-45deg);
83
- // }
84
- /* #endif */
85
-
86
- &--top {
87
- margin-left: -1 * math.div($at-curtain-btn-size, 2);
88
- top: -($at-curtain-btn-size + 24px);
89
- left: 50%;
90
- bottom: auto;
91
- }
92
-
93
- &--top-left {
94
- top: -($at-curtain-btn-size + 24px);
95
- left: 0;
96
- bottom: auto;
97
- }
98
-
99
- &--top-right {
100
- top: -($at-curtain-btn-size + 24px);
101
- left: auto;
102
- right: 0;
103
- bottom: auto;
104
- }
105
-
106
- &--bottom {
107
- margin-left: -1 * math.div($at-curtain-btn-size, 2);
108
- bottom: -($at-curtain-btn-size + 24px);
109
- left: 50%;
110
- }
111
-
112
- &--bottom-left {
113
- bottom: -($at-curtain-btn-size + 24px);
114
- left: 0;
115
- }
116
-
117
- &--bottom-right {
118
- bottom: -($at-curtain-btn-size + 24px);
119
- left: auto;
120
- right: 0;
121
- }
122
- }
123
-
124
- /* modifiers */
125
- &--closed {
126
- display: none;
127
- // visibility: hidden;
128
- }
129
- }
@@ -1,33 +0,0 @@
1
- @import '../variables/default.scss';
2
- @import '../mixins/index.scss';
3
-
4
- .at-divider {
5
- display: flex;
6
- align-items: center;
7
- justify-content: center;
8
- position: relative;
9
- width: 100%;
10
- height: $at-divider-height;
11
- font-size: $font-size-base;
12
- text-align: center;
13
-
14
- /* elements */
15
- &__content {
16
- position: relative;
17
- padding: 0 $spacing-h-lg;
18
- color: $at-divider-content-color;
19
- font-size: $at-divider-font-size;
20
- background: $color-bg;
21
- z-index: $zindex-divider + 1;
22
- }
23
-
24
- &__line {
25
- position: absolute;
26
- top: 50%;
27
- left: 0;
28
- width: 100%;
29
- height: 1PX;
30
- background-color: $at-divider-line-color;
31
- z-index: $zindex-divider;
32
- }
33
- }