@recursica/mantine-adapter 0.38.0 → 0.38.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +2892 -2
- package/package.json +1 -1
- package/dist/src/OverStyling.d.ts +0 -1
- package/dist/src/Version.d.ts +0 -1
- package/dist/src/components/Accordion/Accordion.d.ts +0 -21
- package/dist/src/components/Accordion/index.d.ts +0 -1
- package/dist/src/components/AssistiveElement/AssistiveElement.d.ts +0 -5
- package/dist/src/components/AutoComplete/AutoComplete.d.ts +0 -11
- package/dist/src/components/Avatar/Avatar.d.ts +0 -18
- package/dist/src/components/Avatar/index.d.ts +0 -1
- package/dist/src/components/Badge/Badge.d.ts +0 -18
- package/dist/src/components/Breadcrumb/Breadcrumb.d.ts +0 -5
- package/dist/src/components/Button/Button.d.ts +0 -30
- package/dist/src/components/Button/index.d.ts +0 -1
- package/dist/src/components/Card/Card.d.ts +0 -59
- package/dist/src/components/Checkbox/Checkbox.d.ts +0 -13
- package/dist/src/components/Checkbox/CheckboxGroup.d.ts +0 -9
- package/dist/src/components/Chip/Chip.d.ts +0 -6
- package/dist/src/components/Container/Container.d.ts +0 -23
- package/dist/src/components/DatePicker/DatePicker.d.ts +0 -9
- package/dist/src/components/Dropdown/BareDropdown.d.ts +0 -19
- package/dist/src/components/Dropdown/Dropdown.d.ts +0 -9
- package/dist/src/components/FileInput/FileInput.d.ts +0 -3
- package/dist/src/components/FileUpload/FileUpload.d.ts +0 -3
- package/dist/src/components/Flex/Flex.d.ts +0 -52
- package/dist/src/components/FormControlLayout/FormControlLayout.d.ts +0 -16
- package/dist/src/components/FormControlWrapper/FormControlWrapper.d.ts +0 -7
- package/dist/src/components/Grid/Grid.d.ts +0 -91
- package/dist/src/components/Group/Group.d.ts +0 -23
- package/dist/src/components/HoverCard/HoverCard.d.ts +0 -45
- package/dist/src/components/Label/Label.d.ts +0 -6
- package/dist/src/components/Label/index.d.ts +0 -1
- package/dist/src/components/Link/Link.d.ts +0 -23
- package/dist/src/components/Link/index.d.ts +0 -1
- package/dist/src/components/Loader/Loader.d.ts +0 -5
- package/dist/src/components/Menu/Menu.d.ts +0 -116
- package/dist/src/components/Modal/Modal.d.ts +0 -54
- package/dist/src/components/Modal/index.d.ts +0 -1
- package/dist/src/components/NumberInput/NumberInput.d.ts +0 -9
- package/dist/src/components/Pagination/Pagination.d.ts +0 -69
- package/dist/src/components/Pagination/Pagination.icons.d.ts +0 -8
- package/dist/src/components/Pagination/index.d.ts +0 -1
- package/dist/src/components/Panel/Panel.d.ts +0 -74
- package/dist/src/components/Popover/Popover.d.ts +0 -47
- package/dist/src/components/Popover/index.d.ts +0 -1
- package/dist/src/components/Radio/Radio.d.ts +0 -13
- package/dist/src/components/Radio/RadioGroup.d.ts +0 -9
- package/dist/src/components/ReadOnlyField/ReadOnlyBooleanField.d.ts +0 -5
- package/dist/src/components/ReadOnlyField/ReadOnlyField.d.ts +0 -12
- package/dist/src/components/ReadOnlyField/ReadOnlySwitchField.d.ts +0 -5
- package/dist/src/components/ReadOnlyField/ReadOnlyTextField.d.ts +0 -8
- package/dist/src/components/ReadOnlyField/WithReadOnlyWrapper.d.ts +0 -28
- package/dist/src/components/ReadOnlyField/index.d.ts +0 -5
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +0 -11
- package/dist/src/components/Slider/Slider.d.ts +0 -15
- package/dist/src/components/Stack/Stack.d.ts +0 -42
- package/dist/src/components/Stepper/Stepper.d.ts +0 -15
- package/dist/src/components/Switch/Switch.d.ts +0 -13
- package/dist/src/components/Switch/SwitchGroup.d.ts +0 -9
- package/dist/src/components/Table/Table.d.ts +0 -33
- package/dist/src/components/Tabs/Tabs.d.ts +0 -19
- package/dist/src/components/Text/Text.d.ts +0 -24
- package/dist/src/components/TextArea/TextArea.d.ts +0 -9
- package/dist/src/components/TextField/TextField.d.ts +0 -9
- package/dist/src/components/TimePicker/TimePicker.d.ts +0 -10
- package/dist/src/components/Timeline/Timeline.d.ts +0 -16
- package/dist/src/components/Timeline/TimelineItem.d.ts +0 -14
- package/dist/src/components/Title/Title.d.ts +0 -8
- package/dist/src/components/Toast/Toast.d.ts +0 -11
- package/dist/src/components/Toast/index.d.ts +0 -1
- package/dist/src/components/Tooltip/Tooltip.d.ts +0 -33
- package/dist/src/components/TransferList/TransferList.d.ts +0 -4
- package/dist/src/components/Tree/Tree.d.ts +0 -18
- package/dist/src/components/Tree/index.d.ts +0 -1
- package/dist/src/components/index.d.ts +0 -52
- package/dist/src/index.d.ts +0 -220
- package/dist/src/types/index.d.ts +0 -6
- package/dist/src/utils/ColorSchemeWrapper.d.ts +0 -3
- package/dist/src/utils/RequireAccessibleLabel.d.ts +0 -1
- package/dist/src/utils/copyToClipboard.d.ts +0 -8
- package/dist/src/utils/filterStylingProps.d.ts +0 -28
- package/dist/src/utils/index.d.ts +0 -1
- package/dist/vite.config.d.ts +0 -2
- package/dist/vitest.workspace.d.ts +0 -2
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { StackProps as MantineStackProps } from '@mantine/core';
|
|
2
|
-
import { WithRecursicaSpacing } from '../../utils/filterStylingProps';
|
|
3
|
-
import { RecursicaStackProps } from '@recursica/adapter-common';
|
|
4
|
-
/**
|
|
5
|
-
* Stack flex layout wrapper.
|
|
6
|
-
*
|
|
7
|
-
* Note: Unlike complex UI components, primitive layout components (Flex, Stack, Group, Container)
|
|
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 StackProps = WithRecursicaSpacing<MantineStackProps & RecursicaStackProps>;
|
|
12
|
-
export declare const Stack: (<C = "div">(props: import('@mantine/core').PolymorphicComponentProps<C, StackProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<(Omit<MantineStackProps & RecursicaStackProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
13
|
-
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
14
|
-
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
15
|
-
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
16
|
-
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
17
|
-
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
18
|
-
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
19
|
-
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
20
|
-
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
21
|
-
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
22
|
-
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
23
|
-
} & {
|
|
24
|
-
component?: any;
|
|
25
|
-
} & 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" | "justify" | "component" | "align"> & {
|
|
26
|
-
ref?: any;
|
|
27
|
-
renderRoot?: (props: any) => any;
|
|
28
|
-
}) | (Omit<MantineStackProps & RecursicaStackProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
29
|
-
m?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
30
|
-
mx?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
31
|
-
my?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
32
|
-
mt?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
33
|
-
mb?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
34
|
-
ml?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
35
|
-
mr?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
36
|
-
gap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
37
|
-
rowGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
38
|
-
columnGap?: string | number | import('@recursica/adapter-common').RecursicaSpacing;
|
|
39
|
-
} & {
|
|
40
|
-
component: React.ElementType;
|
|
41
|
-
renderRoot?: (props: Record<string, any>) => any;
|
|
42
|
-
})>, never> & Record<string, never>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { Stepper as MantineStepper, StepperProps as MantineStepperProps, StepperStepProps as MantineStepperStepProps } from '@mantine/core';
|
|
3
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
4
|
-
import { RecursicaStepperProps } from '@recursica/adapter-common';
|
|
5
|
-
export interface RecursicaStepperPropsExtended extends Omit<MantineStepperProps, "size">, RecursicaStepperProps {
|
|
6
|
-
}
|
|
7
|
-
export type StepperProps = RecursicaOverStyled<RecursicaStepperPropsExtended>;
|
|
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>>;
|
|
11
|
-
export declare const Stepper: typeof _Stepper & {
|
|
12
|
-
Step: typeof _StepperStep;
|
|
13
|
-
Completed: typeof MantineStepper.Completed;
|
|
14
|
-
};
|
|
15
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SwitchProps as MantineSwitchProps } from '@mantine/core';
|
|
2
|
-
import { ReadOnlyControlProps, RequireAccessibleLabel, RecursicaSwitchProps } from '@recursica/adapter-common';
|
|
3
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
4
|
-
import { FormControlLayoutProps } from '../FormControlLayout/FormControlLayout';
|
|
5
|
-
import { SwitchGroup } from './SwitchGroup';
|
|
6
|
-
export type SwitchWrapperProps = Omit<MantineSwitchProps, "size" | "color" | "radius" | "variant"> & RecursicaSwitchProps & ReadOnlyControlProps & Pick<FormControlLayoutProps, "formLayout" | "labelSize" | "controlMaxWidth" | "controlMinWidth">;
|
|
7
|
-
export type RecursicaSwitchPropsAlias = RequireAccessibleLabel<SwitchWrapperProps>;
|
|
8
|
-
export type SwitchProps = RecursicaOverStyled<RecursicaSwitchPropsAlias>;
|
|
9
|
-
type SwitchComponent = React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>> & {
|
|
10
|
-
Group: typeof SwitchGroup;
|
|
11
|
-
};
|
|
12
|
-
export declare const Switch: SwitchComponent;
|
|
13
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SwitchGroupProps as MantineSwitchGroupProps } from '@mantine/core';
|
|
3
|
-
import { ReadOnlyControlProps, RecursicaSwitchGroupProps as BaseRecursicaSwitchGroupProps } from '@recursica/adapter-common';
|
|
4
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
5
|
-
import { RecursicaFormControlWrapperProps } from '../FormControlWrapper/FormControlWrapper';
|
|
6
|
-
export interface RecursicaSwitchGroupProps extends Omit<MantineSwitchGroupProps, "size" | "labelProps" | "defaultValue" | "value" | "onChange">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, BaseRecursicaSwitchGroupProps {
|
|
7
|
-
}
|
|
8
|
-
export type SwitchGroupProps = RecursicaOverStyled<RecursicaSwitchGroupProps>;
|
|
9
|
-
export declare const SwitchGroup: React.ForwardRefExoticComponent<SwitchGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
3
|
-
import { RecursicaTableProps } from '@recursica/adapter-common';
|
|
4
|
-
export type TableProps = RecursicaOverStyled<MantineTableProps & RecursicaTableProps>;
|
|
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>>;
|
|
22
|
-
type TableComponent = typeof TableBase & {
|
|
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;
|
|
31
|
-
};
|
|
32
|
-
export declare const Table: TableComponent;
|
|
33
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { TabsProps as MantineTabsProps, TabsListProps as MantineTabsListProps, TabsTabProps as MantineTabsTabProps, TabsPanelProps as MantineTabsPanelProps } from '@mantine/core';
|
|
2
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
3
|
-
import { RecursicaTabsProps } from '@recursica/adapter-common';
|
|
4
|
-
export interface RecursicaTabsPropsExtended extends Omit<MantineTabsProps, "variant">, RecursicaTabsProps {
|
|
5
|
-
}
|
|
6
|
-
export type TabsProps = RecursicaOverStyled<RecursicaTabsPropsExtended>;
|
|
7
|
-
declare const _Tabs: import('react').ForwardRefExoticComponent<TabsProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
8
|
-
export type TabsListProps = RecursicaOverStyled<MantineTabsListProps>;
|
|
9
|
-
declare const _TabsList: import('react').ForwardRefExoticComponent<TabsListProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export type TabsTabProps = RecursicaOverStyled<MantineTabsTabProps>;
|
|
11
|
-
declare const _TabsTab: import('react').ForwardRefExoticComponent<TabsTabProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
12
|
-
export type TabsPanelProps = RecursicaOverStyled<MantineTabsPanelProps>;
|
|
13
|
-
declare const _TabsPanel: import('react').ForwardRefExoticComponent<TabsPanelProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
14
|
-
export declare const Tabs: typeof _Tabs & {
|
|
15
|
-
List: typeof _TabsList;
|
|
16
|
-
Tab: typeof _TabsTab;
|
|
17
|
-
Panel: typeof _TabsPanel;
|
|
18
|
-
};
|
|
19
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { TextProps as MantineTextProps } from '@mantine/core';
|
|
2
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
3
|
-
import { RecursicaTextProps } from '@recursica/adapter-common';
|
|
4
|
-
export type TextProps = RecursicaOverStyled<Omit<MantineTextProps, "variant"> & RecursicaTextProps>;
|
|
5
|
-
/**
|
|
6
|
-
* A generalized typographical wrapper limiting text properties to bounded Recursica UI-kit tokens inherently.
|
|
7
|
-
* Do not use for semantic headings; use the explicit `<Title>` component for `<h1>` - `<h6>`.
|
|
8
|
-
*
|
|
9
|
-
* Supports polymorphism via the `component` prop or `renderRoot` for custom element rendering.
|
|
10
|
-
* @example
|
|
11
|
-
* ```tsx
|
|
12
|
-
* <Text component="span">Inline text</Text>
|
|
13
|
-
* <Text component="label" htmlFor="input-id">Label text</Text>
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
export declare const Text: (<C = "p">(props: import('@mantine/core').PolymorphicComponentProps<C, TextProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<((TextProps & {
|
|
17
|
-
component?: any;
|
|
18
|
-
}) & 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" | "variant" | "span" | "color" | "children" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "unstyled" | "attributes" | "overStyled" | "inherit" | "inline" | "size" | "__staticSelector" | "component" | "gradient" | "lineClamp" | "truncate"> & {
|
|
19
|
-
ref?: any;
|
|
20
|
-
renderRoot?: (props: any) => any;
|
|
21
|
-
}) | (TextProps & {
|
|
22
|
-
component: React.ElementType;
|
|
23
|
-
renderRoot?: (props: Record<string, any>) => any;
|
|
24
|
-
})>, never> & Record<string, never>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { TextareaProps as MantineTextareaProps } from '@mantine/core';
|
|
3
|
-
import { ReadOnlyControlProps, RecursicaTextAreaProps as BaseRecursicaTextAreaProps } from '@recursica/adapter-common';
|
|
4
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
5
|
-
import { RecursicaFormControlWrapperProps } from '../FormControlWrapper/FormControlWrapper';
|
|
6
|
-
export interface RecursicaTextAreaProps extends Omit<MantineTextareaProps, "size" | "variant" | "radius" | "wrapperProps">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, BaseRecursicaTextAreaProps {
|
|
7
|
-
}
|
|
8
|
-
export type TextAreaProps = RecursicaOverStyled<RecursicaTextAreaProps>;
|
|
9
|
-
export declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { InputProps, InputWrapperProps } from '@mantine/core';
|
|
3
|
-
import { ReadOnlyControlProps, RecursicaTextFieldProps as BaseRecursicaTextFieldProps } from '@recursica/adapter-common';
|
|
4
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
5
|
-
import { RecursicaFormControlWrapperProps } from '../FormControlWrapper/FormControlWrapper';
|
|
6
|
-
export interface RecursicaTextFieldProps extends Omit<InputProps, "size" | "variant" | "radius" | "wrapperProps">, Pick<InputWrapperProps, "label" | "error" | "required" | "withAsterisk" | "id">, Omit<React.ComponentPropsWithoutRef<"input">, "size" | "style" | "className" | "id">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, BaseRecursicaTextFieldProps {
|
|
7
|
-
}
|
|
8
|
-
export type TextFieldProps = RecursicaOverStyled<RecursicaTextFieldProps>;
|
|
9
|
-
export declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { TimePickerProps as MantineTimePickerProps } from '@mantine/dates';
|
|
3
|
-
import { InputWrapperProps } from '@mantine/core';
|
|
4
|
-
import { ReadOnlyControlProps, RecursicaTimePickerProps as BaseRecursicaTimePickerProps } from '@recursica/adapter-common';
|
|
5
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
6
|
-
import { RecursicaFormControlWrapperProps } from '../FormControlWrapper/FormControlWrapper';
|
|
7
|
-
export interface RecursicaTimePickerProps extends Omit<MantineTimePickerProps, "size" | "variant" | "radius" | "wrapperProps" | "format" | "min" | "max" | "amPmInputLabel" | "amPmLabels" | "amPmSelectProps" | "amPmRef" | "withDropdown" | "presets" | "maxDropdownContentHeight" | "scrollAreaProps" | "reverseTimeControlsList" | "popoverProps">, Pick<InputWrapperProps, "label" | "error" | "required" | "withAsterisk" | "id">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, BaseRecursicaTimePickerProps {
|
|
8
|
-
}
|
|
9
|
-
export type TimePickerProps = RecursicaOverStyled<RecursicaTimePickerProps>;
|
|
10
|
-
export declare const TimePicker: React.ForwardRefExoticComponent<TimePickerProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { TimelineProps as MantineTimelineProps } from '@mantine/core';
|
|
3
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
4
|
-
import { TimelineItem } from './TimelineItem';
|
|
5
|
-
import { RecursicaTimelineProps } from '@recursica/adapter-common';
|
|
6
|
-
/**
|
|
7
|
-
* Properties for the strictly-tokenized Timeline component.
|
|
8
|
-
* Native Mantine abstract properties like `color`, `radius`, `bulletSize`, and `lineWidth`
|
|
9
|
-
* have been stripped out to strictly enforce the structural mappings of the Recursica UI Kit.
|
|
10
|
-
*/
|
|
11
|
-
export type TimelineProps = RecursicaOverStyled<Omit<MantineTimelineProps, "color" | "radius" | "bulletSize" | "lineWidth"> & RecursicaTimelineProps>;
|
|
12
|
-
interface TimelineComponent extends React.ForwardRefExoticComponent<TimelineProps & React.RefAttributes<HTMLDivElement>> {
|
|
13
|
-
Item: typeof TimelineItem;
|
|
14
|
-
}
|
|
15
|
-
export declare const Timeline: TimelineComponent;
|
|
16
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { TimelineItemProps as MantineTimelineItemProps } from '@mantine/core';
|
|
3
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
4
|
-
import { RecursicaTimelineItemProps } from '@recursica/adapter-common';
|
|
5
|
-
export type TimelineItemProps = RecursicaOverStyled<Omit<MantineTimelineItemProps, "radius" | "color" | "lineVariant"> & RecursicaTimelineItemProps>;
|
|
6
|
-
/**
|
|
7
|
-
* The individual item component for the Timeline.
|
|
8
|
-
*
|
|
9
|
-
* **Recursica Abstract:**
|
|
10
|
-
* The `Timeline.Item` has been extended to support a `timestamp` string natively,
|
|
11
|
-
* rendering it below the body content. It also accepts a `bulletVariant` to morph
|
|
12
|
-
* the structural dimensions of the node circle automatically.
|
|
13
|
-
*/
|
|
14
|
-
export declare const TimelineItem: React.ForwardRefExoticComponent<TimelineItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TitleProps as MantineTitleProps } from '@mantine/core';
|
|
2
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
3
|
-
import { RecursicaTitleProps } from '@recursica/adapter-common';
|
|
4
|
-
export type TitleProps = RecursicaOverStyled<Omit<MantineTitleProps, "size"> & RecursicaTitleProps>;
|
|
5
|
-
/**
|
|
6
|
-
* Enforces highly accessible structural markup utilizing semantic `<h1>` through `<h6>` tags securely bound directly to Recursica typographic scales.
|
|
7
|
-
*/
|
|
8
|
-
export declare const Title: import('react').ForwardRefExoticComponent<TitleProps & import('react').RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { NotificationProps as MantineNotificationProps } from '@mantine/core';
|
|
3
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
4
|
-
import { RecursicaToastProps } from '@recursica/adapter-common';
|
|
5
|
-
/**
|
|
6
|
-
* Toast component wrapping Mantine's Notification.
|
|
7
|
-
*
|
|
8
|
-
* Can be used as a standalone visual component to display a notification or message.
|
|
9
|
-
*/
|
|
10
|
-
export type ToastProps = RecursicaOverStyled<Omit<MantineNotificationProps, "color" | "radius" | "variant" | "loading"> & RecursicaToastProps>;
|
|
11
|
-
export declare const Toast: React.ForwardRefExoticComponent<ToastProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Toast';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Tooltip as MantineTooltip, TooltipProps as MantineTooltipProps, TooltipFloatingProps as MantineTooltipFloatingProps } from '@mantine/core';
|
|
2
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
3
|
-
import { RecursicaTooltipProps } from '@recursica/adapter-common';
|
|
4
|
-
/**
|
|
5
|
-
* Recursica Tooltip component wrapping Mantine's Tooltip.
|
|
6
|
-
*
|
|
7
|
-
* Displays a floating label when the user hovers over or focuses a target element.
|
|
8
|
-
* Unlike HoverCard, Tooltip is a single component (not composable) — content is
|
|
9
|
-
* passed via the `label` prop, and the trigger is passed as `children`.
|
|
10
|
-
*
|
|
11
|
-
* ```tsx
|
|
12
|
-
* <Tooltip label="Helpful information" withBeak>
|
|
13
|
-
* <Button>Hover me</Button>
|
|
14
|
-
* </Tooltip>
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* Static sub-components available via dot-notation:
|
|
18
|
-
* - `Tooltip.Floating` — Tooltip that follows the cursor
|
|
19
|
-
* - `Tooltip.Group` — Shared hover delay group for multiple tooltips
|
|
20
|
-
*/
|
|
21
|
-
export type TooltipProps = RecursicaOverStyled<MantineTooltipProps & RecursicaTooltipProps>;
|
|
22
|
-
declare const TooltipBase: {
|
|
23
|
-
({ overStyled, withBeak, ...rest }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
displayName: string;
|
|
25
|
-
};
|
|
26
|
-
export type TooltipFloatingProps = RecursicaOverStyled<MantineTooltipFloatingProps>;
|
|
27
|
-
export declare const TooltipFloating: import('react').ForwardRefExoticComponent<TooltipFloatingProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
28
|
-
type TooltipComponent = typeof TooltipBase & {
|
|
29
|
-
Floating: typeof TooltipFloating;
|
|
30
|
-
Group: typeof MantineTooltip.Group;
|
|
31
|
-
};
|
|
32
|
-
export declare const Tooltip: TooltipComponent;
|
|
33
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { RecursicaTransferListProps } from '@recursica/adapter-common';
|
|
3
|
-
export type TransferListProps = React.HTMLAttributes<HTMLDivElement> & RecursicaTransferListProps;
|
|
4
|
-
export declare const TransferList: React.FC<TransferListProps>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
3
|
-
import { RecursicaTreeProps } from '@recursica/adapter-common';
|
|
4
|
-
export type TreeProps = RecursicaOverStyled<RecursicaTreeProps & Omit<React.ComponentPropsWithoutRef<"ul">, "children">>;
|
|
5
|
-
/**
|
|
6
|
-
* Recursively renders hierarchical `data` as an expandable/selectable tree.
|
|
7
|
-
*
|
|
8
|
-
* **Recursica Abstract:**
|
|
9
|
-
* Wraps Mantine's `Tree` with a fully custom node renderer so every visual aspect (row box
|
|
10
|
-
* model, selected/unselected colors and typography, indent, item spacing) comes from
|
|
11
|
-
* Recursica's `tree` design tokens rather than Mantine's defaults.
|
|
12
|
-
*
|
|
13
|
-
* **Interaction pattern (fixed, not prop-configurable):** expand/collapse and select are
|
|
14
|
-
* independent — the chevron button toggles a node's subtree only, clicking the rest of a row
|
|
15
|
-
* (or pressing `Enter`/`Space`) selects it only, and `ArrowLeft`/`ArrowRight` toggle expansion
|
|
16
|
-
* only. See `RecursicaTreeProps` for the full breakdown.
|
|
17
|
-
*/
|
|
18
|
-
export declare const Tree: React.ForwardRefExoticComponent<TreeProps & React.RefAttributes<HTMLUListElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Tree';
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
export * from './Accordion';
|
|
2
|
-
export * from './AssistiveElement/AssistiveElement';
|
|
3
|
-
export * from './AutoComplete/AutoComplete';
|
|
4
|
-
export * from './Avatar';
|
|
5
|
-
export * from './Badge/Badge';
|
|
6
|
-
export * from './Breadcrumb/Breadcrumb';
|
|
7
|
-
export * from './Button';
|
|
8
|
-
export * from './Card/Card';
|
|
9
|
-
export * from './Checkbox/Checkbox';
|
|
10
|
-
export * from './Checkbox/CheckboxGroup';
|
|
11
|
-
export * from './Chip/Chip';
|
|
12
|
-
export * from './Container/Container';
|
|
13
|
-
export * from './DatePicker/DatePicker';
|
|
14
|
-
export * from './Dropdown/Dropdown';
|
|
15
|
-
export * from './FileInput/FileInput';
|
|
16
|
-
export * from './FileUpload/FileUpload';
|
|
17
|
-
export * from './Flex/Flex';
|
|
18
|
-
export * from './FormControlLayout/FormControlLayout';
|
|
19
|
-
export * from './Grid/Grid';
|
|
20
|
-
export * from './Group/Group';
|
|
21
|
-
export * from './HoverCard/HoverCard';
|
|
22
|
-
export * from './Link/Link';
|
|
23
|
-
export * from './Loader/Loader';
|
|
24
|
-
export * from './Label';
|
|
25
|
-
export * from './Menu/Menu';
|
|
26
|
-
export * from './Modal/Modal';
|
|
27
|
-
export * from './NumberInput/NumberInput';
|
|
28
|
-
export * from './Pagination/Pagination';
|
|
29
|
-
export * from './Panel/Panel';
|
|
30
|
-
export * from './Popover';
|
|
31
|
-
export * from './Radio/Radio';
|
|
32
|
-
export * from './Radio/RadioGroup';
|
|
33
|
-
export * from './ReadOnlyField';
|
|
34
|
-
export * from './SegmentedControl/SegmentedControl';
|
|
35
|
-
export * from './Slider/Slider';
|
|
36
|
-
export * from './Stack/Stack';
|
|
37
|
-
export * from './Stepper/Stepper';
|
|
38
|
-
export * from './Switch/Switch';
|
|
39
|
-
export * from './Switch/SwitchGroup';
|
|
40
|
-
export * from './Table/Table';
|
|
41
|
-
export * from './Tabs/Tabs';
|
|
42
|
-
export * from './Text/Text';
|
|
43
|
-
export * from './TextArea/TextArea';
|
|
44
|
-
export * from './TextField/TextField';
|
|
45
|
-
export * from './TimePicker/TimePicker';
|
|
46
|
-
export * from './Timeline/Timeline';
|
|
47
|
-
export * from './Timeline/TimelineItem';
|
|
48
|
-
export * from './Title/Title';
|
|
49
|
-
export * from './Toast';
|
|
50
|
-
export * from './Tooltip/Tooltip';
|
|
51
|
-
export * from './TransferList/TransferList';
|
|
52
|
-
export * from './Tree';
|