@mantine-vue/core 3.5.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 (512) hide show
  1. package/cjs/index.cjs +5174 -2272
  2. package/cjs/index.cjs.map +1 -1
  3. package/esm/index.mjs +5154 -2273
  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 -4
  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.context.d.ts +5 -0
  39. package/lib/components/AppShell/AppShell.d.ts +1 -1
  40. package/lib/components/AppShell/AppShell.types.d.ts +45 -6
  41. package/lib/components/AppShell/AppShell.vue.d.ts +3 -2
  42. package/lib/components/AppShell/AppShellAside/AppShellAside.d.ts +3 -3
  43. package/lib/components/AppShell/AppShellFooter/AppShellFooter.d.ts +3 -3
  44. package/lib/components/AppShell/AppShellHeader/AppShellHeader.d.ts +3 -3
  45. package/lib/components/AppShell/AppShellMain/AppShellMain.d.ts +1 -1
  46. package/lib/components/AppShell/AppShellMain/AppShellMain.types.d.ts +1 -4
  47. package/lib/components/AppShell/AppShellMain/AppShellMain.vue.d.ts +4 -2
  48. package/lib/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.d.ts +9 -1
  49. package/lib/components/AppShell/AppShellMediaStyles/get-variables.d.ts +6 -2
  50. package/lib/components/AppShell/AppShellNavbar/AppShellNavbar.d.ts +3 -3
  51. package/lib/components/AppShell/AppShellResizeHandle/AppShellResizeHandle.d.ts +23 -0
  52. package/lib/components/AppShell/AppShellSection/AppShellSection.d.ts +1 -1
  53. package/lib/components/AppShell/AppShellSection/AppShellSection.types.d.ts +1 -1
  54. package/lib/components/AppShell/create-app-shell-component.d.ts +3 -3
  55. package/lib/components/AppShell/index.d.ts +2 -0
  56. package/lib/components/AppShell/use-app-shell-resize/clamp-resize-size.d.ts +7 -0
  57. package/lib/components/AppShell/use-app-shell-resize/resize-section-config.d.ts +18 -0
  58. package/lib/components/AppShell/use-app-shell-resize/use-app-shell-resize.d.ts +6 -0
  59. package/lib/components/AppShell/use-resizing/use-resizing.d.ts +1 -0
  60. package/lib/components/AspectRatio/AspectRatio.d.ts +1 -1
  61. package/lib/components/AspectRatio/AspectRatio.types.d.ts +1 -4
  62. package/lib/components/AspectRatio/AspectRatio.vue.d.ts +3 -2
  63. package/lib/components/Autocomplete/Autocomplete.d.ts +5 -5
  64. package/lib/components/Autocomplete/Autocomplete.types.d.ts +4 -3
  65. package/lib/components/Autocomplete/Autocomplete.vue.d.ts +2 -2
  66. package/lib/components/Avatar/Avatar.d.ts +1 -1
  67. package/lib/components/Avatar/Avatar.types.d.ts +3 -6
  68. package/lib/components/Avatar/Avatar.vue.d.ts +3 -2
  69. package/lib/components/Avatar/AvatarGroup/AvatarGroup.d.ts +1 -1
  70. package/lib/components/Avatar/AvatarGroup/AvatarGroup.types.d.ts +1 -4
  71. package/lib/components/Avatar/AvatarGroup/AvatarGroup.vue.d.ts +3 -2
  72. package/lib/components/BackgroundImage/BackgroundImage.d.ts +1 -1
  73. package/lib/components/BackgroundImage/BackgroundImage.types.d.ts +1 -4
  74. package/lib/components/BackgroundImage/BackgroundImage.vue.d.ts +3 -2
  75. package/lib/components/Badge/Badge.d.ts +1 -1
  76. package/lib/components/Badge/Badge.types.d.ts +1 -4
  77. package/lib/components/Badge/Badge.vue.d.ts +3 -2
  78. package/lib/components/Blockquote/Blockquote.d.ts +1 -1
  79. package/lib/components/Blockquote/Blockquote.types.d.ts +1 -4
  80. package/lib/components/Blockquote/Blockquote.vue.d.ts +3 -2
  81. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  82. package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +1 -4
  83. package/lib/components/Breadcrumbs/Breadcrumbs.vue.d.ts +3 -2
  84. package/lib/components/Burger/Burger.d.ts +1 -1
  85. package/lib/components/Burger/Burger.types.d.ts +1 -4
  86. package/lib/components/Burger/Burger.vue.d.ts +3 -2
  87. package/lib/components/Button/Button.d.ts +1 -1
  88. package/lib/components/Button/Button.types.d.ts +3 -5
  89. package/lib/components/Button/Button.vue.d.ts +3 -2
  90. package/lib/components/Button/ButtonGroup/ButtonGroup.d.ts +1 -1
  91. package/lib/components/Button/ButtonGroup/ButtonGroup.types.d.ts +1 -4
  92. package/lib/components/Button/ButtonGroup/ButtonGroup.vue.d.ts +3 -2
  93. package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.d.ts +1 -1
  94. package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.types.d.ts +1 -4
  95. package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.vue.d.ts +3 -2
  96. package/lib/components/Card/Card.d.ts +1 -1
  97. package/lib/components/Card/Card.types.d.ts +1 -4
  98. package/lib/components/Card/Card.vue.d.ts +3 -2
  99. package/lib/components/Card/CardSection/CardSection.d.ts +1 -1
  100. package/lib/components/Card/CardSection/CardSection.types.d.ts +1 -1
  101. package/lib/components/Cascader/Cascader.d.ts +5 -5
  102. package/lib/components/Cascader/Cascader.types.d.ts +6 -4
  103. package/lib/components/Cascader/Cascader.vue.d.ts +2 -2
  104. package/lib/components/Center/Center.d.ts +1 -1
  105. package/lib/components/Center/Center.types.d.ts +1 -4
  106. package/lib/components/Center/Center.vue.d.ts +4 -2
  107. package/lib/components/Checkbox/Checkbox.d.ts +2 -1
  108. package/lib/components/Checkbox/Checkbox.types.d.ts +7 -9
  109. package/lib/components/Checkbox/Checkbox.vue.d.ts +4 -2
  110. package/lib/components/Checkbox/CheckboxCard/CheckboxCard.d.ts +1 -1
  111. package/lib/components/Checkbox/CheckboxCard/CheckboxCard.types.d.ts +1 -4
  112. package/lib/components/Checkbox/CheckboxCard/CheckboxCard.vue.d.ts +3 -2
  113. package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.types.d.ts +4 -4
  114. package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.d.ts +1 -1
  115. package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.types.d.ts +3 -6
  116. package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.vue.d.ts +3 -2
  117. package/lib/components/Chip/Chip.d.ts +1 -1
  118. package/lib/components/Chip/Chip.types.d.ts +4 -7
  119. package/lib/components/Chip/Chip.vue.d.ts +3 -2
  120. package/lib/components/CloseButton/CloseButton.d.ts +1 -1
  121. package/lib/components/CloseButton/CloseButton.types.d.ts +1 -1
  122. package/lib/components/Code/Code.d.ts +1 -1
  123. package/lib/components/Code/Code.types.d.ts +1 -4
  124. package/lib/components/Code/Code.vue.d.ts +3 -2
  125. package/lib/components/Collapse/Collapse.d.ts +1 -1
  126. package/lib/components/Collapse/Collapse.types.d.ts +1 -4
  127. package/lib/components/Collapse/Collapse.vue.d.ts +3 -2
  128. package/lib/components/ColorInput/ColorInput.types.d.ts +2 -1
  129. package/lib/components/ColorPicker/ColorPicker.props.types.d.ts +3 -2
  130. package/lib/components/ColorPicker/ColorSlider/ColorSlider.types.d.ts +2 -1
  131. package/lib/components/ColorSwatch/ColorSwatch.d.ts +1 -1
  132. package/lib/components/ColorSwatch/ColorSwatch.types.d.ts +1 -4
  133. package/lib/components/ColorSwatch/ColorSwatch.vue.d.ts +3 -2
  134. package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.types.d.ts +2 -1
  135. package/lib/components/Combobox/get-combobox-label-id.d.ts +9 -0
  136. package/lib/components/ComboboxPopover/ComboboxPopover.types.d.ts +4 -3
  137. package/lib/components/Container/Container.d.ts +1 -1
  138. package/lib/components/Container/Container.types.d.ts +1 -4
  139. package/lib/components/Container/Container.vue.d.ts +3 -2
  140. package/lib/components/DataList/DataList.d.ts +1 -1
  141. package/lib/components/DataList/DataList.types.d.ts +1 -4
  142. package/lib/components/DataList/DataList.vue.d.ts +3 -2
  143. package/lib/components/DataList/DataListItem/DataListItem.d.ts +1 -1
  144. package/lib/components/DataList/DataListItem/DataListItem.types.d.ts +1 -4
  145. package/lib/components/DataList/DataListItem/DataListItem.vue.d.ts +4 -2
  146. package/lib/components/DataList/DataListItemLabel/DataListItemLabel.d.ts +1 -1
  147. package/lib/components/DataList/DataListItemLabel/DataListItemLabel.types.d.ts +1 -4
  148. package/lib/components/DataList/DataListItemLabel/DataListItemLabel.vue.d.ts +4 -2
  149. package/lib/components/DataList/DataListItemValue/DataListItemValue.d.ts +1 -1
  150. package/lib/components/DataList/DataListItemValue/DataListItemValue.types.d.ts +1 -4
  151. package/lib/components/DataList/DataListItemValue/DataListItemValue.vue.d.ts +4 -2
  152. package/lib/components/Dialog/Dialog.types.d.ts +4 -7
  153. package/lib/components/Divider/Divider.d.ts +1 -1
  154. package/lib/components/Divider/Divider.types.d.ts +1 -4
  155. package/lib/components/Divider/Divider.vue.d.ts +3 -2
  156. package/lib/components/Drawer/Drawer.types.d.ts +6 -3
  157. package/lib/components/Drawer/DrawerRoot.vue.d.ts +3 -2
  158. package/lib/components/EmptyState/EmptyState.d.ts +1 -1
  159. package/lib/components/EmptyState/EmptyState.types.d.ts +1 -4
  160. package/lib/components/EmptyState/EmptyState.vue.d.ts +3 -2
  161. package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.d.ts +1 -1
  162. package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.types.d.ts +1 -4
  163. package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.vue.d.ts +4 -2
  164. package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.d.ts +1 -1
  165. package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.types.d.ts +1 -4
  166. package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.vue.d.ts +4 -2
  167. package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.d.ts +1 -1
  168. package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.types.d.ts +1 -4
  169. package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.vue.d.ts +4 -2
  170. package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.d.ts +1 -1
  171. package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.types.d.ts +1 -4
  172. package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.vue.d.ts +4 -2
  173. package/lib/components/Fieldset/Fieldset.d.ts +1 -1
  174. package/lib/components/Fieldset/Fieldset.types.d.ts +1 -4
  175. package/lib/components/Fieldset/Fieldset.vue.d.ts +3 -2
  176. package/lib/components/FileButton/FileButton.types.d.ts +2 -2
  177. package/lib/components/FileInput/FileInput.types.d.ts +7 -5
  178. package/lib/components/Flex/Flex.d.ts +1 -1
  179. package/lib/components/Flex/Flex.types.d.ts +1 -4
  180. package/lib/components/Flex/Flex.vue.d.ts +4 -2
  181. package/lib/components/FloatingIndicator/FloatingIndicator.d.ts +1 -1
  182. package/lib/components/FloatingIndicator/FloatingIndicator.types.d.ts +1 -4
  183. package/lib/components/FloatingIndicator/FloatingIndicator.vue.d.ts +3 -2
  184. package/lib/components/FloatingWindow/FloatingWindow.d.ts +1 -1
  185. package/lib/components/FloatingWindow/FloatingWindow.types.d.ts +2 -1
  186. package/lib/components/FloatingWindow/FloatingWindowResizeHandle.d.ts +1 -1
  187. package/lib/components/FloatingWindow/FloatingWindowResizeHandle.types.d.ts +1 -4
  188. package/lib/components/FloatingWindow/FloatingWindowResizeHandle.vue.d.ts +3 -2
  189. package/lib/components/Grid/Grid.d.ts +1 -1
  190. package/lib/components/Grid/Grid.types.d.ts +1 -4
  191. package/lib/components/Grid/Grid.vue.d.ts +3 -2
  192. package/lib/components/Grid/GridCol/GridCol.d.ts +1 -1
  193. package/lib/components/Grid/GridCol/GridCol.types.d.ts +1 -4
  194. package/lib/components/Grid/GridCol/GridCol.vue.d.ts +3 -2
  195. package/lib/components/Group/Group.d.ts +1 -1
  196. package/lib/components/Group/Group.types.d.ts +1 -4
  197. package/lib/components/Group/Group.vue.d.ts +3 -2
  198. package/lib/components/Highlight/Highlight.d.ts +1 -1
  199. package/lib/components/Highlight/Highlight.types.d.ts +1 -4
  200. package/lib/components/Highlight/Highlight.vue.d.ts +3 -2
  201. package/lib/components/HoverCard/HoverCard.context.d.ts +12 -0
  202. package/lib/components/HoverCard/HoverCard.d.ts +1 -1
  203. package/lib/components/HoverCard/HoverCard.types.d.ts +14 -0
  204. package/lib/components/HoverCard/index.d.ts +1 -1
  205. package/lib/components/HoverCard/use-hover-card.d.ts +3 -0
  206. package/lib/components/Image/Image.d.ts +1 -1
  207. package/lib/components/Image/Image.types.d.ts +1 -4
  208. package/lib/components/Image/Image.vue.d.ts +3 -2
  209. package/lib/components/Indicator/Indicator.d.ts +1 -1
  210. package/lib/components/Indicator/Indicator.types.d.ts +1 -4
  211. package/lib/components/Indicator/Indicator.vue.d.ts +3 -2
  212. package/lib/components/Input/Input.d.ts +1 -1
  213. package/lib/components/Input/Input.types.d.ts +7 -12
  214. package/lib/components/Input/Input.vue.d.ts +3 -2
  215. package/lib/components/Input/InputClearButton/InputClearButton.d.ts +1 -1
  216. package/lib/components/Input/InputClearButton/InputClearButton.types.d.ts +1 -4
  217. package/lib/components/Input/InputClearButton/InputClearButton.vue.d.ts +4 -2
  218. package/lib/components/Input/InputDescription/InputDescription.d.ts +1 -1
  219. package/lib/components/Input/InputDescription/InputDescription.types.d.ts +4 -7
  220. package/lib/components/Input/InputDescription/InputDescription.vue.d.ts +3 -2
  221. package/lib/components/Input/InputError/InputError.d.ts +1 -1
  222. package/lib/components/Input/InputError/InputError.types.d.ts +4 -7
  223. package/lib/components/Input/InputError/InputError.vue.d.ts +3 -2
  224. package/lib/components/Input/InputLabel/InputLabel.d.ts +1 -1
  225. package/lib/components/Input/InputLabel/InputLabel.types.d.ts +4 -7
  226. package/lib/components/Input/InputLabel/InputLabel.vue.d.ts +3 -2
  227. package/lib/components/Input/InputPlaceholder/InputPlaceholder.d.ts +1 -1
  228. package/lib/components/Input/InputPlaceholder/InputPlaceholder.types.d.ts +1 -4
  229. package/lib/components/Input/InputPlaceholder/InputPlaceholder.vue.d.ts +4 -2
  230. package/lib/components/Input/InputWrapper/InputWrapper.types.d.ts +7 -4
  231. package/lib/components/InputBase/InputBase.d.ts +1 -1
  232. package/lib/components/InputBase/InputBase.types.d.ts +11 -16
  233. package/lib/components/InputBase/InputBase.vue.d.ts +3 -2
  234. package/lib/components/Kbd/Kbd.d.ts +1 -1
  235. package/lib/components/Kbd/Kbd.types.d.ts +1 -4
  236. package/lib/components/Kbd/Kbd.vue.d.ts +3 -2
  237. package/lib/components/List/List.d.ts +1 -1
  238. package/lib/components/List/List.types.d.ts +1 -4
  239. package/lib/components/List/List.vue.d.ts +3 -2
  240. package/lib/components/List/ListItem/ListItem.d.ts +1 -1
  241. package/lib/components/List/ListItem/ListItem.types.d.ts +1 -4
  242. package/lib/components/List/ListItem/ListItem.vue.d.ts +4 -2
  243. package/lib/components/Loader/Loader.d.ts +1 -1
  244. package/lib/components/Loader/Loader.types.d.ts +3 -6
  245. package/lib/components/Loader/Loader.vue.d.ts +3 -2
  246. package/lib/components/LoadingOverlay/LoadingOverlay.d.ts +3 -2
  247. package/lib/components/LoadingOverlay/LoadingOverlay.types.d.ts +13 -7
  248. package/lib/components/LoadingOverlay/LoadingOverlay.vue.d.ts +10 -4
  249. package/lib/components/Mark/Mark.d.ts +1 -1
  250. package/lib/components/Mark/Mark.types.d.ts +1 -4
  251. package/lib/components/Mark/Mark.vue.d.ts +3 -2
  252. package/lib/components/Marquee/Marquee.d.ts +1 -1
  253. package/lib/components/Marquee/Marquee.types.d.ts +1 -4
  254. package/lib/components/Marquee/Marquee.vue.d.ts +3 -2
  255. package/lib/components/Menu/Menu.types.d.ts +6 -5
  256. package/lib/components/Menubar/MenubarMenu/MenubarMenu.types.d.ts +2 -5
  257. package/lib/components/Modal/Modal.types.d.ts +6 -3
  258. package/lib/components/ModalBase/ModalBase.d.ts +1 -1
  259. package/lib/components/ModalBase/ModalBase.types.d.ts +5 -6
  260. package/lib/components/ModalBase/ModalBase.vue.d.ts +4 -2
  261. package/lib/components/ModalBase/ModalBaseCloseButton.types.d.ts +3 -2
  262. package/lib/components/ModalBase/ModalBaseContent.d.ts +1 -1
  263. package/lib/components/ModalBase/ModalBaseContent.types.d.ts +5 -7
  264. package/lib/components/ModalBase/ModalBaseContent.vue.d.ts +4 -2
  265. package/lib/components/ModalBase/ModalBaseOverlay.types.d.ts +2 -2
  266. package/lib/components/MultiSelect/MultiSelect.d.ts +5 -5
  267. package/lib/components/MultiSelect/MultiSelect.types.d.ts +6 -5
  268. package/lib/components/MultiSelect/MultiSelect.vue.d.ts +2 -2
  269. package/lib/components/NativeSelect/NativeSelect.d.ts +1 -1
  270. package/lib/components/NativeSelect/NativeSelect.types.d.ts +1 -4
  271. package/lib/components/NativeSelect/NativeSelect.vue.d.ts +3 -2
  272. package/lib/components/NavLink/NavLink.d.ts +1 -1
  273. package/lib/components/NavLink/NavLink.types.d.ts +1 -4
  274. package/lib/components/NavLink/NavLink.vue.d.ts +3 -2
  275. package/lib/components/Notification/Notification.d.ts +1 -1
  276. package/lib/components/Notification/Notification.types.d.ts +3 -5
  277. package/lib/components/Notification/Notification.vue.d.ts +3 -2
  278. package/lib/components/NumberInput/NumberInput.d.ts +1 -1
  279. package/lib/components/NumberInput/NumberInput.types.d.ts +4 -7
  280. package/lib/components/OverflowList/OverflowList.d.ts +1 -1
  281. package/lib/components/OverflowList/OverflowList.types.d.ts +1 -4
  282. package/lib/components/OverflowList/OverflowList.vue.d.ts +4 -3
  283. package/lib/components/Overlay/Overlay.d.ts +1 -1
  284. package/lib/components/Overlay/Overlay.types.d.ts +4 -7
  285. package/lib/components/Overlay/Overlay.vue.d.ts +3 -2
  286. package/lib/components/Pagination/Pagination.d.ts +2 -2
  287. package/lib/components/Pagination/PaginationControl/PaginationControl.d.ts +1 -1
  288. package/lib/components/Pagination/PaginationControl/PaginationControl.types.d.ts +1 -4
  289. package/lib/components/Pagination/PaginationControl/PaginationControl.vue.d.ts +4 -2
  290. package/lib/components/Pagination/PaginationDots/PaginationDots.d.ts +1 -1
  291. package/lib/components/Pagination/PaginationDots/PaginationDots.types.d.ts +1 -4
  292. package/lib/components/Pagination/PaginationDots/PaginationDots.vue.d.ts +4 -2
  293. package/lib/components/Pagination/PaginationEdges/PaginationEdge.vue.d.ts +3 -2
  294. package/lib/components/Pagination/PaginationEdges/PaginationEdges.types.d.ts +0 -3
  295. package/lib/components/Pagination/PaginationEdges/PaginationFirst.vue.d.ts +3 -1
  296. package/lib/components/Pagination/PaginationEdges/PaginationLast.vue.d.ts +3 -1
  297. package/lib/components/Pagination/PaginationEdges/PaginationNext.vue.d.ts +3 -1
  298. package/lib/components/Pagination/PaginationEdges/PaginationPrevious.vue.d.ts +3 -1
  299. package/lib/components/Paper/Paper.d.ts +1 -1
  300. package/lib/components/Paper/Paper.types.d.ts +1 -4
  301. package/lib/components/Paper/Paper.vue.d.ts +3 -2
  302. package/lib/components/PasswordInput/PasswordInput.types.d.ts +10 -9
  303. package/lib/components/PasswordInput/PasswordInputField.vue.d.ts +3 -0
  304. package/lib/components/Pill/Pill.d.ts +1 -1
  305. package/lib/components/Pill/Pill.types.d.ts +6 -6
  306. package/lib/components/Pill/Pill.vue.d.ts +3 -2
  307. package/lib/components/Pill/PillGroup/PillGroup.d.ts +1 -1
  308. package/lib/components/Pill/PillGroup/PillGroup.types.d.ts +1 -4
  309. package/lib/components/Pill/PillGroup/PillGroup.vue.d.ts +3 -2
  310. package/lib/components/PillsInput/PillsInput.d.ts +1 -1
  311. package/lib/components/PillsInput/PillsInput.types.d.ts +4 -7
  312. package/lib/components/PillsInput/PillsInput.vue.d.ts +3 -2
  313. package/lib/components/PillsInput/PillsInputField/PillsInputField.d.ts +1 -1
  314. package/lib/components/PillsInput/PillsInputField/PillsInputField.types.d.ts +1 -4
  315. package/lib/components/PillsInput/PillsInputField/PillsInputField.vue.d.ts +4 -2
  316. package/lib/components/PinInput/PinInput.d.ts +1 -1
  317. package/lib/components/PinInput/PinInput.types.d.ts +6 -6
  318. package/lib/components/PinInput/PinInput.vue.d.ts +3 -2
  319. package/lib/components/Popover/Popover.context.d.ts +1 -0
  320. package/lib/components/Popover/Popover.types.d.ts +16 -3
  321. package/lib/components/Popover/Popover.vue.d.ts +3 -0
  322. package/lib/components/Portal/Portal.vue.d.ts +1 -3
  323. package/lib/components/Progress/Progress.d.ts +1 -1
  324. package/lib/components/Progress/Progress.types.d.ts +1 -4
  325. package/lib/components/Progress/Progress.vue.d.ts +4 -2
  326. package/lib/components/Progress/ProgressLabel/ProgressLabel.d.ts +1 -1
  327. package/lib/components/Progress/ProgressLabel/ProgressLabel.types.d.ts +1 -4
  328. package/lib/components/Progress/ProgressLabel/ProgressLabel.vue.d.ts +4 -2
  329. package/lib/components/Progress/ProgressRoot/ProgressRoot.d.ts +1 -1
  330. package/lib/components/Progress/ProgressRoot/ProgressRoot.types.d.ts +1 -4
  331. package/lib/components/Progress/ProgressRoot/ProgressRoot.vue.d.ts +3 -2
  332. package/lib/components/Progress/ProgressSection/ProgressSection.d.ts +1 -1
  333. package/lib/components/Progress/ProgressSection/ProgressSection.types.d.ts +1 -4
  334. package/lib/components/Progress/ProgressSection/ProgressSection.vue.d.ts +3 -2
  335. package/lib/components/Radio/Radio.d.ts +2 -1
  336. package/lib/components/Radio/Radio.types.d.ts +7 -9
  337. package/lib/components/Radio/Radio.vue.d.ts +4 -2
  338. package/lib/components/Radio/RadioCard/RadioCard.d.ts +1 -1
  339. package/lib/components/Radio/RadioCard/RadioCard.types.d.ts +1 -4
  340. package/lib/components/Radio/RadioCard/RadioCard.vue.d.ts +3 -2
  341. package/lib/components/Radio/RadioGroup/RadioGroup.types.d.ts +3 -3
  342. package/lib/components/Radio/RadioIndicator/RadioIndicator.d.ts +1 -1
  343. package/lib/components/Radio/RadioIndicator/RadioIndicator.types.d.ts +3 -6
  344. package/lib/components/Radio/RadioIndicator/RadioIndicator.vue.d.ts +3 -2
  345. package/lib/components/RingProgress/RingProgress.d.ts +1 -1
  346. package/lib/components/RingProgress/RingProgress.types.d.ts +1 -4
  347. package/lib/components/RingProgress/RingProgress.vue.d.ts +3 -2
  348. package/lib/components/RollingNumber/RollingNumber.d.ts +1 -1
  349. package/lib/components/RollingNumber/RollingNumber.types.d.ts +1 -4
  350. package/lib/components/RollingNumber/RollingNumber.vue.d.ts +3 -2
  351. package/lib/components/ScrollArea/ScrollArea.d.ts +1 -0
  352. package/lib/components/ScrollArea/ScrollArea.props.types.d.ts +5 -7
  353. package/lib/components/ScrollArea/ScrollArea.vue.d.ts +4 -2
  354. package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.d.ts +1 -1
  355. package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.types.d.ts +1 -4
  356. package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.vue.d.ts +3 -2
  357. package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.d.ts +1 -1
  358. package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.types.d.ts +1 -4
  359. package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.vue.d.ts +4 -2
  360. package/lib/components/Scroller/Scroller.d.ts +1 -1
  361. package/lib/components/Scroller/Scroller.types.d.ts +4 -7
  362. package/lib/components/Scroller/Scroller.vue.d.ts +3 -2
  363. package/lib/components/Select/Select.d.ts +5 -5
  364. package/lib/components/Select/Select.types.d.ts +6 -5
  365. package/lib/components/Select/Select.vue.d.ts +2 -2
  366. package/lib/components/SemiCircleProgress/SemiCircleProgress.d.ts +1 -1
  367. package/lib/components/SemiCircleProgress/SemiCircleProgress.types.d.ts +1 -4
  368. package/lib/components/SemiCircleProgress/SemiCircleProgress.vue.d.ts +3 -2
  369. package/lib/components/SimpleGrid/SimpleGrid.d.ts +1 -1
  370. package/lib/components/SimpleGrid/SimpleGrid.types.d.ts +1 -4
  371. package/lib/components/SimpleGrid/SimpleGrid.vue.d.ts +3 -2
  372. package/lib/components/Skeleton/Skeleton.d.ts +1 -1
  373. package/lib/components/Skeleton/Skeleton.types.d.ts +1 -4
  374. package/lib/components/Skeleton/Skeleton.vue.d.ts +3 -2
  375. package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +1 -1
  376. package/lib/components/Slider/RangeSlider/RangeSlider.types.d.ts +3 -6
  377. package/lib/components/Slider/RangeSlider/RangeSlider.vue.d.ts +3 -2
  378. package/lib/components/Slider/Slider/Slider.d.ts +1 -1
  379. package/lib/components/Slider/Slider/Slider.types.d.ts +6 -8
  380. package/lib/components/Slider/Slider/Slider.vue.d.ts +3 -2
  381. package/lib/components/Slider/SliderRoot/SliderRoot.d.ts +1 -1
  382. package/lib/components/Slider/SliderRoot/SliderRoot.types.d.ts +1 -4
  383. package/lib/components/Slider/SliderRoot/SliderRoot.vue.d.ts +4 -2
  384. package/lib/components/Slider/Thumb/Thumb.d.ts +5 -5
  385. package/lib/components/Slider/Thumb/Thumb.types.d.ts +2 -1
  386. package/lib/components/Slider/Thumb/Thumb.vue.d.ts +2 -2
  387. package/lib/components/Slider/Track/Track.types.d.ts +2 -2
  388. package/lib/components/Space/Space.d.ts +1 -1
  389. package/lib/components/Space/Space.types.d.ts +1 -4
  390. package/lib/components/Space/Space.vue.d.ts +4 -2
  391. package/lib/components/Splitter/Splitter.d.ts +1 -1
  392. package/lib/components/Splitter/Splitter.types.d.ts +1 -3
  393. package/lib/components/Splitter/Splitter.vue.d.ts +3 -2
  394. package/lib/components/Splitter/SplitterPane/SplitterPane.d.ts +1 -1
  395. package/lib/components/Splitter/SplitterPane/SplitterPane.types.d.ts +1 -4
  396. package/lib/components/Splitter/SplitterPane/SplitterPane.vue.d.ts +4 -2
  397. package/lib/components/Spoiler/Spoiler.d.ts +1 -1
  398. package/lib/components/Spoiler/Spoiler.types.d.ts +1 -4
  399. package/lib/components/Spoiler/Spoiler.vue.d.ts +3 -2
  400. package/lib/components/Stack/Stack.d.ts +1 -1
  401. package/lib/components/Stack/Stack.types.d.ts +1 -4
  402. package/lib/components/Stack/Stack.vue.d.ts +3 -2
  403. package/lib/components/Stepper/Stepper.d.ts +1 -1
  404. package/lib/components/Stepper/Stepper.types.d.ts +1 -4
  405. package/lib/components/Stepper/Stepper.vue.d.ts +3 -2
  406. package/lib/components/Stepper/StepperStep/StepperStep.d.ts +1 -1
  407. package/lib/components/Stepper/StepperStep/StepperStep.types.d.ts +1 -4
  408. package/lib/components/Stepper/StepperStep/StepperStep.vue.d.ts +4 -2
  409. package/lib/components/Switch/Switch.d.ts +1 -1
  410. package/lib/components/Switch/Switch.types.d.ts +4 -7
  411. package/lib/components/Switch/Switch.vue.d.ts +3 -2
  412. package/lib/components/Switch/SwitchGroup/SwitchGroup.types.d.ts +4 -4
  413. package/lib/components/Table/Table.d.ts +1 -1
  414. package/lib/components/Table/Table.types.d.ts +1 -4
  415. package/lib/components/Table/Table.vue.d.ts +3 -2
  416. package/lib/components/Table/TableScrollContainer.d.ts +1 -1
  417. package/lib/components/Table/TableScrollContainer.types.d.ts +2 -5
  418. package/lib/components/Table/TableScrollContainer.vue.d.ts +3 -2
  419. package/lib/components/Table/index.d.ts +1 -1
  420. package/lib/components/TableOfContents/TableOfContents.d.ts +1 -1
  421. package/lib/components/TableOfContents/TableOfContents.types.d.ts +1 -4
  422. package/lib/components/TableOfContents/TableOfContents.vue.d.ts +3 -2
  423. package/lib/components/Tabs/Tabs.d.ts +3 -3
  424. package/lib/components/Tabs/TabsList/TabsList.d.ts +1 -1
  425. package/lib/components/Tabs/TabsList/TabsList.types.d.ts +1 -4
  426. package/lib/components/Tabs/TabsList/TabsList.vue.d.ts +4 -2
  427. package/lib/components/Tabs/TabsPanel/TabsPanel.d.ts +1 -1
  428. package/lib/components/Tabs/TabsPanel/TabsPanel.types.d.ts +1 -4
  429. package/lib/components/Tabs/TabsPanel/TabsPanel.vue.d.ts +4 -2
  430. package/lib/components/Tabs/TabsTab/TabsTab.d.ts +1 -1
  431. package/lib/components/Tabs/TabsTab/TabsTab.types.d.ts +1 -4
  432. package/lib/components/Tabs/TabsTab/TabsTab.vue.d.ts +4 -2
  433. package/lib/components/TagsInput/TagsInput.d.ts +5 -5
  434. package/lib/components/TagsInput/TagsInput.types.d.ts +6 -5
  435. package/lib/components/TagsInput/TagsInput.vue.d.ts +2 -2
  436. package/lib/components/Text/Text.d.ts +1 -1
  437. package/lib/components/Text/Text.types.d.ts +1 -4
  438. package/lib/components/Text/Text.vue.d.ts +3 -2
  439. package/lib/components/Textarea/Textarea.d.ts +1 -1
  440. package/lib/components/Textarea/Textarea.types.d.ts +3 -6
  441. package/lib/components/Textarea/Textarea.vue.d.ts +4 -2
  442. package/lib/components/ThemeIcon/ThemeIcon.d.ts +1 -1
  443. package/lib/components/ThemeIcon/ThemeIcon.types.d.ts +1 -4
  444. package/lib/components/ThemeIcon/ThemeIcon.vue.d.ts +3 -2
  445. package/lib/components/Timeline/Timeline.d.ts +1 -1
  446. package/lib/components/Timeline/Timeline.types.d.ts +1 -4
  447. package/lib/components/Timeline/Timeline.vue.d.ts +3 -2
  448. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +1 -1
  449. package/lib/components/Timeline/TimelineItem/TimelineItem.types.d.ts +1 -4
  450. package/lib/components/Timeline/TimelineItem/TimelineItem.vue.d.ts +4 -2
  451. package/lib/components/Title/Title.d.ts +1 -1
  452. package/lib/components/Title/Title.types.d.ts +1 -4
  453. package/lib/components/Title/Title.vue.d.ts +3 -2
  454. package/lib/components/Toggle/Toggle.d.ts +15 -0
  455. package/lib/components/Toggle/Toggle.types.d.ts +52 -0
  456. package/lib/components/Toggle/Toggle.vue.d.ts +20 -0
  457. package/lib/components/Toggle/index.d.ts +1 -0
  458. package/lib/components/Toolbar/Toolbar.context.d.ts +12 -0
  459. package/lib/components/Toolbar/Toolbar.d.ts +26 -0
  460. package/lib/components/Toolbar/Toolbar.types.d.ts +87 -0
  461. package/lib/components/Toolbar/Toolbar.vue.d.ts +14 -0
  462. package/lib/components/Toolbar/ToolbarDivider.vue.d.ts +3 -0
  463. package/lib/components/Toolbar/ToolbarGroup.vue.d.ts +13 -0
  464. package/lib/components/Toolbar/ToolbarToggle.vue.d.ts +14 -0
  465. package/lib/components/Toolbar/ToolbarToggleGroup.vue.d.ts +19 -0
  466. package/lib/components/Toolbar/ToolbarToggleItem.vue.d.ts +14 -0
  467. package/lib/components/Toolbar/index.d.ts +1 -0
  468. package/lib/components/Tooltip/Tooltip.types.d.ts +11 -6
  469. package/lib/components/Tooltip/Tooltip.vue.d.ts +1 -0
  470. package/lib/components/Tooltip/TooltipFloating/TooltipFloating.types.d.ts +2 -1
  471. package/lib/components/Tooltip/use-tooltip.d.ts +2 -0
  472. package/lib/components/Tour/Tour.context.d.ts +27 -0
  473. package/lib/components/Tour/Tour.d.ts +184 -0
  474. package/lib/components/Tour/Tour.types.d.ts +129 -0
  475. package/lib/components/Tour/Tour.vue.d.ts +26 -0
  476. package/lib/components/Tour/TourBeacon.vue.d.ts +4 -0
  477. package/lib/components/Tour/TourBeaconPositioned.vue.d.ts +12 -0
  478. package/lib/components/Tour/TourBody.vue.d.ts +13 -0
  479. package/lib/components/Tour/TourCloseButton.vue.d.ts +3 -0
  480. package/lib/components/Tour/TourNavigation.vue.d.ts +3 -0
  481. package/lib/components/Tour/TourOverlay.vue.d.ts +8 -0
  482. package/lib/components/Tour/TourRoot.vue.d.ts +28 -0
  483. package/lib/components/Tour/TourStep.vue.d.ts +13 -0
  484. package/lib/components/Tour/TourTitle.vue.d.ts +13 -0
  485. package/lib/components/Tour/TourTooltip.vue.d.ts +14 -0
  486. package/lib/components/Tour/get-overlay-hit-path.d.ts +6 -0
  487. package/lib/components/Tour/index.d.ts +3 -0
  488. package/lib/components/Tour/is-element-in-view.d.ts +1 -0
  489. package/lib/components/Tree/Tree.d.ts +1 -1
  490. package/lib/components/Tree/Tree.types.d.ts +4 -7
  491. package/lib/components/Tree/Tree.vue.d.ts +3 -2
  492. package/lib/components/TreeSelect/TreeSelect.d.ts +6 -6
  493. package/lib/components/TreeSelect/TreeSelect.types.d.ts +19 -3
  494. package/lib/components/TreeSelect/TreeSelect.vue.d.ts +2 -2
  495. package/lib/components/TreeSelect/index.d.ts +1 -1
  496. package/lib/components/UnstyledButton/UnstyledButton.d.ts +1 -1
  497. package/lib/components/UnstyledButton/UnstyledButton.types.d.ts +1 -4
  498. package/lib/components/UnstyledButton/UnstyledButton.vue.d.ts +4 -2
  499. package/lib/components/index.d.ts +3 -0
  500. package/lib/core/Box/Box.d.ts +4 -12
  501. package/lib/core/MantineProvider/Mantine.context.d.ts +2 -2
  502. package/lib/core/MantineProvider/MantineProvider.d.ts +19 -19
  503. package/lib/core/MantineProvider/MantineThemeProvider.d.ts +9 -9
  504. package/lib/core/factory/index.d.ts +0 -1
  505. package/lib/core/styles-api/styles-api.types.d.ts +2 -0
  506. package/lib/core/utils/extract-style-props.d.ts +14 -0
  507. package/lib/core/utils/index.d.ts +1 -0
  508. package/lib/utils/InlineInput/InlineInput.d.ts +1 -1
  509. package/package.json +3 -3
  510. package/styles.css +682 -142
  511. package/styles.layer.css +682 -142
  512. package/lib/core/factory/use-forwarded-ref.d.ts +0 -11
@@ -1,3 +1,4 @@
1
+ import type { RootRefProps } from '../../core';
1
2
  import type { StackOwnProps } from './Stack.types';
2
3
  /** Module scope: created once, not per component instance. */
3
4
  declare const defaultProps: {
@@ -9,9 +10,9 @@ declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ct
9
10
  export { defaultProps, varsResolver };
10
11
  declare const _default: typeof __VLS_export;
11
12
  export default _default;
12
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<StackOwnProps, {
13
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<StackOwnProps & RootRefProps<Element>, {
13
14
  rootElement: import("vue").Ref<Element | null, Element | null>;
14
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackOwnProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
15
16
  default?: (props: {}) => any;
16
17
  }>;
17
18
  type __VLS_WithSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import { StepperCompleted } from './StepperCompleted/StepperCompleted';
2
2
  import { StepperStep } from './StepperStep/StepperStep';
3
3
  export declare const Stepper: import("../..").MantineComponent<{
4
- props: Omit<import("./Stepper.types").StepperProps, "rootRef">;
4
+ props: import("./Stepper.types").StepperProps;
5
5
  ref: HTMLDivElement;
6
6
  slots: import("./Stepper.types").StepperSlots;
7
7
  emits: import("./Stepper.types").StepperEmits;
@@ -23,8 +23,6 @@ export interface StepperSlots {
23
23
  }
24
24
  /** Props declared by `Stepper` itself. See `StepperProps` for the full public type. */
25
25
  export interface StepperOwnProps extends StylesApiProps<StepperFactory> {
26
- /** Receives the root DOM node. */
27
- rootRef?: VueRefTarget<Element>;
28
26
  /** Zero based index of the active step, bound with `v-model:active`. */
29
27
  active: number;
30
28
  /**
@@ -111,7 +109,7 @@ export interface StepperEmits {
111
109
  'step-click': [index: number];
112
110
  }
113
111
  export type StepperFactory = Factory<{
114
- props: Omit<StepperProps, 'rootRef'>;
112
+ props: StepperProps;
115
113
  ref: HTMLDivElement;
116
114
  slots: StepperSlots;
117
115
  emits: StepperEmits;
@@ -123,4 +121,3 @@ export type StepperFactory = Factory<{
123
121
  Completed: typeof StepperCompleted;
124
122
  };
125
123
  }>;
126
- import type { VueRefTarget } from '@mantine-vue/hooks';
@@ -1,3 +1,4 @@
1
+ import type { RootRefProps } from '../../core';
1
2
  import type { StepperOwnProps, StepperSlots } from './Stepper.types';
2
3
  import { type VNode } from 'vue';
3
4
  declare const defaultProps: {
@@ -19,12 +20,12 @@ declare function flattenChildren(children: VNode[]): VNode[];
19
20
  export { defaultProps, varsResolver, getSlotContent, flattenChildren };
20
21
  declare const _default: typeof __VLS_export;
21
22
  export default _default;
22
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<StepperOwnProps, {
23
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<StepperOwnProps & RootRefProps<Element>, {
23
24
  rootElement: import("vue").Ref<Element | null, Element | null>;
24
25
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
26
  "update:active": (index: number) => any;
26
27
  "step-click": (index: number) => any;
27
- }, string, import("vue").PublicProps, Readonly<StepperOwnProps> & Readonly<{
28
+ }, string, import("vue").PublicProps, Readonly<StepperOwnProps & RootRefProps<Element>> & Readonly<{
28
29
  "onUpdate:active"?: ((index: number) => any) | undefined;
29
30
  "onStep-click"?: ((index: number) => any) | undefined;
30
31
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, StepperSlots>;
@@ -1,5 +1,5 @@
1
1
  export declare const StepperStep: import("../../..").MantineComponent<{
2
- props: Omit<import("./StepperStep.types").StepperStepProps, "rootRef">;
2
+ props: import("./StepperStep.types").StepperStepProps;
3
3
  ref: HTMLButtonElement;
4
4
  slots: import("./StepperStep.types").StepperStepSlots;
5
5
  element: "button";
@@ -9,8 +9,6 @@ export type StepperStepState = 'stepInactive' | 'stepProgress' | 'stepCompleted'
9
9
  export type StepperStepStylesNames = 'step' | 'stepLoader' | 'verticalSeparator' | 'stepWrapper' | 'stepIcon' | 'stepCompletedIcon' | 'stepIconContent' | 'stepBody' | 'stepLabel' | 'stepDescription';
10
10
  /** Props declared by `StepperStep` itself. See `StepperStepProps` for the full public type. */
11
11
  export interface StepperStepOwnProps {
12
- /** Receives the root DOM node. */
13
- rootRef?: VueRefTarget<Element>;
14
12
  /** 0-based step index, automatically set by Stepper component */
15
13
  step?: number;
16
14
  /** Step state, automatically set by Stepper component based on active prop. stepInactive: not reached, stepProgress: current, stepCompleted: passed */
@@ -83,10 +81,9 @@ export interface StepperStepSlots {
83
81
  export interface StepperStepProps extends Omit<BoxProps, keyof StepperStepOwnProps>, StepperStepOwnProps {
84
82
  }
85
83
  export type StepperStepFactory = Factory<{
86
- props: Omit<StepperStepProps, 'rootRef'>;
84
+ props: StepperStepProps;
87
85
  ref: HTMLButtonElement;
88
86
  slots: StepperStepSlots;
89
87
  element: 'button';
90
88
  stylesNames: StepperStepStylesNames;
91
89
  }>;
92
- import type { VueRefTarget } from '@mantine-vue/hooks';
@@ -1,8 +1,10 @@
1
+ import type { RootRefProps } from '../../../core';
1
2
  import type { StepperStepOwnProps, StepperStepSlots } from './StepperStep.types';
3
+ type __VLS_Props = StepperStepOwnProps & RootRefProps<Element>;
2
4
  type __VLS_Slots = StepperStepSlots;
3
- declare const __VLS_base: import("vue").DefineComponent<StepperStepOwnProps, {
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<StepperStepOwnProps> & 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;
@@ -1,6 +1,6 @@
1
1
  import { SwitchGroup } from './SwitchGroup/SwitchGroup';
2
2
  export declare const Switch: import("../..").MantineComponent<{
3
- props: Omit<import("./Switch.types").SwitchProps, "rootRef">;
3
+ props: import("./Switch.types").SwitchProps;
4
4
  slots: import("./Switch.types").SwitchSlots;
5
5
  emits: import("./Switch.types").SwitchEmits;
6
6
  ref: HTMLDivElement;
@@ -1,7 +1,6 @@
1
1
  import type { SwitchGroup } from './SwitchGroup/SwitchGroup';
2
- import type { VueRefTarget } from '@mantine-vue/hooks';
3
- import type { VNodeChild } from 'vue';
4
- import type { BoxMod, BoxProps, MantineColor, MantineNode, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../core';
2
+ import type { HTMLAttributes, VNodeChild } from 'vue';
3
+ import type { BoxMod, BoxProps, DataAttributes, MantineColor, MantineNode, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../core';
5
4
  export type SwitchStylesNames = 'root' | 'track' | 'trackLabel' | 'thumb' | 'input' | 'body' | 'labelWrapper' | 'label' | 'description' | 'error';
6
5
  export type SwitchCssVariables = {
7
6
  root: '--switch-radius' | '--switch-height' | '--switch-width' | '--switch-thumb-size' | '--switch-label-font-size' | '--switch-track-label-padding' | '--switch-color';
@@ -59,7 +58,7 @@ export interface SwitchOwnProps extends StylesApiProps<SwitchFactory> {
59
58
  */
60
59
  radius?: MantineRadius;
61
60
  /** Props passed down to the root element. */
62
- wrapperProps?: Record<string, any>;
61
+ wrapperProps?: HTMLAttributes & DataAttributes;
63
62
  /**
64
63
  * Icon rendered inside the thumb.
65
64
  * Can also be set with the `thumbIcon` slot – the slot takes precedence.
@@ -81,8 +80,6 @@ export interface SwitchOwnProps extends StylesApiProps<SwitchFactory> {
81
80
  * Can also be set with the `error` slot – the slot takes precedence.
82
81
  */
83
82
  error?: MantineNode | boolean;
84
- /** Ref assigned to the root element. */
85
- rootRef?: VueRefTarget<Element>;
86
83
  /**
87
84
  * If set, the thumb displays an indicator when the switch is unchecked.
88
85
  * Ignored when `thumbIcon` is set.
@@ -122,7 +119,7 @@ export interface SwitchEmits {
122
119
  change: [checked: boolean];
123
120
  }
124
121
  export type SwitchFactory = Factory<{
125
- props: Omit<SwitchProps, 'rootRef'>;
122
+ props: SwitchProps;
126
123
  slots: SwitchSlots;
127
124
  emits: SwitchEmits;
128
125
  ref: HTMLDivElement;
@@ -1,3 +1,4 @@
1
+ import type { RootRefProps } from '../../core';
1
2
  import type { SwitchOwnProps, SwitchSlots } from './Switch.types';
2
3
  declare const mergedClasses: {
3
4
  [x: string]: string;
@@ -18,13 +19,13 @@ declare const defaultProps: {
18
19
  export { mergedClasses, varsResolver, defaultProps, DEFAULT_SIZE };
19
20
  declare const _default: typeof __VLS_export;
20
21
  export default _default;
21
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SwitchOwnProps, {
22
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SwitchOwnProps & RootRefProps<Element>, {
22
23
  rootElement: import("vue").Ref<Element | null, Element | null>;
23
24
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
25
  change: (checked: boolean) => any;
25
26
  "update:modelValue": (checked: boolean) => any;
26
27
  "update:checked": (checked: boolean) => any;
27
- }, string, import("vue").PublicProps, Readonly<SwitchOwnProps> & Readonly<{
28
+ }, string, import("vue").PublicProps, Readonly<SwitchOwnProps & RootRefProps<Element>> & Readonly<{
28
29
  onChange?: ((checked: boolean) => any) | undefined;
29
30
  "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
30
31
  "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 SwitchGroupContextValue {
4
4
  /** Values of the currently selected switches. */
5
5
  value: string[];
@@ -29,7 +29,7 @@ export interface SwitchGroupOwnProps extends StylesApiProps<SwitchGroupProps> {
29
29
  /** Controls the size of every switch 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 SwitchGroupOwnProps extends StylesApiProps<SwitchGroupProps> {
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
  *
@@ -2,7 +2,7 @@ import { TableCaption, TableTbody, TableTd, TableTfoot, TableTh, TableThead, Tab
2
2
  import { TableDataRenderer } from './TableDataRenderer';
3
3
  import { TableScrollContainer } from './TableScrollContainer';
4
4
  export declare const Table: import("../..").MantineComponent<{
5
- props: Omit<import("./Table.types").TableProps, "rootRef">;
5
+ props: import("./Table.types").TableProps;
6
6
  ref: HTMLTableElement;
7
7
  slots: import("./Table.types").TableSlots;
8
8
  element: "table";
@@ -27,8 +27,6 @@ export interface TableSlots {
27
27
  }
28
28
  /** Props declared by `Table` itself. See `TableProps` for the full public type. */
29
29
  export interface TableOwnProps extends StylesApiProps<TableFactory> {
30
- /** Receives the root DOM node. */
31
- rootRef?: VueRefTarget<Element>;
32
30
  /** Value of the `table-layout` CSS property. */
33
31
  layout?: CSSProperties['tableLayout'];
34
32
  /**
@@ -108,7 +106,7 @@ export interface TableOwnProps extends StylesApiProps<TableFactory> {
108
106
  export interface TableProps extends Omit<BoxProps, keyof TableOwnProps>, TableOwnProps {
109
107
  }
110
108
  export type TableFactory = Factory<{
111
- props: Omit<TableProps, 'rootRef'>;
109
+ props: TableProps;
112
110
  ref: HTMLTableElement;
113
111
  slots: TableSlots;
114
112
  element: 'table';
@@ -127,4 +125,3 @@ export type TableFactory = Factory<{
127
125
  DataRenderer: typeof TableDataRenderer;
128
126
  };
129
127
  }>;
130
- import type { VueRefTarget } from '@mantine-vue/hooks';
@@ -1,3 +1,4 @@
1
+ import type { RootRefProps } from '../../core';
1
2
  import type { TableOwnProps, TableSlots } from './Table.types';
2
3
  declare const defaultProps: {
3
4
  readonly withRowBorders: true;
@@ -8,9 +9,9 @@ declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ct
8
9
  export { defaultProps, varsResolver };
9
10
  declare const _default: typeof __VLS_export;
10
11
  export default _default;
11
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<TableOwnProps, {
12
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<TableOwnProps & RootRefProps<Element>, {
12
13
  rootElement: import("vue").Ref<Element | null, Element | null>;
13
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TableOwnProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, TableSlots>;
14
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TableOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, TableSlots>;
14
15
  type __VLS_WithSlots<T, S> = T & {
15
16
  new (): {
16
17
  $slots: S;
@@ -1,5 +1,5 @@
1
1
  export declare const TableScrollContainer: import("../..").MantineComponent<{
2
- props: Omit<import("./TableScrollContainer.types").TableScrollContainerProps, "rootRef">;
2
+ props: import("./TableScrollContainer.types").TableScrollContainerProps;
3
3
  slots: import("./TableScrollContainer.types").TableScrollContainerSlots;
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, Factory, StylesApiProps } from '../../core';
4
3
  import type { ScrollAreaProps } from '../ScrollArea';
5
4
  export type TableScrollContainerStylesNames = 'scrollContainer' | 'scrollContainerInner';
@@ -8,8 +7,6 @@ export type TableScrollContainerCssVariables = {
8
7
  };
9
8
  /** Props declared by `TableScrollContainer` itself. See `TableScrollContainerProps` for the full public type. */
10
9
  export interface TableScrollContainerOwnProps extends StylesApiProps<TableScrollContainerFactory> {
11
- /** Receives the root DOM node -- the `ScrollArea` root, or the `div` for `type="native"`. */
12
- rootRef?: VueRefTarget<Element>;
13
10
  /** `min-width` at which the table becomes scrollable. */
14
11
  minWidth: string | number;
15
12
  /** `max-height` at which the table becomes vertically scrollable. */
@@ -17,7 +14,7 @@ export interface TableScrollContainerOwnProps extends StylesApiProps<TableScroll
17
14
  /** Scroll container implementation. @default 'scrollarea' */
18
15
  type?: 'native' | 'scrollarea';
19
16
  /** Props passed to `ScrollArea`; not used with `type="native"`. */
20
- scrollAreaProps?: Partial<ScrollAreaProps> & Record<string, any>;
17
+ scrollAreaProps?: ScrollAreaProps;
21
18
  }
22
19
  export interface TableScrollContainerProps extends Omit<BoxProps, keyof TableScrollContainerOwnProps>, TableScrollContainerOwnProps {
23
20
  }
@@ -26,7 +23,7 @@ export interface TableScrollContainerSlots {
26
23
  default?: () => VNodeChild;
27
24
  }
28
25
  export type TableScrollContainerFactory = Factory<{
29
- props: Omit<TableScrollContainerProps, 'rootRef'>;
26
+ props: TableScrollContainerProps;
30
27
  slots: TableScrollContainerSlots;
31
28
  ref: HTMLDivElement;
32
29
  exposed: {
@@ -1,11 +1,12 @@
1
+ import type { RootRefProps } from '../../core';
1
2
  import type { TableScrollContainerOwnProps, TableScrollContainerSlots } from './TableScrollContainer.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<TableScrollContainerOwnProps, {
7
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<TableScrollContainerOwnProps & RootRefProps<Element>, {
7
8
  rootElement: import("vue").Ref<Element | null, Element | null>;
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TableScrollContainerOwnProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, TableScrollContainerSlots>;
9
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TableScrollContainerOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, TableScrollContainerSlots>;
9
10
  type __VLS_WithSlots<T, S> = T & {
10
11
  new (): {
11
12
  $slots: S;
@@ -1,3 +1,4 @@
1
+ import { TableScrollContainer } from './TableScrollContainer';
1
2
  export { Table } from './Table';
2
3
  export type { TableCssVariables, TableData, TableFactory, TableOwnProps, TableProps, TableSlots, TableStylesNames, TableVariant, } from './Table';
3
4
  export { TableCaption, TableTbody, TableTd, TableTfoot, TableTh, TableThead, TableTr, } from './Table.components';
@@ -5,4 +6,3 @@ export type { TableCaptionProps, TableElementName, TableElementOptions, TableEle
5
6
  export { TableDataRenderer } from './TableDataRenderer';
6
7
  export { TableScrollContainer };
7
8
  export type { TableScrollContainerCssVariables, TableScrollContainerFactory, TableScrollContainerOwnProps, TableScrollContainerProps, TableScrollContainerSlots, TableScrollContainerStylesNames, } from './TableScrollContainer';
8
- import { TableScrollContainer } from './TableScrollContainer';
@@ -1,5 +1,5 @@
1
1
  export declare const TableOfContents: import("../..").MantineComponent<{
2
- props: Omit<import("./TableOfContents.types").TableOfContentsProps, "rootRef">;
2
+ props: import("./TableOfContents.types").TableOfContentsProps;
3
3
  ref: HTMLDivElement;
4
4
  exposed: {
5
5
  rootElement: Element | null;
@@ -1,11 +1,8 @@
1
- import type { VueRefTarget } from '@mantine-vue/hooks';
2
1
  import type { BoxProps, MantineColor, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../core';
3
2
  import type { UseScrollSpyHeadingData, UseScrollSpyOptions } from '@mantine-vue/hooks';
4
3
  import type { Ref } from 'vue';
5
4
  /** Props declared by `TableOfContents` itself. See `TableOfContentsProps` for the full public type. */
6
5
  export interface TableOfContentsOwnProps extends StylesApiProps<TableOfContentsFactory> {
7
- /** Receives the root DOM node. */
8
- rootRef?: VueRefTarget<Element>;
9
6
  /**
10
7
  * Key of `theme.colors` or any valid CSS color value
11
8
  *
@@ -68,7 +65,7 @@ export interface InitialTableOfContentsData {
68
65
  id?: string;
69
66
  }
70
67
  export type TableOfContentsFactory = Factory<{
71
- props: Omit<TableOfContentsProps, 'rootRef'>;
68
+ props: TableOfContentsProps;
72
69
  ref: HTMLDivElement;
73
70
  exposed: {
74
71
  rootElement: Element | null;
@@ -1,7 +1,8 @@
1
+ import type { RootRefProps } from '../../core';
1
2
  import type { TableOfContentsOwnProps } from './TableOfContents.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: import("vue").DefineComponent<TableOfContentsOwnProps, {
6
+ declare const __VLS_export: import("vue").DefineComponent<TableOfContentsOwnProps & RootRefProps<Element>, {
6
7
  rootElement: import("vue").Ref<Element | null, Element | null>;
7
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TableOfContentsOwnProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TableOfContentsOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -31,7 +31,7 @@ export declare const Tabs: {
31
31
  classes: Record<string, string>;
32
32
  varsResolver: (theme: import("../../index.js").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
33
33
  Tab: import("../../index.js").MantineComponent<{
34
- props: Omit<import("./index.js").TabsTabProps, "rootRef">;
34
+ props: import("./index.js").TabsTabProps;
35
35
  ref: HTMLButtonElement;
36
36
  slots: import("./index.js").TabsTabSlots;
37
37
  emits: import("./TabsTab/TabsTab.types.js").TabsTabEmits;
@@ -39,14 +39,14 @@ export declare const Tabs: {
39
39
  stylesNames: import("./index.js").TabsTabStylesNames;
40
40
  }>;
41
41
  Panel: import("../../index.js").MantineComponent<{
42
- props: Omit<import("./index.js").TabsPanelProps, "rootRef">;
42
+ props: import("./index.js").TabsPanelProps;
43
43
  ref: HTMLDivElement;
44
44
  slots: import("./index.js").TabsPanelSlots;
45
45
  element: "div";
46
46
  stylesNames: import("./index.js").TabsPanelStylesNames;
47
47
  }>;
48
48
  List: import("../../index.js").MantineComponent<{
49
- props: Omit<import("./index.js").TabsListProps, "rootRef">;
49
+ props: import("./index.js").TabsListProps;
50
50
  ref: HTMLDivElement;
51
51
  slots: import("./index.js").TabsListSlots;
52
52
  element: "div";
@@ -1,5 +1,5 @@
1
1
  export declare const TabsList: import("../../..").MantineComponent<{
2
- props: Omit<import("./TabsList.types").TabsListProps, "rootRef">;
2
+ props: import("./TabsList.types").TabsListProps;
3
3
  ref: HTMLDivElement;
4
4
  slots: import("./TabsList.types").TabsListSlots;
5
5
  element: "div";
@@ -3,8 +3,6 @@ import type { BoxMod, BoxProps, JustifyContent, StylesApiProps, Factory } from '
3
3
  export type TabsListStylesNames = 'list';
4
4
  /** Props declared by `TabsList` itself. See `TabsListProps` for the full public type. */
5
5
  export interface TabsListOwnProps {
6
- /** Receives the root DOM node. */
7
- rootRef?: VueRefTarget<Element>;
8
6
  /**
9
7
  * Determines whether tabs should take all available space
10
8
  *
@@ -31,9 +29,8 @@ export interface TabsListSlots {
31
29
  export interface TabsListProps extends Omit<BoxProps, keyof TabsListOwnProps>, TabsListOwnProps {
32
30
  }
33
31
  export type TabsListFactory = Factory<{
34
- props: Omit<TabsListProps, 'rootRef'>;
32
+ props: TabsListProps;
35
33
  ref: HTMLDivElement;
36
34
  slots: TabsListSlots;
37
35
  element: 'div';
38
36
  }>;
39
- import type { VueRefTarget } from '@mantine-vue/hooks';
@@ -1,8 +1,10 @@
1
+ import type { RootRefProps } from '../../../core';
1
2
  import type { TabsListOwnProps, TabsListSlots } from './TabsList.types';
3
+ type __VLS_Props = TabsListOwnProps & RootRefProps<Element>;
2
4
  type __VLS_Slots = TabsListSlots;
3
- declare const __VLS_base: import("vue").DefineComponent<TabsListOwnProps, {
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<TabsListOwnProps> & 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;
@@ -1,5 +1,5 @@
1
1
  export declare const TabsPanel: import("../../..").MantineComponent<{
2
- props: Omit<import("./TabsPanel.types").TabsPanelProps, "rootRef">;
2
+ props: import("./TabsPanel.types").TabsPanelProps;
3
3
  ref: HTMLDivElement;
4
4
  slots: import("./TabsPanel.types").TabsPanelSlots;
5
5
  element: "div";
@@ -3,8 +3,6 @@ import type { BoxMod, BoxProps, StylesApiProps, Factory } from '../../../core';
3
3
  export type TabsPanelStylesNames = 'panel';
4
4
  /** Props declared by `TabsPanel` itself. See `TabsPanelProps` for the full public type. */
5
5
  export interface TabsPanelOwnProps {
6
- /** Receives the root DOM node. */
7
- rootRef?: VueRefTarget<Element>;
8
6
  /** Value of associated control */
9
7
  value: string;
10
8
  /**
@@ -27,10 +25,9 @@ export interface TabsPanelSlots {
27
25
  default?: () => VNodeChild;
28
26
  }
29
27
  export type TabsPanelFactory = Factory<{
30
- props: Omit<TabsPanelProps, 'rootRef'>;
28
+ props: TabsPanelProps;
31
29
  ref: HTMLDivElement;
32
30
  slots: TabsPanelSlots;
33
31
  element: 'div';
34
32
  stylesNames: TabsPanelStylesNames;
35
33
  }>;
36
- import type { VueRefTarget } from '@mantine-vue/hooks';
@@ -1,8 +1,10 @@
1
+ import type { RootRefProps } from '../../../core';
1
2
  import type { TabsPanelOwnProps, TabsPanelSlots } from './TabsPanel.types';
3
+ type __VLS_Props = TabsPanelOwnProps & RootRefProps<Element>;
2
4
  type __VLS_Slots = TabsPanelSlots;
3
- declare const __VLS_base: import("vue").DefineComponent<TabsPanelOwnProps, {
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<TabsPanelOwnProps> & 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;
@@ -1,5 +1,5 @@
1
1
  export declare const TabsTab: import("../../..").MantineComponent<{
2
- props: Omit<import("./TabsTab.types").TabsTabProps, "rootRef">;
2
+ props: import("./TabsTab.types").TabsTabProps;
3
3
  ref: HTMLButtonElement;
4
4
  slots: import("./TabsTab.types").TabsTabSlots;
5
5
  emits: import("./TabsTab.types").TabsTabEmits;
@@ -7,8 +7,6 @@ export interface TabsTabSlots extends SectionSlots {
7
7
  }
8
8
  /** Props declared by `TabsTab` itself. See `TabsTabProps` for the full public type. */
9
9
  export interface TabsTabOwnProps {
10
- /** Receives the root DOM node. */
11
- rootRef?: VueRefTarget<Element>;
12
10
  /** Value of the associated panel. */
13
11
  value: string;
14
12
  /**
@@ -49,11 +47,10 @@ export interface TabsTabEmits {
49
47
  keydown: [event: KeyboardEvent];
50
48
  }
51
49
  export type TabsTabFactory = Factory<{
52
- props: Omit<TabsTabProps, 'rootRef'>;
50
+ props: TabsTabProps;
53
51
  ref: HTMLButtonElement;
54
52
  slots: TabsTabSlots;
55
53
  emits: TabsTabEmits;
56
54
  element: 'button';
57
55
  stylesNames: TabsTabStylesNames;
58
56
  }>;
59
- import type { VueRefTarget } from '@mantine-vue/hooks';
@@ -1,11 +1,13 @@
1
+ import type { RootRefProps } from '../../../core';
1
2
  import type { TabsTabOwnProps, TabsTabSlots } from './TabsTab.types';
3
+ type __VLS_Props = TabsTabOwnProps & RootRefProps<Element>;
2
4
  type __VLS_Slots = TabsTabSlots;
3
- declare const __VLS_base: import("vue").DefineComponent<TabsTabOwnProps, {
5
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
4
6
  rootElement: import("vue").Ref<Element | null, Element | null>;
5
7
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
8
  click: (event: MouseEvent) => any;
7
9
  keydown: (event: KeyboardEvent) => any;
8
- }, string, import("vue").PublicProps, Readonly<TabsTabOwnProps> & Readonly<{
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
11
  onClick?: ((event: MouseEvent) => any) | undefined;
10
12
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
11
13
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,8 +1,8 @@
1
1
  export declare const TagsInput: {
2
2
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
3
3
  onRemove?: ((value: string) => any) | undefined;
4
- onClear?: (() => any) | undefined;
5
4
  onChange?: ((value: string[]) => any) | undefined;
5
+ onClear?: (() => any) | undefined;
6
6
  "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
7
7
  "onOption-submit"?: ((value: string) => any) | undefined;
8
8
  "onDropdown-open"?: (() => any) | undefined;
@@ -13,8 +13,8 @@ export declare const TagsInput: {
13
13
  onDuplicate?: ((value: string) => any) | undefined;
14
14
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
15
  remove: (value: string) => any;
16
- clear: () => any;
17
16
  change: (value: string[]) => any;
17
+ clear: () => any;
18
18
  "update:modelValue": (value: string[]) => any;
19
19
  "option-submit": (value: string) => any;
20
20
  "dropdown-open": () => any;
@@ -32,8 +32,8 @@ export declare const TagsInput: {
32
32
  Defaults: {};
33
33
  }, Readonly<{}> & Readonly<{
34
34
  onRemove?: ((value: string) => any) | undefined;
35
- onClear?: (() => any) | undefined;
36
35
  onChange?: ((value: string[]) => any) | undefined;
36
+ onClear?: (() => any) | undefined;
37
37
  "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
38
38
  "onOption-submit"?: ((value: string) => any) | undefined;
39
39
  "onDropdown-open"?: (() => any) | undefined;
@@ -48,8 +48,8 @@ export declare const TagsInput: {
48
48
  __isSuspense?: never;
49
49
  } & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{
50
50
  onRemove?: ((value: string) => any) | undefined;
51
- onClear?: (() => any) | undefined;
52
51
  onChange?: ((value: string[]) => any) | undefined;
52
+ onClear?: (() => any) | undefined;
53
53
  "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
54
54
  "onOption-submit"?: ((value: string) => any) | undefined;
55
55
  "onDropdown-open"?: (() => any) | undefined;
@@ -60,8 +60,8 @@ export declare const TagsInput: {
60
60
  onDuplicate?: ((value: string) => any) | undefined;
61
61
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
62
62
  remove: (value: string) => any;
63
- clear: () => any;
64
63
  change: (value: string[]) => any;
64
+ clear: () => any;
65
65
  "update:modelValue": (value: string[]) => any;
66
66
  "option-submit": (value: string) => any;
67
67
  "dropdown-open": () => any;
@@ -1,6 +1,7 @@
1
- import type { VNodeChild } from 'vue';
1
+ import type { InputHTMLAttributes, VNodeChild } from 'vue';
2
2
  import type { MantineNode } from '../../core';
3
- import type { ComboboxData, OptionsFilter } from '../Combobox';
3
+ import type { ComboboxData, ComboboxProps, OptionsFilter } from '../Combobox';
4
+ import type { ScrollAreaProps } from '../ScrollArea';
4
5
  export type TagsInputStylesNames = string;
5
6
  /** A tag option, either from `data` or synthesised for a free-form tag. */
6
7
  export interface TagsInputOption {
@@ -112,7 +113,7 @@ export interface TagsInputProps {
112
113
  */
113
114
  hiddenInputValuesDivider?: string;
114
115
  /** Props passed down to the hidden input that carries the tags in a form. */
115
- hiddenInputProps?: Record<string, any>;
116
+ hiddenInputProps?: Omit<InputHTMLAttributes, 'value'>;
116
117
  /**
117
118
  * Content rendered when no option matches the current search.
118
119
  * Can also be set with the `nothingFound` slot – the slot takes precedence.
@@ -139,7 +140,7 @@ export interface TagsInputProps {
139
140
  /** Uncontrolled initial open state of the dropdown. */
140
141
  defaultDropdownOpened?: boolean;
141
142
  /** Props passed down to the underlying `Combobox`. */
142
- comboboxProps?: Record<string, any>;
143
+ comboboxProps?: ComboboxProps;
143
144
  /**
144
145
  * Custom markup for a dropdown option.
145
146
  * Can also be set with the scoped `renderOption` slot – the slot takes precedence.
@@ -151,7 +152,7 @@ export interface TagsInputProps {
151
152
  */
152
153
  renderPill?: (input: TagsInputPillRenderPayload) => VNodeChild;
153
154
  /** Props passed down to the `ScrollArea.Autosize` of the dropdown. */
154
- scrollAreaProps?: Record<string, any>;
155
+ scrollAreaProps?: ScrollAreaProps;
155
156
  /**
156
157
  * If set, the dropdown opens when the input receives focus.
157
158
  *