naive-ui 2.32.0 → 2.32.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (432) hide show
  1. package/README.zh-CN.md +1 -1
  2. package/dist/index.js +46388 -42920
  3. package/dist/index.prod.js +2 -2
  4. package/es/_internal/scrollbar/src/Scrollbar.js +2 -1
  5. package/es/_internal/select-menu/styles/light.js +1 -1
  6. package/es/_internal/selection/src/Selection.js +1 -1
  7. package/es/_utils/cssr/index.js +4 -4
  8. package/es/alert/src/Alert.d.ts +14 -0
  9. package/es/alert/src/Alert.js +11 -2
  10. package/es/alert/src/styles/index.cssr.js +11 -2
  11. package/es/alert/styles/dark.js +5 -1
  12. package/es/anchor/styles/light.js +2 -1
  13. package/es/auto-complete/src/AutoComplete.d.ts +14 -1
  14. package/es/auto-complete/src/AutoComplete.js +22 -16
  15. package/es/auto-complete/styles/light.d.ts +1 -0
  16. package/es/breadcrumb/styles/light.js +1 -1
  17. package/es/button/styles/light.js +5 -1
  18. package/es/card/styles/light.js +1 -1
  19. package/es/carousel/src/Carousel.js +7 -5
  20. package/es/cascader/src/Cascader.d.ts +13 -0
  21. package/es/cascader/src/Cascader.js +12 -4
  22. package/es/checkbox/src/CheckboxGroup.js +2 -2
  23. package/es/checkbox/styles/light.js +1 -1
  24. package/es/collapse/src/Collapse.d.ts +22 -0
  25. package/es/collapse/src/Collapse.js +4 -2
  26. package/es/collapse/src/CollapseItem.d.ts +6 -1
  27. package/es/collapse/src/CollapseItem.js +4 -2
  28. package/es/collapse/src/styles/index.cssr.js +10 -21
  29. package/es/collapse/styles/light.d.ts +2 -0
  30. package/es/collapse/styles/light.js +5 -3
  31. package/es/color-picker/src/ColorInputUnit.d.ts +1 -0
  32. package/es/color-picker/src/ColorPicker.d.ts +9 -0
  33. package/es/color-picker/src/ColorPicker.js +3 -2
  34. package/es/color-picker/styles/light.d.ts +1 -0
  35. package/es/countdown/src/Countdown.js +1 -1
  36. package/es/data-table/src/DataTable.d.ts +18 -0
  37. package/es/data-table/src/DataTable.js +6 -3
  38. package/es/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  39. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +4 -2
  40. package/es/data-table/src/TableParts/Body.d.ts +6 -0
  41. package/es/data-table/src/TableParts/Body.js +22 -14
  42. package/es/data-table/src/TableParts/Cell.d.ts +4 -0
  43. package/es/data-table/src/TableParts/ExpandTrigger.d.ts +7 -1
  44. package/es/data-table/src/TableParts/ExpandTrigger.js +15 -9
  45. package/es/data-table/src/TableParts/Header.d.ts +3 -1
  46. package/es/data-table/src/interface.d.ts +6 -3
  47. package/es/data-table/src/styles/index.cssr.js +25 -7
  48. package/es/data-table/src/use-expand.d.ts +3 -1
  49. package/es/data-table/src/use-expand.js +15 -8
  50. package/es/data-table/src/use-group-header.js +1 -1
  51. package/es/data-table/src/use-sorter.js +1 -1
  52. package/es/data-table/src/use-table-data.js +1 -1
  53. package/es/data-table/styles/light.d.ts +1 -0
  54. package/es/date-picker/src/DatePicker.d.ts +23 -2
  55. package/es/date-picker/src/DatePicker.js +4 -4
  56. package/es/date-picker/src/panel/date.d.ts +6 -3
  57. package/es/date-picker/src/panel/daterange.d.ts +3 -0
  58. package/es/date-picker/src/panel/datetime.d.ts +3 -0
  59. package/es/date-picker/src/panel/datetimerange.d.ts +3 -0
  60. package/es/date-picker/src/panel/month.d.ts +3 -0
  61. package/es/date-picker/src/panel/monthrange.d.ts +3 -0
  62. package/es/date-picker/src/panel/panelHeader.d.ts +6 -0
  63. package/es/date-picker/src/panel/panelHeader.js +3 -1
  64. package/es/date-picker/src/panel/use-calendar.d.ts +3 -0
  65. package/es/date-picker/src/panel/use-dual-calendar.d.ts +3 -0
  66. package/es/date-picker/src/panel/use-panel-common.d.ts +3 -0
  67. package/es/date-picker/src/styles/index.cssr.js +6 -6
  68. package/es/date-picker/styles/light.d.ts +2 -0
  69. package/es/descriptions/styles/light.js +1 -1
  70. package/es/drawer/src/Drawer.d.ts +8 -8
  71. package/es/drawer/src/Drawer.js +3 -3
  72. package/es/drawer/src/DrawerBodyWrapper.d.ts +1 -0
  73. package/es/drawer/src/DrawerBodyWrapper.js +6 -0
  74. package/es/drawer/src/styles/rtl.cssr.d.ts +2 -0
  75. package/es/drawer/src/styles/rtl.cssr.js +8 -0
  76. package/es/drawer/styles/index.d.ts +1 -0
  77. package/es/drawer/styles/index.js +1 -0
  78. package/es/drawer/styles/rtl.d.ts +3 -0
  79. package/es/drawer/styles/rtl.js +8 -0
  80. package/es/dropdown/src/Dropdown.js +6 -6
  81. package/es/dropdown/src/styles/index.cssr.js +35 -33
  82. package/es/dynamic-input/src/DynamicInput.d.ts +10 -0
  83. package/es/dynamic-input/src/InputPreset.d.ts +1 -0
  84. package/es/dynamic-input/src/PairPreset.d.ts +1 -0
  85. package/es/dynamic-input/styles/light.d.ts +1 -0
  86. package/es/dynamic-tags/src/DynamicTags.d.ts +10 -0
  87. package/es/dynamic-tags/styles/light.d.ts +1 -0
  88. package/es/empty/styles/light.js +1 -1
  89. package/es/grid/src/Grid.d.ts +5 -0
  90. package/es/grid/src/Grid.js +18 -0
  91. package/es/grid/src/GridItem.d.ts +2 -0
  92. package/es/grid/src/GridItem.js +15 -2
  93. package/es/input/src/Input.d.ts +21 -1
  94. package/es/input/src/Input.js +23 -6
  95. package/es/input/src/InputGroupLabel.d.ts +9 -0
  96. package/es/input/src/styles/input.cssr.d.ts +1 -0
  97. package/es/input/src/styles/input.cssr.js +12 -4
  98. package/es/input/styles/dark.js +1 -1
  99. package/es/input/styles/light.d.ts +1 -0
  100. package/es/input/styles/light.js +1 -1
  101. package/es/input-number/src/InputNumber.d.ts +15 -5
  102. package/es/input-number/src/InputNumber.js +6 -8
  103. package/es/input-number/src/interface.d.ts +1 -0
  104. package/es/input-number/styles/light.d.ts +1 -0
  105. package/es/layout/src/Layout.js +3 -1
  106. package/es/legacy-grid/src/Row.js +2 -2
  107. package/es/legacy-transfer/src/Transfer.d.ts +10 -0
  108. package/es/legacy-transfer/src/TransferFilter.d.ts +1 -0
  109. package/es/legacy-transfer/src/TransferList.d.ts +1 -0
  110. package/es/legacy-transfer/src/TransferListItem.d.ts +1 -0
  111. package/es/legacy-transfer/styles/light.d.ts +1 -0
  112. package/es/list/src/List.d.ts +47 -3
  113. package/es/list/src/List.js +17 -7
  114. package/es/list/src/ListItem.d.ts +1 -0
  115. package/es/list/src/ListItem.js +3 -1
  116. package/es/list/src/styles/index.cssr.js +35 -12
  117. package/es/list/src/styles/rtl.cssr.d.ts +2 -0
  118. package/es/list/src/styles/rtl.cssr.js +11 -0
  119. package/es/list/styles/index.d.ts +1 -0
  120. package/es/list/styles/index.js +1 -0
  121. package/es/list/styles/light.d.ts +3 -0
  122. package/es/list/styles/light.js +4 -1
  123. package/es/list/styles/rtl.d.ts +2 -0
  124. package/es/list/styles/rtl.js +5 -0
  125. package/es/locales/common/viVN.js +7 -9
  126. package/es/mention/src/Mention.d.ts +10 -0
  127. package/es/mention/styles/light.d.ts +1 -0
  128. package/es/menu/src/Menu.d.ts +13 -0
  129. package/es/menu/src/Menu.js +4 -1
  130. package/es/menu/src/Submenu.js +1 -1
  131. package/es/menu/src/utils.d.ts +1 -1
  132. package/es/menu/src/utils.js +5 -1
  133. package/es/message/src/Message.d.ts +1 -0
  134. package/es/message/src/Message.js +8 -3
  135. package/es/message/src/styles/rtl.cssr.d.ts +2 -0
  136. package/es/message/src/styles/rtl.cssr.js +8 -0
  137. package/es/message/styles/index.d.ts +1 -0
  138. package/es/message/styles/index.js +1 -0
  139. package/es/message/styles/light.js +4 -1
  140. package/es/message/styles/rtl.d.ts +2 -0
  141. package/es/message/styles/rtl.js +5 -0
  142. package/es/modal/src/Modal.js +2 -1
  143. package/es/notification/styles/light.js +3 -1
  144. package/es/number-animation/src/NumberAnimation.js +1 -1
  145. package/es/pagination/src/Pagination.d.ts +31 -26
  146. package/es/pagination/src/Pagination.js +207 -164
  147. package/es/pagination/src/styles/index.cssr.js +7 -1
  148. package/es/pagination/styles/light.d.ts +1 -0
  149. package/es/popover/src/Popover.js +2 -2
  150. package/es/popover/src/PopoverBody.js +3 -2
  151. package/es/popselect/src/Popselect.d.ts +3 -3
  152. package/es/radio/styles/dark.js +1 -1
  153. package/es/radio/styles/light.js +1 -1
  154. package/es/select/index.d.ts +1 -1
  155. package/es/select/src/Select.d.ts +4 -1
  156. package/es/select/src/Select.js +4 -4
  157. package/es/skeleton/src/Skeleton.js +1 -1
  158. package/es/slider/styles/dark.js +2 -1
  159. package/es/slider/styles/light.js +2 -1
  160. package/es/statistic/src/Statistic.d.ts +10 -0
  161. package/es/statistic/src/Statistic.js +2 -1
  162. package/es/statistic/src/styles/index.cssr.js +4 -3
  163. package/es/statistic/styles/light.d.ts +1 -0
  164. package/es/statistic/styles/light.js +1 -0
  165. package/es/steps/src/Steps.d.ts +1 -0
  166. package/es/steps/src/Steps.js +6 -3
  167. package/es/steps/src/styles/rtl.cssr.d.ts +2 -0
  168. package/es/steps/src/styles/rtl.cssr.js +14 -0
  169. package/es/steps/styles/index.d.ts +1 -0
  170. package/es/steps/styles/index.js +1 -0
  171. package/es/steps/styles/rtl.d.ts +2 -0
  172. package/es/steps/styles/rtl.js +5 -0
  173. package/es/styles.d.ts +4 -3
  174. package/es/styles.js +4 -3
  175. package/es/switch/src/Switch.js +32 -5
  176. package/es/switch/src/styles/index.cssr.js +2 -2
  177. package/es/tag/src/Tag.d.ts +4 -4
  178. package/es/tag/src/Tag.js +3 -3
  179. package/es/tag/src/styles/index.cssr.js +0 -1
  180. package/es/tag/styles/light.js +4 -1
  181. package/es/thing/src/Thing.d.ts +19 -21
  182. package/es/thing/src/Thing.js +4 -7
  183. package/es/time-picker/src/Panel.d.ts +1 -0
  184. package/es/time-picker/src/TimePicker.d.ts +12 -2
  185. package/es/time-picker/src/TimePicker.js +4 -4
  186. package/es/time-picker/src/styles/index.cssr.js +12 -12
  187. package/es/time-picker/styles/light.d.ts +1 -0
  188. package/es/timeline/src/TimelineItem.js +1 -1
  189. package/es/tooltip/styles/dark.js +1 -1
  190. package/es/tooltip/styles/light.js +1 -1
  191. package/es/transfer/src/Transfer.d.ts +37 -6
  192. package/es/transfer/src/Transfer.js +32 -23
  193. package/es/transfer/src/TransferFilter.d.ts +1 -0
  194. package/es/transfer/src/TransferList.d.ts +1 -0
  195. package/es/transfer/src/TransferList.js +1 -1
  196. package/es/transfer/src/TransferListItem.d.ts +1 -0
  197. package/es/transfer/src/interface.d.ts +1 -1
  198. package/es/transfer/src/use-transfer-data.d.ts +11 -4
  199. package/es/transfer/src/use-transfer-data.js +59 -16
  200. package/es/transfer/styles/light.d.ts +1 -0
  201. package/es/tree/index.d.ts +1 -1
  202. package/es/tree/src/Tree.d.ts +34 -1
  203. package/es/tree/src/Tree.js +25 -11
  204. package/es/tree/src/interface.d.ts +5 -0
  205. package/es/tree/src/keyboard.d.ts +4 -1
  206. package/es/tree/src/keyboard.js +3 -1
  207. package/es/tree-select/src/TreeSelect.d.ts +13 -0
  208. package/es/tree-select/src/TreeSelect.js +4 -4
  209. package/es/typography/styles/light.js +1 -1
  210. package/es/upload/src/Upload.d.ts +10 -0
  211. package/es/upload/src/Upload.js +1 -1
  212. package/es/upload/src/UploadFile.js +4 -2
  213. package/es/upload/src/utils.d.ts +1 -0
  214. package/es/upload/src/utils.js +12 -0
  215. package/es/version.d.ts +1 -1
  216. package/es/version.js +1 -1
  217. package/lib/_internal/scrollbar/src/Scrollbar.js +2 -1
  218. package/lib/_internal/select-menu/styles/light.js +1 -1
  219. package/lib/_internal/selection/src/Selection.js +1 -1
  220. package/lib/_utils/cssr/index.js +2 -2
  221. package/lib/alert/src/Alert.d.ts +14 -0
  222. package/lib/alert/src/Alert.js +11 -2
  223. package/lib/alert/src/styles/index.cssr.js +11 -2
  224. package/lib/alert/styles/dark.js +5 -1
  225. package/lib/anchor/styles/light.js +2 -1
  226. package/lib/auto-complete/src/AutoComplete.d.ts +14 -1
  227. package/lib/auto-complete/src/AutoComplete.js +22 -16
  228. package/lib/auto-complete/styles/light.d.ts +1 -0
  229. package/lib/breadcrumb/styles/light.js +1 -1
  230. package/lib/button/styles/light.js +5 -1
  231. package/lib/card/styles/light.js +1 -1
  232. package/lib/carousel/src/Carousel.js +7 -5
  233. package/lib/cascader/src/Cascader.d.ts +13 -0
  234. package/lib/cascader/src/Cascader.js +11 -3
  235. package/lib/checkbox/src/CheckboxGroup.js +2 -2
  236. package/lib/checkbox/styles/light.js +1 -1
  237. package/lib/collapse/src/Collapse.d.ts +22 -0
  238. package/lib/collapse/src/Collapse.js +4 -2
  239. package/lib/collapse/src/CollapseItem.d.ts +6 -1
  240. package/lib/collapse/src/CollapseItem.js +4 -2
  241. package/lib/collapse/src/styles/index.cssr.js +10 -21
  242. package/lib/collapse/styles/light.d.ts +2 -0
  243. package/lib/collapse/styles/light.js +5 -3
  244. package/lib/color-picker/src/ColorInputUnit.d.ts +1 -0
  245. package/lib/color-picker/src/ColorPicker.d.ts +9 -0
  246. package/lib/color-picker/src/ColorPicker.js +2 -1
  247. package/lib/color-picker/styles/light.d.ts +1 -0
  248. package/lib/countdown/src/Countdown.js +1 -1
  249. package/lib/data-table/src/DataTable.d.ts +18 -0
  250. package/lib/data-table/src/DataTable.js +6 -3
  251. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  252. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +4 -2
  253. package/lib/data-table/src/TableParts/Body.d.ts +6 -0
  254. package/lib/data-table/src/TableParts/Body.js +22 -14
  255. package/lib/data-table/src/TableParts/Cell.d.ts +4 -0
  256. package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +7 -1
  257. package/lib/data-table/src/TableParts/ExpandTrigger.js +15 -9
  258. package/lib/data-table/src/TableParts/Header.d.ts +3 -1
  259. package/lib/data-table/src/interface.d.ts +6 -3
  260. package/lib/data-table/src/styles/index.cssr.js +25 -7
  261. package/lib/data-table/src/use-expand.d.ts +3 -1
  262. package/lib/data-table/src/use-expand.js +15 -8
  263. package/lib/data-table/src/use-group-header.js +1 -1
  264. package/lib/data-table/src/use-sorter.js +1 -1
  265. package/lib/data-table/src/use-table-data.js +1 -1
  266. package/lib/data-table/styles/light.d.ts +1 -0
  267. package/lib/date-picker/src/DatePicker.d.ts +23 -2
  268. package/lib/date-picker/src/DatePicker.js +3 -3
  269. package/lib/date-picker/src/panel/date.d.ts +6 -3
  270. package/lib/date-picker/src/panel/daterange.d.ts +3 -0
  271. package/lib/date-picker/src/panel/datetime.d.ts +3 -0
  272. package/lib/date-picker/src/panel/datetimerange.d.ts +3 -0
  273. package/lib/date-picker/src/panel/month.d.ts +3 -0
  274. package/lib/date-picker/src/panel/monthrange.d.ts +3 -0
  275. package/lib/date-picker/src/panel/panelHeader.d.ts +6 -0
  276. package/lib/date-picker/src/panel/panelHeader.js +3 -1
  277. package/lib/date-picker/src/panel/use-calendar.d.ts +3 -0
  278. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +3 -0
  279. package/lib/date-picker/src/panel/use-panel-common.d.ts +3 -0
  280. package/lib/date-picker/src/styles/index.cssr.js +6 -6
  281. package/lib/date-picker/styles/light.d.ts +2 -0
  282. package/lib/descriptions/styles/light.js +1 -1
  283. package/lib/drawer/src/Drawer.d.ts +8 -8
  284. package/lib/drawer/src/Drawer.js +3 -3
  285. package/lib/drawer/src/DrawerBodyWrapper.d.ts +1 -0
  286. package/lib/drawer/src/DrawerBodyWrapper.js +6 -0
  287. package/lib/drawer/src/styles/rtl.cssr.d.ts +2 -0
  288. package/lib/drawer/src/styles/rtl.cssr.js +15 -0
  289. package/lib/drawer/styles/index.d.ts +1 -0
  290. package/lib/drawer/styles/index.js +3 -1
  291. package/lib/drawer/styles/rtl.d.ts +3 -0
  292. package/lib/drawer/styles/rtl.js +14 -0
  293. package/lib/dropdown/src/Dropdown.js +6 -6
  294. package/lib/dropdown/src/styles/index.cssr.js +35 -33
  295. package/lib/dynamic-input/src/DynamicInput.d.ts +10 -0
  296. package/lib/dynamic-input/src/InputPreset.d.ts +1 -0
  297. package/lib/dynamic-input/src/PairPreset.d.ts +1 -0
  298. package/lib/dynamic-input/styles/light.d.ts +1 -0
  299. package/lib/dynamic-tags/src/DynamicTags.d.ts +10 -0
  300. package/lib/dynamic-tags/styles/light.d.ts +1 -0
  301. package/lib/empty/styles/light.js +1 -1
  302. package/lib/grid/src/Grid.d.ts +5 -0
  303. package/lib/grid/src/Grid.js +18 -0
  304. package/lib/grid/src/GridItem.d.ts +2 -0
  305. package/lib/grid/src/GridItem.js +14 -1
  306. package/lib/input/src/Input.d.ts +21 -1
  307. package/lib/input/src/Input.js +45 -5
  308. package/lib/input/src/InputGroupLabel.d.ts +9 -0
  309. package/lib/input/src/styles/input.cssr.d.ts +1 -0
  310. package/lib/input/src/styles/input.cssr.js +13 -4
  311. package/lib/input/styles/dark.js +1 -1
  312. package/lib/input/styles/light.d.ts +1 -0
  313. package/lib/input/styles/light.js +1 -1
  314. package/lib/input-number/src/InputNumber.d.ts +15 -5
  315. package/lib/input-number/src/InputNumber.js +6 -8
  316. package/lib/input-number/src/interface.d.ts +1 -0
  317. package/lib/input-number/styles/light.d.ts +1 -0
  318. package/lib/layout/src/Layout.js +3 -1
  319. package/lib/legacy-grid/src/Row.js +2 -2
  320. package/lib/legacy-transfer/src/Transfer.d.ts +10 -0
  321. package/lib/legacy-transfer/src/TransferFilter.d.ts +1 -0
  322. package/lib/legacy-transfer/src/TransferList.d.ts +1 -0
  323. package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -0
  324. package/lib/legacy-transfer/styles/light.d.ts +1 -0
  325. package/lib/list/src/List.d.ts +47 -3
  326. package/lib/list/src/List.js +15 -5
  327. package/lib/list/src/ListItem.d.ts +1 -0
  328. package/lib/list/src/ListItem.js +3 -1
  329. package/lib/list/src/styles/index.cssr.js +35 -12
  330. package/lib/list/src/styles/rtl.cssr.d.ts +2 -0
  331. package/lib/list/src/styles/rtl.cssr.js +18 -0
  332. package/lib/list/styles/index.d.ts +1 -0
  333. package/lib/list/styles/index.js +3 -1
  334. package/lib/list/styles/light.d.ts +3 -0
  335. package/lib/list/styles/light.js +4 -1
  336. package/lib/list/styles/rtl.d.ts +2 -0
  337. package/lib/list/styles/rtl.js +11 -0
  338. package/lib/locales/common/viVN.js +7 -9
  339. package/lib/mention/src/Mention.d.ts +10 -0
  340. package/lib/mention/styles/light.d.ts +1 -0
  341. package/lib/menu/src/Menu.d.ts +13 -0
  342. package/lib/menu/src/Menu.js +4 -1
  343. package/lib/menu/src/Submenu.js +1 -1
  344. package/lib/menu/src/utils.d.ts +1 -1
  345. package/lib/menu/src/utils.js +5 -1
  346. package/lib/message/src/Message.d.ts +1 -0
  347. package/lib/message/src/Message.js +7 -2
  348. package/lib/message/src/styles/rtl.cssr.d.ts +2 -0
  349. package/lib/message/src/styles/rtl.cssr.js +15 -0
  350. package/lib/message/styles/index.d.ts +1 -0
  351. package/lib/message/styles/index.js +3 -1
  352. package/lib/message/styles/light.js +4 -1
  353. package/lib/message/styles/rtl.d.ts +2 -0
  354. package/lib/message/styles/rtl.js +11 -0
  355. package/lib/modal/src/Modal.js +2 -1
  356. package/lib/notification/styles/light.js +3 -1
  357. package/lib/number-animation/src/NumberAnimation.js +1 -1
  358. package/lib/pagination/src/Pagination.d.ts +31 -26
  359. package/lib/pagination/src/Pagination.js +206 -163
  360. package/lib/pagination/src/styles/index.cssr.js +7 -1
  361. package/lib/pagination/styles/light.d.ts +1 -0
  362. package/lib/popover/src/Popover.js +2 -2
  363. package/lib/popover/src/PopoverBody.js +3 -2
  364. package/lib/popselect/src/Popselect.d.ts +3 -3
  365. package/lib/radio/styles/dark.js +1 -1
  366. package/lib/radio/styles/light.js +1 -1
  367. package/lib/select/index.d.ts +1 -1
  368. package/lib/select/src/Select.d.ts +4 -1
  369. package/lib/select/src/Select.js +3 -3
  370. package/lib/skeleton/src/Skeleton.js +1 -1
  371. package/lib/slider/styles/dark.js +2 -1
  372. package/lib/slider/styles/light.js +2 -1
  373. package/lib/statistic/src/Statistic.d.ts +10 -0
  374. package/lib/statistic/src/Statistic.js +2 -1
  375. package/lib/statistic/src/styles/index.cssr.js +4 -3
  376. package/lib/statistic/styles/light.d.ts +1 -0
  377. package/lib/statistic/styles/light.js +1 -0
  378. package/lib/steps/src/Steps.d.ts +1 -0
  379. package/lib/steps/src/Steps.js +5 -2
  380. package/lib/steps/src/styles/rtl.cssr.d.ts +2 -0
  381. package/lib/steps/src/styles/rtl.cssr.js +21 -0
  382. package/lib/steps/styles/index.d.ts +1 -0
  383. package/lib/steps/styles/index.js +3 -1
  384. package/lib/steps/styles/rtl.d.ts +2 -0
  385. package/lib/steps/styles/rtl.js +11 -0
  386. package/lib/styles.d.ts +4 -3
  387. package/lib/styles.js +154 -149
  388. package/lib/switch/src/Switch.js +32 -5
  389. package/lib/switch/src/styles/index.cssr.js +2 -2
  390. package/lib/tag/src/Tag.d.ts +4 -4
  391. package/lib/tag/src/Tag.js +3 -3
  392. package/lib/tag/src/styles/index.cssr.js +0 -1
  393. package/lib/tag/styles/light.js +4 -1
  394. package/lib/thing/src/Thing.d.ts +19 -21
  395. package/lib/thing/src/Thing.js +4 -7
  396. package/lib/time-picker/src/Panel.d.ts +1 -0
  397. package/lib/time-picker/src/TimePicker.d.ts +12 -2
  398. package/lib/time-picker/src/TimePicker.js +3 -3
  399. package/lib/time-picker/src/styles/index.cssr.js +12 -12
  400. package/lib/time-picker/styles/light.d.ts +1 -0
  401. package/lib/timeline/src/TimelineItem.js +1 -1
  402. package/lib/tooltip/styles/dark.js +1 -1
  403. package/lib/tooltip/styles/light.js +1 -1
  404. package/lib/transfer/src/Transfer.d.ts +37 -6
  405. package/lib/transfer/src/Transfer.js +32 -23
  406. package/lib/transfer/src/TransferFilter.d.ts +1 -0
  407. package/lib/transfer/src/TransferList.d.ts +1 -0
  408. package/lib/transfer/src/TransferList.js +1 -1
  409. package/lib/transfer/src/TransferListItem.d.ts +1 -0
  410. package/lib/transfer/src/interface.d.ts +1 -1
  411. package/lib/transfer/src/use-transfer-data.d.ts +11 -4
  412. package/lib/transfer/src/use-transfer-data.js +59 -16
  413. package/lib/transfer/styles/light.d.ts +1 -0
  414. package/lib/tree/index.d.ts +1 -1
  415. package/lib/tree/src/Tree.d.ts +34 -1
  416. package/lib/tree/src/Tree.js +25 -11
  417. package/lib/tree/src/interface.d.ts +5 -0
  418. package/lib/tree/src/keyboard.d.ts +4 -1
  419. package/lib/tree/src/keyboard.js +3 -1
  420. package/lib/tree-select/src/TreeSelect.d.ts +13 -0
  421. package/lib/tree-select/src/TreeSelect.js +3 -3
  422. package/lib/typography/styles/light.js +1 -1
  423. package/lib/upload/src/Upload.d.ts +10 -0
  424. package/lib/upload/src/Upload.js +1 -1
  425. package/lib/upload/src/UploadFile.js +3 -1
  426. package/lib/upload/src/utils.d.ts +1 -0
  427. package/lib/upload/src/utils.js +14 -1
  428. package/lib/version.d.ts +1 -1
  429. package/lib/version.js +1 -1
  430. package/package.json +25 -19
  431. package/volar.d.ts +1 -1
  432. package/web-types.json +210 -3
@@ -11,6 +11,7 @@ export declare const inputGroupLabelProps: {
11
11
  readonly default: undefined;
12
12
  };
13
13
  readonly theme: PropType<import("../../_mixins").Theme<"Input", {
14
+ countTextColorDisabled: string;
14
15
  countTextColor: string;
15
16
  heightTiny: string;
16
17
  heightSmall: string;
@@ -71,6 +72,7 @@ export declare const inputGroupLabelProps: {
71
72
  clearSize: string;
72
73
  }, any>>;
73
74
  readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
75
+ countTextColorDisabled: string;
74
76
  countTextColor: string;
75
77
  heightTiny: string;
76
78
  heightSmall: string;
@@ -131,6 +133,7 @@ export declare const inputGroupLabelProps: {
131
133
  clearSize: string;
132
134
  }, any>>>;
133
135
  readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
136
+ countTextColorDisabled: string;
134
137
  countTextColor: string;
135
138
  heightTiny: string;
136
139
  heightSmall: string;
@@ -202,6 +205,7 @@ declare const _default: import("vue").DefineComponent<{
202
205
  readonly default: undefined;
203
206
  };
204
207
  readonly theme: PropType<import("../../_mixins").Theme<"Input", {
208
+ countTextColorDisabled: string;
205
209
  countTextColor: string;
206
210
  heightTiny: string;
207
211
  heightSmall: string;
@@ -262,6 +266,7 @@ declare const _default: import("vue").DefineComponent<{
262
266
  clearSize: string;
263
267
  }, any>>;
264
268
  readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
269
+ countTextColorDisabled: string;
265
270
  countTextColor: string;
266
271
  heightTiny: string;
267
272
  heightSmall: string;
@@ -322,6 +327,7 @@ declare const _default: import("vue").DefineComponent<{
322
327
  clearSize: string;
323
328
  }, any>>>;
324
329
  readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
330
+ countTextColorDisabled: string;
325
331
  countTextColor: string;
326
332
  heightTiny: string;
327
333
  heightSmall: string;
@@ -406,6 +412,7 @@ declare const _default: import("vue").DefineComponent<{
406
412
  readonly default: undefined;
407
413
  };
408
414
  readonly theme: PropType<import("../../_mixins").Theme<"Input", {
415
+ countTextColorDisabled: string;
409
416
  countTextColor: string;
410
417
  heightTiny: string;
411
418
  heightSmall: string;
@@ -466,6 +473,7 @@ declare const _default: import("vue").DefineComponent<{
466
473
  clearSize: string;
467
474
  }, any>>;
468
475
  readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
476
+ countTextColorDisabled: string;
469
477
  countTextColor: string;
470
478
  heightTiny: string;
471
479
  heightSmall: string;
@@ -526,6 +534,7 @@ declare const _default: import("vue").DefineComponent<{
526
534
  clearSize: string;
527
535
  }, any>>>;
528
536
  readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Input", {
537
+ countTextColorDisabled: string;
529
538
  countTextColor: string;
530
539
  heightTiny: string;
531
540
  heightSmall: string;
@@ -1,2 +1,3 @@
1
1
  declare const _default: import("css-render").CNode;
2
2
  export default _default;
3
+ export declare const safariStyle: import("css-render").CNode;
@@ -30,6 +30,7 @@ import { cB, c, cE, cM, cNotM } from '../../../_utils/cssr'; // vars:
30
30
  // --n-icon-color-pressed
31
31
  // --n-icon-color-disabled
32
32
  // --n-count-text-color
33
+ // --n-count-text-color-disabled
33
34
  // --n-loading-color
34
35
  // ...form item vars
35
36
 
@@ -79,7 +80,10 @@ cE('input, textarea', `
79
80
  width: 0;
80
81
  height: 0;
81
82
  display: none;
82
- `), c('&::placeholder', 'color: #0000;'), c('&:-webkit-autofill ~', [cE('placeholder', 'display: none;')])]), cM('round', [cNotM('textarea', 'border-radius: calc(var(--n-height) / 2);')]), cE('placeholder', `
83
+ `), c('&::placeholder', `
84
+ color: #0000;
85
+ -webkit-text-fill-color: transparent !important;
86
+ `), c('&:-webkit-autofill ~', [cE('placeholder', 'display: none;')])]), cM('round', [cNotM('textarea', 'border-radius: calc(var(--n-height) / 2);')]), cE('placeholder', `
83
87
  pointer-events: none;
84
88
  position: absolute;
85
89
  left: 0;
@@ -169,12 +173,13 @@ cM('pair', [cE('input-el, placeholder', 'text-align: center;'), cE('separator',
169
173
  cursor: not-allowed;
170
174
  color: var(--n-text-color-disabled);
171
175
  text-decoration-color: var(--n-text-color-disabled);
172
- -webkit-text-fill-color: var(--n-text-color-disabled);
173
176
  `), cE('placeholder', 'color: var(--n-placeholder-color-disabled);'), cE('separator', 'color: var(--n-text-color-disabled);', [cB('icon', `
174
177
  color: var(--n-icon-color-disabled);
175
178
  `), cB('base-icon', `
176
179
  color: var(--n-icon-color-disabled);
177
- `)]), cE('suffix, prefix', 'color: var(--n-text-color-disabled);', [cB('icon', `
180
+ `)]), cB('input-word-count', `
181
+ color: var(--n-count-text-color-disabled);
182
+ `), cE('suffix, prefix', 'color: var(--n-text-color-disabled);', [cB('icon', `
178
183
  color: var(--n-icon-color-disabled);
179
184
  `), cB('internal-icon', `
180
185
  color: var(--n-icon-color-disabled);
@@ -261,4 +266,7 @@ cM('pair', [cE('input-el, placeholder', 'text-align: center;'), cE('separator',
261
266
  `, [cE('state-border', `
262
267
  box-shadow: var(--n-box-shadow-focus-${status});
263
268
  border: var(--n-border-focus-${status});
264
- `)])])]))]);
269
+ `)])])]))]);
270
+ export const safariStyle = cB('input', [cM('disabled', [cE('input-el, textarea-el', `
271
+ -webkit-text-fill-color: var(--n-text-color-disabled);
272
+ `)])]);
@@ -6,7 +6,7 @@ const inputDark = {
6
6
  common: commonDark,
7
7
  self(vars) {
8
8
  const { textColor2, textColor3, textColorDisabled, primaryColor, primaryColorHover, inputColor, inputColorDisabled, warningColor, warningColorHover, errorColor, errorColorHover, borderRadius, lineHeight, fontSizeTiny, fontSizeSmall, fontSizeMedium, fontSizeLarge, heightTiny, heightSmall, heightMedium, heightLarge, clearColor, clearColorHover, clearColorPressed, placeholderColor, placeholderColorDisabled, iconColor, iconColorDisabled, iconColorHover, iconColorPressed } = vars;
9
- return Object.assign(Object.assign({}, commonVariables), { countTextColor: textColor3, heightTiny,
9
+ return Object.assign(Object.assign({}, commonVariables), { countTextColorDisabled: textColorDisabled, countTextColor: textColor3, heightTiny,
10
10
  heightSmall,
11
11
  heightMedium,
12
12
  heightLarge,
@@ -1,6 +1,7 @@
1
1
  import type { ThemeCommonVars } from '../../_styles/common';
2
2
  import type { Theme } from '../../_mixins';
3
3
  declare const self: (vars: ThemeCommonVars) => {
4
+ countTextColorDisabled: string;
4
5
  countTextColor: string;
5
6
  heightTiny: string;
6
7
  heightSmall: string;
@@ -3,7 +3,7 @@ import { changeColor } from 'seemly';
3
3
  import { commonLight } from '../../_styles/common';
4
4
  const self = (vars) => {
5
5
  const { textColor2, textColor3, textColorDisabled, primaryColor, primaryColorHover, inputColor, inputColorDisabled, borderColor, warningColor, warningColorHover, errorColor, errorColorHover, borderRadius, lineHeight, fontSizeTiny, fontSizeSmall, fontSizeMedium, fontSizeLarge, heightTiny, heightSmall, heightMedium, heightLarge, actionColor, clearColor, clearColorHover, clearColorPressed, placeholderColor, placeholderColorDisabled, iconColor, iconColorDisabled, iconColorHover, iconColorPressed } = vars;
6
- return Object.assign(Object.assign({}, commonVariables), { countTextColor: textColor3, heightTiny,
6
+ return Object.assign(Object.assign({}, commonVariables), { countTextColorDisabled: textColorDisabled, countTextColor: textColor3, heightTiny,
7
7
  heightSmall,
8
8
  heightMedium,
9
9
  heightLarge,
@@ -1,7 +1,7 @@
1
1
  import { PropType } from 'vue';
2
2
  import type { FormValidationStatus } from '../../form/src/interface';
3
3
  import { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
4
- import type { OnUpdateValue } from './interface';
4
+ import type { OnUpdateValue, Size } from './interface';
5
5
  export declare const inputNumberProps: {
6
6
  autofocus: BooleanConstructor;
7
7
  loading: {
@@ -20,7 +20,7 @@ export declare const inputNumberProps: {
20
20
  };
21
21
  min: (StringConstructor | NumberConstructor)[];
22
22
  max: (StringConstructor | NumberConstructor)[];
23
- size: PropType<"small" | "medium" | "large">;
23
+ size: PropType<Size>;
24
24
  disabled: {
25
25
  type: PropType<boolean | undefined>;
26
26
  default: undefined;
@@ -269,6 +269,7 @@ export declare const inputNumberProps: {
269
269
  rippleDuration: string;
270
270
  }, any>;
271
271
  Input: import("../../_mixins").Theme<"Input", {
272
+ countTextColorDisabled: string;
272
273
  countTextColor: string;
273
274
  heightTiny: string;
274
275
  heightSmall: string;
@@ -537,6 +538,7 @@ export declare const inputNumberProps: {
537
538
  rippleDuration: string;
538
539
  }, any>;
539
540
  Input: import("../../_mixins").Theme<"Input", {
541
+ countTextColorDisabled: string;
540
542
  countTextColor: string;
541
543
  heightTiny: string;
542
544
  heightSmall: string;
@@ -805,6 +807,7 @@ export declare const inputNumberProps: {
805
807
  rippleDuration: string;
806
808
  }, any>;
807
809
  Input: import("../../_mixins").Theme<"Input", {
810
+ countTextColorDisabled: string;
808
811
  countTextColor: string;
809
812
  heightTiny: string;
810
813
  heightSmall: string;
@@ -885,7 +888,7 @@ declare const _default: import("vue").DefineComponent<{
885
888
  };
886
889
  min: (StringConstructor | NumberConstructor)[];
887
890
  max: (StringConstructor | NumberConstructor)[];
888
- size: PropType<"small" | "medium" | "large">;
891
+ size: PropType<Size>;
889
892
  disabled: {
890
893
  type: PropType<boolean | undefined>;
891
894
  default: undefined;
@@ -1134,6 +1137,7 @@ declare const _default: import("vue").DefineComponent<{
1134
1137
  rippleDuration: string;
1135
1138
  }, any>;
1136
1139
  Input: import("../../_mixins").Theme<"Input", {
1140
+ countTextColorDisabled: string;
1137
1141
  countTextColor: string;
1138
1142
  heightTiny: string;
1139
1143
  heightSmall: string;
@@ -1402,6 +1406,7 @@ declare const _default: import("vue").DefineComponent<{
1402
1406
  rippleDuration: string;
1403
1407
  }, any>;
1404
1408
  Input: import("../../_mixins").Theme<"Input", {
1409
+ countTextColorDisabled: string;
1405
1410
  countTextColor: string;
1406
1411
  heightTiny: string;
1407
1412
  heightSmall: string;
@@ -1670,6 +1675,7 @@ declare const _default: import("vue").DefineComponent<{
1670
1675
  rippleDuration: string;
1671
1676
  }, any>;
1672
1677
  Input: import("../../_mixins").Theme<"Input", {
1678
+ countTextColorDisabled: string;
1673
1679
  countTextColor: string;
1674
1680
  heightTiny: string;
1675
1681
  heightSmall: string;
@@ -1756,7 +1762,7 @@ declare const _default: import("vue").DefineComponent<{
1756
1762
  mergedValue: import("vue").ComputedRef<number | null>;
1757
1763
  mergedPlaceholder: import("vue").ComputedRef<string>;
1758
1764
  displayedValueInvalid: import("vue").ComputedRef<boolean>;
1759
- mergedSize: import("vue").ComputedRef<"small" | "medium" | "large">;
1765
+ mergedSize: import("vue").ComputedRef<"small" | "medium" | "large" | "tiny">;
1760
1766
  mergedDisabled: import("vue").ComputedRef<boolean>;
1761
1767
  displayedValue: import("vue").Ref<string>;
1762
1768
  addable: import("vue").ComputedRef<boolean>;
@@ -2087,6 +2093,7 @@ declare const _default: import("vue").DefineComponent<{
2087
2093
  rippleDuration: string;
2088
2094
  }, any>;
2089
2095
  Input: import("../../_mixins").Theme<"Input", {
2096
+ countTextColorDisabled: string;
2090
2097
  countTextColor: string;
2091
2098
  heightTiny: string;
2092
2099
  heightSmall: string;
@@ -2189,7 +2196,7 @@ declare const _default: import("vue").DefineComponent<{
2189
2196
  };
2190
2197
  min: (StringConstructor | NumberConstructor)[];
2191
2198
  max: (StringConstructor | NumberConstructor)[];
2192
- size: PropType<"small" | "medium" | "large">;
2199
+ size: PropType<Size>;
2193
2200
  disabled: {
2194
2201
  type: PropType<boolean | undefined>;
2195
2202
  default: undefined;
@@ -2438,6 +2445,7 @@ declare const _default: import("vue").DefineComponent<{
2438
2445
  rippleDuration: string;
2439
2446
  }, any>;
2440
2447
  Input: import("../../_mixins").Theme<"Input", {
2448
+ countTextColorDisabled: string;
2441
2449
  countTextColor: string;
2442
2450
  heightTiny: string;
2443
2451
  heightSmall: string;
@@ -2706,6 +2714,7 @@ declare const _default: import("vue").DefineComponent<{
2706
2714
  rippleDuration: string;
2707
2715
  }, any>;
2708
2716
  Input: import("../../_mixins").Theme<"Input", {
2717
+ countTextColorDisabled: string;
2709
2718
  countTextColor: string;
2710
2719
  heightTiny: string;
2711
2720
  heightSmall: string;
@@ -2974,6 +2983,7 @@ declare const _default: import("vue").DefineComponent<{
2974
2983
  rippleDuration: string;
2975
2984
  }, any>;
2976
2985
  Input: import("../../_mixins").Theme<"Input", {
2986
+ countTextColorDisabled: string;
2977
2987
  countTextColor: string;
2978
2988
  heightTiny: string;
2979
2989
  heightSmall: string;
@@ -382,27 +382,25 @@ export default defineComponent({
382
382
  }
383
383
  }
384
384
  function handleMinusMousedown() {
385
+ clearMinusHoldTimeout();
385
386
  firstMinusMousedownId = window.setTimeout(() => {
386
387
  minusHoldStateIntervalId = window.setInterval(() => {
387
388
  doMinus();
388
389
  }, HOLDING_CHANGE_INTERVAL);
389
390
  }, HOLDING_CHANGE_THRESHOLD);
390
- on('mouseup', document, () => {
391
- window.setTimeout(clearMinusHoldTimeout, 0);
392
- }, {
391
+ on('mouseup', document, clearMinusHoldTimeout, {
393
392
  once: true
394
393
  });
395
394
  }
396
395
  let firstAddMousedownId = null;
397
396
  function handleAddMousedown() {
397
+ clearAddHoldTimeout();
398
398
  firstAddMousedownId = window.setTimeout(() => {
399
399
  addHoldStateIntervalId = window.setInterval(() => {
400
400
  doAdd();
401
401
  }, HOLDING_CHANGE_INTERVAL);
402
402
  }, HOLDING_CHANGE_THRESHOLD);
403
- on('mouseup', document, () => {
404
- window.setTimeout(clearAddHoldTimeout, 0);
405
- }, {
403
+ on('mouseup', document, clearAddHoldTimeout, {
406
404
  once: true
407
405
  });
408
406
  }
@@ -518,7 +516,7 @@ export default defineComponent({
518
516
  render() {
519
517
  const { mergedClsPrefix, $slots } = this;
520
518
  const renderMinusButton = () => {
521
- return (h(NxButton, { text: true, disabled: !this.minusable || this.mergedDisabled || this.readonly, focusable: false, builtinThemeOverrides: this.buttonThemeOverrides, onClick: this.handleMinusClick, onMousedown: this.handleMinusMousedown, ref: "minusButtonInstRef" }, {
519
+ return (h(NxButton, { text: true, disabled: !this.minusable || this.mergedDisabled || this.readonly, focusable: false, theme: this.mergedTheme.peers.Button, themeOverrides: this.mergedTheme.peerOverrides.Button, builtinThemeOverrides: this.buttonThemeOverrides, onClick: this.handleMinusClick, onMousedown: this.handleMinusMousedown, ref: "minusButtonInstRef" }, {
522
520
  icon: () => resolveSlot($slots['minus-icon'], () => [
523
521
  h(NBaseIcon, { clsPrefix: mergedClsPrefix }, {
524
522
  default: () => h(RemoveIcon, null)
@@ -527,7 +525,7 @@ export default defineComponent({
527
525
  }));
528
526
  };
529
527
  const renderAddButton = () => {
530
- return (h(NxButton, { text: true, disabled: !this.addable || this.mergedDisabled || this.readonly, focusable: false, builtinThemeOverrides: this.buttonThemeOverrides, onClick: this.handleAddClick, onMousedown: this.handleAddMousedown, ref: "addButtonInstRef" }, {
528
+ return (h(NxButton, { text: true, disabled: !this.addable || this.mergedDisabled || this.readonly, focusable: false, theme: this.mergedTheme.peers.Button, themeOverrides: this.mergedTheme.peerOverrides.Button, builtinThemeOverrides: this.buttonThemeOverrides, onClick: this.handleAddClick, onMousedown: this.handleAddMousedown, ref: "addButtonInstRef" }, {
531
529
  icon: () => resolveSlot($slots['add-icon'], () => [
532
530
  h(NBaseIcon, { clsPrefix: mergedClsPrefix }, {
533
531
  default: () => h(AddIcon, null)
@@ -1,4 +1,5 @@
1
1
  export declare type OnUpdateValue = (value: number | null) => void;
2
+ export declare type Size = 'tiny' | 'small' | 'medium' | 'large';
2
3
  export interface InputNumberInst {
3
4
  focus: () => void;
4
5
  blur: () => void;
@@ -211,6 +211,7 @@ declare const inputNumberLight: import("../../_mixins").Theme<"InputNumber", {
211
211
  rippleDuration: string;
212
212
  }, any>;
213
213
  Input: import("../../_mixins").Theme<"Input", {
214
+ countTextColorDisabled: string;
214
215
  countTextColor: string;
215
216
  heightTiny: string;
216
217
  heightSmall: string;
@@ -91,7 +91,9 @@ export function createLayoutComponent(isContent) {
91
91
  };
92
92
  });
93
93
  const themeClassHandle = inlineThemeDisabled
94
- ? useThemeClass('layout', undefined, cssVarsRef, props)
94
+ ? useThemeClass('layout', computed(() => {
95
+ return props.embedded ? 'e' : '';
96
+ }), cssVarsRef, props)
95
97
  : undefined;
96
98
  return Object.assign({ mergedClsPrefix: mergedClsPrefixRef, scrollableElRef,
97
99
  scrollbarInstRef,
@@ -37,8 +37,8 @@ export default defineComponent({
37
37
  provide(rowInjectionKey, {
38
38
  mergedClsPrefixRef,
39
39
  gutterRef: toRef(props, 'gutter'),
40
- verticalGutterRef: verticalGutterRef,
41
- horizontalGutterRef: horizontalGutterRef
40
+ verticalGutterRef,
41
+ horizontalGutterRef
42
42
  });
43
43
  return {
44
44
  mergedClsPrefix: mergedClsPrefixRef,
@@ -88,6 +88,7 @@ export declare const transferProps: {
88
88
  colorHover: string;
89
89
  }, any>;
90
90
  Input: import("../../_mixins").Theme<"Input", {
91
+ countTextColorDisabled: string;
91
92
  countTextColor: string;
92
93
  heightTiny: string;
93
94
  heightSmall: string;
@@ -423,6 +424,7 @@ export declare const transferProps: {
423
424
  colorHover: string;
424
425
  }, any>;
425
426
  Input: import("../../_mixins").Theme<"Input", {
427
+ countTextColorDisabled: string;
426
428
  countTextColor: string;
427
429
  heightTiny: string;
428
430
  heightSmall: string;
@@ -758,6 +760,7 @@ export declare const transferProps: {
758
760
  colorHover: string;
759
761
  }, any>;
760
762
  Input: import("../../_mixins").Theme<"Input", {
763
+ countTextColorDisabled: string;
761
764
  countTextColor: string;
762
765
  heightTiny: string;
763
766
  heightSmall: string;
@@ -1123,6 +1126,7 @@ declare const _default: import("vue").DefineComponent<{
1123
1126
  colorHover: string;
1124
1127
  }, any>;
1125
1128
  Input: import("../../_mixins").Theme<"Input", {
1129
+ countTextColorDisabled: string;
1126
1130
  countTextColor: string;
1127
1131
  heightTiny: string;
1128
1132
  heightSmall: string;
@@ -1458,6 +1462,7 @@ declare const _default: import("vue").DefineComponent<{
1458
1462
  colorHover: string;
1459
1463
  }, any>;
1460
1464
  Input: import("../../_mixins").Theme<"Input", {
1465
+ countTextColorDisabled: string;
1461
1466
  countTextColor: string;
1462
1467
  heightTiny: string;
1463
1468
  heightSmall: string;
@@ -1793,6 +1798,7 @@ declare const _default: import("vue").DefineComponent<{
1793
1798
  colorHover: string;
1794
1799
  }, any>;
1795
1800
  Input: import("../../_mixins").Theme<"Input", {
1801
+ countTextColorDisabled: string;
1796
1802
  countTextColor: string;
1797
1803
  heightTiny: string;
1798
1804
  heightSmall: string;
@@ -2245,6 +2251,7 @@ declare const _default: import("vue").DefineComponent<{
2245
2251
  colorHover: string;
2246
2252
  }, any>;
2247
2253
  Input: import("../../_mixins").Theme<"Input", {
2254
+ countTextColorDisabled: string;
2248
2255
  countTextColor: string;
2249
2256
  heightTiny: string;
2250
2257
  heightSmall: string;
@@ -2673,6 +2680,7 @@ declare const _default: import("vue").DefineComponent<{
2673
2680
  colorHover: string;
2674
2681
  }, any>;
2675
2682
  Input: import("../../_mixins").Theme<"Input", {
2683
+ countTextColorDisabled: string;
2676
2684
  countTextColor: string;
2677
2685
  heightTiny: string;
2678
2686
  heightSmall: string;
@@ -3008,6 +3016,7 @@ declare const _default: import("vue").DefineComponent<{
3008
3016
  colorHover: string;
3009
3017
  }, any>;
3010
3018
  Input: import("../../_mixins").Theme<"Input", {
3019
+ countTextColorDisabled: string;
3011
3020
  countTextColor: string;
3012
3021
  heightTiny: string;
3013
3022
  heightSmall: string;
@@ -3343,6 +3352,7 @@ declare const _default: import("vue").DefineComponent<{
3343
3352
  colorHover: string;
3344
3353
  }, any>;
3345
3354
  Input: import("../../_mixins").Theme<"Input", {
3355
+ countTextColorDisabled: string;
3346
3356
  countTextColor: string;
3347
3357
  heightTiny: string;
3348
3358
  heightSmall: string;
@@ -182,6 +182,7 @@ declare const _default: import("vue").DefineComponent<{
182
182
  colorHover: string;
183
183
  }, any>;
184
184
  Input: import("../../_mixins").Theme<"Input", {
185
+ countTextColorDisabled: string;
185
186
  countTextColor: string;
186
187
  heightTiny: string;
187
188
  heightSmall: string;
@@ -195,6 +195,7 @@ declare const _default: import("vue").DefineComponent<{
195
195
  colorHover: string;
196
196
  }, any>;
197
197
  Input: import("../../_mixins").Theme<"Input", {
198
+ countTextColorDisabled: string;
198
199
  countTextColor: string;
199
200
  heightTiny: string;
200
201
  heightSmall: string;
@@ -182,6 +182,7 @@ declare const _default: import("vue").DefineComponent<{
182
182
  colorHover: string;
183
183
  }, any>;
184
184
  Input: import("../../_mixins").Theme<"Input", {
185
+ countTextColorDisabled: string;
185
186
  countTextColor: string;
186
187
  heightTiny: string;
187
188
  heightSmall: string;
@@ -82,6 +82,7 @@ declare const transferLight: import("../../_mixins").Theme<"Transfer", {
82
82
  colorHover: string;
83
83
  }, any>;
84
84
  Input: import("../../_mixins").Theme<"Input", {
85
+ countTextColorDisabled: string;
85
86
  countTextColor: string;
86
87
  heightTiny: string;
87
88
  heightSmall: string;
@@ -5,15 +5,21 @@ export declare const listProps: {
5
5
  type: PropType<"small" | "medium" | "large">;
6
6
  default: string;
7
7
  };
8
- bordered: {
8
+ bordered: BooleanConstructor;
9
+ clickable: BooleanConstructor;
10
+ hoverable: BooleanConstructor;
11
+ showDivider: {
9
12
  type: BooleanConstructor;
10
13
  default: boolean;
11
14
  };
12
15
  theme: PropType<import("../../_mixins").Theme<"List", {
13
16
  textColor: string;
14
17
  color: string;
18
+ colorHover: string;
15
19
  colorModal: string;
20
+ colorHoverModal: string;
16
21
  colorPopover: string;
22
+ colorHoverPopover: string;
17
23
  borderColor: string;
18
24
  borderColorModal: string;
19
25
  borderColorPopover: string;
@@ -23,8 +29,11 @@ export declare const listProps: {
23
29
  themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"List", {
24
30
  textColor: string;
25
31
  color: string;
32
+ colorHover: string;
26
33
  colorModal: string;
34
+ colorHoverModal: string;
27
35
  colorPopover: string;
36
+ colorHoverPopover: string;
28
37
  borderColor: string;
29
38
  borderColorModal: string;
30
39
  borderColorPopover: string;
@@ -34,8 +43,11 @@ export declare const listProps: {
34
43
  builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"List", {
35
44
  textColor: string;
36
45
  color: string;
46
+ colorHover: string;
37
47
  colorModal: string;
48
+ colorHoverModal: string;
38
49
  colorPopover: string;
50
+ colorHoverPopover: string;
39
51
  borderColor: string;
40
52
  borderColorModal: string;
41
53
  borderColorPopover: string;
@@ -45,6 +57,7 @@ export declare const listProps: {
45
57
  };
46
58
  export declare type ListProps = ExtractPublicPropTypes<typeof listProps>;
47
59
  interface ListInjection {
60
+ showDividerRef: Ref<boolean>;
48
61
  mergedClsPrefixRef: Ref<string>;
49
62
  }
50
63
  export declare const listInjectionKey: import("vue").InjectionKey<ListInjection>;
@@ -53,15 +66,21 @@ declare const _default: import("vue").DefineComponent<{
53
66
  type: PropType<"small" | "medium" | "large">;
54
67
  default: string;
55
68
  };
56
- bordered: {
69
+ bordered: BooleanConstructor;
70
+ clickable: BooleanConstructor;
71
+ hoverable: BooleanConstructor;
72
+ showDivider: {
57
73
  type: BooleanConstructor;
58
74
  default: boolean;
59
75
  };
60
76
  theme: PropType<import("../../_mixins").Theme<"List", {
61
77
  textColor: string;
62
78
  color: string;
79
+ colorHover: string;
63
80
  colorModal: string;
81
+ colorHoverModal: string;
64
82
  colorPopover: string;
83
+ colorHoverPopover: string;
65
84
  borderColor: string;
66
85
  borderColorModal: string;
67
86
  borderColorPopover: string;
@@ -71,8 +90,11 @@ declare const _default: import("vue").DefineComponent<{
71
90
  themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"List", {
72
91
  textColor: string;
73
92
  color: string;
93
+ colorHover: string;
74
94
  colorModal: string;
95
+ colorHoverModal: string;
75
96
  colorPopover: string;
97
+ colorHoverPopover: string;
76
98
  borderColor: string;
77
99
  borderColorModal: string;
78
100
  borderColorPopover: string;
@@ -82,8 +104,11 @@ declare const _default: import("vue").DefineComponent<{
82
104
  builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"List", {
83
105
  textColor: string;
84
106
  color: string;
107
+ colorHover: string;
85
108
  colorModal: string;
109
+ colorHoverModal: string;
86
110
  colorPopover: string;
111
+ colorHoverPopover: string;
87
112
  borderColor: string;
88
113
  borderColorModal: string;
89
114
  borderColorPopover: string;
@@ -92,6 +117,7 @@ declare const _default: import("vue").DefineComponent<{
92
117
  }, any>>>;
93
118
  }, {
94
119
  mergedClsPrefix: import("vue").ComputedRef<string>;
120
+ rtlEnabled: Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
95
121
  cssVars: import("vue").ComputedRef<{
96
122
  '--n-font-size': string;
97
123
  '--n-bezier': string;
@@ -103,6 +129,9 @@ declare const _default: import("vue").DefineComponent<{
103
129
  '--n-border-color-popover': string;
104
130
  '--n-color-modal': string;
105
131
  '--n-color-popover': string;
132
+ '--n-color-hover': string;
133
+ '--n-color-hover-modal': string;
134
+ '--n-color-hover-popover': string;
106
135
  }> | undefined;
107
136
  themeClass: Ref<string> | undefined;
108
137
  onRender: (() => void) | undefined;
@@ -111,15 +140,21 @@ declare const _default: import("vue").DefineComponent<{
111
140
  type: PropType<"small" | "medium" | "large">;
112
141
  default: string;
113
142
  };
114
- bordered: {
143
+ bordered: BooleanConstructor;
144
+ clickable: BooleanConstructor;
145
+ hoverable: BooleanConstructor;
146
+ showDivider: {
115
147
  type: BooleanConstructor;
116
148
  default: boolean;
117
149
  };
118
150
  theme: PropType<import("../../_mixins").Theme<"List", {
119
151
  textColor: string;
120
152
  color: string;
153
+ colorHover: string;
121
154
  colorModal: string;
155
+ colorHoverModal: string;
122
156
  colorPopover: string;
157
+ colorHoverPopover: string;
123
158
  borderColor: string;
124
159
  borderColorModal: string;
125
160
  borderColorPopover: string;
@@ -129,8 +164,11 @@ declare const _default: import("vue").DefineComponent<{
129
164
  themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"List", {
130
165
  textColor: string;
131
166
  color: string;
167
+ colorHover: string;
132
168
  colorModal: string;
169
+ colorHoverModal: string;
133
170
  colorPopover: string;
171
+ colorHoverPopover: string;
134
172
  borderColor: string;
135
173
  borderColorModal: string;
136
174
  borderColorPopover: string;
@@ -140,8 +178,11 @@ declare const _default: import("vue").DefineComponent<{
140
178
  builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"List", {
141
179
  textColor: string;
142
180
  color: string;
181
+ colorHover: string;
143
182
  colorModal: string;
183
+ colorHoverModal: string;
144
184
  colorPopover: string;
185
+ colorHoverPopover: string;
145
186
  borderColor: string;
146
187
  borderColorModal: string;
147
188
  borderColorPopover: string;
@@ -151,5 +192,8 @@ declare const _default: import("vue").DefineComponent<{
151
192
  }>>, {
152
193
  size: "small" | "medium" | "large";
153
194
  bordered: boolean;
195
+ clickable: boolean;
196
+ hoverable: boolean;
197
+ showDivider: boolean;
154
198
  }>;
155
199
  export default _default;