@mantine-vue/core 1.1.1

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 (475) hide show
  1. package/cjs/index.cjs +32009 -0
  2. package/cjs/index.cjs.map +1 -0
  3. package/esm/index.mjs +31597 -0
  4. package/esm/index.mjs.map +1 -0
  5. package/lib/components/Accordion/Accordion.context.d.ts +27 -0
  6. package/lib/components/Accordion/Accordion.d.ts +526 -0
  7. package/lib/components/Accordion/AccordionChevron.d.ts +16 -0
  8. package/lib/components/Accordion/AccordionControl/AccordionControl.d.ts +89 -0
  9. package/lib/components/Accordion/AccordionItem/AccordionItem.d.ts +43 -0
  10. package/lib/components/Accordion/AccordionItem.context.d.ts +4 -0
  11. package/lib/components/Accordion/AccordionPanel/AccordionPanel.d.ts +53 -0
  12. package/lib/components/Accordion/index.d.ts +13 -0
  13. package/lib/components/ActionIcon/ActionIcon.d.ts +400 -0
  14. package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.d.ts +54 -0
  15. package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.d.ts +96 -0
  16. package/lib/components/ActionIcon/index.d.ts +3 -0
  17. package/lib/components/Affix/Affix.d.ts +86 -0
  18. package/lib/components/Affix/index.d.ts +2 -0
  19. package/lib/components/Alert/Alert.d.ts +136 -0
  20. package/lib/components/Alert/index.d.ts +1 -0
  21. package/lib/components/Anchor/Anchor.d.ts +70 -0
  22. package/lib/components/Anchor/index.d.ts +1 -0
  23. package/lib/components/AngleSlider/AngleSlider.d.ts +217 -0
  24. package/lib/components/AngleSlider/index.d.ts +2 -0
  25. package/lib/components/AppShell/AppShell.context.d.ts +9 -0
  26. package/lib/components/AppShell/AppShell.d.ts +802 -0
  27. package/lib/components/AppShell/AppShell.types.d.ts +41 -0
  28. package/lib/components/AppShell/AppShellAside/AppShellAside.d.ts +102 -0
  29. package/lib/components/AppShell/AppShellFooter/AppShellFooter.d.ts +102 -0
  30. package/lib/components/AppShell/AppShellHeader/AppShellHeader.d.ts +102 -0
  31. package/lib/components/AppShell/AppShellMain/AppShellMain.d.ts +21 -0
  32. package/lib/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.d.ts +27 -0
  33. package/lib/components/AppShell/AppShellMediaStyles/get-variables.d.ts +18 -0
  34. package/lib/components/AppShell/AppShellNavbar/AppShellNavbar.d.ts +102 -0
  35. package/lib/components/AppShell/AppShellSection/AppShellSection.d.ts +73 -0
  36. package/lib/components/AppShell/create-app-shell-component.d.ts +103 -0
  37. package/lib/components/AppShell/index.d.ts +12 -0
  38. package/lib/components/AppShell/use-resizing/use-resizing.d.ts +5 -0
  39. package/lib/components/AspectRatio/AspectRatio.d.ts +51 -0
  40. package/lib/components/AspectRatio/index.d.ts +1 -0
  41. package/lib/components/Autocomplete/Autocomplete.d.ts +143 -0
  42. package/lib/components/Autocomplete/index.d.ts +2 -0
  43. package/lib/components/Avatar/Avatar.d.ts +327 -0
  44. package/lib/components/Avatar/AvatarGroup/AvatarGroup.d.ts +52 -0
  45. package/lib/components/Avatar/AvatarPlaceholderIcon.d.ts +3 -0
  46. package/lib/components/Avatar/get-initials/get-initials.d.ts +1 -0
  47. package/lib/components/Avatar/get-initials-color/get-initials-color.d.ts +1 -0
  48. package/lib/components/Avatar/index.d.ts +4 -0
  49. package/lib/components/BackgroundImage/BackgroundImage.d.ts +53 -0
  50. package/lib/components/BackgroundImage/index.d.ts +1 -0
  51. package/lib/components/Badge/Badge.d.ts +141 -0
  52. package/lib/components/Badge/index.d.ts +1 -0
  53. package/lib/components/Blockquote/Blockquote.d.ts +83 -0
  54. package/lib/components/Blockquote/index.d.ts +1 -0
  55. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +54 -0
  56. package/lib/components/Breadcrumbs/index.d.ts +1 -0
  57. package/lib/components/Burger/Burger.d.ts +83 -0
  58. package/lib/components/Burger/index.d.ts +1 -0
  59. package/lib/components/Button/Button.d.ts +536 -0
  60. package/lib/components/Button/ButtonGroup/ButtonGroup.d.ts +54 -0
  61. package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.d.ts +96 -0
  62. package/lib/components/Button/index.d.ts +3 -0
  63. package/lib/components/Card/Card.context.d.ts +7 -0
  64. package/lib/components/Card/Card.d.ts +222 -0
  65. package/lib/components/Card/CardSection/CardSection.d.ts +70 -0
  66. package/lib/components/Card/index.d.ts +2 -0
  67. package/lib/components/Center/Center.d.ts +60 -0
  68. package/lib/components/Center/index.d.ts +1 -0
  69. package/lib/components/Checkbox/CheckIcon.d.ts +31 -0
  70. package/lib/components/Checkbox/Checkbox.d.ts +807 -0
  71. package/lib/components/Checkbox/CheckboxCard/CheckboxCard.d.ts +110 -0
  72. package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +176 -0
  73. package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.d.ts +143 -0
  74. package/lib/components/Checkbox/index.d.ts +9 -0
  75. package/lib/components/Chip/Chip.d.ts +373 -0
  76. package/lib/components/Chip/ChipGroup/ChipGroup.d.ts +50 -0
  77. package/lib/components/Chip/index.d.ts +4 -0
  78. package/lib/components/CloseButton/CloseButton.d.ts +94 -0
  79. package/lib/components/CloseButton/CloseIcon.d.ts +15 -0
  80. package/lib/components/CloseButton/index.d.ts +2 -0
  81. package/lib/components/Code/Code.d.ts +60 -0
  82. package/lib/components/Code/index.d.ts +1 -0
  83. package/lib/components/Collapse/Collapse.d.ts +78 -0
  84. package/lib/components/Collapse/index.d.ts +1 -0
  85. package/lib/components/ColorInput/ColorInput.d.ts +119 -0
  86. package/lib/components/ColorInput/EyeDropperIcon.d.ts +3 -0
  87. package/lib/components/ColorInput/index.d.ts +2 -0
  88. package/lib/components/ColorPicker/AlphaSlider/AlphaSlider.d.ts +77 -0
  89. package/lib/components/ColorPicker/ColorPicker.context.d.ts +6 -0
  90. package/lib/components/ColorPicker/ColorPicker.d.ts +216 -0
  91. package/lib/components/ColorPicker/ColorPicker.types.d.ts +19 -0
  92. package/lib/components/ColorPicker/ColorSlider/ColorSlider.d.ts +139 -0
  93. package/lib/components/ColorPicker/HueSlider/HueSlider.d.ts +69 -0
  94. package/lib/components/ColorPicker/Saturation/Saturation.d.ts +84 -0
  95. package/lib/components/ColorPicker/Swatches/Swatches.d.ts +50 -0
  96. package/lib/components/ColorPicker/Thumb/Thumb.d.ts +20 -0
  97. package/lib/components/ColorPicker/converters/converters.d.ts +7 -0
  98. package/lib/components/ColorPicker/converters/index.d.ts +2 -0
  99. package/lib/components/ColorPicker/converters/parsers.d.ts +9 -0
  100. package/lib/components/ColorPicker/index.d.ts +8 -0
  101. package/lib/components/ColorSwatch/ColorSwatch.d.ts +64 -0
  102. package/lib/components/ColorSwatch/index.d.ts +1 -0
  103. package/lib/components/Combobox/Combobox.context.d.ts +12 -0
  104. package/lib/components/Combobox/Combobox.d.ts +697 -0
  105. package/lib/components/Combobox/Combobox.types.d.ts +43 -0
  106. package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.d.ts +118 -0
  107. package/lib/components/Combobox/data-utils.d.ts +14 -0
  108. package/lib/components/Combobox/index.d.ts +15 -0
  109. package/lib/components/Combobox/use-combobox/use-combobox.d.ts +36 -0
  110. package/lib/components/Combobox/use-combobox/use-virtualized-combobox.d.ts +12 -0
  111. package/lib/components/Combobox/use-combobox-target-props/use-combobox-target-props.d.ts +20 -0
  112. package/lib/components/Combobox/use-pills-reorder/use-pills-reorder.d.ts +21 -0
  113. package/lib/components/Container/Container.d.ts +63 -0
  114. package/lib/components/Container/index.d.ts +1 -0
  115. package/lib/components/CopyButton/CopyButton.d.ts +23 -0
  116. package/lib/components/CopyButton/index.d.ts +1 -0
  117. package/lib/components/Dialog/Dialog.d.ts +183 -0
  118. package/lib/components/Dialog/index.d.ts +2 -0
  119. package/lib/components/Divider/Divider.d.ts +91 -0
  120. package/lib/components/Divider/index.d.ts +1 -0
  121. package/lib/components/Drawer/Drawer.d.ts +606 -0
  122. package/lib/components/Drawer/index.d.ts +2 -0
  123. package/lib/components/Fieldset/Fieldset.d.ts +72 -0
  124. package/lib/components/Fieldset/index.d.ts +2 -0
  125. package/lib/components/FileButton/FileButton.d.ts +98 -0
  126. package/lib/components/FileButton/index.d.ts +1 -0
  127. package/lib/components/FileInput/FileInput.d.ts +273 -0
  128. package/lib/components/FileInput/index.d.ts +1 -0
  129. package/lib/components/Flex/Flex.d.ts +67 -0
  130. package/lib/components/Flex/flex-props.d.ts +2 -0
  131. package/lib/components/Flex/index.d.ts +2 -0
  132. package/lib/components/FloatingIndicator/FloatingIndicator.d.ts +116 -0
  133. package/lib/components/FloatingIndicator/index.d.ts +4 -0
  134. package/lib/components/FloatingIndicator/use-floating-indicator.d.ts +14 -0
  135. package/lib/components/FloatingWindow/FloatingWindow.d.ts +207 -0
  136. package/lib/components/FloatingWindow/index.d.ts +2 -0
  137. package/lib/components/FocusTrap/FocusTrap.d.ts +90 -0
  138. package/lib/components/FocusTrap/index.d.ts +2 -0
  139. package/lib/components/Grid/Grid.context.d.ts +12 -0
  140. package/lib/components/Grid/Grid.d.ts +309 -0
  141. package/lib/components/Grid/GridCol/GridCol.d.ts +73 -0
  142. package/lib/components/Grid/GridCol/GridColVariables.d.ts +54 -0
  143. package/lib/components/Grid/GridVariables.d.ts +63 -0
  144. package/lib/components/Grid/index.d.ts +3 -0
  145. package/lib/components/Group/Group.d.ts +90 -0
  146. package/lib/components/Group/index.d.ts +1 -0
  147. package/lib/components/Highlight/Highlight.d.ts +118 -0
  148. package/lib/components/Highlight/highlighter/highlighter.d.ts +11 -0
  149. package/lib/components/Highlight/index.d.ts +4 -0
  150. package/lib/components/HoverCard/HoverCard.context.d.ts +5 -0
  151. package/lib/components/HoverCard/HoverCard.d.ts +121 -0
  152. package/lib/components/HoverCard/HoverCardDropdown/HoverCardDropdown.d.ts +6 -0
  153. package/lib/components/HoverCard/HoverCardGroup/HoverCardGroup.d.ts +35 -0
  154. package/lib/components/HoverCard/HoverCardTarget/HoverCardTarget.d.ts +23 -0
  155. package/lib/components/HoverCard/index.d.ts +10 -0
  156. package/lib/components/HoverCard/use-hover-card.d.ts +11 -0
  157. package/lib/components/Image/Image.d.ts +74 -0
  158. package/lib/components/Image/index.d.ts +1 -0
  159. package/lib/components/Indicator/Indicator.d.ts +167 -0
  160. package/lib/components/Indicator/Indicator.types.d.ts +4 -0
  161. package/lib/components/Indicator/get-position-variables/get-position-variables.d.ts +5 -0
  162. package/lib/components/Indicator/index.d.ts +3 -0
  163. package/lib/components/Input/Input.context.d.ts +7 -0
  164. package/lib/components/Input/Input.d.ts +1086 -0
  165. package/lib/components/Input/InputClearButton/InputClearButton.d.ts +43 -0
  166. package/lib/components/Input/InputClearSection/InputClearSection.d.ts +10 -0
  167. package/lib/components/Input/InputDescription/InputDescription.d.ts +62 -0
  168. package/lib/components/Input/InputError/InputError.d.ts +62 -0
  169. package/lib/components/Input/InputLabel/InputLabel.d.ts +89 -0
  170. package/lib/components/Input/InputPlaceholder/InputPlaceholder.d.ts +53 -0
  171. package/lib/components/Input/InputWrapper/InputWrapper.d.ts +180 -0
  172. package/lib/components/Input/InputWrapper/get-input-offsets/get-input-offsets.d.ts +8 -0
  173. package/lib/components/Input/InputWrapper.context.d.ts +16 -0
  174. package/lib/components/Input/index.d.ts +19 -0
  175. package/lib/components/InputBase/InputBase.d.ts +431 -0
  176. package/lib/components/InputBase/index.d.ts +2 -0
  177. package/lib/components/JsonInput/JsonInput.d.ts +106 -0
  178. package/lib/components/JsonInput/index.d.ts +2 -0
  179. package/lib/components/JsonInput/validate-json/validate-json.d.ts +1 -0
  180. package/lib/components/Kbd/Kbd.d.ts +45 -0
  181. package/lib/components/Kbd/index.d.ts +1 -0
  182. package/lib/components/List/List.context.d.ts +9 -0
  183. package/lib/components/List/List.d.ts +276 -0
  184. package/lib/components/List/ListItem/ListItem.d.ts +52 -0
  185. package/lib/components/List/index.d.ts +3 -0
  186. package/lib/components/Loader/Loader.d.ts +74 -0
  187. package/lib/components/Loader/Loader.types.d.ts +4 -0
  188. package/lib/components/Loader/index.d.ts +5 -0
  189. package/lib/components/Loader/loaders/Bars.d.ts +3 -0
  190. package/lib/components/Loader/loaders/Dots.d.ts +3 -0
  191. package/lib/components/Loader/loaders/Oval.d.ts +3 -0
  192. package/lib/components/LoadingOverlay/LoadingOverlay.d.ts +117 -0
  193. package/lib/components/LoadingOverlay/index.d.ts +1 -0
  194. package/lib/components/Mark/Mark.d.ts +51 -0
  195. package/lib/components/Mark/get-mark-color.d.ts +6 -0
  196. package/lib/components/Mark/index.d.ts +2 -0
  197. package/lib/components/Marquee/Marquee.d.ts +134 -0
  198. package/lib/components/Marquee/index.d.ts +2 -0
  199. package/lib/components/MaskInput/MaskInput.d.ts +147 -0
  200. package/lib/components/MaskInput/index.d.ts +3 -0
  201. package/lib/components/MaskInput/use-mask-input.d.ts +36 -0
  202. package/lib/components/Menu/Menu.context.d.ts +19 -0
  203. package/lib/components/Menu/Menu.d.ts +1174 -0
  204. package/lib/components/Menu/index.d.ts +4 -0
  205. package/lib/components/Modal/Modal.d.ts +557 -0
  206. package/lib/components/Modal/index.d.ts +2 -0
  207. package/lib/components/ModalBase/ModalBase.context.d.ts +19 -0
  208. package/lib/components/ModalBase/ModalBase.d.ts +180 -0
  209. package/lib/components/ModalBase/ModalBaseBody.d.ts +6 -0
  210. package/lib/components/ModalBase/ModalBaseCloseButton.d.ts +6 -0
  211. package/lib/components/ModalBase/ModalBaseContent.d.ts +29 -0
  212. package/lib/components/ModalBase/ModalBaseHeader.d.ts +6 -0
  213. package/lib/components/ModalBase/ModalBaseOverlay.d.ts +29 -0
  214. package/lib/components/ModalBase/ModalBaseTitle.d.ts +6 -0
  215. package/lib/components/ModalBase/NativeScrollArea.d.ts +3 -0
  216. package/lib/components/ModalBase/index.d.ts +16 -0
  217. package/lib/components/ModalBase/use-lock-scroll.d.ts +2 -0
  218. package/lib/components/ModalBase/use-modal-body-id.d.ts +1 -0
  219. package/lib/components/ModalBase/use-modal-title-id.d.ts +1 -0
  220. package/lib/components/ModalBase/use-modal-transition.d.ts +5 -0
  221. package/lib/components/ModalBase/use-modal.d.ts +12 -0
  222. package/lib/components/MultiSelect/MultiSelect.d.ts +189 -0
  223. package/lib/components/MultiSelect/index.d.ts +2 -0
  224. package/lib/components/NativeSelect/NativeSelect.d.ts +220 -0
  225. package/lib/components/NativeSelect/NativeSelectOption.d.ts +17 -0
  226. package/lib/components/NativeSelect/get-parsed-data/get-parsed-data.d.ts +22 -0
  227. package/lib/components/NativeSelect/index.d.ts +5 -0
  228. package/lib/components/NavLink/NavLink.d.ts +207 -0
  229. package/lib/components/NavLink/index.d.ts +2 -0
  230. package/lib/components/Notification/Notification.d.ts +143 -0
  231. package/lib/components/Notification/index.d.ts +2 -0
  232. package/lib/components/NumberFormatter/NumberFormatter.d.ts +100 -0
  233. package/lib/components/NumberFormatter/index.d.ts +2 -0
  234. package/lib/components/NumberInput/NumberInput.d.ts +437 -0
  235. package/lib/components/NumberInput/NumberInputChevron.d.ts +14 -0
  236. package/lib/components/NumberInput/index.d.ts +3 -0
  237. package/lib/components/OverflowList/OverflowList.d.ts +113 -0
  238. package/lib/components/OverflowList/get-row-position-data.d.ts +11 -0
  239. package/lib/components/OverflowList/index.d.ts +2 -0
  240. package/lib/components/OverflowList/use-dimensions.d.ts +18 -0
  241. package/lib/components/Overlay/Overlay.d.ts +103 -0
  242. package/lib/components/Overlay/index.d.ts +1 -0
  243. package/lib/components/Pagination/Pagination.context.d.ts +18 -0
  244. package/lib/components/Pagination/Pagination.d.ts +710 -0
  245. package/lib/components/Pagination/Pagination.icons.d.ts +15 -0
  246. package/lib/components/Pagination/PaginationControl/PaginationControl.d.ts +70 -0
  247. package/lib/components/Pagination/PaginationDots/PaginationDots.d.ts +16 -0
  248. package/lib/components/Pagination/PaginationEdges/PaginationEdges.d.ts +97 -0
  249. package/lib/components/Pagination/PaginationItems/PaginationItems.d.ts +6 -0
  250. package/lib/components/Pagination/PaginationLabel/PaginationLabel.d.ts +3 -0
  251. package/lib/components/Pagination/PaginationRoot/PaginationRoot.d.ts +170 -0
  252. package/lib/components/Pagination/index.d.ts +11 -0
  253. package/lib/components/Paper/Paper.d.ts +72 -0
  254. package/lib/components/Paper/index.d.ts +1 -0
  255. package/lib/components/PasswordInput/PasswordInput.d.ts +314 -0
  256. package/lib/components/PasswordInput/PasswordToggleIcon.d.ts +15 -0
  257. package/lib/components/PasswordInput/index.d.ts +3 -0
  258. package/lib/components/Pill/Pill.d.ts +280 -0
  259. package/lib/components/Pill/PillGroup/PillGroup.d.ts +76 -0
  260. package/lib/components/Pill/index.d.ts +4 -0
  261. package/lib/components/PillsInput/PillsInput.context.d.ts +11 -0
  262. package/lib/components/PillsInput/PillsInput.d.ts +379 -0
  263. package/lib/components/PillsInput/PillsInputField/PillsInputField.d.ts +98 -0
  264. package/lib/components/PillsInput/index.d.ts +5 -0
  265. package/lib/components/PinInput/PinInput.d.ts +334 -0
  266. package/lib/components/PinInput/create-pin-array/create-pin-array.d.ts +1 -0
  267. package/lib/components/PinInput/index.d.ts +2 -0
  268. package/lib/components/Popover/Popover.context.d.ts +39 -0
  269. package/lib/components/Popover/Popover.d.ts +487 -0
  270. package/lib/components/Popover/index.d.ts +2 -0
  271. package/lib/components/Portal/OptionalPortal.d.ts +35 -0
  272. package/lib/components/Portal/Portal.d.ts +25 -0
  273. package/lib/components/Portal/index.d.ts +2 -0
  274. package/lib/components/Progress/Progress.context.d.ts +9 -0
  275. package/lib/components/Progress/Progress.d.ts +445 -0
  276. package/lib/components/Progress/ProgressLabel/ProgressLabel.d.ts +43 -0
  277. package/lib/components/Progress/ProgressRoot/ProgressRoot.d.ts +98 -0
  278. package/lib/components/Progress/ProgressSection/ProgressSection.d.ts +87 -0
  279. package/lib/components/Progress/index.d.ts +8 -0
  280. package/lib/components/Radio/Radio.d.ts +732 -0
  281. package/lib/components/Radio/RadioCard/RadioCard.d.ts +101 -0
  282. package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +150 -0
  283. package/lib/components/Radio/RadioIcon.d.ts +3 -0
  284. package/lib/components/Radio/RadioIndicator/RadioIndicator.d.ts +134 -0
  285. package/lib/components/Radio/index.d.ts +9 -0
  286. package/lib/components/Rating/Rating.context.d.ts +8 -0
  287. package/lib/components/Rating/Rating.d.ts +188 -0
  288. package/lib/components/Rating/RatingItem/RatingItem.d.ts +124 -0
  289. package/lib/components/Rating/StarSymbol/StarIcon.d.ts +3 -0
  290. package/lib/components/Rating/StarSymbol/StarSymbol.d.ts +14 -0
  291. package/lib/components/Rating/index.d.ts +2 -0
  292. package/lib/components/RingProgress/Curve/Curve.d.ts +83 -0
  293. package/lib/components/RingProgress/Curve/get-curve-props.d.ts +18 -0
  294. package/lib/components/RingProgress/RingProgress.d.ts +148 -0
  295. package/lib/components/RingProgress/get-curves/get-curves.d.ts +22 -0
  296. package/lib/components/RingProgress/index.d.ts +2 -0
  297. package/lib/components/RollingNumber/DigitColumn.d.ts +49 -0
  298. package/lib/components/RollingNumber/RollingNumber.d.ts +172 -0
  299. package/lib/components/RollingNumber/build-value.d.ts +10 -0
  300. package/lib/components/RollingNumber/get-digit-parts.d.ts +12 -0
  301. package/lib/components/RollingNumber/get-render-slots.d.ts +35 -0
  302. package/lib/components/RollingNumber/index.d.ts +8 -0
  303. package/lib/components/ScrollArea/ScrollArea.context.d.ts +21 -0
  304. package/lib/components/ScrollArea/ScrollArea.d.ts +482 -0
  305. package/lib/components/ScrollArea/ScrollArea.types.d.ts +23 -0
  306. package/lib/components/ScrollArea/ScrollAreaCorner/ScrollAreaCorner.d.ts +3 -0
  307. package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.d.ts +43 -0
  308. package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbar.d.ts +24 -0
  309. package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarVisible.d.ts +16 -0
  310. package/lib/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.context.d.ts +12 -0
  311. package/lib/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.d.ts +106 -0
  312. package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollbarX.d.ts +79 -0
  313. package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollbarY.d.ts +79 -0
  314. package/lib/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.d.ts +3 -0
  315. package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.d.ts +25 -0
  316. package/lib/components/ScrollArea/index.d.ts +3 -0
  317. package/lib/components/ScrollArea/utils/index.d.ts +9 -0
  318. package/lib/components/Scroller/Scroller.d.ts +153 -0
  319. package/lib/components/Scroller/index.d.ts +2 -0
  320. package/lib/components/SegmentedControl/SegmentedControl.d.ts +210 -0
  321. package/lib/components/SegmentedControl/index.d.ts +2 -0
  322. package/lib/components/Select/Select.d.ts +226 -0
  323. package/lib/components/Select/index.d.ts +2 -0
  324. package/lib/components/SemiCircleProgress/SemiCircleProgress.d.ts +133 -0
  325. package/lib/components/SemiCircleProgress/index.d.ts +2 -0
  326. package/lib/components/SimpleGrid/SimpleGrid.d.ts +101 -0
  327. package/lib/components/SimpleGrid/SimpleGridVariables.d.ts +107 -0
  328. package/lib/components/SimpleGrid/index.d.ts +1 -0
  329. package/lib/components/Skeleton/Skeleton.d.ts +76 -0
  330. package/lib/components/Skeleton/index.d.ts +1 -0
  331. package/lib/components/Slider/Marks/Marks.d.ts +77 -0
  332. package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +324 -0
  333. package/lib/components/Slider/Slider/Slider.d.ts +316 -0
  334. package/lib/components/Slider/Slider.context.d.ts +9 -0
  335. package/lib/components/Slider/SliderMark.d.ts +5 -0
  336. package/lib/components/Slider/SliderRoot/SliderRoot.d.ts +42 -0
  337. package/lib/components/Slider/Thumb/Thumb.d.ts +133 -0
  338. package/lib/components/Slider/Track/Track.d.ts +103 -0
  339. package/lib/components/Slider/index.d.ts +5 -0
  340. package/lib/components/Slider/utils/slider-utils.d.ts +32 -0
  341. package/lib/components/Space/Space.d.ts +14 -0
  342. package/lib/components/Space/index.d.ts +1 -0
  343. package/lib/components/Splitter/GripIcon.d.ts +6 -0
  344. package/lib/components/Splitter/Splitter.context.d.ts +7 -0
  345. package/lib/components/Splitter/Splitter.d.ts +450 -0
  346. package/lib/components/Splitter/SplitterPane/SplitterPane.d.ts +109 -0
  347. package/lib/components/Splitter/index.d.ts +7 -0
  348. package/lib/components/Splitter/use-splitter.d.ts +43 -0
  349. package/lib/components/Spoiler/Spoiler.d.ts +132 -0
  350. package/lib/components/Spoiler/index.d.ts +2 -0
  351. package/lib/components/Stack/Stack.d.ts +63 -0
  352. package/lib/components/Stack/index.d.ts +1 -0
  353. package/lib/components/Stepper/Stepper.context.d.ts +6 -0
  354. package/lib/components/Stepper/Stepper.d.ts +529 -0
  355. package/lib/components/Stepper/StepperCompleted/StepperCompleted.d.ts +1 -0
  356. package/lib/components/Stepper/StepperStep/StepperStep.d.ts +189 -0
  357. package/lib/components/Stepper/index.d.ts +7 -0
  358. package/lib/components/Switch/Switch.d.ts +560 -0
  359. package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +176 -0
  360. package/lib/components/Switch/index.d.ts +4 -0
  361. package/lib/components/Table/Table.components.d.ts +661 -0
  362. package/lib/components/Table/Table.context.d.ts +14 -0
  363. package/lib/components/Table/Table.d.ts +1066 -0
  364. package/lib/components/Table/TableDataRenderer.d.ts +15 -0
  365. package/lib/components/Table/TableScrollContainer.d.ts +86 -0
  366. package/lib/components/Table/index.d.ts +7 -0
  367. package/lib/components/TableOfContents/TableOfContents.d.ts +159 -0
  368. package/lib/components/TableOfContents/index.d.ts +2 -0
  369. package/lib/components/Tabs/Tabs.context.d.ts +28 -0
  370. package/lib/components/Tabs/Tabs.d.ts +560 -0
  371. package/lib/components/Tabs/TabsList/TabsList.d.ts +53 -0
  372. package/lib/components/Tabs/TabsPanel/TabsPanel.d.ts +52 -0
  373. package/lib/components/Tabs/TabsTab/TabsTab.d.ts +115 -0
  374. package/lib/components/Tabs/index.d.ts +10 -0
  375. package/lib/components/TagsInput/TagsInput.d.ts +175 -0
  376. package/lib/components/TagsInput/index.d.ts +2 -0
  377. package/lib/components/Text/Text.d.ts +158 -0
  378. package/lib/components/Text/index.d.ts +1 -0
  379. package/lib/components/TextInput/TextInput.d.ts +3 -0
  380. package/lib/components/TextInput/index.d.ts +1 -0
  381. package/lib/components/Textarea/Autosize.d.ts +38 -0
  382. package/lib/components/Textarea/Textarea.d.ts +70 -0
  383. package/lib/components/Textarea/index.d.ts +1 -0
  384. package/lib/components/ThemeIcon/ThemeIcon.d.ts +96 -0
  385. package/lib/components/ThemeIcon/index.d.ts +1 -0
  386. package/lib/components/Timeline/Timeline.context.d.ts +8 -0
  387. package/lib/components/Timeline/Timeline.d.ts +366 -0
  388. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +143 -0
  389. package/lib/components/Timeline/index.d.ts +5 -0
  390. package/lib/components/Title/Title.d.ts +73 -0
  391. package/lib/components/Title/get-title-size.d.ts +7 -0
  392. package/lib/components/Title/index.d.ts +2 -0
  393. package/lib/components/Tooltip/Tooltip.d.ts +372 -0
  394. package/lib/components/Tooltip/Tooltip.types.d.ts +26 -0
  395. package/lib/components/Tooltip/TooltipFloating/TooltipFloating.d.ts +69 -0
  396. package/lib/components/Tooltip/TooltipGroup/TooltipGroup.d.ts +35 -0
  397. package/lib/components/Tooltip/index.d.ts +7 -0
  398. package/lib/components/Tooltip/use-tooltip.d.ts +33 -0
  399. package/lib/components/Transition/Transition.d.ts +109 -0
  400. package/lib/components/Transition/get-transition-styles.d.ts +9 -0
  401. package/lib/components/Transition/index.d.ts +1 -0
  402. package/lib/components/Transition/transitions.d.ts +10 -0
  403. package/lib/components/Transition/use-transition.d.ts +18 -0
  404. package/lib/components/Tree/FlatTreeNode.d.ts +145 -0
  405. package/lib/components/Tree/Tree.d.ts +237 -0
  406. package/lib/components/Tree/TreeNode.d.ts +2 -0
  407. package/lib/components/Tree/filter-tree-data/filter-tree-data.d.ts +4 -0
  408. package/lib/components/Tree/flatten-tree-data/flatten-tree-data.d.ts +12 -0
  409. package/lib/components/Tree/get-all-checked-nodes/get-all-checked-nodes.d.ts +11 -0
  410. package/lib/components/Tree/get-children-nodes-values/get-children-nodes-values.d.ts +4 -0
  411. package/lib/components/Tree/index.d.ts +15 -0
  412. package/lib/components/Tree/is-node-checked/is-node-checked.d.ts +2 -0
  413. package/lib/components/Tree/is-node-indeterminate/is-node-indeterminate.d.ts +2 -0
  414. package/lib/components/Tree/merge-async-children/merge-async-children.d.ts +2 -0
  415. package/lib/components/Tree/move-tree-node/move-tree-node.d.ts +8 -0
  416. package/lib/components/Tree/use-tree-node-drag-drop.d.ts +34 -0
  417. package/lib/components/Tree/use-tree.d.ts +55 -0
  418. package/lib/components/TreeSelect/TreeSelect.d.ts +352 -0
  419. package/lib/components/TreeSelect/index.d.ts +2 -0
  420. package/lib/components/Typography/Typography.d.ts +34 -0
  421. package/lib/components/Typography/index.d.ts +2 -0
  422. package/lib/components/UnstyledButton/UnstyledButton.d.ts +79 -0
  423. package/lib/components/UnstyledButton/index.d.ts +1 -0
  424. package/lib/components/VisuallyHidden/VisuallyHidden.d.ts +43 -0
  425. package/lib/components/VisuallyHidden/index.d.ts +1 -0
  426. package/lib/components/index.d.ts +110 -0
  427. package/lib/core/Box/Box.d.ts +262 -0
  428. package/lib/core/Box/index.d.ts +2 -0
  429. package/lib/core/Box/style-props/index.d.ts +3 -0
  430. package/lib/core/Box/style-props/parse-style-props.d.ts +18 -0
  431. package/lib/core/Box/style-props/style-props-data.d.ts +7 -0
  432. package/lib/core/Box/style-props/style-props.types.d.ts +115 -0
  433. package/lib/core/DirectionProvider/DirectionProvider.d.ts +24 -0
  434. package/lib/core/DirectionProvider/index.d.ts +1 -0
  435. package/lib/core/InlineStyles/InlineStyles.d.ts +51 -0
  436. package/lib/core/InlineStyles/index.d.ts +1 -0
  437. package/lib/core/MantineProvider/Mantine.context.d.ts +49 -0
  438. package/lib/core/MantineProvider/MantineProvider.d.ts +611 -0
  439. package/lib/core/MantineProvider/MantineThemeProvider.d.ts +235 -0
  440. package/lib/core/MantineProvider/color-functions.d.ts +53 -0
  441. package/lib/core/MantineProvider/css-variables.d.ts +14 -0
  442. package/lib/core/MantineProvider/default-colors.d.ts +2 -0
  443. package/lib/core/MantineProvider/default-theme.d.ts +2 -0
  444. package/lib/core/MantineProvider/index.d.ts +10 -0
  445. package/lib/core/MantineProvider/merge-mantine-theme.d.ts +5 -0
  446. package/lib/core/MantineProvider/theme.types.d.ts +107 -0
  447. package/lib/core/MantineProvider/use-props.d.ts +1 -0
  448. package/lib/core/factory/factory.d.ts +28 -0
  449. package/lib/core/factory/index.d.ts +4 -0
  450. package/lib/core/factory/polymorphic-factory.d.ts +1 -0
  451. package/lib/core/factory/use-forwarded-ref.d.ts +39 -0
  452. package/lib/core/factory/with-box-props.d.ts +18 -0
  453. package/lib/core/index.d.ts +8 -0
  454. package/lib/core/styles-api/create-vars-resolver.d.ts +2 -0
  455. package/lib/core/styles-api/index.d.ts +3 -0
  456. package/lib/core/styles-api/styles-api.types.d.ts +27 -0
  457. package/lib/core/styles-api/use-styles.d.ts +14 -0
  458. package/lib/core/types.d.ts +24 -0
  459. package/lib/core/utils/index.d.ts +4 -0
  460. package/lib/index.d.mts +2 -0
  461. package/lib/index.d.ts +2 -0
  462. package/lib/utils/Floating/FloatingArrow/FloatingArrow.d.ts +55 -0
  463. package/lib/utils/Floating/FloatingArrow/get-arrow-position-styles.d.ts +16 -0
  464. package/lib/utils/Floating/get-floating-position/get-floating-position.d.ts +2 -0
  465. package/lib/utils/Floating/index.d.ts +6 -0
  466. package/lib/utils/Floating/types.d.ts +10 -0
  467. package/lib/utils/Floating/use-context-menu-handlers.d.ts +17 -0
  468. package/lib/utils/Floating/use-delayed-hover.d.ts +9 -0
  469. package/lib/utils/InlineInput/InlineInput.d.ts +150 -0
  470. package/lib/utils/InlineInput/index.d.ts +2 -0
  471. package/lib/utils/InputsGroupFieldset.d.ts +3 -0
  472. package/lib/utils/index.d.ts +2 -0
  473. package/package.json +51 -0
  474. package/styles.css +8547 -0
  475. package/styles.layer.css +8549 -0
@@ -0,0 +1,235 @@
1
+ import { type PropType } from 'vue';
2
+ import type { MantineTheme, MantineThemeOverride } from './theme.types';
3
+ export declare function useMantineTheme(): import("vue").ComputedRef<MantineTheme>;
4
+ export declare function useSafeMantineTheme(): import("vue").ComputedRef<MantineTheme>;
5
+ export declare const MantineThemeProvider: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
+ inherit: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ theme: {
11
+ type: PropType<MantineThemeOverride>;
12
+ default: undefined;
13
+ };
14
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
15
+ [key: string]: any;
16
+ }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ inherit: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ theme: {
22
+ type: PropType<MantineThemeOverride>;
23
+ default: undefined;
24
+ };
25
+ }>> & Readonly<{}>, {
26
+ theme: {
27
+ focusRing?: "auto" | "always" | "never" | undefined;
28
+ scale?: number | undefined;
29
+ fontSmoothing?: boolean | undefined;
30
+ white?: string | undefined;
31
+ black?: string | undefined;
32
+ colors?: {
33
+ [x: string & {}]: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
34
+ dark?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
35
+ gray?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
36
+ red?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
37
+ pink?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
38
+ grape?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
39
+ violet?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
40
+ indigo?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
41
+ blue?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
42
+ cyan?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
43
+ green?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
44
+ lime?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
45
+ yellow?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
46
+ orange?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
47
+ teal?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
48
+ } | undefined;
49
+ primaryShade?: import("./theme.types").MantineColorShade | {
50
+ light?: import("./theme.types").MantineColorShade | undefined;
51
+ dark?: import("./theme.types").MantineColorShade | undefined;
52
+ } | undefined;
53
+ primaryColor?: string | undefined;
54
+ variantColorResolver?: import("./theme.types").VariantColorsResolver | undefined;
55
+ autoContrast?: boolean | undefined;
56
+ luminanceThreshold?: number | undefined;
57
+ fontFamily?: string | undefined;
58
+ fontFamilyMonospace?: string | undefined;
59
+ headings?: {
60
+ fontFamily?: string | undefined;
61
+ fontWeight?: string | undefined;
62
+ textWrap?: "wrap" | "nowrap" | "balance" | "pretty" | "stable" | undefined;
63
+ sizes?: {
64
+ h1?: {
65
+ fontSize?: string | undefined;
66
+ lineHeight?: string | undefined;
67
+ fontWeight?: string | undefined;
68
+ } | undefined;
69
+ h2?: {
70
+ fontSize?: string | undefined;
71
+ lineHeight?: string | undefined;
72
+ fontWeight?: string | undefined;
73
+ } | undefined;
74
+ h3?: {
75
+ fontSize?: string | undefined;
76
+ lineHeight?: string | undefined;
77
+ fontWeight?: string | undefined;
78
+ } | undefined;
79
+ h4?: {
80
+ fontSize?: string | undefined;
81
+ lineHeight?: string | undefined;
82
+ fontWeight?: string | undefined;
83
+ } | undefined;
84
+ h5?: {
85
+ fontSize?: string | undefined;
86
+ lineHeight?: string | undefined;
87
+ fontWeight?: string | undefined;
88
+ } | undefined;
89
+ h6?: {
90
+ fontSize?: string | undefined;
91
+ lineHeight?: string | undefined;
92
+ fontWeight?: string | undefined;
93
+ } | undefined;
94
+ } | undefined;
95
+ } | undefined;
96
+ radius?: {
97
+ [x: string]: string | undefined;
98
+ } | undefined;
99
+ defaultRadius?: number | import("./theme.types").MantineSize | {
100
+ readonly [x: number]: string | undefined;
101
+ toString?: (() => string) | undefined;
102
+ charAt?: ((pos: number) => string) | undefined;
103
+ charCodeAt?: ((index: number) => number) | undefined;
104
+ concat?: ((...strings: string[]) => string) | undefined;
105
+ indexOf?: ((searchString: string, position?: number) => number) | undefined;
106
+ lastIndexOf?: ((searchString: string, position?: number) => number) | undefined;
107
+ localeCompare?: {
108
+ (that: string): number;
109
+ (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
110
+ (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
111
+ } | undefined;
112
+ match?: {
113
+ (regexp: string | RegExp): RegExpMatchArray | null;
114
+ (matcher: {
115
+ [Symbol.match](string: string): RegExpMatchArray | null;
116
+ }): RegExpMatchArray | null;
117
+ } | undefined;
118
+ replace?: {
119
+ (searchValue: string | RegExp, replaceValue: string): string;
120
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
121
+ (searchValue: {
122
+ [Symbol.replace](string: string, replaceValue: string): string;
123
+ }, replaceValue: string): string;
124
+ (searchValue: {
125
+ [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
126
+ }, replacer: (substring: string, ...args: any[]) => string): string;
127
+ } | undefined;
128
+ search?: {
129
+ (regexp: string | RegExp): number;
130
+ (searcher: {
131
+ [Symbol.search](string: string): number;
132
+ }): number;
133
+ } | undefined;
134
+ slice?: ((start?: number, end?: number) => string) | undefined;
135
+ split?: {
136
+ (separator: string | RegExp, limit?: number): string[];
137
+ (splitter: {
138
+ [Symbol.split](string: string, limit?: number): string[];
139
+ }, limit?: number): string[];
140
+ } | undefined;
141
+ substring?: ((start: number, end?: number) => string) | undefined;
142
+ toLowerCase?: (() => string) | undefined;
143
+ toLocaleLowerCase?: {
144
+ (locales?: string | string[]): string;
145
+ (locales?: Intl.LocalesArgument): string;
146
+ } | undefined;
147
+ toUpperCase?: (() => string) | undefined;
148
+ toLocaleUpperCase?: {
149
+ (locales?: string | string[]): string;
150
+ (locales?: Intl.LocalesArgument): string;
151
+ } | undefined;
152
+ trim?: (() => string) | undefined;
153
+ readonly length?: number | undefined;
154
+ substr?: ((from: number, length?: number) => string) | undefined;
155
+ valueOf?: (() => string) | undefined;
156
+ codePointAt?: ((pos: number) => number | undefined) | undefined;
157
+ includes?: ((searchString: string, position?: number) => boolean) | undefined;
158
+ endsWith?: ((searchString: string, endPosition?: number) => boolean) | undefined;
159
+ normalize?: {
160
+ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
161
+ (form?: string): string;
162
+ } | undefined;
163
+ repeat?: ((count: number) => string) | undefined;
164
+ startsWith?: ((searchString: string, position?: number) => boolean) | undefined;
165
+ anchor?: ((name: string) => string) | undefined;
166
+ big?: (() => string) | undefined;
167
+ blink?: (() => string) | undefined;
168
+ bold?: (() => string) | undefined;
169
+ fixed?: (() => string) | undefined;
170
+ fontcolor?: ((color: string) => string) | undefined;
171
+ fontsize?: {
172
+ (size: number): string;
173
+ (size: string): string;
174
+ } | undefined;
175
+ italics?: (() => string) | undefined;
176
+ link?: ((url: string) => string) | undefined;
177
+ small?: (() => string) | undefined;
178
+ strike?: (() => string) | undefined;
179
+ sub?: (() => string) | undefined;
180
+ sup?: (() => string) | undefined;
181
+ padStart?: ((maxLength: number, fillString?: string) => string) | undefined;
182
+ padEnd?: ((maxLength: number, fillString?: string) => string) | undefined;
183
+ trimEnd?: (() => string) | undefined;
184
+ trimStart?: (() => string) | undefined;
185
+ trimLeft?: (() => string) | undefined;
186
+ trimRight?: (() => string) | undefined;
187
+ matchAll?: ((regexp: RegExp) => RegExpStringIterator<RegExpExecArray>) | undefined;
188
+ replaceAll?: {
189
+ (searchValue: string | RegExp, replaceValue: string): string;
190
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
191
+ } | undefined;
192
+ at?: ((index: number) => string | undefined) | undefined;
193
+ [Symbol.iterator]?: (() => StringIterator<string>) | undefined;
194
+ } | undefined;
195
+ spacing?: {
196
+ [x: string]: string | undefined;
197
+ } | undefined;
198
+ fontSizes?: {
199
+ [x: string]: string | undefined;
200
+ } | undefined;
201
+ lineHeights?: {
202
+ [x: string]: string | undefined;
203
+ } | undefined;
204
+ fontWeights?: {
205
+ [x: string]: string | undefined;
206
+ } | undefined;
207
+ breakpoints?: {
208
+ [x: string]: string | undefined;
209
+ } | undefined;
210
+ shadows?: {
211
+ [x: string]: string | undefined;
212
+ } | undefined;
213
+ respectReducedMotion?: boolean | undefined;
214
+ cursorType?: "default" | "pointer" | undefined;
215
+ defaultGradient?: {
216
+ from?: string | undefined;
217
+ to?: string | undefined;
218
+ deg?: number | undefined;
219
+ } | undefined;
220
+ activeClassName?: string | undefined;
221
+ focusClassName?: string | undefined;
222
+ components?: {
223
+ [x: string]: {
224
+ classNames?: any;
225
+ styles?: any;
226
+ vars?: any;
227
+ defaultProps?: any;
228
+ } | undefined;
229
+ } | undefined;
230
+ other?: {
231
+ [x: string]: any;
232
+ } | undefined;
233
+ };
234
+ inherit: boolean;
235
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,53 @@
1
+ import type { MantineColorScheme, MantineColorShade, MantineColorsTuple, MantineGradient, MantineTheme, VariantColorsResolver } from './theme.types';
2
+ export declare function getPrimaryShade(theme: MantineTheme, colorScheme: MantineColorScheme): MantineColorShade;
3
+ export interface RGBA {
4
+ r: number;
5
+ g: number;
6
+ b: number;
7
+ a: number;
8
+ }
9
+ export declare function toRgba(color: string): RGBA;
10
+ export declare function rgba(color: string, alpha: number): string;
11
+ export declare const alpha: typeof rgba;
12
+ export declare function darken(color: string, alphaValue: number): string;
13
+ export declare function lighten(color: string, alphaValue: number): string;
14
+ export declare function luminance(color: string): number;
15
+ export declare function isLightColor(color: string, luminanceThreshold?: number): boolean;
16
+ export declare function colorsTuple(input: string | string[]): MantineColorsTuple;
17
+ interface VirtualColorInput {
18
+ dark: string;
19
+ light: string;
20
+ name: string;
21
+ }
22
+ export type VirtualColor = MantineColorsTuple & {
23
+ 'mantine-virtual-color': true;
24
+ name: string;
25
+ dark: string;
26
+ light: string;
27
+ };
28
+ export declare function virtualColor(input: VirtualColorInput): MantineColorsTuple;
29
+ export declare function isVirtualColor(value: unknown): value is VirtualColor;
30
+ export interface ParseThemeColorResult {
31
+ color: string;
32
+ value: string;
33
+ shade: MantineColorShade | undefined;
34
+ variable: string | undefined;
35
+ isThemeColor: boolean;
36
+ isLight: boolean;
37
+ }
38
+ export declare function parseThemeColor({ color, theme, colorScheme, }: {
39
+ color: unknown;
40
+ theme: MantineTheme;
41
+ colorScheme?: MantineColorScheme;
42
+ }): ParseThemeColorResult;
43
+ export declare function getThemeColor(color: string | undefined | null, theme: MantineTheme, colorScheme?: MantineColorScheme): string;
44
+ export declare function getGradient(gradient: MantineGradient | undefined, theme: MantineTheme): string;
45
+ export declare function getAutoContrastValue(autoContrast: boolean | undefined, theme: MantineTheme): boolean;
46
+ export declare function getContrastColor({ color, theme, autoContrast, }: {
47
+ color?: string | null;
48
+ theme: MantineTheme;
49
+ autoContrast?: boolean | null;
50
+ }): "var(--mantine-color-white)" | "var(--mantine-color-black)";
51
+ export declare function getPrimaryContrastColor(theme: MantineTheme, colorScheme: 'light' | 'dark'): "var(--mantine-color-white)" | "var(--mantine-color-black)";
52
+ export declare const defaultVariantColorsResolver: VariantColorsResolver;
53
+ export {};
@@ -0,0 +1,14 @@
1
+ import type { MantineTheme } from './theme.types';
2
+ export interface ConvertCSSVariablesInput {
3
+ variables: Record<string, string>;
4
+ light?: Record<string, string>;
5
+ dark?: Record<string, string>;
6
+ }
7
+ export type CSSVariablesResolver = (theme: MantineTheme) => ConvertCSSVariablesInput;
8
+ export declare const defaultCssVariablesResolver: CSSVariablesResolver;
9
+ export declare function getMergedVariables({ theme, generator, }: {
10
+ theme: MantineTheme;
11
+ generator?: CSSVariablesResolver;
12
+ }): ConvertCSSVariablesInput;
13
+ export declare function cssVariablesObjectToString(variables: Record<string, string | undefined>): string;
14
+ export declare function convertCssVariables(input: ConvertCSSVariablesInput, selector?: string): string;
@@ -0,0 +1,2 @@
1
+ import type { MantineThemeColors } from './theme.types';
2
+ export declare const DEFAULT_COLORS: MantineThemeColors;
@@ -0,0 +1,2 @@
1
+ import type { MantineTheme } from './theme.types';
2
+ export declare const DEFAULT_THEME: MantineTheme;
@@ -0,0 +1,10 @@
1
+ export * from './theme.types';
2
+ export * from './default-theme';
3
+ export * from './default-colors';
4
+ export * from './color-functions';
5
+ export * from './merge-mantine-theme';
6
+ export * from './css-variables';
7
+ export * from './Mantine.context';
8
+ export * from './MantineThemeProvider';
9
+ export * from './MantineProvider';
10
+ export * from './use-props';
@@ -0,0 +1,5 @@
1
+ import type { MantineTheme, MantineThemeOverride } from './theme.types';
2
+ export declare const INVALID_PRIMARY_COLOR_ERROR = "[@mantine-vue/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors";
3
+ export declare const INVALID_PRIMARY_SHADE_ERROR = "[@mantine-vue/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";
4
+ export declare function validateMantineTheme(theme: MantineTheme): asserts theme is MantineTheme;
5
+ export declare function mergeMantineTheme(currentTheme: MantineTheme, themeOverride?: MantineThemeOverride): MantineTheme;
@@ -0,0 +1,107 @@
1
+ import type { CSSProperties } from 'vue';
2
+ export type PartialDeep<T> = T extends (...args: any[]) => any ? T : T extends object ? {
3
+ [K in keyof T]?: PartialDeep<T[K]>;
4
+ } : T;
5
+ export type MantineColorScheme = 'light' | 'dark' | 'auto';
6
+ export type MantineColorShade = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
7
+ export type MantineSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
8
+ export interface MantineThemeSizesOverride {
9
+ }
10
+ type CustomThemeSize<Section extends string> = MantineThemeSizesOverride extends Record<Section, Record<infer CustomSize, string>> ? CustomSize : MantineSize;
11
+ export type MantineRadius = CustomThemeSize<'radius'> | (string & {}) | number;
12
+ export type MantineSpacing = CustomThemeSize<'spacing'> | (string & {}) | number;
13
+ export type MantineColorsTuple = readonly [
14
+ string,
15
+ string,
16
+ string,
17
+ string,
18
+ string,
19
+ string,
20
+ string,
21
+ string,
22
+ string,
23
+ string,
24
+ ...string[]
25
+ ];
26
+ export interface MantinePrimaryShade {
27
+ light: MantineColorShade;
28
+ dark: MantineColorShade;
29
+ }
30
+ export interface MantineGradient {
31
+ from: string;
32
+ to: string;
33
+ deg?: number;
34
+ }
35
+ export type DefaultMantineColor = 'dark' | 'gray' | 'red' | 'pink' | 'grape' | 'violet' | 'indigo' | 'blue' | 'cyan' | 'green' | 'lime' | 'yellow' | 'orange' | 'teal';
36
+ export interface MantineThemeColorsOverride {
37
+ }
38
+ type ThemeColorName = MantineThemeColorsOverride extends {
39
+ colors: Record<infer CustomColor, MantineColorsTuple>;
40
+ } ? CustomColor : DefaultMantineColor;
41
+ export type MantineThemeColors = Record<ThemeColorName | (string & {}), MantineColorsTuple>;
42
+ export type MantineColor = ThemeColorName | `${ThemeColorName & string}.${MantineColorShade}` | 'white' | 'black' | 'dimmed' | 'bright' | (string & {});
43
+ export type MantineThemeOther = Record<string, any>;
44
+ export type MantineStylesRecord = Record<string, CSSProperties>;
45
+ export interface VariantColorResolverInput {
46
+ color?: string;
47
+ theme: MantineTheme;
48
+ variant: string;
49
+ gradient?: MantineGradient;
50
+ autoContrast?: boolean;
51
+ }
52
+ export interface VariantColorsResolverResult {
53
+ background: string;
54
+ hover: string;
55
+ hoverColor?: string;
56
+ color: string;
57
+ border: string;
58
+ }
59
+ export type VariantColorsResolver = (input: VariantColorResolverInput) => VariantColorsResolverResult;
60
+ export interface MantineThemeComponent {
61
+ classNames?: any;
62
+ styles?: any;
63
+ vars?: any;
64
+ defaultProps?: any;
65
+ }
66
+ export interface MantineTheme {
67
+ focusRing: 'auto' | 'always' | 'never';
68
+ scale: number;
69
+ fontSmoothing: boolean;
70
+ white: string;
71
+ black: string;
72
+ colors: MantineThemeColors;
73
+ primaryShade: MantineColorShade | MantinePrimaryShade;
74
+ primaryColor: string;
75
+ variantColorResolver: VariantColorsResolver;
76
+ autoContrast: boolean;
77
+ luminanceThreshold: number;
78
+ fontFamily: string;
79
+ fontFamilyMonospace: string;
80
+ headings: {
81
+ fontFamily: string;
82
+ fontWeight: string;
83
+ textWrap: 'wrap' | 'nowrap' | 'balance' | 'pretty' | 'stable';
84
+ sizes: Record<'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6', {
85
+ fontSize: string;
86
+ lineHeight: string;
87
+ fontWeight?: string;
88
+ }>;
89
+ };
90
+ radius: Record<string, string>;
91
+ defaultRadius: MantineRadius;
92
+ spacing: Record<string, string>;
93
+ fontSizes: Record<string, string>;
94
+ lineHeights: Record<string, string>;
95
+ fontWeights: Record<string, string>;
96
+ breakpoints: Record<string, string>;
97
+ shadows: Record<string, string>;
98
+ respectReducedMotion: boolean;
99
+ cursorType: 'default' | 'pointer';
100
+ defaultGradient: MantineGradient;
101
+ activeClassName: string;
102
+ focusClassName: string;
103
+ components: Record<string, MantineThemeComponent>;
104
+ other: MantineThemeOther;
105
+ }
106
+ export type MantineThemeOverride = PartialDeep<MantineTheme>;
107
+ export {};
@@ -0,0 +1 @@
1
+ export declare function useProps<Props extends Record<string, any>>(component: string, defaultProps: Partial<Props> | null, props: Props): Props;
@@ -0,0 +1,28 @@
1
+ import { type PropType } from 'vue';
2
+ export interface VueFactoryPayload<Props extends Record<string, any> = Record<string, any>> {
3
+ name: string;
4
+ props?: Record<string, any>;
5
+ setup: (props: Props, ctx: {
6
+ attrs: Record<string, unknown>;
7
+ slots: any;
8
+ emit: any;
9
+ ref: any;
10
+ }) => any;
11
+ }
12
+ export declare function factory<Props extends Record<string, any>>(payload: VueFactoryPayload<Props>): import("vue").DefineComponent<{}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {
13
+ [x: string]: any;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ export interface FactoryBoxProps {
16
+ component?: string;
17
+ class?: any;
18
+ style?: any;
19
+ }
20
+ export declare const polymorphicProps: {
21
+ component: {
22
+ type: PropType<string>;
23
+ default: undefined;
24
+ };
25
+ };
26
+ export declare function renderPolymorphic(component: string | undefined, props: Record<string, any>, children?: any): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
27
+ [key: string]: any;
28
+ }>;
@@ -0,0 +1,4 @@
1
+ export * from './factory';
2
+ export * from './polymorphic-factory';
3
+ export * from './with-box-props';
4
+ export * from './use-forwarded-ref';
@@ -0,0 +1 @@
1
+ export { factory as polymorphicFactory, renderPolymorphic } from './factory';
@@ -0,0 +1,39 @@
1
+ import { type Ref } from 'vue';
2
+ /**
3
+ * Vue has no built-in equivalent of React's `forwardRef`: a `ref` attached to
4
+ * a component (e.g. `<Button ref="x" />`) always resolves to the component's
5
+ * public instance proxy, never to the DOM node it renders.
6
+ *
7
+ * This helper reads the `ref` the *parent* attached to the current component
8
+ * instance and keeps it in sync with `elementRef` -- the component's own ref
9
+ * to its rendered root element -- so the parent's ref ends up pointing at the
10
+ * real DOM node instead, matching React Mantine's `factory()` behavior.
11
+ *
12
+ * It relies on a documented-but-internal detail of Vue 3: whenever a `ref`
13
+ * prop is a string, a `Ref`, or a function, Vue normalizes `vnode.ref` into
14
+ * an `{ i, r, k, f }` descriptor before the component ever sees it, where `r`
15
+ * is the original value the parent passed (see `normalizeRef` in
16
+ * `@vue/runtime-core`'s `vnode.ts`). This shape has been stable across Vue
17
+ * 3.x, but it isn't public API, so treat this as a best-effort forwarder --
18
+ * if a future Vue version changes it, this degrades to a no-op (the ref
19
+ * simply won't forward), not a crash.
20
+ *
21
+ * Usage inside a component's `setup()`, once `elementRef` is bound to the
22
+ * component's real root element:
23
+ *
24
+ * ```ts
25
+ * setup(props, { attrs }) {
26
+ * const elementRef = ref<HTMLDivElement | null>(null)
27
+ * useForwardedRef(elementRef)
28
+ * return () => h('div', { ...attrs, ref: elementRef })
29
+ * }
30
+ * ```
31
+ *
32
+ * For multi-layer components (e.g. `Button` renders `UnstyledButton`, which
33
+ * renders `Box`, which renders the native element), every layer needs to
34
+ * call `useForwardedRef` and attach its own `elementRef` to whatever it
35
+ * renders -- each layer intercepts the ref passed by its parent and
36
+ * re-targets it one level down, the same way React's `forwardRef` calls are
37
+ * threaded explicitly through each wrapper.
38
+ */
39
+ export declare function useForwardedRef<T extends Element>(elementRef: Ref<T | null>): void;
@@ -0,0 +1,18 @@
1
+ import type { BoxProps } from '../Box';
2
+ /**
3
+ * Additively widens a Vue component's template `$props` with `BoxProps` so that
4
+ * Mantine style props (m, mt, p, w, h, bg, c, …) and Box layout props
5
+ * (hiddenFrom, visibleFrom, mod, …) are available for autocomplete/IntelliSense
6
+ * and type-checking.
7
+ *
8
+ * Runtime is untouched: these props already pass through to the underlying Box
9
+ * as fall-through attributes. The merge happens at the instance level
10
+ * (`InstanceType<C> & { $props: BoxProps }`) so the component's own props,
11
+ * slots, emits and static members (e.g. `Group`) are all preserved.
12
+ */
13
+ export type WithBoxProps<C> = C & {
14
+ new (): (C extends new (...args: any[]) => infer I ? I : object) & {
15
+ $props: BoxProps;
16
+ };
17
+ };
18
+ export declare function withBoxProps<C>(component: C): WithBoxProps<C>;
@@ -0,0 +1,8 @@
1
+ export * from './utils';
2
+ export * from './styles-api';
3
+ export * from './MantineProvider';
4
+ export * from './InlineStyles';
5
+ export * from './Box';
6
+ export * from './factory';
7
+ export * from './DirectionProvider';
8
+ export * from './types';
@@ -0,0 +1,2 @@
1
+ import type { MantineTheme } from '../MantineProvider';
2
+ export declare function createVarsResolver<Props>(resolver: (theme: MantineTheme, props: Props, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>): (theme: MantineTheme, props: Props, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
@@ -0,0 +1,3 @@
1
+ export * from './styles-api.types';
2
+ export * from './create-vars-resolver';
3
+ export * from './use-styles';
@@ -0,0 +1,27 @@
1
+ import type { CSSProperties } from 'vue';
2
+ import type { MantineTheme } from '../MantineProvider';
3
+ export type ClassNames<Payload = any> = Record<string, string> | ((theme: MantineTheme, payload: Payload) => Record<string, string>);
4
+ export type Styles<Payload = any> = Record<string, CSSProperties> | ((theme: MantineTheme, payload: Payload) => Record<string, CSSProperties>);
5
+ export type Vars<Payload = any> = Record<string, Record<string, string | undefined>> | ((theme: MantineTheme, payload: Payload) => Record<string, Record<string, string | undefined>>);
6
+ export interface StylesApiProps<Payload = any> {
7
+ classNames?: ClassNames<Payload>;
8
+ styles?: Styles<Payload>;
9
+ vars?: Vars<Payload>;
10
+ unstyled?: boolean;
11
+ }
12
+ export interface UseStylesInput<Payload = any> {
13
+ name: string | (string | undefined)[];
14
+ classes?: Record<string, string>;
15
+ props?: Record<string, any>;
16
+ stylesCtx?: Record<string, any>;
17
+ className?: any;
18
+ style?: CSSProperties | CSSProperties[];
19
+ classNames?: ClassNames<Payload>;
20
+ styles?: Styles<Payload>;
21
+ vars?: Vars<Payload>;
22
+ varsResolver?: (theme: MantineTheme, props: Record<string, any>, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
23
+ rootSelector?: string;
24
+ selector?: string;
25
+ unstyled?: boolean;
26
+ attributes?: Record<string, Record<string, any>>;
27
+ }
@@ -0,0 +1,14 @@
1
+ import type { UseStylesInput } from './styles-api.types';
2
+ export declare function useStyles<Payload = any>(input: UseStylesInput<Payload>): (selector: string, options?: {
3
+ active?: boolean;
4
+ focusable?: boolean;
5
+ className?: any;
6
+ style?: any;
7
+ classNames?: UseStylesInput<Payload>["classNames"];
8
+ styles?: UseStylesInput<Payload>["styles"];
9
+ props?: Record<string, any>;
10
+ variant?: string;
11
+ }) => {
12
+ class: any[];
13
+ style: any;
14
+ };
@@ -0,0 +1,24 @@
1
+ import type { CSSProperties, Component, Ref } from 'vue';
2
+ import type { MantineTheme, MantineThemeOverride } from './MantineProvider';
3
+ export type MantineStyle = CSSProperties;
4
+ export type MantineClassNames = Record<string, string>;
5
+ export type MantineStyles = Record<string, MantineStyle>;
6
+ export type MantineVars = Record<string, Record<string, string | undefined>>;
7
+ export interface MantineComponentTheme {
8
+ classNames?: MantineClassNames | ((theme: MantineTheme, props: any) => MantineClassNames);
9
+ styles?: MantineStyles | ((theme: MantineTheme, props: any) => MantineStyles);
10
+ vars?: MantineVars | ((theme: MantineTheme, props: any) => MantineVars);
11
+ defaultProps?: Record<string, any>;
12
+ }
13
+ export interface MantineProviderVNodeProps {
14
+ theme?: MantineThemeOverride;
15
+ }
16
+ export interface MantineVueComponentFactoryPayload<Props = Record<string, any>> {
17
+ name: string;
18
+ props?: Props;
19
+ render: (payload: {
20
+ props: Props;
21
+ ref: Ref<any>;
22
+ }) => any;
23
+ }
24
+ export type MantineVueComponent = Component;
@@ -0,0 +1,4 @@
1
+ import { type InjectionKey } from 'vue';
2
+ export * from '@mantine-vue/utils';
3
+ export declare function createSafeInjectionContext<T>(errorMessage: string): readonly [(value: T) => void, () => T & ({} | undefined), InjectionKey<T>];
4
+ export declare const createSafeContext: typeof createSafeInjectionContext;
@@ -0,0 +1,2 @@
1
+ export * from './core/index';
2
+ export * from './components/index';
package/lib/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from './core/index';
2
+ export * from './components/index';