naive-ui 2.25.3 → 2.25.6

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 (350) hide show
  1. package/es/_internal/scrollbar/src/ScrollBar.d.ts +1 -0
  2. package/es/_internal/select-menu/src/SelectMenu.d.ts +1 -0
  3. package/es/_mixins/use-css-vars-class.js +2 -1
  4. package/es/button/src/styles/button-rtl.cssr.js +2 -2
  5. package/es/cascader/src/Cascader.d.ts +10 -0
  6. package/es/cascader/src/CascaderMenu.d.ts +1 -0
  7. package/es/cascader/src/CascaderOption.d.ts +1 -0
  8. package/es/cascader/src/CascaderSelectMenu.d.ts +1 -0
  9. package/es/cascader/src/CascaderSubmenu.d.ts +2 -0
  10. package/es/cascader/styles/light.d.ts +1 -0
  11. package/es/checkbox/src/Checkbox.d.ts +12 -0
  12. package/es/checkbox/src/Checkbox.js +14 -7
  13. package/es/checkbox/src/styles/index.cssr.js +16 -8
  14. package/es/checkbox/src/styles/rtl.cssr.d.ts +2 -0
  15. package/es/checkbox/src/styles/rtl.cssr.js +4 -0
  16. package/es/checkbox/styles/index.d.ts +1 -0
  17. package/es/checkbox/styles/index.js +1 -0
  18. package/es/checkbox/styles/light.d.ts +1 -0
  19. package/es/checkbox/styles/light.js +2 -2
  20. package/es/checkbox/styles/rtl.d.ts +2 -0
  21. package/es/checkbox/styles/rtl.js +5 -0
  22. package/es/code/src/Code.js +3 -1
  23. package/es/collapse/src/Collapse.d.ts +1 -0
  24. package/es/collapse/src/Collapse.js +9 -2
  25. package/es/collapse/src/CollapseItem.d.ts +1 -0
  26. package/es/collapse/src/CollapseItem.js +8 -3
  27. package/es/collapse/src/styles/rtl.cssr.d.ts +2 -0
  28. package/es/collapse/src/styles/rtl.cssr.js +15 -0
  29. package/es/collapse/styles/index.d.ts +1 -0
  30. package/es/collapse/styles/index.js +1 -0
  31. package/es/collapse/styles/rtl.d.ts +2 -0
  32. package/es/collapse/styles/rtl.js +5 -0
  33. package/es/collapse-transition/src/CollapseTransition.d.ts +3 -1
  34. package/es/collapse-transition/src/CollapseTransition.js +27 -14
  35. package/es/config-provider/src/ConfigProvider.js +6 -0
  36. package/es/config-provider/src/internal-interface.d.ts +1 -0
  37. package/es/data-table/src/DataTable.d.ts +20 -0
  38. package/es/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  39. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
  40. package/es/data-table/src/TableParts/Body.d.ts +3 -0
  41. package/es/data-table/src/TableParts/Cell.d.ts +4 -0
  42. package/es/data-table/src/TableParts/Header.d.ts +2 -0
  43. package/es/data-table/styles/light.d.ts +2 -0
  44. package/es/date-picker/src/DatePicker.d.ts +7 -2
  45. package/es/date-picker/src/DatePicker.js +80 -68
  46. package/es/date-picker/src/panel/date.d.ts +6 -0
  47. package/es/date-picker/src/panel/date.js +7 -2
  48. package/es/date-picker/src/panel/daterange.d.ts +4 -0
  49. package/es/date-picker/src/panel/daterange.js +7 -2
  50. package/es/date-picker/src/panel/datetime.d.ts +6 -0
  51. package/es/date-picker/src/panel/datetime.js +7 -2
  52. package/es/date-picker/src/panel/datetimerange.d.ts +4 -0
  53. package/es/date-picker/src/panel/datetimerange.js +7 -2
  54. package/es/date-picker/src/panel/month.d.ts +6 -0
  55. package/es/date-picker/src/panel/month.js +4 -2
  56. package/es/date-picker/src/panel/panelHeader.d.ts +10 -0
  57. package/es/date-picker/src/panel/use-calendar.d.ts +4 -0
  58. package/es/date-picker/src/panel/use-dual-calendar.d.ts +2 -0
  59. package/es/date-picker/src/panel/use-panel-common.d.ts +2 -0
  60. package/es/date-picker/src/panel/use-panel-common.js +3 -1
  61. package/es/drawer/src/Drawer.d.ts +3 -1
  62. package/es/drawer/src/Drawer.js +39 -27
  63. package/es/dropdown/src/Dropdown.d.ts +7 -5
  64. package/es/dropdown/src/Dropdown.js +59 -52
  65. package/es/dynamic-input/src/DynamicInput.d.ts +3 -1
  66. package/es/dynamic-input/src/DynamicInput.js +17 -10
  67. package/es/form/src/FormItem.d.ts +3 -1
  68. package/es/form/src/FormItem.js +40 -33
  69. package/es/form/src/FormItemRow.js +1 -1
  70. package/es/gradient-text/src/GradientText.d.ts +3 -1
  71. package/es/gradient-text/src/GradientText.js +23 -15
  72. package/es/icon/src/Icon.d.ts +3 -5
  73. package/es/icon/src/Icon.js +29 -19
  74. package/es/image/src/ImagePreview.d.ts +3 -1
  75. package/es/image/src/ImagePreview.js +28 -15
  76. package/es/input/src/Input.d.ts +4 -1
  77. package/es/input/src/Input.js +27 -6
  78. package/es/input/src/InputGroupLabel.d.ts +3 -1
  79. package/es/input/src/InputGroupLabel.js +26 -19
  80. package/es/input/src/styles/input.cssr.js +1 -0
  81. package/es/input/src/styles/rtl.cssr.d.ts +2 -0
  82. package/es/input/src/styles/rtl.cssr.js +16 -0
  83. package/es/input/styles/index.d.ts +1 -0
  84. package/es/input/styles/index.js +1 -0
  85. package/es/input/styles/rtl.d.ts +2 -0
  86. package/es/input/styles/rtl.js +5 -0
  87. package/es/input-number/src/InputNumber.d.ts +1 -0
  88. package/es/input-number/src/InputNumber.js +8 -3
  89. package/es/input-number/src/styles/rtl.cssr.d.ts +2 -0
  90. package/es/input-number/src/styles/rtl.cssr.js +4 -0
  91. package/es/input-number/styles/index.d.ts +1 -0
  92. package/es/input-number/styles/index.js +1 -0
  93. package/es/input-number/styles/rtl.d.ts +2 -0
  94. package/es/input-number/styles/rtl.js +8 -0
  95. package/es/layout/src/Layout.d.ts +2 -0
  96. package/es/layout/src/LayoutContent.d.ts +1 -0
  97. package/es/layout/src/LayoutSider.d.ts +1 -0
  98. package/es/legacy-grid/src/styles/index.cssr.js +1 -1
  99. package/es/list/src/List.d.ts +3 -1
  100. package/es/list/src/List.js +27 -19
  101. package/es/loading-bar/src/LoadingBar.d.ts +3 -1
  102. package/es/loading-bar/src/LoadingBar.js +29 -15
  103. package/es/log/src/Log.d.ts +1 -0
  104. package/es/mention/src/Mention.d.ts +3 -1
  105. package/es/mention/src/Mention.js +20 -10
  106. package/es/message/src/Message.d.ts +12 -24
  107. package/es/message/src/Message.js +57 -40
  108. package/es/message/src/MessageEnvironment.d.ts +9 -0
  109. package/es/message/src/MessageEnvironment.js +1 -1
  110. package/es/message/src/MessageProvider.d.ts +67 -0
  111. package/es/message/src/MessageProvider.js +3 -0
  112. package/es/message/src/message-props.d.ts +4 -0
  113. package/es/message/src/message-props.js +4 -0
  114. package/es/message/src/styles/index.cssr.js +2 -1
  115. package/es/message/src/types.d.ts +3 -1
  116. package/es/message/styles/light.d.ts +7 -0
  117. package/es/message/styles/light.js +1 -1
  118. package/es/modal/src/BodyWrapper.d.ts +1 -0
  119. package/es/notification/src/Notification.d.ts +3 -1
  120. package/es/notification/src/Notification.js +44 -32
  121. package/es/notification/src/NotificationProvider.d.ts +1 -0
  122. package/es/notification/src/NotificationProvider.js +1 -0
  123. package/es/popconfirm/src/Popconfirm.d.ts +3 -2
  124. package/es/popconfirm/src/Popconfirm.js +2 -1
  125. package/es/popconfirm/src/PopconfirmPanel.d.ts +3 -1
  126. package/es/popconfirm/src/PopconfirmPanel.js +32 -25
  127. package/es/popconfirm/src/interface.d.ts +2 -0
  128. package/es/popover/src/PopoverBody.d.ts +4 -0
  129. package/es/popover/src/PopoverBody.js +3 -2
  130. package/es/popover/src/styles/index.cssr.js +49 -29
  131. package/es/radio/src/Radio.d.ts +7 -0
  132. package/es/radio/src/Radio.js +14 -7
  133. package/es/radio/src/RadioGroup.d.ts +9 -0
  134. package/es/radio/src/styles/radio.cssr.js +16 -9
  135. package/es/radio/styles/dark.js +2 -2
  136. package/es/radio/styles/light.d.ts +1 -0
  137. package/es/radio/styles/light.js +2 -2
  138. package/es/scrollbar/src/ScrollBar.d.ts +1 -0
  139. package/es/select/src/Select.d.ts +3 -1
  140. package/es/select/src/Select.js +31 -23
  141. package/es/slider/src/Slider.d.ts +6 -2
  142. package/es/slider/src/Slider.js +74 -51
  143. package/es/steps/src/Step.d.ts +3 -1
  144. package/es/steps/src/Step.js +32 -20
  145. package/es/styles.d.ts +4 -4
  146. package/es/styles.js +4 -4
  147. package/es/tabs/src/styles/index.cssr.js +2 -0
  148. package/es/time-picker/src/Panel.js +4 -4
  149. package/es/time-picker/src/TimePicker.d.ts +12 -4
  150. package/es/time-picker/src/TimePicker.js +90 -35
  151. package/es/timeline/src/Timeline.d.ts +9 -9
  152. package/es/timeline/src/TimelineItem.d.ts +4 -2
  153. package/es/timeline/src/TimelineItem.js +34 -20
  154. package/es/timeline/styles/_common.d.ts +1 -1
  155. package/es/timeline/styles/_common.js +1 -1
  156. package/es/timeline/styles/light.d.ts +1 -1
  157. package/es/transfer/src/Transfer.d.ts +10 -0
  158. package/es/transfer/src/TransferFilter.d.ts +1 -0
  159. package/es/transfer/src/TransferList.d.ts +2 -0
  160. package/es/transfer/src/TransferListItem.d.ts +1 -0
  161. package/es/transfer/styles/light.d.ts +1 -0
  162. package/es/tree/src/Tree.d.ts +16 -3
  163. package/es/tree/src/Tree.js +50 -28
  164. package/es/tree/src/TreeNodeCheckbox.d.ts +1 -0
  165. package/es/tree/styles/light.d.ts +1 -0
  166. package/es/tree-select/src/TreeSelect.d.ts +23 -10
  167. package/es/tree-select/src/TreeSelect.js +26 -17
  168. package/es/tree-select/styles/light.d.ts +1 -0
  169. package/es/upload/src/Upload.d.ts +3 -1
  170. package/es/upload/src/Upload.js +23 -13
  171. package/es/upload/src/UploadFileList.js +8 -3
  172. package/es/upload/src/interface.d.ts +3 -1
  173. package/es/version.d.ts +1 -1
  174. package/es/version.js +1 -1
  175. package/lib/_internal/scrollbar/src/ScrollBar.d.ts +1 -0
  176. package/lib/_internal/select-menu/src/SelectMenu.d.ts +1 -0
  177. package/lib/_mixins/use-css-vars-class.js +2 -1
  178. package/lib/button/src/styles/button-rtl.cssr.js +2 -2
  179. package/lib/cascader/src/Cascader.d.ts +10 -0
  180. package/lib/cascader/src/CascaderMenu.d.ts +1 -0
  181. package/lib/cascader/src/CascaderOption.d.ts +1 -0
  182. package/lib/cascader/src/CascaderSelectMenu.d.ts +1 -0
  183. package/lib/cascader/src/CascaderSubmenu.d.ts +2 -0
  184. package/lib/cascader/styles/light.d.ts +1 -0
  185. package/lib/checkbox/src/Checkbox.d.ts +12 -0
  186. package/lib/checkbox/src/Checkbox.js +14 -7
  187. package/lib/checkbox/src/styles/index.cssr.js +16 -8
  188. package/lib/checkbox/src/styles/rtl.cssr.d.ts +2 -0
  189. package/lib/checkbox/src/styles/rtl.cssr.js +11 -0
  190. package/lib/checkbox/styles/index.d.ts +1 -0
  191. package/lib/checkbox/styles/index.js +3 -1
  192. package/lib/checkbox/styles/light.d.ts +1 -0
  193. package/lib/checkbox/styles/light.js +2 -2
  194. package/lib/checkbox/styles/rtl.d.ts +2 -0
  195. package/lib/checkbox/styles/rtl.js +11 -0
  196. package/lib/code/src/Code.js +3 -1
  197. package/lib/collapse/src/Collapse.d.ts +1 -0
  198. package/lib/collapse/src/Collapse.js +9 -2
  199. package/lib/collapse/src/CollapseItem.d.ts +1 -0
  200. package/lib/collapse/src/CollapseItem.js +7 -2
  201. package/lib/collapse/src/styles/rtl.cssr.d.ts +2 -0
  202. package/lib/collapse/src/styles/rtl.cssr.js +22 -0
  203. package/lib/collapse/styles/index.d.ts +1 -0
  204. package/lib/collapse/styles/index.js +3 -1
  205. package/lib/collapse/styles/rtl.d.ts +2 -0
  206. package/lib/collapse/styles/rtl.js +11 -0
  207. package/lib/collapse-transition/src/CollapseTransition.d.ts +3 -1
  208. package/lib/collapse-transition/src/CollapseTransition.js +26 -13
  209. package/lib/config-provider/src/ConfigProvider.js +6 -0
  210. package/lib/config-provider/src/internal-interface.d.ts +1 -0
  211. package/lib/data-table/src/DataTable.d.ts +20 -0
  212. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  213. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
  214. package/lib/data-table/src/TableParts/Body.d.ts +3 -0
  215. package/lib/data-table/src/TableParts/Cell.d.ts +4 -0
  216. package/lib/data-table/src/TableParts/Header.d.ts +2 -0
  217. package/lib/data-table/styles/light.d.ts +2 -0
  218. package/lib/date-picker/src/DatePicker.d.ts +7 -2
  219. package/lib/date-picker/src/DatePicker.js +79 -67
  220. package/lib/date-picker/src/panel/date.d.ts +6 -0
  221. package/lib/date-picker/src/panel/date.js +7 -2
  222. package/lib/date-picker/src/panel/daterange.d.ts +4 -0
  223. package/lib/date-picker/src/panel/daterange.js +7 -2
  224. package/lib/date-picker/src/panel/datetime.d.ts +6 -0
  225. package/lib/date-picker/src/panel/datetime.js +7 -2
  226. package/lib/date-picker/src/panel/datetimerange.d.ts +4 -0
  227. package/lib/date-picker/src/panel/datetimerange.js +7 -2
  228. package/lib/date-picker/src/panel/month.d.ts +6 -0
  229. package/lib/date-picker/src/panel/month.js +4 -2
  230. package/lib/date-picker/src/panel/panelHeader.d.ts +10 -0
  231. package/lib/date-picker/src/panel/use-calendar.d.ts +4 -0
  232. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +2 -0
  233. package/lib/date-picker/src/panel/use-panel-common.d.ts +2 -0
  234. package/lib/date-picker/src/panel/use-panel-common.js +3 -1
  235. package/lib/drawer/src/Drawer.d.ts +4 -1
  236. package/lib/drawer/src/Drawer.js +38 -26
  237. package/lib/dropdown/src/Dropdown.d.ts +7 -5
  238. package/lib/dropdown/src/Dropdown.js +58 -51
  239. package/lib/dynamic-input/src/DynamicInput.d.ts +3 -1
  240. package/lib/dynamic-input/src/DynamicInput.js +16 -9
  241. package/lib/form/src/FormItem.d.ts +3 -1
  242. package/lib/form/src/FormItem.js +39 -32
  243. package/lib/form/src/FormItemRow.js +1 -1
  244. package/lib/gradient-text/src/GradientText.d.ts +3 -1
  245. package/lib/gradient-text/src/GradientText.js +22 -14
  246. package/lib/icon/src/Icon.d.ts +3 -5
  247. package/lib/icon/src/Icon.js +28 -18
  248. package/lib/image/src/ImagePreview.d.ts +3 -1
  249. package/lib/image/src/ImagePreview.js +27 -14
  250. package/lib/input/src/Input.d.ts +4 -1
  251. package/lib/input/src/Input.js +27 -6
  252. package/lib/input/src/InputGroupLabel.d.ts +3 -1
  253. package/lib/input/src/InputGroupLabel.js +25 -18
  254. package/lib/input/src/styles/input.cssr.js +1 -0
  255. package/lib/input/src/styles/rtl.cssr.d.ts +2 -0
  256. package/lib/input/src/styles/rtl.cssr.js +23 -0
  257. package/lib/input/styles/index.d.ts +1 -0
  258. package/lib/input/styles/index.js +3 -1
  259. package/lib/input/styles/rtl.d.ts +2 -0
  260. package/lib/input/styles/rtl.js +11 -0
  261. package/lib/input-number/src/InputNumber.d.ts +1 -0
  262. package/lib/input-number/src/InputNumber.js +8 -3
  263. package/lib/input-number/src/styles/rtl.cssr.d.ts +2 -0
  264. package/lib/input-number/src/styles/rtl.cssr.js +11 -0
  265. package/lib/input-number/styles/index.d.ts +1 -0
  266. package/lib/input-number/styles/index.js +3 -1
  267. package/lib/input-number/styles/rtl.d.ts +2 -0
  268. package/lib/input-number/styles/rtl.js +14 -0
  269. package/lib/layout/src/Layout.d.ts +2 -0
  270. package/lib/layout/src/LayoutContent.d.ts +1 -0
  271. package/lib/layout/src/LayoutSider.d.ts +1 -0
  272. package/lib/legacy-grid/src/styles/index.cssr.js +1 -1
  273. package/lib/list/src/List.d.ts +3 -1
  274. package/lib/list/src/List.js +26 -18
  275. package/lib/loading-bar/src/LoadingBar.d.ts +3 -1
  276. package/lib/loading-bar/src/LoadingBar.js +28 -14
  277. package/lib/log/src/Log.d.ts +1 -0
  278. package/lib/mention/src/Mention.d.ts +3 -1
  279. package/lib/mention/src/Mention.js +19 -9
  280. package/lib/message/src/Message.d.ts +12 -24
  281. package/lib/message/src/Message.js +56 -39
  282. package/lib/message/src/MessageEnvironment.d.ts +9 -0
  283. package/lib/message/src/MessageEnvironment.js +1 -1
  284. package/lib/message/src/MessageProvider.d.ts +67 -0
  285. package/lib/message/src/MessageProvider.js +3 -0
  286. package/lib/message/src/message-props.d.ts +4 -0
  287. package/lib/message/src/message-props.js +4 -0
  288. package/lib/message/src/styles/index.cssr.js +2 -1
  289. package/lib/message/src/types.d.ts +3 -1
  290. package/lib/message/styles/light.d.ts +7 -0
  291. package/lib/message/styles/light.js +1 -1
  292. package/lib/modal/src/BodyWrapper.d.ts +1 -0
  293. package/lib/notification/src/Notification.d.ts +3 -1
  294. package/lib/notification/src/Notification.js +44 -32
  295. package/lib/notification/src/NotificationProvider.d.ts +1 -0
  296. package/lib/notification/src/NotificationProvider.js +1 -0
  297. package/lib/popconfirm/src/Popconfirm.d.ts +3 -2
  298. package/lib/popconfirm/src/Popconfirm.js +2 -1
  299. package/lib/popconfirm/src/PopconfirmPanel.d.ts +3 -1
  300. package/lib/popconfirm/src/PopconfirmPanel.js +30 -23
  301. package/lib/popconfirm/src/interface.d.ts +2 -0
  302. package/lib/popover/src/PopoverBody.d.ts +4 -0
  303. package/lib/popover/src/PopoverBody.js +3 -2
  304. package/lib/popover/src/styles/index.cssr.js +50 -29
  305. package/lib/radio/src/Radio.d.ts +7 -0
  306. package/lib/radio/src/Radio.js +13 -6
  307. package/lib/radio/src/RadioGroup.d.ts +9 -0
  308. package/lib/radio/src/styles/radio.cssr.js +16 -9
  309. package/lib/radio/styles/dark.js +2 -2
  310. package/lib/radio/styles/light.d.ts +1 -0
  311. package/lib/radio/styles/light.js +2 -2
  312. package/lib/scrollbar/src/ScrollBar.d.ts +1 -0
  313. package/lib/select/src/Select.d.ts +3 -1
  314. package/lib/select/src/Select.js +30 -22
  315. package/lib/slider/src/Slider.d.ts +6 -2
  316. package/lib/slider/src/Slider.js +73 -50
  317. package/lib/steps/src/Step.d.ts +3 -1
  318. package/lib/steps/src/Step.js +32 -20
  319. package/lib/styles.d.ts +4 -4
  320. package/lib/styles.js +6 -2
  321. package/lib/tabs/src/styles/index.cssr.js +2 -0
  322. package/lib/time-picker/src/Panel.js +4 -4
  323. package/lib/time-picker/src/TimePicker.d.ts +12 -4
  324. package/lib/time-picker/src/TimePicker.js +89 -34
  325. package/lib/timeline/src/Timeline.d.ts +9 -9
  326. package/lib/timeline/src/TimelineItem.d.ts +4 -2
  327. package/lib/timeline/src/TimelineItem.js +34 -20
  328. package/lib/timeline/styles/_common.d.ts +1 -1
  329. package/lib/timeline/styles/_common.js +1 -1
  330. package/lib/timeline/styles/light.d.ts +1 -1
  331. package/lib/transfer/src/Transfer.d.ts +10 -0
  332. package/lib/transfer/src/TransferFilter.d.ts +1 -0
  333. package/lib/transfer/src/TransferList.d.ts +2 -0
  334. package/lib/transfer/src/TransferListItem.d.ts +1 -0
  335. package/lib/transfer/styles/light.d.ts +1 -0
  336. package/lib/tree/src/Tree.d.ts +16 -3
  337. package/lib/tree/src/Tree.js +49 -27
  338. package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -0
  339. package/lib/tree/styles/light.d.ts +1 -0
  340. package/lib/tree-select/src/TreeSelect.d.ts +23 -10
  341. package/lib/tree-select/src/TreeSelect.js +25 -16
  342. package/lib/tree-select/styles/light.d.ts +1 -0
  343. package/lib/upload/src/Upload.d.ts +3 -1
  344. package/lib/upload/src/Upload.js +22 -12
  345. package/lib/upload/src/UploadFileList.js +8 -3
  346. package/lib/upload/src/interface.d.ts +3 -1
  347. package/lib/version.d.ts +1 -1
  348. package/lib/version.js +1 -1
  349. package/package.json +2 -2
  350. package/web-types.json +1 -1
@@ -1859,6 +1859,8 @@ declare const _default: import("vue").DefineComponent<{
1859
1859
  }, any>;
1860
1860
  }>>>;
1861
1861
  }, {
1862
+ focus: () => void;
1863
+ blur: () => void;
1862
1864
  mergedStatus: import("vue").ComputedRef<import("../../form/src/interface").FormValidationStatus | undefined>;
1863
1865
  mergedBordered: import("vue").ComputedRef<boolean>;
1864
1866
  mergedClsPrefix: import("vue").ComputedRef<string>;
@@ -1880,6 +1882,7 @@ declare const _default: import("vue").DefineComponent<{
1880
1882
  panelInstRef: import("vue").Ref<{
1881
1883
  $el: HTMLElement;
1882
1884
  hourScrollRef?: {
1885
+ $el: HTMLElement;
1883
1886
  containerRef: HTMLElement | null;
1884
1887
  contentRef: HTMLElement | null;
1885
1888
  containerScrollTop: number;
@@ -1891,6 +1894,7 @@ declare const _default: import("vue").DefineComponent<{
1891
1894
  handleMouseLeaveWrapper: () => void;
1892
1895
  } | undefined;
1893
1896
  minuteScrollRef?: {
1897
+ $el: HTMLElement;
1894
1898
  containerRef: HTMLElement | null;
1895
1899
  contentRef: HTMLElement | null;
1896
1900
  containerScrollTop: number;
@@ -1902,6 +1906,7 @@ declare const _default: import("vue").DefineComponent<{
1902
1906
  handleMouseLeaveWrapper: () => void;
1903
1907
  } | undefined;
1904
1908
  secondScrollRef?: {
1909
+ $el: HTMLElement;
1905
1910
  containerRef: HTMLElement | null;
1906
1911
  contentRef: HTMLElement | null;
1907
1912
  containerScrollTop: number;
@@ -1913,6 +1918,7 @@ declare const _default: import("vue").DefineComponent<{
1913
1918
  handleMouseLeaveWrapper: () => void;
1914
1919
  } | undefined;
1915
1920
  amPmScrollRef?: {
1921
+ $el: HTMLElement;
1916
1922
  containerRef: HTMLElement | null;
1917
1923
  contentRef: HTMLElement | null;
1918
1924
  containerScrollTop: number;
@@ -2377,7 +2383,9 @@ declare const _default: import("vue").DefineComponent<{
2377
2383
  '--n-icon-color': string;
2378
2384
  '--n-icon-color-disabled': string;
2379
2385
  '--n-bezier': string;
2380
- }>;
2386
+ }> | undefined;
2387
+ triggerThemeClass: import("vue").Ref<string> | undefined;
2388
+ triggerOnRender: (() => void) | undefined;
2381
2389
  cssVars: import("vue").ComputedRef<{
2382
2390
  '--n-bezier': string;
2383
2391
  '--n-border-radius': string;
@@ -2393,9 +2401,9 @@ declare const _default: import("vue").DefineComponent<{
2393
2401
  '--n-panel-color': string;
2394
2402
  '--n-panel-divider-color': string;
2395
2403
  '--n-item-border-radius': string;
2396
- }>;
2397
- focus: () => void;
2398
- blur: () => void;
2404
+ }> | undefined;
2405
+ themeClass: import("vue").Ref<string> | undefined;
2406
+ onRender: (() => void) | undefined;
2399
2407
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2400
2408
  to: {
2401
2409
  type: PropType<string | boolean | HTMLElement>;
@@ -8,7 +8,7 @@ import { strictParse } from '../../date-picker/src/utils';
8
8
  import { TimeIcon } from '../../_internal/icons';
9
9
  import { NInput } from '../../input';
10
10
  import { NBaseIcon } from '../../_internal';
11
- import { useConfig, useTheme, useLocale, useFormItem } from '../../_mixins';
11
+ import { useConfig, useTheme, useLocale, useFormItem, useThemeClass } from '../../_mixins';
12
12
  import { call, useAdjustedTo, warnOnce } from '../../_utils';
13
13
  import { timePickerLight } from '../styles';
14
14
  import Panel from './Panel';
@@ -76,7 +76,7 @@ export default defineComponent({
76
76
  }
77
77
  });
78
78
  }
79
- const { mergedBorderedRef, mergedClsPrefixRef, namespaceRef } = useConfig(props);
79
+ const { mergedBorderedRef, mergedClsPrefixRef, namespaceRef, inlineThemeDisabled } = useConfig(props);
80
80
  const { localeRef, dateLocaleRef } = useLocale('TimePicker');
81
81
  const formItem = useFormItem(props);
82
82
  const { mergedSizeRef, mergedDisabledRef, mergedStatusRef } = formItem;
@@ -513,8 +513,74 @@ export default defineComponent({
513
513
  (_a = inputInstRef.value) === null || _a === void 0 ? void 0 : _a.blur();
514
514
  }
515
515
  };
516
- return Object.assign(Object.assign({}, exposedMethods), { mergedStatus: mergedStatusRef, mergedBordered: mergedBorderedRef, mergedClsPrefix: mergedClsPrefixRef, namespace: namespaceRef, uncontrolledValue: uncontrolledValueRef, mergedValue: mergedValueRef, isMounted: useIsMounted(), inputInstRef,
517
- panelInstRef, adjustedTo: useAdjustedTo(props), mergedShow: mergedShowRef, localizedNow: localizedNowRef, localizedPlaceholder: localizedPlaceholderRef, localizedNegativeText: localizedNegativeTextRef, localizedPositiveText: localizedPositiveTextRef, hourInFormat: hourInFormatRef, minuteInFormat: minuteInFormatRef, secondInFormat: secondInFormatRef, mergedAttrSize: mergedAttrSizeRef, displayTimeString: displayTimeStringRef, mergedSize: mergedSizeRef, mergedDisabled: mergedDisabledRef, isValueInvalid: isValueInvalidRef, isHourInvalid: isHourInvalidRef, isMinuteInvalid: isMinuteInvalidRef, isSecondInvalid: isSecondInvalidRef, transitionDisabled: transitionDisabledRef, hourValue: hourValueRef, minuteValue: minuteValueRef, secondValue: secondValueRef, amPmValue: amPmValueRef, handleTimeInputFocus,
516
+ const triggerCssVarsRef = computed(() => {
517
+ const { common: { cubicBezierEaseInOut }, self: { iconColor, iconColorDisabled } } = themeRef.value;
518
+ return {
519
+ '--n-icon-color': iconColor,
520
+ '--n-icon-color-disabled': iconColorDisabled,
521
+ '--n-bezier': cubicBezierEaseInOut
522
+ };
523
+ });
524
+ const triggerThemeClassHandle = inlineThemeDisabled
525
+ ? useThemeClass('time-picker-trigger', undefined, triggerCssVarsRef, props)
526
+ : undefined;
527
+ const cssVarsRef = computed(() => {
528
+ const { self: { panelColor, itemTextColor, itemTextColorActive, itemColorHover, panelDividerColor, panelBoxShadow, itemOpacityDisabled, borderRadius, itemFontSize, itemWidth, itemHeight, panelActionPadding, itemBorderRadius }, common: { cubicBezierEaseInOut } } = themeRef.value;
529
+ return {
530
+ '--n-bezier': cubicBezierEaseInOut,
531
+ '--n-border-radius': borderRadius,
532
+ '--n-item-color-hover': itemColorHover,
533
+ '--n-item-font-size': itemFontSize,
534
+ '--n-item-height': itemHeight,
535
+ '--n-item-opacity-disabled': itemOpacityDisabled,
536
+ '--n-item-text-color': itemTextColor,
537
+ '--n-item-text-color-active': itemTextColorActive,
538
+ '--n-item-width': itemWidth,
539
+ '--n-panel-action-padding': panelActionPadding,
540
+ '--n-panel-box-shadow': panelBoxShadow,
541
+ '--n-panel-color': panelColor,
542
+ '--n-panel-divider-color': panelDividerColor,
543
+ '--n-item-border-radius': itemBorderRadius
544
+ };
545
+ });
546
+ const themeClassHandle = inlineThemeDisabled
547
+ ? useThemeClass('time-picker', undefined, cssVarsRef, props)
548
+ : undefined;
549
+ return {
550
+ focus: exposedMethods.focus,
551
+ blur: exposedMethods.blur,
552
+ mergedStatus: mergedStatusRef,
553
+ mergedBordered: mergedBorderedRef,
554
+ mergedClsPrefix: mergedClsPrefixRef,
555
+ namespace: namespaceRef,
556
+ uncontrolledValue: uncontrolledValueRef,
557
+ mergedValue: mergedValueRef,
558
+ isMounted: useIsMounted(),
559
+ inputInstRef,
560
+ panelInstRef,
561
+ adjustedTo: useAdjustedTo(props),
562
+ mergedShow: mergedShowRef,
563
+ localizedNow: localizedNowRef,
564
+ localizedPlaceholder: localizedPlaceholderRef,
565
+ localizedNegativeText: localizedNegativeTextRef,
566
+ localizedPositiveText: localizedPositiveTextRef,
567
+ hourInFormat: hourInFormatRef,
568
+ minuteInFormat: minuteInFormatRef,
569
+ secondInFormat: secondInFormatRef,
570
+ mergedAttrSize: mergedAttrSizeRef,
571
+ displayTimeString: displayTimeStringRef,
572
+ mergedSize: mergedSizeRef,
573
+ mergedDisabled: mergedDisabledRef,
574
+ isValueInvalid: isValueInvalidRef,
575
+ isHourInvalid: isHourInvalidRef,
576
+ isMinuteInvalid: isMinuteInvalidRef,
577
+ isSecondInvalid: isSecondInvalidRef,
578
+ transitionDisabled: transitionDisabledRef,
579
+ hourValue: hourValueRef,
580
+ minuteValue: minuteValueRef,
581
+ secondValue: secondValueRef,
582
+ amPmValue: amPmValueRef,
583
+ handleTimeInputFocus,
518
584
  handleTimeInputBlur,
519
585
  handleNowClick,
520
586
  handleConfirmClick,
@@ -531,36 +597,20 @@ export default defineComponent({
531
597
  handleTimeInputClear,
532
598
  handleFocusDetectorFocus,
533
599
  handleMenuKeyDown,
534
- handleTriggerClick, mergedTheme: themeRef, triggerCssVars: computed(() => {
535
- const { common: { cubicBezierEaseInOut }, self: { iconColor, iconColorDisabled } } = themeRef.value;
536
- return {
537
- '--n-icon-color': iconColor,
538
- '--n-icon-color-disabled': iconColorDisabled,
539
- '--n-bezier': cubicBezierEaseInOut
540
- };
541
- }), cssVars: computed(() => {
542
- const { self: { panelColor, itemTextColor, itemTextColorActive, itemColorHover, panelDividerColor, panelBoxShadow, itemOpacityDisabled, borderRadius, itemFontSize, itemWidth, itemHeight, panelActionPadding, itemBorderRadius }, common: { cubicBezierEaseInOut } } = themeRef.value;
543
- return {
544
- '--n-bezier': cubicBezierEaseInOut,
545
- '--n-border-radius': borderRadius,
546
- '--n-item-color-hover': itemColorHover,
547
- '--n-item-font-size': itemFontSize,
548
- '--n-item-height': itemHeight,
549
- '--n-item-opacity-disabled': itemOpacityDisabled,
550
- '--n-item-text-color': itemTextColor,
551
- '--n-item-text-color-active': itemTextColorActive,
552
- '--n-item-width': itemWidth,
553
- '--n-panel-action-padding': panelActionPadding,
554
- '--n-panel-box-shadow': panelBoxShadow,
555
- '--n-panel-color': panelColor,
556
- '--n-panel-divider-color': panelDividerColor,
557
- '--n-item-border-radius': itemBorderRadius
558
- };
559
- }) });
600
+ handleTriggerClick,
601
+ mergedTheme: themeRef,
602
+ triggerCssVars: inlineThemeDisabled ? undefined : triggerCssVarsRef,
603
+ triggerThemeClass: triggerThemeClassHandle === null || triggerThemeClassHandle === void 0 ? void 0 : triggerThemeClassHandle.themeClass,
604
+ triggerOnRender: triggerThemeClassHandle === null || triggerThemeClassHandle === void 0 ? void 0 : triggerThemeClassHandle.onRender,
605
+ cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
606
+ themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
607
+ onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender
608
+ };
560
609
  },
561
610
  render() {
562
- const { mergedClsPrefix, $slots } = this;
563
- return (h("div", { class: `${mergedClsPrefix}-time-picker`, style: this.triggerCssVars },
611
+ const { mergedClsPrefix, $slots, triggerOnRender } = this;
612
+ triggerOnRender === null || triggerOnRender === void 0 ? void 0 : triggerOnRender();
613
+ return (h("div", { class: [`${mergedClsPrefix}-time-picker`, this.triggerThemeClass], style: this.triggerCssVars },
564
614
  h(VBinder, null, {
565
615
  default: () => [
566
616
  h(VTarget, null, {
@@ -574,9 +624,14 @@ export default defineComponent({
574
624
  }),
575
625
  h(VFollower, { teleportDisabled: this.adjustedTo === useAdjustedTo.tdkey, show: this.mergedShow, to: this.adjustedTo, containerClass: this.namespace, placement: this.placement }, {
576
626
  default: () => (h(Transition, { name: "fade-in-scale-up-transition", appear: this.isMounted }, {
577
- default: () => this.mergedShow
578
- ? withDirectives(h(Panel, { ref: "panelInstRef", actions: this.actions, style: this.cssVars, seconds: this.seconds, minutes: this.minutes, hours: this.hours, transitionDisabled: this.transitionDisabled, hourValue: this.hourValue, showHour: this.hourInFormat, isHourInvalid: this.isHourInvalid, isHourDisabled: this.isHourDisabled, minuteValue: this.minuteValue, showMinute: this.minuteInFormat, isMinuteInvalid: this.isMinuteInvalid, isMinuteDisabled: this.isMinuteDisabled, secondValue: this.secondValue, amPmValue: this.amPmValue, showSecond: this.secondInFormat, isSecondInvalid: this.isSecondInvalid, isSecondDisabled: this.isSecondDisabled, isValueInvalid: this.isValueInvalid, nowText: this.localizedNow, confirmText: this.localizedPositiveText, use12Hours: this.use12Hours, onFocusout: this.handleMenuFocusOut, onKeydown: this.handleMenuKeyDown, onHourClick: this.handleHourClick, onMinuteClick: this.handleMinuteClick, onSecondClick: this.handleSecondClick, onAmPmClick: this.handleAmPmClick, onNowClick: this.handleNowClick, onConfirmClick: this.handleConfirmClick, onFocusDetectorFocus: this.handleFocusDetectorFocus }), [[clickoutside, this.handleClickOutside]])
579
- : null
627
+ default: () => {
628
+ var _a;
629
+ if (this.mergedShow) {
630
+ (_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
631
+ return withDirectives(h(Panel, { ref: "panelInstRef", actions: this.actions, class: this.themeClass, style: this.cssVars, seconds: this.seconds, minutes: this.minutes, hours: this.hours, transitionDisabled: this.transitionDisabled, hourValue: this.hourValue, showHour: this.hourInFormat, isHourInvalid: this.isHourInvalid, isHourDisabled: this.isHourDisabled, minuteValue: this.minuteValue, showMinute: this.minuteInFormat, isMinuteInvalid: this.isMinuteInvalid, isMinuteDisabled: this.isMinuteDisabled, secondValue: this.secondValue, amPmValue: this.amPmValue, showSecond: this.secondInFormat, isSecondInvalid: this.isSecondInvalid, isSecondDisabled: this.isSecondDisabled, isValueInvalid: this.isValueInvalid, nowText: this.localizedNow, confirmText: this.localizedPositiveText, use12Hours: this.use12Hours, onFocusout: this.handleMenuFocusOut, onKeydown: this.handleMenuKeyDown, onHourClick: this.handleHourClick, onMinuteClick: this.handleMinuteClick, onSecondClick: this.handleSecondClick, onAmPmClick: this.handleAmPmClick, onNowClick: this.handleNowClick, onConfirmClick: this.handleConfirmClick, onFocusDetectorFocus: this.handleFocusDetectorFocus }), [[clickoutside, this.handleClickOutside]]);
632
+ }
633
+ return null;
634
+ }
580
635
  }))
581
636
  })
582
637
  ]
@@ -30,7 +30,7 @@ declare const timelineProps: {
30
30
  contentTextColor: string;
31
31
  metaTextColor: string;
32
32
  lineColor: string;
33
- titleMarginMedium: number;
33
+ titleMarginMedium: string;
34
34
  titleMarginLarge: string;
35
35
  titleFontSizeMedium: string;
36
36
  titleFontSizeLarge: string;
@@ -54,7 +54,7 @@ declare const timelineProps: {
54
54
  contentTextColor: string;
55
55
  metaTextColor: string;
56
56
  lineColor: string;
57
- titleMarginMedium: number;
57
+ titleMarginMedium: string;
58
58
  titleMarginLarge: string;
59
59
  titleFontSizeMedium: string;
60
60
  titleFontSizeLarge: string;
@@ -78,7 +78,7 @@ declare const timelineProps: {
78
78
  contentTextColor: string;
79
79
  metaTextColor: string;
80
80
  lineColor: string;
81
- titleMarginMedium: number;
81
+ titleMarginMedium: string;
82
82
  titleMarginLarge: string;
83
83
  titleFontSizeMedium: string;
84
84
  titleFontSizeLarge: string;
@@ -121,7 +121,7 @@ declare const _default: import("vue").DefineComponent<{
121
121
  contentTextColor: string;
122
122
  metaTextColor: string;
123
123
  lineColor: string;
124
- titleMarginMedium: number;
124
+ titleMarginMedium: string;
125
125
  titleMarginLarge: string;
126
126
  titleFontSizeMedium: string;
127
127
  titleFontSizeLarge: string;
@@ -145,7 +145,7 @@ declare const _default: import("vue").DefineComponent<{
145
145
  contentTextColor: string;
146
146
  metaTextColor: string;
147
147
  lineColor: string;
148
- titleMarginMedium: number;
148
+ titleMarginMedium: string;
149
149
  titleMarginLarge: string;
150
150
  titleFontSizeMedium: string;
151
151
  titleFontSizeLarge: string;
@@ -169,7 +169,7 @@ declare const _default: import("vue").DefineComponent<{
169
169
  contentTextColor: string;
170
170
  metaTextColor: string;
171
171
  lineColor: string;
172
- titleMarginMedium: number;
172
+ titleMarginMedium: string;
173
173
  titleMarginLarge: string;
174
174
  titleFontSizeMedium: string;
175
175
  titleFontSizeLarge: string;
@@ -204,7 +204,7 @@ declare const _default: import("vue").DefineComponent<{
204
204
  contentTextColor: string;
205
205
  metaTextColor: string;
206
206
  lineColor: string;
207
- titleMarginMedium: number;
207
+ titleMarginMedium: string;
208
208
  titleMarginLarge: string;
209
209
  titleFontSizeMedium: string;
210
210
  titleFontSizeLarge: string;
@@ -228,7 +228,7 @@ declare const _default: import("vue").DefineComponent<{
228
228
  contentTextColor: string;
229
229
  metaTextColor: string;
230
230
  lineColor: string;
231
- titleMarginMedium: number;
231
+ titleMarginMedium: string;
232
232
  titleMarginLarge: string;
233
233
  titleFontSizeMedium: string;
234
234
  titleFontSizeLarge: string;
@@ -252,7 +252,7 @@ declare const _default: import("vue").DefineComponent<{
252
252
  contentTextColor: string;
253
253
  metaTextColor: string;
254
254
  lineColor: string;
255
- titleMarginMedium: number;
255
+ titleMarginMedium: string;
256
256
  titleMarginLarge: string;
257
257
  titleFontSizeMedium: string;
258
258
  titleFontSizeLarge: string;
@@ -32,10 +32,12 @@ declare const _default: import("vue").DefineComponent<{
32
32
  '--n-meta-text-color': string;
33
33
  '--n-title-font-size': string;
34
34
  '--n-title-font-weight': string;
35
- '--n-title-margin': string | number;
35
+ '--n-title-margin': string;
36
36
  '--n-title-text-color': string;
37
37
  '--n-icon-size': string;
38
- }>;
38
+ }> | undefined;
39
+ themeClass: import("vue").Ref<string> | undefined;
40
+ onRender: (() => void) | undefined;
39
41
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
40
42
  time: PropType<string | number>;
41
43
  title: StringConstructor;
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, computed, inject, h } from 'vue';
2
2
  import { createKey, formatLength, throwError } from '../../_utils';
3
3
  import { timelineInjectionKey } from './Timeline';
4
+ import { useConfig, useThemeClass } from '../../_mixins';
4
5
  const timelineItemProps = {
5
6
  time: [String, Number],
6
7
  title: String,
@@ -19,33 +20,46 @@ export default defineComponent({
19
20
  if (!NTimeline) {
20
21
  throwError('timeline-item', '`n-timeline-item` must be placed inside `n-timeline`.');
21
22
  }
23
+ const { inlineThemeDisabled } = useConfig();
24
+ const cssVarsRef = computed(() => {
25
+ const { props: { size, iconSize: iconSizeProp }, mergedThemeRef } = NTimeline;
26
+ const { type } = props;
27
+ const { self: { titleTextColor, contentTextColor, metaTextColor, lineColor, titleFontWeight, contentFontSize, [createKey('iconSize', size)]: iconSize, [createKey('titleMargin', size)]: titleMargin, [createKey('titleFontSize', size)]: titleFontSize, [createKey('circleBorder', type)]: circleBorder, [createKey('iconColor', type)]: iconColor }, common: { cubicBezierEaseInOut } } = mergedThemeRef.value;
28
+ return {
29
+ '--n-bezier': cubicBezierEaseInOut,
30
+ '--n-circle-border': circleBorder,
31
+ '--n-icon-color': iconColor,
32
+ '--n-content-font-size': contentFontSize,
33
+ '--n-content-text-color': contentTextColor,
34
+ '--n-line-color': lineColor,
35
+ '--n-meta-text-color': metaTextColor,
36
+ '--n-title-font-size': titleFontSize,
37
+ '--n-title-font-weight': titleFontWeight,
38
+ '--n-title-margin': titleMargin,
39
+ '--n-title-text-color': titleTextColor,
40
+ '--n-icon-size': formatLength(iconSizeProp) || iconSize
41
+ };
42
+ });
43
+ const themeClassHandle = inlineThemeDisabled
44
+ ? useThemeClass('timeline-item', computed(() => {
45
+ const { props: { size, iconSize: iconSizeProp } } = NTimeline;
46
+ const { type } = props;
47
+ return `${size[0]}${iconSizeProp || 'a'}${type[0]}`;
48
+ }), cssVarsRef, NTimeline.props)
49
+ : undefined;
22
50
  return {
23
51
  mergedClsPrefix: NTimeline.mergedClsPrefixRef,
24
- cssVars: computed(() => {
25
- const { props: { size, iconSize: iconSizeProp }, mergedThemeRef } = NTimeline;
26
- const { type } = props;
27
- const { self: { titleTextColor, contentTextColor, metaTextColor, lineColor, titleFontWeight, contentFontSize, [createKey('iconSize', size)]: iconSize, [createKey('titleMargin', size)]: titleMargin, [createKey('titleFontSize', size)]: titleFontSize, [createKey('circleBorder', type)]: circleBorder, [createKey('iconColor', type)]: iconColor }, common: { cubicBezierEaseInOut } } = mergedThemeRef.value;
28
- return {
29
- '--n-bezier': cubicBezierEaseInOut,
30
- '--n-circle-border': circleBorder,
31
- '--n-icon-color': iconColor,
32
- '--n-content-font-size': contentFontSize,
33
- '--n-content-text-color': contentTextColor,
34
- '--n-line-color': lineColor,
35
- '--n-meta-text-color': metaTextColor,
36
- '--n-title-font-size': titleFontSize,
37
- '--n-title-font-weight': titleFontWeight,
38
- '--n-title-margin': titleMargin,
39
- '--n-title-text-color': titleTextColor,
40
- '--n-icon-size': formatLength(iconSizeProp) || iconSize
41
- };
42
- })
52
+ cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
53
+ themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
54
+ onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender
43
55
  };
44
56
  },
45
57
  render() {
46
- const { mergedClsPrefix, color, $slots } = this;
58
+ const { mergedClsPrefix, color, onRender, $slots } = this;
59
+ onRender === null || onRender === void 0 ? void 0 : onRender();
47
60
  return (h("div", { class: [
48
61
  `${mergedClsPrefix}-timeline-item`,
62
+ this.themeClass,
49
63
  `${mergedClsPrefix}-timeline-item--${this.type}-type`
50
64
  ], style: this.cssVars },
51
65
  h("div", { class: `${mergedClsPrefix}-timeline-item-timeline` },
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- titleMarginMedium: number;
2
+ titleMarginMedium: string;
3
3
  titleMarginLarge: string;
4
4
  titleFontSizeMedium: string;
5
5
  titleFontSizeLarge: string;
@@ -1,5 +1,5 @@
1
1
  export default {
2
- titleMarginMedium: 0,
2
+ titleMarginMedium: '0',
3
3
  titleMarginLarge: '-2px 0 0 0',
4
4
  titleFontSizeMedium: '14px',
5
5
  titleFontSizeLarge: '16px',
@@ -17,7 +17,7 @@ declare const self: (vars: ThemeCommonVars) => {
17
17
  contentTextColor: string;
18
18
  metaTextColor: string;
19
19
  lineColor: string;
20
- titleMarginMedium: number;
20
+ titleMarginMedium: string;
21
21
  titleMarginLarge: string;
22
22
  titleFontSizeMedium: string;
23
23
  titleFontSizeLarge: string;
@@ -59,6 +59,7 @@ declare const transferProps: {
59
59
  width: string;
60
60
  }, {
61
61
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
62
+ labelLineHeight: string;
62
63
  fontSizeSmall: string;
63
64
  fontSizeMedium: string;
64
65
  fontSizeLarge: string;
@@ -393,6 +394,7 @@ declare const transferProps: {
393
394
  width: string;
394
395
  }, {
395
396
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
397
+ labelLineHeight: string;
396
398
  fontSizeSmall: string;
397
399
  fontSizeMedium: string;
398
400
  fontSizeLarge: string;
@@ -727,6 +729,7 @@ declare const transferProps: {
727
729
  width: string;
728
730
  }, {
729
731
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
732
+ labelLineHeight: string;
730
733
  fontSizeSmall: string;
731
734
  fontSizeMedium: string;
732
735
  fontSizeLarge: string;
@@ -1095,6 +1098,7 @@ declare const _default: import("vue").DefineComponent<{
1095
1098
  width: string;
1096
1099
  }, {
1097
1100
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
1101
+ labelLineHeight: string;
1098
1102
  fontSizeSmall: string;
1099
1103
  fontSizeMedium: string;
1100
1104
  fontSizeLarge: string;
@@ -1429,6 +1433,7 @@ declare const _default: import("vue").DefineComponent<{
1429
1433
  width: string;
1430
1434
  }, {
1431
1435
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
1436
+ labelLineHeight: string;
1432
1437
  fontSizeSmall: string;
1433
1438
  fontSizeMedium: string;
1434
1439
  fontSizeLarge: string;
@@ -1763,6 +1768,7 @@ declare const _default: import("vue").DefineComponent<{
1763
1768
  width: string;
1764
1769
  }, {
1765
1770
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
1771
+ labelLineHeight: string;
1766
1772
  fontSizeSmall: string;
1767
1773
  fontSizeMedium: string;
1768
1774
  fontSizeLarge: string;
@@ -2212,6 +2218,7 @@ declare const _default: import("vue").DefineComponent<{
2212
2218
  };
2213
2219
  peers: {
2214
2220
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
2221
+ labelLineHeight: string;
2215
2222
  fontSizeSmall: string;
2216
2223
  fontSizeMedium: string;
2217
2224
  fontSizeLarge: string;
@@ -2643,6 +2650,7 @@ declare const _default: import("vue").DefineComponent<{
2643
2650
  width: string;
2644
2651
  }, {
2645
2652
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
2653
+ labelLineHeight: string;
2646
2654
  fontSizeSmall: string;
2647
2655
  fontSizeMedium: string;
2648
2656
  fontSizeLarge: string;
@@ -2977,6 +2985,7 @@ declare const _default: import("vue").DefineComponent<{
2977
2985
  width: string;
2978
2986
  }, {
2979
2987
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
2988
+ labelLineHeight: string;
2980
2989
  fontSizeSmall: string;
2981
2990
  fontSizeMedium: string;
2982
2991
  fontSizeLarge: string;
@@ -3311,6 +3320,7 @@ declare const _default: import("vue").DefineComponent<{
3311
3320
  width: string;
3312
3321
  }, {
3313
3322
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
3323
+ labelLineHeight: string;
3314
3324
  fontSizeSmall: string;
3315
3325
  fontSizeMedium: string;
3316
3326
  fontSizeLarge: string;
@@ -147,6 +147,7 @@ declare const _default: import("vue").DefineComponent<{
147
147
  };
148
148
  peers: {
149
149
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
150
+ labelLineHeight: string;
150
151
  fontSizeSmall: string;
151
152
  fontSizeMedium: string;
152
153
  fontSizeLarge: string;
@@ -160,6 +160,7 @@ declare const _default: import("vue").DefineComponent<{
160
160
  };
161
161
  peers: {
162
162
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
163
+ labelLineHeight: string;
163
164
  fontSizeSmall: string;
164
165
  fontSizeMedium: string;
165
166
  fontSizeLarge: string;
@@ -499,6 +500,7 @@ declare const _default: import("vue").DefineComponent<{
499
500
  }>;
500
501
  mergedClsPrefix: import("vue").Ref<string>;
501
502
  scrollerInstRef: import("vue").Ref<{
503
+ $el: HTMLElement;
502
504
  containerRef: HTMLElement | null;
503
505
  contentRef: HTMLElement | null;
504
506
  containerScrollTop: number;
@@ -147,6 +147,7 @@ declare const _default: import("vue").DefineComponent<{
147
147
  };
148
148
  peers: {
149
149
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
150
+ labelLineHeight: string;
150
151
  fontSizeSmall: string;
151
152
  fontSizeMedium: string;
152
153
  fontSizeLarge: string;
@@ -49,6 +49,7 @@ declare const transferLight: import("../../_mixins").Theme<"Transfer", {
49
49
  width: string;
50
50
  }, {
51
51
  Checkbox: import("../../_mixins").Theme<"Checkbox", {
52
+ labelLineHeight: string;
52
53
  fontSizeSmall: string;
53
54
  fontSizeMedium: string;
54
55
  fontSizeLarge: string;