naive-ui 2.18.0 → 2.19.1

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 +8 -0
  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 -0
  14. package/es/_internal/selection/styles/_common.js +2 -1
  15. package/es/_internal/selection/styles/light.d.ts +2 -0
  16. package/es/_styles/common/light.js +1 -1
  17. package/es/_utils/naive/mutable.d.ts +2 -2
  18. package/es/anchor/src/AnchorAdapter.d.ts +13 -8
  19. package/es/anchor/src/AnchorAdapter.js +3 -5
  20. package/es/anchor/src/BaseAnchor.d.ts +14 -1
  21. package/es/anchor/src/BaseAnchor.js +20 -7
  22. package/es/anchor/src/Link.js +5 -5
  23. package/es/anchor/src/styles/index.cssr.js +25 -16
  24. package/es/auto-complete/index.d.ts +1 -0
  25. package/es/auto-complete/src/AutoComplete.d.ts +10 -0
  26. package/es/auto-complete/src/interface.d.ts +1 -1
  27. package/es/auto-complete/styles/light.d.ts +1 -0
  28. package/es/badge/src/styles/index.cssr.js +1 -0
  29. package/es/card/src/Card.d.ts +17 -1
  30. package/es/card/src/Card.js +3 -2
  31. package/es/card/styles/dark.js +6 -1
  32. package/es/card/styles/light.d.ts +1 -0
  33. package/es/card/styles/light.js +2 -2
  34. package/es/cascader/src/Cascader.d.ts +20 -0
  35. package/es/cascader/src/Cascader.js +28 -19
  36. package/es/cascader/src/CascaderMenu.js +17 -15
  37. package/es/cascader/src/CascaderOption.d.ts +2 -0
  38. package/es/cascader/src/CascaderSelectMenu.d.ts +2 -0
  39. package/es/cascader/src/CascaderSubmenu.d.ts +2 -0
  40. package/es/cascader/src/interface.d.ts +2 -2
  41. package/es/cascader/src/styles/index.cssr.js +6 -1
  42. package/es/cascader/styles/light.d.ts +2 -0
  43. package/es/composables/use-theme-vars.js +5 -5
  44. package/es/config-provider/src/internal-interface.d.ts +2 -0
  45. package/es/data-table/src/DataTable.d.ts +22 -0
  46. package/es/data-table/src/HeaderButton/FilterButton.d.ts +4 -0
  47. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +4 -0
  48. package/es/data-table/src/TableParts/Body.d.ts +4 -0
  49. package/es/data-table/src/TableParts/Cell.d.ts +8 -0
  50. package/es/data-table/src/TableParts/Header.d.ts +4 -0
  51. package/es/data-table/styles/light.d.ts +2 -0
  52. package/es/date-picker/src/DatePicker.d.ts +8 -3
  53. package/es/date-picker/src/DatePicker.js +2 -2
  54. package/es/date-picker/src/panel/date.d.ts +3 -3
  55. package/es/date-picker/src/panel/date.js +10 -1
  56. package/es/date-picker/src/panel/daterange.js +10 -1
  57. package/es/date-picker/src/panel/datetimerange.js +10 -1
  58. package/es/descriptions/src/Descriptions.d.ts +4 -17
  59. package/es/descriptions/src/Descriptions.js +2 -8
  60. package/es/dialog/src/Dialog.d.ts +4 -16
  61. package/es/dialog/src/Dialog.js +2 -8
  62. package/es/dialog/src/DialogEnvironment.d.ts +28 -36
  63. package/es/dialog/src/DialogEnvironment.js +2 -2
  64. package/es/dialog/src/DialogProvider.d.ts +18 -15
  65. package/es/dialog/src/DialogProvider.js +2 -1
  66. package/es/dropdown/src/Dropdown.d.ts +9 -23
  67. package/es/dynamic-tags/src/DynamicTags.js +2 -1
  68. package/es/empty/src/Empty.d.ts +6 -1
  69. package/es/empty/src/Empty.js +16 -4
  70. package/es/form/src/FormItemGridItem.d.ts +1 -1
  71. package/es/form/src/FormItemGridItem.js +2 -2
  72. package/es/grid/src/GridItem.d.ts +2 -2
  73. package/es/grid/src/GridItem.js +1 -1
  74. package/es/input-number/src/InputNumber.d.ts +5 -0
  75. package/es/input-number/src/InputNumber.js +9 -8
  76. package/es/layout/src/Layout.d.ts +18 -4
  77. package/es/layout/src/LayoutContent.d.ts +9 -2
  78. package/es/layout/src/LayoutFooter.d.ts +9 -0
  79. package/es/layout/src/LayoutHeader.d.ts +6 -0
  80. package/es/layout/src/LayoutSider.d.ts +11 -0
  81. package/es/layout/src/LayoutSider.js +4 -2
  82. package/es/layout/src/ToggleButton.js +7 -3
  83. package/es/layout/src/styles/layout-sider.cssr.js +31 -15
  84. package/es/layout/styles/dark.js +3 -2
  85. package/es/layout/styles/light.d.ts +2 -0
  86. package/es/layout/styles/light.js +3 -2
  87. package/es/locales/common/enUS.js +1 -1
  88. package/es/locales/common/ruRU.js +1 -1
  89. package/es/locales/common/zhCN.js +1 -1
  90. package/es/mention/src/Mention.d.ts +10 -0
  91. package/es/mention/styles/light.d.ts +1 -0
  92. package/es/menu/src/Menu.d.ts +6 -1
  93. package/es/menu/src/Menu.js +10 -1
  94. package/es/menu/src/MenuOption.d.ts +3 -1
  95. package/es/menu/src/MenuOptionContent.d.ts +3 -1
  96. package/es/menu/src/Submenu.d.ts +3 -1
  97. package/es/modal/src/BodyWrapper.d.ts +7 -8
  98. package/es/modal/src/Modal.d.ts +40 -71
  99. package/es/modal/src/Modal.js +18 -39
  100. package/es/modal/src/presetProps.d.ts +4 -9
  101. package/es/modal/styles/light.d.ts +1 -0
  102. package/es/notification/src/Notification.d.ts +1 -1
  103. package/es/notification/src/NotificationEnvironment.d.ts +1 -1
  104. package/es/notification/src/NotificationProvider.d.ts +16 -16
  105. package/es/page-header/src/PageHeader.d.ts +1 -0
  106. package/es/page-header/src/PageHeader.js +8 -2
  107. package/es/page-header/src/styles/rtl.cssr.d.ts +2 -0
  108. package/es/page-header/src/styles/rtl.cssr.js +19 -0
  109. package/es/page-header/styles/index.d.ts +1 -0
  110. package/es/page-header/styles/index.js +1 -0
  111. package/es/page-header/styles/rtl.d.ts +5 -0
  112. package/es/page-header/styles/rtl.js +5 -0
  113. package/es/pagination/src/Pagination.d.ts +23 -1
  114. package/es/pagination/styles/light.d.ts +2 -0
  115. package/es/popconfirm/src/Popconfirm.d.ts +8 -22
  116. package/es/popover/src/Popover.d.ts +12 -32
  117. package/es/popover/src/Popover.js +25 -18
  118. package/es/popover/src/PopoverBody.d.ts +2 -2
  119. package/es/popover/src/PopoverBody.js +4 -2
  120. package/es/popselect/src/Popselect.d.ts +18 -22
  121. package/es/popselect/src/PopselectPanel.d.ts +1 -0
  122. package/es/popselect/src/PopselectPanel.js +38 -19
  123. package/es/popselect/styles/light.d.ts +1 -0
  124. package/es/select/src/Select.d.ts +31 -3
  125. package/es/select/src/Select.js +55 -56
  126. package/es/select/src/interface.d.ts +2 -2
  127. package/es/select/styles/light.d.ts +2 -0
  128. package/es/spin/src/Spin.d.ts +34 -25
  129. package/es/spin/src/Spin.js +27 -20
  130. package/es/spin/src/styles/index.cssr.js +23 -9
  131. package/es/spin/styles/light.d.ts +2 -0
  132. package/es/spin/styles/light.js +3 -1
  133. package/es/steps/src/Steps.js +2 -2
  134. package/es/styles.d.ts +1 -0
  135. package/es/styles.js +1 -0
  136. package/es/tabs/src/Tab.d.ts +1 -1
  137. package/es/tabs/src/Tab.js +4 -6
  138. package/es/tabs/src/Tabs.d.ts +133 -42
  139. package/es/tabs/src/Tabs.js +37 -38
  140. package/es/tabs/src/interface.d.ts +2 -1
  141. package/es/tabs/src/styles/index.cssr.js +34 -10
  142. package/es/tabs/styles/_common.d.ts +6 -0
  143. package/es/tabs/styles/_common.js +6 -0
  144. package/es/tabs/styles/dark.js +7 -1
  145. package/es/tabs/styles/light.d.ts +13 -0
  146. package/es/tabs/styles/light.js +3 -3
  147. package/es/tag/src/styles/index.cssr.js +1 -1
  148. package/es/time/src/Time.d.ts +14 -22
  149. package/es/time/src/Time.js +32 -18
  150. package/es/time-picker/src/TimePicker.d.ts +5 -0
  151. package/es/time-picker/src/TimePicker.js +2 -2
  152. package/es/timeline/src/Timeline.d.ts +67 -0
  153. package/es/timeline/src/Timeline.js +1 -1
  154. package/es/timeline/src/TimelineItem.d.ts +2 -0
  155. package/es/timeline/src/TimelineItem.js +11 -11
  156. package/es/timeline/src/styles/index.cssr.js +26 -17
  157. package/es/timeline/styles/_common.d.ts +2 -0
  158. package/es/timeline/styles/_common.js +3 -1
  159. package/es/timeline/styles/dark.js +1 -1
  160. package/es/timeline/styles/light.d.ts +7 -0
  161. package/es/timeline/styles/light.js +1 -1
  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 +23 -1
  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 +1 -0
  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 +8 -0
  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 -0
  210. package/lib/_internal/selection/styles/_common.js +2 -1
  211. package/lib/_internal/selection/styles/light.d.ts +2 -0
  212. package/lib/_styles/common/light.js +1 -1
  213. package/lib/_utils/naive/mutable.d.ts +2 -2
  214. package/lib/anchor/src/AnchorAdapter.d.ts +13 -8
  215. package/lib/anchor/src/AnchorAdapter.js +3 -5
  216. package/lib/anchor/src/BaseAnchor.d.ts +14 -1
  217. package/lib/anchor/src/BaseAnchor.js +19 -6
  218. package/lib/anchor/src/Link.js +5 -5
  219. package/lib/anchor/src/styles/index.cssr.js +25 -16
  220. package/lib/auto-complete/index.d.ts +1 -0
  221. package/lib/auto-complete/src/AutoComplete.d.ts +10 -0
  222. package/lib/auto-complete/src/interface.d.ts +1 -1
  223. package/lib/auto-complete/styles/light.d.ts +1 -0
  224. package/lib/badge/src/styles/index.cssr.js +1 -0
  225. package/lib/card/src/Card.d.ts +17 -1
  226. package/lib/card/src/Card.js +3 -2
  227. package/lib/card/styles/dark.js +6 -1
  228. package/lib/card/styles/light.d.ts +1 -0
  229. package/lib/card/styles/light.js +2 -2
  230. package/lib/cascader/src/Cascader.d.ts +20 -0
  231. package/lib/cascader/src/Cascader.js +28 -19
  232. package/lib/cascader/src/CascaderMenu.js +16 -14
  233. package/lib/cascader/src/CascaderOption.d.ts +2 -0
  234. package/lib/cascader/src/CascaderSelectMenu.d.ts +2 -0
  235. package/lib/cascader/src/CascaderSubmenu.d.ts +2 -0
  236. package/lib/cascader/src/interface.d.ts +2 -2
  237. package/lib/cascader/src/styles/index.cssr.js +6 -1
  238. package/lib/cascader/styles/light.d.ts +2 -0
  239. package/lib/composables/use-theme-vars.js +5 -5
  240. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  241. package/lib/data-table/src/DataTable.d.ts +22 -0
  242. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +4 -0
  243. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +4 -0
  244. package/lib/data-table/src/TableParts/Body.d.ts +4 -0
  245. package/lib/data-table/src/TableParts/Cell.d.ts +8 -0
  246. package/lib/data-table/src/TableParts/Header.d.ts +4 -0
  247. package/lib/data-table/styles/light.d.ts +2 -0
  248. package/lib/date-picker/src/DatePicker.d.ts +8 -3
  249. package/lib/date-picker/src/DatePicker.js +2 -2
  250. package/lib/date-picker/src/panel/date.d.ts +3 -3
  251. package/lib/date-picker/src/panel/date.js +9 -0
  252. package/lib/date-picker/src/panel/daterange.js +9 -0
  253. package/lib/date-picker/src/panel/datetimerange.js +9 -0
  254. package/lib/descriptions/src/Descriptions.d.ts +4 -17
  255. package/lib/descriptions/src/Descriptions.js +2 -8
  256. package/lib/dialog/src/Dialog.d.ts +4 -16
  257. package/lib/dialog/src/Dialog.js +2 -8
  258. package/lib/dialog/src/DialogEnvironment.d.ts +28 -36
  259. package/lib/dialog/src/DialogEnvironment.js +2 -2
  260. package/lib/dialog/src/DialogProvider.d.ts +18 -15
  261. package/lib/dialog/src/DialogProvider.js +2 -1
  262. package/lib/dropdown/src/Dropdown.d.ts +9 -23
  263. package/lib/dynamic-tags/src/DynamicTags.js +2 -1
  264. package/lib/empty/src/Empty.d.ts +6 -1
  265. package/lib/empty/src/Empty.js +15 -3
  266. package/lib/form/src/FormItemGridItem.d.ts +1 -1
  267. package/lib/form/src/FormItemGridItem.js +2 -2
  268. package/lib/grid/src/GridItem.d.ts +2 -2
  269. package/lib/grid/src/GridItem.js +1 -1
  270. package/lib/input-number/src/InputNumber.d.ts +5 -0
  271. package/lib/input-number/src/InputNumber.js +9 -8
  272. package/lib/layout/src/Layout.d.ts +18 -4
  273. package/lib/layout/src/LayoutContent.d.ts +9 -2
  274. package/lib/layout/src/LayoutFooter.d.ts +9 -0
  275. package/lib/layout/src/LayoutHeader.d.ts +6 -0
  276. package/lib/layout/src/LayoutSider.d.ts +11 -0
  277. package/lib/layout/src/LayoutSider.js +4 -2
  278. package/lib/layout/src/ToggleButton.js +7 -3
  279. package/lib/layout/src/styles/layout-sider.cssr.js +31 -15
  280. package/lib/layout/styles/dark.js +3 -2
  281. package/lib/layout/styles/light.d.ts +2 -0
  282. package/lib/layout/styles/light.js +3 -2
  283. package/lib/locales/common/enUS.js +1 -1
  284. package/lib/locales/common/ruRU.js +1 -1
  285. package/lib/locales/common/zhCN.js +1 -1
  286. package/lib/mention/src/Mention.d.ts +10 -0
  287. package/lib/mention/styles/light.d.ts +1 -0
  288. package/lib/menu/src/Menu.d.ts +6 -1
  289. package/lib/menu/src/Menu.js +10 -1
  290. package/lib/menu/src/MenuOption.d.ts +3 -1
  291. package/lib/menu/src/MenuOptionContent.d.ts +3 -1
  292. package/lib/menu/src/Submenu.d.ts +3 -1
  293. package/lib/modal/src/BodyWrapper.d.ts +7 -8
  294. package/lib/modal/src/Modal.d.ts +40 -71
  295. package/lib/modal/src/Modal.js +17 -38
  296. package/lib/modal/src/presetProps.d.ts +4 -9
  297. package/lib/modal/styles/light.d.ts +1 -0
  298. package/lib/notification/src/Notification.d.ts +1 -1
  299. package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
  300. package/lib/notification/src/NotificationProvider.d.ts +16 -16
  301. package/lib/page-header/src/PageHeader.d.ts +1 -0
  302. package/lib/page-header/src/PageHeader.js +8 -2
  303. package/lib/page-header/src/styles/rtl.cssr.d.ts +2 -0
  304. package/lib/page-header/src/styles/rtl.cssr.js +26 -0
  305. package/lib/page-header/styles/index.d.ts +1 -0
  306. package/lib/page-header/styles/index.js +3 -1
  307. package/lib/page-header/styles/rtl.d.ts +5 -0
  308. package/lib/page-header/styles/rtl.js +7 -0
  309. package/lib/pagination/src/Pagination.d.ts +23 -1
  310. package/lib/pagination/styles/light.d.ts +2 -0
  311. package/lib/popconfirm/src/Popconfirm.d.ts +8 -22
  312. package/lib/popover/src/Popover.d.ts +12 -32
  313. package/lib/popover/src/Popover.js +23 -16
  314. package/lib/popover/src/PopoverBody.d.ts +2 -2
  315. package/lib/popover/src/PopoverBody.js +4 -2
  316. package/lib/popselect/src/Popselect.d.ts +18 -22
  317. package/lib/popselect/src/PopselectPanel.d.ts +1 -0
  318. package/lib/popselect/src/PopselectPanel.js +38 -19
  319. package/lib/popselect/styles/light.d.ts +1 -0
  320. package/lib/select/src/Select.d.ts +31 -3
  321. package/lib/select/src/Select.js +55 -56
  322. package/lib/select/src/interface.d.ts +2 -2
  323. package/lib/select/styles/light.d.ts +2 -0
  324. package/lib/spin/src/Spin.d.ts +34 -25
  325. package/lib/spin/src/Spin.js +25 -18
  326. package/lib/spin/src/styles/index.cssr.js +23 -9
  327. package/lib/spin/styles/light.d.ts +2 -0
  328. package/lib/spin/styles/light.js +3 -1
  329. package/lib/steps/src/Steps.js +1 -1
  330. package/lib/styles.d.ts +1 -0
  331. package/lib/styles.js +63 -61
  332. package/lib/tabs/src/Tab.d.ts +1 -1
  333. package/lib/tabs/src/Tab.js +4 -6
  334. package/lib/tabs/src/Tabs.d.ts +133 -42
  335. package/lib/tabs/src/Tabs.js +36 -37
  336. package/lib/tabs/src/interface.d.ts +2 -1
  337. package/lib/tabs/src/styles/index.cssr.js +34 -10
  338. package/lib/tabs/styles/_common.d.ts +6 -0
  339. package/lib/tabs/styles/_common.js +6 -0
  340. package/lib/tabs/styles/dark.js +7 -1
  341. package/lib/tabs/styles/light.d.ts +13 -0
  342. package/lib/tabs/styles/light.js +3 -3
  343. package/lib/tag/src/styles/index.cssr.js +1 -1
  344. package/lib/time/src/Time.d.ts +14 -22
  345. package/lib/time/src/Time.js +31 -17
  346. package/lib/time-picker/src/TimePicker.d.ts +5 -0
  347. package/lib/time-picker/src/TimePicker.js +2 -2
  348. package/lib/timeline/src/Timeline.d.ts +67 -0
  349. package/lib/timeline/src/Timeline.js +1 -1
  350. package/lib/timeline/src/TimelineItem.d.ts +2 -0
  351. package/lib/timeline/src/TimelineItem.js +10 -10
  352. package/lib/timeline/src/styles/index.cssr.js +27 -18
  353. package/lib/timeline/styles/_common.d.ts +2 -0
  354. package/lib/timeline/styles/_common.js +3 -1
  355. package/lib/timeline/styles/dark.js +1 -1
  356. package/lib/timeline/styles/light.d.ts +7 -0
  357. package/lib/timeline/styles/light.js +1 -1
  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 +23 -1
  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 +1 -0
  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 +8 -6
  394. package/web-types.json +248 -13
@@ -24,6 +24,9 @@ const cssr_1 = require("../../../_utils/cssr"); // vars:
24
24
  // --tab-gap
25
25
  // --tab-padding
26
26
  // --pane-padding
27
+ // --color-segment
28
+ // --font-weight-strong
29
+ // --tab-color-segment
27
30
 
28
31
 
29
32
  exports.default = (0, cssr_1.cB)('tabs', `
@@ -31,7 +34,32 @@ exports.default = (0, cssr_1.cB)('tabs', `
31
34
  transition:
32
35
  background-color .3s var(--bezier),
33
36
  border-color .3s var(--bezier);
34
- `, [(0, cssr_1.cM)('flex', [(0, cssr_1.cB)('tabs-nav', {
37
+ `, [(0, cssr_1.cB)('tabs-rail', `
38
+ padding: 3px;
39
+ border-radius: var(--tab-border-radius);
40
+ width: 100%;
41
+ background-color: var(--color-segment);
42
+ transition: background-color .3s var(--bezier);
43
+ display: flex;
44
+ align-items: center;
45
+ `, [(0, cssr_1.cB)('tabs-tab-wrapper', `
46
+ flex-basis: 0;
47
+ flex-grow: 1;
48
+ display: flex;
49
+ align-items: center;
50
+ justify-content: center;
51
+ `, [(0, cssr_1.cB)('tabs-tab', `
52
+ overflow: hidden;
53
+ border-radius: var(--tab-border-radius);
54
+ width: 100%;
55
+ display: flex;
56
+ align-items: center;
57
+ justify-content: center;
58
+ `, [(0, cssr_1.cM)('active', `
59
+ font-weight: var(--font-weight-strong);
60
+ background-color: var(--tab-color-segment);
61
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .08);
62
+ `)])])]), (0, cssr_1.cM)('flex', [(0, cssr_1.cB)('tabs-nav', {
35
63
  width: '100%'
36
64
  }, [(0, cssr_1.cB)('tabs-wrapper', {
37
65
  width: '100%'
@@ -53,24 +81,19 @@ exports.default = (0, cssr_1.cB)('tabs', `
53
81
  box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12);
54
82
  `)]), (0, cssr_1.cM)('shadow-after', [(0, cssr_1.c)('&::after', `
55
83
  box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12);
56
- `)]), (0, cssr_1.c)('&::before', `
84
+ `)]), (0, cssr_1.c)('&::before, &::after', `
57
85
  transition: box-shadow .3s var(--bezier);
58
86
  pointer-events: none;
59
87
  content: "";
60
88
  position: absolute;
61
- left: 0;
62
89
  top: 0;
63
90
  bottom: 0;
64
91
  width: 20px;
92
+ z-index: 1;
93
+ `), (0, cssr_1.c)('&::before', `
94
+ left: 0;
65
95
  `), (0, cssr_1.c)('&::after', `
66
- transition: box-shadow .3s var(--bezier);
67
- pointer-events: none;
68
- content: "";
69
- position: absolute;
70
96
  right: 0;
71
- top: 0;
72
- bottom: 0;
73
- width: 20px;
74
97
  `)]), (0, cssr_1.cB)('tabs-nav-scroll-content', `
75
98
  display: flex;
76
99
  position: relative;
@@ -94,6 +117,7 @@ exports.default = (0, cssr_1.cB)('tabs', `
94
117
  background-clip: padding-box;
95
118
  padding: var(--tab-padding);
96
119
  transition:
120
+ box-shadow .3s var(--bezier),
97
121
  color .3s var(--bezier),
98
122
  background-color .3s var(--bezier),
99
123
  border-color .3s var(--bezier);
@@ -20,6 +20,12 @@ declare const _default: {
20
20
  tabPaddingSmallCard: string;
21
21
  tabPaddingMediumCard: string;
22
22
  tabPaddingLargeCard: string;
23
+ tabPaddingSmallSegment: string;
24
+ tabPaddingMediumSegment: string;
25
+ tabPaddingLargeSegment: string;
26
+ tabGapSmallSegment: string;
27
+ tabGapMediumSegment: string;
28
+ tabGapLargeSegment: string;
23
29
  panePaddingSmall: string;
24
30
  panePaddingMedium: string;
25
31
  panePaddingLarge: string;
@@ -22,6 +22,12 @@ exports.default = {
22
22
  tabPaddingSmallCard: '6px 10px',
23
23
  tabPaddingMediumCard: '8px 12px',
24
24
  tabPaddingLargeCard: '8px 16px',
25
+ tabPaddingSmallSegment: '4px 0',
26
+ tabPaddingMediumSegment: '6px 0',
27
+ tabPaddingLargeSegment: '8px 0',
28
+ tabGapSmallSegment: '0',
29
+ tabGapMediumSegment: '0',
30
+ tabGapLargeSegment: '0',
25
31
  panePaddingSmall: '8px 0 0 0',
26
32
  panePaddingMedium: '12px 0 0 0',
27
33
  panePaddingLarge: '16px 0 0 0'
@@ -5,6 +5,12 @@ const light_1 = require("./light");
5
5
  const tabsDark = {
6
6
  name: 'Tabs',
7
7
  common: common_1.commonDark,
8
- self: light_1.self
8
+ self(vars) {
9
+ const commonSelf = (0, light_1.self)(vars);
10
+ const { inputColor } = vars;
11
+ commonSelf.colorSegment = inputColor;
12
+ commonSelf.tabColorSegment = inputColor;
13
+ return commonSelf;
14
+ }
9
15
  };
10
16
  exports.default = tabsDark;
@@ -1,11 +1,16 @@
1
1
  import type { ThemeCommonVars } from '../../_styles/common';
2
2
  import { Theme } from '../../_mixins';
3
3
  export declare const self: (vars: ThemeCommonVars) => {
4
+ colorSegment: string;
4
5
  tabFontSizeCard: string;
5
6
  tabTextColorLine: string;
6
7
  tabTextColorActiveLine: string;
7
8
  tabTextColorHoverLine: string;
8
9
  tabTextColorDisabledLine: string;
10
+ tabTextColorSegment: string;
11
+ tabTextColorActiveSegment: string;
12
+ tabTextColorHoverSegment: string;
13
+ tabTextColorDisabledSegment: string;
9
14
  tabTextColorBar: string;
10
15
  tabTextColorActiveBar: string;
11
16
  tabTextColorHoverBar: string;
@@ -19,11 +24,13 @@ export declare const self: (vars: ThemeCommonVars) => {
19
24
  closeColorHover: string;
20
25
  closeColorPressed: string;
21
26
  tabColor: string;
27
+ tabColorSegment: string;
22
28
  tabBorderColor: string;
23
29
  tabFontWeightActive: string;
24
30
  tabFontWeight: string;
25
31
  tabBorderRadius: string;
26
32
  paneTextColor: string;
33
+ fontWeightStrong: string;
27
34
  tabFontSizeSmall: string;
28
35
  tabFontSizeMedium: string;
29
36
  tabFontSizeLarge: string;
@@ -45,6 +52,12 @@ export declare const self: (vars: ThemeCommonVars) => {
45
52
  tabPaddingSmallCard: string;
46
53
  tabPaddingMediumCard: string;
47
54
  tabPaddingLargeCard: string;
55
+ tabPaddingSmallSegment: string;
56
+ tabPaddingMediumSegment: string;
57
+ tabPaddingLargeSegment: string;
58
+ tabGapSmallSegment: string;
59
+ tabGapMediumSegment: string;
60
+ tabGapLargeSegment: string;
48
61
  panePaddingSmall: string;
49
62
  panePaddingMedium: string;
50
63
  panePaddingLarge: string;
@@ -4,11 +4,11 @@ exports.self = void 0;
4
4
  const _common_1 = require("./_common");
5
5
  const common_1 = require("../../_styles/common");
6
6
  const self = (vars) => {
7
- const { textColor2, primaryColor, textColorDisabled, closeColor, closeColorHover, closeColorPressed, tabColor, dividerColor, fontWeight, textColor1, borderRadius, fontSize } = vars;
8
- return Object.assign(Object.assign({}, _common_1.default), { tabFontSizeCard: fontSize, tabTextColorLine: textColor1, tabTextColorActiveLine: primaryColor, tabTextColorHoverLine: primaryColor, tabTextColorDisabledLine: textColorDisabled, tabTextColorBar: textColor1, tabTextColorActiveBar: primaryColor, tabTextColorHoverBar: primaryColor, tabTextColorDisabledBar: textColorDisabled, tabTextColorCard: textColor1, tabTextColorHoverCard: textColor1, tabTextColorActiveCard: primaryColor, tabTextColorDisabledCard: textColorDisabled, barColor: primaryColor, closeColor,
7
+ const { textColor2, primaryColor, textColorDisabled, closeColor, closeColorHover, closeColorPressed, tabColor, baseColor, dividerColor, fontWeight, textColor1, borderRadius, fontSize, fontWeightStrong } = vars;
8
+ return Object.assign(Object.assign({}, _common_1.default), { colorSegment: tabColor, tabFontSizeCard: fontSize, tabTextColorLine: textColor1, tabTextColorActiveLine: primaryColor, tabTextColorHoverLine: primaryColor, tabTextColorDisabledLine: textColorDisabled, tabTextColorSegment: textColor1, tabTextColorActiveSegment: primaryColor, tabTextColorHoverSegment: primaryColor, tabTextColorDisabledSegment: textColorDisabled, tabTextColorBar: textColor1, tabTextColorActiveBar: primaryColor, tabTextColorHoverBar: primaryColor, tabTextColorDisabledBar: textColorDisabled, tabTextColorCard: textColor1, tabTextColorHoverCard: textColor1, tabTextColorActiveCard: primaryColor, tabTextColorDisabledCard: textColorDisabled, barColor: primaryColor, closeColor,
9
9
  closeColorHover,
10
10
  closeColorPressed,
11
- tabColor, tabBorderColor: dividerColor, tabFontWeightActive: fontWeight, tabFontWeight: fontWeight, tabBorderRadius: borderRadius, paneTextColor: textColor2 });
11
+ tabColor, tabColorSegment: baseColor, tabBorderColor: dividerColor, tabFontWeightActive: fontWeight, tabFontWeight: fontWeight, tabBorderRadius: borderRadius, paneTextColor: textColor2, fontWeightStrong });
12
12
  };
13
13
  exports.self = self;
14
14
  const tabsLight = {
@@ -49,7 +49,7 @@ exports.default = (0, cssr_1.cB)('tag', `
49
49
  color .3s var(--bezier),
50
50
  box-shadow .3s var(--bezier),
51
51
  opacity .3s var(--bezier);
52
- line-height: var(--height);
52
+ line-height: 1.5;
53
53
  height: var(--height);
54
54
  font-size: var(--font-size);
55
55
  `, [(0, cssr_1.cE)('border', `
@@ -3,7 +3,7 @@ import { ExtractPublicPropTypes } from '../../_utils';
3
3
  declare const timeProps: {
4
4
  readonly time: {
5
5
  readonly type: PropType<number | Date>;
6
- readonly default: () => number;
6
+ readonly default: undefined;
7
7
  };
8
8
  readonly type: {
9
9
  readonly type: PropType<"relative" | "date" | "datetime">;
@@ -11,23 +11,18 @@ declare const timeProps: {
11
11
  };
12
12
  readonly to: {
13
13
  readonly type: PropType<number | Date>;
14
- readonly default: () => number;
15
- };
16
- readonly unix: {
17
- readonly type: BooleanConstructor;
18
- readonly default: false;
14
+ readonly default: undefined;
19
15
  };
16
+ readonly unix: BooleanConstructor;
20
17
  readonly format: StringConstructor;
21
- readonly text: {
22
- readonly type: BooleanConstructor;
23
- readonly default: false;
24
- };
18
+ readonly text: BooleanConstructor;
19
+ readonly timezone: StringConstructor;
25
20
  };
26
21
  export declare type TimeProps = ExtractPublicPropTypes<typeof timeProps>;
27
22
  declare const _default: import("vue").DefineComponent<{
28
23
  readonly time: {
29
24
  readonly type: PropType<number | Date>;
30
- readonly default: () => number;
25
+ readonly default: undefined;
31
26
  };
32
27
  readonly type: {
33
28
  readonly type: PropType<"relative" | "date" | "datetime">;
@@ -35,17 +30,12 @@ declare const _default: import("vue").DefineComponent<{
35
30
  };
36
31
  readonly to: {
37
32
  readonly type: PropType<number | Date>;
38
- readonly default: () => number;
39
- };
40
- readonly unix: {
41
- readonly type: BooleanConstructor;
42
- readonly default: false;
33
+ readonly default: undefined;
43
34
  };
35
+ readonly unix: BooleanConstructor;
44
36
  readonly format: StringConstructor;
45
- readonly text: {
46
- readonly type: BooleanConstructor;
47
- readonly default: false;
48
- };
37
+ readonly text: BooleanConstructor;
38
+ readonly timezone: StringConstructor;
49
39
  }, {
50
40
  renderedTime: import("vue").ComputedRef<string>;
51
41
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
@@ -55,14 +45,16 @@ declare const _default: import("vue").DefineComponent<{
55
45
  readonly unix?: unknown;
56
46
  readonly format?: unknown;
57
47
  readonly text?: unknown;
48
+ readonly timezone?: unknown;
58
49
  } & {
59
50
  type: "relative" | "date" | "datetime";
60
51
  text: boolean;
61
- time: number | Date;
62
- to: number | Date;
63
52
  unix: boolean;
64
53
  } & {
54
+ time?: number | Date | undefined;
65
55
  format?: string | undefined;
56
+ to?: number | Date | undefined;
57
+ timezone?: string | undefined;
66
58
  }>, {
67
59
  type: "relative" | "date" | "datetime";
68
60
  text: boolean;
@@ -2,11 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const vue_1 = require("vue");
4
4
  const date_fns_1 = require("date-fns");
5
+ const date_fns_tz_1 = require("date-fns-tz");
5
6
  const _mixins_1 = require("../../_mixins");
6
7
  const timeProps = {
7
8
  time: {
8
9
  type: [Number, Date],
9
- default: () => Date.now()
10
+ default: undefined // For unix or non unix mode, it should be different default value
10
11
  },
11
12
  type: {
12
13
  type: String,
@@ -14,49 +15,62 @@ const timeProps = {
14
15
  },
15
16
  to: {
16
17
  type: [Number, Date],
17
- default: () => Date.now()
18
- },
19
- unix: {
20
- type: Boolean,
21
- default: false
18
+ default: undefined // the same as `time` prop
22
19
  },
20
+ unix: Boolean,
23
21
  format: String,
24
- text: {
25
- type: Boolean,
26
- default: false
27
- }
22
+ text: Boolean,
23
+ timezone: String
28
24
  };
29
25
  exports.default = (0, vue_1.defineComponent)({
30
26
  name: 'Time',
31
27
  props: timeProps,
32
28
  setup(props) {
29
+ const now = Date.now();
33
30
  const { localeRef, dateLocaleRef } = (0, _mixins_1.useLocale)('Time');
31
+ const mergedFormatRef = (0, vue_1.computed)(() => {
32
+ const { timezone } = props;
33
+ if (timezone) {
34
+ return (time, _format) => {
35
+ return (0, date_fns_1.format)((0, date_fns_1.getTime)(time) +
36
+ -(0, date_fns_tz_1.getTimezoneOffset)(Intl.DateTimeFormat().resolvedOptions().timeZone, time) +
37
+ (0, date_fns_tz_1.getTimezoneOffset)(timezone, time), _format);
38
+ };
39
+ }
40
+ return date_fns_1.format;
41
+ });
34
42
  const dateFnsOptionsRef = (0, vue_1.computed)(() => {
35
43
  return {
36
44
  locale: dateLocaleRef.value.locale
37
45
  };
38
46
  });
39
47
  const mergedTimeRef = (0, vue_1.computed)(() => {
48
+ const { time } = props;
40
49
  if (props.unix) {
41
- return (0, date_fns_1.fromUnixTime)(props.time);
50
+ if (time === undefined)
51
+ return now;
52
+ return (0, date_fns_1.fromUnixTime)(typeof time === 'number' ? time : time.valueOf());
42
53
  }
43
- return props.time;
54
+ return time !== null && time !== void 0 ? time : now;
44
55
  });
45
56
  const mergedToRef = (0, vue_1.computed)(() => {
57
+ const { to } = props;
46
58
  if (props.unix) {
47
- return (0, date_fns_1.fromUnixTime)(props.to);
59
+ if (to === undefined)
60
+ return now;
61
+ return (0, date_fns_1.fromUnixTime)(typeof to === 'number' ? to : to.valueOf());
48
62
  }
49
- return props.to;
63
+ return to !== null && to !== void 0 ? to : now;
50
64
  });
51
65
  const renderedTimeRef = (0, vue_1.computed)(() => {
52
66
  if (props.format) {
53
- return (0, date_fns_1.format)(mergedTimeRef.value, props.format, dateFnsOptionsRef.value);
67
+ return mergedFormatRef.value(mergedTimeRef.value, props.format, dateFnsOptionsRef.value);
54
68
  }
55
69
  else if (props.type === 'date') {
56
- return (0, date_fns_1.format)(mergedTimeRef.value, localeRef.value.dateFormat, dateFnsOptionsRef.value);
70
+ return mergedFormatRef.value(mergedTimeRef.value, localeRef.value.dateFormat, dateFnsOptionsRef.value);
57
71
  }
58
72
  else if (props.type === 'datetime') {
59
- return (0, date_fns_1.format)(mergedTimeRef.value, localeRef.value.dateTimeFormat, dateFnsOptionsRef.value);
73
+ return mergedFormatRef.value(mergedTimeRef.value, localeRef.value.dateTimeFormat, dateFnsOptionsRef.value);
60
74
  }
61
75
  else {
62
76
  return (0, date_fns_1.formatDistance)(mergedTimeRef.value, mergedToRef.value, {
@@ -29,6 +29,7 @@ declare const timePickerProps: {
29
29
  size: PropType<Size>;
30
30
  isMinuteDisabled: PropType<IsMinuteDisabled>;
31
31
  isSecondDisabled: PropType<IsSecondDisabled>;
32
+ inputReadonly: BooleanConstructor;
32
33
  clearable: BooleanConstructor;
33
34
  'onUpdate:value': PropType<MaybeArray<OnUpdateValue>>;
34
35
  onUpdateValue: PropType<MaybeArray<OnUpdateValue>>;
@@ -921,6 +922,7 @@ declare const _default: import("vue").DefineComponent<{
921
922
  size: PropType<Size>;
922
923
  isMinuteDisabled: PropType<IsMinuteDisabled>;
923
924
  isSecondDisabled: PropType<IsSecondDisabled>;
925
+ inputReadonly: BooleanConstructor;
924
926
  clearable: BooleanConstructor;
925
927
  'onUpdate:value': PropType<MaybeArray<OnUpdateValue>>;
926
928
  onUpdateValue: PropType<MaybeArray<OnUpdateValue>>;
@@ -2290,6 +2292,7 @@ declare const _default: import("vue").DefineComponent<{
2290
2292
  size?: unknown;
2291
2293
  isMinuteDisabled?: unknown;
2292
2294
  isSecondDisabled?: unknown;
2295
+ inputReadonly?: unknown;
2293
2296
  clearable?: unknown;
2294
2297
  'onUpdate:value'?: unknown;
2295
2298
  onUpdateValue?: unknown;
@@ -2312,6 +2315,7 @@ declare const _default: import("vue").DefineComponent<{
2312
2315
  defaultValue: number | null;
2313
2316
  stateful: boolean;
2314
2317
  showIcon: boolean;
2318
+ inputReadonly: boolean;
2315
2319
  } & {
2316
2320
  value?: number | null | undefined;
2317
2321
  size?: Size | undefined;
@@ -3170,5 +3174,6 @@ declare const _default: import("vue").DefineComponent<{
3170
3174
  defaultValue: number | null;
3171
3175
  stateful: boolean;
3172
3176
  showIcon: boolean;
3177
+ inputReadonly: boolean;
3173
3178
  }>;
3174
3179
  export default _default;
@@ -41,7 +41,7 @@ const timePickerProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props
41
41
  }, value: Number, format: {
42
42
  type: String,
43
43
  default: 'HH:mm:ss'
44
- }, isHourDisabled: Function, size: String, isMinuteDisabled: Function, isSecondDisabled: Function, clearable: Boolean, 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array], onBlur: [Function, Array], onFocus: [Function, Array],
44
+ }, isHourDisabled: Function, size: String, isMinuteDisabled: Function, isSecondDisabled: Function, inputReadonly: Boolean, clearable: Boolean, 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array], onBlur: [Function, Array], onFocus: [Function, Array],
45
45
  // private
46
46
  stateful: {
47
47
  type: Boolean,
@@ -521,7 +521,7 @@ exports.default = (0, vue_1.defineComponent)({
521
521
  (0, vue_1.h)(vueuc_1.VBinder, null, {
522
522
  default: () => [
523
523
  (0, vue_1.h)(vueuc_1.VTarget, null, {
524
- default: () => ((0, vue_1.h)(input_1.NInput, { ref: "inputInstRef", value: this.displayTimeString, bordered: this.mergedBordered, passivelyActivated: true, attrSize: this.mergedAttrSize, theme: this.mergedTheme.peers.Input, themeOverrides: this.mergedTheme.peerOverrides.Input, stateful: this.stateful, size: this.mergedSize, placeholder: this.localizedPlaceholder, clearable: this.clearable, disabled: this.mergedDisabled, textDecoration: this.isValueInvalid ? 'line-through' : undefined, onFocus: this.handleTimeInputFocus, onBlur: this.handleTimeInputBlur, onActivate: this.handleTimeInputActivate, onDeactivate: this.handleTimeInputDeactivate, onUpdateValue: this.handleTimeInputUpdateValue, onClear: this.handleTimeInputClear, internalDeactivateOnEnter: true, internalForceFocus: this.active, onClick: this.handleTriggerClick }, this.showIcon
524
+ default: () => ((0, vue_1.h)(input_1.NInput, { ref: "inputInstRef", value: this.displayTimeString, bordered: this.mergedBordered, passivelyActivated: true, attrSize: this.mergedAttrSize, theme: this.mergedTheme.peers.Input, themeOverrides: this.mergedTheme.peerOverrides.Input, stateful: this.stateful, size: this.mergedSize, placeholder: this.localizedPlaceholder, clearable: this.clearable, disabled: this.mergedDisabled, textDecoration: this.isValueInvalid ? 'line-through' : undefined, onFocus: this.handleTimeInputFocus, onBlur: this.handleTimeInputBlur, onActivate: this.handleTimeInputActivate, onDeactivate: this.handleTimeInputDeactivate, onUpdateValue: this.handleTimeInputUpdateValue, onClear: this.handleTimeInputClear, internalDeactivateOnEnter: true, internalForceFocus: this.active, readonly: this.inputReadonly || this.mergedDisabled, onClick: this.handleTriggerClick }, this.showIcon
525
525
  ? {
526
526
  [this.clearable ? 'clear' : 'suffix']: () => ((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: mergedClsPrefix, class: `${mergedClsPrefix}-time-picker-icon` }, {
527
527
  default: () => (0, vue_1.h)(icons_1.TimeIcon, null)
@@ -12,6 +12,7 @@ declare const timelineProps: {
12
12
  readonly type: PropType<"medium" | "large">;
13
13
  readonly default: "medium";
14
14
  };
15
+ readonly iconSize: NumberConstructor;
15
16
  readonly theme: PropType<import("../../_mixins").Theme<"Timeline", {
16
17
  contentFontSize: string;
17
18
  titleFontWeight: string;
@@ -20,6 +21,11 @@ declare const timelineProps: {
20
21
  circleBorderError: string;
21
22
  circleBorderSuccess: string;
22
23
  circleBorderWarning: string;
24
+ iconColor: string;
25
+ iconColorInfo: string;
26
+ iconColorError: string;
27
+ iconColorSuccess: string;
28
+ iconColorWarning: string;
23
29
  titleTextColor: string;
24
30
  contentTextColor: string;
25
31
  metaTextColor: string;
@@ -28,6 +34,8 @@ declare const timelineProps: {
28
34
  titleMarginLarge: string;
29
35
  titleFontSizeMedium: string;
30
36
  titleFontSizeLarge: string;
37
+ iconSizeMedium: string;
38
+ iconSizeLarge: string;
31
39
  }, any>>;
32
40
  readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Timeline", {
33
41
  contentFontSize: string;
@@ -37,6 +45,11 @@ declare const timelineProps: {
37
45
  circleBorderError: string;
38
46
  circleBorderSuccess: string;
39
47
  circleBorderWarning: string;
48
+ iconColor: string;
49
+ iconColorInfo: string;
50
+ iconColorError: string;
51
+ iconColorSuccess: string;
52
+ iconColorWarning: string;
40
53
  titleTextColor: string;
41
54
  contentTextColor: string;
42
55
  metaTextColor: string;
@@ -45,6 +58,8 @@ declare const timelineProps: {
45
58
  titleMarginLarge: string;
46
59
  titleFontSizeMedium: string;
47
60
  titleFontSizeLarge: string;
61
+ iconSizeMedium: string;
62
+ iconSizeLarge: string;
48
63
  }, any>>>;
49
64
  readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Timeline", {
50
65
  contentFontSize: string;
@@ -54,6 +69,11 @@ declare const timelineProps: {
54
69
  circleBorderError: string;
55
70
  circleBorderSuccess: string;
56
71
  circleBorderWarning: string;
72
+ iconColor: string;
73
+ iconColorInfo: string;
74
+ iconColorError: string;
75
+ iconColorSuccess: string;
76
+ iconColorWarning: string;
57
77
  titleTextColor: string;
58
78
  contentTextColor: string;
59
79
  metaTextColor: string;
@@ -62,6 +82,8 @@ declare const timelineProps: {
62
82
  titleMarginLarge: string;
63
83
  titleFontSizeMedium: string;
64
84
  titleFontSizeLarge: string;
85
+ iconSizeMedium: string;
86
+ iconSizeLarge: string;
65
87
  }, any>>>;
66
88
  };
67
89
  export interface TimelineInjection {
@@ -81,6 +103,7 @@ declare const _default: import("vue").DefineComponent<{
81
103
  readonly type: PropType<"medium" | "large">;
82
104
  readonly default: "medium";
83
105
  };
106
+ readonly iconSize: NumberConstructor;
84
107
  readonly theme: PropType<import("../../_mixins").Theme<"Timeline", {
85
108
  contentFontSize: string;
86
109
  titleFontWeight: string;
@@ -89,6 +112,11 @@ declare const _default: import("vue").DefineComponent<{
89
112
  circleBorderError: string;
90
113
  circleBorderSuccess: string;
91
114
  circleBorderWarning: string;
115
+ iconColor: string;
116
+ iconColorInfo: string;
117
+ iconColorError: string;
118
+ iconColorSuccess: string;
119
+ iconColorWarning: string;
92
120
  titleTextColor: string;
93
121
  contentTextColor: string;
94
122
  metaTextColor: string;
@@ -97,6 +125,8 @@ declare const _default: import("vue").DefineComponent<{
97
125
  titleMarginLarge: string;
98
126
  titleFontSizeMedium: string;
99
127
  titleFontSizeLarge: string;
128
+ iconSizeMedium: string;
129
+ iconSizeLarge: string;
100
130
  }, any>>;
101
131
  readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Timeline", {
102
132
  contentFontSize: string;
@@ -106,6 +136,11 @@ declare const _default: import("vue").DefineComponent<{
106
136
  circleBorderError: string;
107
137
  circleBorderSuccess: string;
108
138
  circleBorderWarning: string;
139
+ iconColor: string;
140
+ iconColorInfo: string;
141
+ iconColorError: string;
142
+ iconColorSuccess: string;
143
+ iconColorWarning: string;
109
144
  titleTextColor: string;
110
145
  contentTextColor: string;
111
146
  metaTextColor: string;
@@ -114,6 +149,8 @@ declare const _default: import("vue").DefineComponent<{
114
149
  titleMarginLarge: string;
115
150
  titleFontSizeMedium: string;
116
151
  titleFontSizeLarge: string;
152
+ iconSizeMedium: string;
153
+ iconSizeLarge: string;
117
154
  }, any>>>;
118
155
  readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Timeline", {
119
156
  contentFontSize: string;
@@ -123,6 +160,11 @@ declare const _default: import("vue").DefineComponent<{
123
160
  circleBorderError: string;
124
161
  circleBorderSuccess: string;
125
162
  circleBorderWarning: string;
163
+ iconColor: string;
164
+ iconColorInfo: string;
165
+ iconColorError: string;
166
+ iconColorSuccess: string;
167
+ iconColorWarning: string;
126
168
  titleTextColor: string;
127
169
  contentTextColor: string;
128
170
  metaTextColor: string;
@@ -131,11 +173,14 @@ declare const _default: import("vue").DefineComponent<{
131
173
  titleMarginLarge: string;
132
174
  titleFontSizeMedium: string;
133
175
  titleFontSizeLarge: string;
176
+ iconSizeMedium: string;
177
+ iconSizeLarge: string;
134
178
  }, any>>>;
135
179
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
136
180
  readonly horizontal?: unknown;
137
181
  readonly itemPlacement?: unknown;
138
182
  readonly size?: unknown;
183
+ readonly iconSize?: unknown;
139
184
  readonly theme?: unknown;
140
185
  readonly themeOverrides?: unknown;
141
186
  readonly builtinThemeOverrides?: unknown;
@@ -152,6 +197,11 @@ declare const _default: import("vue").DefineComponent<{
152
197
  circleBorderError: string;
153
198
  circleBorderSuccess: string;
154
199
  circleBorderWarning: string;
200
+ iconColor: string;
201
+ iconColorInfo: string;
202
+ iconColorError: string;
203
+ iconColorSuccess: string;
204
+ iconColorWarning: string;
155
205
  titleTextColor: string;
156
206
  contentTextColor: string;
157
207
  metaTextColor: string;
@@ -160,6 +210,8 @@ declare const _default: import("vue").DefineComponent<{
160
210
  titleMarginLarge: string;
161
211
  titleFontSizeMedium: string;
162
212
  titleFontSizeLarge: string;
213
+ iconSizeMedium: string;
214
+ iconSizeLarge: string;
163
215
  }, any> | undefined;
164
216
  themeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Timeline", {
165
217
  contentFontSize: string;
@@ -169,6 +221,11 @@ declare const _default: import("vue").DefineComponent<{
169
221
  circleBorderError: string;
170
222
  circleBorderSuccess: string;
171
223
  circleBorderWarning: string;
224
+ iconColor: string;
225
+ iconColorInfo: string;
226
+ iconColorError: string;
227
+ iconColorSuccess: string;
228
+ iconColorWarning: string;
172
229
  titleTextColor: string;
173
230
  contentTextColor: string;
174
231
  metaTextColor: string;
@@ -177,6 +234,8 @@ declare const _default: import("vue").DefineComponent<{
177
234
  titleMarginLarge: string;
178
235
  titleFontSizeMedium: string;
179
236
  titleFontSizeLarge: string;
237
+ iconSizeMedium: string;
238
+ iconSizeLarge: string;
180
239
  }, any>> | undefined;
181
240
  builtinThemeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Timeline", {
182
241
  contentFontSize: string;
@@ -186,6 +245,11 @@ declare const _default: import("vue").DefineComponent<{
186
245
  circleBorderError: string;
187
246
  circleBorderSuccess: string;
188
247
  circleBorderWarning: string;
248
+ iconColor: string;
249
+ iconColorInfo: string;
250
+ iconColorError: string;
251
+ iconColorSuccess: string;
252
+ iconColorWarning: string;
189
253
  titleTextColor: string;
190
254
  contentTextColor: string;
191
255
  metaTextColor: string;
@@ -194,7 +258,10 @@ declare const _default: import("vue").DefineComponent<{
194
258
  titleMarginLarge: string;
195
259
  titleFontSizeMedium: string;
196
260
  titleFontSizeLarge: string;
261
+ iconSizeMedium: string;
262
+ iconSizeLarge: string;
197
263
  }, any>> | undefined;
264
+ iconSize?: number | undefined;
198
265
  }>, {
199
266
  size: "medium" | "large";
200
267
  horizontal: boolean;
@@ -11,7 +11,7 @@ const timelineProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props),
11
11
  }, size: {
12
12
  type: String,
13
13
  default: 'medium'
14
- } });
14
+ }, iconSize: Number });
15
15
  exports.timelineInjectionKey = Symbol('timeline');
16
16
  exports.default = (0, vue_1.defineComponent)({
17
17
  name: 'Timeline',
@@ -25,6 +25,7 @@ declare const _default: import("vue").DefineComponent<{
25
25
  cssVars: import("vue").ComputedRef<{
26
26
  '--bezier': string;
27
27
  '--circle-border': string;
28
+ '--icon-color': string;
28
29
  '--content-font-size': string;
29
30
  '--content-text-color': string;
30
31
  '--line-color': string;
@@ -33,6 +34,7 @@ declare const _default: import("vue").DefineComponent<{
33
34
  '--title-font-weight': string;
34
35
  '--title-margin': string | number;
35
36
  '--title-text-color': string;
37
+ '--icon-size': string;
36
38
  }>;
37
39
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
38
40
  time?: unknown;