@mantine/core 7.0.0-alpha.17 → 7.0.0-alpha.18

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 (671) hide show
  1. package/cjs/components/Accordion/Accordion.module.css.js +1 -1
  2. package/cjs/components/ActionIcon/ActionIcon.js +1 -1
  3. package/cjs/components/ActionIcon/ActionIcon.js.map +1 -1
  4. package/cjs/components/ActionIcon/ActionIcon.module.css.js +1 -1
  5. package/cjs/components/ActionIcon/ActionIconGroup/ActionIconGroup.js +7 -6
  6. package/cjs/components/ActionIcon/ActionIconGroup/ActionIconGroup.js.map +1 -1
  7. package/cjs/components/Affix/Affix.js.map +1 -1
  8. package/cjs/components/Affix/Affix.module.css.js +1 -1
  9. package/cjs/components/Alert/Alert.module.css.js +1 -1
  10. package/cjs/components/Anchor/Anchor.module.css.js +1 -1
  11. package/cjs/components/AppShell/AppShell.context.js +13 -0
  12. package/cjs/components/AppShell/AppShell.context.js.map +1 -0
  13. package/cjs/components/AppShell/AppShell.js +146 -0
  14. package/cjs/components/AppShell/AppShell.js.map +1 -0
  15. package/cjs/components/AppShell/AppShell.module.css.js +8 -0
  16. package/cjs/components/AppShell/AppShell.module.css.js.map +1 -0
  17. package/cjs/components/AppShell/AppShellAside/AppShellAside.js +72 -0
  18. package/cjs/components/AppShell/AppShellAside/AppShellAside.js.map +1 -0
  19. package/cjs/components/AppShell/AppShellFooter/AppShellFooter.js +71 -0
  20. package/cjs/components/AppShell/AppShellFooter/AppShellFooter.js.map +1 -0
  21. package/cjs/components/AppShell/AppShellHeader/AppShellHeader.js +71 -0
  22. package/cjs/components/AppShell/AppShellHeader/AppShellHeader.js.map +1 -0
  23. package/cjs/components/AppShell/AppShellMain/AppShellMain.js +61 -0
  24. package/cjs/components/AppShell/AppShellMain/AppShellMain.js.map +1 -0
  25. package/cjs/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.js +29 -0
  26. package/cjs/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.js.map +1 -0
  27. package/cjs/components/AppShell/AppShellMediaStyles/assign-aside-variables/assign-aside-variables.js +64 -0
  28. package/cjs/components/AppShell/AppShellMediaStyles/assign-aside-variables/assign-aside-variables.js.map +1 -0
  29. package/cjs/components/AppShell/AppShellMediaStyles/assign-footer-variables/assign-footer-variables.js +51 -0
  30. package/cjs/components/AppShell/AppShellMediaStyles/assign-footer-variables/assign-footer-variables.js.map +1 -0
  31. package/cjs/components/AppShell/AppShellMediaStyles/assign-header-variables/assign-header-variables.js +51 -0
  32. package/cjs/components/AppShell/AppShellMediaStyles/assign-header-variables/assign-header-variables.js.map +1 -0
  33. package/cjs/components/AppShell/AppShellMediaStyles/assign-navbar-variables/assign-navbar-variables.js +64 -0
  34. package/cjs/components/AppShell/AppShellMediaStyles/assign-navbar-variables/assign-navbar-variables.js.map +1 -0
  35. package/cjs/components/AppShell/AppShellMediaStyles/assign-padding-variables/assign-padding-variables.js +33 -0
  36. package/cjs/components/AppShell/AppShellMediaStyles/assign-padding-variables/assign-padding-variables.js.map +1 -0
  37. package/cjs/components/AppShell/AppShellMediaStyles/get-base-size/get-base-size.js +13 -0
  38. package/cjs/components/AppShell/AppShellMediaStyles/get-base-size/get-base-size.js.map +1 -0
  39. package/cjs/components/AppShell/AppShellMediaStyles/get-breakpoint-value/get-breakpoint-value.js +19 -0
  40. package/cjs/components/AppShell/AppShellMediaStyles/get-breakpoint-value/get-breakpoint-value.js.map +1 -0
  41. package/cjs/components/AppShell/AppShellMediaStyles/get-padding-value/get-padding-value.js +12 -0
  42. package/cjs/components/AppShell/AppShellMediaStyles/get-padding-value/get-padding-value.js.map +1 -0
  43. package/cjs/components/AppShell/AppShellMediaStyles/get-sorted-breakpoints/get-sorted-breakpoints.js +17 -0
  44. package/cjs/components/AppShell/AppShellMediaStyles/get-sorted-breakpoints/get-sorted-breakpoints.js.map +1 -0
  45. package/cjs/components/AppShell/AppShellMediaStyles/get-variables/get-variables.js +48 -0
  46. package/cjs/components/AppShell/AppShellMediaStyles/get-variables/get-variables.js.map +1 -0
  47. package/cjs/components/AppShell/AppShellMediaStyles/is-primitive-size/is-primitive-size.js +11 -0
  48. package/cjs/components/AppShell/AppShellMediaStyles/is-primitive-size/is-primitive-size.js.map +1 -0
  49. package/cjs/components/AppShell/AppShellMediaStyles/is-responsive-size/is-responsive-size.js +16 -0
  50. package/cjs/components/AppShell/AppShellMediaStyles/is-responsive-size/is-responsive-size.js.map +1 -0
  51. package/cjs/components/AppShell/AppShellNavbar/AppShellNavbar.js +72 -0
  52. package/cjs/components/AppShell/AppShellNavbar/AppShellNavbar.js.map +1 -0
  53. package/cjs/components/AppShell/AppShellSection/AppShellSection.js +61 -0
  54. package/cjs/components/AppShell/AppShellSection/AppShellSection.js.map +1 -0
  55. package/cjs/components/AppShell/use-resizing/use-resizing.js +26 -0
  56. package/cjs/components/AppShell/use-resizing/use-resizing.js.map +1 -0
  57. package/cjs/components/AspectRatio/AspectRatio.js.map +1 -1
  58. package/cjs/components/AspectRatio/AspectRatio.module.css.js +1 -1
  59. package/cjs/components/Avatar/Avatar.module.css.js +1 -1
  60. package/cjs/components/Avatar/AvatarGroup/AvatarGroup.js +8 -7
  61. package/cjs/components/Avatar/AvatarGroup/AvatarGroup.js.map +1 -1
  62. package/cjs/components/BackgroundImage/BackgroundImage.js.map +1 -1
  63. package/cjs/components/BackgroundImage/BackgroundImage.module.css.js +1 -1
  64. package/cjs/components/Badge/Badge.module.css.js +1 -1
  65. package/cjs/components/Blockquote/Blockquote.js.map +1 -1
  66. package/cjs/components/Blockquote/Blockquote.module.css.js +1 -1
  67. package/cjs/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
  68. package/cjs/components/Breadcrumbs/Breadcrumbs.module.css.js +1 -1
  69. package/cjs/components/Burger/Burger.js.map +1 -1
  70. package/cjs/components/Burger/Burger.module.css.js +1 -1
  71. package/cjs/components/Button/Button.js +7 -10
  72. package/cjs/components/Button/Button.js.map +1 -1
  73. package/cjs/components/Button/Button.module.css.js +1 -1
  74. package/cjs/components/Button/ButtonGroup/ButtonGroup.js +7 -6
  75. package/cjs/components/Button/ButtonGroup/ButtonGroup.js.map +1 -1
  76. package/cjs/components/Center/Center.js.map +1 -1
  77. package/cjs/components/Center/Center.module.css.js +1 -1
  78. package/cjs/components/Checkbox/Checkbox.js.map +1 -1
  79. package/cjs/components/Checkbox/Checkbox.module.css.js +1 -1
  80. package/cjs/components/Checkbox/CheckboxGroup/CheckboxGroup.js.map +1 -1
  81. package/cjs/components/Code/Code.js.map +1 -1
  82. package/cjs/components/Code/Code.module.css.js +1 -1
  83. package/cjs/components/ColorPicker/ColorPicker.js.map +1 -1
  84. package/cjs/components/ColorPicker/ColorPicker.module.css.js +1 -1
  85. package/cjs/components/ColorSwatch/ColorSwatch.js.map +1 -1
  86. package/cjs/components/ColorSwatch/ColorSwatch.module.css.js +1 -1
  87. package/cjs/components/Combobox/Combobox.module.css.js +1 -1
  88. package/cjs/components/Combobox/ComboboxChevron/ComboboxChevron.js +7 -6
  89. package/cjs/components/Combobox/ComboboxChevron/ComboboxChevron.js.map +1 -1
  90. package/cjs/components/Combobox/OptionsDropdown/OptionsDropdown.js +6 -4
  91. package/cjs/components/Combobox/OptionsDropdown/OptionsDropdown.js.map +1 -1
  92. package/cjs/components/Combobox/OptionsDropdown/validate-options.js +34 -0
  93. package/cjs/components/Combobox/OptionsDropdown/validate-options.js.map +1 -0
  94. package/cjs/components/Combobox/get-parsed-combobox-data/get-parsed-combobox-data.js +3 -0
  95. package/cjs/components/Combobox/get-parsed-combobox-data/get-parsed-combobox-data.js.map +1 -1
  96. package/cjs/components/Container/Container.js.map +1 -1
  97. package/cjs/components/Container/Container.module.css.js +1 -1
  98. package/cjs/components/Divider/Divider.module.css.js +1 -1
  99. package/cjs/components/Drawer/Drawer.js.map +1 -1
  100. package/cjs/components/Drawer/Drawer.module.css.js +1 -1
  101. package/cjs/components/Drawer/DrawerRoot.js.map +1 -1
  102. package/cjs/components/Fieldset/Fieldset.module.css.js +1 -1
  103. package/cjs/components/Group/Group.js.map +1 -1
  104. package/cjs/components/Group/Group.module.css.js +1 -1
  105. package/cjs/components/InlineInput/InlineInput.module.css.js +1 -1
  106. package/cjs/components/Input/Input.js +8 -5
  107. package/cjs/components/Input/Input.js.map +1 -1
  108. package/cjs/components/Input/Input.module.css.js +1 -1
  109. package/cjs/components/Input/InputDescription/InputDescription.js +3 -3
  110. package/cjs/components/Input/InputDescription/InputDescription.js.map +1 -1
  111. package/cjs/components/Input/InputError/InputError.js +3 -3
  112. package/cjs/components/Input/InputError/InputError.js.map +1 -1
  113. package/cjs/components/Input/InputLabel/InputLabel.js +3 -3
  114. package/cjs/components/Input/InputLabel/InputLabel.js.map +1 -1
  115. package/cjs/components/Input/InputPlaceholder/InputPlaceholder.js +3 -3
  116. package/cjs/components/Input/InputPlaceholder/InputPlaceholder.js.map +1 -1
  117. package/cjs/components/Input/InputWrapper/InputWrapper.js +3 -3
  118. package/cjs/components/Input/InputWrapper/InputWrapper.js.map +1 -1
  119. package/cjs/components/Kbd/Kbd.js.map +1 -1
  120. package/cjs/components/Kbd/Kbd.module.css.js +1 -1
  121. package/cjs/components/Loader/Loader.js.map +1 -1
  122. package/cjs/components/Loader/Loader.module.css.js +1 -1
  123. package/cjs/components/Loader/loaders/Bars.js +2 -2
  124. package/cjs/components/Loader/loaders/Bars.js.map +1 -1
  125. package/cjs/components/Loader/loaders/Dots.js +2 -2
  126. package/cjs/components/Loader/loaders/Dots.js.map +1 -1
  127. package/cjs/components/Loader/loaders/Oval.js +2 -2
  128. package/cjs/components/Loader/loaders/Oval.js.map +1 -1
  129. package/cjs/components/Mark/Mark.js.map +1 -1
  130. package/cjs/components/Mark/Mark.module.css.js +1 -1
  131. package/cjs/components/Modal/Modal.js.map +1 -1
  132. package/cjs/components/Modal/Modal.module.css.js +1 -1
  133. package/cjs/components/Modal/ModalRoot.js.map +1 -1
  134. package/cjs/components/ModalBase/ModalBase.module.css.js +1 -1
  135. package/cjs/components/MultiSelect/MultiSelect.js +5 -2
  136. package/cjs/components/MultiSelect/MultiSelect.js.map +1 -1
  137. package/cjs/components/Notification/Notification.js.map +1 -1
  138. package/cjs/components/Notification/Notification.module.css.js +1 -1
  139. package/cjs/components/Overlay/Overlay.js.map +1 -1
  140. package/cjs/components/Overlay/Overlay.module.css.js +1 -1
  141. package/cjs/components/Pagination/Pagination.context.js +13 -0
  142. package/cjs/components/Pagination/Pagination.context.js.map +1 -0
  143. package/cjs/components/Pagination/Pagination.icons.js +93 -0
  144. package/cjs/components/Pagination/Pagination.icons.js.map +1 -0
  145. package/cjs/components/Pagination/Pagination.js +96 -0
  146. package/cjs/components/Pagination/Pagination.js.map +1 -0
  147. package/cjs/components/Pagination/Pagination.module.css.js +8 -0
  148. package/cjs/components/Pagination/Pagination.module.css.js.map +1 -0
  149. package/cjs/components/Pagination/PaginationControl/PaginationControl.js +85 -0
  150. package/cjs/components/Pagination/PaginationControl/PaginationControl.js.map +1 -0
  151. package/cjs/components/Pagination/PaginationDots/PaginationDots.js +67 -0
  152. package/cjs/components/Pagination/PaginationDots/PaginationDots.js.map +1 -0
  153. package/cjs/components/Pagination/PaginationEdges/PaginationEdges.js +103 -0
  154. package/cjs/components/Pagination/PaginationEdges/PaginationEdges.js.map +1 -0
  155. package/cjs/components/Pagination/PaginationItems/PaginationItems.js +54 -0
  156. package/cjs/components/Pagination/PaginationItems/PaginationItems.js.map +1 -0
  157. package/cjs/components/Pagination/PaginationRoot/PaginationRoot.js +158 -0
  158. package/cjs/components/Pagination/PaginationRoot/PaginationRoot.js.map +1 -0
  159. package/cjs/components/Paper/Paper.js.map +1 -1
  160. package/cjs/components/Paper/Paper.module.css.js +1 -1
  161. package/cjs/components/Pill/Pill.module.css.js +1 -1
  162. package/cjs/components/Pill/PillGroup/PillGroup.js +7 -6
  163. package/cjs/components/Pill/PillGroup/PillGroup.js.map +1 -1
  164. package/cjs/components/{Pill/PillGroup/PillGroup.module.css.js → PillsInput/PillsInput.module.css.js} +2 -2
  165. package/cjs/components/PillsInput/PillsInput.module.css.js.map +1 -0
  166. package/cjs/components/PillsInput/PillsInputField/PillsInputField.js +6 -5
  167. package/cjs/components/PillsInput/PillsInputField/PillsInputField.js.map +1 -1
  168. package/cjs/components/Popover/Popover.module.css.js +1 -1
  169. package/cjs/components/ScrollArea/ScrollArea.js.map +1 -1
  170. package/cjs/components/ScrollArea/ScrollArea.module.css.js +1 -1
  171. package/cjs/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.js.map +1 -1
  172. package/cjs/components/SegmentedControl/SegmentedControl.js.map +1 -1
  173. package/cjs/components/SegmentedControl/SegmentedControl.module.css.js +1 -1
  174. package/cjs/components/Select/Select.js +8 -0
  175. package/cjs/components/Select/Select.js.map +1 -1
  176. package/cjs/components/Skeleton/Skeleton.js +112 -0
  177. package/cjs/components/Skeleton/Skeleton.js.map +1 -0
  178. package/cjs/components/Skeleton/Skeleton.module.css.js +8 -0
  179. package/cjs/components/Skeleton/Skeleton.module.css.js.map +1 -0
  180. package/cjs/components/Slider/RangeSlider/RangeSlider.js.map +1 -1
  181. package/cjs/components/Slider/Slider/Slider.js +1 -1
  182. package/cjs/components/Slider/Slider/Slider.js.map +1 -1
  183. package/cjs/components/Slider/Slider.context.js.map +1 -1
  184. package/cjs/components/Slider/Slider.module.css.js +1 -1
  185. package/cjs/components/Stack/Stack.js.map +1 -1
  186. package/cjs/components/Stack/Stack.module.css.js +1 -1
  187. package/cjs/components/Switch/Switch.js.map +1 -1
  188. package/cjs/components/Switch/Switch.module.css.js +1 -1
  189. package/cjs/components/Switch/SwitchGroup/SwitchGroup.js.map +1 -1
  190. package/cjs/components/Table/Table.js.map +1 -1
  191. package/cjs/components/Table/Table.module.css.js +1 -1
  192. package/cjs/components/Tabs/Tabs.module.css.js +1 -1
  193. package/cjs/components/TagsInput/TagsInput.js +5 -2
  194. package/cjs/components/TagsInput/TagsInput.js.map +1 -1
  195. package/cjs/components/Text/Text.module.css.js +1 -1
  196. package/cjs/components/Title/Title.js.map +1 -1
  197. package/cjs/components/Title/Title.module.css.js +1 -1
  198. package/cjs/components/Tooltip/Tooltip.module.css.js +1 -1
  199. package/cjs/components/TypographyStylesProvider/TypographyStylesProvider.js.map +1 -1
  200. package/cjs/components/TypographyStylesProvider/TypographyStylesProvider.module.css.js +1 -1
  201. package/cjs/components/UnstyledButton/UnstyledButton.module.css.js +1 -1
  202. package/cjs/components/VisuallyHidden/VisuallyHidden.module.css.js +1 -1
  203. package/cjs/core/Box/Box.js +6 -2
  204. package/cjs/core/Box/Box.js.map +1 -1
  205. package/cjs/core/Box/style-props/extract-style-props/extract-style-props.js +9 -3
  206. package/cjs/core/Box/style-props/extract-style-props/extract-style-props.js.map +1 -1
  207. package/cjs/core/Box/style-props/parse-style-props/parse-style-props.js +3 -0
  208. package/cjs/core/Box/style-props/parse-style-props/parse-style-props.js.map +1 -1
  209. package/cjs/core/MantineProvider/Mantine.context.js.map +1 -1
  210. package/cjs/core/MantineProvider/MantineClasses/MantineClasses.js +38 -0
  211. package/cjs/core/MantineProvider/MantineClasses/MantineClasses.js.map +1 -0
  212. package/cjs/core/MantineProvider/MantineProvider.js +4 -2
  213. package/cjs/core/MantineProvider/MantineProvider.js.map +1 -1
  214. package/cjs/core/utils/create-event-handler/create-event-handler.js +13 -0
  215. package/cjs/core/utils/create-event-handler/create-event-handler.js.map +1 -0
  216. package/cjs/index.css +1261 -964
  217. package/cjs/index.js +33 -0
  218. package/cjs/index.js.map +1 -1
  219. package/esm/components/Accordion/Accordion.module.css.js +1 -1
  220. package/esm/components/ActionIcon/ActionIcon.js +1 -1
  221. package/esm/components/ActionIcon/ActionIcon.js.map +1 -1
  222. package/esm/components/ActionIcon/ActionIcon.module.css.js +1 -1
  223. package/esm/components/ActionIcon/ActionIconGroup/ActionIconGroup.js +5 -4
  224. package/esm/components/ActionIcon/ActionIconGroup/ActionIconGroup.js.map +1 -1
  225. package/esm/components/Affix/Affix.js.map +1 -1
  226. package/esm/components/Affix/Affix.module.css.js +1 -1
  227. package/esm/components/Alert/Alert.module.css.js +1 -1
  228. package/esm/components/Anchor/Anchor.module.css.js +1 -1
  229. package/esm/components/AppShell/AppShell.context.js +8 -0
  230. package/esm/components/AppShell/AppShell.context.js.map +1 -0
  231. package/esm/components/AppShell/AppShell.js +138 -0
  232. package/esm/components/AppShell/AppShell.js.map +1 -0
  233. package/esm/components/AppShell/AppShell.module.css.js +4 -0
  234. package/esm/components/AppShell/AppShell.module.css.js.map +1 -0
  235. package/esm/components/AppShell/AppShellAside/AppShellAside.js +64 -0
  236. package/esm/components/AppShell/AppShellAside/AppShellAside.js.map +1 -0
  237. package/esm/components/AppShell/AppShellFooter/AppShellFooter.js +63 -0
  238. package/esm/components/AppShell/AppShellFooter/AppShellFooter.js.map +1 -0
  239. package/esm/components/AppShell/AppShellHeader/AppShellHeader.js +63 -0
  240. package/esm/components/AppShell/AppShellHeader/AppShellHeader.js.map +1 -0
  241. package/esm/components/AppShell/AppShellMain/AppShellMain.js +53 -0
  242. package/esm/components/AppShell/AppShellMain/AppShellMain.js.map +1 -0
  243. package/esm/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.js +21 -0
  244. package/esm/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.js.map +1 -0
  245. package/esm/components/AppShell/AppShellMediaStyles/assign-aside-variables/assign-aside-variables.js +60 -0
  246. package/esm/components/AppShell/AppShellMediaStyles/assign-aside-variables/assign-aside-variables.js.map +1 -0
  247. package/esm/components/AppShell/AppShellMediaStyles/assign-footer-variables/assign-footer-variables.js +47 -0
  248. package/esm/components/AppShell/AppShellMediaStyles/assign-footer-variables/assign-footer-variables.js.map +1 -0
  249. package/esm/components/AppShell/AppShellMediaStyles/assign-header-variables/assign-header-variables.js +47 -0
  250. package/esm/components/AppShell/AppShellMediaStyles/assign-header-variables/assign-header-variables.js.map +1 -0
  251. package/esm/components/AppShell/AppShellMediaStyles/assign-navbar-variables/assign-navbar-variables.js +60 -0
  252. package/esm/components/AppShell/AppShellMediaStyles/assign-navbar-variables/assign-navbar-variables.js.map +1 -0
  253. package/esm/components/AppShell/AppShellMediaStyles/assign-padding-variables/assign-padding-variables.js +29 -0
  254. package/esm/components/AppShell/AppShellMediaStyles/assign-padding-variables/assign-padding-variables.js.map +1 -0
  255. package/esm/components/AppShell/AppShellMediaStyles/get-base-size/get-base-size.js +9 -0
  256. package/esm/components/AppShell/AppShellMediaStyles/get-base-size/get-base-size.js.map +1 -0
  257. package/esm/components/AppShell/AppShellMediaStyles/get-breakpoint-value/get-breakpoint-value.js +15 -0
  258. package/esm/components/AppShell/AppShellMediaStyles/get-breakpoint-value/get-breakpoint-value.js.map +1 -0
  259. package/esm/components/AppShell/AppShellMediaStyles/get-padding-value/get-padding-value.js +8 -0
  260. package/esm/components/AppShell/AppShellMediaStyles/get-padding-value/get-padding-value.js.map +1 -0
  261. package/esm/components/AppShell/AppShellMediaStyles/get-sorted-breakpoints/get-sorted-breakpoints.js +13 -0
  262. package/esm/components/AppShell/AppShellMediaStyles/get-sorted-breakpoints/get-sorted-breakpoints.js.map +1 -0
  263. package/esm/components/AppShell/AppShellMediaStyles/get-variables/get-variables.js +44 -0
  264. package/esm/components/AppShell/AppShellMediaStyles/get-variables/get-variables.js.map +1 -0
  265. package/esm/components/AppShell/AppShellMediaStyles/is-primitive-size/is-primitive-size.js +7 -0
  266. package/esm/components/AppShell/AppShellMediaStyles/is-primitive-size/is-primitive-size.js.map +1 -0
  267. package/esm/components/AppShell/AppShellMediaStyles/is-responsive-size/is-responsive-size.js +12 -0
  268. package/esm/components/AppShell/AppShellMediaStyles/is-responsive-size/is-responsive-size.js.map +1 -0
  269. package/esm/components/AppShell/AppShellNavbar/AppShellNavbar.js +64 -0
  270. package/esm/components/AppShell/AppShellNavbar/AppShellNavbar.js.map +1 -0
  271. package/esm/components/AppShell/AppShellSection/AppShellSection.js +53 -0
  272. package/esm/components/AppShell/AppShellSection/AppShellSection.js.map +1 -0
  273. package/esm/components/AppShell/use-resizing/use-resizing.js +22 -0
  274. package/esm/components/AppShell/use-resizing/use-resizing.js.map +1 -0
  275. package/esm/components/AspectRatio/AspectRatio.js.map +1 -1
  276. package/esm/components/AspectRatio/AspectRatio.module.css.js +1 -1
  277. package/esm/components/Avatar/Avatar.module.css.js +1 -1
  278. package/esm/components/Avatar/AvatarGroup/AvatarGroup.js +6 -5
  279. package/esm/components/Avatar/AvatarGroup/AvatarGroup.js.map +1 -1
  280. package/esm/components/BackgroundImage/BackgroundImage.js.map +1 -1
  281. package/esm/components/BackgroundImage/BackgroundImage.module.css.js +1 -1
  282. package/esm/components/Badge/Badge.module.css.js +1 -1
  283. package/esm/components/Blockquote/Blockquote.js.map +1 -1
  284. package/esm/components/Blockquote/Blockquote.module.css.js +1 -1
  285. package/esm/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
  286. package/esm/components/Breadcrumbs/Breadcrumbs.module.css.js +1 -1
  287. package/esm/components/Burger/Burger.js.map +1 -1
  288. package/esm/components/Burger/Burger.module.css.js +1 -1
  289. package/esm/components/Button/Button.js +7 -10
  290. package/esm/components/Button/Button.js.map +1 -1
  291. package/esm/components/Button/Button.module.css.js +1 -1
  292. package/esm/components/Button/ButtonGroup/ButtonGroup.js +5 -4
  293. package/esm/components/Button/ButtonGroup/ButtonGroup.js.map +1 -1
  294. package/esm/components/Center/Center.js.map +1 -1
  295. package/esm/components/Center/Center.module.css.js +1 -1
  296. package/esm/components/Checkbox/Checkbox.js.map +1 -1
  297. package/esm/components/Checkbox/Checkbox.module.css.js +1 -1
  298. package/esm/components/Checkbox/CheckboxGroup/CheckboxGroup.js.map +1 -1
  299. package/esm/components/Code/Code.js.map +1 -1
  300. package/esm/components/Code/Code.module.css.js +1 -1
  301. package/esm/components/ColorPicker/ColorPicker.js.map +1 -1
  302. package/esm/components/ColorPicker/ColorPicker.module.css.js +1 -1
  303. package/esm/components/ColorSwatch/ColorSwatch.js.map +1 -1
  304. package/esm/components/ColorSwatch/ColorSwatch.module.css.js +1 -1
  305. package/esm/components/Combobox/Combobox.module.css.js +1 -1
  306. package/esm/components/Combobox/ComboboxChevron/ComboboxChevron.js +5 -4
  307. package/esm/components/Combobox/ComboboxChevron/ComboboxChevron.js.map +1 -1
  308. package/esm/components/Combobox/OptionsDropdown/OptionsDropdown.js +6 -4
  309. package/esm/components/Combobox/OptionsDropdown/OptionsDropdown.js.map +1 -1
  310. package/esm/components/Combobox/OptionsDropdown/validate-options.js +30 -0
  311. package/esm/components/Combobox/OptionsDropdown/validate-options.js.map +1 -0
  312. package/esm/components/Combobox/get-parsed-combobox-data/get-parsed-combobox-data.js +3 -0
  313. package/esm/components/Combobox/get-parsed-combobox-data/get-parsed-combobox-data.js.map +1 -1
  314. package/esm/components/Container/Container.js.map +1 -1
  315. package/esm/components/Container/Container.module.css.js +1 -1
  316. package/esm/components/Divider/Divider.module.css.js +1 -1
  317. package/esm/components/Drawer/Drawer.js.map +1 -1
  318. package/esm/components/Drawer/Drawer.module.css.js +1 -1
  319. package/esm/components/Drawer/DrawerRoot.js.map +1 -1
  320. package/esm/components/Fieldset/Fieldset.module.css.js +1 -1
  321. package/esm/components/Group/Group.js.map +1 -1
  322. package/esm/components/Group/Group.module.css.js +1 -1
  323. package/esm/components/InlineInput/InlineInput.module.css.js +1 -1
  324. package/esm/components/Input/Input.js +8 -5
  325. package/esm/components/Input/Input.js.map +1 -1
  326. package/esm/components/Input/Input.module.css.js +1 -1
  327. package/esm/components/Input/InputDescription/InputDescription.js +1 -1
  328. package/esm/components/Input/InputDescription/InputDescription.js.map +1 -1
  329. package/esm/components/Input/InputError/InputError.js +1 -1
  330. package/esm/components/Input/InputError/InputError.js.map +1 -1
  331. package/esm/components/Input/InputLabel/InputLabel.js +1 -1
  332. package/esm/components/Input/InputLabel/InputLabel.js.map +1 -1
  333. package/esm/components/Input/InputPlaceholder/InputPlaceholder.js +1 -1
  334. package/esm/components/Input/InputPlaceholder/InputPlaceholder.js.map +1 -1
  335. package/esm/components/Input/InputWrapper/InputWrapper.js +1 -1
  336. package/esm/components/Input/InputWrapper/InputWrapper.js.map +1 -1
  337. package/esm/components/Kbd/Kbd.js.map +1 -1
  338. package/esm/components/Kbd/Kbd.module.css.js +1 -1
  339. package/esm/components/Loader/Loader.js.map +1 -1
  340. package/esm/components/Loader/Loader.module.css.js +1 -1
  341. package/esm/components/Loader/loaders/Bars.js +2 -2
  342. package/esm/components/Loader/loaders/Bars.js.map +1 -1
  343. package/esm/components/Loader/loaders/Dots.js +2 -2
  344. package/esm/components/Loader/loaders/Dots.js.map +1 -1
  345. package/esm/components/Loader/loaders/Oval.js +2 -2
  346. package/esm/components/Loader/loaders/Oval.js.map +1 -1
  347. package/esm/components/Mark/Mark.js.map +1 -1
  348. package/esm/components/Mark/Mark.module.css.js +1 -1
  349. package/esm/components/Modal/Modal.js.map +1 -1
  350. package/esm/components/Modal/Modal.module.css.js +1 -1
  351. package/esm/components/Modal/ModalRoot.js.map +1 -1
  352. package/esm/components/ModalBase/ModalBase.module.css.js +1 -1
  353. package/esm/components/MultiSelect/MultiSelect.js +5 -2
  354. package/esm/components/MultiSelect/MultiSelect.js.map +1 -1
  355. package/esm/components/Notification/Notification.js.map +1 -1
  356. package/esm/components/Notification/Notification.module.css.js +1 -1
  357. package/esm/components/Overlay/Overlay.js.map +1 -1
  358. package/esm/components/Overlay/Overlay.module.css.js +1 -1
  359. package/esm/components/Pagination/Pagination.context.js +8 -0
  360. package/esm/components/Pagination/Pagination.context.js.map +1 -0
  361. package/esm/components/Pagination/Pagination.icons.js +81 -0
  362. package/esm/components/Pagination/Pagination.icons.js.map +1 -0
  363. package/esm/components/Pagination/Pagination.js +88 -0
  364. package/esm/components/Pagination/Pagination.js.map +1 -0
  365. package/esm/components/Pagination/Pagination.module.css.js +4 -0
  366. package/esm/components/Pagination/Pagination.module.css.js.map +1 -0
  367. package/esm/components/Pagination/PaginationControl/PaginationControl.js +77 -0
  368. package/esm/components/Pagination/PaginationControl/PaginationControl.js.map +1 -0
  369. package/esm/components/Pagination/PaginationDots/PaginationDots.js +59 -0
  370. package/esm/components/Pagination/PaginationDots/PaginationDots.js.map +1 -0
  371. package/esm/components/Pagination/PaginationEdges/PaginationEdges.js +91 -0
  372. package/esm/components/Pagination/PaginationEdges/PaginationEdges.js.map +1 -0
  373. package/esm/components/Pagination/PaginationItems/PaginationItems.js +46 -0
  374. package/esm/components/Pagination/PaginationItems/PaginationItems.js.map +1 -0
  375. package/esm/components/Pagination/PaginationRoot/PaginationRoot.js +150 -0
  376. package/esm/components/Pagination/PaginationRoot/PaginationRoot.js.map +1 -0
  377. package/esm/components/Paper/Paper.js.map +1 -1
  378. package/esm/components/Paper/Paper.module.css.js +1 -1
  379. package/esm/components/Pill/Pill.module.css.js +1 -1
  380. package/esm/components/Pill/PillGroup/PillGroup.js +5 -4
  381. package/esm/components/Pill/PillGroup/PillGroup.js.map +1 -1
  382. package/esm/components/PillsInput/PillsInput.module.css.js +4 -0
  383. package/esm/components/PillsInput/PillsInput.module.css.js.map +1 -0
  384. package/esm/components/PillsInput/PillsInputField/PillsInputField.js +4 -3
  385. package/esm/components/PillsInput/PillsInputField/PillsInputField.js.map +1 -1
  386. package/esm/components/Popover/Popover.module.css.js +1 -1
  387. package/esm/components/ScrollArea/ScrollArea.js.map +1 -1
  388. package/esm/components/ScrollArea/ScrollArea.module.css.js +1 -1
  389. package/esm/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.js.map +1 -1
  390. package/esm/components/SegmentedControl/SegmentedControl.js.map +1 -1
  391. package/esm/components/SegmentedControl/SegmentedControl.module.css.js +1 -1
  392. package/esm/components/Select/Select.js +8 -0
  393. package/esm/components/Select/Select.js.map +1 -1
  394. package/esm/components/Skeleton/Skeleton.js +104 -0
  395. package/esm/components/Skeleton/Skeleton.js.map +1 -0
  396. package/esm/components/Skeleton/Skeleton.module.css.js +4 -0
  397. package/esm/components/Skeleton/Skeleton.module.css.js.map +1 -0
  398. package/esm/components/Slider/RangeSlider/RangeSlider.js.map +1 -1
  399. package/esm/components/Slider/Slider/Slider.js +1 -1
  400. package/esm/components/Slider/Slider/Slider.js.map +1 -1
  401. package/esm/components/Slider/Slider.context.js.map +1 -1
  402. package/esm/components/Slider/Slider.module.css.js +1 -1
  403. package/esm/components/Stack/Stack.js.map +1 -1
  404. package/esm/components/Stack/Stack.module.css.js +1 -1
  405. package/esm/components/Switch/Switch.js.map +1 -1
  406. package/esm/components/Switch/Switch.module.css.js +1 -1
  407. package/esm/components/Switch/SwitchGroup/SwitchGroup.js.map +1 -1
  408. package/esm/components/Table/Table.js.map +1 -1
  409. package/esm/components/Table/Table.module.css.js +1 -1
  410. package/esm/components/Tabs/Tabs.module.css.js +1 -1
  411. package/esm/components/TagsInput/TagsInput.js +5 -2
  412. package/esm/components/TagsInput/TagsInput.js.map +1 -1
  413. package/esm/components/Text/Text.module.css.js +1 -1
  414. package/esm/components/Title/Title.js.map +1 -1
  415. package/esm/components/Title/Title.module.css.js +1 -1
  416. package/esm/components/Tooltip/Tooltip.module.css.js +1 -1
  417. package/esm/components/TypographyStylesProvider/TypographyStylesProvider.js.map +1 -1
  418. package/esm/components/TypographyStylesProvider/TypographyStylesProvider.module.css.js +1 -1
  419. package/esm/components/UnstyledButton/UnstyledButton.module.css.js +1 -1
  420. package/esm/components/VisuallyHidden/VisuallyHidden.module.css.js +1 -1
  421. package/esm/core/Box/Box.js +6 -2
  422. package/esm/core/Box/Box.js.map +1 -1
  423. package/esm/core/Box/style-props/extract-style-props/extract-style-props.js +9 -3
  424. package/esm/core/Box/style-props/extract-style-props/extract-style-props.js.map +1 -1
  425. package/esm/core/Box/style-props/parse-style-props/parse-style-props.js +3 -0
  426. package/esm/core/Box/style-props/parse-style-props/parse-style-props.js.map +1 -1
  427. package/esm/core/MantineProvider/Mantine.context.js.map +1 -1
  428. package/esm/core/MantineProvider/MantineClasses/MantineClasses.js +30 -0
  429. package/esm/core/MantineProvider/MantineClasses/MantineClasses.js.map +1 -0
  430. package/esm/core/MantineProvider/MantineProvider.js +4 -2
  431. package/esm/core/MantineProvider/MantineProvider.js.map +1 -1
  432. package/esm/core/utils/create-event-handler/create-event-handler.js +9 -0
  433. package/esm/core/utils/create-event-handler/create-event-handler.js.map +1 -0
  434. package/esm/index.css +1261 -964
  435. package/esm/index.js +15 -0
  436. package/esm/index.js.map +1 -1
  437. package/esm/styles/Accordion.css +1 -0
  438. package/esm/styles/ActionIcon.css +1 -0
  439. package/esm/styles/Affix.css +1 -0
  440. package/esm/styles/Alert.css +1 -0
  441. package/esm/styles/Anchor.css +1 -0
  442. package/esm/styles/AppShell.css +7 -0
  443. package/esm/styles/AspectRatio.css +1 -0
  444. package/esm/styles/Avatar.css +1 -0
  445. package/esm/styles/BackgroundImage.css +1 -0
  446. package/esm/styles/Badge.css +1 -0
  447. package/esm/styles/Blockquote.css +1 -0
  448. package/esm/styles/Breadcrumbs.css +1 -0
  449. package/esm/styles/Burger.css +1 -0
  450. package/esm/styles/Button.css +1 -0
  451. package/esm/styles/Center.css +1 -0
  452. package/esm/styles/Checkbox.css +1 -0
  453. package/esm/styles/Code.css +1 -0
  454. package/esm/styles/ColorPicker.css +1 -0
  455. package/esm/styles/ColorSwatch.css +1 -0
  456. package/esm/styles/Combobox.css +1 -0
  457. package/esm/styles/Container.css +1 -0
  458. package/esm/styles/Divider.css +1 -0
  459. package/esm/styles/Drawer.css +1 -0
  460. package/esm/styles/Fieldset.css +1 -0
  461. package/esm/styles/Group.css +1 -0
  462. package/esm/styles/InlineInput.css +1 -0
  463. package/esm/styles/Input.css +3 -0
  464. package/esm/styles/Kbd.css +1 -0
  465. package/esm/styles/Loader.css +1 -0
  466. package/esm/styles/Mark.css +1 -0
  467. package/esm/styles/Modal.css +1 -0
  468. package/esm/styles/ModalBase.css +1 -0
  469. package/esm/styles/Notification.css +1 -0
  470. package/esm/styles/Overlay.css +1 -0
  471. package/esm/styles/Pagination.css +1 -0
  472. package/esm/styles/Paper.css +1 -0
  473. package/esm/styles/Pill.css +1 -0
  474. package/esm/styles/PillsInput.css +1 -0
  475. package/esm/styles/Popover.css +1 -0
  476. package/esm/styles/ScrollArea.css +1 -0
  477. package/esm/styles/SegmentedControl.css +1 -0
  478. package/esm/styles/Skeleton.css +1 -0
  479. package/esm/styles/Slider.css +1 -0
  480. package/esm/styles/Stack.css +1 -0
  481. package/esm/styles/Switch.css +1 -0
  482. package/esm/styles/Table.css +1 -0
  483. package/esm/styles/Tabs.css +1 -0
  484. package/esm/styles/Text.css +1 -0
  485. package/esm/styles/Title.css +1 -0
  486. package/esm/styles/Tooltip.css +1 -0
  487. package/esm/styles/TypographyStylesProvider.css +1 -0
  488. package/esm/styles/UnstyledButton.css +1 -0
  489. package/esm/styles/VisuallyHidden.css +1 -0
  490. package/esm/styles/global.css +1 -0
  491. package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.d.ts +2 -5
  492. package/lib/components/Affix/Affix.d.ts +0 -3
  493. package/lib/components/Affix/index.d.ts +1 -1
  494. package/lib/components/AppShell/AppShell.context.d.ts +13 -0
  495. package/lib/components/AppShell/AppShell.d.ts +96 -0
  496. package/lib/components/AppShell/AppShellAside/AppShellAside.d.ts +19 -0
  497. package/lib/components/AppShell/AppShellFooter/AppShellFooter.d.ts +27 -0
  498. package/lib/components/AppShell/AppShellHeader/AppShellHeader.d.ts +27 -0
  499. package/lib/components/AppShell/AppShellMain/AppShellMain.d.ts +16 -0
  500. package/lib/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.d.ts +11 -0
  501. package/lib/components/AppShell/AppShellMediaStyles/assign-aside-variables/assign-aside-variables.d.ts +12 -0
  502. package/lib/components/AppShell/AppShellMediaStyles/assign-footer-variables/assign-footer-variables.d.ts +9 -0
  503. package/lib/components/AppShell/AppShellMediaStyles/assign-header-variables/assign-header-variables.d.ts +9 -0
  504. package/lib/components/AppShell/AppShellMediaStyles/assign-header-variables.d.ts +12 -0
  505. package/lib/components/AppShell/AppShellMediaStyles/assign-navbar-variables/assign-navbar-variables.d.ts +12 -0
  506. package/lib/components/AppShell/AppShellMediaStyles/assign-navbar-variables.d.ts +12 -0
  507. package/lib/components/AppShell/AppShellMediaStyles/assign-padding-variables/assign-padding-variables.d.ts +9 -0
  508. package/lib/components/AppShell/AppShellMediaStyles/get-base-size/get-base-size.d.ts +2 -0
  509. package/lib/components/AppShell/AppShellMediaStyles/get-base-size.d.ts +2 -0
  510. package/lib/components/AppShell/AppShellMediaStyles/get-breakpoint-value/get-breakpoint-value.d.ts +2 -0
  511. package/lib/components/AppShell/AppShellMediaStyles/get-breakpoint-value.d.ts +2 -0
  512. package/lib/components/AppShell/AppShellMediaStyles/get-padding-value/get-padding-value.d.ts +1 -0
  513. package/lib/components/AppShell/AppShellMediaStyles/get-padding-value.d.ts +1 -0
  514. package/lib/components/AppShell/AppShellMediaStyles/get-sorted-breakpoints/get-sorted-breakpoints.d.ts +5 -0
  515. package/lib/components/AppShell/AppShellMediaStyles/get-sorted-breakpoints.d.ts +5 -0
  516. package/lib/components/AppShell/AppShellMediaStyles/get-variables/get-variables.d.ts +20 -0
  517. package/lib/components/AppShell/AppShellMediaStyles/is-primitive-size/is-primitive-size.d.ts +2 -0
  518. package/lib/components/AppShell/AppShellMediaStyles/is-primitive-size.d.ts +2 -0
  519. package/lib/components/AppShell/AppShellMediaStyles/is-responsive-size/is-responsive-size.d.ts +2 -0
  520. package/lib/components/AppShell/AppShellMediaStyles/is-responsive-size.d.ts +2 -0
  521. package/lib/components/AppShell/AppShellNavbar/AppShellNavbar.d.ts +19 -0
  522. package/lib/components/AppShell/AppShellSection/AppShellSection.d.ts +33 -0
  523. package/lib/components/AppShell/index.d.ts +14 -0
  524. package/lib/components/AppShell/use-resizing/use-resizing.d.ts +6 -0
  525. package/lib/components/AspectRatio/AspectRatio.d.ts +0 -3
  526. package/lib/components/AspectRatio/index.d.ts +1 -1
  527. package/lib/components/Avatar/AvatarGroup/AvatarGroup.d.ts +2 -5
  528. package/lib/components/Avatar/index.d.ts +1 -1
  529. package/lib/components/BackgroundImage/BackgroundImage.d.ts +0 -4
  530. package/lib/components/BackgroundImage/index.d.ts +1 -1
  531. package/lib/components/Blockquote/Blockquote.d.ts +0 -3
  532. package/lib/components/Blockquote/index.d.ts +1 -1
  533. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -3
  534. package/lib/components/Breadcrumbs/index.d.ts +1 -1
  535. package/lib/components/Burger/Burger.d.ts +0 -3
  536. package/lib/components/Burger/index.d.ts +1 -1
  537. package/lib/components/Button/ButtonGroup/ButtonGroup.d.ts +2 -5
  538. package/lib/components/Center/Center.d.ts +0 -4
  539. package/lib/components/Center/index.d.ts +1 -1
  540. package/lib/components/Checkbox/Checkbox.d.ts +0 -3
  541. package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +0 -1
  542. package/lib/components/Checkbox/index.d.ts +2 -2
  543. package/lib/components/Code/Code.d.ts +0 -3
  544. package/lib/components/Code/index.d.ts +1 -1
  545. package/lib/components/ColorPicker/ColorPicker.d.ts +0 -3
  546. package/lib/components/ColorPicker/index.d.ts +1 -1
  547. package/lib/components/ColorSwatch/ColorSwatch.d.ts +0 -5
  548. package/lib/components/ColorSwatch/index.d.ts +1 -1
  549. package/lib/components/Combobox/Combobox.d.ts +1 -1
  550. package/lib/components/Combobox/ComboboxChevron/ComboboxChevron.d.ts +2 -2
  551. package/lib/components/Combobox/OptionsDropdown/validate-options.d.ts +1 -0
  552. package/lib/components/Container/Container.d.ts +0 -3
  553. package/lib/components/Container/index.d.ts +1 -1
  554. package/lib/components/Drawer/Drawer.d.ts +0 -3
  555. package/lib/components/Drawer/DrawerRoot.d.ts +0 -3
  556. package/lib/components/Drawer/index.d.ts +1 -1
  557. package/lib/components/Group/Group.d.ts +0 -3
  558. package/lib/components/Group/index.d.ts +1 -1
  559. package/lib/components/Input/Input.d.ts +2 -0
  560. package/lib/components/Input/InputDescription/InputDescription.d.ts +0 -3
  561. package/lib/components/Input/InputError/InputError.d.ts +0 -3
  562. package/lib/components/Input/InputLabel/InputLabel.d.ts +0 -3
  563. package/lib/components/Input/InputPlaceholder/InputPlaceholder.d.ts +0 -3
  564. package/lib/components/Input/index.d.ts +4 -4
  565. package/lib/components/Input/use-input-props.d.ts +46 -46
  566. package/lib/components/InputBase/InputBase.d.ts +1 -1
  567. package/lib/components/Kbd/Kbd.d.ts +0 -3
  568. package/lib/components/Kbd/index.d.ts +1 -1
  569. package/lib/components/Loader/Loader.d.ts +0 -1
  570. package/lib/components/Mark/Mark.d.ts +0 -1
  571. package/lib/components/Modal/Modal.d.ts +0 -3
  572. package/lib/components/Modal/ModalRoot.d.ts +0 -3
  573. package/lib/components/Modal/index.d.ts +1 -1
  574. package/lib/components/Notification/Notification.d.ts +0 -3
  575. package/lib/components/Notification/index.d.ts +1 -1
  576. package/lib/components/Overlay/Overlay.d.ts +0 -4
  577. package/lib/components/Overlay/index.d.ts +1 -1
  578. package/lib/components/Pagination/Pagination.context.d.ts +21 -0
  579. package/lib/components/Pagination/Pagination.d.ts +61 -0
  580. package/lib/components/Pagination/Pagination.icons.d.ts +12 -0
  581. package/lib/components/Pagination/PaginationControl/PaginationControl.d.ts +20 -0
  582. package/lib/components/Pagination/PaginationDots/PaginationDots.d.ts +20 -0
  583. package/lib/components/Pagination/PaginationEdges/PaginationEdges.d.ts +47 -0
  584. package/lib/components/Pagination/PaginationItems/PaginationItems.d.ts +10 -0
  585. package/lib/components/Pagination/PaginationRoot/PaginationRoot.d.ts +49 -0
  586. package/lib/components/Pagination/index.d.ts +12 -0
  587. package/lib/components/Paper/Paper.d.ts +0 -1
  588. package/lib/components/Paper/index.d.ts +1 -1
  589. package/lib/components/Pill/PillGroup/PillGroup.d.ts +2 -2
  590. package/lib/components/PillsInput/PillsInputField/PillsInputField.d.ts +1 -1
  591. package/lib/components/ScrollArea/ScrollArea.d.ts +0 -1
  592. package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.d.ts +0 -1
  593. package/lib/components/ScrollArea/index.d.ts +1 -1
  594. package/lib/components/SegmentedControl/SegmentedControl.d.ts +0 -1
  595. package/lib/components/SegmentedControl/index.d.ts +1 -1
  596. package/lib/components/Skeleton/Skeleton.d.ts +32 -0
  597. package/lib/components/Skeleton/index.d.ts +2 -0
  598. package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +1 -3
  599. package/lib/components/Slider/Slider/Slider.d.ts +1 -3
  600. package/lib/components/Slider/Slider.context.d.ts +0 -1
  601. package/lib/components/Slider/index.d.ts +1 -1
  602. package/lib/components/Stack/Stack.d.ts +0 -3
  603. package/lib/components/Stack/index.d.ts +1 -1
  604. package/lib/components/Switch/Switch.d.ts +0 -3
  605. package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +0 -1
  606. package/lib/components/Switch/index.d.ts +2 -2
  607. package/lib/components/Table/Table.d.ts +0 -1
  608. package/lib/components/Table/index.d.ts +1 -1
  609. package/lib/components/Title/Title.d.ts +0 -3
  610. package/lib/components/Title/index.d.ts +1 -1
  611. package/lib/components/Tooltip/Tooltip.types.d.ts +0 -1
  612. package/lib/components/Tooltip/index.d.ts +1 -1
  613. package/lib/components/TypographyStylesProvider/TypographyStylesProvider.d.ts +0 -3
  614. package/lib/components/TypographyStylesProvider/index.d.ts +1 -1
  615. package/lib/components/index.d.ts +3 -0
  616. package/lib/core/Box/Box.d.ts +6 -1
  617. package/lib/core/MantineProvider/Mantine.context.d.ts +1 -0
  618. package/lib/core/MantineProvider/MantineClasses/MantineClasses.d.ts +2 -0
  619. package/lib/core/MantineProvider/MantineClasses/index.d.ts +1 -0
  620. package/lib/core/MantineProvider/MantineProvider.d.ts +1 -3
  621. package/lib/core/MantineProvider/use-mantine-color-scheme/use-computed-color-scheme.d.ts +1 -1
  622. package/lib/core/utils/create-event-handler/create-event-handler.d.ts +3 -0
  623. package/lib/core/utils/index.d.ts +1 -0
  624. package/package.json +5 -5
  625. package/cjs/components/ActionIcon/ActionIconGroup/ActionIconGroup.module.css.js +0 -8
  626. package/cjs/components/ActionIcon/ActionIconGroup/ActionIconGroup.module.css.js.map +0 -1
  627. package/cjs/components/Avatar/AvatarGroup/AvatarGroup.module.css.js +0 -8
  628. package/cjs/components/Avatar/AvatarGroup/AvatarGroup.module.css.js.map +0 -1
  629. package/cjs/components/Button/ButtonGroup/ButtonGroup.module.css.js +0 -8
  630. package/cjs/components/Button/ButtonGroup/ButtonGroup.module.css.js.map +0 -1
  631. package/cjs/components/Combobox/ComboboxChevron/ComboboxChevron.module.css.js +0 -8
  632. package/cjs/components/Combobox/ComboboxChevron/ComboboxChevron.module.css.js.map +0 -1
  633. package/cjs/components/Combobox/OptionsDropdown/OptionsDropdown.module.css.js +0 -8
  634. package/cjs/components/Combobox/OptionsDropdown/OptionsDropdown.module.css.js.map +0 -1
  635. package/cjs/components/Input/InputPlaceholder/InputPlaceholder.module.css.js +0 -8
  636. package/cjs/components/Input/InputPlaceholder/InputPlaceholder.module.css.js.map +0 -1
  637. package/cjs/components/Input/InputWrapper/InputWrapper.module.css.js +0 -8
  638. package/cjs/components/Input/InputWrapper/InputWrapper.module.css.js.map +0 -1
  639. package/cjs/components/Loader/loaders/Bars.module.css.js +0 -8
  640. package/cjs/components/Loader/loaders/Bars.module.css.js.map +0 -1
  641. package/cjs/components/Loader/loaders/Dots.module.css.js +0 -8
  642. package/cjs/components/Loader/loaders/Dots.module.css.js.map +0 -1
  643. package/cjs/components/Loader/loaders/Oval.module.css.js +0 -8
  644. package/cjs/components/Loader/loaders/Oval.module.css.js.map +0 -1
  645. package/cjs/components/Pill/PillGroup/PillGroup.module.css.js.map +0 -1
  646. package/cjs/components/PillsInput/PillsInputField/PillsInputField.module.css.js +0 -8
  647. package/cjs/components/PillsInput/PillsInputField/PillsInputField.module.css.js.map +0 -1
  648. package/esm/components/ActionIcon/ActionIconGroup/ActionIconGroup.module.css.js +0 -4
  649. package/esm/components/ActionIcon/ActionIconGroup/ActionIconGroup.module.css.js.map +0 -1
  650. package/esm/components/Avatar/AvatarGroup/AvatarGroup.module.css.js +0 -4
  651. package/esm/components/Avatar/AvatarGroup/AvatarGroup.module.css.js.map +0 -1
  652. package/esm/components/Button/ButtonGroup/ButtonGroup.module.css.js +0 -4
  653. package/esm/components/Button/ButtonGroup/ButtonGroup.module.css.js.map +0 -1
  654. package/esm/components/Combobox/ComboboxChevron/ComboboxChevron.module.css.js +0 -4
  655. package/esm/components/Combobox/ComboboxChevron/ComboboxChevron.module.css.js.map +0 -1
  656. package/esm/components/Combobox/OptionsDropdown/OptionsDropdown.module.css.js +0 -4
  657. package/esm/components/Combobox/OptionsDropdown/OptionsDropdown.module.css.js.map +0 -1
  658. package/esm/components/Input/InputPlaceholder/InputPlaceholder.module.css.js +0 -4
  659. package/esm/components/Input/InputPlaceholder/InputPlaceholder.module.css.js.map +0 -1
  660. package/esm/components/Input/InputWrapper/InputWrapper.module.css.js +0 -4
  661. package/esm/components/Input/InputWrapper/InputWrapper.module.css.js.map +0 -1
  662. package/esm/components/Loader/loaders/Bars.module.css.js +0 -4
  663. package/esm/components/Loader/loaders/Bars.module.css.js.map +0 -1
  664. package/esm/components/Loader/loaders/Dots.module.css.js +0 -4
  665. package/esm/components/Loader/loaders/Dots.module.css.js.map +0 -1
  666. package/esm/components/Loader/loaders/Oval.module.css.js +0 -4
  667. package/esm/components/Loader/loaders/Oval.module.css.js.map +0 -1
  668. package/esm/components/Pill/PillGroup/PillGroup.module.css.js +0 -4
  669. package/esm/components/Pill/PillGroup/PillGroup.module.css.js.map +0 -1
  670. package/esm/components/PillsInput/PillsInputField/PillsInputField.module.css.js +0 -4
  671. package/esm/components/PillsInput/PillsInputField/PillsInputField.module.css.js.map +0 -1
@@ -9,7 +9,6 @@ import { ModalContent } from './ModalContent';
9
9
  import { ModalTitle } from './ModalTitle';
10
10
  import { ModalHeader } from './ModalHeader';
11
11
  export type ModalStylesNames = ModalRootStylesNames;
12
- export type ModalVariant = string;
13
12
  export type ModalCssVariables = ModalRootCssVariables;
14
13
  export interface ModalProps extends ModalRootProps {
15
14
  __staticSelector?: string;
@@ -31,7 +30,6 @@ export type ModalFactory = Factory<{
31
30
  ref: HTMLDivElement;
32
31
  stylesNames: ModalStylesNames;
33
32
  vars: ModalCssVariables;
34
- variant: ModalVariant;
35
33
  staticComponents: {
36
34
  Root: typeof ModalRoot;
37
35
  Overlay: typeof ModalOverlay;
@@ -47,7 +45,6 @@ export declare const Modal: import("../../core").MantineComponent<{
47
45
  ref: HTMLDivElement;
48
46
  stylesNames: ModalStylesNames;
49
47
  vars: ModalCssVariables;
50
- variant: ModalVariant;
51
48
  staticComponents: {
52
49
  Root: typeof ModalRoot;
53
50
  Overlay: typeof ModalOverlay;
@@ -3,7 +3,6 @@ import { StylesApiProps, Factory, MantineRadius } from '../../core';
3
3
  import { ModalBaseProps, ModalBaseStylesNames } from '../ModalBase';
4
4
  import { ScrollAreaComponent } from './Modal.context';
5
5
  export type ModalRootStylesNames = ModalBaseStylesNames;
6
- export type ModalRootVariant = string;
7
6
  export type ModalRootCssVariables = {
8
7
  root: '--modal-radius' | '--modal-size' | '--modal-y-offset' | '--modal-x-offset';
9
8
  };
@@ -27,7 +26,6 @@ export type ModalRootFactory = Factory<{
27
26
  ref: HTMLDivElement;
28
27
  stylesNames: ModalRootStylesNames;
29
28
  vars: ModalRootCssVariables;
30
- variant: ModalRootVariant;
31
29
  compound: true;
32
30
  }>;
33
31
  export declare const ModalRoot: import("../../core").MantineComponent<{
@@ -35,6 +33,5 @@ export declare const ModalRoot: import("../../core").MantineComponent<{
35
33
  ref: HTMLDivElement;
36
34
  stylesNames: ModalRootStylesNames;
37
35
  vars: ModalRootCssVariables;
38
- variant: ModalRootVariant;
39
36
  compound: true;
40
37
  }>;
@@ -6,7 +6,7 @@ export { ModalContent } from './ModalContent';
6
6
  export { ModalHeader } from './ModalHeader';
7
7
  export { ModalOverlay } from './ModalOverlay';
8
8
  export { ModalTitle } from './ModalTitle';
9
- export type { ModalCssVariables, ModalFactory, ModalProps, ModalStylesNames, ModalVariant, } from './Modal';
9
+ export type { ModalCssVariables, ModalFactory, ModalProps, ModalStylesNames } from './Modal';
10
10
  export type { ModalRootProps } from './ModalRoot';
11
11
  export type { ModalBodyProps } from './ModalBody';
12
12
  export type { ModalCloseButtonProps } from './ModalCloseButton';
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { BoxProps, StylesApiProps, ElementProps, Factory, MantineRadius, MantineColor } from '../../core';
3
3
  export type NotificationStylesNames = 'root' | 'icon' | 'loader' | 'body' | 'title' | 'description' | 'closeButton';
4
- export type NotificationVariant = string;
5
4
  export type NotificationCssVariables = {
6
5
  root: '--notification-radius' | '--notification-color';
7
6
  };
@@ -33,12 +32,10 @@ export type NotificationFactory = Factory<{
33
32
  ref: HTMLDivElement;
34
33
  stylesNames: NotificationStylesNames;
35
34
  vars: NotificationCssVariables;
36
- variant: NotificationVariant;
37
35
  }>;
38
36
  export declare const Notification: import("../../core").MantineComponent<{
39
37
  props: NotificationProps;
40
38
  ref: HTMLDivElement;
41
39
  stylesNames: NotificationStylesNames;
42
40
  vars: NotificationCssVariables;
43
- variant: NotificationVariant;
44
41
  }>;
@@ -1,2 +1,2 @@
1
1
  export { Notification } from './Notification';
2
- export type { NotificationCssVariables, NotificationFactory, NotificationProps, NotificationStylesNames, NotificationVariant, } from './Notification';
2
+ export type { NotificationCssVariables, NotificationFactory, NotificationProps, NotificationStylesNames, } from './Notification';
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { BoxProps, StylesApiProps, PolymorphicFactory, MantineRadius } from '../../core';
3
3
  export type OverlayStylesNames = 'root';
4
- export type OverlayVariant = string;
5
4
  export type OverlayCssVariables = {
6
5
  root: '--overlay-bg' | '--overlay-filter' | '--overlay-radius' | '--overlay-z-index';
7
6
  };
@@ -31,7 +30,6 @@ export type OverlayFactory = PolymorphicFactory<{
31
30
  defaultComponent: 'div';
32
31
  stylesNames: OverlayStylesNames;
33
32
  vars: OverlayCssVariables;
34
- variant: OverlayVariant;
35
33
  }>;
36
34
  export declare const Overlay: (<C = "div">(props: import("../../core/factory/create-polymorphic-component").PolymorphicComponentProps<C, OverlayProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & Omit<React.FunctionComponent<(OverlayProps & {
37
35
  component?: any;
@@ -45,12 +43,10 @@ export declare const Overlay: (<C = "div">(props: import("../../core/factory/cre
45
43
  defaultComponent: 'div';
46
44
  stylesNames: OverlayStylesNames;
47
45
  vars: OverlayCssVariables;
48
- variant: OverlayVariant;
49
46
  }> & import("../../core/factory/factory").ComponentClasses<{
50
47
  props: OverlayProps;
51
48
  defaultRef: HTMLDivElement;
52
49
  defaultComponent: 'div';
53
50
  stylesNames: OverlayStylesNames;
54
51
  vars: OverlayCssVariables;
55
- variant: OverlayVariant;
56
52
  }> & Record<string, never>;
@@ -1,2 +1,2 @@
1
1
  export { Overlay } from './Overlay';
2
- export type { OverlayCssVariables, OverlayFactory, OverlayProps, OverlayStylesNames, OverlayVariant, } from './Overlay';
2
+ export type { OverlayCssVariables, OverlayFactory, OverlayProps, OverlayStylesNames, } from './Overlay';
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import { GetStylesApi } from '../../core';
3
+ import type { PaginationRootFactory } from './PaginationRoot/PaginationRoot';
4
+ interface PaginationContext {
5
+ total: number;
6
+ range: (number | 'dots')[];
7
+ active: number;
8
+ disabled: boolean | undefined;
9
+ getItemProps?(page: number): Record<string, any>;
10
+ onChange(page: number): void;
11
+ onNext(): void;
12
+ onPrevious(): void;
13
+ onFirst(): void;
14
+ onLast(): void;
15
+ getStyles: GetStylesApi<PaginationRootFactory>;
16
+ }
17
+ export declare const PaginationProvider: ({ children, value }: {
18
+ value: PaginationContext;
19
+ children: import("react").ReactNode;
20
+ }) => JSX.Element, usePaginationContext: () => PaginationContext;
21
+ export {};
@@ -0,0 +1,61 @@
1
+ import { Factory, MantineSize } from '../../core';
2
+ import { PaginationRoot, PaginationRootCssVariables, PaginationRootProps, PaginationRootStylesNames } from './PaginationRoot/PaginationRoot';
3
+ import { PaginationControl } from './PaginationControl/PaginationControl';
4
+ import { PaginationDots } from './PaginationDots/PaginationDots';
5
+ import { PaginationFirst, PaginationLast, PaginationNext, PaginationPrevious } from './PaginationEdges/PaginationEdges';
6
+ import { PaginationItems } from './PaginationItems/PaginationItems';
7
+ import { PaginationIcon } from './Pagination.icons';
8
+ export type PaginationStylesNames = PaginationRootStylesNames;
9
+ export type PaginationCssVariables = PaginationRootCssVariables;
10
+ export interface PaginationProps extends PaginationRootProps {
11
+ /** Determines whether first/last controls should be rendered, false by default */
12
+ withEdges?: boolean;
13
+ /** Determines whether next/previous controls should be rendered, true by default */
14
+ withControls?: boolean;
15
+ /** Adds props to next/previous/first/last controls */
16
+ getControlProps?(control: 'first' | 'previous' | 'last' | 'next'): Record<string, any>;
17
+ /** Next control icon component */
18
+ nextIcon?: PaginationIcon;
19
+ /** Previous control icon component */
20
+ previousIcon?: PaginationIcon;
21
+ /** Last control icon component */
22
+ lastIcon?: PaginationIcon;
23
+ /** First control icon component */
24
+ firstIcon?: PaginationIcon;
25
+ /** Dots icon component */
26
+ dotsIcon?: PaginationIcon;
27
+ /** Key of `theme.spacing`, gap between controls, `8` by default */
28
+ gap?: MantineSize | (string & {}) | number;
29
+ }
30
+ export type PaginationFactory = Factory<{
31
+ props: PaginationProps;
32
+ ref: HTMLDivElement;
33
+ stylesNames: PaginationStylesNames;
34
+ vars: PaginationCssVariables;
35
+ staticComponents: {
36
+ Root: typeof PaginationRoot;
37
+ Control: typeof PaginationControl;
38
+ Dots: typeof PaginationDots;
39
+ First: typeof PaginationFirst;
40
+ Last: typeof PaginationLast;
41
+ Next: typeof PaginationNext;
42
+ Previous: typeof PaginationPrevious;
43
+ Items: typeof PaginationItems;
44
+ };
45
+ }>;
46
+ export declare const Pagination: import("../../core").MantineComponent<{
47
+ props: PaginationProps;
48
+ ref: HTMLDivElement;
49
+ stylesNames: PaginationStylesNames;
50
+ vars: PaginationCssVariables;
51
+ staticComponents: {
52
+ Root: typeof PaginationRoot;
53
+ Control: typeof PaginationControl;
54
+ Dots: typeof PaginationDots;
55
+ First: typeof PaginationFirst;
56
+ Last: typeof PaginationLast;
57
+ Next: typeof PaginationNext;
58
+ Previous: typeof PaginationPrevious;
59
+ Items: typeof PaginationItems;
60
+ };
61
+ }>;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface _PaginationIconProps extends React.ComponentPropsWithoutRef<'svg'> {
3
+ path: string;
4
+ }
5
+ export type PaginationIconProps = Omit<_PaginationIconProps, 'path'>;
6
+ export type PaginationIcon = React.FC<PaginationIconProps>;
7
+ export declare const PaginationNextIcon: (props: PaginationIconProps) => JSX.Element;
8
+ export declare const PaginationPreviousIcon: (props: PaginationIconProps) => JSX.Element;
9
+ export declare const PaginationFirstIcon: (props: PaginationIconProps) => JSX.Element;
10
+ export declare const PaginationLastIcon: (props: PaginationIconProps) => JSX.Element;
11
+ export declare const PaginationDotsIcon: (props: PaginationIconProps) => JSX.Element;
12
+ export {};
@@ -0,0 +1,20 @@
1
+ import { BoxProps, StylesApiProps, ElementProps, Factory } from '../../../core';
2
+ export type PaginationControlStylesNames = 'control';
3
+ export interface PaginationControlProps extends BoxProps, StylesApiProps<PaginationControlFactory>, ElementProps<'button'> {
4
+ /** Determines whether control should have active styles */
5
+ active?: boolean;
6
+ /** Determines whether control should have padding, true by default */
7
+ withPadding?: boolean;
8
+ }
9
+ export type PaginationControlFactory = Factory<{
10
+ props: PaginationControlProps;
11
+ ref: HTMLButtonElement;
12
+ stylesNames: PaginationControlStylesNames;
13
+ compound: true;
14
+ }>;
15
+ export declare const PaginationControl: import("../../../core").MantineComponent<{
16
+ props: PaginationControlProps;
17
+ ref: HTMLButtonElement;
18
+ stylesNames: PaginationControlStylesNames;
19
+ compound: true;
20
+ }>;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { BoxProps, StylesApiProps, ElementProps, Factory } from '../../../core';
3
+ import { PaginationIconProps } from '../Pagination.icons';
4
+ export type PaginationDotsStylesNames = 'dots';
5
+ export interface PaginationDotsProps extends BoxProps, StylesApiProps<PaginationDotsFactory>, ElementProps<'div'> {
6
+ /** Custom dots icon component, must accept svg element props and size prop */
7
+ icon?: React.FC<PaginationIconProps>;
8
+ }
9
+ export type PaginationDotsFactory = Factory<{
10
+ props: PaginationDotsProps;
11
+ ref: HTMLDivElement;
12
+ stylesNames: PaginationDotsStylesNames;
13
+ compound: true;
14
+ }>;
15
+ export declare const PaginationDots: import("../../../core").MantineComponent<{
16
+ props: PaginationDotsProps;
17
+ ref: HTMLDivElement;
18
+ stylesNames: PaginationDotsStylesNames;
19
+ compound: true;
20
+ }>;
@@ -0,0 +1,47 @@
1
+ import React from 'react';
2
+ import { BoxProps } from '../../../core';
3
+ import { PaginationIconProps } from '../Pagination.icons';
4
+ export interface CreateEdgeComponent {
5
+ icon: React.FC<PaginationIconProps>;
6
+ name: string;
7
+ action: 'onNext' | 'onPrevious' | 'onFirst' | 'onLast';
8
+ type: 'next' | 'previous';
9
+ }
10
+ export interface PaginationEdgeProps extends BoxProps {
11
+ icon?: React.FC<PaginationIconProps>;
12
+ }
13
+ export declare function createEdgeComponent({ icon, name, action, type }: CreateEdgeComponent): (<C = "button">(props: import("../../../core/factory/create-polymorphic-component").PolymorphicComponentProps<C, PaginationEdgeProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & Omit<React.FunctionComponent<(PaginationEdgeProps & {
14
+ component?: any;
15
+ } & Omit<Omit<any, "ref">, "component" | keyof PaginationEdgeProps> & {
16
+ ref?: any;
17
+ }) | (PaginationEdgeProps & {
18
+ component: React.ElementType<any>;
19
+ })>, never> & Record<string, never>;
20
+ export declare const PaginationNext: (<C = "button">(props: import("../../../core/factory/create-polymorphic-component").PolymorphicComponentProps<C, PaginationEdgeProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & Omit<React.FunctionComponent<(PaginationEdgeProps & {
21
+ component?: any;
22
+ } & Omit<Omit<any, "ref">, "component" | keyof PaginationEdgeProps> & {
23
+ ref?: any;
24
+ }) | (PaginationEdgeProps & {
25
+ component: React.ElementType<any>;
26
+ })>, never> & Record<string, never>;
27
+ export declare const PaginationPrevious: (<C = "button">(props: import("../../../core/factory/create-polymorphic-component").PolymorphicComponentProps<C, PaginationEdgeProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & Omit<React.FunctionComponent<(PaginationEdgeProps & {
28
+ component?: any;
29
+ } & Omit<Omit<any, "ref">, "component" | keyof PaginationEdgeProps> & {
30
+ ref?: any;
31
+ }) | (PaginationEdgeProps & {
32
+ component: React.ElementType<any>;
33
+ })>, never> & Record<string, never>;
34
+ export declare const PaginationFirst: (<C = "button">(props: import("../../../core/factory/create-polymorphic-component").PolymorphicComponentProps<C, PaginationEdgeProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & Omit<React.FunctionComponent<(PaginationEdgeProps & {
35
+ component?: any;
36
+ } & Omit<Omit<any, "ref">, "component" | keyof PaginationEdgeProps> & {
37
+ ref?: any;
38
+ }) | (PaginationEdgeProps & {
39
+ component: React.ElementType<any>;
40
+ })>, never> & Record<string, never>;
41
+ export declare const PaginationLast: (<C = "button">(props: import("../../../core/factory/create-polymorphic-component").PolymorphicComponentProps<C, PaginationEdgeProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & Omit<React.FunctionComponent<(PaginationEdgeProps & {
42
+ component?: any;
43
+ } & Omit<Omit<any, "ref">, "component" | keyof PaginationEdgeProps> & {
44
+ ref?: any;
45
+ }) | (PaginationEdgeProps & {
46
+ component: React.ElementType<any>;
47
+ })>, never> & Record<string, never>;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { PaginationIcon } from '../Pagination.icons';
3
+ export interface PaginationItemsProps {
4
+ /** Dots icon component */
5
+ dotsIcon?: PaginationIcon;
6
+ }
7
+ export declare function PaginationItems({ dotsIcon }: PaginationItemsProps): JSX.Element;
8
+ export declare namespace PaginationItems {
9
+ var displayName: string;
10
+ }
@@ -0,0 +1,49 @@
1
+ import { BoxProps, StylesApiProps, ElementProps, Factory, MantineSize, MantineColor, MantineRadius } from '../../../core';
2
+ export type PaginationRootStylesNames = 'root' | 'control' | 'dots';
3
+ export type PaginationRootCssVariables = {
4
+ root: '--pagination-control-size' | '--pagination-control-radius' | '--pagination-control-fz' | '--pagination-active-bg';
5
+ };
6
+ export interface PaginationRootProps extends BoxProps, StylesApiProps<PaginationRootFactory>, ElementProps<'div', 'value' | 'onChange'> {
7
+ /** `height` and `min-width` of controls, `'md'` by default */
8
+ size?: MantineSize | (string & {}) | number;
9
+ /** Total number of pages, must be an integer */
10
+ total: number;
11
+ /** Active page for controlled component, must be an integer in [0, total] interval */
12
+ value?: number;
13
+ /** Active page for uncontrolled component, must be an integer in [0, total] interval */
14
+ defaultValue?: number;
15
+ /** Called when page changes */
16
+ onChange?(value: number): void;
17
+ /** Determines whether all controls should be disabled, `false` by default */
18
+ disabled?: boolean;
19
+ /** Number of siblings displayed on the left/right side of the selected page, `1` by default */
20
+ siblings?: number;
21
+ /** Number of elements visible on the left/right edges, `1` by default */
22
+ boundaries?: number;
23
+ /** Key of `theme.colors`, active item color, `theme.primaryColor` by default */
24
+ color?: MantineColor;
25
+ /** Key of `theme.radius` or any valid CSS value to set `border-radius`, numbers are converted to rem, `theme.defaultRadius` by default */
26
+ radius?: MantineRadius | (string & {}) | number;
27
+ /** Called when next page control is clicked */
28
+ onNextPage?(): void;
29
+ /** Called when previous page control is clicked */
30
+ onPreviousPage?(): void;
31
+ /** Called when first page control is clicked */
32
+ onFirstPage?(): void;
33
+ /** Called when last page control is clicked */
34
+ onLastPage?(): void;
35
+ /** Additional props passed down to controls */
36
+ getItemProps?(page: number): Record<string, any>;
37
+ }
38
+ export type PaginationRootFactory = Factory<{
39
+ props: PaginationRootProps;
40
+ ref: HTMLDivElement;
41
+ stylesNames: PaginationRootStylesNames;
42
+ vars: PaginationRootCssVariables;
43
+ }>;
44
+ export declare const PaginationRoot: import("../../../core").MantineComponent<{
45
+ props: PaginationRootProps;
46
+ ref: HTMLDivElement;
47
+ stylesNames: PaginationRootStylesNames;
48
+ vars: PaginationRootCssVariables;
49
+ }>;
@@ -0,0 +1,12 @@
1
+ export { Pagination } from './Pagination';
2
+ export { PaginationControl } from './PaginationControl/PaginationControl';
3
+ export { PaginationDots } from './PaginationDots/PaginationDots';
4
+ export { PaginationFirst, PaginationLast, PaginationNext, PaginationPrevious, } from './PaginationEdges/PaginationEdges';
5
+ export { PaginationItems } from './PaginationItems/PaginationItems';
6
+ export { PaginationRoot } from './PaginationRoot/PaginationRoot';
7
+ export type { PaginationCssVariables, PaginationFactory, PaginationProps, PaginationStylesNames, } from './Pagination';
8
+ export type { PaginationRootProps } from './PaginationRoot/PaginationRoot';
9
+ export type { PaginationControlProps } from './PaginationControl/PaginationControl';
10
+ export type { PaginationDotsProps } from './PaginationDots/PaginationDots';
11
+ export type { PaginationEdgeProps } from './PaginationEdges/PaginationEdges';
12
+ export type { PaginationItemsProps } from './PaginationItems/PaginationItems';
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { BoxProps, StylesApiProps, MantineShadow, MantineRadius, PolymorphicFactory } from '../../core';
3
3
  export type PaperStylesNames = 'root';
4
- export type PaperVariant = string;
5
4
  export type PaperCssVariables = {
6
5
  root: '--paper-radius' | '--paper-shadow';
7
6
  };
@@ -1,2 +1,2 @@
1
1
  export { Paper } from './Paper';
2
- export type { PaperProps, PaperStylesNames, PaperCssVariables, PaperFactory, PaperVariant, } from './Paper';
2
+ export type { PaperProps, PaperStylesNames, PaperCssVariables, PaperFactory } from './Paper';
@@ -1,7 +1,7 @@
1
1
  import { BoxProps, StylesApiProps, ElementProps, Factory, MantineSize } from '../../../core';
2
- export type PillGroupStylesNames = 'root';
2
+ export type PillGroupStylesNames = 'group';
3
3
  export type PillGroupCssVariables = {
4
- root: '--pg-gap';
4
+ group: '--pg-gap';
5
5
  };
6
6
  export interface PillGroupProps extends BoxProps, StylesApiProps<PillGroupFactory>, ElementProps<'div'> {
7
7
  /** Controls spacing between pills, by default controlled by `size` */
@@ -1,5 +1,5 @@
1
1
  import { BoxProps, StylesApiProps, ElementProps, Factory } from '../../../core';
2
- export type PillsInputFieldStylesNames = 'root';
2
+ export type PillsInputFieldStylesNames = 'field';
3
3
  export interface PillsInputFieldProps extends BoxProps, StylesApiProps<PillsInputFieldFactory>, ElementProps<'input', 'type'> {
4
4
  /** Controls input styles when focused. If `auto` the input is hidden when not focused. If `visible` the input will always remain visible. `'visible'` by default */
5
5
  type?: 'auto' | 'visible' | 'hidden';
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { BoxProps, StylesApiProps, ElementProps, Factory } from '../../core';
3
3
  export type ScrollAreaStylesNames = 'root' | 'viewport' | 'scrollbar' | 'thumb' | 'corner';
4
- export type ScrollAreaVariant = string;
5
4
  export type ScrollAreaCssVariables = {
6
5
  root: '--scrollarea-scrollbar-size';
7
6
  };
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { BoxProps, ElementProps, Factory } from '../../../core';
3
3
  export type ScrollAreaRootStylesNames = 'root' | 'viewport' | 'viewportInner' | 'scrollbar' | 'thumb' | 'corner';
4
- export type ScrollAreaRootVariant = string;
5
4
  export type ScrollAreaRootCssVariables = {
6
5
  root: '--sa-corner-width' | '--sa-corner-height';
7
6
  };
@@ -1,2 +1,2 @@
1
1
  export { ScrollArea, ScrollAreaAutosize } from './ScrollArea';
2
- export type { ScrollAreaProps, ScrollAreaAutosizeProps, ScrollAreaStylesNames, ScrollAreaCssVariables, ScrollAreaFactory, ScrollAreaVariant, } from './ScrollArea';
2
+ export type { ScrollAreaProps, ScrollAreaAutosizeProps, ScrollAreaStylesNames, ScrollAreaCssVariables, ScrollAreaFactory, } from './ScrollArea';
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { BoxProps, StylesApiProps, ElementProps, MantineColor, MantineSize, MantineRadius, Factory } from '../../core';
3
3
  export type SegmentedControlStylesNames = 'root' | 'input' | 'label' | 'control' | 'indicator';
4
- export type SegmentedControlVariant = string;
5
4
  export type SegmentedControlCssVariables = {
6
5
  root: '--sc-radius' | '--sc-color' | '--sc-font-size' | '--sc-padding' | '--sc-shadow' | '--sc-transition-duration' | '--sc-transition-timing-function';
7
6
  };
@@ -1,2 +1,2 @@
1
1
  export { SegmentedControl } from './SegmentedControl';
2
- export type { SegmentedControlCssVariables, SegmentedControlFactory, SegmentedControlItem, SegmentedControlProps, SegmentedControlStylesNames, SegmentedControlVariant, } from './SegmentedControl';
2
+ export type { SegmentedControlCssVariables, SegmentedControlFactory, SegmentedControlItem, SegmentedControlProps, SegmentedControlStylesNames, } from './SegmentedControl';
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ import { BoxProps, StylesApiProps, ElementProps, Factory } from '../../core';
3
+ export type SkeletonStylesNames = 'root';
4
+ export type SkeletonCssVariables = {
5
+ root: '--skeleton-width' | '--skeleton-height' | '--skeleton-radius';
6
+ };
7
+ export interface SkeletonProps extends BoxProps, StylesApiProps<SkeletonFactory>, ElementProps<'div'> {
8
+ /** Determines whether Skeleton overlay should be displayed, `true` by default */
9
+ visible?: boolean;
10
+ /** Skeleton `height`, numbers are converted to rem, `auto` by default */
11
+ height?: React.CSSProperties['height'];
12
+ /** Skeleton `width`, numbers are converted to rem, `100%` by default, ignored when `circle` prop is set */
13
+ width?: React.CSSProperties['width'];
14
+ /** If set, Skeleton `width` and `border-radius` are equal to its `height`, `false` by default */
15
+ circle?: boolean;
16
+ /** Key of `theme.radius` or any valid CSS value to set border-radius. Numbers are converted to rem. `theme.defaultRadius` by default. */
17
+ radius?: React.CSSProperties['borderRadius'];
18
+ /** Determines whether Skeleton should be animated, `true` by default */
19
+ animate?: boolean;
20
+ }
21
+ export type SkeletonFactory = Factory<{
22
+ props: SkeletonProps;
23
+ ref: HTMLDivElement;
24
+ stylesNames: SkeletonStylesNames;
25
+ vars: SkeletonCssVariables;
26
+ }>;
27
+ export declare const Skeleton: import("../../core").MantineComponent<{
28
+ props: SkeletonProps;
29
+ ref: HTMLDivElement;
30
+ stylesNames: SkeletonStylesNames;
31
+ vars: SkeletonCssVariables;
32
+ }>;
@@ -0,0 +1,2 @@
1
+ export { Skeleton } from './Skeleton';
2
+ export type { SkeletonCssVariables, SkeletonFactory, SkeletonProps, SkeletonStylesNames, } from './Skeleton';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { BoxProps, StylesApiProps, ElementProps, MantineColor, MantineRadius, MantineSize, Factory } from '../../../core';
3
3
  import { TransitionOverride } from '../../Transition';
4
- import { SliderStylesNames, SliderCssVariables, SliderVariant } from '../Slider.context';
4
+ import { SliderStylesNames, SliderCssVariables } from '../Slider.context';
5
5
  export type RangeSliderValue = [number, number];
6
6
  export interface RangeSliderProps extends BoxProps, StylesApiProps<RangeSliderFactory>, ElementProps<'div', 'onChange' | 'value' | 'defaultValue'> {
7
7
  /** Key of `theme.colors` or any valid CSS color, controls color of track and thumb, `theme.primaryColor` by default */
@@ -65,12 +65,10 @@ export type RangeSliderFactory = Factory<{
65
65
  ref: HTMLDivElement;
66
66
  stylesNames: SliderStylesNames;
67
67
  vars: SliderCssVariables;
68
- variant: SliderVariant;
69
68
  }>;
70
69
  export declare const RangeSlider: import("../../../core").MantineComponent<{
71
70
  props: RangeSliderProps;
72
71
  ref: HTMLDivElement;
73
72
  stylesNames: SliderStylesNames;
74
73
  vars: SliderCssVariables;
75
- variant: SliderVariant;
76
74
  }>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { BoxProps, StylesApiProps, ElementProps, MantineColor, MantineRadius, MantineSize, Factory } from '../../../core';
3
3
  import { TransitionOverride } from '../../Transition';
4
- import { SliderCssVariables, SliderStylesNames, SliderVariant } from '../Slider.context';
4
+ import { SliderCssVariables, SliderStylesNames } from '../Slider.context';
5
5
  export interface SliderProps extends BoxProps, StylesApiProps<SliderFactory>, ElementProps<'div', 'onChange'> {
6
6
  /** Key of `theme.colors` or any valid CSS color, controls color of track and thumb, `theme.primaryColor` by default */
7
7
  color?: MantineColor;
@@ -58,12 +58,10 @@ export type SliderFactory = Factory<{
58
58
  ref: HTMLDivElement;
59
59
  stylesNames: SliderStylesNames;
60
60
  vars: SliderCssVariables;
61
- variant: SliderVariant;
62
61
  }>;
63
62
  export declare const Slider: import("../../../core").MantineComponent<{
64
63
  props: SliderProps;
65
64
  ref: HTMLDivElement;
66
65
  stylesNames: SliderStylesNames;
67
66
  vars: SliderCssVariables;
68
- variant: SliderVariant;
69
67
  }>;
@@ -4,7 +4,6 @@ export type SliderStylesNames = 'root' | 'label' | 'thumb' | 'trackContainer' |
4
4
  export type SliderCssVariables = {
5
5
  root: '--slider-size' | '--slider-color' | '--slider-thumb-size' | '--slider-radius';
6
6
  };
7
- export type SliderVariant = string;
8
7
  interface SliderContextValue {
9
8
  getStyles: GetStylesApi<{
10
9
  stylesNames: SliderStylesNames;
@@ -2,4 +2,4 @@ export { Slider } from './Slider/Slider';
2
2
  export { RangeSlider } from './RangeSlider/RangeSlider';
3
3
  export type { SliderFactory, SliderProps } from './Slider/Slider';
4
4
  export type { RangeSliderFactory, RangeSliderProps, RangeSliderValue, } from './RangeSlider/RangeSlider';
5
- export type { SliderStylesNames, SliderCssVariables, SliderVariant } from './Slider.context';
5
+ export type { SliderStylesNames, SliderCssVariables } from './Slider.context';
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { BoxProps, StylesApiProps, ElementProps, MantineSpacing, Factory } from '../../core';
3
3
  export type StackStylesNames = 'root';
4
- export type StackVariant = string;
5
4
  export type StackCssVariables = {
6
5
  root: '--stack-gap' | '--stack-align' | '--stack-justify';
7
6
  };
@@ -18,12 +17,10 @@ export type StackFactory = Factory<{
18
17
  ref: HTMLDivElement;
19
18
  stylesNames: StackStylesNames;
20
19
  vars: StackCssVariables;
21
- variant: StackVariant;
22
20
  }>;
23
21
  export declare const Stack: import("../../core").MantineComponent<{
24
22
  props: StackProps;
25
23
  ref: HTMLDivElement;
26
24
  stylesNames: StackStylesNames;
27
25
  vars: StackCssVariables;
28
- variant: StackVariant;
29
26
  }>;
@@ -1,2 +1,2 @@
1
1
  export { Stack } from './Stack';
2
- export type { StackCssVariables, StackFactory, StackStylesNames, StackProps, StackVariant, } from './Stack';
2
+ export type { StackCssVariables, StackFactory, StackStylesNames, StackProps } from './Stack';
@@ -3,7 +3,6 @@ import { BoxProps, StylesApiProps, ElementProps, MantineColor, MantineSize, Mant
3
3
  import { InlineInputStylesNames } from '../InlineInput';
4
4
  import { SwitchGroup } from './SwitchGroup/SwitchGroup';
5
5
  export type SwitchStylesNames = 'root' | 'track' | 'trackLabel' | 'thumb' | 'input' | InlineInputStylesNames;
6
- export type SwitchVariant = string;
7
6
  export type SwitchCssVariables = {
8
7
  root: '--switch-radius' | '--switch-height' | '--switch-width' | '--switch-thumb-size' | '--switch-label-font-size' | '--switch-track-label-padding' | '--switch-color';
9
8
  };
@@ -38,7 +37,6 @@ export type SwitchFactory = Factory<{
38
37
  ref: HTMLInputElement;
39
38
  stylesNames: SwitchStylesNames;
40
39
  vars: SwitchCssVariables;
41
- variant: SwitchVariant;
42
40
  staticComponents: {
43
41
  Group: typeof SwitchGroup;
44
42
  };
@@ -48,7 +46,6 @@ export declare const Switch: import("../../core").MantineComponent<{
48
46
  ref: HTMLInputElement;
49
47
  stylesNames: SwitchStylesNames;
50
48
  vars: SwitchCssVariables;
51
- variant: SwitchVariant;
52
49
  staticComponents: {
53
50
  Group: typeof SwitchGroup;
54
51
  };
@@ -2,7 +2,6 @@ import React from 'react';
2
2
  import { MantineSize, Factory } from '../../../core';
3
3
  import { InputWrapperStylesNames, InputWrapperProps } from '../../Input';
4
4
  export type SwitchGroupStylesNames = InputWrapperStylesNames;
5
- export type SwitchGroupVariant = string;
6
5
  export interface SwitchGroupProps extends Omit<InputWrapperProps, 'onChange'> {
7
6
  /** `Switch` components */
8
7
  children: React.ReactNode;
@@ -1,4 +1,4 @@
1
1
  export { Switch } from './Switch';
2
2
  export { SwitchGroup } from './SwitchGroup/SwitchGroup';
3
- export type { SwitchCssVariables, SwitchFactory, SwitchProps, SwitchStylesNames, SwitchVariant, } from './Switch';
4
- export type { SwitchGroupFactory, SwitchGroupProps, SwitchGroupStylesNames, SwitchGroupVariant, } from './SwitchGroup/SwitchGroup';
3
+ export type { SwitchCssVariables, SwitchFactory, SwitchProps, SwitchStylesNames } from './Switch';
4
+ export type { SwitchGroupFactory, SwitchGroupProps, SwitchGroupStylesNames, } from './SwitchGroup/SwitchGroup';