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
@@ -1,10 +1,10 @@
1
1
  import { cB, c, cE } from '../../../../_utils/cssr';
2
2
  import createIconSwitchTransition from '../../../../_styles/transitions/icon-switch.cssr'; // vars:
3
- // --bezier
4
- // --clear-color
5
- // --clear-size
6
- // --clear-color-hover
7
- // --clear-color-pressed
3
+ // --n-bezier
4
+ // --n-clear-color
5
+ // --n-clear-size
6
+ // --n-clear-color-hover
7
+ // --n-clear-color-pressed
8
8
 
9
9
  export default cB('base-clear', `
10
10
  flex-shrink: 0;
@@ -12,14 +12,14 @@ export default cB('base-clear', `
12
12
  width: 1em;
13
13
  position: relative;
14
14
  `, [c('>', [cE('clear', `
15
- font-size: var(--clear-size);
15
+ font-size: var(--n-clear-size);
16
16
  cursor: pointer;
17
- color: var(--clear-color);
18
- transition: color .3s var(--bezier);
17
+ color: var(--n-clear-color);
18
+ transition: color .3s var(--n-bezier);
19
19
  `, [c('&:hover', `
20
- color: var(--clear-color-hover)!important;
20
+ color: var(--n-clear-color-hover)!important;
21
21
  `), c('&:active', `
22
- color: var(--clear-color-pressed)!important;
22
+ color: var(--n-clear-color-pressed)!important;
23
23
  `)]), cE('placeholder', `
24
24
  display: flex;
25
25
  `), cE('clear, placeholder', `
@@ -1,17 +1,17 @@
1
1
  import { cB, cM, c } from '../../../../_utils/cssr'; // vars:
2
- // --close-color
3
- // --close-color-hover
4
- // --close-color-pressed
5
- // --close-color-disabled
2
+ // --n-close-color
3
+ // --n-close-color-hover
4
+ // --n-close-color-pressed
5
+ // --n-close-color-disabled
6
6
 
7
7
  export default cB('base-close', `
8
8
  cursor: pointer;
9
- color: var(--close-color);
9
+ color: var(--n-close-color);
10
10
  `, [c('&:hover', {
11
- color: 'var(--close-color-hover)'
11
+ color: 'var(--n-close-color-hover)'
12
12
  }), c('&:active', {
13
- color: 'var(--close-color-pressed)'
13
+ color: 'var(--n-close-color-pressed)'
14
14
  }), cM('disabled', {
15
15
  cursor: 'not-allowed!important',
16
- color: 'var(--close-color-disabled)'
16
+ color: 'var(--n-close-color-disabled)'
17
17
  })]);
@@ -1,6 +1,6 @@
1
1
  import { h } from 'vue';
2
2
  import { replaceable } from './replaceable';
3
- export default replaceable('close', h("svg", { viewBox: "0 0 12 12", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
3
+ export default replaceable('close', h("svg", { viewBox: "0 0 12 12", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": true },
4
4
  h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" },
5
5
  h("g", { fill: "currentColor", "fill-rule": "nonzero" },
6
6
  h("path", { d: "M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z" })))));
@@ -51,6 +51,7 @@ declare const scrollbarProps: {
51
51
  };
52
52
  readonly container: PropType<() => HTMLElement | null | undefined>;
53
53
  readonly content: PropType<() => HTMLElement | null | undefined>;
54
+ readonly containerClass: StringConstructor;
54
55
  readonly containerStyle: PropType<string | CSSProperties>;
55
56
  readonly contentClass: StringConstructor;
56
57
  readonly contentStyle: PropType<string | CSSProperties>;
@@ -94,6 +95,7 @@ declare const Scrollbar: import("vue").DefineComponent<{
94
95
  };
95
96
  readonly container: PropType<() => HTMLElement | null | undefined>;
96
97
  readonly content: PropType<() => HTMLElement | null | undefined>;
98
+ readonly containerClass: StringConstructor;
97
99
  readonly containerStyle: PropType<string | CSSProperties>;
98
100
  readonly contentClass: StringConstructor;
99
101
  readonly contentStyle: PropType<string | CSSProperties>;
@@ -142,12 +144,12 @@ declare const Scrollbar: import("vue").DefineComponent<{
142
144
  handleYScrollMouseDown: (e: MouseEvent) => void;
143
145
  handleXScrollMouseDown: (e: MouseEvent) => void;
144
146
  cssVars: import("vue").ComputedRef<{
145
- '--scrollbar-bezier': string;
146
- '--scrollbar-color': string;
147
- '--scrollbar-color-hover': string;
148
- '--scrollbar-border-radius': string;
149
- '--scrollbar-width': string;
150
- '--scrollbar-height': string;
147
+ '--n-scrollbar-bezier': string;
148
+ '--n-scrollbar-color': string;
149
+ '--n-scrollbar-color-hover': string;
150
+ '--n-scrollbar-border-radius': string;
151
+ '--n-scrollbar-width': string;
152
+ '--n-scrollbar-height': string;
151
153
  }>;
152
154
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
153
155
  readonly size?: unknown;
@@ -156,6 +158,7 @@ declare const Scrollbar: import("vue").DefineComponent<{
156
158
  readonly xScrollable?: unknown;
157
159
  readonly container?: unknown;
158
160
  readonly content?: unknown;
161
+ readonly containerClass?: unknown;
159
162
  readonly containerStyle?: unknown;
160
163
  readonly contentClass?: unknown;
161
164
  readonly contentStyle?: unknown;
@@ -189,6 +192,7 @@ declare const Scrollbar: import("vue").DefineComponent<{
189
192
  color: string;
190
193
  colorHover: string;
191
194
  }, any>> | undefined;
195
+ containerClass?: string | undefined;
192
196
  onResize?: ((e: ResizeObserverEntry) => void) | undefined;
193
197
  container?: (() => HTMLElement | null | undefined) | undefined;
194
198
  containerStyle?: string | CSSProperties | undefined;
@@ -19,7 +19,7 @@ const scrollbarProps = Object.assign(Object.assign({}, useTheme.props), { size:
19
19
  default: false
20
20
  },
21
21
  // If container is set, resize observer won't not attached
22
- container: Function, content: Function, containerStyle: [String, Object], contentClass: String, contentStyle: [String, Object], horizontalRailStyle: [String, Object], verticalRailStyle: [String, Object], onScroll: Function, onWheel: Function, onResize: Function, internalOnUpdateScrollLeft: Function });
22
+ container: Function, content: Function, containerClass: String, containerStyle: [String, Object], contentClass: String, contentStyle: [String, Object], horizontalRailStyle: [String, Object], verticalRailStyle: [String, Object], onScroll: Function, onWheel: Function, onResize: Function, internalOnUpdateScrollLeft: Function });
23
23
  const Scrollbar = defineComponent({
24
24
  name: 'Scrollbar',
25
25
  props: scrollbarProps,
@@ -459,12 +459,12 @@ const Scrollbar = defineComponent({
459
459
  cssVars: computed(() => {
460
460
  const { common: { cubicBezierEaseInOut, scrollbarBorderRadius, scrollbarHeight, scrollbarWidth }, self: { color, colorHover } } = themeRef.value;
461
461
  return {
462
- '--scrollbar-bezier': cubicBezierEaseInOut,
463
- '--scrollbar-color': color,
464
- '--scrollbar-color-hover': colorHover,
465
- '--scrollbar-border-radius': scrollbarBorderRadius,
466
- '--scrollbar-width': scrollbarWidth,
467
- '--scrollbar-height': scrollbarHeight
462
+ '--n-scrollbar-bezier': cubicBezierEaseInOut,
463
+ '--n-scrollbar-color': color,
464
+ '--n-scrollbar-color-hover': colorHover,
465
+ '--n-scrollbar-border-radius': scrollbarBorderRadius,
466
+ '--n-scrollbar-width': scrollbarWidth,
467
+ '--n-scrollbar-height': scrollbarHeight
468
468
  };
469
469
  })
470
470
  };
@@ -474,15 +474,19 @@ const Scrollbar = defineComponent({
474
474
  if (!this.scrollable)
475
475
  return renderSlot($slots, 'default');
476
476
  const createChildren = () => h('div', mergeProps(this.$attrs, {
477
+ role: 'none',
477
478
  ref: 'wrapperRef',
478
479
  class: `${mergedClsPrefix}-scrollbar`,
479
480
  style: this.cssVars,
480
481
  onMouseenter: this.handleMouseEnterWrapper,
481
482
  onMouseleave: this.handleMouseLeaveWrapper
482
483
  }), [
483
- this.container ? (renderSlot($slots, 'default')) : (h("div", { ref: "containerRef", class: `${mergedClsPrefix}-scrollbar-container`, style: this.containerStyle, onScroll: this.handleScroll, onWheel: this.onWheel },
484
+ this.container ? (renderSlot($slots, 'default')) : (h("div", { role: "none", ref: "containerRef", class: [
485
+ `${mergedClsPrefix}-scrollbar-container`,
486
+ this.containerClass
487
+ ], style: this.containerStyle, onScroll: this.handleScroll, onWheel: this.onWheel },
484
488
  h(VResizeObserver, { onResize: this.handleContentResize }, {
485
- default: () => (h("div", { ref: "contentRef", style: [
489
+ default: () => (h("div", { ref: "contentRef", role: "none", style: [
486
490
  {
487
491
  width: this.xScrollable ? 'fit-content' : null
488
492
  },
@@ -492,14 +496,14 @@ const Scrollbar = defineComponent({
492
496
  this.contentClass
493
497
  ] }, $slots))
494
498
  }))),
495
- h("div", { ref: "yRailRef", class: `${mergedClsPrefix}-scrollbar-rail ${mergedClsPrefix}-scrollbar-rail--vertical`, style: [this.horizontalRailStyle] },
499
+ h("div", { ref: "yRailRef", class: `${mergedClsPrefix}-scrollbar-rail ${mergedClsPrefix}-scrollbar-rail--vertical`, style: this.horizontalRailStyle, "aria-hidden": true },
496
500
  h(Transition, { name: "fade-in-transition" }, {
497
501
  default: () => this.needYBar && this.isShowYBar && !this.isIos ? (h("div", { class: `${mergedClsPrefix}-scrollbar-rail__scrollbar`, style: {
498
502
  height: this.yBarSizePx,
499
503
  top: this.yBarTopPx
500
504
  }, onMousedown: this.handleYScrollMouseDown })) : null
501
505
  })),
502
- h("div", { ref: "xRailRef", class: `${mergedClsPrefix}-scrollbar-rail ${mergedClsPrefix}-scrollbar-rail--horizontal`, style: [this.verticalRailStyle] },
506
+ h("div", { ref: "xRailRef", class: `${mergedClsPrefix}-scrollbar-rail ${mergedClsPrefix}-scrollbar-rail--horizontal`, style: this.verticalRailStyle, "aria-hidden": true },
503
507
  h(Transition, { name: "fade-in-transition" }, {
504
508
  default: () => this.needXBar && this.isShowXBar && !this.isIos ? (h("div", { class: `${mergedClsPrefix}-scrollbar-rail__scrollbar`, style: {
505
509
  width: this.xBarSizePx,
@@ -1,11 +1,11 @@
1
1
  import { cB, c, cM, cE } from '../../../../_utils/cssr';
2
2
  import fadeInTransition from '../../../../_styles/transitions/fade-in.cssr'; // vars:
3
- // --scrollbar-bezier
4
- // --scrollbar-color
5
- // --scrollbar-color-hover
6
- // --scrollbar-width
7
- // --scrollbar-height
8
- // --scrollbar-border-radius
3
+ // --n-scrollbar-bezier
4
+ // --n-scrollbar-color
5
+ // --n-scrollbar-color-hover
6
+ // --n-scrollbar-width
7
+ // --n-scrollbar-height
8
+ // --n-scrollbar-border-radius
9
9
 
10
10
  export default cB('scrollbar', `
11
11
  overflow: hidden;
@@ -34,19 +34,19 @@ export default cB('scrollbar', `
34
34
  left: 2px;
35
35
  right: 2px;
36
36
  bottom: 4px;
37
- height: var(--scrollbar-height);
37
+ height: var(--n-scrollbar-height);
38
38
  `, [c('>', [cE('scrollbar', `
39
- height: var(--scrollbar-height);
40
- border-radius: var(--scrollbar-border-radius);
39
+ height: var(--n-scrollbar-height);
40
+ border-radius: var(--n-scrollbar-border-radius);
41
41
  right: 0;
42
42
  `)])]), cM('vertical', `
43
43
  right: 4px;
44
44
  top: 2px;
45
45
  bottom: 2px;
46
- width: var(--scrollbar-width);
46
+ width: var(--n-scrollbar-width);
47
47
  `, [c('>', [cE('scrollbar', `
48
- width: var(--scrollbar-width);
49
- border-radius: var(--scrollbar-border-radius);
48
+ width: var(--n-scrollbar-width);
49
+ border-radius: var(--n-scrollbar-border-radius);
50
50
  bottom: 0;
51
51
  `)])]), cM('disabled', [c('>', [cE('scrollbar', {
52
52
  pointerEvents: 'none'
@@ -54,8 +54,8 @@ export default cB('scrollbar', `
54
54
  position: absolute;
55
55
  cursor: pointer;
56
56
  pointer-events: all;
57
- background-color: var(--scrollbar-color);
58
- transition: background-color .2s var(--scrollbar-bezier);
57
+ background-color: var(--n-scrollbar-color);
58
+ transition: background-color .2s var(--n-scrollbar-bezier);
59
59
  `, [fadeInTransition(), c('&:hover', {
60
- backgroundColor: 'var(--scrollbar-color-hover)'
60
+ backgroundColor: 'var(--n-scrollbar-color-hover)'
61
61
  })])])])])]);
@@ -392,27 +392,27 @@ declare const _default: import("vue").DefineComponent<{
392
392
  containerScrollTop: number;
393
393
  } | null>;
394
394
  style: import("vue").ComputedRef<({
395
- '--height': string;
396
- '--action-divider-color': string;
397
- '--action-text-color': string;
398
- '--bezier': string;
399
- '--border-radius': string;
400
- '--color': string;
401
- '--option-font-size': string;
402
- '--group-header-text-color': string;
403
- '--option-check-color': string;
404
- '--option-color-pending': string;
405
- '--option-color-active': string;
406
- '--option-height': string;
407
- '--option-opacity-disabled': string;
408
- '--option-text-color': string;
409
- '--option-text-color-active': string;
410
- '--option-text-color-disabled': string;
411
- '--option-text-color-pressed': string;
412
- '--option-padding': string;
413
- '--option-padding-left': string;
414
- '--loading-color': string;
415
- '--loading-size': string;
395
+ '--n-height': string;
396
+ '--n-action-divider-color': string;
397
+ '--n-action-text-color': string;
398
+ '--n-bezier': string;
399
+ '--n-border-radius': string;
400
+ '--n-color': string;
401
+ '--n-option-font-size': string;
402
+ '--n-group-header-text-color': string;
403
+ '--n-option-check-color': string;
404
+ '--n-option-color-pending': string;
405
+ '--n-option-color-active': string;
406
+ '--n-option-height': string;
407
+ '--n-option-opacity-disabled': string;
408
+ '--n-option-text-color': string;
409
+ '--n-option-text-color-active': string;
410
+ '--n-option-text-color-disabled': string;
411
+ '--n-option-text-color-pressed': string;
412
+ '--n-option-padding': string;
413
+ '--n-option-padding-left': string;
414
+ '--n-loading-color': string;
415
+ '--n-loading-size': string;
416
416
  } | {
417
417
  width: string | undefined;
418
418
  })[]>;
@@ -222,27 +222,27 @@ export default defineComponent({
222
222
  const { size } = props;
223
223
  const { common: { cubicBezierEaseInOut }, self: { height, borderRadius, color, groupHeaderTextColor, actionDividerColor, optionTextColorPressed, optionTextColor, optionTextColorDisabled, optionTextColorActive, optionOpacityDisabled, optionCheckColor, actionTextColor, optionColorPending, optionColorActive, loadingColor, loadingSize, [createKey('optionFontSize', size)]: fontSize, [createKey('optionHeight', size)]: optionHeight, [createKey('optionPadding', size)]: optionPadding } } = themeRef.value;
224
224
  return {
225
- '--height': height,
226
- '--action-divider-color': actionDividerColor,
227
- '--action-text-color': actionTextColor,
228
- '--bezier': cubicBezierEaseInOut,
229
- '--border-radius': borderRadius,
230
- '--color': color,
231
- '--option-font-size': fontSize,
232
- '--group-header-text-color': groupHeaderTextColor,
233
- '--option-check-color': optionCheckColor,
234
- '--option-color-pending': optionColorPending,
235
- '--option-color-active': optionColorActive,
236
- '--option-height': optionHeight,
237
- '--option-opacity-disabled': optionOpacityDisabled,
238
- '--option-text-color': optionTextColor,
239
- '--option-text-color-active': optionTextColorActive,
240
- '--option-text-color-disabled': optionTextColorDisabled,
241
- '--option-text-color-pressed': optionTextColorPressed,
242
- '--option-padding': optionPadding,
243
- '--option-padding-left': getPadding(optionPadding, 'left'),
244
- '--loading-color': loadingColor,
245
- '--loading-size': loadingSize
225
+ '--n-height': height,
226
+ '--n-action-divider-color': actionDividerColor,
227
+ '--n-action-text-color': actionTextColor,
228
+ '--n-bezier': cubicBezierEaseInOut,
229
+ '--n-border-radius': borderRadius,
230
+ '--n-color': color,
231
+ '--n-option-font-size': fontSize,
232
+ '--n-group-header-text-color': groupHeaderTextColor,
233
+ '--n-option-check-color': optionCheckColor,
234
+ '--n-option-color-pending': optionColorPending,
235
+ '--n-option-color-active': optionColorActive,
236
+ '--n-option-height': optionHeight,
237
+ '--n-option-opacity-disabled': optionOpacityDisabled,
238
+ '--n-option-text-color': optionTextColor,
239
+ '--n-option-text-color-active': optionTextColorActive,
240
+ '--n-option-text-color-disabled': optionTextColorDisabled,
241
+ '--n-option-text-color-pressed': optionTextColorPressed,
242
+ '--n-option-padding': optionPadding,
243
+ '--n-option-padding-left': getPadding(optionPadding, 'left'),
244
+ '--n-loading-color': loadingColor,
245
+ '--n-loading-size': loadingSize
246
246
  };
247
247
  });
248
248
  const exposedProps = {
@@ -1,26 +1,26 @@
1
1
  import { c, cB, cE, cM, cNotM } from '../../../../_utils/cssr';
2
- import fadeInScaleUpTransition from '../../../../_styles/transitions/fade-in-scale-up.cssr'; // --loading-color
3
- // --loading-size
2
+ import fadeInScaleUpTransition from '../../../../_styles/transitions/fade-in-scale-up.cssr'; // --n-loading-color
3
+ // --n-loading-size
4
4
 
5
5
  export default cB('base-select-menu', `
6
6
  line-height: 1.5;
7
7
  outline: none;
8
8
  z-index: 0;
9
9
  position: relative;
10
- border-radius: var(--border-radius);
10
+ border-radius: var(--n-border-radius);
11
11
  transition:
12
- background-color .3s var(--bezier),
13
- box-shadow .3s var(--bezier);
14
- background-color: var(--color);
12
+ background-color .3s var(--n-bezier),
13
+ box-shadow .3s var(--n-bezier);
14
+ background-color: var(--n-color);
15
15
  `, [cM('multiple', [cB('base-select-option', `
16
16
  padding-right: 28px;
17
17
  `)]), cB('scrollbar', `
18
- max-height: var(--height);
18
+ max-height: var(--n-height);
19
19
  `), cB('virtual-list', `
20
- max-height: var(--height);
20
+ max-height: var(--n-height);
21
21
  `), cB('base-select-option', `
22
- min-height: var(--option-height);
23
- font-size: var(--option-font-size);
22
+ min-height: var(--n-option-height);
23
+ font-size: var(--n-option-font-size);
24
24
  display: flex;
25
25
  align-items: center;
26
26
  `, [cE('content', `
@@ -28,7 +28,7 @@ export default cB('base-select-menu', `
28
28
  text-overflow: ellipsis;
29
29
  overflow: hidden;
30
30
  `)]), cB('base-select-group-header', `
31
- min-height: var(--option-height);
31
+ min-height: var(--n-option-height);
32
32
  font-size: .93em;
33
33
  display: flex;
34
34
  align-items: center;
@@ -41,54 +41,54 @@ export default cB('base-select-menu', `
41
41
  flex: 1;
42
42
  justify-content: center;
43
43
  `), cE('loading', `
44
- color: var(--loading-color);
45
- font-size: var(--loading-size);
44
+ color: var(--n-loading-color);
45
+ font-size: var(--n-loading-size);
46
46
  `), cE('action', `
47
- padding: 8px var(--option-padding-left);
48
- font-size: var(--option-font-size);
47
+ padding: 8px var(--n-option-padding-left);
48
+ font-size: var(--n-option-font-size);
49
49
  transition:
50
- color .3s var(--bezier);
51
- border-color .3s var(--bezier);
52
- border-top: 1px solid var(--action-divider-color);
53
- color: var(--action-text-color);
50
+ color .3s var(--n-bezier);
51
+ border-color .3s var(--n-bezier);
52
+ border-top: 1px solid var(--n-action-divider-color);
53
+ color: var(--n-action-text-color);
54
54
  `), cB('base-select-group-header', `
55
55
  position: relative;
56
56
  cursor: default;
57
- padding: var(--option-padding);
58
- color: var(--group-header-text-color);
57
+ padding: var(--n-option-padding);
58
+ color: var(--n-group-header-text-color);
59
59
  `), cB('base-select-option', `
60
60
  cursor: pointer;
61
61
  position: relative;
62
- padding: var(--option-padding);
62
+ padding: var(--n-option-padding);
63
63
  transition:
64
- background-color .3s var(--bezier),
65
- color .3s var(--bezier),
66
- opacity .3s var(--bezier);
64
+ background-color .3s var(--n-bezier),
65
+ color .3s var(--n-bezier),
66
+ opacity .3s var(--n-bezier);
67
67
  box-sizing: border-box;
68
- color: var(--option-text-color);
68
+ color: var(--n-option-text-color);
69
69
  opacity: 1;
70
70
  `, [c('&:active', `
71
- color: var(--option-text-color-pressed);
71
+ color: var(--n-option-text-color-pressed);
72
72
  `), cM('grouped', `
73
- padding-left: calc(var(--option-padding-left) * 1.5);
73
+ padding-left: calc(var(--n-option-padding-left) * 1.5);
74
74
  `), cM('pending', `
75
- background-color: var(--option-color-pending);
75
+ background-color: var(--n-option-color-pending);
76
76
  `), cM('selected', `
77
- color: var(--option-text-color-active);
78
- background-color: var(--option-color-active);
77
+ color: var(--n-option-text-color-active);
78
+ background-color: var(--n-option-color-active);
79
79
  `), cM('disabled', `
80
80
  cursor: not-allowed;
81
81
  `, [cNotM('selected', `
82
- color: var(--option-text-color-disabled);
82
+ color: var(--n-option-text-color-disabled);
83
83
  `), cM('selected', `
84
- opacity: var(--option-opacity-disabled);
84
+ opacity: var(--n-option-opacity-disabled);
85
85
  `)]), cE('check', `
86
86
  font-size: 16px;
87
87
  position: absolute;
88
88
  right: 8px;
89
89
  top: calc(50% - 7px);
90
- color: var(--option-check-color);
91
- transition: color .3s var(--bezier);
90
+ color: var(--n-option-check-color);
91
+ transition: color .3s var(--n-bezier);
92
92
  `, [fadeInScaleUpTransition({
93
93
  enterScale: '0.5'
94
94
  })])])]);
@@ -1,5 +1,5 @@
1
1
  export default {
2
- height: 'calc(var(--option-height) * 7.6)',
2
+ height: 'calc(var(--n-option-height) * 7.6)',
3
3
  paddingSmall: '4px 0',
4
4
  paddingMedium: '4px 0',
5
5
  paddingLarge: '4px 0',
@@ -489,50 +489,50 @@ declare const _default: import("vue").DefineComponent<{
489
489
  getTail: () => HTMLElement | null;
490
490
  renderLabel: RenderLabelImpl;
491
491
  cssVars: import("vue").ComputedRef<{
492
- '--bezier': string;
493
- '--border': string;
494
- '--border-active': string;
495
- '--border-focus': string;
496
- '--border-hover': string;
497
- '--border-radius': string;
498
- '--box-shadow-active': string;
499
- '--box-shadow-focus': string;
500
- '--box-shadow-hover': null;
501
- '--caret-color': string;
502
- '--color': string;
503
- '--color-active': string;
504
- '--color-disabled': string;
505
- '--font-size': string;
506
- '--height': string;
507
- '--padding-single': string;
508
- '--placeholder-color': string;
509
- '--placeholder-color-disabled': string;
510
- '--text-color': string;
511
- '--text-color-disabled': string;
512
- '--arrow-color': string;
513
- '--arrow-color-disabled': string;
514
- '--loading-color': string;
515
- '--color-active-warning': string;
516
- '--box-shadow-focus-warning': string;
517
- '--box-shadow-active-warning': string;
518
- '--box-shadow-hover-warning': null;
519
- '--border-warning': string;
520
- '--border-focus-warning': string;
521
- '--border-hover-warning': string;
522
- '--border-active-warning': string;
523
- '--color-active-error': string;
524
- '--box-shadow-focus-error': string;
525
- '--box-shadow-active-error': string;
526
- '--box-shadow-hover-error': null;
527
- '--border-error': string;
528
- '--border-focus-error': string;
529
- '--border-hover-error': string;
530
- '--border-active-error': string;
531
- '--clear-size': string;
532
- '--clear-color': string;
533
- '--clear-color-hover': string;
534
- '--clear-color-pressed': string;
535
- '--arrow-size': string;
492
+ '--n-bezier': string;
493
+ '--n-border': string;
494
+ '--n-border-active': string;
495
+ '--n-border-focus': string;
496
+ '--n-border-hover': string;
497
+ '--n-border-radius': string;
498
+ '--n-box-shadow-active': string;
499
+ '--n-box-shadow-focus': string;
500
+ '--n-box-shadow-hover': null;
501
+ '--n-caret-color': string;
502
+ '--n-color': string;
503
+ '--n-color-active': string;
504
+ '--n-color-disabled': string;
505
+ '--n-font-size': string;
506
+ '--n-height': string;
507
+ '--n-padding-single': string;
508
+ '--n-placeholder-color': string;
509
+ '--n-placeholder-color-disabled': string;
510
+ '--n-text-color': string;
511
+ '--n-text-color-disabled': string;
512
+ '--n-arrow-color': string;
513
+ '--n-arrow-color-disabled': string;
514
+ '--n-loading-color': string;
515
+ '--n-color-active-warning': string;
516
+ '--n-box-shadow-focus-warning': string;
517
+ '--n-box-shadow-active-warning': string;
518
+ '--n-box-shadow-hover-warning': null;
519
+ '--n-border-warning': string;
520
+ '--n-border-focus-warning': string;
521
+ '--n-border-hover-warning': string;
522
+ '--n-border-active-warning': string;
523
+ '--n-color-active-error': string;
524
+ '--n-box-shadow-focus-error': string;
525
+ '--n-box-shadow-active-error': string;
526
+ '--n-box-shadow-hover-error': null;
527
+ '--n-border-error': string;
528
+ '--n-border-focus-error': string;
529
+ '--n-border-hover-error': string;
530
+ '--n-border-active-error': string;
531
+ '--n-clear-size': string;
532
+ '--n-clear-color': string;
533
+ '--n-clear-color-hover': string;
534
+ '--n-clear-color-pressed': string;
535
+ '--n-arrow-size': string;
536
536
  }>;
537
537
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
538
538
  clsPrefix?: unknown;