@mantine/core 9.0.0-alpha.7 → 9.0.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 (505) hide show
  1. package/cjs/components/Accordion/Accordion.cjs.map +1 -1
  2. package/cjs/components/Accordion/Accordion.module.cjs.map +1 -1
  3. package/cjs/components/ActionIcon/ActionIcon.cjs.map +1 -1
  4. package/cjs/components/Affix/Affix.cjs.map +1 -1
  5. package/cjs/components/Alert/Alert.cjs.map +1 -1
  6. package/cjs/components/Anchor/Anchor.cjs.map +1 -1
  7. package/cjs/components/AngleSlider/AngleSlider.cjs.map +1 -1
  8. package/cjs/components/AppShell/AppShell.cjs.map +1 -1
  9. package/cjs/components/AspectRatio/AspectRatio.cjs.map +1 -1
  10. package/cjs/components/Autocomplete/Autocomplete.cjs +1 -1
  11. package/cjs/components/Autocomplete/Autocomplete.cjs.map +1 -1
  12. package/cjs/components/Avatar/Avatar.cjs.map +1 -1
  13. package/cjs/components/BackgroundImage/BackgroundImage.cjs.map +1 -1
  14. package/cjs/components/Badge/Badge.cjs.map +1 -1
  15. package/cjs/components/Blockquote/Blockquote.cjs.map +1 -1
  16. package/cjs/components/Breadcrumbs/Breadcrumbs.cjs.map +1 -1
  17. package/cjs/components/Burger/Burger.cjs.map +1 -1
  18. package/cjs/components/Button/Button.cjs.map +1 -1
  19. package/cjs/components/Button/Button.module.cjs.map +1 -1
  20. package/cjs/components/Card/Card.cjs.map +1 -1
  21. package/cjs/components/Center/Center.cjs.map +1 -1
  22. package/cjs/components/Checkbox/Checkbox.cjs +2 -1
  23. package/cjs/components/Checkbox/Checkbox.cjs.map +1 -1
  24. package/cjs/components/Checkbox/CheckboxGroup/CheckboxGroup.cjs.map +1 -1
  25. package/cjs/components/Checkbox/CheckboxIndicator/CheckboxIndicator.cjs +2 -1
  26. package/cjs/components/Checkbox/CheckboxIndicator/CheckboxIndicator.cjs.map +1 -1
  27. package/cjs/components/Chip/Chip.cjs.map +1 -1
  28. package/cjs/components/Chip/Chip.module.cjs.map +1 -1
  29. package/cjs/components/Chip/ChipGroup/ChipGroup.cjs.map +1 -1
  30. package/cjs/components/CloseButton/CloseButton.cjs.map +1 -1
  31. package/cjs/components/Code/Code.cjs.map +1 -1
  32. package/cjs/components/Collapse/Collapse.cjs.map +1 -1
  33. package/cjs/components/ColorInput/ColorInput.cjs.map +1 -1
  34. package/cjs/components/ColorPicker/AlphaSlider/AlphaSlider.cjs.map +1 -1
  35. package/cjs/components/ColorPicker/ColorPicker.cjs.map +1 -1
  36. package/cjs/components/ColorPicker/HueSlider/HueSlider.cjs.map +1 -1
  37. package/cjs/components/ColorSwatch/ColorSwatch.cjs.map +1 -1
  38. package/cjs/components/Combobox/ComboboxTarget/ComboboxTarget.cjs +1 -0
  39. package/cjs/components/Combobox/ComboboxTarget/ComboboxTarget.cjs.map +1 -1
  40. package/cjs/components/Combobox/use-combobox-target-props/use-combobox-target-props.cjs.map +1 -1
  41. package/cjs/components/Container/Container.cjs.map +1 -1
  42. package/cjs/components/Dialog/Dialog.cjs.map +1 -1
  43. package/cjs/components/Divider/Divider.cjs.map +1 -1
  44. package/cjs/components/Fieldset/Fieldset.cjs.map +1 -1
  45. package/cjs/components/FileButton/FileButton.cjs.map +1 -1
  46. package/cjs/components/FileInput/FileInput.cjs.map +1 -1
  47. package/cjs/components/Flex/Flex.cjs.map +1 -1
  48. package/cjs/components/FloatingIndicator/FloatingIndicator.cjs.map +1 -1
  49. package/cjs/components/FloatingWindow/FloatingWindow.cjs.map +1 -1
  50. package/cjs/components/Grid/Grid.cjs.map +1 -1
  51. package/cjs/components/Group/Group.cjs.map +1 -1
  52. package/cjs/components/Highlight/Highlight.cjs.map +1 -1
  53. package/cjs/components/Image/Image.cjs.map +1 -1
  54. package/cjs/components/Indicator/Indicator.cjs.map +1 -1
  55. package/cjs/components/Input/Input.cjs +3 -2
  56. package/cjs/components/Input/Input.cjs.map +1 -1
  57. package/cjs/components/InputBase/InputBase.cjs.map +1 -1
  58. package/cjs/components/JsonInput/JsonInput.cjs.map +1 -1
  59. package/cjs/components/Kbd/Kbd.cjs.map +1 -1
  60. package/cjs/components/List/List.cjs.map +1 -1
  61. package/cjs/components/Loader/Loader.cjs.map +1 -1
  62. package/cjs/components/LoadingOverlay/LoadingOverlay.cjs +1 -0
  63. package/cjs/components/LoadingOverlay/LoadingOverlay.cjs.map +1 -1
  64. package/cjs/components/Mark/Mark.cjs.map +1 -1
  65. package/cjs/components/Marquee/Marquee.cjs.map +1 -1
  66. package/cjs/components/Menu/Menu.cjs.map +1 -1
  67. package/cjs/components/Modal/Modal.cjs.map +1 -1
  68. package/cjs/components/MultiSelect/MultiSelect.cjs +3 -1
  69. package/cjs/components/MultiSelect/MultiSelect.cjs.map +1 -1
  70. package/cjs/components/NativeSelect/NativeSelect.cjs +4 -1
  71. package/cjs/components/NativeSelect/NativeSelect.cjs.map +1 -1
  72. package/cjs/components/NavLink/NavLink.cjs.map +1 -1
  73. package/cjs/components/Notification/Notification.cjs.map +1 -1
  74. package/cjs/components/NumberInput/NumberInput.cjs +1 -0
  75. package/cjs/components/NumberInput/NumberInput.cjs.map +1 -1
  76. package/cjs/components/OverflowList/OverflowList.cjs.map +1 -1
  77. package/cjs/components/Overlay/Overlay.cjs.map +1 -1
  78. package/cjs/components/Pagination/Pagination.cjs.map +1 -1
  79. package/cjs/components/Paper/Paper.cjs.map +1 -1
  80. package/cjs/components/PasswordInput/PasswordInput.cjs +4 -1
  81. package/cjs/components/PasswordInput/PasswordInput.cjs.map +1 -1
  82. package/cjs/components/Pill/Pill.cjs.map +1 -1
  83. package/cjs/components/Pill/Pill.module.cjs.map +1 -1
  84. package/cjs/components/PillsInput/PillsInput.cjs.map +1 -1
  85. package/cjs/components/PinInput/PinInput.cjs.map +1 -1
  86. package/cjs/components/Popover/Popover.cjs +9 -0
  87. package/cjs/components/Popover/Popover.cjs.map +1 -1
  88. package/cjs/components/Portal/OptionalPortal.cjs.map +1 -1
  89. package/cjs/components/Portal/Portal.cjs.map +1 -1
  90. package/cjs/components/Progress/Progress.cjs.map +1 -1
  91. package/cjs/components/Radio/Radio.cjs.map +1 -1
  92. package/cjs/components/Radio/RadioGroup/RadioGroup.cjs.map +1 -1
  93. package/cjs/components/Rating/Rating.cjs.map +1 -1
  94. package/cjs/components/RingProgress/RingProgress.cjs +1 -0
  95. package/cjs/components/RingProgress/RingProgress.cjs.map +1 -1
  96. package/cjs/components/ScrollArea/ScrollArea.cjs.map +1 -1
  97. package/cjs/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.cjs.map +1 -1
  98. package/cjs/components/Scroller/Scroller.cjs.map +1 -1
  99. package/cjs/components/SegmentedControl/SegmentedControl.cjs.map +1 -1
  100. package/cjs/components/SegmentedControl/SegmentedControl.module.cjs.map +1 -1
  101. package/cjs/components/Select/Select.cjs +1 -0
  102. package/cjs/components/Select/Select.cjs.map +1 -1
  103. package/cjs/components/SemiCircleProgress/SemiCircleProgress.cjs +1 -2
  104. package/cjs/components/SemiCircleProgress/SemiCircleProgress.cjs.map +1 -1
  105. package/cjs/components/SimpleGrid/SimpleGrid.cjs.map +1 -1
  106. package/cjs/components/Skeleton/Skeleton.cjs.map +1 -1
  107. package/cjs/components/Slider/RangeSlider/RangeSlider.cjs.map +1 -1
  108. package/cjs/components/Slider/Slider/Slider.cjs.map +1 -1
  109. package/cjs/components/Slider/Slider.module.cjs.map +1 -1
  110. package/cjs/components/Space/Space.cjs.map +1 -1
  111. package/cjs/components/Spoiler/Spoiler.cjs.map +1 -1
  112. package/cjs/components/Stack/Stack.cjs.map +1 -1
  113. package/cjs/components/Stepper/Stepper.cjs.map +1 -1
  114. package/cjs/components/Stepper/Stepper.module.cjs +1 -0
  115. package/cjs/components/Stepper/Stepper.module.cjs.map +1 -1
  116. package/cjs/components/Stepper/StepperStep/StepperStep.cjs +8 -5
  117. package/cjs/components/Stepper/StepperStep/StepperStep.cjs.map +1 -1
  118. package/cjs/components/Switch/Switch.cjs.map +1 -1
  119. package/cjs/components/Switch/SwitchGroup/SwitchGroup.cjs.map +1 -1
  120. package/cjs/components/Table/Table.cjs.map +1 -1
  121. package/cjs/components/TableOfContents/TableOfContents.cjs.map +1 -1
  122. package/cjs/components/Tabs/Tabs.cjs.map +1 -1
  123. package/cjs/components/TagsInput/TagsInput.cjs +3 -1
  124. package/cjs/components/TagsInput/TagsInput.cjs.map +1 -1
  125. package/cjs/components/Text/Text.cjs.map +1 -1
  126. package/cjs/components/TextInput/TextInput.cjs.map +1 -1
  127. package/cjs/components/Textarea/Textarea.cjs.map +1 -1
  128. package/cjs/components/ThemeIcon/ThemeIcon.cjs.map +1 -1
  129. package/cjs/components/Timeline/Timeline.cjs.map +1 -1
  130. package/cjs/components/Timeline/TimelineItem/TimelineItem.cjs +1 -1
  131. package/cjs/components/Timeline/TimelineItem/TimelineItem.cjs.map +1 -1
  132. package/cjs/components/Title/Title.cjs.map +1 -1
  133. package/cjs/components/Tooltip/Tooltip.cjs.map +1 -1
  134. package/cjs/components/Tree/Tree.cjs.map +1 -1
  135. package/cjs/components/Typography/Typography.cjs.map +1 -1
  136. package/cjs/components/UnstyledButton/UnstyledButton.cjs.map +1 -1
  137. package/cjs/components/VisuallyHidden/VisuallyHidden.cjs.map +1 -1
  138. package/cjs/core/MantineProvider/color-scheme-managers/local-storage-manager.cjs.map +1 -1
  139. package/cjs/core/MantineProvider/default-theme.cjs +1 -1
  140. package/cjs/core/MantineProvider/default-theme.cjs.map +1 -1
  141. package/cjs/core/utils/find-element-ancestor/find-element-ancestor.cjs.map +1 -1
  142. package/esm/components/Accordion/Accordion.mjs.map +1 -1
  143. package/esm/components/Accordion/Accordion.module.mjs.map +1 -1
  144. package/esm/components/ActionIcon/ActionIcon.mjs.map +1 -1
  145. package/esm/components/Affix/Affix.mjs.map +1 -1
  146. package/esm/components/Alert/Alert.mjs.map +1 -1
  147. package/esm/components/Anchor/Anchor.mjs.map +1 -1
  148. package/esm/components/AngleSlider/AngleSlider.mjs.map +1 -1
  149. package/esm/components/AppShell/AppShell.mjs.map +1 -1
  150. package/esm/components/AspectRatio/AspectRatio.mjs.map +1 -1
  151. package/esm/components/Autocomplete/Autocomplete.mjs +1 -1
  152. package/esm/components/Autocomplete/Autocomplete.mjs.map +1 -1
  153. package/esm/components/Avatar/Avatar.mjs.map +1 -1
  154. package/esm/components/BackgroundImage/BackgroundImage.mjs.map +1 -1
  155. package/esm/components/Badge/Badge.mjs.map +1 -1
  156. package/esm/components/Blockquote/Blockquote.mjs.map +1 -1
  157. package/esm/components/Breadcrumbs/Breadcrumbs.mjs.map +1 -1
  158. package/esm/components/Burger/Burger.mjs.map +1 -1
  159. package/esm/components/Button/Button.mjs.map +1 -1
  160. package/esm/components/Button/Button.module.mjs.map +1 -1
  161. package/esm/components/Card/Card.mjs.map +1 -1
  162. package/esm/components/Center/Center.mjs.map +1 -1
  163. package/esm/components/Checkbox/Checkbox.mjs +2 -1
  164. package/esm/components/Checkbox/Checkbox.mjs.map +1 -1
  165. package/esm/components/Checkbox/CheckboxGroup/CheckboxGroup.mjs.map +1 -1
  166. package/esm/components/Checkbox/CheckboxIndicator/CheckboxIndicator.mjs +2 -1
  167. package/esm/components/Checkbox/CheckboxIndicator/CheckboxIndicator.mjs.map +1 -1
  168. package/esm/components/Chip/Chip.mjs.map +1 -1
  169. package/esm/components/Chip/Chip.module.mjs.map +1 -1
  170. package/esm/components/Chip/ChipGroup/ChipGroup.mjs.map +1 -1
  171. package/esm/components/CloseButton/CloseButton.mjs.map +1 -1
  172. package/esm/components/Code/Code.mjs.map +1 -1
  173. package/esm/components/Collapse/Collapse.mjs.map +1 -1
  174. package/esm/components/ColorInput/ColorInput.mjs.map +1 -1
  175. package/esm/components/ColorPicker/AlphaSlider/AlphaSlider.mjs.map +1 -1
  176. package/esm/components/ColorPicker/ColorPicker.mjs.map +1 -1
  177. package/esm/components/ColorPicker/HueSlider/HueSlider.mjs.map +1 -1
  178. package/esm/components/ColorSwatch/ColorSwatch.mjs.map +1 -1
  179. package/esm/components/Combobox/ComboboxTarget/ComboboxTarget.mjs +1 -0
  180. package/esm/components/Combobox/ComboboxTarget/ComboboxTarget.mjs.map +1 -1
  181. package/esm/components/Combobox/use-combobox-target-props/use-combobox-target-props.mjs.map +1 -1
  182. package/esm/components/Container/Container.mjs.map +1 -1
  183. package/esm/components/Dialog/Dialog.mjs.map +1 -1
  184. package/esm/components/Divider/Divider.mjs.map +1 -1
  185. package/esm/components/Fieldset/Fieldset.mjs.map +1 -1
  186. package/esm/components/FileButton/FileButton.mjs.map +1 -1
  187. package/esm/components/FileInput/FileInput.mjs.map +1 -1
  188. package/esm/components/Flex/Flex.mjs.map +1 -1
  189. package/esm/components/FloatingIndicator/FloatingIndicator.mjs.map +1 -1
  190. package/esm/components/FloatingWindow/FloatingWindow.mjs.map +1 -1
  191. package/esm/components/Grid/Grid.mjs.map +1 -1
  192. package/esm/components/Group/Group.mjs.map +1 -1
  193. package/esm/components/Highlight/Highlight.mjs.map +1 -1
  194. package/esm/components/Image/Image.mjs.map +1 -1
  195. package/esm/components/Indicator/Indicator.mjs.map +1 -1
  196. package/esm/components/Input/Input.mjs +3 -2
  197. package/esm/components/Input/Input.mjs.map +1 -1
  198. package/esm/components/InputBase/InputBase.mjs.map +1 -1
  199. package/esm/components/JsonInput/JsonInput.mjs.map +1 -1
  200. package/esm/components/Kbd/Kbd.mjs.map +1 -1
  201. package/esm/components/List/List.mjs.map +1 -1
  202. package/esm/components/Loader/Loader.mjs.map +1 -1
  203. package/esm/components/LoadingOverlay/LoadingOverlay.mjs +1 -0
  204. package/esm/components/LoadingOverlay/LoadingOverlay.mjs.map +1 -1
  205. package/esm/components/Mark/Mark.mjs.map +1 -1
  206. package/esm/components/Marquee/Marquee.mjs.map +1 -1
  207. package/esm/components/Menu/Menu.mjs.map +1 -1
  208. package/esm/components/Modal/Modal.mjs.map +1 -1
  209. package/esm/components/MultiSelect/MultiSelect.mjs +3 -1
  210. package/esm/components/MultiSelect/MultiSelect.mjs.map +1 -1
  211. package/esm/components/NativeSelect/NativeSelect.mjs +4 -1
  212. package/esm/components/NativeSelect/NativeSelect.mjs.map +1 -1
  213. package/esm/components/NavLink/NavLink.mjs.map +1 -1
  214. package/esm/components/Notification/Notification.mjs.map +1 -1
  215. package/esm/components/NumberInput/NumberInput.mjs +1 -0
  216. package/esm/components/NumberInput/NumberInput.mjs.map +1 -1
  217. package/esm/components/OverflowList/OverflowList.mjs.map +1 -1
  218. package/esm/components/Overlay/Overlay.mjs.map +1 -1
  219. package/esm/components/Pagination/Pagination.mjs.map +1 -1
  220. package/esm/components/Paper/Paper.mjs.map +1 -1
  221. package/esm/components/PasswordInput/PasswordInput.mjs +4 -1
  222. package/esm/components/PasswordInput/PasswordInput.mjs.map +1 -1
  223. package/esm/components/Pill/Pill.mjs.map +1 -1
  224. package/esm/components/Pill/Pill.module.mjs.map +1 -1
  225. package/esm/components/PillsInput/PillsInput.mjs.map +1 -1
  226. package/esm/components/PinInput/PinInput.mjs.map +1 -1
  227. package/esm/components/Popover/Popover.mjs +9 -0
  228. package/esm/components/Popover/Popover.mjs.map +1 -1
  229. package/esm/components/Portal/OptionalPortal.mjs.map +1 -1
  230. package/esm/components/Portal/Portal.mjs.map +1 -1
  231. package/esm/components/Progress/Progress.mjs.map +1 -1
  232. package/esm/components/Radio/Radio.mjs.map +1 -1
  233. package/esm/components/Radio/RadioGroup/RadioGroup.mjs.map +1 -1
  234. package/esm/components/Rating/Rating.mjs.map +1 -1
  235. package/esm/components/RingProgress/RingProgress.mjs +1 -0
  236. package/esm/components/RingProgress/RingProgress.mjs.map +1 -1
  237. package/esm/components/ScrollArea/ScrollArea.mjs.map +1 -1
  238. package/esm/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.mjs.map +1 -1
  239. package/esm/components/Scroller/Scroller.mjs.map +1 -1
  240. package/esm/components/SegmentedControl/SegmentedControl.mjs.map +1 -1
  241. package/esm/components/SegmentedControl/SegmentedControl.module.mjs.map +1 -1
  242. package/esm/components/Select/Select.mjs +1 -0
  243. package/esm/components/Select/Select.mjs.map +1 -1
  244. package/esm/components/SemiCircleProgress/SemiCircleProgress.mjs +1 -2
  245. package/esm/components/SemiCircleProgress/SemiCircleProgress.mjs.map +1 -1
  246. package/esm/components/SimpleGrid/SimpleGrid.mjs.map +1 -1
  247. package/esm/components/Skeleton/Skeleton.mjs.map +1 -1
  248. package/esm/components/Slider/RangeSlider/RangeSlider.mjs.map +1 -1
  249. package/esm/components/Slider/Slider/Slider.mjs.map +1 -1
  250. package/esm/components/Slider/Slider.module.mjs.map +1 -1
  251. package/esm/components/Space/Space.mjs.map +1 -1
  252. package/esm/components/Spoiler/Spoiler.mjs.map +1 -1
  253. package/esm/components/Stack/Stack.mjs.map +1 -1
  254. package/esm/components/Stepper/Stepper.mjs.map +1 -1
  255. package/esm/components/Stepper/Stepper.module.mjs +1 -0
  256. package/esm/components/Stepper/Stepper.module.mjs.map +1 -1
  257. package/esm/components/Stepper/StepperStep/StepperStep.mjs +8 -5
  258. package/esm/components/Stepper/StepperStep/StepperStep.mjs.map +1 -1
  259. package/esm/components/Switch/Switch.mjs.map +1 -1
  260. package/esm/components/Switch/SwitchGroup/SwitchGroup.mjs.map +1 -1
  261. package/esm/components/Table/Table.mjs.map +1 -1
  262. package/esm/components/TableOfContents/TableOfContents.mjs.map +1 -1
  263. package/esm/components/Tabs/Tabs.mjs.map +1 -1
  264. package/esm/components/TagsInput/TagsInput.mjs +3 -1
  265. package/esm/components/TagsInput/TagsInput.mjs.map +1 -1
  266. package/esm/components/Text/Text.mjs.map +1 -1
  267. package/esm/components/TextInput/TextInput.mjs.map +1 -1
  268. package/esm/components/Textarea/Textarea.mjs.map +1 -1
  269. package/esm/components/ThemeIcon/ThemeIcon.mjs.map +1 -1
  270. package/esm/components/Timeline/Timeline.mjs.map +1 -1
  271. package/esm/components/Timeline/TimelineItem/TimelineItem.mjs +1 -1
  272. package/esm/components/Timeline/TimelineItem/TimelineItem.mjs.map +1 -1
  273. package/esm/components/Title/Title.mjs.map +1 -1
  274. package/esm/components/Tooltip/Tooltip.mjs.map +1 -1
  275. package/esm/components/Tree/Tree.mjs.map +1 -1
  276. package/esm/components/Typography/Typography.mjs.map +1 -1
  277. package/esm/components/UnstyledButton/UnstyledButton.mjs.map +1 -1
  278. package/esm/components/VisuallyHidden/VisuallyHidden.mjs.map +1 -1
  279. package/esm/core/MantineProvider/color-scheme-managers/local-storage-manager.mjs.map +1 -1
  280. package/esm/core/MantineProvider/default-theme.mjs +1 -1
  281. package/esm/core/MantineProvider/default-theme.mjs.map +1 -1
  282. package/esm/core/utils/find-element-ancestor/find-element-ancestor.mjs.map +1 -1
  283. package/lib/components/Accordion/Accordion.d.ts +21 -3
  284. package/lib/components/Accordion/index.d.ts +0 -17
  285. package/lib/components/ActionIcon/ActionIcon.d.ts +20 -2
  286. package/lib/components/ActionIcon/index.d.ts +0 -18
  287. package/lib/components/Affix/Affix.d.ts +6 -0
  288. package/lib/components/Affix/index.d.ts +0 -6
  289. package/lib/components/Alert/Alert.d.ts +6 -0
  290. package/lib/components/Alert/index.d.ts +0 -6
  291. package/lib/components/Anchor/Anchor.d.ts +7 -0
  292. package/lib/components/Anchor/index.d.ts +0 -8
  293. package/lib/components/AngleSlider/AngleSlider.d.ts +6 -0
  294. package/lib/components/AngleSlider/index.d.ts +0 -6
  295. package/lib/components/AppShell/AppShell.d.ts +30 -6
  296. package/lib/components/AppShell/index.d.ts +0 -24
  297. package/lib/components/AspectRatio/AspectRatio.d.ts +6 -0
  298. package/lib/components/AspectRatio/index.d.ts +0 -6
  299. package/lib/components/Autocomplete/Autocomplete.d.ts +6 -0
  300. package/lib/components/Autocomplete/index.d.ts +0 -6
  301. package/lib/components/Avatar/Avatar.d.ts +15 -1
  302. package/lib/components/Avatar/index.d.ts +0 -14
  303. package/lib/components/BackgroundImage/BackgroundImage.d.ts +6 -0
  304. package/lib/components/BackgroundImage/index.d.ts +0 -6
  305. package/lib/components/Badge/Badge.d.ts +7 -0
  306. package/lib/components/Badge/index.d.ts +0 -7
  307. package/lib/components/Blockquote/Blockquote.d.ts +6 -0
  308. package/lib/components/Blockquote/index.d.ts +0 -6
  309. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +6 -0
  310. package/lib/components/Breadcrumbs/index.d.ts +0 -7
  311. package/lib/components/Burger/Burger.d.ts +6 -0
  312. package/lib/components/Burger/index.d.ts +0 -6
  313. package/lib/components/Button/Button.d.ts +22 -2
  314. package/lib/components/Button/index.d.ts +0 -20
  315. package/lib/components/Card/Card.d.ts +11 -1
  316. package/lib/components/Card/index.d.ts +0 -10
  317. package/lib/components/Center/Center.d.ts +5 -0
  318. package/lib/components/Center/index.d.ts +0 -5
  319. package/lib/components/Checkbox/Checkbox.d.ts +29 -3
  320. package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +8 -8
  321. package/lib/components/Checkbox/index.d.ts +0 -26
  322. package/lib/components/Chip/Chip.d.ts +12 -1
  323. package/lib/components/Chip/ChipGroup/ChipGroup.d.ts +8 -8
  324. package/lib/components/Chip/index.d.ts +0 -11
  325. package/lib/components/CloseButton/CloseButton.d.ts +7 -0
  326. package/lib/components/CloseButton/index.d.ts +0 -7
  327. package/lib/components/Code/Code.d.ts +6 -0
  328. package/lib/components/Code/index.d.ts +0 -6
  329. package/lib/components/Collapse/Collapse.d.ts +4 -0
  330. package/lib/components/Collapse/index.d.ts +0 -4
  331. package/lib/components/ColorInput/ColorInput.d.ts +6 -0
  332. package/lib/components/ColorInput/index.d.ts +0 -6
  333. package/lib/components/ColorPicker/AlphaSlider/AlphaSlider.d.ts +4 -0
  334. package/lib/components/ColorPicker/ColorPicker.d.ts +6 -0
  335. package/lib/components/ColorPicker/HueSlider/HueSlider.d.ts +4 -0
  336. package/lib/components/ColorPicker/index.d.ts +0 -14
  337. package/lib/components/ColorSwatch/ColorSwatch.d.ts +6 -0
  338. package/lib/components/ColorSwatch/index.d.ts +0 -6
  339. package/lib/components/Container/Container.d.ts +6 -0
  340. package/lib/components/Container/index.d.ts +0 -6
  341. package/lib/components/Dialog/Dialog.d.ts +6 -0
  342. package/lib/components/Dialog/index.d.ts +0 -6
  343. package/lib/components/Divider/Divider.d.ts +7 -0
  344. package/lib/components/Divider/index.d.ts +0 -7
  345. package/lib/components/Fieldset/Fieldset.d.ts +6 -0
  346. package/lib/components/Fieldset/index.d.ts +0 -6
  347. package/lib/components/FileButton/FileButton.d.ts +4 -0
  348. package/lib/components/FileButton/index.d.ts +0 -4
  349. package/lib/components/FileInput/FileInput.d.ts +4 -0
  350. package/lib/components/FileInput/index.d.ts +0 -4
  351. package/lib/components/Flex/Flex.d.ts +5 -0
  352. package/lib/components/Flex/index.d.ts +0 -5
  353. package/lib/components/FloatingIndicator/FloatingIndicator.d.ts +6 -0
  354. package/lib/components/FloatingIndicator/index.d.ts +0 -6
  355. package/lib/components/FloatingWindow/FloatingWindow.d.ts +5 -0
  356. package/lib/components/FloatingWindow/index.d.ts +0 -5
  357. package/lib/components/Grid/Grid.d.ts +13 -2
  358. package/lib/components/Grid/index.d.ts +0 -11
  359. package/lib/components/Group/Group.d.ts +7 -0
  360. package/lib/components/Group/index.d.ts +0 -7
  361. package/lib/components/Highlight/Highlight.d.ts +5 -0
  362. package/lib/components/Highlight/index.d.ts +0 -5
  363. package/lib/components/Image/Image.d.ts +6 -0
  364. package/lib/components/Image/index.d.ts +0 -6
  365. package/lib/components/Indicator/Indicator.d.ts +6 -0
  366. package/lib/components/Indicator/index.d.ts +0 -6
  367. package/lib/components/Input/Input.d.ts +51 -7
  368. package/lib/components/Input/index.d.ts +0 -42
  369. package/lib/components/InputBase/InputBase.d.ts +4 -0
  370. package/lib/components/InputBase/index.d.ts +0 -4
  371. package/lib/components/JsonInput/JsonInput.d.ts +4 -0
  372. package/lib/components/JsonInput/index.d.ts +0 -4
  373. package/lib/components/Kbd/Kbd.d.ts +6 -0
  374. package/lib/components/Kbd/index.d.ts +0 -6
  375. package/lib/components/List/List.d.ts +12 -1
  376. package/lib/components/List/index.d.ts +0 -11
  377. package/lib/components/Loader/Loader.d.ts +6 -0
  378. package/lib/components/Loader/index.d.ts +0 -6
  379. package/lib/components/LoadingOverlay/LoadingOverlay.d.ts +6 -0
  380. package/lib/components/LoadingOverlay/index.d.ts +0 -6
  381. package/lib/components/Mark/Mark.d.ts +6 -0
  382. package/lib/components/Mark/index.d.ts +0 -6
  383. package/lib/components/Marquee/Marquee.d.ts +6 -0
  384. package/lib/components/Marquee/index.d.ts +0 -6
  385. package/lib/components/Menu/Menu.d.ts +43 -6
  386. package/lib/components/Menu/index.d.ts +0 -33
  387. package/lib/components/Modal/Modal.d.ts +37 -7
  388. package/lib/components/Modal/index.d.ts +0 -30
  389. package/lib/components/MultiSelect/MultiSelect.d.ts +5 -0
  390. package/lib/components/MultiSelect/index.d.ts +0 -6
  391. package/lib/components/NativeSelect/NativeSelect.d.ts +5 -0
  392. package/lib/components/NativeSelect/index.d.ts +0 -6
  393. package/lib/components/NavLink/NavLink.d.ts +7 -0
  394. package/lib/components/NavLink/index.d.ts +0 -7
  395. package/lib/components/Notification/Notification.d.ts +6 -0
  396. package/lib/components/Notification/index.d.ts +0 -6
  397. package/lib/components/NumberInput/NumberInput.d.ts +7 -0
  398. package/lib/components/NumberInput/index.d.ts +0 -7
  399. package/lib/components/OverflowList/OverflowList.d.ts +6 -0
  400. package/lib/components/OverflowList/index.d.ts +0 -6
  401. package/lib/components/Overlay/Overlay.d.ts +6 -0
  402. package/lib/components/Overlay/index.d.ts +0 -6
  403. package/lib/components/Pagination/Pagination.d.ts +25 -4
  404. package/lib/components/Pagination/index.d.ts +0 -21
  405. package/lib/components/Paper/Paper.d.ts +7 -0
  406. package/lib/components/Paper/index.d.ts +0 -7
  407. package/lib/components/PasswordInput/PasswordInput.d.ts +6 -0
  408. package/lib/components/PasswordInput/index.d.ts +0 -6
  409. package/lib/components/Pill/Pill.d.ts +14 -1
  410. package/lib/components/Pill/index.d.ts +0 -13
  411. package/lib/components/PillsInput/PillsInput.d.ts +12 -1
  412. package/lib/components/PillsInput/index.d.ts +0 -10
  413. package/lib/components/PinInput/PinInput.d.ts +5 -0
  414. package/lib/components/PinInput/index.d.ts +0 -5
  415. package/lib/components/Popover/Popover.d.ts +9 -0
  416. package/lib/components/Portal/OptionalPortal.d.ts +3 -0
  417. package/lib/components/Portal/Portal.d.ts +3 -0
  418. package/lib/components/Portal/index.d.ts +0 -6
  419. package/lib/components/Progress/Progress.d.ts +19 -3
  420. package/lib/components/Progress/index.d.ts +0 -15
  421. package/lib/components/Radio/Radio.d.ts +29 -3
  422. package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +8 -8
  423. package/lib/components/Radio/index.d.ts +0 -26
  424. package/lib/components/Rating/Rating.d.ts +5 -0
  425. package/lib/components/Rating/index.d.ts +0 -5
  426. package/lib/components/RingProgress/RingProgress.d.ts +7 -0
  427. package/lib/components/RingProgress/index.d.ts +0 -7
  428. package/lib/components/ScrollArea/ScrollArea.d.ts +10 -0
  429. package/lib/components/ScrollArea/index.d.ts +0 -10
  430. package/lib/components/Scroller/Scroller.d.ts +6 -0
  431. package/lib/components/Scroller/index.d.ts +0 -6
  432. package/lib/components/SegmentedControl/SegmentedControl.d.ts +7 -0
  433. package/lib/components/SegmentedControl/index.d.ts +0 -8
  434. package/lib/components/Select/Select.d.ts +5 -0
  435. package/lib/components/Select/index.d.ts +0 -6
  436. package/lib/components/SemiCircleProgress/SemiCircleProgress.d.ts +6 -0
  437. package/lib/components/SemiCircleProgress/index.d.ts +0 -6
  438. package/lib/components/SimpleGrid/SimpleGrid.d.ts +5 -0
  439. package/lib/components/SimpleGrid/index.d.ts +0 -5
  440. package/lib/components/Skeleton/Skeleton.d.ts +6 -0
  441. package/lib/components/Skeleton/index.d.ts +0 -6
  442. package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +8 -0
  443. package/lib/components/Slider/Slider/Slider.d.ts +7 -0
  444. package/lib/components/Slider/index.d.ts +0 -15
  445. package/lib/components/Space/Space.d.ts +4 -0
  446. package/lib/components/Space/index.d.ts +0 -5
  447. package/lib/components/Spoiler/Spoiler.d.ts +6 -0
  448. package/lib/components/Spoiler/index.d.ts +0 -6
  449. package/lib/components/Stack/Stack.d.ts +6 -0
  450. package/lib/components/Stack/index.d.ts +0 -6
  451. package/lib/components/Stepper/Stepper.d.ts +18 -3
  452. package/lib/components/Stepper/StepperStep/StepperStep.d.ts +1 -1
  453. package/lib/components/Stepper/index.d.ts +0 -14
  454. package/lib/components/Switch/Switch.d.ts +13 -1
  455. package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +8 -8
  456. package/lib/components/Switch/index.d.ts +0 -12
  457. package/lib/components/Table/Table.d.ts +35 -2
  458. package/lib/components/Table/index.d.ts +0 -32
  459. package/lib/components/TableOfContents/TableOfContents.d.ts +7 -0
  460. package/lib/components/TableOfContents/index.d.ts +0 -7
  461. package/lib/components/Tabs/Tabs.d.ts +24 -3
  462. package/lib/components/Tabs/index.d.ts +0 -20
  463. package/lib/components/TagsInput/TagsInput.d.ts +5 -0
  464. package/lib/components/TagsInput/index.d.ts +0 -5
  465. package/lib/components/Text/Text.d.ts +7 -0
  466. package/lib/components/Text/index.d.ts +0 -7
  467. package/lib/components/TextInput/TextInput.d.ts +4 -0
  468. package/lib/components/TextInput/index.d.ts +0 -4
  469. package/lib/components/Textarea/Textarea.d.ts +4 -0
  470. package/lib/components/Textarea/index.d.ts +0 -4
  471. package/lib/components/ThemeIcon/ThemeIcon.d.ts +7 -0
  472. package/lib/components/ThemeIcon/index.d.ts +0 -7
  473. package/lib/components/Timeline/Timeline.d.ts +12 -1
  474. package/lib/components/Timeline/index.d.ts +0 -11
  475. package/lib/components/Title/Title.d.ts +8 -0
  476. package/lib/components/Title/index.d.ts +0 -8
  477. package/lib/components/Tooltip/Tooltip.d.ts +15 -2
  478. package/lib/components/Tooltip/index.d.ts +0 -13
  479. package/lib/components/Tree/Tree.d.ts +7 -0
  480. package/lib/components/Tree/index.d.ts +0 -7
  481. package/lib/components/Typography/Typography.d.ts +5 -0
  482. package/lib/components/Typography/index.d.ts +0 -5
  483. package/lib/components/UnstyledButton/UnstyledButton.d.ts +5 -0
  484. package/lib/components/UnstyledButton/index.d.ts +0 -5
  485. package/lib/components/VisuallyHidden/VisuallyHidden.d.ts +3 -0
  486. package/lib/components/VisuallyHidden/index.d.ts +0 -3
  487. package/package.json +2 -2
  488. package/styles/Accordion.css +0 -4
  489. package/styles/Accordion.layer.css +0 -4
  490. package/styles/Button.css +2 -0
  491. package/styles/Button.layer.css +2 -0
  492. package/styles/Chip.css +2 -0
  493. package/styles/Chip.layer.css +2 -0
  494. package/styles/Pill.css +5 -2
  495. package/styles/Pill.layer.css +5 -2
  496. package/styles/SegmentedControl.css +3 -3
  497. package/styles/SegmentedControl.layer.css +3 -3
  498. package/styles/Slider.css +10 -10
  499. package/styles/Slider.layer.css +10 -10
  500. package/styles/Stepper.css +4 -0
  501. package/styles/Stepper.layer.css +4 -0
  502. package/styles/default-css-variables.css +1 -1
  503. package/styles/default-css-variables.layer.css +1 -1
  504. package/styles.css +27 -20
  505. package/styles.layer.css +27 -20
@@ -1,9 +1,3 @@
1
1
  import type { BackgroundImageCssVariables, BackgroundImageFactory, BackgroundImageProps, BackgroundImageStylesNames } from './BackgroundImage';
2
2
  export { BackgroundImage } from './BackgroundImage';
3
3
  export type { BackgroundImageProps, BackgroundImageCssVariables, BackgroundImageFactory, BackgroundImageStylesNames, };
4
- export declare namespace BackgroundImage {
5
- type Props = BackgroundImageProps;
6
- type CssVariables = BackgroundImageCssVariables;
7
- type Factory = BackgroundImageFactory;
8
- type StylesNames = BackgroundImageStylesNames;
9
- }
@@ -73,3 +73,10 @@ export declare const Badge: (<C = "div">(props: import("../..").PolymorphicCompo
73
73
  vars: BadgeCssVariables;
74
74
  variant: BadgeVariant;
75
75
  }> & Record<string, never>;
76
+ export declare namespace Badge {
77
+ type Props = BadgeProps;
78
+ type StylesNames = BadgeStylesNames;
79
+ type CssVariables = BadgeCssVariables;
80
+ type Variant = BadgeVariant;
81
+ type Factory = BadgeFactory;
82
+ }
@@ -1,10 +1,3 @@
1
1
  import type { BadgeCssVariables, BadgeFactory, BadgeProps, BadgeStylesNames, BadgeVariant } from './Badge';
2
2
  export { Badge } from './Badge';
3
3
  export type { BadgeProps, BadgeStylesNames, BadgeCssVariables, BadgeVariant, BadgeFactory };
4
- export declare namespace Badge {
5
- type Props = BadgeProps;
6
- type StylesNames = BadgeStylesNames;
7
- type CssVariables = BadgeCssVariables;
8
- type Variant = BadgeVariant;
9
- type Factory = BadgeFactory;
10
- }
@@ -27,3 +27,9 @@ export declare const Blockquote: import("../..").MantineComponent<{
27
27
  stylesNames: BlockquoteStylesNames;
28
28
  vars: BlockquoteCssVariables;
29
29
  }>;
30
+ export declare namespace Blockquote {
31
+ type Props = BlockquoteProps;
32
+ type StylesNames = BlockquoteStylesNames;
33
+ type CssVariables = BlockquoteCssVariables;
34
+ type Factory = BlockquoteFactory;
35
+ }
@@ -1,9 +1,3 @@
1
1
  import type { BlockquoteCssVariables, BlockquoteFactory, BlockquoteProps, BlockquoteStylesNames } from './Blockquote';
2
2
  export { Blockquote } from './Blockquote';
3
3
  export type { BlockquoteProps, BlockquoteStylesNames, BlockquoteCssVariables, BlockquoteFactory };
4
- export declare namespace Blockquote {
5
- type Props = BlockquoteProps;
6
- type StylesNames = BlockquoteStylesNames;
7
- type CssVariables = BlockquoteCssVariables;
8
- type Factory = BlockquoteFactory;
9
- }
@@ -23,3 +23,9 @@ export declare const Breadcrumbs: import("../..").MantineComponent<{
23
23
  stylesNames: BreadcrumbsStylesNames;
24
24
  vars: BreadcrumbsCssVariables;
25
25
  }>;
26
+ export declare namespace Breadcrumbs {
27
+ type Props = BreadcrumbsProps;
28
+ type StylesNames = BreadcrumbsStylesNames;
29
+ type CssVariables = BreadcrumbsCssVariables;
30
+ type Factory = BreadcrumbsFactory;
31
+ }
@@ -1,9 +1,2 @@
1
- import type { BreadcrumbsCssVariables, BreadcrumbsFactory, BreadcrumbsProps, BreadcrumbsStylesNames } from './Breadcrumbs';
2
1
  export { Breadcrumbs } from './Breadcrumbs';
3
2
  export type { BreadcrumbsCssVariables, BreadcrumbsFactory, BreadcrumbsProps, BreadcrumbsStylesNames, } from './Breadcrumbs';
4
- export declare namespace Breadcrumbs {
5
- type Props = BreadcrumbsProps;
6
- type StylesNames = BreadcrumbsStylesNames;
7
- type CssVariables = BreadcrumbsCssVariables;
8
- type Factory = BreadcrumbsFactory;
9
- }
@@ -29,3 +29,9 @@ export declare const Burger: import("../..").MantineComponent<{
29
29
  stylesNames: BurgerStylesNames;
30
30
  vars: BurgerCssVariables;
31
31
  }>;
32
+ export declare namespace Burger {
33
+ type Props = BurgerProps;
34
+ type StylesNames = BurgerStylesNames;
35
+ type CssVariables = BurgerCssVariables;
36
+ type Factory = BurgerFactory;
37
+ }
@@ -1,9 +1,3 @@
1
1
  import type { BurgerCssVariables, BurgerFactory, BurgerProps, BurgerStylesNames } from './Burger';
2
2
  export { Burger } from './Burger';
3
3
  export type { BurgerProps, BurgerStylesNames, BurgerCssVariables, BurgerFactory };
4
- export declare namespace Burger {
5
- type Props = BurgerProps;
6
- type StylesNames = BurgerStylesNames;
7
- type CssVariables = BurgerCssVariables;
8
- type Factory = BurgerFactory;
9
- }
@@ -1,7 +1,7 @@
1
1
  import { BoxProps, MantineColor, MantineGradient, MantineRadius, MantineSize, PolymorphicFactory, StylesApiProps } from '../../core';
2
2
  import { LoaderProps } from '../Loader';
3
- import { ButtonGroup } from './ButtonGroup/ButtonGroup';
4
- import { ButtonGroupSection } from './ButtonGroupSection/ButtonGroupSection';
3
+ import { ButtonGroup, type ButtonGroupProps, type ButtonGroupStylesNames, type ButtonGroupCssVariables, type ButtonGroupFactory } from './ButtonGroup/ButtonGroup';
4
+ import { ButtonGroupSection, type ButtonGroupSectionProps, type ButtonGroupSectionStylesNames, type ButtonGroupSectionCssVariables, type ButtonGroupSectionFactory } from './ButtonGroupSection/ButtonGroupSection';
5
5
  export type ButtonSize = MantineSize | `compact-${MantineSize}` | (string & {});
6
6
  export type ButtonStylesNames = 'root' | 'inner' | 'loader' | 'section' | 'label';
7
7
  export type ButtonVariant = 'filled' | 'light' | 'outline' | 'transparent' | 'white' | 'subtle' | 'default' | 'gradient';
@@ -107,3 +107,23 @@ export declare const Button: (<C = "button">(props: import("../..").PolymorphicC
107
107
  Group: typeof ButtonGroup;
108
108
  GroupSection: typeof ButtonGroupSection;
109
109
  };
110
+ export declare namespace Button {
111
+ type Props = ButtonProps;
112
+ type StylesNames = ButtonStylesNames;
113
+ type CssVariables = ButtonCssVariables;
114
+ type Factory = ButtonFactory;
115
+ type Variant = ButtonVariant;
116
+ type Size = ButtonSize;
117
+ namespace Group {
118
+ type Props = ButtonGroupProps;
119
+ type StylesNames = ButtonGroupStylesNames;
120
+ type CssVariables = ButtonGroupCssVariables;
121
+ type Factory = ButtonGroupFactory;
122
+ }
123
+ namespace GroupSection {
124
+ type Props = ButtonGroupSectionProps;
125
+ type StylesNames = ButtonGroupSectionStylesNames;
126
+ type CssVariables = ButtonGroupSectionCssVariables;
127
+ type Factory = ButtonGroupSectionFactory;
128
+ }
129
+ }
@@ -5,23 +5,3 @@ export { Button } from './Button';
5
5
  export { ButtonGroup } from './ButtonGroup/ButtonGroup';
6
6
  export { ButtonGroupSection } from './ButtonGroupSection/ButtonGroupSection';
7
7
  export type { ButtonProps, ButtonStylesNames, ButtonFactory, ButtonCssVariables, ButtonVariant, ButtonSize, ButtonGroupProps, ButtonGroupCssVariables, ButtonGroupStylesNames, ButtonGroupFactory, ButtonGroupSectionProps, ButtonGroupSectionCssVariables, ButtonGroupSectionStylesNames, ButtonGroupSectionFactory, };
8
- export declare namespace Button {
9
- type Props = ButtonProps;
10
- type StylesNames = ButtonStylesNames;
11
- type CssVariables = ButtonCssVariables;
12
- type Factory = ButtonFactory;
13
- type Variant = ButtonVariant;
14
- type Size = ButtonSize;
15
- namespace Group {
16
- type Props = ButtonGroupProps;
17
- type StylesNames = ButtonGroupStylesNames;
18
- type CssVariables = ButtonGroupCssVariables;
19
- type Factory = ButtonGroupFactory;
20
- }
21
- namespace GroupSection {
22
- type Props = ButtonGroupSectionProps;
23
- type StylesNames = ButtonGroupSectionStylesNames;
24
- type CssVariables = ButtonGroupSectionCssVariables;
25
- type Factory = ButtonGroupSectionFactory;
26
- }
27
- }
@@ -1,5 +1,5 @@
1
1
  import { BoxProps, MantineRadius, MantineShadow, MantineSpacing, PolymorphicFactory, StylesApiProps } from '../../core';
2
- import { CardSection } from './CardSection/CardSection';
2
+ import { CardSection, type CardSectionProps } from './CardSection/CardSection';
3
3
  export type CardStylesNames = 'root' | 'section';
4
4
  export type CardCssVariables = {
5
5
  root: '--card-padding';
@@ -77,3 +77,13 @@ export declare const Card: (<C = "div">(props: import("../..").PolymorphicCompon
77
77
  }> & {
78
78
  Section: typeof CardSection;
79
79
  };
80
+ export declare namespace Card {
81
+ type Props = CardProps;
82
+ type StylesNames = CardStylesNames;
83
+ type CssVariables = CardCssVariables;
84
+ type Factory = CardFactory;
85
+ type SectionProps = CardSectionProps;
86
+ namespace Section {
87
+ type Props = CardSectionProps;
88
+ }
89
+ }
@@ -3,13 +3,3 @@ import type { CardSectionProps } from './CardSection/CardSection';
3
3
  export { Card } from './Card';
4
4
  export { CardSection } from './CardSection/CardSection';
5
5
  export type { CardProps, CardStylesNames, CardCssVariables, CardFactory, CardSectionProps };
6
- export declare namespace Card {
7
- type Props = CardProps;
8
- type StylesNames = CardStylesNames;
9
- type CssVariables = CardCssVariables;
10
- type Factory = CardFactory;
11
- type SectionProps = CardSectionProps;
12
- namespace Section {
13
- type Props = CardSectionProps;
14
- }
15
- }
@@ -36,3 +36,8 @@ export declare const Center: (<C = "div">(props: import("../..").PolymorphicComp
36
36
  defaultComponent: "div";
37
37
  stylesNames: CenterStylesNames;
38
38
  }> & Record<string, never>;
39
+ export declare namespace Center {
40
+ type Props = CenterProps;
41
+ type Factory = CenterFactory;
42
+ type StylesNames = CenterStylesNames;
43
+ }
@@ -1,8 +1,3 @@
1
1
  import type { CenterFactory, CenterProps, CenterStylesNames } from './Center';
2
2
  export { Center } from './Center';
3
3
  export type { CenterProps, CenterFactory, CenterStylesNames };
4
- export declare namespace Center {
5
- type Props = CenterProps;
6
- type Factory = CenterFactory;
7
- type StylesNames = CenterStylesNames;
8
- }
@@ -1,8 +1,8 @@
1
1
  import { BoxProps, DataAttributes, ElementProps, Factory, MantineColor, MantineRadius, MantineSize, StylesApiProps } from '../../core';
2
2
  import { InlineInputStylesNames } from '../../utils/InlineInput';
3
- import { CheckboxCard } from './CheckboxCard/CheckboxCard';
4
- import { CheckboxGroup } from './CheckboxGroup/CheckboxGroup';
5
- import { CheckboxIndicator } from './CheckboxIndicator/CheckboxIndicator';
3
+ import { CheckboxCard, type CheckboxCardProps, type CheckboxCardStylesNames, type CheckboxCardCssVariables, type CheckboxCardFactory } from './CheckboxCard/CheckboxCard';
4
+ import { CheckboxGroup, type CheckboxGroupProps, type CheckboxGroupStylesNames, type CheckboxGroupFactory } from './CheckboxGroup/CheckboxGroup';
5
+ import { CheckboxIndicator, type CheckboxIndicatorProps, type CheckboxIndicatorStylesNames, type CheckboxIndicatorCssVariables, type CheckboxIndicatorFactory, type CheckboxIndicatorVariant } from './CheckboxIndicator/CheckboxIndicator';
6
6
  export type CheckboxVariant = 'filled' | 'outline';
7
7
  export type CheckboxStylesNames = 'icon' | 'inner' | 'input' | InlineInputStylesNames;
8
8
  export type CheckboxCssVariables = {
@@ -68,3 +68,29 @@ export declare const Checkbox: import("../..").MantineComponent<{
68
68
  Card: typeof CheckboxCard;
69
69
  };
70
70
  }>;
71
+ export declare namespace Checkbox {
72
+ type Props = CheckboxProps;
73
+ type StylesNames = CheckboxStylesNames;
74
+ type CssVariables = CheckboxCssVariables;
75
+ type Factory = CheckboxFactory;
76
+ type Variant = CheckboxVariant;
77
+ type IconComponent = CheckboxIconComponent;
78
+ namespace Group {
79
+ type Props = CheckboxGroupProps;
80
+ type StylesNames = CheckboxGroupStylesNames;
81
+ type Factory = CheckboxGroupFactory;
82
+ }
83
+ namespace Indicator {
84
+ type Props = CheckboxIndicatorProps;
85
+ type StylesNames = CheckboxIndicatorStylesNames;
86
+ type CssVariables = CheckboxIndicatorCssVariables;
87
+ type Factory = CheckboxIndicatorFactory;
88
+ type Variant = CheckboxIndicatorVariant;
89
+ }
90
+ namespace Card {
91
+ type Props = CheckboxCardProps;
92
+ type StylesNames = CheckboxCardStylesNames;
93
+ type CssVariables = CheckboxCardCssVariables;
94
+ type Factory = CheckboxCardFactory;
95
+ }
96
+ }
@@ -1,6 +1,6 @@
1
- import { DataAttributes, Factory, MantineSize } from '../../../core';
1
+ import { DataAttributes, Factory, MantineSize, Primitive } from '../../../core';
2
2
  import { InputWrapperProps, InputWrapperStylesNames } from '../../Input';
3
- export interface CheckboxGroupContextValue<Value extends string = string> {
3
+ export interface CheckboxGroupContextValue<Value extends Primitive = string> {
4
4
  value: Value[];
5
5
  onChange: (event: React.ChangeEvent<HTMLInputElement> | string) => void;
6
6
  size: MantineSize | (string & {}) | undefined;
@@ -8,7 +8,7 @@ export interface CheckboxGroupContextValue<Value extends string = string> {
8
8
  }
9
9
  export declare const CheckboxGroupContext: import("react").Context<CheckboxGroupContextValue<string> | null>;
10
10
  export type CheckboxGroupStylesNames = InputWrapperStylesNames;
11
- export interface CheckboxGroupProps<Value extends string = string> extends Omit<InputWrapperProps, 'onChange'> {
11
+ export interface CheckboxGroupProps<Value extends Primitive = string> extends Omit<InputWrapperProps, 'onChange' | 'value' | 'defaultValue'> {
12
12
  /** `Checkbox` components and any other elements */
13
13
  children: React.ReactNode;
14
14
  /** Controlled component value */
@@ -38,23 +38,23 @@ export type CheckboxGroupFactory = Factory<{
38
38
  props: CheckboxGroupProps;
39
39
  ref: HTMLDivElement;
40
40
  stylesNames: CheckboxGroupStylesNames;
41
- signature: <Value extends string = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element;
41
+ signature: <Value extends Primitive = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element;
42
42
  }>;
43
- export declare const CheckboxGroup: (<Value extends string = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element) & import("../../..").ThemeExtend<{
43
+ export declare const CheckboxGroup: (<Value extends Primitive = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element) & import("../../..").ThemeExtend<{
44
44
  props: CheckboxGroupProps;
45
45
  ref: HTMLDivElement;
46
46
  stylesNames: CheckboxGroupStylesNames;
47
- signature: <Value extends string = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element;
47
+ signature: <Value extends Primitive = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element;
48
48
  }> & import("../../..").ComponentClasses<{
49
49
  props: CheckboxGroupProps;
50
50
  ref: HTMLDivElement;
51
51
  stylesNames: CheckboxGroupStylesNames;
52
- signature: <Value extends string = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element;
52
+ signature: <Value extends Primitive = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element;
53
53
  }> & Record<string, never> & import("../../..").FactoryComponentWithProps<{
54
54
  props: CheckboxGroupProps;
55
55
  ref: HTMLDivElement;
56
56
  stylesNames: CheckboxGroupStylesNames;
57
- signature: <Value extends string = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element;
57
+ signature: <Value extends Primitive = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element;
58
58
  }> & {
59
59
  displayName?: string;
60
60
  };
@@ -9,29 +9,3 @@ export { CheckIcon } from './CheckIcon';
9
9
  export { CheckboxIndicator } from './CheckboxIndicator/CheckboxIndicator';
10
10
  export { CheckboxCard, CheckboxCardContext } from './CheckboxCard/CheckboxCard';
11
11
  export type { CheckboxProps, CheckboxStylesNames, CheckboxCssVariables, CheckboxFactory, CheckboxVariant, CheckboxIconComponent, CheckboxGroupProps, CheckboxGroupStylesNames, CheckboxGroupFactory, CheckboxIndicatorProps, CheckboxIndicatorStylesNames, CheckboxIndicatorCssVariables, CheckboxIndicatorFactory, CheckboxIndicatorVariant, CheckboxCardProps, CheckboxCardStylesNames, CheckboxCardCssVariables, CheckboxCardFactory, CheckboxIconProps, CheckIconProps, };
12
- export declare namespace Checkbox {
13
- type Props = CheckboxProps;
14
- type StylesNames = CheckboxStylesNames;
15
- type CssVariables = CheckboxCssVariables;
16
- type Factory = CheckboxFactory;
17
- type Variant = CheckboxVariant;
18
- type IconComponent = CheckboxIconComponent;
19
- namespace Group {
20
- type Props = CheckboxGroupProps;
21
- type StylesNames = CheckboxGroupStylesNames;
22
- type Factory = CheckboxGroupFactory;
23
- }
24
- namespace Indicator {
25
- type Props = CheckboxIndicatorProps;
26
- type StylesNames = CheckboxIndicatorStylesNames;
27
- type CssVariables = CheckboxIndicatorCssVariables;
28
- type Factory = CheckboxIndicatorFactory;
29
- type Variant = CheckboxIndicatorVariant;
30
- }
31
- namespace Card {
32
- type Props = CheckboxCardProps;
33
- type StylesNames = CheckboxCardStylesNames;
34
- type CssVariables = CheckboxCardCssVariables;
35
- type Factory = CheckboxCardFactory;
36
- }
37
- }
@@ -1,5 +1,5 @@
1
1
  import { BoxProps, DataAttributes, ElementProps, Factory, MantineColor, MantineRadius, MantineSize, StylesApiProps } from '../../core';
2
- import { ChipGroup } from './ChipGroup/ChipGroup';
2
+ import { ChipGroup, type ChipGroupProps, type ChipGroupContextValue } from './ChipGroup/ChipGroup';
3
3
  export type ChipStylesNames = 'root' | 'input' | 'iconWrapper' | 'checkIcon' | 'label';
4
4
  export type ChipVariant = 'outline' | 'filled' | 'light';
5
5
  export type ChipCssVariables = {
@@ -53,3 +53,14 @@ export declare const Chip: import("../..").MantineComponent<{
53
53
  Group: typeof ChipGroup;
54
54
  };
55
55
  }>;
56
+ export declare namespace Chip {
57
+ type Props = ChipProps;
58
+ type StylesNames = ChipStylesNames;
59
+ type CssVariables = ChipCssVariables;
60
+ type Factory = ChipFactory;
61
+ type Variant = ChipVariant;
62
+ namespace Group {
63
+ type Props<Multiple extends boolean = false, Value extends string = string> = ChipGroupProps<Multiple, Value>;
64
+ type ContextValue<Value extends string = string> = ChipGroupContextValue<Value>;
65
+ }
66
+ }
@@ -1,5 +1,5 @@
1
- import { Factory } from '../../../core';
2
- export interface ChipGroupProps<Multiple extends boolean = false, Value extends string = string> {
1
+ import { Factory, Primitive } from '../../../core';
2
+ export interface ChipGroupProps<Multiple extends boolean = false, Value extends Primitive = string> {
3
3
  /** If set, multiple values can be selected */
4
4
  multiple?: Multiple;
5
5
  /** Controlled component value */
@@ -13,21 +13,21 @@ export interface ChipGroupProps<Multiple extends boolean = false, Value extends
13
13
  }
14
14
  export type ChipGroupFactory = Factory<{
15
15
  props: ChipGroupProps;
16
- signature: <Multiple extends boolean = false, Value extends string = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element;
16
+ signature: <Multiple extends boolean = false, Value extends Primitive = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element;
17
17
  }>;
18
- export declare const ChipGroup: (<Multiple extends boolean = false, Value extends string = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element) & import("../../..").ThemeExtend<{
18
+ export declare const ChipGroup: (<Multiple extends boolean = false, Value extends Primitive = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element) & import("../../..").ThemeExtend<{
19
19
  props: ChipGroupProps;
20
- signature: <Multiple extends boolean = false, Value extends string = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element;
20
+ signature: <Multiple extends boolean = false, Value extends Primitive = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element;
21
21
  }> & import("../../..").ComponentClasses<{
22
22
  props: ChipGroupProps;
23
- signature: <Multiple extends boolean = false, Value extends string = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element;
23
+ signature: <Multiple extends boolean = false, Value extends Primitive = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element;
24
24
  }> & Record<string, never> & import("../../..").FactoryComponentWithProps<{
25
25
  props: ChipGroupProps;
26
- signature: <Multiple extends boolean = false, Value extends string = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element;
26
+ signature: <Multiple extends boolean = false, Value extends Primitive = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element;
27
27
  }> & {
28
28
  displayName?: string;
29
29
  };
30
- export interface ChipGroupContextValue<Value extends string = string> {
30
+ export interface ChipGroupContextValue<Value extends Primitive = string> {
31
31
  isChipSelected: (value: Value) => boolean;
32
32
  onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
33
33
  multiple: boolean | undefined;
@@ -3,14 +3,3 @@ import type { ChipGroupContextValue, ChipGroupProps } from './ChipGroup/ChipGrou
3
3
  export { Chip } from './Chip';
4
4
  export { ChipGroup, ChipGroupContext } from './ChipGroup/ChipGroup';
5
5
  export type { ChipProps, ChipStylesNames, ChipCssVariables, ChipFactory, ChipVariant, ChipGroupProps, ChipGroupContextValue, };
6
- export declare namespace Chip {
7
- type Props = ChipProps;
8
- type StylesNames = ChipStylesNames;
9
- type CssVariables = ChipCssVariables;
10
- type Factory = ChipFactory;
11
- type Variant = ChipVariant;
12
- namespace Group {
13
- type Props<Multiple extends boolean = false, Value extends string = string> = ChipGroupProps<Multiple, Value>;
14
- type ContextValue<Value extends string = string> = ChipGroupContextValue<Value>;
15
- }
16
- }
@@ -69,3 +69,10 @@ export declare const CloseButton: (<C = "button">(props: import("../..").Polymor
69
69
  variant: CloseButtonVariant;
70
70
  vars: CloseButtonCssVariables;
71
71
  }> & Record<string, never>;
72
+ export declare namespace CloseButton {
73
+ type Props = CloseButtonProps;
74
+ type StylesNames = CloseButtonStylesNames;
75
+ type Factory = CloseButtonFactory;
76
+ type Variant = CloseButtonVariant;
77
+ type CssVariables = CloseButtonCssVariables;
78
+ }
@@ -3,10 +3,3 @@ import type { CloseIconProps } from './CloseIcon';
3
3
  export { CloseIcon } from './CloseIcon';
4
4
  export { CloseButton } from './CloseButton';
5
5
  export type { CloseButtonProps, CloseButtonStylesNames, CloseButtonFactory, CloseButtonVariant, CloseButtonCssVariables, __CloseButtonProps, CloseIconProps, };
6
- export declare namespace CloseButton {
7
- type Props = CloseButtonProps;
8
- type StylesNames = CloseButtonStylesNames;
9
- type Factory = CloseButtonFactory;
10
- type Variant = CloseButtonVariant;
11
- type CssVariables = CloseButtonCssVariables;
12
- }
@@ -21,3 +21,9 @@ export declare const Code: import("../..").MantineComponent<{
21
21
  stylesNames: CodeStylesNames;
22
22
  vars: CodeCssVariables;
23
23
  }>;
24
+ export declare namespace Code {
25
+ type Props = CodeProps;
26
+ type CssVariables = CodeCssVariables;
27
+ type Factory = CodeFactory;
28
+ type StylesNames = CodeStylesNames;
29
+ }
@@ -1,9 +1,3 @@
1
1
  import type { CodeCssVariables, CodeFactory, CodeProps, CodeStylesNames } from './Code';
2
2
  export { Code } from './Code';
3
3
  export type { CodeProps, CodeCssVariables, CodeFactory, CodeStylesNames };
4
- export declare namespace Code {
5
- type Props = CodeProps;
6
- type CssVariables = CodeCssVariables;
7
- type Factory = CodeFactory;
8
- type StylesNames = CodeStylesNames;
9
- }
@@ -25,3 +25,7 @@ export declare const Collapse: import("../..").MantineComponent<{
25
25
  props: CollapseProps;
26
26
  ref: HTMLDivElement;
27
27
  }>;
28
+ export declare namespace Collapse {
29
+ type Props = CollapseProps;
30
+ type Factory = CollapseFactory;
31
+ }
@@ -1,7 +1,3 @@
1
1
  import type { CollapseFactory, CollapseProps } from './Collapse';
2
2
  export { Collapse } from './Collapse';
3
3
  export type { CollapseProps, CollapseFactory };
4
- export declare namespace Collapse {
5
- type Props = CollapseProps;
6
- type Factory = CollapseFactory;
7
- }
@@ -40,3 +40,9 @@ export declare const ColorInput: import("../..").MantineComponent<{
40
40
  vars: ColorInputCssVariables;
41
41
  variant: InputVariant;
42
42
  }>;
43
+ export declare namespace ColorInput {
44
+ type Props = ColorInputProps;
45
+ type StylesNames = ColorInputStylesNames;
46
+ type CssVariables = ColorInputCssVariables;
47
+ type Factory = ColorInputFactory;
48
+ }
@@ -1,9 +1,3 @@
1
1
  import type { ColorInputCssVariables, ColorInputFactory, ColorInputProps, ColorInputStylesNames } from './ColorInput';
2
2
  export { ColorInput } from './ColorInput';
3
3
  export type { ColorInputProps, ColorInputStylesNames, ColorInputCssVariables, ColorInputFactory };
4
- export declare namespace ColorInput {
5
- type Props = ColorInputProps;
6
- type StylesNames = ColorInputStylesNames;
7
- type CssVariables = ColorInputCssVariables;
8
- type Factory = ColorInputFactory;
9
- }
@@ -13,3 +13,7 @@ export declare const AlphaSlider: import("../../..").MantineComponent<{
13
13
  ref: HTMLDivElement;
14
14
  stylesNames: ColorSliderStylesNames;
15
15
  }>;
16
+ export declare namespace AlphaSlider {
17
+ type Props = AlphaSliderProps;
18
+ type Factory = AlphaSliderFactory;
19
+ }
@@ -55,3 +55,9 @@ export declare const ColorPicker: import("../..").MantineComponent<{
55
55
  stylesNames: ColorPickerStylesNames;
56
56
  vars: ColorPickerCssVariables;
57
57
  }>;
58
+ export declare namespace ColorPicker {
59
+ type Props = ColorPickerProps;
60
+ type CssVariables = ColorPickerCssVariables;
61
+ type Factory = ColorPickerFactory;
62
+ type StylesNames = ColorPickerStylesNames;
63
+ }
@@ -12,3 +12,7 @@ export declare const HueSlider: import("../../..").MantineComponent<{
12
12
  ref: HTMLDivElement;
13
13
  stylesNames: ColorSliderStylesNames;
14
14
  }>;
15
+ export declare namespace HueSlider {
16
+ type Props = HueSliderProps;
17
+ type Factory = HueSliderFactory;
18
+ }
@@ -7,17 +7,3 @@ export { AlphaSlider } from './AlphaSlider/AlphaSlider';
7
7
  export { HueSlider } from './HueSlider/HueSlider';
8
8
  export * from './converters';
9
9
  export type { ColorPickerProps, ColorPickerCssVariables, ColorPickerFactory, ColorPickerStylesNames, __ColorPickerProps, ColorSliderFactory, HueSliderFactory, HueSliderProps, AlphaSliderFactory, AlphaSliderProps, };
10
- export declare namespace ColorPicker {
11
- type Props = ColorPickerProps;
12
- type CssVariables = ColorPickerCssVariables;
13
- type Factory = ColorPickerFactory;
14
- type StylesNames = ColorPickerStylesNames;
15
- }
16
- export declare namespace HueSlider {
17
- type Props = HueSliderProps;
18
- type Factory = HueSliderFactory;
19
- }
20
- export declare namespace AlphaSlider {
21
- type Props = AlphaSliderProps;
22
- type Factory = AlphaSliderFactory;
23
- }
@@ -57,3 +57,9 @@ export declare const ColorSwatch: (<C = "div">(props: import("../..").Polymorphi
57
57
  stylesNames: ColorSwatchStylesNames;
58
58
  vars: ColorSwatchCssVariables;
59
59
  }> & Record<string, never>;
60
+ export declare namespace ColorSwatch {
61
+ type Props = ColorSwatchProps;
62
+ type CssVariables = ColorSwatchCssVariables;
63
+ type Factory = ColorSwatchFactory;
64
+ type StylesNames = ColorSwatchStylesNames;
65
+ }
@@ -1,9 +1,3 @@
1
1
  import type { ColorSwatchCssVariables, ColorSwatchFactory, ColorSwatchProps, ColorSwatchStylesNames } from './ColorSwatch';
2
2
  export { ColorSwatch } from './ColorSwatch';
3
3
  export type { ColorSwatchProps, ColorSwatchCssVariables, ColorSwatchFactory, ColorSwatchStylesNames, };
4
- export declare namespace ColorSwatch {
5
- type Props = ColorSwatchProps;
6
- type CssVariables = ColorSwatchCssVariables;
7
- type Factory = ColorSwatchFactory;
8
- type StylesNames = ColorSwatchStylesNames;
9
- }
@@ -23,3 +23,9 @@ export declare const Container: import("../..").MantineComponent<{
23
23
  stylesNames: ContainerStylesNames;
24
24
  vars: ContainerCssVariables;
25
25
  }>;
26
+ export declare namespace Container {
27
+ type Props = ContainerProps;
28
+ type StylesNames = ContainerStylesNames;
29
+ type CssVariables = ContainerCssVariables;
30
+ type Factory = ContainerFactory;
31
+ }
@@ -1,9 +1,3 @@
1
1
  import type { ContainerCssVariables, ContainerFactory, ContainerProps, ContainerStylesNames } from './Container';
2
2
  export { Container } from './Container';
3
3
  export type { ContainerProps, ContainerStylesNames, ContainerCssVariables, ContainerFactory };
4
- export declare namespace Container {
5
- type Props = ContainerProps;
6
- type StylesNames = ContainerStylesNames;
7
- type CssVariables = ContainerCssVariables;
8
- type Factory = ContainerFactory;
9
- }
@@ -34,3 +34,9 @@ export declare const Dialog: import("../..").MantineComponent<{
34
34
  stylesNames: DialogStylesNames;
35
35
  vars: DialogCssVariables;
36
36
  }>;
37
+ export declare namespace Dialog {
38
+ type Props = DialogProps;
39
+ type StylesNames = DialogStylesNames;
40
+ type CssVariables = DialogCssVariables;
41
+ type Factory = DialogFactory;
42
+ }
@@ -1,9 +1,3 @@
1
1
  import type { DialogCssVariables, DialogFactory, DialogProps, DialogStylesNames } from './Dialog';
2
2
  export { Dialog } from './Dialog';
3
3
  export type { DialogProps, DialogStylesNames, DialogCssVariables, DialogFactory };
4
- export declare namespace Dialog {
5
- type Props = DialogProps;
6
- type StylesNames = DialogStylesNames;
7
- type CssVariables = DialogCssVariables;
8
- type Factory = DialogFactory;
9
- }
@@ -30,3 +30,10 @@ export declare const Divider: import("../..").MantineComponent<{
30
30
  vars: DividerCssVariables;
31
31
  variant: DividerVariant;
32
32
  }>;
33
+ export declare namespace Divider {
34
+ type Props = DividerProps;
35
+ type StylesNames = DividerStylesNames;
36
+ type CssVariables = DividerCssVariables;
37
+ type Factory = DividerFactory;
38
+ type Variant = DividerVariant;
39
+ }