@varlet/ui 2.6.2 → 2.7.0-alpha.1673584157662

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 (452) hide show
  1. package/es/action-sheet/{ActionSheet.js → ActionSheet.mjs} +7 -7
  2. package/es/action-sheet/{index.js → index.mjs} +2 -2
  3. package/es/action-sheet/{props.js → props.mjs} +2 -2
  4. package/es/action-sheet/style/{index.js → index.mjs} +0 -1
  5. package/es/app-bar/{AppBar.js → AppBar.mjs} +2 -2
  6. package/es/app-bar/{index.js → index.mjs} +1 -1
  7. package/es/app-bar/{props.js → props.mjs} +0 -0
  8. package/es/app-bar/style/{index.js → index.mjs} +0 -1
  9. package/es/back-top/{BackTop.js → BackTop.mjs} +6 -6
  10. package/es/back-top/{index.js → index.mjs} +1 -1
  11. package/es/back-top/{props.js → props.mjs} +1 -1
  12. package/es/back-top/style/{index.js → index.mjs} +0 -1
  13. package/es/badge/{Badge.js → Badge.mjs} +3 -3
  14. package/es/badge/{index.js → index.mjs} +1 -1
  15. package/es/badge/{props.js → props.mjs} +0 -0
  16. package/es/badge/style/{index.js → index.mjs} +0 -1
  17. package/es/bottom-navigation/{BottomNavigation.js → BottomNavigation.mjs} +4 -4
  18. package/es/bottom-navigation/{index.js → index.mjs} +1 -1
  19. package/es/bottom-navigation/{props.js → props.mjs} +1 -1
  20. package/es/bottom-navigation/{provide.js → provide.mjs} +1 -1
  21. package/es/bottom-navigation/style/{index.js → index.mjs} +0 -1
  22. package/es/bottom-navigation-item/{BottomNavigationItem.js → BottomNavigationItem.mjs} +6 -6
  23. package/es/bottom-navigation-item/{index.js → index.mjs} +1 -1
  24. package/es/bottom-navigation-item/{props.js → props.mjs} +1 -1
  25. package/es/bottom-navigation-item/{provide.js → provide.mjs} +2 -2
  26. package/es/bottom-navigation-item/style/{index.js → index.mjs} +0 -1
  27. package/es/breadcrumb/{Breadcrumb.js → Breadcrumb.mjs} +3 -3
  28. package/es/breadcrumb/{index.js → index.mjs} +1 -1
  29. package/es/breadcrumb/{props.js → props.mjs} +1 -1
  30. package/es/breadcrumb/{provide.js → provide.mjs} +2 -2
  31. package/es/breadcrumb/style/{index.js → index.mjs} +0 -1
  32. package/es/breadcrumbs/{Breadcrumbs.js → Breadcrumbs.mjs} +3 -3
  33. package/es/breadcrumbs/{index.js → index.mjs} +1 -1
  34. package/es/breadcrumbs/{props.js → props.mjs} +0 -0
  35. package/es/breadcrumbs/{provide.js → provide.mjs} +1 -1
  36. package/es/breadcrumbs/style/{index.js → index.mjs} +0 -1
  37. package/es/button/{Button.js → Button.mjs} +4 -4
  38. package/es/button/{index.js → index.mjs} +1 -1
  39. package/es/button/{props.js → props.mjs} +2 -2
  40. package/es/button/style/{index.js → index.mjs} +0 -1
  41. package/es/card/{Card.js → Card.mjs} +8 -8
  42. package/es/card/{index.js → index.mjs} +1 -1
  43. package/es/card/{props.js → props.mjs} +1 -1
  44. package/es/card/style/{index.js → index.mjs} +0 -1
  45. package/es/cell/{Cell.js → Cell.mjs} +3 -3
  46. package/es/cell/{index.js → index.mjs} +1 -1
  47. package/es/cell/{props.js → props.mjs} +0 -0
  48. package/es/cell/style/{index.js → index.mjs} +0 -1
  49. package/es/checkbox/{Checkbox.js → Checkbox.mjs} +7 -7
  50. package/es/checkbox/{index.js → index.mjs} +1 -1
  51. package/es/checkbox/{props.js → props.mjs} +1 -1
  52. package/es/checkbox/{provide.js → provide.mjs} +2 -2
  53. package/es/checkbox/style/{index.js → index.mjs} +0 -1
  54. package/es/checkbox-group/{CheckboxGroup.js → CheckboxGroup.mjs} +5 -5
  55. package/es/checkbox-group/{index.js → index.mjs} +1 -1
  56. package/es/checkbox-group/{props.js → props.mjs} +1 -1
  57. package/es/checkbox-group/{provide.js → provide.mjs} +1 -1
  58. package/es/checkbox-group/style/{index.js → index.mjs} +0 -1
  59. package/es/chip/{Chip.js → Chip.mjs} +3 -3
  60. package/es/chip/{index.js → index.mjs} +1 -1
  61. package/es/chip/{props.js → props.mjs} +2 -2
  62. package/es/chip/style/{index.js → index.mjs} +0 -1
  63. package/es/col/{Col.js → Col.mjs} +4 -4
  64. package/es/col/{index.js → index.mjs} +1 -1
  65. package/es/col/{props.js → props.mjs} +1 -1
  66. package/es/col/{provide.js → provide.mjs} +2 -2
  67. package/es/col/style/{index.js → index.mjs} +0 -1
  68. package/es/collapse/{Collapse.js → Collapse.mjs} +3 -3
  69. package/es/collapse/{index.js → index.mjs} +1 -1
  70. package/es/collapse/{props.js → props.mjs} +1 -1
  71. package/es/collapse/{provide.js → provide.mjs} +1 -1
  72. package/es/collapse/style/{index.js → index.mjs} +0 -1
  73. package/es/collapse-item/{CollapseItem.js → CollapseItem.mjs} +5 -5
  74. package/es/collapse-item/{index.js → index.mjs} +1 -1
  75. package/es/collapse-item/{props.js → props.mjs} +0 -0
  76. package/es/collapse-item/{provide.js → provide.mjs} +2 -2
  77. package/es/collapse-item/style/{index.js → index.mjs} +0 -1
  78. package/es/context/{index.js → index.mjs} +0 -0
  79. package/es/context/{lock.js → lock.mjs} +1 -1
  80. package/es/context/style/{index.js → index.mjs} +0 -0
  81. package/es/context/{zIndex.js → zIndex.mjs} +1 -1
  82. package/es/countdown/{Countdown.js → Countdown.mjs} +4 -4
  83. package/es/countdown/{index.js → index.mjs} +1 -1
  84. package/es/countdown/{props.js → props.mjs} +1 -1
  85. package/es/countdown/style/index.mjs +1 -0
  86. package/es/counter/{Counter.js → Counter.mjs} +7 -7
  87. package/es/counter/{index.js → index.mjs} +1 -1
  88. package/es/counter/{props.js → props.mjs} +1 -1
  89. package/es/counter/{provide.js → provide.mjs} +0 -0
  90. package/es/counter/style/{index.js → index.mjs} +0 -1
  91. package/es/date-picker/{DatePicker.js → DatePicker.mjs} +8 -8
  92. package/es/date-picker/{index.js → index.mjs} +1 -1
  93. package/es/date-picker/{props.js → props.mjs} +1 -1
  94. package/es/date-picker/src/{day-picker-panel.js → day-picker-panel.mjs} +5 -5
  95. package/es/date-picker/src/{month-picker-panel.js → month-picker-panel.mjs} +5 -5
  96. package/es/date-picker/src/{panel-header.js → panel-header.mjs} +4 -4
  97. package/es/date-picker/src/{year-picker-panel.js → year-picker-panel.mjs} +1 -1
  98. package/es/date-picker/style/{index.js → index.mjs} +0 -1
  99. package/es/dialog/{Dialog.js → Dialog.mjs} +7 -7
  100. package/es/dialog/{index.js → index.mjs} +2 -2
  101. package/es/dialog/{props.js → props.mjs} +2 -2
  102. package/es/dialog/style/{index.js → index.mjs} +0 -1
  103. package/es/divider/{Divider.js → Divider.mjs} +3 -3
  104. package/es/divider/{index.js → index.mjs} +1 -1
  105. package/es/divider/{props.js → props.mjs} +0 -0
  106. package/es/divider/style/{index.js → index.mjs} +0 -1
  107. package/es/form/{Form.js → Form.mjs} +5 -5
  108. package/es/form/{index.js → index.mjs} +3 -3
  109. package/es/form/{props.js → props.mjs} +0 -0
  110. package/es/form/{provide.js → provide.mjs} +1 -1
  111. package/es/form/style/index.mjs +1 -0
  112. package/es/form-details/{FormDetails.js → FormDetails.mjs} +2 -2
  113. package/es/form-details/{index.js → index.mjs} +1 -1
  114. package/es/form-details/{props.js → props.mjs} +0 -0
  115. package/es/form-details/style/{index.js → index.mjs} +0 -1
  116. package/es/icon/{Icon.js → Icon.mjs} +3 -3
  117. package/es/icon/{index.js → index.mjs} +1 -1
  118. package/es/icon/{props.js → props.mjs} +1 -1
  119. package/es/icon/style/{index.js → index.mjs} +0 -1
  120. package/es/image/{Image.js → Image.mjs} +5 -5
  121. package/es/image/{index.js → index.mjs} +1 -1
  122. package/es/image/{props.js → props.mjs} +1 -1
  123. package/es/image/style/{index.js → index.mjs} +0 -1
  124. package/es/image-preview/{ImagePreview.js → ImagePreview.mjs} +6 -6
  125. package/es/image-preview/{index.js → index.mjs} +2 -2
  126. package/es/image-preview/{props.js → props.mjs} +3 -3
  127. package/es/image-preview/style/{index.js → index.mjs} +0 -1
  128. package/es/index-anchor/{IndexAnchor.js → IndexAnchor.mjs} +4 -4
  129. package/es/index-anchor/{index.js → index.mjs} +1 -1
  130. package/es/index-anchor/{props.js → props.mjs} +0 -0
  131. package/es/index-anchor/{provide.js → provide.mjs} +2 -2
  132. package/es/index-anchor/style/{index.js → index.mjs} +0 -1
  133. package/es/index-bar/{IndexBar.js → IndexBar.mjs} +5 -5
  134. package/es/index-bar/{index.js → index.mjs} +1 -1
  135. package/es/index-bar/{props.js → props.mjs} +1 -1
  136. package/es/index-bar/{provide.js → provide.mjs} +1 -1
  137. package/es/index-bar/style/{index.js → index.mjs} +0 -1
  138. package/es/index.mjs +376 -0
  139. package/es/index.umd.mjs +376 -0
  140. package/es/input/{Input.js → Input.mjs} +5 -5
  141. package/es/input/{index.js → index.mjs} +1 -1
  142. package/es/input/{props.js → props.mjs} +1 -1
  143. package/es/input/{provide.js → provide.mjs} +0 -0
  144. package/es/input/style/{index.js → index.mjs} +0 -1
  145. package/es/lazy/{index.js → index.mjs} +3 -3
  146. package/es/lazy/style/{index.js → index.mjs} +0 -0
  147. package/es/link/{Link.js → Link.mjs} +3 -3
  148. package/es/link/{index.js → index.mjs} +1 -1
  149. package/es/link/{props.js → props.mjs} +1 -1
  150. package/es/link/style/{index.js → index.mjs} +0 -1
  151. package/es/list/{List.js → List.mjs} +7 -7
  152. package/es/list/{index.js → index.mjs} +1 -1
  153. package/es/list/{props.js → props.mjs} +1 -1
  154. package/es/list/style/{index.js → index.mjs} +0 -1
  155. package/es/loading/{Loading.js → Loading.mjs} +3 -3
  156. package/es/loading/{index.js → index.mjs} +1 -1
  157. package/es/loading/{props.js → props.mjs} +0 -0
  158. package/es/loading/style/{index.js → index.mjs} +0 -1
  159. package/es/loading-bar/{LoadingBar.js → LoadingBar.mjs} +4 -4
  160. package/es/loading-bar/{index.js → index.mjs} +2 -2
  161. package/es/loading-bar/{props.js → props.mjs} +0 -0
  162. package/es/loading-bar/style/{index.js → index.mjs} +0 -0
  163. package/es/locale/{en-US.js → en-US.mjs} +0 -0
  164. package/es/locale/{index.js → index.mjs} +2 -2
  165. package/es/locale/style/{index.js → index.mjs} +0 -0
  166. package/es/locale/{zh-CN.js → zh-CN.mjs} +0 -0
  167. package/es/menu/{Menu.js → Menu.mjs} +4 -4
  168. package/es/menu/{index.js → index.mjs} +1 -1
  169. package/es/menu/{props.js → props.mjs} +1 -1
  170. package/es/menu/style/{index.js → index.mjs} +0 -1
  171. package/es/menu/{usePopover.js → usePopover.mjs} +3 -3
  172. package/es/option/{Option.js → Option.mjs} +5 -5
  173. package/es/option/{index.js → index.mjs} +1 -1
  174. package/es/option/{props.js → props.mjs} +0 -0
  175. package/es/option/{provide.js → provide.mjs} +2 -2
  176. package/es/option/style/{index.js → index.mjs} +0 -1
  177. package/es/overlay/{Overlay.js → Overlay.mjs} +4 -4
  178. package/es/overlay/{index.js → index.mjs} +1 -1
  179. package/es/overlay/{props.js → props.mjs} +1 -1
  180. package/es/overlay/style/{index.js → index.mjs} +0 -0
  181. package/es/pagination/{Pagination.js → Pagination.mjs} +8 -8
  182. package/es/pagination/{index.js → index.mjs} +1 -1
  183. package/es/pagination/{porps.js → porps.mjs} +1 -1
  184. package/es/pagination/style/{index.js → index.mjs} +0 -1
  185. package/es/picker/{Picker.js → Picker.mjs} +7 -7
  186. package/es/picker/{index.js → index.mjs} +2 -2
  187. package/es/picker/{props.js → props.mjs} +2 -2
  188. package/es/picker/style/{index.js → index.mjs} +0 -1
  189. package/es/popup/{Popup.js → Popup.mjs} +4 -4
  190. package/es/popup/{index.js → index.mjs} +1 -1
  191. package/es/popup/{props.js → props.mjs} +1 -1
  192. package/es/popup/style/{index.js → index.mjs} +0 -0
  193. package/es/progress/{Progress.js → Progress.mjs} +3 -3
  194. package/es/progress/{index.js → index.mjs} +1 -1
  195. package/es/progress/{props.js → props.mjs} +0 -0
  196. package/es/progress/style/{index.js → index.mjs} +0 -1
  197. package/es/pull-refresh/{PullRefresh.js → PullRefresh.mjs} +4 -4
  198. package/es/pull-refresh/{index.js → index.mjs} +1 -1
  199. package/es/pull-refresh/{props.js → props.mjs} +1 -1
  200. package/es/pull-refresh/style/{index.js → index.mjs} +0 -1
  201. package/es/radio/{Radio.js → Radio.mjs} +7 -7
  202. package/es/radio/{index.js → index.mjs} +1 -1
  203. package/es/radio/{props.js → props.mjs} +1 -1
  204. package/es/radio/{provide.js → provide.mjs} +2 -2
  205. package/es/radio/style/{index.js → index.mjs} +0 -1
  206. package/es/radio-group/{RadioGroup.js → RadioGroup.mjs} +5 -5
  207. package/es/radio-group/{index.js → index.mjs} +1 -1
  208. package/es/radio-group/{props.js → props.mjs} +1 -1
  209. package/es/radio-group/{provide.js → provide.mjs} +1 -1
  210. package/es/radio-group/style/{index.js → index.mjs} +0 -1
  211. package/es/rate/{Rate.js → Rate.mjs} +7 -7
  212. package/es/rate/{index.js → index.mjs} +1 -1
  213. package/es/rate/{props.js → props.mjs} +1 -1
  214. package/es/rate/{provide.js → provide.mjs} +0 -0
  215. package/es/rate/style/{index.js → index.mjs} +0 -1
  216. package/es/result/{Empty.js → Empty.mjs} +0 -0
  217. package/es/result/{Error.js → Error.mjs} +0 -0
  218. package/es/result/{Info.js → Info.mjs} +0 -0
  219. package/es/result/{Question.js → Question.mjs} +0 -0
  220. package/es/result/{Result.js → Result.mjs} +9 -9
  221. package/es/result/{Success.js → Success.mjs} +1 -1
  222. package/es/result/{Warning.js → Warning.mjs} +0 -0
  223. package/es/result/{index.js → index.mjs} +1 -1
  224. package/es/result/{props.js → props.mjs} +0 -0
  225. package/es/result/style/{index.js → index.mjs} +0 -1
  226. package/es/ripple/{index.js → index.mjs} +3 -3
  227. package/es/ripple/style/{index.js → index.mjs} +0 -0
  228. package/es/row/{Row.js → Row.mjs} +4 -4
  229. package/es/row/{index.js → index.mjs} +1 -1
  230. package/es/row/{props.js → props.mjs} +1 -1
  231. package/es/row/{provide.js → provide.mjs} +1 -1
  232. package/es/row/style/{index.js → index.mjs} +0 -1
  233. package/es/select/{Select.js → Select.mjs} +9 -9
  234. package/es/select/{index.js → index.mjs} +1 -1
  235. package/es/select/{props.js → props.mjs} +1 -1
  236. package/es/select/{provide.js → provide.mjs} +1 -1
  237. package/es/select/style/{index.js → index.mjs} +0 -1
  238. package/es/skeleton/{Skeleton.js → Skeleton.mjs} +3 -3
  239. package/es/skeleton/{index.js → index.mjs} +1 -1
  240. package/es/skeleton/{props.js → props.mjs} +0 -0
  241. package/es/skeleton/style/{index.js → index.mjs} +0 -1
  242. package/es/slider/{Slider.js → Slider.mjs} +5 -5
  243. package/es/slider/{index.js → index.mjs} +1 -1
  244. package/es/slider/{props.js → props.mjs} +1 -1
  245. package/es/slider/{provide.js → provide.mjs} +0 -0
  246. package/es/slider/style/{index.js → index.mjs} +0 -1
  247. package/es/snackbar/{Snackbar.js → Snackbar.mjs} +3 -3
  248. package/es/snackbar/{core.js → core.mjs} +7 -7
  249. package/es/snackbar/{index.js → index.mjs} +4 -4
  250. package/es/snackbar/{props.js → props.mjs} +3 -3
  251. package/es/snackbar/style/{index.js → index.mjs} +0 -2
  252. package/es/space/{Space.js → Space.mjs} +4 -4
  253. package/es/space/{index.js → index.mjs} +1 -1
  254. package/es/space/{margin.js → margin.mjs} +0 -0
  255. package/es/space/{props.js → props.mjs} +0 -0
  256. package/es/space/style/{index.js → index.mjs} +0 -0
  257. package/es/step/{Step.js → Step.mjs} +4 -4
  258. package/es/step/{index.js → index.mjs} +1 -1
  259. package/es/step/{props.js → props.mjs} +0 -0
  260. package/es/step/{provide.js → provide.mjs} +2 -2
  261. package/es/step/style/{index.js → index.mjs} +0 -1
  262. package/es/steps/{Steps.js → Steps.mjs} +3 -3
  263. package/es/steps/{index.js → index.mjs} +1 -1
  264. package/es/steps/{props.js → props.mjs} +1 -1
  265. package/es/steps/{provide.js → provide.mjs} +1 -1
  266. package/es/steps/style/index.mjs +1 -0
  267. package/es/sticky/{Sticky.js → Sticky.mjs} +3 -3
  268. package/es/sticky/{index.js → index.mjs} +1 -1
  269. package/es/sticky/{props.js → props.mjs} +1 -1
  270. package/es/sticky/style/{index.js → index.mjs} +0 -1
  271. package/es/style-provider/{StyleProvider.js → StyleProvider.mjs} +2 -2
  272. package/es/style-provider/{index.js → index.mjs} +2 -2
  273. package/es/style-provider/style/index.mjs +1 -0
  274. package/es/style.css +1 -1
  275. package/es/style.mjs +72 -0
  276. package/es/styles/style/{index.js → index.mjs} +0 -0
  277. package/es/swipe/{Swipe.js → Swipe.mjs} +4 -4
  278. package/es/swipe/{index.js → index.mjs} +1 -1
  279. package/es/swipe/{props.js → props.mjs} +1 -1
  280. package/es/swipe/{provide.js → provide.mjs} +1 -1
  281. package/es/swipe/style/{index.js → index.mjs} +0 -1
  282. package/es/swipe-item/{SwipeItem.js → SwipeItem.mjs} +2 -2
  283. package/es/swipe-item/{index.js → index.mjs} +1 -1
  284. package/es/swipe-item/{provide.js → provide.mjs} +2 -2
  285. package/es/swipe-item/style/{index.js → index.mjs} +0 -1
  286. package/es/switch/{Switch.js → Switch.mjs} +7 -7
  287. package/es/switch/{index.js → index.mjs} +1 -1
  288. package/es/switch/{props.js → props.mjs} +1 -1
  289. package/es/switch/{provide.js → provide.mjs} +0 -0
  290. package/es/switch/style/{index.js → index.mjs} +0 -1
  291. package/es/tab/{Tab.js → Tab.mjs} +4 -4
  292. package/es/tab/{index.js → index.mjs} +1 -1
  293. package/es/tab/{props.js → props.mjs} +1 -1
  294. package/es/tab/{provide.js → provide.mjs} +2 -2
  295. package/es/tab/style/{index.js → index.mjs} +0 -1
  296. package/es/tab-item/{TabItem.js → TabItem.mjs} +4 -4
  297. package/es/tab-item/{index.js → index.mjs} +1 -1
  298. package/es/tab-item/{props.js → props.mjs} +0 -0
  299. package/es/tab-item/{provide.js → provide.mjs} +2 -2
  300. package/es/tab-item/style/{index.js → index.mjs} +0 -1
  301. package/es/table/{Table.js → Table.mjs} +2 -2
  302. package/es/table/{index.js → index.mjs} +1 -1
  303. package/es/table/style/{index.js → index.mjs} +0 -1
  304. package/es/tabs/{Tabs.js → Tabs.mjs} +6 -6
  305. package/es/tabs/{index.js → index.mjs} +1 -1
  306. package/es/tabs/{props.js → props.mjs} +2 -2
  307. package/es/tabs/{provide.js → provide.mjs} +1 -1
  308. package/es/tabs/style/{index.js → index.mjs} +0 -1
  309. package/es/tabs-items/{TabsItems.js → TabsItems.mjs} +5 -5
  310. package/es/tabs-items/{index.js → index.mjs} +1 -1
  311. package/es/tabs-items/{props.js → props.mjs} +1 -1
  312. package/es/tabs-items/{provide.js → provide.mjs} +1 -1
  313. package/es/tabs-items/style/{index.js → index.mjs} +0 -1
  314. package/es/themes/dark/{actionSheet.js → actionSheet.mjs} +0 -0
  315. package/es/themes/dark/{appBar.js → appBar.mjs} +0 -0
  316. package/es/themes/dark/{badge.js → badge.mjs} +0 -0
  317. package/es/themes/dark/{bottomNavigation.js → bottomNavigation.mjs} +0 -0
  318. package/es/themes/dark/{bottomNavigationItem.js → bottomNavigationItem.mjs} +0 -0
  319. package/es/themes/dark/{breadcrumb.js → breadcrumb.mjs} +0 -0
  320. package/es/themes/dark/{button.js → button.mjs} +0 -0
  321. package/es/themes/dark/{card.js → card.mjs} +0 -0
  322. package/es/themes/dark/{cell.js → cell.mjs} +0 -0
  323. package/es/themes/dark/{checkbox.js → checkbox.mjs} +0 -0
  324. package/es/themes/dark/{chip.js → chip.mjs} +0 -0
  325. package/es/themes/dark/{collapse.js → collapse.mjs} +0 -0
  326. package/es/themes/dark/{datePicker.js → datePicker.mjs} +0 -0
  327. package/es/themes/dark/{dialog.js → dialog.mjs} +0 -0
  328. package/es/themes/dark/{divider.js → divider.mjs} +0 -0
  329. package/es/themes/dark/index.mjs +46 -0
  330. package/es/themes/dark/{input.js → input.mjs} +0 -0
  331. package/es/themes/dark/{menu.js → menu.mjs} +0 -0
  332. package/es/themes/dark/{pagination.js → pagination.mjs} +0 -0
  333. package/es/themes/dark/{picker.js → picker.mjs} +0 -0
  334. package/es/themes/dark/{popup.js → popup.mjs} +0 -0
  335. package/es/themes/dark/{pullRefresh.js → pullRefresh.mjs} +0 -0
  336. package/es/themes/dark/{radio.js → radio.mjs} +0 -0
  337. package/es/themes/dark/{result.js → result.mjs} +0 -0
  338. package/es/themes/dark/{select.js → select.mjs} +0 -0
  339. package/es/themes/dark/{skeleton.js → skeleton.mjs} +0 -0
  340. package/es/themes/dark/{steps.js → steps.mjs} +0 -0
  341. package/es/themes/dark/{switch.js → switch.mjs} +0 -0
  342. package/es/themes/dark/{tab.js → tab.mjs} +0 -0
  343. package/es/themes/dark/{table.js → table.mjs} +0 -0
  344. package/es/themes/dark/{tabs.js → tabs.mjs} +0 -0
  345. package/es/themes/dark/{timePicker.js → timePicker.mjs} +0 -0
  346. package/es/themes/dark/{uploader.js → uploader.mjs} +0 -0
  347. package/es/themes/{index.js → index.mjs} +1 -1
  348. package/es/themes/style/{index.js → index.mjs} +0 -0
  349. package/es/time-picker/{TimePicker.js → TimePicker.mjs} +5 -5
  350. package/es/time-picker/{clock.js → clock.mjs} +4 -4
  351. package/es/time-picker/{index.js → index.mjs} +1 -1
  352. package/es/time-picker/{props.js → props.mjs} +1 -1
  353. package/es/time-picker/style/{index.js → index.mjs} +0 -1
  354. package/es/time-picker/{utils.js → utils.mjs} +1 -1
  355. package/es/tooltip/{Tooltip.js → Tooltip.mjs} +3 -3
  356. package/es/tooltip/{index.js → index.mjs} +1 -1
  357. package/es/tooltip/{props.js → props.mjs} +1 -1
  358. package/es/tooltip/style/{index.js → index.mjs} +0 -1
  359. package/es/uploader/{Uploader.js → Uploader.mjs} +9 -9
  360. package/es/uploader/{index.js → index.mjs} +1 -1
  361. package/es/uploader/{props.js → props.mjs} +1 -1
  362. package/es/uploader/{provide.js → provide.mjs} +0 -0
  363. package/es/uploader/style/{index.js → index.mjs} +0 -1
  364. package/es/utils/{components.js → components.mjs} +0 -0
  365. package/es/utils/{elements.js → elements.mjs} +1 -1
  366. package/es/utils/{jest.js → jest.mjs} +0 -0
  367. package/es/utils/{shared.js → shared.mjs} +0 -0
  368. package/es/utils/style/{index.js → index.mjs} +0 -0
  369. package/es/utils/{types.js → types.mjs} +0 -0
  370. package/es/varlet.esm.js +1682 -1679
  371. package/highlight/web-types.json +1 -1
  372. package/lib/action-sheet/index.js +1 -1
  373. package/lib/app-bar/index.js +1 -1
  374. package/lib/back-top/index.js +1 -1
  375. package/lib/badge/index.js +1 -1
  376. package/lib/bottom-navigation/index.js +1 -1
  377. package/lib/bottom-navigation-item/index.js +1 -1
  378. package/lib/breadcrumb/index.js +1 -1
  379. package/lib/breadcrumbs/index.js +1 -1
  380. package/lib/button/index.js +1 -1
  381. package/lib/card/index.js +1 -1
  382. package/lib/cell/index.js +1 -1
  383. package/lib/checkbox/index.js +1 -1
  384. package/lib/checkbox-group/index.js +1 -1
  385. package/lib/chip/index.js +1 -1
  386. package/lib/col/index.js +1 -1
  387. package/lib/collapse/index.js +1 -1
  388. package/lib/collapse-item/index.js +1 -1
  389. package/lib/countdown/index.js +1 -1
  390. package/lib/counter/index.js +1 -1
  391. package/lib/date-picker/DatePicker.js +3 -3
  392. package/lib/date-picker/index.js +1 -1
  393. package/lib/date-picker/src/day-picker-panel.js +1 -1
  394. package/lib/date-picker/src/month-picker-panel.js +1 -1
  395. package/lib/dialog/index.js +1 -1
  396. package/lib/divider/index.js +1 -1
  397. package/lib/form/index.js +1 -1
  398. package/lib/form-details/index.js +1 -1
  399. package/lib/icon/index.js +1 -1
  400. package/lib/image/index.js +1 -1
  401. package/lib/image-preview/index.js +1 -1
  402. package/lib/index-anchor/index.js +1 -1
  403. package/lib/index-bar/index.js +1 -1
  404. package/lib/index.js +156 -72
  405. package/lib/input/index.js +1 -1
  406. package/lib/link/index.js +1 -1
  407. package/lib/list/index.js +1 -1
  408. package/lib/loading/index.js +1 -1
  409. package/lib/menu/index.js +1 -1
  410. package/lib/option/index.js +1 -1
  411. package/lib/pagination/index.js +1 -1
  412. package/lib/picker/index.js +1 -1
  413. package/lib/progress/index.js +1 -1
  414. package/lib/pull-refresh/index.js +1 -1
  415. package/lib/radio/index.js +1 -1
  416. package/lib/radio-group/index.js +1 -1
  417. package/lib/rate/index.js +1 -1
  418. package/lib/result/Result.js +6 -6
  419. package/lib/result/index.js +1 -1
  420. package/lib/row/index.js +1 -1
  421. package/lib/select/index.js +1 -1
  422. package/lib/skeleton/index.js +1 -1
  423. package/lib/slider/index.js +1 -1
  424. package/lib/snackbar/index.js +2 -2
  425. package/lib/step/index.js +1 -1
  426. package/lib/steps/index.js +1 -1
  427. package/lib/sticky/index.js +1 -1
  428. package/lib/style-provider/index.js +1 -1
  429. package/lib/style.css +1 -1
  430. package/lib/style.js +72 -72
  431. package/lib/swipe/index.js +1 -1
  432. package/lib/swipe-item/index.js +1 -1
  433. package/lib/switch/index.js +1 -1
  434. package/lib/tab/index.js +1 -1
  435. package/lib/tab-item/index.js +1 -1
  436. package/lib/table/index.js +1 -1
  437. package/lib/tabs/index.js +1 -1
  438. package/lib/tabs-items/index.js +1 -1
  439. package/lib/time-picker/TimePicker.js +1 -1
  440. package/lib/time-picker/index.js +1 -1
  441. package/lib/tooltip/index.js +1 -1
  442. package/lib/uploader/index.js +1 -1
  443. package/package.json +6 -6
  444. package/umd/varlet.js +7 -7
  445. package/es/countdown/style/index.js +0 -2
  446. package/es/form/style/index.js +0 -2
  447. package/es/index.js +0 -373
  448. package/es/steps/style/index.js +0 -2
  449. package/es/style-provider/style/index.js +0 -2
  450. package/es/style.js +0 -72
  451. package/es/themes/dark/index.js +0 -46
  452. package/es/umdIndex.js +0 -373
@@ -1,11 +1,11 @@
1
- import Ripple from '../ripple';
2
- import VarPopup from '../popup';
3
- import VarIcon from '../icon';
1
+ import Ripple from '../ripple/index.mjs';
2
+ import VarPopup from '../popup/index.mjs';
3
+ import VarIcon from '../icon/index.mjs';
4
4
  import { defineComponent, ref, watch } from 'vue';
5
- import { props } from './props';
6
- import { dt } from '../utils/shared';
7
- import { pack } from '../locale';
8
- import { createNamespace, call } from '../utils/components';
5
+ import { props } from './props.mjs';
6
+ import { dt } from '../utils/shared.mjs';
7
+ import { pack } from '../locale/index.mjs';
8
+ import { createNamespace, call } from '../utils/components.mjs';
9
9
  var {
10
10
  n,
11
11
  classes
@@ -1,7 +1,7 @@
1
- import VarActionSheet from './ActionSheet.js'
1
+ import VarActionSheet from './ActionSheet.mjs';
2
2
  import { nextTick, reactive } from 'vue';
3
3
  import { inBrowser } from '@varlet/shared';
4
- import { call, mountInstance } from '../utils/components';
4
+ import { call, mountInstance } from '../utils/components.mjs';
5
5
  var singletonOptions;
6
6
 
7
7
  function ActionSheet(options) {
@@ -1,7 +1,7 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
- import { defineListenerProp, pickProps } from '../utils/components';
4
- import { props as popupProps } from '../popup/props';
3
+ import { defineListenerProp, pickProps } from '../utils/components.mjs';
4
+ import { props as popupProps } from '../popup/props.mjs';
5
5
  export var props = _extends({
6
6
  show: {
7
7
  type: Boolean,
@@ -3,4 +3,3 @@ import '../../icon/icon.css'
3
3
  import '../../ripple/ripple.css'
4
4
  import '../../popup/popup.css'
5
5
  import '../actionSheet.css'
6
- import '../ActionSheetSfc.css'
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, onUpdated } from 'vue';
2
- import { props } from './props';
3
- import { createNamespace } from '../utils/components';
2
+ import { props } from './props.mjs';
3
+ import { createNamespace } from '../utils/components.mjs';
4
4
  var {
5
5
  n,
6
6
  classes
@@ -1,4 +1,4 @@
1
- import AppBar from './AppBar.js'
1
+ import AppBar from './AppBar.mjs';
2
2
 
3
3
  AppBar.install = function (app) {
4
4
  app.component(AppBar.name, AppBar);
File without changes
@@ -1,4 +1,3 @@
1
1
  import '../../styles/common.css'
2
2
  import '../../styles/elevation.css'
3
3
  import '../appBar.css'
4
- import '../AppBarSfc.css'
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, ref, onMounted, onBeforeUnmount } from 'vue';
2
- import VarButton from '../button';
3
- import VarIcon from '../icon';
4
- import { props } from './props';
2
+ import VarButton from '../button/index.mjs';
3
+ import VarIcon from '../icon/index.mjs';
4
+ import { props } from './props.mjs';
5
5
  import { throttle } from '@varlet/shared';
6
- import { easeInOutCubic } from '../utils/shared';
7
- import { getScrollTop, getScrollLeft, scrollTo, getParentScroller, toPxNum, toSizeUnit, getTarget } from '../utils/elements';
8
- import { call, createNamespace } from '../utils/components';
6
+ import { easeInOutCubic } from '../utils/shared.mjs';
7
+ import { getScrollTop, getScrollLeft, scrollTo, getParentScroller, toPxNum, toSizeUnit, getTarget } from '../utils/elements.mjs';
8
+ import { call, createNamespace } from '../utils/components.mjs';
9
9
  var {
10
10
  n,
11
11
  classes
@@ -1,4 +1,4 @@
1
- import BackTop from './BackTop.js'
1
+ import BackTop from './BackTop.mjs';
2
2
 
3
3
  BackTop.install = function (app) {
4
4
  app.component(BackTop.name, BackTop);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
  export var props = {
3
3
  visibilityHeight: {
4
4
  type: [Number, String],
@@ -2,4 +2,3 @@ import '../../styles/common.css'
2
2
  import '../../button/button.css'
3
3
  import '../../icon/icon.css'
4
4
  import '../backTop.css'
5
- import '../BackTopSfc.css'
@@ -1,8 +1,8 @@
1
- import VarIcon from '../icon';
1
+ import VarIcon from '../icon/index.mjs';
2
2
  import { toNumber } from '@varlet/shared';
3
3
  import { computed, defineComponent } from 'vue';
4
- import { props } from './props';
5
- import { createNamespace } from '../utils/components';
4
+ import { props } from './props.mjs';
5
+ import { createNamespace } from '../utils/components.mjs';
6
6
  var {
7
7
  n,
8
8
  classes
@@ -1,4 +1,4 @@
1
- import Badge from './Badge.js'
1
+ import Badge from './Badge.mjs';
2
2
 
3
3
  Badge.install = function (app) {
4
4
  app.component(Badge.name, Badge);
File without changes
@@ -1,4 +1,3 @@
1
1
  import '../../styles/common.css'
2
2
  import '../../icon/icon.css'
3
3
  import '../badge.css'
4
- import '../BadgeSfc.css'
@@ -1,10 +1,10 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
- import VarButton from '../button';
3
+ import VarButton from '../button/index.mjs';
4
4
  import { defineComponent, ref, computed, onMounted, onUpdated, watch } from 'vue';
5
- import { props } from './props';
6
- import { useBottomNavigationItems } from './provide';
7
- import { createNamespace, call } from '../utils/components';
5
+ import { props } from './props.mjs';
6
+ import { useBottomNavigationItems } from './provide.mjs';
7
+ import { createNamespace, call } from '../utils/components.mjs';
8
8
  import { isNumber, isArray } from '@varlet/shared';
9
9
  var {
10
10
  n,
@@ -1,4 +1,4 @@
1
- import BottomNavigation from './BottomNavigation.js'
1
+ import BottomNavigation from './BottomNavigation.mjs';
2
2
 
3
3
  BottomNavigation.install = function (app) {
4
4
  app.component(BottomNavigation.name, BottomNavigation);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
  export var props = {
3
3
  active: {
4
4
  type: [Number, String],
@@ -1,4 +1,4 @@
1
- import { useAtChildrenCounter, useChildren } from '../utils/components';
1
+ import { useAtChildrenCounter, useChildren } from '../utils/components.mjs';
2
2
  export var BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY = Symbol('BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY');
3
3
  export var BOTTOM_NAVIGATION_COUNT_BOTTOM_NAVIGATION_ITEM_KEY = Symbol('BOTTOM_NAVIGATION_COUNT_BOTTOM_NAVIGATION_ITEM_KEY');
4
4
  export function useBottomNavigationItems() {
@@ -1,4 +1,3 @@
1
1
  import '../../styles/common.css'
2
2
  import '../../button/button.css'
3
3
  import '../bottomNavigation.css'
4
- import '../BottomNavigationSfc.css'
@@ -1,10 +1,10 @@
1
- import Ripple from '../ripple';
2
- import VarBadge from '../badge';
3
- import VarIcon from '../icon';
1
+ import Ripple from '../ripple/index.mjs';
2
+ import VarBadge from '../badge/index.mjs';
3
+ import VarIcon from '../icon/index.mjs';
4
4
  import { defineComponent, computed, ref, watch } from 'vue';
5
- import { props } from './props';
6
- import { useBottomNavigation } from './provide';
7
- import { createNamespace, call } from '../utils/components';
5
+ import { props } from './props.mjs';
6
+ import { useBottomNavigation } from './provide.mjs';
7
+ import { createNamespace, call } from '../utils/components.mjs';
8
8
  var {
9
9
  n,
10
10
  classes
@@ -1,4 +1,4 @@
1
- import BottomNavigationItem from './BottomNavigationItem.js'
1
+ import BottomNavigationItem from './BottomNavigationItem.mjs';
2
2
 
3
3
  BottomNavigationItem.install = function (app) {
4
4
  app.component(BottomNavigationItem.name, BottomNavigationItem);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
  export var props = {
3
3
  name: {
4
4
  type: String
@@ -1,5 +1,5 @@
1
- import { useAtParentIndex, useParent } from '../utils/components';
2
- import { BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY, BOTTOM_NAVIGATION_COUNT_BOTTOM_NAVIGATION_ITEM_KEY } from '../bottom-navigation/provide';
1
+ import { useAtParentIndex, useParent } from '../utils/components.mjs';
2
+ import { BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY, BOTTOM_NAVIGATION_COUNT_BOTTOM_NAVIGATION_ITEM_KEY } from '../bottom-navigation/provide.mjs';
3
3
  export function useBottomNavigation() {
4
4
  var {
5
5
  parentProvider,
@@ -3,4 +3,3 @@ import '../../ripple/ripple.css'
3
3
  import '../../badge/badge.css'
4
4
  import '../../icon/icon.css'
5
5
  import '../bottomNavigationItem.css'
6
- import '../BottomNavigationItemSfc.css'
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed } from 'vue';
2
- import { props } from './props';
3
- import { useBreadcrumb } from './provide';
4
- import { call, createNamespace } from '../utils/components';
2
+ import { props } from './props.mjs';
3
+ import { useBreadcrumb } from './provide.mjs';
4
+ import { call, createNamespace } from '../utils/components.mjs';
5
5
  var {
6
6
  n,
7
7
  classes
@@ -1,4 +1,4 @@
1
- import Breadcrumb from './Breadcrumb.js'
1
+ import Breadcrumb from './Breadcrumb.mjs';
2
2
 
3
3
  Breadcrumb.install = function (app) {
4
4
  app.component(Breadcrumb.name, Breadcrumb);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
  export var props = {
3
3
  separator: {
4
4
  type: String
@@ -1,5 +1,5 @@
1
- import { useAtParentIndex, useParent } from '../utils/components';
2
- import { BREADCRUMBS_BIND_BREADCRUMB_ITEM_KEY, BREADCRUMBS_COUNT_BREADCRUMB_ITEM_KEY } from '../breadcrumbs/provide';
1
+ import { useAtParentIndex, useParent } from '../utils/components.mjs';
2
+ import { BREADCRUMBS_BIND_BREADCRUMB_ITEM_KEY, BREADCRUMBS_COUNT_BREADCRUMB_ITEM_KEY } from '../breadcrumbs/provide.mjs';
3
3
  export function useBreadcrumb() {
4
4
  var {
5
5
  parentProvider,
@@ -1,3 +1,2 @@
1
1
  import '../../styles/common.css'
2
2
  import '../breadcrumb.css'
3
- import '../BreadcrumbSfc.css'
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed } from 'vue';
2
- import { props } from './props';
3
- import { useBreadcrumbsList } from './provide';
4
- import { createNamespace } from '../utils/components';
2
+ import { props } from './props.mjs';
3
+ import { useBreadcrumbsList } from './provide.mjs';
4
+ import { createNamespace } from '../utils/components.mjs';
5
5
  var {
6
6
  n
7
7
  } = createNamespace('breadcrumbs');
@@ -1,4 +1,4 @@
1
- import Breadcrumbs from './Breadcrumbs.js'
1
+ import Breadcrumbs from './Breadcrumbs.mjs';
2
2
 
3
3
  Breadcrumbs.install = function (app) {
4
4
  app.component(Breadcrumbs.name, Breadcrumbs);
File without changes
@@ -1,4 +1,4 @@
1
- import { useAtChildrenCounter, useChildren } from '../utils/components';
1
+ import { useAtChildrenCounter, useChildren } from '../utils/components.mjs';
2
2
  export var BREADCRUMBS_BIND_BREADCRUMB_ITEM_KEY = Symbol('BREADCRUMBS_BIND_BREADCRUMB_KEY');
3
3
  export var BREADCRUMBS_COUNT_BREADCRUMB_ITEM_KEY = Symbol('BREADCRUMBS_COUNT_BREADCRUMB_KEY');
4
4
  export function useBreadcrumbsList() {
@@ -1,3 +1,2 @@
1
1
  import '../../styles/common.css'
2
2
  import '../breadcrumbs.css'
3
- import '../BreadcrumbsSfc.css'
@@ -1,8 +1,8 @@
1
- import Ripple from '../ripple';
2
- import VarLoading from '../loading';
1
+ import Ripple from '../ripple/index.mjs';
2
+ import VarLoading from '../loading/index.mjs';
3
3
  import { defineComponent, ref } from 'vue';
4
- import { props } from './props';
5
- import { call, createNamespace } from '../utils/components';
4
+ import { props } from './props.mjs';
5
+ import { call, createNamespace } from '../utils/components.mjs';
6
6
  import { isArray } from '@varlet/shared';
7
7
  var {
8
8
  n,
@@ -1,4 +1,4 @@
1
- import Button from './Button.js'
1
+ import Button from './Button.mjs';
2
2
 
3
3
  Button.install = function (app) {
4
4
  app.component(Button.name, Button);
@@ -1,7 +1,7 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
- import { props as loadingProps } from '../loading/props';
4
- import { defineListenerProp, pickProps } from '../utils/components';
3
+ import { props as loadingProps } from '../loading/props.mjs';
4
+ import { defineListenerProp, pickProps } from '../utils/components.mjs';
5
5
 
6
6
  function typeValidator(type) {
7
7
  return ['default', 'primary', 'info', 'success', 'warning', 'danger'].includes(type);
@@ -3,4 +3,3 @@ import '../../styles/elevation.css'
3
3
  import '../../ripple/ripple.css'
4
4
  import '../../loading/loading.css'
5
5
  import '../button.css'
6
- import '../ButtonSfc.css'
@@ -2,15 +2,15 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
2
2
 
3
3
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
4
4
 
5
- import Ripple from '../ripple';
6
- import VarIcon from '../icon';
7
- import VarButton from '../button';
5
+ import Ripple from '../ripple/index.mjs';
6
+ import VarIcon from '../icon/index.mjs';
7
+ import VarButton from '../button/index.mjs';
8
8
  import { ref, defineComponent, watch, computed, nextTick } from 'vue';
9
- import { props } from './props';
10
- import { doubleRaf, toSizeUnit } from '../utils/elements';
11
- import { call, createNamespace } from '../utils/components';
12
- import { useZIndex } from '../context/zIndex';
13
- import { useLock } from '../context/lock';
9
+ import { props } from './props.mjs';
10
+ import { doubleRaf, toSizeUnit } from '../utils/elements.mjs';
11
+ import { call, createNamespace } from '../utils/components.mjs';
12
+ import { useZIndex } from '../context/zIndex.mjs';
13
+ import { useLock } from '../context/lock.mjs';
14
14
  var {
15
15
  n,
16
16
  classes
@@ -1,4 +1,4 @@
1
- import Card from './Card.js'
1
+ import Card from './Card.mjs';
2
2
 
3
3
  Card.install = function (app) {
4
4
  app.component(Card.name, Card);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
 
3
3
  function fitValidator(fit) {
4
4
  return ['fill', 'contain', 'cover', 'none', 'scale-down'].includes(fit);
@@ -2,4 +2,3 @@ import '../../styles/common.css'
2
2
  import '../../styles/elevation.css'
3
3
  import '../../ripple/ripple.css'
4
4
  import '../card.css'
5
- import '../CardSfc.css'
@@ -1,7 +1,7 @@
1
1
  import { defineComponent } from 'vue';
2
- import { props } from './props';
3
- import VarIcon from '../icon';
4
- import { createNamespace } from '../utils/components';
2
+ import { props } from './props.mjs';
3
+ import VarIcon from '../icon/index.mjs';
4
+ import { createNamespace } from '../utils/components.mjs';
5
5
  var {
6
6
  n,
7
7
  classes
@@ -1,4 +1,4 @@
1
- import Cell from './Cell.js'
1
+ import Cell from './Cell.mjs';
2
2
 
3
3
  Cell.install = function (app) {
4
4
  app.component(Cell.name, Cell);
File without changes
@@ -1,4 +1,3 @@
1
1
  import '../../styles/common.css'
2
2
  import '../../icon/icon.css'
3
3
  import '../cell.css'
4
- import '../CellSfc.css'
@@ -1,11 +1,11 @@
1
- import VarIcon from '../icon';
2
- import VarFormDetails from '../form-details';
3
- import Ripple from '../ripple';
1
+ import VarIcon from '../icon/index.mjs';
2
+ import VarFormDetails from '../form-details/index.mjs';
3
+ import Ripple from '../ripple/index.mjs';
4
4
  import { defineComponent, ref, computed, watch, nextTick } from 'vue';
5
- import { props } from './props';
6
- import { useValidation, createNamespace, call } from '../utils/components';
7
- import { useCheckboxGroup } from './provide';
8
- import { useForm } from '../form/provide';
5
+ import { props } from './props.mjs';
6
+ import { useValidation, createNamespace, call } from '../utils/components.mjs';
7
+ import { useCheckboxGroup } from './provide.mjs';
8
+ import { useForm } from '../form/provide.mjs';
9
9
  var {
10
10
  n,
11
11
  classes
@@ -1,4 +1,4 @@
1
- import Checkbox from './Checkbox.js'
1
+ import Checkbox from './Checkbox.mjs';
2
2
 
3
3
  Checkbox.install = function (app) {
4
4
  app.component(Checkbox.name, Checkbox);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
  export var props = {
3
3
  modelValue: {
4
4
  type: [String, Number, Boolean, Object, Array],
@@ -1,5 +1,5 @@
1
- import { useAtParentIndex, useParent } from '../utils/components';
2
- import { CHECKBOX_GROUP_BIND_CHECKBOX_KEY, CHECKBOX_GROUP_COUNT_CHECKBOX_KEY } from '../checkbox-group/provide';
1
+ import { useAtParentIndex, useParent } from '../utils/components.mjs';
2
+ import { CHECKBOX_GROUP_BIND_CHECKBOX_KEY, CHECKBOX_GROUP_COUNT_CHECKBOX_KEY } from '../checkbox-group/provide.mjs';
3
3
  export function useCheckboxGroup() {
4
4
  var {
5
5
  bindParent,
@@ -3,4 +3,3 @@ import '../../ripple/ripple.css'
3
3
  import '../../form-details/formDetails.css'
4
4
  import '../../icon/icon.css'
5
5
  import '../checkbox.css'
6
- import '../CheckboxSfc.css'
@@ -1,9 +1,9 @@
1
- import VarFormDetails from '../form-details';
1
+ import VarFormDetails from '../form-details/index.mjs';
2
2
  import { defineComponent, computed, watch, nextTick } from 'vue';
3
- import { props } from './props';
4
- import { useValidation, createNamespace, call } from '../utils/components';
5
- import { useCheckboxes } from './provide';
6
- import { useForm } from '../form/provide';
3
+ import { props } from './props.mjs';
4
+ import { useValidation, createNamespace, call } from '../utils/components.mjs';
5
+ import { useCheckboxes } from './provide.mjs';
6
+ import { useForm } from '../form/provide.mjs';
7
7
  import { uniq } from '@varlet/shared';
8
8
  var {
9
9
  n,
@@ -1,4 +1,4 @@
1
- import CheckboxGroup from './CheckboxGroup.js'
1
+ import CheckboxGroup from './CheckboxGroup.mjs';
2
2
 
3
3
  CheckboxGroup.install = function (app) {
4
4
  app.component(CheckboxGroup.name, CheckboxGroup);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
  export function directionValidator(direction) {
3
3
  return ['horizontal', 'vertical'].includes(direction);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { useAtChildrenCounter, useChildren } from '../utils/components';
1
+ import { useAtChildrenCounter, useChildren } from '../utils/components.mjs';
2
2
  export var CHECKBOX_GROUP_BIND_CHECKBOX_KEY = Symbol('CHECKBOX_GROUP_BIND_CHECKBOX_KEY');
3
3
  export var CHECKBOX_GROUP_COUNT_CHECKBOX_KEY = Symbol('CHECKBOX_GROUP_COUNT_CHECKBOX_KEY');
4
4
  export function useCheckboxes() {
@@ -1,4 +1,3 @@
1
1
  import '../../styles/common.css'
2
2
  import '../../form-details/formDetails.css'
3
3
  import '../checkboxGroup.css'
4
- import '../CheckboxGroupSfc.css'
@@ -1,7 +1,7 @@
1
- import VarIcon from '../icon';
1
+ import VarIcon from '../icon/index.mjs';
2
2
  import { defineComponent, computed } from 'vue';
3
- import { props } from './props';
4
- import { createNamespace } from '../utils/components';
3
+ import { props } from './props.mjs';
4
+ import { createNamespace } from '../utils/components.mjs';
5
5
  var {
6
6
  n,
7
7
  classes
@@ -1,4 +1,4 @@
1
- import Chip from './Chip.js'
1
+ import Chip from './Chip.mjs';
2
2
 
3
3
  Chip.install = function (app) {
4
4
  app.component(Chip.name, Chip);
@@ -1,5 +1,5 @@
1
- import { defineListenerProp, pickProps } from '../utils/components';
2
- import { props as iconProps } from '../icon/props';
1
+ import { defineListenerProp, pickProps } from '../utils/components.mjs';
2
+ import { props as iconProps } from '../icon/props.mjs';
3
3
 
4
4
  function typeValidator(type) {
5
5
  return ['default', 'primary', 'info', 'success', 'warning', 'danger'].includes(type);
@@ -1,4 +1,3 @@
1
1
  import '../../styles/common.css'
2
2
  import '../../icon/icon.css'
3
3
  import '../chip.css'
4
- import '../ChipSfc.css'
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue';
2
2
  import { isPlainObject, toNumber } from '@varlet/shared';
3
- import { props } from './props';
4
- import { useRow } from './provide';
5
- import { toSizeUnit } from '../utils/elements';
6
- import { createNamespace, call } from '../utils/components';
3
+ import { props } from './props.mjs';
4
+ import { useRow } from './provide.mjs';
5
+ import { toSizeUnit } from '../utils/elements.mjs';
6
+ import { createNamespace, call } from '../utils/components.mjs';
7
7
  var {
8
8
  n,
9
9
  classes
@@ -1,4 +1,4 @@
1
- import Col from './Col.js'
1
+ import Col from './Col.mjs';
2
2
 
3
3
  Col.install = function (app) {
4
4
  app.component(Col.name, Col);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
 
3
3
  function directionValidator(direction) {
4
4
  return ['row', 'column'].includes(direction);
@@ -1,5 +1,5 @@
1
- import { useAtParentIndex, useParent } from '../utils/components';
2
- import { ROW_BIND_COL_KEY, ROW_COUNT_COL_KEY } from '../row/provide';
1
+ import { useAtParentIndex, useParent } from '../utils/components.mjs';
2
+ import { ROW_BIND_COL_KEY, ROW_COUNT_COL_KEY } from '../row/provide.mjs';
3
3
  export function useRow() {
4
4
  var {
5
5
  parentProvider,
@@ -1,3 +1,2 @@
1
1
  import '../../styles/common.css'
2
2
  import '../col.css'
3
- import '../ColSfc.css'