@uzum-tech/ui 1.3.0 → 1.4.0

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 (773) hide show
  1. package/dist/index.js +83737 -65269
  2. package/dist/index.prod.js +12 -2
  3. package/es/__mocks__/vueuse-core.d.ts +5 -0
  4. package/es/__mocks__/vueuse-core.js +9 -0
  5. package/es/_internal/checkbox/src/use-checkbox.d.ts +4 -4
  6. package/es/_internal/close/src/Close.d.ts +2 -2
  7. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +3 -3
  8. package/es/_internal/icons/CheckmarkCircle.d.ts +2 -0
  9. package/es/_internal/icons/CheckmarkCircle.js +9 -0
  10. package/es/_internal/icons/ContentCopy.d.ts +2 -0
  11. package/es/_internal/icons/ContentCopy.js +8 -0
  12. package/es/_internal/icons/DismissCircle.d.ts +2 -0
  13. package/es/_internal/icons/DismissCircle.js +9 -0
  14. package/es/_internal/icons/Edit.d.ts +2 -0
  15. package/es/_internal/icons/Edit.js +9 -0
  16. package/es/_internal/icons/FileHeart.d.ts +2 -0
  17. package/es/_internal/icons/FileHeart.js +8 -0
  18. package/es/_internal/icons/SiderUnionBorder.d.ts +2 -0
  19. package/es/_internal/icons/SiderUnionBorder.js +8 -0
  20. package/es/_internal/icons/index.d.ts +6 -0
  21. package/es/_internal/icons/index.js +6 -0
  22. package/es/_internal/loading/src/Loading.d.ts +2 -2
  23. package/es/_internal/menu-mask/src/MenuMask.d.ts +1 -1
  24. package/es/_internal/radio/src/use-radio.d.ts +2 -2
  25. package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +2 -2
  26. package/es/_internal/select-menu/src/SelectMenu.d.ts +83 -152
  27. package/es/_internal/select-menu/src/SelectOption.d.ts +2 -2
  28. package/es/_internal/select-menu/styles/light.d.ts +11 -5
  29. package/es/_internal/selection/src/Selection.d.ts +13 -124
  30. package/es/_internal/skeleton/src/Skeleton.d.ts +1 -1
  31. package/es/_utils/composable/use-adjusted-to.d.ts +1 -1
  32. package/es/_utils/cssr/index.d.ts +1 -1
  33. package/es/_utils/debounce/index.d.ts +1 -0
  34. package/es/_utils/debounce/index.js +10 -0
  35. package/es/_utils/inject/index.d.ts +1 -1
  36. package/es/_utils/vue/render.d.ts +1 -1
  37. package/es/affix/src/Affix.d.ts +4 -4
  38. package/es/alert/src/Alert.d.ts +8 -120
  39. package/es/anchor/src/AnchorAdapter.d.ts +4 -4
  40. package/es/anchor/src/BaseAnchor.d.ts +2 -2
  41. package/es/auto-complete/src/AutoComplete.d.ts +130 -175
  42. package/es/auto-complete/styles/light.d.ts +11 -5
  43. package/es/avatar/src/Avatar.d.ts +3 -3
  44. package/es/avatar-group/src/AvatarGroup.d.ts +6 -117
  45. package/es/back-top/src/BackTop.d.ts +4 -4
  46. package/es/badge/src/Badge.d.ts +7 -7
  47. package/es/button/src/Button.d.ts +14 -14
  48. package/es/calendar/src/Calendar.d.ts +3 -114
  49. package/es/card/src/Card.d.ts +19 -130
  50. package/es/card-list/index.d.ts +2 -0
  51. package/es/card-list/index.js +1 -0
  52. package/es/card-list/src/CardList.d.ts +259 -0
  53. package/es/card-list/src/CardList.js +69 -0
  54. package/es/card-list/src/CardListItem.d.ts +70 -0
  55. package/es/card-list/src/CardListItem.js +112 -0
  56. package/es/card-list/src/interface.d.ts +12 -0
  57. package/es/card-list/src/interface.js +1 -0
  58. package/es/card-list/src/styles/index.cssr.d.ts +2 -0
  59. package/es/card-list/src/styles/index.cssr.js +101 -0
  60. package/es/card-list/styles/dark.d.ts +3 -0
  61. package/es/card-list/styles/dark.js +8 -0
  62. package/es/card-list/styles/index.d.ts +3 -0
  63. package/es/card-list/styles/index.js +2 -0
  64. package/es/card-list/styles/light.d.ts +22 -0
  65. package/es/card-list/styles/light.js +26 -0
  66. package/es/carousel/src/Carousel.d.ts +23 -25
  67. package/es/carousel/src/CarouselDots.d.ts +5 -5
  68. package/es/cascader/src/Cascader.d.ts +246 -231
  69. package/es/cascader/src/CascaderMenu.d.ts +36 -129
  70. package/es/cascader/src/CascaderOption.d.ts +34 -127
  71. package/es/cascader/src/CascaderSelectMenu.d.ts +35 -128
  72. package/es/cascader/src/CascaderSubmenu.d.ts +34 -127
  73. package/es/cascader/styles/light.d.ts +22 -10
  74. package/es/checkbox/src/Checkbox.d.ts +18 -129
  75. package/es/checkbox/src/CheckboxGroup.d.ts +14 -14
  76. package/es/code/src/Code.d.ts +1 -1
  77. package/es/collapse/src/Collapse.d.ts +10 -121
  78. package/es/collapse/src/CollapseItem.d.ts +3 -3
  79. package/es/collapse/src/CollapseItemContent.d.ts +2 -2
  80. package/es/collapse-transition/src/CollapseTransition.d.ts +1 -1
  81. package/es/color-picker/src/ColorInput.d.ts +2 -2
  82. package/es/color-picker/src/ColorInputUnit.d.ts +3 -114
  83. package/es/color-picker/src/ColorPicker.d.ts +7 -7
  84. package/es/components.d.ts +1 -0
  85. package/es/components.js +1 -0
  86. package/es/config-provider/src/ConfigProvider.d.ts +10 -366
  87. package/es/config-provider/src/config.js +5 -5
  88. package/es/config-provider/src/internal-interface.d.ts +3 -1
  89. package/es/countdown/src/Countdown.d.ts +4 -4
  90. package/es/data-table/src/DataTable.d.ts +308 -255
  91. package/es/data-table/src/DataTable.js +153 -5
  92. package/es/data-table/src/HeaderButton/FilterButton.d.ts +59 -137
  93. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +62 -140
  94. package/es/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
  95. package/es/data-table/src/MainTable.d.ts +4 -1
  96. package/es/data-table/src/MainTable.js +6 -4
  97. package/es/data-table/src/TableParts/Body.d.ts +68 -142
  98. package/es/data-table/src/TableParts/Body.js +27 -7
  99. package/es/data-table/src/TableParts/Cell.d.ts +8 -2828
  100. package/es/data-table/src/TableParts/Cell.js +64 -6
  101. package/es/data-table/src/TableParts/ExpandTrigger.d.ts +1 -1
  102. package/es/data-table/src/TableParts/Header.d.ts +60 -138
  103. package/es/data-table/src/TableParts/Header.js +7 -5
  104. package/es/data-table/src/interface.d.ts +135 -53
  105. package/es/data-table/src/styles/index.cssr.js +25 -1
  106. package/es/data-table/src/use-check.d.ts +1 -1
  107. package/es/data-table/src/use-expand.d.ts +1 -1
  108. package/es/data-table/src/use-group-header.js +4 -0
  109. package/es/data-table/src/use-mask.d.ts +10 -0
  110. package/es/data-table/src/use-mask.js +58 -0
  111. package/es/data-table/src/utils.d.ts +4 -0
  112. package/es/data-table/src/utils.js +4 -0
  113. package/es/data-table/styles/light.d.ts +39 -15
  114. package/es/data-table/styles/light.js +4 -1
  115. package/es/date-picker/src/DatePicker.d.ts +14 -125
  116. package/es/date-picker/src/panel/date.d.ts +6 -129
  117. package/es/date-picker/src/panel/daterange.d.ts +7 -118
  118. package/es/date-picker/src/panel/datetime.d.ts +6 -117
  119. package/es/date-picker/src/panel/datetimerange.d.ts +7 -118
  120. package/es/date-picker/src/panel/panelMonth.d.ts +41 -299
  121. package/es/date-picker/src/panel/panelMonthContent.d.ts +6 -123
  122. package/es/date-picker/src/panel/panelYear.d.ts +41 -299
  123. package/es/date-picker/src/panel/panelYearContent.d.ts +6 -135
  124. package/es/date-picker/src/panel/use-calendar.d.ts +3 -114
  125. package/es/date-picker/src/panel/use-dual-calendar.d.ts +8 -119
  126. package/es/date-picker/src/panel/use-panel-common.d.ts +2 -113
  127. package/es/date-picker/styles/_common.js +1 -1
  128. package/es/descriptions/src/Descriptions.d.ts +2 -2
  129. package/es/dialog/src/Dialog.d.ts +4 -115
  130. package/es/dialog/src/Dialog.js +1 -1
  131. package/es/dialog/src/DialogEnvironment.d.ts +5 -5
  132. package/es/dialog/src/DialogProvider.d.ts +40 -40
  133. package/es/dialog/src/dialogProps.d.ts +2 -2
  134. package/es/divider/src/Divider.d.ts +4 -4
  135. package/es/drawer/src/Drawer.d.ts +21 -119
  136. package/es/drawer/src/Drawer.js +4 -1
  137. package/es/drawer/src/DrawerBodyWrapper.d.ts +12 -114
  138. package/es/drawer/src/DrawerBodyWrapper.js +6 -0
  139. package/es/drawer/src/DrawerContent.d.ts +1 -112
  140. package/es/drawer/src/styles/index.cssr.js +3 -2
  141. package/es/drawer/styles/_common.js +2 -2
  142. package/es/dropdown/src/Dropdown.d.ts +31 -142
  143. package/es/dropdown/src/DropdownGroup.d.ts +3 -2
  144. package/es/dropdown/src/DropdownMenu.d.ts +3 -2
  145. package/es/dropdown/src/DropdownOption.d.ts +4 -3
  146. package/es/dropdown/src/DropdownRenderOption.d.ts +3 -2
  147. package/es/dynamic-input/src/DynamicInput.d.ts +3 -114
  148. package/es/dynamic-input/src/InputPreset.d.ts +1 -112
  149. package/es/dynamic-input/src/PairPreset.d.ts +1 -112
  150. package/es/dynamic-tags/src/DynamicTags.d.ts +14 -125
  151. package/es/ellipsis/src/Ellipsis.d.ts +4 -115
  152. package/es/ellipsis/src/PerformantEllipsis.d.ts +2 -2
  153. package/es/empty/src/Empty.d.ts +109 -48
  154. package/es/empty/src/Empty.js +27 -9
  155. package/es/empty/src/styles/index.cssr.js +38 -11
  156. package/es/empty/styles/light.d.ts +11 -5
  157. package/es/empty/styles/light.js +17 -11
  158. package/es/equation/src/Equation.d.ts +4 -3
  159. package/es/flex/src/Flex.d.ts +13 -12
  160. package/es/form/src/Form.d.ts +4 -4
  161. package/es/form/src/Form.js +2 -2
  162. package/es/form/src/FormItem.d.ts +23 -10
  163. package/es/form/src/FormItem.js +20 -7
  164. package/es/form/src/FormItemCol.d.ts +22 -9
  165. package/es/form/src/FormItemGridItem.d.ts +24 -11
  166. package/es/form/src/FormItemRow.d.ts +21 -8
  167. package/es/form/src/utils.d.ts +3 -2
  168. package/es/form/src/utils.js +16 -0
  169. package/es/gradient-text/src/GradientText.d.ts +5 -5
  170. package/es/grid/src/Grid.d.ts +18 -18
  171. package/es/grid/src/GridItem.d.ts +2 -2
  172. package/es/icon/src/Icon.d.ts +3 -3
  173. package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
  174. package/es/image/src/Image.d.ts +5 -5
  175. package/es/image/src/ImageGroup.d.ts +1 -1
  176. package/es/image/src/ImagePreview.d.ts +1 -1
  177. package/es/input/src/Input.d.ts +79 -155
  178. package/es/input/src/Input.js +54 -17
  179. package/es/input/src/InputGroupLabel.d.ts +1 -1
  180. package/es/input/src/use-clipboard.d.ts +9 -0
  181. package/es/input/src/use-clipboard.js +47 -0
  182. package/es/input-number/src/InputNumber.d.ts +14 -125
  183. package/es/layout/src/Layout.d.ts +4 -226
  184. package/es/layout/src/LayoutContent.d.ts +2 -113
  185. package/es/layout/src/LayoutFooter.d.ts +1 -1
  186. package/es/layout/src/LayoutHeader.d.ts +2 -2
  187. package/es/layout/src/LayoutHeader.js +5 -1
  188. package/es/layout/src/LayoutSider.d.ts +10 -121
  189. package/es/layout/src/LayoutSider.js +3 -3
  190. package/es/layout/src/ToggleSidebarButton.d.ts +15 -0
  191. package/es/layout/src/ToggleSidebarButton.js +23 -0
  192. package/es/layout/src/interface.d.ts +1 -1
  193. package/es/layout/src/styles/layout-header.cssr.js +4 -1
  194. package/es/layout/src/styles/layout-sider.cssr.js +64 -6
  195. package/es/layout/src/utils/resolveTriggerComponent.d.ts +51 -0
  196. package/es/layout/src/utils/resolveTriggerComponent.js +13 -0
  197. package/es/legacy-transfer/src/Transfer.d.ts +112 -163
  198. package/es/legacy-transfer/src/TransferFilter.d.ts +12 -117
  199. package/es/legacy-transfer/src/TransferList.d.ts +12 -117
  200. package/es/legacy-transfer/src/TransferListItem.d.ts +13 -118
  201. package/es/legacy-transfer/styles/light.d.ts +11 -5
  202. package/es/list/src/List.d.ts +6 -6
  203. package/es/list/src/ListItem.d.ts +5 -5
  204. package/es/loading-bar/src/LoadingBar.d.ts +1 -1
  205. package/es/loading-bar/src/LoadingBar.js +2 -2
  206. package/es/loading-bar/src/LoadingBarProvider.d.ts +9 -9
  207. package/es/locales/common/arDZ.js +9 -2
  208. package/es/locales/common/deDE.js +9 -2
  209. package/es/locales/common/enGB.js +9 -2
  210. package/es/locales/common/enUS.d.ts +8 -1
  211. package/es/locales/common/enUS.js +9 -2
  212. package/es/locales/common/eo.js +9 -2
  213. package/es/locales/common/esAR.js +9 -2
  214. package/es/locales/common/faIR.js +9 -2
  215. package/es/locales/common/frFR.js +9 -2
  216. package/es/locales/common/idID.js +9 -2
  217. package/es/locales/common/itIT.js +9 -2
  218. package/es/locales/common/jaJP.js +9 -2
  219. package/es/locales/common/koKR.js +9 -2
  220. package/es/locales/common/nbNO.js +9 -2
  221. package/es/locales/common/nlNL.js +9 -2
  222. package/es/locales/common/plPL.js +9 -2
  223. package/es/locales/common/ptBR.js +9 -2
  224. package/es/locales/common/ruRU.js +9 -2
  225. package/es/locales/common/skSK.js +9 -2
  226. package/es/locales/common/svSE.js +9 -2
  227. package/es/locales/common/thTH.js +9 -2
  228. package/es/locales/common/trTR.js +9 -2
  229. package/es/locales/common/ukUA.js +9 -2
  230. package/es/locales/common/viVN.js +9 -2
  231. package/es/locales/common/zhCN.js +9 -2
  232. package/es/locales/common/zhTW.js +9 -2
  233. package/es/log/src/Log.d.ts +8 -120
  234. package/es/mention/src/Mention.d.ts +140 -185
  235. package/es/mention/src/utils.js +4 -4
  236. package/es/mention/styles/light.d.ts +11 -5
  237. package/es/menu/src/Menu.d.ts +16 -127
  238. package/es/menu/src/MenuOption.d.ts +2 -113
  239. package/es/menu/src/MenuOptionGroup.d.ts +1 -1
  240. package/es/menu/src/Submenu.d.ts +2 -113
  241. package/es/message/src/Message.d.ts +1 -1
  242. package/es/message/src/MessageEnvironment.d.ts +1 -1
  243. package/es/message/src/MessageProvider.d.ts +5 -5
  244. package/es/modal/src/BodyWrapper.d.ts +8 -119
  245. package/es/modal/src/Modal.d.ts +17 -17
  246. package/es/modal/src/presetProps.d.ts +2 -2
  247. package/es/notification/src/Notification.d.ts +5 -5
  248. package/es/notification/src/NotificationContainer.d.ts +1 -112
  249. package/es/notification/src/NotificationEnvironment.d.ts +4 -4
  250. package/es/notification/src/NotificationProvider.d.ts +17 -17
  251. package/es/number-animation/src/NumberAnimation.d.ts +1 -1
  252. package/es/pagination/src/Pagination.d.ts +263 -242
  253. package/es/pagination/styles/light.d.ts +22 -10
  254. package/es/popconfirm/src/Popconfirm.d.ts +29 -140
  255. package/es/popconfirm/src/PopconfirmPanel.d.ts +1 -1
  256. package/es/popover/src/Popover.d.ts +30 -30
  257. package/es/popover/src/PopoverBody.d.ts +19 -19
  258. package/es/popselect/src/Popselect.d.ts +195 -240
  259. package/es/popselect/src/PopselectPanel.d.ts +26 -125
  260. package/es/popselect/styles/light.d.ts +11 -5
  261. package/es/preset.d.ts +1 -1
  262. package/es/progress/src/Line.d.ts +1 -1
  263. package/es/progress/src/MultipleCircle.d.ts +2 -2
  264. package/es/progress/src/Progress.d.ts +6 -6
  265. package/es/radio/src/Radio.d.ts +10 -10
  266. package/es/radio/src/RadioButton.d.ts +6 -6
  267. package/es/rate/src/Rate.d.ts +1 -1
  268. package/es/result/src/Result.d.ts +4 -4
  269. package/es/select/src/Select.d.ts +141 -186
  270. package/es/select/styles/light.d.ts +11 -5
  271. package/es/skeleton/src/Skeleton.d.ts +1 -1
  272. package/es/slider/src/Slider.d.ts +9 -9
  273. package/es/space/src/Space.d.ts +5 -5
  274. package/es/spin/src/Spin.d.ts +8 -8
  275. package/es/steps/src/Step.js +1 -2
  276. package/es/styles.d.ts +1 -0
  277. package/es/styles.js +1 -0
  278. package/es/switch/src/Switch.d.ts +11 -11
  279. package/es/table/src/Table.d.ts +1 -1
  280. package/es/tabs/src/Tab.d.ts +10 -22
  281. package/es/tabs/src/TabPane.d.ts +9 -21
  282. package/es/tabs/src/Tabs.d.ts +29 -30
  283. package/es/tag/src/Tag.d.ts +11 -11
  284. package/es/tag/src/common-props.d.ts +2 -2
  285. package/es/themes/dark.js +2 -0
  286. package/es/themes/light.js +2 -0
  287. package/es/time/src/Time.d.ts +2 -2
  288. package/es/time-picker/src/Panel.d.ts +3 -114
  289. package/es/time-picker/src/PanelCol.d.ts +4 -4
  290. package/es/time-picker/src/TimePicker.d.ts +17 -128
  291. package/es/timeline/src/TimelineItem.d.ts +4 -4
  292. package/es/toggle-button/src/ToggleButton.d.ts +12 -12
  293. package/es/tooltip/src/Tooltip.d.ts +25 -136
  294. package/es/transfer/src/Transfer.d.ts +112 -163
  295. package/es/transfer/src/TransferFilter.d.ts +12 -117
  296. package/es/transfer/src/TransferList.d.ts +12 -117
  297. package/es/transfer/src/TransferListItem.d.ts +13 -118
  298. package/es/transfer/styles/light.d.ts +11 -5
  299. package/es/tree/src/MotionWrapper.d.ts +2 -2
  300. package/es/tree/src/Tree.d.ts +148 -199
  301. package/es/tree/src/TreeNodeCheckbox.d.ts +13 -118
  302. package/es/tree/src/TreeNodeContent.d.ts +1 -1
  303. package/es/tree/src/TreeNodeSwitcher.d.ts +3 -3
  304. package/es/tree/styles/light.d.ts +11 -5
  305. package/es/tree-select/src/TreeSelect.d.ts +269 -260
  306. package/es/tree-select/styles/light.d.ts +22 -10
  307. package/es/typography/src/create-header.d.ts +5 -5
  308. package/es/typography/src/headers.d.ts +18 -18
  309. package/es/typography/src/p.d.ts +3 -3
  310. package/es/typography/src/text.d.ts +6 -6
  311. package/es/upload/src/Upload.d.ts +137 -137
  312. package/es/upload/src/Upload.js +60 -188
  313. package/es/upload/src/UploadFile.d.ts +17 -115
  314. package/es/upload/src/UploadFile.js +57 -54
  315. package/es/upload/src/UploadFileList.js +2 -2
  316. package/es/upload/src/UploadProgress.d.ts +9 -114
  317. package/es/upload/src/UploadTrigger.js +20 -7
  318. package/es/upload/src/interface.d.ts +42 -0
  319. package/es/upload/src/styles/index.cssr.js +159 -34
  320. package/es/upload/src/useUpload.d.ts +2 -0
  321. package/es/upload/src/useUpload.js +163 -0
  322. package/es/upload/src/useUploadActionsRender.d.ts +26 -0
  323. package/es/upload/src/useUploadActionsRender.js +85 -0
  324. package/es/upload/src/useUploadInternals.d.ts +25 -0
  325. package/es/upload/src/useUploadInternals.js +37 -0
  326. package/es/upload/src/utils.d.ts +2 -1
  327. package/es/upload/src/utils.js +5 -0
  328. package/es/upload/styles/light.d.ts +12 -0
  329. package/es/upload/styles/light.js +8 -2
  330. package/es/version.d.ts +1 -1
  331. package/es/version.js +1 -1
  332. package/es/watermark/src/Watermark.d.ts +6 -6
  333. package/lib/__mocks__/vueuse-core.d.ts +5 -0
  334. package/lib/__mocks__/vueuse-core.js +9 -0
  335. package/lib/_internal/checkbox/src/use-checkbox.d.ts +4 -4
  336. package/lib/_internal/close/src/Close.d.ts +2 -2
  337. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +3 -3
  338. package/lib/_internal/icons/CheckmarkCircle.d.ts +2 -0
  339. package/lib/_internal/icons/CheckmarkCircle.js +11 -0
  340. package/lib/_internal/icons/ContentCopy.d.ts +2 -0
  341. package/lib/_internal/icons/ContentCopy.js +10 -0
  342. package/lib/_internal/icons/DismissCircle.d.ts +2 -0
  343. package/lib/_internal/icons/DismissCircle.js +11 -0
  344. package/lib/_internal/icons/Edit.d.ts +2 -0
  345. package/lib/_internal/icons/Edit.js +11 -0
  346. package/lib/_internal/icons/FileHeart.d.ts +2 -0
  347. package/lib/_internal/icons/FileHeart.js +10 -0
  348. package/lib/_internal/icons/SiderUnionBorder.d.ts +2 -0
  349. package/lib/_internal/icons/SiderUnionBorder.js +10 -0
  350. package/lib/_internal/icons/index.d.ts +6 -0
  351. package/lib/_internal/icons/index.js +14 -1
  352. package/lib/_internal/icons/replaceable.js +1 -2
  353. package/lib/_internal/loading/src/Loading.d.ts +2 -2
  354. package/lib/_internal/menu-mask/src/MenuMask.d.ts +1 -1
  355. package/lib/_internal/radio/src/use-radio.d.ts +2 -2
  356. package/lib/_internal/radio/src/use-radio.js +2 -2
  357. package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +2 -2
  358. package/lib/_internal/select-menu/src/SelectMenu.d.ts +83 -152
  359. package/lib/_internal/select-menu/src/SelectOption.d.ts +2 -2
  360. package/lib/_internal/select-menu/styles/light.d.ts +11 -5
  361. package/lib/_internal/selection/src/Selection.d.ts +13 -124
  362. package/lib/_internal/skeleton/src/Skeleton.d.ts +1 -1
  363. package/lib/_mixins/use-config.js +3 -3
  364. package/lib/_mixins/use-css-vars-class.js +1 -2
  365. package/lib/_mixins/use-form-item.js +1 -1
  366. package/lib/_mixins/use-hljs.js +1 -1
  367. package/lib/_mixins/use-locale.js +1 -1
  368. package/lib/_mixins/use-rtl.js +1 -2
  369. package/lib/_mixins/use-style.js +1 -1
  370. package/lib/_mixins/use-theme.js +1 -2
  371. package/lib/_resolvers/auto-import/auto-import-resolver.js +1 -2
  372. package/lib/_styles/transitions/fade-down.cssr.js +2 -3
  373. package/lib/_styles/transitions/fade-in-height-expand.cssr.js +2 -3
  374. package/lib/_styles/transitions/fade-in-scale-up.cssr.js +2 -3
  375. package/lib/_styles/transitions/fade-in-width-expand.cssr.js +2 -3
  376. package/lib/_styles/transitions/fade-in.cssr.js +2 -3
  377. package/lib/_styles/transitions/fade-up-width-expand.cssr.js +2 -3
  378. package/lib/_styles/transitions/icon-switch.cssr.js +2 -3
  379. package/lib/_styles/transitions/slide-in-from-bottom.js +1 -2
  380. package/lib/_styles/transitions/slide-in-from-left.js +1 -2
  381. package/lib/_styles/transitions/slide-in-from-right.js +1 -2
  382. package/lib/_styles/transitions/slide-in-from-top.js +1 -2
  383. package/lib/_utils/color/index.js +3 -4
  384. package/lib/_utils/composable/use-adjusted-to.d.ts +1 -1
  385. package/lib/_utils/composable/use-adjusted-to.js +1 -2
  386. package/lib/_utils/composable/use-collection.js +3 -4
  387. package/lib/_utils/composable/use-deferred-true.js +1 -2
  388. package/lib/_utils/composable/use-houdini.js +1 -2
  389. package/lib/_utils/composable/use-lock-html-scroll.js +2 -2
  390. package/lib/_utils/composable/use-reactivated.js +1 -2
  391. package/lib/_utils/composable/use-resize.js +1 -2
  392. package/lib/_utils/css/color-to-class.js +1 -2
  393. package/lib/_utils/css/format-length.js +1 -2
  394. package/lib/_utils/cssr/create-key.js +1 -2
  395. package/lib/_utils/cssr/index.d.ts +1 -1
  396. package/lib/_utils/cssr/index.js +4 -4
  397. package/lib/_utils/debounce/index.d.ts +1 -0
  398. package/lib/_utils/debounce/index.js +13 -0
  399. package/lib/_utils/dom/is-document.js +1 -2
  400. package/lib/_utils/env/is-jsdom.js +1 -2
  401. package/lib/_utils/event/index.js +2 -3
  402. package/lib/_utils/inject/index.d.ts +1 -1
  403. package/lib/_utils/uzum/attribute.js +1 -2
  404. package/lib/_utils/uzum/prop.js +2 -3
  405. package/lib/_utils/uzum/warn.js +3 -4
  406. package/lib/_utils/vue/call.js +1 -2
  407. package/lib/_utils/vue/create-data-key.js +1 -2
  408. package/lib/_utils/vue/create-injection-key.js +1 -2
  409. package/lib/_utils/vue/create-ref-setter.js +1 -2
  410. package/lib/_utils/vue/flatten.js +1 -2
  411. package/lib/_utils/vue/get-first-slot-vnode.js +1 -2
  412. package/lib/_utils/vue/get-slot.js +1 -2
  413. package/lib/_utils/vue/get-v-node-children.js +1 -2
  414. package/lib/_utils/vue/is-node-v-show-false.js +1 -2
  415. package/lib/_utils/vue/keep.js +1 -2
  416. package/lib/_utils/vue/keysOf.js +1 -2
  417. package/lib/_utils/vue/merge-handlers.js +1 -2
  418. package/lib/_utils/vue/omit.js +1 -2
  419. package/lib/_utils/vue/render.d.ts +1 -1
  420. package/lib/_utils/vue/resolve-slot.js +5 -6
  421. package/lib/affix/src/Affix.d.ts +4 -4
  422. package/lib/affix/src/utils.js +2 -3
  423. package/lib/alert/src/Alert.d.ts +8 -120
  424. package/lib/anchor/src/AnchorAdapter.d.ts +4 -4
  425. package/lib/anchor/src/BaseAnchor.d.ts +2 -2
  426. package/lib/anchor/src/utils.js +1 -2
  427. package/lib/auto-complete/src/AutoComplete.d.ts +130 -175
  428. package/lib/auto-complete/src/utils.js +1 -2
  429. package/lib/auto-complete/styles/light.d.ts +11 -5
  430. package/lib/auto-complete/styles/light.js +1 -2
  431. package/lib/avatar/src/Avatar.d.ts +3 -3
  432. package/lib/avatar-group/src/AvatarGroup.d.ts +6 -117
  433. package/lib/back-top/src/BackTop.d.ts +4 -4
  434. package/lib/badge/src/Badge.d.ts +7 -7
  435. package/lib/button/src/Button.d.ts +14 -14
  436. package/lib/calendar/src/Calendar.d.ts +3 -114
  437. package/lib/card/src/Card.d.ts +19 -130
  438. package/lib/card-list/index.d.ts +2 -0
  439. package/lib/card-list/index.js +9 -0
  440. package/lib/card-list/src/CardList.d.ts +259 -0
  441. package/lib/card-list/src/CardList.js +75 -0
  442. package/lib/card-list/src/CardListItem.d.ts +70 -0
  443. package/lib/card-list/src/CardListItem.js +117 -0
  444. package/lib/card-list/src/interface.d.ts +12 -0
  445. package/lib/card-list/src/interface.js +2 -0
  446. package/lib/card-list/src/styles/index.cssr.d.ts +2 -0
  447. package/lib/card-list/src/styles/index.cssr.js +106 -0
  448. package/lib/card-list/styles/dark.d.ts +3 -0
  449. package/lib/card-list/styles/dark.js +10 -0
  450. package/lib/card-list/styles/index.d.ts +3 -0
  451. package/lib/card-list/styles/index.js +10 -0
  452. package/lib/card-list/styles/light.d.ts +22 -0
  453. package/lib/card-list/styles/light.js +30 -0
  454. package/lib/carousel/src/Carousel.d.ts +23 -25
  455. package/lib/carousel/src/CarouselDots.d.ts +5 -5
  456. package/lib/carousel/src/utils/duplicatedLogic.js +6 -7
  457. package/lib/carousel/src/utils/event.js +1 -2
  458. package/lib/carousel/src/utils/index.js +3 -4
  459. package/lib/cascader/src/Cascader.d.ts +246 -231
  460. package/lib/cascader/src/CascaderMenu.d.ts +36 -129
  461. package/lib/cascader/src/CascaderOption.d.ts +34 -127
  462. package/lib/cascader/src/CascaderSelectMenu.d.ts +35 -128
  463. package/lib/cascader/src/CascaderSubmenu.d.ts +34 -127
  464. package/lib/cascader/src/utils.js +3 -4
  465. package/lib/cascader/styles/light.d.ts +22 -10
  466. package/lib/checkbox/src/Checkbox.d.ts +18 -129
  467. package/lib/checkbox/src/CheckboxGroup.d.ts +14 -14
  468. package/lib/code/src/Code.d.ts +1 -1
  469. package/lib/collapse/src/Collapse.d.ts +10 -121
  470. package/lib/collapse/src/CollapseItem.d.ts +3 -3
  471. package/lib/collapse/src/CollapseItemContent.d.ts +2 -2
  472. package/lib/collapse-transition/src/CollapseTransition.d.ts +1 -1
  473. package/lib/color-picker/src/ColorInput.d.ts +2 -2
  474. package/lib/color-picker/src/ColorInputUnit.d.ts +3 -114
  475. package/lib/color-picker/src/ColorPicker.d.ts +7 -7
  476. package/lib/color-picker/src/utils.js +6 -7
  477. package/lib/components.d.ts +1 -0
  478. package/lib/components.js +1 -0
  479. package/lib/composables/use-theme-vars.js +1 -2
  480. package/lib/config-provider/src/ConfigProvider.d.ts +10 -366
  481. package/lib/config-provider/src/config.js +5 -5
  482. package/lib/config-provider/src/internal-interface.d.ts +3 -1
  483. package/lib/countdown/src/Countdown.d.ts +4 -4
  484. package/lib/data-table/src/DataTable.d.ts +308 -255
  485. package/lib/data-table/src/DataTable.js +153 -5
  486. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +59 -137
  487. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +62 -140
  488. package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
  489. package/lib/data-table/src/MainTable.d.ts +4 -1
  490. package/lib/data-table/src/MainTable.js +6 -4
  491. package/lib/data-table/src/TableParts/Body.d.ts +68 -142
  492. package/lib/data-table/src/TableParts/Body.js +27 -7
  493. package/lib/data-table/src/TableParts/Cell.d.ts +8 -2828
  494. package/lib/data-table/src/TableParts/Cell.js +65 -7
  495. package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +1 -1
  496. package/lib/data-table/src/TableParts/Header.d.ts +60 -138
  497. package/lib/data-table/src/TableParts/Header.js +7 -5
  498. package/lib/data-table/src/interface.d.ts +135 -53
  499. package/lib/data-table/src/styles/index.cssr.js +25 -1
  500. package/lib/data-table/src/use-check.d.ts +1 -1
  501. package/lib/data-table/src/use-check.js +1 -2
  502. package/lib/data-table/src/use-expand.d.ts +1 -1
  503. package/lib/data-table/src/use-expand.js +1 -2
  504. package/lib/data-table/src/use-group-header.js +5 -2
  505. package/lib/data-table/src/use-mask.d.ts +10 -0
  506. package/lib/data-table/src/use-mask.js +63 -0
  507. package/lib/data-table/src/use-resizable.js +1 -2
  508. package/lib/data-table/src/use-scroll.js +1 -2
  509. package/lib/data-table/src/use-sorter.js +1 -2
  510. package/lib/data-table/src/use-table-data.js +1 -2
  511. package/lib/data-table/src/utils.d.ts +4 -0
  512. package/lib/data-table/src/utils.js +19 -15
  513. package/lib/data-table/styles/light.d.ts +39 -15
  514. package/lib/data-table/styles/light.js +4 -1
  515. package/lib/date-picker/src/DatePicker.d.ts +14 -125
  516. package/lib/date-picker/src/panel/date.d.ts +6 -129
  517. package/lib/date-picker/src/panel/daterange.d.ts +7 -118
  518. package/lib/date-picker/src/panel/datetime.d.ts +6 -117
  519. package/lib/date-picker/src/panel/datetimerange.d.ts +7 -118
  520. package/lib/date-picker/src/panel/panelMonth.d.ts +41 -299
  521. package/lib/date-picker/src/panel/panelMonthContent.d.ts +6 -123
  522. package/lib/date-picker/src/panel/panelYear.d.ts +41 -299
  523. package/lib/date-picker/src/panel/panelYearContent.d.ts +6 -135
  524. package/lib/date-picker/src/panel/use-calendar.d.ts +3 -114
  525. package/lib/date-picker/src/panel/use-calendar.js +2 -2
  526. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +8 -119
  527. package/lib/date-picker/src/panel/use-dual-calendar.js +2 -2
  528. package/lib/date-picker/src/panel/use-panel-common.d.ts +2 -113
  529. package/lib/date-picker/src/panel/use-panel-common.js +2 -2
  530. package/lib/date-picker/src/utils.js +9 -10
  531. package/lib/date-picker/src/validation-utils.js +2 -3
  532. package/lib/date-picker/styles/_common.js +1 -1
  533. package/lib/descriptions/src/Descriptions.d.ts +2 -2
  534. package/lib/descriptions/src/utils.js +2 -2
  535. package/lib/dialog/src/Dialog.d.ts +4 -115
  536. package/lib/dialog/src/Dialog.js +1 -1
  537. package/lib/dialog/src/DialogEnvironment.d.ts +5 -5
  538. package/lib/dialog/src/DialogProvider.d.ts +40 -40
  539. package/lib/dialog/src/composables.js +2 -3
  540. package/lib/dialog/src/dialogProps.d.ts +2 -2
  541. package/lib/discrete/src/discrete.js +1 -2
  542. package/lib/discrete/src/discreteApp.js +1 -2
  543. package/lib/divider/src/Divider.d.ts +4 -4
  544. package/lib/drawer/src/Drawer.d.ts +21 -119
  545. package/lib/drawer/src/Drawer.js +4 -1
  546. package/lib/drawer/src/DrawerBodyWrapper.d.ts +12 -114
  547. package/lib/drawer/src/DrawerBodyWrapper.js +6 -0
  548. package/lib/drawer/src/DrawerContent.d.ts +1 -112
  549. package/lib/drawer/src/styles/index.cssr.js +3 -2
  550. package/lib/drawer/styles/_common.js +2 -2
  551. package/lib/dropdown/src/Dropdown.d.ts +31 -142
  552. package/lib/dropdown/src/DropdownGroup.d.ts +3 -2
  553. package/lib/dropdown/src/DropdownMenu.d.ts +3 -2
  554. package/lib/dropdown/src/DropdownOption.d.ts +4 -3
  555. package/lib/dropdown/src/DropdownRenderOption.d.ts +3 -2
  556. package/lib/dropdown/src/utils.js +4 -5
  557. package/lib/dynamic-input/src/DynamicInput.d.ts +3 -114
  558. package/lib/dynamic-input/src/InputPreset.d.ts +1 -112
  559. package/lib/dynamic-input/src/PairPreset.d.ts +1 -112
  560. package/lib/dynamic-tags/src/DynamicTags.d.ts +14 -125
  561. package/lib/ellipsis/src/Ellipsis.d.ts +4 -115
  562. package/lib/ellipsis/src/Ellipsis.js +3 -3
  563. package/lib/ellipsis/src/PerformantEllipsis.d.ts +2 -2
  564. package/lib/empty/src/Empty.d.ts +109 -48
  565. package/lib/empty/src/Empty.js +25 -7
  566. package/lib/empty/src/styles/index.cssr.js +37 -10
  567. package/lib/empty/styles/light.d.ts +11 -5
  568. package/lib/empty/styles/light.js +17 -11
  569. package/lib/equation/src/Equation.d.ts +4 -3
  570. package/lib/flex/src/Flex.d.ts +13 -12
  571. package/lib/form/src/Form.d.ts +4 -4
  572. package/lib/form/src/Form.js +2 -2
  573. package/lib/form/src/FormItem.d.ts +23 -10
  574. package/lib/form/src/FormItem.js +19 -6
  575. package/lib/form/src/FormItemCol.d.ts +22 -9
  576. package/lib/form/src/FormItemGridItem.d.ts +24 -11
  577. package/lib/form/src/FormItemRow.d.ts +21 -8
  578. package/lib/form/src/utils.d.ts +3 -2
  579. package/lib/form/src/utils.js +20 -4
  580. package/lib/gradient-text/src/GradientText.d.ts +5 -5
  581. package/lib/grid/src/Grid.d.ts +18 -18
  582. package/lib/grid/src/GridItem.d.ts +2 -2
  583. package/lib/icon/src/Icon.d.ts +3 -3
  584. package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
  585. package/lib/image/src/Image.d.ts +5 -5
  586. package/lib/image/src/ImageGroup.d.ts +1 -1
  587. package/lib/image/src/ImagePreview.d.ts +1 -1
  588. package/lib/input/src/Input.d.ts +79 -155
  589. package/lib/input/src/Input.js +54 -17
  590. package/lib/input/src/InputGroupLabel.d.ts +1 -1
  591. package/lib/input/src/use-clipboard.d.ts +9 -0
  592. package/lib/input/src/use-clipboard.js +50 -0
  593. package/lib/input/src/utils.js +3 -4
  594. package/lib/input-number/src/InputNumber.d.ts +14 -125
  595. package/lib/input-number/src/utils.js +5 -6
  596. package/lib/layout/src/Layout.d.ts +4 -226
  597. package/lib/layout/src/Layout.js +2 -2
  598. package/lib/layout/src/LayoutContent.d.ts +2 -113
  599. package/lib/layout/src/LayoutFooter.d.ts +1 -1
  600. package/lib/layout/src/LayoutHeader.d.ts +2 -2
  601. package/lib/layout/src/LayoutHeader.js +5 -1
  602. package/lib/layout/src/LayoutSider.d.ts +10 -121
  603. package/lib/layout/src/LayoutSider.js +3 -3
  604. package/lib/layout/src/ToggleSidebarButton.d.ts +15 -0
  605. package/lib/layout/src/ToggleSidebarButton.js +25 -0
  606. package/lib/layout/src/interface.d.ts +1 -1
  607. package/lib/layout/src/styles/layout-header.cssr.js +3 -0
  608. package/lib/layout/src/styles/layout-sider.cssr.js +64 -6
  609. package/lib/layout/src/utils/resolveTriggerComponent.d.ts +51 -0
  610. package/lib/layout/src/utils/resolveTriggerComponent.js +19 -0
  611. package/lib/legacy-transfer/src/Transfer.d.ts +112 -163
  612. package/lib/legacy-transfer/src/TransferFilter.d.ts +12 -117
  613. package/lib/legacy-transfer/src/TransferList.d.ts +12 -117
  614. package/lib/legacy-transfer/src/TransferListItem.d.ts +13 -118
  615. package/lib/legacy-transfer/src/use-transfer-data.js +1 -2
  616. package/lib/legacy-transfer/styles/light.d.ts +11 -5
  617. package/lib/list/src/List.d.ts +6 -6
  618. package/lib/list/src/ListItem.d.ts +5 -5
  619. package/lib/loading-bar/src/LoadingBar.d.ts +1 -1
  620. package/lib/loading-bar/src/LoadingBar.js +2 -2
  621. package/lib/loading-bar/src/LoadingBarProvider.d.ts +9 -9
  622. package/lib/loading-bar/src/use-loading-bar.js +1 -2
  623. package/lib/locales/common/arDZ.js +9 -2
  624. package/lib/locales/common/deDE.js +9 -2
  625. package/lib/locales/common/enGB.js +9 -2
  626. package/lib/locales/common/enUS.d.ts +8 -1
  627. package/lib/locales/common/enUS.js +9 -2
  628. package/lib/locales/common/eo.js +9 -2
  629. package/lib/locales/common/esAR.js +9 -2
  630. package/lib/locales/common/faIR.js +9 -2
  631. package/lib/locales/common/frFR.js +9 -2
  632. package/lib/locales/common/idID.js +9 -2
  633. package/lib/locales/common/itIT.js +9 -2
  634. package/lib/locales/common/jaJP.js +9 -2
  635. package/lib/locales/common/koKR.js +9 -2
  636. package/lib/locales/common/nbNO.js +9 -2
  637. package/lib/locales/common/nlNL.js +9 -2
  638. package/lib/locales/common/plPL.js +9 -2
  639. package/lib/locales/common/ptBR.js +9 -2
  640. package/lib/locales/common/ruRU.js +9 -2
  641. package/lib/locales/common/skSK.js +9 -2
  642. package/lib/locales/common/svSE.js +9 -2
  643. package/lib/locales/common/thTH.js +9 -2
  644. package/lib/locales/common/trTR.js +9 -2
  645. package/lib/locales/common/ukUA.js +9 -2
  646. package/lib/locales/common/viVN.js +9 -2
  647. package/lib/locales/common/zhCN.js +9 -2
  648. package/lib/locales/common/zhTW.js +9 -2
  649. package/lib/locales/utils/index.js +1 -2
  650. package/lib/log/src/Log.d.ts +8 -120
  651. package/lib/mention/src/Mention.d.ts +140 -185
  652. package/lib/mention/src/utils.js +7 -8
  653. package/lib/mention/styles/light.d.ts +11 -5
  654. package/lib/menu/src/Menu.d.ts +16 -127
  655. package/lib/menu/src/MenuOption.d.ts +2 -113
  656. package/lib/menu/src/MenuOptionGroup.d.ts +1 -1
  657. package/lib/menu/src/Submenu.d.ts +2 -113
  658. package/lib/menu/src/use-menu-child.js +1 -2
  659. package/lib/menu/src/useCheckDeprecated.js +1 -2
  660. package/lib/menu/src/utils.js +3 -4
  661. package/lib/menu/styles/light.js +2 -2
  662. package/lib/message/src/Message.d.ts +1 -1
  663. package/lib/message/src/MessageEnvironment.d.ts +1 -1
  664. package/lib/message/src/MessageProvider.d.ts +5 -5
  665. package/lib/message/src/use-message.js +1 -2
  666. package/lib/modal/src/BodyWrapper.d.ts +8 -119
  667. package/lib/modal/src/Modal.d.ts +17 -17
  668. package/lib/modal/src/presetProps.d.ts +2 -2
  669. package/lib/notification/src/Notification.d.ts +5 -5
  670. package/lib/notification/src/NotificationContainer.d.ts +1 -112
  671. package/lib/notification/src/NotificationEnvironment.d.ts +4 -4
  672. package/lib/notification/src/NotificationProvider.d.ts +17 -17
  673. package/lib/notification/src/use-notification.js +1 -2
  674. package/lib/number-animation/src/NumberAnimation.d.ts +1 -1
  675. package/lib/number-animation/src/utils.js +1 -2
  676. package/lib/page-header/styles/light.js +2 -2
  677. package/lib/pagination/src/Pagination.d.ts +263 -242
  678. package/lib/pagination/src/utils.js +1 -2
  679. package/lib/pagination/styles/light.d.ts +22 -10
  680. package/lib/popconfirm/src/Popconfirm.d.ts +29 -140
  681. package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
  682. package/lib/popover/src/Popover.d.ts +30 -30
  683. package/lib/popover/src/PopoverBody.d.ts +19 -19
  684. package/lib/popselect/src/Popselect.d.ts +195 -240
  685. package/lib/popselect/src/PopselectPanel.d.ts +26 -125
  686. package/lib/popselect/styles/light.d.ts +11 -5
  687. package/lib/popselect/styles/light.js +1 -2
  688. package/lib/preset.d.ts +1 -1
  689. package/lib/progress/src/Line.d.ts +1 -1
  690. package/lib/progress/src/MultipleCircle.d.ts +2 -2
  691. package/lib/progress/src/Progress.d.ts +6 -6
  692. package/lib/radio/src/Radio.d.ts +10 -10
  693. package/lib/radio/src/RadioButton.d.ts +6 -6
  694. package/lib/rate/src/Rate.d.ts +1 -1
  695. package/lib/result/src/Result.d.ts +4 -4
  696. package/lib/select/src/Select.d.ts +141 -186
  697. package/lib/select/src/utils.js +6 -7
  698. package/lib/select/styles/light.d.ts +11 -5
  699. package/lib/select/styles/light.js +1 -2
  700. package/lib/skeleton/src/Skeleton.d.ts +1 -1
  701. package/lib/slider/src/Slider.d.ts +9 -9
  702. package/lib/slider/src/utils.js +2 -3
  703. package/lib/space/src/Space.d.ts +5 -5
  704. package/lib/spin/src/Spin.d.ts +8 -8
  705. package/lib/steps/src/Step.js +3 -4
  706. package/lib/styles.d.ts +1 -0
  707. package/lib/styles.js +153 -151
  708. package/lib/switch/src/Switch.d.ts +11 -11
  709. package/lib/table/src/Table.d.ts +1 -1
  710. package/lib/tabs/src/Tab.d.ts +10 -22
  711. package/lib/tabs/src/TabPane.d.ts +9 -21
  712. package/lib/tabs/src/Tabs.d.ts +29 -30
  713. package/lib/tag/src/Tag.d.ts +11 -11
  714. package/lib/tag/src/common-props.d.ts +2 -2
  715. package/lib/themes/dark.js +148 -146
  716. package/lib/themes/light.js +148 -146
  717. package/lib/themes/utils.js +1 -2
  718. package/lib/time/src/Time.d.ts +2 -2
  719. package/lib/time-picker/src/Panel.d.ts +3 -114
  720. package/lib/time-picker/src/PanelCol.d.ts +4 -4
  721. package/lib/time-picker/src/TimePicker.d.ts +17 -128
  722. package/lib/time-picker/src/utils.js +6 -6
  723. package/lib/timeline/src/TimelineItem.d.ts +4 -4
  724. package/lib/toggle-button/src/ToggleButton.d.ts +12 -12
  725. package/lib/tooltip/src/Tooltip.d.ts +25 -136
  726. package/lib/transfer/src/Transfer.d.ts +112 -163
  727. package/lib/transfer/src/TransferFilter.d.ts +12 -117
  728. package/lib/transfer/src/TransferList.d.ts +12 -117
  729. package/lib/transfer/src/TransferListItem.d.ts +13 -118
  730. package/lib/transfer/src/use-transfer-data.js +1 -2
  731. package/lib/transfer/styles/light.d.ts +11 -5
  732. package/lib/tree/src/MotionWrapper.d.ts +2 -2
  733. package/lib/tree/src/Tree.d.ts +148 -199
  734. package/lib/tree/src/Tree.js +2 -2
  735. package/lib/tree/src/TreeNodeCheckbox.d.ts +13 -118
  736. package/lib/tree/src/TreeNodeContent.d.ts +1 -1
  737. package/lib/tree/src/TreeNodeSwitcher.d.ts +3 -3
  738. package/lib/tree/src/dnd.js +2 -3
  739. package/lib/tree/src/keyboard.js +1 -2
  740. package/lib/tree/src/utils.js +5 -5
  741. package/lib/tree/styles/light.d.ts +11 -5
  742. package/lib/tree-select/src/TreeSelect.d.ts +269 -260
  743. package/lib/tree-select/src/utils.js +2 -3
  744. package/lib/tree-select/styles/light.d.ts +22 -10
  745. package/lib/typography/src/create-header.d.ts +5 -5
  746. package/lib/typography/src/headers.d.ts +18 -18
  747. package/lib/typography/src/p.d.ts +3 -3
  748. package/lib/typography/src/text.d.ts +6 -6
  749. package/lib/upload/src/Upload.d.ts +137 -137
  750. package/lib/upload/src/Upload.js +58 -209
  751. package/lib/upload/src/UploadFile.d.ts +17 -115
  752. package/lib/upload/src/UploadFile.js +55 -55
  753. package/lib/upload/src/UploadFileList.js +2 -2
  754. package/lib/upload/src/UploadProgress.d.ts +9 -114
  755. package/lib/upload/src/UploadTrigger.js +19 -6
  756. package/lib/upload/src/interface.d.ts +42 -0
  757. package/lib/upload/src/styles/index.cssr.js +159 -34
  758. package/lib/upload/src/useUpload.d.ts +2 -0
  759. package/lib/upload/src/useUpload.js +166 -0
  760. package/lib/upload/src/useUploadActionsRender.d.ts +26 -0
  761. package/lib/upload/src/useUploadActionsRender.js +88 -0
  762. package/lib/upload/src/useUploadInternals.d.ts +25 -0
  763. package/lib/upload/src/useUploadInternals.js +43 -0
  764. package/lib/upload/src/utils.d.ts +2 -1
  765. package/lib/upload/src/utils.js +13 -7
  766. package/lib/upload/styles/light.d.ts +12 -0
  767. package/lib/upload/styles/light.js +8 -2
  768. package/lib/version.d.ts +1 -1
  769. package/lib/version.js +1 -1
  770. package/lib/watermark/src/Watermark.d.ts +6 -6
  771. package/package.json +53 -50
  772. package/volar.d.ts +2 -1
  773. package/web-types.json +259 -9
@@ -0,0 +1,166 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.useUpload = useUpload;
4
+ const utils_1 = require("./utils");
5
+ function useUpload() {
6
+ function createXhrHandlers(inst, file, xhr) {
7
+ const { doChange, xhrMap } = inst;
8
+ let percentage = 0;
9
+ function handleXHRError(e) {
10
+ var _a;
11
+ let fileAfterChange = Object.assign({}, file, {
12
+ status: 'error',
13
+ percentage
14
+ });
15
+ xhrMap.delete(file.id);
16
+ fileAfterChange = (0, utils_1.createSettledFileInfo)(((_a = inst.onError) === null || _a === void 0 ? void 0 : _a.call(inst, { file: fileAfterChange, event: e })) || fileAfterChange);
17
+ doChange(fileAfterChange, e);
18
+ }
19
+ function handleXHRLoad(e) {
20
+ var _a;
21
+ if (inst.isErrorState) {
22
+ if (inst.isErrorState(xhr)) {
23
+ handleXHRError(e);
24
+ return;
25
+ }
26
+ }
27
+ else {
28
+ if (xhr.status < 200 || xhr.status >= 300) {
29
+ handleXHRError(e);
30
+ return;
31
+ }
32
+ }
33
+ let fileAfterChange = Object.assign({}, file, {
34
+ status: 'finished',
35
+ percentage
36
+ });
37
+ xhrMap.delete(file.id);
38
+ fileAfterChange = (0, utils_1.createSettledFileInfo)(((_a = inst.onFinish) === null || _a === void 0 ? void 0 : _a.call(inst, { file: fileAfterChange, event: e })) || fileAfterChange);
39
+ doChange(fileAfterChange, e);
40
+ }
41
+ return {
42
+ handleXHRLoad,
43
+ handleXHRError,
44
+ handleXHRAbort(e) {
45
+ const fileAfterChange = Object.assign({}, file, {
46
+ status: 'removed',
47
+ file: null,
48
+ percentage
49
+ });
50
+ xhrMap.delete(file.id);
51
+ doChange(fileAfterChange, e);
52
+ },
53
+ handleXHRProgress(e) {
54
+ const fileAfterChange = Object.assign({}, file, {
55
+ status: 'uploading'
56
+ });
57
+ if (e.lengthComputable) {
58
+ const progress = Math.ceil((e.loaded / e.total) * 100);
59
+ fileAfterChange.percentage = progress;
60
+ percentage = progress;
61
+ }
62
+ doChange(fileAfterChange, e);
63
+ }
64
+ };
65
+ }
66
+ function customSubmitImpl(options) {
67
+ const { inst, file, data, headers, withCredentials, action, customRequest } = options;
68
+ const { doChange } = options.inst;
69
+ let percentage = 0;
70
+ customRequest({
71
+ file,
72
+ data,
73
+ headers,
74
+ withCredentials,
75
+ action,
76
+ onProgress(event) {
77
+ const fileAfterChange = Object.assign({}, file, {
78
+ status: 'uploading'
79
+ });
80
+ const progress = event.percent;
81
+ fileAfterChange.percentage = progress;
82
+ percentage = progress;
83
+ doChange(fileAfterChange);
84
+ },
85
+ onFinish() {
86
+ var _a;
87
+ let fileAfterChange = Object.assign({}, file, {
88
+ status: 'finished',
89
+ percentage
90
+ });
91
+ fileAfterChange = (0, utils_1.createSettledFileInfo)(((_a = inst.onFinish) === null || _a === void 0 ? void 0 : _a.call(inst, { file: fileAfterChange })) || fileAfterChange);
92
+ doChange(fileAfterChange);
93
+ },
94
+ onError() {
95
+ var _a;
96
+ let fileAfterChange = Object.assign({}, file, {
97
+ status: 'error',
98
+ percentage
99
+ });
100
+ fileAfterChange = (0, utils_1.createSettledFileInfo)(((_a = inst.onError) === null || _a === void 0 ? void 0 : _a.call(inst, { file: fileAfterChange })) || fileAfterChange);
101
+ doChange(fileAfterChange);
102
+ }
103
+ });
104
+ }
105
+ function registerHandler(inst, file, request) {
106
+ const handlers = createXhrHandlers(inst, file, request);
107
+ request.onabort = handlers.handleXHRAbort;
108
+ request.onerror = handlers.handleXHRError;
109
+ request.onload = handlers.handleXHRLoad;
110
+ if (request.upload) {
111
+ request.upload.onprogress = handlers.handleXHRProgress;
112
+ }
113
+ }
114
+ function unwrapFunctionValue(data, file) {
115
+ if (typeof data === 'function') {
116
+ return data({ file });
117
+ }
118
+ if (data)
119
+ return data;
120
+ return {};
121
+ }
122
+ function setHeaders(request, headers, file) {
123
+ const headersObject = unwrapFunctionValue(headers, file);
124
+ if (!headersObject)
125
+ return;
126
+ Object.keys(headersObject).forEach((key) => {
127
+ request.setRequestHeader(key, headersObject[key]);
128
+ });
129
+ }
130
+ function appendData(formData, data, file) {
131
+ const dataObject = unwrapFunctionValue(data, file);
132
+ if (!dataObject)
133
+ return;
134
+ Object.keys(dataObject).forEach((key) => {
135
+ formData.append(key, dataObject[key]);
136
+ });
137
+ }
138
+ function submitImpl(inst, fieldName, file, { method, action, withCredentials, responseType, headers, data }) {
139
+ const request = new XMLHttpRequest();
140
+ request.responseType = responseType;
141
+ inst.xhrMap.set(file.id, request);
142
+ request.withCredentials = withCredentials;
143
+ const formData = new FormData();
144
+ appendData(formData, data, file);
145
+ formData.append(fieldName, file.file);
146
+ registerHandler(inst, file, request);
147
+ if (action !== undefined) {
148
+ request.open(method.toUpperCase(), action);
149
+ setHeaders(request, headers, file);
150
+ request.send(formData);
151
+ const fileAfterChange = Object.assign({}, file, {
152
+ status: 'uploading'
153
+ });
154
+ inst.doChange(fileAfterChange);
155
+ }
156
+ }
157
+ return {
158
+ createXhrHandlers,
159
+ customSubmitImpl,
160
+ registerHandler,
161
+ unwrapFunctionValue,
162
+ setHeaders,
163
+ appendData,
164
+ submitImpl
165
+ };
166
+ }
@@ -0,0 +1,26 @@
1
+ import { VNode } from 'vue';
2
+ import { FileInfo, ListType } from './interface';
3
+ interface Options {
4
+ clsPrefix: string;
5
+ listType: ListType;
6
+ file: Required<FileInfo>;
7
+ showPreviewButton: string | boolean | null;
8
+ showRemoveButton: boolean;
9
+ showCancelButton: boolean;
10
+ showRetryButton: boolean;
11
+ showDownloadButton: boolean;
12
+ disabled: boolean;
13
+ buttonType: string | undefined;
14
+ mergedTheme: any;
15
+ buttonThemeOverrides: any;
16
+ handlePreviewClick: () => void;
17
+ handleRemoveOrCancelClick: (e: MouseEvent) => void;
18
+ handleRetryClick: () => void;
19
+ handleDownloadClick: (e: MouseEvent) => void;
20
+ capitalizeFirstLetter: (text: string) => string;
21
+ }
22
+ export declare function useUploadActionsRender(opts: Options): {
23
+ actionsNode: VNode;
24
+ icon: VNode;
25
+ };
26
+ export {};
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.useUploadActionsRender = useUploadActionsRender;
4
+ const vue_1 = require("vue");
5
+ const button_1 = require("../../button");
6
+ const _internal_1 = require("../../_internal");
7
+ const icons_1 = require("../../_internal/icons");
8
+ function useUploadActionsRender(opts) {
9
+ const { clsPrefix, listType, file, showPreviewButton, showRemoveButton, showCancelButton, showRetryButton, showDownloadButton, disabled, buttonType, mergedTheme, buttonThemeOverrides, handlePreviewClick, handleRemoveOrCancelClick, handleRetryClick, handleDownloadClick, capitalizeFirstLetter } = opts;
10
+ const isImageType = ['image', 'image-card'].includes(listType);
11
+ const fileExt = file.name.split('.')[1] || '';
12
+ const capitalizedExt = capitalizeFirstLetter(fileExt);
13
+ const icon = (0, vue_1.h)('div', {
14
+ class: [
15
+ `${clsPrefix}-upload-file-info__thumbnail`,
16
+ `${clsPrefix}-upload-file-info__thumbnail--icon`
17
+ ]
18
+ }, [
19
+ (0, vue_1.h)('span', { class: `${clsPrefix}-upload-file-info__preview` }, [
20
+ (0, vue_1.h)('div', { class: `${clsPrefix}-upload-file-info__preview--ext` }, capitalizedExt),
21
+ (0, vue_1.h)('div', {
22
+ class: `${clsPrefix}-upload-file-info__preview--content`
23
+ })
24
+ ])
25
+ ]);
26
+ const actionsNode = (0, vue_1.h)('div', {
27
+ class: [
28
+ `${clsPrefix}-upload-file-info__action`,
29
+ `${clsPrefix}-upload-file--${isImageType ? 'image-card' : 'text'}-type`
30
+ ]
31
+ }, [
32
+ showPreviewButton &&
33
+ (0, vue_1.h)(button_1.UButton, {
34
+ key: 'preview',
35
+ quaternary: true,
36
+ type: buttonType,
37
+ onClick: handlePreviewClick,
38
+ theme: mergedTheme.peers.Button,
39
+ themeOverrides: mergedTheme.peerOverrides.Button,
40
+ builtinThemeOverrides: buttonThemeOverrides
41
+ }, {
42
+ icon: () => (0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix }, { default: () => (0, vue_1.h)(icons_1.EyeIcon) })
43
+ }),
44
+ (showRemoveButton || showCancelButton) &&
45
+ !disabled &&
46
+ (0, vue_1.h)(button_1.UButton, {
47
+ key: 'cancelOrTrash',
48
+ quaternary: true,
49
+ type: buttonType,
50
+ onClick: handleRemoveOrCancelClick,
51
+ theme: mergedTheme.peers.Button,
52
+ themeOverrides: mergedTheme.peerOverrides.Button,
53
+ builtinThemeOverrides: buttonThemeOverrides
54
+ }, {
55
+ icon: () => (0, vue_1.h)(_internal_1.UIconSwitchTransition, {}, {
56
+ default: () => showRemoveButton
57
+ ? (0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix, key: 'trash' }, { default: () => (0, vue_1.h)(icons_1.TrashIcon) })
58
+ : (0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix, key: 'cancel' }, { default: () => (0, vue_1.h)(icons_1.CancelIcon) })
59
+ })
60
+ }),
61
+ showRetryButton &&
62
+ !disabled &&
63
+ (0, vue_1.h)(button_1.UButton, {
64
+ key: 'retry',
65
+ quaternary: true,
66
+ type: buttonType,
67
+ onClick: handleRetryClick,
68
+ theme: mergedTheme.peers.Button,
69
+ themeOverrides: mergedTheme.peerOverrides.Button,
70
+ builtinThemeOverrides: buttonThemeOverrides
71
+ }, {
72
+ icon: () => (0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix }, { default: () => (0, vue_1.h)(icons_1.RetryIcon) })
73
+ }),
74
+ showDownloadButton &&
75
+ (0, vue_1.h)(button_1.UButton, {
76
+ key: 'download',
77
+ quaternary: true,
78
+ type: buttonType,
79
+ onClick: handleDownloadClick,
80
+ theme: mergedTheme.peers.Button,
81
+ themeOverrides: mergedTheme.peerOverrides.Button,
82
+ builtinThemeOverrides: buttonThemeOverrides
83
+ }, {
84
+ icon: () => (0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix }, { default: () => (0, vue_1.h)(icons_1.DownloadIcon) })
85
+ })
86
+ ].filter(Boolean));
87
+ return { icon, actionsNode };
88
+ }
@@ -0,0 +1,25 @@
1
+ import { VNode, Slots } from 'vue';
2
+ interface UseUploadInternalsOptions {
3
+ mergedClsPrefix: string;
4
+ accept?: string;
5
+ multiple?: boolean;
6
+ inputProps?: Record<string, any>;
7
+ directory?: boolean;
8
+ onChange?: (e: Event) => void;
9
+ label?: string;
10
+ title?: string;
11
+ subtitle?: string;
12
+ vertical?: boolean;
13
+ noIcon?: boolean;
14
+ icon?: any;
15
+ localeRef: {
16
+ title: string;
17
+ subtitle: string;
18
+ };
19
+ slots: Slots;
20
+ }
21
+ export declare function useUploadInternals(options: UseUploadInternalsOptions): {
22
+ inputNode: VNode;
23
+ renderDefaultTrigger: () => VNode[];
24
+ };
25
+ export {};
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.useUploadInternals = useUploadInternals;
7
+ const vue_1 = require("vue");
8
+ const icons_1 = require("./icons");
9
+ const _internal_1 = require("../../_internal");
10
+ const UploadDragger_1 = __importDefault(require("./UploadDragger"));
11
+ function useUploadInternals(options) {
12
+ const { mergedClsPrefix, accept, multiple, inputProps = {}, directory, onChange, label, title, subtitle, vertical, noIcon, icon, localeRef, slots } = options;
13
+ const inputNode = (0, vue_1.h)('input', Object.assign(Object.assign({}, inputProps), { ref: 'inputElRef', type: 'file', class: `${mergedClsPrefix}-upload-file-input`, accept,
14
+ multiple, directory: directory || undefined, webkitdirectory: directory || undefined, onChange }));
15
+ const renderDefaultTrigger = () => {
16
+ const rootClass = `${mergedClsPrefix}-upload-dragger-inner`;
17
+ return [
18
+ (0, vue_1.h)(vue_1.Fragment, null,
19
+ label ? ((0, vue_1.h)("p", { class: `${mergedClsPrefix}-upload__label` }, label)) : null,
20
+ (0, vue_1.h)(UploadDragger_1.default, null, {
21
+ default: () => {
22
+ var _a, _b;
23
+ return (0, vue_1.h)('div', {
24
+ class: [rootClass, vertical && `${rootClass}--vertical`]
25
+ }, [
26
+ !noIcon &&
27
+ (0, vue_1.h)('div', { class: `${rootClass}__icon` }, (0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix: mergedClsPrefix }, {
28
+ default: () => icon || icons_1.uploadIcon
29
+ })),
30
+ (0, vue_1.h)('div', { class: `${rootClass}__content` }, [
31
+ (0, vue_1.h)('p', { class: `${rootClass}__title` }, title || ((_a = slots.title) === null || _a === void 0 ? void 0 : _a.call(slots)) || localeRef.title),
32
+ (0, vue_1.h)('p', { class: `${rootClass}__subtitle` }, subtitle || ((_b = slots.subtitle) === null || _b === void 0 ? void 0 : _b.call(slots)) || localeRef.subtitle)
33
+ ])
34
+ ]);
35
+ }
36
+ }))
37
+ ];
38
+ };
39
+ return {
40
+ inputNode,
41
+ renderDefaultTrigger
42
+ };
43
+ }
@@ -1,9 +1,10 @@
1
1
  import type { FileAndEntry, FileInfo, SettledFileInfo, ShouldUseThumbnailUrl } from './interface';
2
2
  export declare const isImageFileType: (type: string) => boolean;
3
+ export declare const capitalizeFirstLetter: (str: string) => string;
3
4
  export declare const isImageFile: ShouldUseThumbnailUrl;
4
5
  export declare function createImageDataUrl(file: File): Promise<string>;
5
6
  export declare const environmentSupportFile: false | {
6
- new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined): File;
7
+ new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
7
8
  prototype: File;
8
9
  };
9
10
  export declare function isFileSystemDirectoryEntry(item: FileSystemEntry | FileSystemFileEntry | FileSystemDirectoryEntry): item is FileSystemDirectoryEntry;
@@ -9,7 +9,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.download = exports.matchType = exports.createSettledFileInfo = exports.getFilesFromEntries = exports.isFileSystemFileEntry = exports.isFileSystemDirectoryEntry = exports.environmentSupportFile = exports.createImageDataUrl = exports.isImageFile = exports.isImageFileType = void 0;
12
+ exports.download = exports.environmentSupportFile = exports.isImageFile = exports.capitalizeFirstLetter = exports.isImageFileType = void 0;
13
+ exports.createImageDataUrl = createImageDataUrl;
14
+ exports.isFileSystemDirectoryEntry = isFileSystemDirectoryEntry;
15
+ exports.isFileSystemFileEntry = isFileSystemFileEntry;
16
+ exports.getFilesFromEntries = getFilesFromEntries;
17
+ exports.createSettledFileInfo = createSettledFileInfo;
18
+ exports.matchType = matchType;
13
19
  const _utils_1 = require("../../_utils");
14
20
  const isImageFileType = (type) => type.includes('image/');
15
21
  exports.isImageFileType = isImageFileType;
@@ -20,6 +26,12 @@ const getExtname = (url = '') => {
20
26
  return (/\.[^./\\]*$/.exec(filenameWithoutSuffix) || [''])[0];
21
27
  };
22
28
  const imageExtensionRegex = /(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i;
29
+ const capitalizeFirstLetter = (str) => {
30
+ if (!str)
31
+ return str;
32
+ return str.charAt(0).toUpperCase() + str.slice(1);
33
+ };
34
+ exports.capitalizeFirstLetter = capitalizeFirstLetter;
23
35
  // Do not need File object
24
36
  const isImageFile = (file) => {
25
37
  if (file.type) {
@@ -48,16 +60,13 @@ function createImageDataUrl(file) {
48
60
  });
49
61
  });
50
62
  }
51
- exports.createImageDataUrl = createImageDataUrl;
52
63
  exports.environmentSupportFile = _utils_1.isBrowser && window.FileReader && window.File;
53
64
  function isFileSystemDirectoryEntry(item) {
54
65
  return item.isDirectory;
55
66
  }
56
- exports.isFileSystemDirectoryEntry = isFileSystemDirectoryEntry;
57
67
  function isFileSystemFileEntry(item) {
58
68
  return item.isFile;
59
69
  }
60
- exports.isFileSystemFileEntry = isFileSystemFileEntry;
61
70
  function getFilesFromEntries(entries, directory) {
62
71
  return __awaiter(this, void 0, void 0, function* () {
63
72
  const fileAndEntries = [];
@@ -106,7 +115,6 @@ function getFilesFromEntries(entries, directory) {
106
115
  return fileAndEntries;
107
116
  });
108
117
  }
109
- exports.getFilesFromEntries = getFilesFromEntries;
110
118
  function createSettledFileInfo(fileInfo) {
111
119
  const { id, name, percentage, status, url, file, thumbnailUrl, type, fullPath, batchId } = fileInfo;
112
120
  return {
@@ -122,7 +130,6 @@ function createSettledFileInfo(fileInfo) {
122
130
  batchId: batchId !== null && batchId !== void 0 ? batchId : null
123
131
  };
124
132
  }
125
- exports.createSettledFileInfo = createSettledFileInfo;
126
133
  /**
127
134
  * This is a rather simple version. I may fix it later to make it more accurate.
128
135
  * I've looked at https://github.com/broofa/mime, however it doesn't has a esm
@@ -160,7 +167,6 @@ function matchType(name, mimeType, accept) {
160
167
  return false;
161
168
  });
162
169
  }
163
- exports.matchType = matchType;
164
170
  const download = (url, name) => {
165
171
  if (!url)
166
172
  return;
@@ -21,6 +21,12 @@ export declare const self: (vars: ThemeCommonVars) => {
21
21
  draggerTitleColor: string;
22
22
  draggerTextColor: string;
23
23
  labelColor: string;
24
+ widthSmall: string;
25
+ widthMedium: string;
26
+ widthLarge: string;
27
+ containerSecondary: string;
28
+ brandPrimary300: string;
29
+ elementsQuaternary: string;
24
30
  };
25
31
  export type UploadThemeVars = ReturnType<typeof self>;
26
32
  declare const uploadLight: import("../../_mixins").Theme<"Upload", {
@@ -45,6 +51,12 @@ declare const uploadLight: import("../../_mixins").Theme<"Upload", {
45
51
  draggerTitleColor: string;
46
52
  draggerTextColor: string;
47
53
  labelColor: string;
54
+ widthSmall: string;
55
+ widthMedium: string;
56
+ widthLarge: string;
57
+ containerSecondary: string;
58
+ brandPrimary300: string;
59
+ elementsQuaternary: string;
48
60
  }, {
49
61
  Button: import("../../_mixins").Theme<"Button", {
50
62
  heightTiny: string;
@@ -7,7 +7,7 @@ const styles_2 = require("../../progress/styles");
7
7
  const common_1 = require("../../_styles/common");
8
8
  const _mixins_1 = require("../../_mixins");
9
9
  const self = (vars) => {
10
- const { staticGreen, staticRed, elementsQuaternary, elementsTertiary, elementsPrimary, textPrimary, opacityDisabled, containerPrimary, fontBodyMedium, lineHeightBodyMedium, borderRadiusLarge, elementsQuinary } = vars;
10
+ const { staticGreen, staticRed, elementsQuaternary, elementsTertiary, elementsPrimary, textPrimary, opacityDisabled, containerPrimary, fontBodyMedium, lineHeightBodyMedium, borderRadiusLarge, elementsQuinary, containerSecondary, brandPrimary300 } = vars;
11
11
  return {
12
12
  baseColor: containerPrimary,
13
13
  fontSize: fontBodyMedium,
@@ -31,7 +31,13 @@ const self = (vars) => {
31
31
  draggerIconColor: elementsPrimary,
32
32
  draggerTitleColor: textPrimary,
33
33
  draggerTextColor: textPrimary,
34
- labelColor: textPrimary
34
+ labelColor: textPrimary,
35
+ widthSmall: '140px',
36
+ widthMedium: 'auto',
37
+ widthLarge: 'auto',
38
+ containerSecondary,
39
+ brandPrimary300,
40
+ elementsQuaternary
35
41
  };
36
42
  };
37
43
  exports.self = self;
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "1.3.0";
1
+ declare const _default: "1.4.0";
2
2
  export default _default;
package/lib/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '1.3.0';
3
+ exports.default = '1.4.0';
@@ -273,22 +273,22 @@ declare const _default: import("vue").DefineComponent<{
273
273
  fontFamily: string;
274
274
  }, unknown>>>;
275
275
  }>>, {
276
- readonly fontSize: number;
277
- readonly fontStretch: string;
278
- readonly fontStyle: "normal" | "italic" | "oblique" | `oblique ${number}deg`;
279
- readonly fontVariant: string;
280
276
  readonly fontWeight: number;
277
+ readonly width: number;
278
+ readonly fontSize: number;
281
279
  readonly height: number;
282
280
  readonly lineHeight: number;
283
281
  readonly rotate: number;
284
- readonly width: number;
282
+ readonly fontStretch: string;
283
+ readonly fontStyle: "normal" | "italic" | "oblique" | `oblique ${number}deg`;
284
+ readonly fontVariant: string;
285
285
  readonly zIndex: number;
286
- readonly cross: boolean;
287
286
  readonly xGap: number;
288
287
  readonly yGap: number;
289
288
  readonly selectable: boolean;
290
289
  readonly fullscreen: boolean;
291
290
  readonly debug: boolean;
291
+ readonly cross: boolean;
292
292
  readonly yOffset: number;
293
293
  readonly xOffset: number;
294
294
  readonly imageOpacity: number;