@mantine-vue/core 3.6.0 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. package/cjs/index.cjs +546 -569
  2. package/cjs/index.cjs.map +1 -1
  3. package/esm/index.mjs +548 -570
  4. package/esm/index.mjs.map +1 -1
  5. package/lib/components/Accordion/Accordion.d.ts +3 -3
  6. package/lib/components/Accordion/Accordion.vue.d.ts +1 -4
  7. package/lib/components/Accordion/AccordionControl/AccordionControl.d.ts +1 -1
  8. package/lib/components/Accordion/AccordionControl/AccordionControl.types.d.ts +1 -4
  9. package/lib/components/Accordion/AccordionControl/AccordionControl.vue.d.ts +3 -2
  10. package/lib/components/Accordion/AccordionItem/AccordionItem.d.ts +1 -1
  11. package/lib/components/Accordion/AccordionItem/AccordionItem.types.d.ts +1 -4
  12. package/lib/components/Accordion/AccordionItem/AccordionItem.vue.d.ts +4 -2
  13. package/lib/components/Accordion/AccordionPanel/AccordionPanel.d.ts +1 -1
  14. package/lib/components/Accordion/AccordionPanel/AccordionPanel.types.d.ts +1 -4
  15. package/lib/components/Accordion/AccordionPanel/AccordionPanel.vue.d.ts +4 -2
  16. package/lib/components/ActionBar/ActionBar.d.ts +1 -1
  17. package/lib/components/ActionBar/ActionBar.types.d.ts +3 -5
  18. package/lib/components/ActionBar/ActionBar.vue.d.ts +3 -2
  19. package/lib/components/ActionIcon/ActionIcon.d.ts +1 -1
  20. package/lib/components/ActionIcon/ActionIcon.types.d.ts +3 -5
  21. package/lib/components/ActionIcon/ActionIcon.vue.d.ts +3 -2
  22. package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.d.ts +1 -1
  23. package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.types.d.ts +1 -4
  24. package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.vue.d.ts +3 -2
  25. package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.d.ts +1 -1
  26. package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.types.d.ts +1 -4
  27. package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.vue.d.ts +3 -2
  28. package/lib/components/Affix/Affix.d.ts +1 -1
  29. package/lib/components/Affix/Affix.types.d.ts +3 -5
  30. package/lib/components/Affix/Affix.vue.d.ts +3 -2
  31. package/lib/components/Alert/Alert.d.ts +1 -1
  32. package/lib/components/Alert/Alert.types.d.ts +1 -4
  33. package/lib/components/Alert/Alert.vue.d.ts +3 -2
  34. package/lib/components/Anchor/Anchor.d.ts +1 -1
  35. package/lib/components/Anchor/Anchor.types.d.ts +1 -4
  36. package/lib/components/Anchor/Anchor.vue.d.ts +3 -2
  37. package/lib/components/AngleSlider/AngleSlider.types.d.ts +2 -2
  38. package/lib/components/AppShell/AppShell.d.ts +1 -1
  39. package/lib/components/AppShell/AppShell.types.d.ts +1 -4
  40. package/lib/components/AppShell/AppShell.vue.d.ts +3 -2
  41. package/lib/components/AppShell/AppShellMain/AppShellMain.d.ts +1 -1
  42. package/lib/components/AppShell/AppShellMain/AppShellMain.types.d.ts +1 -4
  43. package/lib/components/AppShell/AppShellMain/AppShellMain.vue.d.ts +4 -2
  44. package/lib/components/AppShell/AppShellSection/AppShellSection.d.ts +1 -1
  45. package/lib/components/AppShell/AppShellSection/AppShellSection.types.d.ts +1 -1
  46. package/lib/components/AspectRatio/AspectRatio.d.ts +1 -1
  47. package/lib/components/AspectRatio/AspectRatio.types.d.ts +1 -4
  48. package/lib/components/AspectRatio/AspectRatio.vue.d.ts +3 -2
  49. package/lib/components/Autocomplete/Autocomplete.types.d.ts +4 -3
  50. package/lib/components/Avatar/Avatar.d.ts +1 -1
  51. package/lib/components/Avatar/Avatar.types.d.ts +1 -4
  52. package/lib/components/Avatar/Avatar.vue.d.ts +3 -2
  53. package/lib/components/Avatar/AvatarGroup/AvatarGroup.d.ts +1 -1
  54. package/lib/components/Avatar/AvatarGroup/AvatarGroup.types.d.ts +1 -4
  55. package/lib/components/Avatar/AvatarGroup/AvatarGroup.vue.d.ts +3 -2
  56. package/lib/components/BackgroundImage/BackgroundImage.d.ts +1 -1
  57. package/lib/components/BackgroundImage/BackgroundImage.types.d.ts +1 -4
  58. package/lib/components/BackgroundImage/BackgroundImage.vue.d.ts +3 -2
  59. package/lib/components/Badge/Badge.d.ts +1 -1
  60. package/lib/components/Badge/Badge.types.d.ts +1 -4
  61. package/lib/components/Badge/Badge.vue.d.ts +3 -2
  62. package/lib/components/Blockquote/Blockquote.d.ts +1 -1
  63. package/lib/components/Blockquote/Blockquote.types.d.ts +1 -4
  64. package/lib/components/Blockquote/Blockquote.vue.d.ts +3 -2
  65. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  66. package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +1 -4
  67. package/lib/components/Breadcrumbs/Breadcrumbs.vue.d.ts +3 -2
  68. package/lib/components/Burger/Burger.d.ts +1 -1
  69. package/lib/components/Burger/Burger.types.d.ts +1 -4
  70. package/lib/components/Burger/Burger.vue.d.ts +3 -2
  71. package/lib/components/Button/Button.d.ts +1 -1
  72. package/lib/components/Button/Button.types.d.ts +3 -5
  73. package/lib/components/Button/Button.vue.d.ts +3 -2
  74. package/lib/components/Button/ButtonGroup/ButtonGroup.d.ts +1 -1
  75. package/lib/components/Button/ButtonGroup/ButtonGroup.types.d.ts +1 -4
  76. package/lib/components/Button/ButtonGroup/ButtonGroup.vue.d.ts +3 -2
  77. package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.d.ts +1 -1
  78. package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.types.d.ts +1 -4
  79. package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.vue.d.ts +3 -2
  80. package/lib/components/Card/Card.d.ts +1 -1
  81. package/lib/components/Card/Card.types.d.ts +1 -4
  82. package/lib/components/Card/Card.vue.d.ts +3 -2
  83. package/lib/components/Card/CardSection/CardSection.d.ts +1 -1
  84. package/lib/components/Card/CardSection/CardSection.types.d.ts +1 -1
  85. package/lib/components/Cascader/Cascader.types.d.ts +6 -4
  86. package/lib/components/Center/Center.d.ts +1 -1
  87. package/lib/components/Center/Center.types.d.ts +1 -4
  88. package/lib/components/Center/Center.vue.d.ts +4 -2
  89. package/lib/components/Checkbox/Checkbox.d.ts +1 -1
  90. package/lib/components/Checkbox/Checkbox.types.d.ts +4 -7
  91. package/lib/components/Checkbox/Checkbox.vue.d.ts +3 -2
  92. package/lib/components/Checkbox/CheckboxCard/CheckboxCard.d.ts +1 -1
  93. package/lib/components/Checkbox/CheckboxCard/CheckboxCard.types.d.ts +1 -4
  94. package/lib/components/Checkbox/CheckboxCard/CheckboxCard.vue.d.ts +3 -2
  95. package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.types.d.ts +4 -4
  96. package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.d.ts +1 -1
  97. package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.types.d.ts +1 -4
  98. package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.vue.d.ts +3 -2
  99. package/lib/components/Chip/Chip.d.ts +1 -1
  100. package/lib/components/Chip/Chip.types.d.ts +4 -7
  101. package/lib/components/Chip/Chip.vue.d.ts +3 -2
  102. package/lib/components/CloseButton/CloseButton.d.ts +1 -1
  103. package/lib/components/CloseButton/CloseButton.types.d.ts +1 -1
  104. package/lib/components/Code/Code.d.ts +1 -1
  105. package/lib/components/Code/Code.types.d.ts +1 -4
  106. package/lib/components/Code/Code.vue.d.ts +3 -2
  107. package/lib/components/Collapse/Collapse.d.ts +1 -1
  108. package/lib/components/Collapse/Collapse.types.d.ts +1 -4
  109. package/lib/components/Collapse/Collapse.vue.d.ts +3 -2
  110. package/lib/components/ColorInput/ColorInput.types.d.ts +2 -1
  111. package/lib/components/ColorPicker/ColorPicker.props.types.d.ts +3 -2
  112. package/lib/components/ColorPicker/ColorSlider/ColorSlider.types.d.ts +2 -1
  113. package/lib/components/ColorSwatch/ColorSwatch.d.ts +1 -1
  114. package/lib/components/ColorSwatch/ColorSwatch.types.d.ts +1 -4
  115. package/lib/components/ColorSwatch/ColorSwatch.vue.d.ts +3 -2
  116. package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.types.d.ts +2 -1
  117. package/lib/components/ComboboxPopover/ComboboxPopover.types.d.ts +4 -3
  118. package/lib/components/Container/Container.d.ts +1 -1
  119. package/lib/components/Container/Container.types.d.ts +1 -4
  120. package/lib/components/Container/Container.vue.d.ts +3 -2
  121. package/lib/components/DataList/DataList.d.ts +1 -1
  122. package/lib/components/DataList/DataList.types.d.ts +1 -4
  123. package/lib/components/DataList/DataList.vue.d.ts +3 -2
  124. package/lib/components/DataList/DataListItem/DataListItem.d.ts +1 -1
  125. package/lib/components/DataList/DataListItem/DataListItem.types.d.ts +1 -4
  126. package/lib/components/DataList/DataListItem/DataListItem.vue.d.ts +4 -2
  127. package/lib/components/DataList/DataListItemLabel/DataListItemLabel.d.ts +1 -1
  128. package/lib/components/DataList/DataListItemLabel/DataListItemLabel.types.d.ts +1 -4
  129. package/lib/components/DataList/DataListItemLabel/DataListItemLabel.vue.d.ts +4 -2
  130. package/lib/components/DataList/DataListItemValue/DataListItemValue.d.ts +1 -1
  131. package/lib/components/DataList/DataListItemValue/DataListItemValue.types.d.ts +1 -4
  132. package/lib/components/DataList/DataListItemValue/DataListItemValue.vue.d.ts +4 -2
  133. package/lib/components/Dialog/Dialog.types.d.ts +4 -7
  134. package/lib/components/Divider/Divider.d.ts +1 -1
  135. package/lib/components/Divider/Divider.types.d.ts +1 -4
  136. package/lib/components/Divider/Divider.vue.d.ts +3 -2
  137. package/lib/components/Drawer/Drawer.types.d.ts +6 -3
  138. package/lib/components/Drawer/DrawerRoot.vue.d.ts +3 -2
  139. package/lib/components/EmptyState/EmptyState.d.ts +1 -1
  140. package/lib/components/EmptyState/EmptyState.types.d.ts +1 -4
  141. package/lib/components/EmptyState/EmptyState.vue.d.ts +3 -2
  142. package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.d.ts +1 -1
  143. package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.types.d.ts +1 -4
  144. package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.vue.d.ts +4 -2
  145. package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.d.ts +1 -1
  146. package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.types.d.ts +1 -4
  147. package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.vue.d.ts +4 -2
  148. package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.d.ts +1 -1
  149. package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.types.d.ts +1 -4
  150. package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.vue.d.ts +4 -2
  151. package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.d.ts +1 -1
  152. package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.types.d.ts +1 -4
  153. package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.vue.d.ts +4 -2
  154. package/lib/components/Fieldset/Fieldset.d.ts +1 -1
  155. package/lib/components/Fieldset/Fieldset.types.d.ts +1 -4
  156. package/lib/components/Fieldset/Fieldset.vue.d.ts +3 -2
  157. package/lib/components/FileButton/FileButton.types.d.ts +2 -2
  158. package/lib/components/FileInput/FileInput.types.d.ts +7 -5
  159. package/lib/components/Flex/Flex.d.ts +1 -1
  160. package/lib/components/Flex/Flex.types.d.ts +1 -4
  161. package/lib/components/Flex/Flex.vue.d.ts +4 -2
  162. package/lib/components/FloatingIndicator/FloatingIndicator.d.ts +1 -1
  163. package/lib/components/FloatingIndicator/FloatingIndicator.types.d.ts +1 -4
  164. package/lib/components/FloatingIndicator/FloatingIndicator.vue.d.ts +3 -2
  165. package/lib/components/FloatingWindow/FloatingWindow.d.ts +1 -1
  166. package/lib/components/FloatingWindow/FloatingWindow.types.d.ts +2 -1
  167. package/lib/components/FloatingWindow/FloatingWindowResizeHandle.d.ts +1 -1
  168. package/lib/components/FloatingWindow/FloatingWindowResizeHandle.types.d.ts +1 -4
  169. package/lib/components/FloatingWindow/FloatingWindowResizeHandle.vue.d.ts +3 -2
  170. package/lib/components/Grid/Grid.d.ts +1 -1
  171. package/lib/components/Grid/Grid.types.d.ts +1 -4
  172. package/lib/components/Grid/Grid.vue.d.ts +3 -2
  173. package/lib/components/Grid/GridCol/GridCol.d.ts +1 -1
  174. package/lib/components/Grid/GridCol/GridCol.types.d.ts +1 -4
  175. package/lib/components/Grid/GridCol/GridCol.vue.d.ts +3 -2
  176. package/lib/components/Group/Group.d.ts +1 -1
  177. package/lib/components/Group/Group.types.d.ts +1 -4
  178. package/lib/components/Group/Group.vue.d.ts +3 -2
  179. package/lib/components/Highlight/Highlight.d.ts +1 -1
  180. package/lib/components/Highlight/Highlight.types.d.ts +1 -4
  181. package/lib/components/Highlight/Highlight.vue.d.ts +3 -2
  182. package/lib/components/Image/Image.d.ts +1 -1
  183. package/lib/components/Image/Image.types.d.ts +1 -4
  184. package/lib/components/Image/Image.vue.d.ts +3 -2
  185. package/lib/components/Indicator/Indicator.d.ts +1 -1
  186. package/lib/components/Indicator/Indicator.types.d.ts +1 -4
  187. package/lib/components/Indicator/Indicator.vue.d.ts +3 -2
  188. package/lib/components/Input/Input.d.ts +1 -1
  189. package/lib/components/Input/Input.types.d.ts +7 -12
  190. package/lib/components/Input/Input.vue.d.ts +3 -2
  191. package/lib/components/Input/InputClearButton/InputClearButton.d.ts +1 -1
  192. package/lib/components/Input/InputClearButton/InputClearButton.types.d.ts +1 -4
  193. package/lib/components/Input/InputClearButton/InputClearButton.vue.d.ts +4 -2
  194. package/lib/components/Input/InputDescription/InputDescription.d.ts +1 -1
  195. package/lib/components/Input/InputDescription/InputDescription.types.d.ts +4 -7
  196. package/lib/components/Input/InputDescription/InputDescription.vue.d.ts +3 -2
  197. package/lib/components/Input/InputError/InputError.d.ts +1 -1
  198. package/lib/components/Input/InputError/InputError.types.d.ts +4 -7
  199. package/lib/components/Input/InputError/InputError.vue.d.ts +3 -2
  200. package/lib/components/Input/InputLabel/InputLabel.d.ts +1 -1
  201. package/lib/components/Input/InputLabel/InputLabel.types.d.ts +4 -7
  202. package/lib/components/Input/InputLabel/InputLabel.vue.d.ts +3 -2
  203. package/lib/components/Input/InputPlaceholder/InputPlaceholder.d.ts +1 -1
  204. package/lib/components/Input/InputPlaceholder/InputPlaceholder.types.d.ts +1 -4
  205. package/lib/components/Input/InputPlaceholder/InputPlaceholder.vue.d.ts +4 -2
  206. package/lib/components/Input/InputWrapper/InputWrapper.types.d.ts +7 -4
  207. package/lib/components/InputBase/InputBase.d.ts +1 -1
  208. package/lib/components/InputBase/InputBase.types.d.ts +11 -16
  209. package/lib/components/InputBase/InputBase.vue.d.ts +3 -2
  210. package/lib/components/Kbd/Kbd.d.ts +1 -1
  211. package/lib/components/Kbd/Kbd.types.d.ts +1 -4
  212. package/lib/components/Kbd/Kbd.vue.d.ts +3 -2
  213. package/lib/components/List/List.d.ts +1 -1
  214. package/lib/components/List/List.types.d.ts +1 -4
  215. package/lib/components/List/List.vue.d.ts +3 -2
  216. package/lib/components/List/ListItem/ListItem.d.ts +1 -1
  217. package/lib/components/List/ListItem/ListItem.types.d.ts +1 -4
  218. package/lib/components/List/ListItem/ListItem.vue.d.ts +4 -2
  219. package/lib/components/Loader/Loader.d.ts +1 -1
  220. package/lib/components/Loader/Loader.types.d.ts +3 -6
  221. package/lib/components/Loader/Loader.vue.d.ts +3 -2
  222. package/lib/components/LoadingOverlay/LoadingOverlay.d.ts +3 -2
  223. package/lib/components/LoadingOverlay/LoadingOverlay.types.d.ts +13 -7
  224. package/lib/components/LoadingOverlay/LoadingOverlay.vue.d.ts +10 -4
  225. package/lib/components/Mark/Mark.d.ts +1 -1
  226. package/lib/components/Mark/Mark.types.d.ts +1 -4
  227. package/lib/components/Mark/Mark.vue.d.ts +3 -2
  228. package/lib/components/Marquee/Marquee.d.ts +1 -1
  229. package/lib/components/Marquee/Marquee.types.d.ts +1 -4
  230. package/lib/components/Marquee/Marquee.vue.d.ts +3 -2
  231. package/lib/components/Menu/Menu.types.d.ts +6 -5
  232. package/lib/components/Menubar/MenubarMenu/MenubarMenu.types.d.ts +2 -5
  233. package/lib/components/Modal/Modal.types.d.ts +6 -3
  234. package/lib/components/ModalBase/ModalBase.d.ts +1 -1
  235. package/lib/components/ModalBase/ModalBase.types.d.ts +5 -6
  236. package/lib/components/ModalBase/ModalBase.vue.d.ts +4 -2
  237. package/lib/components/ModalBase/ModalBaseCloseButton.types.d.ts +3 -2
  238. package/lib/components/ModalBase/ModalBaseContent.d.ts +1 -1
  239. package/lib/components/ModalBase/ModalBaseContent.types.d.ts +5 -7
  240. package/lib/components/ModalBase/ModalBaseContent.vue.d.ts +4 -2
  241. package/lib/components/ModalBase/ModalBaseOverlay.types.d.ts +2 -2
  242. package/lib/components/MultiSelect/MultiSelect.types.d.ts +6 -5
  243. package/lib/components/NativeSelect/NativeSelect.d.ts +1 -1
  244. package/lib/components/NativeSelect/NativeSelect.types.d.ts +1 -4
  245. package/lib/components/NativeSelect/NativeSelect.vue.d.ts +3 -2
  246. package/lib/components/NavLink/NavLink.d.ts +1 -1
  247. package/lib/components/NavLink/NavLink.types.d.ts +1 -4
  248. package/lib/components/NavLink/NavLink.vue.d.ts +3 -2
  249. package/lib/components/Notification/Notification.d.ts +1 -1
  250. package/lib/components/Notification/Notification.types.d.ts +3 -5
  251. package/lib/components/Notification/Notification.vue.d.ts +3 -2
  252. package/lib/components/NumberInput/NumberInput.d.ts +1 -1
  253. package/lib/components/NumberInput/NumberInput.types.d.ts +4 -7
  254. package/lib/components/OverflowList/OverflowList.d.ts +1 -1
  255. package/lib/components/OverflowList/OverflowList.types.d.ts +1 -4
  256. package/lib/components/OverflowList/OverflowList.vue.d.ts +4 -3
  257. package/lib/components/Overlay/Overlay.d.ts +1 -1
  258. package/lib/components/Overlay/Overlay.types.d.ts +4 -7
  259. package/lib/components/Overlay/Overlay.vue.d.ts +3 -2
  260. package/lib/components/Pagination/Pagination.d.ts +2 -2
  261. package/lib/components/Pagination/PaginationControl/PaginationControl.d.ts +1 -1
  262. package/lib/components/Pagination/PaginationControl/PaginationControl.types.d.ts +1 -4
  263. package/lib/components/Pagination/PaginationControl/PaginationControl.vue.d.ts +4 -2
  264. package/lib/components/Pagination/PaginationDots/PaginationDots.d.ts +1 -1
  265. package/lib/components/Pagination/PaginationDots/PaginationDots.types.d.ts +1 -4
  266. package/lib/components/Pagination/PaginationDots/PaginationDots.vue.d.ts +4 -2
  267. package/lib/components/Pagination/PaginationEdges/PaginationEdge.vue.d.ts +3 -2
  268. package/lib/components/Pagination/PaginationEdges/PaginationEdges.types.d.ts +0 -3
  269. package/lib/components/Pagination/PaginationEdges/PaginationFirst.vue.d.ts +3 -1
  270. package/lib/components/Pagination/PaginationEdges/PaginationLast.vue.d.ts +3 -1
  271. package/lib/components/Pagination/PaginationEdges/PaginationNext.vue.d.ts +3 -1
  272. package/lib/components/Pagination/PaginationEdges/PaginationPrevious.vue.d.ts +3 -1
  273. package/lib/components/Paper/Paper.d.ts +1 -1
  274. package/lib/components/Paper/Paper.types.d.ts +1 -4
  275. package/lib/components/Paper/Paper.vue.d.ts +3 -2
  276. package/lib/components/PasswordInput/PasswordInput.types.d.ts +10 -9
  277. package/lib/components/Pill/Pill.d.ts +1 -1
  278. package/lib/components/Pill/Pill.types.d.ts +6 -6
  279. package/lib/components/Pill/Pill.vue.d.ts +3 -2
  280. package/lib/components/Pill/PillGroup/PillGroup.d.ts +1 -1
  281. package/lib/components/Pill/PillGroup/PillGroup.types.d.ts +1 -4
  282. package/lib/components/Pill/PillGroup/PillGroup.vue.d.ts +3 -2
  283. package/lib/components/PillsInput/PillsInput.d.ts +1 -1
  284. package/lib/components/PillsInput/PillsInput.types.d.ts +4 -7
  285. package/lib/components/PillsInput/PillsInput.vue.d.ts +3 -2
  286. package/lib/components/PillsInput/PillsInputField/PillsInputField.d.ts +1 -1
  287. package/lib/components/PillsInput/PillsInputField/PillsInputField.types.d.ts +1 -4
  288. package/lib/components/PillsInput/PillsInputField/PillsInputField.vue.d.ts +4 -2
  289. package/lib/components/PinInput/PinInput.d.ts +1 -1
  290. package/lib/components/PinInput/PinInput.types.d.ts +6 -6
  291. package/lib/components/PinInput/PinInput.vue.d.ts +3 -2
  292. package/lib/components/Popover/Popover.context.d.ts +1 -0
  293. package/lib/components/Popover/Popover.types.d.ts +12 -3
  294. package/lib/components/Popover/Popover.vue.d.ts +1 -0
  295. package/lib/components/Progress/Progress.d.ts +1 -1
  296. package/lib/components/Progress/Progress.types.d.ts +1 -4
  297. package/lib/components/Progress/Progress.vue.d.ts +4 -2
  298. package/lib/components/Progress/ProgressLabel/ProgressLabel.d.ts +1 -1
  299. package/lib/components/Progress/ProgressLabel/ProgressLabel.types.d.ts +1 -4
  300. package/lib/components/Progress/ProgressLabel/ProgressLabel.vue.d.ts +4 -2
  301. package/lib/components/Progress/ProgressRoot/ProgressRoot.d.ts +1 -1
  302. package/lib/components/Progress/ProgressRoot/ProgressRoot.types.d.ts +1 -4
  303. package/lib/components/Progress/ProgressRoot/ProgressRoot.vue.d.ts +3 -2
  304. package/lib/components/Progress/ProgressSection/ProgressSection.d.ts +1 -1
  305. package/lib/components/Progress/ProgressSection/ProgressSection.types.d.ts +1 -4
  306. package/lib/components/Progress/ProgressSection/ProgressSection.vue.d.ts +3 -2
  307. package/lib/components/Radio/Radio.d.ts +1 -1
  308. package/lib/components/Radio/Radio.types.d.ts +4 -7
  309. package/lib/components/Radio/Radio.vue.d.ts +3 -2
  310. package/lib/components/Radio/RadioCard/RadioCard.d.ts +1 -1
  311. package/lib/components/Radio/RadioCard/RadioCard.types.d.ts +1 -4
  312. package/lib/components/Radio/RadioCard/RadioCard.vue.d.ts +3 -2
  313. package/lib/components/Radio/RadioGroup/RadioGroup.types.d.ts +3 -3
  314. package/lib/components/Radio/RadioIndicator/RadioIndicator.d.ts +1 -1
  315. package/lib/components/Radio/RadioIndicator/RadioIndicator.types.d.ts +1 -4
  316. package/lib/components/Radio/RadioIndicator/RadioIndicator.vue.d.ts +3 -2
  317. package/lib/components/RingProgress/RingProgress.d.ts +1 -1
  318. package/lib/components/RingProgress/RingProgress.types.d.ts +1 -4
  319. package/lib/components/RingProgress/RingProgress.vue.d.ts +3 -2
  320. package/lib/components/RollingNumber/RollingNumber.d.ts +1 -1
  321. package/lib/components/RollingNumber/RollingNumber.types.d.ts +1 -4
  322. package/lib/components/RollingNumber/RollingNumber.vue.d.ts +3 -2
  323. package/lib/components/ScrollArea/ScrollArea.d.ts +1 -0
  324. package/lib/components/ScrollArea/ScrollArea.props.types.d.ts +5 -7
  325. package/lib/components/ScrollArea/ScrollArea.vue.d.ts +4 -2
  326. package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.d.ts +1 -1
  327. package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.types.d.ts +1 -4
  328. package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.vue.d.ts +3 -2
  329. package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.d.ts +1 -1
  330. package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.types.d.ts +1 -4
  331. package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.vue.d.ts +4 -2
  332. package/lib/components/Scroller/Scroller.d.ts +1 -1
  333. package/lib/components/Scroller/Scroller.types.d.ts +4 -7
  334. package/lib/components/Scroller/Scroller.vue.d.ts +3 -2
  335. package/lib/components/Select/Select.types.d.ts +6 -5
  336. package/lib/components/SemiCircleProgress/SemiCircleProgress.d.ts +1 -1
  337. package/lib/components/SemiCircleProgress/SemiCircleProgress.types.d.ts +1 -4
  338. package/lib/components/SemiCircleProgress/SemiCircleProgress.vue.d.ts +3 -2
  339. package/lib/components/SimpleGrid/SimpleGrid.d.ts +1 -1
  340. package/lib/components/SimpleGrid/SimpleGrid.types.d.ts +1 -4
  341. package/lib/components/SimpleGrid/SimpleGrid.vue.d.ts +3 -2
  342. package/lib/components/Skeleton/Skeleton.d.ts +1 -1
  343. package/lib/components/Skeleton/Skeleton.types.d.ts +1 -4
  344. package/lib/components/Skeleton/Skeleton.vue.d.ts +3 -2
  345. package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +1 -1
  346. package/lib/components/Slider/RangeSlider/RangeSlider.types.d.ts +3 -6
  347. package/lib/components/Slider/RangeSlider/RangeSlider.vue.d.ts +3 -2
  348. package/lib/components/Slider/Slider/Slider.d.ts +1 -1
  349. package/lib/components/Slider/Slider/Slider.types.d.ts +6 -8
  350. package/lib/components/Slider/Slider/Slider.vue.d.ts +3 -2
  351. package/lib/components/Slider/SliderRoot/SliderRoot.d.ts +1 -1
  352. package/lib/components/Slider/SliderRoot/SliderRoot.types.d.ts +1 -4
  353. package/lib/components/Slider/SliderRoot/SliderRoot.vue.d.ts +4 -2
  354. package/lib/components/Slider/Thumb/Thumb.types.d.ts +2 -1
  355. package/lib/components/Slider/Track/Track.types.d.ts +2 -2
  356. package/lib/components/Space/Space.d.ts +1 -1
  357. package/lib/components/Space/Space.types.d.ts +1 -4
  358. package/lib/components/Space/Space.vue.d.ts +4 -2
  359. package/lib/components/Splitter/Splitter.d.ts +1 -1
  360. package/lib/components/Splitter/Splitter.types.d.ts +1 -3
  361. package/lib/components/Splitter/Splitter.vue.d.ts +3 -2
  362. package/lib/components/Splitter/SplitterPane/SplitterPane.d.ts +1 -1
  363. package/lib/components/Splitter/SplitterPane/SplitterPane.types.d.ts +1 -4
  364. package/lib/components/Splitter/SplitterPane/SplitterPane.vue.d.ts +4 -2
  365. package/lib/components/Spoiler/Spoiler.d.ts +1 -1
  366. package/lib/components/Spoiler/Spoiler.types.d.ts +1 -4
  367. package/lib/components/Spoiler/Spoiler.vue.d.ts +3 -2
  368. package/lib/components/Stack/Stack.d.ts +1 -1
  369. package/lib/components/Stack/Stack.types.d.ts +1 -4
  370. package/lib/components/Stack/Stack.vue.d.ts +3 -2
  371. package/lib/components/Stepper/Stepper.d.ts +1 -1
  372. package/lib/components/Stepper/Stepper.types.d.ts +1 -4
  373. package/lib/components/Stepper/Stepper.vue.d.ts +3 -2
  374. package/lib/components/Stepper/StepperStep/StepperStep.d.ts +1 -1
  375. package/lib/components/Stepper/StepperStep/StepperStep.types.d.ts +1 -4
  376. package/lib/components/Stepper/StepperStep/StepperStep.vue.d.ts +4 -2
  377. package/lib/components/Switch/Switch.d.ts +1 -1
  378. package/lib/components/Switch/Switch.types.d.ts +4 -7
  379. package/lib/components/Switch/Switch.vue.d.ts +3 -2
  380. package/lib/components/Switch/SwitchGroup/SwitchGroup.types.d.ts +4 -4
  381. package/lib/components/Table/Table.d.ts +1 -1
  382. package/lib/components/Table/Table.types.d.ts +1 -4
  383. package/lib/components/Table/Table.vue.d.ts +3 -2
  384. package/lib/components/Table/TableScrollContainer.d.ts +1 -1
  385. package/lib/components/Table/TableScrollContainer.types.d.ts +2 -5
  386. package/lib/components/Table/TableScrollContainer.vue.d.ts +3 -2
  387. package/lib/components/TableOfContents/TableOfContents.d.ts +1 -1
  388. package/lib/components/TableOfContents/TableOfContents.types.d.ts +1 -4
  389. package/lib/components/TableOfContents/TableOfContents.vue.d.ts +3 -2
  390. package/lib/components/Tabs/Tabs.d.ts +3 -3
  391. package/lib/components/Tabs/TabsList/TabsList.d.ts +1 -1
  392. package/lib/components/Tabs/TabsList/TabsList.types.d.ts +1 -4
  393. package/lib/components/Tabs/TabsList/TabsList.vue.d.ts +4 -2
  394. package/lib/components/Tabs/TabsPanel/TabsPanel.d.ts +1 -1
  395. package/lib/components/Tabs/TabsPanel/TabsPanel.types.d.ts +1 -4
  396. package/lib/components/Tabs/TabsPanel/TabsPanel.vue.d.ts +4 -2
  397. package/lib/components/Tabs/TabsTab/TabsTab.d.ts +1 -1
  398. package/lib/components/Tabs/TabsTab/TabsTab.types.d.ts +1 -4
  399. package/lib/components/Tabs/TabsTab/TabsTab.vue.d.ts +4 -2
  400. package/lib/components/TagsInput/TagsInput.types.d.ts +6 -5
  401. package/lib/components/Text/Text.d.ts +1 -1
  402. package/lib/components/Text/Text.types.d.ts +1 -4
  403. package/lib/components/Text/Text.vue.d.ts +3 -2
  404. package/lib/components/Textarea/Textarea.d.ts +1 -1
  405. package/lib/components/Textarea/Textarea.types.d.ts +3 -6
  406. package/lib/components/Textarea/Textarea.vue.d.ts +4 -2
  407. package/lib/components/ThemeIcon/ThemeIcon.d.ts +1 -1
  408. package/lib/components/ThemeIcon/ThemeIcon.types.d.ts +1 -4
  409. package/lib/components/ThemeIcon/ThemeIcon.vue.d.ts +3 -2
  410. package/lib/components/Timeline/Timeline.d.ts +1 -1
  411. package/lib/components/Timeline/Timeline.types.d.ts +1 -4
  412. package/lib/components/Timeline/Timeline.vue.d.ts +3 -2
  413. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +1 -1
  414. package/lib/components/Timeline/TimelineItem/TimelineItem.types.d.ts +1 -4
  415. package/lib/components/Timeline/TimelineItem/TimelineItem.vue.d.ts +4 -2
  416. package/lib/components/Title/Title.d.ts +1 -1
  417. package/lib/components/Title/Title.types.d.ts +1 -4
  418. package/lib/components/Title/Title.vue.d.ts +3 -2
  419. package/lib/components/Toggle/Toggle.d.ts +1 -1
  420. package/lib/components/Toggle/Toggle.types.d.ts +1 -4
  421. package/lib/components/Toggle/Toggle.vue.d.ts +3 -2
  422. package/lib/components/Toolbar/Toolbar.d.ts +1 -1
  423. package/lib/components/Toolbar/Toolbar.types.d.ts +1 -4
  424. package/lib/components/Toolbar/Toolbar.vue.d.ts +3 -2
  425. package/lib/components/Tooltip/Tooltip.types.d.ts +9 -6
  426. package/lib/components/Tooltip/TooltipFloating/TooltipFloating.types.d.ts +2 -1
  427. package/lib/components/Tour/Tour.d.ts +6 -6
  428. package/lib/components/Tour/Tour.types.d.ts +6 -8
  429. package/lib/components/Tour/Tour.vue.d.ts +3 -2
  430. package/lib/components/Tour/TourRoot.vue.d.ts +4 -2
  431. package/lib/components/Tree/Tree.d.ts +1 -1
  432. package/lib/components/Tree/Tree.types.d.ts +4 -7
  433. package/lib/components/Tree/Tree.vue.d.ts +3 -2
  434. package/lib/components/TreeSelect/TreeSelect.types.d.ts +4 -3
  435. package/lib/components/UnstyledButton/UnstyledButton.d.ts +1 -1
  436. package/lib/components/UnstyledButton/UnstyledButton.types.d.ts +1 -4
  437. package/lib/components/UnstyledButton/UnstyledButton.vue.d.ts +4 -2
  438. package/lib/core/Box/Box.d.ts +0 -8
  439. package/lib/core/factory/index.d.ts +0 -1
  440. package/package.json +3 -3
  441. package/lib/core/factory/use-forwarded-ref.d.ts +0 -11
@@ -7,8 +7,6 @@ export type ButtonGroupSectionCssVariables = {
7
7
  };
8
8
  /** Props declared by `ButtonGroupSection` itself. See `ButtonGroupSectionProps` for the full public type. */
9
9
  export interface ButtonGroupSectionOwnProps extends StylesApiProps<ButtonGroupSectionFactory> {
10
- /** Receives the root DOM node. */
11
- rootRef?: VueRefTarget<Element>;
12
10
  /** Controls section `height`, `font-size` and horizontal `padding`. @default 'sm' */
13
11
  size?: ButtonSize;
14
12
  /** Key of `theme.colors` or any valid CSS color. @default theme.primaryColor */
@@ -29,11 +27,10 @@ export interface ButtonGroupSectionSlots {
29
27
  default?: () => VNodeChild;
30
28
  }
31
29
  export type ButtonGroupSectionFactory = Factory<{
32
- props: Omit<ButtonGroupSectionProps, 'rootRef'>;
30
+ props: ButtonGroupSectionProps;
33
31
  ref: HTMLDivElement;
34
32
  slots: ButtonGroupSectionSlots;
35
33
  element: 'div';
36
34
  stylesNames: ButtonGroupSectionStylesNames;
37
35
  vars: ButtonGroupSectionCssVariables;
38
36
  }>;
39
- import type { VueRefTarget } from '@mantine-vue/hooks';
@@ -1,11 +1,12 @@
1
+ import type { RootRefProps } from '../../../core';
1
2
  import type { ButtonGroupSectionOwnProps, ButtonGroupSectionSlots } from './ButtonGroupSection.types';
2
3
  declare const varsResolver: (theme: import("../../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
3
4
  export { varsResolver };
4
5
  declare const _default: typeof __VLS_export;
5
6
  export default _default;
6
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ButtonGroupSectionOwnProps, {
7
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ButtonGroupSectionOwnProps & RootRefProps<Element>, {
7
8
  rootElement: import("vue").Ref<Element | null, Element | null>;
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonGroupSectionOwnProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonGroupSectionSlots>;
9
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonGroupSectionOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonGroupSectionSlots>;
9
10
  type __VLS_WithSlots<T, S> = T & {
10
11
  new (): {
11
12
  $slots: S;
@@ -1,6 +1,6 @@
1
1
  import { CardSection } from './CardSection/CardSection';
2
2
  export declare const Card: import("../..").MantinePolymorphicComponent<{
3
- props: Omit<import("./Card.types").CardProps, "component" | "rootRef">;
3
+ props: Omit<import("./Card.types").CardProps, "component">;
4
4
  slots: import("./Card.types").CardSlots;
5
5
  ref: HTMLDivElement;
6
6
  exposed: {
@@ -1,11 +1,8 @@
1
1
  import type { VNodeChild } from 'vue';
2
- import type { VueRefTarget } from '@mantine-vue/hooks';
3
2
  import type { BoxProps, MantineRadius, MantineSpacing, StylesApiProps, PolymorphicFactory, MantineElementType } from '../../core';
4
3
  import type { CardSection } from './CardSection/CardSection';
5
4
  /** Props declared by `Card` itself. See `CardProps` for the full public type. */
6
5
  export interface CardOwnProps extends StylesApiProps<CardProps> {
7
- /** Receives the root DOM node. The factory narrows this to the element the selected root renders. */
8
- rootRef?: VueRefTarget<Element>;
9
6
  /**
10
7
  * Root element or component rendered by `Card`.
11
8
  *
@@ -50,7 +47,7 @@ export type CardCssVariables = {
50
47
  };
51
48
  /** Public contract of `Card`. `component` and `rootRef` come from the factory. */
52
49
  export type CardFactory = PolymorphicFactory<{
53
- props: Omit<CardProps, 'component' | 'rootRef'>;
50
+ props: Omit<CardProps, 'component'>;
54
51
  slots: CardSlots;
55
52
  ref: HTMLDivElement;
56
53
  exposed: {
@@ -1,10 +1,11 @@
1
+ import type { RootRefProps } from '../../core';
1
2
  import type { CardOwnProps, CardSlots } from './Card.types';
2
3
  export declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
3
4
  declare const _default: typeof __VLS_export;
4
5
  export default _default;
5
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CardOwnProps, {
6
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CardOwnProps & RootRefProps<Element>, {
6
7
  rootElement: import("vue").Ref<Element | null, Element | null>;
7
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardOwnProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CardSlots>;
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CardSlots>;
8
9
  type __VLS_WithSlots<T, S> = T & {
9
10
  new (): {
10
11
  $slots: S;
@@ -1,5 +1,5 @@
1
1
  export declare const CardSection: import("../../..").MantinePolymorphicComponent<{
2
- props: Omit<import("./CardSection.types").CardSectionProps, "component" | "rootRef">;
2
+ props: Omit<import("./CardSection.types").CardSectionProps, "component">;
3
3
  slots: import("./CardSection.types").CardSectionSlots;
4
4
  ref: HTMLDivElement;
5
5
  exposed: {
@@ -37,7 +37,7 @@ export interface CardSectionProps extends Omit<BoxProps, keyof CardSectionOwnPro
37
37
  }
38
38
  export type CardSectionStylesNames = 'section';
39
39
  export type CardSectionFactory = PolymorphicFactory<{
40
- props: Omit<CardSectionProps, 'component' | 'rootRef'>;
40
+ props: Omit<CardSectionProps, 'component'>;
41
41
  slots: CardSectionSlots;
42
42
  ref: HTMLDivElement;
43
43
  exposed: {
@@ -1,5 +1,7 @@
1
- import type { VNodeChild } from 'vue';
1
+ import type { InputHTMLAttributes, VNodeChild } from 'vue';
2
2
  import type { ClassNames, MantineNode, Styles } from '../../core';
3
+ import type { InputClearButtonProps } from '../Input';
4
+ import type { ScrollAreaProps } from '../ScrollArea';
3
5
  export interface CascaderOption {
4
6
  value: string;
5
7
  label?: VNodeChild;
@@ -167,7 +169,7 @@ export interface CascaderProps {
167
169
  */
168
170
  clearSectionMode?: 'both' | 'rightSection' | 'clear';
169
171
  /** Props passed down to the clear button. */
170
- clearButtonProps?: Record<string, unknown>;
172
+ clearButtonProps?: InputClearButtonProps;
171
173
  /** Open state of the dropdown. */
172
174
  dropdownOpened?: boolean;
173
175
  /** Uncontrolled initial open state of the dropdown. */
@@ -175,11 +177,11 @@ export interface CascaderProps {
175
177
  /** Props passed down to the underlying `Combobox`. */
176
178
  comboboxProps?: Record<string, unknown>;
177
179
  /** Props passed down to the scrollable wrapper of the dropdown. */
178
- scrollAreaProps?: Record<string, unknown>;
180
+ scrollAreaProps?: ScrollAreaProps;
179
181
  /** Key of `theme.colors` or any valid CSS color used by the chevron. */
180
182
  chevronColor?: string;
181
183
  /** Props passed down to the hidden input that carries the value in a form. */
182
- hiddenInputProps?: Record<string, unknown>;
184
+ hiddenInputProps?: Omit<InputHTMLAttributes, 'value'>;
183
185
  /**
184
186
  * If set, the dropdown opens when a searchable input receives focus.
185
187
  *
@@ -1,5 +1,5 @@
1
1
  export declare const Center: import("../..").MantinePolymorphicComponent<{
2
- props: Omit<import("./Center.types").CenterProps, "component" | "rootRef">;
2
+ props: Omit<import("./Center.types").CenterProps, "component">;
3
3
  slots: import("./Center.types").CenterSlots;
4
4
  ref: HTMLDivElement;
5
5
  exposed: {
@@ -1,5 +1,4 @@
1
1
  import type { VNodeChild } from 'vue';
2
- import type { VueRefTarget } from '@mantine-vue/hooks';
3
2
  import type { BoxProps, StylesApiProps, PolymorphicFactory, MantineElementType } from '../../core';
4
3
  export type CenterStylesNames = 'root';
5
4
  export interface CenterSlots {
@@ -8,8 +7,6 @@ export interface CenterSlots {
8
7
  }
9
8
  /** Props declared by `Center` itself. See `CenterProps` for the full public type. */
10
9
  export interface CenterOwnProps extends StylesApiProps<CenterProps> {
11
- /** Receives the root DOM node. The factory narrows this to the element the selected root renders. */
12
- rootRef?: VueRefTarget<Element>;
13
10
  /**
14
11
  * Root element or component rendered by `Center`.
15
12
  * @default 'div'
@@ -25,7 +22,7 @@ export interface CenterProps extends Omit<BoxProps, keyof CenterOwnProps>, Cente
25
22
  }
26
23
  /** Public contract of `Center`. `component` and `rootRef` come from the factory. */
27
24
  export type CenterFactory = PolymorphicFactory<{
28
- props: Omit<CenterProps, 'component' | 'rootRef'>;
25
+ props: Omit<CenterProps, 'component'>;
29
26
  slots: CenterSlots;
30
27
  ref: HTMLDivElement;
31
28
  exposed: {
@@ -1,8 +1,10 @@
1
+ import type { RootRefProps } from '../../core';
1
2
  import type { CenterOwnProps, CenterSlots } from './Center.types';
3
+ type __VLS_Props = CenterOwnProps & RootRefProps<Element>;
2
4
  type __VLS_Slots = CenterSlots;
3
- declare const __VLS_base: import("vue").DefineComponent<CenterOwnProps, {
5
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
4
6
  rootElement: import("vue").Ref<Element | null, Element | null>;
5
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CenterOwnProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
8
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
9
  declare const _default: typeof __VLS_export;
8
10
  export default _default;
@@ -2,7 +2,7 @@ import { CheckboxCard } from './CheckboxCard/CheckboxCard';
2
2
  import { CheckboxGroup } from './CheckboxGroup/CheckboxGroup';
3
3
  import { CheckboxIndicator } from './CheckboxIndicator/CheckboxIndicator';
4
4
  export declare const Checkbox: import("../..").MantineComponent<{
5
- props: Omit<import("./Checkbox.types").CheckboxProps, "rootRef">;
5
+ props: import("./Checkbox.types").CheckboxProps;
6
6
  slots: import("./Checkbox.types").CheckboxSlots;
7
7
  emits: import("./Checkbox.types").CheckboxEmits;
8
8
  ref: HTMLDivElement;
@@ -1,9 +1,8 @@
1
1
  import type { CheckboxCard } from './CheckboxCard/CheckboxCard';
2
2
  import type { CheckboxIndicator } from './CheckboxIndicator/CheckboxIndicator';
3
3
  import type { CheckboxGroup } from './CheckboxGroup/CheckboxGroup';
4
- import type { VueRefTarget } from '@mantine-vue/hooks';
5
- import type { Component, VNodeChild } from 'vue';
6
- import type { BoxMod, BoxProps, MantineColor, MantineNode, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../core';
4
+ import type { Component, HTMLAttributes, VNodeChild } from 'vue';
5
+ import type { BoxMod, BoxProps, DataAttributes, MantineColor, MantineNode, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../core';
7
6
  export type CheckboxVariant = 'filled' | 'outline' | 'light';
8
7
  export type CheckboxStylesNames = 'icon' | 'inner' | 'input' | 'root' | 'body' | 'labelWrapper' | 'label' | 'description' | 'error';
9
8
  export type CheckboxCssVariables = {
@@ -56,7 +55,7 @@ export interface CheckboxOwnProps extends StylesApiProps<CheckboxFactory> {
56
55
  */
57
56
  radius?: MantineRadius;
58
57
  /** Props passed down to the root element. */
59
- wrapperProps?: Record<string, any>;
58
+ wrapperProps?: HTMLAttributes & DataAttributes;
60
59
  /**
61
60
  * Position of the label relative to the checkbox.
62
61
  *
@@ -84,8 +83,6 @@ export interface CheckboxOwnProps extends StylesApiProps<CheckboxFactory> {
84
83
  * Can also be set with the scoped `icon` slot – the slot takes precedence.
85
84
  */
86
85
  icon?: Component;
87
- /** Ref assigned to the root element. */
88
- rootRef?: VueRefTarget<Element>;
89
86
  /** Key of `theme.colors` or any valid CSS color used for the icon. */
90
87
  iconColor?: MantineColor;
91
88
  /**
@@ -137,7 +134,7 @@ export interface CheckboxEmits {
137
134
  change: [checked: boolean];
138
135
  }
139
136
  export type CheckboxFactory = Factory<{
140
- props: Omit<CheckboxProps, 'rootRef'>;
137
+ props: CheckboxProps;
141
138
  slots: CheckboxSlots;
142
139
  emits: CheckboxEmits;
143
140
  ref: HTMLDivElement;
@@ -1,3 +1,4 @@
1
+ import type { RootRefProps } from '../../core';
1
2
  import type { CheckboxOwnProps, CheckboxSlots } from './Checkbox.types';
2
3
  declare const mergedClasses: {
3
4
  [x: string]: string;
@@ -19,14 +20,14 @@ declare const defaultProps: {
19
20
  export { mergedClasses, varsResolver, defaultProps, DEFAULT_SIZE };
20
21
  declare const _default: typeof __VLS_export;
21
22
  export default _default;
22
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CheckboxOwnProps, {
23
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CheckboxOwnProps & RootRefProps<Element>, {
23
24
  rootElement: import("vue").Ref<Element | null, Element | null>;
24
25
  inputElement: import("vue").Ref<Element | null, Element | null>;
25
26
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
27
  change: (checked: boolean) => any;
27
28
  "update:modelValue": (checked: boolean) => any;
28
29
  "update:checked": (checked: boolean) => any;
29
- }, string, import("vue").PublicProps, Readonly<CheckboxOwnProps> & Readonly<{
30
+ }, string, import("vue").PublicProps, Readonly<CheckboxOwnProps & RootRefProps<Element>> & Readonly<{
30
31
  onChange?: ((checked: boolean) => any) | undefined;
31
32
  "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
32
33
  "onUpdate:checked"?: ((checked: boolean) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  export declare const CheckboxCard: import("../../..").MantineComponent<{
2
- props: Omit<import("./CheckboxCard.types").CheckboxCardProps, "rootRef">;
2
+ props: import("./CheckboxCard.types").CheckboxCardProps;
3
3
  ref: HTMLButtonElement;
4
4
  slots: import("./CheckboxCard.types").CheckboxCardSlots;
5
5
  element: "button";
@@ -16,8 +16,6 @@ export interface CheckboxCardSlots {
16
16
  }
17
17
  /** Props declared by `CheckboxCard` itself. See `CheckboxCardProps` for the full public type. */
18
18
  export interface CheckboxCardOwnProps extends StylesApiProps<CheckboxCardFactory> {
19
- /** Receives the root DOM node. */
20
- rootRef?: VueRefTarget<Element>;
21
19
  /** Checked state, bound with `v-model`. */
22
20
  modelValue?: boolean;
23
21
  /** Checked state, bound with `v-model:checked`. */
@@ -46,11 +44,10 @@ export interface CheckboxCardOwnProps extends StylesApiProps<CheckboxCardFactory
46
44
  export interface CheckboxCardProps extends Omit<BoxProps, keyof CheckboxCardOwnProps>, CheckboxCardOwnProps {
47
45
  }
48
46
  export type CheckboxCardFactory = Factory<{
49
- props: Omit<CheckboxCardProps, 'rootRef'>;
47
+ props: CheckboxCardProps;
50
48
  ref: HTMLButtonElement;
51
49
  slots: CheckboxCardSlots;
52
50
  element: 'button';
53
51
  stylesNames: CheckboxCardStylesNames;
54
52
  vars: CheckboxCardCssVariables;
55
53
  }>;
56
- import type { VueRefTarget } from '@mantine-vue/hooks';
@@ -1,16 +1,17 @@
1
+ import type { RootRefProps } from '../../../core';
1
2
  import type { CheckboxCardOwnProps, CheckboxCardSlots } from './CheckboxCard.types';
2
3
  /** Module scope: created once, not per component instance. */
3
4
  declare const varsResolver: (theme: import("../../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
4
5
  export { varsResolver };
5
6
  declare const _default: typeof __VLS_export;
6
7
  export default _default;
7
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CheckboxCardOwnProps, {
8
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CheckboxCardOwnProps & RootRefProps<Element>, {
8
9
  rootElement: import("vue").Ref<Element | null, Element | null>;
9
10
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
11
  change: (checked: boolean) => any;
11
12
  "update:modelValue": (checked: boolean) => any;
12
13
  "update:checked": (checked: boolean) => any;
13
- }, string, import("vue").PublicProps, Readonly<CheckboxCardOwnProps> & Readonly<{
14
+ }, string, import("vue").PublicProps, Readonly<CheckboxCardOwnProps & RootRefProps<Element>> & Readonly<{
14
15
  onChange?: ((checked: boolean) => any) | undefined;
15
16
  "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
16
17
  "onUpdate:checked"?: ((checked: boolean) => any) | undefined;
@@ -1,5 +1,5 @@
1
- import type { VNodeChild } from 'vue';
2
- import type { BoxProps, MantineNode, MantineSize, StylesApiProps } from '../../../core';
1
+ import type { HTMLAttributes, InputHTMLAttributes, VNodeChild } from 'vue';
2
+ import type { BoxProps, DataAttributes, MantineNode, MantineSize, StylesApiProps } from '../../../core';
3
3
  export interface CheckboxGroupContextValue {
4
4
  /** Values of the currently selected checkboxes. */
5
5
  value: string[];
@@ -29,7 +29,7 @@ export interface CheckboxGroupOwnProps extends StylesApiProps<CheckboxGroupProps
29
29
  /** Controls the size of every checkbox in the group that does not set its own `size`. */
30
30
  size?: MantineSize | (string & {});
31
31
  /** Props passed down to the `Input.Wrapper` root element. */
32
- wrapperProps?: Record<string, any>;
32
+ wrapperProps?: HTMLAttributes & DataAttributes;
33
33
  /**
34
34
  * If set, the selection cannot be changed by the user.
35
35
  *
@@ -39,7 +39,7 @@ export interface CheckboxGroupOwnProps extends StylesApiProps<CheckboxGroupProps
39
39
  /** `name` of the hidden input that carries the joined values in an uncontrolled form. */
40
40
  name?: string;
41
41
  /** Props passed down to the hidden input. */
42
- hiddenInputProps?: Record<string, any>;
42
+ hiddenInputProps?: InputHTMLAttributes & DataAttributes;
43
43
  /**
44
44
  * Separator used to join the values in the hidden input.
45
45
  *
@@ -1,5 +1,5 @@
1
1
  export declare const CheckboxIndicator: import("../../..").MantineComponent<{
2
- props: Omit<import("./CheckboxIndicator.types").CheckboxIndicatorProps, "rootRef">;
2
+ props: import("./CheckboxIndicator.types").CheckboxIndicatorProps;
3
3
  ref: HTMLDivElement;
4
4
  slots: import("./CheckboxIndicator.types").CheckboxIndicatorSlots;
5
5
  element: "div";
@@ -3,8 +3,6 @@ import type { BoxMod, BoxProps, MantineColor, MantineRadius, MantineSize, Styles
3
3
  export type CheckboxIndicatorVariant = 'filled' | 'outline' | 'light';
4
4
  /** Props declared by `CheckboxIndicator` itself. See `CheckboxIndicatorProps` for the full public type. */
5
5
  export interface CheckboxIndicatorOwnProps extends StylesApiProps<CheckboxIndicatorFactory> {
6
- /** Receives the root DOM node. */
7
- rootRef?: VueRefTarget<Element>;
8
6
  /**
9
7
  * Key of `theme.colors` or any valid CSS color to set input background color in checked state
10
8
  *
@@ -67,7 +65,7 @@ export type CheckboxIndicatorCssVariables = {
67
65
  indicator: '--checkbox-size' | '--checkbox-radius' | '--checkbox-color' | '--checkbox-icon-color' | '--checkbox-bg';
68
66
  };
69
67
  export type CheckboxIndicatorFactory = Factory<{
70
- props: Omit<CheckboxIndicatorProps, 'rootRef'>;
68
+ props: CheckboxIndicatorProps;
71
69
  ref: HTMLDivElement;
72
70
  slots: CheckboxIndicatorSlots;
73
71
  element: 'div';
@@ -75,4 +73,3 @@ export type CheckboxIndicatorFactory = Factory<{
75
73
  vars: CheckboxIndicatorCssVariables;
76
74
  variant: CheckboxIndicatorVariant;
77
75
  }>;
78
- import type { VueRefTarget } from '@mantine-vue/hooks';
@@ -1,11 +1,12 @@
1
+ import type { RootRefProps } from '../../../core';
1
2
  import type { CheckboxIndicatorOwnProps, CheckboxIndicatorSlots } from './CheckboxIndicator.types';
2
3
  declare const varsResolver: (theme: import("../../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
3
4
  export { varsResolver };
4
5
  declare const _default: typeof __VLS_export;
5
6
  export default _default;
6
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CheckboxIndicatorOwnProps, {
7
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CheckboxIndicatorOwnProps & RootRefProps<Element>, {
7
8
  rootElement: import("vue").Ref<Element | null, Element | null>;
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CheckboxIndicatorOwnProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CheckboxIndicatorSlots>;
9
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CheckboxIndicatorOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CheckboxIndicatorSlots>;
9
10
  type __VLS_WithSlots<T, S> = T & {
10
11
  new (): {
11
12
  $slots: S;
@@ -1,6 +1,6 @@
1
1
  import { ChipGroup } from './ChipGroup/ChipGroup';
2
2
  export declare const Chip: import("../..").MantineComponent<{
3
- props: Omit<import("./Chip.types").ChipProps, "rootRef">;
3
+ props: import("./Chip.types").ChipProps;
4
4
  slots: import("./Chip.types").ChipSlots;
5
5
  ref: HTMLDivElement;
6
6
  exposed: {
@@ -1,7 +1,6 @@
1
- import type { VueRefTarget } from '@mantine-vue/hooks';
2
1
  import type { ChipGroup } from './ChipGroup/ChipGroup';
3
- import type { VNodeChild } from 'vue';
4
- import type { BoxMod, BoxProps, MantineColor, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../core';
2
+ import type { HTMLAttributes, VNodeChild } from 'vue';
3
+ import type { BoxMod, BoxProps, DataAttributes, MantineColor, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../core';
5
4
  export type ChipStylesNames = 'root' | 'input' | 'iconWrapper' | 'checkIcon' | 'label';
6
5
  export type ChipVariant = 'outline' | 'filled' | 'light';
7
6
  export type ChipCssVariables = {
@@ -63,14 +62,12 @@ export interface ChipOwnProps extends StylesApiProps<ChipFactory> {
63
62
  */
64
63
  disabled?: boolean;
65
64
  /** Props passed down to the root element. */
66
- wrapperProps?: Record<string, any>;
65
+ wrapperProps?: HTMLAttributes & DataAttributes;
67
66
  /**
68
67
  * Checked icon. `null` or `false` hides it; a function receives the generated icon
69
68
  * styles. Can also be set with the scoped `icon` slot.
70
69
  */
71
70
  icon?: any;
72
- /** Receives the root DOM node. */
73
- rootRef?: VueRefTarget<Element>;
74
71
  /**
75
72
  * If set, adjusts text color based on background color.
76
73
  * Inherits `theme.autoContrast` when not set.
@@ -88,7 +85,7 @@ export interface ChipOwnProps extends StylesApiProps<ChipFactory> {
88
85
  export interface ChipProps extends Omit<BoxProps, keyof ChipOwnProps>, ChipOwnProps {
89
86
  }
90
87
  export type ChipFactory = Factory<{
91
- props: Omit<ChipProps, 'rootRef'>;
88
+ props: ChipProps;
92
89
  slots: ChipSlots;
93
90
  ref: HTMLDivElement;
94
91
  exposed: {
@@ -1,3 +1,4 @@
1
+ import type { RootRefProps } from '../../core';
1
2
  import type { ChipOwnProps, ChipSlots } from './Chip.types';
2
3
  /** Module scope: created once, not per component instance. */
3
4
  declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
@@ -9,13 +10,13 @@ declare const defaultProps: {
9
10
  export { varsResolver, defaultProps };
10
11
  declare const _default: typeof __VLS_export;
11
12
  export default _default;
12
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChipOwnProps, {
13
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChipOwnProps & RootRefProps<Element>, {
13
14
  rootElement: import("vue").Ref<Element | null, Element | null>;
14
15
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
16
  change: (checked: boolean) => any;
16
17
  "update:modelValue": (checked: boolean) => any;
17
18
  "update:checked": (checked: boolean) => any;
18
- }, string, import("vue").PublicProps, Readonly<ChipOwnProps> & Readonly<{
19
+ }, string, import("vue").PublicProps, Readonly<ChipOwnProps & RootRefProps<Element>> & Readonly<{
19
20
  onChange?: ((checked: boolean) => any) | undefined;
20
21
  "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
21
22
  "onUpdate:checked"?: ((checked: boolean) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  export declare const CloseButton: import("../..").MantinePolymorphicComponent<{
2
- props: Omit<import("./CloseButton.types").CloseButtonProps, "component" | "rootRef">;
2
+ props: Omit<import("./CloseButton.types").CloseButtonProps, "component">;
3
3
  slots: import("./CloseButton.types").CloseButtonSlots;
4
4
  ref: HTMLButtonElement;
5
5
  exposed: {
@@ -61,7 +61,7 @@ export type CloseButtonCssVariables = {
61
61
  root: '--cb-icon-size' | '--cb-size' | '--cb-radius';
62
62
  };
63
63
  export type CloseButtonFactory = PolymorphicFactory<{
64
- props: Omit<CloseButtonProps, 'component' | 'rootRef'>;
64
+ props: Omit<CloseButtonProps, 'component'>;
65
65
  slots: CloseButtonSlots;
66
66
  ref: HTMLButtonElement;
67
67
  exposed: {
@@ -1,5 +1,5 @@
1
1
  export declare const Code: import("../..").MantineComponent<{
2
- props: Omit<import("./Code.types").CodeProps, "rootRef">;
2
+ props: import("./Code.types").CodeProps;
3
3
  ref: HTMLElement;
4
4
  slots: import("./Code.types").CodeSlots;
5
5
  element: "code";
@@ -10,8 +10,6 @@ export interface CodeSlots {
10
10
  }
11
11
  /** Props declared by `Code` itself. See `CodeProps` for the full public type. */
12
12
  export interface CodeOwnProps extends StylesApiProps<CodeFactory> {
13
- /** Receives the root DOM node. */
14
- rootRef?: VueRefTarget<Element>;
15
13
  /**
16
14
  * Key of `theme.colors` or any valid CSS color, controls `background-color`
17
15
  * of the code. By default, calculated based on the color scheme.
@@ -26,11 +24,10 @@ export interface CodeOwnProps extends StylesApiProps<CodeFactory> {
26
24
  export interface CodeProps extends Omit<BoxProps, keyof CodeOwnProps>, CodeOwnProps {
27
25
  }
28
26
  export type CodeFactory = Factory<{
29
- props: Omit<CodeProps, 'rootRef'>;
27
+ props: CodeProps;
30
28
  ref: HTMLElement;
31
29
  slots: CodeSlots;
32
30
  element: 'code';
33
31
  stylesNames: CodeStylesNames;
34
32
  vars: CodeCssVariables;
35
33
  }>;
36
- import type { VueRefTarget } from '@mantine-vue/hooks';
@@ -1,12 +1,13 @@
1
+ import type { RootRefProps } from '../../core';
1
2
  import type { CodeOwnProps, CodeSlots } from './Code.types';
2
3
  /** Module scope: created once, not per component instance. */
3
4
  declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
4
5
  export { varsResolver };
5
6
  declare const _default: typeof __VLS_export;
6
7
  export default _default;
7
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CodeOwnProps, {
8
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CodeOwnProps & RootRefProps<Element>, {
8
9
  rootElement: import("vue").Ref<Element | null, Element | null>;
9
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CodeOwnProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CodeSlots>;
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CodeOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CodeSlots>;
10
11
  type __VLS_WithSlots<T, S> = T & {
11
12
  new (): {
12
13
  $slots: S;
@@ -1,5 +1,5 @@
1
1
  export declare const Collapse: import("../..").MantineComponent<{
2
- props: Omit<import("./Collapse.types").CollapseProps, "rootRef">;
2
+ props: import("./Collapse.types").CollapseProps;
3
3
  ref: HTMLDivElement;
4
4
  slots: import("./Collapse.types").CollapseSlots;
5
5
  element: "div";
@@ -2,8 +2,6 @@ import type { VNodeChild } from 'vue';
2
2
  import type { BoxProps, Factory } from '../../core';
3
3
  /** Props declared by `Collapse` itself. See `CollapseProps` for the full public type. */
4
4
  export interface CollapseOwnProps {
5
- /** Receives the root DOM node. */
6
- rootRef?: VueRefTarget<Element>;
7
5
  /**
8
6
  * Collapse orientation
9
7
  *
@@ -44,9 +42,8 @@ export interface CollapseSlots {
44
42
  default?: () => VNodeChild;
45
43
  }
46
44
  export type CollapseFactory = Factory<{
47
- props: Omit<CollapseProps, 'rootRef'>;
45
+ props: CollapseProps;
48
46
  ref: HTMLDivElement;
49
47
  slots: CollapseSlots;
50
48
  element: 'div';
51
49
  }>;
52
- import type { VueRefTarget } from '@mantine-vue/hooks';
@@ -1,12 +1,13 @@
1
+ import type { RootRefProps } from '../../core';
1
2
  import type { CollapseOwnProps, CollapseSlots } from './Collapse.types';
2
3
  declare const _default: typeof __VLS_export;
3
4
  export default _default;
4
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CollapseOwnProps, {
5
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CollapseOwnProps & RootRefProps<Element>, {
5
6
  rootElement: import("vue").Ref<Element | null, Element | null>;
6
7
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
8
  "transition-end": () => any;
8
9
  "transition-start": () => any;
9
- }, string, import("vue").PublicProps, Readonly<CollapseOwnProps> & Readonly<{
10
+ }, string, import("vue").PublicProps, Readonly<CollapseOwnProps & RootRefProps<Element>> & Readonly<{
10
11
  "onTransition-end"?: (() => any) | undefined;
11
12
  "onTransition-start"?: (() => any) | undefined;
12
13
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CollapseSlots>;
@@ -1,6 +1,7 @@
1
1
  import type { VNodeChild } from 'vue';
2
2
  import type { ColorFormat } from '../ColorPicker';
3
3
  import type { InputBaseSlots } from '../InputBase';
4
+ import type { PopoverProps } from '../Popover';
4
5
  export type ColorInputStylesNames = string;
5
6
  export interface ColorInputSlots extends InputBaseSlots {
6
7
  /** Icon of the eye dropper button. Alternative to the `eyeDropperIcon` prop. */
@@ -52,7 +53,7 @@ export interface ColorInputProps {
52
53
  */
53
54
  withEyeDropper?: boolean;
54
55
  /** Props passed down to the `Popover` that holds the picker. */
55
- popoverProps?: Record<string, any>;
56
+ popoverProps?: PopoverProps;
56
57
  /**
57
58
  * If set, the dropdown closes when a swatch is clicked.
58
59
  *
@@ -1,4 +1,5 @@
1
- import type { BoxMod, BoxProps, MantineSize, StylesApiProps } from '../../core';
1
+ import type { InputHTMLAttributes } from 'vue';
2
+ import type { BoxMod, BoxProps, DataAttributes, MantineSize, StylesApiProps } from '../../core';
2
3
  import type { ColorFormat } from './ColorPicker.types';
3
4
  export type ColorPickerStylesNames = 'wrapper' | 'preview' | 'body' | 'sliders' | 'slider' | 'sliderOverlay' | 'thumb' | 'saturation' | 'saturationOverlay' | 'swatches' | 'swatch';
4
5
  export type ColorPickerCssVariables = {
@@ -58,7 +59,7 @@ export interface ColorPickerOwnProps extends StylesApiProps<ColorPickerProps> {
58
59
  /** `name` of the hidden input that carries the colour in an uncontrolled form. */
59
60
  name?: string;
60
61
  /** Props passed down to the hidden input. */
61
- hiddenInputProps?: Record<string, any>;
62
+ hiddenInputProps?: InputHTMLAttributes & DataAttributes;
62
63
  /**
63
64
  * Static selector used as the base of the generated class names.
64
65
  *
@@ -1,3 +1,4 @@
1
+ import type { CSSProperties } from 'vue';
1
2
  import type { BoxProps, StylesApiProps } from '../../../core';
2
3
  export type ColorSliderStylesNames = 'slider' | 'sliderOverlay' | 'thumb';
3
4
  /** Props shared by `HueSlider` and `AlphaSlider`, which both wrap `ColorSlider`. */
@@ -24,7 +25,7 @@ export interface ColorSliderOwnProps extends ColorSliderBaseProps {
24
25
  /** Value that corresponds to the far right of the track. */
25
26
  maxValue: number;
26
27
  /** Style objects layered over the track to draw the gradient. */
27
- overlays: Record<string, any>[];
28
+ overlays: CSSProperties[];
28
29
  /** If set, the value is rounded to a whole number. */
29
30
  round: boolean;
30
31
  /**
@@ -1,5 +1,5 @@
1
1
  export declare const ColorSwatch: import("../..").MantinePolymorphicComponent<{
2
- props: Omit<import("./ColorSwatch.types").ColorSwatchProps, "component" | "rootRef">;
2
+ props: Omit<import("./ColorSwatch.types").ColorSwatchProps, "component">;
3
3
  slots: import("./ColorSwatch.types").ColorSwatchSlots;
4
4
  ref: HTMLDivElement;
5
5
  exposed: {