naive-ui 2.24.6 → 2.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (737) hide show
  1. package/es/_internal/clear/src/Clear.js +3 -2
  2. package/es/_internal/close/src/Close.js +1 -1
  3. package/es/_internal/icon/src/Icon.js +1 -1
  4. package/es/_internal/icons/ArrowUp.d.ts +2 -0
  5. package/es/_internal/icons/ArrowUp.js +9 -0
  6. package/es/_internal/icons/index.d.ts +1 -0
  7. package/es/_internal/icons/index.js +1 -0
  8. package/es/_internal/loading/src/Loading.js +1 -1
  9. package/es/_internal/menu-mask/src/MenuMask.js +1 -1
  10. package/es/_internal/scrollbar/src/ScrollBar.js +1 -1
  11. package/es/_internal/select-menu/src/SelectMenu.d.ts +11 -6
  12. package/es/_internal/select-menu/src/SelectMenu.js +49 -24
  13. package/es/_internal/selection/src/Selection.d.ts +42 -29
  14. package/es/_internal/selection/src/Selection.js +100 -93
  15. package/es/_internal/selection/src/interface.d.ts +2 -2
  16. package/es/_internal/selection/src/styles/index.cssr.js +16 -31
  17. package/es/_internal/selection/styles/dark.js +3 -3
  18. package/es/_internal/selection/styles/light.d.ts +6 -6
  19. package/es/_internal/selection/styles/light.js +3 -3
  20. package/es/_internal/slot-machine/src/SlotMachine.js +1 -1
  21. package/es/_internal/wave/src/Wave.js +1 -1
  22. package/es/_mixins/index.d.ts +1 -1
  23. package/es/_mixins/index.js +1 -1
  24. package/es/_mixins/use-config.js +1 -1
  25. package/es/_mixins/use-css-vars-class.d.ts +11 -2
  26. package/es/_mixins/use-css-vars-class.js +49 -18
  27. package/es/_mixins/use-form-item.d.ts +4 -0
  28. package/es/_mixins/use-form-item.js +7 -0
  29. package/es/_mixins/use-hljs.js +1 -1
  30. package/es/_mixins/use-locale.js +1 -1
  31. package/es/_mixins/use-style.js +1 -1
  32. package/es/_mixins/use-theme.d.ts +1 -1
  33. package/es/_mixins/use-theme.js +2 -2
  34. package/es/_utils/css/color-to-class.d.ts +1 -0
  35. package/es/_utils/css/color-to-class.js +3 -0
  36. package/es/_utils/css/format-length.d.ts +2 -2
  37. package/es/_utils/css/format-length.js +1 -2
  38. package/es/_utils/css/index.d.ts +2 -1
  39. package/es/_utils/css/index.js +2 -1
  40. package/es/_utils/cssr/index.d.ts +1 -2
  41. package/es/_utils/cssr/index.js +1 -14
  42. package/es/_utils/index.d.ts +2 -2
  43. package/es/_utils/index.js +2 -2
  44. package/es/_utils/vue/index.d.ts +1 -1
  45. package/es/_utils/vue/index.js +1 -1
  46. package/es/_utils/vue/resolve-slot.d.ts +8 -2
  47. package/es/_utils/vue/resolve-slot.js +17 -1
  48. package/es/affix/src/Affix.js +1 -1
  49. package/es/alert/src/Alert.js +1 -1
  50. package/es/anchor/src/AnchorAdapter.js +1 -1
  51. package/es/auto-complete/src/AutoComplete.d.ts +16 -1
  52. package/es/auto-complete/src/AutoComplete.js +9 -5
  53. package/es/avatar/src/Avatar.js +2 -2
  54. package/es/avatar/src/AvatarGroup.d.ts +0 -1
  55. package/es/avatar/src/AvatarGroup.js +2 -3
  56. package/es/avatar/src/context.d.ts +2 -0
  57. package/es/avatar/src/context.js +2 -0
  58. package/es/back-top/src/BackTop.js +1 -1
  59. package/es/badge/src/Badge.js +1 -1
  60. package/es/breadcrumb/src/Breadcrumb.js +1 -1
  61. package/es/button/src/Button.d.ts +4 -2
  62. package/es/button/src/Button.js +270 -245
  63. package/es/button/src/ButtonGroup.js +1 -1
  64. package/es/button/src/styles/button.cssr.js +1 -0
  65. package/es/button/styles/index.d.ts +1 -1
  66. package/es/button/styles/index.js +1 -1
  67. package/es/button/styles/rtl.d.ts +2 -5
  68. package/es/button/styles/rtl.js +1 -1
  69. package/es/calendar/src/Calendar.js +1 -1
  70. package/es/card/src/Card.d.ts +8 -2
  71. package/es/card/src/Card.js +44 -40
  72. package/es/card/styles/index.d.ts +1 -1
  73. package/es/card/styles/index.js +1 -1
  74. package/es/card/styles/rtl.d.ts +2 -5
  75. package/es/card/styles/rtl.js +1 -1
  76. package/es/carousel/src/Carousel.js +4 -1
  77. package/es/carousel/src/CarouselArrow.js +6 -9
  78. package/es/carousel/src/styles/index.cssr.js +59 -48
  79. package/es/carousel/styles/light.js +2 -2
  80. package/es/cascader/src/Cascader.d.ts +36 -34
  81. package/es/cascader/src/Cascader.js +6 -6
  82. package/es/cascader/src/CascaderMenu.d.ts +3 -3
  83. package/es/cascader/src/CascaderOption.d.ts +3 -3
  84. package/es/cascader/src/CascaderSelectMenu.d.ts +3 -3
  85. package/es/cascader/src/CascaderSubmenu.d.ts +3 -3
  86. package/es/cascader/styles/light.d.ts +3 -3
  87. package/es/checkbox/src/Checkbox.js +1 -1
  88. package/es/checkbox/src/styles/index.cssr.js +12 -12
  89. package/es/code/src/Code.js +1 -1
  90. package/es/collapse/src/Collapse.js +1 -1
  91. package/es/collapse-transition/src/CollapseTransition.js +1 -1
  92. package/es/color-picker/src/ColorInputUnit.js +1 -1
  93. package/es/color-picker/src/ColorPicker.d.ts +24 -17
  94. package/es/color-picker/src/ColorPicker.js +7 -4
  95. package/es/color-picker/src/ColorPickerTrigger.js +1 -1
  96. package/es/color-picker/src/context.d.ts +9 -0
  97. package/es/color-picker/src/context.js +2 -0
  98. package/es/color-picker/src/styles/index.cssr.js +1 -0
  99. package/es/components.d.ts +2 -1
  100. package/es/components.js +2 -1
  101. package/es/composables/use-theme-vars.js +1 -1
  102. package/es/config-provider/src/ConfigProvider.d.ts +15 -3
  103. package/es/config-provider/src/ConfigProvider.js +29 -3
  104. package/es/config-provider/src/context.d.ts +2 -0
  105. package/es/config-provider/src/context.js +2 -0
  106. package/es/config-provider/src/interface.d.ts +2 -1
  107. package/es/config-provider/src/internal-interface.d.ts +4 -0
  108. package/es/data-table/src/DataTable.d.ts +33 -33
  109. package/es/data-table/src/DataTable.js +1 -1
  110. package/es/data-table/src/HeaderButton/FilterButton.d.ts +6 -6
  111. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +6 -6
  112. package/es/data-table/src/TableParts/Body.d.ts +6 -6
  113. package/es/data-table/src/TableParts/Cell.d.ts +12 -12
  114. package/es/data-table/src/TableParts/Header.d.ts +6 -6
  115. package/es/data-table/src/interface.d.ts +2 -2
  116. package/es/data-table/src/use-check.d.ts +2 -2
  117. package/es/data-table/src/use-group-header.d.ts +1 -1
  118. package/es/data-table/src/use-scroll.d.ts +1 -1
  119. package/es/data-table/src/use-scroll.js +3 -3
  120. package/es/data-table/src/use-sorter.d.ts +1 -1
  121. package/es/data-table/src/use-table-data.d.ts +1 -1
  122. package/es/data-table/src/utils.d.ts +2 -1
  123. package/es/data-table/src/utils.js +13 -3
  124. package/es/data-table/styles/light.d.ts +3 -3
  125. package/es/date-picker/src/DatePicker.d.ts +2 -1
  126. package/es/date-picker/src/DatePicker.js +6 -6
  127. package/es/descriptions/src/Descriptions.d.ts +1 -1
  128. package/es/descriptions/src/Descriptions.js +1 -1
  129. package/es/dialog/index.d.ts +3 -3
  130. package/es/dialog/index.js +2 -2
  131. package/es/dialog/src/Dialog.d.ts +27 -60
  132. package/es/dialog/src/Dialog.js +4 -31
  133. package/es/dialog/src/DialogEnvironment.d.ts +8 -9
  134. package/es/dialog/src/DialogEnvironment.js +3 -2
  135. package/es/dialog/src/DialogProvider.d.ts +3 -5
  136. package/es/dialog/src/DialogProvider.js +5 -6
  137. package/es/dialog/src/context.d.ts +3 -0
  138. package/es/dialog/src/context.js +3 -0
  139. package/es/dialog/src/dialogProps.d.ts +32 -0
  140. package/es/dialog/src/dialogProps.js +29 -0
  141. package/es/dialog/src/use-dialog.js +1 -1
  142. package/es/divider/src/Divider.js +1 -1
  143. package/es/drawer/index.d.ts +1 -0
  144. package/es/drawer/src/Drawer.js +1 -1
  145. package/es/dropdown/src/Dropdown.d.ts +17 -5
  146. package/es/dropdown/src/Dropdown.js +6 -5
  147. package/es/dropdown/src/DropdownGroup.js +1 -0
  148. package/es/dropdown/src/DropdownGroupHeader.js +1 -2
  149. package/es/dropdown/src/DropdownMenu.d.ts +0 -1
  150. package/es/dropdown/src/DropdownMenu.js +4 -4
  151. package/es/dropdown/src/DropdownOption.d.ts +3 -0
  152. package/es/dropdown/src/DropdownOption.js +4 -4
  153. package/es/dropdown/src/context.d.ts +6 -0
  154. package/es/dropdown/src/context.js +4 -0
  155. package/es/dropdown/src/interface.d.ts +1 -1
  156. package/es/dynamic-input/src/DynamicInput.d.ts +10 -1
  157. package/es/dynamic-input/src/DynamicInput.js +61 -18
  158. package/es/dynamic-tags/src/DynamicTags.d.ts +7 -16
  159. package/es/dynamic-tags/src/DynamicTags.js +14 -16
  160. package/es/element/src/Element.js +1 -1
  161. package/es/ellipsis/src/Ellipsis.js +1 -1
  162. package/es/empty/src/Empty.js +2 -2
  163. package/es/form/src/Form.d.ts +1 -1
  164. package/es/form/src/Form.js +2 -2
  165. package/es/form/src/FormItem.d.ts +1 -1
  166. package/es/form/src/FormItem.js +3 -2
  167. package/es/form/src/FormItemCol.d.ts +1 -1
  168. package/es/form/src/FormItemGridItem.d.ts +1 -1
  169. package/es/form/src/context.d.ts +3 -0
  170. package/es/form/src/context.js +3 -0
  171. package/es/form/src/interface.d.ts +4 -3
  172. package/es/form/src/interface.js +1 -3
  173. package/es/form/src/styles/form-item.cssr.js +6 -5
  174. package/es/form/src/utils.js +1 -1
  175. package/es/global-style/src/GlobalStyle.js +1 -1
  176. package/es/gradient-text/src/GradientText.js +1 -1
  177. package/es/grid/src/Grid.d.ts +0 -1
  178. package/es/grid/src/Grid.js +2 -3
  179. package/es/grid/src/GridItem.js +1 -1
  180. package/es/grid/src/config.d.ts +3 -0
  181. package/es/grid/src/config.js +3 -0
  182. package/es/icon/index.d.ts +1 -1
  183. package/es/icon/index.js +1 -1
  184. package/es/icon/src/Icon.d.ts +1 -2
  185. package/es/icon/src/Icon.js +2 -2
  186. package/es/icon-wrapper/index.d.ts +1 -0
  187. package/es/icon-wrapper/index.js +1 -0
  188. package/es/icon-wrapper/src/IconWrapper.d.ts +50 -0
  189. package/es/icon-wrapper/src/IconWrapper.js +50 -0
  190. package/es/icon-wrapper/src/styles/index.cssr.d.ts +2 -0
  191. package/es/icon-wrapper/src/styles/index.cssr.js +16 -0
  192. package/es/icon-wrapper/styles/dark.d.ts +3 -0
  193. package/es/icon-wrapper/styles/dark.js +8 -0
  194. package/es/icon-wrapper/styles/index.d.ts +3 -0
  195. package/es/icon-wrapper/styles/index.js +2 -0
  196. package/es/icon-wrapper/styles/light.d.ts +10 -0
  197. package/es/icon-wrapper/styles/light.js +14 -0
  198. package/es/image/src/Image.d.ts +1 -1
  199. package/es/image/src/ImagePreview.js +1 -1
  200. package/es/input/src/Input.d.ts +6 -1
  201. package/es/input/src/Input.js +21 -17
  202. package/es/input/src/InputGroup.js +1 -1
  203. package/es/input/src/InputGroupLabel.js +1 -1
  204. package/es/input/src/WordCount.js +9 -8
  205. package/es/input/src/styles/input.cssr.js +5 -5
  206. package/es/input-number/src/InputNumber.d.ts +2 -1
  207. package/es/input-number/src/InputNumber.js +23 -21
  208. package/es/layout/src/Layout.js +1 -1
  209. package/es/layout/src/LayoutFooter.js +1 -1
  210. package/es/layout/src/LayoutHeader.js +1 -1
  211. package/es/layout/src/LayoutSider.js +1 -1
  212. package/es/legacy-grid/src/Col.js +0 -3
  213. package/es/legacy-grid/src/Row.js +1 -1
  214. package/es/list/src/List.js +1 -1
  215. package/es/loading-bar/src/LoadingBar.js +2 -2
  216. package/es/loading-bar/src/LoadingBarProvider.d.ts +3 -8
  217. package/es/loading-bar/src/LoadingBarProvider.js +1 -3
  218. package/es/loading-bar/src/context.d.ts +7 -0
  219. package/es/loading-bar/src/context.js +3 -0
  220. package/es/loading-bar/src/use-loading-bar.js +1 -1
  221. package/es/locales/common/deDE.js +13 -15
  222. package/es/locales/common/enGB.d.ts +109 -0
  223. package/es/locales/common/enGB.js +109 -0
  224. package/es/locales/common/eo.d.ts +109 -0
  225. package/es/locales/common/eo.js +109 -0
  226. package/es/locales/common/jaJP.js +12 -14
  227. package/es/locales/common/plPL.d.ts +3 -0
  228. package/es/locales/common/plPL.js +109 -0
  229. package/es/locales/date/enGB.d.ts +3 -0
  230. package/es/locales/date/enGB.js +6 -0
  231. package/es/locales/date/eo.d.ts +3 -0
  232. package/es/locales/date/eo.js +6 -0
  233. package/es/locales/date/plPL.d.ts +3 -0
  234. package/es/locales/date/plPL.js +6 -0
  235. package/es/locales/index.d.ts +6 -0
  236. package/es/locales/index.js +6 -0
  237. package/es/log/index.d.ts +1 -1
  238. package/es/log/src/Log.d.ts +17 -12
  239. package/es/log/src/Log.js +10 -17
  240. package/es/log/src/LogLine.js +1 -1
  241. package/es/log/src/context.d.ts +2 -0
  242. package/es/log/src/context.js +2 -0
  243. package/es/log/src/styles/index.cssr.js +2 -3
  244. package/es/mention/src/Mention.d.ts +16 -1
  245. package/es/mention/src/Mention.js +7 -3
  246. package/es/menu/src/Menu.d.ts +3 -5
  247. package/es/menu/src/Menu.js +3 -3
  248. package/es/menu/src/MenuDivider.js +1 -1
  249. package/es/menu/src/MenuOption.d.ts +1 -2
  250. package/es/menu/src/MenuOption.js +1 -1
  251. package/es/menu/src/MenuOptionContent.js +1 -1
  252. package/es/menu/src/MenuOptionGroup.d.ts +1 -4
  253. package/es/menu/src/MenuOptionGroup.js +4 -5
  254. package/es/menu/src/Submenu.d.ts +1 -4
  255. package/es/menu/src/Submenu.js +3 -4
  256. package/es/menu/src/context.d.ts +4 -0
  257. package/es/menu/src/context.js +4 -0
  258. package/es/menu/src/use-menu-child.js +1 -3
  259. package/es/menu/src/useCheckDeprecated.d.ts +1 -1
  260. package/es/menu/src/utils.d.ts +1 -1
  261. package/es/menu/src/utils.js +5 -3
  262. package/es/message/src/Message.d.ts +2 -158
  263. package/es/message/src/Message.js +2 -2
  264. package/es/message/src/MessageProvider.d.ts +4 -9
  265. package/es/message/src/MessageProvider.js +2 -3
  266. package/es/message/src/context.d.ts +7 -0
  267. package/es/message/src/context.js +3 -0
  268. package/es/message/src/types.d.ts +1 -1
  269. package/es/message/src/use-message.js +1 -1
  270. package/es/modal/src/BodyWrapper.d.ts +5 -3
  271. package/es/modal/src/BodyWrapper.js +2 -2
  272. package/es/modal/src/Modal.d.ts +7 -4
  273. package/es/modal/src/Modal.js +2 -2
  274. package/es/modal/src/presetProps.d.ts +2 -1
  275. package/es/modal/src/presetProps.js +1 -1
  276. package/es/notification/index.d.ts +1 -1
  277. package/es/notification/src/Notification.d.ts +1 -2
  278. package/es/notification/src/Notification.js +3 -5
  279. package/es/notification/src/NotificationContainer.d.ts +1 -2
  280. package/es/notification/src/NotificationContainer.js +2 -2
  281. package/es/notification/src/NotificationEnvironment.d.ts +3 -4
  282. package/es/notification/src/NotificationEnvironment.js +3 -3
  283. package/es/notification/src/NotificationProvider.d.ts +10 -6
  284. package/es/notification/src/NotificationProvider.js +6 -6
  285. package/es/notification/src/context.d.ts +2 -0
  286. package/es/notification/src/context.js +2 -0
  287. package/es/page-header/src/PageHeader.js +1 -1
  288. package/es/pagination/src/Pagination.d.ts +33 -33
  289. package/es/pagination/src/Pagination.js +1 -1
  290. package/es/pagination/styles/light.d.ts +3 -3
  291. package/es/popconfirm/src/Popconfirm.d.ts +21 -8
  292. package/es/popconfirm/src/Popconfirm.js +1 -1
  293. package/es/popover/index.d.ts +1 -0
  294. package/es/popover/src/Popover.d.ts +21 -4
  295. package/es/popover/src/Popover.js +9 -2
  296. package/es/popover/src/PopoverBody.d.ts +4 -0
  297. package/es/popover/src/PopoverBody.js +13 -11
  298. package/es/popover/src/styles/index.cssr.js +2 -2
  299. package/es/popselect/src/Popselect.d.ts +31 -8
  300. package/es/popselect/src/Popselect.js +8 -6
  301. package/es/popselect/src/PopselectPanel.d.ts +2 -5
  302. package/es/popselect/src/PopselectPanel.js +4 -2
  303. package/es/progress/src/Circle.d.ts +19 -3
  304. package/es/progress/src/Circle.js +41 -22
  305. package/es/progress/src/Progress.d.ts +15 -6
  306. package/es/progress/src/Progress.js +44 -30
  307. package/es/progress/src/styles/index.cssr.js +1 -1
  308. package/es/radio/src/Radio.js +1 -1
  309. package/es/radio/src/RadioGroup.js +1 -1
  310. package/es/rate/src/Rate.js +1 -1
  311. package/es/result/src/Result.js +1 -1
  312. package/es/select/index.d.ts +2 -0
  313. package/es/select/src/Select.d.ts +71 -54
  314. package/es/select/src/Select.js +82 -47
  315. package/es/select/src/interface.d.ts +2 -0
  316. package/es/select/styles/light.d.ts +3 -3
  317. package/es/skeleton/src/Skeleton.js +1 -1
  318. package/es/slider/src/Slider.js +1 -1
  319. package/es/space/src/Space.js +1 -1
  320. package/es/spin/src/Spin.js +1 -1
  321. package/es/statistic/src/Statistic.js +1 -1
  322. package/es/steps/src/Steps.js +1 -1
  323. package/es/switch/src/Switch.js +1 -1
  324. package/es/table/src/Table.js +1 -1
  325. package/es/tabs/src/Tabs.d.ts +7 -4
  326. package/es/tabs/src/Tabs.js +12 -4
  327. package/es/tag/src/Tag.d.ts +3 -1
  328. package/es/tag/src/Tag.js +61 -41
  329. package/es/tag/src/styles/index.cssr.js +5 -17
  330. package/es/tag/styles/index.d.ts +1 -1
  331. package/es/tag/styles/index.js +1 -1
  332. package/es/tag/styles/rtl.d.ts +2 -5
  333. package/es/tag/styles/rtl.js +1 -1
  334. package/es/themes/dark.js +3 -0
  335. package/es/themes/light.js +3 -0
  336. package/es/themes/utils.d.ts +2 -1
  337. package/es/themes/utils.js +16 -4
  338. package/es/thing/src/Thing.js +1 -1
  339. package/es/time-picker/src/TimePicker.d.ts +7 -5
  340. package/es/time-picker/src/TimePicker.js +5 -5
  341. package/es/timeline/src/Timeline.js +1 -1
  342. package/es/tooltip/src/Tooltip.d.ts +20 -7
  343. package/es/tooltip/src/Tooltip.js +1 -1
  344. package/es/transfer/src/Transfer.d.ts +1 -1
  345. package/es/transfer/src/Transfer.js +1 -1
  346. package/es/tree/src/Tree.d.ts +6 -2
  347. package/es/tree/src/Tree.js +15 -8
  348. package/es/tree/src/TreeNode.d.ts +2 -0
  349. package/es/tree/src/TreeNode.js +37 -10
  350. package/es/tree/src/TreeNodeContent.d.ts +3 -1
  351. package/es/tree/src/TreeNodeContent.js +4 -3
  352. package/es/tree/src/interface.d.ts +5 -1
  353. package/es/tree/src/utils.js +1 -1
  354. package/es/tree-select/src/TreeSelect.d.ts +46 -44
  355. package/es/tree-select/src/TreeSelect.js +8 -5
  356. package/es/tree-select/styles/light.d.ts +3 -3
  357. package/es/typography/src/a.js +1 -1
  358. package/es/typography/src/blockquote.js +1 -1
  359. package/es/typography/src/create-header.js +1 -1
  360. package/es/typography/src/hr.js +1 -1
  361. package/es/typography/src/ol.js +1 -1
  362. package/es/typography/src/p.js +1 -1
  363. package/es/typography/src/text.js +1 -1
  364. package/es/typography/src/ul.js +1 -1
  365. package/es/upload/src/Upload.js +1 -1
  366. package/es/version.d.ts +1 -1
  367. package/es/version.js +1 -1
  368. package/lib/_internal/clear/src/Clear.js +3 -2
  369. package/lib/_internal/close/src/Close.js +1 -1
  370. package/lib/_internal/icon/src/Icon.js +1 -1
  371. package/lib/_internal/icons/ArrowUp.d.ts +2 -0
  372. package/lib/_internal/icons/ArrowUp.js +11 -0
  373. package/lib/_internal/icons/index.d.ts +1 -0
  374. package/lib/_internal/icons/index.js +3 -1
  375. package/lib/_internal/loading/src/Loading.js +1 -1
  376. package/lib/_internal/menu-mask/src/MenuMask.js +1 -1
  377. package/lib/_internal/scrollbar/src/ScrollBar.js +1 -1
  378. package/lib/_internal/select-menu/src/SelectMenu.d.ts +11 -6
  379. package/lib/_internal/select-menu/src/SelectMenu.js +47 -22
  380. package/lib/_internal/selection/src/Selection.d.ts +42 -29
  381. package/lib/_internal/selection/src/Selection.js +99 -92
  382. package/lib/_internal/selection/src/interface.d.ts +2 -2
  383. package/lib/_internal/selection/src/styles/index.cssr.js +15 -30
  384. package/lib/_internal/selection/styles/dark.js +3 -3
  385. package/lib/_internal/selection/styles/light.d.ts +6 -6
  386. package/lib/_internal/selection/styles/light.js +3 -3
  387. package/lib/_internal/slot-machine/src/SlotMachine.js +1 -1
  388. package/lib/_internal/wave/src/Wave.js +1 -1
  389. package/lib/_mixins/index.d.ts +1 -1
  390. package/lib/_mixins/index.js +3 -2
  391. package/lib/_mixins/use-config.js +2 -2
  392. package/lib/_mixins/use-css-vars-class.d.ts +11 -2
  393. package/lib/_mixins/use-css-vars-class.js +50 -22
  394. package/lib/_mixins/use-form-item.d.ts +4 -0
  395. package/lib/_mixins/use-form-item.js +7 -0
  396. package/lib/_mixins/use-hljs.js +2 -2
  397. package/lib/_mixins/use-locale.js +2 -2
  398. package/lib/_mixins/use-style.js +1 -1
  399. package/lib/_mixins/use-theme.d.ts +1 -1
  400. package/lib/_mixins/use-theme.js +3 -3
  401. package/lib/_utils/css/color-to-class.d.ts +1 -0
  402. package/lib/_utils/css/color-to-class.js +7 -0
  403. package/lib/_utils/css/format-length.d.ts +2 -2
  404. package/lib/_utils/css/format-length.js +2 -1
  405. package/lib/_utils/css/index.d.ts +2 -1
  406. package/lib/_utils/css/index.js +4 -5
  407. package/lib/_utils/cssr/index.d.ts +1 -2
  408. package/lib/_utils/cssr/index.js +1 -15
  409. package/lib/_utils/index.d.ts +2 -2
  410. package/lib/_utils/index.js +6 -1
  411. package/lib/_utils/vue/index.d.ts +1 -1
  412. package/lib/_utils/vue/index.js +4 -1
  413. package/lib/_utils/vue/resolve-slot.d.ts +8 -2
  414. package/lib/_utils/vue/resolve-slot.js +21 -2
  415. package/lib/affix/src/Affix.js +1 -1
  416. package/lib/alert/src/Alert.js +1 -1
  417. package/lib/anchor/src/AnchorAdapter.js +1 -1
  418. package/lib/auto-complete/src/AutoComplete.d.ts +16 -1
  419. package/lib/auto-complete/src/AutoComplete.js +9 -5
  420. package/lib/avatar/src/Avatar.js +3 -3
  421. package/lib/avatar/src/AvatarGroup.d.ts +0 -1
  422. package/lib/avatar/src/AvatarGroup.js +3 -5
  423. package/lib/avatar/src/context.d.ts +2 -0
  424. package/lib/avatar/src/context.js +5 -0
  425. package/lib/back-top/src/BackTop.js +1 -1
  426. package/lib/badge/src/Badge.js +1 -1
  427. package/lib/breadcrumb/src/Breadcrumb.js +1 -1
  428. package/lib/button/src/Button.d.ts +4 -2
  429. package/lib/button/src/Button.js +268 -243
  430. package/lib/button/src/ButtonGroup.js +1 -1
  431. package/lib/button/src/styles/button.cssr.js +1 -0
  432. package/lib/button/styles/index.d.ts +1 -1
  433. package/lib/button/styles/index.js +1 -1
  434. package/lib/button/styles/rtl.d.ts +2 -5
  435. package/lib/button/styles/rtl.js +2 -1
  436. package/lib/calendar/src/Calendar.js +1 -1
  437. package/lib/card/src/Card.d.ts +8 -2
  438. package/lib/card/src/Card.js +43 -39
  439. package/lib/card/styles/index.d.ts +1 -1
  440. package/lib/card/styles/index.js +1 -1
  441. package/lib/card/styles/rtl.d.ts +2 -5
  442. package/lib/card/styles/rtl.js +2 -1
  443. package/lib/carousel/src/Carousel.js +4 -1
  444. package/lib/carousel/src/CarouselArrow.js +5 -8
  445. package/lib/carousel/src/styles/index.cssr.js +59 -48
  446. package/lib/carousel/styles/light.js +2 -2
  447. package/lib/cascader/src/Cascader.d.ts +36 -34
  448. package/lib/cascader/src/Cascader.js +6 -6
  449. package/lib/cascader/src/CascaderMenu.d.ts +3 -3
  450. package/lib/cascader/src/CascaderOption.d.ts +3 -3
  451. package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -3
  452. package/lib/cascader/src/CascaderSubmenu.d.ts +3 -3
  453. package/lib/cascader/styles/light.d.ts +3 -3
  454. package/lib/checkbox/src/Checkbox.js +1 -1
  455. package/lib/checkbox/src/styles/index.cssr.js +12 -12
  456. package/lib/code/src/Code.js +1 -1
  457. package/lib/collapse/src/Collapse.js +1 -1
  458. package/lib/collapse-transition/src/CollapseTransition.js +1 -1
  459. package/lib/color-picker/src/ColorInputUnit.js +2 -2
  460. package/lib/color-picker/src/ColorPicker.d.ts +24 -17
  461. package/lib/color-picker/src/ColorPicker.js +8 -5
  462. package/lib/color-picker/src/ColorPickerTrigger.js +2 -2
  463. package/lib/color-picker/src/context.d.ts +9 -0
  464. package/lib/color-picker/src/context.js +5 -0
  465. package/lib/color-picker/src/styles/index.cssr.js +1 -0
  466. package/lib/components.d.ts +2 -1
  467. package/lib/components.js +2 -1
  468. package/lib/composables/use-theme-vars.js +2 -2
  469. package/lib/config-provider/src/ConfigProvider.d.ts +15 -3
  470. package/lib/config-provider/src/ConfigProvider.js +31 -5
  471. package/lib/config-provider/src/context.d.ts +2 -0
  472. package/lib/config-provider/src/context.js +5 -0
  473. package/lib/config-provider/src/interface.d.ts +2 -1
  474. package/lib/config-provider/src/internal-interface.d.ts +4 -0
  475. package/lib/data-table/src/DataTable.d.ts +33 -33
  476. package/lib/data-table/src/DataTable.js +1 -1
  477. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +6 -6
  478. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +6 -6
  479. package/lib/data-table/src/TableParts/Body.d.ts +6 -6
  480. package/lib/data-table/src/TableParts/Cell.d.ts +12 -12
  481. package/lib/data-table/src/TableParts/Header.d.ts +6 -6
  482. package/lib/data-table/src/interface.d.ts +2 -2
  483. package/lib/data-table/src/use-check.d.ts +2 -2
  484. package/lib/data-table/src/use-group-header.d.ts +1 -1
  485. package/lib/data-table/src/use-scroll.d.ts +1 -1
  486. package/lib/data-table/src/use-scroll.js +2 -2
  487. package/lib/data-table/src/use-sorter.d.ts +1 -1
  488. package/lib/data-table/src/use-table-data.d.ts +1 -1
  489. package/lib/data-table/src/utils.d.ts +2 -1
  490. package/lib/data-table/src/utils.js +15 -4
  491. package/lib/data-table/styles/light.d.ts +3 -3
  492. package/lib/date-picker/src/DatePicker.d.ts +2 -1
  493. package/lib/date-picker/src/DatePicker.js +6 -6
  494. package/lib/descriptions/src/Descriptions.d.ts +1 -1
  495. package/lib/descriptions/src/Descriptions.js +1 -1
  496. package/lib/dialog/index.d.ts +3 -3
  497. package/lib/dialog/index.js +2 -5
  498. package/lib/dialog/src/Dialog.d.ts +27 -60
  499. package/lib/dialog/src/Dialog.js +5 -32
  500. package/lib/dialog/src/DialogEnvironment.d.ts +8 -9
  501. package/lib/dialog/src/DialogEnvironment.js +6 -24
  502. package/lib/dialog/src/DialogProvider.d.ts +3 -5
  503. package/lib/dialog/src/DialogProvider.js +8 -12
  504. package/lib/dialog/src/context.d.ts +3 -0
  505. package/lib/dialog/src/context.js +6 -0
  506. package/lib/dialog/src/dialogProps.d.ts +32 -0
  507. package/lib/dialog/src/dialogProps.js +32 -0
  508. package/lib/dialog/src/use-dialog.js +2 -2
  509. package/lib/divider/src/Divider.js +1 -1
  510. package/lib/drawer/index.d.ts +1 -0
  511. package/lib/drawer/src/Drawer.js +1 -1
  512. package/lib/dropdown/src/Dropdown.d.ts +17 -5
  513. package/lib/dropdown/src/Dropdown.js +6 -6
  514. package/lib/dropdown/src/DropdownGroup.js +1 -0
  515. package/lib/dropdown/src/DropdownGroupHeader.js +3 -4
  516. package/lib/dropdown/src/DropdownMenu.d.ts +0 -1
  517. package/lib/dropdown/src/DropdownMenu.js +6 -7
  518. package/lib/dropdown/src/DropdownOption.d.ts +3 -0
  519. package/lib/dropdown/src/DropdownOption.js +9 -25
  520. package/lib/dropdown/src/context.d.ts +6 -0
  521. package/lib/dropdown/src/context.js +7 -0
  522. package/lib/dropdown/src/interface.d.ts +1 -1
  523. package/lib/dynamic-input/src/DynamicInput.d.ts +10 -1
  524. package/lib/dynamic-input/src/DynamicInput.js +59 -16
  525. package/lib/dynamic-tags/src/DynamicTags.d.ts +7 -16
  526. package/lib/dynamic-tags/src/DynamicTags.js +12 -14
  527. package/lib/element/src/Element.js +1 -1
  528. package/lib/ellipsis/src/Ellipsis.js +1 -1
  529. package/lib/empty/src/Empty.js +3 -3
  530. package/lib/form/src/Form.d.ts +1 -1
  531. package/lib/form/src/Form.js +4 -4
  532. package/lib/form/src/FormItem.d.ts +1 -1
  533. package/lib/form/src/FormItem.js +5 -4
  534. package/lib/form/src/FormItemCol.d.ts +1 -1
  535. package/lib/form/src/FormItemGridItem.d.ts +1 -1
  536. package/lib/form/src/context.d.ts +3 -0
  537. package/lib/form/src/context.js +6 -0
  538. package/lib/form/src/interface.d.ts +4 -3
  539. package/lib/form/src/interface.js +0 -4
  540. package/lib/form/src/styles/form-item.cssr.js +3 -2
  541. package/lib/form/src/utils.js +4 -4
  542. package/lib/global-style/src/GlobalStyle.js +2 -2
  543. package/lib/gradient-text/src/GradientText.js +1 -1
  544. package/lib/grid/src/Grid.d.ts +0 -1
  545. package/lib/grid/src/Grid.js +4 -6
  546. package/lib/grid/src/GridItem.js +2 -2
  547. package/lib/grid/src/config.d.ts +3 -0
  548. package/lib/grid/src/config.js +6 -0
  549. package/lib/icon/index.d.ts +1 -1
  550. package/lib/icon/index.js +1 -4
  551. package/lib/icon/src/Icon.d.ts +1 -2
  552. package/lib/icon/src/Icon.js +3 -2
  553. package/lib/icon-wrapper/index.d.ts +1 -0
  554. package/lib/icon-wrapper/index.js +5 -0
  555. package/lib/icon-wrapper/src/IconWrapper.d.ts +50 -0
  556. package/lib/icon-wrapper/src/IconWrapper.js +56 -0
  557. package/lib/icon-wrapper/src/styles/index.cssr.d.ts +2 -0
  558. package/lib/icon-wrapper/src/styles/index.cssr.js +23 -0
  559. package/lib/icon-wrapper/styles/dark.d.ts +3 -0
  560. package/lib/icon-wrapper/styles/dark.js +10 -0
  561. package/lib/icon-wrapper/styles/index.d.ts +3 -0
  562. package/lib/icon-wrapper/styles/index.js +10 -0
  563. package/lib/icon-wrapper/styles/light.d.ts +10 -0
  564. package/lib/icon-wrapper/styles/light.js +18 -0
  565. package/lib/image/src/Image.d.ts +1 -1
  566. package/lib/image/src/ImagePreview.js +1 -1
  567. package/lib/input/src/Input.d.ts +6 -1
  568. package/lib/input/src/Input.js +20 -16
  569. package/lib/input/src/InputGroup.js +1 -1
  570. package/lib/input/src/InputGroupLabel.js +1 -1
  571. package/lib/input/src/WordCount.js +9 -8
  572. package/lib/input/src/styles/input.cssr.js +4 -4
  573. package/lib/input-number/src/InputNumber.d.ts +2 -1
  574. package/lib/input-number/src/InputNumber.js +23 -21
  575. package/lib/layout/src/Layout.js +1 -1
  576. package/lib/layout/src/LayoutFooter.js +1 -1
  577. package/lib/layout/src/LayoutHeader.js +1 -1
  578. package/lib/layout/src/LayoutSider.js +1 -1
  579. package/lib/legacy-grid/src/Col.js +0 -6
  580. package/lib/legacy-grid/src/Row.js +1 -1
  581. package/lib/list/src/List.js +1 -1
  582. package/lib/loading-bar/src/LoadingBar.js +3 -3
  583. package/lib/loading-bar/src/LoadingBarProvider.d.ts +3 -8
  584. package/lib/loading-bar/src/LoadingBarProvider.js +3 -6
  585. package/lib/loading-bar/src/context.d.ts +7 -0
  586. package/lib/loading-bar/src/context.js +6 -0
  587. package/lib/loading-bar/src/use-loading-bar.js +2 -2
  588. package/lib/locales/common/deDE.js +13 -15
  589. package/lib/locales/common/enGB.d.ts +109 -0
  590. package/lib/locales/common/enGB.js +111 -0
  591. package/lib/locales/common/eo.d.ts +109 -0
  592. package/lib/locales/common/eo.js +111 -0
  593. package/lib/locales/common/jaJP.js +12 -14
  594. package/lib/locales/common/plPL.d.ts +3 -0
  595. package/lib/locales/common/plPL.js +111 -0
  596. package/lib/locales/date/enGB.d.ts +3 -0
  597. package/lib/locales/date/enGB.js +11 -0
  598. package/lib/locales/date/eo.d.ts +3 -0
  599. package/lib/locales/date/eo.js +11 -0
  600. package/lib/locales/date/plPL.d.ts +3 -0
  601. package/lib/locales/date/plPL.js +11 -0
  602. package/lib/locales/index.d.ts +6 -0
  603. package/lib/locales/index.js +13 -1
  604. package/lib/log/index.d.ts +1 -1
  605. package/lib/log/src/Log.d.ts +17 -12
  606. package/lib/log/src/Log.js +10 -18
  607. package/lib/log/src/LogLine.js +2 -2
  608. package/lib/log/src/context.d.ts +2 -0
  609. package/lib/log/src/context.js +5 -0
  610. package/lib/log/src/styles/index.cssr.js +2 -3
  611. package/lib/mention/src/Mention.d.ts +16 -1
  612. package/lib/mention/src/Mention.js +7 -3
  613. package/lib/menu/src/Menu.d.ts +3 -5
  614. package/lib/menu/src/Menu.js +3 -4
  615. package/lib/menu/src/MenuDivider.js +2 -2
  616. package/lib/menu/src/MenuOption.d.ts +1 -2
  617. package/lib/menu/src/MenuOption.js +2 -2
  618. package/lib/menu/src/MenuOptionContent.js +2 -2
  619. package/lib/menu/src/MenuOptionGroup.d.ts +1 -4
  620. package/lib/menu/src/MenuOptionGroup.js +7 -8
  621. package/lib/menu/src/Submenu.d.ts +1 -4
  622. package/lib/menu/src/Submenu.js +6 -7
  623. package/lib/menu/src/context.d.ts +4 -0
  624. package/lib/menu/src/context.js +7 -0
  625. package/lib/menu/src/use-menu-child.js +4 -6
  626. package/lib/menu/src/useCheckDeprecated.d.ts +1 -1
  627. package/lib/menu/src/utils.d.ts +1 -1
  628. package/lib/menu/src/utils.js +8 -25
  629. package/lib/message/src/Message.d.ts +2 -158
  630. package/lib/message/src/Message.js +3 -3
  631. package/lib/message/src/MessageProvider.d.ts +4 -9
  632. package/lib/message/src/MessageProvider.js +3 -5
  633. package/lib/message/src/context.d.ts +7 -0
  634. package/lib/message/src/context.js +6 -0
  635. package/lib/message/src/types.d.ts +1 -1
  636. package/lib/message/src/use-message.js +2 -2
  637. package/lib/modal/src/BodyWrapper.d.ts +5 -3
  638. package/lib/modal/src/BodyWrapper.js +3 -3
  639. package/lib/modal/src/Modal.d.ts +7 -4
  640. package/lib/modal/src/Modal.js +3 -3
  641. package/lib/modal/src/presetProps.d.ts +2 -1
  642. package/lib/modal/src/presetProps.js +2 -2
  643. package/lib/notification/index.d.ts +1 -1
  644. package/lib/notification/src/Notification.d.ts +1 -2
  645. package/lib/notification/src/Notification.js +5 -7
  646. package/lib/notification/src/NotificationContainer.d.ts +1 -2
  647. package/lib/notification/src/NotificationContainer.js +4 -3
  648. package/lib/notification/src/NotificationEnvironment.d.ts +3 -4
  649. package/lib/notification/src/NotificationEnvironment.js +4 -23
  650. package/lib/notification/src/NotificationProvider.d.ts +10 -6
  651. package/lib/notification/src/NotificationProvider.js +9 -9
  652. package/lib/notification/src/context.d.ts +2 -0
  653. package/lib/notification/src/context.js +5 -0
  654. package/lib/page-header/src/PageHeader.js +1 -1
  655. package/lib/pagination/src/Pagination.d.ts +33 -33
  656. package/lib/pagination/src/Pagination.js +1 -1
  657. package/lib/pagination/styles/light.d.ts +3 -3
  658. package/lib/popconfirm/src/Popconfirm.d.ts +21 -8
  659. package/lib/popconfirm/src/Popconfirm.js +1 -1
  660. package/lib/popover/index.d.ts +1 -0
  661. package/lib/popover/src/Popover.d.ts +21 -4
  662. package/lib/popover/src/Popover.js +9 -2
  663. package/lib/popover/src/PopoverBody.d.ts +4 -0
  664. package/lib/popover/src/PopoverBody.js +11 -9
  665. package/lib/popover/src/styles/index.cssr.js +2 -2
  666. package/lib/popselect/src/Popselect.d.ts +31 -8
  667. package/lib/popselect/src/Popselect.js +8 -6
  668. package/lib/popselect/src/PopselectPanel.d.ts +2 -5
  669. package/lib/popselect/src/PopselectPanel.js +4 -2
  670. package/lib/progress/src/Circle.d.ts +19 -3
  671. package/lib/progress/src/Circle.js +40 -21
  672. package/lib/progress/src/Progress.d.ts +15 -6
  673. package/lib/progress/src/Progress.js +43 -29
  674. package/lib/progress/src/styles/index.cssr.js +1 -1
  675. package/lib/radio/src/Radio.js +1 -1
  676. package/lib/radio/src/RadioGroup.js +1 -1
  677. package/lib/rate/src/Rate.js +1 -1
  678. package/lib/result/src/Result.js +1 -1
  679. package/lib/select/index.d.ts +2 -0
  680. package/lib/select/src/Select.d.ts +71 -54
  681. package/lib/select/src/Select.js +82 -47
  682. package/lib/select/src/interface.d.ts +2 -0
  683. package/lib/select/styles/light.d.ts +3 -3
  684. package/lib/skeleton/src/Skeleton.js +1 -1
  685. package/lib/slider/src/Slider.js +1 -1
  686. package/lib/space/src/Space.js +1 -1
  687. package/lib/spin/src/Spin.js +1 -1
  688. package/lib/statistic/src/Statistic.js +1 -1
  689. package/lib/steps/src/Steps.js +1 -1
  690. package/lib/switch/src/Switch.js +1 -1
  691. package/lib/table/src/Table.js +1 -1
  692. package/lib/tabs/src/Tabs.d.ts +7 -4
  693. package/lib/tabs/src/Tabs.js +12 -4
  694. package/lib/tag/src/Tag.d.ts +3 -1
  695. package/lib/tag/src/Tag.js +59 -39
  696. package/lib/tag/src/styles/index.cssr.js +5 -17
  697. package/lib/tag/styles/index.d.ts +1 -1
  698. package/lib/tag/styles/index.js +1 -1
  699. package/lib/tag/styles/rtl.d.ts +2 -5
  700. package/lib/tag/styles/rtl.js +2 -1
  701. package/lib/themes/dark.js +87 -84
  702. package/lib/themes/light.js +87 -84
  703. package/lib/themes/utils.d.ts +2 -1
  704. package/lib/themes/utils.js +16 -4
  705. package/lib/thing/src/Thing.js +1 -1
  706. package/lib/time-picker/src/TimePicker.d.ts +7 -5
  707. package/lib/time-picker/src/TimePicker.js +5 -5
  708. package/lib/timeline/src/Timeline.js +1 -1
  709. package/lib/tooltip/src/Tooltip.d.ts +20 -7
  710. package/lib/tooltip/src/Tooltip.js +1 -1
  711. package/lib/transfer/src/Transfer.d.ts +1 -1
  712. package/lib/transfer/src/Transfer.js +1 -1
  713. package/lib/tree/src/Tree.d.ts +6 -2
  714. package/lib/tree/src/Tree.js +15 -8
  715. package/lib/tree/src/TreeNode.d.ts +2 -0
  716. package/lib/tree/src/TreeNode.js +37 -10
  717. package/lib/tree/src/TreeNodeContent.d.ts +3 -1
  718. package/lib/tree/src/TreeNodeContent.js +4 -3
  719. package/lib/tree/src/interface.d.ts +5 -1
  720. package/lib/tree/src/utils.js +1 -1
  721. package/lib/tree-select/src/TreeSelect.d.ts +46 -44
  722. package/lib/tree-select/src/TreeSelect.js +8 -5
  723. package/lib/tree-select/styles/light.d.ts +3 -3
  724. package/lib/typography/src/a.js +1 -1
  725. package/lib/typography/src/blockquote.js +1 -1
  726. package/lib/typography/src/create-header.js +1 -1
  727. package/lib/typography/src/hr.js +1 -1
  728. package/lib/typography/src/ol.js +1 -1
  729. package/lib/typography/src/p.js +1 -1
  730. package/lib/typography/src/text.js +1 -1
  731. package/lib/typography/src/ul.js +1 -1
  732. package/lib/upload/src/Upload.js +1 -1
  733. package/lib/version.d.ts +1 -1
  734. package/lib/version.js +1 -1
  735. package/package.json +8 -9
  736. package/volar.d.ts +1 -0
  737. package/web-types.json +452 -220
@@ -49,7 +49,7 @@ exports.default = (0, cssr_1.cB)('tag', `
49
49
  color .3s var(--n-bezier),
50
50
  box-shadow .3s var(--n-bezier),
51
51
  opacity .3s var(--n-bezier);
52
- line-height: 1.2;
52
+ line-height: 1;
53
53
  height: var(--n-height);
54
54
  font-size: var(--n-font-size);
55
55
  `, [(0, cssr_1.cE)('border', `
@@ -83,19 +83,7 @@ exports.default = (0, cssr_1.cB)('tag', `
83
83
  box-shadow: none;
84
84
  color: var(--n-text-color-checkable);
85
85
  background-color: var(--n-color-checkable);
86
- `, [(0, cssr_1.cNotM)('disabled', [(0, cssr_1.c)('&:hover', {
87
- backgroundColor: 'var(--n-color-hover-checkable)'
88
- }, [(0, cssr_1.cNotM)('checked', {
89
- color: 'var(--n-text-color-hover-checkable)'
90
- })]), (0, cssr_1.c)('&:active', {
91
- backgroundColor: 'var(--n-color-pressed-checkable)'
92
- }, [(0, cssr_1.cNotM)('checked', {
93
- color: 'var(--n-text-color-pressed-checkable)'
94
- })])]), (0, cssr_1.cM)('checked', {
95
- color: 'var(--n-text-color-checked)',
96
- backgroundColor: 'var(--n-color-checked)'
97
- }, [(0, cssr_1.cNotM)('disabled', [(0, cssr_1.c)('&:hover', {
98
- backgroundColor: 'var(--n-color-checked-hover)'
99
- }), (0, cssr_1.c)('&:active', {
100
- backgroundColor: 'var(--n-color-checked-pressed)'
101
- })])])])]);
86
+ `, [(0, cssr_1.cNotM)('disabled', [(0, cssr_1.c)('&:hover', 'background-color: var(--n-color-hover-checkable);', [(0, cssr_1.cNotM)('checked', 'color: var(--n-text-color-hover-checkable);')]), (0, cssr_1.c)('&:active', 'background-color: var(--n-color-pressed-checkable);', [(0, cssr_1.cNotM)('checked', 'color: var(--n-text-color-pressed-checkable);')])]), (0, cssr_1.cM)('checked', `
87
+ color: var(--n-text-color-checked);
88
+ background-color: var(--n-color-checked);
89
+ `, [(0, cssr_1.cNotM)('disabled', [(0, cssr_1.c)('&:hover', 'background-color: var(--n-color-checked-hover);'), (0, cssr_1.c)('&:active', 'background-color: var(--n-color-checked-pressed);')])])])]);
@@ -1,4 +1,4 @@
1
1
  export { default as tagDark } from './dark';
2
2
  export { default as tagLight } from './light';
3
- export { default as tagRtl } from './rtl';
3
+ export { tagRtl } from './rtl';
4
4
  export type { TagThemeVars, TagTheme } from './light';
@@ -9,4 +9,4 @@ Object.defineProperty(exports, "tagDark", { enumerable: true, get: function () {
9
9
  var light_1 = require("./light");
10
10
  Object.defineProperty(exports, "tagLight", { enumerable: true, get: function () { return __importDefault(light_1).default; } });
11
11
  var rtl_1 = require("./rtl");
12
- Object.defineProperty(exports, "tagRtl", { enumerable: true, get: function () { return __importDefault(rtl_1).default; } });
12
+ Object.defineProperty(exports, "tagRtl", { enumerable: true, get: function () { return rtl_1.tagRtl; } });
@@ -1,5 +1,2 @@
1
- declare const _default: {
2
- name: string;
3
- style: import("css-render").CNode;
4
- };
5
- export default _default;
1
+ import type { RtlItem } from '../../config-provider/src/internal-interface';
2
+ export declare const tagRtl: RtlItem;
@@ -3,8 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.tagRtl = void 0;
6
7
  const rtl_cssr_1 = __importDefault(require("../src/styles/rtl.cssr"));
7
- exports.default = {
8
+ exports.tagRtl = {
8
9
  name: 'Tag',
9
10
  style: rtl_cssr_1.default
10
11
  };
@@ -34,49 +34,51 @@ const styles_29 = require("../empty/styles");
34
34
  const styles_30 = require("../form/styles");
35
35
  const styles_31 = require("../gradient-text/styles");
36
36
  const styles_32 = require("../icon/styles");
37
- const styles_33 = require("../image/styles");
38
- const styles_34 = require("../input/styles");
39
- const styles_35 = require("../input-number/styles");
40
- const styles_36 = require("../layout/styles");
41
- const styles_37 = require("../list/styles");
42
- const styles_38 = require("../loading-bar/styles");
43
- const styles_39 = require("../log/styles");
44
- const styles_40 = require("../menu/styles");
45
- const styles_41 = require("../mention/styles");
46
- const styles_42 = require("../message/styles");
47
- const styles_43 = require("../modal/styles");
48
- const styles_44 = require("../notification/styles");
49
- const styles_45 = require("../page-header/styles");
50
- const styles_46 = require("../pagination/styles");
51
- const styles_47 = require("../popconfirm/styles");
52
- const styles_48 = require("../popover/styles");
53
- const styles_49 = require("../popselect/styles");
54
- const styles_50 = require("../progress/styles");
55
- const styles_51 = require("../radio/styles");
56
- const styles_52 = require("../rate/styles");
57
- const styles_53 = require("../result/styles");
58
- const styles_54 = require("../_internal/scrollbar/styles");
59
- const styles_55 = require("../select/styles");
60
- const styles_56 = require("../skeleton/styles");
61
- const styles_57 = require("../slider/styles");
62
- const styles_58 = require("../space/styles");
63
- const styles_59 = require("../spin/styles");
64
- const styles_60 = require("../statistic/styles");
65
- const styles_61 = require("../steps/styles");
66
- const styles_62 = require("../switch/styles");
67
- const styles_63 = require("../table/styles");
68
- const styles_64 = require("../tabs/styles");
69
- const styles_65 = require("../tag/styles");
70
- const styles_66 = require("../thing/styles");
71
- const styles_67 = require("../time-picker/styles");
72
- const styles_68 = require("../timeline/styles");
73
- const styles_69 = require("../tooltip/styles");
74
- const styles_70 = require("../transfer/styles");
75
- const styles_71 = require("../tree-select/styles");
76
- const styles_72 = require("../typography/styles");
77
- const styles_73 = require("../tree/styles");
78
- const styles_74 = require("../upload/styles");
37
+ const styles_33 = require("../icon-wrapper/styles");
38
+ const styles_34 = require("../image/styles");
39
+ const styles_35 = require("../input/styles");
40
+ const styles_36 = require("../input-number/styles");
41
+ const styles_37 = require("../layout/styles");
42
+ const styles_38 = require("../list/styles");
43
+ const styles_39 = require("../loading-bar/styles");
44
+ const styles_40 = require("../log/styles");
45
+ const styles_41 = require("../menu/styles");
46
+ const styles_42 = require("../mention/styles");
47
+ const styles_43 = require("../message/styles");
48
+ const styles_44 = require("../modal/styles");
49
+ const styles_45 = require("../notification/styles");
50
+ const styles_46 = require("../page-header/styles");
51
+ const styles_47 = require("../pagination/styles");
52
+ const styles_48 = require("../popconfirm/styles");
53
+ const styles_49 = require("../popover/styles");
54
+ const styles_50 = require("../popselect/styles");
55
+ const styles_51 = require("../progress/styles");
56
+ const styles_52 = require("../radio/styles");
57
+ const styles_53 = require("../rate/styles");
58
+ const styles_54 = require("../result/styles");
59
+ const styles_55 = require("../_internal/scrollbar/styles");
60
+ const styles_56 = require("../select/styles");
61
+ const styles_57 = require("../skeleton/styles");
62
+ const styles_58 = require("../slider/styles");
63
+ const styles_59 = require("../space/styles");
64
+ const styles_60 = require("../spin/styles");
65
+ const styles_61 = require("../statistic/styles");
66
+ const styles_62 = require("../steps/styles");
67
+ const styles_63 = require("../switch/styles");
68
+ const styles_64 = require("../table/styles");
69
+ const styles_65 = require("../tabs/styles");
70
+ const styles_66 = require("../tag/styles");
71
+ const styles_67 = require("../thing/styles");
72
+ const styles_68 = require("../time-picker/styles");
73
+ const styles_69 = require("../timeline/styles");
74
+ const styles_70 = require("../tooltip/styles");
75
+ const styles_71 = require("../transfer/styles");
76
+ const styles_72 = require("../tree-select/styles");
77
+ const styles_73 = require("../typography/styles");
78
+ const styles_74 = require("../tree/styles");
79
+ const styles_75 = require("../upload/styles");
79
80
  exports.darkTheme = {
81
+ name: 'dark',
80
82
  common: common_1.commonDark,
81
83
  Alert: styles_1.alertDark,
82
84
  Anchor: styles_2.anchorDark,
@@ -110,46 +112,47 @@ exports.darkTheme = {
110
112
  Form: styles_30.formDark,
111
113
  GradientText: styles_31.gradientTextDark,
112
114
  Icon: styles_32.iconDark,
113
- Image: styles_33.imageDark,
114
- Input: styles_34.inputDark,
115
- InputNumber: styles_35.inputNumberDark,
116
- Layout: styles_36.layoutDark,
117
- List: styles_37.listDark,
118
- LoadingBar: styles_38.loadingBarDark,
119
- Log: styles_39.logDark,
120
- Menu: styles_40.menuDark,
121
- Mention: styles_41.mentionDark,
122
- Message: styles_42.messageDark,
123
- Modal: styles_43.modalDark,
124
- Notification: styles_44.notificationDark,
125
- PageHeader: styles_45.pageHeaderDark,
126
- Pagination: styles_46.paginationDark,
127
- Popconfirm: styles_47.popconfirmDark,
128
- Popover: styles_48.popoverDark,
129
- Popselect: styles_49.popselectDark,
130
- Progress: styles_50.progressDark,
131
- Radio: styles_51.radioDark,
132
- Rate: styles_52.rateDark,
133
- Result: styles_53.resultDark,
134
- Scrollbar: styles_54.scrollbarDark,
135
- Select: styles_55.selectDark,
136
- Skeleton: styles_56.skeletonDark,
137
- Slider: styles_57.sliderDark,
138
- Space: styles_58.spaceDark,
139
- Spin: styles_59.spinDark,
140
- Statistic: styles_60.statisticDark,
141
- Steps: styles_61.stepsDark,
142
- Switch: styles_62.switchDark,
143
- Table: styles_63.tableDark,
144
- Tabs: styles_64.tabsDark,
145
- Tag: styles_65.tagDark,
146
- Thing: styles_66.thingDark,
147
- TimePicker: styles_67.timePickerDark,
148
- Timeline: styles_68.timelineDark,
149
- Tooltip: styles_69.tooltipDark,
150
- Transfer: styles_70.transferDark,
151
- Tree: styles_73.treeDark,
152
- TreeSelect: styles_71.treeSelectDark,
153
- Typography: styles_72.typographyDark,
154
- Upload: styles_74.uploadDark
115
+ IconWrapper: styles_33.iconWrapperDark,
116
+ Image: styles_34.imageDark,
117
+ Input: styles_35.inputDark,
118
+ InputNumber: styles_36.inputNumberDark,
119
+ Layout: styles_37.layoutDark,
120
+ List: styles_38.listDark,
121
+ LoadingBar: styles_39.loadingBarDark,
122
+ Log: styles_40.logDark,
123
+ Menu: styles_41.menuDark,
124
+ Mention: styles_42.mentionDark,
125
+ Message: styles_43.messageDark,
126
+ Modal: styles_44.modalDark,
127
+ Notification: styles_45.notificationDark,
128
+ PageHeader: styles_46.pageHeaderDark,
129
+ Pagination: styles_47.paginationDark,
130
+ Popconfirm: styles_48.popconfirmDark,
131
+ Popover: styles_49.popoverDark,
132
+ Popselect: styles_50.popselectDark,
133
+ Progress: styles_51.progressDark,
134
+ Radio: styles_52.radioDark,
135
+ Rate: styles_53.rateDark,
136
+ Result: styles_54.resultDark,
137
+ Scrollbar: styles_55.scrollbarDark,
138
+ Select: styles_56.selectDark,
139
+ Skeleton: styles_57.skeletonDark,
140
+ Slider: styles_58.sliderDark,
141
+ Space: styles_59.spaceDark,
142
+ Spin: styles_60.spinDark,
143
+ Statistic: styles_61.statisticDark,
144
+ Steps: styles_62.stepsDark,
145
+ Switch: styles_63.switchDark,
146
+ Table: styles_64.tableDark,
147
+ Tabs: styles_65.tabsDark,
148
+ Tag: styles_66.tagDark,
149
+ Thing: styles_67.thingDark,
150
+ TimePicker: styles_68.timePickerDark,
151
+ Timeline: styles_69.timelineDark,
152
+ Tooltip: styles_70.tooltipDark,
153
+ Transfer: styles_71.transferDark,
154
+ Tree: styles_74.treeDark,
155
+ TreeSelect: styles_72.treeSelectDark,
156
+ Typography: styles_73.typographyDark,
157
+ Upload: styles_75.uploadDark
155
158
  };
@@ -36,49 +36,51 @@ const styles_29 = require("../empty/styles");
36
36
  const styles_30 = require("../form/styles");
37
37
  const styles_31 = require("../gradient-text/styles");
38
38
  const styles_32 = require("../icon/styles");
39
- const styles_33 = require("../image/styles");
40
- const styles_34 = require("../input/styles");
41
- const styles_35 = require("../input-number/styles");
42
- const styles_36 = require("../layout/styles");
43
- const styles_37 = require("../list/styles");
44
- const styles_38 = require("../loading-bar/styles");
45
- const styles_39 = require("../log/styles");
46
- const styles_40 = require("../menu/styles");
47
- const styles_41 = require("../mention/styles");
48
- const styles_42 = require("../message/styles");
49
- const styles_43 = require("../modal/styles");
50
- const styles_44 = require("../notification/styles");
51
- const styles_45 = require("../page-header/styles");
52
- const styles_46 = require("../pagination/styles");
53
- const styles_47 = require("../popconfirm/styles");
54
- const styles_48 = require("../popover/styles");
55
- const styles_49 = require("../popselect/styles");
56
- const styles_50 = require("../progress/styles");
57
- const styles_51 = require("../radio/styles");
58
- const styles_52 = require("../rate/styles");
59
- const styles_53 = require("../result/styles");
60
- const styles_54 = require("../_internal/scrollbar/styles");
61
- const styles_55 = require("../select/styles");
62
- const styles_56 = require("../skeleton/styles");
63
- const styles_57 = require("../slider/styles");
64
- const styles_58 = require("../space/styles");
65
- const styles_59 = require("../spin/styles");
66
- const styles_60 = require("../statistic/styles");
67
- const styles_61 = require("../steps/styles");
68
- const styles_62 = require("../switch/styles");
69
- const styles_63 = require("../table/styles");
70
- const styles_64 = require("../tabs/styles");
71
- const styles_65 = require("../tag/styles");
72
- const styles_66 = require("../thing/styles");
73
- const styles_67 = require("../time-picker/styles");
74
- const styles_68 = require("../timeline/styles");
75
- const styles_69 = require("../tooltip/styles");
76
- const styles_70 = require("../transfer/styles");
77
- const styles_71 = require("../typography/styles");
78
- const styles_72 = require("../tree/styles");
79
- const styles_73 = require("../tree-select/styles");
80
- const styles_74 = require("../upload/styles");
39
+ const styles_33 = require("../icon-wrapper/styles");
40
+ const styles_34 = require("../image/styles");
41
+ const styles_35 = require("../input/styles");
42
+ const styles_36 = require("../input-number/styles");
43
+ const styles_37 = require("../layout/styles");
44
+ const styles_38 = require("../list/styles");
45
+ const styles_39 = require("../loading-bar/styles");
46
+ const styles_40 = require("../log/styles");
47
+ const styles_41 = require("../menu/styles");
48
+ const styles_42 = require("../mention/styles");
49
+ const styles_43 = require("../message/styles");
50
+ const styles_44 = require("../modal/styles");
51
+ const styles_45 = require("../notification/styles");
52
+ const styles_46 = require("../page-header/styles");
53
+ const styles_47 = require("../pagination/styles");
54
+ const styles_48 = require("../popconfirm/styles");
55
+ const styles_49 = require("../popover/styles");
56
+ const styles_50 = require("../popselect/styles");
57
+ const styles_51 = require("../progress/styles");
58
+ const styles_52 = require("../radio/styles");
59
+ const styles_53 = require("../rate/styles");
60
+ const styles_54 = require("../result/styles");
61
+ const styles_55 = require("../_internal/scrollbar/styles");
62
+ const styles_56 = require("../select/styles");
63
+ const styles_57 = require("../skeleton/styles");
64
+ const styles_58 = require("../slider/styles");
65
+ const styles_59 = require("../space/styles");
66
+ const styles_60 = require("../spin/styles");
67
+ const styles_61 = require("../statistic/styles");
68
+ const styles_62 = require("../steps/styles");
69
+ const styles_63 = require("../switch/styles");
70
+ const styles_64 = require("../table/styles");
71
+ const styles_65 = require("../tabs/styles");
72
+ const styles_66 = require("../tag/styles");
73
+ const styles_67 = require("../thing/styles");
74
+ const styles_68 = require("../time-picker/styles");
75
+ const styles_69 = require("../timeline/styles");
76
+ const styles_70 = require("../tooltip/styles");
77
+ const styles_71 = require("../transfer/styles");
78
+ const styles_72 = require("../typography/styles");
79
+ const styles_73 = require("../tree/styles");
80
+ const styles_74 = require("../tree-select/styles");
81
+ const styles_75 = require("../upload/styles");
81
82
  exports.lightTheme = {
83
+ name: 'light',
82
84
  common: common_1.commonLight,
83
85
  Alert: styles_1.alertLight,
84
86
  Anchor: styles_2.anchorLight,
@@ -112,46 +114,47 @@ exports.lightTheme = {
112
114
  Form: styles_30.formLight,
113
115
  GradientText: styles_31.gradientTextLight,
114
116
  Icon: styles_32.iconLight,
115
- Image: styles_33.imageLight,
116
- Input: styles_34.inputLight,
117
- InputNumber: styles_35.inputNumberLight,
118
- Layout: styles_36.layoutLight,
119
- List: styles_37.listLight,
120
- LoadingBar: styles_38.loadingBarLight,
121
- Log: styles_39.logLight,
122
- Menu: styles_40.menuLight,
123
- Mention: styles_41.mentionLight,
124
- Message: styles_42.messageLight,
125
- Modal: styles_43.modalLight,
126
- Notification: styles_44.notificationLight,
127
- PageHeader: styles_45.pageHeaderLight,
128
- Pagination: styles_46.paginationLight,
129
- Popconfirm: styles_47.popconfirmLight,
130
- Popover: styles_48.popoverLight,
131
- Popselect: styles_49.popselectLight,
132
- Progress: styles_50.progressLight,
133
- Radio: styles_51.radioLight,
134
- Rate: styles_52.rateLight,
135
- Result: styles_53.resultLight,
136
- Scrollbar: styles_54.scrollbarLight,
137
- Skeleton: styles_56.skeletonLight,
138
- Select: styles_55.selectLight,
139
- Slider: styles_57.sliderLight,
140
- Space: styles_58.spaceLight,
141
- Spin: styles_59.spinLight,
142
- Statistic: styles_60.statisticLight,
143
- Steps: styles_61.stepsLight,
144
- Switch: styles_62.switchLight,
145
- Table: styles_63.tableLight,
146
- Tabs: styles_64.tabsLight,
147
- Tag: styles_65.tagLight,
148
- Thing: styles_66.thingLight,
149
- TimePicker: styles_67.timePickerLight,
150
- Timeline: styles_68.timelineLight,
151
- Tooltip: styles_69.tooltipLight,
152
- Transfer: styles_70.transferLight,
153
- Tree: styles_72.treeLight,
154
- TreeSelect: styles_73.treeSelectLight,
155
- Typography: styles_71.typographyLight,
156
- Upload: styles_74.uploadLight
117
+ IconWrapper: styles_33.iconWrapperLight,
118
+ Image: styles_34.imageLight,
119
+ Input: styles_35.inputLight,
120
+ InputNumber: styles_36.inputNumberLight,
121
+ Layout: styles_37.layoutLight,
122
+ List: styles_38.listLight,
123
+ LoadingBar: styles_39.loadingBarLight,
124
+ Log: styles_40.logLight,
125
+ Menu: styles_41.menuLight,
126
+ Mention: styles_42.mentionLight,
127
+ Message: styles_43.messageLight,
128
+ Modal: styles_44.modalLight,
129
+ Notification: styles_45.notificationLight,
130
+ PageHeader: styles_46.pageHeaderLight,
131
+ Pagination: styles_47.paginationLight,
132
+ Popconfirm: styles_48.popconfirmLight,
133
+ Popover: styles_49.popoverLight,
134
+ Popselect: styles_50.popselectLight,
135
+ Progress: styles_51.progressLight,
136
+ Radio: styles_52.radioLight,
137
+ Rate: styles_53.rateLight,
138
+ Result: styles_54.resultLight,
139
+ Scrollbar: styles_55.scrollbarLight,
140
+ Skeleton: styles_57.skeletonLight,
141
+ Select: styles_56.selectLight,
142
+ Slider: styles_58.sliderLight,
143
+ Space: styles_59.spaceLight,
144
+ Spin: styles_60.spinLight,
145
+ Statistic: styles_61.statisticLight,
146
+ Steps: styles_62.stepsLight,
147
+ Switch: styles_63.switchLight,
148
+ Table: styles_64.tableLight,
149
+ Tabs: styles_65.tabsLight,
150
+ Tag: styles_66.tagLight,
151
+ Thing: styles_67.thingLight,
152
+ TimePicker: styles_68.timePickerLight,
153
+ Timeline: styles_69.timelineLight,
154
+ Tooltip: styles_70.tooltipLight,
155
+ Transfer: styles_71.transferLight,
156
+ Tree: styles_73.treeLight,
157
+ TreeSelect: styles_74.treeSelectLight,
158
+ Typography: styles_72.typographyLight,
159
+ Upload: styles_75.uploadLight
157
160
  };
@@ -1,5 +1,6 @@
1
1
  import { GlobalTheme } from '../config-provider';
2
- declare type ComponentKey = keyof GlobalTheme;
2
+ declare type ComponentKey = Exclude<keyof GlobalTheme, 'name'>;
3
3
  declare type ComponentThemes = Array<Exclude<GlobalTheme[ComponentKey], undefined>>;
4
+ export declare function createTheme(name: string, componentThemes: ComponentThemes): GlobalTheme;
4
5
  export declare function createTheme(componentThemes: ComponentThemes): GlobalTheme;
5
6
  export {};
@@ -1,10 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createTheme = void 0;
4
- function createTheme(componentThemes) {
5
- const theme = {};
6
- for (const cTheme of componentThemes) {
7
- theme[cTheme.name] = cTheme;
4
+ function createTheme(name, componentThemes) {
5
+ const nameIsString = typeof name === 'string';
6
+ const theme = {
7
+ name: nameIsString ? name : 'customized-theme'
8
+ };
9
+ if (nameIsString) {
10
+ if (componentThemes) {
11
+ for (const cTheme of componentThemes) {
12
+ theme[cTheme.name] = cTheme;
13
+ }
14
+ }
15
+ }
16
+ else {
17
+ for (const cTheme of name) {
18
+ theme[cTheme.name] = cTheme;
19
+ }
8
20
  }
9
21
  return theme;
10
22
  }
@@ -16,7 +16,7 @@ exports.default = (0, vue_1.defineComponent)({
16
16
  props: thingProps,
17
17
  setup(props, { slots }) {
18
18
  const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
19
- const themeRef = (0, _mixins_1.useTheme)('Thing', 'Thing', index_cssr_1.default, styles_1.thingLight, props, mergedClsPrefixRef);
19
+ const themeRef = (0, _mixins_1.useTheme)('Thing', '-thing', index_cssr_1.default, styles_1.thingLight, props, mergedClsPrefixRef);
20
20
  const cssVarsRef = (0, vue_1.computed)(() => {
21
21
  const { self: { titleTextColor, textColor, titleFontWeight, fontSize }, common: { cubicBezierEaseInOut } } = themeRef.value;
22
22
  return {
@@ -1,4 +1,5 @@
1
1
  import { PropType } from 'vue';
2
+ import { FollowerPlacement } from 'vueuc';
2
3
  import type { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
3
4
  import type { IsHourDisabled, IsMinuteDisabled, IsSecondDisabled, ItemValue, OnUpdateFormattedValue, OnUpdateValue, Size } from './interface';
4
5
  declare const timePickerProps: {
@@ -18,7 +19,7 @@ declare const timePickerProps: {
18
19
  defaultFormattedValue: StringConstructor;
19
20
  placeholder: StringConstructor;
20
21
  placement: {
21
- type: StringConstructor;
22
+ type: PropType<FollowerPlacement>;
22
23
  default: string;
23
24
  };
24
25
  value: PropType<number | null>;
@@ -947,7 +948,7 @@ declare const _default: import("vue").DefineComponent<{
947
948
  defaultFormattedValue: StringConstructor;
948
949
  placeholder: StringConstructor;
949
950
  placement: {
950
- type: StringConstructor;
951
+ type: PropType<FollowerPlacement>;
951
952
  default: string;
952
953
  };
953
954
  value: PropType<number | null>;
@@ -1858,6 +1859,7 @@ declare const _default: import("vue").DefineComponent<{
1858
1859
  }, any>;
1859
1860
  }>>>;
1860
1861
  }, {
1862
+ mergedStatus: import("vue").ComputedRef<import("../../form/src/interface").FormValidationStatus | undefined>;
1861
1863
  mergedBordered: import("vue").ComputedRef<boolean>;
1862
1864
  mergedClsPrefix: import("vue").ComputedRef<string>;
1863
1865
  namespace: import("vue").ComputedRef<string | undefined>;
@@ -2407,7 +2409,7 @@ declare const _default: import("vue").DefineComponent<{
2407
2409
  defaultFormattedValue: StringConstructor;
2408
2410
  placeholder: StringConstructor;
2409
2411
  placement: {
2410
- type: StringConstructor;
2412
+ type: PropType<FollowerPlacement>;
2411
2413
  default: string;
2412
2414
  };
2413
2415
  value: PropType<number | null>;
@@ -3322,9 +3324,9 @@ declare const _default: import("vue").DefineComponent<{
3322
3324
  disabled: boolean | undefined;
3323
3325
  format: string;
3324
3326
  to: string | boolean | HTMLElement;
3325
- placement: string;
3326
- showIcon: boolean;
3327
3327
  bordered: boolean | undefined;
3328
+ showIcon: boolean;
3329
+ placement: FollowerPlacement;
3328
3330
  clearable: boolean;
3329
3331
  defaultValue: number | null;
3330
3332
  stateful: boolean;
@@ -84,8 +84,8 @@ exports.default = (0, vue_1.defineComponent)({
84
84
  const { mergedBorderedRef, mergedClsPrefixRef, namespaceRef } = (0, _mixins_1.useConfig)(props);
85
85
  const { localeRef, dateLocaleRef } = (0, _mixins_1.useLocale)('TimePicker');
86
86
  const formItem = (0, _mixins_1.useFormItem)(props);
87
- const { mergedSizeRef, mergedDisabledRef } = formItem;
88
- const themeRef = (0, _mixins_1.useTheme)('TimePicker', 'TimePicker', index_cssr_1.default, styles_1.timePickerLight, props, mergedClsPrefixRef);
87
+ const { mergedSizeRef, mergedDisabledRef, mergedStatusRef } = formItem;
88
+ const themeRef = (0, _mixins_1.useTheme)('TimePicker', '-time-picker', index_cssr_1.default, styles_1.timePickerLight, props, mergedClsPrefixRef);
89
89
  const keyboardState = (0, vooks_1.useKeyboard)();
90
90
  const inputInstRef = (0, vue_1.ref)(null);
91
91
  const panelInstRef = (0, vue_1.ref)(null);
@@ -518,7 +518,7 @@ exports.default = (0, vue_1.defineComponent)({
518
518
  (_a = inputInstRef.value) === null || _a === void 0 ? void 0 : _a.blur();
519
519
  }
520
520
  };
521
- return Object.assign(Object.assign({}, exposedMethods), { mergedBordered: mergedBorderedRef, mergedClsPrefix: mergedClsPrefixRef, namespace: namespaceRef, uncontrolledValue: uncontrolledValueRef, mergedValue: mergedValueRef, isMounted: (0, vooks_1.useIsMounted)(), inputInstRef,
521
+ return Object.assign(Object.assign({}, exposedMethods), { mergedStatus: mergedStatusRef, mergedBordered: mergedBorderedRef, mergedClsPrefix: mergedClsPrefixRef, namespace: namespaceRef, uncontrolledValue: uncontrolledValueRef, mergedValue: mergedValueRef, isMounted: (0, vooks_1.useIsMounted)(), inputInstRef,
522
522
  panelInstRef, adjustedTo: (0, _utils_1.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,
523
523
  handleTimeInputBlur,
524
524
  handleNowClick,
@@ -569,7 +569,7 @@ exports.default = (0, vue_1.defineComponent)({
569
569
  (0, vue_1.h)(vueuc_1.VBinder, null, {
570
570
  default: () => [
571
571
  (0, vue_1.h)(vueuc_1.VTarget, null, {
572
- 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.mergedShow, readonly: this.inputReadonly || this.mergedDisabled, onClick: this.handleTriggerClick }, this.showIcon
572
+ default: () => ((0, vue_1.h)(input_1.NInput, { ref: "inputInstRef", status: this.mergedStatus, 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.mergedShow, readonly: this.inputReadonly || this.mergedDisabled, onClick: this.handleTriggerClick }, this.showIcon
573
573
  ? {
574
574
  [this.clearable ? 'clear' : 'suffix']: () => ((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: mergedClsPrefix, class: `${mergedClsPrefix}-time-picker-icon` }, {
575
575
  default: () => $slots.icon ? $slots.icon() : (0, vue_1.h)(icons_1.TimeIcon, null)
@@ -577,7 +577,7 @@ exports.default = (0, vue_1.defineComponent)({
577
577
  }
578
578
  : null))
579
579
  }),
580
- (0, vue_1.h)(vueuc_1.VFollower, { teleportDisabled: this.adjustedTo === _utils_1.useAdjustedTo.tdkey, show: this.mergedShow, to: this.adjustedTo, containerClass: this.namespace, placement: "bottom-start" }, {
580
+ (0, vue_1.h)(vueuc_1.VFollower, { teleportDisabled: this.adjustedTo === _utils_1.useAdjustedTo.tdkey, show: this.mergedShow, to: this.adjustedTo, containerClass: this.namespace, placement: this.placement }, {
581
581
  default: () => ((0, vue_1.h)(vue_1.Transition, { name: "fade-in-scale-up-transition", appear: this.isMounted }, {
582
582
  default: () => this.mergedShow
583
583
  ? (0, vue_1.withDirectives)((0, vue_1.h)(Panel_1.default, { 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 }), [[vdirs_1.clickoutside, this.handleClickOutside]])
@@ -22,7 +22,7 @@ exports.default = (0, vue_1.defineComponent)({
22
22
  props: timelineProps,
23
23
  setup(props, { slots }) {
24
24
  const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
25
- const themeRef = (0, _mixins_1.useTheme)('Timeline', 'Timeline', index_cssr_1.default, styles_1.timelineLight, props, mergedClsPrefixRef);
25
+ const themeRef = (0, _mixins_1.useTheme)('Timeline', '-timeline', index_cssr_1.default, styles_1.timelineLight, props, mergedClsPrefixRef);
26
26
  (0, vue_1.provide)(exports.timelineInjectionKey, {
27
27
  props,
28
28
  mergedThemeRef: themeRef,