@recursica/mantine-adapter 0.33.0 → 0.35.0

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.
@@ -0,0 +1,91 @@
1
+ import { GridProps as MantineGridProps, GridColProps as MantineGridColProps } from '@mantine/core';
2
+ import { WithRecursicaSpacing } from '../../utils/filterStylingProps';
3
+ import { RecursicaGridProps, RecursicaGridColProps } from '@recursica/adapter-common';
4
+ /**
5
+ * Grid layout wrapper.
6
+ *
7
+ * Note: Unlike complex UI components, primitive layout components (Flex, Stack, Group, Container, Grid)
8
+ * DO NOT use the `RecursicaOverStyled` gatekeeper. Developers must be able to freely pass
9
+ * width, height, padding, margins, and flexbox alignment props to construct structural layouts.
10
+ */
11
+ export type GridProps = WithRecursicaSpacing<Omit<MantineGridProps, "gutter"> & RecursicaGridProps>;
12
+ /**
13
+ * Recursica Grid layout wrapper.
14
+ *
15
+ * Supports polymorphism via the `component` prop for custom element rendering.
16
+ * @example
17
+ * ```tsx
18
+ * <Grid gap="rec-default">
19
+ * <Grid.Col span={6}>Half width</Grid.Col>
20
+ * <Grid.Col span={6}>Half width</Grid.Col>
21
+ * </Grid>
22
+ * ```
23
+ */
24
+ declare const GridBase: (<C = "div">(props: import('@mantine/core').PolymorphicComponentProps<C, GridProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<(Omit<Omit<MantineGridProps, "gutter"> & RecursicaGridProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
25
+ m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
26
+ mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
27
+ my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
28
+ mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
29
+ mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
30
+ ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
31
+ mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
32
+ gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
33
+ rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
34
+ columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
35
+ } & {
36
+ component?: any;
37
+ } & Omit<Omit<any, "ref">, "className" | "classNames" | "style" | "styles" | "vars" | "p" | "px" | "py" | "pt" | "pb" | "pl" | "pr" | "bg" | "c" | "opacity" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "bd" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap" | "top" | "left" | "bottom" | "right" | "key" | "defaultValue" | "onChange" | "variant" | "slot" | "title" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "unstyled" | "attributes" | "type" | "justify" | "component" | "align" | "overflow" | "grow" | "columns" | "breakpoints"> & {
38
+ ref?: any;
39
+ renderRoot?: (props: any) => any;
40
+ }) | (Omit<Omit<MantineGridProps, "gutter"> & RecursicaGridProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
41
+ m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
42
+ mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
43
+ my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
44
+ mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
45
+ mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
46
+ ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
47
+ mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
48
+ gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
49
+ rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
50
+ columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
51
+ } & {
52
+ component: React.ElementType;
53
+ renderRoot?: (props: Record<string, any>) => any;
54
+ })>, never> & Record<string, never>;
55
+ export type GridColProps = WithRecursicaSpacing<MantineGridColProps & RecursicaGridColProps>;
56
+ export declare const GridCol: (<C = "div">(props: import('@mantine/core').PolymorphicComponentProps<C, GridColProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<(Omit<MantineGridColProps & RecursicaGridColProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
57
+ m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
58
+ mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
59
+ my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
60
+ mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
61
+ mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
62
+ ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
63
+ mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
64
+ gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
65
+ rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
66
+ columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
67
+ } & {
68
+ component?: any;
69
+ } & Omit<Omit<any, "ref">, "className" | "classNames" | "style" | "styles" | "vars" | "p" | "px" | "py" | "pt" | "pb" | "pl" | "pr" | "bg" | "c" | "opacity" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "bd" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap" | "top" | "left" | "bottom" | "right" | "key" | "defaultValue" | "onChange" | "variant" | "slot" | "span" | "title" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "order" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "component" | "offset"> & {
70
+ ref?: any;
71
+ renderRoot?: (props: any) => any;
72
+ }) | (Omit<MantineGridColProps & RecursicaGridColProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
73
+ m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
74
+ mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
75
+ my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
76
+ mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
77
+ mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
78
+ ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
79
+ mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
80
+ gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
81
+ rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
82
+ columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
83
+ } & {
84
+ component: React.ElementType;
85
+ renderRoot?: (props: Record<string, any>) => any;
86
+ })>, never> & Record<string, never>;
87
+ type GridComponent = typeof GridBase & {
88
+ Col: typeof GridCol;
89
+ };
90
+ export declare const Grid: GridComponent;
91
+ export {};
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { Modal as MantineModal, ModalProps as MantineModalProps } from '@mantine/core';
2
+ import { ModalProps as MantineModalProps, ModalRootProps as MantineModalRootProps, ModalOverlayProps as MantineModalOverlayProps, ModalContentProps as MantineModalContentProps, ModalHeaderProps as MantineModalHeaderProps, ModalTitleProps as MantineModalTitleProps, ModalCloseButtonProps as MantineModalCloseButtonProps } from '@mantine/core';
3
3
  import { RecursicaOverStyled } from '../../utils/filterStylingProps';
4
4
  import { RecursicaModalProps } from '@recursica/adapter-common';
5
5
  /**
@@ -20,18 +20,31 @@ export type ModalProps = RecursicaOverStyled<Omit<MantineModalProps, "size" | "r
20
20
  * > primary action button MUST be the right-most element, with the secondary
21
21
  * > (outline variant) action placed immediately to the left of it.
22
22
  */
23
- declare const ModalFooter: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
+ export type ModalFooterProps = RecursicaOverStyled<React.ComponentPropsWithoutRef<"div">>;
24
+ declare const ModalFooter: React.ForwardRefExoticComponent<ModalFooterProps & React.RefAttributes<HTMLDivElement>>;
24
25
  declare const ModalBody: React.ForwardRefExoticComponent<Omit<import('@mantine/core').ModalBodyProps & React.RefAttributes<HTMLDivElement> & {
25
26
  component?: any;
26
27
  renderRoot?: (props: Record<string, any>) => React.ReactNode;
27
28
  }, "ref"> & React.RefAttributes<HTMLDivElement>>;
29
+ export type ModalRootProps = RecursicaOverStyled<MantineModalRootProps>;
30
+ declare const ModalRoot: React.ForwardRefExoticComponent<ModalRootProps & React.RefAttributes<HTMLDivElement>>;
31
+ export type ModalOverlayProps = RecursicaOverStyled<MantineModalOverlayProps>;
32
+ declare const ModalOverlay: React.ForwardRefExoticComponent<ModalOverlayProps & React.RefAttributes<HTMLDivElement>>;
33
+ export type ModalContentProps = RecursicaOverStyled<MantineModalContentProps>;
34
+ declare const ModalContent: React.ForwardRefExoticComponent<ModalContentProps & React.RefAttributes<HTMLDivElement>>;
35
+ export type ModalHeaderProps = RecursicaOverStyled<MantineModalHeaderProps>;
36
+ declare const ModalHeader: React.ForwardRefExoticComponent<ModalHeaderProps & React.RefAttributes<HTMLElement>>;
37
+ export type ModalTitleProps = RecursicaOverStyled<MantineModalTitleProps>;
38
+ declare const ModalTitle: React.ForwardRefExoticComponent<ModalTitleProps & React.RefAttributes<HTMLHeadingElement>>;
39
+ export type ModalCloseButtonProps = RecursicaOverStyled<MantineModalCloseButtonProps>;
40
+ declare const ModalCloseButton: React.ForwardRefExoticComponent<ModalCloseButtonProps & React.RefAttributes<HTMLButtonElement>>;
28
41
  interface ModalComponent extends React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>> {
29
- Root: typeof MantineModal.Root;
30
- Overlay: typeof MantineModal.Overlay;
31
- Content: typeof MantineModal.Content;
32
- Header: typeof MantineModal.Header;
33
- Title: typeof MantineModal.Title;
34
- CloseButton: typeof MantineModal.CloseButton;
42
+ Root: typeof ModalRoot;
43
+ Overlay: typeof ModalOverlay;
44
+ Content: typeof ModalContent;
45
+ Header: typeof ModalHeader;
46
+ Title: typeof ModalTitle;
47
+ CloseButton: typeof ModalCloseButton;
35
48
  Body: typeof ModalBody;
36
49
  Footer: typeof ModalFooter;
37
50
  }
@@ -1,45 +1,65 @@
1
1
  import { default as React } from 'react';
2
- import { Pagination as MantinePagination, PaginationProps as MantinePaginationProps, PaginationRootProps as MantinePaginationRootProps } from '@mantine/core';
2
+ import { Pagination as MantinePagination, PaginationProps as MantinePaginationProps, PaginationRootProps as MantinePaginationRootProps, PaginationControlProps as MantinePaginationControlProps, PaginationDotsProps as MantinePaginationDotsProps } from '@mantine/core';
3
3
  import { RecursicaOverStyled } from '../../utils/filterStylingProps';
4
4
  import { PaginationIcon } from './Pagination.icons';
5
5
  import { RecursicaPaginationProps } from '@recursica/adapter-common';
6
6
  export type PaginationProps = RecursicaOverStyled<MantinePaginationProps & RecursicaPaginationProps>;
7
7
  export type PaginationRootProps = RecursicaOverStyled<MantinePaginationRootProps>;
8
- export type PaginationEdgeProps<T extends React.ElementType> = React.ComponentProps<T> & {
8
+ export type PaginationEdgeProps<T extends React.ElementType> = RecursicaOverStyled<React.ComponentProps<T> & {
9
9
  /** If set to true, displays text labels alongside the icon. */
10
10
  withLabel?: boolean;
11
11
  icon?: any;
12
- };
12
+ }>;
13
13
  declare const _PaginationRoot: React.ForwardRefExoticComponent<PaginationRootProps & React.RefAttributes<HTMLDivElement>>;
14
- declare const _PaginationNext: React.ForwardRefExoticComponent<{
15
- /** If set to true, displays text labels alongside the icon. */
16
- withLabel?: boolean;
17
- icon?: any;
18
- } & React.RefAttributes<HTMLButtonElement>>;
19
- declare const _PaginationPrevious: React.ForwardRefExoticComponent<{
20
- /** If set to true, displays text labels alongside the icon. */
21
- withLabel?: boolean;
22
- icon?: any;
23
- } & React.RefAttributes<HTMLButtonElement>>;
24
- declare const _PaginationFirst: React.ForwardRefExoticComponent<{
25
- /** If set to true, displays text labels alongside the icon. */
26
- withLabel?: boolean;
27
- icon?: any;
28
- } & React.RefAttributes<HTMLButtonElement>>;
29
- declare const _PaginationLast: React.ForwardRefExoticComponent<{
30
- /** If set to true, displays text labels alongside the icon. */
31
- withLabel?: boolean;
32
- icon?: any;
33
- } & React.RefAttributes<HTMLButtonElement>>;
14
+ declare const _PaginationNext: React.ForwardRefExoticComponent<PaginationEdgeProps<(<C = "button">(props: import('@mantine/core').PolymorphicComponentProps<C, import('@mantine/core').PaginationEdgeProps>) => React.ReactElement) & Omit<React.FunctionComponent<(import('@mantine/core').PaginationEdgeProps & {
15
+ component?: any;
16
+ } & Omit<Omit<any, "ref">, "component" | keyof import('@mantine/core').PaginationEdgeProps> & {
17
+ ref?: any;
18
+ renderRoot?: (props: any) => any;
19
+ }) | (import('@mantine/core').PaginationEdgeProps & {
20
+ component: React.ElementType;
21
+ renderRoot?: (props: Record<string, any>) => any;
22
+ })>, never> & Record<string, never>> & React.RefAttributes<HTMLButtonElement>>;
23
+ declare const _PaginationPrevious: React.ForwardRefExoticComponent<PaginationEdgeProps<(<C = "button">(props: import('@mantine/core').PolymorphicComponentProps<C, import('@mantine/core').PaginationEdgeProps>) => React.ReactElement) & Omit<React.FunctionComponent<(import('@mantine/core').PaginationEdgeProps & {
24
+ component?: any;
25
+ } & Omit<Omit<any, "ref">, "component" | keyof import('@mantine/core').PaginationEdgeProps> & {
26
+ ref?: any;
27
+ renderRoot?: (props: any) => any;
28
+ }) | (import('@mantine/core').PaginationEdgeProps & {
29
+ component: React.ElementType;
30
+ renderRoot?: (props: Record<string, any>) => any;
31
+ })>, never> & Record<string, never>> & React.RefAttributes<HTMLButtonElement>>;
32
+ declare const _PaginationFirst: React.ForwardRefExoticComponent<PaginationEdgeProps<(<C = "button">(props: import('@mantine/core').PolymorphicComponentProps<C, import('@mantine/core').PaginationEdgeProps>) => React.ReactElement) & Omit<React.FunctionComponent<(import('@mantine/core').PaginationEdgeProps & {
33
+ component?: any;
34
+ } & Omit<Omit<any, "ref">, "component" | keyof import('@mantine/core').PaginationEdgeProps> & {
35
+ ref?: any;
36
+ renderRoot?: (props: any) => any;
37
+ }) | (import('@mantine/core').PaginationEdgeProps & {
38
+ component: React.ElementType;
39
+ renderRoot?: (props: Record<string, any>) => any;
40
+ })>, never> & Record<string, never>> & React.RefAttributes<HTMLButtonElement>>;
41
+ declare const _PaginationLast: React.ForwardRefExoticComponent<PaginationEdgeProps<(<C = "button">(props: import('@mantine/core').PolymorphicComponentProps<C, import('@mantine/core').PaginationEdgeProps>) => React.ReactElement) & Omit<React.FunctionComponent<(import('@mantine/core').PaginationEdgeProps & {
42
+ component?: any;
43
+ } & Omit<Omit<any, "ref">, "component" | keyof import('@mantine/core').PaginationEdgeProps> & {
44
+ ref?: any;
45
+ renderRoot?: (props: any) => any;
46
+ }) | (import('@mantine/core').PaginationEdgeProps & {
47
+ component: React.ElementType;
48
+ renderRoot?: (props: Record<string, any>) => any;
49
+ })>, never> & Record<string, never>> & React.RefAttributes<HTMLButtonElement>>;
34
50
  declare const _Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLDivElement>>;
51
+ export type PaginationControlProps = RecursicaOverStyled<MantinePaginationControlProps>;
52
+ declare const _PaginationControl: React.ForwardRefExoticComponent<PaginationControlProps & React.RefAttributes<HTMLButtonElement>>;
53
+ export type PaginationDotsProps = RecursicaOverStyled<MantinePaginationDotsProps>;
54
+ declare const _PaginationDots: React.ForwardRefExoticComponent<PaginationDotsProps & React.RefAttributes<HTMLDivElement>>;
35
55
  /**
36
56
  * Recursica Pagination component wrapping Mantine's Pagination.
37
57
  */
38
58
  export declare const Pagination: typeof _Pagination & {
39
59
  Root: typeof _PaginationRoot;
40
60
  Items: typeof MantinePagination.Items;
41
- Control: typeof MantinePagination.Control;
42
- Dots: typeof MantinePagination.Dots;
61
+ Control: typeof _PaginationControl;
62
+ Dots: typeof _PaginationDots;
43
63
  Next: typeof _PaginationNext;
44
64
  Previous: typeof _PaginationPrevious;
45
65
  First: typeof _PaginationFirst;
@@ -1,4 +1,4 @@
1
- import { Drawer as MantineDrawer, DrawerProps as MantineDrawerProps } from '@mantine/core';
1
+ import { Drawer as MantineDrawer, DrawerProps as MantineDrawerProps, DrawerRootProps as MantineDrawerRootProps, DrawerOverlayProps as MantineDrawerOverlayProps, DrawerContentProps as MantineDrawerContentProps, DrawerHeaderProps as MantineDrawerHeaderProps, DrawerTitleProps as MantineDrawerTitleProps, DrawerCloseButtonProps as MantineDrawerCloseButtonProps, DrawerBodyProps as MantineDrawerBodyProps } from '@mantine/core';
2
2
  import { RecursicaOverStyled } from '../../utils/filterStylingProps';
3
3
  import { RecursicaPanelProps as BaseRecursicaPanelProps } from '@recursica/adapter-common';
4
4
  /**
@@ -45,14 +45,28 @@ export type PanelFooterProps = RecursicaOverStyled<React.HTMLAttributes<HTMLDivE
45
45
  * natively provide a footer.
46
46
  */
47
47
  export declare const PanelFooter: import('react').ForwardRefExoticComponent<PanelFooterProps & import('react').RefAttributes<HTMLDivElement>>;
48
+ export type PanelRootProps = RecursicaOverStyled<MantineDrawerRootProps>;
49
+ export declare const PanelRoot: import('react').ForwardRefExoticComponent<PanelRootProps & import('react').RefAttributes<HTMLDivElement>>;
50
+ export type PanelOverlayProps = RecursicaOverStyled<MantineDrawerOverlayProps>;
51
+ export declare const PanelOverlay: import('react').ForwardRefExoticComponent<PanelOverlayProps & import('react').RefAttributes<HTMLDivElement>>;
52
+ export type PanelContentProps = RecursicaOverStyled<MantineDrawerContentProps>;
53
+ export declare const PanelContent: import('react').ForwardRefExoticComponent<PanelContentProps & import('react').RefAttributes<HTMLDivElement>>;
54
+ export type PanelHeaderProps = RecursicaOverStyled<MantineDrawerHeaderProps>;
55
+ export declare const PanelHeader: import('react').ForwardRefExoticComponent<PanelHeaderProps & import('react').RefAttributes<HTMLElement>>;
56
+ export type PanelTitleProps = RecursicaOverStyled<MantineDrawerTitleProps>;
57
+ export declare const PanelTitle: import('react').ForwardRefExoticComponent<PanelTitleProps & import('react').RefAttributes<HTMLHeadingElement>>;
58
+ export type PanelCloseButtonProps = RecursicaOverStyled<MantineDrawerCloseButtonProps>;
59
+ export declare const PanelCloseButton: import('react').ForwardRefExoticComponent<PanelCloseButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
60
+ export type PanelBodyProps = RecursicaOverStyled<MantineDrawerBodyProps>;
61
+ export declare const PanelBody: import('react').ForwardRefExoticComponent<PanelBodyProps & import('react').RefAttributes<HTMLDivElement>>;
48
62
  type PanelComponent = typeof PanelBase & {
49
- Root: typeof MantineDrawer.Root;
50
- Overlay: typeof MantineDrawer.Overlay;
51
- Content: typeof MantineDrawer.Content;
52
- Header: typeof MantineDrawer.Header;
53
- Title: typeof MantineDrawer.Title;
54
- CloseButton: typeof MantineDrawer.CloseButton;
55
- Body: typeof MantineDrawer.Body;
63
+ Root: typeof PanelRoot;
64
+ Overlay: typeof PanelOverlay;
65
+ Content: typeof PanelContent;
66
+ Header: typeof PanelHeader;
67
+ Title: typeof PanelTitle;
68
+ CloseButton: typeof PanelCloseButton;
69
+ Body: typeof PanelBody;
56
70
  Stack: typeof MantineDrawer.Stack;
57
71
  Footer: typeof PanelFooter;
58
72
  };
@@ -1,13 +1,15 @@
1
1
  import { default as React } from 'react';
2
- import { Stepper as MantineStepper, StepperProps as MantineStepperProps } from '@mantine/core';
2
+ import { Stepper as MantineStepper, StepperProps as MantineStepperProps, StepperStepProps as MantineStepperStepProps } from '@mantine/core';
3
3
  import { RecursicaOverStyled } from '../../utils/filterStylingProps';
4
4
  import { RecursicaStepperProps } from '@recursica/adapter-common';
5
5
  export interface RecursicaStepperPropsExtended extends Omit<MantineStepperProps, "size">, RecursicaStepperProps {
6
6
  }
7
7
  export type StepperProps = RecursicaOverStyled<RecursicaStepperPropsExtended>;
8
8
  declare const _Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<HTMLDivElement>>;
9
+ export type StepperStepProps = RecursicaOverStyled<MantineStepperStepProps>;
10
+ declare const _StepperStep: React.ForwardRefExoticComponent<StepperStepProps & React.RefAttributes<HTMLButtonElement>>;
9
11
  export declare const Stepper: typeof _Stepper & {
10
- Step: typeof MantineStepper.Step;
12
+ Step: typeof _StepperStep;
11
13
  Completed: typeof MantineStepper.Completed;
12
14
  };
13
15
  export {};
@@ -1,17 +1,33 @@
1
- import { Table as MantineTable, TableProps as MantineTableProps } from '@mantine/core';
1
+ import { TableProps as MantineTableProps, TableTheadProps as MantineTableTheadProps, TableTbodyProps as MantineTableTbodyProps, TableTrProps as MantineTableTrProps, TableThProps as MantineTableThProps, TableTdProps as MantineTableTdProps, TableTfootProps as MantineTableTfootProps, TableCaptionProps as MantineTableCaptionProps, TableScrollContainerProps as MantineTableScrollContainerProps } from '@mantine/core';
2
2
  import { RecursicaOverStyled } from '../../utils/filterStylingProps';
3
3
  import { RecursicaTableProps } from '@recursica/adapter-common';
4
4
  export type TableProps = RecursicaOverStyled<MantineTableProps & RecursicaTableProps>;
5
5
  declare const TableBase: import('react').ForwardRefExoticComponent<TableProps & import('react').RefAttributes<HTMLTableElement>>;
6
+ export type TableTheadProps = RecursicaOverStyled<MantineTableTheadProps>;
7
+ export declare const TableThead: import('react').ForwardRefExoticComponent<TableTheadProps & import('react').RefAttributes<HTMLTableSectionElement>>;
8
+ export type TableTbodyProps = RecursicaOverStyled<MantineTableTbodyProps>;
9
+ export declare const TableTbody: import('react').ForwardRefExoticComponent<TableTbodyProps & import('react').RefAttributes<HTMLTableSectionElement>>;
10
+ export type TableTrProps = RecursicaOverStyled<MantineTableTrProps>;
11
+ export declare const TableTr: import('react').ForwardRefExoticComponent<TableTrProps & import('react').RefAttributes<HTMLTableRowElement>>;
12
+ export type TableThProps = RecursicaOverStyled<MantineTableThProps>;
13
+ export declare const TableTh: import('react').ForwardRefExoticComponent<TableThProps & import('react').RefAttributes<HTMLTableCellElement>>;
14
+ export type TableTdProps = RecursicaOverStyled<MantineTableTdProps>;
15
+ export declare const TableTd: import('react').ForwardRefExoticComponent<TableTdProps & import('react').RefAttributes<HTMLTableCellElement>>;
16
+ export type TableTfootProps = RecursicaOverStyled<MantineTableTfootProps>;
17
+ export declare const TableTfoot: import('react').ForwardRefExoticComponent<TableTfootProps & import('react').RefAttributes<HTMLTableSectionElement>>;
18
+ export type TableCaptionProps = RecursicaOverStyled<MantineTableCaptionProps>;
19
+ export declare const TableCaption: import('react').ForwardRefExoticComponent<TableCaptionProps & import('react').RefAttributes<HTMLTableCaptionElement>>;
20
+ export type TableScrollContainerProps = RecursicaOverStyled<MantineTableScrollContainerProps>;
21
+ export declare const TableScrollContainer: import('react').ForwardRefExoticComponent<TableScrollContainerProps & import('react').RefAttributes<HTMLDivElement>>;
6
22
  type TableComponent = typeof TableBase & {
7
- Thead: typeof MantineTable.Thead;
8
- Tbody: typeof MantineTable.Tbody;
9
- Tr: typeof MantineTable.Tr;
10
- Th: typeof MantineTable.Th;
11
- Td: typeof MantineTable.Td;
12
- Tfoot: typeof MantineTable.Tfoot;
13
- Caption: typeof MantineTable.Caption;
14
- ScrollContainer: typeof MantineTable.ScrollContainer;
23
+ Thead: typeof TableThead;
24
+ Tbody: typeof TableTbody;
25
+ Tr: typeof TableTr;
26
+ Th: typeof TableTh;
27
+ Td: typeof TableTd;
28
+ Tfoot: typeof TableTfoot;
29
+ Caption: typeof TableCaption;
30
+ ScrollContainer: typeof TableScrollContainer;
15
31
  };
16
32
  export declare const Table: TableComponent;
17
33
  export {};
@@ -1,4 +1,4 @@
1
- import { Tooltip as MantineTooltip, TooltipProps as MantineTooltipProps } from '@mantine/core';
1
+ import { Tooltip as MantineTooltip, TooltipProps as MantineTooltipProps, TooltipFloatingProps as MantineTooltipFloatingProps } from '@mantine/core';
2
2
  import { RecursicaOverStyled } from '../../utils/filterStylingProps';
3
3
  import { RecursicaTooltipProps } from '@recursica/adapter-common';
4
4
  /**
@@ -23,8 +23,10 @@ declare const TooltipBase: {
23
23
  ({ overStyled, withBeak, ...rest }: TooltipProps): import("react/jsx-runtime").JSX.Element;
24
24
  displayName: string;
25
25
  };
26
+ export type TooltipFloatingProps = RecursicaOverStyled<MantineTooltipFloatingProps>;
27
+ export declare const TooltipFloating: import('react').ForwardRefExoticComponent<TooltipFloatingProps & import('react').RefAttributes<HTMLDivElement>>;
26
28
  type TooltipComponent = typeof TooltipBase & {
27
- Floating: typeof MantineTooltip.Floating;
29
+ Floating: typeof TooltipFloating;
28
30
  Group: typeof MantineTooltip.Group;
29
31
  };
30
32
  export declare const Tooltip: TooltipComponent;
@@ -15,6 +15,7 @@ export * from './FileInput/FileInput';
15
15
  export * from './FileUpload/FileUpload';
16
16
  export * from './Flex/Flex';
17
17
  export * from './FormControlLayout/FormControlLayout';
18
+ export * from './Grid/Grid';
18
19
  export * from './Group/Group';
19
20
  export * from './HoverCard/HoverCard';
20
21
  export * from './Link/Link';
@@ -31,6 +31,70 @@ export declare const Flex: (<C = "div">(props: import('@mantine/core').Polymorph
31
31
  component: React.ElementType;
32
32
  renderRoot?: (props: Record<string, any>) => any;
33
33
  })>, never> & Record<string, never>;
34
+ export declare const Grid: (<C = "div">(props: import('@mantine/core').PolymorphicComponentProps<C, rawComponents.GridProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<(Omit<Omit<import('@mantine/core').GridProps, "gutter"> & import('@recursica/adapter-common').RecursicaGridProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
35
+ m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
36
+ mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
37
+ my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
38
+ mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
39
+ mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
40
+ ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
41
+ mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
42
+ gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
43
+ rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
44
+ columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
45
+ } & {
46
+ component?: any;
47
+ } & Omit<Omit<any, "ref">, "className" | "classNames" | "style" | "styles" | "vars" | "p" | "px" | "py" | "pt" | "pb" | "pl" | "pr" | "bg" | "c" | "opacity" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "bd" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap" | "top" | "left" | "bottom" | "right" | "key" | "defaultValue" | "onChange" | "variant" | "slot" | "title" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "unstyled" | "attributes" | "type" | "justify" | "component" | "align" | "overflow" | "grow" | "columns" | "breakpoints"> & {
48
+ ref?: any;
49
+ renderRoot?: (props: any) => any;
50
+ }) | (Omit<Omit<import('@mantine/core').GridProps, "gutter"> & import('@recursica/adapter-common').RecursicaGridProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
51
+ m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
52
+ mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
53
+ my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
54
+ mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
55
+ mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
56
+ ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
57
+ mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
58
+ gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
59
+ rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
60
+ columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
61
+ } & {
62
+ component: React.ElementType;
63
+ renderRoot?: (props: Record<string, any>) => any;
64
+ })>, never> & Record<string, never> & {
65
+ Col: typeof rawComponents.GridCol;
66
+ };
67
+ export declare const GridCol: (<C = "div">(props: import('@mantine/core').PolymorphicComponentProps<C, rawComponents.GridColProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<(Omit<import('@mantine/core').GridColProps & import('@recursica/adapter-common').RecursicaGridColProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
68
+ m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
69
+ mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
70
+ my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
71
+ mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
72
+ mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
73
+ ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
74
+ mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
75
+ gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
76
+ rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
77
+ columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
78
+ } & {
79
+ component?: any;
80
+ } & Omit<Omit<any, "ref">, "className" | "classNames" | "style" | "styles" | "vars" | "p" | "px" | "py" | "pt" | "pb" | "pl" | "pr" | "bg" | "c" | "opacity" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "bd" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap" | "top" | "left" | "bottom" | "right" | "key" | "defaultValue" | "onChange" | "variant" | "slot" | "span" | "title" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "order" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "component" | "offset"> & {
81
+ ref?: any;
82
+ renderRoot?: (props: any) => any;
83
+ }) | (Omit<import('@mantine/core').GridColProps & import('@recursica/adapter-common').RecursicaGridColProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
84
+ m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
85
+ mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
86
+ my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
87
+ mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
88
+ mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
89
+ ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
90
+ mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
91
+ gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
92
+ rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
93
+ columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
94
+ } & {
95
+ component: React.ElementType;
96
+ renderRoot?: (props: Record<string, any>) => any;
97
+ })>, never> & Record<string, never>;
34
98
  export declare const Group: import('react').ForwardRefExoticComponent<Omit<import('@mantine/core').GroupProps & import('@recursica/adapter-common').RecursicaGroupProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
35
99
  m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
36
100
  mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
package/llms.txt CHANGED
@@ -9,8 +9,64 @@ This adapter converts Recursica design tokens into Mantine-specific themes and c
9
9
  - Relies on `@mantine/core`, `@mantine/dates`, and `@mantine/hooks` peer dependencies.
10
10
  - When building UI in consumer applications, prioritize using components exported by this package to adhere to the Recursica design system.
11
11
 
12
- ## Documentation
12
+ ## Reference Documentation
13
13
 
14
- - [USAGE](USAGE.md): Detailed usage instructions.
14
+ - [USAGE](USAGE.md): Detailed usage instructions, import rules, and layout/token conventions.
15
+ - [OVERSTYLING](OVERSTYLING.md): The `overStyled` escape hatch — when it's appropriate, what's permitted by default, and how to visually audit its usage.
16
+ - [SETUP](SETUP.md): Installation and integration steps.
15
17
  - [ARCHITECTURE](ARCHITECTURE.md): Package architecture and dependencies.
16
18
  - [README](README.md)
19
+
20
+ ## Components
21
+
22
+ Each component has its own `USAGE.md` documenting its props, adapter-specific behaviors, layout constraints, and accessibility requirements.
23
+
24
+ - [Accordion](src/components/Accordion/USAGE.md)
25
+ - [AssistiveElement](src/components/AssistiveElement/USAGE.md)
26
+ - [AutoComplete](src/components/AutoComplete/USAGE.md)
27
+ - [Avatar](src/components/Avatar/USAGE.md)
28
+ - [Badge](src/components/Badge/USAGE.md)
29
+ - [Breadcrumb](src/components/Breadcrumb/USAGE.md)
30
+ - [Button](src/components/Button/USAGE.md)
31
+ - [Card](src/components/Card/USAGE.md)
32
+ - [Checkbox](src/components/Checkbox/USAGE.md)
33
+ - [Chip](src/components/Chip/USAGE.md)
34
+ - [Container](src/components/Container/USAGE.md)
35
+ - [DatePicker](src/components/DatePicker/USAGE.md)
36
+ - [Dropdown](src/components/Dropdown/USAGE.md)
37
+ - [FileInput](src/components/FileInput/USAGE.md)
38
+ - [FileUpload](src/components/FileUpload/USAGE.md)
39
+ - [Flex](src/components/Flex/USAGE.md)
40
+ - [FormControlLayout](src/components/FormControlLayout/USAGE.md)
41
+ - [FormControlWrapper](src/components/FormControlWrapper/USAGE.md)
42
+ - [Grid](src/components/Grid/USAGE.md)
43
+ - [Group](src/components/Group/USAGE.md)
44
+ - [HoverCard](src/components/HoverCard/USAGE.md)
45
+ - [Label](src/components/Label/USAGE.md)
46
+ - [Link](src/components/Link/USAGE.md)
47
+ - [Loader](src/components/Loader/USAGE.md)
48
+ - [Menu](src/components/Menu/USAGE.md)
49
+ - [Modal](src/components/Modal/USAGE.md)
50
+ - [NumberInput](src/components/NumberInput/USAGE.md)
51
+ - [Pagination](src/components/Pagination/USAGE.md)
52
+ - [Panel](src/components/Panel/USAGE.md)
53
+ - [Popover](src/components/Popover/USAGE.md)
54
+ - [Radio](src/components/Radio/USAGE.md)
55
+ - [ReadOnlyField](src/components/ReadOnlyField/USAGE.md)
56
+ - [SegmentedControl](src/components/SegmentedControl/USAGE.md)
57
+ - [Slider](src/components/Slider/USAGE.md)
58
+ - [Stack](src/components/Stack/USAGE.md)
59
+ - [Stepper](src/components/Stepper/USAGE.md)
60
+ - [Switch](src/components/Switch/USAGE.md)
61
+ - [Table](src/components/Table/USAGE.md)
62
+ - [Tabs](src/components/Tabs/USAGE.md)
63
+ - [Text](src/components/Text/USAGE.md)
64
+ - [TextArea](src/components/TextArea/USAGE.md)
65
+ - [TextField](src/components/TextField/USAGE.md)
66
+ - [TimePicker](src/components/TimePicker/USAGE.md)
67
+ - [Timeline](src/components/Timeline/USAGE.md)
68
+ - [Title](src/components/Title/USAGE.md)
69
+ - [Toast](src/components/Toast/USAGE.md)
70
+ - [Tooltip](src/components/Tooltip/USAGE.md)
71
+ - [TransferList](src/components/TransferList/USAGE.md)
72
+ - [Tree](src/components/Tree/USAGE.md)
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "url": "git+https://github.com/borderux/recursica.git",
14
14
  "directory": "packages/mantine-adapter"
15
15
  },
16
- "version": "0.33.0",
16
+ "version": "0.35.0",
17
17
  "type": "module",
18
18
  "main": "./dist/mantine-adapter.cjs",
19
19
  "module": "./dist/mantine-adapter.js",
@@ -34,7 +34,8 @@
34
34
  "llms.txt",
35
35
  "USAGE.md",
36
36
  "ARCHITECTURE.md",
37
- "SETUP.md"
37
+ "SETUP.md",
38
+ "OVERSTYLING.md"
38
39
  ],
39
40
  "keywords": [
40
41
  "react",