@uzum-tech/ui 0.1.2 → 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 (1214) hide show
  1. package/README.md +0 -10
  2. package/dist/index.js +6610 -6311
  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/ChevronLeft.js +1 -1
  12. package/es/_internal/icons/ChevronRight.js +1 -1
  13. package/es/_internal/icons/Clear.js +2 -10
  14. package/es/_internal/icons/ClearSmall.d.ts +2 -0
  15. package/es/_internal/icons/ClearSmall.js +8 -0
  16. package/es/_internal/icons/Close.js +2 -4
  17. package/es/_internal/icons/Error.js +2 -4
  18. package/es/_internal/icons/Inactive.d.ts +2 -0
  19. package/es/_internal/icons/Inactive.js +8 -0
  20. package/es/_internal/icons/InfoOutline.d.ts +2 -0
  21. package/es/_internal/icons/InfoOutline.js +4 -0
  22. package/es/_internal/icons/Success.js +2 -4
  23. package/es/_internal/icons/Warning.js +2 -4
  24. package/es/_internal/icons/index.d.ts +3 -0
  25. package/es/_internal/icons/index.js +3 -0
  26. package/es/_internal/index.d.ts +4 -0
  27. package/es/_internal/index.js +2 -0
  28. package/es/_internal/radio/index.d.ts +2 -0
  29. package/es/_internal/radio/index.js +1 -0
  30. package/es/_internal/radio/src/interface.d.ts +12 -0
  31. package/{lib → es/_internal}/radio/src/use-radio.d.ts +6 -13
  32. package/es/{radio → _internal/radio}/src/use-radio.js +15 -19
  33. package/es/_internal/select-menu/src/SelectMenu.d.ts +180 -211
  34. package/es/_internal/select-menu/src/SelectMenu.js +3 -2
  35. package/es/_internal/select-menu/src/interface.d.ts +1 -1
  36. package/es/_internal/select-menu/src/styles/index.cssr.js +24 -18
  37. package/es/_internal/select-menu/styles/light.d.ts +17 -23
  38. package/es/_internal/select-menu/styles/light.js +34 -3
  39. package/es/_internal/selection/index.d.ts +1 -0
  40. package/es/_internal/selection/src/Selection.d.ts +583 -183
  41. package/es/_internal/selection/src/Selection.js +102 -28
  42. package/es/_internal/selection/src/interface.d.ts +1 -0
  43. package/es/_internal/selection/src/styles/index.cssr.d.ts +2 -1
  44. package/es/_internal/selection/src/styles/index.cssr.js +128 -35
  45. package/es/_internal/selection/styles/dark.js +2 -26
  46. package/es/_internal/selection/styles/light.d.ts +121 -17
  47. package/es/_internal/selection/styles/light.js +120 -20
  48. package/es/_internal/skeleton/src/styles/index.cssr.js +1 -1
  49. package/es/_internal/skeleton/styles/dark.js +2 -11
  50. package/es/_internal/skeleton/styles/light.d.ts +1 -2
  51. package/es/_internal/skeleton/styles/light.js +4 -4
  52. package/es/_styles/common/_common.d.ts +37 -12
  53. package/es/_styles/common/_common.js +44 -19
  54. package/es/_styles/common/dark.js +2 -98
  55. package/es/_styles/common/light.d.ts +88 -99
  56. package/es/_styles/common/light.js +1 -103
  57. package/es/_styles/global/index.cssr.js +4 -5
  58. package/es/_utils/index.d.ts +3 -0
  59. package/es/_utils/index.js +3 -0
  60. package/es/_utils/inject/index.d.ts +2 -0
  61. package/es/_utils/inject/index.js +7 -0
  62. package/es/_utils/themes/index.d.ts +1 -0
  63. package/es/_utils/themes/index.js +1 -0
  64. package/es/_utils/themes/rewrite-styles.d.ts +1 -0
  65. package/es/_utils/themes/rewrite-styles.js +6 -0
  66. package/es/_utils/types/index.d.ts +1 -0
  67. package/es/_utils/types/index.js +1 -0
  68. package/es/_utils/types/utility.types.d.ts +10 -0
  69. package/es/_utils/types/utility.types.js +1 -0
  70. package/es/_utils/uzum/prop.d.ts +2 -2
  71. package/es/_utils/uzum/prop.js +0 -2
  72. package/es/alert/src/Alert.d.ts +438 -271
  73. package/es/alert/src/Alert.js +53 -57
  74. package/es/alert/src/styles/index.cssr.js +92 -48
  75. package/es/alert/styles/_common.d.ts +7 -6
  76. package/es/alert/styles/_common.js +11 -8
  77. package/es/alert/styles/dark.js +2 -15
  78. package/es/alert/styles/light.d.ts +33 -16
  79. package/es/alert/styles/light.js +16 -9
  80. package/es/alert/styles/types.d.ts +4 -0
  81. package/es/alert/styles/types.js +1 -0
  82. package/es/anchor/src/AnchorAdapter.d.ts +30 -21
  83. package/es/anchor/src/AnchorAdapter.js +2 -1
  84. package/es/anchor/src/styles/index.cssr.js +2 -1
  85. package/es/anchor/styles/light.d.ts +4 -3
  86. package/es/anchor/styles/light.js +16 -5
  87. package/es/auto-complete/src/AutoComplete.d.ts +317 -327
  88. package/es/auto-complete/styles/light.d.ts +22 -22
  89. package/es/auto-complete/styles/light.js +2 -2
  90. package/es/avatar/src/Avatar.d.ts +0 -29
  91. package/es/avatar/src/Avatar.js +4 -7
  92. package/es/avatar/src/interface.d.ts +1 -1
  93. package/es/avatar/src/styles/index.cssr.js +2 -4
  94. package/es/avatar/styles/light.d.ts +0 -3
  95. package/es/avatar/styles/light.js +7 -11
  96. package/es/avatar-group/src/AvatarGroup.d.ts +88 -129
  97. package/es/avatar-group/styles/light.d.ts +0 -3
  98. package/es/back-top/src/BackTop.d.ts +24 -24
  99. package/es/back-top/styles/dark.js +2 -5
  100. package/es/back-top/styles/light.d.ts +5 -5
  101. package/es/back-top/styles/light.js +16 -4
  102. package/es/badge/src/Badge.d.ts +0 -10
  103. package/es/badge/src/Badge.js +1 -2
  104. package/es/badge/src/styles/index.cssr.js +0 -2
  105. package/es/badge/styles/dark.js +2 -12
  106. package/es/badge/styles/light.d.ts +1 -2
  107. package/es/badge/styles/light.js +8 -9
  108. package/es/breadcrumb/src/Breadcrumb.d.ts +10 -40
  109. package/es/breadcrumb/src/Breadcrumb.js +2 -5
  110. package/es/breadcrumb/src/styles/index.cssr.js +4 -9
  111. package/es/breadcrumb/styles/light.d.ts +1 -4
  112. package/es/breadcrumb/styles/light.js +11 -3
  113. package/es/button/src/Button.d.ts +11 -11
  114. package/es/button/src/Button.js +4 -4
  115. package/es/button/src/styles/index.cssr.js +4 -5
  116. package/es/button/styles/dark.js +1 -8
  117. package/es/button/styles/light.d.ts +1 -1
  118. package/es/button/styles/light.js +18 -18
  119. package/es/calendar/src/Calendar.d.ts +108 -119
  120. package/es/calendar/styles/light.d.ts +3 -3
  121. package/es/calendar/styles/light.js +23 -5
  122. package/es/card/src/Card.d.ts +295 -272
  123. package/es/card/src/Card.js +13 -16
  124. package/es/card/src/styles/index.cssr.js +6 -20
  125. package/es/card/styles/_common.d.ts +0 -6
  126. package/es/card/styles/_common.js +1 -7
  127. package/es/card/styles/dark.js +1 -8
  128. package/es/card/styles/light.d.ts +21 -17
  129. package/es/card/styles/light.js +2 -5
  130. package/es/cascader/src/Cascader.d.ts +1195 -555
  131. package/es/cascader/src/CascaderMenu.d.ts +207 -153
  132. package/es/cascader/src/CascaderOption.d.ts +207 -153
  133. package/es/cascader/src/CascaderSelectMenu.d.ts +207 -153
  134. package/es/cascader/src/CascaderSubmenu.d.ts +207 -153
  135. package/es/cascader/src/styles/index.cssr.js +3 -3
  136. package/es/cascader/styles/light.d.ts +109 -44
  137. package/es/cascader/styles/light.js +12 -12
  138. package/es/checkbox/index.d.ts +1 -1
  139. package/es/checkbox/src/Checkbox.d.ts +457 -304
  140. package/es/checkbox/src/Checkbox.js +45 -179
  141. package/es/checkbox/src/CheckboxGroup.d.ts +2 -12
  142. package/es/checkbox/src/CheckboxGroup.js +2 -2
  143. package/es/checkbox/src/styles/index.cssr.js +113 -190
  144. package/es/checkbox/styles/_common.d.ts +0 -3
  145. package/es/checkbox/styles/_common.js +3 -6
  146. package/es/checkbox/styles/dark.js +1 -7
  147. package/es/checkbox/styles/light.d.ts +29 -13
  148. package/es/checkbox/styles/light.js +2 -4
  149. package/es/code/styles/dark.js +7 -20
  150. package/es/code/styles/light.d.ts +1 -1
  151. package/es/code/styles/light.js +5 -5
  152. package/es/collapse/src/Collapse.d.ts +126 -104
  153. package/es/collapse/src/Collapse.js +4 -1
  154. package/es/collapse/src/CollapseItem.d.ts +2 -1
  155. package/es/collapse/src/CollapseItem.js +12 -11
  156. package/es/collapse/src/interface.d.ts +1 -0
  157. package/es/collapse/src/styles/index.cssr.js +7 -2
  158. package/es/collapse/styles/light.d.ts +3 -0
  159. package/es/collapse/styles/light.js +12 -9
  160. package/es/color-picker/src/ColorInputUnit.d.ts +103 -106
  161. package/es/color-picker/src/ColorPicker.d.ts +138 -63
  162. package/es/color-picker/src/ColorPicker.js +4 -1
  163. package/es/color-picker/src/ColorPickerTrigger.js +1 -6
  164. package/es/color-picker/src/styles/index.cssr.js +13 -1
  165. package/es/color-picker/styles/light.d.ts +20 -7
  166. package/es/color-picker/styles/light.js +15 -10
  167. package/es/components.d.ts +2 -0
  168. package/es/components.js +2 -0
  169. package/es/config-provider/src/internal-interface.d.ts +7 -2
  170. package/es/data-table/src/DataTable.d.ts +1978 -1437
  171. package/es/data-table/src/DataTable.js +2 -3
  172. package/es/data-table/src/HeaderButton/FilterButton.d.ts +457 -347
  173. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +462 -352
  174. package/es/data-table/src/TableParts/Body.d.ts +457 -347
  175. package/es/data-table/src/TableParts/Body.js +3 -2
  176. package/es/data-table/src/TableParts/Cell.d.ts +914 -694
  177. package/es/data-table/src/TableParts/Header.d.ts +457 -347
  178. package/es/data-table/src/TableParts/Header.js +3 -1
  179. package/es/data-table/src/interface.d.ts +750 -534
  180. package/es/data-table/src/styles/index.cssr.js +29 -36
  181. package/es/data-table/styles/dark.js +1 -6
  182. package/es/data-table/styles/light.d.ts +254 -183
  183. package/es/data-table/styles/light.js +58 -10
  184. package/es/date-picker/src/DatePicker.d.ts +748 -433
  185. package/es/date-picker/src/DatePicker.js +55 -19
  186. package/es/date-picker/src/interface.d.ts +2 -2
  187. package/es/date-picker/src/panel/date.d.ts +166 -138
  188. package/es/date-picker/src/panel/daterange.d.ts +160 -138
  189. package/es/date-picker/src/panel/datetime.d.ts +160 -138
  190. package/es/date-picker/src/panel/datetimerange.d.ts +160 -138
  191. package/es/date-picker/src/panel/monthrange.d.ts +160 -138
  192. package/es/date-picker/src/panel/panelMonth.d.ts +320 -276
  193. package/es/date-picker/src/panel/panelMonth.js +3 -3
  194. package/es/date-picker/src/panel/panelMonthContent.d.ts +160 -138
  195. package/es/date-picker/src/panel/panelYear.d.ts +320 -276
  196. package/es/date-picker/src/panel/panelYear.js +3 -3
  197. package/es/date-picker/src/panel/panelYearContent.d.ts +160 -138
  198. package/es/date-picker/src/panel/use-calendar.d.ts +160 -138
  199. package/es/date-picker/src/panel/use-dual-calendar.d.ts +160 -138
  200. package/es/date-picker/src/panel/use-panel-common.d.ts +160 -138
  201. package/es/date-picker/src/styles/index.cssr.js +75 -64
  202. package/es/date-picker/styles/_common.d.ts +0 -1
  203. package/es/date-picker/styles/_common.js +0 -1
  204. package/es/date-picker/styles/dark.js +1 -9
  205. package/es/date-picker/styles/light.d.ts +97 -44
  206. package/es/date-picker/styles/light.js +12 -3
  207. package/es/descriptions/src/Descriptions.d.ts +48 -48
  208. package/es/descriptions/styles/light.d.ts +12 -12
  209. package/es/descriptions/styles/light.js +33 -7
  210. package/es/dialog/src/Dialog.d.ts +166 -159
  211. package/es/dialog/src/Dialog.js +20 -11
  212. package/es/dialog/src/DialogEnvironment.d.ts +6 -3
  213. package/es/dialog/src/DialogEnvironment.js +1 -1
  214. package/es/dialog/src/DialogProvider.d.ts +181 -202
  215. package/es/dialog/src/dialogProps.d.ts +3 -2
  216. package/es/dialog/src/dialogProps.js +2 -1
  217. package/es/dialog/src/styles/index.cssr.js +7 -5
  218. package/es/dialog/styles/_common.d.ts +1 -4
  219. package/es/dialog/styles/_common.js +6 -9
  220. package/es/dialog/styles/light.d.ts +19 -15
  221. package/es/dialog/styles/light.js +2 -7
  222. package/es/divider/src/Divider.d.ts +30 -0
  223. package/es/divider/src/Divider.js +5 -2
  224. package/es/divider/src/styles/index.cssr.js +7 -3
  225. package/es/divider/styles/light.d.ts +3 -0
  226. package/es/divider/styles/light.js +7 -4
  227. package/es/drawer/index.d.ts +1 -0
  228. package/es/drawer/src/Drawer.d.ts +312 -250
  229. package/es/drawer/src/Drawer.js +67 -31
  230. package/es/drawer/src/DrawerBodyWrapper.d.ts +107 -119
  231. package/es/drawer/src/DrawerBodyWrapper.js +6 -30
  232. package/es/drawer/src/DrawerContent.d.ts +158 -122
  233. package/es/drawer/src/DrawerContent.js +80 -11
  234. package/es/drawer/src/interface.d.ts +6 -1
  235. package/es/drawer/src/styles/index.cssr.js +57 -28
  236. package/es/drawer/styles/_common.d.ts +11 -0
  237. package/es/drawer/styles/_common.js +10 -0
  238. package/es/drawer/styles/light.d.ts +38 -24
  239. package/es/drawer/styles/light.js +3 -24
  240. package/es/dropdown/src/Dropdown.d.ts +322 -333
  241. package/es/dropdown/styles/dark.js +1 -10
  242. package/es/dropdown/styles/light.d.ts +34 -34
  243. package/es/dropdown/styles/light.js +57 -9
  244. package/es/dynamic-input/src/DynamicInput.d.ts +189 -170
  245. package/es/dynamic-input/src/InputPreset.d.ts +98 -106
  246. package/es/dynamic-input/src/PairPreset.d.ts +98 -106
  247. package/es/dynamic-input/styles/light.d.ts +10 -7
  248. package/es/dynamic-tags/src/DynamicTags.d.ts +375 -325
  249. package/es/dynamic-tags/src/DynamicTags.js +8 -3
  250. package/es/dynamic-tags/styles/light.d.ts +28 -22
  251. package/es/ellipsis/src/Ellipsis.d.ts +184 -195
  252. package/es/ellipsis/src/PerformantEllipsis.d.ts +54 -54
  253. package/es/ellipsis/styles/light.d.ts +9 -9
  254. package/es/empty/src/Empty.d.ts +24 -24
  255. package/es/empty/styles/light.d.ts +4 -4
  256. package/es/empty/styles/light.js +14 -6
  257. package/es/form/src/Form.d.ts +117 -99
  258. package/es/form/src/FormItem.d.ts +119 -102
  259. package/es/form/src/FormItem.js +3 -4
  260. package/es/form/src/FormItemCol.d.ts +117 -99
  261. package/es/form/src/FormItemGridItem.d.ts +117 -99
  262. package/es/form/src/FormItemRow.d.ts +117 -99
  263. package/es/form/src/styles/form-item.cssr.js +15 -18
  264. package/es/form/styles/light.d.ts +17 -15
  265. package/es/form/styles/light.js +35 -3
  266. package/es/global-style/src/GlobalStyle.js +5 -5
  267. package/es/gradient-text/src/styles/index.cssr.js +1 -0
  268. package/es/gradient-text/styles/dark.js +2 -17
  269. package/es/gradient-text/styles/light.d.ts +1 -1
  270. package/es/gradient-text/styles/light.js +13 -13
  271. package/es/icon/styles/light.js +7 -7
  272. package/es/icon-wrapper/styles/light.js +3 -3
  273. package/es/image/src/Image.d.ts +90 -81
  274. package/es/image/src/ImageGroup.d.ts +90 -81
  275. package/es/image/src/ImagePreview.d.ts +61 -54
  276. package/es/image/src/ImagePreview.js +3 -2
  277. package/es/image/src/interface.d.ts +30 -27
  278. package/es/image/src/styles/index.cssr.js +1 -1
  279. package/es/image/styles/dark.js +2 -9
  280. package/es/image/styles/light.d.ts +13 -11
  281. package/es/image/styles/light.js +7 -5
  282. package/es/input/index.d.ts +1 -1
  283. package/es/input/src/Input.d.ts +166 -147
  284. package/es/input/src/Input.js +8 -5
  285. package/es/input/src/InputGroupLabel.d.ts +68 -41
  286. package/es/input/src/interface.d.ts +1 -1
  287. package/es/input/src/styles/input.cssr.js +5 -6
  288. package/es/input/styles/dark.js +2 -20
  289. package/es/input/styles/light.d.ts +10 -7
  290. package/es/input/styles/light.js +70 -15
  291. package/es/input-number/src/InputNumber.d.ts +204 -208
  292. package/es/input-number/src/InputNumber.js +4 -12
  293. package/es/input-number/src/interface.d.ts +0 -1
  294. package/es/input-number/styles/dark.js +2 -6
  295. package/es/input-number/styles/light.d.ts +12 -13
  296. package/es/input-number/styles/light.js +2 -5
  297. package/es/layout/src/Layout.d.ts +204 -198
  298. package/es/layout/src/LayoutContent.d.ts +102 -99
  299. package/es/layout/src/LayoutFooter.d.ts +18 -0
  300. package/es/layout/src/LayoutHeader.d.ts +12 -0
  301. package/es/layout/src/LayoutSider.d.ts +102 -99
  302. package/es/layout/src/LayoutSider.js +5 -3
  303. package/es/layout/src/ToggleButton.d.ts +2 -2
  304. package/es/layout/styles/dark.js +2 -29
  305. package/es/layout/styles/light.d.ts +4 -0
  306. package/es/layout/styles/light.js +25 -24
  307. package/es/legacy-transfer/src/Transfer.d.ts +538 -359
  308. package/es/legacy-transfer/src/TransferFilter.d.ts +133 -125
  309. package/es/legacy-transfer/src/TransferList.d.ts +133 -125
  310. package/es/legacy-transfer/src/TransferListItem.d.ts +133 -125
  311. package/es/legacy-transfer/styles/dark.js +2 -9
  312. package/es/legacy-transfer/styles/light.d.ts +48 -29
  313. package/es/legacy-transfer/styles/light.js +25 -9
  314. package/es/list/index.d.ts +3 -2
  315. package/es/list/index.js +2 -1
  316. package/es/list/src/List.d.ts +218 -83
  317. package/es/list/src/List.js +37 -22
  318. package/es/list/src/ListItem.d.ts +122 -3
  319. package/es/list/src/ListItem.js +184 -12
  320. package/es/list/src/interface.d.ts +35 -0
  321. package/es/list/src/interface.js +1 -0
  322. package/es/list/src/props.d.ts +228 -0
  323. package/es/list/src/props.js +59 -0
  324. package/es/list/src/styles/index.cssr.js +142 -48
  325. package/es/list/styles/light.d.ts +15 -0
  326. package/es/list/styles/light.js +27 -13
  327. package/es/loading-bar/styles/dark.js +2 -8
  328. package/es/loading-bar/styles/light.d.ts +1 -1
  329. package/es/loading-bar/styles/light.js +4 -4
  330. package/es/log/src/Log.d.ts +88 -99
  331. package/es/log/styles/dark.js +2 -10
  332. package/es/log/styles/light.d.ts +1 -1
  333. package/es/log/styles/light.js +7 -7
  334. package/es/mention/src/Mention.d.ts +314 -325
  335. package/es/mention/styles/dark.js +2 -6
  336. package/es/mention/styles/light.d.ts +23 -23
  337. package/es/mention/styles/light.js +3 -3
  338. package/es/menu/src/Menu.d.ts +490 -501
  339. package/es/menu/src/MenuOption.d.ts +138 -149
  340. package/es/menu/src/Submenu.d.ts +138 -149
  341. package/es/menu/styles/dark.js +1 -14
  342. package/es/menu/styles/light.d.ts +38 -38
  343. package/es/menu/styles/light.js +2 -4
  344. package/es/message/src/Message.d.ts +3 -7
  345. package/es/message/src/Message.js +10 -24
  346. package/es/message/src/MessageProvider.d.ts +195 -258
  347. package/es/message/src/MessageProvider.js +1 -1
  348. package/es/message/src/styles/index.cssr.js +10 -10
  349. package/es/message/styles/_common.d.ts +0 -5
  350. package/es/message/styles/_common.js +3 -8
  351. package/es/message/styles/light.d.ts +23 -30
  352. package/es/message/styles/light.js +14 -7
  353. package/es/message/styles/types.d.ts +4 -0
  354. package/es/message/styles/types.js +1 -0
  355. package/es/modal/src/BodyWrapper.d.ts +140 -173
  356. package/es/modal/src/BodyWrapper.js +7 -13
  357. package/es/modal/src/Modal.d.ts +340 -303
  358. package/es/modal/src/Modal.js +8 -6
  359. package/es/modal/src/presetProps.d.ts +20 -32
  360. package/es/modal/src/presetProps.js +4 -2
  361. package/es/modal/src/styles/index.cssr.js +2 -3
  362. package/es/modal/styles/light.d.ts +39 -27
  363. package/es/modal/styles/light.js +7 -4
  364. package/es/notification/src/Notification.d.ts +15 -7
  365. package/es/notification/src/Notification.js +14 -16
  366. package/es/notification/src/NotificationContainer.d.ts +159 -115
  367. package/es/notification/src/NotificationEnvironment.d.ts +8 -7
  368. package/es/notification/src/NotificationProvider.d.ts +644 -146
  369. package/es/notification/src/NotificationProvider.js +2 -1
  370. package/es/notification/src/styles/index.cssr.js +20 -25
  371. package/es/notification/styles/_common.d.ts +1 -6
  372. package/es/notification/styles/_common.js +2 -7
  373. package/es/notification/styles/light.d.ts +142 -32
  374. package/es/notification/styles/light.js +14 -7
  375. package/es/page-header/src/PageHeader.d.ts +18 -18
  376. package/es/page-header/styles/light.d.ts +4 -4
  377. package/es/page-header/styles/light.js +12 -3
  378. package/es/pagination/src/Pagination.d.ts +1564 -1039
  379. package/es/pagination/src/Pagination.js +1 -2
  380. package/es/pagination/src/styles/index.cssr.js +2 -4
  381. package/es/pagination/styles/dark.js +1 -11
  382. package/es/pagination/styles/light.d.ts +140 -91
  383. package/es/pagination/styles/light.js +73 -7
  384. package/es/popconfirm/src/Popconfirm.d.ts +172 -183
  385. package/es/popconfirm/styles/light.d.ts +9 -9
  386. package/es/popconfirm/styles/light.js +6 -3
  387. package/es/popover/src/Popover.d.ts +35 -35
  388. package/es/popover/src/Popover.js +2 -4
  389. package/es/popover/src/PopoverBody.d.ts +30 -30
  390. package/es/popover/src/PopoverBody.js +1 -6
  391. package/es/popover/styles/light.d.ts +6 -6
  392. package/es/popover/styles/light.js +15 -4
  393. package/es/popselect/src/Popselect.d.ts +286 -327
  394. package/es/popselect/src/PopselectPanel.d.ts +112 -126
  395. package/es/popselect/src/interface.d.ts +1 -1
  396. package/es/popselect/styles/light.d.ts +19 -22
  397. package/es/popselect/styles/light.js +2 -2
  398. package/es/progress/styles/dark.js +1 -7
  399. package/es/progress/styles/light.js +18 -18
  400. package/es/radio/src/Radio.d.ts +129 -50
  401. package/es/radio/src/Radio.js +17 -6
  402. package/es/radio/src/RadioButton.d.ts +5 -2
  403. package/es/radio/src/RadioButton.js +2 -2
  404. package/es/radio/src/RadioGroup.d.ts +121 -49
  405. package/es/radio/src/RadioGroup.js +1 -1
  406. package/es/radio/src/styles/radio-group.cssr.js +7 -7
  407. package/es/radio/src/styles/radio.cssr.js +19 -25
  408. package/es/radio/src/styles/rtl.cssr.js +2 -2
  409. package/es/radio/styles/dark.js +2 -8
  410. package/es/radio/styles/light.d.ts +15 -7
  411. package/es/radio/styles/light.js +54 -6
  412. package/es/rate/styles/dark.js +2 -11
  413. package/es/rate/styles/light.d.ts +1 -1
  414. package/es/rate/styles/light.js +4 -4
  415. package/es/result/src/Result.d.ts +36 -36
  416. package/es/result/styles/light.d.ts +8 -8
  417. package/es/result/styles/light.js +27 -3
  418. package/es/select/src/Select.d.ts +877 -385
  419. package/es/select/src/Select.js +2 -2
  420. package/es/select/src/interface.d.ts +0 -1
  421. package/es/select/styles/light.d.ts +76 -27
  422. package/es/select/styles/light.js +2 -2
  423. package/es/skeleton/src/styles/index.cssr.js +1 -1
  424. package/es/skeleton/styles/dark.js +2 -11
  425. package/es/skeleton/styles/light.d.ts +1 -2
  426. package/es/skeleton/styles/light.js +4 -4
  427. package/es/slider/src/Slider.d.ts +30 -30
  428. package/es/slider/styles/dark.js +2 -6
  429. package/es/slider/styles/light.d.ts +7 -7
  430. package/es/slider/styles/light.js +32 -6
  431. package/es/spin/styles/light.js +9 -15
  432. package/es/statistic/styles/light.js +7 -7
  433. package/es/status/index.d.ts +2 -0
  434. package/es/status/index.js +1 -0
  435. package/es/status/src/Status.d.ts +139 -0
  436. package/es/status/src/Status.js +81 -0
  437. package/es/status/src/styles/index.cssr.d.ts +2 -0
  438. package/es/status/src/styles/index.cssr.js +24 -0
  439. package/es/status/styles/dark.d.ts +3 -0
  440. package/es/status/styles/dark.js +8 -0
  441. package/es/status/styles/index.d.ts +3 -0
  442. package/es/status/styles/index.js +2 -0
  443. package/es/status/styles/light.d.ts +17 -0
  444. package/es/status/styles/light.js +21 -0
  445. package/es/steps/src/Step.d.ts +7 -1
  446. package/es/steps/src/Step.js +31 -22
  447. package/es/steps/src/Steps.d.ts +36 -36
  448. package/es/steps/src/styles/index.cssr.js +18 -3
  449. package/es/steps/styles/light.d.ts +8 -8
  450. package/es/steps/styles/light.js +36 -3
  451. package/es/styles.d.ts +2 -0
  452. package/es/styles.js +2 -0
  453. package/es/switch/src/Switch.d.ts +67 -67
  454. package/es/switch/styles/dark.js +2 -7
  455. package/es/switch/styles/light.d.ts +16 -16
  456. package/es/switch/styles/light.js +48 -5
  457. package/es/table/src/Table.d.ts +30 -30
  458. package/es/table/styles/light.d.ts +6 -6
  459. package/es/table/styles/light.js +29 -8
  460. package/es/tabs/src/Tab.js +5 -2
  461. package/es/tabs/src/Tabs.d.ts +160 -141
  462. package/es/tabs/src/Tabs.js +3 -2
  463. package/es/tabs/src/styles/index.cssr.js +17 -12
  464. package/es/tabs/styles/dark.js +1 -7
  465. package/es/tabs/styles/light.d.ts +35 -33
  466. package/es/tabs/styles/light.js +94 -7
  467. package/es/tag/src/Tag.d.ts +115 -87
  468. package/es/tag/src/Tag.js +2 -1
  469. package/es/tag/src/styles/index.cssr.js +1 -1
  470. package/es/tag/styles/dark.js +2 -29
  471. package/es/tag/styles/light.d.ts +19 -16
  472. package/es/tag/styles/light.js +113 -20
  473. package/es/theme-editor/src/ThemeEditor.d.ts +88 -99
  474. package/es/theme-editor/src/ThemeEditor.js +35 -2
  475. package/es/themes/dark.js +5 -1
  476. package/es/themes/light.js +5 -1
  477. package/es/thing/styles/light.js +4 -4
  478. package/es/time-picker/src/Panel.d.ts +104 -111
  479. package/es/time-picker/src/Panel.js +2 -2
  480. package/es/time-picker/src/TimePicker.d.ts +244 -214
  481. package/es/time-picker/src/TimePicker.js +2 -1
  482. package/es/time-picker/src/interface.d.ts +2 -1
  483. package/es/time-picker/src/styles/index.cssr.js +1 -0
  484. package/es/time-picker/styles/light.d.ts +19 -14
  485. package/es/time-picker/styles/light.js +19 -5
  486. package/es/timeline/src/Timeline.d.ts +30 -30
  487. package/es/timeline/styles/dark.js +2 -5
  488. package/es/timeline/styles/light.d.ts +7 -7
  489. package/es/timeline/styles/light.js +26 -4
  490. package/es/toggle-button/index.d.ts +2 -0
  491. package/es/toggle-button/index.js +1 -0
  492. package/es/toggle-button/src/ToggleButton.d.ts +551 -0
  493. package/es/toggle-button/src/ToggleButton.js +128 -0
  494. package/es/toggle-button/src/styles/toggle-button.cssr.d.ts +2 -0
  495. package/es/toggle-button/src/styles/toggle-button.cssr.js +73 -0
  496. package/es/toggle-button/styles/_common.d.ts +7 -0
  497. package/es/toggle-button/styles/_common.js +6 -0
  498. package/es/toggle-button/styles/dark.d.ts +3 -0
  499. package/es/toggle-button/styles/dark.js +8 -0
  500. package/es/toggle-button/styles/index.d.ts +3 -0
  501. package/es/toggle-button/styles/index.js +2 -0
  502. package/es/toggle-button/styles/light.d.ts +47 -0
  503. package/es/toggle-button/styles/light.js +18 -0
  504. package/es/tooltip/src/Tooltip.d.ts +185 -196
  505. package/es/tooltip/styles/dark.js +2 -5
  506. package/es/tooltip/styles/light.d.ts +13 -13
  507. package/es/tooltip/styles/light.js +19 -4
  508. package/es/transfer/src/Transfer.d.ts +632 -453
  509. package/es/transfer/src/TransferFilter.d.ts +142 -134
  510. package/es/transfer/src/TransferList.d.ts +142 -134
  511. package/es/transfer/src/TransferListItem.d.ts +142 -134
  512. package/es/transfer/src/styles/index.cssr.js +2 -0
  513. package/es/transfer/styles/dark.js +2 -13
  514. package/es/transfer/styles/light.d.ts +58 -39
  515. package/es/transfer/styles/light.js +39 -12
  516. package/es/tree/src/Tree.d.ts +418 -269
  517. package/es/tree/src/TreeNodeCheckbox.d.ts +121 -116
  518. package/es/tree/src/styles/index.cssr.js +5 -1
  519. package/es/tree/styles/dark.js +1 -7
  520. package/es/tree/styles/light.d.ts +33 -17
  521. package/es/tree/styles/light.js +14 -15
  522. package/es/tree-select/src/TreeSelect.d.ts +1145 -459
  523. package/es/tree-select/styles/light.d.ts +100 -32
  524. package/es/tree-select/styles/light.js +6 -6
  525. package/es/typography/src/a.d.ts +56 -56
  526. package/es/typography/src/blockquote.d.ts +61 -61
  527. package/es/typography/src/create-header.d.ts +74 -74
  528. package/es/typography/src/headers.d.ts +300 -300
  529. package/es/typography/src/hr.d.ts +47 -47
  530. package/es/typography/src/ol.d.ts +63 -63
  531. package/es/typography/src/p.d.ts +61 -61
  532. package/es/typography/src/text.d.ts +89 -89
  533. package/es/typography/src/ul.d.ts +63 -63
  534. package/es/typography/styles/light.d.ts +28 -28
  535. package/es/typography/styles/light.js +67 -3
  536. package/es/upload/src/Upload.d.ts +111 -149
  537. package/es/upload/src/UploadFile.d.ts +89 -100
  538. package/es/upload/src/UploadProgress.d.ts +89 -100
  539. package/es/upload/src/styles/index.cssr.js +5 -4
  540. package/es/upload/styles/dark.js +1 -9
  541. package/es/upload/styles/light.d.ts +1 -1
  542. package/es/upload/styles/light.js +22 -22
  543. package/es/version.d.ts +1 -1
  544. package/es/version.js +1 -1
  545. package/lib/_internal/checkbox/index.d.ts +2 -0
  546. package/lib/_internal/checkbox/index.js +7 -0
  547. package/lib/_internal/checkbox/src/use-checkbox.d.ts +53 -0
  548. package/lib/_internal/checkbox/src/use-checkbox.js +163 -0
  549. package/lib/_internal/close/src/styles/index.cssr.js +2 -0
  550. package/lib/_internal/icon/src/styles/index.cssr.js +2 -2
  551. package/lib/_internal/icons/ChevronDown.js +2 -2
  552. package/lib/_internal/icons/ChevronLeft.js +1 -1
  553. package/lib/_internal/icons/ChevronRight.js +1 -1
  554. package/lib/_internal/icons/Clear.js +2 -10
  555. package/lib/_internal/icons/ClearSmall.d.ts +2 -0
  556. package/lib/_internal/icons/ClearSmall.js +10 -0
  557. package/lib/_internal/icons/Close.js +2 -4
  558. package/lib/_internal/icons/Error.js +2 -4
  559. package/lib/_internal/icons/Inactive.d.ts +2 -0
  560. package/lib/_internal/icons/Inactive.js +10 -0
  561. package/lib/_internal/icons/InfoOutline.d.ts +2 -0
  562. package/lib/_internal/icons/InfoOutline.js +6 -0
  563. package/lib/_internal/icons/Success.js +2 -4
  564. package/lib/_internal/icons/Warning.js +2 -4
  565. package/lib/_internal/icons/index.d.ts +3 -0
  566. package/lib/_internal/icons/index.js +7 -1
  567. package/lib/_internal/index.d.ts +4 -0
  568. package/lib/_internal/index.js +9 -1
  569. package/lib/_internal/radio/index.d.ts +2 -0
  570. package/lib/_internal/radio/index.js +17 -0
  571. package/lib/_internal/radio/src/interface.d.ts +12 -0
  572. package/{es → lib/_internal}/radio/src/use-radio.d.ts +6 -13
  573. package/lib/{radio → _internal/radio}/src/use-radio.js +15 -19
  574. package/lib/_internal/select-menu/src/SelectMenu.d.ts +180 -211
  575. package/lib/_internal/select-menu/src/SelectMenu.js +3 -2
  576. package/lib/_internal/select-menu/src/interface.d.ts +1 -1
  577. package/lib/_internal/select-menu/src/styles/index.cssr.js +24 -18
  578. package/lib/_internal/select-menu/styles/light.d.ts +17 -23
  579. package/lib/_internal/select-menu/styles/light.js +34 -6
  580. package/lib/_internal/selection/index.d.ts +1 -0
  581. package/lib/_internal/selection/src/Selection.d.ts +583 -183
  582. package/lib/_internal/selection/src/Selection.js +102 -28
  583. package/lib/_internal/selection/src/interface.d.ts +1 -0
  584. package/lib/_internal/selection/src/styles/index.cssr.d.ts +2 -1
  585. package/lib/_internal/selection/src/styles/index.cssr.js +128 -40
  586. package/lib/_internal/selection/styles/dark.js +2 -29
  587. package/lib/_internal/selection/styles/light.d.ts +121 -17
  588. package/lib/_internal/selection/styles/light.js +122 -23
  589. package/lib/_internal/skeleton/src/styles/index.cssr.js +1 -1
  590. package/lib/_internal/skeleton/styles/dark.js +2 -11
  591. package/lib/_internal/skeleton/styles/light.d.ts +1 -2
  592. package/lib/_internal/skeleton/styles/light.js +6 -5
  593. package/lib/_styles/common/_common.d.ts +37 -12
  594. package/lib/_styles/common/_common.js +44 -19
  595. package/lib/_styles/common/dark.js +2 -98
  596. package/lib/_styles/common/light.d.ts +88 -99
  597. package/lib/_styles/common/light.js +1 -103
  598. package/lib/_styles/global/index.cssr.js +4 -5
  599. package/lib/_utils/index.d.ts +3 -0
  600. package/lib/_utils/index.js +5 -1
  601. package/lib/_utils/inject/index.d.ts +2 -0
  602. package/lib/_utils/inject/index.js +11 -0
  603. package/lib/_utils/themes/index.d.ts +1 -0
  604. package/lib/_utils/themes/index.js +5 -0
  605. package/lib/_utils/themes/rewrite-styles.d.ts +1 -0
  606. package/lib/_utils/themes/rewrite-styles.js +10 -0
  607. package/lib/_utils/types/index.d.ts +1 -0
  608. package/lib/_utils/types/index.js +17 -0
  609. package/lib/_utils/types/utility.types.d.ts +10 -0
  610. package/lib/{popconfirm/styles/_common.js → _utils/types/utility.types.js} +0 -3
  611. package/lib/_utils/uzum/prop.d.ts +2 -2
  612. package/lib/_utils/uzum/prop.js +0 -2
  613. package/lib/alert/src/Alert.d.ts +438 -271
  614. package/lib/alert/src/Alert.js +51 -55
  615. package/lib/alert/src/styles/index.cssr.js +92 -48
  616. package/lib/alert/styles/_common.d.ts +7 -6
  617. package/lib/alert/styles/_common.js +11 -8
  618. package/lib/alert/styles/dark.js +2 -18
  619. package/lib/alert/styles/light.d.ts +33 -16
  620. package/lib/alert/styles/light.js +18 -9
  621. package/lib/alert/styles/types.d.ts +4 -0
  622. package/lib/{calendar/styles/_common.js → alert/styles/types.js} +0 -3
  623. package/lib/anchor/src/AnchorAdapter.d.ts +30 -21
  624. package/lib/anchor/src/AnchorAdapter.js +2 -1
  625. package/lib/anchor/src/styles/index.cssr.js +2 -1
  626. package/lib/anchor/styles/light.d.ts +4 -3
  627. package/lib/anchor/styles/light.js +16 -8
  628. package/lib/auto-complete/src/AutoComplete.d.ts +317 -327
  629. package/lib/auto-complete/styles/light.d.ts +22 -22
  630. package/lib/auto-complete/styles/light.js +2 -2
  631. package/lib/avatar/src/Avatar.d.ts +0 -29
  632. package/lib/avatar/src/Avatar.js +4 -7
  633. package/lib/avatar/src/interface.d.ts +1 -1
  634. package/lib/avatar/src/styles/index.cssr.js +1 -3
  635. package/lib/avatar/styles/light.d.ts +0 -3
  636. package/lib/avatar/styles/light.js +7 -11
  637. package/lib/avatar-group/src/AvatarGroup.d.ts +88 -129
  638. package/lib/avatar-group/styles/light.d.ts +0 -3
  639. package/lib/back-top/src/BackTop.d.ts +24 -24
  640. package/lib/back-top/styles/dark.js +2 -8
  641. package/lib/back-top/styles/light.d.ts +5 -5
  642. package/lib/back-top/styles/light.js +18 -7
  643. package/lib/badge/src/Badge.d.ts +0 -10
  644. package/lib/badge/src/Badge.js +1 -2
  645. package/lib/badge/src/styles/index.cssr.js +0 -2
  646. package/lib/badge/styles/dark.js +2 -12
  647. package/lib/badge/styles/light.d.ts +1 -2
  648. package/lib/badge/styles/light.js +10 -9
  649. package/lib/breadcrumb/src/Breadcrumb.d.ts +10 -40
  650. package/lib/breadcrumb/src/Breadcrumb.js +2 -5
  651. package/lib/breadcrumb/src/styles/index.cssr.js +4 -9
  652. package/lib/breadcrumb/styles/light.d.ts +1 -4
  653. package/lib/breadcrumb/styles/light.js +11 -6
  654. package/lib/button/src/Button.d.ts +11 -11
  655. package/lib/button/src/Button.js +4 -4
  656. package/lib/button/src/styles/index.cssr.js +4 -10
  657. package/lib/button/styles/dark.js +1 -8
  658. package/lib/button/styles/light.d.ts +1 -1
  659. package/lib/button/styles/light.js +18 -18
  660. package/lib/calendar/src/Calendar.d.ts +108 -119
  661. package/lib/calendar/styles/light.d.ts +3 -3
  662. package/lib/calendar/styles/light.js +23 -8
  663. package/lib/card/src/Card.d.ts +295 -272
  664. package/lib/card/src/Card.js +13 -16
  665. package/lib/card/src/styles/index.cssr.js +5 -19
  666. package/lib/card/styles/_common.d.ts +0 -6
  667. package/lib/card/styles/_common.js +1 -7
  668. package/lib/card/styles/dark.js +1 -8
  669. package/lib/card/styles/light.d.ts +21 -17
  670. package/lib/card/styles/light.js +2 -5
  671. package/lib/cascader/src/Cascader.d.ts +1195 -555
  672. package/lib/cascader/src/CascaderMenu.d.ts +207 -153
  673. package/lib/cascader/src/CascaderOption.d.ts +207 -153
  674. package/lib/cascader/src/CascaderSelectMenu.d.ts +207 -153
  675. package/lib/cascader/src/CascaderSubmenu.d.ts +207 -153
  676. package/lib/cascader/src/styles/index.cssr.js +3 -3
  677. package/lib/cascader/styles/light.d.ts +109 -44
  678. package/lib/cascader/styles/light.js +12 -12
  679. package/lib/checkbox/index.d.ts +1 -1
  680. package/lib/checkbox/src/Checkbox.d.ts +457 -304
  681. package/lib/checkbox/src/Checkbox.js +41 -175
  682. package/lib/checkbox/src/CheckboxGroup.d.ts +2 -12
  683. package/lib/checkbox/src/CheckboxGroup.js +3 -3
  684. package/lib/checkbox/src/styles/index.cssr.js +112 -189
  685. package/lib/checkbox/styles/_common.d.ts +0 -3
  686. package/lib/checkbox/styles/_common.js +3 -6
  687. package/lib/checkbox/styles/dark.js +1 -7
  688. package/lib/checkbox/styles/light.d.ts +29 -13
  689. package/lib/checkbox/styles/light.js +2 -4
  690. package/lib/code/styles/dark.js +7 -20
  691. package/lib/code/styles/light.d.ts +1 -1
  692. package/lib/code/styles/light.js +7 -5
  693. package/lib/collapse/src/Collapse.d.ts +126 -104
  694. package/lib/collapse/src/Collapse.js +4 -1
  695. package/lib/collapse/src/CollapseItem.d.ts +2 -1
  696. package/lib/collapse/src/CollapseItem.js +12 -11
  697. package/lib/collapse/src/interface.d.ts +1 -0
  698. package/lib/collapse/src/styles/index.cssr.js +7 -2
  699. package/lib/collapse/styles/light.d.ts +3 -0
  700. package/lib/collapse/styles/light.js +12 -9
  701. package/lib/color-picker/src/ColorInputUnit.d.ts +103 -106
  702. package/lib/color-picker/src/ColorPicker.d.ts +138 -63
  703. package/lib/color-picker/src/ColorPicker.js +4 -1
  704. package/lib/color-picker/src/ColorPickerTrigger.js +1 -6
  705. package/lib/color-picker/src/styles/index.cssr.js +13 -1
  706. package/lib/color-picker/styles/light.d.ts +20 -7
  707. package/lib/color-picker/styles/light.js +15 -10
  708. package/lib/components.d.ts +2 -0
  709. package/lib/components.js +2 -0
  710. package/lib/config-provider/src/internal-interface.d.ts +7 -2
  711. package/lib/data-table/src/DataTable.d.ts +1978 -1437
  712. package/lib/data-table/src/DataTable.js +2 -3
  713. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +457 -347
  714. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +462 -352
  715. package/lib/data-table/src/TableParts/Body.d.ts +457 -347
  716. package/lib/data-table/src/TableParts/Body.js +3 -2
  717. package/lib/data-table/src/TableParts/Cell.d.ts +914 -694
  718. package/lib/data-table/src/TableParts/Header.d.ts +457 -347
  719. package/lib/data-table/src/TableParts/Header.js +3 -1
  720. package/lib/data-table/src/interface.d.ts +750 -534
  721. package/lib/data-table/src/styles/index.cssr.js +29 -36
  722. package/lib/data-table/styles/dark.js +1 -6
  723. package/lib/data-table/styles/light.d.ts +254 -183
  724. package/lib/data-table/styles/light.js +58 -13
  725. package/lib/date-picker/src/DatePicker.d.ts +748 -433
  726. package/lib/date-picker/src/DatePicker.js +52 -16
  727. package/lib/date-picker/src/interface.d.ts +2 -2
  728. package/lib/date-picker/src/panel/date.d.ts +166 -138
  729. package/lib/date-picker/src/panel/daterange.d.ts +160 -138
  730. package/lib/date-picker/src/panel/datetime.d.ts +160 -138
  731. package/lib/date-picker/src/panel/datetimerange.d.ts +160 -138
  732. package/lib/date-picker/src/panel/monthrange.d.ts +160 -138
  733. package/lib/date-picker/src/panel/panelMonth.d.ts +320 -276
  734. package/lib/date-picker/src/panel/panelMonth.js +2 -2
  735. package/lib/date-picker/src/panel/panelMonthContent.d.ts +160 -138
  736. package/lib/date-picker/src/panel/panelYear.d.ts +320 -276
  737. package/lib/date-picker/src/panel/panelYear.js +2 -2
  738. package/lib/date-picker/src/panel/panelYearContent.d.ts +160 -138
  739. package/lib/date-picker/src/panel/use-calendar.d.ts +160 -138
  740. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +160 -138
  741. package/lib/date-picker/src/panel/use-panel-common.d.ts +160 -138
  742. package/lib/date-picker/src/styles/index.cssr.js +75 -64
  743. package/lib/date-picker/styles/_common.d.ts +0 -1
  744. package/lib/date-picker/styles/_common.js +0 -1
  745. package/lib/date-picker/styles/dark.js +1 -9
  746. package/lib/date-picker/styles/light.d.ts +97 -44
  747. package/lib/date-picker/styles/light.js +12 -3
  748. package/lib/descriptions/src/Descriptions.d.ts +48 -48
  749. package/lib/descriptions/styles/light.d.ts +12 -12
  750. package/lib/descriptions/styles/light.js +33 -10
  751. package/lib/dialog/src/Dialog.d.ts +166 -159
  752. package/lib/dialog/src/Dialog.js +20 -11
  753. package/lib/dialog/src/DialogEnvironment.d.ts +6 -3
  754. package/lib/dialog/src/DialogEnvironment.js +1 -1
  755. package/lib/dialog/src/DialogProvider.d.ts +181 -202
  756. package/lib/dialog/src/dialogProps.d.ts +3 -2
  757. package/lib/dialog/src/dialogProps.js +2 -1
  758. package/lib/dialog/src/styles/index.cssr.js +7 -5
  759. package/lib/dialog/styles/_common.d.ts +1 -4
  760. package/lib/dialog/styles/_common.js +6 -9
  761. package/lib/dialog/styles/light.d.ts +19 -15
  762. package/lib/dialog/styles/light.js +2 -7
  763. package/lib/divider/src/Divider.d.ts +30 -0
  764. package/lib/divider/src/Divider.js +5 -2
  765. package/lib/divider/src/styles/index.cssr.js +7 -3
  766. package/lib/divider/styles/light.d.ts +3 -0
  767. package/lib/divider/styles/light.js +7 -4
  768. package/lib/drawer/index.d.ts +1 -0
  769. package/lib/drawer/src/Drawer.d.ts +312 -250
  770. package/lib/drawer/src/Drawer.js +67 -31
  771. package/lib/drawer/src/DrawerBodyWrapper.d.ts +107 -119
  772. package/lib/drawer/src/DrawerBodyWrapper.js +6 -30
  773. package/lib/drawer/src/DrawerContent.d.ts +158 -122
  774. package/lib/drawer/src/DrawerContent.js +79 -10
  775. package/lib/drawer/src/interface.d.ts +6 -1
  776. package/lib/drawer/src/styles/index.cssr.js +57 -28
  777. package/lib/drawer/styles/_common.d.ts +11 -0
  778. package/lib/drawer/styles/_common.js +12 -0
  779. package/lib/drawer/styles/light.d.ts +38 -24
  780. package/lib/drawer/styles/light.js +6 -24
  781. package/lib/dropdown/src/Dropdown.d.ts +322 -333
  782. package/lib/dropdown/styles/dark.js +1 -10
  783. package/lib/dropdown/styles/light.d.ts +34 -34
  784. package/lib/dropdown/styles/light.js +57 -12
  785. package/lib/dynamic-input/src/DynamicInput.d.ts +189 -170
  786. package/lib/dynamic-input/src/InputPreset.d.ts +98 -106
  787. package/lib/dynamic-input/src/PairPreset.d.ts +98 -106
  788. package/lib/dynamic-input/styles/light.d.ts +10 -7
  789. package/lib/dynamic-tags/src/DynamicTags.d.ts +375 -325
  790. package/lib/dynamic-tags/src/DynamicTags.js +8 -3
  791. package/lib/dynamic-tags/styles/light.d.ts +28 -22
  792. package/lib/ellipsis/src/Ellipsis.d.ts +184 -195
  793. package/lib/ellipsis/src/PerformantEllipsis.d.ts +54 -54
  794. package/lib/ellipsis/styles/light.d.ts +9 -9
  795. package/lib/empty/src/Empty.d.ts +24 -24
  796. package/lib/empty/styles/light.d.ts +4 -4
  797. package/lib/empty/styles/light.js +14 -9
  798. package/lib/form/src/Form.d.ts +117 -99
  799. package/lib/form/src/FormItem.d.ts +119 -102
  800. package/lib/form/src/FormItem.js +3 -4
  801. package/lib/form/src/FormItemCol.d.ts +117 -99
  802. package/lib/form/src/FormItemGridItem.d.ts +117 -99
  803. package/lib/form/src/FormItemRow.d.ts +117 -99
  804. package/lib/form/src/styles/form-item.cssr.js +14 -17
  805. package/lib/form/styles/light.d.ts +17 -15
  806. package/lib/form/styles/light.js +35 -6
  807. package/lib/global-style/src/GlobalStyle.js +5 -5
  808. package/lib/gradient-text/src/styles/index.cssr.js +1 -0
  809. package/lib/gradient-text/styles/dark.js +2 -17
  810. package/lib/gradient-text/styles/light.d.ts +1 -1
  811. package/lib/gradient-text/styles/light.js +15 -13
  812. package/lib/icon/styles/light.js +7 -7
  813. package/lib/icon-wrapper/styles/light.js +3 -3
  814. package/lib/image/src/Image.d.ts +90 -81
  815. package/lib/image/src/ImageGroup.d.ts +90 -81
  816. package/lib/image/src/ImagePreview.d.ts +61 -54
  817. package/lib/image/src/ImagePreview.js +3 -2
  818. package/lib/image/src/interface.d.ts +30 -27
  819. package/lib/image/src/styles/index.cssr.js +1 -1
  820. package/lib/image/styles/dark.js +2 -9
  821. package/lib/image/styles/light.d.ts +13 -11
  822. package/lib/image/styles/light.js +10 -7
  823. package/lib/input/index.d.ts +1 -1
  824. package/lib/input/src/Input.d.ts +166 -147
  825. package/lib/input/src/Input.js +7 -4
  826. package/lib/input/src/InputGroupLabel.d.ts +68 -41
  827. package/lib/input/src/interface.d.ts +1 -1
  828. package/lib/input/src/styles/input.cssr.js +5 -11
  829. package/lib/input/styles/dark.js +2 -23
  830. package/lib/input/styles/light.d.ts +10 -7
  831. package/lib/input/styles/light.js +72 -18
  832. package/lib/input-number/src/InputNumber.d.ts +204 -208
  833. package/lib/input-number/src/InputNumber.js +3 -11
  834. package/lib/input-number/src/interface.d.ts +0 -1
  835. package/lib/input-number/styles/dark.js +2 -6
  836. package/lib/input-number/styles/light.d.ts +12 -13
  837. package/lib/input-number/styles/light.js +4 -5
  838. package/lib/layout/src/Layout.d.ts +204 -198
  839. package/lib/layout/src/LayoutContent.d.ts +102 -99
  840. package/lib/layout/src/LayoutFooter.d.ts +18 -0
  841. package/lib/layout/src/LayoutHeader.d.ts +12 -0
  842. package/lib/layout/src/LayoutSider.d.ts +102 -99
  843. package/lib/layout/src/LayoutSider.js +5 -3
  844. package/lib/layout/src/ToggleButton.d.ts +2 -2
  845. package/lib/layout/styles/dark.js +2 -29
  846. package/lib/layout/styles/light.d.ts +4 -0
  847. package/lib/layout/styles/light.js +25 -24
  848. package/lib/legacy-transfer/src/Transfer.d.ts +538 -359
  849. package/lib/legacy-transfer/src/TransferFilter.d.ts +133 -125
  850. package/lib/legacy-transfer/src/TransferList.d.ts +133 -125
  851. package/lib/legacy-transfer/src/TransferListItem.d.ts +133 -125
  852. package/lib/legacy-transfer/styles/dark.js +2 -12
  853. package/lib/legacy-transfer/styles/light.d.ts +48 -29
  854. package/lib/legacy-transfer/styles/light.js +27 -12
  855. package/lib/list/index.d.ts +3 -2
  856. package/lib/list/index.js +2 -1
  857. package/lib/list/src/List.d.ts +218 -83
  858. package/lib/list/src/List.js +38 -24
  859. package/lib/list/src/ListItem.d.ts +122 -3
  860. package/lib/list/src/ListItem.js +183 -11
  861. package/lib/list/src/interface.d.ts +35 -0
  862. package/lib/list/src/interface.js +2 -0
  863. package/lib/list/src/props.d.ts +228 -0
  864. package/lib/list/src/props.js +62 -0
  865. package/lib/list/src/styles/index.cssr.js +141 -47
  866. package/lib/list/styles/light.d.ts +15 -0
  867. package/lib/list/styles/light.js +27 -13
  868. package/lib/loading-bar/styles/dark.js +2 -8
  869. package/lib/loading-bar/styles/light.d.ts +1 -1
  870. package/lib/loading-bar/styles/light.js +6 -4
  871. package/lib/log/src/Log.d.ts +88 -99
  872. package/lib/log/styles/dark.js +2 -10
  873. package/lib/log/styles/light.d.ts +1 -1
  874. package/lib/log/styles/light.js +9 -7
  875. package/lib/mention/src/Mention.d.ts +314 -325
  876. package/lib/mention/styles/dark.js +2 -6
  877. package/lib/mention/styles/light.d.ts +23 -23
  878. package/lib/mention/styles/light.js +5 -3
  879. package/lib/menu/src/Menu.d.ts +490 -501
  880. package/lib/menu/src/MenuOption.d.ts +138 -149
  881. package/lib/menu/src/Submenu.d.ts +138 -149
  882. package/lib/menu/styles/dark.js +1 -14
  883. package/lib/menu/styles/light.d.ts +38 -38
  884. package/lib/menu/styles/light.js +2 -4
  885. package/lib/message/src/Message.d.ts +3 -7
  886. package/lib/message/src/Message.js +8 -22
  887. package/lib/message/src/MessageProvider.d.ts +195 -258
  888. package/lib/message/src/MessageProvider.js +1 -1
  889. package/lib/message/src/styles/index.cssr.js +10 -10
  890. package/lib/message/styles/_common.d.ts +0 -5
  891. package/lib/message/styles/_common.js +3 -8
  892. package/lib/message/styles/light.d.ts +23 -30
  893. package/lib/message/styles/light.js +14 -7
  894. package/lib/message/styles/types.d.ts +4 -0
  895. package/lib/message/styles/types.js +2 -0
  896. package/lib/modal/src/BodyWrapper.d.ts +140 -173
  897. package/lib/modal/src/BodyWrapper.js +7 -13
  898. package/lib/modal/src/Modal.d.ts +340 -303
  899. package/lib/modal/src/Modal.js +7 -5
  900. package/lib/modal/src/presetProps.d.ts +20 -32
  901. package/lib/modal/src/presetProps.js +4 -2
  902. package/lib/modal/src/styles/index.cssr.js +2 -3
  903. package/lib/modal/styles/light.d.ts +39 -27
  904. package/lib/modal/styles/light.js +7 -4
  905. package/lib/notification/src/Notification.d.ts +15 -7
  906. package/lib/notification/src/Notification.js +13 -15
  907. package/lib/notification/src/NotificationContainer.d.ts +159 -115
  908. package/lib/notification/src/NotificationEnvironment.d.ts +8 -7
  909. package/lib/notification/src/NotificationProvider.d.ts +644 -146
  910. package/lib/notification/src/NotificationProvider.js +2 -1
  911. package/lib/notification/src/styles/index.cssr.js +20 -25
  912. package/lib/notification/styles/_common.d.ts +1 -6
  913. package/lib/notification/styles/_common.js +2 -7
  914. package/lib/notification/styles/light.d.ts +142 -32
  915. package/lib/notification/styles/light.js +14 -7
  916. package/lib/page-header/src/PageHeader.d.ts +18 -18
  917. package/lib/page-header/styles/light.d.ts +4 -4
  918. package/lib/page-header/styles/light.js +12 -6
  919. package/lib/pagination/src/Pagination.d.ts +1564 -1039
  920. package/lib/pagination/src/Pagination.js +1 -2
  921. package/lib/pagination/src/styles/index.cssr.js +2 -4
  922. package/lib/pagination/styles/dark.js +1 -11
  923. package/lib/pagination/styles/light.d.ts +140 -91
  924. package/lib/pagination/styles/light.js +73 -10
  925. package/lib/popconfirm/src/Popconfirm.d.ts +172 -183
  926. package/lib/popconfirm/styles/light.d.ts +9 -9
  927. package/lib/popconfirm/styles/light.js +6 -6
  928. package/lib/popover/src/Popover.d.ts +35 -35
  929. package/lib/popover/src/Popover.js +2 -4
  930. package/lib/popover/src/PopoverBody.d.ts +30 -30
  931. package/lib/popover/src/PopoverBody.js +1 -6
  932. package/lib/popover/styles/light.d.ts +6 -6
  933. package/lib/popover/styles/light.js +15 -7
  934. package/lib/popselect/src/Popselect.d.ts +286 -327
  935. package/lib/popselect/src/PopselectPanel.d.ts +112 -126
  936. package/lib/popselect/src/interface.d.ts +1 -1
  937. package/lib/popselect/styles/light.d.ts +19 -22
  938. package/lib/popselect/styles/light.js +2 -2
  939. package/lib/progress/styles/dark.js +1 -7
  940. package/lib/progress/styles/light.js +18 -18
  941. package/lib/radio/src/Radio.d.ts +129 -50
  942. package/lib/radio/src/Radio.js +16 -5
  943. package/lib/radio/src/RadioButton.d.ts +5 -2
  944. package/lib/radio/src/RadioButton.js +4 -4
  945. package/lib/radio/src/RadioGroup.d.ts +121 -49
  946. package/lib/radio/src/RadioGroup.js +2 -2
  947. package/lib/radio/src/styles/radio-group.cssr.js +7 -7
  948. package/lib/radio/src/styles/radio.cssr.js +19 -25
  949. package/lib/radio/src/styles/rtl.cssr.js +2 -2
  950. package/lib/radio/styles/dark.js +2 -11
  951. package/lib/radio/styles/light.d.ts +15 -7
  952. package/lib/radio/styles/light.js +56 -9
  953. package/lib/rate/styles/dark.js +2 -11
  954. package/lib/rate/styles/light.d.ts +1 -1
  955. package/lib/rate/styles/light.js +6 -4
  956. package/lib/result/src/Result.d.ts +36 -36
  957. package/lib/result/styles/light.d.ts +8 -8
  958. package/lib/result/styles/light.js +27 -6
  959. package/lib/select/src/Select.d.ts +877 -385
  960. package/lib/select/src/Select.js +2 -2
  961. package/lib/select/src/interface.d.ts +0 -1
  962. package/lib/select/styles/light.d.ts +76 -27
  963. package/lib/select/styles/light.js +2 -2
  964. package/lib/skeleton/src/styles/index.cssr.js +1 -1
  965. package/lib/skeleton/styles/dark.js +2 -11
  966. package/lib/skeleton/styles/light.d.ts +1 -2
  967. package/lib/skeleton/styles/light.js +6 -5
  968. package/lib/slider/src/Slider.d.ts +30 -30
  969. package/lib/slider/styles/dark.js +2 -9
  970. package/lib/slider/styles/light.d.ts +7 -7
  971. package/lib/slider/styles/light.js +34 -9
  972. package/lib/spin/styles/light.js +9 -15
  973. package/lib/statistic/styles/light.js +7 -7
  974. package/lib/status/index.d.ts +2 -0
  975. package/lib/status/index.js +9 -0
  976. package/lib/status/src/Status.d.ts +139 -0
  977. package/lib/status/src/Status.js +87 -0
  978. package/lib/status/src/styles/index.cssr.d.ts +2 -0
  979. package/lib/status/src/styles/index.cssr.js +29 -0
  980. package/lib/status/styles/dark.d.ts +3 -0
  981. package/lib/status/styles/dark.js +10 -0
  982. package/lib/status/styles/index.d.ts +3 -0
  983. package/lib/status/styles/index.js +10 -0
  984. package/lib/status/styles/light.d.ts +17 -0
  985. package/lib/status/styles/light.js +25 -0
  986. package/lib/steps/src/Step.d.ts +7 -1
  987. package/lib/steps/src/Step.js +31 -22
  988. package/lib/steps/src/Steps.d.ts +36 -36
  989. package/lib/steps/src/styles/index.cssr.js +18 -3
  990. package/lib/steps/styles/light.d.ts +8 -8
  991. package/lib/steps/styles/light.js +36 -6
  992. package/lib/styles.d.ts +2 -0
  993. package/lib/styles.js +51 -46
  994. package/lib/switch/src/Switch.d.ts +67 -67
  995. package/lib/switch/styles/dark.js +2 -10
  996. package/lib/switch/styles/light.d.ts +16 -16
  997. package/lib/switch/styles/light.js +50 -8
  998. package/lib/table/src/Table.d.ts +30 -30
  999. package/lib/table/styles/light.d.ts +6 -6
  1000. package/lib/table/styles/light.js +29 -11
  1001. package/lib/tabs/src/Tab.js +4 -1
  1002. package/lib/tabs/src/Tabs.d.ts +160 -141
  1003. package/lib/tabs/src/Tabs.js +3 -2
  1004. package/lib/tabs/src/styles/index.cssr.js +17 -12
  1005. package/lib/tabs/styles/dark.js +1 -7
  1006. package/lib/tabs/styles/light.d.ts +35 -33
  1007. package/lib/tabs/styles/light.js +94 -10
  1008. package/lib/tag/src/Tag.d.ts +115 -87
  1009. package/lib/tag/src/Tag.js +2 -1
  1010. package/lib/tag/src/styles/index.cssr.js +1 -1
  1011. package/lib/tag/styles/dark.js +2 -32
  1012. package/lib/tag/styles/light.d.ts +19 -16
  1013. package/lib/tag/styles/light.js +115 -23
  1014. package/lib/theme-editor/src/ThemeEditor.d.ts +88 -99
  1015. package/lib/theme-editor/src/ThemeEditor.js +35 -2
  1016. package/lib/themes/dark.js +34 -30
  1017. package/lib/themes/light.js +34 -30
  1018. package/lib/thing/styles/light.js +4 -4
  1019. package/lib/time-picker/src/Panel.d.ts +104 -111
  1020. package/lib/time-picker/src/Panel.js +2 -2
  1021. package/lib/time-picker/src/TimePicker.d.ts +244 -214
  1022. package/lib/time-picker/src/TimePicker.js +2 -1
  1023. package/lib/time-picker/src/interface.d.ts +2 -1
  1024. package/lib/time-picker/src/styles/index.cssr.js +1 -0
  1025. package/lib/time-picker/styles/light.d.ts +19 -14
  1026. package/lib/time-picker/styles/light.js +19 -8
  1027. package/lib/timeline/src/Timeline.d.ts +30 -30
  1028. package/lib/timeline/styles/dark.js +2 -8
  1029. package/lib/timeline/styles/light.d.ts +7 -7
  1030. package/lib/timeline/styles/light.js +28 -7
  1031. package/lib/toggle-button/index.d.ts +2 -0
  1032. package/lib/toggle-button/index.js +9 -0
  1033. package/lib/toggle-button/src/ToggleButton.d.ts +551 -0
  1034. package/lib/toggle-button/src/ToggleButton.js +134 -0
  1035. package/lib/toggle-button/src/styles/toggle-button.cssr.d.ts +2 -0
  1036. package/lib/toggle-button/src/styles/toggle-button.cssr.js +78 -0
  1037. package/lib/toggle-button/styles/_common.d.ts +7 -0
  1038. package/lib/toggle-button/styles/_common.js +8 -0
  1039. package/lib/toggle-button/styles/dark.d.ts +3 -0
  1040. package/lib/toggle-button/styles/dark.js +10 -0
  1041. package/lib/toggle-button/styles/index.d.ts +3 -0
  1042. package/lib/toggle-button/styles/index.js +10 -0
  1043. package/lib/toggle-button/styles/light.d.ts +47 -0
  1044. package/lib/toggle-button/styles/light.js +25 -0
  1045. package/lib/tooltip/src/Tooltip.d.ts +185 -196
  1046. package/lib/tooltip/styles/dark.js +2 -8
  1047. package/lib/tooltip/styles/light.d.ts +13 -13
  1048. package/lib/tooltip/styles/light.js +21 -7
  1049. package/lib/transfer/src/Transfer.d.ts +632 -453
  1050. package/lib/transfer/src/TransferFilter.d.ts +142 -134
  1051. package/lib/transfer/src/TransferList.d.ts +142 -134
  1052. package/lib/transfer/src/TransferListItem.d.ts +142 -134
  1053. package/lib/transfer/src/styles/index.cssr.js +2 -0
  1054. package/lib/transfer/styles/dark.js +2 -16
  1055. package/lib/transfer/styles/light.d.ts +58 -39
  1056. package/lib/transfer/styles/light.js +41 -15
  1057. package/lib/tree/src/Tree.d.ts +418 -269
  1058. package/lib/tree/src/TreeNodeCheckbox.d.ts +121 -116
  1059. package/lib/tree/src/styles/index.cssr.js +5 -1
  1060. package/lib/tree/styles/dark.js +1 -7
  1061. package/lib/tree/styles/light.d.ts +33 -17
  1062. package/lib/tree/styles/light.js +14 -15
  1063. package/lib/tree-select/src/TreeSelect.d.ts +1145 -459
  1064. package/lib/tree-select/styles/light.d.ts +100 -32
  1065. package/lib/tree-select/styles/light.js +6 -6
  1066. package/lib/typography/src/a.d.ts +56 -56
  1067. package/lib/typography/src/blockquote.d.ts +61 -61
  1068. package/lib/typography/src/create-header.d.ts +74 -74
  1069. package/lib/typography/src/headers.d.ts +300 -300
  1070. package/lib/typography/src/hr.d.ts +47 -47
  1071. package/lib/typography/src/ol.d.ts +63 -63
  1072. package/lib/typography/src/p.d.ts +61 -61
  1073. package/lib/typography/src/text.d.ts +89 -89
  1074. package/lib/typography/src/ul.d.ts +63 -63
  1075. package/lib/typography/styles/light.d.ts +28 -28
  1076. package/lib/typography/styles/light.js +67 -6
  1077. package/lib/upload/src/Upload.d.ts +111 -149
  1078. package/lib/upload/src/UploadFile.d.ts +89 -100
  1079. package/lib/upload/src/UploadProgress.d.ts +89 -100
  1080. package/lib/upload/src/styles/index.cssr.js +5 -4
  1081. package/lib/upload/styles/dark.js +1 -9
  1082. package/lib/upload/styles/light.d.ts +1 -1
  1083. package/lib/upload/styles/light.js +22 -22
  1084. package/lib/version.d.ts +1 -1
  1085. package/lib/version.js +1 -1
  1086. package/package.json +87 -85
  1087. package/volar.d.ts +5 -3
  1088. package/web-types.json +653 -199
  1089. package/es/_internal/select-menu/styles/_common.d.ts +0 -13
  1090. package/es/_internal/select-menu/styles/_common.js +0 -12
  1091. package/es/_internal/selection/styles/_common.d.ts +0 -7
  1092. package/es/_internal/selection/styles/_common.js +0 -6
  1093. package/es/anchor/styles/_common.d.ts +0 -6
  1094. package/es/anchor/styles/_common.js +0 -5
  1095. package/es/back-top/styles/_common.d.ts +0 -7
  1096. package/es/back-top/styles/_common.js +0 -6
  1097. package/es/breadcrumb/styles/_common.d.ts +0 -4
  1098. package/es/breadcrumb/styles/_common.js +0 -3
  1099. package/es/calendar/styles/_common.d.ts +0 -4
  1100. package/es/calendar/styles/_common.js +0 -3
  1101. package/es/data-table/styles/_common.d.ts +0 -23
  1102. package/es/data-table/styles/_common.js +0 -22
  1103. package/es/descriptions/styles/_common.d.ts +0 -15
  1104. package/es/descriptions/styles/_common.js +0 -14
  1105. package/es/dropdown/styles/_common.d.ts +0 -24
  1106. package/es/dropdown/styles/_common.js +0 -23
  1107. package/es/empty/styles/_common.d.ts +0 -7
  1108. package/es/empty/styles/_common.js +0 -6
  1109. package/es/form/styles/_common.d.ts +0 -24
  1110. package/es/form/styles/_common.js +0 -23
  1111. package/es/input/styles/_common.d.ts +0 -8
  1112. package/es/input/styles/_common.js +0 -7
  1113. package/es/legacy-transfer/styles/_common.d.ts +0 -5
  1114. package/es/legacy-transfer/styles/_common.js +0 -4
  1115. package/es/page-header/styles/_common.d.ts +0 -5
  1116. package/es/page-header/styles/_common.js +0 -4
  1117. package/es/pagination/styles/_common.d.ts +0 -36
  1118. package/es/pagination/styles/_common.js +0 -35
  1119. package/es/popconfirm/styles/_common.d.ts +0 -4
  1120. package/es/popconfirm/styles/_common.js +0 -3
  1121. package/es/popover/styles/_common.d.ts +0 -9
  1122. package/es/popover/styles/_common.js +0 -8
  1123. package/es/radio/src/interface.d.ts +0 -2
  1124. package/es/radio/styles/_common.d.ts +0 -8
  1125. package/es/radio/styles/_common.js +0 -7
  1126. package/es/result/styles/_common.d.ts +0 -19
  1127. package/es/result/styles/_common.js +0 -18
  1128. package/es/slider/styles/_common.d.ts +0 -9
  1129. package/es/slider/styles/_common.js +0 -8
  1130. package/es/steps/styles/_common.d.ts +0 -11
  1131. package/es/steps/styles/_common.js +0 -10
  1132. package/es/switch/styles/_common.d.ts +0 -18
  1133. package/es/switch/styles/_common.js +0 -17
  1134. package/es/table/styles/_common.d.ts +0 -9
  1135. package/es/table/styles/_common.js +0 -8
  1136. package/es/tabs/styles/_common.d.ts +0 -59
  1137. package/es/tabs/styles/_common.js +0 -58
  1138. package/es/tag/styles/_common.d.ts +0 -15
  1139. package/es/tag/styles/_common.js +0 -14
  1140. package/es/time-picker/styles/_common.d.ts +0 -7
  1141. package/es/time-picker/styles/_common.js +0 -6
  1142. package/es/timeline/styles/_common.d.ts +0 -9
  1143. package/es/timeline/styles/_common.js +0 -8
  1144. package/es/tooltip/styles/_common.d.ts +0 -15
  1145. package/es/tooltip/styles/_common.js +0 -14
  1146. package/es/transfer/styles/_common.d.ts +0 -14
  1147. package/es/transfer/styles/_common.js +0 -13
  1148. package/es/typography/styles/_common.d.ts +0 -31
  1149. package/es/typography/styles/_common.js +0 -30
  1150. package/lib/_internal/select-menu/styles/_common.d.ts +0 -13
  1151. package/lib/_internal/select-menu/styles/_common.js +0 -14
  1152. package/lib/_internal/selection/styles/_common.d.ts +0 -7
  1153. package/lib/_internal/selection/styles/_common.js +0 -8
  1154. package/lib/anchor/styles/_common.d.ts +0 -6
  1155. package/lib/anchor/styles/_common.js +0 -7
  1156. package/lib/back-top/styles/_common.d.ts +0 -7
  1157. package/lib/back-top/styles/_common.js +0 -8
  1158. package/lib/breadcrumb/styles/_common.d.ts +0 -4
  1159. package/lib/breadcrumb/styles/_common.js +0 -5
  1160. package/lib/calendar/styles/_common.d.ts +0 -4
  1161. package/lib/data-table/styles/_common.d.ts +0 -23
  1162. package/lib/data-table/styles/_common.js +0 -24
  1163. package/lib/descriptions/styles/_common.d.ts +0 -15
  1164. package/lib/descriptions/styles/_common.js +0 -16
  1165. package/lib/dropdown/styles/_common.d.ts +0 -24
  1166. package/lib/dropdown/styles/_common.js +0 -25
  1167. package/lib/empty/styles/_common.d.ts +0 -7
  1168. package/lib/empty/styles/_common.js +0 -8
  1169. package/lib/form/styles/_common.d.ts +0 -24
  1170. package/lib/form/styles/_common.js +0 -25
  1171. package/lib/input/styles/_common.d.ts +0 -8
  1172. package/lib/input/styles/_common.js +0 -9
  1173. package/lib/legacy-transfer/styles/_common.d.ts +0 -5
  1174. package/lib/legacy-transfer/styles/_common.js +0 -6
  1175. package/lib/page-header/styles/_common.d.ts +0 -5
  1176. package/lib/page-header/styles/_common.js +0 -6
  1177. package/lib/pagination/styles/_common.d.ts +0 -36
  1178. package/lib/pagination/styles/_common.js +0 -37
  1179. package/lib/popconfirm/styles/_common.d.ts +0 -4
  1180. package/lib/popover/styles/_common.d.ts +0 -9
  1181. package/lib/popover/styles/_common.js +0 -10
  1182. package/lib/radio/src/interface.d.ts +0 -2
  1183. package/lib/radio/styles/_common.d.ts +0 -8
  1184. package/lib/radio/styles/_common.js +0 -9
  1185. package/lib/result/styles/_common.d.ts +0 -19
  1186. package/lib/result/styles/_common.js +0 -20
  1187. package/lib/slider/styles/_common.d.ts +0 -9
  1188. package/lib/slider/styles/_common.js +0 -10
  1189. package/lib/steps/styles/_common.d.ts +0 -11
  1190. package/lib/steps/styles/_common.js +0 -12
  1191. package/lib/switch/styles/_common.d.ts +0 -18
  1192. package/lib/switch/styles/_common.js +0 -19
  1193. package/lib/table/styles/_common.d.ts +0 -9
  1194. package/lib/table/styles/_common.js +0 -10
  1195. package/lib/tabs/styles/_common.d.ts +0 -59
  1196. package/lib/tabs/styles/_common.js +0 -60
  1197. package/lib/tag/styles/_common.d.ts +0 -15
  1198. package/lib/tag/styles/_common.js +0 -16
  1199. package/lib/time-picker/styles/_common.d.ts +0 -7
  1200. package/lib/time-picker/styles/_common.js +0 -8
  1201. package/lib/timeline/styles/_common.d.ts +0 -9
  1202. package/lib/timeline/styles/_common.js +0 -10
  1203. package/lib/tooltip/styles/_common.d.ts +0 -15
  1204. package/lib/tooltip/styles/_common.js +0 -16
  1205. package/lib/transfer/styles/_common.d.ts +0 -14
  1206. package/lib/transfer/styles/_common.js +0 -15
  1207. package/lib/typography/styles/_common.d.ts +0 -31
  1208. package/lib/typography/styles/_common.js +0 -32
  1209. /package/es/{checkbox → _internal/checkbox}/src/interface.d.ts +0 -0
  1210. /package/es/{checkbox → _internal/checkbox}/src/interface.js +0 -0
  1211. /package/es/{radio → _internal/radio}/src/interface.js +0 -0
  1212. /package/lib/{checkbox → _internal/checkbox}/src/interface.d.ts +0 -0
  1213. /package/lib/{checkbox → _internal/checkbox}/src/interface.js +0 -0
  1214. /package/lib/{radio → _internal/radio}/src/interface.js +0 -0
@@ -0,0 +1,551 @@
1
+ import { PropType } from 'vue';
2
+ import type { ExtractPublicPropTypes } from '../../_utils';
3
+ export declare const toggleButtonProps: {
4
+ name: StringConstructor;
5
+ title: StringConstructor;
6
+ footer: StringConstructor;
7
+ description: StringConstructor;
8
+ type: {
9
+ type: PropType<"checkbox" | "radio">;
10
+ default: string;
11
+ };
12
+ value: {
13
+ type: PropType<string | number | boolean>;
14
+ default: string;
15
+ };
16
+ viewType: {
17
+ type: PropType<"default" | "primary">;
18
+ default: string;
19
+ };
20
+ size: PropType<"small" | "medium" | "large">;
21
+ checked: {
22
+ type: PropType<string | number | boolean | undefined>;
23
+ default: undefined;
24
+ };
25
+ defaultChecked: {
26
+ type: PropType<string | number | boolean>;
27
+ default: boolean;
28
+ };
29
+ disabled: {
30
+ type: PropType<boolean | undefined>;
31
+ default: undefined;
32
+ };
33
+ checkedValue: {
34
+ type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
35
+ default: boolean;
36
+ };
37
+ uncheckedValue: {
38
+ type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
39
+ default: boolean;
40
+ };
41
+ 'onUpdate:checked': PropType<import("../../_utils").MaybeArray<import("../../_internal").OnUpdateChecked>>;
42
+ onUpdateChecked: PropType<import("../../_utils").MaybeArray<import("../../_internal").OnUpdateChecked>>;
43
+ onChange: PropType<import("../../_utils").MaybeArray<import("../../_internal").OnUpdateChecked>>;
44
+ theme: PropType<import("../../_mixins").Theme<"ToggleButton", {
45
+ borderRadius: string;
46
+ titleFontSize: string;
47
+ titleFontWeight: string;
48
+ titleLineHeight: string;
49
+ descriptionFontSize: string;
50
+ descriptionFontWeight: string;
51
+ descriptionLineHeight: string;
52
+ footerFontSize: string;
53
+ footerFontWeight: string;
54
+ footerLineHeight: string;
55
+ iconSize: string;
56
+ backgroundColor: string;
57
+ backgroundColorFocus: string;
58
+ backgroundColorHover: string;
59
+ backgroundColorChecked: string;
60
+ color: string;
61
+ colorFocus: string;
62
+ colorHover: string;
63
+ colorChecked: string;
64
+ backgroundColorPrimary: string;
65
+ backgroundColorFocusPrimary: string;
66
+ backgroundColorHoverPrimary: string;
67
+ backgroundColorCheckedPrimary: string;
68
+ colorPrimary: string;
69
+ colorFocusPrimary: string;
70
+ colorHoverPrimary: string;
71
+ colorCheckedPrimary: string;
72
+ backgroundColorDisabled: string;
73
+ backgroundColorFocusDisabled: string;
74
+ backgroundColorHoverDisabled: string;
75
+ backgroundColorCheckedDisabled: string;
76
+ colorDisabled: string;
77
+ colorFocusDisabled: string;
78
+ colorHoverDisabled: string;
79
+ colorCheckedDisabled: string;
80
+ padding: string;
81
+ titleMarginBottom: string;
82
+ descriptionMarginBottom: string;
83
+ iconMargin: string;
84
+ }, any>>;
85
+ themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"ToggleButton", {
86
+ borderRadius: string;
87
+ titleFontSize: string;
88
+ titleFontWeight: string;
89
+ titleLineHeight: string;
90
+ descriptionFontSize: string;
91
+ descriptionFontWeight: string;
92
+ descriptionLineHeight: string;
93
+ footerFontSize: string;
94
+ footerFontWeight: string;
95
+ footerLineHeight: string;
96
+ iconSize: string;
97
+ backgroundColor: string;
98
+ backgroundColorFocus: string;
99
+ backgroundColorHover: string;
100
+ backgroundColorChecked: string;
101
+ color: string;
102
+ colorFocus: string;
103
+ colorHover: string;
104
+ colorChecked: string;
105
+ backgroundColorPrimary: string;
106
+ backgroundColorFocusPrimary: string;
107
+ backgroundColorHoverPrimary: string;
108
+ backgroundColorCheckedPrimary: string;
109
+ colorPrimary: string;
110
+ colorFocusPrimary: string;
111
+ colorHoverPrimary: string;
112
+ colorCheckedPrimary: string;
113
+ backgroundColorDisabled: string;
114
+ backgroundColorFocusDisabled: string;
115
+ backgroundColorHoverDisabled: string;
116
+ backgroundColorCheckedDisabled: string;
117
+ colorDisabled: string;
118
+ colorFocusDisabled: string;
119
+ colorHoverDisabled: string;
120
+ colorCheckedDisabled: string;
121
+ padding: string;
122
+ titleMarginBottom: string;
123
+ descriptionMarginBottom: string;
124
+ iconMargin: string;
125
+ }, any>>>;
126
+ builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"ToggleButton", {
127
+ borderRadius: string;
128
+ titleFontSize: string;
129
+ titleFontWeight: string;
130
+ titleLineHeight: string;
131
+ descriptionFontSize: string;
132
+ descriptionFontWeight: string;
133
+ descriptionLineHeight: string;
134
+ footerFontSize: string;
135
+ footerFontWeight: string;
136
+ footerLineHeight: string;
137
+ iconSize: string;
138
+ backgroundColor: string;
139
+ backgroundColorFocus: string;
140
+ backgroundColorHover: string;
141
+ backgroundColorChecked: string;
142
+ color: string;
143
+ colorFocus: string;
144
+ colorHover: string;
145
+ colorChecked: string;
146
+ backgroundColorPrimary: string;
147
+ backgroundColorFocusPrimary: string;
148
+ backgroundColorHoverPrimary: string;
149
+ backgroundColorCheckedPrimary: string;
150
+ colorPrimary: string;
151
+ colorFocusPrimary: string;
152
+ colorHoverPrimary: string;
153
+ colorCheckedPrimary: string;
154
+ backgroundColorDisabled: string;
155
+ backgroundColorFocusDisabled: string;
156
+ backgroundColorHoverDisabled: string;
157
+ backgroundColorCheckedDisabled: string;
158
+ colorDisabled: string;
159
+ colorFocusDisabled: string;
160
+ colorHoverDisabled: string;
161
+ colorCheckedDisabled: string;
162
+ padding: string;
163
+ titleMarginBottom: string;
164
+ descriptionMarginBottom: string;
165
+ iconMargin: string;
166
+ }, any>>>;
167
+ };
168
+ export type ToggleButtonProps = ExtractPublicPropTypes<typeof toggleButtonProps>;
169
+ declare const _default: import("vue").DefineComponent<{
170
+ name: StringConstructor;
171
+ title: StringConstructor;
172
+ footer: StringConstructor;
173
+ description: StringConstructor;
174
+ type: {
175
+ type: PropType<"checkbox" | "radio">;
176
+ default: string;
177
+ };
178
+ value: {
179
+ type: PropType<string | number | boolean>;
180
+ default: string;
181
+ };
182
+ viewType: {
183
+ type: PropType<"default" | "primary">;
184
+ default: string;
185
+ };
186
+ size: PropType<"small" | "medium" | "large">;
187
+ checked: {
188
+ type: PropType<string | number | boolean | undefined>;
189
+ default: undefined;
190
+ };
191
+ defaultChecked: {
192
+ type: PropType<string | number | boolean>;
193
+ default: boolean;
194
+ };
195
+ disabled: {
196
+ type: PropType<boolean | undefined>;
197
+ default: undefined;
198
+ };
199
+ checkedValue: {
200
+ type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
201
+ default: boolean;
202
+ };
203
+ uncheckedValue: {
204
+ type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
205
+ default: boolean;
206
+ };
207
+ 'onUpdate:checked': PropType<import("../../_utils").MaybeArray<import("../../_internal").OnUpdateChecked>>;
208
+ onUpdateChecked: PropType<import("../../_utils").MaybeArray<import("../../_internal").OnUpdateChecked>>;
209
+ onChange: PropType<import("../../_utils").MaybeArray<import("../../_internal").OnUpdateChecked>>;
210
+ theme: PropType<import("../../_mixins").Theme<"ToggleButton", {
211
+ borderRadius: string;
212
+ titleFontSize: string;
213
+ titleFontWeight: string;
214
+ titleLineHeight: string;
215
+ descriptionFontSize: string;
216
+ descriptionFontWeight: string;
217
+ descriptionLineHeight: string;
218
+ footerFontSize: string;
219
+ footerFontWeight: string;
220
+ footerLineHeight: string;
221
+ iconSize: string;
222
+ backgroundColor: string;
223
+ backgroundColorFocus: string;
224
+ backgroundColorHover: string;
225
+ backgroundColorChecked: string;
226
+ color: string;
227
+ colorFocus: string;
228
+ colorHover: string;
229
+ colorChecked: string;
230
+ backgroundColorPrimary: string;
231
+ backgroundColorFocusPrimary: string;
232
+ backgroundColorHoverPrimary: string;
233
+ backgroundColorCheckedPrimary: string;
234
+ colorPrimary: string;
235
+ colorFocusPrimary: string;
236
+ colorHoverPrimary: string;
237
+ colorCheckedPrimary: string;
238
+ backgroundColorDisabled: string;
239
+ backgroundColorFocusDisabled: string;
240
+ backgroundColorHoverDisabled: string;
241
+ backgroundColorCheckedDisabled: string;
242
+ colorDisabled: string;
243
+ colorFocusDisabled: string;
244
+ colorHoverDisabled: string;
245
+ colorCheckedDisabled: string;
246
+ padding: string;
247
+ titleMarginBottom: string;
248
+ descriptionMarginBottom: string;
249
+ iconMargin: string;
250
+ }, any>>;
251
+ themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"ToggleButton", {
252
+ borderRadius: string;
253
+ titleFontSize: string;
254
+ titleFontWeight: string;
255
+ titleLineHeight: string;
256
+ descriptionFontSize: string;
257
+ descriptionFontWeight: string;
258
+ descriptionLineHeight: string;
259
+ footerFontSize: string;
260
+ footerFontWeight: string;
261
+ footerLineHeight: string;
262
+ iconSize: string;
263
+ backgroundColor: string;
264
+ backgroundColorFocus: string;
265
+ backgroundColorHover: string;
266
+ backgroundColorChecked: string;
267
+ color: string;
268
+ colorFocus: string;
269
+ colorHover: string;
270
+ colorChecked: string;
271
+ backgroundColorPrimary: string;
272
+ backgroundColorFocusPrimary: string;
273
+ backgroundColorHoverPrimary: string;
274
+ backgroundColorCheckedPrimary: string;
275
+ colorPrimary: string;
276
+ colorFocusPrimary: string;
277
+ colorHoverPrimary: string;
278
+ colorCheckedPrimary: string;
279
+ backgroundColorDisabled: string;
280
+ backgroundColorFocusDisabled: string;
281
+ backgroundColorHoverDisabled: string;
282
+ backgroundColorCheckedDisabled: string;
283
+ colorDisabled: string;
284
+ colorFocusDisabled: string;
285
+ colorHoverDisabled: string;
286
+ colorCheckedDisabled: string;
287
+ padding: string;
288
+ titleMarginBottom: string;
289
+ descriptionMarginBottom: string;
290
+ iconMargin: string;
291
+ }, any>>>;
292
+ builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"ToggleButton", {
293
+ borderRadius: string;
294
+ titleFontSize: string;
295
+ titleFontWeight: string;
296
+ titleLineHeight: string;
297
+ descriptionFontSize: string;
298
+ descriptionFontWeight: string;
299
+ descriptionLineHeight: string;
300
+ footerFontSize: string;
301
+ footerFontWeight: string;
302
+ footerLineHeight: string;
303
+ iconSize: string;
304
+ backgroundColor: string;
305
+ backgroundColorFocus: string;
306
+ backgroundColorHover: string;
307
+ backgroundColorChecked: string;
308
+ color: string;
309
+ colorFocus: string;
310
+ colorHover: string;
311
+ colorChecked: string;
312
+ backgroundColorPrimary: string;
313
+ backgroundColorFocusPrimary: string;
314
+ backgroundColorHoverPrimary: string;
315
+ backgroundColorCheckedPrimary: string;
316
+ colorPrimary: string;
317
+ colorFocusPrimary: string;
318
+ colorHoverPrimary: string;
319
+ colorCheckedPrimary: string;
320
+ backgroundColorDisabled: string;
321
+ backgroundColorFocusDisabled: string;
322
+ backgroundColorHoverDisabled: string;
323
+ backgroundColorCheckedDisabled: string;
324
+ colorDisabled: string;
325
+ colorFocusDisabled: string;
326
+ colorHoverDisabled: string;
327
+ colorCheckedDisabled: string;
328
+ padding: string;
329
+ titleMarginBottom: string;
330
+ descriptionMarginBottom: string;
331
+ iconMargin: string;
332
+ }, any>>>;
333
+ }, {
334
+ radioName: import("vue").Ref<string | undefined>;
335
+ radioHandleFocus: () => void;
336
+ radioHandleBlur: () => void;
337
+ radioHandleChange: import("../../_internal/radio").OnChangeImpl;
338
+ } & {
339
+ checkboxHandleFocus: () => void;
340
+ checkboxHandleBlur: () => void;
341
+ checkboxHandleKeyUp: (e: KeyboardEvent) => void;
342
+ checkboxHandleKeyDown: (e: KeyboardEvent) => void;
343
+ checkboxHandleClick: (e: MouseEvent) => void;
344
+ } & {
345
+ cssVars: import("vue").ComputedRef<{
346
+ '--u-bezier': string;
347
+ '--u-padding': string;
348
+ '--u-border-radius': string;
349
+ '--u-background-color': string;
350
+ '--u-background-color-focus': string;
351
+ '--u-background-color-hover': string;
352
+ '--u-background-color-checked': string;
353
+ '--u-color': string;
354
+ '--u-color-focus': string;
355
+ '--u-color-hover': string;
356
+ '--u-color-checked': string;
357
+ '--u-title-font-size': string;
358
+ '--u-title-font-weight': string;
359
+ '--u-title-line-height': string;
360
+ '--u-title-margin-bottom': string;
361
+ '--u-description-font-size': string;
362
+ '--u-description-font-weight': string;
363
+ '--u-description-line-height': string;
364
+ '--u-description-margin-bottom': string;
365
+ '--u-footer-font-size': string;
366
+ '--u-footer-font-weight': string;
367
+ '--u-footer-line-height': string;
368
+ '--u-icon-size': string;
369
+ '--u-icon-margin': string;
370
+ }> | undefined;
371
+ themeClass: import("vue").Ref<string> | undefined;
372
+ onRender: (() => void) | undefined;
373
+ mergedChecked: import("vue").ComputedRef<boolean>;
374
+ mergedDisabled: import("vue").ComputedRef<boolean>;
375
+ mergedClsPrefix: import("vue").Ref<string>;
376
+ isCheckbox: import("vue").ComputedRef<boolean | import("../../_internal/checkbox/src/use-checkbox").CheckboxGroupInjection>;
377
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
378
+ name: StringConstructor;
379
+ title: StringConstructor;
380
+ footer: StringConstructor;
381
+ description: StringConstructor;
382
+ type: {
383
+ type: PropType<"checkbox" | "radio">;
384
+ default: string;
385
+ };
386
+ value: {
387
+ type: PropType<string | number | boolean>;
388
+ default: string;
389
+ };
390
+ viewType: {
391
+ type: PropType<"default" | "primary">;
392
+ default: string;
393
+ };
394
+ size: PropType<"small" | "medium" | "large">;
395
+ checked: {
396
+ type: PropType<string | number | boolean | undefined>;
397
+ default: undefined;
398
+ };
399
+ defaultChecked: {
400
+ type: PropType<string | number | boolean>;
401
+ default: boolean;
402
+ };
403
+ disabled: {
404
+ type: PropType<boolean | undefined>;
405
+ default: undefined;
406
+ };
407
+ checkedValue: {
408
+ type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
409
+ default: boolean;
410
+ };
411
+ uncheckedValue: {
412
+ type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
413
+ default: boolean;
414
+ };
415
+ 'onUpdate:checked': PropType<import("../../_utils").MaybeArray<import("../../_internal").OnUpdateChecked>>;
416
+ onUpdateChecked: PropType<import("../../_utils").MaybeArray<import("../../_internal").OnUpdateChecked>>;
417
+ onChange: PropType<import("../../_utils").MaybeArray<import("../../_internal").OnUpdateChecked>>;
418
+ theme: PropType<import("../../_mixins").Theme<"ToggleButton", {
419
+ borderRadius: string;
420
+ titleFontSize: string;
421
+ titleFontWeight: string;
422
+ titleLineHeight: string;
423
+ descriptionFontSize: string;
424
+ descriptionFontWeight: string;
425
+ descriptionLineHeight: string;
426
+ footerFontSize: string;
427
+ footerFontWeight: string;
428
+ footerLineHeight: string;
429
+ iconSize: string;
430
+ backgroundColor: string;
431
+ backgroundColorFocus: string;
432
+ backgroundColorHover: string;
433
+ backgroundColorChecked: string;
434
+ color: string;
435
+ colorFocus: string;
436
+ colorHover: string;
437
+ colorChecked: string;
438
+ backgroundColorPrimary: string;
439
+ backgroundColorFocusPrimary: string;
440
+ backgroundColorHoverPrimary: string;
441
+ backgroundColorCheckedPrimary: string;
442
+ colorPrimary: string;
443
+ colorFocusPrimary: string;
444
+ colorHoverPrimary: string;
445
+ colorCheckedPrimary: string;
446
+ backgroundColorDisabled: string;
447
+ backgroundColorFocusDisabled: string;
448
+ backgroundColorHoverDisabled: string;
449
+ backgroundColorCheckedDisabled: string;
450
+ colorDisabled: string;
451
+ colorFocusDisabled: string;
452
+ colorHoverDisabled: string;
453
+ colorCheckedDisabled: string;
454
+ padding: string;
455
+ titleMarginBottom: string;
456
+ descriptionMarginBottom: string;
457
+ iconMargin: string;
458
+ }, any>>;
459
+ themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"ToggleButton", {
460
+ borderRadius: string;
461
+ titleFontSize: string;
462
+ titleFontWeight: string;
463
+ titleLineHeight: string;
464
+ descriptionFontSize: string;
465
+ descriptionFontWeight: string;
466
+ descriptionLineHeight: string;
467
+ footerFontSize: string;
468
+ footerFontWeight: string;
469
+ footerLineHeight: string;
470
+ iconSize: string;
471
+ backgroundColor: string;
472
+ backgroundColorFocus: string;
473
+ backgroundColorHover: string;
474
+ backgroundColorChecked: string;
475
+ color: string;
476
+ colorFocus: string;
477
+ colorHover: string;
478
+ colorChecked: string;
479
+ backgroundColorPrimary: string;
480
+ backgroundColorFocusPrimary: string;
481
+ backgroundColorHoverPrimary: string;
482
+ backgroundColorCheckedPrimary: string;
483
+ colorPrimary: string;
484
+ colorFocusPrimary: string;
485
+ colorHoverPrimary: string;
486
+ colorCheckedPrimary: string;
487
+ backgroundColorDisabled: string;
488
+ backgroundColorFocusDisabled: string;
489
+ backgroundColorHoverDisabled: string;
490
+ backgroundColorCheckedDisabled: string;
491
+ colorDisabled: string;
492
+ colorFocusDisabled: string;
493
+ colorHoverDisabled: string;
494
+ colorCheckedDisabled: string;
495
+ padding: string;
496
+ titleMarginBottom: string;
497
+ descriptionMarginBottom: string;
498
+ iconMargin: string;
499
+ }, any>>>;
500
+ builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"ToggleButton", {
501
+ borderRadius: string;
502
+ titleFontSize: string;
503
+ titleFontWeight: string;
504
+ titleLineHeight: string;
505
+ descriptionFontSize: string;
506
+ descriptionFontWeight: string;
507
+ descriptionLineHeight: string;
508
+ footerFontSize: string;
509
+ footerFontWeight: string;
510
+ footerLineHeight: string;
511
+ iconSize: string;
512
+ backgroundColor: string;
513
+ backgroundColorFocus: string;
514
+ backgroundColorHover: string;
515
+ backgroundColorChecked: string;
516
+ color: string;
517
+ colorFocus: string;
518
+ colorHover: string;
519
+ colorChecked: string;
520
+ backgroundColorPrimary: string;
521
+ backgroundColorFocusPrimary: string;
522
+ backgroundColorHoverPrimary: string;
523
+ backgroundColorCheckedPrimary: string;
524
+ colorPrimary: string;
525
+ colorFocusPrimary: string;
526
+ colorHoverPrimary: string;
527
+ colorCheckedPrimary: string;
528
+ backgroundColorDisabled: string;
529
+ backgroundColorFocusDisabled: string;
530
+ backgroundColorHoverDisabled: string;
531
+ backgroundColorCheckedDisabled: string;
532
+ colorDisabled: string;
533
+ colorFocusDisabled: string;
534
+ colorHoverDisabled: string;
535
+ colorCheckedDisabled: string;
536
+ padding: string;
537
+ titleMarginBottom: string;
538
+ descriptionMarginBottom: string;
539
+ iconMargin: string;
540
+ }, any>>>;
541
+ }>>, {
542
+ type: "checkbox" | "radio";
543
+ value: string | number | boolean;
544
+ disabled: boolean | undefined;
545
+ checked: string | number | boolean | undefined;
546
+ defaultChecked: string | number | boolean;
547
+ checkedValue: string | number | boolean;
548
+ uncheckedValue: string | number | boolean;
549
+ viewType: "default" | "primary";
550
+ }, {}>;
551
+ export default _default;
@@ -0,0 +1,134 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.toggleButtonProps = void 0;
7
+ const vue_1 = require("vue");
8
+ const _mixins_1 = require("../../_mixins");
9
+ const _utils_1 = require("../../_utils");
10
+ const styles_1 = require("../styles");
11
+ const toggle_button_cssr_1 = __importDefault(require("./styles/toggle-button.cssr"));
12
+ const _internal_1 = require("../../_internal");
13
+ const Checkmark_1 = __importDefault(require("../../_internal/icons/Checkmark"));
14
+ exports.toggleButtonProps = Object.assign(Object.assign(Object.assign({}, _mixins_1.useTheme.props), _internal_1.checkboxBaseProps), { name: String, title: String, footer: String, description: String, type: {
15
+ type: String,
16
+ default: 'radio'
17
+ }, value: {
18
+ type: [String, Number, Boolean],
19
+ default: 'on'
20
+ }, viewType: {
21
+ type: String,
22
+ default: 'default'
23
+ } });
24
+ exports.default = (0, vue_1.defineComponent)({
25
+ name: 'ToggleButton',
26
+ props: exports.toggleButtonProps,
27
+ setup(props) {
28
+ const radio = (0, _internal_1.useRadio)(props);
29
+ const checkbox = (0, _internal_1.useCheckbox)(props);
30
+ const { inlineThemeDisabled, mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
31
+ const themeRef = (0, _mixins_1.useTheme)('ToggleButton', '-toggle-button', toggle_button_cssr_1.default, styles_1.toggleButtonLight, props, mergedClsPrefixRef);
32
+ const cssVarsRef = (0, vue_1.computed)(() => {
33
+ const viewType = props.disabled
34
+ ? 'disabled'
35
+ : props.viewType;
36
+ const { common: { cubicBezierEaseInOut }, self: { padding, borderRadius, titleFontSize, titleFontWeight, titleLineHeight, titleMarginBottom, descriptionFontSize, descriptionFontWeight, descriptionLineHeight, descriptionMarginBottom, footerFontSize, footerFontWeight, footerLineHeight, iconSize, iconMargin, [(0, _utils_1.createKey)('backgroundColor', viewType)]: backgroundColor, [(0, _utils_1.createKey)('backgroundColorFocus', viewType)]: backgroundColorFocus, [(0, _utils_1.createKey)('backgroundColorHover', viewType)]: backgroundColorHover, [(0, _utils_1.createKey)('backgroundColorChecked', viewType)]: backgroundColorChecked, [(0, _utils_1.createKey)('color', viewType)]: color, [(0, _utils_1.createKey)('colorFocus', viewType)]: colorFocus, [(0, _utils_1.createKey)('colorHover', viewType)]: colorHover, [(0, _utils_1.createKey)('colorChecked', viewType)]: colorChecked } } = themeRef.value;
37
+ return {
38
+ '--u-bezier': cubicBezierEaseInOut,
39
+ '--u-padding': padding,
40
+ '--u-border-radius': borderRadius,
41
+ '--u-background-color': backgroundColor,
42
+ '--u-background-color-focus': backgroundColorFocus,
43
+ '--u-background-color-hover': backgroundColorHover,
44
+ '--u-background-color-checked': backgroundColorChecked,
45
+ '--u-color': color,
46
+ '--u-color-focus': colorFocus,
47
+ '--u-color-hover': colorHover,
48
+ '--u-color-checked': colorChecked,
49
+ '--u-title-font-size': titleFontSize,
50
+ '--u-title-font-weight': titleFontWeight,
51
+ '--u-title-line-height': titleLineHeight,
52
+ '--u-title-margin-bottom': titleMarginBottom,
53
+ '--u-description-font-size': descriptionFontSize,
54
+ '--u-description-font-weight': descriptionFontWeight,
55
+ '--u-description-line-height': descriptionLineHeight,
56
+ '--u-description-margin-bottom': descriptionMarginBottom,
57
+ '--u-footer-font-size': footerFontSize,
58
+ '--u-footer-font-weight': footerFontWeight,
59
+ '--u-footer-line-height': footerLineHeight,
60
+ '--u-icon-size': iconSize,
61
+ '--u-icon-margin': iconMargin
62
+ };
63
+ });
64
+ const themeClassHandle = inlineThemeDisabled
65
+ ? (0, _mixins_1.useThemeClass)('toggle-button', undefined, cssVarsRef, props)
66
+ : undefined;
67
+ const UCheckboxGroup = (0, vue_1.inject)(_internal_1.checkboxGroupInjectionKey, null);
68
+ const isCheckbox = (0, vue_1.computed)(() => {
69
+ return UCheckboxGroup || props.type === 'checkbox' || false;
70
+ });
71
+ const mergedChecked = (0, vue_1.computed)(() => {
72
+ return isCheckbox.value
73
+ ? checkbox.renderedChecked.value
74
+ : radio.renderSafeChecked.value;
75
+ });
76
+ const mergedDisabled = (0, vue_1.computed)(() => {
77
+ return isCheckbox.value
78
+ ? checkbox.mergedDisabled.value
79
+ : radio.mergedDisabled.value;
80
+ });
81
+ const radioProperties = {
82
+ radioName: radio.mergedName,
83
+ radioHandleFocus: radio.handleRadioInputFocus,
84
+ radioHandleBlur: radio.handleRadioInputBlur,
85
+ radioHandleChange: radio.handleRadioInputChange
86
+ };
87
+ const checkboxProperties = {
88
+ checkboxHandleFocus: checkbox.focus,
89
+ checkboxHandleBlur: checkbox.blur,
90
+ checkboxHandleKeyUp: checkbox.handleKeyUp,
91
+ checkboxHandleKeyDown: checkbox.handleKeyDown,
92
+ checkboxHandleClick: checkbox.handleClick
93
+ };
94
+ return Object.assign(radioProperties, checkboxProperties, {
95
+ cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
96
+ themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
97
+ onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender,
98
+ mergedChecked,
99
+ mergedDisabled,
100
+ mergedClsPrefix: radio.mergedClsPrefix,
101
+ isCheckbox
102
+ });
103
+ },
104
+ render() {
105
+ var _a, _b, _c;
106
+ const { $slots, mergedClsPrefix, onRender, description, title, footer, mergedChecked, isCheckbox, mergedDisabled } = this;
107
+ onRender === null || onRender === void 0 ? void 0 : onRender();
108
+ const iconNode = ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-toggle-button__icon` }, (0, _utils_1.resolveSlot)($slots.icon, () => [
109
+ (0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => (0, vue_1.h)(Checkmark_1.default, null) })
110
+ ])));
111
+ const titleNode = (title || $slots.header) && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-toggle-button__title` }, ((_a = $slots.header) === null || _a === void 0 ? void 0 : _a.call($slots)) || title));
112
+ const contentNode = (description || $slots.default) && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-toggle-button__description` }, ((_b = $slots.default) === null || _b === void 0 ? void 0 : _b.call($slots)) || description));
113
+ const footerNode = (footer || $slots.footer) && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-toggle-button__footer` }, ((_c = $slots.footer) === null || _c === void 0 ? void 0 : _c.call($slots)) || footer));
114
+ const Component = isCheckbox ? 'div' : 'label';
115
+ return ((0, vue_1.h)(Component, Object.assign({ class: [
116
+ `${mergedClsPrefix}-toggle-button`,
117
+ this.themeClass,
118
+ mergedChecked && `${mergedClsPrefix}-toggle-button--checked`,
119
+ mergedDisabled && `${mergedClsPrefix}-toggle-button--disabled`
120
+ ], style: this.cssVars }, (isCheckbox && {
121
+ onClick: this.checkboxHandleClick,
122
+ tabindex: this.mergedDisabled ? -1 : 0,
123
+ onKeyup: this.checkboxHandleKeyUp,
124
+ onKeydown: this.checkboxHandleKeyDown,
125
+ onFocus: this.checkboxHandleFocus,
126
+ onBlur: this.checkboxHandleBlur
127
+ })),
128
+ !isCheckbox && ((0, vue_1.h)("input", { ref: "inputRef", type: "radio", class: `${mergedClsPrefix}-radio-input ${mergedClsPrefix}-toggle-button__input`, value: this.value, name: this.radioName, checked: mergedChecked, disabled: mergedDisabled, onChange: this.radioHandleChange, onFocus: this.radioHandleFocus, onBlur: this.radioHandleBlur })),
129
+ iconNode,
130
+ titleNode,
131
+ contentNode,
132
+ footerNode));
133
+ }
134
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("css-render").CNode;
2
+ export default _default;