naive-ui 2.34.2 → 2.34.4

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 (1164) hide show
  1. package/README.md +3 -2
  2. package/README.zh-CN.md +3 -2
  3. package/dist/index.js +37441 -38587
  4. package/dist/index.prod.js +2 -2
  5. package/es/_internal/clear/src/Clear.d.ts +1 -1
  6. package/es/_internal/close/src/Close.d.ts +1 -1
  7. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
  8. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +11 -6
  9. package/es/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
  10. package/es/_internal/icon/src/Icon.d.ts +1 -1
  11. package/es/_internal/loading/src/Loading.d.ts +2 -2
  12. package/es/_internal/scrollbar/src/Scrollbar.d.ts +5 -5
  13. package/es/_internal/scrollbar/styles/light.d.ts +2 -2
  14. package/es/_internal/scrollbar/styles/rtl.d.ts +1 -1
  15. package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +3 -3
  16. package/es/_internal/select-menu/src/SelectMenu.d.ts +2 -2
  17. package/es/_internal/select-menu/src/SelectOption.d.ts +3 -3
  18. package/es/_internal/select-menu/src/interface.d.ts +9 -9
  19. package/es/_internal/select-menu/styles/light.d.ts +2 -2
  20. package/es/_internal/selection/src/Selection.d.ts +1 -1
  21. package/es/_internal/selection/src/Selection.js +2 -2
  22. package/es/_internal/selection/src/interface.d.ts +2 -2
  23. package/es/_internal/selection/styles/light.d.ts +2 -2
  24. package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
  25. package/es/_internal/suffix/src/Suffix.d.ts +1 -1
  26. package/es/_mixins/use-config.d.ts +2 -2
  27. package/es/_mixins/use-css-vars-class.d.ts +1 -1
  28. package/es/_mixins/use-form-item.d.ts +3 -3
  29. package/es/_mixins/use-hljs.d.ts +1 -1
  30. package/es/_mixins/use-locale.d.ts +1 -1
  31. package/es/_mixins/use-rtl.d.ts +2 -2
  32. package/es/_mixins/use-style.d.ts +2 -2
  33. package/es/_mixins/use-theme.d.ts +10 -10
  34. package/es/_styles/common/light.d.ts +1 -1
  35. package/es/_styles/transitions/fade-down.cssr.d.ts +1 -1
  36. package/es/_styles/transitions/fade-in-height-expand.cssr.d.ts +1 -1
  37. package/es/_styles/transitions/fade-in-scale-up.cssr.d.ts +1 -1
  38. package/es/_styles/transitions/fade-in-width-expand.cssr.d.ts +1 -1
  39. package/es/_styles/transitions/fade-in.cssr.d.ts +1 -1
  40. package/es/_styles/transitions/fade-up-width-expand.cssr.d.ts +1 -1
  41. package/es/_styles/transitions/icon-switch.cssr.d.ts +1 -1
  42. package/es/_styles/transitions/slide-in-from-bottom.d.ts +1 -1
  43. package/es/_styles/transitions/slide-in-from-left.d.ts +1 -1
  44. package/es/_styles/transitions/slide-in-from-right.d.ts +1 -1
  45. package/es/_styles/transitions/slide-in-from-top.d.ts +1 -1
  46. package/es/_utils/composable/use-adjusted-to.d.ts +1 -1
  47. package/es/_utils/composable/use-browser-location.d.ts +1 -1
  48. package/es/_utils/composable/use-browser-location.js +1 -2
  49. package/es/_utils/composable/use-collection.d.ts +1 -1
  50. package/es/_utils/composable/use-deferred-true.d.ts +1 -1
  51. package/es/_utils/composable/use-is-composing.d.ts +1 -1
  52. package/es/_utils/composable/use-lock-html-scroll.d.ts +1 -1
  53. package/es/_utils/composable/use-resize.d.ts +1 -1
  54. package/es/_utils/cssr/create-key.d.ts +3 -3
  55. package/es/_utils/cssr/index.d.ts +1 -1
  56. package/es/_utils/env/is-native-lazy-load.d.ts +1 -1
  57. package/es/_utils/env/is-native-lazy-load.js +2 -3
  58. package/es/_utils/naive/attribute.d.ts +1 -1
  59. package/es/_utils/naive/extract-public-props.d.ts +6 -6
  60. package/es/_utils/naive/mutable.d.ts +1 -1
  61. package/es/_utils/naive/prop.d.ts +1 -1
  62. package/es/_utils/vue/call.d.ts +1 -1
  63. package/es/_utils/vue/create-injection-key.d.ts +1 -1
  64. package/es/_utils/vue/create-ref-setter.d.ts +1 -1
  65. package/es/_utils/vue/flatten.d.ts +1 -1
  66. package/es/_utils/vue/get-first-slot-vnode.d.ts +1 -1
  67. package/es/_utils/vue/get-slot.d.ts +1 -1
  68. package/es/_utils/vue/get-v-node-children.d.ts +1 -1
  69. package/es/_utils/vue/is-node-v-show-false.d.ts +1 -1
  70. package/es/_utils/vue/keysOf.d.ts +1 -1
  71. package/es/_utils/vue/omit.d.ts +1 -1
  72. package/es/_utils/vue/render.d.ts +1 -1
  73. package/es/_utils/vue/resolve-slot.d.ts +1 -1
  74. package/es/affix/src/Affix.d.ts +2 -2
  75. package/es/affix/src/utils.d.ts +1 -1
  76. package/es/alert/src/Alert.d.ts +2 -2
  77. package/es/alert/styles/light.d.ts +2 -2
  78. package/es/anchor/src/AnchorAdapter.d.ts +1 -1
  79. package/es/anchor/src/BaseAnchor.d.ts +1 -1
  80. package/es/anchor/src/BaseAnchor.js +1 -1
  81. package/es/anchor/src/Link.d.ts +3 -3
  82. package/es/anchor/src/utils.d.ts +1 -1
  83. package/es/anchor/styles/light.d.ts +2 -2
  84. package/es/auto-complete/src/AutoComplete.d.ts +7 -8
  85. package/es/auto-complete/src/interface.d.ts +6 -6
  86. package/es/auto-complete/src/utils.d.ts +2 -2
  87. package/es/auto-complete/styles/light.d.ts +2 -2
  88. package/es/avatar/src/Avatar.d.ts +3 -3
  89. package/es/avatar/src/Avatar.js +7 -1
  90. package/es/avatar/src/interface.d.ts +2 -2
  91. package/es/avatar/styles/light.d.ts +3 -3
  92. package/es/avatar-group/src/AvatarGroup.d.ts +3 -3
  93. package/es/avatar-group/styles/light.d.ts +2 -2
  94. package/es/avatar-group/styles/rtl.d.ts +1 -1
  95. package/es/back-top/src/BackTop.d.ts +2 -2
  96. package/es/back-top/styles/light.d.ts +2 -2
  97. package/es/badge/src/Badge.d.ts +8 -2
  98. package/es/badge/src/Badge.js +16 -4
  99. package/es/badge/styles/light.d.ts +3 -3
  100. package/es/badge/styles/rtl.d.ts +1 -1
  101. package/es/breadcrumb/src/Breadcrumb.d.ts +3 -3
  102. package/es/breadcrumb/src/BreadcrumbItem.d.ts +2 -2
  103. package/es/breadcrumb/styles/light.d.ts +2 -2
  104. package/es/button/src/Button.d.ts +6 -6
  105. package/es/button/src/interface.d.ts +2 -2
  106. package/es/button/styles/light.d.ts +2 -2
  107. package/es/button/styles/rtl.d.ts +1 -1
  108. package/es/button-group/src/ButtonGroup.d.ts +2 -2
  109. package/es/button-group/src/styles/index.cssr.d.ts +1 -1
  110. package/es/button-group/src/styles/rtl.cssr.d.ts +1 -1
  111. package/es/button-group/styles/light.d.ts +1 -1
  112. package/es/button-group/styles/rtl.d.ts +1 -1
  113. package/es/calendar/src/Calendar.d.ts +3 -3
  114. package/es/calendar/src/interface.d.ts +2 -2
  115. package/es/calendar/styles/light.d.ts +2 -2
  116. package/es/card/src/Card.d.ts +24 -19
  117. package/es/card/src/Card.js +8 -7
  118. package/es/card/styles/light.d.ts +3 -3
  119. package/es/card/styles/rtl.d.ts +1 -1
  120. package/es/carousel/src/Carousel.d.ts +2 -2
  121. package/es/carousel/src/Carousel.js +2 -2
  122. package/es/carousel/src/CarouselContext.js +1 -1
  123. package/es/carousel/src/CarouselDots.d.ts +1 -1
  124. package/es/carousel/src/CarouselDots.js +1 -1
  125. package/es/carousel/src/CarouselItem.js +4 -3
  126. package/es/carousel/src/interface.d.ts +1 -1
  127. package/es/carousel/src/utils/index.d.ts +1 -1
  128. package/es/carousel/styles/light.d.ts +3 -3
  129. package/es/cascader/src/Cascader.d.ts +21 -11
  130. package/es/cascader/src/CascaderMenu.d.ts +4 -3
  131. package/es/cascader/src/CascaderOption.d.ts +3 -2
  132. package/es/cascader/src/CascaderSelectMenu.d.ts +4 -3
  133. package/es/cascader/src/CascaderSubmenu.d.ts +3 -2
  134. package/es/cascader/src/interface.d.ts +13 -13
  135. package/es/cascader/styles/light.d.ts +3 -2
  136. package/es/checkbox/src/Checkbox.d.ts +14 -3
  137. package/es/checkbox/src/Checkbox.js +2 -1
  138. package/es/checkbox/src/CheckboxGroup.d.ts +3 -4
  139. package/es/checkbox/src/interface.d.ts +2 -2
  140. package/es/checkbox/src/styles/index.cssr.js +1 -0
  141. package/es/checkbox/styles/_common.d.ts +1 -0
  142. package/es/checkbox/styles/_common.js +2 -1
  143. package/es/checkbox/styles/light.d.ts +3 -2
  144. package/es/code/src/Code.d.ts +3 -3
  145. package/es/code/styles/light.d.ts +3 -3
  146. package/es/collapse/src/Collapse.d.ts +15 -5
  147. package/es/collapse/src/Collapse.js +2 -1
  148. package/es/collapse/src/CollapseItem.d.ts +2 -2
  149. package/es/collapse/src/CollapseItemContent.d.ts +1 -1
  150. package/es/collapse/src/interface.d.ts +4 -4
  151. package/es/collapse/src/styles/index.cssr.js +2 -1
  152. package/es/collapse/styles/light.d.ts +4 -3
  153. package/es/collapse/styles/light.js +2 -1
  154. package/es/collapse-transition/src/CollapseTransition.d.ts +2 -2
  155. package/es/collapse-transition/styles/light.d.ts +3 -3
  156. package/es/color-picker/src/AlphaSlider.d.ts +2 -2
  157. package/es/color-picker/src/ColorInput.d.ts +2 -2
  158. package/es/color-picker/src/ColorInputUnit.d.ts +1 -1
  159. package/es/color-picker/src/ColorPicker.d.ts +5 -5
  160. package/es/color-picker/src/ColorPicker.js +2 -2
  161. package/es/color-picker/src/ColorPickerSwatches.d.ts +2 -2
  162. package/es/color-picker/src/ColorPickerSwatches.js +1 -1
  163. package/es/color-picker/src/ColorPickerTrigger.d.ts +2 -2
  164. package/es/color-picker/src/ColorPreview.d.ts +2 -2
  165. package/es/color-picker/src/HueSlider.d.ts +1 -1
  166. package/es/color-picker/src/Pallete.d.ts +2 -2
  167. package/es/color-picker/src/context.d.ts +1 -1
  168. package/es/color-picker/src/interface.d.ts +6 -6
  169. package/es/color-picker/src/utils.d.ts +2 -2
  170. package/es/color-picker/styles/light.d.ts +2 -2
  171. package/es/composables/use-theme-vars.d.ts +1 -1
  172. package/es/config-provider/src/ConfigProvider.d.ts +7 -7
  173. package/es/config-provider/src/interface.d.ts +1 -1
  174. package/es/config-provider/src/internal-interface.d.ts +5 -7
  175. package/es/config-provider/src/katex.d.ts +2 -2
  176. package/es/countdown/src/Countdown.d.ts +2 -2
  177. package/es/create.d.ts +2 -2
  178. package/es/data-table/src/DataTable.d.ts +16 -2
  179. package/es/data-table/src/HeaderButton/FilterButton.d.ts +6 -4
  180. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +9 -6
  181. package/es/data-table/src/HeaderButton/RenderFilter.d.ts +2 -2
  182. package/es/data-table/src/HeaderButton/RenderSorter.d.ts +2 -2
  183. package/es/data-table/src/HeaderButton/SortButton.d.ts +4 -4
  184. package/es/data-table/src/TableParts/Body.d.ts +5 -3
  185. package/es/data-table/src/TableParts/Body.js +4 -2
  186. package/es/data-table/src/TableParts/BodyCheckbox.d.ts +2 -2
  187. package/es/data-table/src/TableParts/BodyRadio.d.ts +2 -2
  188. package/es/data-table/src/TableParts/Cell.d.ts +8 -4
  189. package/es/data-table/src/TableParts/ExpandTrigger.d.ts +4 -3
  190. package/es/data-table/src/TableParts/ExpandTrigger.js +3 -1
  191. package/es/data-table/src/TableParts/Header.d.ts +3 -1
  192. package/es/data-table/src/TableParts/Header.js +4 -2
  193. package/es/data-table/src/interface.d.ts +61 -57
  194. package/es/data-table/src/styles/index.cssr.d.ts +1 -1
  195. package/es/data-table/src/use-check.d.ts +2 -2
  196. package/es/data-table/src/use-expand.d.ts +2 -2
  197. package/es/data-table/src/use-group-header.d.ts +1 -1
  198. package/es/data-table/src/use-scroll.d.ts +1 -1
  199. package/es/data-table/src/use-sorter.d.ts +1 -1
  200. package/es/data-table/src/use-table-data.d.ts +2 -2
  201. package/es/data-table/src/utils.d.ts +1 -1
  202. package/es/data-table/styles/light.d.ts +4 -2
  203. package/es/date-picker/src/DatePicker.d.ts +5 -5
  204. package/es/date-picker/src/DatePicker.js +2 -2
  205. package/es/date-picker/src/config.d.ts +1 -1
  206. package/es/date-picker/src/interface.d.ts +25 -25
  207. package/es/date-picker/src/panel/date.d.ts +4 -4
  208. package/es/date-picker/src/panel/date.js +1 -1
  209. package/es/date-picker/src/panel/daterange.d.ts +1 -1
  210. package/es/date-picker/src/panel/daterange.js +2 -2
  211. package/es/date-picker/src/panel/datetime.d.ts +1 -1
  212. package/es/date-picker/src/panel/datetime.js +1 -1
  213. package/es/date-picker/src/panel/datetimerange.d.ts +1 -1
  214. package/es/date-picker/src/panel/datetimerange.js +4 -4
  215. package/es/date-picker/src/panel/month.d.ts +2 -2
  216. package/es/date-picker/src/panel/month.js +1 -1
  217. package/es/date-picker/src/panel/monthrange.d.ts +2 -2
  218. package/es/date-picker/src/panel/panelHeader.d.ts +3 -3
  219. package/es/date-picker/src/panel/use-calendar.d.ts +3 -3
  220. package/es/date-picker/src/panel/use-dual-calendar.d.ts +6 -6
  221. package/es/date-picker/src/panel/use-panel-common.d.ts +4 -4
  222. package/es/date-picker/src/utils.d.ts +1 -1
  223. package/es/date-picker/src/validation-utils.d.ts +1 -1
  224. package/es/date-picker/styles/light.d.ts +2 -2
  225. package/es/descriptions/src/Descriptions.d.ts +3 -3
  226. package/es/descriptions/src/DescriptionsItem.d.ts +2 -2
  227. package/es/descriptions/src/utils.d.ts +1 -1
  228. package/es/descriptions/styles/light.d.ts +4 -4
  229. package/es/dialog/src/DialogEnvironment.d.ts +1 -1
  230. package/es/dialog/src/DialogProvider.d.ts +10 -10
  231. package/es/dialog/src/DialogProvider.js +1 -1
  232. package/es/dialog/src/composables.d.ts +1 -1
  233. package/es/dialog/src/dialogProps.d.ts +2 -2
  234. package/es/dialog/src/interface.d.ts +1 -1
  235. package/es/dialog/styles/light.d.ts +2 -2
  236. package/es/discrete/src/InjectionExtractor.d.ts +1 -1
  237. package/es/discrete/src/discrete.d.ts +2 -2
  238. package/es/discrete/src/discreteApp.d.ts +9 -9
  239. package/es/discrete/src/interface.d.ts +13 -13
  240. package/es/divider/src/Divider.d.ts +2 -2
  241. package/es/divider/styles/light.d.ts +2 -2
  242. package/es/drawer/src/Drawer.d.ts +3 -3
  243. package/es/drawer/src/DrawerBodyWrapper.d.ts +2 -2
  244. package/es/drawer/src/DrawerContent.d.ts +2 -2
  245. package/es/drawer/src/interface.d.ts +2 -2
  246. package/es/drawer/styles/light.d.ts +2 -2
  247. package/es/dropdown/src/Dropdown.d.ts +8 -8
  248. package/es/dropdown/src/DropdownGroup.d.ts +2 -2
  249. package/es/dropdown/src/DropdownMenu.d.ts +2 -2
  250. package/es/dropdown/src/DropdownOption.d.ts +3 -3
  251. package/es/dropdown/src/DropdownRenderOption.d.ts +2 -2
  252. package/es/dropdown/src/interface.d.ts +23 -23
  253. package/es/dropdown/styles/light.d.ts +2 -2
  254. package/es/dynamic-input/src/DynamicInput.d.ts +6 -2
  255. package/es/dynamic-input/src/DynamicInput.js +38 -29
  256. package/es/dynamic-input/src/InputPreset.d.ts +4 -1
  257. package/es/dynamic-input/src/InputPreset.js +3 -2
  258. package/es/dynamic-input/src/PairPreset.d.ts +4 -1
  259. package/es/dynamic-input/src/PairPreset.js +4 -3
  260. package/es/dynamic-input/src/interface.d.ts +2 -2
  261. package/es/dynamic-input/styles/dark.d.ts +1 -1
  262. package/es/dynamic-input/styles/light.d.ts +2 -2
  263. package/es/dynamic-tags/src/DynamicTags.d.ts +2 -2
  264. package/es/dynamic-tags/src/DynamicTags.js +1 -1
  265. package/es/dynamic-tags/src/interface.d.ts +3 -3
  266. package/es/dynamic-tags/styles/light.d.ts +1 -1
  267. package/es/element/src/Element.d.ts +10 -10
  268. package/es/element/styles/dark.d.ts +1 -1
  269. package/es/element/styles/light.d.ts +2 -2
  270. package/es/ellipsis/src/Ellipsis.d.ts +2 -2
  271. package/es/ellipsis/src/Ellipsis.js +7 -1
  272. package/es/ellipsis/styles/dark.d.ts +1 -1
  273. package/es/ellipsis/styles/light.d.ts +1 -1
  274. package/es/empty/src/Empty.d.ts +2 -2
  275. package/es/empty/styles/light.d.ts +2 -2
  276. package/es/equation/src/Equation.d.ts +2 -2
  277. package/es/equation/styles/light.d.ts +2 -2
  278. package/es/form/src/Form.d.ts +13 -4
  279. package/es/form/src/Form.js +2 -2
  280. package/es/form/src/FormItem.d.ts +16 -6
  281. package/es/form/src/FormItem.js +3 -2
  282. package/es/form/src/FormItemCol.d.ts +12 -3
  283. package/es/form/src/FormItemCol.js +1 -1
  284. package/es/form/src/FormItemGridItem.d.ts +12 -3
  285. package/es/form/src/FormItemGridItem.js +1 -1
  286. package/es/form/src/FormItemRow.d.ts +11 -2
  287. package/es/form/src/FormItemRow.js +1 -1
  288. package/es/form/src/interface.d.ts +22 -22
  289. package/es/form/src/styles/form-item.cssr.js +1 -0
  290. package/es/form/src/utils.d.ts +1 -1
  291. package/es/form/styles/_common.d.ts +1 -0
  292. package/es/form/styles/_common.js +2 -1
  293. package/es/form/styles/light.d.ts +3 -2
  294. package/es/gradient-text/src/GradientText.d.ts +3 -3
  295. package/es/gradient-text/styles/dark.d.ts +1 -1
  296. package/es/gradient-text/styles/light.d.ts +2 -2
  297. package/es/grid/src/Grid.d.ts +5 -5
  298. package/es/grid/src/GridItem.d.ts +2 -2
  299. package/es/icon/src/Icon.d.ts +6 -6
  300. package/es/icon/styles/light.d.ts +2 -2
  301. package/es/icon-wrapper/src/IconWrapper.d.ts +2 -2
  302. package/es/icon-wrapper/src/IconWrapper.js +1 -1
  303. package/es/icon-wrapper/styles/light.d.ts +2 -2
  304. package/es/image/src/Image.d.ts +2 -2
  305. package/es/image/src/Image.js +23 -21
  306. package/es/image/src/ImageGroup.d.ts +3 -3
  307. package/es/image/src/ImageGroup.js +2 -2
  308. package/es/image/src/ImagePreview.d.ts +1 -1
  309. package/es/image/src/ImagePreview.js +5 -4
  310. package/es/image/src/interface.d.ts +1 -1
  311. package/es/image/src/utils.d.ts +2 -2
  312. package/es/image/styles/light.d.ts +2 -2
  313. package/es/input/src/Input.d.ts +3 -4
  314. package/es/input/src/Input.js +3 -3
  315. package/es/input/src/InputGroup.d.ts +1 -1
  316. package/es/input/src/InputGroupLabel.d.ts +2 -2
  317. package/es/input/src/interface.d.ts +5 -5
  318. package/es/input/src/styles/input.cssr.js +4 -3
  319. package/es/input/styles/light.d.ts +2 -2
  320. package/es/input-number/src/InputNumber.d.ts +3 -3
  321. package/es/input-number/src/interface.d.ts +2 -2
  322. package/es/input-number/styles/light.d.ts +2 -2
  323. package/es/layout/src/Layout.d.ts +2 -2
  324. package/es/layout/src/LayoutFooter.d.ts +1 -1
  325. package/es/layout/src/LayoutHeader.d.ts +2 -2
  326. package/es/layout/src/LayoutSider.d.ts +2 -2
  327. package/es/layout/src/ToggleBar.d.ts +1 -1
  328. package/es/layout/src/ToggleButton.d.ts +1 -1
  329. package/es/layout/src/interface.d.ts +2 -2
  330. package/es/layout/styles/light.d.ts +2 -2
  331. package/es/legacy-grid/src/Col.d.ts +4 -4
  332. package/es/legacy-grid/src/Row.d.ts +3 -3
  333. package/es/legacy-grid/src/interface.d.ts +1 -1
  334. package/es/legacy-grid/styles/dark.d.ts +1 -1
  335. package/es/legacy-grid/styles/light.d.ts +1 -1
  336. package/es/legacy-transfer/src/Transfer.d.ts +15 -6
  337. package/es/legacy-transfer/src/TransferFilter.d.ts +2 -1
  338. package/es/legacy-transfer/src/TransferHeader.d.ts +1 -1
  339. package/es/legacy-transfer/src/TransferList.d.ts +3 -2
  340. package/es/legacy-transfer/src/TransferListItem.d.ts +1 -0
  341. package/es/legacy-transfer/src/interface.d.ts +4 -4
  342. package/es/legacy-transfer/src/use-transfer-data.d.ts +1 -1
  343. package/es/legacy-transfer/styles/light.d.ts +3 -2
  344. package/es/list/src/List.d.ts +3 -3
  345. package/es/list/styles/light.d.ts +3 -3
  346. package/es/loading-bar/src/LoadingBar.d.ts +1 -1
  347. package/es/loading-bar/src/LoadingBarProvider.d.ts +6 -6
  348. package/es/loading-bar/src/context.d.ts +1 -1
  349. package/es/loading-bar/styles/light.d.ts +2 -2
  350. package/es/locales/common/enUS.d.ts +2 -2
  351. package/es/locales/common/faIR.d.ts +3 -0
  352. package/es/locales/common/faIR.js +120 -0
  353. package/es/locales/common/idID.js +17 -17
  354. package/es/locales/common/koKR.js +9 -9
  355. package/es/locales/common/trTR.js +1 -1
  356. package/es/locales/common/zhTW.js +14 -17
  357. package/es/locales/date/arDZ.d.ts +1 -1
  358. package/es/locales/date/deDE.d.ts +1 -1
  359. package/es/locales/date/enGB.d.ts +1 -1
  360. package/es/locales/date/enUS.d.ts +1 -1
  361. package/es/locales/date/eo.d.ts +1 -1
  362. package/es/locales/date/esAR.d.ts +1 -1
  363. package/es/locales/date/faIR.d.ts +3 -0
  364. package/es/locales/date/faIR.js +6 -0
  365. package/es/locales/date/frFR.d.ts +1 -1
  366. package/es/locales/date/idID.d.ts +1 -1
  367. package/es/locales/date/itIT.d.ts +1 -1
  368. package/es/locales/date/jaJP.d.ts +1 -1
  369. package/es/locales/date/koKR.d.ts +1 -1
  370. package/es/locales/date/nbNO.d.ts +1 -1
  371. package/es/locales/date/nlNL.d.ts +1 -1
  372. package/es/locales/date/plPL.d.ts +1 -1
  373. package/es/locales/date/ptBR.d.ts +1 -1
  374. package/es/locales/date/ruRU.d.ts +1 -1
  375. package/es/locales/date/skSK.d.ts +1 -1
  376. package/es/locales/date/thTH.d.ts +1 -1
  377. package/es/locales/date/trTR.d.ts +1 -1
  378. package/es/locales/date/ukUA.d.ts +1 -1
  379. package/es/locales/date/viVN.d.ts +1 -1
  380. package/es/locales/date/zhCN.d.ts +1 -1
  381. package/es/locales/date/zhTW.d.ts +1 -1
  382. package/es/locales/index.d.ts +2 -0
  383. package/es/locales/index.js +2 -0
  384. package/es/locales/utils/index.d.ts +2 -2
  385. package/es/log/src/Log.d.ts +3 -3
  386. package/es/log/styles/light.d.ts +2 -2
  387. package/es/mention/src/Mention.d.ts +6 -6
  388. package/es/mention/src/interface.d.ts +1 -1
  389. package/es/mention/styles/light.d.ts +2 -2
  390. package/es/menu/src/Menu.d.ts +11 -11
  391. package/es/menu/src/Menu.js +1 -1
  392. package/es/menu/src/MenuOption.d.ts +2 -2
  393. package/es/menu/src/MenuOptionContent.d.ts +2 -2
  394. package/es/menu/src/MenuOptionGroup.d.ts +2 -2
  395. package/es/menu/src/Submenu.d.ts +2 -2
  396. package/es/menu/src/Submenu.js +2 -2
  397. package/es/menu/src/interface.d.ts +13 -13
  398. package/es/menu/src/styles/index.cssr.d.ts +1 -1
  399. package/es/menu/src/use-menu-child-props.d.ts +3 -3
  400. package/es/menu/src/use-menu-child.d.ts +3 -3
  401. package/es/menu/src/utils.d.ts +2 -2
  402. package/es/menu/styles/light.d.ts +2 -2
  403. package/es/message/src/Message.d.ts +1 -1
  404. package/es/message/src/MessageEnvironment.d.ts +1 -1
  405. package/es/message/src/MessageProvider.d.ts +6 -8
  406. package/es/message/src/context.d.ts +1 -1
  407. package/es/message/src/message-props.d.ts +5 -5
  408. package/es/message/src/types.d.ts +4 -4
  409. package/es/message/styles/light.d.ts +3 -3
  410. package/es/message/styles/rtl.d.ts +1 -1
  411. package/es/modal/src/BodyWrapper.d.ts +11 -2
  412. package/es/modal/src/Modal.d.ts +15 -2
  413. package/es/modal/src/interface.d.ts +2 -2
  414. package/es/modal/src/presetProps.d.ts +5 -1
  415. package/es/modal/styles/light.d.ts +2 -2
  416. package/es/notification/src/Notification.d.ts +1 -1
  417. package/es/notification/src/NotificationContainer.d.ts +1 -1
  418. package/es/notification/src/NotificationEnvironment.d.ts +5 -2
  419. package/es/notification/src/NotificationProvider.d.ts +10 -10
  420. package/es/notification/src/styles/index.cssr.d.ts +1 -1
  421. package/es/notification/src/styles/index.cssr.js +2 -0
  422. package/es/notification/styles/light.d.ts +2 -2
  423. package/es/notification/styles/rtl.d.ts +1 -1
  424. package/es/number-animation/src/NumberAnimation.d.ts +2 -2
  425. package/es/page-header/src/PageHeader.d.ts +2 -2
  426. package/es/page-header/styles/light.d.ts +2 -2
  427. package/es/pagination/src/Pagination.d.ts +10 -3
  428. package/es/pagination/src/Pagination.js +7 -5
  429. package/es/pagination/src/interface.d.ts +11 -10
  430. package/es/pagination/src/utils.d.ts +1 -1
  431. package/es/pagination/styles/light.d.ts +3 -3
  432. package/es/popconfirm/src/Popconfirm.d.ts +3 -3
  433. package/es/popconfirm/src/PopconfirmPanel.d.ts +1 -1
  434. package/es/popconfirm/src/interface.d.ts +2 -2
  435. package/es/popconfirm/styles/light.d.ts +3 -3
  436. package/es/popover/src/Popover.d.ts +4 -4
  437. package/es/popover/src/Popover.js +2 -3
  438. package/es/popover/src/PopoverBody.d.ts +2 -2
  439. package/es/popover/src/interface.d.ts +4 -4
  440. package/es/popover/src/styles/index.cssr.d.ts +1 -1
  441. package/es/popover/styles/light.d.ts +2 -2
  442. package/es/popselect/src/Popselect.d.ts +4 -4
  443. package/es/popselect/src/Popselect.js +3 -2
  444. package/es/popselect/src/PopselectPanel.d.ts +6 -6
  445. package/es/popselect/src/interface.d.ts +3 -3
  446. package/es/popselect/styles/light.d.ts +2 -2
  447. package/es/progress/src/Circle.d.ts +2 -2
  448. package/es/progress/src/Line.d.ts +2 -2
  449. package/es/progress/src/Line.js +3 -1
  450. package/es/progress/src/MultipleCircle.d.ts +1 -1
  451. package/es/progress/src/Progress.d.ts +4 -4
  452. package/es/progress/src/interface.d.ts +1 -1
  453. package/es/progress/styles/light.d.ts +2 -2
  454. package/es/radio/src/Radio.d.ts +8 -1
  455. package/es/radio/src/Radio.js +2 -1
  456. package/es/radio/src/RadioButton.d.ts +2 -2
  457. package/es/radio/src/RadioGroup.d.ts +12 -3
  458. package/es/radio/src/interface.d.ts +2 -2
  459. package/es/radio/src/styles/radio.cssr.js +1 -0
  460. package/es/radio/src/use-radio.d.ts +3 -3
  461. package/es/radio/styles/_common.d.ts +1 -0
  462. package/es/radio/styles/_common.js +2 -1
  463. package/es/radio/styles/light.d.ts +4 -3
  464. package/es/rate/src/Rate.d.ts +2 -2
  465. package/es/rate/src/Rate.js +1 -1
  466. package/es/rate/src/interface.d.ts +2 -2
  467. package/es/rate/styles/dark.d.ts +1 -1
  468. package/es/rate/styles/light.d.ts +3 -3
  469. package/es/result/src/Result.d.ts +2 -2
  470. package/es/result/styles/light.d.ts +2 -2
  471. package/es/scrollbar/src/Scrollbar.d.ts +6 -3
  472. package/es/scrollbar/src/Scrollbar.js +1 -1
  473. package/es/select/src/Select.d.ts +24 -7
  474. package/es/select/src/Select.js +12 -2
  475. package/es/select/src/interface.d.ts +14 -14
  476. package/es/select/src/utils.d.ts +1 -1
  477. package/es/select/styles/light.d.ts +2 -2
  478. package/es/skeleton/src/Skeleton.d.ts +2 -2
  479. package/es/skeleton/styles/dark.d.ts +1 -1
  480. package/es/skeleton/styles/light.d.ts +3 -3
  481. package/es/slider/src/Slider.d.ts +4 -4
  482. package/es/slider/src/Slider.js +4 -4
  483. package/es/slider/src/interface.d.ts +1 -1
  484. package/es/slider/src/utils.d.ts +4 -4
  485. package/es/slider/src/utils.js +1 -1
  486. package/es/slider/styles/light.d.ts +3 -3
  487. package/es/space/src/Space.d.ts +4 -4
  488. package/es/space/styles/light.d.ts +2 -2
  489. package/es/space/styles/rtl.d.ts +1 -1
  490. package/es/spin/src/Spin.d.ts +3 -3
  491. package/es/spin/styles/light.d.ts +3 -3
  492. package/es/statistic/src/Statistic.d.ts +1 -1
  493. package/es/statistic/styles/light.d.ts +3 -3
  494. package/es/statistic/styles/rtl.d.ts +1 -1
  495. package/es/steps/src/Step.d.ts +2 -2
  496. package/es/steps/src/Steps.d.ts +2 -2
  497. package/es/steps/styles/light.d.ts +2 -2
  498. package/es/steps/styles/rtl.d.ts +1 -1
  499. package/es/switch/src/Switch.d.ts +2 -2
  500. package/es/switch/src/interface.d.ts +2 -2
  501. package/es/switch/styles/light.d.ts +2 -2
  502. package/es/table/src/Table.d.ts +2 -2
  503. package/es/table/styles/light.d.ts +3 -3
  504. package/es/table/styles/rtl.d.ts +1 -1
  505. package/es/tabs/src/Tab.d.ts +1 -1
  506. package/es/tabs/src/TabPane.d.ts +2 -2
  507. package/es/tabs/src/Tabs.d.ts +245 -5
  508. package/es/tabs/src/Tabs.js +113 -76
  509. package/es/tabs/src/interface.d.ts +9 -9
  510. package/es/tabs/src/styles/index.cssr.js +137 -25
  511. package/es/tabs/styles/_common.d.ts +24 -0
  512. package/es/tabs/styles/_common.js +27 -3
  513. package/es/tabs/styles/light.d.ts +27 -3
  514. package/es/tag/src/Tag.d.ts +2 -2
  515. package/es/tag/src/common-props.d.ts +1 -1
  516. package/es/tag/styles/light.d.ts +2 -2
  517. package/es/theme-editor/src/ThemeEditor.d.ts +2 -4
  518. package/es/theme-editor/src/ThemeEditor.js +1 -1
  519. package/es/themes/interface.d.ts +2 -2
  520. package/es/themes/utils.d.ts +3 -3
  521. package/es/thing/src/Thing.d.ts +2 -2
  522. package/es/thing/styles/light.d.ts +2 -2
  523. package/es/thing/styles/rtl.d.ts +1 -1
  524. package/es/time/src/Time.d.ts +3 -3
  525. package/es/time-picker/src/Panel.d.ts +3 -3
  526. package/es/time-picker/src/PanelCol.d.ts +2 -2
  527. package/es/time-picker/src/PanelCol.js +1 -1
  528. package/es/time-picker/src/TimePicker.d.ts +3 -3
  529. package/es/time-picker/src/interface.d.ts +11 -11
  530. package/es/time-picker/src/utils.d.ts +1 -1
  531. package/es/time-picker/styles/light.d.ts +2 -2
  532. package/es/timeline/src/Timeline.d.ts +4 -4
  533. package/es/timeline/src/TimelineItem.d.ts +2 -2
  534. package/es/timeline/styles/light.d.ts +2 -2
  535. package/es/tooltip/src/Tooltip.d.ts +2 -2
  536. package/es/tooltip/src/Tooltip.js +3 -2
  537. package/es/tooltip/styles/light.d.ts +2 -2
  538. package/es/transfer/src/Transfer.d.ts +16 -7
  539. package/es/transfer/src/TransferFilter.d.ts +2 -1
  540. package/es/transfer/src/TransferHeader.d.ts +1 -1
  541. package/es/transfer/src/TransferList.d.ts +3 -2
  542. package/es/transfer/src/TransferListItem.d.ts +3 -2
  543. package/es/transfer/src/interface.d.ts +7 -7
  544. package/es/transfer/src/use-transfer-data.d.ts +4 -4
  545. package/es/transfer/styles/light.d.ts +3 -2
  546. package/es/tree/src/MotionWrapper.d.ts +2 -2
  547. package/es/tree/src/Tree.d.ts +27 -15
  548. package/es/tree/src/Tree.js +40 -37
  549. package/es/tree/src/TreeNode.d.ts +3 -3
  550. package/es/tree/src/TreeNode.js +4 -2
  551. package/es/tree/src/TreeNodeCheckbox.d.ts +2 -1
  552. package/es/tree/src/TreeNodeCheckbox.js +3 -2
  553. package/es/tree/src/TreeNodeContent.d.ts +2 -2
  554. package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
  555. package/es/tree/src/dnd.d.ts +2 -2
  556. package/es/tree/src/interface.d.ts +18 -18
  557. package/es/tree/src/keyboard.d.ts +3 -3
  558. package/es/tree/src/utils.d.ts +3 -3
  559. package/es/tree/styles/light.d.ts +3 -2
  560. package/es/tree-select/src/TreeSelect.d.ts +19 -8
  561. package/es/tree-select/src/TreeSelect.js +1 -1
  562. package/es/tree-select/src/interface.d.ts +14 -14
  563. package/es/tree-select/src/utils.d.ts +2 -2
  564. package/es/tree-select/styles/light.d.ts +3 -2
  565. package/es/typography/src/a.d.ts +1 -1
  566. package/es/typography/src/blockquote.d.ts +1 -1
  567. package/es/typography/src/create-header.d.ts +3 -3
  568. package/es/typography/src/ol.d.ts +1 -1
  569. package/es/typography/src/p.d.ts +2 -2
  570. package/es/typography/src/text.d.ts +2 -2
  571. package/es/typography/src/ul.d.ts +1 -1
  572. package/es/typography/styles/light.d.ts +2 -2
  573. package/es/upload/src/Upload.d.ts +2 -62
  574. package/es/upload/src/Upload.js +4 -7
  575. package/es/upload/src/UploadFile.d.ts +1 -1
  576. package/es/upload/src/UploadProgress.d.ts +1 -1
  577. package/es/upload/src/interface.d.ts +18 -18
  578. package/es/upload/src/utils.js +7 -9
  579. package/es/upload/styles/light.d.ts +2 -2
  580. package/es/version.d.ts +1 -1
  581. package/es/version.js +1 -1
  582. package/es/watermark/src/Watermark.d.ts +3 -3
  583. package/es/watermark/styles/light.d.ts +1 -1
  584. package/lib/_internal/clear/src/Clear.d.ts +1 -1
  585. package/lib/_internal/close/src/Close.d.ts +1 -1
  586. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
  587. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +11 -6
  588. package/lib/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
  589. package/lib/_internal/icon/src/Icon.d.ts +1 -1
  590. package/lib/_internal/loading/src/Loading.d.ts +2 -2
  591. package/lib/_internal/scrollbar/src/Scrollbar.d.ts +5 -5
  592. package/lib/_internal/scrollbar/styles/light.d.ts +2 -2
  593. package/lib/_internal/scrollbar/styles/rtl.d.ts +1 -1
  594. package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +3 -3
  595. package/lib/_internal/select-menu/src/SelectMenu.d.ts +2 -2
  596. package/lib/_internal/select-menu/src/SelectOption.d.ts +3 -3
  597. package/lib/_internal/select-menu/src/interface.d.ts +9 -9
  598. package/lib/_internal/select-menu/styles/light.d.ts +2 -2
  599. package/lib/_internal/selection/src/Selection.d.ts +1 -1
  600. package/lib/_internal/selection/src/Selection.js +2 -2
  601. package/lib/_internal/selection/src/interface.d.ts +2 -2
  602. package/lib/_internal/selection/styles/light.d.ts +2 -2
  603. package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
  604. package/lib/_internal/suffix/src/Suffix.d.ts +1 -1
  605. package/lib/_mixins/use-config.d.ts +2 -2
  606. package/lib/_mixins/use-css-vars-class.d.ts +1 -1
  607. package/lib/_mixins/use-form-item.d.ts +3 -3
  608. package/lib/_mixins/use-hljs.d.ts +1 -1
  609. package/lib/_mixins/use-locale.d.ts +1 -1
  610. package/lib/_mixins/use-rtl.d.ts +2 -2
  611. package/lib/_mixins/use-style.d.ts +2 -2
  612. package/lib/_mixins/use-theme.d.ts +10 -10
  613. package/lib/_styles/common/light.d.ts +1 -1
  614. package/lib/_styles/transitions/fade-down.cssr.d.ts +1 -1
  615. package/lib/_styles/transitions/fade-in-height-expand.cssr.d.ts +1 -1
  616. package/lib/_styles/transitions/fade-in-scale-up.cssr.d.ts +1 -1
  617. package/lib/_styles/transitions/fade-in-width-expand.cssr.d.ts +1 -1
  618. package/lib/_styles/transitions/fade-in.cssr.d.ts +1 -1
  619. package/lib/_styles/transitions/fade-up-width-expand.cssr.d.ts +1 -1
  620. package/lib/_styles/transitions/icon-switch.cssr.d.ts +1 -1
  621. package/lib/_styles/transitions/slide-in-from-bottom.d.ts +1 -1
  622. package/lib/_styles/transitions/slide-in-from-left.d.ts +1 -1
  623. package/lib/_styles/transitions/slide-in-from-right.d.ts +1 -1
  624. package/lib/_styles/transitions/slide-in-from-top.d.ts +1 -1
  625. package/lib/_utils/composable/use-adjusted-to.d.ts +1 -1
  626. package/lib/_utils/composable/use-browser-location.d.ts +1 -1
  627. package/lib/_utils/composable/use-browser-location.js +1 -2
  628. package/lib/_utils/composable/use-collection.d.ts +1 -1
  629. package/lib/_utils/composable/use-deferred-true.d.ts +1 -1
  630. package/lib/_utils/composable/use-is-composing.d.ts +1 -1
  631. package/lib/_utils/composable/use-lock-html-scroll.d.ts +1 -1
  632. package/lib/_utils/composable/use-resize.d.ts +1 -1
  633. package/lib/_utils/cssr/create-key.d.ts +3 -3
  634. package/lib/_utils/cssr/index.d.ts +1 -1
  635. package/lib/_utils/env/is-native-lazy-load.d.ts +1 -1
  636. package/lib/_utils/env/is-native-lazy-load.js +2 -3
  637. package/lib/_utils/naive/attribute.d.ts +1 -1
  638. package/lib/_utils/naive/extract-public-props.d.ts +6 -6
  639. package/lib/_utils/naive/mutable.d.ts +1 -1
  640. package/lib/_utils/naive/prop.d.ts +1 -1
  641. package/lib/_utils/vue/call.d.ts +1 -1
  642. package/lib/_utils/vue/create-injection-key.d.ts +1 -1
  643. package/lib/_utils/vue/create-ref-setter.d.ts +1 -1
  644. package/lib/_utils/vue/flatten.d.ts +1 -1
  645. package/lib/_utils/vue/get-first-slot-vnode.d.ts +1 -1
  646. package/lib/_utils/vue/get-slot.d.ts +1 -1
  647. package/lib/_utils/vue/get-v-node-children.d.ts +1 -1
  648. package/lib/_utils/vue/is-node-v-show-false.d.ts +1 -1
  649. package/lib/_utils/vue/keysOf.d.ts +1 -1
  650. package/lib/_utils/vue/omit.d.ts +1 -1
  651. package/lib/_utils/vue/render.d.ts +1 -1
  652. package/lib/_utils/vue/resolve-slot.d.ts +1 -1
  653. package/lib/affix/src/Affix.d.ts +2 -2
  654. package/lib/affix/src/utils.d.ts +1 -1
  655. package/lib/alert/src/Alert.d.ts +2 -2
  656. package/lib/alert/styles/light.d.ts +2 -2
  657. package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
  658. package/lib/anchor/src/BaseAnchor.d.ts +1 -1
  659. package/lib/anchor/src/BaseAnchor.js +1 -1
  660. package/lib/anchor/src/Link.d.ts +3 -3
  661. package/lib/anchor/src/utils.d.ts +1 -1
  662. package/lib/anchor/styles/light.d.ts +2 -2
  663. package/lib/auto-complete/src/AutoComplete.d.ts +7 -8
  664. package/lib/auto-complete/src/interface.d.ts +6 -6
  665. package/lib/auto-complete/src/utils.d.ts +2 -2
  666. package/lib/auto-complete/styles/light.d.ts +2 -2
  667. package/lib/avatar/src/Avatar.d.ts +3 -3
  668. package/lib/avatar/src/Avatar.js +7 -1
  669. package/lib/avatar/src/interface.d.ts +2 -2
  670. package/lib/avatar/styles/light.d.ts +3 -3
  671. package/lib/avatar-group/src/AvatarGroup.d.ts +3 -3
  672. package/lib/avatar-group/styles/light.d.ts +2 -2
  673. package/lib/avatar-group/styles/rtl.d.ts +1 -1
  674. package/lib/back-top/src/BackTop.d.ts +2 -2
  675. package/lib/back-top/styles/light.d.ts +2 -2
  676. package/lib/badge/src/Badge.d.ts +8 -2
  677. package/lib/badge/src/Badge.js +16 -4
  678. package/lib/badge/styles/light.d.ts +3 -3
  679. package/lib/badge/styles/rtl.d.ts +1 -1
  680. package/lib/breadcrumb/src/Breadcrumb.d.ts +3 -3
  681. package/lib/breadcrumb/src/BreadcrumbItem.d.ts +2 -2
  682. package/lib/breadcrumb/styles/light.d.ts +2 -2
  683. package/lib/button/src/Button.d.ts +6 -6
  684. package/lib/button/src/interface.d.ts +2 -2
  685. package/lib/button/styles/light.d.ts +2 -2
  686. package/lib/button/styles/rtl.d.ts +1 -1
  687. package/lib/button-group/src/ButtonGroup.d.ts +2 -2
  688. package/lib/button-group/src/styles/index.cssr.d.ts +1 -1
  689. package/lib/button-group/src/styles/rtl.cssr.d.ts +1 -1
  690. package/lib/button-group/styles/light.d.ts +1 -1
  691. package/lib/button-group/styles/rtl.d.ts +1 -1
  692. package/lib/calendar/src/Calendar.d.ts +3 -3
  693. package/lib/calendar/src/interface.d.ts +2 -2
  694. package/lib/calendar/styles/light.d.ts +2 -2
  695. package/lib/card/src/Card.d.ts +24 -19
  696. package/lib/card/src/Card.js +8 -7
  697. package/lib/card/styles/light.d.ts +3 -3
  698. package/lib/card/styles/rtl.d.ts +1 -1
  699. package/lib/carousel/src/Carousel.d.ts +2 -2
  700. package/lib/carousel/src/Carousel.js +2 -2
  701. package/lib/carousel/src/CarouselContext.js +1 -1
  702. package/lib/carousel/src/CarouselDots.d.ts +1 -1
  703. package/lib/carousel/src/CarouselDots.js +1 -1
  704. package/lib/carousel/src/CarouselItem.js +4 -3
  705. package/lib/carousel/src/interface.d.ts +1 -1
  706. package/lib/carousel/src/utils/index.d.ts +1 -1
  707. package/lib/carousel/styles/light.d.ts +3 -3
  708. package/lib/cascader/src/Cascader.d.ts +21 -11
  709. package/lib/cascader/src/CascaderMenu.d.ts +4 -3
  710. package/lib/cascader/src/CascaderOption.d.ts +3 -2
  711. package/lib/cascader/src/CascaderSelectMenu.d.ts +4 -3
  712. package/lib/cascader/src/CascaderSubmenu.d.ts +3 -2
  713. package/lib/cascader/src/interface.d.ts +13 -13
  714. package/lib/cascader/styles/light.d.ts +3 -2
  715. package/lib/checkbox/src/Checkbox.d.ts +14 -3
  716. package/lib/checkbox/src/Checkbox.js +2 -1
  717. package/lib/checkbox/src/CheckboxGroup.d.ts +3 -4
  718. package/lib/checkbox/src/interface.d.ts +2 -2
  719. package/lib/checkbox/src/styles/index.cssr.js +1 -0
  720. package/lib/checkbox/styles/_common.d.ts +1 -0
  721. package/lib/checkbox/styles/_common.js +2 -1
  722. package/lib/checkbox/styles/light.d.ts +3 -2
  723. package/lib/code/src/Code.d.ts +3 -3
  724. package/lib/code/styles/light.d.ts +3 -3
  725. package/lib/collapse/src/Collapse.d.ts +15 -5
  726. package/lib/collapse/src/Collapse.js +2 -1
  727. package/lib/collapse/src/CollapseItem.d.ts +2 -2
  728. package/lib/collapse/src/CollapseItemContent.d.ts +1 -1
  729. package/lib/collapse/src/interface.d.ts +4 -4
  730. package/lib/collapse/src/styles/index.cssr.js +2 -1
  731. package/lib/collapse/styles/light.d.ts +4 -3
  732. package/lib/collapse/styles/light.js +2 -1
  733. package/lib/collapse-transition/src/CollapseTransition.d.ts +2 -2
  734. package/lib/collapse-transition/styles/light.d.ts +3 -3
  735. package/lib/color-picker/src/AlphaSlider.d.ts +2 -2
  736. package/lib/color-picker/src/ColorInput.d.ts +2 -2
  737. package/lib/color-picker/src/ColorInputUnit.d.ts +1 -1
  738. package/lib/color-picker/src/ColorPicker.d.ts +5 -5
  739. package/lib/color-picker/src/ColorPicker.js +2 -2
  740. package/lib/color-picker/src/ColorPickerSwatches.d.ts +2 -2
  741. package/lib/color-picker/src/ColorPickerSwatches.js +1 -1
  742. package/lib/color-picker/src/ColorPickerTrigger.d.ts +2 -2
  743. package/lib/color-picker/src/ColorPreview.d.ts +2 -2
  744. package/lib/color-picker/src/HueSlider.d.ts +1 -1
  745. package/lib/color-picker/src/Pallete.d.ts +2 -2
  746. package/lib/color-picker/src/context.d.ts +1 -1
  747. package/lib/color-picker/src/interface.d.ts +6 -6
  748. package/lib/color-picker/src/utils.d.ts +2 -2
  749. package/lib/color-picker/styles/light.d.ts +2 -2
  750. package/lib/composables/use-theme-vars.d.ts +1 -1
  751. package/lib/config-provider/src/ConfigProvider.d.ts +7 -7
  752. package/lib/config-provider/src/interface.d.ts +1 -1
  753. package/lib/config-provider/src/internal-interface.d.ts +5 -7
  754. package/lib/config-provider/src/katex.d.ts +2 -2
  755. package/lib/countdown/src/Countdown.d.ts +2 -2
  756. package/lib/create.d.ts +2 -2
  757. package/lib/data-table/src/DataTable.d.ts +16 -2
  758. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +6 -4
  759. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +9 -6
  760. package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +2 -2
  761. package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +2 -2
  762. package/lib/data-table/src/HeaderButton/SortButton.d.ts +4 -4
  763. package/lib/data-table/src/TableParts/Body.d.ts +5 -3
  764. package/lib/data-table/src/TableParts/Body.js +4 -2
  765. package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +2 -2
  766. package/lib/data-table/src/TableParts/BodyRadio.d.ts +2 -2
  767. package/lib/data-table/src/TableParts/Cell.d.ts +8 -4
  768. package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +4 -3
  769. package/lib/data-table/src/TableParts/ExpandTrigger.js +3 -1
  770. package/lib/data-table/src/TableParts/Header.d.ts +3 -1
  771. package/lib/data-table/src/TableParts/Header.js +4 -2
  772. package/lib/data-table/src/interface.d.ts +61 -57
  773. package/lib/data-table/src/styles/index.cssr.d.ts +1 -1
  774. package/lib/data-table/src/use-check.d.ts +2 -2
  775. package/lib/data-table/src/use-expand.d.ts +2 -2
  776. package/lib/data-table/src/use-group-header.d.ts +1 -1
  777. package/lib/data-table/src/use-scroll.d.ts +1 -1
  778. package/lib/data-table/src/use-sorter.d.ts +1 -1
  779. package/lib/data-table/src/use-table-data.d.ts +2 -2
  780. package/lib/data-table/src/utils.d.ts +1 -1
  781. package/lib/data-table/styles/light.d.ts +4 -2
  782. package/lib/date-picker/src/DatePicker.d.ts +5 -5
  783. package/lib/date-picker/src/DatePicker.js +2 -2
  784. package/lib/date-picker/src/config.d.ts +1 -1
  785. package/lib/date-picker/src/interface.d.ts +25 -25
  786. package/lib/date-picker/src/panel/date.d.ts +4 -4
  787. package/lib/date-picker/src/panel/date.js +1 -1
  788. package/lib/date-picker/src/panel/daterange.d.ts +1 -1
  789. package/lib/date-picker/src/panel/daterange.js +2 -2
  790. package/lib/date-picker/src/panel/datetime.d.ts +1 -1
  791. package/lib/date-picker/src/panel/datetime.js +1 -1
  792. package/lib/date-picker/src/panel/datetimerange.d.ts +1 -1
  793. package/lib/date-picker/src/panel/datetimerange.js +4 -4
  794. package/lib/date-picker/src/panel/month.d.ts +2 -2
  795. package/lib/date-picker/src/panel/month.js +1 -1
  796. package/lib/date-picker/src/panel/monthrange.d.ts +2 -2
  797. package/lib/date-picker/src/panel/panelHeader.d.ts +3 -3
  798. package/lib/date-picker/src/panel/use-calendar.d.ts +3 -3
  799. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +6 -6
  800. package/lib/date-picker/src/panel/use-panel-common.d.ts +4 -4
  801. package/lib/date-picker/src/utils.d.ts +1 -1
  802. package/lib/date-picker/src/validation-utils.d.ts +1 -1
  803. package/lib/date-picker/styles/light.d.ts +2 -2
  804. package/lib/descriptions/src/Descriptions.d.ts +3 -3
  805. package/lib/descriptions/src/DescriptionsItem.d.ts +2 -2
  806. package/lib/descriptions/src/utils.d.ts +1 -1
  807. package/lib/descriptions/styles/light.d.ts +4 -4
  808. package/lib/dialog/src/DialogEnvironment.d.ts +1 -1
  809. package/lib/dialog/src/DialogProvider.d.ts +10 -10
  810. package/lib/dialog/src/DialogProvider.js +1 -1
  811. package/lib/dialog/src/composables.d.ts +1 -1
  812. package/lib/dialog/src/dialogProps.d.ts +2 -2
  813. package/lib/dialog/src/interface.d.ts +1 -1
  814. package/lib/dialog/styles/light.d.ts +2 -2
  815. package/lib/discrete/src/InjectionExtractor.d.ts +1 -1
  816. package/lib/discrete/src/discrete.d.ts +2 -2
  817. package/lib/discrete/src/discreteApp.d.ts +9 -9
  818. package/lib/discrete/src/interface.d.ts +13 -13
  819. package/lib/divider/src/Divider.d.ts +2 -2
  820. package/lib/divider/styles/light.d.ts +2 -2
  821. package/lib/drawer/src/Drawer.d.ts +3 -3
  822. package/lib/drawer/src/DrawerBodyWrapper.d.ts +2 -2
  823. package/lib/drawer/src/DrawerContent.d.ts +2 -2
  824. package/lib/drawer/src/interface.d.ts +2 -2
  825. package/lib/drawer/styles/light.d.ts +2 -2
  826. package/lib/dropdown/src/Dropdown.d.ts +8 -8
  827. package/lib/dropdown/src/DropdownGroup.d.ts +2 -2
  828. package/lib/dropdown/src/DropdownMenu.d.ts +2 -2
  829. package/lib/dropdown/src/DropdownOption.d.ts +3 -3
  830. package/lib/dropdown/src/DropdownRenderOption.d.ts +2 -2
  831. package/lib/dropdown/src/interface.d.ts +23 -23
  832. package/lib/dropdown/styles/light.d.ts +2 -2
  833. package/lib/dynamic-input/src/DynamicInput.d.ts +6 -2
  834. package/lib/dynamic-input/src/DynamicInput.js +38 -29
  835. package/lib/dynamic-input/src/InputPreset.d.ts +4 -1
  836. package/lib/dynamic-input/src/InputPreset.js +3 -2
  837. package/lib/dynamic-input/src/PairPreset.d.ts +4 -1
  838. package/lib/dynamic-input/src/PairPreset.js +4 -3
  839. package/lib/dynamic-input/src/interface.d.ts +2 -2
  840. package/lib/dynamic-input/styles/dark.d.ts +1 -1
  841. package/lib/dynamic-input/styles/light.d.ts +2 -2
  842. package/lib/dynamic-tags/src/DynamicTags.d.ts +2 -2
  843. package/lib/dynamic-tags/src/DynamicTags.js +1 -1
  844. package/lib/dynamic-tags/src/interface.d.ts +3 -3
  845. package/lib/dynamic-tags/styles/light.d.ts +1 -1
  846. package/lib/element/src/Element.d.ts +10 -10
  847. package/lib/element/styles/dark.d.ts +1 -1
  848. package/lib/element/styles/light.d.ts +2 -2
  849. package/lib/ellipsis/src/Ellipsis.d.ts +2 -2
  850. package/lib/ellipsis/src/Ellipsis.js +6 -0
  851. package/lib/ellipsis/styles/dark.d.ts +1 -1
  852. package/lib/ellipsis/styles/light.d.ts +1 -1
  853. package/lib/empty/src/Empty.d.ts +2 -2
  854. package/lib/empty/styles/light.d.ts +2 -2
  855. package/lib/equation/src/Equation.d.ts +2 -2
  856. package/lib/equation/styles/light.d.ts +2 -2
  857. package/lib/form/src/Form.d.ts +13 -4
  858. package/lib/form/src/Form.js +2 -2
  859. package/lib/form/src/FormItem.d.ts +16 -6
  860. package/lib/form/src/FormItem.js +3 -2
  861. package/lib/form/src/FormItemCol.d.ts +12 -3
  862. package/lib/form/src/FormItemCol.js +1 -1
  863. package/lib/form/src/FormItemGridItem.d.ts +12 -3
  864. package/lib/form/src/FormItemGridItem.js +1 -1
  865. package/lib/form/src/FormItemRow.d.ts +11 -2
  866. package/lib/form/src/FormItemRow.js +1 -1
  867. package/lib/form/src/interface.d.ts +22 -22
  868. package/lib/form/src/styles/form-item.cssr.js +1 -0
  869. package/lib/form/src/utils.d.ts +1 -1
  870. package/lib/form/styles/_common.d.ts +1 -0
  871. package/lib/form/styles/_common.js +2 -1
  872. package/lib/form/styles/light.d.ts +3 -2
  873. package/lib/gradient-text/src/GradientText.d.ts +3 -3
  874. package/lib/gradient-text/styles/dark.d.ts +1 -1
  875. package/lib/gradient-text/styles/light.d.ts +2 -2
  876. package/lib/grid/src/Grid.d.ts +5 -5
  877. package/lib/grid/src/GridItem.d.ts +2 -2
  878. package/lib/icon/src/Icon.d.ts +6 -6
  879. package/lib/icon/styles/light.d.ts +2 -2
  880. package/lib/icon-wrapper/src/IconWrapper.d.ts +2 -2
  881. package/lib/icon-wrapper/src/IconWrapper.js +1 -1
  882. package/lib/icon-wrapper/styles/light.d.ts +2 -2
  883. package/lib/image/src/Image.d.ts +2 -2
  884. package/lib/image/src/Image.js +23 -21
  885. package/lib/image/src/ImageGroup.d.ts +3 -3
  886. package/lib/image/src/ImageGroup.js +2 -2
  887. package/lib/image/src/ImagePreview.d.ts +1 -1
  888. package/lib/image/src/ImagePreview.js +5 -4
  889. package/lib/image/src/interface.d.ts +1 -1
  890. package/lib/image/src/utils.d.ts +2 -2
  891. package/lib/image/styles/light.d.ts +2 -2
  892. package/lib/input/src/Input.d.ts +3 -4
  893. package/lib/input/src/Input.js +3 -3
  894. package/lib/input/src/InputGroup.d.ts +1 -1
  895. package/lib/input/src/InputGroupLabel.d.ts +2 -2
  896. package/lib/input/src/interface.d.ts +5 -5
  897. package/lib/input/src/styles/input.cssr.js +4 -3
  898. package/lib/input/styles/light.d.ts +2 -2
  899. package/lib/input-number/src/InputNumber.d.ts +3 -3
  900. package/lib/input-number/src/interface.d.ts +2 -2
  901. package/lib/input-number/styles/light.d.ts +2 -2
  902. package/lib/layout/src/Layout.d.ts +2 -2
  903. package/lib/layout/src/LayoutFooter.d.ts +1 -1
  904. package/lib/layout/src/LayoutHeader.d.ts +2 -2
  905. package/lib/layout/src/LayoutSider.d.ts +2 -2
  906. package/lib/layout/src/ToggleBar.d.ts +1 -1
  907. package/lib/layout/src/ToggleButton.d.ts +1 -1
  908. package/lib/layout/src/interface.d.ts +2 -2
  909. package/lib/layout/styles/light.d.ts +2 -2
  910. package/lib/legacy-grid/src/Col.d.ts +4 -4
  911. package/lib/legacy-grid/src/Row.d.ts +3 -3
  912. package/lib/legacy-grid/src/interface.d.ts +1 -1
  913. package/lib/legacy-grid/styles/dark.d.ts +1 -1
  914. package/lib/legacy-grid/styles/light.d.ts +1 -1
  915. package/lib/legacy-transfer/src/Transfer.d.ts +15 -6
  916. package/lib/legacy-transfer/src/TransferFilter.d.ts +2 -1
  917. package/lib/legacy-transfer/src/TransferHeader.d.ts +1 -1
  918. package/lib/legacy-transfer/src/TransferList.d.ts +3 -2
  919. package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -0
  920. package/lib/legacy-transfer/src/interface.d.ts +4 -4
  921. package/lib/legacy-transfer/src/use-transfer-data.d.ts +1 -1
  922. package/lib/legacy-transfer/styles/light.d.ts +3 -2
  923. package/lib/list/src/List.d.ts +3 -3
  924. package/lib/list/styles/light.d.ts +3 -3
  925. package/lib/loading-bar/src/LoadingBar.d.ts +1 -1
  926. package/lib/loading-bar/src/LoadingBarProvider.d.ts +6 -6
  927. package/lib/loading-bar/src/context.d.ts +1 -1
  928. package/lib/loading-bar/styles/light.d.ts +2 -2
  929. package/lib/locales/common/enUS.d.ts +2 -2
  930. package/lib/locales/common/faIR.d.ts +3 -0
  931. package/lib/locales/common/faIR.js +122 -0
  932. package/lib/locales/common/idID.js +17 -17
  933. package/lib/locales/common/koKR.js +9 -9
  934. package/lib/locales/common/trTR.js +1 -1
  935. package/lib/locales/common/zhTW.js +14 -17
  936. package/lib/locales/date/arDZ.d.ts +1 -1
  937. package/lib/locales/date/deDE.d.ts +1 -1
  938. package/lib/locales/date/enGB.d.ts +1 -1
  939. package/lib/locales/date/enUS.d.ts +1 -1
  940. package/lib/locales/date/eo.d.ts +1 -1
  941. package/lib/locales/date/esAR.d.ts +1 -1
  942. package/lib/locales/date/faIR.d.ts +3 -0
  943. package/lib/locales/date/faIR.js +11 -0
  944. package/lib/locales/date/frFR.d.ts +1 -1
  945. package/lib/locales/date/idID.d.ts +1 -1
  946. package/lib/locales/date/itIT.d.ts +1 -1
  947. package/lib/locales/date/jaJP.d.ts +1 -1
  948. package/lib/locales/date/koKR.d.ts +1 -1
  949. package/lib/locales/date/nbNO.d.ts +1 -1
  950. package/lib/locales/date/nlNL.d.ts +1 -1
  951. package/lib/locales/date/plPL.d.ts +1 -1
  952. package/lib/locales/date/ptBR.d.ts +1 -1
  953. package/lib/locales/date/ruRU.d.ts +1 -1
  954. package/lib/locales/date/skSK.d.ts +1 -1
  955. package/lib/locales/date/thTH.d.ts +1 -1
  956. package/lib/locales/date/trTR.d.ts +1 -1
  957. package/lib/locales/date/ukUA.d.ts +1 -1
  958. package/lib/locales/date/viVN.d.ts +1 -1
  959. package/lib/locales/date/zhCN.d.ts +1 -1
  960. package/lib/locales/date/zhTW.d.ts +1 -1
  961. package/lib/locales/index.d.ts +2 -0
  962. package/lib/locales/index.js +5 -1
  963. package/lib/locales/utils/index.d.ts +2 -2
  964. package/lib/log/src/Log.d.ts +3 -3
  965. package/lib/log/styles/light.d.ts +2 -2
  966. package/lib/mention/src/Mention.d.ts +6 -6
  967. package/lib/mention/src/interface.d.ts +1 -1
  968. package/lib/mention/styles/light.d.ts +2 -2
  969. package/lib/menu/src/Menu.d.ts +11 -11
  970. package/lib/menu/src/Menu.js +1 -1
  971. package/lib/menu/src/MenuOption.d.ts +2 -2
  972. package/lib/menu/src/MenuOptionContent.d.ts +2 -2
  973. package/lib/menu/src/MenuOptionGroup.d.ts +2 -2
  974. package/lib/menu/src/Submenu.d.ts +2 -2
  975. package/lib/menu/src/Submenu.js +2 -2
  976. package/lib/menu/src/interface.d.ts +13 -13
  977. package/lib/menu/src/styles/index.cssr.d.ts +1 -1
  978. package/lib/menu/src/use-menu-child-props.d.ts +3 -3
  979. package/lib/menu/src/use-menu-child.d.ts +3 -3
  980. package/lib/menu/src/utils.d.ts +2 -2
  981. package/lib/menu/styles/light.d.ts +2 -2
  982. package/lib/message/src/Message.d.ts +1 -1
  983. package/lib/message/src/MessageEnvironment.d.ts +1 -1
  984. package/lib/message/src/MessageProvider.d.ts +6 -8
  985. package/lib/message/src/context.d.ts +1 -1
  986. package/lib/message/src/message-props.d.ts +5 -5
  987. package/lib/message/src/types.d.ts +4 -4
  988. package/lib/message/styles/light.d.ts +3 -3
  989. package/lib/message/styles/rtl.d.ts +1 -1
  990. package/lib/modal/src/BodyWrapper.d.ts +11 -2
  991. package/lib/modal/src/Modal.d.ts +15 -2
  992. package/lib/modal/src/interface.d.ts +2 -2
  993. package/lib/modal/src/presetProps.d.ts +5 -1
  994. package/lib/modal/styles/light.d.ts +2 -2
  995. package/lib/notification/src/Notification.d.ts +1 -1
  996. package/lib/notification/src/NotificationContainer.d.ts +1 -1
  997. package/lib/notification/src/NotificationEnvironment.d.ts +5 -2
  998. package/lib/notification/src/NotificationProvider.d.ts +10 -10
  999. package/lib/notification/src/styles/index.cssr.d.ts +1 -1
  1000. package/lib/notification/src/styles/index.cssr.js +2 -0
  1001. package/lib/notification/styles/light.d.ts +2 -2
  1002. package/lib/notification/styles/rtl.d.ts +1 -1
  1003. package/lib/number-animation/src/NumberAnimation.d.ts +2 -2
  1004. package/lib/page-header/src/PageHeader.d.ts +2 -2
  1005. package/lib/page-header/styles/light.d.ts +2 -2
  1006. package/lib/pagination/src/Pagination.d.ts +10 -3
  1007. package/lib/pagination/src/Pagination.js +7 -5
  1008. package/lib/pagination/src/interface.d.ts +11 -10
  1009. package/lib/pagination/src/utils.d.ts +1 -1
  1010. package/lib/pagination/styles/light.d.ts +3 -3
  1011. package/lib/popconfirm/src/Popconfirm.d.ts +3 -3
  1012. package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
  1013. package/lib/popconfirm/src/interface.d.ts +2 -2
  1014. package/lib/popconfirm/styles/light.d.ts +3 -3
  1015. package/lib/popover/src/Popover.d.ts +4 -4
  1016. package/lib/popover/src/Popover.js +1 -2
  1017. package/lib/popover/src/PopoverBody.d.ts +2 -2
  1018. package/lib/popover/src/interface.d.ts +4 -4
  1019. package/lib/popover/src/styles/index.cssr.d.ts +1 -1
  1020. package/lib/popover/styles/light.d.ts +2 -2
  1021. package/lib/popselect/src/Popselect.d.ts +4 -4
  1022. package/lib/popselect/src/Popselect.js +2 -1
  1023. package/lib/popselect/src/PopselectPanel.d.ts +6 -6
  1024. package/lib/popselect/src/interface.d.ts +3 -3
  1025. package/lib/popselect/styles/light.d.ts +2 -2
  1026. package/lib/progress/src/Circle.d.ts +2 -2
  1027. package/lib/progress/src/Line.d.ts +2 -2
  1028. package/lib/progress/src/Line.js +3 -1
  1029. package/lib/progress/src/MultipleCircle.d.ts +1 -1
  1030. package/lib/progress/src/Progress.d.ts +4 -4
  1031. package/lib/progress/src/interface.d.ts +1 -1
  1032. package/lib/progress/styles/light.d.ts +2 -2
  1033. package/lib/radio/src/Radio.d.ts +8 -1
  1034. package/lib/radio/src/Radio.js +2 -1
  1035. package/lib/radio/src/RadioButton.d.ts +2 -2
  1036. package/lib/radio/src/RadioGroup.d.ts +12 -3
  1037. package/lib/radio/src/interface.d.ts +2 -2
  1038. package/lib/radio/src/styles/radio.cssr.js +1 -0
  1039. package/lib/radio/src/use-radio.d.ts +3 -3
  1040. package/lib/radio/styles/_common.d.ts +1 -0
  1041. package/lib/radio/styles/_common.js +2 -1
  1042. package/lib/radio/styles/light.d.ts +4 -3
  1043. package/lib/rate/src/Rate.d.ts +2 -2
  1044. package/lib/rate/src/Rate.js +1 -1
  1045. package/lib/rate/src/interface.d.ts +2 -2
  1046. package/lib/rate/styles/dark.d.ts +1 -1
  1047. package/lib/rate/styles/light.d.ts +3 -3
  1048. package/lib/result/src/Result.d.ts +2 -2
  1049. package/lib/result/styles/light.d.ts +2 -2
  1050. package/lib/scrollbar/src/Scrollbar.d.ts +6 -3
  1051. package/lib/scrollbar/src/Scrollbar.js +1 -1
  1052. package/lib/select/src/Select.d.ts +24 -7
  1053. package/lib/select/src/Select.js +12 -2
  1054. package/lib/select/src/interface.d.ts +14 -14
  1055. package/lib/select/src/utils.d.ts +1 -1
  1056. package/lib/select/styles/light.d.ts +2 -2
  1057. package/lib/skeleton/src/Skeleton.d.ts +2 -2
  1058. package/lib/skeleton/styles/dark.d.ts +1 -1
  1059. package/lib/skeleton/styles/light.d.ts +3 -3
  1060. package/lib/slider/src/Slider.d.ts +4 -4
  1061. package/lib/slider/src/Slider.js +4 -4
  1062. package/lib/slider/src/interface.d.ts +1 -1
  1063. package/lib/slider/src/utils.d.ts +4 -4
  1064. package/lib/slider/src/utils.js +1 -1
  1065. package/lib/slider/styles/light.d.ts +3 -3
  1066. package/lib/space/src/Space.d.ts +4 -4
  1067. package/lib/space/styles/light.d.ts +2 -2
  1068. package/lib/space/styles/rtl.d.ts +1 -1
  1069. package/lib/spin/src/Spin.d.ts +3 -3
  1070. package/lib/spin/styles/light.d.ts +3 -3
  1071. package/lib/statistic/src/Statistic.d.ts +1 -1
  1072. package/lib/statistic/styles/light.d.ts +3 -3
  1073. package/lib/statistic/styles/rtl.d.ts +1 -1
  1074. package/lib/steps/src/Step.d.ts +2 -2
  1075. package/lib/steps/src/Steps.d.ts +2 -2
  1076. package/lib/steps/styles/light.d.ts +2 -2
  1077. package/lib/steps/styles/rtl.d.ts +1 -1
  1078. package/lib/switch/src/Switch.d.ts +2 -2
  1079. package/lib/switch/src/interface.d.ts +2 -2
  1080. package/lib/switch/styles/light.d.ts +2 -2
  1081. package/lib/table/src/Table.d.ts +2 -2
  1082. package/lib/table/styles/light.d.ts +3 -3
  1083. package/lib/table/styles/rtl.d.ts +1 -1
  1084. package/lib/tabs/src/Tab.d.ts +1 -1
  1085. package/lib/tabs/src/TabPane.d.ts +2 -2
  1086. package/lib/tabs/src/Tabs.d.ts +245 -5
  1087. package/lib/tabs/src/Tabs.js +113 -76
  1088. package/lib/tabs/src/interface.d.ts +9 -9
  1089. package/lib/tabs/src/styles/index.cssr.js +137 -25
  1090. package/lib/tabs/styles/_common.d.ts +24 -0
  1091. package/lib/tabs/styles/_common.js +27 -3
  1092. package/lib/tabs/styles/light.d.ts +27 -3
  1093. package/lib/tag/src/Tag.d.ts +2 -2
  1094. package/lib/tag/src/common-props.d.ts +1 -1
  1095. package/lib/tag/styles/light.d.ts +2 -2
  1096. package/lib/theme-editor/src/ThemeEditor.d.ts +2 -4
  1097. package/lib/theme-editor/src/ThemeEditor.js +1 -1
  1098. package/lib/themes/interface.d.ts +2 -2
  1099. package/lib/themes/utils.d.ts +3 -3
  1100. package/lib/thing/src/Thing.d.ts +2 -2
  1101. package/lib/thing/styles/light.d.ts +2 -2
  1102. package/lib/thing/styles/rtl.d.ts +1 -1
  1103. package/lib/time/src/Time.d.ts +3 -3
  1104. package/lib/time-picker/src/Panel.d.ts +3 -3
  1105. package/lib/time-picker/src/PanelCol.d.ts +2 -2
  1106. package/lib/time-picker/src/PanelCol.js +1 -1
  1107. package/lib/time-picker/src/TimePicker.d.ts +3 -3
  1108. package/lib/time-picker/src/interface.d.ts +11 -11
  1109. package/lib/time-picker/src/utils.d.ts +1 -1
  1110. package/lib/time-picker/styles/light.d.ts +2 -2
  1111. package/lib/timeline/src/Timeline.d.ts +4 -4
  1112. package/lib/timeline/src/TimelineItem.d.ts +2 -2
  1113. package/lib/timeline/styles/light.d.ts +2 -2
  1114. package/lib/tooltip/src/Tooltip.d.ts +2 -2
  1115. package/lib/tooltip/src/Tooltip.js +2 -1
  1116. package/lib/tooltip/styles/light.d.ts +2 -2
  1117. package/lib/transfer/src/Transfer.d.ts +16 -7
  1118. package/lib/transfer/src/TransferFilter.d.ts +2 -1
  1119. package/lib/transfer/src/TransferHeader.d.ts +1 -1
  1120. package/lib/transfer/src/TransferList.d.ts +3 -2
  1121. package/lib/transfer/src/TransferListItem.d.ts +3 -2
  1122. package/lib/transfer/src/interface.d.ts +7 -7
  1123. package/lib/transfer/src/use-transfer-data.d.ts +4 -4
  1124. package/lib/transfer/styles/light.d.ts +3 -2
  1125. package/lib/tree/src/MotionWrapper.d.ts +2 -2
  1126. package/lib/tree/src/Tree.d.ts +27 -15
  1127. package/lib/tree/src/Tree.js +40 -37
  1128. package/lib/tree/src/TreeNode.d.ts +3 -3
  1129. package/lib/tree/src/TreeNode.js +4 -2
  1130. package/lib/tree/src/TreeNodeCheckbox.d.ts +2 -1
  1131. package/lib/tree/src/TreeNodeCheckbox.js +3 -2
  1132. package/lib/tree/src/TreeNodeContent.d.ts +2 -2
  1133. package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
  1134. package/lib/tree/src/dnd.d.ts +2 -2
  1135. package/lib/tree/src/interface.d.ts +18 -18
  1136. package/lib/tree/src/keyboard.d.ts +3 -3
  1137. package/lib/tree/src/utils.d.ts +3 -3
  1138. package/lib/tree/styles/light.d.ts +3 -2
  1139. package/lib/tree-select/src/TreeSelect.d.ts +19 -8
  1140. package/lib/tree-select/src/TreeSelect.js +1 -1
  1141. package/lib/tree-select/src/interface.d.ts +14 -14
  1142. package/lib/tree-select/src/utils.d.ts +2 -2
  1143. package/lib/tree-select/styles/light.d.ts +3 -2
  1144. package/lib/typography/src/a.d.ts +1 -1
  1145. package/lib/typography/src/blockquote.d.ts +1 -1
  1146. package/lib/typography/src/create-header.d.ts +3 -3
  1147. package/lib/typography/src/ol.d.ts +1 -1
  1148. package/lib/typography/src/p.d.ts +2 -2
  1149. package/lib/typography/src/text.d.ts +2 -2
  1150. package/lib/typography/src/ul.d.ts +1 -1
  1151. package/lib/typography/styles/light.d.ts +2 -2
  1152. package/lib/upload/src/Upload.d.ts +2 -62
  1153. package/lib/upload/src/Upload.js +4 -7
  1154. package/lib/upload/src/UploadFile.d.ts +1 -1
  1155. package/lib/upload/src/UploadProgress.d.ts +1 -1
  1156. package/lib/upload/src/interface.d.ts +18 -18
  1157. package/lib/upload/src/utils.js +7 -9
  1158. package/lib/upload/styles/light.d.ts +2 -2
  1159. package/lib/version.d.ts +1 -1
  1160. package/lib/version.js +1 -1
  1161. package/lib/watermark/src/Watermark.d.ts +3 -3
  1162. package/lib/watermark/styles/light.d.ts +1 -1
  1163. package/package.json +45 -45
  1164. package/web-types.json +166 -26
@@ -8,6 +8,7 @@ import { tabsLight } from '../styles';
8
8
  import { tabsInjectionKey } from './interface';
9
9
  import Tab from './Tab';
10
10
  import style from './styles/index.cssr';
11
+ import { getPadding } from 'seemly';
11
12
  export const tabsProps = Object.assign(Object.assign({}, useTheme.props), { value: [String, Number], defaultValue: [String, Number], trigger: {
12
13
  type: String,
13
14
  default: 'click'
@@ -17,7 +18,10 @@ export const tabsProps = Object.assign(Object.assign({}, useTheme.props), { valu
17
18
  }, closable: Boolean, justifyContent: String, size: {
18
19
  type: String,
19
20
  default: 'medium'
20
- }, tabStyle: [String, Object], barWidth: Number, paneClass: String, paneStyle: [String, Object], addable: [Boolean, Object], tabsPadding: {
21
+ }, placement: {
22
+ type: String,
23
+ default: 'top'
24
+ }, tabStyle: [String, Object], barWidth: Number, paneClass: String, paneStyle: [String, Object], paneWrapperClass: String, paneWrapperStyle: [String, Object], addable: [Boolean, Object], tabsPadding: {
21
25
  type: Number,
22
26
  default: 0
23
27
  }, animated: Boolean, onBeforeLeave: Function, onAdd: Function, 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array], onClose: [Function, Array],
@@ -48,8 +52,8 @@ export default defineComponent({
48
52
  const scrollWrapperElRef = ref(null);
49
53
  const addTabInstRef = ref(null);
50
54
  const xScrollInstRef = ref(null);
51
- const leftReachedRef = ref(true);
52
- const rightReachedRef = ref(true);
55
+ const startReachedRef = ref(true);
56
+ const endReachedRef = ref(true);
53
57
  const compitableSizeRef = useCompitable(props, ['labelSize', 'size']);
54
58
  const compitableValueRef = useCompitable(props, ['activeName', 'value']);
55
59
  const uncontrolledValueRef = ref((_b = (_a = compitableValueRef.value) !== null && _a !== void 0 ? _a : props.defaultValue) !== null && _b !== void 0 ? _b : (slots.default
@@ -86,24 +90,49 @@ export default defineComponent({
86
90
  return;
87
91
  if (tabEl) {
88
92
  const disabledClassName = `${mergedClsPrefixRef.value}-tabs-bar--disabled`;
89
- const { barWidth } = props;
93
+ const { barWidth, placement } = props;
90
94
  if (tabEl.dataset.disabled === 'true') {
91
95
  barEl.classList.add(disabledClassName);
92
96
  }
93
97
  else {
94
98
  barEl.classList.remove(disabledClassName);
95
99
  }
96
- if (typeof barWidth === 'number' && tabEl.offsetWidth >= barWidth) {
97
- const offsetDiffLeft = Math.floor((tabEl.offsetWidth - barWidth) / 2) + tabEl.offsetLeft;
98
- barEl.style.left = `${offsetDiffLeft}px`;
99
- barEl.style.maxWidth = `${barWidth}px`;
100
+ if (['top', 'bottom'].includes(placement)) {
101
+ clearBarStyle(['top', 'maxHeight', 'height']);
102
+ if (typeof barWidth === 'number' && tabEl.offsetWidth >= barWidth) {
103
+ const offsetDiffLeft = Math.floor((tabEl.offsetWidth - barWidth) / 2) + tabEl.offsetLeft;
104
+ barEl.style.left = `${offsetDiffLeft}px`;
105
+ barEl.style.maxWidth = `${barWidth}px`;
106
+ }
107
+ else {
108
+ barEl.style.left = `${tabEl.offsetLeft}px`;
109
+ barEl.style.maxWidth = `${tabEl.offsetWidth}px`;
110
+ }
111
+ barEl.style.width = '8192px';
112
+ void barEl.offsetWidth;
100
113
  }
101
114
  else {
102
- barEl.style.left = `${tabEl.offsetLeft}px`;
103
- barEl.style.maxWidth = `${tabEl.offsetWidth}px`;
115
+ clearBarStyle(['left', 'maxWidth', 'width']);
116
+ if (typeof barWidth === 'number' && tabEl.offsetHeight >= barWidth) {
117
+ const offsetDiffTop = Math.floor((tabEl.offsetHeight - barWidth) / 2) + tabEl.offsetTop;
118
+ barEl.style.top = `${offsetDiffTop}px`;
119
+ barEl.style.maxHeight = `${barWidth}px`;
120
+ }
121
+ else {
122
+ barEl.style.top = `${tabEl.offsetTop}px`;
123
+ barEl.style.maxHeight = `${tabEl.offsetHeight}px`;
124
+ }
125
+ barEl.style.height = '8192px';
126
+ void barEl.offsetHeight;
104
127
  }
105
- barEl.style.width = '8192px';
106
- void barEl.offsetWidth;
128
+ }
129
+ }
130
+ function clearBarStyle(styleProps) {
131
+ const { value: barEl } = barElRef;
132
+ if (!barEl)
133
+ return;
134
+ for (const prop of styleProps) {
135
+ barEl.style[prop] = '';
107
136
  }
108
137
  }
109
138
  function updateCurrentBarStyle() {
@@ -306,9 +335,17 @@ export default defineComponent({
306
335
  function deriveScrollShadow(el) {
307
336
  if (!el)
308
337
  return;
309
- const { scrollLeft, scrollWidth, offsetWidth } = el;
310
- leftReachedRef.value = scrollLeft <= 0;
311
- rightReachedRef.value = scrollLeft + offsetWidth >= scrollWidth;
338
+ const { placement } = props;
339
+ if (placement === 'top' || placement === 'bottom') {
340
+ const { scrollLeft, scrollWidth, offsetWidth } = el;
341
+ startReachedRef.value = scrollLeft <= 0;
342
+ endReachedRef.value = scrollLeft + offsetWidth >= scrollWidth;
343
+ }
344
+ else {
345
+ const { scrollTop, scrollHeight, offsetHeight } = el;
346
+ startReachedRef.value = scrollTop <= 0;
347
+ endReachedRef.value = scrollTop + offsetHeight >= scrollHeight;
348
+ }
312
349
  }
313
350
  const handleScroll = throttle((e) => {
314
351
  deriveScrollShadow(e.target);
@@ -338,19 +375,19 @@ export default defineComponent({
338
375
  if (!el)
339
376
  return;
340
377
  const { value: clsPrefix } = mergedClsPrefixRef;
341
- const shadowBeforeClass = `${clsPrefix}-tabs-nav-scroll-wrapper--shadow-before`;
342
- const shadowAfterClass = `${clsPrefix}-tabs-nav-scroll-wrapper--shadow-after`;
343
- if (leftReachedRef.value) {
344
- el.classList.remove(shadowBeforeClass);
378
+ const shadowStartClass = `${clsPrefix}-tabs-nav-scroll-wrapper--shadow-start`;
379
+ const shadowEndClass = `${clsPrefix}-tabs-nav-scroll-wrapper--shadow-end`;
380
+ if (startReachedRef.value) {
381
+ el.classList.remove(shadowStartClass);
345
382
  }
346
383
  else {
347
- el.classList.add(shadowBeforeClass);
384
+ el.classList.add(shadowStartClass);
348
385
  }
349
- if (rightReachedRef.value) {
350
- el.classList.remove(shadowAfterClass);
386
+ if (endReachedRef.value) {
387
+ el.classList.remove(shadowEndClass);
351
388
  }
352
389
  else {
353
- el.classList.add(shadowAfterClass);
390
+ el.classList.add(shadowEndClass);
354
391
  }
355
392
  });
356
393
  const tabsRailElRef = ref(null);
@@ -381,7 +418,7 @@ export default defineComponent({
381
418
  segment: 'Segment'
382
419
  }[type];
383
420
  const sizeType = `${size}${typeSuffix}`;
384
- const { self: { barColor, closeIconColor, closeIconColorHover, closeIconColorPressed, tabColor, tabBorderColor, paneTextColor, tabFontWeight, tabBorderRadius, tabFontWeightActive, colorSegment, fontWeightStrong, tabColorSegment, closeSize, closeIconSize, closeColorHover, closeColorPressed, closeBorderRadius, [createKey('panePadding', size)]: panePadding, [createKey('tabPadding', sizeType)]: tabPadding, [createKey('tabGap', sizeType)]: tabGap, [createKey('tabTextColor', type)]: tabTextColor, [createKey('tabTextColorActive', type)]: tabTextColorActive, [createKey('tabTextColorHover', type)]: tabTextColorHover, [createKey('tabTextColorDisabled', type)]: tabTextColorDisabled, [createKey('tabFontSize', size)]: tabFontSize }, common: { cubicBezierEaseInOut } } = themeRef.value;
421
+ const { self: { barColor, closeIconColor, closeIconColorHover, closeIconColorPressed, tabColor, tabBorderColor, paneTextColor, tabFontWeight, tabBorderRadius, tabFontWeightActive, colorSegment, fontWeightStrong, tabColorSegment, closeSize, closeIconSize, closeColorHover, closeColorPressed, closeBorderRadius, [createKey('panePadding', size)]: panePadding, [createKey('tabPadding', sizeType)]: tabPadding, [createKey('tabPaddingVertical', sizeType)]: tabPaddingVertical, [createKey('tabGap', sizeType)]: tabGap, [createKey('tabGap', `${sizeType}Vertical`)]: tabGapVertical, [createKey('tabTextColor', type)]: tabTextColor, [createKey('tabTextColorActive', type)]: tabTextColorActive, [createKey('tabTextColorHover', type)]: tabTextColorHover, [createKey('tabTextColorDisabled', type)]: tabTextColorDisabled, [createKey('tabFontSize', size)]: tabFontSize }, common: { cubicBezierEaseInOut } } = themeRef.value;
385
422
  return {
386
423
  '--n-bezier': cubicBezierEaseInOut,
387
424
  '--n-color-segment': colorSegment,
@@ -406,8 +443,13 @@ export default defineComponent({
406
443
  '--n-tab-font-weight': tabFontWeight,
407
444
  '--n-tab-font-weight-active': tabFontWeightActive,
408
445
  '--n-tab-padding': tabPadding,
446
+ '--n-tab-padding-vertical': tabPaddingVertical,
409
447
  '--n-tab-gap': tabGap,
410
- '--n-pane-padding': panePadding,
448
+ '--n-tab-gap-vertical': tabGapVertical,
449
+ '--n-pane-padding-left': getPadding(panePadding, 'left'),
450
+ '--n-pane-padding-right': getPadding(panePadding, 'right'),
451
+ '--n-pane-padding-top': getPadding(panePadding, 'top'),
452
+ '--n-pane-padding-bottom': getPadding(panePadding, 'bottom'),
411
453
  '--n-font-weight-strong': fontWeightStrong,
412
454
  '--n-tab-color-segment': tabColorSegment
413
455
  };
@@ -430,7 +472,7 @@ export default defineComponent({
430
472
  onAnimationAfterEnter, onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender }, exposedMethods);
431
473
  },
432
474
  render() {
433
- const { mergedClsPrefix, type, addTabFixed, addable, mergedSize, renderNameListRef, onRender, $slots: { default: defaultSlot, prefix: prefixSlot, suffix: suffixSlot } } = this;
475
+ const { mergedClsPrefix, type, placement, addTabFixed, addable, mergedSize, renderNameListRef, onRender, paneWrapperClass, paneWrapperStyle, $slots: { default: defaultSlot, prefix: prefixSlot, suffix: suffixSlot } } = this;
434
476
  onRender === null || onRender === void 0 ? void 0 : onRender();
435
477
  const tabPaneChildren = defaultSlot
436
478
  ? flatten(defaultSlot()).filter((v) => {
@@ -447,12 +489,50 @@ export default defineComponent({
447
489
  const isSegment = type === 'segment';
448
490
  const mergedJustifyContent = !isCard && !isSegment && this.justifyContent;
449
491
  renderNameListRef.value = [];
492
+ const scrollContent = () => {
493
+ const tabs = (h("div", { style: this.tabWrapperStyle, class: [`${mergedClsPrefix}-tabs-wrapper`] },
494
+ mergedJustifyContent ? null : (h("div", { class: `${mergedClsPrefix}-tabs-scroll-padding`, style: { width: `${this.tabsPadding}px` } })),
495
+ showPane
496
+ ? tabPaneChildren.map((tabPaneVNode, index) => {
497
+ renderNameListRef.value.push(tabPaneVNode.props.name);
498
+ return justifyTabDynamicProps(h(Tab, Object.assign({}, tabPaneVNode.props, { internalCreatedByPane: true, internalLeftPadded: index !== 0 &&
499
+ (!mergedJustifyContent ||
500
+ mergedJustifyContent === 'center' ||
501
+ mergedJustifyContent === 'start' ||
502
+ mergedJustifyContent === 'end') }), tabPaneVNode.children
503
+ ? {
504
+ default: tabPaneVNode.children.tab
505
+ }
506
+ : undefined));
507
+ })
508
+ : tabChildren.map((tabVNode, index) => {
509
+ renderNameListRef.value.push(tabVNode.props.name);
510
+ if (index !== 0 && !mergedJustifyContent) {
511
+ return justifyTabDynamicProps(createLeftPaddedTabVNode(tabVNode));
512
+ }
513
+ else {
514
+ return justifyTabDynamicProps(tabVNode);
515
+ }
516
+ }),
517
+ !addTabFixed && addable && isCard
518
+ ? createAddTag(addable, (showPane ? tabPaneChildren.length : tabChildren.length) !== 0)
519
+ : null,
520
+ mergedJustifyContent ? null : (h("div", { class: `${mergedClsPrefix}-tabs-scroll-padding`, style: { width: `${this.tabsPadding}px` } }))));
521
+ return (h("div", { ref: "tabsElRef", class: `${mergedClsPrefix}-tabs-nav-scroll-content` },
522
+ isCard && addable ? (h(VResizeObserver, { onResize: this.handleTabsResize }, {
523
+ default: () => tabs
524
+ })) : (tabs),
525
+ isCard ? h("div", { class: `${mergedClsPrefix}-tabs-pad` }) : null,
526
+ isCard ? null : (h("div", { ref: "barElRef", class: `${mergedClsPrefix}-tabs-bar` }))));
527
+ };
528
+ const resolvedPlacement = isSegment ? 'top' : placement;
450
529
  return (h("div", { class: [
451
530
  `${mergedClsPrefix}-tabs`,
452
531
  this.themeClass,
453
532
  `${mergedClsPrefix}-tabs--${type}-type`,
454
533
  `${mergedClsPrefix}-tabs--${mergedSize}-size`,
455
- mergedJustifyContent && `${mergedClsPrefix}-tabs--flex`
534
+ mergedJustifyContent && `${mergedClsPrefix}-tabs--flex`,
535
+ `${mergedClsPrefix}-tabs--${resolvedPlacement}`
456
536
  ], style: this.cssVars },
457
537
  h("div", { class: [
458
538
  // the class should be applied here since it's possible
@@ -460,6 +540,7 @@ export default defineComponent({
460
540
  // other. adding a class will make it easy to write the
461
541
  // style.
462
542
  `${mergedClsPrefix}-tabs-nav--${type}-type`,
543
+ `${mergedClsPrefix}-tabs-nav--${resolvedPlacement}`,
463
544
  `${mergedClsPrefix}-tabs-nav`
464
545
  ] },
465
546
  resolveWrappedSlot(prefixSlot, (children) => children && (h("div", { class: `${mergedClsPrefix}-tabs-nav__prefix` }, children))),
@@ -481,61 +562,17 @@ export default defineComponent({
481
562
  return createLeftPaddedTabVNode(tabVNode);
482
563
  }
483
564
  }))) : (h(VResizeObserver, { onResize: this.handleNavResize }, {
484
- default: () => (h("div", { class: `${mergedClsPrefix}-tabs-nav-scroll-wrapper`, ref: "scrollWrapperElRef" },
485
- h(VXScroll, { ref: "xScrollInstRef", onScroll: this.handleScroll }, {
486
- default: () => {
487
- const rawWrappedTabs = (h("div", { style: this.tabWrapperStyle, class: `${mergedClsPrefix}-tabs-wrapper` },
488
- mergedJustifyContent ? null : (h("div", { class: `${mergedClsPrefix}-tabs-scroll-padding`, style: { width: `${this.tabsPadding}px` } })),
489
- showPane
490
- ? tabPaneChildren.map((tabPaneVNode, index) => {
491
- renderNameListRef.value.push(tabPaneVNode.props.name);
492
- return justifyTabDynamicProps(h(Tab, Object.assign({}, tabPaneVNode.props, { internalCreatedByPane: true, internalLeftPadded: index !== 0 &&
493
- (!mergedJustifyContent ||
494
- mergedJustifyContent ===
495
- 'center' ||
496
- mergedJustifyContent ===
497
- 'start' ||
498
- mergedJustifyContent === 'end') }), tabPaneVNode.children
499
- ? {
500
- default: tabPaneVNode.children.tab
501
- }
502
- : undefined));
503
- })
504
- : tabChildren.map((tabVNode, index) => {
505
- renderNameListRef.value.push(tabVNode.props.name);
506
- if (index !== 0 &&
507
- !mergedJustifyContent) {
508
- return justifyTabDynamicProps(createLeftPaddedTabVNode(tabVNode));
509
- }
510
- else {
511
- return justifyTabDynamicProps(tabVNode);
512
- }
513
- }),
514
- !addTabFixed && addable && isCard
515
- ? createAddTag(addable, (showPane
516
- ? tabPaneChildren.length
517
- : tabChildren.length) !== 0)
518
- : null,
519
- mergedJustifyContent ? null : (h("div", { class: `${mergedClsPrefix}-tabs-scroll-padding`, style: { width: `${this.tabsPadding}px` } }))));
520
- let wrappedTabs = rawWrappedTabs;
521
- if (isCard && addable) {
522
- wrappedTabs = (h(VResizeObserver, { onResize: this.handleTabsResize }, {
523
- default: () => rawWrappedTabs
524
- }));
525
- }
526
- return (h("div", { ref: "tabsElRef", class: `${mergedClsPrefix}-tabs-nav-scroll-content` },
527
- wrappedTabs,
528
- isCard ? (h("div", { class: `${mergedClsPrefix}-tabs-pad` })) : null,
529
- isCard ? null : (h("div", { ref: "barElRef", class: `${mergedClsPrefix}-tabs-bar` }))));
530
- }
531
- })))
565
+ default: () => (h("div", { class: `${mergedClsPrefix}-tabs-nav-scroll-wrapper`, ref: "scrollWrapperElRef" }, ['top', 'bottom'].includes(resolvedPlacement) ? (h(VXScroll, { ref: "xScrollInstRef", onScroll: this.handleScroll }, {
566
+ default: scrollContent
567
+ })) : (h("div", { class: `${mergedClsPrefix}-tabs-nav-y-scroll`, onScroll: this.handleScroll }, scrollContent()))))
532
568
  })),
533
569
  addTabFixed && addable && isCard
534
570
  ? createAddTag(addable, true)
535
571
  : null,
536
572
  resolveWrappedSlot(suffixSlot, (children) => children && (h("div", { class: `${mergedClsPrefix}-tabs-nav__suffix` }, children)))),
537
573
  showPane &&
538
- (this.animated ? (h("div", { ref: "tabsPaneWrapperRef", class: `${mergedClsPrefix}-tabs-pane-wrapper` }, filterMapTabPanes(tabPaneChildren, this.mergedValue, this.renderedNames, this.onAnimationBeforeLeave, this.onAnimationEnter, this.onAnimationAfterEnter, this.animationDirection))) : (filterMapTabPanes(tabPaneChildren, this.mergedValue, this.renderedNames)))));
574
+ (this.animated &&
575
+ (resolvedPlacement === 'top' || resolvedPlacement === 'bottom') ? (h("div", { ref: "tabsPaneWrapperRef", style: paneWrapperStyle, class: [`${mergedClsPrefix}-tabs-pane-wrapper`, paneWrapperClass] }, filterMapTabPanes(tabPaneChildren, this.mergedValue, this.renderedNames, this.onAnimationBeforeLeave, this.onAnimationEnter, this.onAnimationAfterEnter, this.animationDirection))) : (filterMapTabPanes(tabPaneChildren, this.mergedValue, this.renderedNames)))));
539
576
  }
540
577
  });
541
578
  function filterMapTabPanes(tabPaneVNodes, value, renderedNames, onBeforeLeave, onEnter, onAfterEnter, animationDirection) {
@@ -1,11 +1,11 @@
1
- import { Ref, CSSProperties } from 'vue';
2
- export declare type TabsType = 'line' | 'card' | 'bar' | 'segment';
3
- export declare type OnUpdateValue = (value: string & number) => void;
4
- export declare type OnUpdateValueImpl = (value: string | number) => void;
5
- export declare type OnClose = (name: string & number) => void;
6
- export declare type OnCloseImpl = (name: string | number) => void;
7
- export declare type OnBeforeLeave = (name: string & number, oldName: string & number & null) => boolean | Promise<boolean>;
8
- export declare type OnBeforeLeaveImpl = (name: string | number, oldName: string | number | null) => boolean | Promise<boolean>;
1
+ import { type Ref, type CSSProperties } from 'vue';
2
+ export type TabsType = 'line' | 'card' | 'bar' | 'segment';
3
+ export type OnUpdateValue = (value: string & number) => void;
4
+ export type OnUpdateValueImpl = (value: string | number) => void;
5
+ export type OnClose = (name: string & number) => void;
6
+ export type OnCloseImpl = (name: string | number) => void;
7
+ export type OnBeforeLeave = (name: string & number, oldName: string & number & null) => boolean | Promise<boolean>;
8
+ export type OnBeforeLeaveImpl = (name: string | number, oldName: string | number | null) => boolean | Promise<boolean>;
9
9
  export interface TabsInjection {
10
10
  mergedClsPrefixRef: Ref<string>;
11
11
  valueRef: Ref<string | number | null>;
@@ -23,7 +23,7 @@ export interface TabsInjection {
23
23
  handleClose: (panelName: string | number) => void;
24
24
  handleAdd: () => void;
25
25
  }
26
- export declare type Addable = boolean | {
26
+ export type Addable = boolean | {
27
27
  disabled?: boolean;
28
28
  };
29
29
  export declare const tabsInjectionKey: import("vue").InjectionKey<TabsInjection>;
@@ -21,20 +21,54 @@ import { c, cM, cB, cE, cNotM } from '../../../_utils/cssr';
21
21
  // --n-tab-font-weight
22
22
  // --n-tab-font-weight-active
23
23
  // --n-tab-gap
24
+ // --n-tab-gap-vertical
24
25
  // --n-tab-padding
25
- // --n-pane-padding
26
+ // --n-pane-padding-left
27
+ // --n-pane-padding-right
28
+ // --n-pane-padding-top
29
+ // --n-pane-padding-bottom
26
30
  // --n-color-segment
27
31
  // --n-font-weight-strong
28
32
  // --n-tab-color-segment
29
33
  export default cB('tabs', `
30
34
  box-sizing: border-box;
31
35
  width: 100%;
36
+ display: flex;
37
+ flex-direction: column;
32
38
  transition:
33
39
  background-color .3s var(--n-bezier),
34
40
  border-color .3s var(--n-bezier);
35
41
  `, [cM('segment-type', [cB('tabs-rail', [c('&.transition-disabled', 'color: red;', [cB('tabs-tab', `
36
42
  transition: none;
37
- `)])])]), cB('tabs-rail', `
43
+ `)])])]), cM('top', [cB('tab-pane', `
44
+ padding: var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left);
45
+ `)]), cM('left', [cB('tab-pane', `
46
+ padding: var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left) var(--n-pane-padding-top);
47
+ `)]), cM('left, right', `
48
+ flex-direction: row;
49
+ `, [cB('tabs-bar', `
50
+ width: 2px;
51
+ right: 0;
52
+ transition:
53
+ top .2s var(--n-bezier),
54
+ max-height .2s var(--n-bezier),
55
+ background-color .3s var(--n-bezier);
56
+ `), cB('tabs-tab', `
57
+ padding: var(--n-tab-padding-vertical);
58
+ `)]), cM('right', `
59
+ flex-direction: row-reverse;
60
+ `, [cB('tab-pane', `
61
+ padding: var(--n-pane-padding-left) var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom);
62
+ `), cB('tabs-bar', `
63
+ left: 0;
64
+ `)]), cM('bottom', `
65
+ flex-direction: column-reverse;
66
+ justify-content: flex-end;
67
+ `, [cB('tab-pane', `
68
+ padding: var(--n-pane-padding-bottom) var(--n-pane-padding-right) var(--n-pane-padding-top) var(--n-pane-padding-left);
69
+ `), cB('tabs-bar', `
70
+ top: 0;
71
+ `)]), cB('tabs-rail', `
38
72
  padding: 3px;
39
73
  border-radius: var(--n-tab-border-radius);
40
74
  width: 100%;
@@ -76,32 +110,58 @@ export default cB('tabs', `
76
110
  `, [cE('prefix, suffix', `
77
111
  display: flex;
78
112
  align-items: center;
79
- `), cE('prefix', 'padding-right: 16px;'), cE('suffix', 'padding-left: 16px;')]), cB('tabs-nav-scroll-wrapper', `
113
+ `), cE('prefix', 'padding-right: 16px;'), cE('suffix', 'padding-left: 16px;')]), cM('top, bottom', [cB('tabs-nav-scroll-wrapper', [c('&::before', `
114
+ top: 0;
115
+ bottom: 0;
116
+ left: 0;
117
+ width: 20px;
118
+ `), c('&::after', `
119
+ top: 0;
120
+ bottom: 0;
121
+ right: 0;
122
+ width: 20px;
123
+ `), cM('shadow-start', [c('&::before', `
124
+ box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12);
125
+ `)]), cM('shadow-end', [c('&::after', `
126
+ box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12);
127
+ `)])])]), cM('left, right', [cB('tabs-nav-scroll-wrapper', [c('&::before', `
128
+ top: 0;
129
+ left: 0;
130
+ right: 0;
131
+ height: 20px;
132
+ `), c('&::after', `
133
+ bottom: 0;
134
+ left: 0;
135
+ right: 0;
136
+ height: 20px;
137
+ `), cM('shadow-start', [c('&::before', `
138
+ box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, .12);
139
+ `)]), cM('shadow-end', [c('&::after', `
140
+ box-shadow: inset 0 -10px 8px -8px rgba(0, 0, 0, .12);
141
+ `)])])]), cB('tabs-nav-scroll-wrapper', `
80
142
  flex: 1;
81
143
  position: relative;
82
144
  overflow: hidden;
83
- `, [cM('shadow-before', [c('&::before', `
84
- box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12);
85
- `)]), cM('shadow-after', [c('&::after', `
86
- box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12);
145
+ `, [cB('tabs-nav-y-scroll', `
146
+ height: 100%;
147
+ width: 100%;
148
+ overflow-y: auto;
149
+ scrollbar-width: none;
150
+ `, [c('&::-webkit-scrollbar', `
151
+ width: 0;
152
+ height: 0;
87
153
  `)]), c('&::before, &::after', `
88
154
  transition: box-shadow .3s var(--n-bezier);
89
155
  pointer-events: none;
90
156
  content: "";
91
157
  position: absolute;
92
- top: 0;
93
- bottom: 0;
94
- width: 20px;
95
158
  z-index: 1;
96
- `), c('&::before', `
97
- left: 0;
98
- `), c('&::after', `
99
- right: 0;
100
159
  `)]), cB('tabs-nav-scroll-content', `
101
160
  display: flex;
102
161
  position: relative;
103
162
  min-width: 100%;
104
163
  width: fit-content;
164
+ box-sizing: border-box;
105
165
  `), cB('tabs-wrapper', `
106
166
  display: inline-flex;
107
167
  flex-wrap: nowrap;
@@ -157,7 +217,6 @@ export default cB('tabs', `
157
217
  `), cB('tab-pane', `
158
218
  color: var(--n-pane-text-color);
159
219
  width: 100%;
160
- padding: var(--n-pane-padding);
161
220
  transition:
162
221
  color .3s var(--n-bezier),
163
222
  background-color .3s var(--n-bezier),
@@ -183,6 +242,7 @@ export default cB('tabs', `
183
242
  transform: translateX(0);
184
243
  opacity: 1;
185
244
  `)]), cB('tabs-tab-pad', `
245
+ box-sizing: border-box;
186
246
  width: var(--n-tab-gap);
187
247
  flex-grow: 0;
188
248
  flex-shrink: 0;
@@ -197,15 +257,36 @@ export default cB('tabs', `
197
257
  font-weight: var(--n-tab-font-weight-active);
198
258
  `), cM('disabled', {
199
259
  color: 'var(--n-tab-text-color-disabled)'
200
- })])]), cB('tabs-nav', [cM('line-type', [cE('prefix, suffix', `
201
- transition: border-color .3s var(--n-bezier);
260
+ })])]), cB('tabs-nav', [cM('line-type', [cM('top', [cE('prefix, suffix', `
202
261
  border-bottom: 1px solid var(--n-tab-border-color);
203
262
  `), cB('tabs-nav-scroll-content', `
204
- transition: border-color .3s var(--n-bezier);
205
263
  border-bottom: 1px solid var(--n-tab-border-color);
206
264
  `), cB('tabs-bar', `
207
- border-radius: 0;
208
265
  bottom: -1px;
266
+ `)]), cM('left', [cE('prefix, suffix', `
267
+ border-right: 1px solid var(--n-tab-border-color);
268
+ `), cB('tabs-nav-scroll-content', `
269
+ border-right: 1px solid var(--n-tab-border-color);
270
+ `), cB('tabs-bar', `
271
+ right: -1px;
272
+ `)]), cM('right', [cE('prefix, suffix', `
273
+ border-left: 1px solid var(--n-tab-border-color);
274
+ `), cB('tabs-nav-scroll-content', `
275
+ border-left: 1px solid var(--n-tab-border-color);
276
+ `), cB('tabs-bar', `
277
+ left: -1px;
278
+ `)]), cM('bottom', [cE('prefix, suffix', `
279
+ border-top: 1px solid var(--n-tab-border-color);
280
+ `), cB('tabs-nav-scroll-content', `
281
+ border-top: 1px solid var(--n-tab-border-color);
282
+ `), cB('tabs-bar', `
283
+ top: -1px;
284
+ `)]), cE('prefix, suffix', `
285
+ transition: border-color .3s var(--n-bezier);
286
+ `), cB('tabs-nav-scroll-content', `
287
+ transition: border-color .3s var(--n-bezier);
288
+ `), cB('tabs-bar', `
289
+ border-radius: 0;
209
290
  `)]), cM('card-type', [cE('prefix, suffix', `
210
291
  transition: border-color .3s var(--n-bezier);
211
292
  border-bottom: 1px solid var(--n-tab-border-color);
@@ -215,12 +296,9 @@ export default cB('tabs', `
215
296
  border-bottom: 1px solid var(--n-tab-border-color);
216
297
  `), cB('tabs-tab-pad', `
217
298
  transition: border-color .3s var(--n-bezier);
218
- border-bottom: 1px solid var(--n-tab-border-color);
219
299
  `), cB('tabs-tab', `
220
300
  font-weight: var(--n-tab-font-weight);
221
301
  border: 1px solid var(--n-tab-border-color);
222
- border-top-left-radius: var(--n-tab-border-radius);
223
- border-top-right-radius: var(--n-tab-border-radius);
224
302
  background-color: var(--n-tab-color);
225
303
  box-sizing: border-box;
226
304
  position: relative;
@@ -238,9 +316,43 @@ export default cB('tabs', `
238
316
  font-size: var(--n-tab-font-size);
239
317
  `), cNotM('disabled', [c('&:hover', `
240
318
  color: var(--n-tab-text-color-hover);
241
- `)])]), cM('closable', 'padding-right: 6px;'), cM('active', `
242
- border-bottom: 1px solid #0000;
319
+ `)])]), cM('closable', 'padding-right: 8px;'), cM('active', `
243
320
  background-color: #0000;
244
321
  font-weight: var(--n-tab-font-weight-active);
245
322
  color: var(--n-tab-text-color-active);
246
- `), cM('disabled', 'color: var(--n-tab-text-color-disabled);')]), cB('tabs-scroll-padding', 'border-bottom: 1px solid var(--n-tab-border-color);')])])]);
323
+ `), cM('disabled', 'color: var(--n-tab-text-color-disabled);')]), cB('tabs-scroll-padding', 'border-bottom: 1px solid var(--n-tab-border-color);')]), cM('left, right', [cB('tabs-wrapper', `
324
+ flex-direction: column;
325
+ `, [cB('tabs-tab-wrapper', `
326
+ flex-direction: column;
327
+ `, [cB('tabs-tab-pad', `
328
+ height: var(--n-tab-gap-vertical);
329
+ width: 100%;
330
+ `)])])]), cM('top', [cM('card-type', [cB('tabs-tab', `
331
+ border-top-left-radius: var(--n-tab-border-radius);
332
+ border-top-right-radius: var(--n-tab-border-radius);
333
+ `, [cM('active', `
334
+ border-bottom: 1px solid #0000;
335
+ `)]), cB('tabs-tab-pad', `
336
+ border-bottom: 1px solid var(--n-tab-border-color);
337
+ `)])]), cM('left', [cM('card-type', [cB('tabs-tab', `
338
+ border-top-left-radius: var(--n-tab-border-radius);
339
+ border-bottom-left-radius: var(--n-tab-border-radius);
340
+ `, [cM('active', `
341
+ border-right: 1px solid #0000;
342
+ `)]), cB('tabs-tab-pad', `
343
+ border-right: 1px solid var(--n-tab-border-color);
344
+ `)])]), cM('right', [cM('card-type', [cB('tabs-tab', `
345
+ border-top-right-radius: var(--n-tab-border-radius);
346
+ border-bottom-right-radius: var(--n-tab-border-radius);
347
+ `, [cM('active', `
348
+ border-left: 1px solid #0000;
349
+ `)]), cB('tabs-tab-pad', `
350
+ border-left: 1px solid var(--n-tab-border-color);
351
+ `)])]), cM('bottom', [cM('card-type', [cB('tabs-tab', `
352
+ border-bottom-left-radius: var(--n-tab-border-radius);
353
+ border-bottom-right-radius: var(--n-tab-border-radius);
354
+ `, [cM('active', `
355
+ border-top: 1px solid #0000;
356
+ `)]), cB('tabs-tab-pad', `
357
+ border-top: 1px solid var(--n-tab-border-color);
358
+ `)])])])]);
@@ -5,27 +5,51 @@ declare const _default: {
5
5
  tabGapSmallLine: string;
6
6
  tabGapMediumLine: string;
7
7
  tabGapLargeLine: string;
8
+ tabGapSmallLineVertical: string;
9
+ tabGapMediumLineVertical: string;
10
+ tabGapLargeLineVertical: string;
8
11
  tabPaddingSmallLine: string;
9
12
  tabPaddingMediumLine: string;
10
13
  tabPaddingLargeLine: string;
14
+ tabPaddingVerticalSmallLine: string;
15
+ tabPaddingVerticalMediumLine: string;
16
+ tabPaddingVerticalLargeLine: string;
11
17
  tabGapSmallBar: string;
12
18
  tabGapMediumBar: string;
13
19
  tabGapLargeBar: string;
20
+ tabGapSmallBarVertical: string;
21
+ tabGapMediumBarVertical: string;
22
+ tabGapLargeBarVertical: string;
14
23
  tabPaddingSmallBar: string;
15
24
  tabPaddingMediumBar: string;
16
25
  tabPaddingLargeBar: string;
26
+ tabPaddingVerticalSmallBar: string;
27
+ tabPaddingVerticalMediumBar: string;
28
+ tabPaddingVerticalLargeBar: string;
17
29
  tabGapSmallCard: string;
18
30
  tabGapMediumCard: string;
19
31
  tabGapLargeCard: string;
32
+ tabGapSmallCardVertical: string;
33
+ tabGapMediumCardVertical: string;
34
+ tabGapLargeCardVertical: string;
20
35
  tabPaddingSmallCard: string;
21
36
  tabPaddingMediumCard: string;
22
37
  tabPaddingLargeCard: string;
23
38
  tabPaddingSmallSegment: string;
24
39
  tabPaddingMediumSegment: string;
25
40
  tabPaddingLargeSegment: string;
41
+ tabPaddingVerticalLargeSegment: string;
42
+ tabPaddingVerticalSmallCard: string;
43
+ tabPaddingVerticalMediumCard: string;
44
+ tabPaddingVerticalLargeCard: string;
45
+ tabPaddingVerticalSmallSegment: string;
46
+ tabPaddingVerticalMediumSegment: string;
26
47
  tabGapSmallSegment: string;
27
48
  tabGapMediumSegment: string;
28
49
  tabGapLargeSegment: string;
50
+ tabGapSmallSegmentVertical: string;
51
+ tabGapMediumSegmentVertical: string;
52
+ tabGapLargeSegmentVertical: string;
29
53
  panePaddingSmall: string;
30
54
  panePaddingMedium: string;
31
55
  panePaddingLarge: string;