naive-ui 2.22.0 → 2.24.0

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 (800) hide show
  1. package/README.md +1 -1
  2. package/README.zh-CN.md +1 -1
  3. package/es/_internal/clear/src/styles/index.cssr.js +10 -10
  4. package/es/_internal/close/src/styles/index.cssr.js +9 -10
  5. package/es/_internal/icons/Close.js +1 -1
  6. package/es/_internal/icons/Switcher.js +2 -3
  7. package/es/_internal/scrollbar/src/ScrollBar.d.ts +6 -17
  8. package/es/_internal/scrollbar/src/ScrollBar.js +14 -16
  9. package/es/_internal/scrollbar/src/styles/index.cssr.js +15 -15
  10. package/es/_internal/select-menu/src/SelectMenu.d.ts +21 -21
  11. package/es/_internal/select-menu/src/SelectMenu.js +21 -21
  12. package/es/_internal/select-menu/src/styles/index.cssr.js +35 -35
  13. package/es/_internal/select-menu/styles/_common.js +1 -1
  14. package/es/_internal/selection/src/Selection.d.ts +44 -44
  15. package/es/_internal/selection/src/Selection.js +44 -44
  16. package/es/_internal/selection/src/styles/index.cssr.js +79 -79
  17. package/es/_internal/selection/styles/_common.js +1 -1
  18. package/es/_mixins/common.d.ts +1 -0
  19. package/es/_mixins/common.js +1 -0
  20. package/es/_mixins/index.d.ts +1 -0
  21. package/es/_mixins/index.js +1 -0
  22. package/es/_mixins/use-css-vars-class.d.ts +2 -0
  23. package/es/_mixins/use-css-vars-class.js +22 -0
  24. package/es/_mixins/use-rtl.js +2 -0
  25. package/es/_mixins/use-style.js +3 -0
  26. package/es/_mixins/use-theme.js +3 -0
  27. package/es/_utils/composable/use-houdini.js +12 -9
  28. package/es/alert/src/Alert.d.ts +2 -2
  29. package/es/auto-complete/src/AutoComplete.d.ts +14 -14
  30. package/es/auto-complete/src/AutoComplete.js +15 -17
  31. package/es/auto-complete/src/styles/index.cssr.js +4 -4
  32. package/es/avatar/index.d.ts +2 -0
  33. package/es/avatar/index.js +1 -0
  34. package/es/avatar/src/Avatar.d.ts +72 -33
  35. package/es/avatar/src/Avatar.js +43 -15
  36. package/es/avatar/src/AvatarGroup.d.ts +52 -0
  37. package/es/avatar/src/AvatarGroup.js +61 -0
  38. package/es/avatar/src/interface.d.ts +2 -0
  39. package/es/avatar/src/interface.js +1 -0
  40. package/es/avatar/src/styles/avatar-group.cssr.d.ts +2 -0
  41. package/es/avatar/src/styles/avatar-group.cssr.js +14 -0
  42. package/es/avatar/src/styles/index.cssr.js +20 -15
  43. package/es/avatar/styles/light.d.ts +3 -0
  44. package/es/avatar/styles/light.js +6 -2
  45. package/es/back-top/src/BackTop.d.ts +16 -16
  46. package/es/back-top/src/BackTop.js +13 -13
  47. package/es/back-top/src/styles/index.cssr.js +29 -29
  48. package/es/badge/src/Badge.d.ts +6 -6
  49. package/es/badge/src/Badge.js +6 -6
  50. package/es/badge/src/styles/index.cssr.js +15 -15
  51. package/es/breadcrumb/src/Breadcrumb.d.ts +8 -8
  52. package/es/breadcrumb/src/Breadcrumb.js +8 -8
  53. package/es/breadcrumb/src/styles/index.cssr.js +23 -23
  54. package/es/button/src/Button.d.ts +10 -5
  55. package/es/button/src/Button.js +21 -14
  56. package/es/calendar/src/Calendar.d.ts +26 -22
  57. package/es/calendar/src/Calendar.js +37 -25
  58. package/es/calendar/src/interface.d.ts +4 -0
  59. package/es/calendar/src/styles/index.cssr.js +57 -57
  60. package/es/card/src/Card.d.ts +28 -23
  61. package/es/card/src/Card.js +24 -23
  62. package/es/card/src/styles/index.cssr.js +71 -69
  63. package/es/carousel/index.d.ts +1 -0
  64. package/es/carousel/index.js +1 -0
  65. package/es/carousel/src/Carousel.d.ts +239 -23
  66. package/es/carousel/src/Carousel.js +688 -234
  67. package/es/carousel/src/CarouselArrow.d.ts +9 -0
  68. package/es/carousel/src/CarouselArrow.js +43 -0
  69. package/es/carousel/src/CarouselDots.d.ts +66 -0
  70. package/es/carousel/src/CarouselDots.js +118 -0
  71. package/es/carousel/src/CarouselItem.d.ts +11 -0
  72. package/es/carousel/src/CarouselItem.js +72 -0
  73. package/es/carousel/src/interface.d.ts +28 -0
  74. package/es/carousel/src/interface.js +2 -0
  75. package/es/carousel/src/styles/index.cssr.js +150 -47
  76. package/es/carousel/src/utils.d.ts +12 -0
  77. package/es/carousel/src/utils.js +58 -0
  78. package/es/carousel/styles/light.d.ts +3 -0
  79. package/es/carousel/styles/light.js +5 -2
  80. package/es/cascader/src/Cascader.d.ts +31 -19
  81. package/es/cascader/src/Cascader.js +31 -20
  82. package/es/cascader/src/CascaderMenu.js +1 -1
  83. package/es/cascader/src/CascaderOption.d.ts +1 -0
  84. package/es/cascader/src/CascaderOption.js +7 -4
  85. package/es/cascader/src/interface.d.ts +2 -1
  86. package/es/cascader/src/styles/index.cssr.js +44 -44
  87. package/es/cascader/styles/light.js +1 -1
  88. package/es/checkbox/src/Checkbox.d.ts +23 -23
  89. package/es/checkbox/src/Checkbox.js +23 -23
  90. package/es/checkbox/src/styles/index.cssr.js +59 -59
  91. package/es/code/src/Code.d.ts +19 -14
  92. package/es/code/src/Code.js +32 -20
  93. package/es/code/src/styles/index.cssr.js +30 -30
  94. package/es/collapse/src/Collapse.d.ts +8 -8
  95. package/es/collapse/src/Collapse.js +8 -8
  96. package/es/collapse/src/styles/index.cssr.js +24 -24
  97. package/es/collapse-transition/src/CollapseTransition.d.ts +1 -1
  98. package/es/collapse-transition/src/CollapseTransition.js +1 -1
  99. package/es/color-picker/src/ColorInputUnit.js +2 -2
  100. package/es/color-picker/src/ColorPicker.d.ts +23 -15
  101. package/es/color-picker/src/ColorPicker.js +29 -20
  102. package/es/color-picker/src/ColorPickerTrigger.d.ts +1 -1
  103. package/es/color-picker/src/ColorPickerTrigger.js +23 -17
  104. package/es/color-picker/src/interface.d.ts +2 -0
  105. package/es/color-picker/src/styles/index.cssr.js +29 -28
  106. package/es/components.d.ts +2 -0
  107. package/es/components.js +2 -0
  108. package/es/config-provider/src/ConfigProvider.d.ts +27 -0
  109. package/es/countdown/index.d.ts +2 -0
  110. package/es/countdown/index.js +1 -0
  111. package/es/countdown/src/Countdown.d.ts +72 -0
  112. package/es/countdown/src/Countdown.js +126 -0
  113. package/es/countdown/src/utils.d.ts +0 -0
  114. package/es/countdown/src/utils.js +1 -0
  115. package/es/data-table/src/DataTable.d.ts +49 -94
  116. package/es/data-table/src/DataTable.js +65 -91
  117. package/es/data-table/src/TableParts/Body.js +7 -5
  118. package/es/data-table/src/TableParts/Cell.js +2 -3
  119. package/es/data-table/src/TableParts/Header.js +1 -1
  120. package/es/data-table/src/interface.d.ts +1 -1
  121. package/es/data-table/src/styles/index.cssr.js +133 -130
  122. package/es/data-table/src/utils.js +4 -1
  123. package/es/date-picker/src/DatePicker.d.ts +71 -67
  124. package/es/date-picker/src/DatePicker.js +144 -94
  125. package/es/date-picker/src/interface.d.ts +17 -2
  126. package/es/date-picker/src/panel/date.d.ts +4 -9
  127. package/es/date-picker/src/panel/daterange.d.ts +4 -9
  128. package/es/date-picker/src/panel/datetime.d.ts +4 -9
  129. package/es/date-picker/src/panel/datetimerange.d.ts +4 -9
  130. package/es/date-picker/src/panel/month.d.ts +4 -9
  131. package/es/date-picker/src/panel/use-calendar.d.ts +2 -5
  132. package/es/date-picker/src/panel/use-calendar.js +8 -7
  133. package/es/date-picker/src/panel/use-dual-calendar.d.ts +2 -5
  134. package/es/date-picker/src/panel/use-dual-calendar.js +12 -13
  135. package/es/date-picker/src/panel/use-panel-common.d.ts +2 -5
  136. package/es/date-picker/src/panel/use-panel-common.js +2 -6
  137. package/es/date-picker/src/styles/index.cssr.js +115 -115
  138. package/es/descriptions/src/Descriptions.d.ts +18 -18
  139. package/es/descriptions/src/Descriptions.js +19 -20
  140. package/es/descriptions/src/styles/index.cssr.js +61 -61
  141. package/es/dialog/src/Dialog.d.ts +24 -24
  142. package/es/dialog/src/Dialog.js +22 -22
  143. package/es/dialog/src/DialogEnvironment.d.ts +2 -2
  144. package/es/dialog/src/DialogProvider.d.ts +1 -1
  145. package/es/dialog/src/styles/index.cssr.js +45 -45
  146. package/es/divider/src/Divider.d.ts +4 -4
  147. package/es/divider/src/Divider.js +4 -4
  148. package/es/divider/src/styles/index.cssr.js +12 -12
  149. package/es/drawer/src/Drawer.d.ts +37 -77
  150. package/es/drawer/src/Drawer.js +51 -68
  151. package/es/drawer/src/DrawerBodyWrapper.js +21 -13
  152. package/es/drawer/src/DrawerContent.js +6 -6
  153. package/es/drawer/src/styles/index.cssr.js +41 -40
  154. package/es/dropdown/src/Dropdown.d.ts +5 -0
  155. package/es/dropdown/src/Dropdown.js +34 -32
  156. package/es/dropdown/src/styles/index.cssr.js +59 -59
  157. package/es/dynamic-tags/src/DynamicTags.d.ts +1 -1
  158. package/es/dynamic-tags/src/DynamicTags.js +1 -1
  159. package/es/dynamic-tags/src/styles/index.cssr.js +1 -1
  160. package/es/empty/src/Empty.d.ts +19 -15
  161. package/es/empty/src/Empty.js +12 -12
  162. package/es/empty/src/styles/index.cssr.js +20 -19
  163. package/es/form/src/Feedbacks.js +4 -1
  164. package/es/form/src/Form.d.ts +34 -34
  165. package/es/form/src/Form.js +17 -8
  166. package/es/form/src/FormItem.d.ts +54 -49
  167. package/es/form/src/FormItem.js +39 -27
  168. package/es/form/src/FormItemCol.d.ts +41 -31
  169. package/es/form/src/FormItemCol.js +1 -0
  170. package/es/form/src/FormItemGridItem.d.ts +41 -31
  171. package/es/form/src/FormItemGridItem.js +1 -0
  172. package/es/form/src/FormItemRow.d.ts +40 -30
  173. package/es/form/src/FormItemRow.js +1 -0
  174. package/es/form/src/interface.d.ts +6 -2
  175. package/es/form/src/styles/form-item.cssr.js +39 -37
  176. package/es/form/src/utils.d.ts +2 -2
  177. package/es/form/src/utils.js +29 -18
  178. package/es/form/styles/_common.d.ts +0 -3
  179. package/es/form/styles/_common.js +0 -3
  180. package/es/form/styles/light.d.ts +3 -3
  181. package/es/form/styles/light.js +2 -2
  182. package/es/gradient-text/src/GradientText.d.ts +5 -5
  183. package/es/gradient-text/src/GradientText.js +5 -5
  184. package/es/gradient-text/src/styles/index.cssr.js +9 -9
  185. package/es/icon/src/Icon.d.ts +6 -6
  186. package/es/icon/src/Icon.js +4 -4
  187. package/es/icon/src/styles/index.cssr.js +7 -7
  188. package/es/image/src/Image.d.ts +279 -10
  189. package/es/image/src/Image.js +4 -17
  190. package/es/image/src/ImageGroup.d.ts +272 -2
  191. package/es/image/src/ImageGroup.js +5 -8
  192. package/es/image/src/ImagePreview.d.ts +195 -7
  193. package/es/image/src/ImagePreview.js +62 -42
  194. package/es/image/src/interface.d.ts +94 -0
  195. package/es/image/src/interface.js +2 -1
  196. package/es/image/src/styles/index.cssr.js +11 -7
  197. package/es/image/styles/dark.js +8 -1
  198. package/es/image/styles/light.d.ts +32 -3
  199. package/es/image/styles/light.js +8 -1
  200. package/es/input/src/Input.d.ts +52 -47
  201. package/es/input/src/Input.js +54 -49
  202. package/es/input/src/InputGroupLabel.d.ts +8 -8
  203. package/es/input/src/InputGroupLabel.js +8 -8
  204. package/es/input/src/styles/input-group-label.cssr.js +18 -18
  205. package/es/input/src/styles/input.cssr.js +108 -109
  206. package/es/input-number/src/InputNumber.d.ts +11 -0
  207. package/es/input-number/src/InputNumber.js +5 -2
  208. package/es/input-number/src/utils.js +2 -1
  209. package/es/layout/src/Layout.d.ts +6 -6
  210. package/es/layout/src/Layout.js +3 -3
  211. package/es/layout/src/LayoutContent.d.ts +3 -3
  212. package/es/layout/src/LayoutFooter.js +7 -7
  213. package/es/layout/src/LayoutHeader.js +7 -7
  214. package/es/layout/src/LayoutSider.js +13 -13
  215. package/es/layout/src/styles/layout-footer.cssr.js +11 -11
  216. package/es/layout/src/styles/layout-header.cssr.js +11 -11
  217. package/es/layout/src/styles/layout-sider.cssr.js +32 -32
  218. package/es/layout/src/styles/layout.cssr.js +8 -8
  219. package/es/list/src/List.d.ts +10 -10
  220. package/es/list/src/List.js +10 -10
  221. package/es/list/src/styles/index.cssr.js +30 -30
  222. package/es/loading-bar/src/LoadingBar.d.ts +3 -3
  223. package/es/loading-bar/src/LoadingBar.js +3 -3
  224. package/es/loading-bar/src/styles/index.cssr.js +7 -7
  225. package/es/locales/common/deDE.js +10 -0
  226. package/es/locales/common/enUS.d.ts +9 -0
  227. package/es/locales/common/enUS.js +10 -0
  228. package/es/locales/common/frFR.js +17 -8
  229. package/es/locales/common/idID.js +10 -0
  230. package/es/locales/common/jaJP.js +10 -0
  231. package/es/locales/common/nbNO.js +10 -0
  232. package/es/locales/common/ruRU.js +10 -0
  233. package/es/locales/common/ukUA.js +10 -0
  234. package/es/locales/common/zhCN.js +9 -0
  235. package/es/locales/common/zhTW.js +10 -0
  236. package/es/log/src/Log.d.ts +6 -6
  237. package/es/log/src/Log.js +6 -6
  238. package/es/log/src/styles/index.cssr.js +16 -18
  239. package/es/mention/src/Mention.d.ts +1 -1
  240. package/es/mention/src/Mention.js +1 -1
  241. package/es/mention/src/styles/index.cssr.js +2 -2
  242. package/es/mention/src/utils.js +0 -1
  243. package/es/menu/src/Menu.js +43 -40
  244. package/es/menu/src/styles/index.cssr.js +71 -71
  245. package/es/message/index.d.ts +2 -1
  246. package/es/message/src/Message.d.ts +213 -41
  247. package/es/message/src/Message.js +35 -33
  248. package/es/message/src/MessageEnvironment.d.ts +3 -3
  249. package/es/message/src/MessageProvider.d.ts +5 -10
  250. package/es/message/src/MessageProvider.js +1 -1
  251. package/es/message/src/message-props.d.ts +5 -2
  252. package/es/message/src/styles/index.cssr.js +48 -48
  253. package/es/message/src/types.d.ts +15 -0
  254. package/es/message/src/types.js +1 -0
  255. package/es/modal/src/BodyWrapper.d.ts +11 -2
  256. package/es/modal/src/BodyWrapper.js +23 -17
  257. package/es/modal/src/Modal.d.ts +19 -8
  258. package/es/modal/src/Modal.js +15 -8
  259. package/es/modal/src/presetProps.d.ts +2 -1
  260. package/es/modal/src/styles/index.cssr.js +8 -8
  261. package/es/notification/src/Notification.d.ts +24 -24
  262. package/es/notification/src/Notification.js +24 -24
  263. package/es/notification/src/styles/index.cssr.js +65 -65
  264. package/es/number-animation/index.d.ts +3 -0
  265. package/es/number-animation/index.js +1 -0
  266. package/es/number-animation/src/NumberAnimation.d.ts +79 -0
  267. package/es/number-animation/src/NumberAnimation.js +81 -0
  268. package/es/number-animation/src/utils.d.ts +8 -0
  269. package/es/number-animation/src/utils.js +17 -0
  270. package/es/page-header/index.d.ts +1 -1
  271. package/es/page-header/src/PageHeader.d.ts +11 -11
  272. package/es/page-header/src/PageHeader.js +10 -10
  273. package/es/page-header/src/styles/index.cssr.js +23 -23
  274. package/es/pagination/index.d.ts +1 -1
  275. package/es/pagination/src/Pagination.d.ts +50 -45
  276. package/es/pagination/src/Pagination.js +118 -64
  277. package/es/pagination/src/interface.d.ts +10 -1
  278. package/es/pagination/src/styles/index.cssr.js +81 -81
  279. package/es/pagination/src/utils.d.ts +2 -2
  280. package/es/pagination/src/utils.js +2 -4
  281. package/es/popconfirm/src/Popconfirm.d.ts +7 -2
  282. package/es/popconfirm/src/PopconfirmPanel.d.ts +4 -4
  283. package/es/popconfirm/src/PopconfirmPanel.js +4 -4
  284. package/es/popconfirm/src/styles/index.cssr.js +8 -8
  285. package/es/popover/src/Popover.d.ts +7 -0
  286. package/es/popover/src/Popover.js +24 -1
  287. package/es/popover/src/PopoverBody.d.ts +5 -0
  288. package/es/popover/src/PopoverBody.js +43 -61
  289. package/es/popover/src/styles/index.cssr.js +63 -62
  290. package/es/popselect/src/Popselect.d.ts +62 -73
  291. package/es/popselect/src/Popselect.js +2 -2
  292. package/es/progress/src/Circle.d.ts +7 -0
  293. package/es/progress/src/Circle.js +8 -1
  294. package/es/progress/src/Line.d.ts +2 -2
  295. package/es/progress/src/Line.js +4 -1
  296. package/es/progress/src/Progress.d.ts +20 -16
  297. package/es/progress/src/Progress.js +16 -16
  298. package/es/progress/src/styles/index.cssr.js +68 -68
  299. package/es/radio/src/Radio.d.ts +15 -15
  300. package/es/radio/src/Radio.js +15 -15
  301. package/es/radio/src/RadioGroup.d.ts +14 -14
  302. package/es/radio/src/RadioGroup.js +14 -14
  303. package/es/radio/src/styles/radio-group.cssr.js +43 -43
  304. package/es/radio/src/styles/radio.cssr.js +40 -37
  305. package/es/rate/src/Rate.d.ts +4 -4
  306. package/es/rate/src/Rate.js +4 -4
  307. package/es/rate/src/styles/index.cssr.js +11 -11
  308. package/es/result/src/Result.d.ts +9 -9
  309. package/es/result/src/Result.js +18 -19
  310. package/es/result/src/styles/index.cssr.js +26 -26
  311. package/es/select/src/Select.d.ts +9 -28
  312. package/es/select/src/Select.js +17 -25
  313. package/es/select/src/styles/index.cssr.js +2 -2
  314. package/es/skeleton/src/Skeleton.d.ts +3 -3
  315. package/es/skeleton/src/Skeleton.js +3 -3
  316. package/es/skeleton/src/styles/index.cssr.js +12 -12
  317. package/es/slider/src/Slider.d.ts +31 -33
  318. package/es/slider/src/Slider.js +29 -29
  319. package/es/slider/src/styles/index.cssr.js +87 -87
  320. package/es/spin/src/Spin.d.ts +5 -5
  321. package/es/spin/src/Spin.js +5 -5
  322. package/es/spin/src/styles/index.cssr.js +15 -15
  323. package/es/statistic/src/Statistic.d.ts +25 -45
  324. package/es/statistic/src/Statistic.js +12 -19
  325. package/es/statistic/src/styles/index.cssr.js +19 -19
  326. package/es/steps/src/Step.d.ts +12 -12
  327. package/es/steps/src/Step.js +12 -12
  328. package/es/steps/src/styles/index.cssr.js +46 -46
  329. package/es/switch/src/Switch.d.ts +19 -19
  330. package/es/switch/src/Switch.js +26 -19
  331. package/es/switch/src/styles/index.cssr.js +59 -57
  332. package/es/table/src/Table.d.ts +21 -21
  333. package/es/table/src/Table.js +21 -21
  334. package/es/table/src/styles/index.cssr.js +55 -55
  335. package/es/tabs/index.d.ts +1 -0
  336. package/es/tabs/src/Tabs.d.ts +2 -2
  337. package/es/tabs/src/Tabs.js +25 -22
  338. package/es/tabs/src/interface.d.ts +3 -0
  339. package/es/tabs/src/styles/index.cssr.js +4 -1
  340. package/es/tabs/styles/light.js +1 -1
  341. package/es/tag/src/Tag.d.ts +27 -26
  342. package/es/tag/src/Tag.js +27 -26
  343. package/es/tag/src/styles/index.cssr.js +54 -54
  344. package/es/tag/src/styles/rtl.cssr.js +1 -1
  345. package/es/thing/src/Thing.js +5 -5
  346. package/es/thing/src/styles/index.cssr.js +11 -11
  347. package/es/time-picker/src/TimePicker.d.ts +41 -21
  348. package/es/time-picker/src/TimePicker.js +76 -46
  349. package/es/time-picker/src/interface.d.ts +4 -2
  350. package/es/time-picker/src/styles/index.cssr.js +47 -47
  351. package/es/timeline/src/TimelineItem.d.ts +12 -12
  352. package/es/timeline/src/TimelineItem.js +12 -12
  353. package/es/timeline/src/styles/index.cssr.js +44 -44
  354. package/es/tooltip/src/Tooltip.d.ts +5 -0
  355. package/es/transfer/src/Transfer.d.ts +21 -21
  356. package/es/transfer/src/Transfer.js +21 -21
  357. package/es/transfer/src/TransferList.js +5 -7
  358. package/es/transfer/src/styles/index.cssr.js +47 -42
  359. package/es/tree/src/Tree.d.ts +16 -12
  360. package/es/tree/src/Tree.js +15 -13
  361. package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
  362. package/es/tree/src/TreeNodeSwitcher.js +25 -14
  363. package/es/tree/src/dnd.js +2 -2
  364. package/es/tree/src/interface.d.ts +2 -0
  365. package/es/tree/src/styles/index.cssr.js +37 -35
  366. package/es/tree-select/src/TreeSelect.d.ts +8 -8
  367. package/es/tree-select/src/TreeSelect.js +8 -8
  368. package/es/tree-select/src/styles/index.cssr.js +18 -18
  369. package/es/typography/src/a.d.ts +2 -2
  370. package/es/typography/src/a.js +2 -2
  371. package/es/typography/src/blockquote.d.ts +5 -5
  372. package/es/typography/src/blockquote.js +5 -5
  373. package/es/typography/src/create-header.d.ts +8 -8
  374. package/es/typography/src/create-header.js +8 -8
  375. package/es/typography/src/headers.d.ts +48 -48
  376. package/es/typography/src/hr.d.ts +2 -1
  377. package/es/typography/src/hr.js +3 -1
  378. package/es/typography/src/ol.d.ts +7 -7
  379. package/es/typography/src/ol.js +7 -7
  380. package/es/typography/src/p.d.ts +5 -5
  381. package/es/typography/src/p.js +5 -5
  382. package/es/typography/src/styles/a.cssr.js +6 -6
  383. package/es/typography/src/styles/blockquote.cssr.js +11 -11
  384. package/es/typography/src/styles/header.cssr.js +19 -19
  385. package/es/typography/src/styles/hr.cssr.js +3 -3
  386. package/es/typography/src/styles/list.cssr.js +15 -15
  387. package/es/typography/src/styles/p.cssr.js +10 -10
  388. package/es/typography/src/styles/text.cssr.js +18 -18
  389. package/es/typography/src/text.d.ts +8 -7
  390. package/es/typography/src/text.js +9 -8
  391. package/es/typography/src/ul.d.ts +7 -7
  392. package/es/typography/src/ul.js +7 -7
  393. package/es/upload/src/Upload.d.ts +16 -7
  394. package/es/upload/src/Upload.js +34 -25
  395. package/es/upload/src/UploadFile.d.ts +5 -5
  396. package/es/upload/src/UploadFileList.js +2 -2
  397. package/es/upload/src/interface.d.ts +11 -4
  398. package/es/upload/src/styles/index.cssr.js +36 -36
  399. package/es/version.d.ts +1 -1
  400. package/es/version.js +1 -1
  401. package/lib/_internal/clear/src/styles/index.cssr.js +10 -10
  402. package/lib/_internal/close/src/styles/index.cssr.js +9 -10
  403. package/lib/_internal/icons/Close.js +1 -1
  404. package/lib/_internal/icons/Switcher.js +2 -3
  405. package/lib/_internal/scrollbar/src/ScrollBar.d.ts +6 -17
  406. package/lib/_internal/scrollbar/src/ScrollBar.js +14 -16
  407. package/lib/_internal/scrollbar/src/styles/index.cssr.js +15 -15
  408. package/lib/_internal/select-menu/src/SelectMenu.d.ts +21 -21
  409. package/lib/_internal/select-menu/src/SelectMenu.js +21 -21
  410. package/lib/_internal/select-menu/src/styles/index.cssr.js +35 -35
  411. package/lib/_internal/select-menu/styles/_common.js +1 -1
  412. package/lib/_internal/selection/src/Selection.d.ts +44 -44
  413. package/lib/_internal/selection/src/Selection.js +44 -44
  414. package/lib/_internal/selection/src/styles/index.cssr.js +79 -79
  415. package/lib/_internal/selection/styles/_common.js +1 -1
  416. package/lib/_mixins/common.d.ts +1 -0
  417. package/lib/_mixins/common.js +4 -0
  418. package/lib/_mixins/index.d.ts +1 -0
  419. package/lib/_mixins/index.js +3 -1
  420. package/lib/_mixins/use-css-vars-class.d.ts +2 -0
  421. package/lib/_mixins/use-css-vars-class.js +29 -0
  422. package/lib/_mixins/use-rtl.js +2 -0
  423. package/lib/_mixins/use-style.js +3 -0
  424. package/lib/_mixins/use-theme.js +3 -0
  425. package/lib/_utils/composable/use-houdini.js +12 -9
  426. package/lib/alert/src/Alert.d.ts +2 -2
  427. package/lib/auto-complete/src/AutoComplete.d.ts +14 -14
  428. package/lib/auto-complete/src/AutoComplete.js +16 -18
  429. package/lib/auto-complete/src/styles/index.cssr.js +4 -4
  430. package/lib/avatar/index.d.ts +2 -0
  431. package/lib/avatar/index.js +3 -1
  432. package/lib/avatar/src/Avatar.d.ts +72 -33
  433. package/lib/avatar/src/Avatar.js +45 -16
  434. package/lib/avatar/src/AvatarGroup.d.ts +52 -0
  435. package/lib/avatar/src/AvatarGroup.js +67 -0
  436. package/lib/avatar/src/interface.d.ts +2 -0
  437. package/lib/avatar/src/interface.js +2 -0
  438. package/lib/avatar/src/styles/avatar-group.cssr.d.ts +2 -0
  439. package/lib/avatar/src/styles/avatar-group.cssr.js +21 -0
  440. package/lib/avatar/src/styles/index.cssr.js +19 -14
  441. package/lib/avatar/styles/light.d.ts +3 -0
  442. package/lib/avatar/styles/light.js +6 -2
  443. package/lib/back-top/src/BackTop.d.ts +16 -16
  444. package/lib/back-top/src/BackTop.js +13 -13
  445. package/lib/back-top/src/styles/index.cssr.js +29 -29
  446. package/lib/badge/src/Badge.d.ts +6 -6
  447. package/lib/badge/src/Badge.js +6 -6
  448. package/lib/badge/src/styles/index.cssr.js +15 -15
  449. package/lib/breadcrumb/src/Breadcrumb.d.ts +8 -8
  450. package/lib/breadcrumb/src/Breadcrumb.js +8 -8
  451. package/lib/breadcrumb/src/styles/index.cssr.js +23 -23
  452. package/lib/button/src/Button.d.ts +10 -5
  453. package/lib/button/src/Button.js +20 -13
  454. package/lib/calendar/src/Calendar.d.ts +26 -22
  455. package/lib/calendar/src/Calendar.js +36 -24
  456. package/lib/calendar/src/interface.d.ts +4 -0
  457. package/lib/calendar/src/styles/index.cssr.js +57 -57
  458. package/lib/card/src/Card.d.ts +28 -23
  459. package/lib/card/src/Card.js +24 -23
  460. package/lib/card/src/styles/index.cssr.js +71 -69
  461. package/lib/carousel/index.d.ts +1 -0
  462. package/lib/carousel/index.js +3 -1
  463. package/lib/carousel/src/Carousel.d.ts +239 -23
  464. package/lib/carousel/src/Carousel.js +686 -232
  465. package/lib/carousel/src/CarouselArrow.d.ts +9 -0
  466. package/lib/carousel/src/CarouselArrow.js +45 -0
  467. package/lib/carousel/src/CarouselDots.d.ts +66 -0
  468. package/lib/carousel/src/CarouselDots.js +120 -0
  469. package/lib/carousel/src/CarouselItem.d.ts +11 -0
  470. package/lib/carousel/src/CarouselItem.js +74 -0
  471. package/lib/carousel/src/interface.d.ts +28 -0
  472. package/lib/carousel/src/interface.js +6 -0
  473. package/lib/carousel/src/styles/index.cssr.js +150 -47
  474. package/lib/carousel/src/utils.d.ts +12 -0
  475. package/lib/carousel/src/utils.js +69 -0
  476. package/lib/carousel/styles/light.d.ts +3 -0
  477. package/lib/carousel/styles/light.js +5 -2
  478. package/lib/cascader/src/Cascader.d.ts +31 -19
  479. package/lib/cascader/src/Cascader.js +31 -20
  480. package/lib/cascader/src/CascaderMenu.js +1 -1
  481. package/lib/cascader/src/CascaderOption.d.ts +1 -0
  482. package/lib/cascader/src/CascaderOption.js +7 -4
  483. package/lib/cascader/src/interface.d.ts +2 -1
  484. package/lib/cascader/src/styles/index.cssr.js +44 -44
  485. package/lib/cascader/styles/light.js +1 -1
  486. package/lib/checkbox/src/Checkbox.d.ts +23 -23
  487. package/lib/checkbox/src/Checkbox.js +23 -23
  488. package/lib/checkbox/src/styles/index.cssr.js +59 -59
  489. package/lib/code/src/Code.d.ts +19 -14
  490. package/lib/code/src/Code.js +32 -20
  491. package/lib/code/src/styles/index.cssr.js +29 -29
  492. package/lib/collapse/src/Collapse.d.ts +8 -8
  493. package/lib/collapse/src/Collapse.js +8 -8
  494. package/lib/collapse/src/styles/index.cssr.js +24 -24
  495. package/lib/collapse-transition/src/CollapseTransition.d.ts +1 -1
  496. package/lib/collapse-transition/src/CollapseTransition.js +1 -1
  497. package/lib/color-picker/src/ColorInputUnit.js +1 -1
  498. package/lib/color-picker/src/ColorPicker.d.ts +23 -15
  499. package/lib/color-picker/src/ColorPicker.js +29 -20
  500. package/lib/color-picker/src/ColorPickerTrigger.d.ts +1 -1
  501. package/lib/color-picker/src/ColorPickerTrigger.js +22 -16
  502. package/lib/color-picker/src/interface.d.ts +2 -0
  503. package/lib/color-picker/src/styles/index.cssr.js +29 -28
  504. package/lib/components.d.ts +2 -0
  505. package/lib/components.js +2 -0
  506. package/lib/config-provider/src/ConfigProvider.d.ts +27 -0
  507. package/lib/countdown/index.d.ts +2 -0
  508. package/lib/countdown/index.js +8 -0
  509. package/lib/countdown/src/Countdown.d.ts +72 -0
  510. package/lib/countdown/src/Countdown.js +128 -0
  511. package/lib/countdown/src/utils.d.ts +0 -0
  512. package/lib/countdown/src/utils.js +1 -0
  513. package/lib/data-table/src/DataTable.d.ts +49 -94
  514. package/lib/data-table/src/DataTable.js +63 -89
  515. package/lib/data-table/src/TableParts/Body.js +7 -5
  516. package/lib/data-table/src/TableParts/Cell.js +2 -3
  517. package/lib/data-table/src/TableParts/Header.js +1 -1
  518. package/lib/data-table/src/interface.d.ts +1 -1
  519. package/lib/data-table/src/styles/index.cssr.js +133 -130
  520. package/lib/data-table/src/utils.js +3 -0
  521. package/lib/date-picker/src/DatePicker.d.ts +71 -67
  522. package/lib/date-picker/src/DatePicker.js +143 -93
  523. package/lib/date-picker/src/interface.d.ts +17 -2
  524. package/lib/date-picker/src/panel/date.d.ts +4 -9
  525. package/lib/date-picker/src/panel/daterange.d.ts +4 -9
  526. package/lib/date-picker/src/panel/datetime.d.ts +4 -9
  527. package/lib/date-picker/src/panel/datetimerange.d.ts +4 -9
  528. package/lib/date-picker/src/panel/month.d.ts +4 -9
  529. package/lib/date-picker/src/panel/use-calendar.d.ts +2 -5
  530. package/lib/date-picker/src/panel/use-calendar.js +8 -7
  531. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +2 -5
  532. package/lib/date-picker/src/panel/use-dual-calendar.js +12 -13
  533. package/lib/date-picker/src/panel/use-panel-common.d.ts +2 -5
  534. package/lib/date-picker/src/panel/use-panel-common.js +2 -6
  535. package/lib/date-picker/src/styles/index.cssr.js +115 -115
  536. package/lib/descriptions/src/Descriptions.d.ts +18 -18
  537. package/lib/descriptions/src/Descriptions.js +19 -20
  538. package/lib/descriptions/src/styles/index.cssr.js +61 -61
  539. package/lib/dialog/src/Dialog.d.ts +24 -24
  540. package/lib/dialog/src/Dialog.js +22 -22
  541. package/lib/dialog/src/DialogEnvironment.d.ts +2 -2
  542. package/lib/dialog/src/DialogProvider.d.ts +1 -1
  543. package/lib/dialog/src/styles/index.cssr.js +45 -45
  544. package/lib/divider/src/Divider.d.ts +4 -4
  545. package/lib/divider/src/Divider.js +4 -4
  546. package/lib/divider/src/styles/index.cssr.js +12 -12
  547. package/lib/drawer/src/Drawer.d.ts +37 -77
  548. package/lib/drawer/src/Drawer.js +49 -66
  549. package/lib/drawer/src/DrawerBodyWrapper.js +21 -13
  550. package/lib/drawer/src/DrawerContent.js +6 -6
  551. package/lib/drawer/src/styles/index.cssr.js +41 -40
  552. package/lib/dropdown/src/Dropdown.d.ts +5 -0
  553. package/lib/dropdown/src/Dropdown.js +34 -32
  554. package/lib/dropdown/src/styles/index.cssr.js +59 -59
  555. package/lib/dynamic-tags/src/DynamicTags.d.ts +1 -1
  556. package/lib/dynamic-tags/src/DynamicTags.js +1 -1
  557. package/lib/dynamic-tags/src/styles/index.cssr.js +1 -1
  558. package/lib/empty/src/Empty.d.ts +19 -15
  559. package/lib/empty/src/Empty.js +12 -12
  560. package/lib/empty/src/styles/index.cssr.js +19 -18
  561. package/lib/form/src/Feedbacks.js +4 -1
  562. package/lib/form/src/Form.d.ts +34 -34
  563. package/lib/form/src/Form.js +16 -7
  564. package/lib/form/src/FormItem.d.ts +54 -49
  565. package/lib/form/src/FormItem.js +38 -26
  566. package/lib/form/src/FormItemCol.d.ts +41 -31
  567. package/lib/form/src/FormItemCol.js +1 -0
  568. package/lib/form/src/FormItemGridItem.d.ts +41 -31
  569. package/lib/form/src/FormItemGridItem.js +1 -0
  570. package/lib/form/src/FormItemRow.d.ts +40 -30
  571. package/lib/form/src/FormItemRow.js +1 -0
  572. package/lib/form/src/interface.d.ts +6 -2
  573. package/lib/form/src/styles/form-item.cssr.js +39 -37
  574. package/lib/form/src/utils.d.ts +2 -2
  575. package/lib/form/src/utils.js +29 -18
  576. package/lib/form/styles/_common.d.ts +0 -3
  577. package/lib/form/styles/_common.js +0 -3
  578. package/lib/form/styles/light.d.ts +3 -3
  579. package/lib/form/styles/light.js +2 -2
  580. package/lib/gradient-text/src/GradientText.d.ts +5 -5
  581. package/lib/gradient-text/src/GradientText.js +5 -5
  582. package/lib/gradient-text/src/styles/index.cssr.js +9 -9
  583. package/lib/icon/src/Icon.d.ts +6 -6
  584. package/lib/icon/src/Icon.js +4 -4
  585. package/lib/icon/src/styles/index.cssr.js +7 -7
  586. package/lib/image/src/Image.d.ts +279 -10
  587. package/lib/image/src/Image.js +4 -17
  588. package/lib/image/src/ImageGroup.d.ts +272 -2
  589. package/lib/image/src/ImageGroup.js +4 -7
  590. package/lib/image/src/ImagePreview.d.ts +195 -7
  591. package/lib/image/src/ImagePreview.js +60 -40
  592. package/lib/image/src/interface.d.ts +94 -0
  593. package/lib/image/src/interface.js +3 -0
  594. package/lib/image/src/styles/index.cssr.js +11 -7
  595. package/lib/image/styles/dark.js +8 -1
  596. package/lib/image/styles/light.d.ts +32 -3
  597. package/lib/image/styles/light.js +8 -1
  598. package/lib/input/src/Input.d.ts +52 -47
  599. package/lib/input/src/Input.js +54 -49
  600. package/lib/input/src/InputGroupLabel.d.ts +8 -8
  601. package/lib/input/src/InputGroupLabel.js +8 -8
  602. package/lib/input/src/styles/input-group-label.cssr.js +18 -18
  603. package/lib/input/src/styles/input.cssr.js +108 -109
  604. package/lib/input-number/src/InputNumber.d.ts +11 -0
  605. package/lib/input-number/src/InputNumber.js +5 -2
  606. package/lib/input-number/src/utils.js +2 -1
  607. package/lib/layout/src/Layout.d.ts +6 -6
  608. package/lib/layout/src/Layout.js +3 -3
  609. package/lib/layout/src/LayoutContent.d.ts +3 -3
  610. package/lib/layout/src/LayoutFooter.js +7 -7
  611. package/lib/layout/src/LayoutHeader.js +7 -7
  612. package/lib/layout/src/LayoutSider.js +13 -13
  613. package/lib/layout/src/styles/layout-footer.cssr.js +11 -11
  614. package/lib/layout/src/styles/layout-header.cssr.js +11 -11
  615. package/lib/layout/src/styles/layout-sider.cssr.js +32 -32
  616. package/lib/layout/src/styles/layout.cssr.js +8 -8
  617. package/lib/list/src/List.d.ts +10 -10
  618. package/lib/list/src/List.js +10 -10
  619. package/lib/list/src/styles/index.cssr.js +30 -30
  620. package/lib/loading-bar/src/LoadingBar.d.ts +3 -3
  621. package/lib/loading-bar/src/LoadingBar.js +3 -3
  622. package/lib/loading-bar/src/styles/index.cssr.js +7 -7
  623. package/lib/locales/common/deDE.js +10 -0
  624. package/lib/locales/common/enUS.d.ts +9 -0
  625. package/lib/locales/common/enUS.js +10 -0
  626. package/lib/locales/common/frFR.js +17 -8
  627. package/lib/locales/common/idID.js +10 -0
  628. package/lib/locales/common/jaJP.js +10 -0
  629. package/lib/locales/common/nbNO.js +10 -0
  630. package/lib/locales/common/ruRU.js +10 -0
  631. package/lib/locales/common/ukUA.js +10 -0
  632. package/lib/locales/common/zhCN.js +9 -0
  633. package/lib/locales/common/zhTW.js +10 -0
  634. package/lib/log/src/Log.d.ts +6 -6
  635. package/lib/log/src/Log.js +6 -6
  636. package/lib/log/src/styles/index.cssr.js +16 -18
  637. package/lib/mention/src/Mention.d.ts +1 -1
  638. package/lib/mention/src/Mention.js +1 -1
  639. package/lib/mention/src/styles/index.cssr.js +2 -2
  640. package/lib/mention/src/utils.js +0 -1
  641. package/lib/menu/src/Menu.js +43 -40
  642. package/lib/menu/src/styles/index.cssr.js +71 -71
  643. package/lib/message/index.d.ts +2 -1
  644. package/lib/message/src/Message.d.ts +213 -41
  645. package/lib/message/src/Message.js +35 -33
  646. package/lib/message/src/MessageEnvironment.d.ts +3 -3
  647. package/lib/message/src/MessageProvider.d.ts +5 -10
  648. package/lib/message/src/MessageProvider.js +1 -1
  649. package/lib/message/src/message-props.d.ts +5 -2
  650. package/lib/message/src/styles/index.cssr.js +48 -48
  651. package/lib/message/src/types.d.ts +15 -0
  652. package/lib/message/src/types.js +2 -0
  653. package/lib/modal/src/BodyWrapper.d.ts +11 -2
  654. package/lib/modal/src/BodyWrapper.js +23 -17
  655. package/lib/modal/src/Modal.d.ts +19 -8
  656. package/lib/modal/src/Modal.js +15 -8
  657. package/lib/modal/src/presetProps.d.ts +2 -1
  658. package/lib/modal/src/styles/index.cssr.js +8 -8
  659. package/lib/notification/src/Notification.d.ts +24 -24
  660. package/lib/notification/src/Notification.js +24 -24
  661. package/lib/notification/src/styles/index.cssr.js +65 -65
  662. package/lib/number-animation/index.d.ts +3 -0
  663. package/lib/number-animation/index.js +8 -0
  664. package/lib/number-animation/src/NumberAnimation.d.ts +79 -0
  665. package/lib/number-animation/src/NumberAnimation.js +83 -0
  666. package/lib/number-animation/src/utils.d.ts +8 -0
  667. package/lib/number-animation/src/utils.js +21 -0
  668. package/lib/page-header/index.d.ts +1 -1
  669. package/lib/page-header/src/PageHeader.d.ts +11 -11
  670. package/lib/page-header/src/PageHeader.js +10 -10
  671. package/lib/page-header/src/styles/index.cssr.js +23 -23
  672. package/lib/pagination/index.d.ts +1 -1
  673. package/lib/pagination/src/Pagination.d.ts +50 -45
  674. package/lib/pagination/src/Pagination.js +117 -63
  675. package/lib/pagination/src/interface.d.ts +10 -1
  676. package/lib/pagination/src/styles/index.cssr.js +81 -81
  677. package/lib/pagination/src/utils.d.ts +2 -2
  678. package/lib/pagination/src/utils.js +2 -4
  679. package/lib/popconfirm/src/Popconfirm.d.ts +7 -2
  680. package/lib/popconfirm/src/PopconfirmPanel.d.ts +4 -4
  681. package/lib/popconfirm/src/PopconfirmPanel.js +4 -4
  682. package/lib/popconfirm/src/styles/index.cssr.js +8 -8
  683. package/lib/popover/src/Popover.d.ts +7 -0
  684. package/lib/popover/src/Popover.js +23 -0
  685. package/lib/popover/src/PopoverBody.d.ts +5 -0
  686. package/lib/popover/src/PopoverBody.js +42 -60
  687. package/lib/popover/src/styles/index.cssr.js +63 -62
  688. package/lib/popselect/src/Popselect.d.ts +62 -73
  689. package/lib/popselect/src/Popselect.js +2 -2
  690. package/lib/progress/src/Circle.d.ts +7 -0
  691. package/lib/progress/src/Circle.js +8 -1
  692. package/lib/progress/src/Line.d.ts +2 -2
  693. package/lib/progress/src/Line.js +4 -1
  694. package/lib/progress/src/Progress.d.ts +20 -16
  695. package/lib/progress/src/Progress.js +16 -16
  696. package/lib/progress/src/styles/index.cssr.js +68 -68
  697. package/lib/radio/src/Radio.d.ts +15 -15
  698. package/lib/radio/src/Radio.js +15 -15
  699. package/lib/radio/src/RadioGroup.d.ts +14 -14
  700. package/lib/radio/src/RadioGroup.js +14 -14
  701. package/lib/radio/src/styles/radio-group.cssr.js +43 -43
  702. package/lib/radio/src/styles/radio.cssr.js +40 -37
  703. package/lib/rate/src/Rate.d.ts +4 -4
  704. package/lib/rate/src/Rate.js +4 -4
  705. package/lib/rate/src/styles/index.cssr.js +11 -11
  706. package/lib/result/src/Result.d.ts +9 -9
  707. package/lib/result/src/Result.js +17 -18
  708. package/lib/result/src/styles/index.cssr.js +26 -26
  709. package/lib/select/src/Select.d.ts +9 -28
  710. package/lib/select/src/Select.js +15 -23
  711. package/lib/select/src/styles/index.cssr.js +2 -2
  712. package/lib/skeleton/src/Skeleton.d.ts +3 -3
  713. package/lib/skeleton/src/Skeleton.js +3 -3
  714. package/lib/skeleton/src/styles/index.cssr.js +12 -12
  715. package/lib/slider/src/Slider.d.ts +31 -33
  716. package/lib/slider/src/Slider.js +29 -29
  717. package/lib/slider/src/styles/index.cssr.js +87 -87
  718. package/lib/spin/src/Spin.d.ts +5 -5
  719. package/lib/spin/src/Spin.js +5 -5
  720. package/lib/spin/src/styles/index.cssr.js +15 -15
  721. package/lib/statistic/src/Statistic.d.ts +25 -45
  722. package/lib/statistic/src/Statistic.js +12 -19
  723. package/lib/statistic/src/styles/index.cssr.js +19 -19
  724. package/lib/steps/src/Step.d.ts +12 -12
  725. package/lib/steps/src/Step.js +12 -12
  726. package/lib/steps/src/styles/index.cssr.js +46 -46
  727. package/lib/switch/src/Switch.d.ts +19 -19
  728. package/lib/switch/src/Switch.js +26 -19
  729. package/lib/switch/src/styles/index.cssr.js +59 -57
  730. package/lib/table/src/Table.d.ts +21 -21
  731. package/lib/table/src/Table.js +21 -21
  732. package/lib/table/src/styles/index.cssr.js +55 -55
  733. package/lib/tabs/index.d.ts +1 -0
  734. package/lib/tabs/src/Tabs.d.ts +2 -2
  735. package/lib/tabs/src/Tabs.js +25 -22
  736. package/lib/tabs/src/interface.d.ts +3 -0
  737. package/lib/tabs/src/styles/index.cssr.js +4 -1
  738. package/lib/tabs/styles/light.js +1 -1
  739. package/lib/tag/src/Tag.d.ts +27 -26
  740. package/lib/tag/src/Tag.js +27 -26
  741. package/lib/tag/src/styles/index.cssr.js +54 -54
  742. package/lib/tag/src/styles/rtl.cssr.js +1 -1
  743. package/lib/thing/src/Thing.js +5 -5
  744. package/lib/thing/src/styles/index.cssr.js +11 -11
  745. package/lib/time-picker/src/TimePicker.d.ts +41 -21
  746. package/lib/time-picker/src/TimePicker.js +76 -46
  747. package/lib/time-picker/src/interface.d.ts +4 -2
  748. package/lib/time-picker/src/styles/index.cssr.js +47 -47
  749. package/lib/timeline/src/TimelineItem.d.ts +12 -12
  750. package/lib/timeline/src/TimelineItem.js +12 -12
  751. package/lib/timeline/src/styles/index.cssr.js +44 -44
  752. package/lib/tooltip/src/Tooltip.d.ts +5 -0
  753. package/lib/transfer/src/Transfer.d.ts +21 -21
  754. package/lib/transfer/src/Transfer.js +21 -21
  755. package/lib/transfer/src/TransferList.js +5 -7
  756. package/lib/transfer/src/styles/index.cssr.js +47 -42
  757. package/lib/tree/src/Tree.d.ts +16 -12
  758. package/lib/tree/src/Tree.js +15 -13
  759. package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
  760. package/lib/tree/src/TreeNodeSwitcher.js +24 -13
  761. package/lib/tree/src/dnd.js +2 -2
  762. package/lib/tree/src/interface.d.ts +2 -0
  763. package/lib/tree/src/styles/index.cssr.js +37 -35
  764. package/lib/tree-select/src/TreeSelect.d.ts +8 -8
  765. package/lib/tree-select/src/TreeSelect.js +8 -8
  766. package/lib/tree-select/src/styles/index.cssr.js +18 -18
  767. package/lib/typography/src/a.d.ts +2 -2
  768. package/lib/typography/src/a.js +2 -2
  769. package/lib/typography/src/blockquote.d.ts +5 -5
  770. package/lib/typography/src/blockquote.js +5 -5
  771. package/lib/typography/src/create-header.d.ts +8 -8
  772. package/lib/typography/src/create-header.js +8 -8
  773. package/lib/typography/src/headers.d.ts +48 -48
  774. package/lib/typography/src/hr.d.ts +2 -1
  775. package/lib/typography/src/hr.js +3 -1
  776. package/lib/typography/src/ol.d.ts +7 -7
  777. package/lib/typography/src/ol.js +7 -7
  778. package/lib/typography/src/p.d.ts +5 -5
  779. package/lib/typography/src/p.js +5 -5
  780. package/lib/typography/src/styles/a.cssr.js +6 -6
  781. package/lib/typography/src/styles/blockquote.cssr.js +11 -11
  782. package/lib/typography/src/styles/header.cssr.js +19 -19
  783. package/lib/typography/src/styles/hr.cssr.js +3 -3
  784. package/lib/typography/src/styles/list.cssr.js +15 -15
  785. package/lib/typography/src/styles/p.cssr.js +10 -10
  786. package/lib/typography/src/styles/text.cssr.js +18 -18
  787. package/lib/typography/src/text.d.ts +8 -7
  788. package/lib/typography/src/text.js +9 -8
  789. package/lib/typography/src/ul.d.ts +7 -7
  790. package/lib/typography/src/ul.js +7 -7
  791. package/lib/upload/src/Upload.d.ts +16 -7
  792. package/lib/upload/src/Upload.js +34 -25
  793. package/lib/upload/src/UploadFile.d.ts +5 -5
  794. package/lib/upload/src/UploadFileList.js +2 -2
  795. package/lib/upload/src/interface.d.ts +11 -4
  796. package/lib/upload/src/styles/index.cssr.js +36 -36
  797. package/lib/version.d.ts +1 -1
  798. package/lib/version.js +1 -1
  799. package/package.json +52 -43
  800. package/web-types.json +648 -43
@@ -1,18 +1,18 @@
1
1
  import { c, cB, cE, cM, cNotM } from '../../../_utils/cssr';
2
2
  import iconSwitchTransition from '../../../_styles/transitions/icon-switch.cssr';
3
3
  import fadeInHeightExpandTransition from '../../../_styles/transitions/fade-in-height-expand.cssr'; // vars:
4
- // --arrow-color
5
- // --bezier
6
- // --font-size
7
- // --node-border-radius
8
- // --node-color-active
9
- // --node-color-hover
10
- // --node-color-pressed
11
- // --node-text-color
12
- // --node-text-color-disabled
4
+ // --n-arrow-color
5
+ // --n-bezier
6
+ // --n-font-size
7
+ // --n-node-border-radius
8
+ // --n-node-color-active
9
+ // --n-node-color-hover
10
+ // --n-node-color-pressed
11
+ // --n-node-text-color
12
+ // --n-node-text-color-disabled
13
13
 
14
14
  export default cB('tree', `
15
- font-size: var(--font-size);
15
+ font-size: var(--n-font-size);
16
16
  outline: none;
17
17
  `, [c('ul, li', `
18
18
  margin: 0;
@@ -32,33 +32,33 @@ export default cB('tree', `
32
32
  `), cB('tree-node', `
33
33
  position: relative;
34
34
  display: flex;
35
- border-radius: var(--node-border-radius);
36
- transition: background-color .3s var(--bezier);
35
+ border-radius: var(--n-node-border-radius);
36
+ transition: background-color .3s var(--n-bezier);
37
37
  `, [cM('highlight', [cB('tree-node-content', [cE('text', {
38
- borderBottomColor: 'var(--node-text-color-disabled)'
38
+ borderBottomColor: 'var(--n-node-text-color-disabled)'
39
39
  })])]), cM('disabled', [cB('tree-node-content', `
40
- color: var(--node-text-color-disabled);
40
+ color: var(--n-node-text-color-disabled);
41
41
  cursor: not-allowed;
42
42
  `)]), cNotM('disabled', [cM('selectable', [cB('tree-node-content', `
43
43
  cursor: pointer;
44
44
  `)])])]), cM('block-node', [cB('tree-node-content', `
45
45
  width: 100%;
46
46
  `)]), cNotM('block-line', [cB('tree-node', [cNotM('disabled', [cB('tree-node-content', [c('&:hover', {
47
- backgroundColor: 'var(--node-color-hover)'
47
+ backgroundColor: 'var(--n-node-color-hover)'
48
48
  })]), cM('selectable', [cB('tree-node-content', [c('&:active', {
49
- backgroundColor: 'var(--node-color-pressed)'
49
+ backgroundColor: 'var(--n-node-color-pressed)'
50
50
  })])]), cM('pending', [cB('tree-node-content', `
51
- background-color: var(--node-color-hover);
51
+ background-color: var(--n-node-color-hover);
52
52
  `)]), cM('selected', [cB('tree-node-content', {
53
- backgroundColor: 'var(--node-color-active)'
53
+ backgroundColor: 'var(--n-node-color-active)'
54
54
  })])])])]), cM('block-line', [cB('tree-node', [cNotM('disabled', [c('&:hover', {
55
- backgroundColor: 'var(--node-color-hover)'
55
+ backgroundColor: 'var(--n-node-color-hover)'
56
56
  }), cM('selectable', [c('&:active', {
57
- backgroundColor: 'var(--node-color-pressed)'
57
+ backgroundColor: 'var(--n-node-color-pressed)'
58
58
  })]), cM('pending', `
59
- background-color: var(--node-color-hover);
59
+ background-color: var(--n-node-color-hover);
60
60
  `), cM('selected', {
61
- backgroundColor: 'var(--node-color-active)'
61
+ backgroundColor: 'var(--n-node-color-active)'
62
62
  })]), cM('disabled', `
63
63
  cursor: not-allowed;
64
64
  `)])]), cB('tree-node-switcher', `
@@ -69,18 +69,18 @@ export default cB('tree', `
69
69
  width: 24px;
70
70
  align-items: center;
71
71
  justify-content: center;
72
- transition: transform .15s var(--bezier);
72
+ transition: transform .15s var(--n-bezier);
73
73
  vertical-align: bottom;
74
74
  `, [cE('icon', `
75
75
  position: relative;
76
76
  height: 14px;
77
77
  width: 14px;
78
78
  display: flex;
79
- color: var(--arrow-color);
80
- transition: color .3s var(--bezier);
79
+ color: var(--n-arrow-color);
80
+ transition: color .3s var(--n-bezier);
81
81
  font-size: 14px;
82
82
  `, [cB('icon', [iconSwitchTransition()]), cB('base-loading', `
83
- color: var(--loading-color);
83
+ color: var(--n-loading-color);
84
84
  position: absolute;
85
85
  left: 0;
86
86
  top: 0;
@@ -98,7 +98,9 @@ export default cB('tree', `
98
98
  align-items: center;
99
99
  justify-content: center;
100
100
  margin-right: 4px;
101
- `), cB('tree-node-content', `
101
+ `), cM('checkable', [cB('tree-node-content', `
102
+ padding: 0 6px;
103
+ `)]), cB('tree-node-content', `
102
104
  position: relative;
103
105
  display: inline-flex;
104
106
  align-items: center;
@@ -106,17 +108,17 @@ export default cB('tree', `
106
108
  box-sizing: border-box;
107
109
  line-height: 1.5;
108
110
  vertical-align: bottom;
109
- padding: 0 6px;
111
+ padding: 0 6px 0 4px;
110
112
  cursor: default;
111
- border-radius: var(--node-border-radius);
113
+ border-radius: var(--n-node-border-radius);
112
114
  text-decoration-color: #0000;
113
115
  text-decoration-line: underline;
114
- color: var(--node-text-color);
116
+ color: var(--n-node-text-color);
115
117
  transition:
116
- color .3s var(--bezier),
117
- text-decoration-color .3s var(--bezier),
118
- background-color .3s var(--bezier),
119
- border-color .3s var(--bezier);
118
+ color .3s var(--n-bezier),
119
+ text-decoration-color .3s var(--n-bezier),
120
+ background-color .3s var(--n-bezier),
121
+ border-color .3s var(--n-bezier);
120
122
  `, [c('&:last-child', {
121
123
  marginBottom: 0
122
124
  }), cE('prefix', `
@@ -124,7 +126,7 @@ export default cB('tree', `
124
126
  margin-right: 8px;
125
127
  `), cE('text', `
126
128
  border-bottom: 1px solid #0000;
127
- transition: border-color .3s var(--bezier);
129
+ transition: border-color .3s var(--n-bezier);
128
130
  flex-grow:1;
129
131
  `), cE('suffix', `
130
132
  display: inline-flex;
@@ -1075,14 +1075,14 @@ declare const _default: import("vue").DefineComponent<{
1075
1075
  handleTabOut: () => void;
1076
1076
  handleMenuMousedown: (e: MouseEvent) => void;
1077
1077
  cssVars: import("vue").ComputedRef<{
1078
- '--menu-box-shadow': string;
1079
- '--menu-border-radius': string;
1080
- '--menu-color': string;
1081
- '--menu-height': string;
1082
- '--bezier': string;
1083
- '--action-padding': string;
1084
- '--action-text-color': string;
1085
- '--action-divider-color': string;
1078
+ '--n-menu-box-shadow': string;
1079
+ '--n-menu-border-radius': string;
1080
+ '--n-menu-color': string;
1081
+ '--n-menu-height': string;
1082
+ '--n-bezier': string;
1083
+ '--n-action-padding': string;
1084
+ '--n-action-text-color': string;
1085
+ '--n-action-divider-color': string;
1086
1086
  }>;
1087
1087
  mergedTheme: import("vue").ComputedRef<{
1088
1088
  common: {
@@ -518,14 +518,14 @@ export default defineComponent({
518
518
  cssVars: computed(() => {
519
519
  const { common: { cubicBezierEaseInOut }, self: { menuBoxShadow, menuBorderRadius, menuColor, menuHeight, actionPadding, actionDividerColor, actionTextColor } } = themeRef.value;
520
520
  return {
521
- '--menu-box-shadow': menuBoxShadow,
522
- '--menu-border-radius': menuBorderRadius,
523
- '--menu-color': menuColor,
524
- '--menu-height': menuHeight,
525
- '--bezier': cubicBezierEaseInOut,
526
- '--action-padding': actionPadding,
527
- '--action-text-color': actionTextColor,
528
- '--action-divider-color': actionDividerColor
521
+ '--n-menu-box-shadow': menuBoxShadow,
522
+ '--n-menu-border-radius': menuBorderRadius,
523
+ '--n-menu-color': menuColor,
524
+ '--n-menu-height': menuHeight,
525
+ '--n-bezier': cubicBezierEaseInOut,
526
+ '--n-action-padding': actionPadding,
527
+ '--n-action-text-color': actionTextColor,
528
+ '--n-action-divider-color': actionDividerColor
529
529
  };
530
530
  }),
531
531
  mergedTheme: themeRef
@@ -1,13 +1,13 @@
1
1
  import fadeInScaleUpTransition from '../../../_styles/transitions/fade-in-scale-up.cssr';
2
2
  import { c, cB, cE } from '../../../_utils/cssr'; // vars:
3
- // --bezier
4
- // --menu-height
5
- // --menu-border-radius
6
- // --menu-box-shadow
7
- // --menu-color
8
- // --action-padding
9
- // --action-text-color
10
- // --action-divider-color
3
+ // --n-bezier
4
+ // --n-menu-height
5
+ // --n-menu-border-radius
6
+ // --n-menu-box-shadow
7
+ // --n-menu-color
8
+ // --n-action-padding
9
+ // --n-action-text-color
10
+ // --n-action-divider-color
11
11
 
12
12
  export default c([cB('tree-select', `
13
13
  z-index: auto;
@@ -18,21 +18,21 @@ export default c([cB('tree-select', `
18
18
  position: relative;
19
19
  overflow: hidden;
20
20
  margin: 4px 0;
21
- transition: box-shadow .3s var(--bezier), background-color .3s var(--bezier);
22
- border-radius: var(--menu-border-radius);
23
- box-shadow: var(--menu-box-shadow);
24
- background-color: var(--menu-color);
21
+ transition: box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier);
22
+ border-radius: var(--n-menu-border-radius);
23
+ box-shadow: var(--n-menu-box-shadow);
24
+ background-color: var(--n-menu-color);
25
25
  outline: none;
26
- `, [cB('tree', 'max-height: var(--menu-height);'), cE('empty', `
26
+ `, [cB('tree', 'max-height: var(--n-menu-height);'), cE('empty', `
27
27
  display: flex;
28
28
  padding: 12px 32px;
29
29
  flex: 1;
30
30
  justify-content: center;
31
31
  `), cE('action', `
32
- padding: var(--action-padding);
32
+ padding: var(--n-action-padding);
33
33
  transition:
34
- color .3s var(--bezier);
35
- border-color .3s var(--bezier);
36
- border-top: 1px solid var(--action-divider-color);
37
- color: var(--action-text-color);
34
+ color .3s var(--n-bezier);
35
+ border-color .3s var(--n-bezier);
36
+ border-top: 1px solid var(--n-action-divider-color);
37
+ color: var(--n-action-text-color);
38
38
  `), fadeInScaleUpTransition()])]);
@@ -402,8 +402,8 @@ declare const _default: import("vue").DefineComponent<{
402
402
  }, {
403
403
  mergedClsPrefix: import("vue").ComputedRef<string>;
404
404
  cssVars: import("vue").ComputedRef<{
405
- '--text-color': string;
406
- '--bezier': string;
405
+ '--n-text-color': string;
406
+ '--n-bezier': string;
407
407
  }>;
408
408
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
409
409
  readonly theme?: unknown;
@@ -14,8 +14,8 @@ export default defineComponent({
14
14
  cssVars: computed(() => {
15
15
  const { common: { cubicBezierEaseInOut }, self: { aTextColor } } = themeRef.value;
16
16
  return {
17
- '--text-color': aTextColor,
18
- '--bezier': cubicBezierEaseInOut
17
+ '--n-text-color': aTextColor,
18
+ '--n-bezier': cubicBezierEaseInOut
19
19
  };
20
20
  })
21
21
  };
@@ -404,11 +404,11 @@ declare const _default: import("vue").DefineComponent<{
404
404
  }, {
405
405
  mergedClsPrefix: import("vue").ComputedRef<string>;
406
406
  cssVars: import("vue").ComputedRef<{
407
- '--bezier': string;
408
- '--font-size': string;
409
- '--line-height': string;
410
- '--prefix-color': string;
411
- '--text-color': string;
407
+ '--n-bezier': string;
408
+ '--n-font-size': string;
409
+ '--n-line-height': string;
410
+ '--n-prefix-color': string;
411
+ '--n-text-color': string;
412
412
  }>;
413
413
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
414
414
  readonly alignText?: unknown;
@@ -14,11 +14,11 @@ export default defineComponent({
14
14
  cssVars: computed(() => {
15
15
  const { common: { cubicBezierEaseInOut }, self: { blockquoteTextColor, blockquotePrefixColor, blockquoteLineHeight, blockquoteFontSize } } = themeRef.value;
16
16
  return {
17
- '--bezier': cubicBezierEaseInOut,
18
- '--font-size': blockquoteFontSize,
19
- '--line-height': blockquoteLineHeight,
20
- '--prefix-color': blockquotePrefixColor,
21
- '--text-color': blockquoteTextColor
17
+ '--n-bezier': cubicBezierEaseInOut,
18
+ '--n-font-size': blockquoteFontSize,
19
+ '--n-line-height': blockquoteLineHeight,
20
+ '--n-prefix-color': blockquotePrefixColor,
21
+ '--n-text-color': blockquoteTextColor
22
22
  };
23
23
  })
24
24
  };
@@ -415,14 +415,14 @@ declare const _default: (level: '1' | '2' | '3' | '4' | '5' | '6') => import("vu
415
415
  }, {
416
416
  mergedClsPrefix: import("vue").ComputedRef<string>;
417
417
  cssVars: import("vue").ComputedRef<{
418
- '--bezier': string;
419
- '--font-size': string;
420
- '--margin': string;
421
- '--bar-color': string;
422
- '--bar-width': string;
423
- '--font-weight': string;
424
- '--text-color': string;
425
- '--prefix-width': string;
418
+ '--n-bezier': string;
419
+ '--n-font-size': string;
420
+ '--n-margin': string;
421
+ '--n-bar-color': string;
422
+ '--n-bar-width': string;
423
+ '--n-font-weight': string;
424
+ '--n-text-color': string;
425
+ '--n-prefix-width': string;
426
426
  }>;
427
427
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
428
428
  readonly type?: unknown;
@@ -20,14 +20,14 @@ export default (level) => defineComponent({
20
20
  const { type } = props;
21
21
  const { common: { cubicBezierEaseInOut }, self: { headerFontWeight, headerTextColor, [createKey('headerPrefixWidth', level)]: prefixWidth, [createKey('headerFontSize', level)]: fontSize, [createKey('headerMargin', level)]: margin, [createKey('headerBarWidth', level)]: barWidth, [createKey('headerBarColor', type)]: barColor } } = themeRef.value;
22
22
  return {
23
- '--bezier': cubicBezierEaseInOut,
24
- '--font-size': fontSize,
25
- '--margin': margin,
26
- '--bar-color': barColor,
27
- '--bar-width': barWidth,
28
- '--font-weight': headerFontWeight,
29
- '--text-color': headerTextColor,
30
- '--prefix-width': prefixWidth
23
+ '--n-bezier': cubicBezierEaseInOut,
24
+ '--n-font-size': fontSize,
25
+ '--n-margin': margin,
26
+ '--n-bar-color': barColor,
27
+ '--n-bar-width': barWidth,
28
+ '--n-font-weight': headerFontWeight,
29
+ '--n-text-color': headerTextColor,
30
+ '--n-prefix-width': prefixWidth
31
31
  };
32
32
  })
33
33
  };
@@ -206,14 +206,14 @@ export declare const NH1: import("vue").DefineComponent<{
206
206
  }, {
207
207
  mergedClsPrefix: import("vue").ComputedRef<string>;
208
208
  cssVars: import("vue").ComputedRef<{
209
- '--bezier': string;
210
- '--font-size': string;
211
- '--margin': string;
212
- '--bar-color': string;
213
- '--bar-width': string;
214
- '--font-weight': string;
215
- '--text-color': string;
216
- '--prefix-width': string;
209
+ '--n-bezier': string;
210
+ '--n-font-size': string;
211
+ '--n-margin': string;
212
+ '--n-bar-color': string;
213
+ '--n-bar-width': string;
214
+ '--n-font-weight': string;
215
+ '--n-text-color': string;
216
+ '--n-prefix-width': string;
217
217
  }>;
218
218
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
219
219
  readonly type?: unknown;
@@ -637,14 +637,14 @@ export declare const NH2: import("vue").DefineComponent<{
637
637
  }, {
638
638
  mergedClsPrefix: import("vue").ComputedRef<string>;
639
639
  cssVars: import("vue").ComputedRef<{
640
- '--bezier': string;
641
- '--font-size': string;
642
- '--margin': string;
643
- '--bar-color': string;
644
- '--bar-width': string;
645
- '--font-weight': string;
646
- '--text-color': string;
647
- '--prefix-width': string;
640
+ '--n-bezier': string;
641
+ '--n-font-size': string;
642
+ '--n-margin': string;
643
+ '--n-bar-color': string;
644
+ '--n-bar-width': string;
645
+ '--n-font-weight': string;
646
+ '--n-text-color': string;
647
+ '--n-prefix-width': string;
648
648
  }>;
649
649
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
650
650
  readonly type?: unknown;
@@ -1068,14 +1068,14 @@ export declare const NH3: import("vue").DefineComponent<{
1068
1068
  }, {
1069
1069
  mergedClsPrefix: import("vue").ComputedRef<string>;
1070
1070
  cssVars: import("vue").ComputedRef<{
1071
- '--bezier': string;
1072
- '--font-size': string;
1073
- '--margin': string;
1074
- '--bar-color': string;
1075
- '--bar-width': string;
1076
- '--font-weight': string;
1077
- '--text-color': string;
1078
- '--prefix-width': string;
1071
+ '--n-bezier': string;
1072
+ '--n-font-size': string;
1073
+ '--n-margin': string;
1074
+ '--n-bar-color': string;
1075
+ '--n-bar-width': string;
1076
+ '--n-font-weight': string;
1077
+ '--n-text-color': string;
1078
+ '--n-prefix-width': string;
1079
1079
  }>;
1080
1080
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
1081
1081
  readonly type?: unknown;
@@ -1499,14 +1499,14 @@ export declare const NH4: import("vue").DefineComponent<{
1499
1499
  }, {
1500
1500
  mergedClsPrefix: import("vue").ComputedRef<string>;
1501
1501
  cssVars: import("vue").ComputedRef<{
1502
- '--bezier': string;
1503
- '--font-size': string;
1504
- '--margin': string;
1505
- '--bar-color': string;
1506
- '--bar-width': string;
1507
- '--font-weight': string;
1508
- '--text-color': string;
1509
- '--prefix-width': string;
1502
+ '--n-bezier': string;
1503
+ '--n-font-size': string;
1504
+ '--n-margin': string;
1505
+ '--n-bar-color': string;
1506
+ '--n-bar-width': string;
1507
+ '--n-font-weight': string;
1508
+ '--n-text-color': string;
1509
+ '--n-prefix-width': string;
1510
1510
  }>;
1511
1511
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
1512
1512
  readonly type?: unknown;
@@ -1930,14 +1930,14 @@ export declare const NH5: import("vue").DefineComponent<{
1930
1930
  }, {
1931
1931
  mergedClsPrefix: import("vue").ComputedRef<string>;
1932
1932
  cssVars: import("vue").ComputedRef<{
1933
- '--bezier': string;
1934
- '--font-size': string;
1935
- '--margin': string;
1936
- '--bar-color': string;
1937
- '--bar-width': string;
1938
- '--font-weight': string;
1939
- '--text-color': string;
1940
- '--prefix-width': string;
1933
+ '--n-bezier': string;
1934
+ '--n-font-size': string;
1935
+ '--n-margin': string;
1936
+ '--n-bar-color': string;
1937
+ '--n-bar-width': string;
1938
+ '--n-font-weight': string;
1939
+ '--n-text-color': string;
1940
+ '--n-prefix-width': string;
1941
1941
  }>;
1942
1942
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
1943
1943
  readonly type?: unknown;
@@ -2361,14 +2361,14 @@ export declare const NH6: import("vue").DefineComponent<{
2361
2361
  }, {
2362
2362
  mergedClsPrefix: import("vue").ComputedRef<string>;
2363
2363
  cssVars: import("vue").ComputedRef<{
2364
- '--bezier': string;
2365
- '--font-size': string;
2366
- '--margin': string;
2367
- '--bar-color': string;
2368
- '--bar-width': string;
2369
- '--font-weight': string;
2370
- '--text-color': string;
2371
- '--prefix-width': string;
2364
+ '--n-bezier': string;
2365
+ '--n-font-size': string;
2366
+ '--n-margin': string;
2367
+ '--n-bar-color': string;
2368
+ '--n-bar-width': string;
2369
+ '--n-font-weight': string;
2370
+ '--n-text-color': string;
2371
+ '--n-prefix-width': string;
2372
2372
  }>;
2373
2373
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
2374
2374
  readonly type?: unknown;
@@ -200,7 +200,8 @@ declare const _default: import("vue").DefineComponent<{
200
200
  }, {
201
201
  mergedClsPrefix: import("vue").ComputedRef<string>;
202
202
  cssVars: import("vue").ComputedRef<{
203
- '--color': string;
203
+ '--n-bezier': string;
204
+ '--n-color': string;
204
205
  }>;
205
206
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
206
207
  theme?: unknown;
@@ -11,8 +11,10 @@ export default defineComponent({
11
11
  return {
12
12
  mergedClsPrefix: mergedClsPrefixRef,
13
13
  cssVars: computed(() => {
14
+ const { common: { cubicBezierEaseInOut }, self: { hrColor } } = themeRef.value;
14
15
  return {
15
- '--color': themeRef.value.self.hrColor
16
+ '--n-bezier': cubicBezierEaseInOut,
17
+ '--n-color': hrColor
16
18
  };
17
19
  })
18
20
  };
@@ -404,13 +404,13 @@ declare const _default: import("vue").DefineComponent<{
404
404
  }, {
405
405
  mergedClsPrefix: import("vue").ComputedRef<string>;
406
406
  cssVars: import("vue").ComputedRef<{
407
- '--bezier': string;
408
- '--font-size': string;
409
- '--line-height': string;
410
- '--text-color': string;
411
- '--li-margin': string;
412
- '--ol-padding': string;
413
- '--ul-padding': string;
407
+ '--n-bezier': string;
408
+ '--n-font-size': string;
409
+ '--n-line-height': string;
410
+ '--n-text-color': string;
411
+ '--n-li-margin': string;
412
+ '--n-ol-padding': string;
413
+ '--n-ul-padding': string;
414
414
  }>;
415
415
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
416
416
  alignText?: unknown;
@@ -14,13 +14,13 @@ export default defineComponent({
14
14
  cssVars: computed(() => {
15
15
  const { common: { cubicBezierEaseInOut }, self: { olPadding, ulPadding, liMargin, liTextColor, liLineHeight, liFontSize } } = themeRef.value;
16
16
  return {
17
- '--bezier': cubicBezierEaseInOut,
18
- '--font-size': liFontSize,
19
- '--line-height': liLineHeight,
20
- '--text-color': liTextColor,
21
- '--li-margin': liMargin,
22
- '--ol-padding': olPadding,
23
- '--ul-padding': ulPadding
17
+ '--n-bezier': cubicBezierEaseInOut,
18
+ '--n-font-size': liFontSize,
19
+ '--n-line-height': liLineHeight,
20
+ '--n-text-color': liTextColor,
21
+ '--n-li-margin': liMargin,
22
+ '--n-ol-padding': olPadding,
23
+ '--n-ul-padding': ulPadding
24
24
  };
25
25
  })
26
26
  };
@@ -405,11 +405,11 @@ declare const _default: import("vue").DefineComponent<{
405
405
  }, {
406
406
  mergedClsPrefix: import("vue").ComputedRef<string>;
407
407
  cssVars: import("vue").ComputedRef<{
408
- '--bezier': string;
409
- '--font-size': string;
410
- '--line-height': string;
411
- '--margin': string;
412
- '--text-color': string;
408
+ '--n-bezier': string;
409
+ '--n-font-size': string;
410
+ '--n-line-height': string;
411
+ '--n-margin': string;
412
+ '--n-text-color': string;
413
413
  }>;
414
414
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
415
415
  depth?: unknown;
@@ -16,11 +16,11 @@ export default defineComponent({
16
16
  const typeSafeDepth = depth || '1';
17
17
  const { common: { cubicBezierEaseInOut }, self: { pFontSize, pLineHeight, pMargin, pTextColor, [`pTextColor${typeSafeDepth}Depth`]: depthTextColor } } = themeRef.value;
18
18
  return {
19
- '--bezier': cubicBezierEaseInOut,
20
- '--font-size': pFontSize,
21
- '--line-height': pLineHeight,
22
- '--margin': pMargin,
23
- '--text-color': depth === undefined ? pTextColor : depthTextColor
19
+ '--n-bezier': cubicBezierEaseInOut,
20
+ '--n-font-size': pFontSize,
21
+ '--n-line-height': pLineHeight,
22
+ '--n-margin': pMargin,
23
+ '--n-text-color': depth === undefined ? pTextColor : depthTextColor
24
24
  };
25
25
  })
26
26
  };
@@ -1,12 +1,12 @@
1
1
  import { cB } from '../../../_utils/cssr'; // vars:
2
- // --text-color
3
- // --bezier
2
+ // --n-text-color
3
+ // --n-bezier
4
4
 
5
5
  export default cB('a', `
6
6
  cursor: pointer;
7
7
  transition:
8
- color .3s var(--bezier),
9
- text-decoration-color .3s var(--bezier);
10
- text-decoration-color: var(--text-color);
11
- color: var(--text-color);
8
+ color .3s var(--n-bezier),
9
+ text-decoration-color .3s var(--n-bezier);
10
+ text-decoration-color: var(--n-text-color);
11
+ color: var(--n-text-color);
12
12
  `);