naive-ui 2.21.5 → 2.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (738) hide show
  1. package/es/_internal/clear/src/styles/index.cssr.js +10 -10
  2. package/es/_internal/close/src/styles/index.cssr.js +8 -8
  3. package/es/_internal/icons/Close.js +1 -1
  4. package/es/_internal/scrollbar/src/ScrollBar.d.ts +10 -6
  5. package/es/_internal/scrollbar/src/ScrollBar.js +15 -11
  6. package/es/_internal/scrollbar/src/styles/index.cssr.js +15 -15
  7. package/es/_internal/select-menu/src/SelectMenu.d.ts +21 -21
  8. package/es/_internal/select-menu/src/SelectMenu.js +21 -21
  9. package/es/_internal/select-menu/src/styles/index.cssr.js +35 -35
  10. package/es/_internal/select-menu/styles/_common.js +1 -1
  11. package/es/_internal/selection/src/Selection.d.ts +44 -44
  12. package/es/_internal/selection/src/Selection.js +55 -53
  13. package/es/_internal/selection/src/styles/index.cssr.js +84 -80
  14. package/es/_mixins/common.d.ts +1 -0
  15. package/es/_mixins/common.js +1 -0
  16. package/es/_mixins/index.d.ts +1 -0
  17. package/es/_mixins/index.js +1 -0
  18. package/es/_mixins/use-css-vars-class.d.ts +2 -0
  19. package/es/_mixins/use-css-vars-class.js +22 -0
  20. package/es/_mixins/use-rtl.js +2 -0
  21. package/es/_mixins/use-style.js +3 -0
  22. package/es/_mixins/use-theme.js +3 -0
  23. package/es/_utils/composable/use-houdini.js +12 -9
  24. package/es/alert/src/Alert.d.ts +22 -22
  25. package/es/alert/src/Alert.js +22 -22
  26. package/es/alert/src/styles/index.cssr.js +45 -45
  27. package/es/anchor/src/AnchorAdapter.js +12 -12
  28. package/es/anchor/src/styles/index.cssr.js +41 -41
  29. package/es/auto-complete/src/AutoComplete.d.ts +2 -2
  30. package/es/auto-complete/src/AutoComplete.js +2 -2
  31. package/es/auto-complete/src/styles/index.cssr.js +4 -4
  32. package/es/avatar/index.d.ts +2 -0
  33. package/es/avatar/index.js +1 -0
  34. package/es/avatar/src/Avatar.d.ts +77 -36
  35. package/es/avatar/src/Avatar.js +46 -16
  36. package/es/avatar/src/AvatarGroup.d.ts +52 -0
  37. package/es/avatar/src/AvatarGroup.js +61 -0
  38. package/es/avatar/src/interface.d.ts +2 -0
  39. package/es/avatar/src/interface.js +1 -0
  40. package/es/avatar/src/styles/avatar-group.cssr.d.ts +2 -0
  41. package/es/avatar/src/styles/avatar-group.cssr.js +14 -0
  42. package/es/avatar/src/styles/index.cssr.js +21 -18
  43. package/es/avatar/styles/light.d.ts +3 -0
  44. package/es/avatar/styles/light.js +6 -2
  45. package/es/back-top/src/BackTop.d.ts +13 -13
  46. package/es/back-top/src/BackTop.js +13 -13
  47. package/es/back-top/src/styles/index.cssr.js +29 -29
  48. package/es/badge/src/Badge.d.ts +6 -6
  49. package/es/badge/src/Badge.js +6 -6
  50. package/es/badge/src/styles/index.cssr.js +15 -15
  51. package/es/breadcrumb/src/Breadcrumb.d.ts +8 -8
  52. package/es/breadcrumb/src/Breadcrumb.js +8 -8
  53. package/es/breadcrumb/src/styles/index.cssr.js +23 -23
  54. package/es/button/src/Button.d.ts +43 -38
  55. package/es/button/src/Button.js +124 -116
  56. package/es/button/src/styles/button.cssr.js +83 -80
  57. package/es/button/styles/light.js +1 -1
  58. package/es/calendar/src/Calendar.d.ts +23 -21
  59. package/es/calendar/src/Calendar.js +21 -21
  60. package/es/calendar/src/styles/index.cssr.js +57 -57
  61. package/es/card/src/Card.d.ts +28 -23
  62. package/es/card/src/Card.js +24 -23
  63. package/es/card/src/styles/index.cssr.js +71 -69
  64. package/es/carousel/src/Carousel.d.ts +5 -5
  65. package/es/carousel/src/Carousel.js +5 -5
  66. package/es/carousel/src/styles/index.cssr.js +10 -10
  67. package/es/cascader/src/Cascader.d.ts +160 -17
  68. package/es/cascader/src/Cascader.js +32 -24
  69. package/es/cascader/src/CascaderMenu.d.ts +345 -0
  70. package/es/cascader/src/CascaderMenu.js +7 -6
  71. package/es/cascader/src/CascaderOption.d.ts +18 -0
  72. package/es/cascader/src/CascaderSelectMenu.d.ts +18 -0
  73. package/es/cascader/src/CascaderSubmenu.d.ts +18 -0
  74. package/es/cascader/src/styles/index.cssr.js +44 -44
  75. package/es/cascader/styles/dark.js +3 -1
  76. package/es/cascader/styles/light.d.ts +13 -0
  77. package/es/cascader/styles/light.js +4 -2
  78. package/es/checkbox/src/Checkbox.d.ts +23 -23
  79. package/es/checkbox/src/Checkbox.js +23 -23
  80. package/es/checkbox/src/styles/index.cssr.js +58 -58
  81. package/es/code/src/Code.d.ts +14 -14
  82. package/es/code/src/Code.js +26 -17
  83. package/es/code/src/styles/index.cssr.js +28 -28
  84. package/es/collapse/src/Collapse.d.ts +8 -8
  85. package/es/collapse/src/Collapse.js +8 -8
  86. package/es/collapse/src/styles/index.cssr.js +24 -24
  87. package/es/collapse-transition/src/CollapseTransition.d.ts +1 -1
  88. package/es/collapse-transition/src/CollapseTransition.js +1 -1
  89. package/es/color-picker/src/ColorPicker.d.ts +10 -10
  90. package/es/color-picker/src/ColorPicker.js +10 -10
  91. package/es/color-picker/src/styles/index.cssr.js +28 -28
  92. package/es/components.d.ts +2 -0
  93. package/es/components.js +2 -0
  94. package/es/config-provider/src/ConfigProvider.d.ts +6 -0
  95. package/es/countdown/index.d.ts +2 -0
  96. package/es/countdown/index.js +1 -0
  97. package/es/countdown/src/Countdown.d.ts +72 -0
  98. package/es/countdown/src/Countdown.js +126 -0
  99. package/es/countdown/src/utils.d.ts +0 -0
  100. package/es/countdown/src/utils.js +1 -0
  101. package/es/data-table/src/DataTable.d.ts +39 -39
  102. package/es/data-table/src/DataTable.js +49 -55
  103. package/es/data-table/src/MainTable.js +2 -3
  104. package/es/data-table/src/TableParts/Body.d.ts +15 -4
  105. package/es/data-table/src/TableParts/Body.js +82 -28
  106. package/es/data-table/src/TableParts/Cell.js +2 -3
  107. package/es/data-table/src/TableParts/Header.js +2 -2
  108. package/es/data-table/src/interface.d.ts +4 -1
  109. package/es/data-table/src/styles/index.cssr.js +133 -132
  110. package/es/data-table/src/use-check.js +6 -2
  111. package/es/data-table/src/use-scroll.d.ts +2 -0
  112. package/es/data-table/src/use-scroll.js +34 -4
  113. package/es/data-table/src/use-table-data.js +3 -1
  114. package/es/data-table/styles/_common.js +1 -1
  115. package/es/date-picker/src/DatePicker.d.ts +70 -46
  116. package/es/date-picker/src/DatePicker.js +61 -52
  117. package/es/date-picker/src/config.d.ts +1 -1
  118. package/es/date-picker/src/interface.d.ts +2 -1
  119. package/es/date-picker/src/panel/date.d.ts +13 -10
  120. package/es/date-picker/src/panel/date.js +2 -2
  121. package/es/date-picker/src/panel/daterange.d.ts +11 -9
  122. package/es/date-picker/src/panel/daterange.js +2 -2
  123. package/es/date-picker/src/panel/datetime.d.ts +13 -16
  124. package/es/date-picker/src/panel/datetime.js +2 -2
  125. package/es/date-picker/src/panel/datetimerange.d.ts +11 -9
  126. package/es/date-picker/src/panel/datetimerange.js +2 -2
  127. package/es/date-picker/src/panel/month.d.ts +17 -20
  128. package/es/date-picker/src/panel/month.js +23 -12
  129. package/es/date-picker/src/panel/use-calendar.d.ts +13 -39
  130. package/es/date-picker/src/panel/use-calendar.js +41 -23
  131. package/es/date-picker/src/panel/use-dual-calendar.d.ts +9 -36
  132. package/es/date-picker/src/panel/use-dual-calendar.js +35 -21
  133. package/es/date-picker/src/panel/use-panel-common.d.ts +9 -32
  134. package/es/date-picker/src/panel/use-panel-common.js +4 -8
  135. package/es/date-picker/src/styles/index.cssr.js +115 -115
  136. package/es/date-picker/src/utils.d.ts +19 -3
  137. package/es/date-picker/src/utils.js +40 -5
  138. package/es/date-picker/styles/_common.d.ts +2 -0
  139. package/es/date-picker/styles/_common.js +3 -1
  140. package/es/date-picker/styles/light.d.ts +4 -0
  141. package/es/descriptions/src/Descriptions.d.ts +18 -18
  142. package/es/descriptions/src/Descriptions.js +19 -20
  143. package/es/descriptions/src/styles/index.cssr.js +61 -61
  144. package/es/dialog/src/Dialog.d.ts +24 -24
  145. package/es/dialog/src/Dialog.js +22 -22
  146. package/es/dialog/src/DialogEnvironment.d.ts +2 -2
  147. package/es/dialog/src/DialogProvider.d.ts +1 -1
  148. package/es/dialog/src/styles/index.cssr.js +45 -45
  149. package/es/divider/src/Divider.d.ts +4 -4
  150. package/es/divider/src/Divider.js +4 -4
  151. package/es/divider/src/styles/index.cssr.js +12 -12
  152. package/es/drawer/src/Drawer.d.ts +19 -19
  153. package/es/drawer/src/Drawer.js +19 -19
  154. package/es/drawer/src/styles/index.cssr.js +41 -40
  155. package/es/dropdown/src/Dropdown.js +34 -32
  156. package/es/dropdown/src/styles/index.cssr.js +59 -59
  157. package/es/dynamic-tags/src/DynamicTags.d.ts +1 -1
  158. package/es/dynamic-tags/src/DynamicTags.js +1 -1
  159. package/es/dynamic-tags/src/styles/index.cssr.js +1 -1
  160. package/es/empty/src/Empty.d.ts +19 -15
  161. package/es/empty/src/Empty.js +12 -12
  162. package/es/empty/src/styles/index.cssr.js +20 -19
  163. package/es/form/src/Form.d.ts +27 -27
  164. package/es/form/src/FormItem.d.ts +42 -42
  165. package/es/form/src/FormItem.js +15 -15
  166. package/es/form/src/FormItemCol.d.ts +33 -27
  167. package/es/form/src/FormItemCol.js +1 -0
  168. package/es/form/src/FormItemGridItem.d.ts +33 -27
  169. package/es/form/src/FormItemGridItem.js +1 -0
  170. package/es/form/src/FormItemRow.d.ts +33 -27
  171. package/es/form/src/FormItemRow.js +1 -0
  172. package/es/form/src/styles/form-item.cssr.js +37 -37
  173. package/es/form/styles/_common.d.ts +0 -3
  174. package/es/form/styles/_common.js +0 -3
  175. package/es/form/styles/light.d.ts +3 -3
  176. package/es/form/styles/light.js +2 -2
  177. package/es/gradient-text/src/GradientText.d.ts +5 -5
  178. package/es/gradient-text/src/GradientText.js +5 -5
  179. package/es/gradient-text/src/styles/index.cssr.js +9 -9
  180. package/es/icon/src/Icon.d.ts +6 -6
  181. package/es/icon/src/Icon.js +4 -4
  182. package/es/icon/src/styles/index.cssr.js +7 -7
  183. package/es/image/src/Image.js +8 -12
  184. package/es/image/src/ImagePreview.d.ts +2 -2
  185. package/es/image/src/ImagePreview.js +13 -12
  186. package/es/image/src/styles/index.cssr.js +5 -5
  187. package/es/input/src/Input.d.ts +52 -47
  188. package/es/input/src/Input.js +54 -49
  189. package/es/input/src/InputGroupLabel.d.ts +8 -8
  190. package/es/input/src/InputGroupLabel.js +8 -8
  191. package/es/input/src/styles/input-group-label.cssr.js +18 -18
  192. package/es/input/src/styles/input.cssr.js +108 -109
  193. package/es/input-number/src/InputNumber.d.ts +11 -0
  194. package/es/input-number/src/InputNumber.js +5 -2
  195. package/es/input-number/src/utils.js +2 -1
  196. package/es/layout/src/Layout.d.ts +6 -6
  197. package/es/layout/src/Layout.js +3 -3
  198. package/es/layout/src/LayoutContent.d.ts +3 -3
  199. package/es/layout/src/LayoutFooter.js +7 -7
  200. package/es/layout/src/LayoutHeader.js +7 -7
  201. package/es/layout/src/LayoutSider.js +13 -13
  202. package/es/layout/src/styles/layout-footer.cssr.js +11 -11
  203. package/es/layout/src/styles/layout-header.cssr.js +11 -11
  204. package/es/layout/src/styles/layout-sider.cssr.js +32 -32
  205. package/es/layout/src/styles/layout.cssr.js +8 -8
  206. package/es/list/src/List.d.ts +10 -10
  207. package/es/list/src/List.js +10 -10
  208. package/es/list/src/styles/index.cssr.js +30 -30
  209. package/es/loading-bar/src/LoadingBar.d.ts +3 -3
  210. package/es/loading-bar/src/LoadingBar.js +3 -3
  211. package/es/loading-bar/src/styles/index.cssr.js +7 -7
  212. package/es/locales/common/deDE.js +2 -0
  213. package/es/locales/common/enUS.d.ts +2 -0
  214. package/es/locales/common/enUS.js +2 -0
  215. package/es/locales/common/frFR.js +7 -5
  216. package/es/locales/common/idID.js +2 -0
  217. package/es/locales/common/jaJP.js +2 -0
  218. package/es/locales/common/nbNO.js +2 -0
  219. package/es/locales/common/ruRU.js +2 -0
  220. package/es/locales/common/ukUA.js +2 -0
  221. package/es/locales/common/zhCN.js +2 -0
  222. package/es/locales/common/zhTW.d.ts +3 -0
  223. package/es/locales/common/zhTW.js +100 -0
  224. package/es/locales/date/zhTW.d.ts +3 -0
  225. package/es/locales/date/zhTW.js +6 -0
  226. package/es/locales/index.d.ts +2 -0
  227. package/es/locales/index.js +2 -0
  228. package/es/log/src/Log.d.ts +6 -6
  229. package/es/log/src/Log.js +6 -6
  230. package/es/log/src/styles/index.cssr.js +16 -18
  231. package/es/mention/src/Mention.d.ts +1 -1
  232. package/es/mention/src/Mention.js +1 -1
  233. package/es/mention/src/styles/index.cssr.js +2 -2
  234. package/es/menu/src/Menu.js +43 -40
  235. package/es/menu/src/styles/index.cssr.js +71 -71
  236. package/es/message/src/Message.d.ts +22 -22
  237. package/es/message/src/Message.js +22 -22
  238. package/es/message/src/styles/index.cssr.js +48 -48
  239. package/es/modal/src/BodyWrapper.d.ts +11 -2
  240. package/es/modal/src/BodyWrapper.js +23 -17
  241. package/es/modal/src/Modal.d.ts +14 -8
  242. package/es/modal/src/Modal.js +13 -7
  243. package/es/modal/src/presetProps.d.ts +2 -1
  244. package/es/modal/src/styles/index.cssr.js +8 -8
  245. package/es/notification/src/Notification.d.ts +24 -24
  246. package/es/notification/src/Notification.js +24 -24
  247. package/es/notification/src/styles/index.cssr.js +65 -65
  248. package/es/number-animation/index.d.ts +3 -0
  249. package/es/number-animation/index.js +1 -0
  250. package/es/number-animation/src/NumberAnimation.d.ts +79 -0
  251. package/es/number-animation/src/NumberAnimation.js +81 -0
  252. package/es/number-animation/src/utils.d.ts +8 -0
  253. package/es/number-animation/src/utils.js +17 -0
  254. package/es/page-header/src/PageHeader.d.ts +10 -10
  255. package/es/page-header/src/PageHeader.js +13 -13
  256. package/es/page-header/src/styles/index.cssr.js +25 -27
  257. package/es/pagination/src/Pagination.d.ts +42 -41
  258. package/es/pagination/src/Pagination.js +52 -45
  259. package/es/pagination/src/styles/index.cssr.js +81 -81
  260. package/es/popconfirm/src/Popconfirm.d.ts +2 -2
  261. package/es/popconfirm/src/PopconfirmPanel.d.ts +4 -4
  262. package/es/popconfirm/src/PopconfirmPanel.js +4 -4
  263. package/es/popconfirm/src/styles/index.cssr.js +8 -8
  264. package/es/popover/src/Popover.js +4 -1
  265. package/es/popover/src/PopoverBody.js +18 -18
  266. package/es/popover/src/styles/index.cssr.js +62 -62
  267. package/es/popselect/src/Popselect.d.ts +2 -11
  268. package/es/popselect/src/Popselect.js +2 -2
  269. package/es/popselect/src/PopselectPanel.d.ts +3 -11
  270. package/es/popselect/src/PopselectPanel.js +17 -11
  271. package/es/progress/src/Progress.d.ts +14 -14
  272. package/es/progress/src/Progress.js +14 -14
  273. package/es/progress/src/styles/index.cssr.js +53 -53
  274. package/es/radio/src/Radio.d.ts +15 -15
  275. package/es/radio/src/Radio.js +18 -18
  276. package/es/radio/src/RadioButton.js +4 -5
  277. package/es/radio/src/RadioGroup.d.ts +14 -14
  278. package/es/radio/src/RadioGroup.js +14 -14
  279. package/es/radio/src/styles/radio-group.cssr.js +51 -47
  280. package/es/radio/src/styles/radio.cssr.js +44 -40
  281. package/es/radio/src/use-radio.d.ts +0 -3
  282. package/es/radio/src/use-radio.js +1 -26
  283. package/es/rate/src/Rate.d.ts +4 -4
  284. package/es/rate/src/Rate.js +4 -4
  285. package/es/rate/src/styles/index.cssr.js +11 -11
  286. package/es/result/src/Result.d.ts +9 -9
  287. package/es/result/src/Result.js +9 -9
  288. package/es/result/src/styles/index.cssr.js +20 -20
  289. package/es/select/src/Select.d.ts +1 -1
  290. package/es/select/src/Select.js +1 -1
  291. package/es/select/src/styles/index.cssr.js +2 -2
  292. package/es/skeleton/src/Skeleton.d.ts +3 -3
  293. package/es/skeleton/src/Skeleton.js +3 -3
  294. package/es/skeleton/src/styles/index.cssr.js +12 -12
  295. package/es/slider/src/Slider.d.ts +29 -29
  296. package/es/slider/src/Slider.js +29 -29
  297. package/es/slider/src/styles/index.cssr.js +87 -87
  298. package/es/spin/src/Spin.d.ts +5 -5
  299. package/es/spin/src/Spin.js +5 -5
  300. package/es/spin/src/styles/index.cssr.js +15 -15
  301. package/es/statistic/src/Statistic.d.ts +25 -45
  302. package/es/statistic/src/Statistic.js +12 -19
  303. package/es/statistic/src/styles/index.cssr.js +19 -19
  304. package/es/steps/src/Step.d.ts +12 -12
  305. package/es/steps/src/Step.js +12 -12
  306. package/es/steps/src/styles/index.cssr.js +46 -46
  307. package/es/switch/src/Switch.d.ts +19 -19
  308. package/es/switch/src/Switch.js +26 -19
  309. package/es/switch/src/styles/index.cssr.js +59 -57
  310. package/es/table/src/Table.d.ts +21 -21
  311. package/es/table/src/Table.js +21 -21
  312. package/es/table/src/styles/index.cssr.js +55 -55
  313. package/es/tabs/src/styles/index.cssr.js +5 -1
  314. package/es/tabs/styles/light.js +1 -1
  315. package/es/tag/src/Tag.d.ts +27 -26
  316. package/es/tag/src/Tag.js +27 -26
  317. package/es/tag/src/styles/index.cssr.js +55 -55
  318. package/es/tag/src/styles/rtl.cssr.js +1 -1
  319. package/es/thing/src/Thing.js +5 -5
  320. package/es/thing/src/styles/index.cssr.js +11 -11
  321. package/es/time-picker/src/TimePicker.d.ts +19 -19
  322. package/es/time-picker/src/TimePicker.js +17 -17
  323. package/es/time-picker/src/styles/index.cssr.js +47 -47
  324. package/es/timeline/src/TimelineItem.d.ts +12 -12
  325. package/es/timeline/src/TimelineItem.js +12 -12
  326. package/es/timeline/src/styles/index.cssr.js +44 -44
  327. package/es/transfer/src/Transfer.d.ts +21 -21
  328. package/es/transfer/src/Transfer.js +21 -21
  329. package/es/transfer/src/TransferList.js +5 -7
  330. package/es/transfer/src/styles/index.cssr.js +47 -42
  331. package/es/tree/src/Tree.d.ts +11 -11
  332. package/es/tree/src/Tree.js +11 -11
  333. package/es/tree/src/dnd.js +2 -2
  334. package/es/tree/src/styles/index.cssr.js +33 -33
  335. package/es/tree-select/src/TreeSelect.d.ts +43 -6
  336. package/es/tree-select/src/TreeSelect.js +29 -14
  337. package/es/tree-select/src/styles/index.cssr.js +20 -11
  338. package/es/tree-select/styles/light.d.ts +6 -0
  339. package/es/tree-select/styles/light.js +5 -2
  340. package/es/typography/src/a.d.ts +2 -2
  341. package/es/typography/src/a.js +2 -2
  342. package/es/typography/src/blockquote.d.ts +5 -5
  343. package/es/typography/src/blockquote.js +5 -5
  344. package/es/typography/src/create-header.d.ts +8 -8
  345. package/es/typography/src/create-header.js +8 -8
  346. package/es/typography/src/headers.d.ts +48 -48
  347. package/es/typography/src/hr.d.ts +2 -1
  348. package/es/typography/src/hr.js +3 -1
  349. package/es/typography/src/ol.d.ts +7 -7
  350. package/es/typography/src/ol.js +7 -7
  351. package/es/typography/src/p.d.ts +5 -5
  352. package/es/typography/src/p.js +5 -5
  353. package/es/typography/src/styles/a.cssr.js +6 -6
  354. package/es/typography/src/styles/blockquote.cssr.js +11 -11
  355. package/es/typography/src/styles/header.cssr.js +19 -19
  356. package/es/typography/src/styles/hr.cssr.js +3 -3
  357. package/es/typography/src/styles/list.cssr.js +15 -15
  358. package/es/typography/src/styles/p.cssr.js +10 -10
  359. package/es/typography/src/styles/text.cssr.js +18 -18
  360. package/es/typography/src/text.d.ts +8 -7
  361. package/es/typography/src/text.js +9 -8
  362. package/es/typography/src/ul.d.ts +7 -7
  363. package/es/typography/src/ul.js +7 -7
  364. package/es/upload/src/Upload.d.ts +1 -1
  365. package/es/upload/src/Upload.js +16 -16
  366. package/es/upload/src/styles/index.cssr.js +36 -36
  367. package/es/version.d.ts +1 -1
  368. package/es/version.js +1 -1
  369. package/lib/_internal/clear/src/styles/index.cssr.js +10 -10
  370. package/lib/_internal/close/src/styles/index.cssr.js +8 -8
  371. package/lib/_internal/icons/Close.js +1 -1
  372. package/lib/_internal/scrollbar/src/ScrollBar.d.ts +10 -6
  373. package/lib/_internal/scrollbar/src/ScrollBar.js +15 -11
  374. package/lib/_internal/scrollbar/src/styles/index.cssr.js +15 -15
  375. package/lib/_internal/select-menu/src/SelectMenu.d.ts +21 -21
  376. package/lib/_internal/select-menu/src/SelectMenu.js +21 -21
  377. package/lib/_internal/select-menu/src/styles/index.cssr.js +35 -35
  378. package/lib/_internal/select-menu/styles/_common.js +1 -1
  379. package/lib/_internal/selection/src/Selection.d.ts +44 -44
  380. package/lib/_internal/selection/src/Selection.js +55 -53
  381. package/lib/_internal/selection/src/styles/index.cssr.js +84 -80
  382. package/lib/_mixins/common.d.ts +1 -0
  383. package/lib/_mixins/common.js +4 -0
  384. package/lib/_mixins/index.d.ts +1 -0
  385. package/lib/_mixins/index.js +3 -1
  386. package/lib/_mixins/use-css-vars-class.d.ts +2 -0
  387. package/lib/_mixins/use-css-vars-class.js +29 -0
  388. package/lib/_mixins/use-rtl.js +2 -0
  389. package/lib/_mixins/use-style.js +3 -0
  390. package/lib/_mixins/use-theme.js +3 -0
  391. package/lib/_utils/composable/use-houdini.js +12 -9
  392. package/lib/alert/src/Alert.d.ts +22 -22
  393. package/lib/alert/src/Alert.js +22 -22
  394. package/lib/alert/src/styles/index.cssr.js +45 -45
  395. package/lib/anchor/src/AnchorAdapter.js +12 -12
  396. package/lib/anchor/src/styles/index.cssr.js +41 -41
  397. package/lib/auto-complete/src/AutoComplete.d.ts +2 -2
  398. package/lib/auto-complete/src/AutoComplete.js +2 -2
  399. package/lib/auto-complete/src/styles/index.cssr.js +4 -4
  400. package/lib/avatar/index.d.ts +2 -0
  401. package/lib/avatar/index.js +3 -1
  402. package/lib/avatar/src/Avatar.d.ts +77 -36
  403. package/lib/avatar/src/Avatar.js +48 -17
  404. package/lib/avatar/src/AvatarGroup.d.ts +52 -0
  405. package/lib/avatar/src/AvatarGroup.js +67 -0
  406. package/lib/avatar/src/interface.d.ts +2 -0
  407. package/lib/avatar/src/interface.js +2 -0
  408. package/lib/avatar/src/styles/avatar-group.cssr.d.ts +2 -0
  409. package/lib/avatar/src/styles/avatar-group.cssr.js +21 -0
  410. package/lib/avatar/src/styles/index.cssr.js +20 -17
  411. package/lib/avatar/styles/light.d.ts +3 -0
  412. package/lib/avatar/styles/light.js +6 -2
  413. package/lib/back-top/src/BackTop.d.ts +13 -13
  414. package/lib/back-top/src/BackTop.js +13 -13
  415. package/lib/back-top/src/styles/index.cssr.js +29 -29
  416. package/lib/badge/src/Badge.d.ts +6 -6
  417. package/lib/badge/src/Badge.js +6 -6
  418. package/lib/badge/src/styles/index.cssr.js +15 -15
  419. package/lib/breadcrumb/src/Breadcrumb.d.ts +8 -8
  420. package/lib/breadcrumb/src/Breadcrumb.js +8 -8
  421. package/lib/breadcrumb/src/styles/index.cssr.js +23 -23
  422. package/lib/button/src/Button.d.ts +43 -38
  423. package/lib/button/src/Button.js +123 -115
  424. package/lib/button/src/styles/button.cssr.js +83 -80
  425. package/lib/button/styles/light.js +1 -1
  426. package/lib/calendar/src/Calendar.d.ts +23 -21
  427. package/lib/calendar/src/Calendar.js +21 -21
  428. package/lib/calendar/src/styles/index.cssr.js +57 -57
  429. package/lib/card/src/Card.d.ts +28 -23
  430. package/lib/card/src/Card.js +24 -23
  431. package/lib/card/src/styles/index.cssr.js +71 -69
  432. package/lib/carousel/src/Carousel.d.ts +5 -5
  433. package/lib/carousel/src/Carousel.js +5 -5
  434. package/lib/carousel/src/styles/index.cssr.js +10 -10
  435. package/lib/cascader/src/Cascader.d.ts +160 -17
  436. package/lib/cascader/src/Cascader.js +32 -24
  437. package/lib/cascader/src/CascaderMenu.d.ts +345 -0
  438. package/lib/cascader/src/CascaderMenu.js +7 -6
  439. package/lib/cascader/src/CascaderOption.d.ts +18 -0
  440. package/lib/cascader/src/CascaderSelectMenu.d.ts +18 -0
  441. package/lib/cascader/src/CascaderSubmenu.d.ts +18 -0
  442. package/lib/cascader/src/styles/index.cssr.js +44 -44
  443. package/lib/cascader/styles/dark.js +3 -1
  444. package/lib/cascader/styles/light.d.ts +13 -0
  445. package/lib/cascader/styles/light.js +4 -2
  446. package/lib/checkbox/src/Checkbox.d.ts +23 -23
  447. package/lib/checkbox/src/Checkbox.js +23 -23
  448. package/lib/checkbox/src/styles/index.cssr.js +58 -58
  449. package/lib/code/src/Code.d.ts +14 -14
  450. package/lib/code/src/Code.js +26 -17
  451. package/lib/code/src/styles/index.cssr.js +28 -28
  452. package/lib/collapse/src/Collapse.d.ts +8 -8
  453. package/lib/collapse/src/Collapse.js +8 -8
  454. package/lib/collapse/src/styles/index.cssr.js +24 -24
  455. package/lib/collapse-transition/src/CollapseTransition.d.ts +1 -1
  456. package/lib/collapse-transition/src/CollapseTransition.js +1 -1
  457. package/lib/color-picker/src/ColorPicker.d.ts +10 -10
  458. package/lib/color-picker/src/ColorPicker.js +10 -10
  459. package/lib/color-picker/src/styles/index.cssr.js +28 -28
  460. package/lib/components.d.ts +2 -0
  461. package/lib/components.js +2 -0
  462. package/lib/config-provider/src/ConfigProvider.d.ts +6 -0
  463. package/lib/countdown/index.d.ts +2 -0
  464. package/lib/countdown/index.js +8 -0
  465. package/lib/countdown/src/Countdown.d.ts +72 -0
  466. package/lib/countdown/src/Countdown.js +128 -0
  467. package/lib/countdown/src/utils.d.ts +0 -0
  468. package/lib/countdown/src/utils.js +1 -0
  469. package/lib/data-table/src/DataTable.d.ts +39 -39
  470. package/lib/data-table/src/DataTable.js +48 -54
  471. package/lib/data-table/src/MainTable.js +1 -2
  472. package/lib/data-table/src/TableParts/Body.d.ts +15 -4
  473. package/lib/data-table/src/TableParts/Body.js +80 -26
  474. package/lib/data-table/src/TableParts/Cell.js +2 -3
  475. package/lib/data-table/src/TableParts/Header.js +2 -2
  476. package/lib/data-table/src/interface.d.ts +4 -1
  477. package/lib/data-table/src/styles/index.cssr.js +133 -132
  478. package/lib/data-table/src/use-check.js +6 -2
  479. package/lib/data-table/src/use-scroll.d.ts +2 -0
  480. package/lib/data-table/src/use-scroll.js +34 -4
  481. package/lib/data-table/src/use-table-data.js +3 -1
  482. package/lib/data-table/styles/_common.js +1 -1
  483. package/lib/date-picker/src/DatePicker.d.ts +70 -46
  484. package/lib/date-picker/src/DatePicker.js +61 -52
  485. package/lib/date-picker/src/config.d.ts +1 -1
  486. package/lib/date-picker/src/interface.d.ts +2 -1
  487. package/lib/date-picker/src/panel/date.d.ts +13 -10
  488. package/lib/date-picker/src/panel/date.js +1 -1
  489. package/lib/date-picker/src/panel/daterange.d.ts +11 -9
  490. package/lib/date-picker/src/panel/daterange.js +1 -1
  491. package/lib/date-picker/src/panel/datetime.d.ts +13 -16
  492. package/lib/date-picker/src/panel/datetime.js +1 -1
  493. package/lib/date-picker/src/panel/datetimerange.d.ts +11 -9
  494. package/lib/date-picker/src/panel/datetimerange.js +2 -2
  495. package/lib/date-picker/src/panel/month.d.ts +17 -20
  496. package/lib/date-picker/src/panel/month.js +23 -12
  497. package/lib/date-picker/src/panel/use-calendar.d.ts +13 -39
  498. package/lib/date-picker/src/panel/use-calendar.js +40 -21
  499. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +9 -36
  500. package/lib/date-picker/src/panel/use-dual-calendar.js +34 -19
  501. package/lib/date-picker/src/panel/use-panel-common.d.ts +9 -32
  502. package/lib/date-picker/src/panel/use-panel-common.js +5 -8
  503. package/lib/date-picker/src/styles/index.cssr.js +115 -115
  504. package/lib/date-picker/src/utils.d.ts +19 -3
  505. package/lib/date-picker/src/utils.js +41 -4
  506. package/lib/date-picker/styles/_common.d.ts +2 -0
  507. package/lib/date-picker/styles/_common.js +3 -1
  508. package/lib/date-picker/styles/light.d.ts +4 -0
  509. package/lib/descriptions/src/Descriptions.d.ts +18 -18
  510. package/lib/descriptions/src/Descriptions.js +19 -20
  511. package/lib/descriptions/src/styles/index.cssr.js +61 -61
  512. package/lib/dialog/src/Dialog.d.ts +24 -24
  513. package/lib/dialog/src/Dialog.js +22 -22
  514. package/lib/dialog/src/DialogEnvironment.d.ts +2 -2
  515. package/lib/dialog/src/DialogProvider.d.ts +1 -1
  516. package/lib/dialog/src/styles/index.cssr.js +45 -45
  517. package/lib/divider/src/Divider.d.ts +4 -4
  518. package/lib/divider/src/Divider.js +4 -4
  519. package/lib/divider/src/styles/index.cssr.js +12 -12
  520. package/lib/drawer/src/Drawer.d.ts +19 -19
  521. package/lib/drawer/src/Drawer.js +19 -19
  522. package/lib/drawer/src/styles/index.cssr.js +41 -40
  523. package/lib/dropdown/src/Dropdown.js +34 -32
  524. package/lib/dropdown/src/styles/index.cssr.js +59 -59
  525. package/lib/dynamic-tags/src/DynamicTags.d.ts +1 -1
  526. package/lib/dynamic-tags/src/DynamicTags.js +1 -1
  527. package/lib/dynamic-tags/src/styles/index.cssr.js +1 -1
  528. package/lib/empty/src/Empty.d.ts +19 -15
  529. package/lib/empty/src/Empty.js +12 -12
  530. package/lib/empty/src/styles/index.cssr.js +19 -18
  531. package/lib/form/src/Form.d.ts +27 -27
  532. package/lib/form/src/FormItem.d.ts +42 -42
  533. package/lib/form/src/FormItem.js +15 -15
  534. package/lib/form/src/FormItemCol.d.ts +33 -27
  535. package/lib/form/src/FormItemCol.js +1 -0
  536. package/lib/form/src/FormItemGridItem.d.ts +33 -27
  537. package/lib/form/src/FormItemGridItem.js +1 -0
  538. package/lib/form/src/FormItemRow.d.ts +33 -27
  539. package/lib/form/src/FormItemRow.js +1 -0
  540. package/lib/form/src/styles/form-item.cssr.js +37 -37
  541. package/lib/form/styles/_common.d.ts +0 -3
  542. package/lib/form/styles/_common.js +0 -3
  543. package/lib/form/styles/light.d.ts +3 -3
  544. package/lib/form/styles/light.js +2 -2
  545. package/lib/gradient-text/src/GradientText.d.ts +5 -5
  546. package/lib/gradient-text/src/GradientText.js +5 -5
  547. package/lib/gradient-text/src/styles/index.cssr.js +9 -9
  548. package/lib/icon/src/Icon.d.ts +6 -6
  549. package/lib/icon/src/Icon.js +4 -4
  550. package/lib/icon/src/styles/index.cssr.js +7 -7
  551. package/lib/image/src/Image.js +7 -11
  552. package/lib/image/src/ImagePreview.d.ts +2 -2
  553. package/lib/image/src/ImagePreview.js +12 -11
  554. package/lib/image/src/styles/index.cssr.js +5 -5
  555. package/lib/input/src/Input.d.ts +52 -47
  556. package/lib/input/src/Input.js +54 -49
  557. package/lib/input/src/InputGroupLabel.d.ts +8 -8
  558. package/lib/input/src/InputGroupLabel.js +8 -8
  559. package/lib/input/src/styles/input-group-label.cssr.js +18 -18
  560. package/lib/input/src/styles/input.cssr.js +108 -109
  561. package/lib/input-number/src/InputNumber.d.ts +11 -0
  562. package/lib/input-number/src/InputNumber.js +5 -2
  563. package/lib/input-number/src/utils.js +2 -1
  564. package/lib/layout/src/Layout.d.ts +6 -6
  565. package/lib/layout/src/Layout.js +3 -3
  566. package/lib/layout/src/LayoutContent.d.ts +3 -3
  567. package/lib/layout/src/LayoutFooter.js +7 -7
  568. package/lib/layout/src/LayoutHeader.js +7 -7
  569. package/lib/layout/src/LayoutSider.js +13 -13
  570. package/lib/layout/src/styles/layout-footer.cssr.js +11 -11
  571. package/lib/layout/src/styles/layout-header.cssr.js +11 -11
  572. package/lib/layout/src/styles/layout-sider.cssr.js +32 -32
  573. package/lib/layout/src/styles/layout.cssr.js +8 -8
  574. package/lib/list/src/List.d.ts +10 -10
  575. package/lib/list/src/List.js +10 -10
  576. package/lib/list/src/styles/index.cssr.js +30 -30
  577. package/lib/loading-bar/src/LoadingBar.d.ts +3 -3
  578. package/lib/loading-bar/src/LoadingBar.js +3 -3
  579. package/lib/loading-bar/src/styles/index.cssr.js +7 -7
  580. package/lib/locales/common/deDE.js +2 -0
  581. package/lib/locales/common/enUS.d.ts +2 -0
  582. package/lib/locales/common/enUS.js +2 -0
  583. package/lib/locales/common/frFR.js +7 -5
  584. package/lib/locales/common/idID.js +2 -0
  585. package/lib/locales/common/jaJP.js +2 -0
  586. package/lib/locales/common/nbNO.js +2 -0
  587. package/lib/locales/common/ruRU.js +2 -0
  588. package/lib/locales/common/ukUA.js +2 -0
  589. package/lib/locales/common/zhCN.js +2 -0
  590. package/lib/locales/common/zhTW.d.ts +3 -0
  591. package/lib/locales/common/zhTW.js +102 -0
  592. package/lib/locales/date/zhTW.d.ts +3 -0
  593. package/lib/locales/date/zhTW.js +11 -0
  594. package/lib/locales/index.d.ts +2 -0
  595. package/lib/locales/index.js +5 -1
  596. package/lib/log/src/Log.d.ts +6 -6
  597. package/lib/log/src/Log.js +6 -6
  598. package/lib/log/src/styles/index.cssr.js +16 -18
  599. package/lib/mention/src/Mention.d.ts +1 -1
  600. package/lib/mention/src/Mention.js +1 -1
  601. package/lib/mention/src/styles/index.cssr.js +2 -2
  602. package/lib/menu/src/Menu.js +43 -40
  603. package/lib/menu/src/styles/index.cssr.js +71 -71
  604. package/lib/message/src/Message.d.ts +22 -22
  605. package/lib/message/src/Message.js +22 -22
  606. package/lib/message/src/styles/index.cssr.js +48 -48
  607. package/lib/modal/src/BodyWrapper.d.ts +11 -2
  608. package/lib/modal/src/BodyWrapper.js +23 -17
  609. package/lib/modal/src/Modal.d.ts +14 -8
  610. package/lib/modal/src/Modal.js +13 -7
  611. package/lib/modal/src/presetProps.d.ts +2 -1
  612. package/lib/modal/src/styles/index.cssr.js +8 -8
  613. package/lib/notification/src/Notification.d.ts +24 -24
  614. package/lib/notification/src/Notification.js +24 -24
  615. package/lib/notification/src/styles/index.cssr.js +65 -65
  616. package/lib/number-animation/index.d.ts +3 -0
  617. package/lib/number-animation/index.js +8 -0
  618. package/lib/number-animation/src/NumberAnimation.d.ts +79 -0
  619. package/lib/number-animation/src/NumberAnimation.js +83 -0
  620. package/lib/number-animation/src/utils.d.ts +8 -0
  621. package/lib/number-animation/src/utils.js +21 -0
  622. package/lib/page-header/src/PageHeader.d.ts +10 -10
  623. package/lib/page-header/src/PageHeader.js +13 -13
  624. package/lib/page-header/src/styles/index.cssr.js +25 -27
  625. package/lib/pagination/src/Pagination.d.ts +42 -41
  626. package/lib/pagination/src/Pagination.js +52 -45
  627. package/lib/pagination/src/styles/index.cssr.js +81 -81
  628. package/lib/popconfirm/src/Popconfirm.d.ts +2 -2
  629. package/lib/popconfirm/src/PopconfirmPanel.d.ts +4 -4
  630. package/lib/popconfirm/src/PopconfirmPanel.js +4 -4
  631. package/lib/popconfirm/src/styles/index.cssr.js +8 -8
  632. package/lib/popover/src/Popover.js +4 -1
  633. package/lib/popover/src/PopoverBody.js +18 -18
  634. package/lib/popover/src/styles/index.cssr.js +62 -62
  635. package/lib/popselect/src/Popselect.d.ts +2 -11
  636. package/lib/popselect/src/Popselect.js +2 -2
  637. package/lib/popselect/src/PopselectPanel.d.ts +3 -11
  638. package/lib/popselect/src/PopselectPanel.js +16 -10
  639. package/lib/progress/src/Progress.d.ts +14 -14
  640. package/lib/progress/src/Progress.js +14 -14
  641. package/lib/progress/src/styles/index.cssr.js +53 -53
  642. package/lib/radio/src/Radio.d.ts +15 -15
  643. package/lib/radio/src/Radio.js +18 -18
  644. package/lib/radio/src/RadioButton.js +4 -5
  645. package/lib/radio/src/RadioGroup.d.ts +14 -14
  646. package/lib/radio/src/RadioGroup.js +14 -14
  647. package/lib/radio/src/styles/radio-group.cssr.js +51 -47
  648. package/lib/radio/src/styles/radio.cssr.js +44 -40
  649. package/lib/radio/src/use-radio.d.ts +0 -3
  650. package/lib/radio/src/use-radio.js +1 -26
  651. package/lib/rate/src/Rate.d.ts +4 -4
  652. package/lib/rate/src/Rate.js +4 -4
  653. package/lib/rate/src/styles/index.cssr.js +11 -11
  654. package/lib/result/src/Result.d.ts +9 -9
  655. package/lib/result/src/Result.js +9 -9
  656. package/lib/result/src/styles/index.cssr.js +20 -20
  657. package/lib/select/src/Select.d.ts +1 -1
  658. package/lib/select/src/Select.js +1 -1
  659. package/lib/select/src/styles/index.cssr.js +2 -2
  660. package/lib/skeleton/src/Skeleton.d.ts +3 -3
  661. package/lib/skeleton/src/Skeleton.js +3 -3
  662. package/lib/skeleton/src/styles/index.cssr.js +12 -12
  663. package/lib/slider/src/Slider.d.ts +29 -29
  664. package/lib/slider/src/Slider.js +29 -29
  665. package/lib/slider/src/styles/index.cssr.js +87 -87
  666. package/lib/spin/src/Spin.d.ts +5 -5
  667. package/lib/spin/src/Spin.js +5 -5
  668. package/lib/spin/src/styles/index.cssr.js +15 -15
  669. package/lib/statistic/src/Statistic.d.ts +25 -45
  670. package/lib/statistic/src/Statistic.js +12 -19
  671. package/lib/statistic/src/styles/index.cssr.js +19 -19
  672. package/lib/steps/src/Step.d.ts +12 -12
  673. package/lib/steps/src/Step.js +12 -12
  674. package/lib/steps/src/styles/index.cssr.js +46 -46
  675. package/lib/switch/src/Switch.d.ts +19 -19
  676. package/lib/switch/src/Switch.js +26 -19
  677. package/lib/switch/src/styles/index.cssr.js +59 -57
  678. package/lib/table/src/Table.d.ts +21 -21
  679. package/lib/table/src/Table.js +21 -21
  680. package/lib/table/src/styles/index.cssr.js +55 -55
  681. package/lib/tabs/src/styles/index.cssr.js +5 -1
  682. package/lib/tabs/styles/light.js +1 -1
  683. package/lib/tag/src/Tag.d.ts +27 -26
  684. package/lib/tag/src/Tag.js +27 -26
  685. package/lib/tag/src/styles/index.cssr.js +55 -55
  686. package/lib/tag/src/styles/rtl.cssr.js +1 -1
  687. package/lib/thing/src/Thing.js +5 -5
  688. package/lib/thing/src/styles/index.cssr.js +11 -11
  689. package/lib/time-picker/src/TimePicker.d.ts +19 -19
  690. package/lib/time-picker/src/TimePicker.js +17 -17
  691. package/lib/time-picker/src/styles/index.cssr.js +47 -47
  692. package/lib/timeline/src/TimelineItem.d.ts +12 -12
  693. package/lib/timeline/src/TimelineItem.js +12 -12
  694. package/lib/timeline/src/styles/index.cssr.js +44 -44
  695. package/lib/transfer/src/Transfer.d.ts +21 -21
  696. package/lib/transfer/src/Transfer.js +21 -21
  697. package/lib/transfer/src/TransferList.js +5 -7
  698. package/lib/transfer/src/styles/index.cssr.js +47 -42
  699. package/lib/tree/src/Tree.d.ts +11 -11
  700. package/lib/tree/src/Tree.js +11 -11
  701. package/lib/tree/src/dnd.js +2 -2
  702. package/lib/tree/src/styles/index.cssr.js +33 -33
  703. package/lib/tree-select/src/TreeSelect.d.ts +43 -6
  704. package/lib/tree-select/src/TreeSelect.js +28 -13
  705. package/lib/tree-select/src/styles/index.cssr.js +20 -11
  706. package/lib/tree-select/styles/light.d.ts +6 -0
  707. package/lib/tree-select/styles/light.js +5 -2
  708. package/lib/typography/src/a.d.ts +2 -2
  709. package/lib/typography/src/a.js +2 -2
  710. package/lib/typography/src/blockquote.d.ts +5 -5
  711. package/lib/typography/src/blockquote.js +5 -5
  712. package/lib/typography/src/create-header.d.ts +8 -8
  713. package/lib/typography/src/create-header.js +8 -8
  714. package/lib/typography/src/headers.d.ts +48 -48
  715. package/lib/typography/src/hr.d.ts +2 -1
  716. package/lib/typography/src/hr.js +3 -1
  717. package/lib/typography/src/ol.d.ts +7 -7
  718. package/lib/typography/src/ol.js +7 -7
  719. package/lib/typography/src/p.d.ts +5 -5
  720. package/lib/typography/src/p.js +5 -5
  721. package/lib/typography/src/styles/a.cssr.js +6 -6
  722. package/lib/typography/src/styles/blockquote.cssr.js +11 -11
  723. package/lib/typography/src/styles/header.cssr.js +19 -19
  724. package/lib/typography/src/styles/hr.cssr.js +3 -3
  725. package/lib/typography/src/styles/list.cssr.js +15 -15
  726. package/lib/typography/src/styles/p.cssr.js +10 -10
  727. package/lib/typography/src/styles/text.cssr.js +18 -18
  728. package/lib/typography/src/text.d.ts +8 -7
  729. package/lib/typography/src/text.js +9 -8
  730. package/lib/typography/src/ul.d.ts +7 -7
  731. package/lib/typography/src/ul.js +7 -7
  732. package/lib/upload/src/Upload.d.ts +1 -1
  733. package/lib/upload/src/Upload.js +16 -16
  734. package/lib/upload/src/styles/index.cssr.js +36 -36
  735. package/lib/version.d.ts +1 -1
  736. package/lib/version.js +1 -1
  737. package/package.json +38 -36
  738. package/web-types.json +252 -11
@@ -44,26 +44,26 @@ export default defineComponent({
44
44
  const { type } = props;
45
45
  const { left, right } = getMargin(iconMargin);
46
46
  return {
47
- '--bezier': cubicBezierEaseInOut,
48
- '--color': self[createKey('color', type)],
49
- '--close-color': self[createKey('closeColor', type)],
50
- '--close-color-hover': self[createKey('closeColorHover', type)],
51
- '--close-color-pressed': self[createKey('closeColorPressed', type)],
52
- '--icon-color': self[createKey('iconColor', type)],
53
- '--border': self[createKey('border', type)],
54
- '--title-text-color': self[createKey('titleTextColor', type)],
55
- '--content-text-color': self[createKey('contentTextColor', type)],
56
- '--line-height': lineHeight,
57
- '--border-radius': borderRadius,
58
- '--font-size': fontSize,
59
- '--title-font-weight': titleFontWeight,
60
- '--icon-size': iconSize,
61
- '--icon-margin': iconMargin,
62
- '--close-size': closeSize,
63
- '--close-margin': closeMargin,
64
- '--padding': padding,
65
- '--icon-margin-left': left,
66
- '--icon-margin-right': right
47
+ '--n-bezier': cubicBezierEaseInOut,
48
+ '--n-color': self[createKey('color', type)],
49
+ '--n-close-color': self[createKey('closeColor', type)],
50
+ '--n-close-color-hover': self[createKey('closeColorHover', type)],
51
+ '--n-close-color-pressed': self[createKey('closeColorPressed', type)],
52
+ '--n-icon-color': self[createKey('iconColor', type)],
53
+ '--n-border': self[createKey('border', type)],
54
+ '--n-title-text-color': self[createKey('titleTextColor', type)],
55
+ '--n-content-text-color': self[createKey('contentTextColor', type)],
56
+ '--n-line-height': lineHeight,
57
+ '--n-border-radius': borderRadius,
58
+ '--n-font-size': fontSize,
59
+ '--n-title-font-weight': titleFontWeight,
60
+ '--n-icon-size': iconSize,
61
+ '--n-icon-margin': iconMargin,
62
+ '--n-close-size': closeSize,
63
+ '--n-close-margin': closeMargin,
64
+ '--n-padding': padding,
65
+ '--n-icon-margin-left': left,
66
+ '--n-icon-margin-right': right
67
67
  };
68
68
  });
69
69
  const visibleRef = ref(true);
@@ -126,9 +126,9 @@ export default defineComponent({
126
126
  }
127
127
  })))),
128
128
  h("div", { class: `${mergedClsPrefix}-alert-body` },
129
- this.title !== undefined && (h("div", { class: `${mergedClsPrefix}-alert-body__title` }, renderSlot($slots, 'header', undefined, () => [
129
+ this.title || $slots.header ? (h("div", { class: `${mergedClsPrefix}-alert-body__title` }, renderSlot($slots, 'header', undefined, () => [
130
130
  this.title
131
- ]))),
131
+ ]))) : null,
132
132
  $slots.default && (h("div", { class: `${mergedClsPrefix}-alert-body__content` }, $slots))))) : null;
133
133
  }
134
134
  }));
@@ -1,44 +1,44 @@
1
1
  import { c, cB, cE, cM } from '../../../_utils/cssr';
2
2
  import fadeInHeightExpandTranstion from '../../../_styles/transitions/fade-in-height-expand.cssr'; // vars:
3
- // --bezier
4
- // --color
5
- // --close-color
6
- // --close-color-hover
7
- // --close-color-pressed
8
- // --icon-color
9
- // --border
10
- // --title-text-color
11
- // --content-text-color
12
- // --line-height
13
- // --border-radius
14
- // --font-size
15
- // --title-font-weight
16
- // --icon-size
17
- // --icon-margin
18
- // --close-size
19
- // --close-margin
20
- // --padding
21
- // --icon-margin-left
22
- // --icon-margin-right
3
+ // --n-bezier
4
+ // --n-color
5
+ // --n-close-color
6
+ // --n-close-color-hover
7
+ // --n-close-color-pressed
8
+ // --n-icon-color
9
+ // --n-border
10
+ // --n-title-text-color
11
+ // --n-content-text-color
12
+ // --n-line-height
13
+ // --n-border-radius
14
+ // --n-font-size
15
+ // --n-title-font-weight
16
+ // --n-icon-size
17
+ // --n-icon-margin
18
+ // --n-close-size
19
+ // --n-close-margin
20
+ // --n-padding
21
+ // --n-icon-margin-left
22
+ // --n-icon-margin-right
23
23
 
24
24
  export default cB('alert', `
25
- line-height: var(--line-height);
26
- border-radius: var(--border-radius);
25
+ line-height: var(--n-line-height);
26
+ border-radius: var(--n-border-radius);
27
27
  position: relative;
28
- transition: background-color .3s var(--bezier);
29
- background-color: var(--color);
28
+ transition: background-color .3s var(--n-bezier);
29
+ background-color: var(--n-color);
30
30
  text-align: start;
31
31
  `, [cE('icon', {
32
- color: 'var(--icon-color)'
32
+ color: 'var(--n-icon-color)'
33
33
  }), cB('alert-body', {
34
- border: 'var(--border)',
35
- padding: 'var(--padding)'
34
+ border: 'var(--n-border)',
35
+ padding: 'var(--n-padding)'
36
36
  }, [cE('title', {
37
- color: 'var(--title-text-color)'
37
+ color: 'var(--n-title-text-color)'
38
38
  }), cE('content', {
39
- color: 'var(--content-text-color)'
39
+ color: 'var(--n-content-text-color)'
40
40
  })]), fadeInHeightExpandTranstion({
41
- originalTransition: 'transform .3s var(--bezier)',
41
+ originalTransition: 'transform .3s var(--n-bezier)',
42
42
  enterToProps: {
43
43
  transform: 'scale(1)'
44
44
  },
@@ -52,32 +52,32 @@ export default cB('alert', `
52
52
  align-items: center;
53
53
  justify-content: center;
54
54
  display: flex;
55
- width: var(--icon-size);
56
- height: var(--icon-size);
57
- font-size: var(--icon-size);
58
- margin: var(--icon-margin);
55
+ width: var(--n-icon-size);
56
+ height: var(--n-icon-size);
57
+ font-size: var(--n-icon-size);
58
+ margin: var(--n-icon-margin);
59
59
  `), cE('close', `
60
- transition: color .3s var(--bezier);
60
+ transition: color .3s var(--n-bezier);
61
61
  position: absolute;
62
62
  right: 0;
63
63
  top: 0;
64
- margin: var(--close-margin);
65
- font-size: var(--close-size);
64
+ margin: var(--n-close-margin);
65
+ font-size: var(--n-close-size);
66
66
  `), cM('show-icon', [cB('alert-body', {
67
- paddingLeft: 'calc(var(--icon-margin-left) + var(--icon-size) + var(--icon-margin-right))'
67
+ paddingLeft: 'calc(var(--n-icon-margin-left) + var(--n-icon-size) + var(--n-icon-margin-right))'
68
68
  })]), cB('alert-body', `
69
- border-radius: var(--border-radius);
70
- transition: border-color .3s var(--bezier);
69
+ border-radius: var(--n-border-radius);
70
+ transition: border-color .3s var(--n-bezier);
71
71
  `, [cE('title', `
72
- transition: color .3s var(--bezier);
72
+ transition: color .3s var(--n-bezier);
73
73
  font-size: 16px;
74
74
  line-height: 19px;
75
- font-weight: var(--title-font-weight);
75
+ font-weight: var(--n-title-font-weight);
76
76
  `, [c('& +', [cE('content', {
77
77
  marginTop: '9px'
78
78
  })])]), cE('content', {
79
- transition: 'color .3s var(--bezier)',
80
- fontSize: 'var(--font-size)'
79
+ transition: 'color .3s var(--n-bezier)',
80
+ fontSize: 'var(--n-font-size)'
81
81
  })]), cE('icon', {
82
- transition: 'color .3s var(--bezier)'
82
+ transition: 'color .3s var(--n-bezier)'
83
83
  })]);
@@ -17,18 +17,18 @@ export default defineComponent({
17
17
  const cssVarsRef = computed(() => {
18
18
  const { self: { railColor, linkColor, railColorActive, linkTextColor, linkTextColorHover, linkTextColorPressed, linkTextColorActive, linkFontSize, railWidth, linkPadding, borderRadius }, common: { cubicBezierEaseInOut } } = themeRef.value;
19
19
  return {
20
- '--link-border-radius': borderRadius,
21
- '--link-color': linkColor,
22
- '--link-font-size': linkFontSize,
23
- '--link-text-color': linkTextColor,
24
- '--link-text-color-hover': linkTextColorHover,
25
- '--link-text-color-active': linkTextColorActive,
26
- '--link-text-color-pressed': linkTextColorPressed,
27
- '--link-padding': linkPadding,
28
- '--bezier': cubicBezierEaseInOut,
29
- '--rail-color': railColor,
30
- '--rail-color-active': railColorActive,
31
- '--rail-width': railWidth
20
+ '--n-link-border-radius': borderRadius,
21
+ '--n-link-color': linkColor,
22
+ '--n-link-font-size': linkFontSize,
23
+ '--n-link-text-color': linkTextColor,
24
+ '--n-link-text-color-hover': linkTextColorHover,
25
+ '--n-link-text-color-active': linkTextColorActive,
26
+ '--n-link-text-color-pressed': linkTextColorPressed,
27
+ '--n-link-padding': linkPadding,
28
+ '--n-bezier': cubicBezierEaseInOut,
29
+ '--n-rail-color': railColor,
30
+ '--n-rail-color-active': railColorActive,
31
+ '--n-rail-width': railWidth
32
32
  };
33
33
  });
34
34
  return {
@@ -1,21 +1,21 @@
1
1
  import { c, cE, cB, cM, cNotM } from '../../../_utils/cssr'; // vars:
2
- // --link-color
3
- // --link-font-size
4
- // --link-text-color
5
- // --link-text-color-hover
6
- // --link-text-color-active
7
- // --link-text-color-pressed
8
- // --bezier
9
- // --rail-color
10
- // --rail-color-active
11
- // --rail-width
12
- // --link-padding
13
- // --link-border-radius
2
+ // --n-link-color
3
+ // --n-link-font-size
4
+ // --n-link-text-color
5
+ // --n-link-text-color-hover
6
+ // --n-link-text-color-active
7
+ // --n-link-text-color-pressed
8
+ // --n-bezier
9
+ // --n-rail-color
10
+ // --n-rail-color-active
11
+ // --n-rail-width
12
+ // --n-link-padding
13
+ // --n-link-border-radius
14
14
 
15
15
  export default cB('anchor', `
16
16
  position: relative;
17
17
  `, [cNotM('block', `
18
- padding-left: var(--rail-width);
18
+ padding-left: var(--n-rail-width);
19
19
  `, [cB('anchor-link', [c('+, >', [cB('anchor-link', `
20
20
  margin-top: .5em;
21
21
  `)])]), cB('anchor-link-background', `
@@ -25,56 +25,52 @@ export default cB('anchor', `
25
25
  `), cNotM('show-rail', [c('>', [cB('anchor-link', 'padding-left: 0;')])])]), cM('block', [cB('anchor-link', `
26
26
  margin-bottom: 4px;
27
27
  padding: 2px 8px;
28
- transition: background-color .3s var(--bezier);
28
+ transition: background-color .3s var(--n-bezier);
29
29
  background-color: transparent;
30
- border-radius: var(--link-border-radius);
30
+ border-radius: var(--n-link-border-radius);
31
31
  `, [cM('active', `
32
- background-color: var(--link-color);
32
+ background-color: var(--n-link-color);
33
33
  `)])]), cB('anchor-link-background', `
34
34
  position: absolute;
35
- left: calc(var(--rail-width) / 2);
35
+ left: calc(var(--n-rail-width) / 2);
36
36
  width: 100%;
37
- background-color: var(--link-color);
37
+ background-color: var(--n-link-color);
38
38
  transition:
39
- top .15s var(--bezier),
40
- max-width .15s var(--bezier),
41
- background-color .3s var(--bezier);
39
+ top .15s var(--n-bezier),
40
+ max-width .15s var(--n-bezier),
41
+ background-color .3s var(--n-bezier);
42
42
  `), cB('anchor-rail', `
43
43
  position: absolute;
44
44
  left: 0;
45
45
  top: 0;
46
46
  bottom: 0;
47
- width: var(--rail-width);
48
- border-radius: calc(var(--rail-width) / 2);
47
+ width: var(--n-rail-width);
48
+ border-radius: calc(var(--n-rail-width) / 2);
49
49
  overflow: hidden;
50
- transition: background-color .3s var(--bezier);
51
- background-color: var(--rail-color);
50
+ transition: background-color .3s var(--n-bezier);
51
+ background-color: var(--n-rail-color);
52
52
  `, [cE('bar', `
53
53
  position: absolute;
54
54
  left: 0;
55
- width: var(--rail-width);
55
+ width: var(--n-rail-width);
56
56
  height: 21px;
57
57
  background-color: #0000;
58
58
  transition:
59
- top .15s var(--bezier),
60
- background-color .3s var(--bezier);
59
+ top .15s var(--n-bezier),
60
+ background-color .3s var(--n-bezier);
61
61
  `, [cM('active', {
62
- backgroundColor: 'var(--rail-color-active)'
62
+ backgroundColor: 'var(--n-rail-color-active)'
63
63
  })])]), cB('anchor-link', `
64
- padding: var(--link-padding);
64
+ padding: var(--n-link-padding);
65
65
  position: relative;
66
66
  line-height: 1.5;
67
- font-size: var(--link-font-size);
67
+ font-size: var(--n-link-font-size);
68
68
  min-height: 1.5em;
69
69
  display: flex;
70
70
  flex-direction: column;
71
- `, [cM('active', [cE('title', `
72
- color: var(--link-text-color-active);
73
- `)]), c('&:hover, &:focus', [cE('title', `
74
- color: var(--link-text-color-hover);
75
- `)]), c('&:active', [cE('title', `
76
- color: var(--link-text-color-pressed);
77
- `)]), cE('title', `
71
+ `, [cM('active', [c('>', [cE('title', `
72
+ color: var(--n-link-text-color-active);
73
+ `)])]), cE('title', `
78
74
  outline: none;
79
75
  max-width: 100%;
80
76
  text-decoration: none;
@@ -84,6 +80,10 @@ export default cB('anchor', `
84
80
  cursor: pointer;
85
81
  display: inline-block;
86
82
  padding-right: 16px;
87
- transition: color .3s var(--bezier);
88
- color: var(--link-text-color);
89
- `)])]);
83
+ transition: color .3s var(--n-bezier);
84
+ color: var(--n-link-text-color);
85
+ `, [c('&:hover, &:focus', `
86
+ color: var(--n-link-text-color-hover);
87
+ `), c('&:active', `
88
+ color: var(--n-link-text-color-pressed);
89
+ `)])])]);
@@ -1072,8 +1072,8 @@ declare const _default: import("vue").DefineComponent<{
1072
1072
  };
1073
1073
  }>;
1074
1074
  cssVars: import("vue").ComputedRef<{
1075
- '--menu-box-shadow': string;
1076
- '--bezier': string;
1075
+ '--n-menu-box-shadow': string;
1076
+ '--n-bezier': string;
1077
1077
  }>;
1078
1078
  mergedBordered: import("vue").ComputedRef<boolean>;
1079
1079
  namespace: import("vue").ComputedRef<string | undefined>;
@@ -206,8 +206,8 @@ export default defineComponent({
206
206
  cssVars: computed(() => {
207
207
  const { common: { cubicBezierEaseInOut }, self: { menuBoxShadow } } = themeRef.value;
208
208
  return {
209
- '--menu-box-shadow': menuBoxShadow,
210
- '--bezier': cubicBezierEaseInOut
209
+ '--n-menu-box-shadow': menuBoxShadow,
210
+ '--n-bezier': cubicBezierEaseInOut
211
211
  };
212
212
  }),
213
213
  mergedBordered: mergedBorderedRef,
@@ -1,7 +1,7 @@
1
1
  import { c, cB } from '../../../_utils/cssr';
2
2
  import fadeInScaleUpTransition from '../../../_styles/transitions/fade-in-scale-up.cssr'; // vars:
3
- // --bezier
4
- // --menu-box-shadow
3
+ // --n-bezier
4
+ // --n-menu-box-shadow
5
5
 
6
6
  export default c([cB('auto-complete', `
7
7
  z-index: auto;
@@ -10,7 +10,7 @@ export default c([cB('auto-complete', `
10
10
  width: 100%;
11
11
  `), cB('auto-complete-menu', `
12
12
  margin: 4px 0;
13
- box-shadow: var(--menu-box-shadow);
13
+ box-shadow: var(--n-menu-box-shadow);
14
14
  `, [fadeInScaleUpTransition({
15
- originalTransition: 'background-color .3s var(--bezier)'
15
+ originalTransition: 'background-color .3s var(--n-bezier)'
16
16
  })])]);
@@ -1,2 +1,4 @@
1
1
  export { default as NAvatar } from './src/Avatar';
2
2
  export type { AvatarProps } from './src/Avatar';
3
+ export { default as NAvatarGroup } from './src/AvatarGroup';
4
+ export type { AvatarGroupProps } from './src/AvatarGroup';
@@ -1 +1,2 @@
1
1
  export { default as NAvatar } from './src/Avatar';
2
+ export { default as NAvatarGroup } from './src/AvatarGroup';
@@ -1,109 +1,141 @@
1
1
  import { PropType } from 'vue';
2
+ import type { Size, ObjectFit } from './interface';
2
3
  import type { ExtractPublicPropTypes } from '../../_utils';
3
- declare const avatarProps: {
4
- readonly size: {
5
- readonly type: PropType<number | "small" | "medium" | "large">;
6
- readonly default: "medium";
7
- };
4
+ export declare const avatarProps: {
5
+ readonly size: PropType<Size>;
8
6
  readonly src: StringConstructor;
9
- readonly circle: BooleanConstructor;
10
- readonly color: StringConstructor;
11
- readonly objectFit: {
12
- readonly type: PropType<"fill" | "none" | "contain" | "cover" | "scale-down">;
13
- readonly default: "fill";
7
+ readonly circle: {
8
+ readonly type: BooleanConstructor;
9
+ readonly default: undefined;
10
+ };
11
+ readonly objectFit: PropType<ObjectFit>;
12
+ readonly round: {
13
+ readonly type: BooleanConstructor;
14
+ readonly default: undefined;
15
+ };
16
+ readonly bordered: {
17
+ readonly type: BooleanConstructor;
18
+ readonly default: undefined;
14
19
  };
15
- readonly round: BooleanConstructor;
16
20
  readonly onError: PropType<(e: Event) => void>;
17
21
  readonly fallbackSrc: StringConstructor;
22
+ /** @deprecated */
23
+ readonly color: StringConstructor;
18
24
  readonly theme: PropType<import("../../_mixins").Theme<"Avatar", {
19
25
  borderRadius: string;
20
26
  fontSize: string;
27
+ border: string;
21
28
  heightTiny: string;
22
29
  heightSmall: string;
23
30
  heightMedium: string;
24
31
  heightLarge: string;
25
32
  heightHuge: string;
26
33
  color: string;
34
+ colorModal: string;
35
+ colorPopover: string;
27
36
  }, any>>;
28
37
  readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Avatar", {
29
38
  borderRadius: string;
30
39
  fontSize: string;
40
+ border: string;
31
41
  heightTiny: string;
32
42
  heightSmall: string;
33
43
  heightMedium: string;
34
44
  heightLarge: string;
35
45
  heightHuge: string;
36
46
  color: string;
47
+ colorModal: string;
48
+ colorPopover: string;
37
49
  }, any>>>;
38
50
  readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Avatar", {
39
51
  borderRadius: string;
40
52
  fontSize: string;
53
+ border: string;
41
54
  heightTiny: string;
42
55
  heightSmall: string;
43
56
  heightMedium: string;
44
57
  heightLarge: string;
45
58
  heightHuge: string;
46
59
  color: string;
60
+ colorModal: string;
61
+ colorPopover: string;
47
62
  }, any>>>;
48
63
  };
49
64
  export declare type AvatarProps = ExtractPublicPropTypes<typeof avatarProps>;
50
65
  declare const _default: import("vue").DefineComponent<{
51
- readonly size: {
52
- readonly type: PropType<number | "small" | "medium" | "large">;
53
- readonly default: "medium";
54
- };
66
+ readonly size: PropType<Size>;
55
67
  readonly src: StringConstructor;
56
- readonly circle: BooleanConstructor;
57
- readonly color: StringConstructor;
58
- readonly objectFit: {
59
- readonly type: PropType<"fill" | "none" | "contain" | "cover" | "scale-down">;
60
- readonly default: "fill";
68
+ readonly circle: {
69
+ readonly type: BooleanConstructor;
70
+ readonly default: undefined;
71
+ };
72
+ readonly objectFit: PropType<ObjectFit>;
73
+ readonly round: {
74
+ readonly type: BooleanConstructor;
75
+ readonly default: undefined;
76
+ };
77
+ readonly bordered: {
78
+ readonly type: BooleanConstructor;
79
+ readonly default: undefined;
61
80
  };
62
- readonly round: BooleanConstructor;
63
81
  readonly onError: PropType<(e: Event) => void>;
64
82
  readonly fallbackSrc: StringConstructor;
83
+ /** @deprecated */
84
+ readonly color: StringConstructor;
65
85
  readonly theme: PropType<import("../../_mixins").Theme<"Avatar", {
66
86
  borderRadius: string;
67
87
  fontSize: string;
88
+ border: string;
68
89
  heightTiny: string;
69
90
  heightSmall: string;
70
91
  heightMedium: string;
71
92
  heightLarge: string;
72
93
  heightHuge: string;
73
94
  color: string;
95
+ colorModal: string;
96
+ colorPopover: string;
74
97
  }, any>>;
75
98
  readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Avatar", {
76
99
  borderRadius: string;
77
100
  fontSize: string;
101
+ border: string;
78
102
  heightTiny: string;
79
103
  heightSmall: string;
80
104
  heightMedium: string;
81
105
  heightLarge: string;
82
106
  heightHuge: string;
83
107
  color: string;
108
+ colorModal: string;
109
+ colorPopover: string;
84
110
  }, any>>>;
85
111
  readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Avatar", {
86
112
  borderRadius: string;
87
113
  fontSize: string;
114
+ border: string;
88
115
  heightTiny: string;
89
116
  heightSmall: string;
90
117
  heightMedium: string;
91
118
  heightLarge: string;
92
119
  heightHuge: string;
93
120
  color: string;
121
+ colorModal: string;
122
+ colorPopover: string;
94
123
  }, any>>>;
95
124
  }, {
96
125
  textRef: import("vue").Ref<HTMLElement | null>;
97
126
  selfRef: import("vue").Ref<HTMLElement | null>;
98
- mergedRoundRef: import("vue").ComputedRef<boolean>;
127
+ mergedRoundRef: import("vue").ComputedRef<boolean | undefined>;
99
128
  mergedClsPrefix: import("vue").ComputedRef<string>;
100
129
  fitTextTransform: () => void;
101
130
  cssVars: import("vue").ComputedRef<{
102
- '--font-size': string;
103
- '--border-radius': string;
104
- '--color': string;
105
- '--bezier': string;
106
- '--merged-size': string;
131
+ '--n-font-size': string;
132
+ '--n-border': string;
133
+ '--n-border-radius': string;
134
+ '--n-color': string;
135
+ '--n-color-modal': string;
136
+ '--n-color-popover': string;
137
+ '--n-bezier': string;
138
+ '--n-merged-size': string;
107
139
  }>;
108
140
  hasLoadError: import("vue").Ref<boolean>;
109
141
  handleError: (e: Event) => void;
@@ -111,58 +143,67 @@ declare const _default: import("vue").DefineComponent<{
111
143
  readonly size?: unknown;
112
144
  readonly src?: unknown;
113
145
  readonly circle?: unknown;
114
- readonly color?: unknown;
115
146
  readonly objectFit?: unknown;
116
147
  readonly round?: unknown;
148
+ readonly bordered?: unknown;
117
149
  readonly onError?: unknown;
118
150
  readonly fallbackSrc?: unknown;
151
+ readonly color?: unknown;
119
152
  readonly theme?: unknown;
120
153
  readonly themeOverrides?: unknown;
121
154
  readonly builtinThemeOverrides?: unknown;
122
- } & {
123
- round: boolean;
124
- size: number | "small" | "medium" | "large";
125
- circle: boolean;
126
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
127
- } & {
155
+ } & {} & {
128
156
  onError?: ((e: Event) => void) | undefined;
129
157
  color?: string | undefined;
158
+ round?: boolean | undefined;
159
+ size?: Size | undefined;
160
+ circle?: boolean | undefined;
161
+ objectFit?: ObjectFit | undefined;
130
162
  src?: string | undefined;
131
163
  theme?: import("../../_mixins").Theme<"Avatar", {
132
164
  borderRadius: string;
133
165
  fontSize: string;
166
+ border: string;
134
167
  heightTiny: string;
135
168
  heightSmall: string;
136
169
  heightMedium: string;
137
170
  heightLarge: string;
138
171
  heightHuge: string;
139
172
  color: string;
173
+ colorModal: string;
174
+ colorPopover: string;
140
175
  }, any> | undefined;
141
176
  themeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Avatar", {
142
177
  borderRadius: string;
143
178
  fontSize: string;
179
+ border: string;
144
180
  heightTiny: string;
145
181
  heightSmall: string;
146
182
  heightMedium: string;
147
183
  heightLarge: string;
148
184
  heightHuge: string;
149
185
  color: string;
186
+ colorModal: string;
187
+ colorPopover: string;
150
188
  }, any>> | undefined;
151
189
  builtinThemeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Avatar", {
152
190
  borderRadius: string;
153
191
  fontSize: string;
192
+ border: string;
154
193
  heightTiny: string;
155
194
  heightSmall: string;
156
195
  heightMedium: string;
157
196
  heightLarge: string;
158
197
  heightHuge: string;
159
198
  color: string;
199
+ colorModal: string;
200
+ colorPopover: string;
160
201
  }, any>> | undefined;
202
+ bordered?: boolean | undefined;
161
203
  fallbackSrc?: string | undefined;
162
204
  }>, {
163
205
  round: boolean;
164
- size: number | "small" | "medium" | "large";
165
206
  circle: boolean;
166
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
207
+ bordered: boolean;
167
208
  }>;
168
209
  export default _default;