@uzum-tech/ui 0.1.1 → 1.0.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 (1230) hide show
  1. package/README.md +0 -10
  2. package/dist/index.js +6626 -6333
  3. package/dist/index.prod.js +2 -2
  4. package/es/_internal/checkbox/index.d.ts +2 -0
  5. package/es/_internal/checkbox/index.js +1 -0
  6. package/es/_internal/checkbox/src/use-checkbox.d.ts +53 -0
  7. package/es/_internal/checkbox/src/use-checkbox.js +159 -0
  8. package/es/_internal/close/src/styles/index.cssr.js +2 -0
  9. package/es/_internal/icon/src/styles/index.cssr.js +2 -2
  10. package/es/_internal/icons/ChevronDown.js +2 -2
  11. package/es/_internal/icons/ChevronDownOutline.d.ts +2 -0
  12. package/es/_internal/icons/ChevronDownOutline.js +8 -0
  13. package/es/_internal/icons/ChevronLeft.js +1 -1
  14. package/es/_internal/icons/ChevronRight.js +1 -1
  15. package/es/_internal/icons/Clear.js +2 -10
  16. package/es/_internal/icons/ClearSmall.d.ts +2 -0
  17. package/es/_internal/icons/ClearSmall.js +8 -0
  18. package/es/_internal/icons/Close.js +2 -4
  19. package/es/_internal/icons/Error.js +2 -4
  20. package/es/_internal/icons/Inactive.d.ts +2 -0
  21. package/es/_internal/icons/Inactive.js +8 -0
  22. package/es/_internal/icons/InfoOutline.d.ts +2 -0
  23. package/es/_internal/icons/InfoOutline.js +4 -0
  24. package/es/_internal/icons/Success.js +2 -4
  25. package/es/_internal/icons/Warning.js +2 -4
  26. package/es/_internal/icons/index.d.ts +4 -0
  27. package/es/_internal/icons/index.js +4 -0
  28. package/es/_internal/icons/replaceable.js +1 -1
  29. package/es/_internal/index.d.ts +4 -0
  30. package/es/_internal/index.js +2 -0
  31. package/es/_internal/radio/index.d.ts +2 -0
  32. package/es/_internal/radio/index.js +1 -0
  33. package/es/_internal/radio/src/interface.d.ts +12 -0
  34. package/{lib → es/_internal}/radio/src/use-radio.d.ts +6 -13
  35. package/es/{radio → _internal/radio}/src/use-radio.js +15 -19
  36. package/es/_internal/select-menu/src/SelectMenu.d.ts +180 -211
  37. package/es/_internal/select-menu/src/SelectMenu.js +3 -2
  38. package/es/_internal/select-menu/src/interface.d.ts +1 -1
  39. package/es/_internal/select-menu/src/styles/index.cssr.js +24 -18
  40. package/es/_internal/select-menu/styles/light.d.ts +17 -23
  41. package/es/_internal/select-menu/styles/light.js +34 -3
  42. package/es/_internal/selection/index.d.ts +1 -0
  43. package/es/_internal/selection/src/Selection.d.ts +583 -183
  44. package/es/_internal/selection/src/Selection.js +102 -28
  45. package/es/_internal/selection/src/interface.d.ts +1 -0
  46. package/es/_internal/selection/src/styles/index.cssr.d.ts +2 -1
  47. package/es/_internal/selection/src/styles/index.cssr.js +128 -35
  48. package/es/_internal/selection/styles/dark.js +2 -26
  49. package/es/_internal/selection/styles/light.d.ts +121 -17
  50. package/es/_internal/selection/styles/light.js +120 -20
  51. package/es/_internal/skeleton/src/styles/index.cssr.js +1 -1
  52. package/es/_internal/skeleton/styles/dark.js +2 -11
  53. package/es/_internal/skeleton/styles/light.d.ts +1 -2
  54. package/es/_internal/skeleton/styles/light.js +4 -4
  55. package/es/_mixins/use-theme.js +1 -1
  56. package/es/_styles/common/_common.d.ts +37 -12
  57. package/es/_styles/common/_common.js +44 -19
  58. package/es/_styles/common/dark.js +2 -98
  59. package/es/_styles/common/light.d.ts +88 -99
  60. package/es/_styles/common/light.js +1 -103
  61. package/es/_styles/global/index.cssr.js +4 -5
  62. package/es/_utils/index.d.ts +3 -0
  63. package/es/_utils/index.js +3 -0
  64. package/es/_utils/inject/index.d.ts +2 -0
  65. package/es/_utils/inject/index.js +7 -0
  66. package/es/_utils/themes/index.d.ts +1 -0
  67. package/es/_utils/themes/index.js +1 -0
  68. package/es/_utils/themes/rewrite-styles.d.ts +1 -0
  69. package/es/_utils/themes/rewrite-styles.js +6 -0
  70. package/es/_utils/types/index.d.ts +1 -0
  71. package/es/_utils/types/index.js +1 -0
  72. package/es/_utils/types/utility.types.d.ts +10 -0
  73. package/es/_utils/types/utility.types.js +1 -0
  74. package/es/_utils/uzum/prop.d.ts +2 -2
  75. package/es/_utils/uzum/prop.js +0 -2
  76. package/es/alert/src/Alert.d.ts +438 -271
  77. package/es/alert/src/Alert.js +53 -57
  78. package/es/alert/src/styles/index.cssr.js +92 -48
  79. package/es/alert/styles/_common.d.ts +7 -6
  80. package/es/alert/styles/_common.js +11 -8
  81. package/es/alert/styles/dark.js +2 -15
  82. package/es/alert/styles/light.d.ts +33 -16
  83. package/es/alert/styles/light.js +16 -9
  84. package/es/alert/styles/types.d.ts +4 -0
  85. package/es/alert/styles/types.js +1 -0
  86. package/es/anchor/src/AnchorAdapter.d.ts +30 -21
  87. package/es/anchor/src/AnchorAdapter.js +2 -1
  88. package/es/anchor/src/BaseAnchor.js +1 -1
  89. package/es/anchor/src/styles/index.cssr.js +2 -1
  90. package/es/anchor/styles/light.d.ts +4 -3
  91. package/es/anchor/styles/light.js +16 -5
  92. package/es/auto-complete/src/AutoComplete.d.ts +317 -327
  93. package/es/auto-complete/styles/light.d.ts +22 -22
  94. package/es/auto-complete/styles/light.js +2 -2
  95. package/es/avatar/src/Avatar.d.ts +0 -29
  96. package/es/avatar/src/Avatar.js +4 -7
  97. package/es/avatar/src/interface.d.ts +1 -1
  98. package/es/avatar/src/styles/index.cssr.js +2 -4
  99. package/es/avatar/styles/light.d.ts +0 -3
  100. package/es/avatar/styles/light.js +7 -11
  101. package/es/avatar-group/src/AvatarGroup.d.ts +88 -129
  102. package/es/avatar-group/styles/light.d.ts +0 -3
  103. package/es/back-top/src/BackTop.d.ts +24 -24
  104. package/es/back-top/styles/dark.js +2 -5
  105. package/es/back-top/styles/light.d.ts +5 -5
  106. package/es/back-top/styles/light.js +16 -4
  107. package/es/badge/src/Badge.d.ts +0 -10
  108. package/es/badge/src/Badge.js +1 -2
  109. package/es/badge/src/styles/index.cssr.js +0 -2
  110. package/es/badge/styles/dark.js +2 -12
  111. package/es/badge/styles/light.d.ts +1 -2
  112. package/es/badge/styles/light.js +8 -9
  113. package/es/breadcrumb/src/Breadcrumb.d.ts +10 -40
  114. package/es/breadcrumb/src/Breadcrumb.js +2 -5
  115. package/es/breadcrumb/src/styles/index.cssr.js +4 -9
  116. package/es/breadcrumb/styles/light.d.ts +1 -4
  117. package/es/breadcrumb/styles/light.js +11 -3
  118. package/es/button/src/Button.d.ts +11 -11
  119. package/es/button/src/Button.js +4 -4
  120. package/es/button/src/styles/index.cssr.js +4 -5
  121. package/es/button/styles/dark.js +1 -8
  122. package/es/button/styles/light.d.ts +1 -1
  123. package/es/button/styles/light.js +18 -18
  124. package/es/calendar/src/Calendar.d.ts +108 -119
  125. package/es/calendar/styles/light.d.ts +3 -3
  126. package/es/calendar/styles/light.js +23 -5
  127. package/es/card/src/Card.d.ts +295 -272
  128. package/es/card/src/Card.js +13 -16
  129. package/es/card/src/styles/index.cssr.js +6 -20
  130. package/es/card/styles/_common.d.ts +0 -6
  131. package/es/card/styles/_common.js +1 -7
  132. package/es/card/styles/dark.js +1 -8
  133. package/es/card/styles/light.d.ts +21 -17
  134. package/es/card/styles/light.js +2 -5
  135. package/es/carousel/src/CarouselItem.js +1 -1
  136. package/es/cascader/src/Cascader.d.ts +1195 -555
  137. package/es/cascader/src/CascaderMenu.d.ts +207 -153
  138. package/es/cascader/src/CascaderOption.d.ts +207 -153
  139. package/es/cascader/src/CascaderSelectMenu.d.ts +207 -153
  140. package/es/cascader/src/CascaderSubmenu.d.ts +207 -153
  141. package/es/cascader/src/styles/index.cssr.js +3 -3
  142. package/es/cascader/styles/light.d.ts +109 -44
  143. package/es/cascader/styles/light.js +12 -12
  144. package/es/checkbox/index.d.ts +1 -1
  145. package/es/checkbox/src/Checkbox.d.ts +457 -304
  146. package/es/checkbox/src/Checkbox.js +45 -179
  147. package/es/checkbox/src/CheckboxGroup.d.ts +2 -12
  148. package/es/checkbox/src/CheckboxGroup.js +2 -2
  149. package/es/checkbox/src/styles/index.cssr.js +113 -190
  150. package/es/checkbox/styles/_common.d.ts +0 -3
  151. package/es/checkbox/styles/_common.js +3 -6
  152. package/es/checkbox/styles/dark.js +1 -7
  153. package/es/checkbox/styles/light.d.ts +29 -13
  154. package/es/checkbox/styles/light.js +2 -4
  155. package/es/code/styles/dark.js +7 -20
  156. package/es/code/styles/light.d.ts +1 -1
  157. package/es/code/styles/light.js +5 -5
  158. package/es/collapse/src/Collapse.d.ts +126 -104
  159. package/es/collapse/src/Collapse.js +4 -1
  160. package/es/collapse/src/CollapseItem.d.ts +2 -1
  161. package/es/collapse/src/CollapseItem.js +12 -11
  162. package/es/collapse/src/interface.d.ts +1 -0
  163. package/es/collapse/src/styles/index.cssr.js +7 -2
  164. package/es/collapse/styles/light.d.ts +3 -0
  165. package/es/collapse/styles/light.js +12 -9
  166. package/es/color-picker/src/ColorInputUnit.d.ts +103 -106
  167. package/es/color-picker/src/ColorPicker.d.ts +138 -63
  168. package/es/color-picker/src/ColorPicker.js +4 -1
  169. package/es/color-picker/src/ColorPickerTrigger.js +1 -6
  170. package/es/color-picker/src/styles/index.cssr.js +13 -1
  171. package/es/color-picker/styles/light.d.ts +20 -7
  172. package/es/color-picker/styles/light.js +15 -10
  173. package/es/components.d.ts +2 -0
  174. package/es/components.js +2 -0
  175. package/es/config-provider/src/ConfigProvider.js +1 -1
  176. package/es/config-provider/src/internal-interface.d.ts +7 -2
  177. package/es/data-table/src/DataTable.d.ts +1978 -1437
  178. package/es/data-table/src/DataTable.js +2 -3
  179. package/es/data-table/src/HeaderButton/FilterButton.d.ts +457 -347
  180. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +462 -352
  181. package/es/data-table/src/TableParts/Body.d.ts +457 -347
  182. package/es/data-table/src/TableParts/Body.js +3 -2
  183. package/es/data-table/src/TableParts/Cell.d.ts +914 -694
  184. package/es/data-table/src/TableParts/Cell.js +1 -1
  185. package/es/data-table/src/TableParts/Header.d.ts +457 -347
  186. package/es/data-table/src/TableParts/Header.js +3 -1
  187. package/es/data-table/src/interface.d.ts +750 -534
  188. package/es/data-table/src/styles/index.cssr.js +29 -36
  189. package/es/data-table/styles/dark.js +1 -6
  190. package/es/data-table/styles/light.d.ts +254 -183
  191. package/es/data-table/styles/light.js +58 -10
  192. package/es/date-picker/src/DatePicker.d.ts +748 -433
  193. package/es/date-picker/src/DatePicker.js +55 -19
  194. package/es/date-picker/src/interface.d.ts +2 -2
  195. package/es/date-picker/src/panel/date.d.ts +166 -138
  196. package/es/date-picker/src/panel/daterange.d.ts +160 -138
  197. package/es/date-picker/src/panel/datetime.d.ts +160 -138
  198. package/es/date-picker/src/panel/datetimerange.d.ts +160 -138
  199. package/es/date-picker/src/panel/monthrange.d.ts +160 -138
  200. package/es/date-picker/src/panel/panelMonth.d.ts +320 -276
  201. package/es/date-picker/src/panel/panelMonth.js +3 -3
  202. package/es/date-picker/src/panel/panelMonthContent.d.ts +160 -138
  203. package/es/date-picker/src/panel/panelYear.d.ts +320 -276
  204. package/es/date-picker/src/panel/panelYear.js +3 -3
  205. package/es/date-picker/src/panel/panelYearContent.d.ts +160 -138
  206. package/es/date-picker/src/panel/use-calendar.d.ts +160 -138
  207. package/es/date-picker/src/panel/use-dual-calendar.d.ts +160 -138
  208. package/es/date-picker/src/panel/use-panel-common.d.ts +160 -138
  209. package/es/date-picker/src/styles/index.cssr.js +75 -64
  210. package/es/date-picker/styles/_common.d.ts +0 -1
  211. package/es/date-picker/styles/_common.js +0 -1
  212. package/es/date-picker/styles/dark.js +1 -9
  213. package/es/date-picker/styles/light.d.ts +97 -44
  214. package/es/date-picker/styles/light.js +12 -3
  215. package/es/descriptions/src/Descriptions.d.ts +48 -48
  216. package/es/descriptions/styles/light.d.ts +12 -12
  217. package/es/descriptions/styles/light.js +33 -7
  218. package/es/dialog/src/Dialog.d.ts +166 -159
  219. package/es/dialog/src/Dialog.js +20 -11
  220. package/es/dialog/src/DialogEnvironment.d.ts +6 -3
  221. package/es/dialog/src/DialogEnvironment.js +1 -1
  222. package/es/dialog/src/DialogProvider.d.ts +181 -202
  223. package/es/dialog/src/dialogProps.d.ts +3 -2
  224. package/es/dialog/src/dialogProps.js +2 -1
  225. package/es/dialog/src/styles/index.cssr.js +7 -5
  226. package/es/dialog/styles/_common.d.ts +1 -4
  227. package/es/dialog/styles/_common.js +6 -9
  228. package/es/dialog/styles/light.d.ts +19 -15
  229. package/es/dialog/styles/light.js +2 -7
  230. package/es/divider/src/Divider.d.ts +30 -0
  231. package/es/divider/src/Divider.js +5 -2
  232. package/es/divider/src/styles/index.cssr.js +7 -3
  233. package/es/divider/styles/light.d.ts +3 -0
  234. package/es/divider/styles/light.js +7 -4
  235. package/es/drawer/index.d.ts +1 -0
  236. package/es/drawer/src/Drawer.d.ts +312 -250
  237. package/es/drawer/src/Drawer.js +67 -31
  238. package/es/drawer/src/DrawerBodyWrapper.d.ts +107 -119
  239. package/es/drawer/src/DrawerBodyWrapper.js +6 -30
  240. package/es/drawer/src/DrawerContent.d.ts +158 -122
  241. package/es/drawer/src/DrawerContent.js +80 -11
  242. package/es/drawer/src/interface.d.ts +6 -1
  243. package/es/drawer/src/styles/index.cssr.js +57 -28
  244. package/es/drawer/styles/_common.d.ts +11 -0
  245. package/es/drawer/styles/_common.js +10 -0
  246. package/es/drawer/styles/light.d.ts +38 -24
  247. package/es/drawer/styles/light.js +3 -24
  248. package/es/dropdown/src/Dropdown.d.ts +322 -333
  249. package/es/dropdown/styles/dark.js +1 -10
  250. package/es/dropdown/styles/light.d.ts +34 -34
  251. package/es/dropdown/styles/light.js +57 -9
  252. package/es/dynamic-input/src/DynamicInput.d.ts +189 -170
  253. package/es/dynamic-input/src/InputPreset.d.ts +98 -106
  254. package/es/dynamic-input/src/PairPreset.d.ts +98 -106
  255. package/es/dynamic-input/styles/light.d.ts +10 -7
  256. package/es/dynamic-tags/src/DynamicTags.d.ts +375 -325
  257. package/es/dynamic-tags/src/DynamicTags.js +8 -3
  258. package/es/dynamic-tags/styles/light.d.ts +28 -22
  259. package/es/element/src/Element.js +1 -1
  260. package/es/ellipsis/src/Ellipsis.d.ts +184 -195
  261. package/es/ellipsis/src/PerformantEllipsis.d.ts +54 -54
  262. package/es/ellipsis/styles/light.d.ts +9 -9
  263. package/es/empty/src/Empty.d.ts +24 -24
  264. package/es/empty/styles/light.d.ts +4 -4
  265. package/es/empty/styles/light.js +14 -6
  266. package/es/form/src/Form.d.ts +117 -99
  267. package/es/form/src/FormItem.d.ts +119 -102
  268. package/es/form/src/FormItem.js +4 -5
  269. package/es/form/src/FormItemCol.d.ts +117 -99
  270. package/es/form/src/FormItemGridItem.d.ts +117 -99
  271. package/es/form/src/FormItemRow.d.ts +117 -99
  272. package/es/form/src/styles/form-item.cssr.js +15 -18
  273. package/es/form/src/utils.js +1 -1
  274. package/es/form/styles/light.d.ts +17 -15
  275. package/es/form/styles/light.js +35 -3
  276. package/es/global-style/src/GlobalStyle.js +6 -6
  277. package/es/gradient-text/src/styles/index.cssr.js +1 -0
  278. package/es/gradient-text/styles/dark.js +2 -17
  279. package/es/gradient-text/styles/light.d.ts +1 -1
  280. package/es/gradient-text/styles/light.js +13 -13
  281. package/es/icon/styles/light.js +7 -7
  282. package/es/icon-wrapper/styles/light.js +3 -3
  283. package/es/image/src/Image.d.ts +90 -81
  284. package/es/image/src/ImageGroup.d.ts +90 -81
  285. package/es/image/src/ImagePreview.d.ts +61 -54
  286. package/es/image/src/ImagePreview.js +4 -3
  287. package/es/image/src/interface.d.ts +30 -27
  288. package/es/image/src/styles/index.cssr.js +1 -1
  289. package/es/image/styles/dark.js +2 -9
  290. package/es/image/styles/light.d.ts +13 -11
  291. package/es/image/styles/light.js +7 -5
  292. package/es/input/index.d.ts +1 -1
  293. package/es/input/src/Input.d.ts +166 -147
  294. package/es/input/src/Input.js +8 -5
  295. package/es/input/src/InputGroupLabel.d.ts +68 -41
  296. package/es/input/src/interface.d.ts +1 -1
  297. package/es/input/src/styles/input.cssr.js +5 -6
  298. package/es/input/styles/dark.js +2 -20
  299. package/es/input/styles/light.d.ts +10 -7
  300. package/es/input/styles/light.js +70 -15
  301. package/es/input-number/src/InputNumber.d.ts +204 -208
  302. package/es/input-number/src/InputNumber.js +4 -12
  303. package/es/input-number/src/interface.d.ts +0 -1
  304. package/es/input-number/styles/dark.js +2 -6
  305. package/es/input-number/styles/light.d.ts +12 -13
  306. package/es/input-number/styles/light.js +2 -5
  307. package/es/layout/src/Layout.d.ts +204 -198
  308. package/es/layout/src/LayoutContent.d.ts +102 -99
  309. package/es/layout/src/LayoutFooter.d.ts +18 -0
  310. package/es/layout/src/LayoutHeader.d.ts +12 -0
  311. package/es/layout/src/LayoutSider.d.ts +102 -99
  312. package/es/layout/src/LayoutSider.js +5 -3
  313. package/es/layout/src/ToggleButton.d.ts +2 -2
  314. package/es/layout/styles/dark.js +2 -29
  315. package/es/layout/styles/light.d.ts +4 -0
  316. package/es/layout/styles/light.js +25 -24
  317. package/es/legacy-transfer/src/Transfer.d.ts +538 -359
  318. package/es/legacy-transfer/src/TransferFilter.d.ts +133 -125
  319. package/es/legacy-transfer/src/TransferList.d.ts +133 -125
  320. package/es/legacy-transfer/src/TransferListItem.d.ts +133 -125
  321. package/es/legacy-transfer/styles/dark.js +2 -9
  322. package/es/legacy-transfer/styles/light.d.ts +48 -29
  323. package/es/legacy-transfer/styles/light.js +25 -9
  324. package/es/list/index.d.ts +3 -2
  325. package/es/list/index.js +2 -1
  326. package/es/list/src/List.d.ts +218 -83
  327. package/es/list/src/List.js +37 -22
  328. package/es/list/src/ListItem.d.ts +122 -3
  329. package/es/list/src/ListItem.js +184 -12
  330. package/es/list/src/interface.d.ts +35 -0
  331. package/es/list/src/interface.js +1 -0
  332. package/es/list/src/props.d.ts +228 -0
  333. package/es/list/src/props.js +59 -0
  334. package/es/list/src/styles/index.cssr.js +142 -48
  335. package/es/list/styles/light.d.ts +15 -0
  336. package/es/list/styles/light.js +27 -13
  337. package/es/loading-bar/styles/dark.js +2 -8
  338. package/es/loading-bar/styles/light.d.ts +1 -1
  339. package/es/loading-bar/styles/light.js +4 -4
  340. package/es/locales/utils/index.js +1 -1
  341. package/es/log/src/Log.d.ts +88 -99
  342. package/es/log/src/Log.js +1 -1
  343. package/es/log/styles/dark.js +2 -10
  344. package/es/log/styles/light.d.ts +1 -1
  345. package/es/log/styles/light.js +7 -7
  346. package/es/mention/src/Mention.d.ts +314 -325
  347. package/es/mention/styles/dark.js +2 -6
  348. package/es/mention/styles/light.d.ts +23 -23
  349. package/es/mention/styles/light.js +3 -3
  350. package/es/menu/src/Menu.d.ts +490 -501
  351. package/es/menu/src/MenuOption.d.ts +138 -149
  352. package/es/menu/src/Submenu.d.ts +138 -149
  353. package/es/menu/styles/dark.js +1 -14
  354. package/es/menu/styles/light.d.ts +38 -38
  355. package/es/menu/styles/light.js +2 -4
  356. package/es/message/src/Message.d.ts +3 -7
  357. package/es/message/src/Message.js +10 -24
  358. package/es/message/src/MessageProvider.d.ts +195 -258
  359. package/es/message/src/MessageProvider.js +1 -1
  360. package/es/message/src/styles/index.cssr.js +10 -10
  361. package/es/message/styles/_common.d.ts +0 -5
  362. package/es/message/styles/_common.js +3 -8
  363. package/es/message/styles/light.d.ts +23 -30
  364. package/es/message/styles/light.js +14 -7
  365. package/es/message/styles/types.d.ts +4 -0
  366. package/es/message/styles/types.js +1 -0
  367. package/es/modal/src/BodyWrapper.d.ts +140 -173
  368. package/es/modal/src/BodyWrapper.js +7 -13
  369. package/es/modal/src/Modal.d.ts +340 -303
  370. package/es/modal/src/Modal.js +8 -6
  371. package/es/modal/src/presetProps.d.ts +20 -32
  372. package/es/modal/src/presetProps.js +4 -2
  373. package/es/modal/src/styles/index.cssr.js +2 -3
  374. package/es/modal/styles/light.d.ts +39 -27
  375. package/es/modal/styles/light.js +7 -4
  376. package/es/notification/src/Notification.d.ts +15 -7
  377. package/es/notification/src/Notification.js +14 -16
  378. package/es/notification/src/NotificationContainer.d.ts +159 -115
  379. package/es/notification/src/NotificationEnvironment.d.ts +8 -7
  380. package/es/notification/src/NotificationProvider.d.ts +644 -146
  381. package/es/notification/src/NotificationProvider.js +2 -1
  382. package/es/notification/src/styles/index.cssr.js +20 -25
  383. package/es/notification/styles/_common.d.ts +1 -6
  384. package/es/notification/styles/_common.js +2 -7
  385. package/es/notification/styles/light.d.ts +142 -32
  386. package/es/notification/styles/light.js +14 -7
  387. package/es/number-animation/src/NumberAnimation.js +1 -1
  388. package/es/page-header/src/PageHeader.d.ts +18 -18
  389. package/es/page-header/styles/light.d.ts +4 -4
  390. package/es/page-header/styles/light.js +12 -3
  391. package/es/pagination/src/Pagination.d.ts +1564 -1039
  392. package/es/pagination/src/Pagination.js +1 -2
  393. package/es/pagination/src/styles/index.cssr.js +2 -4
  394. package/es/pagination/styles/dark.js +1 -11
  395. package/es/pagination/styles/light.d.ts +140 -91
  396. package/es/pagination/styles/light.js +73 -7
  397. package/es/popconfirm/src/Popconfirm.d.ts +172 -183
  398. package/es/popconfirm/styles/light.d.ts +9 -9
  399. package/es/popconfirm/styles/light.js +6 -3
  400. package/es/popover/src/Popover.d.ts +35 -35
  401. package/es/popover/src/Popover.js +2 -4
  402. package/es/popover/src/PopoverBody.d.ts +30 -30
  403. package/es/popover/src/PopoverBody.js +1 -6
  404. package/es/popover/src/styles/index.cssr.js +1 -1
  405. package/es/popover/styles/light.d.ts +6 -6
  406. package/es/popover/styles/light.js +15 -4
  407. package/es/popselect/src/Popselect.d.ts +286 -327
  408. package/es/popselect/src/PopselectPanel.d.ts +112 -126
  409. package/es/popselect/src/interface.d.ts +1 -1
  410. package/es/popselect/styles/light.d.ts +19 -22
  411. package/es/popselect/styles/light.js +2 -2
  412. package/es/progress/styles/dark.js +1 -7
  413. package/es/progress/styles/light.js +18 -18
  414. package/es/radio/src/Radio.d.ts +129 -50
  415. package/es/radio/src/Radio.js +17 -6
  416. package/es/radio/src/RadioButton.d.ts +5 -2
  417. package/es/radio/src/RadioButton.js +2 -2
  418. package/es/radio/src/RadioGroup.d.ts +121 -49
  419. package/es/radio/src/RadioGroup.js +1 -1
  420. package/es/radio/src/styles/radio-group.cssr.js +7 -7
  421. package/es/radio/src/styles/radio.cssr.js +19 -25
  422. package/es/radio/src/styles/rtl.cssr.js +2 -2
  423. package/es/radio/styles/dark.js +2 -8
  424. package/es/radio/styles/light.d.ts +15 -7
  425. package/es/radio/styles/light.js +54 -6
  426. package/es/rate/styles/dark.js +2 -11
  427. package/es/rate/styles/light.d.ts +1 -1
  428. package/es/rate/styles/light.js +4 -4
  429. package/es/result/src/Result.d.ts +36 -36
  430. package/es/result/styles/light.d.ts +8 -8
  431. package/es/result/styles/light.js +27 -3
  432. package/es/select/src/Select.d.ts +877 -385
  433. package/es/select/src/Select.js +2 -2
  434. package/es/select/src/interface.d.ts +0 -1
  435. package/es/select/styles/light.d.ts +76 -27
  436. package/es/select/styles/light.js +2 -2
  437. package/es/skeleton/src/styles/index.cssr.js +1 -1
  438. package/es/skeleton/styles/dark.js +2 -11
  439. package/es/skeleton/styles/light.d.ts +1 -2
  440. package/es/skeleton/styles/light.js +4 -4
  441. package/es/slider/src/Slider.d.ts +30 -30
  442. package/es/slider/styles/dark.js +2 -6
  443. package/es/slider/styles/light.d.ts +7 -7
  444. package/es/slider/styles/light.js +32 -6
  445. package/es/spin/styles/light.js +9 -15
  446. package/es/statistic/styles/light.js +7 -7
  447. package/es/status/index.d.ts +2 -0
  448. package/es/status/index.js +1 -0
  449. package/es/status/src/Status.d.ts +139 -0
  450. package/es/status/src/Status.js +81 -0
  451. package/es/status/src/styles/index.cssr.d.ts +2 -0
  452. package/es/status/src/styles/index.cssr.js +24 -0
  453. package/es/status/styles/dark.d.ts +3 -0
  454. package/es/status/styles/dark.js +8 -0
  455. package/es/status/styles/index.d.ts +3 -0
  456. package/es/status/styles/index.js +2 -0
  457. package/es/status/styles/light.d.ts +17 -0
  458. package/es/status/styles/light.js +21 -0
  459. package/es/steps/src/Step.d.ts +7 -1
  460. package/es/steps/src/Step.js +31 -22
  461. package/es/steps/src/Steps.d.ts +36 -36
  462. package/es/steps/src/styles/index.cssr.js +18 -3
  463. package/es/steps/styles/light.d.ts +8 -8
  464. package/es/steps/styles/light.js +36 -3
  465. package/es/styles.d.ts +2 -0
  466. package/es/styles.js +2 -0
  467. package/es/switch/src/Switch.d.ts +67 -67
  468. package/es/switch/styles/dark.js +2 -7
  469. package/es/switch/styles/light.d.ts +16 -16
  470. package/es/switch/styles/light.js +48 -5
  471. package/es/table/src/Table.d.ts +30 -30
  472. package/es/table/styles/light.d.ts +6 -6
  473. package/es/table/styles/light.js +29 -8
  474. package/es/tabs/src/Tab.js +5 -2
  475. package/es/tabs/src/Tabs.d.ts +160 -141
  476. package/es/tabs/src/Tabs.js +4 -3
  477. package/es/tabs/src/styles/index.cssr.js +17 -12
  478. package/es/tabs/styles/dark.js +1 -7
  479. package/es/tabs/styles/light.d.ts +35 -33
  480. package/es/tabs/styles/light.js +94 -7
  481. package/es/tag/src/Tag.d.ts +115 -87
  482. package/es/tag/src/Tag.js +2 -1
  483. package/es/tag/src/styles/index.cssr.js +1 -1
  484. package/es/tag/styles/dark.js +2 -29
  485. package/es/tag/styles/light.d.ts +19 -16
  486. package/es/tag/styles/light.js +113 -20
  487. package/es/theme-editor/src/ThemeEditor.d.ts +88 -99
  488. package/es/theme-editor/src/ThemeEditor.js +36 -3
  489. package/es/themes/dark.js +5 -1
  490. package/es/themes/light.js +5 -1
  491. package/es/thing/styles/light.js +4 -4
  492. package/es/time-picker/src/Panel.d.ts +104 -111
  493. package/es/time-picker/src/Panel.js +2 -2
  494. package/es/time-picker/src/TimePicker.d.ts +244 -214
  495. package/es/time-picker/src/TimePicker.js +2 -1
  496. package/es/time-picker/src/interface.d.ts +2 -1
  497. package/es/time-picker/src/styles/index.cssr.js +1 -0
  498. package/es/time-picker/styles/light.d.ts +19 -14
  499. package/es/time-picker/styles/light.js +19 -5
  500. package/es/timeline/src/Timeline.d.ts +30 -30
  501. package/es/timeline/styles/dark.js +2 -5
  502. package/es/timeline/styles/light.d.ts +7 -7
  503. package/es/timeline/styles/light.js +26 -4
  504. package/es/toggle-button/index.d.ts +2 -0
  505. package/es/toggle-button/index.js +1 -0
  506. package/es/toggle-button/src/ToggleButton.d.ts +551 -0
  507. package/es/toggle-button/src/ToggleButton.js +128 -0
  508. package/es/toggle-button/src/styles/toggle-button.cssr.d.ts +2 -0
  509. package/es/toggle-button/src/styles/toggle-button.cssr.js +73 -0
  510. package/es/toggle-button/styles/_common.d.ts +7 -0
  511. package/es/toggle-button/styles/_common.js +6 -0
  512. package/es/toggle-button/styles/dark.d.ts +3 -0
  513. package/es/toggle-button/styles/dark.js +8 -0
  514. package/es/toggle-button/styles/index.d.ts +3 -0
  515. package/es/toggle-button/styles/index.js +2 -0
  516. package/es/toggle-button/styles/light.d.ts +47 -0
  517. package/es/toggle-button/styles/light.js +18 -0
  518. package/es/tooltip/src/Tooltip.d.ts +185 -196
  519. package/es/tooltip/styles/dark.js +2 -5
  520. package/es/tooltip/styles/light.d.ts +13 -13
  521. package/es/tooltip/styles/light.js +19 -4
  522. package/es/transfer/src/Transfer.d.ts +632 -453
  523. package/es/transfer/src/TransferFilter.d.ts +142 -134
  524. package/es/transfer/src/TransferList.d.ts +142 -134
  525. package/es/transfer/src/TransferListItem.d.ts +142 -134
  526. package/es/transfer/src/styles/index.cssr.js +2 -0
  527. package/es/transfer/styles/dark.js +2 -13
  528. package/es/transfer/styles/light.d.ts +58 -39
  529. package/es/transfer/styles/light.js +39 -12
  530. package/es/tree/src/Tree.d.ts +418 -269
  531. package/es/tree/src/TreeNodeCheckbox.d.ts +121 -116
  532. package/es/tree/src/styles/index.cssr.js +5 -1
  533. package/es/tree/styles/dark.js +1 -7
  534. package/es/tree/styles/light.d.ts +33 -17
  535. package/es/tree/styles/light.js +14 -15
  536. package/es/tree-select/src/TreeSelect.d.ts +1145 -459
  537. package/es/tree-select/styles/light.d.ts +100 -32
  538. package/es/tree-select/styles/light.js +6 -6
  539. package/es/typography/src/a.d.ts +56 -56
  540. package/es/typography/src/blockquote.d.ts +61 -61
  541. package/es/typography/src/create-header.d.ts +74 -74
  542. package/es/typography/src/headers.d.ts +300 -300
  543. package/es/typography/src/hr.d.ts +47 -47
  544. package/es/typography/src/ol.d.ts +63 -63
  545. package/es/typography/src/p.d.ts +61 -61
  546. package/es/typography/src/text.d.ts +89 -89
  547. package/es/typography/src/ul.d.ts +63 -63
  548. package/es/typography/styles/light.d.ts +28 -28
  549. package/es/typography/styles/light.js +67 -3
  550. package/es/upload/src/Upload.d.ts +111 -149
  551. package/es/upload/src/UploadFile.d.ts +89 -100
  552. package/es/upload/src/UploadProgress.d.ts +89 -100
  553. package/es/upload/src/styles/index.cssr.js +5 -4
  554. package/es/upload/styles/dark.js +1 -9
  555. package/es/upload/styles/light.d.ts +1 -1
  556. package/es/upload/styles/light.js +22 -22
  557. package/es/version.d.ts +1 -1
  558. package/es/version.js +1 -1
  559. package/lib/_internal/checkbox/index.d.ts +2 -0
  560. package/lib/_internal/checkbox/index.js +7 -0
  561. package/lib/_internal/checkbox/src/use-checkbox.d.ts +53 -0
  562. package/lib/_internal/checkbox/src/use-checkbox.js +163 -0
  563. package/lib/_internal/close/src/styles/index.cssr.js +2 -0
  564. package/lib/_internal/icon/src/styles/index.cssr.js +2 -2
  565. package/lib/_internal/icons/ChevronDown.js +2 -2
  566. package/lib/_internal/icons/ChevronDownOutline.d.ts +2 -0
  567. package/lib/_internal/icons/ChevronDownOutline.js +10 -0
  568. package/lib/_internal/icons/ChevronLeft.js +1 -1
  569. package/lib/_internal/icons/ChevronRight.js +1 -1
  570. package/lib/_internal/icons/Clear.js +2 -10
  571. package/lib/_internal/icons/ClearSmall.d.ts +2 -0
  572. package/lib/_internal/icons/ClearSmall.js +10 -0
  573. package/lib/_internal/icons/Close.js +2 -4
  574. package/lib/_internal/icons/Error.js +2 -4
  575. package/lib/_internal/icons/Inactive.d.ts +2 -0
  576. package/lib/_internal/icons/Inactive.js +10 -0
  577. package/lib/_internal/icons/InfoOutline.d.ts +2 -0
  578. package/lib/_internal/icons/InfoOutline.js +6 -0
  579. package/lib/_internal/icons/Success.js +2 -4
  580. package/lib/_internal/icons/Warning.js +2 -4
  581. package/lib/_internal/icons/index.d.ts +4 -0
  582. package/lib/_internal/icons/index.js +9 -1
  583. package/lib/_internal/index.d.ts +4 -0
  584. package/lib/_internal/index.js +9 -1
  585. package/lib/_internal/radio/index.d.ts +2 -0
  586. package/lib/_internal/radio/index.js +17 -0
  587. package/lib/_internal/radio/src/interface.d.ts +12 -0
  588. package/{es → lib/_internal}/radio/src/use-radio.d.ts +6 -13
  589. package/lib/{radio → _internal/radio}/src/use-radio.js +15 -19
  590. package/lib/_internal/select-menu/src/SelectMenu.d.ts +180 -211
  591. package/lib/_internal/select-menu/src/SelectMenu.js +3 -2
  592. package/lib/_internal/select-menu/src/interface.d.ts +1 -1
  593. package/lib/_internal/select-menu/src/styles/index.cssr.js +24 -18
  594. package/lib/_internal/select-menu/styles/light.d.ts +17 -23
  595. package/lib/_internal/select-menu/styles/light.js +34 -6
  596. package/lib/_internal/selection/index.d.ts +1 -0
  597. package/lib/_internal/selection/src/Selection.d.ts +583 -183
  598. package/lib/_internal/selection/src/Selection.js +102 -28
  599. package/lib/_internal/selection/src/interface.d.ts +1 -0
  600. package/lib/_internal/selection/src/styles/index.cssr.d.ts +2 -1
  601. package/lib/_internal/selection/src/styles/index.cssr.js +128 -40
  602. package/lib/_internal/selection/styles/dark.js +2 -29
  603. package/lib/_internal/selection/styles/light.d.ts +121 -17
  604. package/lib/_internal/selection/styles/light.js +122 -23
  605. package/lib/_internal/skeleton/src/styles/index.cssr.js +1 -1
  606. package/lib/_internal/skeleton/styles/dark.js +2 -11
  607. package/lib/_internal/skeleton/styles/light.d.ts +1 -2
  608. package/lib/_internal/skeleton/styles/light.js +6 -5
  609. package/lib/_styles/common/_common.d.ts +37 -12
  610. package/lib/_styles/common/_common.js +44 -19
  611. package/lib/_styles/common/dark.js +2 -98
  612. package/lib/_styles/common/light.d.ts +88 -99
  613. package/lib/_styles/common/light.js +1 -103
  614. package/lib/_styles/global/index.cssr.js +4 -5
  615. package/lib/_utils/index.d.ts +3 -0
  616. package/lib/_utils/index.js +5 -1
  617. package/lib/_utils/inject/index.d.ts +2 -0
  618. package/lib/_utils/inject/index.js +11 -0
  619. package/lib/_utils/themes/index.d.ts +1 -0
  620. package/lib/_utils/themes/index.js +5 -0
  621. package/lib/_utils/themes/rewrite-styles.d.ts +1 -0
  622. package/lib/_utils/themes/rewrite-styles.js +10 -0
  623. package/lib/_utils/types/index.d.ts +1 -0
  624. package/lib/_utils/types/index.js +17 -0
  625. package/lib/_utils/types/utility.types.d.ts +10 -0
  626. package/lib/{popconfirm/styles/_common.js → _utils/types/utility.types.js} +0 -3
  627. package/lib/_utils/uzum/prop.d.ts +2 -2
  628. package/lib/_utils/uzum/prop.js +0 -2
  629. package/lib/alert/src/Alert.d.ts +438 -271
  630. package/lib/alert/src/Alert.js +51 -55
  631. package/lib/alert/src/styles/index.cssr.js +92 -48
  632. package/lib/alert/styles/_common.d.ts +7 -6
  633. package/lib/alert/styles/_common.js +11 -8
  634. package/lib/alert/styles/dark.js +2 -18
  635. package/lib/alert/styles/light.d.ts +33 -16
  636. package/lib/alert/styles/light.js +18 -9
  637. package/lib/alert/styles/types.d.ts +4 -0
  638. package/lib/{calendar/styles/_common.js → alert/styles/types.js} +0 -3
  639. package/lib/anchor/src/AnchorAdapter.d.ts +30 -21
  640. package/lib/anchor/src/AnchorAdapter.js +2 -1
  641. package/lib/anchor/src/styles/index.cssr.js +2 -1
  642. package/lib/anchor/styles/light.d.ts +4 -3
  643. package/lib/anchor/styles/light.js +16 -8
  644. package/lib/auto-complete/src/AutoComplete.d.ts +317 -327
  645. package/lib/auto-complete/styles/light.d.ts +22 -22
  646. package/lib/auto-complete/styles/light.js +2 -2
  647. package/lib/avatar/src/Avatar.d.ts +0 -29
  648. package/lib/avatar/src/Avatar.js +4 -7
  649. package/lib/avatar/src/interface.d.ts +1 -1
  650. package/lib/avatar/src/styles/index.cssr.js +1 -3
  651. package/lib/avatar/styles/light.d.ts +0 -3
  652. package/lib/avatar/styles/light.js +7 -11
  653. package/lib/avatar-group/src/AvatarGroup.d.ts +88 -129
  654. package/lib/avatar-group/styles/light.d.ts +0 -3
  655. package/lib/back-top/src/BackTop.d.ts +24 -24
  656. package/lib/back-top/styles/dark.js +2 -8
  657. package/lib/back-top/styles/light.d.ts +5 -5
  658. package/lib/back-top/styles/light.js +18 -7
  659. package/lib/badge/src/Badge.d.ts +0 -10
  660. package/lib/badge/src/Badge.js +1 -2
  661. package/lib/badge/src/styles/index.cssr.js +0 -2
  662. package/lib/badge/styles/dark.js +2 -12
  663. package/lib/badge/styles/light.d.ts +1 -2
  664. package/lib/badge/styles/light.js +10 -9
  665. package/lib/breadcrumb/src/Breadcrumb.d.ts +10 -40
  666. package/lib/breadcrumb/src/Breadcrumb.js +2 -5
  667. package/lib/breadcrumb/src/styles/index.cssr.js +4 -9
  668. package/lib/breadcrumb/styles/light.d.ts +1 -4
  669. package/lib/breadcrumb/styles/light.js +11 -6
  670. package/lib/button/src/Button.d.ts +11 -11
  671. package/lib/button/src/Button.js +4 -4
  672. package/lib/button/src/styles/index.cssr.js +4 -10
  673. package/lib/button/styles/dark.js +1 -8
  674. package/lib/button/styles/light.d.ts +1 -1
  675. package/lib/button/styles/light.js +18 -18
  676. package/lib/calendar/src/Calendar.d.ts +108 -119
  677. package/lib/calendar/styles/light.d.ts +3 -3
  678. package/lib/calendar/styles/light.js +23 -8
  679. package/lib/card/src/Card.d.ts +295 -272
  680. package/lib/card/src/Card.js +13 -16
  681. package/lib/card/src/styles/index.cssr.js +5 -19
  682. package/lib/card/styles/_common.d.ts +0 -6
  683. package/lib/card/styles/_common.js +1 -7
  684. package/lib/card/styles/dark.js +1 -8
  685. package/lib/card/styles/light.d.ts +21 -17
  686. package/lib/card/styles/light.js +2 -5
  687. package/lib/cascader/src/Cascader.d.ts +1195 -555
  688. package/lib/cascader/src/CascaderMenu.d.ts +207 -153
  689. package/lib/cascader/src/CascaderOption.d.ts +207 -153
  690. package/lib/cascader/src/CascaderSelectMenu.d.ts +207 -153
  691. package/lib/cascader/src/CascaderSubmenu.d.ts +207 -153
  692. package/lib/cascader/src/styles/index.cssr.js +3 -3
  693. package/lib/cascader/styles/light.d.ts +109 -44
  694. package/lib/cascader/styles/light.js +12 -12
  695. package/lib/checkbox/index.d.ts +1 -1
  696. package/lib/checkbox/src/Checkbox.d.ts +457 -304
  697. package/lib/checkbox/src/Checkbox.js +41 -175
  698. package/lib/checkbox/src/CheckboxGroup.d.ts +2 -12
  699. package/lib/checkbox/src/CheckboxGroup.js +3 -3
  700. package/lib/checkbox/src/styles/index.cssr.js +112 -189
  701. package/lib/checkbox/styles/_common.d.ts +0 -3
  702. package/lib/checkbox/styles/_common.js +3 -6
  703. package/lib/checkbox/styles/dark.js +1 -7
  704. package/lib/checkbox/styles/light.d.ts +29 -13
  705. package/lib/checkbox/styles/light.js +2 -4
  706. package/lib/code/styles/dark.js +7 -20
  707. package/lib/code/styles/light.d.ts +1 -1
  708. package/lib/code/styles/light.js +7 -5
  709. package/lib/collapse/src/Collapse.d.ts +126 -104
  710. package/lib/collapse/src/Collapse.js +4 -1
  711. package/lib/collapse/src/CollapseItem.d.ts +2 -1
  712. package/lib/collapse/src/CollapseItem.js +12 -11
  713. package/lib/collapse/src/interface.d.ts +1 -0
  714. package/lib/collapse/src/styles/index.cssr.js +7 -2
  715. package/lib/collapse/styles/light.d.ts +3 -0
  716. package/lib/collapse/styles/light.js +12 -9
  717. package/lib/color-picker/src/ColorInputUnit.d.ts +103 -106
  718. package/lib/color-picker/src/ColorPicker.d.ts +138 -63
  719. package/lib/color-picker/src/ColorPicker.js +4 -1
  720. package/lib/color-picker/src/ColorPickerTrigger.js +1 -6
  721. package/lib/color-picker/src/styles/index.cssr.js +13 -1
  722. package/lib/color-picker/styles/light.d.ts +20 -7
  723. package/lib/color-picker/styles/light.js +15 -10
  724. package/lib/components.d.ts +2 -0
  725. package/lib/components.js +2 -0
  726. package/lib/config-provider/src/internal-interface.d.ts +7 -2
  727. package/lib/data-table/src/DataTable.d.ts +1978 -1437
  728. package/lib/data-table/src/DataTable.js +2 -3
  729. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +457 -347
  730. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +462 -352
  731. package/lib/data-table/src/TableParts/Body.d.ts +457 -347
  732. package/lib/data-table/src/TableParts/Body.js +3 -2
  733. package/lib/data-table/src/TableParts/Cell.d.ts +914 -694
  734. package/lib/data-table/src/TableParts/Header.d.ts +457 -347
  735. package/lib/data-table/src/TableParts/Header.js +3 -1
  736. package/lib/data-table/src/interface.d.ts +750 -534
  737. package/lib/data-table/src/styles/index.cssr.js +29 -36
  738. package/lib/data-table/styles/dark.js +1 -6
  739. package/lib/data-table/styles/light.d.ts +254 -183
  740. package/lib/data-table/styles/light.js +58 -13
  741. package/lib/date-picker/src/DatePicker.d.ts +748 -433
  742. package/lib/date-picker/src/DatePicker.js +52 -16
  743. package/lib/date-picker/src/interface.d.ts +2 -2
  744. package/lib/date-picker/src/panel/date.d.ts +166 -138
  745. package/lib/date-picker/src/panel/daterange.d.ts +160 -138
  746. package/lib/date-picker/src/panel/datetime.d.ts +160 -138
  747. package/lib/date-picker/src/panel/datetimerange.d.ts +160 -138
  748. package/lib/date-picker/src/panel/monthrange.d.ts +160 -138
  749. package/lib/date-picker/src/panel/panelMonth.d.ts +320 -276
  750. package/lib/date-picker/src/panel/panelMonth.js +3 -3
  751. package/lib/date-picker/src/panel/panelMonthContent.d.ts +160 -138
  752. package/lib/date-picker/src/panel/panelYear.d.ts +320 -276
  753. package/lib/date-picker/src/panel/panelYear.js +3 -3
  754. package/lib/date-picker/src/panel/panelYearContent.d.ts +160 -138
  755. package/lib/date-picker/src/panel/use-calendar.d.ts +160 -138
  756. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +160 -138
  757. package/lib/date-picker/src/panel/use-panel-common.d.ts +160 -138
  758. package/lib/date-picker/src/styles/index.cssr.js +75 -64
  759. package/lib/date-picker/styles/_common.d.ts +0 -1
  760. package/lib/date-picker/styles/_common.js +0 -1
  761. package/lib/date-picker/styles/dark.js +1 -9
  762. package/lib/date-picker/styles/light.d.ts +97 -44
  763. package/lib/date-picker/styles/light.js +12 -3
  764. package/lib/descriptions/src/Descriptions.d.ts +48 -48
  765. package/lib/descriptions/styles/light.d.ts +12 -12
  766. package/lib/descriptions/styles/light.js +33 -10
  767. package/lib/dialog/src/Dialog.d.ts +166 -159
  768. package/lib/dialog/src/Dialog.js +20 -11
  769. package/lib/dialog/src/DialogEnvironment.d.ts +6 -3
  770. package/lib/dialog/src/DialogEnvironment.js +1 -1
  771. package/lib/dialog/src/DialogProvider.d.ts +181 -202
  772. package/lib/dialog/src/dialogProps.d.ts +3 -2
  773. package/lib/dialog/src/dialogProps.js +2 -1
  774. package/lib/dialog/src/styles/index.cssr.js +7 -5
  775. package/lib/dialog/styles/_common.d.ts +1 -4
  776. package/lib/dialog/styles/_common.js +6 -9
  777. package/lib/dialog/styles/light.d.ts +19 -15
  778. package/lib/dialog/styles/light.js +2 -7
  779. package/lib/divider/src/Divider.d.ts +30 -0
  780. package/lib/divider/src/Divider.js +5 -2
  781. package/lib/divider/src/styles/index.cssr.js +7 -3
  782. package/lib/divider/styles/light.d.ts +3 -0
  783. package/lib/divider/styles/light.js +7 -4
  784. package/lib/drawer/index.d.ts +1 -0
  785. package/lib/drawer/src/Drawer.d.ts +312 -250
  786. package/lib/drawer/src/Drawer.js +67 -31
  787. package/lib/drawer/src/DrawerBodyWrapper.d.ts +107 -119
  788. package/lib/drawer/src/DrawerBodyWrapper.js +6 -30
  789. package/lib/drawer/src/DrawerContent.d.ts +158 -122
  790. package/lib/drawer/src/DrawerContent.js +79 -10
  791. package/lib/drawer/src/interface.d.ts +6 -1
  792. package/lib/drawer/src/styles/index.cssr.js +57 -28
  793. package/lib/drawer/styles/_common.d.ts +11 -0
  794. package/lib/drawer/styles/_common.js +12 -0
  795. package/lib/drawer/styles/light.d.ts +38 -24
  796. package/lib/drawer/styles/light.js +6 -24
  797. package/lib/dropdown/src/Dropdown.d.ts +322 -333
  798. package/lib/dropdown/styles/dark.js +1 -10
  799. package/lib/dropdown/styles/light.d.ts +34 -34
  800. package/lib/dropdown/styles/light.js +57 -12
  801. package/lib/dynamic-input/src/DynamicInput.d.ts +189 -170
  802. package/lib/dynamic-input/src/InputPreset.d.ts +98 -106
  803. package/lib/dynamic-input/src/PairPreset.d.ts +98 -106
  804. package/lib/dynamic-input/styles/light.d.ts +10 -7
  805. package/lib/dynamic-tags/src/DynamicTags.d.ts +375 -325
  806. package/lib/dynamic-tags/src/DynamicTags.js +8 -3
  807. package/lib/dynamic-tags/styles/light.d.ts +28 -22
  808. package/lib/ellipsis/src/Ellipsis.d.ts +184 -195
  809. package/lib/ellipsis/src/PerformantEllipsis.d.ts +54 -54
  810. package/lib/ellipsis/styles/light.d.ts +9 -9
  811. package/lib/empty/src/Empty.d.ts +24 -24
  812. package/lib/empty/styles/light.d.ts +4 -4
  813. package/lib/empty/styles/light.js +14 -9
  814. package/lib/form/src/Form.d.ts +117 -99
  815. package/lib/form/src/FormItem.d.ts +119 -102
  816. package/lib/form/src/FormItem.js +3 -4
  817. package/lib/form/src/FormItemCol.d.ts +117 -99
  818. package/lib/form/src/FormItemGridItem.d.ts +117 -99
  819. package/lib/form/src/FormItemRow.d.ts +117 -99
  820. package/lib/form/src/styles/form-item.cssr.js +14 -17
  821. package/lib/form/styles/light.d.ts +17 -15
  822. package/lib/form/styles/light.js +35 -6
  823. package/lib/global-style/src/GlobalStyle.js +5 -5
  824. package/lib/gradient-text/src/styles/index.cssr.js +1 -0
  825. package/lib/gradient-text/styles/dark.js +2 -17
  826. package/lib/gradient-text/styles/light.d.ts +1 -1
  827. package/lib/gradient-text/styles/light.js +15 -13
  828. package/lib/icon/styles/light.js +7 -7
  829. package/lib/icon-wrapper/styles/light.js +3 -3
  830. package/lib/image/src/Image.d.ts +90 -81
  831. package/lib/image/src/ImageGroup.d.ts +90 -81
  832. package/lib/image/src/ImagePreview.d.ts +61 -54
  833. package/lib/image/src/ImagePreview.js +3 -2
  834. package/lib/image/src/interface.d.ts +30 -27
  835. package/lib/image/src/styles/index.cssr.js +1 -1
  836. package/lib/image/styles/dark.js +2 -9
  837. package/lib/image/styles/light.d.ts +13 -11
  838. package/lib/image/styles/light.js +10 -7
  839. package/lib/input/index.d.ts +1 -1
  840. package/lib/input/src/Input.d.ts +166 -147
  841. package/lib/input/src/Input.js +7 -4
  842. package/lib/input/src/InputGroupLabel.d.ts +68 -41
  843. package/lib/input/src/interface.d.ts +1 -1
  844. package/lib/input/src/styles/input.cssr.js +5 -11
  845. package/lib/input/styles/dark.js +2 -23
  846. package/lib/input/styles/light.d.ts +10 -7
  847. package/lib/input/styles/light.js +72 -18
  848. package/lib/input-number/src/InputNumber.d.ts +204 -208
  849. package/lib/input-number/src/InputNumber.js +3 -11
  850. package/lib/input-number/src/interface.d.ts +0 -1
  851. package/lib/input-number/styles/dark.js +2 -6
  852. package/lib/input-number/styles/light.d.ts +12 -13
  853. package/lib/input-number/styles/light.js +4 -5
  854. package/lib/layout/src/Layout.d.ts +204 -198
  855. package/lib/layout/src/LayoutContent.d.ts +102 -99
  856. package/lib/layout/src/LayoutFooter.d.ts +18 -0
  857. package/lib/layout/src/LayoutHeader.d.ts +12 -0
  858. package/lib/layout/src/LayoutSider.d.ts +102 -99
  859. package/lib/layout/src/LayoutSider.js +5 -3
  860. package/lib/layout/src/ToggleButton.d.ts +2 -2
  861. package/lib/layout/styles/dark.js +2 -29
  862. package/lib/layout/styles/light.d.ts +4 -0
  863. package/lib/layout/styles/light.js +25 -24
  864. package/lib/legacy-transfer/src/Transfer.d.ts +538 -359
  865. package/lib/legacy-transfer/src/TransferFilter.d.ts +133 -125
  866. package/lib/legacy-transfer/src/TransferList.d.ts +133 -125
  867. package/lib/legacy-transfer/src/TransferListItem.d.ts +133 -125
  868. package/lib/legacy-transfer/styles/dark.js +2 -12
  869. package/lib/legacy-transfer/styles/light.d.ts +48 -29
  870. package/lib/legacy-transfer/styles/light.js +27 -12
  871. package/lib/list/index.d.ts +3 -2
  872. package/lib/list/index.js +2 -1
  873. package/lib/list/src/List.d.ts +218 -83
  874. package/lib/list/src/List.js +38 -24
  875. package/lib/list/src/ListItem.d.ts +122 -3
  876. package/lib/list/src/ListItem.js +183 -11
  877. package/lib/list/src/interface.d.ts +35 -0
  878. package/lib/list/src/interface.js +2 -0
  879. package/lib/list/src/props.d.ts +228 -0
  880. package/lib/list/src/props.js +62 -0
  881. package/lib/list/src/styles/index.cssr.js +141 -47
  882. package/lib/list/styles/light.d.ts +15 -0
  883. package/lib/list/styles/light.js +27 -13
  884. package/lib/loading-bar/styles/dark.js +2 -8
  885. package/lib/loading-bar/styles/light.d.ts +1 -1
  886. package/lib/loading-bar/styles/light.js +6 -4
  887. package/lib/log/src/Log.d.ts +88 -99
  888. package/lib/log/styles/dark.js +2 -10
  889. package/lib/log/styles/light.d.ts +1 -1
  890. package/lib/log/styles/light.js +9 -7
  891. package/lib/mention/src/Mention.d.ts +314 -325
  892. package/lib/mention/styles/dark.js +2 -6
  893. package/lib/mention/styles/light.d.ts +23 -23
  894. package/lib/mention/styles/light.js +5 -3
  895. package/lib/menu/src/Menu.d.ts +490 -501
  896. package/lib/menu/src/MenuOption.d.ts +138 -149
  897. package/lib/menu/src/Submenu.d.ts +138 -149
  898. package/lib/menu/styles/dark.js +1 -14
  899. package/lib/menu/styles/light.d.ts +38 -38
  900. package/lib/menu/styles/light.js +2 -4
  901. package/lib/message/src/Message.d.ts +3 -7
  902. package/lib/message/src/Message.js +8 -22
  903. package/lib/message/src/MessageProvider.d.ts +195 -258
  904. package/lib/message/src/MessageProvider.js +1 -1
  905. package/lib/message/src/styles/index.cssr.js +10 -10
  906. package/lib/message/styles/_common.d.ts +0 -5
  907. package/lib/message/styles/_common.js +3 -8
  908. package/lib/message/styles/light.d.ts +23 -30
  909. package/lib/message/styles/light.js +14 -7
  910. package/lib/message/styles/types.d.ts +4 -0
  911. package/lib/message/styles/types.js +2 -0
  912. package/lib/modal/src/BodyWrapper.d.ts +140 -173
  913. package/lib/modal/src/BodyWrapper.js +7 -13
  914. package/lib/modal/src/Modal.d.ts +340 -303
  915. package/lib/modal/src/Modal.js +7 -5
  916. package/lib/modal/src/presetProps.d.ts +20 -32
  917. package/lib/modal/src/presetProps.js +4 -2
  918. package/lib/modal/src/styles/index.cssr.js +2 -3
  919. package/lib/modal/styles/light.d.ts +39 -27
  920. package/lib/modal/styles/light.js +7 -4
  921. package/lib/notification/src/Notification.d.ts +15 -7
  922. package/lib/notification/src/Notification.js +13 -15
  923. package/lib/notification/src/NotificationContainer.d.ts +159 -115
  924. package/lib/notification/src/NotificationEnvironment.d.ts +8 -7
  925. package/lib/notification/src/NotificationProvider.d.ts +644 -146
  926. package/lib/notification/src/NotificationProvider.js +2 -1
  927. package/lib/notification/src/styles/index.cssr.js +20 -25
  928. package/lib/notification/styles/_common.d.ts +1 -6
  929. package/lib/notification/styles/_common.js +2 -7
  930. package/lib/notification/styles/light.d.ts +142 -32
  931. package/lib/notification/styles/light.js +14 -7
  932. package/lib/page-header/src/PageHeader.d.ts +18 -18
  933. package/lib/page-header/styles/light.d.ts +4 -4
  934. package/lib/page-header/styles/light.js +12 -6
  935. package/lib/pagination/src/Pagination.d.ts +1564 -1039
  936. package/lib/pagination/src/Pagination.js +1 -2
  937. package/lib/pagination/src/styles/index.cssr.js +2 -4
  938. package/lib/pagination/styles/dark.js +1 -11
  939. package/lib/pagination/styles/light.d.ts +140 -91
  940. package/lib/pagination/styles/light.js +73 -10
  941. package/lib/popconfirm/src/Popconfirm.d.ts +172 -183
  942. package/lib/popconfirm/styles/light.d.ts +9 -9
  943. package/lib/popconfirm/styles/light.js +6 -6
  944. package/lib/popover/src/Popover.d.ts +35 -35
  945. package/lib/popover/src/Popover.js +2 -4
  946. package/lib/popover/src/PopoverBody.d.ts +30 -30
  947. package/lib/popover/src/PopoverBody.js +1 -6
  948. package/lib/popover/styles/light.d.ts +6 -6
  949. package/lib/popover/styles/light.js +15 -7
  950. package/lib/popselect/src/Popselect.d.ts +286 -327
  951. package/lib/popselect/src/PopselectPanel.d.ts +112 -126
  952. package/lib/popselect/src/interface.d.ts +1 -1
  953. package/lib/popselect/styles/light.d.ts +19 -22
  954. package/lib/popselect/styles/light.js +2 -2
  955. package/lib/progress/styles/dark.js +1 -7
  956. package/lib/progress/styles/light.js +18 -18
  957. package/lib/radio/src/Radio.d.ts +129 -50
  958. package/lib/radio/src/Radio.js +16 -5
  959. package/lib/radio/src/RadioButton.d.ts +5 -2
  960. package/lib/radio/src/RadioButton.js +4 -4
  961. package/lib/radio/src/RadioGroup.d.ts +121 -49
  962. package/lib/radio/src/RadioGroup.js +2 -2
  963. package/lib/radio/src/styles/radio-group.cssr.js +7 -7
  964. package/lib/radio/src/styles/radio.cssr.js +19 -25
  965. package/lib/radio/src/styles/rtl.cssr.js +2 -2
  966. package/lib/radio/styles/dark.js +2 -11
  967. package/lib/radio/styles/light.d.ts +15 -7
  968. package/lib/radio/styles/light.js +56 -9
  969. package/lib/rate/styles/dark.js +2 -11
  970. package/lib/rate/styles/light.d.ts +1 -1
  971. package/lib/rate/styles/light.js +6 -4
  972. package/lib/result/src/Result.d.ts +36 -36
  973. package/lib/result/styles/light.d.ts +8 -8
  974. package/lib/result/styles/light.js +27 -6
  975. package/lib/select/src/Select.d.ts +877 -385
  976. package/lib/select/src/Select.js +2 -2
  977. package/lib/select/src/interface.d.ts +0 -1
  978. package/lib/select/styles/light.d.ts +76 -27
  979. package/lib/select/styles/light.js +2 -2
  980. package/lib/skeleton/src/styles/index.cssr.js +1 -1
  981. package/lib/skeleton/styles/dark.js +2 -11
  982. package/lib/skeleton/styles/light.d.ts +1 -2
  983. package/lib/skeleton/styles/light.js +6 -5
  984. package/lib/slider/src/Slider.d.ts +30 -30
  985. package/lib/slider/styles/dark.js +2 -9
  986. package/lib/slider/styles/light.d.ts +7 -7
  987. package/lib/slider/styles/light.js +34 -9
  988. package/lib/spin/styles/light.js +9 -15
  989. package/lib/statistic/styles/light.js +7 -7
  990. package/lib/status/index.d.ts +2 -0
  991. package/lib/status/index.js +9 -0
  992. package/lib/status/src/Status.d.ts +139 -0
  993. package/lib/status/src/Status.js +87 -0
  994. package/lib/status/src/styles/index.cssr.d.ts +2 -0
  995. package/lib/status/src/styles/index.cssr.js +29 -0
  996. package/lib/status/styles/dark.d.ts +3 -0
  997. package/lib/status/styles/dark.js +10 -0
  998. package/lib/status/styles/index.d.ts +3 -0
  999. package/lib/status/styles/index.js +10 -0
  1000. package/lib/status/styles/light.d.ts +17 -0
  1001. package/lib/status/styles/light.js +25 -0
  1002. package/lib/steps/src/Step.d.ts +7 -1
  1003. package/lib/steps/src/Step.js +31 -22
  1004. package/lib/steps/src/Steps.d.ts +36 -36
  1005. package/lib/steps/src/styles/index.cssr.js +18 -3
  1006. package/lib/steps/styles/light.d.ts +8 -8
  1007. package/lib/steps/styles/light.js +36 -6
  1008. package/lib/styles.d.ts +2 -0
  1009. package/lib/styles.js +51 -46
  1010. package/lib/switch/src/Switch.d.ts +67 -67
  1011. package/lib/switch/styles/dark.js +2 -10
  1012. package/lib/switch/styles/light.d.ts +16 -16
  1013. package/lib/switch/styles/light.js +50 -8
  1014. package/lib/table/src/Table.d.ts +30 -30
  1015. package/lib/table/styles/light.d.ts +6 -6
  1016. package/lib/table/styles/light.js +29 -11
  1017. package/lib/tabs/src/Tab.js +4 -1
  1018. package/lib/tabs/src/Tabs.d.ts +160 -141
  1019. package/lib/tabs/src/Tabs.js +3 -2
  1020. package/lib/tabs/src/styles/index.cssr.js +17 -12
  1021. package/lib/tabs/styles/dark.js +1 -7
  1022. package/lib/tabs/styles/light.d.ts +35 -33
  1023. package/lib/tabs/styles/light.js +94 -10
  1024. package/lib/tag/src/Tag.d.ts +115 -87
  1025. package/lib/tag/src/Tag.js +2 -1
  1026. package/lib/tag/src/styles/index.cssr.js +1 -1
  1027. package/lib/tag/styles/dark.js +2 -32
  1028. package/lib/tag/styles/light.d.ts +19 -16
  1029. package/lib/tag/styles/light.js +115 -23
  1030. package/lib/theme-editor/src/ThemeEditor.d.ts +88 -99
  1031. package/lib/theme-editor/src/ThemeEditor.js +35 -2
  1032. package/lib/themes/dark.js +34 -30
  1033. package/lib/themes/light.js +34 -30
  1034. package/lib/thing/styles/light.js +4 -4
  1035. package/lib/time-picker/src/Panel.d.ts +104 -111
  1036. package/lib/time-picker/src/Panel.js +2 -2
  1037. package/lib/time-picker/src/TimePicker.d.ts +244 -214
  1038. package/lib/time-picker/src/TimePicker.js +2 -1
  1039. package/lib/time-picker/src/interface.d.ts +2 -1
  1040. package/lib/time-picker/src/styles/index.cssr.js +1 -0
  1041. package/lib/time-picker/styles/light.d.ts +19 -14
  1042. package/lib/time-picker/styles/light.js +19 -8
  1043. package/lib/timeline/src/Timeline.d.ts +30 -30
  1044. package/lib/timeline/styles/dark.js +2 -8
  1045. package/lib/timeline/styles/light.d.ts +7 -7
  1046. package/lib/timeline/styles/light.js +28 -7
  1047. package/lib/toggle-button/index.d.ts +2 -0
  1048. package/lib/toggle-button/index.js +9 -0
  1049. package/lib/toggle-button/src/ToggleButton.d.ts +551 -0
  1050. package/lib/toggle-button/src/ToggleButton.js +134 -0
  1051. package/lib/toggle-button/src/styles/toggle-button.cssr.d.ts +2 -0
  1052. package/lib/toggle-button/src/styles/toggle-button.cssr.js +78 -0
  1053. package/lib/toggle-button/styles/_common.d.ts +7 -0
  1054. package/lib/toggle-button/styles/_common.js +8 -0
  1055. package/lib/toggle-button/styles/dark.d.ts +3 -0
  1056. package/lib/toggle-button/styles/dark.js +10 -0
  1057. package/lib/toggle-button/styles/index.d.ts +3 -0
  1058. package/lib/toggle-button/styles/index.js +10 -0
  1059. package/lib/toggle-button/styles/light.d.ts +47 -0
  1060. package/lib/toggle-button/styles/light.js +25 -0
  1061. package/lib/tooltip/src/Tooltip.d.ts +185 -196
  1062. package/lib/tooltip/styles/dark.js +2 -8
  1063. package/lib/tooltip/styles/light.d.ts +13 -13
  1064. package/lib/tooltip/styles/light.js +21 -7
  1065. package/lib/transfer/src/Transfer.d.ts +632 -453
  1066. package/lib/transfer/src/TransferFilter.d.ts +142 -134
  1067. package/lib/transfer/src/TransferList.d.ts +142 -134
  1068. package/lib/transfer/src/TransferListItem.d.ts +142 -134
  1069. package/lib/transfer/src/styles/index.cssr.js +2 -0
  1070. package/lib/transfer/styles/dark.js +2 -16
  1071. package/lib/transfer/styles/light.d.ts +58 -39
  1072. package/lib/transfer/styles/light.js +41 -15
  1073. package/lib/tree/src/Tree.d.ts +418 -269
  1074. package/lib/tree/src/TreeNodeCheckbox.d.ts +121 -116
  1075. package/lib/tree/src/styles/index.cssr.js +5 -1
  1076. package/lib/tree/styles/dark.js +1 -7
  1077. package/lib/tree/styles/light.d.ts +33 -17
  1078. package/lib/tree/styles/light.js +14 -15
  1079. package/lib/tree-select/src/TreeSelect.d.ts +1145 -459
  1080. package/lib/tree-select/styles/light.d.ts +100 -32
  1081. package/lib/tree-select/styles/light.js +6 -6
  1082. package/lib/typography/src/a.d.ts +56 -56
  1083. package/lib/typography/src/blockquote.d.ts +61 -61
  1084. package/lib/typography/src/create-header.d.ts +74 -74
  1085. package/lib/typography/src/headers.d.ts +300 -300
  1086. package/lib/typography/src/hr.d.ts +47 -47
  1087. package/lib/typography/src/ol.d.ts +63 -63
  1088. package/lib/typography/src/p.d.ts +61 -61
  1089. package/lib/typography/src/text.d.ts +89 -89
  1090. package/lib/typography/src/ul.d.ts +63 -63
  1091. package/lib/typography/styles/light.d.ts +28 -28
  1092. package/lib/typography/styles/light.js +67 -6
  1093. package/lib/upload/src/Upload.d.ts +111 -149
  1094. package/lib/upload/src/UploadFile.d.ts +89 -100
  1095. package/lib/upload/src/UploadProgress.d.ts +89 -100
  1096. package/lib/upload/src/styles/index.cssr.js +5 -4
  1097. package/lib/upload/styles/dark.js +1 -9
  1098. package/lib/upload/styles/light.d.ts +1 -1
  1099. package/lib/upload/styles/light.js +22 -22
  1100. package/lib/version.d.ts +1 -1
  1101. package/lib/version.js +1 -1
  1102. package/package.json +87 -85
  1103. package/volar.d.ts +5 -3
  1104. package/web-types.json +653 -199
  1105. package/es/_internal/select-menu/styles/_common.d.ts +0 -13
  1106. package/es/_internal/select-menu/styles/_common.js +0 -12
  1107. package/es/_internal/selection/styles/_common.d.ts +0 -7
  1108. package/es/_internal/selection/styles/_common.js +0 -6
  1109. package/es/anchor/styles/_common.d.ts +0 -6
  1110. package/es/anchor/styles/_common.js +0 -5
  1111. package/es/back-top/styles/_common.d.ts +0 -7
  1112. package/es/back-top/styles/_common.js +0 -6
  1113. package/es/breadcrumb/styles/_common.d.ts +0 -4
  1114. package/es/breadcrumb/styles/_common.js +0 -3
  1115. package/es/calendar/styles/_common.d.ts +0 -4
  1116. package/es/calendar/styles/_common.js +0 -3
  1117. package/es/data-table/styles/_common.d.ts +0 -23
  1118. package/es/data-table/styles/_common.js +0 -22
  1119. package/es/descriptions/styles/_common.d.ts +0 -15
  1120. package/es/descriptions/styles/_common.js +0 -14
  1121. package/es/dropdown/styles/_common.d.ts +0 -24
  1122. package/es/dropdown/styles/_common.js +0 -23
  1123. package/es/empty/styles/_common.d.ts +0 -7
  1124. package/es/empty/styles/_common.js +0 -6
  1125. package/es/form/styles/_common.d.ts +0 -24
  1126. package/es/form/styles/_common.js +0 -23
  1127. package/es/input/styles/_common.d.ts +0 -8
  1128. package/es/input/styles/_common.js +0 -7
  1129. package/es/legacy-transfer/styles/_common.d.ts +0 -5
  1130. package/es/legacy-transfer/styles/_common.js +0 -4
  1131. package/es/page-header/styles/_common.d.ts +0 -5
  1132. package/es/page-header/styles/_common.js +0 -4
  1133. package/es/pagination/styles/_common.d.ts +0 -36
  1134. package/es/pagination/styles/_common.js +0 -35
  1135. package/es/popconfirm/styles/_common.d.ts +0 -4
  1136. package/es/popconfirm/styles/_common.js +0 -3
  1137. package/es/popover/styles/_common.d.ts +0 -9
  1138. package/es/popover/styles/_common.js +0 -8
  1139. package/es/radio/src/interface.d.ts +0 -2
  1140. package/es/radio/styles/_common.d.ts +0 -8
  1141. package/es/radio/styles/_common.js +0 -7
  1142. package/es/result/styles/_common.d.ts +0 -19
  1143. package/es/result/styles/_common.js +0 -18
  1144. package/es/slider/styles/_common.d.ts +0 -9
  1145. package/es/slider/styles/_common.js +0 -8
  1146. package/es/steps/styles/_common.d.ts +0 -11
  1147. package/es/steps/styles/_common.js +0 -10
  1148. package/es/switch/styles/_common.d.ts +0 -18
  1149. package/es/switch/styles/_common.js +0 -17
  1150. package/es/table/styles/_common.d.ts +0 -9
  1151. package/es/table/styles/_common.js +0 -8
  1152. package/es/tabs/styles/_common.d.ts +0 -59
  1153. package/es/tabs/styles/_common.js +0 -58
  1154. package/es/tag/styles/_common.d.ts +0 -15
  1155. package/es/tag/styles/_common.js +0 -14
  1156. package/es/time-picker/styles/_common.d.ts +0 -7
  1157. package/es/time-picker/styles/_common.js +0 -6
  1158. package/es/timeline/styles/_common.d.ts +0 -9
  1159. package/es/timeline/styles/_common.js +0 -8
  1160. package/es/tooltip/styles/_common.d.ts +0 -15
  1161. package/es/tooltip/styles/_common.js +0 -14
  1162. package/es/transfer/styles/_common.d.ts +0 -14
  1163. package/es/transfer/styles/_common.js +0 -13
  1164. package/es/typography/styles/_common.d.ts +0 -31
  1165. package/es/typography/styles/_common.js +0 -30
  1166. package/lib/_internal/select-menu/styles/_common.d.ts +0 -13
  1167. package/lib/_internal/select-menu/styles/_common.js +0 -14
  1168. package/lib/_internal/selection/styles/_common.d.ts +0 -7
  1169. package/lib/_internal/selection/styles/_common.js +0 -8
  1170. package/lib/anchor/styles/_common.d.ts +0 -6
  1171. package/lib/anchor/styles/_common.js +0 -7
  1172. package/lib/back-top/styles/_common.d.ts +0 -7
  1173. package/lib/back-top/styles/_common.js +0 -8
  1174. package/lib/breadcrumb/styles/_common.d.ts +0 -4
  1175. package/lib/breadcrumb/styles/_common.js +0 -5
  1176. package/lib/calendar/styles/_common.d.ts +0 -4
  1177. package/lib/data-table/styles/_common.d.ts +0 -23
  1178. package/lib/data-table/styles/_common.js +0 -24
  1179. package/lib/descriptions/styles/_common.d.ts +0 -15
  1180. package/lib/descriptions/styles/_common.js +0 -16
  1181. package/lib/dropdown/styles/_common.d.ts +0 -24
  1182. package/lib/dropdown/styles/_common.js +0 -25
  1183. package/lib/empty/styles/_common.d.ts +0 -7
  1184. package/lib/empty/styles/_common.js +0 -8
  1185. package/lib/form/styles/_common.d.ts +0 -24
  1186. package/lib/form/styles/_common.js +0 -25
  1187. package/lib/input/styles/_common.d.ts +0 -8
  1188. package/lib/input/styles/_common.js +0 -9
  1189. package/lib/legacy-transfer/styles/_common.d.ts +0 -5
  1190. package/lib/legacy-transfer/styles/_common.js +0 -6
  1191. package/lib/page-header/styles/_common.d.ts +0 -5
  1192. package/lib/page-header/styles/_common.js +0 -6
  1193. package/lib/pagination/styles/_common.d.ts +0 -36
  1194. package/lib/pagination/styles/_common.js +0 -37
  1195. package/lib/popconfirm/styles/_common.d.ts +0 -4
  1196. package/lib/popover/styles/_common.d.ts +0 -9
  1197. package/lib/popover/styles/_common.js +0 -10
  1198. package/lib/radio/src/interface.d.ts +0 -2
  1199. package/lib/radio/styles/_common.d.ts +0 -8
  1200. package/lib/radio/styles/_common.js +0 -9
  1201. package/lib/result/styles/_common.d.ts +0 -19
  1202. package/lib/result/styles/_common.js +0 -20
  1203. package/lib/slider/styles/_common.d.ts +0 -9
  1204. package/lib/slider/styles/_common.js +0 -10
  1205. package/lib/steps/styles/_common.d.ts +0 -11
  1206. package/lib/steps/styles/_common.js +0 -12
  1207. package/lib/switch/styles/_common.d.ts +0 -18
  1208. package/lib/switch/styles/_common.js +0 -19
  1209. package/lib/table/styles/_common.d.ts +0 -9
  1210. package/lib/table/styles/_common.js +0 -10
  1211. package/lib/tabs/styles/_common.d.ts +0 -59
  1212. package/lib/tabs/styles/_common.js +0 -60
  1213. package/lib/tag/styles/_common.d.ts +0 -15
  1214. package/lib/tag/styles/_common.js +0 -16
  1215. package/lib/time-picker/styles/_common.d.ts +0 -7
  1216. package/lib/time-picker/styles/_common.js +0 -8
  1217. package/lib/timeline/styles/_common.d.ts +0 -9
  1218. package/lib/timeline/styles/_common.js +0 -10
  1219. package/lib/tooltip/styles/_common.d.ts +0 -15
  1220. package/lib/tooltip/styles/_common.js +0 -16
  1221. package/lib/transfer/styles/_common.d.ts +0 -14
  1222. package/lib/transfer/styles/_common.js +0 -15
  1223. package/lib/typography/styles/_common.d.ts +0 -31
  1224. package/lib/typography/styles/_common.js +0 -32
  1225. /package/es/{checkbox → _internal/checkbox}/src/interface.d.ts +0 -0
  1226. /package/es/{checkbox → _internal/checkbox}/src/interface.js +0 -0
  1227. /package/es/{radio → _internal/radio}/src/interface.js +0 -0
  1228. /package/lib/{checkbox → _internal/checkbox}/src/interface.d.ts +0 -0
  1229. /package/lib/{checkbox → _internal/checkbox}/src/interface.js +0 -0
  1230. /package/lib/{radio → _internal/radio}/src/interface.js +0 -0
@@ -0,0 +1,2 @@
1
+ export { checkboxGroupInjectionKey, checkboxBaseProps, useCheckbox, type CheckboxBaseProps, type UseCheckbox } from './src/use-checkbox';
2
+ export type { OnUpdateChecked, OnUpdateCheckedImpl, CheckboxInst } from './src/interface';
@@ -0,0 +1 @@
1
+ export { checkboxGroupInjectionKey, checkboxBaseProps, useCheckbox } from './src/use-checkbox';
@@ -0,0 +1,53 @@
1
+ import { ComputedRef, ExtractPropTypes, PropType, Ref } from 'vue';
2
+ import { MaybeArray } from '../../../_utils';
3
+ import { OnUpdateChecked } from './interface';
4
+ export interface CheckboxGroupInjection {
5
+ checkedCountRef: ComputedRef<number>;
6
+ maxRef: Ref<number | undefined>;
7
+ minRef: Ref<number | undefined>;
8
+ disabledRef: Ref<boolean>;
9
+ valueSetRef: Ref<Set<string | number>>;
10
+ mergedSizeRef: Ref<'small' | 'medium' | 'large'>;
11
+ toggleCheckbox: (checked: boolean, checkboxValue: string | number) => void;
12
+ }
13
+ export declare const checkboxGroupInjectionKey: import("vue").InjectionKey<CheckboxGroupInjection>;
14
+ export declare const checkboxBaseProps: {
15
+ size: PropType<"small" | "medium" | "large">;
16
+ checked: {
17
+ type: PropType<string | number | boolean | undefined>;
18
+ default: undefined;
19
+ };
20
+ defaultChecked: {
21
+ type: PropType<string | number | boolean>;
22
+ default: boolean;
23
+ };
24
+ value: PropType<string | number>;
25
+ disabled: {
26
+ type: PropType<boolean | undefined>;
27
+ default: undefined;
28
+ };
29
+ checkedValue: {
30
+ type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
31
+ default: boolean;
32
+ };
33
+ uncheckedValue: {
34
+ type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
35
+ default: boolean;
36
+ };
37
+ 'onUpdate:checked': PropType<MaybeArray<OnUpdateChecked>>;
38
+ onUpdateChecked: PropType<MaybeArray<OnUpdateChecked>>;
39
+ onChange: PropType<MaybeArray<OnUpdateChecked>>;
40
+ };
41
+ export type CheckboxBaseProps = ExtractPropTypes<typeof checkboxBaseProps>;
42
+ export interface UseCheckbox {
43
+ selfRef: Ref<HTMLDivElement | null>;
44
+ mergedSize: ComputedRef<'small' | 'medium' | 'large'>;
45
+ mergedDisabled: Ref<boolean>;
46
+ renderedChecked: ComputedRef<boolean>;
47
+ handleClick: (e: MouseEvent) => void;
48
+ handleKeyUp: (e: KeyboardEvent) => void;
49
+ handleKeyDown: (e: KeyboardEvent) => void;
50
+ focus: () => void;
51
+ blur: () => void;
52
+ }
53
+ export declare const useCheckbox: (props: CheckboxBaseProps) => UseCheckbox;
@@ -0,0 +1,159 @@
1
+ import { inject, ref, toRef } from 'vue';
2
+ import { call, createInjectionKey } from '../../../_utils';
3
+ import { useFormItem } from '../../../_mixins';
4
+ import { useMemo, useMergedState } from 'vooks';
5
+ export const checkboxGroupInjectionKey = createInjectionKey('u-checkbox-group');
6
+ export const checkboxBaseProps = {
7
+ size: String,
8
+ checked: {
9
+ type: [Boolean, String, Number],
10
+ default: undefined
11
+ },
12
+ defaultChecked: {
13
+ type: [Boolean, String, Number],
14
+ default: false
15
+ },
16
+ value: [String, Number],
17
+ disabled: {
18
+ type: Boolean,
19
+ default: undefined
20
+ },
21
+ checkedValue: {
22
+ type: [Boolean, String, Number],
23
+ default: true
24
+ },
25
+ uncheckedValue: {
26
+ type: [Boolean, String, Number],
27
+ default: false
28
+ },
29
+ 'onUpdate:checked': [Function, Array],
30
+ onUpdateChecked: [Function, Array],
31
+ // deprecated
32
+ onChange: [Function, Array]
33
+ };
34
+ export const useCheckbox = (props) => {
35
+ const selfRef = ref(null);
36
+ const formItem = useFormItem(props, {
37
+ mergedSize(UFormItem) {
38
+ const { size } = props;
39
+ if (size !== undefined)
40
+ return size;
41
+ if (UCheckboxGroup) {
42
+ const { value: mergedSize } = UCheckboxGroup.mergedSizeRef;
43
+ if (mergedSize !== undefined) {
44
+ return mergedSize;
45
+ }
46
+ }
47
+ if (UFormItem) {
48
+ const { mergedSize } = UFormItem;
49
+ if (mergedSize !== undefined)
50
+ return mergedSize.value;
51
+ }
52
+ return 'medium';
53
+ },
54
+ mergedDisabled(UFormItem) {
55
+ const { disabled } = props;
56
+ if (disabled !== undefined)
57
+ return disabled;
58
+ if (UCheckboxGroup) {
59
+ if (UCheckboxGroup.disabledRef.value)
60
+ return true;
61
+ const { maxRef: { value: max }, checkedCountRef } = UCheckboxGroup;
62
+ if (max !== undefined &&
63
+ checkedCountRef.value >= max &&
64
+ !renderedCheckedRef.value) {
65
+ return true;
66
+ }
67
+ const { minRef: { value: min } } = UCheckboxGroup;
68
+ if (min !== undefined &&
69
+ checkedCountRef.value <= min &&
70
+ renderedCheckedRef.value) {
71
+ return true;
72
+ }
73
+ }
74
+ if (UFormItem) {
75
+ return UFormItem.disabled.value;
76
+ }
77
+ return false;
78
+ }
79
+ });
80
+ const { mergedDisabledRef, mergedSizeRef } = formItem;
81
+ const UCheckboxGroup = inject(checkboxGroupInjectionKey, null);
82
+ const uncontrolledCheckedRef = ref(props.defaultChecked);
83
+ const controlledCheckedRef = toRef(props, 'checked');
84
+ const mergedCheckedRef = useMergedState(controlledCheckedRef, uncontrolledCheckedRef);
85
+ const renderedCheckedRef = useMemo(() => {
86
+ if (UCheckboxGroup) {
87
+ const groupValueSet = UCheckboxGroup.valueSetRef.value;
88
+ if (groupValueSet && props.value !== undefined) {
89
+ return groupValueSet.has(props.value);
90
+ }
91
+ return false;
92
+ }
93
+ else {
94
+ return mergedCheckedRef.value === props.checkedValue;
95
+ }
96
+ });
97
+ function toggle(e) {
98
+ if (UCheckboxGroup && props.value !== undefined) {
99
+ UCheckboxGroup.toggleCheckbox(!renderedCheckedRef.value, props.value);
100
+ }
101
+ else {
102
+ const { onChange, 'onUpdate:checked': _onUpdateCheck, onUpdateChecked } = props;
103
+ const { nTriggerFormInput, nTriggerFormChange } = formItem;
104
+ const nextChecked = renderedCheckedRef.value
105
+ ? props.uncheckedValue
106
+ : props.checkedValue;
107
+ if (_onUpdateCheck) {
108
+ call(_onUpdateCheck, nextChecked, e);
109
+ }
110
+ if (onUpdateChecked) {
111
+ call(onUpdateChecked, nextChecked, e);
112
+ }
113
+ if (onChange)
114
+ call(onChange, nextChecked, e); // deprecated
115
+ nTriggerFormInput();
116
+ nTriggerFormChange();
117
+ uncontrolledCheckedRef.value = nextChecked;
118
+ }
119
+ }
120
+ function handleClick(e) {
121
+ if (!mergedDisabledRef.value) {
122
+ toggle(e);
123
+ }
124
+ }
125
+ function handleKeyUp(e) {
126
+ if (mergedDisabledRef.value)
127
+ return;
128
+ switch (e.key) {
129
+ case ' ':
130
+ case 'Enter':
131
+ toggle(e);
132
+ }
133
+ }
134
+ function handleKeyDown(e) {
135
+ switch (e.key) {
136
+ case ' ':
137
+ e.preventDefault();
138
+ }
139
+ }
140
+ const exposedMethods = {
141
+ focus: () => {
142
+ var _a;
143
+ (_a = selfRef.value) === null || _a === void 0 ? void 0 : _a.focus();
144
+ },
145
+ blur: () => {
146
+ var _a;
147
+ (_a = selfRef.value) === null || _a === void 0 ? void 0 : _a.blur();
148
+ }
149
+ };
150
+ return Object.assign(formItem, exposedMethods, {
151
+ selfRef,
152
+ mergedSize: mergedSizeRef,
153
+ mergedDisabled: mergedDisabledRef,
154
+ renderedChecked: renderedCheckedRef,
155
+ handleClick,
156
+ handleKeyUp,
157
+ handleKeyDown
158
+ });
159
+ };
@@ -39,6 +39,8 @@ export default cB('base-close', `
39
39
  color: var(--u-close-icon-color-hover);
40
40
  `), c('&:hover::before', `
41
41
  background-color: var(--u-close-color-hover);
42
+ `), c('&:focus', `
43
+ color: var(--u-close-icon-color-hover);
42
44
  `), c('&:focus::before', `
43
45
  background-color: var(--u-close-color-hover);
44
46
  `), c('&:active', `
@@ -9,6 +9,6 @@ export default cB('base-icon', `
9
9
  fill: currentColor;
10
10
  transform: translateZ(0);
11
11
  `, [c('svg', `
12
- height: 1em;
13
- width: 1em;
12
+ height: 100%;
13
+ width: 100%;
14
14
  `)]);
@@ -2,7 +2,7 @@ import { h, defineComponent } from 'vue';
2
2
  export default defineComponent({
3
3
  name: 'ChevronDown',
4
4
  render() {
5
- return (h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
6
- h("path", { d: "M11.5876 15.5635C11.4543 15.5635 11.3293 15.5425 11.2126 15.5005C11.0959 15.4592 10.9876 15.3885 10.8876 15.2885L6.26259 10.6635C6.07925 10.4802 5.99192 10.2508 6.00059 9.9755C6.00859 9.70084 6.10425 9.47184 6.28759 9.2885C6.47092 9.10517 6.70425 9.0135 6.98759 9.0135C7.27092 9.0135 7.50425 9.10517 7.68759 9.2885L11.5876 13.1885L15.5126 9.2635C15.6959 9.08017 15.9253 8.9925 16.2006 9.0005C16.4753 9.00917 16.7043 9.10517 16.8876 9.2885C17.0709 9.47184 17.1626 9.70517 17.1626 9.9885C17.1626 10.2718 17.0709 10.5052 16.8876 10.6885L12.2876 15.2885C12.1876 15.3885 12.0793 15.4592 11.9626 15.5005C11.8459 15.5425 11.7209 15.5635 11.5876 15.5635Z", fill: "currentColor" })));
5
+ return (h("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
6
+ h("path", { d: "M4 6L8 10L12 6", stroke: "currentColor", "stroke-width": "1.4", "stroke-linecap": "round", "stroke-linejoin": "round" })));
7
7
  }
8
8
  });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { h, defineComponent } from 'vue';
2
+ export default defineComponent({
3
+ name: 'ChevronDownOutline',
4
+ render() {
5
+ return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" },
6
+ h("path", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "48", d: "M112 184l144 144 144-144" })));
7
+ }
8
+ });
@@ -3,6 +3,6 @@ export default defineComponent({
3
3
  name: 'ChevronLeft',
4
4
  render() {
5
5
  return (h("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
6
- h("path", { d: "M10.3536 3.14645C10.5488 3.34171 10.5488 3.65829 10.3536 3.85355L6.20711 8L10.3536 12.1464C10.5488 12.3417 10.5488 12.6583 10.3536 12.8536C10.1583 13.0488 9.84171 13.0488 9.64645 12.8536L5.14645 8.35355C4.95118 8.15829 4.95118 7.84171 5.14645 7.64645L9.64645 3.14645C9.84171 2.95118 10.1583 2.95118 10.3536 3.14645Z", fill: "currentColor" })));
6
+ h("path", { d: "M10 12L6 8L10 4", stroke: "currentColor", "stroke-width": "1.4", "stroke-linecap": "round", "stroke-linejoin": "round" })));
7
7
  }
8
8
  });
@@ -3,6 +3,6 @@ export default defineComponent({
3
3
  name: 'ChevronRight',
4
4
  render() {
5
5
  return (h("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
6
- h("path", { d: "M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z", fill: "currentColor" })));
6
+ h("path", { d: "M6 12L10 8L6 4", stroke: "currentColor", "stroke-width": "1.4", "stroke-linecap": "round", "stroke-linejoin": "round" })));
7
7
  }
8
8
  });
@@ -1,12 +1,4 @@
1
1
  import { h } from 'vue';
2
2
  import { replaceable } from './replaceable';
3
- export default replaceable('clear',
4
- // <svg viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg">
5
- // <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
6
- // <g fill="currentColor" fill-rule="nonzero">
7
- // <path d="M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z" />
8
- // </g>
9
- // </g>
10
- // </svg>
11
- h("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg" },
12
- h("path", { d: "M9.19998 0.806647C8.93998 0.546647 8.51998 0.546647 8.25998 0.806647L4.99998 4.05998L1.73998 0.79998C1.47998 0.53998 1.05998 0.53998 0.79998 0.79998C0.53998 1.05998 0.53998 1.47998 0.79998 1.73998L4.05998 4.99998L0.79998 8.25998C0.53998 8.51998 0.53998 8.93998 0.79998 9.19998C1.05998 9.45998 1.47998 9.45998 1.73998 9.19998L4.99998 5.93998L8.25998 9.19998C8.51998 9.45998 8.93998 9.45998 9.19998 9.19998C9.45998 8.93998 9.45998 8.51998 9.19998 8.25998L5.93998 4.99998L9.19998 1.73998C9.45331 1.48665 9.45331 1.05998 9.19998 0.806647Z", fill: "currentColor" })));
3
+ export default replaceable('clear', h("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
4
+ h("path", { d: "M12 4L4 12M4 4L12 12", stroke: "currentColor", "stroke-width": "1.4", "stroke-linecap": "round", "stroke-linejoin": "round" })));
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { h, defineComponent } from 'vue';
2
+ export default defineComponent({
3
+ name: 'ClearSmall',
4
+ render() {
5
+ return (h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
6
+ h("path", { d: "M16 8L8 16M8 8L16 16", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })));
7
+ }
8
+ });
@@ -1,6 +1,4 @@
1
1
  import { h } from 'vue';
2
2
  import { replaceable } from './replaceable';
3
- export default replaceable('close', h("svg", { viewBox: "0 0 12 12", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": true },
4
- h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" },
5
- h("g", { fill: "currentColor", "fill-rule": "nonzero" },
6
- h("path", { d: "M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z" })))));
3
+ export default replaceable('close', h("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": true },
4
+ h("path", { d: "M12 4L4 12M4 4L12 12", stroke: "currentColor", "stroke-width": "1.4", "stroke-linecap": "round", "stroke-linejoin": "round" })));
@@ -1,6 +1,4 @@
1
1
  import { h } from 'vue';
2
2
  import { replaceable } from './replaceable';
3
- export default replaceable('error', h("svg", { viewBox: "0 0 48 48", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
4
- h("g", { stroke: "none", "stroke-width": "1", "fill-rule": "evenodd" },
5
- h("g", { "fill-rule": "nonzero" },
6
- h("path", { d: "M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z" })))));
3
+ export default replaceable('error', h("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
4
+ h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.00008 0.666626C3.94999 0.666626 0.666748 3.94987 0.666748 7.99996C0.666748 12.05 3.94999 15.3333 8.00008 15.3333C12.0502 15.3333 15.3334 12.05 15.3334 7.99996C15.3334 3.94987 12.0502 0.666626 8.00008 0.666626ZM10.4715 5.52855C10.7318 5.7889 10.7318 6.21101 10.4715 6.47136L8.94289 7.99996L10.4715 9.52855C10.7318 9.7889 10.7318 10.211 10.4715 10.4714C10.2111 10.7317 9.78903 10.7317 9.52868 10.4714L8.00008 8.94277L6.47149 10.4714C6.21114 10.7317 5.78903 10.7317 5.52868 10.4714C5.26833 10.211 5.26833 9.7889 5.52868 9.52855L7.05727 7.99996L5.52868 6.47136C5.26833 6.21101 5.26833 5.7889 5.52868 5.52855C5.78903 5.26821 6.21114 5.26821 6.47149 5.52855L8.00008 7.05715L9.52868 5.52855C9.78903 5.26821 10.2111 5.26821 10.4715 5.52855Z", fill: "currentColor" })));
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { h, defineComponent } from 'vue';
2
+ export default defineComponent({
3
+ name: 'InactiveIcon',
4
+ render() {
5
+ return (h("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
6
+ h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.99996 0.666626C3.94987 0.666626 0.666626 3.94987 0.666626 7.99996C0.666626 12.05 3.94987 15.3333 7.99996 15.3333C12.05 15.3333 15.3333 12.05 15.3333 7.99996C15.3333 3.94987 12.05 0.666626 7.99996 0.666626ZM5.33329 7.33329C4.9651 7.33329 4.66663 7.63177 4.66663 7.99996C4.66663 8.36815 4.9651 8.66663 5.33329 8.66663H10.6666C11.0348 8.66663 11.3333 8.36815 11.3333 7.99996C11.3333 7.63177 11.0348 7.33329 10.6666 7.33329H5.33329Z", fill: "currentColor" })));
7
+ }
8
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { h } from 'vue';
2
+ import { replaceable } from './replaceable';
3
+ export default replaceable('infoOutline', h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
4
+ h("path", { d: "M12 16V12M12 8H12.01M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })));
@@ -1,6 +1,4 @@
1
1
  import { h } from 'vue';
2
2
  import { replaceable } from './replaceable';
3
- export default replaceable('success', h("svg", { viewBox: "0 0 48 48", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
4
- h("g", { stroke: "none", "stroke-width": "1", "fill-rule": "evenodd" },
5
- h("g", { "fill-rule": "nonzero" },
6
- h("path", { d: "M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z" })))));
3
+ export default replaceable('success', h("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
4
+ h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.00008 0.666626C3.94999 0.666626 0.666748 3.94987 0.666748 7.99996C0.666748 12.05 3.94999 15.3333 8.00008 15.3333C12.0502 15.3333 15.3334 12.05 15.3334 7.99996C15.3334 3.94987 12.0502 0.666626 8.00008 0.666626ZM11.4715 6.47136C11.7318 6.21101 11.7318 5.7889 11.4715 5.52855C11.2111 5.26821 10.789 5.26821 10.5287 5.52855L7.00008 9.05715L5.47149 7.52855C5.21114 7.2682 4.78903 7.2682 4.52868 7.52855C4.26833 7.7889 4.26833 8.21101 4.52868 8.47136L6.52868 10.4714C6.78903 10.7317 7.21114 10.7317 7.47149 10.4714L11.4715 6.47136Z", fill: "currentColor" })));
@@ -1,6 +1,4 @@
1
1
  import { h } from 'vue';
2
2
  import { replaceable } from './replaceable';
3
- export default replaceable('warning', h("svg", { viewBox: "0 0 24 24", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
4
- h("g", { stroke: "none", "stroke-width": "1", "fill-rule": "evenodd" },
5
- h("g", { "fill-rule": "nonzero" },
6
- h("path", { d: "M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z" })))));
3
+ export default replaceable('warning', h("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
4
+ h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.99996 0.666626C3.94987 0.666626 0.666626 3.94987 0.666626 7.99996C0.666626 12.05 3.94987 15.3333 7.99996 15.3333C12.05 15.3333 15.3333 12.05 15.3333 7.99996C15.3333 3.94987 12.05 0.666626 7.99996 0.666626ZM8.66663 5.33329C8.66663 4.9651 8.36815 4.66663 7.99996 4.66663C7.63177 4.66663 7.33329 4.9651 7.33329 5.33329V7.99996C7.33329 8.36815 7.63177 8.66663 7.99996 8.66663C8.36815 8.66663 8.66663 8.36815 8.66663 7.99996V5.33329ZM7.99996 9.99996C7.63177 9.99996 7.33329 10.2984 7.33329 10.6666C7.33329 11.0348 7.63177 11.3333 7.99996 11.3333H8.00663C8.37482 11.3333 8.67329 11.0348 8.67329 10.6666C8.67329 10.2984 8.37482 9.99996 8.00663 9.99996H7.99996Z", fill: "currentColor" })));
@@ -7,6 +7,7 @@ export { default as DateIcon } from './Date';
7
7
  export { default as CheckmarkIcon } from './Checkmark';
8
8
  export { default as ChevronLeftIcon } from './ChevronLeft';
9
9
  export { default as ChevronRightIcon } from './ChevronRight';
10
+ export { default as ChevronDownOutline } from './ChevronDownOutline';
10
11
  export { default as CloseIcon } from './Close';
11
12
  export { default as EyeIcon } from './Eye';
12
13
  export { default as EyeOffIcon } from './EyeOff';
@@ -40,3 +41,6 @@ export { default as ZoomOutIcon } from './ZoomOut';
40
41
  export { default as FileIcon } from './File';
41
42
  export { default as PhotoIcon } from './Photo';
42
43
  export { default as ResizeSmallIcon } from './ResizeSmall';
44
+ export { default as InfoOutlineIcon } from './InfoOutline';
45
+ export { default as InactiveIcon } from './Inactive';
46
+ export { default as ClearSmallIcon } from './ClearSmall';
@@ -7,6 +7,7 @@ export { default as DateIcon } from './Date';
7
7
  export { default as CheckmarkIcon } from './Checkmark';
8
8
  export { default as ChevronLeftIcon } from './ChevronLeft';
9
9
  export { default as ChevronRightIcon } from './ChevronRight';
10
+ export { default as ChevronDownOutline } from './ChevronDownOutline';
10
11
  export { default as CloseIcon } from './Close';
11
12
  export { default as EyeIcon } from './Eye';
12
13
  export { default as EyeOffIcon } from './EyeOff';
@@ -40,3 +41,6 @@ export { default as ZoomOutIcon } from './ZoomOut';
40
41
  export { default as FileIcon } from './File';
41
42
  export { default as PhotoIcon } from './Photo';
42
43
  export { default as ResizeSmallIcon } from './ResizeSmall';
44
+ export { default as InfoOutlineIcon } from './InfoOutline';
45
+ export { default as InactiveIcon } from './Inactive';
46
+ export { default as ClearSmallIcon } from './ClearSmall';
@@ -1,4 +1,4 @@
1
- import { upperFirst } from 'lodash-es';
1
+ import { upperFirst } from 'lodash';
2
2
  import { defineComponent, inject } from 'vue';
3
3
  import { configProviderInjectionKey } from '../../config-provider/src/context';
4
4
  // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
@@ -18,3 +18,7 @@ export { default as UBaseClear } from './clear';
18
18
  export { default as UBaseSuffix } from './suffix';
19
19
  export { UScrollbar, UxScrollbar } from './scrollbar';
20
20
  export type { ScrollbarInst, ScrollbarProps } from './scrollbar';
21
+ export { checkboxGroupInjectionKey, checkboxBaseProps, useCheckbox } from './checkbox';
22
+ export type { CheckboxBaseProps, UseCheckbox, OnUpdateChecked, OnUpdateCheckedImpl, CheckboxInst } from './checkbox';
23
+ export { radioBaseProps, radioGroupInjectionKey, useRadio } from './radio';
24
+ export type { OnUpdateValue, OnUpdateValueImpl, RadioGroupInjection, UseRadio, RadioBaseProps } from './radio';
@@ -13,3 +13,5 @@ export { default as UBaseSlotMachine } from './slot-machine';
13
13
  export { default as UBaseClear } from './clear';
14
14
  export { default as UBaseSuffix } from './suffix';
15
15
  export { UScrollbar, UxScrollbar } from './scrollbar';
16
+ export { checkboxGroupInjectionKey, checkboxBaseProps, useCheckbox } from './checkbox';
17
+ export { radioBaseProps, radioGroupInjectionKey, useRadio } from './radio';
@@ -0,0 +1,2 @@
1
+ export * from './src/use-radio';
2
+ export type * from './src/interface';
@@ -0,0 +1 @@
1
+ export * from './src/use-radio';
@@ -0,0 +1,12 @@
1
+ import { Ref } from 'vue';
2
+ export type OnUpdateValue = (value: string & number & boolean) => void;
3
+ export type OnUpdateValueImpl = (value: string | number | boolean) => void;
4
+ export type OnChangeImpl = (value: Event) => void;
5
+ export interface RadioGroupInjection {
6
+ mergedClsPrefixRef: Ref<string>;
7
+ nameRef: Ref<string | undefined>;
8
+ valueRef: Ref<string | number | boolean | null>;
9
+ mergedSizeRef: Ref<'small' | 'medium' | 'large'>;
10
+ disabledRef: Ref<boolean>;
11
+ doUpdateValue: OnUpdateValue;
12
+ }
@@ -1,6 +1,6 @@
1
1
  import { type ExtractPropTypes, type PropType, type Ref, type ComputedRef } from 'vue';
2
- import type { MaybeArray } from '../../_utils';
3
- import { type OnUpdateValue } from './interface';
2
+ import type { MaybeArray } from '../../../_utils';
3
+ import { OnChangeImpl, RadioGroupInjection } from './interface';
4
4
  export declare const radioBaseProps: {
5
5
  readonly name: StringConstructor;
6
6
  readonly value: {
@@ -24,15 +24,8 @@ export declare const radioBaseProps: {
24
24
  readonly type: PropType<boolean | undefined>;
25
25
  readonly default: undefined;
26
26
  };
27
+ readonly onChange: PropType<OnChangeImpl>;
27
28
  };
28
- export interface RadioGroupInjection {
29
- mergedClsPrefixRef: Ref<string>;
30
- nameRef: Ref<string | undefined>;
31
- valueRef: Ref<string | number | boolean | null>;
32
- mergedSizeRef: Ref<'small' | 'medium' | 'large'>;
33
- disabledRef: Ref<boolean>;
34
- doUpdateValue: OnUpdateValue;
35
- }
36
29
  export declare const radioGroupInjectionKey: import("vue").InjectionKey<RadioGroupInjection>;
37
30
  export interface UseRadio {
38
31
  mergedClsPrefix: Ref<string>;
@@ -44,10 +37,10 @@ export interface UseRadio {
44
37
  renderSafeChecked: Ref<boolean>;
45
38
  focus: Ref<boolean>;
46
39
  mergedSize: ComputedRef<'small' | 'medium' | 'large'>;
47
- handleRadioInputChange: () => void;
40
+ handleRadioInputChange: OnChangeImpl;
48
41
  handleRadioInputBlur: () => void;
49
42
  handleRadioInputFocus: () => void;
50
43
  }
51
- declare function setup(props: ExtractPropTypes<typeof radioBaseProps>): UseRadio;
44
+ declare function useRadio(props: ExtractPropTypes<typeof radioBaseProps>): UseRadio;
52
45
  export type RadioBaseProps = ExtractPropTypes<typeof radioBaseProps>;
53
- export { setup };
46
+ export { useRadio };
@@ -1,7 +1,7 @@
1
- import { inject, ref, toRef, watchEffect } from 'vue';
1
+ import { inject, ref, toRef } from 'vue';
2
2
  import { useMemo, useMergedState } from 'vooks';
3
- import { useConfig, useFormItem } from '../../_mixins';
4
- import { call, createInjectionKey, warnOnce } from '../../_utils';
3
+ import { useConfig, useFormItem } from '../../../_mixins';
4
+ import { call, createInjectionKey } from '../../../_utils';
5
5
  export const radioBaseProps = {
6
6
  name: String,
7
7
  value: {
@@ -25,17 +25,11 @@ export const radioBaseProps = {
25
25
  checkedValue: {
26
26
  type: Boolean,
27
27
  default: undefined
28
- }
28
+ },
29
+ onChange: [Function, Array]
29
30
  };
30
31
  export const radioGroupInjectionKey = createInjectionKey('u-radio-group');
31
- function setup(props) {
32
- if (process.env.NODE_ENV !== 'production') {
33
- watchEffect(() => {
34
- if (props.checkedValue !== undefined) {
35
- warnOnce('radio', '`checked-value` is deprecated, please use `checked` instead.');
36
- }
37
- });
38
- }
32
+ function useRadio(props) {
39
33
  const formItem = useFormItem(props, {
40
34
  mergedSize(UFormItem) {
41
35
  const { size } = props;
@@ -82,33 +76,35 @@ function setup(props) {
82
76
  return URadioGroup.nameRef.value;
83
77
  });
84
78
  const focusRef = ref(false);
85
- function doUpdateChecked() {
79
+ function doUpdateChecked(e) {
86
80
  if (URadioGroup) {
87
81
  const { doUpdateValue } = URadioGroup;
88
82
  const { value } = props;
89
83
  call(doUpdateValue, value);
90
84
  }
91
85
  else {
92
- const { onUpdateChecked, 'onUpdate:checked': _onUpdateChecked } = props;
86
+ const { onUpdateChecked, 'onUpdate:checked': _onUpdateChecked, onChange } = props;
93
87
  const { nTriggerFormInput, nTriggerFormChange } = formItem;
94
88
  if (onUpdateChecked)
95
89
  call(onUpdateChecked, true);
96
90
  if (_onUpdateChecked)
97
91
  call(_onUpdateChecked, true);
92
+ if (onChange)
93
+ onChange(e);
98
94
  nTriggerFormInput();
99
95
  nTriggerFormChange();
100
96
  uncontrolledCheckedRef.value = true;
101
97
  }
102
98
  }
103
- function toggle() {
99
+ function toggle(e) {
104
100
  if (mergedDisabledRef.value)
105
101
  return;
106
102
  if (!renderSafeCheckedRef.value) {
107
- doUpdateChecked();
103
+ doUpdateChecked(e);
108
104
  }
109
105
  }
110
- function handleRadioInputChange() {
111
- toggle();
106
+ function handleRadioInputChange(e) {
107
+ toggle(e);
112
108
  }
113
109
  function handleRadioInputBlur() {
114
110
  focusRef.value = false;
@@ -133,4 +129,4 @@ function setup(props) {
133
129
  handleRadioInputFocus
134
130
  };
135
131
  }
136
- export { setup };
132
+ export { useRadio };