@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,372 @@
1
+ import { type PropType, type VNode } from 'vue';
2
+ import { type ArrowPosition, type FloatingAxesOffsets, type FloatingPosition, type FloatingStrategy } from '../../utils/Floating';
3
+ import type { TooltipBaseProps, TooltipMiddlewares, TooltipStylesNames } from './Tooltip.types';
4
+ export interface TooltipProps extends TooltipBaseProps {
5
+ onPositionChange?: (position: FloatingPosition) => void;
6
+ openDelay?: number;
7
+ closeDelay?: number;
8
+ opened?: boolean;
9
+ defaultOpened?: boolean;
10
+ offset?: number | FloatingAxesOffsets;
11
+ withArrow?: boolean;
12
+ arrowSize?: number;
13
+ arrowOffset?: number;
14
+ arrowRadius?: number;
15
+ arrowPosition?: ArrowPosition;
16
+ transitionProps?: Record<string, any>;
17
+ events?: {
18
+ hover: boolean;
19
+ focus: boolean;
20
+ touch: boolean;
21
+ };
22
+ inline?: boolean;
23
+ keepMounted?: boolean;
24
+ floatingStrategy?: FloatingStrategy;
25
+ autoContrast?: boolean;
26
+ target?: any;
27
+ middlewares?: TooltipMiddlewares;
28
+ }
29
+ export declare const Tooltip: {
30
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
31
+ label: {
32
+ required: true;
33
+ };
34
+ position: {
35
+ type: PropType<FloatingPosition>;
36
+ default: undefined;
37
+ };
38
+ refProp: StringConstructor;
39
+ withinPortal: {
40
+ type: BooleanConstructor;
41
+ default: undefined;
42
+ };
43
+ radius: (NumberConstructor | StringConstructor)[];
44
+ color: StringConstructor;
45
+ multiline: BooleanConstructor;
46
+ zIndex: (NumberConstructor | StringConstructor)[];
47
+ disabled: BooleanConstructor;
48
+ portalProps: ObjectConstructor;
49
+ middlewares: ObjectConstructor;
50
+ onPositionChange: PropType<(position: FloatingPosition) => void>;
51
+ openDelay: NumberConstructor;
52
+ closeDelay: NumberConstructor;
53
+ opened: {
54
+ type: BooleanConstructor;
55
+ default: undefined;
56
+ };
57
+ defaultOpened: BooleanConstructor;
58
+ offset: {
59
+ type: PropType<number | FloatingAxesOffsets>;
60
+ default: undefined;
61
+ };
62
+ withArrow: BooleanConstructor;
63
+ arrowSize: NumberConstructor;
64
+ arrowOffset: NumberConstructor;
65
+ arrowRadius: NumberConstructor;
66
+ arrowPosition: {
67
+ type: PropType<ArrowPosition>;
68
+ default: undefined;
69
+ };
70
+ transitionProps: ObjectConstructor;
71
+ events: PropType<{
72
+ hover: boolean;
73
+ focus: boolean;
74
+ touch: boolean;
75
+ }>;
76
+ inline: BooleanConstructor;
77
+ keepMounted: BooleanConstructor;
78
+ floatingStrategy: {
79
+ type: PropType<FloatingStrategy>;
80
+ default: undefined;
81
+ };
82
+ autoContrast: BooleanConstructor;
83
+ target: {
84
+ type: PropType<any>;
85
+ default: undefined;
86
+ };
87
+ classNames: (ObjectConstructor | FunctionConstructor)[];
88
+ styles: (ObjectConstructor | FunctionConstructor)[];
89
+ vars: (ObjectConstructor | FunctionConstructor)[];
90
+ unstyled: BooleanConstructor;
91
+ }>> & Readonly<{}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
92
+ [key: string]: any;
93
+ }> | VNode<import("vue").RendererNode, import("vue").RendererElement, {
94
+ [key: string]: any;
95
+ }>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
96
+ autoContrast: boolean;
97
+ multiline: boolean;
98
+ opened: boolean;
99
+ disabled: boolean;
100
+ offset: number | FloatingAxesOffsets;
101
+ target: any;
102
+ position: FloatingPosition;
103
+ keepMounted: boolean;
104
+ inline: boolean;
105
+ unstyled: boolean;
106
+ withinPortal: boolean;
107
+ defaultOpened: boolean;
108
+ arrowPosition: ArrowPosition;
109
+ withArrow: boolean;
110
+ floatingStrategy: FloatingStrategy;
111
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
112
+ P: {};
113
+ B: {};
114
+ D: {};
115
+ C: {};
116
+ M: {};
117
+ Defaults: {};
118
+ }, Readonly<import("vue").ExtractPropTypes<{
119
+ label: {
120
+ required: true;
121
+ };
122
+ position: {
123
+ type: PropType<FloatingPosition>;
124
+ default: undefined;
125
+ };
126
+ refProp: StringConstructor;
127
+ withinPortal: {
128
+ type: BooleanConstructor;
129
+ default: undefined;
130
+ };
131
+ radius: (NumberConstructor | StringConstructor)[];
132
+ color: StringConstructor;
133
+ multiline: BooleanConstructor;
134
+ zIndex: (NumberConstructor | StringConstructor)[];
135
+ disabled: BooleanConstructor;
136
+ portalProps: ObjectConstructor;
137
+ middlewares: ObjectConstructor;
138
+ onPositionChange: PropType<(position: FloatingPosition) => void>;
139
+ openDelay: NumberConstructor;
140
+ closeDelay: NumberConstructor;
141
+ opened: {
142
+ type: BooleanConstructor;
143
+ default: undefined;
144
+ };
145
+ defaultOpened: BooleanConstructor;
146
+ offset: {
147
+ type: PropType<number | FloatingAxesOffsets>;
148
+ default: undefined;
149
+ };
150
+ withArrow: BooleanConstructor;
151
+ arrowSize: NumberConstructor;
152
+ arrowOffset: NumberConstructor;
153
+ arrowRadius: NumberConstructor;
154
+ arrowPosition: {
155
+ type: PropType<ArrowPosition>;
156
+ default: undefined;
157
+ };
158
+ transitionProps: ObjectConstructor;
159
+ events: PropType<{
160
+ hover: boolean;
161
+ focus: boolean;
162
+ touch: boolean;
163
+ }>;
164
+ inline: BooleanConstructor;
165
+ keepMounted: BooleanConstructor;
166
+ floatingStrategy: {
167
+ type: PropType<FloatingStrategy>;
168
+ default: undefined;
169
+ };
170
+ autoContrast: BooleanConstructor;
171
+ target: {
172
+ type: PropType<any>;
173
+ default: undefined;
174
+ };
175
+ classNames: (ObjectConstructor | FunctionConstructor)[];
176
+ styles: (ObjectConstructor | FunctionConstructor)[];
177
+ vars: (ObjectConstructor | FunctionConstructor)[];
178
+ unstyled: BooleanConstructor;
179
+ }>> & Readonly<{}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
180
+ [key: string]: any;
181
+ }> | VNode<import("vue").RendererNode, import("vue").RendererElement, {
182
+ [key: string]: any;
183
+ }>[], {}, {}, {}, {
184
+ autoContrast: boolean;
185
+ multiline: boolean;
186
+ opened: boolean;
187
+ disabled: boolean;
188
+ offset: number | FloatingAxesOffsets;
189
+ target: any;
190
+ position: FloatingPosition;
191
+ keepMounted: boolean;
192
+ inline: boolean;
193
+ unstyled: boolean;
194
+ withinPortal: boolean;
195
+ defaultOpened: boolean;
196
+ arrowPosition: ArrowPosition;
197
+ withArrow: boolean;
198
+ floatingStrategy: FloatingStrategy;
199
+ }>;
200
+ __isFragment?: never;
201
+ __isTeleport?: never;
202
+ __isSuspense?: never;
203
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
204
+ label: {
205
+ required: true;
206
+ };
207
+ position: {
208
+ type: PropType<FloatingPosition>;
209
+ default: undefined;
210
+ };
211
+ refProp: StringConstructor;
212
+ withinPortal: {
213
+ type: BooleanConstructor;
214
+ default: undefined;
215
+ };
216
+ radius: (NumberConstructor | StringConstructor)[];
217
+ color: StringConstructor;
218
+ multiline: BooleanConstructor;
219
+ zIndex: (NumberConstructor | StringConstructor)[];
220
+ disabled: BooleanConstructor;
221
+ portalProps: ObjectConstructor;
222
+ middlewares: ObjectConstructor;
223
+ onPositionChange: PropType<(position: FloatingPosition) => void>;
224
+ openDelay: NumberConstructor;
225
+ closeDelay: NumberConstructor;
226
+ opened: {
227
+ type: BooleanConstructor;
228
+ default: undefined;
229
+ };
230
+ defaultOpened: BooleanConstructor;
231
+ offset: {
232
+ type: PropType<number | FloatingAxesOffsets>;
233
+ default: undefined;
234
+ };
235
+ withArrow: BooleanConstructor;
236
+ arrowSize: NumberConstructor;
237
+ arrowOffset: NumberConstructor;
238
+ arrowRadius: NumberConstructor;
239
+ arrowPosition: {
240
+ type: PropType<ArrowPosition>;
241
+ default: undefined;
242
+ };
243
+ transitionProps: ObjectConstructor;
244
+ events: PropType<{
245
+ hover: boolean;
246
+ focus: boolean;
247
+ touch: boolean;
248
+ }>;
249
+ inline: BooleanConstructor;
250
+ keepMounted: BooleanConstructor;
251
+ floatingStrategy: {
252
+ type: PropType<FloatingStrategy>;
253
+ default: undefined;
254
+ };
255
+ autoContrast: BooleanConstructor;
256
+ target: {
257
+ type: PropType<any>;
258
+ default: undefined;
259
+ };
260
+ classNames: (ObjectConstructor | FunctionConstructor)[];
261
+ styles: (ObjectConstructor | FunctionConstructor)[];
262
+ vars: (ObjectConstructor | FunctionConstructor)[];
263
+ unstyled: BooleanConstructor;
264
+ }>> & Readonly<{}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
265
+ [key: string]: any;
266
+ }> | VNode<import("vue").RendererNode, import("vue").RendererElement, {
267
+ [key: string]: any;
268
+ }>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
269
+ autoContrast: boolean;
270
+ multiline: boolean;
271
+ opened: boolean;
272
+ disabled: boolean;
273
+ offset: number | FloatingAxesOffsets;
274
+ target: any;
275
+ position: FloatingPosition;
276
+ keepMounted: boolean;
277
+ inline: boolean;
278
+ unstyled: boolean;
279
+ withinPortal: boolean;
280
+ defaultOpened: boolean;
281
+ arrowPosition: ArrowPosition;
282
+ withArrow: boolean;
283
+ floatingStrategy: FloatingStrategy;
284
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
285
+ classes: Record<string, string>;
286
+ varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
287
+ Floating: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
288
+ label: {
289
+ required: true;
290
+ };
291
+ refProp: StringConstructor;
292
+ withinPortal: {
293
+ type: BooleanConstructor;
294
+ default: undefined;
295
+ };
296
+ offset: NumberConstructor;
297
+ position: {
298
+ type: PropType<FloatingPosition>;
299
+ default: undefined;
300
+ };
301
+ zIndex: (NumberConstructor | StringConstructor)[];
302
+ disabled: BooleanConstructor;
303
+ defaultOpened: BooleanConstructor;
304
+ multiline: BooleanConstructor;
305
+ radius: (NumberConstructor | StringConstructor)[];
306
+ color: StringConstructor;
307
+ portalProps: ObjectConstructor;
308
+ classNames: (ObjectConstructor | FunctionConstructor)[];
309
+ styles: (ObjectConstructor | FunctionConstructor)[];
310
+ vars: (ObjectConstructor | FunctionConstructor)[];
311
+ unstyled: BooleanConstructor;
312
+ }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
313
+ [key: string]: any;
314
+ }>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
315
+ label: {
316
+ required: true;
317
+ };
318
+ refProp: StringConstructor;
319
+ withinPortal: {
320
+ type: BooleanConstructor;
321
+ default: undefined;
322
+ };
323
+ offset: NumberConstructor;
324
+ position: {
325
+ type: PropType<FloatingPosition>;
326
+ default: undefined;
327
+ };
328
+ zIndex: (NumberConstructor | StringConstructor)[];
329
+ disabled: BooleanConstructor;
330
+ defaultOpened: BooleanConstructor;
331
+ multiline: BooleanConstructor;
332
+ radius: (NumberConstructor | StringConstructor)[];
333
+ color: StringConstructor;
334
+ portalProps: ObjectConstructor;
335
+ classNames: (ObjectConstructor | FunctionConstructor)[];
336
+ styles: (ObjectConstructor | FunctionConstructor)[];
337
+ vars: (ObjectConstructor | FunctionConstructor)[];
338
+ unstyled: BooleanConstructor;
339
+ }>> & Readonly<{}>, {
340
+ multiline: boolean;
341
+ disabled: boolean;
342
+ position: FloatingPosition;
343
+ unstyled: boolean;
344
+ withinPortal: boolean;
345
+ defaultOpened: boolean;
346
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
347
+ Group: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
348
+ openDelay: {
349
+ type: NumberConstructor;
350
+ default: number;
351
+ };
352
+ closeDelay: {
353
+ type: NumberConstructor;
354
+ default: number;
355
+ };
356
+ }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
357
+ [key: string]: any;
358
+ }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
359
+ openDelay: {
360
+ type: NumberConstructor;
361
+ default: number;
362
+ };
363
+ closeDelay: {
364
+ type: NumberConstructor;
365
+ default: number;
366
+ };
367
+ }>> & Readonly<{}>, {
368
+ openDelay: number;
369
+ closeDelay: number;
370
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
371
+ };
372
+ export type { TooltipStylesNames };
@@ -0,0 +1,26 @@
1
+ import type { FloatingPosition } from '../../utils/Floating';
2
+ export type TooltipStylesNames = 'tooltip' | 'arrow';
3
+ export type TooltipCssVariables = '--tooltip-radius' | '--tooltip-bg' | '--tooltip-color';
4
+ export interface TooltipMiddlewares {
5
+ shift?: boolean | Record<string, any>;
6
+ flip?: boolean | Record<string, any>;
7
+ inline?: boolean | Record<string, any>;
8
+ size?: boolean | Record<string, any>;
9
+ }
10
+ export interface TooltipBaseProps {
11
+ label: any;
12
+ position?: FloatingPosition;
13
+ refProp?: string;
14
+ withinPortal?: boolean;
15
+ radius?: string | number;
16
+ color?: string;
17
+ multiline?: boolean;
18
+ zIndex?: string | number;
19
+ disabled?: boolean;
20
+ portalProps?: Record<string, any>;
21
+ middlewares?: TooltipMiddlewares;
22
+ classNames?: any;
23
+ styles?: any;
24
+ vars?: any;
25
+ unstyled?: boolean;
26
+ }
@@ -0,0 +1,69 @@
1
+ import { type PropType, type VNode } from 'vue';
2
+ import type { FloatingPosition } from '../../../utils/Floating';
3
+ export declare const TooltipFloating: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ label: {
5
+ required: true;
6
+ };
7
+ refProp: StringConstructor;
8
+ withinPortal: {
9
+ type: BooleanConstructor;
10
+ default: undefined;
11
+ };
12
+ offset: NumberConstructor;
13
+ position: {
14
+ type: PropType<FloatingPosition>;
15
+ default: undefined;
16
+ };
17
+ zIndex: (NumberConstructor | StringConstructor)[];
18
+ disabled: BooleanConstructor;
19
+ defaultOpened: BooleanConstructor;
20
+ multiline: BooleanConstructor;
21
+ radius: (NumberConstructor | StringConstructor)[];
22
+ color: StringConstructor;
23
+ portalProps: ObjectConstructor;
24
+ classNames: (ObjectConstructor | FunctionConstructor)[];
25
+ styles: (ObjectConstructor | FunctionConstructor)[];
26
+ vars: (ObjectConstructor | FunctionConstructor)[];
27
+ unstyled: BooleanConstructor;
28
+ }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
29
+ [key: string]: any;
30
+ }>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
+ label: {
32
+ required: true;
33
+ };
34
+ refProp: StringConstructor;
35
+ withinPortal: {
36
+ type: BooleanConstructor;
37
+ default: undefined;
38
+ };
39
+ offset: NumberConstructor;
40
+ position: {
41
+ type: PropType<FloatingPosition>;
42
+ default: undefined;
43
+ };
44
+ zIndex: (NumberConstructor | StringConstructor)[];
45
+ disabled: BooleanConstructor;
46
+ defaultOpened: BooleanConstructor;
47
+ multiline: BooleanConstructor;
48
+ radius: (NumberConstructor | StringConstructor)[];
49
+ color: StringConstructor;
50
+ portalProps: ObjectConstructor;
51
+ classNames: (ObjectConstructor | FunctionConstructor)[];
52
+ styles: (ObjectConstructor | FunctionConstructor)[];
53
+ vars: (ObjectConstructor | FunctionConstructor)[];
54
+ unstyled: BooleanConstructor;
55
+ }>> & Readonly<{}>, {
56
+ multiline: boolean;
57
+ disabled: boolean;
58
+ position: FloatingPosition;
59
+ unstyled: boolean;
60
+ withinPortal: boolean;
61
+ defaultOpened: boolean;
62
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
63
+ export interface TooltipFloatingProps {
64
+ label: any;
65
+ offset?: number;
66
+ position?: FloatingPosition;
67
+ defaultOpened?: boolean;
68
+ [key: string]: any;
69
+ }
@@ -0,0 +1,35 @@
1
+ import { type InjectionKey } from 'vue';
2
+ export interface TooltipGroupContextValue {
3
+ withinGroup: boolean;
4
+ openDelay: number;
5
+ closeDelay: number;
6
+ }
7
+ export declare const TooltipGroupKey: InjectionKey<TooltipGroupContextValue>;
8
+ export declare const TooltipGroup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
+ openDelay: {
10
+ type: NumberConstructor;
11
+ default: number;
12
+ };
13
+ closeDelay: {
14
+ type: NumberConstructor;
15
+ default: number;
16
+ };
17
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
18
+ [key: string]: any;
19
+ }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20
+ openDelay: {
21
+ type: NumberConstructor;
22
+ default: number;
23
+ };
24
+ closeDelay: {
25
+ type: NumberConstructor;
26
+ default: number;
27
+ };
28
+ }>> & Readonly<{}>, {
29
+ openDelay: number;
30
+ closeDelay: number;
31
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
+ export interface TooltipGroupProps {
33
+ openDelay?: number;
34
+ closeDelay?: number;
35
+ }
@@ -0,0 +1,7 @@
1
+ export { Tooltip } from './Tooltip';
2
+ export { TooltipFloating } from './TooltipFloating/TooltipFloating';
3
+ export { TooltipGroup } from './TooltipGroup/TooltipGroup';
4
+ export type { TooltipProps } from './Tooltip';
5
+ export type { TooltipFloatingProps } from './TooltipFloating/TooltipFloating';
6
+ export type { TooltipGroupProps, TooltipGroupContextValue } from './TooltipGroup/TooltipGroup';
7
+ export type { TooltipBaseProps, TooltipMiddlewares, TooltipStylesNames, TooltipCssVariables, } from './Tooltip.types';
@@ -0,0 +1,33 @@
1
+ import type { FloatingAxesOffsets, FloatingPosition, FloatingStrategy } from '../../utils/Floating';
2
+ import type { TooltipMiddlewares } from './Tooltip.types';
3
+ export interface UseTooltipOptions {
4
+ position: () => FloatingPosition;
5
+ opened: () => boolean | undefined;
6
+ defaultOpened: boolean;
7
+ openDelay?: () => number | undefined;
8
+ closeDelay?: () => number | undefined;
9
+ offset: () => number | FloatingAxesOffsets;
10
+ arrowOffset: () => number;
11
+ events: () => {
12
+ hover: boolean;
13
+ focus: boolean;
14
+ touch: boolean;
15
+ };
16
+ strategy: () => FloatingStrategy;
17
+ middlewares: () => TooltipMiddlewares | undefined;
18
+ onPositionChange?: (position: FloatingPosition) => void;
19
+ }
20
+ export declare function useTooltip(options: UseTooltipOptions): {
21
+ opened: import("vue").ComputedRef<boolean>;
22
+ reference: import("vue").Ref<any, any>;
23
+ floating: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
24
+ arrowRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
25
+ x: Readonly<import("vue").Ref<number, number>>;
26
+ y: Readonly<import("vue").Ref<number, number>>;
27
+ placement: Readonly<import("vue").Ref<import("@floating-ui/utils").Placement, import("@floating-ui/utils").Placement>>;
28
+ arrowX: import("vue").ComputedRef<number | undefined>;
29
+ arrowY: import("vue").ComputedRef<number | undefined>;
30
+ open: () => void;
31
+ close: () => void;
32
+ setOpened: (value: boolean, delay?: number) => void;
33
+ };
@@ -0,0 +1,109 @@
1
+ import { type CSSProperties, type PropType, type SlotsType, type VNodeChild } from 'vue';
2
+ import type { MantineTransition } from './transitions';
3
+ export type { MantineTransition } from './transitions';
4
+ export interface TransitionSlots {
5
+ default?: (styles: CSSProperties) => VNodeChild;
6
+ }
7
+ export interface TransitionProps {
8
+ /** If set, the element is kept in the DOM when hidden */
9
+ keepMounted?: boolean;
10
+ /** Transition name or object */
11
+ transition?: MantineTransition;
12
+ /** Transition duration in ms @default 250 */
13
+ duration?: number;
14
+ /** Exit transition duration in ms @default duration */
15
+ exitDuration?: number;
16
+ /** Transition timing function @default theme.transitionTimingFunction */
17
+ timingFunction?: string;
18
+ /** Determines whether component should be mounted to the DOM */
19
+ mounted: boolean;
20
+ /** Delay in ms before enter transition starts */
21
+ enterDelay?: number;
22
+ /** Delay in ms before exit transition starts */
23
+ exitDelay?: number;
24
+ }
25
+ export declare const Transition: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
26
+ keepMounted: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ transition: {
31
+ type: PropType<MantineTransition>;
32
+ default: string;
33
+ };
34
+ duration: {
35
+ type: NumberConstructor;
36
+ default: number;
37
+ };
38
+ exitDuration: {
39
+ type: NumberConstructor;
40
+ default: undefined;
41
+ };
42
+ timingFunction: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ mounted: {
47
+ type: BooleanConstructor;
48
+ required: true;
49
+ };
50
+ enterDelay: {
51
+ type: NumberConstructor;
52
+ default: undefined;
53
+ };
54
+ exitDelay: {
55
+ type: NumberConstructor;
56
+ default: undefined;
57
+ };
58
+ }>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
59
+ enter: () => true;
60
+ entered: () => true;
61
+ exit: () => true;
62
+ exited: () => true;
63
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
64
+ keepMounted: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ transition: {
69
+ type: PropType<MantineTransition>;
70
+ default: string;
71
+ };
72
+ duration: {
73
+ type: NumberConstructor;
74
+ default: number;
75
+ };
76
+ exitDuration: {
77
+ type: NumberConstructor;
78
+ default: undefined;
79
+ };
80
+ timingFunction: {
81
+ type: StringConstructor;
82
+ default: string;
83
+ };
84
+ mounted: {
85
+ type: BooleanConstructor;
86
+ required: true;
87
+ };
88
+ enterDelay: {
89
+ type: NumberConstructor;
90
+ default: undefined;
91
+ };
92
+ exitDelay: {
93
+ type: NumberConstructor;
94
+ default: undefined;
95
+ };
96
+ }>> & Readonly<{
97
+ onEnter?: (() => any) | undefined;
98
+ onEntered?: (() => any) | undefined;
99
+ onExited?: (() => any) | undefined;
100
+ onExit?: (() => any) | undefined;
101
+ }>, {
102
+ duration: number;
103
+ keepMounted: boolean;
104
+ transition: MantineTransition;
105
+ timingFunction: string;
106
+ exitDuration: number;
107
+ enterDelay: number;
108
+ exitDelay: number;
109
+ }, SlotsType<TransitionSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,9 @@
1
+ import type { CSSProperties } from 'vue';
2
+ import { type MantineTransition } from './transitions';
3
+ export type TransitionStatus = 'entered' | 'exited' | 'entering' | 'exiting' | 'pre-exiting' | 'pre-entering';
4
+ export declare function getTransitionStyles({ transition, state, duration, timingFunction, }: {
5
+ transition: MantineTransition;
6
+ state: TransitionStatus;
7
+ duration: number;
8
+ timingFunction: CSSProperties['transitionTimingFunction'];
9
+ }): CSSProperties;
@@ -0,0 +1 @@
1
+ export * from './Transition';
@@ -0,0 +1,10 @@
1
+ import type { CSSProperties } from 'vue';
2
+ export interface MantineTransitionStyles {
3
+ common?: CSSProperties;
4
+ in: CSSProperties;
5
+ out: CSSProperties;
6
+ transitionProperty: CSSProperties['transitionProperty'];
7
+ }
8
+ export type MantineTransitionName = 'fade' | 'fade-down' | 'fade-up' | 'fade-left' | 'fade-right' | 'skew-up' | 'skew-down' | 'rotate-right' | 'rotate-left' | 'slide-down' | 'slide-up' | 'slide-right' | 'slide-left' | 'scale-y' | 'scale-x' | 'scale' | 'pop' | 'pop-top-left' | 'pop-top-right' | 'pop-bottom-left' | 'pop-bottom-right';
9
+ export type MantineTransition = MantineTransitionName | MantineTransitionStyles;
10
+ export declare const transitions: Record<MantineTransitionName, MantineTransitionStyles>;