@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,35 @@
1
+ import { type DigitParts } from './get-digit-parts';
2
+ export interface DigitSlot {
3
+ type: 'digit';
4
+ key: string;
5
+ digit: string;
6
+ previousDigit: string | null;
7
+ empty: boolean;
8
+ }
9
+ export interface CharSlot {
10
+ type: 'char';
11
+ key: string;
12
+ char: string;
13
+ empty: boolean;
14
+ }
15
+ export type RenderSlot = DigitSlot | CharSlot;
16
+ export interface GetRenderSlotsInput {
17
+ current: DigitParts;
18
+ previous: DigitParts;
19
+ prefix?: string;
20
+ suffix?: string;
21
+ decimalSeparator?: string;
22
+ thousandSeparator?: string | boolean;
23
+ }
24
+ export declare function getRenderSlots({ current, previous, prefix, suffix, decimalSeparator, thousandSeparator, }: GetRenderSlotsInput): RenderSlot[];
25
+ export interface GetRenderSlotsFromValuesInput {
26
+ value: number;
27
+ previousValue: number;
28
+ prefix?: string;
29
+ suffix?: string;
30
+ decimalSeparator?: string;
31
+ thousandSeparator?: string | boolean;
32
+ decimalScale?: number;
33
+ fixedDecimalScale?: boolean;
34
+ }
35
+ export declare function getRenderSlotsFromValues({ value, previousValue, prefix, suffix, decimalSeparator, thousandSeparator, decimalScale, fixedDecimalScale, }: GetRenderSlotsFromValuesInput): RenderSlot[];
@@ -0,0 +1,8 @@
1
+ export { RollingNumber } from './RollingNumber';
2
+ export { buildValue } from './build-value';
3
+ export { getDigitParts } from './get-digit-parts';
4
+ export { getRenderSlots, getRenderSlotsFromValues } from './get-render-slots';
5
+ export type { BuildValueInput } from './build-value';
6
+ export type { DigitParts, GetDigitPartsInput } from './get-digit-parts';
7
+ export type { CharSlot, DigitSlot, GetRenderSlotsFromValuesInput, GetRenderSlotsInput, RenderSlot, } from './get-render-slots';
8
+ export type { RollingNumberCssVariables, RollingNumberProps, RollingNumberStylesNames, } from './RollingNumber';
@@ -0,0 +1,21 @@
1
+ import type { Ref } from 'vue';
2
+ export interface ScrollAreaContextValue {
3
+ type: 'auto' | 'always' | 'scroll' | 'hover' | 'never';
4
+ scrollHideDelay: number;
5
+ scrollbars?: 'x' | 'y' | 'xy' | false;
6
+ viewport: Ref<HTMLDivElement | null>;
7
+ onViewportChange: (node: HTMLDivElement | null) => void;
8
+ content: Ref<HTMLDivElement | null>;
9
+ onContentChange: (node: HTMLDivElement | null) => void;
10
+ scrollbarX: Ref<HTMLDivElement | null>;
11
+ onScrollbarXChange: (node: HTMLDivElement | null) => void;
12
+ scrollbarY: Ref<HTMLDivElement | null>;
13
+ onScrollbarYChange: (node: HTMLDivElement | null) => void;
14
+ onCornerWidthChange: (width: number) => void;
15
+ onCornerHeightChange: (height: number) => void;
16
+ getStyles: (selector: string, options?: {
17
+ className?: any;
18
+ style?: any;
19
+ }) => any;
20
+ }
21
+ export declare const provideScrollAreaContext: (value: ScrollAreaContextValue) => void, useScrollAreaContext: () => ScrollAreaContextValue;
@@ -0,0 +1,482 @@
1
+ import { type PropType } from 'vue';
2
+ export type ScrollAreaStylesNames = 'root' | 'viewport' | 'scrollbar' | 'thumb' | 'corner' | 'content';
3
+ export type ScrollAreaType = 'auto' | 'always' | 'scroll' | 'hover' | 'never';
4
+ export type ScrollAreaScrollbars = 'x' | 'y' | 'xy' | false;
5
+ export interface ScrollAreaProps {
6
+ scrollbarSize?: number | string;
7
+ type?: ScrollAreaType;
8
+ scrollHideDelay?: number;
9
+ scrollbars?: ScrollAreaScrollbars;
10
+ offsetScrollbars?: boolean | 'x' | 'y' | 'present';
11
+ viewportProps?: Record<string, any>;
12
+ onScrollPositionChange?: (position: {
13
+ x: number;
14
+ y: number;
15
+ }) => void;
16
+ onBottomReached?: () => void;
17
+ onTopReached?: () => void;
18
+ onLeftReached?: () => void;
19
+ onRightReached?: () => void;
20
+ overscrollBehavior?: string;
21
+ startScrollPosition?: {
22
+ x?: number;
23
+ y?: number;
24
+ };
25
+ }
26
+ export declare const ScrollAreaBase: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
27
+ scrollbarSize: PropType<string | number>;
28
+ type: {
29
+ type: PropType<ScrollAreaType>;
30
+ default: undefined;
31
+ };
32
+ scrollHideDelay: {
33
+ type: NumberConstructor;
34
+ default: undefined;
35
+ };
36
+ scrollbars: {
37
+ type: PropType<ScrollAreaScrollbars>;
38
+ default: undefined;
39
+ };
40
+ offsetScrollbars: {
41
+ type: PropType<ScrollAreaProps["offsetScrollbars"]>;
42
+ default: undefined;
43
+ };
44
+ viewportProps: {
45
+ type: PropType<Record<string, any>>;
46
+ default: undefined;
47
+ };
48
+ onScrollPositionChange: {
49
+ type: PropType<ScrollAreaProps["onScrollPositionChange"]>;
50
+ default: undefined;
51
+ };
52
+ onBottomReached: {
53
+ type: PropType<ScrollAreaProps["onBottomReached"]>;
54
+ default: undefined;
55
+ };
56
+ onTopReached: {
57
+ type: PropType<ScrollAreaProps["onTopReached"]>;
58
+ default: undefined;
59
+ };
60
+ onLeftReached: {
61
+ type: PropType<ScrollAreaProps["onLeftReached"]>;
62
+ default: undefined;
63
+ };
64
+ onRightReached: {
65
+ type: PropType<ScrollAreaProps["onRightReached"]>;
66
+ default: undefined;
67
+ };
68
+ overscrollBehavior: {
69
+ type: StringConstructor;
70
+ default: undefined;
71
+ };
72
+ startScrollPosition: {
73
+ type: PropType<ScrollAreaProps["startScrollPosition"]>;
74
+ default: undefined;
75
+ };
76
+ classNames: {
77
+ type: (ObjectConstructor | FunctionConstructor)[];
78
+ default: undefined;
79
+ };
80
+ styles: {
81
+ type: (ObjectConstructor | FunctionConstructor)[];
82
+ default: undefined;
83
+ };
84
+ vars: {
85
+ type: (ObjectConstructor | FunctionConstructor)[];
86
+ default: undefined;
87
+ };
88
+ unstyled: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
93
+ [key: string]: any;
94
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
95
+ scrollbarSize: PropType<string | number>;
96
+ type: {
97
+ type: PropType<ScrollAreaType>;
98
+ default: undefined;
99
+ };
100
+ scrollHideDelay: {
101
+ type: NumberConstructor;
102
+ default: undefined;
103
+ };
104
+ scrollbars: {
105
+ type: PropType<ScrollAreaScrollbars>;
106
+ default: undefined;
107
+ };
108
+ offsetScrollbars: {
109
+ type: PropType<ScrollAreaProps["offsetScrollbars"]>;
110
+ default: undefined;
111
+ };
112
+ viewportProps: {
113
+ type: PropType<Record<string, any>>;
114
+ default: undefined;
115
+ };
116
+ onScrollPositionChange: {
117
+ type: PropType<ScrollAreaProps["onScrollPositionChange"]>;
118
+ default: undefined;
119
+ };
120
+ onBottomReached: {
121
+ type: PropType<ScrollAreaProps["onBottomReached"]>;
122
+ default: undefined;
123
+ };
124
+ onTopReached: {
125
+ type: PropType<ScrollAreaProps["onTopReached"]>;
126
+ default: undefined;
127
+ };
128
+ onLeftReached: {
129
+ type: PropType<ScrollAreaProps["onLeftReached"]>;
130
+ default: undefined;
131
+ };
132
+ onRightReached: {
133
+ type: PropType<ScrollAreaProps["onRightReached"]>;
134
+ default: undefined;
135
+ };
136
+ overscrollBehavior: {
137
+ type: StringConstructor;
138
+ default: undefined;
139
+ };
140
+ startScrollPosition: {
141
+ type: PropType<ScrollAreaProps["startScrollPosition"]>;
142
+ default: undefined;
143
+ };
144
+ classNames: {
145
+ type: (ObjectConstructor | FunctionConstructor)[];
146
+ default: undefined;
147
+ };
148
+ styles: {
149
+ type: (ObjectConstructor | FunctionConstructor)[];
150
+ default: undefined;
151
+ };
152
+ vars: {
153
+ type: (ObjectConstructor | FunctionConstructor)[];
154
+ default: undefined;
155
+ };
156
+ unstyled: {
157
+ type: BooleanConstructor;
158
+ default: boolean;
159
+ };
160
+ }>> & Readonly<{}>, {
161
+ type: ScrollAreaType;
162
+ classNames: Function | Record<string, any>;
163
+ styles: Function | Record<string, any>;
164
+ overscrollBehavior: string;
165
+ vars: Function | Record<string, any>;
166
+ unstyled: boolean;
167
+ scrollbars: ScrollAreaScrollbars;
168
+ scrollHideDelay: number;
169
+ offsetScrollbars: boolean | "x" | "y" | "present" | undefined;
170
+ onScrollPositionChange: ((position: {
171
+ x: number;
172
+ y: number;
173
+ }) => void) | undefined;
174
+ onBottomReached: (() => void) | undefined;
175
+ onTopReached: (() => void) | undefined;
176
+ onLeftReached: (() => void) | undefined;
177
+ onRightReached: (() => void) | undefined;
178
+ startScrollPosition: {
179
+ x?: number;
180
+ y?: number;
181
+ } | undefined;
182
+ viewportProps: Record<string, any>;
183
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
184
+ export declare const ScrollAreaAutosize: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
185
+ [key: string]: any;
186
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {} | {
187
+ [x: string]: any;
188
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
189
+ export declare const ScrollArea: import("../..").WithBoxProps<{
190
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
191
+ scrollbarSize: PropType<string | number>;
192
+ type: {
193
+ type: PropType<ScrollAreaType>;
194
+ default: undefined;
195
+ };
196
+ scrollHideDelay: {
197
+ type: NumberConstructor;
198
+ default: undefined;
199
+ };
200
+ scrollbars: {
201
+ type: PropType<ScrollAreaScrollbars>;
202
+ default: undefined;
203
+ };
204
+ offsetScrollbars: {
205
+ type: PropType<ScrollAreaProps["offsetScrollbars"]>;
206
+ default: undefined;
207
+ };
208
+ viewportProps: {
209
+ type: PropType<Record<string, any>>;
210
+ default: undefined;
211
+ };
212
+ onScrollPositionChange: {
213
+ type: PropType<ScrollAreaProps["onScrollPositionChange"]>;
214
+ default: undefined;
215
+ };
216
+ onBottomReached: {
217
+ type: PropType<ScrollAreaProps["onBottomReached"]>;
218
+ default: undefined;
219
+ };
220
+ onTopReached: {
221
+ type: PropType<ScrollAreaProps["onTopReached"]>;
222
+ default: undefined;
223
+ };
224
+ onLeftReached: {
225
+ type: PropType<ScrollAreaProps["onLeftReached"]>;
226
+ default: undefined;
227
+ };
228
+ onRightReached: {
229
+ type: PropType<ScrollAreaProps["onRightReached"]>;
230
+ default: undefined;
231
+ };
232
+ overscrollBehavior: {
233
+ type: StringConstructor;
234
+ default: undefined;
235
+ };
236
+ startScrollPosition: {
237
+ type: PropType<ScrollAreaProps["startScrollPosition"]>;
238
+ default: undefined;
239
+ };
240
+ classNames: {
241
+ type: (ObjectConstructor | FunctionConstructor)[];
242
+ default: undefined;
243
+ };
244
+ styles: {
245
+ type: (ObjectConstructor | FunctionConstructor)[];
246
+ default: undefined;
247
+ };
248
+ vars: {
249
+ type: (ObjectConstructor | FunctionConstructor)[];
250
+ default: undefined;
251
+ };
252
+ unstyled: {
253
+ type: BooleanConstructor;
254
+ default: boolean;
255
+ };
256
+ }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
257
+ [key: string]: any;
258
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
259
+ type: ScrollAreaType;
260
+ classNames: Function | Record<string, any>;
261
+ styles: Function | Record<string, any>;
262
+ overscrollBehavior: string;
263
+ vars: Function | Record<string, any>;
264
+ unstyled: boolean;
265
+ scrollbars: ScrollAreaScrollbars;
266
+ scrollHideDelay: number;
267
+ offsetScrollbars: boolean | "x" | "y" | "present" | undefined;
268
+ onScrollPositionChange: ((position: {
269
+ x: number;
270
+ y: number;
271
+ }) => void) | undefined;
272
+ onBottomReached: (() => void) | undefined;
273
+ onTopReached: (() => void) | undefined;
274
+ onLeftReached: (() => void) | undefined;
275
+ onRightReached: (() => void) | undefined;
276
+ startScrollPosition: {
277
+ x?: number;
278
+ y?: number;
279
+ } | undefined;
280
+ viewportProps: Record<string, any>;
281
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
282
+ P: {};
283
+ B: {};
284
+ D: {};
285
+ C: {};
286
+ M: {};
287
+ Defaults: {};
288
+ }, Readonly<import("vue").ExtractPropTypes<{
289
+ scrollbarSize: PropType<string | number>;
290
+ type: {
291
+ type: PropType<ScrollAreaType>;
292
+ default: undefined;
293
+ };
294
+ scrollHideDelay: {
295
+ type: NumberConstructor;
296
+ default: undefined;
297
+ };
298
+ scrollbars: {
299
+ type: PropType<ScrollAreaScrollbars>;
300
+ default: undefined;
301
+ };
302
+ offsetScrollbars: {
303
+ type: PropType<ScrollAreaProps["offsetScrollbars"]>;
304
+ default: undefined;
305
+ };
306
+ viewportProps: {
307
+ type: PropType<Record<string, any>>;
308
+ default: undefined;
309
+ };
310
+ onScrollPositionChange: {
311
+ type: PropType<ScrollAreaProps["onScrollPositionChange"]>;
312
+ default: undefined;
313
+ };
314
+ onBottomReached: {
315
+ type: PropType<ScrollAreaProps["onBottomReached"]>;
316
+ default: undefined;
317
+ };
318
+ onTopReached: {
319
+ type: PropType<ScrollAreaProps["onTopReached"]>;
320
+ default: undefined;
321
+ };
322
+ onLeftReached: {
323
+ type: PropType<ScrollAreaProps["onLeftReached"]>;
324
+ default: undefined;
325
+ };
326
+ onRightReached: {
327
+ type: PropType<ScrollAreaProps["onRightReached"]>;
328
+ default: undefined;
329
+ };
330
+ overscrollBehavior: {
331
+ type: StringConstructor;
332
+ default: undefined;
333
+ };
334
+ startScrollPosition: {
335
+ type: PropType<ScrollAreaProps["startScrollPosition"]>;
336
+ default: undefined;
337
+ };
338
+ classNames: {
339
+ type: (ObjectConstructor | FunctionConstructor)[];
340
+ default: undefined;
341
+ };
342
+ styles: {
343
+ type: (ObjectConstructor | FunctionConstructor)[];
344
+ default: undefined;
345
+ };
346
+ vars: {
347
+ type: (ObjectConstructor | FunctionConstructor)[];
348
+ default: undefined;
349
+ };
350
+ unstyled: {
351
+ type: BooleanConstructor;
352
+ default: boolean;
353
+ };
354
+ }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
355
+ [key: string]: any;
356
+ }>, {}, {}, {}, {
357
+ type: ScrollAreaType;
358
+ classNames: Function | Record<string, any>;
359
+ styles: Function | Record<string, any>;
360
+ overscrollBehavior: string;
361
+ vars: Function | Record<string, any>;
362
+ unstyled: boolean;
363
+ scrollbars: ScrollAreaScrollbars;
364
+ scrollHideDelay: number;
365
+ offsetScrollbars: boolean | "x" | "y" | "present" | undefined;
366
+ onScrollPositionChange: ((position: {
367
+ x: number;
368
+ y: number;
369
+ }) => void) | undefined;
370
+ onBottomReached: (() => void) | undefined;
371
+ onTopReached: (() => void) | undefined;
372
+ onLeftReached: (() => void) | undefined;
373
+ onRightReached: (() => void) | undefined;
374
+ startScrollPosition: {
375
+ x?: number;
376
+ y?: number;
377
+ } | undefined;
378
+ viewportProps: Record<string, any>;
379
+ }>;
380
+ __isFragment?: never;
381
+ __isTeleport?: never;
382
+ __isSuspense?: never;
383
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
384
+ scrollbarSize: PropType<string | number>;
385
+ type: {
386
+ type: PropType<ScrollAreaType>;
387
+ default: undefined;
388
+ };
389
+ scrollHideDelay: {
390
+ type: NumberConstructor;
391
+ default: undefined;
392
+ };
393
+ scrollbars: {
394
+ type: PropType<ScrollAreaScrollbars>;
395
+ default: undefined;
396
+ };
397
+ offsetScrollbars: {
398
+ type: PropType<ScrollAreaProps["offsetScrollbars"]>;
399
+ default: undefined;
400
+ };
401
+ viewportProps: {
402
+ type: PropType<Record<string, any>>;
403
+ default: undefined;
404
+ };
405
+ onScrollPositionChange: {
406
+ type: PropType<ScrollAreaProps["onScrollPositionChange"]>;
407
+ default: undefined;
408
+ };
409
+ onBottomReached: {
410
+ type: PropType<ScrollAreaProps["onBottomReached"]>;
411
+ default: undefined;
412
+ };
413
+ onTopReached: {
414
+ type: PropType<ScrollAreaProps["onTopReached"]>;
415
+ default: undefined;
416
+ };
417
+ onLeftReached: {
418
+ type: PropType<ScrollAreaProps["onLeftReached"]>;
419
+ default: undefined;
420
+ };
421
+ onRightReached: {
422
+ type: PropType<ScrollAreaProps["onRightReached"]>;
423
+ default: undefined;
424
+ };
425
+ overscrollBehavior: {
426
+ type: StringConstructor;
427
+ default: undefined;
428
+ };
429
+ startScrollPosition: {
430
+ type: PropType<ScrollAreaProps["startScrollPosition"]>;
431
+ default: undefined;
432
+ };
433
+ classNames: {
434
+ type: (ObjectConstructor | FunctionConstructor)[];
435
+ default: undefined;
436
+ };
437
+ styles: {
438
+ type: (ObjectConstructor | FunctionConstructor)[];
439
+ default: undefined;
440
+ };
441
+ vars: {
442
+ type: (ObjectConstructor | FunctionConstructor)[];
443
+ default: undefined;
444
+ };
445
+ unstyled: {
446
+ type: BooleanConstructor;
447
+ default: boolean;
448
+ };
449
+ }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
450
+ [key: string]: any;
451
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
452
+ type: ScrollAreaType;
453
+ classNames: Function | Record<string, any>;
454
+ styles: Function | Record<string, any>;
455
+ overscrollBehavior: string;
456
+ vars: Function | Record<string, any>;
457
+ unstyled: boolean;
458
+ scrollbars: ScrollAreaScrollbars;
459
+ scrollHideDelay: number;
460
+ offsetScrollbars: boolean | "x" | "y" | "present" | undefined;
461
+ onScrollPositionChange: ((position: {
462
+ x: number;
463
+ y: number;
464
+ }) => void) | undefined;
465
+ onBottomReached: (() => void) | undefined;
466
+ onTopReached: (() => void) | undefined;
467
+ onLeftReached: (() => void) | undefined;
468
+ onRightReached: (() => void) | undefined;
469
+ startScrollPosition: {
470
+ x?: number;
471
+ y?: number;
472
+ } | undefined;
473
+ viewportProps: Record<string, any>;
474
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
475
+ Autosize: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
476
+ [key: string]: any;
477
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {} | {
478
+ [x: string]: any;
479
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
480
+ classes: Record<string, string>;
481
+ varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
482
+ }>;
@@ -0,0 +1,23 @@
1
+ export type Sizes = {
2
+ content: number;
3
+ viewport: number;
4
+ scrollbar: {
5
+ size: number;
6
+ paddingStart: number;
7
+ paddingEnd: number;
8
+ };
9
+ };
10
+ export interface ScrollAreaScrollbarAxisPrivateProps {
11
+ hasThumb: boolean;
12
+ sizes: Sizes;
13
+ onSizesChange: (sizes: Sizes) => void;
14
+ onThumbChange: (thumb: HTMLDivElement | null) => void;
15
+ onThumbPointerDown: (pointerPos: number) => void;
16
+ onThumbPointerUp: () => void;
17
+ onThumbPositionChange: () => void;
18
+ onWheelScroll: (scrollPos: number) => void;
19
+ onDragScroll: (pointerPos: number) => void;
20
+ }
21
+ export interface ScrollAreaScrollbarAxisProps extends ScrollAreaScrollbarAxisPrivateProps {
22
+ [key: string]: any;
23
+ }
@@ -0,0 +1,3 @@
1
+ export declare const ScrollAreaCorner: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,43 @@
1
+ import { type PropType } from 'vue';
2
+ import { type ScrollAreaContextValue } from '../ScrollArea.context';
3
+ export declare const ScrollAreaRoot: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ getStyles: {
5
+ type: PropType<ScrollAreaContextValue["getStyles"]>;
6
+ required: true;
7
+ };
8
+ type: {
9
+ type: PropType<ScrollAreaContextValue["type"]>;
10
+ default: undefined;
11
+ };
12
+ scrollbars: {
13
+ type: PropType<ScrollAreaContextValue["scrollbars"]>;
14
+ default: undefined;
15
+ };
16
+ scrollHideDelay: {
17
+ type: NumberConstructor;
18
+ default: undefined;
19
+ };
20
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
21
+ [key: string]: any;
22
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ getStyles: {
24
+ type: PropType<ScrollAreaContextValue["getStyles"]>;
25
+ required: true;
26
+ };
27
+ type: {
28
+ type: PropType<ScrollAreaContextValue["type"]>;
29
+ default: undefined;
30
+ };
31
+ scrollbars: {
32
+ type: PropType<ScrollAreaContextValue["scrollbars"]>;
33
+ default: undefined;
34
+ };
35
+ scrollHideDelay: {
36
+ type: NumberConstructor;
37
+ default: undefined;
38
+ };
39
+ }>> & Readonly<{}>, {
40
+ type: "auto" | "always" | "never" | "scroll" | "hover";
41
+ scrollbars: false | "x" | "y" | "xy" | undefined;
42
+ scrollHideDelay: number;
43
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
@@ -0,0 +1,24 @@
1
+ import { type PropType } from 'vue';
2
+ export declare const ScrollAreaScrollbar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ orientation: {
4
+ type: PropType<"horizontal" | "vertical">;
5
+ required: true;
6
+ };
7
+ forceMount: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
12
+ [key: string]: any;
13
+ }> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ orientation: {
15
+ type: PropType<"horizontal" | "vertical">;
16
+ required: true;
17
+ };
18
+ forceMount: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ }>> & Readonly<{}>, {
23
+ forceMount: boolean;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,16 @@
1
+ import { type PropType } from 'vue';
2
+ export declare const ScrollAreaScrollbarVisible: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ orientation: {
4
+ type: PropType<"horizontal" | "vertical">;
5
+ default: string;
6
+ };
7
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
8
+ [key: string]: any;
9
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
+ orientation: {
11
+ type: PropType<"horizontal" | "vertical">;
12
+ default: string;
13
+ };
14
+ }>> & Readonly<{}>, {
15
+ orientation: "horizontal" | "vertical";
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,12 @@
1
+ export interface ScrollbarContextValue {
2
+ hasThumb: boolean;
3
+ scrollbar: HTMLDivElement | null;
4
+ onThumbChange: (thumb: HTMLDivElement | null) => void;
5
+ onThumbPointerUp: () => void;
6
+ onThumbPointerDown: (pointerPos: {
7
+ x: number;
8
+ y: number;
9
+ }) => void;
10
+ onThumbPositionChange: () => void;
11
+ }
12
+ export declare const provideScrollbarContext: (value: ScrollbarContextValue) => void, useScrollbarContext: () => ScrollbarContextValue;