naive-ui 2.18.1 → 2.19.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 (394) hide show
  1. package/es/_internal/clear/src/Clear.d.ts +1 -4
  2. package/es/_internal/clear/src/Clear.js +1 -4
  3. package/es/_internal/icons/Checkmark.js +3 -2
  4. package/es/_internal/select-menu/src/SelectMenu.d.ts +173 -0
  5. package/es/_internal/select-menu/src/SelectMenu.js +9 -6
  6. package/es/_internal/select-menu/src/SelectOption.js +2 -1
  7. package/es/_internal/select-menu/src/styles/index.cssr.js +32 -28
  8. package/es/_internal/select-menu/styles/light.d.ts +2 -0
  9. package/es/_internal/select-menu/styles/light.js +1 -1
  10. package/es/_internal/selection/src/Selection.d.ts +64 -56
  11. package/es/_internal/selection/src/Selection.js +34 -14
  12. package/es/_internal/selection/src/styles/index.cssr.js +16 -14
  13. package/es/_internal/selection/styles/_common.d.ts +1 -8
  14. package/es/_internal/selection/styles/_common.js +2 -9
  15. package/es/_internal/selection/styles/dark.js +10 -2
  16. package/es/_internal/selection/styles/light.d.ts +18 -16
  17. package/es/_internal/selection/styles/light.js +10 -2
  18. package/es/_mixins/use-rtl.js +1 -1
  19. package/es/_styles/common/light.js +1 -1
  20. package/es/_utils/naive/mutable.d.ts +2 -2
  21. package/es/alert/src/Alert.js +15 -16
  22. package/es/anchor/src/AnchorAdapter.d.ts +13 -8
  23. package/es/anchor/src/AnchorAdapter.js +3 -5
  24. package/es/anchor/src/BaseAnchor.d.ts +14 -1
  25. package/es/anchor/src/BaseAnchor.js +20 -7
  26. package/es/anchor/src/Link.js +5 -5
  27. package/es/anchor/src/styles/index.cssr.js +25 -16
  28. package/es/auto-complete/index.d.ts +1 -0
  29. package/es/auto-complete/src/AutoComplete.d.ts +10 -0
  30. package/es/auto-complete/src/interface.d.ts +1 -1
  31. package/es/auto-complete/styles/light.d.ts +1 -0
  32. package/es/badge/src/styles/index.cssr.js +1 -0
  33. package/es/card/src/Card.d.ts +17 -1
  34. package/es/card/src/Card.js +3 -2
  35. package/es/card/styles/dark.js +6 -1
  36. package/es/card/styles/light.d.ts +1 -0
  37. package/es/card/styles/light.js +2 -2
  38. package/es/cascader/src/Cascader.d.ts +100 -80
  39. package/es/cascader/src/Cascader.js +28 -19
  40. package/es/cascader/src/CascaderMenu.js +17 -15
  41. package/es/cascader/src/CascaderOption.d.ts +10 -8
  42. package/es/cascader/src/CascaderSelectMenu.d.ts +10 -8
  43. package/es/cascader/src/CascaderSubmenu.d.ts +10 -8
  44. package/es/cascader/src/interface.d.ts +2 -2
  45. package/es/cascader/src/styles/index.cssr.js +6 -1
  46. package/es/cascader/styles/light.d.ts +10 -8
  47. package/es/checkbox/src/Checkbox.d.ts +1 -0
  48. package/es/checkbox/src/Checkbox.js +5 -3
  49. package/es/checkbox/src/CheckboxGroup.js +1 -1
  50. package/es/composables/use-theme-vars.js +5 -5
  51. package/es/config-provider/src/internal-interface.d.ts +2 -0
  52. package/es/data-table/src/DataTable.d.ts +110 -88
  53. package/es/data-table/src/HeaderButton/FilterButton.d.ts +20 -16
  54. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +20 -16
  55. package/es/data-table/src/TableParts/Body.d.ts +20 -16
  56. package/es/data-table/src/TableParts/Cell.d.ts +40 -32
  57. package/es/data-table/src/TableParts/Header.d.ts +20 -16
  58. package/es/data-table/styles/light.d.ts +10 -8
  59. package/es/date-picker/src/DatePicker.d.ts +8 -3
  60. package/es/date-picker/src/DatePicker.js +2 -2
  61. package/es/date-picker/src/panel/date.d.ts +3 -3
  62. package/es/date-picker/src/panel/date.js +10 -1
  63. package/es/date-picker/src/panel/daterange.js +10 -1
  64. package/es/date-picker/src/panel/datetimerange.js +10 -1
  65. package/es/descriptions/src/Descriptions.d.ts +4 -17
  66. package/es/descriptions/src/Descriptions.js +2 -8
  67. package/es/dialog/src/DialogProvider.d.ts +20 -20
  68. package/es/drawer/src/styles/index.cssr.js +2 -0
  69. package/es/dropdown/src/Dropdown.d.ts +9 -23
  70. package/es/dynamic-tags/src/DynamicTags.js +2 -1
  71. package/es/empty/src/Empty.d.ts +6 -1
  72. package/es/empty/src/Empty.js +16 -4
  73. package/es/form/src/FormItemGridItem.d.ts +1 -1
  74. package/es/form/src/FormItemGridItem.js +2 -2
  75. package/es/global-style/src/GlobalStyle.js +13 -3
  76. package/es/grid/src/GridItem.d.ts +2 -2
  77. package/es/grid/src/GridItem.js +1 -1
  78. package/es/input-number/src/InputNumber.d.ts +8 -3
  79. package/es/input-number/src/InputNumber.js +4 -4
  80. package/es/jest-setup.js +3 -1
  81. package/es/layout/src/Layout.d.ts +18 -4
  82. package/es/layout/src/LayoutContent.d.ts +9 -2
  83. package/es/layout/src/LayoutFooter.d.ts +9 -0
  84. package/es/layout/src/LayoutHeader.d.ts +6 -0
  85. package/es/layout/src/LayoutSider.d.ts +11 -0
  86. package/es/layout/src/LayoutSider.js +4 -2
  87. package/es/layout/src/ToggleButton.js +7 -3
  88. package/es/layout/src/styles/layout-sider.cssr.js +31 -15
  89. package/es/layout/styles/dark.js +3 -2
  90. package/es/layout/styles/light.d.ts +2 -0
  91. package/es/layout/styles/light.js +3 -2
  92. package/es/locales/common/enUS.js +1 -1
  93. package/es/locales/common/ruRU.js +1 -1
  94. package/es/locales/common/ukUA.d.ts +3 -0
  95. package/es/locales/common/ukUA.js +92 -0
  96. package/es/locales/common/zhCN.js +1 -1
  97. package/es/locales/date/ukUA.d.ts +3 -0
  98. package/es/locales/date/ukUA.js +6 -0
  99. package/es/locales/index.d.ts +2 -0
  100. package/es/locales/index.js +2 -0
  101. package/es/mention/src/Mention.d.ts +10 -0
  102. package/es/mention/styles/light.d.ts +1 -0
  103. package/es/menu/src/Menu.d.ts +6 -1
  104. package/es/menu/src/Menu.js +10 -1
  105. package/es/menu/src/MenuOption.d.ts +3 -1
  106. package/es/menu/src/MenuOptionContent.d.ts +3 -1
  107. package/es/menu/src/Submenu.d.ts +3 -1
  108. package/es/modal/src/BodyWrapper.d.ts +5 -0
  109. package/es/modal/src/Modal.d.ts +36 -55
  110. package/es/modal/src/Modal.js +18 -39
  111. package/es/modal/src/presetProps.d.ts +2 -1
  112. package/es/modal/styles/light.d.ts +1 -0
  113. package/es/notification/src/Notification.d.ts +1 -1
  114. package/es/notification/src/NotificationEnvironment.d.ts +1 -1
  115. package/es/notification/src/NotificationProvider.d.ts +16 -16
  116. package/es/page-header/src/PageHeader.d.ts +1 -0
  117. package/es/page-header/src/PageHeader.js +8 -2
  118. package/es/page-header/src/styles/rtl.cssr.d.ts +2 -0
  119. package/es/page-header/src/styles/rtl.cssr.js +19 -0
  120. package/es/page-header/styles/index.d.ts +1 -0
  121. package/es/page-header/styles/index.js +1 -0
  122. package/es/page-header/styles/rtl.d.ts +5 -0
  123. package/es/page-header/styles/rtl.js +5 -0
  124. package/es/pagination/src/Pagination.d.ts +111 -100
  125. package/es/pagination/styles/light.d.ts +10 -8
  126. package/es/popconfirm/src/Popconfirm.d.ts +8 -22
  127. package/es/popover/src/Popover.d.ts +12 -32
  128. package/es/popover/src/Popover.js +25 -18
  129. package/es/popover/src/PopoverBody.d.ts +2 -2
  130. package/es/popover/src/PopoverBody.js +4 -2
  131. package/es/popselect/src/Popselect.d.ts +18 -22
  132. package/es/popselect/src/PopselectPanel.d.ts +1 -0
  133. package/es/popselect/src/PopselectPanel.js +38 -19
  134. package/es/popselect/styles/light.d.ts +1 -0
  135. package/es/select/src/Select.d.ts +111 -83
  136. package/es/select/src/Select.js +55 -56
  137. package/es/select/src/interface.d.ts +2 -2
  138. package/es/select/styles/light.d.ts +10 -8
  139. package/es/spin/src/Spin.d.ts +34 -25
  140. package/es/spin/src/Spin.js +27 -20
  141. package/es/spin/src/styles/index.cssr.js +23 -9
  142. package/es/spin/styles/light.d.ts +2 -0
  143. package/es/spin/styles/light.js +3 -1
  144. package/es/styles.d.ts +1 -0
  145. package/es/styles.js +1 -0
  146. package/es/tabs/src/Tab.d.ts +1 -1
  147. package/es/tabs/src/Tab.js +4 -6
  148. package/es/tabs/src/Tabs.d.ts +133 -42
  149. package/es/tabs/src/Tabs.js +37 -38
  150. package/es/tabs/src/interface.d.ts +2 -1
  151. package/es/tabs/src/styles/index.cssr.js +34 -10
  152. package/es/tabs/styles/_common.d.ts +6 -0
  153. package/es/tabs/styles/_common.js +6 -0
  154. package/es/tabs/styles/dark.js +7 -1
  155. package/es/tabs/styles/light.d.ts +13 -0
  156. package/es/tabs/styles/light.js +3 -3
  157. package/es/tag/src/styles/index.cssr.js +1 -1
  158. package/es/time/src/Time.d.ts +14 -22
  159. package/es/time/src/Time.js +32 -18
  160. package/es/time-picker/src/TimePicker.d.ts +5 -0
  161. package/es/time-picker/src/TimePicker.js +2 -2
  162. package/es/tooltip/src/Tooltip.d.ts +8 -22
  163. package/es/transfer/src/TransferList.d.ts +1 -1
  164. package/es/tree/src/Tree.d.ts +25 -10
  165. package/es/tree/src/Tree.js +34 -11
  166. package/es/tree/src/TreeNode.js +5 -2
  167. package/es/tree/src/interface.d.ts +2 -2
  168. package/es/tree-select/src/TreeSelect.d.ts +103 -81
  169. package/es/tree-select/src/TreeSelect.js +36 -40
  170. package/es/tree-select/src/interface.d.ts +2 -2
  171. package/es/tree-select/styles/light.d.ts +9 -8
  172. package/es/typography/src/blockquote.d.ts +2 -8
  173. package/es/typography/src/blockquote.js +1 -4
  174. package/es/typography/src/ol.d.ts +2 -8
  175. package/es/typography/src/ol.js +1 -4
  176. package/es/typography/src/p.d.ts +2 -2
  177. package/es/typography/src/p.js +1 -1
  178. package/es/typography/src/text.d.ts +14 -58
  179. package/es/typography/src/text.js +2 -23
  180. package/es/typography/src/ul.d.ts +2 -8
  181. package/es/typography/src/ul.js +1 -4
  182. package/es/upload/index.d.ts +2 -0
  183. package/es/upload/index.js +2 -0
  184. package/es/upload/src/Upload.d.ts +16 -68
  185. package/es/upload/src/Upload.js +71 -98
  186. package/es/upload/src/UploadDragger.js +7 -1
  187. package/es/upload/src/UploadFileList.d.ts +2 -0
  188. package/es/upload/src/UploadFileList.js +34 -0
  189. package/es/upload/src/UploadProgress.d.ts +0 -7
  190. package/es/upload/src/UploadProgress.js +1 -5
  191. package/es/upload/src/UploadTrigger.d.ts +12 -0
  192. package/es/upload/src/UploadTrigger.js +63 -0
  193. package/es/upload/src/interface.d.ts +13 -2
  194. package/es/upload/src/styles/index.cssr.js +40 -32
  195. package/es/version.d.ts +1 -1
  196. package/es/version.js +1 -1
  197. package/lib/_internal/clear/src/Clear.d.ts +1 -4
  198. package/lib/_internal/clear/src/Clear.js +1 -4
  199. package/lib/_internal/icons/Checkmark.js +3 -2
  200. package/lib/_internal/select-menu/src/SelectMenu.d.ts +173 -0
  201. package/lib/_internal/select-menu/src/SelectMenu.js +9 -6
  202. package/lib/_internal/select-menu/src/SelectOption.js +2 -1
  203. package/lib/_internal/select-menu/src/styles/index.cssr.js +32 -28
  204. package/lib/_internal/select-menu/styles/light.d.ts +2 -0
  205. package/lib/_internal/select-menu/styles/light.js +1 -1
  206. package/lib/_internal/selection/src/Selection.d.ts +64 -56
  207. package/lib/_internal/selection/src/Selection.js +34 -14
  208. package/lib/_internal/selection/src/styles/index.cssr.js +16 -14
  209. package/lib/_internal/selection/styles/_common.d.ts +1 -8
  210. package/lib/_internal/selection/styles/_common.js +2 -9
  211. package/lib/_internal/selection/styles/dark.js +10 -2
  212. package/lib/_internal/selection/styles/light.d.ts +18 -16
  213. package/lib/_internal/selection/styles/light.js +10 -2
  214. package/lib/_mixins/use-rtl.js +1 -1
  215. package/lib/_styles/common/light.js +1 -1
  216. package/lib/_utils/naive/mutable.d.ts +2 -2
  217. package/lib/alert/src/Alert.js +15 -16
  218. package/lib/anchor/src/AnchorAdapter.d.ts +13 -8
  219. package/lib/anchor/src/AnchorAdapter.js +3 -5
  220. package/lib/anchor/src/BaseAnchor.d.ts +14 -1
  221. package/lib/anchor/src/BaseAnchor.js +19 -6
  222. package/lib/anchor/src/Link.js +5 -5
  223. package/lib/anchor/src/styles/index.cssr.js +25 -16
  224. package/lib/auto-complete/index.d.ts +1 -0
  225. package/lib/auto-complete/src/AutoComplete.d.ts +10 -0
  226. package/lib/auto-complete/src/interface.d.ts +1 -1
  227. package/lib/auto-complete/styles/light.d.ts +1 -0
  228. package/lib/badge/src/styles/index.cssr.js +1 -0
  229. package/lib/card/src/Card.d.ts +17 -1
  230. package/lib/card/src/Card.js +3 -2
  231. package/lib/card/styles/dark.js +6 -1
  232. package/lib/card/styles/light.d.ts +1 -0
  233. package/lib/card/styles/light.js +2 -2
  234. package/lib/cascader/src/Cascader.d.ts +100 -80
  235. package/lib/cascader/src/Cascader.js +28 -19
  236. package/lib/cascader/src/CascaderMenu.js +16 -14
  237. package/lib/cascader/src/CascaderOption.d.ts +10 -8
  238. package/lib/cascader/src/CascaderSelectMenu.d.ts +10 -8
  239. package/lib/cascader/src/CascaderSubmenu.d.ts +10 -8
  240. package/lib/cascader/src/interface.d.ts +2 -2
  241. package/lib/cascader/src/styles/index.cssr.js +6 -1
  242. package/lib/cascader/styles/light.d.ts +10 -8
  243. package/lib/checkbox/src/Checkbox.d.ts +1 -0
  244. package/lib/checkbox/src/Checkbox.js +5 -3
  245. package/lib/checkbox/src/CheckboxGroup.js +1 -1
  246. package/lib/composables/use-theme-vars.js +5 -5
  247. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  248. package/lib/data-table/src/DataTable.d.ts +110 -88
  249. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +20 -16
  250. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +20 -16
  251. package/lib/data-table/src/TableParts/Body.d.ts +20 -16
  252. package/lib/data-table/src/TableParts/Cell.d.ts +40 -32
  253. package/lib/data-table/src/TableParts/Header.d.ts +20 -16
  254. package/lib/data-table/styles/light.d.ts +10 -8
  255. package/lib/date-picker/src/DatePicker.d.ts +8 -3
  256. package/lib/date-picker/src/DatePicker.js +2 -2
  257. package/lib/date-picker/src/panel/date.d.ts +3 -3
  258. package/lib/date-picker/src/panel/date.js +9 -0
  259. package/lib/date-picker/src/panel/daterange.js +9 -0
  260. package/lib/date-picker/src/panel/datetimerange.js +9 -0
  261. package/lib/descriptions/src/Descriptions.d.ts +4 -17
  262. package/lib/descriptions/src/Descriptions.js +2 -8
  263. package/lib/dialog/src/DialogProvider.d.ts +20 -20
  264. package/lib/drawer/src/styles/index.cssr.js +2 -0
  265. package/lib/dropdown/src/Dropdown.d.ts +9 -23
  266. package/lib/dynamic-tags/src/DynamicTags.js +2 -1
  267. package/lib/empty/src/Empty.d.ts +6 -1
  268. package/lib/empty/src/Empty.js +15 -3
  269. package/lib/form/src/FormItemGridItem.d.ts +1 -1
  270. package/lib/form/src/FormItemGridItem.js +2 -2
  271. package/lib/global-style/src/GlobalStyle.js +13 -3
  272. package/lib/grid/src/GridItem.d.ts +2 -2
  273. package/lib/grid/src/GridItem.js +1 -1
  274. package/lib/input-number/src/InputNumber.d.ts +8 -3
  275. package/lib/input-number/src/InputNumber.js +4 -4
  276. package/lib/jest-setup.js +3 -1
  277. package/lib/layout/src/Layout.d.ts +18 -4
  278. package/lib/layout/src/LayoutContent.d.ts +9 -2
  279. package/lib/layout/src/LayoutFooter.d.ts +9 -0
  280. package/lib/layout/src/LayoutHeader.d.ts +6 -0
  281. package/lib/layout/src/LayoutSider.d.ts +11 -0
  282. package/lib/layout/src/LayoutSider.js +4 -2
  283. package/lib/layout/src/ToggleButton.js +7 -3
  284. package/lib/layout/src/styles/layout-sider.cssr.js +31 -15
  285. package/lib/layout/styles/dark.js +3 -2
  286. package/lib/layout/styles/light.d.ts +2 -0
  287. package/lib/layout/styles/light.js +3 -2
  288. package/lib/locales/common/enUS.js +1 -1
  289. package/lib/locales/common/ruRU.js +1 -1
  290. package/lib/locales/common/ukUA.d.ts +3 -0
  291. package/lib/locales/common/ukUA.js +94 -0
  292. package/lib/locales/common/zhCN.js +1 -1
  293. package/lib/locales/date/ukUA.d.ts +3 -0
  294. package/lib/locales/date/ukUA.js +8 -0
  295. package/lib/locales/index.d.ts +2 -0
  296. package/lib/locales/index.js +5 -1
  297. package/lib/mention/src/Mention.d.ts +10 -0
  298. package/lib/mention/styles/light.d.ts +1 -0
  299. package/lib/menu/src/Menu.d.ts +6 -1
  300. package/lib/menu/src/Menu.js +10 -1
  301. package/lib/menu/src/MenuOption.d.ts +3 -1
  302. package/lib/menu/src/MenuOptionContent.d.ts +3 -1
  303. package/lib/menu/src/Submenu.d.ts +3 -1
  304. package/lib/modal/src/BodyWrapper.d.ts +5 -0
  305. package/lib/modal/src/Modal.d.ts +36 -55
  306. package/lib/modal/src/Modal.js +17 -38
  307. package/lib/modal/src/presetProps.d.ts +2 -1
  308. package/lib/modal/styles/light.d.ts +1 -0
  309. package/lib/notification/src/Notification.d.ts +1 -1
  310. package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
  311. package/lib/notification/src/NotificationProvider.d.ts +16 -16
  312. package/lib/page-header/src/PageHeader.d.ts +1 -0
  313. package/lib/page-header/src/PageHeader.js +8 -2
  314. package/lib/page-header/src/styles/rtl.cssr.d.ts +2 -0
  315. package/lib/page-header/src/styles/rtl.cssr.js +26 -0
  316. package/lib/page-header/styles/index.d.ts +1 -0
  317. package/lib/page-header/styles/index.js +3 -1
  318. package/lib/page-header/styles/rtl.d.ts +5 -0
  319. package/lib/page-header/styles/rtl.js +7 -0
  320. package/lib/pagination/src/Pagination.d.ts +111 -100
  321. package/lib/pagination/styles/light.d.ts +10 -8
  322. package/lib/popconfirm/src/Popconfirm.d.ts +8 -22
  323. package/lib/popover/src/Popover.d.ts +12 -32
  324. package/lib/popover/src/Popover.js +23 -16
  325. package/lib/popover/src/PopoverBody.d.ts +2 -2
  326. package/lib/popover/src/PopoverBody.js +4 -2
  327. package/lib/popselect/src/Popselect.d.ts +18 -22
  328. package/lib/popselect/src/PopselectPanel.d.ts +1 -0
  329. package/lib/popselect/src/PopselectPanel.js +38 -19
  330. package/lib/popselect/styles/light.d.ts +1 -0
  331. package/lib/select/src/Select.d.ts +111 -83
  332. package/lib/select/src/Select.js +55 -56
  333. package/lib/select/src/interface.d.ts +2 -2
  334. package/lib/select/styles/light.d.ts +10 -8
  335. package/lib/spin/src/Spin.d.ts +34 -25
  336. package/lib/spin/src/Spin.js +25 -18
  337. package/lib/spin/src/styles/index.cssr.js +23 -9
  338. package/lib/spin/styles/light.d.ts +2 -0
  339. package/lib/spin/styles/light.js +3 -1
  340. package/lib/styles.d.ts +1 -0
  341. package/lib/styles.js +63 -61
  342. package/lib/tabs/src/Tab.d.ts +1 -1
  343. package/lib/tabs/src/Tab.js +4 -6
  344. package/lib/tabs/src/Tabs.d.ts +133 -42
  345. package/lib/tabs/src/Tabs.js +36 -37
  346. package/lib/tabs/src/interface.d.ts +2 -1
  347. package/lib/tabs/src/styles/index.cssr.js +34 -10
  348. package/lib/tabs/styles/_common.d.ts +6 -0
  349. package/lib/tabs/styles/_common.js +6 -0
  350. package/lib/tabs/styles/dark.js +7 -1
  351. package/lib/tabs/styles/light.d.ts +13 -0
  352. package/lib/tabs/styles/light.js +3 -3
  353. package/lib/tag/src/styles/index.cssr.js +1 -1
  354. package/lib/time/src/Time.d.ts +14 -22
  355. package/lib/time/src/Time.js +31 -17
  356. package/lib/time-picker/src/TimePicker.d.ts +5 -0
  357. package/lib/time-picker/src/TimePicker.js +2 -2
  358. package/lib/tooltip/src/Tooltip.d.ts +8 -22
  359. package/lib/transfer/src/TransferList.d.ts +1 -1
  360. package/lib/tree/src/Tree.d.ts +25 -10
  361. package/lib/tree/src/Tree.js +34 -11
  362. package/lib/tree/src/TreeNode.js +5 -2
  363. package/lib/tree/src/interface.d.ts +2 -2
  364. package/lib/tree-select/src/TreeSelect.d.ts +103 -81
  365. package/lib/tree-select/src/TreeSelect.js +36 -40
  366. package/lib/tree-select/src/interface.d.ts +2 -2
  367. package/lib/tree-select/styles/light.d.ts +9 -8
  368. package/lib/typography/src/blockquote.d.ts +2 -8
  369. package/lib/typography/src/blockquote.js +1 -4
  370. package/lib/typography/src/ol.d.ts +2 -8
  371. package/lib/typography/src/ol.js +1 -4
  372. package/lib/typography/src/p.d.ts +2 -2
  373. package/lib/typography/src/p.js +1 -1
  374. package/lib/typography/src/text.d.ts +14 -58
  375. package/lib/typography/src/text.js +2 -23
  376. package/lib/typography/src/ul.d.ts +2 -8
  377. package/lib/typography/src/ul.js +1 -4
  378. package/lib/upload/index.d.ts +2 -0
  379. package/lib/upload/index.js +5 -1
  380. package/lib/upload/src/Upload.d.ts +16 -68
  381. package/lib/upload/src/Upload.js +68 -95
  382. package/lib/upload/src/UploadDragger.js +7 -1
  383. package/lib/upload/src/UploadFileList.d.ts +2 -0
  384. package/lib/upload/src/UploadFileList.js +36 -0
  385. package/lib/upload/src/UploadProgress.d.ts +0 -7
  386. package/lib/upload/src/UploadProgress.js +1 -5
  387. package/lib/upload/src/UploadTrigger.d.ts +12 -0
  388. package/lib/upload/src/UploadTrigger.js +65 -0
  389. package/lib/upload/src/interface.d.ts +13 -2
  390. package/lib/upload/src/styles/index.cssr.js +40 -32
  391. package/lib/version.d.ts +1 -1
  392. package/lib/version.js +1 -1
  393. package/package.json +9 -7
  394. package/web-types.json +239 -13
@@ -462,6 +462,14 @@ declare const _default: import("vue").DefineComponent<{
462
462
  menuBoxShadow: string;
463
463
  }, {
464
464
  InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
465
+ fontSizeTiny: string;
466
+ fontSizeSmall: string;
467
+ fontSizeMedium: string;
468
+ fontSizeLarge: string;
469
+ heightTiny: string;
470
+ heightSmall: string;
471
+ heightMedium: string;
472
+ heightLarge: string;
465
473
  borderRadius: string;
466
474
  textColor: string;
467
475
  textColorDisabled: string;
@@ -502,16 +510,9 @@ declare const _default: import("vue").DefineComponent<{
502
510
  clearColor: string;
503
511
  clearColorHover: string;
504
512
  clearColorPressed: string;
505
- heightTiny: string;
506
- heightSmall: string;
507
- heightMedium: string;
508
- heightLarge: string;
509
- fontSizeTiny: string;
510
- fontSizeSmall: string;
511
- fontSizeMedium: string;
512
- fontSizeLarge: string;
513
513
  paddingSingle: string;
514
514
  clearSize: string;
515
+ arrowSize: string;
515
516
  }, {
516
517
  Popover: import("../../../_mixins").Theme<"Popover", {
517
518
  fontSize: string;
@@ -548,6 +549,7 @@ declare const _default: import("vue").DefineComponent<{
548
549
  optionOpacityDisabled: string;
549
550
  optionCheckColor: string;
550
551
  optionColorPending: string;
552
+ optionColorActive: string;
551
553
  actionTextColor: string;
552
554
  loadingColor: string;
553
555
  height: string;
@@ -719,6 +721,14 @@ declare const _default: import("vue").DefineComponent<{
719
721
  menuBoxShadow: string;
720
722
  }, {
721
723
  InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
724
+ fontSizeTiny: string;
725
+ fontSizeSmall: string;
726
+ fontSizeMedium: string;
727
+ fontSizeLarge: string;
728
+ heightTiny: string;
729
+ heightSmall: string;
730
+ heightMedium: string;
731
+ heightLarge: string;
722
732
  borderRadius: string;
723
733
  textColor: string;
724
734
  textColorDisabled: string;
@@ -759,16 +769,9 @@ declare const _default: import("vue").DefineComponent<{
759
769
  clearColor: string;
760
770
  clearColorHover: string;
761
771
  clearColorPressed: string;
762
- heightTiny: string;
763
- heightSmall: string;
764
- heightMedium: string;
765
- heightLarge: string;
766
- fontSizeTiny: string;
767
- fontSizeSmall: string;
768
- fontSizeMedium: string;
769
- fontSizeLarge: string;
770
772
  paddingSingle: string;
771
773
  clearSize: string;
774
+ arrowSize: string;
772
775
  }, {
773
776
  Popover: import("../../../_mixins").Theme<"Popover", {
774
777
  fontSize: string;
@@ -805,6 +808,7 @@ declare const _default: import("vue").DefineComponent<{
805
808
  optionOpacityDisabled: string;
806
809
  optionCheckColor: string;
807
810
  optionColorPending: string;
811
+ optionColorActive: string;
808
812
  actionTextColor: string;
809
813
  loadingColor: string;
810
814
  height: string;
@@ -487,6 +487,14 @@ declare const _default: import("vue").DefineComponent<{
487
487
  menuBoxShadow: string;
488
488
  }, {
489
489
  InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
490
+ fontSizeTiny: string;
491
+ fontSizeSmall: string;
492
+ fontSizeMedium: string;
493
+ fontSizeLarge: string;
494
+ heightTiny: string;
495
+ heightSmall: string;
496
+ heightMedium: string;
497
+ heightLarge: string;
490
498
  borderRadius: string;
491
499
  textColor: string;
492
500
  textColorDisabled: string;
@@ -527,16 +535,9 @@ declare const _default: import("vue").DefineComponent<{
527
535
  clearColor: string;
528
536
  clearColorHover: string;
529
537
  clearColorPressed: string;
530
- heightTiny: string;
531
- heightSmall: string;
532
- heightMedium: string;
533
- heightLarge: string;
534
- fontSizeTiny: string;
535
- fontSizeSmall: string;
536
- fontSizeMedium: string;
537
- fontSizeLarge: string;
538
538
  paddingSingle: string;
539
539
  clearSize: string;
540
+ arrowSize: string;
540
541
  }, {
541
542
  Popover: import("../../../_mixins").Theme<"Popover", {
542
543
  fontSize: string;
@@ -573,6 +574,7 @@ declare const _default: import("vue").DefineComponent<{
573
574
  optionOpacityDisabled: string;
574
575
  optionCheckColor: string;
575
576
  optionColorPending: string;
577
+ optionColorActive: string;
576
578
  actionTextColor: string;
577
579
  loadingColor: string;
578
580
  height: string;
@@ -744,6 +746,14 @@ declare const _default: import("vue").DefineComponent<{
744
746
  menuBoxShadow: string;
745
747
  }, {
746
748
  InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
749
+ fontSizeTiny: string;
750
+ fontSizeSmall: string;
751
+ fontSizeMedium: string;
752
+ fontSizeLarge: string;
753
+ heightTiny: string;
754
+ heightSmall: string;
755
+ heightMedium: string;
756
+ heightLarge: string;
747
757
  borderRadius: string;
748
758
  textColor: string;
749
759
  textColorDisabled: string;
@@ -784,16 +794,9 @@ declare const _default: import("vue").DefineComponent<{
784
794
  clearColor: string;
785
795
  clearColorHover: string;
786
796
  clearColorPressed: string;
787
- heightTiny: string;
788
- heightSmall: string;
789
- heightMedium: string;
790
- heightLarge: string;
791
- fontSizeTiny: string;
792
- fontSizeSmall: string;
793
- fontSizeMedium: string;
794
- fontSizeLarge: string;
795
797
  paddingSingle: string;
796
798
  clearSize: string;
799
+ arrowSize: string;
797
800
  }, {
798
801
  Popover: import("../../../_mixins").Theme<"Popover", {
799
802
  fontSize: string;
@@ -830,6 +833,7 @@ declare const _default: import("vue").DefineComponent<{
830
833
  optionOpacityDisabled: string;
831
834
  optionCheckColor: string;
832
835
  optionColorPending: string;
836
+ optionColorActive: string;
833
837
  actionTextColor: string;
834
838
  loadingColor: string;
835
839
  height: string;
@@ -474,6 +474,14 @@ declare const _default: import("vue").DefineComponent<{
474
474
  menuBoxShadow: string;
475
475
  }, {
476
476
  InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
477
+ fontSizeTiny: string;
478
+ fontSizeSmall: string;
479
+ fontSizeMedium: string;
480
+ fontSizeLarge: string;
481
+ heightTiny: string;
482
+ heightSmall: string;
483
+ heightMedium: string;
484
+ heightLarge: string;
477
485
  borderRadius: string;
478
486
  textColor: string;
479
487
  textColorDisabled: string;
@@ -514,16 +522,9 @@ declare const _default: import("vue").DefineComponent<{
514
522
  clearColor: string;
515
523
  clearColorHover: string;
516
524
  clearColorPressed: string;
517
- heightTiny: string;
518
- heightSmall: string;
519
- heightMedium: string;
520
- heightLarge: string;
521
- fontSizeTiny: string;
522
- fontSizeSmall: string;
523
- fontSizeMedium: string;
524
- fontSizeLarge: string;
525
525
  paddingSingle: string;
526
526
  clearSize: string;
527
+ arrowSize: string;
527
528
  }, {
528
529
  Popover: import("../../../_mixins").Theme<"Popover", {
529
530
  fontSize: string;
@@ -560,6 +561,7 @@ declare const _default: import("vue").DefineComponent<{
560
561
  optionOpacityDisabled: string;
561
562
  optionCheckColor: string;
562
563
  optionColorPending: string;
564
+ optionColorActive: string;
563
565
  actionTextColor: string;
564
566
  loadingColor: string;
565
567
  height: string;
@@ -731,6 +733,14 @@ declare const _default: import("vue").DefineComponent<{
731
733
  menuBoxShadow: string;
732
734
  }, {
733
735
  InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
736
+ fontSizeTiny: string;
737
+ fontSizeSmall: string;
738
+ fontSizeMedium: string;
739
+ fontSizeLarge: string;
740
+ heightTiny: string;
741
+ heightSmall: string;
742
+ heightMedium: string;
743
+ heightLarge: string;
734
744
  borderRadius: string;
735
745
  textColor: string;
736
746
  textColorDisabled: string;
@@ -771,16 +781,9 @@ declare const _default: import("vue").DefineComponent<{
771
781
  clearColor: string;
772
782
  clearColorHover: string;
773
783
  clearColorPressed: string;
774
- heightTiny: string;
775
- heightSmall: string;
776
- heightMedium: string;
777
- heightLarge: string;
778
- fontSizeTiny: string;
779
- fontSizeSmall: string;
780
- fontSizeMedium: string;
781
- fontSizeLarge: string;
782
784
  paddingSingle: string;
783
785
  clearSize: string;
786
+ arrowSize: string;
784
787
  }, {
785
788
  Popover: import("../../../_mixins").Theme<"Popover", {
786
789
  fontSize: string;
@@ -817,6 +820,7 @@ declare const _default: import("vue").DefineComponent<{
817
820
  optionOpacityDisabled: string;
818
821
  optionCheckColor: string;
819
822
  optionColorPending: string;
823
+ optionColorActive: string;
820
824
  actionTextColor: string;
821
825
  loadingColor: string;
822
826
  height: string;
@@ -467,6 +467,14 @@ declare const _default: import("vue").DefineComponent<{
467
467
  menuBoxShadow: string;
468
468
  }, {
469
469
  InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
470
+ fontSizeTiny: string;
471
+ fontSizeSmall: string;
472
+ fontSizeMedium: string;
473
+ fontSizeLarge: string;
474
+ heightTiny: string;
475
+ heightSmall: string;
476
+ heightMedium: string;
477
+ heightLarge: string;
470
478
  borderRadius: string;
471
479
  textColor: string;
472
480
  textColorDisabled: string;
@@ -507,16 +515,9 @@ declare const _default: import("vue").DefineComponent<{
507
515
  clearColor: string;
508
516
  clearColorHover: string;
509
517
  clearColorPressed: string;
510
- heightTiny: string;
511
- heightSmall: string;
512
- heightMedium: string;
513
- heightLarge: string;
514
- fontSizeTiny: string;
515
- fontSizeSmall: string;
516
- fontSizeMedium: string;
517
- fontSizeLarge: string;
518
518
  paddingSingle: string;
519
519
  clearSize: string;
520
+ arrowSize: string;
520
521
  }, {
521
522
  Popover: import("../../../_mixins").Theme<"Popover", {
522
523
  fontSize: string;
@@ -553,6 +554,7 @@ declare const _default: import("vue").DefineComponent<{
553
554
  optionOpacityDisabled: string;
554
555
  optionCheckColor: string;
555
556
  optionColorPending: string;
557
+ optionColorActive: string;
556
558
  actionTextColor: string;
557
559
  loadingColor: string;
558
560
  height: string;
@@ -724,6 +726,14 @@ declare const _default: import("vue").DefineComponent<{
724
726
  menuBoxShadow: string;
725
727
  }, {
726
728
  InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
729
+ fontSizeTiny: string;
730
+ fontSizeSmall: string;
731
+ fontSizeMedium: string;
732
+ fontSizeLarge: string;
733
+ heightTiny: string;
734
+ heightSmall: string;
735
+ heightMedium: string;
736
+ heightLarge: string;
727
737
  borderRadius: string;
728
738
  textColor: string;
729
739
  textColorDisabled: string;
@@ -764,16 +774,9 @@ declare const _default: import("vue").DefineComponent<{
764
774
  clearColor: string;
765
775
  clearColorHover: string;
766
776
  clearColorPressed: string;
767
- heightTiny: string;
768
- heightSmall: string;
769
- heightMedium: string;
770
- heightLarge: string;
771
- fontSizeTiny: string;
772
- fontSizeSmall: string;
773
- fontSizeMedium: string;
774
- fontSizeLarge: string;
775
777
  paddingSingle: string;
776
778
  clearSize: string;
779
+ arrowSize: string;
777
780
  }, {
778
781
  Popover: import("../../../_mixins").Theme<"Popover", {
779
782
  fontSize: string;
@@ -810,6 +813,7 @@ declare const _default: import("vue").DefineComponent<{
810
813
  optionOpacityDisabled: string;
811
814
  optionCheckColor: string;
812
815
  optionColorPending: string;
816
+ optionColorActive: string;
813
817
  actionTextColor: string;
814
818
  loadingColor: string;
815
819
  height: string;
@@ -1411,6 +1415,14 @@ declare const _default: import("vue").DefineComponent<{
1411
1415
  menuBoxShadow: string;
1412
1416
  }, {
1413
1417
  InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
1418
+ fontSizeTiny: string;
1419
+ fontSizeSmall: string;
1420
+ fontSizeMedium: string;
1421
+ fontSizeLarge: string;
1422
+ heightTiny: string;
1423
+ heightSmall: string;
1424
+ heightMedium: string;
1425
+ heightLarge: string;
1414
1426
  borderRadius: string;
1415
1427
  textColor: string;
1416
1428
  textColorDisabled: string;
@@ -1451,16 +1463,9 @@ declare const _default: import("vue").DefineComponent<{
1451
1463
  clearColor: string;
1452
1464
  clearColorHover: string;
1453
1465
  clearColorPressed: string;
1454
- heightTiny: string;
1455
- heightSmall: string;
1456
- heightMedium: string;
1457
- heightLarge: string;
1458
- fontSizeTiny: string;
1459
- fontSizeSmall: string;
1460
- fontSizeMedium: string;
1461
- fontSizeLarge: string;
1462
1466
  paddingSingle: string;
1463
1467
  clearSize: string;
1468
+ arrowSize: string;
1464
1469
  }, {
1465
1470
  Popover: import("../../../_mixins").Theme<"Popover", {
1466
1471
  fontSize: string;
@@ -1497,6 +1502,7 @@ declare const _default: import("vue").DefineComponent<{
1497
1502
  optionOpacityDisabled: string;
1498
1503
  optionCheckColor: string;
1499
1504
  optionColorPending: string;
1505
+ optionColorActive: string;
1500
1506
  actionTextColor: string;
1501
1507
  loadingColor: string;
1502
1508
  height: string;
@@ -1668,6 +1674,14 @@ declare const _default: import("vue").DefineComponent<{
1668
1674
  menuBoxShadow: string;
1669
1675
  }, {
1670
1676
  InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
1677
+ fontSizeTiny: string;
1678
+ fontSizeSmall: string;
1679
+ fontSizeMedium: string;
1680
+ fontSizeLarge: string;
1681
+ heightTiny: string;
1682
+ heightSmall: string;
1683
+ heightMedium: string;
1684
+ heightLarge: string;
1671
1685
  borderRadius: string;
1672
1686
  textColor: string;
1673
1687
  textColorDisabled: string;
@@ -1708,16 +1722,9 @@ declare const _default: import("vue").DefineComponent<{
1708
1722
  clearColor: string;
1709
1723
  clearColorHover: string;
1710
1724
  clearColorPressed: string;
1711
- heightTiny: string;
1712
- heightSmall: string;
1713
- heightMedium: string;
1714
- heightLarge: string;
1715
- fontSizeTiny: string;
1716
- fontSizeSmall: string;
1717
- fontSizeMedium: string;
1718
- fontSizeLarge: string;
1719
1725
  paddingSingle: string;
1720
1726
  clearSize: string;
1727
+ arrowSize: string;
1721
1728
  }, {
1722
1729
  Popover: import("../../../_mixins").Theme<"Popover", {
1723
1730
  fontSize: string;
@@ -1754,6 +1761,7 @@ declare const _default: import("vue").DefineComponent<{
1754
1761
  optionOpacityDisabled: string;
1755
1762
  optionCheckColor: string;
1756
1763
  optionColorPending: string;
1764
+ optionColorActive: string;
1757
1765
  actionTextColor: string;
1758
1766
  loadingColor: string;
1759
1767
  height: string;
@@ -468,6 +468,14 @@ declare const _default: import("vue").DefineComponent<{
468
468
  menuBoxShadow: string;
469
469
  }, {
470
470
  InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
471
+ fontSizeTiny: string;
472
+ fontSizeSmall: string;
473
+ fontSizeMedium: string;
474
+ fontSizeLarge: string;
475
+ heightTiny: string;
476
+ heightSmall: string;
477
+ heightMedium: string;
478
+ heightLarge: string;
471
479
  borderRadius: string;
472
480
  textColor: string;
473
481
  textColorDisabled: string;
@@ -508,16 +516,9 @@ declare const _default: import("vue").DefineComponent<{
508
516
  clearColor: string;
509
517
  clearColorHover: string;
510
518
  clearColorPressed: string;
511
- heightTiny: string;
512
- heightSmall: string;
513
- heightMedium: string;
514
- heightLarge: string;
515
- fontSizeTiny: string;
516
- fontSizeSmall: string;
517
- fontSizeMedium: string;
518
- fontSizeLarge: string;
519
519
  paddingSingle: string;
520
520
  clearSize: string;
521
+ arrowSize: string;
521
522
  }, {
522
523
  Popover: import("../../../_mixins").Theme<"Popover", {
523
524
  fontSize: string;
@@ -554,6 +555,7 @@ declare const _default: import("vue").DefineComponent<{
554
555
  optionOpacityDisabled: string;
555
556
  optionCheckColor: string;
556
557
  optionColorPending: string;
558
+ optionColorActive: string;
557
559
  actionTextColor: string;
558
560
  loadingColor: string;
559
561
  height: string;
@@ -725,6 +727,14 @@ declare const _default: import("vue").DefineComponent<{
725
727
  menuBoxShadow: string;
726
728
  }, {
727
729
  InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
730
+ fontSizeTiny: string;
731
+ fontSizeSmall: string;
732
+ fontSizeMedium: string;
733
+ fontSizeLarge: string;
734
+ heightTiny: string;
735
+ heightSmall: string;
736
+ heightMedium: string;
737
+ heightLarge: string;
728
738
  borderRadius: string;
729
739
  textColor: string;
730
740
  textColorDisabled: string;
@@ -765,16 +775,9 @@ declare const _default: import("vue").DefineComponent<{
765
775
  clearColor: string;
766
776
  clearColorHover: string;
767
777
  clearColorPressed: string;
768
- heightTiny: string;
769
- heightSmall: string;
770
- heightMedium: string;
771
- heightLarge: string;
772
- fontSizeTiny: string;
773
- fontSizeSmall: string;
774
- fontSizeMedium: string;
775
- fontSizeLarge: string;
776
778
  paddingSingle: string;
777
779
  clearSize: string;
780
+ arrowSize: string;
778
781
  }, {
779
782
  Popover: import("../../../_mixins").Theme<"Popover", {
780
783
  fontSize: string;
@@ -811,6 +814,7 @@ declare const _default: import("vue").DefineComponent<{
811
814
  optionOpacityDisabled: string;
812
815
  optionCheckColor: string;
813
816
  optionColorPending: string;
817
+ optionColorActive: string;
814
818
  actionTextColor: string;
815
819
  loadingColor: string;
816
820
  height: string;
@@ -397,6 +397,14 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
397
397
  menuBoxShadow: string;
398
398
  }, {
399
399
  InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
400
+ fontSizeTiny: string;
401
+ fontSizeSmall: string;
402
+ fontSizeMedium: string;
403
+ fontSizeLarge: string;
404
+ heightTiny: string;
405
+ heightSmall: string;
406
+ heightMedium: string;
407
+ heightLarge: string;
400
408
  borderRadius: string;
401
409
  textColor: string;
402
410
  textColorDisabled: string;
@@ -437,16 +445,9 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
437
445
  clearColor: string;
438
446
  clearColorHover: string;
439
447
  clearColorPressed: string;
440
- heightTiny: string;
441
- heightSmall: string;
442
- heightMedium: string;
443
- heightLarge: string;
444
- fontSizeTiny: string;
445
- fontSizeSmall: string;
446
- fontSizeMedium: string;
447
- fontSizeLarge: string;
448
448
  paddingSingle: string;
449
449
  clearSize: string;
450
+ arrowSize: string;
450
451
  }, {
451
452
  Popover: import("../../_mixins").Theme<"Popover", {
452
453
  fontSize: string;
@@ -483,6 +484,7 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
483
484
  optionOpacityDisabled: string;
484
485
  optionCheckColor: string;
485
486
  optionColorPending: string;
487
+ optionColorActive: string;
486
488
  actionTextColor: string;
487
489
  loadingColor: string;
488
490
  height: string;
@@ -44,7 +44,7 @@ declare const datePickerProps: {
44
44
  readonly format: StringConstructor;
45
45
  readonly dateFormat: StringConstructor;
46
46
  readonly timeFormat: StringConstructor;
47
- readonly actions: PropType<("clear" | "cancel" | "confirm")[]>;
47
+ readonly actions: PropType<("clear" | "confirm" | "now")[]>;
48
48
  readonly shortcuts: PropType<Shortcuts>;
49
49
  readonly isDateDisabled: PropType<IsDateDisabled>;
50
50
  readonly isTimeDisabled: PropType<IsTimeDisabled>;
@@ -53,6 +53,7 @@ declare const datePickerProps: {
53
53
  readonly default: undefined;
54
54
  };
55
55
  readonly ranges: PropType<Record<string, [number, number]>>;
56
+ readonly inputReadonly: BooleanConstructor;
56
57
  readonly closeOnSelect: BooleanConstructor;
57
58
  readonly 'onUpdate:show': PropType<MaybeArray<(show: boolean) => void>>;
58
59
  readonly onUpdateShow: PropType<MaybeArray<(show: boolean) => void>>;
@@ -1847,7 +1848,7 @@ declare const _default: import("vue").DefineComponent<{
1847
1848
  readonly format: StringConstructor;
1848
1849
  readonly dateFormat: StringConstructor;
1849
1850
  readonly timeFormat: StringConstructor;
1850
- readonly actions: PropType<("clear" | "cancel" | "confirm")[]>;
1851
+ readonly actions: PropType<("clear" | "confirm" | "now")[]>;
1851
1852
  readonly shortcuts: PropType<Shortcuts>;
1852
1853
  readonly isDateDisabled: PropType<IsDateDisabled>;
1853
1854
  readonly isTimeDisabled: PropType<IsTimeDisabled>;
@@ -1856,6 +1857,7 @@ declare const _default: import("vue").DefineComponent<{
1856
1857
  readonly default: undefined;
1857
1858
  };
1858
1859
  readonly ranges: PropType<Record<string, [number, number]>>;
1860
+ readonly inputReadonly: BooleanConstructor;
1859
1861
  readonly closeOnSelect: BooleanConstructor;
1860
1862
  readonly 'onUpdate:show': PropType<MaybeArray<(show: boolean) => void>>;
1861
1863
  readonly onUpdateShow: PropType<MaybeArray<(show: boolean) => void>>;
@@ -4680,6 +4682,7 @@ declare const _default: import("vue").DefineComponent<{
4680
4682
  readonly isTimeDisabled?: unknown;
4681
4683
  readonly show?: unknown;
4682
4684
  readonly ranges?: unknown;
4685
+ readonly inputReadonly?: unknown;
4683
4686
  readonly closeOnSelect?: unknown;
4684
4687
  readonly 'onUpdate:show'?: unknown;
4685
4688
  readonly onUpdateShow?: unknown;
@@ -4697,6 +4700,7 @@ declare const _default: import("vue").DefineComponent<{
4697
4700
  clearable: boolean;
4698
4701
  defaultValue: Value | null;
4699
4702
  updateValueOnClose: boolean;
4703
+ inputReadonly: boolean;
4700
4704
  closeOnSelect: boolean;
4701
4705
  } & {
4702
4706
  value?: Value | null | undefined;
@@ -6453,7 +6457,7 @@ declare const _default: import("vue").DefineComponent<{
6453
6457
  "onUpdate:value"?: MaybeArray<OnUpdateValue> | undefined;
6454
6458
  onUpdateValue?: MaybeArray<OnUpdateValue> | undefined;
6455
6459
  isDateDisabled?: IsDateDisabled | undefined;
6456
- actions?: ("clear" | "cancel" | "confirm")[] | undefined;
6460
+ actions?: ("clear" | "confirm" | "now")[] | undefined;
6457
6461
  startPlaceholder?: string | undefined;
6458
6462
  endPlaceholder?: string | undefined;
6459
6463
  dateFormat?: string | undefined;
@@ -6472,6 +6476,7 @@ declare const _default: import("vue").DefineComponent<{
6472
6476
  clearable: boolean;
6473
6477
  defaultValue: Value | null;
6474
6478
  updateValueOnClose: boolean;
6479
+ inputReadonly: boolean;
6475
6480
  closeOnSelect: boolean;
6476
6481
  }>;
6477
6482
  export default _default;
@@ -51,7 +51,7 @@ const datePickerProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props
51
51
  }, separator: String, placeholder: String, startPlaceholder: String, endPlaceholder: String, format: String, dateFormat: String, timeFormat: String, actions: Array, shortcuts: Object, isDateDisabled: Function, isTimeDisabled: Function, show: {
52
52
  type: Boolean,
53
53
  default: undefined
54
- }, ranges: Object, closeOnSelect: Boolean, 'onUpdate:show': [Function, Array], onUpdateShow: [Function, Array], 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array], onFocus: [Function, Array], onBlur: [Function, Array],
54
+ }, ranges: Object, inputReadonly: Boolean, closeOnSelect: Boolean, 'onUpdate:show': [Function, Array], onUpdateShow: [Function, Array], 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array], onFocus: [Function, Array], onBlur: [Function, Array],
55
55
  // deprecated
56
56
  onChange: {
57
57
  type: [Function, Array],
@@ -490,7 +490,7 @@ exports.default = (0, vue_1.defineComponent)({
490
490
  size: this.mergedSize,
491
491
  passivelyActivated: true,
492
492
  disabled: this.mergedDisabled,
493
- readonly: this.mergedDisabled,
493
+ readonly: this.inputReadonly || this.mergedDisabled,
494
494
  clearable,
495
495
  onClear: this.handleClear,
496
496
  onClick: this.handleTriggerClick,
@@ -359,7 +359,7 @@ declare const _default: import("vue").DefineComponent<{
359
359
  textColorGhostFocusSuccess: string;
360
360
  textColorGhostDisabledSuccess: string;
361
361
  borderSuccess: string;
362
- borderHoverSuccess: string; /** we don't need a confirm button for date picking */
362
+ borderHoverSuccess: string;
363
363
  borderPressedSuccess: string;
364
364
  borderFocusSuccess: string;
365
365
  borderDisabledSuccess: string;
@@ -574,7 +574,7 @@ declare const _default: import("vue").DefineComponent<{
574
574
  textColorGhostFocusSuccess: string;
575
575
  textColorGhostDisabledSuccess: string;
576
576
  borderSuccess: string;
577
- borderHoverSuccess: string; /** we don't need a confirm button for date picking */
577
+ borderHoverSuccess: string;
578
578
  borderPressedSuccess: string;
579
579
  borderFocusSuccess: string;
580
580
  borderDisabledSuccess: string;
@@ -848,7 +848,7 @@ declare const _default: import("vue").DefineComponent<{
848
848
  textColorGhostFocusSuccess: string;
849
849
  textColorGhostDisabledSuccess: string;
850
850
  borderSuccess: string;
851
- borderHoverSuccess: string; /** we don't need a confirm button for date picking */
851
+ borderHoverSuccess: string;
852
852
  borderPressedSuccess: string;
853
853
  borderFocusSuccess: string;
854
854
  borderDisabledSuccess: string;
@@ -5,6 +5,7 @@ const button_1 = require("../../../button");
5
5
  const icons_1 = require("../../../_internal/icons");
6
6
  const _internal_1 = require("../../../_internal");
7
7
  const use_calendar_1 = require("./use-calendar");
8
+ const _utils_1 = require("../../../_utils");
8
9
  /**
9
10
  * Date Panel
10
11
  * Update picker value on:
@@ -15,6 +16,14 @@ exports.default = (0, vue_1.defineComponent)({
15
16
  name: 'DatePanel',
16
17
  props: use_calendar_1.useCalendar.props,
17
18
  setup(props) {
19
+ if (process.env.NODE_ENV !== 'production') {
20
+ (0, vue_1.watchEffect)(() => {
21
+ var _a;
22
+ if ((_a = props.actions) === null || _a === void 0 ? void 0 : _a.includes('confirm')) {
23
+ (0, _utils_1.warnOnce)('date-picker', 'The `confirm` action is not supported for n-date-picker of `date` type');
24
+ }
25
+ });
26
+ }
18
27
  return (0, use_calendar_1.useCalendar)(props, 'date');
19
28
  },
20
29
  render() {