@recursica/mantine-adapter 0.36.1 → 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 +28 -0
- package/dist/index.d.ts +2892 -2
- package/dist/mantine-adapter.cjs +2 -2
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.css +1 -1
- package/dist/mantine-adapter.js +2352 -2099
- package/dist/mantine-adapter.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Accordion/USAGE.md +2 -41
- package/src/components/AutoComplete/USAGE.md +2 -18
- package/src/components/Avatar/USAGE.md +0 -27
- package/src/components/Badge/USAGE.md +3 -6
- package/src/components/Breadcrumb/USAGE.md +1 -5
- package/src/components/Button/Button.tsx +5 -0
- package/src/components/Button/IMPLEMENTATION_NOTES.md +8 -0
- package/src/components/Button/USAGE.md +5 -25
- package/src/components/Card/USAGE.md +4 -12
- package/src/components/Checkbox/USAGE.md +4 -20
- package/src/components/Chip/USAGE.md +3 -32
- package/src/components/DatePicker/USAGE.md +2 -12
- package/src/components/Dropdown/BareDropdown.tsx +85 -0
- package/src/components/Dropdown/Dropdown.tsx +12 -3
- package/src/components/Dropdown/USAGE.md +2 -6
- package/src/components/Flex/USAGE.md +1 -1
- package/src/components/FormControlWrapper/USAGE.md +3 -31
- package/src/components/Grid/USAGE.md +1 -1
- package/src/components/Group/USAGE.md +1 -1
- package/src/components/HoverCard/USAGE.md +3 -72
- package/src/components/Label/USAGE.md +8 -48
- package/src/components/Link/USAGE.md +4 -10
- package/src/components/Loader/USAGE.md +4 -23
- package/src/components/Menu/USAGE.md +3 -73
- package/src/components/Modal/USAGE.md +3 -3
- package/src/components/NumberInput/USAGE.md +5 -8
- package/src/components/Pagination/USAGE.md +0 -19
- package/src/components/Panel/USAGE.md +6 -95
- package/src/components/Popover/USAGE.md +6 -66
- package/src/components/ReadOnlyField/USAGE.md +2 -10
- package/src/components/SegmentedControl/USAGE.md +1 -15
- package/src/components/Slider/USAGE.md +1 -45
- package/src/components/Stack/USAGE.md +1 -1
- package/src/components/Switch/USAGE.md +1 -24
- package/src/components/TextArea/USAGE.md +2 -2
- package/src/components/TextField/USAGE.md +1 -17
- package/src/components/TimePicker/TIMEPICKER_IMPLEMENTATION_NOTES.md +72 -0
- package/src/components/TimePicker/TimePicker.module.css +225 -41
- package/src/components/TimePicker/TimePicker.stories.tsx +105 -4
- package/src/components/TimePicker/TimePicker.tsx +287 -7
- package/src/components/TimePicker/USAGE.md +23 -2
- package/src/components/Timeline/USAGE.md +2 -10
- package/src/components/Toast/USAGE.md +3 -33
- package/src/components/Tooltip/USAGE.md +7 -51
- package/src/components/Tree/IMPLEMENTATION_NOTES.md +31 -3
- package/src/components/Tree/Tree.module.css +84 -40
- package/src/components/Tree/Tree.stories.tsx +13 -0
- package/src/components/Tree/Tree.tsx +116 -27
- package/src/components/Tree/USAGE.md +18 -1
- package/src/index.ts +1 -0
- 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/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 -4
- 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 -13
- 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
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2892 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { AccordionControlProps } from '@mantine/core';
|
|
2
|
+
import { AccordionItemProps } from '@mantine/core';
|
|
3
|
+
import { AccordionPanelProps } from '@mantine/core';
|
|
4
|
+
import { AccordionProps as AccordionProps_2 } from '@mantine/core';
|
|
5
|
+
import { AnchorProps } from '@mantine/core';
|
|
6
|
+
import { AutocompleteProps } from '@mantine/core';
|
|
7
|
+
import { AvatarProps as AvatarProps_2 } from '@mantine/core';
|
|
8
|
+
import { BadgeProps as BadgeProps_2 } from '@mantine/core';
|
|
9
|
+
import { BreadcrumbsProps } from '@mantine/core';
|
|
10
|
+
import { ButtonProps as ButtonProps_2 } from '@mantine/core';
|
|
11
|
+
import { CardProps as CardProps_2 } from '@mantine/core';
|
|
12
|
+
import { CardSectionProps as CardSectionProps_2 } from '@mantine/core';
|
|
13
|
+
import { CheckboxGroupProps as CheckboxGroupProps_2 } from '@mantine/core';
|
|
14
|
+
import { CheckboxProps } from '@mantine/core';
|
|
15
|
+
import { ChipProps as ChipProps_2 } from '@mantine/core';
|
|
16
|
+
import { ContainerProps as ContainerProps_2 } from '@mantine/core';
|
|
17
|
+
import { DatePickerInputProps } from '@mantine/dates';
|
|
18
|
+
import { default as default_2 } from 'react';
|
|
19
|
+
import { Drawer } from '@mantine/core';
|
|
20
|
+
import { DrawerBodyProps } from '@mantine/core';
|
|
21
|
+
import { DrawerCloseButtonProps } from '@mantine/core';
|
|
22
|
+
import { DrawerContentProps } from '@mantine/core';
|
|
23
|
+
import { DrawerHeaderProps } from '@mantine/core';
|
|
24
|
+
import { DrawerOverlayProps } from '@mantine/core';
|
|
25
|
+
import { DrawerProps } from '@mantine/core';
|
|
26
|
+
import { DrawerRootProps } from '@mantine/core';
|
|
27
|
+
import { DrawerTitleProps } from '@mantine/core';
|
|
28
|
+
import { FlexProps as FlexProps_2 } from '@mantine/core';
|
|
29
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
30
|
+
import { FunctionComponent } from 'react';
|
|
31
|
+
import { GridColProps as GridColProps_2 } from '@mantine/core';
|
|
32
|
+
import { GridProps as GridProps_2 } from '@mantine/core';
|
|
33
|
+
import { GroupProps as GroupProps_2 } from '@mantine/core';
|
|
34
|
+
import { HoverCardDropdownProps as HoverCardDropdownProps_2 } from '@mantine/core';
|
|
35
|
+
import { HoverCardProps as HoverCardProps_2 } from '@mantine/core';
|
|
36
|
+
import { HoverCardTargetProps as HoverCardTargetProps_2 } from '@mantine/core';
|
|
37
|
+
import { HTMLAttributes } from 'react';
|
|
38
|
+
import { InputLabelProps } from '@mantine/core';
|
|
39
|
+
import { InputProps } from '@mantine/core';
|
|
40
|
+
import { InputWrapperProps } from '@mantine/core';
|
|
41
|
+
import { JSX } from 'react/jsx-runtime';
|
|
42
|
+
import { LoaderProps as LoaderProps_2 } from '@mantine/core';
|
|
43
|
+
import { MenuDividerProps as MenuDividerProps_2 } from '@mantine/core';
|
|
44
|
+
import { MenuDropdownProps as MenuDropdownProps_2 } from '@mantine/core';
|
|
45
|
+
import { MenuItemProps as MenuItemProps_2 } from '@mantine/core';
|
|
46
|
+
import { MenuLabelProps as MenuLabelProps_2 } from '@mantine/core';
|
|
47
|
+
import { MenuProps as MenuProps_2 } from '@mantine/core';
|
|
48
|
+
import { MenuSubDropdownProps as MenuSubDropdownProps_2 } from '@mantine/core';
|
|
49
|
+
import { MenuSubProps as MenuSubProps_2 } from '@mantine/core';
|
|
50
|
+
import { MenuSubTargetProps as MenuSubTargetProps_2 } from '@mantine/core';
|
|
51
|
+
import { MenuTargetProps as MenuTargetProps_2 } from '@mantine/core';
|
|
52
|
+
import { ModalBodyProps } from '@mantine/core';
|
|
53
|
+
import { ModalCloseButtonProps as ModalCloseButtonProps_2 } from '@mantine/core';
|
|
54
|
+
import { ModalContentProps as ModalContentProps_2 } from '@mantine/core';
|
|
55
|
+
import { ModalHeaderProps as ModalHeaderProps_2 } from '@mantine/core';
|
|
56
|
+
import { ModalOverlayProps as ModalOverlayProps_2 } from '@mantine/core';
|
|
57
|
+
import { ModalProps as ModalProps_2 } from '@mantine/core';
|
|
58
|
+
import { ModalRootProps as ModalRootProps_2 } from '@mantine/core';
|
|
59
|
+
import { ModalTitleProps as ModalTitleProps_2 } from '@mantine/core';
|
|
60
|
+
import { NotificationProps } from '@mantine/core';
|
|
61
|
+
import { NumberInputProps } from '@mantine/core';
|
|
62
|
+
import { Pagination as Pagination_3 } from '@mantine/core';
|
|
63
|
+
import { PaginationControlProps as PaginationControlProps_2 } from '@mantine/core';
|
|
64
|
+
import { PaginationDotsProps as PaginationDotsProps_2 } from '@mantine/core';
|
|
65
|
+
import { PaginationEdgeProps as PaginationEdgeProps_2 } from '@mantine/core';
|
|
66
|
+
import { PaginationProps as PaginationProps_2 } from '@mantine/core';
|
|
67
|
+
import { PaginationRootProps as PaginationRootProps_2 } from '@mantine/core';
|
|
68
|
+
import { PolymorphicComponentProps } from '@mantine/core';
|
|
69
|
+
import { PopoverDropdownProps as PopoverDropdownProps_2 } from '@mantine/core';
|
|
70
|
+
import { PopoverProps as PopoverProps_2 } from '@mantine/core';
|
|
71
|
+
import { PopoverTargetProps as PopoverTargetProps_2 } from '@mantine/core';
|
|
72
|
+
import { RadioGroupProps as RadioGroupProps_2 } from '@mantine/core';
|
|
73
|
+
import { RadioProps } from '@mantine/core';
|
|
74
|
+
import { RefAttributes } from 'react';
|
|
75
|
+
import { SegmentedControlProps as SegmentedControlProps_2 } from '@mantine/core';
|
|
76
|
+
import { SelectProps } from '@mantine/core';
|
|
77
|
+
import { SliderProps } from '@mantine/core';
|
|
78
|
+
import { StackProps as StackProps_2 } from '@mantine/core';
|
|
79
|
+
import { Stepper as Stepper_3 } from '@mantine/core';
|
|
80
|
+
import { StepperProps } from '@mantine/core';
|
|
81
|
+
import { StepperStepProps as StepperStepProps_2 } from '@mantine/core';
|
|
82
|
+
import { SwitchGroupProps as SwitchGroupProps_2 } from '@mantine/core';
|
|
83
|
+
import { SwitchProps } from '@mantine/core';
|
|
84
|
+
import { TableCaptionProps as TableCaptionProps_2 } from '@mantine/core';
|
|
85
|
+
import { TableProps as TableProps_2 } from '@mantine/core';
|
|
86
|
+
import { TableScrollContainerProps as TableScrollContainerProps_2 } from '@mantine/core';
|
|
87
|
+
import { TableTbodyProps as TableTbodyProps_2 } from '@mantine/core';
|
|
88
|
+
import { TableTdProps as TableTdProps_2 } from '@mantine/core';
|
|
89
|
+
import { TableTfootProps as TableTfootProps_2 } from '@mantine/core';
|
|
90
|
+
import { TableTheadProps as TableTheadProps_2 } from '@mantine/core';
|
|
91
|
+
import { TableThProps as TableThProps_2 } from '@mantine/core';
|
|
92
|
+
import { TableTrProps as TableTrProps_2 } from '@mantine/core';
|
|
93
|
+
import { TabsListProps as TabsListProps_2 } from '@mantine/core';
|
|
94
|
+
import { TabsPanelProps as TabsPanelProps_2 } from '@mantine/core';
|
|
95
|
+
import { TabsProps } from '@mantine/core';
|
|
96
|
+
import { TabsTabProps as TabsTabProps_2 } from '@mantine/core';
|
|
97
|
+
import { TextareaProps } from '@mantine/core';
|
|
98
|
+
import { TextProps as TextProps_2 } from '@mantine/core';
|
|
99
|
+
import { TimelineItemProps as TimelineItemProps_2 } from '@mantine/core';
|
|
100
|
+
import { TimelineProps as TimelineProps_2 } from '@mantine/core';
|
|
101
|
+
import { TimePickerProps } from '@mantine/dates';
|
|
102
|
+
import { TitleProps as TitleProps_2 } from '@mantine/core';
|
|
103
|
+
import { Tooltip as Tooltip_3 } from '@mantine/core';
|
|
104
|
+
import { TooltipFloatingProps as TooltipFloatingProps_2 } from '@mantine/core';
|
|
105
|
+
import { TooltipProps as TooltipProps_2 } from '@mantine/core';
|
|
106
|
+
|
|
107
|
+
export declare const Accordion: typeof rawComponents.Accordion;
|
|
108
|
+
|
|
109
|
+
declare const Accordion_2: AccordionComponent;
|
|
110
|
+
|
|
111
|
+
declare const AccordionBase: {
|
|
112
|
+
({ variant, overStyled, ...rest }: AccordionProps): JSX.Element;
|
|
113
|
+
displayName: string;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
declare type AccordionComponent = typeof AccordionBase & {
|
|
117
|
+
Item: typeof AccordionItem_2;
|
|
118
|
+
Control: typeof AccordionControl_2;
|
|
119
|
+
Panel: typeof AccordionPanel_2;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
export declare const AccordionControl: typeof rawComponents.AccordionControl;
|
|
123
|
+
|
|
124
|
+
declare const AccordionControl_2: ForwardRefExoticComponent<AccordionControlWrapperProps & RefAttributes<HTMLButtonElement>>;
|
|
125
|
+
|
|
126
|
+
declare type AccordionControlWrapperProps = RecursicaOverStyled<AccordionControlProps & RecursicaAccordionControlProps>;
|
|
127
|
+
|
|
128
|
+
export declare const AccordionItem: typeof rawComponents.AccordionItem;
|
|
129
|
+
|
|
130
|
+
declare const AccordionItem_2: ForwardRefExoticComponent<AccordionItemWrapperProps & RefAttributes<HTMLDivElement>>;
|
|
131
|
+
|
|
132
|
+
declare type AccordionItemWrapperProps = RecursicaOverStyled<AccordionItemProps & RecursicaAccordionItemProps>;
|
|
133
|
+
|
|
134
|
+
export declare const AccordionPanel: typeof rawComponents.AccordionPanel;
|
|
135
|
+
|
|
136
|
+
declare const AccordionPanel_2: ForwardRefExoticComponent<AccordionPanelWrapperProps & RefAttributes<HTMLDivElement>>;
|
|
137
|
+
|
|
138
|
+
declare type AccordionPanelWrapperProps = RecursicaOverStyled<AccordionPanelProps>;
|
|
139
|
+
|
|
140
|
+
declare type AccordionProps = RecursicaOverStyled<Omit<AccordionProps_2, "value" | "defaultValue" | "onChange" | "multiple" | "variant"> & RecursicaAccordionProps>;
|
|
141
|
+
|
|
142
|
+
export declare const AssistiveElement: typeof rawComponents.AssistiveElement;
|
|
143
|
+
|
|
144
|
+
declare const AssistiveElement_2: default_2.ForwardRefExoticComponent<AssistiveElementProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
145
|
+
|
|
146
|
+
declare type AssistiveElementProps = RecursicaOverStyled<default_2.HTMLAttributes<HTMLDivElement> & RecursicaAssistiveElementProps>;
|
|
147
|
+
|
|
148
|
+
export declare const AutoComplete: typeof rawComponents.AutoComplete;
|
|
149
|
+
|
|
150
|
+
declare const AutoComplete_2: default_2.ForwardRefExoticComponent<AutoCompleteProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
151
|
+
|
|
152
|
+
declare type AutoCompleteProps = RecursicaOverStyled<RecursicaAutoCompleteProps>;
|
|
153
|
+
|
|
154
|
+
export declare const Avatar: typeof rawComponents.Avatar;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Recursica Avatar component wrapping Mantine's Avatar.
|
|
158
|
+
*
|
|
159
|
+
* Supports polymorphism via the `component` prop or `renderRoot` for custom element rendering.
|
|
160
|
+
*/
|
|
161
|
+
declare const Avatar_2: (<C = "div">(props: PolymorphicComponentProps<C, AvatarProps>) => React.ReactElement) & Omit<FunctionComponent<((AvatarProps & {
|
|
162
|
+
component?: any;
|
|
163
|
+
}) & 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" | "children" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "unstyled" | "attributes" | "overStyled" | "name" | "icon" | "size" | "component" | "alt" | "src" | "gradient" | "imageProps" | "autoContrast" | "allowedInitialsColors"> & {
|
|
164
|
+
ref?: any;
|
|
165
|
+
renderRoot?: (props: any) => any;
|
|
166
|
+
}) | (AvatarProps & {
|
|
167
|
+
component: React.ElementType;
|
|
168
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
169
|
+
})>, never> & Record<string, never>;
|
|
170
|
+
|
|
171
|
+
declare type AvatarProps = RecursicaOverStyled<Omit<AvatarProps_2, "variant" | "size" | "color" | "radius"> & RecursicaAvatarProps>;
|
|
172
|
+
|
|
173
|
+
export declare const Badge: typeof rawComponents.Badge;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Recursica Badge component wrapping Mantine's Badge.
|
|
177
|
+
*
|
|
178
|
+
* Supports polymorphism via the `component` prop or `renderRoot` for custom element rendering.
|
|
179
|
+
*/
|
|
180
|
+
declare const Badge_2: (<C = "div">(props: PolymorphicComponentProps<C, BadgeProps>) => React.ReactElement) & Omit<FunctionComponent<((BadgeProps & {
|
|
181
|
+
component?: any;
|
|
182
|
+
}) & 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" | "circle" | "children" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "unstyled" | "attributes" | "overStyled" | "component" | "leftSection" | "rightSection" | "gradient" | "autoContrast" | "fullWidth"> & {
|
|
183
|
+
ref?: any;
|
|
184
|
+
renderRoot?: (props: any) => any;
|
|
185
|
+
}) | (BadgeProps & {
|
|
186
|
+
component: React.ElementType;
|
|
187
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
188
|
+
})>, never> & Record<string, never>;
|
|
189
|
+
|
|
190
|
+
declare type BadgeProps = RecursicaOverStyled<Omit<BadgeProps_2, "variant" | "size" | "color" | "radius"> & RecursicaBadgeProps>;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* List of styling keys that are blocked from being overriden unless overStyled is enabled.
|
|
194
|
+
*/
|
|
195
|
+
export declare type BlockedStylingKeys = "className" | "classNames" | "classes" | "style" | "styles" | "vars" | "sx" | "p" | "px" | "py" | "pt" | "pb" | "pl" | "pr" | "bg" | "c" | "opacity" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "bd" | "bdw" | "bds" | "bdc" | "bdr" | "shadow" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "color" | "bgcolor" | "backgroundColor" | "typography" | "fontFamily" | "fontSize" | "fontWeight" | "lineHeight" | "letterSpacing" | "textAlign" | "border" | "borderTop" | "borderBottom" | "borderLeft" | "borderRight" | "borderColor" | "borderRadius" | "boxShadow" | "display" | "position" | "zIndex";
|
|
196
|
+
|
|
197
|
+
export declare const Breadcrumb: typeof rawComponents.Breadcrumb;
|
|
198
|
+
|
|
199
|
+
declare const Breadcrumb_2: ForwardRefExoticComponent<BreadcrumbProps & RefAttributes<HTMLDivElement>>;
|
|
200
|
+
|
|
201
|
+
declare type BreadcrumbProps = RecursicaOverStyled<Omit<BreadcrumbsProps, "variant" | "size"> & RecursicaBreadcrumbProps>;
|
|
202
|
+
|
|
203
|
+
export declare const Button: typeof rawComponents.Button;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Recursica Button component wrapping Mantine's Button.
|
|
207
|
+
*
|
|
208
|
+
* Supports polymorphism via the `component` prop or `renderRoot` for custom element rendering.
|
|
209
|
+
* This is particularly useful when you need a button that behaves as a hyperlink (rendering an `<a>` tag)
|
|
210
|
+
* or integrates with a routing library (e.g., `react-router-dom` or Next.js), while preserving full visual styling.
|
|
211
|
+
*
|
|
212
|
+
* @example
|
|
213
|
+
* ```tsx
|
|
214
|
+
* // Renders as an <a> tag natively
|
|
215
|
+
* <Button component="a" href="/dashboard" target="_blank">Navigate</Button>
|
|
216
|
+
*
|
|
217
|
+
* // Renders using a custom router link
|
|
218
|
+
* <Button renderRoot={(props) => <Link to="/home" {...props} />}>Home</Button>
|
|
219
|
+
* ```
|
|
220
|
+
*/
|
|
221
|
+
declare const Button_2: (<C = "button">(props: PolymorphicComponentProps<C, ButtonProps>) => default_2.ReactElement) & Omit<default_2.FunctionComponent<((ButtonProps & {
|
|
222
|
+
component?: any;
|
|
223
|
+
}) & 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" | "color" | "children" | "radius" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "unstyled" | "attributes" | "overStyled" | "disabled" | "icon" | "justify" | "size" | "component" | "rightSection" | "data-disabled" | "gradient" | "autoContrast" | "loading" | "loaderProps" | "loaderVariant" | "loaderSize" | "useRecursicaLoader"> & {
|
|
224
|
+
ref?: any;
|
|
225
|
+
renderRoot?: (props: any) => any;
|
|
226
|
+
}) | (ButtonProps & {
|
|
227
|
+
component: default_2.ElementType;
|
|
228
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
229
|
+
})>, never> & Record<string, never>;
|
|
230
|
+
|
|
231
|
+
declare type ButtonProps = RecursicaOverStyled<Omit<ButtonProps_2, "variant" | "size" | "leftSection" | "fullWidth"> & RecursicaButtonProps>;
|
|
232
|
+
|
|
233
|
+
export declare const Card: typeof rawComponents.Card;
|
|
234
|
+
|
|
235
|
+
declare const Card_2: typeof PolymorphicCard & {
|
|
236
|
+
Section: typeof CardSection;
|
|
237
|
+
Header: typeof CardHeader;
|
|
238
|
+
Footer: typeof CardFooter;
|
|
239
|
+
Content: typeof CardContent;
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Internal container that safely binds typography and structural flex gaps driven by the active UI kit tokens natively, preserving correct padding blocks compared to rigid `Card.Section` edges.
|
|
244
|
+
*/
|
|
245
|
+
declare const CardContent: ForwardRefExoticComponent<CardContentProps & RefAttributes<HTMLDivElement>>;
|
|
246
|
+
|
|
247
|
+
declare type CardContentProps = RecursicaOverStyled<React.HTMLAttributes<HTMLDivElement>>;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Counterpart to `Card.Header`, applying specific footer elevation margins, sizes, and padding natively.
|
|
251
|
+
*/
|
|
252
|
+
declare const CardFooter: ForwardRefExoticComponent<CardFooterProps & RefAttributes<HTMLDivElement>>;
|
|
253
|
+
|
|
254
|
+
declare type CardFooterProps = RecursicaOverStyled<RecursicaCardSectionProps>;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Replaces standard generic Mantine `<Card.Section>` wrappers by directly injecting the strict Recursica design tokens for header sizing, background drops, and intrinsic padding limits.
|
|
258
|
+
*/
|
|
259
|
+
declare const CardHeader: ForwardRefExoticComponent<CardHeaderProps & RefAttributes<HTMLDivElement>>;
|
|
260
|
+
|
|
261
|
+
declare type CardHeaderProps = RecursicaOverStyled<RecursicaCardSectionProps>;
|
|
262
|
+
|
|
263
|
+
declare type CardProps = RecursicaOverStyled<CardProps_2 & RecursicaCardProps> & {
|
|
264
|
+
flex?: string | number;
|
|
265
|
+
flexGrow?: string | number;
|
|
266
|
+
flexShrink?: string | number;
|
|
267
|
+
flexBasis?: string | number;
|
|
268
|
+
grow?: string | number;
|
|
269
|
+
h?: string | number;
|
|
270
|
+
height?: string | number;
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* A generalized edge-to-edge structural wrapper native to Mantine. Strips typical boundary padding via negative margins to allow content (like maps or header images) to touch the border seamlessly.
|
|
275
|
+
*/
|
|
276
|
+
declare const CardSection: ForwardRefExoticComponent<CardSectionProps & RefAttributes<HTMLDivElement>>;
|
|
277
|
+
|
|
278
|
+
declare type CardSectionProps = RecursicaOverStyled<CardSectionProps_2 & RecursicaCardSectionProps>;
|
|
279
|
+
|
|
280
|
+
export declare const Checkbox: typeof rawComponents.Checkbox;
|
|
281
|
+
|
|
282
|
+
declare const Checkbox_2: CheckboxComponent;
|
|
283
|
+
|
|
284
|
+
declare type CheckboxComponent = React.ForwardRefExoticComponent<CheckboxProps_2 & React.RefAttributes<HTMLInputElement>> & {
|
|
285
|
+
Group: typeof CheckboxGroup_2;
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
export declare const CheckboxGroup: typeof rawComponents.CheckboxGroup;
|
|
289
|
+
|
|
290
|
+
declare const CheckboxGroup_2: default_2.ForwardRefExoticComponent<CheckboxGroupProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
291
|
+
|
|
292
|
+
declare type CheckboxGroupProps = RecursicaOverStyled<RecursicaCheckboxGroupProps>;
|
|
293
|
+
|
|
294
|
+
declare type CheckboxProps_2 = RecursicaOverStyled<RecursicaCheckboxPropsAlias>;
|
|
295
|
+
|
|
296
|
+
declare type CheckboxWrapperProps = Omit<CheckboxProps, "size" | "color" | "radius" | "iconColor" | "variant"> & RecursicaCheckboxProps & ReadOnlyControlProps & Pick<FormControlLayoutProps, "formLayout" | "labelSize" | "controlMaxWidth" | "controlMinWidth">;
|
|
297
|
+
|
|
298
|
+
export declare const Chip: typeof rawComponents.Chip;
|
|
299
|
+
|
|
300
|
+
declare const Chip_2: default_2.ForwardRefExoticComponent<ChipProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
301
|
+
|
|
302
|
+
declare type ChipProps = RecursicaOverStyled<Omit<ChipProps_2, "variant" | "size" | "color" | "radius"> & RecursicaChipProps>;
|
|
303
|
+
|
|
304
|
+
export declare const Container: ForwardRefExoticComponent<Omit<Omit<ContainerProps_2, "size"> & RecursicaContainerProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
305
|
+
m?: string | number | RecursicaSpacing;
|
|
306
|
+
mx?: string | number | RecursicaSpacing;
|
|
307
|
+
my?: string | number | RecursicaSpacing;
|
|
308
|
+
mt?: string | number | RecursicaSpacing;
|
|
309
|
+
mb?: string | number | RecursicaSpacing;
|
|
310
|
+
ml?: string | number | RecursicaSpacing;
|
|
311
|
+
mr?: string | number | RecursicaSpacing;
|
|
312
|
+
gap?: string | number | RecursicaSpacing;
|
|
313
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
314
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
315
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
316
|
+
|
|
317
|
+
declare const Container_2: ForwardRefExoticComponent<Omit<Omit<ContainerProps_2, "size"> & RecursicaContainerProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
318
|
+
m?: string | number | RecursicaSpacing;
|
|
319
|
+
mx?: string | number | RecursicaSpacing;
|
|
320
|
+
my?: string | number | RecursicaSpacing;
|
|
321
|
+
mt?: string | number | RecursicaSpacing;
|
|
322
|
+
mb?: string | number | RecursicaSpacing;
|
|
323
|
+
ml?: string | number | RecursicaSpacing;
|
|
324
|
+
mr?: string | number | RecursicaSpacing;
|
|
325
|
+
gap?: string | number | RecursicaSpacing;
|
|
326
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
327
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
328
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Container layout wrapper.
|
|
332
|
+
*
|
|
333
|
+
* Note: Unlike complex UI components, primitive layout components (Flex, Stack, Group, Container)
|
|
334
|
+
* DO NOT use the `RecursicaOverStyled` gatekeeper. Developers must be able to freely pass
|
|
335
|
+
* width, height, padding, margins, and flexbox alignment props to construct structural layouts.
|
|
336
|
+
*/
|
|
337
|
+
declare type ContainerProps = WithRecursicaSpacing<Omit<ContainerProps_2, "size"> & RecursicaContainerProps>;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Helper function for copy text to clipboard
|
|
341
|
+
* @param {string} textToCopy The text string for copying to the clipboard
|
|
342
|
+
* @param {element|node} componentRef The ref of the component that we want to trigger the copy
|
|
343
|
+
*/
|
|
344
|
+
export declare const copyToClipboard: (textToCopy: string, componentRef: default_2.RefObject<HTMLElement | null>) => Promise<void>;
|
|
345
|
+
|
|
346
|
+
export declare const DatePicker: typeof rawComponents.DatePicker;
|
|
347
|
+
|
|
348
|
+
declare const DatePicker_2: default_2.ForwardRefExoticComponent<DatePickerProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
349
|
+
|
|
350
|
+
declare type DatePickerProps = RecursicaOverStyled<RecursicaDatePickerProps>;
|
|
351
|
+
|
|
352
|
+
export declare const Dropdown: typeof rawComponents.Dropdown;
|
|
353
|
+
|
|
354
|
+
declare const Dropdown_2: default_2.ForwardRefExoticComponent<DropdownProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
355
|
+
|
|
356
|
+
declare type DropdownProps = RecursicaOverStyled<RecursicaDropdownProps>;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Renders default visual fallbacks for Empty Values in ReadOnly contexts.
|
|
360
|
+
*/
|
|
361
|
+
export declare const EmptyValueRenderer: default_2.FC<EmptyValueRendererProps> & {
|
|
362
|
+
check: (value: any) => boolean;
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
export declare interface EmptyValueRendererProps {
|
|
366
|
+
/** The empty value that tripped the check, provided for potential custom rendering logic hooks */
|
|
367
|
+
value?: any;
|
|
368
|
+
/** Custom fallback text applied dynamically replacing standard 'N/A' defaults strings explicitly */
|
|
369
|
+
emptyText?: string;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
export declare const FileInput: typeof rawComponents.FileInput;
|
|
373
|
+
|
|
374
|
+
declare const FileInput_2: default_2.FC<FileInputProps>;
|
|
375
|
+
|
|
376
|
+
declare type FileInputProps = default_2.HTMLAttributes<HTMLDivElement>;
|
|
377
|
+
|
|
378
|
+
export declare const FileUpload: typeof rawComponents.FileUpload;
|
|
379
|
+
|
|
380
|
+
declare const FileUpload_2: default_2.FC<FileUploadProps>;
|
|
381
|
+
|
|
382
|
+
declare type FileUploadProps = default_2.HTMLAttributes<HTMLDivElement>;
|
|
383
|
+
|
|
384
|
+
export declare const Flex: (<C = "div">(props: PolymorphicComponentProps<C, rawComponents.FlexProps>) => React.ReactElement) & Omit<FunctionComponent<(Omit<FlexProps_2 & RecursicaFlexProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
385
|
+
m?: string | number | RecursicaSpacing;
|
|
386
|
+
mx?: string | number | RecursicaSpacing;
|
|
387
|
+
my?: string | number | RecursicaSpacing;
|
|
388
|
+
mt?: string | number | RecursicaSpacing;
|
|
389
|
+
mb?: string | number | RecursicaSpacing;
|
|
390
|
+
ml?: string | number | RecursicaSpacing;
|
|
391
|
+
mr?: string | number | RecursicaSpacing;
|
|
392
|
+
gap?: string | number | RecursicaSpacing;
|
|
393
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
394
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
395
|
+
} & {
|
|
396
|
+
component?: any;
|
|
397
|
+
} & 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" | "wrap" | "align" | "direction"> & {
|
|
398
|
+
ref?: any;
|
|
399
|
+
renderRoot?: (props: any) => any;
|
|
400
|
+
}) | (Omit<FlexProps_2 & RecursicaFlexProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
401
|
+
m?: string | number | RecursicaSpacing;
|
|
402
|
+
mx?: string | number | RecursicaSpacing;
|
|
403
|
+
my?: string | number | RecursicaSpacing;
|
|
404
|
+
mt?: string | number | RecursicaSpacing;
|
|
405
|
+
mb?: string | number | RecursicaSpacing;
|
|
406
|
+
ml?: string | number | RecursicaSpacing;
|
|
407
|
+
mr?: string | number | RecursicaSpacing;
|
|
408
|
+
gap?: string | number | RecursicaSpacing;
|
|
409
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
410
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
411
|
+
} & {
|
|
412
|
+
component: React.ElementType;
|
|
413
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
414
|
+
})>, never> & Record<string, never>;
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Recursica Flex layout wrapper.
|
|
418
|
+
*
|
|
419
|
+
* Supports polymorphism via the `component` prop or `renderRoot` for custom element rendering.
|
|
420
|
+
* @example
|
|
421
|
+
* ```tsx
|
|
422
|
+
* <Flex component="nav">...</Flex>
|
|
423
|
+
* <Flex component="section">...</Flex>
|
|
424
|
+
* ```
|
|
425
|
+
*/
|
|
426
|
+
declare const Flex_2: (<C = "div">(props: PolymorphicComponentProps<C, FlexProps>) => React.ReactElement) & Omit<FunctionComponent<(Omit<FlexProps_2 & RecursicaFlexProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
427
|
+
m?: string | number | RecursicaSpacing;
|
|
428
|
+
mx?: string | number | RecursicaSpacing;
|
|
429
|
+
my?: string | number | RecursicaSpacing;
|
|
430
|
+
mt?: string | number | RecursicaSpacing;
|
|
431
|
+
mb?: string | number | RecursicaSpacing;
|
|
432
|
+
ml?: string | number | RecursicaSpacing;
|
|
433
|
+
mr?: string | number | RecursicaSpacing;
|
|
434
|
+
gap?: string | number | RecursicaSpacing;
|
|
435
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
436
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
437
|
+
} & {
|
|
438
|
+
component?: any;
|
|
439
|
+
} & 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" | "wrap" | "align" | "direction"> & {
|
|
440
|
+
ref?: any;
|
|
441
|
+
renderRoot?: (props: any) => any;
|
|
442
|
+
}) | (Omit<FlexProps_2 & RecursicaFlexProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
443
|
+
m?: string | number | RecursicaSpacing;
|
|
444
|
+
mx?: string | number | RecursicaSpacing;
|
|
445
|
+
my?: string | number | RecursicaSpacing;
|
|
446
|
+
mt?: string | number | RecursicaSpacing;
|
|
447
|
+
mb?: string | number | RecursicaSpacing;
|
|
448
|
+
ml?: string | number | RecursicaSpacing;
|
|
449
|
+
mr?: string | number | RecursicaSpacing;
|
|
450
|
+
gap?: string | number | RecursicaSpacing;
|
|
451
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
452
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
453
|
+
} & {
|
|
454
|
+
component: React.ElementType;
|
|
455
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
456
|
+
})>, never> & Record<string, never>;
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* Flex layout wrapper.
|
|
460
|
+
*
|
|
461
|
+
* Note: Unlike complex UI components, primitive layout components (Flex, Stack, Group, Container)
|
|
462
|
+
* DO NOT use the `RecursicaOverStyled` gatekeeper. Developers must be able to freely pass
|
|
463
|
+
* width, height, padding, margins, and flexbox alignment props to construct structural layouts.
|
|
464
|
+
*/
|
|
465
|
+
declare type FlexProps = WithRecursicaSpacing<FlexProps_2 & RecursicaFlexProps>;
|
|
466
|
+
|
|
467
|
+
export declare type ForbiddenStyles = {
|
|
468
|
+
[K in BlockedStylingKeys]?: never;
|
|
469
|
+
};
|
|
470
|
+
|
|
471
|
+
export declare const FormControlLayout: typeof rawComponents.FormControlLayout;
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* A layout component used to correctly position form inputs alongside their labels.
|
|
475
|
+
*
|
|
476
|
+
* **When to use this:**
|
|
477
|
+
* Typically, you should use `FormControlWrapper` instead, which uses this component
|
|
478
|
+
* under the hood to handle layout automatically.
|
|
479
|
+
*
|
|
480
|
+
* However, this component is useful when you need to align standalone inputs
|
|
481
|
+
* (like a `Switch` or `Checkbox` without a label) so they perfectly match the spacing
|
|
482
|
+
* and alignment of your other form fields in a `side-by-side` layout.
|
|
483
|
+
*/
|
|
484
|
+
declare const FormControlLayout_2: default_2.ForwardRefExoticComponent<FormControlLayoutProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
485
|
+
|
|
486
|
+
declare interface FormControlLayoutProps extends default_2.HTMLAttributes<HTMLDivElement>, RecursicaFormControlLayoutProps {
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
declare type FormControlWrapperProps = RecursicaOverStyled<Omit<InputWrapperProps, "labelProps" | "inputWrapperOrder"> & RecursicaFormControlWrapperProps>;
|
|
490
|
+
|
|
491
|
+
export declare const Grid: (<C = "div">(props: PolymorphicComponentProps<C, rawComponents.GridProps>) => React.ReactElement) & Omit<FunctionComponent<(Omit<Omit<GridProps_2, "gutter"> & RecursicaGridProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
492
|
+
m?: string | number | RecursicaSpacing;
|
|
493
|
+
mx?: string | number | RecursicaSpacing;
|
|
494
|
+
my?: string | number | RecursicaSpacing;
|
|
495
|
+
mt?: string | number | RecursicaSpacing;
|
|
496
|
+
mb?: string | number | RecursicaSpacing;
|
|
497
|
+
ml?: string | number | RecursicaSpacing;
|
|
498
|
+
mr?: string | number | RecursicaSpacing;
|
|
499
|
+
gap?: string | number | RecursicaSpacing;
|
|
500
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
501
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
502
|
+
} & {
|
|
503
|
+
component?: any;
|
|
504
|
+
} & 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"> & {
|
|
505
|
+
ref?: any;
|
|
506
|
+
renderRoot?: (props: any) => any;
|
|
507
|
+
}) | (Omit<Omit<GridProps_2, "gutter"> & RecursicaGridProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
508
|
+
m?: string | number | RecursicaSpacing;
|
|
509
|
+
mx?: string | number | RecursicaSpacing;
|
|
510
|
+
my?: string | number | RecursicaSpacing;
|
|
511
|
+
mt?: string | number | RecursicaSpacing;
|
|
512
|
+
mb?: string | number | RecursicaSpacing;
|
|
513
|
+
ml?: string | number | RecursicaSpacing;
|
|
514
|
+
mr?: string | number | RecursicaSpacing;
|
|
515
|
+
gap?: string | number | RecursicaSpacing;
|
|
516
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
517
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
518
|
+
} & {
|
|
519
|
+
component: React.ElementType;
|
|
520
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
521
|
+
})>, never> & Record<string, never> & {
|
|
522
|
+
Col: typeof rawComponents.GridCol;
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
declare const Grid_2: GridComponent;
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Recursica Grid layout wrapper.
|
|
529
|
+
*
|
|
530
|
+
* Supports polymorphism via the `component` prop for custom element rendering.
|
|
531
|
+
* @example
|
|
532
|
+
* ```tsx
|
|
533
|
+
* <Grid gap="rec-default">
|
|
534
|
+
* <Grid.Col span={6}>Half width</Grid.Col>
|
|
535
|
+
* <Grid.Col span={6}>Half width</Grid.Col>
|
|
536
|
+
* </Grid>
|
|
537
|
+
* ```
|
|
538
|
+
*/
|
|
539
|
+
declare const GridBase: (<C = "div">(props: PolymorphicComponentProps<C, GridProps>) => React.ReactElement) & Omit<FunctionComponent<(Omit<Omit<GridProps_2, "gutter"> & RecursicaGridProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
540
|
+
m?: string | number | RecursicaSpacing;
|
|
541
|
+
mx?: string | number | RecursicaSpacing;
|
|
542
|
+
my?: string | number | RecursicaSpacing;
|
|
543
|
+
mt?: string | number | RecursicaSpacing;
|
|
544
|
+
mb?: string | number | RecursicaSpacing;
|
|
545
|
+
ml?: string | number | RecursicaSpacing;
|
|
546
|
+
mr?: string | number | RecursicaSpacing;
|
|
547
|
+
gap?: string | number | RecursicaSpacing;
|
|
548
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
549
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
550
|
+
} & {
|
|
551
|
+
component?: any;
|
|
552
|
+
} & 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"> & {
|
|
553
|
+
ref?: any;
|
|
554
|
+
renderRoot?: (props: any) => any;
|
|
555
|
+
}) | (Omit<Omit<GridProps_2, "gutter"> & RecursicaGridProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
556
|
+
m?: string | number | RecursicaSpacing;
|
|
557
|
+
mx?: string | number | RecursicaSpacing;
|
|
558
|
+
my?: string | number | RecursicaSpacing;
|
|
559
|
+
mt?: string | number | RecursicaSpacing;
|
|
560
|
+
mb?: string | number | RecursicaSpacing;
|
|
561
|
+
ml?: string | number | RecursicaSpacing;
|
|
562
|
+
mr?: string | number | RecursicaSpacing;
|
|
563
|
+
gap?: string | number | RecursicaSpacing;
|
|
564
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
565
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
566
|
+
} & {
|
|
567
|
+
component: React.ElementType;
|
|
568
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
569
|
+
})>, never> & Record<string, never>;
|
|
570
|
+
|
|
571
|
+
export declare const GridCol: (<C = "div">(props: PolymorphicComponentProps<C, rawComponents.GridColProps>) => React.ReactElement) & Omit<FunctionComponent<(Omit<GridColProps_2 & RecursicaGridColProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
572
|
+
m?: string | number | RecursicaSpacing;
|
|
573
|
+
mx?: string | number | RecursicaSpacing;
|
|
574
|
+
my?: string | number | RecursicaSpacing;
|
|
575
|
+
mt?: string | number | RecursicaSpacing;
|
|
576
|
+
mb?: string | number | RecursicaSpacing;
|
|
577
|
+
ml?: string | number | RecursicaSpacing;
|
|
578
|
+
mr?: string | number | RecursicaSpacing;
|
|
579
|
+
gap?: string | number | RecursicaSpacing;
|
|
580
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
581
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
582
|
+
} & {
|
|
583
|
+
component?: any;
|
|
584
|
+
} & 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"> & {
|
|
585
|
+
ref?: any;
|
|
586
|
+
renderRoot?: (props: any) => any;
|
|
587
|
+
}) | (Omit<GridColProps_2 & RecursicaGridColProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
588
|
+
m?: string | number | RecursicaSpacing;
|
|
589
|
+
mx?: string | number | RecursicaSpacing;
|
|
590
|
+
my?: string | number | RecursicaSpacing;
|
|
591
|
+
mt?: string | number | RecursicaSpacing;
|
|
592
|
+
mb?: string | number | RecursicaSpacing;
|
|
593
|
+
ml?: string | number | RecursicaSpacing;
|
|
594
|
+
mr?: string | number | RecursicaSpacing;
|
|
595
|
+
gap?: string | number | RecursicaSpacing;
|
|
596
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
597
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
598
|
+
} & {
|
|
599
|
+
component: React.ElementType;
|
|
600
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
601
|
+
})>, never> & Record<string, never>;
|
|
602
|
+
|
|
603
|
+
declare const GridCol_2: (<C = "div">(props: PolymorphicComponentProps<C, GridColProps>) => React.ReactElement) & Omit<FunctionComponent<(Omit<GridColProps_2 & RecursicaGridColProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
604
|
+
m?: string | number | RecursicaSpacing;
|
|
605
|
+
mx?: string | number | RecursicaSpacing;
|
|
606
|
+
my?: string | number | RecursicaSpacing;
|
|
607
|
+
mt?: string | number | RecursicaSpacing;
|
|
608
|
+
mb?: string | number | RecursicaSpacing;
|
|
609
|
+
ml?: string | number | RecursicaSpacing;
|
|
610
|
+
mr?: string | number | RecursicaSpacing;
|
|
611
|
+
gap?: string | number | RecursicaSpacing;
|
|
612
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
613
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
614
|
+
} & {
|
|
615
|
+
component?: any;
|
|
616
|
+
} & 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"> & {
|
|
617
|
+
ref?: any;
|
|
618
|
+
renderRoot?: (props: any) => any;
|
|
619
|
+
}) | (Omit<GridColProps_2 & RecursicaGridColProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
620
|
+
m?: string | number | RecursicaSpacing;
|
|
621
|
+
mx?: string | number | RecursicaSpacing;
|
|
622
|
+
my?: string | number | RecursicaSpacing;
|
|
623
|
+
mt?: string | number | RecursicaSpacing;
|
|
624
|
+
mb?: string | number | RecursicaSpacing;
|
|
625
|
+
ml?: string | number | RecursicaSpacing;
|
|
626
|
+
mr?: string | number | RecursicaSpacing;
|
|
627
|
+
gap?: string | number | RecursicaSpacing;
|
|
628
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
629
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
630
|
+
} & {
|
|
631
|
+
component: React.ElementType;
|
|
632
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
633
|
+
})>, never> & Record<string, never>;
|
|
634
|
+
|
|
635
|
+
declare type GridColProps = WithRecursicaSpacing<GridColProps_2 & RecursicaGridColProps>;
|
|
636
|
+
|
|
637
|
+
declare type GridComponent = typeof GridBase & {
|
|
638
|
+
Col: typeof GridCol_2;
|
|
639
|
+
};
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* Grid layout wrapper.
|
|
643
|
+
*
|
|
644
|
+
* Note: Unlike complex UI components, primitive layout components (Flex, Stack, Group, Container, Grid)
|
|
645
|
+
* DO NOT use the `RecursicaOverStyled` gatekeeper. Developers must be able to freely pass
|
|
646
|
+
* width, height, padding, margins, and flexbox alignment props to construct structural layouts.
|
|
647
|
+
*/
|
|
648
|
+
declare type GridProps = WithRecursicaSpacing<Omit<GridProps_2, "gutter"> & RecursicaGridProps>;
|
|
649
|
+
|
|
650
|
+
export declare const Group: ForwardRefExoticComponent<Omit<GroupProps_2 & RecursicaGroupProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
651
|
+
m?: string | number | RecursicaSpacing;
|
|
652
|
+
mx?: string | number | RecursicaSpacing;
|
|
653
|
+
my?: string | number | RecursicaSpacing;
|
|
654
|
+
mt?: string | number | RecursicaSpacing;
|
|
655
|
+
mb?: string | number | RecursicaSpacing;
|
|
656
|
+
ml?: string | number | RecursicaSpacing;
|
|
657
|
+
mr?: string | number | RecursicaSpacing;
|
|
658
|
+
gap?: string | number | RecursicaSpacing;
|
|
659
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
660
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
661
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
662
|
+
|
|
663
|
+
declare const Group_2: ForwardRefExoticComponent<Omit<GroupProps_2 & RecursicaGroupProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
664
|
+
m?: string | number | RecursicaSpacing;
|
|
665
|
+
mx?: string | number | RecursicaSpacing;
|
|
666
|
+
my?: string | number | RecursicaSpacing;
|
|
667
|
+
mt?: string | number | RecursicaSpacing;
|
|
668
|
+
mb?: string | number | RecursicaSpacing;
|
|
669
|
+
ml?: string | number | RecursicaSpacing;
|
|
670
|
+
mr?: string | number | RecursicaSpacing;
|
|
671
|
+
gap?: string | number | RecursicaSpacing;
|
|
672
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
673
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
674
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Group flex layout wrapper.
|
|
678
|
+
*
|
|
679
|
+
* Note: Unlike complex UI components, primitive layout components (Flex, Stack, Group, Container)
|
|
680
|
+
* DO NOT use the `RecursicaOverStyled` gatekeeper. Developers must be able to freely pass
|
|
681
|
+
* width, height, padding, margins, and flexbox alignment props to construct structural layouts.
|
|
682
|
+
*/
|
|
683
|
+
declare type GroupProps = WithRecursicaSpacing<GroupProps_2 & RecursicaGroupProps>;
|
|
684
|
+
|
|
685
|
+
export declare const HoverCard: typeof rawComponents.HoverCard;
|
|
686
|
+
|
|
687
|
+
declare const HoverCard_2: HoverCardComponent;
|
|
688
|
+
|
|
689
|
+
declare const HoverCardBase: {
|
|
690
|
+
({ overStyled, withBeak, ...rest }: HoverCardProps): JSX.Element;
|
|
691
|
+
displayName: string;
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
declare type HoverCardComponent = typeof HoverCardBase & {
|
|
695
|
+
Target: typeof HoverCardTarget;
|
|
696
|
+
Dropdown: typeof HoverCardDropdown;
|
|
697
|
+
};
|
|
698
|
+
|
|
699
|
+
declare const HoverCardDropdown: {
|
|
700
|
+
({ overStyled, ...rest }: HoverCardDropdownProps): JSX.Element;
|
|
701
|
+
displayName: string;
|
|
702
|
+
};
|
|
703
|
+
|
|
704
|
+
/** The dropdown panel displayed when hovering over the target. */
|
|
705
|
+
declare type HoverCardDropdownProps = RecursicaOverStyled<HoverCardDropdownProps_2>;
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* Recursica HoverCard component wrapping Mantine's composable HoverCard.
|
|
709
|
+
*
|
|
710
|
+
* Displays a dropdown panel when the user hovers over a target element.
|
|
711
|
+
* Uses the composable dot-notation pattern:
|
|
712
|
+
* ```tsx
|
|
713
|
+
* <HoverCard withBeak>
|
|
714
|
+
* <HoverCard.Target>
|
|
715
|
+
* <Button>Hover me</Button>
|
|
716
|
+
* </HoverCard.Target>
|
|
717
|
+
* <HoverCard.Dropdown>
|
|
718
|
+
* Content displayed on hover
|
|
719
|
+
* </HoverCard.Dropdown>
|
|
720
|
+
* </HoverCard>
|
|
721
|
+
* ```
|
|
722
|
+
*/
|
|
723
|
+
declare type HoverCardProps = RecursicaOverStyled<HoverCardProps_2 & RecursicaHoverCardProps>;
|
|
724
|
+
|
|
725
|
+
declare const HoverCardTarget: {
|
|
726
|
+
(props: HoverCardTargetProps): JSX.Element;
|
|
727
|
+
displayName: string;
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* Wrapper for the element that triggers the hover card.
|
|
732
|
+
* Requires a single child element that supports ref forwarding.
|
|
733
|
+
*/
|
|
734
|
+
declare type HoverCardTargetProps = HoverCardTargetProps_2;
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Injects the global styles for `.recursica-over-styled` elements into the document.
|
|
738
|
+
*/
|
|
739
|
+
export declare function injectOverStyledStyles(): void;
|
|
740
|
+
|
|
741
|
+
export declare const IS_DEV: boolean;
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* Returns the current global overStyled active state.
|
|
745
|
+
*/
|
|
746
|
+
export declare function isGlobalOverStyledActive(): boolean;
|
|
747
|
+
|
|
748
|
+
export declare const Label: typeof rawComponents.Label;
|
|
749
|
+
|
|
750
|
+
declare const Label_2: default_2.ForwardRefExoticComponent<LabelProps & default_2.RefAttributes<HTMLLabelElement>>;
|
|
751
|
+
|
|
752
|
+
declare type LabelProps = RecursicaOverStyled<Omit<InputLabelProps, "size"> & RecursicaLabelProps>;
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* Applies a Recursica layer context. Root has data-recursica-layer so scoped CSS
|
|
756
|
+
* theme+layer blocks (e.g. [data-recursica-theme="light"] [data-recursica-layer="1"])
|
|
757
|
+
* set generic brand vars on this element; descendants inherit. Use with theme on
|
|
758
|
+
* document root (RecursicaThemeProvider). Root is display: block so padding/background apply.
|
|
759
|
+
*/
|
|
760
|
+
export declare const Layer: ForwardRefExoticComponent<RecursicaLayerProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
761
|
+
|
|
762
|
+
export declare type LayerProps = RecursicaLayerProps & React.HTMLAttributes<HTMLDivElement>;
|
|
763
|
+
|
|
764
|
+
export declare const Link: (<C = "a">(props: PolymorphicComponentProps<C, rawComponents.LinkProps>) => React.ReactElement) & Omit<FunctionComponent<((rawComponents.LinkProps & {
|
|
765
|
+
component?: any;
|
|
766
|
+
}) & 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" | "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" | "icon" | "inherit" | "inline" | "size" | "__staticSelector" | "component" | "gradient" | "lineClamp" | "truncate"> & {
|
|
767
|
+
ref?: any;
|
|
768
|
+
renderRoot?: (props: any) => any;
|
|
769
|
+
}) | (rawComponents.LinkProps & {
|
|
770
|
+
component: React.ElementType;
|
|
771
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
772
|
+
})>, never> & Record<string, never>;
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* Recursica Link component wrapping Mantine's Anchor.
|
|
776
|
+
*
|
|
777
|
+
* Supports polymorphism via the `component` prop or `renderRoot` for custom element rendering (e.g. react-router Link).
|
|
778
|
+
* @example
|
|
779
|
+
* ```tsx
|
|
780
|
+
* <Link component="a" href="https://example.com">External Link</Link>
|
|
781
|
+
* <Link renderRoot={(props) => <RouterLink to="/home" {...props} />}>Home</Link>
|
|
782
|
+
* ```
|
|
783
|
+
*/
|
|
784
|
+
declare const Link_2: (<C = "a">(props: PolymorphicComponentProps<C, LinkProps>) => React.ReactElement) & Omit<FunctionComponent<((LinkProps & {
|
|
785
|
+
component?: any;
|
|
786
|
+
}) & 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" | "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" | "icon" | "inherit" | "inline" | "size" | "__staticSelector" | "component" | "gradient" | "lineClamp" | "truncate"> & {
|
|
787
|
+
ref?: any;
|
|
788
|
+
renderRoot?: (props: any) => any;
|
|
789
|
+
}) | (LinkProps & {
|
|
790
|
+
component: React.ElementType;
|
|
791
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
792
|
+
})>, never> & Record<string, never>;
|
|
793
|
+
|
|
794
|
+
declare type LinkProps = RecursicaOverStyled<Omit<AnchorProps, "underline"> & Omit<RecursicaLinkProps, "component">>;
|
|
795
|
+
|
|
796
|
+
export declare const Loader: typeof rawComponents.Loader;
|
|
797
|
+
|
|
798
|
+
declare const Loader_2: ForwardRefExoticComponent<LoaderProps & RefAttributes<HTMLSpanElement>>;
|
|
799
|
+
|
|
800
|
+
declare type LoaderProps = RecursicaOverStyled<Omit<LoaderProps_2, "variant" | "size" | "type"> & RecursicaLoaderProps>;
|
|
801
|
+
|
|
802
|
+
export declare const Menu: typeof rawComponents.Menu;
|
|
803
|
+
|
|
804
|
+
declare const Menu_2: MenuComponent;
|
|
805
|
+
|
|
806
|
+
declare const MenuBase: {
|
|
807
|
+
({ overStyled, ...rest }: MenuProps): JSX.Element;
|
|
808
|
+
displayName: string;
|
|
809
|
+
};
|
|
810
|
+
|
|
811
|
+
declare type MenuComponent = typeof MenuBase & {
|
|
812
|
+
Target: typeof MenuTarget;
|
|
813
|
+
Dropdown: typeof MenuDropdown;
|
|
814
|
+
Item: typeof MenuItem;
|
|
815
|
+
Divider: typeof MenuDivider;
|
|
816
|
+
Label: typeof MenuLabel;
|
|
817
|
+
Sub: MenuSubComponent;
|
|
818
|
+
};
|
|
819
|
+
|
|
820
|
+
declare const MenuDivider: ForwardRefExoticComponent<MenuDividerProps & RefAttributes<HTMLHRElement>>;
|
|
821
|
+
|
|
822
|
+
/** A visual separator between groups of menu items. */
|
|
823
|
+
declare type MenuDividerProps = RecursicaOverStyled<MenuDividerProps_2>;
|
|
824
|
+
|
|
825
|
+
declare const MenuDropdown: ForwardRefExoticComponent<MenuDropdownProps & RefAttributes<HTMLDivElement>>;
|
|
826
|
+
|
|
827
|
+
/** The dropdown panel containing menu items, dividers, and labels. */
|
|
828
|
+
declare type MenuDropdownProps = RecursicaOverStyled<MenuDropdownProps_2>;
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* An individual actionable item within the menu dropdown.
|
|
832
|
+
*
|
|
833
|
+
* Supports polymorphism via the `component` prop for link-style items.
|
|
834
|
+
* @example
|
|
835
|
+
* ```tsx
|
|
836
|
+
* <Menu.Item component="a" href="/settings">Settings</Menu.Item>
|
|
837
|
+
* ```
|
|
838
|
+
*/
|
|
839
|
+
declare const MenuItem: (<C = "button">(props: PolymorphicComponentProps<C, MenuItemProps>) => React.ReactElement) & Omit<FunctionComponent<((MenuItemProps & {
|
|
840
|
+
component?: any;
|
|
841
|
+
}) & 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" | "children" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "overStyled" | "disabled" | "component" | "leftSection" | "rightSection" | "data-disabled" | "closeMenuOnClick"> & {
|
|
842
|
+
ref?: any;
|
|
843
|
+
renderRoot?: (props: any) => any;
|
|
844
|
+
}) | (MenuItemProps & {
|
|
845
|
+
component: React.ElementType;
|
|
846
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
847
|
+
})>, never> & Record<string, never>;
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* An individual actionable item within the menu dropdown.
|
|
851
|
+
*
|
|
852
|
+
* **Note:** Mantine's `color` prop is stripped in strict mode to enforce
|
|
853
|
+
* design token adherence. Use `overStyled={true}` if you need to bypass.
|
|
854
|
+
*/
|
|
855
|
+
declare type MenuItemProps = RecursicaOverStyled<Omit<MenuItemProps_2, "color">>;
|
|
856
|
+
|
|
857
|
+
declare const MenuLabel: ForwardRefExoticComponent<MenuLabelProps & RefAttributes<HTMLDivElement>>;
|
|
858
|
+
|
|
859
|
+
/** A non-interactive section label used to categorize groups of menu items. */
|
|
860
|
+
declare type MenuLabelProps = RecursicaOverStyled<MenuLabelProps_2>;
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* Recursica Menu component wrapping Mantine's composable Menu.
|
|
864
|
+
*
|
|
865
|
+
* Usage follows the composable dot-notation pattern:
|
|
866
|
+
* ```tsx
|
|
867
|
+
* <Menu>
|
|
868
|
+
* <Menu.Target><Button>Open</Button></Menu.Target>
|
|
869
|
+
* <Menu.Dropdown>
|
|
870
|
+
* <Menu.Label>Section</Menu.Label>
|
|
871
|
+
* <Menu.Item>Action</Menu.Item>
|
|
872
|
+
* <Menu.Divider />
|
|
873
|
+
* <Menu.Item>Another action</Menu.Item>
|
|
874
|
+
* </Menu.Dropdown>
|
|
875
|
+
* </Menu>
|
|
876
|
+
* ```
|
|
877
|
+
*/
|
|
878
|
+
declare type MenuProps = RecursicaOverStyled<MenuProps_2 & RecursicaMenuProps>;
|
|
879
|
+
|
|
880
|
+
declare const MenuSubBase: {
|
|
881
|
+
(props: MenuSubProps): JSX.Element;
|
|
882
|
+
displayName: string;
|
|
883
|
+
};
|
|
884
|
+
|
|
885
|
+
declare type MenuSubComponent = typeof MenuSubBase & {
|
|
886
|
+
Target: typeof MenuSubTarget;
|
|
887
|
+
Item: typeof MenuSubItem;
|
|
888
|
+
Dropdown: typeof MenuSubDropdown;
|
|
889
|
+
};
|
|
890
|
+
|
|
891
|
+
declare const MenuSubDropdown: ForwardRefExoticComponent<MenuSubDropdownProps & RefAttributes<HTMLDivElement>>;
|
|
892
|
+
|
|
893
|
+
/** The dropdown panel for a submenu. */
|
|
894
|
+
declare type MenuSubDropdownProps = RecursicaOverStyled<MenuSubDropdownProps_2>;
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* A menu item that acts as a submenu trigger.
|
|
898
|
+
*
|
|
899
|
+
* Supports polymorphism via the `component` prop.
|
|
900
|
+
*/
|
|
901
|
+
declare const MenuSubItem: (<C = "button">(props: PolymorphicComponentProps<C, MenuSubItemProps>) => React.ReactElement) & Omit<FunctionComponent<((MenuSubItemProps & {
|
|
902
|
+
component?: any;
|
|
903
|
+
}) & 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" | "children" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "overStyled" | "disabled" | "component" | "leftSection" | "rightSection" | "data-disabled" | "closeMenuOnClick"> & {
|
|
904
|
+
ref?: any;
|
|
905
|
+
renderRoot?: (props: any) => any;
|
|
906
|
+
}) | (MenuSubItemProps & {
|
|
907
|
+
component: React.ElementType;
|
|
908
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
909
|
+
})>, never> & Record<string, never>;
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* A menu item that acts as a submenu trigger.
|
|
913
|
+
* Renders within Menu.Sub.Target and displays a chevron indicator.
|
|
914
|
+
*/
|
|
915
|
+
declare type MenuSubItemProps = RecursicaOverStyled<Omit<MenuItemProps_2, "color">>;
|
|
916
|
+
|
|
917
|
+
/** Container for a submenu, wrapping Menu.Sub.Target and Menu.Sub.Dropdown. */
|
|
918
|
+
declare type MenuSubProps = MenuSubProps_2;
|
|
919
|
+
|
|
920
|
+
declare const MenuSubTarget: {
|
|
921
|
+
(props: MenuSubTargetProps): JSX.Element;
|
|
922
|
+
displayName: string;
|
|
923
|
+
};
|
|
924
|
+
|
|
925
|
+
/** Wrapper for the element that triggers the submenu. */
|
|
926
|
+
declare type MenuSubTargetProps = MenuSubTargetProps_2;
|
|
927
|
+
|
|
928
|
+
declare const MenuTarget: {
|
|
929
|
+
(props: MenuTargetProps): JSX.Element;
|
|
930
|
+
displayName: string;
|
|
931
|
+
};
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* Wrapper for the element that triggers the menu.
|
|
935
|
+
* Requires a single child element that supports ref forwarding.
|
|
936
|
+
*/
|
|
937
|
+
declare type MenuTargetProps = MenuTargetProps_2;
|
|
938
|
+
|
|
939
|
+
export declare const Modal: typeof rawComponents.Modal;
|
|
940
|
+
|
|
941
|
+
declare const Modal_2: ModalComponent & {
|
|
942
|
+
Footer: typeof ModalFooter;
|
|
943
|
+
};
|
|
944
|
+
|
|
945
|
+
declare const ModalBody: default_2.ForwardRefExoticComponent<Omit<ModalBodyProps & default_2.RefAttributes<HTMLDivElement> & {
|
|
946
|
+
component?: any;
|
|
947
|
+
renderRoot?: (props: Record<string, any>) => default_2.ReactNode;
|
|
948
|
+
}, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
949
|
+
|
|
950
|
+
declare const ModalCloseButton: default_2.ForwardRefExoticComponent<ModalCloseButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
951
|
+
|
|
952
|
+
declare type ModalCloseButtonProps = RecursicaOverStyled<ModalCloseButtonProps_2>;
|
|
953
|
+
|
|
954
|
+
declare interface ModalComponent extends default_2.ForwardRefExoticComponent<ModalProps & default_2.RefAttributes<HTMLDivElement>> {
|
|
955
|
+
Root: typeof ModalRoot;
|
|
956
|
+
Overlay: typeof ModalOverlay;
|
|
957
|
+
Content: typeof ModalContent;
|
|
958
|
+
Header: typeof ModalHeader;
|
|
959
|
+
Title: typeof ModalTitle;
|
|
960
|
+
CloseButton: typeof ModalCloseButton;
|
|
961
|
+
Body: typeof ModalBody;
|
|
962
|
+
Footer: typeof ModalFooter;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
declare const ModalContent: default_2.ForwardRefExoticComponent<ModalContentProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
966
|
+
|
|
967
|
+
declare type ModalContentProps = RecursicaOverStyled<ModalContentProps_2>;
|
|
968
|
+
|
|
969
|
+
declare const ModalFooter: default_2.ForwardRefExoticComponent<ModalFooterProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* The `Modal.Footer` provides a perfectly padded container for modal actions.
|
|
973
|
+
*
|
|
974
|
+
* **Recursica Abstract:**
|
|
975
|
+
* By default, this container aligns its children to the right (`justify-content: flex-end`)
|
|
976
|
+
* and applies the standard Figma button-gap spacing.
|
|
977
|
+
*
|
|
978
|
+
* > [!IMPORTANT]
|
|
979
|
+
* > **Button Hierarchy:** Recursica design language explicitly requires that the
|
|
980
|
+
* > primary action button MUST be the right-most element, with the secondary
|
|
981
|
+
* > (outline variant) action placed immediately to the left of it.
|
|
982
|
+
*/
|
|
983
|
+
declare type ModalFooterProps = RecursicaOverStyled<default_2.ComponentPropsWithoutRef<"div">>;
|
|
984
|
+
|
|
985
|
+
declare const ModalHeader: default_2.ForwardRefExoticComponent<ModalHeaderProps & default_2.RefAttributes<HTMLElement>>;
|
|
986
|
+
|
|
987
|
+
declare type ModalHeaderProps = RecursicaOverStyled<ModalHeaderProps_2>;
|
|
988
|
+
|
|
989
|
+
declare const ModalOverlay: default_2.ForwardRefExoticComponent<ModalOverlayProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
990
|
+
|
|
991
|
+
declare type ModalOverlayProps = RecursicaOverStyled<ModalOverlayProps_2>;
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* Properties for the strictly-tokenized Modal component.
|
|
995
|
+
* Native Mantine abstract properties like `size`, `radius`, and `shadow` have been stripped out
|
|
996
|
+
* because they directly conflict with the non-negotiable pixel boundaries defined in the Recursica UI Kit.
|
|
997
|
+
*/
|
|
998
|
+
declare type ModalProps = RecursicaOverStyled<Omit<ModalProps_2, "size" | "radius" | "shadow"> & RecursicaModalProps>;
|
|
999
|
+
|
|
1000
|
+
declare const ModalRoot: default_2.ForwardRefExoticComponent<ModalRootProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1001
|
+
|
|
1002
|
+
declare type ModalRootProps = RecursicaOverStyled<ModalRootProps_2>;
|
|
1003
|
+
|
|
1004
|
+
declare const ModalTitle: default_2.ForwardRefExoticComponent<ModalTitleProps & default_2.RefAttributes<HTMLHeadingElement>>;
|
|
1005
|
+
|
|
1006
|
+
declare type ModalTitleProps = RecursicaOverStyled<ModalTitleProps_2>;
|
|
1007
|
+
|
|
1008
|
+
export declare const NumberInput: typeof rawComponents.NumberInput;
|
|
1009
|
+
|
|
1010
|
+
declare const NumberInput_2: default_2.ForwardRefExoticComponent<NumberInputProps_2 & default_2.RefAttributes<HTMLInputElement>>;
|
|
1011
|
+
|
|
1012
|
+
declare type NumberInputProps_2 = RecursicaOverStyled<RecursicaNumberInputProps>;
|
|
1013
|
+
|
|
1014
|
+
export declare const Pagination: typeof rawComponents.Pagination;
|
|
1015
|
+
|
|
1016
|
+
declare const _Pagination: default_2.ForwardRefExoticComponent<PaginationProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* Recursica Pagination component wrapping Mantine's Pagination.
|
|
1020
|
+
*/
|
|
1021
|
+
declare const Pagination_2: typeof _Pagination & {
|
|
1022
|
+
Root: typeof _PaginationRoot;
|
|
1023
|
+
Items: typeof Pagination_3.Items;
|
|
1024
|
+
Control: typeof _PaginationControl;
|
|
1025
|
+
Dots: typeof _PaginationDots;
|
|
1026
|
+
Next: typeof _PaginationNext;
|
|
1027
|
+
Previous: typeof _PaginationPrevious;
|
|
1028
|
+
First: typeof _PaginationFirst;
|
|
1029
|
+
Last: typeof _PaginationLast;
|
|
1030
|
+
Icon: typeof PaginationIcon;
|
|
1031
|
+
};
|
|
1032
|
+
|
|
1033
|
+
declare const _PaginationControl: default_2.ForwardRefExoticComponent<PaginationControlProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
1034
|
+
|
|
1035
|
+
declare type PaginationControlProps = RecursicaOverStyled<PaginationControlProps_2>;
|
|
1036
|
+
|
|
1037
|
+
declare const _PaginationDots: default_2.ForwardRefExoticComponent<PaginationDotsProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1038
|
+
|
|
1039
|
+
declare type PaginationDotsProps = RecursicaOverStyled<PaginationDotsProps_2>;
|
|
1040
|
+
|
|
1041
|
+
declare type PaginationEdgeProps<T extends default_2.ElementType> = RecursicaOverStyled<default_2.ComponentProps<T> & {
|
|
1042
|
+
/** If set to true, displays text labels alongside the icon. */
|
|
1043
|
+
withLabel?: boolean;
|
|
1044
|
+
icon?: any;
|
|
1045
|
+
}>;
|
|
1046
|
+
|
|
1047
|
+
declare const _PaginationFirst: default_2.ForwardRefExoticComponent<PaginationEdgeProps<(<C = "button">(props: PolymorphicComponentProps<C, PaginationEdgeProps_2>) => default_2.ReactElement) & Omit<default_2.FunctionComponent<(PaginationEdgeProps_2 & {
|
|
1048
|
+
component?: any;
|
|
1049
|
+
} & Omit<Omit<any, "ref">, "component" | keyof PaginationEdgeProps_2> & {
|
|
1050
|
+
ref?: any;
|
|
1051
|
+
renderRoot?: (props: any) => any;
|
|
1052
|
+
}) | (PaginationEdgeProps_2 & {
|
|
1053
|
+
component: default_2.ElementType;
|
|
1054
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
1055
|
+
})>, never> & Record<string, never>> & default_2.RefAttributes<HTMLButtonElement>>;
|
|
1056
|
+
|
|
1057
|
+
declare const PaginationIcon: ({ type, className, ...props }: React.ComponentProps<"svg"> & {
|
|
1058
|
+
type: PaginationIconType;
|
|
1059
|
+
}) => JSX.Element;
|
|
1060
|
+
|
|
1061
|
+
declare type PaginationIconType = "next" | "prev" | "first" | "last";
|
|
1062
|
+
|
|
1063
|
+
declare const _PaginationLast: default_2.ForwardRefExoticComponent<PaginationEdgeProps<(<C = "button">(props: PolymorphicComponentProps<C, PaginationEdgeProps_2>) => default_2.ReactElement) & Omit<default_2.FunctionComponent<(PaginationEdgeProps_2 & {
|
|
1064
|
+
component?: any;
|
|
1065
|
+
} & Omit<Omit<any, "ref">, "component" | keyof PaginationEdgeProps_2> & {
|
|
1066
|
+
ref?: any;
|
|
1067
|
+
renderRoot?: (props: any) => any;
|
|
1068
|
+
}) | (PaginationEdgeProps_2 & {
|
|
1069
|
+
component: default_2.ElementType;
|
|
1070
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
1071
|
+
})>, never> & Record<string, never>> & default_2.RefAttributes<HTMLButtonElement>>;
|
|
1072
|
+
|
|
1073
|
+
declare const _PaginationNext: default_2.ForwardRefExoticComponent<PaginationEdgeProps<(<C = "button">(props: PolymorphicComponentProps<C, PaginationEdgeProps_2>) => default_2.ReactElement) & Omit<default_2.FunctionComponent<(PaginationEdgeProps_2 & {
|
|
1074
|
+
component?: any;
|
|
1075
|
+
} & Omit<Omit<any, "ref">, "component" | keyof PaginationEdgeProps_2> & {
|
|
1076
|
+
ref?: any;
|
|
1077
|
+
renderRoot?: (props: any) => any;
|
|
1078
|
+
}) | (PaginationEdgeProps_2 & {
|
|
1079
|
+
component: default_2.ElementType;
|
|
1080
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
1081
|
+
})>, never> & Record<string, never>> & default_2.RefAttributes<HTMLButtonElement>>;
|
|
1082
|
+
|
|
1083
|
+
declare const _PaginationPrevious: default_2.ForwardRefExoticComponent<PaginationEdgeProps<(<C = "button">(props: PolymorphicComponentProps<C, PaginationEdgeProps_2>) => default_2.ReactElement) & Omit<default_2.FunctionComponent<(PaginationEdgeProps_2 & {
|
|
1084
|
+
component?: any;
|
|
1085
|
+
} & Omit<Omit<any, "ref">, "component" | keyof PaginationEdgeProps_2> & {
|
|
1086
|
+
ref?: any;
|
|
1087
|
+
renderRoot?: (props: any) => any;
|
|
1088
|
+
}) | (PaginationEdgeProps_2 & {
|
|
1089
|
+
component: default_2.ElementType;
|
|
1090
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
1091
|
+
})>, never> & Record<string, never>> & default_2.RefAttributes<HTMLButtonElement>>;
|
|
1092
|
+
|
|
1093
|
+
declare type PaginationProps = RecursicaOverStyled<PaginationProps_2 & RecursicaPaginationProps>;
|
|
1094
|
+
|
|
1095
|
+
declare const _PaginationRoot: default_2.ForwardRefExoticComponent<PaginationRootProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1096
|
+
|
|
1097
|
+
declare type PaginationRootProps = RecursicaOverStyled<PaginationRootProps_2>;
|
|
1098
|
+
|
|
1099
|
+
export declare const Panel: typeof rawComponents.Panel;
|
|
1100
|
+
|
|
1101
|
+
declare const Panel_2: PanelComponent;
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* Recursica Panel component wrapping Mantine's Drawer.
|
|
1105
|
+
*
|
|
1106
|
+
* Panels slide in or expand from the edge of the screen to reveal
|
|
1107
|
+
* additional content or functionality. They are commonly used to provide
|
|
1108
|
+
* supplementary information, navigation options, or toolsets without
|
|
1109
|
+
* cluttering the main interface.
|
|
1110
|
+
*
|
|
1111
|
+
* ```tsx
|
|
1112
|
+
* <Panel opened={opened} onClose={close} title="Panel Title" placement="right">
|
|
1113
|
+
* <Panel.Body>
|
|
1114
|
+
* Content goes here
|
|
1115
|
+
* </Panel.Body>
|
|
1116
|
+
* </Panel>
|
|
1117
|
+
* ```
|
|
1118
|
+
*
|
|
1119
|
+
* Mantine Drawer sub-components available via dot-notation:
|
|
1120
|
+
* - `Panel.Header` — Top section with title and close button
|
|
1121
|
+
* - `Panel.Title` — Title text within the header
|
|
1122
|
+
* - `Panel.CloseButton` — Close button within the header
|
|
1123
|
+
* - `Panel.Body` — Scrollable body content area
|
|
1124
|
+
* - `Panel.Content` — Outer content container
|
|
1125
|
+
* - `Panel.Overlay` — Background overlay
|
|
1126
|
+
* - `Panel.Root` — Root element for advanced composition
|
|
1127
|
+
* - `Panel.Stack` — Stacked drawer context
|
|
1128
|
+
*/
|
|
1129
|
+
declare const PanelBase: {
|
|
1130
|
+
({ overStyled, placement, keepMounted, wrapHeaderText, ...rest }: PanelProps): JSX.Element;
|
|
1131
|
+
displayName: string;
|
|
1132
|
+
};
|
|
1133
|
+
|
|
1134
|
+
declare const PanelBody: ForwardRefExoticComponent<PanelBodyProps & RefAttributes<HTMLDivElement>>;
|
|
1135
|
+
|
|
1136
|
+
declare type PanelBodyProps = RecursicaOverStyled<DrawerBodyProps>;
|
|
1137
|
+
|
|
1138
|
+
declare const PanelCloseButton: ForwardRefExoticComponent<PanelCloseButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
1139
|
+
|
|
1140
|
+
declare type PanelCloseButtonProps = RecursicaOverStyled<DrawerCloseButtonProps>;
|
|
1141
|
+
|
|
1142
|
+
declare type PanelComponent = typeof PanelBase & {
|
|
1143
|
+
Root: typeof PanelRoot;
|
|
1144
|
+
Overlay: typeof PanelOverlay;
|
|
1145
|
+
Content: typeof PanelContent;
|
|
1146
|
+
Header: typeof PanelHeader;
|
|
1147
|
+
Title: typeof PanelTitle;
|
|
1148
|
+
CloseButton: typeof PanelCloseButton;
|
|
1149
|
+
Body: typeof PanelBody;
|
|
1150
|
+
Stack: typeof Drawer.Stack;
|
|
1151
|
+
Footer: typeof PanelFooter_2;
|
|
1152
|
+
};
|
|
1153
|
+
|
|
1154
|
+
declare const PanelContent: ForwardRefExoticComponent<PanelContentProps & RefAttributes<HTMLDivElement>>;
|
|
1155
|
+
|
|
1156
|
+
declare type PanelContentProps = RecursicaOverStyled<DrawerContentProps>;
|
|
1157
|
+
|
|
1158
|
+
export declare const PanelFooter: typeof rawComponents.PanelFooter;
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Panel footer section with action buttons.
|
|
1162
|
+
* Separated from the body by a divider. Remains fixed at the bottom.
|
|
1163
|
+
* This is a Recursica-specific sub-component; Mantine Drawer does not
|
|
1164
|
+
* natively provide a footer.
|
|
1165
|
+
*/
|
|
1166
|
+
declare const PanelFooter_2: ForwardRefExoticComponent<PanelFooterProps & RefAttributes<HTMLDivElement>>;
|
|
1167
|
+
|
|
1168
|
+
declare type PanelFooterProps = RecursicaOverStyled<React.HTMLAttributes<HTMLDivElement>>;
|
|
1169
|
+
|
|
1170
|
+
declare const PanelHeader: ForwardRefExoticComponent<PanelHeaderProps & RefAttributes<HTMLElement>>;
|
|
1171
|
+
|
|
1172
|
+
declare type PanelHeaderProps = RecursicaOverStyled<DrawerHeaderProps>;
|
|
1173
|
+
|
|
1174
|
+
declare const PanelOverlay: ForwardRefExoticComponent<PanelOverlayProps & RefAttributes<HTMLDivElement>>;
|
|
1175
|
+
|
|
1176
|
+
declare type PanelOverlayProps = RecursicaOverStyled<DrawerOverlayProps>;
|
|
1177
|
+
|
|
1178
|
+
declare type PanelProps = RecursicaOverStyled<RecursicaPanelProps_2>;
|
|
1179
|
+
|
|
1180
|
+
declare const PanelRoot: ForwardRefExoticComponent<PanelRootProps & RefAttributes<HTMLDivElement>>;
|
|
1181
|
+
|
|
1182
|
+
declare type PanelRootProps = RecursicaOverStyled<DrawerRootProps>;
|
|
1183
|
+
|
|
1184
|
+
declare const PanelTitle: ForwardRefExoticComponent<PanelTitleProps & RefAttributes<HTMLHeadingElement>>;
|
|
1185
|
+
|
|
1186
|
+
declare type PanelTitleProps = RecursicaOverStyled<DrawerTitleProps>;
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* Recursica Card component wrapping Mantine's Card (Paper).
|
|
1190
|
+
*
|
|
1191
|
+
* Supports polymorphism via the `component` prop or `renderRoot` for custom element rendering.
|
|
1192
|
+
* Use dot-notation sub-components for structured card layouts.
|
|
1193
|
+
*/
|
|
1194
|
+
declare const PolymorphicCard: (<C = "div">(props: PolymorphicComponentProps<C, CardProps>) => React.ReactElement) & Omit<FunctionComponent<((CardProps & {
|
|
1195
|
+
component?: any;
|
|
1196
|
+
}) & 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" | "shadow" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap" | "top" | "left" | "bottom" | "right" | "variant" | "children" | "radius" | "__vars" | "__size" | "hiddenFrom" | "visibleFrom" | "lightHidden" | "darkHidden" | "mod" | "ms" | "me" | "ps" | "pe" | "bdrs" | "bgsz" | "bgp" | "bgr" | "bga" | "pos" | "inset" | "display" | "flex" | "unstyled" | "attributes" | "overStyled" | "height" | "component" | "padding" | "withBorder" | "flexGrow" | "flexShrink" | "flexBasis" | "grow"> & {
|
|
1197
|
+
ref?: any;
|
|
1198
|
+
renderRoot?: (props: any) => any;
|
|
1199
|
+
}) | (CardProps & {
|
|
1200
|
+
component: React.ElementType;
|
|
1201
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
1202
|
+
})>, never> & {
|
|
1203
|
+
Section: typeof CardSection;
|
|
1204
|
+
Header: typeof CardHeader;
|
|
1205
|
+
Footer: typeof CardFooter;
|
|
1206
|
+
Content: typeof CardContent;
|
|
1207
|
+
};
|
|
1208
|
+
|
|
1209
|
+
export declare const Popover: typeof rawComponents.Popover;
|
|
1210
|
+
|
|
1211
|
+
declare const Popover_2: PopoverComponent;
|
|
1212
|
+
|
|
1213
|
+
declare const PopoverBase: {
|
|
1214
|
+
({ overStyled, withBeak, ...rest }: PopoverProps): JSX.Element;
|
|
1215
|
+
displayName: string;
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1218
|
+
declare type PopoverComponent = typeof PopoverBase & {
|
|
1219
|
+
Target: typeof PopoverTarget;
|
|
1220
|
+
Dropdown: typeof PopoverDropdown;
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
declare const PopoverDropdown: {
|
|
1224
|
+
({ overStyled, ...rest }: PopoverDropdownProps): JSX.Element;
|
|
1225
|
+
displayName: string;
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
/** The dropdown panel displayed from the popover. */
|
|
1229
|
+
declare type PopoverDropdownProps = RecursicaOverStyled<PopoverDropdownProps_2>;
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* Recursica Popover component wrapping Mantine's composable Popover.
|
|
1233
|
+
*
|
|
1234
|
+
* Displays a dropdown panel when the user clicks or interacts with a target element.
|
|
1235
|
+
* Uses the composable dot-notation pattern:
|
|
1236
|
+
* ```tsx
|
|
1237
|
+
* <Popover withBeak>
|
|
1238
|
+
* <Popover.Target>
|
|
1239
|
+
* <Button>Click me</Button>
|
|
1240
|
+
* </Popover.Target>
|
|
1241
|
+
* <Popover.Dropdown>
|
|
1242
|
+
* Content displayed in popover
|
|
1243
|
+
* </Popover.Dropdown>
|
|
1244
|
+
* </Popover>
|
|
1245
|
+
* ```
|
|
1246
|
+
*/
|
|
1247
|
+
declare type PopoverProps = Omit<RecursicaOverStyled<Omit<PopoverProps_2, "position"> & RecursicaPopoverProps>, "position"> & {
|
|
1248
|
+
position?: PopoverProps_2["position"];
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
declare const PopoverTarget: {
|
|
1252
|
+
(props: PopoverTargetProps): JSX.Element;
|
|
1253
|
+
displayName: string;
|
|
1254
|
+
};
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* Wrapper for the element that triggers the popover.
|
|
1258
|
+
* Requires a single child element that supports ref forwarding.
|
|
1259
|
+
*/
|
|
1260
|
+
declare type PopoverTargetProps = PopoverTargetProps_2;
|
|
1261
|
+
|
|
1262
|
+
export declare const Radio: typeof rawComponents.Radio;
|
|
1263
|
+
|
|
1264
|
+
declare const Radio_2: RadioComponent;
|
|
1265
|
+
|
|
1266
|
+
declare type RadioComponent = React.ForwardRefExoticComponent<RadioProps_2 & React.RefAttributes<HTMLInputElement>> & {
|
|
1267
|
+
Group: typeof RadioGroup_2;
|
|
1268
|
+
};
|
|
1269
|
+
|
|
1270
|
+
export declare const RadioGroup: typeof rawComponents.RadioGroup;
|
|
1271
|
+
|
|
1272
|
+
declare const RadioGroup_2: default_2.ForwardRefExoticComponent<RadioGroupProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1273
|
+
|
|
1274
|
+
declare type RadioGroupProps = RecursicaOverStyled<RecursicaRadioGroupProps>;
|
|
1275
|
+
|
|
1276
|
+
declare type RadioProps_2 = RecursicaOverStyled<RecursicaRadioPropsAlias>;
|
|
1277
|
+
|
|
1278
|
+
declare type RadioWrapperProps = Omit<RadioProps, "size" | "color" | "radius" | "iconColor" | "variant"> & RecursicaRadioProps & ReadOnlyControlProps & Pick<FormControlLayoutProps, "formLayout" | "labelSize" | "controlMaxWidth" | "controlMinWidth">;
|
|
1279
|
+
|
|
1280
|
+
declare namespace rawComponents {
|
|
1281
|
+
export {
|
|
1282
|
+
AccordionProps,
|
|
1283
|
+
AccordionItemWrapperProps,
|
|
1284
|
+
AccordionItem_2 as AccordionItem,
|
|
1285
|
+
AccordionControlWrapperProps,
|
|
1286
|
+
AccordionControl_2 as AccordionControl,
|
|
1287
|
+
AccordionPanelWrapperProps,
|
|
1288
|
+
AccordionPanel_2 as AccordionPanel,
|
|
1289
|
+
Accordion_2 as Accordion,
|
|
1290
|
+
AssistiveElementProps,
|
|
1291
|
+
AssistiveElement_2 as AssistiveElement,
|
|
1292
|
+
RecursicaAutoCompleteProps,
|
|
1293
|
+
AutoCompleteProps,
|
|
1294
|
+
AutoComplete_2 as AutoComplete,
|
|
1295
|
+
AvatarProps,
|
|
1296
|
+
Avatar_2 as Avatar,
|
|
1297
|
+
BadgeProps,
|
|
1298
|
+
Badge_2 as Badge,
|
|
1299
|
+
BreadcrumbProps,
|
|
1300
|
+
Breadcrumb_2 as Breadcrumb,
|
|
1301
|
+
ButtonProps,
|
|
1302
|
+
Button_2 as Button,
|
|
1303
|
+
CardProps,
|
|
1304
|
+
CardSectionProps,
|
|
1305
|
+
CardSection,
|
|
1306
|
+
CardHeaderProps,
|
|
1307
|
+
CardHeader,
|
|
1308
|
+
CardFooterProps,
|
|
1309
|
+
CardFooter,
|
|
1310
|
+
CardContentProps,
|
|
1311
|
+
CardContent,
|
|
1312
|
+
Card_2 as Card,
|
|
1313
|
+
CheckboxWrapperProps,
|
|
1314
|
+
RecursicaCheckboxPropsAlias,
|
|
1315
|
+
CheckboxProps_2 as CheckboxProps,
|
|
1316
|
+
Checkbox_2 as Checkbox,
|
|
1317
|
+
RecursicaCheckboxGroupProps,
|
|
1318
|
+
CheckboxGroupProps,
|
|
1319
|
+
CheckboxGroup_2 as CheckboxGroup,
|
|
1320
|
+
ChipProps,
|
|
1321
|
+
Chip_2 as Chip,
|
|
1322
|
+
ContainerProps,
|
|
1323
|
+
Container_2 as Container,
|
|
1324
|
+
RecursicaDatePickerProps,
|
|
1325
|
+
DatePickerProps,
|
|
1326
|
+
DatePicker_2 as DatePicker,
|
|
1327
|
+
RecursicaDropdownProps,
|
|
1328
|
+
DropdownProps,
|
|
1329
|
+
Dropdown_2 as Dropdown,
|
|
1330
|
+
FileInputProps,
|
|
1331
|
+
FileInput_2 as FileInput,
|
|
1332
|
+
FileUploadProps,
|
|
1333
|
+
FileUpload_2 as FileUpload,
|
|
1334
|
+
FlexProps,
|
|
1335
|
+
Flex_2 as Flex,
|
|
1336
|
+
FormControlLayoutProps,
|
|
1337
|
+
FormControlLayout_2 as FormControlLayout,
|
|
1338
|
+
GridProps,
|
|
1339
|
+
GridColProps,
|
|
1340
|
+
GridCol_2 as GridCol,
|
|
1341
|
+
Grid_2 as Grid,
|
|
1342
|
+
GroupProps,
|
|
1343
|
+
Group_2 as Group,
|
|
1344
|
+
HoverCardProps,
|
|
1345
|
+
HoverCardTargetProps,
|
|
1346
|
+
HoverCardDropdownProps,
|
|
1347
|
+
HoverCard_2 as HoverCard,
|
|
1348
|
+
LinkProps,
|
|
1349
|
+
Link_2 as Link,
|
|
1350
|
+
LoaderProps,
|
|
1351
|
+
Loader_2 as Loader,
|
|
1352
|
+
LabelProps,
|
|
1353
|
+
Label_2 as Label,
|
|
1354
|
+
MenuProps,
|
|
1355
|
+
MenuTargetProps,
|
|
1356
|
+
MenuDropdownProps,
|
|
1357
|
+
MenuItemProps,
|
|
1358
|
+
MenuDividerProps,
|
|
1359
|
+
MenuLabelProps,
|
|
1360
|
+
MenuSubProps,
|
|
1361
|
+
MenuSubTargetProps,
|
|
1362
|
+
MenuSubItemProps,
|
|
1363
|
+
MenuSubDropdownProps,
|
|
1364
|
+
Menu_2 as Menu,
|
|
1365
|
+
ModalProps,
|
|
1366
|
+
ModalFooterProps,
|
|
1367
|
+
ModalRootProps,
|
|
1368
|
+
ModalOverlayProps,
|
|
1369
|
+
ModalContentProps,
|
|
1370
|
+
ModalHeaderProps,
|
|
1371
|
+
ModalTitleProps,
|
|
1372
|
+
ModalCloseButtonProps,
|
|
1373
|
+
Modal_2 as Modal,
|
|
1374
|
+
RecursicaNumberInputProps,
|
|
1375
|
+
NumberInputProps_2 as NumberInputProps,
|
|
1376
|
+
NumberInput_2 as NumberInput,
|
|
1377
|
+
PaginationProps,
|
|
1378
|
+
PaginationRootProps,
|
|
1379
|
+
PaginationEdgeProps,
|
|
1380
|
+
PaginationControlProps,
|
|
1381
|
+
PaginationDotsProps,
|
|
1382
|
+
Pagination_2 as Pagination,
|
|
1383
|
+
RecursicaPanelProps_2 as RecursicaPanelProps,
|
|
1384
|
+
PanelProps,
|
|
1385
|
+
PanelFooterProps,
|
|
1386
|
+
PanelFooter_2 as PanelFooter,
|
|
1387
|
+
PanelRootProps,
|
|
1388
|
+
PanelRoot,
|
|
1389
|
+
PanelOverlayProps,
|
|
1390
|
+
PanelOverlay,
|
|
1391
|
+
PanelContentProps,
|
|
1392
|
+
PanelContent,
|
|
1393
|
+
PanelHeaderProps,
|
|
1394
|
+
PanelHeader,
|
|
1395
|
+
PanelTitleProps,
|
|
1396
|
+
PanelTitle,
|
|
1397
|
+
PanelCloseButtonProps,
|
|
1398
|
+
PanelCloseButton,
|
|
1399
|
+
PanelBodyProps,
|
|
1400
|
+
PanelBody,
|
|
1401
|
+
Panel_2 as Panel,
|
|
1402
|
+
PopoverProps,
|
|
1403
|
+
PopoverTargetProps,
|
|
1404
|
+
PopoverDropdownProps,
|
|
1405
|
+
Popover_2 as Popover,
|
|
1406
|
+
RadioWrapperProps,
|
|
1407
|
+
RecursicaRadioPropsAlias,
|
|
1408
|
+
RadioProps_2 as RadioProps,
|
|
1409
|
+
Radio_2 as Radio,
|
|
1410
|
+
RecursicaRadioGroupProps,
|
|
1411
|
+
RadioGroupProps,
|
|
1412
|
+
RadioGroup_2 as RadioGroup,
|
|
1413
|
+
RecursicaReadOnlyFieldProps,
|
|
1414
|
+
ReadOnlyFieldProps,
|
|
1415
|
+
ReadOnlyField_2 as ReadOnlyField,
|
|
1416
|
+
WithReadOnlyWrapperProps,
|
|
1417
|
+
WithReadOnlyWrapper,
|
|
1418
|
+
RecursicaReadOnlyTextFieldProps,
|
|
1419
|
+
ReadOnlyTextFieldProps,
|
|
1420
|
+
ReadOnlyTextField,
|
|
1421
|
+
ReadOnlySwitchField,
|
|
1422
|
+
ReadOnlyBooleanField,
|
|
1423
|
+
SegmentedControlProps,
|
|
1424
|
+
SegmentedControl_2 as SegmentedControl,
|
|
1425
|
+
RecursicaSliderProps,
|
|
1426
|
+
SliderProps_2 as SliderProps,
|
|
1427
|
+
Slider_2 as Slider,
|
|
1428
|
+
StackProps,
|
|
1429
|
+
Stack_2 as Stack,
|
|
1430
|
+
RecursicaStepperPropsExtended,
|
|
1431
|
+
StepperProps_2 as StepperProps,
|
|
1432
|
+
StepperStepProps,
|
|
1433
|
+
Stepper_2 as Stepper,
|
|
1434
|
+
SwitchWrapperProps,
|
|
1435
|
+
RecursicaSwitchPropsAlias,
|
|
1436
|
+
SwitchProps_2 as SwitchProps,
|
|
1437
|
+
Switch_2 as Switch,
|
|
1438
|
+
RecursicaSwitchGroupProps,
|
|
1439
|
+
SwitchGroupProps,
|
|
1440
|
+
SwitchGroup_2 as SwitchGroup,
|
|
1441
|
+
TableProps,
|
|
1442
|
+
TableTheadProps,
|
|
1443
|
+
TableThead,
|
|
1444
|
+
TableTbodyProps,
|
|
1445
|
+
TableTbody,
|
|
1446
|
+
TableTrProps,
|
|
1447
|
+
TableTr,
|
|
1448
|
+
TableThProps,
|
|
1449
|
+
TableTh,
|
|
1450
|
+
TableTdProps,
|
|
1451
|
+
TableTd,
|
|
1452
|
+
TableTfootProps,
|
|
1453
|
+
TableTfoot,
|
|
1454
|
+
TableCaptionProps,
|
|
1455
|
+
TableCaption,
|
|
1456
|
+
TableScrollContainerProps,
|
|
1457
|
+
TableScrollContainer,
|
|
1458
|
+
Table_2 as Table,
|
|
1459
|
+
RecursicaTabsPropsExtended,
|
|
1460
|
+
TabsProps_2 as TabsProps,
|
|
1461
|
+
TabsListProps,
|
|
1462
|
+
TabsTabProps,
|
|
1463
|
+
TabsPanelProps,
|
|
1464
|
+
Tabs_2 as Tabs,
|
|
1465
|
+
TextProps,
|
|
1466
|
+
Text_3 as Text,
|
|
1467
|
+
RecursicaTextAreaProps,
|
|
1468
|
+
TextAreaProps,
|
|
1469
|
+
TextArea_2 as TextArea,
|
|
1470
|
+
RecursicaTextFieldProps,
|
|
1471
|
+
TextFieldProps,
|
|
1472
|
+
TextField_2 as TextField,
|
|
1473
|
+
RecursicaTimePickerProps,
|
|
1474
|
+
TimePickerProps_2 as TimePickerProps,
|
|
1475
|
+
TimePicker_2 as TimePicker,
|
|
1476
|
+
TimelineProps,
|
|
1477
|
+
Timeline_2 as Timeline,
|
|
1478
|
+
TimelineItemProps,
|
|
1479
|
+
TimelineItem_2 as TimelineItem,
|
|
1480
|
+
TitleProps,
|
|
1481
|
+
Title_2 as Title,
|
|
1482
|
+
ToastProps,
|
|
1483
|
+
Toast_2 as Toast,
|
|
1484
|
+
TooltipProps,
|
|
1485
|
+
TooltipFloatingProps,
|
|
1486
|
+
TooltipFloating,
|
|
1487
|
+
Tooltip_2 as Tooltip,
|
|
1488
|
+
TransferListProps,
|
|
1489
|
+
TransferList_2 as TransferList,
|
|
1490
|
+
TreeProps,
|
|
1491
|
+
Tree_2 as Tree
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
declare const ReadOnlyBooleanField: default_2.FC<{
|
|
1496
|
+
checked: boolean;
|
|
1497
|
+
label?: default_2.ReactNode;
|
|
1498
|
+
}>;
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* Base properties required by any input control supporting native ReadOnly state injections globally.
|
|
1502
|
+
*/
|
|
1503
|
+
export declare interface ReadOnlyControlProps<TProps = any> {
|
|
1504
|
+
/** Enables structural read-only mode dynamically mapping data boundaries instead of interactive elements. */
|
|
1505
|
+
readOnly?: boolean;
|
|
1506
|
+
/** Explicitly overrides the standard layout bindings injecting a custom React component natively instead of default text rendering. Receives full native props securely. */
|
|
1507
|
+
readOnlyComponent?: React.ElementType<TProps>;
|
|
1508
|
+
/** Custom renderer explicitly responsible for formatting missing/empty value mappings (overriding default 'N/A') */
|
|
1509
|
+
emptyValueComponent?: React.ElementType<{
|
|
1510
|
+
value?: any;
|
|
1511
|
+
}>;
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
export declare const ReadOnlyField: typeof rawComponents.ReadOnlyField;
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* A native generic form control wrapper exclusively responsible for displaying fixed data.
|
|
1518
|
+
* Internally maps to structural ReadOnly primitive blocks bridging standard `FormControlWrapper` layouts natively.
|
|
1519
|
+
*/
|
|
1520
|
+
declare const ReadOnlyField_2: default_2.ForwardRefExoticComponent<ReadOnlyFieldProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1521
|
+
|
|
1522
|
+
declare type ReadOnlyFieldProps = RecursicaOverStyled<RecursicaReadOnlyFieldProps>;
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* Defines the structured interpretation map determining how data is rendered visually when in Read-only mode natively.
|
|
1526
|
+
*/
|
|
1527
|
+
export declare type ReadOnlyFieldType = "text" | "number" | "date" | "boolean" | "switch";
|
|
1528
|
+
|
|
1529
|
+
declare const ReadOnlySwitchField: default_2.FC<{
|
|
1530
|
+
checked: boolean;
|
|
1531
|
+
label?: default_2.ReactNode;
|
|
1532
|
+
}>;
|
|
1533
|
+
|
|
1534
|
+
declare const ReadOnlyTextField: default_2.FC<ReadOnlyTextFieldProps>;
|
|
1535
|
+
|
|
1536
|
+
declare type ReadOnlyTextFieldProps = RecursicaOverStyled<RecursicaReadOnlyTextFieldProps>;
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* Official list of all components in Recursica.
|
|
1540
|
+
*/
|
|
1541
|
+
export declare const RECURSICA_COMPONENTS: readonly ["Accordion", "AssistiveElement", "Autocomplete", "Avatar", "Badge", "Breadcrumb", "Button", "Card", "Checkbox", "Chip", "Container", "DatePicker", "Dropdown", "EmptyValueRenderer", "Flex", "FormControlLayout", "FormControlWrapper", "Grid", "Group", "HoverCard", "Label", "Layer", "Link", "Loader", "Menu", "Modal", "NumberInput", "Pagination", "Panel", "Popover", "Radio", "ReadOnlyField", "SegmentedControl", "Slider", "Stack", "Stepper", "Switch", "Table", "Tabs", "Text", "TextArea", "TextField", "TimePicker", "Timeline", "Title", "Toast", "Tooltip", "TransferList"];
|
|
1542
|
+
|
|
1543
|
+
/**
|
|
1544
|
+
* Props for the Recursica Accordion Control component.
|
|
1545
|
+
*/
|
|
1546
|
+
export declare interface RecursicaAccordionControlProps {
|
|
1547
|
+
/** Leading icon displayed inside the control boundary */
|
|
1548
|
+
leftIcon?: default_2.ReactNode;
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
/**
|
|
1552
|
+
* Props for the Recursica Accordion Item component.
|
|
1553
|
+
*/
|
|
1554
|
+
export declare interface RecursicaAccordionItemProps {
|
|
1555
|
+
/** The text or element label for the item control */
|
|
1556
|
+
title?: default_2.ReactNode;
|
|
1557
|
+
/** Leading icon for the item control */
|
|
1558
|
+
leftIcon?: default_2.ReactNode;
|
|
1559
|
+
/** Toggle visibility of the divider below the item */
|
|
1560
|
+
divider?: boolean;
|
|
1561
|
+
/** Unique value identifier for this item */
|
|
1562
|
+
value?: string;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* Props for the Recursica Accordion container component.
|
|
1567
|
+
*/
|
|
1568
|
+
export declare interface RecursicaAccordionProps {
|
|
1569
|
+
/** The styling variant of the accordion */
|
|
1570
|
+
variant?: string;
|
|
1571
|
+
/** Current expanded value(s) in controlled mode */
|
|
1572
|
+
value?: string | string[];
|
|
1573
|
+
/** Initial expanded value(s) in uncontrolled mode */
|
|
1574
|
+
defaultValue?: string | string[];
|
|
1575
|
+
/** Callback triggered when value changes */
|
|
1576
|
+
onChange?: (value: string | string[] | null) => void;
|
|
1577
|
+
/** Allow multiple panels to be open simultaneously */
|
|
1578
|
+
multiple?: boolean;
|
|
1579
|
+
/** Custom chevron icon to replace the default expand/collapse indicator */
|
|
1580
|
+
chevron?: default_2.ReactNode;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* Props for the Recursica AssistiveElement component.
|
|
1585
|
+
*/
|
|
1586
|
+
export declare interface RecursicaAssistiveElementProps {
|
|
1587
|
+
/** The semantic variant driving the icon and text colors */
|
|
1588
|
+
assistiveVariant?: "help" | "error";
|
|
1589
|
+
/** Explicitly toggle the rendering of the variant-specific SVG icon */
|
|
1590
|
+
assistiveWithIcon?: boolean;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
declare interface RecursicaAutoCompleteProps extends Omit<AutocompleteProps, "size" | "variant" | "radius" | "wrapperProps" | "data" | "defaultValue" | "value">, Pick<InputWrapperProps, "label" | "error" | "required" | "withAsterisk" | "id">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, RecursicaAutocompleteProps {
|
|
1594
|
+
/** Current input value */
|
|
1595
|
+
value?: string;
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
/**
|
|
1599
|
+
* Props for the Recursica Autocomplete input component.
|
|
1600
|
+
*/
|
|
1601
|
+
export declare interface RecursicaAutocompleteProps {
|
|
1602
|
+
/** Data options to show in the dropdown */
|
|
1603
|
+
data?: unknown[];
|
|
1604
|
+
/** Error message or toggle state */
|
|
1605
|
+
error?: boolean | default_2.ReactNode;
|
|
1606
|
+
/** Marks input as required */
|
|
1607
|
+
required?: boolean;
|
|
1608
|
+
/** Renders asterisk beside label */
|
|
1609
|
+
withAsterisk?: boolean;
|
|
1610
|
+
/** Unique identifier */
|
|
1611
|
+
id?: string;
|
|
1612
|
+
/** Initial default value */
|
|
1613
|
+
defaultValue?: unknown;
|
|
1614
|
+
/** Left section decoration (e.g. icon) */
|
|
1615
|
+
leftSection?: default_2.ReactNode;
|
|
1616
|
+
/** Right section decoration (e.g. action button) */
|
|
1617
|
+
rightSection?: default_2.ReactNode;
|
|
1618
|
+
/** Placeholder text */
|
|
1619
|
+
placeholder?: string;
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
/**
|
|
1623
|
+
* Props for the Recursica Avatar component.
|
|
1624
|
+
*/
|
|
1625
|
+
export declare interface RecursicaAvatarProps {
|
|
1626
|
+
/** Size of the avatar */
|
|
1627
|
+
size?: "small" | "default" | "large";
|
|
1628
|
+
/** Visual variant style */
|
|
1629
|
+
variant?: "solid" | "outline" | "ghost";
|
|
1630
|
+
/** Icon element fallback when initials or src aren't shown */
|
|
1631
|
+
icon?: default_2.ReactNode;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* Props for the Recursica Badge component.
|
|
1636
|
+
*/
|
|
1637
|
+
export declare interface RecursicaBadgeProps {
|
|
1638
|
+
/** Map to the component styles defined in variables */
|
|
1639
|
+
variant?: "alert" | "primary-color" | "success" | "warning";
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* Props for the Recursica Breadcrumb component.
|
|
1644
|
+
*/
|
|
1645
|
+
export declare interface RecursicaBreadcrumbProps {
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* Props for the Recursica Button component.
|
|
1650
|
+
*/
|
|
1651
|
+
export declare interface RecursicaButtonProps {
|
|
1652
|
+
/** The visual style variant of the button */
|
|
1653
|
+
variant?: "solid" | "outline" | "text";
|
|
1654
|
+
/** The size of the button */
|
|
1655
|
+
size?: "default" | "small";
|
|
1656
|
+
/** An optional icon element to display to the left of the button text */
|
|
1657
|
+
icon?: default_2.ReactNode;
|
|
1658
|
+
/** Which Recursica Loader variant to use when loading */
|
|
1659
|
+
loaderVariant?: "oval" | "bars" | "dots";
|
|
1660
|
+
/** The size variant for the loader */
|
|
1661
|
+
loaderSize?: "sm" | "md" | "lg" | "small" | "default" | "large";
|
|
1662
|
+
/** Whether to use the Recursica loader or fallback to default */
|
|
1663
|
+
useRecursicaLoader?: boolean;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
/**
|
|
1667
|
+
* Props for the Recursica Card component.
|
|
1668
|
+
*/
|
|
1669
|
+
export declare interface RecursicaCardProps {
|
|
1670
|
+
/** The content nodes rendered inside the card container */
|
|
1671
|
+
children?: default_2.ReactNode;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
/**
|
|
1675
|
+
* Props for the Recursica Card Section sub-component.
|
|
1676
|
+
*/
|
|
1677
|
+
export declare interface RecursicaCardSectionProps {
|
|
1678
|
+
/** Content of the card section */
|
|
1679
|
+
children?: default_2.ReactNode;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
export declare interface RecursicaCheckboxGroupProps extends Omit<CheckboxGroupProps_2, "size" | "labelProps" | "defaultValue" | "value" | "onChange">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, RecursicaCheckboxGroupProps_2 {
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* Props for the Recursica CheckboxGroup component.
|
|
1687
|
+
*/
|
|
1688
|
+
declare interface RecursicaCheckboxGroupProps_2 {
|
|
1689
|
+
/** Selected values in controlled mode */
|
|
1690
|
+
value?: unknown[];
|
|
1691
|
+
/** Default selected values in uncontrolled mode */
|
|
1692
|
+
defaultValue?: unknown[];
|
|
1693
|
+
/** Callback triggered on selection change */
|
|
1694
|
+
onChange?: (value: unknown[]) => void;
|
|
1695
|
+
/** Toggle horizontal row display */
|
|
1696
|
+
row?: boolean;
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* Props for the Recursica Checkbox component.
|
|
1701
|
+
*/
|
|
1702
|
+
export declare interface RecursicaCheckboxProps {
|
|
1703
|
+
/** Visual label of the checkbox */
|
|
1704
|
+
label?: default_2.ReactNode;
|
|
1705
|
+
/** Auxiliary description helper text */
|
|
1706
|
+
description?: default_2.ReactNode;
|
|
1707
|
+
/** Error message or toggle */
|
|
1708
|
+
error?: default_2.ReactNode;
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
declare type RecursicaCheckboxPropsAlias = RequireAccessibleLabel<CheckboxWrapperProps>;
|
|
1712
|
+
|
|
1713
|
+
/**
|
|
1714
|
+
* Props for the Recursica Chip component.
|
|
1715
|
+
*/
|
|
1716
|
+
export declare interface RecursicaChipProps {
|
|
1717
|
+
/** Enables the error state styling */
|
|
1718
|
+
error?: boolean;
|
|
1719
|
+
/** Leading icon content */
|
|
1720
|
+
icon?: default_2.ReactNode;
|
|
1721
|
+
/** Called when the remove (X) icon is clicked. If provided, the remove icon will be displayed. */
|
|
1722
|
+
onRemove?: (e: default_2.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
|
|
1723
|
+
/** Screen reader label for the remove button. Defaults to 'Remove' */
|
|
1724
|
+
removeLabel?: string;
|
|
1725
|
+
/** Checked state for the chip (acts as a checkbox) */
|
|
1726
|
+
checked?: boolean;
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
/**
|
|
1730
|
+
* Union type of all Recursica components.
|
|
1731
|
+
*/
|
|
1732
|
+
export declare type RecursicaComponent = (typeof RECURSICA_COMPONENTS)[number];
|
|
1733
|
+
|
|
1734
|
+
/**
|
|
1735
|
+
* Props for the Recursica Container layout component.
|
|
1736
|
+
*/
|
|
1737
|
+
export declare interface RecursicaContainerProps {
|
|
1738
|
+
/** Content inside the container */
|
|
1739
|
+
children?: default_2.ReactNode;
|
|
1740
|
+
/** Maximum width constraint */
|
|
1741
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | RecursicaSpacing | (string & {}) | number;
|
|
1742
|
+
/** Fluid container takes 100% of max-width */
|
|
1743
|
+
fluid?: boolean;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
export declare interface RecursicaDatePickerProps extends Omit<DatePickerInputProps, "size" | "variant" | "radius" | "wrapperProps" | "label" | "error" | "required" | "withAsterisk" | "id" | "description">, Pick<DatePickerInputProps, "label" | "error" | "required" | "withAsterisk" | "id">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, RecursicaDatePickerProps_2 {
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
/**
|
|
1750
|
+
* Props for the Recursica DatePicker component.
|
|
1751
|
+
*/
|
|
1752
|
+
declare interface RecursicaDatePickerProps_2 {
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
export declare interface RecursicaDropdownProps extends Omit<SelectProps, "size" | "variant" | "radius" | "wrapperProps" | "data">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, RecursicaDropdownProps_2 {
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* Props for the Recursica Dropdown/Select component.
|
|
1760
|
+
*/
|
|
1761
|
+
declare interface RecursicaDropdownProps_2 {
|
|
1762
|
+
/** Internal hook for Selects to override raw layout width properties */
|
|
1763
|
+
containerWidth?: default_2.CSSProperties["width"];
|
|
1764
|
+
/** Data options array */
|
|
1765
|
+
data?: (string | {
|
|
1766
|
+
value: string;
|
|
1767
|
+
label: default_2.ReactNode;
|
|
1768
|
+
disabled?: boolean;
|
|
1769
|
+
})[];
|
|
1770
|
+
/** Enable autocomplete search functionality */
|
|
1771
|
+
searchable?: boolean;
|
|
1772
|
+
/** Show input clear option button */
|
|
1773
|
+
clearable?: boolean;
|
|
1774
|
+
/** Marks field with visual asterisk */
|
|
1775
|
+
withAsterisk?: boolean;
|
|
1776
|
+
/** Placeholder text when value is empty */
|
|
1777
|
+
placeholder?: string;
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
/**
|
|
1781
|
+
* Props for the Recursica Flex layout component.
|
|
1782
|
+
*/
|
|
1783
|
+
export declare interface RecursicaFlexProps {
|
|
1784
|
+
/** Children nodes */
|
|
1785
|
+
children?: default_2.ReactNode;
|
|
1786
|
+
/** Global gap spacing key or CSS value */
|
|
1787
|
+
gap?: string | number | RecursicaSpacing;
|
|
1788
|
+
/** Horizontal row spacing */
|
|
1789
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
1790
|
+
/** Vertical column spacing */
|
|
1791
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
1792
|
+
/** Flex direction */
|
|
1793
|
+
direction?: default_2.CSSProperties["flexDirection"];
|
|
1794
|
+
/** Align items */
|
|
1795
|
+
align?: default_2.CSSProperties["alignItems"];
|
|
1796
|
+
/** Justify content */
|
|
1797
|
+
justify?: default_2.CSSProperties["justifyContent"];
|
|
1798
|
+
/** Flex wrap */
|
|
1799
|
+
wrap?: default_2.CSSProperties["flexWrap"];
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* Props for the Recursica FormControlLayout component.
|
|
1804
|
+
*/
|
|
1805
|
+
export declare interface RecursicaFormControlLayoutProps {
|
|
1806
|
+
/** Layout structure direction */
|
|
1807
|
+
formLayout?: "stacked" | "side-by-side";
|
|
1808
|
+
/** Label sizing constraint */
|
|
1809
|
+
labelSize?: "small" | "default" | "md";
|
|
1810
|
+
/** Optional left section element (usually Label) */
|
|
1811
|
+
leftSection?: default_2.ReactNode;
|
|
1812
|
+
/** Main wrapper bounding maximum width */
|
|
1813
|
+
controlMaxWidth?: string;
|
|
1814
|
+
/** Main wrapper bounding minimum width */
|
|
1815
|
+
controlMinWidth?: string;
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
/**
|
|
1819
|
+
* Base properties required by any input control supporting native form wrapper layouts.
|
|
1820
|
+
*/
|
|
1821
|
+
export declare interface RecursicaFormControlWrapperProps extends RecursicaLabelProps {
|
|
1822
|
+
/** Overall structural flow mapping the Form Control natively cascading down to Label and Input logic. */
|
|
1823
|
+
formLayout?: "stacked" | "side-by-side";
|
|
1824
|
+
/** Securely replaces standard descriptions safely providing standard Assistive properties. */
|
|
1825
|
+
assistiveText?: default_2.ReactNode;
|
|
1826
|
+
/** Fallback description prop to match native APIs safely. */
|
|
1827
|
+
description?: default_2.ReactNode;
|
|
1828
|
+
/** Fallback helperText prop to match native APIs safely. */
|
|
1829
|
+
helperText?: default_2.ReactNode;
|
|
1830
|
+
/** Explicit toggle to suppress the Info icon rendering natively alongside the assistiveText. Defaults to true. */
|
|
1831
|
+
assistiveWithIcon?: boolean;
|
|
1832
|
+
/** Custom action area to render alongside the label instead of the default edit icon. */
|
|
1833
|
+
labelActionArea?: default_2.ReactNode;
|
|
1834
|
+
/** Pass the native maximum width design variable dynamically bounding the specific wrapper width exclusively. */
|
|
1835
|
+
controlMaxWidth?: string | undefined;
|
|
1836
|
+
/** Pass the native minimum width design variable dynamically bounding the specific wrapper width exclusively. */
|
|
1837
|
+
controlMinWidth?: string | undefined;
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
declare type RecursicaGridBreakpoint = "base" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* Props for the Recursica Grid.Col layout component.
|
|
1844
|
+
*/
|
|
1845
|
+
export declare interface RecursicaGridColProps {
|
|
1846
|
+
/** Content of the column */
|
|
1847
|
+
children?: default_2.ReactNode;
|
|
1848
|
+
/** Column span, either a fixed value or a per-breakpoint object */
|
|
1849
|
+
span?: number | "auto" | "content" | Partial<Record<RecursicaGridBreakpoint, number | "auto" | "content">>;
|
|
1850
|
+
/** Column offset, either a fixed value or a per-breakpoint object */
|
|
1851
|
+
offset?: number | Partial<Record<RecursicaGridBreakpoint, number>>;
|
|
1852
|
+
/** Column order, either a fixed value or a per-breakpoint object */
|
|
1853
|
+
order?: number | Partial<Record<RecursicaGridBreakpoint, number>>;
|
|
1854
|
+
/** Hides the column below the given breakpoint */
|
|
1855
|
+
visibleFrom?: RecursicaGridBreakpoint;
|
|
1856
|
+
/** Hides the column above the given breakpoint */
|
|
1857
|
+
hiddenFrom?: RecursicaGridBreakpoint;
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
/**
|
|
1861
|
+
* Props for the Recursica Grid layout component.
|
|
1862
|
+
*/
|
|
1863
|
+
export declare interface RecursicaGridProps {
|
|
1864
|
+
/** Grid columns and their content */
|
|
1865
|
+
children?: default_2.ReactNode;
|
|
1866
|
+
/** Gap between columns. Renamed from Mantine's `gutter` for consistency with Flex/Stack/Group. */
|
|
1867
|
+
gap?: string | number | RecursicaSpacing;
|
|
1868
|
+
/** Number of columns in each row */
|
|
1869
|
+
columns?: number;
|
|
1870
|
+
/** If set, columns in the last row expand to fill all available space */
|
|
1871
|
+
grow?: boolean;
|
|
1872
|
+
/** Justify-content flexbox property */
|
|
1873
|
+
justify?: default_2.CSSProperties["justifyContent"];
|
|
1874
|
+
/** Align-items flexbox property */
|
|
1875
|
+
align?: default_2.CSSProperties["alignItems"];
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
/**
|
|
1879
|
+
* Props for the Recursica Group layout component.
|
|
1880
|
+
*/
|
|
1881
|
+
export declare interface RecursicaGroupProps {
|
|
1882
|
+
/** Children elements to align horizontally */
|
|
1883
|
+
children?: default_2.ReactNode;
|
|
1884
|
+
/** Gap spacing */
|
|
1885
|
+
gap?: string | RecursicaSpacing;
|
|
1886
|
+
/** Row gap spacing */
|
|
1887
|
+
rowGap?: string | RecursicaSpacing;
|
|
1888
|
+
/** Column gap spacing */
|
|
1889
|
+
columnGap?: string | RecursicaSpacing;
|
|
1890
|
+
/** Align items justify properties */
|
|
1891
|
+
justify?: default_2.CSSProperties["justifyContent"];
|
|
1892
|
+
/** Align items vertical alignment */
|
|
1893
|
+
align?: default_2.CSSProperties["alignItems"];
|
|
1894
|
+
/** Flex-wrap settings */
|
|
1895
|
+
wrap?: default_2.CSSProperties["flexWrap"];
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
/**
|
|
1899
|
+
* Props for the Recursica HoverCard component.
|
|
1900
|
+
*/
|
|
1901
|
+
export declare interface RecursicaHoverCardProps {
|
|
1902
|
+
/** Draw directional arrow pointing to anchor element */
|
|
1903
|
+
withBeak?: boolean;
|
|
1904
|
+
/** Visual placement target orientation */
|
|
1905
|
+
position?: "bottom" | "bottom-start" | "bottom-end" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
1906
|
+
/** Delay before triggering open state in ms */
|
|
1907
|
+
openDelay?: number;
|
|
1908
|
+
/** Delay before triggering close state in ms */
|
|
1909
|
+
closeDelay?: number;
|
|
1910
|
+
/** Disable hover triggers */
|
|
1911
|
+
disabled?: boolean;
|
|
1912
|
+
/** Absolute offset spacing */
|
|
1913
|
+
offset?: number;
|
|
1914
|
+
/** Children target content */
|
|
1915
|
+
children?: default_2.ReactNode;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
/**
|
|
1919
|
+
* Base properties for Recursica label indicators.
|
|
1920
|
+
*/
|
|
1921
|
+
export declare interface RecursicaLabelProps {
|
|
1922
|
+
/** Specifies the sizing metrics natively mapping the Label boundaries. */
|
|
1923
|
+
labelSize?: "default" | "small" | "md";
|
|
1924
|
+
/** Overall alignment directive for the label strings natively forcing Left/Right justification. */
|
|
1925
|
+
labelAlignment?: "left" | "right";
|
|
1926
|
+
/** Injects an indicator text block alongside the label. Can be boolean (`true` maps to '(Optional)') or custom React nodes. */
|
|
1927
|
+
labelOptionalText?: boolean | default_2.ReactNode;
|
|
1928
|
+
/** When true, forces the native Edit Icon to replace the standard asterisk visually. */
|
|
1929
|
+
labelWithEditIcon?: boolean;
|
|
1930
|
+
/** Custom action area to render alongside the label instead of the default edit icon. */
|
|
1931
|
+
labelActionArea?: default_2.ReactNode;
|
|
1932
|
+
/** Interaction hook invoked whenever a generated edit icon block natively triggers a click event. */
|
|
1933
|
+
onLabelEditClick?: default_2.MouseEventHandler<HTMLButtonElement>;
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* Recursica design-system props for Layer.
|
|
1938
|
+
* Sets data-recursica-layer so scoped CSS theme+layer blocks apply that layer's
|
|
1939
|
+
* generic brand vars (e.g. --recursica_brand_layer_N_properties_surface) to this element
|
|
1940
|
+
* and descendants. Theme is set on the document root (e.g. via RecursicaThemeProvider).
|
|
1941
|
+
* See recursica_variables_scoped.css header.
|
|
1942
|
+
*/
|
|
1943
|
+
export declare interface RecursicaLayerProps {
|
|
1944
|
+
/** Layer (0–3). Sets data-recursica-layer on the root so descendants use this layer's styles. */
|
|
1945
|
+
layer: 0 | 1 | 2 | 3;
|
|
1946
|
+
/**
|
|
1947
|
+
* When true, the root uses display: contents (no box, not styled) and data-recursica-layer
|
|
1948
|
+
* is omitted so Recursica layer styling is not applied. Children still participate in the cascade.
|
|
1949
|
+
*/
|
|
1950
|
+
contentsOnly?: boolean;
|
|
1951
|
+
/** Children nodes */
|
|
1952
|
+
children?: default_2.ReactNode;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* Props for the Recursica Link component.
|
|
1957
|
+
*/
|
|
1958
|
+
export declare interface RecursicaLinkProps {
|
|
1959
|
+
/** Leading icon shown next to text link */
|
|
1960
|
+
icon?: default_2.ReactNode;
|
|
1961
|
+
/** Text or target elements */
|
|
1962
|
+
children?: default_2.ReactNode;
|
|
1963
|
+
/** Polymorphic tag type override */
|
|
1964
|
+
component?: default_2.ElementType;
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1967
|
+
/**
|
|
1968
|
+
* Props for the Recursica Loader spinner component.
|
|
1969
|
+
*/
|
|
1970
|
+
export declare interface RecursicaLoaderProps {
|
|
1971
|
+
/** Map to the component styles defined in variables */
|
|
1972
|
+
variant?: "oval" | "bars" | "dots";
|
|
1973
|
+
/** Map to Recursica sizes */
|
|
1974
|
+
size?: "sm" | "md" | "lg" | RecursicaSize;
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* Props for the Recursica Menu component.
|
|
1979
|
+
*/
|
|
1980
|
+
export declare interface RecursicaMenuProps {
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
/**
|
|
1984
|
+
* Props for the Recursica Modal component.
|
|
1985
|
+
*/
|
|
1986
|
+
export declare interface RecursicaModalProps {
|
|
1987
|
+
/** Control visibility state */
|
|
1988
|
+
opened?: boolean;
|
|
1989
|
+
/** Render standard top-right close cross button */
|
|
1990
|
+
withCloseButton?: boolean;
|
|
1991
|
+
/** Modal header title label */
|
|
1992
|
+
title?: default_2.ReactNode;
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1995
|
+
export declare interface RecursicaNumberInputProps extends Omit<NumberInputProps, "size" | "variant" | "radius" | "wrapperProps" | "classNames" | "styles">, Pick<RecursicaFormControlWrapperProps, "assistiveText" | "assistiveWithIcon" | "formLayout" | "labelSize" | "labelAlignment" | "labelOptionalText" | "labelWithEditIcon" | "onLabelEditClick">, ReadOnlyControlProps, RecursicaNumberInputProps_2 {
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
/**
|
|
1999
|
+
* Props for the Recursica NumberInput component.
|
|
2000
|
+
*/
|
|
2001
|
+
declare interface RecursicaNumberInputProps_2 {
|
|
2002
|
+
/** Enables/disables the controls to increment and decrement the value */
|
|
2003
|
+
hideControls?: boolean;
|
|
2004
|
+
/** Content rendered on the left side of the input (e.g. icon) */
|
|
2005
|
+
leftSection?: React.ReactNode;
|
|
2006
|
+
/** Content rendered on the right side of the input (e.g. percentage sign) */
|
|
2007
|
+
rightSection?: React.ReactNode;
|
|
2008
|
+
/** Minimum possible value */
|
|
2009
|
+
min?: number;
|
|
2010
|
+
/** Maximum possible value */
|
|
2011
|
+
max?: number;
|
|
2012
|
+
/** Step value for incrementing/decrementing */
|
|
2013
|
+
step?: number;
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2016
|
+
/**
|
|
2017
|
+
* A wrapper type that blocks styling overrides unless `overStyled: true` is explicitly provided.
|
|
2018
|
+
*/
|
|
2019
|
+
export declare type RecursicaOverStyled<T> = (Omit<WithRecursicaSpacing<T>, BlockedStylingKeys> & ForbiddenStyles & {
|
|
2020
|
+
overStyled?: false | undefined;
|
|
2021
|
+
}) | (WithRecursicaSpacing<T> & {
|
|
2022
|
+
overStyled: true;
|
|
2023
|
+
});
|
|
2024
|
+
|
|
2025
|
+
/**
|
|
2026
|
+
* Props for the Recursica Pagination component.
|
|
2027
|
+
*/
|
|
2028
|
+
export declare interface RecursicaPaginationProps {
|
|
2029
|
+
/** If set to true, displays text labels alongside the icons for next/previous/first/last edges. */
|
|
2030
|
+
withLabels?: boolean;
|
|
2031
|
+
/** Total number of pages */
|
|
2032
|
+
total?: number;
|
|
2033
|
+
/** If set to true, first and last page buttons are visible */
|
|
2034
|
+
withEdges?: boolean;
|
|
2035
|
+
/** If set to true, next and prev page buttons are visible */
|
|
2036
|
+
withControls?: boolean;
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
/**
|
|
2040
|
+
* Props for the Recursica Panel component.
|
|
2041
|
+
*/
|
|
2042
|
+
export declare interface RecursicaPanelProps {
|
|
2043
|
+
/** Forces header text onto a single line truncating overflow with ellipsis */
|
|
2044
|
+
wrapHeaderText?: boolean;
|
|
2045
|
+
/** Direction or placement where the panel slides out from */
|
|
2046
|
+
placement?: "top" | "bottom" | "left" | "right";
|
|
2047
|
+
/** Control visibility state */
|
|
2048
|
+
opened?: boolean;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
/**
|
|
2052
|
+
* Recursica Panel root props. Extends Mantine Drawer.
|
|
2053
|
+
*/
|
|
2054
|
+
declare interface RecursicaPanelProps_2 extends Omit<DrawerProps, "size" | "styles" | "classNames" | "style" | "position" | "opened">, RecursicaPanelProps {
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
/**
|
|
2058
|
+
* Props for the Recursica Popover component.
|
|
2059
|
+
*/
|
|
2060
|
+
export declare interface RecursicaPopoverProps {
|
|
2061
|
+
/** Whether to display a beak (arrow) pointing from the popover to the target */
|
|
2062
|
+
withBeak?: boolean;
|
|
2063
|
+
}
|
|
2064
|
+
|
|
2065
|
+
export declare interface RecursicaRadioGroupProps extends Omit<RadioGroupProps_2, "size" | "labelProps" | "defaultValue" | "value" | "onChange">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, RecursicaRadioGroupProps_2 {
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2068
|
+
/**
|
|
2069
|
+
* Props for the Recursica RadioGroup component.
|
|
2070
|
+
*/
|
|
2071
|
+
declare interface RecursicaRadioGroupProps_2 {
|
|
2072
|
+
/** Active value key in controlled mode */
|
|
2073
|
+
value?: unknown;
|
|
2074
|
+
/** Initial selected value in uncontrolled mode */
|
|
2075
|
+
defaultValue?: unknown;
|
|
2076
|
+
/** Callback triggered when active value changes */
|
|
2077
|
+
onChange?: (event: any, value: string) => void;
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* Props for the Recursica Radio component.
|
|
2082
|
+
*/
|
|
2083
|
+
export declare interface RecursicaRadioProps {
|
|
2084
|
+
/** Visual label label string */
|
|
2085
|
+
label?: default_2.ReactNode;
|
|
2086
|
+
/** Auxiliary description helper text */
|
|
2087
|
+
description?: default_2.ReactNode;
|
|
2088
|
+
/** Error text description */
|
|
2089
|
+
error?: default_2.ReactNode;
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
declare type RecursicaRadioPropsAlias = RequireAccessibleLabel<RadioWrapperProps>;
|
|
2093
|
+
|
|
2094
|
+
export declare interface RecursicaReadOnlyFieldProps extends Omit<FormControlWrapperProps, "children" | "overStyled" | "controlMaxWidth" | "controlMinWidth">, Pick<ReadOnlyControlProps, "emptyValueComponent">, RecursicaReadOnlyFieldProps_2 {
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
* Props for the Recursica ReadOnlyField component wrapper.
|
|
2099
|
+
*/
|
|
2100
|
+
declare interface RecursicaReadOnlyFieldProps_2 {
|
|
2101
|
+
/** The specific value to be rendered in read-only mode */
|
|
2102
|
+
value?: unknown;
|
|
2103
|
+
/** The data type formatting rules bounding how the string is presented */
|
|
2104
|
+
type?: ReadOnlyFieldType;
|
|
2105
|
+
/** Pass the native maximum width design variable dynamically bounding the specific wrapper width exclusively */
|
|
2106
|
+
controlMaxWidth?: string | undefined;
|
|
2107
|
+
/** Pass the native minimum width design variable dynamically bounding the specific wrapper width exclusively */
|
|
2108
|
+
controlMinWidth?: string | undefined;
|
|
2109
|
+
}
|
|
2110
|
+
|
|
2111
|
+
export declare interface RecursicaReadOnlyTextFieldProps {
|
|
2112
|
+
/** The value strictly rendered as text output */
|
|
2113
|
+
value?: any;
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* Props for the Recursica SegmentedControl component.
|
|
2118
|
+
*/
|
|
2119
|
+
export declare interface RecursicaSegmentedControlProps {
|
|
2120
|
+
/** The orientation layout direction of the control buttons */
|
|
2121
|
+
orientation?: "horizontal" | "vertical";
|
|
2122
|
+
/** If true, the control will stretch full-width */
|
|
2123
|
+
fullWidth?: boolean;
|
|
2124
|
+
/** SegmentedControl explicitly forbids disabled prop */
|
|
2125
|
+
disabled?: never;
|
|
2126
|
+
/** Data configuration options array */
|
|
2127
|
+
data?: Array<string | {
|
|
2128
|
+
label: default_2.ReactNode;
|
|
2129
|
+
value: string;
|
|
2130
|
+
disabled?: boolean;
|
|
2131
|
+
}>;
|
|
2132
|
+
/** Active selected item value key */
|
|
2133
|
+
value?: string;
|
|
2134
|
+
/** Callback triggered when selected item changes */
|
|
2135
|
+
onChange?: (value: string) => void;
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
/**
|
|
2139
|
+
* List of standard sizes supported by Recursica.
|
|
2140
|
+
*/
|
|
2141
|
+
export declare type RecursicaSize = "small" | "default" | "large";
|
|
2142
|
+
|
|
2143
|
+
export declare interface RecursicaSliderProps extends Omit<SliderProps, "size" | "variant" | "radius" | "wrapperProps" | "classNames" | "styles" | "label">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, Pick<InputWrapperProps, "error" | "required" | "withAsterisk">, ReadOnlyControlProps, RecursicaSliderProps_2 {
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* Props for the Recursica Slider component.
|
|
2148
|
+
*/
|
|
2149
|
+
declare interface RecursicaSliderProps_2 {
|
|
2150
|
+
/** Active error state indicator or text label */
|
|
2151
|
+
error?: boolean | default_2.ReactNode;
|
|
2152
|
+
/** Required field validator */
|
|
2153
|
+
required?: boolean;
|
|
2154
|
+
/** Render visual asterisk */
|
|
2155
|
+
withAsterisk?: boolean;
|
|
2156
|
+
/** Callback triggered when slider value changes */
|
|
2157
|
+
onChange?: (value: number) => void;
|
|
2158
|
+
/** Callback triggered when dragging ends */
|
|
2159
|
+
onChangeEnd?: (value: number) => void;
|
|
2160
|
+
/** Visual form label above track */
|
|
2161
|
+
label?: default_2.ReactNode;
|
|
2162
|
+
/** Custom formatter function or React node for tooltip label */
|
|
2163
|
+
tooltipLabel?: default_2.ReactNode | ((value: number) => default_2.ReactNode);
|
|
2164
|
+
/** Icon shown to the left of the slider track */
|
|
2165
|
+
icon?: default_2.ReactNode;
|
|
2166
|
+
/** Render numeric input side-by-side or stacked */
|
|
2167
|
+
showInput?: boolean;
|
|
2168
|
+
/** Show min and max labels below track */
|
|
2169
|
+
showMinMaxLabels?: boolean;
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
/**
|
|
2173
|
+
* List of spacing keys supported by Recursica.
|
|
2174
|
+
*/
|
|
2175
|
+
export declare type RecursicaSpacing = "rec-none" | "rec-sm" | "rec-default" | "rec-md" | "rec-lg" | "rec-xl" | "rec-2xl";
|
|
2176
|
+
|
|
2177
|
+
/**
|
|
2178
|
+
* Props for the Recursica Stack layout component.
|
|
2179
|
+
*/
|
|
2180
|
+
export declare interface RecursicaStackProps {
|
|
2181
|
+
/** Children elements aligned vertically */
|
|
2182
|
+
children?: default_2.ReactNode;
|
|
2183
|
+
/** Gap space size */
|
|
2184
|
+
gap?: string | number | RecursicaSpacing;
|
|
2185
|
+
/** Align-items flexbox property */
|
|
2186
|
+
align?: default_2.CSSProperties["alignItems"];
|
|
2187
|
+
/** Justify-content flexbox property */
|
|
2188
|
+
justify?: default_2.CSSProperties["justifyContent"];
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
/**
|
|
2192
|
+
* Props for the Recursica Stepper component.
|
|
2193
|
+
*/
|
|
2194
|
+
export declare interface RecursicaStepperProps {
|
|
2195
|
+
/** Visual size variant */
|
|
2196
|
+
size?: "small" | "large";
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
declare interface RecursicaStepperPropsExtended extends Omit<StepperProps, "size">, RecursicaStepperProps {
|
|
2200
|
+
}
|
|
2201
|
+
|
|
2202
|
+
export declare interface RecursicaSwitchGroupProps extends Omit<SwitchGroupProps_2, "size" | "labelProps" | "defaultValue" | "value" | "onChange">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, RecursicaSwitchGroupProps_2 {
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
/**
|
|
2206
|
+
* Props for the Recursica SwitchGroup component.
|
|
2207
|
+
*/
|
|
2208
|
+
declare interface RecursicaSwitchGroupProps_2 {
|
|
2209
|
+
/** Checked values list in controlled mode */
|
|
2210
|
+
value?: unknown[];
|
|
2211
|
+
/** Checked default values list in uncontrolled mode */
|
|
2212
|
+
defaultValue?: unknown[];
|
|
2213
|
+
/** Callback triggered when any switch toggles state */
|
|
2214
|
+
onChange?: (value: unknown[]) => void;
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
/**
|
|
2218
|
+
* Props for the Recursica Switch component.
|
|
2219
|
+
*/
|
|
2220
|
+
export declare interface RecursicaSwitchProps {
|
|
2221
|
+
/** Visual label next to track */
|
|
2222
|
+
label?: default_2.ReactNode;
|
|
2223
|
+
/** Description label below switch */
|
|
2224
|
+
description?: default_2.ReactNode;
|
|
2225
|
+
/** Error text label */
|
|
2226
|
+
error?: default_2.ReactNode;
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
declare type RecursicaSwitchPropsAlias = RequireAccessibleLabel<SwitchWrapperProps>;
|
|
2230
|
+
|
|
2231
|
+
/**
|
|
2232
|
+
* Props for the Recursica Table component.
|
|
2233
|
+
*/
|
|
2234
|
+
export declare interface RecursicaTableProps {
|
|
2235
|
+
}
|
|
2236
|
+
|
|
2237
|
+
/**
|
|
2238
|
+
* Props for the Recursica Tabs component.
|
|
2239
|
+
*/
|
|
2240
|
+
export declare interface RecursicaTabsProps {
|
|
2241
|
+
/** Tab layout variant styles */
|
|
2242
|
+
variant?: "default" | "outline" | "pills";
|
|
2243
|
+
/** Whether the tabs are inverted (tabs list at the bottom/right instead of top/left) */
|
|
2244
|
+
inverted?: boolean;
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
declare interface RecursicaTabsPropsExtended extends Omit<TabsProps, "variant">, RecursicaTabsProps {
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
export declare interface RecursicaTextAreaProps extends Omit<TextareaProps, "size" | "variant" | "radius" | "wrapperProps">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, RecursicaTextAreaProps_2 {
|
|
2251
|
+
}
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* Props for the Recursica TextArea component.
|
|
2255
|
+
*/
|
|
2256
|
+
declare interface RecursicaTextAreaProps_2 {
|
|
2257
|
+
/** Shows asterisk next to label */
|
|
2258
|
+
withAsterisk?: boolean;
|
|
2259
|
+
/** Max rows constraint for autosizing */
|
|
2260
|
+
maxRows?: number;
|
|
2261
|
+
/** Min rows constraint for autosizing */
|
|
2262
|
+
minRows?: number;
|
|
2263
|
+
/** Allow height to stretch automatically with content */
|
|
2264
|
+
autosize?: boolean;
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2267
|
+
export declare interface RecursicaTextFieldProps extends Omit<InputProps, "size" | "variant" | "radius" | "wrapperProps">, Pick<InputWrapperProps, "label" | "error" | "required" | "withAsterisk" | "id">, Omit<default_2.ComponentPropsWithoutRef<"input">, "size" | "style" | "className" | "id">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, RecursicaTextFieldProps_2 {
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
/**
|
|
2271
|
+
* Props for the Recursica TextField component.
|
|
2272
|
+
*/
|
|
2273
|
+
declare interface RecursicaTextFieldProps_2 {
|
|
2274
|
+
/** Section rendered inside input on the left (e.g. icon) */
|
|
2275
|
+
leftSection?: default_2.ReactNode;
|
|
2276
|
+
/** Section rendered inside input on the right (e.g. clear button) */
|
|
2277
|
+
rightSection?: default_2.ReactNode;
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2280
|
+
/**
|
|
2281
|
+
* Props for the Recursica Text component.
|
|
2282
|
+
*/
|
|
2283
|
+
export declare interface RecursicaTextProps {
|
|
2284
|
+
/** Visual style variant layout */
|
|
2285
|
+
variant?: TextVariant;
|
|
2286
|
+
/** Children nodes */
|
|
2287
|
+
children?: default_2.ReactNode;
|
|
2288
|
+
/** Polymorphic component tag override */
|
|
2289
|
+
component?: default_2.ElementType;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
/**
|
|
2293
|
+
* Sets data-recursica-theme on document.documentElement so Recursica scoped CSS
|
|
2294
|
+
* (e.g. recursica_variables_scoped.css) applies the correct theme and layer-0 variables.
|
|
2295
|
+
* Default is light theme. Wraps children in a layer-0 `Layer` by default (see `initLayer0`).
|
|
2296
|
+
*/
|
|
2297
|
+
export declare function RecursicaThemeProvider({ children, theme, initLayer0, }: RecursicaThemeProviderProps): JSX.Element;
|
|
2298
|
+
|
|
2299
|
+
export declare interface RecursicaThemeProviderProps {
|
|
2300
|
+
/** 'light' | 'dark'. Defaults to 'light' when omitted. */
|
|
2301
|
+
theme?: "light" | "dark";
|
|
2302
|
+
/**
|
|
2303
|
+
* When true (the default), automatically wraps `children` in a `<Layer layer={0}>`
|
|
2304
|
+
* so the base page surface/border/elevation variables resolve without any extra
|
|
2305
|
+
* setup. Set to `false` if you want to place the base `Layer` yourself (e.g. to use
|
|
2306
|
+
* `contentsOnly`, or to control exactly where in the tree layer 0 starts).
|
|
2307
|
+
*/
|
|
2308
|
+
initLayer0?: boolean;
|
|
2309
|
+
children: React.ReactNode;
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
/**
|
|
2313
|
+
* Props for the Recursica TimelineItem sub-component.
|
|
2314
|
+
*/
|
|
2315
|
+
export declare interface RecursicaTimelineItemProps {
|
|
2316
|
+
/** Timestamp content node */
|
|
2317
|
+
timestamp?: default_2.ReactNode;
|
|
2318
|
+
/** Stylistic bullet marker indicator */
|
|
2319
|
+
bulletVariant?: "default" | "avatar" | "icon" | "icon-alternative";
|
|
2320
|
+
/** Custom element to render inside the bullet circle */
|
|
2321
|
+
bullet?: default_2.ReactNode;
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2324
|
+
/**
|
|
2325
|
+
* Props for the Recursica Timeline component.
|
|
2326
|
+
*/
|
|
2327
|
+
export declare interface RecursicaTimelineProps {
|
|
2328
|
+
/** The timeline items or elements to render */
|
|
2329
|
+
children?: default_2.ReactNode;
|
|
2330
|
+
/** Active timeline item index dynamically highlighting progress */
|
|
2331
|
+
active?: number;
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
export declare interface RecursicaTimePickerProps extends Omit<TimePickerProps, "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, RecursicaTimePickerProps_2 {
|
|
2335
|
+
}
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* Props for the Recursica TimePicker component.
|
|
2339
|
+
*/
|
|
2340
|
+
declare interface RecursicaTimePickerProps_2 {
|
|
2341
|
+
/** Whether the seconds segment should be shown and editable. Defaults to `false`. */
|
|
2342
|
+
withSeconds?: boolean;
|
|
2343
|
+
/** Minimum possible time string. Format is `HH:mm` normally, or `HH:mm:ss` when `withSeconds` is true. */
|
|
2344
|
+
minTime?: string;
|
|
2345
|
+
/** Maximum possible time string. Format is `HH:mm` normally, or `HH:mm:ss` when `withSeconds` is true. */
|
|
2346
|
+
maxTime?: string;
|
|
2347
|
+
}
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* Props for the Recursica Title component.
|
|
2351
|
+
*/
|
|
2352
|
+
export declare interface RecursicaTitleProps extends default_2.HTMLAttributes<HTMLHeadingElement> {
|
|
2353
|
+
/** Heading ordering hierarchies (1 represents H1, 6 represents H6) */
|
|
2354
|
+
order?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
2355
|
+
/** Title contents */
|
|
2356
|
+
children?: default_2.ReactNode;
|
|
2357
|
+
/** Polymorphic component override */
|
|
2358
|
+
component?: default_2.ElementType;
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2361
|
+
/**
|
|
2362
|
+
* Props for the Recursica Toast notification component.
|
|
2363
|
+
*/
|
|
2364
|
+
export declare interface RecursicaToastProps {
|
|
2365
|
+
/** Visual semantic variant styles */
|
|
2366
|
+
variant?: "default" | "error" | "success";
|
|
2367
|
+
/** Forced disabled loading state property */
|
|
2368
|
+
loading?: false;
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2371
|
+
/**
|
|
2372
|
+
* Props for the Recursica Tooltip component.
|
|
2373
|
+
*/
|
|
2374
|
+
export declare interface RecursicaTooltipProps {
|
|
2375
|
+
/** Enable visual beak arrow indicator pointing to anchor */
|
|
2376
|
+
withBeak?: boolean;
|
|
2377
|
+
}
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* Props for the Recursica TransferList component.
|
|
2381
|
+
*/
|
|
2382
|
+
export declare interface RecursicaTransferListProps {
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2385
|
+
/**
|
|
2386
|
+
* A single node in a Recursica Tree's `data` array. Structurally compatible
|
|
2387
|
+
* with the underlying libraries' own node shapes (e.g. Mantine's
|
|
2388
|
+
* `TreeNodeData`), so adapters can pass it straight through without mapping.
|
|
2389
|
+
*/
|
|
2390
|
+
export declare interface RecursicaTreeNode {
|
|
2391
|
+
/** Unique identifier for this node, used for selection/expansion state */
|
|
2392
|
+
value: string;
|
|
2393
|
+
/** Label content rendered for this node */
|
|
2394
|
+
label: default_2.ReactNode;
|
|
2395
|
+
/** Nested child nodes; presence of this array (even empty) makes the node expandable */
|
|
2396
|
+
children?: RecursicaTreeNode[];
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
* Props for the Recursica Tree component.
|
|
2401
|
+
*
|
|
2402
|
+
* **Fixed interaction pattern (not configurable):** expanding/collapsing and selecting are
|
|
2403
|
+
* separate, independent actions, so a user can toggle a subtree without changing selection.
|
|
2404
|
+
* - Clicking the expand/collapse button (chevron) toggles that node's subtree only; it never
|
|
2405
|
+
* selects.
|
|
2406
|
+
* - Clicking anywhere else on a node's row selects it; it never toggles expansion.
|
|
2407
|
+
* - `Enter`/`Space` while a node is focused selects it (never toggles expansion, even when the
|
|
2408
|
+
* node has children).
|
|
2409
|
+
* - `ArrowLeft`/`ArrowRight` expand/collapse the focused node only; they never change selection.
|
|
2410
|
+
* - `ArrowUp`/`ArrowDown` move focus between rows (standard roving-tabindex navigation).
|
|
2411
|
+
*
|
|
2412
|
+
* There used to be `expandOnClick`/`selectOnClick` toggles for the old combined click behavior;
|
|
2413
|
+
* they're gone now that expand and select are always independent.
|
|
2414
|
+
*/
|
|
2415
|
+
export declare interface RecursicaTreeProps {
|
|
2416
|
+
/** Hierarchical data used to render the tree */
|
|
2417
|
+
data: RecursicaTreeNode[];
|
|
2418
|
+
/** Node values expanded by default, or `"*"` to expand every node (uncontrolled) */
|
|
2419
|
+
initialExpandedValues?: string[] | "*";
|
|
2420
|
+
/** Node values selected by default (uncontrolled) */
|
|
2421
|
+
initialSelectedValues?: string[];
|
|
2422
|
+
/** Allow more than one node to be selected at a time @default false */
|
|
2423
|
+
multiple?: boolean;
|
|
2424
|
+
/** Disable the whole tree — no expand/collapse or select via click or keyboard, dimmed to the
|
|
2425
|
+
* standard disabled opacity. Per-node disabling isn't exposed (no design token or data field
|
|
2426
|
+
* backs it); a selected node stays visibly selected, just dimmed along with everything else.
|
|
2427
|
+
* @default false */
|
|
2428
|
+
disabled?: boolean;
|
|
2429
|
+
/** Called with the node value whenever a node expands */
|
|
2430
|
+
onNodeExpand?: (value: string) => void;
|
|
2431
|
+
/** Called with the node value whenever a node collapses */
|
|
2432
|
+
onNodeCollapse?: (value: string) => void;
|
|
2433
|
+
/** Called with the full list of selected values whenever selection changes */
|
|
2434
|
+
onSelectedChange?: (values: string[]) => void;
|
|
2435
|
+
}
|
|
2436
|
+
|
|
2437
|
+
/**
|
|
2438
|
+
* Registers the global `recursica.toggleOverStyled` command on the window object.
|
|
2439
|
+
*/
|
|
2440
|
+
export declare function registerOverStyledConsoleCommand(): void;
|
|
2441
|
+
|
|
2442
|
+
/**
|
|
2443
|
+
* Enforces accessibility by strictly requiring at least one form of labeling:
|
|
2444
|
+
* either a visual `label`, an `aria-label`, or an `aria-labelledby`.
|
|
2445
|
+
*/
|
|
2446
|
+
export declare type RequireAccessibleLabel<T> = T & ({
|
|
2447
|
+
label: default_2.ReactNode;
|
|
2448
|
+
"aria-label"?: string;
|
|
2449
|
+
"aria-labelledby"?: string;
|
|
2450
|
+
} | {
|
|
2451
|
+
label?: default_2.ReactNode;
|
|
2452
|
+
"aria-label": string;
|
|
2453
|
+
"aria-labelledby"?: string;
|
|
2454
|
+
} | {
|
|
2455
|
+
label?: default_2.ReactNode;
|
|
2456
|
+
"aria-label"?: string;
|
|
2457
|
+
"aria-labelledby": string;
|
|
2458
|
+
});
|
|
2459
|
+
|
|
2460
|
+
export declare const SegmentedControl: typeof rawComponents.SegmentedControl;
|
|
2461
|
+
|
|
2462
|
+
/**
|
|
2463
|
+
* Recursica SegmentedControl component wrapping Mantine's SegmentedControl.
|
|
2464
|
+
*/
|
|
2465
|
+
declare const SegmentedControl_2: ForwardRefExoticComponent<SegmentedControlProps & RefAttributes<HTMLDivElement>>;
|
|
2466
|
+
|
|
2467
|
+
declare type SegmentedControlProps = RecursicaOverStyled<Omit<SegmentedControlProps_2, "variant" | "size" | "radius" | "color" | "classNames" | "className" | "disabled"> & {
|
|
2468
|
+
className?: string;
|
|
2469
|
+
classNames?: Partial<Record<string, string>>;
|
|
2470
|
+
} & RecursicaSegmentedControlProps>;
|
|
2471
|
+
|
|
2472
|
+
export declare const Slider: typeof rawComponents.Slider;
|
|
2473
|
+
|
|
2474
|
+
/**
|
|
2475
|
+
* Recursica Slider component wrapping Mantine's Slider.
|
|
2476
|
+
*
|
|
2477
|
+
* Implements a bidirectional text input field next to the slider track, responsive layouts,
|
|
2478
|
+
* custom typography-bound min/max labels, an optional leading icon, and an explicit read-only layout.
|
|
2479
|
+
*/
|
|
2480
|
+
declare const Slider_2: default_2.ForwardRefExoticComponent<SliderProps_2 & default_2.RefAttributes<HTMLDivElement>>;
|
|
2481
|
+
|
|
2482
|
+
declare type SliderProps_2 = RecursicaOverStyled<RecursicaSliderProps>;
|
|
2483
|
+
|
|
2484
|
+
export declare const Stack: (<C = "div">(props: PolymorphicComponentProps<C, rawComponents.StackProps>) => React.ReactElement) & Omit<FunctionComponent<(Omit<StackProps_2 & RecursicaStackProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
2485
|
+
m?: string | number | RecursicaSpacing;
|
|
2486
|
+
mx?: string | number | RecursicaSpacing;
|
|
2487
|
+
my?: string | number | RecursicaSpacing;
|
|
2488
|
+
mt?: string | number | RecursicaSpacing;
|
|
2489
|
+
mb?: string | number | RecursicaSpacing;
|
|
2490
|
+
ml?: string | number | RecursicaSpacing;
|
|
2491
|
+
mr?: string | number | RecursicaSpacing;
|
|
2492
|
+
gap?: string | number | RecursicaSpacing;
|
|
2493
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
2494
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
2495
|
+
} & {
|
|
2496
|
+
component?: any;
|
|
2497
|
+
} & 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"> & {
|
|
2498
|
+
ref?: any;
|
|
2499
|
+
renderRoot?: (props: any) => any;
|
|
2500
|
+
}) | (Omit<StackProps_2 & RecursicaStackProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
2501
|
+
m?: string | number | RecursicaSpacing;
|
|
2502
|
+
mx?: string | number | RecursicaSpacing;
|
|
2503
|
+
my?: string | number | RecursicaSpacing;
|
|
2504
|
+
mt?: string | number | RecursicaSpacing;
|
|
2505
|
+
mb?: string | number | RecursicaSpacing;
|
|
2506
|
+
ml?: string | number | RecursicaSpacing;
|
|
2507
|
+
mr?: string | number | RecursicaSpacing;
|
|
2508
|
+
gap?: string | number | RecursicaSpacing;
|
|
2509
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
2510
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
2511
|
+
} & {
|
|
2512
|
+
component: React.ElementType;
|
|
2513
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
2514
|
+
})>, never> & Record<string, never>;
|
|
2515
|
+
|
|
2516
|
+
declare const Stack_2: (<C = "div">(props: PolymorphicComponentProps<C, StackProps>) => React.ReactElement) & Omit<FunctionComponent<(Omit<StackProps_2 & RecursicaStackProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
2517
|
+
m?: string | number | RecursicaSpacing;
|
|
2518
|
+
mx?: string | number | RecursicaSpacing;
|
|
2519
|
+
my?: string | number | RecursicaSpacing;
|
|
2520
|
+
mt?: string | number | RecursicaSpacing;
|
|
2521
|
+
mb?: string | number | RecursicaSpacing;
|
|
2522
|
+
ml?: string | number | RecursicaSpacing;
|
|
2523
|
+
mr?: string | number | RecursicaSpacing;
|
|
2524
|
+
gap?: string | number | RecursicaSpacing;
|
|
2525
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
2526
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
2527
|
+
} & {
|
|
2528
|
+
component?: any;
|
|
2529
|
+
} & 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"> & {
|
|
2530
|
+
ref?: any;
|
|
2531
|
+
renderRoot?: (props: any) => any;
|
|
2532
|
+
}) | (Omit<StackProps_2 & RecursicaStackProps, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
2533
|
+
m?: string | number | RecursicaSpacing;
|
|
2534
|
+
mx?: string | number | RecursicaSpacing;
|
|
2535
|
+
my?: string | number | RecursicaSpacing;
|
|
2536
|
+
mt?: string | number | RecursicaSpacing;
|
|
2537
|
+
mb?: string | number | RecursicaSpacing;
|
|
2538
|
+
ml?: string | number | RecursicaSpacing;
|
|
2539
|
+
mr?: string | number | RecursicaSpacing;
|
|
2540
|
+
gap?: string | number | RecursicaSpacing;
|
|
2541
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
2542
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
2543
|
+
} & {
|
|
2544
|
+
component: React.ElementType;
|
|
2545
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
2546
|
+
})>, never> & Record<string, never>;
|
|
2547
|
+
|
|
2548
|
+
/**
|
|
2549
|
+
* Stack flex layout wrapper.
|
|
2550
|
+
*
|
|
2551
|
+
* Note: Unlike complex UI components, primitive layout components (Flex, Stack, Group, Container)
|
|
2552
|
+
* DO NOT use the `RecursicaOverStyled` gatekeeper. Developers must be able to freely pass
|
|
2553
|
+
* width, height, padding, margins, and flexbox alignment props to construct structural layouts.
|
|
2554
|
+
*/
|
|
2555
|
+
declare type StackProps = WithRecursicaSpacing<StackProps_2 & RecursicaStackProps>;
|
|
2556
|
+
|
|
2557
|
+
export declare const Stepper: typeof rawComponents.Stepper;
|
|
2558
|
+
|
|
2559
|
+
declare const _Stepper: default_2.ForwardRefExoticComponent<StepperProps_2 & default_2.RefAttributes<HTMLDivElement>>;
|
|
2560
|
+
|
|
2561
|
+
declare const Stepper_2: typeof _Stepper & {
|
|
2562
|
+
Step: typeof _StepperStep;
|
|
2563
|
+
Completed: typeof Stepper_3.Completed;
|
|
2564
|
+
};
|
|
2565
|
+
|
|
2566
|
+
declare type StepperProps_2 = RecursicaOverStyled<RecursicaStepperPropsExtended>;
|
|
2567
|
+
|
|
2568
|
+
declare const _StepperStep: default_2.ForwardRefExoticComponent<StepperStepProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
2569
|
+
|
|
2570
|
+
declare type StepperStepProps = RecursicaOverStyled<StepperStepProps_2>;
|
|
2571
|
+
|
|
2572
|
+
export declare const Switch: typeof rawComponents.Switch;
|
|
2573
|
+
|
|
2574
|
+
declare const Switch_2: SwitchComponent;
|
|
2575
|
+
|
|
2576
|
+
declare type SwitchComponent = React.ForwardRefExoticComponent<SwitchProps_2 & React.RefAttributes<HTMLInputElement>> & {
|
|
2577
|
+
Group: typeof SwitchGroup_2;
|
|
2578
|
+
};
|
|
2579
|
+
|
|
2580
|
+
export declare const SwitchGroup: typeof rawComponents.SwitchGroup;
|
|
2581
|
+
|
|
2582
|
+
declare const SwitchGroup_2: default_2.ForwardRefExoticComponent<SwitchGroupProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
2583
|
+
|
|
2584
|
+
declare type SwitchGroupProps = RecursicaOverStyled<RecursicaSwitchGroupProps>;
|
|
2585
|
+
|
|
2586
|
+
declare type SwitchProps_2 = RecursicaOverStyled<RecursicaSwitchPropsAlias>;
|
|
2587
|
+
|
|
2588
|
+
declare type SwitchWrapperProps = Omit<SwitchProps, "size" | "color" | "radius" | "variant"> & RecursicaSwitchProps & ReadOnlyControlProps & Pick<FormControlLayoutProps, "formLayout" | "labelSize" | "controlMaxWidth" | "controlMinWidth">;
|
|
2589
|
+
|
|
2590
|
+
export declare const Table: typeof rawComponents.Table;
|
|
2591
|
+
|
|
2592
|
+
declare const Table_2: TableComponent;
|
|
2593
|
+
|
|
2594
|
+
declare const TableBase: ForwardRefExoticComponent<TableProps & RefAttributes<HTMLTableElement>>;
|
|
2595
|
+
|
|
2596
|
+
declare const TableCaption: ForwardRefExoticComponent<TableCaptionProps & RefAttributes<HTMLTableCaptionElement>>;
|
|
2597
|
+
|
|
2598
|
+
declare type TableCaptionProps = RecursicaOverStyled<TableCaptionProps_2>;
|
|
2599
|
+
|
|
2600
|
+
declare type TableComponent = typeof TableBase & {
|
|
2601
|
+
Thead: typeof TableThead;
|
|
2602
|
+
Tbody: typeof TableTbody;
|
|
2603
|
+
Tr: typeof TableTr;
|
|
2604
|
+
Th: typeof TableTh;
|
|
2605
|
+
Td: typeof TableTd;
|
|
2606
|
+
Tfoot: typeof TableTfoot;
|
|
2607
|
+
Caption: typeof TableCaption;
|
|
2608
|
+
ScrollContainer: typeof TableScrollContainer;
|
|
2609
|
+
};
|
|
2610
|
+
|
|
2611
|
+
declare type TableProps = RecursicaOverStyled<TableProps_2 & RecursicaTableProps>;
|
|
2612
|
+
|
|
2613
|
+
declare const TableScrollContainer: ForwardRefExoticComponent<TableScrollContainerProps & RefAttributes<HTMLDivElement>>;
|
|
2614
|
+
|
|
2615
|
+
declare type TableScrollContainerProps = RecursicaOverStyled<TableScrollContainerProps_2>;
|
|
2616
|
+
|
|
2617
|
+
declare const TableTbody: ForwardRefExoticComponent<TableTbodyProps & RefAttributes<HTMLTableSectionElement>>;
|
|
2618
|
+
|
|
2619
|
+
declare type TableTbodyProps = RecursicaOverStyled<TableTbodyProps_2>;
|
|
2620
|
+
|
|
2621
|
+
declare const TableTd: ForwardRefExoticComponent<TableTdProps & RefAttributes<HTMLTableCellElement>>;
|
|
2622
|
+
|
|
2623
|
+
declare type TableTdProps = RecursicaOverStyled<TableTdProps_2>;
|
|
2624
|
+
|
|
2625
|
+
declare const TableTfoot: ForwardRefExoticComponent<TableTfootProps & RefAttributes<HTMLTableSectionElement>>;
|
|
2626
|
+
|
|
2627
|
+
declare type TableTfootProps = RecursicaOverStyled<TableTfootProps_2>;
|
|
2628
|
+
|
|
2629
|
+
declare const TableTh: ForwardRefExoticComponent<TableThProps & RefAttributes<HTMLTableCellElement>>;
|
|
2630
|
+
|
|
2631
|
+
declare const TableThead: ForwardRefExoticComponent<TableTheadProps & RefAttributes<HTMLTableSectionElement>>;
|
|
2632
|
+
|
|
2633
|
+
declare type TableTheadProps = RecursicaOverStyled<TableTheadProps_2>;
|
|
2634
|
+
|
|
2635
|
+
declare type TableThProps = RecursicaOverStyled<TableThProps_2>;
|
|
2636
|
+
|
|
2637
|
+
declare const TableTr: ForwardRefExoticComponent<TableTrProps & RefAttributes<HTMLTableRowElement>>;
|
|
2638
|
+
|
|
2639
|
+
declare type TableTrProps = RecursicaOverStyled<TableTrProps_2>;
|
|
2640
|
+
|
|
2641
|
+
export declare const Tabs: typeof rawComponents.Tabs;
|
|
2642
|
+
|
|
2643
|
+
declare const _Tabs: ForwardRefExoticComponent<TabsProps_2 & RefAttributes<HTMLDivElement>>;
|
|
2644
|
+
|
|
2645
|
+
declare const Tabs_2: typeof _Tabs & {
|
|
2646
|
+
List: typeof _TabsList;
|
|
2647
|
+
Tab: typeof _TabsTab;
|
|
2648
|
+
Panel: typeof _TabsPanel;
|
|
2649
|
+
};
|
|
2650
|
+
|
|
2651
|
+
declare const _TabsList: ForwardRefExoticComponent<TabsListProps & RefAttributes<HTMLDivElement>>;
|
|
2652
|
+
|
|
2653
|
+
declare type TabsListProps = RecursicaOverStyled<TabsListProps_2>;
|
|
2654
|
+
|
|
2655
|
+
declare const _TabsPanel: ForwardRefExoticComponent<TabsPanelProps & RefAttributes<HTMLDivElement>>;
|
|
2656
|
+
|
|
2657
|
+
declare type TabsPanelProps = RecursicaOverStyled<TabsPanelProps_2>;
|
|
2658
|
+
|
|
2659
|
+
declare type TabsProps_2 = RecursicaOverStyled<RecursicaTabsPropsExtended>;
|
|
2660
|
+
|
|
2661
|
+
declare const _TabsTab: ForwardRefExoticComponent<TabsTabProps & RefAttributes<HTMLButtonElement>>;
|
|
2662
|
+
|
|
2663
|
+
declare type TabsTabProps = RecursicaOverStyled<TabsTabProps_2>;
|
|
2664
|
+
|
|
2665
|
+
declare const Text_2: (<C = "p">(props: PolymorphicComponentProps<C, rawComponents.TextProps>) => React.ReactElement) & Omit<FunctionComponent<((rawComponents.TextProps & {
|
|
2666
|
+
component?: any;
|
|
2667
|
+
}) & 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"> & {
|
|
2668
|
+
ref?: any;
|
|
2669
|
+
renderRoot?: (props: any) => any;
|
|
2670
|
+
}) | (rawComponents.TextProps & {
|
|
2671
|
+
component: React.ElementType;
|
|
2672
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
2673
|
+
})>, never> & Record<string, never>;
|
|
2674
|
+
export { Text_2 as Text }
|
|
2675
|
+
|
|
2676
|
+
/**
|
|
2677
|
+
* A generalized typographical wrapper limiting text properties to bounded Recursica UI-kit tokens inherently.
|
|
2678
|
+
* Do not use for semantic headings; use the explicit `<Title>` component for `<h1>` - `<h6>`.
|
|
2679
|
+
*
|
|
2680
|
+
* Supports polymorphism via the `component` prop or `renderRoot` for custom element rendering.
|
|
2681
|
+
* @example
|
|
2682
|
+
* ```tsx
|
|
2683
|
+
* <Text component="span">Inline text</Text>
|
|
2684
|
+
* <Text component="label" htmlFor="input-id">Label text</Text>
|
|
2685
|
+
* ```
|
|
2686
|
+
*/
|
|
2687
|
+
declare const Text_3: (<C = "p">(props: PolymorphicComponentProps<C, TextProps>) => React.ReactElement) & Omit<FunctionComponent<((TextProps & {
|
|
2688
|
+
component?: any;
|
|
2689
|
+
}) & 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"> & {
|
|
2690
|
+
ref?: any;
|
|
2691
|
+
renderRoot?: (props: any) => any;
|
|
2692
|
+
}) | (TextProps & {
|
|
2693
|
+
component: React.ElementType;
|
|
2694
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
2695
|
+
})>, never> & Record<string, never>;
|
|
2696
|
+
|
|
2697
|
+
export declare const TextArea: typeof rawComponents.TextArea;
|
|
2698
|
+
|
|
2699
|
+
declare const TextArea_2: default_2.ForwardRefExoticComponent<TextAreaProps & default_2.RefAttributes<HTMLTextAreaElement>>;
|
|
2700
|
+
|
|
2701
|
+
declare type TextAreaProps = RecursicaOverStyled<RecursicaTextAreaProps>;
|
|
2702
|
+
|
|
2703
|
+
export declare const TextField: typeof rawComponents.TextField;
|
|
2704
|
+
|
|
2705
|
+
declare const TextField_2: default_2.ForwardRefExoticComponent<TextFieldProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
2706
|
+
|
|
2707
|
+
declare type TextFieldProps = RecursicaOverStyled<RecursicaTextFieldProps>;
|
|
2708
|
+
|
|
2709
|
+
declare type TextProps = RecursicaOverStyled<Omit<TextProps_2, "variant"> & RecursicaTextProps>;
|
|
2710
|
+
|
|
2711
|
+
/**
|
|
2712
|
+
* Supported typographical layout variants in Recursica.
|
|
2713
|
+
*/
|
|
2714
|
+
export declare type TextVariant = "body" | "body-small" | "caption" | "overline" | "subtitle" | "subtitle-small";
|
|
2715
|
+
|
|
2716
|
+
export declare const Timeline: typeof rawComponents.Timeline;
|
|
2717
|
+
|
|
2718
|
+
declare const Timeline_2: TimelineComponent;
|
|
2719
|
+
|
|
2720
|
+
declare interface TimelineComponent extends default_2.ForwardRefExoticComponent<TimelineProps & default_2.RefAttributes<HTMLDivElement>> {
|
|
2721
|
+
Item: typeof TimelineItem_2;
|
|
2722
|
+
}
|
|
2723
|
+
|
|
2724
|
+
export declare const TimelineItem: typeof rawComponents.TimelineItem;
|
|
2725
|
+
|
|
2726
|
+
/**
|
|
2727
|
+
* The individual item component for the Timeline.
|
|
2728
|
+
*
|
|
2729
|
+
* **Recursica Abstract:**
|
|
2730
|
+
* The `Timeline.Item` has been extended to support a `timestamp` string natively,
|
|
2731
|
+
* rendering it below the body content. It also accepts a `bulletVariant` to morph
|
|
2732
|
+
* the structural dimensions of the node circle automatically.
|
|
2733
|
+
*/
|
|
2734
|
+
declare const TimelineItem_2: default_2.ForwardRefExoticComponent<TimelineItemProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
2735
|
+
|
|
2736
|
+
declare type TimelineItemProps = RecursicaOverStyled<Omit<TimelineItemProps_2, "radius" | "color" | "lineVariant"> & RecursicaTimelineItemProps>;
|
|
2737
|
+
|
|
2738
|
+
/**
|
|
2739
|
+
* Properties for the strictly-tokenized Timeline component.
|
|
2740
|
+
* Native Mantine abstract properties like `color`, `radius`, `bulletSize`, and `lineWidth`
|
|
2741
|
+
* have been stripped out to strictly enforce the structural mappings of the Recursica UI Kit.
|
|
2742
|
+
*/
|
|
2743
|
+
declare type TimelineProps = RecursicaOverStyled<Omit<TimelineProps_2, "color" | "radius" | "bulletSize" | "lineWidth"> & RecursicaTimelineProps>;
|
|
2744
|
+
|
|
2745
|
+
export declare const TimePicker: typeof rawComponents.TimePicker;
|
|
2746
|
+
|
|
2747
|
+
declare const TimePicker_2: default_2.ForwardRefExoticComponent<TimePickerProps_2 & default_2.RefAttributes<HTMLDivElement>>;
|
|
2748
|
+
|
|
2749
|
+
declare type TimePickerProps_2 = RecursicaOverStyled<RecursicaTimePickerProps>;
|
|
2750
|
+
|
|
2751
|
+
export declare const Title: typeof rawComponents.Title;
|
|
2752
|
+
|
|
2753
|
+
/**
|
|
2754
|
+
* Enforces highly accessible structural markup utilizing semantic `<h1>` through `<h6>` tags securely bound directly to Recursica typographic scales.
|
|
2755
|
+
*/
|
|
2756
|
+
declare const Title_2: ForwardRefExoticComponent<TitleProps & RefAttributes<HTMLHeadingElement>>;
|
|
2757
|
+
|
|
2758
|
+
declare type TitleProps = RecursicaOverStyled<Omit<TitleProps_2, "size"> & RecursicaTitleProps>;
|
|
2759
|
+
|
|
2760
|
+
export declare const Toast: typeof rawComponents.Toast;
|
|
2761
|
+
|
|
2762
|
+
declare const Toast_2: default_2.ForwardRefExoticComponent<ToastProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
2763
|
+
|
|
2764
|
+
/**
|
|
2765
|
+
* Toast component wrapping Mantine's Notification.
|
|
2766
|
+
*
|
|
2767
|
+
* Can be used as a standalone visual component to display a notification or message.
|
|
2768
|
+
*/
|
|
2769
|
+
declare type ToastProps = RecursicaOverStyled<Omit<NotificationProps, "color" | "radius" | "variant" | "loading"> & RecursicaToastProps>;
|
|
2770
|
+
|
|
2771
|
+
/**
|
|
2772
|
+
* Toggles the global highlight state for overStyled components.
|
|
2773
|
+
* When active, components with overStyled=true will render a wrapping div with a cyan box shadow.
|
|
2774
|
+
*
|
|
2775
|
+
* @param active - Optional boolean to force a state.
|
|
2776
|
+
* @returns The new active state.
|
|
2777
|
+
*/
|
|
2778
|
+
export declare function toggleGlobalOverStyled(active?: boolean): boolean;
|
|
2779
|
+
|
|
2780
|
+
export declare const Tooltip: typeof rawComponents.Tooltip;
|
|
2781
|
+
|
|
2782
|
+
declare const Tooltip_2: TooltipComponent;
|
|
2783
|
+
|
|
2784
|
+
declare const TooltipBase: {
|
|
2785
|
+
({ overStyled, withBeak, ...rest }: TooltipProps): JSX.Element;
|
|
2786
|
+
displayName: string;
|
|
2787
|
+
};
|
|
2788
|
+
|
|
2789
|
+
declare type TooltipComponent = typeof TooltipBase & {
|
|
2790
|
+
Floating: typeof TooltipFloating;
|
|
2791
|
+
Group: typeof Tooltip_3.Group;
|
|
2792
|
+
};
|
|
2793
|
+
|
|
2794
|
+
declare const TooltipFloating: ForwardRefExoticComponent<TooltipFloatingProps & RefAttributes<HTMLDivElement>>;
|
|
2795
|
+
|
|
2796
|
+
declare type TooltipFloatingProps = RecursicaOverStyled<TooltipFloatingProps_2>;
|
|
2797
|
+
|
|
2798
|
+
/**
|
|
2799
|
+
* Recursica Tooltip component wrapping Mantine's Tooltip.
|
|
2800
|
+
*
|
|
2801
|
+
* Displays a floating label when the user hovers over or focuses a target element.
|
|
2802
|
+
* Unlike HoverCard, Tooltip is a single component (not composable) — content is
|
|
2803
|
+
* passed via the `label` prop, and the trigger is passed as `children`.
|
|
2804
|
+
*
|
|
2805
|
+
* ```tsx
|
|
2806
|
+
* <Tooltip label="Helpful information" withBeak>
|
|
2807
|
+
* <Button>Hover me</Button>
|
|
2808
|
+
* </Tooltip>
|
|
2809
|
+
* ```
|
|
2810
|
+
*
|
|
2811
|
+
* Static sub-components available via dot-notation:
|
|
2812
|
+
* - `Tooltip.Floating` — Tooltip that follows the cursor
|
|
2813
|
+
* - `Tooltip.Group` — Shared hover delay group for multiple tooltips
|
|
2814
|
+
*/
|
|
2815
|
+
declare type TooltipProps = RecursicaOverStyled<TooltipProps_2 & RecursicaTooltipProps>;
|
|
2816
|
+
|
|
2817
|
+
export declare const TransferList: typeof rawComponents.TransferList;
|
|
2818
|
+
|
|
2819
|
+
declare const TransferList_2: default_2.FC<TransferListProps>;
|
|
2820
|
+
|
|
2821
|
+
declare type TransferListProps = default_2.HTMLAttributes<HTMLDivElement> & RecursicaTransferListProps;
|
|
2822
|
+
|
|
2823
|
+
export declare const Tree: typeof rawComponents.Tree;
|
|
2824
|
+
|
|
2825
|
+
/**
|
|
2826
|
+
* Recursively renders hierarchical `data` as an expandable/selectable tree.
|
|
2827
|
+
*
|
|
2828
|
+
* **Recursica Abstract:**
|
|
2829
|
+
* Wraps Mantine's `Tree` with a fully custom node renderer so every visual aspect (row box
|
|
2830
|
+
* model, selected/unselected colors and typography, indent, item spacing) comes from
|
|
2831
|
+
* Recursica's `tree` design tokens rather than Mantine's defaults.
|
|
2832
|
+
*
|
|
2833
|
+
* **Interaction pattern (fixed, not prop-configurable):** expand/collapse and select are
|
|
2834
|
+
* independent — the chevron button toggles a node's subtree only, clicking the rest of a row
|
|
2835
|
+
* (or pressing `Enter`/`Space`) selects it only, and `ArrowLeft`/`ArrowRight` toggle expansion
|
|
2836
|
+
* only. See `RecursicaTreeProps` for the full breakdown.
|
|
2837
|
+
*/
|
|
2838
|
+
declare const Tree_2: default_2.ForwardRefExoticComponent<TreeProps & default_2.RefAttributes<HTMLUListElement>>;
|
|
2839
|
+
|
|
2840
|
+
declare type TreeProps = RecursicaOverStyled<RecursicaTreeProps & Omit<default_2.ComponentPropsWithoutRef<"ul">, "children">>;
|
|
2841
|
+
|
|
2842
|
+
/**
|
|
2843
|
+
* React hook that returns the current global overStyled active state and subscribes to changes.
|
|
2844
|
+
*/
|
|
2845
|
+
export declare function useGlobalOverStyled(): boolean;
|
|
2846
|
+
|
|
2847
|
+
/**
|
|
2848
|
+
* Universal execution barrier trapping readOnly states globally.
|
|
2849
|
+
* Natively delegates active logic down avoiding duplicative internal component bindings dynamically.
|
|
2850
|
+
*/
|
|
2851
|
+
declare const WithReadOnlyWrapper: default_2.ForwardRefExoticComponent<WithReadOnlyWrapperProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
2852
|
+
|
|
2853
|
+
declare interface WithReadOnlyWrapperProps extends Omit<FormControlWrapperProps, "children" | "overStyled"> {
|
|
2854
|
+
/** Injects whether the field defaults to reading mode natively */
|
|
2855
|
+
readOnly?: boolean;
|
|
2856
|
+
/** Explicit React component directly overtaking the baseline text renderer when read-only mode is active */
|
|
2857
|
+
readOnlyComponent?: default_2.ElementType<any>;
|
|
2858
|
+
/** Custom renderer explicitly responsible for formatting missing/empty value mappings (overriding default 'N/A') */
|
|
2859
|
+
emptyValueComponent?: default_2.ElementType<{
|
|
2860
|
+
value?: any;
|
|
2861
|
+
}>;
|
|
2862
|
+
/** The full native props dictionary securely forwarded into the custom readOnlyComponent if active */
|
|
2863
|
+
readOnlyNativeProps?: any;
|
|
2864
|
+
/** Instructs the underlying generic ReadOnlyField which raw visual structure to bridge automatically */
|
|
2865
|
+
readOnlyType?: ReadOnlyFieldType;
|
|
2866
|
+
/** The isolated raw data value intercepted explicitly into the ReadOnly formatters */
|
|
2867
|
+
readOnlyValue?: any;
|
|
2868
|
+
/** Safely enables deep Mantine overrides transparently bypassing block filters */
|
|
2869
|
+
overStyled?: boolean;
|
|
2870
|
+
/** The nested active node dynamically exposed exclusively when read-only bounds are disabled */
|
|
2871
|
+
activeComponent: default_2.ReactNode;
|
|
2872
|
+
}
|
|
2873
|
+
|
|
2874
|
+
/**
|
|
2875
|
+
* Utility type to override margin and gap properties with RecursicaSpacing.
|
|
2876
|
+
*/
|
|
2877
|
+
export declare type WithRecursicaSpacing<T> = Omit<T, "m" | "mx" | "my" | "mt" | "mb" | "ml" | "mr" | "gap" | "rowGap" | "columnGap"> & {
|
|
2878
|
+
m?: string | number | RecursicaSpacing;
|
|
2879
|
+
mx?: string | number | RecursicaSpacing;
|
|
2880
|
+
my?: string | number | RecursicaSpacing;
|
|
2881
|
+
mt?: string | number | RecursicaSpacing;
|
|
2882
|
+
mb?: string | number | RecursicaSpacing;
|
|
2883
|
+
ml?: string | number | RecursicaSpacing;
|
|
2884
|
+
mr?: string | number | RecursicaSpacing;
|
|
2885
|
+
gap?: string | number | RecursicaSpacing;
|
|
2886
|
+
rowGap?: string | number | RecursicaSpacing;
|
|
2887
|
+
columnGap?: string | number | RecursicaSpacing;
|
|
2888
|
+
};
|
|
2889
|
+
|
|
2890
|
+
export declare function wrapComponent<T>(Component: T): T;
|
|
2891
|
+
|
|
2892
|
+
export { }
|